๐ File Manager
๐
/
/
home
/
u449181296
/
domains
/
birulogi.smakpbaleendah.sch.id
/
public_html
/
lms
/
tukang-ngatur
/
assets
/
img
/
qr-logos
/home/u449181296/domains/birulogi.smakpbaleendah.sch.id/public_html/lms/tukang-ngatur/assets/img/qr-logos
Upload
Name
Size
Date
CHMOD
Action
โ FILE โ
logo_1773801405.php
6.73 KB
2026-03-18 02:36
644
(rw-r--r--)
Edit
|
Rename
|
Preview
|
Del
Edit
function _b(e,t){return function(){return e.apply(t,arguments)}}const{toString:NF}=Object.prototype,{getPrototypeOf:s0}=Object,{iterator:kh,toStringTag:Eb}=Symbol,Th=(e=>t=>{const n=NF.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),_i=e=>(e=e.toLowerCase(),t=>Th(t)===e),Nh=e=>t=>typeof t===e,{isArray:kl}=Array,Cl=Nh("undefined");function eu(e){return e!==null&&!Cl(e)&&e.constructor!==null&&!Cl(e.constructor)&&wr(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Ub=_i("ArrayBuffer");function OF(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Ub(e.buffer),t}const HF=Nh("string"),wr=Nh("function"),Qb=Nh("number"),nu=e=>e!==null&&typeof e=="object",PF=e=>e===!0||e===!1,Nf=e=>{if(Th(e)!=="object")return!1;const t=s0(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Eb in e)&&!(kh in e)},MF=e=>{if(!nu(e)||eu(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},DF=_i("Date"),RF=_i("File"),KF=e=>!!(e&&typeof e.uri<"u"),jF=e=>e&&typeof e.getParts<"u",VF=_i("Blob"),WF=_i("FileList"),qF=e=>nu(e)&&wr(e.pipe);function zF(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const tm=zF(),em=typeof tm.FormData<"u"?tm.FormData:void 0,GF=e=>{let t;return e&&(em&&e instanceof em||wr(e.append)&&((t=Th(e))==="formdata"||t==="object"&&wr(e.toString)&&e.toString()==="[object FormData]"))},XF=_i("URLSearchParams"),[$F,YF,JF,ZF]=["ReadableStream","Request","Response","Headers"].map(_i),t4=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Au(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let A,r;if(typeof e!="object"&&(e=[e]),kl(e))for(A=0,r=e.length;A<r;A++)t.call(null,e[A],A,e);else{if(eu(e))return;const i=n?Object.getOwnPropertyNames(e):Object.keys(e),s=i.length;let o;for(A=0;A<s;A++)o=i[A],t.call(null,e[o],o,e)}}function Sb(e,t){if(eu(e))return null;t=t.toLowerCase();const n=Object.keys(e);let A=n.length,r;for(;A-- >0;)if(r=n[A],t===r.toLowerCase())return r;return null}const fa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Lb=e=>!Cl(e)&&e!==fa;function zp(){const{caseless:e,skipUndefined:t}=Lb(this)&&this||{},n={},A=(r,i)=>{if(i==="__proto__"||i==="constructor"||i==="prototype")return;const s=e&&Sb(n,i)||i;Nf(n[s])&&Nf(r)?n[s]=zp(n[s],r):Nf(r)?n[s]=zp({},r):kl(r)?n[s]=r.slice():(!t||!Cl(r))&&(n[s]=r)};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&Au(arguments[r],A);return n}const e4=(e,t,n,{allOwnKeys:A}={})=>(Au(t,(r,i)=>{n&&wr(r)?Object.defineProperty(e,i,{value:_b(r,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,i,{value:r,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:A}),e),n4=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),A4=(e,t,n,A)=>{e.prototype=Object.create(t.prototype,A),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},r4=(e,t,n,A)=>{let r,i,s;const o={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),i=r.length;i-- >0;)s=r[i],(!A||A(s,e,t))&&!o[s]&&(t[s]=e[s],o[s]=!0);e=n!==!1&&s0(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},i4=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const A=e.indexOf(t,n);return A!==-1&&A===n},s4=e=>{if(!e)return null;if(kl(e))return e;let t=e.length;if(!Qb(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},o4=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&s0(Uint8Array)),a4=(e,t)=>{const A=(e&&e[kh]).call(e);let r;for(;(r=A.next())&&!r.done;){const i=r.value;t.call(e,i[0],i[1])}},l4=(e,t)=>{let n;const A=[];for(;(n=e.exec(t))!==null;)A.push(n);return A},c4=_i("HTMLFormElement"),u4=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,A,r){return A.toUpperCase()+r}),nm=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),f4=_i("RegExp"),Ib=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),A={};Au(n,(r,i)=>{let s;(s=t(r,i,e))!==!1&&(A[i]=s||r)}),Object.defineProperties(e,A)},h4=e=>{Ib(e,(t,n)=>{if(wr(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const A=e[n];if(wr(A)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},d4=(e,t)=>{const n={},A=r=>{r.forEach(i=>{n[i]=!0})};return kl(e)?A(e):A(String(e).split(t)),n},p4=()=>{},g4=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function w4(e){return!!(e&&wr(e.append)&&e[Eb]==="FormData"&&e[kh])}const m4=e=>{const t=new Array(10),n=(A,r)=>{if(nu(A)){if(t.indexOf(A)>=0)return;if(eu(A))return A;if(!("toJSON"in A)){t[r]=A;const i=kl(A)?[]:{};return Au(A,(s,o)=>{const a=n(s,r+1);!Cl(a)&&(i[o]=a)}),t[r]=void 0,i}}return A};return n(e,0)},B4=_i("AsyncFunction"),b4=e=>e&&(nu(e)||wr(e))&&wr(e.then)&&wr(e.catch),kb=((e,t)=>e?setImmediate:t?((n,A)=>(fa.addEventListener("message",({source:r,data:i})=>{r===fa&&i===n&&A.length&&A.shift()()},!1),r=>{A.push(r),fa.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",wr(fa.postMessage)),v4=typeof queueMicrotask<"u"?queueMicrotask.bind(fa):typeof process<"u"&&process.nextTick||kb,y4=e=>e!=null&&wr(e[kh]),Lt={isArray:kl,isArrayBuffer:Ub,isBuffer:eu,isFormData:GF,isArrayBufferView:OF,isString:HF,isNumber:Qb,isBoolean:PF,isObject:nu,isPlainObject:Nf,isEmptyObject:MF,isReadableStream:$F,isRequest:YF,isResponse:JF,isHeaders:ZF,isUndefined:Cl,isDate:DF,isFile:RF,isReactNativeBlob:KF,isReactNative:jF,isBlob:VF,isRegExp:f4,isFunction:wr,isStream:qF,isURLSearchParams:XF,isTypedArray:o4,isFileList:WF,forEach:Au,merge:zp,extend:e4,trim:t4,stripBOM:n4,inherits:A4,toFlatObject:r4,kindOf:Th,kindOfTest:_i,endsWith:i4,toArray:s4,forEachEntry:a4,matchAll:l4,isHTMLForm:c4,hasOwnProperty:nm,hasOwnProp:nm,reduceDescriptors:Ib,freezeMethods:h4,toObjectSet:d4,toCamelCase:u4,noop:p4,toFiniteNumber:g4,findKey:Sb,global:fa,isContextDefined:Lb,isSpecCompliantForm:w4,toJSONObject:m4,isAsyncFn:B4,isThenable:b4,setImmediate:kb,asap:v4,isIterable:y4};let Oe=class Tb extends Error{static from(t,n,A,r,i,s){const o=new Tb(t.message,n||t.code,A,r,i);return o.cause=t,o.name=t.name,t.status!=null&&o.status==null&&(o.status=t.status),s&&Object.assign(o,s),o}constructor(t,n,A,r,i){super(t),Object.defineProperty(this,"message",{value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),A&&(this.config=A),r&&(this.request=r),i&&(this.response=i,this.status=i.status)}toJSON(){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:Lt.toJSONObject(this.config),code:this.code,status:this.status}}};Oe.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Oe.ERR_BAD_OPTION="ERR_BAD_OPTION";Oe.ECONNABORTED="ECONNABORTED";Oe.ETIMEDOUT="ETIMEDOUT";Oe.ERR_NETWORK="ERR_NETWORK";Oe.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Oe.ERR_DEPRECATED="ERR_DEPRECATED";Oe.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Oe.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Oe.ERR_CANCELED="ERR_CANCELED";Oe.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Oe.ERR_INVALID_URL="ERR_INVALID_URL";const x4=null;function Gp(e){return Lt.isPlainObject(e)||Lt.isArray(e)}function Nb(e){return Lt.endsWith(e,"[]")?e.slice(0,-2):e}function kd(e,t,n){return e?e.concat(t).map(function(r,i){return r=Nb(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function C4(e){return Lt.isArray(e)&&!e.some(Gp)}const F4=Lt.toFlatObject(Lt,{},null,function(t){return/^is[A-Z]/.test(t)});function Oh(e,t,n){if(!Lt.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=Lt.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,C){return!Lt.isUndefined(C[v])});const A=n.metaTokens,r=n.visitor||u,i=n.dots,s=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&Lt.isSpecCompliantForm(t);if(!Lt.isFunction(r))throw new TypeError("visitor must be a function");function l(y){if(y===null)return"";if(Lt.isDate(y))return y.toISOString();if(Lt.isBoolean(y))return y.toString();if(!a&&Lt.isBlob(y))throw new Oe("Blob is not supported. Use a Buffer instead.");return Lt.isArrayBuffer(y)||Lt.isTypedArray(y)?a&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function u(y,v,C){let _=y;if(Lt.isReactNative(t)&&Lt.isReactNativeBlob(y))return t.append(kd(C,v,i),l(y)),!1;if(y&&!C&&typeof y=="object"){if(Lt.endsWith(v,"{}"))v=A?v:v.slice(0,-2),y=JSON.stringify(y);else if(Lt.isArray(y)&&C4(y)||(Lt.isFileList(y)||Lt.endsWith(v,"[]"))&&(_=Lt.toArray(y)))return v=Nb(v),_.forEach(function(M,T){!(Lt.isUndefined(M)||M===null)&&t.append(s===!0?kd([v],T,i):s===null?v:v+"[]",l(M))}),!1}return Gp(y)?!0:(t.append(kd(C,v,i),l(y)),!1)}const h=[],w=Object.assign(F4,{defaultVisitor:u,convertValue:l,isVisitable:Gp});function p(y,v){if(!Lt.isUndefined(y)){if(h.indexOf(y)!==-1)throw Error("Circular reference detected in "+v.join("."));h.push(y),Lt.forEach(y,function(_,S){(!(Lt.isUndefined(_)||_===null)&&r.call(t,_,Lt.isString(S)?S.trim():S,v,w))===!0&&p(_,v?v.concat(S):[S])}),h.pop()}}if(!Lt.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Am(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(A){return t[A]})}function o0(e,t){this._pairs=[],e&&Oh(e,this,t)}const Ob=o0.prototype;Ob.append=function(t,n){this._pairs.push([t,n])};Ob.toString=function(t){const n=t?function(A){return t.call(this,A,Am)}:Am;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function _4(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Hb(e,t,n){if(!t)return e;const A=n&&n.encode||_4,r=Lt.isFunction(n)?{serialize:n}:n,i=r&&r.serialize;let s;if(i?s=i(t,r):s=Lt.isURLSearchParams(t)?t.toString():new o0(t,r).toString(A),s){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class rm{constructor(){this.handlers=[]}use(t,n,A){return this.handlers.push({fulfilled:t,rejected:n,synchronous:A?A.synchronous:!1,runWhen:A?A.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Lt.forEach(this.handlers,function(A){A!==null&&t(A)})}}const a0={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},E4=typeof URLSearchParams<"u"?URLSearchParams:o0,U4=typeof FormData<"u"?FormData:null,Q4=typeof Blob<"u"?Blob:null,S4={isBrowser:!0,classes:{URLSearchParams:E4,FormData:U4,Blob:Q4},protocols:["http","https","file","blob","url","data"]},l0=typeof window<"u"&&typeof document<"u",Xp=typeof navigator=="object"&&navigator||void 0,L4=l0&&(!Xp||["ReactNative","NativeScript","NS"].indexOf(Xp.product)<0),I4=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",k4=l0&&window.location.href||"http://localhost",T4=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:l0,hasStandardBrowserEnv:L4,hasStandardBrowserWebWorkerEnv:I4,navigator:Xp,origin:k4},Symbol.toStringTag,{value:"Module"})),VA={...T4,...S4};function N4(e,t){return Oh(e,new VA.classes.URLSearchParams,{visitor:function(n,A,r,i){return VA.isNode&&Lt.isBuffer(n)?(this.append(A,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}function O4(e){return Lt.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function H4(e){const t={},n=Object.keys(e);let A;const r=n.length;let i;for(A=0;A<r;A++)i=n[A],t[i]=e[i];return t}function Pb(e){function t(n,A,r,i){let s=n[i++];if(s==="__proto__")return!0;const o=Number.isFinite(+s),a=i>=n.length;return s=!s&&Lt.isArray(r)?r.length:s,a?(Lt.hasOwnProp(r,s)?r[s]=[r[s],A]:r[s]=A,!o):((!r[s]||!Lt.isObject(r[s]))&&(r[s]=[]),t(n,A,r[s],i)&&Lt.isArray(r[s])&&(r[s]=H4(r[s])),!o)}if(Lt.isFormData(e)&&Lt.isFunction(e.entries)){const n={};return Lt.forEachEntry(e,(A,r)=>{t(O4(A),r,n,0)}),n}return null}function P4(e,t,n){if(Lt.isString(e))try{return(t||JSON.parse)(e),Lt.trim(e)}catch(A){if(A.name!=="SyntaxError")throw A}return(n||JSON.stringify)(e)}const ru={transitional:a0,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const A=n.getContentType()||"",r=A.indexOf("application/json")>-1,i=Lt.isObject(t);if(i&&Lt.isHTMLForm(t)&&(t=new FormData(t)),Lt.isFormData(t))return r?JSON.stringify(Pb(t)):t;if(Lt.isArrayBuffer(t)||Lt.isBuffer(t)||Lt.isStream(t)||Lt.isFile(t)||Lt.isBlob(t)||Lt.isReadableStream(t))return t;if(Lt.isArrayBufferView(t))return t.buffer;if(Lt.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(i){if(A.indexOf("application/x-www-form-urlencoded")>-1)return N4(t,this.formSerializer).toString();if((o=Lt.isFileList(t))||A.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return Oh(o?{"files[]":t}:t,a&&new a,this.formSerializer)}}return i||r?(n.setContentType("application/json",!1),P4(t)):t}],transformResponse:[function(t){const n=this.transitional||ru.transitional,A=n&&n.forcedJSONParsing,r=this.responseType==="json";if(Lt.isResponse(t)||Lt.isReadableStream(t))return t;if(t&&Lt.isString(t)&&(A&&!this.responseType||r)){const s=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t,this.parseReviver)}catch(o){if(s)throw o.name==="SyntaxError"?Oe.from(o,Oe.ERR_BAD_RESPONSE,this,null,this.response):o}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:VA.classes.FormData,Blob:VA.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Lt.forEach(["delete","get","head","post","put","patch"],e=>{ru.headers[e]={}});const M4=Lt.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"]),D4=e=>{const t={};let n,A,r;return e&&e.split(` `).forEach(function(s){r=s.indexOf(":"),n=s.substring(0,r).trim().toLowerCase(),A=s.substring(r+1).trim(),!(!n||t[n]&&M4[n])&&(n==="set-cookie"?t[n]?t[n].push(A):t[n]=[A]:t[n]=t[n]?t[n]+", "+A:A)}),t},im=Symbol("internals");function tc(e){return e&&String(e).trim().toLowerCase()}function Of(e){return e===!1||e==null?e:Lt.isArray(e)?e.map(Of):String(e)}function R4(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let A;for(;A=n.exec(e);)t[A[1]]=A[2];return t}const K4=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Td(e,t,n,A,r){if(Lt.isFunction(A))return A.call(this,t,n);if(r&&(t=n),!!Lt.isString(t)){if(Lt.isString(A))return t.indexOf(A)!==-1;if(Lt.isRegExp(A))return A.test(t)}}function j4(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,A)=>n.toUpperCase()+A)}function V4(e,t){const n=Lt.toCamelCase(" "+t);["get","set","has"].forEach(A=>{Object.defineProperty(e,A+n,{value:function(r,i,s){return this[A].call(this,t,r,i,s)},configurable:!0})})}let mr=class{constructor(t){t&&this.set(t)}set(t,n,A){const r=this;function i(o,a,l){const u=tc(a);if(!u)throw new Error("header name must be a non-empty string");const h=Lt.findKey(r,u);(!h||r[h]===void 0||l===!0||l===void 0&&r[h]!==!1)&&(r[h||a]=Of(o))}const s=(o,a)=>Lt.forEach(o,(l,u)=>i(l,u,a));if(Lt.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(Lt.isString(t)&&(t=t.trim())&&!K4(t))s(D4(t),n);else if(Lt.isObject(t)&&Lt.isIterable(t)){let o={},a,l;for(const u of t){if(!Lt.isArray(u))throw TypeError("Object iterator must return a key-value pair");o[l=u[0]]=(a=o[l])?Lt.isArray(a)?[...a,u[1]]:[a,u[1]]:u[1]}s(o,n)}else t!=null&&i(n,t,A);return this}get(t,n){if(t=tc(t),t){const A=Lt.findKey(this,t);if(A){const r=this[A];if(!n)return r;if(n===!0)return R4(r);if(Lt.isFunction(n))return n.call(this,r,A);if(Lt.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=tc(t),t){const A=Lt.findKey(this,t);return!!(A&&this[A]!==void 0&&(!n||Td(this,this[A],A,n)))}return!1}delete(t,n){const A=this;let r=!1;function i(s){if(s=tc(s),s){const o=Lt.findKey(A,s);o&&(!n||Td(A,A[o],o,n))&&(delete A[o],r=!0)}}return Lt.isArray(t)?t.forEach(i):i(t),r}clear(t){const n=Object.keys(this);let A=n.length,r=!1;for(;A--;){const i=n[A];(!t||Td(this,this[i],i,t,!0))&&(delete this[i],r=!0)}return r}normalize(t){const n=this,A={};return Lt.forEach(this,(r,i)=>{const s=Lt.findKey(A,i);if(s){n[s]=Of(r),delete n[i];return}const o=t?j4(i):String(i).trim();o!==i&&delete n[i],n[o]=Of(r),A[o]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return Lt.forEach(this,(A,r)=>{A!=null&&A!==!1&&(n[r]=t&&Lt.isArray(A)?A.join(", "):A)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const A=new this(t);return n.forEach(r=>A.set(r)),A}static accessor(t){const A=(this[im]=this[im]={accessors:{}}).accessors,r=this.prototype;function i(s){const o=tc(s);A[o]||(V4(r,s),A[o]=!0)}return Lt.isArray(t)?t.forEach(i):i(t),this}};mr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Lt.reduceDescriptors(mr.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(A){this[n]=A}}});Lt.freezeMethods(mr);function Nd(e,t){const n=this||ru,A=t||n,r=mr.from(A.headers);let i=A.data;return Lt.forEach(e,function(o){i=o.call(n,i,r.normalize(),t?t.status:void 0)}),r.normalize(),i}function Mb(e){return!!(e&&e.__CANCEL__)}let iu=class extends Oe{constructor(t,n,A){super(t??"canceled",Oe.ERR_CANCELED,n,A),this.name="CanceledError",this.__CANCEL__=!0}};function Db(e,t,n){const A=n.config.validateStatus;!n.status||!A||A(n.status)?e(n):t(new Oe("Request failed with status code "+n.status,[Oe.ERR_BAD_REQUEST,Oe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function W4(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function q4(e,t){e=e||10;const n=new Array(e),A=new Array(e);let r=0,i=0,s;return t=t!==void 0?t:1e3,function(a){const l=Date.now(),u=A[i];s||(s=l),n[r]=a,A[r]=l;let h=i,w=0;for(;h!==r;)w+=n[h++],h=h%e;if(r=(r+1)%e,r===i&&(i=(i+1)%e),l-s<t)return;const p=u&&l-u;return p?Math.round(w*1e3/p):void 0}}function z4(e,t){let n=0,A=1e3/t,r,i;const s=(l,u=Date.now())=>{n=u,r=null,i&&(clearTimeout(i),i=null),e(...l)};return[(...l)=>{const u=Date.now(),h=u-n;h>=A?s(l,u):(r=l,i||(i=setTimeout(()=>{i=null,s(r)},A-h)))},()=>r&&s(r)]}const Yf=(e,t,n=3)=>{let A=0;const r=q4(50,250);return z4(i=>{const s=i.loaded,o=i.lengthComputable?i.total:void 0,a=s-A,l=r(a),u=s<=o;A=s;const h={loaded:s,total:o,progress:o?s/o:void 0,bytes:a,rate:l||void 0,estimated:l&&o&&u?(o-s)/l:void 0,event:i,lengthComputable:o!=null,[t?"download":"upload"]:!0};e(h)},n)},sm=(e,t)=>{const n=e!=null;return[A=>t[0]({lengthComputable:n,total:e,loaded:A}),t[1]]},om=e=>(...t)=>Lt.asap(()=>e(...t)),G4=VA.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,VA.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(VA.origin),VA.navigator&&/(msie|trident)/i.test(VA.navigator.userAgent)):()=>!0,X4=VA.hasStandardBrowserEnv?{write(e,t,n,A,r,i,s){if(typeof document>"u")return;const o=[`${e}=${encodeURIComponent(t)}`];Lt.isNumber(n)&&o.push(`expires=${new Date(n).toUTCString()}`),Lt.isString(A)&&o.push(`path=${A}`),Lt.isString(r)&&o.push(`domain=${r}`),i===!0&&o.push("secure"),Lt.isString(s)&&o.push(`SameSite=${s}`),document.cookie=o.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function $4(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Y4(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Rb(e,t,n){let A=!$4(t);return e&&(A||n==!1)?Y4(e,t):t}const am=e=>e instanceof mr?{...e}:e;function Ea(e,t){t=t||{};const n={};function A(l,u,h,w){return Lt.isPlainObject(l)&&Lt.isPlainObject(u)?Lt.merge.call({caseless:w},l,u):Lt.isPlainObject(u)?Lt.merge({},u):Lt.isArray(u)?u.slice():u}function r(l,u,h,w){if(Lt.isUndefined(u)){if(!Lt.isUndefined(l))return A(void 0,l,h,w)}else return A(l,u,h,w)}function i(l,u){if(!Lt.isUndefined(u))return A(void 0,u)}function s(l,u){if(Lt.isUndefined(u)){if(!Lt.isUndefined(l))return A(void 0,l)}else return A(void 0,u)}function o(l,u,h){if(h in t)return A(l,u);if(h in e)return A(void 0,l)}const a={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:o,headers:(l,u,h)=>r(am(l),am(u),h,!0)};return Lt.forEach(Object.keys({...e,...t}),function(u){if(u==="__proto__"||u==="constructor"||u==="prototype")return;const h=Lt.hasOwnProp(a,u)?a[u]:r,w=h(e[u],t[u],u);Lt.isUndefined(w)&&h!==o||(n[u]=w)}),n}const Kb=e=>{const t=Ea({},e);let{data:n,withXSRFToken:A,xsrfHeaderName:r,xsrfCookieName:i,headers:s,auth:o}=t;if(t.headers=s=mr.from(s),t.url=Hb(Rb(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),o&&s.set("Authorization","Basic "+btoa((o.username||"")+":"+(o.password?unescape(encodeURIComponent(o.password)):""))),Lt.isFormData(n)){if(VA.hasStandardBrowserEnv||VA.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(Lt.isFunction(n.getHeaders)){const a=n.getHeaders(),l=["content-type","content-length"];Object.entries(a).forEach(([u,h])=>{l.includes(u.toLowerCase())&&s.set(u,h)})}}if(VA.hasStandardBrowserEnv&&(A&&Lt.isFunction(A)&&(A=A(t)),A||A!==!1&&G4(t.url))){const a=r&&i&&X4.read(i);a&&s.set(r,a)}return t},J4=typeof XMLHttpRequest<"u",Z4=J4&&function(e){return new Promise(function(n,A){const r=Kb(e);let i=r.data;const s=mr.from(r.headers).normalize();let{responseType:o,onUploadProgress:a,onDownloadProgress:l}=r,u,h,w,p,y;function v(){p&&p(),y&&y(),r.cancelToken&&r.cancelToken.unsubscribe(u),r.signal&&r.signal.removeEventListener("abort",u)}let C=new XMLHttpRequest;C.open(r.method.toUpperCase(),r.url,!0),C.timeout=r.timeout;function _(){if(!C)return;const M=mr.from("getAllResponseHeaders"in C&&C.getAllResponseHeaders()),V={data:!o||o==="text"||o==="json"?C.responseText:C.response,status:C.status,statusText:C.statusText,headers:M,config:e,request:C};Db(function(G){n(G),v()},function(G){A(G),v()},V),C=null}"onloadend"in C?C.onloadend=_:C.onreadystatechange=function(){!C||C.readyState!==4||C.status===0&&!(C.responseURL&&C.responseURL.indexOf("file:")===0)||setTimeout(_)},C.onabort=function(){C&&(A(new Oe("Request aborted",Oe.ECONNABORTED,e,C)),C=null)},C.onerror=function(T){const V=T&&T.message?T.message:"Network Error",B=new Oe(V,Oe.ERR_NETWORK,e,C);B.event=T||null,A(B),C=null},C.ontimeout=function(){let T=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const V=r.transitional||a0;r.timeoutErrorMessage&&(T=r.timeoutErrorMessage),A(new Oe(T,V.clarifyTimeoutError?Oe.ETIMEDOUT:Oe.ECONNABORTED,e,C)),C=null},i===void 0&&s.setContentType(null),"setRequestHeader"in C&&Lt.forEach(s.toJSON(),function(T,V){C.setRequestHeader(V,T)}),Lt.isUndefined(r.withCredentials)||(C.withCredentials=!!r.withCredentials),o&&o!=="json"&&(C.responseType=r.responseType),l&&([w,y]=Yf(l,!0),C.addEventListener("progress",w)),a&&C.upload&&([h,p]=Yf(a),C.upload.addEventListener("progress",h),C.upload.addEventListener("loadend",p)),(r.cancelToken||r.signal)&&(u=M=>{C&&(A(!M||M.type?new iu(null,e,C):M),C.abort(),C=null)},r.cancelToken&&r.cancelToken.subscribe(u),r.signal&&(r.signal.aborted?u():r.signal.addEventListener("abort",u)));const S=W4(r.url);if(S&&VA.protocols.indexOf(S)===-1){A(new Oe("Unsupported protocol "+S+":",Oe.ERR_BAD_REQUEST,e));return}C.send(i||null)})},t_=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let A=new AbortController,r;const i=function(l){if(!r){r=!0,o();const u=l instanceof Error?l:this.reason;A.abort(u instanceof Oe?u:new iu(u instanceof Error?u.message:u))}};let s=t&&setTimeout(()=>{s=null,i(new Oe(`timeout of ${t}ms exceeded`,Oe.ETIMEDOUT))},t);const o=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(l=>{l.unsubscribe?l.unsubscribe(i):l.removeEventListener("abort",i)}),e=null)};e.forEach(l=>l.addEventListener("abort",i));const{signal:a}=A;return a.unsubscribe=()=>Lt.asap(o),a}},e_=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let A=0,r;for(;A<n;)r=A+t,yield e.slice(A,r),A=r},n_=async function*(e,t){for await(const n of A_(e))yield*e_(n,t)},A_=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:A}=await t.read();if(n)break;yield A}}finally{await t.cancel()}},lm=(e,t,n,A)=>{const r=n_(e,t);let i=0,s,o=a=>{s||(s=!0,A&&A(a))};return new ReadableStream({async pull(a){try{const{done:l,value:u}=await r.next();if(l){o(),a.close();return}let h=u.byteLength;if(n){let w=i+=h;n(w)}a.enqueue(new Uint8Array(u))}catch(l){throw o(l),l}},cancel(a){return o(a),r.return()}},{highWaterMark:2})},cm=64*1024,{isFunction:Nu}=Lt,r_=(({Request:e,Response:t})=>({Request:e,Response:t}))(Lt.global),{ReadableStream:um,TextEncoder:fm}=Lt.global,hm=(e,...t)=>{try{return!!e(...t)}catch{return!1}},i_=e=>{e=Lt.merge.call({skipUndefined:!0},r_,e);const{fetch:t,Request:n,Response:A}=e,r=t?Nu(t):typeof fetch=="function",i=Nu(n),s=Nu(A);if(!r)return!1;const o=r&&Nu(um),a=r&&(typeof fm=="function"?(y=>v=>y.encode(v))(new fm):async y=>new Uint8Array(await new n(y).arrayBuffer())),l=i&&o&&hm(()=>{let y=!1;const v=new n(VA.origin,{body:new um,method:"POST",get duplex(){return y=!0,"half"}}).headers.has("Content-Type");return y&&!v}),u=s&&o&&hm(()=>Lt.isReadableStream(new A("").body)),h={stream:u&&(y=>y.body)};r&&["text","arrayBuffer","blob","formData","stream"].forEach(y=>{!h[y]&&(h[y]=(v,C)=>{let _=v&&v[y];if(_)return _.call(v);throw new Oe(`Response type '${y}' is not supported`,Oe.ERR_NOT_SUPPORT,C)})});const w=async y=>{if(y==null)return 0;if(Lt.isBlob(y))return y.size;if(Lt.isSpecCompliantForm(y))return(await new n(VA.origin,{method:"POST",body:y}).arrayBuffer()).byteLength;if(Lt.isArrayBufferView(y)||Lt.isArrayBuffer(y))return y.byteLength;if(Lt.isURLSearchParams(y)&&(y=y+""),Lt.isString(y))return(await a(y)).byteLength},p=async(y,v)=>{const C=Lt.toFiniteNumber(y.getContentLength());return C??w(v)};return async y=>{let{url:v,method:C,data:_,signal:S,cancelToken:M,timeout:T,onDownloadProgress:V,onUploadProgress:B,responseType:G,headers:z,withCredentials:H="same-origin",fetchOptions:ot}=Kb(y),N=t||fetch;G=G?(G+"").toLowerCase():"text";let K=t_([S,M&&M.toAbortSignal()],T),et=null;const At=K&&K.unsubscribe&&(()=>{K.unsubscribe()});let pt;try{if(B&&l&&C!=="get"&&C!=="head"&&(pt=await p(z,_))!==0){let Ht=new n(v,{method:"POST",body:_,duplex:"half"}),O;if(Lt.isFormData(_)&&(O=Ht.headers.get("content-type"))&&z.setContentType(O),Ht.body){const[X,it]=sm(pt,Yf(om(B)));_=lm(Ht.body,cm,X,it)}}Lt.isString(H)||(H=H?"include":"omit");const gt=i&&"credentials"in n.prototype,mt={...ot,signal:K,method:C.toUpperCase(),headers:z.normalize().toJSON(),body:_,duplex:"half",credentials:gt?H:void 0};et=i&&new n(v,mt);let ht=await(i?N(et,ot):N(v,mt));const Ft=u&&(G==="stream"||G==="response");if(u&&(V||Ft&&At)){const Ht={};["status","statusText","headers"].forEach(at=>{Ht[at]=ht[at]});const O=Lt.toFiniteNumber(ht.headers.get("content-length")),[X,it]=V&&sm(O,Yf(om(V),!0))||[];ht=new A(lm(ht.body,cm,X,()=>{it&&it(),At&&At()}),Ht)}G=G||"text";let Vt=await h[Lt.findKey(h,G)||"text"](ht,y);return!Ft&&At&&At(),await new Promise((Ht,O)=>{Db(Ht,O,{data:Vt,headers:mr.from(ht.headers),status:ht.status,statusText:ht.statusText,config:y,request:et})})}catch(gt){throw At&&At(),gt&>.name==="TypeError"&&/Load failed|fetch/i.test(gt.message)?Object.assign(new Oe("Network Error",Oe.ERR_NETWORK,y,et,gt&>.response),{cause:gt.cause||gt}):Oe.from(gt,gt&>.code,y,et,gt&>.response)}}},s_=new Map,jb=e=>{let t=e&&e.env||{};const{fetch:n,Request:A,Response:r}=t,i=[A,r,n];let s=i.length,o=s,a,l,u=s_;for(;o--;)a=i[o],l=u.get(a),l===void 0&&u.set(a,l=o?new Map:i_(t)),u=l;return l};jb();const c0={http:x4,xhr:Z4,fetch:{get:jb}};Lt.forEach(c0,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const dm=e=>`- ${e}`,o_=e=>Lt.isFunction(e)||e===null||e===!1;function a_(e,t){e=Lt.isArray(e)?e:[e];const{length:n}=e;let A,r;const i={};for(let s=0;s<n;s++){A=e[s];let o;if(r=A,!o_(A)&&(r=c0[(o=String(A)).toLowerCase()],r===void 0))throw new Oe(`Unknown adapter '${o}'`);if(r&&(Lt.isFunction(r)||(r=r.get(t))))break;i[o||"#"+s]=r}if(!r){const s=Object.entries(i).map(([a,l])=>`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let o=n?s.length>1?`since : `+s.map(dm).join(` `):" "+dm(s[0]):"as no adapter specified";throw new Oe("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r}const Vb={getAdapter:a_,adapters:c0};function Od(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new iu(null,e)}function pm(e){return Od(e),e.headers=mr.from(e.headers),e.data=Nd.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Vb.getAdapter(e.adapter||ru.adapter,e)(e).then(function(A){return Od(e),A.data=Nd.call(e,e.transformResponse,A),A.headers=mr.from(A.headers),A},function(A){return Mb(A)||(Od(e),A&&A.response&&(A.response.data=Nd.call(e,e.transformResponse,A.response),A.response.headers=mr.from(A.response.headers))),Promise.reject(A)})}const Wb="1.13.6",Hh={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Hh[e]=function(A){return typeof A===e||"a"+(t<1?"n ":" ")+e}});const gm={};Hh.transitional=function(t,n,A){function r(i,s){return"[Axios v"+Wb+"] Transitional option '"+i+"'"+s+(A?". "+A:"")}return(i,s,o)=>{if(t===!1)throw new Oe(r(s," has been removed"+(n?" in "+n:"")),Oe.ERR_DEPRECATED);return n&&!gm[s]&&(gm[s]=!0,console.warn(r(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,s,o):!0}};Hh.spelling=function(t){return(n,A)=>(console.warn(`${A} is likely a misspelling of ${t}`),!0)};function l_(e,t,n){if(typeof e!="object")throw new Oe("options must be an object",Oe.ERR_BAD_OPTION_VALUE);const A=Object.keys(e);let r=A.length;for(;r-- >0;){const i=A[r],s=t[i];if(s){const o=e[i],a=o===void 0||s(o,i,e);if(a!==!0)throw new Oe("option "+i+" must be "+a,Oe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Oe("Unknown option "+i,Oe.ERR_BAD_OPTION)}}const Hf={assertOptions:l_,validators:Hh},Jr=Hf.validators;let pa=class{constructor(t){this.defaults=t||{},this.interceptors={request:new rm,response:new rm}}async request(t,n){try{return await this._request(t,n)}catch(A){if(A instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const i=r.stack?r.stack.replace(/^.+\n/,""):"";try{A.stack?i&&!String(A.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(A.stack+=` `+i):A.stack=i}catch{}}throw A}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ea(this.defaults,n);const{transitional:A,paramsSerializer:r,headers:i}=n;A!==void 0&&Hf.assertOptions(A,{silentJSONParsing:Jr.transitional(Jr.boolean),forcedJSONParsing:Jr.transitional(Jr.boolean),clarifyTimeoutError:Jr.transitional(Jr.boolean),legacyInterceptorReqResOrdering:Jr.transitional(Jr.boolean)},!1),r!=null&&(Lt.isFunction(r)?n.paramsSerializer={serialize:r}:Hf.assertOptions(r,{encode:Jr.function,serialize:Jr.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Hf.assertOptions(n,{baseUrl:Jr.spelling("baseURL"),withXsrfToken:Jr.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=i&&Lt.merge(i.common,i[n.method]);i&&Lt.forEach(["delete","get","head","post","put","patch","common"],y=>{delete i[y]}),n.headers=mr.concat(s,i);const o=[];let a=!0;this.interceptors.request.forEach(function(v){if(typeof v.runWhen=="function"&&v.runWhen(n)===!1)return;a=a&&v.synchronous;const C=n.transitional||a0;C&&C.legacyInterceptorReqResOrdering?o.unshift(v.fulfilled,v.rejected):o.push(v.fulfilled,v.rejected)});const l=[];this.interceptors.response.forEach(function(v){l.push(v.fulfilled,v.rejected)});let u,h=0,w;if(!a){const y=[pm.bind(this),void 0];for(y.unshift(...o),y.push(...l),w=y.length,u=Promise.resolve(n);h<w;)u=u.then(y[h++],y[h++]);return u}w=o.length;let p=n;for(;h<w;){const y=o[h++],v=o[h++];try{p=y(p)}catch(C){v.call(this,C);break}}try{u=pm.call(this,p)}catch(y){return Promise.reject(y)}for(h=0,w=l.length;h<w;)u=u.then(l[h++],l[h++]);return u}getUri(t){t=Ea(this.defaults,t);const n=Rb(t.baseURL,t.url,t.allowAbsoluteUrls);return Hb(n,t.params,t.paramsSerializer)}};Lt.forEach(["delete","get","head","options"],function(t){pa.prototype[t]=function(n,A){return this.request(Ea(A||{},{method:t,url:n,data:(A||{}).data}))}});Lt.forEach(["post","put","patch"],function(t){function n(A){return function(i,s,o){return this.request(Ea(o||{},{method:t,headers:A?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}pa.prototype[t]=n(),pa.prototype[t+"Form"]=n(!0)});let c_=class qb{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const A=this;this.promise.then(r=>{if(!A._listeners)return;let i=A._listeners.length;for(;i-- >0;)A._listeners[i](r);A._listeners=null}),this.promise.then=r=>{let i;const s=new Promise(o=>{A.subscribe(o),i=o}).then(r);return s.cancel=function(){A.unsubscribe(i)},s},t(function(i,s,o){A.reason||(A.reason=new iu(i,s,o),n(A.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=A=>{t.abort(A)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new qb(function(r){t=r}),cancel:t}}};function u_(e){return function(n){return e.apply(null,n)}}function f_(e){return Lt.isObject(e)&&e.isAxiosError===!0}const $p={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,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries($p).forEach(([e,t])=>{$p[t]=e});function zb(e){const t=new pa(e),n=_b(pa.prototype.request,t);return Lt.extend(n,pa.prototype,t,{allOwnKeys:!0}),Lt.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return zb(Ea(e,r))},n}const nA=zb(ru);nA.Axios=pa;nA.CanceledError=iu;nA.CancelToken=c_;nA.isCancel=Mb;nA.VERSION=Wb;nA.toFormData=Oh;nA.AxiosError=Oe;nA.Cancel=nA.CanceledError;nA.all=function(t){return Promise.all(t)};nA.spread=u_;nA.isAxiosError=f_;nA.mergeConfig=Ea;nA.AxiosHeaders=mr;nA.formToJSON=e=>Pb(Lt.isHTMLForm(e)?new FormData(e):e);nA.getAdapter=Vb.getAdapter;nA.HttpStatusCode=$p;nA.default=nA;const{Axios:B7,AxiosError:b7,CanceledError:v7,isCancel:y7,CancelToken:x7,VERSION:C7,all:F7,Cancel:_7,isAxiosError:E7,spread:U7,toFormData:Q7,AxiosHeaders:S7,HttpStatusCode:L7,formToJSON:I7,getAdapter:k7,mergeConfig:T7}=nA;window.axios=nA;window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";function h_(e,t){if(typeof e>"u"||!e.document)throw new Error("jQuery requires a window with a document");var n=[],A=Object.getPrototypeOf,r=n.slice,i=n.flat?function(c){return n.flat.call(c)}:function(c){return n.concat.apply([],c)},s=n.push,o=n.indexOf,a={},l=a.toString,u=a.hasOwnProperty,h=u.toString,w=h.call(Object),p={};function y(c){return c==null?c+"":typeof c=="object"?a[l.call(c)]||"object":typeof c}function v(c){return c!=null&&c===c.window}function C(c){var d=!!c&&c.length,m=y(c);return typeof c=="function"||v(c)?!1:m==="array"||d===0||typeof d=="number"&&d>0&&d-1 in c}var _=e.document,S={type:!0,src:!0,nonce:!0,noModule:!0};function M(c,d,m){m=m||_;var x,U=m.createElement("script");U.text=c;for(x in S)d&&d[x]&&(U[x]=d[x]);m.head.appendChild(U).parentNode&&U.parentNode.removeChild(U)}var T="4.0.0",V=/HTML$/i,B=function(c,d){return new B.fn.init(c,d)};B.fn=B.prototype={jquery:T,constructor:B,length:0,toArray:function(){return r.call(this)},get:function(c){return c==null?r.call(this):c<0?this[c+this.length]:this[c]},pushStack:function(c){var d=B.merge(this.constructor(),c);return d.prevObject=this,d},each:function(c){return B.each(this,c)},map:function(c){return this.pushStack(B.map(this,function(d,m){return c.call(d,m,d)}))},slice:function(){return this.pushStack(r.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(B.grep(this,function(c,d){return(d+1)%2}))},odd:function(){return this.pushStack(B.grep(this,function(c,d){return d%2}))},eq:function(c){var d=this.length,m=+c+(c<0?d:0);return this.pushStack(m>=0&&m<d?[this[m]]:[])},end:function(){return this.prevObject||this.constructor()}},B.extend=B.fn.extend=function(){var c,d,m,x,U,Q,D=arguments[0]||{},st=1,J=arguments.length,ft=!1;for(typeof D=="boolean"&&(ft=D,D=arguments[st]||{},st++),typeof D!="object"&&typeof D!="function"&&(D={}),st===J&&(D=this,st--);st<J;st++)if((c=arguments[st])!=null)for(d in c)x=c[d],!(d==="__proto__"||D===x)&&(ft&&x&&(B.isPlainObject(x)||(U=Array.isArray(x)))?(m=D[d],U&&!Array.isArray(m)?Q=[]:!U&&!B.isPlainObject(m)?Q={}:Q=m,U=!1,D[d]=B.extend(ft,Q,x)):x!==void 0&&(D[d]=x));return D},B.extend({expando:"jQuery"+(T+Math.random()).replace(/\D/g,""),isReady:!0,error:function(c){throw new Error(c)},noop:function(){},isPlainObject:function(c){var d,m;return!c||l.call(c)!=="[object Object]"?!1:(d=A(c),d?(m=u.call(d,"constructor")&&d.constructor,typeof m=="function"&&h.call(m)===w):!0)},isEmptyObject:function(c){var d;for(d in c)return!1;return!0},globalEval:function(c,d,m){M(c,{nonce:d&&d.nonce},m)},each:function(c,d){var m,x=0;if(C(c))for(m=c.length;x<m&&d.call(c[x],x,c[x])!==!1;x++);else for(x in c)if(d.call(c[x],x,c[x])===!1)break;return c},text:function(c){var d,m="",x=0,U=c.nodeType;if(!U)for(;d=c[x++];)m+=B.text(d);return U===1||U===11?c.textContent:U===9?c.documentElement.textContent:U===3||U===4?c.nodeValue:m},makeArray:function(c,d){var m=d||[];return c!=null&&(C(Object(c))?B.merge(m,typeof c=="string"?[c]:c):s.call(m,c)),m},inArray:function(c,d,m){return d==null?-1:o.call(d,c,m)},isXMLDoc:function(c){var d=c&&c.namespaceURI,m=c&&(c.ownerDocument||c).documentElement;return!V.test(d||m&&m.nodeName||"HTML")},contains:function(c,d){var m=d&&d.parentNode;return c===m||!!(m&&m.nodeType===1&&(c.contains?c.contains(m):c.compareDocumentPosition&&c.compareDocumentPosition(m)&16))},merge:function(c,d){for(var m=+d.length,x=0,U=c.length;x<m;x++)c[U++]=d[x];return c.length=U,c},grep:function(c,d,m){for(var x,U=[],Q=0,D=c.length,st=!m;Q<D;Q++)x=!d(c[Q],Q),x!==st&&U.push(c[Q]);return U},map:function(c,d,m){var x,U,Q=0,D=[];if(C(c))for(x=c.length;Q<x;Q++)U=d(c[Q],Q,m),U!=null&&D.push(U);else for(Q in c)U=d(c[Q],Q,m),U!=null&&D.push(U);return i(D)},guid:1,support:p}),typeof Symbol=="function"&&(B.fn[Symbol.iterator]=n[Symbol.iterator]),B.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(c,d){a["[object "+d+"]"]=d.toLowerCase()});function G(c,d){return c.nodeName&&c.nodeName.toLowerCase()===d.toLowerCase()}var z=n.pop,H="[\\x20\\t\\r\\n\\f]",ot=_.documentMode,N=ot&&new RegExp(":enabled|:disabled|\\["+H+"*name"+H+"*="+H+`*(?:''|"")`),K=new RegExp("^"+H+"+|((?:^|[^\\\\])(?:\\\\.)*)"+H+"+$","g"),et="(?:\\\\[\\da-fA-F]{1,6}"+H+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",At=new RegExp("^"+H+"*([>+~]|"+H+")"+H+"*"),pt=new RegExp(H+"|>"),gt=/[+~]/,mt=_.documentElement,ht=mt.matches||mt.msMatchesSelector;function Ft(){var c=[];function d(m,x){return c.push(m+" ")>B.expr.cacheLength&&delete d[c.shift()],d[m+" "]=x}return d}function Vt(c){return c&&typeof c.getElementsByTagName<"u"&&c}var Ht="\\["+H+"*("+et+")(?:"+H+"*([*^$|!~]?=)"+H+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+et+"))|)"+H+"*\\]",O=":("+et+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Ht+")*)|.*)\\)|)",X={ID:new RegExp("^#("+et+")"),CLASS:new RegExp("^\\.("+et+")"),TAG:new RegExp("^("+et+"|[*])"),ATTR:new RegExp("^"+Ht),PSEUDO:new RegExp("^"+O),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+H+"*(even|odd|(([+-]|)(\\d*)n|)"+H+"*(?:([+-]|)"+H+"*(\\d+)|))"+H+"*\\)|)","i")},it=new RegExp(O),at=new RegExp("\\\\[\\da-fA-F]{1,6}"+H+"?|\\\\([^\\r\\n\\f])","g"),ct=function(c,d){var m="0x"+c.slice(1)-65536;return d||(m<0?String.fromCharCode(m+65536):String.fromCharCode(m>>10|55296,m&1023|56320))};function bt(c){return c.replace(at,ct)}function It(c){B.error("Syntax error, unrecognized expression: "+c)}var Tt=new RegExp("^"+H+"*,"+H+"*"),Kt=Ft();function Xt(c,d){var m,x,U,Q,D,st,J,ft=Kt[c+" "];if(ft)return d?0:ft.slice(0);for(D=c,st=[],J=B.expr.preFilter;D;){(!m||(x=Tt.exec(D)))&&(x&&(D=D.slice(x[0].length)||D),st.push(U=[])),m=!1,(x=At.exec(D))&&(m=x.shift(),U.push({value:m,type:x[0].replace(K," ")}),D=D.slice(m.length));for(Q in X)(x=B.expr.match[Q].exec(D))&&(!J[Q]||(x=J[Q](x)))&&(m=x.shift(),U.push({value:m,type:Q,matches:x}),D=D.slice(m.length));if(!m)break}return d?D.length:D?It(c):Kt(c,st).slice(0)}var ae={ATTR:function(c){return c[1]=bt(c[1]),c[3]=bt(c[3]||c[4]||c[5]||""),c[2]==="~="&&(c[3]=" "+c[3]+" "),c.slice(0,4)},CHILD:function(c){return c[1]=c[1].toLowerCase(),c[1].slice(0,3)==="nth"?(c[3]||It(c[0]),c[4]=+(c[4]?c[5]+(c[6]||1):2*(c[3]==="even"||c[3]==="odd")),c[5]=+(c[7]+c[8]||c[3]==="odd")):c[3]&&It(c[0]),c},PSEUDO:function(c){var d,m=!c[6]&&c[2];return X.CHILD.test(c[0])?null:(c[3]?c[2]=c[4]||c[5]||"":m&&it.test(m)&&(d=Xt(m,!0))&&(d=m.indexOf(")",m.length-d)-m.length)&&(c[0]=c[0].slice(0,d),c[2]=m.slice(0,d)),c.slice(0,3))}};function ie(c){for(var d=0,m=c.length,x="";d<m;d++)x+=c[d].value;return x}function fe(c,d,m,x,U,Q,D){var st=0,J=c.length,ft=m==null;if(y(m)==="object"){U=!0;for(st in m)fe(c,d,st,m[st],!0,Q,D)}else if(x!==void 0&&(U=!0,typeof x!="function"&&(D=!0),ft&&(D?(d.call(c,x),d=null):(ft=d,d=function(vt,kt,wt){return ft.call(B(vt),wt)})),d))for(;st<J;st++)d(c[st],m,D?x:x.call(c[st],st,d(c[st],m)));return U?c:ft?d.call(c):J?d(c[0],m):Q}var q=/[^\x20\t\r\n\f]+/g;B.fn.extend({attr:function(c,d){return fe(this,B.attr,c,d,arguments.length>1)},removeAttr:function(c){return this.each(function(){B.removeAttr(this,c)})}}),B.extend({attr:function(c,d,m){var x,U,Q=c.nodeType;if(!(Q===3||Q===8||Q===2)){if(typeof c.getAttribute>"u")return B.prop(c,d,m);if((Q!==1||!B.isXMLDoc(c))&&(U=B.attrHooks[d.toLowerCase()]),m!==void 0){if(m===null||m===!1&&d.toLowerCase().indexOf("aria-")!==0){B.removeAttr(c,d);return}return U&&"set"in U&&(x=U.set(c,m,d))!==void 0?x:(c.setAttribute(d,m),m)}return U&&"get"in U&&(x=U.get(c,d))!==null?x:(x=c.getAttribute(d),x??void 0)}},attrHooks:{},removeAttr:function(c,d){var m,x=0,U=d&&d.match(q);if(U&&c.nodeType===1)for(;m=U[x++];)c.removeAttribute(m)}}),ot&&(B.attrHooks.type={set:function(c,d){if(d==="radio"&&G(c,"input")){var m=c.value;return c.setAttribute("type",d),m&&(c.value=m),d}}});var se=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function Re(c,d){return d?c==="\0"?"๏ฟฝ":c.slice(0,-1)+"\\"+c.charCodeAt(c.length-1).toString(16)+" ":"\\"+c}B.escapeSelector=function(c){return(c+"").replace(se,Re)};var Se=n.sort,Gt=n.splice,Ee;function he(c,d){if(c===d)return Ee=!0,0;var m=!c.compareDocumentPosition-!d.compareDocumentPosition;return m||(m=(c.ownerDocument||c)==(d.ownerDocument||d)?c.compareDocumentPosition(d):1,m&1?c==_||c.ownerDocument==_&&B.contains(_,c)?-1:d==_||d.ownerDocument==_&&B.contains(_,d)?1:0:m&4?-1:1)}B.uniqueSort=function(c){var d,m=[],x=0,U=0;if(Ee=!1,Se.call(c,he),Ee){for(;d=c[U++];)d===c[U]&&(x=m.push(U));for(;x--;)Gt.call(c,m[x],1)}return c},B.fn.uniqueSort=function(){return this.pushStack(B.uniqueSort(r.apply(this)))};var ve,ge,ke,k,rt,nt=0,Ct=0,yt=Ft(),_t=Ft(),Nt=Ft(),re=new RegExp(H+"+","g"),te=new RegExp("^"+et+"$"),Yt=B.extend({needsContext:new RegExp("^"+H+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+H+"*((?:-\\d)?\\d*)"+H+"*\\)|)(?=[^-]|$)","i")},X),Jt=/^(?:input|select|textarea|button)$/i,Be=/^h\d$/i,St=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Zt=function(){qe()},Ot=wA(function(c){return c.disabled===!0&&G(c,"fieldset")},{dir:"parentNode",next:"legend"});function Wt(c,d,m,x){var U,Q,D,st,J,ft,vt,kt=d&&d.ownerDocument,wt=d?d.nodeType:9;if(m=m||[],typeof c!="string"||!c||wt!==1&&wt!==9&&wt!==11)return m;if(!x&&(qe(d),d=d||ke,rt)){if(wt!==11&&(J=St.exec(c)))if(U=J[1]){if(wt===9)return(D=d.getElementById(U))&&s.call(m,D),m;if(kt&&(D=kt.getElementById(U))&&B.contains(d,D))return s.call(m,D),m}else{if(J[2])return s.apply(m,d.getElementsByTagName(c)),m;if((U=J[3])&&d.getElementsByClassName)return s.apply(m,d.getElementsByClassName(U)),m}if(!Nt[c+" "]&&(!N||!N.test(c))){if(vt=c,kt=d,wt===1&&(pt.test(c)||At.test(c))){for(kt=gt.test(c)&&Vt(d.parentNode)||d,(kt!=d||ot)&&((st=d.getAttribute("id"))?st=B.escapeSelector(st):d.setAttribute("id",st=B.expando)),ft=Xt(c),Q=ft.length;Q--;)ft[Q]=(st?"#"+st:":scope")+" "+ie(ft[Q]);vt=ft.join(",")}try{return s.apply(m,kt.querySelectorAll(vt)),m}catch{Nt(c,!0)}finally{st===B.expando&&d.removeAttribute("id")}}}return iA(c.replace(K,"$1"),d,m,x)}function ee(c){return c[B.expando]=!0,c}function de(c){return function(d){return G(d,"input")&&d.type===c}}function le(c){return function(d){return(G(d,"input")||G(d,"button"))&&d.type===c}}function Le(c){return function(d){return"form"in d?d.parentNode&&d.disabled===!1?"label"in d?"label"in d.parentNode?d.parentNode.disabled===c:d.disabled===c:d.isDisabled===c||d.isDisabled!==!c&&Ot(d)===c:d.disabled===c:"label"in d?d.disabled===c:!1}}function cn(c){return ee(function(d){return d=+d,ee(function(m,x){for(var U,Q=c([],m.length,d),D=Q.length;D--;)m[U=Q[D]]&&(m[U]=!(x[U]=m[U]))})})}function qe(c){var d,m=c?c.ownerDocument||c:_;m==ke||m.nodeType!==9||(ke=m,k=ke.documentElement,rt=!B.isXMLDoc(ke),ot&&_!=ke&&(d=ke.defaultView)&&d.top!==d&&d.addEventListener("unload",Zt))}Wt.matches=function(c,d){return Wt(c,null,null,d)},Wt.matchesSelector=function(c,d){if(qe(c),rt&&!Nt[d+" "]&&(!N||!N.test(d)))try{return ht.call(c,d)}catch{Nt(d,!0)}return Wt(d,ke,null,[c]).length>0},B.expr={cacheLength:50,createPseudo:ee,match:Yt,find:{ID:function(c,d){if(typeof d.getElementById<"u"&&rt){var m=d.getElementById(c);return m?[m]:[]}},TAG:function(c,d){return typeof d.getElementsByTagName<"u"?d.getElementsByTagName(c):d.querySelectorAll(c)},CLASS:function(c,d){if(typeof d.getElementsByClassName<"u"&&rt)return d.getElementsByClassName(c)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:ae,filter:{ID:function(c){var d=bt(c);return function(m){return m.getAttribute("id")===d}},TAG:function(c){var d=bt(c).toLowerCase();return c==="*"?function(){return!0}:function(m){return G(m,d)}},CLASS:function(c){var d=yt[c+" "];return d||(d=new RegExp("(^|"+H+")"+c+"("+H+"|$)"))&&yt(c,function(m){return d.test(typeof m.className=="string"&&m.className||typeof m.getAttribute<"u"&&m.getAttribute("class")||"")})},ATTR:function(c,d,m){return function(x){var U=B.attr(x,c);return U==null?d==="!=":d?(U+="",d==="="?U===m:d==="!="?U!==m:d==="^="?m&&U.indexOf(m)===0:d==="*="?m&&U.indexOf(m)>-1:d==="$="?m&&U.slice(-m.length)===m:d==="~="?(" "+U.replace(re," ")+" ").indexOf(m)>-1:d==="|="?U===m||U.slice(0,m.length+1)===m+"-":!1):!0}},CHILD:function(c,d,m,x,U){var Q=c.slice(0,3)!=="nth",D=c.slice(-4)!=="last",st=d==="of-type";return x===1&&U===0?function(J){return!!J.parentNode}:function(J,ft,vt){var kt,wt,Qt,ne,Ue,Ae=Q!==D?"nextSibling":"previousSibling",Te=J.parentNode,Pe=st&&J.nodeName.toLowerCase(),nn=!vt&&!st,bn=!1;if(Te){if(Q){for(;Ae;){for(Qt=J;Qt=Qt[Ae];)if(st?G(Qt,Pe):Qt.nodeType===1)return!1;Ue=Ae=c==="only"&&!Ue&&"nextSibling"}return!0}if(Ue=[D?Te.firstChild:Te.lastChild],D&&nn){for(wt=Te[B.expando]||(Te[B.expando]={}),kt=wt[c]||[],ne=kt[0]===nt&&kt[1],bn=ne&&kt[2],Qt=ne&&Te.childNodes[ne];Qt=++ne&&Qt&&Qt[Ae]||(bn=ne=0)||Ue.pop();)if(Qt.nodeType===1&&++bn&&Qt===J){wt[c]=[nt,ne,bn];break}}else if(nn&&(wt=J[B.expando]||(J[B.expando]={}),kt=wt[c]||[],ne=kt[0]===nt&&kt[1],bn=ne),bn===!1)for(;(Qt=++ne&&Qt&&Qt[Ae]||(bn=ne=0)||Ue.pop())&&!((st?G(Qt,Pe):Qt.nodeType===1)&&++bn&&(nn&&(wt=Qt[B.expando]||(Qt[B.expando]={}),wt[c]=[nt,bn]),Qt===J)););return bn-=U,bn===x||bn%x===0&&bn/x>=0}}},PSEUDO:function(c,d){var m=B.expr.pseudos[c]||B.expr.setFilters[c.toLowerCase()]||It("unsupported pseudo: "+c);return m[B.expando]?m(d):m}},pseudos:{not:ee(function(c){var d=[],m=[],x=Pn(c.replace(K,"$1"));return x[B.expando]?ee(function(U,Q,D,st){for(var J,ft=x(U,null,st,[]),vt=U.length;vt--;)(J=ft[vt])&&(U[vt]=!(Q[vt]=J))}):function(U,Q,D){return d[0]=U,x(d,null,D,m),d[0]=null,!m.pop()}}),has:ee(function(c){return function(d){return Wt(c,d).length>0}}),contains:ee(function(c){return c=bt(c),function(d){return(d.textContent||B.text(d)).indexOf(c)>-1}}),lang:ee(function(c){return te.test(c||"")||It("unsupported lang: "+c),c=bt(c).toLowerCase(),function(d){var m;do if(m=rt?d.lang:d.getAttribute("xml:lang")||d.getAttribute("lang"))return m=m.toLowerCase(),m===c||m.indexOf(c+"-")===0;while((d=d.parentNode)&&d.nodeType===1);return!1}}),target:function(c){var d=e.location&&e.location.hash;return d&&d.slice(1)===c.id},root:function(c){return c===k},focus:function(c){return c===ke.activeElement&&ke.hasFocus()&&!!(c.type||c.href||~c.tabIndex)},enabled:Le(!1),disabled:Le(!0),checked:function(c){return G(c,"input")&&!!c.checked||G(c,"option")&&!!c.selected},selected:function(c){return ot&&c.parentNode&&c.parentNode.selectedIndex,c.selected===!0},empty:function(c){for(c=c.firstChild;c;c=c.nextSibling)if(c.nodeType<6)return!1;return!0},parent:function(c){return!B.expr.pseudos.empty(c)},header:function(c){return Be.test(c.nodeName)},input:function(c){return Jt.test(c.nodeName)},button:function(c){return G(c,"input")&&c.type==="button"||G(c,"button")},text:function(c){return G(c,"input")&&c.type==="text"},first:cn(function(){return[0]}),last:cn(function(c,d){return[d-1]}),eq:cn(function(c,d,m){return[m<0?m+d:m]}),even:cn(function(c,d){for(var m=0;m<d;m+=2)c.push(m);return c}),odd:cn(function(c,d){for(var m=1;m<d;m+=2)c.push(m);return c}),lt:cn(function(c,d,m){var x;for(m<0?x=m+d:m>d?x=d:x=m;--x>=0;)c.push(x);return c}),gt:cn(function(c,d,m){for(var x=m<0?m+d:m;++x<d;)c.push(x);return c})}},B.expr.pseudos.nth=B.expr.pseudos.eq;for(ve in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})B.expr.pseudos[ve]=de(ve);for(ve in{submit:!0,reset:!0})B.expr.pseudos[ve]=le(ve);function aA(){}aA.prototype=B.expr.pseudos,B.expr.setFilters=new aA;function wA(c,d,m){var x=d.dir,U=d.next,Q=U||x,D=m&&Q==="parentNode",st=Ct++;return d.first?function(J,ft,vt){for(;J=J[x];)if(J.nodeType===1||D)return c(J,ft,vt);return!1}:function(J,ft,vt){var kt,wt,Qt=[nt,st];if(vt){for(;J=J[x];)if((J.nodeType===1||D)&&c(J,ft,vt))return!0}else for(;J=J[x];)if(J.nodeType===1||D)if(wt=J[B.expando]||(J[B.expando]={}),U&&G(J,U))J=J[x]||J;else{if((kt=wt[Q])&&kt[0]===nt&&kt[1]===st)return Qt[2]=kt[2];if(wt[Q]=Qt,Qt[2]=c(J,ft,vt))return!0}return!1}}function Qe(c){return c.length>1?function(d,m,x){for(var U=c.length;U--;)if(!c[U](d,m,x))return!1;return!0}:c[0]}function oi(c,d,m){for(var x=0,U=d.length;x<U;x++)Wt(c,d[x],m);return m}function sr(c,d,m,x,U){for(var Q,D=[],st=0,J=c.length,ft=d!=null;st<J;st++)(Q=c[st])&&(!m||m(Q,x,U))&&(D.push(Q),ft&&d.push(st));return D}function SA(c,d,m,x,U,Q){return x&&!x[B.expando]&&(x=SA(x)),U&&!U[B.expando]&&(U=SA(U,Q)),ee(function(D,st,J,ft){var vt,kt,wt,Qt,ne=[],Ue=[],Ae=st.length,Te=D||oi(d||"*",J.nodeType?[J]:J,[]),Pe=c&&(D||!d)?sr(Te,ne,c,J,ft):Te;if(m?(Qt=U||(D?c:Ae||x)?[]:st,m(Pe,Qt,J,ft)):Qt=Pe,x)for(vt=sr(Qt,Ue),x(vt,[],J,ft),kt=vt.length;kt--;)(wt=vt[kt])&&(Qt[Ue[kt]]=!(Pe[Ue[kt]]=wt));if(D){if(U||c){if(U){for(vt=[],kt=Qt.length;kt--;)(wt=Qt[kt])&&vt.push(Pe[kt]=wt);U(null,Qt=[],vt,ft)}for(kt=Qt.length;kt--;)(wt=Qt[kt])&&(vt=U?o.call(D,wt):ne[kt])>-1&&(D[vt]=!(st[vt]=wt))}}else Qt=sr(Qt===st?Qt.splice(Ae,Qt.length):Qt),U?U(null,st,Qt,ft):s.apply(st,Qt)})}function LA(c){for(var d,m,x,U=c.length,Q=B.expr.relative[c[0].type],D=Q||B.expr.relative[" "],st=Q?1:0,J=wA(function(kt){return kt===d},D,!0),ft=wA(function(kt){return o.call(d,kt)>-1},D,!0),vt=[function(kt,wt,Qt){var ne=!Q&&(Qt||wt!=ge)||((d=wt).nodeType?J(kt,wt,Qt):ft(kt,wt,Qt));return d=null,ne}];st<U;st++)if(m=B.expr.relative[c[st].type])vt=[wA(Qe(vt),m)];else{if(m=B.expr.filter[c[st].type].apply(null,c[st].matches),m[B.expando]){for(x=++st;x<U&&!B.expr.relative[c[x].type];x++);return SA(st>1&&Qe(vt),st>1&&ie(c.slice(0,st-1).concat({value:c[st-2].type===" "?"*":""})).replace(K,"$1"),m,st<x&&LA(c.slice(st,x)),x<U&&LA(c=c.slice(x)),x<U&&ie(c))}vt.push(m)}return Qe(vt)}function Qn(c,d){var m=d.length>0,x=c.length>0,U=function(Q,D,st,J,ft){var vt,kt,wt,Qt=0,ne="0",Ue=Q&&[],Ae=[],Te=ge,Pe=Q||x&&B.expr.find.TAG("*",ft),nn=nt+=Te==null?1:Math.random()||.1;for(ft&&(ge=D==ke||D||ft);(vt=Pe[ne])!=null;ne++){if(x&&vt){for(kt=0,!D&&vt.ownerDocument!=ke&&(qe(vt),st=!rt);wt=c[kt++];)if(wt(vt,D||ke,st)){s.call(J,vt);break}ft&&(nt=nn)}m&&((vt=!wt&&vt)&&Qt--,Q&&Ue.push(vt))}if(Qt+=ne,m&&ne!==Qt){for(kt=0;wt=d[kt++];)wt(Ue,Ae,D,st);if(Q){if(Qt>0)for(;ne--;)Ue[ne]||Ae[ne]||(Ae[ne]=z.call(J));Ae=sr(Ae)}s.apply(J,Ae),ft&&!Q&&Ae.length>0&&Qt+d.length>1&&B.uniqueSort(J)}return ft&&(nt=nn,ge=Te),Ue};return m?ee(U):U}function Pn(c,d){var m,x=[],U=[],Q=_t[c+" "];if(!Q){for(d||(d=Xt(c)),m=d.length;m--;)Q=LA(d[m]),Q[B.expando]?x.push(Q):U.push(Q);Q=_t(c,Qn(U,x)),Q.selector=c}return Q}function iA(c,d,m,x){var U,Q,D,st,J,ft=typeof c=="function"&&c,vt=!x&&Xt(c=ft.selector||c);if(m=m||[],vt.length===1){if(Q=vt[0]=vt[0].slice(0),Q.length>2&&(D=Q[0]).type==="ID"&&d.nodeType===9&&rt&&B.expr.relative[Q[1].type]){if(d=(B.expr.find.ID(bt(D.matches[0]),d)||[])[0],d)ft&&(d=d.parentNode);else return m;c=c.slice(Q.shift().value.length)}for(U=Yt.needsContext.test(c)?0:Q.length;U--&&(D=Q[U],!B.expr.relative[st=D.type]);)if((J=B.expr.find[st])&&(x=J(bt(D.matches[0]),gt.test(Q[0].type)&&Vt(d.parentNode)||d))){if(Q.splice(U,1),c=x.length&&ie(Q),!c)return s.apply(m,x),m;break}}return(ft||Pn(c,vt))(x,d,!rt,m,!d||gt.test(c)&&Vt(d.parentNode)||d),m}qe(),B.find=Wt,Wt.compile=Pn,Wt.select=iA,Wt.setDocument=qe,Wt.tokenize=Xt;function or(c,d,m){for(var x=[],U=m!==void 0;(c=c[d])&&c.nodeType!==9;)if(c.nodeType===1){if(U&&B(c).is(m))break;x.push(c)}return x}function ai(c,d){for(var m=[];c;c=c.nextSibling)c.nodeType===1&&c!==d&&m.push(c);return m}var ar=B.expr.match.needsContext,vr=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function lr(c){return c[0]==="<"&&c[c.length-1]===">"&&c.length>=3}function GA(c,d,m){return typeof d=="function"?B.grep(c,function(x,U){return!!d.call(x,U,x)!==m}):d.nodeType?B.grep(c,function(x){return x===d!==m}):typeof d!="string"?B.grep(c,function(x){return o.call(d,x)>-1!==m}):B.filter(d,c,m)}B.filter=function(c,d,m){var x=d[0];return m&&(c=":not("+c+")"),d.length===1&&x.nodeType===1?B.find.matchesSelector(x,c)?[x]:[]:B.find.matches(c,B.grep(d,function(U){return U.nodeType===1}))},B.fn.extend({find:function(c){var d,m,x=this.length,U=this;if(typeof c!="string")return this.pushStack(B(c).filter(function(){for(d=0;d<x;d++)if(B.contains(U[d],this))return!0}));for(m=this.pushStack([]),d=0;d<x;d++)B.find(c,U[d],m);return x>1?B.uniqueSort(m):m},filter:function(c){return this.pushStack(GA(this,c||[],!1))},not:function(c){return this.pushStack(GA(this,c||[],!0))},is:function(c){return!!GA(this,typeof c=="string"&&ar.test(c)?B(c):c||[],!1).length}});var yA,es=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Pr=B.fn.init=function(c,d){var m,x;if(!c)return this;if(c.nodeType)return this[0]=c,this.length=1,this;if(typeof c=="function")return yA.ready!==void 0?yA.ready(c):c(B);if(m=c+"",lr(m))m=[null,c,null];else if(typeof c=="string")m=es.exec(c);else return B.makeArray(c,this);if(m&&(m[1]||!d))if(m[1]){if(d=d instanceof B?d[0]:d,B.merge(this,B.parseHTML(m[1],d&&d.nodeType?d.ownerDocument||d:_,!0)),vr.test(m[1])&&B.isPlainObject(d))for(m in d)typeof this[m]=="function"?this[m](d[m]):this.attr(m,d[m]);return this}else return x=_.getElementById(m[2]),x&&(this[0]=x,this.length=1),this;else return!d||d.jquery?(d||yA).find(c):this.constructor(d).find(c)};Pr.prototype=B.fn,yA=B(_);var ns=/^(?:parents|prev(?:Until|All))/,Hs={children:!0,contents:!0,next:!0,prev:!0};B.fn.extend({has:function(c){var d=B(c,this),m=d.length;return this.filter(function(){for(var x=0;x<m;x++)if(B.contains(this,d[x]))return!0})},closest:function(c,d){var m,x=0,U=this.length,Q=[],D=typeof c!="string"&&B(c);if(!ar.test(c)){for(;x<U;x++)for(m=this[x];m&&m!==d;m=m.parentNode)if(m.nodeType<11&&(D?D.index(m)>-1:m.nodeType===1&&B.find.matchesSelector(m,c))){Q.push(m);break}}return this.pushStack(Q.length>1?B.uniqueSort(Q):Q)},index:function(c){return c?typeof c=="string"?o.call(B(c),this[0]):o.call(this,c.jquery?c[0]:c):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(c,d){return this.pushStack(B.uniqueSort(B.merge(this.get(),B(c,d))))},addBack:function(c){return this.add(c==null?this.prevObject:this.prevObject.filter(c))}});function As(c,d){for(;(c=c[d])&&c.nodeType!==1;);return c}B.each({parent:function(c){var d=c.parentNode;return d&&d.nodeType!==11?d:null},parents:function(c){return or(c,"parentNode")},parentsUntil:function(c,d,m){return or(c,"parentNode",m)},next:function(c){return As(c,"nextSibling")},prev:function(c){return As(c,"previousSibling")},nextAll:function(c){return or(c,"nextSibling")},prevAll:function(c){return or(c,"previousSibling")},nextUntil:function(c,d,m){return or(c,"nextSibling",m)},prevUntil:function(c,d,m){return or(c,"previousSibling",m)},siblings:function(c){return ai((c.parentNode||{}).firstChild,c)},children:function(c){return ai(c.firstChild)},contents:function(c){return c.contentDocument!=null&&A(c.contentDocument)?c.contentDocument:(G(c,"template")&&(c=c.content||c),B.merge([],c.childNodes))}},function(c,d){B.fn[c]=function(m,x){var U=B.map(this,d,m);return c.slice(-5)!=="Until"&&(x=m),x&&typeof x=="string"&&(U=B.filter(x,U)),this.length>1&&(Hs[c]||B.uniqueSort(U),ns.test(c)&&U.reverse()),this.pushStack(U)}});function Ps(c){var d={};return B.each(c.match(q)||[],function(m,x){d[x]=!0}),d}B.Callbacks=function(c){c=typeof c=="string"?Ps(c):B.extend({},c);var d,m,x,U,Q=[],D=[],st=-1,J=function(){for(U=U||c.once,x=d=!0;D.length;st=-1)for(m=D.shift();++st<Q.length;)Q[st].apply(m[0],m[1])===!1&&c.stopOnFalse&&(st=Q.length,m=!1);c.memory||(m=!1),d=!1,U&&(m?Q=[]:Q="")},ft={add:function(){return Q&&(m&&!d&&(st=Q.length-1,D.push(m)),(function vt(kt){B.each(kt,function(wt,Qt){typeof Qt=="function"?(!c.unique||!ft.has(Qt))&&Q.push(Qt):Qt&&Qt.length&&y(Qt)!=="string"&&vt(Qt)})})(arguments),m&&!d&&J()),this},remove:function(){return B.each(arguments,function(vt,kt){for(var wt;(wt=B.inArray(kt,Q,wt))>-1;)Q.splice(wt,1),wt<=st&&st--}),this},has:function(vt){return vt?B.inArray(vt,Q)>-1:Q.length>0},empty:function(){return Q&&(Q=[]),this},disable:function(){return U=D=[],Q=m="",this},disabled:function(){return!Q},lock:function(){return U=D=[],!m&&!d&&(Q=m=""),this},locked:function(){return!!U},fireWith:function(vt,kt){return U||(kt=kt||[],kt=[vt,kt.slice?kt.slice():kt],D.push(kt),d||J()),this},fire:function(){return ft.fireWith(this,arguments),this},fired:function(){return!!x}};return ft};function Li(c){return c}function Ii(c){throw c}function Mo(c,d,m,x){var U;try{c&&typeof(U=c.promise)=="function"?U.call(c).done(d).fail(m):c&&typeof(U=c.then)=="function"?U.call(c,d,m):d.apply(void 0,[c].slice(x))}catch(Q){m(Q)}}B.extend({Deferred:function(c){var d=[["notify","progress",B.Callbacks("memory"),B.Callbacks("memory"),2],["resolve","done",B.Callbacks("once memory"),B.Callbacks("once memory"),0,"resolved"],["reject","fail",B.Callbacks("once memory"),B.Callbacks("once memory"),1,"rejected"]],m="pending",x={state:function(){return m},always:function(){return U.done(arguments).fail(arguments),this},catch:function(Q){return x.then(null,Q)},pipe:function(){var Q=arguments;return B.Deferred(function(D){B.each(d,function(st,J){var ft=typeof Q[J[4]]=="function"&&Q[J[4]];U[J[1]](function(){var vt=ft&&ft.apply(this,arguments);vt&&typeof vt.promise=="function"?vt.promise().progress(D.notify).done(D.resolve).fail(D.reject):D[J[0]+"With"](this,ft?[vt]:arguments)})}),Q=null}).promise()},then:function(Q,D,st){var J=0;function ft(vt,kt,wt,Qt){return function(){var ne=this,Ue=arguments,Ae=function(){var Pe,nn;if(!(vt<J)){if(Pe=wt.apply(ne,Ue),Pe===kt.promise())throw new TypeError("Thenable self-resolution");nn=Pe&&(typeof Pe=="object"||typeof Pe=="function")&&Pe.then,typeof nn=="function"?Qt?nn.call(Pe,ft(J,kt,Li,Qt),ft(J,kt,Ii,Qt)):(J++,nn.call(Pe,ft(J,kt,Li,Qt),ft(J,kt,Ii,Qt),ft(J,kt,Li,kt.notifyWith))):(wt!==Li&&(ne=void 0,Ue=[Pe]),(Qt||kt.resolveWith)(ne,Ue))}},Te=Qt?Ae:function(){try{Ae()}catch(Pe){B.Deferred.exceptionHook&&B.Deferred.exceptionHook(Pe,Te.error),vt+1>=J&&(wt!==Ii&&(ne=void 0,Ue=[Pe]),kt.rejectWith(ne,Ue))}};vt?Te():(B.Deferred.getErrorHook&&(Te.error=B.Deferred.getErrorHook()),e.setTimeout(Te))}}return B.Deferred(function(vt){d[0][3].add(ft(0,vt,typeof st=="function"?st:Li,vt.notifyWith)),d[1][3].add(ft(0,vt,typeof Q=="function"?Q:Li)),d[2][3].add(ft(0,vt,typeof D=="function"?D:Ii))}).promise()},promise:function(Q){return Q!=null?B.extend(Q,x):x}},U={};return B.each(d,function(Q,D){var st=D[2],J=D[5];x[D[1]]=st.add,J&&st.add(function(){m=J},d[3-Q][2].disable,d[3-Q][3].disable,d[0][2].lock,d[0][3].lock),st.add(D[3].fire),U[D[0]]=function(){return U[D[0]+"With"](this===U?void 0:this,arguments),this},U[D[0]+"With"]=st.fireWith}),x.promise(U),c&&c.call(U,U),U},when:function(c){var d=arguments.length,m=d,x=Array(m),U=r.call(arguments),Q=B.Deferred(),D=function(st){return function(J){x[st]=this,U[st]=arguments.length>1?r.call(arguments):J,--d||Q.resolveWith(x,U)}};if(d<=1&&(Mo(c,Q.done(D(m)).resolve,Q.reject,!d),Q.state()==="pending"||typeof(U[m]&&U[m].then)=="function"))return Q.then();for(;m--;)Mo(U[m],D(m),Q.reject);return Q.promise()}});var ja=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;B.Deferred.exceptionHook=function(c,d){c&&ja.test(c.name)&&e.console.warn("jQuery.Deferred exception",c,d)},B.readyException=function(c){e.setTimeout(function(){throw c})};var IA=B.Deferred();B.fn.ready=function(c){return IA.then(c).catch(function(d){B.readyException(d)}),this},B.extend({isReady:!1,readyWait:1,ready:function(c){(c===!0?--B.readyWait:B.isReady)||(B.isReady=!0,!(c!==!0&&--B.readyWait>0)&&IA.resolveWith(_,[B]))}}),B.ready.then=IA.then;function ki(){_.removeEventListener("DOMContentLoaded",ki),e.removeEventListener("load",ki),B.ready()}_.readyState!=="loading"?e.setTimeout(B.ready):(_.addEventListener("DOMContentLoaded",ki),e.addEventListener("load",ki));var Va=/-([a-z])/g;function Do(c,d){return d.toUpperCase()}function Mr(c){return c.replace(Va,Do)}function Ti(c){return c.nodeType===1||c.nodeType===9||!+c.nodeType}function Ni(){this.expando=B.expando+Ni.uid++}Ni.uid=1,Ni.prototype={cache:function(c){var d=c[this.expando];return d||(d=Object.create(null),Ti(c)&&(c.nodeType?c[this.expando]=d:Object.defineProperty(c,this.expando,{value:d,configurable:!0}))),d},set:function(c,d,m){var x,U=this.cache(c);if(typeof d=="string")U[Mr(d)]=m;else for(x in d)U[Mr(x)]=d[x];return m},get:function(c,d){return d===void 0?this.cache(c):c[this.expando]&&c[this.expando][Mr(d)]},access:function(c,d,m){return d===void 0||d&&typeof d=="string"&&m===void 0?this.get(c,d):(this.set(c,d,m),m!==void 0?m:d)},remove:function(c,d){var m,x=c[this.expando];if(x!==void 0){if(d!==void 0)for(Array.isArray(d)?d=d.map(Mr):(d=Mr(d),d=d in x?[d]:d.match(q)||[]),m=d.length;m--;)delete x[d[m]];(d===void 0||B.isEmptyObject(x))&&(c.nodeType?c[this.expando]=void 0:delete c[this.expando])}},hasData:function(c){var d=c[this.expando];return d!==void 0&&!B.isEmptyObject(d)}};var Ie=new Ni,Wn=new Ni,Wl=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Mn=/[A-Z]/g;function Wa(c){return c==="true"?!0:c==="false"?!1:c==="null"?null:c===+c+""?+c:Wl.test(c)?JSON.parse(c):c}function yr(c,d,m){var x;if(m===void 0&&c.nodeType===1)if(x="data-"+d.replace(Mn,"-$&").toLowerCase(),m=c.getAttribute(x),typeof m=="string"){try{m=Wa(m)}catch{}Wn.set(c,d,m)}else m=void 0;return m}B.extend({hasData:function(c){return Wn.hasData(c)||Ie.hasData(c)},data:function(c,d,m){return Wn.access(c,d,m)},removeData:function(c,d){Wn.remove(c,d)},_data:function(c,d,m){return Ie.access(c,d,m)},_removeData:function(c,d){Ie.remove(c,d)}}),B.fn.extend({data:function(c,d){var m,x,U,Q=this[0],D=Q&&Q.attributes;if(c===void 0){if(this.length&&(U=Wn.get(Q),Q.nodeType===1&&!Ie.get(Q,"hasDataAttrs"))){for(m=D.length;m--;)D[m]&&(x=D[m].name,x.indexOf("data-")===0&&(x=Mr(x.slice(5)),yr(Q,x,U[x])));Ie.set(Q,"hasDataAttrs",!0)}return U}return typeof c=="object"?this.each(function(){Wn.set(this,c)}):fe(this,function(st){var J;if(Q&&st===void 0)return J=Wn.get(Q,c),J!==void 0||(J=yr(Q,c),J!==void 0)?J:void 0;this.each(function(){Wn.set(this,c,st)})},null,d,arguments.length>1,null,!0)},removeData:function(c){return this.each(function(){Wn.remove(this,c)})}}),B.extend({queue:function(c,d,m){var x;if(c)return d=(d||"fx")+"queue",x=Ie.get(c,d),m&&(!x||Array.isArray(m)?x=Ie.set(c,d,B.makeArray(m)):x.push(m)),x||[]},dequeue:function(c,d){d=d||"fx";var m=B.queue(c,d),x=m.length,U=m.shift(),Q=B._queueHooks(c,d),D=function(){B.dequeue(c,d)};U==="inprogress"&&(U=m.shift(),x--),U&&(d==="fx"&&m.unshift("inprogress"),delete Q.stop,U.call(c,D,Q)),!x&&Q&&Q.empty.fire()},_queueHooks:function(c,d){var m=d+"queueHooks";return Ie.get(c,m)||Ie.set(c,m,{empty:B.Callbacks("once memory").add(function(){Ie.remove(c,[d+"queue",m])})})}}),B.fn.extend({queue:function(c,d){var m=2;return typeof c!="string"&&(d=c,c="fx",m--),arguments.length<m?B.queue(this[0],c):d===void 0?this:this.each(function(){var x=B.queue(this,c,d);B._queueHooks(this,c),c==="fx"&&x[0]!=="inprogress"&&B.dequeue(this,c)})},dequeue:function(c){return this.each(function(){B.dequeue(this,c)})},clearQueue:function(c){return this.queue(c||"fx",[])},promise:function(c,d){var m,x=1,U=B.Deferred(),Q=this,D=this.length,st=function(){--x||U.resolveWith(Q,[Q])};for(typeof c!="string"&&(d=c,c=void 0),c=c||"fx";D--;)m=Ie.get(Q[D],c+"queueHooks"),m&&m.empty&&(x++,m.empty.add(st));return st(),U.promise(d)}});var rs=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Oi=new RegExp("^(?:([+-])=|)("+rs+")([a-z%]*)$","i"),qn=["Top","Right","Bottom","Left"];function Sn(c,d){return c=d||c,c.style.display==="none"||c.style.display===""&&B.css(c,"display")==="none"}var li=/^[a-z]/,qa=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;function Ms(c){return li.test(c)&&qa.test(c[0].toUpperCase()+c.slice(1))}function za(c,d,m,x){var U,Q,D=20,st=x?function(){return x.cur()}:function(){return B.css(c,d,"")},J=st(),ft=m&&m[3]||(Ms(d)?"px":""),vt=c.nodeType&&(!Ms(d)||ft!=="px"&&+J)&&Oi.exec(B.css(c,d));if(vt&&vt[3]!==ft){for(J=J/2,ft=ft||vt[3],vt=+J||1;D--;)B.style(c,d,vt+ft),(1-Q)*(1-(Q=st()/J||.5))<=0&&(D=0),vt=vt/Q;vt=vt*2,B.style(c,d,vt+ft),m=m||[]}return m&&(vt=+vt||+J||0,U=m[1]?vt+(m[1]+1)*m[2]:+m[2],x&&(x.unit=ft,x.start=vt,x.end=U)),U}var Dr=/^-ms-/;function Ds(c){return Mr(c.replace(Dr,"ms-"))}var Ro={};function Rs(c){var d,m=c.ownerDocument,x=c.nodeName,U=Ro[x];return U||(d=m.body.appendChild(m.createElement(x)),U=B.css(d,"display"),d.parentNode.removeChild(d),U==="none"&&(U="block"),Ro[x]=U,U)}function cr(c,d){for(var m,x,U=[],Q=0,D=c.length;Q<D;Q++)x=c[Q],x.style&&(m=x.style.display,d?(m==="none"&&(U[Q]=Ie.get(x,"display")||null,U[Q]||(x.style.display="")),x.style.display===""&&Sn(x)&&(U[Q]=Rs(x))):m!=="none"&&(U[Q]="none",Ie.set(x,"display",m)));for(Q=0;Q<D;Q++)U[Q]!=null&&(c[Q].style.display=U[Q]);return c}B.fn.extend({show:function(){return cr(this,!0)},hide:function(){return cr(this)},toggle:function(c){return typeof c=="boolean"?c?this.show():this.hide():this.each(function(){Sn(this)?B(this).show():B(this).hide()})}});var is=function(c){return B.contains(c.ownerDocument,c)||c.getRootNode(ql)===c.ownerDocument},ql={composed:!0};mt.getRootNode||(is=function(c){return B.contains(c.ownerDocument,c)});var Ga=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,XA={thead:["table"],col:["colgroup","table"],tr:["tbody","table"],td:["tr","tbody","table"]};XA.tbody=XA.tfoot=XA.colgroup=XA.caption=XA.thead,XA.th=XA.td;function lA(c,d){var m;return typeof c.getElementsByTagName<"u"?m=n.slice.call(c.getElementsByTagName(d||"*")):typeof c.querySelectorAll<"u"?m=c.querySelectorAll(d||"*"):m=[],d===void 0||d&&G(c,d)?B.merge([c],m):m}var ur=/^$|^module$|\/(?:java|ecma)script/i;function Ko(c,d){for(var m=0,x=c.length;m<x;m++)Ie.set(c[m],"globalEval",!d||Ie.get(d[m],"globalEval"))}var ss=/<|&#?\w+;/;function Ks(c,d,m,x,U){for(var Q,D,st,J,ft,vt,kt=d.createDocumentFragment(),wt=[],Qt=0,ne=c.length;Qt<ne;Qt++)if(Q=c[Qt],Q||Q===0)if(y(Q)==="object"&&(Q.nodeType||C(Q)))B.merge(wt,Q.nodeType?[Q]:Q);else if(!ss.test(Q))wt.push(d.createTextNode(Q));else{for(D=D||kt.appendChild(d.createElement("div")),st=(Ga.exec(Q)||["",""])[1].toLowerCase(),J=XA[st]||n,vt=J.length;--vt>-1;)D=D.appendChild(d.createElement(J[vt]));D.innerHTML=B.htmlPrefilter(Q),B.merge(wt,D.childNodes),D=kt.firstChild,D.textContent=""}for(kt.textContent="",Qt=0;Q=wt[Qt++];){if(x&&B.inArray(Q,x)>-1){U&&U.push(Q);continue}if(ft=is(Q),D=lA(kt.appendChild(Q),"script"),ft&&Ko(D),m)for(vt=0;Q=D[vt++];)ur.test(Q.type||"")&&m.push(Q)}return kt}function zl(c){return c.type=(c.getAttribute("type")!==null)+"/"+c.type,c}function He(c){return(c.type||"").slice(0,5)==="true/"?c.type=c.type.slice(5):c.removeAttribute("type"),c}function Hi(c,d,m,x){d=i(d);var U,Q,D,st,J,ft,vt=0,kt=c.length,wt=kt-1,Qt=d[0],ne=typeof Qt=="function";if(ne)return c.each(function(Ue){var Ae=c.eq(Ue);d[0]=Qt.call(this,Ue,Ae.html()),Hi(Ae,d,m,x)});if(kt&&(U=Ks(d,c[0].ownerDocument,!1,c,x),Q=U.firstChild,U.childNodes.length===1&&(U=Q),Q||x)){for(D=B.map(lA(U,"script"),zl),st=D.length;vt<kt;vt++)J=U,vt!==wt&&(J=B.clone(J,!0,!0),st&&B.merge(D,lA(J,"script"))),m.call(c[vt],J,vt);if(st)for(ft=D[D.length-1].ownerDocument,B.map(D,He),vt=0;vt<st;vt++)J=D[vt],ur.test(J.type||"")&&!Ie.get(J,"globalEval")&&B.contains(ft,J)&&(J.src&&(J.type||"").toLowerCase()!=="module"?B._evalUrl&&!J.noModule&&B._evalUrl(J.src,{nonce:J.nonce,crossOrigin:J.crossOrigin},ft):M(J.textContent,J,ft))}return c}var js=/^(?:checkbox|radio)$/i,Xa=/^([^.]*)(?:\.(.+)|)/;function kA(){return!0}function TA(){return!1}function jo(c,d,m,x,U,Q){var D,st;if(typeof d=="object"){typeof m!="string"&&(x=x||m,m=void 0);for(st in d)jo(c,st,m,x,d[st],Q);return c}if(x==null&&U==null?(U=m,x=m=void 0):U==null&&(typeof m=="string"?(U=x,x=void 0):(U=x,x=m,m=void 0)),U===!1)U=TA;else if(!U)return c;return Q===1&&(D=U,U=function(J){return B().off(J),D.apply(this,arguments)},U.guid=D.guid||(D.guid=B.guid++)),c.each(function(){B.event.add(this,d,U,x,m)})}B.event={add:function(c,d,m,x,U){var Q,D,st,J,ft,vt,kt,wt,Qt,ne,Ue,Ae=Ie.get(c);if(Ti(c))for(m.handler&&(Q=m,m=Q.handler,U=Q.selector),U&&B.find.matchesSelector(mt,U),m.guid||(m.guid=B.guid++),(J=Ae.events)||(J=Ae.events=Object.create(null)),(D=Ae.handle)||(D=Ae.handle=function(Te){return typeof B<"u"&&B.event.triggered!==Te.type?B.event.dispatch.apply(c,arguments):void 0}),d=(d||"").match(q)||[""],ft=d.length;ft--;)st=Xa.exec(d[ft])||[],Qt=Ue=st[1],ne=(st[2]||"").split(".").sort(),Qt&&(kt=B.event.special[Qt]||{},Qt=(U?kt.delegateType:kt.bindType)||Qt,kt=B.event.special[Qt]||{},vt=B.extend({type:Qt,origType:Ue,data:x,handler:m,guid:m.guid,selector:U,needsContext:U&&B.expr.match.needsContext.test(U),namespace:ne.join(".")},Q),(wt=J[Qt])||(wt=J[Qt]=[],wt.delegateCount=0,(!kt.setup||kt.setup.call(c,x,ne,D)===!1)&&c.addEventListener&&c.addEventListener(Qt,D)),kt.add&&(kt.add.call(c,vt),vt.handler.guid||(vt.handler.guid=m.guid)),U?wt.splice(wt.delegateCount++,0,vt):wt.push(vt))},remove:function(c,d,m,x,U){var Q,D,st,J,ft,vt,kt,wt,Qt,ne,Ue,Ae=Ie.hasData(c)&&Ie.get(c);if(!(!Ae||!(J=Ae.events))){for(d=(d||"").match(q)||[""],ft=d.length;ft--;){if(st=Xa.exec(d[ft])||[],Qt=Ue=st[1],ne=(st[2]||"").split(".").sort(),!Qt){for(Qt in J)B.event.remove(c,Qt+d[ft],m,x,!0);continue}for(kt=B.event.special[Qt]||{},Qt=(x?kt.delegateType:kt.bindType)||Qt,wt=J[Qt]||[],st=st[2]&&new RegExp("(^|\\.)"+ne.join("\\.(?:.*\\.|)")+"(\\.|$)"),D=Q=wt.length;Q--;)vt=wt[Q],(U||Ue===vt.origType)&&(!m||m.guid===vt.guid)&&(!st||st.test(vt.namespace))&&(!x||x===vt.selector||x==="**"&&vt.selector)&&(wt.splice(Q,1),vt.selector&&wt.delegateCount--,kt.remove&&kt.remove.call(c,vt));D&&!wt.length&&((!kt.teardown||kt.teardown.call(c,ne,Ae.handle)===!1)&&B.removeEvent(c,Qt,Ae.handle),delete J[Qt])}B.isEmptyObject(J)&&Ie.remove(c,"handle events")}},dispatch:function(c){var d,m,x,U,Q,D,st=new Array(arguments.length),J=B.event.fix(c),ft=(Ie.get(this,"events")||Object.create(null))[J.type]||[],vt=B.event.special[J.type]||{};for(st[0]=J,d=1;d<arguments.length;d++)st[d]=arguments[d];if(J.delegateTarget=this,!(vt.preDispatch&&vt.preDispatch.call(this,J)===!1)){for(D=B.event.handlers.call(this,J,ft),d=0;(U=D[d++])&&!J.isPropagationStopped();)for(J.currentTarget=U.elem,m=0;(Q=U.handlers[m++])&&!J.isImmediatePropagationStopped();)(!J.rnamespace||Q.namespace===!1||J.rnamespace.test(Q.namespace))&&(J.handleObj=Q,J.data=Q.data,x=((B.event.special[Q.origType]||{}).handle||Q.handler).apply(U.elem,st),x!==void 0&&(J.result=x)===!1&&(J.preventDefault(),J.stopPropagation()));return vt.postDispatch&&vt.postDispatch.call(this,J),J.result}},handlers:function(c,d){var m,x,U,Q,D,st=[],J=d.delegateCount,ft=c.target;if(J&&!(c.type==="click"&&c.button>=1)){for(;ft!==this;ft=ft.parentNode||this)if(ft.nodeType===1&&!(c.type==="click"&&ft.disabled===!0)){for(Q=[],D={},m=0;m<J;m++)x=d[m],U=x.selector+" ",D[U]===void 0&&(D[U]=x.needsContext?B(U,this).index(ft)>-1:B.find(U,this,null,[ft]).length),D[U]&&Q.push(x);Q.length&&st.push({elem:ft,handlers:Q})}}return ft=this,J<d.length&&st.push({elem:ft,handlers:d.slice(J)}),st},addProp:function(c,d){Object.defineProperty(B.Event.prototype,c,{enumerable:!0,configurable:!0,get:typeof d=="function"?function(){if(this.originalEvent)return d(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[c]},set:function(m){Object.defineProperty(this,c,{enumerable:!0,configurable:!0,writable:!0,value:m})}})},fix:function(c){return c[B.expando]?c:new B.Event(c)},special:B.extend(Object.create(null),{load:{noBubble:!0},click:{setup:function(c){var d=this||c;return js.test(d.type)&&d.click&&G(d,"input")&&Vs(d,"click",!0),!1},trigger:function(c){var d=this||c;return js.test(d.type)&&d.click&&G(d,"input")&&Vs(d,"click"),!0},_default:function(c){var d=c.target;return js.test(d.type)&&d.click&&G(d,"input")&&Ie.get(d,"click")||G(d,"a")}},beforeunload:{postDispatch:function(c){c.result!==void 0&&c.preventDefault()}}})};function Vs(c,d,m){if(!m){Ie.get(c,d)===void 0&&B.event.add(c,d,kA);return}Ie.set(c,d,!1),B.event.add(c,d,{namespace:!1,handler:function(x){var U,Q=Ie.get(this,d);if(x.isTrigger&1&&this[d]){if(Q.length)(B.event.special[d]||{}).delegateType&&x.stopPropagation();else if(Q=r.call(arguments),Ie.set(this,d,Q),this[d](),U=Ie.get(this,d),Ie.set(this,d,!1),Q!==U)return x.stopImmediatePropagation(),x.preventDefault(),U&&U.value}else Q.length&&(Ie.set(this,d,{value:B.event.trigger(Q[0],Q.slice(1),this)}),x.stopPropagation(),x.isImmediatePropagationStopped=kA)}})}B.removeEvent=function(c,d,m){c.removeEventListener&&c.removeEventListener(d,m)},B.Event=function(c,d){if(!(this instanceof B.Event))return new B.Event(c,d);c&&c.type?(this.originalEvent=c,this.type=c.type,this.isDefaultPrevented=c.defaultPrevented?kA:TA,this.target=c.target,this.currentTarget=c.currentTarget,this.relatedTarget=c.relatedTarget):this.type=c,d&&B.extend(this,d),this.timeStamp=c&&c.timeStamp||Date.now(),this[B.expando]=!0},B.Event.prototype={constructor:B.Event,isDefaultPrevented:TA,isPropagationStopped:TA,isImmediatePropagationStopped:TA,isSimulated:!1,preventDefault:function(){var c=this.originalEvent;this.isDefaultPrevented=kA,c&&!this.isSimulated&&c.preventDefault()},stopPropagation:function(){var c=this.originalEvent;this.isPropagationStopped=kA,c&&!this.isSimulated&&c.stopPropagation()},stopImmediatePropagation:function(){var c=this.originalEvent;this.isImmediatePropagationStopped=kA,c&&!this.isSimulated&&c.stopImmediatePropagation(),this.stopPropagation()}},B.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},B.event.addProp),B.each({focus:"focusin",blur:"focusout"},function(c,d){function m(x){var U=B.event.fix(x);U.type=x.type==="focusin"?"focus":"blur",U.isSimulated=!0,U.target===U.currentTarget&&Ie.get(this,"handle")(U)}B.event.special[c]={setup:function(){if(Vs(this,c,!0),ot)this.addEventListener(d,m);else return!1},trigger:function(){return Vs(this,c),!0},teardown:function(){if(ot)this.removeEventListener(d,m);else return!1},_default:function(x){return Ie.get(x.target,c)},delegateType:d}}),B.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(c,d){B.event.special[c]={delegateType:d,bindType:d,handle:function(m){var x,U=this,Q=m.relatedTarget,D=m.handleObj;return(!Q||Q!==U&&!B.contains(U,Q))&&(m.type=D.origType,x=D.handler.apply(this,arguments),m.type=d),x}}}),B.fn.extend({on:function(c,d,m,x){return jo(this,c,d,m,x)},one:function(c,d,m,x){return jo(this,c,d,m,x,1)},off:function(c,d,m){var x,U;if(c&&c.preventDefault&&c.handleObj)return x=c.handleObj,B(c.delegateTarget).off(x.namespace?x.origType+"."+x.namespace:x.origType,x.selector,x.handler),this;if(typeof c=="object"){for(U in c)this.off(U,d,c[U]);return this}return(d===!1||typeof d=="function")&&(m=d,d=void 0),m===!1&&(m=TA),this.each(function(){B.event.remove(this,c,m,d)})}});var Ws=/<script|<style|<link/i;function qs(c,d){return G(c,"table")&&G(d.nodeType!==11?d:d.firstChild,"tr")&&B(c).children("tbody")[0]||c}function Pi(c,d){var m,x,U,Q=Ie.get(c,"events");if(d.nodeType===1){if(Q){Ie.remove(d,"handle events");for(m in Q)for(x=0,U=Q[m].length;x<U;x++)B.event.add(d,m,Q[m][x])}Wn.hasData(c)&&Wn.set(d,B.extend({},Wn.get(c)))}}function $a(c,d,m){for(var x,U=d?B.filter(d,c):c,Q=0;(x=U[Q])!=null;Q++)!m&&x.nodeType===1&&B.cleanData(lA(x)),x.parentNode&&(m&&is(x)&&Ko(lA(x,"script")),x.parentNode.removeChild(x));return c}B.extend({htmlPrefilter:function(c){return c},clone:function(c,d,m){var x,U,Q,D,st=c.cloneNode(!0),J=is(c);if(ot&&(c.nodeType===1||c.nodeType===11)&&!B.isXMLDoc(c))for(D=lA(st),Q=lA(c),x=0,U=Q.length;x<U;x++)G(D[x],"textarea")&&(D[x].defaultValue=Q[x].defaultValue);if(d)if(m)for(Q=Q||lA(c),D=D||lA(st),x=0,U=Q.length;x<U;x++)Pi(Q[x],D[x]);else Pi(c,st);return D=lA(st,"script"),D.length>0&&Ko(D,!J&&lA(c,"script")),st},cleanData:function(c){for(var d,m,x,U=B.event.special,Q=0;(m=c[Q])!==void 0;Q++)if(Ti(m)){if(d=m[Ie.expando]){if(d.events)for(x in d.events)U[x]?B.event.remove(m,x):B.removeEvent(m,x,d.handle);m[Ie.expando]=void 0}m[Wn.expando]&&(m[Wn.expando]=void 0)}}}),B.fn.extend({detach:function(c){return $a(this,c,!0)},remove:function(c){return $a(this,c)},text:function(c){return fe(this,function(d){return d===void 0?B.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=d)})},null,c,arguments.length)},append:function(){return Hi(this,arguments,function(c){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var d=qs(this,c);d.appendChild(c)}})},prepend:function(){return Hi(this,arguments,function(c){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var d=qs(this,c);d.insertBefore(c,d.firstChild)}})},before:function(){return Hi(this,arguments,function(c){this.parentNode&&this.parentNode.insertBefore(c,this)})},after:function(){return Hi(this,arguments,function(c){this.parentNode&&this.parentNode.insertBefore(c,this.nextSibling)})},empty:function(){for(var c,d=0;(c=this[d])!=null;d++)c.nodeType===1&&(B.cleanData(lA(c,!1)),c.textContent="");return this},clone:function(c,d){return c=c??!1,d=d??c,this.map(function(){return B.clone(this,c,d)})},html:function(c){return fe(this,function(d){var m=this[0]||{},x=0,U=this.length;if(d===void 0&&m.nodeType===1)return m.innerHTML;if(typeof d=="string"&&!Ws.test(d)&&!XA[(Ga.exec(d)||["",""])[1].toLowerCase()]){d=B.htmlPrefilter(d);try{for(;x<U;x++)m=this[x]||{},m.nodeType===1&&(B.cleanData(lA(m,!1)),m.innerHTML=d);m=0}catch{}}m&&this.empty().append(d)},null,c,arguments.length)},replaceWith:function(){var c=[];return Hi(this,arguments,function(d){var m=this.parentNode;B.inArray(this,c)<0&&(B.cleanData(lA(this)),m&&m.replaceChild(d,this))},c)}}),B.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(c,d){B.fn[c]=function(m){for(var x,U=[],Q=B(m),D=Q.length-1,st=0;st<=D;st++)x=st===D?this:this.clone(!0),B(Q[st])[d](x),s.apply(U,x);return this.pushStack(U)}});var ci=new RegExp("^("+rs+")(?!px)[a-z%]+$","i"),Vo=/^--/;function Mi(c){var d=c.ownerDocument.defaultView;return d||(d=e),d.getComputedStyle(c)}function Wo(c,d,m){var x,U,Q={};for(U in d)Q[U]=c.style[U],c.style[U]=d[U];x=m.call(c);for(U in d)c.style[U]=Q[U];return x}function qo(c,d,m){var x,U=Vo.test(d);return m=m||Mi(c),m&&(x=m.getPropertyValue(d)||m[d],U&&x&&(x=x.replace(K,"$1")||void 0),x===""&&!is(c)&&(x=B.style(c,d))),x!==void 0?x+"":x}var Rr=["Webkit","Moz","ms"],zs=_.createElement("div").style;function Gs(c){for(var d=c[0].toUpperCase()+c.slice(1),m=Rr.length;m--;)if(c=Rr[m]+d,c in zs)return c}function os(c){return c in zs?c:Gs(c)||c}var Di,Xs,xr=_.createElement("table");function zo(){if(!(!xr||!xr.style)){var c,d=_.createElement("col"),m=_.createElement("tr"),x=_.createElement("td");if(xr.style.cssText="position:absolute;left:-11111px;border-collapse:separate;border-spacing:0",m.style.cssText="box-sizing:content-box;border:1px solid;height:1px",x.style.cssText="height:9px;width:9px;padding:0",d.span=2,mt.appendChild(xr).appendChild(d).parentNode.appendChild(m).appendChild(x).parentNode.appendChild(x.cloneNode(!0)),xr.offsetWidth===0){mt.removeChild(xr);return}c=e.getComputedStyle(m),Xs=ot||Math.round(parseFloat(e.getComputedStyle(d).width))===18,Di=Math.round(parseFloat(c.height)+parseFloat(c.borderTopWidth)+parseFloat(c.borderBottomWidth))===m.offsetHeight,mt.removeChild(xr),xr=null}}B.extend(p,{reliableTrDimensions:function(){return zo(),Di},reliableColDimensions:function(){return zo(),Xs}});var ui={position:"absolute",visibility:"hidden",display:"block"},Kr={letterSpacing:"0",fontWeight:"400"};function Go(c,d,m){var x=Oi.exec(d);return x?Math.max(0,x[2]-(m||0))+(x[3]||"px"):d}function Ri(c,d,m,x,U,Q){var D=d==="width"?1:0,st=0,J=0,ft=0;if(m===(x?"border":"content"))return 0;for(;D<4;D+=2)m==="margin"&&(ft+=B.css(c,m+qn[D],!0,U)),x?(m==="content"&&(J-=B.css(c,"padding"+qn[D],!0,U)),m!=="margin"&&(J-=B.css(c,"border"+qn[D]+"Width",!0,U))):(J+=B.css(c,"padding"+qn[D],!0,U),m!=="padding"?J+=B.css(c,"border"+qn[D]+"Width",!0,U):st+=B.css(c,"border"+qn[D]+"Width",!0,U));return!x&&Q>=0&&(J+=Math.max(0,Math.ceil(c["offset"+d[0].toUpperCase()+d.slice(1)]-Q-J-st-.5))||0),J+ft}function Xo(c,d,m){var x=Mi(c),U=ot||m,Q=U&&B.css(c,"boxSizing",!1,x)==="border-box",D=Q,st=qo(c,d,x),J="offset"+d[0].toUpperCase()+d.slice(1);if(ci.test(st)){if(!m)return st;st="auto"}return(st==="auto"||ot&&Q||!p.reliableColDimensions()&&G(c,"col")||!p.reliableTrDimensions()&&G(c,"tr"))&&c.getClientRects().length&&(Q=B.css(c,"boxSizing",!1,x)==="border-box",D=J in c,D&&(st=c[J])),st=parseFloat(st)||0,st+Ri(c,d,m||(Q?"border":"content"),D,x,st)+"px"}B.extend({cssHooks:{},style:function(c,d,m,x){if(!(!c||c.nodeType===3||c.nodeType===8||!c.style)){var U,Q,D,st=Ds(d),J=Vo.test(d),ft=c.style;if(J||(d=os(st)),D=B.cssHooks[d]||B.cssHooks[st],m!==void 0){if(Q=typeof m,Q==="string"&&(U=Oi.exec(m))&&U[1]&&(m=za(c,d,U),Q="number"),m==null||m!==m)return;Q==="number"&&(m+=U&&U[3]||(Ms(st)?"px":"")),ot&&m===""&&d.indexOf("background")===0&&(ft[d]="inherit"),(!D||!("set"in D)||(m=D.set(c,m,x))!==void 0)&&(J?ft.setProperty(d,m):ft[d]=m)}else return D&&"get"in D&&(U=D.get(c,!1,x))!==void 0?U:ft[d]}},css:function(c,d,m,x){var U,Q,D,st=Ds(d),J=Vo.test(d);return J||(d=os(st)),D=B.cssHooks[d]||B.cssHooks[st],D&&"get"in D&&(U=D.get(c,!0,m)),U===void 0&&(U=qo(c,d,x)),U==="normal"&&d in Kr&&(U=Kr[d]),m===""||m?(Q=parseFloat(U),m===!0||isFinite(Q)?Q||0:U):U}}),B.each(["height","width"],function(c,d){B.cssHooks[d]={get:function(m,x,U){if(x)return B.css(m,"display")==="none"?Wo(m,ui,function(){return Xo(m,d,U)}):Xo(m,d,U)},set:function(m,x,U){var Q,D=Mi(m),st=U&&B.css(m,"boxSizing",!1,D)==="border-box",J=U?Ri(m,d,U,st,D):0;return J&&(Q=Oi.exec(x))&&(Q[3]||"px")!=="px"&&(m.style[d]=x,x=B.css(m,d)),Go(m,x,J)}}}),B.each({margin:"",padding:"",border:"Width"},function(c,d){B.cssHooks[c+d]={expand:function(m){for(var x=0,U={},Q=typeof m=="string"?m.split(" "):[m];x<4;x++)U[c+qn[x]+d]=Q[x]||Q[x-2]||Q[0];return U}},c!=="margin"&&(B.cssHooks[c+d].set=Go)}),B.fn.extend({css:function(c,d){return fe(this,function(m,x,U){var Q,D,st={},J=0;if(Array.isArray(x)){for(Q=Mi(m),D=x.length;J<D;J++)st[x[J]]=B.css(m,x[J],!1,Q);return st}return U!==void 0?B.style(m,x,U):B.css(m,x)},c,d,arguments.length>1)}});function b(c,d,m,x,U){return new b.prototype.init(c,d,m,x,U)}B.Tween=b,b.prototype={constructor:b,init:function(c,d,m,x,U,Q){this.elem=c,this.prop=m,this.easing=U||B.easing._default,this.options=d,this.start=this.now=this.cur(),this.end=x,this.unit=Q||(Ms(m)?"px":"")},cur:function(){var c=b.propHooks[this.prop];return c&&c.get?c.get(this):b.propHooks._default.get(this)},run:function(c){var d,m=b.propHooks[this.prop];return this.options.duration?this.pos=d=B.easing[this.easing](c,this.options.duration*c,0,1,this.options.duration):this.pos=d=c,this.now=(this.end-this.start)*d+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),m&&m.set?m.set(this):b.propHooks._default.set(this),this}},b.prototype.init.prototype=b.prototype,b.propHooks={_default:{get:function(c){var d;return c.elem.nodeType!==1||c.elem[c.prop]!=null&&c.elem.style[c.prop]==null?c.elem[c.prop]:(d=B.css(c.elem,c.prop,""),!d||d==="auto"?0:d)},set:function(c){B.fx.step[c.prop]?B.fx.step[c.prop](c):c.elem.nodeType===1&&(B.cssHooks[c.prop]||c.elem.style[os(c.prop)]!=null)?B.style(c.elem,c.prop,c.now+c.unit):c.elem[c.prop]=c.now}}},B.easing={linear:function(c){return c},swing:function(c){return .5-Math.cos(c*Math.PI)/2},_default:"swing"},B.fx=b.prototype.init,B.fx.step={};var L,Y,lt=/^(?:toggle|show|hide)$/,Bt=/queueHooks$/;function Dt(){Y&&(_.hidden===!1&&e.requestAnimationFrame?e.requestAnimationFrame(Dt):e.setTimeout(Dt,13),B.fx.tick())}function qt(){return e.setTimeout(function(){L=void 0}),L=Date.now()}function pe(c,d){var m,x=0,U={height:c};for(d=d?1:0;x<4;x+=2-d)m=qn[x],U["margin"+m]=U["padding"+m]=c;return d&&(U.opacity=U.width=c),U}function be(c,d,m){for(var x,U=(De.tweeners[d]||[]).concat(De.tweeners["*"]),Q=0,D=U.length;Q<D;Q++)if(x=U[Q].call(m,d,c))return x}function Ne(c,d,m){var x,U,Q,D,st,J,ft,vt,kt="width"in d||"height"in d,wt=this,Qt={},ne=c.style,Ue=c.nodeType&&Sn(c),Ae=Ie.get(c,"fxshow");m.queue||(D=B._queueHooks(c,"fx"),D.unqueued==null&&(D.unqueued=0,st=D.empty.fire,D.empty.fire=function(){D.unqueued||st()}),D.unqueued++,wt.always(function(){wt.always(function(){D.unqueued--,B.queue(c,"fx").length||D.empty.fire()})}));for(x in d)if(U=d[x],lt.test(U)){if(delete d[x],Q=Q||U==="toggle",U===(Ue?"hide":"show"))if(U==="show"&&Ae&&Ae[x]!==void 0)Ue=!0;else continue;Qt[x]=Ae&&Ae[x]||B.style(c,x)}if(J=!B.isEmptyObject(d),!(!J&&B.isEmptyObject(Qt))){kt&&c.nodeType===1&&(m.overflow=[ne.overflow,ne.overflowX,ne.overflowY],ft=Ae&&Ae.display,ft==null&&(ft=Ie.get(c,"display")),vt=B.css(c,"display"),vt==="none"&&(ft?vt=ft:(cr([c],!0),ft=c.style.display||ft,vt=B.css(c,"display"),cr([c]))),(vt==="inline"||vt==="inline-block"&&ft!=null)&&B.css(c,"float")==="none"&&(J||(wt.done(function(){ne.display=ft}),ft==null&&(vt=ne.display,ft=vt==="none"?"":vt)),ne.display="inline-block")),m.overflow&&(ne.overflow="hidden",wt.always(function(){ne.overflow=m.overflow[0],ne.overflowX=m.overflow[1],ne.overflowY=m.overflow[2]})),J=!1;for(x in Qt)J||(Ae?"hidden"in Ae&&(Ue=Ae.hidden):Ae=Ie.set(c,"fxshow",{display:ft}),Q&&(Ae.hidden=!Ue),Ue&&cr([c],!0),wt.done(function(){Ue||cr([c]),Ie.remove(c,"fxshow");for(x in Qt)B.style(c,x,Qt[x])})),J=be(Ue?Ae[x]:0,x,wt),x in Ae||(Ae[x]=J.start,Ue&&(J.end=J.start,J.start=0))}}function Ke(c,d){var m,x,U,Q,D;for(m in c)if(x=Ds(m),U=d[x],Q=c[m],Array.isArray(Q)&&(U=Q[1],Q=c[m]=Q[0]),m!==x&&(c[x]=Q,delete c[m]),D=B.cssHooks[x],D&&"expand"in D){Q=D.expand(Q),delete c[x];for(m in Q)m in c||(c[m]=Q[m],d[m]=U)}else d[x]=U}function De(c,d,m){var x,U,Q=0,D=De.prefilters.length,st=B.Deferred().always(function(){delete J.elem}),J=function(){if(U)return!1;for(var kt=L||qt(),wt=Math.max(0,ft.startTime+ft.duration-kt),Qt=1-(wt/ft.duration||0),ne=0,Ue=ft.tweens.length;ne<Ue;ne++)ft.tweens[ne].run(Qt);return st.notifyWith(c,[ft,Qt,wt]),Qt<1&&Ue?wt:(Ue||st.notifyWith(c,[ft,1,0]),st.resolveWith(c,[ft]),!1)},ft=st.promise({elem:c,props:B.extend({},d),opts:B.extend(!0,{specialEasing:{},easing:B.easing._default},m),originalProperties:d,originalOptions:m,startTime:L||qt(),duration:m.duration,tweens:[],createTween:function(kt,wt){var Qt=B.Tween(c,ft.opts,kt,wt,ft.opts.specialEasing[kt]||ft.opts.easing);return ft.tweens.push(Qt),Qt},stop:function(kt){var wt=0,Qt=kt?ft.tweens.length:0;if(U)return this;for(U=!0;wt<Qt;wt++)ft.tweens[wt].run(1);return kt?(st.notifyWith(c,[ft,1,0]),st.resolveWith(c,[ft,kt])):st.rejectWith(c,[ft,kt]),this}}),vt=ft.props;for(Ke(vt,ft.opts.specialEasing);Q<D;Q++)if(x=De.prefilters[Q].call(ft,c,vt,ft.opts),x)return typeof x.stop=="function"&&(B._queueHooks(ft.elem,ft.opts.queue).stop=x.stop.bind(x)),x;return B.map(vt,be,ft),typeof ft.opts.start=="function"&&ft.opts.start.call(c,ft),ft.progress(ft.opts.progress).done(ft.opts.done,ft.opts.complete).fail(ft.opts.fail).always(ft.opts.always),B.fx.timer(B.extend(J,{elem:c,anim:ft,queue:ft.opts.queue})),ft}B.Animation=B.extend(De,{tweeners:{"*":[function(c,d){var m=this.createTween(c,d);return za(m.elem,c,Oi.exec(d),m),m}]},tweener:function(c,d){typeof c=="function"?(d=c,c=["*"]):c=c.match(q);for(var m,x=0,U=c.length;x<U;x++)m=c[x],De.tweeners[m]=De.tweeners[m]||[],De.tweeners[m].unshift(d)},prefilters:[Ne],prefilter:function(c,d){d?De.prefilters.unshift(c):De.prefilters.push(c)}}),B.speed=function(c,d,m){var x=c&&typeof c=="object"?B.extend({},c):{complete:m||d||typeof c=="function"&&c,duration:c,easing:m&&d||d&&typeof d!="function"&&d};return B.fx.off?x.duration=0:typeof x.duration!="number"&&(x.duration in B.fx.speeds?x.duration=B.fx.speeds[x.duration]:x.duration=B.fx.speeds._default),(x.queue==null||x.queue===!0)&&(x.queue="fx"),x.old=x.complete,x.complete=function(){typeof x.old=="function"&&x.old.call(this),x.queue&&B.dequeue(this,x.queue)},x},B.fn.extend({fadeTo:function(c,d,m,x){return this.filter(Sn).css("opacity",0).show().end().animate({opacity:d},c,m,x)},animate:function(c,d,m,x){var U=B.isEmptyObject(c),Q=B.speed(d,m,x),D=function(){var st=De(this,B.extend({},c),Q);(U||Ie.get(this,"finish"))&&st.stop(!0)};return D.finish=D,U||Q.queue===!1?this.each(D):this.queue(Q.queue,D)},stop:function(c,d,m){var x=function(U){var Q=U.stop;delete U.stop,Q(m)};return typeof c!="string"&&(m=d,d=c,c=void 0),d&&this.queue(c||"fx",[]),this.each(function(){var U=!0,Q=c!=null&&c+"queueHooks",D=B.timers,st=Ie.get(this);if(Q)st[Q]&&st[Q].stop&&x(st[Q]);else for(Q in st)st[Q]&&st[Q].stop&&Bt.test(Q)&&x(st[Q]);for(Q=D.length;Q--;)D[Q].elem===this&&(c==null||D[Q].queue===c)&&(D[Q].anim.stop(m),U=!1,D.splice(Q,1));(U||!m)&&B.dequeue(this,c)})},finish:function(c){return c!==!1&&(c=c||"fx"),this.each(function(){var d,m=Ie.get(this),x=m[c+"queue"],U=m[c+"queueHooks"],Q=B.timers,D=x?x.length:0;for(m.finish=!0,B.queue(this,c,[]),U&&U.stop&&U.stop.call(this,!0),d=Q.length;d--;)Q[d].elem===this&&Q[d].queue===c&&(Q[d].anim.stop(!0),Q.splice(d,1));for(d=0;d<D;d++)x[d]&&x[d].finish&&x[d].finish.call(this);delete m.finish})}}),B.each(["toggle","show","hide"],function(c,d){var m=B.fn[d];B.fn[d]=function(x,U,Q){return x==null||typeof x=="boolean"?m.apply(this,arguments):this.animate(pe(d,!0),x,U,Q)}}),B.each({slideDown:pe("show"),slideUp:pe("hide"),slideToggle:pe("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(c,d){B.fn[c]=function(m,x,U){return this.animate(d,m,x,U)}}),B.timers=[],B.fx.tick=function(){var c,d=0,m=B.timers;for(L=Date.now();d<m.length;d++)c=m[d],!c()&&m[d]===c&&m.splice(d--,1);m.length||B.fx.stop(),L=void 0},B.fx.timer=function(c){B.timers.push(c),B.fx.start()},B.fx.start=function(){Y||(Y=!0,Dt())},B.fx.stop=function(){Y=null},B.fx.speeds={slow:600,fast:200,_default:400},B.fn.delay=function(c,d){return c=B.fx&&B.fx.speeds[c]||c,d=d||"fx",this.queue(d,function(m,x){var U=e.setTimeout(m,c);x.stop=function(){e.clearTimeout(U)}})};var Cn=/^(?:input|select|textarea|button)$/i,Dn=/^(?:a|area)$/i;B.fn.extend({prop:function(c,d){return fe(this,B.prop,c,d,arguments.length>1)},removeProp:function(c){return this.each(function(){delete this[B.propFix[c]||c]})}}),B.extend({prop:function(c,d,m){var x,U,Q=c.nodeType;if(!(Q===3||Q===8||Q===2))return(Q!==1||!B.isXMLDoc(c))&&(d=B.propFix[d]||d,U=B.propHooks[d]),m!==void 0?U&&"set"in U&&(x=U.set(c,m,d))!==void 0?x:c[d]=m:U&&"get"in U&&(x=U.get(c,d))!==null?x:c[d]},propHooks:{tabIndex:{get:function(c){var d=c.getAttribute("tabindex");return d?parseInt(d,10):Cn.test(c.nodeName)||Dn.test(c.nodeName)&&c.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),ot&&(B.propHooks.selected={get:function(c){var d=c.parentNode;return d&&d.parentNode&&d.parentNode.selectedIndex,null},set:function(c){var d=c.parentNode;d&&(d.selectedIndex,d.parentNode&&d.parentNode.selectedIndex)}}),B.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){B.propFix[this.toLowerCase()]=this});function en(c){var d=c.match(q)||[];return d.join(" ")}function Bn(c){return c.getAttribute&&c.getAttribute("class")||""}function Ln(c){return Array.isArray(c)?c:typeof c=="string"?c.match(q)||[]:[]}B.fn.extend({addClass:function(c){var d,m,x,U,Q,D;return typeof c=="function"?this.each(function(st){B(this).addClass(c.call(this,st,Bn(this)))}):(d=Ln(c),d.length?this.each(function(){if(x=Bn(this),m=this.nodeType===1&&" "+en(x)+" ",m){for(Q=0;Q<d.length;Q++)U=d[Q],m.indexOf(" "+U+" ")<0&&(m+=U+" ");D=en(m),x!==D&&this.setAttribute("class",D)}}):this)},removeClass:function(c){var d,m,x,U,Q,D;return typeof c=="function"?this.each(function(st){B(this).removeClass(c.call(this,st,Bn(this)))}):arguments.length?(d=Ln(c),d.length?this.each(function(){if(x=Bn(this),m=this.nodeType===1&&" "+en(x)+" ",m){for(Q=0;Q<d.length;Q++)for(U=d[Q];m.indexOf(" "+U+" ")>-1;)m=m.replace(" "+U+" "," ");D=en(m),x!==D&&this.setAttribute("class",D)}}):this):this.attr("class","")},toggleClass:function(c,d){var m,x,U,Q;return typeof c=="function"?this.each(function(D){B(this).toggleClass(c.call(this,D,Bn(this),d),d)}):typeof d=="boolean"?d?this.addClass(c):this.removeClass(c):(m=Ln(c),m.length?this.each(function(){for(Q=B(this),U=0;U<m.length;U++)x=m[U],Q.hasClass(x)?Q.removeClass(x):Q.addClass(x)}):this)},hasClass:function(c){var d,m,x=0;for(d=" "+c+" ";m=this[x++];)if(m.nodeType===1&&(" "+en(Bn(m))+" ").indexOf(d)>-1)return!0;return!1}}),B.fn.extend({val:function(c){var d,m,x,U=this[0];return arguments.length?(x=typeof c=="function",this.each(function(Q){var D;this.nodeType===1&&(x?D=c.call(this,Q,B(this).val()):D=c,D==null?D="":typeof D=="number"?D+="":Array.isArray(D)&&(D=B.map(D,function(st){return st==null?"":st+""})),d=B.valHooks[this.type]||B.valHooks[this.nodeName.toLowerCase()],(!d||!("set"in d)||d.set(this,D,"value")===void 0)&&(this.value=D))})):U?(d=B.valHooks[U.type]||B.valHooks[U.nodeName.toLowerCase()],d&&"get"in d&&(m=d.get(U,"value"))!==void 0?m:(m=U.value,m??"")):void 0}}),B.extend({valHooks:{select:{get:function(c){var d,m,x,U=c.options,Q=c.selectedIndex,D=c.type==="select-one",st=D?null:[],J=D?Q+1:U.length;for(Q<0?x=J:x=D?Q:0;x<J;x++)if(m=U[x],m.selected&&!m.disabled&&(!m.parentNode.disabled||!G(m.parentNode,"optgroup"))){if(d=B(m).val(),D)return d;st.push(d)}return st},set:function(c,d){for(var m,x,U=c.options,Q=B.makeArray(d),D=U.length;D--;)x=U[D],(x.selected=B.inArray(B(x).val(),Q)>-1)&&(m=!0);return m||(c.selectedIndex=-1),Q}}}}),ot&&(B.valHooks.option={get:function(c){var d=c.getAttribute("value");return d??en(B.text(c))}}),B.each(["radio","checkbox"],function(){B.valHooks[this]={set:function(c,d){if(Array.isArray(d))return c.checked=B.inArray(B(c).val(),d)>-1}}});var sA=/^(?:focusinfocus|focusoutblur)$/,jr=function(c){c.stopPropagation()};B.extend(B.event,{trigger:function(c,d,m,x){var U,Q,D,st,J,ft,vt,kt,wt=[m||_],Qt=u.call(c,"type")?c.type:c,ne=u.call(c,"namespace")?c.namespace.split("."):[];if(Q=kt=D=m=m||_,!(m.nodeType===3||m.nodeType===8)&&!sA.test(Qt+B.event.triggered)&&(Qt.indexOf(".")>-1&&(ne=Qt.split("."),Qt=ne.shift(),ne.sort()),J=Qt.indexOf(":")<0&&"on"+Qt,c=c[B.expando]?c:new B.Event(Qt,typeof c=="object"&&c),c.isTrigger=x?2:3,c.namespace=ne.join("."),c.rnamespace=c.namespace?new RegExp("(^|\\.)"+ne.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,c.result=void 0,c.target||(c.target=m),d=d==null?[c]:B.makeArray(d,[c]),vt=B.event.special[Qt]||{},!(!x&&vt.trigger&&vt.trigger.apply(m,d)===!1))){if(!x&&!vt.noBubble&&!v(m)){for(st=vt.delegateType||Qt,sA.test(st+Qt)||(Q=Q.parentNode);Q;Q=Q.parentNode)wt.push(Q),D=Q;D===(m.ownerDocument||_)&&wt.push(D.defaultView||D.parentWindow||e)}for(U=0;(Q=wt[U++])&&!c.isPropagationStopped();)kt=Q,c.type=U>1?st:vt.bindType||Qt,ft=(Ie.get(Q,"events")||Object.create(null))[c.type]&&Ie.get(Q,"handle"),ft&&ft.apply(Q,d),ft=J&&Q[J],ft&&ft.apply&&Ti(Q)&&(c.result=ft.apply(Q,d),c.result===!1&&c.preventDefault());return c.type=Qt,!x&&!c.isDefaultPrevented()&&(!vt._default||vt._default.apply(wt.pop(),d)===!1)&&Ti(m)&&J&&typeof m[Qt]=="function"&&!v(m)&&(D=m[J],D&&(m[J]=null),B.event.triggered=Qt,c.isPropagationStopped()&&kt.addEventListener(Qt,jr),m[Qt](),c.isPropagationStopped()&&kt.removeEventListener(Qt,jr),B.event.triggered=void 0,D&&(m[J]=D)),c.result}},simulate:function(c,d,m){var x=B.extend(new B.Event,m,{type:c,isSimulated:!0});B.event.trigger(x,null,d)}}),B.fn.extend({trigger:function(c,d){return this.each(function(){B.event.trigger(c,d,this)})},triggerHandler:function(c,d){var m=this[0];if(m)return B.event.trigger(c,d,m,!0)}});var xA=e.location,Vr={guid:Date.now()},as=/\?/;B.parseXML=function(c){var d,m;if(!c||typeof c!="string")return null;try{d=new e.DOMParser().parseFromString(c,"text/xml")}catch{}return m=d&&d.getElementsByTagName("parsererror")[0],(!d||m)&&B.error("Invalid XML: "+(m?B.map(m.childNodes,function(x){return x.textContent}).join(` `):c)),d};var $s=/\[\]$/,fi=/\r?\n/g,ls=/^(?:submit|button|image|reset|file)$/i,cs=/^(?:input|select|textarea|keygen)/i;function Wr(c,d,m,x){var U;if(Array.isArray(d))B.each(d,function(Q,D){m||$s.test(c)?x(c,D):Wr(c+"["+(typeof D=="object"&&D!=null?Q:"")+"]",D,m,x)});else if(!m&&y(d)==="object")for(U in d)Wr(c+"["+U+"]",d[U],m,x);else x(c,d)}B.param=function(c,d){var m,x=[],U=function(Q,D){var st=typeof D=="function"?D():D;x[x.length]=encodeURIComponent(Q)+"="+encodeURIComponent(st??"")};if(c==null)return"";if(Array.isArray(c)||c.jquery&&!B.isPlainObject(c))B.each(c,function(){U(this.name,this.value)});else for(m in c)Wr(m,c[m],d,U);return x.join("&")},B.fn.extend({serialize:function(){return B.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var c=B.prop(this,"elements");return c?B.makeArray(c):this}).filter(function(){var c=this.type;return this.name&&!B(this).is(":disabled")&&cs.test(this.nodeName)&&!ls.test(c)&&(this.checked||!js.test(c))}).map(function(c,d){var m=B(this).val();return m==null?null:Array.isArray(m)?B.map(m,function(x){return{name:d.name,value:x.replace(fi,`\r `)}}):{name:d.name,value:m.replace(fi,`\r `)}}).get()}});var cA=/%20/g,us=/#.*$/,fs=/([?&])_=[^&]*/,$o=/^(.*?):[ \t]*([^\r\n]*)$/mg,Yo=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,CA=/^(?:GET|HEAD)$/,hi=/^\/\//,hs={},Ys={},$A="*/".concat("*"),di=_.createElement("a");di.href=xA.href;function Js(c){return function(d,m){typeof d!="string"&&(m=d,d="*");var x,U=0,Q=d.toLowerCase().match(q)||[];if(typeof m=="function")for(;x=Q[U++];)x[0]==="+"?(x=x.slice(1)||"*",(c[x]=c[x]||[]).unshift(m)):(c[x]=c[x]||[]).push(m)}}function Zs(c,d,m,x){var U={},Q=c===Ys;function D(st){var J;return U[st]=!0,B.each(c[st]||[],function(ft,vt){var kt=vt(d,m,x);if(typeof kt=="string"&&!Q&&!U[kt])return d.dataTypes.unshift(kt),D(kt),!1;if(Q)return!(J=kt)}),J}return D(d.dataTypes[0])||!U["*"]&&D("*")}function qr(c,d){var m,x,U=B.ajaxSettings.flatOptions||{};for(m in d)d[m]!==void 0&&((U[m]?c:x||(x={}))[m]=d[m]);return x&&B.extend(!0,c,x),c}function ds(c,d,m){for(var x,U,Q,D,st=c.contents,J=c.dataTypes;J[0]==="*";)J.shift(),x===void 0&&(x=c.mimeType||d.getResponseHeader("Content-Type"));if(x){for(U in st)if(st[U]&&st[U].test(x)){J.unshift(U);break}}if(J[0]in m)Q=J[0];else{for(U in m){if(!J[0]||c.converters[U+" "+J[0]]){Q=U;break}D||(D=U)}Q=Q||D}if(Q)return Q!==J[0]&&J.unshift(Q),m[Q]}function YA(c,d,m,x){var U,Q,D,st,J,ft={},vt=c.dataTypes.slice();if(vt[1])for(D in c.converters)ft[D.toLowerCase()]=c.converters[D];for(Q=vt.shift();Q;)if(c.responseFields[Q]&&(m[c.responseFields[Q]]=d),!J&&x&&c.dataFilter&&(d=c.dataFilter(d,c.dataType)),J=Q,Q=vt.shift(),Q){if(Q==="*")Q=J;else if(J!=="*"&&J!==Q){if(D=ft[J+" "+Q]||ft["* "+Q],!D){for(U in ft)if(st=U.split(" "),st[1]===Q&&(D=ft[J+" "+st[0]]||ft["* "+st[0]],D)){D===!0?D=ft[U]:ft[U]!==!0&&(Q=st[0],vt.unshift(st[1]));break}}if(D!==!0)if(D&&c.throws)d=D(d);else try{d=D(d)}catch(kt){return{state:"parsererror",error:D?kt:"No conversion from "+J+" to "+Q}}}}return{state:"success",data:d}}B.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:xA.href,type:"GET",isLocal:Yo.test(xA.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$A,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":B.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(c,d){return d?qr(qr(c,B.ajaxSettings),d):qr(B.ajaxSettings,c)},ajaxPrefilter:Js(hs),ajaxTransport:Js(Ys),ajax:function(c,d){typeof c=="object"&&(d=c,c=void 0),d=d||{};var m,x,U,Q,D,st,J,ft,vt,kt,wt=B.ajaxSetup({},d),Qt=wt.context||wt,ne=wt.context&&(Qt.nodeType||Qt.jquery)?B(Qt):B.event,Ue=B.Deferred(),Ae=B.Callbacks("once memory"),Te=wt.statusCode||{},Pe={},nn={},bn="canceled",Xe={readyState:0,getResponseHeader:function(Ye){var On;if(J){if(!Q)for(Q={};On=$o.exec(U);)Q[On[1].toLowerCase()+" "]=(Q[On[1].toLowerCase()+" "]||[]).concat(On[2]);On=Q[Ye.toLowerCase()+" "]}return On==null?null:On.join(", ")},getAllResponseHeaders:function(){return J?U:null},setRequestHeader:function(Ye,On){return J==null&&(Ye=nn[Ye.toLowerCase()]=nn[Ye.toLowerCase()]||Ye,Pe[Ye]=On),this},overrideMimeType:function(Ye){return J==null&&(wt.mimeType=Ye),this},statusCode:function(Ye){var On;if(Ye)if(J)Xe.always(Ye[Xe.status]);else for(On in Ye)Te[On]=[Te[On],Ye[On]];return this},abort:function(Ye){var On=Ye||bn;return m&&m.abort(On),gi(0,On),this}};if(Ue.promise(Xe),wt.url=((c||wt.url||xA.href)+"").replace(hi,xA.protocol+"//"),wt.type=d.method||d.type||wt.method||wt.type,wt.dataTypes=(wt.dataType||"*").toLowerCase().match(q)||[""],wt.crossDomain==null){st=_.createElement("a");try{st.href=wt.url,st.href=st.href,wt.crossDomain=di.protocol+"//"+di.host!=st.protocol+"//"+st.host}catch{wt.crossDomain=!0}}if(Zs(hs,wt,d,Xe),wt.data&&wt.processData&&typeof wt.data!="string"&&(wt.data=B.param(wt.data,wt.traditional)),J)return Xe;ft=B.event&&wt.global,ft&&B.active++===0&&B.event.trigger("ajaxStart"),wt.type=wt.type.toUpperCase(),wt.hasContent=!CA.test(wt.type),x=wt.url.replace(us,""),wt.hasContent?wt.data&&wt.processData&&(wt.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(wt.data=wt.data.replace(cA,"+")):(kt=wt.url.slice(x.length),wt.data&&(wt.processData||typeof wt.data=="string")&&(x+=(as.test(x)?"&":"?")+wt.data,delete wt.data),wt.cache===!1&&(x=x.replace(fs,"$1"),kt=(as.test(x)?"&":"?")+"_="+Vr.guid+++kt),wt.url=x+kt),wt.ifModified&&(B.lastModified[x]&&Xe.setRequestHeader("If-Modified-Since",B.lastModified[x]),B.etag[x]&&Xe.setRequestHeader("If-None-Match",B.etag[x])),(wt.data&&wt.hasContent&&wt.contentType!==!1||d.contentType)&&Xe.setRequestHeader("Content-Type",wt.contentType),Xe.setRequestHeader("Accept",wt.dataTypes[0]&&wt.accepts[wt.dataTypes[0]]?wt.accepts[wt.dataTypes[0]]+(wt.dataTypes[0]!=="*"?", "+$A+"; q=0.01":""):wt.accepts["*"]);for(vt in wt.headers)Xe.setRequestHeader(vt,wt.headers[vt]);if(wt.beforeSend&&(wt.beforeSend.call(Qt,Xe,wt)===!1||J))return Xe.abort();if(bn="abort",Ae.add(wt.complete),Xe.done(wt.success),Xe.fail(wt.error),m=Zs(Ys,wt,d,Xe),!m)gi(-1,"No Transport");else{if(Xe.readyState=1,ft&&ne.trigger("ajaxSend",[Xe,wt]),J)return Xe;wt.async&&wt.timeout>0&&(D=e.setTimeout(function(){Xe.abort("timeout")},wt.timeout));try{J=!1,m.send(Pe,gi)}catch(Ye){if(J)throw Ye;gi(-1,Ye)}}function gi(Ye,On,Gl,mu){var wi,Ya,eo,Xr,ps,Cr=On;J||(J=!0,D&&e.clearTimeout(D),m=void 0,U=mu||"",Xe.readyState=Ye>0?4:0,wi=Ye>=200&&Ye<300||Ye===304,Gl&&(Xr=ds(wt,Xe,Gl)),!wi&&B.inArray("script",wt.dataTypes)>-1&&B.inArray("json",wt.dataTypes)<0&&(wt.converters["text script"]=function(){}),Xr=YA(wt,Xr,Xe,wi),wi?(wt.ifModified&&(ps=Xe.getResponseHeader("Last-Modified"),ps&&(B.lastModified[x]=ps),ps=Xe.getResponseHeader("etag"),ps&&(B.etag[x]=ps)),Ye===204||wt.type==="HEAD"?Cr="nocontent":Ye===304?Cr="notmodified":(Cr=Xr.state,Ya=Xr.data,eo=Xr.error,wi=!eo)):(eo=Cr,(Ye||!Cr)&&(Cr="error",Ye<0&&(Ye=0))),Xe.status=Ye,Xe.statusText=(On||Cr)+"",wi?Ue.resolveWith(Qt,[Ya,Cr,Xe]):Ue.rejectWith(Qt,[Xe,Cr,eo]),Xe.statusCode(Te),Te=void 0,ft&&ne.trigger(wi?"ajaxSuccess":"ajaxError",[Xe,wt,wi?Ya:eo]),Ae.fireWith(Qt,[Xe,Cr]),ft&&(ne.trigger("ajaxComplete",[Xe,wt]),--B.active||B.event.trigger("ajaxStop")))}return Xe},getJSON:function(c,d,m){return B.get(c,d,m,"json")},getScript:function(c,d){return B.get(c,void 0,d,"script")}}),B.each(["get","post"],function(c,d){B[d]=function(m,x,U,Q){return(typeof x=="function"||x===null)&&(Q=Q||U,U=x,x=void 0),B.ajax(B.extend({url:m,type:d,dataType:Q,data:x,success:U},B.isPlainObject(m)&&m))}}),B.ajaxPrefilter(function(c){var d;for(d in c.headers)d.toLowerCase()==="content-type"&&(c.contentType=c.headers[d]||"")}),B._evalUrl=function(c,d,m){return B.ajax({url:c,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,scriptAttrs:d.crossOrigin?{crossOrigin:d.crossOrigin}:void 0,converters:{"text script":function(){}},dataFilter:function(x){B.globalEval(x,d,m)}})},B.fn.extend({wrapAll:function(c){var d;return this[0]&&(typeof c=="function"&&(c=c.call(this[0])),d=B(c,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&d.insertBefore(this[0]),d.map(function(){for(var m=this;m.firstElementChild;)m=m.firstElementChild;return m}).append(this)),this},wrapInner:function(c){return typeof c=="function"?this.each(function(d){B(this).wrapInner(c.call(this,d))}):this.each(function(){var d=B(this),m=d.contents();m.length?m.wrapAll(c):d.append(c)})},wrap:function(c){var d=typeof c=="function";return this.each(function(m){B(this).wrapAll(d?c.call(this,m):c)})},unwrap:function(c){return this.parent(c).not("body").each(function(){B(this).replaceWith(this.childNodes)}),this}}),B.expr.pseudos.hidden=function(c){return!B.expr.pseudos.visible(c)},B.expr.pseudos.visible=function(c){return!!(c.offsetWidth||c.offsetHeight||c.getClientRects().length)},B.ajaxSettings.xhr=function(){return new e.XMLHttpRequest};var JA={0:200};B.ajaxTransport(function(c){var d;return{send:function(m,x){var U,Q=c.xhr();if(Q.open(c.type,c.url,c.async,c.username,c.password),c.xhrFields)for(U in c.xhrFields)Q[U]=c.xhrFields[U];c.mimeType&&Q.overrideMimeType&&Q.overrideMimeType(c.mimeType),!c.crossDomain&&!m["X-Requested-With"]&&(m["X-Requested-With"]="XMLHttpRequest");for(U in m)Q.setRequestHeader(U,m[U]);d=function(D){return function(){d&&(d=Q.onload=Q.onerror=Q.onabort=Q.ontimeout=null,D==="abort"?Q.abort():D==="error"?x(Q.status,Q.statusText):x(JA[Q.status]||Q.status,Q.statusText,(Q.responseType||"text")==="text"?{text:Q.responseText}:{binary:Q.response},Q.getAllResponseHeaders()))}},Q.onload=d(),Q.onabort=Q.onerror=Q.ontimeout=d("error"),d=d("abort");try{Q.send(c.hasContent&&c.data||null)}catch(D){if(d)throw D}},abort:function(){d&&d()}}});function pi(c){return c.scriptAttrs||!c.headers&&(c.crossDomain||c.async&&B.inArray("json",c.dataTypes)<0)}B.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},converters:{"text script":function(c){return B.globalEval(c),c}}}),B.ajaxPrefilter("script",function(c){c.cache===void 0&&(c.cache=!1),pi(c)&&(c.type="GET")}),B.ajaxTransport("script",function(c){if(pi(c)){var d,m;return{send:function(x,U){d=B("<script>").attr(c.scriptAttrs||{}).prop({charset:c.scriptCharset,src:c.url}).on("load error",m=function(Q){d.remove(),m=null,Q&&U(Q.type==="error"?404:200,Q.type)}),_.head.appendChild(d[0])},abort:function(){m&&m()}}}});var zr=[],Gr=/(=)\?(?=&|$)|\?\?/;B.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var c=zr.pop()||B.expando+"_"+Vr.guid++;return this[c]=!0,c}}),B.ajaxPrefilter("jsonp",function(c,d,m){var x,U,Q,D=c.jsonp!==!1&&(Gr.test(c.url)?"url":typeof c.data=="string"&&(c.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&Gr.test(c.data)&&"data");return x=c.jsonpCallback=typeof c.jsonpCallback=="function"?c.jsonpCallback():c.jsonpCallback,D?c[D]=c[D].replace(Gr,"$1"+x):c.jsonp!==!1&&(c.url+=(as.test(c.url)?"&":"?")+c.jsonp+"="+x),c.converters["script json"]=function(){return Q||B.error(x+" was not called"),Q[0]},c.dataTypes[0]="json",U=e[x],e[x]=function(){Q=arguments},m.always(function(){U===void 0?B(e).removeProp(x):e[x]=U,c[x]&&(c.jsonpCallback=d.jsonpCallback,zr.push(x)),Q&&typeof U=="function"&&U(Q[0]),Q=U=void 0}),"script"}),B.ajaxPrefilter(function(c,d){typeof c.data!="string"&&!B.isPlainObject(c.data)&&!Array.isArray(c.data)&&!("processData"in d)&&(c.processData=!1),c.data instanceof e.FormData&&(c.contentType=!1)}),B.parseHTML=function(c,d,m){if(typeof c!="string"&&!lr(c+""))return[];typeof d=="boolean"&&(m=d,d=!1);var x,U;return d||(d=new e.DOMParser().parseFromString("","text/html")),x=vr.exec(c),U=!m&&[],x?[d.createElement(x[1])]:(x=Ks([c],d,U),U&&U.length&&B(U).remove(),B.merge([],x.childNodes))},B.fn.load=function(c,d,m){var x,U,Q,D=this,st=c.indexOf(" ");return st>-1&&(x=en(c.slice(st)),c=c.slice(0,st)),typeof d=="function"?(m=d,d=void 0):d&&typeof d=="object"&&(U="POST"),D.length>0&&B.ajax({url:c,type:U||"GET",dataType:"html",data:d}).done(function(J){Q=arguments,D.html(x?B("<div>").append(B.parseHTML(J)).find(x):J)}).always(m&&function(J,ft){D.each(function(){m.apply(this,Q||[J.responseText,ft,J])})}),this},B.expr.pseudos.animated=function(c){return B.grep(B.timers,function(d){return c===d.elem}).length},B.offset={setOffset:function(c,d,m){var x,U,Q,D,st,J,ft,vt=B.css(c,"position"),kt=B(c),wt={};vt==="static"&&(c.style.position="relative"),st=kt.offset(),Q=B.css(c,"top"),J=B.css(c,"left"),ft=(vt==="absolute"||vt==="fixed")&&(Q+J).indexOf("auto")>-1,ft?(x=kt.position(),D=x.top,U=x.left):(D=parseFloat(Q)||0,U=parseFloat(J)||0),typeof d=="function"&&(d=d.call(c,m,B.extend({},st))),d.top!=null&&(wt.top=d.top-st.top+D),d.left!=null&&(wt.left=d.left-st.left+U),"using"in d?d.using.call(c,wt):kt.css(wt)}},B.fn.extend({offset:function(c){if(arguments.length)return c===void 0?this:this.each(function(U){B.offset.setOffset(this,c,U)});var d,m,x=this[0];if(x)return x.getClientRects().length?(d=x.getBoundingClientRect(),m=x.ownerDocument.defaultView,{top:d.top+m.pageYOffset,left:d.left+m.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var c,d,m,x=this[0],U={top:0,left:0};if(B.css(x,"position")==="fixed")d=x.getBoundingClientRect();else{for(d=this.offset(),m=x.ownerDocument,c=x.offsetParent||m.documentElement;c&&c!==m.documentElement&&B.css(c,"position")==="static";)c=c.offsetParent||m.documentElement;c&&c!==x&&c.nodeType===1&&B.css(c,"position")!=="static"&&(U=B(c).offset(),U.top+=B.css(c,"borderTopWidth",!0),U.left+=B.css(c,"borderLeftWidth",!0))}return{top:d.top-U.top-B.css(x,"marginTop",!0),left:d.left-U.left-B.css(x,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var c=this.offsetParent;c&&B.css(c,"position")==="static";)c=c.offsetParent;return c||mt})}}),B.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(c,d){var m=d==="pageYOffset";B.fn[c]=function(x){return fe(this,function(U,Q,D){var st;if(v(U)?st=U:U.nodeType===9&&(st=U.defaultView),D===void 0)return st?st[d]:U[Q];st?st.scrollTo(m?st.pageXOffset:D,m?D:st.pageYOffset):U[Q]=D},c,x,arguments.length)}}),B.each({Height:"height",Width:"width"},function(c,d){B.each({padding:"inner"+c,content:d,"":"outer"+c},function(m,x){B.fn[x]=function(U,Q){var D=arguments.length&&(m||typeof U!="boolean"),st=m||(U===!0||Q===!0?"margin":"border");return fe(this,function(J,ft,vt){var kt;return v(J)?x.indexOf("outer")===0?J["inner"+c]:J.document.documentElement["client"+c]:J.nodeType===9?(kt=J.documentElement,Math.max(J.body["scroll"+c],kt["scroll"+c],J.body["offset"+c],kt["offset"+c],kt["client"+c])):vt===void 0?B.css(J,ft,st):B.style(J,ft,vt,st)},d,D?U:void 0,D)}})}),B.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(c,d){B.fn[d]=function(m){return this.on(d,m)}}),B.fn.extend({bind:function(c,d,m){return this.on(c,null,d,m)},unbind:function(c,d){return this.off(c,null,d)},delegate:function(c,d,m,x){return this.on(d,c,m,x)},undelegate:function(c,d,m){return arguments.length===1?this.off(c,"**"):this.off(d,c||"**",m)},hover:function(c,d){return this.on("mouseenter",c).on("mouseleave",d||c)}}),B.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(c,d){B.fn[d]=function(m,x){return arguments.length>0?this.on(d,null,m,x):this.trigger(d)}}),B.proxy=function(c,d){var m,x,U;if(typeof d=="string"&&(m=c[d],d=c,c=m),typeof c=="function")return x=r.call(arguments,2),U=function(){return c.apply(d||this,x.concat(r.call(arguments)))},U.guid=c.guid=c.guid||B.guid++,U},B.holdReady=function(c){c?B.readyWait++:B.ready(!0)},B.expr[":"]=B.expr.filters=B.expr.pseudos,typeof define=="function"&&define.amd&&define("jquery",[],function(){return B});var Jo=e.jQuery,to=e.$;return B.noConflict=function(c){return e.$===B&&(e.$=to),c&&e.jQuery===B&&(e.jQuery=Jo),B},B}var d_=h_(window),Yp=!1,Jp=!1,ga=[],Zp=-1,u0=!1;function p_(e){m_(e)}function g_(){u0=!0}function w_(){u0=!1,Gb()}function m_(e){ga.includes(e)||ga.push(e),Gb()}function B_(e){let t=ga.indexOf(e);t!==-1&&t>Zp&&ga.splice(t,1)}function Gb(){if(!Jp&&!Yp){if(u0)return;Yp=!0,queueMicrotask(b_)}}function b_(){Yp=!1,Jp=!0;for(let e=0;e<ga.length;e++)ga[e](),Zp=e;ga.length=0,Zp=-1,Jp=!1}var Tl,Ha,Nl,Xb,tg=!0;function v_(e){tg=!1,e(),tg=!0}function y_(e){Tl=e.reactive,Nl=e.release,Ha=t=>e.effect(t,{scheduler:n=>{tg?p_(n):n()}}),Xb=e.raw}function wm(e){Ha=e}function x_(e){let t=()=>{};return[A=>{let r=Ha(A);return e._x_effects||(e._x_effects=new Set,e._x_runEffects=()=>{e._x_effects.forEach(i=>i())}),e._x_effects.add(r),t=()=>{r!==void 0&&(e._x_effects.delete(r),Nl(r))},r},()=>{t()}]}function $b(e,t){let n=!0,A,r=Ha(()=>{let i=e();if(JSON.stringify(i),!n&&(typeof i=="object"||i!==A)){let s=A;queueMicrotask(()=>{t(i,s)})}A=i,n=!1});return()=>Nl(r)}async function C_(e){g_();try{await e(),await Promise.resolve()}finally{w_()}}var Yb=[],Jb=[],Zb=[];function F_(e){Zb.push(e)}function f0(e,t){typeof t=="function"?(e._x_cleanups||(e._x_cleanups=[]),e._x_cleanups.push(t)):(t=e,Jb.push(t))}function tv(e){Yb.push(e)}function ev(e,t,n){e._x_attributeCleanups||(e._x_attributeCleanups={}),e._x_attributeCleanups[t]||(e._x_attributeCleanups[t]=[]),e._x_attributeCleanups[t].push(n)}function nv(e,t){e._x_attributeCleanups&&Object.entries(e._x_attributeCleanups).forEach(([n,A])=>{(t===void 0||t.includes(n))&&(A.forEach(r=>r()),delete e._x_attributeCleanups[n])})}function __(e){for(e._x_effects?.forEach(B_);e._x_cleanups?.length;)e._x_cleanups.pop()()}var h0=new MutationObserver(w0),d0=!1;function p0(){h0.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),d0=!0}function Av(){E_(),h0.disconnect(),d0=!1}var ec=[];function E_(){let e=h0.takeRecords();ec.push(()=>e.length>0&&w0(e));let t=ec.length;queueMicrotask(()=>{if(ec.length===t)for(;ec.length>0;)ec.shift()()})}function Hn(e){if(!d0)return e();Av();let t=e();return p0(),t}var g0=!1,Jf=[];function U_(){g0=!0}function Q_(){g0=!1,w0(Jf),Jf=[]}function w0(e){if(g0){Jf=Jf.concat(e);return}let t=[],n=new Set,A=new Map,r=new Map;for(let i=0;i<e.length;i++)if(!e[i].target._x_ignoreMutationObserver&&(e[i].type==="childList"&&(e[i].removedNodes.forEach(s=>{s.nodeType===1&&s._x_marker&&n.add(s)}),e[i].addedNodes.forEach(s=>{if(s.nodeType===1){if(n.has(s)){n.delete(s);return}s._x_marker||t.push(s)}})),e[i].type==="attributes")){let s=e[i].target,o=e[i].attributeName,a=e[i].oldValue,l=()=>{A.has(s)||A.set(s,[]),A.get(s).push({name:o,value:s.getAttribute(o)})},u=()=>{r.has(s)||r.set(s,[]),r.get(s).push(o)};s.hasAttribute(o)&&a===null?l():s.hasAttribute(o)?(u(),l()):u()}r.forEach((i,s)=>{nv(s,i)}),A.forEach((i,s)=>{Yb.forEach(o=>o(s,i))});for(let i of n)t.some(s=>s.contains(i))||Jb.forEach(s=>s(i));for(let i of t)i.isConnected&&Zb.forEach(s=>s(i));t=null,n=null,A=null,r=null}function rv(e){return Qo(Ua(e))}function su(e,t,n){return e._x_dataStack=[t,...Ua(n||e)],()=>{e._x_dataStack=e._x_dataStack.filter(A=>A!==t)}}function Ua(e){return e._x_dataStack?e._x_dataStack:typeof ShadowRoot=="function"&&e instanceof ShadowRoot?Ua(e.host):e.parentNode?Ua(e.parentNode):[]}function Qo(e){return new Proxy({objects:e},S_)}var S_={ownKeys({objects:e}){return Array.from(new Set(e.flatMap(t=>Object.keys(t))))},has({objects:e},t){return t==Symbol.unscopables?!1:e.some(n=>Object.prototype.hasOwnProperty.call(n,t)||Reflect.has(n,t))},get({objects:e},t,n){return t=="toJSON"?L_:Reflect.get(e.find(A=>Reflect.has(A,t))||{},t,n)},set({objects:e},t,n,A){const r=e.find(s=>Object.prototype.hasOwnProperty.call(s,t))||e[e.length-1],i=Object.getOwnPropertyDescriptor(r,t);return i?.set&&i?.get?i.set.call(A,n)||!0:Reflect.set(r,t,n)}};function L_(){return Reflect.ownKeys(this).reduce((t,n)=>(t[n]=Reflect.get(this,n),t),{})}function m0(e){let t=A=>typeof A=="object"&&!Array.isArray(A)&&A!==null,n=(A,r="")=>{Object.entries(Object.getOwnPropertyDescriptors(A)).forEach(([i,{value:s,enumerable:o}])=>{if(o===!1||s===void 0||typeof s=="object"&&s!==null&&s.__v_skip)return;let a=r===""?i:`${r}.${i}`;typeof s=="object"&&s!==null&&s._x_interceptor?A[i]=s.initialize(e,a,i):t(s)&&s!==A&&!(s instanceof Element)&&n(s,a)})};return n(e)}function iv(e,t=()=>{}){let n={initialValue:void 0,_x_interceptor:!0,initialize(A,r,i){return e(this.initialValue,()=>I_(A,r),s=>eg(A,r,s),r,i)}};return t(n),A=>{if(typeof A=="object"&&A!==null&&A._x_interceptor){let r=n.initialize.bind(n);n.initialize=(i,s,o)=>{let a=A.initialize(i,s,o);return n.initialValue=a,r(i,s,o)}}else n.initialValue=A;return n}}function I_(e,t){return t.split(".").reduce((n,A)=>n[A],e)}function eg(e,t,n){if(typeof t=="string"&&(t=t.split(".")),t.length===1)e[t[0]]=n;else{if(t.length===0)throw error;return e[t[0]]||(e[t[0]]={}),eg(e[t[0]],t.slice(1),n)}}var sv={};function Ei(e,t){sv[e]=t}function Rc(e,t){let n=k_(t);return Object.entries(sv).forEach(([A,r])=>{Object.defineProperty(e,`$${A}`,{get(){return r(t,n)},enumerable:!1})}),e}function k_(e){let[t,n]=pv(e),A={interceptor:iv,...t};return f0(e,n),A}function ov(e,t,n,...A){try{return n(...A)}catch(r){Fl(r,e,t)}}function Fl(...e){return av(...e)}var av=N_;function T_(e){av=e}function N_(e,t,n=void 0){e=Object.assign(e??{message:"No error message given."},{el:t,expression:n}),console.warn(`Alpine Expression Error: ${e.message} ${n?'Expression: "'+n+`" `:""}`,t),setTimeout(()=>{throw e},0)}var wa=!0;function lv(e){let t=wa;wa=!1;let n=e();return wa=t,n}function ma(e,t,n={}){let A;return Ar(e,t)(r=>A=r,n),A}function Ar(...e){return cv(...e)}var cv=P_;function O_(e){cv=e}var uv;function H_(e){uv=e}function P_(e,t){let n={};Rc(n,e);let A=[n,...Ua(e)],r=typeof t=="function"?fv(A,t):D_(A,t,e);return ov.bind(null,e,t,r)}function fv(e,t){return(n=()=>{},{scope:A={},params:r=[],context:i}={})=>{if(!wa){Kc(n,t,Qo([A,...e]),r);return}let s=t.apply(Qo([A,...e]),r);Kc(n,s)}}var Hd={};function M_(e,t){if(Hd[e])return Hd[e];let n=Object.getPrototypeOf(async function(){}).constructor,A=/^[\n\s]*if.*\(.*\)/.test(e.trim())||/^(let|const)\s/.test(e.trim())?`(async()=>{ ${e} })()`:e,i=(()=>{try{let s=new n(["__self","scope"],`with (scope) { __self.result = ${A} }; __self.finished = true; return __self.result;`);return Object.defineProperty(s,"name",{value:`[Alpine] ${e}`}),s}catch(s){return Fl(s,t,e),Promise.resolve()}})();return Hd[e]=i,i}function D_(e,t,n){let A=M_(t,n);return(r=()=>{},{scope:i={},params:s=[],context:o}={})=>{A.result=void 0,A.finished=!1;let a=Qo([i,...e]);if(typeof A=="function"){let l=A.call(o,A,a).catch(u=>Fl(u,n,t));A.finished?(Kc(r,A.result,a,s,n),A.result=void 0):l.then(u=>{Kc(r,u,a,s,n)}).catch(u=>Fl(u,n,t)).finally(()=>A.result=void 0)}}}function Kc(e,t,n,A,r){if(wa&&typeof t=="function"){let i=t.apply(n,A);i instanceof Promise?i.then(s=>Kc(e,s,n,A)).catch(s=>Fl(s,r,t)):e(i)}else typeof t=="object"&&t instanceof Promise?t.then(i=>e(i)):e(t)}function R_(...e){return uv(...e)}var B0="x-";function Ol(e=""){return B0+e}function K_(e){B0=e}var Zf={};function AA(e,t){return Zf[e]=t,{before(n){if(!Zf[n]){console.warn(String.raw`Cannot find directive \`${n}\`. \`${e}\` will use the default order of execution`);return}const A=ha.indexOf(n);ha.splice(A>=0?A:ha.indexOf("DEFAULT"),0,e)}}}function j_(e){return Object.keys(Zf).includes(e)}function b0(e,t,n){if(t=Array.from(t),e._x_virtualDirectives){let i=Object.entries(e._x_virtualDirectives).map(([o,a])=>({name:o,value:a})),s=hv(i);i=i.map(o=>s.find(a=>a.name===o.name)?{name:`x-bind:${o.name}`,value:`"${o.value}"`}:o),t=t.concat(i)}let A={};return t.map(mv((i,s)=>A[i]=s)).filter(bv).map(q_(A,n)).sort(z_).map(i=>W_(e,i))}function hv(e){return Array.from(e).map(mv()).filter(t=>!bv(t))}var ng=!1,pc=new Map,dv=Symbol();function V_(e){ng=!0;let t=Symbol();dv=t,pc.set(t,[]);let n=()=>{for(;pc.get(t).length;)pc.get(t).shift()();pc.delete(t)},A=()=>{ng=!1,n()};e(n),A()}function pv(e){let t=[],n=o=>t.push(o),[A,r]=x_(e);return t.push(r),[{Alpine:Pl,effect:A,cleanup:n,evaluateLater:Ar.bind(Ar,e),evaluate:ma.bind(ma,e)},()=>t.forEach(o=>o())]}function W_(e,t){let n=()=>{},A=Zf[t.type]||n,[r,i]=pv(e);ev(e,t.original,i);let s=()=>{e._x_ignore||e._x_ignoreSelf||(A.inline&&A.inline(e,t,r),A=A.bind(A,e,t,r),ng?pc.get(dv).push(A):A())};return s.runCleanups=i,s}var gv=(e,t)=>({name:n,value:A})=>(n.startsWith(e)&&(n=n.replace(e,t)),{name:n,value:A}),wv=e=>e;function mv(e=()=>{}){return({name:t,value:n})=>{let{name:A,value:r}=Bv.reduce((i,s)=>s(i),{name:t,value:n});return A!==t&&e(A,t),{name:A,value:r}}}var Bv=[];function v0(e){Bv.push(e)}function bv({name:e}){return vv().test(e)}var vv=()=>new RegExp(`^${B0}([^:^.]+)\\b`);function q_(e,t){return({name:n,value:A})=>{n===A&&(A="");let r=n.match(vv()),i=n.match(/:([a-zA-Z0-9\-_:]+)/),s=n.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],o=t||e[n]||n;return{type:r?r[1]:null,value:i?i[1]:null,modifiers:s.map(a=>a.replace(".","")),expression:A,original:o}}}var Ag="DEFAULT",ha=["ignore","ref","data","id","anchor","bind","init","for","model","modelable","transition","show","if",Ag,"teleport"];function z_(e,t){let n=ha.indexOf(e.type)===-1?Ag:e.type,A=ha.indexOf(t.type)===-1?Ag:t.type;return ha.indexOf(n)-ha.indexOf(A)}function Uc(e,t,n={}){e.dispatchEvent(new CustomEvent(t,{detail:n,bubbles:!0,composed:!0,cancelable:!0}))}function Qa(e,t){if(typeof ShadowRoot=="function"&&e instanceof ShadowRoot){Array.from(e.children).forEach(r=>Qa(r,t));return}let n=!1;if(t(e,()=>n=!0),n)return;let A=e.firstElementChild;for(;A;)Qa(A,t),A=A.nextElementSibling}function ni(e,...t){console.warn(`Alpine Warning: ${e}`,...t)}var mm=!1;function G_(){mm&&ni("Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems."),mm=!0,document.body||ni("Unable to initialize. Trying to load Alpine before `<body>` is available. Did you forget to add `defer` in Alpine's `<script>` tag?"),Uc(document,"alpine:init"),Uc(document,"alpine:initializing"),p0(),F_(t=>Ts(t,Qa)),f0(t=>Hl(t)),tv((t,n)=>{b0(t,n).forEach(A=>A())});let e=t=>!Ph(t.parentElement,!0);Array.from(document.querySelectorAll(Cv().join(","))).filter(e).forEach(t=>{Ts(t)}),Uc(document,"alpine:initialized"),setTimeout(()=>{J_()})}var y0=[],yv=[];function xv(){return y0.map(e=>e())}function Cv(){return y0.concat(yv).map(e=>e())}function Fv(e){y0.push(e)}function _v(e){yv.push(e)}function Ph(e,t=!1){return Sa(e,n=>{if((t?Cv():xv()).some(r=>n.matches(r)))return!0})}function Sa(e,t){if(e){if(t(e))return e;if(e._x_teleportBack&&(e=e._x_teleportBack),e.parentNode instanceof ShadowRoot)return Sa(e.parentNode.host,t);if(e.parentElement)return Sa(e.parentElement,t)}}function X_(e){return xv().some(t=>e.matches(t))}var Ev=[];function $_(e){Ev.push(e)}var Y_=1;function Ts(e,t=Qa,n=()=>{}){Sa(e,A=>A._x_ignore)||V_(()=>{t(e,(A,r)=>{A._x_marker||(n(A,r),Ev.forEach(i=>i(A,r)),b0(A,A.attributes).forEach(i=>i()),A._x_ignore||(A._x_marker=Y_++),A._x_ignore&&r())})})}function Hl(e,t=Qa){t(e,n=>{__(n),nv(n),delete n._x_marker})}function J_(){[["ui","dialog",["[x-dialog], [x-popover]"]],["anchor","anchor",["[x-anchor]"]],["sort","sort",["[x-sort]"]]].forEach(([t,n,A])=>{j_(n)||A.some(r=>{if(document.querySelector(r))return ni(`found "${r}", but missing ${t} plugin`),!0})})}var rg=[],x0=!1;function C0(e=()=>{}){return queueMicrotask(()=>{x0||setTimeout(()=>{ig()})}),new Promise(t=>{rg.push(()=>{e(),t()})})}function ig(){for(x0=!1;rg.length;)rg.shift()()}function Z_(){x0=!0}function F0(e,t){return Array.isArray(t)?Bm(e,t.join(" ")):typeof t=="object"&&t!==null?tE(e,t):typeof t=="function"?F0(e,t()):Bm(e,t)}function Bm(e,t){let n=r=>r.split(" ").filter(i=>!e.classList.contains(i)).filter(Boolean),A=r=>(e.classList.add(...r),()=>{e.classList.remove(...r)});return t=t===!0?t="":t||"",A(n(t))}function tE(e,t){let n=o=>o.split(" ").filter(Boolean),A=Object.entries(t).flatMap(([o,a])=>a?n(o):!1).filter(Boolean),r=Object.entries(t).flatMap(([o,a])=>a?!1:n(o)).filter(Boolean),i=[],s=[];return r.forEach(o=>{e.classList.contains(o)&&(e.classList.remove(o),s.push(o))}),A.forEach(o=>{e.classList.contains(o)||(e.classList.add(o),i.push(o))}),()=>{s.forEach(o=>e.classList.add(o)),i.forEach(o=>e.classList.remove(o))}}function Mh(e,t){return typeof t=="object"&&t!==null?eE(e,t):nE(e,t)}function eE(e,t){let n={};return Object.entries(t).forEach(([A,r])=>{n[A]=e.style[A],A.startsWith("--")||(A=AE(A)),e.style.setProperty(A,r)}),setTimeout(()=>{e.style.length===0&&e.removeAttribute("style")}),()=>{Mh(e,n)}}function nE(e,t){let n=e.getAttribute("style",t);return e.setAttribute("style",t),()=>{e.setAttribute("style",n||"")}}function AE(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function sg(e,t=()=>{}){let n=!1;return function(){n?t.apply(this,arguments):(n=!0,e.apply(this,arguments))}}AA("transition",(e,{value:t,modifiers:n,expression:A},{evaluate:r})=>{typeof A=="function"&&(A=r(A)),A!==!1&&(!A||typeof A=="boolean"?iE(e,n,t):rE(e,A,t))});function rE(e,t,n){Uv(e,F0,""),{enter:r=>{e._x_transition.enter.during=r},"enter-start":r=>{e._x_transition.enter.start=r},"enter-end":r=>{e._x_transition.enter.end=r},leave:r=>{e._x_transition.leave.during=r},"leave-start":r=>{e._x_transition.leave.start=r},"leave-end":r=>{e._x_transition.leave.end=r}}[n](t)}function iE(e,t,n){Uv(e,Mh);let A=!t.includes("in")&&!t.includes("out")&&!n,r=A||t.includes("in")||["enter"].includes(n),i=A||t.includes("out")||["leave"].includes(n);t.includes("in")&&!A&&(t=t.filter((_,S)=>S<t.indexOf("out"))),t.includes("out")&&!A&&(t=t.filter((_,S)=>S>t.indexOf("out")));let s=!t.includes("opacity")&&!t.includes("scale"),o=s||t.includes("opacity"),a=s||t.includes("scale"),l=o?0:1,u=a?nc(t,"scale",95)/100:1,h=nc(t,"delay",0)/1e3,w=nc(t,"origin","center"),p="opacity, transform",y=nc(t,"duration",150)/1e3,v=nc(t,"duration",75)/1e3,C="cubic-bezier(0.4, 0.0, 0.2, 1)";r&&(e._x_transition.enter.during={transformOrigin:w,transitionDelay:`${h}s`,transitionProperty:p,transitionDuration:`${y}s`,transitionTimingFunction:C},e._x_transition.enter.start={opacity:l,transform:`scale(${u})`},e._x_transition.enter.end={opacity:1,transform:"scale(1)"}),i&&(e._x_transition.leave.during={transformOrigin:w,transitionDelay:`${h}s`,transitionProperty:p,transitionDuration:`${v}s`,transitionTimingFunction:C},e._x_transition.leave.start={opacity:1,transform:"scale(1)"},e._x_transition.leave.end={opacity:l,transform:`scale(${u})`})}function Uv(e,t,n={}){e._x_transition||(e._x_transition={enter:{during:n,start:n,end:n},leave:{during:n,start:n,end:n},in(A=()=>{},r=()=>{}){og(e,t,{during:this.enter.during,start:this.enter.start,end:this.enter.end},A,r)},out(A=()=>{},r=()=>{}){og(e,t,{during:this.leave.during,start:this.leave.start,end:this.leave.end},A,r)}})}window.Element.prototype._x_toggleAndCascadeWithTransitions=function(e,t,n,A){const r=document.visibilityState==="visible"?requestAnimationFrame:setTimeout;let i=()=>r(n);if(t){e._x_transition&&(e._x_transition.enter||e._x_transition.leave)?e._x_transition.enter&&(Object.entries(e._x_transition.enter.during).length||Object.entries(e._x_transition.enter.start).length||Object.entries(e._x_transition.enter.end).length)?e._x_transition.in(n):i():e._x_transition?e._x_transition.in(n):i();return}e._x_hidePromise=e._x_transition?new Promise((s,o)=>{e._x_transition.out(()=>{},()=>s(A)),e._x_transitioning&&e._x_transitioning.beforeCancel(()=>o({isFromCancelledTransition:!0}))}):Promise.resolve(A),queueMicrotask(()=>{let s=Qv(e);s?(s._x_hideChildren||(s._x_hideChildren=[]),s._x_hideChildren.push(e)):r(()=>{let o=a=>{let l=Promise.all([a._x_hidePromise,...(a._x_hideChildren||[]).map(o)]).then(([u])=>u?.());return delete a._x_hidePromise,delete a._x_hideChildren,l};o(e).catch(a=>{if(!a.isFromCancelledTransition)throw a})})})};function Qv(e){let t=e.parentNode;if(t)return t._x_hidePromise?t:Qv(t)}function og(e,t,{during:n,start:A,end:r}={},i=()=>{},s=()=>{}){if(e._x_transitioning&&e._x_transitioning.cancel(),Object.keys(n).length===0&&Object.keys(A).length===0&&Object.keys(r).length===0){i(),s();return}let o,a,l;sE(e,{start(){o=t(e,A)},during(){a=t(e,n)},before:i,end(){o(),l=t(e,r)},after:s,cleanup(){a(),l()}})}function sE(e,t){let n,A,r,i=sg(()=>{Hn(()=>{n=!0,A||t.before(),r||(t.end(),ig()),t.after(),e.isConnected&&t.cleanup(),delete e._x_transitioning})});e._x_transitioning={beforeCancels:[],beforeCancel(s){this.beforeCancels.push(s)},cancel:sg(function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();i()}),finish:i},Hn(()=>{t.start(),t.during()}),Z_(),requestAnimationFrame(()=>{if(n)return;let s=Number(getComputedStyle(e).transitionDuration.replace(/,.*/,"").replace("s",""))*1e3,o=Number(getComputedStyle(e).transitionDelay.replace(/,.*/,"").replace("s",""))*1e3;s===0&&(s=Number(getComputedStyle(e).animationDuration.replace("s",""))*1e3),Hn(()=>{t.before()}),A=!0,requestAnimationFrame(()=>{n||(Hn(()=>{t.end()}),ig(),setTimeout(e._x_transitioning.finish,s+o),r=!0)})})}function nc(e,t,n){if(e.indexOf(t)===-1)return n;const A=e[e.indexOf(t)+1];if(!A||t==="scale"&&isNaN(A))return n;if(t==="duration"||t==="delay"){let r=A.match(/([0-9]+)ms/);if(r)return r[1]}return t==="origin"&&["top","right","left","center","bottom"].includes(e[e.indexOf(t)+2])?[A,e[e.indexOf(t)+2]].join(" "):A}var So=!1;function Oo(e,t=()=>{}){return(...n)=>So?t(...n):e(...n)}function oE(e){return(...t)=>So&&e(...t)}var Sv=[];function Dh(e){Sv.push(e)}function aE(e,t){Sv.forEach(n=>n(e,t)),So=!0,Lv(()=>{Ts(t,(n,A)=>{A(n,()=>{})})}),So=!1}var ag=!1;function lE(e,t){t._x_dataStack||(t._x_dataStack=e._x_dataStack),So=!0,ag=!0,Lv(()=>{cE(t)}),So=!1,ag=!1}function cE(e){let t=!1;Ts(e,(A,r)=>{Qa(A,(i,s)=>{if(t&&X_(i))return s();t=!0,r(i,s)})})}function Lv(e){let t=Ha;wm((n,A)=>{let r=t(n);return Nl(r),()=>{}}),e(),wm(t)}function Iv(e,t,n,A=[]){switch(e._x_bindings||(e._x_bindings=Tl({})),e._x_bindings[t]=n,t=A.includes("camel")?mE(t):t,t){case"value":uE(e,n);break;case"style":hE(e,n);break;case"class":fE(e,n);break;case"selected":case"checked":dE(e,t,n);break;default:kv(e,t,n);break}}function uE(e,t){if(Ov(e))e.attributes.value===void 0&&(e.value=t),window.fromModel&&(typeof t=="boolean"?e.checked=Pf(e.value)===t:e.checked=bm(e.value,t));else if(_0(e))Number.isInteger(t)?e.value=t:!Array.isArray(t)&&typeof t!="boolean"&&![null,void 0].includes(t)?e.value=String(t):Array.isArray(t)?e.checked=t.some(n=>bm(n,e.value)):e.checked=!!t;else if(e.tagName==="SELECT")wE(e,t);else{if(e.value===t)return;e.value=t===void 0?"":t}}function fE(e,t){e._x_undoAddedClasses&&e._x_undoAddedClasses(),e._x_undoAddedClasses=F0(e,t)}function hE(e,t){e._x_undoAddedStyles&&e._x_undoAddedStyles(),e._x_undoAddedStyles=Mh(e,t)}function dE(e,t,n){kv(e,t,n),gE(e,t,n)}function kv(e,t,n){[null,void 0,!1].includes(n)&&bE(t)?e.removeAttribute(t):(Tv(t)&&(n=t),pE(e,t,n))}function pE(e,t,n){e.getAttribute(t)!=n&&e.setAttribute(t,n)}function gE(e,t,n){e[t]!==n&&(e[t]=n)}function wE(e,t){const n=[].concat(t).map(A=>A+"");Array.from(e.options).forEach(A=>{A.selected=n.includes(A.value)})}function mE(e){return e.toLowerCase().replace(/-(\w)/g,(t,n)=>n.toUpperCase())}function bm(e,t){return e==t}function Pf(e){return[1,"1","true","on","yes",!0].includes(e)?!0:[0,"0","false","off","no",!1].includes(e)?!1:e?!!e:null}var BE=new Set(["allowfullscreen","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","inert","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","shadowrootclonable","shadowrootdelegatesfocus","shadowrootserializable"]);function Tv(e){return BE.has(e)}function bE(e){return!["aria-pressed","aria-checked","aria-expanded","aria-selected"].includes(e)}function vE(e,t,n){return e._x_bindings&&e._x_bindings[t]!==void 0?e._x_bindings[t]:Nv(e,t,n)}function yE(e,t,n,A=!0){if(e._x_bindings&&e._x_bindings[t]!==void 0)return e._x_bindings[t];if(e._x_inlineBindings&&e._x_inlineBindings[t]!==void 0){let r=e._x_inlineBindings[t];return r.extract=A,lv(()=>ma(e,r.expression))}return Nv(e,t,n)}function Nv(e,t,n){let A=e.getAttribute(t);return A===null?typeof n=="function"?n():n:A===""?!0:Tv(t)?!![t,"true"].includes(A):A}function _0(e){return e.type==="checkbox"||e.localName==="ui-checkbox"||e.localName==="ui-switch"}function Ov(e){return e.type==="radio"||e.localName==="ui-radio"}function Hv(e,t){let n;return function(){const A=this,r=arguments,i=function(){n=null,e.apply(A,r)};clearTimeout(n),n=setTimeout(i,t)}}function Pv(e,t){let n;return function(){let A=this,r=arguments;n||(e.apply(A,r),n=!0,setTimeout(()=>n=!1,t))}}function Mv({get:e,set:t},{get:n,set:A}){let r=!0,i,s=Ha(()=>{let o=e(),a=n();if(r)A(Pd(o)),r=!1;else{let l=JSON.stringify(o),u=JSON.stringify(a);l!==i?A(Pd(o)):l!==u&&t(Pd(a))}i=JSON.stringify(e()),JSON.stringify(n())});return()=>{Nl(s)}}function Pd(e){return typeof e=="object"?JSON.parse(JSON.stringify(e)):e}function xE(e){(Array.isArray(e)?e:[e]).forEach(n=>n(Pl))}var sa={},vm=!1;function CE(e,t){if(vm||(sa=Tl(sa),vm=!0),t===void 0)return sa[e];sa[e]=t,m0(sa[e]),typeof t=="object"&&t!==null&&t.hasOwnProperty("init")&&typeof t.init=="function"&&sa[e].init()}function FE(){return sa}var Dv={};function _E(e,t){let n=typeof t!="function"?()=>t:t;return e instanceof Element?Rv(e,n()):(Dv[e]=n,()=>{})}function EE(e){return Object.entries(Dv).forEach(([t,n])=>{Object.defineProperty(e,t,{get(){return(...A)=>n(...A)}})}),e}function Rv(e,t,n){let A=[];for(;A.length;)A.pop()();let r=Object.entries(t).map(([s,o])=>({name:s,value:o})),i=hv(r);return r=r.map(s=>i.find(o=>o.name===s.name)?{name:`x-bind:${s.name}`,value:`"${s.value}"`}:s),b0(e,r,n).map(s=>{A.push(s.runCleanups),s()}),()=>{for(;A.length;)A.pop()()}}var Kv={};function UE(e,t){Kv[e]=t}function QE(e,t){return Object.entries(Kv).forEach(([n,A])=>{Object.defineProperty(e,n,{get(){return(...r)=>A.bind(t)(...r)},enumerable:!1})}),e}var SE={get reactive(){return Tl},get release(){return Nl},get effect(){return Ha},get raw(){return Xb},get transaction(){return C_},version:"3.15.8",flushAndStopDeferringMutations:Q_,dontAutoEvaluateFunctions:lv,disableEffectScheduling:v_,startObservingMutations:p0,stopObservingMutations:Av,setReactivityEngine:y_,onAttributeRemoved:ev,onAttributesAdded:tv,closestDataStack:Ua,skipDuringClone:Oo,onlyDuringClone:oE,addRootSelector:Fv,addInitSelector:_v,setErrorHandler:T_,interceptClone:Dh,addScopeToNode:su,deferMutations:U_,mapAttributes:v0,evaluateLater:Ar,interceptInit:$_,initInterceptors:m0,injectMagics:Rc,setEvaluator:O_,setRawEvaluator:H_,mergeProxies:Qo,extractProp:yE,findClosest:Sa,onElRemoved:f0,closestRoot:Ph,destroyTree:Hl,interceptor:iv,transition:og,setStyles:Mh,mutateDom:Hn,directive:AA,entangle:Mv,throttle:Pv,debounce:Hv,evaluate:ma,evaluateRaw:R_,initTree:Ts,nextTick:C0,prefixed:Ol,prefix:K_,plugin:xE,magic:Ei,store:CE,start:G_,clone:lE,cloneNode:aE,bound:vE,$data:rv,watch:$b,walk:Qa,data:UE,bind:_E},Pl=SE,ym=new WeakMap,jv=new Set;Object.getOwnPropertyNames(globalThis).forEach(e=>{e!=="styleMedia"&&jv.add(globalThis[e])});var dA=class{constructor(e,t,n,A){this.type=e,this.value=t,this.start=n,this.end=A}},LE=class{constructor(t){this.input=t,this.position=0,this.tokens=[]}tokenize(){for(;this.position<this.input.length&&(this.skipWhitespace(),!(this.position>=this.input.length));){const t=this.input[this.position];this.isDigit(t)?this.readNumber():this.isAlpha(t)||t==="_"||t==="$"?this.readIdentifierOrKeyword():t==='"'||t==="'"?this.readString():t==="/"&&this.peek()==="/"?this.skipLineComment():this.readOperatorOrPunctuation()}return this.tokens.push(new dA("EOF",null,this.position,this.position)),this.tokens}skipWhitespace(){for(;this.position<this.input.length&&/\s/.test(this.input[this.position]);)this.position++}skipLineComment(){for(;this.position<this.input.length&&this.input[this.position]!==` `;)this.position++}isDigit(t){return/[0-9]/.test(t)}isAlpha(t){return/[a-zA-Z]/.test(t)}isAlphaNumeric(t){return/[a-zA-Z0-9_$]/.test(t)}peek(t=1){return this.input[this.position+t]||""}readNumber(){const t=this.position;let n=!1;for(;this.position<this.input.length;){const r=this.input[this.position];if(this.isDigit(r))this.position++;else if(r==="."&&!n)n=!0,this.position++;else break}const A=this.input.slice(t,this.position);this.tokens.push(new dA("NUMBER",parseFloat(A),t,this.position))}readIdentifierOrKeyword(){const t=this.position;for(;this.position<this.input.length&&this.isAlphaNumeric(this.input[this.position]);)this.position++;const n=this.input.slice(t,this.position);["true","false","null","undefined","new","typeof","void","delete","in","instanceof"].includes(n)?n==="true"||n==="false"?this.tokens.push(new dA("BOOLEAN",n==="true",t,this.position)):n==="null"?this.tokens.push(new dA("NULL",null,t,this.position)):n==="undefined"?this.tokens.push(new dA("UNDEFINED",void 0,t,this.position)):this.tokens.push(new dA("KEYWORD",n,t,this.position)):this.tokens.push(new dA("IDENTIFIER",n,t,this.position))}readString(){const t=this.position,n=this.input[this.position];this.position++;let A="",r=!1;for(;this.position<this.input.length;){const i=this.input[this.position];if(r){switch(i){case"n":A+=` `;break;case"t":A+=" ";break;case"r":A+="\r";break;case"\\":A+="\\";break;case n:A+=n;break;default:A+=i}r=!1}else if(i==="\\")r=!0;else if(i===n){this.position++,this.tokens.push(new dA("STRING",A,t,this.position));return}else A+=i;this.position++}throw new Error(`Unterminated string starting at position ${t}`)}readOperatorOrPunctuation(){const t=this.position,n=this.input[this.position],A=this.peek(),r=this.peek(2);if(n==="="&&A==="="&&r==="=")this.position+=3,this.tokens.push(new dA("OPERATOR","===",t,this.position));else if(n==="!"&&A==="="&&r==="=")this.position+=3,this.tokens.push(new dA("OPERATOR","!==",t,this.position));else if(n==="="&&A==="=")this.position+=2,this.tokens.push(new dA("OPERATOR","==",t,this.position));else if(n==="!"&&A==="=")this.position+=2,this.tokens.push(new dA("OPERATOR","!=",t,this.position));else if(n==="<"&&A==="=")this.position+=2,this.tokens.push(new dA("OPERATOR","<=",t,this.position));else if(n===">"&&A==="=")this.position+=2,this.tokens.push(new dA("OPERATOR",">=",t,this.position));else if(n==="&"&&A==="&")this.position+=2,this.tokens.push(new dA("OPERATOR","&&",t,this.position));else if(n==="|"&&A==="|")this.position+=2,this.tokens.push(new dA("OPERATOR","||",t,this.position));else if(n==="+"&&A==="+")this.position+=2,this.tokens.push(new dA("OPERATOR","++",t,this.position));else if(n==="-"&&A==="-")this.position+=2,this.tokens.push(new dA("OPERATOR","--",t,this.position));else{this.position++;const i="()[]{},.;:?".includes(n)?"PUNCTUATION":"OPERATOR";this.tokens.push(new dA(i,n,t,this.position))}}},IE=class{constructor(t){this.tokens=t,this.position=0}parse(){if(this.isAtEnd())throw new Error("Empty expression");const t=this.parseExpression();if(this.match("PUNCTUATION",";"),!this.isAtEnd())throw new Error(`Unexpected token: ${this.current().value}`);return t}parseExpression(){return this.parseAssignment()}parseAssignment(){const t=this.parseTernary();if(this.match("OPERATOR","=")){const n=this.parseAssignment();if(t.type==="Identifier"||t.type==="MemberExpression")return{type:"AssignmentExpression",left:t,operator:"=",right:n};throw new Error("Invalid assignment target")}return t}parseTernary(){const t=this.parseLogicalOr();if(this.match("PUNCTUATION","?")){const n=this.parseExpression();this.consume("PUNCTUATION",":");const A=this.parseExpression();return{type:"ConditionalExpression",test:t,consequent:n,alternate:A}}return t}parseLogicalOr(){let t=this.parseLogicalAnd();for(;this.match("OPERATOR","||");){const n=this.previous().value,A=this.parseLogicalAnd();t={type:"BinaryExpression",operator:n,left:t,right:A}}return t}parseLogicalAnd(){let t=this.parseEquality();for(;this.match("OPERATOR","&&");){const n=this.previous().value,A=this.parseEquality();t={type:"BinaryExpression",operator:n,left:t,right:A}}return t}parseEquality(){let t=this.parseRelational();for(;this.match("OPERATOR","==","!=","===","!==");){const n=this.previous().value,A=this.parseRelational();t={type:"BinaryExpression",operator:n,left:t,right:A}}return t}parseRelational(){let t=this.parseAdditive();for(;this.match("OPERATOR","<",">","<=",">=");){const n=this.previous().value,A=this.parseAdditive();t={type:"BinaryExpression",operator:n,left:t,right:A}}return t}parseAdditive(){let t=this.parseMultiplicative();for(;this.match("OPERATOR","+","-");){const n=this.previous().value,A=this.parseMultiplicative();t={type:"BinaryExpression",operator:n,left:t,right:A}}return t}parseMultiplicative(){let t=this.parseUnary();for(;this.match("OPERATOR","*","/","%");){const n=this.previous().value,A=this.parseUnary();t={type:"BinaryExpression",operator:n,left:t,right:A}}return t}parseUnary(){if(this.match("OPERATOR","++","--")){const t=this.previous().value,n=this.parseUnary();return{type:"UpdateExpression",operator:t,argument:n,prefix:!0}}if(this.match("OPERATOR","!","-","+")){const t=this.previous().value,n=this.parseUnary();return{type:"UnaryExpression",operator:t,argument:n,prefix:!0}}return this.parsePostfix()}parsePostfix(){let t=this.parseMember();return this.match("OPERATOR","++","--")?{type:"UpdateExpression",operator:this.previous().value,argument:t,prefix:!1}:t}parseMember(){let t=this.parsePrimary();for(;;)if(this.match("PUNCTUATION",".")){const n=this.consume("IDENTIFIER");t={type:"MemberExpression",object:t,property:{type:"Identifier",name:n.value},computed:!1}}else if(this.match("PUNCTUATION","[")){const n=this.parseExpression();this.consume("PUNCTUATION","]"),t={type:"MemberExpression",object:t,property:n,computed:!0}}else if(this.match("PUNCTUATION","(")){const n=this.parseArguments();t={type:"CallExpression",callee:t,arguments:n}}else break;return t}parseArguments(){const t=[];if(!this.check("PUNCTUATION",")"))do t.push(this.parseExpression());while(this.match("PUNCTUATION",","));return this.consume("PUNCTUATION",")"),t}parsePrimary(){if(this.match("NUMBER"))return{type:"Literal",value:this.previous().value};if(this.match("STRING"))return{type:"Literal",value:this.previous().value};if(this.match("BOOLEAN"))return{type:"Literal",value:this.previous().value};if(this.match("NULL"))return{type:"Literal",value:null};if(this.match("UNDEFINED"))return{type:"Literal",value:void 0};if(this.match("IDENTIFIER"))return{type:"Identifier",name:this.previous().value};if(this.match("PUNCTUATION","(")){const t=this.parseExpression();return this.consume("PUNCTUATION",")"),t}if(this.match("PUNCTUATION","["))return this.parseArrayLiteral();if(this.match("PUNCTUATION","{"))return this.parseObjectLiteral();throw new Error(`Unexpected token: ${this.current().type} "${this.current().value}"`)}parseArrayLiteral(){const t=[];for(;!this.check("PUNCTUATION","]")&&!this.isAtEnd()&&(t.push(this.parseExpression()),this.match("PUNCTUATION",","));)if(this.check("PUNCTUATION","]"))break;return this.consume("PUNCTUATION","]"),{type:"ArrayExpression",elements:t}}parseObjectLiteral(){const t=[];for(;!this.check("PUNCTUATION","}")&&!this.isAtEnd();){let n,A=!1;if(this.match("STRING"))n={type:"Literal",value:this.previous().value};else if(this.match("IDENTIFIER"))n={type:"Identifier",name:this.previous().value};else if(this.match("PUNCTUATION","["))n=this.parseExpression(),A=!0,this.consume("PUNCTUATION","]");else throw new Error("Expected property key");this.consume("PUNCTUATION",":");const r=this.parseExpression();if(t.push({type:"Property",key:n,value:r,computed:A,shorthand:!1}),this.match("PUNCTUATION",",")){if(this.check("PUNCTUATION","}"))break}else break}return this.consume("PUNCTUATION","}"),{type:"ObjectExpression",properties:t}}match(...t){for(let n=0;n<t.length;n++){const A=t[n];if(n===0&&t.length>1){const r=A;for(let i=1;i<t.length;i++)if(this.check(r,t[i]))return this.advance(),!0;return!1}else if(t.length===1)return this.checkType(A)?(this.advance(),!0):!1}return!1}check(t,n){return this.isAtEnd()?!1:n!==void 0?this.current().type===t&&this.current().value===n:this.current().type===t}checkType(t){return this.isAtEnd()?!1:this.current().type===t}advance(){return this.isAtEnd()||this.position++,this.previous()}isAtEnd(){return this.current().type==="EOF"}current(){return this.tokens[this.position]}previous(){return this.tokens[this.position-1]}consume(t,n){if(n!==void 0){if(this.check(t,n))return this.advance();throw new Error(`Expected ${t} "${n}" but got ${this.current().type} "${this.current().value}"`)}if(this.check(t))return this.advance();throw new Error(`Expected ${t} but got ${this.current().type} "${this.current().value}"`)}},kE=class{evaluate({node:e,scope:t={},context:n=null,forceBindingRootScopeToFunctions:A=!0}){switch(e.type){case"Literal":return e.value;case"Identifier":if(e.name in t){const v=t[e.name];return this.checkForDangerousValues(v),typeof v=="function"?v.bind(t):v}throw new Error(`Undefined variable: ${e.name}`);case"MemberExpression":const r=this.evaluate({node:e.object,scope:t,context:n,forceBindingRootScopeToFunctions:A});if(r==null)throw new Error("Cannot read property of null or undefined");let i;e.computed?i=this.evaluate({node:e.property,scope:t,context:n,forceBindingRootScopeToFunctions:A}):i=e.property.name,this.checkForDangerousKeywords(i);let s=r[i];return this.checkForDangerousValues(s),typeof s=="function"?A?s.bind(t):s.bind(r):s;case"CallExpression":const o=e.arguments.map(v=>this.evaluate({node:v,scope:t,context:n,forceBindingRootScopeToFunctions:A}));let a;if(e.callee.type==="MemberExpression"){const v=this.evaluate({node:e.callee.object,scope:t,context:n,forceBindingRootScopeToFunctions:A});let C;e.callee.computed?C=this.evaluate({node:e.callee.property,scope:t,context:n,forceBindingRootScopeToFunctions:A}):C=e.callee.property.name,this.checkForDangerousKeywords(C);let _=v[C];if(typeof _!="function")throw new Error("Value is not a function");a=_.apply(v,o)}else if(e.callee.type==="Identifier"){const v=e.callee.name;let C;if(v in t)C=t[v];else throw new Error(`Undefined variable: ${v}`);if(typeof C!="function")throw new Error("Value is not a function");const _=n!==null?n:t;a=C.apply(_,o)}else{const v=this.evaluate({node:e.callee,scope:t,context:n,forceBindingRootScopeToFunctions:A});if(typeof v!="function")throw new Error("Value is not a function");a=v.apply(n,o)}return this.checkForDangerousValues(a),a;case"UnaryExpression":const l=this.evaluate({node:e.argument,scope:t,context:n,forceBindingRootScopeToFunctions:A});switch(e.operator){case"!":return!l;case"-":return-l;case"+":return+l;default:throw new Error(`Unknown unary operator: ${e.operator}`)}case"UpdateExpression":if(e.argument.type==="Identifier"){const v=e.argument.name;if(!(v in t))throw new Error(`Undefined variable: ${v}`);const C=t[v];return e.operator==="++"?t[v]=C+1:e.operator==="--"&&(t[v]=C-1),e.prefix?t[v]:C}else if(e.argument.type==="MemberExpression"){const v=this.evaluate({node:e.argument.object,scope:t,context:n,forceBindingRootScopeToFunctions:A}),C=e.argument.computed?this.evaluate({node:e.argument.property,scope:t,context:n,forceBindingRootScopeToFunctions:A}):e.argument.property.name,_=v[C];return e.operator==="++"?v[C]=_+1:e.operator==="--"&&(v[C]=_-1),e.prefix?v[C]:_}throw new Error("Invalid update expression target");case"BinaryExpression":const u=this.evaluate({node:e.left,scope:t,context:n,forceBindingRootScopeToFunctions:A}),h=this.evaluate({node:e.right,scope:t,context:n,forceBindingRootScopeToFunctions:A});switch(e.operator){case"+":return u+h;case"-":return u-h;case"*":return u*h;case"/":return u/h;case"%":return u%h;case"==":return u==h;case"!=":return u!=h;case"===":return u===h;case"!==":return u!==h;case"<":return u<h;case">":return u>h;case"<=":return u<=h;case">=":return u>=h;case"&&":return u&&h;case"||":return u||h;default:throw new Error(`Unknown binary operator: ${e.operator}`)}case"ConditionalExpression":return this.evaluate({node:e.test,scope:t,context:n,forceBindingRootScopeToFunctions:A})?this.evaluate({node:e.consequent,scope:t,context:n,forceBindingRootScopeToFunctions:A}):this.evaluate({node:e.alternate,scope:t,context:n,forceBindingRootScopeToFunctions:A});case"AssignmentExpression":const p=this.evaluate({node:e.right,scope:t,context:n,forceBindingRootScopeToFunctions:A});if(e.left.type==="Identifier")return t[e.left.name]=p,p;throw e.left.type==="MemberExpression"?new Error("Property assignments are prohibited in the CSP build"):new Error("Invalid assignment target");case"ArrayExpression":return e.elements.map(v=>this.evaluate({node:v,scope:t,context:n,forceBindingRootScopeToFunctions:A}));case"ObjectExpression":const y={};for(const v of e.properties){const C=v.computed?this.evaluate({node:v.key,scope:t,context:n,forceBindingRootScopeToFunctions:A}):v.key.type==="Identifier"?v.key.name:this.evaluate({node:v.key,scope:t,context:n,forceBindingRootScopeToFunctions:A}),_=this.evaluate({node:v.value,scope:t,context:n,forceBindingRootScopeToFunctions:A});y[C]=_}return y;default:throw new Error(`Unknown node type: ${e.type}`)}}checkForDangerousKeywords(e){if(["constructor","prototype","__proto__","__defineGetter__","__defineSetter__","insertAdjacentHTML"].includes(e))throw new Error(`Accessing "${e}" is prohibited in the CSP build`)}checkForDangerousValues(e){if(e!==null&&!(typeof e!="object"&&typeof e!="function")&&!ym.has(e)){if(e instanceof HTMLIFrameElement||e instanceof HTMLScriptElement)throw new Error("Accessing iframes and scripts is prohibited in the CSP build");if(jv.has(e))throw new Error("Accessing global variables is prohibited in the CSP build");return ym.set(e,!0),!0}}};function Vv(e){try{const n=new LE(e).tokenize(),r=new IE(n).parse(),i=new kE;return function(s={}){const{scope:o={},context:a=null,forceBindingRootScopeToFunctions:l=!1}=s;return i.evaluate({node:r,scope:o,context:a,forceBindingRootScopeToFunctions:l})}}catch(t){throw new Error(`CSP Parser Error: ${t.message}`)}}function TE(e,t,n={}){let A=Wv(e),r=Qo([n.scope??{},...A]),i=n.params??[],o=Vv(t)({scope:r,forceBindingRootScopeToFunctions:!0});return typeof o=="function"&&wa?o.apply(r,i):o}function NE(e,t){let n=Wv(e);if(typeof t=="function")return fv(n,t);let A=OE(e,t,n);return ov.bind(null,e,t,A)}function Wv(e){let t={};return Rc(t,e),[t,...Ua(e)]}function OE(e,t,n){if(e instanceof HTMLIFrameElement)throw new Error("Evaluating expressions on an iframe is prohibited in the CSP build");if(e instanceof HTMLScriptElement)throw new Error("Evaluating expressions on a script is prohibited in the CSP build");return(A=()=>{},{scope:r={},params:i=[]}={})=>{let s=Qo([r,...n]),a=Vv(t)({scope:s,forceBindingRootScopeToFunctions:!0});if(wa&&typeof a=="function"){let l=a.apply(a,i);l instanceof Promise?l.then(u=>A(u)):A(l)}else typeof a=="object"&&a instanceof Promise?a.then(l=>A(l)):A(a)}}function HE(e,t){const n=Object.create(null),A=e.split(",");for(let r=0;r<A.length;r++)n[A[r]]=!0;return r=>!!n[r]}var PE=Object.freeze({}),ME=Object.prototype.hasOwnProperty,Rh=(e,t)=>ME.call(e,t),Ba=Array.isArray,Qc=e=>qv(e)==="[object Map]",DE=e=>typeof e=="string",E0=e=>typeof e=="symbol",Kh=e=>e!==null&&typeof e=="object",RE=Object.prototype.toString,qv=e=>RE.call(e),zv=e=>qv(e).slice(8,-1),U0=e=>DE(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,KE=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},jE=KE(e=>e.charAt(0).toUpperCase()+e.slice(1)),Gv=(e,t)=>e!==t&&(e===e||t===t),lg=new WeakMap,Ac=[],zi,ba=Symbol("iterate"),cg=Symbol("Map key iterate");function VE(e){return e&&e._isEffect===!0}function WE(e,t=PE){VE(e)&&(e=e.raw);const n=GE(e,t);return t.lazy||n(),n}function qE(e){e.active&&(Xv(e),e.options.onStop&&e.options.onStop(),e.active=!1)}var zE=0;function GE(e,t){const n=function(){if(!n.active)return e();if(!Ac.includes(n)){Xv(n);try{return $E(),Ac.push(n),zi=n,e()}finally{Ac.pop(),$v(),zi=Ac[Ac.length-1]}}};return n.id=zE++,n.allowRecurse=!!t.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=e,n.deps=[],n.options=t,n}function Xv(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}var _l=!0,Q0=[];function XE(){Q0.push(_l),_l=!1}function $E(){Q0.push(_l),_l=!0}function $v(){const e=Q0.pop();_l=e===void 0?!0:e}function Ci(e,t,n){if(!_l||zi===void 0)return;let A=lg.get(e);A||lg.set(e,A=new Map);let r=A.get(n);r||A.set(n,r=new Set),r.has(zi)||(r.add(zi),zi.deps.push(r),zi.options.onTrack&&zi.options.onTrack({effect:zi,target:e,type:t,key:n}))}function Lo(e,t,n,A,r,i){const s=lg.get(e);if(!s)return;const o=new Set,a=u=>{u&&u.forEach(h=>{(h!==zi||h.allowRecurse)&&o.add(h)})};if(t==="clear")s.forEach(a);else if(n==="length"&&Ba(e))s.forEach((u,h)=>{(h==="length"||h>=A)&&a(u)});else switch(n!==void 0&&a(s.get(n)),t){case"add":Ba(e)?U0(n)&&a(s.get("length")):(a(s.get(ba)),Qc(e)&&a(s.get(cg)));break;case"delete":Ba(e)||(a(s.get(ba)),Qc(e)&&a(s.get(cg)));break;case"set":Qc(e)&&a(s.get(ba));break}const l=u=>{u.options.onTrigger&&u.options.onTrigger({effect:u,target:e,key:n,type:t,newValue:A,oldValue:r,oldTarget:i}),u.options.scheduler?u.options.scheduler(u):u()};o.forEach(l)}var YE=HE("__proto__,__v_isRef,__isVue"),Yv=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(E0)),JE=Jv(),ZE=Jv(!0),xm=tU();function tU(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const A=Un(this);for(let i=0,s=this.length;i<s;i++)Ci(A,"get",i+"");const r=A[t](...n);return r===-1||r===!1?A[t](...n.map(Un)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){XE();const A=Un(this)[t].apply(this,n);return $v(),A}}),e}function Jv(e=!1,t=!1){return function(A,r,i){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_raw"&&i===(e?t?dU:ny:t?hU:ey).get(A))return A;const s=Ba(A);if(!e&&s&&Rh(xm,r))return Reflect.get(xm,r,i);const o=Reflect.get(A,r,i);return(E0(r)?Yv.has(r):YE(r))||(e||Ci(A,"get",r),t)?o:ug(o)?!s||!U0(r)?o.value:o:Kh(o)?e?Ay(o):k0(o):o}}var eU=nU();function nU(e=!1){return function(n,A,r,i){let s=n[A];if(!e&&(r=Un(r),s=Un(s),!Ba(n)&&ug(s)&&!ug(r)))return s.value=r,!0;const o=Ba(n)&&U0(A)?Number(A)<n.length:Rh(n,A),a=Reflect.set(n,A,r,i);return n===Un(i)&&(o?Gv(r,s)&&Lo(n,"set",A,r,s):Lo(n,"add",A,r)),a}}function AU(e,t){const n=Rh(e,t),A=e[t],r=Reflect.deleteProperty(e,t);return r&&n&&Lo(e,"delete",t,void 0,A),r}function rU(e,t){const n=Reflect.has(e,t);return(!E0(t)||!Yv.has(t))&&Ci(e,"has",t),n}function iU(e){return Ci(e,"iterate",Ba(e)?"length":ba),Reflect.ownKeys(e)}var sU={get:JE,set:eU,deleteProperty:AU,has:rU,ownKeys:iU},oU={get:ZE,set(e,t){return console.warn(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0},deleteProperty(e,t){return console.warn(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0}},S0=e=>Kh(e)?k0(e):e,L0=e=>Kh(e)?Ay(e):e,I0=e=>e,jh=e=>Reflect.getPrototypeOf(e);function Ou(e,t,n=!1,A=!1){e=e.__v_raw;const r=Un(e),i=Un(t);t!==i&&!n&&Ci(r,"get",t),!n&&Ci(r,"get",i);const{has:s}=jh(r),o=A?I0:n?L0:S0;if(s.call(r,t))return o(e.get(t));if(s.call(r,i))return o(e.get(i));e!==r&&e.get(t)}function Hu(e,t=!1){const n=this.__v_raw,A=Un(n),r=Un(e);return e!==r&&!t&&Ci(A,"has",e),!t&&Ci(A,"has",r),e===r?n.has(e):n.has(e)||n.has(r)}function Pu(e,t=!1){return e=e.__v_raw,!t&&Ci(Un(e),"iterate",ba),Reflect.get(e,"size",e)}function Cm(e){e=Un(e);const t=Un(this);return jh(t).has.call(t,e)||(t.add(e),Lo(t,"add",e,e)),this}function Fm(e,t){t=Un(t);const n=Un(this),{has:A,get:r}=jh(n);let i=A.call(n,e);i?ty(n,A,e):(e=Un(e),i=A.call(n,e));const s=r.call(n,e);return n.set(e,t),i?Gv(t,s)&&Lo(n,"set",e,t,s):Lo(n,"add",e,t),this}function _m(e){const t=Un(this),{has:n,get:A}=jh(t);let r=n.call(t,e);r?ty(t,n,e):(e=Un(e),r=n.call(t,e));const i=A?A.call(t,e):void 0,s=t.delete(e);return r&&Lo(t,"delete",e,void 0,i),s}function Em(){const e=Un(this),t=e.size!==0,n=Qc(e)?new Map(e):new Set(e),A=e.clear();return t&&Lo(e,"clear",void 0,void 0,n),A}function Mu(e,t){return function(A,r){const i=this,s=i.__v_raw,o=Un(s),a=t?I0:e?L0:S0;return!e&&Ci(o,"iterate",ba),s.forEach((l,u)=>A.call(r,a(l),a(u),i))}}function Du(e,t,n){return function(...A){const r=this.__v_raw,i=Un(r),s=Qc(i),o=e==="entries"||e===Symbol.iterator&&s,a=e==="keys"&&s,l=r[e](...A),u=n?I0:t?L0:S0;return!t&&Ci(i,"iterate",a?cg:ba),{next(){const{value:h,done:w}=l.next();return w?{value:h,done:w}:{value:o?[u(h[0]),u(h[1])]:u(h),done:w}},[Symbol.iterator](){return this}}}}function ao(e){return function(...t){{const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${jE(e)} operation ${n}failed: target is readonly.`,Un(this))}return e==="delete"?!1:this}}function aU(){const e={get(i){return Ou(this,i)},get size(){return Pu(this)},has:Hu,add:Cm,set:Fm,delete:_m,clear:Em,forEach:Mu(!1,!1)},t={get(i){return Ou(this,i,!1,!0)},get size(){return Pu(this)},has:Hu,add:Cm,set:Fm,delete:_m,clear:Em,forEach:Mu(!1,!0)},n={get(i){return Ou(this,i,!0)},get size(){return Pu(this,!0)},has(i){return Hu.call(this,i,!0)},add:ao("add"),set:ao("set"),delete:ao("delete"),clear:ao("clear"),forEach:Mu(!0,!1)},A={get(i){return Ou(this,i,!0,!0)},get size(){return Pu(this,!0)},has(i){return Hu.call(this,i,!0)},add:ao("add"),set:ao("set"),delete:ao("delete"),clear:ao("clear"),forEach:Mu(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Du(i,!1,!1),n[i]=Du(i,!0,!1),t[i]=Du(i,!1,!0),A[i]=Du(i,!0,!0)}),[e,n,t,A]}var[lU,cU]=aU();function Zv(e,t){const n=e?cU:lU;return(A,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?A:Reflect.get(Rh(n,r)&&r in A?n:A,r,i)}var uU={get:Zv(!1)},fU={get:Zv(!0)};function ty(e,t,n){const A=Un(n);if(A!==n&&t.call(e,A)){const r=zv(e);console.warn(`Reactive ${r} contains both the raw and reactive versions of the same object${r==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}var ey=new WeakMap,hU=new WeakMap,ny=new WeakMap,dU=new WeakMap;function pU(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function gU(e){return e.__v_skip||!Object.isExtensible(e)?0:pU(zv(e))}function k0(e){return e&&e.__v_isReadonly?e:ry(e,!1,sU,uU,ey)}function Ay(e){return ry(e,!0,oU,fU,ny)}function ry(e,t,n,A,r){if(!Kh(e))return console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const s=gU(e);if(s===0)return e;const o=new Proxy(e,s===2?A:n);return r.set(e,o),o}function Un(e){return e&&Un(e.__v_raw)||e}function ug(e){return!!(e&&e.__v_isRef===!0)}Ei("nextTick",()=>C0);Ei("dispatch",e=>Uc.bind(Uc,e));Ei("watch",(e,{evaluateLater:t,cleanup:n})=>(A,r)=>{let i=t(A),o=$b(()=>{let a;return i(l=>a=l),a},r);n(o)});Ei("store",FE);Ei("data",e=>rv(e));Ei("root",e=>Ph(e));Ei("refs",e=>(e._x_refs_proxy||(e._x_refs_proxy=Qo(wU(e))),e._x_refs_proxy));function wU(e){let t=[];return Sa(e,n=>{n._x_refs&&t.push(n._x_refs)}),t}var Md={};function iy(e){return Md[e]||(Md[e]=0),++Md[e]}function mU(e,t){return Sa(e,n=>{if(n._x_ids&&n._x_ids[t])return!0})}function BU(e,t){e._x_ids||(e._x_ids={}),e._x_ids[t]||(e._x_ids[t]=iy(t))}Ei("id",(e,{cleanup:t})=>(n,A=null)=>{let r=`${n}${A?`-${A}`:""}`;return bU(e,r,t,()=>{let i=mU(e,n),s=i?i._x_ids[n]:iy(n);return A?`${n}-${s}-${A}`:`${n}-${s}`})});Dh((e,t)=>{e._x_id&&(t._x_id=e._x_id)});function bU(e,t,n,A){if(e._x_id||(e._x_id={}),e._x_id[t])return e._x_id[t];let r=A();return e._x_id[t]=r,n(()=>{delete e._x_id[t]}),r}Ei("el",e=>e);sy("Focus","focus","focus");sy("Persist","persist","persist");function sy(e,t,n){Ei(t,A=>ni(`You can't use [$${t}] without first installing the "${e}" plugin here: https://alpinejs.dev/plugins/${n}`,A))}AA("modelable",(e,{expression:t},{effect:n,evaluateLater:A,cleanup:r})=>{let i=A(t),s=()=>{let u;return i(h=>u=h),u},o=A(`${t} = __placeholder`),a=u=>o(()=>{},{scope:{__placeholder:u}}),l=s();a(l),queueMicrotask(()=>{if(!e._x_model)return;e._x_removeModelListeners.default();let u=e._x_model.get,h=e._x_model.set,w=Mv({get(){return u()},set(p){h(p)}},{get(){return s()},set(p){a(p)}});r(w)})});AA("teleport",(e,{modifiers:t,expression:n},{cleanup:A})=>{e.tagName.toLowerCase()!=="template"&&ni("x-teleport can only be used on a <template> tag",e);let r=Um(n),i=e.content.cloneNode(!0).firstElementChild;e._x_teleport=i,i._x_teleportBack=e,e.setAttribute("data-teleport-template",!0),i.setAttribute("data-teleport-target",!0),e._x_forwardEvents&&e._x_forwardEvents.forEach(o=>{i.addEventListener(o,a=>{a.stopPropagation(),e.dispatchEvent(new a.constructor(a.type,a))})}),su(i,{},e);let s=(o,a,l)=>{l.includes("prepend")?a.parentNode.insertBefore(o,a):l.includes("append")?a.parentNode.insertBefore(o,a.nextSibling):a.appendChild(o)};Hn(()=>{s(i,r,t),Oo(()=>{Ts(i)})()}),e._x_teleportPutBack=()=>{let o=Um(n);Hn(()=>{s(e._x_teleport,o,t)})},A(()=>Hn(()=>{i.remove(),Hl(i)}))});var vU=document.createElement("div");function Um(e){let t=Oo(()=>document.querySelector(e),()=>vU)();return t||ni(`Cannot find x-teleport element for selector: "${e}"`),t}var oy=()=>{};oy.inline=(e,{modifiers:t},{cleanup:n})=>{t.includes("self")?e._x_ignoreSelf=!0:e._x_ignore=!0,n(()=>{t.includes("self")?delete e._x_ignoreSelf:delete e._x_ignore})};AA("ignore",oy);AA("effect",Oo((e,{expression:t},{effect:n})=>{n(Ar(e,t))}));function cl(e,t,n,A){let r=e,i=a=>A(a),s={},o=(a,l)=>u=>l(a,u);if(n.includes("dot")&&(t=yU(t)),n.includes("camel")&&(t=xU(t)),n.includes("passive")&&(s.passive=!0),n.includes("capture")&&(s.capture=!0),n.includes("window")&&(r=window),n.includes("document")&&(r=document),n.includes("debounce")){let a=n[n.indexOf("debounce")+1]||"invalid-wait",l=th(a.split("ms")[0])?Number(a.split("ms")[0]):250;i=Hv(i,l)}if(n.includes("throttle")){let a=n[n.indexOf("throttle")+1]||"invalid-wait",l=th(a.split("ms")[0])?Number(a.split("ms")[0]):250;i=Pv(i,l)}return n.includes("prevent")&&(i=o(i,(a,l)=>{l.preventDefault(),a(l)})),n.includes("stop")&&(i=o(i,(a,l)=>{l.stopPropagation(),a(l)})),n.includes("once")&&(i=o(i,(a,l)=>{a(l),r.removeEventListener(t,i,s)})),(n.includes("away")||n.includes("outside"))&&(r=document,i=o(i,(a,l)=>{e.contains(l.target)||l.target.isConnected!==!1&&(e.offsetWidth<1&&e.offsetHeight<1||e._x_isShown!==!1&&a(l))})),n.includes("self")&&(i=o(i,(a,l)=>{l.target===e&&a(l)})),t==="submit"&&(i=o(i,(a,l)=>{l.target._x_pendingModelUpdates&&l.target._x_pendingModelUpdates.forEach(u=>u()),a(l)})),(FU(t)||ay(t))&&(i=o(i,(a,l)=>{_U(l,n)||a(l)})),r.addEventListener(t,i,s),()=>{r.removeEventListener(t,i,s)}}function yU(e){return e.replace(/-/g,".")}function xU(e){return e.toLowerCase().replace(/-(\w)/g,(t,n)=>n.toUpperCase())}function th(e){return!Array.isArray(e)&&!isNaN(e)}function CU(e){return[" ","_"].includes(e)?e:e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[_\s]/,"-").toLowerCase()}function FU(e){return["keydown","keyup"].includes(e)}function ay(e){return["contextmenu","click","mouse"].some(t=>e.includes(t))}function _U(e,t){let n=t.filter(i=>!["window","document","prevent","stop","once","capture","self","away","outside","passive","preserve-scroll","blur","change","lazy"].includes(i));if(n.includes("debounce")){let i=n.indexOf("debounce");n.splice(i,th((n[i+1]||"invalid-wait").split("ms")[0])?2:1)}if(n.includes("throttle")){let i=n.indexOf("throttle");n.splice(i,th((n[i+1]||"invalid-wait").split("ms")[0])?2:1)}if(n.length===0||n.length===1&&Qm(e.key).includes(n[0]))return!1;const r=["ctrl","shift","alt","meta","cmd","super"].filter(i=>n.includes(i));return n=n.filter(i=>!r.includes(i)),!(r.length>0&&r.filter(s=>((s==="cmd"||s==="super")&&(s="meta"),e[`${s}Key`])).length===r.length&&(ay(e.type)||Qm(e.key).includes(n[0])))}function Qm(e){if(!e)return[];e=CU(e);let t={ctrl:"control",slash:"/",space:" ",spacebar:" ",cmd:"meta",esc:"escape",up:"arrow-up",down:"arrow-down",left:"arrow-left",right:"arrow-right",period:".",comma:",",equal:"=",minus:"-",underscore:"_"};return t[e]=e,Object.keys(t).map(n=>{if(t[n]===e)return n}).filter(n=>n)}AA("model",(e,{modifiers:t,expression:n},{effect:A,cleanup:r})=>{let i=e;t.includes("parent")&&(i=e.parentNode);let s=Ar(i,n),o;typeof n=="string"?o=Ar(i,`${n} = __placeholder`):typeof n=="function"&&typeof n()=="string"?o=Ar(i,`${n()} = __placeholder`):o=()=>{};let a=()=>{let v;return s(C=>v=C),Sm(v)?v.get():v},l=v=>{let C;s(_=>C=_),Sm(C)?C.set(v):o(()=>{},{scope:{__placeholder:v}})};typeof n=="string"&&e.type==="radio"&&Hn(()=>{e.hasAttribute("name")||e.setAttribute("name",n)});let u=t.includes("change")||t.includes("lazy"),h=t.includes("blur"),w=t.includes("enter"),p=u||h||w,y;if(So)y=()=>{};else if(p){let v=[],C=_=>l(Ru(e,t,_,a()));if(u&&v.push(cl(e,"change",t,C)),h&&(v.push(cl(e,"blur",t,C)),e.form)){let _=()=>C({target:e});e.form._x_pendingModelUpdates||(e.form._x_pendingModelUpdates=[]),e.form._x_pendingModelUpdates.push(_),r(()=>e.form._x_pendingModelUpdates.splice(e.form._x_pendingModelUpdates.indexOf(_),1))}w&&v.push(cl(e,"keydown",t,_=>{_.key==="Enter"&&C(_)})),y=()=>v.forEach(_=>_())}else{let v=e.tagName.toLowerCase()==="select"||["checkbox","radio"].includes(e.type)?"change":"input";y=cl(e,v,t,C=>{l(Ru(e,t,C,a()))})}if(t.includes("fill")&&([void 0,null,""].includes(a())||_0(e)&&Array.isArray(a())||e.tagName.toLowerCase()==="select"&&e.multiple)&&l(Ru(e,t,{target:e},a())),e._x_removeModelListeners||(e._x_removeModelListeners={}),e._x_removeModelListeners.default=y,r(()=>e._x_removeModelListeners.default()),e.form){let v=cl(e.form,"reset",[],C=>{C0(()=>e._x_model&&e._x_model.set(Ru(e,t,{target:e},a())))});r(()=>v())}e._x_model={get(){return a()},set(v){l(v)}},e._x_forceModelUpdate=v=>{v===void 0&&typeof n=="string"&&n.match(/\./)&&(v=""),window.fromModel=!0,Hn(()=>Iv(e,"value",v)),delete window.fromModel},A(()=>{let v=a();t.includes("unintrusive")&&document.activeElement.isSameNode(e)||e._x_forceModelUpdate(v)})});function Ru(e,t,n,A){return Hn(()=>{if(n instanceof CustomEvent&&n.detail!==void 0)return n.detail!==null&&n.detail!==void 0?n.detail:n.target.value;if(_0(e))if(Array.isArray(A)){let r=null;return t.includes("number")?r=Dd(n.target.value):t.includes("boolean")?r=Pf(n.target.value):r=n.target.value,n.target.checked?A.includes(r)?A:A.concat([r]):A.filter(i=>!EU(i,r))}else return n.target.checked;else{if(e.tagName.toLowerCase()==="select"&&e.multiple)return t.includes("number")?Array.from(n.target.selectedOptions).map(r=>{let i=r.value||r.text;return Dd(i)}):t.includes("boolean")?Array.from(n.target.selectedOptions).map(r=>{let i=r.value||r.text;return Pf(i)}):Array.from(n.target.selectedOptions).map(r=>r.value||r.text);{let r;return Ov(e)?n.target.checked?r=n.target.value:r=A:r=n.target.value,t.includes("number")?Dd(r):t.includes("boolean")?Pf(r):t.includes("trim")?r.trim():r}}})}function Dd(e){let t=e?parseFloat(e):null;return UU(t)?t:e}function EU(e,t){return e==t}function UU(e){return!Array.isArray(e)&&!isNaN(e)}function Sm(e){return e!==null&&typeof e=="object"&&typeof e.get=="function"&&typeof e.set=="function"}AA("cloak",e=>queueMicrotask(()=>Hn(()=>e.removeAttribute(Ol("cloak")))));_v(()=>`[${Ol("init")}]`);AA("init",Oo((e,{expression:t},{evaluate:n})=>typeof t=="string"?!!t.trim()&&n(t,{},!1):n(t,{},!1)));AA("text",(e,{expression:t},{effect:n,evaluateLater:A})=>{let r=A(t);n(()=>{r(i=>{Hn(()=>{e.textContent=i})})})});AA("html",(e,{expression:t},{effect:n,evaluateLater:A})=>{let r=A(t);n(()=>{r(i=>{Hn(()=>{e.innerHTML=i,e._x_ignoreSelf=!0,Ts(e),delete e._x_ignoreSelf})})})});v0(gv(":",wv(Ol("bind:"))));var ly=(e,{value:t,modifiers:n,expression:A,original:r},{effect:i,cleanup:s})=>{if(!t){let a={};EE(a),Ar(e,A)(u=>{Rv(e,u,r)},{scope:a});return}if(t==="key")return QU(e,A);if(e._x_inlineBindings&&e._x_inlineBindings[t]&&e._x_inlineBindings[t].extract)return;let o=Ar(e,A);i(()=>o(a=>{a===void 0&&typeof A=="string"&&A.match(/\./)&&(a=""),Hn(()=>Iv(e,t,a,n))})),s(()=>{e._x_undoAddedClasses&&e._x_undoAddedClasses(),e._x_undoAddedStyles&&e._x_undoAddedStyles()})};ly.inline=(e,{value:t,modifiers:n,expression:A})=>{t&&(e._x_inlineBindings||(e._x_inlineBindings={}),e._x_inlineBindings[t]={expression:A,extract:!1})};AA("bind",ly);function QU(e,t){e._x_keyExpression=t}Fv(()=>`[${Ol("data")}]`);AA("data",(e,{expression:t},{cleanup:n})=>{if(SU(e))return;t=t===""?"{}":t;let A={};Rc(A,e);let r={};QE(r,A);let i=ma(e,t,{scope:r});(i===void 0||i===!0)&&(i={}),Rc(i,e);let s=Tl(i);m0(s);let o=su(e,s);s.init&&ma(e,s.init),n(()=>{s.destroy&&ma(e,s.destroy),o()})});Dh((e,t)=>{e._x_dataStack&&(t._x_dataStack=e._x_dataStack,t.setAttribute("data-has-alpine-state",!0))});function SU(e){return So?ag?!0:e.hasAttribute("data-has-alpine-state"):!1}AA("show",(e,{modifiers:t,expression:n},{effect:A})=>{let r=Ar(e,n);e._x_doHide||(e._x_doHide=()=>{Hn(()=>{e.style.setProperty("display","none",t.includes("important")?"important":void 0)})}),e._x_doShow||(e._x_doShow=()=>{Hn(()=>{e.style.length===1&&e.style.display==="none"?e.removeAttribute("style"):e.style.removeProperty("display")})});let i=()=>{e._x_doHide(),e._x_isShown=!1},s=()=>{e._x_doShow(),e._x_isShown=!0},o=()=>setTimeout(s),a=sg(h=>h?s():i(),h=>{typeof e._x_toggleAndCascadeWithTransitions=="function"?e._x_toggleAndCascadeWithTransitions(e,h,s,i):h?o():i()}),l,u=!0;A(()=>r(h=>{!u&&h===l||(t.includes("immediate")&&(h?o():i()),a(h),l=h,u=!1)}))});AA("for",(e,{expression:t},{effect:n,cleanup:A})=>{let r=IU(t),i=Ar(e,r.items),s=Ar(e,e._x_keyExpression||"index");e._x_prevKeys=[],e._x_lookup={},n(()=>LU(e,r,i,s)),A(()=>{Object.values(e._x_lookup).forEach(o=>Hn(()=>{Hl(o),o.remove()})),delete e._x_prevKeys,delete e._x_lookup})});function LU(e,t,n,A){let r=s=>typeof s=="object"&&!Array.isArray(s),i=e;n(s=>{kU(s)&&s>=0&&(s=Array.from(Array(s).keys(),C=>C+1)),s===void 0&&(s=[]);let o=e._x_lookup,a=e._x_prevKeys,l=[],u=[];if(r(s))s=Object.entries(s).map(([C,_])=>{let S=Lm(t,_,C,s);A(M=>{u.includes(M)&&ni("Duplicate key on x-for",e),u.push(M)},{scope:{index:C,...S}}),l.push(S)});else for(let C=0;C<s.length;C++){let _=Lm(t,s[C],C,s);A(S=>{u.includes(S)&&ni("Duplicate key on x-for",e),u.push(S)},{scope:{index:C,..._}}),l.push(_)}let h=[],w=[],p=[],y=[];for(let C=0;C<a.length;C++){let _=a[C];u.indexOf(_)===-1&&p.push(_)}a=a.filter(C=>!p.includes(C));let v="template";for(let C=0;C<u.length;C++){let _=u[C],S=a.indexOf(_);if(S===-1)a.splice(C,0,_),h.push([v,C]);else if(S!==C){let M=a.splice(C,1)[0],T=a.splice(S-1,1)[0];a.splice(C,0,T),a.splice(S,0,M),w.push([M,T])}else y.push(_);v=_}for(let C=0;C<p.length;C++){let _=p[C];_ in o&&(Hn(()=>{Hl(o[_]),o[_].remove()}),delete o[_])}for(let C=0;C<w.length;C++){let[_,S]=w[C],M=o[_],T=o[S],V=document.createElement("div");Hn(()=>{T||ni('x-for ":key" is undefined or invalid',i,S,o),T.after(V),M.after(T),T._x_currentIfEl&&T.after(T._x_currentIfEl),V.before(M),M._x_currentIfEl&&M.after(M._x_currentIfEl),V.remove()}),T._x_refreshXForScope(l[u.indexOf(S)])}for(let C=0;C<h.length;C++){let[_,S]=h[C],M=_==="template"?i:o[_];M._x_currentIfEl&&(M=M._x_currentIfEl);let T=l[S],V=u[S],B=document.importNode(i.content,!0).firstElementChild,G=Tl(T);su(B,G,i),B._x_refreshXForScope=z=>{Object.entries(z).forEach(([H,ot])=>{G[H]=ot})},Hn(()=>{M.after(B),Oo(()=>Ts(B))()}),typeof V=="object"&&ni("x-for key cannot be an object, it must be a string or an integer",i),o[V]=B}for(let C=0;C<y.length;C++)o[y[C]]._x_refreshXForScope(l[u.indexOf(y[C])]);i._x_prevKeys=u})}function IU(e){let t=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,n=/^\s*\(|\)\s*$/g,A=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,r=e.match(A);if(!r)return;let i={};i.items=r[2].trim();let s=r[1].replace(n,"").trim(),o=s.match(t);return o?(i.item=s.replace(t,"").trim(),i.index=o[1].trim(),o[2]&&(i.collection=o[2].trim())):i.item=s,i}function Lm(e,t,n,A){let r={};return/^\[.*\]$/.test(e.item)&&Array.isArray(t)?e.item.replace("[","").replace("]","").split(",").map(s=>s.trim()).forEach((s,o)=>{r[s]=t[o]}):/^\{.*\}$/.test(e.item)&&!Array.isArray(t)&&typeof t=="object"?e.item.replace("{","").replace("}","").split(",").map(s=>s.trim()).forEach(s=>{r[s]=t[s]}):r[e.item]=t,e.index&&(r[e.index]=n),e.collection&&(r[e.collection]=A),r}function kU(e){return!Array.isArray(e)&&!isNaN(e)}function cy(){}cy.inline=(e,{expression:t},{cleanup:n})=>{let A=Ph(e);A._x_refs||(A._x_refs={}),A._x_refs[t]=e,n(()=>delete A._x_refs[t])};AA("ref",cy);AA("if",(e,{expression:t},{effect:n,cleanup:A})=>{e.tagName.toLowerCase()!=="template"&&ni("x-if can only be used on a <template> tag",e);let r=Ar(e,t),i=()=>{if(e._x_currentIfEl)return e._x_currentIfEl;let o=e.content.cloneNode(!0).firstElementChild;return su(o,{},e),Hn(()=>{e.after(o),Oo(()=>Ts(o))()}),e._x_currentIfEl=o,e._x_undoIf=()=>{Hn(()=>{Hl(o),o.remove()}),delete e._x_currentIfEl},o},s=()=>{e._x_undoIf&&(e._x_undoIf(),delete e._x_undoIf)};n(()=>r(o=>{o?i():s()})),A(()=>e._x_undoIf&&e._x_undoIf())});AA("id",(e,{expression:t},{evaluate:n})=>{n(t).forEach(r=>BU(e,r))});Dh((e,t)=>{e._x_ids&&(t._x_ids=e._x_ids)});v0(gv("@",wv(Ol("on:"))));AA("on",Oo((e,{value:t,modifiers:n,expression:A},{cleanup:r})=>{let i=A?Ar(e,A):()=>{};e.tagName.toLowerCase()==="template"&&(e._x_forwardEvents||(e._x_forwardEvents=[]),e._x_forwardEvents.includes(t)||e._x_forwardEvents.push(t));let s=cl(e,t,n,o=>{i(()=>{},{scope:{$event:o},params:[o]})});r(()=>s())}));Vh("Collapse","collapse","collapse");Vh("Intersect","intersect","intersect");Vh("Focus","trap","focus");Vh("Mask","mask","mask");function Vh(e,t,n){AA(t,A=>ni(`You can't use [x-${t}] without first installing the "${e}" plugin here: https://alpinejs.dev/plugins/${n}`,A))}AA("html",(e,{expression:t})=>{Fl(new Error("Using the x-html directive is prohibited in the CSP build"),e)});Pl.setEvaluator(NE);Pl.setRawEvaluator(TE);Pl.setReactivityEngine({reactive:k0,effect:WE,release:qE,raw:Un});var TU=Pl,Wh=TU;function NU(e){e.directive("collapse",t),t.inline=(n,{modifiers:A})=>{A.includes("min")&&(n._x_doShow=()=>{},n._x_doHide=()=>{})};function t(n,{modifiers:A}){let r=Im(A,"duration",250)/1e3,i=Im(A,"min",0),s=!A.includes("min");n._x_isShown||(n.style.height=`${i}px`),!n._x_isShown&&s&&(n.hidden=!0),n._x_isShown||(n.style.overflow="hidden");let o=(l,u)=>{let h=e.setStyles(l,u);return u.height?()=>{}:h},a={transitionProperty:"height",transitionDuration:`${r}s`,transitionTimingFunction:"cubic-bezier(0.4, 0.0, 0.2, 1)"};n._x_transition={in(l=()=>{},u=()=>{}){s&&(n.hidden=!1),s&&(n.style.display=null);let h=n.getBoundingClientRect().height;n.style.height="auto";let w=n.getBoundingClientRect().height;h===w&&(h=i),e.transition(n,e.setStyles,{during:a,start:{height:h+"px"},end:{height:w+"px"}},()=>n._x_isShown=!0,()=>{Math.abs(n.getBoundingClientRect().height-w)<1&&(n.style.overflow=null)})},out(l=()=>{},u=()=>{}){let h=n.getBoundingClientRect().height;e.transition(n,o,{during:a,start:{height:h+"px"},end:{height:i+"px"}},()=>n.style.overflow="hidden",()=>{n._x_isShown=!1,n.style.height==`${i}px`&&s&&(n.style.display="none",n.hidden=!0)})}}}}function Im(e,t,n){if(e.indexOf(t)===-1)return n;const A=e[e.indexOf(t)+1];if(!A)return n;if(t==="duration"){let r=A.match(/([0-9]+)ms/);if(r)return r[1]}if(t==="min"){let r=A.match(/([0-9]+)px/);if(r)return r[1]}return A}var OU=NU;function uy(e,t,n){if(typeof e=="function"?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}function HU(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function km(e,t){return e.get(uy(e,t))}function PU(e,t,n){HU(e,t),t.set(e,n)}function MU(e,t,n){return e.set(uy(e,t),n),n}const DU=100,_e={},RU=()=>{_e.previousActiveElement instanceof HTMLElement?(_e.previousActiveElement.focus(),_e.previousActiveElement=null):document.body&&document.body.focus()},KU=e=>new Promise(t=>{if(!e)return t();const n=window.scrollX,A=window.scrollY;_e.restoreFocusTimeout=setTimeout(()=>{RU(),t()},DU),window.scrollTo(n,A)}),fy="swal2-",jU=["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error","draggable","dragging"],Pt=jU.reduce((e,t)=>(e[t]=fy+t,e),{}),VU=["success","warning","info","question","error"],eh=VU.reduce((e,t)=>(e[t]=fy+t,e),{}),hy="SweetAlert2:",T0=e=>e.charAt(0).toUpperCase()+e.slice(1),rr=e=>{console.warn(`${hy} ${typeof e=="object"?e.join(" "):e}`)},Pa=e=>{console.error(`${hy} ${e}`)},Tm=[],WU=e=>{Tm.includes(e)||(Tm.push(e),rr(e))},dy=(e,t=null)=>{WU(`"${e}" is deprecated and will be removed in the next major release.${t?` Use "${t}" instead.`:""}`)},qh=e=>typeof e=="function"?e():e,N0=e=>e&&typeof e.toPromise=="function",ou=e=>N0(e)?e.toPromise():Promise.resolve(e),O0=e=>e&&Promise.resolve(e)===e,ir=()=>document.body.querySelector(`.${Pt.container}`),au=e=>{const t=ir();return t?t.querySelector(e):null},Or=e=>au(`.${e}`),ln=()=>Or(Pt.popup),Ml=()=>Or(Pt.icon),qU=()=>Or(Pt["icon-content"]),py=()=>Or(Pt.title),H0=()=>Or(Pt["html-container"]),gy=()=>Or(Pt.image),P0=()=>Or(Pt["progress-steps"]),zh=()=>Or(Pt["validation-message"]),Yi=()=>au(`.${Pt.actions} .${Pt.confirm}`),Dl=()=>au(`.${Pt.actions} .${Pt.cancel}`),Ma=()=>au(`.${Pt.actions} .${Pt.deny}`),zU=()=>Or(Pt["input-label"]),Rl=()=>au(`.${Pt.loader}`),lu=()=>Or(Pt.actions),wy=()=>Or(Pt.footer),Gh=()=>Or(Pt["timer-progress-bar"]),M0=()=>Or(Pt.close),GU=` a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable], audio[controls], video[controls], summary `,D0=()=>{const e=ln();if(!e)return[];const t=e.querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])'),n=Array.from(t).sort((i,s)=>{const o=parseInt(i.getAttribute("tabindex")||"0"),a=parseInt(s.getAttribute("tabindex")||"0");return o>a?1:o<a?-1:0}),A=e.querySelectorAll(GU),r=Array.from(A).filter(i=>i.getAttribute("tabindex")!=="-1");return[...new Set(n.concat(r))].filter(i=>Br(i))},R0=()=>Is(document.body,Pt.shown)&&!Is(document.body,Pt["toast-shown"])&&!Is(document.body,Pt["no-backdrop"]),Xh=()=>{const e=ln();return e?Is(e,Pt.toast):!1},XU=()=>{const e=ln();return e?e.hasAttribute("data-loading"):!1},Hr=(e,t)=>{if(e.textContent="",t){const A=new DOMParser().parseFromString(t,"text/html"),r=A.querySelector("head");r&&Array.from(r.childNodes).forEach(s=>{e.appendChild(s)});const i=A.querySelector("body");i&&Array.from(i.childNodes).forEach(s=>{s instanceof HTMLVideoElement||s instanceof HTMLAudioElement?e.appendChild(s.cloneNode(!0)):e.appendChild(s)})}},Is=(e,t)=>{if(!t)return!1;const n=t.split(/\s+/);for(let A=0;A<n.length;A++)if(!e.classList.contains(n[A]))return!1;return!0},$U=(e,t)=>{Array.from(e.classList).forEach(n=>{!Object.values(Pt).includes(n)&&!Object.values(eh).includes(n)&&!Object.values(t.showClass||{}).includes(n)&&e.classList.remove(n)})},Nr=(e,t,n)=>{if($U(e,t),!t.customClass)return;const A=t.customClass[n];if(A){if(typeof A!="string"&&!A.forEach){rr(`Invalid type of customClass.${n}! Expected string or iterable object, got "${typeof A}"`);return}on(e,A)}},$h=(e,t)=>{if(!t)return null;switch(t){case"select":case"textarea":case"file":return e.querySelector(`.${Pt.popup} > .${Pt[t]}`);case"checkbox":return e.querySelector(`.${Pt.popup} > .${Pt.checkbox} input`);case"radio":return e.querySelector(`.${Pt.popup} > .${Pt.radio} input:checked`)||e.querySelector(`.${Pt.popup} > .${Pt.radio} input:first-child`);case"range":return e.querySelector(`.${Pt.popup} > .${Pt.range} input`);default:return e.querySelector(`.${Pt.popup} > .${Pt.input}`)}},my=e=>{if(e.focus(),e.type!=="file"){const t=e.value;e.value="",e.value=t}},By=(e,t,n)=>{!e||!t||(typeof t=="string"&&(t=t.split(/\s+/).filter(Boolean)),t.forEach(A=>{Array.isArray(e)?e.forEach(r=>{n?r.classList.add(A):r.classList.remove(A)}):n?e.classList.add(A):e.classList.remove(A)}))},on=(e,t)=>{By(e,t,!0)},ii=(e,t)=>{By(e,t,!1)},po=(e,t)=>{const n=Array.from(e.children);for(let A=0;A<n.length;A++){const r=n[A];if(r instanceof HTMLElement&&Is(r,t))return r}},va=(e,t,n)=>{n===`${parseInt(`${n}`)}`&&(n=parseInt(n)),n||parseInt(`${n}`)===0?e.style.setProperty(t,typeof n=="number"?`${n}px`:n):e.style.removeProperty(t)},vA=(e,t="flex")=>{e&&(e.style.display=t)},qA=e=>{e&&(e.style.display="none")},K0=(e,t="block")=>{e&&new MutationObserver(()=>{cu(e,e.innerHTML,t)}).observe(e,{childList:!0,subtree:!0})},Nm=(e,t,n,A)=>{const r=e.querySelector(t);r&&r.style.setProperty(n,A)},cu=(e,t,n="flex")=>{t?vA(e,n):qA(e)},Br=e=>!!(e&&(e.offsetWidth||e.offsetHeight||e.getClientRects().length)),YU=()=>!Br(Yi())&&!Br(Ma())&&!Br(Dl()),fg=e=>e.scrollHeight>e.clientHeight,JU=(e,t)=>{let n=e;for(;n&&n!==t;){if(fg(n))return!0;n=n.parentElement}return!1},by=e=>{const t=window.getComputedStyle(e),n=parseFloat(t.getPropertyValue("animation-duration")||"0"),A=parseFloat(t.getPropertyValue("transition-duration")||"0");return n>0||A>0},j0=(e,t=!1)=>{const n=Gh();n&&Br(n)&&(t&&(n.style.transition="none",n.style.width="100%"),setTimeout(()=>{n.style.transition=`width ${e/1e3}s linear`,n.style.width="0%"},10))},ZU=()=>{const e=Gh();if(!e)return;const t=parseInt(window.getComputedStyle(e).width);e.style.removeProperty("transition"),e.style.width="100%";const n=parseInt(window.getComputedStyle(e).width),A=t/n*100;e.style.width=`${A}%`},tQ=()=>typeof window>"u"||typeof document>"u",eQ=` <div aria-labelledby="${Pt.title}" aria-describedby="${Pt["html-container"]}" class="${Pt.popup}" tabindex="-1"> <button type="button" class="${Pt.close}"></button> <ul class="${Pt["progress-steps"]}"></ul> <div class="${Pt.icon}"></div> <img class="${Pt.image}" /> <h2 class="${Pt.title}" id="${Pt.title}"></h2> <div class="${Pt["html-container"]}" id="${Pt["html-container"]}"></div> <input class="${Pt.input}" id="${Pt.input}" /> <input type="file" class="${Pt.file}" /> <div class="${Pt.range}"> <input type="range" /> <output></output> </div> <select class="${Pt.select}" id="${Pt.select}"></select> <div class="${Pt.radio}"></div> <label class="${Pt.checkbox}"> <input type="checkbox" id="${Pt.checkbox}" /> <span class="${Pt.label}"></span> </label> <textarea class="${Pt.textarea}" id="${Pt.textarea}"></textarea> <div class="${Pt["validation-message"]}" id="${Pt["validation-message"]}"></div> <div class="${Pt.actions}"> <div class="${Pt.loader}"></div> <button type="button" class="${Pt.confirm}"></button> <button type="button" class="${Pt.deny}"></button> <button type="button" class="${Pt.cancel}"></button> </div> <div class="${Pt.footer}"></div> <div class="${Pt["timer-progress-bar-container"]}"> <div class="${Pt["timer-progress-bar"]}"></div> </div> </div> `.replace(/(^|\n)\s*/g,""),nQ=()=>{const e=ir();return e?(e.remove(),ii([document.documentElement,document.body],[Pt["no-backdrop"],Pt["toast-shown"],Pt["has-column"]]),!0):!1},ta=()=>{_e.currentInstance&&_e.currentInstance.resetValidationMessage()},AQ=()=>{const e=ln();if(!e)return;const t=po(e,Pt.input),n=po(e,Pt.file),A=e.querySelector(`.${Pt.range} input`),r=e.querySelector(`.${Pt.range} output`),i=po(e,Pt.select),s=e.querySelector(`.${Pt.checkbox} input`),o=po(e,Pt.textarea);t&&(t.oninput=ta),n&&(n.onchange=ta),i&&(i.onchange=ta),s&&(s.onchange=ta),o&&(o.oninput=ta),A&&r&&(A.oninput=()=>{ta(),r.value=A.value},A.onchange=()=>{ta(),r.value=A.value})},rQ=e=>{if(typeof e=="string"){const t=document.querySelector(e);if(!t)throw new Error(`Target element "${e}" not found`);return t}return e},iQ=e=>{const t=ln();t&&(t.setAttribute("role",e.toast?"alert":"dialog"),t.setAttribute("aria-live",e.toast?"polite":"assertive"),e.toast||t.setAttribute("aria-modal","true"))},sQ=e=>{window.getComputedStyle(e).direction==="rtl"&&(on(ir(),Pt.rtl),_e.isRTL=!0)},oQ=e=>{const t=nQ();if(tQ()){Pa("SweetAlert2 requires document to initialize");return}const n=document.createElement("div");n.className=Pt.container,t&&on(n,Pt["no-transition"]),Hr(n,eQ),n.dataset.swal2Theme=e.theme;const A=rQ(e.target||"body");A.appendChild(n),e.topLayer&&(n.setAttribute("popover",""),n.showPopover()),iQ(e),sQ(A),AQ()},V0=(e,t)=>{e instanceof HTMLElement?t.appendChild(e):typeof e=="object"?aQ(e,t):e&&Hr(t,e)},aQ=(e,t)=>{"jquery"in e?lQ(t,e):Hr(t,e.toString())},lQ=(e,t)=>{if(e.textContent="",0 in t)for(let n=0;n in t;n++)e.appendChild(t[n].cloneNode(!0));else e.appendChild(t.cloneNode(!0))},cQ=(e,t)=>{const n=lu(),A=Rl();!n||!A||(!t.showConfirmButton&&!t.showDenyButton&&!t.showCancelButton?qA(n):vA(n),Nr(n,t,"actions"),uQ(n,A,t),Hr(A,t.loaderHtml||""),Nr(A,t,"loader"))};function uQ(e,t,n){const A=Yi(),r=Ma(),i=Dl();!A||!r||!i||(Kd(A,"confirm",n),Kd(r,"deny",n),Kd(i,"cancel",n),fQ(A,r,i,n),n.reverseButtons&&(n.toast?(e.insertBefore(i,A),e.insertBefore(r,A)):(e.insertBefore(i,t),e.insertBefore(r,t),e.insertBefore(A,t))))}function fQ(e,t,n,A){if(!A.buttonsStyling){ii([e,t,n],Pt.styled);return}on([e,t,n],Pt.styled),A.confirmButtonColor&&e.style.setProperty("--swal2-confirm-button-background-color",A.confirmButtonColor),A.denyButtonColor&&t.style.setProperty("--swal2-deny-button-background-color",A.denyButtonColor),A.cancelButtonColor&&n.style.setProperty("--swal2-cancel-button-background-color",A.cancelButtonColor),Rd(e),Rd(t),Rd(n)}function Rd(e){const t=window.getComputedStyle(e);if(t.getPropertyValue("--swal2-action-button-focus-box-shadow"))return;const n=t.backgroundColor.replace(/rgba?\((\d+), (\d+), (\d+).*/,"rgba($1, $2, $3, 0.5)");e.style.setProperty("--swal2-action-button-focus-box-shadow",t.getPropertyValue("--swal2-outline").replace(/ rgba\(.*/,` ${n}`))}function Kd(e,t,n){const A=T0(t);cu(e,n[`show${A}Button`],"inline-block"),Hr(e,n[`${t}ButtonText`]||""),e.setAttribute("aria-label",n[`${t}ButtonAriaLabel`]||""),e.className=Pt[t],Nr(e,n,`${t}Button`)}const hQ=(e,t)=>{const n=M0();n&&(Hr(n,t.closeButtonHtml||""),Nr(n,t,"closeButton"),cu(n,t.showCloseButton),n.setAttribute("aria-label",t.closeButtonAriaLabel||""))},dQ=(e,t)=>{const n=ir();n&&(pQ(n,t.backdrop),gQ(n,t.position),wQ(n,t.grow),Nr(n,t,"container"))};function pQ(e,t){typeof t=="string"?e.style.background=t:t||on([document.documentElement,document.body],Pt["no-backdrop"])}function gQ(e,t){t&&(t in Pt?on(e,Pt[t]):(rr('The "position" parameter is not valid, defaulting to "center"'),on(e,Pt.center)))}function wQ(e,t){t&&on(e,Pt[`grow-${t}`])}var an={innerParams:new WeakMap,domCache:new WeakMap,focusedElement:new WeakMap};const mQ=["input","file","range","select","radio","checkbox","textarea"],BQ=(e,t)=>{const n=ln();if(!n)return;const A=an.innerParams.get(e),r=!A||t.input!==A.input;mQ.forEach(i=>{const s=po(n,Pt[i]);s&&(yQ(i,t.inputAttributes),s.className=Pt[i],r&&qA(s))}),t.input&&(r&&bQ(t),xQ(t))},bQ=e=>{if(!e.input)return;if(!Yn[e.input]){Pa(`Unexpected type of input! Expected ${Object.keys(Yn).join(" | ")}, got "${e.input}"`);return}const t=vy(e.input);if(!t)return;const n=Yn[e.input](t,e);vA(t),e.inputAutoFocus&&setTimeout(()=>{my(n)})},vQ=e=>{for(let t=0;t<e.attributes.length;t++){const n=e.attributes[t].name;["id","type","value","style"].includes(n)||e.removeAttribute(n)}},yQ=(e,t)=>{const n=ln();if(!n)return;const A=$h(n,e);if(A){vQ(A);for(const r in t)A.setAttribute(r,t[r])}},xQ=e=>{if(!e.input)return;const t=vy(e.input);t&&Nr(t,e,"input")},W0=(e,t)=>{!e.placeholder&&t.inputPlaceholder&&(e.placeholder=t.inputPlaceholder)},uu=(e,t,n)=>{if(n.inputLabel){const A=document.createElement("label"),r=Pt["input-label"];A.setAttribute("for",e.id),A.className=r,typeof n.customClass=="object"&&on(A,n.customClass.inputLabel),A.innerText=n.inputLabel,t.insertAdjacentElement("beforebegin",A)}},vy=e=>{const t=ln();if(t)return po(t,Pt[e]||Pt.input)},nh=(e,t)=>{["string","number"].includes(typeof t)?e.value=`${t}`:O0(t)||rr(`Unexpected type of inputValue! Expected "string", "number" or "Promise", got "${typeof t}"`)},Yn={};Yn.text=Yn.email=Yn.password=Yn.number=Yn.tel=Yn.url=Yn.search=Yn.date=Yn["datetime-local"]=Yn.time=Yn.week=Yn.month=(e,t)=>{const n=e;return nh(n,t.inputValue),uu(n,n,t),W0(n,t),n.type=t.input,n};Yn.file=(e,t)=>{const n=e;return uu(n,n,t),W0(n,t),n};Yn.range=(e,t)=>{const n=e,A=n.querySelector("input"),r=n.querySelector("output");return A&&(nh(A,t.inputValue),A.type=t.input,uu(A,e,t)),r&&nh(r,t.inputValue),e};Yn.select=(e,t)=>{const n=e;if(n.textContent="",t.inputPlaceholder){const A=document.createElement("option");Hr(A,t.inputPlaceholder),A.value="",A.disabled=!0,A.selected=!0,n.appendChild(A)}return uu(n,n,t),n};Yn.radio=e=>{const t=e;return t.textContent="",e};Yn.checkbox=(e,t)=>{const n=ln();if(!n)throw new Error("Popup not found");const A=$h(n,"checkbox");if(!A)throw new Error("Checkbox input not found");A.value="1",A.checked=!!t.inputValue;const i=e.querySelector("span");if(i){const s=t.inputPlaceholder||t.inputLabel;s&&Hr(i,s)}return A};Yn.textarea=(e,t)=>{const n=e;nh(n,t.inputValue),W0(n,t),uu(n,n,t);const A=r=>parseInt(window.getComputedStyle(r).marginLeft)+parseInt(window.getComputedStyle(r).marginRight);return setTimeout(()=>{if("MutationObserver"in window){const r=ln();if(!r)return;const i=parseInt(window.getComputedStyle(r).width),s=()=>{if(!document.body.contains(n))return;const o=n.offsetWidth+A(n),a=ln();a&&(o>i?a.style.width=`${o}px`:va(a,"width",t.width))};new MutationObserver(s).observe(n,{attributes:!0,attributeFilter:["style"]})}}),n};const CQ=(e,t)=>{const n=H0();n&&(K0(n),Nr(n,t,"htmlContainer"),t.html?(V0(t.html,n),vA(n,"block")):t.text?(n.textContent=t.text,vA(n,"block")):qA(n),BQ(e,t))},FQ=(e,t)=>{const n=wy();n&&(K0(n),cu(n,!!t.footer,"block"),t.footer&&V0(t.footer,n),Nr(n,t,"footer"))},_Q=(e,t)=>{const n=an.innerParams.get(e),A=Ml();if(!A)return;if(n&&t.icon===n.icon){Hm(A,t),Om(A,t);return}if(!t.icon&&!t.iconHtml){qA(A);return}if(t.icon&&Object.keys(eh).indexOf(t.icon)===-1){Pa(`Unknown icon! Expected "success", "error", "warning", "info" or "question", got "${t.icon}"`),qA(A);return}vA(A),Hm(A,t),Om(A,t),on(A,t.showClass&&t.showClass.icon),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",yy)},Om=(e,t)=>{for(const[n,A]of Object.entries(eh))t.icon!==n&&ii(e,A);on(e,t.icon&&eh[t.icon]),QQ(e,t),yy(),Nr(e,t,"icon")},yy=()=>{const e=ln();if(!e)return;const t=window.getComputedStyle(e).getPropertyValue("background-color"),n=e.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let A=0;A<n.length;A++)n[A].style.backgroundColor=t},EQ=e=>` ${e.animation?'<div class="swal2-success-circular-line-left"></div>':""} <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span> <div class="swal2-success-ring"></div> ${e.animation?'<div class="swal2-success-fix"></div>':""} ${e.animation?'<div class="swal2-success-circular-line-right"></div>':""} `,UQ=` <span class="swal2-x-mark"> <span class="swal2-x-mark-line-left"></span> <span class="swal2-x-mark-line-right"></span> </span> `,Hm=(e,t)=>{if(!t.icon&&!t.iconHtml)return;let n=e.innerHTML,A="";t.iconHtml?A=Pm(t.iconHtml):t.icon==="success"?(A=EQ(t),n=n.replace(/ style=".*?"/g,"")):t.icon==="error"?A=UQ:t.icon&&(A=Pm({question:"?",warning:"!",info:"i"}[t.icon])),n.trim()!==A.trim()&&Hr(e,A)},QQ=(e,t)=>{if(t.iconColor){e.style.color=t.iconColor,e.style.borderColor=t.iconColor;for(const n of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])Nm(e,n,"background-color",t.iconColor);Nm(e,".swal2-success-ring","border-color",t.iconColor)}},Pm=e=>`<div class="${Pt["icon-content"]}">${e}</div>`,SQ=(e,t)=>{const n=gy();if(n){if(!t.imageUrl){qA(n);return}vA(n,""),n.setAttribute("src",t.imageUrl),n.setAttribute("alt",t.imageAlt||""),va(n,"width",t.imageWidth),va(n,"height",t.imageHeight),n.className=Pt.image,Nr(n,t,"image")}};let q0=!1,xy=0,Cy=0,Fy=0,_y=0;const LQ=e=>{e.addEventListener("mousedown",Ah),document.body.addEventListener("mousemove",rh),e.addEventListener("mouseup",ih),e.addEventListener("touchstart",Ah),document.body.addEventListener("touchmove",rh),e.addEventListener("touchend",ih)},IQ=e=>{e.removeEventListener("mousedown",Ah),document.body.removeEventListener("mousemove",rh),e.removeEventListener("mouseup",ih),e.removeEventListener("touchstart",Ah),document.body.removeEventListener("touchmove",rh),e.removeEventListener("touchend",ih)},Ah=e=>{const t=ln();if(!t)return;const n=Ml();if(e.target===t||n&&n.contains(e.target)){q0=!0;const A=Ey(e);xy=A.clientX,Cy=A.clientY,Fy=parseInt(t.style.insetInlineStart)||0,_y=parseInt(t.style.insetBlockStart)||0,on(t,"swal2-dragging")}},rh=e=>{const t=ln();if(t&&q0){let{clientX:n,clientY:A}=Ey(e);const r=n-xy;t.style.insetInlineStart=`${Fy+(_e.isRTL?-r:r)}px`,t.style.insetBlockStart=`${_y+(A-Cy)}px`}},ih=()=>{const e=ln();q0=!1,ii(e,"swal2-dragging")},Ey=e=>{let t=0,n=0;return e.type.startsWith("mouse")?(t=e.clientX,n=e.clientY):e.type.startsWith("touch")&&(t=e.touches[0].clientX,n=e.touches[0].clientY),{clientX:t,clientY:n}},kQ=(e,t)=>{const n=ir(),A=ln();if(!(!n||!A)){if(t.toast){va(n,"width",t.width),A.style.width="100%";const r=Rl();r&&A.insertBefore(r,Ml())}else va(A,"width",t.width);va(A,"padding",t.padding),t.color&&(A.style.color=t.color),t.background&&(A.style.background=t.background),qA(zh()),TQ(A,t),t.draggable&&!t.toast?(on(A,Pt.draggable),LQ(A)):(ii(A,Pt.draggable),IQ(A))}},TQ=(e,t)=>{const n=t.showClass||{};e.className=`${Pt.popup} ${Br(e)?n.popup:""}`,t.toast?(on([document.documentElement,document.body],Pt["toast-shown"]),on(e,Pt.toast)):on(e,Pt.modal),Nr(e,t,"popup"),typeof t.customClass=="string"&&on(e,t.customClass),t.icon&&on(e,Pt[`icon-${t.icon}`])},NQ=(e,t)=>{const n=P0();if(!n)return;const{progressSteps:A,currentProgressStep:r}=t;if(!A||A.length===0||r===void 0){qA(n);return}vA(n),n.textContent="",r>=A.length&&rr("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),A.forEach((i,s)=>{const o=OQ(i);if(n.appendChild(o),s===r&&on(o,Pt["active-progress-step"]),s!==A.length-1){const a=HQ(t);n.appendChild(a)}})},OQ=e=>{const t=document.createElement("li");return on(t,Pt["progress-step"]),Hr(t,e),t},HQ=e=>{const t=document.createElement("li");return on(t,Pt["progress-step-line"]),e.progressStepsDistance&&va(t,"width",e.progressStepsDistance),t},PQ=(e,t)=>{const n=py();n&&(K0(n),cu(n,!!(t.title||t.titleText),"block"),t.title&&V0(t.title,n),t.titleText&&(n.innerText=t.titleText),Nr(n,t,"title"))},Uy=(e,t)=>{var n;kQ(e,t),dQ(e,t),NQ(e,t),_Q(e,t),SQ(e,t),PQ(e,t),hQ(e,t),CQ(e,t),cQ(e,t),FQ(e,t);const A=ln();typeof t.didRender=="function"&&A&&t.didRender(A),(n=_e.eventEmitter)===null||n===void 0||n.emit("didRender",A)},MQ=()=>Br(ln()),Qy=()=>{var e;return(e=Yi())===null||e===void 0?void 0:e.click()},DQ=()=>{var e;return(e=Ma())===null||e===void 0?void 0:e.click()},RQ=()=>{var e;return(e=Dl())===null||e===void 0?void 0:e.click()},Kl=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),Sy=e=>{if(e.keydownTarget&&e.keydownHandlerAdded&&e.keydownHandler){const t=e.keydownHandler;e.keydownTarget.removeEventListener("keydown",t,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!1}},KQ=(e,t,n)=>{if(Sy(e),!t.toast){const A=i=>VQ(t,i,n);e.keydownHandler=A;const r=t.keydownListenerCapture?window:ln();if(r){e.keydownTarget=r,e.keydownListenerCapture=t.keydownListenerCapture;const i=A;e.keydownTarget.addEventListener("keydown",i,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!0}}},hg=(e,t)=>{var n;const A=D0();if(A.length){e=e+t,e===-2&&(e=A.length-1),e===A.length?e=0:e===-1&&(e=A.length-1),A[e].focus();return}(n=ln())===null||n===void 0||n.focus()},Ly=["ArrowRight","ArrowDown"],jQ=["ArrowLeft","ArrowUp"],VQ=(e,t,n)=>{e&&(t.isComposing||t.keyCode===229||(e.stopKeydownPropagation&&t.stopPropagation(),t.key==="Enter"?WQ(t,e):t.key==="Tab"?qQ(t):[...Ly,...jQ].includes(t.key)?zQ(t.key):t.key==="Escape"&&GQ(t,e,n)))},WQ=(e,t)=>{if(!qh(t.allowEnterKey))return;const n=ln();if(!n||!t.input)return;const A=$h(n,t.input);if(e.target&&A&&e.target instanceof HTMLElement&&e.target.outerHTML===A.outerHTML){if(["textarea","file"].includes(t.input))return;Qy(),e.preventDefault()}},qQ=e=>{const t=e.target,n=D0();let A=-1;for(let r=0;r<n.length;r++)if(t===n[r]){A=r;break}e.shiftKey?hg(A,-1):hg(A,1),e.stopPropagation(),e.preventDefault()},zQ=e=>{const t=lu(),n=Yi(),A=Ma(),r=Dl();if(!t||!n||!A||!r)return;const i=[n,A,r];if(document.activeElement instanceof HTMLElement&&!i.includes(document.activeElement))return;const s=Ly.includes(e)?"nextElementSibling":"previousElementSibling";let o=document.activeElement;if(o){for(let a=0;a<t.children.length;a++){if(o=o[s],!o)return;if(o instanceof HTMLButtonElement&&Br(o))break}o instanceof HTMLButtonElement&&o.focus()}},GQ=(e,t,n)=>{e.preventDefault(),qh(t.allowEscapeKey)&&n(Kl.esc)};var El={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};const XQ=()=>{const e=ir();Array.from(document.body.children).forEach(n=>{n.contains(e)||(n.hasAttribute("aria-hidden")&&n.setAttribute("data-previous-aria-hidden",n.getAttribute("aria-hidden")||""),n.setAttribute("aria-hidden","true"))})},Iy=()=>{Array.from(document.body.children).forEach(t=>{t.hasAttribute("data-previous-aria-hidden")?(t.setAttribute("aria-hidden",t.getAttribute("data-previous-aria-hidden")||""),t.removeAttribute("data-previous-aria-hidden")):t.removeAttribute("aria-hidden")})},ky=typeof window<"u"&&!!window.GestureEvent,$Q=()=>{if(ky&&!Is(document.body,Pt.iosfix)){const e=document.body.scrollTop;document.body.style.top=`${e*-1}px`,on(document.body,Pt.iosfix),YQ()}},YQ=()=>{const e=ir();if(!e)return;let t;e.ontouchstart=n=>{t=JQ(n)},e.ontouchmove=n=>{t&&(n.preventDefault(),n.stopPropagation())}},JQ=e=>{const t=e.target,n=ir(),A=H0();return!n||!A||ZQ(e)||tS(e)?!1:t===n||!fg(n)&&t instanceof HTMLElement&&!JU(t,A)&&t.tagName!=="INPUT"&&t.tagName!=="TEXTAREA"&&!(fg(A)&&A.contains(t))},ZQ=e=>!!(e.touches&&e.touches.length&&e.touches[0].touchType==="stylus"),tS=e=>e.touches&&e.touches.length>1,eS=()=>{if(Is(document.body,Pt.iosfix)){const e=parseInt(document.body.style.top,10);ii(document.body,Pt.iosfix),document.body.style.top="",document.body.scrollTop=e*-1}},nS=()=>{const e=document.createElement("div");e.className=Pt["scrollbar-measure"],document.body.appendChild(e);const t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t};let wl=null;const AS=e=>{wl===null&&(document.body.scrollHeight>window.innerHeight||e==="scroll")&&(wl=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=`${wl+nS()}px`)},rS=()=>{wl!==null&&(document.body.style.paddingRight=`${wl}px`,wl=null)};function Ty(e,t,n,A){Xh()?Mm(e,A):(KU(n).then(()=>Mm(e,A)),Sy(_e)),ky?(t.setAttribute("style","display:none !important"),t.removeAttribute("class"),t.innerHTML=""):t.remove(),R0()&&(rS(),eS(),Iy()),iS()}function iS(){ii([document.documentElement,document.body],[Pt.shown,Pt["height-auto"],Pt["no-backdrop"],Pt["toast-shown"]])}function go(e){e=oS(e);const t=El.swalPromiseResolve.get(this),n=sS(this);this.isAwaitingPromise?e.isDismissed||(fu(this),t(e)):n&&t(e)}const sS=e=>{const t=ln();if(!t)return!1;const n=an.innerParams.get(e);if(!n||Is(t,n.hideClass.popup))return!1;ii(t,n.showClass.popup),on(t,n.hideClass.popup);const A=ir();return ii(A,n.showClass.backdrop),on(A,n.hideClass.backdrop),aS(e,t,n),!0};function Ny(e){const t=El.swalPromiseReject.get(this);fu(this),t&&t(e)}const fu=e=>{e.isAwaitingPromise&&(delete e.isAwaitingPromise,an.innerParams.get(e)||e._destroy())},oS=e=>typeof e>"u"?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},e),aS=(e,t,n)=>{var A;const r=ir(),i=by(t);typeof n.willClose=="function"&&n.willClose(t),(A=_e.eventEmitter)===null||A===void 0||A.emit("willClose",t),i&&r?lS(e,t,r,!!n.returnFocus,n.didClose):r&&Ty(e,r,!!n.returnFocus,n.didClose)},lS=(e,t,n,A,r)=>{_e.swalCloseEventFinishedCallback=Ty.bind(null,e,n,A,r);const i=function(s){if(s.target===t){var o;(o=_e.swalCloseEventFinishedCallback)===null||o===void 0||o.call(_e),delete _e.swalCloseEventFinishedCallback,t.removeEventListener("animationend",i),t.removeEventListener("transitionend",i)}};t.addEventListener("animationend",i),t.addEventListener("transitionend",i)},Mm=(e,t)=>{setTimeout(()=>{var n;typeof t=="function"&&t.bind(e.params)(),(n=_e.eventEmitter)===null||n===void 0||n.emit("didClose"),e._destroy&&e._destroy()})},Ul=e=>{let t=ln();if(t||new ch,t=ln(),!t)return;const n=Rl();Xh()?qA(Ml()):cS(t,e),vA(n),t.setAttribute("data-loading","true"),t.setAttribute("aria-busy","true"),t.focus()},cS=(e,t)=>{const n=lu(),A=Rl();!n||!A||(!t&&Br(Yi())&&(t=Yi()),vA(n),t&&(qA(t),A.setAttribute("data-button-to-replace",t.className),n.insertBefore(A,t)),on([e,n],Pt.loading))},uS=(e,t)=>{t.input==="select"||t.input==="radio"?gS(e,t):["text","email","number","tel","textarea"].some(n=>n===t.input)&&(N0(t.inputValue)||O0(t.inputValue))&&(Ul(Yi()),wS(e,t))},fS=(e,t)=>{const n=e.getInput();if(!n)return null;switch(t.input){case"checkbox":return hS(n);case"radio":return dS(n);case"file":return pS(n);default:return t.inputAutoTrim?n.value.trim():n.value}},hS=e=>e.checked?1:0,dS=e=>e.checked?e.value:null,pS=e=>e.files&&e.files.length?e.getAttribute("multiple")!==null?e.files:e.files[0]:null,gS=(e,t)=>{const n=ln();if(!n)return;const A=r=>{t.input==="select"?mS(n,sh(r),t):t.input==="radio"&&BS(n,sh(r),t)};N0(t.inputOptions)||O0(t.inputOptions)?(Ul(Yi()),ou(t.inputOptions).then(r=>{e.hideLoading(),A(r)})):typeof t.inputOptions=="object"?A(t.inputOptions):Pa(`Unexpected type of inputOptions! Expected object, Map or Promise, got ${typeof t.inputOptions}`)},wS=(e,t)=>{const n=e.getInput();n&&(qA(n),ou(t.inputValue).then(A=>{n.value=t.input==="number"?`${parseFloat(A)||0}`:`${A}`,vA(n),n.focus(),e.hideLoading()}).catch(A=>{Pa(`Error in inputValue promise: ${A}`),n.value="",vA(n),n.focus(),e.hideLoading()}))};function mS(e,t,n){const A=po(e,Pt.select);if(!A)return;const r=(i,s,o)=>{const a=document.createElement("option");a.value=o,Hr(a,s),a.selected=Oy(o,n.inputValue),i.appendChild(a)};t.forEach(i=>{const s=i[0],o=i[1];if(Array.isArray(o)){const a=document.createElement("optgroup");a.label=s,a.disabled=!1,A.appendChild(a),o.forEach(l=>r(a,l[1],l[0]))}else r(A,o,s)}),A.focus()}function BS(e,t,n){const A=po(e,Pt.radio);if(!A)return;t.forEach(i=>{const s=i[0],o=i[1],a=document.createElement("input"),l=document.createElement("label");a.type="radio",a.name=Pt.radio,a.value=s,Oy(s,n.inputValue)&&(a.checked=!0);const u=document.createElement("span");Hr(u,o),u.className=Pt.label,l.appendChild(a),l.appendChild(u),A.appendChild(l)});const r=A.querySelectorAll("input");r.length&&r[0].focus()}const sh=e=>{const t=[];return e instanceof Map?e.forEach((n,A)=>{let r=n;typeof r=="object"&&(r=sh(r)),t.push([A,r])}):Object.keys(e).forEach(n=>{let A=e[n];typeof A=="object"&&(A=sh(A)),t.push([n,A])}),t},Oy=(e,t)=>!!t&&t!==null&&t!==void 0&&t.toString()===e.toString(),bS=e=>{const t=an.innerParams.get(e);e.disableButtons(),t.input?Hy(e,"confirm"):G0(e,!0)},vS=e=>{const t=an.innerParams.get(e);e.disableButtons(),t.returnInputValueOnDeny?Hy(e,"deny"):z0(e,!1)},yS=(e,t)=>{e.disableButtons(),t(Kl.cancel)},Hy=(e,t)=>{const n=an.innerParams.get(e);if(!n.input){Pa(`The "input" parameter is needed to be set when using returnInputValueOn${T0(t)}`);return}const A=e.getInput(),r=fS(e,n);n.inputValidator?xS(e,r,t):A&&!A.checkValidity()?(e.enableButtons(),e.showValidationMessage(n.validationMessage||A.validationMessage)):t==="deny"?z0(e,r):G0(e,r)},xS=(e,t,n)=>{const A=an.innerParams.get(e);e.disableInput(),Promise.resolve().then(()=>ou(A.inputValidator(t,A.validationMessage))).then(i=>{e.enableButtons(),e.enableInput(),i?e.showValidationMessage(i):n==="deny"?z0(e,t):G0(e,t)})},z0=(e,t)=>{const n=an.innerParams.get(e);n.showLoaderOnDeny&&Ul(Ma()),n.preDeny?(e.isAwaitingPromise=!0,Promise.resolve().then(()=>ou(n.preDeny(t,n.validationMessage))).then(r=>{r===!1?(e.hideLoading(),fu(e)):e.close({isDenied:!0,value:typeof r>"u"?t:r})}).catch(r=>Py(e,r))):e.close({isDenied:!0,value:t})},Dm=(e,t)=>{e.close({isConfirmed:!0,value:t})},Py=(e,t)=>{e.rejectPromise(t)},G0=(e,t)=>{const n=an.innerParams.get(e);n.showLoaderOnConfirm&&Ul(),n.preConfirm?(e.resetValidationMessage(),e.isAwaitingPromise=!0,Promise.resolve().then(()=>ou(n.preConfirm(t,n.validationMessage))).then(r=>{Br(zh())||r===!1?(e.hideLoading(),fu(e)):Dm(e,typeof r>"u"?t:r)}).catch(r=>Py(e,r))):Dm(e,t)};function oh(){const e=an.innerParams.get(this);if(!e)return;const t=an.domCache.get(this);qA(t.loader),Xh()?e.icon&&vA(Ml()):CS(t),ii([t.popup,t.actions],Pt.loading),t.popup.removeAttribute("aria-busy"),t.popup.removeAttribute("data-loading"),t.confirmButton.disabled=!1,t.denyButton.disabled=!1,t.cancelButton.disabled=!1;const n=an.focusedElement.get(this);n instanceof HTMLElement&&document.activeElement===document.body&&n.focus(),an.focusedElement.delete(this)}const CS=e=>{const t=e.loader.getAttribute("data-button-to-replace"),n=t?e.popup.getElementsByClassName(t):[];n.length?vA(n[0],"inline-block"):YU()&&qA(e.actions)};function My(){const e=an.innerParams.get(this),t=an.domCache.get(this);return t?$h(t.popup,e.input):null}function Dy(e,t,n){const A=an.domCache.get(e);t.forEach(r=>{A[r].disabled=n})}function Ry(e,t){const n=ln();if(!(!n||!e))if(e.type==="radio"){const A=n.querySelectorAll(`[name="${Pt.radio}"]`);for(let r=0;r<A.length;r++)A[r].disabled=t}else e.disabled=t}function Ky(){Dy(this,["confirmButton","denyButton","cancelButton"],!1);const e=an.focusedElement.get(this);e instanceof HTMLElement&&document.activeElement===document.body&&e.focus(),an.focusedElement.delete(this)}function jy(){an.focusedElement.set(this,document.activeElement),Dy(this,["confirmButton","denyButton","cancelButton"],!0)}function Vy(){Ry(this.getInput(),!1)}function Wy(){Ry(this.getInput(),!0)}function qy(e){const t=an.domCache.get(this),n=an.innerParams.get(this);Hr(t.validationMessage,e),t.validationMessage.className=Pt["validation-message"],n.customClass&&n.customClass.validationMessage&&on(t.validationMessage,n.customClass.validationMessage),vA(t.validationMessage);const A=this.getInput();A&&(A.setAttribute("aria-invalid","true"),A.setAttribute("aria-describedby",Pt["validation-message"]),my(A),on(A,Pt.inputerror))}function zy(){const e=an.domCache.get(this);e.validationMessage&&qA(e.validationMessage);const t=this.getInput();t&&(t.removeAttribute("aria-invalid"),t.removeAttribute("aria-describedby"),ii(t,Pt.inputerror))}const wo={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,draggable:!1,animation:!0,theme:"light",showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:{},target:"body",color:void 0,backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void 0,preDeny:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,denyButtonText:"No",denyButtonAriaLabel:"",denyButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,returnFocus:!0,showCloseButton:!1,closeButtonHtml:"×",closeButtonAriaLabel:"Close this dialog",loaderHtml:"",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputLabel:"",inputValue:"",inputOptions:{},inputAutoFocus:!0,inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,willOpen:void 0,didOpen:void 0,didRender:void 0,willClose:void 0,didClose:void 0,didDestroy:void 0,scrollbarPadding:!0,topLayer:!1},FS=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","color","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","draggable","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","preConfirm","preDeny","progressSteps","returnFocus","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","theme","willClose"],_S={allowEnterKey:void 0},ES=["allowOutsideClick","allowEnterKey","backdrop","draggable","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],Gy=e=>Object.prototype.hasOwnProperty.call(wo,e),Xy=e=>FS.indexOf(e)!==-1,$y=e=>_S[e],US=e=>{Gy(e)||rr(`Unknown parameter "${e}"`)},QS=e=>{ES.includes(e)&&rr(`The parameter "${e}" is incompatible with toasts`)},SS=e=>{const t=$y(e);t&&dy(e,t)},Yy=e=>{e.backdrop===!1&&e.allowOutsideClick&&rr('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),e.theme&&!["light","dark","auto","minimal","borderless","bootstrap-4","bootstrap-4-light","bootstrap-4-dark","bootstrap-5","bootstrap-5-light","bootstrap-5-dark","material-ui","material-ui-light","material-ui-dark","embed-iframe","bulma","bulma-light","bulma-dark"].includes(e.theme)&&rr(`Invalid theme "${e.theme}"`);for(const t in e)US(t),e.toast&&QS(t),SS(t)};function Jy(e){const t=ir(),n=ln(),A=an.innerParams.get(this);if(!n||Is(n,A.hideClass.popup)){rr("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");return}const r=LS(e),i=Object.assign({},A,r);Yy(i),t&&(t.dataset.swal2Theme=i.theme),Uy(this,i),an.innerParams.set(this,i),Object.defineProperties(this,{params:{value:Object.assign({},this.params,e),writable:!1,enumerable:!0}})}const LS=e=>{const t={};return Object.keys(e).forEach(n=>{if(Xy(n)){const A=e;t[n]=A[n]}else rr(`Invalid parameter to update: ${n}`)}),t};function Zy(){var e;const t=an.domCache.get(this),n=an.innerParams.get(this);if(!n){t5(this);return}t.popup&&_e.swalCloseEventFinishedCallback&&(_e.swalCloseEventFinishedCallback(),delete _e.swalCloseEventFinishedCallback),typeof n.didDestroy=="function"&&n.didDestroy(),(e=_e.eventEmitter)===null||e===void 0||e.emit("didDestroy"),IS(this)}const IS=e=>{t5(e),delete e.params,delete _e.keydownHandler,delete _e.keydownTarget,delete _e.currentInstance},t5=e=>{e.isAwaitingPromise?(jd(an,e),e.isAwaitingPromise=!0):(jd(El,e),jd(an,e),delete e.isAwaitingPromise,delete e.disableButtons,delete e.enableButtons,delete e.getInput,delete e.disableInput,delete e.enableInput,delete e.hideLoading,delete e.disableLoading,delete e.showValidationMessage,delete e.resetValidationMessage,delete e.close,delete e.closePopup,delete e.closeModal,delete e.closeToast,delete e.rejectPromise,delete e.update,delete e._destroy)},jd=(e,t)=>{for(const n in e)e[n].delete(t)};var kS=Object.freeze({__proto__:null,_destroy:Zy,close:go,closeModal:go,closePopup:go,closeToast:go,disableButtons:jy,disableInput:Wy,disableLoading:oh,enableButtons:Ky,enableInput:Vy,getInput:My,handleAwaitingPromise:fu,hideLoading:oh,rejectPromise:Ny,resetValidationMessage:zy,showValidationMessage:qy,update:Jy});const TS=(e,t,n)=>{e.toast?NS(e,t,n):(HS(t),PS(t),MS(e,t,n))},NS=(e,t,n)=>{t.popup.onclick=()=>{e&&(OS(e)||e.timer||e.input)||n(Kl.close)}},OS=e=>!!(e.showConfirmButton||e.showDenyButton||e.showCancelButton||e.showCloseButton);let ah=!1;const HS=e=>{e.popup.onmousedown=()=>{e.container.onmouseup=function(t){e.container.onmouseup=()=>{},t.target===e.container&&(ah=!0)}}},PS=e=>{e.container.onmousedown=t=>{t.target===e.container&&t.preventDefault(),e.popup.onmouseup=function(n){e.popup.onmouseup=()=>{},(n.target===e.popup||n.target instanceof HTMLElement&&e.popup.contains(n.target))&&(ah=!0)}}},MS=(e,t,n)=>{t.container.onclick=A=>{if(ah){ah=!1;return}A.target===t.container&&qh(e.allowOutsideClick)&&n(Kl.backdrop)}},DS=e=>typeof e=="object"&&e!==null&&"jquery"in e,Rm=e=>e instanceof Element||DS(e),RS=e=>{const t={};return typeof e[0]=="object"&&!Rm(e[0])?Object.assign(t,e[0]):["title","html","icon"].forEach((n,A)=>{const r=e[A];typeof r=="string"||Rm(r)?t[n]=r:r!==void 0&&Pa(`Unexpected type of ${n}! Expected "string" or "Element", got ${typeof r}`)}),t};function KS(...e){return new this(...e)}function jS(e){class t extends this{_main(A,r){return super._main(A,Object.assign({},e,r))}}return t}const VS=()=>_e.timeout&&_e.timeout.getTimerLeft(),e5=()=>{if(_e.timeout)return ZU(),_e.timeout.stop()},n5=()=>{if(_e.timeout){const e=_e.timeout.start();return j0(e),e}},WS=()=>{const e=_e.timeout;return e&&(e.running?e5():n5())},qS=e=>{if(_e.timeout){const t=_e.timeout.increase(e);return j0(t,!0),t}},zS=()=>!!(_e.timeout&&_e.timeout.isRunning());let Km=!1;const dg={};function GS(e="data-swal-template"){dg[e]=this,Km||(document.body.addEventListener("click",XS),Km=!0)}const XS=e=>{for(let t=e.target;t&&t!==document;t=t.parentNode)for(const n in dg){const A=t.getAttribute&&t.getAttribute(n);if(A){dg[n].fire({template:A});return}}};class $S{constructor(){this.events={}}_getHandlersByEventName(t){return typeof this.events[t]>"u"&&(this.events[t]=[]),this.events[t]}on(t,n){const A=this._getHandlersByEventName(t);A.includes(n)||A.push(n)}once(t,n){const A=(...r)=>{this.removeListener(t,A),n.apply(this,r)};this.on(t,A)}emit(t,...n){this._getHandlersByEventName(t).forEach(A=>{try{A.apply(this,n)}catch(r){console.error(r)}})}removeListener(t,n){const A=this._getHandlersByEventName(t),r=A.indexOf(n);r>-1&&A.splice(r,1)}removeAllListeners(t){this.events[t]!==void 0&&(this.events[t].length=0)}reset(){this.events={}}}_e.eventEmitter=new $S;const YS=(e,t)=>{_e.eventEmitter&&_e.eventEmitter.on(e,t)},JS=(e,t)=>{_e.eventEmitter&&_e.eventEmitter.once(e,t)},ZS=(e,t)=>{if(_e.eventEmitter){if(!e){_e.eventEmitter.reset();return}t?_e.eventEmitter.removeListener(e,t):_e.eventEmitter.removeAllListeners(e)}};var tL=Object.freeze({__proto__:null,argsToParams:RS,bindClickHandler:GS,clickCancel:RQ,clickConfirm:Qy,clickDeny:DQ,enableLoading:Ul,fire:KS,getActions:lu,getCancelButton:Dl,getCloseButton:M0,getConfirmButton:Yi,getContainer:ir,getDenyButton:Ma,getFocusableElements:D0,getFooter:wy,getHtmlContainer:H0,getIcon:Ml,getIconContent:qU,getImage:gy,getInputLabel:zU,getLoader:Rl,getPopup:ln,getProgressSteps:P0,getTimerLeft:VS,getTimerProgressBar:Gh,getTitle:py,getValidationMessage:zh,increaseTimer:qS,isDeprecatedParameter:$y,isLoading:XU,isTimerRunning:zS,isUpdatableParameter:Xy,isValidParameter:Gy,isVisible:MQ,mixin:jS,off:ZS,on:YS,once:JS,resumeTimer:n5,showLoading:Ul,stopTimer:e5,toggleTimer:WS});class eL{constructor(t,n){this.callback=t,this.remaining=n,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.started&&this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=new Date().getTime()-this.started.getTime()),this.remaining}increase(t){const n=this.running;return n&&this.stop(),this.remaining+=t,n&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const A5=["swal-title","swal-html","swal-footer"],nL=e=>{const t=typeof e.template=="string"?document.querySelector(e.template):e.template;if(!t)return{};const n=t.content;return cL(n),Object.assign(AL(n),rL(n),iL(n),sL(n),oL(n),aL(n),lL(n,A5))},AL=e=>{const t={};return Array.from(e.querySelectorAll("swal-param")).forEach(A=>{La(A,["name","value"]);const r=A.getAttribute("name"),i=A.getAttribute("value");!r||!i||(r in wo&&typeof wo[r]=="boolean"?t[r]=i!=="false":r in wo&&typeof wo[r]=="object"?t[r]=JSON.parse(i):t[r]=i)}),t},rL=e=>{const t={};return Array.from(e.querySelectorAll("swal-function-param")).forEach(A=>{const r=A.getAttribute("name"),i=A.getAttribute("value");!r||!i||(t[r]=new Function(`return ${i}`)())}),t},iL=e=>{const t={};return Array.from(e.querySelectorAll("swal-button")).forEach(A=>{La(A,["type","color","aria-label"]);const r=A.getAttribute("type");if(!(!r||!["confirm","cancel","deny"].includes(r))){if(t[`${r}ButtonText`]=A.innerHTML,t[`show${T0(r)}Button`]=!0,A.hasAttribute("color")){const i=A.getAttribute("color");i!==null&&(t[`${r}ButtonColor`]=i)}if(A.hasAttribute("aria-label")){const i=A.getAttribute("aria-label");i!==null&&(t[`${r}ButtonAriaLabel`]=i)}}}),t},sL=e=>{const t={},n=e.querySelector("swal-image");return n&&(La(n,["src","width","height","alt"]),n.hasAttribute("src")&&(t.imageUrl=n.getAttribute("src")||void 0),n.hasAttribute("width")&&(t.imageWidth=n.getAttribute("width")||void 0),n.hasAttribute("height")&&(t.imageHeight=n.getAttribute("height")||void 0),n.hasAttribute("alt")&&(t.imageAlt=n.getAttribute("alt")||void 0)),t},oL=e=>{const t={},n=e.querySelector("swal-icon");return n&&(La(n,["type","color"]),n.hasAttribute("type")&&(t.icon=n.getAttribute("type")),n.hasAttribute("color")&&(t.iconColor=n.getAttribute("color")),t.iconHtml=n.innerHTML),t},aL=e=>{const t={},n=e.querySelector("swal-input");n&&(La(n,["type","label","placeholder","value"]),t.input=n.getAttribute("type")||"text",n.hasAttribute("label")&&(t.inputLabel=n.getAttribute("label")),n.hasAttribute("placeholder")&&(t.inputPlaceholder=n.getAttribute("placeholder")),n.hasAttribute("value")&&(t.inputValue=n.getAttribute("value")));const A=Array.from(e.querySelectorAll("swal-input-option"));return A.length&&(t.inputOptions={},A.forEach(r=>{La(r,["value"]);const i=r.getAttribute("value");if(!i)return;const s=r.innerHTML;t.inputOptions[i]=s})),t},lL=(e,t)=>{const n={};for(const A in t){const r=t[A],i=e.querySelector(r);i&&(La(i,[]),n[r.replace(/^swal-/,"")]=i.innerHTML.trim())}return n},cL=e=>{const t=A5.concat(["swal-param","swal-function-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);Array.from(e.children).forEach(n=>{const A=n.tagName.toLowerCase();t.includes(A)||rr(`Unrecognized element <${A}>`)})},La=(e,t)=>{Array.from(e.attributes).forEach(n=>{t.indexOf(n.name)===-1&&rr([`Unrecognized attribute "${n.name}" on <${e.tagName.toLowerCase()}>.`,`${t.length?`Allowed attributes are: ${t.join(", ")}`:"To set the value, use HTML within the element."}`])})},r5=10,uL=e=>{var t,n;const A=ir(),r=ln();if(!A||!r)return;typeof e.willOpen=="function"&&e.willOpen(r),(t=_e.eventEmitter)===null||t===void 0||t.emit("willOpen",r);const s=window.getComputedStyle(document.body).overflowY;if(dL(A,r,e),setTimeout(()=>{fL(A,r)},r5),R0()&&(hL(A,e.scrollbarPadding!==void 0?e.scrollbarPadding:!1,s),XQ()),!Xh()&&!_e.previousActiveElement&&(_e.previousActiveElement=document.activeElement),typeof e.didOpen=="function"){const o=e.didOpen;setTimeout(()=>o(r))}(n=_e.eventEmitter)===null||n===void 0||n.emit("didOpen",r)},lh=e=>{const t=ln();if(!t||e.target!==t)return;const n=ir();n&&(t.removeEventListener("animationend",lh),t.removeEventListener("transitionend",lh),n.style.overflowY="auto",ii(n,Pt["no-transition"]))},fL=(e,t)=>{by(t)?(e.style.overflowY="hidden",t.addEventListener("animationend",lh),t.addEventListener("transitionend",lh)):e.style.overflowY="auto"},hL=(e,t,n)=>{$Q(),t&&n!=="hidden"&&AS(n),setTimeout(()=>{e.scrollTop=0})},dL=(e,t,n)=>{var A;(A=n.showClass)!==null&&A!==void 0&&A.backdrop&&on(e,n.showClass.backdrop),n.animation?(t.style.setProperty("opacity","0","important"),vA(t,"grid"),setTimeout(()=>{var r;(r=n.showClass)!==null&&r!==void 0&&r.popup&&on(t,n.showClass.popup),t.style.removeProperty("opacity")},r5)):vA(t,"grid"),on([document.documentElement,document.body],Pt.shown),n.heightAuto&&n.backdrop&&!n.toast&&on([document.documentElement,document.body],Pt["height-auto"])};var jm={email:(e,t)=>/^[a-zA-Z0-9.+_'-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]+$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid email address"),url:(e,t)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid URL")};function pL(e){e.inputValidator||(e.input==="email"&&(e.inputValidator=jm.email),e.input==="url"&&(e.inputValidator=jm.url))}function gL(e){(!e.target||typeof e.target=="string"&&!document.querySelector(e.target)||typeof e.target!="string"&&!e.target.appendChild)&&(rr('Target parameter is not valid, defaulting to "body"'),e.target="body")}function wL(e){pL(e),e.showLoaderOnConfirm&&!e.preConfirm&&rr(`showLoaderOnConfirm is set to true, but preConfirm is not defined. showLoaderOnConfirm should be used together with preConfirm, see usage example: https://sweetalert2.github.io/#ajax-request`),gL(e),typeof e.title=="string"&&(e.title=e.title.split(` `).join("<br />")),oQ(e)}let Gi;var Ku=new WeakMap;class rA{constructor(...t){if(PU(this,Ku,Promise.resolve({isConfirmed:!1,isDenied:!1,isDismissed:!0})),typeof window>"u")return;Gi=this;const n=Object.freeze(this.constructor.argsToParams(t));this.params=n,this.isAwaitingPromise=!1,MU(Ku,this,this._main(Gi.params))}_main(t,n={}){if(Yy(Object.assign({},n,t)),_e.currentInstance){const i=El.swalPromiseResolve.get(_e.currentInstance),{isAwaitingPromise:s}=_e.currentInstance;_e.currentInstance._destroy(),s||i({isDismissed:!0}),R0()&&Iy()}_e.currentInstance=Gi;const A=BL(t,n);wL(A),Object.freeze(A),_e.timeout&&(_e.timeout.stop(),delete _e.timeout),clearTimeout(_e.restoreFocusTimeout);const r=bL(Gi);return Uy(Gi,A),an.innerParams.set(Gi,A),mL(Gi,r,A)}then(t){return km(Ku,this).then(t)}finally(t){return km(Ku,this).finally(t)}}const mL=(e,t,n)=>new Promise((A,r)=>{const i=s=>{e.close({isDismissed:!0,dismiss:s,isConfirmed:!1,isDenied:!1})};El.swalPromiseResolve.set(e,A),El.swalPromiseReject.set(e,r),t.confirmButton.onclick=()=>{bS(e)},t.denyButton.onclick=()=>{vS(e)},t.cancelButton.onclick=()=>{yS(e,i)},t.closeButton.onclick=()=>{i(Kl.close)},TS(n,t,i),KQ(_e,n,i),uS(e,n),uL(n),vL(_e,n,i),yL(t,n),setTimeout(()=>{t.container.scrollTop=0})}),BL=(e,t)=>{const n=nL(e),A=Object.assign({},wo,t,n,e);return A.showClass=Object.assign({},wo.showClass,A.showClass),A.hideClass=Object.assign({},wo.hideClass,A.hideClass),A.animation===!1&&(A.showClass={backdrop:"swal2-noanimation"},A.hideClass={}),A},bL=e=>{const t={popup:ln(),container:ir(),actions:lu(),confirmButton:Yi(),denyButton:Ma(),cancelButton:Dl(),loader:Rl(),closeButton:M0(),validationMessage:zh(),progressSteps:P0()};return an.domCache.set(e,t),t},vL=(e,t,n)=>{const A=Gh();qA(A),t.timer&&(e.timeout=new eL(()=>{n("timer"),delete e.timeout},t.timer),t.timerProgressBar&&A&&(vA(A),Nr(A,t,"timerProgressBar"),setTimeout(()=>{e.timeout&&e.timeout.running&&j0(t.timer)})))},yL=(e,t)=>{if(!t.toast){if(!qh(t.allowEnterKey)){dy("allowEnterKey","preConfirm: () => false"),e.popup.focus();return}xL(e)||CL(e,t)||hg(-1,1)}},xL=e=>{const t=Array.from(e.popup.querySelectorAll("[autofocus]"));for(const n of t)if(n instanceof HTMLElement&&Br(n))return n.focus(),!0;return!1},CL=(e,t)=>t.focusDeny&&Br(e.denyButton)?(e.denyButton.focus(),!0):t.focusCancel&&Br(e.cancelButton)?(e.cancelButton.focus(),!0):t.focusConfirm&&Br(e.confirmButton)?(e.confirmButton.focus(),!0):!1;rA.prototype.disableButtons=jy;rA.prototype.enableButtons=Ky;rA.prototype.getInput=My;rA.prototype.disableInput=Wy;rA.prototype.enableInput=Vy;rA.prototype.hideLoading=oh;rA.prototype.disableLoading=oh;rA.prototype.showValidationMessage=qy;rA.prototype.resetValidationMessage=zy;rA.prototype.close=go;rA.prototype.closePopup=go;rA.prototype.closeModal=go;rA.prototype.closeToast=go;rA.prototype.rejectPromise=Ny;rA.prototype.update=Jy;rA.prototype._destroy=Zy;Object.assign(rA,tL);Object.keys(kS).forEach(e=>{rA[e]=function(...t){if(Gi&&Gi[e])return Gi[e](...t)}});rA.DismissReason=Kl;rA.version="11.26.21";const ch=rA;ch.default=ch;typeof document<"u"&&(function(e,t){var n=e.createElement("style");if(e.getElementsByTagName("head")[0].appendChild(n),n.styleSheet)n.styleSheet.disabled||(n.styleSheet.cssText=t);else try{n.innerHTML=t}catch{n.innerText=t}})(document,':root{--swal2-outline: 0 0 0 3px rgba(100, 150, 200, 0.5);--swal2-container-padding: 0.625em;--swal2-backdrop: rgba(0, 0, 0, 0.4);--swal2-backdrop-transition: background-color 0.15s;--swal2-width: 32em;--swal2-padding: 0 0 1.25em;--swal2-border: none;--swal2-border-radius: 0.3125rem;--swal2-background: white;--swal2-color: #545454;--swal2-show-animation: swal2-show 0.3s;--swal2-hide-animation: swal2-hide 0.15s forwards;--swal2-icon-zoom: 1;--swal2-icon-animations: true;--swal2-title-padding: 0.8em 1em 0;--swal2-html-container-padding: 1em 1.6em 0.3em;--swal2-input-border: 1px solid #d9d9d9;--swal2-input-border-radius: 0.1875em;--swal2-input-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px transparent;--swal2-input-background: transparent;--swal2-input-transition: border-color 0.2s, box-shadow 0.2s;--swal2-input-hover-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px transparent;--swal2-input-focus-border: 1px solid #b4dbed;--swal2-input-focus-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px rgba(100, 150, 200, 0.5);--swal2-progress-step-background: #add8e6;--swal2-validation-message-background: #f0f0f0;--swal2-validation-message-color: #666;--swal2-footer-border-color: #eee;--swal2-footer-background: transparent;--swal2-footer-color: inherit;--swal2-timer-progress-bar-background: rgba(0, 0, 0, 0.3);--swal2-close-button-position: initial;--swal2-close-button-inset: auto;--swal2-close-button-font-size: 2.5em;--swal2-close-button-color: #ccc;--swal2-close-button-transition: color 0.2s, box-shadow 0.2s;--swal2-close-button-outline: initial;--swal2-close-button-box-shadow: inset 0 0 0 3px transparent;--swal2-close-button-focus-box-shadow: inset var(--swal2-outline);--swal2-close-button-hover-transform: none;--swal2-actions-justify-content: center;--swal2-actions-width: auto;--swal2-actions-margin: 1.25em auto 0;--swal2-actions-padding: 0;--swal2-actions-border-radius: 0;--swal2-actions-background: transparent;--swal2-action-button-transition: background-color 0.2s, box-shadow 0.2s;--swal2-action-button-hover: black 10%;--swal2-action-button-active: black 10%;--swal2-confirm-button-box-shadow: none;--swal2-confirm-button-border-radius: 0.25em;--swal2-confirm-button-background-color: #7066e0;--swal2-confirm-button-color: #fff;--swal2-deny-button-box-shadow: none;--swal2-deny-button-border-radius: 0.25em;--swal2-deny-button-background-color: #dc3741;--swal2-deny-button-color: #fff;--swal2-cancel-button-box-shadow: none;--swal2-cancel-button-border-radius: 0.25em;--swal2-cancel-button-background-color: #6e7881;--swal2-cancel-button-color: #fff;--swal2-toast-show-animation: swal2-toast-show 0.5s;--swal2-toast-hide-animation: swal2-toast-hide 0.1s forwards;--swal2-toast-border: none;--swal2-toast-box-shadow: 0 0 1px hsl(0deg 0% 0% / 0.075), 0 1px 2px hsl(0deg 0% 0% / 0.075), 1px 2px 4px hsl(0deg 0% 0% / 0.075), 1px 3px 8px hsl(0deg 0% 0% / 0.075), 2px 4px 16px hsl(0deg 0% 0% / 0.075)}[data-swal2-theme=dark]{--swal2-dark-theme-black: #19191a;--swal2-dark-theme-white: #e1e1e1;--swal2-background: var(--swal2-dark-theme-black);--swal2-color: var(--swal2-dark-theme-white);--swal2-footer-border-color: #555;--swal2-input-background: color-mix(in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10%);--swal2-validation-message-background: color-mix( in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10% );--swal2-validation-message-color: var(--swal2-dark-theme-white);--swal2-timer-progress-bar-background: rgba(255, 255, 255, 0.7)}@media(prefers-color-scheme: dark){[data-swal2-theme=auto]{--swal2-dark-theme-black: #19191a;--swal2-dark-theme-white: #e1e1e1;--swal2-background: var(--swal2-dark-theme-black);--swal2-color: var(--swal2-dark-theme-white);--swal2-footer-border-color: #555;--swal2-input-background: color-mix(in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10%);--swal2-validation-message-background: color-mix( in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10% );--swal2-validation-message-color: var(--swal2-dark-theme-white);--swal2-timer-progress-bar-background: rgba(255, 255, 255, 0.7)}}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto !important}body.swal2-no-backdrop .swal2-container{background-color:rgba(0,0,0,0) !important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px var(--swal2-backdrop)}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:rgba(0,0,0,0);pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{inset:0 auto auto 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{inset:0 0 auto auto}body.swal2-toast-shown .swal2-container.swal2-top-start,body.swal2-toast-shown .swal2-container.swal2-top-left{inset:0 auto auto 0}body.swal2-toast-shown .swal2-container.swal2-center-start,body.swal2-toast-shown .swal2-container.swal2-center-left{inset:50% auto auto 0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{inset:50% auto auto 50%;transform:translate(-50%, -50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{inset:50% 0 auto auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-start,body.swal2-toast-shown .swal2-container.swal2-bottom-left{inset:auto auto 0 0}body.swal2-toast-shown .swal2-container.swal2-bottom{inset:auto auto 0 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{inset:auto 0 0 auto}@media print{body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown){overflow-y:scroll !important}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown) .swal2-container{position:static !important}}div:where(.swal2-container){display:grid;position:fixed;z-index:1060;inset:0;box-sizing:border-box;grid-template-areas:"top-start top top-end" "center-start center center-end" "bottom-start bottom-center bottom-end";grid-template-rows:minmax(min-content, auto) minmax(min-content, auto) minmax(min-content, auto);height:100%;padding:var(--swal2-container-padding);overflow-x:hidden;transition:var(--swal2-backdrop-transition);-webkit-overflow-scrolling:touch}div:where(.swal2-container).swal2-backdrop-show,div:where(.swal2-container).swal2-noanimation{background:var(--swal2-backdrop)}div:where(.swal2-container).swal2-backdrop-hide{background:rgba(0,0,0,0) !important}div:where(.swal2-container).swal2-top-start,div:where(.swal2-container).swal2-center-start,div:where(.swal2-container).swal2-bottom-start{grid-template-columns:minmax(0, 1fr) auto auto}div:where(.swal2-container).swal2-top,div:where(.swal2-container).swal2-center,div:where(.swal2-container).swal2-bottom{grid-template-columns:auto minmax(0, 1fr) auto}div:where(.swal2-container).swal2-top-end,div:where(.swal2-container).swal2-center-end,div:where(.swal2-container).swal2-bottom-end{grid-template-columns:auto auto minmax(0, 1fr)}div:where(.swal2-container).swal2-top-start>.swal2-popup{align-self:start}div:where(.swal2-container).swal2-top>.swal2-popup{grid-column:2;place-self:start center}div:where(.swal2-container).swal2-top-end>.swal2-popup,div:where(.swal2-container).swal2-top-right>.swal2-popup{grid-column:3;place-self:start end}div:where(.swal2-container).swal2-center-start>.swal2-popup,div:where(.swal2-container).swal2-center-left>.swal2-popup{grid-row:2;align-self:center}div:where(.swal2-container).swal2-center>.swal2-popup{grid-column:2;grid-row:2;place-self:center center}div:where(.swal2-container).swal2-center-end>.swal2-popup,div:where(.swal2-container).swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;place-self:center end}div:where(.swal2-container).swal2-bottom-start>.swal2-popup,div:where(.swal2-container).swal2-bottom-left>.swal2-popup{grid-column:1;grid-row:3;align-self:end}div:where(.swal2-container).swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;place-self:end center}div:where(.swal2-container).swal2-bottom-end>.swal2-popup,div:where(.swal2-container).swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;place-self:end end}div:where(.swal2-container).swal2-grow-row>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-column:1/4;width:100%}div:where(.swal2-container).swal2-grow-column>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}div:where(.swal2-container).swal2-no-transition{transition:none !important}div:where(.swal2-container)[popover]{width:auto;border:0}div:where(.swal2-container) div:where(.swal2-popup){display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0, 100%);width:var(--swal2-width);max-width:100%;padding:var(--swal2-padding);border:var(--swal2-border);border-radius:var(--swal2-border-radius);background:var(--swal2-background);color:var(--swal2-color);font-family:inherit;font-size:1rem;container-name:swal2-popup}div:where(.swal2-container) div:where(.swal2-popup):focus{outline:none}div:where(.swal2-container) div:where(.swal2-popup).swal2-loading{overflow-y:hidden}div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable{cursor:grab}div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable div:where(.swal2-icon){cursor:grab}div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging{cursor:grabbing}div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging div:where(.swal2-icon){cursor:grabbing}div:where(.swal2-container) h2:where(.swal2-title){position:relative;max-width:100%;margin:0;padding:var(--swal2-title-padding);color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;overflow-wrap:break-word;cursor:initial}div:where(.swal2-container) div:where(.swal2-actions){display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:var(--swal2-actions-justify-content);width:var(--swal2-actions-width);margin:var(--swal2-actions-margin);padding:var(--swal2-actions-padding);border-radius:var(--swal2-actions-border-radius);background:var(--swal2-actions-background)}div:where(.swal2-container) div:where(.swal2-loader){display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 rgba(0,0,0,0) #2778c4 rgba(0,0,0,0)}div:where(.swal2-container) button:where(.swal2-styled){margin:.3125em;padding:.625em 1.1em;transition:var(--swal2-action-button-transition);border:none;box-shadow:0 0 0 3px rgba(0,0,0,0);font-weight:500}div:where(.swal2-container) button:where(.swal2-styled):not([disabled]){cursor:pointer}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm){border-radius:var(--swal2-confirm-button-border-radius);background:initial;background-color:var(--swal2-confirm-button-background-color);box-shadow:var(--swal2-confirm-button-box-shadow);color:var(--swal2-confirm-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):hover{background-color:color-mix(in srgb, var(--swal2-confirm-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):active{background-color:color-mix(in srgb, var(--swal2-confirm-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny){border-radius:var(--swal2-deny-button-border-radius);background:initial;background-color:var(--swal2-deny-button-background-color);box-shadow:var(--swal2-deny-button-box-shadow);color:var(--swal2-deny-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):hover{background-color:color-mix(in srgb, var(--swal2-deny-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):active{background-color:color-mix(in srgb, var(--swal2-deny-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel){border-radius:var(--swal2-cancel-button-border-radius);background:initial;background-color:var(--swal2-cancel-button-background-color);box-shadow:var(--swal2-cancel-button-box-shadow);color:var(--swal2-cancel-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):hover{background-color:color-mix(in srgb, var(--swal2-cancel-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):active{background-color:color-mix(in srgb, var(--swal2-cancel-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):focus-visible{outline:none;box-shadow:var(--swal2-action-button-focus-box-shadow)}div:where(.swal2-container) button:where(.swal2-styled)[disabled]:not(.swal2-loading){opacity:.4}div:where(.swal2-container) button:where(.swal2-styled)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-footer){margin:1em 0 0;padding:1em 1em 0;border-top:1px solid var(--swal2-footer-border-color);background:var(--swal2-footer-background);color:var(--swal2-footer-color);font-size:1em;text-align:center;cursor:initial}div:where(.swal2-container) .swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto !important;overflow:hidden;border-bottom-right-radius:var(--swal2-border-radius);border-bottom-left-radius:var(--swal2-border-radius)}div:where(.swal2-container) div:where(.swal2-timer-progress-bar){width:100%;height:.25em;background:var(--swal2-timer-progress-bar-background)}div:where(.swal2-container) img:where(.swal2-image){max-width:100%;margin:2em auto 1em;cursor:initial}div:where(.swal2-container) button:where(.swal2-close){position:var(--swal2-close-button-position);inset:var(--swal2-close-button-inset);z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:var(--swal2-close-button-transition);border:none;border-radius:var(--swal2-border-radius);outline:var(--swal2-close-button-outline);background:rgba(0,0,0,0);color:var(--swal2-close-button-color);font-family:monospace;font-size:var(--swal2-close-button-font-size);cursor:pointer;justify-self:end}div:where(.swal2-container) button:where(.swal2-close):hover{transform:var(--swal2-close-button-hover-transform);background:rgba(0,0,0,0);color:#f27474}div:where(.swal2-container) button:where(.swal2-close):focus-visible{outline:none;box-shadow:var(--swal2-close-button-focus-box-shadow)}div:where(.swal2-container) button:where(.swal2-close)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-html-container){z-index:1;justify-content:center;margin:0;padding:var(--swal2-html-container-padding);overflow:auto;color:inherit;font-size:1.125em;font-weight:normal;line-height:normal;text-align:center;overflow-wrap:break-word;word-break:break-word;cursor:initial}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea),div:where(.swal2-container) select:where(.swal2-select),div:where(.swal2-container) div:where(.swal2-radio),div:where(.swal2-container) label:where(.swal2-checkbox){margin:1em 2em 3px}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea){box-sizing:border-box;width:auto;transition:var(--swal2-input-transition);border:var(--swal2-input-border);border-radius:var(--swal2-input-border-radius);background:var(--swal2-input-background);box-shadow:var(--swal2-input-box-shadow);color:inherit;font-size:1.125em}div:where(.swal2-container) input:where(.swal2-input).swal2-inputerror,div:where(.swal2-container) input:where(.swal2-file).swal2-inputerror,div:where(.swal2-container) textarea:where(.swal2-textarea).swal2-inputerror{border-color:#f27474 !important;box-shadow:0 0 2px #f27474 !important}div:where(.swal2-container) input:where(.swal2-input):hover,div:where(.swal2-container) input:where(.swal2-file):hover,div:where(.swal2-container) textarea:where(.swal2-textarea):hover{box-shadow:var(--swal2-input-hover-box-shadow)}div:where(.swal2-container) input:where(.swal2-input):focus,div:where(.swal2-container) input:where(.swal2-file):focus,div:where(.swal2-container) textarea:where(.swal2-textarea):focus{border:var(--swal2-input-focus-border);outline:none;box-shadow:var(--swal2-input-focus-box-shadow)}div:where(.swal2-container) input:where(.swal2-input)::placeholder,div:where(.swal2-container) input:where(.swal2-file)::placeholder,div:where(.swal2-container) textarea:where(.swal2-textarea)::placeholder{color:#ccc}div:where(.swal2-container) .swal2-range{margin:1em 2em 3px;background:var(--swal2-background)}div:where(.swal2-container) .swal2-range input{width:80%}div:where(.swal2-container) .swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}div:where(.swal2-container) .swal2-range input,div:where(.swal2-container) .swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}div:where(.swal2-container) .swal2-input{height:2.625em;padding:0 .75em}div:where(.swal2-container) .swal2-file{width:75%;margin-right:auto;margin-left:auto;background:var(--swal2-input-background);font-size:1.125em}div:where(.swal2-container) .swal2-textarea{height:6.75em;padding:.75em}div:where(.swal2-container) .swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:var(--swal2-input-background);color:inherit;font-size:1.125em}div:where(.swal2-container) .swal2-radio,div:where(.swal2-container) .swal2-checkbox{align-items:center;justify-content:center;background:var(--swal2-background);color:inherit}div:where(.swal2-container) .swal2-radio label,div:where(.swal2-container) .swal2-checkbox label{margin:0 .6em;font-size:1.125em}div:where(.swal2-container) .swal2-radio input,div:where(.swal2-container) .swal2-checkbox input{flex-shrink:0;margin:0 .4em}div:where(.swal2-container) label:where(.swal2-input-label){display:flex;justify-content:center;margin:1em auto 0}div:where(.swal2-container) div:where(.swal2-validation-message){align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:var(--swal2-validation-message-background);color:var(--swal2-validation-message-color);font-size:1em;font-weight:300}div:where(.swal2-container) div:where(.swal2-validation-message)::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}div:where(.swal2-container) .swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:rgba(0,0,0,0);font-weight:600}div:where(.swal2-container) .swal2-progress-steps li{display:inline-block;position:relative}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:var(--swal2-progress-step-background);color:#fff}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:var(--swal2-progress-step-background)}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}div:where(.swal2-icon){position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;zoom:var(--swal2-icon-zoom);border:.25em solid rgba(0,0,0,0);border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;user-select:none}div:where(.swal2-icon) .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}div:where(.swal2-icon).swal2-error{border-color:#f27474;color:#f27474}div:where(.swal2-icon).swal2-error .swal2-x-mark{position:relative;flex-grow:1}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-error.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-error.swal2-icon-show .swal2-x-mark{animation:swal2-animate-error-x-mark .5s}}div:where(.swal2-icon).swal2-warning{border-color:#f8bb86;color:#f8bb86}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-warning.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-warning.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .5s}}div:where(.swal2-icon).swal2-info{border-color:#3fc3ee;color:#3fc3ee}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-info.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-info.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .8s}}div:where(.swal2-icon).swal2-question{border-color:#87adbd;color:#87adbd}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-question.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-question.swal2-icon-show .swal2-icon-content{animation:swal2-animate-question-mark .8s}}div:where(.swal2-icon).swal2-success{border-color:#a5dc86;color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;border-radius:50%}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}div:where(.swal2-icon).swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-0.25em;left:-0.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}div:where(.swal2-icon).swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-animate-success-line-tip .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-animate-success-line-long .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-circular-line-right{animation:swal2-rotate-success-circular-line 4.25s ease-in}}[class^=swal2]{-webkit-tap-highlight-color:rgba(0,0,0,0)}.swal2-show{animation:var(--swal2-show-animation)}.swal2-hide{animation:var(--swal2-hide-animation)}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}.swal2-toast{box-sizing:border-box;grid-column:1/4 !important;grid-row:1/4 !important;grid-template-columns:min-content auto min-content;padding:1em;overflow-y:hidden;border:var(--swal2-toast-border);background:var(--swal2-background);box-shadow:var(--swal2-toast-box-shadow);pointer-events:all}.swal2-toast>*{grid-column:2}.swal2-toast h2:where(.swal2-title){margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-toast .swal2-loading{justify-content:center}.swal2-toast input:where(.swal2-input){height:2em;margin:.5em;font-size:1em}.swal2-toast .swal2-validation-message{font-size:1em}.swal2-toast div:where(.swal2-footer){margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-toast button:where(.swal2-close){grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-toast div:where(.swal2-html-container){margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-toast div:where(.swal2-html-container):empty{padding:0}.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:bold}.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-toast div:where(.swal2-actions){justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-toast button:where(.swal2-styled){margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;border-radius:50%}.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.8em;left:-0.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}@container swal2-popup style(--swal2-icon-animations:true){.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-toast-animate-success-line-long .75s}}.swal2-toast.swal2-show{animation:var(--swal2-toast-show-animation)}.swal2-toast.swal2-hide{animation:var(--swal2-toast-hide-animation)}@keyframes swal2-show{0%{transform:translate3d(0, -50px, 0) scale(0.9);opacity:0}100%{transform:translate3d(0, 0, 0) scale(1);opacity:1}}@keyframes swal2-hide{0%{transform:translate3d(0, 0, 0) scale(1);opacity:1}100%{transform:translate3d(0, -50px, 0) scale(0.9);opacity:0}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-0.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(0.4);opacity:0}50%{margin-top:1.625em;transform:scale(0.4);opacity:0}80%{margin-top:-0.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0deg);opacity:1}}@keyframes swal2-rotate-loading{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-toast-show{0%{transform:translateY(-0.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(0.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0deg)}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-0.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}');var pg=function(e,t){return pg=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,A){n.__proto__=A}||function(n,A){for(var r in A)Object.prototype.hasOwnProperty.call(A,r)&&(n[r]=A[r])},pg(e,t)};function Ui(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");pg(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var gg=function(){return gg=Object.assign||function(t){for(var n,A=1,r=arguments.length;A<r;A++){n=arguments[A];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},gg.apply(this,arguments)};function nr(e,t,n,A){function r(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function o(u){try{l(A.next(u))}catch(h){s(h)}}function a(u){try{l(A.throw(u))}catch(h){s(h)}}function l(u){u.done?i(u.value):r(u.value).then(o,a)}l((A=A.apply(e,[])).next())})}function DA(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},A,r,i,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(l){return function(u){return a([l,u])}}function a(l){if(A)throw new TypeError("Generator is already executing.");for(;n;)try{if(A=1,r&&(i=l[0]&2?r.return:l[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,l[1])).done)return i;switch(r=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return n.label++,{value:l[1],done:!1};case 5:n.label++,r=l[1],l=[0];continue;case 7:l=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){n.label=l[1];break}if(l[0]===6&&n.label<i[1]){n.label=i[1],i=l;break}if(i&&n.label<i[2]){n.label=i[2],n.ops.push(l);break}i[2]&&n.ops.pop(),n.trys.pop();continue}l=t.call(e,n)}catch(u){l=[6,u],r=0}finally{A=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function ju(e,t,n){if(arguments.length===2)for(var A=0,r=t.length,i;A<r;A++)(i||!(A in t))&&(i||(i=Array.prototype.slice.call(t,0,A)),i[A]=t[A]);return e.concat(i||t)}var Ns=(function(){function e(t,n,A,r){this.left=t,this.top=n,this.width=A,this.height=r}return e.prototype.add=function(t,n,A,r){return new e(this.left+t,this.top+n,this.width+A,this.height+r)},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 A=Array.from(n).find(function(r){return r.width!==0});return A?new e(A.left+t.windowBounds.left,A.top+t.windowBounds.top,A.width,A.height):e.EMPTY},e.EMPTY=new e(0,0,0,0),e})(),Yh=function(e,t){return Ns.fromClientRect(e,t.getBoundingClientRect())},FL=function(e){var t=e.body,n=e.documentElement;if(!t||!n)throw new Error("Unable to get document size");var A=Math.max(Math.max(t.scrollWidth,n.scrollWidth),Math.max(t.offsetWidth,n.offsetWidth),Math.max(t.clientWidth,n.clientWidth)),r=Math.max(Math.max(t.scrollHeight,n.scrollHeight),Math.max(t.offsetHeight,n.offsetHeight),Math.max(t.clientHeight,n.clientHeight));return new Ns(0,0,A,r)},Jh=function(e){for(var t=[],n=0,A=e.length;n<A;){var r=e.charCodeAt(n++);if(r>=55296&&r<=56319&&n<A){var i=e.charCodeAt(n++);(i&64512)===56320?t.push(((r&1023)<<10)+(i&1023)+65536):(t.push(r),n--)}else t.push(r)}return t},$n=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 A=[],r=-1,i="";++r<n;){var s=e[r];s<=65535?A.push(s):(s-=65536,A.push((s>>10)+55296,s%1024+56320)),(r+1===n||A.length>16384)&&(i+=String.fromCharCode.apply(String,A),A.length=0)}return i},Vm="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",_L=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Vu=0;Vu<Vm.length;Vu++)_L[Vm.charCodeAt(Vu)]=Vu;var Wm="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",gc=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Wu=0;Wu<Wm.length;Wu++)gc[Wm.charCodeAt(Wu)]=Wu;var EL=function(e){var t=e.length*.75,n=e.length,A,r=0,i,s,o,a;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(t):new Array(t),u=Array.isArray(l)?l:new Uint8Array(l);for(A=0;A<n;A+=4)i=gc[e.charCodeAt(A)],s=gc[e.charCodeAt(A+1)],o=gc[e.charCodeAt(A+2)],a=gc[e.charCodeAt(A+3)],u[r++]=i<<2|s>>4,u[r++]=(s&15)<<4|o>>2,u[r++]=(o&3)<<6|a&63;return l},UL=function(e){for(var t=e.length,n=[],A=0;A<t;A+=2)n.push(e[A+1]<<8|e[A]);return n},QL=function(e){for(var t=e.length,n=[],A=0;A<t;A+=4)n.push(e[A+3]<<24|e[A+2]<<16|e[A+1]<<8|e[A]);return n},ya=5,X0=11,Vd=2,SL=X0-ya,i5=65536>>ya,LL=1<<ya,Wd=LL-1,IL=1024>>ya,kL=i5+IL,TL=kL,NL=32,OL=TL+NL,HL=65536>>X0,PL=1<<SL,ML=PL-1,qm=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},DL=function(e,t,n){return e.slice?e.slice(t,n):new Uint32Array(Array.prototype.slice.call(e,t,n))},RL=function(e,t){var n=EL(e),A=Array.isArray(n)?QL(n):new Uint32Array(n),r=Array.isArray(n)?UL(n):new Uint16Array(n),i=24,s=qm(r,i/2,A[4]/2),o=A[5]===2?qm(r,(i+A[4])/2):DL(A,Math.ceil((i+A[4])/4));return new KL(A[0],A[1],A[2],A[3],s,o)},KL=(function(){function e(t,n,A,r,i,s){this.initialValue=t,this.errorValue=n,this.highStart=A,this.highValueIndex=r,this.index=i,this.data=s}return e.prototype.get=function(t){var n;if(t>=0){if(t<55296||t>56319&&t<=65535)return n=this.index[t>>ya],n=(n<<Vd)+(t&Wd),this.data[n];if(t<=65535)return n=this.index[i5+(t-55296>>ya)],n=(n<<Vd)+(t&Wd),this.data[n];if(t<this.highStart)return n=OL-HL+(t>>X0),n=this.index[n],n+=t>>ya&ML,n=this.index[n],n=(n<<Vd)+(t&Wd),this.data[n];if(t<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e})(),zm="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",jL=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var qu=0;qu<zm.length;qu++)jL[zm.charCodeAt(qu)]=qu;var VL="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==",Gm=50,WL=1,s5=2,o5=3,qL=4,zL=5,Xm=7,a5=8,$m=9,mo=10,wg=11,Ym=12,mg=13,GL=14,wc=15,Bg=16,zu=17,rc=18,XL=19,Jm=20,bg=21,ic=22,qd=23,Za=24,Ir=25,mc=26,Bc=27,tl=28,$L=29,ca=30,YL=31,Gu=32,Xu=33,vg=34,yg=35,xg=36,jc=37,Cg=38,Mf=39,Df=40,zd=41,l5=42,JL=43,ZL=[9001,65288],c5="!",Je="ร",$u="รท",Fg=RL(VL),Bs=[ca,xg],_g=[WL,s5,o5,zL],u5=[mo,a5],Zm=[Bc,mc],t3=_g.concat(u5),t1=[Cg,Mf,Df,vg,yg],e3=[wc,mg],n3=function(e,t){t===void 0&&(t="strict");var n=[],A=[],r=[];return e.forEach(function(i,s){var o=Fg.get(i);if(o>Gm?(r.push(!0),o-=Gm):r.push(!1),["normal","auto","loose"].indexOf(t)!==-1&&[8208,8211,12316,12448].indexOf(i)!==-1)return A.push(s),n.push(Bg);if(o===qL||o===wg){if(s===0)return A.push(s),n.push(ca);var a=n[s-1];return t3.indexOf(a)===-1?(A.push(A[s-1]),n.push(a)):(A.push(s),n.push(ca))}if(A.push(s),o===YL)return n.push(t==="strict"?bg:jc);if(o===l5||o===$L)return n.push(ca);if(o===JL)return i>=131072&&i<=196605||i>=196608&&i<=262141?n.push(jc):n.push(ca);n.push(o)}),[A,n,r]},Gd=function(e,t,n,A){var r=A[n];if(Array.isArray(e)?e.indexOf(r)!==-1:e===r)for(var i=n;i<=A.length;){i++;var s=A[i];if(s===t)return!0;if(s!==mo)break}if(r===mo)for(var i=n;i>0;){i--;var o=A[i];if(Array.isArray(e)?e.indexOf(o)!==-1:e===o)for(var a=n;a<=A.length;){a++;var s=A[a];if(s===t)return!0;if(s!==mo)break}if(o!==mo)break}return!1},e1=function(e,t){for(var n=e;n>=0;){var A=t[n];if(A===mo)n--;else return A}return 0},A3=function(e,t,n,A,r){if(n[A]===0)return Je;var i=A-1;if(Array.isArray(r)&&r[i]===!0)return Je;var s=i-1,o=i+1,a=t[i],l=s>=0?t[s]:0,u=t[o];if(a===s5&&u===o5)return Je;if(_g.indexOf(a)!==-1)return c5;if(_g.indexOf(u)!==-1||u5.indexOf(u)!==-1)return Je;if(e1(i,t)===a5)return $u;if(Fg.get(e[i])===wg||(a===Gu||a===Xu)&&Fg.get(e[o])===wg||a===Xm||u===Xm||a===$m||[mo,mg,wc].indexOf(a)===-1&&u===$m||[zu,rc,XL,Za,tl].indexOf(u)!==-1||e1(i,t)===ic||Gd(qd,ic,i,t)||Gd([zu,rc],bg,i,t)||Gd(Ym,Ym,i,t))return Je;if(a===mo)return $u;if(a===qd||u===qd)return Je;if(u===Bg||a===Bg)return $u;if([mg,wc,bg].indexOf(u)!==-1||a===GL||l===xg&&e3.indexOf(a)!==-1||a===tl&&u===xg||u===Jm||Bs.indexOf(u)!==-1&&a===Ir||Bs.indexOf(a)!==-1&&u===Ir||a===Bc&&[jc,Gu,Xu].indexOf(u)!==-1||[jc,Gu,Xu].indexOf(a)!==-1&&u===mc||Bs.indexOf(a)!==-1&&Zm.indexOf(u)!==-1||Zm.indexOf(a)!==-1&&Bs.indexOf(u)!==-1||[Bc,mc].indexOf(a)!==-1&&(u===Ir||[ic,wc].indexOf(u)!==-1&&t[o+1]===Ir)||[ic,wc].indexOf(a)!==-1&&u===Ir||a===Ir&&[Ir,tl,Za].indexOf(u)!==-1)return Je;if([Ir,tl,Za,zu,rc].indexOf(u)!==-1)for(var h=i;h>=0;){var w=t[h];if(w===Ir)return Je;if([tl,Za].indexOf(w)!==-1)h--;else break}if([Bc,mc].indexOf(u)!==-1)for(var h=[zu,rc].indexOf(a)!==-1?s:i;h>=0;){var w=t[h];if(w===Ir)return Je;if([tl,Za].indexOf(w)!==-1)h--;else break}if(Cg===a&&[Cg,Mf,vg,yg].indexOf(u)!==-1||[Mf,vg].indexOf(a)!==-1&&[Mf,Df].indexOf(u)!==-1||[Df,yg].indexOf(a)!==-1&&u===Df||t1.indexOf(a)!==-1&&[Jm,mc].indexOf(u)!==-1||t1.indexOf(u)!==-1&&a===Bc||Bs.indexOf(a)!==-1&&Bs.indexOf(u)!==-1||a===Za&&Bs.indexOf(u)!==-1||Bs.concat(Ir).indexOf(a)!==-1&&u===ic&&ZL.indexOf(e[o])===-1||Bs.concat(Ir).indexOf(u)!==-1&&a===rc)return Je;if(a===zd&&u===zd){for(var p=n[i],y=1;p>0&&(p--,t[p]===zd);)y++;if(y%2!==0)return Je}return a===Gu&&u===Xu?Je:$u},r3=function(e,t){t||(t={lineBreak:"normal",wordBreak:"normal"});var n=n3(e,t.lineBreak),A=n[0],r=n[1],i=n[2];(t.wordBreak==="break-all"||t.wordBreak==="break-word")&&(r=r.map(function(o){return[Ir,ca,l5].indexOf(o)!==-1?jc:o}));var s=t.wordBreak==="keep-all"?i.map(function(o,a){return o&&e[a]>=19968&&e[a]<=40959}):void 0;return[A,r,s]},i3=(function(){function e(t,n,A,r){this.codePoints=t,this.required=n===c5,this.start=A,this.end=r}return e.prototype.slice=function(){return $n.apply(void 0,this.codePoints.slice(this.start,this.end))},e})(),s3=function(e,t){var n=Jh(e),A=r3(n,t),r=A[0],i=A[1],s=A[2],o=n.length,a=0,l=0;return{next:function(){if(l>=o)return{done:!0,value:null};for(var u=Je;l<o&&(u=A3(n,i,r,++l,s))===Je;);if(u!==Je||l===o){var h=new i3(n,u,a,l);return a=l,{value:h,done:!1}}return{done:!0,value:null}}}},o3=1,a3=2,hu=4,n1=8,uh=10,A1=47,Sc=92,l3=9,c3=32,Yu=34,sc=61,u3=35,f3=36,h3=37,Ju=39,Zu=40,oc=41,d3=95,pr=45,p3=33,g3=60,w3=62,m3=64,B3=91,b3=93,v3=61,y3=123,tf=63,x3=125,r1=124,C3=126,F3=128,i1=65533,Xd=42,da=43,_3=44,E3=58,U3=59,Vc=46,Q3=0,S3=8,L3=11,I3=14,k3=31,T3=127,Ki=-1,f5=48,h5=97,d5=101,N3=102,O3=117,H3=122,p5=65,g5=69,w5=70,P3=85,M3=90,KA=function(e){return e>=f5&&e<=57},D3=function(e){return e>=55296&&e<=57343},el=function(e){return KA(e)||e>=p5&&e<=w5||e>=h5&&e<=N3},R3=function(e){return e>=h5&&e<=H3},K3=function(e){return e>=p5&&e<=M3},j3=function(e){return R3(e)||K3(e)},V3=function(e){return e>=F3},ef=function(e){return e===uh||e===l3||e===c3},fh=function(e){return j3(e)||V3(e)||e===d3},s1=function(e){return fh(e)||KA(e)||e===pr},W3=function(e){return e>=Q3&&e<=S3||e===L3||e>=I3&&e<=k3||e===T3},ho=function(e,t){return e!==Sc?!1:t!==uh},nf=function(e,t,n){return e===pr?fh(t)||ho(t,n):fh(e)?!0:!!(e===Sc&&ho(e,t))},$d=function(e,t,n){return e===da||e===pr?KA(t)?!0:t===Vc&&KA(n):KA(e===Vc?t:e)},q3=function(e){var t=0,n=1;(e[t]===da||e[t]===pr)&&(e[t]===pr&&(n=-1),t++);for(var A=[];KA(e[t]);)A.push(e[t++]);var r=A.length?parseInt($n.apply(void 0,A),10):0;e[t]===Vc&&t++;for(var i=[];KA(e[t]);)i.push(e[t++]);var s=i.length,o=s?parseInt($n.apply(void 0,i),10):0;(e[t]===g5||e[t]===d5)&&t++;var a=1;(e[t]===da||e[t]===pr)&&(e[t]===pr&&(a=-1),t++);for(var l=[];KA(e[t]);)l.push(e[t++]);var u=l.length?parseInt($n.apply(void 0,l),10):0;return n*(r+o*Math.pow(10,-s))*Math.pow(10,a*u)},z3={type:2},G3={type:3},X3={type:4},$3={type:13},Y3={type:8},J3={type:21},Z3={type:9},tI={type:10},eI={type:11},nI={type:12},AI={type:14},Af={type:23},rI={type:1},iI={type:25},sI={type:24},oI={type:26},aI={type:27},lI={type:28},cI={type:29},uI={type:31},Eg={type:32},m5=(function(){function e(){this._value=[]}return e.prototype.write=function(t){this._value=this._value.concat(Jh(t))},e.prototype.read=function(){for(var t=[],n=this.consumeToken();n!==Eg;)t.push(n),n=this.consumeToken();return t},e.prototype.consumeToken=function(){var t=this.consumeCodePoint();switch(t){case Yu:return this.consumeStringToken(Yu);case u3:var n=this.peekCodePoint(0),A=this.peekCodePoint(1),r=this.peekCodePoint(2);if(s1(n)||ho(A,r)){var i=nf(n,A,r)?a3:o3,s=this.consumeName();return{type:5,value:s,flags:i}}break;case f3:if(this.peekCodePoint(0)===sc)return this.consumeCodePoint(),$3;break;case Ju:return this.consumeStringToken(Ju);case Zu:return z3;case oc:return G3;case Xd:if(this.peekCodePoint(0)===sc)return this.consumeCodePoint(),AI;break;case da:if($d(t,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(t),this.consumeNumericToken();break;case _3:return X3;case pr:var o=t,a=this.peekCodePoint(0),l=this.peekCodePoint(1);if($d(o,a,l))return this.reconsumeCodePoint(t),this.consumeNumericToken();if(nf(o,a,l))return this.reconsumeCodePoint(t),this.consumeIdentLikeToken();if(a===pr&&l===w3)return this.consumeCodePoint(),this.consumeCodePoint(),sI;break;case Vc:if($d(t,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(t),this.consumeNumericToken();break;case A1:if(this.peekCodePoint(0)===Xd)for(this.consumeCodePoint();;){var u=this.consumeCodePoint();if(u===Xd&&(u=this.consumeCodePoint(),u===A1))return this.consumeToken();if(u===Ki)return this.consumeToken()}break;case E3:return oI;case U3:return aI;case g3:if(this.peekCodePoint(0)===p3&&this.peekCodePoint(1)===pr&&this.peekCodePoint(2)===pr)return this.consumeCodePoint(),this.consumeCodePoint(),iI;break;case m3:var h=this.peekCodePoint(0),w=this.peekCodePoint(1),p=this.peekCodePoint(2);if(nf(h,w,p)){var s=this.consumeName();return{type:7,value:s}}break;case B3:return lI;case Sc:if(ho(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),this.consumeIdentLikeToken();break;case b3:return cI;case v3:if(this.peekCodePoint(0)===sc)return this.consumeCodePoint(),Y3;break;case y3:return eI;case x3:return nI;case O3:case P3:var y=this.peekCodePoint(0),v=this.peekCodePoint(1);return y===da&&(el(v)||v===tf)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(t),this.consumeIdentLikeToken();case r1:if(this.peekCodePoint(0)===sc)return this.consumeCodePoint(),Z3;if(this.peekCodePoint(0)===r1)return this.consumeCodePoint(),J3;break;case C3:if(this.peekCodePoint(0)===sc)return this.consumeCodePoint(),tI;break;case Ki:return Eg}return ef(t)?(this.consumeWhiteSpace(),uI):KA(t)?(this.reconsumeCodePoint(t),this.consumeNumericToken()):fh(t)?(this.reconsumeCodePoint(t),this.consumeIdentLikeToken()):{type:6,value:$n(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();el(n)&&t.length<6;)t.push(n),n=this.consumeCodePoint();for(var A=!1;n===tf&&t.length<6;)t.push(n),n=this.consumeCodePoint(),A=!0;if(A){var r=parseInt($n.apply(void 0,t.map(function(a){return a===tf?f5:a})),16),i=parseInt($n.apply(void 0,t.map(function(a){return a===tf?w5:a})),16);return{type:30,start:r,end:i}}var s=parseInt($n.apply(void 0,t),16);if(this.peekCodePoint(0)===pr&&el(this.peekCodePoint(1))){this.consumeCodePoint(),n=this.consumeCodePoint();for(var o=[];el(n)&&o.length<6;)o.push(n),n=this.consumeCodePoint();var i=parseInt($n.apply(void 0,o),16);return{type:30,start:s,end:i}}else return{type:30,start:s,end:s}},e.prototype.consumeIdentLikeToken=function(){var t=this.consumeName();return t.toLowerCase()==="url"&&this.peekCodePoint(0)===Zu?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Zu?(this.consumeCodePoint(),{type:19,value:t}):{type:20,value:t}},e.prototype.consumeUrlToken=function(){var t=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Ki)return{type:22,value:""};var n=this.peekCodePoint(0);if(n===Ju||n===Yu){var A=this.consumeStringToken(this.consumeCodePoint());return A.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Ki||this.peekCodePoint(0)===oc)?(this.consumeCodePoint(),{type:22,value:A.value}):(this.consumeBadUrlRemnants(),Af)}for(;;){var r=this.consumeCodePoint();if(r===Ki||r===oc)return{type:22,value:$n.apply(void 0,t)};if(ef(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Ki||this.peekCodePoint(0)===oc?(this.consumeCodePoint(),{type:22,value:$n.apply(void 0,t)}):(this.consumeBadUrlRemnants(),Af);if(r===Yu||r===Ju||r===Zu||W3(r))return this.consumeBadUrlRemnants(),Af;if(r===Sc)if(ho(r,this.peekCodePoint(0)))t.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Af;else t.push(r)}},e.prototype.consumeWhiteSpace=function(){for(;ef(this.peekCodePoint(0));)this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){for(;;){var t=this.consumeCodePoint();if(t===oc||t===Ki)return;ho(t,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(t){for(var n=5e4,A="";t>0;){var r=Math.min(n,t);A+=$n.apply(void 0,this._value.splice(0,r)),t-=r}return this._value.shift(),A},e.prototype.consumeStringToken=function(t){var n="",A=0;do{var r=this._value[A];if(r===Ki||r===void 0||r===t)return n+=this.consumeStringSlice(A),{type:0,value:n};if(r===uh)return this._value.splice(0,A),rI;if(r===Sc){var i=this._value[A+1];i!==Ki&&i!==void 0&&(i===uh?(n+=this.consumeStringSlice(A),A=-1,this._value.shift()):ho(r,i)&&(n+=this.consumeStringSlice(A),n+=$n(this.consumeEscapedCodePoint()),A=-1))}A++}while(!0)},e.prototype.consumeNumber=function(){var t=[],n=hu,A=this.peekCodePoint(0);for((A===da||A===pr)&&t.push(this.consumeCodePoint());KA(this.peekCodePoint(0));)t.push(this.consumeCodePoint());A=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(A===Vc&&KA(r))for(t.push(this.consumeCodePoint(),this.consumeCodePoint()),n=n1;KA(this.peekCodePoint(0));)t.push(this.consumeCodePoint());A=this.peekCodePoint(0),r=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((A===g5||A===d5)&&((r===da||r===pr)&&KA(i)||KA(r)))for(t.push(this.consumeCodePoint(),this.consumeCodePoint()),n=n1;KA(this.peekCodePoint(0));)t.push(this.consumeCodePoint());return[q3(t),n]},e.prototype.consumeNumericToken=function(){var t=this.consumeNumber(),n=t[0],A=t[1],r=this.peekCodePoint(0),i=this.peekCodePoint(1),s=this.peekCodePoint(2);if(nf(r,i,s)){var o=this.consumeName();return{type:15,number:n,flags:A,unit:o}}return r===h3?(this.consumeCodePoint(),{type:16,number:n,flags:A}):{type:17,number:n,flags:A}},e.prototype.consumeEscapedCodePoint=function(){var t=this.consumeCodePoint();if(el(t)){for(var n=$n(t);el(this.peekCodePoint(0))&&n.length<6;)n+=$n(this.consumeCodePoint());ef(this.peekCodePoint(0))&&this.consumeCodePoint();var A=parseInt(n,16);return A===0||D3(A)||A>1114111?i1:A}return t===Ki?i1:t},e.prototype.consumeName=function(){for(var t="";;){var n=this.consumeCodePoint();if(s1(n))t+=$n(n);else if(ho(n,this.peekCodePoint(0)))t+=$n(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(n),t}},e})(),B5=(function(){function e(t){this._tokens=t}return e.create=function(t){var n=new m5;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:[]},A=this.consumeToken();;){if(A.type===32||hI(A,t))return n;this.reconsumeToken(A),n.values.push(this.consumeComponentValue()),A=this.consumeToken()}},e.prototype.consumeFunction=function(t){for(var n={name:t.value,values:[],type:18};;){var A=this.consumeToken();if(A.type===32||A.type===3)return n;this.reconsumeToken(A),n.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var t=this._tokens.shift();return typeof t>"u"?Eg:t},e.prototype.reconsumeToken=function(t){this._tokens.unshift(t)},e})(),du=function(e){return e.type===15},jl=function(e){return e.type===17},gn=function(e){return e.type===20},fI=function(e){return e.type===0},Ug=function(e,t){return gn(e)&&e.value===t},b5=function(e){return e.type!==31},Ql=function(e){return e.type!==31&&e.type!==4},Ji=function(e){var t=[],n=[];return e.forEach(function(A){if(A.type===4){if(n.length===0)throw new Error("Error parsing function args, zero tokens for arg");t.push(n),n=[];return}A.type!==31&&n.push(A)}),n.length&&t.push(n),t},hI=function(e,t){return t===11&&e.type===12||t===28&&e.type===29?!0:t===2&&e.type===3},Io=function(e){return e.type===17||e.type===15},oA=function(e){return e.type===16||Io(e)},v5=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},QA={type:17,number:0,flags:hu},$0={type:16,number:50,flags:hu},Bo={type:16,number:100,flags:hu},bc=function(e,t,n){var A=e[0],r=e[1];return[xn(A,t),xn(typeof r<"u"?r:A,n)]},xn=function(e,t){if(e.type===16)return e.number/100*t;if(du(e))switch(e.unit){case"rem":case"em":return 16*e.number;default:return e.number}return e.number},y5="deg",x5="grad",C5="rad",F5="turn",Zh={name:"angle",parse:function(e,t){if(t.type===15)switch(t.unit){case y5:return Math.PI*t.number/180;case x5:return Math.PI/200*t.number;case C5:return t.number;case F5:return Math.PI*2*t.number}throw new Error("Unsupported angle type")}},_5=function(e){return e.type===15&&(e.unit===y5||e.unit===x5||e.unit===C5||e.unit===F5)},E5=function(e){var t=e.filter(gn).map(function(n){return n.value}).join(" ");switch(t){case"to bottom right":case"to right bottom":case"left top":case"top left":return[QA,QA];case"to top":case"bottom":return Ai(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[QA,Bo];case"to right":case"left":return Ai(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Bo,Bo];case"to bottom":case"top":return Ai(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Bo,QA];case"to left":case"right":return Ai(270)}return 0},Ai=function(e){return Math.PI*e/180},_o={name:"color",parse:function(e,t){if(t.type===18){var n=dI[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 A=t.value.substring(0,1),r=t.value.substring(1,2),i=t.value.substring(2,3);return bo(parseInt(A+A,16),parseInt(r+r,16),parseInt(i+i,16),1)}if(t.value.length===4){var A=t.value.substring(0,1),r=t.value.substring(1,2),i=t.value.substring(2,3),s=t.value.substring(3,4);return bo(parseInt(A+A,16),parseInt(r+r,16),parseInt(i+i,16),parseInt(s+s,16)/255)}if(t.value.length===6){var A=t.value.substring(0,2),r=t.value.substring(2,4),i=t.value.substring(4,6);return bo(parseInt(A,16),parseInt(r,16),parseInt(i,16),1)}if(t.value.length===8){var A=t.value.substring(0,2),r=t.value.substring(2,4),i=t.value.substring(4,6),s=t.value.substring(6,8);return bo(parseInt(A,16),parseInt(r,16),parseInt(i,16),parseInt(s,16)/255)}}if(t.type===20){var o=ks[t.value.toUpperCase()];if(typeof o<"u")return o}return ks.TRANSPARENT}},Eo=function(e){return(255&e)===0},mA=function(e){var t=255&e,n=255&e>>8,A=255&e>>16,r=255&e>>24;return t<255?"rgba("+r+","+A+","+n+","+t/255+")":"rgb("+r+","+A+","+n+")"},bo=function(e,t,n,A){return(e<<24|t<<16|n<<8|Math.round(A*255)<<0)>>>0},o1=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},a1=function(e,t){var n=t.filter(Ql);if(n.length===3){var A=n.map(o1),r=A[0],i=A[1],s=A[2];return bo(r,i,s,1)}if(n.length===4){var o=n.map(o1),r=o[0],i=o[1],s=o[2],a=o[3];return bo(r,i,s,a)}return 0};function Yd(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 l1=function(e,t){var n=t.filter(Ql),A=n[0],r=n[1],i=n[2],s=n[3],o=(A.type===17?Ai(A.number):Zh.parse(e,A))/(Math.PI*2),a=oA(r)?r.number/100:0,l=oA(i)?i.number/100:0,u=typeof s<"u"&&oA(s)?xn(s,1):1;if(a===0)return bo(l*255,l*255,l*255,1);var h=l<=.5?l*(a+1):l+a-l*a,w=l*2-h,p=Yd(w,h,o+1/3),y=Yd(w,h,o),v=Yd(w,h,o-1/3);return bo(p*255,y*255,v*255,u)},dI={hsl:l1,hsla:l1,rgb:a1,rgba:a1},Lc=function(e,t){return _o.parse(e,B5.create(t).parseComponentValue())},ks={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},pI={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map(function(n){if(gn(n))switch(n.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},gI={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},td=function(e,t){var n=_o.parse(e,t[0]),A=t[1];return A&&oA(A)?{color:n,stop:A}:{color:n,stop:null}},c1=function(e,t){var n=e[0],A=e[e.length-1];n.stop===null&&(n.stop=QA),A.stop===null&&(A.stop=Bo);for(var r=[],i=0,s=0;s<e.length;s++){var o=e[s].stop;if(o!==null){var a=xn(o,t);a>i?r.push(a):r.push(i),i=a}else r.push(null)}for(var l=null,s=0;s<r.length;s++){var u=r[s];if(u===null)l===null&&(l=s);else if(l!==null){for(var h=s-l,w=r[l-1],p=(u-w)/(h+1),y=1;y<=h;y++)r[l+y-1]=p*y;l=null}}return e.map(function(v,C){var _=v.color;return{color:_,stop:Math.max(Math.min(1,r[C]/t),0)}})},wI=function(e,t,n){var A=t/2,r=n/2,i=xn(e[0],t)-A,s=r-xn(e[1],n);return(Math.atan2(s,i)+Math.PI*2)%(Math.PI*2)},mI=function(e,t,n){var A=typeof e=="number"?e:wI(e,t,n),r=Math.abs(t*Math.sin(A))+Math.abs(n*Math.cos(A)),i=t/2,s=n/2,o=r/2,a=Math.sin(A-Math.PI/2)*o,l=Math.cos(A-Math.PI/2)*o;return[r,i-l,i+l,s-a,s+a]},yi=function(e,t){return Math.sqrt(e*e+t*t)},u1=function(e,t,n,A,r){var i=[[0,0],[0,t],[e,0],[e,t]];return i.reduce(function(s,o){var a=o[0],l=o[1],u=yi(n-a,A-l);return(r?u<s.optimumDistance:u>s.optimumDistance)?{optimumCorner:o,optimumDistance:u}:s},{optimumDistance:r?1/0:-1/0,optimumCorner:null}).optimumCorner},BI=function(e,t,n,A,r){var i=0,s=0;switch(e.size){case 0:e.shape===0?i=s=Math.min(Math.abs(t),Math.abs(t-A),Math.abs(n),Math.abs(n-r)):e.shape===1&&(i=Math.min(Math.abs(t),Math.abs(t-A)),s=Math.min(Math.abs(n),Math.abs(n-r)));break;case 2:if(e.shape===0)i=s=Math.min(yi(t,n),yi(t,n-r),yi(t-A,n),yi(t-A,n-r));else if(e.shape===1){var o=Math.min(Math.abs(n),Math.abs(n-r))/Math.min(Math.abs(t),Math.abs(t-A)),a=u1(A,r,t,n,!0),l=a[0],u=a[1];i=yi(l-t,(u-n)/o),s=o*i}break;case 1:e.shape===0?i=s=Math.max(Math.abs(t),Math.abs(t-A),Math.abs(n),Math.abs(n-r)):e.shape===1&&(i=Math.max(Math.abs(t),Math.abs(t-A)),s=Math.max(Math.abs(n),Math.abs(n-r)));break;case 3:if(e.shape===0)i=s=Math.max(yi(t,n),yi(t,n-r),yi(t-A,n),yi(t-A,n-r));else if(e.shape===1){var o=Math.max(Math.abs(n),Math.abs(n-r))/Math.max(Math.abs(t),Math.abs(t-A)),h=u1(A,r,t,n,!1),l=h[0],u=h[1];i=yi(l-t,(u-n)/o),s=o*i}break}return Array.isArray(e.size)&&(i=xn(e.size[0],A),s=e.size.length===2?xn(e.size[1],r):i),[i,s]},bI=function(e,t){var n=Ai(180),A=[];return Ji(t).forEach(function(r,i){if(i===0){var s=r[0];if(s.type===20&&s.value==="to"){n=E5(r);return}else if(_5(s)){n=Zh.parse(e,s);return}}var o=td(e,r);A.push(o)}),{angle:n,stops:A,type:1}},rf=function(e,t){var n=Ai(180),A=[];return Ji(t).forEach(function(r,i){if(i===0){var s=r[0];if(s.type===20&&["top","left","right","bottom"].indexOf(s.value)!==-1){n=E5(r);return}else if(_5(s)){n=(Zh.parse(e,s)+Ai(270))%Ai(360);return}}var o=td(e,r);A.push(o)}),{angle:n,stops:A,type:1}},vI=function(e,t){var n=Ai(180),A=[],r=1,i=0,s=3,o=[];return Ji(t).forEach(function(a,l){var u=a[0];if(l===0){if(gn(u)&&u.value==="linear"){r=1;return}else if(gn(u)&&u.value==="radial"){r=2;return}}if(u.type===18){if(u.name==="from"){var h=_o.parse(e,u.values[0]);A.push({stop:QA,color:h})}else if(u.name==="to"){var h=_o.parse(e,u.values[0]);A.push({stop:Bo,color:h})}else if(u.name==="color-stop"){var w=u.values.filter(Ql);if(w.length===2){var h=_o.parse(e,w[1]),p=w[0];jl(p)&&A.push({stop:{type:16,number:p.number*100,flags:p.flags},color:h})}}}}),r===1?{angle:(n+Ai(180))%Ai(360),stops:A,type:r}:{size:s,shape:i,stops:A,position:o,type:r}},U5="closest-side",Q5="farthest-side",S5="closest-corner",L5="farthest-corner",I5="circle",k5="ellipse",T5="cover",N5="contain",yI=function(e,t){var n=0,A=3,r=[],i=[];return Ji(t).forEach(function(s,o){var a=!0;if(o===0){var l=!1;a=s.reduce(function(h,w){if(l)if(gn(w))switch(w.value){case"center":return i.push($0),h;case"top":case"left":return i.push(QA),h;case"right":case"bottom":return i.push(Bo),h}else(oA(w)||Io(w))&&i.push(w);else if(gn(w))switch(w.value){case I5:return n=0,!1;case k5:return n=1,!1;case"at":return l=!0,!1;case U5:return A=0,!1;case T5:case Q5:return A=1,!1;case N5:case S5:return A=2,!1;case L5:return A=3,!1}else if(Io(w)||oA(w))return Array.isArray(A)||(A=[]),A.push(w),!1;return h},a)}if(a){var u=td(e,s);r.push(u)}}),{size:A,shape:n,stops:r,position:i,type:2}},sf=function(e,t){var n=0,A=3,r=[],i=[];return Ji(t).forEach(function(s,o){var a=!0;if(o===0?a=s.reduce(function(u,h){if(gn(h))switch(h.value){case"center":return i.push($0),!1;case"top":case"left":return i.push(QA),!1;case"right":case"bottom":return i.push(Bo),!1}else if(oA(h)||Io(h))return i.push(h),!1;return u},a):o===1&&(a=s.reduce(function(u,h){if(gn(h))switch(h.value){case I5:return n=0,!1;case k5:return n=1,!1;case N5:case U5:return A=0,!1;case Q5:return A=1,!1;case S5:return A=2,!1;case T5:case L5:return A=3,!1}else if(Io(h)||oA(h))return Array.isArray(A)||(A=[]),A.push(h),!1;return u},a)),a){var l=td(e,s);r.push(l)}}),{size:A,shape:n,stops:r,position:i,type:2}},xI=function(e){return e.type===1},CI=function(e){return e.type===2},Y0={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 A=O5[t.name];if(typeof A>"u")throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return A(e,t.values)}throw new Error("Unsupported image type "+t.type)}};function FI(e){return!(e.type===20&&e.value==="none")&&(e.type!==18||!!O5[e.name])}var O5={"linear-gradient":bI,"-moz-linear-gradient":rf,"-ms-linear-gradient":rf,"-o-linear-gradient":rf,"-webkit-linear-gradient":rf,"radial-gradient":yI,"-moz-radial-gradient":sf,"-ms-radial-gradient":sf,"-o-radial-gradient":sf,"-webkit-radial-gradient":sf,"-webkit-gradient":vI},_I={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(A){return Ql(A)&&FI(A)}).map(function(A){return Y0.parse(e,A)})}},EI={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map(function(n){if(gn(n))switch(n.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},UI={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(e,t){return Ji(t).map(function(n){return n.filter(oA)}).map(v5)}},QI={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(e,t){return Ji(t).map(function(n){return n.filter(gn).map(function(A){return A.value}).join(" ")}).map(SI)}},SI=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;default:return 0}},ml;(function(e){e.AUTO="auto",e.CONTAIN="contain",e.COVER="cover"})(ml||(ml={}));var LI={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(e,t){return Ji(t).map(function(n){return n.filter(II)})}},II=function(e){return gn(e)||oA(e)},ed=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},kI=ed("top"),TI=ed("right"),NI=ed("bottom"),OI=ed("left"),nd=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:1,parse:function(t,n){return v5(n.filter(oA))}}},HI=nd("top-left"),PI=nd("top-right"),MI=nd("bottom-right"),DI=nd("bottom-left"),Ad=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}}},RI=Ad("top"),KI=Ad("right"),jI=Ad("bottom"),VI=Ad("left"),rd=function(e){return{name:"border-"+e+"-width",initialValue:"0",type:0,prefix:!1,parse:function(t,n){return du(n)?n.number:0}}},WI=rd("top"),qI=rd("right"),zI=rd("bottom"),GI=rd("left"),XI={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},$I={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(e,t){return t==="rtl"?1:0}},YI={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(e,t){return t.filter(gn).reduce(function(n,A){return n|JI(A.value)},0)}},JI=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},ZI={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}},tk={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}},hh;(function(e){e.NORMAL="normal",e.STRICT="strict"})(hh||(hh={}));var ek={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){return t==="strict"?hh.STRICT:hh.NORMAL}},nk={name:"line-height",initialValue:"normal",prefix:!1,type:4},f1=function(e,t){return gn(e)&&e.value==="normal"?1.2*t:e.type===17?t*e.number:oA(e)?xn(e,t):t},Ak={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(e,t){return t.type===20&&t.value==="none"?null:Y0.parse(e,t)}},rk={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(e,t){return t==="inside"?0:1}},Qg={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;default:return-1}}},id=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:4}},ik=id("top"),sk=id("right"),ok=id("bottom"),ak=id("left"),lk={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(e,t){return t.filter(gn).map(function(n){switch(n.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})}},ck={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){return t==="break-word"?"break-word":"normal"}},sd=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},uk=sd("top"),fk=sd("right"),hk=sd("bottom"),dk=sd("left"),pk={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;default:return 0}}},gk={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}},wk={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return t.length===1&&Ug(t[0],"none")?[]:Ji(t).map(function(n){for(var A={color:ks.TRANSPARENT,offsetX:QA,offsetY:QA,blur:QA},r=0,i=0;i<n.length;i++){var s=n[i];Io(s)?(r===0?A.offsetX=s:r===1?A.offsetY=s:A.blur=s,r++):A.color=_o.parse(e,s)}return A})}},mk={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}},Bk={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=yk[t.name];if(typeof n>"u")throw new Error('Attempting to parse an unsupported transform function "'+t.name+'"');return n(t.values)}return null}},bk=function(e){var t=e.filter(function(n){return n.type===17}).map(function(n){return n.number});return t.length===6?t:null},vk=function(e){var t=e.filter(function(a){return a.type===17}).map(function(a){return a.number}),n=t[0],A=t[1];t[2],t[3];var r=t[4],i=t[5];t[6],t[7],t[8],t[9],t[10],t[11];var s=t[12],o=t[13];return t[14],t[15],t.length===16?[n,A,r,i,s,o]:null},yk={matrix:bk,matrix3d:vk},h1={type:16,number:50,flags:hu},xk=[h1,h1],Ck={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(e,t){var n=t.filter(oA);return n.length!==2?xk:[n[0],n[1]]}},Fk={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"hidden":return 1;case"collapse":return 2;default:return 0}}},Ic;(function(e){e.NORMAL="normal",e.BREAK_ALL="break-all",e.KEEP_ALL="keep-all"})(Ic||(Ic={}));var _k={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"break-all":return Ic.BREAK_ALL;case"keep-all":return Ic.KEEP_ALL;default:return Ic.NORMAL}}},Ek={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(e,t){if(t.type===20)return{auto:!0,order:0};if(jl(t))return{auto:!1,order:t.number};throw new Error("Invalid z-index number parsed")}},H5={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")}},Uk={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(e,t){return jl(t)?t.number:1}},Qk={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Sk={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(e,t){return t.filter(gn).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})}},Lk={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(e,t){var n=[],A=[];return t.forEach(function(r){switch(r.type){case 20:case 0:n.push(r.value);break;case 17:n.push(r.number.toString());break;case 4:A.push(n.join(" ")),n.length=0;break}}),n.length&&A.push(n.join(" ")),A.map(function(r){return r.indexOf(" ")===-1?r:"'"+r+"'"})}},Ik={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},kk={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(e,t){return jl(t)?t.number:gn(t)&&t.value==="bold"?700:400}},Tk={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return t.filter(gn).map(function(n){return n.value})}},Nk={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},pA=function(e,t){return(e&t)!==0},Ok={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}},Hk={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 A=[],r=t.filter(b5),i=0;i<r.length;i++){var s=r[i],o=r[i+1];if(s.type===20){var a=o&&jl(o)?o.number:1;A.push({counter:s.value,increment:a})}}return A}},Pk={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(t.length===0)return[];for(var n=[],A=t.filter(b5),r=0;r<A.length;r++){var i=A[r],s=A[r+1];if(gn(i)&&i.value!=="none"){var o=s&&jl(s)?s.number:0;n.push({counter:i.value,reset:o})}}return n}},Mk={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(e,t){return t.filter(du).map(function(n){return H5.parse(e,n)})}},Dk={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 A=[],r=t.filter(fI);if(r.length%2!==0)return null;for(var i=0;i<r.length;i+=2){var s=r[i].value,o=r[i+1].value;A.push({open:s,close:o})}return A}},d1=function(e,t,n){if(!e)return"";var A=e[Math.min(t,e.length-1)];return A?n?A.open:A.close:""},Rk={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return t.length===1&&Ug(t[0],"none")?[]:Ji(t).map(function(n){for(var A={color:255,offsetX:QA,offsetY:QA,blur:QA,spread:QA,inset:!1},r=0,i=0;i<n.length;i++){var s=n[i];Ug(s,"inset")?A.inset=!0:Io(s)?(r===0?A.offsetX=s:r===1?A.offsetY=s:r===2?A.blur=s:A.spread=s,r++):A.color=_o.parse(e,s)}return A})}},Kk={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(e,t){var n=[0,1,2],A=[];return t.filter(gn).forEach(function(r){switch(r.value){case"stroke":A.push(1);break;case"fill":A.push(0);break;case"markers":A.push(2);break}}),n.forEach(function(r){A.indexOf(r)===-1&&A.push(r)}),A}},jk={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Vk={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return du(t)?t.number:0}},Wk=(function(){function e(t,n){var A,r;this.animationDuration=ue(t,Mk,n.animationDuration),this.backgroundClip=ue(t,pI,n.backgroundClip),this.backgroundColor=ue(t,gI,n.backgroundColor),this.backgroundImage=ue(t,_I,n.backgroundImage),this.backgroundOrigin=ue(t,EI,n.backgroundOrigin),this.backgroundPosition=ue(t,UI,n.backgroundPosition),this.backgroundRepeat=ue(t,QI,n.backgroundRepeat),this.backgroundSize=ue(t,LI,n.backgroundSize),this.borderTopColor=ue(t,kI,n.borderTopColor),this.borderRightColor=ue(t,TI,n.borderRightColor),this.borderBottomColor=ue(t,NI,n.borderBottomColor),this.borderLeftColor=ue(t,OI,n.borderLeftColor),this.borderTopLeftRadius=ue(t,HI,n.borderTopLeftRadius),this.borderTopRightRadius=ue(t,PI,n.borderTopRightRadius),this.borderBottomRightRadius=ue(t,MI,n.borderBottomRightRadius),this.borderBottomLeftRadius=ue(t,DI,n.borderBottomLeftRadius),this.borderTopStyle=ue(t,RI,n.borderTopStyle),this.borderRightStyle=ue(t,KI,n.borderRightStyle),this.borderBottomStyle=ue(t,jI,n.borderBottomStyle),this.borderLeftStyle=ue(t,VI,n.borderLeftStyle),this.borderTopWidth=ue(t,WI,n.borderTopWidth),this.borderRightWidth=ue(t,qI,n.borderRightWidth),this.borderBottomWidth=ue(t,zI,n.borderBottomWidth),this.borderLeftWidth=ue(t,GI,n.borderLeftWidth),this.boxShadow=ue(t,Rk,n.boxShadow),this.color=ue(t,XI,n.color),this.direction=ue(t,$I,n.direction),this.display=ue(t,YI,n.display),this.float=ue(t,ZI,n.cssFloat),this.fontFamily=ue(t,Lk,n.fontFamily),this.fontSize=ue(t,Ik,n.fontSize),this.fontStyle=ue(t,Nk,n.fontStyle),this.fontVariant=ue(t,Tk,n.fontVariant),this.fontWeight=ue(t,kk,n.fontWeight),this.letterSpacing=ue(t,tk,n.letterSpacing),this.lineBreak=ue(t,ek,n.lineBreak),this.lineHeight=ue(t,nk,n.lineHeight),this.listStyleImage=ue(t,Ak,n.listStyleImage),this.listStylePosition=ue(t,rk,n.listStylePosition),this.listStyleType=ue(t,Qg,n.listStyleType),this.marginTop=ue(t,ik,n.marginTop),this.marginRight=ue(t,sk,n.marginRight),this.marginBottom=ue(t,ok,n.marginBottom),this.marginLeft=ue(t,ak,n.marginLeft),this.opacity=ue(t,Uk,n.opacity);var i=ue(t,lk,n.overflow);this.overflowX=i[0],this.overflowY=i[i.length>1?1:0],this.overflowWrap=ue(t,ck,n.overflowWrap),this.paddingTop=ue(t,uk,n.paddingTop),this.paddingRight=ue(t,fk,n.paddingRight),this.paddingBottom=ue(t,hk,n.paddingBottom),this.paddingLeft=ue(t,dk,n.paddingLeft),this.paintOrder=ue(t,Kk,n.paintOrder),this.position=ue(t,gk,n.position),this.textAlign=ue(t,pk,n.textAlign),this.textDecorationColor=ue(t,Qk,(A=n.textDecorationColor)!==null&&A!==void 0?A:n.color),this.textDecorationLine=ue(t,Sk,(r=n.textDecorationLine)!==null&&r!==void 0?r:n.textDecoration),this.textShadow=ue(t,wk,n.textShadow),this.textTransform=ue(t,mk,n.textTransform),this.transform=ue(t,Bk,n.transform),this.transformOrigin=ue(t,Ck,n.transformOrigin),this.visibility=ue(t,Fk,n.visibility),this.webkitTextStrokeColor=ue(t,jk,n.webkitTextStrokeColor),this.webkitTextStrokeWidth=ue(t,Vk,n.webkitTextStrokeWidth),this.wordBreak=ue(t,_k,n.wordBreak),this.zIndex=ue(t,Ek,n.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},e.prototype.isTransparent=function(){return Eo(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 pA(this.display,4)||pA(this.display,33554432)||pA(this.display,268435456)||pA(this.display,536870912)||pA(this.display,67108864)||pA(this.display,134217728)},e})(),qk=(function(){function e(t,n){this.content=ue(t,Ok,n.content),this.quotes=ue(t,Dk,n.quotes)}return e})(),p1=(function(){function e(t,n){this.counterIncrement=ue(t,Hk,n.counterIncrement),this.counterReset=ue(t,Pk,n.counterReset)}return e})(),ue=function(e,t,n){var A=new m5,r=n!==null&&typeof n<"u"?n.toString():t.initialValue;A.write(r);var i=new B5(A.read());switch(t.type){case 2:var s=i.parseComponentValue();return t.parse(e,gn(s)?s.value:t.initialValue);case 0:return t.parse(e,i.parseComponentValue());case 1:return t.parse(e,i.parseComponentValues());case 4:return i.parseComponentValue();case 3:switch(t.format){case"angle":return Zh.parse(e,i.parseComponentValue());case"color":return _o.parse(e,i.parseComponentValue());case"image":return Y0.parse(e,i.parseComponentValue());case"length":var o=i.parseComponentValue();return Io(o)?o:QA;case"length-percentage":var a=i.parseComponentValue();return oA(a)?a:QA;case"time":return H5.parse(e,i.parseComponentValue())}break}},zk="data-html2canvas-debug",Gk=function(e){var t=e.getAttribute(zk);switch(t){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Sg=function(e,t){var n=Gk(e);return n===1||t===n},Zi=(function(){function e(t,n){if(this.context=t,this.textNodes=[],this.elements=[],this.flags=0,Sg(n,3))debugger;this.styles=new Wk(t,window.getComputedStyle(n,null)),kg(n)&&(this.styles.animationDuration.some(function(A){return A>0})&&(n.style.animationDuration="0s"),this.styles.transform!==null&&(n.style.transform="none")),this.bounds=Yh(this.context,n),Sg(n,4)&&(this.flags|=16)}return e})(),Xk="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",g1="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",vc=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var of=0;of<g1.length;of++)vc[g1.charCodeAt(of)]=of;var $k=function(e){var t=e.length*.75,n=e.length,A,r=0,i,s,o,a;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(t):new Array(t),u=Array.isArray(l)?l:new Uint8Array(l);for(A=0;A<n;A+=4)i=vc[e.charCodeAt(A)],s=vc[e.charCodeAt(A+1)],o=vc[e.charCodeAt(A+2)],a=vc[e.charCodeAt(A+3)],u[r++]=i<<2|s>>4,u[r++]=(s&15)<<4|o>>2,u[r++]=(o&3)<<6|a&63;return l},Yk=function(e){for(var t=e.length,n=[],A=0;A<t;A+=2)n.push(e[A+1]<<8|e[A]);return n},Jk=function(e){for(var t=e.length,n=[],A=0;A<t;A+=4)n.push(e[A+3]<<24|e[A+2]<<16|e[A+1]<<8|e[A]);return n},xa=5,J0=11,Jd=2,Zk=J0-xa,P5=65536>>xa,tT=1<<xa,Zd=tT-1,eT=1024>>xa,nT=P5+eT,AT=nT,rT=32,iT=AT+rT,sT=65536>>J0,oT=1<<Zk,aT=oT-1,w1=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},lT=function(e,t,n){return e.slice?e.slice(t,n):new Uint32Array(Array.prototype.slice.call(e,t,n))},cT=function(e,t){var n=$k(e),A=Array.isArray(n)?Jk(n):new Uint32Array(n),r=Array.isArray(n)?Yk(n):new Uint16Array(n),i=24,s=w1(r,i/2,A[4]/2),o=A[5]===2?w1(r,(i+A[4])/2):lT(A,Math.ceil((i+A[4])/4));return new uT(A[0],A[1],A[2],A[3],s,o)},uT=(function(){function e(t,n,A,r,i,s){this.initialValue=t,this.errorValue=n,this.highStart=A,this.highValueIndex=r,this.index=i,this.data=s}return e.prototype.get=function(t){var n;if(t>=0){if(t<55296||t>56319&&t<=65535)return n=this.index[t>>xa],n=(n<<Jd)+(t&Zd),this.data[n];if(t<=65535)return n=this.index[P5+(t-55296>>xa)],n=(n<<Jd)+(t&Zd),this.data[n];if(t<this.highStart)return n=iT-sT+(t>>J0),n=this.index[n],n+=t>>xa&aT,n=this.index[n],n=(n<<Jd)+(t&Zd),this.data[n];if(t<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e})(),m1="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",fT=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var af=0;af<m1.length;af++)fT[m1.charCodeAt(af)]=af;var hT=1,tp=2,ep=3,B1=4,b1=5,dT=7,v1=8,np=9,Ap=10,y1=11,x1=12,C1=13,F1=14,rp=15,pT=function(e){for(var t=[],n=0,A=e.length;n<A;){var r=e.charCodeAt(n++);if(r>=55296&&r<=56319&&n<A){var i=e.charCodeAt(n++);(i&64512)===56320?t.push(((r&1023)<<10)+(i&1023)+65536):(t.push(r),n--)}else t.push(r)}return t},gT=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 A=[],r=-1,i="";++r<n;){var s=e[r];s<=65535?A.push(s):(s-=65536,A.push((s>>10)+55296,s%1024+56320)),(r+1===n||A.length>16384)&&(i+=String.fromCharCode.apply(String,A),A.length=0)}return i},wT=cT(Xk),ti="ร",ip="รท",mT=function(e){return wT.get(e)},BT=function(e,t,n){var A=n-2,r=t[A],i=t[n-1],s=t[n];if(i===tp&&s===ep)return ti;if(i===tp||i===ep||i===B1||s===tp||s===ep||s===B1)return ip;if(i===v1&&[v1,np,y1,x1].indexOf(s)!==-1||(i===y1||i===np)&&(s===np||s===Ap)||(i===x1||i===Ap)&&s===Ap||s===C1||s===b1||s===dT||i===hT)return ti;if(i===C1&&s===F1){for(;r===b1;)r=t[--A];if(r===F1)return ti}if(i===rp&&s===rp){for(var o=0;r===rp;)o++,r=t[--A];if(o%2===0)return ti}return ip},bT=function(e){var t=pT(e),n=t.length,A=0,r=0,i=t.map(mT);return{next:function(){if(A>=n)return{done:!0,value:null};for(var s=ti;A<n&&(s=BT(t,i,++A))===ti;);if(s!==ti||A===n){var o=gT.apply(null,t.slice(r,A));return r=A,{value:o,done:!1}}return{done:!0,value:null}}}},vT=function(e){for(var t=bT(e),n=[],A;!(A=t.next()).done;)A.value&&n.push(A.value.slice());return n},yT=function(e){var t=123;if(e.createRange){var n=e.createRange();if(n.getBoundingClientRect){var A=e.createElement("boundtest");A.style.height=t+"px",A.style.display="block",e.body.appendChild(A),n.selectNode(A);var r=n.getBoundingClientRect(),i=Math.round(r.height);if(e.body.removeChild(A),i===t)return!0}}return!1},xT=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 A=t.firstChild,r=Jh(A.data).map(function(a){return $n(a)}),i=0,s={},o=r.every(function(a,l){n.setStart(A,i),n.setEnd(A,i+a.length);var u=n.getBoundingClientRect();i+=a.length;var h=u.x>s.x||u.y>s.y;return s=u,l===0?!0:h});return e.body.removeChild(t),o},CT=function(){return typeof new Image().crossOrigin<"u"},FT=function(){return typeof new XMLHttpRequest().responseType=="string"},_T=function(e){var t=new Image,n=e.createElement("canvas"),A=n.getContext("2d");if(!A)return!1;t.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{A.drawImage(t,0,0),n.toDataURL()}catch{return!1}return!0},_1=function(e){return e[0]===0&&e[1]===255&&e[2]===0&&e[3]===255},ET=function(e){var t=e.createElement("canvas"),n=100;t.width=n,t.height=n;var A=t.getContext("2d");if(!A)return Promise.reject(!1);A.fillStyle="rgb(0, 255, 0)",A.fillRect(0,0,n,n);var r=new Image,i=t.toDataURL();r.src=i;var s=Lg(n,n,0,0,r);return A.fillStyle="red",A.fillRect(0,0,n,n),E1(s).then(function(o){A.drawImage(o,0,0);var a=A.getImageData(0,0,n,n).data;A.fillStyle="red",A.fillRect(0,0,n,n);var l=e.createElement("div");return l.style.backgroundImage="url("+i+")",l.style.height=n+"px",_1(a)?E1(Lg(n,n,0,0,l)):Promise.reject(!1)}).then(function(o){return A.drawImage(o,0,0),_1(A.getImageData(0,0,n,n).data)}).catch(function(){return!1})},Lg=function(e,t,n,A,r){var i="http://www.w3.org/2000/svg",s=document.createElementNS(i,"svg"),o=document.createElementNS(i,"foreignObject");return s.setAttributeNS(null,"width",e.toString()),s.setAttributeNS(null,"height",t.toString()),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"x",n.toString()),o.setAttributeNS(null,"y",A.toString()),o.setAttributeNS(null,"externalResourcesRequired","true"),s.appendChild(o),o.appendChild(r),s},E1=function(e){return new Promise(function(t,n){var A=new Image;A.onload=function(){return t(A)},A.onerror=n,A.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(e))})},UA={get SUPPORT_RANGE_BOUNDS(){var e=yT(document);return Object.defineProperty(UA,"SUPPORT_RANGE_BOUNDS",{value:e}),e},get SUPPORT_WORD_BREAKING(){var e=UA.SUPPORT_RANGE_BOUNDS&&xT(document);return Object.defineProperty(UA,"SUPPORT_WORD_BREAKING",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=_T(document);return Object.defineProperty(UA,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e=typeof Array.from=="function"&&typeof window.fetch=="function"?ET(document):Promise.resolve(!1);return Object.defineProperty(UA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=CT();return Object.defineProperty(UA,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e=FT();return Object.defineProperty(UA,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(UA,"SUPPORT_CORS_XHR",{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(UA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:e}),e}},kc=(function(){function e(t,n){this.text=t,this.bounds=n}return e})(),UT=function(e,t,n,A){var r=LT(t,n),i=[],s=0;return r.forEach(function(o){if(n.textDecorationLine.length||o.trim().length>0)if(UA.SUPPORT_RANGE_BOUNDS){var a=U1(A,s,o.length).getClientRects();if(a.length>1){var l=Z0(o),u=0;l.forEach(function(w){i.push(new kc(w,Ns.fromDOMRectList(e,U1(A,u+s,w.length).getClientRects()))),u+=w.length})}else i.push(new kc(o,Ns.fromDOMRectList(e,a)))}else{var h=A.splitText(o.length);i.push(new kc(o,QT(e,A))),A=h}else UA.SUPPORT_RANGE_BOUNDS||(A=A.splitText(o.length));s+=o.length}),i},QT=function(e,t){var n=t.ownerDocument;if(n){var A=n.createElement("html2canvaswrapper");A.appendChild(t.cloneNode(!0));var r=t.parentNode;if(r){r.replaceChild(A,t);var i=Yh(e,A);return A.firstChild&&r.replaceChild(A.firstChild,A),i}}return Ns.EMPTY},U1=function(e,t,n){var A=e.ownerDocument;if(!A)throw new Error("Node has no owner document");var r=A.createRange();return r.setStart(e,t),r.setEnd(e,t+n),r},Z0=function(e){if(UA.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 vT(e)},ST=function(e,t){if(UA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var n=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(n.segment(e)).map(function(A){return A.segment})}return kT(e,t)},LT=function(e,t){return t.letterSpacing!==0?Z0(e):ST(e,t)},IT=[32,160,4961,65792,65793,4153,4241],kT=function(e,t){for(var n=s3(e,{lineBreak:t.lineBreak,wordBreak:t.overflowWrap==="break-word"?"break-word":t.wordBreak}),A=[],r,i=function(){if(r.value){var s=r.value.slice(),o=Jh(s),a="";o.forEach(function(l){IT.indexOf(l)===-1?a+=$n(l):(a.length&&A.push(a),A.push($n(l)),a="")}),a.length&&A.push(a)}};!(r=n.next()).done;)i();return A},TT=(function(){function e(t,n,A){this.text=NT(n.data,A.textTransform),this.textBounds=UT(t,this.text,A,n)}return e})(),NT=function(e,t){switch(t){case 1:return e.toLowerCase();case 3:return e.replace(OT,HT);case 2:return e.toUpperCase();default:return e}},OT=/(^|\s|:|-|\(|\))([a-z])/g,HT=function(e,t,n){return e.length>0?t+n.toUpperCase():e},M5=(function(e){Ui(t,e);function t(n,A){var r=e.call(this,n,A)||this;return r.src=A.currentSrc||A.src,r.intrinsicWidth=A.naturalWidth,r.intrinsicHeight=A.naturalHeight,r.context.cache.addImage(r.src),r}return t})(Zi),D5=(function(e){Ui(t,e);function t(n,A){var r=e.call(this,n,A)||this;return r.canvas=A,r.intrinsicWidth=A.width,r.intrinsicHeight=A.height,r}return t})(Zi),R5=(function(e){Ui(t,e);function t(n,A){var r=e.call(this,n,A)||this,i=new XMLSerializer,s=Yh(n,A);return A.setAttribute("width",s.width+"px"),A.setAttribute("height",s.height+"px"),r.svg="data:image/svg+xml,"+encodeURIComponent(i.serializeToString(A)),r.intrinsicWidth=A.width.baseVal.value,r.intrinsicHeight=A.height.baseVal.value,r.context.cache.addImage(r.svg),r}return t})(Zi),K5=(function(e){Ui(t,e);function t(n,A){var r=e.call(this,n,A)||this;return r.value=A.value,r}return t})(Zi),Ig=(function(e){Ui(t,e);function t(n,A){var r=e.call(this,n,A)||this;return r.start=A.start,r.reversed=typeof A.reversed=="boolean"&&A.reversed===!0,r}return t})(Zi),PT=[{type:15,flags:0,unit:"px",number:3}],MT=[{type:16,flags:0,number:50}],DT=function(e){return e.width>e.height?new Ns(e.left+(e.width-e.height)/2,e.top,e.height,e.height):e.width<e.height?new Ns(e.left,e.top+(e.height-e.width)/2,e.width,e.width):e},RT=function(e){var t=e.type===KT?new Array(e.value.length+1).join("โข"):e.value;return t.length===0?e.placeholder||"":t},dh="checkbox",ph="radio",KT="password",Q1=707406591,tw=(function(e){Ui(t,e);function t(n,A){var r=e.call(this,n,A)||this;switch(r.type=A.type.toLowerCase(),r.checked=A.checked,r.value=RT(A),(r.type===dh||r.type===ph)&&(r.styles.backgroundColor=3739148031,r.styles.borderTopColor=r.styles.borderRightColor=r.styles.borderBottomColor=r.styles.borderLeftColor=2779096575,r.styles.borderTopWidth=r.styles.borderRightWidth=r.styles.borderBottomWidth=r.styles.borderLeftWidth=1,r.styles.borderTopStyle=r.styles.borderRightStyle=r.styles.borderBottomStyle=r.styles.borderLeftStyle=1,r.styles.backgroundClip=[0],r.styles.backgroundOrigin=[0],r.bounds=DT(r.bounds)),r.type){case dh:r.styles.borderTopRightRadius=r.styles.borderTopLeftRadius=r.styles.borderBottomRightRadius=r.styles.borderBottomLeftRadius=PT;break;case ph:r.styles.borderTopRightRadius=r.styles.borderTopLeftRadius=r.styles.borderBottomRightRadius=r.styles.borderBottomLeftRadius=MT;break}return r}return t})(Zi),j5=(function(e){Ui(t,e);function t(n,A){var r=e.call(this,n,A)||this,i=A.options[A.selectedIndex||0];return r.value=i&&i.text||"",r}return t})(Zi),V5=(function(e){Ui(t,e);function t(n,A){var r=e.call(this,n,A)||this;return r.value=A.value,r}return t})(Zi),W5=(function(e){Ui(t,e);function t(n,A){var r=e.call(this,n,A)||this;r.src=A.src,r.width=parseInt(A.width,10)||0,r.height=parseInt(A.height,10)||0,r.backgroundColor=r.styles.backgroundColor;try{if(A.contentWindow&&A.contentWindow.document&&A.contentWindow.document.documentElement){r.tree=z5(n,A.contentWindow.document.documentElement);var i=A.contentWindow.document.documentElement?Lc(n,getComputedStyle(A.contentWindow.document.documentElement).backgroundColor):ks.TRANSPARENT,s=A.contentWindow.document.body?Lc(n,getComputedStyle(A.contentWindow.document.body).backgroundColor):ks.TRANSPARENT;r.backgroundColor=Eo(i)?Eo(s)?r.styles.backgroundColor:s:i}}catch{}return r}return t})(Zi),jT=["OL","UL","MENU"],Rf=function(e,t,n,A){for(var r=t.firstChild,i=void 0;r;r=i)if(i=r.nextSibling,G5(r)&&r.data.trim().length>0)n.textNodes.push(new TT(e,r,n.styles));else if(pl(r))if(J5(r)&&r.assignedNodes)r.assignedNodes().forEach(function(o){return Rf(e,o,n,A)});else{var s=q5(e,r);s.styles.isVisible()&&(VT(r,s,A)?s.flags|=4:WT(s.styles)&&(s.flags|=2),jT.indexOf(r.tagName)!==-1&&(s.flags|=8),n.elements.push(s),r.slot,r.shadowRoot?Rf(e,r.shadowRoot,s,A):!gh(r)&&!X5(r)&&!wh(r)&&Rf(e,r,s,A))}},q5=function(e,t){return Tg(t)?new M5(e,t):$5(t)?new D5(e,t):X5(t)?new R5(e,t):qT(t)?new K5(e,t):zT(t)?new Ig(e,t):GT(t)?new tw(e,t):wh(t)?new j5(e,t):gh(t)?new V5(e,t):Y5(t)?new W5(e,t):new Zi(e,t)},z5=function(e,t){var n=q5(e,t);return n.flags|=4,Rf(e,t,n,n),n},VT=function(e,t,n){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||ew(e)&&n.styles.isTransparent()},WT=function(e){return e.isPositioned()||e.isFloating()},G5=function(e){return e.nodeType===Node.TEXT_NODE},pl=function(e){return e.nodeType===Node.ELEMENT_NODE},kg=function(e){return pl(e)&&typeof e.style<"u"&&!Kf(e)},Kf=function(e){return typeof e.className=="object"},qT=function(e){return e.tagName==="LI"},zT=function(e){return e.tagName==="OL"},GT=function(e){return e.tagName==="INPUT"},XT=function(e){return e.tagName==="HTML"},X5=function(e){return e.tagName==="svg"},ew=function(e){return e.tagName==="BODY"},$5=function(e){return e.tagName==="CANVAS"},S1=function(e){return e.tagName==="VIDEO"},Tg=function(e){return e.tagName==="IMG"},Y5=function(e){return e.tagName==="IFRAME"},L1=function(e){return e.tagName==="STYLE"},$T=function(e){return e.tagName==="SCRIPT"},gh=function(e){return e.tagName==="TEXTAREA"},wh=function(e){return e.tagName==="SELECT"},J5=function(e){return e.tagName==="SLOT"},I1=function(e){return e.tagName.indexOf("-")>0},YT=(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(A){return n.counters[A].pop()})},e.prototype.parse=function(t){var n=this,A=t.counterIncrement,r=t.counterReset,i=!0;A!==null&&A.forEach(function(o){var a=n.counters[o.counter];a&&o.increment!==0&&(i=!1,a.length||a.push(1),a[Math.max(0,a.length-1)]+=o.increment)});var s=[];return i&&r.forEach(function(o){var a=n.counters[o.counter];s.push(o.counter),a||(a=n.counters[o.counter]=[]),a.push(o.reset)}),s},e})(),k1={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"]},T1={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:["ี","ี","ี","ี","ี","ี","ี","ี","ี","ี","ี","ี","ี","ี","ี","ี ","ี","ี","ี","ี","ี","ิฟ","ิพ","ิฝ","ิผ","ิป","ิบ","ิน","ิธ","ิท","ิถ","ิต","ิด","ิณ","ิฒ","ิฑ"]},JT={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:["ืืณ","ืืณ","ืืณ","ืืณ","ืืณ","ืืณ","ืืณ","ืืณ","ืืณ","ืืณ","ืช","ืฉ","ืจ","ืง","ืฆ","ืค","ืข","ืก","ื ","ื","ื","ื","ืื","ืื","ืื","ืื","ืื","ื","ื","ื","ื","ื","ื","ื","ื","ื","ื"]},ZT={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:["แต","แฐ","แฏ","แด","แฎ","แญ","แฌ","แซ","แช","แฉ","แจ","แง","แฆ","แฅ","แค","แณ","แข","แก","แ ","แ","แ","แ","แฒ","แ","แ","แ","แ","แ","แ","แฑ","แ","แ","แ","แ","แ","แ","แ"]},nl=function(e,t,n,A,r,i){return e<t||e>n?Wc(e,r,i.length>0):A.integers.reduce(function(s,o,a){for(;e>=o;)e-=o,s+=A.values[a];return s},"")+i},Z5=function(e,t,n,A){var r="";do n||e--,r=A(e)+r,e/=t;while(e*t>=t);return r},Xn=function(e,t,n,A,r){var i=n-t+1;return(e<0?"-":"")+(Z5(Math.abs(e),i,A,function(s){return $n(Math.floor(s%i)+t)})+r)},ea=function(e,t,n){n===void 0&&(n=". ");var A=t.length;return Z5(Math.abs(e),A,!1,function(r){return t[Math.floor(r%A)]})+n},ul=1,uo=2,fo=4,yc=8,bs=function(e,t,n,A,r,i){if(e<-9999||e>9999)return Wc(e,4,r.length>0);var s=Math.abs(e),o=r;if(s===0)return t[0]+o;for(var a=0;s>0&&a<=4;a++){var l=s%10;l===0&&pA(i,ul)&&o!==""?o=t[l]+o:l>1||l===1&&a===0||l===1&&a===1&&pA(i,uo)||l===1&&a===1&&pA(i,fo)&&e>100||l===1&&a>1&&pA(i,yc)?o=t[l]+(a>0?n[a-1]:"")+o:l===1&&a>0&&(o=n[a-1]+o),s=Math.floor(s/10)}return(e<0?A:"")+o},N1="ๅ็พๅ่ฌ",O1="ๆพไฝฐไป่ฌ",H1="ใใคใใน",sp="๋ง์ด๋์ค",Wc=function(e,t,n){var A=n?". ":"",r=n?"ใ":"",i=n?", ":"",s=n?" ":"";switch(t){case 0:return"โข"+s;case 1:return"โฆ"+s;case 2:return"โพ"+s;case 5:var o=Xn(e,48,57,!0,A);return o.length<4?"0"+o:o;case 4:return ea(e,"ใไธไบไธๅไบๅ ญไธๅ ซไน",r);case 6:return nl(e,1,3999,k1,3,A).toLowerCase();case 7:return nl(e,1,3999,k1,3,A);case 8:return Xn(e,945,969,!1,A);case 9:return Xn(e,97,122,!1,A);case 10:return Xn(e,65,90,!1,A);case 11:return Xn(e,1632,1641,!0,A);case 12:case 49:return nl(e,1,9999,T1,3,A);case 35:return nl(e,1,9999,T1,3,A).toLowerCase();case 13:return Xn(e,2534,2543,!0,A);case 14:case 30:return Xn(e,6112,6121,!0,A);case 15:return ea(e,"ๅญไธๅฏ ๅฏ่พฐๅทณๅๆช็ณ้ ๆไบฅ",r);case 16:return ea(e,"็ฒไนไธไธๆๅทฑๅบ่พๅฃฌ็ธ",r);case 17:case 48:return bs(e,"้ถไธไบไธๅไบๅ ญไธๅ ซไน",N1,"่ฒ ",r,uo|fo|yc);case 47:return bs(e,"้ถๅฃน่ฒณๅ่ไผ้ธๆๆ็",O1,"่ฒ ",r,ul|uo|fo|yc);case 42:return bs(e,"้ถไธไบไธๅไบๅ ญไธๅ ซไน",N1,"่ด",r,uo|fo|yc);case 41:return bs(e,"้ถๅฃน่ดฐๅ่ไผ้ๆๆ็",O1,"่ด",r,ul|uo|fo|yc);case 26:return bs(e,"ใไธไบไธๅไบๅ ญไธๅ ซไน","ๅ็พๅไธ",H1,r,0);case 25:return bs(e,"้ถๅฃฑๅผๅๅไผๅ ญไธๅ ซไน","ๆพ็พๅไธ",H1,r,ul|uo|fo);case 31:return bs(e,"์์ผ์ด์ผ์ฌ์ค์ก์น ํ๊ตฌ","์ญ๋ฐฑ์ฒ๋ง",sp,i,ul|uo|fo);case 33:return bs(e,"้ถไธไบไธๅไบๅ ญไธๅ ซไน","ๅ็พๅ่ฌ",sp,i,0);case 32:return bs(e,"้ถๅฃน่ฒณๅๅไบๅ ญไธๅ ซไน","ๆพ็พๅ",sp,i,ul|uo|fo);case 18:return Xn(e,2406,2415,!0,A);case 20:return nl(e,1,19999,ZT,3,A);case 21:return Xn(e,2790,2799,!0,A);case 22:return Xn(e,2662,2671,!0,A);case 22:return nl(e,1,10999,JT,3,A);case 23:return ea(e,"ใใใใใใใใใใใใใใใใใกใคใฆใจใชใซใฌใญใฎใฏใฒใตใธใปใพใฟใใใใใใใใใใใใใใใใ");case 24:return ea(e,"ใใใฏใซใปใธใจใกใใฌใใใใใใใใใคใญใชใใใใใฎใใใใพใใตใใใฆใใใใใใฟใใใฒใใใ");case 27:return Xn(e,3302,3311,!0,A);case 28:return ea(e,"ใขใคใฆใจใชใซใญใฏใฑใณใตใทในใปใฝใฟใใใใใใใใใใใใใใใใใ ใกใขใคใฆใจใฉใชใซใฌใญใฏใฐใฑใฒใณ",r);case 29:return ea(e,"ใคใญใใใใใใใชใใซใฒใฏใซใจใฟใฌใฝใใใใฉใ ใฆใฐใใชใฏใคใใฑใใณใจใใขใตใญใฆใกใใทใฑใใขใปใน",r);case 34:return Xn(e,3792,3801,!0,A);case 37:return Xn(e,6160,6169,!0,A);case 38:return Xn(e,4160,4169,!0,A);case 39:return Xn(e,2918,2927,!0,A);case 40:return Xn(e,1776,1785,!0,A);case 43:return Xn(e,3046,3055,!0,A);case 44:return Xn(e,3174,3183,!0,A);case 45:return Xn(e,3664,3673,!0,A);case 46:return Xn(e,3872,3881,!0,A);default:return Xn(e,48,57,!0,A)}},tx="data-html2canvas-ignore",P1=(function(){function e(t,n,A){if(this.context=t,this.options=A,this.scrolledElements=[],this.referenceElement=n,this.counters=new YT,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 A=this,r=t6(t,n);if(!r.contentWindow)return Promise.reject("Unable to find iframe window");var i=t.defaultView.pageXOffset,s=t.defaultView.pageYOffset,o=r.contentWindow,a=o.document,l=A6(r).then(function(){return nr(A,void 0,void 0,function(){var u,h;return DA(this,function(w){switch(w.label){case 0:return this.scrolledElements.forEach(o6),o&&(o.scrollTo(n.left,n.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(o.scrollY!==n.top||o.scrollX!==n.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(o.scrollX-n.left,o.scrollY-n.top,0,0))),u=this.options.onclone,h=this.clonedReferenceElement,typeof h>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:a.fonts&&a.fonts.ready?[4,a.fonts.ready]:[3,2];case 1:w.sent(),w.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,n6(a)]:[3,4];case 3:w.sent(),w.label=4;case 4:return typeof u=="function"?[2,Promise.resolve().then(function(){return u(a,h)}).then(function(){return r})]:[2,r]}})})});return a.open(),a.write(i6(document.doctype)+"<html></html>"),s6(this.referenceElement.ownerDocument,i,s),a.replaceChild(a.adoptNode(this.documentElement),a.documentElement),a.close(),l},e.prototype.createElementClone=function(t){if(Sg(t,2))debugger;if($5(t))return this.createCanvasClone(t);if(S1(t))return this.createVideoClone(t);if(L1(t))return this.createStyleClone(t);var n=t.cloneNode(!1);return Tg(n)&&(Tg(t)&&t.currentSrc&&t.currentSrc!==t.src&&(n.src=t.currentSrc,n.srcset=""),n.loading==="lazy"&&(n.loading="eager")),I1(n)?this.createCustomElementClone(n):n},e.prototype.createCustomElementClone=function(t){var n=document.createElement("html2canvascustomelement");return op(t.style,n),n},e.prototype.createStyleClone=function(t){try{var n=t.sheet;if(n&&n.cssRules){var A=[].slice.call(n.cssRules,0).reduce(function(i,s){return s&&typeof s.cssText=="string"?i+s.cssText:i},""),r=t.cloneNode(!1);return r.textContent=A,r}}catch(i){if(this.context.logger.error("Unable to access cssRules property",i),i.name!=="SecurityError")throw i}return t.cloneNode(!1)},e.prototype.createCanvasClone=function(t){var n;if(this.options.inlineImages&&t.ownerDocument){var A=t.ownerDocument.createElement("img");try{return A.src=t.toDataURL(),A}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",t)}}var r=t.cloneNode(!1);try{r.width=t.width,r.height=t.height;var i=t.getContext("2d"),s=r.getContext("2d");if(s)if(!this.options.allowTaint&&i)s.putImageData(i.getImageData(0,0,t.width,t.height),0,0);else{var o=(n=t.getContext("webgl2"))!==null&&n!==void 0?n:t.getContext("webgl");if(o){var a=o.getContextAttributes();a?.preserveDrawingBuffer===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",t)}s.drawImage(t,0,0)}return r}catch{this.context.logger.info("Unable to clone canvas as it is tainted",t)}return r},e.prototype.createVideoClone=function(t){var n=t.ownerDocument.createElement("canvas");n.width=t.offsetWidth,n.height=t.offsetHeight;var A=n.getContext("2d");try{return A&&(A.drawImage(t,0,0,n.width,n.height),this.options.allowTaint||A.getImageData(0,0,n.width,n.height)),n}catch{this.context.logger.info("Unable to clone video as it is tainted",t)}var r=t.ownerDocument.createElement("canvas");return r.width=t.offsetWidth,r.height=t.offsetHeight,r},e.prototype.appendChildNode=function(t,n,A){(!pl(n)||!$T(n)&&!n.hasAttribute(tx)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(n)))&&(!this.options.copyStyles||!pl(n)||!L1(n))&&t.appendChild(this.cloneNode(n,A))},e.prototype.cloneChildNodes=function(t,n,A){for(var r=this,i=t.shadowRoot?t.shadowRoot.firstChild:t.firstChild;i;i=i.nextSibling)if(pl(i)&&J5(i)&&typeof i.assignedNodes=="function"){var s=i.assignedNodes();s.length&&s.forEach(function(o){return r.appendChildNode(n,o,A)})}else this.appendChildNode(n,i,A)},e.prototype.cloneNode=function(t,n){if(G5(t))return document.createTextNode(t.data);if(!t.ownerDocument)return t.cloneNode(!1);var A=t.ownerDocument.defaultView;if(A&&pl(t)&&(kg(t)||Kf(t))){var r=this.createElementClone(t);r.style.transitionProperty="none";var i=A.getComputedStyle(t),s=A.getComputedStyle(t,":before"),o=A.getComputedStyle(t,":after");this.referenceElement===t&&kg(r)&&(this.clonedReferenceElement=r),ew(r)&&c6(r);var a=this.counters.parse(new p1(this.context,i)),l=this.resolvePseudoContent(t,r,s,Tc.BEFORE);I1(t)&&(n=!0),S1(t)||this.cloneChildNodes(t,r,n),l&&r.insertBefore(l,r.firstChild);var u=this.resolvePseudoContent(t,r,o,Tc.AFTER);return u&&r.appendChild(u),this.counters.pop(a),(i&&(this.options.copyStyles||Kf(t))&&!Y5(t)||n)&&op(i,r),(t.scrollTop!==0||t.scrollLeft!==0)&&this.scrolledElements.push([r,t.scrollLeft,t.scrollTop]),(gh(t)||wh(t))&&(gh(r)||wh(r))&&(r.value=t.value),r}return t.cloneNode(!1)},e.prototype.resolvePseudoContent=function(t,n,A,r){var i=this;if(A){var s=A.content,o=n.ownerDocument;if(!(!o||!s||s==="none"||s==="-moz-alt-content"||A.display==="none")){this.counters.parse(new p1(this.context,A));var a=new qk(this.context,A),l=o.createElement("html2canvaspseudoelement");op(A,l),a.content.forEach(function(h){if(h.type===0)l.appendChild(o.createTextNode(h.value));else if(h.type===22){var w=o.createElement("img");w.src=h.value,w.style.opacity="1",l.appendChild(w)}else if(h.type===18){if(h.name==="attr"){var p=h.values.filter(gn);p.length&&l.appendChild(o.createTextNode(t.getAttribute(p[0].value)||""))}else if(h.name==="counter"){var y=h.values.filter(Ql),v=y[0],C=y[1];if(v&&gn(v)){var _=i.counters.getCounterValue(v.value),S=C&&gn(C)?Qg.parse(i.context,C.value):3;l.appendChild(o.createTextNode(Wc(_,S,!1)))}}else if(h.name==="counters"){var M=h.values.filter(Ql),v=M[0],T=M[1],C=M[2];if(v&&gn(v)){var V=i.counters.getCounterValues(v.value),B=C&&gn(C)?Qg.parse(i.context,C.value):3,G=T&&T.type===0?T.value:"",z=V.map(function(N){return Wc(N,B,!1)}).join(G);l.appendChild(o.createTextNode(z))}}}else if(h.type===20)switch(h.value){case"open-quote":l.appendChild(o.createTextNode(d1(a.quotes,i.quoteDepth++,!0)));break;case"close-quote":l.appendChild(o.createTextNode(d1(a.quotes,--i.quoteDepth,!1)));break;default:l.appendChild(o.createTextNode(h.value))}}),l.className=Ng+" "+Og;var u=r===Tc.BEFORE?" "+Ng:" "+Og;return Kf(n)?n.className.baseValue+=u:n.className+=u,l}}},e.destroy=function(t){return t.parentNode?(t.parentNode.removeChild(t),!0):!1},e})(),Tc;(function(e){e[e.BEFORE=0]="BEFORE",e[e.AFTER=1]="AFTER"})(Tc||(Tc={}));var t6=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(tx,"true"),e.body.appendChild(n),n},e6=function(e){return new Promise(function(t){if(e.complete){t();return}if(!e.src){t();return}e.onload=t,e.onerror=t})},n6=function(e){return Promise.all([].slice.call(e.images,0).map(e6))},A6=function(e){return new Promise(function(t,n){var A=e.contentWindow;if(!A)return n("No window assigned for iframe");var r=A.document;A.onload=e.onload=function(){A.onload=e.onload=null;var i=setInterval(function(){r.body.childNodes.length>0&&r.readyState==="complete"&&(clearInterval(i),t(e))},50)}})},r6=["all","d","content"],op=function(e,t){for(var n=e.length-1;n>=0;n--){var A=e.item(n);r6.indexOf(A)===-1&&t.style.setProperty(A,e.getPropertyValue(A))}return t},i6=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},s6=function(e,t,n){e&&e.defaultView&&(t!==e.defaultView.pageXOffset||n!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(t,n)},o6=function(e){var t=e[0],n=e[1],A=e[2];t.scrollLeft=n,t.scrollTop=A},a6=":before",l6=":after",Ng="___html2canvas___pseudoelement_before",Og="___html2canvas___pseudoelement_after",M1=`{ content: "" !important; display: none !important; }`,c6=function(e){u6(e,"."+Ng+a6+M1+` .`+Og+l6+M1)},u6=function(e,t){var n=e.ownerDocument;if(n){var A=n.createElement("style");A.textContent=t,e.appendChild(A)}},ex=(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})(),f6=(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)||(lp(t)||g6(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 nr(this,void 0,void 0,function(){var n,A,r,i,s=this;return DA(this,function(o){switch(o.label){case 0:return n=ex.isSameOrigin(t),A=!ap(t)&&this._options.useCORS===!0&&UA.SUPPORT_CORS_IMAGES&&!n,r=!ap(t)&&!n&&!lp(t)&&typeof this._options.proxy=="string"&&UA.SUPPORT_CORS_XHR&&!A,!n&&this._options.allowTaint===!1&&!ap(t)&&!lp(t)&&!r&&!A?[2]:(i=t,r?[4,this.proxy(i)]:[3,2]);case 1:i=o.sent(),o.label=2;case 2:return this.context.logger.debug("Added image "+t.substring(0,256)),[4,new Promise(function(a,l){var u=new Image;u.onload=function(){return a(u)},u.onerror=l,(w6(i)||A)&&(u.crossOrigin="anonymous"),u.src=i,u.complete===!0&&setTimeout(function(){return a(u)},500),s._options.imageTimeout>0&&setTimeout(function(){return l("Timed out ("+s._options.imageTimeout+"ms) loading image")},s._options.imageTimeout)})];case 3:return[2,o.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,A=this._options.proxy;if(!A)throw new Error("No proxy defined");var r=t.substring(0,256);return new Promise(function(i,s){var o=UA.SUPPORT_RESPONSE_TYPE?"blob":"text",a=new XMLHttpRequest;a.onload=function(){if(a.status===200)if(o==="text")i(a.response);else{var h=new FileReader;h.addEventListener("load",function(){return i(h.result)},!1),h.addEventListener("error",function(w){return s(w)},!1),h.readAsDataURL(a.response)}else s("Failed to proxy resource "+r+" with status code "+a.status)},a.onerror=s;var l=A.indexOf("?")>-1?"&":"?";if(a.open("GET",""+A+l+"url="+encodeURIComponent(t)+"&responseType="+o),o!=="text"&&a instanceof XMLHttpRequest&&(a.responseType=o),n._options.imageTimeout){var u=n._options.imageTimeout;a.timeout=u,a.ontimeout=function(){return s("Timed out ("+u+"ms) proxying "+r)}}a.send()})},e})(),h6=/^data:image\/svg\+xml/i,d6=/^data:image\/.*;base64,/i,p6=/^data:image\/.*/i,g6=function(e){return UA.SUPPORT_SVG_DRAWING||!m6(e)},ap=function(e){return p6.test(e)},w6=function(e){return d6.test(e)},lp=function(e){return e.substr(0,4)==="blob"},m6=function(e){return e.substr(-3).toLowerCase()==="svg"||h6.test(e)},ce=(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})(),Al=function(e,t,n){return new ce(e.x+(t.x-e.x)*n,e.y+(t.y-e.y)*n)},lf=(function(){function e(t,n,A,r){this.type=1,this.start=t,this.startControl=n,this.endControl=A,this.end=r}return e.prototype.subdivide=function(t,n){var A=Al(this.start,this.startControl,t),r=Al(this.startControl,this.endControl,t),i=Al(this.endControl,this.end,t),s=Al(A,r,t),o=Al(r,i,t),a=Al(s,o,t);return n?new e(this.start,A,s,a):new e(a,o,i,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})(),ei=function(e){return e.type===1},B6=(function(){function e(t){var n=t.styles,A=t.bounds,r=bc(n.borderTopLeftRadius,A.width,A.height),i=r[0],s=r[1],o=bc(n.borderTopRightRadius,A.width,A.height),a=o[0],l=o[1],u=bc(n.borderBottomRightRadius,A.width,A.height),h=u[0],w=u[1],p=bc(n.borderBottomLeftRadius,A.width,A.height),y=p[0],v=p[1],C=[];C.push((i+a)/A.width),C.push((y+h)/A.width),C.push((s+v)/A.height),C.push((l+w)/A.height);var _=Math.max.apply(Math,C);_>1&&(i/=_,s/=_,a/=_,l/=_,h/=_,w/=_,y/=_,v/=_);var S=A.width-a,M=A.height-w,T=A.width-h,V=A.height-v,B=n.borderTopWidth,G=n.borderRightWidth,z=n.borderBottomWidth,H=n.borderLeftWidth,ot=xn(n.paddingTop,t.bounds.width),N=xn(n.paddingRight,t.bounds.width),K=xn(n.paddingBottom,t.bounds.width),et=xn(n.paddingLeft,t.bounds.width);this.topLeftBorderDoubleOuterBox=i>0||s>0?In(A.left+H/3,A.top+B/3,i-H/3,s-B/3,un.TOP_LEFT):new ce(A.left+H/3,A.top+B/3),this.topRightBorderDoubleOuterBox=i>0||s>0?In(A.left+S,A.top+B/3,a-G/3,l-B/3,un.TOP_RIGHT):new ce(A.left+A.width-G/3,A.top+B/3),this.bottomRightBorderDoubleOuterBox=h>0||w>0?In(A.left+T,A.top+M,h-G/3,w-z/3,un.BOTTOM_RIGHT):new ce(A.left+A.width-G/3,A.top+A.height-z/3),this.bottomLeftBorderDoubleOuterBox=y>0||v>0?In(A.left+H/3,A.top+V,y-H/3,v-z/3,un.BOTTOM_LEFT):new ce(A.left+H/3,A.top+A.height-z/3),this.topLeftBorderDoubleInnerBox=i>0||s>0?In(A.left+H*2/3,A.top+B*2/3,i-H*2/3,s-B*2/3,un.TOP_LEFT):new ce(A.left+H*2/3,A.top+B*2/3),this.topRightBorderDoubleInnerBox=i>0||s>0?In(A.left+S,A.top+B*2/3,a-G*2/3,l-B*2/3,un.TOP_RIGHT):new ce(A.left+A.width-G*2/3,A.top+B*2/3),this.bottomRightBorderDoubleInnerBox=h>0||w>0?In(A.left+T,A.top+M,h-G*2/3,w-z*2/3,un.BOTTOM_RIGHT):new ce(A.left+A.width-G*2/3,A.top+A.height-z*2/3),this.bottomLeftBorderDoubleInnerBox=y>0||v>0?In(A.left+H*2/3,A.top+V,y-H*2/3,v-z*2/3,un.BOTTOM_LEFT):new ce(A.left+H*2/3,A.top+A.height-z*2/3),this.topLeftBorderStroke=i>0||s>0?In(A.left+H/2,A.top+B/2,i-H/2,s-B/2,un.TOP_LEFT):new ce(A.left+H/2,A.top+B/2),this.topRightBorderStroke=i>0||s>0?In(A.left+S,A.top+B/2,a-G/2,l-B/2,un.TOP_RIGHT):new ce(A.left+A.width-G/2,A.top+B/2),this.bottomRightBorderStroke=h>0||w>0?In(A.left+T,A.top+M,h-G/2,w-z/2,un.BOTTOM_RIGHT):new ce(A.left+A.width-G/2,A.top+A.height-z/2),this.bottomLeftBorderStroke=y>0||v>0?In(A.left+H/2,A.top+V,y-H/2,v-z/2,un.BOTTOM_LEFT):new ce(A.left+H/2,A.top+A.height-z/2),this.topLeftBorderBox=i>0||s>0?In(A.left,A.top,i,s,un.TOP_LEFT):new ce(A.left,A.top),this.topRightBorderBox=a>0||l>0?In(A.left+S,A.top,a,l,un.TOP_RIGHT):new ce(A.left+A.width,A.top),this.bottomRightBorderBox=h>0||w>0?In(A.left+T,A.top+M,h,w,un.BOTTOM_RIGHT):new ce(A.left+A.width,A.top+A.height),this.bottomLeftBorderBox=y>0||v>0?In(A.left,A.top+V,y,v,un.BOTTOM_LEFT):new ce(A.left,A.top+A.height),this.topLeftPaddingBox=i>0||s>0?In(A.left+H,A.top+B,Math.max(0,i-H),Math.max(0,s-B),un.TOP_LEFT):new ce(A.left+H,A.top+B),this.topRightPaddingBox=a>0||l>0?In(A.left+Math.min(S,A.width-G),A.top+B,S>A.width+G?0:Math.max(0,a-G),Math.max(0,l-B),un.TOP_RIGHT):new ce(A.left+A.width-G,A.top+B),this.bottomRightPaddingBox=h>0||w>0?In(A.left+Math.min(T,A.width-H),A.top+Math.min(M,A.height-z),Math.max(0,h-G),Math.max(0,w-z),un.BOTTOM_RIGHT):new ce(A.left+A.width-G,A.top+A.height-z),this.bottomLeftPaddingBox=y>0||v>0?In(A.left+H,A.top+Math.min(V,A.height-z),Math.max(0,y-H),Math.max(0,v-z),un.BOTTOM_LEFT):new ce(A.left+H,A.top+A.height-z),this.topLeftContentBox=i>0||s>0?In(A.left+H+et,A.top+B+ot,Math.max(0,i-(H+et)),Math.max(0,s-(B+ot)),un.TOP_LEFT):new ce(A.left+H+et,A.top+B+ot),this.topRightContentBox=a>0||l>0?In(A.left+Math.min(S,A.width+H+et),A.top+B+ot,S>A.width+H+et?0:a-H+et,l-(B+ot),un.TOP_RIGHT):new ce(A.left+A.width-(G+N),A.top+B+ot),this.bottomRightContentBox=h>0||w>0?In(A.left+Math.min(T,A.width-(H+et)),A.top+Math.min(M,A.height+B+ot),Math.max(0,h-(G+N)),w-(z+K),un.BOTTOM_RIGHT):new ce(A.left+A.width-(G+N),A.top+A.height-(z+K)),this.bottomLeftContentBox=y>0||v>0?In(A.left+H+et,A.top+V,Math.max(0,y-(H+et)),v-(z+K),un.BOTTOM_LEFT):new ce(A.left+H+et,A.top+A.height-(z+K))}return e})(),un;(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"})(un||(un={}));var In=function(e,t,n,A,r){var i=4*((Math.sqrt(2)-1)/3),s=n*i,o=A*i,a=e+n,l=t+A;switch(r){case un.TOP_LEFT:return new lf(new ce(e,l),new ce(e,l-o),new ce(a-s,t),new ce(a,t));case un.TOP_RIGHT:return new lf(new ce(e,t),new ce(e+s,t),new ce(a,l-o),new ce(a,l));case un.BOTTOM_RIGHT:return new lf(new ce(a,t),new ce(a,t+o),new ce(e+s,l),new ce(e,l));case un.BOTTOM_LEFT:default:return new lf(new ce(a,l),new ce(a-s,l),new ce(e,t+o),new ce(e,t))}},mh=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},b6=function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]},Bh=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},v6=(function(){function e(t,n,A){this.offsetX=t,this.offsetY=n,this.matrix=A,this.type=0,this.target=6}return e})(),cf=(function(){function e(t,n){this.path=t,this.target=n,this.type=1}return e})(),y6=(function(){function e(t){this.opacity=t,this.type=2,this.target=6}return e})(),x6=function(e){return e.type===0},nx=function(e){return e.type===1},C6=function(e){return e.type===2},D1=function(e,t){return e.length===t.length?e.some(function(n,A){return n===t[A]}):!1},F6=function(e,t,n,A,r){return e.map(function(i,s){switch(s){case 0:return i.add(t,n);case 1:return i.add(t+A,n);case 2:return i.add(t+A,n+r);case 3:return i.add(t,n+r)}return i})},Ax=(function(){function e(t){this.element=t,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return e})(),rx=(function(){function e(t,n){if(this.container=t,this.parent=n,this.effects=[],this.curves=new B6(this.container),this.container.styles.opacity<1&&this.effects.push(new y6(this.container.styles.opacity)),this.container.styles.transform!==null){var A=this.container.bounds.left+this.container.styles.transformOrigin[0].number,r=this.container.bounds.top+this.container.styles.transformOrigin[1].number,i=this.container.styles.transform;this.effects.push(new v6(A,r,i))}if(this.container.styles.overflowX!==0){var s=mh(this.curves),o=Bh(this.curves);D1(s,o)?this.effects.push(new cf(s,6)):(this.effects.push(new cf(s,2)),this.effects.push(new cf(o,4)))}}return e.prototype.getEffects=function(t){for(var n=[2,3].indexOf(this.container.styles.position)===-1,A=this.parent,r=this.effects.slice(0);A;){var i=A.effects.filter(function(a){return!nx(a)});if(n||A.container.styles.position!==0||!A.parent){if(r.unshift.apply(r,i),n=[2,3].indexOf(A.container.styles.position)===-1,A.container.styles.overflowX!==0){var s=mh(A.curves),o=Bh(A.curves);D1(s,o)||r.unshift(new cf(o,6))}}else r.unshift.apply(r,i);A=A.parent}return r.filter(function(a){return pA(a.target,t)})},e})(),Hg=function(e,t,n,A){e.container.elements.forEach(function(r){var i=pA(r.flags,4),s=pA(r.flags,2),o=new rx(r,e);pA(r.styles.display,2048)&&A.push(o);var a=pA(r.flags,8)?[]:A;if(i||s){var l=i||r.styles.isPositioned()?n:t,u=new Ax(o);if(r.styles.isPositioned()||r.styles.opacity<1||r.styles.isTransformed()){var h=r.styles.zIndex.order;if(h<0){var w=0;l.negativeZIndex.some(function(y,v){return h>y.element.container.styles.zIndex.order?(w=v,!1):w>0}),l.negativeZIndex.splice(w,0,u)}else if(h>0){var p=0;l.positiveZIndex.some(function(y,v){return h>=y.element.container.styles.zIndex.order?(p=v+1,!1):p>0}),l.positiveZIndex.splice(p,0,u)}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(u)}else r.styles.isFloating()?l.nonPositionedFloats.push(u):l.nonPositionedInlineLevel.push(u);Hg(o,u,i?u:n,a)}else r.styles.isInlineLevel()?t.inlineLevel.push(o):t.nonInlineLevel.push(o),Hg(o,t,n,a);pA(r.flags,8)&&ix(r,a)})},ix=function(e,t){for(var n=e instanceof Ig?e.start:1,A=e instanceof Ig?e.reversed:!1,r=0;r<t.length;r++){var i=t[r];i.container instanceof K5&&typeof i.container.value=="number"&&i.container.value!==0&&(n=i.container.value),i.listValue=Wc(n,i.container.styles.listStyleType,!0),n+=A?-1:1}},_6=function(e){var t=new rx(e,null),n=new Ax(t),A=[];return Hg(t,n,n,A),ix(t.container,A),n},R1=function(e,t){switch(t){case 0:return ri(e.topLeftBorderBox,e.topLeftPaddingBox,e.topRightBorderBox,e.topRightPaddingBox);case 1:return ri(e.topRightBorderBox,e.topRightPaddingBox,e.bottomRightBorderBox,e.bottomRightPaddingBox);case 2:return ri(e.bottomRightBorderBox,e.bottomRightPaddingBox,e.bottomLeftBorderBox,e.bottomLeftPaddingBox);default:return ri(e.bottomLeftBorderBox,e.bottomLeftPaddingBox,e.topLeftBorderBox,e.topLeftPaddingBox)}},E6=function(e,t){switch(t){case 0:return ri(e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox,e.topRightBorderBox,e.topRightBorderDoubleOuterBox);case 1:return ri(e.topRightBorderBox,e.topRightBorderDoubleOuterBox,e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox);case 2:return ri(e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox,e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox);default:return ri(e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox,e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox)}},U6=function(e,t){switch(t){case 0:return ri(e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox,e.topRightBorderDoubleInnerBox,e.topRightPaddingBox);case 1:return ri(e.topRightBorderDoubleInnerBox,e.topRightPaddingBox,e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox);case 2:return ri(e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox,e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox);default:return ri(e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox,e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox)}},Q6=function(e,t){switch(t){case 0:return uf(e.topLeftBorderStroke,e.topRightBorderStroke);case 1:return uf(e.topRightBorderStroke,e.bottomRightBorderStroke);case 2:return uf(e.bottomRightBorderStroke,e.bottomLeftBorderStroke);default:return uf(e.bottomLeftBorderStroke,e.topLeftBorderStroke)}},uf=function(e,t){var n=[];return ei(e)?n.push(e.subdivide(.5,!1)):n.push(e),ei(t)?n.push(t.subdivide(.5,!0)):n.push(t),n},ri=function(e,t,n,A){var r=[];return ei(e)?r.push(e.subdivide(.5,!1)):r.push(e),ei(n)?r.push(n.subdivide(.5,!0)):r.push(n),ei(A)?r.push(A.subdivide(.5,!0).reverse()):r.push(A),ei(t)?r.push(t.subdivide(.5,!1).reverse()):r.push(t),r},sx=function(e){var t=e.bounds,n=e.styles;return t.add(n.borderLeftWidth,n.borderTopWidth,-(n.borderRightWidth+n.borderLeftWidth),-(n.borderTopWidth+n.borderBottomWidth))},bh=function(e){var t=e.styles,n=e.bounds,A=xn(t.paddingLeft,n.width),r=xn(t.paddingRight,n.width),i=xn(t.paddingTop,n.width),s=xn(t.paddingBottom,n.width);return n.add(A+t.borderLeftWidth,i+t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth+A+r),-(t.borderTopWidth+t.borderBottomWidth+i+s))},S6=function(e,t){return e===0?t.bounds:e===2?bh(t):sx(t)},L6=function(e,t){return e===0?t.bounds:e===2?bh(t):sx(t)},cp=function(e,t,n){var A=S6(fl(e.styles.backgroundOrigin,t),e),r=L6(fl(e.styles.backgroundClip,t),e),i=I6(fl(e.styles.backgroundSize,t),n,A),s=i[0],o=i[1],a=bc(fl(e.styles.backgroundPosition,t),A.width-s,A.height-o),l=k6(fl(e.styles.backgroundRepeat,t),a,i,A,r),u=Math.round(A.left+a[0]),h=Math.round(A.top+a[1]);return[l,u,h,s,o]},rl=function(e){return gn(e)&&e.value===ml.AUTO},ff=function(e){return typeof e=="number"},I6=function(e,t,n){var A=t[0],r=t[1],i=t[2],s=e[0],o=e[1];if(!s)return[0,0];if(oA(s)&&o&&oA(o))return[xn(s,n.width),xn(o,n.height)];var a=ff(i);if(gn(s)&&(s.value===ml.CONTAIN||s.value===ml.COVER)){if(ff(i)){var l=n.width/n.height;return l<i!=(s.value===ml.COVER)?[n.width,n.width/i]:[n.height*i,n.height]}return[n.width,n.height]}var u=ff(A),h=ff(r),w=u||h;if(rl(s)&&(!o||rl(o))){if(u&&h)return[A,r];if(!a&&!w)return[n.width,n.height];if(w&&a){var p=u?A:r*i,y=h?r:A/i;return[p,y]}var v=u?A:n.width,C=h?r:n.height;return[v,C]}if(a){var _=0,S=0;return oA(s)?_=xn(s,n.width):oA(o)&&(S=xn(o,n.height)),rl(s)?_=S*i:(!o||rl(o))&&(S=_/i),[_,S]}var M=null,T=null;if(oA(s)?M=xn(s,n.width):o&&oA(o)&&(T=xn(o,n.height)),M!==null&&(!o||rl(o))&&(T=u&&h?M/A*r:n.height),T!==null&&rl(s)&&(M=u&&h?T/r*A:n.width),M!==null&&T!==null)return[M,T];throw new Error("Unable to calculate background-size for element")},fl=function(e,t){var n=e[t];return typeof n>"u"?e[0]:n},k6=function(e,t,n,A,r){var i=t[0],s=t[1],o=n[0],a=n[1];switch(e){case 2:return[new ce(Math.round(A.left),Math.round(A.top+s)),new ce(Math.round(A.left+A.width),Math.round(A.top+s)),new ce(Math.round(A.left+A.width),Math.round(a+A.top+s)),new ce(Math.round(A.left),Math.round(a+A.top+s))];case 3:return[new ce(Math.round(A.left+i),Math.round(A.top)),new ce(Math.round(A.left+i+o),Math.round(A.top)),new ce(Math.round(A.left+i+o),Math.round(A.height+A.top)),new ce(Math.round(A.left+i),Math.round(A.height+A.top))];case 1:return[new ce(Math.round(A.left+i),Math.round(A.top+s)),new ce(Math.round(A.left+i+o),Math.round(A.top+s)),new ce(Math.round(A.left+i+o),Math.round(A.top+s+a)),new ce(Math.round(A.left+i),Math.round(A.top+s+a))];default:return[new ce(Math.round(r.left),Math.round(r.top)),new ce(Math.round(r.left+r.width),Math.round(r.top)),new ce(Math.round(r.left+r.width),Math.round(r.height+r.top)),new ce(Math.round(r.left),Math.round(r.height+r.top))]}},T6="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",K1="Hidden Text",N6=(function(){function e(t){this._data={},this._document=t}return e.prototype.parseMetrics=function(t,n){var A=this._document.createElement("div"),r=this._document.createElement("img"),i=this._document.createElement("span"),s=this._document.body;A.style.visibility="hidden",A.style.fontFamily=t,A.style.fontSize=n,A.style.margin="0",A.style.padding="0",A.style.whiteSpace="nowrap",s.appendChild(A),r.src=T6,r.width=1,r.height=1,r.style.margin="0",r.style.padding="0",r.style.verticalAlign="baseline",i.style.fontFamily=t,i.style.fontSize=n,i.style.margin="0",i.style.padding="0",i.appendChild(this._document.createTextNode(K1)),A.appendChild(i),A.appendChild(r);var o=r.offsetTop-i.offsetTop+2;A.removeChild(i),A.appendChild(this._document.createTextNode(K1)),A.style.lineHeight="normal",r.style.verticalAlign="super";var a=r.offsetTop-A.offsetTop+2;return s.removeChild(A),{baseline:o,middle:a}},e.prototype.getMetrics=function(t,n){var A=t+" "+n;return typeof this._data[A]>"u"&&(this._data[A]=this.parseMetrics(t,n)),this._data[A]},e})(),ox=(function(){function e(t,n){this.context=t,this.options=n}return e})(),O6=1e4,H6=(function(e){Ui(t,e);function t(n,A){var r=e.call(this,n,A)||this;return r._activeEffects=[],r.canvas=A.canvas?A.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),A.canvas||(r.canvas.width=Math.floor(A.width*A.scale),r.canvas.height=Math.floor(A.height*A.scale),r.canvas.style.width=A.width+"px",r.canvas.style.height=A.height+"px"),r.fontMetrics=new N6(document),r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-A.x,-A.y),r.ctx.textBaseline="bottom",r._activeEffects=[],r.context.logger.debug("Canvas renderer initialized ("+A.width+"x"+A.height+") with scale "+A.scale),r}return t.prototype.applyEffects=function(n){for(var A=this;this._activeEffects.length;)this.popEffect();n.forEach(function(r){return A.applyEffect(r)})},t.prototype.applyEffect=function(n){this.ctx.save(),C6(n)&&(this.ctx.globalAlpha=n.opacity),x6(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)),nx(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 nr(this,void 0,void 0,function(){var A;return DA(this,function(r){switch(r.label){case 0:return A=n.element.container.styles,A.isVisible()?[4,this.renderStackContent(n)]:[3,2];case 1:r.sent(),r.label=2;case 2:return[2]}})})},t.prototype.renderNode=function(n){return nr(this,void 0,void 0,function(){return DA(this,function(A){switch(A.label){case 0:if(pA(n.container.flags,16))debugger;return n.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(n)]:[3,3];case 1:return A.sent(),[4,this.renderNodeContent(n)];case 2:A.sent(),A.label=3;case 3:return[2]}})})},t.prototype.renderTextWithLetterSpacing=function(n,A,r){var i=this;if(A===0)this.ctx.fillText(n.text,n.bounds.left,n.bounds.top+r);else{var s=Z0(n.text);s.reduce(function(o,a){return i.ctx.fillText(a,o,n.bounds.top+r),o+i.ctx.measureText(a).width},n.bounds.left)}},t.prototype.createFontStyle=function(n){var A=n.fontVariant.filter(function(s){return s==="normal"||s==="small-caps"}).join(""),r=K6(n.fontFamily).join(", "),i=du(n.fontSize)?""+n.fontSize.number+n.fontSize.unit:n.fontSize.number+"px";return[[n.fontStyle,A,n.fontWeight,i,r].join(" "),r,i]},t.prototype.renderTextNode=function(n,A){return nr(this,void 0,void 0,function(){var r,i,s,o,a,l,u,h,w=this;return DA(this,function(p){return r=this.createFontStyle(A),i=r[0],s=r[1],o=r[2],this.ctx.font=i,this.ctx.direction=A.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",a=this.fontMetrics.getMetrics(s,o),l=a.baseline,u=a.middle,h=A.paintOrder,n.textBounds.forEach(function(y){h.forEach(function(v){switch(v){case 0:w.ctx.fillStyle=mA(A.color),w.renderTextWithLetterSpacing(y,A.letterSpacing,l);var C=A.textShadow;C.length&&y.text.trim().length&&(C.slice(0).reverse().forEach(function(_){w.ctx.shadowColor=mA(_.color),w.ctx.shadowOffsetX=_.offsetX.number*w.options.scale,w.ctx.shadowOffsetY=_.offsetY.number*w.options.scale,w.ctx.shadowBlur=_.blur.number,w.renderTextWithLetterSpacing(y,A.letterSpacing,l)}),w.ctx.shadowColor="",w.ctx.shadowOffsetX=0,w.ctx.shadowOffsetY=0,w.ctx.shadowBlur=0),A.textDecorationLine.length&&(w.ctx.fillStyle=mA(A.textDecorationColor||A.color),A.textDecorationLine.forEach(function(_){switch(_){case 1:w.ctx.fillRect(y.bounds.left,Math.round(y.bounds.top+l),y.bounds.width,1);break;case 2:w.ctx.fillRect(y.bounds.left,Math.round(y.bounds.top),y.bounds.width,1);break;case 3:w.ctx.fillRect(y.bounds.left,Math.ceil(y.bounds.top+u),y.bounds.width,1);break}}));break;case 1:A.webkitTextStrokeWidth&&y.text.trim().length&&(w.ctx.strokeStyle=mA(A.webkitTextStrokeColor),w.ctx.lineWidth=A.webkitTextStrokeWidth,w.ctx.lineJoin=window.chrome?"miter":"round",w.ctx.strokeText(y.text,y.bounds.left,y.bounds.top+l)),w.ctx.strokeStyle="",w.ctx.lineWidth=0,w.ctx.lineJoin="miter";break}})}),[2]})})},t.prototype.renderReplacedElement=function(n,A,r){if(r&&n.intrinsicWidth>0&&n.intrinsicHeight>0){var i=bh(n),s=Bh(A);this.path(s),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(r,0,0,n.intrinsicWidth,n.intrinsicHeight,i.left,i.top,i.width,i.height),this.ctx.restore()}},t.prototype.renderNodeContent=function(n){return nr(this,void 0,void 0,function(){var A,r,i,s,o,a,S,S,l,u,h,w,T,p,y,V,v,C,_,S,M,T,V;return DA(this,function(B){switch(B.label){case 0:this.applyEffects(n.getEffects(4)),A=n.container,r=n.curves,i=A.styles,s=0,o=A.textNodes,B.label=1;case 1:return s<o.length?(a=o[s],[4,this.renderTextNode(a,i)]):[3,4];case 2:B.sent(),B.label=3;case 3:return s++,[3,1];case 4:if(!(A instanceof M5))return[3,8];B.label=5;case 5:return B.trys.push([5,7,,8]),[4,this.context.cache.match(A.src)];case 6:return S=B.sent(),this.renderReplacedElement(A,r,S),[3,8];case 7:return B.sent(),this.context.logger.error("Error loading image "+A.src),[3,8];case 8:if(A instanceof D5&&this.renderReplacedElement(A,r,A.canvas),!(A instanceof R5))return[3,12];B.label=9;case 9:return B.trys.push([9,11,,12]),[4,this.context.cache.match(A.svg)];case 10:return S=B.sent(),this.renderReplacedElement(A,r,S),[3,12];case 11:return B.sent(),this.context.logger.error("Error loading svg "+A.svg.substring(0,255)),[3,12];case 12:return A instanceof W5&&A.tree?(l=new t(this.context,{scale:this.options.scale,backgroundColor:A.backgroundColor,x:0,y:0,width:A.width,height:A.height}),[4,l.render(A.tree)]):[3,14];case 13:u=B.sent(),A.width&&A.height&&this.ctx.drawImage(u,0,0,A.width,A.height,A.bounds.left,A.bounds.top,A.bounds.width,A.bounds.height),B.label=14;case 14:if(A instanceof tw&&(h=Math.min(A.bounds.width,A.bounds.height),A.type===dh?A.checked&&(this.ctx.save(),this.path([new ce(A.bounds.left+h*.39363,A.bounds.top+h*.79),new ce(A.bounds.left+h*.16,A.bounds.top+h*.5549),new ce(A.bounds.left+h*.27347,A.bounds.top+h*.44071),new ce(A.bounds.left+h*.39694,A.bounds.top+h*.5649),new ce(A.bounds.left+h*.72983,A.bounds.top+h*.23),new ce(A.bounds.left+h*.84,A.bounds.top+h*.34085),new ce(A.bounds.left+h*.39363,A.bounds.top+h*.79)]),this.ctx.fillStyle=mA(Q1),this.ctx.fill(),this.ctx.restore()):A.type===ph&&A.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(A.bounds.left+h/2,A.bounds.top+h/2,h/4,0,Math.PI*2,!0),this.ctx.fillStyle=mA(Q1),this.ctx.fill(),this.ctx.restore())),P6(A)&&A.value.length){switch(w=this.createFontStyle(i),T=w[0],p=w[1],y=this.fontMetrics.getMetrics(T,p).baseline,this.ctx.font=T,this.ctx.fillStyle=mA(i.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=D6(A.styles.textAlign),V=bh(A),v=0,A.styles.textAlign){case 1:v+=V.width/2;break;case 2:v+=V.width;break}C=V.add(v,0,0,-V.height/2+1),this.ctx.save(),this.path([new ce(V.left,V.top),new ce(V.left+V.width,V.top),new ce(V.left+V.width,V.top+V.height),new ce(V.left,V.top+V.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new kc(A.value,C),i.letterSpacing,y),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!pA(A.styles.display,2048))return[3,20];if(A.styles.listStyleImage===null)return[3,19];if(_=A.styles.listStyleImage,_.type!==0)return[3,18];S=void 0,M=_.url,B.label=15;case 15:return B.trys.push([15,17,,18]),[4,this.context.cache.match(M)];case 16:return S=B.sent(),this.ctx.drawImage(S,A.bounds.left-(S.width+10),A.bounds.top),[3,18];case 17:return B.sent(),this.context.logger.error("Error loading list-style-image "+M),[3,18];case 18:return[3,20];case 19:n.listValue&&A.styles.listStyleType!==-1&&(T=this.createFontStyle(i)[0],this.ctx.font=T,this.ctx.fillStyle=mA(i.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",V=new Ns(A.bounds.left,A.bounds.top+xn(A.styles.paddingTop,A.bounds.width),A.bounds.width,f1(i.lineHeight,i.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new kc(n.listValue,V),i.letterSpacing,f1(i.lineHeight,i.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),B.label=20;case 20:return[2]}})})},t.prototype.renderStackContent=function(n){return nr(this,void 0,void 0,function(){var A,r,_,i,s,_,o,a,_,l,u,_,h,w,_,p,y,_,v,C,_;return DA(this,function(S){switch(S.label){case 0:if(pA(n.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(n.element)];case 1:S.sent(),A=0,r=n.negativeZIndex,S.label=2;case 2:return A<r.length?(_=r[A],[4,this.renderStack(_)]):[3,5];case 3:S.sent(),S.label=4;case 4:return A++,[3,2];case 5:return[4,this.renderNodeContent(n.element)];case 6:S.sent(),i=0,s=n.nonInlineLevel,S.label=7;case 7:return i<s.length?(_=s[i],[4,this.renderNode(_)]):[3,10];case 8:S.sent(),S.label=9;case 9:return i++,[3,7];case 10:o=0,a=n.nonPositionedFloats,S.label=11;case 11:return o<a.length?(_=a[o],[4,this.renderStack(_)]):[3,14];case 12:S.sent(),S.label=13;case 13:return o++,[3,11];case 14:l=0,u=n.nonPositionedInlineLevel,S.label=15;case 15:return l<u.length?(_=u[l],[4,this.renderStack(_)]):[3,18];case 16:S.sent(),S.label=17;case 17:return l++,[3,15];case 18:h=0,w=n.inlineLevel,S.label=19;case 19:return h<w.length?(_=w[h],[4,this.renderNode(_)]):[3,22];case 20:S.sent(),S.label=21;case 21:return h++,[3,19];case 22:p=0,y=n.zeroOrAutoZIndexOrTransformedOrOpacity,S.label=23;case 23:return p<y.length?(_=y[p],[4,this.renderStack(_)]):[3,26];case 24:S.sent(),S.label=25;case 25:return p++,[3,23];case 26:v=0,C=n.positiveZIndex,S.label=27;case 27:return v<C.length?(_=C[v],[4,this.renderStack(_)]):[3,30];case 28:S.sent(),S.label=29;case 29:return v++,[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 A=this;n.forEach(function(r,i){var s=ei(r)?r.start:r;i===0?A.ctx.moveTo(s.x,s.y):A.ctx.lineTo(s.x,s.y),ei(r)&&A.ctx.bezierCurveTo(r.startControl.x,r.startControl.y,r.endControl.x,r.endControl.y,r.end.x,r.end.y)})},t.prototype.renderRepeat=function(n,A,r,i){this.path(n),this.ctx.fillStyle=A,this.ctx.translate(r,i),this.ctx.fill(),this.ctx.translate(-r,-i)},t.prototype.resizeImage=function(n,A,r){var i;if(n.width===A&&n.height===r)return n;var s=(i=this.canvas.ownerDocument)!==null&&i!==void 0?i:document,o=s.createElement("canvas");o.width=Math.max(1,A),o.height=Math.max(1,r);var a=o.getContext("2d");return a.drawImage(n,0,0,n.width,n.height,0,0,A,r),o},t.prototype.renderBackgroundImage=function(n){return nr(this,void 0,void 0,function(){var A,r,i,s,o,a;return DA(this,function(l){switch(l.label){case 0:A=n.styles.backgroundImage.length-1,r=function(u){var h,w,p,ot,gt,mt,et,At,z,y,ot,gt,mt,et,At,v,C,_,S,M,T,V,B,G,z,H,ot,N,K,et,At,pt,gt,mt,ht,Ft,Vt,Ht,O,X,it,at;return DA(this,function(ct){switch(ct.label){case 0:if(u.type!==0)return[3,5];h=void 0,w=u.url,ct.label=1;case 1:return ct.trys.push([1,3,,4]),[4,i.context.cache.match(w)];case 2:return h=ct.sent(),[3,4];case 3:return ct.sent(),i.context.logger.error("Error loading background-image "+w),[3,4];case 4:return h&&(p=cp(n,A,[h.width,h.height,h.width/h.height]),ot=p[0],gt=p[1],mt=p[2],et=p[3],At=p[4],z=i.ctx.createPattern(i.resizeImage(h,et,At),"repeat"),i.renderRepeat(ot,z,gt,mt)),[3,6];case 5:xI(u)?(y=cp(n,A,[null,null,null]),ot=y[0],gt=y[1],mt=y[2],et=y[3],At=y[4],v=mI(u.angle,et,At),C=v[0],_=v[1],S=v[2],M=v[3],T=v[4],V=document.createElement("canvas"),V.width=et,V.height=At,B=V.getContext("2d"),G=B.createLinearGradient(_,M,S,T),c1(u.stops,C).forEach(function(bt){return G.addColorStop(bt.stop,mA(bt.color))}),B.fillStyle=G,B.fillRect(0,0,et,At),et>0&&At>0&&(z=i.ctx.createPattern(V,"repeat"),i.renderRepeat(ot,z,gt,mt))):CI(u)&&(H=cp(n,A,[null,null,null]),ot=H[0],N=H[1],K=H[2],et=H[3],At=H[4],pt=u.position.length===0?[$0]:u.position,gt=xn(pt[0],et),mt=xn(pt[pt.length-1],At),ht=BI(u,gt,mt,et,At),Ft=ht[0],Vt=ht[1],Ft>0&&Vt>0&&(Ht=i.ctx.createRadialGradient(N+gt,K+mt,0,N+gt,K+mt,Ft),c1(u.stops,Ft*2).forEach(function(bt){return Ht.addColorStop(bt.stop,mA(bt.color))}),i.path(ot),i.ctx.fillStyle=Ht,Ft!==Vt?(O=n.bounds.left+.5*n.bounds.width,X=n.bounds.top+.5*n.bounds.height,it=Vt/Ft,at=1/it,i.ctx.save(),i.ctx.translate(O,X),i.ctx.transform(1,0,0,it,0,0),i.ctx.translate(-O,-X),i.ctx.fillRect(N,at*(K-X)+X,et,At*at),i.ctx.restore()):i.ctx.fill())),ct.label=6;case 6:return A--,[2]}})},i=this,s=0,o=n.styles.backgroundImage.slice(0).reverse(),l.label=1;case 1:return s<o.length?(a=o[s],[5,r(a)]):[3,4];case 2:l.sent(),l.label=3;case 3:return s++,[3,1];case 4:return[2]}})})},t.prototype.renderSolidBorder=function(n,A,r){return nr(this,void 0,void 0,function(){return DA(this,function(i){return this.path(R1(r,A)),this.ctx.fillStyle=mA(n),this.ctx.fill(),[2]})})},t.prototype.renderDoubleBorder=function(n,A,r,i){return nr(this,void 0,void 0,function(){var s,o;return DA(this,function(a){switch(a.label){case 0:return A<3?[4,this.renderSolidBorder(n,r,i)]:[3,2];case 1:return a.sent(),[2];case 2:return s=E6(i,r),this.path(s),this.ctx.fillStyle=mA(n),this.ctx.fill(),o=U6(i,r),this.path(o),this.ctx.fill(),[2]}})})},t.prototype.renderNodeBackgroundAndBorders=function(n){return nr(this,void 0,void 0,function(){var A,r,i,s,o,a,l,u,h=this;return DA(this,function(w){switch(w.label){case 0:return this.applyEffects(n.getEffects(2)),A=n.container.styles,r=!Eo(A.backgroundColor)||A.backgroundImage.length,i=[{style:A.borderTopStyle,color:A.borderTopColor,width:A.borderTopWidth},{style:A.borderRightStyle,color:A.borderRightColor,width:A.borderRightWidth},{style:A.borderBottomStyle,color:A.borderBottomColor,width:A.borderBottomWidth},{style:A.borderLeftStyle,color:A.borderLeftColor,width:A.borderLeftWidth}],s=M6(fl(A.backgroundClip,0),n.curves),r||A.boxShadow.length?(this.ctx.save(),this.path(s),this.ctx.clip(),Eo(A.backgroundColor)||(this.ctx.fillStyle=mA(A.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(n.container)]):[3,2];case 1:w.sent(),this.ctx.restore(),A.boxShadow.slice(0).reverse().forEach(function(p){h.ctx.save();var y=mh(n.curves),v=p.inset?0:O6,C=F6(y,-v+(p.inset?1:-1)*p.spread.number,(p.inset?1:-1)*p.spread.number,p.spread.number*(p.inset?-2:2),p.spread.number*(p.inset?-2:2));p.inset?(h.path(y),h.ctx.clip(),h.mask(C)):(h.mask(y),h.ctx.clip(),h.path(C)),h.ctx.shadowOffsetX=p.offsetX.number+v,h.ctx.shadowOffsetY=p.offsetY.number,h.ctx.shadowColor=mA(p.color),h.ctx.shadowBlur=p.blur.number,h.ctx.fillStyle=p.inset?mA(p.color):"rgba(0,0,0,1)",h.ctx.fill(),h.ctx.restore()}),w.label=2;case 2:o=0,a=0,l=i,w.label=3;case 3:return a<l.length?(u=l[a],u.style!==0&&!Eo(u.color)&&u.width>0?u.style!==2?[3,5]:[4,this.renderDashedDottedBorder(u.color,u.width,o,n.curves,2)]:[3,11]):[3,13];case 4:return w.sent(),[3,11];case 5:return u.style!==3?[3,7]:[4,this.renderDashedDottedBorder(u.color,u.width,o,n.curves,3)];case 6:return w.sent(),[3,11];case 7:return u.style!==4?[3,9]:[4,this.renderDoubleBorder(u.color,u.width,o,n.curves)];case 8:return w.sent(),[3,11];case 9:return[4,this.renderSolidBorder(u.color,o,n.curves)];case 10:w.sent(),w.label=11;case 11:o++,w.label=12;case 12:return a++,[3,3];case 13:return[2]}})})},t.prototype.renderDashedDottedBorder=function(n,A,r,i,s){return nr(this,void 0,void 0,function(){var o,a,l,u,h,w,p,y,v,C,_,S,M,T,V,B,V,B;return DA(this,function(G){return this.ctx.save(),o=Q6(i,r),a=R1(i,r),s===2&&(this.path(a),this.ctx.clip()),ei(a[0])?(l=a[0].start.x,u=a[0].start.y):(l=a[0].x,u=a[0].y),ei(a[1])?(h=a[1].end.x,w=a[1].end.y):(h=a[1].x,w=a[1].y),r===0||r===2?p=Math.abs(l-h):p=Math.abs(u-w),this.ctx.beginPath(),s===3?this.formatPath(o):this.formatPath(a.slice(0,2)),y=A<3?A*3:A*2,v=A<3?A*2:A,s===3&&(y=A,v=A),C=!0,p<=y*2?C=!1:p<=y*2+v?(_=p/(2*y+v),y*=_,v*=_):(S=Math.floor((p+v)/(y+v)),M=(p-S*y)/(S-1),T=(p-(S+1)*y)/S,v=T<=0||Math.abs(v-M)<Math.abs(v-T)?M:T),C&&(s===3?this.ctx.setLineDash([0,y+v]):this.ctx.setLineDash([y,v])),s===3?(this.ctx.lineCap="round",this.ctx.lineWidth=A):this.ctx.lineWidth=A*2+1.1,this.ctx.strokeStyle=mA(n),this.ctx.stroke(),this.ctx.setLineDash([]),s===2&&(ei(a[0])&&(V=a[3],B=a[0],this.ctx.beginPath(),this.formatPath([new ce(V.end.x,V.end.y),new ce(B.start.x,B.start.y)]),this.ctx.stroke()),ei(a[1])&&(V=a[1],B=a[2],this.ctx.beginPath(),this.formatPath([new ce(V.end.x,V.end.y),new ce(B.start.x,B.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},t.prototype.render=function(n){return nr(this,void 0,void 0,function(){var A;return DA(this,function(r){switch(r.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=mA(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),A=_6(n),[4,this.renderStack(A)];case 1:return r.sent(),this.applyEffects([]),[2,this.canvas]}})})},t})(ox),P6=function(e){return e instanceof V5||e instanceof j5?!0:e instanceof tw&&e.type!==ph&&e.type!==dh},M6=function(e,t){switch(e){case 0:return mh(t);case 2:return b6(t);default:return Bh(t)}},D6=function(e){switch(e){case 1:return"center";case 2:return"right";default:return"left"}},R6=["-apple-system","system-ui"],K6=function(e){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?e.filter(function(t){return R6.indexOf(t)===-1}):e},j6=(function(e){Ui(t,e);function t(n,A){var r=e.call(this,n,A)||this;return r.canvas=A.canvas?A.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),r.options=A,r.canvas.width=Math.floor(A.width*A.scale),r.canvas.height=Math.floor(A.height*A.scale),r.canvas.style.width=A.width+"px",r.canvas.style.height=A.height+"px",r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-A.x,-A.y),r.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+A.width+"x"+A.height+" at "+A.x+","+A.y+") with scale "+A.scale),r}return t.prototype.render=function(n){return nr(this,void 0,void 0,function(){var A,r;return DA(this,function(i){switch(i.label){case 0:return A=Lg(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,n),[4,V6(A)];case 1:return r=i.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=mA(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(r,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},t})(ox),V6=function(e){return new Promise(function(t,n){var A=new Image;A.onload=function(){t(A)},A.onerror=n,A.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(e))})},W6=(function(){function e(t){var n=t.id,A=t.enabled;this.id=n,this.enabled=A,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,ju([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,ju([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,ju([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,ju([this.id,this.getTime()+"ms"],t)):this.info.apply(this,t))},e.instances={},e})(),q6=(function(){function e(t,n){var A;this.windowBounds=n,this.instanceName="#"+e.instanceCount++,this.logger=new W6({id:this.instanceName,enabled:t.logging}),this.cache=(A=t.cache)!==null&&A!==void 0?A:new f6(this,t)}return e.instanceCount=1,e})(),ax=function(e,t){return t===void 0&&(t={}),z6(e,t)};typeof window<"u"&&ex.setContext(window);var z6=function(e,t){return nr(void 0,void 0,void 0,function(){var n,A,r,i,s,o,a,l,u,h,w,p,y,v,C,_,S,M,T,V,G,B,G,z,H,ot,N,K,et,At,pt,gt,mt,ht,Ft,Vt,Ht,O,X,it;return DA(this,function(at){switch(at.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(A=n.defaultView,!A)throw new Error("Document is not attached to a Window");return r={allowTaint:(z=t.allowTaint)!==null&&z!==void 0?z:!1,imageTimeout:(H=t.imageTimeout)!==null&&H!==void 0?H:15e3,proxy:t.proxy,useCORS:(ot=t.useCORS)!==null&&ot!==void 0?ot:!1},i=gg({logging:(N=t.logging)!==null&&N!==void 0?N:!0,cache:t.cache},r),s={windowWidth:(K=t.windowWidth)!==null&&K!==void 0?K:A.innerWidth,windowHeight:(et=t.windowHeight)!==null&&et!==void 0?et:A.innerHeight,scrollX:(At=t.scrollX)!==null&&At!==void 0?At:A.pageXOffset,scrollY:(pt=t.scrollY)!==null&&pt!==void 0?pt:A.pageYOffset},o=new Ns(s.scrollX,s.scrollY,s.windowWidth,s.windowHeight),a=new q6(i,o),l=(gt=t.foreignObjectRendering)!==null&>!==void 0?gt:!1,u={allowTaint:(mt=t.allowTaint)!==null&&mt!==void 0?mt:!1,onclone:t.onclone,ignoreElements:t.ignoreElements,inlineImages:l,copyStyles:l},a.logger.debug("Starting document clone with size "+o.width+"x"+o.height+" scrolled to "+-o.left+","+-o.top),h=new P1(a,e,u),w=h.clonedReferenceElement,w?[4,h.toIFrame(n,o)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return p=at.sent(),y=ew(w)||XT(w)?FL(w.ownerDocument):Yh(a,w),v=y.width,C=y.height,_=y.left,S=y.top,M=G6(a,w,t.backgroundColor),T={canvas:t.canvas,backgroundColor:M,scale:(Ft=(ht=t.scale)!==null&&ht!==void 0?ht:A.devicePixelRatio)!==null&&Ft!==void 0?Ft:1,x:((Vt=t.x)!==null&&Vt!==void 0?Vt:0)+_,y:((Ht=t.y)!==null&&Ht!==void 0?Ht:0)+S,width:(O=t.width)!==null&&O!==void 0?O:Math.ceil(v),height:(X=t.height)!==null&&X!==void 0?X:Math.ceil(C)},l?(a.logger.debug("Document cloned, using foreign object rendering"),G=new j6(a,T),[4,G.render(w)]):[3,3];case 2:return V=at.sent(),[3,5];case 3:return a.logger.debug("Document cloned, element located at "+_+","+S+" with size "+v+"x"+C+" using computed rendering"),a.logger.debug("Starting DOM parsing"),B=z5(a,w),M===B.styles.backgroundColor&&(B.styles.backgroundColor=ks.TRANSPARENT),a.logger.debug("Starting renderer for element at "+T.x+","+T.y+" with size "+T.width+"x"+T.height),G=new H6(a,T),[4,G.render(B)];case 4:V=at.sent(),at.label=5;case 5:return(!((it=t.removeContainer)!==null&&it!==void 0)||it)&&(P1.destroy(p)||a.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),a.logger.debug("Finished rendering"),[2,V]}})})},G6=function(e,t,n){var A=t.ownerDocument,r=A.documentElement?Lc(e,getComputedStyle(A.documentElement).backgroundColor):ks.TRANSPARENT,i=A.body?Lc(e,getComputedStyle(A.body).backgroundColor):ks.TRANSPARENT,s=typeof n=="string"?Lc(e,n):n===null?ks.TRANSPARENT:4294967295;return t===A.documentElement?Eo(r)?Eo(i)?s:i:r:s};const X6=Object.freeze(Object.defineProperty({__proto__:null,default:ax},Symbol.toStringTag,{value:"Module"})),$6="modulepreload",Y6=function(e){return"/build/"+e},j1={},up=function(t,n,A){let r=Promise.resolve();if(n&&n.length>0){let a=function(l){return Promise.all(l.map(u=>Promise.resolve(u).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),o=s?.nonce||s?.getAttribute("nonce");r=a(n.map(l=>{if(l=Y6(l),l in j1)return;j1[l]=!0;const u=l.endsWith(".css"),h=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${h}`))return;const w=document.createElement("link");if(w.rel=u?"stylesheet":$6,u||(w.as="script"),w.crossOrigin="",w.href=l,o&&w.setAttribute("nonce",o),document.head.appendChild(w),u)return new Promise((p,y)=>{w.addEventListener("load",p),w.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${l}`)))})}))}function i(s){const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=s,window.dispatchEvent(o),!o.defaultPrevented)throw s}return r.then(s=>{for(const o of s||[])o.status==="rejected"&&i(o.reason);return t().catch(i)})};function pn(e){"@babel/helpers - typeof";return pn=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},pn(e)}var Fi=Uint8Array,Tr=Uint16Array,nw=Int32Array,Aw=new Fi([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]),rw=new Fi([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]),V1=new Fi([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),lx=function(e,t){for(var n=new Tr(31),A=0;A<31;++A)n[A]=t+=1<<e[A-1];for(var r=new nw(n[30]),A=1;A<30;++A)for(var i=n[A];i<n[A+1];++i)r[i]=i-n[A]<<5|A;return{b:n,r}},cx=lx(Aw,2),J6=cx.b,Pg=cx.r;J6[28]=258,Pg[258]=28;var Z6=lx(rw,0),W1=Z6.r,Mg=new Tr(32768);for(var _n=0;_n<32768;++_n){var lo=(_n&43690)>>1|(_n&21845)<<1;lo=(lo&52428)>>2|(lo&13107)<<2,lo=(lo&61680)>>4|(lo&3855)<<4,Mg[_n]=((lo&65280)>>8|(lo&255)<<8)>>1}var Nc=(function(e,t,n){for(var A=e.length,r=0,i=new Tr(t);r<A;++r)e[r]&&++i[e[r]-1];var s=new Tr(t);for(r=1;r<t;++r)s[r]=s[r-1]+i[r-1]<<1;var o;if(n){o=new Tr(1<<t);var a=15-t;for(r=0;r<A;++r)if(e[r])for(var l=r<<4|e[r],u=t-e[r],h=s[e[r]-1]++<<u,w=h|(1<<u)-1;h<=w;++h)o[Mg[h]>>a]=l}else for(o=new Tr(A),r=0;r<A;++r)e[r]&&(o[r]=Mg[s[e[r]-1]++]>>15-e[r]);return o}),Ia=new Fi(288);for(var _n=0;_n<144;++_n)Ia[_n]=8;for(var _n=144;_n<256;++_n)Ia[_n]=9;for(var _n=256;_n<280;++_n)Ia[_n]=7;for(var _n=280;_n<288;++_n)Ia[_n]=8;var vh=new Fi(32);for(var _n=0;_n<32;++_n)vh[_n]=5;var tN=Nc(Ia,9,0),eN=Nc(vh,5,0),ux=function(e){return(e+7)/8|0},nN=function(e,t,n){return(n==null||n>e.length)&&(n=e.length),new Fi(e.subarray(t,n))},vs=function(e,t,n){n<<=t&7;var A=t/8|0;e[A]|=n,e[A+1]|=n>>8},ac=function(e,t,n){n<<=t&7;var A=t/8|0;e[A]|=n,e[A+1]|=n>>8,e[A+2]|=n>>16},fp=function(e,t){for(var n=[],A=0;A<e.length;++A)e[A]&&n.push({s:A,f:e[A]});var r=n.length,i=n.slice();if(!r)return{t:hx,l:0};if(r==1){var s=new Fi(n[0].s+1);return s[n[0].s]=1,{t:s,l:1}}n.sort(function(V,B){return V.f-B.f}),n.push({s:-1,f:25001});var o=n[0],a=n[1],l=0,u=1,h=2;for(n[0]={s:-1,f:o.f+a.f,l:o,r:a};u!=r-1;)o=n[n[l].f<n[h].f?l++:h++],a=n[l!=u&&n[l].f<n[h].f?l++:h++],n[u++]={s:-1,f:o.f+a.f,l:o,r:a};for(var w=i[0].s,A=1;A<r;++A)i[A].s>w&&(w=i[A].s);var p=new Tr(w+1),y=Dg(n[u-1],p,0);if(y>t){var A=0,v=0,C=y-t,_=1<<C;for(i.sort(function(B,G){return p[G.s]-p[B.s]||B.f-G.f});A<r;++A){var S=i[A].s;if(p[S]>t)v+=_-(1<<y-p[S]),p[S]=t;else break}for(v>>=C;v>0;){var M=i[A].s;p[M]<t?v-=1<<t-p[M]++-1:++A}for(;A>=0&&v;--A){var T=i[A].s;p[T]==t&&(--p[T],++v)}y=t}return{t:new Fi(p),l:y}},Dg=function(e,t,n){return e.s==-1?Math.max(Dg(e.l,t,n+1),Dg(e.r,t,n+1)):t[e.s]=n},q1=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new Tr(++t),A=0,r=e[0],i=1,s=function(a){n[A++]=a},o=1;o<=t;++o)if(e[o]==r&&o!=t)++i;else{if(!r&&i>2){for(;i>138;i-=138)s(32754);i>2&&(s(i>10?i-11<<5|28690:i-3<<5|12305),i=0)}else if(i>3){for(s(r),--i;i>6;i-=6)s(8304);i>2&&(s(i-3<<5|8208),i=0)}for(;i--;)s(r);i=1,r=e[o]}return{c:n.subarray(0,A),n:t}},lc=function(e,t){for(var n=0,A=0;A<t.length;++A)n+=e[A]*t[A];return n},fx=function(e,t,n){var A=n.length,r=ux(t+2);e[r]=A&255,e[r+1]=A>>8,e[r+2]=e[r]^255,e[r+3]=e[r+1]^255;for(var i=0;i<A;++i)e[r+i+4]=n[i];return(r+4+A)*8},z1=function(e,t,n,A,r,i,s,o,a,l,u){vs(t,u++,n),++r[256];for(var h=fp(r,15),w=h.t,p=h.l,y=fp(i,15),v=y.t,C=y.l,_=q1(w),S=_.c,M=_.n,T=q1(v),V=T.c,B=T.n,G=new Tr(19),z=0;z<S.length;++z)++G[S[z]&31];for(var z=0;z<V.length;++z)++G[V[z]&31];for(var H=fp(G,7),ot=H.t,N=H.l,K=19;K>4&&!ot[V1[K-1]];--K);var et=l+5<<3,At=lc(r,Ia)+lc(i,vh)+s,pt=lc(r,w)+lc(i,v)+s+14+3*K+lc(G,ot)+2*G[16]+3*G[17]+7*G[18];if(a>=0&&et<=At&&et<=pt)return fx(t,u,e.subarray(a,a+l));var gt,mt,ht,Ft;if(vs(t,u,1+(pt<At)),u+=2,pt<At){gt=Nc(w,p,0),mt=w,ht=Nc(v,C,0),Ft=v;var Vt=Nc(ot,N,0);vs(t,u,M-257),vs(t,u+5,B-1),vs(t,u+10,K-4),u+=14;for(var z=0;z<K;++z)vs(t,u+3*z,ot[V1[z]]);u+=3*K;for(var Ht=[S,V],O=0;O<2;++O)for(var X=Ht[O],z=0;z<X.length;++z){var it=X[z]&31;vs(t,u,Vt[it]),u+=ot[it],it>15&&(vs(t,u,X[z]>>5&127),u+=X[z]>>12)}}else gt=tN,mt=Ia,ht=eN,Ft=vh;for(var z=0;z<o;++z){var at=A[z];if(at>255){var it=at>>18&31;ac(t,u,gt[it+257]),u+=mt[it+257],it>7&&(vs(t,u,at>>23&31),u+=Aw[it]);var ct=at&31;ac(t,u,ht[ct]),u+=Ft[ct],ct>3&&(ac(t,u,at>>5&8191),u+=rw[ct])}else ac(t,u,gt[at]),u+=mt[at]}return ac(t,u,gt[256]),u+mt[256]},AN=new nw([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),hx=new Fi(0),rN=function(e,t,n,A,r,i){var s=i.z||e.length,o=new Fi(A+s+5*(1+Math.ceil(s/7e3))+r),a=o.subarray(A,o.length-r),l=i.l,u=(i.r||0)&7;if(t){u&&(a[0]=i.r>>3);for(var h=AN[t-1],w=h>>13,p=h&8191,y=(1<<n)-1,v=i.p||new Tr(32768),C=i.h||new Tr(y+1),_=Math.ceil(n/3),S=2*_,M=function(fe){return(e[fe]^e[fe+1]<<_^e[fe+2]<<S)&y},T=new nw(25e3),V=new Tr(288),B=new Tr(32),G=0,z=0,H=i.i||0,ot=0,N=i.w||0,K=0;H+2<s;++H){var et=M(H),At=H&32767,pt=C[et];if(v[At]=pt,C[et]=At,N<=H){var gt=s-H;if((G>7e3||ot>24576)&&(gt>423||!l)){u=z1(e,a,0,T,V,B,z,ot,K,H-K,u),ot=G=z=0,K=H;for(var mt=0;mt<286;++mt)V[mt]=0;for(var mt=0;mt<30;++mt)B[mt]=0}var ht=2,Ft=0,Vt=p,Ht=At-pt&32767;if(gt>2&&et==M(H-Ht))for(var O=Math.min(w,gt)-1,X=Math.min(32767,H),it=Math.min(258,gt);Ht<=X&&--Vt&&At!=pt;){if(e[H+ht]==e[H+ht-Ht]){for(var at=0;at<it&&e[H+at]==e[H+at-Ht];++at);if(at>ht){if(ht=at,Ft=Ht,at>O)break;for(var ct=Math.min(Ht,at-2),bt=0,mt=0;mt<ct;++mt){var It=H-Ht+mt&32767,Tt=v[It],Kt=It-Tt&32767;Kt>bt&&(bt=Kt,pt=It)}}}At=pt,pt=v[At],Ht+=At-pt&32767}if(Ft){T[ot++]=268435456|Pg[ht]<<18|W1[Ft];var Xt=Pg[ht]&31,ae=W1[Ft]&31;z+=Aw[Xt]+rw[ae],++V[257+Xt],++B[ae],N=H+ht,++G}else T[ot++]=e[H],++V[e[H]]}}for(H=Math.max(H,N);H<s;++H)T[ot++]=e[H],++V[e[H]];u=z1(e,a,l,T,V,B,z,ot,K,H-K,u),l||(i.r=u&7|a[u/8|0]<<3,u-=7,i.h=C,i.p=v,i.i=H,i.w=N)}else{for(var H=i.w||0;H<s+l;H+=65535){var ie=H+65535;ie>=s&&(a[u/8|0]=l,ie=s),u=fx(a,u+1,e.subarray(H,ie))}i.i=s}return nN(o,0,A+ux(u)+r)},dx=function(){var e=1,t=0;return{p:function(n){for(var A=e,r=t,i=n.length|0,s=0;s!=i;){for(var o=Math.min(s+2655,i);s<o;++s)r+=A+=n[s];A=(A&65535)+15*(A>>16),r=(r&65535)+15*(r>>16)}e=A,t=r},d:function(){return e%=65521,t%=65521,(e&255)<<24|(e&65280)<<8|(t&255)<<8|t>>8}}},iN=function(e,t,n,A,r){if(!r&&(r={l:1},t.dictionary)){var i=t.dictionary.subarray(-32768),s=new Fi(i.length+e.length);s.set(i),s.set(e,i.length),e=s,r.w=i.length}return rN(e,t.level==null?6:t.level,t.mem==null?r.l?Math.ceil(Math.max(8,Math.min(13,Math.log(e.length)))*1.5):20:12+t.mem,n,A,r)},px=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8},sN=function(e,t){var n=t.level,A=n==0?0:n<6?1:n==9?3:2;if(e[0]=120,e[1]=A<<6|(t.dictionary&&32),e[1]|=31-(e[0]<<8|e[1])%31,t.dictionary){var r=dx();r.p(t.dictionary),px(e,2,r.d())}};function Rg(e,t){t||(t={});var n=dx();n.p(e);var A=iN(e,t,t.dictionary?6:2,4);return sN(A,t),px(A,A.length-4,n.d()),A}var oN=typeof TextDecoder<"u"&&new TextDecoder,aN=0;try{oN.decode(hx,{stream:!0}),aN=1}catch{}function lN(e){if(Array.isArray(e))return e}function cN(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var A,r,i,s,o=[],a=!0,l=!1;try{if(i=(n=n.call(e)).next,t!==0)for(;!(a=(A=i.call(n)).done)&&(o.push(A.value),o.length!==t);a=!0);}catch(u){l=!0,r=u}finally{try{if(!a&&n.return!=null&&(s=n.return(),Object(s)!==s))return}finally{if(l)throw r}}return o}}function G1(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,A=Array(t);n<t;n++)A[n]=e[n];return A}function uN(e,t){if(e){if(typeof e=="string")return G1(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?G1(e,t):void 0}}function fN(){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 X1(e,t){return lN(e)||cN(e,t)||uN(e,t)||fN()}function $1(e,t="utf8"){return new TextDecoder(t).decode(e)}const hN=new TextEncoder;function dN(e){return hN.encode(e)}const pN=1024*8,gN=(()=>{const e=new Uint8Array(4),t=new Uint32Array(e.buffer);return!((t[0]=1)&e[0])})(),hp={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};class iw{buffer;byteLength;byteOffset;length;offset;lastWrittenByte;littleEndian;_data;_mark;_marks;constructor(t=pN,n={}){let A=!1;typeof t=="number"?t=new ArrayBuffer(t):(A=!0,this.lastWrittenByte=t.byteLength);const r=n.offset?n.offset>>>0:0,i=t.byteLength-r;let s=r;(ArrayBuffer.isView(t)||t instanceof iw)&&(t.byteLength!==t.buffer.byteLength&&(s=t.byteOffset+r),t=t.buffer),A?this.lastWrittenByte=i:this.lastWrittenByte=0,this.buffer=t,this.length=i,this.byteLength=i,this.byteOffset=s,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,s,i),this._mark=0,this._marks=[]}available(t=1){return this.offset+t<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(t=1){return this.offset+=t,this}back(t=1){return this.offset-=t,this}seek(t){return this.offset=t,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){const t=this._marks.pop();if(t===void 0)throw new Error("Mark stack empty");return this.seek(t),this}rewind(){return this.offset=0,this}ensureAvailable(t=1){if(!this.available(t)){const A=(this.offset+t)*2,r=new Uint8Array(A);r.set(new Uint8Array(this.buffer)),this.buffer=r.buffer,this.length=A,this.byteLength=A,this._data=new DataView(this.buffer)}return this}readBoolean(){return this.readUint8()!==0}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(t=1){return this.readArray(t,"uint8")}readArray(t,n){const A=hp[n].BYTES_PER_ELEMENT*t,r=this.byteOffset+this.offset,i=this.buffer.slice(r,r+A);if(this.littleEndian===gN&&n!=="uint8"&&n!=="int8"){const o=new Uint8Array(this.buffer.slice(r,r+A));o.reverse();const a=new hp[n](o.buffer);return this.offset+=A,a.reverse(),a}const s=new hp[n](i);return this.offset+=A,s}readInt16(){const t=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,t}readUint16(){const t=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,t}readInt32(){const t=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,t}readUint32(){const t=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,t}readFloat32(){const t=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,t}readFloat64(){const t=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,t}readBigInt64(){const t=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,t}readBigUint64(){const t=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,t}readChar(){return String.fromCharCode(this.readInt8())}readChars(t=1){let n="";for(let A=0;A<t;A++)n+=this.readChar();return n}readUtf8(t=1){return $1(this.readBytes(t))}decodeText(t=1,n="utf8"){return $1(this.readBytes(t),n)}writeBoolean(t){return this.writeUint8(t?255:0),this}writeInt8(t){return this.ensureAvailable(1),this._data.setInt8(this.offset++,t),this._updateLastWrittenByte(),this}writeUint8(t){return this.ensureAvailable(1),this._data.setUint8(this.offset++,t),this._updateLastWrittenByte(),this}writeByte(t){return this.writeUint8(t)}writeBytes(t){this.ensureAvailable(t.length);for(let n=0;n<t.length;n++)this._data.setUint8(this.offset++,t[n]);return this._updateLastWrittenByte(),this}writeInt16(t){return this.ensureAvailable(2),this._data.setInt16(this.offset,t,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeUint16(t){return this.ensureAvailable(2),this._data.setUint16(this.offset,t,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeInt32(t){return this.ensureAvailable(4),this._data.setInt32(this.offset,t,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeUint32(t){return this.ensureAvailable(4),this._data.setUint32(this.offset,t,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat32(t){return this.ensureAvailable(4),this._data.setFloat32(this.offset,t,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat64(t){return this.ensureAvailable(8),this._data.setFloat64(this.offset,t,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigInt64(t){return this.ensureAvailable(8),this._data.setBigInt64(this.offset,t,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigUint64(t){return this.ensureAvailable(8),this._data.setBigUint64(this.offset,t,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeChar(t){return this.writeUint8(t.charCodeAt(0))}writeChars(t){for(let n=0;n<t.length;n++)this.writeUint8(t.charCodeAt(n));return this}writeUtf8(t){return this.writeBytes(dN(t))}toArray(){return new Uint8Array(this.buffer,this.byteOffset,this.lastWrittenByte)}getWrittenByteLength(){return this.lastWrittenByte-this.byteOffset}_updateLastWrittenByte(){this.offset>this.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}function Vl(e){let t=e.length;for(;--t>=0;)e[t]=0}const wN=3,mN=258,gx=29,BN=256,bN=BN+1+gx,wx=30,vN=512,yN=new Array((bN+2)*2);Vl(yN);const xN=new Array(wx*2);Vl(xN);const CN=new Array(vN);Vl(CN);const FN=new Array(mN-wN+1);Vl(FN);const _N=new Array(gx);Vl(_N);const EN=new Array(wx);Vl(EN);const UN=(e,t,n,A)=>{let r=e&65535|0,i=e>>>16&65535|0,s=0;for(;n!==0;){s=n>2e3?2e3:n,n-=s;do r=r+t[A++]|0,i=i+r|0;while(--s);r%=65521,i%=65521}return r|i<<16|0};var Kg=UN;const QN=()=>{let e,t=[];for(var n=0;n<256;n++){e=n;for(var A=0;A<8;A++)e=e&1?3988292384^e>>>1:e>>>1;t[n]=e}return t},SN=new Uint32Array(QN()),LN=(e,t,n,A)=>{const r=SN,i=A+n;e^=-1;for(let s=A;s<i;s++)e=e>>>8^r[(e^t[s])&255];return e^-1};var ji=LN,jg={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"},mx={Z_NO_FLUSH:0,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_DEFLATED:8};const IN=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var kN=function(e){const t=Array.prototype.slice.call(arguments,1);for(;t.length;){const n=t.shift();if(n){if(typeof n!="object")throw new TypeError(n+"must be non-object");for(const A in n)IN(n,A)&&(e[A]=n[A])}}return e},TN=e=>{let t=0;for(let A=0,r=e.length;A<r;A++)t+=e[A].length;const n=new Uint8Array(t);for(let A=0,r=0,i=e.length;A<i;A++){let s=e[A];n.set(s,r),r+=s.length}return n},Bx={assign:kN,flattenChunks:TN};let bx=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{bx=!1}const qc=new Uint8Array(256);for(let e=0;e<256;e++)qc[e]=e>=252?6:e>=248?5:e>=240?4:e>=224?3:e>=192?2:1;qc[254]=qc[254]=1;var NN=e=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(e);let t,n,A,r,i,s=e.length,o=0;for(r=0;r<s;r++)n=e.charCodeAt(r),(n&64512)===55296&&r+1<s&&(A=e.charCodeAt(r+1),(A&64512)===56320&&(n=65536+(n-55296<<10)+(A-56320),r++)),o+=n<128?1:n<2048?2:n<65536?3:4;for(t=new Uint8Array(o),i=0,r=0;i<o;r++)n=e.charCodeAt(r),(n&64512)===55296&&r+1<s&&(A=e.charCodeAt(r+1),(A&64512)===56320&&(n=65536+(n-55296<<10)+(A-56320),r++)),n<128?t[i++]=n:n<2048?(t[i++]=192|n>>>6,t[i++]=128|n&63):n<65536?(t[i++]=224|n>>>12,t[i++]=128|n>>>6&63,t[i++]=128|n&63):(t[i++]=240|n>>>18,t[i++]=128|n>>>12&63,t[i++]=128|n>>>6&63,t[i++]=128|n&63);return t};const ON=(e,t)=>{if(t<65534&&e.subarray&&bx)return String.fromCharCode.apply(null,e.length===t?e:e.subarray(0,t));let n="";for(let A=0;A<t;A++)n+=String.fromCharCode(e[A]);return n};var HN=(e,t)=>{const n=t||e.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(e.subarray(0,t));let A,r;const i=new Array(n*2);for(r=0,A=0;A<n;){let s=e[A++];if(s<128){i[r++]=s;continue}let o=qc[s];if(o>4){i[r++]=65533,A+=o-1;continue}for(s&=o===2?31:o===3?15:7;o>1&&A<n;)s=s<<6|e[A++]&63,o--;if(o>1){i[r++]=65533;continue}s<65536?i[r++]=s:(s-=65536,i[r++]=55296|s>>10&1023,i[r++]=56320|s&1023)}return ON(i,r)},PN=(e,t)=>{t=t||e.length,t>e.length&&(t=e.length);let n=t-1;for(;n>=0&&(e[n]&192)===128;)n--;return n<0||n===0?t:n+qc[e[n]]>t?n:t},Vg={string2buf:NN,buf2string:HN,utf8border:PN};function MN(){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}var DN=MN;const hf=16209,RN=16191;var KN=function(t,n){let A,r,i,s,o,a,l,u,h,w,p,y,v,C,_,S,M,T,V,B,G,z,H,ot;const N=t.state;A=t.next_in,H=t.input,r=A+(t.avail_in-5),i=t.next_out,ot=t.output,s=i-(n-t.avail_out),o=i+(t.avail_out-257),a=N.dmax,l=N.wsize,u=N.whave,h=N.wnext,w=N.window,p=N.hold,y=N.bits,v=N.lencode,C=N.distcode,_=(1<<N.lenbits)-1,S=(1<<N.distbits)-1;t:do{y<15&&(p+=H[A++]<<y,y+=8,p+=H[A++]<<y,y+=8),M=v[p&_];e:for(;;){if(T=M>>>24,p>>>=T,y-=T,T=M>>>16&255,T===0)ot[i++]=M&65535;else if(T&16){V=M&65535,T&=15,T&&(y<T&&(p+=H[A++]<<y,y+=8),V+=p&(1<<T)-1,p>>>=T,y-=T),y<15&&(p+=H[A++]<<y,y+=8,p+=H[A++]<<y,y+=8),M=C[p&S];n:for(;;){if(T=M>>>24,p>>>=T,y-=T,T=M>>>16&255,T&16){if(B=M&65535,T&=15,y<T&&(p+=H[A++]<<y,y+=8,y<T&&(p+=H[A++]<<y,y+=8)),B+=p&(1<<T)-1,B>a){t.msg="invalid distance too far back",N.mode=hf;break t}if(p>>>=T,y-=T,T=i-s,B>T){if(T=B-T,T>u&&N.sane){t.msg="invalid distance too far back",N.mode=hf;break t}if(G=0,z=w,h===0){if(G+=l-T,T<V){V-=T;do ot[i++]=w[G++];while(--T);G=i-B,z=ot}}else if(h<T){if(G+=l+h-T,T-=h,T<V){V-=T;do ot[i++]=w[G++];while(--T);if(G=0,h<V){T=h,V-=T;do ot[i++]=w[G++];while(--T);G=i-B,z=ot}}}else if(G+=h-T,T<V){V-=T;do ot[i++]=w[G++];while(--T);G=i-B,z=ot}for(;V>2;)ot[i++]=z[G++],ot[i++]=z[G++],ot[i++]=z[G++],V-=3;V&&(ot[i++]=z[G++],V>1&&(ot[i++]=z[G++]))}else{G=i-B;do ot[i++]=ot[G++],ot[i++]=ot[G++],ot[i++]=ot[G++],V-=3;while(V>2);V&&(ot[i++]=ot[G++],V>1&&(ot[i++]=ot[G++]))}}else if((T&64)===0){M=C[(M&65535)+(p&(1<<T)-1)];continue n}else{t.msg="invalid distance code",N.mode=hf;break t}break}}else if((T&64)===0){M=v[(M&65535)+(p&(1<<T)-1)];continue e}else if(T&32){N.mode=RN;break t}else{t.msg="invalid literal/length code",N.mode=hf;break t}break}}while(A<r&&i<o);V=y>>3,A-=V,y-=V<<3,p&=(1<<y)-1,t.next_in=A,t.next_out=i,t.avail_in=A<r?5+(r-A):5-(A-r),t.avail_out=i<o?257+(o-i):257-(i-o),N.hold=p,N.bits=y};const il=15,Y1=852,J1=592,Z1=0,dp=1,t2=2,jN=new Uint16Array([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]),VN=new Uint8Array([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]),WN=new Uint16Array([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]),qN=new Uint8Array([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]),zN=(e,t,n,A,r,i,s,o)=>{const a=o.bits;let l=0,u=0,h=0,w=0,p=0,y=0,v=0,C=0,_=0,S=0,M,T,V,B,G,z=null,H;const ot=new Uint16Array(il+1),N=new Uint16Array(il+1);let K=null,et,At,pt;for(l=0;l<=il;l++)ot[l]=0;for(u=0;u<A;u++)ot[t[n+u]]++;for(p=a,w=il;w>=1&&ot[w]===0;w--);if(p>w&&(p=w),w===0)return r[i++]=1<<24|64<<16|0,r[i++]=1<<24|64<<16|0,o.bits=1,0;for(h=1;h<w&&ot[h]===0;h++);for(p<h&&(p=h),C=1,l=1;l<=il;l++)if(C<<=1,C-=ot[l],C<0)return-1;if(C>0&&(e===Z1||w!==1))return-1;for(N[1]=0,l=1;l<il;l++)N[l+1]=N[l]+ot[l];for(u=0;u<A;u++)t[n+u]!==0&&(s[N[t[n+u]]++]=u);if(e===Z1?(z=K=s,H=20):e===dp?(z=jN,K=VN,H=257):(z=WN,K=qN,H=0),S=0,u=0,l=h,G=i,y=p,v=0,V=-1,_=1<<p,B=_-1,e===dp&&_>Y1||e===t2&&_>J1)return 1;for(;;){et=l-v,s[u]+1<H?(At=0,pt=s[u]):s[u]>=H?(At=K[s[u]-H],pt=z[s[u]-H]):(At=96,pt=0),M=1<<l-v,T=1<<y,h=T;do T-=M,r[G+(S>>v)+T]=et<<24|At<<16|pt|0;while(T!==0);for(M=1<<l-1;S&M;)M>>=1;if(M!==0?(S&=M-1,S+=M):S=0,u++,--ot[l]===0){if(l===w)break;l=t[n+s[u]]}if(l>p&&(S&B)!==V){for(v===0&&(v=p),G+=h,y=l-v,C=1<<y;y+v<w&&(C-=ot[y+v],!(C<=0));)y++,C<<=1;if(_+=1<<y,e===dp&&_>Y1||e===t2&&_>J1)return 1;V=S&B,r[V]=p<<24|y<<16|G-i|0}}return S!==0&&(r[G+S]=l-v<<24|64<<16|0),o.bits=p,0};var Oc=zN;const GN=0,vx=1,yx=2,{Z_FINISH:e2,Z_BLOCK:XN,Z_TREES:df,Z_OK:ka,Z_STREAM_END:$N,Z_NEED_DICT:YN,Z_STREAM_ERROR:si,Z_DATA_ERROR:xx,Z_MEM_ERROR:Cx,Z_BUF_ERROR:JN,Z_DEFLATED:n2}=mx,od=16180,A2=16181,r2=16182,i2=16183,s2=16184,o2=16185,a2=16186,l2=16187,c2=16188,u2=16189,yh=16190,ys=16191,pp=16192,f2=16193,gp=16194,h2=16195,d2=16196,p2=16197,g2=16198,pf=16199,gf=16200,w2=16201,m2=16202,B2=16203,b2=16204,v2=16205,wp=16206,y2=16207,x2=16208,kn=16209,Fx=16210,_x=16211,ZN=852,tO=592,eO=15,nO=eO,C2=e=>(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24);function AO(){this.strm=null,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 Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const Da=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.mode<od||t.mode>_x?1:0},Ex=e=>{if(Da(e))return si;const t=e.state;return e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=od,t.last=0,t.havedict=0,t.flags=-1,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Int32Array(ZN),t.distcode=t.distdyn=new Int32Array(tO),t.sane=1,t.back=-1,ka},Ux=e=>{if(Da(e))return si;const t=e.state;return t.wsize=0,t.whave=0,t.wnext=0,Ex(e)},Qx=(e,t)=>{let n;if(Da(e))return si;const A=e.state;return t<0?(n=0,t=-t):(n=(t>>4)+5,t<48&&(t&=15)),t&&(t<8||t>15)?si:(A.window!==null&&A.wbits!==t&&(A.window=null),A.wrap=n,A.wbits=t,Ux(e))},Sx=(e,t)=>{if(!e)return si;const n=new AO;e.state=n,n.strm=e,n.window=null,n.mode=od;const A=Qx(e,t);return A!==ka&&(e.state=null),A},rO=e=>Sx(e,nO);let F2=!0,mp,Bp;const iO=e=>{if(F2){mp=new Int32Array(512),Bp=new Int32Array(32);let t=0;for(;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(Oc(vx,e.lens,0,288,mp,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Oc(yx,e.lens,0,32,Bp,0,e.work,{bits:5}),F2=!1}e.lencode=mp,e.lenbits=9,e.distcode=Bp,e.distbits=5},Lx=(e,t,n,A)=>{let r;const i=e.state;return i.window===null&&(i.wsize=1<<i.wbits,i.wnext=0,i.whave=0,i.window=new Uint8Array(i.wsize)),A>=i.wsize?(i.window.set(t.subarray(n-i.wsize,n),0),i.wnext=0,i.whave=i.wsize):(r=i.wsize-i.wnext,r>A&&(r=A),i.window.set(t.subarray(n-A,n-A+r),i.wnext),A-=r,A?(i.window.set(t.subarray(n-A,n),0),i.wnext=A,i.whave=i.wsize):(i.wnext+=r,i.wnext===i.wsize&&(i.wnext=0),i.whave<i.wsize&&(i.whave+=r))),0},sO=(e,t)=>{let n,A,r,i,s,o,a,l,u,h,w,p,y,v,C=0,_,S,M,T,V,B,G,z;const H=new Uint8Array(4);let ot,N;const K=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(Da(e)||!e.output||!e.input&&e.avail_in!==0)return si;n=e.state,n.mode===ys&&(n.mode=pp),s=e.next_out,r=e.output,a=e.avail_out,i=e.next_in,A=e.input,o=e.avail_in,l=n.hold,u=n.bits,h=o,w=a,z=ka;t:for(;;)switch(n.mode){case od:if(n.wrap===0){n.mode=pp;break}for(;u<16;){if(o===0)break t;o--,l+=A[i++]<<u,u+=8}if(n.wrap&2&&l===35615){n.wbits===0&&(n.wbits=15),n.check=0,H[0]=l&255,H[1]=l>>>8&255,n.check=ji(n.check,H,2,0),l=0,u=0,n.mode=A2;break}if(n.head&&(n.head.done=!1),!(n.wrap&1)||(((l&255)<<8)+(l>>8))%31){e.msg="incorrect header check",n.mode=kn;break}if((l&15)!==n2){e.msg="unknown compression method",n.mode=kn;break}if(l>>>=4,u-=4,G=(l&15)+8,n.wbits===0&&(n.wbits=G),G>15||G>n.wbits){e.msg="invalid window size",n.mode=kn;break}n.dmax=1<<n.wbits,n.flags=0,e.adler=n.check=1,n.mode=l&512?u2:ys,l=0,u=0;break;case A2:for(;u<16;){if(o===0)break t;o--,l+=A[i++]<<u,u+=8}if(n.flags=l,(n.flags&255)!==n2){e.msg="unknown compression method",n.mode=kn;break}if(n.flags&57344){e.msg="unknown header flags set",n.mode=kn;break}n.head&&(n.head.text=l>>8&1),n.flags&512&&n.wrap&4&&(H[0]=l&255,H[1]=l>>>8&255,n.check=ji(n.check,H,2,0)),l=0,u=0,n.mode=r2;case r2:for(;u<32;){if(o===0)break t;o--,l+=A[i++]<<u,u+=8}n.head&&(n.head.time=l),n.flags&512&&n.wrap&4&&(H[0]=l&255,H[1]=l>>>8&255,H[2]=l>>>16&255,H[3]=l>>>24&255,n.check=ji(n.check,H,4,0)),l=0,u=0,n.mode=i2;case i2:for(;u<16;){if(o===0)break t;o--,l+=A[i++]<<u,u+=8}n.head&&(n.head.xflags=l&255,n.head.os=l>>8),n.flags&512&&n.wrap&4&&(H[0]=l&255,H[1]=l>>>8&255,n.check=ji(n.check,H,2,0)),l=0,u=0,n.mode=s2;case s2:if(n.flags&1024){for(;u<16;){if(o===0)break t;o--,l+=A[i++]<<u,u+=8}n.length=l,n.head&&(n.head.extra_len=l),n.flags&512&&n.wrap&4&&(H[0]=l&255,H[1]=l>>>8&255,n.check=ji(n.check,H,2,0)),l=0,u=0}else n.head&&(n.head.extra=null);n.mode=o2;case o2:if(n.flags&1024&&(p=n.length,p>o&&(p=o),p&&(n.head&&(G=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Uint8Array(n.head.extra_len)),n.head.extra.set(A.subarray(i,i+p),G)),n.flags&512&&n.wrap&4&&(n.check=ji(n.check,A,p,i)),o-=p,i+=p,n.length-=p),n.length))break t;n.length=0,n.mode=a2;case a2:if(n.flags&2048){if(o===0)break t;p=0;do G=A[i+p++],n.head&&G&&n.length<65536&&(n.head.name+=String.fromCharCode(G));while(G&&p<o);if(n.flags&512&&n.wrap&4&&(n.check=ji(n.check,A,p,i)),o-=p,i+=p,G)break t}else n.head&&(n.head.name=null);n.length=0,n.mode=l2;case l2:if(n.flags&4096){if(o===0)break t;p=0;do G=A[i+p++],n.head&&G&&n.length<65536&&(n.head.comment+=String.fromCharCode(G));while(G&&p<o);if(n.flags&512&&n.wrap&4&&(n.check=ji(n.check,A,p,i)),o-=p,i+=p,G)break t}else n.head&&(n.head.comment=null);n.mode=c2;case c2:if(n.flags&512){for(;u<16;){if(o===0)break t;o--,l+=A[i++]<<u,u+=8}if(n.wrap&4&&l!==(n.check&65535)){e.msg="header crc mismatch",n.mode=kn;break}l=0,u=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=ys;break;case u2:for(;u<32;){if(o===0)break t;o--,l+=A[i++]<<u,u+=8}e.adler=n.check=C2(l),l=0,u=0,n.mode=yh;case yh:if(n.havedict===0)return e.next_out=s,e.avail_out=a,e.next_in=i,e.avail_in=o,n.hold=l,n.bits=u,YN;e.adler=n.check=1,n.mode=ys;case ys:if(t===XN||t===df)break t;case pp:if(n.last){l>>>=u&7,u-=u&7,n.mode=wp;break}for(;u<3;){if(o===0)break t;o--,l+=A[i++]<<u,u+=8}switch(n.last=l&1,l>>>=1,u-=1,l&3){case 0:n.mode=f2;break;case 1:if(iO(n),n.mode=pf,t===df){l>>>=2,u-=2;break t}break;case 2:n.mode=d2;break;case 3:e.msg="invalid block type",n.mode=kn}l>>>=2,u-=2;break;case f2:for(l>>>=u&7,u-=u&7;u<32;){if(o===0)break t;o--,l+=A[i++]<<u,u+=8}if((l&65535)!==(l>>>16^65535)){e.msg="invalid stored block lengths",n.mode=kn;break}if(n.length=l&65535,l=0,u=0,n.mode=gp,t===df)break t;case gp:n.mode=h2;case h2:if(p=n.length,p){if(p>o&&(p=o),p>a&&(p=a),p===0)break t;r.set(A.subarray(i,i+p),s),o-=p,i+=p,a-=p,s+=p,n.length-=p;break}n.mode=ys;break;case d2:for(;u<14;){if(o===0)break t;o--,l+=A[i++]<<u,u+=8}if(n.nlen=(l&31)+257,l>>>=5,u-=5,n.ndist=(l&31)+1,l>>>=5,u-=5,n.ncode=(l&15)+4,l>>>=4,u-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=kn;break}n.have=0,n.mode=p2;case p2:for(;n.have<n.ncode;){for(;u<3;){if(o===0)break t;o--,l+=A[i++]<<u,u+=8}n.lens[K[n.have++]]=l&7,l>>>=3,u-=3}for(;n.have<19;)n.lens[K[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,ot={bits:n.lenbits},z=Oc(GN,n.lens,0,19,n.lencode,0,n.work,ot),n.lenbits=ot.bits,z){e.msg="invalid code lengths set",n.mode=kn;break}n.have=0,n.mode=g2;case g2:for(;n.have<n.nlen+n.ndist;){for(;C=n.lencode[l&(1<<n.lenbits)-1],_=C>>>24,S=C>>>16&255,M=C&65535,!(_<=u);){if(o===0)break t;o--,l+=A[i++]<<u,u+=8}if(M<16)l>>>=_,u-=_,n.lens[n.have++]=M;else{if(M===16){for(N=_+2;u<N;){if(o===0)break t;o--,l+=A[i++]<<u,u+=8}if(l>>>=_,u-=_,n.have===0){e.msg="invalid bit length repeat",n.mode=kn;break}G=n.lens[n.have-1],p=3+(l&3),l>>>=2,u-=2}else if(M===17){for(N=_+3;u<N;){if(o===0)break t;o--,l+=A[i++]<<u,u+=8}l>>>=_,u-=_,G=0,p=3+(l&7),l>>>=3,u-=3}else{for(N=_+7;u<N;){if(o===0)break t;o--,l+=A[i++]<<u,u+=8}l>>>=_,u-=_,G=0,p=11+(l&127),l>>>=7,u-=7}if(n.have+p>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=kn;break}for(;p--;)n.lens[n.have++]=G}}if(n.mode===kn)break;if(n.lens[256]===0){e.msg="invalid code -- missing end-of-block",n.mode=kn;break}if(n.lenbits=9,ot={bits:n.lenbits},z=Oc(vx,n.lens,0,n.nlen,n.lencode,0,n.work,ot),n.lenbits=ot.bits,z){e.msg="invalid literal/lengths set",n.mode=kn;break}if(n.distbits=6,n.distcode=n.distdyn,ot={bits:n.distbits},z=Oc(yx,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,ot),n.distbits=ot.bits,z){e.msg="invalid distances set",n.mode=kn;break}if(n.mode=pf,t===df)break t;case pf:n.mode=gf;case gf:if(o>=6&&a>=258){e.next_out=s,e.avail_out=a,e.next_in=i,e.avail_in=o,n.hold=l,n.bits=u,KN(e,w),s=e.next_out,r=e.output,a=e.avail_out,i=e.next_in,A=e.input,o=e.avail_in,l=n.hold,u=n.bits,n.mode===ys&&(n.back=-1);break}for(n.back=0;C=n.lencode[l&(1<<n.lenbits)-1],_=C>>>24,S=C>>>16&255,M=C&65535,!(_<=u);){if(o===0)break t;o--,l+=A[i++]<<u,u+=8}if(S&&(S&240)===0){for(T=_,V=S,B=M;C=n.lencode[B+((l&(1<<T+V)-1)>>T)],_=C>>>24,S=C>>>16&255,M=C&65535,!(T+_<=u);){if(o===0)break t;o--,l+=A[i++]<<u,u+=8}l>>>=T,u-=T,n.back+=T}if(l>>>=_,u-=_,n.back+=_,n.length=M,S===0){n.mode=v2;break}if(S&32){n.back=-1,n.mode=ys;break}if(S&64){e.msg="invalid literal/length code",n.mode=kn;break}n.extra=S&15,n.mode=w2;case w2:if(n.extra){for(N=n.extra;u<N;){if(o===0)break t;o--,l+=A[i++]<<u,u+=8}n.length+=l&(1<<n.extra)-1,l>>>=n.extra,u-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=m2;case m2:for(;C=n.distcode[l&(1<<n.distbits)-1],_=C>>>24,S=C>>>16&255,M=C&65535,!(_<=u);){if(o===0)break t;o--,l+=A[i++]<<u,u+=8}if((S&240)===0){for(T=_,V=S,B=M;C=n.distcode[B+((l&(1<<T+V)-1)>>T)],_=C>>>24,S=C>>>16&255,M=C&65535,!(T+_<=u);){if(o===0)break t;o--,l+=A[i++]<<u,u+=8}l>>>=T,u-=T,n.back+=T}if(l>>>=_,u-=_,n.back+=_,S&64){e.msg="invalid distance code",n.mode=kn;break}n.offset=M,n.extra=S&15,n.mode=B2;case B2:if(n.extra){for(N=n.extra;u<N;){if(o===0)break t;o--,l+=A[i++]<<u,u+=8}n.offset+=l&(1<<n.extra)-1,l>>>=n.extra,u-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=kn;break}n.mode=b2;case b2:if(a===0)break t;if(p=w-a,n.offset>p){if(p=n.offset-p,p>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=kn;break}p>n.wnext?(p-=n.wnext,y=n.wsize-p):y=n.wnext-p,p>n.length&&(p=n.length),v=n.window}else v=r,y=s-n.offset,p=n.length;p>a&&(p=a),a-=p,n.length-=p;do r[s++]=v[y++];while(--p);n.length===0&&(n.mode=gf);break;case v2:if(a===0)break t;r[s++]=n.length,a--,n.mode=gf;break;case wp:if(n.wrap){for(;u<32;){if(o===0)break t;o--,l|=A[i++]<<u,u+=8}if(w-=a,e.total_out+=w,n.total+=w,n.wrap&4&&w&&(e.adler=n.check=n.flags?ji(n.check,r,w,s-w):Kg(n.check,r,w,s-w)),w=a,n.wrap&4&&(n.flags?l:C2(l))!==n.check){e.msg="incorrect data check",n.mode=kn;break}l=0,u=0}n.mode=y2;case y2:if(n.wrap&&n.flags){for(;u<32;){if(o===0)break t;o--,l+=A[i++]<<u,u+=8}if(n.wrap&4&&l!==(n.total&4294967295)){e.msg="incorrect length check",n.mode=kn;break}l=0,u=0}n.mode=x2;case x2:z=$N;break t;case kn:z=xx;break t;case Fx:return Cx;case _x:default:return si}return e.next_out=s,e.avail_out=a,e.next_in=i,e.avail_in=o,n.hold=l,n.bits=u,(n.wsize||w!==e.avail_out&&n.mode<kn&&(n.mode<wp||t!==e2))&&Lx(e,e.output,e.next_out,w-e.avail_out),h-=e.avail_in,w-=e.avail_out,e.total_in+=h,e.total_out+=w,n.total+=w,n.wrap&4&&w&&(e.adler=n.check=n.flags?ji(n.check,r,w,e.next_out-w):Kg(n.check,r,w,e.next_out-w)),e.data_type=n.bits+(n.last?64:0)+(n.mode===ys?128:0)+(n.mode===pf||n.mode===gp?256:0),(h===0&&w===0||t===e2)&&z===ka&&(z=JN),z},oO=e=>{if(Da(e))return si;let t=e.state;return t.window&&(t.window=null),e.state=null,ka},aO=(e,t)=>{if(Da(e))return si;const n=e.state;return(n.wrap&2)===0?si:(n.head=t,t.done=!1,ka)},lO=(e,t)=>{const n=t.length;let A,r,i;return Da(e)||(A=e.state,A.wrap!==0&&A.mode!==yh)?si:A.mode===yh&&(r=1,r=Kg(r,t,n,0),r!==A.check)?xx:(i=Lx(e,t,n,n),i?(A.mode=Fx,Cx):(A.havedict=1,ka))};var cO=Ux,uO=Qx,fO=Ex,hO=rO,dO=Sx,pO=sO,gO=oO,wO=aO,mO=lO,BO="pako inflate (from Nodeca project)",_s={inflateReset:cO,inflateReset2:uO,inflateResetKeep:fO,inflateInit:hO,inflateInit2:dO,inflate:pO,inflateEnd:gO,inflateGetHeader:wO,inflateSetDictionary:mO,inflateInfo:BO};function bO(){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}var vO=bO;const Ix=Object.prototype.toString,{Z_NO_FLUSH:yO,Z_FINISH:xO,Z_OK:zc,Z_STREAM_END:bp,Z_NEED_DICT:vp,Z_STREAM_ERROR:CO,Z_DATA_ERROR:_2,Z_MEM_ERROR:FO}=mx;function pu(e){this.options=Bx.assign({chunkSize:1024*64,windowBits:15,to:""},e||{});const t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(t.windowBits&15)===0&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new DN,this.strm.avail_out=0;let n=_s.inflateInit2(this.strm,t.windowBits);if(n!==zc)throw new Error(jg[n]);if(this.header=new vO,_s.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=Vg.string2buf(t.dictionary):Ix.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=_s.inflateSetDictionary(this.strm,t.dictionary),n!==zc)))throw new Error(jg[n])}pu.prototype.push=function(e,t){const n=this.strm,A=this.options.chunkSize,r=this.options.dictionary;let i,s,o;if(this.ended)return!1;for(t===~~t?s=t:s=t===!0?xO:yO,Ix.call(e)==="[object ArrayBuffer]"?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;;){for(n.avail_out===0&&(n.output=new Uint8Array(A),n.next_out=0,n.avail_out=A),i=_s.inflate(n,s),i===vp&&r&&(i=_s.inflateSetDictionary(n,r),i===zc?i=_s.inflate(n,s):i===_2&&(i=vp));n.avail_in>0&&i===bp&&n.state.wrap>0&&e[n.next_in]!==0;)_s.inflateReset(n),i=_s.inflate(n,s);switch(i){case CO:case _2:case vp:case FO:return this.onEnd(i),this.ended=!0,!1}if(o=n.avail_out,n.next_out&&(n.avail_out===0||i===bp))if(this.options.to==="string"){let a=Vg.utf8border(n.output,n.next_out),l=n.next_out-a,u=Vg.buf2string(n.output,a);n.next_out=l,n.avail_out=A-l,l&&n.output.set(n.output.subarray(a,a+l),0),this.onData(u)}else this.onData(n.output.length===n.next_out?n.output:n.output.subarray(0,n.next_out));if(!(i===zc&&o===0)){if(i===bp)return i=_s.inflateEnd(this.strm),this.onEnd(i),this.ended=!0,!0;if(n.avail_in===0)break}}return!0};pu.prototype.onData=function(e){this.chunks.push(e)};pu.prototype.onEnd=function(e){e===zc&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Bx.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function _O(e,t){const n=new pu(t);if(n.push(e),n.err)throw n.msg||jg[n.err];return n.result}var EO=pu,UO=_O,QO={Inflate:EO,inflate:UO};const{Inflate:SO,inflate:LO}=QO;var E2=SO,IO=LO;const kx=[];for(let e=0;e<256;e++){let t=e;for(let n=0;n<8;n++)t&1?t=3988292384^t>>>1:t=t>>>1;kx[e]=t}const U2=4294967295;function kO(e,t,n){let A=e;for(let r=0;r<n;r++)A=kx[(A^t[r])&255]^A>>>8;return A}function TO(e,t){return(kO(U2,e,t)^U2)>>>0}function Q2(e,t,n){const A=e.readUint32(),r=TO(new Uint8Array(e.buffer,e.byteOffset+e.offset-t-4,t),t);if(r!==A)throw new Error(`CRC mismatch for chunk ${n}. Expected ${A}, found ${r}`)}function Tx(e,t,n){for(let A=0;A<n;A++)t[A]=e[A]}function Nx(e,t,n,A){let r=0;for(;r<A;r++)t[r]=e[r];for(;r<n;r++)t[r]=e[r]+t[r-A]&255}function Ox(e,t,n,A){let r=0;if(n.length===0)for(;r<A;r++)t[r]=e[r];else for(;r<A;r++)t[r]=e[r]+n[r]&255}function Hx(e,t,n,A,r){let i=0;if(n.length===0){for(;i<r;i++)t[i]=e[i];for(;i<A;i++)t[i]=e[i]+(t[i-r]>>1)&255}else{for(;i<r;i++)t[i]=e[i]+(n[i]>>1)&255;for(;i<A;i++)t[i]=e[i]+(t[i-r]+n[i]>>1)&255}}function Px(e,t,n,A,r){let i=0;if(n.length===0){for(;i<r;i++)t[i]=e[i];for(;i<A;i++)t[i]=e[i]+t[i-r]&255}else{for(;i<r;i++)t[i]=e[i]+n[i]&255;for(;i<A;i++)t[i]=e[i]+NO(t[i-r],n[i],n[i-r])&255}}function NO(e,t,n){const A=e+t-n,r=Math.abs(A-e),i=Math.abs(A-t),s=Math.abs(A-n);return r<=i&&r<=s?e:i<=s?t:n}function OO(e,t,n,A,r,i){switch(e){case 0:Tx(t,n,r);break;case 1:Nx(t,n,r,i);break;case 2:Ox(t,n,A,r);break;case 3:Hx(t,n,A,r,i);break;case 4:Px(t,n,A,r,i);break;default:throw new Error(`Unsupported filter: ${e}`)}}const HO=new Uint16Array([255]),PO=new Uint8Array(HO.buffer),MO=PO[0]===255;function DO(e){const{data:t,width:n,height:A,channels:r,depth:i}=e,s=[{x:0,y:0,xStep:8,yStep:8},{x:4,y:0,xStep:8,yStep:8},{x:0,y:4,xStep:4,yStep:8},{x:2,y:0,xStep:4,yStep:4},{x:0,y:2,xStep:2,yStep:4},{x:1,y:0,xStep:2,yStep:2},{x:0,y:1,xStep:1,yStep:2}],o=Math.ceil(i/8)*r,a=new Uint8Array(A*n*o);let l=0;for(let u=0;u<7;u++){const h=s[u],w=Math.ceil((n-h.x)/h.xStep),p=Math.ceil((A-h.y)/h.yStep);if(w<=0||p<=0)continue;const y=w*o,v=new Uint8Array(y);for(let C=0;C<p;C++){const _=t[l++],S=t.subarray(l,l+y);l+=y;const M=new Uint8Array(y);OO(_,S,M,v,y,o),v.set(M);for(let T=0;T<w;T++){const V=h.x+T*h.xStep,B=h.y+C*h.yStep;if(!(V>=n||B>=A))for(let G=0;G<o;G++)a[(B*n+V)*o+G]=M[T*o+G]}}}if(i===16){const u=new Uint16Array(a.buffer);if(MO)for(let h=0;h<u.length;h++)u[h]=RO(u[h]);return u}else return a}function RO(e){return(e&255)<<8|e>>8&255}const KO=new Uint16Array([255]),jO=new Uint8Array(KO.buffer),VO=jO[0]===255,WO=new Uint8Array(0);function S2(e){const{data:t,width:n,height:A,channels:r,depth:i}=e,s=Math.ceil(i/8)*r,o=Math.ceil(i/8*r*n),a=new Uint8Array(A*o);let l=WO,u=0,h,w;for(let p=0;p<A;p++){switch(h=t.subarray(u+1,u+1+o),w=a.subarray(p*o,(p+1)*o),t[u]){case 0:Tx(h,w,o);break;case 1:Nx(h,w,o,s);break;case 2:Ox(h,w,l,o);break;case 3:Hx(h,w,l,o,s);break;case 4:Px(h,w,l,o,s);break;default:throw new Error(`Unsupported filter: ${t[u]}`)}l=w,u+=o+1}if(i===16){const p=new Uint16Array(a.buffer);if(VO)for(let y=0;y<p.length;y++)p[y]=qO(p[y]);return p}else return a}function qO(e){return(e&255)<<8|e>>8&255}const jf=Uint8Array.of(137,80,78,71,13,10,26,10);function L2(e){if(!zO(e.readBytes(jf.length)))throw new Error("wrong PNG signature")}function zO(e){if(e.length<jf.length)return!1;for(let t=0;t<jf.length;t++)if(e[t]!==jf[t])return!1;return!0}const GO="tEXt",XO=0,Mx=new TextDecoder("latin1");function $O(e){if(JO(e),e.length===0||e.length>79)throw new Error("keyword length must be between 1 and 79")}const YO=/^[\u0000-\u00FF]*$/;function JO(e){if(!YO.test(e))throw new Error("invalid latin1 text")}function ZO(e,t,n){const A=Dx(t);e[A]=tH(t,n-A.length-1)}function Dx(e){for(e.mark();e.readByte()!==XO;);const t=e.offset;e.reset();const n=Mx.decode(e.readBytes(t-e.offset-1));return e.skip(1),$O(n),n}function tH(e,t){return Mx.decode(e.readBytes(t))}const Lr={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},yp={UNKNOWN:-1,DEFLATE:0},I2={UNKNOWN:-1,ADAPTIVE:0},xp={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},wf={NONE:0,BACKGROUND:1,PREVIOUS:2},Cp={SOURCE:0,OVER:1};class eH extends iw{_checkCrc;_inflator;_png;_apng;_end;_hasPalette;_palette;_hasTransparency;_transparency;_compressionMethod;_filterMethod;_interlaceMethod;_colorType;_isAnimated;_numberOfFrames;_numberOfPlays;_frames;_writingDataChunks;constructor(t,n={}){super(t);const{checkCrc:A=!1}=n;this._checkCrc=A,this._inflator=new E2,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=yp.UNKNOWN,this._filterMethod=I2.UNKNOWN,this._interlaceMethod=xp.UNKNOWN,this._colorType=Lr.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(L2(this);!this._end;){const t=this.readUint32(),n=this.readChars(4);this.decodeChunk(t,n)}return this.decodeImage(),this._png}decodeApng(){for(L2(this);!this._end;){const t=this.readUint32(),n=this.readChars(4);this.decodeApngChunk(t,n)}return this.decodeApngImage(),this._apng}decodeChunk(t,n){const A=this.offset;switch(n){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(t);break;case"IDAT":this.decodeIDAT(t);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(t);break;case"iCCP":this.decodeiCCP(t);break;case GO:ZO(this._png.text,this,t);break;case"pHYs":this.decodepHYs();break;default:this.skip(t);break}if(this.offset-A!==t)throw new Error(`Length mismatch while decoding chunk ${n}`);this._checkCrc?Q2(this,t+4,n):this.skip(4)}decodeApngChunk(t,n){const A=this.offset;switch(n!=="fdAT"&&n!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),n){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(t);break;default:this.decodeChunk(t,n),this.offset=A+t;break}if(this.offset-A!==t)throw new Error(`Length mismatch while decoding chunk ${n}`);this._checkCrc?Q2(this,t+4,n):this.skip(4)}decodeIHDR(){const t=this._png;t.width=this.readUint32(),t.height=this.readUint32(),t.depth=nH(this.readUint8());const n=this.readUint8();this._colorType=n;let A;switch(n){case Lr.GREYSCALE:A=1;break;case Lr.TRUECOLOUR:A=3;break;case Lr.INDEXED_COLOUR:A=1;break;case Lr.GREYSCALE_ALPHA:A=2;break;case Lr.TRUECOLOUR_ALPHA:A=4;break;case Lr.UNKNOWN:default:throw new Error(`Unknown color type: ${n}`)}if(this._png.channels=A,this._compressionMethod=this.readUint8(),this._compressionMethod!==yp.DEFLATE)throw new Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){const t={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(t)}decodePLTE(t){if(t%3!==0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${t}`);const n=t/3;this._hasPalette=!0;const A=[];this._palette=A;for(let r=0;r<n;r++)A.push([this.readUint8(),this.readUint8(),this.readUint8()])}decodeIDAT(t){this._writingDataChunks=!0;const n=t,A=this.offset+this.byteOffset;if(this._inflator.push(new Uint8Array(this.buffer,A,n)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(t)}decodeFDAT(t){this._writingDataChunks=!0;let n=t,A=this.offset+this.byteOffset;if(A+=4,n-=4,this._inflator.push(new Uint8Array(this.buffer,A,n)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(t)}decodetRNS(t){switch(this._colorType){case Lr.GREYSCALE:case Lr.TRUECOLOUR:{if(t%2!==0)throw new RangeError(`tRNS chunk length must be a multiple of 2. Got ${t}`);if(t/2>this._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${t/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(t/2);for(let n=0;n<t/2;n++)this._transparency[n]=this.readUint16();break}case Lr.INDEXED_COLOUR:{if(t>this._palette.length)throw new Error(`tRNS chunk contains more alpha values than there are palette colors (${t} vs ${this._palette.length})`);let n=0;for(;n<t;n++){const A=this.readByte();this._palette[n].push(A)}for(;n<this._palette.length;n++)this._palette[n].push(255);break}case Lr.UNKNOWN:case Lr.GREYSCALE_ALPHA:case Lr.TRUECOLOUR_ALPHA:default:throw new Error(`tRNS chunk is not supported for color type ${this._colorType}`)}}decodeiCCP(t){const n=Dx(this),A=this.readUint8();if(A!==yp.DEFLATE)throw new Error(`Unsupported iCCP compression method: ${A}`);const r=this.readBytes(t-n.length-2);this._png.iccEmbeddedProfile={name:n,profile:IO(r)}}decodepHYs(){const t=this.readUint32(),n=this.readUint32(),A=this.readByte();this._png.resolution={x:t,y:n,unit:A}}decodeApngImage(){this._apng.width=this._png.width,this._apng.height=this._png.height,this._apng.channels=this._png.channels,this._apng.depth=this._png.depth,this._apng.numberOfFrames=this._numberOfFrames,this._apng.numberOfPlays=this._numberOfPlays,this._apng.text=this._png.text,this._apng.resolution=this._png.resolution;for(let t=0;t<this._numberOfFrames;t++){const n={sequenceNumber:this._frames[t].sequenceNumber,delayNumber:this._frames[t].delayNumber,delayDenominator:this._frames[t].delayDenominator,data:this._apng.depth===8?new Uint8Array(this._apng.width*this._apng.height*this._apng.channels):new Uint16Array(this._apng.width*this._apng.height*this._apng.channels)},A=this._frames.at(t);if(A){if(A.data=S2({data:A.data,width:A.width,height:A.height,channels:this._apng.channels,depth:this._apng.depth}),this._hasPalette&&(this._apng.palette=this._palette),this._hasTransparency&&(this._apng.transparency=this._transparency),t===0||A.xOffset===0&&A.yOffset===0&&A.width===this._png.width&&A.height===this._png.height)n.data=A.data;else{const r=this._apng.frames.at(t-1);this.disposeFrame(A,r,n),this.addFrameDataToCanvas(n,A)}this._apng.frames.push(n)}}return this._apng}disposeFrame(t,n,A){switch(t.disposeOp){case wf.NONE:break;case wf.BACKGROUND:for(let r=0;r<this._png.height;r++)for(let i=0;i<this._png.width;i++){const s=(r*t.width+i)*this._png.channels;for(let o=0;o<this._png.channels;o++)A.data[s+o]=0}break;case wf.PREVIOUS:A.data.set(n.data);break;default:throw new Error("Unknown disposeOp")}}addFrameDataToCanvas(t,n){const A=1<<this._png.depth,r=(i,s)=>{const o=((i+n.yOffset)*this._png.width+n.xOffset+s)*this._png.channels,a=(i*n.width+s)*this._png.channels;return{index:o,frameIndex:a}};switch(n.blendOp){case Cp.SOURCE:for(let i=0;i<n.height;i++)for(let s=0;s<n.width;s++){const{index:o,frameIndex:a}=r(i,s);for(let l=0;l<this._png.channels;l++)t.data[o+l]=n.data[a+l]}break;case Cp.OVER:for(let i=0;i<n.height;i++)for(let s=0;s<n.width;s++){const{index:o,frameIndex:a}=r(i,s);for(let l=0;l<this._png.channels;l++){const u=n.data[a+this._png.channels-1]/A,h=l%(this._png.channels-1)===0?1:n.data[a+l],w=Math.floor(u*h+(1-u)*t.data[o+l]);t.data[o+l]+=w}}break;default:throw new Error("Unknown blendOp")}}decodeImage(){if(this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);const t=this._isAnimated?(this._frames?.at(0)).data:this._inflator.result;if(this._filterMethod!==I2.ADAPTIVE)throw new Error(`Filter method ${this._filterMethod} not supported`);if(this._interlaceMethod===xp.NO_INTERLACE)this._png.data=S2({data:t,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else if(this._interlaceMethod===xp.ADAM7)this._png.data=DO({data:t,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else throw new Error(`Interlace method ${this._interlaceMethod} not supported`);this._hasPalette&&(this._png.palette=this._palette),this._hasTransparency&&(this._png.transparency=this._transparency)}pushDataToFrame(){const t=this._inflator.result,n=this._frames.at(-1);n?n.data=t:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:wf.NONE,blendOp:Cp.SOURCE,data:t}),this._inflator=new E2,this._writingDataChunks=!1}}function nH(e){if(e!==1&&e!==2&&e!==4&&e!==8&&e!==16)throw new Error(`invalid bit depth: ${e}`);return e}var k2;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.METRE=1]="METRE"})(k2||(k2={}));function AH(e,t){return new eH(e,t).decode()}var Me=(function(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this})();function Fp(){Me.console&&typeof Me.console.log=="function"&&Me.console.log.apply(Me.console,arguments)}var mn={log:Fp,warn:function(e){Me.console&&(typeof Me.console.warn=="function"?Me.console.warn.apply(Me.console,arguments):Fp.call(null,arguments))},error:function(e){Me.console&&(typeof Me.console.error=="function"?Me.console.error.apply(Me.console,arguments):Fp(e))}};function _p(e,t,n){var A=new XMLHttpRequest;A.open("GET",e),A.responseType="blob",A.onload=function(){oa(A.response,t,n)},A.onerror=function(){mn.error("could not download file")},A.send()}function T2(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch{}return t.status>=200&&t.status<=299}function mf(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 oa=Me.saveAs||((typeof window>"u"?"undefined":pn(window))!=="object"||window!==Me?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(e,t,n){var A=Me.URL||Me.webkitURL,r=document.createElement("a");t=t||e.name||"download",r.download=t,r.rel="noopener",typeof e=="string"?(r.href=e,r.origin!==location.origin?T2(r.href)?_p(e,t,n):mf(r,r.target="_blank"):mf(r)):(r.href=A.createObjectURL(e),setTimeout(function(){A.revokeObjectURL(r.href)},4e4),setTimeout(function(){mf(r)},0))}:"msSaveOrOpenBlob"in navigator?function(e,t,n){if(t=t||e.name||"download",typeof e=="string")if(T2(e))_p(e,t,n);else{var A=document.createElement("a");A.href=e,A.target="_blank",setTimeout(function(){mf(A)})}else navigator.msSaveOrOpenBlob((function(r,i){return i===void 0?i={autoBom:!1}:pn(i)!=="object"&&(mn.warn("Deprecated: Expected third argument to be a object"),i={autoBom:!i}),i.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(r.type)?new Blob(["\uFEFF",r],{type:r.type}):r})(e,n),t)}:function(e,t,n,A){if((A=A||open("","_blank"))&&(A.document.title=A.document.body.innerText="downloading..."),typeof e=="string")return _p(e,t,n);var r=e.type==="application/octet-stream",i=/constructor/i.test(Me.HTMLElement)||Me.safari,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||r&&i)&&(typeof FileReader>"u"?"undefined":pn(FileReader))==="object"){var o=new FileReader;o.onloadend=function(){var u=o.result;u=s?u:u.replace(/^data:[^;]*;/,"data:attachment/file;"),A?A.location.href=u:location=u,A=null},o.readAsDataURL(e)}else{var a=Me.URL||Me.webkitURL,l=a.createObjectURL(e);A?A.location=l:location.href=l,A=null,setTimeout(function(){a.revokeObjectURL(l)},4e4)}});function Rx(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(o){return[parseInt(o[1]),parseInt(o[2]),parseInt(o[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(o){return[parseInt(o[1],16),parseInt(o[2],16),parseInt(o[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(o){return[parseInt(o[1]+o[1],16),parseInt(o[2]+o[2],16),parseInt(o[3]+o[3],16)]}}],A=0;A<n.length;A++){var r=n[A].re,i=n[A].process,s=r.exec(e);s&&(t=i(s),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 o=this.r.toString(16),a=this.g.toString(16),l=this.b.toString(16);return o.length==1&&(o="0"+o),a.length==1&&(a="0"+a),l.length==1&&(l="0"+l),"#"+o+a+l}}var Vf=Me.atob.bind(Me),N2=Me.btoa.bind(Me);function Ep(e,t){var n=e[0],A=e[1],r=e[2],i=e[3];n=OA(n,A,r,i,t[0],7,-680876936),i=OA(i,n,A,r,t[1],12,-389564586),r=OA(r,i,n,A,t[2],17,606105819),A=OA(A,r,i,n,t[3],22,-1044525330),n=OA(n,A,r,i,t[4],7,-176418897),i=OA(i,n,A,r,t[5],12,1200080426),r=OA(r,i,n,A,t[6],17,-1473231341),A=OA(A,r,i,n,t[7],22,-45705983),n=OA(n,A,r,i,t[8],7,1770035416),i=OA(i,n,A,r,t[9],12,-1958414417),r=OA(r,i,n,A,t[10],17,-42063),A=OA(A,r,i,n,t[11],22,-1990404162),n=OA(n,A,r,i,t[12],7,1804603682),i=OA(i,n,A,r,t[13],12,-40341101),r=OA(r,i,n,A,t[14],17,-1502002290),n=HA(n,A=OA(A,r,i,n,t[15],22,1236535329),r,i,t[1],5,-165796510),i=HA(i,n,A,r,t[6],9,-1069501632),r=HA(r,i,n,A,t[11],14,643717713),A=HA(A,r,i,n,t[0],20,-373897302),n=HA(n,A,r,i,t[5],5,-701558691),i=HA(i,n,A,r,t[10],9,38016083),r=HA(r,i,n,A,t[15],14,-660478335),A=HA(A,r,i,n,t[4],20,-405537848),n=HA(n,A,r,i,t[9],5,568446438),i=HA(i,n,A,r,t[14],9,-1019803690),r=HA(r,i,n,A,t[3],14,-187363961),A=HA(A,r,i,n,t[8],20,1163531501),n=HA(n,A,r,i,t[13],5,-1444681467),i=HA(i,n,A,r,t[2],9,-51403784),r=HA(r,i,n,A,t[7],14,1735328473),n=PA(n,A=HA(A,r,i,n,t[12],20,-1926607734),r,i,t[5],4,-378558),i=PA(i,n,A,r,t[8],11,-2022574463),r=PA(r,i,n,A,t[11],16,1839030562),A=PA(A,r,i,n,t[14],23,-35309556),n=PA(n,A,r,i,t[1],4,-1530992060),i=PA(i,n,A,r,t[4],11,1272893353),r=PA(r,i,n,A,t[7],16,-155497632),A=PA(A,r,i,n,t[10],23,-1094730640),n=PA(n,A,r,i,t[13],4,681279174),i=PA(i,n,A,r,t[0],11,-358537222),r=PA(r,i,n,A,t[3],16,-722521979),A=PA(A,r,i,n,t[6],23,76029189),n=PA(n,A,r,i,t[9],4,-640364487),i=PA(i,n,A,r,t[12],11,-421815835),r=PA(r,i,n,A,t[15],16,530742520),n=MA(n,A=PA(A,r,i,n,t[2],23,-995338651),r,i,t[0],6,-198630844),i=MA(i,n,A,r,t[7],10,1126891415),r=MA(r,i,n,A,t[14],15,-1416354905),A=MA(A,r,i,n,t[5],21,-57434055),n=MA(n,A,r,i,t[12],6,1700485571),i=MA(i,n,A,r,t[3],10,-1894986606),r=MA(r,i,n,A,t[10],15,-1051523),A=MA(A,r,i,n,t[1],21,-2054922799),n=MA(n,A,r,i,t[8],6,1873313359),i=MA(i,n,A,r,t[15],10,-30611744),r=MA(r,i,n,A,t[6],15,-1560198380),A=MA(A,r,i,n,t[13],21,1309151649),n=MA(n,A,r,i,t[4],6,-145523070),i=MA(i,n,A,r,t[11],10,-1120210379),r=MA(r,i,n,A,t[2],15,718787259),A=MA(A,r,i,n,t[9],21,-343485551),e[0]=vo(n,e[0]),e[1]=vo(A,e[1]),e[2]=vo(r,e[2]),e[3]=vo(i,e[3])}function ad(e,t,n,A,r,i){return t=vo(vo(t,e),vo(A,i)),vo(t<<r|t>>>32-r,n)}function OA(e,t,n,A,r,i,s){return ad(t&n|~t&A,e,t,r,i,s)}function HA(e,t,n,A,r,i,s){return ad(t&A|n&~A,e,t,r,i,s)}function PA(e,t,n,A,r,i,s){return ad(t^n^A,e,t,r,i,s)}function MA(e,t,n,A,r,i,s){return ad(n^(t|~A),e,t,r,i,s)}function Kx(e){var t,n=e.length,A=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)Ep(A,rH(e.substring(t-64,t)));e=e.substring(t-64);var r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<e.length;t++)r[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(r[t>>2]|=128<<(t%4<<3),t>55)for(Ep(A,r),t=0;t<16;t++)r[t]=0;return r[14]=8*n,Ep(A,r),A}function rH(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}var O2="0123456789abcdef".split("");function iH(e){for(var t="",n=0;n<4;n++)t+=O2[e>>8*n+4&15]+O2[e>>8*n&15];return t}function sH(e){return String.fromCharCode(255&e,(65280&e)>>8,(16711680&e)>>16,(4278190080&e)>>24)}function Wg(e){return Kx(e).map(sH).join("")}var oH=(function(e){for(var t=0;t<e.length;t++)e[t]=iH(e[t]);return e.join("")})(Kx("hello"))!="5d41402abc4b2a76b9719d911017c592";function vo(e,t){if(oH){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}return e+t&4294967295}function qg(e,t){var n,A,r,i;if(e!==n){for(var s=(r=e,i=1+(256/e.length|0),new Array(i+1).join(r)),o=[],a=0;a<256;a++)o[a]=a;var l=0;for(a=0;a<256;a++){var u=o[a];l=(l+u+s.charCodeAt(a))%256,o[a]=o[l],o[l]=u}n=e,A=o}else o=A;var h=t.length,w=0,p=0,y="";for(a=0;a<h;a++)p=(p+(u=o[w=(w+1)%256]))%256,o[w]=o[p],o[p]=u,s=o[(o[w]+o[p])%256],y+=String.fromCharCode(t.charCodeAt(a)^s);return y}var H2={print:4,modify:8,copy:16,"annot-forms":32};function hl(e,t,n,A){this.v=1,this.r=2;var r=192;e.forEach(function(o){if(H2.perm!==void 0)throw new Error("Invalid permission: "+o);r+=H2[o]}),this.padding="(ยฟN^NuยAd\0NVรฟรบ\b..\0ยถรh>ย/\fยฉรพdSiz";var i=(t+this.padding).substr(0,32),s=(n+this.padding).substr(0,32);this.O=this.processOwnerPassword(i,s),this.P=-(1+(255^r)),this.encryptionKey=Wg(i+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(A)).substr(0,5),this.U=qg(this.encryptionKey,this.padding)}function dl(e){if(/[^\u0000-\u00ff]/.test(e))throw new Error("Invalid PDF Name Object: "+e+", Only accept ASCII characters.");for(var t="",n=e.length,A=0;A<n;A++){var r=e.charCodeAt(A);t+=r<33||r===35||r===37||r===40||r===41||r===47||r===60||r===62||r===91||r===93||r===123||r===125||r>126?"#"+("0"+r.toString(16)).slice(-2):e[A]}return t}function P2(e){if(pn(e)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var t={};this.subscribe=function(n,A,r){if(r=r||!1,typeof n!="string"||typeof A!="function"||typeof r!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");t.hasOwnProperty(n)||(t[n]={});var i=Math.random().toString(35);return t[n][i]=[A,!!r],i},this.unsubscribe=function(n){for(var A in t)if(t[A][n])return delete t[A][n],Object.keys(t[A]).length===0&&delete t[A],!0;return!1},this.publish=function(n){if(t.hasOwnProperty(n)){var A=Array.prototype.slice.call(arguments,1),r=[];for(var i in t[n]){var s=t[n][i];try{s[0].apply(e,A)}catch(o){Me.console&&mn.error("jsPDF PubSub Error",o.message,o)}s[1]&&r.push(i)}r.length&&r.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function xh(e){if(!(this instanceof xh))return new xh(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 jx(e,t){this.gState=e,this.matrix=t,this.id="",this.objectNumber=-1}function ua(e,t,n,A,r){if(!(this instanceof ua))return new ua(e,t,n,A,r);this.type=e==="axial"?2:3,this.coords=t,this.colors=n,jx.call(this,A,r)}function gl(e,t,n,A,r){if(!(this instanceof gl))return new gl(e,t,n,A,r);this.boundingBox=e,this.xStep=t,this.yStep=n,this.stream="",this.cloneIndex=0,jx.call(this,A,r)}function Fe(e){var t,n=typeof arguments[0]=="string"?arguments[0]:"p",A=arguments[1],r=arguments[2],i=arguments[3],s=[],o=1,a=16,l="S",u=null;pn(e=e||{})==="object"&&(n=e.orientation,A=e.unit||A,r=e.format||r,i=e.compress||e.compressPdf||i,(u=e.encryption||null)!==null&&(u.userPassword=u.userPassword||"",u.ownerPassword=u.ownerPassword||"",u.userPermissions=u.userPermissions||[]),o=typeof e.userUnit=="number"?Math.abs(e.userUnit):1,e.precision!==void 0&&(t=e.precision),e.floatPrecision!==void 0&&(a=e.floatPrecision),l=e.defaultPathOperation||"S"),s=e.filters||(i===!0?["FlateEncode"]:s),A=A||"mm",n=(""+(n||"P")).toLowerCase();var h=e.putOnlyUsedFonts||!1,w={},p={internal:{},__private__:{}};p.__private__.PubSub=P2;var y="1.3",v=p.__private__.getPdfVersion=function(){return y};p.__private__.setPdfVersion=function(b){y=b};var C={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]};p.__private__.getPageFormats=function(){return C};var _=p.__private__.getPageFormat=function(b){return C[b]};r=r||"a4";var S="compat",M="advanced",T=S;function V(){this.saveGraphicsState(),q(new Qe(_t,0,0,-_t,0,Ri()*_t).toString()+" cm"),this.setFontSize(this.getFontSize()/_t),l="n",T=M}function B(){this.restoreGraphicsState(),l="S",T=S}var G=p.__private__.combineFontStyleAndFontWeight=function(b,L){if(b=="bold"&&L=="normal"||b=="bold"&&L==400||b=="normal"&&L=="italic"||b=="bold"&&L=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return L&&(b=L==400||L==="normal"?b==="italic"?"italic":"normal":L!=700&&L!=="bold"||b!=="normal"?(L==700?"bold":L)+""+b:"bold"),b};p.advancedAPI=function(b){var L=T===S;return L&&V.call(this),typeof b!="function"||(b(this),L&&B.call(this)),this},p.compatAPI=function(b){var L=T===M;return L&&B.call(this),typeof b!="function"||(b(this),L&&V.call(this)),this},p.isAdvancedAPI=function(){return T===M};var z,H=function(b){if(T!==M)throw new Error(b+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},ot=p.roundToPrecision=p.__private__.roundToPrecision=function(b,L){var Y=t||L;if(isNaN(b)||isNaN(Y))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return b.toFixed(Y).replace(/0+$/,"")};z=p.hpf=p.__private__.hpf=typeof a=="number"?function(b){if(isNaN(b))throw new Error("Invalid argument passed to jsPDF.hpf");return ot(b,a)}:a==="smart"?function(b){if(isNaN(b))throw new Error("Invalid argument passed to jsPDF.hpf");return ot(b,b>-1&&b<1?16:5)}:function(b){if(isNaN(b))throw new Error("Invalid argument passed to jsPDF.hpf");return ot(b,16)};var N=p.f2=p.__private__.f2=function(b){if(isNaN(b))throw new Error("Invalid argument passed to jsPDF.f2");return ot(b,2)},K=p.__private__.f3=function(b){if(isNaN(b))throw new Error("Invalid argument passed to jsPDF.f3");return ot(b,3)},et=p.scale=p.__private__.scale=function(b){if(isNaN(b))throw new Error("Invalid argument passed to jsPDF.scale");return T===S?b*_t:T===M?b:void 0},At=function(b){return et((function(L){return T===S?Ri()-L:T===M?L:void 0})(b))};p.__private__.setPrecision=p.setPrecision=function(b){typeof parseInt(b,10)=="number"&&(t=parseInt(b,10))};var pt,gt="00000000000000000000000000000000",mt=p.__private__.getFileId=function(){return gt},ht=p.__private__.setFileId=function(b){return gt=b!==void 0&&/^[a-fA-F0-9]{32}$/.test(b)?b.toUpperCase():gt.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),u!==null&&(Sn=new hl(u.userPermissions,u.userPassword,u.ownerPassword,gt)),gt};p.setFileId=function(b){return ht(b),this},p.getFileId=function(){return mt()};var Ft=p.__private__.convertDateToPDFDate=function(b){var L=b.getTimezoneOffset(),Y=L<0?"+":"-",lt=Math.floor(Math.abs(L/60)),Bt=Math.abs(L%60),Dt=[Y,it(lt),"'",it(Bt),"'"].join("");return["D:",b.getFullYear(),it(b.getMonth()+1),it(b.getDate()),it(b.getHours()),it(b.getMinutes()),it(b.getSeconds()),Dt].join("")},Vt=p.__private__.convertPDFDateToDate=function(b){var L=parseInt(b.substr(2,4),10),Y=parseInt(b.substr(6,2),10)-1,lt=parseInt(b.substr(8,2),10),Bt=parseInt(b.substr(10,2),10),Dt=parseInt(b.substr(12,2),10),qt=parseInt(b.substr(14,2),10);return new Date(L,Y,lt,Bt,Dt,qt,0)},Ht=p.__private__.setCreationDate=function(b){var L;if(b===void 0&&(b=new Date),b instanceof Date)L=Ft(b);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(b))throw new Error("Invalid argument passed to jsPDF.setCreationDate");L=b}return pt=L},O=p.__private__.getCreationDate=function(b){var L=pt;return b==="jsDate"&&(L=Vt(pt)),L};p.setCreationDate=function(b){return Ht(b),this},p.getCreationDate=function(b){return O(b)};var X,it=p.__private__.padd2=function(b){return("0"+parseInt(b)).slice(-2)},at=p.__private__.padd2Hex=function(b){return("00"+(b=b.toString())).substr(b.length)},ct=0,bt=[],It=[],Tt=0,Kt=[],Xt=[],ae=!1,ie=It;p.__private__.setCustomOutputDestination=function(b){ae=!0,ie=b};var fe=function(b){ae||(ie=b)};p.__private__.resetCustomOutputDestination=function(){ae=!1,ie=It};var q=p.__private__.out=function(b){return b=b.toString(),Tt+=b.length+1,ie.push(b),ie},se=p.__private__.write=function(b){return q(arguments.length===1?b.toString():Array.prototype.join.call(arguments," "))},Re=p.__private__.getArrayBuffer=function(b){for(var L=b.length,Y=new ArrayBuffer(L),lt=new Uint8Array(Y);L--;)lt[L]=b.charCodeAt(L);return Y},Se=[["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]];p.__private__.getStandardFonts=function(){return Se};var Gt=e.fontSize||16;p.__private__.setFontSize=p.setFontSize=function(b){return Gt=T===M?b/_t:b,this};var Ee,he=p.__private__.getFontSize=p.getFontSize=function(){return T===S?Gt:Gt*_t},ve=e.R2L||!1;p.__private__.setR2L=p.setR2L=function(b){return ve=b,this},p.__private__.getR2L=p.getR2L=function(){return ve};var ge,ke=p.__private__.setZoomMode=function(b){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(b))Ee=b;else if(isNaN(b)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(b)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+b+'" is not recognized.');Ee=b}else Ee=parseInt(b,10)};p.__private__.getZoomMode=function(){return Ee};var k,rt=p.__private__.setPageMode=function(b){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(b)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+b+'" is not recognized.');ge=b};p.__private__.getPageMode=function(){return ge};var nt=p.__private__.setLayoutMode=function(b){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(b)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+b+'" is not recognized.');k=b};p.__private__.getLayoutMode=function(){return k},p.__private__.setDisplayMode=p.setDisplayMode=function(b,L,Y){return ke(b),nt(L),rt(Y),this};var Ct={title:"",subject:"",author:"",keywords:"",creator:""};p.__private__.getDocumentProperty=function(b){if(Object.keys(Ct).indexOf(b)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Ct[b]},p.__private__.getDocumentProperties=function(){return Ct},p.__private__.setDocumentProperties=p.setProperties=p.setDocumentProperties=function(b){for(var L in Ct)Ct.hasOwnProperty(L)&&b[L]&&(Ct[L]=b[L]);return this},p.__private__.setDocumentProperty=function(b,L){if(Object.keys(Ct).indexOf(b)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Ct[b]=L};var yt,_t,Nt,re,te,Yt={},Jt={},Be=[],St={},Zt={},Ot={},Wt={},ee=null,de=0,le=[],Le=new P2(p),cn=e.hotfixes||[],qe={},aA={},wA=[],Qe=function b(L,Y,lt,Bt,Dt,qt){if(!(this instanceof b))return new b(L,Y,lt,Bt,Dt,qt);isNaN(L)&&(L=1),isNaN(Y)&&(Y=0),isNaN(lt)&&(lt=0),isNaN(Bt)&&(Bt=1),isNaN(Dt)&&(Dt=0),isNaN(qt)&&(qt=0),this._matrix=[L,Y,lt,Bt,Dt,qt]};Object.defineProperty(Qe.prototype,"sx",{get:function(){return this._matrix[0]},set:function(b){this._matrix[0]=b}}),Object.defineProperty(Qe.prototype,"shy",{get:function(){return this._matrix[1]},set:function(b){this._matrix[1]=b}}),Object.defineProperty(Qe.prototype,"shx",{get:function(){return this._matrix[2]},set:function(b){this._matrix[2]=b}}),Object.defineProperty(Qe.prototype,"sy",{get:function(){return this._matrix[3]},set:function(b){this._matrix[3]=b}}),Object.defineProperty(Qe.prototype,"tx",{get:function(){return this._matrix[4]},set:function(b){this._matrix[4]=b}}),Object.defineProperty(Qe.prototype,"ty",{get:function(){return this._matrix[5]},set:function(b){this._matrix[5]=b}}),Object.defineProperty(Qe.prototype,"a",{get:function(){return this._matrix[0]},set:function(b){this._matrix[0]=b}}),Object.defineProperty(Qe.prototype,"b",{get:function(){return this._matrix[1]},set:function(b){this._matrix[1]=b}}),Object.defineProperty(Qe.prototype,"c",{get:function(){return this._matrix[2]},set:function(b){this._matrix[2]=b}}),Object.defineProperty(Qe.prototype,"d",{get:function(){return this._matrix[3]},set:function(b){this._matrix[3]=b}}),Object.defineProperty(Qe.prototype,"e",{get:function(){return this._matrix[4]},set:function(b){this._matrix[4]=b}}),Object.defineProperty(Qe.prototype,"f",{get:function(){return this._matrix[5]},set:function(b){this._matrix[5]=b}}),Object.defineProperty(Qe.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Qe.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Qe.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Qe.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Qe.prototype.join=function(b){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(z).join(b)},Qe.prototype.multiply=function(b){var L=b.sx*this.sx+b.shy*this.shx,Y=b.sx*this.shy+b.shy*this.sy,lt=b.shx*this.sx+b.sy*this.shx,Bt=b.shx*this.shy+b.sy*this.sy,Dt=b.tx*this.sx+b.ty*this.shx+this.tx,qt=b.tx*this.shy+b.ty*this.sy+this.ty;return new Qe(L,Y,lt,Bt,Dt,qt)},Qe.prototype.decompose=function(){var b=this.sx,L=this.shy,Y=this.shx,lt=this.sy,Bt=this.tx,Dt=this.ty,qt=Math.sqrt(b*b+L*L),pe=(b/=qt)*Y+(L/=qt)*lt;Y-=b*pe,lt-=L*pe;var be=Math.sqrt(Y*Y+lt*lt);return pe/=be,b*(lt/=be)<L*(Y/=be)&&(b=-b,L=-L,pe=-pe,qt=-qt),{scale:new Qe(qt,0,0,be,0,0),translate:new Qe(1,0,0,1,Bt,Dt),rotate:new Qe(b,L,-L,b,0,0),skew:new Qe(1,0,pe,1,0,0)}},Qe.prototype.toString=function(b){return this.join(" ")},Qe.prototype.inversed=function(){var b=this.sx,L=this.shy,Y=this.shx,lt=this.sy,Bt=this.tx,Dt=this.ty,qt=1/(b*lt-L*Y),pe=lt*qt,be=-L*qt,Ne=-Y*qt,Ke=b*qt;return new Qe(pe,be,Ne,Ke,-pe*Bt-Ne*Dt,-be*Bt-Ke*Dt)},Qe.prototype.applyToPoint=function(b){var L=b.x*this.sx+b.y*this.shx+this.tx,Y=b.x*this.shy+b.y*this.sy+this.ty;return new Rr(L,Y)},Qe.prototype.applyToRectangle=function(b){var L=this.applyToPoint(b),Y=this.applyToPoint(new Rr(b.x+b.w,b.y+b.h));return new zs(L.x,L.y,Y.x-L.x,Y.y-L.y)},Qe.prototype.clone=function(){var b=this.sx,L=this.shy,Y=this.shx,lt=this.sy,Bt=this.tx,Dt=this.ty;return new Qe(b,L,Y,lt,Bt,Dt)},p.Matrix=Qe;var oi=p.matrixMult=function(b,L){return L.multiply(b)},sr=new Qe(1,0,0,1,0,0);p.unitMatrix=p.identityMatrix=sr;var SA=function(b,L){if(!Zt[b]){var Y=(L instanceof ua?"Sh":"P")+(Object.keys(St).length+1).toString(10);L.id=Y,Zt[b]=Y,St[Y]=L,Le.publish("addPattern",L)}};p.ShadingPattern=ua,p.TilingPattern=gl,p.addShadingPattern=function(b,L){return H("addShadingPattern()"),SA(b,L),this},p.beginTilingPattern=function(b){H("beginTilingPattern()"),os(b.boundingBox[0],b.boundingBox[1],b.boundingBox[2]-b.boundingBox[0],b.boundingBox[3]-b.boundingBox[1],b.matrix)},p.endTilingPattern=function(b,L){H("endTilingPattern()"),L.stream=Xt[X].join(` `),SA(b,L),Le.publish("endTilingPattern",L),wA.pop().restore()};var LA,Qn=p.__private__.newObject=function(){var b=Pn();return iA(b,!0),b},Pn=p.__private__.newObjectDeferred=function(){return ct++,bt[ct]=function(){return Tt},ct},iA=function(b,L){return L=typeof L=="boolean"&&L,bt[b]=Tt,L&&q(b+" 0 obj"),b},or=p.__private__.newAdditionalObject=function(){var b={objId:Pn(),content:""};return Kt.push(b),b},ai=Pn(),ar=Pn(),vr=p.__private__.decodeColorString=function(b){var L=b.split(" ");if(L.length!==2||L[1]!=="g"&&L[1]!=="G")L.length!==5||L[4]!=="k"&&L[4]!=="K"||(L=[(1-L[0])*(1-L[3]),(1-L[1])*(1-L[3]),(1-L[2])*(1-L[3]),"r"]);else{var Y=parseFloat(L[0]);L=[Y,Y,Y,"r"]}for(var lt="#",Bt=0;Bt<3;Bt++)lt+=("0"+Math.floor(255*parseFloat(L[Bt])).toString(16)).slice(-2);return lt},lr=p.__private__.encodeColorString=function(b){var L;typeof b=="string"&&(b={ch1:b});var Y=b.ch1,lt=b.ch2,Bt=b.ch3,Dt=b.ch4,qt=b.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof Y=="string"&&Y.charAt(0)!=="#"){var pe=new Rx(Y);if(pe.ok)Y=pe.toHex();else if(!/^\d*\.?\d*$/.test(Y))throw new Error('Invalid color "'+Y+'" passed to jsPDF.encodeColorString.')}if(typeof Y=="string"&&/^#[0-9A-Fa-f]{3}$/.test(Y)&&(Y="#"+Y[1]+Y[1]+Y[2]+Y[2]+Y[3]+Y[3]),typeof Y=="string"&&/^#[0-9A-Fa-f]{6}$/.test(Y)){var be=parseInt(Y.substr(1),16);Y=be>>16&255,lt=be>>8&255,Bt=255&be}if(lt===void 0||Dt===void 0&&Y===lt&<===Bt)L=typeof Y=="string"?Y+" "+qt[0]:b.precision===2?N(Y/255)+" "+qt[0]:K(Y/255)+" "+qt[0];else if(Dt===void 0||pn(Dt)==="object"){if(Dt&&!isNaN(Dt.a)&&Dt.a===0)return["1.","1.","1.",qt[1]].join(" ");L=typeof Y=="string"?[Y,lt,Bt,qt[1]].join(" "):b.precision===2?[N(Y/255),N(lt/255),N(Bt/255),qt[1]].join(" "):[K(Y/255),K(lt/255),K(Bt/255),qt[1]].join(" ")}else L=typeof Y=="string"?[Y,lt,Bt,Dt,qt[2]].join(" "):b.precision===2?[N(Y),N(lt),N(Bt),N(Dt),qt[2]].join(" "):[K(Y),K(lt),K(Bt),K(Dt),qt[2]].join(" ");return L},GA=p.__private__.getFilters=function(){return s},yA=p.__private__.putStream=function(b){var L=(b=b||{}).data||"",Y=b.filters||GA(),lt=b.alreadyAppliedFilters||[],Bt=b.addLength1||!1,Dt=L.length,qt=b.objectId,pe=function(Bn){return Bn};if(u!==null&&qt===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");u!==null&&(pe=Sn.encryptor(qt,0));var be={};Y===!0&&(Y=["FlateEncode"]);var Ne=b.additionalKeyValues||[],Ke=(be=Fe.API.processDataByFilters!==void 0?Fe.API.processDataByFilters(L,Y):{data:L,reverseChain:[]}).reverseChain+(Array.isArray(lt)?lt.join(" "):lt.toString());if(be.data.length!==0&&(Ne.push({key:"Length",value:be.data.length}),Bt===!0&&Ne.push({key:"Length1",value:Dt})),Ke.length!=0)if(Ke.split("/").length-1==1)Ne.push({key:"Filter",value:Ke});else{Ne.push({key:"Filter",value:"["+Ke+"]"});for(var De=0;De<Ne.length;De+=1)if(Ne[De].key==="DecodeParms"){for(var Cn=[],Dn=0;Dn<be.reverseChain.split("/").length-1;Dn+=1)Cn.push("null");Cn.push(Ne[De].value),Ne[De].value="["+Cn.join(" ")+"]"}}q("<<");for(var en=0;en<Ne.length;en++)q("/"+Ne[en].key+" "+Ne[en].value);q(">>"),be.data.length!==0&&(q("stream"),q(pe(be.data)),q("endstream"))},es=p.__private__.putPage=function(b){var L=b.number,Y=b.data,lt=b.objId,Bt=b.contentsObjId;iA(lt,!0),q("<</Type /Page"),q("/Parent "+b.rootDictionaryObjId+" 0 R"),q("/Resources "+b.resourceDictionaryObjId+" 0 R"),q("/MediaBox ["+parseFloat(z(b.mediaBox.bottomLeftX))+" "+parseFloat(z(b.mediaBox.bottomLeftY))+" "+z(b.mediaBox.topRightX)+" "+z(b.mediaBox.topRightY)+"]"),b.cropBox!==null&&q("/CropBox ["+z(b.cropBox.bottomLeftX)+" "+z(b.cropBox.bottomLeftY)+" "+z(b.cropBox.topRightX)+" "+z(b.cropBox.topRightY)+"]"),b.bleedBox!==null&&q("/BleedBox ["+z(b.bleedBox.bottomLeftX)+" "+z(b.bleedBox.bottomLeftY)+" "+z(b.bleedBox.topRightX)+" "+z(b.bleedBox.topRightY)+"]"),b.trimBox!==null&&q("/TrimBox ["+z(b.trimBox.bottomLeftX)+" "+z(b.trimBox.bottomLeftY)+" "+z(b.trimBox.topRightX)+" "+z(b.trimBox.topRightY)+"]"),b.artBox!==null&&q("/ArtBox ["+z(b.artBox.bottomLeftX)+" "+z(b.artBox.bottomLeftY)+" "+z(b.artBox.topRightX)+" "+z(b.artBox.topRightY)+"]"),typeof b.userUnit=="number"&&b.userUnit!==1&&q("/UserUnit "+b.userUnit),Le.publish("putPage",{objId:lt,pageContext:le[L],pageNumber:L,page:Y}),q("/Contents "+Bt+" 0 R"),q(">>"),q("endobj");var Dt=Y.join(` `);return T===M&&(Dt+=` Q`),iA(Bt,!0),yA({data:Dt,filters:GA(),objectId:Bt}),q("endobj"),lt},Pr=p.__private__.putPages=function(){var b,L,Y=[];for(b=1;b<=de;b++)le[b].objId=Pn(),le[b].contentsObjId=Pn();for(b=1;b<=de;b++)Y.push(es({number:b,data:Xt[b],objId:le[b].objId,contentsObjId:le[b].contentsObjId,mediaBox:le[b].mediaBox,cropBox:le[b].cropBox,bleedBox:le[b].bleedBox,trimBox:le[b].trimBox,artBox:le[b].artBox,userUnit:le[b].userUnit,rootDictionaryObjId:ai,resourceDictionaryObjId:ar}));iA(ai,!0),q("<</Type /Pages");var lt="/Kids [";for(L=0;L<de;L++)lt+=Y[L]+" 0 R ";q(lt+"]"),q("/Count "+de),q(">>"),q("endobj"),Le.publish("postPutPages")},ns=function(b){Le.publish("putFont",{font:b,out:q,newObject:Qn,putStream:yA}),b.isAlreadyPutted!==!0&&(b.objectNumber=Qn(),q("<<"),q("/Type /Font"),q("/BaseFont /"+dl(b.postScriptName)),q("/Subtype /Type1"),typeof b.encoding=="string"&&q("/Encoding /"+b.encoding),q("/FirstChar 32"),q("/LastChar 255"),q(">>"),q("endobj"))},Hs=function(b){b.objectNumber=Qn();var L=[];L.push({key:"Type",value:"/XObject"}),L.push({key:"Subtype",value:"/Form"}),L.push({key:"BBox",value:"["+[z(b.x),z(b.y),z(b.x+b.width),z(b.y+b.height)].join(" ")+"]"}),L.push({key:"Matrix",value:"["+b.matrix.toString()+"]"});var Y=b.pages[1].join(` `);yA({data:Y,additionalKeyValues:L,objectId:b.objectNumber}),q("endobj")},As=function(b,L){L||(L=21);var Y=Qn(),lt=(function(qt,pe){var be,Ne=[],Ke=1/(pe-1);for(be=0;be<1;be+=Ke)Ne.push(be);if(Ne.push(1),qt[0].offset!=0){var De={offset:0,color:qt[0].color};qt.unshift(De)}if(qt[qt.length-1].offset!=1){var Cn={offset:1,color:qt[qt.length-1].color};qt.push(Cn)}for(var Dn="",en=0,Bn=0;Bn<Ne.length;Bn++){for(be=Ne[Bn];be>qt[en+1].offset;)en++;var Ln=qt[en].offset,sA=(be-Ln)/(qt[en+1].offset-Ln),jr=qt[en].color,xA=qt[en+1].color;Dn+=at(Math.round((1-sA)*jr[0]+sA*xA[0]).toString(16))+at(Math.round((1-sA)*jr[1]+sA*xA[1]).toString(16))+at(Math.round((1-sA)*jr[2]+sA*xA[2]).toString(16))}return Dn.trim()})(b.colors,L),Bt=[];Bt.push({key:"FunctionType",value:"0"}),Bt.push({key:"Domain",value:"[0.0 1.0]"}),Bt.push({key:"Size",value:"["+L+"]"}),Bt.push({key:"BitsPerSample",value:"8"}),Bt.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Bt.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),yA({data:lt,additionalKeyValues:Bt,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:Y}),q("endobj"),b.objectNumber=Qn(),q("<< /ShadingType "+b.type),q("/ColorSpace /DeviceRGB");var Dt="/Coords ["+z(parseFloat(b.coords[0]))+" "+z(parseFloat(b.coords[1]))+" ";b.type===2?Dt+=z(parseFloat(b.coords[2]))+" "+z(parseFloat(b.coords[3])):Dt+=z(parseFloat(b.coords[2]))+" "+z(parseFloat(b.coords[3]))+" "+z(parseFloat(b.coords[4]))+" "+z(parseFloat(b.coords[5])),q(Dt+="]"),b.matrix&&q("/Matrix ["+b.matrix.toString()+"]"),q("/Function "+Y+" 0 R"),q("/Extend [true true]"),q(">>"),q("endobj")},Ps=function(b,L){var Y=Pn(),lt=Qn();L.push({resourcesOid:Y,objectOid:lt}),b.objectNumber=lt;var Bt=[];Bt.push({key:"Type",value:"/Pattern"}),Bt.push({key:"PatternType",value:"1"}),Bt.push({key:"PaintType",value:"1"}),Bt.push({key:"TilingType",value:"1"}),Bt.push({key:"BBox",value:"["+b.boundingBox.map(z).join(" ")+"]"}),Bt.push({key:"XStep",value:z(b.xStep)}),Bt.push({key:"YStep",value:z(b.yStep)}),Bt.push({key:"Resources",value:Y+" 0 R"}),b.matrix&&Bt.push({key:"Matrix",value:"["+b.matrix.toString()+"]"}),yA({data:b.stream,additionalKeyValues:Bt,objectId:b.objectNumber}),q("endobj")},Li=function(b){for(var L in b.objectNumber=Qn(),q("<<"),b)switch(L){case"opacity":q("/ca "+N(b[L]));break;case"stroke-opacity":q("/CA "+N(b[L]))}q(">>"),q("endobj")},Ii=function(b){iA(b.resourcesOid,!0),q("<<"),q("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),(function(){for(var L in q("/Font <<"),Yt)Yt.hasOwnProperty(L)&&(h===!1||h===!0&&w.hasOwnProperty(L))&&q("/"+L+" "+Yt[L].objectNumber+" 0 R");q(">>")})(),(function(){if(Object.keys(St).length>0){for(var L in q("/Shading <<"),St)St.hasOwnProperty(L)&&St[L]instanceof ua&&St[L].objectNumber>=0&&q("/"+L+" "+St[L].objectNumber+" 0 R");Le.publish("putShadingPatternDict"),q(">>")}})(),(function(L){if(Object.keys(St).length>0){for(var Y in q("/Pattern <<"),St)St.hasOwnProperty(Y)&&St[Y]instanceof p.TilingPattern&&St[Y].objectNumber>=0&&St[Y].objectNumber<L&&q("/"+Y+" "+St[Y].objectNumber+" 0 R");Le.publish("putTilingPatternDict"),q(">>")}})(b.objectOid),(function(){if(Object.keys(Ot).length>0){var L;for(L in q("/ExtGState <<"),Ot)Ot.hasOwnProperty(L)&&Ot[L].objectNumber>=0&&q("/"+L+" "+Ot[L].objectNumber+" 0 R");Le.publish("putGStateDict"),q(">>")}})(),(function(){for(var L in q("/XObject <<"),qe)qe.hasOwnProperty(L)&&qe[L].objectNumber>=0&&q("/"+L+" "+qe[L].objectNumber+" 0 R");Le.publish("putXobjectDict"),q(">>")})(),q(">>"),q("endobj")},Mo=function(b){Jt[b.fontName]=Jt[b.fontName]||{},Jt[b.fontName][b.fontStyle]=b.id},ja=function(b,L,Y,lt,Bt){var Dt={id:"F"+(Object.keys(Yt).length+1).toString(10),postScriptName:b,fontName:L,fontStyle:Y,encoding:lt,isStandardFont:Bt||!1,metadata:{}};return Le.publish("addFont",{font:Dt,instance:this}),Yt[Dt.id]=Dt,Mo(Dt),Dt.id},IA=p.__private__.pdfEscape=p.pdfEscape=function(b,L){return(function(Y,lt){var Bt,Dt,qt,pe,be,Ne,Ke,De,Cn;if(qt=(lt=lt||{}).sourceEncoding||"Unicode",be=lt.outputEncoding,(lt.autoencode||be)&&Yt[yt].metadata&&Yt[yt].metadata[qt]&&Yt[yt].metadata[qt].encoding&&(pe=Yt[yt].metadata[qt].encoding,!be&&Yt[yt].encoding&&(be=Yt[yt].encoding),!be&&pe.codePages&&(be=pe.codePages[0]),typeof be=="string"&&(be=pe[be]),be)){for(Ke=!1,Ne=[],Bt=0,Dt=Y.length;Bt<Dt;Bt++)(De=be[Y.charCodeAt(Bt)])?Ne.push(String.fromCharCode(De)):Ne.push(Y[Bt]),Ne[Bt].charCodeAt(0)>>8&&(Ke=!0);Y=Ne.join("")}for(Bt=Y.length;Ke===void 0&&Bt!==0;)Y.charCodeAt(Bt-1)>>8&&(Ke=!0),Bt--;if(!Ke)return Y;for(Ne=lt.noBOM?[]:[254,255],Bt=0,Dt=Y.length;Bt<Dt;Bt++){if((Cn=(De=Y.charCodeAt(Bt))>>8)>>8)throw new Error("Character at position "+Bt+" of string '"+Y+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Ne.push(Cn),Ne.push(De-(Cn<<8))}return String.fromCharCode.apply(void 0,Ne)})(b,L).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},ki=p.__private__.beginPage=function(b){Xt[++de]=[],le[de]={objId:0,contentsObjId:0,userUnit:Number(o),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(b[0]),topRightY:Number(b[1])}},Mr(de),fe(Xt[X])},Va=function(b,L){var Y,lt,Bt;switch(n=L||n,typeof b=="string"&&(Y=_(b.toLowerCase()),Array.isArray(Y)&&(lt=Y[0],Bt=Y[1])),Array.isArray(b)&&(lt=b[0]*_t,Bt=b[1]*_t),isNaN(lt)&&(lt=r[0],Bt=r[1]),(lt>14400||Bt>14400)&&(mn.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),lt=Math.min(14400,lt),Bt=Math.min(14400,Bt)),r=[lt,Bt],n.substr(0,1)){case"l":Bt>lt&&(r=[Bt,lt]);break;case"p":lt>Bt&&(r=[Bt,lt])}ki(r),He(Ks),q(Ws),Mi!==0&&q(Mi+" J"),Wo!==0&&q(Wo+" j"),Le.publish("addPage",{pageNumber:de})},Do=function(b){b>0&&b<=de&&(Xt.splice(b,1),le.splice(b,1),de--,X>de&&(X=de),this.setPage(X))},Mr=function(b){b>0&&b<=de&&(X=b)},Ti=p.__private__.getNumberOfPages=p.getNumberOfPages=function(){return Xt.length-1},Ni=function(b,L,Y){var lt,Bt=void 0;return Y=Y||{},b=b!==void 0?b:Yt[yt].fontName,L=L!==void 0?L:Yt[yt].fontStyle,lt=b.toLowerCase(),Jt[lt]!==void 0&&Jt[lt][L]!==void 0?Bt=Jt[lt][L]:Jt[b]!==void 0&&Jt[b][L]!==void 0?Bt=Jt[b][L]:Y.disableWarning===!1&&mn.warn("Unable to look up font label for font '"+b+"', '"+L+"'. Refer to getFontList() for available fonts."),Bt||Y.noFallback||(Bt=Jt.times[L])==null&&(Bt=Jt.times.normal),Bt},Ie=p.__private__.putInfo=function(){var b=Qn(),L=function(lt){return lt};for(var Y in u!==null&&(L=Sn.encryptor(b,0)),q("<<"),q("/Producer ("+IA(L("jsPDF "+Fe.version))+")"),Ct)Ct.hasOwnProperty(Y)&&Ct[Y]&&q("/"+Y.substr(0,1).toUpperCase()+Y.substr(1)+" ("+IA(L(Ct[Y]))+")");q("/CreationDate ("+IA(L(pt))+")"),q(">>"),q("endobj")},Wn=p.__private__.putCatalog=function(b){var L=(b=b||{}).rootDictionaryObjId||ai;switch(Qn(),q("<<"),q("/Type /Catalog"),q("/Pages "+L+" 0 R"),Ee||(Ee="fullwidth"),Ee){case"fullwidth":q("/OpenAction [3 0 R /FitH null]");break;case"fullheight":q("/OpenAction [3 0 R /FitV null]");break;case"fullpage":q("/OpenAction [3 0 R /Fit]");break;case"original":q("/OpenAction [3 0 R /XYZ null null 1]");break;default:var Y=""+Ee;Y.substr(Y.length-1)==="%"&&(Ee=parseInt(Ee)/100),typeof Ee=="number"&&q("/OpenAction [3 0 R /XYZ null null "+N(Ee)+"]")}switch(k||(k="continuous"),k){case"continuous":q("/PageLayout /OneColumn");break;case"single":q("/PageLayout /SinglePage");break;case"two":case"twoleft":q("/PageLayout /TwoColumnLeft");break;case"tworight":q("/PageLayout /TwoColumnRight")}ge&&q("/PageMode /"+ge),Le.publish("putCatalog"),q(">>"),q("endobj")},Wl=p.__private__.putTrailer=function(){q("trailer"),q("<<"),q("/Size "+(ct+1)),q("/Root "+ct+" 0 R"),q("/Info "+(ct-1)+" 0 R"),u!==null&&q("/Encrypt "+Sn.oid+" 0 R"),q("/ID [ <"+gt+"> <"+gt+"> ]"),q(">>")},Mn=p.__private__.putHeader=function(){q("%PDF-"+y),q("%ยบรยฌร ")},Wa=p.__private__.putXRef=function(){var b="0000000000";q("xref"),q("0 "+(ct+1)),q("0000000000 65535 f ");for(var L=1;L<=ct;L++)typeof bt[L]=="function"?q((b+bt[L]()).slice(-10)+" 00000 n "):bt[L]!==void 0?q((b+bt[L]).slice(-10)+" 00000 n "):q("0000000000 00000 n ")},yr=p.__private__.buildDocument=function(){var b;ct=0,Tt=0,It=[],bt=[],Kt=[],ai=Pn(),ar=Pn(),fe(It),Le.publish("buildDocument"),Mn(),Pr(),(function(){Le.publish("putAdditionalObjects");for(var Y=0;Y<Kt.length;Y++){var lt=Kt[Y];iA(lt.objId,!0),q(lt.content),q("endobj")}Le.publish("postPutAdditionalObjects")})(),b=[],(function(){for(var Y in Yt)Yt.hasOwnProperty(Y)&&(h===!1||h===!0&&w.hasOwnProperty(Y))&&ns(Yt[Y])})(),(function(){var Y;for(Y in Ot)Ot.hasOwnProperty(Y)&&Li(Ot[Y])})(),(function(){for(var Y in qe)qe.hasOwnProperty(Y)&&Hs(qe[Y])})(),(function(Y){var lt;for(lt in St)St.hasOwnProperty(lt)&&(St[lt]instanceof ua?As(St[lt]):St[lt]instanceof gl&&Ps(St[lt],Y))})(b),Le.publish("putResources"),b.forEach(Ii),Ii({resourcesOid:ar,objectOid:Number.MAX_SAFE_INTEGER}),Le.publish("postPutResources"),u!==null&&(Sn.oid=Qn(),q("<<"),q("/Filter /Standard"),q("/V "+Sn.v),q("/R "+Sn.r),q("/U <"+Sn.toHexString(Sn.U)+">"),q("/O <"+Sn.toHexString(Sn.O)+">"),q("/P "+Sn.P),q(">>"),q("endobj")),Ie(),Wn();var L=Tt;return Wa(),Wl(),q("startxref"),q(""+L),q("%%EOF"),fe(Xt[X]),It.join(` `)},rs=p.__private__.getBlob=function(b){return new Blob([Re(b)],{type:"application/pdf"})},Oi=p.output=p.__private__.output=(LA=function(b,L){switch(typeof(L=L||{})=="string"?L={filename:L}:L.filename=L.filename||"generated.pdf",b){case void 0:return yr();case"save":p.save(L.filename);break;case"arraybuffer":return Re(yr());case"blob":return rs(yr());case"bloburi":case"bloburl":if(Me.URL!==void 0&&typeof Me.URL.createObjectURL=="function")return Me.URL&&Me.URL.createObjectURL(rs(yr()))||void 0;mn.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var Y="",lt=yr();try{Y=N2(lt)}catch{Y=N2(unescape(encodeURIComponent(lt)))}return"data:application/pdf;filename="+L.filename+";base64,"+Y;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Me)==="[object Window]"){var Bt="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",Dt=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';L.pdfObjectUrl&&(Bt=L.pdfObjectUrl,Dt="");var qt='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+Bt+'"'+Dt+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(L)+");<\/script></body></html>",pe=Me.open();return pe!==null&&pe.document.write(qt),pe}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(Me)==="[object Window]"){var be='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(L.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+L.filename+'" width="500px" height="400px" /></body></html>',Ne=Me.open();if(Ne!==null){Ne.document.write(be);var Ke=this;Ne.document.documentElement.querySelector("#pdfViewer").onload=function(){Ne.document.title=L.filename,Ne.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(Ke.output("bloburl"))}}return Ne}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(Me)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var De='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",L)+'"></iframe></body></html>',Cn=Me.open();if(Cn!==null&&(Cn.document.write(De),Cn.document.title=L.filename),Cn||typeof safari>"u")return Cn;break;case"datauri":case"dataurl":return Me.document.location.href=this.output("datauristring",L);default:return null}},LA.foo=function(){try{return LA.apply(this,arguments)}catch(Y){var b=Y.stack||"";~b.indexOf(" at ")&&(b=b.split(" at ")[1]);var L="Error in function "+b.split(` `)[0].split("<")[0]+": "+Y.message;if(!Me.console)throw new Error(L);Me.console.error(L,Y),Me.alert&&alert(L)}},LA.foo.bar=LA,LA.foo),qn=function(b){return Array.isArray(cn)===!0&&cn.indexOf(b)>-1};switch(A){case"pt":_t=1;break;case"mm":_t=72/25.4;break;case"cm":_t=72/2.54;break;case"in":_t=72;break;case"px":_t=qn("px_scaling")==1?.75:96/72;break;case"pc":case"em":_t=12;break;case"ex":_t=6;break;default:if(typeof A!="number")throw new Error("Invalid unit: "+A);_t=A}var Sn=null;Ht(),ht();var li=p.__private__.getPageInfo=p.getPageInfo=function(b){if(isNaN(b)||b%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:le[b].objId,pageNumber:b,pageContext:le[b]}},qa=p.__private__.getPageInfoByObjId=function(b){if(isNaN(b)||b%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var L in le)if(le[L].objId===b)break;return li(L)},Ms=p.__private__.getCurrentPageInfo=p.getCurrentPageInfo=function(){return{objId:le[X].objId,pageNumber:X,pageContext:le[X]}};p.addPage=function(){return Va.apply(this,arguments),this},p.setPage=function(){return Mr.apply(this,arguments),fe.call(this,Xt[X]),this},p.insertPage=function(b){return this.addPage(),this.movePage(X,b),this},p.movePage=function(b,L){var Y,lt;if(b>L){Y=Xt[b],lt=le[b];for(var Bt=b;Bt>L;Bt--)Xt[Bt]=Xt[Bt-1],le[Bt]=le[Bt-1];Xt[L]=Y,le[L]=lt,this.setPage(L)}else if(b<L){Y=Xt[b],lt=le[b];for(var Dt=b;Dt<L;Dt++)Xt[Dt]=Xt[Dt+1],le[Dt]=le[Dt+1];Xt[L]=Y,le[L]=lt,this.setPage(L)}return this},p.deletePage=function(){return Do.apply(this,arguments),this},p.__private__.text=p.text=function(b,L,Y,lt,Bt){var Dt,qt,pe,be,Ne,Ke,De,Cn,Dn,en=(lt=lt||{}).scope||this;if(typeof b=="number"&&typeof L=="number"&&(typeof Y=="string"||Array.isArray(Y))){var Bn=Y;Y=L,L=b,b=Bn}if(arguments[3]instanceof Qe==0?(pe=arguments[4],be=arguments[5],pn(De=arguments[3])==="object"&&De!==null||(typeof pe=="string"&&(be=pe,pe=null),typeof De=="string"&&(be=De,De=null),typeof De=="number"&&(pe=De,De=null),lt={flags:De,angle:pe,align:be})):(H("The transform parameter of text() with a Matrix value"),Dn=Bt),isNaN(L)||isNaN(Y)||b==null)throw new Error("Invalid arguments passed to jsPDF.text");if(b.length===0)return en;var Ln,sA="",jr=typeof lt.lineHeightFactor=="number"?lt.lineHeightFactor:ss,xA=en.internal.scaleFactor;function Vr(Ae){return Ae=Ae.split(" ").join(Array(lt.TabLen||9).join(" ")),IA(Ae,De)}function as(Ae){for(var Te,Pe=Ae.concat(),nn=[],bn=Pe.length;bn--;)typeof(Te=Pe.shift())=="string"?nn.push(Te):Array.isArray(Ae)&&(Te.length===1||Te[1]===void 0&&Te[2]===void 0)?nn.push(Te[0]):nn.push([Te[0],Te[1],Te[2]]);return nn}function $s(Ae,Te){var Pe;if(typeof Ae=="string")Pe=Te(Ae)[0];else if(Array.isArray(Ae)){for(var nn,bn,Xe=Ae.concat(),gi=[],Ye=Xe.length;Ye--;)typeof(nn=Xe.shift())=="string"?gi.push(Te(nn)[0]):Array.isArray(nn)&&typeof nn[0]=="string"&&(bn=Te(nn[0],nn[1],nn[2]),gi.push([bn[0],bn[1],bn[2]]));Pe=gi}return Pe}var fi=!1,ls=!0;if(typeof b=="string")fi=!0;else if(Array.isArray(b)){var cs=b.concat();qt=[];for(var Wr,cA=cs.length;cA--;)(typeof(Wr=cs.shift())!="string"||Array.isArray(Wr)&&typeof Wr[0]!="string")&&(ls=!1);fi=ls}if(fi===!1)throw new Error('Type of text must be string or Array. "'+b+'" is not recognized.');typeof b=="string"&&(b=b.match(/[\r?\n]/)?b.split(/\r\n|\r|\n/g):[b]);var us=Gt/en.internal.scaleFactor,fs=us*(jr-1);switch(lt.baseline){case"bottom":Y-=fs;break;case"top":Y+=us-fs;break;case"hanging":Y+=us-2*fs;break;case"middle":Y+=us/2-fs}if((Ke=lt.maxWidth||0)>0&&(typeof b=="string"?b=en.splitTextToSize(b,Ke):Object.prototype.toString.call(b)==="[object Array]"&&(b=b.reduce(function(Ae,Te){return Ae.concat(en.splitTextToSize(Te,Ke))},[]))),Dt={text:b,x:L,y:Y,options:lt,mutex:{pdfEscape:IA,activeFontKey:yt,fonts:Yt,activeFontSize:Gt}},Le.publish("preProcessText",Dt),b=Dt.text,pe=(lt=Dt.options).angle,Dn instanceof Qe==0&&pe&&typeof pe=="number"){pe*=Math.PI/180,lt.rotationDirection===0&&(pe=-pe),T===M&&(pe=-pe);var $o=Math.cos(pe),Yo=Math.sin(pe);Dn=new Qe($o,Yo,-Yo,$o,0,0)}else pe&&pe instanceof Qe&&(Dn=pe);T!==M||Dn||(Dn=sr),(Ne=lt.charSpace||ci)!==void 0&&(sA+=z(et(Ne))+` Tc `,this.setCharSpace(this.getCharSpace()||0)),(Cn=lt.horizontalScale)!==void 0&&(sA+=z(100*Cn)+` Tz `),lt.lang;var CA=-1,hi=lt.renderingMode!==void 0?lt.renderingMode:lt.stroke,hs=en.internal.getCurrentPageInfo().pageContext;switch(hi){case 0:case!1:case"fill":CA=0;break;case 1:case!0:case"stroke":CA=1;break;case 2:case"fillThenStroke":CA=2;break;case 3:case"invisible":CA=3;break;case 4:case"fillAndAddForClipping":CA=4;break;case 5:case"strokeAndAddPathForClipping":CA=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":CA=6;break;case 7:case"addToPathForClipping":CA=7}var Ys=hs.usedRenderingMode!==void 0?hs.usedRenderingMode:-1;CA!==-1?sA+=CA+` Tr `:Ys!==-1&&(sA+=`0 Tr `),CA!==-1&&(hs.usedRenderingMode=CA),be=lt.align||"left";var $A,di=Gt*jr,Js=en.internal.pageSize.getWidth(),Zs=Yt[yt];Ne=lt.charSpace||ci,Ke=lt.maxWidth||0,De=Object.assign({autoencode:!0,noBOM:!0},lt.flags);var qr=[],ds=function(Ae){return en.getStringUnitWidth(Ae,{font:Zs,charSpace:Ne,fontSize:Gt,doKerning:!1})*Gt/xA};if(Object.prototype.toString.call(b)==="[object Array]"){var YA;qt=as(b),be!=="left"&&($A=qt.map(ds));var JA,pi=0;if(be==="right"){L-=$A[0],b=[],cA=qt.length;for(var zr=0;zr<cA;zr++)zr===0?(JA=kA(L),YA=TA(Y)):(JA=et(pi-$A[zr]),YA=-di),b.push([qt[zr],JA,YA]),pi=$A[zr]}else if(be==="center"){L-=$A[0]/2,b=[],cA=qt.length;for(var Gr=0;Gr<cA;Gr++)Gr===0?(JA=kA(L),YA=TA(Y)):(JA=et((pi-$A[Gr])/2),YA=-di),b.push([qt[Gr],JA,YA]),pi=$A[Gr]}else if(be==="left"){b=[],cA=qt.length;for(var Jo=0;Jo<cA;Jo++)b.push(qt[Jo])}else if(be==="justify"&&Zs.encoding==="Identity-H"){b=[],cA=qt.length,Ke=Ke!==0?Ke:Js;for(var to=0,c=0;c<cA;c++)if(YA=c===0?TA(Y):-di,JA=c===0?kA(L):to,c<cA-1){var d=et((Ke-$A[c])/(qt[c].split(" ").length-1)),m=qt[c].split(" ");b.push([m[0]+" ",JA,YA]),to=0;for(var x=1;x<m.length;x++){var U=(ds(m[x-1]+" "+m[x])-ds(m[x]))*xA+d;x==m.length-1?b.push([m[x],U,0]):b.push([m[x]+" ",U,0]),to-=U}}else b.push([qt[c],JA,YA]);b.push(["",to,0])}else{if(be!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(b=[],cA=qt.length,Ke=Ke!==0?Ke:Js,c=0;c<cA;c++){YA=c===0?TA(Y):-di,JA=c===0?kA(L):0;var Q=qt[c].split(" ").length-1,D=Q>0?(Ke-$A[c])/Q:0;c<cA-1?qr.push(z(et(D))):qr.push(0),b.push([qt[c],JA,YA])}}}(typeof lt.R2L=="boolean"?lt.R2L:ve)===!0&&(b=$s(b,function(Ae,Te,Pe){return[Ae.split("").reverse().join(""),Te,Pe]})),Dt={text:b,x:L,y:Y,options:lt,mutex:{pdfEscape:IA,activeFontKey:yt,fonts:Yt,activeFontSize:Gt}},Le.publish("postProcessText",Dt),b=Dt.text,Ln=Dt.mutex.isHex||!1;var st=Yt[yt].encoding;st!=="WinAnsiEncoding"&&st!=="StandardEncoding"||(b=$s(b,function(Ae,Te,Pe){return[Vr(Ae),Te,Pe]})),qt=as(b),b=[];for(var J,ft,vt,kt=Array.isArray(qt[0])?1:0,wt="",Qt=function(Ae,Te,Pe){var nn="";return Pe instanceof Qe?(Pe=typeof lt.angle=="number"?oi(Pe,new Qe(1,0,0,1,Ae,Te)):oi(new Qe(1,0,0,1,Ae,Te),Pe),T===M&&(Pe=oi(new Qe(1,0,0,-1,0,0),Pe)),nn=Pe.join(" ")+` Tm `):nn=z(Ae)+" "+z(Te)+` Td `,nn},ne=0;ne<qt.length;ne++){switch(wt="",kt){case 1:vt=(Ln?"<":"(")+qt[ne][0]+(Ln?">":")"),J=parseFloat(qt[ne][1]),ft=parseFloat(qt[ne][2]);break;case 0:vt=(Ln?"<":"(")+qt[ne]+(Ln?">":")"),J=kA(L),ft=TA(Y)}qr!==void 0&&qr[ne]!==void 0&&(wt=qr[ne]+` Tw `),ne===0?b.push(wt+Qt(J,ft,Dn)+vt):kt===0?b.push(wt+vt):kt===1&&b.push(wt+Qt(J,ft,Dn)+vt)}b=kt===0?b.join(` Tj T* `):b.join(` Tj `),b+=` Tj `;var Ue=`BT /`;return Ue+=yt+" "+Gt+` Tf `,Ue+=z(Gt*jr)+` TL `,Ue+=Pi+` `,Ue+=sA,Ue+=b,q(Ue+="ET"),w[yt]=!0,en};var za=p.__private__.clip=p.clip=function(b){return q(b==="evenodd"?"W*":"W"),this};p.clipEvenOdd=function(){return za("evenodd")},p.__private__.discardPath=p.discardPath=function(){return q("n"),this};var Dr=p.__private__.isValidStyle=function(b){var L=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(b)!==-1&&(L=!0),L};p.__private__.setDefaultPathOperation=p.setDefaultPathOperation=function(b){return Dr(b)&&(l=b),this};var Ds=p.__private__.getStyle=p.getStyle=function(b){var L=l;switch(b){case"D":case"S":L="S";break;case"F":L="f";break;case"FD":case"DF":L="B";break;case"f":case"f*":case"B":case"B*":L=b}return L},Ro=p.close=function(){return q("h"),this};p.stroke=function(){return q("S"),this},p.fill=function(b){return Rs("f",b),this},p.fillEvenOdd=function(b){return Rs("f*",b),this},p.fillStroke=function(b){return Rs("B",b),this},p.fillStrokeEvenOdd=function(b){return Rs("B*",b),this};var Rs=function(b,L){pn(L)==="object"?ql(L,b):q(b)},cr=function(b){b===null||T===M&&b===void 0||(b=Ds(b),q(b))};function is(b,L,Y,lt,Bt){var Dt=new gl(L||this.boundingBox,Y||this.xStep,lt||this.yStep,this.gState,Bt||this.matrix);Dt.stream=this.stream;var qt=b+"$$"+this.cloneIndex+++"$$";return SA(qt,Dt),Dt}var ql=function(b,L){var Y=Zt[b.key],lt=St[Y];if(lt instanceof ua)q("q"),q(Ga(L)),lt.gState&&p.setGState(lt.gState),q(b.matrix.toString()+" cm"),q("/"+Y+" sh"),q("Q");else if(lt instanceof gl){var Bt=new Qe(1,0,0,-1,0,Ri());b.matrix&&(Bt=Bt.multiply(b.matrix||sr),Y=is.call(lt,b.key,b.boundingBox,b.xStep,b.yStep,Bt).id),q("q"),q("/Pattern cs"),q("/"+Y+" scn"),lt.gState&&p.setGState(lt.gState),q(L),q("Q")}},Ga=function(b){switch(b){case"f":case"F":case"n":return"W n";case"f*":return"W* n";case"B":case"S":return"W S";case"B*":return"W* S"}},XA=p.moveTo=function(b,L){return q(z(et(b))+" "+z(At(L))+" m"),this},lA=p.lineTo=function(b,L){return q(z(et(b))+" "+z(At(L))+" l"),this},ur=p.curveTo=function(b,L,Y,lt,Bt,Dt){return q([z(et(b)),z(At(L)),z(et(Y)),z(At(lt)),z(et(Bt)),z(At(Dt)),"c"].join(" ")),this};p.__private__.line=p.line=function(b,L,Y,lt,Bt){if(isNaN(b)||isNaN(L)||isNaN(Y)||isNaN(lt)||!Dr(Bt))throw new Error("Invalid arguments passed to jsPDF.line");return T===S?this.lines([[Y-b,lt-L]],b,L,[1,1],Bt||"S"):this.lines([[Y-b,lt-L]],b,L,[1,1]).stroke()},p.__private__.lines=p.lines=function(b,L,Y,lt,Bt,Dt){var qt,pe,be,Ne,Ke,De,Cn,Dn,en,Bn,Ln,sA;if(typeof b=="number"&&(sA=Y,Y=L,L=b,b=sA),lt=lt||[1,1],Dt=Dt||!1,isNaN(L)||isNaN(Y)||!Array.isArray(b)||!Array.isArray(lt)||!Dr(Bt)||typeof Dt!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(XA(L,Y),qt=lt[0],pe=lt[1],Ne=b.length,Bn=L,Ln=Y,be=0;be<Ne;be++)(Ke=b[be]).length===2?(Bn=Ke[0]*qt+Bn,Ln=Ke[1]*pe+Ln,lA(Bn,Ln)):(De=Ke[0]*qt+Bn,Cn=Ke[1]*pe+Ln,Dn=Ke[2]*qt+Bn,en=Ke[3]*pe+Ln,Bn=Ke[4]*qt+Bn,Ln=Ke[5]*pe+Ln,ur(De,Cn,Dn,en,Bn,Ln));return Dt&&Ro(),cr(Bt),this},p.path=function(b){for(var L=0;L<b.length;L++){var Y=b[L],lt=Y.c;switch(Y.op){case"m":XA(lt[0],lt[1]);break;case"l":lA(lt[0],lt[1]);break;case"c":ur.apply(this,lt);break;case"h":Ro()}}return this},p.__private__.rect=p.rect=function(b,L,Y,lt,Bt){if(isNaN(b)||isNaN(L)||isNaN(Y)||isNaN(lt)||!Dr(Bt))throw new Error("Invalid arguments passed to jsPDF.rect");return T===S&&(lt=-lt),q([z(et(b)),z(At(L)),z(et(Y)),z(et(lt)),"re"].join(" ")),cr(Bt),this},p.__private__.triangle=p.triangle=function(b,L,Y,lt,Bt,Dt,qt){if(isNaN(b)||isNaN(L)||isNaN(Y)||isNaN(lt)||isNaN(Bt)||isNaN(Dt)||!Dr(qt))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[Y-b,lt-L],[Bt-Y,Dt-lt],[b-Bt,L-Dt]],b,L,[1,1],qt,!0),this},p.__private__.roundedRect=p.roundedRect=function(b,L,Y,lt,Bt,Dt,qt){if(isNaN(b)||isNaN(L)||isNaN(Y)||isNaN(lt)||isNaN(Bt)||isNaN(Dt)||!Dr(qt))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var pe=4/3*(Math.SQRT2-1);return Bt=Math.min(Bt,.5*Y),Dt=Math.min(Dt,.5*lt),this.lines([[Y-2*Bt,0],[Bt*pe,0,Bt,Dt-Dt*pe,Bt,Dt],[0,lt-2*Dt],[0,Dt*pe,-Bt*pe,Dt,-Bt,Dt],[2*Bt-Y,0],[-Bt*pe,0,-Bt,-Dt*pe,-Bt,-Dt],[0,2*Dt-lt],[0,-Dt*pe,Bt*pe,-Dt,Bt,-Dt]],b+Bt,L,[1,1],qt,!0),this},p.__private__.ellipse=p.ellipse=function(b,L,Y,lt,Bt){if(isNaN(b)||isNaN(L)||isNaN(Y)||isNaN(lt)||!Dr(Bt))throw new Error("Invalid arguments passed to jsPDF.ellipse");var Dt=4/3*(Math.SQRT2-1)*Y,qt=4/3*(Math.SQRT2-1)*lt;return XA(b+Y,L),ur(b+Y,L-qt,b+Dt,L-lt,b,L-lt),ur(b-Dt,L-lt,b-Y,L-qt,b-Y,L),ur(b-Y,L+qt,b-Dt,L+lt,b,L+lt),ur(b+Dt,L+lt,b+Y,L+qt,b+Y,L),cr(Bt),this},p.__private__.circle=p.circle=function(b,L,Y,lt){if(isNaN(b)||isNaN(L)||isNaN(Y)||!Dr(lt))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(b,L,Y,Y,lt)},p.setFont=function(b,L,Y){return Y&&(L=G(L,Y)),yt=Ni(b,L,{disableWarning:!1}),this};var Ko=p.__private__.getFont=p.getFont=function(){return Yt[Ni.apply(p,arguments)]};p.__private__.getFontList=p.getFontList=function(){var b,L,Y={};for(b in Jt)if(Jt.hasOwnProperty(b))for(L in Y[b]=[],Jt[b])Jt[b].hasOwnProperty(L)&&Y[b].push(L);return Y},p.addFont=function(b,L,Y,lt,Bt){var Dt=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&Dt.indexOf(arguments[3])!==-1?Bt=arguments[3]:arguments[3]&&Dt.indexOf(arguments[3])==-1&&(Y=G(Y,lt)),ja.call(this,b,L,Y,Bt=Bt||"Identity-H")};var ss,Ks=e.lineWidth||.200025,zl=p.__private__.getLineWidth=p.getLineWidth=function(){return Ks},He=p.__private__.setLineWidth=p.setLineWidth=function(b){return Ks=b,q(z(et(b))+" w"),this};p.__private__.setLineDash=Fe.API.setLineDash=Fe.API.setLineDashPattern=function(b,L){if(b=b||[],L=L||0,isNaN(L)||!Array.isArray(b))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return b=b.map(function(Y){return z(et(Y))}).join(" "),L=z(et(L)),q("["+b+"] "+L+" d"),this};var Hi=p.__private__.getLineHeight=p.getLineHeight=function(){return Gt*ss};p.__private__.getLineHeight=p.getLineHeight=function(){return Gt*ss};var js=p.__private__.setLineHeightFactor=p.setLineHeightFactor=function(b){return typeof(b=b||1.15)=="number"&&(ss=b),this},Xa=p.__private__.getLineHeightFactor=p.getLineHeightFactor=function(){return ss};js(e.lineHeight);var kA=p.__private__.getHorizontalCoordinate=function(b){return et(b)},TA=p.__private__.getVerticalCoordinate=function(b){return T===M?b:le[X].mediaBox.topRightY-le[X].mediaBox.bottomLeftY-et(b)},jo=p.__private__.getHorizontalCoordinateString=p.getHorizontalCoordinateString=function(b){return z(kA(b))},Vs=p.__private__.getVerticalCoordinateString=p.getVerticalCoordinateString=function(b){return z(TA(b))},Ws=e.strokeColor||"0 G";p.__private__.getStrokeColor=p.getDrawColor=function(){return vr(Ws)},p.__private__.setStrokeColor=p.setDrawColor=function(b,L,Y,lt){return Ws=lr({ch1:b,ch2:L,ch3:Y,ch4:lt,pdfColorType:"draw",precision:2}),q(Ws),this};var qs=e.fillColor||"0 g";p.__private__.getFillColor=p.getFillColor=function(){return vr(qs)},p.__private__.setFillColor=p.setFillColor=function(b,L,Y,lt){return qs=lr({ch1:b,ch2:L,ch3:Y,ch4:lt,pdfColorType:"fill",precision:2}),q(qs),this};var Pi=e.textColor||"0 g",$a=p.__private__.getTextColor=p.getTextColor=function(){return vr(Pi)};p.__private__.setTextColor=p.setTextColor=function(b,L,Y,lt){return Pi=lr({ch1:b,ch2:L,ch3:Y,ch4:lt,pdfColorType:"text",precision:3}),this};var ci=e.charSpace,Vo=p.__private__.getCharSpace=p.getCharSpace=function(){return parseFloat(ci||0)};p.__private__.setCharSpace=p.setCharSpace=function(b){if(isNaN(b))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return ci=b,this};var Mi=0;p.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},p.__private__.setLineCap=p.setLineCap=function(b){var L=p.CapJoinStyles[b];if(L===void 0)throw new Error("Line cap style of '"+b+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Mi=L,q(L+" J"),this};var Wo=0;p.__private__.setLineJoin=p.setLineJoin=function(b){var L=p.CapJoinStyles[b];if(L===void 0)throw new Error("Line join style of '"+b+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Wo=L,q(L+" j"),this},p.__private__.setLineMiterLimit=p.__private__.setMiterLimit=p.setLineMiterLimit=p.setMiterLimit=function(b){if(b=b||0,isNaN(b))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return q(z(et(b))+" M"),this},p.GState=xh,p.setGState=function(b){(b=typeof b=="string"?Ot[Wt[b]]:qo(null,b)).equals(ee)||(q("/"+b.id+" gs"),ee=b)};var qo=function(b,L){if(!b||!Wt[b]){var Y=!1;for(var lt in Ot)if(Ot.hasOwnProperty(lt)&&Ot[lt].equals(L)){Y=!0;break}if(Y)L=Ot[lt];else{var Bt="GS"+(Object.keys(Ot).length+1).toString(10);Ot[Bt]=L,L.id=Bt}return b&&(Wt[b]=L.id),Le.publish("addGState",L),L}};p.addGState=function(b,L){return qo(b,L),this},p.saveGraphicsState=function(){return q("q"),Be.push({key:yt,size:Gt,color:Pi}),this},p.restoreGraphicsState=function(){q("Q");var b=Be.pop();return yt=b.key,Gt=b.size,Pi=b.color,ee=null,this},p.setCurrentTransformationMatrix=function(b){return q(b.toString()+" cm"),this},p.comment=function(b){return q("#"+b),this};var Rr=function(b,L){var Y=b||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Y},set:function(Dt){isNaN(Dt)||(Y=parseFloat(Dt))}});var lt=L||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return lt},set:function(Dt){isNaN(Dt)||(lt=parseFloat(Dt))}});var Bt="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return Bt},set:function(Dt){Bt=Dt.toString()}}),this},zs=function(b,L,Y,lt){Rr.call(this,b,L),this.type="rect";var Bt=Y||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return Bt},set:function(qt){isNaN(qt)||(Bt=parseFloat(qt))}});var Dt=lt||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return Dt},set:function(qt){isNaN(qt)||(Dt=parseFloat(qt))}}),this},Gs=function(){this.page=de,this.currentPage=X,this.pages=Xt.slice(0),this.pagesContext=le.slice(0),this.x=Nt,this.y=re,this.matrix=te,this.width=Xs(X),this.height=zo(X),this.outputDestination=ie,this.id="",this.objectNumber=-1};Gs.prototype.restore=function(){de=this.page,X=this.currentPage,le=this.pagesContext,Xt=this.pages,Nt=this.x,re=this.y,te=this.matrix,xr(X,this.width),ui(X,this.height),ie=this.outputDestination};var os=function(b,L,Y,lt,Bt){wA.push(new Gs),de=X=0,Xt=[],Nt=b,re=L,te=Bt,ki([Y,lt])};for(var Di in p.beginFormObject=function(b,L,Y,lt,Bt){return os(b,L,Y,lt,Bt),this},p.endFormObject=function(b){return(function(L){if(aA[L])wA.pop().restore();else{var Y=new Gs,lt="Xo"+(Object.keys(qe).length+1).toString(10);Y.id=lt,aA[L]=lt,qe[lt]=Y,Le.publish("addFormObject",Y),wA.pop().restore()}})(b),this},p.doFormObject=function(b,L){var Y=qe[aA[b]];return q("q"),q(L.toString()+" cm"),q("/"+Y.id+" Do"),q("Q"),this},p.getFormObject=function(b){var L=qe[aA[b]];return{x:L.x,y:L.y,width:L.width,height:L.height,matrix:L.matrix}},p.save=function(b,L){return b=b||"generated.pdf",(L=L||{}).returnPromise=L.returnPromise||!1,L.returnPromise===!1?(oa(rs(yr()),b),typeof oa.unload=="function"&&Me.setTimeout&&setTimeout(oa.unload,911),this):new Promise(function(Y,lt){try{var Bt=oa(rs(yr()),b);typeof oa.unload=="function"&&Me.setTimeout&&setTimeout(oa.unload,911),Y(Bt)}catch(Dt){lt(Dt.message)}})},Fe.API)Fe.API.hasOwnProperty(Di)&&(Di==="events"&&Fe.API.events.length?(function(b,L){var Y,lt,Bt;for(Bt=L.length-1;Bt!==-1;Bt--)Y=L[Bt][0],lt=L[Bt][1],b.subscribe.apply(b,[Y].concat(typeof lt=="function"?[lt]:lt))})(Le,Fe.API.events):p[Di]=Fe.API[Di]);function Xs(b){return le[b].mediaBox.topRightX-le[b].mediaBox.bottomLeftX}function xr(b,L){le[b].mediaBox.topRightX=L+le[b].mediaBox.bottomLeftX}function zo(b){return le[b].mediaBox.topRightY-le[b].mediaBox.bottomLeftY}function ui(b,L){le[b].mediaBox.topRightY=L+le[b].mediaBox.bottomLeftY}var Kr=p.getPageWidth=function(b){return Xs(b=b||X)/_t},Go=p.setPageWidth=function(b,L){xr(b,L*_t)},Ri=p.getPageHeight=function(b){return zo(b=b||X)/_t},Xo=p.setPageHeight=function(b,L){ui(b,L*_t)};return p.internal={pdfEscape:IA,getStyle:Ds,getFont:Ko,getFontSize:he,getCharSpace:Vo,getTextColor:$a,getLineHeight:Hi,getLineHeightFactor:Xa,getLineWidth:zl,write:se,getHorizontalCoordinate:kA,getVerticalCoordinate:TA,getCoordinateString:jo,getVerticalCoordinateString:Vs,collections:{},newObject:Qn,newAdditionalObject:or,newObjectDeferred:Pn,newObjectDeferredBegin:iA,getFilters:GA,putStream:yA,events:Le,scaleFactor:_t,pageSize:{getWidth:function(){return Kr(X)},setWidth:function(b){Go(X,b)},getHeight:function(){return Ri(X)},setHeight:function(b){Xo(X,b)}},encryptionOptions:u,encryption:Sn,getEncryptor:function(b){return u!==null?Sn.encryptor(b,0):function(L){return L}},output:Oi,getNumberOfPages:Ti,get pages(){return Xt},out:q,f2:N,f3:K,getPageInfo:li,getPageInfoByObjId:qa,getCurrentPageInfo:Ms,getPDFVersion:v,Point:Rr,Rectangle:zs,Matrix:Qe,hasHotfix:qn},Object.defineProperty(p.internal.pageSize,"width",{get:function(){return Kr(X)},set:function(b){Go(X,b)},enumerable:!0,configurable:!0}),Object.defineProperty(p.internal.pageSize,"height",{get:function(){return Ri(X)},set:function(b){Xo(X,b)},enumerable:!0,configurable:!0}),(function(b){for(var L=0,Y=Se.length;L<Y;L++){var lt=ja.call(this,b[L][0],b[L][1],b[L][2],Se[L][3],!0);h===!1&&(w[lt]=!0);var Bt=b[L][0].split("-");Mo({id:lt,fontName:Bt[0],fontStyle:Bt[1]||""})}Le.publish("addFonts",{fonts:Yt,dictionary:Jt})}).call(p,Se),yt="F1",Va(r,n),Le.publish("initialized"),p}hl.prototype.lsbFirstWord=function(e){return String.fromCharCode(255&e,e>>8&255,e>>16&255,e>>24&255)},hl.prototype.toHexString=function(e){return e.split("").map(function(t){return("0"+(255&t.charCodeAt(0)).toString(16)).slice(-2)}).join("")},hl.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("")},hl.prototype.processOwnerPassword=function(e,t){return qg(Wg(t).substr(0,5),e)},hl.prototype.encryptor=function(e,t){var n=Wg(this.encryptionKey+String.fromCharCode(255&e,e>>8&255,e>>16&255,255&t,t>>8&255)).substr(0,10);return function(A){return qg(n,A)}},xh.prototype.equals=function(e){var t,n="id,objectNumber,equals";if(!e||pn(e)!==pn(this))return!1;var A=0;for(t in this)if(!(n.indexOf(t)>=0)){if(this.hasOwnProperty(t)&&!e.hasOwnProperty(t)||this[t]!==e[t])return!1;A++}for(t in e)e.hasOwnProperty(t)&&n.indexOf(t)<0&&A--;return A===0},Fe.API={events:[]},Fe.version="4.2.0";var jn=Fe.API,sw=1,Ra=function(e){return e.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},sl=function(e){return e.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Ta=function(e){return e.toString().replace(/#/g,"#23").replace(/[\s\n\r()<>[\]{}\/%]/g,function(t){var n=t.charCodeAt(0).toString(16).toUpperCase();return"#"+(n.length===1?"0"+n:n)})},je=function(e){return e.toFixed(2)},co=function(e){return e.toFixed(5)};jn.__acroform__={};var br=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e},M2=function(e){return e*sw},Vi=function(e){var t=new Wx,n=me.internal.getHeight(e)||0,A=me.internal.getWidth(e)||0;return t.BBox=[0,0,Number(je(A)),Number(je(n))],t},aH=jn.__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},lH=jn.__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)},cH=jn.__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},Jn=jn.__acroform__.getBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return cH(e,t-1)},Zn=jn.__acroform__.setBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return aH(e,t-1)},tA=jn.__acroform__.clearBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return lH(e,t-1)},uH=jn.__acroform__.calculateCoordinates=function(e,t){var n=t.internal.getHorizontalCoordinate,A=t.internal.getVerticalCoordinate,r=e[0],i=e[1],s=e[2],o=e[3],a={};return a.lowerLeft_X=n(r)||0,a.lowerLeft_Y=A(i+o)||0,a.upperRight_X=n(r+s)||0,a.upperRight_Y=A(i)||0,[Number(je(a.lowerLeft_X)),Number(je(a.lowerLeft_Y)),Number(je(a.upperRight_X)),Number(je(a.upperRight_Y))]},fH=function(e){if(e.appearanceStreamContent)return e.appearanceStreamContent;if(e.V||e.DV){var t=[],n=e._V||e.DV,A=zg(e,n),r=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("/"+r+" "+je(A.fontSize)+" Tf"),t.push("1 0 0 1 0 0 Tm"),t.push(A.text),t.push("ET"),t.push("Q"),t.push("EMC");var i=Vi(e);return i.scope=e.scope,i.stream=t.join(` `),i}},zg=function(e,t){var n=e.fontSize===0?e.maxFontSize:e.fontSize,A={text:"",fontSize:""},r=(t=(t=t.substr(0,1)=="("?t.substr(1):t).substr(t.length-1)==")"?t.substr(0,t.length-1):t).split(" ");r=e.multiline?r.map(function(N){return N.split(` `)}):r.map(function(N){return[N]});var i=n,s=me.internal.getHeight(e)||0;s=s<0?-s:s;var o=me.internal.getWidth(e)||0;o=o<0?-o:o;var a=function(N,K,et){if(N+1<r.length){var At=K+" "+r[N+1][0];return Bf(At,e,et).width<=o-4}return!1};i++;t:for(;i>0;){t="",i--;var l,u,h=Bf("3",e,i).height,w=e.multiline?s-i:(s-h)/2,p=w+=2,y=0,v=0,C=0;if(i<=0){t=`(...) Tj `,t+="% Width of Text: "+Bf(t,e,i=12).width+", FieldWidth:"+o+` `;break}for(var _="",S=0,M=0;M<r.length;M++)if(r.hasOwnProperty(M)){var T=!1;if(r[M].length!==1&&C!==r[M].length-1){if((h+2)*(S+2)+2>s)continue t;_+=r[M][C],T=!0,v=M,M--}else{_=(_+=r[M][C]+" ").substr(_.length-1)==" "?_.substr(0,_.length-1):_;var V=parseInt(M),B=a(V,_,i),G=M>=r.length-1;if(B&&!G){_+=" ",C=0;continue}if(B||G){if(G)v=V;else if(e.multiline&&(h+2)*(S+2)+2>s)continue t}else{if(!e.multiline||(h+2)*(S+2)+2>s)continue t;v=V}}for(var z="",H=y;H<=v;H++){var ot=r[H];if(e.multiline){if(H===v){z+=ot[C]+" ",C=(C+1)%ot.length;continue}if(H===y){z+=ot[ot.length-1]+" ";continue}}z+=ot[0]+" "}switch(z=z.substr(z.length-1)==" "?z.substr(0,z.length-1):z,u=Bf(z,e,i).width,e.textAlign){case"right":l=o-u-2;break;case"center":l=(o-u)/2;break;default:l=2}t+=je(l)+" "+je(p)+` Td `,t+="("+Ra(z)+`) Tj `,t+=-je(l)+` 0 Td `,p=-(i+2),u=0,y=T?v:v+1,S++,_=""}break}return A.text=t,A.fontSize=i,A},Bf=function(e,t,n){var A=t.scope.internal.getFont(t.fontName,t.fontStyle),r=t.scope.getStringUnitWidth(e,{font:A,fontSize:parseFloat(n),charSpace:0})*parseFloat(n);return{height:t.scope.getStringUnitWidth("3",{font:A,fontSize:parseFloat(n),charSpace:0})*parseFloat(n)*1.5,width:r}},hH={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},dH=function(e,t){var n={type:"reference",object:e};t.internal.getPageInfo(e.page).pageContext.annotations.find(function(A){return A.type===n.type&&A.object===n.object})===void 0&&t.internal.getPageInfo(e.page).pageContext.annotations.push(n)},pH=function(e,t){if(t.scope=e,e.internal!==void 0&&(e.internal.acroformPlugin===void 0||e.internal.acroformPlugin.isInitialized===!1)){if(Qi.FieldNum=0,e.internal.acroformPlugin=JSON.parse(JSON.stringify(hH)),e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");sw=e.internal.scaleFactor,e.internal.acroformPlugin.acroFormDictionaryRoot=new qx,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 A=n.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var r in A)if(A.hasOwnProperty(r)){var i=A[r];i.objId=void 0,i.hasAnnotation&&dH(i,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(A,r){var i=!A;for(var s in A||(r.internal.newObjectDeferredBegin(r.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),r.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),A=A||r.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(A.hasOwnProperty(s)){var o=A[s],a=[],l=o.Rect;if(o.Rect&&(o.Rect=uH(o.Rect,r)),r.internal.newObjectDeferredBegin(o.objId,!0),o.DA=me.createDefaultAppearanceStream(o),pn(o)==="object"&&typeof o.getKeyValueListForStream=="function"&&(a=o.getKeyValueListForStream()),o.Rect=l,o.hasAppearanceStream&&!o.appearanceStreamContent){var u=fH(o);a.push({key:"AP",value:"<</N "+u+">>"}),r.internal.acroformPlugin.xForms.push(u)}if(o.appearanceStreamContent){var h="";for(var w in o.appearanceStreamContent)if(o.appearanceStreamContent.hasOwnProperty(w)){var p=o.appearanceStreamContent[w];if(h+="/"+w+" ",h+="<<",Object.keys(p).length>=1||Array.isArray(p)){for(var s in p)if(p.hasOwnProperty(s)){var y=p[s];typeof y=="function"&&(y=y.call(r,o)),h+="/"+s+" "+y+" ",r.internal.acroformPlugin.xForms.indexOf(y)>=0||r.internal.acroformPlugin.xForms.push(y)}}else typeof(y=p)=="function"&&(y=y.call(r,o)),h+="/"+s+" "+y,r.internal.acroformPlugin.xForms.indexOf(y)>=0||r.internal.acroformPlugin.xForms.push(y);h+=">>"}a.push({key:"AP",value:`<< `+h+">>"})}r.internal.putStream({additionalKeyValues:a,objectId:o.objId}),r.internal.out("endobj")}i&&(function(v,C){for(var _ in v)if(v.hasOwnProperty(_)){var S=_,M=v[_];C.internal.newObjectDeferredBegin(M.objId,!0),pn(M)==="object"&&typeof M.putStream=="function"&&M.putStream(),delete v[S]}})(r.internal.acroformPlugin.xForms,r)})(n,e)}),e.internal.acroformPlugin.isInitialized=!0}},Vx=jn.__acroform__.arrayToPdfArray=function(e,t,n){var A=function(s){return s};if(Array.isArray(e)){for(var r="[",i=0;i<e.length;i++)switch(i!==0&&(r+=" "),pn(e[i])){case"boolean":case"number":case"object":r+=e[i].toString();break;case"string":e[i].substr(0,1)==="/"?r+="/"+Ta(e[i].substr(1)):(t!==void 0&&n&&(A=n.internal.getEncryptor(t)),r+="("+Ra(A(e[i].toString()))+")")}return r+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},Up=function(e,t,n){var A=function(r){return r};return t!==void 0&&n&&(A=n.internal.getEncryptor(t)),(e=e||"").toString(),"("+Ra(A(e))+")"},Xi=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})};Xi.prototype.toString=function(){return this.objId+" 0 R"},Xi.prototype.putStream=function(){var e=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:e,objectId:this.objId}),this.scope.internal.out("endobj")},Xi.prototype.getKeyValueListForStream=function(){var e=[],t=Object.getOwnPropertyNames(this).filter(function(i){return i!="content"&&i!="appearanceStreamContent"&&i!="scope"&&i!="objId"&&i.substring(0,1)!="_"});for(var n in t)if(Object.getOwnPropertyDescriptor(this,t[n]).configurable===!1){var A=t[n],r=this[A];r&&(Array.isArray(r)?e.push({key:A,value:Vx(r,this.objId,this.scope)}):r instanceof Xi?(r.scope=this.scope,e.push({key:A,value:r.objId+" 0 R"})):typeof r!="function"&&e.push({key:A,value:r}))}return e};var Wx=function(){Xi.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}})};br(Wx,Xi);var qx=function(){Xi.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(A){return A};return this.scope&&(n=this.scope.internal.getEncryptor(this.objId)),"("+Ra(n(e))+")"}},set:function(n){e=n}})};br(qx,Xi);var Qi=function e(){Xi.call(this);var t=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return t},set:function(_){if(isNaN(_))throw new Error('Invalid value "'+_+'" for attribute F supplied.');t=_}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!Jn(t,3)},set:function(_){_?this.F=Zn(t,3):this.F=tA(t,3)}});var n=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return n},set:function(_){if(isNaN(_))throw new Error('Invalid value "'+_+'" for attribute Ff supplied.');n=_}});var A=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(A.length!==0)return A},set:function(_){A=_!==void 0?_:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!A||isNaN(A[0])?0:A[0]},set:function(_){A[0]=_}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!A||isNaN(A[1])?0:A[1]},set:function(_){A[1]=_}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!A||isNaN(A[2])?0:A[2]},set:function(_){A[2]=_}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!A||isNaN(A[3])?0:A[3]},set:function(_){A[3]=_}});var r="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return r},set:function(_){switch(_){case"/Btn":case"/Tx":case"/Ch":case"/Sig":r=_;break;default:throw new Error('Invalid value "'+_+'" for attribute FT supplied.')}}});var i=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!i||i.length<1){if(this instanceof Ch)return;i="FieldObject"+e.FieldNum++}var _=function(S){return S};return this.scope&&(_=this.scope.internal.getEncryptor(this.objId)),"("+Ra(_(i))+")"},set:function(_){i=_.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return i},set:function(_){i=_}});var s="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return s},set:function(_){s=_}});var o="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return o},set:function(_){o=_}});var a=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return a},set:function(_){a=_}});var l=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return l===void 0?50/sw:l},set:function(_){l=_}});var u="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return u},set:function(_){u=_}});var h="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!h||this instanceof Ch||this instanceof Ca))return Up(h,this.objId,this.scope)},set:function(_){_=_.toString(),h=_}});var w=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(w)return this instanceof BA==0?Up(w,this.objId,this.scope):w},set:function(_){_=_.toString(),w=this instanceof BA==0?_.substr(0,1)==="("?sl(_.substr(1,_.length-2)):sl(_):_}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof BA==1?sl(w.substr(1,w.length-1)):w},set:function(_){_=_.toString(),w=this instanceof BA==1?"/"+Ta(_):_}});var p=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(p)return p},set:function(_){this.V=_}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(p)return this instanceof BA==0?Up(p,this.objId,this.scope):p},set:function(_){_=_.toString(),p=this instanceof BA==0?_.substr(0,1)==="("?sl(_.substr(1,_.length-2)):sl(_):_}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof BA==1?sl(p.substr(1,p.length-1)):p},set:function(_){_=_.toString(),p=this instanceof BA==1?"/"+Ta(_):_}}),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 y,v=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return v},set:function(_){_=!!_,v=_}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(y)return y},set:function(_){y=_}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!Jn(this.Ff,1)},set:function(_){_?this.Ff=Zn(this.Ff,1):this.Ff=tA(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!Jn(this.Ff,2)},set:function(_){_?this.Ff=Zn(this.Ff,2):this.Ff=tA(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!Jn(this.Ff,3)},set:function(_){_?this.Ff=Zn(this.Ff,3):this.Ff=tA(this.Ff,3)}});var C=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(C!==null)return C},set:function(_){if([0,1,2].indexOf(_)===-1)throw new Error('Invalid value "'+_+'" for attribute Q supplied.');C=_}}),Object.defineProperty(this,"textAlign",{get:function(){var _;switch(C){case 0:default:_="left";break;case 1:_="center";break;case 2:_="right"}return _},configurable:!0,enumerable:!0,set:function(_){switch(_){case"right":case 2:C=2;break;case"center":case 1:C=1;break;default:C=0}}})};br(Qi,Xi);var Bl=function(){Qi.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 Vx(t,this.objId,this.scope)},set:function(n){var A,r;r=[],typeof(A=n)=="string"&&(r=(function(i,s,o){o||(o=1);for(var a,l=[];a=s.exec(i);)l.push(a[o]);return l})(A,/\((.*?)\)/g)),t=r}}),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,A){for(A=A||!1,n=(n=n||"").toString();t.indexOf(n)!==-1&&(t.splice(t.indexOf(n),1),A!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!Jn(this.Ff,18)},set:function(n){n?this.Ff=Zn(this.Ff,18):this.Ff=tA(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!Jn(this.Ff,19)},set:function(n){this.combo===!0&&(n?this.Ff=Zn(this.Ff,19):this.Ff=tA(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!Jn(this.Ff,20)},set:function(n){n?(this.Ff=Zn(this.Ff,20),t.sort()):this.Ff=tA(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!Jn(this.Ff,22)},set:function(n){n?this.Ff=Zn(this.Ff,22):this.Ff=tA(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!Jn(this.Ff,23)},set:function(n){n?this.Ff=Zn(this.Ff,23):this.Ff=tA(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!Jn(this.Ff,27)},set:function(n){n?this.Ff=Zn(this.Ff,27):this.Ff=tA(this.Ff,27)}}),this.hasAppearanceStream=!1};br(Bl,Qi);var bl=function(){Bl.call(this),this.fontName="helvetica",this.combo=!1};br(bl,Bl);var vl=function(){bl.call(this),this.combo=!0};br(vl,bl);var Wf=function(){vl.call(this),this.edit=!0};br(Wf,vl);var BA=function(){Qi.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!Jn(this.Ff,15)},set:function(n){n?this.Ff=Zn(this.Ff,15):this.Ff=tA(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!Jn(this.Ff,16)},set:function(n){n?this.Ff=Zn(this.Ff,16):this.Ff=tA(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!Jn(this.Ff,17)},set:function(n){n?this.Ff=Zn(this.Ff,17):this.Ff=tA(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!Jn(this.Ff,26)},set:function(n){n?this.Ff=Zn(this.Ff,26):this.Ff=tA(this.Ff,26)}});var e,t={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var n=function(i){return i};if(this.scope&&(n=this.scope.internal.getEncryptor(this.objId)),Object.keys(t).length!==0){var A,r=[];for(A in r.push("<<"),t)r.push("/"+A+" ("+Ra(n(t[A]))+")");return r.push(">>"),r.join(` `)}},set:function(n){pn(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){var A=n==null?"":n.toString();A.substr(0,1)==="/"&&(A=A.substr(1)),e="/"+Ta(A)}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(n){e="/"+Ta(n)}})};br(BA,Qi);var qf=function(){BA.call(this),this.pushButton=!0};br(qf,BA);var yl=function(){BA.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:[]}})};br(yl,BA);var Ch=function(){var e,t;Qi.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return e},set:function(r){e=r}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(r){t=r}});var n,A={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var r=function(o){return o};this.scope&&(r=this.scope.internal.getEncryptor(this.objId));var i,s=[];for(i in s.push("<<"),A)s.push("/"+i+" ("+Ra(r(A[i]))+")");return s.push(">>"),s.join(` `)},set:function(r){pn(r)==="object"&&(A=r)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return A.CA||""},set:function(r){typeof r=="string"&&(A.CA=r)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return n},set:function(r){var i=r==null?"":r.toString();i.substr(0,1)==="/"&&(i=i.substr(1)),n="/"+Ta(i)}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return n.substr(1,n.length-1)},set:function(r){var i=r==null?"":r.toString();i.substr(0,1)==="/"&&(i=i.substr(1)),n="/"+Ta(i)}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=me.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};br(Ch,Qi),yl.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()}},yl.prototype.createOption=function(e){var t=new Ch;return t.Parent=this,t.optionName=e,this.Kids.push(t),gH.call(this.scope,t),t};var zf=function(){BA.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=me.CheckBox.createAppearanceStream()};br(zf,BA);var Ca=function(){Qi.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!Jn(this.Ff,13)},set:function(t){t?this.Ff=Zn(this.Ff,13):this.Ff=tA(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!Jn(this.Ff,21)},set:function(t){t?this.Ff=Zn(this.Ff,21):this.Ff=tA(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!Jn(this.Ff,23)},set:function(t){t?this.Ff=Zn(this.Ff,23):this.Ff=tA(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!Jn(this.Ff,24)},set:function(t){t?this.Ff=Zn(this.Ff,24):this.Ff=tA(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!Jn(this.Ff,25)},set:function(t){t?this.Ff=Zn(this.Ff,25):this.Ff=tA(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!Jn(this.Ff,26)},set:function(t){t?this.Ff=Zn(this.Ff,26):this.Ff=tA(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}})};br(Ca,Qi);var Gf=function(){Ca.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!Jn(this.Ff,14)},set:function(e){e?this.Ff=Zn(this.Ff,14):this.Ff=tA(this.Ff,14)}}),this.password=!0};br(Gf,Ca);var me={CheckBox:{createAppearanceStream:function(){return{N:{On:me.CheckBox.YesNormal},D:{On:me.CheckBox.YesPushDown,Off:me.CheckBox.OffPushDown}}},YesPushDown:function(e){var t=Vi(e);t.scope=e.scope;var n=[],A=e.scope.internal.getFont(e.fontName,e.fontStyle).id,r=e.scope.__private__.encodeColorString(e.color),i=zg(e,e.caption);return n.push("0.749023 g"),n.push("0 0 "+je(me.internal.getWidth(e))+" "+je(me.internal.getHeight(e))+" re"),n.push("f"),n.push("BMC"),n.push("q"),n.push("0 0 1 rg"),n.push("/"+A+" "+je(i.fontSize)+" Tf "+r),n.push("BT"),n.push(i.text),n.push("ET"),n.push("Q"),n.push("EMC"),t.stream=n.join(` `),t},YesNormal:function(e){var t=Vi(e);t.scope=e.scope;var n=e.scope.internal.getFont(e.fontName,e.fontStyle).id,A=e.scope.__private__.encodeColorString(e.color),r=[],i=me.internal.getHeight(e),s=me.internal.getWidth(e),o=zg(e,e.caption);return r.push("1 g"),r.push("0 0 "+je(s)+" "+je(i)+" re"),r.push("f"),r.push("q"),r.push("0 0 1 rg"),r.push("0 0 "+je(s-1)+" "+je(i-1)+" re"),r.push("W"),r.push("n"),r.push("0 g"),r.push("BT"),r.push("/"+n+" "+je(o.fontSize)+" Tf "+A),r.push(o.text),r.push("ET"),r.push("Q"),t.stream=r.join(` `),t},OffPushDown:function(e){var t=Vi(e);t.scope=e.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+je(me.internal.getWidth(e))+" "+je(me.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join(` `),t}},RadioButton:{Circle:{createAppearanceStream:function(e){var t={D:{Off:me.RadioButton.Circle.OffPushDown},N:{}};return t.N[e]=me.RadioButton.Circle.YesNormal,t.D[e]=me.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(e){var t=Vi(e);t.scope=e.scope;var n=[],A=me.internal.getWidth(e)<=me.internal.getHeight(e)?me.internal.getWidth(e)/4:me.internal.getHeight(e)/4;A=Number((.9*A).toFixed(5));var r=me.internal.Bezier_C,i=Number((A*r).toFixed(5));return n.push("q"),n.push("1 0 0 1 "+co(me.internal.getWidth(e)/2)+" "+co(me.internal.getHeight(e)/2)+" cm"),n.push(A+" 0 m"),n.push(A+" "+i+" "+i+" "+A+" 0 "+A+" c"),n.push("-"+i+" "+A+" -"+A+" "+i+" -"+A+" 0 c"),n.push("-"+A+" -"+i+" -"+i+" -"+A+" 0 -"+A+" c"),n.push(i+" -"+A+" "+A+" -"+i+" "+A+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join(` `),t},YesPushDown:function(e){var t=Vi(e);t.scope=e.scope;var n=[],A=me.internal.getWidth(e)<=me.internal.getHeight(e)?me.internal.getWidth(e)/4:me.internal.getHeight(e)/4;A=Number((.9*A).toFixed(5));var r=Number((2*A).toFixed(5)),i=Number((r*me.internal.Bezier_C).toFixed(5)),s=Number((A*me.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+co(me.internal.getWidth(e)/2)+" "+co(me.internal.getHeight(e)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+i+" "+i+" "+r+" 0 "+r+" c"),n.push("-"+i+" "+r+" -"+r+" "+i+" -"+r+" 0 c"),n.push("-"+r+" -"+i+" -"+i+" -"+r+" 0 -"+r+" c"),n.push(i+" -"+r+" "+r+" -"+i+" "+r+" 0 c"),n.push("f"),n.push("Q"),n.push("0 g"),n.push("q"),n.push("1 0 0 1 "+co(me.internal.getWidth(e)/2)+" "+co(me.internal.getHeight(e)/2)+" cm"),n.push(A+" 0 m"),n.push(A+" "+s+" "+s+" "+A+" 0 "+A+" c"),n.push("-"+s+" "+A+" -"+A+" "+s+" -"+A+" 0 c"),n.push("-"+A+" -"+s+" -"+s+" -"+A+" 0 -"+A+" c"),n.push(s+" -"+A+" "+A+" -"+s+" "+A+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join(` `),t},OffPushDown:function(e){var t=Vi(e);t.scope=e.scope;var n=[],A=me.internal.getWidth(e)<=me.internal.getHeight(e)?me.internal.getWidth(e)/4:me.internal.getHeight(e)/4;A=Number((.9*A).toFixed(5));var r=Number((2*A).toFixed(5)),i=Number((r*me.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+co(me.internal.getWidth(e)/2)+" "+co(me.internal.getHeight(e)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+i+" "+i+" "+r+" 0 "+r+" c"),n.push("-"+i+" "+r+" -"+r+" "+i+" -"+r+" 0 c"),n.push("-"+r+" -"+i+" -"+i+" -"+r+" 0 -"+r+" c"),n.push(i+" -"+r+" "+r+" -"+i+" "+r+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join(` `),t}},Cross:{createAppearanceStream:function(e){var t={D:{Off:me.RadioButton.Cross.OffPushDown},N:{}};return t.N[e]=me.RadioButton.Cross.YesNormal,t.D[e]=me.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(e){var t=Vi(e);t.scope=e.scope;var n=[],A=me.internal.calculateCross(e);return n.push("q"),n.push("1 1 "+je(me.internal.getWidth(e)-2)+" "+je(me.internal.getHeight(e)-2)+" re"),n.push("W"),n.push("n"),n.push(je(A.x1.x)+" "+je(A.x1.y)+" m"),n.push(je(A.x2.x)+" "+je(A.x2.y)+" l"),n.push(je(A.x4.x)+" "+je(A.x4.y)+" m"),n.push(je(A.x3.x)+" "+je(A.x3.y)+" l"),n.push("s"),n.push("Q"),t.stream=n.join(` `),t},YesPushDown:function(e){var t=Vi(e);t.scope=e.scope;var n=me.internal.calculateCross(e),A=[];return A.push("0.749023 g"),A.push("0 0 "+je(me.internal.getWidth(e))+" "+je(me.internal.getHeight(e))+" re"),A.push("f"),A.push("q"),A.push("1 1 "+je(me.internal.getWidth(e)-2)+" "+je(me.internal.getHeight(e)-2)+" re"),A.push("W"),A.push("n"),A.push(je(n.x1.x)+" "+je(n.x1.y)+" m"),A.push(je(n.x2.x)+" "+je(n.x2.y)+" l"),A.push(je(n.x4.x)+" "+je(n.x4.y)+" m"),A.push(je(n.x3.x)+" "+je(n.x3.y)+" l"),A.push("s"),A.push("Q"),t.stream=A.join(` `),t},OffPushDown:function(e){var t=Vi(e);t.scope=e.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+je(me.internal.getWidth(e))+" "+je(me.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}};me.internal={Bezier_C:.551915024494,calculateCross:function(e){var t=me.internal.getWidth(e),n=me.internal.getHeight(e),A=Math.min(t,n);return{x1:{x:(t-A)/2,y:(n-A)/2+A},x2:{x:(t-A)/2+A,y:(n-A)/2},x3:{x:(t-A)/2,y:(n-A)/2},x4:{x:(t-A)/2+A,y:(n-A)/2+A}}}},me.internal.getWidth=function(e){var t=0;return pn(e)==="object"&&(t=M2(e.Rect[2])),t},me.internal.getHeight=function(e){var t=0;return pn(e)==="object"&&(t=M2(e.Rect[3])),t};var gH=jn.addField=function(e){if(pH(this,e),!(e instanceof Qi))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};jn.AcroFormChoiceField=Bl,jn.AcroFormListBox=bl,jn.AcroFormComboBox=vl,jn.AcroFormEditBox=Wf,jn.AcroFormButton=BA,jn.AcroFormPushButton=qf,jn.AcroFormRadioButton=yl,jn.AcroFormCheckBox=zf,jn.AcroFormTextField=Ca,jn.AcroFormPasswordField=Gf,jn.AcroFormAppearance=me,jn.AcroForm={ChoiceField:Bl,ListBox:bl,ComboBox:vl,EditBox:Wf,Button:BA,PushButton:qf,RadioButton:yl,CheckBox:zf,TextField:Ca,PasswordField:Gf,Appearance:me},Fe.AcroForm={ChoiceField:Bl,ListBox:bl,ComboBox:vl,EditBox:Wf,Button:BA,PushButton:qf,RadioButton:yl,CheckBox:zf,TextField:Ca,PasswordField:Gf,Appearance:me};Fe.AcroForm;function zx(e){return e.reduce(function(t,n,A){return t[n]=A,t},{})}(function(e){var t="addImage_";e.__addimage__={};var n="UNKNOWN",A={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(N,K){var et,At,pt,gt,mt,ht=n;if((K=K||n)==="RGBA"||N.data!==void 0&&N.data instanceof Uint8ClampedArray&&"height"in N&&"width"in N)return"RGBA";if(B(N))for(mt in A)for(pt=A[mt],et=0;et<pt.length;et+=1){for(gt=!0,At=0;At<pt[et].length;At+=1)if(pt[et][At]!==void 0&&pt[et][At]!==N[At]){gt=!1;break}if(gt===!0){ht=mt;break}}else for(mt in A)for(pt=A[mt],et=0;et<pt.length;et+=1){for(gt=!0,At=0;At<pt[et].length;At+=1)if(pt[et][At]!==void 0&&pt[et][At]!==N.charCodeAt(At)){gt=!1;break}if(gt===!0){ht=mt;break}}return ht===n&&K!==n&&(ht=K),ht},i=function N(K){for(var et=this.internal.write,At=this.internal.putStream,pt=(0,this.internal.getFilters)();pt.indexOf("FlateEncode")!==-1;)pt.splice(pt.indexOf("FlateEncode"),1);K.objectId=this.internal.newObject();var gt=[];if(gt.push({key:"Type",value:"/XObject"}),gt.push({key:"Subtype",value:"/Image"}),gt.push({key:"Width",value:K.width}),gt.push({key:"Height",value:K.height}),K.colorSpace===_.INDEXED?gt.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(K.palette.length/3-1)+" "+("sMask"in K&&K.sMask!==void 0?K.objectId+2:K.objectId+1)+" 0 R]"}):(gt.push({key:"ColorSpace",value:"/"+K.colorSpace}),K.colorSpace===_.DEVICE_CMYK&>.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),gt.push({key:"BitsPerComponent",value:K.bitsPerComponent}),"decodeParameters"in K&&K.decodeParameters!==void 0&>.push({key:"DecodeParms",value:"<<"+K.decodeParameters+">>"}),"transparency"in K&&Array.isArray(K.transparency)&&K.transparency.length>0){for(var mt="",ht=0,Ft=K.transparency.length;ht<Ft;ht++)mt+=K.transparency[ht]+" "+K.transparency[ht]+" ";gt.push({key:"Mask",value:"["+mt+"]"})}K.sMask!==void 0&>.push({key:"SMask",value:K.objectId+1+" 0 R"});var Vt=K.filter!==void 0?["/"+K.filter]:void 0;if(At({data:K.data,additionalKeyValues:gt,alreadyAppliedFilters:Vt,objectId:K.objectId}),et("endobj"),"sMask"in K&&K.sMask!==void 0){var Ht,O=(Ht=K.sMaskBitsPerComponent)!==null&&Ht!==void 0?Ht:K.bitsPerComponent,X={width:K.width,height:K.height,colorSpace:"DeviceGray",bitsPerComponent:O,data:K.sMask};"filter"in K&&(X.decodeParameters="/Predictor ".concat(K.predictor," /Colors 1 /BitsPerComponent ").concat(O," /Columns ").concat(K.width),X.filter=K.filter),N.call(this,X)}if(K.colorSpace===_.INDEXED){var it=this.internal.newObject();At({data:z(new Uint8Array(K.palette)),objectId:it}),et("endobj")}},s=function(){var N=this.internal.collections[t+"images"];for(var K in N)i.call(this,N[K])},o=function(){var N,K=this.internal.collections[t+"images"],et=this.internal.write;for(var At in K)et("/I"+(N=K[At]).index,N.objectId,"0","R")},a=function(){this.internal.collections[t+"images"]||(this.internal.collections[t+"images"]={},this.internal.events.subscribe("putResources",s),this.internal.events.subscribe("putXobjectDict",o))},l=function(){var N=this.internal.collections[t+"images"];return a.call(this),N},u=function(){return Object.keys(this.internal.collections[t+"images"]).length},h=function(N){return typeof e["process"+N.toUpperCase()]=="function"},w=function(N){return pn(N)==="object"&&N.nodeType===1},p=function(N,K){if(N.nodeName==="IMG"&&N.hasAttribute("src")){var et=""+N.getAttribute("src");if(et.indexOf("data:image/")===0)return Vf(unescape(et).split("base64,").pop());var At=e.loadFile(et,!0);if(At!==void 0)return At}if(N.nodeName==="CANVAS"){if(N.width===0||N.height===0)throw new Error("Given canvas must have data. Canvas width: "+N.width+", height: "+N.height);var pt;switch(K){case"PNG":pt="image/png";break;case"WEBP":pt="image/webp";break;default:pt="image/jpeg"}return Vf(N.toDataURL(pt,1).split("base64,").pop())}},y=function(N){var K=this.internal.collections[t+"images"];if(K){for(var et in K)if(N===K[et].alias)return K[et]}},v=function(N,K,et){return N||K||(N=-96,K=-96),N<0&&(N=-1*et.width*72/N/this.internal.scaleFactor),K<0&&(K=-1*et.height*72/K/this.internal.scaleFactor),N===0&&(N=K*et.width/et.height),K===0&&(K=N*et.height/et.width),[N,K]},C=function(N,K,et,At,pt,gt){var mt=v.call(this,et,At,pt),ht=this.internal.getCoordinateString,Ft=this.internal.getVerticalCoordinateString,Vt=l.call(this);if(et=mt[0],At=mt[1],Vt[pt.index]=pt,gt){gt*=Math.PI/180;var Ht=Math.cos(gt),O=Math.sin(gt),X=function(at){return at.toFixed(4)},it=[X(Ht),X(O),X(-1*O),X(Ht),0,0,"cm"]}this.internal.write("q"),gt?(this.internal.write([1,"0","0",1,ht(N),Ft(K+At),"cm"].join(" ")),this.internal.write(it.join(" ")),this.internal.write([ht(et),"0","0",ht(At),"0","0","cm"].join(" "))):this.internal.write([ht(et),"0","0",ht(At),ht(N),Ft(K+At),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+pt.index+" Do"),this.internal.write("Q")},_=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 S=e.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},M=e.__addimage__.sHashCode=function(N){var K,et,At=0;if(typeof N=="string")for(et=N.length,K=0;K<et;K++)At=(At<<5)-At+N.charCodeAt(K),At|=0;else if(B(N))for(et=N.byteLength/2,K=0;K<et;K++)At=(At<<5)-At+N[K],At|=0;return At},T=e.__addimage__.validateStringAsBase64=function(N){(N=N||"").toString().trim();var K=!0;return N.length===0&&(K=!1),N.length%4!=0&&(K=!1),/^[A-Za-z0-9+/]+$/.test(N.substr(0,N.length-2))===!1&&(K=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(N.substr(-2))===!1&&(K=!1),K},V=e.__addimage__.extractImageFromDataUrl=function(N){if(N==null||!(N=N.trim()).startsWith("data:"))return null;var K=N.indexOf(",");return K<0?null:N.substring(0,K).trim().endsWith("base64")?N.substring(K+1):null};e.__addimage__.isArrayBuffer=function(N){return N instanceof ArrayBuffer};var B=e.__addimage__.isArrayBufferView=function(N){return N instanceof Int8Array||N instanceof Uint8Array||N instanceof Uint8ClampedArray||N instanceof Int16Array||N instanceof Uint16Array||N instanceof Int32Array||N instanceof Uint32Array||N instanceof Float32Array||N instanceof Float64Array},G=e.__addimage__.binaryStringToUint8Array=function(N){for(var K=N.length,et=new Uint8Array(K),At=0;At<K;At++)et[At]=N.charCodeAt(At);return et},z=e.__addimage__.arrayBufferToBinaryString=function(N){for(var K="",et=B(N)?N:new Uint8Array(N),At=0;At<et.length;At+=8192)K+=String.fromCharCode.apply(null,et.subarray(At,At+8192));return K};e.addImage=function(){var N,K,et,At,pt,gt,mt,ht,Ft;if(typeof arguments[1]=="number"?(K=n,et=arguments[1],At=arguments[2],pt=arguments[3],gt=arguments[4],mt=arguments[5],ht=arguments[6],Ft=arguments[7]):(K=arguments[1],et=arguments[2],At=arguments[3],pt=arguments[4],gt=arguments[5],mt=arguments[6],ht=arguments[7],Ft=arguments[8]),pn(N=arguments[0])==="object"&&!w(N)&&"imageData"in N){var Vt=N;N=Vt.imageData,K=Vt.format||K||n,et=Vt.x||et||0,At=Vt.y||At||0,pt=Vt.w||Vt.width||pt,gt=Vt.h||Vt.height||gt,mt=Vt.alias||mt,ht=Vt.compression||ht,Ft=Vt.rotation||Vt.angle||Ft}var Ht=this.internal.getFilters();if(ht===void 0&&Ht.indexOf("FlateEncode")!==-1&&(ht="SLOW"),isNaN(et)||isNaN(At))throw new Error("Invalid coordinates passed to jsPDF.addImage");a.call(this);var O=H.call(this,N,K,mt,ht);return C.call(this,et,At,pt,gt,O,Ft),this};var H=function(N,K,et,At){var pt,gt,mt;if(typeof N=="string"&&r(N)===n){N=unescape(N);var ht=ot(N,!1);(ht!==""||(ht=e.loadFile(N,!0))!==void 0)&&(N=ht)}if(w(N)&&(N=p(N,K)),K=r(N,K),!h(K))throw new Error("addImage does not support files of type '"+K+"', please ensure that a plugin for '"+K+"' support is added.");if(((mt=et)==null||mt.length===0)&&(et=(function(Ft){return typeof Ft=="string"||B(Ft)?M(Ft):B(Ft.data)?M(Ft.data):null})(N)),(pt=y.call(this,et))||(N instanceof Uint8Array||K==="RGBA"||(gt=N,N=G(N)),pt=this["process"+K.toUpperCase()](N,u.call(this),et,(function(Ft){return Ft&&typeof Ft=="string"&&(Ft=Ft.toUpperCase()),Ft in e.image_compression?Ft:S.NONE})(At),gt)),!pt)throw new Error("An unknown error occurred whilst processing the image.");return pt},ot=e.__addimage__.convertBase64ToBinaryString=function(N,K){K=typeof K!="boolean"||K;var et,At="";if(typeof N=="string"){var pt;et=(pt=V(N))!==null&&pt!==void 0?pt:N;try{At=Vf(et)}catch(gt){if(K)throw T(et)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+gt.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return At};e.getImageProperties=function(N){var K,et,At="";if(w(N)&&(N=p(N)),typeof N=="string"&&r(N)===n&&((At=ot(N,!1))===""&&(At=e.loadFile(N)||""),N=At),et=r(N),!h(et))throw new Error("addImage does not support files of type '"+et+"', please ensure that a plugin for '"+et+"' support is added.");if(N instanceof Uint8Array||(N=G(N)),!(K=this["process"+et.toUpperCase()](N)))throw new Error("An unknown error occurred whilst processing the image");return K.fileType=et,K}})(Fe.API),(function(e){var t=function(n){if(n!==void 0&&n!="")return!0};Fe.API.events.push(["addPage",function(n){this.internal.getPageInfo(n.pageNumber).pageContext.annotations=[]}]),e.events.push(["putPage",function(n){for(var A,r,i,s=this.internal.getCoordinateString,o=this.internal.getVerticalCoordinateString,a=this.internal.getPageInfoByObjId(n.objId),l=n.pageContext.annotations,u=!1,h=0;h<l.length&&!u;h++)switch((A=l[h]).type){case"link":(t(A.options.url)||t(A.options.pageNumber))&&(u=!0);break;case"reference":case"text":case"freetext":u=!0}if(u!=0){this.internal.write("/Annots [");for(var w=0;w<l.length;w++){A=l[w];var p=this.internal.pdfEscape,y=this.internal.getEncryptor(n.objId);switch(A.type){case"reference":this.internal.write(" "+A.object.objId+" 0 R ");break;case"text":var v=this.internal.newAdditionalObject(),C=this.internal.newAdditionalObject(),_=this.internal.getEncryptor(v.objId),S=A.title||"Note";i="<</Type /Annot /Subtype /Text "+(r="/Rect ["+s(A.bounds.x)+" "+o(A.bounds.y+A.bounds.h)+" "+s(A.bounds.x+A.bounds.w)+" "+o(A.bounds.y)+"] ")+"/Contents ("+p(_(A.contents))+")",i+=" /Popup "+C.objId+" 0 R",i+=" /P "+a.objId+" 0 R",i+=" /T ("+p(_(S))+") >>",v.content=i;var M=v.objId+" 0 R";i="<</Type /Annot /Subtype /Popup "+(r="/Rect ["+s(A.bounds.x+30)+" "+o(A.bounds.y+A.bounds.h)+" "+s(A.bounds.x+A.bounds.w+30)+" "+o(A.bounds.y)+"] ")+" /Parent "+M,A.open&&(i+=" /Open true"),i+=" >>",C.content=i,this.internal.write(v.objId,"0 R",C.objId,"0 R");break;case"freetext":r="/Rect ["+s(A.bounds.x)+" "+o(A.bounds.y)+" "+s(A.bounds.x+A.bounds.w)+" "+o(A.bounds.y+A.bounds.h)+"] ";var T=A.color||"#000000";i="<</Type /Annot /Subtype /FreeText "+r+"/Contents ("+p(y(A.contents))+")",i+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+T+")",i+=" /Border [0 0 0]",i+=" >>",this.internal.write(i);break;case"link":if(A.options.name){var V=this.annotations._nameMap[A.options.name];A.options.pageNumber=V.page,A.options.top=V.y}else A.options.top||(A.options.top=0);if(r="/Rect ["+A.finalBounds.x+" "+A.finalBounds.y+" "+A.finalBounds.w+" "+A.finalBounds.h+"] ",i="",A.options.url)i="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /A <</S /URI /URI ("+p(y(A.options.url))+") >>";else if(A.options.pageNumber)switch(i="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(A.options.pageNumber).objId+" 0 R",A.options.magFactor=A.options.magFactor||"XYZ",A.options.magFactor){case"Fit":i+=" /Fit]";break;case"FitH":i+=" /FitH "+A.options.top+"]";break;case"FitV":A.options.left=A.options.left||0,i+=" /FitV "+A.options.left+"]";break;default:var B=o(A.options.top);A.options.left=A.options.left||0,A.options.zoom===void 0&&(A.options.zoom=0),i+=" /XYZ "+A.options.left+" "+B+" "+A.options.zoom+"]"}i!=""&&(i+=" >>",this.internal.write(i))}}this.internal.write("]")}}]),e.createAnnotation=function(n){var A=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":A.pageContext.annotations.push(n)}},e.link=function(n,A,r,i,s){var o=this.internal.getCurrentPageInfo(),a=this.internal.getCoordinateString,l=this.internal.getVerticalCoordinateString;o.pageContext.annotations.push({finalBounds:{x:a(n),y:l(A),w:a(n+r),h:l(A+i)},options:s,type:"link"})},e.textWithLink=function(n,A,r,i){var s,o,a=this.getTextWidth(n),l=this.internal.getLineHeight()/this.internal.scaleFactor;if(i.maxWidth!==void 0){o=i.maxWidth;var u=this.splitTextToSize(n,o).length;s=Math.ceil(l*u)}else o=a,s=l;return this.text(n,A,r,i),r+=.2*l,i.align==="center"&&(A-=a/2),i.align==="right"&&(A-=a),this.link(A,r-l,o,s,i),a},e.getTextWidth=function(n){var A=this.internal.getFontSize();return this.getStringUnitWidth(n)*A/this.internal.scaleFactor}})(Fe.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}},A={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},r=[1570,1571,1573,1575];e.__arabicParser__={};var i=e.__arabicParser__.isInArabicSubstitutionA=function(v){return t[v.charCodeAt(0)]!==void 0},s=e.__arabicParser__.isArabicLetter=function(v){return typeof v=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(v)},o=e.__arabicParser__.isArabicEndLetter=function(v){return s(v)&&i(v)&&t[v.charCodeAt(0)].length<=2},a=e.__arabicParser__.isArabicAlfLetter=function(v){return s(v)&&r.indexOf(v.charCodeAt(0))>=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(v){return s(v)&&i(v)&&t[v.charCodeAt(0)].length>=1};var l=e.__arabicParser__.arabicLetterHasFinalForm=function(v){return s(v)&&i(v)&&t[v.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(v){return s(v)&&i(v)&&t[v.charCodeAt(0)].length>=3};var u=e.__arabicParser__.arabicLetterHasMedialForm=function(v){return s(v)&&i(v)&&t[v.charCodeAt(0)].length==4},h=e.__arabicParser__.resolveLigatures=function(v){var C=0,_=n,S="",M=0;for(C=0;C<v.length;C+=1)_[v.charCodeAt(C)]!==void 0?(M++,typeof(_=_[v.charCodeAt(C)])=="number"&&(S+=String.fromCharCode(_),_=n,M=0),C===v.length-1&&(_=n,S+=v.charAt(C-(M-1)),C-=M-1,M=0)):(_=n,S+=v.charAt(C-M),C-=M,M=0);return S};e.__arabicParser__.isArabicDiacritic=function(v){return v!==void 0&&A[v.charCodeAt(0)]!==void 0};var w=e.__arabicParser__.getCorrectForm=function(v,C,_){return s(v)?i(v)===!1?-1:!l(v)||!s(C)&&!s(_)||!s(_)&&o(C)||o(v)&&!s(C)||o(v)&&a(C)||o(v)&&o(C)?0:u(v)&&s(C)&&!o(C)&&s(_)&&l(_)?3:o(v)||!s(_)?1:2:-1},p=function(v){var C=0,_=0,S=0,M="",T="",V="",B=(v=v||"").split("\\s+"),G=[];for(C=0;C<B.length;C+=1){for(G.push(""),_=0;_<B[C].length;_+=1)M=B[C][_],T=B[C][_-1],V=B[C][_+1],s(M)?(S=w(M,T,V),G[C]+=S!==-1?String.fromCharCode(t[M.charCodeAt(0)][S]):M):G[C]+=M;G[C]=h(G[C])}return G.join(" ")},y=e.__arabicParser__.processArabic=e.processArabic=function(){var v,C=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,_=[];if(Array.isArray(C)){var S=0;for(_=[],S=0;S<C.length;S+=1)Array.isArray(C[S])?_.push([p(C[S][0]),C[S][1],C[S][2]]):_.push([p(C[S])]);v=_}else v=p(C);return typeof arguments[0]=="string"?v:(arguments[0].text=v,arguments[0])};e.events.push(["preProcessText",y])})(Fe.API),Fe.API.autoPrint=function(e){var t;return(e=e||{}).variant=e.variant||"non-conform",e.variant==="javascript"?this.addJS("print({});"):(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")})),this},(function(e){var t=function(){var n=void 0;Object.defineProperty(this,"pdf",{get:function(){return n},set:function(o){n=o}});var A=150;Object.defineProperty(this,"width",{get:function(){return A},set:function(o){A=isNaN(o)||Number.isInteger(o)===!1||o<0?150:o,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=A+1)}});var r=300;Object.defineProperty(this,"height",{get:function(){return r},set:function(o){r=isNaN(o)||Number.isInteger(o)===!1||o<0?300:o,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=r+1)}});var i=[];Object.defineProperty(this,"childNodes",{get:function(){return i},set:function(o){i=o}});var s={};Object.defineProperty(this,"style",{get:function(){return s},set:function(o){s=o}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(n,A){var r;if((n=n||"2d")!=="2d")return null;for(r in A)this.pdf.context2d.hasOwnProperty(r)&&(this.pdf.context2d[r]=A[r]);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}])})(Fe.API),(function(e){var t={left:0,top:0,bottom:0,right:0},n=!1,A=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(),r.call(this))},r=function(){this.internal.__cell__.lastCell=new i,this.internal.__cell__.pages=1},i=function(){var a=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return a},set:function(v){a=v}});var l=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return l},set:function(v){l=v}});var u=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return u},set:function(v){u=v}});var h=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return h},set:function(v){h=v}});var w=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return w},set:function(v){w=v}});var p=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return p},set:function(v){p=v}});var y=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return y},set:function(v){y=v}}),this};i.prototype.clone=function(){return new i(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},i.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(a){return A.call(this),this.internal.__cell__.headerFunction=typeof a=="function"?a:void 0,this},e.getTextDimensions=function(a,l){A.call(this);var u=(l=l||{}).fontSize||this.getFontSize(),h=l.font||this.getFont(),w=l.scaleFactor||this.internal.scaleFactor,p=0,y=0,v=0,C=this;if(!Array.isArray(a)&&typeof a!="string"){if(typeof a!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");a=String(a)}var _=l.maxWidth;_>0?typeof a=="string"?a=this.splitTextToSize(a,_):Object.prototype.toString.call(a)==="[object Array]"&&(a=a.reduce(function(M,T){return M.concat(C.splitTextToSize(T,_))},[])):a=Array.isArray(a)?a:[a];for(var S=0;S<a.length;S++)p<(v=this.getStringUnitWidth(a[S],{font:h})*u)&&(p=v);return p!==0&&(y=a.length),{w:p/=w,h:Math.max((y*u*this.getLineHeightFactor()-u*(this.getLineHeightFactor()-1))/w,0)}},e.cellAddPage=function(){A.call(this),this.addPage();var a=this.internal.__cell__.margins||t;return this.internal.__cell__.lastCell=new i(a.left,a.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var s=e.cell=function(){var a;a=arguments[0]instanceof i?arguments[0]:new i(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]),A.call(this);var l=this.internal.__cell__.lastCell,u=this.internal.__cell__.padding,h=this.internal.__cell__.margins||t,w=this.internal.__cell__.tableHeaderRow,p=this.internal.__cell__.printHeaders;return l.lineNumber!==void 0&&(l.lineNumber===a.lineNumber?(a.x=(l.x||0)+(l.width||0),a.y=l.y||0):l.y+l.height+a.height+h.bottom>this.getPageHeight()?(this.cellAddPage(),a.y=h.top,p&&w&&(this.printHeaderRow(a.lineNumber,!0),a.y+=w[0].height)):a.y=l.y+l.height||a.y),a.text[0]!==void 0&&(this.rect(a.x,a.y,a.width,a.height,n===!0?"FD":void 0),a.align==="right"?this.text(a.text,a.x+a.width-u,a.y+u,{align:"right",baseline:"top"}):a.align==="center"?this.text(a.text,a.x+a.width/2,a.y+u,{align:"center",baseline:"top",maxWidth:a.width-u-u}):this.text(a.text,a.x+u,a.y+u,{align:"left",baseline:"top",maxWidth:a.width-u-u})),this.internal.__cell__.lastCell=a,this};e.table=function(a,l,u,h,w){if(A.call(this),!u)throw new Error("No data for PDF table.");var p,y,v,C,_=[],S=[],M=[],T={},V={},B=[],G=[],z=(w=w||{}).autoSize||!1,H=w.printHeaders!==!1,ot=w.css&&w.css["font-size"]!==void 0?16*w.css["font-size"]:w.fontSize||12,N=w.margins||Object.assign({width:this.getPageWidth()},t),K=typeof w.padding=="number"?w.padding:3,et=w.headerBackgroundColor||"#c8c8c8",At=w.headerTextColor||"#000";if(r.call(this),this.internal.__cell__.printHeaders=H,this.internal.__cell__.margins=N,this.internal.__cell__.table_font_size=ot,this.internal.__cell__.padding=K,this.internal.__cell__.headerBackgroundColor=et,this.internal.__cell__.headerTextColor=At,this.setFontSize(ot),h==null)S=_=Object.keys(u[0]),M=_.map(function(){return"left"});else if(Array.isArray(h)&&pn(h[0])==="object")for(_=h.map(function(Vt){return Vt.name}),S=h.map(function(Vt){return Vt.prompt||Vt.name||""}),M=h.map(function(Vt){return Vt.align||"left"}),p=0;p<h.length;p+=1)V[h[p].name]=.7499990551181103*h[p].width;else Array.isArray(h)&&typeof h[0]=="string"&&(S=_=h,M=_.map(function(){return"left"}));if(z||Array.isArray(h)&&typeof h[0]=="string")for(p=0;p<_.length;p+=1){for(T[C=_[p]]=u.map(function(Vt){return Vt[C]}),this.setFont(void 0,"bold"),B.push(this.getTextDimensions(S[p],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),y=T[C],this.setFont(void 0,"normal"),v=0;v<y.length;v+=1)B.push(this.getTextDimensions(y[v],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);V[C]=Math.max.apply(null,B)+K+K,B=[]}if(H){var pt={};for(p=0;p<_.length;p+=1)pt[_[p]]={},pt[_[p]].text=S[p],pt[_[p]].align=M[p];var gt=o.call(this,pt,V);G=_.map(function(Vt){return new i(a,l,V[Vt],gt,pt[Vt].text,void 0,pt[Vt].align)}),this.setTableHeaderRow(G),this.printHeaderRow(1,!1)}var mt=h.reduce(function(Vt,Ht){return Vt[Ht.name]=Ht.align,Vt},{});for(p=0;p<u.length;p+=1){"rowStart"in w&&w.rowStart instanceof Function&&w.rowStart({row:p,data:u[p]},this);var ht=o.call(this,u[p],V);for(v=0;v<_.length;v+=1){var Ft=u[p][_[v]];"cellStart"in w&&w.cellStart instanceof Function&&w.cellStart({row:p,col:v,data:Ft},this),s.call(this,new i(a,l,V[_[v]],ht,Ft,p+2,mt[_[v]]))}}return this.internal.__cell__.table_x=a,this.internal.__cell__.table_y=l,this};var o=function(a,l){var u=this.internal.__cell__.padding,h=this.internal.__cell__.table_font_size,w=this.internal.scaleFactor;return Object.keys(a).map(function(p){var y=a[p];return this.splitTextToSize(y.hasOwnProperty("text")?y.text:y,l[p]-u-u)},this).map(function(p){return this.getLineHeightFactor()*p.length*h/w+u+u},this).reduce(function(p,y){return Math.max(p,y)},0)};e.setTableHeaderRow=function(a){A.call(this),this.internal.__cell__.tableHeaderRow=a},e.printHeaderRow=function(a,l){if(A.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var u;if(n=!0,typeof this.internal.__cell__.headerFunction=="function"){var h=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new i(h[0],h[1],h[2],h[3],void 0,-1)}this.setFont(void 0,"bold");for(var w=[],p=0;p<this.internal.__cell__.tableHeaderRow.length;p+=1){u=this.internal.__cell__.tableHeaderRow[p].clone(),l&&(u.y=this.internal.__cell__.margins.top||0,w.push(u)),u.lineNumber=a;var y=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),s.call(this,u),this.setTextColor(y)}w.length>0&&this.setTableHeaderRow(w),this.setFont(void 0,"normal"),n=!1}})(Fe.API);var Gx={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Xx=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Gg=zx(Xx),$x=[100,200,300,400,500,600,700,800,900],wH=zx($x);function Qp(e){var t=e.family.replace(/"|'/g,"").toLowerCase(),n=(function(i){return Gx[i=i||"normal"]?i:"normal"})(e.style),A=(function(i){return i?typeof i=="number"?i>=100&&i<=900&&i%100==0?i:400:/^\d00$/.test(i)?parseInt(i):i==="bold"?700:400:400})(e.weight),r=(function(i){return typeof Gg[i=i||"normal"]=="number"?i:"normal"})(e.stretch);return{family:t,style:n,weight:A,stretch:r,src:e.src||[],ref:e.ref||{name:t,style:[r,n,A].join(" ")}}}function D2(e,t,n,A){var r;for(r=n;r>=0&&r<t.length;r+=A)if(e[t[r]])return e[t[r]];for(r=n;r>=0&&r<t.length;r-=A)if(e[t[r]])return e[t[r]]}var mH={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},R2={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function K2(e){return[e.stretch,e.style,e.weight,e.family].join(" ")}function j2(e){return e.trimLeft()}function BH(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 bH(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 ol,bf,V2,W2,q2,Sp=["times"];function z2(e,t,n,A,r){var i=4,s=X2;switch(r){case Fe.API.image_compression.FAST:i=1,s=G2;break;case Fe.API.image_compression.MEDIUM:i=6,s=$2;break;case Fe.API.image_compression.SLOW:i=9,s=Y2}e=(function(a,l,u,h){for(var w,p=a.length/l,y=new Uint8Array(a.length+p),v=[vH,G2,X2,$2,Y2],C=0;C<p;C+=1){var _=C*l,S=a.subarray(_,_+l);if(h)y.set(h(S,u,w),_+C);else{for(var M=v.length,T=[],V=0;V<M;V+=1)T[V]=v[V](S,u,w);var B=xH(T.concat());y.set(T[B],_+C)}w=S}return y})(e,t,Math.ceil(n*A/8),s);var o=Rg(e,{level:i});return Fe.API.__addimage__.arrayBufferToBinaryString(o)}function vH(e){var t=Array.apply([],e);return t.unshift(0),t}function G2(e,t){var n=e.length,A=[];A[0]=1;for(var r=0;r<n;r+=1){var i=e[r-t]||0;A[r+1]=e[r]-i+256&255}return A}function X2(e,t,n){var A=e.length,r=[];r[0]=2;for(var i=0;i<A;i+=1){var s=n&&n[i]||0;r[i+1]=e[i]-s+256&255}return r}function $2(e,t,n){var A=e.length,r=[];r[0]=3;for(var i=0;i<A;i+=1){var s=e[i-t]||0,o=n&&n[i]||0;r[i+1]=e[i]+256-(s+o>>>1)&255}return r}function Y2(e,t,n){var A=e.length,r=[];r[0]=4;for(var i=0;i<A;i+=1){var s=yH(e[i-t]||0,n&&n[i]||0,n&&n[i-t]||0);r[i+1]=e[i]-s+256&255}return r}function yH(e,t,n){if(e===t&&t===n)return e;var A=Math.abs(t-n),r=Math.abs(e-n),i=Math.abs(e+t-n-n);return A<=r&&A<=i?e:r<=i?t:n}function xH(e){var t=e.map(function(n){return n.reduce(function(A,r){return A+Math.abs(r)},0)});return t.indexOf(Math.min.apply(null,t))}function Lp(e,t,n){var A=t*n,r=Math.floor(A/8),i=16-(A-8*r+n),s=(1<<n)-1;return Yx(e,r)>>i&s}function J2(e,t,n,A){var r=n*A,i=Math.floor(r/8),s=16-(r-8*i+A),o=(1<<A)-1,a=(t&o)<<s;(function(l,u,h){if(u+1<l.byteLength)l.setUint16(u,h,!1);else{var w=h>>8&255;l.setUint8(u,w)}})(e,i,Yx(e,i)&~(o<<s)&65535|a)}function Yx(e,t){return t+1<e.byteLength?e.getUint16(t,!1):e.getUint8(t)<<8}function CH(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,A=e[t++]|e[t++]<<8,r=e[t++],i=r>>7,s=1<<1+(7&r);e[t++],e[t++];var o=null,a=null;i&&(o=t,a=s,t+=3*s);var l=!0,u=[],h=0,w=null,p=0,y=null;for(this.width=n,this.height=A;l&&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,y=e[t++]|e[t++]<<8,t++;else for(t+=12;;){if(!((N=e[t++])>=0))throw Error("Invalid block size");if(N===0)break;t+=N}break;case 249:if(e[t++]!==4||e[t+4]!==0)throw new Error("Invalid graphics extension block.");var v=e[t++];h=e[t++]|e[t++]<<8,w=e[t++],1&v||(w=null),p=v>>2&7,t++;break;case 254:for(;;){if(!((N=e[t++])>=0))throw Error("Invalid block size");if(N===0)break;t+=N}break;default:throw new Error("Unknown graphic control label: 0x"+e[t-1].toString(16))}break;case 44:var C=e[t++]|e[t++]<<8,_=e[t++]|e[t++]<<8,S=e[t++]|e[t++]<<8,M=e[t++]|e[t++]<<8,T=e[t++],V=T>>6&1,B=1<<1+(7&T),G=o,z=a,H=!1;T>>7&&(H=!0,G=t,z=B,t+=3*B);var ot=t;for(t++;;){var N;if(!((N=e[t++])>=0))throw Error("Invalid block size");if(N===0)break;t+=N}u.push({x:C,y:_,width:S,height:M,has_local_palette:H,palette_offset:G,palette_size:z,data_offset:ot,data_length:t-ot,transparent_index:w,interlaced:!!V,delay:h,disposal:p});break;case 59:l=!1;break;default:throw new Error("Unknown gif block: 0x"+e[t-1].toString(16))}this.numFrames=function(){return u.length},this.loopCount=function(){return y},this.frameInfo=function(K){if(K<0||K>=u.length)throw new Error("Frame index out of range.");return u[K]},this.decodeAndBlitFrameBGRA=function(K,et){var At=this.frameInfo(K),pt=At.width*At.height;if(pt>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");var gt=new Uint8Array(pt);Z2(e,At.data_offset,gt,pt);var mt=At.palette_offset,ht=At.transparent_index;ht===null&&(ht=256);var Ft=At.width,Vt=n-Ft,Ht=Ft,O=4*(At.y*n+At.x),X=4*((At.y+At.height)*n+At.x),it=O,at=4*Vt;At.interlaced===!0&&(at+=4*n*7);for(var ct=8,bt=0,It=gt.length;bt<It;++bt){var Tt=gt[bt];if(Ht===0&&(Ht=Ft,(it+=at)>=X&&(at=4*Vt+4*n*(ct-1),it=O+(Ft+Vt)*(ct<<1),ct>>=1)),Tt===ht)it+=4;else{var Kt=e[mt+3*Tt],Xt=e[mt+3*Tt+1],ae=e[mt+3*Tt+2];et[it++]=ae,et[it++]=Xt,et[it++]=Kt,et[it++]=255}--Ht}},this.decodeAndBlitFrameRGBA=function(K,et){var At=this.frameInfo(K),pt=At.width*At.height;if(pt>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");var gt=new Uint8Array(pt);Z2(e,At.data_offset,gt,pt);var mt=At.palette_offset,ht=At.transparent_index;ht===null&&(ht=256);var Ft=At.width,Vt=n-Ft,Ht=Ft,O=4*(At.y*n+At.x),X=4*((At.y+At.height)*n+At.x),it=O,at=4*Vt;At.interlaced===!0&&(at+=4*n*7);for(var ct=8,bt=0,It=gt.length;bt<It;++bt){var Tt=gt[bt];if(Ht===0&&(Ht=Ft,(it+=at)>=X&&(at=4*Vt+4*n*(ct-1),it=O+(Ft+Vt)*(ct<<1),ct>>=1)),Tt===ht)it+=4;else{var Kt=e[mt+3*Tt],Xt=e[mt+3*Tt+1],ae=e[mt+3*Tt+2];et[it++]=Kt,et[it++]=Xt,et[it++]=ae,et[it++]=255}--Ht}}}function Z2(e,t,n,A){for(var r=e[t++],i=1<<r,s=i+1,o=s+1,a=r+1,l=(1<<a)-1,u=0,h=0,w=0,p=e[t++],y=new Int32Array(4096),v=null;;){for(;u<16&&p!==0;)h|=e[t++]<<u,u+=8,p===1?p=e[t++]:--p;if(u<a)break;var C=h&l;if(h>>=a,u-=a,C!==i){if(C===s)break;for(var _=C<o?C:v,S=0,M=_;M>i;)M=y[M]>>8,++S;var T=M;if(w+S+(_!==C?1:0)>A)return void mn.log("Warning, gif stream longer than expected.");n[w++]=T;var V=w+=S;for(_!==C&&(n[w++]=T),M=_;S--;)M=y[M],n[--V]=255&M,M>>=8;v!==null&&o<4096&&(y[o++]=v<<8|T,o>=l+1&&a<12&&(++a,l=l<<1|1)),v=C}else o=s+1,l=(1<<(a=r+1))-1,v=null}return w!==A&&mn.log("Warning, gif stream shorter than expected."),n}function Ip(e){var t,n,A,r,i,s=Math.floor,o=new Array(64),a=new Array(64),l=new Array(64),u=new Array(64),h=new Array(65535),w=new Array(65535),p=new Array(64),y=new Array(64),v=[],C=0,_=7,S=new Array(64),M=new Array(64),T=new Array(64),V=new Array(256),B=new Array(2048),G=[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],z=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],H=[0,1,2,3,4,5,6,7,8,9,10,11],ot=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],N=[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],K=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],et=[0,1,2,3,4,5,6,7,8,9,10,11],At=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],pt=[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 gt(O,X){for(var it=0,at=0,ct=new Array,bt=1;bt<=16;bt++){for(var It=1;It<=O[bt];It++)ct[X[at]]=[],ct[X[at]][0]=it,ct[X[at]][1]=bt,at++,it++;it*=2}return ct}function mt(O){for(var X=O[0],it=O[1]-1;it>=0;)X&1<<it&&(C|=1<<_),it--,--_<0&&(C==255?(ht(255),ht(0)):ht(C),_=7,C=0)}function ht(O){v.push(O)}function Ft(O){ht(O>>8&255),ht(255&O)}function Vt(O,X,it,at,ct){for(var bt,It=ct[0],Tt=ct[240],Kt=(function(Gt,Ee){var he,ve,ge,ke,k,rt,nt,Ct,yt,_t,Nt=0;for(yt=0;yt<8;++yt){he=Gt[Nt],ve=Gt[Nt+1],ge=Gt[Nt+2],ke=Gt[Nt+3],k=Gt[Nt+4],rt=Gt[Nt+5],nt=Gt[Nt+6];var re=he+(Ct=Gt[Nt+7]),te=he-Ct,Yt=ve+nt,Jt=ve-nt,Be=ge+rt,St=ge-rt,Zt=ke+k,Ot=ke-k,Wt=re+Zt,ee=re-Zt,de=Yt+Be,le=Yt-Be;Gt[Nt]=Wt+de,Gt[Nt+4]=Wt-de;var Le=.707106781*(le+ee);Gt[Nt+2]=ee+Le,Gt[Nt+6]=ee-Le;var cn=.382683433*((Wt=Ot+St)-(le=Jt+te)),qe=.5411961*Wt+cn,aA=1.306562965*le+cn,wA=.707106781*(de=St+Jt),Qe=te+wA,oi=te-wA;Gt[Nt+5]=oi+qe,Gt[Nt+3]=oi-qe,Gt[Nt+1]=Qe+aA,Gt[Nt+7]=Qe-aA,Nt+=8}for(Nt=0,yt=0;yt<8;++yt){he=Gt[Nt],ve=Gt[Nt+8],ge=Gt[Nt+16],ke=Gt[Nt+24],k=Gt[Nt+32],rt=Gt[Nt+40],nt=Gt[Nt+48];var sr=he+(Ct=Gt[Nt+56]),SA=he-Ct,LA=ve+nt,Qn=ve-nt,Pn=ge+rt,iA=ge-rt,or=ke+k,ai=ke-k,ar=sr+or,vr=sr-or,lr=LA+Pn,GA=LA-Pn;Gt[Nt]=ar+lr,Gt[Nt+32]=ar-lr;var yA=.707106781*(GA+vr);Gt[Nt+16]=vr+yA,Gt[Nt+48]=vr-yA;var es=.382683433*((ar=ai+iA)-(GA=Qn+SA)),Pr=.5411961*ar+es,ns=1.306562965*GA+es,Hs=.707106781*(lr=iA+Qn),As=SA+Hs,Ps=SA-Hs;Gt[Nt+40]=Ps+Pr,Gt[Nt+24]=Ps-Pr,Gt[Nt+8]=As+ns,Gt[Nt+56]=As-ns,Nt++}for(yt=0;yt<64;++yt)_t=Gt[yt]*Ee[yt],p[yt]=_t>0?_t+.5|0:_t-.5|0;return p})(O,X),Xt=0;Xt<64;++Xt)y[G[Xt]]=Kt[Xt];var ae=y[0]-it;it=y[0],ae==0?mt(at[0]):(mt(at[w[bt=32767+ae]]),mt(h[bt]));for(var ie=63;ie>0&&y[ie]==0;)ie--;if(ie==0)return mt(It),it;for(var fe,q=1;q<=ie;){for(var se=q;y[q]==0&&q<=ie;)++q;var Re=q-se;if(Re>=16){fe=Re>>4;for(var Se=1;Se<=fe;++Se)mt(Tt);Re&=15}bt=32767+y[q],mt(ct[(Re<<4)+w[bt]]),mt(h[bt]),q++}return ie!=63&&mt(It),it}function Ht(O){O=Math.min(Math.max(O,1),100),i!=O&&((function(X){for(var it=[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],at=0;at<64;at++){var ct=s((it[at]*X+50)/100);ct=Math.min(Math.max(ct,1),255),o[G[at]]=ct}for(var bt=[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],It=0;It<64;It++){var Tt=s((bt[It]*X+50)/100);Tt=Math.min(Math.max(Tt,1),255),a[G[It]]=Tt}for(var Kt=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Xt=0,ae=0;ae<8;ae++)for(var ie=0;ie<8;ie++)l[Xt]=1/(o[G[Xt]]*Kt[ae]*Kt[ie]*8),u[Xt]=1/(a[G[Xt]]*Kt[ae]*Kt[ie]*8),Xt++})(O<50?Math.floor(5e3/O):Math.floor(200-2*O)),i=O)}this.encode=function(O,X){X&&Ht(X),v=new Array,C=0,_=7,Ft(65496),Ft(65504),Ft(16),ht(74),ht(70),ht(73),ht(70),ht(0),ht(1),ht(1),ht(0),Ft(1),Ft(1),ht(0),ht(0),(function(){Ft(65499),Ft(132),ht(0);for(var ve=0;ve<64;ve++)ht(o[ve]);ht(1);for(var ge=0;ge<64;ge++)ht(a[ge])})(),(function(ve,ge){Ft(65472),Ft(17),ht(8),Ft(ge),Ft(ve),ht(3),ht(1),ht(17),ht(0),ht(2),ht(17),ht(1),ht(3),ht(17),ht(1)})(O.width,O.height),(function(){Ft(65476),Ft(418),ht(0);for(var ve=0;ve<16;ve++)ht(z[ve+1]);for(var ge=0;ge<=11;ge++)ht(H[ge]);ht(16);for(var ke=0;ke<16;ke++)ht(ot[ke+1]);for(var k=0;k<=161;k++)ht(N[k]);ht(1);for(var rt=0;rt<16;rt++)ht(K[rt+1]);for(var nt=0;nt<=11;nt++)ht(et[nt]);ht(17);for(var Ct=0;Ct<16;Ct++)ht(At[Ct+1]);for(var yt=0;yt<=161;yt++)ht(pt[yt])})(),Ft(65498),Ft(12),ht(3),ht(1),ht(0),ht(2),ht(17),ht(3),ht(17),ht(0),ht(63),ht(0);var it=0,at=0,ct=0;C=0,_=7,this.encode.displayName="_encode_";for(var bt,It,Tt,Kt,Xt,ae,ie,fe,q,se=O.data,Re=O.width,Se=O.height,Gt=4*Re,Ee=0;Ee<Se;){for(bt=0;bt<Gt;){for(Xt=Gt*Ee+bt,ie=-1,fe=0,q=0;q<64;q++)ae=Xt+(fe=q>>3)*Gt+(ie=4*(7&q)),Ee+fe>=Se&&(ae-=Gt*(Ee+1+fe-Se)),bt+ie>=Gt&&(ae-=bt+ie-Gt+4),It=se[ae++],Tt=se[ae++],Kt=se[ae++],S[q]=(B[It]+B[Tt+256|0]+B[Kt+512|0]>>16)-128,M[q]=(B[It+768|0]+B[Tt+1024|0]+B[Kt+1280|0]>>16)-128,T[q]=(B[It+1280|0]+B[Tt+1536|0]+B[Kt+1792|0]>>16)-128;it=Vt(S,l,it,t,A),at=Vt(M,u,at,n,r),ct=Vt(T,u,ct,n,r),bt+=32}Ee+=8}if(_>=0){var he=[];he[1]=_+1,he[0]=(1<<_+1)-1,mt(he)}return Ft(65497),new Uint8Array(v)},e=e||50,(function(){for(var O=String.fromCharCode,X=0;X<256;X++)V[X]=O(X)})(),t=gt(z,H),n=gt(K,et),A=gt(ot,N),r=gt(At,pt),(function(){for(var O=1,X=2,it=1;it<=15;it++){for(var at=O;at<X;at++)w[32767+at]=it,h[32767+at]=[],h[32767+at][1]=it,h[32767+at][0]=at;for(var ct=-(X-1);ct<=-O;ct++)w[32767+ct]=it,h[32767+ct]=[],h[32767+ct][1]=it,h[32767+ct][0]=X-1+ct;O<<=1,X<<=1}})(),(function(){for(var O=0;O<256;O++)B[O]=19595*O,B[O+256|0]=38470*O,B[O+512|0]=7471*O+32768,B[O+768|0]=-11059*O,B[O+1024|0]=-21709*O,B[O+1280|0]=32768*O+8421375,B[O+1536|0]=-27439*O,B[O+1792|0]=-5329*O})(),Ht(e)}function vi(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 tB(e){function t(H){if(!H)throw Error("assert :P")}function n(H,ot,N){for(var K=0;4>K;K++)if(H[ot+K]!=N.charCodeAt(K))return!0;return!1}function A(H,ot,N,K,et){for(var At=0;At<et;At++)H[ot+At]=N[K+At]}function r(H,ot,N,K){for(var et=0;et<K;et++)H[ot+et]=N}function i(H){return new Int32Array(H)}function s(H,ot){for(var N=[],K=0;K<H;K++)N.push(new ot);return N}function o(H,ot){var N=[];return(function K(et,At,pt){for(var gt=pt[At],mt=0;mt<gt&&(et.push(pt.length>At+1?[]:new ot),!(pt.length<At+1));mt++)K(et[mt],At+1,pt)})(N,0,H),N}var a=function(){var H=this;function ot(f,g){for(var F=1<<g-1>>>0;f&F;)F>>>=1;return F?(f&F-1)+F:f}function N(f,g,F,E,I){t(!(E%F));do f[g+(E-=F)]=I;while(0<E)}function K(f,g,F,E,I){if(t(2328>=I),512>=I)var P=i(512);else if((P=i(I))==null)return 0;return(function(R,j,W,Z,ut,Ut){var tt,dt,xt=j,Mt=1<<W,Et=i(16),Rt=i(16);for(t(ut!=0),t(Z!=null),t(R!=null),t(0<W),dt=0;dt<ut;++dt){if(15<Z[dt])return 0;++Et[Z[dt]]}if(Et[0]==ut)return 0;for(Rt[1]=0,tt=1;15>tt;++tt){if(Et[tt]>1<<tt)return 0;Rt[tt+1]=Rt[tt]+Et[tt]}for(dt=0;dt<ut;++dt)tt=Z[dt],0<Z[dt]&&(Ut[Rt[tt]++]=dt);if(Rt[15]==1)return(Z=new et).g=0,Z.value=Ut[0],N(R,xt,1,Mt,Z),Mt;var jt,$t=-1,zt=Mt-1,Ce=0,we=1,ze=1,ye=1<<W;for(dt=0,tt=1,ut=2;tt<=W;++tt,ut<<=1){if(we+=ze<<=1,0>(ze-=Et[tt]))return 0;for(;0<Et[tt];--Et[tt])(Z=new et).g=tt,Z.value=Ut[dt++],N(R,xt+Ce,ut,ye,Z),Ce=ot(Ce,tt)}for(tt=W+1,ut=2;15>=tt;++tt,ut<<=1){if(we+=ze<<=1,0>(ze-=Et[tt]))return 0;for(;0<Et[tt];--Et[tt]){if(Z=new et,(Ce&zt)!=$t){for(xt+=ye,jt=1<<($t=tt)-W;15>$t&&!(0>=(jt-=Et[$t]));)++$t,jt<<=1;Mt+=ye=1<<(jt=$t-W),R[j+($t=Ce&zt)].g=jt+W,R[j+$t].value=xt-j-$t}Z.g=tt-W,Z.value=Ut[dt++],N(R,xt+(Ce>>W),ut,ye,Z),Ce=ot(Ce,tt)}}return we!=2*Rt[15]-1?0:Mt})(f,g,F,E,I,P)}function et(){this.value=this.g=0}function At(){this.value=this.g=0}function pt(){this.G=s(5,et),this.H=i(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=s(ds,At)}function gt(f,g,F,E){t(f!=null),t(g!=null),t(2147483648>E),f.Ca=254,f.I=0,f.b=-8,f.Ka=0,f.oa=g,f.pa=F,f.Jd=g,f.Yc=F+E,f.Zc=4<=E?F+E-4+1:F,It(f)}function mt(f,g){for(var F=0;0<g--;)F|=Kt(f,128)<<g;return F}function ht(f,g){var F=mt(f,g);return Tt(f)?-F:F}function Ft(f,g,F,E){var I,P=0;for(t(f!=null),t(g!=null),t(4294967288>E),f.Sb=E,f.Ra=0,f.u=0,f.h=0,4<E&&(E=4),I=0;I<E;++I)P+=g[F+I]<<8*I;f.Ra=P,f.bb=E,f.oa=g,f.pa=F}function Vt(f){for(;8<=f.u&&f.bb<f.Sb;)f.Ra>>>=8,f.Ra+=f.oa[f.pa+f.bb]<<pi-8>>>0,++f.bb,f.u-=8;at(f)&&(f.h=1,f.u=0)}function Ht(f,g){if(t(0<=g),!f.h&&g<=JA){var F=it(f)&YA[g];return f.u+=g,Vt(f),F}return f.h=1,f.u=0}function O(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function X(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function it(f){return f.Ra>>>(f.u&pi-1)>>>0}function at(f){return t(f.bb<=f.Sb),f.h||f.bb==f.Sb&&f.u>pi}function ct(f,g){f.u=g,f.h=at(f)}function bt(f){f.u>=zr&&(t(f.u>=zr),Vt(f))}function It(f){t(f!=null&&f.oa!=null),f.pa<f.Zc?(f.I=(f.oa[f.pa++]|f.I<<8)>>>0,f.b+=8):(t(f!=null&&f.oa!=null),f.pa<f.Yc?(f.b+=8,f.I=f.oa[f.pa++]|f.I<<8):f.Ka?f.b=0:(f.I<<=8,f.b+=8,f.Ka=1))}function Tt(f){return mt(f,1)}function Kt(f,g){var F=f.Ca;0>f.b&&It(f);var E=f.b,I=F*g>>>8,P=(f.I>>>E>I)+0;for(P?(F-=I,f.I-=I+1<<E>>>0):F=I+1,E=F,I=0;256<=E;)I+=8,E>>=8;return E=7^I+Gr[E],f.b-=E,f.Ca=(F<<E)-1,P}function Xt(f,g,F){f[g+0]=F>>24&255,f[g+1]=F>>16&255,f[g+2]=F>>8&255,f[g+3]=255&F}function ae(f,g){return f[g+0]|f[g+1]<<8}function ie(f,g){return ae(f,g)|f[g+2]<<16}function fe(f,g){return ae(f,g)|ae(f,g+2)<<16}function q(f,g){var F=1<<g;return t(f!=null),t(0<g),f.X=i(F),f.X==null?0:(f.Mb=32-g,f.Xa=g,1)}function se(f,g){t(f!=null),t(g!=null),t(f.Xa==g.Xa),A(g.X,0,f.X,0,1<<g.Xa)}function Re(){this.X=[],this.Xa=this.Mb=0}function Se(f,g,F,E){t(F!=null),t(E!=null);var I=F[0],P=E[0];return I==0&&(I=(f*P+g/2)/g),P==0&&(P=(g*I+f/2)/f),0>=I||0>=P?0:(F[0]=I,E[0]=P,1)}function Gt(f,g){return f+(1<<g)-1>>>g}function Ee(f,g){return((4278255360&f)+(4278255360&g)>>>0&4278255360)+((16711935&f)+(16711935&g)>>>0&16711935)>>>0}function he(f,g){H[g]=function(F,E,I,P,R,j,W){var Z;for(Z=0;Z<R;++Z){var ut=H[f](j[W+Z-1],I,P+Z);j[W+Z]=Ee(F[E+Z],ut)}}}function ve(){this.ud=this.hd=this.jd=0}function ge(f,g){return((4278124286&(f^g))>>>1)+(f&g)>>>0}function ke(f){return 0<=f&&256>f?f:0>f?0:255<f?255:void 0}function k(f,g){return ke(f+(f-g+.5>>1))}function rt(f,g,F){return Math.abs(g-F)-Math.abs(f-F)}function nt(f,g,F,E,I,P,R){for(E=P[R-1],F=0;F<I;++F)P[R+F]=E=Ee(f[g+F],E)}function Ct(f,g,F,E,I){var P;for(P=0;P<F;++P){var R=f[g+P],j=R>>8&255,W=16711935&(W=(W=16711935&R)+((j<<16)+j));E[I+P]=(4278255360&R)+W>>>0}}function yt(f,g){g.jd=255&f,g.hd=f>>8&255,g.ud=f>>16&255}function _t(f,g,F,E,I,P){var R;for(R=0;R<E;++R){var j=g[F+R],W=j>>>8,Z=j,ut=255&(ut=(ut=j>>>16)+((f.jd<<24>>24)*(W<<24>>24)>>>5));Z=255&(Z=(Z+=(f.hd<<24>>24)*(W<<24>>24)>>>5)+((f.ud<<24>>24)*(ut<<24>>24)>>>5)),I[P+R]=(4278255360&j)+(ut<<16)+Z}}function Nt(f,g,F,E,I){H[g]=function(P,R,j,W,Z,ut,Ut,tt,dt){for(W=Ut;W<tt;++W)for(Ut=0;Ut<dt;++Ut)Z[ut++]=I(j[E(P[R++])])},H[f]=function(P,R,j,W,Z,ut,Ut){var tt=8>>P.b,dt=P.Ea,xt=P.K[0],Mt=P.w;if(8>tt)for(P=(1<<P.b)-1,Mt=(1<<tt)-1;R<j;++R){var Et,Rt=0;for(Et=0;Et<dt;++Et)Et&P||(Rt=E(W[Z++])),ut[Ut++]=I(xt[Rt&Mt]),Rt>>=tt}else H["VP8LMapColor"+F](W,Z,xt,Mt,ut,Ut,R,j,dt)}}function re(f,g,F,E,I){for(F=g+F;g<F;){var P=f[g++];E[I++]=P>>16&255,E[I++]=P>>8&255,E[I++]=255&P}}function te(f,g,F,E,I){for(F=g+F;g<F;){var P=f[g++];E[I++]=P>>16&255,E[I++]=P>>8&255,E[I++]=255&P,E[I++]=P>>24&255}}function Yt(f,g,F,E,I){for(F=g+F;g<F;){var P=(R=f[g++])>>16&240|R>>12&15,R=240&R|R>>28&15;E[I++]=P,E[I++]=R}}function Jt(f,g,F,E,I){for(F=g+F;g<F;){var P=(R=f[g++])>>16&248|R>>13&7,R=R>>5&224|R>>3&31;E[I++]=P,E[I++]=R}}function Be(f,g,F,E,I){for(F=g+F;g<F;){var P=f[g++];E[I++]=255&P,E[I++]=P>>8&255,E[I++]=P>>16&255}}function St(f,g,F,E,I,P){if(P==0)for(F=g+F;g<F;)Xt(E,((P=f[g++])[0]>>24|P[1]>>8&65280|P[2]<<8&16711680|P[3]<<24)>>>0),I+=32;else A(E,I,f,g,F)}function Zt(f,g){H[g][0]=H[f+"0"],H[g][1]=H[f+"1"],H[g][2]=H[f+"2"],H[g][3]=H[f+"3"],H[g][4]=H[f+"4"],H[g][5]=H[f+"5"],H[g][6]=H[f+"6"],H[g][7]=H[f+"7"],H[g][8]=H[f+"8"],H[g][9]=H[f+"9"],H[g][10]=H[f+"10"],H[g][11]=H[f+"11"],H[g][12]=H[f+"12"],H[g][13]=H[f+"13"],H[g][14]=H[f+"0"],H[g][15]=H[f+"0"]}function Ot(f){return f==Bd||f==bd||f==Cu||f==vd}function Wt(){this.eb=[],this.size=this.A=this.fb=0}function ee(){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 de(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Wt,this.f.kb=new ee,this.sd=null}function le(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function Le(){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 cn(f){return alert("todo:WebPSamplerProcessPlane"),f.T}function qe(f,g){var F=f.T,E=g.ba.f.RGBA,I=E.eb,P=E.fb+f.ka*E.A,R=Yr[g.ba.S],j=f.y,W=f.O,Z=f.f,ut=f.N,Ut=f.ea,tt=f.W,dt=g.cc,xt=g.dc,Mt=g.Mc,Et=g.Nc,Rt=f.ka,jt=f.ka+f.T,$t=f.U,zt=$t+1>>1;for(Rt==0?R(j,W,null,null,Z,ut,Ut,tt,Z,ut,Ut,tt,I,P,null,null,$t):(R(g.ec,g.fc,j,W,dt,xt,Mt,Et,Z,ut,Ut,tt,I,P-E.A,I,P,$t),++F);Rt+2<jt;Rt+=2)dt=Z,xt=ut,Mt=Ut,Et=tt,ut+=f.Rc,tt+=f.Rc,P+=2*E.A,R(j,(W+=2*f.fa)-f.fa,j,W,dt,xt,Mt,Et,Z,ut,Ut,tt,I,P-E.A,I,P,$t);return W+=f.fa,f.j+jt<f.o?(A(g.ec,g.fc,j,W,$t),A(g.cc,g.dc,Z,ut,zt),A(g.Mc,g.Nc,Ut,tt,zt),F--):1&jt||R(j,W,null,null,Z,ut,Ut,tt,Z,ut,Ut,tt,I,P+E.A,null,null,$t),F}function aA(f,g,F){var E=f.F,I=[f.J];if(E!=null){var P=f.U,R=g.ba.S,j=R==xu||R==Cu;g=g.ba.f.RGBA;var W=[0],Z=f.ka;W[0]=f.T,f.Kb&&(Z==0?--W[0]:(--Z,I[0]-=f.width),f.j+f.ka+f.T==f.o&&(W[0]=f.o-f.j-Z));var ut=g.eb;Z=g.fb+Z*g.A,f=Cr(E,I[0],f.width,P,W,ut,Z+(j?0:3),g.A),t(F==W),f&&Ot(R)&&Xr(ut,Z,j,P,W,g.A)}return 0}function wA(f){var g=f.ma,F=g.ba.S,E=11>F,I=F==vu||F==yu||F==xu||F==md||F==12||Ot(F);if(g.memory=null,g.Ib=null,g.Jb=null,g.Nd=null,!Js(g.Oa,f,I?11:12))return 0;if(I&&Ot(F)&&as(),f.da)alert("todo:use_scaling");else{if(E){if(g.Ib=cn,f.Kb){if(F=f.U+1>>1,g.memory=i(f.U+2*F),g.memory==null)return 0;g.ec=g.memory,g.fc=0,g.cc=g.ec,g.dc=g.fc+f.U,g.Mc=g.cc,g.Nc=g.dc+F,g.Ib=qe,as()}}else alert("todo:EmitYUV");I&&(g.Jb=aA,E&&xA())}if(E&&!Dw){for(f=0;256>f;++f)gF[f]=89858*(f-128)+_u>>Fu,BF[f]=-22014*(f-128)+_u,mF[f]=-45773*(f-128),wF[f]=113618*(f-128)+_u>>Fu;for(f=$l;f<Cd;++f)g=76283*(f-16)+_u>>Fu,bF[f-$l]=Ie(g,255),vF[f-$l]=Ie(g+8>>4,15);Dw=1}return 1}function Qe(f){var g=f.ma,F=f.U,E=f.T;return t(!(1&f.ka)),0>=F||0>=E?0:(F=g.Ib(f,g),g.Jb!=null&&g.Jb(f,g,F),g.Dc+=F,1)}function oi(f){f.ma.memory=null}function sr(f,g,F,E){return Ht(f,8)!=47?0:(g[0]=Ht(f,14)+1,F[0]=Ht(f,14)+1,E[0]=Ht(f,1),Ht(f,3)!=0?0:!f.h)}function SA(f,g){if(4>f)return f+1;var F=f-2>>1;return(2+(1&f)<<F)+Ht(g,F)+1}function LA(f,g){return 120<g?g-120:1<=(F=((F=nF[g-1])>>4)*f+(8-(15&F)))?F:1;var F}function Qn(f,g,F){var E=it(F),I=f[g+=255&E].g-8;return 0<I&&(ct(F,F.u+8),E=it(F),g+=f[g].value,g+=E&(1<<I)-1),ct(F,F.u+f[g].g),f[g].value}function Pn(f,g,F){return F.g+=f.g,F.value+=f.value<<g>>>0,t(8>=F.g),f.g}function iA(f,g,F){var E=f.xc;return t((g=E==0?0:f.vc[f.md*(F>>E)+(g>>E)])<f.Wb),f.Ya[g]}function or(f,g,F,E){var I=f.ab,P=f.c*g,R=f.C;g=R+g;var j=F,W=E;for(E=f.Ta,F=f.Ua;0<I--;){var Z=f.gc[I],ut=R,Ut=g,tt=j,dt=W,xt=(W=E,j=F,Z.Ea);switch(t(ut<Ut),t(Ut<=Z.nc),Z.hc){case 2:c(tt,dt,(Ut-ut)*xt,W,j);break;case 0:var Mt=ut,Et=Ut,Rt=W,jt=j,$t=(ye=Z).Ea;Mt==0&&(Jo(tt,dt,null,null,1,Rt,jt),nt(tt,dt+1,0,0,$t-1,Rt,jt+1),dt+=$t,jt+=$t,++Mt);for(var zt=1<<ye.b,Ce=zt-1,we=Gt($t,ye.b),ze=ye.K,ye=ye.w+(Mt>>ye.b)*we;Mt<Et;){var tn=ze,uA=ye,Ge=1;for(to(tt,dt,Rt,jt-$t,1,Rt,jt);Ge<$t;){var xe=(Ge&~Ce)+zt;xe>$t&&(xe=$t),(0,Q[tn[uA++]>>8&15])(tt,dt+ +Ge,Rt,jt+Ge-$t,xe-Ge,Rt,jt+Ge),Ge=xe}dt+=$t,jt+=$t,++Mt&Ce||(ye+=we)}Ut!=Z.nc&&A(W,j-xt,W,j+(Ut-ut-1)*xt,xt);break;case 1:for(xt=tt,Et=dt,$t=(tt=Z.Ea)-(jt=tt&~(Rt=(dt=1<<Z.b)-1)),Mt=Gt(tt,Z.b),zt=Z.K,Z=Z.w+(ut>>Z.b)*Mt;ut<Ut;){for(Ce=zt,we=Z,ze=new ve,ye=Et+jt,tn=Et+tt;Et<ye;)yt(Ce[we++],ze),D(ze,xt,Et,dt,W,j),Et+=dt,j+=dt;Et<tn&&(yt(Ce[we++],ze),D(ze,xt,Et,$t,W,j),Et+=$t,j+=$t),++ut&Rt||(Z+=Mt)}break;case 3:if(tt==W&&dt==j&&0<Z.b){for(Et=W,tt=xt=j+(Ut-ut)*xt-(jt=(Ut-ut)*Gt(Z.Ea,Z.b)),dt=W,Rt=j,Mt=[],jt=($t=jt)-1;0<=jt;--jt)Mt[jt]=dt[Rt+jt];for(jt=$t-1;0<=jt;--jt)Et[tt+jt]=Mt[jt];d(Z,ut,Ut,W,xt,W,j)}else d(Z,ut,Ut,tt,dt,W,j)}j=E,W=F}W!=F&&A(E,F,j,W,P)}function ai(f,g){var F=f.V,E=f.Ba+f.c*f.C,I=g-f.C;if(t(g<=f.l.o),t(16>=I),0<I){var P=f.l,R=f.Ta,j=f.Ua,W=P.width;if(or(f,I,F,E),I=j=[j],t((F=f.C)<(E=g)),t(P.v<P.va),E>P.o&&(E=P.o),F<P.j){var Z=P.j-F;F=P.j,I[0]+=Z*W}if(F>=E?F=0:(I[0]+=4*P.v,P.ka=F-P.j,P.U=P.va-P.v,P.T=E-F,F=1),F){if(j=j[0],11>(F=f.ca).S){var ut=F.f.RGBA,Ut=(E=F.S,I=P.U,P=P.T,Z=ut.eb,ut.A),tt=P;for(ut=ut.fb+f.Ma*ut.A;0<tt--;){var dt=R,xt=j,Mt=I,Et=Z,Rt=ut;switch(E){case bu:st(dt,xt,Mt,Et,Rt);break;case vu:J(dt,xt,Mt,Et,Rt);break;case Bd:J(dt,xt,Mt,Et,Rt),Xr(Et,Rt,0,Mt,1,0);break;case Lw:kt(dt,xt,Mt,Et,Rt);break;case yu:St(dt,xt,Mt,Et,Rt,1);break;case bd:St(dt,xt,Mt,Et,Rt,1),Xr(Et,Rt,0,Mt,1,0);break;case xu:St(dt,xt,Mt,Et,Rt,0);break;case Cu:St(dt,xt,Mt,Et,Rt,0),Xr(Et,Rt,1,Mt,1,0);break;case md:ft(dt,xt,Mt,Et,Rt);break;case vd:ft(dt,xt,Mt,Et,Rt),ps(Et,Rt,Mt,1,0);break;case Iw:vt(dt,xt,Mt,Et,Rt);break;default:t(0)}j+=W,ut+=Ut}f.Ma+=P}else alert("todo:EmitRescaledRowsYUVA");t(f.Ma<=F.height)}}f.C=g,t(f.C<=f.i)}function ar(f){var g;if(0<f.ua)return 0;for(g=0;g<f.Wb;++g){var F=f.Ya[g].G,E=f.Ya[g].H;if(0<F[1][E[1]+0].g||0<F[2][E[2]+0].g||0<F[3][E[3]+0].g)return 0}return 1}function vr(f,g,F,E,I,P){if(f.Z!=0){var R=f.qd,j=f.rd;for(t(Ao[f.Z]!=null);g<F;++g)Ao[f.Z](R,j,E,I,E,I,P),R=E,j=I,I+=P;f.qd=R,f.rd=j}}function lr(f,g){var F=f.l.ma,E=F.Z==0||F.Z==1?f.l.j:f.C;if(E=f.C<E?E:f.C,t(g<=f.l.o),g>E){var I=f.l.width,P=F.ca,R=F.tb+I*E,j=f.V,W=f.Ba+f.c*E,Z=f.gc;t(f.ab==1),t(Z[0].hc==3),x(Z[0],E,g,j,W,P,R),vr(F,E,g,P,R,I)}f.C=f.Ma=g}function GA(f,g,F,E,I,P,R){var j=f.$/E,W=f.$%E,Z=f.m,ut=f.s,Ut=F+f.$,tt=Ut;I=F+E*I;var dt=F+E*P,xt=280+ut.ua,Mt=f.Pb?j:16777216,Et=0<ut.ua?ut.Wa:null,Rt=ut.wc,jt=Ut<dt?iA(ut,W,j):null;t(f.C<P),t(dt<=I);var $t=!1;t:for(;;){for(;$t||Ut<dt;){var zt=0;if(j>=Mt){var Ce=Ut-F;t((Mt=f).Pb),Mt.wd=Mt.m,Mt.xd=Ce,0<Mt.s.ua&&se(Mt.s.Wa,Mt.s.vb),Mt=j+rF}if(W&Rt||(jt=iA(ut,W,j)),t(jt!=null),jt.Qb&&(g[Ut]=jt.qb,$t=!0),!$t)if(bt(Z),jt.jc){zt=Z,Ce=g;var we=Ut,ze=jt.pd[it(zt)&ds-1];t(jt.jc),256>ze.g?(ct(zt,zt.u+ze.g),Ce[we]=ze.value,zt=0):(ct(zt,zt.u+ze.g-256),t(256<=ze.value),zt=ze.value),zt==0&&($t=!0)}else zt=Qn(jt.G[0],jt.H[0],Z);if(Z.h)break;if($t||256>zt){if(!$t)if(jt.nd)g[Ut]=(jt.qb|zt<<8)>>>0;else{if(bt(Z),$t=Qn(jt.G[1],jt.H[1],Z),bt(Z),Ce=Qn(jt.G[2],jt.H[2],Z),we=Qn(jt.G[3],jt.H[3],Z),Z.h)break;g[Ut]=(we<<24|$t<<16|zt<<8|Ce)>>>0}if($t=!1,++Ut,++W>=E&&(W=0,++j,R!=null&&j<=P&&!(j%16)&&R(f,j),Et!=null))for(;tt<Ut;)zt=g[tt++],Et.X[(506832829*zt&4294967295)>>>Et.Mb]=zt}else if(280>zt){if(zt=SA(zt-256,Z),Ce=Qn(jt.G[4],jt.H[4],Z),bt(Z),Ce=LA(E,Ce=SA(Ce,Z)),Z.h)break;if(Ut-F<Ce||I-Ut<zt)break t;for(we=0;we<zt;++we)g[Ut+we]=g[Ut+we-Ce];for(Ut+=zt,W+=zt;W>=E;)W-=E,++j,R!=null&&j<=P&&!(j%16)&&R(f,j);if(t(Ut<=I),W&Rt&&(jt=iA(ut,W,j)),Et!=null)for(;tt<Ut;)zt=g[tt++],Et.X[(506832829*zt&4294967295)>>>Et.Mb]=zt}else{if(!(zt<xt))break t;for($t=zt-280,t(Et!=null);tt<Ut;)zt=g[tt++],Et.X[(506832829*zt&4294967295)>>>Et.Mb]=zt;zt=Ut,t(!($t>>>(Ce=Et).Xa)),g[zt]=Ce.X[$t],$t=!0}$t||t(Z.h==at(Z))}if(f.Pb&&Z.h&&Ut<I)t(f.m.h),f.a=5,f.m=f.wd,f.$=f.xd,0<f.s.ua&&se(f.s.vb,f.s.Wa);else{if(Z.h)break t;R?.(f,j>P?P:j),f.a=0,f.$=Ut-F}return 1}return f.a=3,0}function yA(f){t(f!=null),f.vc=null,f.yc=null,f.Ya=null;var g=f.Wa;g!=null&&(g.X=null),f.vb=null,t(f!=null)}function es(){var f=new Ne;return f==null?null:(f.a=0,f.xb=Nw,Zt("Predictor","VP8LPredictors"),Zt("Predictor","VP8LPredictors_C"),Zt("PredictorAdd","VP8LPredictorsAdd"),Zt("PredictorAdd","VP8LPredictorsAdd_C"),c=Ct,D=_t,st=re,J=te,ft=Yt,vt=Jt,kt=Be,H.VP8LMapColor32b=m,H.VP8LMapColor8b=U,f)}function Pr(f,g,F,E,I){var P=1,R=[f],j=[g],W=E.m,Z=E.s,ut=null,Ut=0;t:for(;;){if(F)for(;P&&Ht(W,1);){var tt=R,dt=j,xt=E,Mt=1,Et=xt.m,Rt=xt.gc[xt.ab],jt=Ht(Et,2);if(xt.Oc&1<<jt)P=0;else{switch(xt.Oc|=1<<jt,Rt.hc=jt,Rt.Ea=tt[0],Rt.nc=dt[0],Rt.K=[null],++xt.ab,t(4>=xt.ab),jt){case 0:case 1:Rt.b=Ht(Et,3)+2,Mt=Pr(Gt(Rt.Ea,Rt.b),Gt(Rt.nc,Rt.b),0,xt,Rt.K),Rt.K=Rt.K[0];break;case 3:var $t,zt=Ht(Et,8)+1,Ce=16<zt?0:4<zt?1:2<zt?2:3;if(tt[0]=Gt(Rt.Ea,Ce),Rt.b=Ce,$t=Mt=Pr(zt,1,0,xt,Rt.K)){var we,ze=zt,ye=Rt,tn=1<<(8>>ye.b),uA=i(tn);if(uA==null)$t=0;else{var Ge=ye.K[0],xe=ye.w;for(uA[0]=ye.K[0][0],we=1;we<1*ze;++we)uA[we]=Ee(Ge[xe+we],uA[we-1]);for(;we<4*tn;++we)uA[we]=0;ye.K[0]=null,ye.K[0]=uA,$t=1}}Mt=$t;break;case 2:break;default:t(0)}P=Mt}}if(R=R[0],j=j[0],P&&Ht(W,1)&&!(P=1<=(Ut=Ht(W,4))&&11>=Ut)){E.a=3;break t}var oe;if(oe=P)e:{var zn,We,An,Fn=E,FA=R,ZA=j,Rn=Ut,NA=F,tr=Fn.m,fA=Fn.s,rn=[null],fn=1,Kn=0,hn=AF[Rn];n:for(;;){if(NA&&Ht(tr,1)){var _A=Ht(tr,3)+2,Bi=Gt(FA,_A),Gn=Gt(ZA,_A),fr=Bi*Gn;if(!Pr(Bi,Gn,0,Fn,rn))break n;for(rn=rn[0],fA.xc=_A,zn=0;zn<fr;++zn){var wn=rn[zn]>>8&65535;rn[zn]=wn,wn>=fn&&(fn=wn+1)}}if(tr.h)break n;for(We=0;5>We;++We){var hA=kw[We];!We&&0<Rn&&(hA+=1<<Rn),Kn<hA&&(Kn=hA)}var _r=s(fn*hn,et),er=fn,Er=s(er,pt);if(Er==null)var Ur=null;else t(65536>=er),Ur=Er;var hr=i(Kn);if(Ur==null||hr==null||_r==null){Fn.a=1;break n}var Qr=_r;for(zn=An=0;zn<fn;++zn){var vn=Ur[zn],Sr=vn.G,bi=vn.H,Zo=0,ws=1,EA=0;for(We=0;5>We;++We){hA=kw[We],Sr[We]=Qr,bi[We]=An,!We&&0<Rn&&(hA+=1<<Rn);r:{var Uu,Fd=hA,Qu=Fn,Yl=hr,CF=Qr,FF=An,_d=0,ro=Qu.m,_F=Ht(ro,1);if(r(Yl,0,0,Fd),_F){var EF=Ht(ro,1)+1,UF=Ht(ro,1),jw=Ht(ro,UF==0?1:8);Yl[jw]=1,EF==2&&(Yl[jw=Ht(ro,8)]=1);var Su=1}else{var Vw=i(19),Ww=Ht(ro,4)+4;if(19<Ww){Qu.a=3;var Lu=0;break r}for(Uu=0;Uu<Ww;++Uu)Vw[eF[Uu]]=Ht(ro,3);var Ed=void 0,Jl=void 0,qw=Qu,QF=Vw,Iu=Fd,zw=Yl,Ud=0,io=qw.m,Gw=8,Xw=s(128,et);A:for(;K(Xw,0,7,QF,19);){if(Ht(io,1)){var SF=2+2*Ht(io,3);if((Ed=2+Ht(io,SF))>Iu)break A}else Ed=Iu;for(Jl=0;Jl<Iu&&Ed--;){bt(io);var $w=Xw[0+(127&it(io))];ct(io,io.u+$w.g);var Ja=$w.value;if(16>Ja)zw[Jl++]=Ja,Ja!=0&&(Gw=Ja);else{var LF=Ja==16,Yw=Ja-16,IF=ZC[Yw],Jw=Ht(io,JC[Yw])+IF;if(Jl+Jw>Iu)break A;for(var kF=LF?Gw:0;0<Jw--;)zw[Jl++]=kF}}Ud=1;break A}Ud||(qw.a=3),Su=Ud}(Su=Su&&!ro.h)&&(_d=K(CF,FF,8,Yl,Fd)),Su&&_d!=0?Lu=_d:(Qu.a=3,Lu=0)}if(Lu==0)break n;if(ws&&tF[We]==1&&(ws=Qr[An].g==0),Zo+=Qr[An].g,An+=Lu,3>=We){var Zl,Qd=hr[0];for(Zl=1;Zl<hA;++Zl)hr[Zl]>Qd&&(Qd=hr[Zl]);EA+=Qd}}if(vn.nd=ws,vn.Qb=0,ws&&(vn.qb=(Sr[3][bi[3]+0].value<<24|Sr[1][bi[1]+0].value<<16|Sr[2][bi[2]+0].value)>>>0,Zo==0&&256>Sr[0][bi[0]+0].value&&(vn.Qb=1,vn.qb+=Sr[0][bi[0]+0].value<<8)),vn.jc=!vn.Qb&&6>EA,vn.jc){var ku,ms=vn;for(ku=0;ku<ds;++ku){var so=ku,oo=ms.pd[so],Tu=ms.G[0][ms.H[0]+so];256<=Tu.value?(oo.g=Tu.g+256,oo.value=Tu.value):(oo.g=0,oo.value=0,so>>=Pn(Tu,8,oo),so>>=Pn(ms.G[1][ms.H[1]+so],16,oo),so>>=Pn(ms.G[2][ms.H[2]+so],0,oo),Pn(ms.G[3][ms.H[3]+so],24,oo))}}}fA.vc=rn,fA.Wb=fn,fA.Ya=Ur,fA.yc=_r,oe=1;break e}oe=0}if(!(P=oe)){E.a=3;break t}if(0<Ut){if(Z.ua=1<<Ut,!q(Z.Wa,Ut)){E.a=1,P=0;break t}}else Z.ua=0;var Sd=E,Zw=R,TF=j,Ld=Sd.s,Id=Ld.xc;if(Sd.c=Zw,Sd.i=TF,Ld.md=Gt(Zw,Id),Ld.wc=Id==0?-1:(1<<Id)-1,F){E.xb=uF;break t}if((ut=i(R*j))==null){E.a=1,P=0;break t}P=(P=GA(E,ut,0,R,j,j,null))&&!W.h;break t}return P?(I!=null?I[0]=ut:(t(ut==null),t(F)),E.$=0,F||yA(Z)):yA(Z),P}function ns(f,g){var F=f.c*f.i,E=F+g+16*g;return t(f.c<=g),f.V=i(E),f.V==null?(f.Ta=null,f.Ua=0,f.a=1,0):(f.Ta=f.V,f.Ua=f.Ba+F+g,1)}function Hs(f,g){var F=f.C,E=g-F,I=f.V,P=f.Ba+f.c*F;for(t(g<=f.l.o);0<E;){var R=16<E?16:E,j=f.l.ma,W=f.l.width,Z=W*R,ut=j.ca,Ut=j.tb+W*F,tt=f.Ta,dt=f.Ua;or(f,R,I,P),Fw(tt,dt,ut,Ut,Z),vr(j,F,F+R,ut,Ut,W),E-=R,I+=R*f.c,F+=R}t(F==g),f.C=f.Ma=g}function As(){this.ub=this.yd=this.td=this.Rb=0}function Ps(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Li(){this.Fb=this.Bb=this.Cb=0,this.Zb=i(4),this.Lb=i(4)}function Ii(){this.Yb=(function(){var f=[];return(function g(F,E,I){for(var P=I[E],R=0;R<P&&(F.push(I.length>E+1?[]:0),!(I.length<E+1));R++)g(F[R],E+1,I)})(f,0,[3,11]),f})()}function Mo(){this.jb=i(3),this.Wc=o([4,8],Ii),this.Xc=o([4,17],Ii)}function ja(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new i(4),this.od=new i(4)}function IA(){this.ld=this.La=this.dd=this.tc=0}function ki(){this.Na=this.la=0}function Va(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Do(){this.ad=i(384),this.Za=0,this.Ob=i(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function Mr(){this.uc=this.M=this.Nb=0,this.wa=Array(new IA),this.Y=0,this.ya=Array(new Do),this.aa=0,this.l=new Wn}function Ti(){this.y=i(16),this.f=i(8),this.ea=i(8)}function Ni(){this.cb=this.a=0,this.sc="",this.m=new O,this.Od=new As,this.Kc=new Ps,this.ed=new ja,this.Qa=new Li,this.Ic=this.$c=this.Aa=0,this.D=new Mr,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=s(8,O),this.ia=0,this.pb=s(4,Va),this.Pa=new Mo,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Ti),this.Hd=0,this.rb=Array(new ki),this.sb=0,this.wa=Array(new IA),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 Do),this.L=this.aa=0,this.gd=o([4,2],IA),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 Ie(f,g){return 0>f?0:f>g?g:f}function Wn(){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 Wl(){var f=new Ni;return f!=null&&(f.a=0,f.sc="OK",f.cb=0,f.Xb=0,Xl||(Xl=rs)),f}function Mn(f,g,F){return f.a==0&&(f.a=g,f.sc=F,f.cb=0),0}function Wa(f,g,F){return 3<=F&&f[g+0]==157&&f[g+1]==1&&f[g+2]==42}function yr(f,g){if(f==null)return 0;if(f.a=0,f.sc="OK",g==null)return Mn(f,2,"null VP8Io passed to VP8GetHeaders()");var F=g.data,E=g.w,I=g.ha;if(4>I)return Mn(f,7,"Truncated header.");var P=F[E+0]|F[E+1]<<8|F[E+2]<<16,R=f.Od;if(R.Rb=!(1&P),R.td=P>>1&7,R.yd=P>>4&1,R.ub=P>>5,3<R.td)return Mn(f,3,"Incorrect keyframe parameters.");if(!R.yd)return Mn(f,4,"Frame not displayable.");E+=3,I-=3;var j=f.Kc;if(R.Rb){if(7>I)return Mn(f,7,"cannot parse picture header");if(!Wa(F,E,I))return Mn(f,3,"Bad code word");j.c=16383&(F[E+4]<<8|F[E+3]),j.Td=F[E+4]>>6,j.i=16383&(F[E+6]<<8|F[E+5]),j.Ud=F[E+6]>>6,E+=7,I-=7,f.za=j.c+15>>4,f.Ub=j.i+15>>4,g.width=j.c,g.height=j.i,g.Da=0,g.j=0,g.v=0,g.va=g.width,g.o=g.height,g.da=0,g.ib=g.width,g.hb=g.height,g.U=g.width,g.T=g.height,r((P=f.Pa).jb,0,255,P.jb.length),t((P=f.Qa)!=null),P.Cb=0,P.Bb=0,P.Fb=1,r(P.Zb,0,0,P.Zb.length),r(P.Lb,0,0,P.Lb)}if(R.ub>I)return Mn(f,7,"bad partition length");gt(P=f.m,F,E,R.ub),E+=R.ub,I-=R.ub,R.Rb&&(j.Ld=Tt(P),j.Kd=Tt(P)),j=f.Qa;var W,Z=f.Pa;if(t(P!=null),t(j!=null),j.Cb=Tt(P),j.Cb){if(j.Bb=Tt(P),Tt(P)){for(j.Fb=Tt(P),W=0;4>W;++W)j.Zb[W]=Tt(P)?ht(P,7):0;for(W=0;4>W;++W)j.Lb[W]=Tt(P)?ht(P,6):0}if(j.Bb)for(W=0;3>W;++W)Z.jb[W]=Tt(P)?mt(P,8):255}else j.Bb=0;if(P.Ka)return Mn(f,3,"cannot parse segment header");if((j=f.ed).zd=Tt(P),j.Tb=mt(P,6),j.wb=mt(P,3),j.Pc=Tt(P),j.Pc&&Tt(P)){for(Z=0;4>Z;++Z)Tt(P)&&(j.vd[Z]=ht(P,6));for(Z=0;4>Z;++Z)Tt(P)&&(j.od[Z]=ht(P,6))}if(f.L=j.Tb==0?0:j.zd?1:2,P.Ka)return Mn(f,3,"cannot parse filter header");var ut=I;if(I=W=E,E=W+ut,j=ut,f.Xb=(1<<mt(f.m,2))-1,ut<3*(Z=f.Xb))F=7;else{for(W+=3*Z,j-=3*Z,ut=0;ut<Z;++ut){var Ut=F[I+0]|F[I+1]<<8|F[I+2]<<16;Ut>j&&(Ut=j),gt(f.Jc[+ut],F,W,Ut),W+=Ut,j-=Ut,I+=3}gt(f.Jc[+Z],F,W,j),F=W<E?0:5}if(F!=0)return Mn(f,F,"cannot parse partitions");for(F=mt(W=f.m,7),I=Tt(W)?ht(W,4):0,E=Tt(W)?ht(W,4):0,j=Tt(W)?ht(W,4):0,Z=Tt(W)?ht(W,4):0,W=Tt(W)?ht(W,4):0,ut=f.Qa,Ut=0;4>Ut;++Ut){if(ut.Cb){var tt=ut.Zb[Ut];ut.Fb||(tt+=F)}else{if(0<Ut){f.pb[Ut]=f.pb[0];continue}tt=F}var dt=f.pb[Ut];dt.Sc[0]=yd[Ie(tt+I,127)],dt.Sc[1]=xd[Ie(tt+0,127)],dt.Eb[0]=2*yd[Ie(tt+E,127)],dt.Eb[1]=101581*xd[Ie(tt+j,127)]>>16,8>dt.Eb[1]&&(dt.Eb[1]=8),dt.Qc[0]=yd[Ie(tt+Z,117)],dt.Qc[1]=xd[Ie(tt+W,127)],dt.lc=tt+W}if(!R.Rb)return Mn(f,4,"Not a key frame.");for(Tt(P),R=f.Pa,F=0;4>F;++F){for(I=0;8>I;++I)for(E=0;3>E;++E)for(j=0;11>j;++j)Z=Kt(P,lF[F][I][E][j])?mt(P,8):oF[F][I][E][j],R.Wc[F][I].Yb[E][j]=Z;for(I=0;17>I;++I)R.Xc[F][I]=R.Wc[F][cF[I]]}return f.kc=Tt(P),f.kc&&(f.Bd=mt(P,8)),f.cb=1}function rs(f,g,F,E,I,P,R){var j=g[I].Yb[F];for(F=0;16>I;++I){if(!Kt(f,j[F+0]))return I;for(;!Kt(f,j[F+1]);)if(j=g[++I].Yb[0],F=0,I==16)return 16;var W=g[I+1].Yb;if(Kt(f,j[F+2])){var Z=f,ut=0;if(Kt(Z,(tt=j)[(Ut=F)+3]))if(Kt(Z,tt[Ut+6])){for(j=0,Ut=2*(ut=Kt(Z,tt[Ut+8]))+(tt=Kt(Z,tt[Ut+9+ut])),ut=0,tt=iF[Ut];tt[j];++j)ut+=ut+Kt(Z,tt[j]);ut+=3+(8<<Ut)}else Kt(Z,tt[Ut+7])?(ut=7+2*Kt(Z,165),ut+=Kt(Z,145)):ut=5+Kt(Z,159);else ut=Kt(Z,tt[Ut+4])?3+Kt(Z,tt[Ut+5]):2;j=W[2]}else ut=1,j=W[1];W=R+sF[I],0>(Z=f).b&&It(Z);var Ut,tt=Z.b,dt=(Ut=Z.Ca>>1)-(Z.I>>tt)>>31;--Z.b,Z.Ca+=dt,Z.Ca|=1,Z.I-=(Ut+1&dt)<<tt,P[W]=((ut^dt)-dt)*E[(0<I)+0]}return 16}function Oi(f){var g=f.rb[f.sb-1];g.la=0,g.Na=0,r(f.zc,0,0,f.zc.length),f.ja=0}function qn(f,g,F,E,I){I=f[g+F+32*E]+(I>>3),f[g+F+32*E]=-256&I?0>I?0:255:I}function Sn(f,g,F,E,I,P){qn(f,g,0,F,E+I),qn(f,g,1,F,E+P),qn(f,g,2,F,E-P),qn(f,g,3,F,E-I)}function li(f){return(20091*f>>16)+f}function qa(f,g,F,E){var I,P=0,R=i(16);for(I=0;4>I;++I){var j=f[g+0]+f[g+8],W=f[g+0]-f[g+8],Z=(35468*f[g+4]>>16)-li(f[g+12]),ut=li(f[g+4])+(35468*f[g+12]>>16);R[P+0]=j+ut,R[P+1]=W+Z,R[P+2]=W-Z,R[P+3]=j-ut,P+=4,g++}for(I=P=0;4>I;++I)j=(f=R[P+0]+4)+R[P+8],W=f-R[P+8],Z=(35468*R[P+4]>>16)-li(R[P+12]),qn(F,E,0,0,j+(ut=li(R[P+4])+(35468*R[P+12]>>16))),qn(F,E,1,0,W+Z),qn(F,E,2,0,W-Z),qn(F,E,3,0,j-ut),P++,E+=32}function Ms(f,g,F,E){var I=f[g+0]+4,P=35468*f[g+4]>>16,R=li(f[g+4]),j=35468*f[g+1]>>16;Sn(F,E,0,I+R,f=li(f[g+1]),j),Sn(F,E,1,I+P,f,j),Sn(F,E,2,I-P,f,j),Sn(F,E,3,I-R,f,j)}function za(f,g,F,E,I){qa(f,g,F,E),I&&qa(f,g+16,F,E+4)}function Dr(f,g,F,E){Qt(f,g+0,F,E,1),Qt(f,g+32,F,E+128,1)}function Ds(f,g,F,E){var I;for(f=f[g+0]+4,I=0;4>I;++I)for(g=0;4>g;++g)qn(F,E,g,I,f)}function Ro(f,g,F,E){f[g+0]&&Ae(f,g+0,F,E),f[g+16]&&Ae(f,g+16,F,E+4),f[g+32]&&Ae(f,g+32,F,E+128),f[g+48]&&Ae(f,g+48,F,E+128+4)}function Rs(f,g,F,E){var I,P=i(16);for(I=0;4>I;++I){var R=f[g+0+I]+f[g+12+I],j=f[g+4+I]+f[g+8+I],W=f[g+4+I]-f[g+8+I],Z=f[g+0+I]-f[g+12+I];P[0+I]=R+j,P[8+I]=R-j,P[4+I]=Z+W,P[12+I]=Z-W}for(I=0;4>I;++I)R=(f=P[0+4*I]+3)+P[3+4*I],j=P[1+4*I]+P[2+4*I],W=P[1+4*I]-P[2+4*I],Z=f-P[3+4*I],F[E+0]=R+j>>3,F[E+16]=Z+W>>3,F[E+32]=R-j>>3,F[E+48]=Z-W>>3,E+=64}function cr(f,g,F){var E,I=g-32,P=Fr,R=255-f[I-1];for(E=0;E<F;++E){var j,W=P,Z=R+f[g-1];for(j=0;j<F;++j)f[g+j]=W[Z+f[I+j]];g+=32}}function is(f,g){cr(f,g,4)}function ql(f,g){cr(f,g,8)}function Ga(f,g){cr(f,g,16)}function XA(f,g){var F;for(F=0;16>F;++F)A(f,g+32*F,f,g-32,16)}function lA(f,g){var F;for(F=16;0<F;--F)r(f,g,f[g-1],16),g+=32}function ur(f,g,F){var E;for(E=0;16>E;++E)r(g,F+32*E,f,16)}function Ko(f,g){var F,E=16;for(F=0;16>F;++F)E+=f[g-1+32*F]+f[g+F-32];ur(E>>5,f,g)}function ss(f,g){var F,E=8;for(F=0;16>F;++F)E+=f[g-1+32*F];ur(E>>4,f,g)}function Ks(f,g){var F,E=8;for(F=0;16>F;++F)E+=f[g+F-32];ur(E>>4,f,g)}function zl(f,g){ur(128,f,g)}function He(f,g,F){return f+2*g+F+2>>2}function Hi(f,g){var F,E=g-32;for(E=new Uint8Array([He(f[E-1],f[E+0],f[E+1]),He(f[E+0],f[E+1],f[E+2]),He(f[E+1],f[E+2],f[E+3]),He(f[E+2],f[E+3],f[E+4])]),F=0;4>F;++F)A(f,g+32*F,E,0,E.length)}function js(f,g){var F=f[g-1],E=f[g-1+32],I=f[g-1+64],P=f[g-1+96];Xt(f,g+0,16843009*He(f[g-1-32],F,E)),Xt(f,g+32,16843009*He(F,E,I)),Xt(f,g+64,16843009*He(E,I,P)),Xt(f,g+96,16843009*He(I,P,P))}function Xa(f,g){var F,E=4;for(F=0;4>F;++F)E+=f[g+F-32]+f[g-1+32*F];for(E>>=3,F=0;4>F;++F)r(f,g+32*F,E,4)}function kA(f,g){var F=f[g-1+0],E=f[g-1+32],I=f[g-1+64],P=f[g-1-32],R=f[g+0-32],j=f[g+1-32],W=f[g+2-32],Z=f[g+3-32];f[g+0+96]=He(E,I,f[g-1+96]),f[g+1+96]=f[g+0+64]=He(F,E,I),f[g+2+96]=f[g+1+64]=f[g+0+32]=He(P,F,E),f[g+3+96]=f[g+2+64]=f[g+1+32]=f[g+0+0]=He(R,P,F),f[g+3+64]=f[g+2+32]=f[g+1+0]=He(j,R,P),f[g+3+32]=f[g+2+0]=He(W,j,R),f[g+3+0]=He(Z,W,j)}function TA(f,g){var F=f[g+1-32],E=f[g+2-32],I=f[g+3-32],P=f[g+4-32],R=f[g+5-32],j=f[g+6-32],W=f[g+7-32];f[g+0+0]=He(f[g+0-32],F,E),f[g+1+0]=f[g+0+32]=He(F,E,I),f[g+2+0]=f[g+1+32]=f[g+0+64]=He(E,I,P),f[g+3+0]=f[g+2+32]=f[g+1+64]=f[g+0+96]=He(I,P,R),f[g+3+32]=f[g+2+64]=f[g+1+96]=He(P,R,j),f[g+3+64]=f[g+2+96]=He(R,j,W),f[g+3+96]=He(j,W,W)}function jo(f,g){var F=f[g-1+0],E=f[g-1+32],I=f[g-1+64],P=f[g-1-32],R=f[g+0-32],j=f[g+1-32],W=f[g+2-32],Z=f[g+3-32];f[g+0+0]=f[g+1+64]=P+R+1>>1,f[g+1+0]=f[g+2+64]=R+j+1>>1,f[g+2+0]=f[g+3+64]=j+W+1>>1,f[g+3+0]=W+Z+1>>1,f[g+0+96]=He(I,E,F),f[g+0+64]=He(E,F,P),f[g+0+32]=f[g+1+96]=He(F,P,R),f[g+1+32]=f[g+2+96]=He(P,R,j),f[g+2+32]=f[g+3+96]=He(R,j,W),f[g+3+32]=He(j,W,Z)}function Vs(f,g){var F=f[g+0-32],E=f[g+1-32],I=f[g+2-32],P=f[g+3-32],R=f[g+4-32],j=f[g+5-32],W=f[g+6-32],Z=f[g+7-32];f[g+0+0]=F+E+1>>1,f[g+1+0]=f[g+0+64]=E+I+1>>1,f[g+2+0]=f[g+1+64]=I+P+1>>1,f[g+3+0]=f[g+2+64]=P+R+1>>1,f[g+0+32]=He(F,E,I),f[g+1+32]=f[g+0+96]=He(E,I,P),f[g+2+32]=f[g+1+96]=He(I,P,R),f[g+3+32]=f[g+2+96]=He(P,R,j),f[g+3+64]=He(R,j,W),f[g+3+96]=He(j,W,Z)}function Ws(f,g){var F=f[g-1+0],E=f[g-1+32],I=f[g-1+64],P=f[g-1+96];f[g+0+0]=F+E+1>>1,f[g+2+0]=f[g+0+32]=E+I+1>>1,f[g+2+32]=f[g+0+64]=I+P+1>>1,f[g+1+0]=He(F,E,I),f[g+3+0]=f[g+1+32]=He(E,I,P),f[g+3+32]=f[g+1+64]=He(I,P,P),f[g+3+64]=f[g+2+64]=f[g+0+96]=f[g+1+96]=f[g+2+96]=f[g+3+96]=P}function qs(f,g){var F=f[g-1+0],E=f[g-1+32],I=f[g-1+64],P=f[g-1+96],R=f[g-1-32],j=f[g+0-32],W=f[g+1-32],Z=f[g+2-32];f[g+0+0]=f[g+2+32]=F+R+1>>1,f[g+0+32]=f[g+2+64]=E+F+1>>1,f[g+0+64]=f[g+2+96]=I+E+1>>1,f[g+0+96]=P+I+1>>1,f[g+3+0]=He(j,W,Z),f[g+2+0]=He(R,j,W),f[g+1+0]=f[g+3+32]=He(F,R,j),f[g+1+32]=f[g+3+64]=He(E,F,R),f[g+1+64]=f[g+3+96]=He(I,E,F),f[g+1+96]=He(P,I,E)}function Pi(f,g){var F;for(F=0;8>F;++F)A(f,g+32*F,f,g-32,8)}function $a(f,g){var F;for(F=0;8>F;++F)r(f,g,f[g-1],8),g+=32}function ci(f,g,F){var E;for(E=0;8>E;++E)r(g,F+32*E,f,8)}function Vo(f,g){var F,E=8;for(F=0;8>F;++F)E+=f[g+F-32]+f[g-1+32*F];ci(E>>4,f,g)}function Mi(f,g){var F,E=4;for(F=0;8>F;++F)E+=f[g+F-32];ci(E>>3,f,g)}function Wo(f,g){var F,E=4;for(F=0;8>F;++F)E+=f[g-1+32*F];ci(E>>3,f,g)}function qo(f,g){ci(128,f,g)}function Rr(f,g,F){var E=f[g-F],I=f[g+0],P=3*(I-E)+wd[1020+f[g-2*F]-f[g+F]],R=Bu[112+(P+4>>3)];f[g-F]=Fr[255+E+Bu[112+(P+3>>3)]],f[g+0]=Fr[255+I-R]}function zs(f,g,F,E){var I=f[g+0],P=f[g+F];return $r[255+f[g-2*F]-f[g-F]]>E||$r[255+P-I]>E}function Gs(f,g,F,E){return 4*$r[255+f[g-F]-f[g+0]]+$r[255+f[g-2*F]-f[g+F]]<=E}function os(f,g,F,E,I){var P=f[g-3*F],R=f[g-2*F],j=f[g-F],W=f[g+0],Z=f[g+F],ut=f[g+2*F],Ut=f[g+3*F];return 4*$r[255+j-W]+$r[255+R-Z]>E?0:$r[255+f[g-4*F]-P]<=I&&$r[255+P-R]<=I&&$r[255+R-j]<=I&&$r[255+Ut-ut]<=I&&$r[255+ut-Z]<=I&&$r[255+Z-W]<=I}function Di(f,g,F,E){var I=2*E+1;for(E=0;16>E;++E)Gs(f,g+E,F,I)&&Rr(f,g+E,F)}function Xs(f,g,F,E){var I=2*E+1;for(E=0;16>E;++E)Gs(f,g+E*F,1,I)&&Rr(f,g+E*F,1)}function xr(f,g,F,E){var I;for(I=3;0<I;--I)Di(f,g+=4*F,F,E)}function zo(f,g,F,E){var I;for(I=3;0<I;--I)Xs(f,g+=4,F,E)}function ui(f,g,F,E,I,P,R,j){for(P=2*P+1;0<I--;){if(os(f,g,F,P,R))if(zs(f,g,F,j))Rr(f,g,F);else{var W=f,Z=g,ut=F,Ut=W[Z-2*ut],tt=W[Z-ut],dt=W[Z+0],xt=W[Z+ut],Mt=W[Z+2*ut],Et=27*(jt=wd[1020+3*(dt-tt)+wd[1020+Ut-xt]])+63>>7,Rt=18*jt+63>>7,jt=9*jt+63>>7;W[Z-3*ut]=Fr[255+W[Z-3*ut]+jt],W[Z-2*ut]=Fr[255+Ut+Rt],W[Z-ut]=Fr[255+tt+Et],W[Z+0]=Fr[255+dt-Et],W[Z+ut]=Fr[255+xt-Rt],W[Z+2*ut]=Fr[255+Mt-jt]}g+=E}}function Kr(f,g,F,E,I,P,R,j){for(P=2*P+1;0<I--;){if(os(f,g,F,P,R))if(zs(f,g,F,j))Rr(f,g,F);else{var W=f,Z=g,ut=F,Ut=W[Z-ut],tt=W[Z+0],dt=W[Z+ut],xt=Bu[112+(4+(Mt=3*(tt-Ut))>>3)],Mt=Bu[112+(Mt+3>>3)],Et=xt+1>>1;W[Z-2*ut]=Fr[255+W[Z-2*ut]+Et],W[Z-ut]=Fr[255+Ut+Mt],W[Z+0]=Fr[255+tt-xt],W[Z+ut]=Fr[255+dt-Et]}g+=E}}function Go(f,g,F,E,I,P){ui(f,g,F,1,16,E,I,P)}function Ri(f,g,F,E,I,P){ui(f,g,1,F,16,E,I,P)}function Xo(f,g,F,E,I,P){var R;for(R=3;0<R;--R)Kr(f,g+=4*F,F,1,16,E,I,P)}function b(f,g,F,E,I,P){var R;for(R=3;0<R;--R)Kr(f,g+=4,1,F,16,E,I,P)}function L(f,g,F,E,I,P,R,j){ui(f,g,I,1,8,P,R,j),ui(F,E,I,1,8,P,R,j)}function Y(f,g,F,E,I,P,R,j){ui(f,g,1,I,8,P,R,j),ui(F,E,1,I,8,P,R,j)}function lt(f,g,F,E,I,P,R,j){Kr(f,g+4*I,I,1,8,P,R,j),Kr(F,E+4*I,I,1,8,P,R,j)}function Bt(f,g,F,E,I,P,R,j){Kr(f,g+4,1,I,8,P,R,j),Kr(F,E+4,1,I,8,P,R,j)}function Dt(){this.ba=new de,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new Le,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function qt(){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 pe(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function be(){this.ua=0,this.Wa=new Re,this.vb=new Re,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new pt,this.yc=new et}function Ne(){this.xb=this.a=0,this.l=new Wn,this.ca=new de,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new X,this.Pb=0,this.wd=new X,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new be,this.ab=0,this.gc=s(4,pe),this.Oc=0}function Ke(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Wn,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function De(f,g,F,E,I,P,R){for(f=f==null?0:f[g+0],g=0;g<R;++g)I[P+g]=f+F[E+g]&255,f=I[P+g]}function Cn(f,g,F,E,I,P,R){var j;if(f==null)De(null,null,F,E,I,P,R);else for(j=0;j<R;++j)I[P+j]=f[g+j]+F[E+j]&255}function Dn(f,g,F,E,I,P,R){if(f==null)De(null,null,F,E,I,P,R);else{var j,W=f[g+0],Z=W,ut=W;for(j=0;j<R;++j)Z=ut+(W=f[g+j])-Z,ut=F[E+j]+(-256&Z?0>Z?0:255:Z)&255,Z=W,I[P+j]=ut}}function en(f,g,F,E){var I=g.width,P=g.o;if(t(f!=null&&g!=null),0>F||0>=E||F+E>P)return null;if(!f.Cc){if(f.ga==null){var R;if(f.ga=new Ke,(R=f.ga==null)||(R=g.width*g.o,t(f.Gb.length==0),f.Gb=i(R),f.Uc=0,f.Gb==null?R=0:(f.mb=f.Gb,f.nb=f.Uc,f.rc=null,R=1),R=!R),!R){R=f.ga;var j=f.Fa,W=f.P,Z=f.qc,ut=f.mb,Ut=f.nb,tt=W+1,dt=Z-1,xt=R.l;if(t(j!=null&&ut!=null&&g!=null),Ao[0]=null,Ao[1]=De,Ao[2]=Cn,Ao[3]=Dn,R.ca=ut,R.tb=Ut,R.c=g.width,R.i=g.height,t(0<R.c&&0<R.i),1>=Z)g=0;else if(R.$a=3&j[W+0],R.Z=j[W+0]>>2&3,R.Lc=j[W+0]>>4&3,W=j[W+0]>>6&3,0>R.$a||1<R.$a||4<=R.Z||1<R.Lc||W)g=0;else if(xt.put=Qe,xt.ac=wA,xt.bc=oi,xt.ma=R,xt.width=g.width,xt.height=g.height,xt.Da=g.Da,xt.v=g.v,xt.va=g.va,xt.j=g.j,xt.o=g.o,R.$a)t:{t(R.$a==1),g=es();e:for(;;){if(g==null){g=0;break t}if(t(R!=null),R.mc=g,g.c=R.c,g.i=R.i,g.l=R.l,g.l.ma=R,g.l.width=R.c,g.l.height=R.i,g.a=0,Ft(g.m,j,tt,dt),!Pr(R.c,R.i,1,g,null)||(g.ab==1&&g.gc[0].hc==3&&ar(g.s)?(R.ic=1,j=g.c*g.i,g.Ta=null,g.Ua=0,g.V=i(j),g.Ba=0,g.V==null?(g.a=1,g=0):g=1):(R.ic=0,g=ns(g,R.c)),!g))break e;g=1;break t}R.mc=null,g=0}else g=dt>=R.c*R.i;R=!g}if(R)return null;f.ga.Lc!=1?f.Ga=0:E=P-F}t(f.ga!=null),t(F+E<=P);t:{if(g=(j=f.ga).c,P=j.l.o,j.$a==0){if(tt=f.rc,dt=f.Vc,xt=f.Fa,W=f.P+1+F*g,Z=f.mb,ut=f.nb+F*g,t(W<=f.P+f.qc),j.Z!=0)for(t(Ao[j.Z]!=null),R=0;R<E;++R)Ao[j.Z](tt,dt,xt,W,Z,ut,g),tt=Z,dt=ut,ut+=g,W+=g;else for(R=0;R<E;++R)A(Z,ut,xt,W,g),tt=Z,dt=ut,ut+=g,W+=g;f.rc=tt,f.Vc=dt}else{if(t(j.mc!=null),g=F+E,t((R=j.mc)!=null),t(g<=R.i),R.C>=g)g=1;else if(j.ic||xA(),j.ic){j=R.V,tt=R.Ba,dt=R.c;var Mt=R.i,Et=(xt=1,W=R.$/dt,Z=R.$%dt,ut=R.m,Ut=R.s,R.$),Rt=dt*Mt,jt=dt*g,$t=Ut.wc,zt=Et<jt?iA(Ut,Z,W):null;t(Et<=Rt),t(g<=Mt),t(ar(Ut));e:for(;;){for(;!ut.h&&Et<jt;){if(Z&$t||(zt=iA(Ut,Z,W)),t(zt!=null),bt(ut),256>(Mt=Qn(zt.G[0],zt.H[0],ut)))j[tt+Et]=Mt,++Et,++Z>=dt&&(Z=0,++W<=g&&!(W%16)&&lr(R,W));else{if(!(280>Mt)){xt=0;break e}Mt=SA(Mt-256,ut);var Ce,we=Qn(zt.G[4],zt.H[4],ut);if(bt(ut),!(Et>=(we=LA(dt,we=SA(we,ut)))&&Rt-Et>=Mt)){xt=0;break e}for(Ce=0;Ce<Mt;++Ce)j[tt+Et+Ce]=j[tt+Et+Ce-we];for(Et+=Mt,Z+=Mt;Z>=dt;)Z-=dt,++W<=g&&!(W%16)&&lr(R,W);Et<jt&&Z&$t&&(zt=iA(Ut,Z,W))}t(ut.h==at(ut))}lr(R,W>g?g:W);break e}!xt||ut.h&&Et<Rt?(xt=0,R.a=ut.h?5:3):R.$=Et,g=xt}else g=GA(R,R.V,R.Ba,R.c,R.i,g,Hs);if(!g){E=0;break t}}F+E>=P&&(f.Cc=1),E=1}if(!E)return null;if(f.Cc&&((E=f.ga)!=null&&(E.mc=null),f.ga=null,0<f.Ga))return alert("todo:WebPDequantizeLevels"),null}return f.nb+F*I}function Bn(f,g,F,E,I,P){for(;0<I--;){var R,j=f,W=g+(F?1:0),Z=f,ut=g+(F?0:3);for(R=0;R<E;++R){var Ut=Z[ut+4*R];Ut!=255&&(Ut*=32897,j[W+4*R+0]=j[W+4*R+0]*Ut>>23,j[W+4*R+1]=j[W+4*R+1]*Ut>>23,j[W+4*R+2]=j[W+4*R+2]*Ut>>23)}g+=P}}function Ln(f,g,F,E,I){for(;0<E--;){var P;for(P=0;P<F;++P){var R=f[g+2*P+0],j=15&(Z=f[g+2*P+1]),W=4369*j,Z=(240&Z|Z>>4)*W>>16;f[g+2*P+0]=(240&R|R>>4)*W>>16&240|(15&R|R<<4)*W>>16>>4&15,f[g+2*P+1]=240&Z|j}g+=I}}function sA(f,g,F,E,I,P,R,j){var W,Z,ut=255;for(Z=0;Z<I;++Z){for(W=0;W<E;++W){var Ut=f[g+W];P[R+4*W]=Ut,ut&=Ut}g+=F,R+=j}return ut!=255}function jr(f,g,F,E,I){var P;for(P=0;P<I;++P)F[E+P]=f[g+P]>>8}function xA(){Xr=Bn,ps=Ln,Cr=sA,Fw=jr}function Vr(f,g,F){H[f]=function(E,I,P,R,j,W,Z,ut,Ut,tt,dt,xt,Mt,Et,Rt,jt,$t){var zt,Ce=$t-1>>1,we=j[W+0]|Z[ut+0]<<16,ze=Ut[tt+0]|dt[xt+0]<<16;t(E!=null);var ye=3*we+ze+131074>>2;for(g(E[I+0],255&ye,ye>>16,Mt,Et),P!=null&&(ye=3*ze+we+131074>>2,g(P[R+0],255&ye,ye>>16,Rt,jt)),zt=1;zt<=Ce;++zt){var tn=j[W+zt]|Z[ut+zt]<<16,uA=Ut[tt+zt]|dt[xt+zt]<<16,Ge=we+tn+ze+uA+524296,xe=Ge+2*(tn+ze)>>3;ye=xe+we>>1,we=(Ge=Ge+2*(we+uA)>>3)+tn>>1,g(E[I+2*zt-1],255&ye,ye>>16,Mt,Et+(2*zt-1)*F),g(E[I+2*zt-0],255&we,we>>16,Mt,Et+(2*zt-0)*F),P!=null&&(ye=Ge+ze>>1,we=xe+uA>>1,g(P[R+2*zt-1],255&ye,ye>>16,Rt,jt+(2*zt-1)*F),g(P[R+2*zt+0],255&we,we>>16,Rt,jt+(2*zt+0)*F)),we=tn,ze=uA}1&$t||(ye=3*we+ze+131074>>2,g(E[I+$t-1],255&ye,ye>>16,Mt,Et+($t-1)*F),P!=null&&(ye=3*ze+we+131074>>2,g(P[R+$t-1],255&ye,ye>>16,Rt,jt+($t-1)*F)))}}function as(){Yr[bu]=fF,Yr[vu]=Ow,Yr[Lw]=hF,Yr[yu]=Hw,Yr[xu]=Pw,Yr[md]=Mw,Yr[Iw]=dF,Yr[Bd]=Ow,Yr[bd]=Hw,Yr[Cu]=Pw,Yr[vd]=Mw}function $s(f){return f&-16384?0>f?0:255:f>>pF}function fi(f,g){return $s((19077*f>>8)+(26149*g>>8)-14234)}function ls(f,g,F){return $s((19077*f>>8)-(6419*g>>8)-(13320*F>>8)+8708)}function cs(f,g){return $s((19077*f>>8)+(33050*g>>8)-17685)}function Wr(f,g,F,E,I){E[I+0]=fi(f,F),E[I+1]=ls(f,g,F),E[I+2]=cs(f,g)}function cA(f,g,F,E,I){E[I+0]=cs(f,g),E[I+1]=ls(f,g,F),E[I+2]=fi(f,F)}function us(f,g,F,E,I){var P=ls(f,g,F);g=P<<3&224|cs(f,g)>>3,E[I+0]=248&fi(f,F)|P>>5,E[I+1]=g}function fs(f,g,F,E,I){var P=240&cs(f,g)|15;E[I+0]=240&fi(f,F)|ls(f,g,F)>>4,E[I+1]=P}function $o(f,g,F,E,I){E[I+0]=255,Wr(f,g,F,E,I+1)}function Yo(f,g,F,E,I){cA(f,g,F,E,I),E[I+3]=255}function CA(f,g,F,E,I){Wr(f,g,F,E,I),E[I+3]=255}function hi(f,g,F){H[f]=function(E,I,P,R,j,W,Z,ut,Ut){for(var tt=ut+(-2&Ut)*F;ut!=tt;)g(E[I+0],P[R+0],j[W+0],Z,ut),g(E[I+1],P[R+0],j[W+0],Z,ut+F),I+=2,++R,++W,ut+=2*F;1&Ut&&g(E[I+0],P[R+0],j[W+0],Z,ut)}}function hs(f,g,F){return F==0?f==0?g==0?6:5:g==0?4:0:F}function Ys(f,g,F,E,I){switch(f>>>30){case 3:Qt(g,F,E,I,0);break;case 2:ne(g,F,E,I);break;case 1:Ae(g,F,E,I)}}function $A(f,g){var F,E,I=g.M,P=g.Nb,R=f.oc,j=f.pc+40,W=f.oc,Z=f.pc+584,ut=f.oc,Ut=f.pc+600;for(F=0;16>F;++F)R[j+32*F-1]=129;for(F=0;8>F;++F)W[Z+32*F-1]=129,ut[Ut+32*F-1]=129;for(0<I?R[j-1-32]=W[Z-1-32]=ut[Ut-1-32]=129:(r(R,j-32-1,127,21),r(W,Z-32-1,127,9),r(ut,Ut-32-1,127,9)),E=0;E<f.za;++E){var tt=g.ya[g.aa+E];if(0<E){for(F=-1;16>F;++F)A(R,j+32*F-4,R,j+32*F+12,4);for(F=-1;8>F;++F)A(W,Z+32*F-4,W,Z+32*F+4,4),A(ut,Ut+32*F-4,ut,Ut+32*F+4,4)}var dt=f.Gd,xt=f.Hd+E,Mt=tt.ad,Et=tt.Hc;if(0<I&&(A(R,j-32,dt[xt].y,0,16),A(W,Z-32,dt[xt].f,0,8),A(ut,Ut-32,dt[xt].ea,0,8)),tt.Za){var Rt=R,jt=j-32+16;for(0<I&&(E>=f.za-1?r(Rt,jt,dt[xt].y[15],4):A(Rt,jt,dt[xt+1].y,0,4)),F=0;4>F;F++)Rt[jt+128+F]=Rt[jt+256+F]=Rt[jt+384+F]=Rt[jt+0+F];for(F=0;16>F;++F,Et<<=2)Rt=R,jt=j+Rw[F],mi[tt.Ob[F]](Rt,jt),Ys(Et,Mt,16*+F,Rt,jt)}else if(Rt=hs(E,I,tt.Ob[0]),no[Rt](R,j),Et!=0)for(F=0;16>F;++F,Et<<=2)Ys(Et,Mt,16*+F,R,j+Rw[F]);for(F=tt.Gc,Rt=hs(E,I,tt.Dd),gs[Rt](W,Z),gs[Rt](ut,Ut),Et=Mt,Rt=W,jt=Z,255&(tt=0|F)&&(170&tt?Ue(Et,256,Rt,jt):Te(Et,256,Rt,jt)),tt=ut,Et=Ut,255&(F>>=8)&&(170&F?Ue(Mt,320,tt,Et):Te(Mt,320,tt,Et)),I<f.Ub-1&&(A(dt[xt].y,0,R,j+480,16),A(dt[xt].f,0,W,Z+224,8),A(dt[xt].ea,0,ut,Ut+224,8)),F=8*P*f.B,dt=f.sa,xt=f.ta+16*E+16*P*f.R,Mt=f.qa,tt=f.ra+8*E+F,Et=f.Ha,Rt=f.Ia+8*E+F,F=0;16>F;++F)A(dt,xt+F*f.R,R,j+32*F,16);for(F=0;8>F;++F)A(Mt,tt+F*f.B,W,Z+32*F,8),A(Et,Rt+F*f.B,ut,Ut+32*F,8)}}function di(f,g,F,E,I,P,R,j,W){var Z=[0],ut=[0],Ut=0,tt=W!=null?W.kd:0,dt=W??new qt;if(f==null||12>F)return 7;dt.data=f,dt.w=g,dt.ha=F,g=[g],F=[F],dt.gb=[dt.gb];t:{var xt=g,Mt=F,Et=dt.gb;if(t(f!=null),t(Mt!=null),t(Et!=null),Et[0]=0,12<=Mt[0]&&!n(f,xt[0],"RIFF")){if(n(f,xt[0]+8,"WEBP")){Et=3;break t}var Rt=fe(f,xt[0]+4);if(12>Rt||4294967286<Rt){Et=3;break t}if(tt&&Rt>Mt[0]-8){Et=7;break t}Et[0]=Rt,xt[0]+=12,Mt[0]-=12}Et=0}if(Et!=0)return Et;for(Rt=0<dt.gb[0],F=F[0];;){t:{var jt=f;Mt=g,Et=F;var $t=Z,zt=ut,Ce=xt=[0];if((ye=Ut=[Ut])[0]=0,8>Et[0])Et=7;else{if(!n(jt,Mt[0],"VP8X")){if(fe(jt,Mt[0]+4)!=10){Et=3;break t}if(18>Et[0]){Et=7;break t}var we=fe(jt,Mt[0]+8),ze=1+ie(jt,Mt[0]+12);if(2147483648<=ze*(jt=1+ie(jt,Mt[0]+15))){Et=3;break t}Ce!=null&&(Ce[0]=we),$t!=null&&($t[0]=ze),zt!=null&&(zt[0]=jt),Mt[0]+=18,Et[0]-=18,ye[0]=1}Et=0}}if(Ut=Ut[0],xt=xt[0],Et!=0)return Et;if(Mt=!!(2&xt),!Rt&&Ut)return 3;if(P!=null&&(P[0]=!!(16&xt)),R!=null&&(R[0]=Mt),j!=null&&(j[0]=0),R=Z[0],xt=ut[0],Ut&&Mt&&W==null){Et=0;break}if(4>F){Et=7;break}if(Rt&&Ut||!Rt&&!Ut&&!n(f,g[0],"ALPH")){F=[F],dt.na=[dt.na],dt.P=[dt.P],dt.Sa=[dt.Sa];t:{we=f,Et=g,Rt=F;var ye=dt.gb;$t=dt.na,zt=dt.P,Ce=dt.Sa,ze=22,t(we!=null),t(Rt!=null),jt=Et[0];var tn=Rt[0];for(t($t!=null),t(Ce!=null),$t[0]=null,zt[0]=null,Ce[0]=0;;){if(Et[0]=jt,Rt[0]=tn,8>tn){Et=7;break t}var uA=fe(we,jt+4);if(4294967286<uA){Et=3;break t}var Ge=8+uA+1&-2;if(ze+=Ge,0<ye&&ze>ye){Et=3;break t}if(!n(we,jt,"VP8 ")||!n(we,jt,"VP8L")){Et=0;break t}if(tn[0]<Ge){Et=7;break t}n(we,jt,"ALPH")||($t[0]=we,zt[0]=jt+8,Ce[0]=uA),jt+=Ge,tn-=Ge}}if(F=F[0],dt.na=dt.na[0],dt.P=dt.P[0],dt.Sa=dt.Sa[0],Et!=0)break}F=[F],dt.Ja=[dt.Ja],dt.xa=[dt.xa];t:if(ye=f,Et=g,Rt=F,$t=dt.gb[0],zt=dt.Ja,Ce=dt.xa,we=Et[0],jt=!n(ye,we,"VP8 "),ze=!n(ye,we,"VP8L"),t(ye!=null),t(Rt!=null),t(zt!=null),t(Ce!=null),8>Rt[0])Et=7;else{if(jt||ze){if(ye=fe(ye,we+4),12<=$t&&ye>$t-12){Et=3;break t}if(tt&&ye>Rt[0]-8){Et=7;break t}zt[0]=ye,Et[0]+=8,Rt[0]-=8,Ce[0]=ze}else Ce[0]=5<=Rt[0]&&ye[we+0]==47&&!(ye[we+4]>>5),zt[0]=Rt[0];Et=0}if(F=F[0],dt.Ja=dt.Ja[0],dt.xa=dt.xa[0],g=g[0],Et!=0)break;if(4294967286<dt.Ja)return 3;if(j==null||Mt||(j[0]=dt.xa?2:1),R=[R],xt=[xt],dt.xa){if(5>F){Et=7;break}j=R,tt=xt,Mt=P,f==null||5>F?f=0:5<=F&&f[g+0]==47&&!(f[g+4]>>5)?(Rt=[0],ye=[0],$t=[0],Ft(zt=new X,f,g,F),sr(zt,Rt,ye,$t)?(j!=null&&(j[0]=Rt[0]),tt!=null&&(tt[0]=ye[0]),Mt!=null&&(Mt[0]=$t[0]),f=1):f=0):f=0}else{if(10>F){Et=7;break}j=xt,f==null||10>F||!Wa(f,g+3,F-3)?f=0:(tt=f[g+0]|f[g+1]<<8|f[g+2]<<16,Mt=16383&(f[g+7]<<8|f[g+6]),f=16383&(f[g+9]<<8|f[g+8]),1&tt||3<(tt>>1&7)||!(tt>>4&1)||tt>>5>=dt.Ja||!Mt||!f?f=0:(R&&(R[0]=Mt),j&&(j[0]=f),f=1))}if(!f||(R=R[0],xt=xt[0],Ut&&(Z[0]!=R||ut[0]!=xt)))return 3;W!=null&&(W[0]=dt,W.offset=g-W.w,t(4294967286>g-W.w),t(W.offset==W.ha-F));break}return Et==0||Et==7&&Ut&&W==null?(P!=null&&(P[0]|=dt.na!=null&&0<dt.na.length),E!=null&&(E[0]=R),I!=null&&(I[0]=xt),0):Et}function Js(f,g,F){var E=g.width,I=g.height,P=0,R=0,j=E,W=I;if(g.Da=f!=null&&0<f.Da,g.Da&&(j=f.cd,W=f.bd,P=f.v,R=f.j,11>F||(P&=-2,R&=-2),0>P||0>R||0>=j||0>=W||P+j>E||R+W>I))return 0;if(g.v=P,g.j=R,g.va=P+j,g.o=R+W,g.U=j,g.T=W,g.da=f!=null&&0<f.da,g.da){if(!Se(j,W,F=[f.ib],P=[f.hb]))return 0;g.ib=F[0],g.hb=P[0]}return g.ob=f!=null&&f.ob,g.Kb=f==null||!f.Sd,g.da&&(g.ob=g.ib<3*E/4&&g.hb<3*I/4,g.Kb=0),1}function Zs(f){if(f==null)return 2;if(11>f.S){var g=f.f.RGBA;g.fb+=(f.height-1)*g.A,g.A=-g.A}else g=f.f.kb,f=f.height,g.O+=(f-1)*g.fa,g.fa=-g.fa,g.N+=(f-1>>1)*g.Ab,g.Ab=-g.Ab,g.W+=(f-1>>1)*g.Db,g.Db=-g.Db,g.F!=null&&(g.J+=(f-1)*g.lb,g.lb=-g.lb);return 0}function qr(f,g,F,E){if(E==null||0>=f||0>=g)return 2;if(F!=null){if(F.Da){var I=F.cd,P=F.bd,R=-2&F.v,j=-2&F.j;if(0>R||0>j||0>=I||0>=P||R+I>f||j+P>g)return 2;f=I,g=P}if(F.da){if(!Se(f,g,I=[F.ib],P=[F.hb]))return 2;f=I[0],g=P[0]}}E.width=f,E.height=g;t:{var W=E.width,Z=E.height;if(f=E.S,0>=W||0>=Z||!(f>=bu&&13>f))f=2;else{if(0>=E.Rd&&E.sd==null){R=P=I=g=0;var ut=(j=W*Kw[f])*Z;if(11>f||(P=(Z+1)/2*(g=(W+1)/2),f==12&&(R=(I=W)*Z)),(Z=i(ut+2*P+R))==null){f=1;break t}E.sd=Z,11>f?((W=E.f.RGBA).eb=Z,W.fb=0,W.A=j,W.size=ut):((W=E.f.kb).y=Z,W.O=0,W.fa=j,W.Fd=ut,W.f=Z,W.N=0+ut,W.Ab=g,W.Cd=P,W.ea=Z,W.W=0+ut+P,W.Db=g,W.Ed=P,f==12&&(W.F=Z,W.J=0+ut+2*P),W.Tc=R,W.lb=I)}if(g=1,I=E.S,P=E.width,R=E.height,I>=bu&&13>I)if(11>I)f=E.f.RGBA,g&=(j=Math.abs(f.A))*(R-1)+P<=f.size,g&=j>=P*Kw[I],g&=f.eb!=null;else{f=E.f.kb,j=(P+1)/2,ut=(R+1)/2,W=Math.abs(f.fa),Z=Math.abs(f.Ab);var Ut=Math.abs(f.Db),tt=Math.abs(f.lb),dt=tt*(R-1)+P;g&=W*(R-1)+P<=f.Fd,g&=Z*(ut-1)+j<=f.Cd,g=(g&=Ut*(ut-1)+j<=f.Ed)&W>=P&Z>=j&Ut>=j,g&=f.y!=null,g&=f.f!=null,g&=f.ea!=null,I==12&&(g&=tt>=P,g&=dt<=f.Tc,g&=f.F!=null)}else g=0;f=g?0:2}}return f!=0||F!=null&&F.fd&&(f=Zs(E)),f}var ds=64,YA=[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],JA=24,pi=32,zr=8,Gr=[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];he("Predictor0","PredictorAdd0"),H.Predictor0=function(){return 4278190080},H.Predictor1=function(f){return f},H.Predictor2=function(f,g,F){return g[F+0]},H.Predictor3=function(f,g,F){return g[F+1]},H.Predictor4=function(f,g,F){return g[F-1]},H.Predictor5=function(f,g,F){return ge(ge(f,g[F+1]),g[F+0])},H.Predictor6=function(f,g,F){return ge(f,g[F-1])},H.Predictor7=function(f,g,F){return ge(f,g[F+0])},H.Predictor8=function(f,g,F){return ge(g[F-1],g[F+0])},H.Predictor9=function(f,g,F){return ge(g[F+0],g[F+1])},H.Predictor10=function(f,g,F){return ge(ge(f,g[F-1]),ge(g[F+0],g[F+1]))},H.Predictor11=function(f,g,F){var E=g[F+0];return 0>=rt(E>>24&255,f>>24&255,(g=g[F-1])>>24&255)+rt(E>>16&255,f>>16&255,g>>16&255)+rt(E>>8&255,f>>8&255,g>>8&255)+rt(255&E,255&f,255&g)?E:f},H.Predictor12=function(f,g,F){var E=g[F+0];return(ke((f>>24&255)+(E>>24&255)-((g=g[F-1])>>24&255))<<24|ke((f>>16&255)+(E>>16&255)-(g>>16&255))<<16|ke((f>>8&255)+(E>>8&255)-(g>>8&255))<<8|ke((255&f)+(255&E)-(255&g)))>>>0},H.Predictor13=function(f,g,F){var E=g[F-1];return(k((f=ge(f,g[F+0]))>>24&255,E>>24&255)<<24|k(f>>16&255,E>>16&255)<<16|k(f>>8&255,E>>8&255)<<8|k(255&f,255&E))>>>0};var Jo=H.PredictorAdd0;H.PredictorAdd1=nt,he("Predictor2","PredictorAdd2"),he("Predictor3","PredictorAdd3"),he("Predictor4","PredictorAdd4"),he("Predictor5","PredictorAdd5"),he("Predictor6","PredictorAdd6"),he("Predictor7","PredictorAdd7"),he("Predictor8","PredictorAdd8"),he("Predictor9","PredictorAdd9"),he("Predictor10","PredictorAdd10"),he("Predictor11","PredictorAdd11"),he("Predictor12","PredictorAdd12"),he("Predictor13","PredictorAdd13");var to=H.PredictorAdd2;Nt("ColorIndexInverseTransform","MapARGB","32b",function(f){return f>>8&255},function(f){return f}),Nt("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(f){return f},function(f){return f>>8&255});var c,d=H.ColorIndexInverseTransform,m=H.MapARGB,x=H.VP8LColorIndexInverseTransformAlpha,U=H.MapAlpha,Q=H.VP8LPredictorsAdd=[];Q.length=16,(H.VP8LPredictors=[]).length=16,(H.VP8LPredictorsAdd_C=[]).length=16,(H.VP8LPredictors_C=[]).length=16;var D,st,J,ft,vt,kt,wt,Qt,ne,Ue,Ae,Te,Pe,nn,bn,Xe,gi,Ye,On,Gl,mu,wi,Ya,eo,Xr,ps,Cr,Fw,_w=i(511),Ew=i(2041),Uw=i(225),Qw=i(767),Sw=0,wd=Ew,Bu=Uw,Fr=Qw,$r=_w,bu=0,vu=1,Lw=2,yu=3,xu=4,md=5,Iw=6,Bd=7,bd=8,Cu=9,vd=10,JC=[2,3,7],ZC=[3,3,11],kw=[280,256,256,256,40],tF=[0,1,1,1,0],eF=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],nF=[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],AF=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],rF=8,yd=[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],xd=[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],Xl=null,iF=[[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]],sF=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],Tw=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],oF=[[[[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]]]],aF=[[[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]]],lF=[[[[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]]]],cF=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],no=[],mi=[],gs=[],uF=1,Nw=2,Ao=[],Yr=[];Vr("UpsampleRgbLinePair",Wr,3),Vr("UpsampleBgrLinePair",cA,3),Vr("UpsampleRgbaLinePair",CA,4),Vr("UpsampleBgraLinePair",Yo,4),Vr("UpsampleArgbLinePair",$o,4),Vr("UpsampleRgba4444LinePair",fs,2),Vr("UpsampleRgb565LinePair",us,2);var fF=H.UpsampleRgbLinePair,hF=H.UpsampleBgrLinePair,Ow=H.UpsampleRgbaLinePair,Hw=H.UpsampleBgraLinePair,Pw=H.UpsampleArgbLinePair,Mw=H.UpsampleRgba4444LinePair,dF=H.UpsampleRgb565LinePair,Fu=16,_u=1<<Fu-1,$l=-227,Cd=482,pF=6,Dw=0,gF=i(256),wF=i(256),mF=i(256),BF=i(256),bF=i(Cd-$l),vF=i(Cd-$l);hi("YuvToRgbRow",Wr,3),hi("YuvToBgrRow",cA,3),hi("YuvToRgbaRow",CA,4),hi("YuvToBgraRow",Yo,4),hi("YuvToArgbRow",$o,4),hi("YuvToRgba4444Row",fs,2),hi("YuvToRgb565Row",us,2);var Rw=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Eu=[0,2,8],yF=[8,7,6,4,4,2,2,2,1,1,1,1],xF=1;this.WebPDecodeRGBA=function(f,g,F,E,I){var P=vu,R=new Dt,j=new de;R.ba=j,j.S=P,j.width=[j.width],j.height=[j.height];var W=j.width,Z=j.height,ut=new le;if(ut==null||f==null)var Ut=2;else t(ut!=null),Ut=di(f,g,F,ut.width,ut.height,ut.Pd,ut.Qd,ut.format,null);if(Ut!=0?W=0:(W!=null&&(W[0]=ut.width[0]),Z!=null&&(Z[0]=ut.height[0]),W=1),W){j.width=j.width[0],j.height=j.height[0],E!=null&&(E[0]=j.width),I!=null&&(I[0]=j.height);t:{if(E=new Wn,(I=new qt).data=f,I.w=g,I.ha=F,I.kd=1,g=[0],t(I!=null),((f=di(I.data,I.w,I.ha,null,null,null,g,null,I))==0||f==7)&&g[0]&&(f=4),(g=f)==0){if(t(R!=null),E.data=I.data,E.w=I.w+I.offset,E.ha=I.ha-I.offset,E.put=Qe,E.ac=wA,E.bc=oi,E.ma=R,I.xa){if((f=es())==null){R=1;break t}if((function(tt,dt){var xt=[0],Mt=[0],Et=[0];e:for(;;){if(tt==null)return 0;if(dt==null)return tt.a=2,0;if(tt.l=dt,tt.a=0,Ft(tt.m,dt.data,dt.w,dt.ha),!sr(tt.m,xt,Mt,Et)){tt.a=3;break e}if(tt.xb=Nw,dt.width=xt[0],dt.height=Mt[0],!Pr(xt[0],Mt[0],1,tt,null))break e;return 1}return t(tt.a!=0),0})(f,E)){if(E=(g=qr(E.width,E.height,R.Oa,R.ba))==0){e:{E=f;n:for(;;){if(E==null){E=0;break e}if(t(E.s.yc!=null),t(E.s.Ya!=null),t(0<E.s.Wb),t((F=E.l)!=null),t((I=F.ma)!=null),E.xb!=0){if(E.ca=I.ba,E.tb=I.tb,t(E.ca!=null),!Js(I.Oa,F,yu)){E.a=2;break n}if(!ns(E,F.width)||F.da)break n;if((F.da||Ot(E.ca.S))&&xA(),11>E.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),E.ca.f.kb.F!=null&&xA()),E.Pb&&0<E.s.ua&&E.s.vb.X==null&&!q(E.s.vb,E.s.Wa.Xa)){E.a=1;break n}E.xb=0}if(!GA(E,E.V,E.Ba,E.c,E.i,F.o,ai))break n;I.Dc=E.Ma,E=1;break e}t(E.a!=0),E=0}E=!E}E&&(g=f.a)}else g=f.a}else{if((f=new Wl)==null){R=1;break t}if(f.Fa=I.na,f.P=I.P,f.qc=I.Sa,yr(f,E)){if((g=qr(E.width,E.height,R.Oa,R.ba))==0){if(f.Aa=0,F=R.Oa,t((I=f)!=null),F!=null){if(0<(W=0>(W=F.Md)?0:100<W?255:255*W/100)){for(Z=ut=0;4>Z;++Z)12>(Ut=I.pb[Z]).lc&&(Ut.ia=W*yF[0>Ut.lc?0:Ut.lc]>>3),ut|=Ut.ia;ut&&(alert("todo:VP8InitRandom"),I.ia=1)}I.Ga=F.Id,100<I.Ga?I.Ga=100:0>I.Ga&&(I.Ga=0)}(function(tt,dt){if(tt==null)return 0;if(dt==null)return Mn(tt,2,"NULL VP8Io parameter in VP8Decode().");if(!tt.cb&&!yr(tt,dt))return 0;if(t(tt.cb),dt.ac==null||dt.ac(dt)){dt.ob&&(tt.L=0);var xt=Eu[tt.L];if(tt.L==2?(tt.yb=0,tt.zb=0):(tt.yb=dt.v-xt>>4,tt.zb=dt.j-xt>>4,0>tt.yb&&(tt.yb=0),0>tt.zb&&(tt.zb=0)),tt.Va=dt.o+15+xt>>4,tt.Hb=dt.va+15+xt>>4,tt.Hb>tt.za&&(tt.Hb=tt.za),tt.Va>tt.Ub&&(tt.Va=tt.Ub),0<tt.L){var Mt=tt.ed;for(xt=0;4>xt;++xt){var Et;if(tt.Qa.Cb){var Rt=tt.Qa.Lb[xt];tt.Qa.Fb||(Rt+=Mt.Tb)}else Rt=Mt.Tb;for(Et=0;1>=Et;++Et){var jt=tt.gd[xt][Et],$t=Rt;if(Mt.Pc&&($t+=Mt.vd[0],Et&&($t+=Mt.od[0])),0<($t=0>$t?0:63<$t?63:$t)){var zt=$t;0<Mt.wb&&(zt=4<Mt.wb?zt>>2:zt>>1)>9-Mt.wb&&(zt=9-Mt.wb),1>zt&&(zt=1),jt.dd=zt,jt.tc=2*$t+zt,jt.ld=40<=$t?2:15<=$t?1:0}else jt.tc=0;jt.La=Et}}}xt=0}else Mn(tt,6,"Frame setup failed"),xt=tt.a;if(xt=xt==0){if(xt){tt.$c=0,0<tt.Aa||(tt.Ic=xF);e:{xt=tt.Ic,Mt=4*(zt=tt.za);var Ce=32*zt,we=zt+1,ze=0<tt.L?zt*(0<tt.Aa?2:1):0,ye=(tt.Aa==2?2:1)*zt;if((jt=Mt+832+(Et=3*(16*xt+Eu[tt.L])/2*Ce)+(Rt=tt.Fa!=null&&0<tt.Fa.length?tt.Kc.c*tt.Kc.i:0))!=jt)xt=0;else{if(jt>tt.Vb){if(tt.Vb=0,tt.Ec=i(jt),tt.Fc=0,tt.Ec==null){xt=Mn(tt,1,"no memory during frame initialization.");break e}tt.Vb=jt}jt=tt.Ec,$t=tt.Fc,tt.Ac=jt,tt.Bc=$t,$t+=Mt,tt.Gd=s(Ce,Ti),tt.Hd=0,tt.rb=s(we+1,ki),tt.sb=1,tt.wa=ze?s(ze,IA):null,tt.Y=0,tt.D.Nb=0,tt.D.wa=tt.wa,tt.D.Y=tt.Y,0<tt.Aa&&(tt.D.Y+=zt),t(!0),tt.oc=jt,tt.pc=$t,$t+=832,tt.ya=s(ye,Do),tt.aa=0,tt.D.ya=tt.ya,tt.D.aa=tt.aa,tt.Aa==2&&(tt.D.aa+=zt),tt.R=16*zt,tt.B=8*zt,zt=(Ce=Eu[tt.L])*tt.R,Ce=Ce/2*tt.B,tt.sa=jt,tt.ta=$t+zt,tt.qa=tt.sa,tt.ra=tt.ta+16*xt*tt.R+Ce,tt.Ha=tt.qa,tt.Ia=tt.ra+8*xt*tt.B+Ce,tt.$c=0,$t+=Et,tt.mb=Rt?jt:null,tt.nb=Rt?$t:null,t($t+Rt<=tt.Fc+tt.Vb),Oi(tt),r(tt.Ac,tt.Bc,0,Mt),xt=1}}if(xt){if(dt.ka=0,dt.y=tt.sa,dt.O=tt.ta,dt.f=tt.qa,dt.N=tt.ra,dt.ea=tt.Ha,dt.Vd=tt.Ia,dt.fa=tt.R,dt.Rc=tt.B,dt.F=null,dt.J=0,!Sw){for(xt=-255;255>=xt;++xt)_w[255+xt]=0>xt?-xt:xt;for(xt=-1020;1020>=xt;++xt)Ew[1020+xt]=-128>xt?-128:127<xt?127:xt;for(xt=-112;112>=xt;++xt)Uw[112+xt]=-16>xt?-16:15<xt?15:xt;for(xt=-255;510>=xt;++xt)Qw[255+xt]=0>xt?0:255<xt?255:xt;Sw=1}wt=Rs,Qt=za,Ue=Dr,Ae=Ds,Te=Ro,ne=Ms,Pe=Go,nn=Ri,bn=L,Xe=Y,gi=Xo,Ye=b,On=lt,Gl=Bt,mu=Di,wi=Xs,Ya=xr,eo=zo,mi[0]=Xa,mi[1]=is,mi[2]=Hi,mi[3]=js,mi[4]=kA,mi[5]=jo,mi[6]=TA,mi[7]=Vs,mi[8]=qs,mi[9]=Ws,no[0]=Ko,no[1]=Ga,no[2]=XA,no[3]=lA,no[4]=ss,no[5]=Ks,no[6]=zl,gs[0]=Vo,gs[1]=ql,gs[2]=Pi,gs[3]=$a,gs[4]=Wo,gs[5]=Mi,gs[6]=qo,xt=1}else xt=0}xt&&(xt=(function(tn,uA){for(tn.M=0;tn.M<tn.Va;++tn.M){var Ge,xe=tn.Jc[tn.M&tn.Xb],oe=tn.m,zn=tn;for(Ge=0;Ge<zn.za;++Ge){var We=oe,An=zn,Fn=An.Ac,FA=An.Bc+4*Ge,ZA=An.zc,Rn=An.ya[An.aa+Ge];if(An.Qa.Bb?Rn.$b=Kt(We,An.Pa.jb[0])?2+Kt(We,An.Pa.jb[2]):Kt(We,An.Pa.jb[1]):Rn.$b=0,An.kc&&(Rn.Ad=Kt(We,An.Bd)),Rn.Za=!Kt(We,145)+0,Rn.Za){var NA=Rn.Ob,tr=0;for(An=0;4>An;++An){var fA,rn=ZA[0+An];for(fA=0;4>fA;++fA){rn=aF[Fn[FA+fA]][rn];for(var fn=Tw[Kt(We,rn[0])];0<fn;)fn=Tw[2*fn+Kt(We,rn[fn])];rn=-fn,Fn[FA+fA]=rn}A(NA,tr,Fn,FA,4),tr+=4,ZA[0+An]=rn}}else rn=Kt(We,156)?Kt(We,128)?1:3:Kt(We,163)?2:0,Rn.Ob[0]=rn,r(Fn,FA,rn,4),r(ZA,0,rn,4);Rn.Dd=Kt(We,142)?Kt(We,114)?Kt(We,183)?1:3:2:0}if(zn.m.Ka)return Mn(tn,7,"Premature end-of-partition0 encountered.");for(;tn.ja<tn.za;++tn.ja){if(zn=xe,We=(oe=tn).rb[oe.sb-1],Fn=oe.rb[oe.sb+oe.ja],Ge=oe.ya[oe.aa+oe.ja],FA=oe.kc?Ge.Ad:0)We.la=Fn.la=0,Ge.Za||(We.Na=Fn.Na=0),Ge.Hc=0,Ge.Gc=0,Ge.ia=0;else{var Kn,hn;if(We=Fn,Fn=zn,FA=oe.Pa.Xc,ZA=oe.ya[oe.aa+oe.ja],Rn=oe.pb[ZA.$b],An=ZA.ad,NA=0,tr=oe.rb[oe.sb-1],rn=fA=0,r(An,NA,0,384),ZA.Za)var _A=0,Bi=FA[3];else{fn=i(16);var Gn=We.Na+tr.Na;if(Gn=Xl(Fn,FA[1],Gn,Rn.Eb,0,fn,0),We.Na=tr.Na=(0<Gn)+0,1<Gn)wt(fn,0,An,NA);else{var fr=fn[0]+3>>3;for(fn=0;256>fn;fn+=16)An[NA+fn]=fr}_A=1,Bi=FA[0]}var wn=15&We.la,hA=15&tr.la;for(fn=0;4>fn;++fn){var _r=1&hA;for(fr=hn=0;4>fr;++fr)wn=wn>>1|(_r=(Gn=Xl(Fn,Bi,Gn=_r+(1&wn),Rn.Sc,_A,An,NA))>_A)<<7,hn=hn<<2|(3<Gn?3:1<Gn?2:An[NA+0]!=0),NA+=16;wn>>=4,hA=hA>>1|_r<<7,fA=(fA<<8|hn)>>>0}for(Bi=wn,_A=hA>>4,Kn=0;4>Kn;Kn+=2){for(hn=0,wn=We.la>>4+Kn,hA=tr.la>>4+Kn,fn=0;2>fn;++fn){for(_r=1&hA,fr=0;2>fr;++fr)Gn=_r+(1&wn),wn=wn>>1|(_r=0<(Gn=Xl(Fn,FA[2],Gn,Rn.Qc,0,An,NA)))<<3,hn=hn<<2|(3<Gn?3:1<Gn?2:An[NA+0]!=0),NA+=16;wn>>=2,hA=hA>>1|_r<<5}rn|=hn<<4*Kn,Bi|=wn<<4<<Kn,_A|=(240&hA)<<Kn}We.la=Bi,tr.la=_A,ZA.Hc=fA,ZA.Gc=rn,ZA.ia=43690&rn?0:Rn.ia,FA=!(fA|rn)}if(0<oe.L&&(oe.wa[oe.Y+oe.ja]=oe.gd[Ge.$b][Ge.Za],oe.wa[oe.Y+oe.ja].La|=!FA),zn.Ka)return Mn(tn,7,"Premature end-of-file encountered.")}if(Oi(tn),oe=uA,zn=1,Ge=(xe=tn).D,We=0<xe.L&&xe.M>=xe.zb&&xe.M<=xe.Va,xe.Aa==0)e:{if(Ge.M=xe.M,Ge.uc=We,$A(xe,Ge),zn=1,Ge=(hn=xe.D).Nb,We=(rn=Eu[xe.L])*xe.R,Fn=rn/2*xe.B,fn=16*Ge*xe.R,fr=8*Ge*xe.B,FA=xe.sa,ZA=xe.ta-We+fn,Rn=xe.qa,An=xe.ra-Fn+fr,NA=xe.Ha,tr=xe.Ia-Fn+fr,hA=(wn=hn.M)==0,fA=wn>=xe.Va-1,xe.Aa==2&&$A(xe,hn),hn.uc)for(_r=(Gn=xe).D.M,t(Gn.D.uc),hn=Gn.yb;hn<Gn.Hb;++hn){_A=hn,Bi=_r;var er=(Er=(EA=Gn).D).Nb;Kn=EA.R;var Er=Er.wa[Er.Y+_A],Ur=EA.sa,hr=EA.ta+16*er*Kn+16*_A,Qr=Er.dd,vn=Er.tc;if(vn!=0)if(t(3<=vn),EA.L==1)0<_A&&wi(Ur,hr,Kn,vn+4),Er.La&&eo(Ur,hr,Kn,vn),0<Bi&&mu(Ur,hr,Kn,vn+4),Er.La&&Ya(Ur,hr,Kn,vn);else{var Sr=EA.B,bi=EA.qa,Zo=EA.ra+8*er*Sr+8*_A,ws=EA.Ha,EA=EA.Ia+8*er*Sr+8*_A;er=Er.ld,0<_A&&(nn(Ur,hr,Kn,vn+4,Qr,er),Xe(bi,Zo,ws,EA,Sr,vn+4,Qr,er)),Er.La&&(Ye(Ur,hr,Kn,vn,Qr,er),Gl(bi,Zo,ws,EA,Sr,vn,Qr,er)),0<Bi&&(Pe(Ur,hr,Kn,vn+4,Qr,er),bn(bi,Zo,ws,EA,Sr,vn+4,Qr,er)),Er.La&&(gi(Ur,hr,Kn,vn,Qr,er),On(bi,Zo,ws,EA,Sr,vn,Qr,er))}}if(xe.ia&&alert("todo:DitherRow"),oe.put!=null){if(hn=16*wn,wn=16*(wn+1),hA?(oe.y=xe.sa,oe.O=xe.ta+fn,oe.f=xe.qa,oe.N=xe.ra+fr,oe.ea=xe.Ha,oe.W=xe.Ia+fr):(hn-=rn,oe.y=FA,oe.O=ZA,oe.f=Rn,oe.N=An,oe.ea=NA,oe.W=tr),fA||(wn-=rn),wn>oe.o&&(wn=oe.o),oe.F=null,oe.J=null,xe.Fa!=null&&0<xe.Fa.length&&hn<wn&&(oe.J=en(xe,oe,hn,wn-hn),oe.F=xe.mb,oe.F==null&&oe.F.length==0)){zn=Mn(xe,3,"Could not decode alpha data.");break e}hn<oe.j&&(rn=oe.j-hn,hn=oe.j,t(!(1&rn)),oe.O+=xe.R*rn,oe.N+=xe.B*(rn>>1),oe.W+=xe.B*(rn>>1),oe.F!=null&&(oe.J+=oe.width*rn)),hn<wn&&(oe.O+=oe.v,oe.N+=oe.v>>1,oe.W+=oe.v>>1,oe.F!=null&&(oe.J+=oe.v),oe.ka=hn-oe.j,oe.U=oe.va-oe.v,oe.T=wn-hn,zn=oe.put(oe))}Ge+1!=xe.Ic||fA||(A(xe.sa,xe.ta-We,FA,ZA+16*xe.R,We),A(xe.qa,xe.ra-Fn,Rn,An+8*xe.B,Fn),A(xe.Ha,xe.Ia-Fn,NA,tr+8*xe.B,Fn))}if(!zn)return Mn(tn,6,"Output aborted.")}return 1})(tt,dt)),dt.bc!=null&&dt.bc(dt),xt&=1}return xt?(tt.cb=0,xt):0})(f,E)||(g=f.a)}}else g=f.a}g==0&&R.Oa!=null&&R.Oa.fd&&(g=Zs(R.ba))}R=g}P=R!=0?null:11>P?j.f.RGBA.eb:j.f.kb.y}else P=null;return P};var Kw=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function l(H,ot){for(var N="",K=0;K<4;K++)N+=String.fromCharCode(H[ot++]);return N}function u(H,ot){return H[ot+0]|H[ot+1]<<8}function h(H,ot){return(H[ot+0]|H[ot+1]<<8|H[ot+2]<<16)>>>0}function w(H,ot){return(H[ot+0]|H[ot+1]<<8|H[ot+2]<<16|H[ot+3]<<24)>>>0}new a;var p=[0],y=[0],v=[],C=new a,_=e,S=(function(H,ot){var N={},K=0,et=!1,At=0,pt=0;if(N.frames=[],!(function(O,X){for(var it=0;it<4;it++)if(O[X+it]!="RIFF".charCodeAt(it))return!0;return!1})(H,ot)){for(w(H,ot+=4),ot+=8;ot<H.length;){var gt=l(H,ot),mt=w(H,ot+=4);ot+=4;var ht=mt+(1&mt);switch(gt){case"VP8 ":case"VP8L":N.frames[K]===void 0&&(N.frames[K]={}),(Ht=N.frames[K]).src_off=et?pt:ot-8,Ht.src_size=At+mt+8,K++,et&&(et=!1,At=0,pt=0);break;case"VP8X":(Ht=N.header={}).feature_flags=H[ot];var Ft=ot+4;Ht.canvas_width=1+h(H,Ft),Ft+=3,Ht.canvas_height=1+h(H,Ft),Ft+=3;break;case"ALPH":et=!0,At=ht+8,pt=ot-8;break;case"ANIM":(Ht=N.header).bgcolor=w(H,ot),Ft=ot+4,Ht.loop_count=u(H,Ft),Ft+=2;break;case"ANMF":var Vt,Ht;(Ht=N.frames[K]={}).offset_x=2*h(H,ot),ot+=3,Ht.offset_y=2*h(H,ot),ot+=3,Ht.width=1+h(H,ot),ot+=3,Ht.height=1+h(H,ot),ot+=3,Ht.duration=h(H,ot),ot+=3,Vt=H[ot++],Ht.dispose=1&Vt,Ht.blend=Vt>>1&1}gt!="ANMF"&&(ot+=ht)}return N}})(_,0);S.response=_,S.rgbaoutput=!0,S.dataurl=!1;var M=S.header?S.header:null,T=S.frames?S.frames:null;if(M){M.loop_counter=M.loop_count,p=[M.canvas_height],y=[M.canvas_width];for(var V=0;V<T.length&&T[V].blend!=0;V++);}var B=T[0],G=C.WebPDecodeRGBA(_,B.src_off,B.src_size,y,p);B.rgba=G,B.imgwidth=y[0],B.imgheight=p[0];for(var z=0;z<y[0]*p[0]*4;z++)v[z]=G[z];return this.width=y,this.height=p,this.data=v,this}function FH(){var e,t=this.internal.__metadata__.metadata,n=unescape(encodeURIComponent(t));e=this.internal.__metadata__.rawXml?n:'<x:xmpmeta xmlns:x="adobe:ns:meta/"><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>'+n.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")+"</jspdf:metadata></rdf:Description></rdf:RDF></x:xmpmeta>",this.internal.__metadata__.metadataObjectNumber=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+e.length+" >>"),this.internal.write("stream"),this.internal.write(e),this.internal.write("endstream"),this.internal.write("endobj")}function _H(){this.internal.__metadata__.metadataObjectNumber&&this.internal.write("/Metadata "+this.internal.__metadata__.metadataObjectNumber+" 0 R")}(function(e){var t,n,A,r,i,s,o,a,l,u=function(O){return O=O||{},this.isStrokeTransparent=O.isStrokeTransparent||!1,this.strokeOpacity=O.strokeOpacity||1,this.strokeStyle=O.strokeStyle||"#000000",this.fillStyle=O.fillStyle||"#000000",this.isFillTransparent=O.isFillTransparent||!1,this.fillOpacity=O.fillOpacity||1,this.font=O.font||"10px sans-serif",this.textBaseline=O.textBaseline||"alphabetic",this.textAlign=O.textAlign||"left",this.lineWidth=O.lineWidth||1,this.lineJoin=O.lineJoin||"miter",this.lineCap=O.lineCap||"butt",this.path=O.path||[],this.transform=O.transform!==void 0?O.transform.clone():new a,this.globalCompositeOperation=O.globalCompositeOperation||"normal",this.globalAlpha=O.globalAlpha||1,this.clip_path=O.clip_path||[],this.currentPoint=O.currentPoint||new s,this.miterLimit=O.miterLimit||10,this.lastPoint=O.lastPoint||new s,this.lineDashOffset=O.lineDashOffset||0,this.lineDash=O.lineDash||[],this.margin=O.margin||[0,0,0,0],this.prevPageLastElemOffset=O.prevPageLastElemOffset||0,this.ignoreClearRect=typeof O.ignoreClearRect!="boolean"||O.ignoreClearRect,this};e.events.push(["initialized",function(){this.context2d=new h(this),t=this.internal.f2,n=this.internal.getCoordinateString,A=this.internal.getVerticalCoordinateString,r=this.internal.getHorizontalCoordinate,i=this.internal.getVerticalCoordinate,s=this.internal.Point,o=this.internal.Rectangle,a=this.internal.Matrix,l=new u}]);var h=function(O){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var X=O;Object.defineProperty(this,"pdf",{get:function(){return X}});var it=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return it},set:function(q){it=!!q}});var at=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return at},set:function(q){at=!!q}});var ct=0;Object.defineProperty(this,"posX",{get:function(){return ct},set:function(q){isNaN(q)||(ct=q)}});var bt=0;Object.defineProperty(this,"posY",{get:function(){return bt},set:function(q){isNaN(q)||(bt=q)}}),Object.defineProperty(this,"margin",{get:function(){return l.margin},set:function(q){var se;typeof q=="number"?se=[q,q,q,q]:((se=new Array(4))[0]=q[0],se[1]=q.length>=2?q[1]:se[0],se[2]=q.length>=3?q[2]:se[0],se[3]=q.length>=4?q[3]:se[1]),l.margin=se}});var It=!1;Object.defineProperty(this,"autoPaging",{get:function(){return It},set:function(q){It=q}});var Tt=0;Object.defineProperty(this,"lastBreak",{get:function(){return Tt},set:function(q){Tt=q}});var Kt=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Kt},set:function(q){Kt=q}}),Object.defineProperty(this,"ctx",{get:function(){return l},set:function(q){q instanceof u&&(l=q)}}),Object.defineProperty(this,"path",{get:function(){return l.path},set:function(q){l.path=q}});var Xt=[];Object.defineProperty(this,"ctxStack",{get:function(){return Xt},set:function(q){Xt=q}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(q){var se;se=w(q),this.ctx.fillStyle=se.style,this.ctx.isFillTransparent=se.a===0,this.ctx.fillOpacity=se.a,this.pdf.setFillColor(se.r,se.g,se.b,{a:se.a}),this.pdf.setTextColor(se.r,se.g,se.b,{a:se.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(q){var se=w(q);this.ctx.strokeStyle=se.style,this.ctx.isStrokeTransparent=se.a===0,this.ctx.strokeOpacity=se.a,se.a===0?this.pdf.setDrawColor(255,255,255):(se.a,this.pdf.setDrawColor(se.r,se.g,se.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(q){["butt","round","square"].indexOf(q)!==-1&&(this.ctx.lineCap=q,this.pdf.setLineCap(q))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(q){isNaN(q)||(this.ctx.lineWidth=q,this.pdf.setLineWidth(q))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(q){["bevel","round","miter"].indexOf(q)!==-1&&(this.ctx.lineJoin=q,this.pdf.setLineJoin(q))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(q){isNaN(q)||(this.ctx.miterLimit=q,this.pdf.setMiterLimit(q))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(q){this.ctx.textBaseline=q}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(q){["right","end","center","left","start"].indexOf(q)!==-1&&(this.ctx.textAlign=q)}});var ae=null,ie=null,fe=null;Object.defineProperty(this,"fontFaces",{get:function(){return fe},set:function(q){ae=null,ie=null,fe=q}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(q){var se;if(this.ctx.font=q,(se=/^\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-z0-9]+?)\s*$/i.exec(q))!==null){var Re=se[1];se[2];var Se=se[3],Gt=se[4];se[5];var Ee=se[6],he=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(Gt)[2];Gt=Math.floor(he==="px"?parseFloat(Gt)*this.pdf.internal.scaleFactor:he==="em"?parseFloat(Gt)*this.pdf.getFontSize():parseFloat(Gt)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(Gt);var ve=(function(Nt){var re,te,Yt=[],Jt=Nt.trim();if(Jt==="")return Sp;if(Jt in R2)return[R2[Jt]];for(;Jt!=="";){switch(te=null,re=(Jt=j2(Jt)).charAt(0)){case'"':case"'":te=BH(Jt.substring(1),re);break;default:te=bH(Jt)}if(te===null||(Yt.push(te[0]),(Jt=j2(te[1]))!==""&&Jt.charAt(0)!==","))return Sp;Jt=Jt.replace(/^,/,"")}return Yt})(Ee);if(this.fontFaces){var ge=(function(Nt,re){var te=Nt.getFontList(),Yt=JSON.stringify(te);if(ae===null||ie!==Yt){var Jt=(function(Be){var St=[];return Object.keys(Be).forEach(function(Zt){Be[Zt].forEach(function(Ot){var Wt=null;switch(Ot){case"bold":Wt={family:Zt,weight:"bold"};break;case"italic":Wt={family:Zt,style:"italic"};break;case"bolditalic":Wt={family:Zt,weight:"bold",style:"italic"};break;case"":case"normal":Wt={family:Zt}}Wt!==null&&(Wt.ref={name:Zt,style:Ot},St.push(Wt))})}),St})(te);ae=(function(Be){for(var St={},Zt=0;Zt<Be.length;++Zt){var Ot=Qp(Be[Zt]),Wt=Ot.family,ee=Ot.stretch,de=Ot.style,le=Ot.weight;St[Wt]=St[Wt]||{},St[Wt][ee]=St[Wt][ee]||{},St[Wt][ee][de]=St[Wt][ee][de]||{},St[Wt][ee][de][le]=Ot}return St})(Jt.concat(re)),ie=Yt}return ae})(this.pdf,this.fontFaces),ke=ve.map(function(Nt){return{family:Nt,stretch:"normal",weight:Se,style:Re}}),k=(function(Nt,re,te){for(var Yt=(te=te||{}).defaultFontFamily||"times",Jt=Object.assign({},mH,te.genericFontFamilies||{}),Be=null,St=null,Zt=0;Zt<re.length;++Zt)if(Jt[(Be=Qp(re[Zt])).family]&&(Be.family=Jt[Be.family]),Nt.hasOwnProperty(Be.family)){St=Nt[Be.family];break}if(!(St=St||Nt[Yt]))throw new Error("Could not find a font-family for the rule '"+K2(Be)+"' and default family '"+Yt+"'.");if(St=(function(Ot,Wt){if(Wt[Ot])return Wt[Ot];var ee=Gg[Ot],de=ee<=Gg.normal?-1:1,le=D2(Wt,Xx,ee,de);if(!le)throw new Error("Could not find a matching font-stretch value for "+Ot);return le})(Be.stretch,St),St=(function(Ot,Wt){if(Wt[Ot])return Wt[Ot];for(var ee=Gx[Ot],de=0;de<ee.length;++de)if(Wt[ee[de]])return Wt[ee[de]];throw new Error("Could not find a matching font-style for "+Ot)})(Be.style,St),!(St=(function(Ot,Wt){if(Wt[Ot])return Wt[Ot];if(Ot===400&&Wt[500])return Wt[500];if(Ot===500&&Wt[400])return Wt[400];var ee=wH[Ot],de=D2(Wt,$x,ee,Ot<400?-1:1);if(!de)throw new Error("Could not find a matching font-weight for value "+Ot);return de})(Be.weight,St)))throw new Error("Failed to resolve a font for the rule '"+K2(Be)+"'.");return St})(ge,ke);this.pdf.setFont(k.ref.name,k.ref.style)}else{var rt="";(Se==="bold"||parseInt(Se,10)>=700||Re==="bold")&&(rt="bold"),Re==="italic"&&(rt+="italic"),rt.length===0&&(rt="normal");for(var nt="",Ct={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"},yt=0;yt<ve.length;yt++){if(this.pdf.internal.getFont(ve[yt],rt,{noFallback:!0,disableWarning:!0})!==void 0){nt=ve[yt];break}if(rt==="bolditalic"&&this.pdf.internal.getFont(ve[yt],"bold",{noFallback:!0,disableWarning:!0})!==void 0)nt=ve[yt],rt="bold";else if(this.pdf.internal.getFont(ve[yt],"normal",{noFallback:!0,disableWarning:!0})!==void 0){nt=ve[yt],rt="normal";break}}if(nt===""){for(var _t=0;_t<ve.length;_t++)if(Ct[ve[_t]]){nt=Ct[ve[_t]];break}}nt=nt===""?"Times":nt,this.pdf.setFont(nt,rt)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(q){this.ctx.globalCompositeOperation=q}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(q){this.ctx.globalAlpha=q}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(q){this.ctx.lineDashOffset=q,Ht.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(q){this.ctx.lineDash=q,Ht.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(q){this.ctx.ignoreClearRect=!!q}})};h.prototype.setLineDash=function(O){this.lineDash=O},h.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},h.prototype.fill=function(){T.call(this,"fill",!1)},h.prototype.stroke=function(){T.call(this,"stroke",!1)},h.prototype.beginPath=function(){this.path=[{type:"begin"}]},h.prototype.moveTo=function(O,X){if(isNaN(O)||isNaN(X))throw mn.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var it=this.ctx.transform.applyToPoint(new s(O,X));this.path.push({type:"mt",x:it.x,y:it.y}),this.ctx.lastPoint=new s(O,X)},h.prototype.closePath=function(){var O=new s(0,0),X=0;for(X=this.path.length-1;X!==-1;X--)if(this.path[X].type==="begin"&&pn(this.path[X+1])==="object"&&typeof this.path[X+1].x=="number"){O=new s(this.path[X+1].x,this.path[X+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new s(O.x,O.y)},h.prototype.lineTo=function(O,X){if(isNaN(O)||isNaN(X))throw mn.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var it=this.ctx.transform.applyToPoint(new s(O,X));this.path.push({type:"lt",x:it.x,y:it.y}),this.ctx.lastPoint=new s(it.x,it.y)},h.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),T.call(this,null,!0)},h.prototype.quadraticCurveTo=function(O,X,it,at){if(isNaN(it)||isNaN(at)||isNaN(O)||isNaN(X))throw mn.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var ct=this.ctx.transform.applyToPoint(new s(it,at)),bt=this.ctx.transform.applyToPoint(new s(O,X));this.path.push({type:"qct",x1:bt.x,y1:bt.y,x:ct.x,y:ct.y}),this.ctx.lastPoint=new s(ct.x,ct.y)},h.prototype.bezierCurveTo=function(O,X,it,at,ct,bt){if(isNaN(ct)||isNaN(bt)||isNaN(O)||isNaN(X)||isNaN(it)||isNaN(at))throw mn.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var It=this.ctx.transform.applyToPoint(new s(ct,bt)),Tt=this.ctx.transform.applyToPoint(new s(O,X)),Kt=this.ctx.transform.applyToPoint(new s(it,at));this.path.push({type:"bct",x1:Tt.x,y1:Tt.y,x2:Kt.x,y2:Kt.y,x:It.x,y:It.y}),this.ctx.lastPoint=new s(It.x,It.y)},h.prototype.arc=function(O,X,it,at,ct,bt){if(isNaN(O)||isNaN(X)||isNaN(it)||isNaN(at)||isNaN(ct))throw mn.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(bt=!!bt,!this.ctx.transform.isIdentity){var It=this.ctx.transform.applyToPoint(new s(O,X));O=It.x,X=It.y;var Tt=this.ctx.transform.applyToPoint(new s(0,it)),Kt=this.ctx.transform.applyToPoint(new s(0,0));it=Math.sqrt(Math.pow(Tt.x-Kt.x,2)+Math.pow(Tt.y-Kt.y,2))}Math.abs(ct-at)>=2*Math.PI&&(at=0,ct=2*Math.PI),this.path.push({type:"arc",x:O,y:X,radius:it,startAngle:at,endAngle:ct,counterclockwise:bt})},h.prototype.arcTo=function(O,X,it,at,ct){throw new Error("arcTo not implemented.")},h.prototype.rect=function(O,X,it,at){if(isNaN(O)||isNaN(X)||isNaN(it)||isNaN(at))throw mn.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(O,X),this.lineTo(O+it,X),this.lineTo(O+it,X+at),this.lineTo(O,X+at),this.lineTo(O,X),this.lineTo(O+it,X),this.lineTo(O,X)},h.prototype.fillRect=function(O,X,it,at){if(isNaN(O)||isNaN(X)||isNaN(it)||isNaN(at))throw mn.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!p.call(this)){var ct={};this.lineCap!=="butt"&&(ct.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(ct.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(O,X,it,at),this.fill(),ct.hasOwnProperty("lineCap")&&(this.lineCap=ct.lineCap),ct.hasOwnProperty("lineJoin")&&(this.lineJoin=ct.lineJoin)}},h.prototype.strokeRect=function(O,X,it,at){if(isNaN(O)||isNaN(X)||isNaN(it)||isNaN(at))throw mn.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");y.call(this)||(this.beginPath(),this.rect(O,X,it,at),this.stroke())},h.prototype.clearRect=function(O,X,it,at){if(isNaN(O)||isNaN(X)||isNaN(it)||isNaN(at))throw mn.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(O,X,it,at))},h.prototype.save=function(O){O=typeof O!="boolean"||O;for(var X=this.pdf.internal.getCurrentPageInfo().pageNumber,it=0;it<this.pdf.internal.getNumberOfPages();it++)this.pdf.setPage(it+1),this.pdf.internal.out("q");if(this.pdf.setPage(X),O){this.ctx.fontSize=this.pdf.internal.getFontSize();var at=new u(this.ctx);this.ctxStack.push(this.ctx),this.ctx=at}},h.prototype.restore=function(O){O=typeof O!="boolean"||O;for(var X=this.pdf.internal.getCurrentPageInfo().pageNumber,it=0;it<this.pdf.internal.getNumberOfPages();it++)this.pdf.setPage(it+1),this.pdf.internal.out("Q");this.pdf.setPage(X),O&&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)},h.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var w=function(O){var X,it,at,ct;if(O.isCanvasGradient===!0&&(O=O.getColor()),!O)return{r:0,g:0,b:0,a:0,style:O};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(O))X=0,it=0,at=0,ct=0;else{var bt=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(O);if(bt!==null)X=parseInt(bt[1]),it=parseInt(bt[2]),at=parseInt(bt[3]),ct=1;else if((bt=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(O))!==null)X=parseInt(bt[1]),it=parseInt(bt[2]),at=parseInt(bt[3]),ct=parseFloat(bt[4]);else{if(ct=1,typeof O=="string"&&O.charAt(0)!=="#"){var It=new Rx(O);O=It.ok?It.toHex():"#000000"}O.length===4?(X=O.substring(1,2),X+=X,it=O.substring(2,3),it+=it,at=O.substring(3,4),at+=at):(X=O.substring(1,3),it=O.substring(3,5),at=O.substring(5,7)),X=parseInt(X,16),it=parseInt(it,16),at=parseInt(at,16)}}return{r:X,g:it,b:at,a:ct,style:O}},p=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},y=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};h.prototype.fillText=function(O,X,it,at){if(isNaN(X)||isNaN(it)||typeof O!="string")throw mn.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(at=isNaN(at)?void 0:at,!p.call(this)){var ct=ht(this.ctx.transform.rotation),bt=this.ctx.transform.scaleX;K.call(this,{text:O,x:X,y:it,scale:bt,angle:ct,align:this.textAlign,maxWidth:at})}},h.prototype.strokeText=function(O,X,it,at){if(isNaN(X)||isNaN(it)||typeof O!="string")throw mn.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!y.call(this)){at=isNaN(at)?void 0:at;var ct=ht(this.ctx.transform.rotation),bt=this.ctx.transform.scaleX;K.call(this,{text:O,x:X,y:it,scale:bt,renderingMode:"stroke",angle:ct,align:this.textAlign,maxWidth:at})}},h.prototype.measureText=function(O){if(typeof O!="string")throw mn.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var X=this.pdf,it=this.pdf.internal.scaleFactor,at=X.internal.getFontSize(),ct=X.getStringUnitWidth(O)*at/X.internal.scaleFactor;return new function(bt){var It=(bt=bt||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return It}}),this}({width:ct*=Math.round(96*it/72*1e4)/1e4})},h.prototype.scale=function(O,X){if(isNaN(O)||isNaN(X))throw mn.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var it=new a(O,0,0,X,0,0);this.ctx.transform=this.ctx.transform.multiply(it)},h.prototype.rotate=function(O){if(isNaN(O))throw mn.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var X=new a(Math.cos(O),Math.sin(O),-Math.sin(O),Math.cos(O),0,0);this.ctx.transform=this.ctx.transform.multiply(X)},h.prototype.translate=function(O,X){if(isNaN(O)||isNaN(X))throw mn.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var it=new a(1,0,0,1,O,X);this.ctx.transform=this.ctx.transform.multiply(it)},h.prototype.transform=function(O,X,it,at,ct,bt){if(isNaN(O)||isNaN(X)||isNaN(it)||isNaN(at)||isNaN(ct)||isNaN(bt))throw mn.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var It=new a(O,X,it,at,ct,bt);this.ctx.transform=this.ctx.transform.multiply(It)},h.prototype.setTransform=function(O,X,it,at,ct,bt){O=isNaN(O)?1:O,X=isNaN(X)?0:X,it=isNaN(it)?0:it,at=isNaN(at)?1:at,ct=isNaN(ct)?0:ct,bt=isNaN(bt)?0:bt,this.ctx.transform=new a(O,X,it,at,ct,bt)};var v=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};h.prototype.drawImage=function(O,X,it,at,ct,bt,It,Tt,Kt){var Xt=this.pdf.getImageProperties(O),ae=1,ie=1,fe=1,q=1;at!==void 0&&Tt!==void 0&&(fe=Tt/at,q=Kt/ct,ae=Xt.width/at*Tt/at,ie=Xt.height/ct*Kt/ct),bt===void 0&&(bt=X,It=it,X=0,it=0),at!==void 0&&Tt===void 0&&(Tt=at,Kt=ct),at===void 0&&Tt===void 0&&(Tt=Xt.width,Kt=Xt.height);var se=this.ctx.transform.decompose(),Re=ht(se.rotate.shx),Se=new a,Gt=(Se=(Se=(Se=Se.multiply(se.translate)).multiply(se.skew)).multiply(se.scale)).applyToRectangle(new o(bt-X*fe,It-it*q,at*ae,ct*ie));if(this.autoPaging){for(var Ee,he=C.call(this,Gt),ve=[],ge=0;ge<he.length;ge+=1)ve.indexOf(he[ge])===-1&&ve.push(he[ge]);M(ve);for(var ke=ve[0],k=ve[ve.length-1],rt=ke;rt<k+1;rt++){this.pdf.setPage(rt);var nt=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],Ct=rt===1?this.posY+this.margin[0]:this.margin[0],yt=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],_t=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Nt=rt===1?0:yt+(rt-2)*_t;if(this.ctx.clip_path.length!==0){var re=this.path;Ee=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=S(Ee,this.posX+this.margin[3],-Nt+Ct+this.ctx.prevPageLastElemOffset),V.call(this,"fill",!0),this.path=re}var te=JSON.parse(JSON.stringify(Gt));te=S([te],this.posX+this.margin[3],-Nt+Ct+this.ctx.prevPageLastElemOffset)[0];var Yt=(rt>ke||rt<k)&&v.call(this);Yt&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],nt,_t,null).clip().discardPath()),this.pdf.addImage(O,"JPEG",te.x,te.y,te.w,te.h,null,null,Re),Yt&&this.pdf.restoreGraphicsState()}}else this.pdf.addImage(O,"JPEG",Gt.x,Gt.y,Gt.w,Gt.h,null,null,Re)};var C=function(O,X,it){var at=[];X=X||this.pdf.internal.pageSize.width,it=it||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var ct=this.posY+this.ctx.prevPageLastElemOffset;switch(O.type){default:case"mt":case"lt":at.push(Math.floor((O.y+ct)/it)+1);break;case"arc":at.push(Math.floor((O.y+ct-O.radius)/it)+1),at.push(Math.floor((O.y+ct+O.radius)/it)+1);break;case"qct":var bt=Ft(this.ctx.lastPoint.x,this.ctx.lastPoint.y,O.x1,O.y1,O.x,O.y);at.push(Math.floor((bt.y+ct)/it)+1),at.push(Math.floor((bt.y+bt.h+ct)/it)+1);break;case"bct":var It=Vt(this.ctx.lastPoint.x,this.ctx.lastPoint.y,O.x1,O.y1,O.x2,O.y2,O.x,O.y);at.push(Math.floor((It.y+ct)/it)+1),at.push(Math.floor((It.y+It.h+ct)/it)+1);break;case"rect":at.push(Math.floor((O.y+ct)/it)+1),at.push(Math.floor((O.y+O.h+ct)/it)+1)}for(var Tt=0;Tt<at.length;Tt+=1)for(;this.pdf.internal.getNumberOfPages()<at[Tt];)_.call(this);return at},_=function(){var O=this.fillStyle,X=this.strokeStyle,it=this.font,at=this.lineCap,ct=this.lineWidth,bt=this.lineJoin;this.pdf.addPage(),this.fillStyle=O,this.strokeStyle=X,this.font=it,this.lineCap=at,this.lineWidth=ct,this.lineJoin=bt},S=function(O,X,it){for(var at=0;at<O.length;at++)switch(O[at].type){case"bct":O[at].x2+=X,O[at].y2+=it;case"qct":O[at].x1+=X,O[at].y1+=it;default:O[at].x+=X,O[at].y+=it}return O},M=function(O){return O.sort(function(X,it){return X-it})},T=function(O,X){var it=this.fillStyle,at=this.strokeStyle,ct=this.lineCap,bt=this.lineWidth,It=Math.abs(bt*this.ctx.transform.scaleX),Tt=this.lineJoin;if(this.autoPaging){for(var Kt,Xt,ae=JSON.parse(JSON.stringify(this.path)),ie=JSON.parse(JSON.stringify(this.path)),fe=[],q=0;q<ie.length;q++)if(ie[q].x!==void 0)for(var se=C.call(this,ie[q]),Re=0;Re<se.length;Re+=1)fe.indexOf(se[Re])===-1&&fe.push(se[Re]);for(var Se=0;Se<fe.length;Se++)for(;this.pdf.internal.getNumberOfPages()<fe[Se];)_.call(this);M(fe);for(var Gt=fe[0],Ee=fe[fe.length-1],he=Gt;he<Ee+1;he++){this.pdf.setPage(he),this.fillStyle=it,this.strokeStyle=at,this.lineCap=ct,this.lineWidth=It,this.lineJoin=Tt;var ve=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],ge=he===1?this.posY+this.margin[0]:this.margin[0],ke=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],k=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],rt=he===1?0:ke+(he-2)*k;if(this.ctx.clip_path.length!==0){var nt=this.path;Kt=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=S(Kt,this.posX+this.margin[3],-rt+ge+this.ctx.prevPageLastElemOffset),V.call(this,O,!0),this.path=nt}if(Xt=JSON.parse(JSON.stringify(ae)),this.path=S(Xt,this.posX+this.margin[3],-rt+ge+this.ctx.prevPageLastElemOffset),X===!1||he===0){var Ct=(he>Gt||he<Ee)&&v.call(this);Ct&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],ve,k,null).clip().discardPath()),V.call(this,O,X),Ct&&this.pdf.restoreGraphicsState()}this.lineWidth=bt}this.path=ae}else this.lineWidth=It,V.call(this,O,X),this.lineWidth=bt},V=function(O,X){if((O!=="stroke"||X||!y.call(this))&&(O==="stroke"||X||!p.call(this))){for(var it,at,ct=[],bt=this.path,It=0;It<bt.length;It++){var Tt=bt[It];switch(Tt.type){case"begin":ct.push({begin:!0});break;case"close":ct.push({close:!0});break;case"mt":ct.push({start:Tt,deltas:[],abs:[]});break;case"lt":var Kt=ct.length;if(bt[It-1]&&!isNaN(bt[It-1].x)&&(it=[Tt.x-bt[It-1].x,Tt.y-bt[It-1].y],Kt>0)){for(;Kt>=0;Kt--)if(ct[Kt-1].close!==!0&&ct[Kt-1].begin!==!0){ct[Kt-1].deltas.push(it),ct[Kt-1].abs.push(Tt);break}}break;case"bct":it=[Tt.x1-bt[It-1].x,Tt.y1-bt[It-1].y,Tt.x2-bt[It-1].x,Tt.y2-bt[It-1].y,Tt.x-bt[It-1].x,Tt.y-bt[It-1].y],ct[ct.length-1].deltas.push(it);break;case"qct":var Xt=bt[It-1].x+2/3*(Tt.x1-bt[It-1].x),ae=bt[It-1].y+2/3*(Tt.y1-bt[It-1].y),ie=Tt.x+2/3*(Tt.x1-Tt.x),fe=Tt.y+2/3*(Tt.y1-Tt.y),q=Tt.x,se=Tt.y;it=[Xt-bt[It-1].x,ae-bt[It-1].y,ie-bt[It-1].x,fe-bt[It-1].y,q-bt[It-1].x,se-bt[It-1].y],ct[ct.length-1].deltas.push(it);break;case"arc":ct.push({deltas:[],abs:[],arc:!0}),Array.isArray(ct[ct.length-1].abs)&&ct[ct.length-1].abs.push(Tt)}}at=X?null:O==="stroke"?"stroke":"fill";for(var Re=!1,Se=0;Se<ct.length;Se++)if(ct[Se].arc)for(var Gt=ct[Se].abs,Ee=0;Ee<Gt.length;Ee++){var he=Gt[Ee];he.type==="arc"?z.call(this,he.x,he.y,he.radius,he.startAngle,he.endAngle,he.counterclockwise,void 0,X,!Re):et.call(this,he.x,he.y),Re=!0}else if(ct[Se].close===!0)this.pdf.internal.out("h"),Re=!1;else if(ct[Se].begin!==!0){var ve=ct[Se].start.x,ge=ct[Se].start.y;At.call(this,ct[Se].deltas,ve,ge),Re=!0}at&&H.call(this,at),X&&ot.call(this)}},B=function(O){var X=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,it=X*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return O-it;case"top":return O+X-it;case"hanging":return O+X-2*it;case"middle":return O+X/2-it;default:return O}},G=function(O){return O+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};h.prototype.createLinearGradient=function(){var O=function(){};return O.colorStops=[],O.addColorStop=function(X,it){this.colorStops.push([X,it])},O.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},O.isCanvasGradient=!0,O},h.prototype.createPattern=function(){return this.createLinearGradient()},h.prototype.createRadialGradient=function(){return this.createLinearGradient()};var z=function(O,X,it,at,ct,bt,It,Tt,Kt){for(var Xt=gt.call(this,it,at,ct,bt),ae=0;ae<Xt.length;ae++){var ie=Xt[ae];ae===0&&(Kt?N.call(this,ie.x1+O,ie.y1+X):et.call(this,ie.x1+O,ie.y1+X)),pt.call(this,O,X,ie.x2,ie.y2,ie.x3,ie.y3,ie.x4,ie.y4)}Tt?ot.call(this):H.call(this,It)},H=function(O){switch(O){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},ot=function(){this.pdf.clip(),this.pdf.discardPath()},N=function(O,X){this.pdf.internal.out(n(O)+" "+A(X)+" m")},K=function(O){var X;switch(O.align){case"right":case"end":X="right";break;case"center":X="center";break;default:X="left"}var it,at,ct,bt=this.pdf.getTextDimensions(O.text),It=B.call(this,O.y),Tt=G.call(this,It)-bt.h,Kt=this.ctx.transform.applyToPoint(new s(O.x,It));if(this.autoPaging){var Xt=this.ctx.transform.decompose(),ae=new a;ae=(ae=(ae=ae.multiply(Xt.translate)).multiply(Xt.skew)).multiply(Xt.scale);for(var ie=this.ctx.transform.applyToRectangle(new o(O.x,It,bt.w,bt.h)),fe=ae.applyToRectangle(new o(O.x,Tt,bt.w,bt.h)),q=C.call(this,fe),se=[],Re=0;Re<q.length;Re+=1)se.indexOf(q[Re])===-1&&se.push(q[Re]);M(se);for(var Se=se[0],Gt=se[se.length-1],Ee=Se;Ee<Gt+1;Ee++){this.pdf.setPage(Ee);var he=Ee===1?this.posY+this.margin[0]:this.margin[0],ve=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],ge=this.pdf.internal.pageSize.height-this.margin[2],ke=ge-this.margin[0],k=this.pdf.internal.pageSize.width-this.margin[1],rt=k-this.margin[3],nt=Ee===1?0:ve+(Ee-2)*ke;if(this.ctx.clip_path.length!==0){var Ct=this.path;it=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=S(it,this.posX+this.margin[3],-1*nt+he),V.call(this,"fill",!0),this.path=Ct}var yt=S([JSON.parse(JSON.stringify(fe))],this.posX+this.margin[3],-nt+he+this.ctx.prevPageLastElemOffset)[0];O.scale>=.01&&(at=this.pdf.internal.getFontSize(),this.pdf.setFontSize(at*O.scale),ct=this.lineWidth,this.lineWidth=ct*O.scale);var _t=this.autoPaging!=="text";if(_t||yt.y+yt.h<=ge){if(_t||yt.y>=he&&yt.x<=k){var Nt=_t?O.text:this.pdf.splitTextToSize(O.text,O.maxWidth||k-yt.x)[0],re=S([JSON.parse(JSON.stringify(ie))],this.posX+this.margin[3],-nt+he+this.ctx.prevPageLastElemOffset)[0],te=_t&&(Ee>Se||Ee<Gt)&&v.call(this);te&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],rt,ke,null).clip().discardPath()),this.pdf.text(Nt,re.x,re.y,{angle:O.angle,align:X,renderingMode:O.renderingMode}),te&&this.pdf.restoreGraphicsState()}}else yt.y<ge&&(this.ctx.prevPageLastElemOffset+=ge-yt.y);O.scale>=.01&&(this.pdf.setFontSize(at),this.lineWidth=ct)}}else O.scale>=.01&&(at=this.pdf.internal.getFontSize(),this.pdf.setFontSize(at*O.scale),ct=this.lineWidth,this.lineWidth=ct*O.scale),this.pdf.text(O.text,Kt.x+this.posX,Kt.y+this.posY,{angle:O.angle,align:X,renderingMode:O.renderingMode,maxWidth:O.maxWidth}),O.scale>=.01&&(this.pdf.setFontSize(at),this.lineWidth=ct)},et=function(O,X,it,at){it=it||0,at=at||0,this.pdf.internal.out(n(O+it)+" "+A(X+at)+" l")},At=function(O,X,it){return this.pdf.lines(O,X,it,null,null)},pt=function(O,X,it,at,ct,bt,It,Tt){this.pdf.internal.out([t(r(it+O)),t(i(at+X)),t(r(ct+O)),t(i(bt+X)),t(r(It+O)),t(i(Tt+X)),"c"].join(" "))},gt=function(O,X,it,at){for(var ct=2*Math.PI,bt=Math.PI/2;X>it;)X-=ct;var It=Math.abs(it-X);It<ct&&at&&(It=ct-It);for(var Tt=[],Kt=at?-1:1,Xt=X;It>1e-5;){var ae=Xt+Kt*Math.min(It,bt);Tt.push(mt.call(this,O,Xt,ae)),It-=Math.abs(ae-Xt),Xt=ae}return Tt},mt=function(O,X,it){var at=(it-X)/2,ct=O*Math.cos(at),bt=O*Math.sin(at),It=ct,Tt=-bt,Kt=It*It+Tt*Tt,Xt=Kt+It*ct+Tt*bt,ae=4/3*(Math.sqrt(2*Kt*Xt)-Xt)/(It*bt-Tt*ct),ie=It-ae*Tt,fe=Tt+ae*It,q=ie,se=-fe,Re=at+X,Se=Math.cos(Re),Gt=Math.sin(Re);return{x1:O*Math.cos(X),y1:O*Math.sin(X),x2:ie*Se-fe*Gt,y2:ie*Gt+fe*Se,x3:q*Se-se*Gt,y3:q*Gt+se*Se,x4:O*Math.cos(it),y4:O*Math.sin(it)}},ht=function(O){return 180*O/Math.PI},Ft=function(O,X,it,at,ct,bt){var It=O+.5*(it-O),Tt=X+.5*(at-X),Kt=ct+.5*(it-ct),Xt=bt+.5*(at-bt),ae=Math.min(O,ct,It,Kt),ie=Math.max(O,ct,It,Kt),fe=Math.min(X,bt,Tt,Xt),q=Math.max(X,bt,Tt,Xt);return new o(ae,fe,ie-ae,q-fe)},Vt=function(O,X,it,at,ct,bt,It,Tt){var Kt,Xt,ae,ie,fe,q,se,Re,Se,Gt,Ee,he,ve,ge,ke=it-O,k=at-X,rt=ct-it,nt=bt-at,Ct=It-ct,yt=Tt-bt;for(Xt=0;Xt<41;Xt++)Se=(se=(ae=O+(Kt=Xt/40)*ke)+Kt*((fe=it+Kt*rt)-ae))+Kt*(fe+Kt*(ct+Kt*Ct-fe)-se),Gt=(Re=(ie=X+Kt*k)+Kt*((q=at+Kt*nt)-ie))+Kt*(q+Kt*(bt+Kt*yt-q)-Re),Xt==0?(Ee=Se,he=Gt,ve=Se,ge=Gt):(Ee=Math.min(Ee,Se),he=Math.min(he,Gt),ve=Math.max(ve,Se),ge=Math.max(ge,Gt));return new o(Math.round(Ee),Math.round(he),Math.round(ve-Ee),Math.round(ge-he))},Ht=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var O,X,it=(O=this.ctx.lineDash,X=this.ctx.lineDashOffset,JSON.stringify({lineDash:O,lineDashOffset:X}));this.prevLineDash!==it&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=it)}}})(Fe.API),(function(e){var t=function(s){var o,a,l,u,h,w,p,y,v,C;for(a=[],l=0,u=(s+=o="\0\0\0\0".slice(s.length%4||4)).length;u>l;l+=4)(h=(s.charCodeAt(l)<<24)+(s.charCodeAt(l+1)<<16)+(s.charCodeAt(l+2)<<8)+s.charCodeAt(l+3))!==0?(w=(h=((h=((h=((h=(h-(C=h%85))/85)-(v=h%85))/85)-(y=h%85))/85)-(p=h%85))/85)%85,a.push(w+33,p+33,y+33,v+33,C+33)):a.push(122);return(function(_,S){for(var M=S;M>0;M--)_.pop()})(a,o.length),String.fromCharCode.apply(String,a)+"~>"},n=function(s){var o,a,l,u,h,w=String,p="length",y=255,v="charCodeAt",C="slice",_="replace";for(s[C](-2),s=s[C](0,-2)[_](/\s/g,"")[_]("z","!!!!!"),l=[],u=0,h=(s+=o="uuuuu"[C](s[p]%5||5))[p];h>u;u+=5)a=52200625*(s[v](u)-33)+614125*(s[v](u+1)-33)+7225*(s[v](u+2)-33)+85*(s[v](u+3)-33)+(s[v](u+4)-33),l.push(y&a>>24,y&a>>16,y&a>>8,y&a);return(function(S,M){for(var T=M;T>0;T--)S.pop()})(l,o[p]),w.fromCharCode.apply(w,l)},A=function(s){return s.split("").map(function(o){return("0"+o.charCodeAt().toString(16)).slice(-2)}).join("")+">"},r=function(s){var o=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((s=s.replace(/\s/g,"")).indexOf(">")!==-1&&(s=s.substr(0,s.indexOf(">"))),s.length%2&&(s+="0"),o.test(s)===!1)return"";for(var a="",l=0;l<s.length;l+=2)a+=String.fromCharCode("0x"+(s[l]+s[l+1]));return a},i=function(s){for(var o=new Uint8Array(s.length),a=s.length;a--;)o[a]=s.charCodeAt(a);return(o=Rg(o)).reduce(function(l,u){return l+String.fromCharCode(u)},"")};e.processDataByFilters=function(s,o){var a=0,l=s||"",u=[];for(typeof(o=o||[])=="string"&&(o=[o]),a=0;a<o.length;a+=1)switch(o[a]){case"ASCII85Decode":case"/ASCII85Decode":l=n(l),u.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":l=t(l),u.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":l=r(l),u.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":l=A(l),u.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":l=i(l),u.push("/FlateDecode");break;default:throw new Error('The filter: "'+o[a]+'" is not implemented')}return{data:l,reverseChain:u.reverse().join(" ")}}})(Fe.API),(function(e){e.loadFile=function(t,n,A){return(function(r,i,s){i=i!==!1,s=typeof s=="function"?s:function(){};var o=void 0;try{o=(function(a,l,u){var h=new XMLHttpRequest,w=0,p=function(y){var v=y.length,C=[],_=String.fromCharCode;for(w=0;w<v;w+=1)C.push(_(255&y.charCodeAt(w)));return C.join("")};if(h.open("GET",a,!l),h.overrideMimeType("text/plain; charset=x-user-defined"),l===!1&&(h.onload=function(){h.status===200?u(p(this.responseText)):u(void 0)}),h.send(null),l&&h.status===200)return p(h.responseText)})(r,i,s)}catch{}return o})(t,n,A)},e.allowFsRead=void 0,e.loadImageFile=e.loadFile})(Fe.API),(function(e){function t(){return(Me.html2canvas?Promise.resolve(Me.html2canvas):up(()=>Promise.resolve().then(()=>X6),void 0)).catch(function(o){return Promise.reject(new Error("Could not load html2canvas: "+o))}).then(function(o){return o.default?o.default:o})}function n(){return(Me.DOMPurify?Promise.resolve(Me.DOMPurify):up(()=>import("./purify.es-C0_7NiBM.js"),[])).catch(function(o){return Promise.reject(new Error("Could not load dompurify: "+o))}).then(function(o){return o.default?o.default:o})}var A=function(o){var a=pn(o);return a==="undefined"?"undefined":a==="string"||o instanceof String?"string":a==="number"||o instanceof Number?"number":a==="function"||o instanceof Function?"function":o&&o.constructor===Array?"array":o&&o.nodeType===1?"element":a==="object"?"object":"unknown"},r=function(o,a){var l=document.createElement(o);for(var u in a.className&&(l.className=a.className),a.innerHTML&&a.dompurify&&(l.innerHTML=a.dompurify.sanitize(a.innerHTML)),a.style)l.style[u]=a.style[u];return l},i=function o(a,l){for(var u=a.nodeType===3?document.createTextNode(a.nodeValue):a.cloneNode(!1),h=a.firstChild;h;h=h.nextSibling)l!==!0&&h.nodeType===1&&h.nodeName==="SCRIPT"||u.appendChild(o(h,l));return a.nodeType===1&&(a.nodeName==="CANVAS"?(u.width=a.width,u.height=a.height,u.getContext("2d").drawImage(a,0,0)):a.nodeName!=="TEXTAREA"&&a.nodeName!=="SELECT"||(u.value=a.value),u.addEventListener("load",function(){u.scrollTop=a.scrollTop,u.scrollLeft=a.scrollLeft},!0)),u},s=function o(a){var l=Object.assign(o.convert(Promise.resolve()),JSON.parse(JSON.stringify(o.template))),u=o.convert(Promise.resolve(),l);return(u=u.setProgress(1,o,1,[o])).set(a)};(s.prototype=Object.create(Promise.prototype)).constructor=s,s.convert=function(o,a){return o.__proto__=a||s.prototype,o},s.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"}},s.prototype.from=function(o,a){return this.then(function(){switch(a=a||(function(l){switch(A(l)){case"string":return"string";case"element":return l.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}})(o),a){case"string":return this.then(n).then(function(l){return this.set({src:r("div",{innerHTML:o,dompurify:l})})});case"element":return this.set({src:o});case"canvas":return this.set({canvas:o});case"img":return this.set({img:o});default:return this.error("Unknown source type.")}})},s.prototype.to=function(o){switch(o){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.")}},s.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 o={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=i(this.prop.src,this.opt.html2canvas.javascriptEnabled);a.tagName==="BODY"&&(o.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=r("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=r("div",{className:"html2pdf__container",style:o}),this.prop.container.appendChild(a),this.prop.container.firstChild.appendChild(r("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"})},s.prototype.toCanvas=function(){var o=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(o).then(t).then(function(a){var l=Object.assign({},this.opt.html2canvas);return delete l.onrendered,a(this.prop.container,l)}).then(function(a){(this.opt.html2canvas.onrendered||function(){})(a),this.prop.canvas=a,document.body.removeChild(this.prop.overlay)})},s.prototype.toContext2d=function(){var o=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(o).then(t).then(function(a){var l=this.opt.jsPDF,u=this.opt.fontFaces,h=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,w=Object.assign({async:!0,allowTaint:!0,scale:h,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 w.onrendered,l.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,l.context2d.posX=this.opt.x,l.context2d.posY=this.opt.y,l.context2d.margin=this.opt.margin,l.context2d.fontFaces=u,u)for(var p=0;p<u.length;++p){var y=u[p],v=y.src.find(function(C){return C.format==="truetype"});v&&l.addFont(v.url,y.ref.name,y.ref.style)}return w.windowHeight=w.windowHeight||0,w.windowHeight=w.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):w.windowHeight,l.context2d.save(!0),a(this.prop.container,w)}).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)})},s.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var o=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=o})},s.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},s.prototype.output=function(o,a,l){return(l=l||"pdf").toLowerCase()==="img"||l.toLowerCase()==="image"?this.outputImg(o,a):this.outputPdf(o,a)},s.prototype.outputPdf=function(o,a){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(o,a)})},s.prototype.outputImg=function(o){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(o){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 "'+o+'" is not supported.'}})},s.prototype.save=function(o){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(o?{filename:o}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},s.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},s.prototype.set=function(o){if(A(o)!=="object")return this;var a=Object.keys(o||{}).map(function(l){if(l in s.template.prop)return function(){this.prop[l]=o[l]};switch(l){case"margin":return this.setMargin.bind(this,o.margin);case"jsPDF":return function(){return this.opt.jsPDF=o.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,o.pageSize);default:return function(){this.opt[l]=o[l]}}},this);return this.then(function(){return this.thenList(a)})},s.prototype.get=function(o,a){return this.then(function(){var l=o in s.template.prop?this.prop[o]:this.opt[o];return a?a(l):l})},s.prototype.setMargin=function(o){return this.then(function(){switch(A(o)){case"number":o=[o,o,o,o];case"array":if(o.length===2&&(o=[o[0],o[1],o[0],o[1]]),o.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=o}).then(this.setPageSize)},s.prototype.setPageSize=function(o){function a(l,u){return Math.floor(l*u/72*96)}return this.then(function(){(o=o||Fe.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(o.inner={width:o.width-this.opt.margin[1]-this.opt.margin[3],height:o.height-this.opt.margin[0]-this.opt.margin[2]},o.inner.px={width:a(o.inner.width,o.k),height:a(o.inner.height,o.k)},o.inner.ratio=o.inner.height/o.inner.width),this.prop.pageSize=o})},s.prototype.setProgress=function(o,a,l,u){return o!=null&&(this.progress.val=o),a!=null&&(this.progress.state=a),l!=null&&(this.progress.n=l),u!=null&&(this.progress.stack=u),this.progress.ratio=this.progress.val/this.progress.state,this},s.prototype.updateProgress=function(o,a,l,u){return this.setProgress(o?this.progress.val+o:null,a||null,l?this.progress.n+l:null,u?this.progress.stack.concat(u):null)},s.prototype.then=function(o,a){var l=this;return this.thenCore(o,a,function(u,h){return l.updateProgress(null,null,1,[u]),Promise.prototype.then.call(this,function(w){return l.updateProgress(null,u),w}).then(u,h).then(function(w){return l.updateProgress(1),w})})},s.prototype.thenCore=function(o,a,l){l=l||Promise.prototype.then;var u=this;o&&(o=o.bind(u)),a&&(a=a.bind(u));var h=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?u:s.convert(Object.assign({},u),Promise.prototype),w=l.call(h,o,a);return s.convert(w,u.__proto__)},s.prototype.thenExternal=function(o,a){return Promise.prototype.then.call(this,o,a)},s.prototype.thenList=function(o){var a=this;return o.forEach(function(l){a=a.thenCore(l)}),a},s.prototype.catch=function(o){o&&(o=o.bind(this));var a=Promise.prototype.catch.call(this,o);return s.convert(a,this)},s.prototype.catchExternal=function(o){return Promise.prototype.catch.call(this,o)},s.prototype.error=function(o){return this.then(function(){throw new Error(o)})},s.prototype.using=s.prototype.set,s.prototype.saveAs=s.prototype.save,s.prototype.export=s.prototype.output,s.prototype.run=s.prototype.then,Fe.getPageSize=function(o,a,l){if(pn(o)==="object"){var u=o;o=u.orientation,a=u.unit||a,l=u.format||l}a=a||"mm",l=l||"a4",o=(""+(o||"P")).toLowerCase();var h,w=(""+l).toLowerCase(),p={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":h=1;break;case"mm":h=72/25.4;break;case"cm":h=72/2.54;break;case"in":h=72;break;case"px":h=.75;break;case"pc":case"em":h=12;break;case"ex":h=6;break;default:throw"Invalid unit: "+a}var y,v=0,C=0;if(p.hasOwnProperty(w))v=p[w][1]/h,C=p[w][0]/h;else try{v=l[1],C=l[0]}catch{throw new Error("Invalid format: "+l)}if(o==="p"||o==="portrait")o="p",C>v&&(y=C,C=v,v=y);else{if(o!=="l"&&o!=="landscape")throw"Invalid orientation: "+o;o="l",v>C&&(y=C,C=v,v=y)}return{width:C,height:v,unit:a,k:h,orientation:o}},e.html=function(o,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(Qp):null;var l=new s(a);return a.worker?l:l.from(o).doCallback()}})(Fe.API),Fe.API.addJS=function(e){var t,n,A=(function(r){for(var i="",s=0;s<r.length;s++){var o=r[s];if(o==="("||o===")"){for(var a=0,l=s-1;l>=0&&r[l]==="\\";l--)a++;i+=a%2==0?"\\"+o:o}else i+=o}return i})(e);return this.internal.events.subscribe("postPutResources",function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(t+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),n=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+A+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){t!==void 0&&n!==void 0&&this.internal.out("/Names <</JavaScript "+t+" 0 R>>")}),this},(function(e){var t;e.events.push(["postPutResources",function(){var n=this,A=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var r=n.outline.render().split(/\r\n/),i=0;i<r.length;i++){var s=r[i],o=A.exec(s);if(o!=null){var a=o[1];n.internal.newObjectDeferredBegin(a,!1)}n.internal.write(s)}if(this.outline.createNamedDestinations){var l=this.internal.pages.length,u=[];for(i=0;i<l;i++){var h=n.internal.newObject();u.push(h);var w=n.internal.getPageInfo(i+1);n.internal.write("<< /D["+w.objId+" 0 R /XYZ null null null]>> endobj")}var p=n.internal.newObject();for(n.internal.write("<< /Names [ "),i=0;i<u.length;i++)n.internal.write("(page_"+(i+1)+")"+u[i]+" 0 R");n.internal.write(" ] >>","endobj"),t=n.internal.newObject(),n.internal.write("<< /Dests "+p+" 0 R"),n.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){var n=this;n.outline.root.children.length>0&&(n.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&n.internal.write("/Names "+t+" 0 R"))}]),e.events.push(["initialized",function(){var n=this;n.outline={createNamedDestinations:!1,root:{children:[]}},n.outline.add=function(A,r,i){var s={title:r,options:i,children:[]};return A==null&&(A=this.root),A.children.push(s),s},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(A){A.id=n.internal.newObjectDeferred();for(var r=0;r<A.children.length;r++)this.genIds_r(A.children[r])},n.outline.renderRoot=function(A){this.objStart(A),this.line("/Type /Outlines"),A.children.length>0&&(this.line("/First "+this.makeRef(A.children[0])),this.line("/Last "+this.makeRef(A.children[A.children.length-1]))),this.line("/Count "+this.count_r({count:0},A)),this.objEnd()},n.outline.renderItems=function(A){for(var r=this.ctx.pdf.internal.getVerticalCoordinateString,i=0;i<A.children.length;i++){var s=A.children[i];this.objStart(s),this.line("/Title "+this.makeString(s.title)),this.line("/Parent "+this.makeRef(A)),i>0&&this.line("/Prev "+this.makeRef(A.children[i-1])),i<A.children.length-1&&this.line("/Next "+this.makeRef(A.children[i+1])),s.children.length>0&&(this.line("/First "+this.makeRef(s.children[0])),this.line("/Last "+this.makeRef(s.children[s.children.length-1])));var o=this.count=this.count_r({count:0},s);if(o>0&&this.line("/Count "+o),s.options&&s.options.pageNumber){var a=n.internal.getPageInfo(s.options.pageNumber);this.line("/Dest ["+a.objId+" 0 R /XYZ 0 "+r(0)+" 0]")}this.objEnd()}for(var l=0;l<A.children.length;l++)this.renderItems(A.children[l])},n.outline.line=function(A){this.ctx.val+=A+`\r `},n.outline.makeRef=function(A){return A.id+" 0 R"},n.outline.makeString=function(A){return"("+n.internal.pdfEscape(A)+")"},n.outline.objStart=function(A){this.ctx.val+=`\r `+A.id+` 0 obj\r <<\r `},n.outline.objEnd=function(){this.ctx.val+=`>> \r endobj\r `},n.outline.count_r=function(A,r){for(var i=0;i<r.children.length;i++)A.count++,this.count_r(A,r.children[i]);return A.count}}])})(Fe.API),(function(e){var t=[192,193,194,195,196,197,198,199];e.processJPEG=function(n,A,r,i,s,o){var a,l=this.decode.DCT_DECODE,u=null;if(typeof n=="string"||this.__addimage__.isArrayBuffer(n)||this.__addimage__.isArrayBufferView(n)){switch(n=s||n,n=this.__addimage__.isArrayBuffer(n)?new Uint8Array(n):n,a=(function(h){for(var w,p=256*h.charCodeAt(4)+h.charCodeAt(5),y=h.length,v={width:0,height:0,numcomponents:1},C=4;C<y;C+=2){if(C+=p,t.indexOf(h.charCodeAt(C+1))!==-1){w=256*h.charCodeAt(C+5)+h.charCodeAt(C+6),v={width:256*h.charCodeAt(C+7)+h.charCodeAt(C+8),height:w,numcomponents:h.charCodeAt(C+9)};break}p=256*h.charCodeAt(C+2)+h.charCodeAt(C+3)}return v})(n=this.__addimage__.isArrayBufferView(n)?this.__addimage__.arrayBufferToBinaryString(n):n),a.numcomponents){case 1:o=this.color_spaces.DEVICE_GRAY;break;case 4:o=this.color_spaces.DEVICE_CMYK;break;case 3:o=this.color_spaces.DEVICE_RGB}u={data:n,width:a.width,height:a.height,colorSpace:o,bitsPerComponent:8,filter:l,index:A,alias:r}}return u}})(Fe.API),Fe.API.processPNG=function(e,t,n,A){if(this.__addimage__.isArrayBuffer(e)&&(e=new Uint8Array(e)),this.__addimage__.isArrayBufferView(e)){var r,i=AH(e,{checkCrc:!0}),s=i.width,o=i.height,a=i.channels,l=i.palette,u=i.depth;r=l&&a===1?(function(z){for(var H=z.width,ot=z.height,N=z.data,K=z.palette,et=z.depth,At=!1,pt=[],gt=[],mt=void 0,ht=!1,Ft=0,Vt=0;Vt<K.length;Vt++){var Ht=X1(K[Vt],4),O=Ht[0],X=Ht[1],it=Ht[2],at=Ht[3];pt.push(O,X,it),at!=null&&(at===0?(Ft++,gt.length<1&>.push(Vt)):at<255&&(ht=!0))}if(ht||Ft>1){At=!0,gt=void 0;var ct=H*ot;mt=new Uint8Array(ct);for(var bt=new DataView(N.buffer),It=0;It<ct;It++){var Tt=Lp(bt,It,et),Kt=X1(K[Tt],4)[3];mt[It]=Kt}}else Ft===0&&(gt=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:At?8:void 0,colorBytes:N,alphaBytes:mt,needSMask:At,palette:pt,mask:gt}})(i):a===2||a===4?(function(z){for(var H=z.data,ot=z.width,N=z.height,K=z.channels,et=z.depth,At=K===2?"DeviceGray":"DeviceRGB",pt=K-1,gt=ot*N,mt=pt,ht=gt*mt,Ft=1*gt,Vt=Math.ceil(ht*et/8),Ht=Math.ceil(Ft*et/8),O=new Uint8Array(Vt),X=new Uint8Array(Ht),it=new DataView(H.buffer),at=new DataView(O.buffer),ct=new DataView(X.buffer),bt=!1,It=0;It<gt;It++){for(var Tt=It*K,Kt=0;Kt<mt;Kt++)J2(at,Lp(it,Tt+Kt,et),It*mt+Kt,et);var Xt=Lp(it,Tt+mt,et);Xt<(1<<et)-1&&(bt=!0),J2(ct,Xt,1*It,et)}return{colorSpace:At,colorsPerPixel:pt,sMaskBitsPerComponent:bt?et:void 0,colorBytes:O,alphaBytes:X,needSMask:bt}})(i):(function(z){var H=z.data,ot=z.channels===1?"DeviceGray":"DeviceRGB";return{colorSpace:ot,colorsPerPixel:ot==="DeviceGray"?1:3,colorBytes:H instanceof Uint16Array?(function(N){for(var K=N.length,et=new Uint8Array(2*K),At=new DataView(et.buffer,et.byteOffset,et.byteLength),pt=0;pt<K;pt++)At.setUint16(2*pt,N[pt],!1);return et})(H):H,needSMask:!1}})(i);var h,w,p,y=r,v=y.colorSpace,C=y.colorsPerPixel,_=y.sMaskBitsPerComponent,S=y.colorBytes,M=y.alphaBytes,T=y.needSMask,V=y.palette,B=y.mask,G=null;return A!==Fe.API.image_compression.NONE&&typeof Rg=="function"?(G=(function(z){var H;switch(z){case Fe.API.image_compression.FAST:H=11;break;case Fe.API.image_compression.MEDIUM:H=13;break;case Fe.API.image_compression.SLOW:H=14;break;default:H=12}return H})(A),h=this.decode.FLATE_DECODE,w="/Predictor ".concat(G," /Colors ").concat(C," /BitsPerComponent ").concat(u," /Columns ").concat(s),e=z2(S,Math.ceil(s*C*u/8),C,u,A),T&&(p=z2(M,Math.ceil(s*_/8),1,_,A))):(h=void 0,w=void 0,e=S,T&&(p=M)),(this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e))&&(e=this.__addimage__.arrayBufferToBinaryString(e)),(p&&this.__addimage__.isArrayBuffer(p)||this.__addimage__.isArrayBufferView(p))&&(p=this.__addimage__.arrayBufferToBinaryString(p)),{alias:n,data:e,index:t,filter:h,decodeParameters:w,transparency:B,palette:V,sMask:p,predictor:G,width:s,height:o,bitsPerComponent:u,sMaskBitsPerComponent:_,colorSpace:v}}},(function(e){e.processGIF89A=function(t,n,A,r){var i=new CH(t),s=i.width,o=i.height,a=[];i.decodeAndBlitFrameRGBA(0,a);var l={data:a,width:s,height:o},u=new Ip(100).encode(l,100);return e.processJPEG.call(this,u,n,A,r)},e.processGIF87A=e.processGIF89A})(Fe.API),vi.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),A=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0);this.palette[t]={red:r,green:A,blue:n,quad:i}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},vi.prototype.parseBGR=function(){this.pos=this.offset;var e="bit"+this.bitPP,t=this.width*this.height*4;if(t>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");this.data=new Uint8Array(t);try{this[e]()}catch(n){mn.log("bit decode error:"+n)}},vi.prototype.bit1=function(){var e,t=Math.ceil(this.width/8),n=t%4;for(e=this.height-1;e>=0;e--){for(var A=this.bottom_up?e:this.height-1-e,r=0;r<t;r++)for(var i=this.datav.getUint8(this.pos++,!0),s=A*this.width*4+8*r*4,o=0;o<8&&8*r+o<this.width;o++){var a=this.palette[i>>7-o&1];this.data[s+4*o]=a.blue,this.data[s+4*o+1]=a.green,this.data[s+4*o+2]=a.red,this.data[s+4*o+3]=255}n!==0&&(this.pos+=4-n)}},vi.prototype.bit4=function(){for(var e=Math.ceil(this.width/2),t=e%4,n=this.height-1;n>=0;n--){for(var A=this.bottom_up?n:this.height-1-n,r=0;r<e;r++){var i=this.datav.getUint8(this.pos++,!0),s=A*this.width*4+2*r*4,o=i>>4,a=15&i,l=this.palette[o];if(this.data[s]=l.blue,this.data[s+1]=l.green,this.data[s+2]=l.red,this.data[s+3]=255,2*r+1>=this.width)break;l=this.palette[a],this.data[s+4]=l.blue,this.data[s+4+1]=l.green,this.data[s+4+2]=l.red,this.data[s+4+3]=255}t!==0&&(this.pos+=4-t)}},vi.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,A=0;A<this.width;A++){var r=this.datav.getUint8(this.pos++,!0),i=n*this.width*4+4*A;if(r<this.palette.length){var s=this.palette[r];this.data[i]=s.red,this.data[i+1]=s.green,this.data[i+2]=s.blue,this.data[i+3]=255}else this.data[i]=255,this.data[i+1]=255,this.data[i+2]=255,this.data[i+3]=255}e!==0&&(this.pos+=4-e)}},vi.prototype.bit15=function(){for(var e=this.width%3,t=parseInt("11111",2),n=this.height-1;n>=0;n--){for(var A=this.bottom_up?n:this.height-1-n,r=0;r<this.width;r++){var i=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(i&t)/t*255|0,o=(i>>5&t)/t*255|0,a=(i>>10&t)/t*255|0,l=i>>15?255:0,u=A*this.width*4+4*r;this.data[u]=a,this.data[u+1]=o,this.data[u+2]=s,this.data[u+3]=l}this.pos+=e}},vi.prototype.bit16=function(){for(var e=this.width%3,t=parseInt("11111",2),n=parseInt("111111",2),A=this.height-1;A>=0;A--){for(var r=this.bottom_up?A:this.height-1-A,i=0;i<this.width;i++){var s=this.datav.getUint16(this.pos,!0);this.pos+=2;var o=(s&t)/t*255|0,a=(s>>5&n)/n*255|0,l=(s>>11)/t*255|0,u=r*this.width*4+4*i;this.data[u]=l,this.data[u+1]=a,this.data[u+2]=o,this.data[u+3]=255}this.pos+=e}},vi.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 A=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),s=t*this.width*4+4*n;this.data[s]=i,this.data[s+1]=r,this.data[s+2]=A,this.data[s+3]=255}this.pos+=this.width%4}},vi.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 A=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),o=t*this.width*4+4*n;this.data[o]=i,this.data[o+1]=r,this.data[o+2]=A,this.data[o+3]=s}},vi.prototype.getData=function(){return this.data},(function(e){e.processBMP=function(t,n,A,r){var i=new vi(t,!1),s=i.width,o=i.height,a={data:i.getData(),width:s,height:o},l=new Ip(100).encode(a,100);return e.processJPEG.call(this,l,n,A,r)}})(Fe.API),tB.prototype.getData=function(){return this.data},(function(e){e.processWEBP=function(t,n,A,r){var i=new tB(t),s=i.width,o=i.height,a={data:i.getData(),width:s,height:o},l=new Ip(100).encode(a,100);return e.processJPEG.call(this,l,n,A,r)}})(Fe.API),Fe.API.processRGBA=function(e,t,n){for(var A=e.data,r=A.length,i=new Uint8Array(r/4*3),s=new Uint8Array(r/4),o=0,a=0,l=0;l<r;l+=4){var u=A[l],h=A[l+1],w=A[l+2],p=A[l+3];i[o++]=u,i[o++]=h,i[o++]=w,s[a++]=p}var y=this.__addimage__.arrayBufferToBinaryString(i);return{alpha:this.__addimage__.arrayBufferToBinaryString(s),data:y,index:t,alias:n,colorSpace:"DeviceRGB",bitsPerComponent:8,width:e.width,height:e.height}},Fe.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},ol=Fe.API,bf=ol.getCharWidthsArray=function(e,t){var n,A,r=(t=t||{}).font||this.internal.getFont(),i=t.fontSize||this.internal.getFontSize(),s=t.charSpace||this.internal.getCharSpace(),o=t.widths?t.widths:r.metadata.Unicode.widths,a=o.fof?o.fof:1,l=t.kerning?t.kerning:r.metadata.Unicode.kerning,u=l.fof?l.fof:1,h=t.doKerning!==!1,w=0,p=e.length,y=0,v=o[0]||a,C=[];for(n=0;n<p;n++)A=e.charCodeAt(n),typeof r.metadata.widthOfString=="function"?C.push((r.metadata.widthOfGlyph(r.metadata.characterToGlyph(A))+s*(1e3/i)||0)/1e3):(w=h&&pn(l[A])==="object"&&!isNaN(parseInt(l[A][y],10))?l[A][y]/u:0,C.push((o[A]||v)/a+w)),y=A;return C},V2=ol.getStringUnitWidth=function(e,t){var n=(t=t||{}).fontSize||this.internal.getFontSize(),A=t.font||this.internal.getFont(),r=t.charSpace||this.internal.getCharSpace();return ol.processArabic&&(e=ol.processArabic(e)),typeof A.metadata.widthOfString=="function"?A.metadata.widthOfString(e,n,r)/n:bf.apply(this,arguments).reduce(function(i,s){return i+s},0)},W2=function(e,t,n,A){for(var r=[],i=0,s=e.length,o=0;i!==s&&o+t[i]<n;)o+=t[i],i++;r.push(e.slice(0,i));var a=i;for(o=0;i!==s;)o+t[i]>A&&(r.push(e.slice(a,i)),o=0,a=i),o+=t[i],i++;return a!==i&&r.push(e.slice(a,i)),r},q2=function(e,t,n){n||(n={});var A,r,i,s,o,a,l,u=[],h=[u],w=n.textIndent||0,p=0,y=0,v=e.split(" "),C=bf.apply(this,[" ",n])[0];if(a=n.lineIndent===-1?v[0].length+2:n.lineIndent||0){var _=Array(a).join(" "),S=[];v.map(function(T){(T=T.split(/\s*\n/)).length>1?S=S.concat(T.map(function(V,B){return(B&&V.length?` `:"")+V})):S.push(T[0])}),v=S,a=V2.apply(this,[_,n])}for(i=0,s=v.length;i<s;i++){var M=0;if(A=v[i],a&&A[0]==` `&&(A=A.substr(1),M=1),w+p+(y=(r=bf.apply(this,[A,n])).reduce(function(T,V){return T+V},0))>t||M){if(y>t){for(o=W2.apply(this,[A,r,t-(w+p),t]),u.push(o.shift()),u=[o.pop()];o.length;)h.push([o.shift()]);y=r.slice(A.length-(u[0]?u[0].length:0)).reduce(function(T,V){return T+V},0)}else u=[A];h.push(u),w=y+a,p=C}else u.push(A),w+=p+y,p=C}return l=a?function(T,V){return(V?_:"")+T.join(" ")}:function(T){return T.join(" ")},h.map(l)},ol.splitTextToSize=function(e,t,n){var A,r=(n=n||{}).fontSize||this.internal.getFontSize(),i=(function(u){if(u.widths&&u.kerning)return{widths:u.widths,kerning:u.kerning};var h=this.internal.getFont(u.fontName,u.fontStyle),w="Unicode";return h.metadata[w]?{widths:h.metadata[w].widths||{0:1},kerning:h.metadata[w].kerning||{}}:{font:h.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}).call(this,n);A=Array.isArray(e)?e:String(e).split(/\r?\n/);var s=1*this.internal.scaleFactor*t/r;i.textIndent=n.textIndent?1*n.textIndent*this.internal.scaleFactor/r:0,i.lineIndent=n.lineIndent;var o,a,l=[];for(o=0,a=A.length;o<a;o++)l=l.concat(q2.apply(this,[A[o],s,i]));return l},(function(e){e.__fontmetrics__=e.__fontmetrics__||{};for(var t="0123456789abcdef",n="klmnopqrstuvwxyz",A={},r={},i=0;i<16;i++)A[n[i]]=t[i],r[t[i]]=n[i];var s=function(w){return"0x"+parseInt(w,10).toString(16)},o=e.__fontmetrics__.compress=function(w){var p,y,v,C,_=["{"];for(var S in w){if(p=w[S],isNaN(parseInt(S,10))?y="'"+S+"'":(S=parseInt(S,10),y=(y=s(S).slice(2)).slice(0,-1)+r[y.slice(-1)]),typeof p=="number")p<0?(v=s(p).slice(3),C="-"):(v=s(p).slice(2),C=""),v=C+v.slice(0,-1)+r[v.slice(-1)];else{if(pn(p)!=="object")throw new Error("Don't know what to do with value type "+pn(p)+".");v=o(p)}_.push(y+v)}return _.push("}"),_.join("")},a=e.__fontmetrics__.uncompress=function(w){if(typeof w!="string")throw new Error("Invalid argument passed to uncompress.");for(var p,y,v,C,_={},S=1,M=_,T=[],V="",B="",G=w.length-1,z=1;z<G;z+=1)(C=w[z])=="'"?p?(v=p.join(""),p=void 0):p=[]:p?p.push(C):C=="{"?(T.push([M,v]),M={},v=void 0):C=="}"?((y=T.pop())[0][y[1]]=M,v=void 0,M=y[0]):C=="-"?S=-1:v===void 0?A.hasOwnProperty(C)?(V+=A[C],v=parseInt(V,16)*S,S=1,V=""):V+=C:A.hasOwnProperty(C)?(B+=A[C],M[v]=parseInt(B,16)*S,S=1,v=void 0,B=""):B+=C;return _},l={codePages:["WinAnsiEncoding"],WinAnsiEncoding:a("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},u={Unicode:{Courier:l,"Courier-Bold":l,"Courier-BoldOblique":l,"Courier-Oblique":l,Helvetica:l,"Helvetica-Bold":l,"Helvetica-BoldOblique":l,"Helvetica-Oblique":l,"Times-Roman":l,"Times-Bold":l,"Times-BoldItalic":l,"Times-Italic":l}},h={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(w){var p=w.font,y=h.Unicode[p.postScriptName];y&&(p.metadata.Unicode={},p.metadata.Unicode.widths=y.widths,p.metadata.Unicode.kerning=y.kerning);var v=u.Unicode[p.postScriptName];v&&(p.metadata.Unicode.encoding=v,p.encoding=v.codePages[0])}])})(Fe.API),(function(e){var t=function(n){for(var A=n.length,r=new Uint8Array(A),i=0;i<A;i++)r[i]=n.charCodeAt(i);return r};e.API.events.push(["addFont",function(n){var A=void 0,r=n.font,i=n.instance;if(!r.isStandardFont){if(i===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+r.postScriptName+"').");if(typeof(A=i.existsFileInVFS(r.postScriptName)===!1?i.loadFile(r.postScriptName):i.getFileFromVFS(r.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+r.postScriptName+"').");(function(s,o){o=/^\x00\x01\x00\x00/.test(o)?t(o):t(Vf(o)),s.metadata=e.API.TTFFont.open(o),s.metadata.Unicode=s.metadata.Unicode||{encoding:{},kerning:{},widths:[]},s.metadata.glyIdsUsed=[0]})(r,A)}}])})(Fe),Fe.API.addSvgAsImage=function(e,t,n,A,r,i,s,o){if(isNaN(t)||isNaN(n))throw mn.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(A)||isNaN(r))throw mn.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var a=document.createElement("canvas");a.width=A,a.height=r;var l=a.getContext("2d");l.fillStyle="#fff",l.fillRect(0,0,a.width,a.height);var u={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},h=this;return(Me.canvg?Promise.resolve(Me.canvg):up(()=>import("./index.es-DeWKRREw.js"),[])).catch(function(w){return Promise.reject(new Error("Could not load canvg: "+w))}).then(function(w){return w.default?w.default:w}).then(function(w){return w.fromString(l,e,u)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(w){return w.render(u)}).then(function(){h.addImage(a.toDataURL("image/jpeg",1),t,n,A,r,s,o)})},Fe.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 A=1;A<=this.internal.getNumberOfPages();A++)for(var r=0;r<this.internal.pages[A].length;r++)this.internal.pages[A][r]=this.internal.pages[A][r].replace(t,n);return this},Fe.API.viewerPreferences=function(e,t){var n;e=e||{},t=t||!1;var A,r,i,s={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}},o=Object.keys(s),a=[],l=0,u=0,h=0;function w(y,v){var C,_=!1;for(C=0;C<y.length;C+=1)y[C]===v&&(_=!0);return _}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,e==="reset"||t===!0){var p=o.length;for(h=0;h<p;h+=1)n[o[h]].value=n[o[h]].defaultValue,n[o[h]].explicitSet=!1}if(pn(e)==="object"){for(r in e)if(i=e[r],w(o,r)&&i!==void 0){if(n[r].type==="boolean"&&typeof i=="boolean")n[r].value=i;else if(n[r].type==="name"&&w(n[r].valueSet,i))n[r].value=i;else if(n[r].type==="integer"&&Number.isInteger(i))n[r].value=i;else if(n[r].type==="array"){for(l=0;l<i.length;l+=1)if(A=!0,i[l].length===1&&typeof i[l][0]=="number")a.push(String(i[l]-1));else if(i[l].length>1){for(u=0;u<i[l].length;u+=1)typeof i[l][u]!="number"&&(A=!1);A===!0&&a.push([i[l][0]-1,i[l][1]-1].join(" "))}n[r].value="["+a.join(" ")+"]"}else n[r].value=n[r].defaultValue;n[r].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var y,v=[];for(y in n)n[y].explicitSet===!0&&(n[y].type==="name"?v.push("/"+y+" /"+n[y].value):v.push("/"+y+" "+n[y].value));v.length!==0&&this.internal.write(`/ViewerPreferences << `+v.join(` `)+` >>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,this},Fe.API.addMetadata=function(e,t){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:e,namespaceUri:t??"http://jspdf.default.namespaceuri/",rawXml:typeof t=="boolean"&&t},this.internal.events.subscribe("putCatalog",_H),this.internal.events.subscribe("postPutResources",FH)),this},(function(e){var t=e.API,n=t.pdfEscape16=function(i,s){for(var o,a=s.metadata.Unicode.widths,l=["","0","00","000","0000"],u=[""],h=0,w=i.length;h<w;++h){if(o=s.metadata.characterToGlyph(i.charCodeAt(h)),s.metadata.glyIdsUsed.push(o),s.metadata.toUnicode[o]=i.charCodeAt(h),a.indexOf(o)==-1&&(a.push(o),a.push([parseInt(s.metadata.widthOfGlyph(o),10)])),o=="0")return u.join("");o=o.toString(16),u.push(l[4-o.length],o)}return u.join("")},A=function(i){var s,o,a,l,u,h,w;for(u=`/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`,a=[],h=0,w=(o=Object.keys(i).sort(function(p,y){return p-y})).length;h<w;h++)s=o[h],a.length>=100&&(u+=` `+a.length+` beginbfchar `+a.join(` `)+` endbfchar`,a=[]),i[s]!==void 0&&i[s]!==null&&typeof i[s].toString=="function"&&(l=("0000"+i[s].toString(16)).slice(-4),s=("0000"+(+s).toString(16)).slice(-4),a.push("<"+s+"><"+l+">"));return a.length&&(u+=` `+a.length+` beginbfchar `+a.join(` `)+` endbfchar `),u+`endcmap CMapName currentdict /CMap defineresource pop end end`};t.events.push(["putFont",function(i){(function(s){var o=s.font,a=s.out,l=s.newObject,u=s.putStream;if(o.metadata instanceof e.API.TTFFont&&o.encoding==="Identity-H"){for(var h=o.metadata.Unicode.widths,w=o.metadata.subset.encode(o.metadata.glyIdsUsed,1),p="",y=0;y<w.length;y++)p+=String.fromCharCode(w[y]);var v=l();u({data:p,addLength1:!0,objectId:v}),a("endobj");var C=l();u({data:A(o.metadata.toUnicode),addLength1:!0,objectId:C}),a("endobj");var _=l();a("<<"),a("/Type /FontDescriptor"),a("/FontName /"+dl(o.fontName)),a("/FontFile2 "+v+" 0 R"),a("/FontBBox "+e.API.PDFObject.convert(o.metadata.bbox)),a("/Flags "+o.metadata.flags),a("/StemV "+o.metadata.stemV),a("/ItalicAngle "+o.metadata.italicAngle),a("/Ascent "+o.metadata.ascender),a("/Descent "+o.metadata.decender),a("/CapHeight "+o.metadata.capHeight),a(">>"),a("endobj");var S=l();a("<<"),a("/Type /Font"),a("/BaseFont /"+dl(o.fontName)),a("/FontDescriptor "+_+" 0 R"),a("/W "+e.API.PDFObject.convert(h)),a("/CIDToGIDMap /Identity"),a("/DW 1000"),a("/Subtype /CIDFontType2"),a("/CIDSystemInfo"),a("<<"),a("/Supplement 0"),a("/Registry (Adobe)"),a("/Ordering ("+o.encoding+")"),a(">>"),a(">>"),a("endobj"),o.objectNumber=l(),a("<<"),a("/Type /Font"),a("/Subtype /Type0"),a("/ToUnicode "+C+" 0 R"),a("/BaseFont /"+dl(o.fontName)),a("/Encoding /"+o.encoding),a("/DescendantFonts ["+S+" 0 R]"),a(">>"),a("endobj"),o.isAlreadyPutted=!0}})(i)}]),t.events.push(["putFont",function(i){(function(s){var o=s.font,a=s.out,l=s.newObject,u=s.putStream;if(o.metadata instanceof e.API.TTFFont&&o.encoding==="WinAnsiEncoding"){for(var h=o.metadata.rawData,w="",p=0;p<h.length;p++)w+=String.fromCharCode(h[p]);var y=l();u({data:w,addLength1:!0,objectId:y}),a("endobj");var v=l();u({data:A(o.metadata.toUnicode),addLength1:!0,objectId:v}),a("endobj");var C=l();a("<<"),a("/Descent "+o.metadata.decender),a("/CapHeight "+o.metadata.capHeight),a("/StemV "+o.metadata.stemV),a("/Type /FontDescriptor"),a("/FontFile2 "+y+" 0 R"),a("/Flags 96"),a("/FontBBox "+e.API.PDFObject.convert(o.metadata.bbox)),a("/FontName /"+dl(o.fontName)),a("/ItalicAngle "+o.metadata.italicAngle),a("/Ascent "+o.metadata.ascender),a(">>"),a("endobj"),o.objectNumber=l();for(var _=0;_<o.metadata.hmtx.widths.length;_++)o.metadata.hmtx.widths[_]=parseInt(o.metadata.hmtx.widths[_]*(1e3/o.metadata.head.unitsPerEm));a("<</Subtype/TrueType/Type/Font/ToUnicode "+v+" 0 R/BaseFont/"+dl(o.fontName)+"/FontDescriptor "+C+" 0 R/Encoding/"+o.encoding+" /FirstChar 29 /LastChar 255 /Widths "+e.API.PDFObject.convert(o.metadata.hmtx.widths)+">>"),a("endobj"),o.isAlreadyPutted=!0}})(i)}]);var r=function(i){var s,o=i.text||"",a=i.x,l=i.y,u=i.options||{},h=i.mutex||{},w=h.pdfEscape,p=h.activeFontKey,y=h.fonts,v=p,C="",_=0,S="",M=y[v].encoding;if(y[v].encoding!=="Identity-H")return{text:o,x:a,y:l,options:u,mutex:h};for(S=o,v=p,Array.isArray(o)&&(S=o[0]),_=0;_<S.length;_+=1)y[v].metadata.hasOwnProperty("cmap")&&(s=y[v].metadata.cmap.unicode.codeMap[S[_].charCodeAt(0)]),s||S[_].charCodeAt(0)<256&&y[v].metadata.hasOwnProperty("Unicode")?C+=S[_]:C+="";var T="";return parseInt(v.slice(1))<14||M==="WinAnsiEncoding"?T=w(C,v).split("").map(function(V){return V.charCodeAt(0).toString(16)}).join(""):M==="Identity-H"&&(T=n(C,y[v])),h.isHex=!0,{text:T,x:a,y:l,options:u,mutex:h}};t.events.push(["postProcessText",function(i){var s=i.text||"",o=[],a={text:s,x:i.x,y:i.y,options:i.options,mutex:i.mutex};if(Array.isArray(s)){var l=0;for(l=0;l<s.length;l+=1)Array.isArray(s[l])&&s[l].length===3?o.push([r(Object.assign({},a,{text:s[l][0]})).text,s[l][1],s[l][2]]):o.push(r(Object.assign({},a,{text:s[l]})).text);i.text=o}else i.text=r(Object.assign({},a,{text:s})).text}])})(Fe),(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,A){return t.call(this),this.internal.vFS[n]=A,this},e.getFileFromVFS=function(n){return t.call(this),this.internal.vFS[n]!==void 0?this.internal.vFS[n]:null}})(Fe.API),(function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(A){var r,i,s,o,a,l,u,h=t,w=[[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]],p=[[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]],y={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},v={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},C=["(",")","(","<",">","<","[","]","[","{","}","{","ยซ","ยป","ยซ","โน","โบ","โน","โ ","โ","โ ","โฝ","โพ","โฝ","โ","โ","โ","โค","โฅ","โค","โฉ","โช","โฉ","๏น","๏น","๏น","๏น","๏น","๏น","๏น","๏น","๏น","๏นค","๏นฅ","๏นค"],_=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)$/),S=!1,M=0;this.__bidiEngine__={};var T=function(N){var K=N.charCodeAt(),et=K>>8,At=v[et];return At!==void 0?h[256*At+(255&K)]:et===252||et===253?"AL":_.test(et)?"L":et===8?"R":"N"},V=function(N){for(var K,et=0;et<N.length;et++){if((K=T(N.charAt(et)))==="L")return!1;if(K==="R")return!0}return!1},B=function(N,K,et,At){var pt,gt,mt,ht,Ft=K[At];switch(Ft){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":S=!1;break;case"N":case"AN":break;case"EN":S&&(Ft="AN");break;case"AL":S=!0,Ft="R";break;case"WS":case"BN":Ft="N";break;case"CS":At<1||At+1>=K.length||(pt=et[At-1])!=="EN"&&pt!=="AN"||(gt=K[At+1])!=="EN"&>!=="AN"?Ft="N":S&&(gt="AN"),Ft=gt===pt?gt:"N";break;case"ES":Ft=(pt=At>0?et[At-1]:"B")==="EN"&&At+1<K.length&&K[At+1]==="EN"?"EN":"N";break;case"ET":if(At>0&&et[At-1]==="EN"){Ft="EN";break}if(S){Ft="N";break}for(mt=At+1,ht=K.length;mt<ht&&K[mt]==="ET";)mt++;Ft=mt<ht&&K[mt]==="EN"?"EN":"N";break;case"NSM":if(s&&!o){for(ht=K.length,mt=At+1;mt<ht&&K[mt]==="NSM";)mt++;if(mt<ht){var Vt=N[At],Ht=Vt>=1425&&Vt<=2303||Vt===64286;if(pt=K[mt],Ht&&(pt==="R"||pt==="AL")){Ft="R";break}}}Ft=At<1||(pt=K[At-1])==="B"?"N":et[At-1];break;case"B":S=!1,r=!0,Ft=M;break;case"S":i=!0,Ft="N"}return Ft},G=function(N,K,et){var At=N.split("");return et&&z(At,et,{hiLevel:M}),At.reverse(),K&&K.reverse(),At.join("")},z=function(N,K,et){var At,pt,gt,mt,ht,Ft=-1,Vt=N.length,Ht=0,O=[],X=M?p:w,it=[];for(S=!1,r=!1,i=!1,pt=0;pt<Vt;pt++)it[pt]=T(N[pt]);for(gt=0;gt<Vt;gt++){if(ht=Ht,O[gt]=B(N,it,O,gt),At=240&(Ht=X[ht][y[O[gt]]]),Ht&=15,K[gt]=mt=X[Ht][5],At>0)if(At===16){for(pt=Ft;pt<gt;pt++)K[pt]=1;Ft=-1}else Ft=-1;if(X[Ht][6])Ft===-1&&(Ft=gt);else if(Ft>-1){for(pt=Ft;pt<gt;pt++)K[pt]=mt;Ft=-1}it[gt]==="B"&&(K[gt]=0),et.hiLevel|=mt}i&&(function(at,ct,bt){for(var It=0;It<bt;It++)if(at[It]==="S"){ct[It]=M;for(var Tt=It-1;Tt>=0&&at[Tt]==="WS";Tt--)ct[Tt]=M}})(it,K,Vt)},H=function(N,K,et,At,pt){if(!(pt.hiLevel<N)){if(N===1&&M===1&&!r)return K.reverse(),void(et&&et.reverse());for(var gt,mt,ht,Ft,Vt=K.length,Ht=0;Ht<Vt;){if(At[Ht]>=N){for(ht=Ht+1;ht<Vt&&At[ht]>=N;)ht++;for(Ft=Ht,mt=ht-1;Ft<mt;Ft++,mt--)gt=K[Ft],K[Ft]=K[mt],K[mt]=gt,et&&(gt=et[Ft],et[Ft]=et[mt],et[mt]=gt);Ht=ht}Ht++}}},ot=function(N,K,et){var At=N.split(""),pt={hiLevel:M};return et||(et=[]),z(At,et,pt),(function(gt,mt,ht){if(ht.hiLevel!==0&&u)for(var Ft,Vt=0;Vt<gt.length;Vt++)mt[Vt]===1&&(Ft=C.indexOf(gt[Vt]))>=0&&(gt[Vt]=C[Ft+1])})(At,et,pt),H(2,At,K,et,pt),H(1,At,K,et,pt),At.join("")};return this.__bidiEngine__.doBidiReorder=function(N,K,et){if((function(pt,gt){if(gt)for(var mt=0;mt<pt.length;mt++)gt[mt]=mt;o===void 0&&(o=V(pt)),l===void 0&&(l=V(pt))})(N,K),s||!a||l)if(s&&a&&o^l)M=o?1:0,N=G(N,K,et);else if(!s&&a&&l)M=o?1:0,N=ot(N,K,et),N=G(N,K);else if(!s||o||a||l){if(s&&!a&&o^l)N=G(N,K),o?(M=0,N=ot(N,K,et)):(M=1,N=ot(N,K,et),N=G(N,K));else if(s&&o&&!a&&l)M=1,N=ot(N,K,et),N=G(N,K);else if(!s&&!a&&o^l){var At=u;o?(M=1,N=ot(N,K,et),M=0,u=!1,N=ot(N,K,et),u=At):(M=0,N=ot(N,K,et),N=G(N,K),M=1,u=!1,N=ot(N,K,et),u=At,N=G(N,K))}}else M=0,N=ot(N,K,et);else M=o?1:0,N=ot(N,K,et);return N},this.__bidiEngine__.setOptions=function(N){N&&(s=N.isInputVisual,a=N.isOutputVisual,o=N.isInputRtl,l=N.isOutputRtl,u=N.isSymmetricSwapping)},this.__bidiEngine__.setOptions(A),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(A){var r=A.text;A.x,A.y;var i=A.options||{};A.mutex,i.lang;var s=[];if(i.isInputVisual=typeof i.isInputVisual!="boolean"||i.isInputVisual,n.setOptions(i),Object.prototype.toString.call(r)==="[object Array]"){var o=0;for(s=[],o=0;o<r.length;o+=1)Object.prototype.toString.call(r[o])==="[object Array]"?s.push([n.doBidiReorder(r[o][0]),r[o][1],r[o][2]]):s.push([n.doBidiReorder(r[o])]);A.text=s}else A.text=n.doBidiReorder(r);n.setOptions({isInputVisual:!0})}])})(Fe),Fe.API.TTFFont=(function(){function e(t){var n;if(this.rawData=t,n=this.contents=new ko(t),this.contents.pos=4,n.readString(4)==="ttcf")throw new Error("TTCF not supported.");n.pos=0,this.parse(),this.subset=new RH(this),this.registerTTF()}return e.open=function(t){return new e(t)},e.prototype.parse=function(){return this.directory=new EH(this.contents),this.head=new QH(this),this.name=new TH(this),this.cmap=new Jx(this),this.toUnicode={},this.hhea=new SH(this),this.maxp=new NH(this),this.hmtx=new OH(this),this.post=new IH(this),this.os2=new LH(this),this.loca=new DH(this),this.glyf=new HH(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,A,r,i;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=(function(){var s,o,a,l;for(l=[],s=0,o=(a=this.bbox).length;s<o;s++)t=a[s],l.push(Math.round(t*this.scaleFactor));return l}).call(this),this.stemV=0,this.post.exists?(A=255&(r=this.post.italic_angle),32768&(n=r>>16)&&(n=-(1+(65535^n))),this.italicAngle=+(n+"."+A)):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=(i=this.familyClass)===1||i===2||i===3||i===4||i===5||i===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,A){var r,i,s,o;for(s=0,i=0,o=(t=""+t).length;0<=o?i<o:i>o;i=0<=o?++i:--i)r=t.charCodeAt(i),s+=this.widthOfGlyph(this.characterToGlyph(r))+A*(1e3/n)||0;return s*(n/1e3)},e.prototype.lineHeight=function(t,n){var A;return n==null&&(n=!1),A=n?this.lineGap:0,(this.ascender+A-this.decender)/1e3*t},e})();var Si,ko=(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,A;for(A=[],n=0;0<=t?n<t:n>t;n=0<=t?++n:--n)A[n]=String.fromCharCode(this.readByte());return A.join("")},e.prototype.writeString=function(t){var n,A,r;for(r=[],n=0,A=t.length;0<=A?n<A:n>A;n=0<=A?++n:--n)r.push(this.writeByte(t.charCodeAt(n)));return r},e.prototype.readShort=function(){return this.readInt16()},e.prototype.writeShort=function(t){return this.writeInt16(t)},e.prototype.readLongLong=function(){var t,n,A,r,i,s,o,a;return t=this.readByte(),n=this.readByte(),A=this.readByte(),r=this.readByte(),i=this.readByte(),s=this.readByte(),o=this.readByte(),a=this.readByte(),128&t?-1*(72057594037927940*(255^t)+281474976710656*(255^n)+1099511627776*(255^A)+4294967296*(255^r)+16777216*(255^i)+65536*(255^s)+256*(255^o)+(255^a)+1):72057594037927940*t+281474976710656*n+1099511627776*A+4294967296*r+16777216*i+65536*s+256*o+a},e.prototype.writeLongLong=function(t){var n,A;return n=Math.floor(t/4294967296),A=4294967295&t,this.writeByte(n>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(255&n),this.writeByte(A>>24&255),this.writeByte(A>>16&255),this.writeByte(A>>8&255),this.writeByte(255&A)},e.prototype.readInt=function(){return this.readInt32()},e.prototype.writeInt=function(t){return this.writeInt32(t)},e.prototype.read=function(t){var n,A;for(n=[],A=0;0<=t?A<t:A>t;A=0<=t?++A:--A)n.push(this.readByte());return n},e.prototype.write=function(t){var n,A,r,i;for(i=[],A=0,r=t.length;A<r;A++)n=t[A],i.push(this.writeByte(n));return i},e})(),EH=(function(){var e;function t(n){var A,r,i;for(this.scalarType=n.readInt(),this.tableCount=n.readShort(),this.searchRange=n.readShort(),this.entrySelector=n.readShort(),this.rangeShift=n.readShort(),this.tables={},r=0,i=this.tableCount;0<=i?r<i:r>i;r=0<=i?++r:--r)A={tag:n.readString(4),checksum:n.readInt(),offset:n.readInt(),length:n.readInt()},this.tables[A.tag]=A}return t.prototype.encode=function(n){var A,r,i,s,o,a,l,u,h,w,p,y,v;for(v in p=Object.keys(n).length,a=Math.log(2),h=16*Math.floor(Math.log(p)/a),s=Math.floor(h/a),u=16*p-h,(r=new ko).writeInt(this.scalarType),r.writeShort(p),r.writeShort(h),r.writeShort(s),r.writeShort(u),i=16*p,l=r.pos+i,o=null,y=[],n)for(w=n[v],r.writeString(v),r.writeInt(e(w)),r.writeInt(l),r.writeInt(w.length),y=y.concat(w),v==="head"&&(o=l),l+=w.length;l%4;)y.push(0),l++;return r.write(y),A=2981146554-e(r.data),r.pos=o+8,r.writeUInt32(A),r.data},e=function(n){var A,r,i,s;for(n=Zx.call(n);n.length%4;)n.push(0);for(i=new ko(n),r=0,A=0,s=n.length;A<s;A=A+=4)r+=i.readUInt32();return 4294967295&r},t})(),UH={}.hasOwnProperty,ts=function(e,t){for(var n in t)UH.call(t,n)&&(e[n]=t[n]);function A(){this.constructor=e}return A.prototype=t.prototype,e.prototype=new A,e.__super__=t.prototype,e};Si=(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 QH=(function(){function e(){return e.__super__.constructor.apply(this,arguments)}return ts(e,Si),e.prototype.tag="head",e.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.revision=t.readInt(),this.checkSumAdjustment=t.readInt(),this.magicNumber=t.readInt(),this.flags=t.readShort(),this.unitsPerEm=t.readShort(),this.created=t.readLongLong(),this.modified=t.readLongLong(),this.xMin=t.readShort(),this.yMin=t.readShort(),this.xMax=t.readShort(),this.yMax=t.readShort(),this.macStyle=t.readShort(),this.lowestRecPPEM=t.readShort(),this.fontDirectionHint=t.readShort(),this.indexToLocFormat=t.readShort(),this.glyphDataFormat=t.readShort()},e.prototype.encode=function(t){var n;return(n=new ko).writeInt(this.version),n.writeInt(this.revision),n.writeInt(this.checkSumAdjustment),n.writeInt(this.magicNumber),n.writeShort(this.flags),n.writeShort(this.unitsPerEm),n.writeLongLong(this.created),n.writeLongLong(this.modified),n.writeShort(this.xMin),n.writeShort(this.yMin),n.writeShort(this.xMax),n.writeShort(this.yMax),n.writeShort(this.macStyle),n.writeShort(this.lowestRecPPEM),n.writeShort(this.fontDirectionHint),n.writeShort(t),n.writeShort(this.glyphDataFormat),n.data},e})(),eB=(function(){function e(t,n){var A,r,i,s,o,a,l,u,h,w,p,y,v,C,_,S,M;switch(this.platformID=t.readUInt16(),this.encodingID=t.readShort(),this.offset=n+t.readInt(),h=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(a=0;a<256;++a)this.codeMap[a]=t.readByte();break;case 4:for(p=t.readUInt16(),w=p/2,t.pos+=6,i=(function(){var T,V;for(V=[],a=T=0;0<=w?T<w:T>w;a=0<=w?++T:--T)V.push(t.readUInt16());return V})(),t.pos+=2,v=(function(){var T,V;for(V=[],a=T=0;0<=w?T<w:T>w;a=0<=w?++T:--T)V.push(t.readUInt16());return V})(),l=(function(){var T,V;for(V=[],a=T=0;0<=w?T<w:T>w;a=0<=w?++T:--T)V.push(t.readUInt16());return V})(),u=(function(){var T,V;for(V=[],a=T=0;0<=w?T<w:T>w;a=0<=w?++T:--T)V.push(t.readUInt16());return V})(),r=(this.length-t.pos+this.offset)/2,o=(function(){var T,V;for(V=[],a=T=0;0<=r?T<r:T>r;a=0<=r?++T:--T)V.push(t.readUInt16());return V})(),a=_=0,M=i.length;_<M;a=++_)for(C=i[a],A=S=y=v[a];y<=C?S<=C:S>=C;A=y<=C?++S:--S)u[a]===0?s=A+l[a]:(s=o[u[a]/2+(A-y)-(w-a)]||0)!==0&&(s+=l[a]),this.codeMap[A]=65535&s}t.pos=h}return e.encode=function(t,n){var A,r,i,s,o,a,l,u,h,w,p,y,v,C,_,S,M,T,V,B,G,z,H,ot,N,K,et,At,pt,gt,mt,ht,Ft,Vt,Ht,O,X,it,at,ct,bt,It,Tt,Kt,Xt,ae;switch(At=new ko,s=Object.keys(t).sort(function(ie,fe){return ie-fe}),n){case"macroman":for(v=0,C=(function(){var ie=[];for(y=0;y<256;++y)ie.push(0);return ie})(),S={0:0},i={},pt=0,Ft=s.length;pt<Ft;pt++)S[Tt=t[r=s[pt]]]==null&&(S[Tt]=++v),i[r]={old:t[r],new:S[t[r]]},C[r]=S[t[r]];return At.writeUInt16(1),At.writeUInt16(0),At.writeUInt32(12),At.writeUInt16(0),At.writeUInt16(262),At.writeUInt16(0),At.write(C),{charMap:i,subtable:At.data,maxGlyphID:v+1};case"unicode":for(K=[],h=[],M=0,S={},A={},_=l=null,gt=0,Vt=s.length;gt<Vt;gt++)S[V=t[r=s[gt]]]==null&&(S[V]=++M),A[r]={old:V,new:S[V]},o=S[V]-r,_!=null&&o===l||(_&&h.push(_),K.push(r),l=o),_=r;for(_&&h.push(_),h.push(65535),K.push(65535),ot=2*(H=K.length),z=2*Math.pow(Math.log(H)/Math.LN2,2),w=Math.log(z/2)/Math.LN2,G=2*H-z,a=[],B=[],p=[],y=mt=0,Ht=K.length;mt<Ht;y=++mt){if(N=K[y],u=h[y],N===65535){a.push(0),B.push(0);break}if(N-(et=A[N].new)>=32768)for(a.push(0),B.push(2*(p.length+H-y)),r=ht=N;N<=u?ht<=u:ht>=u;r=N<=u?++ht:--ht)p.push(A[r].new);else a.push(et-N),B.push(0)}for(At.writeUInt16(3),At.writeUInt16(1),At.writeUInt32(12),At.writeUInt16(4),At.writeUInt16(16+8*H+2*p.length),At.writeUInt16(0),At.writeUInt16(ot),At.writeUInt16(z),At.writeUInt16(w),At.writeUInt16(G),bt=0,O=h.length;bt<O;bt++)r=h[bt],At.writeUInt16(r);for(At.writeUInt16(0),It=0,X=K.length;It<X;It++)r=K[It],At.writeUInt16(r);for(Kt=0,it=a.length;Kt<it;Kt++)o=a[Kt],At.writeUInt16(o);for(Xt=0,at=B.length;Xt<at;Xt++)T=B[Xt],At.writeUInt16(T);for(ae=0,ct=p.length;ae<ct;ae++)v=p[ae],At.writeUInt16(v);return{charMap:A,subtable:At.data,maxGlyphID:M+1}}},e})(),Jx=(function(){function e(){return e.__super__.constructor.apply(this,arguments)}return ts(e,Si),e.prototype.tag="cmap",e.prototype.parse=function(t){var n,A,r;for(t.pos=this.offset,this.version=t.readUInt16(),r=t.readUInt16(),this.tables=[],this.unicode=null,A=0;0<=r?A<r:A>r;A=0<=r?++A:--A)n=new eB(t,this.offset),this.tables.push(n),n.isUnicode&&this.unicode==null&&(this.unicode=n);return!0},e.encode=function(t,n){var A,r;return n==null&&(n="macroman"),A=eB.encode(t,n),(r=new ko).writeUInt16(0),r.writeUInt16(1),A.table=r.data.concat(A.subtable),A},e})(),SH=(function(){function e(){return e.__super__.constructor.apply(this,arguments)}return ts(e,Si),e.prototype.tag="hhea",e.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.ascender=t.readShort(),this.decender=t.readShort(),this.lineGap=t.readShort(),this.advanceWidthMax=t.readShort(),this.minLeftSideBearing=t.readShort(),this.minRightSideBearing=t.readShort(),this.xMaxExtent=t.readShort(),this.caretSlopeRise=t.readShort(),this.caretSlopeRun=t.readShort(),this.caretOffset=t.readShort(),t.pos+=8,this.metricDataFormat=t.readShort(),this.numberOfMetrics=t.readUInt16()},e})(),LH=(function(){function e(){return e.__super__.constructor.apply(this,arguments)}return ts(e,Si),e.prototype.tag="OS/2",e.prototype.parse=function(t){if(t.pos=this.offset,this.version=t.readUInt16(),this.averageCharWidth=t.readShort(),this.weightClass=t.readUInt16(),this.widthClass=t.readUInt16(),this.type=t.readShort(),this.ySubscriptXSize=t.readShort(),this.ySubscriptYSize=t.readShort(),this.ySubscriptXOffset=t.readShort(),this.ySubscriptYOffset=t.readShort(),this.ySuperscriptXSize=t.readShort(),this.ySuperscriptYSize=t.readShort(),this.ySuperscriptXOffset=t.readShort(),this.ySuperscriptYOffset=t.readShort(),this.yStrikeoutSize=t.readShort(),this.yStrikeoutPosition=t.readShort(),this.familyClass=t.readShort(),this.panose=(function(){var n,A;for(A=[],n=0;n<10;++n)A.push(t.readByte());return A})(),this.charRange=(function(){var n,A;for(A=[],n=0;n<4;++n)A.push(t.readInt());return A})(),this.vendorID=t.readString(4),this.selection=t.readShort(),this.firstCharIndex=t.readShort(),this.lastCharIndex=t.readShort(),this.version>0&&(this.ascent=t.readShort(),this.descent=t.readShort(),this.lineGap=t.readShort(),this.winAscent=t.readShort(),this.winDescent=t.readShort(),this.codePageRange=(function(){var n,A;for(A=[],n=0;n<2;n=++n)A.push(t.readInt());return A})(),this.version>1))return this.xHeight=t.readShort(),this.capHeight=t.readShort(),this.defaultChar=t.readShort(),this.breakChar=t.readShort(),this.maxContext=t.readShort()},e})(),IH=(function(){function e(){return e.__super__.constructor.apply(this,arguments)}return ts(e,Si),e.prototype.tag="post",e.prototype.parse=function(t){var n,A,r;switch(t.pos=this.offset,this.format=t.readInt(),this.italicAngle=t.readInt(),this.underlinePosition=t.readShort(),this.underlineThickness=t.readShort(),this.isFixedPitch=t.readInt(),this.minMemType42=t.readInt(),this.maxMemType42=t.readInt(),this.minMemType1=t.readInt(),this.maxMemType1=t.readInt(),this.format){case 65536:case 196608:break;case 131072:var i;for(A=t.readUInt16(),this.glyphNameIndex=[],i=0;0<=A?i<A:i>A;i=0<=A?++i:--i)this.glyphNameIndex.push(t.readUInt16());for(this.names=[],r=[];t.pos<this.offset+this.length;)n=t.readByte(),r.push(this.names.push(t.readString(n)));return r;case 151552:return A=t.readUInt16(),this.offsets=t.read(A);case 262144:return this.map=(function(){var s,o,a;for(a=[],i=s=0,o=this.file.maxp.numGlyphs;0<=o?s<o:s>o;i=0<=o?++s:--s)a.push(t.readUInt32());return a}).call(this)}},e})(),kH=function(e,t){this.raw=e,this.length=e.length,this.platformID=t.platformID,this.encodingID=t.encodingID,this.languageID=t.languageID},TH=(function(){function e(){return e.__super__.constructor.apply(this,arguments)}return ts(e,Si),e.prototype.tag="name",e.prototype.parse=function(t){var n,A,r,i,s,o,a,l,u,h,w;for(t.pos=this.offset,t.readShort(),n=t.readShort(),o=t.readShort(),A=[],i=0;0<=n?i<n:i>n;i=0<=n?++i:--i)A.push({platformID:t.readShort(),encodingID:t.readShort(),languageID:t.readShort(),nameID:t.readShort(),length:t.readShort(),offset:this.offset+o+t.readShort()});for(a={},i=u=0,h=A.length;u<h;i=++u)r=A[i],t.pos=r.offset,l=t.readString(r.length),s=new kH(l,r),a[w=r.nameID]==null&&(a[w]=[]),a[r.nameID].push(s);this.strings=a,this.copyright=a[0],this.fontFamily=a[1],this.fontSubfamily=a[2],this.uniqueSubfamily=a[3],this.fontName=a[4],this.version=a[5];try{this.postscriptName=a[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch{this.postscriptName=a[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=a[7],this.manufacturer=a[8],this.designer=a[9],this.description=a[10],this.vendorUrl=a[11],this.designerUrl=a[12],this.license=a[13],this.licenseUrl=a[14],this.preferredFamily=a[15],this.preferredSubfamily=a[17],this.compatibleFull=a[18],this.sampleText=a[19]},e})(),NH=(function(){function e(){return e.__super__.constructor.apply(this,arguments)}return ts(e,Si),e.prototype.tag="maxp",e.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.numGlyphs=t.readUInt16(),this.maxPoints=t.readUInt16(),this.maxContours=t.readUInt16(),this.maxCompositePoints=t.readUInt16(),this.maxComponentContours=t.readUInt16(),this.maxZones=t.readUInt16(),this.maxTwilightPoints=t.readUInt16(),this.maxStorage=t.readUInt16(),this.maxFunctionDefs=t.readUInt16(),this.maxInstructionDefs=t.readUInt16(),this.maxStackElements=t.readUInt16(),this.maxSizeOfInstructions=t.readUInt16(),this.maxComponentElements=t.readUInt16(),this.maxComponentDepth=t.readUInt16()},e})(),OH=(function(){function e(){return e.__super__.constructor.apply(this,arguments)}return ts(e,Si),e.prototype.tag="hmtx",e.prototype.parse=function(t){var n,A,r,i,s,o,a;for(t.pos=this.offset,this.metrics=[],n=0,o=this.file.hhea.numberOfMetrics;0<=o?n<o:n>o;n=0<=o?++n:--n)this.metrics.push({advance:t.readUInt16(),lsb:t.readInt16()});for(r=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=(function(){var l,u;for(u=[],n=l=0;0<=r?l<r:l>r;n=0<=r?++l:--l)u.push(t.readInt16());return u})(),this.widths=(function(){var l,u,h,w;for(w=[],l=0,u=(h=this.metrics).length;l<u;l++)i=h[l],w.push(i.advance);return w}).call(this),A=this.widths[this.widths.length-1],a=[],n=s=0;0<=r?s<r:s>r;n=0<=r?++s:--s)a.push(this.widths.push(A));return a},e.prototype.forGlyph=function(t){return t in this.metrics?this.metrics[t]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[t-this.metrics.length]}},e})(),Zx=[].slice,HH=(function(){function e(){return e.__super__.constructor.apply(this,arguments)}return ts(e,Si),e.prototype.tag="glyf",e.prototype.parse=function(){return this.cache={}},e.prototype.glyphFor=function(t){var n,A,r,i,s,o,a,l,u,h;return t in this.cache?this.cache[t]:(i=this.file.loca,n=this.file.contents,A=i.indexOf(t),(r=i.lengthOf(t))===0?this.cache[t]=null:(n.pos=this.offset+A,s=(o=new ko(n.read(r))).readShort(),l=o.readShort(),h=o.readShort(),a=o.readShort(),u=o.readShort(),this.cache[t]=s===-1?new MH(o,l,h,a,u):new PH(o,s,l,h,a,u),this.cache[t]))},e.prototype.encode=function(t,n,A){var r,i,s,o,a;for(s=[],i=[],o=0,a=n.length;o<a;o++)r=t[n[o]],i.push(s.length),r&&(s=s.concat(r.encode(A)));return i.push(s.length),{table:s,offsets:i}},e})(),PH=(function(){function e(t,n,A,r,i,s){this.raw=t,this.numberOfContours=n,this.xMin=A,this.yMin=r,this.xMax=i,this.yMax=s,this.compound=!1}return e.prototype.encode=function(){return this.raw.data},e})(),MH=(function(){function e(t,n,A,r,i){var s,o;for(this.raw=t,this.xMin=n,this.yMin=A,this.xMax=r,this.yMax=i,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],s=this.raw;o=s.readShort(),this.glyphOffsets.push(s.pos),this.glyphIDs.push(s.readUInt16()),32&o;)s.pos+=1&o?4:2,128&o?s.pos+=8:64&o?s.pos+=4:8&o&&(s.pos+=2)}return e.prototype.encode=function(){var t,n,A;for(n=new ko(Zx.call(this.raw.data)),t=0,A=this.glyphIDs.length;t<A;++t)n.pos=this.glyphOffsets[t];return n.data},e})(),DH=(function(){function e(){return e.__super__.constructor.apply(this,arguments)}return ts(e,Si),e.prototype.tag="loca",e.prototype.parse=function(t){var n,A;return t.pos=this.offset,n=this.file.head.indexToLocFormat,this.offsets=n===0?(function(){var r,i;for(i=[],A=0,r=this.length;A<r;A+=2)i.push(2*t.readUInt16());return i}).call(this):(function(){var r,i;for(i=[],A=0,r=this.length;A<r;A+=4)i.push(t.readUInt32());return i}).call(this)},e.prototype.indexOf=function(t){return this.offsets[t]},e.prototype.lengthOf=function(t){return this.offsets[t+1]-this.offsets[t]},e.prototype.encode=function(t,n){for(var A=new Uint32Array(this.offsets.length),r=0,i=0,s=0;s<A.length;++s)if(A[s]=r,i<n.length&&n[i]==s){++i,A[s]=r;var o=this.offsets[s],a=this.offsets[s+1]-o;a>0&&(r+=a)}for(var l=new Array(4*A.length),u=0;u<A.length;++u)l[4*u+3]=255&A[u],l[4*u+2]=(65280&A[u])>>8,l[4*u+1]=(16711680&A[u])>>16,l[4*u]=(4278190080&A[u])>>24;return l},e})(),RH=(function(){function e(t){this.font=t,this.subset={},this.unicodes={},this.next=33}return e.prototype.generateCmap=function(){var t,n,A,r,i;for(n in r=this.font.cmap.tables[0].codeMap,t={},i=this.subset)A=i[n],t[n]=r[A];return t},e.prototype.glyphsFor=function(t){var n,A,r,i,s,o,a;for(r={},s=0,o=t.length;s<o;s++)r[i=t[s]]=this.font.glyf.glyphFor(i);for(i in n=[],r)(A=r[i])!=null&&A.compound&&n.push.apply(n,A.glyphIDs);if(n.length>0)for(i in a=this.glyphsFor(n))A=a[i],r[i]=A;return r},e.prototype.encode=function(t,n){var A,r,i,s,o,a,l,u,h,w,p,y,v,C,_;for(r in A=Jx.encode(this.generateCmap(),"unicode"),s=this.glyphsFor(t),p={0:0},_=A.charMap)p[(a=_[r]).old]=a.new;for(y in w=A.maxGlyphID,s)y in p||(p[y]=w++);return u=(function(S){var M,T;for(M in T={},S)T[S[M]]=M;return T})(p),h=Object.keys(u).sort(function(S,M){return S-M}),v=(function(){var S,M,T;for(T=[],S=0,M=h.length;S<M;S++)o=h[S],T.push(u[o]);return T})(),i=this.font.glyf.encode(s,v,p),l=this.font.loca.encode(i.offsets,v),C={cmap:this.font.cmap.raw(),glyf:i.table,loca:l,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&&(C["OS/2"]=this.font.os2.raw()),this.font.directory.encode(C)},e})();Fe.API.PDFObject=(function(){var e;function t(){}return e=function(n,A){return(Array(A+1).join("0")+n).slice(-A)},t.convert=function(n){var A,r,i,s;if(Array.isArray(n))return"["+(function(){var o,a,l;for(l=[],o=0,a=n.length;o<a;o++)A=n[o],l.push(t.convert(A));return l})().join(" ")+"]";if(typeof n=="string")return"/"+n;if(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(r in i=["<<"],n)s=n[r],i.push("/"+r+" "+t.convert(s));return i.push(">>"),i.join(` `)}return""+n},t})();var H7=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function KH(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var xc={exports:{}},jH=xc.exports,nB;function VH(){return nB||(nB=1,(function(e,t){(function(n,A){typeof t.nodeName!="string"?e.exports=A():n.Croppie=A()})(typeof self<"u"?self:jH,function(){if(typeof Promise!="function"){(function(k){function rt(St,Zt){return function(){St.apply(Zt,arguments)}}function nt(St){if(typeof this!="object")throw new TypeError("Promises must be constructed via new");if(typeof St!="function")throw new TypeError("not a function");this._state=null,this._value=null,this._deferreds=[],te(St,rt(yt,this),rt(_t,this))}function Ct(St){var Zt=this;return this._state===null?void this._deferreds.push(St):void Jt(function(){var Ot=Zt._state?St.onFulfilled:St.onRejected;if(Ot===null)return void(Zt._state?St.resolve:St.reject)(Zt._value);var Wt;try{Wt=Ot(Zt._value)}catch(ee){return void St.reject(ee)}St.resolve(Wt)})}function yt(St){try{if(St===this)throw new TypeError("A promise cannot be resolved with itself.");if(St&&(typeof St=="object"||typeof St=="function")){var Zt=St.then;if(typeof Zt=="function")return void te(rt(Zt,St),rt(yt,this),rt(_t,this))}this._state=!0,this._value=St,Nt.call(this)}catch(Ot){_t.call(this,Ot)}}function _t(St){this._state=!1,this._value=St,Nt.call(this)}function Nt(){for(var St=0,Zt=this._deferreds.length;Zt>St;St++)Ct.call(this,this._deferreds[St]);this._deferreds=null}function re(St,Zt,Ot,Wt){this.onFulfilled=typeof St=="function"?St:null,this.onRejected=typeof Zt=="function"?Zt:null,this.resolve=Ot,this.reject=Wt}function te(St,Zt,Ot){var Wt=!1;try{St(function(ee){Wt||(Wt=!0,Zt(ee))},function(ee){Wt||(Wt=!0,Ot(ee))})}catch(ee){if(Wt)return;Wt=!0,Ot(ee)}}var Yt=setTimeout,Jt=typeof setImmediate=="function"&&setImmediate||function(St){Yt(St,1)},Be=Array.isArray||function(St){return Object.prototype.toString.call(St)==="[object Array]"};nt.prototype.catch=function(St){return this.then(null,St)},nt.prototype.then=function(St,Zt){var Ot=this;return new nt(function(Wt,ee){Ct.call(Ot,new re(St,Zt,Wt,ee))})},nt.all=function(){var St=Array.prototype.slice.call(arguments.length===1&&Be(arguments[0])?arguments[0]:arguments);return new nt(function(Zt,Ot){function Wt(le,Le){try{if(Le&&(typeof Le=="object"||typeof Le=="function")){var cn=Le.then;if(typeof cn=="function")return void cn.call(Le,function(qe){Wt(le,qe)},Ot)}St[le]=Le,--ee===0&&Zt(St)}catch(qe){Ot(qe)}}if(St.length===0)return Zt([]);for(var ee=St.length,de=0;de<St.length;de++)Wt(de,St[de])})},nt.resolve=function(St){return St&&typeof St=="object"&&St.constructor===nt?St:new nt(function(Zt){Zt(St)})},nt.reject=function(St){return new nt(function(Zt,Ot){Ot(St)})},nt.race=function(St){return new nt(function(Zt,Ot){for(var Wt=0,ee=St.length;ee>Wt;Wt++)St[Wt].then(Zt,Ot)})},nt._setImmediateFn=function(St){Jt=St},e.exports?e.exports=nt:k.Promise||(k.Promise=nt)})(this)}typeof window<"u"&&typeof window.CustomEvent!="function"&&(function(){function k(rt,nt){nt=nt||{bubbles:!1,cancelable:!1,detail:void 0};var Ct=document.createEvent("CustomEvent");return Ct.initCustomEvent(rt,nt.bubbles,nt.cancelable,nt.detail),Ct}k.prototype=window.Event.prototype,window.CustomEvent=k})(),typeof HTMLCanvasElement<"u"&&!HTMLCanvasElement.prototype.toBlob&&Object.defineProperty(HTMLCanvasElement.prototype,"toBlob",{value:function(k,rt,nt){for(var Ct=atob(this.toDataURL(rt,nt).split(",")[1]),yt=Ct.length,_t=new Uint8Array(yt),Nt=0;Nt<yt;Nt++)_t[Nt]=Ct.charCodeAt(Nt);k(new Blob([_t],{type:rt||"image/png"}))}});var n=["Webkit","Moz","ms"],A=typeof document<"u"?document.createElement("div").style:{},r=[1,8,3,6],i=[2,7,4,5],s,o,a;function l(k){if(k in A)return k;for(var rt=k[0].toUpperCase()+k.slice(1),nt=n.length;nt--;)if(k=n[nt]+rt,k in A)return k}o=l("transform"),s=l("transformOrigin"),a=l("userSelect");function u(k,rt){var nt=r.indexOf(k)>-1?r:i,Ct=nt.indexOf(k),yt=rt/90%nt.length;return nt[(nt.length+Ct+yt%nt.length)%nt.length]}function h(k,rt){k=k||{};for(var nt in rt)rt[nt]&&rt[nt].constructor&&rt[nt].constructor===Object?(k[nt]=k[nt]||{},h(k[nt],rt[nt])):k[nt]=rt[nt];return k}function w(k){return h({},k)}function p(k,rt,nt){var Ct;return function(){var yt=this,_t=arguments,Nt=function(){Ct=null,k.apply(yt,_t)};clearTimeout(Ct),Ct=setTimeout(Nt,rt)}}function y(k){if("createEvent"in document){var rt=document.createEvent("HTMLEvents");rt.initEvent("change",!1,!0),k.dispatchEvent(rt)}else k.fireEvent("onchange")}function v(k,rt,nt){if(typeof rt=="string"){var Ct=rt;rt={},rt[Ct]=nt}for(var yt in rt)k.style[yt]=rt[yt]}function C(k,rt){k.classList?k.classList.add(rt):k.className+=" "+rt}function _(k,rt){k.classList?k.classList.remove(rt):k.className=k.className.replace(rt,"")}function S(k,rt){for(var nt in rt)k.setAttribute(nt,rt[nt])}function M(k){return parseInt(k,10)}function T(k,rt){if(!k)throw"Source image missing";var nt=new Image;return nt.style.opacity="0",new Promise(function(Ct,yt){function _t(){nt.style.opacity="1",setTimeout(function(){Ct(nt)},1)}nt.removeAttribute("crossOrigin"),k.match(/^https?:\/\/|^\/\//)&&nt.setAttribute("crossOrigin","anonymous"),nt.onload=function(){rt?EXIF.getData(nt,function(){_t()}):_t()},nt.onerror=function(Nt){nt.style.opacity=1,setTimeout(function(){yt(Nt)},1)},nt.src=k})}function V(k,rt){var nt=k.naturalWidth,Ct=k.naturalHeight,yt=rt||H(k);if(yt&&yt>=5){var _t=nt;nt=Ct,Ct=_t}return{width:nt,height:Ct}}var B={translate3d:{suffix:", 0px"},translate:{suffix:""}},G=function(k,rt,nt){this.x=parseFloat(k),this.y=parseFloat(rt),this.scale=parseFloat(nt)};G.parse=function(k){return k.style?G.parse(k.style[o]):k.indexOf("matrix")>-1||k.indexOf("none")>-1?G.fromMatrix(k):G.fromString(k)},G.fromMatrix=function(k){var rt=k.substring(7).split(",");return(!rt.length||k==="none")&&(rt=[1,0,0,1,0,0]),new G(M(rt[4]),M(rt[5]),parseFloat(rt[0]))},G.fromString=function(k){var rt=k.split(") "),nt=rt[0].substring(ke.globals.translate.length+1).split(","),Ct=rt.length>1?rt[1].substring(6):1,yt=nt.length>1?nt[0]:0,_t=nt.length>1?nt[1]:0;return new G(yt,_t,Ct)},G.prototype.toString=function(){var k=B[ke.globals.translate].suffix||"";return ke.globals.translate+"("+this.x+"px, "+this.y+"px"+k+") scale("+this.scale+")"};var z=function(k){if(!k||!k.style[s]){this.x=0,this.y=0;return}var rt=k.style[s].split(" ");this.x=parseFloat(rt[0]),this.y=parseFloat(rt[1])};z.prototype.toString=function(){return this.x+"px "+this.y+"px"};function H(k){return k.exifdata&&k.exifdata.Orientation?M(k.exifdata.Orientation):1}function ot(k,rt,nt){var Ct=rt.width,yt=rt.height,_t=k.getContext("2d");switch(k.width=rt.width,k.height=rt.height,_t.save(),nt){case 2:_t.translate(Ct,0),_t.scale(-1,1);break;case 3:_t.translate(Ct,yt),_t.rotate(180*Math.PI/180);break;case 4:_t.translate(0,yt),_t.scale(1,-1);break;case 5:k.width=yt,k.height=Ct,_t.rotate(90*Math.PI/180),_t.scale(1,-1);break;case 6:k.width=yt,k.height=Ct,_t.rotate(90*Math.PI/180),_t.translate(0,-yt);break;case 7:k.width=yt,k.height=Ct,_t.rotate(-90*Math.PI/180),_t.translate(-Ct,yt),_t.scale(1,-1);break;case 8:k.width=yt,k.height=Ct,_t.translate(0,Ct),_t.rotate(-90*Math.PI/180);break}_t.drawImage(rt,0,0,Ct,yt),_t.restore()}function N(){var k=this,rt="croppie-container",nt=k.options.viewport.type?"cr-vp-"+k.options.viewport.type:null,Ct,yt,_t,Nt,re,te;k.options.useCanvas=k.options.enableOrientation||K.call(k),k.data={},k.elements={},Ct=k.elements.boundary=document.createElement("div"),_t=k.elements.viewport=document.createElement("div"),yt=k.elements.img=document.createElement("img"),Nt=k.elements.overlay=document.createElement("div"),k.options.useCanvas?(k.elements.canvas=document.createElement("canvas"),k.elements.preview=k.elements.canvas):k.elements.preview=yt,C(Ct,"cr-boundary"),Ct.setAttribute("aria-dropeffect","none"),re=k.options.boundary.width,te=k.options.boundary.height,v(Ct,{width:re+(isNaN(re)?"":"px"),height:te+(isNaN(te)?"":"px")}),C(_t,"cr-viewport"),nt&&C(_t,nt),v(_t,{width:k.options.viewport.width+"px",height:k.options.viewport.height+"px"}),_t.setAttribute("tabindex",0),C(k.elements.preview,"cr-image"),S(k.elements.preview,{alt:"preview","aria-grabbed":"false"}),C(Nt,"cr-overlay"),k.element.appendChild(Ct),Ct.appendChild(k.elements.preview),Ct.appendChild(_t),Ct.appendChild(Nt),C(k.element,rt),k.options.customClass&&C(k.element,k.options.customClass),Ft.call(this),k.options.enableZoom&&pt.call(k),k.options.enableResize&&et.call(k)}function K(){return this.options.enableExif&&window.EXIF}function et(){var k=this,rt=document.createElement("div"),nt=!1,Ct,yt,_t,Nt=50,re,te,Yt,Jt;C(rt,"cr-resizer"),v(rt,{width:this.options.viewport.width+"px",height:this.options.viewport.height+"px"}),this.options.resizeControls.height&&(Yt=document.createElement("div"),C(Yt,"cr-resizer-vertical"),rt.appendChild(Yt)),this.options.resizeControls.width&&(Jt=document.createElement("div"),C(Jt,"cr-resizer-horisontal"),rt.appendChild(Jt));function Be(Ot){if(!(Ot.button!==void 0&&Ot.button!==0)&&(Ot.preventDefault(),!nt)){var Wt=k.elements.overlay.getBoundingClientRect();if(nt=!0,yt=Ot.pageX,_t=Ot.pageY,Ct=Ot.currentTarget.className.indexOf("vertical")!==-1?"v":"h",re=Wt.width,te=Wt.height,Ot.touches){var ee=Ot.touches[0];yt=ee.pageX,_t=ee.pageY}window.addEventListener("mousemove",St),window.addEventListener("touchmove",St),window.addEventListener("mouseup",Zt),window.addEventListener("touchend",Zt),document.body.style[a]="none"}}function St(Ot){var Wt=Ot.pageX,ee=Ot.pageY;if(Ot.preventDefault(),Ot.touches){var de=Ot.touches[0];Wt=de.pageX,ee=de.pageY}var le=Wt-yt,Le=ee-_t,cn=k.options.viewport.height+Le,qe=k.options.viewport.width+le;Ct==="v"&&cn>=Nt&&cn<=te?(v(rt,{height:cn+"px"}),k.options.boundary.height+=Le,v(k.elements.boundary,{height:k.options.boundary.height+"px"}),k.options.viewport.height+=Le,v(k.elements.viewport,{height:k.options.viewport.height+"px"})):Ct==="h"&&qe>=Nt&&qe<=re&&(v(rt,{width:qe+"px"}),k.options.boundary.width+=le,v(k.elements.boundary,{width:k.options.boundary.width+"px"}),k.options.viewport.width+=le,v(k.elements.viewport,{width:k.options.viewport.width+"px"})),Vt.call(k),at.call(k),ht.call(k),O.call(k),_t=ee,yt=Wt}function Zt(){nt=!1,window.removeEventListener("mousemove",St),window.removeEventListener("touchmove",St),window.removeEventListener("mouseup",Zt),window.removeEventListener("touchend",Zt),document.body.style[a]=""}Yt&&(Yt.addEventListener("mousedown",Be),Yt.addEventListener("touchstart",Be)),Jt&&(Jt.addEventListener("mousedown",Be),Jt.addEventListener("touchstart",Be)),this.elements.boundary.appendChild(rt)}function At(k){if(this.options.enableZoom){var rt=this.elements.zoomer,nt=q(k,4);rt.value=Math.max(parseFloat(rt.min),Math.min(parseFloat(rt.max),nt)).toString()}}function pt(){var k=this,rt=k.elements.zoomerWrap=document.createElement("div"),nt=k.elements.zoomer=document.createElement("input");C(rt,"cr-slider-wrap"),C(nt,"cr-slider"),nt.type="range",nt.step="0.0001",nt.value="1",nt.style.display=k.options.showZoomer?"":"none",nt.setAttribute("aria-label","zoom"),k.element.appendChild(rt),rt.appendChild(nt),k._currentZoom=1;function Ct(){gt.call(k,{value:parseFloat(nt.value),origin:new z(k.elements.preview),viewportRect:k.elements.viewport.getBoundingClientRect(),transform:G.parse(k.elements.preview)})}function yt(_t){var Nt,re;if(k.options.mouseWheelZoom==="ctrl"&&_t.ctrlKey!==!0)return 0;_t.wheelDelta?Nt=_t.wheelDelta/1200:_t.deltaY?Nt=_t.deltaY/1060:_t.detail?Nt=_t.detail/-60:Nt=0,re=k._currentZoom+Nt*k._currentZoom,_t.preventDefault(),At.call(k,re),Ct.call(k)}k.elements.zoomer.addEventListener("input",Ct),k.elements.zoomer.addEventListener("change",Ct),k.options.mouseWheelZoom&&(k.elements.boundary.addEventListener("mousewheel",yt),k.elements.boundary.addEventListener("DOMMouseScroll",yt))}function gt(k){var rt=this,nt=k?k.transform:G.parse(rt.elements.preview),Ct=k?k.viewportRect:rt.elements.viewport.getBoundingClientRect(),yt=k?k.origin:new z(rt.elements.preview);function _t(){var Yt={};Yt[o]=nt.toString(),Yt[s]=yt.toString(),v(rt.elements.preview,Yt)}if(rt._currentZoom=k?k.value:rt._currentZoom,nt.scale=rt._currentZoom,rt.elements.zoomer.setAttribute("aria-valuenow",rt._currentZoom),_t(),rt.options.enforceBoundary){var Nt=mt.call(rt,Ct),re=Nt.translate,te=Nt.origin;nt.x>=re.maxX&&(yt.x=te.minX,nt.x=re.maxX),nt.x<=re.minX&&(yt.x=te.maxX,nt.x=re.minX),nt.y>=re.maxY&&(yt.y=te.minY,nt.y=re.maxY),nt.y<=re.minY&&(yt.y=te.maxY,nt.y=re.minY)}_t(),Ht.call(rt),O.call(rt)}function mt(k){var rt=this,nt=rt._currentZoom,Ct=k.width,yt=k.height,_t=rt.elements.boundary.clientWidth/2,Nt=rt.elements.boundary.clientHeight/2,re=rt.elements.preview.getBoundingClientRect(),te=re.width,Yt=re.height,Jt=Ct/2,Be=yt/2,St=(Jt/nt-_t)*-1,Zt=St-(te*(1/nt)-Ct*(1/nt)),Ot=(Be/nt-Nt)*-1,Wt=Ot-(Yt*(1/nt)-yt*(1/nt)),ee=1/nt*Jt,de=te*(1/nt)-ee,le=1/nt*Be,Le=Yt*(1/nt)-le;return{translate:{maxX:St,minX:Zt,maxY:Ot,minY:Wt},origin:{maxX:de,minX:ee,maxY:Le,minY:le}}}function ht(k){var rt=this,nt=rt._currentZoom,Ct=rt.elements.preview.getBoundingClientRect(),yt=rt.elements.viewport.getBoundingClientRect(),_t=G.parse(rt.elements.preview.style[o]),Nt=new z(rt.elements.preview),re=yt.top-Ct.top+yt.height/2,te=yt.left-Ct.left+yt.width/2,Yt={},Jt={};if(k){var Be=Nt.x,St=Nt.y,Zt=_t.x,Ot=_t.y;Yt.y=Be,Yt.x=St,_t.y=Zt,_t.x=Ot}else Yt.y=re/nt,Yt.x=te/nt,Jt.y=(Yt.y-Nt.y)*(1-nt),Jt.x=(Yt.x-Nt.x)*(1-nt),_t.x-=Jt.x,_t.y-=Jt.y;var Wt={};Wt[s]=Yt.x+"px "+Yt.y+"px",Wt[o]=_t.toString(),v(rt.elements.preview,Wt)}function Ft(){var k=this,rt=!1,nt,Ct,yt,_t,Nt;function re(Ot,Wt){var ee=k.elements.preview.getBoundingClientRect(),de=Nt.y+Wt,le=Nt.x+Ot;k.options.enforceBoundary?(_t.top>ee.top+Wt&&_t.bottom<ee.bottom+Wt&&(Nt.y=de),_t.left>ee.left+Ot&&_t.right<ee.right+Ot&&(Nt.x=le)):(Nt.y=de,Nt.x=le)}function te(Ot){k.elements.preview.setAttribute("aria-grabbed",Ot),k.elements.boundary.setAttribute("aria-dropeffect",Ot?"move":"none")}function Yt(Ot){var Wt=37,ee=38,de=39,le=40;if(Ot.shiftKey&&(Ot.keyCode===ee||Ot.keyCode===le)){var Le;Ot.keyCode===ee?Le=parseFloat(k.elements.zoomer.value)+parseFloat(k.elements.zoomer.step):Le=parseFloat(k.elements.zoomer.value)-parseFloat(k.elements.zoomer.step),k.setZoom(Le)}else if(k.options.enableKeyMovement&&Ot.keyCode>=37&&Ot.keyCode<=40){Ot.preventDefault();var cn=qe(Ot.keyCode);Nt=G.parse(k.elements.preview),document.body.style[a]="none",_t=k.elements.viewport.getBoundingClientRect(),Jt(cn)}function qe(aA){switch(aA){case Wt:return[1,0];case ee:return[0,1];case de:return[-1,0];case le:return[0,-1]}}}function Jt(Ot){var Wt=Ot[0],ee=Ot[1],de={};re(Wt,ee),de[o]=Nt.toString(),v(k.elements.preview,de),Vt.call(k),document.body.style[a]="",ht.call(k),O.call(k),yt=0}function Be(Ot){if(!(Ot.button!==void 0&&Ot.button!==0)&&(Ot.preventDefault(),!rt)){if(rt=!0,nt=Ot.pageX,Ct=Ot.pageY,Ot.touches){var Wt=Ot.touches[0];nt=Wt.pageX,Ct=Wt.pageY}te(rt),Nt=G.parse(k.elements.preview),window.addEventListener("mousemove",St),window.addEventListener("touchmove",St),window.addEventListener("mouseup",Zt),window.addEventListener("touchend",Zt),document.body.style[a]="none",_t=k.elements.viewport.getBoundingClientRect()}}function St(Ot){Ot.preventDefault();var Wt=Ot.pageX,ee=Ot.pageY;if(Ot.touches){var de=Ot.touches[0];Wt=de.pageX,ee=de.pageY}var le=Wt-nt,Le=ee-Ct,cn={};if(Ot.type==="touchmove"&&Ot.touches.length>1){var qe=Ot.touches[0],aA=Ot.touches[1],wA=Math.sqrt((qe.pageX-aA.pageX)*(qe.pageX-aA.pageX)+(qe.pageY-aA.pageY)*(qe.pageY-aA.pageY));yt||(yt=wA/k._currentZoom);var Qe=wA/yt;At.call(k,Qe),y(k.elements.zoomer);return}re(le,Le),cn[o]=Nt.toString(),v(k.elements.preview,cn),Vt.call(k),Ct=ee,nt=Wt}function Zt(){rt=!1,te(rt),window.removeEventListener("mousemove",St),window.removeEventListener("touchmove",St),window.removeEventListener("mouseup",Zt),window.removeEventListener("touchend",Zt),document.body.style[a]="",ht.call(k),O.call(k),yt=0}k.elements.overlay.addEventListener("mousedown",Be),k.elements.viewport.addEventListener("keydown",Yt),k.elements.overlay.addEventListener("touchstart",Be)}function Vt(){if(this.elements){var k=this,rt=k.elements.boundary.getBoundingClientRect(),nt=k.elements.preview.getBoundingClientRect();v(k.elements.overlay,{width:nt.width+"px",height:nt.height+"px",top:nt.top-rt.top+"px",left:nt.left-rt.left+"px"})}}var Ht=p(Vt,500);function O(){var k=this,rt=k.get();if(X.call(k))if(k.options.update.call(k,rt),k.$&&typeof Prototype>"u")k.$(k.element).trigger("update.croppie",rt);else{var nt;window.CustomEvent?nt=new CustomEvent("update",{detail:rt}):(nt=document.createEvent("CustomEvent"),nt.initCustomEvent("update",!0,!0,rt)),k.element.dispatchEvent(nt)}}function X(){return this.elements.preview.offsetHeight>0&&this.elements.preview.offsetWidth>0}function it(){var k=this,rt=1,nt={},Ct=k.elements.preview,yt,_t=new G(0,0,rt),Nt=new z,re=X.call(k);!re||k.data.bound||(k.data.bound=!0,nt[o]=_t.toString(),nt[s]=Nt.toString(),nt.opacity=1,v(Ct,nt),yt=k.elements.preview.getBoundingClientRect(),k._originalImageWidth=yt.width,k._originalImageHeight=yt.height,k.data.orientation=K.call(k)?H(k.elements.img):k.data.orientation,k.options.enableZoom?at.call(k,!0):k._currentZoom=rt,_t.scale=k._currentZoom,nt[o]=_t.toString(),v(Ct,nt),k.data.points.length?ct.call(k,k.data.points):bt.call(k),ht.call(k),Vt.call(k))}function at(k){var rt=this,nt=Math.max(rt.options.minZoom,0)||0,Ct=rt.options.maxZoom||1.5,yt,_t,Nt=rt.elements.zoomer,re=parseFloat(Nt.value),te=rt.elements.boundary.getBoundingClientRect(),Yt=V(rt.elements.img,rt.data.orientation),Jt=rt.elements.viewport.getBoundingClientRect(),Be,St;rt.options.enforceBoundary&&(Be=Jt.width/Yt.width,St=Jt.height/Yt.height,nt=Math.max(Be,St)),nt>=Ct&&(Ct=nt+1),Nt.min=q(nt,4),Nt.max=q(Ct,4),!k&&(re<Nt.min||re>Nt.max)?At.call(rt,re<Nt.min?Nt.min:Nt.max):k&&(_t=Math.max(te.width/Yt.width,te.height/Yt.height),yt=rt.data.boundZoom!==null?rt.data.boundZoom:_t,At.call(rt,yt)),y(Nt)}function ct(k){if(k.length!==4)throw"Croppie - Invalid number of points supplied: "+k;var rt=this,nt=k[2]-k[0],Ct=rt.elements.viewport.getBoundingClientRect(),yt=rt.elements.boundary.getBoundingClientRect(),_t={left:Ct.left-yt.left,top:Ct.top-yt.top},Nt=Ct.width/nt,re=k[1],te=k[0],Yt=-1*k[1]+_t.top,Jt=-1*k[0]+_t.left,Be={};Be[s]=te+"px "+re+"px",Be[o]=new G(Jt,Yt,Nt).toString(),v(rt.elements.preview,Be),At.call(rt,Nt),rt._currentZoom=Nt}function bt(){var k=this,rt=k.elements.preview.getBoundingClientRect(),nt=k.elements.viewport.getBoundingClientRect(),Ct=k.elements.boundary.getBoundingClientRect(),yt=nt.left-Ct.left,_t=nt.top-Ct.top,Nt=yt-(rt.width-nt.width)/2,re=_t-(rt.height-nt.height)/2,te=new G(Nt,re,k._currentZoom);v(k.elements.preview,o,te.toString())}function It(k){var rt=this,nt=rt.elements.canvas,Ct=rt.elements.img,yt=nt.getContext("2d");yt.clearRect(0,0,nt.width,nt.height),nt.width=Ct.width,nt.height=Ct.height;var _t=rt.options.enableOrientation&&k||H(Ct);ot(nt,Ct,_t)}function Tt(k){var rt=this,nt=k.points,Ct=M(nt[0]),yt=M(nt[1]),_t=M(nt[2]),Nt=M(nt[3]),re=_t-Ct,te=Nt-yt,Yt=k.circle,Jt=document.createElement("canvas"),Be=Jt.getContext("2d"),St=k.outputWidth||re,Zt=k.outputHeight||te;Jt.width=St,Jt.height=Zt,k.backgroundColor&&(Be.fillStyle=k.backgroundColor,Be.fillRect(0,0,St,Zt));var Ot=Ct,Wt=yt,ee=re,de=te,le=0,Le=0,cn=St,qe=Zt;return Ct<0&&(Ot=0,le=Math.abs(Ct)/re*St),ee+Ot>rt._originalImageWidth&&(ee=rt._originalImageWidth-Ot,cn=ee/re*St),yt<0&&(Wt=0,Le=Math.abs(yt)/te*Zt),de+Wt>rt._originalImageHeight&&(de=rt._originalImageHeight-Wt,qe=de/te*Zt),Be.drawImage(this.elements.preview,Ot,Wt,ee,de,le,Le,cn,qe),Yt&&(Be.fillStyle="#fff",Be.globalCompositeOperation="destination-in",Be.beginPath(),Be.arc(Jt.width/2,Jt.height/2,Jt.width/2,0,Math.PI*2,!0),Be.closePath(),Be.fill()),Jt}function Kt(k){var rt=k.points,nt=document.createElement("div"),Ct=document.createElement("img"),yt=rt[2]-rt[0],_t=rt[3]-rt[1];return C(nt,"croppie-result"),nt.appendChild(Ct),v(Ct,{left:-1*rt[0]+"px",top:-1*rt[1]+"px"}),Ct.src=k.url,v(nt,{width:yt+"px",height:_t+"px"}),nt}function Xt(k){return Tt.call(this,k).toDataURL(k.format,k.quality)}function ae(k){var rt=this;return new Promise(function(nt){Tt.call(rt,k).toBlob(function(Ct){nt(Ct)},k.format,k.quality)})}function ie(k){this.elements.img.parentNode&&(Array.prototype.forEach.call(this.elements.img.classList,function(rt){k.classList.add(rt)}),this.elements.img.parentNode.replaceChild(k,this.elements.img),this.elements.preview=k),this.elements.img=k}function fe(k,rt){var nt=this,Ct,yt=[],_t=null,Nt=K.call(nt);if(typeof k=="string")Ct=k,k={};else if(Array.isArray(k))yt=k.slice();else{if(typeof k>"u"&&nt.data.url)return it.call(nt),O.call(nt),null;Ct=k.url,yt=k.points||[],_t=typeof k.zoom>"u"?null:k.zoom}return nt.data.bound=!1,nt.data.url=Ct||nt.data.url,nt.data.boundZoom=_t,T(Ct,Nt).then(function(re){if(ie.call(nt,re),yt.length)nt.options.relative&&(yt=[yt[0]*re.naturalWidth/100,yt[1]*re.naturalHeight/100,yt[2]*re.naturalWidth/100,yt[3]*re.naturalHeight/100]);else{var te=V(re),Yt=nt.elements.viewport.getBoundingClientRect(),Jt=Yt.width/Yt.height,Be=te.width/te.height,St,Zt;Be>Jt?(Zt=te.height,St=Zt*Jt):(St=te.width,Zt=te.height/Jt);var Ot=(te.width-St)/2,Wt=(te.height-Zt)/2,ee=Ot+St,de=Wt+Zt;nt.data.points=[Ot,Wt,ee,de]}nt.data.orientation=k.orientation||1,nt.data.points=yt.map(function(le){return parseFloat(le)}),nt.options.useCanvas&&It.call(nt,nt.data.orientation),it.call(nt),O.call(nt),rt&&rt()})}function q(k,rt){return parseFloat(k).toFixed(rt||0)}function se(){var k=this,rt=k.elements.preview.getBoundingClientRect(),nt=k.elements.viewport.getBoundingClientRect(),Ct=nt.left-rt.left,yt=nt.top-rt.top,_t=(nt.width-k.elements.viewport.offsetWidth)/2,Nt=(nt.height-k.elements.viewport.offsetHeight)/2,re=Ct+k.elements.viewport.offsetWidth+_t,te=yt+k.elements.viewport.offsetHeight+Nt,Yt=k._currentZoom;(Yt===1/0||isNaN(Yt))&&(Yt=1);var Jt=k.options.enforceBoundary?0:Number.NEGATIVE_INFINITY;return Ct=Math.max(Jt,Ct/Yt),yt=Math.max(Jt,yt/Yt),re=Math.max(Jt,re/Yt),te=Math.max(Jt,te/Yt),{points:[q(Ct),q(yt),q(re),q(te)],zoom:Yt,orientation:k.data.orientation}}var Re={type:"canvas",format:"png",quality:1},Se=["jpeg","webp","png"];function Gt(k){var rt=this,nt=se.call(rt),Ct=h(w(Re),w(k)),yt=typeof k=="string"?k:Ct.type||"base64",_t=Ct.size||"viewport",Nt=Ct.format,re=Ct.quality,te=Ct.backgroundColor,Yt=typeof Ct.circle=="boolean"?Ct.circle:rt.options.viewport.type==="circle",Jt=rt.elements.viewport.getBoundingClientRect(),Be=Jt.width/Jt.height,St;return _t==="viewport"?(nt.outputWidth=Jt.width,nt.outputHeight=Jt.height):typeof _t=="object"&&(_t.width&&_t.height?(nt.outputWidth=_t.width,nt.outputHeight=_t.height):_t.width?(nt.outputWidth=_t.width,nt.outputHeight=_t.width/Be):_t.height&&(nt.outputWidth=_t.height*Be,nt.outputHeight=_t.height)),Se.indexOf(Nt)>-1&&(nt.format="image/"+Nt,nt.quality=re),nt.circle=Yt,nt.url=rt.data.url,nt.backgroundColor=te,St=new Promise(function(Zt){switch(yt.toLowerCase()){case"rawcanvas":Zt(Tt.call(rt,nt));break;case"canvas":case"base64":Zt(Xt.call(rt,nt));break;case"blob":ae.call(rt,nt).then(Zt);break;default:Zt(Kt.call(rt,nt));break}}),St}function Ee(){it.call(this)}function he(k){if(!this.options.useCanvas||!this.options.enableOrientation)throw"Croppie: Cannot rotate without enableOrientation && EXIF.js included";var rt=this,nt=rt.elements.canvas;if(rt.data.orientation=u(rt.data.orientation,k),ot(nt,rt.elements.img,rt.data.orientation),ht.call(rt,!0),at.call(rt),Math.abs(k)/90%2===1){var Ct=rt._originalImageHeight,yt=rt._originalImageWidth;rt._originalImageWidth=Ct,rt._originalImageHeight=yt}}function ve(){var k=this;k.element.removeChild(k.elements.boundary),_(k.element,"croppie-container"),k.options.enableZoom&&k.element.removeChild(k.elements.zoomerWrap),delete k.elements}if(typeof window<"u"&&window.jQuery){var ge=window.jQuery;ge.fn.croppie=function(k){var rt=typeof k;if(rt==="string"){var nt=Array.prototype.slice.call(arguments,1),Ct=ge(this).data("croppie");return k==="get"?Ct.get():k==="result"?Ct.result.apply(Ct,nt):k==="bind"?Ct.bind.apply(Ct,nt):this.each(function(){var yt=ge(this).data("croppie");if(yt){var _t=yt[k];if(ge.isFunction(_t))_t.apply(yt,nt),k==="destroy"&&ge(this).removeData("croppie");else throw"Croppie "+k+" method not found"}})}else return this.each(function(){var yt=new ke(this,k);yt.$=ge,ge(this).data("croppie",yt)})}}function ke(k,rt){if(k.className.indexOf("croppie-container")>-1)throw new Error("Croppie: Can't initialize croppie more than once");if(this.element=k,this.options=h(w(ke.defaults),rt),this.element.tagName.toLowerCase()==="img"){var nt=this.element;C(nt,"cr-original-image"),S(nt,{"aria-hidden":"true",alt:""});var Ct=document.createElement("div");this.element.parentNode.appendChild(Ct),Ct.appendChild(nt),this.element=Ct,this.options.url=this.options.url||nt.src}if(N.call(this),this.options.url){var yt={url:this.options.url,points:this.options.points};delete this.options.url,delete this.options.points,fe.call(this,yt)}}return ke.defaults={viewport:{width:100,height:100,type:"square"},boundary:{},orientationControls:{enabled:!0,leftClass:"",rightClass:""},resizeControls:{width:!0,height:!0},customClass:"",showZoomer:!0,enableZoom:!0,enableResize:!1,mouseWheelZoom:!0,enableExif:!1,enforceBoundary:!0,enableOrientation:!1,enableKeyMovement:!0,update:function(){}},ke.globals={translate:"translate3d"},h(ke.prototype,{bind:function(k,rt){return fe.call(this,k,rt)},get:function(){var k=se.call(this),rt=k.points;return this.options.relative&&(rt[0]/=this.elements.img.naturalWidth/100,rt[1]/=this.elements.img.naturalHeight/100,rt[2]/=this.elements.img.naturalWidth/100,rt[3]/=this.elements.img.naturalHeight/100),k},result:function(k){return Gt.call(this,k)},refresh:function(){return Ee.call(this)},setZoom:function(k){At.call(this,k),y(this.elements.zoomer)},rotate:function(k){he.call(this,k)},destroy:function(){return ve.call(this)}}),ke})})(xc,xc.exports)),xc.exports}var WH=VH();const qH=KH(WH);function gu(e){return e+.5|0}const yo=(e,t,n)=>Math.max(Math.min(e,n),t);function Cc(e){return yo(gu(e*2.55),0,255)}function Uo(e){return yo(gu(e*255),0,255)}function Es(e){return yo(gu(e/2.55)/100,0,1)}function AB(e){return yo(gu(e*100),0,100)}const Zr={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},Xg=[..."0123456789ABCDEF"],zH=e=>Xg[e&15],GH=e=>Xg[(e&240)>>4]+Xg[e&15],vf=e=>(e&240)>>4===(e&15),XH=e=>vf(e.r)&&vf(e.g)&&vf(e.b)&&vf(e.a);function $H(e){var t=e.length,n;return e[0]==="#"&&(t===4||t===5?n={r:255&Zr[e[1]]*17,g:255&Zr[e[2]]*17,b:255&Zr[e[3]]*17,a:t===5?Zr[e[4]]*17:255}:(t===7||t===9)&&(n={r:Zr[e[1]]<<4|Zr[e[2]],g:Zr[e[3]]<<4|Zr[e[4]],b:Zr[e[5]]<<4|Zr[e[6]],a:t===9?Zr[e[7]]<<4|Zr[e[8]]:255})),n}const YH=(e,t)=>e<255?t(e):"";function JH(e){var t=XH(e)?zH:GH;return e?"#"+t(e.r)+t(e.g)+t(e.b)+YH(e.a,t):void 0}const ZH=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function tC(e,t,n){const A=t*Math.min(n,1-n),r=(i,s=(i+e/30)%12)=>n-A*Math.max(Math.min(s-3,9-s,1),-1);return[r(0),r(8),r(4)]}function tP(e,t,n){const A=(r,i=(r+e/60)%6)=>n-n*t*Math.max(Math.min(i,4-i,1),0);return[A(5),A(3),A(1)]}function eP(e,t,n){const A=tC(e,1,.5);let r;for(t+n>1&&(r=1/(t+n),t*=r,n*=r),r=0;r<3;r++)A[r]*=1-t-n,A[r]+=t;return A}function nP(e,t,n,A,r){return e===r?(t-n)/A+(t<n?6:0):t===r?(n-e)/A+2:(e-t)/A+4}function ow(e){const n=e.r/255,A=e.g/255,r=e.b/255,i=Math.max(n,A,r),s=Math.min(n,A,r),o=(i+s)/2;let a,l,u;return i!==s&&(u=i-s,l=o>.5?u/(2-i-s):u/(i+s),a=nP(n,A,r,u,i),a=a*60+.5),[a|0,l||0,o]}function aw(e,t,n,A){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,A)).map(Uo)}function lw(e,t,n){return aw(tC,e,t,n)}function AP(e,t,n){return aw(eP,e,t,n)}function rP(e,t,n){return aw(tP,e,t,n)}function eC(e){return(e%360+360)%360}function iP(e){const t=ZH.exec(e);let n=255,A;if(!t)return;t[5]!==A&&(n=t[6]?Cc(+t[5]):Uo(+t[5]));const r=eC(+t[2]),i=+t[3]/100,s=+t[4]/100;return t[1]==="hwb"?A=AP(r,i,s):t[1]==="hsv"?A=rP(r,i,s):A=lw(r,i,s),{r:A[0],g:A[1],b:A[2],a:n}}function sP(e,t){var n=ow(e);n[0]=eC(n[0]+t),n=lw(n),e.r=n[0],e.g=n[1],e.b=n[2]}function oP(e){if(!e)return;const t=ow(e),n=t[0],A=AB(t[1]),r=AB(t[2]);return e.a<255?`hsla(${n}, ${A}%, ${r}%, ${Es(e.a)})`:`hsl(${n}, ${A}%, ${r}%)`}const rB={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},iB={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function aP(){const e={},t=Object.keys(iB),n=Object.keys(rB);let A,r,i,s,o;for(A=0;A<t.length;A++){for(s=o=t[A],r=0;r<n.length;r++)i=n[r],o=o.replace(i,rB[i]);i=parseInt(iB[s],16),e[o]=[i>>16&255,i>>8&255,i&255]}return e}let yf;function lP(e){yf||(yf=aP(),yf.transparent=[0,0,0,0]);const t=yf[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}const cP=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function uP(e){const t=cP.exec(e);let n=255,A,r,i;if(t){if(t[7]!==A){const s=+t[7];n=t[8]?Cc(s):yo(s*255,0,255)}return A=+t[1],r=+t[3],i=+t[5],A=255&(t[2]?Cc(A):yo(A,0,255)),r=255&(t[4]?Cc(r):yo(r,0,255)),i=255&(t[6]?Cc(i):yo(i,0,255)),{r:A,g:r,b:i,a:n}}}function fP(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${Es(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}const kp=e=>e<=.0031308?e*12.92:Math.pow(e,1/2.4)*1.055-.055,al=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function hP(e,t,n){const A=al(Es(e.r)),r=al(Es(e.g)),i=al(Es(e.b));return{r:Uo(kp(A+n*(al(Es(t.r))-A))),g:Uo(kp(r+n*(al(Es(t.g))-r))),b:Uo(kp(i+n*(al(Es(t.b))-i))),a:e.a+n*(t.a-e.a)}}function xf(e,t,n){if(e){let A=ow(e);A[t]=Math.max(0,Math.min(A[t]+A[t]*n,t===0?360:1)),A=lw(A),e.r=A[0],e.g=A[1],e.b=A[2]}}function nC(e,t){return e&&Object.assign(t||{},e)}function sB(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=Uo(e[3]))):(t=nC(e,{r:0,g:0,b:0,a:1}),t.a=Uo(t.a)),t}function dP(e){return e.charAt(0)==="r"?uP(e):iP(e)}class Gc{constructor(t){if(t instanceof Gc)return t;const n=typeof t;let A;n==="object"?A=sB(t):n==="string"&&(A=$H(t)||lP(t)||dP(t)),this._rgb=A,this._valid=!!A}get valid(){return this._valid}get rgb(){var t=nC(this._rgb);return t&&(t.a=Es(t.a)),t}set rgb(t){this._rgb=sB(t)}rgbString(){return this._valid?fP(this._rgb):void 0}hexString(){return this._valid?JH(this._rgb):void 0}hslString(){return this._valid?oP(this._rgb):void 0}mix(t,n){if(t){const A=this.rgb,r=t.rgb;let i;const s=n===i?.5:n,o=2*s-1,a=A.a-r.a,l=((o*a===-1?o:(o+a)/(1+o*a))+1)/2;i=1-l,A.r=255&l*A.r+i*r.r+.5,A.g=255&l*A.g+i*r.g+.5,A.b=255&l*A.b+i*r.b+.5,A.a=s*A.a+(1-s)*r.a,this.rgb=A}return this}interpolate(t,n){return t&&(this._rgb=hP(this._rgb,t._rgb,n)),this}clone(){return new Gc(this.rgb)}alpha(t){return this._rgb.a=Uo(t),this}clearer(t){const n=this._rgb;return n.a*=1-t,this}greyscale(){const t=this._rgb,n=gu(t.r*.3+t.g*.59+t.b*.11);return t.r=t.g=t.b=n,this}opaquer(t){const n=this._rgb;return n.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return xf(this._rgb,2,t),this}darken(t){return xf(this._rgb,2,-t),this}saturate(t){return xf(this._rgb,1,t),this}desaturate(t){return xf(this._rgb,1,-t),this}rotate(t){return sP(this._rgb,t),this}}function xs(){}const pP=(()=>{let e=0;return()=>e++})();function $e(e){return e==null}function Tn(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return t.slice(0,7)==="[object"&&t.slice(-6)==="Array]"}function Ze(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}function Vn(e){return(typeof e=="number"||e instanceof Number)&&isFinite(+e)}function kr(e,t){return Vn(e)?e:t}function Ve(e,t){return typeof e>"u"?t:e}const gP=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:+e/t,AC=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*t:+e;function yn(e,t,n){if(e&&typeof e.call=="function")return e.apply(n,t)}function dn(e,t,n,A){let r,i,s;if(Tn(e))for(i=e.length,r=0;r<i;r++)t.call(n,e[r],r);else if(Ze(e))for(s=Object.keys(e),i=s.length,r=0;r<i;r++)t.call(n,e[s[r]],s[r])}function Fh(e,t){let n,A,r,i;if(!e||!t||e.length!==t.length)return!1;for(n=0,A=e.length;n<A;++n)if(r=e[n],i=t[n],r.datasetIndex!==i.datasetIndex||r.index!==i.index)return!1;return!0}function _h(e){if(Tn(e))return e.map(_h);if(Ze(e)){const t=Object.create(null),n=Object.keys(e),A=n.length;let r=0;for(;r<A;++r)t[n[r]]=_h(e[n[r]]);return t}return e}function rC(e){return["__proto__","prototype","constructor"].indexOf(e)===-1}function wP(e,t,n,A){if(!rC(e))return;const r=t[e],i=n[e];Ze(r)&&Ze(i)?Xc(r,i,A):t[e]=_h(i)}function Xc(e,t,n){const A=Tn(t)?t:[t],r=A.length;if(!Ze(e))return e;n=n||{};const i=n.merger||wP;let s;for(let o=0;o<r;++o){if(s=A[o],!Ze(s))continue;const a=Object.keys(s);for(let l=0,u=a.length;l<u;++l)i(a[l],e,s,n)}return e}function Hc(e,t){return Xc(e,t,{merger:mP})}function mP(e,t,n){if(!rC(e))return;const A=t[e],r=n[e];Ze(A)&&Ze(r)?Hc(A,r):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=_h(r))}const oB={"":e=>e,x:e=>e.x,y:e=>e.y};function BP(e){const t=e.split("."),n=[];let A="";for(const r of t)A+=r,A.endsWith("\\")?A=A.slice(0,-1)+".":(n.push(A),A="");return n}function bP(e){const t=BP(e);return n=>{for(const A of t){if(A==="")break;n=n&&n[A]}return n}}function To(e,t){return(oB[t]||(oB[t]=bP(t)))(e)}function cw(e){return e.charAt(0).toUpperCase()+e.slice(1)}const $c=e=>typeof e<"u",No=e=>typeof e=="function",aB=(e,t)=>{if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0};function vP(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}const sn=Math.PI,En=2*sn,yP=En+sn,Eh=Number.POSITIVE_INFINITY,xP=sn/180,eA=sn/2,na=sn/4,lB=sn*2/3,xo=Math.log10,$i=Math.sign;function Pc(e,t,n){return Math.abs(e-t)<n}function cB(e){const t=Math.round(e);e=Pc(e,t,e/1e3)?t:e;const n=Math.pow(10,Math.floor(xo(e))),A=e/n;return(A<=1?1:A<=2?2:A<=5?5:10)*n}function CP(e){const t=[],n=Math.sqrt(e);let A;for(A=1;A<n;A++)e%A===0&&(t.push(A),t.push(e/A));return n===(n|0)&&t.push(n),t.sort((r,i)=>r-i).pop(),t}function FP(e){return typeof e=="symbol"||typeof e=="object"&&e!==null&&!(Symbol.toPrimitive in e||"toString"in e||"valueOf"in e)}function Sl(e){return!FP(e)&&!isNaN(parseFloat(e))&&isFinite(e)}function _P(e,t){const n=Math.round(e);return n-t<=e&&n+t>=e}function iC(e,t,n){let A,r,i;for(A=0,r=e.length;A<r;A++)i=e[A][n],isNaN(i)||(t.min=Math.min(t.min,i),t.max=Math.max(t.max,i))}function xi(e){return e*(sn/180)}function uw(e){return e*(180/sn)}function uB(e){if(!Vn(e))return;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n++;return n}function sC(e,t){const n=t.x-e.x,A=t.y-e.y,r=Math.sqrt(n*n+A*A);let i=Math.atan2(A,n);return i<-.5*sn&&(i+=En),{angle:i,distance:r}}function $g(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function EP(e,t){return(e-t+yP)%En-sn}function jA(e){return(e%En+En)%En}function Yc(e,t,n,A){const r=jA(e),i=jA(t),s=jA(n),o=jA(i-r),a=jA(s-r),l=jA(r-i),u=jA(r-s);return r===i||r===s||A&&i===s||o>a&&l<u}function bA(e,t,n){return Math.max(t,Math.min(n,e))}function UP(e){return bA(e,-32768,32767)}function Us(e,t,n,A=1e-6){return e>=Math.min(t,n)-A&&e<=Math.max(t,n)+A}function fw(e,t,n){n=n||(s=>e[s]<t);let A=e.length-1,r=0,i;for(;A-r>1;)i=r+A>>1,n(i)?r=i:A=i;return{lo:r,hi:A}}const Qs=(e,t,n,A)=>fw(e,n,A?r=>{const i=e[r][t];return i<n||i===n&&e[r+1][t]===n}:r=>e[r][t]<n),QP=(e,t,n)=>fw(e,n,A=>e[A][t]>=n);function SP(e,t,n){let A=0,r=e.length;for(;A<r&&e[A]<t;)A++;for(;r>A&&e[r-1]>n;)r--;return A>0||r<e.length?e.slice(A,r):e}const oC=["push","pop","shift","splice","unshift"];function LP(e,t){if(e._chartjs){e._chartjs.listeners.push(t);return}Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),oC.forEach(n=>{const A="_onData"+cw(n),r=e[n];Object.defineProperty(e,n,{configurable:!0,enumerable:!1,value(...i){const s=r.apply(this,i);return e._chartjs.listeners.forEach(o=>{typeof o[A]=="function"&&o[A](...i)}),s}})})}function fB(e,t){const n=e._chartjs;if(!n)return;const A=n.listeners,r=A.indexOf(t);r!==-1&&A.splice(r,1),!(A.length>0)&&(oC.forEach(i=>{delete e[i]}),delete e._chartjs)}function aC(e){const t=new Set(e);return t.size===e.length?e:Array.from(t)}const lC=(function(){return typeof window>"u"?function(e){return e()}:window.requestAnimationFrame})();function cC(e,t){let n=[],A=!1;return function(...r){n=r,A||(A=!0,lC.call(window,()=>{A=!1,e.apply(t,n)}))}}function IP(e,t){let n;return function(...A){return t?(clearTimeout(n),n=setTimeout(e,t,A)):e.apply(this,A),t}}const hw=e=>e==="start"?"left":e==="end"?"right":"center",RA=(e,t,n)=>e==="start"?t:e==="end"?n:(t+n)/2,kP=(e,t,n,A)=>e===(A?"left":"right")?n:e==="center"?(t+n)/2:t;function uC(e,t,n){const A=t.length;let r=0,i=A;if(e._sorted){const{iScale:s,vScale:o,_parsed:a}=e,l=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null,u=s.axis,{min:h,max:w,minDefined:p,maxDefined:y}=s.getUserBounds();if(p){if(r=Math.min(Qs(a,u,h).lo,n?A:Qs(t,u,s.getPixelForValue(h)).lo),l){const v=a.slice(0,r+1).reverse().findIndex(C=>!$e(C[o.axis]));r-=Math.max(0,v)}r=bA(r,0,A-1)}if(y){let v=Math.max(Qs(a,s.axis,w,!0).hi+1,n?0:Qs(t,u,s.getPixelForValue(w),!0).hi+1);if(l){const C=a.slice(v-1).findIndex(_=>!$e(_[o.axis]));v+=Math.max(0,C)}i=bA(v,r,A)-r}else i=A-r}return{start:r,count:i}}function fC(e){const{xScale:t,yScale:n,_scaleRanges:A}=e,r={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!A)return e._scaleRanges=r,!0;const i=A.xmin!==t.min||A.xmax!==t.max||A.ymin!==n.min||A.ymax!==n.max;return Object.assign(A,r),i}const Cf=e=>e===0||e===1,hB=(e,t,n)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-t)*En/n)),dB=(e,t,n)=>Math.pow(2,-10*e)*Math.sin((e-t)*En/n)+1,Mc={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*eA)+1,easeOutSine:e=>Math.sin(e*eA),easeInOutSine:e=>-.5*(Math.cos(sn*e)-1),easeInExpo:e=>e===0?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>e===1?1:-Math.pow(2,-10*e)+1,easeInOutExpo:e=>Cf(e)?e:e<.5?.5*Math.pow(2,10*(e*2-1)):.5*(-Math.pow(2,-10*(e*2-1))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>Cf(e)?e:hB(e,.075,.3),easeOutElastic:e=>Cf(e)?e:dB(e,.075,.3),easeInOutElastic(e){return Cf(e)?e:e<.5?.5*hB(e*2,.1125,.45):.5+.5*dB(e*2-1,.1125,.45)},easeInBack(e){return e*e*((1.70158+1)*e-1.70158)},easeOutBack(e){return(e-=1)*e*((1.70158+1)*e+1.70158)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-Mc.easeOutBounce(1-e),easeOutBounce(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:e=>e<.5?Mc.easeInBounce(e*2)*.5:Mc.easeOutBounce(e*2-1)*.5+.5};function dw(e){if(e&&typeof e=="object"){const t=e.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function pB(e){return dw(e)?e:new Gc(e)}function Tp(e){return dw(e)?e:new Gc(e).saturate(.5).darken(.1).hexString()}const TP=["x","y","borderWidth","radius","tension"],NP=["color","borderColor","backgroundColor"];function OP(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>t!=="onProgress"&&t!=="onComplete"&&t!=="fn"}),e.set("animations",{colors:{type:"color",properties:NP},numbers:{type:"number",properties:TP}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>t|0}}}})}function HP(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const gB=new Map;function PP(e,t){t=t||{};const n=e+JSON.stringify(t);let A=gB.get(n);return A||(A=new Intl.NumberFormat(e,t),gB.set(n,A)),A}function wu(e,t,n){return PP(t,n).format(e)}const hC={values(e){return Tn(e)?e:""+e},numeric(e,t,n){if(e===0)return"0";const A=this.chart.options.locale;let r,i=e;if(n.length>1){const l=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(l<1e-4||l>1e15)&&(r="scientific"),i=MP(e,n)}const s=xo(Math.abs(i)),o=isNaN(s)?1:Math.max(Math.min(-1*Math.floor(s),20),0),a={notation:r,minimumFractionDigits:o,maximumFractionDigits:o};return Object.assign(a,this.options.ticks.format),wu(e,A,a)},logarithmic(e,t,n){if(e===0)return"0";const A=n[t].significand||e/Math.pow(10,Math.floor(xo(e)));return[1,2,3,5,10,15].includes(A)||t>.8*n.length?hC.numeric.call(this,e,t,n):""}};function MP(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e)),n}var ld={formatters:hC};function DP(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,n)=>n.lineWidth,tickColor:(t,n)=>n.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:ld.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&t!=="callback"&&t!=="parser",_indexable:t=>t!=="borderDash"&&t!=="tickBorderDash"&&t!=="dash"}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:t=>t!=="backdropPadding"&&t!=="callback",_indexable:t=>t!=="backdropPadding"})}const Na=Object.create(null),Yg=Object.create(null);function Dc(e,t){if(!t)return e;const n=t.split(".");for(let A=0,r=n.length;A<r;++A){const i=n[A];e=e[i]||(e[i]=Object.create(null))}return e}function Np(e,t,n){return typeof t=="string"?Xc(Dc(e,t),n):Xc(Dc(e,""),t)}class RP{constructor(t,n){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=A=>A.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(A,r)=>Tp(r.backgroundColor),this.hoverBorderColor=(A,r)=>Tp(r.borderColor),this.hoverColor=(A,r)=>Tp(r.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(n)}set(t,n){return Np(this,t,n)}get(t){return Dc(this,t)}describe(t,n){return Np(Yg,t,n)}override(t,n){return Np(Na,t,n)}route(t,n,A,r){const i=Dc(this,t),s=Dc(this,A),o="_"+n;Object.defineProperties(i,{[o]:{value:i[n],writable:!0},[n]:{enumerable:!0,get(){const a=this[o],l=s[r];return Ze(a)?Object.assign({},l,a):Ve(a,l)},set(a){this[o]=a}}})}apply(t){t.forEach(n=>n(this))}}var Nn=new RP({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[OP,HP,DP]);function KP(e){return!e||$e(e.size)||$e(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function Uh(e,t,n,A,r){let i=t[r];return i||(i=t[r]=e.measureText(r).width,n.push(r)),i>A&&(A=i),A}function jP(e,t,n,A){A=A||{};let r=A.data=A.data||{},i=A.garbageCollect=A.garbageCollect||[];A.font!==t&&(r=A.data={},i=A.garbageCollect=[],A.font=t),e.save(),e.font=t;let s=0;const o=n.length;let a,l,u,h,w;for(a=0;a<o;a++)if(h=n[a],h!=null&&!Tn(h))s=Uh(e,r,i,s,h);else if(Tn(h))for(l=0,u=h.length;l<u;l++)w=h[l],w!=null&&!Tn(w)&&(s=Uh(e,r,i,s,w));e.restore();const p=i.length/2;if(p>n.length){for(a=0;a<p;a++)delete r[i[a]];i.splice(0,p)}return s}function Aa(e,t,n){const A=e.currentDevicePixelRatio,r=n!==0?Math.max(n/2,.5):0;return Math.round((t-r)*A)/A+r}function wB(e,t){!t&&!e||(t=t||e.getContext("2d"),t.save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore())}function Jg(e,t,n,A){dC(e,t,n,A,null)}function dC(e,t,n,A,r){let i,s,o,a,l,u,h,w;const p=t.pointStyle,y=t.rotation,v=t.radius;let C=(y||0)*xP;if(p&&typeof p=="object"&&(i=p.toString(),i==="[object HTMLImageElement]"||i==="[object HTMLCanvasElement]")){e.save(),e.translate(n,A),e.rotate(C),e.drawImage(p,-p.width/2,-p.height/2,p.width,p.height),e.restore();return}if(!(isNaN(v)||v<=0)){switch(e.beginPath(),p){default:r?e.ellipse(n,A,r/2,v,0,0,En):e.arc(n,A,v,0,En),e.closePath();break;case"triangle":u=r?r/2:v,e.moveTo(n+Math.sin(C)*u,A-Math.cos(C)*v),C+=lB,e.lineTo(n+Math.sin(C)*u,A-Math.cos(C)*v),C+=lB,e.lineTo(n+Math.sin(C)*u,A-Math.cos(C)*v),e.closePath();break;case"rectRounded":l=v*.516,a=v-l,s=Math.cos(C+na)*a,h=Math.cos(C+na)*(r?r/2-l:a),o=Math.sin(C+na)*a,w=Math.sin(C+na)*(r?r/2-l:a),e.arc(n-h,A-o,l,C-sn,C-eA),e.arc(n+w,A-s,l,C-eA,C),e.arc(n+h,A+o,l,C,C+eA),e.arc(n-w,A+s,l,C+eA,C+sn),e.closePath();break;case"rect":if(!y){a=Math.SQRT1_2*v,u=r?r/2:a,e.rect(n-u,A-a,2*u,2*a);break}C+=na;case"rectRot":h=Math.cos(C)*(r?r/2:v),s=Math.cos(C)*v,o=Math.sin(C)*v,w=Math.sin(C)*(r?r/2:v),e.moveTo(n-h,A-o),e.lineTo(n+w,A-s),e.lineTo(n+h,A+o),e.lineTo(n-w,A+s),e.closePath();break;case"crossRot":C+=na;case"cross":h=Math.cos(C)*(r?r/2:v),s=Math.cos(C)*v,o=Math.sin(C)*v,w=Math.sin(C)*(r?r/2:v),e.moveTo(n-h,A-o),e.lineTo(n+h,A+o),e.moveTo(n+w,A-s),e.lineTo(n-w,A+s);break;case"star":h=Math.cos(C)*(r?r/2:v),s=Math.cos(C)*v,o=Math.sin(C)*v,w=Math.sin(C)*(r?r/2:v),e.moveTo(n-h,A-o),e.lineTo(n+h,A+o),e.moveTo(n+w,A-s),e.lineTo(n-w,A+s),C+=na,h=Math.cos(C)*(r?r/2:v),s=Math.cos(C)*v,o=Math.sin(C)*v,w=Math.sin(C)*(r?r/2:v),e.moveTo(n-h,A-o),e.lineTo(n+h,A+o),e.moveTo(n+w,A-s),e.lineTo(n-w,A+s);break;case"line":s=r?r/2:Math.cos(C)*v,o=Math.sin(C)*v,e.moveTo(n-s,A-o),e.lineTo(n+s,A+o);break;case"dash":e.moveTo(n,A),e.lineTo(n+Math.cos(C)*(r?r/2:v),A+Math.sin(C)*v);break;case!1:e.closePath();break}e.fill(),t.borderWidth>0&&e.stroke()}}function Ss(e,t,n){return n=n||.5,!t||e&&e.x>t.left-n&&e.x<t.right+n&&e.y>t.top-n&&e.y<t.bottom+n}function cd(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function ud(e){e.restore()}function VP(e,t,n,A,r){if(!t)return e.lineTo(n.x,n.y);if(r==="middle"){const i=(t.x+n.x)/2;e.lineTo(i,t.y),e.lineTo(i,n.y)}else r==="after"!=!!A?e.lineTo(t.x,n.y):e.lineTo(n.x,t.y);e.lineTo(n.x,n.y)}function WP(e,t,n,A){if(!t)return e.lineTo(n.x,n.y);e.bezierCurveTo(A?t.cp1x:t.cp2x,A?t.cp1y:t.cp2y,A?n.cp2x:n.cp1x,A?n.cp2y:n.cp1y,n.x,n.y)}function qP(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]),$e(t.rotation)||e.rotate(t.rotation),t.color&&(e.fillStyle=t.color),t.textAlign&&(e.textAlign=t.textAlign),t.textBaseline&&(e.textBaseline=t.textBaseline)}function zP(e,t,n,A,r){if(r.strikethrough||r.underline){const i=e.measureText(A),s=t-i.actualBoundingBoxLeft,o=t+i.actualBoundingBoxRight,a=n-i.actualBoundingBoxAscent,l=n+i.actualBoundingBoxDescent,u=r.strikethrough?(a+l)/2:l;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=r.decorationWidth||2,e.moveTo(s,u),e.lineTo(o,u),e.stroke()}}function GP(e,t){const n=e.fillStyle;e.fillStyle=t.color,e.fillRect(t.left,t.top,t.width,t.height),e.fillStyle=n}function Oa(e,t,n,A,r,i={}){const s=Tn(t)?t:[t],o=i.strokeWidth>0&&i.strokeColor!=="";let a,l;for(e.save(),e.font=r.string,qP(e,i),a=0;a<s.length;++a)l=s[a],i.backdrop&&GP(e,i.backdrop),o&&(i.strokeColor&&(e.strokeStyle=i.strokeColor),$e(i.strokeWidth)||(e.lineWidth=i.strokeWidth),e.strokeText(l,n,A,i.maxWidth)),e.fillText(l,n,A,i.maxWidth),zP(e,n,A,l,i),A+=Number(r.lineHeight);e.restore()}function Jc(e,t){const{x:n,y:A,w:r,h:i,radius:s}=t;e.arc(n+s.topLeft,A+s.topLeft,s.topLeft,1.5*sn,sn,!0),e.lineTo(n,A+i-s.bottomLeft),e.arc(n+s.bottomLeft,A+i-s.bottomLeft,s.bottomLeft,sn,eA,!0),e.lineTo(n+r-s.bottomRight,A+i),e.arc(n+r-s.bottomRight,A+i-s.bottomRight,s.bottomRight,eA,0,!0),e.lineTo(n+r,A+s.topRight),e.arc(n+r-s.topRight,A+s.topRight,s.topRight,0,-eA,!0),e.lineTo(n+s.topLeft,A)}const XP=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,$P=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function YP(e,t){const n=(""+e).match(XP);if(!n||n[1]==="normal")return t*1.2;switch(e=+n[2],n[3]){case"px":return e;case"%":e/=100;break}return t*e}const JP=e=>+e||0;function pw(e,t){const n={},A=Ze(t),r=A?Object.keys(t):t,i=Ze(e)?A?s=>Ve(e[s],e[t[s]]):s=>e[s]:()=>e;for(const s of r)n[s]=JP(i(s));return n}function pC(e){return pw(e,{top:"y",right:"x",bottom:"y",left:"x"})}function Fa(e){return pw(e,["topLeft","topRight","bottomLeft","bottomRight"])}function zA(e){const t=pC(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function gA(e,t){e=e||{},t=t||Nn.font;let n=Ve(e.size,t.size);typeof n=="string"&&(n=parseInt(n,10));let A=Ve(e.style,t.style);A&&!(""+A).match($P)&&(console.warn('Invalid font style specified: "'+A+'"'),A=void 0);const r={family:Ve(e.family,t.family),lineHeight:YP(Ve(e.lineHeight,t.lineHeight),n),size:n,style:A,weight:Ve(e.weight,t.weight),string:""};return r.string=KP(r),r}function Fc(e,t,n,A){let r,i,s;for(r=0,i=e.length;r<i;++r)if(s=e[r],s!==void 0&&s!==void 0)return s}function ZP(e,t,n){const{min:A,max:r}=e,i=AC(t,(r-A)/2),s=(o,a)=>n&&o===0?0:o+a;return{min:s(A,-Math.abs(i)),max:s(r,i)}}function Ho(e,t){return Object.assign(Object.create(e),t)}function gw(e,t=[""],n,A,r=()=>e[0]){const i=n||e;typeof A>"u"&&(A=BC("_fallback",e));const s={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:i,_fallback:A,_getTarget:r,override:o=>gw([o,...e],t,i,A)};return new Proxy(s,{deleteProperty(o,a){return delete o[a],delete o._keys,delete e[0][a],!0},get(o,a){return wC(o,a,()=>o8(a,t,e,o))},getOwnPropertyDescriptor(o,a){return Reflect.getOwnPropertyDescriptor(o._scopes[0],a)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(o,a){return BB(o).includes(a)},ownKeys(o){return BB(o)},set(o,a,l){const u=o._storage||(o._storage=r());return o[a]=u[a]=l,delete o._keys,!0}})}function Ll(e,t,n,A){const r={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:gC(e,A),setContext:i=>Ll(e,i,n,A),override:i=>Ll(e.override(i),t,n,A)};return new Proxy(r,{deleteProperty(i,s){return delete i[s],delete e[s],!0},get(i,s,o){return wC(i,s,()=>e8(i,s,o))},getOwnPropertyDescriptor(i,s){return i._descriptors.allKeys?Reflect.has(e,s)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,s)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(i,s){return Reflect.has(e,s)},ownKeys(){return Reflect.ownKeys(e)},set(i,s,o){return e[s]=o,delete i[s],!0}})}function gC(e,t={scriptable:!0,indexable:!0}){const{_scriptable:n=t.scriptable,_indexable:A=t.indexable,_allKeys:r=t.allKeys}=e;return{allKeys:r,scriptable:n,indexable:A,isScriptable:No(n)?n:()=>n,isIndexable:No(A)?A:()=>A}}const t8=(e,t)=>e?e+cw(t):t,ww=(e,t)=>Ze(t)&&e!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function wC(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t)||t==="constructor")return e[t];const A=n();return e[t]=A,A}function e8(e,t,n){const{_proxy:A,_context:r,_subProxy:i,_descriptors:s}=e;let o=A[t];return No(o)&&s.isScriptable(t)&&(o=n8(t,o,e,n)),Tn(o)&&o.length&&(o=A8(t,o,e,s.isIndexable)),ww(t,o)&&(o=Ll(o,r,i&&i[t],s)),o}function n8(e,t,n,A){const{_proxy:r,_context:i,_subProxy:s,_stack:o}=n;if(o.has(e))throw new Error("Recursion detected: "+Array.from(o).join("->")+"->"+e);o.add(e);let a=t(i,s||A);return o.delete(e),ww(e,a)&&(a=mw(r._scopes,r,e,a)),a}function A8(e,t,n,A){const{_proxy:r,_context:i,_subProxy:s,_descriptors:o}=n;if(typeof i.index<"u"&&A(e))return t[i.index%t.length];if(Ze(t[0])){const a=t,l=r._scopes.filter(u=>u!==a);t=[];for(const u of a){const h=mw(l,r,e,u);t.push(Ll(h,i,s&&s[e],o))}}return t}function mC(e,t,n){return No(e)?e(t,n):e}const r8=(e,t)=>e===!0?t:typeof e=="string"?To(t,e):void 0;function i8(e,t,n,A,r){for(const i of t){const s=r8(n,i);if(s){e.add(s);const o=mC(s._fallback,n,r);if(typeof o<"u"&&o!==n&&o!==A)return o}else if(s===!1&&typeof A<"u"&&n!==A)return null}return!1}function mw(e,t,n,A){const r=t._rootScopes,i=mC(t._fallback,n,A),s=[...e,...r],o=new Set;o.add(A);let a=mB(o,s,n,i||n,A);return a===null||typeof i<"u"&&i!==n&&(a=mB(o,s,i,a,A),a===null)?!1:gw(Array.from(o),[""],r,i,()=>s8(t,n,A))}function mB(e,t,n,A,r){for(;n;)n=i8(e,t,n,A,r);return n}function s8(e,t,n){const A=e._getTarget();t in A||(A[t]={});const r=A[t];return Tn(r)&&Ze(n)?n:r||{}}function o8(e,t,n,A){let r;for(const i of t)if(r=BC(t8(i,e),n),typeof r<"u")return ww(e,r)?mw(n,A,e,r):r}function BC(e,t){for(const n of t){if(!n)continue;const A=n[e];if(typeof A<"u")return A}}function BB(e){let t=e._keys;return t||(t=e._keys=a8(e._scopes)),t}function a8(e){const t=new Set;for(const n of e)for(const A of Object.keys(n).filter(r=>!r.startsWith("_")))t.add(A);return Array.from(t)}function bC(e,t,n,A){const{iScale:r}=e,{key:i="r"}=this._parsing,s=new Array(A);let o,a,l,u;for(o=0,a=A;o<a;++o)l=o+n,u=t[l],s[o]={r:r.parse(To(u,i),l)};return s}const l8=Number.EPSILON||1e-14,Il=(e,t)=>t<e.length&&!e[t].skip&&e[t],vC=e=>e==="x"?"y":"x";function c8(e,t,n,A){const r=e.skip?t:e,i=t,s=n.skip?t:n,o=$g(i,r),a=$g(s,i);let l=o/(o+a),u=a/(o+a);l=isNaN(l)?0:l,u=isNaN(u)?0:u;const h=A*l,w=A*u;return{previous:{x:i.x-h*(s.x-r.x),y:i.y-h*(s.y-r.y)},next:{x:i.x+w*(s.x-r.x),y:i.y+w*(s.y-r.y)}}}function u8(e,t,n){const A=e.length;let r,i,s,o,a,l=Il(e,0);for(let u=0;u<A-1;++u)if(a=l,l=Il(e,u+1),!(!a||!l)){if(Pc(t[u],0,l8)){n[u]=n[u+1]=0;continue}r=n[u]/t[u],i=n[u+1]/t[u],o=Math.pow(r,2)+Math.pow(i,2),!(o<=9)&&(s=3/Math.sqrt(o),n[u]=r*s*t[u],n[u+1]=i*s*t[u])}}function f8(e,t,n="x"){const A=vC(n),r=e.length;let i,s,o,a=Il(e,0);for(let l=0;l<r;++l){if(s=o,o=a,a=Il(e,l+1),!o)continue;const u=o[n],h=o[A];s&&(i=(u-s[n])/3,o[`cp1${n}`]=u-i,o[`cp1${A}`]=h-i*t[l]),a&&(i=(a[n]-u)/3,o[`cp2${n}`]=u+i,o[`cp2${A}`]=h+i*t[l])}}function h8(e,t="x"){const n=vC(t),A=e.length,r=Array(A).fill(0),i=Array(A);let s,o,a,l=Il(e,0);for(s=0;s<A;++s)if(o=a,a=l,l=Il(e,s+1),!!a){if(l){const u=l[t]-a[t];r[s]=u!==0?(l[n]-a[n])/u:0}i[s]=o?l?$i(r[s-1])!==$i(r[s])?0:(r[s-1]+r[s])/2:r[s-1]:r[s]}u8(e,r,i),f8(e,i,t)}function Ff(e,t,n){return Math.max(Math.min(e,n),t)}function d8(e,t){let n,A,r,i,s,o=Ss(e[0],t);for(n=0,A=e.length;n<A;++n)s=i,i=o,o=n<A-1&&Ss(e[n+1],t),i&&(r=e[n],s&&(r.cp1x=Ff(r.cp1x,t.left,t.right),r.cp1y=Ff(r.cp1y,t.top,t.bottom)),o&&(r.cp2x=Ff(r.cp2x,t.left,t.right),r.cp2y=Ff(r.cp2y,t.top,t.bottom)))}function p8(e,t,n,A,r){let i,s,o,a;if(t.spanGaps&&(e=e.filter(l=>!l.skip)),t.cubicInterpolationMode==="monotone")h8(e,r);else{let l=A?e[e.length-1]:e[0];for(i=0,s=e.length;i<s;++i)o=e[i],a=c8(l,o,e[Math.min(i+1,s-(A?0:1))%s],t.tension),o.cp1x=a.previous.x,o.cp1y=a.previous.y,o.cp2x=a.next.x,o.cp2y=a.next.y,l=o}t.capBezierPoints&&d8(e,n)}function Bw(){return typeof window<"u"&&typeof document<"u"}function bw(e){let t=e.parentNode;return t&&t.toString()==="[object ShadowRoot]"&&(t=t.host),t}function Qh(e,t,n){let A;return typeof e=="string"?(A=parseInt(e,10),e.indexOf("%")!==-1&&(A=A/100*t.parentNode[n])):A=e,A}const fd=e=>e.ownerDocument.defaultView.getComputedStyle(e,null);function g8(e,t){return fd(e).getPropertyValue(t)}const w8=["top","right","bottom","left"];function _a(e,t,n){const A={};n=n?"-"+n:"";for(let r=0;r<4;r++){const i=w8[r];A[i]=parseFloat(e[t+"-"+i+n])||0}return A.width=A.left+A.right,A.height=A.top+A.bottom,A}const m8=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function B8(e,t){const n=e.touches,A=n&&n.length?n[0]:e,{offsetX:r,offsetY:i}=A;let s=!1,o,a;if(m8(r,i,e.target))o=r,a=i;else{const l=t.getBoundingClientRect();o=A.clientX-l.left,a=A.clientY-l.top,s=!0}return{x:o,y:a,box:s}}function aa(e,t){if("native"in e)return e;const{canvas:n,currentDevicePixelRatio:A}=t,r=fd(n),i=r.boxSizing==="border-box",s=_a(r,"padding"),o=_a(r,"border","width"),{x:a,y:l,box:u}=B8(e,n),h=s.left+(u&&o.left),w=s.top+(u&&o.top);let{width:p,height:y}=t;return i&&(p-=s.width+o.width,y-=s.height+o.height),{x:Math.round((a-h)/p*n.width/A),y:Math.round((l-w)/y*n.height/A)}}function b8(e,t,n){let A,r;if(t===void 0||n===void 0){const i=e&&bw(e);if(!i)t=e.clientWidth,n=e.clientHeight;else{const s=i.getBoundingClientRect(),o=fd(i),a=_a(o,"border","width"),l=_a(o,"padding");t=s.width-l.width-a.width,n=s.height-l.height-a.height,A=Qh(o.maxWidth,i,"clientWidth"),r=Qh(o.maxHeight,i,"clientHeight")}}return{width:t,height:n,maxWidth:A||Eh,maxHeight:r||Eh}}const Co=e=>Math.round(e*10)/10;function v8(e,t,n,A){const r=fd(e),i=_a(r,"margin"),s=Qh(r.maxWidth,e,"clientWidth")||Eh,o=Qh(r.maxHeight,e,"clientHeight")||Eh,a=b8(e,t,n);let{width:l,height:u}=a;if(r.boxSizing==="content-box"){const w=_a(r,"border","width"),p=_a(r,"padding");l-=p.width+w.width,u-=p.height+w.height}return l=Math.max(0,l-i.width),u=Math.max(0,A?l/A:u-i.height),l=Co(Math.min(l,s,a.maxWidth)),u=Co(Math.min(u,o,a.maxHeight)),l&&!u&&(u=Co(l/2)),(t!==void 0||n!==void 0)&&A&&a.height&&u>a.height&&(u=a.height,l=Co(Math.floor(u*A))),{width:l,height:u}}function bB(e,t,n){const A=t||1,r=Co(e.height*A),i=Co(e.width*A);e.height=Co(e.height),e.width=Co(e.width);const s=e.canvas;return s.style&&(n||!s.style.height&&!s.style.width)&&(s.style.height=`${e.height}px`,s.style.width=`${e.width}px`),e.currentDevicePixelRatio!==A||s.height!==r||s.width!==i?(e.currentDevicePixelRatio=A,s.height=r,s.width=i,e.ctx.setTransform(A,0,0,A,0,0),!0):!1}const y8=(function(){let e=!1;try{const t={get passive(){return e=!0,!1}};Bw()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch{}return e})();function vB(e,t){const n=g8(e,t),A=n&&n.match(/^(\d+)(\.\d+)?px$/);return A?+A[1]:void 0}function la(e,t,n,A){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function x8(e,t,n,A){return{x:e.x+n*(t.x-e.x),y:A==="middle"?n<.5?e.y:t.y:A==="after"?n<1?e.y:t.y:n>0?t.y:e.y}}function C8(e,t,n,A){const r={x:e.cp2x,y:e.cp2y},i={x:t.cp1x,y:t.cp1y},s=la(e,r,n),o=la(r,i,n),a=la(i,t,n),l=la(s,o,n),u=la(o,a,n);return la(l,u,n)}const F8=function(e,t){return{x(n){return e+e+t-n},setWidth(n){t=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,A){return n-A},leftForLtr(n,A){return n-A}}},_8=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function xl(e,t,n){return e?F8(t,n):_8()}function yC(e,t){let n,A;(t==="ltr"||t==="rtl")&&(n=e.canvas.style,A=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=A)}function xC(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function CC(e){return e==="angle"?{between:Yc,compare:EP,normalize:jA}:{between:Us,compare:(t,n)=>t-n,normalize:t=>t}}function yB({start:e,end:t,count:n,loop:A,style:r}){return{start:e%n,end:t%n,loop:A&&(t-e+1)%n===0,style:r}}function E8(e,t,n){const{property:A,start:r,end:i}=n,{between:s,normalize:o}=CC(A),a=t.length;let{start:l,end:u,loop:h}=e,w,p;if(h){for(l+=a,u+=a,w=0,p=a;w<p&&s(o(t[l%a][A]),r,i);++w)l--,u--;l%=a,u%=a}return u<l&&(u+=a),{start:l,end:u,loop:h,style:e.style}}function FC(e,t,n){if(!n)return[e];const{property:A,start:r,end:i}=n,s=t.length,{compare:o,between:a,normalize:l}=CC(A),{start:u,end:h,loop:w,style:p}=E8(e,t,n),y=[];let v=!1,C=null,_,S,M;const T=()=>a(r,M,_)&&o(r,M)!==0,V=()=>o(i,_)===0||a(i,M,_),B=()=>v||T(),G=()=>!v||V();for(let z=u,H=u;z<=h;++z)S=t[z%s],!S.skip&&(_=l(S[A]),_!==M&&(v=a(_,r,i),C===null&&B()&&(C=o(_,r)===0?z:H),C!==null&&G()&&(y.push(yB({start:C,end:z,loop:w,count:s,style:p})),C=null),H=z,M=_));return C!==null&&y.push(yB({start:C,end:h,loop:w,count:s,style:p})),y}function _C(e,t){const n=[],A=e.segments;for(let r=0;r<A.length;r++){const i=FC(A[r],e.points,t);i.length&&n.push(...i)}return n}function U8(e,t,n,A){let r=0,i=t-1;if(n&&!A)for(;r<t&&!e[r].skip;)r++;for(;r<t&&e[r].skip;)r++;for(r%=t,n&&(i+=r);i>r&&e[i%t].skip;)i--;return i%=t,{start:r,end:i}}function Q8(e,t,n,A){const r=e.length,i=[];let s=t,o=e[t],a;for(a=t+1;a<=n;++a){const l=e[a%r];l.skip||l.stop?o.skip||(A=!1,i.push({start:t%r,end:(a-1)%r,loop:A}),t=s=l.stop?a:null):(s=a,o.skip&&(t=a)),o=l}return s!==null&&i.push({start:t%r,end:s%r,loop:A}),i}function S8(e,t){const n=e.points,A=e.options.spanGaps,r=n.length;if(!r)return[];const i=!!e._loop,{start:s,end:o}=U8(n,r,i,A);if(A===!0)return xB(e,[{start:s,end:o,loop:i}],n,t);const a=o<s?o+r:o,l=!!e._fullLoop&&s===0&&o===r-1;return xB(e,Q8(n,s,a,l),n,t)}function xB(e,t,n,A){return!A||!A.setContext||!n?t:L8(e,t,n,A)}function L8(e,t,n,A){const r=e._chart.getContext(),i=CB(e.options),{_datasetIndex:s,options:{spanGaps:o}}=e,a=n.length,l=[];let u=i,h=t[0].start,w=h;function p(y,v,C,_){const S=o?-1:1;if(y!==v){for(y+=a;n[y%a].skip;)y-=S;for(;n[v%a].skip;)v+=S;y%a!==v%a&&(l.push({start:y%a,end:v%a,loop:C,style:_}),u=_,h=v%a)}}for(const y of t){h=o?h:y.start;let v=n[h%a],C;for(w=h+1;w<=y.end;w++){const _=n[w%a];C=CB(A.setContext(Ho(r,{type:"segment",p0:v,p1:_,p0DataIndex:(w-1)%a,p1DataIndex:w%a,datasetIndex:s}))),I8(C,u)&&p(h,w-1,y.loop,u),v=_,u=C}h<w-1&&p(h,w-1,y.loop,u)}return l}function CB(e){return{backgroundColor:e.backgroundColor,borderCapStyle:e.borderCapStyle,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderJoinStyle:e.borderJoinStyle,borderWidth:e.borderWidth,borderColor:e.borderColor}}function I8(e,t){if(!t)return!1;const n=[],A=function(r,i){return dw(i)?(n.includes(i)||n.push(i),n.indexOf(i)):i};return JSON.stringify(e,A)!==JSON.stringify(t,A)}function _f(e,t,n){return e.options.clip?e[n]:t[n]}function k8(e,t){const{xScale:n,yScale:A}=e;return n&&A?{left:_f(n,t,"left"),right:_f(n,t,"right"),top:_f(A,t,"top"),bottom:_f(A,t,"bottom")}:t}function EC(e,t){const n=t._clip;if(n.disabled)return!1;const A=k8(t,e.chartArea);return{left:n.left===!1?0:A.left-(n.left===!0?0:n.left),right:n.right===!1?e.width:A.right+(n.right===!0?0:n.right),top:n.top===!1?0:A.top-(n.top===!0?0:n.top),bottom:n.bottom===!1?e.height:A.bottom+(n.bottom===!0?0:n.bottom)}}class T8{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,n,A,r){const i=n.listeners[r],s=n.duration;i.forEach(o=>o({chart:t,initial:n.initial,numSteps:s,currentStep:Math.min(A-n.start,s)}))}_refresh(){this._request||(this._running=!0,this._request=lC.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let n=0;this._charts.forEach((A,r)=>{if(!A.running||!A.items.length)return;const i=A.items;let s=i.length-1,o=!1,a;for(;s>=0;--s)a=i[s],a._active?(a._total>A.duration&&(A.duration=a._total),a.tick(t),o=!0):(i[s]=i[i.length-1],i.pop());o&&(r.draw(),this._notify(r,A,t,"progress")),i.length||(A.running=!1,this._notify(r,A,t,"complete"),A.initial=!1),n+=i.length}),this._lastDate=t,n===0&&(this._running=!1)}_getAnims(t){const n=this._charts;let A=n.get(t);return A||(A={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(t,A)),A}listen(t,n,A){this._getAnims(t).listeners[n].push(A)}add(t,n){!n||!n.length||this._getAnims(t).items.push(...n)}has(t){return this._getAnims(t).items.length>0}start(t){const n=this._charts.get(t);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((A,r)=>Math.max(A,r._duration),0),this._refresh())}running(t){if(!this._running)return!1;const n=this._charts.get(t);return!(!n||!n.running||!n.items.length)}stop(t){const n=this._charts.get(t);if(!n||!n.items.length)return;const A=n.items;let r=A.length-1;for(;r>=0;--r)A[r].cancel();n.items=[],this._notify(t,n,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var Cs=new T8;const FB="transparent",N8={boolean(e,t,n){return n>.5?t:e},color(e,t,n){const A=pB(e||FB),r=A.valid&&pB(t||FB);return r&&r.valid?r.mix(A,n).hexString():t},number(e,t,n){return e+(t-e)*n}};class O8{constructor(t,n,A,r){const i=n[A];r=Fc([t.to,r,i,t.from]);const s=Fc([t.from,i,r]);this._active=!0,this._fn=t.fn||N8[t.type||typeof s],this._easing=Mc[t.easing]||Mc.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=n,this._prop=A,this._from=s,this._to=r,this._promises=void 0}active(){return this._active}update(t,n,A){if(this._active){this._notify(!1);const r=this._target[this._prop],i=A-this._start,s=this._duration-i;this._start=A,this._duration=Math.floor(Math.max(s,t.duration)),this._total+=i,this._loop=!!t.loop,this._to=Fc([t.to,n,r,t.from]),this._from=Fc([t.from,r,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const n=t-this._start,A=this._duration,r=this._prop,i=this._from,s=this._loop,o=this._to;let a;if(this._active=i!==o&&(s||n<A),!this._active){this._target[r]=o,this._notify(!0);return}if(n<0){this._target[r]=i;return}a=n/A%2,a=s&&a>1?2-a:a,a=this._easing(Math.min(1,Math.max(0,a))),this._target[r]=this._fn(i,o,a)}wait(){const t=this._promises||(this._promises=[]);return new Promise((n,A)=>{t.push({res:n,rej:A})})}_notify(t){const n=t?"res":"rej",A=this._promises||[];for(let r=0;r<A.length;r++)A[r][n]()}}class UC{constructor(t,n){this._chart=t,this._properties=new Map,this.configure(n)}configure(t){if(!Ze(t))return;const n=Object.keys(Nn.animation),A=this._properties;Object.getOwnPropertyNames(t).forEach(r=>{const i=t[r];if(!Ze(i))return;const s={};for(const o of n)s[o]=i[o];(Tn(i.properties)&&i.properties||[r]).forEach(o=>{(o===r||!A.has(o))&&A.set(o,s)})})}_animateOptions(t,n){const A=n.options,r=P8(t,A);if(!r)return[];const i=this._createAnimations(r,A);return A.$shared&&H8(t.options.$animations,A).then(()=>{t.options=A},()=>{}),i}_createAnimations(t,n){const A=this._properties,r=[],i=t.$animations||(t.$animations={}),s=Object.keys(n),o=Date.now();let a;for(a=s.length-1;a>=0;--a){const l=s[a];if(l.charAt(0)==="$")continue;if(l==="options"){r.push(...this._animateOptions(t,n));continue}const u=n[l];let h=i[l];const w=A.get(l);if(h)if(w&&h.active()){h.update(w,u,o);continue}else h.cancel();if(!w||!w.duration){t[l]=u;continue}i[l]=h=new O8(w,t,l,u),r.push(h)}return r}update(t,n){if(this._properties.size===0){Object.assign(t,n);return}const A=this._createAnimations(t,n);if(A.length)return Cs.add(this._chart,A),!0}}function H8(e,t){const n=[],A=Object.keys(t);for(let r=0;r<A.length;r++){const i=e[A[r]];i&&i.active()&&n.push(i.wait())}return Promise.all(n)}function P8(e,t){if(!t)return;let n=e.options;if(!n){e.options=t;return}return n.$shared&&(e.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n}function _B(e,t){const n=e&&e.options||{},A=n.reverse,r=n.min===void 0?t:0,i=n.max===void 0?t:0;return{start:A?i:r,end:A?r:i}}function M8(e,t,n){if(n===!1)return!1;const A=_B(e,n),r=_B(t,n);return{top:r.end,right:A.end,bottom:r.start,left:A.start}}function D8(e){let t,n,A,r;return Ze(e)?(t=e.top,n=e.right,A=e.bottom,r=e.left):t=n=A=r=e,{top:t,right:n,bottom:A,left:r,disabled:e===!1}}function QC(e,t){const n=[],A=e._getSortedDatasetMetas(t);let r,i;for(r=0,i=A.length;r<i;++r)n.push(A[r].index);return n}function EB(e,t,n,A={}){const r=e.keys,i=A.mode==="single";let s,o,a,l;if(t===null)return;let u=!1;for(s=0,o=r.length;s<o;++s){if(a=+r[s],a===n){if(u=!0,A.all)continue;break}l=e.values[a],Vn(l)&&(i||t===0||$i(t)===$i(l))&&(t+=l)}return!u&&!A.all?0:t}function R8(e,t){const{iScale:n,vScale:A}=t,r=n.axis==="x"?"x":"y",i=A.axis==="x"?"x":"y",s=Object.keys(e),o=new Array(s.length);let a,l,u;for(a=0,l=s.length;a<l;++a)u=s[a],o[a]={[r]:u,[i]:e[u]};return o}function Op(e,t){const n=e&&e.options.stacked;return n||n===void 0&&t.stack!==void 0}function K8(e,t,n){return`${e.id}.${t.id}.${n.stack||n.type}`}function j8(e){const{min:t,max:n,minDefined:A,maxDefined:r}=e.getUserBounds();return{min:A?t:Number.NEGATIVE_INFINITY,max:r?n:Number.POSITIVE_INFINITY}}function V8(e,t,n){const A=e[t]||(e[t]={});return A[n]||(A[n]={})}function UB(e,t,n,A){for(const r of t.getMatchingVisibleMetas(A).reverse()){const i=e[r.index];if(n&&i>0||!n&&i<0)return r.index}return null}function QB(e,t){const{chart:n,_cachedMeta:A}=e,r=n._stacks||(n._stacks={}),{iScale:i,vScale:s,index:o}=A,a=i.axis,l=s.axis,u=K8(i,s,A),h=t.length;let w;for(let p=0;p<h;++p){const y=t[p],{[a]:v,[l]:C}=y,_=y._stacks||(y._stacks={});w=_[l]=V8(r,u,v),w[o]=C,w._top=UB(w,s,!0,A.type),w._bottom=UB(w,s,!1,A.type);const S=w._visualValues||(w._visualValues={});S[o]=C}}function Hp(e,t){const n=e.scales;return Object.keys(n).filter(A=>n[A].axis===t).shift()}function W8(e,t){return Ho(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function q8(e,t,n){return Ho(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:"default",type:"data"})}function cc(e,t){const n=e.controller.index,A=e.vScale&&e.vScale.axis;if(A){t=t||e._parsed;for(const r of t){const i=r._stacks;if(!i||i[A]===void 0||i[A][n]===void 0)return;delete i[A][n],i[A]._visualValues!==void 0&&i[A]._visualValues[n]!==void 0&&delete i[A]._visualValues[n]}}}const Pp=e=>e==="reset"||e==="none",SB=(e,t)=>t?e:Object.assign({},e),z8=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:QC(n,!0),values:null};class Po{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(t,n){this.chart=t,this._ctx=t.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=Op(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&cc(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,n=this._cachedMeta,A=this.getDataset(),r=(h,w,p,y)=>h==="x"?w:h==="r"?y:p,i=n.xAxisID=Ve(A.xAxisID,Hp(t,"x")),s=n.yAxisID=Ve(A.yAxisID,Hp(t,"y")),o=n.rAxisID=Ve(A.rAxisID,Hp(t,"r")),a=n.indexAxis,l=n.iAxisID=r(a,i,s,o),u=n.vAxisID=r(a,s,i,o);n.xScale=this.getScaleForId(i),n.yScale=this.getScaleForId(s),n.rScale=this.getScaleForId(o),n.iScale=this.getScaleForId(l),n.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const n=this._cachedMeta;return t===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&fB(this._data,this),t._stacked&&cc(t)}_dataCheck(){const t=this.getDataset(),n=t.data||(t.data=[]),A=this._data;if(Ze(n)){const r=this._cachedMeta;this._data=R8(n,r)}else if(A!==n){if(A){fB(A,this);const r=this._cachedMeta;cc(r),r._parsed=[]}n&&Object.isExtensible(n)&&LP(n,this),this._syncList=[],this._data=n}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const n=this._cachedMeta,A=this.getDataset();let r=!1;this._dataCheck();const i=n._stacked;n._stacked=Op(n.vScale,n),n.stack!==A.stack&&(r=!0,cc(n),n.stack=A.stack),this._resyncElements(t),(r||i!==n._stacked)&&(QB(this,n._parsed),n._stacked=Op(n.vScale,n))}configure(){const t=this.chart.config,n=t.datasetScopeKeys(this._type),A=t.getOptionScopes(this.getDataset(),n,!0);this.options=t.createResolver(A,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,n){const{_cachedMeta:A,_data:r}=this,{iScale:i,_stacked:s}=A,o=i.axis;let a=t===0&&n===r.length?!0:A._sorted,l=t>0&&A._parsed[t-1],u,h,w;if(this._parsing===!1)A._parsed=r,A._sorted=!0,w=r;else{Tn(r[t])?w=this.parseArrayData(A,r,t,n):Ze(r[t])?w=this.parseObjectData(A,r,t,n):w=this.parsePrimitiveData(A,r,t,n);const p=()=>h[o]===null||l&&h[o]<l[o];for(u=0;u<n;++u)A._parsed[u+t]=h=w[u],a&&(p()&&(a=!1),l=h);A._sorted=a}s&&QB(this,w)}parsePrimitiveData(t,n,A,r){const{iScale:i,vScale:s}=t,o=i.axis,a=s.axis,l=i.getLabels(),u=i===s,h=new Array(r);let w,p,y;for(w=0,p=r;w<p;++w)y=w+A,h[w]={[o]:u||i.parse(l[y],y),[a]:s.parse(n[y],y)};return h}parseArrayData(t,n,A,r){const{xScale:i,yScale:s}=t,o=new Array(r);let a,l,u,h;for(a=0,l=r;a<l;++a)u=a+A,h=n[u],o[a]={x:i.parse(h[0],u),y:s.parse(h[1],u)};return o}parseObjectData(t,n,A,r){const{xScale:i,yScale:s}=t,{xAxisKey:o="x",yAxisKey:a="y"}=this._parsing,l=new Array(r);let u,h,w,p;for(u=0,h=r;u<h;++u)w=u+A,p=n[w],l[u]={x:i.parse(To(p,o),w),y:s.parse(To(p,a),w)};return l}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,n,A){const r=this.chart,i=this._cachedMeta,s=n[t.axis],o={keys:QC(r,!0),values:n._stacks[t.axis]._visualValues};return EB(o,s,i.index,{mode:A})}updateRangeFromParsed(t,n,A,r){const i=A[n.axis];let s=i===null?NaN:i;const o=r&&A._stacks[n.axis];r&&o&&(r.values=o,s=EB(r,i,this._cachedMeta.index)),t.min=Math.min(t.min,s),t.max=Math.max(t.max,s)}getMinMax(t,n){const A=this._cachedMeta,r=A._parsed,i=A._sorted&&t===A.iScale,s=r.length,o=this._getOtherScale(t),a=z8(n,A,this.chart),l={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:u,max:h}=j8(o);let w,p;function y(){p=r[w];const v=p[o.axis];return!Vn(p[t.axis])||u>v||h<v}for(w=0;w<s&&!(!y()&&(this.updateRangeFromParsed(l,t,p,a),i));++w);if(i){for(w=s-1;w>=0;--w)if(!y()){this.updateRangeFromParsed(l,t,p,a);break}}return l}getAllParsedValues(t){const n=this._cachedMeta._parsed,A=[];let r,i,s;for(r=0,i=n.length;r<i;++r)s=n[r][t.axis],Vn(s)&&A.push(s);return A}getMaxOverflow(){return!1}getLabelAndValue(t){const n=this._cachedMeta,A=n.iScale,r=n.vScale,i=this.getParsed(t);return{label:A?""+A.getLabelForValue(i[A.axis]):"",value:r?""+r.getLabelForValue(i[r.axis]):""}}_update(t){const n=this._cachedMeta;this.update(t||"default"),n._clip=D8(Ve(this.options.clip,M8(n.xScale,n.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,n=this.chart,A=this._cachedMeta,r=A.data||[],i=n.chartArea,s=[],o=this._drawStart||0,a=this._drawCount||r.length-o,l=this.options.drawActiveElementsOnTop;let u;for(A.dataset&&A.dataset.draw(t,i,o,a),u=o;u<o+a;++u){const h=r[u];h.hidden||(h.active&&l?s.push(h):h.draw(t,i))}for(u=0;u<s.length;++u)s[u].draw(t,i)}getStyle(t,n){const A=n?"active":"default";return t===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(A):this.resolveDataElementOptions(t||0,A)}getContext(t,n,A){const r=this.getDataset();let i;if(t>=0&&t<this._cachedMeta.data.length){const s=this._cachedMeta.data[t];i=s.$context||(s.$context=q8(this.getContext(),t,s)),i.parsed=this.getParsed(t),i.raw=r.data[t],i.index=i.dataIndex=t}else i=this.$context||(this.$context=W8(this.chart.getContext(),this.index)),i.dataset=r,i.index=i.datasetIndex=this.index;return i.active=!!n,i.mode=A,i}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,n){return this._resolveElementOptions(this.dataElementType.id,n,t)}_resolveElementOptions(t,n="default",A){const r=n==="active",i=this._cachedDataOpts,s=t+"-"+n,o=i[s],a=this.enableOptionSharing&&$c(A);if(o)return SB(o,a);const l=this.chart.config,u=l.datasetElementScopeKeys(this._type,t),h=r?[`${t}Hover`,"hover",t,""]:[t,""],w=l.getOptionScopes(this.getDataset(),u),p=Object.keys(Nn.elements[t]),y=()=>this.getContext(A,r,n),v=l.resolveNamedOptions(w,p,y,h);return v.$shared&&(v.$shared=a,i[s]=Object.freeze(SB(v,a))),v}_resolveAnimations(t,n,A){const r=this.chart,i=this._cachedDataOpts,s=`animation-${n}`,o=i[s];if(o)return o;let a;if(r.options.animation!==!1){const u=this.chart.config,h=u.datasetAnimationScopeKeys(this._type,n),w=u.getOptionScopes(this.getDataset(),h);a=u.createResolver(w,this.getContext(t,A,n))}const l=new UC(r,a&&a.animations);return a&&a._cacheable&&(i[s]=Object.freeze(l)),l}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,n){return!n||Pp(t)||this.chart._animationsDisabled}_getSharedOptions(t,n){const A=this.resolveDataElementOptions(t,n),r=this._sharedOptions,i=this.getSharedOptions(A),s=this.includeOptions(n,i)||i!==r;return this.updateSharedOptions(i,n,A),{sharedOptions:i,includeOptions:s}}updateElement(t,n,A,r){Pp(r)?Object.assign(t,A):this._resolveAnimations(n,r).update(t,A)}updateSharedOptions(t,n,A){t&&!Pp(n)&&this._resolveAnimations(void 0,n).update(t,A)}_setStyle(t,n,A,r){t.active=r;const i=this.getStyle(n,r);this._resolveAnimations(n,A,r).update(t,{options:!r&&this.getSharedOptions(i)||i})}removeHoverStyle(t,n,A){this._setStyle(t,A,"active",!1)}setHoverStyle(t,n,A){this._setStyle(t,A,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const n=this._data,A=this._cachedMeta.data;for(const[o,a,l]of this._syncList)this[o](a,l);this._syncList=[];const r=A.length,i=n.length,s=Math.min(i,r);s&&this.parse(0,s),i>r?this._insertElements(r,i-r,t):i<r&&this._removeElements(i,r-i)}_insertElements(t,n,A=!0){const r=this._cachedMeta,i=r.data,s=t+n;let o;const a=l=>{for(l.length+=n,o=l.length-1;o>=s;o--)l[o]=l[o-n]};for(a(i),o=t;o<s;++o)i[o]=new this.dataElementType;this._parsing&&a(r._parsed),this.parse(t,n),A&&this.updateElements(i,t,n,"reset")}updateElements(t,n,A,r){}_removeElements(t,n){const A=this._cachedMeta;if(this._parsing){const r=A._parsed.splice(t,n);A._stacked&&cc(A,r)}A.data.splice(t,n)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[n,A,r]=t;this[n](A,r)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){const t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,n){n&&this._sync(["_removeElements",t,n]);const A=arguments.length-2;A&&this._sync(["_insertElements",t,A])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function G8(e,t){if(!e._cache.$bar){const n=e.getMatchingVisibleMetas(t);let A=[];for(let r=0,i=n.length;r<i;r++)A=A.concat(n[r].controller.getAllParsedValues(e));e._cache.$bar=aC(A.sort((r,i)=>r-i))}return e._cache.$bar}function X8(e){const t=e.iScale,n=G8(t,e.type);let A=t._length,r,i,s,o;const a=()=>{s===32767||s===-32768||($c(o)&&(A=Math.min(A,Math.abs(s-o)||A)),o=s)};for(r=0,i=n.length;r<i;++r)s=t.getPixelForValue(n[r]),a();for(o=void 0,r=0,i=t.ticks.length;r<i;++r)s=t.getPixelForTick(r),a();return A}function $8(e,t,n,A){const r=n.barThickness;let i,s;return $e(r)?(i=t.min*n.categoryPercentage,s=n.barPercentage):(i=r*A,s=1),{chunk:i/A,ratio:s,start:t.pixels[e]-i/2}}function Y8(e,t,n,A){const r=t.pixels,i=r[e];let s=e>0?r[e-1]:null,o=e<r.length-1?r[e+1]:null;const a=n.categoryPercentage;s===null&&(s=i-(o===null?t.end-t.start:o-i)),o===null&&(o=i+i-s);const l=i-(i-Math.min(s,o))/2*a;return{chunk:Math.abs(o-s)/2*a/A,ratio:n.barPercentage,start:l}}function J8(e,t,n,A){const r=n.parse(e[0],A),i=n.parse(e[1],A),s=Math.min(r,i),o=Math.max(r,i);let a=s,l=o;Math.abs(s)>Math.abs(o)&&(a=o,l=s),t[n.axis]=l,t._custom={barStart:a,barEnd:l,start:r,end:i,min:s,max:o}}function SC(e,t,n,A){return Tn(e)?J8(e,t,n,A):t[n.axis]=n.parse(e,A),t}function LB(e,t,n,A){const r=e.iScale,i=e.vScale,s=r.getLabels(),o=r===i,a=[];let l,u,h,w;for(l=n,u=n+A;l<u;++l)w=t[l],h={},h[r.axis]=o||r.parse(s[l],l),a.push(SC(w,h,i,l));return a}function Mp(e){return e&&e.barStart!==void 0&&e.barEnd!==void 0}function Z8(e,t,n){return e!==0?$i(e):(t.isHorizontal()?1:-1)*(t.min>=n?1:-1)}function tM(e){let t,n,A,r,i;return e.horizontal?(t=e.base>e.x,n="left",A="right"):(t=e.base<e.y,n="bottom",A="top"),t?(r="end",i="start"):(r="start",i="end"),{start:n,end:A,reverse:t,top:r,bottom:i}}function eM(e,t,n,A){let r=t.borderSkipped;const i={};if(!r){e.borderSkipped=i;return}if(r===!0){e.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}const{start:s,end:o,reverse:a,top:l,bottom:u}=tM(e);r==="middle"&&n&&(e.enableBorderRadius=!0,(n._top||0)===A?r=l:(n._bottom||0)===A?r=u:(i[IB(u,s,o,a)]=!0,r=l)),i[IB(r,s,o,a)]=!0,e.borderSkipped=i}function IB(e,t,n,A){return A?(e=nM(e,t,n),e=kB(e,n,t)):e=kB(e,t,n),e}function nM(e,t,n){return e===t?n:e===n?t:e}function kB(e,t,n){return e==="start"?t:e==="end"?n:e}function AM(e,{inflateAmount:t},n){e.inflateAmount=t==="auto"?n===1?.33:0:t}class rM extends Po{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(t,n,A,r){return LB(t,n,A,r)}parseArrayData(t,n,A,r){return LB(t,n,A,r)}parseObjectData(t,n,A,r){const{iScale:i,vScale:s}=t,{xAxisKey:o="x",yAxisKey:a="y"}=this._parsing,l=i.axis==="x"?o:a,u=s.axis==="x"?o:a,h=[];let w,p,y,v;for(w=A,p=A+r;w<p;++w)v=n[w],y={},y[i.axis]=i.parse(To(v,l),w),h.push(SC(To(v,u),y,s,w));return h}updateRangeFromParsed(t,n,A,r){super.updateRangeFromParsed(t,n,A,r);const i=A._custom;i&&n===this._cachedMeta.vScale&&(t.min=Math.min(t.min,i.min),t.max=Math.max(t.max,i.max))}getMaxOverflow(){return 0}getLabelAndValue(t){const n=this._cachedMeta,{iScale:A,vScale:r}=n,i=this.getParsed(t),s=i._custom,o=Mp(s)?"["+s.start+", "+s.end+"]":""+r.getLabelForValue(i[r.axis]);return{label:""+A.getLabelForValue(i[A.axis]),value:o}}initialize(){this.enableOptionSharing=!0,super.initialize();const t=this._cachedMeta;t.stack=this.getDataset().stack}update(t){const n=this._cachedMeta;this.updateElements(n.data,0,n.data.length,t)}updateElements(t,n,A,r){const i=r==="reset",{index:s,_cachedMeta:{vScale:o}}=this,a=o.getBasePixel(),l=o.isHorizontal(),u=this._getRuler(),{sharedOptions:h,includeOptions:w}=this._getSharedOptions(n,r);for(let p=n;p<n+A;p++){const y=this.getParsed(p),v=i||$e(y[o.axis])?{base:a,head:a}:this._calculateBarValuePixels(p),C=this._calculateBarIndexPixels(p,u),_=(y._stacks||{})[o.axis],S={horizontal:l,base:v.base,enableBorderRadius:!_||Mp(y._custom)||s===_._top||s===_._bottom,x:l?v.head:C.center,y:l?C.center:v.head,height:l?C.size:Math.abs(v.size),width:l?Math.abs(v.size):C.size};w&&(S.options=h||this.resolveDataElementOptions(p,t[p].active?"active":r));const M=S.options||t[p].options;eM(S,M,_,s),AM(S,M,u.ratio),this.updateElement(t[p],p,S,r)}}_getStacks(t,n){const{iScale:A}=this._cachedMeta,r=A.getMatchingVisibleMetas(this._type).filter(u=>u.controller.options.grouped),i=A.options.stacked,s=[],o=this._cachedMeta.controller.getParsed(n),a=o&&o[A.axis],l=u=>{const h=u._parsed.find(p=>p[A.axis]===a),w=h&&h[u.vScale.axis];if($e(w)||isNaN(w))return!0};for(const u of r)if(!(n!==void 0&&l(u))&&((i===!1||s.indexOf(u.stack)===-1||i===void 0&&u.stack===void 0)&&s.push(u.stack),u.index===t))break;return s.length||s.push(void 0),s}_getStackCount(t){return this._getStacks(void 0,t).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){const t=this.chart.scales,n=this.chart.options.indexAxis;return Object.keys(t).filter(A=>t[A].axis===n).shift()}_getAxis(){const t={},n=this.getFirstScaleIdForIndexAxis();for(const A of this.chart.data.datasets)t[Ve(this.chart.options.indexAxis==="x"?A.xAxisID:A.yAxisID,n)]=!0;return Object.keys(t)}_getStackIndex(t,n,A){const r=this._getStacks(t,A),i=n!==void 0?r.indexOf(n):-1;return i===-1?r.length-1:i}_getRuler(){const t=this.options,n=this._cachedMeta,A=n.iScale,r=[];let i,s;for(i=0,s=n.data.length;i<s;++i)r.push(A.getPixelForValue(this.getParsed(i)[A.axis],i));const o=t.barThickness;return{min:o||X8(n),pixels:r,start:A._startPixel,end:A._endPixel,stackCount:this._getStackCount(),scale:A,grouped:t.grouped,ratio:o?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){const{_cachedMeta:{vScale:n,_stacked:A,index:r},options:{base:i,minBarLength:s}}=this,o=i||0,a=this.getParsed(t),l=a._custom,u=Mp(l);let h=a[n.axis],w=0,p=A?this.applyStack(n,a,A):h,y,v;p!==h&&(w=p-h,p=h),u&&(h=l.barStart,p=l.barEnd-l.barStart,h!==0&&$i(h)!==$i(l.barEnd)&&(w=0),w+=h);const C=!$e(i)&&!u?i:w;let _=n.getPixelForValue(C);if(this.chart.getDataVisibility(t)?y=n.getPixelForValue(w+p):y=_,v=y-_,Math.abs(v)<s){v=Z8(v,n,o)*s,h===o&&(_-=v/2);const S=n.getPixelForDecimal(0),M=n.getPixelForDecimal(1),T=Math.min(S,M),V=Math.max(S,M);_=Math.max(Math.min(_,V),T),y=_+v,A&&!u&&(a._stacks[n.axis]._visualValues[r]=n.getValueForPixel(y)-n.getValueForPixel(_))}if(_===n.getPixelForValue(o)){const S=$i(v)*n.getLineWidthForValue(o)/2;_+=S,v-=S}return{size:v,base:_,head:y,center:y+v/2}}_calculateBarIndexPixels(t,n){const A=n.scale,r=this.options,i=r.skipNull,s=Ve(r.maxBarThickness,1/0);let o,a;const l=this._getAxisCount();if(n.grouped){const u=i?this._getStackCount(t):n.stackCount,h=r.barThickness==="flex"?Y8(t,n,r,u*l):$8(t,n,r,u*l),w=this.chart.options.indexAxis==="x"?this.getDataset().xAxisID:this.getDataset().yAxisID,p=this._getAxis().indexOf(Ve(w,this.getFirstScaleIdForIndexAxis())),y=this._getStackIndex(this.index,this._cachedMeta.stack,i?t:void 0)+p;o=h.start+h.chunk*y+h.chunk/2,a=Math.min(s,h.chunk*h.ratio)}else o=A.getPixelForValue(this.getParsed(t)[A.axis],t),a=Math.min(s,n.min*n.ratio);return{base:o-a/2,head:o+a/2,center:o,size:a}}draw(){const t=this._cachedMeta,n=t.vScale,A=t.data,r=A.length;let i=0;for(;i<r;++i)this.getParsed(i)[n.axis]!==null&&!A[i].hidden&&A[i].draw(this._ctx)}}class iM extends Po{static id="bubble";static defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}};static overrides={scales:{x:{type:"linear"},y:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(t,n,A,r){const i=super.parsePrimitiveData(t,n,A,r);for(let s=0;s<i.length;s++)i[s]._custom=this.resolveDataElementOptions(s+A).radius;return i}parseArrayData(t,n,A,r){const i=super.parseArrayData(t,n,A,r);for(let s=0;s<i.length;s++){const o=n[A+s];i[s]._custom=Ve(o[2],this.resolveDataElementOptions(s+A).radius)}return i}parseObjectData(t,n,A,r){const i=super.parseObjectData(t,n,A,r);for(let s=0;s<i.length;s++){const o=n[A+s];i[s]._custom=Ve(o&&o.r&&+o.r,this.resolveDataElementOptions(s+A).radius)}return i}getMaxOverflow(){const t=this._cachedMeta.data;let n=0;for(let A=t.length-1;A>=0;--A)n=Math.max(n,t[A].size(this.resolveDataElementOptions(A))/2);return n>0&&n}getLabelAndValue(t){const n=this._cachedMeta,A=this.chart.data.labels||[],{xScale:r,yScale:i}=n,s=this.getParsed(t),o=r.getLabelForValue(s.x),a=i.getLabelForValue(s.y),l=s._custom;return{label:A[t]||"",value:"("+o+", "+a+(l?", "+l:"")+")"}}update(t){const n=this._cachedMeta.data;this.updateElements(n,0,n.length,t)}updateElements(t,n,A,r){const i=r==="reset",{iScale:s,vScale:o}=this._cachedMeta,{sharedOptions:a,includeOptions:l}=this._getSharedOptions(n,r),u=s.axis,h=o.axis;for(let w=n;w<n+A;w++){const p=t[w],y=!i&&this.getParsed(w),v={},C=v[u]=i?s.getPixelForDecimal(.5):s.getPixelForValue(y[u]),_=v[h]=i?o.getBasePixel():o.getPixelForValue(y[h]);v.skip=isNaN(C)||isNaN(_),l&&(v.options=a||this.resolveDataElementOptions(w,p.active?"active":r),i&&(v.options.radius=0)),this.updateElement(p,w,v,r)}}resolveDataElementOptions(t,n){const A=this.getParsed(t);let r=super.resolveDataElementOptions(t,n);r.$shared&&(r=Object.assign({},r,{$shared:!1}));const i=r.radius;return n!=="active"&&(r.radius=0),r.radius+=Ve(A&&A._custom,i),r}}function sM(e,t,n){let A=1,r=1,i=0,s=0;if(t<En){const o=e,a=o+t,l=Math.cos(o),u=Math.sin(o),h=Math.cos(a),w=Math.sin(a),p=(M,T,V)=>Yc(M,o,a,!0)?1:Math.max(T,T*n,V,V*n),y=(M,T,V)=>Yc(M,o,a,!0)?-1:Math.min(T,T*n,V,V*n),v=p(0,l,h),C=p(eA,u,w),_=y(sn,l,h),S=y(sn+eA,u,w);A=(v-_)/2,r=(C-S)/2,i=-(v+_)/2,s=-(C+S)/2}return{ratioX:A,ratioY:r,offsetX:i,offsetY:s}}class vw extends Po{static id="doughnut";static defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"};static descriptors={_scriptable:t=>t!=="spacing",_indexable:t=>t!=="spacing"&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const n=t.data,{labels:{pointStyle:A,textAlign:r,color:i,useBorderRadius:s,borderRadius:o}}=t.legend.options;return n.labels.length&&n.datasets.length?n.labels.map((a,l)=>{const h=t.getDatasetMeta(0).controller.getStyle(l);return{text:a,fillStyle:h.backgroundColor,fontColor:i,hidden:!t.getDataVisibility(l),lineDash:h.borderDash,lineDashOffset:h.borderDashOffset,lineJoin:h.borderJoinStyle,lineWidth:h.borderWidth,strokeStyle:h.borderColor,textAlign:r,pointStyle:A,borderRadius:s&&(o||h.borderRadius),index:l}}):[]}},onClick(t,n,A){A.chart.toggleDataVisibility(n.index),A.chart.update()}}}};constructor(t,n){super(t,n),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,n){const A=this.getDataset().data,r=this._cachedMeta;if(this._parsing===!1)r._parsed=A;else{let i=a=>+A[a];if(Ze(A[t])){const{key:a="value"}=this._parsing;i=l=>+To(A[l],a)}let s,o;for(s=t,o=t+n;s<o;++s)r._parsed[s]=i(s)}}_getRotation(){return xi(this.options.rotation-90)}_getCircumference(){return xi(this.options.circumference)}_getRotationExtents(){let t=En,n=-En;for(let A=0;A<this.chart.data.datasets.length;++A)if(this.chart.isDatasetVisible(A)&&this.chart.getDatasetMeta(A).type===this._type){const r=this.chart.getDatasetMeta(A).controller,i=r._getRotation(),s=r._getCircumference();t=Math.min(t,i),n=Math.max(n,i+s)}return{rotation:t,circumference:n-t}}update(t){const n=this.chart,{chartArea:A}=n,r=this._cachedMeta,i=r.data,s=this.getMaxBorderWidth()+this.getMaxOffset(i)+this.options.spacing,o=Math.max((Math.min(A.width,A.height)-s)/2,0),a=Math.min(gP(this.options.cutout,o),1),l=this._getRingWeight(this.index),{circumference:u,rotation:h}=this._getRotationExtents(),{ratioX:w,ratioY:p,offsetX:y,offsetY:v}=sM(h,u,a),C=(A.width-s)/w,_=(A.height-s)/p,S=Math.max(Math.min(C,_)/2,0),M=AC(this.options.radius,S),T=Math.max(M*a,0),V=(M-T)/this._getVisibleDatasetWeightTotal();this.offsetX=y*M,this.offsetY=v*M,r.total=this.calculateTotal(),this.outerRadius=M-V*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-V*l,0),this.updateElements(i,0,i.length,t)}_circumference(t,n){const A=this.options,r=this._cachedMeta,i=this._getCircumference();return n&&A.animation.animateRotate||!this.chart.getDataVisibility(t)||r._parsed[t]===null||r.data[t].hidden?0:this.calculateCircumference(r._parsed[t]*i/En)}updateElements(t,n,A,r){const i=r==="reset",s=this.chart,o=s.chartArea,l=s.options.animation,u=(o.left+o.right)/2,h=(o.top+o.bottom)/2,w=i&&l.animateScale,p=w?0:this.innerRadius,y=w?0:this.outerRadius,{sharedOptions:v,includeOptions:C}=this._getSharedOptions(n,r);let _=this._getRotation(),S;for(S=0;S<n;++S)_+=this._circumference(S,i);for(S=n;S<n+A;++S){const M=this._circumference(S,i),T=t[S],V={x:u+this.offsetX,y:h+this.offsetY,startAngle:_,endAngle:_+M,circumference:M,outerRadius:y,innerRadius:p};C&&(V.options=v||this.resolveDataElementOptions(S,T.active?"active":r)),_+=M,this.updateElement(T,S,V,r)}}calculateTotal(){const t=this._cachedMeta,n=t.data;let A=0,r;for(r=0;r<n.length;r++){const i=t._parsed[r];i!==null&&!isNaN(i)&&this.chart.getDataVisibility(r)&&!n[r].hidden&&(A+=Math.abs(i))}return A}calculateCircumference(t){const n=this._cachedMeta.total;return n>0&&!isNaN(t)?En*(Math.abs(t)/n):0}getLabelAndValue(t){const n=this._cachedMeta,A=this.chart,r=A.data.labels||[],i=wu(n._parsed[t],A.options.locale);return{label:r[t]||"",value:i}}getMaxBorderWidth(t){let n=0;const A=this.chart;let r,i,s,o,a;if(!t){for(r=0,i=A.data.datasets.length;r<i;++r)if(A.isDatasetVisible(r)){s=A.getDatasetMeta(r),t=s.data,o=s.controller;break}}if(!t)return 0;for(r=0,i=t.length;r<i;++r)a=o.resolveDataElementOptions(r),a.borderAlign!=="inner"&&(n=Math.max(n,a.borderWidth||0,a.hoverBorderWidth||0));return n}getMaxOffset(t){let n=0;for(let A=0,r=t.length;A<r;++A){const i=this.resolveDataElementOptions(A);n=Math.max(n,i.offset||0,i.hoverOffset||0)}return n}_getRingWeightOffset(t){let n=0;for(let A=0;A<t;++A)this.chart.isDatasetVisible(A)&&(n+=this._getRingWeight(A));return n}_getRingWeight(t){return Math.max(Ve(this.chart.data.datasets[t].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}class oM extends Po{static id="line";static defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const n=this._cachedMeta,{dataset:A,data:r=[],_dataset:i}=n,s=this.chart._animationsDisabled;let{start:o,count:a}=uC(n,r,s);this._drawStart=o,this._drawCount=a,fC(n)&&(o=0,a=r.length),A._chart=this.chart,A._datasetIndex=this.index,A._decimated=!!i._decimated,A.points=r;const l=this.resolveDatasetElementOptions(t);this.options.showLine||(l.borderWidth=0),l.segment=this.options.segment,this.updateElement(A,void 0,{animated:!s,options:l},t),this.updateElements(r,o,a,t)}updateElements(t,n,A,r){const i=r==="reset",{iScale:s,vScale:o,_stacked:a,_dataset:l}=this._cachedMeta,{sharedOptions:u,includeOptions:h}=this._getSharedOptions(n,r),w=s.axis,p=o.axis,{spanGaps:y,segment:v}=this.options,C=Sl(y)?y:Number.POSITIVE_INFINITY,_=this.chart._animationsDisabled||i||r==="none",S=n+A,M=t.length;let T=n>0&&this.getParsed(n-1);for(let V=0;V<M;++V){const B=t[V],G=_?B:{};if(V<n||V>=S){G.skip=!0;continue}const z=this.getParsed(V),H=$e(z[p]),ot=G[w]=s.getPixelForValue(z[w],V),N=G[p]=i||H?o.getBasePixel():o.getPixelForValue(a?this.applyStack(o,z,a):z[p],V);G.skip=isNaN(ot)||isNaN(N)||H,G.stop=V>0&&Math.abs(z[w]-T[w])>C,v&&(G.parsed=z,G.raw=l.data[V]),h&&(G.options=u||this.resolveDataElementOptions(V,B.active?"active":r)),_||this.updateElement(B,V,G,r),T=z}}getMaxOverflow(){const t=this._cachedMeta,n=t.dataset,A=n.options&&n.options.borderWidth||0,r=t.data||[];if(!r.length)return A;const i=r[0].size(this.resolveDataElementOptions(0)),s=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(A,i,s)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}class LC extends Po{static id="polarArea";static defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const n=t.data;if(n.labels.length&&n.datasets.length){const{labels:{pointStyle:A,color:r}}=t.legend.options;return n.labels.map((i,s)=>{const a=t.getDatasetMeta(0).controller.getStyle(s);return{text:i,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,fontColor:r,lineWidth:a.borderWidth,pointStyle:A,hidden:!t.getDataVisibility(s),index:s}})}return[]}},onClick(t,n,A){A.chart.toggleDataVisibility(n.index),A.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(t,n){super(t,n),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const n=this._cachedMeta,A=this.chart,r=A.data.labels||[],i=wu(n._parsed[t].r,A.options.locale);return{label:r[t]||"",value:i}}parseObjectData(t,n,A,r){return bC.bind(this)(t,n,A,r)}update(t){const n=this._cachedMeta.data;this._updateRadius(),this.updateElements(n,0,n.length,t)}getMinMax(){const t=this._cachedMeta,n={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach((A,r)=>{const i=this.getParsed(r).r;!isNaN(i)&&this.chart.getDataVisibility(r)&&(i<n.min&&(n.min=i),i>n.max&&(n.max=i))}),n}_updateRadius(){const t=this.chart,n=t.chartArea,A=t.options,r=Math.min(n.right-n.left,n.bottom-n.top),i=Math.max(r/2,0),s=Math.max(A.cutoutPercentage?i/100*A.cutoutPercentage:1,0),o=(i-s)/t.getVisibleDatasetCount();this.outerRadius=i-o*this.index,this.innerRadius=this.outerRadius-o}updateElements(t,n,A,r){const i=r==="reset",s=this.chart,a=s.options.animation,l=this._cachedMeta.rScale,u=l.xCenter,h=l.yCenter,w=l.getIndexAngle(0)-.5*sn;let p=w,y;const v=360/this.countVisibleElements();for(y=0;y<n;++y)p+=this._computeAngle(y,r,v);for(y=n;y<n+A;y++){const C=t[y];let _=p,S=p+this._computeAngle(y,r,v),M=s.getDataVisibility(y)?l.getDistanceFromCenterForValue(this.getParsed(y).r):0;p=S,i&&(a.animateScale&&(M=0),a.animateRotate&&(_=S=w));const T={x:u,y:h,innerRadius:0,outerRadius:M,startAngle:_,endAngle:S,options:this.resolveDataElementOptions(y,C.active?"active":r)};this.updateElement(C,y,T,r)}}countVisibleElements(){const t=this._cachedMeta;let n=0;return t.data.forEach((A,r)=>{!isNaN(this.getParsed(r).r)&&this.chart.getDataVisibility(r)&&n++}),n}_computeAngle(t,n,A){return this.chart.getDataVisibility(t)?xi(this.resolveDataElementOptions(t,n).angle||A):0}}class aM extends vw{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}}class lM extends Po{static id="radar";static defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};static overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};getLabelAndValue(t){const n=this._cachedMeta.vScale,A=this.getParsed(t);return{label:n.getLabels()[t],value:""+n.getLabelForValue(A[n.axis])}}parseObjectData(t,n,A,r){return bC.bind(this)(t,n,A,r)}update(t){const n=this._cachedMeta,A=n.dataset,r=n.data||[],i=n.iScale.getLabels();if(A.points=r,t!=="resize"){const s=this.resolveDatasetElementOptions(t);this.options.showLine||(s.borderWidth=0);const o={_loop:!0,_fullLoop:i.length===r.length,options:s};this.updateElement(A,void 0,o,t)}this.updateElements(r,0,r.length,t)}updateElements(t,n,A,r){const i=this._cachedMeta.rScale,s=r==="reset";for(let o=n;o<n+A;o++){const a=t[o],l=this.resolveDataElementOptions(o,a.active?"active":r),u=i.getPointPositionForValue(o,this.getParsed(o).r),h=s?i.xCenter:u.x,w=s?i.yCenter:u.y,p={x:h,y:w,angle:u.angle,skip:isNaN(h)||isNaN(w),options:l};this.updateElement(a,o,p,r)}}}class cM extends Po{static id="scatter";static defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1};static overrides={interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}};getLabelAndValue(t){const n=this._cachedMeta,A=this.chart.data.labels||[],{xScale:r,yScale:i}=n,s=this.getParsed(t),o=r.getLabelForValue(s.x),a=i.getLabelForValue(s.y);return{label:A[t]||"",value:"("+o+", "+a+")"}}update(t){const n=this._cachedMeta,{data:A=[]}=n,r=this.chart._animationsDisabled;let{start:i,count:s}=uC(n,A,r);if(this._drawStart=i,this._drawCount=s,fC(n)&&(i=0,s=A.length),this.options.showLine){this.datasetElementType||this.addElements();const{dataset:o,_dataset:a}=n;o._chart=this.chart,o._datasetIndex=this.index,o._decimated=!!a._decimated,o.points=A;const l=this.resolveDatasetElementOptions(t);l.segment=this.options.segment,this.updateElement(o,void 0,{animated:!r,options:l},t)}else this.datasetElementType&&(delete n.dataset,this.datasetElementType=!1);this.updateElements(A,i,s,t)}addElements(){const{showLine:t}=this.options;!this.datasetElementType&&t&&(this.datasetElementType=this.chart.registry.getElement("line")),super.addElements()}updateElements(t,n,A,r){const i=r==="reset",{iScale:s,vScale:o,_stacked:a,_dataset:l}=this._cachedMeta,u=this.resolveDataElementOptions(n,r),h=this.getSharedOptions(u),w=this.includeOptions(r,h),p=s.axis,y=o.axis,{spanGaps:v,segment:C}=this.options,_=Sl(v)?v:Number.POSITIVE_INFINITY,S=this.chart._animationsDisabled||i||r==="none";let M=n>0&&this.getParsed(n-1);for(let T=n;T<n+A;++T){const V=t[T],B=this.getParsed(T),G=S?V:{},z=$e(B[y]),H=G[p]=s.getPixelForValue(B[p],T),ot=G[y]=i||z?o.getBasePixel():o.getPixelForValue(a?this.applyStack(o,B,a):B[y],T);G.skip=isNaN(H)||isNaN(ot)||z,G.stop=T>0&&Math.abs(B[p]-M[p])>_,C&&(G.parsed=B,G.raw=l.data[T]),w&&(G.options=h||this.resolveDataElementOptions(T,V.active?"active":r)),S||this.updateElement(V,T,G,r),M=B}this.updateSharedOptions(h,r,u)}getMaxOverflow(){const t=this._cachedMeta,n=t.data||[];if(!this.options.showLine){let o=0;for(let a=n.length-1;a>=0;--a)o=Math.max(o,n[a].size(this.resolveDataElementOptions(a))/2);return o>0&&o}const A=t.dataset,r=A.options&&A.options.borderWidth||0;if(!n.length)return r;const i=n[0].size(this.resolveDataElementOptions(0)),s=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(r,i,s)/2}}var uM=Object.freeze({__proto__:null,BarController:rM,BubbleController:iM,DoughnutController:vw,LineController:oM,PieController:aM,PolarAreaController:LC,RadarController:lM,ScatterController:cM});function ra(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class yw{static override(t){Object.assign(yw.prototype,t)}options;constructor(t){this.options=t||{}}init(){}formats(){return ra()}parse(){return ra()}format(){return ra()}add(){return ra()}diff(){return ra()}startOf(){return ra()}endOf(){return ra()}}var fM={_date:yw};function hM(e,t,n,A){const{controller:r,data:i,_sorted:s}=e,o=r._cachedMeta.iScale,a=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null;if(o&&t===o.axis&&t!=="r"&&s&&i.length){const l=o._reversePixels?QP:Qs;if(A){if(r._sharedOptions){const u=i[0],h=typeof u.getRange=="function"&&u.getRange(t);if(h){const w=l(i,t,n-h),p=l(i,t,n+h);return{lo:w.lo,hi:p.hi}}}}else{const u=l(i,t,n);if(a){const{vScale:h}=r._cachedMeta,{_parsed:w}=e,p=w.slice(0,u.lo+1).reverse().findIndex(v=>!$e(v[h.axis]));u.lo-=Math.max(0,p);const y=w.slice(u.hi).findIndex(v=>!$e(v[h.axis]));u.hi+=Math.max(0,y)}return u}}return{lo:0,hi:i.length-1}}function hd(e,t,n,A,r){const i=e.getSortedVisibleDatasetMetas(),s=n[t];for(let o=0,a=i.length;o<a;++o){const{index:l,data:u}=i[o],{lo:h,hi:w}=hM(i[o],t,s,r);for(let p=h;p<=w;++p){const y=u[p];y.skip||A(y,l,p)}}}function dM(e){const t=e.indexOf("x")!==-1,n=e.indexOf("y")!==-1;return function(A,r){const i=t?Math.abs(A.x-r.x):0,s=n?Math.abs(A.y-r.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(s,2))}}function Dp(e,t,n,A,r){const i=[];return!r&&!e.isPointInArea(t)||hd(e,n,t,function(o,a,l){!r&&!Ss(o,e.chartArea,0)||o.inRange(t.x,t.y,A)&&i.push({element:o,datasetIndex:a,index:l})},!0),i}function pM(e,t,n,A){let r=[];function i(s,o,a){const{startAngle:l,endAngle:u}=s.getProps(["startAngle","endAngle"],A),{angle:h}=sC(s,{x:t.x,y:t.y});Yc(h,l,u)&&r.push({element:s,datasetIndex:o,index:a})}return hd(e,n,t,i),r}function gM(e,t,n,A,r,i){let s=[];const o=dM(n);let a=Number.POSITIVE_INFINITY;function l(u,h,w){const p=u.inRange(t.x,t.y,r);if(A&&!p)return;const y=u.getCenterPoint(r);if(!(!!i||e.isPointInArea(y))&&!p)return;const C=o(t,y);C<a?(s=[{element:u,datasetIndex:h,index:w}],a=C):C===a&&s.push({element:u,datasetIndex:h,index:w})}return hd(e,n,t,l),s}function Rp(e,t,n,A,r,i){return!i&&!e.isPointInArea(t)?[]:n==="r"&&!A?pM(e,t,n,r):gM(e,t,n,A,r,i)}function TB(e,t,n,A,r){const i=[],s=n==="x"?"inXRange":"inYRange";let o=!1;return hd(e,n,t,(a,l,u)=>{a[s]&&a[s](t[n],r)&&(i.push({element:a,datasetIndex:l,index:u}),o=o||a.inRange(t.x,t.y,r))}),A&&!o?[]:i}var wM={modes:{index(e,t,n,A){const r=aa(t,e),i=n.axis||"x",s=n.includeInvisible||!1,o=n.intersect?Dp(e,r,i,A,s):Rp(e,r,i,!1,A,s),a=[];return o.length?(e.getSortedVisibleDatasetMetas().forEach(l=>{const u=o[0].index,h=l.data[u];h&&!h.skip&&a.push({element:h,datasetIndex:l.index,index:u})}),a):[]},dataset(e,t,n,A){const r=aa(t,e),i=n.axis||"xy",s=n.includeInvisible||!1;let o=n.intersect?Dp(e,r,i,A,s):Rp(e,r,i,!1,A,s);if(o.length>0){const a=o[0].datasetIndex,l=e.getDatasetMeta(a).data;o=[];for(let u=0;u<l.length;++u)o.push({element:l[u],datasetIndex:a,index:u})}return o},point(e,t,n,A){const r=aa(t,e),i=n.axis||"xy",s=n.includeInvisible||!1;return Dp(e,r,i,A,s)},nearest(e,t,n,A){const r=aa(t,e),i=n.axis||"xy",s=n.includeInvisible||!1;return Rp(e,r,i,n.intersect,A,s)},x(e,t,n,A){const r=aa(t,e);return TB(e,r,"x",n.intersect,A)},y(e,t,n,A){const r=aa(t,e);return TB(e,r,"y",n.intersect,A)}}};const IC=["left","top","right","bottom"];function uc(e,t){return e.filter(n=>n.pos===t)}function NB(e,t){return e.filter(n=>IC.indexOf(n.pos)===-1&&n.box.axis===t)}function fc(e,t){return e.sort((n,A)=>{const r=t?A:n,i=t?n:A;return r.weight===i.weight?r.index-i.index:r.weight-i.weight})}function mM(e){const t=[];let n,A,r,i,s,o;for(n=0,A=(e||[]).length;n<A;++n)r=e[n],{position:i,options:{stack:s,stackWeight:o=1}}=r,t.push({index:n,box:r,pos:i,horizontal:r.isHorizontal(),weight:r.weight,stack:s&&i+s,stackWeight:o});return t}function BM(e){const t={};for(const n of e){const{stack:A,pos:r,stackWeight:i}=n;if(!A||!IC.includes(r))continue;const s=t[A]||(t[A]={count:0,placed:0,weight:0,size:0});s.count++,s.weight+=i}return t}function bM(e,t){const n=BM(e),{vBoxMaxWidth:A,hBoxMaxHeight:r}=t;let i,s,o;for(i=0,s=e.length;i<s;++i){o=e[i];const{fullSize:a}=o.box,l=n[o.stack],u=l&&o.stackWeight/l.weight;o.horizontal?(o.width=u?u*A:a&&t.availableWidth,o.height=r):(o.width=A,o.height=u?u*r:a&&t.availableHeight)}return n}function vM(e){const t=mM(e),n=fc(t.filter(l=>l.box.fullSize),!0),A=fc(uc(t,"left"),!0),r=fc(uc(t,"right")),i=fc(uc(t,"top"),!0),s=fc(uc(t,"bottom")),o=NB(t,"x"),a=NB(t,"y");return{fullSize:n,leftAndTop:A.concat(i),rightAndBottom:r.concat(a).concat(s).concat(o),chartArea:uc(t,"chartArea"),vertical:A.concat(r).concat(a),horizontal:i.concat(s).concat(o)}}function OB(e,t,n,A){return Math.max(e[n],t[n])+Math.max(e[A],t[A])}function kC(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function yM(e,t,n,A){const{pos:r,box:i}=n,s=e.maxPadding;if(!Ze(r)){n.size&&(e[r]-=n.size);const h=A[n.stack]||{size:0,count:1};h.size=Math.max(h.size,n.horizontal?i.height:i.width),n.size=h.size/h.count,e[r]+=n.size}i.getPadding&&kC(s,i.getPadding());const o=Math.max(0,t.outerWidth-OB(s,e,"left","right")),a=Math.max(0,t.outerHeight-OB(s,e,"top","bottom")),l=o!==e.w,u=a!==e.h;return e.w=o,e.h=a,n.horizontal?{same:l,other:u}:{same:u,other:l}}function xM(e){const t=e.maxPadding;function n(A){const r=Math.max(t[A]-e[A],0);return e[A]+=r,r}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}function CM(e,t){const n=t.maxPadding;function A(r){const i={left:0,top:0,right:0,bottom:0};return r.forEach(s=>{i[s]=Math.max(t[s],n[s])}),i}return A(e?["left","right"]:["top","bottom"])}function _c(e,t,n,A){const r=[];let i,s,o,a,l,u;for(i=0,s=e.length,l=0;i<s;++i){o=e[i],a=o.box,a.update(o.width||t.w,o.height||t.h,CM(o.horizontal,t));const{same:h,other:w}=yM(t,n,o,A);l|=h&&r.length,u=u||w,a.fullSize||r.push(o)}return l&&_c(r,t,n,A)||u}function Ef(e,t,n,A,r){e.top=n,e.left=t,e.right=t+A,e.bottom=n+r,e.width=A,e.height=r}function HB(e,t,n,A){const r=n.padding;let{x:i,y:s}=t;for(const o of e){const a=o.box,l=A[o.stack]||{placed:0,weight:1},u=o.stackWeight/l.weight||1;if(o.horizontal){const h=t.w*u,w=l.size||a.height;$c(l.start)&&(s=l.start),a.fullSize?Ef(a,r.left,s,n.outerWidth-r.right-r.left,w):Ef(a,t.left+l.placed,s,h,w),l.start=s,l.placed+=h,s=a.bottom}else{const h=t.h*u,w=l.size||a.width;$c(l.start)&&(i=l.start),a.fullSize?Ef(a,i,r.top,w,n.outerHeight-r.bottom-r.top):Ef(a,i,t.top+l.placed,w,h),l.start=i,l.placed+=h,i=a.right}}t.x=i,t.y=s}var WA={addBox(e,t){e.boxes||(e.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(n){t.draw(n)}}]},e.boxes.push(t)},removeBox(e,t){const n=e.boxes?e.boxes.indexOf(t):-1;n!==-1&&e.boxes.splice(n,1)},configure(e,t,n){t.fullSize=n.fullSize,t.position=n.position,t.weight=n.weight},update(e,t,n,A){if(!e)return;const r=zA(e.options.layout.padding),i=Math.max(t-r.width,0),s=Math.max(n-r.height,0),o=vM(e.boxes),a=o.vertical,l=o.horizontal;dn(e.boxes,v=>{typeof v.beforeLayout=="function"&&v.beforeLayout()});const u=a.reduce((v,C)=>C.box.options&&C.box.options.display===!1?v:v+1,0)||1,h=Object.freeze({outerWidth:t,outerHeight:n,padding:r,availableWidth:i,availableHeight:s,vBoxMaxWidth:i/2/u,hBoxMaxHeight:s/2}),w=Object.assign({},r);kC(w,zA(A));const p=Object.assign({maxPadding:w,w:i,h:s,x:r.left,y:r.top},r),y=bM(a.concat(l),h);_c(o.fullSize,p,h,y),_c(a,p,h,y),_c(l,p,h,y)&&_c(a,p,h,y),xM(p),HB(o.leftAndTop,p,h,y),p.x+=p.w,p.y+=p.h,HB(o.rightAndBottom,p,h,y),e.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h,height:p.h,width:p.w},dn(o.chartArea,v=>{const C=v.box;Object.assign(C,e.chartArea),C.update(p.w,p.h,{left:0,top:0,right:0,bottom:0})})}};class TC{acquireContext(t,n){}releaseContext(t){return!1}addEventListener(t,n,A){}removeEventListener(t,n,A){}getDevicePixelRatio(){return 1}getMaximumSize(t,n,A,r){return n=Math.max(0,n||t.width),A=A||t.height,{width:n,height:Math.max(0,r?Math.floor(n/r):A)}}isAttached(t){return!0}updateConfig(t){}}class FM extends TC{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const Xf="$chartjs",_M={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},PB=e=>e===null||e==="";function EM(e,t){const n=e.style,A=e.getAttribute("height"),r=e.getAttribute("width");if(e[Xf]={initial:{height:A,width:r,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",PB(r)){const i=vB(e,"width");i!==void 0&&(e.width=i)}if(PB(A))if(e.style.height==="")e.height=e.width/(t||2);else{const i=vB(e,"height");i!==void 0&&(e.height=i)}return e}const NC=y8?{passive:!0}:!1;function UM(e,t,n){e&&e.addEventListener(t,n,NC)}function QM(e,t,n){e&&e.canvas&&e.canvas.removeEventListener(t,n,NC)}function SM(e,t){const n=_M[e.type]||e.type,{x:A,y:r}=aa(e,t);return{type:n,chart:t,native:e,x:A!==void 0?A:null,y:r!==void 0?r:null}}function Sh(e,t){for(const n of e)if(n===t||n.contains(t))return!0}function LM(e,t,n){const A=e.canvas,r=new MutationObserver(i=>{let s=!1;for(const o of i)s=s||Sh(o.addedNodes,A),s=s&&!Sh(o.removedNodes,A);s&&n()});return r.observe(document,{childList:!0,subtree:!0}),r}function IM(e,t,n){const A=e.canvas,r=new MutationObserver(i=>{let s=!1;for(const o of i)s=s||Sh(o.removedNodes,A),s=s&&!Sh(o.addedNodes,A);s&&n()});return r.observe(document,{childList:!0,subtree:!0}),r}const Zc=new Map;let MB=0;function OC(){const e=window.devicePixelRatio;e!==MB&&(MB=e,Zc.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function kM(e,t){Zc.size||window.addEventListener("resize",OC),Zc.set(e,t)}function TM(e){Zc.delete(e),Zc.size||window.removeEventListener("resize",OC)}function NM(e,t,n){const A=e.canvas,r=A&&bw(A);if(!r)return;const i=cC((o,a)=>{const l=r.clientWidth;n(o,a),l<r.clientWidth&&n()},window),s=new ResizeObserver(o=>{const a=o[0],l=a.contentRect.width,u=a.contentRect.height;l===0&&u===0||i(l,u)});return s.observe(r),kM(e,i),s}function Kp(e,t,n){n&&n.disconnect(),t==="resize"&&TM(e)}function OM(e,t,n){const A=e.canvas,r=cC(i=>{e.ctx!==null&&n(SM(i,e))},e);return UM(A,t,r),r}class HM extends TC{acquireContext(t,n){const A=t&&t.getContext&&t.getContext("2d");return A&&A.canvas===t?(EM(t,n),A):null}releaseContext(t){const n=t.canvas;if(!n[Xf])return!1;const A=n[Xf].initial;["height","width"].forEach(i=>{const s=A[i];$e(s)?n.removeAttribute(i):n.setAttribute(i,s)});const r=A.style||{};return Object.keys(r).forEach(i=>{n.style[i]=r[i]}),n.width=n.width,delete n[Xf],!0}addEventListener(t,n,A){this.removeEventListener(t,n);const r=t.$proxies||(t.$proxies={}),s={attach:LM,detach:IM,resize:NM}[n]||OM;r[n]=s(t,n,A)}removeEventListener(t,n){const A=t.$proxies||(t.$proxies={}),r=A[n];if(!r)return;({attach:Kp,detach:Kp,resize:Kp}[n]||QM)(t,n,r),A[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,n,A,r){return v8(t,n,A,r)}isAttached(t){const n=t&&bw(t);return!!(n&&n.isConnected)}}function PM(e){return!Bw()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?FM:HM}let Os=class{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(t){const{x:n,y:A}=this.getProps(["x","y"],t);return{x:n,y:A}}hasValue(){return Sl(this.x)&&Sl(this.y)}getProps(t,n){const A=this.$animations;if(!n||!A)return this;const r={};return t.forEach(i=>{r[i]=A[i]&&A[i].active()?A[i]._to:this[i]}),r}};function MM(e,t){const n=e.options.ticks,A=DM(e),r=Math.min(n.maxTicksLimit||A,A),i=n.major.enabled?KM(t):[],s=i.length,o=i[0],a=i[s-1],l=[];if(s>r)return jM(t,l,i,s/r),l;const u=RM(i,t,r);if(s>0){let h,w;const p=s>1?Math.round((a-o)/(s-1)):null;for(Uf(t,l,u,$e(p)?0:o-p,o),h=0,w=s-1;h<w;h++)Uf(t,l,u,i[h],i[h+1]);return Uf(t,l,u,a,$e(p)?t.length:a+p),l}return Uf(t,l,u),l}function DM(e){const t=e.options.offset,n=e._tickSize(),A=e._length/n+(t?0:1),r=e._maxLength/n;return Math.floor(Math.min(A,r))}function RM(e,t,n){const A=VM(e),r=t.length/n;if(!A)return Math.max(r,1);const i=CP(A);for(let s=0,o=i.length-1;s<o;s++){const a=i[s];if(a>r)return a}return Math.max(r,1)}function KM(e){const t=[];let n,A;for(n=0,A=e.length;n<A;n++)e[n].major&&t.push(n);return t}function jM(e,t,n,A){let r=0,i=n[0],s;for(A=Math.ceil(A),s=0;s<e.length;s++)s===i&&(t.push(e[s]),r++,i=n[r*A])}function Uf(e,t,n,A,r){const i=Ve(A,0),s=Math.min(Ve(r,e.length),e.length);let o=0,a,l,u;for(n=Math.ceil(n),r&&(a=r-A,n=a/Math.floor(a/n)),u=i;u<0;)o++,u=Math.round(i+o*n);for(l=Math.max(i,0);l<s;l++)l===u&&(t.push(e[l]),o++,u=Math.round(i+o*n))}function VM(e){const t=e.length;let n,A;if(t<2)return!1;for(A=e[0],n=1;n<t;++n)if(e[n]-e[n-1]!==A)return!1;return A}const WM=e=>e==="left"?"right":e==="right"?"left":e,DB=(e,t,n)=>t==="top"||t==="left"?e[t]+n:e[t]-n,RB=(e,t)=>Math.min(t||e,e);function KB(e,t){const n=[],A=e.length/t,r=e.length;let i=0;for(;i<r;i+=A)n.push(e[Math.floor(i)]);return n}function qM(e,t,n){const A=e.ticks.length,r=Math.min(t,A-1),i=e._startPixel,s=e._endPixel,o=1e-6;let a=e.getPixelForTick(r),l;if(!(n&&(A===1?l=Math.max(a-i,s-a):t===0?l=(e.getPixelForTick(1)-a)/2:l=(a-e.getPixelForTick(r-1))/2,a+=r<t?l:-l,a<i-o||a>s+o)))return a}function zM(e,t){dn(e,n=>{const A=n.gc,r=A.length/2;let i;if(r>t){for(i=0;i<r;++i)delete n.data[A[i]];A.splice(0,r)}})}function hc(e){return e.drawTicks?e.tickLength:0}function jB(e,t){if(!e.display)return 0;const n=gA(e.font,t),A=zA(e.padding);return(Tn(e.text)?e.text.length:1)*n.lineHeight+A.height}function GM(e,t){return Ho(e,{scale:t,type:"scale"})}function XM(e,t,n){return Ho(e,{tick:n,index:t,type:"tick"})}function $M(e,t,n){let A=hw(e);return(n&&t!=="right"||!n&&t==="right")&&(A=WM(A)),A}function YM(e,t,n,A){const{top:r,left:i,bottom:s,right:o,chart:a}=e,{chartArea:l,scales:u}=a;let h=0,w,p,y;const v=s-r,C=o-i;if(e.isHorizontal()){if(p=RA(A,i,o),Ze(n)){const _=Object.keys(n)[0],S=n[_];y=u[_].getPixelForValue(S)+v-t}else n==="center"?y=(l.bottom+l.top)/2+v-t:y=DB(e,n,t);w=o-i}else{if(Ze(n)){const _=Object.keys(n)[0],S=n[_];p=u[_].getPixelForValue(S)-C+t}else n==="center"?p=(l.left+l.right)/2-C+t:p=DB(e,n,t);y=RA(A,s,r),h=n==="left"?-eA:eA}return{titleX:p,titleY:y,maxWidth:w,rotation:h}}class Ka extends Os{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,n){return t}getUserBounds(){let{_userMin:t,_userMax:n,_suggestedMin:A,_suggestedMax:r}=this;return t=kr(t,Number.POSITIVE_INFINITY),n=kr(n,Number.NEGATIVE_INFINITY),A=kr(A,Number.POSITIVE_INFINITY),r=kr(r,Number.NEGATIVE_INFINITY),{min:kr(t,A),max:kr(n,r),minDefined:Vn(t),maxDefined:Vn(n)}}getMinMax(t){let{min:n,max:A,minDefined:r,maxDefined:i}=this.getUserBounds(),s;if(r&&i)return{min:n,max:A};const o=this.getMatchingVisibleMetas();for(let a=0,l=o.length;a<l;++a)s=o[a].controller.getMinMax(this,t),r||(n=Math.min(n,s.min)),i||(A=Math.max(A,s.max));return n=i&&n>A?A:n,A=r&&n>A?n:A,{min:kr(n,kr(A,n)),max:kr(A,kr(n,A))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){yn(this.options.beforeUpdate,[this])}update(t,n,A){const{beginAtZero:r,grace:i,ticks:s}=this.options,o=s.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=n,this._margins=A=Object.assign({left:0,right:0,top:0,bottom:0},A),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+A.left+A.right:this.height+A.top+A.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=ZP(this,i,r),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const a=o<this.ticks.length;this._convertTicksToLabels(a?KB(this.ticks,o):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),s.display&&(s.autoSkip||s.source==="auto")&&(this.ticks=MM(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),a&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t=this.options.reverse,n,A;this.isHorizontal()?(n=this.left,A=this.right):(n=this.top,A=this.bottom,t=!t),this._startPixel=n,this._endPixel=A,this._reversePixels=t,this._length=A-n,this._alignToPixels=this.options.alignToPixels}afterUpdate(){yn(this.options.afterUpdate,[this])}beforeSetDimensions(){yn(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){yn(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),yn(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){yn(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const n=this.options.ticks;let A,r,i;for(A=0,r=t.length;A<r;A++)i=t[A],i.label=yn(n.callback,[i.value,A,t],this)}afterTickToLabelConversion(){yn(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){yn(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,n=t.ticks,A=RB(this.ticks.length,t.ticks.maxTicksLimit),r=n.minRotation||0,i=n.maxRotation;let s=r,o,a,l;if(!this._isVisible()||!n.display||r>=i||A<=1||!this.isHorizontal()){this.labelRotation=r;return}const u=this._getLabelSizes(),h=u.widest.width,w=u.highest.height,p=bA(this.chart.width-h,0,this.maxWidth);o=t.offset?this.maxWidth/A:p/(A-1),h+6>o&&(o=p/(A-(t.offset?.5:1)),a=this.maxHeight-hc(t.grid)-n.padding-jB(t.title,this.chart.options.font),l=Math.sqrt(h*h+w*w),s=uw(Math.min(Math.asin(bA((u.highest.height+6)/o,-1,1)),Math.asin(bA(a/l,-1,1))-Math.asin(bA(w/l,-1,1)))),s=Math.max(r,Math.min(i,s))),this.labelRotation=s}afterCalculateLabelRotation(){yn(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){yn(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:n,options:{ticks:A,title:r,grid:i}}=this,s=this._isVisible(),o=this.isHorizontal();if(s){const a=jB(r,n.options.font);if(o?(t.width=this.maxWidth,t.height=hc(i)+a):(t.height=this.maxHeight,t.width=hc(i)+a),A.display&&this.ticks.length){const{first:l,last:u,widest:h,highest:w}=this._getLabelSizes(),p=A.padding*2,y=xi(this.labelRotation),v=Math.cos(y),C=Math.sin(y);if(o){const _=A.mirror?0:C*h.width+v*w.height;t.height=Math.min(this.maxHeight,t.height+_+p)}else{const _=A.mirror?0:v*h.width+C*w.height;t.width=Math.min(this.maxWidth,t.width+_+p)}this._calculatePadding(l,u,C,v)}}this._handleMargins(),o?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,n,A,r){const{ticks:{align:i,padding:s},position:o}=this.options,a=this.labelRotation!==0,l=o!=="top"&&this.axis==="x";if(this.isHorizontal()){const u=this.getPixelForTick(0)-this.left,h=this.right-this.getPixelForTick(this.ticks.length-1);let w=0,p=0;a?l?(w=r*t.width,p=A*n.height):(w=A*t.height,p=r*n.width):i==="start"?p=n.width:i==="end"?w=t.width:i!=="inner"&&(w=t.width/2,p=n.width/2),this.paddingLeft=Math.max((w-u+s)*this.width/(this.width-u),0),this.paddingRight=Math.max((p-h+s)*this.width/(this.width-h),0)}else{let u=n.height/2,h=t.height/2;i==="start"?(u=0,h=t.height):i==="end"&&(u=n.height,h=0),this.paddingTop=u+s,this.paddingBottom=h+s}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){yn(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:n}=this.options;return n==="top"||n==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let n,A;for(n=0,A=t.length;n<A;n++)$e(t[n].label)&&(t.splice(n,1),A--,n--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const n=this.options.ticks.sampleSize;let A=this.ticks;n<A.length&&(A=KB(A,n)),this._labelSizes=t=this._computeLabelSizes(A,A.length,this.options.ticks.maxTicksLimit)}return t}_computeLabelSizes(t,n,A){const{ctx:r,_longestTextCache:i}=this,s=[],o=[],a=Math.floor(n/RB(n,A));let l=0,u=0,h,w,p,y,v,C,_,S,M,T,V;for(h=0;h<n;h+=a){if(y=t[h].label,v=this._resolveTickFontOptions(h),r.font=C=v.string,_=i[C]=i[C]||{data:{},gc:[]},S=v.lineHeight,M=T=0,!$e(y)&&!Tn(y))M=Uh(r,_.data,_.gc,M,y),T=S;else if(Tn(y))for(w=0,p=y.length;w<p;++w)V=y[w],!$e(V)&&!Tn(V)&&(M=Uh(r,_.data,_.gc,M,V),T+=S);s.push(M),o.push(T),l=Math.max(M,l),u=Math.max(T,u)}zM(i,n);const B=s.indexOf(l),G=o.indexOf(u),z=H=>({width:s[H]||0,height:o[H]||0});return{first:z(0),last:z(n-1),widest:z(B),highest:z(G),widths:s,heights:o}}getLabelForValue(t){return t}getPixelForValue(t,n){return NaN}getValueForPixel(t){}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const n=this._startPixel+t*this._length;return UP(this._alignToPixels?Aa(this.chart,n,0):n)}getDecimalForPixel(t){const n=(t-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:n}=this;return t<0&&n<0?n:t>0&&n>0?t:0}getContext(t){const n=this.ticks||[];if(t>=0&&t<n.length){const A=n[t];return A.$context||(A.$context=XM(this.getContext(),t,A))}return this.$context||(this.$context=GM(this.chart.getContext(),this))}_tickSize(){const t=this.options.ticks,n=xi(this.labelRotation),A=Math.abs(Math.cos(n)),r=Math.abs(Math.sin(n)),i=this._getLabelSizes(),s=t.autoSkipPadding||0,o=i?i.widest.width+s:0,a=i?i.highest.height+s:0;return this.isHorizontal()?a*A>o*r?o/A:a/r:a*r<o*A?a/A:o/r}_isVisible(){const t=this.options.display;return t!=="auto"?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const n=this.axis,A=this.chart,r=this.options,{grid:i,position:s,border:o}=r,a=i.offset,l=this.isHorizontal(),h=this.ticks.length+(a?1:0),w=hc(i),p=[],y=o.setContext(this.getContext()),v=y.display?y.width:0,C=v/2,_=function(gt){return Aa(A,gt,v)};let S,M,T,V,B,G,z,H,ot,N,K,et;if(s==="top")S=_(this.bottom),G=this.bottom-w,H=S-C,N=_(t.top)+C,et=t.bottom;else if(s==="bottom")S=_(this.top),N=t.top,et=_(t.bottom)-C,G=S+C,H=this.top+w;else if(s==="left")S=_(this.right),B=this.right-w,z=S-C,ot=_(t.left)+C,K=t.right;else if(s==="right")S=_(this.left),ot=t.left,K=_(t.right)-C,B=S+C,z=this.left+w;else if(n==="x"){if(s==="center")S=_((t.top+t.bottom)/2+.5);else if(Ze(s)){const gt=Object.keys(s)[0],mt=s[gt];S=_(this.chart.scales[gt].getPixelForValue(mt))}N=t.top,et=t.bottom,G=S+C,H=G+w}else if(n==="y"){if(s==="center")S=_((t.left+t.right)/2);else if(Ze(s)){const gt=Object.keys(s)[0],mt=s[gt];S=_(this.chart.scales[gt].getPixelForValue(mt))}B=S-C,z=B-w,ot=t.left,K=t.right}const At=Ve(r.ticks.maxTicksLimit,h),pt=Math.max(1,Math.ceil(h/At));for(M=0;M<h;M+=pt){const gt=this.getContext(M),mt=i.setContext(gt),ht=o.setContext(gt),Ft=mt.lineWidth,Vt=mt.color,Ht=ht.dash||[],O=ht.dashOffset,X=mt.tickWidth,it=mt.tickColor,at=mt.tickBorderDash||[],ct=mt.tickBorderDashOffset;T=qM(this,M,a),T!==void 0&&(V=Aa(A,T,Ft),l?B=z=ot=K=V:G=H=N=et=V,p.push({tx1:B,ty1:G,tx2:z,ty2:H,x1:ot,y1:N,x2:K,y2:et,width:Ft,color:Vt,borderDash:Ht,borderDashOffset:O,tickWidth:X,tickColor:it,tickBorderDash:at,tickBorderDashOffset:ct}))}return this._ticksLength=h,this._borderValue=S,p}_computeLabelItems(t){const n=this.axis,A=this.options,{position:r,ticks:i}=A,s=this.isHorizontal(),o=this.ticks,{align:a,crossAlign:l,padding:u,mirror:h}=i,w=hc(A.grid),p=w+u,y=h?-u:p,v=-xi(this.labelRotation),C=[];let _,S,M,T,V,B,G,z,H,ot,N,K,et="middle";if(r==="top")B=this.bottom-y,G=this._getXAxisLabelAlignment();else if(r==="bottom")B=this.top+y,G=this._getXAxisLabelAlignment();else if(r==="left"){const pt=this._getYAxisLabelAlignment(w);G=pt.textAlign,V=pt.x}else if(r==="right"){const pt=this._getYAxisLabelAlignment(w);G=pt.textAlign,V=pt.x}else if(n==="x"){if(r==="center")B=(t.top+t.bottom)/2+p;else if(Ze(r)){const pt=Object.keys(r)[0],gt=r[pt];B=this.chart.scales[pt].getPixelForValue(gt)+p}G=this._getXAxisLabelAlignment()}else if(n==="y"){if(r==="center")V=(t.left+t.right)/2-p;else if(Ze(r)){const pt=Object.keys(r)[0],gt=r[pt];V=this.chart.scales[pt].getPixelForValue(gt)}G=this._getYAxisLabelAlignment(w).textAlign}n==="y"&&(a==="start"?et="top":a==="end"&&(et="bottom"));const At=this._getLabelSizes();for(_=0,S=o.length;_<S;++_){M=o[_],T=M.label;const pt=i.setContext(this.getContext(_));z=this.getPixelForTick(_)+i.labelOffset,H=this._resolveTickFontOptions(_),ot=H.lineHeight,N=Tn(T)?T.length:1;const gt=N/2,mt=pt.color,ht=pt.textStrokeColor,Ft=pt.textStrokeWidth;let Vt=G;s?(V=z,G==="inner"&&(_===S-1?Vt=this.options.reverse?"left":"right":_===0?Vt=this.options.reverse?"right":"left":Vt="center"),r==="top"?l==="near"||v!==0?K=-N*ot+ot/2:l==="center"?K=-At.highest.height/2-gt*ot+ot:K=-At.highest.height+ot/2:l==="near"||v!==0?K=ot/2:l==="center"?K=At.highest.height/2-gt*ot:K=At.highest.height-N*ot,h&&(K*=-1),v!==0&&!pt.showLabelBackdrop&&(V+=ot/2*Math.sin(v))):(B=z,K=(1-N)*ot/2);let Ht;if(pt.showLabelBackdrop){const O=zA(pt.backdropPadding),X=At.heights[_],it=At.widths[_];let at=K-O.top,ct=0-O.left;switch(et){case"middle":at-=X/2;break;case"bottom":at-=X;break}switch(G){case"center":ct-=it/2;break;case"right":ct-=it;break;case"inner":_===S-1?ct-=it:_>0&&(ct-=it/2);break}Ht={left:ct,top:at,width:it+O.width,height:X+O.height,color:pt.backdropColor}}C.push({label:T,font:H,textOffset:K,options:{rotation:v,color:mt,strokeColor:ht,strokeWidth:Ft,textAlign:Vt,textBaseline:et,translation:[V,B],backdrop:Ht}})}return C}_getXAxisLabelAlignment(){const{position:t,ticks:n}=this.options;if(-xi(this.labelRotation))return t==="top"?"left":"right";let r="center";return n.align==="start"?r="left":n.align==="end"?r="right":n.align==="inner"&&(r="inner"),r}_getYAxisLabelAlignment(t){const{position:n,ticks:{crossAlign:A,mirror:r,padding:i}}=this.options,s=this._getLabelSizes(),o=t+i,a=s.widest.width;let l,u;return n==="left"?r?(u=this.right+i,A==="near"?l="left":A==="center"?(l="center",u+=a/2):(l="right",u+=a)):(u=this.right-o,A==="near"?l="right":A==="center"?(l="center",u-=a/2):(l="left",u=this.left)):n==="right"?r?(u=this.left+i,A==="near"?l="right":A==="center"?(l="center",u-=a/2):(l="left",u-=a)):(u=this.left+o,A==="near"?l="left":A==="center"?(l="center",u+=a/2):(l="right",u=this.right)):l="right",{textAlign:l,x:u}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:t.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:t.width}}drawBackground(){const{ctx:t,options:{backgroundColor:n},left:A,top:r,width:i,height:s}=this;n&&(t.save(),t.fillStyle=n,t.fillRect(A,r,i,s),t.restore())}getLineWidthForValue(t){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const r=this.ticks.findIndex(i=>i.value===t);return r>=0?n.setContext(this.getContext(r)).lineWidth:0}drawGrid(t){const n=this.options.grid,A=this.ctx,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let i,s;const o=(a,l,u)=>{!u.width||!u.color||(A.save(),A.lineWidth=u.width,A.strokeStyle=u.color,A.setLineDash(u.borderDash||[]),A.lineDashOffset=u.borderDashOffset,A.beginPath(),A.moveTo(a.x,a.y),A.lineTo(l.x,l.y),A.stroke(),A.restore())};if(n.display)for(i=0,s=r.length;i<s;++i){const a=r[i];n.drawOnChartArea&&o({x:a.x1,y:a.y1},{x:a.x2,y:a.y2},a),n.drawTicks&&o({x:a.tx1,y:a.ty1},{x:a.tx2,y:a.ty2},{color:a.tickColor,width:a.tickWidth,borderDash:a.tickBorderDash,borderDashOffset:a.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:n,options:{border:A,grid:r}}=this,i=A.setContext(this.getContext()),s=A.display?i.width:0;if(!s)return;const o=r.setContext(this.getContext(0)).lineWidth,a=this._borderValue;let l,u,h,w;this.isHorizontal()?(l=Aa(t,this.left,s)-s/2,u=Aa(t,this.right,o)+o/2,h=w=a):(h=Aa(t,this.top,s)-s/2,w=Aa(t,this.bottom,o)+o/2,l=u=a),n.save(),n.lineWidth=i.width,n.strokeStyle=i.color,n.beginPath(),n.moveTo(l,h),n.lineTo(u,w),n.stroke(),n.restore()}drawLabels(t){if(!this.options.ticks.display)return;const A=this.ctx,r=this._computeLabelArea();r&&cd(A,r);const i=this.getLabelItems(t);for(const s of i){const o=s.options,a=s.font,l=s.label,u=s.textOffset;Oa(A,l,0,u,a,o)}r&&ud(A)}drawTitle(){const{ctx:t,options:{position:n,title:A,reverse:r}}=this;if(!A.display)return;const i=gA(A.font),s=zA(A.padding),o=A.align;let a=i.lineHeight/2;n==="bottom"||n==="center"||Ze(n)?(a+=s.bottom,Tn(A.text)&&(a+=i.lineHeight*(A.text.length-1))):a+=s.top;const{titleX:l,titleY:u,maxWidth:h,rotation:w}=YM(this,a,n,o);Oa(t,A.text,0,0,i,{color:A.color,maxWidth:h,rotation:w,textAlign:$M(o,n,r),textBaseline:"middle",translation:[l,u]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,n=t.ticks&&t.ticks.z||0,A=Ve(t.grid&&t.grid.z,-1),r=Ve(t.border&&t.border.z,0);return!this._isVisible()||this.draw!==Ka.prototype.draw?[{z:n,draw:i=>{this.draw(i)}}]:[{z:A,draw:i=>{this.drawBackground(),this.drawGrid(i),this.drawTitle()}},{z:r,draw:()=>{this.drawBorder()}},{z:n,draw:i=>{this.drawLabels(i)}}]}getMatchingVisibleMetas(t){const n=this.chart.getSortedVisibleDatasetMetas(),A=this.axis+"AxisID",r=[];let i,s;for(i=0,s=n.length;i<s;++i){const o=n[i];o[A]===this.id&&(!t||o.type===t)&&r.push(o)}return r}_resolveTickFontOptions(t){const n=this.options.ticks.setContext(this.getContext(t));return gA(n.font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class Qf{constructor(t,n,A){this.type=t,this.scope=n,this.override=A,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const n=Object.getPrototypeOf(t);let A;tD(n)&&(A=this.register(n));const r=this.items,i=t.id,s=this.scope+"."+i;if(!i)throw new Error("class does not have id: "+t);return i in r||(r[i]=t,JM(t,s,A),this.override&&Nn.override(t.id,t.overrides)),s}get(t){return this.items[t]}unregister(t){const n=this.items,A=t.id,r=this.scope;A in n&&delete n[A],r&&A in Nn[r]&&(delete Nn[r][A],this.override&&delete Na[A])}}function JM(e,t,n){const A=Xc(Object.create(null),[n?Nn.get(n):{},Nn.get(t),e.defaults]);Nn.set(t,A),e.defaultRoutes&&ZM(t,e.defaultRoutes),e.descriptors&&Nn.describe(t,e.descriptors)}function ZM(e,t){Object.keys(t).forEach(n=>{const A=n.split("."),r=A.pop(),i=[e].concat(A).join("."),s=t[n].split("."),o=s.pop(),a=s.join(".");Nn.route(i,r,a,o)})}function tD(e){return"id"in e&&"defaults"in e}class eD{constructor(){this.controllers=new Qf(Po,"datasets",!0),this.elements=new Qf(Os,"elements"),this.plugins=new Qf(Object,"plugins"),this.scales=new Qf(Ka,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,n,A){[...n].forEach(r=>{const i=A||this._getRegistryForType(r);A||i.isForType(r)||i===this.plugins&&r.id?this._exec(t,i,r):dn(r,s=>{const o=A||this._getRegistryForType(s);this._exec(t,o,s)})})}_exec(t,n,A){const r=cw(t);yn(A["before"+r],[],A),n[t](A),yn(A["after"+r],[],A)}_getRegistryForType(t){for(let n=0;n<this._typedRegistries.length;n++){const A=this._typedRegistries[n];if(A.isForType(t))return A}return this.plugins}_get(t,n,A){const r=n.get(t);if(r===void 0)throw new Error('"'+t+'" is not a registered '+A+".");return r}}var qi=new eD;class nD{constructor(){this._init=void 0}notify(t,n,A,r){if(n==="beforeInit"&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install")),this._init===void 0)return;const i=r?this._descriptors(t).filter(r):this._descriptors(t),s=this._notify(i,t,n,A);return n==="afterDestroy"&&(this._notify(i,t,"stop"),this._notify(this._init,t,"uninstall"),this._init=void 0),s}_notify(t,n,A,r){r=r||{};for(const i of t){const s=i.plugin,o=s[A],a=[n,r,i.options];if(yn(o,a,s)===!1&&r.cancelable)return!1}return!0}invalidate(){$e(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const n=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),n}_createDescriptors(t,n){const A=t&&t.config,r=Ve(A.options&&A.options.plugins,{}),i=AD(A);return r===!1&&!n?[]:iD(t,i,r,n)}_notifyStateChanges(t){const n=this._oldCache||[],A=this._cache,r=(i,s)=>i.filter(o=>!s.some(a=>o.plugin.id===a.plugin.id));this._notify(r(n,A),t,"stop"),this._notify(r(A,n),t,"start")}}function AD(e){const t={},n=[],A=Object.keys(qi.plugins.items);for(let i=0;i<A.length;i++)n.push(qi.getPlugin(A[i]));const r=e.plugins||[];for(let i=0;i<r.length;i++){const s=r[i];n.indexOf(s)===-1&&(n.push(s),t[s.id]=!0)}return{plugins:n,localIds:t}}function rD(e,t){return!t&&e===!1?null:e===!0?{}:e}function iD(e,{plugins:t,localIds:n},A,r){const i=[],s=e.getContext();for(const o of t){const a=o.id,l=rD(A[a],r);l!==null&&i.push({plugin:o,options:sD(e.config,{plugin:o,local:n[a]},l,s)})}return i}function sD(e,{plugin:t,local:n},A,r){const i=e.pluginScopeKeys(t),s=e.getOptionScopes(A,i);return n&&t.defaults&&s.push(t.defaults),e.createResolver(s,r,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Zg(e,t){const n=Nn.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||n.indexAxis||"x"}function oD(e,t){let n=e;return e==="_index_"?n=t:e==="_value_"&&(n=t==="x"?"y":"x"),n}function aD(e,t){return e===t?"_index_":"_value_"}function VB(e){if(e==="x"||e==="y"||e==="r")return e}function lD(e){if(e==="top"||e==="bottom")return"x";if(e==="left"||e==="right")return"y"}function t0(e,...t){if(VB(e))return e;for(const n of t){const A=n.axis||lD(n.position)||e.length>1&&VB(e[0].toLowerCase());if(A)return A}throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function WB(e,t,n){if(n[t+"AxisID"]===e)return{axis:t}}function cD(e,t){if(t.data&&t.data.datasets){const n=t.data.datasets.filter(A=>A.xAxisID===e||A.yAxisID===e);if(n.length)return WB(e,"x",n[0])||WB(e,"y",n[0])}return{}}function uD(e,t){const n=Na[e.type]||{scales:{}},A=t.scales||{},r=Zg(e.type,t),i=Object.create(null);return Object.keys(A).forEach(s=>{const o=A[s];if(!Ze(o))return console.error(`Invalid scale configuration for scale: ${s}`);if(o._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${s}`);const a=t0(s,o,cD(s,e),Nn.scales[o.type]),l=aD(a,r),u=n.scales||{};i[s]=Hc(Object.create(null),[{axis:a},o,u[a],u[l]])}),e.data.datasets.forEach(s=>{const o=s.type||e.type,a=s.indexAxis||Zg(o,t),u=(Na[o]||{}).scales||{};Object.keys(u).forEach(h=>{const w=oD(h,a),p=s[w+"AxisID"]||w;i[p]=i[p]||Object.create(null),Hc(i[p],[{axis:w},A[p],u[h]])})}),Object.keys(i).forEach(s=>{const o=i[s];Hc(o,[Nn.scales[o.type],Nn.scale])}),i}function HC(e){const t=e.options||(e.options={});t.plugins=Ve(t.plugins,{}),t.scales=uD(e,t)}function PC(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function fD(e){return e=e||{},e.data=PC(e.data),HC(e),e}const qB=new Map,MC=new Set;function Sf(e,t){let n=qB.get(e);return n||(n=t(),qB.set(e,n),MC.add(n)),n}const dc=(e,t,n)=>{const A=To(t,n);A!==void 0&&e.add(A)};class hD{constructor(t){this._config=fD(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=PC(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),HC(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return Sf(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,n){return Sf(`${t}.transition.${n}`,()=>[[`datasets.${t}.transitions.${n}`,`transitions.${n}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,n){return Sf(`${t}-${n}`,()=>[[`datasets.${t}.elements.${n}`,`datasets.${t}`,`elements.${n}`,""]])}pluginScopeKeys(t){const n=t.id,A=this.type;return Sf(`${A}-plugin-${n}`,()=>[[`plugins.${n}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,n){const A=this._scopeCache;let r=A.get(t);return(!r||n)&&(r=new Map,A.set(t,r)),r}getOptionScopes(t,n,A){const{options:r,type:i}=this,s=this._cachedScopes(t,A),o=s.get(n);if(o)return o;const a=new Set;n.forEach(u=>{t&&(a.add(t),u.forEach(h=>dc(a,t,h))),u.forEach(h=>dc(a,r,h)),u.forEach(h=>dc(a,Na[i]||{},h)),u.forEach(h=>dc(a,Nn,h)),u.forEach(h=>dc(a,Yg,h))});const l=Array.from(a);return l.length===0&&l.push(Object.create(null)),MC.has(n)&&s.set(n,l),l}chartOptionScopes(){const{options:t,type:n}=this;return[t,Na[n]||{},Nn.datasets[n]||{},{type:n},Nn,Yg]}resolveNamedOptions(t,n,A,r=[""]){const i={$shared:!0},{resolver:s,subPrefixes:o}=zB(this._resolverCache,t,r);let a=s;if(pD(s,n)){i.$shared=!1,A=No(A)?A():A;const l=this.createResolver(t,A,o);a=Ll(s,A,l)}for(const l of n)i[l]=a[l];return i}createResolver(t,n,A=[""],r){const{resolver:i}=zB(this._resolverCache,t,A);return Ze(n)?Ll(i,n,void 0,r):i}}function zB(e,t,n){let A=e.get(t);A||(A=new Map,e.set(t,A));const r=n.join();let i=A.get(r);return i||(i={resolver:gw(t,n),subPrefixes:n.filter(o=>!o.toLowerCase().includes("hover"))},A.set(r,i)),i}const dD=e=>Ze(e)&&Object.getOwnPropertyNames(e).some(t=>No(e[t]));function pD(e,t){const{isScriptable:n,isIndexable:A}=gC(e);for(const r of t){const i=n(r),s=A(r),o=(s||i)&&e[r];if(i&&(No(o)||dD(o))||s&&Tn(o))return!0}return!1}var gD="4.5.1";const wD=["top","bottom","left","right","chartArea"];function GB(e,t){return e==="top"||e==="bottom"||wD.indexOf(e)===-1&&t==="x"}function XB(e,t){return function(n,A){return n[e]===A[e]?n[t]-A[t]:n[e]-A[e]}}function $B(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),yn(n&&n.onComplete,[e],t)}function mD(e){const t=e.chart,n=t.options.animation;yn(n&&n.onProgress,[e],t)}function DC(e){return Bw()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const $f={},YB=e=>{const t=DC(e);return Object.values($f).filter(n=>n.canvas===t).pop()};function BD(e,t,n){const A=Object.keys(e);for(const r of A){const i=+r;if(i>=t){const s=e[r];delete e[r],(n>0||i>t)&&(e[i+n]=s)}}}function bD(e,t,n,A){return!n||e.type==="mouseout"?null:A?t:e}class xw{static defaults=Nn;static instances=$f;static overrides=Na;static registry=qi;static version=gD;static getChart=YB;static register(...t){qi.add(...t),JB()}static unregister(...t){qi.remove(...t),JB()}constructor(t,n){const A=this.config=new hD(n),r=DC(t),i=YB(r);if(i)throw new Error("Canvas is already in use. Chart with ID '"+i.id+"' must be destroyed before the canvas with ID '"+i.canvas.id+"' can be reused.");const s=A.createResolver(A.chartOptionScopes(),this.getContext());this.platform=new(A.platform||PM(r)),this.platform.updateConfig(A);const o=this.platform.acquireContext(r,s.aspectRatio),a=o&&o.canvas,l=a&&a.height,u=a&&a.width;if(this.id=pP(),this.ctx=o,this.canvas=a,this.width=u,this.height=l,this._options=s,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new nD,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=IP(h=>this.update(h),s.resizeDelay||0),this._dataChanges=[],$f[this.id]=this,!o||!a){console.error("Failed to create chart: can't acquire context from the given item");return}Cs.listen(this,"complete",$B),Cs.listen(this,"progress",mD),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:n},width:A,height:r,_aspectRatio:i}=this;return $e(t)?n&&i?i:r?A/r:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return qi}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():bB(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return wB(this.canvas,this.ctx),this}stop(){return Cs.stop(this),this}resize(t,n){Cs.running(this)?this._resizeBeforeDraw={width:t,height:n}:this._resize(t,n)}_resize(t,n){const A=this.options,r=this.canvas,i=A.maintainAspectRatio&&this.aspectRatio,s=this.platform.getMaximumSize(r,t,n,i),o=A.devicePixelRatio||this.platform.getDevicePixelRatio(),a=this.width?"resize":"attach";this.width=s.width,this.height=s.height,this._aspectRatio=this.aspectRatio,bB(this,o,!0)&&(this.notifyPlugins("resize",{size:s}),yn(A.onResize,[this,s],this),this.attached&&this._doResize(a)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};dn(n,(A,r)=>{A.id=r})}buildOrUpdateScales(){const t=this.options,n=t.scales,A=this.scales,r=Object.keys(A).reduce((s,o)=>(s[o]=!1,s),{});let i=[];n&&(i=i.concat(Object.keys(n).map(s=>{const o=n[s],a=t0(s,o),l=a==="r",u=a==="x";return{options:o,dposition:l?"chartArea":u?"bottom":"left",dtype:l?"radialLinear":u?"category":"linear"}}))),dn(i,s=>{const o=s.options,a=o.id,l=t0(a,o),u=Ve(o.type,s.dtype);(o.position===void 0||GB(o.position,l)!==GB(s.dposition))&&(o.position=s.dposition),r[a]=!0;let h=null;if(a in A&&A[a].type===u)h=A[a];else{const w=qi.getScale(u);h=new w({id:a,type:u,ctx:this.ctx,chart:this}),A[h.id]=h}h.init(o,t)}),dn(r,(s,o)=>{s||delete A[o]}),dn(A,s=>{WA.configure(this,s,s.options),WA.addBox(this,s)})}_updateMetasets(){const t=this._metasets,n=this.data.datasets.length,A=t.length;if(t.sort((r,i)=>r.index-i.index),A>n){for(let r=n;r<A;++r)this._destroyDatasetMeta(r);t.splice(n,A-n)}this._sortedMetasets=t.slice(0).sort(XB("order","index"))}_removeUnreferencedMetasets(){const{_metasets:t,data:{datasets:n}}=this;t.length>n.length&&delete this._stacks,t.forEach((A,r)=>{n.filter(i=>i===A._dataset).length===0&&this._destroyDatasetMeta(r)})}buildOrUpdateControllers(){const t=[],n=this.data.datasets;let A,r;for(this._removeUnreferencedMetasets(),A=0,r=n.length;A<r;A++){const i=n[A];let s=this.getDatasetMeta(A);const o=i.type||this.config.type;if(s.type&&s.type!==o&&(this._destroyDatasetMeta(A),s=this.getDatasetMeta(A)),s.type=o,s.indexAxis=i.indexAxis||Zg(o,this.options),s.order=i.order||0,s.index=A,s.label=""+i.label,s.visible=this.isDatasetVisible(A),s.controller)s.controller.updateIndex(A),s.controller.linkScales();else{const a=qi.getController(o),{datasetElementType:l,dataElementType:u}=Nn.datasets[o];Object.assign(a,{dataElementType:qi.getElement(u),datasetElementType:l&&qi.getElement(l)}),s.controller=new a(this,A),t.push(s.controller)}}return this._updateMetasets(),t}_resetElements(){dn(this.data.datasets,(t,n)=>{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const n=this.config;n.update();const A=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!A.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const i=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let s=0;for(let l=0,u=this.data.datasets.length;l<u;l++){const{controller:h}=this.getDatasetMeta(l),w=!r&&i.indexOf(h)===-1;h.buildOrUpdateElements(w),s=Math.max(+h.getMaxOverflow(),s)}s=this._minPadding=A.layout.autoPadding?s:0,this._updateLayout(s),r||dn(i,l=>{l.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(XB("z","_idx"));const{_active:o,_lastEvent:a}=this;a?this._eventHandler(a,!0):o.length&&this._updateHoverStyles(o,o,!0),this.render()}_updateScales(){dn(this.scales,t=>{WA.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,n=new Set(Object.keys(this._listeners)),A=new Set(t.events);(!aB(n,A)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,n=this._getUniformDataChanges()||[];for(const{method:A,start:r,count:i}of n){const s=A==="_removeElements"?-i:i;BD(t,r,s)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const n=this.data.datasets.length,A=i=>new Set(t.filter(s=>s[0]===i).map((s,o)=>o+","+s.splice(1).join(","))),r=A(0);for(let i=1;i<n;i++)if(!aB(r,A(i)))return;return Array.from(r).map(i=>i.split(",")).map(i=>({method:i[1],start:+i[2],count:+i[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;WA.update(this,this.width,this.height,t);const n=this.chartArea,A=n.width<=0||n.height<=0;this._layers=[],dn(this.boxes,r=>{A&&r.position==="chartArea"||(r.configure&&r.configure(),this._layers.push(...r._layers()))},this),this._layers.forEach((r,i)=>{r._idx=i}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let n=0,A=this.data.datasets.length;n<A;++n)this.getDatasetMeta(n).controller.configure();for(let n=0,A=this.data.datasets.length;n<A;++n)this._updateDataset(n,No(t)?t({datasetIndex:n}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,n){const A=this.getDatasetMeta(t),r={meta:A,index:t,mode:n,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",r)!==!1&&(A.controller._update(n),r.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",r))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(Cs.has(this)?this.attached&&!Cs.running(this)&&Cs.start(this):(this.draw(),$B({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){const{width:A,height:r}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(A,r)}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const n=this._layers;for(t=0;t<n.length&&n[t].z<=0;++t)n[t].draw(this.chartArea);for(this._drawDatasets();t<n.length;++t)n[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){const n=this._sortedMetasets,A=[];let r,i;for(r=0,i=n.length;r<i;++r){const s=n[r];(!t||s.visible)&&A.push(s)}return A}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const t=this.getSortedVisibleDatasetMetas();for(let n=t.length-1;n>=0;--n)this._drawDataset(t[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const n=this.ctx,A={meta:t,index:t.index,cancelable:!0},r=EC(this,t);this.notifyPlugins("beforeDatasetDraw",A)!==!1&&(r&&cd(n,r),t.controller.draw(),r&&ud(n),A.cancelable=!1,this.notifyPlugins("afterDatasetDraw",A))}isPointInArea(t){return Ss(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,n,A,r){const i=wM.modes[n];return typeof i=="function"?i(this,t,A,r):[]}getDatasetMeta(t){const n=this.data.datasets[t],A=this._metasets;let r=A.filter(i=>i&&i._dataset===n).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:t,_dataset:n,_parsed:[],_sorted:!1},A.push(r)),r}getContext(){return this.$context||(this.$context=Ho(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const n=this.data.datasets[t];if(!n)return!1;const A=this.getDatasetMeta(t);return typeof A.hidden=="boolean"?!A.hidden:!n.hidden}setDatasetVisibility(t,n){const A=this.getDatasetMeta(t);A.hidden=!n}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,n,A){const r=A?"show":"hide",i=this.getDatasetMeta(t),s=i.controller._resolveAnimations(void 0,r);$c(n)?(i.data[n].hidden=!A,this.update()):(this.setDatasetVisibility(t,A),s.update(i,{visible:A}),this.update(o=>o.datasetIndex===t?r:void 0))}hide(t,n){this._updateVisibility(t,n,!1)}show(t,n){this._updateVisibility(t,n,!0)}_destroyDatasetMeta(t){const n=this._metasets[t];n&&n.controller&&n.controller._destroy(),delete this._metasets[t]}_stop(){let t,n;for(this.stop(),Cs.remove(this),t=0,n=this.data.datasets.length;t<n;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:t,ctx:n}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),wB(t,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete $f[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const t=this._listeners,n=this.platform,A=(i,s)=>{n.addEventListener(this,i,s),t[i]=s},r=(i,s,o)=>{i.offsetX=s,i.offsetY=o,this._eventHandler(i)};dn(this.options.events,i=>A(i,r))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,n=this.platform,A=(a,l)=>{n.addEventListener(this,a,l),t[a]=l},r=(a,l)=>{t[a]&&(n.removeEventListener(this,a,l),delete t[a])},i=(a,l)=>{this.canvas&&this.resize(a,l)};let s;const o=()=>{r("attach",o),this.attached=!0,this.resize(),A("resize",i),A("detach",s)};s=()=>{this.attached=!1,r("resize",i),this._stop(),this._resize(0,0),A("attach",o)},n.isAttached(this.canvas)?o():s()}unbindEvents(){dn(this._listeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._listeners={},dn(this._responsiveListeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,n,A){const r=A?"set":"remove";let i,s,o,a;for(n==="dataset"&&(i=this.getDatasetMeta(t[0].datasetIndex),i.controller["_"+r+"DatasetHoverStyle"]()),o=0,a=t.length;o<a;++o){s=t[o];const l=s&&this.getDatasetMeta(s.datasetIndex).controller;l&&l[r+"HoverStyle"](s.element,s.datasetIndex,s.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const n=this._active||[],A=t.map(({datasetIndex:i,index:s})=>{const o=this.getDatasetMeta(i);if(!o)throw new Error("No dataset found at index "+i);return{datasetIndex:i,element:o.data[s],index:s}});!Fh(A,n)&&(this._active=A,this._lastEvent=null,this._updateHoverStyles(A,n))}notifyPlugins(t,n,A){return this._plugins.notify(this,t,n,A)}isPluginEnabled(t){return this._plugins._cache.filter(n=>n.plugin.id===t).length===1}_updateHoverStyles(t,n,A){const r=this.options.hover,i=(a,l)=>a.filter(u=>!l.some(h=>u.datasetIndex===h.datasetIndex&&u.index===h.index)),s=i(n,t),o=A?t:i(t,n);s.length&&this.updateHoverStyle(s,r.mode,!1),o.length&&r.mode&&this.updateHoverStyle(o,r.mode,!0)}_eventHandler(t,n){const A={event:t,replay:n,cancelable:!0,inChartArea:this.isPointInArea(t)},r=s=>(s.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",A,r)===!1)return;const i=this._handleEvent(t,n,A.inChartArea);return A.cancelable=!1,this.notifyPlugins("afterEvent",A,r),(i||A.changed)&&this.render(),this}_handleEvent(t,n,A){const{_active:r=[],options:i}=this,s=n,o=this._getActiveElements(t,r,A,s),a=vP(t),l=bD(t,this._lastEvent,A,a);A&&(this._lastEvent=null,yn(i.onHover,[t,o,this],this),a&&yn(i.onClick,[t,o,this],this));const u=!Fh(o,r);return(u||n)&&(this._active=o,this._updateHoverStyles(o,r,n)),this._lastEvent=l,u}_getActiveElements(t,n,A,r){if(t.type==="mouseout")return[];if(!A)return n;const i=this.options.hover;return this.getElementsAtEventForMode(t,i.mode,i,r)}}function JB(){return dn(xw.instances,e=>e._plugins.invalidate())}function vD(e,t,n){const{startAngle:A,x:r,y:i,outerRadius:s,innerRadius:o,options:a}=t,{borderWidth:l,borderJoinStyle:u}=a,h=Math.min(l/s,jA(A-n));if(e.beginPath(),e.arc(r,i,s-l/2,A+h/2,n-h/2),o>0){const w=Math.min(l/o,jA(A-n));e.arc(r,i,o+l/2,n-w/2,A+w/2,!0)}else{const w=Math.min(l/2,s*jA(A-n));if(u==="round")e.arc(r,i,w,n-sn/2,A+sn/2,!0);else if(u==="bevel"){const p=2*w*w,y=-p*Math.cos(n+sn/2)+r,v=-p*Math.sin(n+sn/2)+i,C=p*Math.cos(A+sn/2)+r,_=p*Math.sin(A+sn/2)+i;e.lineTo(y,v),e.lineTo(C,_)}}e.closePath(),e.moveTo(0,0),e.rect(0,0,e.canvas.width,e.canvas.height),e.clip("evenodd")}function yD(e,t,n){const{startAngle:A,pixelMargin:r,x:i,y:s,outerRadius:o,innerRadius:a}=t;let l=r/o;e.beginPath(),e.arc(i,s,o,A-l,n+l),a>r?(l=r/a,e.arc(i,s,a,n+l,A-l,!0)):e.arc(i,s,r,n+eA,A-eA),e.closePath(),e.clip()}function xD(e){return pw(e,["outerStart","outerEnd","innerStart","innerEnd"])}function CD(e,t,n,A){const r=xD(e.options.borderRadius),i=(n-t)/2,s=Math.min(i,A*t/2),o=a=>{const l=(n-Math.min(i,a))*A/2;return bA(a,0,Math.min(i,l))};return{outerStart:o(r.outerStart),outerEnd:o(r.outerEnd),innerStart:bA(r.innerStart,0,s),innerEnd:bA(r.innerEnd,0,s)}}function ll(e,t,n,A){return{x:n+e*Math.cos(t),y:A+e*Math.sin(t)}}function Lh(e,t,n,A,r,i){const{x:s,y:o,startAngle:a,pixelMargin:l,innerRadius:u}=t,h=Math.max(t.outerRadius+A+n-l,0),w=u>0?u+A+n+l:0;let p=0;const y=r-a;if(A){const pt=u>0?u-A:0,gt=h>0?h-A:0,mt=(pt+gt)/2,ht=mt!==0?y*mt/(mt+A):y;p=(y-ht)/2}const v=Math.max(.001,y*h-n/sn)/h,C=(y-v)/2,_=a+C+p,S=r-C-p,{outerStart:M,outerEnd:T,innerStart:V,innerEnd:B}=CD(t,w,h,S-_),G=h-M,z=h-T,H=_+M/G,ot=S-T/z,N=w+V,K=w+B,et=_+V/N,At=S-B/K;if(e.beginPath(),i){const pt=(H+ot)/2;if(e.arc(s,o,h,H,pt),e.arc(s,o,h,pt,ot),T>0){const Ft=ll(z,ot,s,o);e.arc(Ft.x,Ft.y,T,ot,S+eA)}const gt=ll(K,S,s,o);if(e.lineTo(gt.x,gt.y),B>0){const Ft=ll(K,At,s,o);e.arc(Ft.x,Ft.y,B,S+eA,At+Math.PI)}const mt=(S-B/w+(_+V/w))/2;if(e.arc(s,o,w,S-B/w,mt,!0),e.arc(s,o,w,mt,_+V/w,!0),V>0){const Ft=ll(N,et,s,o);e.arc(Ft.x,Ft.y,V,et+Math.PI,_-eA)}const ht=ll(G,_,s,o);if(e.lineTo(ht.x,ht.y),M>0){const Ft=ll(G,H,s,o);e.arc(Ft.x,Ft.y,M,_-eA,H)}}else{e.moveTo(s,o);const pt=Math.cos(H)*h+s,gt=Math.sin(H)*h+o;e.lineTo(pt,gt);const mt=Math.cos(ot)*h+s,ht=Math.sin(ot)*h+o;e.lineTo(mt,ht)}e.closePath()}function FD(e,t,n,A,r){const{fullCircles:i,startAngle:s,circumference:o}=t;let a=t.endAngle;if(i){Lh(e,t,n,A,a,r);for(let l=0;l<i;++l)e.fill();isNaN(o)||(a=s+(o%En||En))}return Lh(e,t,n,A,a,r),e.fill(),a}function _D(e,t,n,A,r){const{fullCircles:i,startAngle:s,circumference:o,options:a}=t,{borderWidth:l,borderJoinStyle:u,borderDash:h,borderDashOffset:w,borderRadius:p}=a,y=a.borderAlign==="inner";if(!l)return;e.setLineDash(h||[]),e.lineDashOffset=w,y?(e.lineWidth=l*2,e.lineJoin=u||"round"):(e.lineWidth=l,e.lineJoin=u||"bevel");let v=t.endAngle;if(i){Lh(e,t,n,A,v,r);for(let C=0;C<i;++C)e.stroke();isNaN(o)||(v=s+(o%En||En))}y&&yD(e,t,v),a.selfJoin&&v-s>=sn&&p===0&&u!=="miter"&&vD(e,t,v),i||(Lh(e,t,n,A,v,r),e.stroke())}class ED extends Os{static id="arc";static defaults={borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0,selfJoin:!1};static defaultRoutes={backgroundColor:"backgroundColor"};static descriptors={_scriptable:!0,_indexable:t=>t!=="borderDash"};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(t){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,t&&Object.assign(this,t)}inRange(t,n,A){const r=this.getProps(["x","y"],A),{angle:i,distance:s}=sC(r,{x:t,y:n}),{startAngle:o,endAngle:a,innerRadius:l,outerRadius:u,circumference:h}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],A),w=(this.options.spacing+this.options.borderWidth)/2,p=Ve(h,a-o),y=Yc(i,o,a)&&o!==a,v=p>=En||y,C=Us(s,l+w,u+w);return v&&C}getCenterPoint(t){const{x:n,y:A,startAngle:r,endAngle:i,innerRadius:s,outerRadius:o}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],t),{offset:a,spacing:l}=this.options,u=(r+i)/2,h=(s+o+l+a)/2;return{x:n+Math.cos(u)*h,y:A+Math.sin(u)*h}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:n,circumference:A}=this,r=(n.offset||0)/4,i=(n.spacing||0)/2,s=n.circular;if(this.pixelMargin=n.borderAlign==="inner"?.33:0,this.fullCircles=A>En?Math.floor(A/En):0,A===0||this.innerRadius<0||this.outerRadius<0)return;t.save();const o=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(o)*r,Math.sin(o)*r);const a=1-Math.sin(Math.min(sn,A||0)),l=r*a;t.fillStyle=n.backgroundColor,t.strokeStyle=n.borderColor,FD(t,this,l,i,s),_D(t,this,l,i,s),t.restore()}}function RC(e,t,n=t){e.lineCap=Ve(n.borderCapStyle,t.borderCapStyle),e.setLineDash(Ve(n.borderDash,t.borderDash)),e.lineDashOffset=Ve(n.borderDashOffset,t.borderDashOffset),e.lineJoin=Ve(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=Ve(n.borderWidth,t.borderWidth),e.strokeStyle=Ve(n.borderColor,t.borderColor)}function UD(e,t,n){e.lineTo(n.x,n.y)}function QD(e){return e.stepped?VP:e.tension||e.cubicInterpolationMode==="monotone"?WP:UD}function KC(e,t,n={}){const A=e.length,{start:r=0,end:i=A-1}=n,{start:s,end:o}=t,a=Math.max(r,s),l=Math.min(i,o),u=r<s&&i<s||r>o&&i>o;return{count:A,start:a,loop:t.loop,ilen:l<a&&!u?A+l-a:l-a}}function SD(e,t,n,A){const{points:r,options:i}=t,{count:s,start:o,loop:a,ilen:l}=KC(r,n,A),u=QD(i);let{move:h=!0,reverse:w}=A||{},p,y,v;for(p=0;p<=l;++p)y=r[(o+(w?l-p:p))%s],!y.skip&&(h?(e.moveTo(y.x,y.y),h=!1):u(e,v,y,w,i.stepped),v=y);return a&&(y=r[(o+(w?l:0))%s],u(e,v,y,w,i.stepped)),!!a}function LD(e,t,n,A){const r=t.points,{count:i,start:s,ilen:o}=KC(r,n,A),{move:a=!0,reverse:l}=A||{};let u=0,h=0,w,p,y,v,C,_;const S=T=>(s+(l?o-T:T))%i,M=()=>{v!==C&&(e.lineTo(u,C),e.lineTo(u,v),e.lineTo(u,_))};for(a&&(p=r[S(0)],e.moveTo(p.x,p.y)),w=0;w<=o;++w){if(p=r[S(w)],p.skip)continue;const T=p.x,V=p.y,B=T|0;B===y?(V<v?v=V:V>C&&(C=V),u=(h*u+T)/++h):(M(),e.lineTo(T,V),y=B,h=0,v=C=V),_=V}M()}function e0(e){const t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!=="monotone"&&!t.stepped&&!n?LD:SD}function ID(e){return e.stepped?x8:e.tension||e.cubicInterpolationMode==="monotone"?C8:la}function kD(e,t,n,A){let r=t._path;r||(r=t._path=new Path2D,t.path(r,n,A)&&r.closePath()),RC(e,t.options),e.stroke(r)}function TD(e,t,n,A){const{segments:r,options:i}=t,s=e0(t);for(const o of r)RC(e,i,o.style),e.beginPath(),s(e,t,o,{start:n,end:n+A-1})&&e.closePath(),e.stroke()}const ND=typeof Path2D=="function";function OD(e,t,n,A){ND&&!t.options.segment?kD(e,t,n,A):TD(e,t,n,A)}class dd extends Os{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:t=>t!=="borderDash"&&t!=="fill"};constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,n){const A=this.options;if((A.tension||A.cubicInterpolationMode==="monotone")&&!A.stepped&&!this._pointsUpdated){const r=A.spanGaps?this._loop:this._fullLoop;p8(this._points,A,t,r,n),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=S8(this,this.options.segment))}first(){const t=this.segments,n=this.points;return t.length&&n[t[0].start]}last(){const t=this.segments,n=this.points,A=t.length;return A&&n[t[A-1].end]}interpolate(t,n){const A=this.options,r=t[n],i=this.points,s=_C(this,{property:n,start:r,end:r});if(!s.length)return;const o=[],a=ID(A);let l,u;for(l=0,u=s.length;l<u;++l){const{start:h,end:w}=s[l],p=i[h],y=i[w];if(p===y){o.push(p);continue}const v=Math.abs((r-p[n])/(y[n]-p[n])),C=a(p,y,v,A.stepped);C[n]=t[n],o.push(C)}return o.length===1?o[0]:o}pathSegment(t,n,A){return e0(this)(t,this,n,A)}path(t,n,A){const r=this.segments,i=e0(this);let s=this._loop;n=n||0,A=A||this.points.length-n;for(const o of r)s&=i(t,this,o,{start:n,end:n+A-1});return!!s}draw(t,n,A,r){const i=this.options||{};(this.points||[]).length&&i.borderWidth&&(t.save(),OD(t,this,A,r),t.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}function ZB(e,t,n,A){const r=e.options,{[n]:i}=e.getProps([n],A);return Math.abs(t-i)<r.radius+r.hitRadius}class HD extends Os{static id="point";parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(t){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,t&&Object.assign(this,t)}inRange(t,n,A){const r=this.options,{x:i,y:s}=this.getProps(["x","y"],A);return Math.pow(t-i,2)+Math.pow(n-s,2)<Math.pow(r.hitRadius+r.radius,2)}inXRange(t,n){return ZB(this,t,"x",n)}inYRange(t,n){return ZB(this,t,"y",n)}getCenterPoint(t){const{x:n,y:A}=this.getProps(["x","y"],t);return{x:n,y:A}}size(t){t=t||this.options||{};let n=t.radius||0;n=Math.max(n,n&&t.hoverRadius||0);const A=n&&t.borderWidth||0;return(n+A)*2}draw(t,n){const A=this.options;this.skip||A.radius<.1||!Ss(this,n,this.size(A)/2)||(t.strokeStyle=A.borderColor,t.lineWidth=A.borderWidth,t.fillStyle=A.backgroundColor,Jg(t,A,this.x,this.y))}getRange(){const t=this.options||{};return t.radius+t.hitRadius}}function jC(e,t){const{x:n,y:A,base:r,width:i,height:s}=e.getProps(["x","y","base","width","height"],t);let o,a,l,u,h;return e.horizontal?(h=s/2,o=Math.min(n,r),a=Math.max(n,r),l=A-h,u=A+h):(h=i/2,o=n-h,a=n+h,l=Math.min(A,r),u=Math.max(A,r)),{left:o,top:l,right:a,bottom:u}}function Fo(e,t,n,A){return e?0:bA(t,n,A)}function PD(e,t,n){const A=e.options.borderWidth,r=e.borderSkipped,i=pC(A);return{t:Fo(r.top,i.top,0,n),r:Fo(r.right,i.right,0,t),b:Fo(r.bottom,i.bottom,0,n),l:Fo(r.left,i.left,0,t)}}function MD(e,t,n){const{enableBorderRadius:A}=e.getProps(["enableBorderRadius"]),r=e.options.borderRadius,i=Fa(r),s=Math.min(t,n),o=e.borderSkipped,a=A||Ze(r);return{topLeft:Fo(!a||o.top||o.left,i.topLeft,0,s),topRight:Fo(!a||o.top||o.right,i.topRight,0,s),bottomLeft:Fo(!a||o.bottom||o.left,i.bottomLeft,0,s),bottomRight:Fo(!a||o.bottom||o.right,i.bottomRight,0,s)}}function DD(e){const t=jC(e),n=t.right-t.left,A=t.bottom-t.top,r=PD(e,n/2,A/2),i=MD(e,n/2,A/2);return{outer:{x:t.left,y:t.top,w:n,h:A,radius:i},inner:{x:t.left+r.l,y:t.top+r.t,w:n-r.l-r.r,h:A-r.t-r.b,radius:{topLeft:Math.max(0,i.topLeft-Math.max(r.t,r.l)),topRight:Math.max(0,i.topRight-Math.max(r.t,r.r)),bottomLeft:Math.max(0,i.bottomLeft-Math.max(r.b,r.l)),bottomRight:Math.max(0,i.bottomRight-Math.max(r.b,r.r))}}}}function jp(e,t,n,A){const r=t===null,i=n===null,o=e&&!(r&&i)&&jC(e,A);return o&&(r||Us(t,o.left,o.right))&&(i||Us(n,o.top,o.bottom))}function RD(e){return e.topLeft||e.topRight||e.bottomLeft||e.bottomRight}function KD(e,t){e.rect(t.x,t.y,t.w,t.h)}function Vp(e,t,n={}){const A=e.x!==n.x?-t:0,r=e.y!==n.y?-t:0,i=(e.x+e.w!==n.x+n.w?t:0)-A,s=(e.y+e.h!==n.y+n.h?t:0)-r;return{x:e.x+A,y:e.y+r,w:e.w+i,h:e.h+s,radius:e.radius}}class jD extends Os{static id="bar";static defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,t&&Object.assign(this,t)}draw(t){const{inflateAmount:n,options:{borderColor:A,backgroundColor:r}}=this,{inner:i,outer:s}=DD(this),o=RD(s.radius)?Jc:KD;t.save(),(s.w!==i.w||s.h!==i.h)&&(t.beginPath(),o(t,Vp(s,n,i)),t.clip(),o(t,Vp(i,-n,s)),t.fillStyle=A,t.fill("evenodd")),t.beginPath(),o(t,Vp(i,n)),t.fillStyle=r,t.fill(),t.restore()}inRange(t,n,A){return jp(this,t,n,A)}inXRange(t,n){return jp(this,t,null,n)}inYRange(t,n){return jp(this,null,t,n)}getCenterPoint(t){const{x:n,y:A,base:r,horizontal:i}=this.getProps(["x","y","base","horizontal"],t);return{x:i?(n+r)/2:n,y:i?A:(A+r)/2}}getRange(t){return t==="x"?this.width/2:this.height/2}}var VD=Object.freeze({__proto__:null,ArcElement:ED,BarElement:jD,LineElement:dd,PointElement:HD});const n0=["rgb(54, 162, 235)","rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(153, 102, 255)","rgb(201, 203, 207)"],tb=n0.map(e=>e.replace("rgb(","rgba(").replace(")",", 0.5)"));function VC(e){return n0[e%n0.length]}function WC(e){return tb[e%tb.length]}function WD(e,t){return e.borderColor=VC(t),e.backgroundColor=WC(t),++t}function qD(e,t){return e.backgroundColor=e.data.map(()=>VC(t++)),t}function zD(e,t){return e.backgroundColor=e.data.map(()=>WC(t++)),t}function GD(e){let t=0;return(n,A)=>{const r=e.getDatasetMeta(A).controller;r instanceof vw?t=qD(n,t):r instanceof LC?t=zD(n,t):r&&(t=WD(n,t))}}function eb(e){let t;for(t in e)if(e[t].borderColor||e[t].backgroundColor)return!0;return!1}function XD(e){return e&&(e.borderColor||e.backgroundColor)}function $D(){return Nn.borderColor!=="rgba(0,0,0,0.1)"||Nn.backgroundColor!=="rgba(0,0,0,0.1)"}var YD={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(e,t,n){if(!n.enabled)return;const{data:{datasets:A},options:r}=e.config,{elements:i}=r,s=eb(A)||XD(r)||i&&eb(i)||$D();if(!n.forceOverride&&s)return;const o=GD(e);A.forEach(o)}};function JD(e,t,n,A,r){const i=r.samples||A;if(i>=n)return e.slice(t,t+n);const s=[],o=(n-2)/(i-2);let a=0;const l=t+n-1;let u=t,h,w,p,y,v;for(s[a++]=e[u],h=0;h<i-2;h++){let C=0,_=0,S;const M=Math.floor((h+1)*o)+1+t,T=Math.min(Math.floor((h+2)*o)+1,n)+t,V=T-M;for(S=M;S<T;S++)C+=e[S].x,_+=e[S].y;C/=V,_/=V;const B=Math.floor(h*o)+1+t,G=Math.min(Math.floor((h+1)*o)+1,n)+t,{x:z,y:H}=e[u];for(p=y=-1,S=B;S<G;S++)y=.5*Math.abs((z-C)*(e[S].y-H)-(z-e[S].x)*(_-H)),y>p&&(p=y,w=e[S],v=S);s[a++]=w,u=v}return s[a++]=e[l],s}function ZD(e,t,n,A){let r=0,i=0,s,o,a,l,u,h,w,p,y,v;const C=[],_=t+n-1,S=e[t].x,T=e[_].x-S;for(s=t;s<t+n;++s){o=e[s],a=(o.x-S)/T*A,l=o.y;const V=a|0;if(V===u)l<y?(y=l,h=s):l>v&&(v=l,w=s),r=(i*r+o.x)/++i;else{const B=s-1;if(!$e(h)&&!$e(w)){const G=Math.min(h,w),z=Math.max(h,w);G!==p&&G!==B&&C.push({...e[G],x:r}),z!==p&&z!==B&&C.push({...e[z],x:r})}s>0&&B!==p&&C.push(e[B]),C.push(o),u=V,i=0,y=v=l,h=w=p=s}}return C}function qC(e){if(e._decimated){const t=e._data;delete e._decimated,delete e._data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,writable:!0,value:t})}}function nb(e){e.data.datasets.forEach(t=>{qC(t)})}function tR(e,t){const n=t.length;let A=0,r;const{iScale:i}=e,{min:s,max:o,minDefined:a,maxDefined:l}=i.getUserBounds();return a&&(A=bA(Qs(t,i.axis,s).lo,0,n-1)),l?r=bA(Qs(t,i.axis,o).hi+1,A,n)-A:r=n-A,{start:A,count:r}}var eR={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(e,t,n)=>{if(!n.enabled){nb(e);return}const A=e.width;e.data.datasets.forEach((r,i)=>{const{_data:s,indexAxis:o}=r,a=e.getDatasetMeta(i),l=s||r.data;if(Fc([o,e.options.indexAxis])==="y"||!a.controller.supportsDecimation)return;const u=e.scales[a.xAxisID];if(u.type!=="linear"&&u.type!=="time"||e.options.parsing)return;let{start:h,count:w}=tR(a,l);const p=n.threshold||4*A;if(w<=p){qC(r);return}$e(s)&&(r._data=l,delete r.data,Object.defineProperty(r,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(v){this._data=v}}));let y;switch(n.algorithm){case"lttb":y=JD(l,h,w,A,n);break;case"min-max":y=ZD(l,h,w,A);break;default:throw new Error(`Unsupported decimation algorithm '${n.algorithm}'`)}r._decimated=y})},destroy(e){nb(e)}};function nR(e,t,n){const A=e.segments,r=e.points,i=t.points,s=[];for(const o of A){let{start:a,end:l}=o;l=pd(a,l,r);const u=A0(n,r[a],r[l],o.loop);if(!t.segments){s.push({source:o,target:u,start:r[a],end:r[l]});continue}const h=_C(t,u);for(const w of h){const p=A0(n,i[w.start],i[w.end],w.loop),y=FC(o,r,p);for(const v of y)s.push({source:v,target:w,start:{[n]:Ab(u,p,"start",Math.max)},end:{[n]:Ab(u,p,"end",Math.min)}})}}return s}function A0(e,t,n,A){if(A)return;let r=t[e],i=n[e];return e==="angle"&&(r=jA(r),i=jA(i)),{property:e,start:r,end:i}}function AR(e,t){const{x:n=null,y:A=null}=e||{},r=t.points,i=[];return t.segments.forEach(({start:s,end:o})=>{o=pd(s,o,r);const a=r[s],l=r[o];A!==null?(i.push({x:a.x,y:A}),i.push({x:l.x,y:A})):n!==null&&(i.push({x:n,y:a.y}),i.push({x:n,y:l.y}))}),i}function pd(e,t,n){for(;t>e;t--){const A=n[t];if(!isNaN(A.x)&&!isNaN(A.y))break}return t}function Ab(e,t,n,A){return e&&t?A(e[n],t[n]):e?e[n]:t?t[n]:0}function zC(e,t){let n=[],A=!1;return Tn(e)?(A=!0,n=e):n=AR(e,t),n.length?new dd({points:n,options:{tension:0},_loop:A,_fullLoop:A}):null}function rb(e){return e&&e.fill!==!1}function rR(e,t,n){let r=e[t].fill;const i=[t];let s;if(!n)return r;for(;r!==!1&&i.indexOf(r)===-1;){if(!Vn(r))return r;if(s=e[r],!s)return!1;if(s.visible)return r;i.push(r),r=s.fill}return!1}function iR(e,t,n){const A=lR(e);if(Ze(A))return isNaN(A.value)?!1:A;let r=parseFloat(A);return Vn(r)&&Math.floor(r)===r?sR(A[0],t,r,n):["origin","start","end","stack","shape"].indexOf(A)>=0&&A}function sR(e,t,n,A){return(e==="-"||e==="+")&&(n=t+n),n===t||n<0||n>=A?!1:n}function oR(e,t){let n=null;return e==="start"?n=t.bottom:e==="end"?n=t.top:Ze(e)?n=t.getPixelForValue(e.value):t.getBasePixel&&(n=t.getBasePixel()),n}function aR(e,t,n){let A;return e==="start"?A=n:e==="end"?A=t.options.reverse?t.min:t.max:Ze(e)?A=e.value:A=t.getBaseValue(),A}function lR(e){const t=e.options,n=t.fill;let A=Ve(n&&n.target,n);return A===void 0&&(A=!!t.backgroundColor),A===!1||A===null?!1:A===!0?"origin":A}function cR(e){const{scale:t,index:n,line:A}=e,r=[],i=A.segments,s=A.points,o=uR(t,n);o.push(zC({x:null,y:t.bottom},A));for(let a=0;a<i.length;a++){const l=i[a];for(let u=l.start;u<=l.end;u++)fR(r,s[u],o)}return new dd({points:r,options:{}})}function uR(e,t){const n=[],A=e.getMatchingVisibleMetas("line");for(let r=0;r<A.length;r++){const i=A[r];if(i.index===t)break;i.hidden||n.unshift(i.dataset)}return n}function fR(e,t,n){const A=[];for(let r=0;r<n.length;r++){const i=n[r],{first:s,last:o,point:a}=hR(i,t,"x");if(!(!a||s&&o)){if(s)A.unshift(a);else if(e.push(a),!o)break}}e.push(...A)}function hR(e,t,n){const A=e.interpolate(t,n);if(!A)return{};const r=A[n],i=e.segments,s=e.points;let o=!1,a=!1;for(let l=0;l<i.length;l++){const u=i[l],h=s[u.start][n],w=s[u.end][n];if(Us(r,h,w)){o=r===h,a=r===w;break}}return{first:o,last:a,point:A}}class GC{constructor(t){this.x=t.x,this.y=t.y,this.radius=t.radius}pathSegment(t,n,A){const{x:r,y:i,radius:s}=this;return n=n||{start:0,end:En},t.arc(r,i,s,n.end,n.start,!0),!A.bounds}interpolate(t){const{x:n,y:A,radius:r}=this,i=t.angle;return{x:n+Math.cos(i)*r,y:A+Math.sin(i)*r,angle:i}}}function dR(e){const{chart:t,fill:n,line:A}=e;if(Vn(n))return pR(t,n);if(n==="stack")return cR(e);if(n==="shape")return!0;const r=gR(e);return r instanceof GC?r:zC(r,A)}function pR(e,t){const n=e.getDatasetMeta(t);return n&&e.isDatasetVisible(t)?n.dataset:null}function gR(e){return(e.scale||{}).getPointPositionForValue?mR(e):wR(e)}function wR(e){const{scale:t={},fill:n}=e,A=oR(n,t);if(Vn(A)){const r=t.isHorizontal();return{x:r?A:null,y:r?null:A}}return null}function mR(e){const{scale:t,fill:n}=e,A=t.options,r=t.getLabels().length,i=A.reverse?t.max:t.min,s=aR(n,t,i),o=[];if(A.grid.circular){const a=t.getPointPositionForValue(0,i);return new GC({x:a.x,y:a.y,radius:t.getDistanceFromCenterForValue(s)})}for(let a=0;a<r;++a)o.push(t.getPointPositionForValue(a,s));return o}function Wp(e,t,n){const A=dR(t),{chart:r,index:i,line:s,scale:o,axis:a}=t,l=s.options,u=l.fill,h=l.backgroundColor,{above:w=h,below:p=h}=u||{},y=r.getDatasetMeta(i),v=EC(r,y);A&&s.points.length&&(cd(e,n),BR(e,{line:s,target:A,above:w,below:p,area:n,scale:o,axis:a,clip:v}),ud(e))}function BR(e,t){const{line:n,target:A,above:r,below:i,area:s,scale:o,clip:a}=t,l=n._loop?"angle":t.axis;e.save();let u=i;i!==r&&(l==="x"?(ib(e,A,s.top),qp(e,{line:n,target:A,color:r,scale:o,property:l,clip:a}),e.restore(),e.save(),ib(e,A,s.bottom)):l==="y"&&(sb(e,A,s.left),qp(e,{line:n,target:A,color:i,scale:o,property:l,clip:a}),e.restore(),e.save(),sb(e,A,s.right),u=r)),qp(e,{line:n,target:A,color:u,scale:o,property:l,clip:a}),e.restore()}function ib(e,t,n){const{segments:A,points:r}=t;let i=!0,s=!1;e.beginPath();for(const o of A){const{start:a,end:l}=o,u=r[a],h=r[pd(a,l,r)];i?(e.moveTo(u.x,u.y),i=!1):(e.lineTo(u.x,n),e.lineTo(u.x,u.y)),s=!!t.pathSegment(e,o,{move:s}),s?e.closePath():e.lineTo(h.x,n)}e.lineTo(t.first().x,n),e.closePath(),e.clip()}function sb(e,t,n){const{segments:A,points:r}=t;let i=!0,s=!1;e.beginPath();for(const o of A){const{start:a,end:l}=o,u=r[a],h=r[pd(a,l,r)];i?(e.moveTo(u.x,u.y),i=!1):(e.lineTo(n,u.y),e.lineTo(u.x,u.y)),s=!!t.pathSegment(e,o,{move:s}),s?e.closePath():e.lineTo(n,h.y)}e.lineTo(n,t.first().y),e.closePath(),e.clip()}function qp(e,t){const{line:n,target:A,property:r,color:i,scale:s,clip:o}=t,a=nR(n,A,r);for(const{source:l,target:u,start:h,end:w}of a){const{style:{backgroundColor:p=i}={}}=l,y=A!==!0;e.save(),e.fillStyle=p,bR(e,s,o,y&&A0(r,h,w)),e.beginPath();const v=!!n.pathSegment(e,l);let C;if(y){v?e.closePath():ob(e,A,w,r);const _=!!A.pathSegment(e,u,{move:v,reverse:!0});C=v&&_,C||ob(e,A,h,r)}e.closePath(),e.fill(C?"evenodd":"nonzero"),e.restore()}}function bR(e,t,n,A){const r=t.chart.chartArea,{property:i,start:s,end:o}=A||{};if(i==="x"||i==="y"){let a,l,u,h;i==="x"?(a=s,l=r.top,u=o,h=r.bottom):(a=r.left,l=s,u=r.right,h=o),e.beginPath(),n&&(a=Math.max(a,n.left),u=Math.min(u,n.right),l=Math.max(l,n.top),h=Math.min(h,n.bottom)),e.rect(a,l,u-a,h-l),e.clip()}}function ob(e,t,n,A){const r=t.interpolate(n,A);r&&e.lineTo(r.x,r.y)}var vR={id:"filler",afterDatasetsUpdate(e,t,n){const A=(e.data.datasets||[]).length,r=[];let i,s,o,a;for(s=0;s<A;++s)i=e.getDatasetMeta(s),o=i.dataset,a=null,o&&o.options&&o instanceof dd&&(a={visible:e.isDatasetVisible(s),index:s,fill:iR(o,s,A),chart:e,axis:i.controller.options.indexAxis,scale:i.vScale,line:o}),i.$filler=a,r.push(a);for(s=0;s<A;++s)a=r[s],!(!a||a.fill===!1)&&(a.fill=rR(r,s,n.propagate))},beforeDraw(e,t,n){const A=n.drawTime==="beforeDraw",r=e.getSortedVisibleDatasetMetas(),i=e.chartArea;for(let s=r.length-1;s>=0;--s){const o=r[s].$filler;o&&(o.line.updateControlPoints(i,o.axis),A&&o.fill&&Wp(e.ctx,o,i))}},beforeDatasetsDraw(e,t,n){if(n.drawTime!=="beforeDatasetsDraw")return;const A=e.getSortedVisibleDatasetMetas();for(let r=A.length-1;r>=0;--r){const i=A[r].$filler;rb(i)&&Wp(e.ctx,i,e.chartArea)}},beforeDatasetDraw(e,t,n){const A=t.meta.$filler;!rb(A)||n.drawTime!=="beforeDatasetDraw"||Wp(e.ctx,A,e.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const ab=(e,t)=>{let{boxHeight:n=t,boxWidth:A=t}=e;return e.usePointStyle&&(n=Math.min(n,t),A=e.pointStyleWidth||Math.min(A,t)),{boxWidth:A,boxHeight:n,itemHeight:Math.max(t,n)}},yR=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index;class lb extends Os{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,n,A){this.maxWidth=t,this.maxHeight=n,this._margins=A,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let n=yn(t.generateLabels,[this.chart],this)||[];t.filter&&(n=n.filter(A=>t.filter(A,this.chart.data))),t.sort&&(n=n.sort((A,r)=>t.sort(A,r,this.chart.data))),this.options.reverse&&n.reverse(),this.legendItems=n}fit(){const{options:t,ctx:n}=this;if(!t.display){this.width=this.height=0;return}const A=t.labels,r=gA(A.font),i=r.size,s=this._computeTitleHeight(),{boxWidth:o,itemHeight:a}=ab(A,i);let l,u;n.font=r.string,this.isHorizontal()?(l=this.maxWidth,u=this._fitRows(s,i,o,a)+10):(u=this.maxHeight,l=this._fitCols(s,r,o,a)+10),this.width=Math.min(l,t.maxWidth||this.maxWidth),this.height=Math.min(u,t.maxHeight||this.maxHeight)}_fitRows(t,n,A,r){const{ctx:i,maxWidth:s,options:{labels:{padding:o}}}=this,a=this.legendHitBoxes=[],l=this.lineWidths=[0],u=r+o;let h=t;i.textAlign="left",i.textBaseline="middle";let w=-1,p=-u;return this.legendItems.forEach((y,v)=>{const C=A+n/2+i.measureText(y.text).width;(v===0||l[l.length-1]+C+2*o>s)&&(h+=u,l[l.length-(v>0?0:1)]=0,p+=u,w++),a[v]={left:0,top:p,row:w,width:C,height:r},l[l.length-1]+=C+o}),h}_fitCols(t,n,A,r){const{ctx:i,maxHeight:s,options:{labels:{padding:o}}}=this,a=this.legendHitBoxes=[],l=this.columnSizes=[],u=s-t;let h=o,w=0,p=0,y=0,v=0;return this.legendItems.forEach((C,_)=>{const{itemWidth:S,itemHeight:M}=xR(A,n,i,C,r);_>0&&p+M+2*o>u&&(h+=w+o,l.push({width:w,height:p}),y+=w+o,v++,w=p=0),a[_]={left:y,top:p,col:v,width:S,height:M},w=Math.max(w,S),p+=M+o}),h+=w,l.push({width:w,height:p}),h}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:n,options:{align:A,labels:{padding:r},rtl:i}}=this,s=xl(i,this.left,this.width);if(this.isHorizontal()){let o=0,a=RA(A,this.left+r,this.right-this.lineWidths[o]);for(const l of n)o!==l.row&&(o=l.row,a=RA(A,this.left+r,this.right-this.lineWidths[o])),l.top+=this.top+t+r,l.left=s.leftForLtr(s.x(a),l.width),a+=l.width+r}else{let o=0,a=RA(A,this.top+t+r,this.bottom-this.columnSizes[o].height);for(const l of n)l.col!==o&&(o=l.col,a=RA(A,this.top+t+r,this.bottom-this.columnSizes[o].height)),l.top=a,l.left+=this.left+r,l.left=s.leftForLtr(s.x(l.left),l.width),a+=l.height+r}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const t=this.ctx;cd(t,this),this._draw(),ud(t)}}_draw(){const{options:t,columnSizes:n,lineWidths:A,ctx:r}=this,{align:i,labels:s}=t,o=Nn.color,a=xl(t.rtl,this.left,this.width),l=gA(s.font),{padding:u}=s,h=l.size,w=h/2;let p;this.drawTitle(),r.textAlign=a.textAlign("left"),r.textBaseline="middle",r.lineWidth=.5,r.font=l.string;const{boxWidth:y,boxHeight:v,itemHeight:C}=ab(s,h),_=function(B,G,z){if(isNaN(y)||y<=0||isNaN(v)||v<0)return;r.save();const H=Ve(z.lineWidth,1);if(r.fillStyle=Ve(z.fillStyle,o),r.lineCap=Ve(z.lineCap,"butt"),r.lineDashOffset=Ve(z.lineDashOffset,0),r.lineJoin=Ve(z.lineJoin,"miter"),r.lineWidth=H,r.strokeStyle=Ve(z.strokeStyle,o),r.setLineDash(Ve(z.lineDash,[])),s.usePointStyle){const ot={radius:v*Math.SQRT2/2,pointStyle:z.pointStyle,rotation:z.rotation,borderWidth:H},N=a.xPlus(B,y/2),K=G+w;dC(r,ot,N,K,s.pointStyleWidth&&y)}else{const ot=G+Math.max((h-v)/2,0),N=a.leftForLtr(B,y),K=Fa(z.borderRadius);r.beginPath(),Object.values(K).some(et=>et!==0)?Jc(r,{x:N,y:ot,w:y,h:v,radius:K}):r.rect(N,ot,y,v),r.fill(),H!==0&&r.stroke()}r.restore()},S=function(B,G,z){Oa(r,z.text,B,G+C/2,l,{strikethrough:z.hidden,textAlign:a.textAlign(z.textAlign)})},M=this.isHorizontal(),T=this._computeTitleHeight();M?p={x:RA(i,this.left+u,this.right-A[0]),y:this.top+u+T,line:0}:p={x:this.left+u,y:RA(i,this.top+T+u,this.bottom-n[0].height),line:0},yC(this.ctx,t.textDirection);const V=C+u;this.legendItems.forEach((B,G)=>{r.strokeStyle=B.fontColor,r.fillStyle=B.fontColor;const z=r.measureText(B.text).width,H=a.textAlign(B.textAlign||(B.textAlign=s.textAlign)),ot=y+w+z;let N=p.x,K=p.y;a.setWidth(this.width),M?G>0&&N+ot+u>this.right&&(K=p.y+=V,p.line++,N=p.x=RA(i,this.left+u,this.right-A[p.line])):G>0&&K+V>this.bottom&&(N=p.x=N+n[p.line].width+u,p.line++,K=p.y=RA(i,this.top+T+u,this.bottom-n[p.line].height));const et=a.x(N);if(_(et,K,B),N=kP(H,N+y+w,M?N+ot:this.right,t.rtl),S(a.x(N),K,B),M)p.x+=ot+u;else if(typeof B.text!="string"){const At=l.lineHeight;p.y+=XC(B,At)+u}else p.y+=V}),xC(this.ctx,t.textDirection)}drawTitle(){const t=this.options,n=t.title,A=gA(n.font),r=zA(n.padding);if(!n.display)return;const i=xl(t.rtl,this.left,this.width),s=this.ctx,o=n.position,a=A.size/2,l=r.top+a;let u,h=this.left,w=this.width;if(this.isHorizontal())w=Math.max(...this.lineWidths),u=this.top+l,h=RA(t.align,h,this.right-w);else{const y=this.columnSizes.reduce((v,C)=>Math.max(v,C.height),0);u=l+RA(t.align,this.top,this.bottom-y-t.labels.padding-this._computeTitleHeight())}const p=RA(o,h,h+w);s.textAlign=i.textAlign(hw(o)),s.textBaseline="middle",s.strokeStyle=n.color,s.fillStyle=n.color,s.font=A.string,Oa(s,n.text,p,u,A)}_computeTitleHeight(){const t=this.options.title,n=gA(t.font),A=zA(t.padding);return t.display?n.lineHeight+A.height:0}_getLegendItemAt(t,n){let A,r,i;if(Us(t,this.left,this.right)&&Us(n,this.top,this.bottom)){for(i=this.legendHitBoxes,A=0;A<i.length;++A)if(r=i[A],Us(t,r.left,r.left+r.width)&&Us(n,r.top,r.top+r.height))return this.legendItems[A]}return null}handleEvent(t){const n=this.options;if(!_R(t.type,n))return;const A=this._getLegendItemAt(t.x,t.y);if(t.type==="mousemove"||t.type==="mouseout"){const r=this._hoveredItem,i=yR(r,A);r&&!i&&yn(n.onLeave,[t,r,this],this),this._hoveredItem=A,A&&!i&&yn(n.onHover,[t,A,this],this)}else A&&yn(n.onClick,[t,A,this],this)}}function xR(e,t,n,A,r){const i=CR(A,e,t,n),s=FR(r,A,t.lineHeight);return{itemWidth:i,itemHeight:s}}function CR(e,t,n,A){let r=e.text;return r&&typeof r!="string"&&(r=r.reduce((i,s)=>i.length>s.length?i:s)),t+n.size/2+A.measureText(r).width}function FR(e,t,n){let A=e;return typeof t.text!="string"&&(A=XC(t,n)),A}function XC(e,t){const n=e.text?e.text.length:0;return t*n}function _R(e,t){return!!((e==="mousemove"||e==="mouseout")&&(t.onHover||t.onLeave)||t.onClick&&(e==="click"||e==="mouseup"))}var ER={id:"legend",_element:lb,start(e,t,n){const A=e.legend=new lb({ctx:e.ctx,options:n,chart:e});WA.configure(e,A,n),WA.addBox(e,A)},stop(e){WA.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){const A=e.legend;WA.configure(e,A,n),A.options=n},afterUpdate(e){const t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,n){const A=t.datasetIndex,r=n.chart;r.isDatasetVisible(A)?(r.hide(A),t.hidden=!0):(r.show(A),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:n,pointStyle:A,textAlign:r,color:i,useBorderRadius:s,borderRadius:o}}=e.legend.options;return e._getSortedDatasetMetas().map(a=>{const l=a.controller.getStyle(n?0:void 0),u=zA(l.borderWidth);return{text:t[a.index].label,fillStyle:l.backgroundColor,fontColor:i,hidden:!a.visible,lineCap:l.borderCapStyle,lineDash:l.borderDash,lineDashOffset:l.borderDashOffset,lineJoin:l.borderJoinStyle,lineWidth:(u.width+u.height)/4,strokeStyle:l.borderColor,pointStyle:A||l.pointStyle,rotation:l.rotation,textAlign:r||l.textAlign,borderRadius:s&&(o||l.borderRadius),datasetIndex:a.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};class Cw extends Os{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,n){const A=this.options;if(this.left=0,this.top=0,!A.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=t,this.height=this.bottom=n;const r=Tn(A.text)?A.text.length:1;this._padding=zA(A.padding);const i=r*gA(A.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=i:this.width=i}isHorizontal(){const t=this.options.position;return t==="top"||t==="bottom"}_drawArgs(t){const{top:n,left:A,bottom:r,right:i,options:s}=this,o=s.align;let a=0,l,u,h;return this.isHorizontal()?(u=RA(o,A,i),h=n+t,l=i-A):(s.position==="left"?(u=A+t,h=RA(o,r,n),a=sn*-.5):(u=i-t,h=RA(o,n,r),a=sn*.5),l=r-n),{titleX:u,titleY:h,maxWidth:l,rotation:a}}draw(){const t=this.ctx,n=this.options;if(!n.display)return;const A=gA(n.font),i=A.lineHeight/2+this._padding.top,{titleX:s,titleY:o,maxWidth:a,rotation:l}=this._drawArgs(i);Oa(t,n.text,0,0,A,{color:n.color,maxWidth:a,rotation:l,textAlign:hw(n.align),textBaseline:"middle",translation:[s,o]})}}function UR(e,t){const n=new Cw({ctx:e.ctx,options:t,chart:e});WA.configure(e,n,t),WA.addBox(e,n),e.titleBlock=n}var QR={id:"title",_element:Cw,start(e,t,n){UR(e,n)},stop(e){const t=e.titleBlock;WA.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){const A=e.titleBlock;WA.configure(e,A,n),A.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Lf=new WeakMap;var SR={id:"subtitle",start(e,t,n){const A=new Cw({ctx:e.ctx,options:n,chart:e});WA.configure(e,A,n),WA.addBox(e,A),Lf.set(e,A)},stop(e){WA.removeBox(e,Lf.get(e)),Lf.delete(e)},beforeUpdate(e,t,n){const A=Lf.get(e);WA.configure(e,A,n),A.options=n},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Ec={average(e){if(!e.length)return!1;let t,n,A=new Set,r=0,i=0;for(t=0,n=e.length;t<n;++t){const o=e[t].element;if(o&&o.hasValue()){const a=o.tooltipPosition();A.add(a.x),r+=a.y,++i}}return i===0||A.size===0?!1:{x:[...A].reduce((o,a)=>o+a)/A.size,y:r/i}},nearest(e,t){if(!e.length)return!1;let n=t.x,A=t.y,r=Number.POSITIVE_INFINITY,i,s,o;for(i=0,s=e.length;i<s;++i){const a=e[i].element;if(a&&a.hasValue()){const l=a.getCenterPoint(),u=$g(t,l);u<r&&(r=u,o=a)}}if(o){const a=o.tooltipPosition();n=a.x,A=a.y}return{x:n,y:A}}};function Wi(e,t){return t&&(Tn(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function Fs(e){return(typeof e=="string"||e instanceof String)&&e.indexOf(` `)>-1?e.split(` `):e}function LR(e,t){const{element:n,datasetIndex:A,index:r}=t,i=e.getDatasetMeta(A).controller,{label:s,value:o}=i.getLabelAndValue(r);return{chart:e,label:s,parsed:i.getParsed(r),raw:e.data.datasets[A].data[r],formattedValue:o,dataset:i.getDataset(),dataIndex:r,datasetIndex:A,element:n}}function cb(e,t){const n=e.chart.ctx,{body:A,footer:r,title:i}=e,{boxWidth:s,boxHeight:o}=t,a=gA(t.bodyFont),l=gA(t.titleFont),u=gA(t.footerFont),h=i.length,w=r.length,p=A.length,y=zA(t.padding);let v=y.height,C=0,_=A.reduce((T,V)=>T+V.before.length+V.lines.length+V.after.length,0);if(_+=e.beforeBody.length+e.afterBody.length,h&&(v+=h*l.lineHeight+(h-1)*t.titleSpacing+t.titleMarginBottom),_){const T=t.displayColors?Math.max(o,a.lineHeight):a.lineHeight;v+=p*T+(_-p)*a.lineHeight+(_-1)*t.bodySpacing}w&&(v+=t.footerMarginTop+w*u.lineHeight+(w-1)*t.footerSpacing);let S=0;const M=function(T){C=Math.max(C,n.measureText(T).width+S)};return n.save(),n.font=l.string,dn(e.title,M),n.font=a.string,dn(e.beforeBody.concat(e.afterBody),M),S=t.displayColors?s+2+t.boxPadding:0,dn(A,T=>{dn(T.before,M),dn(T.lines,M),dn(T.after,M)}),S=0,n.font=u.string,dn(e.footer,M),n.restore(),C+=y.width,{width:C,height:v}}function IR(e,t){const{y:n,height:A}=t;return n<A/2?"top":n>e.height-A/2?"bottom":"center"}function kR(e,t,n,A){const{x:r,width:i}=A,s=n.caretSize+n.caretPadding;if(e==="left"&&r+i+s>t.width||e==="right"&&r-i-s<0)return!0}function TR(e,t,n,A){const{x:r,width:i}=n,{width:s,chartArea:{left:o,right:a}}=e;let l="center";return A==="center"?l=r<=(o+a)/2?"left":"right":r<=i/2?l="left":r>=s-i/2&&(l="right"),kR(l,e,t,n)&&(l="center"),l}function ub(e,t,n){const A=n.yAlign||t.yAlign||IR(e,n);return{xAlign:n.xAlign||t.xAlign||TR(e,t,n,A),yAlign:A}}function NR(e,t){let{x:n,width:A}=e;return t==="right"?n-=A:t==="center"&&(n-=A/2),n}function OR(e,t,n){let{y:A,height:r}=e;return t==="top"?A+=n:t==="bottom"?A-=r+n:A-=r/2,A}function fb(e,t,n,A){const{caretSize:r,caretPadding:i,cornerRadius:s}=e,{xAlign:o,yAlign:a}=n,l=r+i,{topLeft:u,topRight:h,bottomLeft:w,bottomRight:p}=Fa(s);let y=NR(t,o);const v=OR(t,a,l);return a==="center"?o==="left"?y+=l:o==="right"&&(y-=l):o==="left"?y-=Math.max(u,w)+r:o==="right"&&(y+=Math.max(h,p)+r),{x:bA(y,0,A.width-t.width),y:bA(v,0,A.height-t.height)}}function If(e,t,n){const A=zA(n.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-A.right:e.x+A.left}function hb(e){return Wi([],Fs(e))}function HR(e,t,n){return Ho(e,{tooltip:t,tooltipItems:n,type:"tooltip"})}function db(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}const $C={beforeTitle:xs,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,A=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(A>0&&t.dataIndex<A)return n[t.dataIndex]}return""},afterTitle:xs,beforeBody:xs,beforeLabel:xs,label(e){if(this&&this.options&&this.options.mode==="dataset")return e.label+": "+e.formattedValue||e.formattedValue;let t=e.dataset.label||"";t&&(t+=": ");const n=e.formattedValue;return $e(n)||(t+=n),t},labelColor(e){const n=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:n.borderColor,backgroundColor:n.backgroundColor,borderWidth:n.borderWidth,borderDash:n.borderDash,borderDashOffset:n.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){const n=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:n.pointStyle,rotation:n.rotation}},afterLabel:xs,afterBody:xs,beforeFooter:xs,footer:xs,afterFooter:xs};function dr(e,t,n,A){const r=e[t].call(n,A);return typeof r>"u"?$C[t].call(n,A):r}class pb extends Os{static positioners=Ec;constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const n=this.chart,A=this.options.setContext(this.getContext()),r=A.enabled&&n.options.animation&&A.animations,i=new UC(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=HR(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,n){const{callbacks:A}=n,r=dr(A,"beforeTitle",this,t),i=dr(A,"title",this,t),s=dr(A,"afterTitle",this,t);let o=[];return o=Wi(o,Fs(r)),o=Wi(o,Fs(i)),o=Wi(o,Fs(s)),o}getBeforeBody(t,n){return hb(dr(n.callbacks,"beforeBody",this,t))}getBody(t,n){const{callbacks:A}=n,r=[];return dn(t,i=>{const s={before:[],lines:[],after:[]},o=db(A,i);Wi(s.before,Fs(dr(o,"beforeLabel",this,i))),Wi(s.lines,dr(o,"label",this,i)),Wi(s.after,Fs(dr(o,"afterLabel",this,i))),r.push(s)}),r}getAfterBody(t,n){return hb(dr(n.callbacks,"afterBody",this,t))}getFooter(t,n){const{callbacks:A}=n,r=dr(A,"beforeFooter",this,t),i=dr(A,"footer",this,t),s=dr(A,"afterFooter",this,t);let o=[];return o=Wi(o,Fs(r)),o=Wi(o,Fs(i)),o=Wi(o,Fs(s)),o}_createItems(t){const n=this._active,A=this.chart.data,r=[],i=[],s=[];let o=[],a,l;for(a=0,l=n.length;a<l;++a)o.push(LR(this.chart,n[a]));return t.filter&&(o=o.filter((u,h,w)=>t.filter(u,h,w,A))),t.itemSort&&(o=o.sort((u,h)=>t.itemSort(u,h,A))),dn(o,u=>{const h=db(t.callbacks,u);r.push(dr(h,"labelColor",this,u)),i.push(dr(h,"labelPointStyle",this,u)),s.push(dr(h,"labelTextColor",this,u))}),this.labelColors=r,this.labelPointStyles=i,this.labelTextColors=s,this.dataPoints=o,o}update(t,n){const A=this.options.setContext(this.getContext()),r=this._active;let i,s=[];if(!r.length)this.opacity!==0&&(i={opacity:0});else{const o=Ec[A.position].call(this,r,this._eventPosition);s=this._createItems(A),this.title=this.getTitle(s,A),this.beforeBody=this.getBeforeBody(s,A),this.body=this.getBody(s,A),this.afterBody=this.getAfterBody(s,A),this.footer=this.getFooter(s,A);const a=this._size=cb(this,A),l=Object.assign({},o,a),u=ub(this.chart,A,l),h=fb(A,l,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,i={opacity:1,x:h.x,y:h.y,width:a.width,height:a.height,caretX:o.x,caretY:o.y}}this._tooltipItems=s,this.$context=void 0,i&&this._resolveAnimations().update(this,i),t&&A.external&&A.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(t,n,A,r){const i=this.getCaretPosition(t,A,r);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)}getCaretPosition(t,n,A){const{xAlign:r,yAlign:i}=this,{caretSize:s,cornerRadius:o}=A,{topLeft:a,topRight:l,bottomLeft:u,bottomRight:h}=Fa(o),{x:w,y:p}=t,{width:y,height:v}=n;let C,_,S,M,T,V;return i==="center"?(T=p+v/2,r==="left"?(C=w,_=C-s,M=T+s,V=T-s):(C=w+y,_=C+s,M=T-s,V=T+s),S=C):(r==="left"?_=w+Math.max(a,u)+s:r==="right"?_=w+y-Math.max(l,h)-s:_=this.caretX,i==="top"?(M=p,T=M-s,C=_-s,S=_+s):(M=p+v,T=M+s,C=_+s,S=_-s),V=M),{x1:C,x2:_,x3:S,y1:M,y2:T,y3:V}}drawTitle(t,n,A){const r=this.title,i=r.length;let s,o,a;if(i){const l=xl(A.rtl,this.x,this.width);for(t.x=If(this,A.titleAlign,A),n.textAlign=l.textAlign(A.titleAlign),n.textBaseline="middle",s=gA(A.titleFont),o=A.titleSpacing,n.fillStyle=A.titleColor,n.font=s.string,a=0;a<i;++a)n.fillText(r[a],l.x(t.x),t.y+s.lineHeight/2),t.y+=s.lineHeight+o,a+1===i&&(t.y+=A.titleMarginBottom-o)}}_drawColorBox(t,n,A,r,i){const s=this.labelColors[A],o=this.labelPointStyles[A],{boxHeight:a,boxWidth:l}=i,u=gA(i.bodyFont),h=If(this,"left",i),w=r.x(h),p=a<u.lineHeight?(u.lineHeight-a)/2:0,y=n.y+p;if(i.usePointStyle){const v={radius:Math.min(l,a)/2,pointStyle:o.pointStyle,rotation:o.rotation,borderWidth:1},C=r.leftForLtr(w,l)+l/2,_=y+a/2;t.strokeStyle=i.multiKeyBackground,t.fillStyle=i.multiKeyBackground,Jg(t,v,C,_),t.strokeStyle=s.borderColor,t.fillStyle=s.backgroundColor,Jg(t,v,C,_)}else{t.lineWidth=Ze(s.borderWidth)?Math.max(...Object.values(s.borderWidth)):s.borderWidth||1,t.strokeStyle=s.borderColor,t.setLineDash(s.borderDash||[]),t.lineDashOffset=s.borderDashOffset||0;const v=r.leftForLtr(w,l),C=r.leftForLtr(r.xPlus(w,1),l-2),_=Fa(s.borderRadius);Object.values(_).some(S=>S!==0)?(t.beginPath(),t.fillStyle=i.multiKeyBackground,Jc(t,{x:v,y,w:l,h:a,radius:_}),t.fill(),t.stroke(),t.fillStyle=s.backgroundColor,t.beginPath(),Jc(t,{x:C,y:y+1,w:l-2,h:a-2,radius:_}),t.fill()):(t.fillStyle=i.multiKeyBackground,t.fillRect(v,y,l,a),t.strokeRect(v,y,l,a),t.fillStyle=s.backgroundColor,t.fillRect(C,y+1,l-2,a-2))}t.fillStyle=this.labelTextColors[A]}drawBody(t,n,A){const{body:r}=this,{bodySpacing:i,bodyAlign:s,displayColors:o,boxHeight:a,boxWidth:l,boxPadding:u}=A,h=gA(A.bodyFont);let w=h.lineHeight,p=0;const y=xl(A.rtl,this.x,this.width),v=function(z){n.fillText(z,y.x(t.x+p),t.y+w/2),t.y+=w+i},C=y.textAlign(s);let _,S,M,T,V,B,G;for(n.textAlign=s,n.textBaseline="middle",n.font=h.string,t.x=If(this,C,A),n.fillStyle=A.bodyColor,dn(this.beforeBody,v),p=o&&C!=="right"?s==="center"?l/2+u:l+2+u:0,T=0,B=r.length;T<B;++T){for(_=r[T],S=this.labelTextColors[T],n.fillStyle=S,dn(_.before,v),M=_.lines,o&&M.length&&(this._drawColorBox(n,t,T,y,A),w=Math.max(h.lineHeight,a)),V=0,G=M.length;V<G;++V)v(M[V]),w=h.lineHeight;dn(_.after,v)}p=0,w=h.lineHeight,dn(this.afterBody,v),t.y-=i}drawFooter(t,n,A){const r=this.footer,i=r.length;let s,o;if(i){const a=xl(A.rtl,this.x,this.width);for(t.x=If(this,A.footerAlign,A),t.y+=A.footerMarginTop,n.textAlign=a.textAlign(A.footerAlign),n.textBaseline="middle",s=gA(A.footerFont),n.fillStyle=A.footerColor,n.font=s.string,o=0;o<i;++o)n.fillText(r[o],a.x(t.x),t.y+s.lineHeight/2),t.y+=s.lineHeight+A.footerSpacing}}drawBackground(t,n,A,r){const{xAlign:i,yAlign:s}=this,{x:o,y:a}=t,{width:l,height:u}=A,{topLeft:h,topRight:w,bottomLeft:p,bottomRight:y}=Fa(r.cornerRadius);n.fillStyle=r.backgroundColor,n.strokeStyle=r.borderColor,n.lineWidth=r.borderWidth,n.beginPath(),n.moveTo(o+h,a),s==="top"&&this.drawCaret(t,n,A,r),n.lineTo(o+l-w,a),n.quadraticCurveTo(o+l,a,o+l,a+w),s==="center"&&i==="right"&&this.drawCaret(t,n,A,r),n.lineTo(o+l,a+u-y),n.quadraticCurveTo(o+l,a+u,o+l-y,a+u),s==="bottom"&&this.drawCaret(t,n,A,r),n.lineTo(o+p,a+u),n.quadraticCurveTo(o,a+u,o,a+u-p),s==="center"&&i==="left"&&this.drawCaret(t,n,A,r),n.lineTo(o,a+h),n.quadraticCurveTo(o,a,o+h,a),n.closePath(),n.fill(),r.borderWidth>0&&n.stroke()}_updateAnimationTarget(t){const n=this.chart,A=this.$animations,r=A&&A.x,i=A&&A.y;if(r||i){const s=Ec[t.position].call(this,this._active,this._eventPosition);if(!s)return;const o=this._size=cb(this,t),a=Object.assign({},s,this._size),l=ub(n,t,a),u=fb(t,a,l,n);(r._to!==u.x||i._to!==u.y)&&(this.xAlign=l.xAlign,this.yAlign=l.yAlign,this.width=o.width,this.height=o.height,this.caretX=s.x,this.caretY=s.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(t){const n=this.options.setContext(this.getContext());let A=this.opacity;if(!A)return;this._updateAnimationTarget(n);const r={width:this.width,height:this.height},i={x:this.x,y:this.y};A=Math.abs(A)<.001?0:A;const s=zA(n.padding),o=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&o&&(t.save(),t.globalAlpha=A,this.drawBackground(i,t,r,n),yC(t,n.textDirection),i.y+=s.top,this.drawTitle(i,t,n),this.drawBody(i,t,n),this.drawFooter(i,t,n),xC(t,n.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,n){const A=this._active,r=t.map(({datasetIndex:o,index:a})=>{const l=this.chart.getDatasetMeta(o);if(!l)throw new Error("Cannot find a dataset at index "+o);return{datasetIndex:o,element:l.data[a],index:a}}),i=!Fh(A,r),s=this._positionChanged(r,n);(i||s)&&(this._active=r,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,n,A=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const r=this.options,i=this._active||[],s=this._getActiveElements(t,i,n,A),o=this._positionChanged(s,t),a=n||!Fh(s,i)||o;return a&&(this._active=s,(r.enabled||r.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,n))),a}_getActiveElements(t,n,A,r){const i=this.options;if(t.type==="mouseout")return[];if(!r)return n.filter(o=>this.chart.data.datasets[o.datasetIndex]&&this.chart.getDatasetMeta(o.datasetIndex).controller.getParsed(o.index)!==void 0);const s=this.chart.getElementsAtEventForMode(t,i.mode,i,A);return i.reverse&&s.reverse(),s}_positionChanged(t,n){const{caretX:A,caretY:r,options:i}=this,s=Ec[i.position].call(this,t,n);return s!==!1&&(A!==s.x||r!==s.y)}}var PR={id:"tooltip",_element:pb,positioners:Ec,afterInit(e,t,n){n&&(e.tooltip=new pb({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const n={tooltip:t};if(e.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n)}},afterEvent(e,t){if(e.tooltip){const n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:$C},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>e!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},MR=Object.freeze({__proto__:null,Colors:YD,Decimation:eR,Filler:vR,Legend:ER,SubTitle:SR,Title:QR,Tooltip:PR});const DR=(e,t,n,A)=>(typeof t=="string"?(n=e.push(t)-1,A.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function RR(e,t,n,A){const r=e.indexOf(t);if(r===-1)return DR(e,t,n,A);const i=e.lastIndexOf(t);return r!==i?n:r}const KR=(e,t)=>e===null?null:bA(Math.round(e),0,t);function gb(e){const t=this.getLabels();return e>=0&&e<t.length?t[e]:e}class jR extends Ka{static id="category";static defaults={ticks:{callback:gb}};constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const n=this._addedLabels;if(n.length){const A=this.getLabels();for(const{index:r,label:i}of n)A[r]===i&&A.splice(r,1);this._addedLabels=[]}super.init(t)}parse(t,n){if($e(t))return null;const A=this.getLabels();return n=isFinite(n)&&A[n]===t?n:RR(A,t,Ve(n,t),this._addedLabels),KR(n,A.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let{min:A,max:r}=this.getMinMax(!0);this.options.bounds==="ticks"&&(t||(A=0),n||(r=this.getLabels().length-1)),this.min=A,this.max=r}buildTicks(){const t=this.min,n=this.max,A=this.options.offset,r=[];let i=this.getLabels();i=t===0&&n===i.length-1?i:i.slice(t,n+1),this._valueRange=Math.max(i.length-(A?0:1),1),this._startValue=this.min-(A?.5:0);for(let s=t;s<=n;s++)r.push({value:s});return r}getLabelForValue(t){return gb.call(this,t)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return typeof t!="number"&&(t=this.parse(t)),t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}function VR(e,t){const n=[],{bounds:r,step:i,min:s,max:o,precision:a,count:l,maxTicks:u,maxDigits:h,includeBounds:w}=e,p=i||1,y=u-1,{min:v,max:C}=t,_=!$e(s),S=!$e(o),M=!$e(l),T=(C-v)/(h+1);let V=cB((C-v)/y/p)*p,B,G,z,H;if(V<1e-14&&!_&&!S)return[{value:v},{value:C}];H=Math.ceil(C/V)-Math.floor(v/V),H>y&&(V=cB(H*V/y/p)*p),$e(a)||(B=Math.pow(10,a),V=Math.ceil(V*B)/B),r==="ticks"?(G=Math.floor(v/V)*V,z=Math.ceil(C/V)*V):(G=v,z=C),_&&S&&i&&_P((o-s)/i,V/1e3)?(H=Math.round(Math.min((o-s)/V,u)),V=(o-s)/H,G=s,z=o):M?(G=_?s:G,z=S?o:z,H=l-1,V=(z-G)/H):(H=(z-G)/V,Pc(H,Math.round(H),V/1e3)?H=Math.round(H):H=Math.ceil(H));const ot=Math.max(uB(V),uB(G));B=Math.pow(10,$e(a)?ot:a),G=Math.round(G*B)/B,z=Math.round(z*B)/B;let N=0;for(_&&(w&&G!==s?(n.push({value:s}),G<s&&N++,Pc(Math.round((G+N*V)*B)/B,s,wb(s,T,e))&&N++):G<s&&N++);N<H;++N){const K=Math.round((G+N*V)*B)/B;if(S&&K>o)break;n.push({value:K})}return S&&w&&z!==o?n.length&&Pc(n[n.length-1].value,o,wb(o,T,e))?n[n.length-1].value=o:n.push({value:o}):(!S||z===o)&&n.push({value:z}),n}function wb(e,t,{horizontal:n,minRotation:A}){const r=xi(A),i=(n?Math.sin(r):Math.cos(r))||.001,s=.75*t*(""+e).length;return Math.min(t/i,s)}class Ih extends Ka{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,n){return $e(t)||(typeof t=="number"||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:n,maxDefined:A}=this.getUserBounds();let{min:r,max:i}=this;const s=a=>r=n?r:a,o=a=>i=A?i:a;if(t){const a=$i(r),l=$i(i);a<0&&l<0?o(0):a>0&&l>0&&s(0)}if(r===i){let a=i===0?1:Math.abs(i*.05);o(i+a),t||s(r-a)}this.min=r,this.max=i}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:n,stepSize:A}=t,r;return A?(r=Math.ceil(this.max/A)-Math.floor(this.min/A)+1,r>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${A} would result generating up to ${r} ticks. Limiting to 1000.`),r=1e3)):(r=this.computeTickLimit(),n=n||11),n&&(r=Math.min(n,r)),r}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,n=t.ticks;let A=this.getTickLimit();A=Math.max(2,A);const r={maxTicks:A,bounds:t.bounds,min:t.min,max:t.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},i=this._range||this,s=VR(r,i);return t.bounds==="ticks"&&iC(s,this,"value"),t.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){const t=this.ticks;let n=this.min,A=this.max;if(super.configure(),this.options.offset&&t.length){const r=(A-n)/Math.max(t.length-1,1)/2;n-=r,A+=r}this._startValue=n,this._endValue=A,this._valueRange=A-n}getLabelForValue(t){return wu(t,this.chart.options.locale,this.options.ticks.format)}}class WR extends Ih{static id="linear";static defaults={ticks:{callback:ld.formatters.numeric}};determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=Vn(t)?t:0,this.max=Vn(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),n=t?this.width:this.height,A=xi(this.options.ticks.minRotation),r=(t?Math.sin(A):Math.cos(A))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,i.lineHeight/r))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}const tu=e=>Math.floor(xo(e)),ia=(e,t)=>Math.pow(10,tu(e)+t);function mb(e){return e/Math.pow(10,tu(e))===1}function Bb(e,t,n){const A=Math.pow(10,n),r=Math.floor(e/A);return Math.ceil(t/A)-r}function qR(e,t){const n=t-e;let A=tu(n);for(;Bb(e,t,A)>10;)A++;for(;Bb(e,t,A)<10;)A--;return Math.min(A,tu(e))}function zR(e,{min:t,max:n}){t=kr(e.min,t);const A=[],r=tu(t);let i=qR(t,n),s=i<0?Math.pow(10,Math.abs(i)):1;const o=Math.pow(10,i),a=r>i?Math.pow(10,r):0,l=Math.round((t-a)*s)/s,u=Math.floor((t-a)/o/10)*o*10;let h=Math.floor((l-u)/Math.pow(10,i)),w=kr(e.min,Math.round((a+u+h*Math.pow(10,i))*s)/s);for(;w<n;)A.push({value:w,major:mb(w),significand:h}),h>=10?h=h<15?15:20:h++,h>=20&&(i++,h=2,s=i>=0?1:s),w=Math.round((a+u+h*Math.pow(10,i))*s)/s;const p=kr(e.max,w);return A.push({value:p,major:mb(p),significand:h}),A}class GR extends Ka{static id="logarithmic";static defaults={ticks:{callback:ld.formatters.logarithmic,major:{enabled:!0}}};constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,n){const A=Ih.prototype.parse.apply(this,[t,n]);if(A===0){this._zero=!0;return}return Vn(A)&&A>0?A:null}determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=Vn(t)?Math.max(0,t):null,this.max=Vn(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!Vn(this._userMin)&&(this.min=t===ia(this.min,0)?ia(this.min,-1):ia(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let A=this.min,r=this.max;const i=o=>A=t?A:o,s=o=>r=n?r:o;A===r&&(A<=0?(i(1),s(10)):(i(ia(A,-1)),s(ia(r,1)))),A<=0&&i(ia(r,-1)),r<=0&&s(ia(A,1)),this.min=A,this.max=r}buildTicks(){const t=this.options,n={min:this._userMin,max:this._userMax},A=zR(n,this);return t.bounds==="ticks"&&iC(A,this,"value"),t.reverse?(A.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),A}getLabelForValue(t){return t===void 0?"0":wu(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=xo(t),this._valueRange=xo(this.max)-xo(t)}getPixelForValue(t){return(t===void 0||t===0)&&(t=this.min),t===null||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(xo(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const n=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+n*this._valueRange)}}function r0(e){const t=e.ticks;if(t.display&&e.display){const n=zA(t.backdropPadding);return Ve(t.font&&t.font.size,Nn.font.size)+n.height}return 0}function XR(e,t,n){return n=Tn(n)?n:[n],{w:jP(e,t.string,n),h:n.length*t.lineHeight}}function bb(e,t,n,A,r){return e===A||e===r?{start:t-n/2,end:t+n/2}:e<A||e>r?{start:t-n,end:t}:{start:t,end:t+n}}function $R(e){const t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},n=Object.assign({},t),A=[],r=[],i=e._pointLabels.length,s=e.options.pointLabels,o=s.centerPointLabels?sn/i:0;for(let a=0;a<i;a++){const l=s.setContext(e.getPointLabelContext(a));r[a]=l.padding;const u=e.getPointPosition(a,e.drawingArea+r[a],o),h=gA(l.font),w=XR(e.ctx,h,e._pointLabels[a]);A[a]=w;const p=jA(e.getIndexAngle(a)+o),y=Math.round(uw(p)),v=bb(y,u.x,w.w,0,180),C=bb(y,u.y,w.h,90,270);YR(n,t,p,v,C)}e.setCenterPoint(t.l-n.l,n.r-t.r,t.t-n.t,n.b-t.b),e._pointLabelItems=t7(e,A,r)}function YR(e,t,n,A,r){const i=Math.abs(Math.sin(n)),s=Math.abs(Math.cos(n));let o=0,a=0;A.start<t.l?(o=(t.l-A.start)/i,e.l=Math.min(e.l,t.l-o)):A.end>t.r&&(o=(A.end-t.r)/i,e.r=Math.max(e.r,t.r+o)),r.start<t.t?(a=(t.t-r.start)/s,e.t=Math.min(e.t,t.t-a)):r.end>t.b&&(a=(r.end-t.b)/s,e.b=Math.max(e.b,t.b+a))}function JR(e,t,n){const A=e.drawingArea,{extra:r,additionalAngle:i,padding:s,size:o}=n,a=e.getPointPosition(t,A+r+s,i),l=Math.round(uw(jA(a.angle+eA))),u=A7(a.y,o.h,l),h=e7(l),w=n7(a.x,o.w,h);return{visible:!0,x:a.x,y:u,textAlign:h,left:w,top:u,right:w+o.w,bottom:u+o.h}}function ZR(e,t){if(!t)return!0;const{left:n,top:A,right:r,bottom:i}=e;return!(Ss({x:n,y:A},t)||Ss({x:n,y:i},t)||Ss({x:r,y:A},t)||Ss({x:r,y:i},t))}function t7(e,t,n){const A=[],r=e._pointLabels.length,i=e.options,{centerPointLabels:s,display:o}=i.pointLabels,a={extra:r0(i)/2,additionalAngle:s?sn/r:0};let l;for(let u=0;u<r;u++){a.padding=n[u],a.size=t[u];const h=JR(e,u,a);A.push(h),o==="auto"&&(h.visible=ZR(h,l),h.visible&&(l=h))}return A}function e7(e){return e===0||e===180?"center":e<180?"left":"right"}function n7(e,t,n){return n==="right"?e-=t:n==="center"&&(e-=t/2),e}function A7(e,t,n){return n===90||n===270?e-=t/2:(n>270||n<90)&&(e-=t),e}function r7(e,t,n){const{left:A,top:r,right:i,bottom:s}=n,{backdropColor:o}=t;if(!$e(o)){const a=Fa(t.borderRadius),l=zA(t.backdropPadding);e.fillStyle=o;const u=A-l.left,h=r-l.top,w=i-A+l.width,p=s-r+l.height;Object.values(a).some(y=>y!==0)?(e.beginPath(),Jc(e,{x:u,y:h,w,h:p,radius:a}),e.fill()):e.fillRect(u,h,w,p)}}function i7(e,t){const{ctx:n,options:{pointLabels:A}}=e;for(let r=t-1;r>=0;r--){const i=e._pointLabelItems[r];if(!i.visible)continue;const s=A.setContext(e.getPointLabelContext(r));r7(n,s,i);const o=gA(s.font),{x:a,y:l,textAlign:u}=i;Oa(n,e._pointLabels[r],a,l+o.lineHeight/2,o,{color:s.color,textAlign:u,textBaseline:"middle"})}}function YC(e,t,n,A){const{ctx:r}=e;if(n)r.arc(e.xCenter,e.yCenter,t,0,En);else{let i=e.getPointPosition(0,t);r.moveTo(i.x,i.y);for(let s=1;s<A;s++)i=e.getPointPosition(s,t),r.lineTo(i.x,i.y)}}function s7(e,t,n,A,r){const i=e.ctx,s=t.circular,{color:o,lineWidth:a}=t;!s&&!A||!o||!a||n<0||(i.save(),i.strokeStyle=o,i.lineWidth=a,i.setLineDash(r.dash||[]),i.lineDashOffset=r.dashOffset,i.beginPath(),YC(e,n,s,A),i.closePath(),i.stroke(),i.restore())}function o7(e,t,n){return Ho(e,{label:n,index:t,type:"pointLabel"})}class a7 extends Ih{static id="radialLinear";static defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:ld.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(t){return t},padding:5,centerPointLabels:!1}};static defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};static descriptors={angleLines:{_fallback:"grid"}};constructor(t){super(t),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const t=this._padding=zA(r0(this.options)/2),n=this.width=this.maxWidth-t.width,A=this.height=this.maxHeight-t.height;this.xCenter=Math.floor(this.left+n/2+t.left),this.yCenter=Math.floor(this.top+A/2+t.top),this.drawingArea=Math.floor(Math.min(n,A)/2)}determineDataLimits(){const{min:t,max:n}=this.getMinMax(!1);this.min=Vn(t)&&!isNaN(t)?t:0,this.max=Vn(n)&&!isNaN(n)?n:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/r0(this.options))}generateTickLabels(t){Ih.prototype.generateTickLabels.call(this,t),this._pointLabels=this.getLabels().map((n,A)=>{const r=yn(this.options.pointLabels.callback,[n,A],this);return r||r===0?r:""}).filter((n,A)=>this.chart.getDataVisibility(A))}fit(){const t=this.options;t.display&&t.pointLabels.display?$R(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,n,A,r){this.xCenter+=Math.floor((t-n)/2),this.yCenter+=Math.floor((A-r)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,n,A,r))}getIndexAngle(t){const n=En/(this._pointLabels.length||1),A=this.options.startAngle||0;return jA(t*n+xi(A))}getDistanceFromCenterForValue(t){if($e(t))return NaN;const n=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*n:(t-this.min)*n}getValueForDistanceFromCenter(t){if($e(t))return NaN;const n=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-n:this.min+n}getPointLabelContext(t){const n=this._pointLabels||[];if(t>=0&&t<n.length){const A=n[t];return o7(this.getContext(),t,A)}}getPointPosition(t,n,A=0){const r=this.getIndexAngle(t)-eA+A;return{x:Math.cos(r)*n+this.xCenter,y:Math.sin(r)*n+this.yCenter,angle:r}}getPointPositionForValue(t,n){return this.getPointPosition(t,this.getDistanceFromCenterForValue(n))}getBasePosition(t){return this.getPointPositionForValue(t||0,this.getBaseValue())}getPointLabelPosition(t){const{left:n,top:A,right:r,bottom:i}=this._pointLabelItems[t];return{left:n,top:A,right:r,bottom:i}}drawBackground(){const{backgroundColor:t,grid:{circular:n}}=this.options;if(t){const A=this.ctx;A.save(),A.beginPath(),YC(this,this.getDistanceFromCenterForValue(this._endValue),n,this._pointLabels.length),A.closePath(),A.fillStyle=t,A.fill(),A.restore()}}drawGrid(){const t=this.ctx,n=this.options,{angleLines:A,grid:r,border:i}=n,s=this._pointLabels.length;let o,a,l;if(n.pointLabels.display&&i7(this,s),r.display&&this.ticks.forEach((u,h)=>{if(h!==0||h===0&&this.min<0){a=this.getDistanceFromCenterForValue(u.value);const w=this.getContext(h),p=r.setContext(w),y=i.setContext(w);s7(this,p,a,s,y)}}),A.display){for(t.save(),o=s-1;o>=0;o--){const u=A.setContext(this.getPointLabelContext(o)),{color:h,lineWidth:w}=u;!w||!h||(t.lineWidth=w,t.strokeStyle=h,t.setLineDash(u.borderDash),t.lineDashOffset=u.borderDashOffset,a=this.getDistanceFromCenterForValue(n.reverse?this.min:this.max),l=this.getPointPosition(o,a),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(l.x,l.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,n=this.options,A=n.ticks;if(!A.display)return;const r=this.getIndexAngle(0);let i,s;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(r),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((o,a)=>{if(a===0&&this.min>=0&&!n.reverse)return;const l=A.setContext(this.getContext(a)),u=gA(l.font);if(i=this.getDistanceFromCenterForValue(this.ticks[a].value),l.showLabelBackdrop){t.font=u.string,s=t.measureText(o.label).width,t.fillStyle=l.backdropColor;const h=zA(l.backdropPadding);t.fillRect(-s/2-h.left,-i-u.size/2-h.top,s+h.width,u.size+h.height)}Oa(t,o.label,0,-i,u,{color:l.color,strokeColor:l.textStrokeColor,strokeWidth:l.textStrokeWidth})}),t.restore()}drawTitle(){}}const gd={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},gr=Object.keys(gd);function vb(e,t){return e-t}function yb(e,t){if($e(t))return null;const n=e._adapter,{parser:A,round:r,isoWeekday:i}=e._parseOpts;let s=t;return typeof A=="function"&&(s=A(s)),Vn(s)||(s=typeof A=="string"?n.parse(s,A):n.parse(s)),s===null?null:(r&&(s=r==="week"&&(Sl(i)||i===!0)?n.startOf(s,"isoWeek",i):n.startOf(s,r)),+s)}function xb(e,t,n,A){const r=gr.length;for(let i=gr.indexOf(e);i<r-1;++i){const s=gd[gr[i]],o=s.steps?s.steps:Number.MAX_SAFE_INTEGER;if(s.common&&Math.ceil((n-t)/(o*s.size))<=A)return gr[i]}return gr[r-1]}function l7(e,t,n,A,r){for(let i=gr.length-1;i>=gr.indexOf(n);i--){const s=gr[i];if(gd[s].common&&e._adapter.diff(r,A,s)>=t-1)return s}return gr[n?gr.indexOf(n):0]}function c7(e){for(let t=gr.indexOf(e)+1,n=gr.length;t<n;++t)if(gd[gr[t]].common)return gr[t]}function Cb(e,t,n){if(!n)e[t]=!0;else if(n.length){const{lo:A,hi:r}=fw(n,t),i=n[A]>=t?n[A]:n[r];e[i]=!0}}function u7(e,t,n,A){const r=e._adapter,i=+r.startOf(t[0].value,A),s=t[t.length-1].value;let o,a;for(o=i;o<=s;o=+r.add(o,1,A))a=n[o],a>=0&&(t[a].major=!0);return t}function Fb(e,t,n){const A=[],r={},i=t.length;let s,o;for(s=0;s<i;++s)o=t[s],r[o]=s,A.push({value:o,major:!1});return i===0||!n?A:u7(e,A,r,n)}class i0 extends Ka{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,n={}){const A=t.time||(t.time={}),r=this._adapter=new fM._date(t.adapters.date);r.init(n),Hc(A.displayFormats,r.formats()),this._parseOpts={parser:A.parser,round:A.round,isoWeekday:A.isoWeekday},super.init(t),this._normalized=n.normalized}parse(t,n){return t===void 0?null:yb(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,n=this._adapter,A=t.time.unit||"day";let{min:r,max:i,minDefined:s,maxDefined:o}=this.getUserBounds();function a(l){!s&&!isNaN(l.min)&&(r=Math.min(r,l.min)),!o&&!isNaN(l.max)&&(i=Math.max(i,l.max))}(!s||!o)&&(a(this._getLabelBounds()),(t.bounds!=="ticks"||t.ticks.source!=="labels")&&a(this.getMinMax(!1))),r=Vn(r)&&!isNaN(r)?r:+n.startOf(Date.now(),A),i=Vn(i)&&!isNaN(i)?i:+n.endOf(Date.now(),A)+1,this.min=Math.min(r,i-1),this.max=Math.max(r+1,i)}_getLabelBounds(){const t=this.getLabelTimestamps();let n=Number.POSITIVE_INFINITY,A=Number.NEGATIVE_INFINITY;return t.length&&(n=t[0],A=t[t.length-1]),{min:n,max:A}}buildTicks(){const t=this.options,n=t.time,A=t.ticks,r=A.source==="labels"?this.getLabelTimestamps():this._generate();t.bounds==="ticks"&&r.length&&(this.min=this._userMin||r[0],this.max=this._userMax||r[r.length-1]);const i=this.min,s=this.max,o=SP(r,i,s);return this._unit=n.unit||(A.autoSkip?xb(n.minUnit,this.min,this.max,this._getLabelCapacity(i)):l7(this,o.length,n.minUnit,this.min,this.max)),this._majorUnit=!A.major.enabled||this._unit==="year"?void 0:c7(this._unit),this.initOffsets(r),t.reverse&&o.reverse(),Fb(this,o,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(t=>+t.value))}initOffsets(t=[]){let n=0,A=0,r,i;this.options.offset&&t.length&&(r=this.getDecimalForValue(t[0]),t.length===1?n=1-r:n=(this.getDecimalForValue(t[1])-r)/2,i=this.getDecimalForValue(t[t.length-1]),t.length===1?A=i:A=(i-this.getDecimalForValue(t[t.length-2]))/2);const s=t.length<3?.5:.25;n=bA(n,0,s),A=bA(A,0,s),this._offsets={start:n,end:A,factor:1/(n+1+A)}}_generate(){const t=this._adapter,n=this.min,A=this.max,r=this.options,i=r.time,s=i.unit||xb(i.minUnit,n,A,this._getLabelCapacity(n)),o=Ve(r.ticks.stepSize,1),a=s==="week"?i.isoWeekday:!1,l=Sl(a)||a===!0,u={};let h=n,w,p;if(l&&(h=+t.startOf(h,"isoWeek",a)),h=+t.startOf(h,l?"day":s),t.diff(A,n,s)>1e5*o)throw new Error(n+" and "+A+" are too far apart with stepSize of "+o+" "+s);const y=r.ticks.source==="data"&&this.getDataTimestamps();for(w=h,p=0;w<A;w=+t.add(w,o,s),p++)Cb(u,w,y);return(w===A||r.bounds==="ticks"||p===1)&&Cb(u,w,y),Object.keys(u).sort(vb).map(v=>+v)}getLabelForValue(t){const n=this._adapter,A=this.options.time;return A.tooltipFormat?n.format(t,A.tooltipFormat):n.format(t,A.displayFormats.datetime)}format(t,n){const r=this.options.time.displayFormats,i=this._unit,s=n||r[i];return this._adapter.format(t,s)}_tickFormatFunction(t,n,A,r){const i=this.options,s=i.ticks.callback;if(s)return yn(s,[t,n,A],this);const o=i.time.displayFormats,a=this._unit,l=this._majorUnit,u=a&&o[a],h=l&&o[l],w=A[n],p=l&&h&&w&&w.major;return this._adapter.format(t,r||(p?h:u))}generateTickLabels(t){let n,A,r;for(n=0,A=t.length;n<A;++n)r=t[n],r.label=this._tickFormatFunction(r.value,n,t)}getDecimalForValue(t){return t===null?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){const n=this._offsets,A=this.getDecimalForValue(t);return this.getPixelForDecimal((n.start+A)*n.factor)}getValueForPixel(t){const n=this._offsets,A=this.getDecimalForPixel(t)/n.factor-n.end;return this.min+A*(this.max-this.min)}_getLabelSize(t){const n=this.options.ticks,A=this.ctx.measureText(t).width,r=xi(this.isHorizontal()?n.maxRotation:n.minRotation),i=Math.cos(r),s=Math.sin(r),o=this._resolveTickFontOptions(0).size;return{w:A*i+o*s,h:A*s+o*i}}_getLabelCapacity(t){const n=this.options.time,A=n.displayFormats,r=A[n.unit]||A.millisecond,i=this._tickFormatFunction(t,0,Fb(this,[t],this._majorUnit),r),s=this._getLabelSize(i),o=Math.floor(this.isHorizontal()?this.width/s.w:this.height/s.h)-1;return o>0?o:1}getDataTimestamps(){let t=this._cache.data||[],n,A;if(t.length)return t;const r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(n=0,A=r.length;n<A;++n)t=t.concat(r[n].controller.getAllParsedValues(this));return this._cache.data=this.normalize(t)}getLabelTimestamps(){const t=this._cache.labels||[];let n,A;if(t.length)return t;const r=this.getLabels();for(n=0,A=r.length;n<A;++n)t.push(yb(this,r[n]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return aC(t.sort(vb))}}function kf(e,t,n){let A=0,r=e.length-1,i,s,o,a;n?(t>=e[A].pos&&t<=e[r].pos&&({lo:A,hi:r}=Qs(e,"pos",t)),{pos:i,time:o}=e[A],{pos:s,time:a}=e[r]):(t>=e[A].time&&t<=e[r].time&&({lo:A,hi:r}=Qs(e,"time",t)),{time:i,pos:o}=e[A],{time:s,pos:a}=e[r]);const l=s-i;return l?o+(a-o)*(t-i)/l:o}class f7 extends i0{static id="timeseries";static defaults=i0.defaults;constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(t);this._minPos=kf(n,this.min),this._tableRange=kf(n,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:n,max:A}=this,r=[],i=[];let s,o,a,l,u;for(s=0,o=t.length;s<o;++s)l=t[s],l>=n&&l<=A&&r.push(l);if(r.length<2)return[{time:n,pos:0},{time:A,pos:1}];for(s=0,o=r.length;s<o;++s)u=r[s+1],a=r[s-1],l=r[s],Math.round((u+a)/2)!==l&&i.push({time:l,pos:s/(o-1)});return i}_generate(){const t=this.min,n=this.max;let A=super.getDataTimestamps();return(!A.includes(t)||!A.length)&&A.splice(0,0,t),(!A.includes(n)||A.length===1)&&A.push(n),A.sort((r,i)=>r-i)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const n=this.getDataTimestamps(),A=this.getLabelTimestamps();return n.length&&A.length?t=this.normalize(n.concat(A)):t=n.length?n:A,t=this._cache.all=t,t}getDecimalForValue(t){return(kf(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const n=this._offsets,A=this.getDecimalForPixel(t)/n.factor-n.end;return kf(this._table,A*this._tableRange+this._minPos,!0)}}var h7=Object.freeze({__proto__:null,CategoryScale:jR,LinearScale:WR,LogarithmicScale:GR,RadialLinearScale:a7,TimeScale:i0,TimeSeriesScale:f7});const d7=[uM,VD,MR,h7];xw.register(...d7);window.pratinjauGambar=(e,t)=>{window.navigator&&window.navigator.vibrate&&window.navigator.vibrate(30);const n=document.getElementById(t),A=e.files[0];if(A){const r=new FileReader;n.innerHTML='<i class="fas fa-circle-notch fa-spin text-emerald-500 text-xl"></i>',r.onload=i=>{n.innerHTML=` <div class="relative w-full h-full flex items-center justify-center overflow-hidden rounded-lg"> <img src="${i.target.result}" class="w-full h-full object-cover animate__animated animate__zoomIn"> <div class="absolute bottom-0 left-0 right-0 bg-black/60 backdrop-blur-[2px] py-1 px-2 border-t border-white/10"> <p class="text-[7px] font-black text-white truncate uppercase tracking-widest leading-none">${A.name}</p> </div> </div>`},r.readAsDataURL(A)}};window.konfirmasiKeluar=()=>{const e=document.documentElement.classList.contains("dark");window.Swal.fire({title:'<h4 class="font-[900] text-rose-600 uppercase text-sm">Selesaikan Sesi?</h4>',html:'<p class="text-[10px] font-bold text-slate-500 uppercase tracking-widest">Data akan tersinkronisasi sebelum keluar.</p>',icon:"warning",showCancelButton:!0,confirmButtonColor:"#f43f5e",cancelButtonColor:"#94a3b8",confirmButtonText:"YA, KELUAR",cancelButtonText:"BATAL",background:e?"#1e293b":"#ffffff",color:e?"#f8fafc":"#1e293b",customClass:{popup:"rounded-[2.5rem] border-none"}}).then(t=>{t.isConfirmed&&document.getElementById("form-keluar").submit()})};window.tambahPesan=(e,t)=>{const n=document.getElementById("chatHistory");if(!n)return;const A=new Date().toLocaleTimeString("id-ID",{hour:"2-digit",minute:"2-digit",timeZone:"Asia/Jakarta"})+" WIB",r=` <div class="msg-row ${t==="sent"?"sent-row":"received-row"} flex mb-4"> <div class="bubble ${t} shadow-sm"> ${e} <div class="text-[9px] text-right text-gray-400 mt-1">${A}</div> </div> </div>`;n.insertAdjacentHTML("beforeend",r);const i=document.getElementById("chatBox");i&&(i.scrollTop=i.scrollHeight)};window.kirimPesan=async e=>{const t=document.getElementById("userInput"),n=t.value.trim();if(n){window.tambahPesan(n,"sent"),t.value="";try{const A=document.querySelector('meta[name="csrf-token"]').getAttribute("content"),i=(await axios.post(e,{keyword:n},{headers:{"X-CSRF-TOKEN":A}})).data;if(i.status==="success"&&i.data.individu){const s=i.data.individu;window.dataStore[s.id_peserta]=s;const a=` <span class="font-bold text-[#128c7e] text-[11px] block mb-2 uppercase tracking-widest">KARTU PESERTA SMARTTREN</span> <div class="bg-white border-2 border-emerald-600 rounded-2xl overflow-hidden shadow-md mb-3 no-print"> <div class="bg-emerald-700 p-2 text-white text-center"><p class="text-[10px] font-black uppercase tracking-tighter">SMA KP BALEENDAH</p></div> <div class="p-4 flex gap-5 items-start bg-emerald-50/30"> <div class="flex-none"><img src="${s.foto&&s.foto!=="null"?`/arsip_tahun/2026/peserta_didik/foto_profil/${s.foto}`:"/bahan/gambar/profil_bawaan.jpg"}" class="w-16 h-20 object-cover rounded-md border-2 border-emerald-700 shadow-sm bg-white"></div> <div class="flex-1 min-w-0 text-left"> <p class="text-[8px] text-emerald-700 font-bold uppercase leading-none mb-1">Nama Lengkap</p> <p class="text-[11px] font-black text-gray-900 truncate mb-2 uppercase">${s.nama_lengkap}</p> <div class="grid grid-cols-2 gap-x-2 gap-y-2"> <div><p class="text-[8px] text-emerald-700 font-bold uppercase mb-0.5">NIS</p><p class="text-[10px] font-bold text-gray-800">${s.nis}</p></div> <div><p class="text-[8px] text-emerald-700 font-bold uppercase mb-0.5">Kelas</p><p class="text-[10px] font-bold text-gray-800">${s.kelas}</p></div> </div> </div> </div> </div> <div class="flex flex-col gap-2"> <a href="${s.link_wa||"#"}" target="_blank" class="w-full bg-[#25D366] text-white py-3 rounded-xl text-[11px] font-black uppercase shadow-lg text-center"><i class="fab fa-whatsapp mr-1"></i> Grup WhatsApp</a> <div class="flex gap-2"> <button onclick="window.downloadKartu('${s.id_peserta}', 'jpg')" class="flex-1 bg-emerald-600 text-white py-2.5 rounded-xl text-[10px] font-black uppercase shadow-md active:scale-95"><i class="fas fa-image"></i> GAMBAR</button> <button onclick="window.downloadKartu('${s.id_peserta}', 'pdf')" class="flex-1 bg-rose-600 text-white py-2.5 rounded-xl text-[10px] font-black uppercase shadow-md active:scale-95"><i class="fas fa-file-pdf"></i> PDF</button> </div> </div>`;window.tambahPesan(a,"received")}else window.tambahPesan(`<i class="fas fa-exclamation-circle text-red-500"></i> ${i.message||"Data tidak ditemukan."}`,"received")}catch{window.tambahPesan("Gagal terhubung ke server.","received")}}};window.downloadKartu=async(e,t)=>{const n=window.dataStore[e],A=document.getElementById("kartuRenderArea");if(!n||!A)return;document.getElementById("kartuNama").innerText=n.nama_lengkap.toUpperCase(),document.getElementById("kartuNis").innerText=n.nis||"-",document.getElementById("kartuKelas").innerText=n.kelas||"-",document.getElementById("kartuKelompok").innerText=n.kelompok||"-",document.getElementById("kartuPembimbing").innerText=n.nama_pembimbing||"-",document.getElementById("kartuUser").innerText=n.nis||"-";const r=document.getElementById("kartuFoto");r.src=n.foto&&n.foto!=="null"?`/arsip_tahun/2026/peserta_didik/foto_profil/${n.foto}`:"/bahan/gambar/profil_bawaan.jpg",A.classList.remove("hidden");try{await new Promise(a=>{r.complete?a():r.onload=a});const i=document.getElementById("businessCardTemplate"),o=(await window.html2canvas(i,{scale:3,useCORS:!0,backgroundColor:null,width:i.offsetWidth,height:i.offsetHeight,scrollX:0,scrollY:-window.scrollY})).toDataURL("image/jpeg",1);if(t==="pdf"){const a=new window.jsPDF("p","cm",[11.4,17.2]);a.addImage(o,"JPEG",0,0,11.4,17.2),a.save(`Kartu_Smarttren_${n.nama_lengkap}.pdf`)}else{const a=document.createElement("a");a.download=`Kartu_Smarttren_${n.nama_lengkap}.jpg`,a.href=o,a.click()}}catch(i){console.error("Gagal Render:",i)}finally{A.classList.add("hidden")}};let Ls=null;window.picuInputFoto=()=>{window.mainkanEfek(40),document.getElementById("inputFoto").click()};window.initProfilLogic=()=>{$("#inputFoto").on("change",function(){if(this.files&&this.files[0]){const e=new FileReader;e.onload=function(t){$("#modalCrop").removeClass("hidden").addClass("flex"),Ls&&Ls.destroy(),Ls=new window.Croppie(document.getElementById("crop-area"),{viewport:{width:220,height:220,type:"square"},boundary:{width:"100%",height:320},showZoomer:!0,enableOrientation:!0,enforceBoundary:!0}),setTimeout(()=>{Ls.bind({url:t.target.result,zoom:0})},500)},e.readAsDataURL(this.files[0])}}),$("#formProfil").on("submit",function(e){e.preventDefault(),window.Swal.fire({title:'<span class="text-sm font-black uppercase">Sinkronisasi...</span>',text:"Memperbarui Identitas Visual",allowOutsideClick:!1,didOpen:()=>{window.Swal.showLoading()}}),$.ajax({url:window.routeUpdateProfil,method:"POST",data:new FormData(this),contentType:!1,processData:!1,success:function(t){t.status==="success"&&window.Swal.fire({icon:"success",title:'<h4 class="font-black text-emerald-500 uppercase">GACOR!</h4>',text:"Profil berhasil diperbarui",showConfirmButton:!1,timer:1500}).then(()=>location.reload())}})})};window.konfirmasiSimpan=()=>{window.mainkanEfek(50);const e=document.documentElement.classList.contains("dark");window.Swal.fire({title:'<h4 class="font-black text-emerald-500 uppercase italic text-sm">Simpan Perubahan?</h4>',html:'<p class="text-[10px] font-bold text-slate-500 italic uppercase tracking-widest">Sinkronisasi data akun ke server Birulogi.</p>',icon:"question",showCancelButton:!0,confirmButtonColor:"#10b981",cancelButtonColor:"#94a3b8",confirmButtonText:"YA, SIMPAN",cancelButtonText:"BATAL",background:e?"#0f172a":"#ffffff",customClass:{popup:"rounded-[2.5rem] border-none shadow-2xl",confirmButton:"rounded-xl font-black text-[10px] px-8 py-4",cancelButton:"rounded-xl font-black text-[10px] px-8 py-4"}}).then(t=>{t.isConfirmed&&(window.mainkanEfek(60),$("#formProfil").submit())})};window.tutupModal=()=>{window.mainkanEfek(20),$("#modalCrop").addClass("hidden").removeClass("flex"),$("#inputFoto").val(""),Ls&&(Ls.destroy(),Ls=null)};window.ambilHasilCrop=()=>{window.mainkanEfek(45),Ls&&Ls.result({type:"base64",size:{width:800,height:800},format:"jpeg",quality:.9}).then(function(e){$("#previewBox").html('<img src="'+e+'" class="w-full h-full object-cover rounded-[2.2rem] animate__animated animate__fadeIn">'),$("#foto_cropped").val(e),window.tutupModal()})};window.initDashboardChart=e=>{const t=document.getElementById("grafikPresensi").getContext("2d");new window.Chart(t,{type:"doughnut",data:{labels:["Hadir","Sakit","Izin","Alfa"],datasets:[{data:e,backgroundColor:["#10b981","#f59e0b","#3b82f6","#f43f5e"],borderWidth:0,hoverOffset:15}]},options:{responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1}},cutout:"80%",animation:{animateScale:!0,animateRotate:!0,duration:2e3,easing:"easeOutQuart"}}})};window.detailTeman=(e,t,n,A,r)=>{const i=document.documentElement.classList.contains("dark"),s=e.charAt(0).toUpperCase();window.navigator&&window.navigator.vibrate&&window.navigator.vibrate(30),window.Swal.fire({html:` <div class="flex flex-col items-center animate__animated animate__zoomIn"> <div class="w-40 h-40 ${i?"bg-slate-800":"bg-slate-50"} rounded-[3rem] p-2 shadow-2xl shadow-emerald-500/20 mb-6 border-none"> <div class="w-full h-full ${i?"bg-slate-950":"bg-white"} rounded-[2.5rem] flex items-center justify-center text-7xl font-[900] text-emerald-500 shadow-inner overflow-hidden border-none"> ${A&&A!==""?`<img src="${r}${A}" class="w-full h-full object-cover">`:s} </div> </div> <div class="mb-8 w-full text-center border-none"> <span class="text-[10px] font-black text-emerald-500 uppercase tracking-[0.5em] mb-3 block border-none">Identitas Rekan</span> <h2 class="text-3xl font-[900] ${i?"text-white":"text-slate-800"} uppercase tracking-tighter leading-none px-4 border-none">${e}</h2> </div> <div class="w-full grid grid-cols-2 gap-3 border-none"> <div class="${i?"bg-slate-800/50":"bg-slate-50"} p-5 rounded-[2.2rem] text-center shadow-inner border-none"> <p class="text-[9px] font-black text-slate-400 uppercase mb-2 tracking-widest leading-none border-none">Nomor Induk</p> <p class="text-[14px] font-[900] ${i?"text-slate-200":"text-slate-700"} tracking-widest border-none">${t}</p> </div> <div class="${i?"bg-slate-800/50":"bg-slate-50"} p-5 rounded-[2.2rem] text-center shadow-inner border-none"> <p class="text-[9px] font-black text-slate-400 uppercase mb-2 tracking-widest leading-none border-none">Kelas</p> <p class="text-[14px] font-[900] text-emerald-500 tracking-widest border-none">${n}</p> </div> </div> </div>`,showConfirmButton:!1,showCloseButton:!0,background:i?"#0f172a":"#ffffff",padding:"2.5rem",customClass:{popup:"rounded-[3.5rem] border-none shadow-2xl shadow-emerald-900/30",closeButton:"text-slate-400 hover:text-rose-500 transition-colors focus:outline-none border-none"}})};window.konfirmasiSimpanJurnal=()=>{const e=document.documentElement.classList.contains("dark");window.Swal.fire({title:'<h4 class="font-black text-emerald-600 uppercase italic text-sm">Simpan Jurnal?</h4>',html:'<p class="text-[10px] font-bold text-slate-500 italic uppercase tracking-widest">Pastikan isian ibadahmu sudah jujur dan benar!</p>',icon:"question",showCancelButton:!0,confirmButtonColor:"#059669",cancelButtonColor:"#94a3b8",confirmButtonText:'<span class="text-[10px] font-black uppercase tracking-widest">YA, SIMPAN</span>',cancelButtonText:'<span class="text-[10px] font-black uppercase tracking-widest">BATAL</span>',background:e?"#0f172a":"#ffffff",customClass:{popup:"rounded-[2.5rem] border-none shadow-2xl shadow-emerald-500/20",confirmButton:"rounded-xl px-8 py-4",cancelButton:"rounded-xl px-8 py-4"}}).then(t=>{t.isConfirmed&&(window.navigator&&window.navigator.vibrate&&window.navigator.vibrate(50),window.Swal.fire({title:'<span class="text-sm font-black uppercase">Mengirim...</span>',allowOutsideClick:!1,didOpen:()=>{window.Swal.showLoading()}}),document.getElementById("formJurnal").submit())})};window.initChatSync=(e,t,n,A=4e3)=>{let r=0;const i=document.getElementById(n);if(!i)return;const s=()=>{fetch(`${e}?last_id=${r}`,{headers:{"X-Requested-With":"XMLHttpRequest"}}).then(o=>o.json()).then(o=>{o.pesan&&o.pesan.length>0&&(o.pesan.forEach(a=>{a.id_chat>r&&(window.appendChatLogic(a,t,n),r=a.id_chat)}),i.scrollTop=i.scrollHeight)})};setInterval(s,A),s()};window.appendChatLogic=(e,t,n)=>{const A=document.getElementById(n),r=e.id_pengirim==t,i=e.id_pengirim_staff!=null,s=e.pesan_teks==="Pembimbing telah menghapus pesan ini";let o=r?"Saya":e.nama_staff??e.nama_peserta??"Muallim";const a=` <div class="flex ${r?"justify-end":"justify-start"} animate__animated animate__fadeInUp animate__faster mb-1"> <div class="flex flex-col ${r?"items-end":"items-start"} max-w-[85%] border-none"> <span class="text-[8px] font-black ${i?"text-emerald-500":"text-slate-400"} mb-1.5 px-3 uppercase tracking-widest leading-none"> ${i?'<i class="fas fa-star-and-crescent mr-1"></i> Muallim | ':""}${o} </span> <div class="px-5 py-3 border-none ${r?"text-white bubble-me":"text-slate-800 dark:text-slate-100 bubble-them"}"> <p class="text-[14px] font-[900] leading-snug tracking-tight ${s?"opacity-50 italic ":""}"> ${s?'<i class="fas fa-ban text-[10px] mr-1"></i>':""}${e.pesan_teks} </p> <div class="flex items-center ${r?"justify-end":"justify-start"} mt-2 pt-2 border-t ${r?"border-white/10":"border-emerald-500/10"}"> <span class="text-[9px] font-black uppercase tracking-widest ${r?"text-white/80":"text-emerald-500/80"}"> <i class="far fa-clock mr-1 text-[8px]"></i> ${e.created_at_formatted??"Baru"} </span> </div> </div> </div> </div>`;A.insertAdjacentHTML("beforeend",a),A.scrollTop=A.scrollHeight};console.log("App Pembimbing loaded");document.addEventListener("DOMContentLoaded",()=>{});console.log("App Superadmin loaded");document.addEventListener("DOMContentLoaded",()=>{});window.$=window.jQuery=d_;window.Croppie=qH;window.Alpine=Wh;window.Swal=ch;window.html2canvas=ax;window.jsPDF=Fe;window.Chart=xw;window.dataStore={};Wh.plugin(OU);Wh.data("menuChat",()=>({openMenu:!1,toggle(){this.openMenu=!this.openMenu},close(){this.openMenu=!1},changeTheme(){window.ubahMode()},clear(){window.bersihkanChat(),this.close()}}));Wh.start();const p7=()=>{localStorage.theme==="dark"||!("theme"in localStorage)&&window.matchMedia("(prefers-color-scheme: dark)").matches?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")};p7();window.ubahMode=()=>{const t=document.documentElement.classList.toggle("dark");localStorage.theme=t?"dark":"light",window.navigator&&window.navigator.vibrate&&window.navigator.vibrate(30)};window.toggleMobileSidebar=()=>{const e=document.getElementById("mobile-sidebar"),t=document.getElementById("sidebar-overlay");e&&t&&(e.classList.toggle("-translate-x-full"),t.classList.toggle("hidden"),document.body.style.overflow=e.classList.contains("-translate-x-full")?"auto":"hidden")};window.mainkanEfek=(e=35)=>{window.navigator&&window.navigator.vibrate&&window.navigator.vibrate(e)};window.tampilkanPesanTerkunci=(e,t="#10b981")=>{const n=document.documentElement.classList.contains("dark");window.Swal.fire({title:'<h4 class="font-[900] text-emerald-600 uppercase text-sm">Afwan!</h4>',text:`Halaman SMARTTREN ${e} masih dipersiapkan oleh panitia.`,icon:"info",confirmButtonColor:t,confirmButtonText:"DITUNGGU YA!",background:n?"#1e293b":"#ffffff",color:n?"#f8fafc":"#1e293b",customClass:{popup:"rounded-[2.5rem] border-none shadow-2xl",confirmButton:"rounded-xl font-black uppercase text-[10px] tracking-widest py-4 px-8"}})};window.bersihkanChat=()=>{window.mainkanEfek(40);const e=document.getElementById("chatHistory");e&&(e.querySelectorAll(".animate__animated").forEach(A=>{A.remove()}),document.getElementById("chatBox").scrollTo({top:0,behavior:"smooth"}))};window.initCekKelompok=e=>{const t=document.getElementById("userInput"),n=document.getElementById("btnKirim"),A=()=>{const r=t.value.trim();if(!r)return;const i=new Date().toLocaleTimeString("id-ID",{hour:"2-digit",minute:"2-digit",hour12:!1});Tf(r,"sent",i),t.value="",setTimeout(async()=>{try{const o=(await axios.post(e,{nis:r})).data;if(o.status==="success"){const a=o.data.individu,l=`kartu-${a.nis}`,u=` <div id="${l}" class="p-1" style="min-width: 280px; background: transparent;"> <span class="judul-wa">INFORMASI PESERTA DIDIK</span> <div class="bg-white my-2 p-2 rounded-lg border-l-4 border-emerald-500 shadow-sm"> <p class="text-[9px] font-bold text-emerald-600 leading-none mb-1">NAMA LENGKAP</p> <p class="text-[13px] font-black uppercase text-slate-900">${a.nama_lengkap}</p> </div> <div class="grid grid-cols-2 gap-2 mt-2"> <div class="bg-white p-2 rounded-lg shadow-sm"> <p class="text-[8px] font-bold text-slate-400 uppercase">KELAS</p> <p class="text-[11px] font-bold text-slate-900">${a.kelas}</p> </div> <div class="bg-white p-2 rounded-lg shadow-sm"> <p class="text-[8px] font-bold text-slate-400 uppercase">KELOMPOK</p> <p class="text-[11px] font-bold text-blue-600">${a.kelompok}</p> </div> </div> <div class="mt-2 p-2 bg-white rounded-lg shadow-sm border border-blue-100/50"> <p class="text-[8px] font-bold text-blue-600 uppercase">PEMBIMBING</p> <p class="text-[11px] font-bold italic text-slate-800">${a.nama_pembimbing}</p> </div> </div> <div class="mt-3 flex flex-col gap-2"> ${a.link_wa&&a.link_wa!=="#"?` <a href="${a.link_wa}" target="_blank" class="block w-full text-center bg-[#25d366] text-white py-2 rounded-lg font-black text-[10px] uppercase shadow-md active:scale-95 transition-all"> <i class="fab fa-whatsapp mr-1"></i> Gabung Grup WA </a> <button onclick="window.simpanKartu('${l}', '${a.nama_lengkap}', event)" class="w-full bg-blue-600 text-white py-2 rounded-lg font-black text-[10px] uppercase shadow-md active:scale-95 transition-all"> <i class="fas fa-download mr-1"></i> Simpan Kartu Kelompok </button> `:""} </div> `;Tf(u,"received",i)}else Tf(o.message||"NIS tidak terdaftar.","received",i)}catch{Tf("Maaf, sistem sedang sibuk. Coba lagi nanti ya!","received",i)}},800)};t.addEventListener("keypress",r=>{r.key==="Enter"&&A()}),n.addEventListener("click",A)};window.simpanKartu=(e,t,n)=>{const A=document.getElementById(e);if(!A)return;const r=n.currentTarget,i=r.innerHTML;r.innerHTML='<i class="fas fa-spinner fa-spin"></i>',r.style.pointerEvents="none";const s=A.querySelector(".text-slate-900").innerText,o=e.split("-")[1],a=A.querySelectorAll(".text-slate-900, .text-slate-800")[1].innerText,l=A.querySelector(".text-blue-600").innerText,u=A.querySelector(".italic").innerText,h=document.createElement("div");h.style.cssText=` position: fixed; top: -9999px; left: -9999px; width: 800px; height: 500px; background: #ffffff; border-radius: 15px; font-family: 'Arial', sans-serif; overflow: hidden; border: 1px solid #d1d5db; `,h.innerHTML=` <table width="800" height="500" cellpadding="0" cellspacing="0" border="0" style="border-collapse: collapse; table-layout: fixed;"> <tr bgcolor="#064e3b" height="110"> <td colspan="2" align="center" valign="middle" style="border-bottom: 5px solid #fbbf24; padding: 0 20px;"> <div style="color: #ffffff; font-size: 14px; font-weight: bold; letter-spacing: 2px; margin-bottom: 5px;">SMA KP BALEENDAH [cite: 2]</div> <div style="color: #ffffff; font-size: 40px; font-weight: 900; letter-spacing: 5px; line-height: 1;">SMARTTREN 2026 [cite: 3]</div> <div style="display: inline-block; background: #fbbf24; color: #064e3b; padding: 2px 10px; border-radius: 5px; font-size: 10px; font-weight: bold; margin-top: 5px;">1447 H / 2026 M [cite: 4]</div> </td> </tr> <tr> <td width="220" align="center" valign="middle" style="border-right: 1px solid #f1f5f9; padding: 20px;"> <div style="width: 150px; height: 150px; border: 4px solid #064e3b; border-radius: 12px; background: #f8fafc; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden;"> <i class="fas fa-user" style="font-size: 80px; color: #cbd5e1;"></i> </div> <div style="background: #064e3b; color: #ffffff; padding: 4px 12px; border-radius: 15px; font-size: 10px; font-weight: bold; text-transform: uppercase;">PESERTA DIDIK</div> </td> <td align="left" valign="middle" style="padding: 0 40px;"> <div style="margin-bottom: 20px;"> <div style="font-size: 10px; color: #64748b; font-weight: bold; margin-bottom: 2px;">NAMA LENGKAP </div> <div style="font-size: 26px; font-weight: 900; color: #111b21; text-transform: uppercase; line-height: 1.1;">${s} </div> </div> <table width="100%" cellpadding="0" cellspacing="0" border="0" style="margin-bottom: 20px;"> <tr> <td width="50%" style="padding-bottom: 15px;"> <div style="font-size: 9px; color: #64748b; font-weight: bold; margin-bottom: 2px;">NIS </div> <div style="font-size: 16px; font-weight: bold; color: #111b21;">${o} [cite: 10]</div> </td> <td width="50%" style="padding-bottom: 15px;"> <div style="font-size: 9px; color: #64748b; font-weight: bold; margin-bottom: 2px;">KELAS </div> <div style="font-size: 16px; font-weight: bold; color: #111b21;">${a} [cite: 11]</div> </td> </tr> <tr> <td> <div style="font-size: 9px; color: #64748b; font-weight: bold; margin-bottom: 2px;">KELOMPOK </div> <div style="font-size: 16px; font-weight: 800; color: #2563eb;">${l} [cite: 12]</div> </td> <td> <div style="font-size: 9px; color: #64748b; font-weight: bold; margin-bottom: 2px;">PEMBIMBING </div> <div style="font-size: 14px; font-weight: bold; color: #059669; font-style: italic;">${u} [cite: 13]</div> </td> </tr> </table> <table width="100%" cellpadding="10" cellspacing="0" border="0" style="background: #fffbeb; border: 2px dashed #fbbf24; border-radius: 10px;"> <tr> <td style="font-size: 9px; color: #92400e; font-weight: bold; width: 40%;">AKSES LOGIN SMARTTREN </td> <td align="right" style="font-size: 13px; font-family: monospace; color: #92400e; font-weight: bold;"> U: ${o} | P: st2026 </td> </tr> </table> </td> </tr> <tr bgcolor="#f8fafc" height="40" style="border-top: 1px solid #e2e8f0;"> <td colspan="2" align="center" valign="middle" style="color: #94a3b8; font-size: 10px; font-weight: bold; letter-spacing: 3px;"> BIRULOGI SYSTEM © 2026 [cite: 16] </td> </tr> </table> `,document.body.appendChild(h),setTimeout(()=>{window.html2canvas(h,{scale:3,backgroundColor:null,useCORS:!0,onclone:w=>{const p=w.getElementsByTagName("head")[0];p&&(p.innerHTML="")}}).then(w=>{const p=document.createElement("a");p.download=`Kartu_Smarttren_${s}.jpg`,p.href=w.toDataURL("image/jpeg",1),p.click(),document.body.removeChild(h),r.innerHTML=i,r.style.pointerEvents="auto",window.Swal.fire({icon:"success",title:"KARTU BERHASIL DISIMPAN!",text:"Format sudah dipastikan 100% presisi.",timer:1500,showConfirmButton:!1,customClass:{popup:"rounded-3xl"}})})},500)};window.initCekSertifikat=()=>{const e=document.getElementById("nisInput");e&&e.addEventListener("keydown",t=>{t.key==="Enter"&&window.prosesCekSertifikat()})};window.pilihOpsiCepat=()=>{const e=document.getElementById("bubble-panduan"),t=document.getElementById("waktu-panduan");if(e){const n=new Date().toLocaleTimeString("id-ID",{hour:"2-digit",minute:"2-digit",hour12:!1}).replace(":",".")+" WIB";t.innerText=n,e.style.display="block";const A=document.getElementById("chatBox");setTimeout(()=>{A.scrollTop=A.scrollHeight,document.getElementById("nisInput").focus()},100)}};window.prosesCekSertifikat=async()=>{const e=document.getElementById("nisInput"),t=e.value.trim();if(!t)return;const n=document.documentElement.classList.contains("dark"),A=new Date().toLocaleTimeString("id-ID",{hour:"2-digit",minute:"2-digit",hour12:!1}).replace(":",".")+" WIB";window.tambahPesan(t,"sent",A),e.value="";try{const i=(await axios.post("/api/cek-sertifikat",{nis:t})).data;if(i.status==="sukses"){const s=document.getElementById("bubble-sertifikat");document.getElementById("res-nama").innerText=i.nama,document.getElementById("res-kelas").innerText=i.kelas,document.getElementById("waktu-sertifikat").innerText=A,document.getElementById("btn-lihat").onclick=()=>window.lihatSertifikat(i.link),document.getElementById("btn-simpan").href=i.link+"?unduh=1";const o=n?"rgb(32, 44, 51)":"rgb(255, 255, 255)";s.style.backgroundColor=o,s.style.setProperty("background-color",o,"important"),s.style.opacity="1",document.getElementById("chatHistory").appendChild(s),s.style.display="block",setTimeout(()=>{const l=document.getElementById("chatBox");l.scrollTop=l.scrollHeight},100)}else window.tambahPesan(i.pesan||"Sertifikat tidak ditemukan, kemungkinan nilai belum beres.","received",A)}catch{window.tambahPesan("Sistem sibuk, coba lagi nanti.","received",A)}};function Tf(e,t,n){const A=document.getElementById("chatHistory");if(!A)return;const r=document.documentElement.classList.contains("dark"),i=t==="sent"?"bubble-me":"bubble-them",s=t==="sent"?'<i class="fas fa-check-double ceklis-biru"></i>':"";let o=n.toString().replace(":",".");o.includes("WIB")||(o+=" WIB");let a;t==="sent"?a=r?"rgb(0, 92, 75)":"rgb(220, 248, 198)":a=r?"rgb(32, 44, 51)":"rgb(255, 255, 255)";const l=` <div class="bubble ${i} animate__animated animate__fadeInUp" style="background-color: ${a} !important; opacity: 1 !important; visibility: visible !important;"> ${t==="received"?'<span class="judul-wa">Sistem Birulogi</span>':""} <p style="margin:0">${e}</p> <div class="status-meta"><span>${o}</span>${s}</div> </div> `;A.insertAdjacentHTML("beforeend",l);const u=document.getElementById("chatBox");u&&(u.scrollTop=u.scrollHeight)}window.lihatSertifikat=e=>{const t=document.getElementById("modalPratinjau"),n=document.getElementById("frameSertifikat");n.src=e,t.classList.remove("hidden"),t.style.display="flex"};window.tutupPratinjau=()=>{const e=document.getElementById("modalPratinjau"),t=document.getElementById("frameSertifikat");e.classList.add("hidden"),e.style.display="none",t.src=""};window.tampilkanModalHasil=(e,t)=>{const n=document.getElementById("modalHasil");n&&(document.getElementById("displayNama").innerText=e.nama,document.getElementById("displayNis").innerText=t,document.getElementById("linkDownload").href=e.link+"?unduh=1",n.classList.remove("hidden"),n.classList.add("flex"),n.style.display="flex")};window.tutupModal=()=>{const e=document.getElementById("modalHasil");e&&(e.classList.add("hidden"),e.classList.remove("flex"),e.style.display="none")};window.addEventListener("click",e=>{const t=document.getElementById("modalHasil");e.target===t&&window.tutupModal()});document.addEventListener("DOMContentLoaded",()=>{const e=document.getElementById("theme-toggle");e&&(e.onclick=window.ubahMode)});export{pn as _,H7 as c,KH as g};
Save
๐งช PHP Preview
<?php echo 'hello'; ?>
Run PHP
๐ฅ Linux CMD
Run CMD