mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
359 lines
2.6 MiB
359 lines
2.6 MiB
var fue=Object.defineProperty;var due=(e,t,n)=>t in e?fue(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Lr=(e,t,n)=>due(e,typeof t!="symbol"?t+"":t,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();/**
|
||
* @vue/shared v3.4.34
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**//*! #__NO_SIDE_EFFECTS__ */function TS(e,t){const n=new Set(e.split(","));return r=>n.has(r)}const Kn={},Up=[],ta=()=>{},hue=()=>!1,_2=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Y_=e=>e.startsWith("onUpdate:"),Vr=Object.assign,Z_=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},pue=Object.prototype.hasOwnProperty,Wn=(e,t)=>pue.call(e,t),kt=Array.isArray,Bp=e=>Ev(e)==="[object Map]",r0=e=>Ev(e)==="[object Set]",IN=e=>Ev(e)==="[object Date]",vue=e=>Ev(e)==="[object RegExp]",Gt=e=>typeof e=="function",Pr=e=>typeof e=="string",cu=e=>typeof e=="symbol",lr=e=>e!==null&&typeof e=="object",Q_=e=>(lr(e)||Gt(e))&&Gt(e.then)&&Gt(e.catch),bB=Object.prototype.toString,Ev=e=>bB.call(e),gue=e=>Ev(e).slice(8,-1),xB=e=>Ev(e)==="[object Object]",H_=e=>Pr(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Yp=TS(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),_S=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},mue=/-(\w)/g,po=_S(e=>e.replace(mue,(t,n)=>n?n.toUpperCase():"")),yue=/\B([A-Z])/g,$o=_S(e=>e.replace(yue,"-$1").toLowerCase()),O2=_S(e=>e.charAt(0).toUpperCase()+e.slice(1)),Dg=_S(e=>e?`on${O2(e)}`:""),Oo=(e,t)=>!Object.is(e,t),Zp=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},SB=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Yb=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Zb=e=>{const t=Pr(e)?Number(e):NaN;return isNaN(t)?e:t};let NN;const wB=()=>NN||(NN=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),Aue="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error",Rue=TS(Aue);function Le(e){if(kt(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=Pr(r)?wue(r):Le(r);if(i)for(const o in i)t[o]=i[o]}return t}else if(Pr(e)||lr(e))return e}const bue=/;(?![^(]*\))/g,xue=/:([^]+)/,Sue=/\/\*[^]*?\*\//g;function wue(e){const t={};return e.replace(Sue,"").split(bue).forEach(n=>{if(n){const r=n.split(xue);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function ze(e){let t="";if(Pr(e))t=e;else if(kt(e))for(let n=0;n<e.length;n++){const r=ze(e[n]);r&&(t+=r+" ")}else if(lr(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Mue(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Pr(t)&&(e.class=ze(t)),n&&(e.style=Le(n)),e}const Lue="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Tue=TS(Lue);function MB(e){return!!e||e===""}function _ue(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Df(e[r],t[r]);return n}function Df(e,t){if(e===t)return!0;let n=IN(e),r=IN(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=cu(e),r=cu(t),n||r)return e===t;if(n=kt(e),r=kt(t),n||r)return n&&r?_ue(e,t):!1;if(n=lr(e),r=lr(t),n||r){if(!n||!r)return!1;const i=Object.keys(e).length,o=Object.keys(t).length;if(i!==o)return!1;for(const a in e){const s=e.hasOwnProperty(a),l=t.hasOwnProperty(a);if(s&&!l||!s&&l||!Df(e[a],t[a]))return!1}}return String(e)===String(t)}function OS(e,t){return e.findIndex(n=>Df(n,t))}const LB=e=>!!(e&&e.__v_isRef===!0),pt=e=>Pr(e)?e:e==null?"":kt(e)||lr(e)&&(e.toString===bB||!Gt(e.toString))?LB(e)?pt(e.value):JSON.stringify(e,TB,2):String(e),TB=(e,t)=>LB(t)?TB(e,t.value):Bp(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i],o)=>(n[Pw(r,o)+" =>"]=i,n),{})}:r0(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Pw(n))}:cu(t)?Pw(t):lr(t)&&!kt(t)&&!xB(t)?String(t):t,Pw=(e,t="")=>{var n;return cu(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||
* @vue/reactivity v3.4.34
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let Oa;class K_{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Oa,!t&&Oa&&(this.index=(Oa.scopes||(Oa.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Oa;try{return Oa=this,t()}finally{Oa=n}}}on(){Oa=this}off(){Oa=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this._active=!1}}}function G_(e){return new K_(e)}function _B(e,t=Oa){t&&t.active&&t.effects.push(e)}function z_(){return Oa}function OB(e){Oa&&Oa.cleanups.push(e)}let xh;class fv{constructor(t,n,r,i){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,_B(this,i)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,id();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(Oue(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),od()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Of,n=xh;try{return Of=!0,xh=this,this._runnings++,FN(this),this.fn()}finally{EN(this),this._runnings--,xh=n,Of=t}}stop(){this.active&&(FN(this),EN(this),this.onStop&&this.onStop(),this.active=!1)}}function Oue(e){return e.value}function FN(e){e._trackId++,e._depsLength=0}function EN(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)kB(e.deps[t],e);e.deps.length=e._depsLength}}function kB(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}function kue(e,t){e.effect instanceof fv&&(e=e.effect.fn);const n=new fv(e,ta,()=>{n.dirty&&n.run()});t&&(Vr(n,t),t.scope&&_B(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function Pue(e){e.effect.stop()}let Of=!0,w8=0;const PB=[];function id(){PB.push(Of),Of=!1}function od(){const e=PB.pop();Of=e===void 0?!0:e}function J_(){w8++}function $_(){for(w8--;!w8&&M8.length;)M8.shift()()}function CB(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&kB(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const M8=[];function IB(e,t,n){J_();for(const r of e.keys()){let i;r._dirtyLevel<t&&(i??(i=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=t),r._shouldSchedule&&(i??(i=e.get(r)===r._trackId))&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&M8.push(r.scheduler)))}$_()}const NB=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Qb=new WeakMap,Sh=Symbol(""),L8=Symbol("");function ca(e,t,n){if(Of&&xh){let r=Qb.get(e);r||Qb.set(e,r=new Map);let i=r.get(n);i||r.set(n,i=NB(()=>r.delete(n))),CB(xh,i)}}function rc(e,t,n,r,i,o){const a=Qb.get(e);if(!a)return;let s=[];if(t==="clear")s=[...a.values()];else if(n==="length"&&kt(e)){const l=Number(r);a.forEach((u,c)=>{(c==="length"||!cu(c)&&c>=l)&&s.push(u)})}else switch(n!==void 0&&s.push(a.get(n)),t){case"add":kt(e)?H_(n)&&s.push(a.get("length")):(s.push(a.get(Sh)),Bp(e)&&s.push(a.get(L8)));break;case"delete":kt(e)||(s.push(a.get(Sh)),Bp(e)&&s.push(a.get(L8)));break;case"set":Bp(e)&&s.push(a.get(Sh));break}J_();for(const l of s)l&&IB(l,4);$_()}function Cue(e,t){const n=Qb.get(e);return n&&n.get(t)}const Iue=TS("__proto__,__v_isRef,__isVue"),FB=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(cu)),XN=Nue();function Nue(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=kn(this);for(let o=0,a=this.length;o<a;o++)ca(r,"get",o+"");const i=r[t](...n);return i===-1||i===!1?r[t](...n.map(kn)):i}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){id(),J_();const r=kn(this)[t].apply(this,n);return $_(),od(),r}}),e}function Fue(e){cu(e)||(e=String(e));const t=kn(this);return ca(t,"has",e),t.hasOwnProperty(e)}class EB{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const i=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(i?o?BB:UB:o?DB:VB).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=kt(t);if(!i){if(a&&Wn(XN,n))return Reflect.get(XN,n,r);if(n==="hasOwnProperty")return Fue}const s=Reflect.get(t,n,r);return(cu(n)?FB.has(n):Iue(n))||(i||ca(t,"get",n),o)?s:Cr(s)?a&&H_(n)?s:s.value:lr(s)?i?q_(s):k2(s):s}}class XB extends EB{constructor(t=!1){super(!1,t)}set(t,n,r,i){let o=t[n];if(!this._isShallow){const l=Uf(o);if(!Dh(r)&&!Uf(r)&&(o=kn(o),r=kn(r)),!kt(t)&&Cr(o)&&!Cr(r))return l?!1:(o.value=r,!0)}const a=kt(t)&&H_(n)?Number(n)<t.length:Wn(t,n),s=Reflect.set(t,n,r,i);return t===kn(i)&&(a?Oo(r,o)&&rc(t,"set",n,r):rc(t,"add",n,r)),s}deleteProperty(t,n){const r=Wn(t,n);t[n];const i=Reflect.deleteProperty(t,n);return i&&r&&rc(t,"delete",n,void 0),i}has(t,n){const r=Reflect.has(t,n);return(!cu(n)||!FB.has(n))&&ca(t,"has",n),r}ownKeys(t){return ca(t,"iterate",kt(t)?"length":Sh),Reflect.ownKeys(t)}}class WB extends EB{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Eue=new XB,Xue=new WB,Wue=new XB(!0),Vue=new WB(!0),j_=e=>e,kS=e=>Reflect.getPrototypeOf(e);function fA(e,t,n=!1,r=!1){e=e.__v_raw;const i=kn(e),o=kn(t);n||(Oo(t,o)&&ca(i,"get",t),ca(i,"get",o));const{has:a}=kS(i),s=r?j_:n?tO:Nm;if(a.call(i,t))return s(e.get(t));if(a.call(i,o))return s(e.get(o));e!==i&&e.get(t)}function dA(e,t=!1){const n=this.__v_raw,r=kn(n),i=kn(e);return t||(Oo(e,i)&&ca(r,"has",e),ca(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function hA(e,t=!1){return e=e.__v_raw,!t&&ca(kn(e),"iterate",Sh),Reflect.get(e,"size",e)}function WN(e,t=!1){!t&&!Dh(e)&&!Uf(e)&&(e=kn(e));const n=kn(this);return kS(n).has.call(n,e)||(n.add(e),rc(n,"add",e,e)),this}function VN(e,t,n=!1){!n&&!Dh(t)&&!Uf(t)&&(t=kn(t));const r=kn(this),{has:i,get:o}=kS(r);let a=i.call(r,e);a||(e=kn(e),a=i.call(r,e));const s=o.call(r,e);return r.set(e,t),a?Oo(t,s)&&rc(r,"set",e,t):rc(r,"add",e,t),this}function DN(e){const t=kn(this),{has:n,get:r}=kS(t);let i=n.call(t,e);i||(e=kn(e),i=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return i&&rc(t,"delete",e,void 0),o}function UN(){const e=kn(this),t=e.size!==0,n=e.clear();return t&&rc(e,"clear",void 0,void 0),n}function pA(e,t){return function(r,i){const o=this,a=o.__v_raw,s=kn(a),l=t?j_:e?tO:Nm;return!e&&ca(s,"iterate",Sh),a.forEach((u,c)=>r.call(i,l(u),l(c),o))}}function vA(e,t,n){return function(...r){const i=this.__v_raw,o=kn(i),a=Bp(o),s=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,u=i[e](...r),c=n?j_:t?tO:Nm;return!t&&ca(o,"iterate",l?L8:Sh),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:s?[c(f[0]),c(f[1])]:c(f),done:d}},[Symbol.iterator](){return this}}}}function Pc(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Due(){const e={get(o){return fA(this,o)},get size(){return hA(this)},has:dA,add:WN,set:VN,delete:DN,clear:UN,forEach:pA(!1,!1)},t={get(o){return fA(this,o,!1,!0)},get size(){return hA(this)},has:dA,add(o){return WN.call(this,o,!0)},set(o,a){return VN.call(this,o,a,!0)},delete:DN,clear:UN,forEach:pA(!1,!0)},n={get(o){return fA(this,o,!0)},get size(){return hA(this,!0)},has(o){return dA.call(this,o,!0)},add:Pc("add"),set:Pc("set"),delete:Pc("delete"),clear:Pc("clear"),forEach:pA(!0,!1)},r={get(o){return fA(this,o,!0,!0)},get size(){return hA(this,!0)},has(o){return dA.call(this,o,!0)},add:Pc("add"),set:Pc("set"),delete:Pc("delete"),clear:Pc("clear"),forEach:pA(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=vA(o,!1,!1),n[o]=vA(o,!0,!1),t[o]=vA(o,!1,!0),r[o]=vA(o,!0,!0)}),[e,n,t,r]}const[Uue,Bue,Yue,Zue]=Due();function PS(e,t){const n=t?e?Zue:Yue:e?Bue:Uue;return(r,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(Wn(n,i)&&i in r?n:r,i,o)}const Que={get:PS(!1,!1)},Hue={get:PS(!1,!0)},Kue={get:PS(!0,!1)},Gue={get:PS(!0,!0)},VB=new WeakMap,DB=new WeakMap,UB=new WeakMap,BB=new WeakMap;function zue(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Jue(e){return e.__v_skip||!Object.isExtensible(e)?0:zue(gue(e))}function k2(e){return Uf(e)?e:CS(e,!1,Eue,Que,VB)}function YB(e){return CS(e,!1,Wue,Hue,DB)}function q_(e){return CS(e,!0,Xue,Kue,UB)}function $ue(e){return CS(e,!0,Vue,Gue,BB)}function CS(e,t,n,r,i){if(!lr(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const a=Jue(e);if(a===0)return e;const s=new Proxy(e,a===2?r:n);return i.set(e,s),s}function nu(e){return Uf(e)?nu(e.__v_raw):!!(e&&e.__v_isReactive)}function Uf(e){return!!(e&&e.__v_isReadonly)}function Dh(e){return!!(e&&e.__v_isShallow)}function eO(e){return e?!!e.__v_raw:!1}function kn(e){const t=e&&e.__v_raw;return t?kn(t):e}function IS(e){return Object.isExtensible(e)&&SB(e,"__v_skip",!0),e}const Nm=e=>lr(e)?k2(e):e,tO=e=>lr(e)?q_(e):e;class ZB{constructor(t,n,r,i){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new fv(()=>t(this._value),()=>Qp(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const t=kn(this);return(!t._cacheable||t.effect.dirty)&&Oo(t._value,t._value=t.effect.run())&&Qp(t,4),nO(t),t.effect._dirtyLevel>=2&&Qp(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function jue(e,t,n=!1){let r,i;const o=Gt(e);return o?(r=e,i=ta):(r=e.get,i=e.set),new ZB(r,i,o||!i,n)}function nO(e){var t;Of&&xh&&(e=kn(e),CB(xh,(t=e.dep)!=null?t:e.dep=NB(()=>e.dep=void 0,e instanceof ZB?e:void 0)))}function Qp(e,t=4,n,r){e=kn(e);const i=e.dep;i&&IB(i,t)}function Cr(e){return!!(e&&e.__v_isRef===!0)}function pe(e){return QB(e,!1)}function que(e){return QB(e,!0)}function QB(e,t){return Cr(e)?e:new ece(e,t)}class ece{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:kn(t),this._value=n?t:Nm(t)}get value(){return nO(this),this._value}set value(t){const n=this.__v_isShallow||Dh(t)||Uf(t);t=n?t:kn(t),Oo(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:Nm(t),Qp(this,4))}}function tce(e){Qp(e,4)}function z(e){return Cr(e)?e.value:e}function nce(e){return Gt(e)?e():z(e)}const rce={get:(e,t,n)=>z(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return Cr(i)&&!Cr(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function rO(e){return nu(e)?e:new Proxy(e,rce)}class ice{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>nO(this),()=>Qp(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function HB(e){return new ice(e)}function KB(e){const t=kt(e)?new Array(e.length):{};for(const n in e)t[n]=GB(e,n);return t}class oce{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Cue(kn(this._object),this._key)}}class ace{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Xv(e,t,n){return Cr(e)?e:Gt(e)?new ace(e):lr(e)&&arguments.length>1?GB(e,t,n):pe(e)}function GB(e,t,n){const r=e[t];return Cr(r)?r:new oce(e,t,n)}const sce={GET:"get",HAS:"has",ITERATE:"iterate"},lce={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"};/**
|
||
* @vue/runtime-core v3.4.34
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/function uce(e,t){}const cce={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE"},fce={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update"};function ic(e,t,n,r){try{return r?e(...r):e()}catch(i){i0(i,t,n)}}function Va(e,t,n,r){if(Gt(e)){const i=ic(e,t,n,r);return i&&Q_(i)&&i.catch(o=>{i0(o,t,n)}),i}if(kt(e)){const i=[];for(let o=0;o<e.length;o++)i.push(Va(e[o],t,n,r));return i}}function i0(e,t,n,r=!0){const i=t?t.vnode:null;if(t){let o=t.parent;const a=t.proxy,s=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const u=o.ec;if(u){for(let c=0;c<u.length;c++)if(u[c](e,a,s)===!1)return}o=o.parent}const l=t.appContext.config.errorHandler;if(l){id(),ic(l,null,10,[e,a,s]),od();return}}dce(e,n,i,r)}function dce(e,t,n,r=!0){console.error(e)}let Fm=!1,T8=!1;const so=[];let Ql=0;const Hp=[];let rf=null,ah=0;const zB=Promise.resolve();let iO=null;function Ir(e){const t=iO||zB;return e?t.then(this?e.bind(this):e):t}function hce(e){let t=Ql+1,n=so.length;for(;t<n;){const r=t+n>>>1,i=so[r],o=Em(i);o<e||o===e&&i.pre?t=r+1:n=r}return t}function NS(e){(!so.length||!so.includes(e,Fm&&e.allowRecurse?Ql+1:Ql))&&(e.id==null?so.push(e):so.splice(hce(e.id),0,e),JB())}function JB(){!Fm&&!T8&&(T8=!0,iO=zB.then($B))}function pce(e){const t=so.indexOf(e);t>Ql&&so.splice(t,1)}function Hb(e){kt(e)?Hp.push(...e):(!rf||!rf.includes(e,e.allowRecurse?ah+1:ah))&&Hp.push(e),JB()}function BN(e,t,n=Fm?Ql+1:0){for(;n<so.length;n++){const r=so[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;so.splice(n,1),n--,r()}}}function Kb(e){if(Hp.length){const t=[...new Set(Hp)].sort((n,r)=>Em(n)-Em(r));if(Hp.length=0,rf){rf.push(...t);return}for(rf=t,ah=0;ah<rf.length;ah++){const n=rf[ah];n.active!==!1&&n()}rf=null,ah=0}}const Em=e=>e.id==null?1/0:e.id,vce=(e,t)=>{const n=Em(e)-Em(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function $B(e){T8=!1,Fm=!0,so.sort(vce);try{for(Ql=0;Ql<so.length;Ql++){const t=so[Ql];t&&t.active!==!1&&ic(t,t.i,t.i?15:14)}}finally{Ql=0,so.length=0,Kb(),Fm=!1,iO=null,(so.length||Hp.length)&&$B()}}let up,gA=[];function jB(e,t){var n,r;up=e,up?(up.enabled=!0,gA.forEach(({event:i,args:o})=>up.emit(i,...o)),gA=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(o=>{jB(o,t)}),setTimeout(()=>{up||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,gA=[])},3e3)):gA=[]}let mi=null,FS=null;function Xm(e){const t=mi;return mi=e,FS=e&&e.type.__scopeId||null,t}function en(e){FS=e}function tn(){FS=null}const gce=e=>ie;function ie(e,t=mi,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&E8(-1);const o=Xm(t);let a;try{a=e(...i)}finally{Xm(o),r._d&&E8(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function Ge(e,t){if(mi===null)return e;const n=N2(mi),r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[o,a,s,l=Kn]=t[i];o&&(Gt(o)&&(o={mounted:o,updated:o}),o.deep&&vf(a),r.push({dir:o,instance:n,value:a,oldValue:void 0,arg:s,modifiers:l}))}return e}function Ul(e,t,n,r){const i=e.dirs,o=t&&t.dirs;for(let a=0;a<i.length;a++){const s=i[a];o&&(s.oldValue=o[a].value);let l=s.dir[r];l&&(id(),Va(l,n,8,[e.el,s,e,t]),od())}}const of=Symbol("_leaveCb"),mA=Symbol("_enterCb");function oO(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ht(()=>{e.isMounted=!0}),o0(()=>{e.isUnmounting=!0}),e}const ns=[Function,Array],aO={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ns,onEnter:ns,onAfterEnter:ns,onEnterCancelled:ns,onBeforeLeave:ns,onLeave:ns,onAfterLeave:ns,onLeaveCancelled:ns,onBeforeAppear:ns,onAppear:ns,onAfterAppear:ns,onAppearCancelled:ns},qB=e=>{const t=e.subTree;return t.component?qB(t.component):t},mce={name:"BaseTransition",props:aO,setup(e,{slots:t}){const n=vc(),r=oO();return()=>{const i=t.default&&ES(t.default(),!0);if(!i||!i.length)return;let o=i[0];if(i.length>1){for(const d of i)if(d.type!==Li){o=d;break}}const a=kn(e),{mode:s}=a;if(r.isLeaving)return Cw(o);const l=YN(o);if(!l)return Cw(o);let u=dv(l,a,r,n,d=>u=d);Bf(l,u);const c=n.subTree,f=c&&YN(c);if(f&&f.type!==Li&&!il(l,f)&&qB(n).type!==Li){const d=dv(f,a,r,n);if(Bf(f,d),s==="out-in"&&l.type!==Li)return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Cw(o);s==="in-out"&&l.type!==Li&&(d.delayLeave=(h,p,v)=>{const g=tY(r,f);g[String(f.key)]=f,h[of]=()=>{p(),h[of]=void 0,delete u.delayedLeave},u.delayedLeave=v})}return o}}},eY=mce;function tY(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function dv(e,t,n,r,i){const{appear:o,mode:a,persisted:s=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:p,onLeaveCancelled:v,onBeforeAppear:g,onAppear:m,onAfterAppear:y,onAppearCancelled:R}=t,A=String(e.key),x=tY(n,e),S=(w,L)=>{w&&Va(w,r,9,L)},_=(w,L)=>{const k=L[1];S(w,L),kt(w)?w.every(P=>P.length<=1)&&k():w.length<=1&&k()},M={mode:a,persisted:s,beforeEnter(w){let L=l;if(!n.isMounted)if(o)L=g||l;else return;w[of]&&w[of](!0);const k=x[A];k&&il(e,k)&&k.el[of]&&k.el[of](),S(L,[w])},enter(w){let L=u,k=c,P=f;if(!n.isMounted)if(o)L=m||u,k=y||c,P=R||f;else return;let F=!1;const C=w[mA]=N=>{F||(F=!0,N?S(P,[w]):S(k,[w]),M.delayedLeave&&M.delayedLeave(),w[mA]=void 0)};L?_(L,[w,C]):C()},leave(w,L){const k=String(e.key);if(w[mA]&&w[mA](!0),n.isUnmounting)return L();S(d,[w]);let P=!1;const F=w[of]=C=>{P||(P=!0,L(),C?S(v,[w]):S(p,[w]),w[of]=void 0,x[k]===e&&delete x[k])};x[k]=e,h?_(h,[w,F]):F()},clone(w){const L=dv(w,t,n,r,i);return i&&i(L),L}};return M}function Cw(e){if(P2(e))return e=fu(e),e.children=null,e}function YN(e){if(!P2(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Gt(n.default))return n.default()}}function Bf(e,t){e.shapeFlag&6&&e.component?Bf(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function ES(e,t=!1,n){let r=[],i=0;for(let o=0;o<e.length;o++){let a=e[o];const s=n==null?a.key:String(n)+String(a.key!=null?a.key:o);a.type===We?(a.patchFlag&128&&i++,r=r.concat(ES(a.children,t,s))):(t||a.type!==Li)&&r.push(s!=null?fu(a,{key:s}):a)}if(i>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function Xe(e,t){return Gt(e)?Vr({name:e.name},t,{setup:e}):e}const wh=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function yce(e){Gt(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,timeout:o,suspensible:a=!0,onError:s}=e;let l=null,u,c=0;const f=()=>(c++,l=null,d()),d=()=>{let h;return l||(h=l=t().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),s)return new Promise((v,g)=>{s(p,()=>v(f()),()=>g(p),c+1)});throw p}).then(p=>h!==l&&l?l:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),u=p,p)))};return Xe({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return u},setup(){const h=vi;if(u)return()=>Iw(u,h);const p=y=>{l=null,i0(y,h,13,!r)};if(a&&h.suspense||I2)return d().then(y=>()=>Iw(y,h)).catch(y=>(p(y),()=>r?O(r,{error:y}):null));const v=pe(!1),g=pe(),m=pe(!!i);return i&&setTimeout(()=>{m.value=!1},i),o!=null&&setTimeout(()=>{if(!v.value&&!g.value){const y=new Error(`Async component timed out after ${o}ms.`);p(y),g.value=y}},o),d().then(()=>{v.value=!0,h.parent&&P2(h.parent.vnode)&&(h.parent.effect.dirty=!0,NS(h.parent.update))}).catch(y=>{p(y),g.value=y}),()=>{if(v.value&&u)return Iw(u,h);if(g.value&&r)return O(r,{error:g.value});if(n&&!m.value)return O(n)}}})}function Iw(e,t){const{ref:n,props:r,children:i,ce:o}=t.vnode,a=O(e,r,i);return a.ref=n,a.ce=o,delete t.vnode.ce,a}const P2=e=>e.type.__isKeepAlive,Ace={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=vc(),r=n.ctx;if(!r.renderer)return()=>{const y=t.default&&t.default();return y&&y.length===1?y[0]:y};const i=new Map,o=new Set;let a=null;const s=n.suspense,{renderer:{p:l,m:u,um:c,o:{createElement:f}}}=r,d=f("div");r.activate=(y,R,A,x,S)=>{const _=y.component;u(y,R,A,0,s),l(_.vnode,y,R,A,_,s,x,y.slotScopeIds,S),wi(()=>{_.isDeactivated=!1,_.a&&Zp(_.a);const M=y.props&&y.props.onVnodeMounted;M&&Qo(M,_.parent,y)},s)},r.deactivate=y=>{const R=y.component;Jb(R.m),Jb(R.a),u(y,d,null,1,s),wi(()=>{R.da&&Zp(R.da);const A=y.props&&y.props.onVnodeUnmounted;A&&Qo(A,R.parent,y),R.isDeactivated=!0},s)};function h(y){Nw(y),c(y,n,s,!0)}function p(y){i.forEach((R,A)=>{const x=U8(R.type);x&&(!y||!y(x))&&v(A)})}function v(y){const R=i.get(y);!a||!il(R,a)?h(R):a&&Nw(a),i.delete(y),o.delete(y)}_t(()=>[e.include,e.exclude],([y,R])=>{y&&p(A=>og(y,A)),R&&p(A=>!og(R,A))},{flush:"post",deep:!0});let g=null;const m=()=>{g!=null&&(N8(n.subTree.type)?wi(()=>{i.set(g,yA(n.subTree))},n.subTree.suspense):i.set(g,yA(n.subTree)))};return Ht(m),WS(m),o0(()=>{i.forEach(y=>{const{subTree:R,suspense:A}=n,x=yA(R);if(y.type===x.type&&y.key===x.key){Nw(x);const S=x.component.da;S&&wi(S,A);return}h(y)})}),()=>{if(g=null,!t.default)return null;const y=t.default(),R=y[0];if(y.length>1)return a=null,y;if(!Yf(R)||!(R.shapeFlag&4)&&!(R.shapeFlag&128))return a=null,R;let A=yA(R);const x=A.type,S=U8(wh(A)?A.type.__asyncResolved||{}:x),{include:_,exclude:M,max:w}=e;if(_&&(!S||!og(_,S))||M&&S&&og(M,S))return a=A,R;const L=A.key==null?x:A.key,k=i.get(L);return A.el&&(A=fu(A),R.shapeFlag&128&&(R.ssContent=A)),g=L,k?(A.el=k.el,A.component=k.component,A.transition&&Bf(A,A.transition),A.shapeFlag|=512,o.delete(L),o.add(L)):(o.add(L),w&&o.size>parseInt(w,10)&&v(o.values().next().value)),A.shapeFlag|=256,a=A,N8(R.type)?R:A}}},Rce=Ace;function og(e,t){return kt(e)?e.some(n=>og(n,t)):Pr(e)?e.split(",").includes(t):vue(e)?e.test(t):!1}function nY(e,t){iY(e,"a",t)}function rY(e,t){iY(e,"da",t)}function iY(e,t,n=vi){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(XS(t,r,n),n){let i=n.parent;for(;i&&i.parent;)P2(i.parent.vnode)&&bce(r,t,n,i),i=i.parent}}function bce(e,t,n,r){const i=XS(t,e,r,!0);Fn(()=>{Z_(r[t],i)},n)}function Nw(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function yA(e){return e.shapeFlag&128?e.ssContent:e}function XS(e,t,n=vi,r=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...a)=>{id();const s=Bh(n),l=Va(t,n,e,a);return s(),od(),l});return r?i.unshift(o):i.push(o),o}}const pc=e=>(t,n=vi)=>{(!I2||e==="sp")&&XS(e,(...r)=>t(...r),n)},sO=pc("bm"),Ht=pc("m"),oY=pc("bu"),WS=pc("u"),o0=pc("bum"),Fn=pc("um"),aY=pc("sp"),sY=pc("rtg"),lY=pc("rtc");function uY(e,t=vi){XS("ec",e,t)}const lO="components",xce="directives";function xe(e,t){return uO(lO,e,!0,t)||e}const cY=Symbol.for("v-ndc");function Ru(e){return Pr(e)?uO(lO,e,!1)||e:e||cY}function Pn(e){return uO(xce,e)}function uO(e,t,n=!0,r=!1){const i=mi||vi;if(i){const o=i.type;if(e===lO){const s=U8(o,!1);if(s&&(s===t||s===po(t)||s===O2(po(t))))return o}const a=ZN(i[e]||o[e],t)||ZN(i.appContext[e],t);return!a&&r?o:a}}function ZN(e,t){return e&&(e[t]||e[po(t)]||e[O2(po(t))])}function nt(e,t,n,r){let i;const o=n&&n[r];if(kt(e)||Pr(e)){i=new Array(e.length);for(let a=0,s=e.length;a<s;a++)i[a]=t(e[a],a,void 0,o&&o[a])}else if(typeof e=="number"){i=new Array(e);for(let a=0;a<e;a++)i[a]=t(a+1,a,void 0,o&&o[a])}else if(lr(e))if(e[Symbol.iterator])i=Array.from(e,(a,s)=>t(a,s,void 0,o&&o[s]));else{const a=Object.keys(e);i=new Array(a.length);for(let s=0,l=a.length;s<l;s++){const u=a[s];i[s]=t(e[u],u,s,o&&o[s])}}else i=[];return n&&(n[r]=i),i}function Sce(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(kt(r))for(let i=0;i<r.length;i++)e[r[i].name]=r[i].fn;else r&&(e[r.name]=r.key?(...i)=>{const o=r.fn(...i);return o&&(o.key=r.key),o}:r.fn)}return e}function ar(e,t,n={},r,i){if(mi.isCE||mi.parent&&wh(mi.parent)&&mi.parent.isCE)return t!=="default"&&(n.name=t),O("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),U();const a=o&&fY(o(n)),s=_e(We,{key:(n.key||a&&a.key||`_${t}`)+(!a&&r?"_fb":"")},a||(r?r():[]),a&&e._===1?64:-2);return!i&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),o&&o._c&&(o._d=!0),s}function fY(e){return e.some(t=>Yf(t)?!(t.type===Li||t.type===We&&!fY(t.children)):!0)?e:null}function wce(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:Dg(r)]=e[r];return n}const _8=e=>e?KY(e)?N2(e):_8(e.parent):null,Ug=Vr(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>_8(e.parent),$root:e=>_8(e.root),$emit:e=>e.emit,$options:e=>cO(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,NS(e.update)}),$nextTick:e=>e.n||(e.n=Ir.bind(e.proxy)),$watch:e=>ofe.bind(e)}),Fw=(e,t)=>e!==Kn&&!e.__isScriptSetup&&Wn(e,t),O8={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:o,accessCache:a,type:s,appContext:l}=e;let u;if(t[0]!=="$"){const h=a[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return o[t]}else{if(Fw(r,t))return a[t]=1,r[t];if(i!==Kn&&Wn(i,t))return a[t]=2,i[t];if((u=e.propsOptions[0])&&Wn(u,t))return a[t]=3,o[t];if(n!==Kn&&Wn(n,t))return a[t]=4,n[t];k8&&(a[t]=0)}}const c=Ug[t];let f,d;if(c)return t==="$attrs"&&ca(e.attrs,"get",""),c(e);if((f=s.__cssModules)&&(f=f[t]))return f;if(n!==Kn&&Wn(n,t))return a[t]=4,n[t];if(d=l.config.globalProperties,Wn(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:o}=e;return Fw(i,t)?(i[t]=n,!0):r!==Kn&&Wn(r,t)?(r[t]=n,!0):Wn(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:o}},a){let s;return!!n[a]||e!==Kn&&Wn(e,a)||Fw(t,a)||(s=o[0])&&Wn(s,a)||Wn(r,a)||Wn(Ug,a)||Wn(i.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Wn(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Mce=Vr({},O8,{get(e,t){if(t!==Symbol.unscopables)return O8.get(e,t,e)},has(e,t){return t[0]!=="_"&&!Rue(t)}});function Lce(){return null}function Tce(){return null}function _ce(e){}function Oce(e){}function kce(){return null}function Pce(){}function Cce(e,t){return null}function Ice(){return dY().slots}function Nce(){return dY().attrs}function dY(){const e=vc();return e.setupContext||(e.setupContext=JY(e))}function Wm(e){return kt(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Fce(e,t){const n=Wm(e);for(const r in t){if(r.startsWith("__skip"))continue;let i=n[r];i?kt(i)||Gt(i)?i=n[r]={type:i,default:t[r]}:i.default=t[r]:i===null&&(i=n[r]={default:t[r]}),i&&t[`__skip_${r}`]&&(i.skipFactory=!0)}return n}function Ece(e,t){return!e||!t?e||t:kt(e)&&kt(t)?e.concat(t):Vr({},Wm(e),Wm(t))}function Xce(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function Wce(e){const t=vc();let n=e();return W8(),Q_(n)&&(n=n.catch(r=>{throw Bh(t),r})),[n,()=>Bh(t)]}let k8=!0;function Vce(e){const t=cO(e),n=e.proxy,r=e.ctx;k8=!1,t.beforeCreate&&QN(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:a,watch:s,provide:l,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:h,updated:p,activated:v,deactivated:g,beforeDestroy:m,beforeUnmount:y,destroyed:R,unmounted:A,render:x,renderTracked:S,renderTriggered:_,errorCaptured:M,serverPrefetch:w,expose:L,inheritAttrs:k,components:P,directives:F,filters:C}=t;if(u&&Dce(u,r,null),a)for(const V in a){const W=a[V];Gt(W)&&(r[V]=W.bind(n))}if(i){const V=i.call(n,n);lr(V)&&(e.data=k2(V))}if(k8=!0,o)for(const V in o){const W=o[V],Z=Gt(W)?W.bind(n,n):Gt(W.get)?W.get.bind(n,n):ta,re=!Gt(W)&&Gt(W.set)?W.set.bind(n):ta,Y=Se({get:Z,set:re});Object.defineProperty(r,V,{enumerable:!0,configurable:!0,get:()=>Y.value,set:B=>Y.value=B})}if(s)for(const V in s)hY(s[V],r,n,V);if(l){const V=Gt(l)?l.call(n):l;Reflect.ownKeys(V).forEach(W=>{a0(W,V[W])})}c&&QN(c,e,"c");function I(V,W){kt(W)?W.forEach(Z=>V(Z.bind(n))):W&&V(W.bind(n))}if(I(sO,f),I(Ht,d),I(oY,h),I(WS,p),I(nY,v),I(rY,g),I(uY,M),I(lY,S),I(sY,_),I(o0,y),I(Fn,A),I(aY,w),kt(L))if(L.length){const V=e.exposed||(e.exposed={});L.forEach(W=>{Object.defineProperty(V,W,{get:()=>n[W],set:Z=>n[W]=Z})})}else e.exposed||(e.exposed={});x&&e.render===ta&&(e.render=x),k!=null&&(e.inheritAttrs=k),P&&(e.components=P),F&&(e.directives=F)}function Dce(e,t,n=ta){kt(e)&&(e=P8(e));for(const r in e){const i=e[r];let o;lr(i)?"default"in i?o=bs(i.from||r,i.default,!0):o=bs(i.from||r):o=bs(i),Cr(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[r]=o}}function QN(e,t,n){Va(kt(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function hY(e,t,n,r){const i=r.includes(".")?EY(n,r):()=>n[r];if(Pr(e)){const o=t[e];Gt(o)&&_t(i,o)}else if(Gt(e))_t(i,e.bind(n));else if(lr(e))if(kt(e))e.forEach(o=>hY(o,t,n,r));else{const o=Gt(e.handler)?e.handler.bind(n):t[e.handler];Gt(o)&&_t(i,o,e)}}function cO(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:a}}=e.appContext,s=o.get(t);let l;return s?l=s:!i.length&&!n&&!r?l=t:(l={},i.length&&i.forEach(u=>Gb(l,u,a,!0)),Gb(l,t,a)),lr(t)&&o.set(t,l),l}function Gb(e,t,n,r=!1){const{mixins:i,extends:o}=t;o&&Gb(e,o,n,!0),i&&i.forEach(a=>Gb(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const s=Uce[a]||n&&n[a];e[a]=s?s(e[a],t[a]):t[a]}return e}const Uce={data:HN,props:KN,emits:KN,methods:ag,computed:ag,beforeCreate:So,created:So,beforeMount:So,mounted:So,beforeUpdate:So,updated:So,beforeDestroy:So,beforeUnmount:So,destroyed:So,unmounted:So,activated:So,deactivated:So,errorCaptured:So,serverPrefetch:So,components:ag,directives:ag,watch:Yce,provide:HN,inject:Bce};function HN(e,t){return t?e?function(){return Vr(Gt(e)?e.call(this,this):e,Gt(t)?t.call(this,this):t)}:t:e}function Bce(e,t){return ag(P8(e),P8(t))}function P8(e){if(kt(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function So(e,t){return e?[...new Set([].concat(e,t))]:t}function ag(e,t){return e?Vr(Object.create(null),e,t):t}function KN(e,t){return e?kt(e)&&kt(t)?[...new Set([...e,...t])]:Vr(Object.create(null),Wm(e),Wm(t??{})):t}function Yce(e,t){if(!e)return t;if(!t)return e;const n=Vr(Object.create(null),e);for(const r in t)n[r]=So(e[r],t[r]);return n}function pY(){return{app:null,config:{isNativeTag:hue,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Zce=0;function Qce(e,t){return function(r,i=null){Gt(r)||(r=Vr({},r)),i!=null&&!lr(i)&&(i=null);const o=pY(),a=new WeakSet;let s=!1;const l=o.app={_uid:Zce++,_component:r,_props:i,_container:null,_context:o,_instance:null,version:qY,get config(){return o.config},set config(u){},use(u,...c){return a.has(u)||(u&&Gt(u.install)?(a.add(u),u.install(l,...c)):Gt(u)&&(a.add(u),u(l,...c))),l},mixin(u){return o.mixins.includes(u)||o.mixins.push(u),l},component(u,c){return c?(o.components[u]=c,l):o.components[u]},directive(u,c){return c?(o.directives[u]=c,l):o.directives[u]},mount(u,c,f){if(!s){const d=O(r,i);return d.appContext=o,f===!0?f="svg":f===!1&&(f=void 0),c&&t?t(d,u):e(d,u,f),s=!0,l._container=u,u.__vue_app__=l,N2(d.component)}},unmount(){s&&(e(null,l._container),delete l._container.__vue_app__)},provide(u,c){return o.provides[u]=c,l},runWithContext(u){const c=Kp;Kp=l;try{return u()}finally{Kp=c}}};return l}}let Kp=null;function a0(e,t){if(vi){let n=vi.provides;const r=vi.parent&&vi.parent.provides;r===n&&(n=vi.provides=Object.create(r)),n[e]=t}}function bs(e,t,n=!1){const r=vi||mi;if(r||Kp){const i=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Kp._context.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&Gt(t)?t.call(r&&r.proxy):t}}function vY(){return!!(vi||mi||Kp)}const gY={},mY=()=>Object.create(gY),yY=e=>Object.getPrototypeOf(e)===gY;function Hce(e,t,n,r=!1){const i={},o=mY();e.propsDefaults=Object.create(null),AY(e,t,i,o);for(const a in e.propsOptions[0])a in i||(i[a]=void 0);n?e.props=r?i:YB(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function Kce(e,t,n,r){const{props:i,attrs:o,vnode:{patchFlag:a}}=e,s=kn(i),[l]=e.propsOptions;let u=!1;if((r||a>0)&&!(a&16)){if(a&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let d=c[f];if(VS(e.emitsOptions,d))continue;const h=t[d];if(l)if(Wn(o,d))h!==o[d]&&(o[d]=h,u=!0);else{const p=po(d);i[p]=C8(l,s,p,h,e,!1)}else h!==o[d]&&(o[d]=h,u=!0)}}}else{AY(e,t,i,o)&&(u=!0);let c;for(const f in s)(!t||!Wn(t,f)&&((c=$o(f))===f||!Wn(t,c)))&&(l?n&&(n[f]!==void 0||n[c]!==void 0)&&(i[f]=C8(l,s,f,void 0,e,!0)):delete i[f]);if(o!==s)for(const f in o)(!t||!Wn(t,f))&&(delete o[f],u=!0)}u&&rc(e.attrs,"set","")}function AY(e,t,n,r){const[i,o]=e.propsOptions;let a=!1,s;if(t)for(let l in t){if(Yp(l))continue;const u=t[l];let c;i&&Wn(i,c=po(l))?!o||!o.includes(c)?n[c]=u:(s||(s={}))[c]=u:VS(e.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,a=!0)}if(o){const l=kn(n),u=s||Kn;for(let c=0;c<o.length;c++){const f=o[c];n[f]=C8(i,l,f,u[f],e,!Wn(u,f))}}return a}function C8(e,t,n,r,i,o){const a=e[n];if(a!=null){const s=Wn(a,"default");if(s&&r===void 0){const l=a.default;if(a.type!==Function&&!a.skipFactory&&Gt(l)){const{propsDefaults:u}=i;if(n in u)r=u[n];else{const c=Bh(i);r=u[n]=l.call(null,t),c()}}else r=l}a[0]&&(o&&!s?r=!1:a[1]&&(r===""||r===$o(n))&&(r=!0))}return r}const Gce=new WeakMap;function RY(e,t,n=!1){const r=n?Gce:t.propsCache,i=r.get(e);if(i)return i;const o=e.props,a={},s=[];let l=!1;if(!Gt(e)){const c=f=>{l=!0;const[d,h]=RY(f,t,!0);Vr(a,d),h&&s.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!l)return lr(e)&&r.set(e,Up),Up;if(kt(o))for(let c=0;c<o.length;c++){const f=po(o[c]);GN(f)&&(a[f]=Kn)}else if(o)for(const c in o){const f=po(c);if(GN(f)){const d=o[c],h=a[f]=kt(d)||Gt(d)?{type:d}:Vr({},d);if(h){const p=$N(Boolean,h.type),v=$N(String,h.type);h[0]=p>-1,h[1]=v<0||p<v,(p>-1||Wn(h,"default"))&&s.push(f)}}}const u=[a,s];return lr(e)&&r.set(e,u),u}function GN(e){return e[0]!=="$"&&!Yp(e)}function zN(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function JN(e,t){return zN(e)===zN(t)}function $N(e,t){return kt(t)?t.findIndex(n=>JN(n,e)):Gt(t)&&JN(t,e)?0:-1}const bY=e=>e[0]==="_"||e==="$stable",fO=e=>kt(e)?e.map(Go):[Go(e)],zce=(e,t,n)=>{if(t._n)return t;const r=ie((...i)=>fO(t(...i)),n);return r._c=!1,r},xY=(e,t,n)=>{const r=e._ctx;for(const i in e){if(bY(i))continue;const o=e[i];if(Gt(o))t[i]=zce(i,o,r);else if(o!=null){const a=fO(o);t[i]=()=>a}}},SY=(e,t)=>{const n=fO(t);e.slots.default=()=>n},wY=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},Jce=(e,t,n)=>{const r=e.slots=mY();if(e.vnode.shapeFlag&32){const i=t._;i?(wY(r,t,n),n&&SB(r,"_",i,!0)):xY(t,r)}else t&&SY(e,t)},$ce=(e,t,n)=>{const{vnode:r,slots:i}=e;let o=!0,a=Kn;if(r.shapeFlag&32){const s=t._;s?n&&s===1?o=!1:wY(i,t,n):(o=!t.$stable,xY(t,i)),a=t}else t&&(SY(e,t),a={default:1});if(o)for(const s in i)!bY(s)&&a[s]==null&&delete i[s]};function zb(e,t,n,r,i=!1){if(kt(e)){e.forEach((d,h)=>zb(d,t&&(kt(t)?t[h]:t),n,r,i));return}if(wh(r)&&!i)return;const o=r.shapeFlag&4?N2(r.component):r.el,a=i?null:o,{i:s,r:l}=e,u=t&&t.r,c=s.refs===Kn?s.refs={}:s.refs,f=s.setupState;if(u!=null&&u!==l&&(Pr(u)?(c[u]=null,Wn(f,u)&&(f[u]=null)):Cr(u)&&(u.value=null)),Gt(l))ic(l,s,12,[a,c]);else{const d=Pr(l),h=Cr(l);if(d||h){const p=()=>{if(e.f){const v=d?Wn(f,l)?f[l]:c[l]:l.value;i?kt(v)&&Z_(v,o):kt(v)?v.includes(o)||v.push(o):d?(c[l]=[o],Wn(f,l)&&(f[l]=c[l])):(l.value=[o],e.k&&(c[e.k]=l.value))}else d?(c[l]=a,Wn(f,l)&&(f[l]=a)):h&&(l.value=a,e.k&&(c[e.k]=a))};a?(p.id=-1,wi(p,n)):p()}}}const MY=Symbol("_vte"),jce=e=>e.__isTeleport,Bg=e=>e&&(e.disabled||e.disabled===""),jN=e=>typeof SVGElement<"u"&&e instanceof SVGElement,qN=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,I8=(e,t)=>{const n=e&&e.to;return Pr(n)?t?t(n):null:n},qce={name:"Teleport",__isTeleport:!0,process(e,t,n,r,i,o,a,s,l,u){const{mc:c,pc:f,pbc:d,o:{insert:h,querySelector:p,createText:v,createComment:g}}=u,m=Bg(t.props);let{shapeFlag:y,children:R,dynamicChildren:A}=t;if(e==null){const x=t.el=v(""),S=t.anchor=v(""),_=t.target=I8(t.props,p),M=t.targetStart=v(""),w=t.targetAnchor=v("");h(x,n,r),h(S,n,r),M[MY]=w,_&&(h(M,_),h(w,_),a==="svg"||jN(_)?a="svg":(a==="mathml"||qN(_))&&(a="mathml"));const L=(k,P)=>{y&16&&c(R,k,P,i,o,a,s,l)};m?L(n,S):_&&L(_,w)}else{t.el=e.el,t.targetStart=e.targetStart;const x=t.anchor=e.anchor,S=t.target=e.target,_=t.targetAnchor=e.targetAnchor,M=Bg(e.props),w=M?n:S,L=M?x:_;if(a==="svg"||jN(S)?a="svg":(a==="mathml"||qN(S))&&(a="mathml"),A?(d(e.dynamicChildren,A,w,i,o,a,s),hO(e,t,!0)):l||f(e,t,w,L,i,o,a,s,!1),m)M?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):AA(t,n,x,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const k=t.target=I8(t.props,p);k&&AA(t,k,null,u,0)}else M&&AA(t,S,_,u,1)}LY(t)},remove(e,t,n,{um:r,o:{remove:i}},o){const{shapeFlag:a,children:s,anchor:l,targetStart:u,targetAnchor:c,target:f,props:d}=e;if(f&&(i(u),i(c)),o&&i(l),a&16){const h=o||!Bg(d);for(let p=0;p<s.length;p++){const v=s[p];r(v,t,n,h,!!v.dynamicChildren)}}},move:AA,hydrate:efe};function AA(e,t,n,{o:{insert:r},m:i},o=2){o===0&&r(e.targetAnchor,t,n);const{el:a,anchor:s,shapeFlag:l,children:u,props:c}=e,f=o===2;if(f&&r(a,t,n),(!f||Bg(c))&&l&16)for(let d=0;d<u.length;d++)i(u[d],t,n,2);f&&r(s,t,n)}function efe(e,t,n,r,i,o,{o:{nextSibling:a,parentNode:s,querySelector:l}},u){const c=t.target=I8(t.props,l);if(c){const f=c._lpa||c.firstChild;if(t.shapeFlag&16)if(Bg(t.props))t.anchor=u(a(e),t,s(e),n,r,i,o),t.targetAnchor=f;else{t.anchor=a(e);let d=f;for(;d;)if(d=a(d),d&&d.nodeType===8&&d.data==="teleport anchor"){t.targetAnchor=d,c._lpa=t.targetAnchor&&a(t.targetAnchor);break}u(f,t,c,n,r,i,o)}LY(t)}return t.anchor&&a(t.anchor)}const dO=qce;function LY(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}let e7=!1;const N0=()=>{e7||(console.error("Hydration completed but contains mismatches."),e7=!0)},tfe=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",nfe=e=>e.namespaceURI.includes("MathML"),RA=e=>{if(tfe(e))return"svg";if(nfe(e))return"mathml"},bA=e=>e.nodeType===8;function rfe(e){const{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:o,parentNode:a,remove:s,insert:l,createComment:u}}=e,c=(R,A)=>{if(!A.hasChildNodes()){n(null,R,A),Kb(),A._vnode=R;return}f(A.firstChild,R,null,null,null),Kb(),A._vnode=R},f=(R,A,x,S,_,M=!1)=>{M=M||!!A.dynamicChildren;const w=bA(R)&&R.data==="[",L=()=>v(R,A,x,S,_,w),{type:k,ref:P,shapeFlag:F,patchFlag:C}=A;let N=R.nodeType;A.el=R,C===-2&&(M=!1,A.dynamicChildren=null);let I=null;switch(k){case kf:N!==3?A.children===""?(l(A.el=i(""),a(R),R),I=R):I=L():(R.data!==A.children&&(N0(),R.data=A.children),I=o(R));break;case Li:y(R)?(I=o(R),m(A.el=R.content.firstChild,R,x)):N!==8||w?I=L():I=o(R);break;case Mh:if(w&&(R=o(R),N=R.nodeType),N===1||N===3){I=R;const V=!A.children.length;for(let W=0;W<A.staticCount;W++)V&&(A.children+=I.nodeType===1?I.outerHTML:I.data),W===A.staticCount-1&&(A.anchor=I),I=o(I);return w?o(I):I}else L();break;case We:w?I=p(R,A,x,S,_,M):I=L();break;default:if(F&1)(N!==1||A.type.toLowerCase()!==R.tagName.toLowerCase())&&!y(R)?I=L():I=d(R,A,x,S,_,M);else if(F&6){A.slotScopeIds=_;const V=a(R);if(w?I=g(R):bA(R)&&R.data==="teleport start"?I=g(R,R.data,"teleport end"):I=o(R),t(A,V,null,x,S,RA(V),M),wh(A)){let W;w?(W=O(We),W.anchor=I?I.previousSibling:V.lastChild):W=R.nodeType===3?Ue(""):O("div"),W.el=R,A.component.subTree=W}}else F&64?N!==8?I=L():I=A.type.hydrate(R,A,x,S,_,M,e,h):F&128&&(I=A.type.hydrate(R,A,x,S,RA(a(R)),_,M,e,f))}return P!=null&&zb(P,null,S,A),I},d=(R,A,x,S,_,M)=>{M=M||!!A.dynamicChildren;const{type:w,props:L,patchFlag:k,shapeFlag:P,dirs:F,transition:C}=A,N=w==="input"||w==="option";if(N||k!==-1){F&&Ul(A,null,x,"created");let I=!1;if(y(R)){I=kY(S,C)&&x&&x.vnode.props&&x.vnode.props.appear;const W=R.content.firstChild;I&&C.beforeEnter(W),m(W,R,x),A.el=R=W}if(P&16&&!(L&&(L.innerHTML||L.textContent))){let W=h(R.firstChild,A,R,x,S,_,M);for(;W;){N0();const Z=W;W=W.nextSibling,s(Z)}}else P&8&&R.textContent!==A.children&&(N0(),R.textContent=A.children);if(L){if(N||!M||k&48)for(const W in L)(N&&(W.endsWith("value")||W==="indeterminate")||_2(W)&&!Yp(W)||W[0]===".")&&r(R,W,null,L[W],void 0,x);else if(L.onClick)r(R,"onClick",null,L.onClick,void 0,x);else if(k&4&&nu(L.style))for(const W in L.style)L.style[W]}let V;(V=L&&L.onVnodeBeforeMount)&&Qo(V,x,A),F&&Ul(A,null,x,"beforeMount"),((V=L&&L.onVnodeMounted)||F||I)&&DY(()=>{V&&Qo(V,x,A),I&&C.enter(R),F&&Ul(A,null,x,"mounted")},S)}return R.nextSibling},h=(R,A,x,S,_,M,w)=>{w=w||!!A.dynamicChildren;const L=A.children,k=L.length;for(let P=0;P<k;P++){const F=w?L[P]:L[P]=Go(L[P]),C=F.type===kf;if(R){if(C&&!w){let N=L[P+1];N&&(N=Go(N)).type===kf&&(l(i(R.data.slice(F.children.length)),x,o(R)),R.data=F.children)}R=f(R,F,S,_,M,w)}else C&&!F.children?l(F.el=i(""),x):(N0(),n(null,F,x,null,S,_,RA(x),M))}return R},p=(R,A,x,S,_,M)=>{const{slotScopeIds:w}=A;w&&(_=_?_.concat(w):w);const L=a(R),k=h(o(R),A,L,x,S,_,M);return k&&bA(k)&&k.data==="]"?o(A.anchor=k):(N0(),l(A.anchor=u("]"),L,k),k)},v=(R,A,x,S,_,M)=>{if(N0(),A.el=null,M){const k=g(R);for(;;){const P=o(R);if(P&&P!==k)s(P);else break}}const w=o(R),L=a(R);return s(R),n(null,A,L,w,x,S,RA(L),_),w},g=(R,A="[",x="]")=>{let S=0;for(;R;)if(R=o(R),R&&bA(R)&&(R.data===A&&S++,R.data===x)){if(S===0)return o(R);S--}return R},m=(R,A,x)=>{const S=A.parentNode;S&&S.replaceChild(R,A);let _=x;for(;_;)_.vnode.el===A&&(_.vnode.el=_.subTree.el=R),_=_.parent},y=R=>R.nodeType===1&&R.tagName.toLowerCase()==="template";return[c,f]}const wi=DY;function TY(e){return OY(e)}function _Y(e){return OY(e,rfe)}function OY(e,t){const n=wB();n.__VUE__=!0;const{insert:r,remove:i,patchProp:o,createElement:a,createText:s,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:h=ta,insertStaticContent:p}=e,v=($,X,J,se=null,ee=null,ne=null,oe=void 0,he=null,ue=!!X.dynamicChildren)=>{if($===X)return;$&&!il($,X)&&(se=de($),B($,ee,ne,!0),$=null),X.patchFlag===-2&&(ue=!1,X.dynamicChildren=null);const{type:ge,ref:Re,shapeFlag:Ee}=X;switch(ge){case kf:g($,X,J,se);break;case Li:m($,X,J,se);break;case Mh:$==null&&y(X,J,se,oe);break;case We:P($,X,J,se,ee,ne,oe,he,ue);break;default:Ee&1?x($,X,J,se,ee,ne,oe,he,ue):Ee&6?F($,X,J,se,ee,ne,oe,he,ue):(Ee&64||Ee&128)&&ge.process($,X,J,se,ee,ne,oe,he,ue,ce)}Re!=null&&ee&&zb(Re,$&&$.ref,ne,X||$,!X)},g=($,X,J,se)=>{if($==null)r(X.el=s(X.children),J,se);else{const ee=X.el=$.el;X.children!==$.children&&u(ee,X.children)}},m=($,X,J,se)=>{$==null?r(X.el=l(X.children||""),J,se):X.el=$.el},y=($,X,J,se)=>{[$.el,$.anchor]=p($.children,X,J,se,$.el,$.anchor)},R=({el:$,anchor:X},J,se)=>{let ee;for(;$&&$!==X;)ee=d($),r($,J,se),$=ee;r(X,J,se)},A=({el:$,anchor:X})=>{let J;for(;$&&$!==X;)J=d($),i($),$=J;i(X)},x=($,X,J,se,ee,ne,oe,he,ue)=>{X.type==="svg"?oe="svg":X.type==="math"&&(oe="mathml"),$==null?S(X,J,se,ee,ne,oe,he,ue):w($,X,ee,ne,oe,he,ue)},S=($,X,J,se,ee,ne,oe,he)=>{let ue,ge;const{props:Re,shapeFlag:Ee,transition:Ne,dirs:He}=$;if(ue=$.el=a($.type,ne,Re&&Re.is,Re),Ee&8?c(ue,$.children):Ee&16&&M($.children,ue,null,se,ee,Ew($,ne),oe,he),He&&Ul($,null,se,"created"),_(ue,$,$.scopeId,oe,se),Re){for(const we in Re)we!=="value"&&!Yp(we)&&o(ue,we,null,Re[we],ne,se);"value"in Re&&o(ue,"value",null,Re.value,ne),(ge=Re.onVnodeBeforeMount)&&Qo(ge,se,$)}He&&Ul($,null,se,"beforeMount");const Ve=kY(ee,Ne);Ve&&Ne.beforeEnter(ue),r(ue,X,J),((ge=Re&&Re.onVnodeMounted)||Ve||He)&&wi(()=>{ge&&Qo(ge,se,$),Ve&&Ne.enter(ue),He&&Ul($,null,se,"mounted")},ee)},_=($,X,J,se,ee)=>{if(J&&h($,J),se)for(let ne=0;ne<se.length;ne++)h($,se[ne]);if(ee){let ne=ee.subTree;if(X===ne){const oe=ee.vnode;_($,oe,oe.scopeId,oe.slotScopeIds,ee.parent)}}},M=($,X,J,se,ee,ne,oe,he,ue=0)=>{for(let ge=ue;ge<$.length;ge++){const Re=$[ge]=he?af($[ge]):Go($[ge]);v(null,Re,X,J,se,ee,ne,oe,he)}},w=($,X,J,se,ee,ne,oe)=>{const he=X.el=$.el;let{patchFlag:ue,dynamicChildren:ge,dirs:Re}=X;ue|=$.patchFlag&16;const Ee=$.props||Kn,Ne=X.props||Kn;let He;if(J&&Md(J,!1),(He=Ne.onVnodeBeforeUpdate)&&Qo(He,J,X,$),Re&&Ul(X,$,J,"beforeUpdate"),J&&Md(J,!0),(Ee.innerHTML&&Ne.innerHTML==null||Ee.textContent&&Ne.textContent==null)&&c(he,""),ge?L($.dynamicChildren,ge,he,J,se,Ew(X,ee),ne):oe||W($,X,he,null,J,se,Ew(X,ee),ne,!1),ue>0){if(ue&16)k(he,Ee,Ne,J,ee);else if(ue&2&&Ee.class!==Ne.class&&o(he,"class",null,Ne.class,ee),ue&4&&o(he,"style",Ee.style,Ne.style,ee),ue&8){const Ve=X.dynamicProps;for(let we=0;we<Ve.length;we++){const me=Ve[we],Me=Ee[me],Ce=Ne[me];(Ce!==Me||me==="value")&&o(he,me,Me,Ce,ee,J)}}ue&1&&$.children!==X.children&&c(he,X.children)}else!oe&&ge==null&&k(he,Ee,Ne,J,ee);((He=Ne.onVnodeUpdated)||Re)&&wi(()=>{He&&Qo(He,J,X,$),Re&&Ul(X,$,J,"updated")},se)},L=($,X,J,se,ee,ne,oe)=>{for(let he=0;he<X.length;he++){const ue=$[he],ge=X[he],Re=ue.el&&(ue.type===We||!il(ue,ge)||ue.shapeFlag&70)?f(ue.el):J;v(ue,ge,Re,null,se,ee,ne,oe,!0)}},k=($,X,J,se,ee)=>{if(X!==J){if(X!==Kn)for(const ne in X)!Yp(ne)&&!(ne in J)&&o($,ne,X[ne],null,ee,se);for(const ne in J){if(Yp(ne))continue;const oe=J[ne],he=X[ne];oe!==he&&ne!=="value"&&o($,ne,he,oe,ee,se)}"value"in J&&o($,"value",X.value,J.value,ee)}},P=($,X,J,se,ee,ne,oe,he,ue)=>{const ge=X.el=$?$.el:s(""),Re=X.anchor=$?$.anchor:s("");let{patchFlag:Ee,dynamicChildren:Ne,slotScopeIds:He}=X;He&&(he=he?he.concat(He):He),$==null?(r(ge,J,se),r(Re,J,se),M(X.children||[],J,Re,ee,ne,oe,he,ue)):Ee>0&&Ee&64&&Ne&&$.dynamicChildren?(L($.dynamicChildren,Ne,J,ee,ne,oe,he),(X.key!=null||ee&&X===ee.subTree)&&hO($,X,!0)):W($,X,J,Re,ee,ne,oe,he,ue)},F=($,X,J,se,ee,ne,oe,he,ue)=>{X.slotScopeIds=he,$==null?X.shapeFlag&512?ee.ctx.activate(X,J,se,oe,ue):C(X,J,se,ee,ne,oe,ue):N($,X,ue)},C=($,X,J,se,ee,ne,oe)=>{const he=$.component=HY($,se,ee);if(P2($)&&(he.ctx.renderer=ce),GY(he,!1,oe),he.asyncDep){if(ee&&ee.registerDep(he,I,oe),!$.el){const ue=he.subTree=O(Li);m(null,ue,X,J)}}else I(he,$,X,J,ee,ne,oe)},N=($,X,J)=>{const se=X.component=$.component;if(ffe($,X,J))if(se.asyncDep&&!se.asyncResolved){V(se,X,J);return}else se.next=X,pce(se.update),se.effect.dirty=!0,se.update();else X.el=$.el,se.vnode=X},I=($,X,J,se,ee,ne,oe)=>{const he=()=>{if($.isMounted){let{next:Re,bu:Ee,u:Ne,parent:He,vnode:Ve}=$;{const Qe=PY($);if(Qe){Re&&(Re.el=Ve.el,V($,Re,oe)),Qe.asyncDep.then(()=>{$.isUnmounted||he()});return}}let we=Re,me;Md($,!1),Re?(Re.el=Ve.el,V($,Re,oe)):Re=Ve,Ee&&Zp(Ee),(me=Re.props&&Re.props.onVnodeBeforeUpdate)&&Qo(me,He,Re,Ve),Md($,!0);const Me=HR($),Ce=$.subTree;$.subTree=Me,v(Ce,Me,f(Ce.el),de(Ce),$,ee,ne),Re.el=Me.el,we===null&&pO($,Me.el),Ne&&wi(Ne,ee),(me=Re.props&&Re.props.onVnodeUpdated)&&wi(()=>Qo(me,He,Re,Ve),ee)}else{let Re;const{el:Ee,props:Ne}=X,{bm:He,m:Ve,parent:we}=$,me=wh(X);if(Md($,!1),He&&Zp(He),!me&&(Re=Ne&&Ne.onVnodeBeforeMount)&&Qo(Re,we,X),Md($,!0),Ee&&le){const Me=()=>{$.subTree=HR($),le(Ee,$.subTree,$,ee,null)};me?X.type.__asyncLoader().then(()=>!$.isUnmounted&&Me()):Me()}else{const Me=$.subTree=HR($);v(null,Me,J,se,$,ee,ne),X.el=Me.el}if(Ve&&wi(Ve,ee),!me&&(Re=Ne&&Ne.onVnodeMounted)){const Me=X;wi(()=>Qo(Re,we,Me),ee)}(X.shapeFlag&256||we&&wh(we.vnode)&&we.vnode.shapeFlag&256)&&$.a&&wi($.a,ee),$.isMounted=!0,X=J=se=null}},ue=$.effect=new fv(he,ta,()=>NS(ge),$.scope),ge=$.update=()=>{ue.dirty&&ue.run()};ge.i=$,ge.id=$.uid,Md($,!0),ge()},V=($,X,J)=>{X.component=$;const se=$.vnode.props;$.vnode=X,$.next=null,Kce($,X.props,se,J),$ce($,X.children,J),id(),BN($),od()},W=($,X,J,se,ee,ne,oe,he,ue=!1)=>{const ge=$&&$.children,Re=$?$.shapeFlag:0,Ee=X.children,{patchFlag:Ne,shapeFlag:He}=X;if(Ne>0){if(Ne&128){re(ge,Ee,J,se,ee,ne,oe,he,ue);return}else if(Ne&256){Z(ge,Ee,J,se,ee,ne,oe,he,ue);return}}He&8?(Re&16&&j(ge,ee,ne),Ee!==ge&&c(J,Ee)):Re&16?He&16?re(ge,Ee,J,se,ee,ne,oe,he,ue):j(ge,ee,ne,!0):(Re&8&&c(J,""),He&16&&M(Ee,J,se,ee,ne,oe,he,ue))},Z=($,X,J,se,ee,ne,oe,he,ue)=>{$=$||Up,X=X||Up;const ge=$.length,Re=X.length,Ee=Math.min(ge,Re);let Ne;for(Ne=0;Ne<Ee;Ne++){const He=X[Ne]=ue?af(X[Ne]):Go(X[Ne]);v($[Ne],He,J,null,ee,ne,oe,he,ue)}ge>Re?j($,ee,ne,!0,!1,Ee):M(X,J,se,ee,ne,oe,he,ue,Ee)},re=($,X,J,se,ee,ne,oe,he,ue)=>{let ge=0;const Re=X.length;let Ee=$.length-1,Ne=Re-1;for(;ge<=Ee&&ge<=Ne;){const He=$[ge],Ve=X[ge]=ue?af(X[ge]):Go(X[ge]);if(il(He,Ve))v(He,Ve,J,null,ee,ne,oe,he,ue);else break;ge++}for(;ge<=Ee&&ge<=Ne;){const He=$[Ee],Ve=X[Ne]=ue?af(X[Ne]):Go(X[Ne]);if(il(He,Ve))v(He,Ve,J,null,ee,ne,oe,he,ue);else break;Ee--,Ne--}if(ge>Ee){if(ge<=Ne){const He=Ne+1,Ve=He<Re?X[He].el:se;for(;ge<=Ne;)v(null,X[ge]=ue?af(X[ge]):Go(X[ge]),J,Ve,ee,ne,oe,he,ue),ge++}}else if(ge>Ne)for(;ge<=Ee;)B($[ge],ee,ne,!0),ge++;else{const He=ge,Ve=ge,we=new Map;for(ge=Ve;ge<=Ne;ge++){const tt=X[ge]=ue?af(X[ge]):Go(X[ge]);tt.key!=null&&we.set(tt.key,ge)}let me,Me=0;const Ce=Ne-Ve+1;let Qe=!1,ot=0;const ke=new Array(Ce);for(ge=0;ge<Ce;ge++)ke[ge]=0;for(ge=He;ge<=Ee;ge++){const tt=$[ge];if(Me>=Ce){B(tt,ee,ne,!0);continue}let Rt;if(tt.key!=null)Rt=we.get(tt.key);else for(me=Ve;me<=Ne;me++)if(ke[me-Ve]===0&&il(tt,X[me])){Rt=me;break}Rt===void 0?B(tt,ee,ne,!0):(ke[Rt-Ve]=ge+1,Rt>=ot?ot=Rt:Qe=!0,v(tt,X[Rt],J,null,ee,ne,oe,he,ue),Me++)}const je=Qe?ife(ke):Up;for(me=je.length-1,ge=Ce-1;ge>=0;ge--){const tt=Ve+ge,Rt=X[tt],dt=tt+1<Re?X[tt+1].el:se;ke[ge]===0?v(null,Rt,J,dt,ee,ne,oe,he,ue):Qe&&(me<0||ge!==je[me]?Y(Rt,J,dt,2):me--)}}},Y=($,X,J,se,ee=null)=>{const{el:ne,type:oe,transition:he,children:ue,shapeFlag:ge}=$;if(ge&6){Y($.component.subTree,X,J,se);return}if(ge&128){$.suspense.move(X,J,se);return}if(ge&64){oe.move($,X,J,ce);return}if(oe===We){r(ne,X,J);for(let Ee=0;Ee<ue.length;Ee++)Y(ue[Ee],X,J,se);r($.anchor,X,J);return}if(oe===Mh){R($,X,J);return}if(se!==2&&ge&1&&he)if(se===0)he.beforeEnter(ne),r(ne,X,J),wi(()=>he.enter(ne),ee);else{const{leave:Ee,delayLeave:Ne,afterLeave:He}=he,Ve=()=>r(ne,X,J),we=()=>{Ee(ne,()=>{Ve(),He&&He()})};Ne?Ne(ne,Ve,we):we()}else r(ne,X,J)},B=($,X,J,se=!1,ee=!1)=>{const{type:ne,props:oe,ref:he,children:ue,dynamicChildren:ge,shapeFlag:Re,patchFlag:Ee,dirs:Ne,cacheIndex:He}=$;if(Ee===-2&&(ee=!1),he!=null&&zb(he,null,J,$,!0),He!=null&&(X.renderCache[He]=void 0),Re&256){X.ctx.deactivate($);return}const Ve=Re&1&&Ne,we=!wh($);let me;if(we&&(me=oe&&oe.onVnodeBeforeUnmount)&&Qo(me,X,$),Re&6)q($.component,J,se);else{if(Re&128){$.suspense.unmount(J,se);return}Ve&&Ul($,null,X,"beforeUnmount"),Re&64?$.type.remove($,X,J,ce,se):ge&&!ge.hasOnce&&(ne!==We||Ee>0&&Ee&64)?j(ge,X,J,!1,!0):(ne===We&&Ee&384||!ee&&Re&16)&&j(ue,X,J),se&&Q($)}(we&&(me=oe&&oe.onVnodeUnmounted)||Ve)&&wi(()=>{me&&Qo(me,X,$),Ve&&Ul($,null,X,"unmounted")},J)},Q=$=>{const{type:X,el:J,anchor:se,transition:ee}=$;if(X===We){K(J,se);return}if(X===Mh){A($);return}const ne=()=>{i(J),ee&&!ee.persisted&&ee.afterLeave&&ee.afterLeave()};if($.shapeFlag&1&&ee&&!ee.persisted){const{leave:oe,delayLeave:he}=ee,ue=()=>oe(J,ne);he?he($.el,ne,ue):ue()}else ne()},K=($,X)=>{let J;for(;$!==X;)J=d($),i($),$=J;i(X)},q=($,X,J)=>{const{bum:se,scope:ee,update:ne,subTree:oe,um:he,m:ue,a:ge}=$;Jb(ue),Jb(ge),se&&Zp(se),ee.stop(),ne&&(ne.active=!1,B(oe,$,X,J)),he&&wi(he,X),wi(()=>{$.isUnmounted=!0},X),X&&X.pendingBranch&&!X.isUnmounted&&$.asyncDep&&!$.asyncResolved&&$.suspenseId===X.pendingId&&(X.deps--,X.deps===0&&X.resolve())},j=($,X,J,se=!1,ee=!1,ne=0)=>{for(let oe=ne;oe<$.length;oe++)B($[oe],X,J,se,ee)},de=$=>{if($.shapeFlag&6)return de($.component.subTree);if($.shapeFlag&128)return $.suspense.next();const X=d($.anchor||$.el),J=X&&X[MY];return J?d(J):X};let G=!1;const Ae=($,X,J)=>{$==null?X._vnode&&B(X._vnode,null,null,!0):v(X._vnode||null,$,X,null,null,null,J),G||(G=!0,BN(),Kb(),G=!1),X._vnode=$},ce={p:v,um:B,m:Y,r:Q,mt:C,mc:M,pc:W,pbc:L,n:de,o:e};let fe,le;return t&&([fe,le]=t(ce)),{render:Ae,hydrate:fe,createApp:Qce(Ae,fe)}}function Ew({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Md({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function kY(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function hO(e,t,n=!1){const r=e.children,i=t.children;if(kt(r)&&kt(i))for(let o=0;o<r.length;o++){const a=r[o];let s=i[o];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=i[o]=af(i[o]),s.el=a.el),!n&&s.patchFlag!==-2&&hO(a,s)),s.type===kf&&(s.el=a.el)}}function ife(e){const t=e.slice(),n=[0];let r,i,o,a,s;const l=e.length;for(r=0;r<l;r++){const u=e[r];if(u!==0){if(i=n[n.length-1],e[i]<u){t[r]=i,n.push(r);continue}for(o=0,a=n.length-1;o<a;)s=o+a>>1,e[n[s]]<u?o=s+1:a=s;u<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,a=n[o-1];o-- >0;)n[o]=a,a=t[a];return n}function PY(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:PY(t)}function Jb(e){if(e)for(let t=0;t<e.length;t++)e[t].active=!1}const CY=Symbol.for("v-scx"),IY=()=>bs(CY);function Wv(e,t){return C2(e,null,t)}function NY(e,t){return C2(e,null,{flush:"post"})}function FY(e,t){return C2(e,null,{flush:"sync"})}const xA={};function _t(e,t,n){return C2(e,t,n)}function C2(e,t,{immediate:n,deep:r,flush:i,once:o,onTrack:a,onTrigger:s}=Kn){if(t&&o){const S=t;t=(..._)=>{S(..._),x()}}const l=vi,u=S=>r===!0?S:vf(S,r===!1?1:void 0);let c,f=!1,d=!1;if(Cr(e)?(c=()=>e.value,f=Dh(e)):nu(e)?(c=()=>u(e),f=!0):kt(e)?(d=!0,f=e.some(S=>nu(S)||Dh(S)),c=()=>e.map(S=>{if(Cr(S))return S.value;if(nu(S))return u(S);if(Gt(S))return ic(S,l,2)})):Gt(e)?t?c=()=>ic(e,l,2):c=()=>(h&&h(),Va(e,l,3,[p])):c=ta,t&&r){const S=c;c=()=>vf(S())}let h,p=S=>{h=R.onStop=()=>{ic(S,l,4),h=R.onStop=void 0}},v;if(I2)if(p=ta,t?n&&Va(t,l,3,[c(),d?[]:void 0,p]):c(),i==="sync"){const S=IY();v=S.__watcherHandles||(S.__watcherHandles=[])}else return ta;let g=d?new Array(e.length).fill(xA):xA;const m=()=>{if(!(!R.active||!R.dirty))if(t){const S=R.run();(r||f||(d?S.some((_,M)=>Oo(_,g[M])):Oo(S,g)))&&(h&&h(),Va(t,l,3,[S,g===xA?void 0:d&&g[0]===xA?[]:g,p]),g=S)}else R.run()};m.allowRecurse=!!t;let y;i==="sync"?y=m:i==="post"?y=()=>wi(m,l&&l.suspense):(m.pre=!0,l&&(m.id=l.uid),y=()=>NS(m));const R=new fv(c,ta,y),A=z_(),x=()=>{R.stop(),A&&Z_(A.effects,R)};return t?n?m():g=R.run():i==="post"?wi(R.run.bind(R),l&&l.suspense):R.run(),v&&v.push(x),x}function ofe(e,t,n){const r=this.proxy,i=Pr(e)?e.includes(".")?EY(r,e):()=>r[e]:e.bind(r,r);let o;Gt(t)?o=t:(o=t.handler,n=t);const a=Bh(this),s=C2(i,o.bind(r),n);return a(),s}function EY(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i<n.length&&r;i++)r=r[n[i]];return r}}function vf(e,t=1/0,n){if(t<=0||!lr(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Cr(e))vf(e.value,t,n);else if(kt(e))for(let r=0;r<e.length;r++)vf(e[r],t,n);else if(r0(e)||Bp(e))e.forEach(r=>{vf(r,t,n)});else if(xB(e)){for(const r in e)vf(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&vf(e[r],t,n)}return e}function afe(e,t,n=Kn){const r=vc(),i=po(t),o=$o(t),a=XY(e,t),s=HB((l,u)=>{let c,f=Kn,d;return FY(()=>{const h=e[t];Oo(c,h)&&(c=h,u())}),{get(){return l(),n.get?n.get(c):c},set(h){if(!Oo(h,c)&&!(f!==Kn&&Oo(h,f)))return;const p=r.vnode.props;p&&(t in p||i in p||o in p)&&(`onUpdate:${t}`in p||`onUpdate:${i}`in p||`onUpdate:${o}`in p)||(c=h,u());const v=n.set?n.set(h):h;r.emit(`update:${t}`,v),Oo(h,v)&&Oo(h,f)&&!Oo(v,d)&&u(),f=h,d=v}}});return s[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?a||Kn:s,done:!1}:{done:!0}}}},s}const XY=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${po(t)}Modifiers`]||e[`${$o(t)}Modifiers`];function sfe(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Kn;let i=n;const o=t.startsWith("update:"),a=o&&XY(r,t.slice(7));a&&(a.trim&&(i=n.map(c=>Pr(c)?c.trim():c)),a.number&&(i=n.map(Yb)));let s,l=r[s=Dg(t)]||r[s=Dg(po(t))];!l&&o&&(l=r[s=Dg($o(t))]),l&&Va(l,e,6,i);const u=r[s+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,Va(u,e,6,i)}}function WY(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const o=e.emits;let a={},s=!1;if(!Gt(e)){const l=u=>{const c=WY(u,t,!0);c&&(s=!0,Vr(a,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!s?(lr(e)&&r.set(e,null),null):(kt(o)?o.forEach(l=>a[l]=null):Vr(a,o),lr(e)&&r.set(e,a),a)}function VS(e,t){return!e||!_2(t)?!1:(t=t.slice(2).replace(/Once$/,""),Wn(e,t[0].toLowerCase()+t.slice(1))||Wn(e,$o(t))||Wn(e,t))}function HR(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[o],slots:a,attrs:s,emit:l,render:u,renderCache:c,props:f,data:d,setupState:h,ctx:p,inheritAttrs:v}=e,g=Xm(e);let m,y;try{if(n.shapeFlag&4){const A=i||r,x=A;m=Go(u.call(x,A,c,f,h,d,p)),y=s}else{const A=t;m=Go(A.length>1?A(f,{attrs:s,slots:a,emit:l}):A(f,null)),y=t.props?s:ufe(s)}}catch(A){Yg.length=0,i0(A,e,1),m=O(Li)}let R=m;if(y&&v!==!1){const A=Object.keys(y),{shapeFlag:x}=R;A.length&&x&7&&(o&&A.some(Y_)&&(y=cfe(y,o)),R=fu(R,y,!1,!0))}return n.dirs&&(R=fu(R,null,!1,!0),R.dirs=R.dirs?R.dirs.concat(n.dirs):n.dirs),n.transition&&(R.transition=n.transition),m=R,Xm(g),m}function lfe(e,t=!0){let n;for(let r=0;r<e.length;r++){const i=e[r];if(Yf(i)){if(i.type!==Li||i.children==="v-if"){if(n)return;n=i}}else return}return n}const ufe=e=>{let t;for(const n in e)(n==="class"||n==="style"||_2(n))&&((t||(t={}))[n]=e[n]);return t},cfe=(e,t)=>{const n={};for(const r in e)(!Y_(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function ffe(e,t,n){const{props:r,children:i,component:o}=e,{props:a,children:s,patchFlag:l}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?t7(r,a,u):!!a;if(l&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const d=c[f];if(a[d]!==r[d]&&!VS(u,d))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===a?!1:r?a?t7(r,a,u):!0:!!a;return!1}function t7(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){const o=r[i];if(t[o]!==e[o]&&!VS(n,o))return!0}return!1}function pO({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const N8=e=>e.__isSuspense;let F8=0;const dfe={name:"Suspense",__isSuspense:!0,process(e,t,n,r,i,o,a,s,l,u){if(e==null)pfe(t,n,r,i,o,a,s,l,u);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}vfe(e,t,n,r,i,a,s,l,u)}},hydrate:gfe,normalize:mfe},hfe=dfe;function Vm(e,t){const n=e.props&&e.props[t];Gt(n)&&n()}function pfe(e,t,n,r,i,o,a,s,l){const{p:u,o:{createElement:c}}=l,f=c("div"),d=e.suspense=VY(e,i,r,t,f,n,o,a,s,l);u(null,d.pendingBranch=e.ssContent,f,null,r,d,o,a),d.deps>0?(Vm(e,"onPending"),Vm(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,o,a),Gp(d,e.ssFallback)):d.resolve(!1,!0)}function vfe(e,t,n,r,i,o,a,s,{p:l,um:u,o:{createElement:c}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:p,pendingBranch:v,isInFallback:g,isHydrating:m}=f;if(v)f.pendingBranch=d,il(d,v)?(l(v,d,f.hiddenContainer,null,i,f,o,a,s),f.deps<=0?f.resolve():g&&(m||(l(p,h,n,r,i,null,o,a,s),Gp(f,h)))):(f.pendingId=F8++,m?(f.isHydrating=!1,f.activeBranch=v):u(v,i,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),g?(l(null,d,f.hiddenContainer,null,i,f,o,a,s),f.deps<=0?f.resolve():(l(p,h,n,r,i,null,o,a,s),Gp(f,h))):p&&il(d,p)?(l(p,d,n,r,i,f,o,a,s),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,i,f,o,a,s),f.deps<=0&&f.resolve()));else if(p&&il(d,p))l(p,d,n,r,i,f,o,a,s),Gp(f,d);else if(Vm(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=F8++,l(null,d,f.hiddenContainer,null,i,f,o,a,s),f.deps<=0)f.resolve();else{const{timeout:y,pendingId:R}=f;y>0?setTimeout(()=>{f.pendingId===R&&f.fallback(h)},y):y===0&&f.fallback(h)}}function VY(e,t,n,r,i,o,a,s,l,u,c=!1){const{p:f,m:d,um:h,n:p,o:{parentNode:v,remove:g}}=u;let m;const y=yfe(e);y&&t&&t.pendingBranch&&(m=t.pendingId,t.deps++);const R=e.props?Zb(e.props.timeout):void 0,A=o,x={vnode:e,parent:t,parentComponent:n,namespace:a,container:r,hiddenContainer:i,deps:0,pendingId:F8++,timeout:typeof R=="number"?R:-1,activeBranch:null,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(S=!1,_=!1){const{vnode:M,activeBranch:w,pendingBranch:L,pendingId:k,effects:P,parentComponent:F,container:C}=x;let N=!1;x.isHydrating?x.isHydrating=!1:S||(N=w&&L.transition&&L.transition.mode==="out-in",N&&(w.transition.afterLeave=()=>{k===x.pendingId&&(d(L,C,o===A?p(w):o,0),Hb(P))}),w&&(v(w.el)!==x.hiddenContainer&&(o=p(w)),h(w,F,x,!0)),N||d(L,C,o,0)),Gp(x,L),x.pendingBranch=null,x.isInFallback=!1;let I=x.parent,V=!1;for(;I;){if(I.pendingBranch){I.effects.push(...P),V=!0;break}I=I.parent}!V&&!N&&Hb(P),x.effects=[],y&&t&&t.pendingBranch&&m===t.pendingId&&(t.deps--,t.deps===0&&!_&&t.resolve()),Vm(M,"onResolve")},fallback(S){if(!x.pendingBranch)return;const{vnode:_,activeBranch:M,parentComponent:w,container:L,namespace:k}=x;Vm(_,"onFallback");const P=p(M),F=()=>{x.isInFallback&&(f(null,S,L,P,w,null,k,s,l),Gp(x,S))},C=S.transition&&S.transition.mode==="out-in";C&&(M.transition.afterLeave=F),x.isInFallback=!0,h(M,w,null,!0),C||F()},move(S,_,M){x.activeBranch&&d(x.activeBranch,S,_,M),x.container=S},next(){return x.activeBranch&&p(x.activeBranch)},registerDep(S,_,M){const w=!!x.pendingBranch;w&&x.deps++;const L=S.vnode.el;S.asyncDep.catch(k=>{i0(k,S,0)}).then(k=>{if(S.isUnmounted||x.isUnmounted||x.pendingId!==S.suspenseId)return;S.asyncResolved=!0;const{vnode:P}=S;V8(S,k,!1),L&&(P.el=L);const F=!L&&S.subTree.el;_(S,P,v(L||S.subTree.el),L?null:p(S.subTree),x,a,M),F&&g(F),pO(S,P.el),w&&--x.deps===0&&x.resolve()})},unmount(S,_){x.isUnmounted=!0,x.activeBranch&&h(x.activeBranch,n,S,_),x.pendingBranch&&h(x.pendingBranch,n,S,_)}};return x}function gfe(e,t,n,r,i,o,a,s,l){const u=t.suspense=VY(t,r,n,e.parentNode,document.createElement("div"),null,i,o,a,s,!0),c=l(e,u.pendingBranch=t.ssContent,n,u,o,a);return u.deps===0&&u.resolve(!1,!0),c}function mfe(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=n7(r?n.default:n),e.ssFallback=r?n7(n.fallback):O(Li)}function n7(e){let t;if(Gt(e)){const n=Uh&&e._c;n&&(e._d=!1,U()),e=e(),n&&(e._d=!0,t=fo,UY())}return kt(e)&&(e=lfe(e)),e=Go(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function DY(e,t){t&&t.pendingBranch?kt(e)?t.effects.push(...e):t.effects.push(e):Hb(e)}function Gp(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,r&&r.subTree===n&&(r.vnode.el=i,pO(r,i))}function yfe(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const We=Symbol.for("v-fgt"),kf=Symbol.for("v-txt"),Li=Symbol.for("v-cmt"),Mh=Symbol.for("v-stc"),Yg=[];let fo=null;function U(e=!1){Yg.push(fo=e?null:[])}function UY(){Yg.pop(),fo=Yg[Yg.length-1]||null}let Uh=1;function E8(e){Uh+=e,e<0&&fo&&(fo.hasOnce=!0)}function BY(e){return e.dynamicChildren=Uh>0?fo||Up:null,UY(),Uh>0&&fo&&fo.push(e),e}function te(e,t,n,r,i,o){return BY(D(e,t,n,r,i,o,!0))}function _e(e,t,n,r,i){return BY(O(e,t,n,r,i,!0))}function Yf(e){return e?e.__v_isVNode===!0:!1}function il(e,t){return e.type===t.type&&e.key===t.key}function Afe(e){}const YY=({key:e})=>e??null,KR=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Pr(e)||Cr(e)||Gt(e)?{i:mi,r:e,k:t,f:!!n}:e:null);function D(e,t=null,n=null,r=0,i=null,o=e===We?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&YY(t),ref:t&&KR(t),scopeId:FS,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:mi};return s?(vO(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Pr(n)?8:16),Uh>0&&!a&&fo&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&fo.push(l),l}const O=Rfe;function Rfe(e,t=null,n=null,r=0,i=null,o=!1){if((!e||e===cY)&&(e=Li),Yf(e)){const s=fu(e,t,!0);return n&&vO(s,n),Uh>0&&!o&&fo&&(s.shapeFlag&6?fo[fo.indexOf(e)]=s:fo.push(s)),s.patchFlag=-2,s}if(_fe(e)&&(e=e.__vccOpts),t){t=ZY(t);let{class:s,style:l}=t;s&&!Pr(s)&&(t.class=ze(s)),lr(l)&&(eO(l)&&!kt(l)&&(l=Vr({},l)),t.style=Le(l))}const a=Pr(e)?1:N8(e)?128:jce(e)?64:lr(e)?4:Gt(e)?2:0;return D(e,t,n,r,i,a,o,!0)}function ZY(e){return e?eO(e)||yY(e)?Vr({},e):e:null}function fu(e,t,n=!1,r=!1){const{props:i,ref:o,patchFlag:a,children:s,transition:l}=e,u=t?QY(i||{},t):i,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&YY(u),ref:t&&t.ref?n&&o?kt(o)?o.concat(KR(t)):[o,KR(t)]:KR(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==We?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&fu(e.ssContent),ssFallback:e.ssFallback&&fu(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Bf(c,l.clone(c)),c}function Ue(e=" ",t=0){return O(kf,null,e,t)}function bfe(e,t){const n=O(Mh,null,e);return n.staticCount=t,n}function Ye(e="",t=!1){return t?(U(),_e(Li,null,e)):O(Li,null,e)}function Go(e){return e==null||typeof e=="boolean"?O(Li):kt(e)?O(We,null,e.slice()):typeof e=="object"?af(e):O(kf,null,String(e))}function af(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:fu(e)}function vO(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(kt(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),vO(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!yY(t)?t._ctx=mi:i===3&&mi&&(mi.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Gt(t)?(t={default:t,_ctx:mi},n=32):(t=String(t),r&64?(n=16,t=[Ue(t)]):n=8);e.children=t,e.shapeFlag|=n}function QY(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const i in r)if(i==="class")t.class!==r.class&&(t.class=ze([t.class,r.class]));else if(i==="style")t.style=Le([t.style,r.style]);else if(_2(i)){const o=t[i],a=r[i];a&&o!==a&&!(kt(o)&&o.includes(a))&&(t[i]=o?[].concat(o,a):a)}else i!==""&&(t[i]=r[i])}return t}function Qo(e,t,n,r=null){Va(e,t,7,[n,r])}const xfe=pY();let Sfe=0;function HY(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||xfe,o={uid:Sfe++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new K_(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:RY(r,i),emitsOptions:WY(r,i),emit:null,emitted:null,propsDefaults:Kn,inheritAttrs:r.inheritAttrs,ctx:Kn,data:Kn,props:Kn,attrs:Kn,slots:Kn,refs:Kn,setupState:Kn,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=sfe.bind(null,o),e.ce&&e.ce(o),o}let vi=null;const vc=()=>vi||mi;let $b,X8;{const e=wB(),t=(n,r)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(r),o=>{i.length>1?i.forEach(a=>a(o)):i[0](o)}};$b=t("__VUE_INSTANCE_SETTERS__",n=>vi=n),X8=t("__VUE_SSR_SETTERS__",n=>I2=n)}const Bh=e=>{const t=vi;return $b(e),e.scope.on(),()=>{e.scope.off(),$b(t)}},W8=()=>{vi&&vi.scope.off(),$b(null)};function KY(e){return e.vnode.shapeFlag&4}let I2=!1;function GY(e,t=!1,n=!1){t&&X8(t);const{props:r,children:i}=e.vnode,o=KY(e);Hce(e,r,o,t),Jce(e,i,n);const a=o?wfe(e,t):void 0;return t&&X8(!1),a}function wfe(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,O8);const{setup:r}=n;if(r){const i=e.setupContext=r.length>1?JY(e):null,o=Bh(e);id();const a=ic(r,e,0,[e.props,i]);if(od(),o(),Q_(a)){if(a.then(W8,W8),t)return a.then(s=>{V8(e,s,t)}).catch(s=>{i0(s,e,0)});e.asyncDep=a}else V8(e,a,t)}else zY(e,t)}function V8(e,t,n){Gt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:lr(t)&&(e.setupState=rO(t)),zY(e,n)}let jb,D8;function Mfe(e){jb=e,D8=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Mce))}}const Lfe=()=>!jb;function zY(e,t,n){const r=e.type;if(!e.render){if(!t&&jb&&!r.render){const i=r.template||cO(e).template;if(i){const{isCustomElement:o,compilerOptions:a}=e.appContext.config,{delimiters:s,compilerOptions:l}=r,u=Vr(Vr({isCustomElement:o,delimiters:s},a),l);r.render=jb(i,u)}}e.render=r.render||ta,D8&&D8(e)}{const i=Bh(e);id();try{Vce(e)}finally{od(),i()}}}const Tfe={get(e,t){return ca(e,"get",""),e[t]}};function JY(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Tfe),slots:e.slots,emit:e.emit,expose:t}}function N2(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(rO(IS(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ug)return Ug[n](e)},has(t,n){return n in t||n in Ug}})):e.proxy}function U8(e,t=!0){return Gt(e)?e.displayName||e.name:e.name||t&&e.__name}function _fe(e){return Gt(e)&&"__vccOpts"in e}const Se=(e,t)=>jue(e,t,I2);function $Y(e,t,n){const r=arguments.length;return r===2?lr(t)&&!kt(t)?Yf(t)?O(e,null,[t]):O(e,t):O(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Yf(n)&&(n=[n]),O(e,t,n))}function Ofe(){}function kfe(e,t,n,r){const i=n[r];if(i&&jY(i,e))return i;const o=t();return o.memo=e.slice(),o.cacheIndex=r,n[r]=o}function jY(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(Oo(n[r],t[r]))return!1;return Uh>0&&fo&&fo.push(e),!0}const qY="3.4.34",Pfe=ta,Cfe=fce,Ife=up,Nfe=jB,Ffe={createComponentInstance:HY,setupComponent:GY,renderComponentRoot:HR,setCurrentRenderingInstance:Xm,isVNode:Yf,normalizeVNode:Go,getComponentPublicInstance:N2},Efe=Ffe,Xfe=null,Wfe=null,Vfe=null;/**
|
||
* @vue/runtime-dom v3.4.34
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const Dfe="http://www.w3.org/2000/svg",Ufe="http://www.w3.org/1998/Math/MathML",Zu=typeof document<"u"?document:null,r7=Zu&&Zu.createElement("template"),Bfe={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const i=t==="svg"?Zu.createElementNS(Dfe,e):t==="mathml"?Zu.createElementNS(Ufe,e):n?Zu.createElement(e,{is:n}):Zu.createElement(e);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>Zu.createTextNode(e),createComment:e=>Zu.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Zu.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,o){const a=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{r7.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const s=r7.content;if(r==="svg"||r==="mathml"){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Cc="transition",x1="animation",hv=Symbol("_vtc"),Yh=(e,{slots:t})=>$Y(eY,tZ(e),t);Yh.displayName="Transition";const eZ={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Yfe=Yh.props=Vr({},aO,eZ),Ld=(e,t=[])=>{kt(e)?e.forEach(n=>n(...t)):e&&e(...t)},i7=e=>e?kt(e)?e.some(t=>t.length>1):e.length>1:!1;function tZ(e){const t={};for(const P in e)P in eZ||(t[P]=e[P]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:o=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:u=a,appearToClass:c=s,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,p=Zfe(i),v=p&&p[0],g=p&&p[1],{onBeforeEnter:m,onEnter:y,onEnterCancelled:R,onLeave:A,onLeaveCancelled:x,onBeforeAppear:S=m,onAppear:_=y,onAppearCancelled:M=R}=t,w=(P,F,C)=>{Kc(P,F?c:s),Kc(P,F?u:a),C&&C()},L=(P,F)=>{P._isLeaving=!1,Kc(P,f),Kc(P,h),Kc(P,d),F&&F()},k=P=>(F,C)=>{const N=P?_:y,I=()=>w(F,P,C);Ld(N,[F,I]),o7(()=>{Kc(F,P?l:o),Bu(F,P?c:s),i7(N)||a7(F,r,v,I)})};return Vr(t,{onBeforeEnter(P){Ld(m,[P]),Bu(P,o),Bu(P,a)},onBeforeAppear(P){Ld(S,[P]),Bu(P,l),Bu(P,u)},onEnter:k(!1),onAppear:k(!0),onLeave(P,F){P._isLeaving=!0;const C=()=>L(P,F);Bu(P,f),Bu(P,d),rZ(),o7(()=>{P._isLeaving&&(Kc(P,f),Bu(P,h),i7(A)||a7(P,r,g,C))}),Ld(A,[P,C])},onEnterCancelled(P){w(P,!1),Ld(R,[P])},onAppearCancelled(P){w(P,!0),Ld(M,[P])},onLeaveCancelled(P){L(P),Ld(x,[P])}})}function Zfe(e){if(e==null)return null;if(lr(e))return[Xw(e.enter),Xw(e.leave)];{const t=Xw(e);return[t,t]}}function Xw(e){return Zb(e)}function Bu(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[hv]||(e[hv]=new Set)).add(t)}function Kc(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[hv];n&&(n.delete(t),n.size||(e[hv]=void 0))}function o7(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Qfe=0;function a7(e,t,n,r){const i=e._endId=++Qfe,o=()=>{i===e._endId&&r()};if(n)return setTimeout(o,n);const{type:a,timeout:s,propCount:l}=nZ(e,t);if(!a)return r();const u=a+"end";let c=0;const f=()=>{e.removeEventListener(u,d),o()},d=h=>{h.target===e&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},s+1),e.addEventListener(u,d)}function nZ(e,t){const n=window.getComputedStyle(e),r=p=>(n[p]||"").split(", "),i=r(`${Cc}Delay`),o=r(`${Cc}Duration`),a=s7(i,o),s=r(`${x1}Delay`),l=r(`${x1}Duration`),u=s7(s,l);let c=null,f=0,d=0;t===Cc?a>0&&(c=Cc,f=a,d=o.length):t===x1?u>0&&(c=x1,f=u,d=l.length):(f=Math.max(a,u),c=f>0?a>u?Cc:x1:null,d=c?c===Cc?o.length:l.length:0);const h=c===Cc&&/\b(transform|all)(,|$)/.test(r(`${Cc}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:h}}function s7(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>l7(n)+l7(e[r])))}function l7(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function rZ(){return document.body.offsetHeight}function Hfe(e,t,n){const r=e[hv];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const qb=Symbol("_vod"),iZ=Symbol("_vsh"),uc={beforeMount(e,{value:t},{transition:n}){e[qb]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):S1(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),S1(e,!0),r.enter(e)):r.leave(e,()=>{S1(e,!1)}):S1(e,t))},beforeUnmount(e,{value:t}){S1(e,t)}};function S1(e,t){e.style.display=t?e[qb]:"none",e[iZ]=!t}function Kfe(){uc.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const oZ=Symbol("");function Gfe(e){const t=vc();if(!t)return;const n=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>Y8(o,i))},r=()=>{const i=e(t.proxy);B8(t.subTree,i),n(i)};Ht(()=>{NY(r);const i=new MutationObserver(r);i.observe(t.subTree.el.parentNode,{childList:!0}),Fn(()=>i.disconnect())})}function B8(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{B8(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Y8(e.el,t);else if(e.type===We)e.children.forEach(n=>B8(n,t));else if(e.type===Mh){let{el:n,anchor:r}=e;for(;n&&(Y8(n,t),n!==r);)n=n.nextSibling}}function Y8(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const i in t)n.setProperty(`--${i}`,t[i]),r+=`--${i}: ${t[i]};`;n[oZ]=r}}const zfe=/(^|;)\s*display\s*:/;function Jfe(e,t,n){const r=e.style,i=Pr(n);let o=!1;if(n&&!i){if(t)if(Pr(t))for(const a of t.split(";")){const s=a.slice(0,a.indexOf(":")).trim();n[s]==null&&GR(r,s,"")}else for(const a in t)n[a]==null&&GR(r,a,"");for(const a in n)a==="display"&&(o=!0),GR(r,a,n[a])}else if(i){if(t!==n){const a=r[oZ];a&&(n+=";"+a),r.cssText=n,o=zfe.test(n)}}else t&&e.removeAttribute("style");qb in e&&(e[qb]=o?r.display:"",e[iZ]&&(r.display="none"))}const u7=/\s*!important$/;function GR(e,t,n){if(kt(n))n.forEach(r=>GR(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=$fe(e,t);u7.test(n)?e.setProperty($o(r),n.replace(u7,""),"important"):e[r]=n}}const c7=["Webkit","Moz","ms"],Ww={};function $fe(e,t){const n=Ww[t];if(n)return n;let r=po(t);if(r!=="filter"&&r in e)return Ww[t]=r;r=O2(r);for(let i=0;i<c7.length;i++){const o=c7[i]+r;if(o in e)return Ww[t]=o}return t}const f7="http://www.w3.org/1999/xlink";function d7(e,t,n,r,i,o=Tue(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(f7,t.slice(6,t.length)):e.setAttributeNS(f7,t,n):n==null||o&&!MB(n)?e.removeAttribute(t):e.setAttribute(t,o?"":cu(n)?String(n):n)}function jfe(e,t,n,r){if(t==="innerHTML"||t==="textContent"){if(n==null)return;e[t]=n;return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const a=i==="OPTION"?e.getAttribute("value")||"":e.value,s=n==null?"":String(n);(a!==s||!("_value"in e))&&(e.value=s),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=MB(n):n==null&&a==="string"?(n="",o=!0):a==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(t)}function zu(e,t,n,r){e.addEventListener(t,n,r)}function qfe(e,t,n,r){e.removeEventListener(t,n,r)}const h7=Symbol("_vei");function ede(e,t,n,r,i=null){const o=e[h7]||(e[h7]={}),a=o[t];if(r&&a)a.value=r;else{const[s,l]=tde(t);if(r){const u=o[t]=ide(r,i);zu(e,s,u,l)}else a&&(qfe(e,s,a,l),o[t]=void 0)}}const p7=/(?:Once|Passive|Capture)$/;function tde(e){let t;if(p7.test(e)){t={};let r;for(;r=e.match(p7);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):$o(e.slice(2)),t]}let Vw=0;const nde=Promise.resolve(),rde=()=>Vw||(nde.then(()=>Vw=0),Vw=Date.now());function ide(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Va(ode(r,n.value),t,5,[r])};return n.value=e,n.attached=rde(),n}function ode(e,t){if(kt(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const v7=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ade=(e,t,n,r,i,o)=>{const a=i==="svg";t==="class"?Hfe(e,r,a):t==="style"?Jfe(e,n,r):_2(t)?Y_(t)||ede(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):sde(e,t,r,a))?(jfe(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&d7(e,t,r,a,o,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),d7(e,t,r,a))};function sde(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&v7(t)&&Gt(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return v7(t)&&Pr(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function aZ(e,t,n){const r=Xe(e,t);class i extends DS{constructor(a){super(r,a,n)}}return i.def=r,i}/*! #__NO_SIDE_EFFECTS__ */const lde=(e,t)=>aZ(e,t,mZ),ude=typeof HTMLElement<"u"?HTMLElement:class{};class DS extends ude{constructor(t,n={},r){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&r?r(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,Ir(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),vv(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let r=0;r<this.attributes.length;r++)this._setAttr(this.attributes[r].name);this._ob=new MutationObserver(r=>{for(const i of r)this._setAttr(i.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(r,i=!1)=>{const{props:o,styles:a}=r;let s;if(o&&!kt(o))for(const l in o){const u=o[l];(u===Number||u&&u.type===Number)&&(l in this._props&&(this._props[l]=Zb(this._props[l])),(s||(s=Object.create(null)))[po(l)]=!0)}this._numberProps=s,i&&this._resolveProps(r),this._applyStyles(a),this._update()},n=this._def.__asyncLoader;n?n().then(r=>t(r,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,r=kt(n)?n:Object.keys(n||{});for(const i of Object.keys(this))i[0]!=="_"&&r.includes(i)&&this._setProp(i,this[i],!0,!1);for(const i of r.map(po))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(o){this._setProp(i,o)}})}_setAttr(t){let n=this.hasAttribute(t)?this.getAttribute(t):void 0;const r=po(t);this._numberProps&&this._numberProps[r]&&(n=Zb(n)),this._setProp(r,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,i=!0){n!==this._props[t]&&(this._props[t]=n,i&&this._instance&&this._update(),r&&(n===!0?this.setAttribute($o(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute($o(t),n+""):n||this.removeAttribute($o(t))))}_update(){vv(this._createVNode(),this.shadowRoot)}_createVNode(){const t=O(this._def,Vr({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const r=(o,a)=>{this.dispatchEvent(new CustomEvent(o,{detail:a}))};n.emit=(o,...a)=>{r(o,a),$o(o)!==o&&r($o(o),a)};let i=this;for(;i=i&&(i.parentNode||i.host);)if(i instanceof DS){n.parent=i._instance,n.provides=i._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const r=document.createElement("style");r.textContent=n,this.shadowRoot.appendChild(r)})}}function cde(e="$style"){{const t=vc();if(!t)return Kn;const n=t.type.__cssModules;if(!n)return Kn;const r=n[e];return r||Kn}}const sZ=new WeakMap,lZ=new WeakMap,ex=Symbol("_moveCb"),g7=Symbol("_enterCb"),uZ={name:"TransitionGroup",props:Vr({},Yfe,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=vc(),r=oO();let i,o;return WS(()=>{if(!i.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!gde(i[0].el,n.vnode.el,a))return;i.forEach(hde),i.forEach(pde);const s=i.filter(vde);rZ(),s.forEach(l=>{const u=l.el,c=u.style;Bu(u,a),c.transform=c.webkitTransform=c.transitionDuration="";const f=u[ex]=d=>{d&&d.target!==u||(!d||/transform$/.test(d.propertyName))&&(u.removeEventListener("transitionend",f),u[ex]=null,Kc(u,a))};u.addEventListener("transitionend",f)})}),()=>{const a=kn(e),s=tZ(a);let l=a.tag||We;if(i=[],o)for(let u=0;u<o.length;u++){const c=o[u];c.el&&c.el instanceof Element&&(i.push(c),Bf(c,dv(c,s,r,n)),sZ.set(c,c.el.getBoundingClientRect()))}o=t.default?ES(t.default()):[];for(let u=0;u<o.length;u++){const c=o[u];c.key!=null&&Bf(c,dv(c,s,r,n))}return O(l,null,o)}}},fde=e=>delete e.mode;uZ.props;const dde=uZ;function hde(e){const t=e.el;t[ex]&&t[ex](),t[g7]&&t[g7]()}function pde(e){lZ.set(e,e.el.getBoundingClientRect())}function vde(e){const t=sZ.get(e),n=lZ.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${r}px,${i}px)`,o.transitionDuration="0s",e}}function gde(e,t,n){const r=e.cloneNode(),i=e[hv];i&&i.forEach(s=>{s.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),n.split(/\s+/).forEach(s=>s&&r.classList.add(s)),r.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:a}=nZ(r);return o.removeChild(r),a}const Zf=e=>{const t=e.props["onUpdate:modelValue"]||!1;return kt(t)?n=>Zp(t,n):t};function mde(e){e.target.composing=!0}function m7(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const xs=Symbol("_assign"),Dm={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[xs]=Zf(i);const o=r||i.props&&i.props.type==="number";zu(e,t?"change":"input",a=>{if(a.target.composing)return;let s=e.value;n&&(s=s.trim()),o&&(s=Yb(s)),e[xs](s)}),n&&zu(e,"change",()=>{e.value=e.value.trim()}),t||(zu(e,"compositionstart",mde),zu(e,"compositionend",m7),zu(e,"change",m7))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:o}},a){if(e[xs]=Zf(a),e.composing)return;const s=(o||e.type==="number")&&!/^0\d/.test(e.value)?Yb(e.value):e.value,l=t??"";s!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||i&&e.value.trim()===l)||(e.value=l))}},gO={deep:!0,created(e,t,n){e[xs]=Zf(n),zu(e,"change",()=>{const r=e._modelValue,i=pv(e),o=e.checked,a=e[xs];if(kt(r)){const s=OS(r,i),l=s!==-1;if(o&&!l)a(r.concat(i));else if(!o&&l){const u=[...r];u.splice(s,1),a(u)}}else if(r0(r)){const s=new Set(r);o?s.add(i):s.delete(i),a(s)}else a(fZ(e,o))})},mounted:y7,beforeUpdate(e,t,n){e[xs]=Zf(n),y7(e,t,n)}};function y7(e,{value:t,oldValue:n},r){e._modelValue=t,kt(t)?e.checked=OS(t,r.props.value)>-1:r0(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=Df(t,fZ(e,!0)))}const mO={created(e,{value:t},n){e.checked=Df(t,n.props.value),e[xs]=Zf(n),zu(e,"change",()=>{e[xs](pv(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[xs]=Zf(r),t!==n&&(e.checked=Df(t,r.props.value))}},cZ={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const i=r0(t);zu(e,"change",()=>{const o=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?Yb(pv(a)):pv(a));e[xs](e.multiple?i?new Set(o):o:o[0]),e._assigning=!0,Ir(()=>{e._assigning=!1})}),e[xs]=Zf(r)},mounted(e,{value:t,modifiers:{number:n}}){A7(e,t)},beforeUpdate(e,t,n){e[xs]=Zf(n)},updated(e,{value:t,modifiers:{number:n}}){e._assigning||A7(e,t)}};function A7(e,t,n){const r=e.multiple,i=kt(t);if(!(r&&!i&&!r0(t))){for(let o=0,a=e.options.length;o<a;o++){const s=e.options[o],l=pv(s);if(r)if(i){const u=typeof l;u==="string"||u==="number"?s.selected=t.some(c=>String(c)===String(l)):s.selected=OS(t,l)>-1}else s.selected=t.has(l);else if(Df(pv(s),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function pv(e){return"_value"in e?e._value:e.value}function fZ(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const dZ={created(e,t,n){SA(e,t,n,null,"created")},mounted(e,t,n){SA(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){SA(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){SA(e,t,n,r,"updated")}};function hZ(e,t){switch(e){case"SELECT":return cZ;case"TEXTAREA":return Dm;default:switch(t){case"checkbox":return gO;case"radio":return mO;default:return Dm}}}function SA(e,t,n,r,i){const a=hZ(e.tagName,n.props&&n.props.type)[i];a&&a(e,t,n,r)}function yde(){Dm.getSSRProps=({value:e})=>({value:e}),mO.getSSRProps=({value:e},t)=>{if(t.props&&Df(t.props.value,e))return{checked:!0}},gO.getSSRProps=({value:e},t)=>{if(kt(e)){if(t.props&&OS(e,t.props.value)>-1)return{checked:!0}}else if(r0(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},dZ.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=hZ(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const Ade=["ctrl","shift","alt","meta"],Rde={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Ade.some(n=>e[`${n}Key`]&&!t.includes(n))},Ft=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(i,...o)=>{for(let a=0;a<t.length;a++){const s=Rde[t[a]];if(s&&s(i,t))return}return e(i,...o)})},bde={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},du=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=i=>{if(!("key"in i))return;const o=$o(i.key);if(t.some(a=>a===o||bde[a]===o))return e(i)})},pZ=Vr({patchProp:ade},Bfe);let Zg,R7=!1;function vZ(){return Zg||(Zg=TY(pZ))}function gZ(){return Zg=R7?Zg:_Y(pZ),R7=!0,Zg}const vv=(...e)=>{vZ().render(...e)},mZ=(...e)=>{gZ().hydrate(...e)},yZ=(...e)=>{const t=vZ().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=RZ(r);if(!i)return;const o=t._component;!Gt(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.innerHTML="";const a=n(i,!1,AZ(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),a},t},xde=(...e)=>{const t=gZ().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=RZ(r);if(i)return n(i,!0,AZ(i))},t};function AZ(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function RZ(e){return Pr(e)?document.querySelector(e):e}let b7=!1;const Sde=()=>{b7||(b7=!0,yde(),Kfe())};/**
|
||
* vue v3.4.34
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const wde=()=>{},Mde=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:eY,BaseTransitionPropsValidators:aO,Comment:Li,DeprecationTypes:Vfe,EffectScope:K_,ErrorCodes:cce,ErrorTypeStrings:Cfe,Fragment:We,KeepAlive:Rce,ReactiveEffect:fv,Static:Mh,Suspense:hfe,Teleport:dO,Text:kf,TrackOpTypes:sce,Transition:Yh,TransitionGroup:dde,TriggerOpTypes:lce,VueElement:DS,assertNumber:uce,callWithAsyncErrorHandling:Va,callWithErrorHandling:ic,camelize:po,capitalize:O2,cloneVNode:fu,compatUtils:Wfe,compile:wde,computed:Se,createApp:yZ,createBlock:_e,createCommentVNode:Ye,createElementBlock:te,createElementVNode:D,createHydrationRenderer:_Y,createPropsRestProxy:Xce,createRenderer:TY,createSSRApp:xde,createSlots:Sce,createStaticVNode:bfe,createTextVNode:Ue,createVNode:O,customRef:HB,defineAsyncComponent:yce,defineComponent:Xe,defineCustomElement:aZ,defineEmits:Tce,defineExpose:_ce,defineModel:Pce,defineOptions:Oce,defineProps:Lce,defineSSRCustomElement:lde,defineSlots:kce,devtools:Ife,effect:kue,effectScope:G_,getCurrentInstance:vc,getCurrentScope:z_,getTransitionRawChildren:ES,guardReactiveProps:ZY,h:$Y,handleError:i0,hasInjectionContext:vY,hydrate:mZ,initCustomFormatter:Ofe,initDirectivesForSSR:Sde,inject:bs,isMemoSame:jY,isProxy:eO,isReactive:nu,isReadonly:Uf,isRef:Cr,isRuntimeOnly:Lfe,isShallow:Dh,isVNode:Yf,markRaw:IS,mergeDefaults:Fce,mergeModels:Ece,mergeProps:QY,nextTick:Ir,normalizeClass:ze,normalizeProps:Mue,normalizeStyle:Le,onActivated:nY,onBeforeMount:sO,onBeforeUnmount:o0,onBeforeUpdate:oY,onDeactivated:rY,onErrorCaptured:uY,onMounted:Ht,onRenderTracked:lY,onRenderTriggered:sY,onScopeDispose:OB,onServerPrefetch:aY,onUnmounted:Fn,onUpdated:WS,openBlock:U,popScopeId:tn,provide:a0,proxyRefs:rO,pushScopeId:en,queuePostFlushCb:Hb,reactive:k2,readonly:q_,ref:pe,registerRuntimeCompiler:Mfe,render:vv,renderList:nt,renderSlot:ar,resolveComponent:xe,resolveDirective:Pn,resolveDynamicComponent:Ru,resolveFilter:Xfe,resolveTransitionHooks:dv,setBlockTracking:E8,setDevtoolsHook:Nfe,setTransitionHooks:Bf,shallowReactive:YB,shallowReadonly:$ue,shallowRef:que,ssrContextKey:CY,ssrUtils:Efe,stop:Pue,toDisplayString:pt,toHandlerKey:Dg,toHandlers:wce,toRaw:kn,toRef:Xv,toRefs:KB,toValue:nce,transformVNodeArgs:Afe,triggerRef:tce,unref:z,useAttrs:Nce,useCssModule:cde,useCssVars:Gfe,useModel:afe,useSSRContext:IY,useSlots:Ice,useTransitionState:oO,vModelCheckbox:gO,vModelDynamic:dZ,vModelRadio:mO,vModelSelect:cZ,vModelText:Dm,vShow:uc,version:qY,warn:Pfe,watch:_t,watchEffect:Wv,watchPostEffect:NY,watchSyncEffect:FY,withAsyncContext:Wce,withCtx:ie,withDefaults:Cce,withDirectives:Ge,withKeys:du,withMemo:kfe,withModifiers:Ft,withScopeId:gce},Symbol.toStringTag,{value:"Module"}));var Lde=!1;/*!
|
||
* pinia v2.1.7
|
||
* (c) 2023 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/let bZ;const US=e=>bZ=e,xZ=Symbol();function Z8(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Qg;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Qg||(Qg={}));function Tde(){const e=G_(!0),t=e.run(()=>pe({}));let n=[],r=[];const i=IS({install(o){US(i),i._a=o,o.provide(xZ,i),o.config.globalProperties.$pinia=i,r.forEach(a=>n.push(a)),r=[]},use(o){return!this._a&&!Lde?r.push(o):n.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}const SZ=()=>{};function x7(e,t,n,r=SZ){e.push(t);const i=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),r())};return!n&&z_()&&OB(i),i}function F0(e,...t){e.slice().forEach(n=>{n(...t)})}const _de=e=>e();function Q8(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,r)=>e.set(r,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],i=e[n];Z8(i)&&Z8(r)&&e.hasOwnProperty(n)&&!Cr(r)&&!nu(r)?e[n]=Q8(i,r):e[n]=r}return e}const Ode=Symbol();function kde(e){return!Z8(e)||!e.hasOwnProperty(Ode)}const{assign:Gc}=Object;function Pde(e){return!!(Cr(e)&&e.effect)}function Cde(e,t,n,r){const{state:i,actions:o,getters:a}=t,s=n.state.value[e];let l;function u(){s||(n.state.value[e]=i?i():{});const c=KB(n.state.value[e]);return Gc(c,o,Object.keys(a||{}).reduce((f,d)=>(f[d]=IS(Se(()=>{US(n);const h=n._s.get(e);return a[d].call(h,h)})),f),{}))}return l=wZ(e,u,t,n,r,!0),l}function wZ(e,t,n={},r,i,o){let a;const s=Gc({actions:{}},n),l={deep:!0};let u,c,f=[],d=[],h;const p=r.state.value[e];!o&&!p&&(r.state.value[e]={}),pe({});let v;function g(M){let w;u=c=!1,typeof M=="function"?(M(r.state.value[e]),w={type:Qg.patchFunction,storeId:e,events:h}):(Q8(r.state.value[e],M),w={type:Qg.patchObject,payload:M,storeId:e,events:h});const L=v=Symbol();Ir().then(()=>{v===L&&(u=!0)}),c=!0,F0(f,w,r.state.value[e])}const m=o?function(){const{state:w}=n,L=w?w():{};this.$patch(k=>{Gc(k,L)})}:SZ;function y(){a.stop(),f=[],d=[],r._s.delete(e)}function R(M,w){return function(){US(r);const L=Array.from(arguments),k=[],P=[];function F(I){k.push(I)}function C(I){P.push(I)}F0(d,{args:L,name:M,store:x,after:F,onError:C});let N;try{N=w.apply(this&&this.$id===e?this:x,L)}catch(I){throw F0(P,I),I}return N instanceof Promise?N.then(I=>(F0(k,I),I)).catch(I=>(F0(P,I),Promise.reject(I))):(F0(k,N),N)}}const A={_p:r,$id:e,$onAction:x7.bind(null,d),$patch:g,$reset:m,$subscribe(M,w={}){const L=x7(f,M,w.detached,()=>k()),k=a.run(()=>_t(()=>r.state.value[e],P=>{(w.flush==="sync"?c:u)&&M({storeId:e,type:Qg.direct,events:h},P)},Gc({},l,w)));return L},$dispose:y},x=k2(A);r._s.set(e,x);const _=(r._a&&r._a.runWithContext||_de)(()=>r._e.run(()=>(a=G_()).run(t)));for(const M in _){const w=_[M];if(Cr(w)&&!Pde(w)||nu(w))o||(p&&kde(w)&&(Cr(w)?w.value=p[M]:Q8(w,p[M])),r.state.value[e][M]=w);else if(typeof w=="function"){const L=R(M,w);_[M]=L,s.actions[M]=w}}return Gc(x,_),Gc(kn(x),_),Object.defineProperty(x,"$state",{get:()=>r.state.value[e],set:M=>{g(w=>{Gc(w,M)})}}),r._p.forEach(M=>{Gc(x,a.run(()=>M({store:x,app:r._a,pinia:r,options:s})))}),p&&o&&n.hydrate&&n.hydrate(x.$state,p),u=!0,c=!0,x}function F2(e,t,n){let r,i;const o=typeof t=="function";typeof e=="string"?(r=e,i=o?n:t):(i=e,r=e.id);function a(s,l){const u=vY();return s=s||(u?bs(xZ,null):null),s&&US(s),s=bZ,s._s.has(r)||(o?wZ(r,t,i,s):Cde(r,i,s)),s._s.get(r)}return a.$id=r,a}function De(e){{e=kn(e);const t={};for(const n in e){const r=e[n];(Cr(r)||nu(r))&&(t[n]=Xv(e,n))}return t}}const Ide="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let Nde=e=>crypto.getRandomValues(new Uint8Array(e)),Fde=(e,t,n)=>{let r=(2<<Math.log(e.length-1)/Math.LN2)-1,i=-~(1.6*r*t/e.length);return(o=t)=>{let a="";for(;;){let s=n(i),l=i;for(;l--;)if(a+=e[s[l]&r]||"",a.length===o)return a}}},Ede=(e,t=21)=>Fde(e,t,Nde),on=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;)t+=Ide[n[e]&63];return t};var qr=(e=>(e.SYMBOL="symbol",e.EL_ANIMATION="elAnimation",e.EL_STYLE="elStyle",e.EL_POSITION="elPosition",e.SLIDE_DESIGN="slideDesign",e.SLIDE_ANIMATION="slideAnimation",e.MULTI_POSITION="multiPosition",e))(qr||{});function Wi(e){this.content=e}Wi.prototype={constructor:Wi,find:function(e){for(var t=0;t<this.content.length;t+=2)if(this.content[t]===e)return t;return-1},get:function(e){var t=this.find(e);return t==-1?void 0:this.content[t+1]},update:function(e,t,n){var r=n&&n!=e?this.remove(n):this,i=r.find(e),o=r.content.slice();return i==-1?o.push(n||e,t):(o[i+1]=t,n&&(o[i]=n)),new Wi(o)},remove:function(e){var t=this.find(e);if(t==-1)return this;var n=this.content.slice();return n.splice(t,2),new Wi(n)},addToStart:function(e,t){return new Wi([e,t].concat(this.remove(e).content))},addToEnd:function(e,t){var n=this.remove(e).content.slice();return n.push(e,t),new Wi(n)},addBefore:function(e,t,n){var r=this.remove(t),i=r.content.slice(),o=r.find(e);return i.splice(o==-1?i.length:o,0,t,n),new Wi(i)},forEach:function(e){for(var t=0;t<this.content.length;t+=2)e(this.content[t],this.content[t+1])},prepend:function(e){return e=Wi.from(e),e.size?new Wi(e.content.concat(this.subtract(e).content)):this},append:function(e){return e=Wi.from(e),e.size?new Wi(this.subtract(e).content.concat(e.content)):this},subtract:function(e){var t=this;e=Wi.from(e);for(var n=0;n<e.content.length;n+=2)t=t.remove(e.content[n]);return t},toObject:function(){var e={};return this.forEach(function(t,n){e[t]=n}),e},get size(){return this.content.length>>1}};Wi.from=function(e){if(e instanceof Wi)return e;var t=[];if(e)for(var n in e)t.push(n,e[n]);return new Wi(t)};function MZ(e,t,n){for(let r=0;;r++){if(r==e.childCount||r==t.childCount)return e.childCount==t.childCount?null:n;let i=e.child(r),o=t.child(r);if(i==o){n+=i.nodeSize;continue}if(!i.sameMarkup(o))return n;if(i.isText&&i.text!=o.text){for(let a=0;i.text[a]==o.text[a];a++)n++;return n}if(i.content.size||o.content.size){let a=MZ(i.content,o.content,n+1);if(a!=null)return a}n+=i.nodeSize}}function LZ(e,t,n,r){for(let i=e.childCount,o=t.childCount;;){if(i==0||o==0)return i==o?null:{a:n,b:r};let a=e.child(--i),s=t.child(--o),l=a.nodeSize;if(a==s){n-=l,r-=l;continue}if(!a.sameMarkup(s))return{a:n,b:r};if(a.isText&&a.text!=s.text){let u=0,c=Math.min(a.text.length,s.text.length);for(;u<c&&a.text[a.text.length-u-1]==s.text[s.text.length-u-1];)u++,n--,r--;return{a:n,b:r}}if(a.content.size||s.content.size){let u=LZ(a.content,s.content,n-1,r-1);if(u)return u}n-=l,r-=l}}class ft{constructor(t,n){if(this.content=t,this.size=n||0,n==null)for(let r=0;r<t.length;r++)this.size+=t[r].nodeSize}nodesBetween(t,n,r,i=0,o){for(let a=0,s=0;s<n;a++){let l=this.content[a],u=s+l.nodeSize;if(u>t&&r(l,i+s,o||null,a)!==!1&&l.content.size){let c=s+1;l.nodesBetween(Math.max(0,t-c),Math.min(l.content.size,n-c),r,i+c)}s=u}}descendants(t){this.nodesBetween(0,this.size,t)}textBetween(t,n,r,i){let o="",a=!0;return this.nodesBetween(t,n,(s,l)=>{let u=s.isText?s.text.slice(Math.max(t,l)-l,n-l):s.isLeaf?i?typeof i=="function"?i(s):i:s.type.spec.leafText?s.type.spec.leafText(s):"":"";s.isBlock&&(s.isLeaf&&u||s.isTextblock)&&r&&(a?a=!1:o+=r),o+=u},0),o}append(t){if(!t.size)return this;if(!this.size)return t;let n=this.lastChild,r=t.firstChild,i=this.content.slice(),o=0;for(n.isText&&n.sameMarkup(r)&&(i[i.length-1]=n.withText(n.text+r.text),o=1);o<t.content.length;o++)i.push(t.content[o]);return new ft(i,this.size+t.size)}cut(t,n=this.size){if(t==0&&n==this.size)return this;let r=[],i=0;if(n>t)for(let o=0,a=0;a<n;o++){let s=this.content[o],l=a+s.nodeSize;l>t&&((a<t||l>n)&&(s.isText?s=s.cut(Math.max(0,t-a),Math.min(s.text.length,n-a)):s=s.cut(Math.max(0,t-a-1),Math.min(s.content.size,n-a-1))),r.push(s),i+=s.nodeSize),a=l}return new ft(r,i)}cutByIndex(t,n){return t==n?ft.empty:t==0&&n==this.content.length?this:new ft(this.content.slice(t,n))}replaceChild(t,n){let r=this.content[t];if(r==n)return this;let i=this.content.slice(),o=this.size+n.nodeSize-r.nodeSize;return i[t]=n,new ft(i,o)}addToStart(t){return new ft([t].concat(this.content),this.size+t.nodeSize)}addToEnd(t){return new ft(this.content.concat(t),this.size+t.nodeSize)}eq(t){if(this.content.length!=t.content.length)return!1;for(let n=0;n<this.content.length;n++)if(!this.content[n].eq(t.content[n]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(t){let n=this.content[t];if(!n)throw new RangeError("Index "+t+" out of range for "+this);return n}maybeChild(t){return this.content[t]||null}forEach(t){for(let n=0,r=0;n<this.content.length;n++){let i=this.content[n];t(i,r,n),r+=i.nodeSize}}findDiffStart(t,n=0){return MZ(this,t,n)}findDiffEnd(t,n=this.size,r=t.size){return LZ(this,t,n,r)}findIndex(t,n=-1){if(t==0)return wA(0,t);if(t==this.size)return wA(this.content.length,t);if(t>this.size||t<0)throw new RangeError(`Position ${t} outside of fragment (${this})`);for(let r=0,i=0;;r++){let o=this.child(r),a=i+o.nodeSize;if(a>=t)return a==t||n>0?wA(r+1,a):wA(r,i);i=a}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(t=>t.toJSON()):null}static fromJSON(t,n){if(!n)return ft.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return new ft(n.map(t.nodeFromJSON))}static fromArray(t){if(!t.length)return ft.empty;let n,r=0;for(let i=0;i<t.length;i++){let o=t[i];r+=o.nodeSize,i&&o.isText&&t[i-1].sameMarkup(o)?(n||(n=t.slice(0,i)),n[n.length-1]=o.withText(n[n.length-1].text+o.text)):n&&n.push(o)}return new ft(n||t,r)}static from(t){if(!t)return ft.empty;if(t instanceof ft)return t;if(Array.isArray(t))return this.fromArray(t);if(t.attrs)return new ft([t],t.nodeSize);throw new RangeError("Can not convert "+t+" to a Fragment"+(t.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}ft.empty=new ft([],0);const Dw={index:0,offset:0};function wA(e,t){return Dw.index=e,Dw.offset=t,Dw}function tx(e,t){if(e===t)return!0;if(!(e&&typeof e=="object")||!(t&&typeof t=="object"))return!1;let n=Array.isArray(e);if(Array.isArray(t)!=n)return!1;if(n){if(e.length!=t.length)return!1;for(let r=0;r<e.length;r++)if(!tx(e[r],t[r]))return!1}else{for(let r in e)if(!(r in t)||!tx(e[r],t[r]))return!1;for(let r in t)if(!(r in e))return!1}return!0}class Gn{constructor(t,n){this.type=t,this.attrs=n}addToSet(t){let n,r=!1;for(let i=0;i<t.length;i++){let o=t[i];if(this.eq(o))return t;if(this.type.excludes(o.type))n||(n=t.slice(0,i));else{if(o.type.excludes(this.type))return t;!r&&o.type.rank>this.type.rank&&(n||(n=t.slice(0,i)),n.push(this),r=!0),n&&n.push(o)}}return n||(n=t.slice()),r||n.push(this),n}removeFromSet(t){for(let n=0;n<t.length;n++)if(this.eq(t[n]))return t.slice(0,n).concat(t.slice(n+1));return t}isInSet(t){for(let n=0;n<t.length;n++)if(this.eq(t[n]))return!0;return!1}eq(t){return this==t||this.type==t.type&&tx(this.attrs,t.attrs)}toJSON(){let t={type:this.type.name};for(let n in this.attrs){t.attrs=this.attrs;break}return t}static fromJSON(t,n){if(!n)throw new RangeError("Invalid input for Mark.fromJSON");let r=t.marks[n.type];if(!r)throw new RangeError(`There is no mark type ${n.type} in this schema`);let i=r.create(n.attrs);return r.checkAttrs(i.attrs),i}static sameSet(t,n){if(t==n)return!0;if(t.length!=n.length)return!1;for(let r=0;r<t.length;r++)if(!t[r].eq(n[r]))return!1;return!0}static setFrom(t){if(!t||Array.isArray(t)&&t.length==0)return Gn.none;if(t instanceof Gn)return[t];let n=t.slice();return n.sort((r,i)=>r.type.rank-i.type.rank),n}}Gn.none=[];class nx extends Error{}class Mt{constructor(t,n,r){this.content=t,this.openStart=n,this.openEnd=r}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(t,n){let r=_Z(this.content,t+this.openStart,n);return r&&new Mt(r,this.openStart,this.openEnd)}removeBetween(t,n){return new Mt(TZ(this.content,t+this.openStart,n+this.openStart),this.openStart,this.openEnd)}eq(t){return this.content.eq(t.content)&&this.openStart==t.openStart&&this.openEnd==t.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let t={content:this.content.toJSON()};return this.openStart>0&&(t.openStart=this.openStart),this.openEnd>0&&(t.openEnd=this.openEnd),t}static fromJSON(t,n){if(!n)return Mt.empty;let r=n.openStart||0,i=n.openEnd||0;if(typeof r!="number"||typeof i!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new Mt(ft.fromJSON(t,n.content),r,i)}static maxOpen(t,n=!0){let r=0,i=0;for(let o=t.firstChild;o&&!o.isLeaf&&(n||!o.type.spec.isolating);o=o.firstChild)r++;for(let o=t.lastChild;o&&!o.isLeaf&&(n||!o.type.spec.isolating);o=o.lastChild)i++;return new Mt(t,r,i)}}Mt.empty=new Mt(ft.empty,0,0);function TZ(e,t,n){let{index:r,offset:i}=e.findIndex(t),o=e.maybeChild(r),{index:a,offset:s}=e.findIndex(n);if(i==t||o.isText){if(s!=n&&!e.child(a).isText)throw new RangeError("Removing non-flat range");return e.cut(0,t).append(e.cut(n))}if(r!=a)throw new RangeError("Removing non-flat range");return e.replaceChild(r,o.copy(TZ(o.content,t-i-1,n-i-1)))}function _Z(e,t,n,r){let{index:i,offset:o}=e.findIndex(t),a=e.maybeChild(i);if(o==t||a.isText)return e.cut(0,t).append(n).append(e.cut(t));let s=_Z(a.content,t-o-1,n);return s&&e.replaceChild(i,a.copy(s))}function Xde(e,t,n){if(n.openStart>e.depth)throw new nx("Inserted content deeper than insertion position");if(e.depth-n.openStart!=t.depth-n.openEnd)throw new nx("Inconsistent open depths");return OZ(e,t,n,0)}function OZ(e,t,n,r){let i=e.index(r),o=e.node(r);if(i==t.index(r)&&r<e.depth-n.openStart){let a=OZ(e,t,n,r+1);return o.copy(o.content.replaceChild(i,a))}else if(n.content.size)if(!n.openStart&&!n.openEnd&&e.depth==r&&t.depth==r){let a=e.parent,s=a.content;return Th(a,s.cut(0,e.parentOffset).append(n.content).append(s.cut(t.parentOffset)))}else{let{start:a,end:s}=Wde(n,e);return Th(o,PZ(e,a,s,t,r))}else return Th(o,rx(e,t,r))}function kZ(e,t){if(!t.type.compatibleContent(e.type))throw new nx("Cannot join "+t.type.name+" onto "+e.type.name)}function H8(e,t,n){let r=e.node(n);return kZ(r,t.node(n)),r}function Lh(e,t){let n=t.length-1;n>=0&&e.isText&&e.sameMarkup(t[n])?t[n]=e.withText(t[n].text+e.text):t.push(e)}function Hg(e,t,n,r){let i=(t||e).node(n),o=0,a=t?t.index(n):i.childCount;e&&(o=e.index(n),e.depth>n?o++:e.textOffset&&(Lh(e.nodeAfter,r),o++));for(let s=o;s<a;s++)Lh(i.child(s),r);t&&t.depth==n&&t.textOffset&&Lh(t.nodeBefore,r)}function Th(e,t){return e.type.checkContent(t),e.copy(t)}function PZ(e,t,n,r,i){let o=e.depth>i&&H8(e,t,i+1),a=r.depth>i&&H8(n,r,i+1),s=[];return Hg(null,e,i,s),o&&a&&t.index(i)==n.index(i)?(kZ(o,a),Lh(Th(o,PZ(e,t,n,r,i+1)),s)):(o&&Lh(Th(o,rx(e,t,i+1)),s),Hg(t,n,i,s),a&&Lh(Th(a,rx(n,r,i+1)),s)),Hg(r,null,i,s),new ft(s)}function rx(e,t,n){let r=[];if(Hg(null,e,n,r),e.depth>n){let i=H8(e,t,n+1);Lh(Th(i,rx(e,t,n+1)),r)}return Hg(t,null,n,r),new ft(r)}function Wde(e,t){let n=t.depth-e.openStart,i=t.node(n).copy(e.content);for(let o=n-1;o>=0;o--)i=t.node(o).copy(ft.from(i));return{start:i.resolveNoCache(e.openStart+n),end:i.resolveNoCache(i.content.size-e.openEnd-n)}}class Um{constructor(t,n,r){this.pos=t,this.path=n,this.parentOffset=r,this.depth=n.length/3-1}resolveDepth(t){return t==null?this.depth:t<0?this.depth+t:t}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(t){return this.path[this.resolveDepth(t)*3]}index(t){return this.path[this.resolveDepth(t)*3+1]}indexAfter(t){return t=this.resolveDepth(t),this.index(t)+(t==this.depth&&!this.textOffset?0:1)}start(t){return t=this.resolveDepth(t),t==0?0:this.path[t*3-1]+1}end(t){return t=this.resolveDepth(t),this.start(t)+this.node(t).content.size}before(t){if(t=this.resolveDepth(t),!t)throw new RangeError("There is no position before the top-level node");return t==this.depth+1?this.pos:this.path[t*3-1]}after(t){if(t=this.resolveDepth(t),!t)throw new RangeError("There is no position after the top-level node");return t==this.depth+1?this.pos:this.path[t*3-1]+this.path[t*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let t=this.parent,n=this.index(this.depth);if(n==t.childCount)return null;let r=this.pos-this.path[this.path.length-1],i=t.child(n);return r?t.child(n).cut(r):i}get nodeBefore(){let t=this.index(this.depth),n=this.pos-this.path[this.path.length-1];return n?this.parent.child(t).cut(0,n):t==0?null:this.parent.child(t-1)}posAtIndex(t,n){n=this.resolveDepth(n);let r=this.path[n*3],i=n==0?0:this.path[n*3-1]+1;for(let o=0;o<t;o++)i+=r.child(o).nodeSize;return i}marks(){let t=this.parent,n=this.index();if(t.content.size==0)return Gn.none;if(this.textOffset)return t.child(n).marks;let r=t.maybeChild(n-1),i=t.maybeChild(n);if(!r){let s=r;r=i,i=s}let o=r.marks;for(var a=0;a<o.length;a++)o[a].type.spec.inclusive===!1&&(!i||!o[a].isInSet(i.marks))&&(o=o[a--].removeFromSet(o));return o}marksAcross(t){let n=this.parent.maybeChild(this.index());if(!n||!n.isInline)return null;let r=n.marks,i=t.parent.maybeChild(t.index());for(var o=0;o<r.length;o++)r[o].type.spec.inclusive===!1&&(!i||!r[o].isInSet(i.marks))&&(r=r[o--].removeFromSet(r));return r}sharedDepth(t){for(let n=this.depth;n>0;n--)if(this.start(n)<=t&&this.end(n)>=t)return n;return 0}blockRange(t=this,n){if(t.pos<this.pos)return t.blockRange(this);for(let r=this.depth-(this.parent.inlineContent||this.pos==t.pos?1:0);r>=0;r--)if(t.pos<=this.end(r)&&(!n||n(this.node(r))))return new ix(this,t,r);return null}sameParent(t){return this.pos-this.parentOffset==t.pos-t.parentOffset}max(t){return t.pos>this.pos?t:this}min(t){return t.pos<this.pos?t:this}toString(){let t="";for(let n=1;n<=this.depth;n++)t+=(t?"/":"")+this.node(n).type.name+"_"+this.index(n-1);return t+":"+this.parentOffset}static resolve(t,n){if(!(n>=0&&n<=t.content.size))throw new RangeError("Position "+n+" out of range");let r=[],i=0,o=n;for(let a=t;;){let{index:s,offset:l}=a.content.findIndex(o),u=o-l;if(r.push(a,s,i+l),!u||(a=a.child(s),a.isText))break;o=u-1,i+=l+1}return new Um(n,r,o)}static resolveCached(t,n){let r=S7.get(t);if(r)for(let o=0;o<r.elts.length;o++){let a=r.elts[o];if(a.pos==n)return a}else S7.set(t,r=new Vde);let i=r.elts[r.i]=Um.resolve(t,n);return r.i=(r.i+1)%Dde,i}}class Vde{constructor(){this.elts=[],this.i=0}}const Dde=12,S7=new WeakMap;class ix{constructor(t,n,r){this.$from=t,this.$to=n,this.depth=r}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}}const Ude=Object.create(null);class ru{constructor(t,n,r,i=Gn.none){this.type=t,this.attrs=n,this.marks=i,this.content=r||ft.empty}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(t){return this.content.child(t)}maybeChild(t){return this.content.maybeChild(t)}forEach(t){this.content.forEach(t)}nodesBetween(t,n,r,i=0){this.content.nodesBetween(t,n,r,i,this)}descendants(t){this.nodesBetween(0,this.content.size,t)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(t,n,r,i){return this.content.textBetween(t,n,r,i)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(t){return this==t||this.sameMarkup(t)&&this.content.eq(t.content)}sameMarkup(t){return this.hasMarkup(t.type,t.attrs,t.marks)}hasMarkup(t,n,r){return this.type==t&&tx(this.attrs,n||t.defaultAttrs||Ude)&&Gn.sameSet(this.marks,r||Gn.none)}copy(t=null){return t==this.content?this:new ru(this.type,this.attrs,t,this.marks)}mark(t){return t==this.marks?this:new ru(this.type,this.attrs,this.content,t)}cut(t,n=this.content.size){return t==0&&n==this.content.size?this:this.copy(this.content.cut(t,n))}slice(t,n=this.content.size,r=!1){if(t==n)return Mt.empty;let i=this.resolve(t),o=this.resolve(n),a=r?0:i.sharedDepth(n),s=i.start(a),u=i.node(a).content.cut(i.pos-s,o.pos-s);return new Mt(u,i.depth-a,o.depth-a)}replace(t,n,r){return Xde(this.resolve(t),this.resolve(n),r)}nodeAt(t){for(let n=this;;){let{index:r,offset:i}=n.content.findIndex(t);if(n=n.maybeChild(r),!n)return null;if(i==t||n.isText)return n;t-=i+1}}childAfter(t){let{index:n,offset:r}=this.content.findIndex(t);return{node:this.content.maybeChild(n),index:n,offset:r}}childBefore(t){if(t==0)return{node:null,index:0,offset:0};let{index:n,offset:r}=this.content.findIndex(t);if(r<t)return{node:this.content.child(n),index:n,offset:r};let i=this.content.child(n-1);return{node:i,index:n-1,offset:r-i.nodeSize}}resolve(t){return Um.resolveCached(this,t)}resolveNoCache(t){return Um.resolve(this,t)}rangeHasMark(t,n,r){let i=!1;return n>t&&this.nodesBetween(t,n,o=>(r.isInSet(o.marks)&&(i=!0),!i)),i}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let t=this.type.name;return this.content.size&&(t+="("+this.content.toStringInner()+")"),CZ(this.marks,t)}contentMatchAt(t){let n=this.type.contentMatch.matchFragment(this.content,0,t);if(!n)throw new Error("Called contentMatchAt on a node with invalid content");return n}canReplace(t,n,r=ft.empty,i=0,o=r.childCount){let a=this.contentMatchAt(t).matchFragment(r,i,o),s=a&&a.matchFragment(this.content,n);if(!s||!s.validEnd)return!1;for(let l=i;l<o;l++)if(!this.type.allowsMarks(r.child(l).marks))return!1;return!0}canReplaceWith(t,n,r,i){if(i&&!this.type.allowsMarks(i))return!1;let o=this.contentMatchAt(t).matchType(r),a=o&&o.matchFragment(this.content,n);return a?a.validEnd:!1}canAppend(t){return t.content.size?this.canReplace(this.childCount,this.childCount,t.content):this.type.compatibleContent(t.type)}check(){this.type.checkContent(this.content),this.type.checkAttrs(this.attrs);let t=Gn.none;for(let n=0;n<this.marks.length;n++){let r=this.marks[n];r.type.checkAttrs(r.attrs),t=r.addToSet(t)}if(!Gn.sameSet(t,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(n=>n.type.name)}`);this.content.forEach(n=>n.check())}toJSON(){let t={type:this.type.name};for(let n in this.attrs){t.attrs=this.attrs;break}return this.content.size&&(t.content=this.content.toJSON()),this.marks.length&&(t.marks=this.marks.map(n=>n.toJSON())),t}static fromJSON(t,n){if(!n)throw new RangeError("Invalid input for Node.fromJSON");let r;if(n.marks){if(!Array.isArray(n.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=n.marks.map(t.markFromJSON)}if(n.type=="text"){if(typeof n.text!="string")throw new RangeError("Invalid text node in JSON");return t.text(n.text,r)}let i=ft.fromJSON(t,n.content),o=t.nodeType(n.type).create(n.attrs,i,r);return o.type.checkAttrs(o.attrs),o}}ru.prototype.text=void 0;class ox extends ru{constructor(t,n,r,i){if(super(t,n,null,i),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):CZ(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(t,n){return this.text.slice(t,n)}get nodeSize(){return this.text.length}mark(t){return t==this.marks?this:new ox(this.type,this.attrs,this.text,t)}withText(t){return t==this.text?this:new ox(this.type,this.attrs,t,this.marks)}cut(t=0,n=this.text.length){return t==0&&n==this.text.length?this:this.withText(this.text.slice(t,n))}eq(t){return this.sameMarkup(t)&&this.text==t.text}toJSON(){let t=super.toJSON();return t.text=this.text,t}}function CZ(e,t){for(let n=e.length-1;n>=0;n--)t=e[n].type.name+"("+t+")";return t}class Zh{constructor(t){this.validEnd=t,this.next=[],this.wrapCache=[]}static parse(t,n){let r=new Bde(t,n);if(r.next==null)return Zh.empty;let i=IZ(r);r.next&&r.err("Unexpected trailing text");let o=zde(Gde(i));return Jde(o,r),o}matchType(t){for(let n=0;n<this.next.length;n++)if(this.next[n].type==t)return this.next[n].next;return null}matchFragment(t,n=0,r=t.childCount){let i=this;for(let o=n;i&&o<r;o++)i=i.matchType(t.child(o).type);return i}get inlineContent(){return this.next.length!=0&&this.next[0].type.isInline}get defaultType(){for(let t=0;t<this.next.length;t++){let{type:n}=this.next[t];if(!(n.isText||n.hasRequiredAttrs()))return n}return null}compatible(t){for(let n=0;n<this.next.length;n++)for(let r=0;r<t.next.length;r++)if(this.next[n].type==t.next[r].type)return!0;return!1}fillBefore(t,n=!1,r=0){let i=[this];function o(a,s){let l=a.matchFragment(t,r);if(l&&(!n||l.validEnd))return ft.from(s.map(u=>u.createAndFill()));for(let u=0;u<a.next.length;u++){let{type:c,next:f}=a.next[u];if(!(c.isText||c.hasRequiredAttrs())&&i.indexOf(f)==-1){i.push(f);let d=o(f,s.concat(c));if(d)return d}}return null}return o(this,[])}findWrapping(t){for(let r=0;r<this.wrapCache.length;r+=2)if(this.wrapCache[r]==t)return this.wrapCache[r+1];let n=this.computeWrapping(t);return this.wrapCache.push(t,n),n}computeWrapping(t){let n=Object.create(null),r=[{match:this,type:null,via:null}];for(;r.length;){let i=r.shift(),o=i.match;if(o.matchType(t)){let a=[];for(let s=i;s.type;s=s.via)a.push(s.type);return a.reverse()}for(let a=0;a<o.next.length;a++){let{type:s,next:l}=o.next[a];!s.isLeaf&&!s.hasRequiredAttrs()&&!(s.name in n)&&(!i.type||l.validEnd)&&(r.push({match:s.contentMatch,type:s,via:i}),n[s.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(t){if(t>=this.next.length)throw new RangeError(`There's no ${t}th edge in this content match`);return this.next[t]}toString(){let t=[];function n(r){t.push(r);for(let i=0;i<r.next.length;i++)t.indexOf(r.next[i].next)==-1&&n(r.next[i].next)}return n(this),t.map((r,i)=>{let o=i+(r.validEnd?"*":" ")+" ";for(let a=0;a<r.next.length;a++)o+=(a?", ":"")+r.next[a].type.name+"->"+t.indexOf(r.next[a].next);return o}).join(`
|
||
`)}}Zh.empty=new Zh(!0);class Bde{constructor(t,n){this.string=t,this.nodeTypes=n,this.inline=null,this.pos=0,this.tokens=t.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(t){return this.next==t&&(this.pos++||!0)}err(t){throw new SyntaxError(t+" (in content expression '"+this.string+"')")}}function IZ(e){let t=[];do t.push(Yde(e));while(e.eat("|"));return t.length==1?t[0]:{type:"choice",exprs:t}}function Yde(e){let t=[];do t.push(Zde(e));while(e.next&&e.next!=")"&&e.next!="|");return t.length==1?t[0]:{type:"seq",exprs:t}}function Zde(e){let t=Kde(e);for(;;)if(e.eat("+"))t={type:"plus",expr:t};else if(e.eat("*"))t={type:"star",expr:t};else if(e.eat("?"))t={type:"opt",expr:t};else if(e.eat("{"))t=Qde(e,t);else break;return t}function w7(e){/\D/.test(e.next)&&e.err("Expected number, got '"+e.next+"'");let t=Number(e.next);return e.pos++,t}function Qde(e,t){let n=w7(e),r=n;return e.eat(",")&&(e.next!="}"?r=w7(e):r=-1),e.eat("}")||e.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:t}}function Hde(e,t){let n=e.nodeTypes,r=n[t];if(r)return[r];let i=[];for(let o in n){let a=n[o];a.groups.indexOf(t)>-1&&i.push(a)}return i.length==0&&e.err("No node type or group '"+t+"' found"),i}function Kde(e){if(e.eat("(")){let t=IZ(e);return e.eat(")")||e.err("Missing closing paren"),t}else if(/\W/.test(e.next))e.err("Unexpected token '"+e.next+"'");else{let t=Hde(e,e.next).map(n=>(e.inline==null?e.inline=n.isInline:e.inline!=n.isInline&&e.err("Mixing inline and block content"),{type:"name",value:n}));return e.pos++,t.length==1?t[0]:{type:"choice",exprs:t}}}function Gde(e){let t=[[]];return i(o(e,0),n()),t;function n(){return t.push([])-1}function r(a,s,l){let u={term:l,to:s};return t[a].push(u),u}function i(a,s){a.forEach(l=>l.to=s)}function o(a,s){if(a.type=="choice")return a.exprs.reduce((l,u)=>l.concat(o(u,s)),[]);if(a.type=="seq")for(let l=0;;l++){let u=o(a.exprs[l],s);if(l==a.exprs.length-1)return u;i(u,s=n())}else if(a.type=="star"){let l=n();return r(s,l),i(o(a.expr,l),l),[r(l)]}else if(a.type=="plus"){let l=n();return i(o(a.expr,s),l),i(o(a.expr,l),l),[r(l)]}else{if(a.type=="opt")return[r(s)].concat(o(a.expr,s));if(a.type=="range"){let l=s;for(let u=0;u<a.min;u++){let c=n();i(o(a.expr,l),c),l=c}if(a.max==-1)i(o(a.expr,l),l);else for(let u=a.min;u<a.max;u++){let c=n();r(l,c),i(o(a.expr,l),c),l=c}return[r(l)]}else{if(a.type=="name")return[r(s,void 0,a.value)];throw new Error("Unknown expr type")}}}}function NZ(e,t){return t-e}function M7(e,t){let n=[];return r(t),n.sort(NZ);function r(i){let o=e[i];if(o.length==1&&!o[0].term)return r(o[0].to);n.push(i);for(let a=0;a<o.length;a++){let{term:s,to:l}=o[a];!s&&n.indexOf(l)==-1&&r(l)}}}function zde(e){let t=Object.create(null);return n(M7(e,0));function n(r){let i=[];r.forEach(a=>{e[a].forEach(({term:s,to:l})=>{if(!s)return;let u;for(let c=0;c<i.length;c++)i[c][0]==s&&(u=i[c][1]);M7(e,l).forEach(c=>{u||i.push([s,u=[]]),u.indexOf(c)==-1&&u.push(c)})})});let o=t[r.join(",")]=new Zh(r.indexOf(e.length-1)>-1);for(let a=0;a<i.length;a++){let s=i[a][1].sort(NZ);o.next.push({type:i[a][0],next:t[s.join(",")]||n(s)})}return o}}function Jde(e,t){for(let n=0,r=[e];n<r.length;n++){let i=r[n],o=!i.validEnd,a=[];for(let s=0;s<i.next.length;s++){let{type:l,next:u}=i.next[s];a.push(l.name),o&&!(l.isText||l.hasRequiredAttrs())&&(o=!1),r.indexOf(u)==-1&&r.push(u)}o&&t.err("Only non-generatable nodes ("+a.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}function FZ(e){let t=Object.create(null);for(let n in e){let r=e[n];if(!r.hasDefault)return null;t[n]=r.default}return t}function EZ(e,t){let n=Object.create(null);for(let r in e){let i=t&&t[r];if(i===void 0){let o=e[r];if(o.hasDefault)i=o.default;else throw new RangeError("No value supplied for attribute "+r)}n[r]=i}return n}function XZ(e,t,n,r){for(let i in t)if(!(i in e))throw new RangeError(`Unsupported attribute ${i} for ${n} of type ${i}`);for(let i in e){let o=e[i];o.validate&&o.validate(t[i])}}function WZ(e,t){let n=Object.create(null);if(t)for(let r in t)n[r]=new jde(e,r,t[r]);return n}let L7=class VZ{constructor(t,n,r){this.name=t,this.schema=n,this.spec=r,this.markSet=null,this.groups=r.group?r.group.split(" "):[],this.attrs=WZ(t,r.attrs),this.defaultAttrs=FZ(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(r.inline||t=="text"),this.isText=t=="text"}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==Zh.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let t in this.attrs)if(this.attrs[t].isRequired)return!0;return!1}compatibleContent(t){return this==t||this.contentMatch.compatible(t.contentMatch)}computeAttrs(t){return!t&&this.defaultAttrs?this.defaultAttrs:EZ(this.attrs,t)}create(t=null,n,r){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new ru(this,this.computeAttrs(t),ft.from(n),Gn.setFrom(r))}createChecked(t=null,n,r){return n=ft.from(n),this.checkContent(n),new ru(this,this.computeAttrs(t),n,Gn.setFrom(r))}createAndFill(t=null,n,r){if(t=this.computeAttrs(t),n=ft.from(n),n.size){let a=this.contentMatch.fillBefore(n);if(!a)return null;n=a.append(n)}let i=this.contentMatch.matchFragment(n),o=i&&i.fillBefore(ft.empty,!0);return o?new ru(this,t,n.append(o),Gn.setFrom(r)):null}validContent(t){let n=this.contentMatch.matchFragment(t);if(!n||!n.validEnd)return!1;for(let r=0;r<t.childCount;r++)if(!this.allowsMarks(t.child(r).marks))return!1;return!0}checkContent(t){if(!this.validContent(t))throw new RangeError(`Invalid content for node ${this.name}: ${t.toString().slice(0,50)}`)}checkAttrs(t){XZ(this.attrs,t,"node",this.name)}allowsMarkType(t){return this.markSet==null||this.markSet.indexOf(t)>-1}allowsMarks(t){if(this.markSet==null)return!0;for(let n=0;n<t.length;n++)if(!this.allowsMarkType(t[n].type))return!1;return!0}allowedMarks(t){if(this.markSet==null)return t;let n;for(let r=0;r<t.length;r++)this.allowsMarkType(t[r].type)?n&&n.push(t[r]):n||(n=t.slice(0,r));return n?n.length?n:Gn.none:t}static compile(t,n){let r=Object.create(null);t.forEach((o,a)=>r[o]=new VZ(o,n,a));let i=n.spec.topNode||"doc";if(!r[i])throw new RangeError("Schema is missing its top node type ('"+i+"')");if(!r.text)throw new RangeError("Every schema needs a 'text' type");for(let o in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}};function $de(e,t,n){let r=n.split("|");return i=>{let o=i===null?"null":typeof i;if(r.indexOf(o)<0)throw new RangeError(`Expected value of type ${r} for attribute ${t} on type ${e}, got ${o}`)}}class jde{constructor(t,n,r){this.hasDefault=Object.prototype.hasOwnProperty.call(r,"default"),this.default=r.default,this.validate=typeof r.validate=="string"?$de(t,n,r.validate):r.validate}get isRequired(){return!this.hasDefault}}class BS{constructor(t,n,r,i){this.name=t,this.rank=n,this.schema=r,this.spec=i,this.attrs=WZ(t,i.attrs),this.excluded=null;let o=FZ(this.attrs);this.instance=o?new Gn(this,o):null}create(t=null){return!t&&this.instance?this.instance:new Gn(this,EZ(this.attrs,t))}static compile(t,n){let r=Object.create(null),i=0;return t.forEach((o,a)=>r[o]=new BS(o,i++,n,a)),r}removeFromSet(t){for(var n=0;n<t.length;n++)t[n].type==this&&(t=t.slice(0,n).concat(t.slice(n+1)),n--);return t}isInSet(t){for(let n=0;n<t.length;n++)if(t[n].type==this)return t[n]}checkAttrs(t){XZ(this.attrs,t,"mark",this.name)}excludes(t){return this.excluded.indexOf(t)>-1}}class DZ{constructor(t){this.linebreakReplacement=null,this.cached=Object.create(null);let n=this.spec={};for(let i in t)n[i]=t[i];n.nodes=Wi.from(t.nodes),n.marks=Wi.from(t.marks||{}),this.nodes=L7.compile(this.spec.nodes,this),this.marks=BS.compile(this.spec.marks,this);let r=Object.create(null);for(let i in this.nodes){if(i in this.marks)throw new RangeError(i+" can not be both a node and a mark");let o=this.nodes[i],a=o.spec.content||"",s=o.spec.marks;if(o.contentMatch=r[a]||(r[a]=Zh.parse(a,this.nodes)),o.inlineContent=o.contentMatch.inlineContent,o.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!o.isInline||!o.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=o}o.markSet=s=="_"?null:s?T7(this,s.split(" ")):s==""||!o.inlineContent?[]:null}for(let i in this.marks){let o=this.marks[i],a=o.spec.excludes;o.excluded=a==null?[o]:a==""?[]:T7(this,a.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(t,n=null,r,i){if(typeof t=="string")t=this.nodeType(t);else if(t instanceof L7){if(t.schema!=this)throw new RangeError("Node type from different schema used ("+t.name+")")}else throw new RangeError("Invalid node type: "+t);return t.createChecked(n,r,i)}text(t,n){let r=this.nodes.text;return new ox(r,r.defaultAttrs,t,Gn.setFrom(n))}mark(t,n){return typeof t=="string"&&(t=this.marks[t]),t.create(n)}nodeFromJSON(t){return ru.fromJSON(this,t)}markFromJSON(t){return Gn.fromJSON(this,t)}nodeType(t){let n=this.nodes[t];if(!n)throw new RangeError("Unknown node type: "+t);return n}}function T7(e,t){let n=[];for(let r=0;r<t.length;r++){let i=t[r],o=e.marks[i],a=o;if(o)n.push(o);else for(let s in e.marks){let l=e.marks[s];(i=="_"||l.spec.group&&l.spec.group.split(" ").indexOf(i)>-1)&&n.push(a=l)}if(!a)throw new SyntaxError("Unknown mark type: '"+t[r]+"'")}return n}function qde(e){return e.tag!=null}function ehe(e){return e.style!=null}let yO=class K8{constructor(t,n){this.schema=t,this.rules=n,this.tags=[],this.styles=[];let r=this.matchedStyles=[];n.forEach(i=>{if(qde(i))this.tags.push(i);else if(ehe(i)){let o=/[^=]*/.exec(i.style)[0];r.indexOf(o)<0&&r.push(o),this.styles.push(i)}}),this.normalizeLists=!this.tags.some(i=>{if(!/^(ul|ol)\b/.test(i.tag)||!i.node)return!1;let o=t.nodes[i.node];return o.contentMatch.matchType(o)})}parse(t,n={}){let r=new O7(this,n,!1);return r.addAll(t,n.from,n.to),r.finish()}parseSlice(t,n={}){let r=new O7(this,n,!0);return r.addAll(t,n.from,n.to),Mt.maxOpen(r.finish())}matchTag(t,n,r){for(let i=r?this.tags.indexOf(r)+1:0;i<this.tags.length;i++){let o=this.tags[i];if(rhe(t,o.tag)&&(o.namespace===void 0||t.namespaceURI==o.namespace)&&(!o.context||n.matchesContext(o.context))){if(o.getAttrs){let a=o.getAttrs(t);if(a===!1)continue;o.attrs=a||void 0}return o}}}matchStyle(t,n,r,i){for(let o=i?this.styles.indexOf(i)+1:0;o<this.styles.length;o++){let a=this.styles[o],s=a.style;if(!(s.indexOf(t)!=0||a.context&&!r.matchesContext(a.context)||s.length>t.length&&(s.charCodeAt(t.length)!=61||s.slice(t.length+1)!=n))){if(a.getAttrs){let l=a.getAttrs(n);if(l===!1)continue;a.attrs=l||void 0}return a}}}static schemaRules(t){let n=[];function r(i){let o=i.priority==null?50:i.priority,a=0;for(;a<n.length;a++){let s=n[a];if((s.priority==null?50:s.priority)<o)break}n.splice(a,0,i)}for(let i in t.marks){let o=t.marks[i].spec.parseDOM;o&&o.forEach(a=>{r(a=k7(a)),a.mark||a.ignore||a.clearMark||(a.mark=i)})}for(let i in t.nodes){let o=t.nodes[i].spec.parseDOM;o&&o.forEach(a=>{r(a=k7(a)),a.node||a.ignore||a.mark||(a.node=i)})}return n}static fromSchema(t){return t.cached.domParser||(t.cached.domParser=new K8(t,K8.schemaRules(t)))}};const UZ={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},the={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},BZ={ol:!0,ul:!0},ax=1,sx=2,Kg=4;function _7(e,t,n){return t!=null?(t?ax:0)|(t==="full"?sx:0):e&&e.whitespace=="pre"?ax|sx:n&~Kg}class MA{constructor(t,n,r,i,o,a,s){this.type=t,this.attrs=n,this.marks=r,this.pendingMarks=i,this.solid=o,this.options=s,this.content=[],this.activeMarks=Gn.none,this.stashMarks=[],this.match=a||(s&Kg?null:t.contentMatch)}findWrapping(t){if(!this.match){if(!this.type)return[];let n=this.type.contentMatch.fillBefore(ft.from(t));if(n)this.match=this.type.contentMatch.matchFragment(n);else{let r=this.type.contentMatch,i;return(i=r.findWrapping(t.type))?(this.match=r,i):null}}return this.match.findWrapping(t.type)}finish(t){if(!(this.options&ax)){let r=this.content[this.content.length-1],i;if(r&&r.isText&&(i=/[ \t\r\n\u000c]+$/.exec(r.text))){let o=r;r.text.length==i[0].length?this.content.pop():this.content[this.content.length-1]=o.withText(o.text.slice(0,o.text.length-i[0].length))}}let n=ft.from(this.content);return!t&&this.match&&(n=n.append(this.match.fillBefore(ft.empty,!0))),this.type?this.type.create(this.attrs,n,this.marks):n}popFromStashMark(t){for(let n=this.stashMarks.length-1;n>=0;n--)if(t.eq(this.stashMarks[n]))return this.stashMarks.splice(n,1)[0]}applyPending(t){for(let n=0,r=this.pendingMarks;n<r.length;n++){let i=r[n];(this.type?this.type.allowsMarkType(i.type):ihe(i.type,t))&&!i.isInSet(this.activeMarks)&&(this.activeMarks=i.addToSet(this.activeMarks),this.pendingMarks=i.removeFromSet(this.pendingMarks))}}inlineContext(t){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:t.parentNode&&!UZ.hasOwnProperty(t.parentNode.nodeName.toLowerCase())}}class O7{constructor(t,n,r){this.parser=t,this.options=n,this.isOpen=r,this.open=0;let i=n.topNode,o,a=_7(null,n.preserveWhitespace,0)|(r?Kg:0);i?o=new MA(i.type,i.attrs,Gn.none,Gn.none,!0,n.topMatch||i.type.contentMatch,a):r?o=new MA(null,null,Gn.none,Gn.none,!0,null,a):o=new MA(t.schema.topNodeType,null,Gn.none,Gn.none,!0,null,a),this.nodes=[o],this.find=n.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(t){t.nodeType==3?this.addTextNode(t):t.nodeType==1&&this.addElement(t)}withStyleRules(t,n){let r=t.style;if(!r||!r.length)return n();let i=this.readStyles(t.style);if(!i)return;let[o,a]=i,s=this.top;for(let l=0;l<a.length;l++)this.removePendingMark(a[l],s);for(let l=0;l<o.length;l++)this.addPendingMark(o[l]);n();for(let l=0;l<o.length;l++)this.removePendingMark(o[l],s);for(let l=0;l<a.length;l++)this.addPendingMark(a[l])}addTextNode(t){let n=t.nodeValue,r=this.top;if(r.options&sx||r.inlineContext(t)||/[^ \t\r\n\u000c]/.test(n)){if(r.options&ax)r.options&sx?n=n.replace(/\r\n?/g,`
|
||
`):n=n.replace(/\r?\n|\r/g," ");else if(n=n.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(n)&&this.open==this.nodes.length-1){let i=r.content[r.content.length-1],o=t.previousSibling;(!i||o&&o.nodeName=="BR"||i.isText&&/[ \t\r\n\u000c]$/.test(i.text))&&(n=n.slice(1))}n&&this.insertNode(this.parser.schema.text(n)),this.findInText(t)}else this.findInside(t)}addElement(t,n){let r=t.nodeName.toLowerCase(),i;BZ.hasOwnProperty(r)&&this.parser.normalizeLists&&nhe(t);let o=this.options.ruleFromNode&&this.options.ruleFromNode(t)||(i=this.parser.matchTag(t,this,n));if(o?o.ignore:the.hasOwnProperty(r))this.findInside(t),this.ignoreFallback(t);else if(!o||o.skip||o.closeParent){o&&o.closeParent?this.open=Math.max(0,this.open-1):o&&o.skip.nodeType&&(t=o.skip);let a,s=this.top,l=this.needsBlock;if(UZ.hasOwnProperty(r))s.content.length&&s.content[0].isInline&&this.open&&(this.open--,s=this.top),a=!0,s.type||(this.needsBlock=!0);else if(!t.firstChild){this.leafFallback(t);return}o&&o.skip?this.addAll(t):this.withStyleRules(t,()=>this.addAll(t)),a&&this.sync(s),this.needsBlock=l}else this.withStyleRules(t,()=>{this.addElementByRule(t,o,o.consuming===!1?i:void 0)})}leafFallback(t){t.nodeName=="BR"&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(t.ownerDocument.createTextNode(`
|
||
`))}ignoreFallback(t){t.nodeName=="BR"&&(!this.top.type||!this.top.type.inlineContent)&&this.findPlace(this.parser.schema.text("-"))}readStyles(t){let n=Gn.none,r=Gn.none;if(t.length)for(let i=0;i<this.parser.matchedStyles.length;i++){let o=this.parser.matchedStyles[i],a=t.getPropertyValue(o);if(a)for(let s=void 0;;){let l=this.parser.matchStyle(o,a,this,s);if(!l)break;if(l.ignore)return null;if(l.clearMark?this.top.pendingMarks.concat(this.top.activeMarks).forEach(u=>{l.clearMark(u)&&(r=u.addToSet(r))}):n=this.parser.schema.marks[l.mark].create(l.attrs).addToSet(n),l.consuming===!1)s=l;else break}}return[n,r]}addElementByRule(t,n,r){let i,o,a;n.node?(o=this.parser.schema.nodes[n.node],o.isLeaf?this.insertNode(o.create(n.attrs))||this.leafFallback(t):i=this.enter(o,n.attrs||null,n.preserveWhitespace)):(a=this.parser.schema.marks[n.mark].create(n.attrs),this.addPendingMark(a));let s=this.top;if(o&&o.isLeaf)this.findInside(t);else if(r)this.addElement(t,r);else if(n.getContent)this.findInside(t),n.getContent(t,this.parser.schema).forEach(l=>this.insertNode(l));else{let l=t;typeof n.contentElement=="string"?l=t.querySelector(n.contentElement):typeof n.contentElement=="function"?l=n.contentElement(t):n.contentElement&&(l=n.contentElement),this.findAround(t,l,!0),this.addAll(l)}i&&this.sync(s)&&this.open--,a&&this.removePendingMark(a,s)}addAll(t,n,r){let i=n||0;for(let o=n?t.childNodes[n]:t.firstChild,a=r==null?null:t.childNodes[r];o!=a;o=o.nextSibling,++i)this.findAtPoint(t,i),this.addDOM(o);this.findAtPoint(t,i)}findPlace(t){let n,r;for(let i=this.open;i>=0;i--){let o=this.nodes[i],a=o.findWrapping(t);if(a&&(!n||n.length>a.length)&&(n=a,r=o,!a.length)||o.solid)break}if(!n)return!1;this.sync(r);for(let i=0;i<n.length;i++)this.enterInner(n[i],null,!1);return!0}insertNode(t){if(t.isInline&&this.needsBlock&&!this.top.type){let n=this.textblockFromContext();n&&this.enterInner(n)}if(this.findPlace(t)){this.closeExtra();let n=this.top;n.applyPending(t.type),n.match&&(n.match=n.match.matchType(t.type));let r=n.activeMarks;for(let i=0;i<t.marks.length;i++)(!n.type||n.type.allowsMarkType(t.marks[i].type))&&(r=t.marks[i].addToSet(r));return n.content.push(t.mark(r)),!0}return!1}enter(t,n,r){let i=this.findPlace(t.create(n));return i&&this.enterInner(t,n,!0,r),i}enterInner(t,n=null,r=!1,i){this.closeExtra();let o=this.top;o.applyPending(t),o.match=o.match&&o.match.matchType(t);let a=_7(t,i,o.options);o.options&Kg&&o.content.length==0&&(a|=Kg),this.nodes.push(new MA(t,n,o.activeMarks,o.pendingMarks,r,null,a)),this.open++}closeExtra(t=!1){let n=this.nodes.length-1;if(n>this.open){for(;n>this.open;n--)this.nodes[n-1].content.push(this.nodes[n].finish(t));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)}sync(t){for(let n=this.open;n>=0;n--)if(this.nodes[n]==t)return this.open=n,!0;return!1}get currentPos(){this.closeExtra();let t=0;for(let n=this.open;n>=0;n--){let r=this.nodes[n].content;for(let i=r.length-1;i>=0;i--)t+=r[i].nodeSize;n&&t++}return t}findAtPoint(t,n){if(this.find)for(let r=0;r<this.find.length;r++)this.find[r].node==t&&this.find[r].offset==n&&(this.find[r].pos=this.currentPos)}findInside(t){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].pos==null&&t.nodeType==1&&t.contains(this.find[n].node)&&(this.find[n].pos=this.currentPos)}findAround(t,n,r){if(t!=n&&this.find)for(let i=0;i<this.find.length;i++)this.find[i].pos==null&&t.nodeType==1&&t.contains(this.find[i].node)&&n.compareDocumentPosition(this.find[i].node)&(r?2:4)&&(this.find[i].pos=this.currentPos)}findInText(t){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].node==t&&(this.find[n].pos=this.currentPos-(t.nodeValue.length-this.find[n].offset))}matchesContext(t){if(t.indexOf("|")>-1)return t.split(/\s*\|\s*/).some(this.matchesContext,this);let n=t.split("/"),r=this.options.context,i=!this.isOpen&&(!r||r.parent.type==this.nodes[0].type),o=-(r?r.depth+1:0)+(i?0:1),a=(s,l)=>{for(;s>=0;s--){let u=n[s];if(u==""){if(s==n.length-1||s==0)continue;for(;l>=o;l--)if(a(s-1,l))return!0;return!1}else{let c=l>0||l==0&&i?this.nodes[l].type:r&&l>=o?r.node(l-o).type:null;if(!c||c.name!=u&&c.groups.indexOf(u)==-1)return!1;l--}}return!0};return a(n.length-1,this.open)}textblockFromContext(){let t=this.options.context;if(t)for(let n=t.depth;n>=0;n--){let r=t.node(n).contentMatchAt(t.indexAfter(n)).defaultType;if(r&&r.isTextblock&&r.defaultAttrs)return r}for(let n in this.parser.schema.nodes){let r=this.parser.schema.nodes[n];if(r.isTextblock&&r.defaultAttrs)return r}}addPendingMark(t){let n=ohe(t,this.top.pendingMarks);n&&this.top.stashMarks.push(n),this.top.pendingMarks=t.addToSet(this.top.pendingMarks)}removePendingMark(t,n){for(let r=this.open;r>=0;r--){let i=this.nodes[r];if(i.pendingMarks.lastIndexOf(t)>-1)i.pendingMarks=t.removeFromSet(i.pendingMarks);else{i.activeMarks=t.removeFromSet(i.activeMarks);let a=i.popFromStashMark(t);a&&i.type&&i.type.allowsMarkType(a.type)&&(i.activeMarks=a.addToSet(i.activeMarks))}if(i==n)break}}}function nhe(e){for(let t=e.firstChild,n=null;t;t=t.nextSibling){let r=t.nodeType==1?t.nodeName.toLowerCase():null;r&&BZ.hasOwnProperty(r)&&n?(n.appendChild(t),t=n):r=="li"?n=t:r&&(n=null)}}function rhe(e,t){return(e.matches||e.msMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector).call(e,t)}function k7(e){let t={};for(let n in e)t[n]=e[n];return t}function ihe(e,t){let n=t.schema.nodes;for(let r in n){let i=n[r];if(!i.allowsMarkType(e))continue;let o=[],a=s=>{o.push(s);for(let l=0;l<s.edgeCount;l++){let{type:u,next:c}=s.edge(l);if(u==t||o.indexOf(c)<0&&a(c))return!0}};if(a(i.contentMatch))return!0}}function ohe(e,t){for(let n=0;n<t.length;n++)if(e.eq(t[n]))return t[n]}class Vv{constructor(t,n){this.nodes=t,this.marks=n}serializeFragment(t,n={},r){r||(r=Uw(n).createDocumentFragment());let i=r,o=[];return t.forEach(a=>{if(o.length||a.marks.length){let s=0,l=0;for(;s<o.length&&l<a.marks.length;){let u=a.marks[l];if(!this.marks[u.type.name]){l++;continue}if(!u.eq(o[s][0])||u.type.spec.spanning===!1)break;s++,l++}for(;s<o.length;)i=o.pop()[1];for(;l<a.marks.length;){let u=a.marks[l++],c=this.serializeMark(u,a.isInline,n);c&&(o.push([u,i]),i.appendChild(c.dom),i=c.contentDOM||c.dom)}}i.appendChild(this.serializeNodeInner(a,n))}),r}serializeNodeInner(t,n){let{dom:r,contentDOM:i}=zR(Uw(n),this.nodes[t.type.name](t),null,t.attrs);if(i){if(t.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(t.content,n,i)}return r}serializeNode(t,n={}){let r=this.serializeNodeInner(t,n);for(let i=t.marks.length-1;i>=0;i--){let o=this.serializeMark(t.marks[i],t.isInline,n);o&&((o.contentDOM||o.dom).appendChild(r),r=o.dom)}return r}serializeMark(t,n,r={}){let i=this.marks[t.type.name];return i&&zR(Uw(r),i(t,n),null,t.attrs)}static renderSpec(t,n,r=null,i){return zR(t,n,r,i)}static fromSchema(t){return t.cached.domSerializer||(t.cached.domSerializer=new Vv(this.nodesFromSchema(t),this.marksFromSchema(t)))}static nodesFromSchema(t){let n=P7(t.nodes);return n.text||(n.text=r=>r.text),n}static marksFromSchema(t){return P7(t.marks)}}function P7(e){let t={};for(let n in e){let r=e[n].spec.toDOM;r&&(t[n]=r)}return t}function Uw(e){return e.document||window.document}const C7=new WeakMap;function ahe(e){let t=C7.get(e);return t===void 0&&C7.set(e,t=she(e)),t}function she(e){let t=null;function n(r){if(r&&typeof r=="object")if(Array.isArray(r))if(typeof r[0]=="string")t||(t=[]),t.push(r);else for(let i=0;i<r.length;i++)n(r[i]);else for(let i in r)n(r[i])}return n(e),t}function zR(e,t,n,r){if(typeof t=="string")return{dom:e.createTextNode(t)};if(t.nodeType!=null)return{dom:t};if(t.dom&&t.dom.nodeType!=null)return t;let i=t[0],o;if(typeof i!="string")throw new RangeError("Invalid array passed to renderSpec");if(r&&(o=ahe(r))&&o.indexOf(t)>-1)throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let a=i.indexOf(" ");a>0&&(n=i.slice(0,a),i=i.slice(a+1));let s,l=n?e.createElementNS(n,i):e.createElement(i),u=t[1],c=1;if(u&&typeof u=="object"&&u.nodeType==null&&!Array.isArray(u)){c=2;for(let f in u)if(u[f]!=null){let d=f.indexOf(" ");d>0?l.setAttributeNS(f.slice(0,d),f.slice(d+1),u[f]):l.setAttribute(f,u[f])}}for(let f=c;f<t.length;f++){let d=t[f];if(d===0){if(f<t.length-1||f>c)throw new RangeError("Content hole must be the only child of its parent node");return{dom:l,contentDOM:l}}else{let{dom:h,contentDOM:p}=zR(e,d,n,r);if(l.appendChild(h),p){if(s)throw new RangeError("Multiple content holes");s=p}}}return{dom:l,contentDOM:s}}const YZ=65535,ZZ=Math.pow(2,16);function lhe(e,t){return e+t*ZZ}function I7(e){return e&YZ}function uhe(e){return(e-(e&YZ))/ZZ}const QZ=1,HZ=2,JR=4,KZ=8;class G8{constructor(t,n,r){this.pos=t,this.delInfo=n,this.recover=r}get deleted(){return(this.delInfo&KZ)>0}get deletedBefore(){return(this.delInfo&(QZ|JR))>0}get deletedAfter(){return(this.delInfo&(HZ|JR))>0}get deletedAcross(){return(this.delInfo&JR)>0}}class Na{constructor(t,n=!1){if(this.ranges=t,this.inverted=n,!t.length&&Na.empty)return Na.empty}recover(t){let n=0,r=I7(t);if(!this.inverted)for(let i=0;i<r;i++)n+=this.ranges[i*3+2]-this.ranges[i*3+1];return this.ranges[r*3]+n+uhe(t)}mapResult(t,n=1){return this._map(t,n,!1)}map(t,n=1){return this._map(t,n,!0)}_map(t,n,r){let i=0,o=this.inverted?2:1,a=this.inverted?1:2;for(let s=0;s<this.ranges.length;s+=3){let l=this.ranges[s]-(this.inverted?i:0);if(l>t)break;let u=this.ranges[s+o],c=this.ranges[s+a],f=l+u;if(t<=f){let d=u?t==l?-1:t==f?1:n:n,h=l+i+(d<0?0:c);if(r)return h;let p=t==(n<0?l:f)?null:lhe(s/3,t-l),v=t==l?HZ:t==f?QZ:JR;return(n<0?t!=l:t!=f)&&(v|=KZ),new G8(h,v,p)}i+=c-u}return r?t+i:new G8(t+i,0,null)}touches(t,n){let r=0,i=I7(n),o=this.inverted?2:1,a=this.inverted?1:2;for(let s=0;s<this.ranges.length;s+=3){let l=this.ranges[s]-(this.inverted?r:0);if(l>t)break;let u=this.ranges[s+o],c=l+u;if(t<=c&&s==i*3)return!0;r+=this.ranges[s+a]-u}return!1}forEach(t){let n=this.inverted?2:1,r=this.inverted?1:2;for(let i=0,o=0;i<this.ranges.length;i+=3){let a=this.ranges[i],s=a-(this.inverted?o:0),l=a+(this.inverted?0:o),u=this.ranges[i+n],c=this.ranges[i+r];t(s,s+u,l,l+c),o+=c-u}}invert(){return new Na(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(t){return t==0?Na.empty:new Na(t<0?[0,-t,0]:[0,0,t])}}Na.empty=new Na([]);class zp{constructor(t=[],n,r=0,i=t.length){this.maps=t,this.mirror=n,this.from=r,this.to=i}slice(t=0,n=this.maps.length){return new zp(this.maps,this.mirror,t,n)}copy(){return new zp(this.maps.slice(),this.mirror&&this.mirror.slice(),this.from,this.to)}appendMap(t,n){this.to=this.maps.push(t),n!=null&&this.setMirror(this.maps.length-1,n)}appendMapping(t){for(let n=0,r=this.maps.length;n<t.maps.length;n++){let i=t.getMirror(n);this.appendMap(t.maps[n],i!=null&&i<n?r+i:void 0)}}getMirror(t){if(this.mirror){for(let n=0;n<this.mirror.length;n++)if(this.mirror[n]==t)return this.mirror[n+(n%2?-1:1)]}}setMirror(t,n){this.mirror||(this.mirror=[]),this.mirror.push(t,n)}appendMappingInverted(t){for(let n=t.maps.length-1,r=this.maps.length+t.maps.length;n>=0;n--){let i=t.getMirror(n);this.appendMap(t.maps[n].invert(),i!=null&&i>n?r-i-1:void 0)}}invert(){let t=new zp;return t.appendMappingInverted(this),t}map(t,n=1){if(this.mirror)return this._map(t,n,!0);for(let r=this.from;r<this.to;r++)t=this.maps[r].map(t,n);return t}mapResult(t,n=1){return this._map(t,n,!1)}_map(t,n,r){let i=0;for(let o=this.from;o<this.to;o++){let a=this.maps[o],s=a.mapResult(t,n);if(s.recover!=null){let l=this.getMirror(o);if(l!=null&&l>o&&l<this.to){o=l,t=this.maps[l].recover(s.recover);continue}}i|=s.delInfo,t=s.pos}return r?t:new G8(t,i,null)}}const Bw=Object.create(null);class mo{getMap(){return Na.empty}merge(t){return null}static fromJSON(t,n){if(!n||!n.stepType)throw new RangeError("Invalid input for Step.fromJSON");let r=Bw[n.stepType];if(!r)throw new RangeError(`No step type ${n.stepType} defined`);return r.fromJSON(t,n)}static jsonID(t,n){if(t in Bw)throw new RangeError("Duplicate use of step JSON ID "+t);return Bw[t]=n,n.prototype.jsonID=t,n}}class li{constructor(t,n){this.doc=t,this.failed=n}static ok(t){return new li(t,null)}static fail(t){return new li(null,t)}static fromReplace(t,n,r,i){try{return li.ok(t.replace(n,r,i))}catch(o){if(o instanceof nx)return li.fail(o.message);throw o}}}function AO(e,t,n){let r=[];for(let i=0;i<e.childCount;i++){let o=e.child(i);o.content.size&&(o=o.copy(AO(o.content,t,o))),o.isInline&&(o=t(o,n,i)),r.push(o)}return ft.fromArray(r)}class Af extends mo{constructor(t,n,r){super(),this.from=t,this.to=n,this.mark=r}apply(t){let n=t.slice(this.from,this.to),r=t.resolve(this.from),i=r.node(r.sharedDepth(this.to)),o=new Mt(AO(n.content,(a,s)=>!a.isAtom||!s.type.allowsMarkType(this.mark.type)?a:a.mark(this.mark.addToSet(a.marks)),i),n.openStart,n.openEnd);return li.fromReplace(t,this.from,this.to,o)}invert(){return new ql(this.from,this.to,this.mark)}map(t){let n=t.mapResult(this.from,1),r=t.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new Af(n.pos,r.pos,this.mark)}merge(t){return t instanceof Af&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new Af(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new Af(n.from,n.to,t.markFromJSON(n.mark))}}mo.jsonID("addMark",Af);class ql extends mo{constructor(t,n,r){super(),this.from=t,this.to=n,this.mark=r}apply(t){let n=t.slice(this.from,this.to),r=new Mt(AO(n.content,i=>i.mark(this.mark.removeFromSet(i.marks)),t),n.openStart,n.openEnd);return li.fromReplace(t,this.from,this.to,r)}invert(){return new Af(this.from,this.to,this.mark)}map(t){let n=t.mapResult(this.from,1),r=t.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new ql(n.pos,r.pos,this.mark)}merge(t){return t instanceof ql&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new ql(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new ql(n.from,n.to,t.markFromJSON(n.mark))}}mo.jsonID("removeMark",ql);class Rf extends mo{constructor(t,n){super(),this.pos=t,this.mark=n}apply(t){let n=t.nodeAt(this.pos);if(!n)return li.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.addToSet(n.marks));return li.fromReplace(t,this.pos,this.pos+1,new Mt(ft.from(r),0,n.isLeaf?0:1))}invert(t){let n=t.nodeAt(this.pos);if(n){let r=this.mark.addToSet(n.marks);if(r.length==n.marks.length){for(let i=0;i<n.marks.length;i++)if(!n.marks[i].isInSet(r))return new Rf(this.pos,n.marks[i]);return new Rf(this.pos,this.mark)}}return new gv(this.pos,this.mark)}map(t){let n=t.mapResult(this.pos,1);return n.deletedAfter?null:new Rf(n.pos,this.mark)}toJSON(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(t,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new Rf(n.pos,t.markFromJSON(n.mark))}}mo.jsonID("addNodeMark",Rf);class gv extends mo{constructor(t,n){super(),this.pos=t,this.mark=n}apply(t){let n=t.nodeAt(this.pos);if(!n)return li.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.removeFromSet(n.marks));return li.fromReplace(t,this.pos,this.pos+1,new Mt(ft.from(r),0,n.isLeaf?0:1))}invert(t){let n=t.nodeAt(this.pos);return!n||!this.mark.isInSet(n.marks)?this:new Rf(this.pos,this.mark)}map(t){let n=t.mapResult(this.pos,1);return n.deletedAfter?null:new gv(n.pos,this.mark)}toJSON(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(t,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new gv(n.pos,t.markFromJSON(n.mark))}}mo.jsonID("removeNodeMark",gv);class oo extends mo{constructor(t,n,r,i=!1){super(),this.from=t,this.to=n,this.slice=r,this.structure=i}apply(t){return this.structure&&z8(t,this.from,this.to)?li.fail("Structure replace would overwrite content"):li.fromReplace(t,this.from,this.to,this.slice)}getMap(){return new Na([this.from,this.to-this.from,this.slice.size])}invert(t){return new oo(this.from,this.from+this.slice.size,t.slice(this.from,this.to))}map(t){let n=t.mapResult(this.from,1),r=t.mapResult(this.to,-1);return n.deletedAcross&&r.deletedAcross?null:new oo(n.pos,Math.max(n.pos,r.pos),this.slice)}merge(t){if(!(t instanceof oo)||t.structure||this.structure)return null;if(this.from+this.slice.size==t.from&&!this.slice.openEnd&&!t.slice.openStart){let n=this.slice.size+t.slice.size==0?Mt.empty:new Mt(this.slice.content.append(t.slice.content),this.slice.openStart,t.slice.openEnd);return new oo(this.from,this.to+(t.to-t.from),n,this.structure)}else if(t.to==this.from&&!this.slice.openStart&&!t.slice.openEnd){let n=this.slice.size+t.slice.size==0?Mt.empty:new Mt(t.slice.content.append(this.slice.content),t.slice.openStart,this.slice.openEnd);return new oo(t.from,this.to,n,this.structure)}else return null}toJSON(){let t={stepType:"replace",from:this.from,to:this.to};return this.slice.size&&(t.slice=this.slice.toJSON()),this.structure&&(t.structure=!0),t}static fromJSON(t,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new oo(n.from,n.to,Mt.fromJSON(t,n.slice),!!n.structure)}}mo.jsonID("replace",oo);class Gi extends mo{constructor(t,n,r,i,o,a,s=!1){super(),this.from=t,this.to=n,this.gapFrom=r,this.gapTo=i,this.slice=o,this.insert=a,this.structure=s}apply(t){if(this.structure&&(z8(t,this.from,this.gapFrom)||z8(t,this.gapTo,this.to)))return li.fail("Structure gap-replace would overwrite content");let n=t.slice(this.gapFrom,this.gapTo);if(n.openStart||n.openEnd)return li.fail("Gap is not a flat range");let r=this.slice.insertAt(this.insert,n.content);return r?li.fromReplace(t,this.from,this.to,r):li.fail("Content does not fit in gap")}getMap(){return new Na([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(t){let n=this.gapTo-this.gapFrom;return new Gi(this.from,this.from+this.slice.size+n,this.from+this.insert,this.from+this.insert+n,t.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(t){let n=t.mapResult(this.from,1),r=t.mapResult(this.to,-1),i=t.map(this.gapFrom,-1),o=t.map(this.gapTo,1);return n.deletedAcross&&r.deletedAcross||i<n.pos||o>r.pos?null:new Gi(n.pos,r.pos,i,o,this.slice,this.insert,this.structure)}toJSON(){let t={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(t.slice=this.slice.toJSON()),this.structure&&(t.structure=!0),t}static fromJSON(t,n){if(typeof n.from!="number"||typeof n.to!="number"||typeof n.gapFrom!="number"||typeof n.gapTo!="number"||typeof n.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new Gi(n.from,n.to,n.gapFrom,n.gapTo,Mt.fromJSON(t,n.slice),n.insert,!!n.structure)}}mo.jsonID("replaceAround",Gi);function z8(e,t,n){let r=e.resolve(t),i=n-t,o=r.depth;for(;i>0&&o>0&&r.indexAfter(o)==r.node(o).childCount;)o--,i--;if(i>0){let a=r.node(o).maybeChild(r.indexAfter(o));for(;i>0;){if(!a||a.isLeaf)return!0;a=a.firstChild,i--}}return!1}function che(e,t,n,r){let i=[],o=[],a,s;e.doc.nodesBetween(t,n,(l,u,c)=>{if(!l.isInline)return;let f=l.marks;if(!r.isInSet(f)&&c.type.allowsMarkType(r.type)){let d=Math.max(u,t),h=Math.min(u+l.nodeSize,n),p=r.addToSet(f);for(let v=0;v<f.length;v++)f[v].isInSet(p)||(a&&a.to==d&&a.mark.eq(f[v])?a.to=h:i.push(a=new ql(d,h,f[v])));s&&s.to==d?s.to=h:o.push(s=new Af(d,h,r))}}),i.forEach(l=>e.step(l)),o.forEach(l=>e.step(l))}function fhe(e,t,n,r){let i=[],o=0;e.doc.nodesBetween(t,n,(a,s)=>{if(!a.isInline)return;o++;let l=null;if(r instanceof BS){let u=a.marks,c;for(;c=r.isInSet(u);)(l||(l=[])).push(c),u=c.removeFromSet(u)}else r?r.isInSet(a.marks)&&(l=[r]):l=a.marks;if(l&&l.length){let u=Math.min(s+a.nodeSize,n);for(let c=0;c<l.length;c++){let f=l[c],d;for(let h=0;h<i.length;h++){let p=i[h];p.step==o-1&&f.eq(i[h].style)&&(d=p)}d?(d.to=u,d.step=o):i.push({style:f,from:Math.max(s,t),to:u,step:o})}}}),i.forEach(a=>e.step(new ql(a.from,a.to,a.style)))}function dhe(e,t,n,r=n.contentMatch){let i=e.doc.nodeAt(t),o=[],a=t+1;for(let s=0;s<i.childCount;s++){let l=i.child(s),u=a+l.nodeSize,c=r.matchType(l.type);if(!c)o.push(new oo(a,u,Mt.empty));else{r=c;for(let f=0;f<l.marks.length;f++)n.allowsMarkType(l.marks[f].type)||e.step(new ql(a,u,l.marks[f]));if(l.isText&&!n.spec.code){let f,d=/\r?\n|\r/g,h;for(;f=d.exec(l.text);)h||(h=new Mt(ft.from(n.schema.text(" ",n.allowedMarks(l.marks))),0,0)),o.push(new oo(a+f.index,a+f.index+f[0].length,h))}}a=u}if(!r.validEnd){let s=r.fillBefore(ft.empty,!0);e.replace(a,a,new Mt(s,0,0))}for(let s=o.length-1;s>=0;s--)e.step(o[s])}function hhe(e,t,n){return(t==0||e.canReplace(t,e.childCount))&&(n==e.childCount||e.canReplace(0,n))}function E2(e){let n=e.parent.content.cutByIndex(e.startIndex,e.endIndex);for(let r=e.depth;;--r){let i=e.$from.node(r),o=e.$from.index(r),a=e.$to.indexAfter(r);if(r<e.depth&&i.canReplace(o,a,n))return r;if(r==0||i.type.spec.isolating||!hhe(i,o,a))break}return null}function phe(e,t,n){let{$from:r,$to:i,depth:o}=t,a=r.before(o+1),s=i.after(o+1),l=a,u=s,c=ft.empty,f=0;for(let p=o,v=!1;p>n;p--)v||r.index(p)>0?(v=!0,c=ft.from(r.node(p).copy(c)),f++):l--;let d=ft.empty,h=0;for(let p=o,v=!1;p>n;p--)v||i.after(p+1)<i.end(p)?(v=!0,d=ft.from(i.node(p).copy(d)),h++):u++;e.step(new Gi(l,u,a,s,new Mt(c.append(d),f,h),c.size-f,!0))}function RO(e,t,n=null,r=e){let i=vhe(e,t),o=i&&ghe(r,t);return o?i.map(N7).concat({type:t,attrs:n}).concat(o.map(N7)):null}function N7(e){return{type:e,attrs:null}}function vhe(e,t){let{parent:n,startIndex:r,endIndex:i}=e,o=n.contentMatchAt(r).findWrapping(t);if(!o)return null;let a=o.length?o[0]:t;return n.canReplaceWith(r,i,a)?o:null}function ghe(e,t){let{parent:n,startIndex:r,endIndex:i}=e,o=n.child(r),a=t.contentMatch.findWrapping(o.type);if(!a)return null;let l=(a.length?a[a.length-1]:t).contentMatch;for(let u=r;l&&u<i;u++)l=l.matchType(n.child(u).type);return!l||!l.validEnd?null:a}function mhe(e,t,n){let r=ft.empty;for(let a=n.length-1;a>=0;a--){if(r.size){let s=n[a].type.contentMatch.matchFragment(r);if(!s||!s.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=ft.from(n[a].type.create(n[a].attrs,r))}let i=t.start,o=t.end;e.step(new Gi(i,o,i,o,new Mt(r,0,0),n.length,!0))}function yhe(e,t,n,r,i){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let o=e.steps.length;e.doc.nodesBetween(t,n,(a,s)=>{if(a.isTextblock&&!a.hasMarkup(r,i)&&Ahe(e.doc,e.mapping.slice(o).map(s),r)){e.clearIncompatible(e.mapping.slice(o).map(s,1),r);let l=e.mapping.slice(o),u=l.map(s,1),c=l.map(s+a.nodeSize,1);return e.step(new Gi(u,c,u+1,c-1,new Mt(ft.from(r.create(i,null,a.marks)),0,0),1,!0)),!1}})}function Ahe(e,t,n){let r=e.resolve(t),i=r.index();return r.parent.canReplaceWith(i,i+1,n)}function Rhe(e,t,n,r,i){let o=e.doc.nodeAt(t);if(!o)throw new RangeError("No node at given position");n||(n=o.type);let a=n.create(r,null,i||o.marks);if(o.isLeaf)return e.replaceWith(t,t+o.nodeSize,a);if(!n.validContent(o.content))throw new RangeError("Invalid content for node type "+n.name);e.step(new Gi(t,t+o.nodeSize,t+1,t+o.nodeSize-1,new Mt(ft.from(a),0,0),1,!0))}function Jp(e,t,n=1,r){let i=e.resolve(t),o=i.depth-n,a=r&&r[r.length-1]||i.parent;if(o<0||i.parent.type.spec.isolating||!i.parent.canReplace(i.index(),i.parent.childCount)||!a.type.validContent(i.parent.content.cutByIndex(i.index(),i.parent.childCount)))return!1;for(let u=i.depth-1,c=n-2;u>o;u--,c--){let f=i.node(u),d=i.index(u);if(f.type.spec.isolating)return!1;let h=f.content.cutByIndex(d,f.childCount),p=r&&r[c+1];p&&(h=h.replaceChild(0,p.type.create(p.attrs)));let v=r&&r[c]||f;if(!f.canReplace(d+1,f.childCount)||!v.type.validContent(h))return!1}let s=i.indexAfter(o),l=r&&r[0];return i.node(o).canReplaceWith(s,s,l?l.type:i.node(o+1).type)}function bhe(e,t,n=1,r){let i=e.doc.resolve(t),o=ft.empty,a=ft.empty;for(let s=i.depth,l=i.depth-n,u=n-1;s>l;s--,u--){o=ft.from(i.node(s).copy(o));let c=r&&r[u];a=ft.from(c?c.type.create(c.attrs,a):i.node(s).copy(a))}e.step(new oo(t,t,new Mt(o.append(a),n,n),!0))}function Dv(e,t){let n=e.resolve(t),r=n.index();return GZ(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(r,r+1)}function GZ(e,t){return!!(e&&t&&!e.isLeaf&&e.canAppend(t))}function zZ(e,t,n=-1){let r=e.resolve(t);for(let i=r.depth;;i--){let o,a,s=r.index(i);if(i==r.depth?(o=r.nodeBefore,a=r.nodeAfter):n>0?(o=r.node(i+1),s++,a=r.node(i).maybeChild(s)):(o=r.node(i).maybeChild(s-1),a=r.node(i+1)),o&&!o.isTextblock&&GZ(o,a)&&r.node(i).canReplace(s,s+1))return t;if(i==0)break;t=n<0?r.before(i):r.after(i)}}function xhe(e,t,n){let r=new oo(t-n,t+n,Mt.empty,!0);e.step(r)}function She(e,t,n){let r=e.resolve(t);if(r.parent.canReplaceWith(r.index(),r.index(),n))return t;if(r.parentOffset==0)for(let i=r.depth-1;i>=0;i--){let o=r.index(i);if(r.node(i).canReplaceWith(o,o,n))return r.before(i+1);if(o>0)return null}if(r.parentOffset==r.parent.content.size)for(let i=r.depth-1;i>=0;i--){let o=r.indexAfter(i);if(r.node(i).canReplaceWith(o,o,n))return r.after(i+1);if(o<r.node(i).childCount)return null}return null}function JZ(e,t,n){let r=e.resolve(t);if(!n.content.size)return t;let i=n.content;for(let o=0;o<n.openStart;o++)i=i.firstChild.content;for(let o=1;o<=(n.openStart==0&&n.size?2:1);o++)for(let a=r.depth;a>=0;a--){let s=a==r.depth?0:r.pos<=(r.start(a+1)+r.end(a+1))/2?-1:1,l=r.index(a)+(s>0?1:0),u=r.node(a),c=!1;if(o==1)c=u.canReplace(l,l,i);else{let f=u.contentMatchAt(l).findWrapping(i.firstChild.type);c=f&&u.canReplaceWith(l,l,f[0])}if(c)return s==0?r.pos:s<0?r.before(a+1):r.after(a+1)}return null}function bO(e,t,n=t,r=Mt.empty){if(t==n&&!r.size)return null;let i=e.resolve(t),o=e.resolve(n);return $Z(i,o,r)?new oo(t,n,r):new whe(i,o,r).fit()}function $Z(e,t,n){return!n.openStart&&!n.openEnd&&e.start()==t.start()&&e.parent.canReplace(e.index(),t.index(),n.content)}class whe{constructor(t,n,r){this.$from=t,this.$to=n,this.unplaced=r,this.frontier=[],this.placed=ft.empty;for(let i=0;i<=t.depth;i++){let o=t.node(i);this.frontier.push({type:o.type,match:o.contentMatchAt(t.indexAfter(i))})}for(let i=t.depth;i>0;i--)this.placed=ft.from(t.node(i).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let u=this.findFittable();u?this.placeNodes(u):this.openMore()||this.dropNode()}let t=this.mustMoveInline(),n=this.placed.size-this.depth-this.$from.depth,r=this.$from,i=this.close(t<0?this.$to:r.doc.resolve(t));if(!i)return null;let o=this.placed,a=r.depth,s=i.depth;for(;a&&s&&o.childCount==1;)o=o.firstChild.content,a--,s--;let l=new Mt(o,a,s);return t>-1?new Gi(r.pos,t,this.$to.pos,this.$to.end(),l,n):l.size||r.pos!=this.$to.pos?new oo(r.pos,i.pos,l):null}findFittable(){let t=this.unplaced.openStart;for(let n=this.unplaced.content,r=0,i=this.unplaced.openEnd;r<t;r++){let o=n.firstChild;if(n.childCount>1&&(i=0),o.type.spec.isolating&&i<=r){t=r;break}n=o.content}for(let n=1;n<=2;n++)for(let r=n==1?t:this.unplaced.openStart;r>=0;r--){let i,o=null;r?(o=Yw(this.unplaced.content,r-1).firstChild,i=o.content):i=this.unplaced.content;let a=i.firstChild;for(let s=this.depth;s>=0;s--){let{type:l,match:u}=this.frontier[s],c,f=null;if(n==1&&(a?u.matchType(a.type)||(f=u.fillBefore(ft.from(a),!1)):o&&l.compatibleContent(o.type)))return{sliceDepth:r,frontierDepth:s,parent:o,inject:f};if(n==2&&a&&(c=u.findWrapping(a.type)))return{sliceDepth:r,frontierDepth:s,parent:o,wrap:c};if(o&&u.matchType(o.type))break}}}openMore(){let{content:t,openStart:n,openEnd:r}=this.unplaced,i=Yw(t,n);return!i.childCount||i.firstChild.isLeaf?!1:(this.unplaced=new Mt(t,n+1,Math.max(r,i.size+n>=t.size-r?n+1:0)),!0)}dropNode(){let{content:t,openStart:n,openEnd:r}=this.unplaced,i=Yw(t,n);if(i.childCount<=1&&n>0){let o=t.size-n<=n+i.size;this.unplaced=new Mt(sg(t,n-1,1),n-1,o?n-1:r)}else this.unplaced=new Mt(sg(t,n,1),n,r)}placeNodes({sliceDepth:t,frontierDepth:n,parent:r,inject:i,wrap:o}){for(;this.depth>n;)this.closeFrontierNode();if(o)for(let v=0;v<o.length;v++)this.openFrontierNode(o[v]);let a=this.unplaced,s=r?r.content:a.content,l=a.openStart-t,u=0,c=[],{match:f,type:d}=this.frontier[n];if(i){for(let v=0;v<i.childCount;v++)c.push(i.child(v));f=f.matchFragment(i)}let h=s.size+t-(a.content.size-a.openEnd);for(;u<s.childCount;){let v=s.child(u),g=f.matchType(v.type);if(!g)break;u++,(u>1||l==0||v.content.size)&&(f=g,c.push(jZ(v.mark(d.allowedMarks(v.marks)),u==1?l:0,u==s.childCount?h:-1)))}let p=u==s.childCount;p||(h=-1),this.placed=lg(this.placed,n,ft.from(c)),this.frontier[n].match=f,p&&h<0&&r&&r.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let v=0,g=s;v<h;v++){let m=g.lastChild;this.frontier.push({type:m.type,match:m.contentMatchAt(m.childCount)}),g=m.content}this.unplaced=p?t==0?Mt.empty:new Mt(sg(a.content,t-1,1),t-1,h<0?a.openEnd:t-1):new Mt(sg(a.content,t,u),a.openStart,a.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let t=this.frontier[this.depth],n;if(!t.type.isTextblock||!Zw(this.$to,this.$to.depth,t.type,t.match,!1)||this.$to.depth==this.depth&&(n=this.findCloseLevel(this.$to))&&n.depth==this.depth)return-1;let{depth:r}=this.$to,i=this.$to.after(r);for(;r>1&&i==this.$to.end(--r);)++i;return i}findCloseLevel(t){e:for(let n=Math.min(this.depth,t.depth);n>=0;n--){let{match:r,type:i}=this.frontier[n],o=n<t.depth&&t.end(n+1)==t.pos+(t.depth-(n+1)),a=Zw(t,n,i,r,o);if(a){for(let s=n-1;s>=0;s--){let{match:l,type:u}=this.frontier[s],c=Zw(t,s,u,l,!0);if(!c||c.childCount)continue e}return{depth:n,fit:a,move:o?t.doc.resolve(t.after(n+1)):t}}}}close(t){let n=this.findCloseLevel(t);if(!n)return null;for(;this.depth>n.depth;)this.closeFrontierNode();n.fit.childCount&&(this.placed=lg(this.placed,n.depth,n.fit)),t=n.move;for(let r=n.depth+1;r<=t.depth;r++){let i=t.node(r),o=i.type.contentMatch.fillBefore(i.content,!0,t.index(r));this.openFrontierNode(i.type,i.attrs,o)}return t}openFrontierNode(t,n=null,r){let i=this.frontier[this.depth];i.match=i.match.matchType(t),this.placed=lg(this.placed,this.depth,ft.from(t.create(n,r))),this.frontier.push({type:t,match:t.contentMatch})}closeFrontierNode(){let n=this.frontier.pop().match.fillBefore(ft.empty,!0);n.childCount&&(this.placed=lg(this.placed,this.frontier.length,n))}}function sg(e,t,n){return t==0?e.cutByIndex(n,e.childCount):e.replaceChild(0,e.firstChild.copy(sg(e.firstChild.content,t-1,n)))}function lg(e,t,n){return t==0?e.append(n):e.replaceChild(e.childCount-1,e.lastChild.copy(lg(e.lastChild.content,t-1,n)))}function Yw(e,t){for(let n=0;n<t;n++)e=e.firstChild.content;return e}function jZ(e,t,n){if(t<=0)return e;let r=e.content;return t>1&&(r=r.replaceChild(0,jZ(r.firstChild,t-1,r.childCount==1?n-1:0))),t>0&&(r=e.type.contentMatch.fillBefore(r).append(r),n<=0&&(r=r.append(e.type.contentMatch.matchFragment(r).fillBefore(ft.empty,!0)))),e.copy(r)}function Zw(e,t,n,r,i){let o=e.node(t),a=i?e.indexAfter(t):e.index(t);if(a==o.childCount&&!n.compatibleContent(o.type))return null;let s=r.fillBefore(o.content,!0,a);return s&&!Mhe(n,o.content,a)?s:null}function Mhe(e,t,n){for(let r=n;r<t.childCount;r++)if(!e.allowsMarks(t.child(r).marks))return!0;return!1}function Lhe(e){return e.spec.defining||e.spec.definingForContent}function The(e,t,n,r){if(!r.size)return e.deleteRange(t,n);let i=e.doc.resolve(t),o=e.doc.resolve(n);if($Z(i,o,r))return e.step(new oo(t,n,r));let a=eQ(i,e.doc.resolve(n));a[a.length-1]==0&&a.pop();let s=-(i.depth+1);a.unshift(s);for(let d=i.depth,h=i.pos-1;d>0;d--,h--){let p=i.node(d).type.spec;if(p.defining||p.definingAsContext||p.isolating)break;a.indexOf(d)>-1?s=d:i.before(d)==h&&a.splice(1,0,-d)}let l=a.indexOf(s),u=[],c=r.openStart;for(let d=r.content,h=0;;h++){let p=d.firstChild;if(u.push(p),h==r.openStart)break;d=p.content}for(let d=c-1;d>=0;d--){let h=u[d],p=Lhe(h.type);if(p&&!h.sameMarkup(i.node(Math.abs(s)-1)))c=d;else if(p||!h.type.isTextblock)break}for(let d=r.openStart;d>=0;d--){let h=(d+c+1)%(r.openStart+1),p=u[h];if(p)for(let v=0;v<a.length;v++){let g=a[(v+l)%a.length],m=!0;g<0&&(m=!1,g=-g);let y=i.node(g-1),R=i.index(g-1);if(y.canReplaceWith(R,R,p.type,p.marks))return e.replace(i.before(g),m?o.after(g):n,new Mt(qZ(r.content,0,r.openStart,h),h,r.openEnd))}}let f=e.steps.length;for(let d=a.length-1;d>=0&&(e.replace(t,n,r),!(e.steps.length>f));d--){let h=a[d];h<0||(t=i.before(h),n=o.after(h))}}function qZ(e,t,n,r,i){if(t<n){let o=e.firstChild;e=e.replaceChild(0,o.copy(qZ(o.content,t+1,n,r,o)))}if(t>r){let o=i.contentMatchAt(0),a=o.fillBefore(e).append(e);e=a.append(o.matchFragment(a).fillBefore(ft.empty,!0))}return e}function _he(e,t,n,r){if(!r.isInline&&t==n&&e.doc.resolve(t).parent.content.size){let i=She(e.doc,t,r.type);i!=null&&(t=n=i)}e.replaceRange(t,n,new Mt(ft.from(r),0,0))}function Ohe(e,t,n){let r=e.doc.resolve(t),i=e.doc.resolve(n),o=eQ(r,i);for(let a=0;a<o.length;a++){let s=o[a],l=a==o.length-1;if(l&&s==0||r.node(s).type.contentMatch.validEnd)return e.delete(r.start(s),i.end(s));if(s>0&&(l||r.node(s-1).canReplace(r.index(s-1),i.indexAfter(s-1))))return e.delete(r.before(s),i.after(s))}for(let a=1;a<=r.depth&&a<=i.depth;a++)if(t-r.start(a)==r.depth-a&&n>r.end(a)&&i.end(a)-n!=i.depth-a)return e.delete(r.before(a),n);e.delete(t,n)}function eQ(e,t){let n=[],r=Math.min(e.depth,t.depth);for(let i=r;i>=0;i--){let o=e.start(i);if(o<e.pos-(e.depth-i)||t.end(i)>t.pos+(t.depth-i)||e.node(i).type.spec.isolating||t.node(i).type.spec.isolating)break;(o==t.start(i)||i==e.depth&&i==t.depth&&e.parent.inlineContent&&t.parent.inlineContent&&i&&t.start(i-1)==o-1)&&n.push(i)}return n}class $p extends mo{constructor(t,n,r){super(),this.pos=t,this.attr=n,this.value=r}apply(t){let n=t.nodeAt(this.pos);if(!n)return li.fail("No node at attribute step's position");let r=Object.create(null);for(let o in n.attrs)r[o]=n.attrs[o];r[this.attr]=this.value;let i=n.type.create(r,null,n.marks);return li.fromReplace(t,this.pos,this.pos+1,new Mt(ft.from(i),0,n.isLeaf?0:1))}getMap(){return Na.empty}invert(t){return new $p(this.pos,this.attr,t.nodeAt(this.pos).attrs[this.attr])}map(t){let n=t.mapResult(this.pos,1);return n.deletedAfter?null:new $p(n.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(t,n){if(typeof n.pos!="number"||typeof n.attr!="string")throw new RangeError("Invalid input for AttrStep.fromJSON");return new $p(n.pos,n.attr,n.value)}}mo.jsonID("attr",$p);class Bm extends mo{constructor(t,n){super(),this.attr=t,this.value=n}apply(t){let n=Object.create(null);for(let i in t.attrs)n[i]=t.attrs[i];n[this.attr]=this.value;let r=t.type.create(n,t.content,t.marks);return li.ok(r)}getMap(){return Na.empty}invert(t){return new Bm(this.attr,t.attrs[this.attr])}map(t){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(t,n){if(typeof n.attr!="string")throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new Bm(n.attr,n.value)}}mo.jsonID("docAttr",Bm);let mv=class extends Error{};mv=function e(t){let n=Error.call(this,t);return n.__proto__=e.prototype,n};mv.prototype=Object.create(Error.prototype);mv.prototype.constructor=mv;mv.prototype.name="TransformError";let khe=class{constructor(t){this.doc=t,this.steps=[],this.docs=[],this.mapping=new zp}get before(){return this.docs.length?this.docs[0]:this.doc}step(t){let n=this.maybeStep(t);if(n.failed)throw new mv(n.failed);return this}maybeStep(t){let n=t.apply(this.doc);return n.failed||this.addStep(t,n.doc),n}get docChanged(){return this.steps.length>0}addStep(t,n){this.docs.push(this.doc),this.steps.push(t),this.mapping.appendMap(t.getMap()),this.doc=n}replace(t,n=t,r=Mt.empty){let i=bO(this.doc,t,n,r);return i&&this.step(i),this}replaceWith(t,n,r){return this.replace(t,n,new Mt(ft.from(r),0,0))}delete(t,n){return this.replace(t,n,Mt.empty)}insert(t,n){return this.replaceWith(t,t,n)}replaceRange(t,n,r){return The(this,t,n,r),this}replaceRangeWith(t,n,r){return _he(this,t,n,r),this}deleteRange(t,n){return Ohe(this,t,n),this}lift(t,n){return phe(this,t,n),this}join(t,n=1){return xhe(this,t,n),this}wrap(t,n){return mhe(this,t,n),this}setBlockType(t,n=t,r,i=null){return yhe(this,t,n,r,i),this}setNodeMarkup(t,n,r=null,i){return Rhe(this,t,n,r,i),this}setNodeAttribute(t,n,r){return this.step(new $p(t,n,r)),this}setDocAttribute(t,n){return this.step(new Bm(t,n)),this}addNodeMark(t,n){return this.step(new Rf(t,n)),this}removeNodeMark(t,n){if(!(n instanceof Gn)){let r=this.doc.nodeAt(t);if(!r)throw new RangeError("No node at position "+t);if(n=n.isInSet(r.marks),!n)return this}return this.step(new gv(t,n)),this}split(t,n=1,r){return bhe(this,t,n,r),this}addMark(t,n,r){return che(this,t,n,r),this}removeMark(t,n,r){return fhe(this,t,n,r),this}clearIncompatible(t,n,r){return dhe(this,t,n,r),this}};const Qw=Object.create(null);class Nn{constructor(t,n,r){this.$anchor=t,this.$head=n,this.ranges=r||[new Phe(t.min(n),t.max(n))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let t=this.ranges;for(let n=0;n<t.length;n++)if(t[n].$from.pos!=t[n].$to.pos)return!1;return!0}content(){return this.$from.doc.slice(this.from,this.to,!0)}replace(t,n=Mt.empty){let r=n.content.lastChild,i=null;for(let s=0;s<n.openEnd;s++)i=r,r=r.lastChild;let o=t.steps.length,a=this.ranges;for(let s=0;s<a.length;s++){let{$from:l,$to:u}=a[s],c=t.mapping.slice(o);t.replaceRange(c.map(l.pos),c.map(u.pos),s?Mt.empty:n),s==0&&X7(t,o,(r?r.isInline:i&&i.isTextblock)?-1:1)}}replaceWith(t,n){let r=t.steps.length,i=this.ranges;for(let o=0;o<i.length;o++){let{$from:a,$to:s}=i[o],l=t.mapping.slice(r),u=l.map(a.pos),c=l.map(s.pos);o?t.deleteRange(u,c):(t.replaceRangeWith(u,c,n),X7(t,r,n.isInline?-1:1))}}static findFrom(t,n,r=!1){let i=t.parent.inlineContent?new er(t):cp(t.node(0),t.parent,t.pos,t.index(),n,r);if(i)return i;for(let o=t.depth-1;o>=0;o--){let a=n<0?cp(t.node(0),t.node(o),t.before(o+1),t.index(o),n,r):cp(t.node(0),t.node(o),t.after(o+1),t.index(o)+1,n,r);if(a)return a}return null}static near(t,n=1){return this.findFrom(t,n)||this.findFrom(t,-n)||new na(t.node(0))}static atStart(t){return cp(t,t,0,0,1)||new na(t)}static atEnd(t){return cp(t,t,t.content.size,t.childCount,-1)||new na(t)}static fromJSON(t,n){if(!n||!n.type)throw new RangeError("Invalid input for Selection.fromJSON");let r=Qw[n.type];if(!r)throw new RangeError(`No selection type ${n.type} defined`);return r.fromJSON(t,n)}static jsonID(t,n){if(t in Qw)throw new RangeError("Duplicate use of selection JSON ID "+t);return Qw[t]=n,n.prototype.jsonID=t,n}getBookmark(){return er.between(this.$anchor,this.$head).getBookmark()}}Nn.prototype.visible=!0;class Phe{constructor(t,n){this.$from=t,this.$to=n}}let F7=!1;function E7(e){!F7&&!e.parent.inlineContent&&(F7=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+e.parent.type.name+")"))}class er extends Nn{constructor(t,n=t){E7(t),E7(n),super(t,n)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(t,n){let r=t.resolve(n.map(this.head));if(!r.parent.inlineContent)return Nn.near(r);let i=t.resolve(n.map(this.anchor));return new er(i.parent.inlineContent?i:r,r)}replace(t,n=Mt.empty){if(super.replace(t,n),n==Mt.empty){let r=this.$from.marksAcross(this.$to);r&&t.ensureMarks(r)}}eq(t){return t instanceof er&&t.anchor==this.anchor&&t.head==this.head}getBookmark(){return new YS(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(t,n){if(typeof n.anchor!="number"||typeof n.head!="number")throw new RangeError("Invalid input for TextSelection.fromJSON");return new er(t.resolve(n.anchor),t.resolve(n.head))}static create(t,n,r=n){let i=t.resolve(n);return new this(i,r==n?i:t.resolve(r))}static between(t,n,r){let i=t.pos-n.pos;if((!r||i)&&(r=i>=0?1:-1),!n.parent.inlineContent){let o=Nn.findFrom(n,r,!0)||Nn.findFrom(n,-r,!0);if(o)n=o.$head;else return Nn.near(n,r)}return t.parent.inlineContent||(i==0?t=n:(t=(Nn.findFrom(t,-r,!0)||Nn.findFrom(t,r,!0)).$anchor,t.pos<n.pos!=i<0&&(t=n))),new er(t,n)}}Nn.jsonID("text",er);class YS{constructor(t,n){this.anchor=t,this.head=n}map(t){return new YS(t.map(this.anchor),t.map(this.head))}resolve(t){return er.between(t.resolve(this.anchor),t.resolve(this.head))}}class zt extends Nn{constructor(t){let n=t.nodeAfter,r=t.node(0).resolve(t.pos+n.nodeSize);super(t,r),this.node=n}map(t,n){let{deleted:r,pos:i}=n.mapResult(this.anchor),o=t.resolve(i);return r?Nn.near(o):new zt(o)}content(){return new Mt(ft.from(this.node),0,0)}eq(t){return t instanceof zt&&t.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new xO(this.anchor)}static fromJSON(t,n){if(typeof n.anchor!="number")throw new RangeError("Invalid input for NodeSelection.fromJSON");return new zt(t.resolve(n.anchor))}static create(t,n){return new zt(t.resolve(n))}static isSelectable(t){return!t.isText&&t.type.spec.selectable!==!1}}zt.prototype.visible=!1;Nn.jsonID("node",zt);class xO{constructor(t){this.anchor=t}map(t){let{deleted:n,pos:r}=t.mapResult(this.anchor);return n?new YS(r,r):new xO(r)}resolve(t){let n=t.resolve(this.anchor),r=n.nodeAfter;return r&&zt.isSelectable(r)?new zt(n):Nn.near(n)}}class na extends Nn{constructor(t){super(t.resolve(0),t.resolve(t.content.size))}replace(t,n=Mt.empty){if(n==Mt.empty){t.delete(0,t.doc.content.size);let r=Nn.atStart(t.doc);r.eq(t.selection)||t.setSelection(r)}else super.replace(t,n)}toJSON(){return{type:"all"}}static fromJSON(t){return new na(t)}map(t){return new na(t)}eq(t){return t instanceof na}getBookmark(){return Che}}Nn.jsonID("all",na);const Che={map(){return this},resolve(e){return new na(e)}};function cp(e,t,n,r,i,o=!1){if(t.inlineContent)return er.create(e,n);for(let a=r-(i>0?0:1);i>0?a<t.childCount:a>=0;a+=i){let s=t.child(a);if(s.isAtom){if(!o&&zt.isSelectable(s))return zt.create(e,n-(i<0?s.nodeSize:0))}else{let l=cp(e,s,n+i,i<0?s.childCount:0,i,o);if(l)return l}n+=s.nodeSize*i}return null}function X7(e,t,n){let r=e.steps.length-1;if(r<t)return;let i=e.steps[r];if(!(i instanceof oo||i instanceof Gi))return;let o=e.mapping.maps[r],a;o.forEach((s,l,u,c)=>{a==null&&(a=c)}),e.setSelection(Nn.near(e.doc.resolve(a),n))}const W7=1,LA=2,V7=4;let Ihe=class extends khe{constructor(t){super(t.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=t.selection,this.storedMarks=t.storedMarks}get selection(){return this.curSelectionFor<this.steps.length&&(this.curSelection=this.curSelection.map(this.doc,this.mapping.slice(this.curSelectionFor)),this.curSelectionFor=this.steps.length),this.curSelection}setSelection(t){if(t.$from.doc!=this.doc)throw new RangeError("Selection passed to setSelection must point at the current document");return this.curSelection=t,this.curSelectionFor=this.steps.length,this.updated=(this.updated|W7)&~LA,this.storedMarks=null,this}get selectionSet(){return(this.updated&W7)>0}setStoredMarks(t){return this.storedMarks=t,this.updated|=LA,this}ensureMarks(t){return Gn.sameSet(this.storedMarks||this.selection.$from.marks(),t)||this.setStoredMarks(t),this}addStoredMark(t){return this.ensureMarks(t.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(t){return this.ensureMarks(t.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&LA)>0}addStep(t,n){super.addStep(t,n),this.updated=this.updated&~LA,this.storedMarks=null}setTime(t){return this.time=t,this}replaceSelection(t){return this.selection.replace(this,t),this}replaceSelectionWith(t,n=!0){let r=this.selection;return n&&(t=t.mark(this.storedMarks||(r.empty?r.$from.marks():r.$from.marksAcross(r.$to)||Gn.none))),r.replaceWith(this,t),this}deleteSelection(){return this.selection.replace(this),this}insertText(t,n,r){let i=this.doc.type.schema;if(n==null)return t?this.replaceSelectionWith(i.text(t),!0):this.deleteSelection();{if(r==null&&(r=n),r=r??n,!t)return this.deleteRange(n,r);let o=this.storedMarks;if(!o){let a=this.doc.resolve(n);o=r==n?a.marks():a.marksAcross(this.doc.resolve(r))}return this.replaceRangeWith(n,r,i.text(t,o)),this.selection.empty||this.setSelection(Nn.near(this.selection.$to)),this}}setMeta(t,n){return this.meta[typeof t=="string"?t:t.key]=n,this}getMeta(t){return this.meta[typeof t=="string"?t:t.key]}get isGeneric(){for(let t in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=V7,this}get scrolledIntoView(){return(this.updated&V7)>0}};function D7(e,t){return!t||!e?e:e.bind(t)}class ug{constructor(t,n,r){this.name=t,this.init=D7(n.init,r),this.apply=D7(n.apply,r)}}const Nhe=[new ug("doc",{init(e){return e.doc||e.schema.topNodeType.createAndFill()},apply(e){return e.doc}}),new ug("selection",{init(e,t){return e.selection||Nn.atStart(t.doc)},apply(e){return e.selection}}),new ug("storedMarks",{init(e){return e.storedMarks||null},apply(e,t,n,r){return r.selection.$cursor?e.storedMarks:null}}),new ug("scrollToSelection",{init(){return 0},apply(e,t){return e.scrolledIntoView?t+1:t}})];class Hw{constructor(t,n){this.schema=t,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=Nhe.slice(),n&&n.forEach(r=>{if(this.pluginsByKey[r.key])throw new RangeError("Adding different instances of a keyed plugin ("+r.key+")");this.plugins.push(r),this.pluginsByKey[r.key]=r,r.spec.state&&this.fields.push(new ug(r.key,r.spec.state,r))})}}class Mp{constructor(t){this.config=t}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(t){return this.applyTransaction(t).state}filterTransaction(t,n=-1){for(let r=0;r<this.config.plugins.length;r++)if(r!=n){let i=this.config.plugins[r];if(i.spec.filterTransaction&&!i.spec.filterTransaction.call(i,t,this))return!1}return!0}applyTransaction(t){if(!this.filterTransaction(t))return{state:this,transactions:[]};let n=[t],r=this.applyInner(t),i=null;for(;;){let o=!1;for(let a=0;a<this.config.plugins.length;a++){let s=this.config.plugins[a];if(s.spec.appendTransaction){let l=i?i[a].n:0,u=i?i[a].state:this,c=l<n.length&&s.spec.appendTransaction.call(s,l?n.slice(l):n,u,r);if(c&&r.filterTransaction(c,a)){if(c.setMeta("appendedTransaction",t),!i){i=[];for(let f=0;f<this.config.plugins.length;f++)i.push(f<a?{state:r,n:n.length}:{state:this,n:0})}n.push(c),r=r.applyInner(c),o=!0}i&&(i[a]={state:r,n:n.length})}}if(!o)return{state:r,transactions:n}}}applyInner(t){if(!t.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction");let n=new Mp(this.config),r=this.config.fields;for(let i=0;i<r.length;i++){let o=r[i];n[o.name]=o.apply(t,this[o.name],this,n)}return n}get tr(){return new Ihe(this)}static create(t){let n=new Hw(t.doc?t.doc.type.schema:t.schema,t.plugins),r=new Mp(n);for(let i=0;i<n.fields.length;i++)r[n.fields[i].name]=n.fields[i].init(t,r);return r}reconfigure(t){let n=new Hw(this.schema,t.plugins),r=n.fields,i=new Mp(n);for(let o=0;o<r.length;o++){let a=r[o].name;i[a]=this.hasOwnProperty(a)?this[a]:r[o].init(t,i)}return i}toJSON(t){let n={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&&(n.storedMarks=this.storedMarks.map(r=>r.toJSON())),t&&typeof t=="object")for(let r in t){if(r=="doc"||r=="selection")throw new RangeError("The JSON fields `doc` and `selection` are reserved");let i=t[r],o=i.spec.state;o&&o.toJSON&&(n[r]=o.toJSON.call(i,this[i.key]))}return n}static fromJSON(t,n,r){if(!n)throw new RangeError("Invalid input for EditorState.fromJSON");if(!t.schema)throw new RangeError("Required config field 'schema' missing");let i=new Hw(t.schema,t.plugins),o=new Mp(i);return i.fields.forEach(a=>{if(a.name=="doc")o.doc=ru.fromJSON(t.schema,n.doc);else if(a.name=="selection")o.selection=Nn.fromJSON(o.doc,n.selection);else if(a.name=="storedMarks")n.storedMarks&&(o.storedMarks=n.storedMarks.map(t.schema.markFromJSON));else{if(r)for(let s in r){let l=r[s],u=l.spec.state;if(l.key==a.name&&u&&u.fromJSON&&Object.prototype.hasOwnProperty.call(n,s)){o[a.name]=u.fromJSON.call(l,t,n[s],o);return}}o[a.name]=a.init(t,o)}}),o}}function tQ(e,t,n){for(let r in e){let i=e[r];i instanceof Function?i=i.bind(t):r=="handleDOMEvents"&&(i=tQ(i,t,{})),n[r]=i}return n}class Uv{constructor(t){this.spec=t,this.props={},t.props&&tQ(t.props,this,this.props),this.key=t.key?t.key.key:nQ("plugin")}getState(t){return t[this.key]}}const Kw=Object.create(null);function nQ(e){return e in Kw?e+"$"+ ++Kw[e]:(Kw[e]=0,e+"$")}class rQ{constructor(t="key"){this.key=nQ(t)}get(t){return t.config.pluginsByKey[this.key]}getState(t){return t[this.key]}}const iQ=(e,t)=>e.selection.empty?!1:(t&&t(e.tr.deleteSelection().scrollIntoView()),!0);function Fhe(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("backward",e):n.parentOffset>0)?null:n}const Ehe=(e,t,n)=>{let r=Fhe(e,n);if(!r)return!1;let i=oQ(r);if(!i){let a=r.blockRange(),s=a&&E2(a);return s==null?!1:(t&&t(e.tr.lift(a,s).scrollIntoView()),!0)}let o=i.nodeBefore;if(dQ(e,i,t,-1))return!0;if(r.parent.content.size==0&&(yv(o,"end")||zt.isSelectable(o)))for(let a=r.depth;;a--){let s=bO(e.doc,r.before(a),r.after(a),Mt.empty);if(s&&s.slice.size<s.to-s.from){if(t){let l=e.tr.step(s);l.setSelection(yv(o,"end")?Nn.findFrom(l.doc.resolve(l.mapping.map(i.pos,-1)),-1):zt.create(l.doc,i.pos-o.nodeSize)),t(l.scrollIntoView())}return!0}if(a==1||r.node(a-1).childCount>1)break}return o.isAtom&&i.depth==r.depth-1?(t&&t(e.tr.delete(i.pos-o.nodeSize,i.pos).scrollIntoView()),!0):!1};function yv(e,t,n=!1){for(let r=e;r;r=t=="start"?r.firstChild:r.lastChild){if(r.isTextblock)return!0;if(n&&r.childCount!=1)return!1}return!1}const Xhe=(e,t,n)=>{let{$head:r,empty:i}=e.selection,o=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("backward",e):r.parentOffset>0)return!1;o=oQ(r)}let a=o&&o.nodeBefore;return!a||!zt.isSelectable(a)?!1:(t&&t(e.tr.setSelection(zt.create(e.doc,o.pos-a.nodeSize)).scrollIntoView()),!0)};function oQ(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){if(e.index(t)>0)return e.doc.resolve(e.before(t+1));if(e.node(t).type.spec.isolating)break}return null}function Whe(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("forward",e):n.parentOffset<n.parent.content.size)?null:n}const Vhe=(e,t,n)=>{let r=Whe(e,n);if(!r)return!1;let i=aQ(r);if(!i)return!1;let o=i.nodeAfter;if(dQ(e,i,t,1))return!0;if(r.parent.content.size==0&&(yv(o,"start")||zt.isSelectable(o))){let a=bO(e.doc,r.before(),r.after(),Mt.empty);if(a&&a.slice.size<a.to-a.from){if(t){let s=e.tr.step(a);s.setSelection(yv(o,"start")?Nn.findFrom(s.doc.resolve(s.mapping.map(i.pos)),1):zt.create(s.doc,s.mapping.map(i.pos))),t(s.scrollIntoView())}return!0}}return o.isAtom&&i.depth==r.depth-1?(t&&t(e.tr.delete(i.pos,i.pos+o.nodeSize).scrollIntoView()),!0):!1},Dhe=(e,t,n)=>{let{$head:r,empty:i}=e.selection,o=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("forward",e):r.parentOffset<r.parent.content.size)return!1;o=aQ(r)}let a=o&&o.nodeAfter;return!a||!zt.isSelectable(a)?!1:(t&&t(e.tr.setSelection(zt.create(e.doc,o.pos)).scrollIntoView()),!0)};function aQ(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){let n=e.node(t);if(e.index(t)+1<n.childCount)return e.doc.resolve(e.after(t+1));if(n.type.spec.isolating)break}return null}const Uhe=(e,t)=>{let n=e.selection,r=n instanceof zt,i;if(r){if(n.node.isTextblock||!Dv(e.doc,n.from))return!1;i=n.from}else if(i=zZ(e.doc,n.from,-1),i==null)return!1;if(t){let o=e.tr.join(i);r&&o.setSelection(zt.create(o.doc,i-e.doc.resolve(i).nodeBefore.nodeSize)),t(o.scrollIntoView())}return!0},Bhe=(e,t)=>{let n=e.selection,r;if(n instanceof zt){if(n.node.isTextblock||!Dv(e.doc,n.to))return!1;r=n.to}else if(r=zZ(e.doc,n.to,1),r==null)return!1;return t&&t(e.tr.join(r).scrollIntoView()),!0},Yhe=(e,t)=>{let{$from:n,$to:r}=e.selection,i=n.blockRange(r),o=i&&E2(i);return o==null?!1:(t&&t(e.tr.lift(i,o).scrollIntoView()),!0)},sQ=(e,t)=>{let{$head:n,$anchor:r}=e.selection;return!n.parent.type.spec.code||!n.sameParent(r)?!1:(t&&t(e.tr.insertText(`
|
||
`).scrollIntoView()),!0)};function SO(e){for(let t=0;t<e.edgeCount;t++){let{type:n}=e.edge(t);if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}const Zhe=(e,t)=>{let{$head:n,$anchor:r}=e.selection;if(!n.parent.type.spec.code||!n.sameParent(r))return!1;let i=n.node(-1),o=n.indexAfter(-1),a=SO(i.contentMatchAt(o));if(!a||!i.canReplaceWith(o,o,a))return!1;if(t){let s=n.after(),l=e.tr.replaceWith(s,s,a.createAndFill());l.setSelection(Nn.near(l.doc.resolve(s),1)),t(l.scrollIntoView())}return!0},lQ=(e,t)=>{let n=e.selection,{$from:r,$to:i}=n;if(n instanceof na||r.parent.inlineContent||i.parent.inlineContent)return!1;let o=SO(i.parent.contentMatchAt(i.indexAfter()));if(!o||!o.isTextblock)return!1;if(t){let a=(!r.parentOffset&&i.index()<i.parent.childCount?r:i).pos,s=e.tr.insert(a,o.createAndFill());s.setSelection(er.create(s.doc,a+1)),t(s.scrollIntoView())}return!0},uQ=(e,t)=>{let{$cursor:n}=e.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let o=n.before();if(Jp(e.doc,o))return t&&t(e.tr.split(o).scrollIntoView()),!0}let r=n.blockRange(),i=r&&E2(r);return i==null?!1:(t&&t(e.tr.lift(r,i).scrollIntoView()),!0)};function Qhe(e){return(t,n)=>{let{$from:r,$to:i}=t.selection;if(t.selection instanceof zt&&t.selection.node.isBlock)return!r.parentOffset||!Jp(t.doc,r.pos)?!1:(n&&n(t.tr.split(r.pos).scrollIntoView()),!0);if(!r.parent.isBlock)return!1;if(n){let o=i.parentOffset==i.parent.content.size,a=t.tr;(t.selection instanceof er||t.selection instanceof na)&&a.deleteSelection();let s=r.depth==0?null:SO(r.node(-1).contentMatchAt(r.indexAfter(-1))),l=o&&s?[{type:s}]:void 0,u=Jp(a.doc,a.mapping.map(r.pos),1,l);if(!l&&!u&&Jp(a.doc,a.mapping.map(r.pos),1,s?[{type:s}]:void 0)&&(s&&(l=[{type:s}]),u=!0),u&&(a.split(a.mapping.map(r.pos),1,l),!o&&!r.parentOffset&&r.parent.type!=s)){let c=a.mapping.map(r.before()),f=a.doc.resolve(c);s&&r.node(-1).canReplaceWith(f.index(),f.index()+1,s)&&a.setNodeMarkup(a.mapping.map(r.before()),s)}n(a.scrollIntoView())}return!0}}const cQ=Qhe(),Hhe=(e,t)=>cQ(e,t&&(n=>{let r=e.storedMarks||e.selection.$to.parentOffset&&e.selection.$from.marks();r&&n.ensureMarks(r),t(n)})),Khe=(e,t)=>{let{$from:n,to:r}=e.selection,i,o=n.sharedDepth(r);return o==0?!1:(i=n.before(o),t&&t(e.tr.setSelection(zt.create(e.doc,i))),!0)},fQ=(e,t)=>(t&&t(e.tr.setSelection(new na(e.doc))),!0);function Ghe(e,t,n){let r=t.nodeBefore,i=t.nodeAfter,o=t.index();return!r||!i||!r.type.compatibleContent(i.type)?!1:!r.content.size&&t.parent.canReplace(o-1,o)?(n&&n(e.tr.delete(t.pos-r.nodeSize,t.pos).scrollIntoView()),!0):!t.parent.canReplace(o,o+1)||!(i.isTextblock||Dv(e.doc,t.pos))?!1:(n&&n(e.tr.clearIncompatible(t.pos,r.type,r.contentMatchAt(r.childCount)).join(t.pos).scrollIntoView()),!0)}function dQ(e,t,n,r){let i=t.nodeBefore,o=t.nodeAfter,a,s,l=i.type.spec.isolating||o.type.spec.isolating;if(!l&&Ghe(e,t,n))return!0;let u=!l&&t.parent.canReplace(t.index(),t.index()+1);if(u&&(a=(s=i.contentMatchAt(i.childCount)).findWrapping(o.type))&&s.matchType(a[0]||o.type).validEnd){if(n){let h=t.pos+o.nodeSize,p=ft.empty;for(let m=a.length-1;m>=0;m--)p=ft.from(a[m].create(null,p));p=ft.from(i.copy(p));let v=e.tr.step(new Gi(t.pos-1,h,t.pos,h,new Mt(p,1,0),a.length,!0)),g=h+2*a.length;Dv(v.doc,g)&&v.join(g),n(v.scrollIntoView())}return!0}let c=o.type.spec.isolating||r>0&&l?null:Nn.findFrom(t,1),f=c&&c.$from.blockRange(c.$to),d=f&&E2(f);if(d!=null&&d>=t.depth)return n&&n(e.tr.lift(f,d).scrollIntoView()),!0;if(u&&yv(o,"start",!0)&&yv(i,"end")){let h=i,p=[];for(;p.push(h),!h.isTextblock;)h=h.lastChild;let v=o,g=1;for(;!v.isTextblock;v=v.firstChild)g++;if(h.canReplace(h.childCount,h.childCount,v.content)){if(n){let m=ft.empty;for(let R=p.length-1;R>=0;R--)m=ft.from(p[R].copy(m));let y=e.tr.step(new Gi(t.pos-p.length,t.pos+o.nodeSize,t.pos+g,t.pos+o.nodeSize-g,new Mt(m,p.length,0),0,!0));n(y.scrollIntoView())}return!0}}return!1}function hQ(e){return function(t,n){let r=t.selection,i=e<0?r.$from:r.$to,o=i.depth;for(;i.node(o).isInline;){if(!o)return!1;o--}return i.node(o).isTextblock?(n&&n(t.tr.setSelection(er.create(t.doc,e<0?i.start(o):i.end(o)))),!0):!1}}const zhe=hQ(-1),Jhe=hQ(1);function $he(e,t=null){return function(n,r){let{$from:i,$to:o}=n.selection,a=i.blockRange(o),s=a&&RO(a,e,t);return s?(r&&r(n.tr.wrap(a,s).scrollIntoView()),!0):!1}}function jhe(e,t,n,r){for(let i=0;i<t.length;i++){let{$from:o,$to:a}=t[i],s=o.depth==0?e.inlineContent&&e.type.allowsMarkType(n):!1;if(e.nodesBetween(o.pos,a.pos,(l,u)=>{if(s||!r)return!1;s=l.inlineContent&&l.type.allowsMarkType(n)}),s)return!0}return!1}function ai(e,t=null,n){let r=n!==!1;return function(i,o){let{empty:a,$cursor:s,ranges:l}=i.selection;if(a&&!s||!jhe(i.doc,l,e,r))return!1;if(o)if(s)e.isInSet(i.storedMarks||s.marks())?o(i.tr.removeStoredMark(e)):o(i.tr.addStoredMark(e.create(t)));else{let u,c=i.tr;u=!l.some(f=>i.doc.rangeHasMark(f.$from.pos,f.$to.pos,e));for(let f=0;f<l.length;f++){let{$from:d,$to:h}=l[f];if(!u)c.removeMark(d.pos,h.pos,e);else{let p=d.pos,v=h.pos,g=d.nodeAfter,m=h.nodeBefore,y=g&&g.isText?/^\s*/.exec(g.text)[0].length:0,R=m&&m.isText?/\s*$/.exec(m.text)[0].length:0;p+y<v&&(p+=y,v-=R),c.addMark(p,v,e.create(t))}}o(c.scrollIntoView())}return!0}}function ZS(...e){return function(t,n,r){for(let i=0;i<e.length;i++)if(e[i](t,n,r))return!0;return!1}}let Gw=ZS(iQ,Ehe,Xhe),U7=ZS(iQ,Vhe,Dhe);const Gu={Enter:ZS(sQ,lQ,uQ,cQ),"Mod-Enter":Zhe,Backspace:Gw,"Mod-Backspace":Gw,"Shift-Backspace":Gw,Delete:U7,"Mod-Delete":U7,"Mod-a":fQ},pQ={"Ctrl-h":Gu.Backspace,"Alt-Backspace":Gu["Mod-Backspace"],"Ctrl-d":Gu.Delete,"Ctrl-Alt-Backspace":Gu["Mod-Delete"],"Alt-Delete":Gu["Mod-Delete"],"Alt-d":Gu["Mod-Delete"],"Ctrl-a":zhe,"Ctrl-e":Jhe};for(let e in Gu)pQ[e]=Gu[e];const qhe=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<"u"&&os.platform?os.platform()=="darwin":!1,e0e=qhe?pQ:Gu,lx=(e,t)=>e.type===t.nodes.bullet_list||e.type===t.nodes.ordered_list,hi=e=>{const{empty:t}=e.state.selection;t&&fQ(e.state,e.dispatch)},Xl=(e,t,n)=>{if(n)e.dispatch(e.state.tr.addMark(n.from,n.to,t));else{const{$from:r,$to:i}=e.state.selection;e.dispatch(e.state.tr.addMark(r.pos,i.pos,t))}},t0e=(e,t,n,r)=>{let i=t;const o=d=>d.type===r;let a=null,s=null,l=null;for(;i<=n;){const d=e.nodeAt(i);if(!d||!d.marks)return null;const h=d.marks.find(o);if(!h||a&&h!==a)return null;s=s||d,a=a||h,l=d,i++}let u=t,c=n,f=0;for(i=t-1;i>f;){const d=e.nodeAt(i),h=d&&d.marks.find(o);if(!h||h!==a)break;u=i,s=d,i--}for(i=n+1,f=e.nodeSize-2;i<f;){const d=e.nodeAt(i),h=d&&d.marks.find(o);if(!h||h!==a)break;c=i,l=d,i++}return{mark:a,from:{node:s,pos:u},to:{node:l,pos:c}}},n0e=(e,t)=>Array.isArray(e)&&e.indexOf(t.type)>-1||t.type===e,r0e=(e,t)=>{for(let n=e.depth;n>0;n--){const r=e.node(n);if(t(r))return{pos:n>0?e.before(n):0,start:e.start(n),depth:n,node:r}}},vQ=e=>t=>r0e(t.$from,e),i0e=e=>t=>vQ(n=>n0e(e,n))(t),$R=(e,t)=>{const n=t.schema.nodes[e];return!!i0e(n)(t.selection)},gQ=e=>e?e.type.name==="text"?e:e.lastChild?gQ(e.lastChild):null:null,mQ=e=>{const{selection:t,doc:n}=e.state,{from:r}=t;let i=n.nodeAt(r)||n.nodeAt(r-1);return i=gQ(i),(i==null?void 0:i.marks)||[]},fp=(e,t,n)=>{for(const r of e)if(r.type.name===t&&r.attrs[n])return r.attrs[n];return null},Td=(e,t)=>{for(const n of e)if(n.type.name===t)return!0;return!1},o0e=(e,t)=>{const{from:n,$from:r,to:i,empty:o}=e.selection;return o?t.isInSet(e.storedMarks||r.marks()):e.doc.rangeHasMark(n,i,t)},a0e=(e,t)=>{const{selection:n,doc:r}=e.state,{from:i,to:o}=n;let a=!0,s="";return r.nodesBetween(i,o,l=>(a&&l.attrs[t]&&(a=!1,s=l.attrs[t]),a)),s},yQ={color:"#000000",backcolor:"",fontsize:"16px",fontname:"",align:"left"},J8=(e,t={})=>{const n={...yQ,...t},r=mQ(e),i=Td(r,"strong"),o=Td(r,"em"),a=Td(r,"underline"),s=Td(r,"strikethrough"),l=Td(r,"superscript"),u=Td(r,"subscript"),c=Td(r,"code"),f=fp(r,"forecolor","color")||n.color,d=fp(r,"backcolor","backcolor")||n.backcolor,h=fp(r,"fontsize","fontsize")||n.fontsize,p=fp(r,"fontname","fontname")||n.fontname,v=fp(r,"link","href")||"",g=a0e(e,"align")||n.align,m=$R("bullet_list",e.state),y=$R("ordered_list",e.state),R=$R("blockquote",e.state);return{bold:i,em:o,underline:a,strikethrough:s,superscript:l,subscript:u,code:c,color:f,backcolor:d,fontsize:h,fontname:p,link:v,align:g,bulletList:m,orderedList:y,blockquote:R}},B7=e=>{const t=mQ(e),n=fp(t,"fontsize","fontsize")||yQ.fontsize;return parseInt(n)},s0e={bold:!1,em:!1,underline:!1,strikethrough:!1,superscript:!1,subscript:!1,code:!1,color:"#000000",backcolor:"",fontsize:"16px",fontname:"",link:"",align:"left",bulletList:!1,orderedList:!1,blockquote:!1};function ux(e){"@babel/helpers - typeof";return ux=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},ux(e)}var l0e=/^\s+/,u0e=/\s+$/;function at(e,t){if(e=e||"",t=t||{},e instanceof at)return e;if(!(this instanceof at))return new at(e,t);var n=c0e(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}at.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},getLuminance:function(){var t=this.toRgb(),n,r,i,o,a,s;return n=t.r/255,r=t.g/255,i=t.b/255,n<=.03928?o=n/12.92:o=Math.pow((n+.055)/1.055,2.4),r<=.03928?a=r/12.92:a=Math.pow((r+.055)/1.055,2.4),i<=.03928?s=i/12.92:s=Math.pow((i+.055)/1.055,2.4),.2126*o+.7152*a+.0722*s},setAlpha:function(t){return this._a=AQ(t),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var t=Z7(this._r,this._g,this._b);return{h:t.h*360,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=Z7(this._r,this._g,this._b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.v*100);return this._a==1?"hsv("+n+", "+r+"%, "+i+"%)":"hsva("+n+", "+r+"%, "+i+"%, "+this._roundA+")"},toHsl:function(){var t=Y7(this._r,this._g,this._b);return{h:t.h*360,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=Y7(this._r,this._g,this._b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.l*100);return this._a==1?"hsl("+n+", "+r+"%, "+i+"%)":"hsla("+n+", "+r+"%, "+i+"%, "+this._roundA+")"},toHex:function(t){return Q7(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return p0e(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(_r(this._r,255)*100)+"%",g:Math.round(_r(this._g,255)*100)+"%",b:Math.round(_r(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(_r(this._r,255)*100)+"%, "+Math.round(_r(this._g,255)*100)+"%, "+Math.round(_r(this._b,255)*100)+"%)":"rgba("+Math.round(_r(this._r,255)*100)+"%, "+Math.round(_r(this._g,255)*100)+"%, "+Math.round(_r(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:L0e[Q7(this._r,this._g,this._b,!0)]||!1},toFilter:function(t){var n="#"+H7(this._r,this._g,this._b,this._a),r=n,i=this._gradientType?"GradientType = 1, ":"";if(t){var o=at(t);r="#"+H7(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+i+"startColorstr="+n+",endColorstr="+r+")"},toString:function(t){var n=!!t;t=t||this._format;var r=!1,i=this._a<1&&this._a>=0,o=!n&&i&&(t==="hex"||t==="hex6"||t==="hex3"||t==="hex4"||t==="hex8"||t==="name");return o?t==="name"&&this._a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},clone:function(){return at(this.toString())},_applyModification:function(t,n){var r=t.apply(null,[this].concat([].slice.call(n)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(y0e,arguments)},brighten:function(){return this._applyModification(A0e,arguments)},darken:function(){return this._applyModification(R0e,arguments)},desaturate:function(){return this._applyModification(v0e,arguments)},saturate:function(){return this._applyModification(g0e,arguments)},greyscale:function(){return this._applyModification(m0e,arguments)},spin:function(){return this._applyModification(b0e,arguments)},_applyCombination:function(t,n){return t.apply(null,[this].concat([].slice.call(n)))},analogous:function(){return this._applyCombination(w0e,arguments)},complement:function(){return this._applyCombination(x0e,arguments)},monochromatic:function(){return this._applyCombination(M0e,arguments)},splitcomplement:function(){return this._applyCombination(S0e,arguments)},triad:function(){return this._applyCombination(K7,[3])},tetrad:function(){return this._applyCombination(K7,[4])}};at.fromRatio=function(e,t){if(ux(e)=="object"){var n={};for(var r in e)e.hasOwnProperty(r)&&(r==="a"?n[r]=e[r]:n[r]=cg(e[r]));e=n}return at(e,t)};function c0e(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,o=null,a=!1,s=!1;return typeof e=="string"&&(e=k0e(e)),ux(e)=="object"&&(Nu(e.r)&&Nu(e.g)&&Nu(e.b)?(t=f0e(e.r,e.g,e.b),a=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Nu(e.h)&&Nu(e.s)&&Nu(e.v)?(r=cg(e.s),i=cg(e.v),t=h0e(e.h,r,i),a=!0,s="hsv"):Nu(e.h)&&Nu(e.s)&&Nu(e.l)&&(r=cg(e.s),o=cg(e.l),t=d0e(e.h,r,o),a=!0,s="hsl"),e.hasOwnProperty("a")&&(n=e.a)),n=AQ(n),{ok:a,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}function f0e(e,t,n){return{r:_r(e,255)*255,g:_r(t,255)*255,b:_r(n,255)*255}}function Y7(e,t,n){e=_r(e,255),t=_r(t,255),n=_r(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),o,a,s=(r+i)/2;if(r==i)o=a=0;else{var l=r-i;switch(a=s>.5?l/(2-r-i):l/(r+i),r){case e:o=(t-n)/l+(t<n?6:0);break;case t:o=(n-e)/l+2;break;case n:o=(e-t)/l+4;break}o/=6}return{h:o,s:a,l:s}}function d0e(e,t,n){var r,i,o;e=_r(e,360),t=_r(t,100),n=_r(n,100);function a(u,c,f){return f<0&&(f+=1),f>1&&(f-=1),f<1/6?u+(c-u)*6*f:f<1/2?c:f<2/3?u+(c-u)*(2/3-f)*6:u}if(t===0)r=i=o=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;r=a(l,s,e+1/3),i=a(l,s,e),o=a(l,s,e-1/3)}return{r:r*255,g:i*255,b:o*255}}function Z7(e,t,n){e=_r(e,255),t=_r(t,255),n=_r(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),o,a,s=r,l=r-i;if(a=r===0?0:l/r,r==i)o=0;else{switch(r){case e:o=(t-n)/l+(t<n?6:0);break;case t:o=(n-e)/l+2;break;case n:o=(e-t)/l+4;break}o/=6}return{h:o,s:a,v:s}}function h0e(e,t,n){e=_r(e,360)*6,t=_r(t,100),n=_r(n,100);var r=Math.floor(e),i=e-r,o=n*(1-t),a=n*(1-i*t),s=n*(1-(1-i)*t),l=r%6,u=[n,a,o,o,s,n][l],c=[s,n,n,a,o,o][l],f=[o,o,s,n,n,a][l];return{r:u*255,g:c*255,b:f*255}}function Q7(e,t,n,r){var i=[al(Math.round(e).toString(16)),al(Math.round(t).toString(16)),al(Math.round(n).toString(16))];return r&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function p0e(e,t,n,r,i){var o=[al(Math.round(e).toString(16)),al(Math.round(t).toString(16)),al(Math.round(n).toString(16)),al(RQ(r))];return i&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}function H7(e,t,n,r){var i=[al(RQ(r)),al(Math.round(e).toString(16)),al(Math.round(t).toString(16)),al(Math.round(n).toString(16))];return i.join("")}at.equals=function(e,t){return!e||!t?!1:at(e).toRgbString()==at(t).toRgbString()};at.random=function(){return at.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})};function v0e(e,t){t=t===0?0:t||10;var n=at(e).toHsl();return n.s-=t/100,n.s=QS(n.s),at(n)}function g0e(e,t){t=t===0?0:t||10;var n=at(e).toHsl();return n.s+=t/100,n.s=QS(n.s),at(n)}function m0e(e){return at(e).desaturate(100)}function y0e(e,t){t=t===0?0:t||10;var n=at(e).toHsl();return n.l+=t/100,n.l=QS(n.l),at(n)}function A0e(e,t){t=t===0?0:t||10;var n=at(e).toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),at(n)}function R0e(e,t){t=t===0?0:t||10;var n=at(e).toHsl();return n.l-=t/100,n.l=QS(n.l),at(n)}function b0e(e,t){var n=at(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,at(n)}function x0e(e){var t=at(e).toHsl();return t.h=(t.h+180)%360,at(t)}function K7(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var n=at(e).toHsl(),r=[at(e)],i=360/t,o=1;o<t;o++)r.push(at({h:(n.h+o*i)%360,s:n.s,l:n.l}));return r}function S0e(e){var t=at(e).toHsl(),n=t.h;return[at(e),at({h:(n+72)%360,s:t.s,l:t.l}),at({h:(n+216)%360,s:t.s,l:t.l})]}function w0e(e,t,n){t=t||6,n=n||30;var r=at(e).toHsl(),i=360/n,o=[at(e)];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,o.push(at(r));return o}function M0e(e,t){t=t||6;for(var n=at(e).toHsv(),r=n.h,i=n.s,o=n.v,a=[],s=1/t;t--;)a.push(at({h:r,s:i,v:o})),o=(o+s)%1;return a}at.mix=function(e,t,n){n=n===0?0:n||50;var r=at(e).toRgb(),i=at(t).toRgb(),o=n/100,a={r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a};return at(a)};at.readability=function(e,t){var n=at(e),r=at(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)};at.isReadable=function(e,t,n){var r=at.readability(e,t),i,o;switch(o=!1,i=P0e(n),i.level+i.size){case"AAsmall":case"AAAlarge":o=r>=4.5;break;case"AAlarge":o=r>=3;break;case"AAAsmall":o=r>=7;break}return o};at.mostReadable=function(e,t,n){var r=null,i=0,o,a,s,l;n=n||{},a=n.includeFallbackColors,s=n.level,l=n.size;for(var u=0;u<t.length;u++)o=at.readability(e,t[u]),o>i&&(i=o,r=at(t[u]));return at.isReadable(e,r,{level:s,size:l})||!a?r:(n.includeFallbackColors=!1,at.mostReadable(e,["#fff","#000"],n))};var $8=at.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",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",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},L0e=at.hexNames=T0e($8);function T0e(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function AQ(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function _r(e,t){_0e(e)&&(e="100%");var n=O0e(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function QS(e){return Math.min(1,Math.max(0,e))}function xa(e){return parseInt(e,16)}function _0e(e){return typeof e=="string"&&e.indexOf(".")!=-1&&parseFloat(e)===1}function O0e(e){return typeof e=="string"&&e.indexOf("%")!=-1}function al(e){return e.length==1?"0"+e:""+e}function cg(e){return e<=1&&(e=e*100+"%"),e}function RQ(e){return Math.round(parseFloat(e)*255).toString(16)}function G7(e){return xa(e)/255}var Qs=function(){var e="[-\\+]?\\d+%?",t="[-\\+]?\\d*\\.\\d+%?",n="(?:"+t+")|(?:"+e+")",r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",i="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{CSS_UNIT:new RegExp(n),rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+i),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+i),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+i),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function Nu(e){return!!Qs.CSS_UNIT.exec(e)}function k0e(e){e=e.replace(l0e,"").replace(u0e,"").toLowerCase();var t=!1;if($8[e])e=$8[e],t=!0;else if(e=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n;return(n=Qs.rgb.exec(e))?{r:n[1],g:n[2],b:n[3]}:(n=Qs.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Qs.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=Qs.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Qs.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=Qs.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Qs.hex8.exec(e))?{r:xa(n[1]),g:xa(n[2]),b:xa(n[3]),a:G7(n[4]),format:t?"name":"hex8"}:(n=Qs.hex6.exec(e))?{r:xa(n[1]),g:xa(n[2]),b:xa(n[3]),format:t?"name":"hex"}:(n=Qs.hex4.exec(e))?{r:xa(n[1]+""+n[1]),g:xa(n[2]+""+n[2]),b:xa(n[3]+""+n[3]),a:G7(n[4]+""+n[4]),format:t?"name":"hex8"}:(n=Qs.hex3.exec(e))?{r:xa(n[1]+""+n[1]),g:xa(n[2]+""+n[2]),b:xa(n[3]+""+n[3]),format:t?"name":"hex"}:!1}function P0e(e){var t,n;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),t!=="AA"&&t!=="AAA"&&(t="AA"),n!=="small"&&n!=="large"&&(n="small"),{level:t,size:n}}var Xt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function HS(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function wO(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var cx={exports:{}};/**
|
||
* @license
|
||
* Lodash <https://lodash.com/>
|
||
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
||
* Released under MIT license <https://lodash.com/license>
|
||
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
||
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
||
*/cx.exports;(function(e,t){(function(){var n,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",s="Invalid `variable` option passed into `_.template`",l="__lodash_hash_undefined__",u=500,c="__lodash_placeholder__",f=1,d=2,h=4,p=1,v=2,g=1,m=2,y=4,R=8,A=16,x=32,S=64,_=128,M=256,w=512,L=30,k="...",P=800,F=16,C=1,N=2,I=3,V=1/0,W=9007199254740991,Z=17976931348623157e292,re=NaN,Y=4294967295,B=Y-1,Q=Y>>>1,K=[["ary",_],["bind",g],["bindKey",m],["curry",R],["curryRight",A],["flip",w],["partial",x],["partialRight",S],["rearg",M]],q="[object Arguments]",j="[object Array]",de="[object AsyncFunction]",G="[object Boolean]",Ae="[object Date]",ce="[object DOMException]",fe="[object Error]",le="[object Function]",$="[object GeneratorFunction]",X="[object Map]",J="[object Number]",se="[object Null]",ee="[object Object]",ne="[object Promise]",oe="[object Proxy]",he="[object RegExp]",ue="[object Set]",ge="[object String]",Re="[object Symbol]",Ee="[object Undefined]",Ne="[object WeakMap]",He="[object WeakSet]",Ve="[object ArrayBuffer]",we="[object DataView]",me="[object Float32Array]",Me="[object Float64Array]",Ce="[object Int8Array]",Qe="[object Int16Array]",ot="[object Int32Array]",ke="[object Uint8Array]",je="[object Uint8ClampedArray]",tt="[object Uint16Array]",Rt="[object Uint32Array]",dt=/\b__p \+= '';/g,vt=/\b(__p \+=) '' \+/g,wt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Dt=/&(?:amp|lt|gt|quot|#39);/g,Jt=/[&<>"']/g,Zn=RegExp(Dt.source),Fs=RegExp(Jt.source),xl=/<%-([\s\S]+?)%>/g,Ji=/<%([\s\S]+?)%>/g,y0=/<%=([\s\S]+?)%>/g,vd=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,wu=/^\w*$/,A4=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,A0=/[\\^$.*+?()[\]{}|]/g,yo=RegExp(A0.source),Ka=/^\s+/,xy=/\s/,R4=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Qte=/\{\n\/\* \[wrapped with (.+)\] \*/,Hte=/,? & /,Kte=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Gte=/[()=,{}\[\]\/\s]/,zte=/\\(\\)?/g,Jte=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,sC=/\w*$/,$te=/^[-+]0x[0-9a-f]+$/i,jte=/^0b[01]+$/i,qte=/^\[object .+?Constructor\]$/,ene=/^0o[0-7]+$/i,tne=/^(?:0|[1-9]\d*)$/,nne=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Sy=/($^)/,rne=/['\n\r\u2028\u2029\\]/g,wy="\\ud800-\\udfff",ine="\\u0300-\\u036f",one="\\ufe20-\\ufe2f",ane="\\u20d0-\\u20ff",lC=ine+one+ane,uC="\\u2700-\\u27bf",cC="a-z\\xdf-\\xf6\\xf8-\\xff",sne="\\xac\\xb1\\xd7\\xf7",lne="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",une="\\u2000-\\u206f",cne=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",fC="A-Z\\xc0-\\xd6\\xd8-\\xde",dC="\\ufe0e\\ufe0f",hC=sne+lne+une+cne,b4="['’]",fne="["+wy+"]",pC="["+hC+"]",My="["+lC+"]",vC="\\d+",dne="["+uC+"]",gC="["+cC+"]",mC="[^"+wy+hC+vC+uC+cC+fC+"]",x4="\\ud83c[\\udffb-\\udfff]",hne="(?:"+My+"|"+x4+")",yC="[^"+wy+"]",S4="(?:\\ud83c[\\udde6-\\uddff]){2}",w4="[\\ud800-\\udbff][\\udc00-\\udfff]",R0="["+fC+"]",AC="\\u200d",RC="(?:"+gC+"|"+mC+")",pne="(?:"+R0+"|"+mC+")",bC="(?:"+b4+"(?:d|ll|m|re|s|t|ve))?",xC="(?:"+b4+"(?:D|LL|M|RE|S|T|VE))?",SC=hne+"?",wC="["+dC+"]?",vne="(?:"+AC+"(?:"+[yC,S4,w4].join("|")+")"+wC+SC+")*",gne="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",mne="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",MC=wC+SC+vne,yne="(?:"+[dne,S4,w4].join("|")+")"+MC,Ane="(?:"+[yC+My+"?",My,S4,w4,fne].join("|")+")",Rne=RegExp(b4,"g"),bne=RegExp(My,"g"),M4=RegExp(x4+"(?="+x4+")|"+Ane+MC,"g"),xne=RegExp([R0+"?"+gC+"+"+bC+"(?="+[pC,R0,"$"].join("|")+")",pne+"+"+xC+"(?="+[pC,R0+RC,"$"].join("|")+")",R0+"?"+RC+"+"+bC,R0+"+"+xC,mne,gne,vC,yne].join("|"),"g"),Sne=RegExp("["+AC+wy+lC+dC+"]"),wne=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Mne=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Lne=-1,Rr={};Rr[me]=Rr[Me]=Rr[Ce]=Rr[Qe]=Rr[ot]=Rr[ke]=Rr[je]=Rr[tt]=Rr[Rt]=!0,Rr[q]=Rr[j]=Rr[Ve]=Rr[G]=Rr[we]=Rr[Ae]=Rr[fe]=Rr[le]=Rr[X]=Rr[J]=Rr[ee]=Rr[he]=Rr[ue]=Rr[ge]=Rr[Ne]=!1;var hr={};hr[q]=hr[j]=hr[Ve]=hr[we]=hr[G]=hr[Ae]=hr[me]=hr[Me]=hr[Ce]=hr[Qe]=hr[ot]=hr[X]=hr[J]=hr[ee]=hr[he]=hr[ue]=hr[ge]=hr[Re]=hr[ke]=hr[je]=hr[tt]=hr[Rt]=!0,hr[fe]=hr[le]=hr[Ne]=!1;var Tne={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},_ne={"&":"&","<":"<",">":">",'"':""","'":"'"},One={"&":"&","<":"<",">":">",""":'"',"'":"'"},kne={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Pne=parseFloat,Cne=parseInt,LC=typeof Xt=="object"&&Xt&&Xt.Object===Object&&Xt,Ine=typeof self=="object"&&self&&self.Object===Object&&self,Ni=LC||Ine||Function("return this")(),L4=t&&!t.nodeType&&t,gd=L4&&!0&&e&&!e.nodeType&&e,TC=gd&&gd.exports===L4,T4=TC&&LC.process,Ga=function(){try{var Ie=gd&&gd.require&&gd.require("util").types;return Ie||T4&&T4.binding&&T4.binding("util")}catch{}}(),_C=Ga&&Ga.isArrayBuffer,OC=Ga&&Ga.isDate,kC=Ga&&Ga.isMap,PC=Ga&&Ga.isRegExp,CC=Ga&&Ga.isSet,IC=Ga&&Ga.isTypedArray;function va(Ie,Je,Ze){switch(Ze.length){case 0:return Ie.call(Je);case 1:return Ie.call(Je,Ze[0]);case 2:return Ie.call(Je,Ze[0],Ze[1]);case 3:return Ie.call(Je,Ze[0],Ze[1],Ze[2])}return Ie.apply(Je,Ze)}function Nne(Ie,Je,Ze,Lt){for(var ln=-1,Qn=Ie==null?0:Ie.length;++ln<Qn;){var fi=Ie[ln];Je(Lt,fi,Ze(fi),Ie)}return Lt}function za(Ie,Je){for(var Ze=-1,Lt=Ie==null?0:Ie.length;++Ze<Lt&&Je(Ie[Ze],Ze,Ie)!==!1;);return Ie}function Fne(Ie,Je){for(var Ze=Ie==null?0:Ie.length;Ze--&&Je(Ie[Ze],Ze,Ie)!==!1;);return Ie}function NC(Ie,Je){for(var Ze=-1,Lt=Ie==null?0:Ie.length;++Ze<Lt;)if(!Je(Ie[Ze],Ze,Ie))return!1;return!0}function xc(Ie,Je){for(var Ze=-1,Lt=Ie==null?0:Ie.length,ln=0,Qn=[];++Ze<Lt;){var fi=Ie[Ze];Je(fi,Ze,Ie)&&(Qn[ln++]=fi)}return Qn}function Ly(Ie,Je){var Ze=Ie==null?0:Ie.length;return!!Ze&&b0(Ie,Je,0)>-1}function _4(Ie,Je,Ze){for(var Lt=-1,ln=Ie==null?0:Ie.length;++Lt<ln;)if(Ze(Je,Ie[Lt]))return!0;return!1}function Mr(Ie,Je){for(var Ze=-1,Lt=Ie==null?0:Ie.length,ln=Array(Lt);++Ze<Lt;)ln[Ze]=Je(Ie[Ze],Ze,Ie);return ln}function Sc(Ie,Je){for(var Ze=-1,Lt=Je.length,ln=Ie.length;++Ze<Lt;)Ie[ln+Ze]=Je[Ze];return Ie}function O4(Ie,Je,Ze,Lt){var ln=-1,Qn=Ie==null?0:Ie.length;for(Lt&&Qn&&(Ze=Ie[++ln]);++ln<Qn;)Ze=Je(Ze,Ie[ln],ln,Ie);return Ze}function Ene(Ie,Je,Ze,Lt){var ln=Ie==null?0:Ie.length;for(Lt&&ln&&(Ze=Ie[--ln]);ln--;)Ze=Je(Ze,Ie[ln],ln,Ie);return Ze}function k4(Ie,Je){for(var Ze=-1,Lt=Ie==null?0:Ie.length;++Ze<Lt;)if(Je(Ie[Ze],Ze,Ie))return!0;return!1}var Xne=P4("length");function Wne(Ie){return Ie.split("")}function Vne(Ie){return Ie.match(Kte)||[]}function FC(Ie,Je,Ze){var Lt;return Ze(Ie,function(ln,Qn,fi){if(Je(ln,Qn,fi))return Lt=Qn,!1}),Lt}function Ty(Ie,Je,Ze,Lt){for(var ln=Ie.length,Qn=Ze+(Lt?1:-1);Lt?Qn--:++Qn<ln;)if(Je(Ie[Qn],Qn,Ie))return Qn;return-1}function b0(Ie,Je,Ze){return Je===Je?$ne(Ie,Je,Ze):Ty(Ie,EC,Ze)}function Dne(Ie,Je,Ze,Lt){for(var ln=Ze-1,Qn=Ie.length;++ln<Qn;)if(Lt(Ie[ln],Je))return ln;return-1}function EC(Ie){return Ie!==Ie}function XC(Ie,Je){var Ze=Ie==null?0:Ie.length;return Ze?I4(Ie,Je)/Ze:re}function P4(Ie){return function(Je){return Je==null?n:Je[Ie]}}function C4(Ie){return function(Je){return Ie==null?n:Ie[Je]}}function WC(Ie,Je,Ze,Lt,ln){return ln(Ie,function(Qn,fi,ur){Ze=Lt?(Lt=!1,Qn):Je(Ze,Qn,fi,ur)}),Ze}function Une(Ie,Je){var Ze=Ie.length;for(Ie.sort(Je);Ze--;)Ie[Ze]=Ie[Ze].value;return Ie}function I4(Ie,Je){for(var Ze,Lt=-1,ln=Ie.length;++Lt<ln;){var Qn=Je(Ie[Lt]);Qn!==n&&(Ze=Ze===n?Qn:Ze+Qn)}return Ze}function N4(Ie,Je){for(var Ze=-1,Lt=Array(Ie);++Ze<Ie;)Lt[Ze]=Je(Ze);return Lt}function Bne(Ie,Je){return Mr(Je,function(Ze){return[Ze,Ie[Ze]]})}function VC(Ie){return Ie&&Ie.slice(0,YC(Ie)+1).replace(Ka,"")}function ga(Ie){return function(Je){return Ie(Je)}}function F4(Ie,Je){return Mr(Je,function(Ze){return Ie[Ze]})}function s1(Ie,Je){return Ie.has(Je)}function DC(Ie,Je){for(var Ze=-1,Lt=Ie.length;++Ze<Lt&&b0(Je,Ie[Ze],0)>-1;);return Ze}function UC(Ie,Je){for(var Ze=Ie.length;Ze--&&b0(Je,Ie[Ze],0)>-1;);return Ze}function Yne(Ie,Je){for(var Ze=Ie.length,Lt=0;Ze--;)Ie[Ze]===Je&&++Lt;return Lt}var Zne=C4(Tne),Qne=C4(_ne);function Hne(Ie){return"\\"+kne[Ie]}function Kne(Ie,Je){return Ie==null?n:Ie[Je]}function x0(Ie){return Sne.test(Ie)}function Gne(Ie){return wne.test(Ie)}function zne(Ie){for(var Je,Ze=[];!(Je=Ie.next()).done;)Ze.push(Je.value);return Ze}function E4(Ie){var Je=-1,Ze=Array(Ie.size);return Ie.forEach(function(Lt,ln){Ze[++Je]=[ln,Lt]}),Ze}function BC(Ie,Je){return function(Ze){return Ie(Je(Ze))}}function wc(Ie,Je){for(var Ze=-1,Lt=Ie.length,ln=0,Qn=[];++Ze<Lt;){var fi=Ie[Ze];(fi===Je||fi===c)&&(Ie[Ze]=c,Qn[ln++]=Ze)}return Qn}function _y(Ie){var Je=-1,Ze=Array(Ie.size);return Ie.forEach(function(Lt){Ze[++Je]=Lt}),Ze}function Jne(Ie){var Je=-1,Ze=Array(Ie.size);return Ie.forEach(function(Lt){Ze[++Je]=[Lt,Lt]}),Ze}function $ne(Ie,Je,Ze){for(var Lt=Ze-1,ln=Ie.length;++Lt<ln;)if(Ie[Lt]===Je)return Lt;return-1}function jne(Ie,Je,Ze){for(var Lt=Ze+1;Lt--;)if(Ie[Lt]===Je)return Lt;return Lt}function S0(Ie){return x0(Ie)?ere(Ie):Xne(Ie)}function Es(Ie){return x0(Ie)?tre(Ie):Wne(Ie)}function YC(Ie){for(var Je=Ie.length;Je--&&xy.test(Ie.charAt(Je)););return Je}var qne=C4(One);function ere(Ie){for(var Je=M4.lastIndex=0;M4.test(Ie);)++Je;return Je}function tre(Ie){return Ie.match(M4)||[]}function nre(Ie){return Ie.match(xne)||[]}var rre=function Ie(Je){Je=Je==null?Ni:w0.defaults(Ni.Object(),Je,w0.pick(Ni,Mne));var Ze=Je.Array,Lt=Je.Date,ln=Je.Error,Qn=Je.Function,fi=Je.Math,ur=Je.Object,X4=Je.RegExp,ire=Je.String,Ja=Je.TypeError,Oy=Ze.prototype,ore=Qn.prototype,M0=ur.prototype,ky=Je["__core-js_shared__"],Py=ore.toString,nr=M0.hasOwnProperty,are=0,ZC=function(){var b=/[^.]+$/.exec(ky&&ky.keys&&ky.keys.IE_PROTO||"");return b?"Symbol(src)_1."+b:""}(),Cy=M0.toString,sre=Py.call(ur),lre=Ni._,ure=X4("^"+Py.call(nr).replace(A0,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Iy=TC?Je.Buffer:n,Mc=Je.Symbol,Ny=Je.Uint8Array,QC=Iy?Iy.allocUnsafe:n,Fy=BC(ur.getPrototypeOf,ur),HC=ur.create,KC=M0.propertyIsEnumerable,Ey=Oy.splice,GC=Mc?Mc.isConcatSpreadable:n,l1=Mc?Mc.iterator:n,md=Mc?Mc.toStringTag:n,Xy=function(){try{var b=xd(ur,"defineProperty");return b({},"",{}),b}catch{}}(),cre=Je.clearTimeout!==Ni.clearTimeout&&Je.clearTimeout,fre=Lt&&Lt.now!==Ni.Date.now&&Lt.now,dre=Je.setTimeout!==Ni.setTimeout&&Je.setTimeout,Wy=fi.ceil,Vy=fi.floor,W4=ur.getOwnPropertySymbols,hre=Iy?Iy.isBuffer:n,zC=Je.isFinite,pre=Oy.join,vre=BC(ur.keys,ur),di=fi.max,$i=fi.min,gre=Lt.now,mre=Je.parseInt,JC=fi.random,yre=Oy.reverse,V4=xd(Je,"DataView"),u1=xd(Je,"Map"),D4=xd(Je,"Promise"),L0=xd(Je,"Set"),c1=xd(Je,"WeakMap"),f1=xd(ur,"create"),Dy=c1&&new c1,T0={},Are=Sd(V4),Rre=Sd(u1),bre=Sd(D4),xre=Sd(L0),Sre=Sd(c1),Uy=Mc?Mc.prototype:n,d1=Uy?Uy.valueOf:n,$C=Uy?Uy.toString:n;function ve(b){if(Dr(b)&&!fn(b)&&!(b instanceof Tn)){if(b instanceof $a)return b;if(nr.call(b,"__wrapped__"))return jI(b)}return new $a(b)}var _0=function(){function b(){}return function(T){if(!Nr(T))return{};if(HC)return HC(T);b.prototype=T;var E=new b;return b.prototype=n,E}}();function By(){}function $a(b,T){this.__wrapped__=b,this.__actions__=[],this.__chain__=!!T,this.__index__=0,this.__values__=n}ve.templateSettings={escape:xl,evaluate:Ji,interpolate:y0,variable:"",imports:{_:ve}},ve.prototype=By.prototype,ve.prototype.constructor=ve,$a.prototype=_0(By.prototype),$a.prototype.constructor=$a;function Tn(b){this.__wrapped__=b,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Y,this.__views__=[]}function wre(){var b=new Tn(this.__wrapped__);return b.__actions__=Eo(this.__actions__),b.__dir__=this.__dir__,b.__filtered__=this.__filtered__,b.__iteratees__=Eo(this.__iteratees__),b.__takeCount__=this.__takeCount__,b.__views__=Eo(this.__views__),b}function Mre(){if(this.__filtered__){var b=new Tn(this);b.__dir__=-1,b.__filtered__=!0}else b=this.clone(),b.__dir__*=-1;return b}function Lre(){var b=this.__wrapped__.value(),T=this.__dir__,E=fn(b),H=T<0,ae=E?b.length:0,ye=Wie(0,ae,this.__views__),be=ye.start,Te=ye.end,Fe=Te-be,rt=H?Te:be-1,it=this.__iteratees__,st=it.length,xt=0,Ct=$i(Fe,this.__takeCount__);if(!E||!H&&ae==Fe&&Ct==Fe)return bI(b,this.__actions__);var Ut=[];e:for(;Fe--&&xt<Ct;){rt+=T;for(var yn=-1,Bt=b[rt];++yn<st;){var wn=it[yn],Cn=wn.iteratee,Aa=wn.type,bo=Cn(Bt);if(Aa==N)Bt=bo;else if(!bo){if(Aa==C)continue e;break e}}Ut[xt++]=Bt}return Ut}Tn.prototype=_0(By.prototype),Tn.prototype.constructor=Tn;function yd(b){var T=-1,E=b==null?0:b.length;for(this.clear();++T<E;){var H=b[T];this.set(H[0],H[1])}}function Tre(){this.__data__=f1?f1(null):{},this.size=0}function _re(b){var T=this.has(b)&&delete this.__data__[b];return this.size-=T?1:0,T}function Ore(b){var T=this.__data__;if(f1){var E=T[b];return E===l?n:E}return nr.call(T,b)?T[b]:n}function kre(b){var T=this.__data__;return f1?T[b]!==n:nr.call(T,b)}function Pre(b,T){var E=this.__data__;return this.size+=this.has(b)?0:1,E[b]=f1&&T===n?l:T,this}yd.prototype.clear=Tre,yd.prototype.delete=_re,yd.prototype.get=Ore,yd.prototype.has=kre,yd.prototype.set=Pre;function Mu(b){var T=-1,E=b==null?0:b.length;for(this.clear();++T<E;){var H=b[T];this.set(H[0],H[1])}}function Cre(){this.__data__=[],this.size=0}function Ire(b){var T=this.__data__,E=Yy(T,b);if(E<0)return!1;var H=T.length-1;return E==H?T.pop():Ey.call(T,E,1),--this.size,!0}function Nre(b){var T=this.__data__,E=Yy(T,b);return E<0?n:T[E][1]}function Fre(b){return Yy(this.__data__,b)>-1}function Ere(b,T){var E=this.__data__,H=Yy(E,b);return H<0?(++this.size,E.push([b,T])):E[H][1]=T,this}Mu.prototype.clear=Cre,Mu.prototype.delete=Ire,Mu.prototype.get=Nre,Mu.prototype.has=Fre,Mu.prototype.set=Ere;function Lu(b){var T=-1,E=b==null?0:b.length;for(this.clear();++T<E;){var H=b[T];this.set(H[0],H[1])}}function Xre(){this.size=0,this.__data__={hash:new yd,map:new(u1||Mu),string:new yd}}function Wre(b){var T=tA(this,b).delete(b);return this.size-=T?1:0,T}function Vre(b){return tA(this,b).get(b)}function Dre(b){return tA(this,b).has(b)}function Ure(b,T){var E=tA(this,b),H=E.size;return E.set(b,T),this.size+=E.size==H?0:1,this}Lu.prototype.clear=Xre,Lu.prototype.delete=Wre,Lu.prototype.get=Vre,Lu.prototype.has=Dre,Lu.prototype.set=Ure;function Ad(b){var T=-1,E=b==null?0:b.length;for(this.__data__=new Lu;++T<E;)this.add(b[T])}function Bre(b){return this.__data__.set(b,l),this}function Yre(b){return this.__data__.has(b)}Ad.prototype.add=Ad.prototype.push=Bre,Ad.prototype.has=Yre;function Xs(b){var T=this.__data__=new Mu(b);this.size=T.size}function Zre(){this.__data__=new Mu,this.size=0}function Qre(b){var T=this.__data__,E=T.delete(b);return this.size=T.size,E}function Hre(b){return this.__data__.get(b)}function Kre(b){return this.__data__.has(b)}function Gre(b,T){var E=this.__data__;if(E instanceof Mu){var H=E.__data__;if(!u1||H.length<i-1)return H.push([b,T]),this.size=++E.size,this;E=this.__data__=new Lu(H)}return E.set(b,T),this.size=E.size,this}Xs.prototype.clear=Zre,Xs.prototype.delete=Qre,Xs.prototype.get=Hre,Xs.prototype.has=Kre,Xs.prototype.set=Gre;function jC(b,T){var E=fn(b),H=!E&&wd(b),ae=!E&&!H&&kc(b),ye=!E&&!H&&!ae&&C0(b),be=E||H||ae||ye,Te=be?N4(b.length,ire):[],Fe=Te.length;for(var rt in b)(T||nr.call(b,rt))&&!(be&&(rt=="length"||ae&&(rt=="offset"||rt=="parent")||ye&&(rt=="buffer"||rt=="byteLength"||rt=="byteOffset")||ku(rt,Fe)))&&Te.push(rt);return Te}function qC(b){var T=b.length;return T?b[$4(0,T-1)]:n}function zre(b,T){return nA(Eo(b),Rd(T,0,b.length))}function Jre(b){return nA(Eo(b))}function U4(b,T,E){(E!==n&&!Ws(b[T],E)||E===n&&!(T in b))&&Tu(b,T,E)}function h1(b,T,E){var H=b[T];(!(nr.call(b,T)&&Ws(H,E))||E===n&&!(T in b))&&Tu(b,T,E)}function Yy(b,T){for(var E=b.length;E--;)if(Ws(b[E][0],T))return E;return-1}function $re(b,T,E,H){return Lc(b,function(ae,ye,be){T(H,ae,E(ae),be)}),H}function eI(b,T){return b&&wl(T,bi(T),b)}function jre(b,T){return b&&wl(T,Wo(T),b)}function Tu(b,T,E){T=="__proto__"&&Xy?Xy(b,T,{configurable:!0,enumerable:!0,value:E,writable:!0}):b[T]=E}function B4(b,T){for(var E=-1,H=T.length,ae=Ze(H),ye=b==null;++E<H;)ae[E]=ye?n:xw(b,T[E]);return ae}function Rd(b,T,E){return b===b&&(E!==n&&(b=b<=E?b:E),T!==n&&(b=b>=T?b:T)),b}function ja(b,T,E,H,ae,ye){var be,Te=T&f,Fe=T&d,rt=T&h;if(E&&(be=ae?E(b,H,ae,ye):E(b)),be!==n)return be;if(!Nr(b))return b;var it=fn(b);if(it){if(be=Die(b),!Te)return Eo(b,be)}else{var st=ji(b),xt=st==le||st==$;if(kc(b))return wI(b,Te);if(st==ee||st==q||xt&&!ae){if(be=Fe||xt?{}:YI(b),!Te)return Fe?Oie(b,jre(be,b)):_ie(b,eI(be,b))}else{if(!hr[st])return ae?b:{};be=Uie(b,st,Te)}}ye||(ye=new Xs);var Ct=ye.get(b);if(Ct)return Ct;ye.set(b,be),yN(b)?b.forEach(function(Bt){be.add(ja(Bt,T,E,Bt,b,ye))}):gN(b)&&b.forEach(function(Bt,wn){be.set(wn,ja(Bt,T,E,wn,b,ye))});var Ut=rt?Fe?lw:sw:Fe?Wo:bi,yn=it?n:Ut(b);return za(yn||b,function(Bt,wn){yn&&(wn=Bt,Bt=b[wn]),h1(be,wn,ja(Bt,T,E,wn,b,ye))}),be}function qre(b){var T=bi(b);return function(E){return tI(E,b,T)}}function tI(b,T,E){var H=E.length;if(b==null)return!H;for(b=ur(b);H--;){var ae=E[H],ye=T[ae],be=b[ae];if(be===n&&!(ae in b)||!ye(be))return!1}return!0}function nI(b,T,E){if(typeof b!="function")throw new Ja(a);return R1(function(){b.apply(n,E)},T)}function p1(b,T,E,H){var ae=-1,ye=Ly,be=!0,Te=b.length,Fe=[],rt=T.length;if(!Te)return Fe;E&&(T=Mr(T,ga(E))),H?(ye=_4,be=!1):T.length>=i&&(ye=s1,be=!1,T=new Ad(T));e:for(;++ae<Te;){var it=b[ae],st=E==null?it:E(it);if(it=H||it!==0?it:0,be&&st===st){for(var xt=rt;xt--;)if(T[xt]===st)continue e;Fe.push(it)}else ye(T,st,H)||Fe.push(it)}return Fe}var Lc=OI(Sl),rI=OI(Z4,!0);function eie(b,T){var E=!0;return Lc(b,function(H,ae,ye){return E=!!T(H,ae,ye),E}),E}function Zy(b,T,E){for(var H=-1,ae=b.length;++H<ae;){var ye=b[H],be=T(ye);if(be!=null&&(Te===n?be===be&&!ya(be):E(be,Te)))var Te=be,Fe=ye}return Fe}function tie(b,T,E,H){var ae=b.length;for(E=mn(E),E<0&&(E=-E>ae?0:ae+E),H=H===n||H>ae?ae:mn(H),H<0&&(H+=ae),H=E>H?0:RN(H);E<H;)b[E++]=T;return b}function iI(b,T){var E=[];return Lc(b,function(H,ae,ye){T(H,ae,ye)&&E.push(H)}),E}function Fi(b,T,E,H,ae){var ye=-1,be=b.length;for(E||(E=Yie),ae||(ae=[]);++ye<be;){var Te=b[ye];T>0&&E(Te)?T>1?Fi(Te,T-1,E,H,ae):Sc(ae,Te):H||(ae[ae.length]=Te)}return ae}var Y4=kI(),oI=kI(!0);function Sl(b,T){return b&&Y4(b,T,bi)}function Z4(b,T){return b&&oI(b,T,bi)}function Qy(b,T){return xc(T,function(E){return Pu(b[E])})}function bd(b,T){T=_c(T,b);for(var E=0,H=T.length;b!=null&&E<H;)b=b[Ml(T[E++])];return E&&E==H?b:n}function aI(b,T,E){var H=T(b);return fn(b)?H:Sc(H,E(b))}function Ao(b){return b==null?b===n?Ee:se:md&&md in ur(b)?Xie(b):Jie(b)}function Q4(b,T){return b>T}function nie(b,T){return b!=null&&nr.call(b,T)}function rie(b,T){return b!=null&&T in ur(b)}function iie(b,T,E){return b>=$i(T,E)&&b<di(T,E)}function H4(b,T,E){for(var H=E?_4:Ly,ae=b[0].length,ye=b.length,be=ye,Te=Ze(ye),Fe=1/0,rt=[];be--;){var it=b[be];be&&T&&(it=Mr(it,ga(T))),Fe=$i(it.length,Fe),Te[be]=!E&&(T||ae>=120&&it.length>=120)?new Ad(be&&it):n}it=b[0];var st=-1,xt=Te[0];e:for(;++st<ae&&rt.length<Fe;){var Ct=it[st],Ut=T?T(Ct):Ct;if(Ct=E||Ct!==0?Ct:0,!(xt?s1(xt,Ut):H(rt,Ut,E))){for(be=ye;--be;){var yn=Te[be];if(!(yn?s1(yn,Ut):H(b[be],Ut,E)))continue e}xt&&xt.push(Ut),rt.push(Ct)}}return rt}function oie(b,T,E,H){return Sl(b,function(ae,ye,be){T(H,E(ae),ye,be)}),H}function v1(b,T,E){T=_c(T,b),b=KI(b,T);var H=b==null?b:b[Ml(es(T))];return H==null?n:va(H,b,E)}function sI(b){return Dr(b)&&Ao(b)==q}function aie(b){return Dr(b)&&Ao(b)==Ve}function sie(b){return Dr(b)&&Ao(b)==Ae}function g1(b,T,E,H,ae){return b===T?!0:b==null||T==null||!Dr(b)&&!Dr(T)?b!==b&&T!==T:lie(b,T,E,H,g1,ae)}function lie(b,T,E,H,ae,ye){var be=fn(b),Te=fn(T),Fe=be?j:ji(b),rt=Te?j:ji(T);Fe=Fe==q?ee:Fe,rt=rt==q?ee:rt;var it=Fe==ee,st=rt==ee,xt=Fe==rt;if(xt&&kc(b)){if(!kc(T))return!1;be=!0,it=!1}if(xt&&!it)return ye||(ye=new Xs),be||C0(b)?DI(b,T,E,H,ae,ye):Fie(b,T,Fe,E,H,ae,ye);if(!(E&p)){var Ct=it&&nr.call(b,"__wrapped__"),Ut=st&&nr.call(T,"__wrapped__");if(Ct||Ut){var yn=Ct?b.value():b,Bt=Ut?T.value():T;return ye||(ye=new Xs),ae(yn,Bt,E,H,ye)}}return xt?(ye||(ye=new Xs),Eie(b,T,E,H,ae,ye)):!1}function uie(b){return Dr(b)&&ji(b)==X}function K4(b,T,E,H){var ae=E.length,ye=ae,be=!H;if(b==null)return!ye;for(b=ur(b);ae--;){var Te=E[ae];if(be&&Te[2]?Te[1]!==b[Te[0]]:!(Te[0]in b))return!1}for(;++ae<ye;){Te=E[ae];var Fe=Te[0],rt=b[Fe],it=Te[1];if(be&&Te[2]){if(rt===n&&!(Fe in b))return!1}else{var st=new Xs;if(H)var xt=H(rt,it,Fe,b,T,st);if(!(xt===n?g1(it,rt,p|v,H,st):xt))return!1}}return!0}function lI(b){if(!Nr(b)||Qie(b))return!1;var T=Pu(b)?ure:qte;return T.test(Sd(b))}function cie(b){return Dr(b)&&Ao(b)==he}function fie(b){return Dr(b)&&ji(b)==ue}function die(b){return Dr(b)&&lA(b.length)&&!!Rr[Ao(b)]}function uI(b){return typeof b=="function"?b:b==null?Vo:typeof b=="object"?fn(b)?dI(b[0],b[1]):fI(b):PN(b)}function G4(b){if(!A1(b))return vre(b);var T=[];for(var E in ur(b))nr.call(b,E)&&E!="constructor"&&T.push(E);return T}function hie(b){if(!Nr(b))return zie(b);var T=A1(b),E=[];for(var H in b)H=="constructor"&&(T||!nr.call(b,H))||E.push(H);return E}function z4(b,T){return b<T}function cI(b,T){var E=-1,H=Xo(b)?Ze(b.length):[];return Lc(b,function(ae,ye,be){H[++E]=T(ae,ye,be)}),H}function fI(b){var T=cw(b);return T.length==1&&T[0][2]?QI(T[0][0],T[0][1]):function(E){return E===b||K4(E,b,T)}}function dI(b,T){return dw(b)&&ZI(T)?QI(Ml(b),T):function(E){var H=xw(E,b);return H===n&&H===T?Sw(E,b):g1(T,H,p|v)}}function Hy(b,T,E,H,ae){b!==T&&Y4(T,function(ye,be){if(ae||(ae=new Xs),Nr(ye))pie(b,T,be,E,Hy,H,ae);else{var Te=H?H(pw(b,be),ye,be+"",b,T,ae):n;Te===n&&(Te=ye),U4(b,be,Te)}},Wo)}function pie(b,T,E,H,ae,ye,be){var Te=pw(b,E),Fe=pw(T,E),rt=be.get(Fe);if(rt){U4(b,E,rt);return}var it=ye?ye(Te,Fe,E+"",b,T,be):n,st=it===n;if(st){var xt=fn(Fe),Ct=!xt&&kc(Fe),Ut=!xt&&!Ct&&C0(Fe);it=Fe,xt||Ct||Ut?fn(Te)?it=Te:$r(Te)?it=Eo(Te):Ct?(st=!1,it=wI(Fe,!0)):Ut?(st=!1,it=MI(Fe,!0)):it=[]:b1(Fe)||wd(Fe)?(it=Te,wd(Te)?it=bN(Te):(!Nr(Te)||Pu(Te))&&(it=YI(Fe))):st=!1}st&&(be.set(Fe,it),ae(it,Fe,H,ye,be),be.delete(Fe)),U4(b,E,it)}function hI(b,T){var E=b.length;if(E)return T+=T<0?E:0,ku(T,E)?b[T]:n}function pI(b,T,E){T.length?T=Mr(T,function(ye){return fn(ye)?function(be){return bd(be,ye.length===1?ye[0]:ye)}:ye}):T=[Vo];var H=-1;T=Mr(T,ga(Vt()));var ae=cI(b,function(ye,be,Te){var Fe=Mr(T,function(rt){return rt(ye)});return{criteria:Fe,index:++H,value:ye}});return Une(ae,function(ye,be){return Tie(ye,be,E)})}function vie(b,T){return vI(b,T,function(E,H){return Sw(b,H)})}function vI(b,T,E){for(var H=-1,ae=T.length,ye={};++H<ae;){var be=T[H],Te=bd(b,be);E(Te,be)&&m1(ye,_c(be,b),Te)}return ye}function gie(b){return function(T){return bd(T,b)}}function J4(b,T,E,H){var ae=H?Dne:b0,ye=-1,be=T.length,Te=b;for(b===T&&(T=Eo(T)),E&&(Te=Mr(b,ga(E)));++ye<be;)for(var Fe=0,rt=T[ye],it=E?E(rt):rt;(Fe=ae(Te,it,Fe,H))>-1;)Te!==b&&Ey.call(Te,Fe,1),Ey.call(b,Fe,1);return b}function gI(b,T){for(var E=b?T.length:0,H=E-1;E--;){var ae=T[E];if(E==H||ae!==ye){var ye=ae;ku(ae)?Ey.call(b,ae,1):ew(b,ae)}}return b}function $4(b,T){return b+Vy(JC()*(T-b+1))}function mie(b,T,E,H){for(var ae=-1,ye=di(Wy((T-b)/(E||1)),0),be=Ze(ye);ye--;)be[H?ye:++ae]=b,b+=E;return be}function j4(b,T){var E="";if(!b||T<1||T>W)return E;do T%2&&(E+=b),T=Vy(T/2),T&&(b+=b);while(T);return E}function Rn(b,T){return vw(HI(b,T,Vo),b+"")}function yie(b){return qC(I0(b))}function Aie(b,T){var E=I0(b);return nA(E,Rd(T,0,E.length))}function m1(b,T,E,H){if(!Nr(b))return b;T=_c(T,b);for(var ae=-1,ye=T.length,be=ye-1,Te=b;Te!=null&&++ae<ye;){var Fe=Ml(T[ae]),rt=E;if(Fe==="__proto__"||Fe==="constructor"||Fe==="prototype")return b;if(ae!=be){var it=Te[Fe];rt=H?H(it,Fe,Te):n,rt===n&&(rt=Nr(it)?it:ku(T[ae+1])?[]:{})}h1(Te,Fe,rt),Te=Te[Fe]}return b}var mI=Dy?function(b,T){return Dy.set(b,T),b}:Vo,Rie=Xy?function(b,T){return Xy(b,"toString",{configurable:!0,enumerable:!1,value:Mw(T),writable:!0})}:Vo;function bie(b){return nA(I0(b))}function qa(b,T,E){var H=-1,ae=b.length;T<0&&(T=-T>ae?0:ae+T),E=E>ae?ae:E,E<0&&(E+=ae),ae=T>E?0:E-T>>>0,T>>>=0;for(var ye=Ze(ae);++H<ae;)ye[H]=b[H+T];return ye}function xie(b,T){var E;return Lc(b,function(H,ae,ye){return E=T(H,ae,ye),!E}),!!E}function Ky(b,T,E){var H=0,ae=b==null?H:b.length;if(typeof T=="number"&&T===T&&ae<=Q){for(;H<ae;){var ye=H+ae>>>1,be=b[ye];be!==null&&!ya(be)&&(E?be<=T:be<T)?H=ye+1:ae=ye}return ae}return q4(b,T,Vo,E)}function q4(b,T,E,H){var ae=0,ye=b==null?0:b.length;if(ye===0)return 0;T=E(T);for(var be=T!==T,Te=T===null,Fe=ya(T),rt=T===n;ae<ye;){var it=Vy((ae+ye)/2),st=E(b[it]),xt=st!==n,Ct=st===null,Ut=st===st,yn=ya(st);if(be)var Bt=H||Ut;else rt?Bt=Ut&&(H||xt):Te?Bt=Ut&&xt&&(H||!Ct):Fe?Bt=Ut&&xt&&!Ct&&(H||!yn):Ct||yn?Bt=!1:Bt=H?st<=T:st<T;Bt?ae=it+1:ye=it}return $i(ye,B)}function yI(b,T){for(var E=-1,H=b.length,ae=0,ye=[];++E<H;){var be=b[E],Te=T?T(be):be;if(!E||!Ws(Te,Fe)){var Fe=Te;ye[ae++]=be===0?0:be}}return ye}function AI(b){return typeof b=="number"?b:ya(b)?re:+b}function ma(b){if(typeof b=="string")return b;if(fn(b))return Mr(b,ma)+"";if(ya(b))return $C?$C.call(b):"";var T=b+"";return T=="0"&&1/b==-V?"-0":T}function Tc(b,T,E){var H=-1,ae=Ly,ye=b.length,be=!0,Te=[],Fe=Te;if(E)be=!1,ae=_4;else if(ye>=i){var rt=T?null:Iie(b);if(rt)return _y(rt);be=!1,ae=s1,Fe=new Ad}else Fe=T?[]:Te;e:for(;++H<ye;){var it=b[H],st=T?T(it):it;if(it=E||it!==0?it:0,be&&st===st){for(var xt=Fe.length;xt--;)if(Fe[xt]===st)continue e;T&&Fe.push(st),Te.push(it)}else ae(Fe,st,E)||(Fe!==Te&&Fe.push(st),Te.push(it))}return Te}function ew(b,T){return T=_c(T,b),b=KI(b,T),b==null||delete b[Ml(es(T))]}function RI(b,T,E,H){return m1(b,T,E(bd(b,T)),H)}function Gy(b,T,E,H){for(var ae=b.length,ye=H?ae:-1;(H?ye--:++ye<ae)&&T(b[ye],ye,b););return E?qa(b,H?0:ye,H?ye+1:ae):qa(b,H?ye+1:0,H?ae:ye)}function bI(b,T){var E=b;return E instanceof Tn&&(E=E.value()),O4(T,function(H,ae){return ae.func.apply(ae.thisArg,Sc([H],ae.args))},E)}function tw(b,T,E){var H=b.length;if(H<2)return H?Tc(b[0]):[];for(var ae=-1,ye=Ze(H);++ae<H;)for(var be=b[ae],Te=-1;++Te<H;)Te!=ae&&(ye[ae]=p1(ye[ae]||be,b[Te],T,E));return Tc(Fi(ye,1),T,E)}function xI(b,T,E){for(var H=-1,ae=b.length,ye=T.length,be={};++H<ae;){var Te=H<ye?T[H]:n;E(be,b[H],Te)}return be}function nw(b){return $r(b)?b:[]}function rw(b){return typeof b=="function"?b:Vo}function _c(b,T){return fn(b)?b:dw(b,T)?[b]:$I($n(b))}var Sie=Rn;function Oc(b,T,E){var H=b.length;return E=E===n?H:E,!T&&E>=H?b:qa(b,T,E)}var SI=cre||function(b){return Ni.clearTimeout(b)};function wI(b,T){if(T)return b.slice();var E=b.length,H=QC?QC(E):new b.constructor(E);return b.copy(H),H}function iw(b){var T=new b.constructor(b.byteLength);return new Ny(T).set(new Ny(b)),T}function wie(b,T){var E=T?iw(b.buffer):b.buffer;return new b.constructor(E,b.byteOffset,b.byteLength)}function Mie(b){var T=new b.constructor(b.source,sC.exec(b));return T.lastIndex=b.lastIndex,T}function Lie(b){return d1?ur(d1.call(b)):{}}function MI(b,T){var E=T?iw(b.buffer):b.buffer;return new b.constructor(E,b.byteOffset,b.length)}function LI(b,T){if(b!==T){var E=b!==n,H=b===null,ae=b===b,ye=ya(b),be=T!==n,Te=T===null,Fe=T===T,rt=ya(T);if(!Te&&!rt&&!ye&&b>T||ye&&be&&Fe&&!Te&&!rt||H&&be&&Fe||!E&&Fe||!ae)return 1;if(!H&&!ye&&!rt&&b<T||rt&&E&&ae&&!H&&!ye||Te&&E&&ae||!be&&ae||!Fe)return-1}return 0}function Tie(b,T,E){for(var H=-1,ae=b.criteria,ye=T.criteria,be=ae.length,Te=E.length;++H<be;){var Fe=LI(ae[H],ye[H]);if(Fe){if(H>=Te)return Fe;var rt=E[H];return Fe*(rt=="desc"?-1:1)}}return b.index-T.index}function TI(b,T,E,H){for(var ae=-1,ye=b.length,be=E.length,Te=-1,Fe=T.length,rt=di(ye-be,0),it=Ze(Fe+rt),st=!H;++Te<Fe;)it[Te]=T[Te];for(;++ae<be;)(st||ae<ye)&&(it[E[ae]]=b[ae]);for(;rt--;)it[Te++]=b[ae++];return it}function _I(b,T,E,H){for(var ae=-1,ye=b.length,be=-1,Te=E.length,Fe=-1,rt=T.length,it=di(ye-Te,0),st=Ze(it+rt),xt=!H;++ae<it;)st[ae]=b[ae];for(var Ct=ae;++Fe<rt;)st[Ct+Fe]=T[Fe];for(;++be<Te;)(xt||ae<ye)&&(st[Ct+E[be]]=b[ae++]);return st}function Eo(b,T){var E=-1,H=b.length;for(T||(T=Ze(H));++E<H;)T[E]=b[E];return T}function wl(b,T,E,H){var ae=!E;E||(E={});for(var ye=-1,be=T.length;++ye<be;){var Te=T[ye],Fe=H?H(E[Te],b[Te],Te,E,b):n;Fe===n&&(Fe=b[Te]),ae?Tu(E,Te,Fe):h1(E,Te,Fe)}return E}function _ie(b,T){return wl(b,fw(b),T)}function Oie(b,T){return wl(b,UI(b),T)}function zy(b,T){return function(E,H){var ae=fn(E)?Nne:$re,ye=T?T():{};return ae(E,b,Vt(H,2),ye)}}function O0(b){return Rn(function(T,E){var H=-1,ae=E.length,ye=ae>1?E[ae-1]:n,be=ae>2?E[2]:n;for(ye=b.length>3&&typeof ye=="function"?(ae--,ye):n,be&&Ro(E[0],E[1],be)&&(ye=ae<3?n:ye,ae=1),T=ur(T);++H<ae;){var Te=E[H];Te&&b(T,Te,H,ye)}return T})}function OI(b,T){return function(E,H){if(E==null)return E;if(!Xo(E))return b(E,H);for(var ae=E.length,ye=T?ae:-1,be=ur(E);(T?ye--:++ye<ae)&&H(be[ye],ye,be)!==!1;);return E}}function kI(b){return function(T,E,H){for(var ae=-1,ye=ur(T),be=H(T),Te=be.length;Te--;){var Fe=be[b?Te:++ae];if(E(ye[Fe],Fe,ye)===!1)break}return T}}function kie(b,T,E){var H=T&g,ae=y1(b);function ye(){var be=this&&this!==Ni&&this instanceof ye?ae:b;return be.apply(H?E:this,arguments)}return ye}function PI(b){return function(T){T=$n(T);var E=x0(T)?Es(T):n,H=E?E[0]:T.charAt(0),ae=E?Oc(E,1).join(""):T.slice(1);return H[b]()+ae}}function k0(b){return function(T){return O4(ON(_N(T).replace(Rne,"")),b,"")}}function y1(b){return function(){var T=arguments;switch(T.length){case 0:return new b;case 1:return new b(T[0]);case 2:return new b(T[0],T[1]);case 3:return new b(T[0],T[1],T[2]);case 4:return new b(T[0],T[1],T[2],T[3]);case 5:return new b(T[0],T[1],T[2],T[3],T[4]);case 6:return new b(T[0],T[1],T[2],T[3],T[4],T[5]);case 7:return new b(T[0],T[1],T[2],T[3],T[4],T[5],T[6])}var E=_0(b.prototype),H=b.apply(E,T);return Nr(H)?H:E}}function Pie(b,T,E){var H=y1(b);function ae(){for(var ye=arguments.length,be=Ze(ye),Te=ye,Fe=P0(ae);Te--;)be[Te]=arguments[Te];var rt=ye<3&&be[0]!==Fe&&be[ye-1]!==Fe?[]:wc(be,Fe);if(ye-=rt.length,ye<E)return EI(b,T,Jy,ae.placeholder,n,be,rt,n,n,E-ye);var it=this&&this!==Ni&&this instanceof ae?H:b;return va(it,this,be)}return ae}function CI(b){return function(T,E,H){var ae=ur(T);if(!Xo(T)){var ye=Vt(E,3);T=bi(T),E=function(Te){return ye(ae[Te],Te,ae)}}var be=b(T,E,H);return be>-1?ae[ye?T[be]:be]:n}}function II(b){return Ou(function(T){var E=T.length,H=E,ae=$a.prototype.thru;for(b&&T.reverse();H--;){var ye=T[H];if(typeof ye!="function")throw new Ja(a);if(ae&&!be&&eA(ye)=="wrapper")var be=new $a([],!0)}for(H=be?H:E;++H<E;){ye=T[H];var Te=eA(ye),Fe=Te=="wrapper"?uw(ye):n;Fe&&hw(Fe[0])&&Fe[1]==(_|R|x|M)&&!Fe[4].length&&Fe[9]==1?be=be[eA(Fe[0])].apply(be,Fe[3]):be=ye.length==1&&hw(ye)?be[Te]():be.thru(ye)}return function(){var rt=arguments,it=rt[0];if(be&&rt.length==1&&fn(it))return be.plant(it).value();for(var st=0,xt=E?T[st].apply(this,rt):it;++st<E;)xt=T[st].call(this,xt);return xt}})}function Jy(b,T,E,H,ae,ye,be,Te,Fe,rt){var it=T&_,st=T&g,xt=T&m,Ct=T&(R|A),Ut=T&w,yn=xt?n:y1(b);function Bt(){for(var wn=arguments.length,Cn=Ze(wn),Aa=wn;Aa--;)Cn[Aa]=arguments[Aa];if(Ct)var bo=P0(Bt),Ra=Yne(Cn,bo);if(H&&(Cn=TI(Cn,H,ae,Ct)),ye&&(Cn=_I(Cn,ye,be,Ct)),wn-=Ra,Ct&&wn<rt){var jr=wc(Cn,bo);return EI(b,T,Jy,Bt.placeholder,E,Cn,jr,Te,Fe,rt-wn)}var Vs=st?E:this,Iu=xt?Vs[b]:b;return wn=Cn.length,Te?Cn=$ie(Cn,Te):Ut&&wn>1&&Cn.reverse(),it&&Fe<wn&&(Cn.length=Fe),this&&this!==Ni&&this instanceof Bt&&(Iu=yn||y1(Iu)),Iu.apply(Vs,Cn)}return Bt}function NI(b,T){return function(E,H){return oie(E,b,T(H),{})}}function $y(b,T){return function(E,H){var ae;if(E===n&&H===n)return T;if(E!==n&&(ae=E),H!==n){if(ae===n)return H;typeof E=="string"||typeof H=="string"?(E=ma(E),H=ma(H)):(E=AI(E),H=AI(H)),ae=b(E,H)}return ae}}function ow(b){return Ou(function(T){return T=Mr(T,ga(Vt())),Rn(function(E){var H=this;return b(T,function(ae){return va(ae,H,E)})})})}function jy(b,T){T=T===n?" ":ma(T);var E=T.length;if(E<2)return E?j4(T,b):T;var H=j4(T,Wy(b/S0(T)));return x0(T)?Oc(Es(H),0,b).join(""):H.slice(0,b)}function Cie(b,T,E,H){var ae=T&g,ye=y1(b);function be(){for(var Te=-1,Fe=arguments.length,rt=-1,it=H.length,st=Ze(it+Fe),xt=this&&this!==Ni&&this instanceof be?ye:b;++rt<it;)st[rt]=H[rt];for(;Fe--;)st[rt++]=arguments[++Te];return va(xt,ae?E:this,st)}return be}function FI(b){return function(T,E,H){return H&&typeof H!="number"&&Ro(T,E,H)&&(E=H=n),T=Cu(T),E===n?(E=T,T=0):E=Cu(E),H=H===n?T<E?1:-1:Cu(H),mie(T,E,H,b)}}function qy(b){return function(T,E){return typeof T=="string"&&typeof E=="string"||(T=ts(T),E=ts(E)),b(T,E)}}function EI(b,T,E,H,ae,ye,be,Te,Fe,rt){var it=T&R,st=it?be:n,xt=it?n:be,Ct=it?ye:n,Ut=it?n:ye;T|=it?x:S,T&=~(it?S:x),T&y||(T&=~(g|m));var yn=[b,T,ae,Ct,st,Ut,xt,Te,Fe,rt],Bt=E.apply(n,yn);return hw(b)&&GI(Bt,yn),Bt.placeholder=H,zI(Bt,b,T)}function aw(b){var T=fi[b];return function(E,H){if(E=ts(E),H=H==null?0:$i(mn(H),292),H&&zC(E)){var ae=($n(E)+"e").split("e"),ye=T(ae[0]+"e"+(+ae[1]+H));return ae=($n(ye)+"e").split("e"),+(ae[0]+"e"+(+ae[1]-H))}return T(E)}}var Iie=L0&&1/_y(new L0([,-0]))[1]==V?function(b){return new L0(b)}:_w;function XI(b){return function(T){var E=ji(T);return E==X?E4(T):E==ue?Jne(T):Bne(T,b(T))}}function _u(b,T,E,H,ae,ye,be,Te){var Fe=T&m;if(!Fe&&typeof b!="function")throw new Ja(a);var rt=H?H.length:0;if(rt||(T&=~(x|S),H=ae=n),be=be===n?be:di(mn(be),0),Te=Te===n?Te:mn(Te),rt-=ae?ae.length:0,T&S){var it=H,st=ae;H=ae=n}var xt=Fe?n:uw(b),Ct=[b,T,E,H,ae,it,st,ye,be,Te];if(xt&&Gie(Ct,xt),b=Ct[0],T=Ct[1],E=Ct[2],H=Ct[3],ae=Ct[4],Te=Ct[9]=Ct[9]===n?Fe?0:b.length:di(Ct[9]-rt,0),!Te&&T&(R|A)&&(T&=~(R|A)),!T||T==g)var Ut=kie(b,T,E);else T==R||T==A?Ut=Pie(b,T,Te):(T==x||T==(g|x))&&!ae.length?Ut=Cie(b,T,E,H):Ut=Jy.apply(n,Ct);var yn=xt?mI:GI;return zI(yn(Ut,Ct),b,T)}function WI(b,T,E,H){return b===n||Ws(b,M0[E])&&!nr.call(H,E)?T:b}function VI(b,T,E,H,ae,ye){return Nr(b)&&Nr(T)&&(ye.set(T,b),Hy(b,T,n,VI,ye),ye.delete(T)),b}function Nie(b){return b1(b)?n:b}function DI(b,T,E,H,ae,ye){var be=E&p,Te=b.length,Fe=T.length;if(Te!=Fe&&!(be&&Fe>Te))return!1;var rt=ye.get(b),it=ye.get(T);if(rt&&it)return rt==T&&it==b;var st=-1,xt=!0,Ct=E&v?new Ad:n;for(ye.set(b,T),ye.set(T,b);++st<Te;){var Ut=b[st],yn=T[st];if(H)var Bt=be?H(yn,Ut,st,T,b,ye):H(Ut,yn,st,b,T,ye);if(Bt!==n){if(Bt)continue;xt=!1;break}if(Ct){if(!k4(T,function(wn,Cn){if(!s1(Ct,Cn)&&(Ut===wn||ae(Ut,wn,E,H,ye)))return Ct.push(Cn)})){xt=!1;break}}else if(!(Ut===yn||ae(Ut,yn,E,H,ye))){xt=!1;break}}return ye.delete(b),ye.delete(T),xt}function Fie(b,T,E,H,ae,ye,be){switch(E){case we:if(b.byteLength!=T.byteLength||b.byteOffset!=T.byteOffset)return!1;b=b.buffer,T=T.buffer;case Ve:return!(b.byteLength!=T.byteLength||!ye(new Ny(b),new Ny(T)));case G:case Ae:case J:return Ws(+b,+T);case fe:return b.name==T.name&&b.message==T.message;case he:case ge:return b==T+"";case X:var Te=E4;case ue:var Fe=H&p;if(Te||(Te=_y),b.size!=T.size&&!Fe)return!1;var rt=be.get(b);if(rt)return rt==T;H|=v,be.set(b,T);var it=DI(Te(b),Te(T),H,ae,ye,be);return be.delete(b),it;case Re:if(d1)return d1.call(b)==d1.call(T)}return!1}function Eie(b,T,E,H,ae,ye){var be=E&p,Te=sw(b),Fe=Te.length,rt=sw(T),it=rt.length;if(Fe!=it&&!be)return!1;for(var st=Fe;st--;){var xt=Te[st];if(!(be?xt in T:nr.call(T,xt)))return!1}var Ct=ye.get(b),Ut=ye.get(T);if(Ct&&Ut)return Ct==T&&Ut==b;var yn=!0;ye.set(b,T),ye.set(T,b);for(var Bt=be;++st<Fe;){xt=Te[st];var wn=b[xt],Cn=T[xt];if(H)var Aa=be?H(Cn,wn,xt,T,b,ye):H(wn,Cn,xt,b,T,ye);if(!(Aa===n?wn===Cn||ae(wn,Cn,E,H,ye):Aa)){yn=!1;break}Bt||(Bt=xt=="constructor")}if(yn&&!Bt){var bo=b.constructor,Ra=T.constructor;bo!=Ra&&"constructor"in b&&"constructor"in T&&!(typeof bo=="function"&&bo instanceof bo&&typeof Ra=="function"&&Ra instanceof Ra)&&(yn=!1)}return ye.delete(b),ye.delete(T),yn}function Ou(b){return vw(HI(b,n,tN),b+"")}function sw(b){return aI(b,bi,fw)}function lw(b){return aI(b,Wo,UI)}var uw=Dy?function(b){return Dy.get(b)}:_w;function eA(b){for(var T=b.name+"",E=T0[T],H=nr.call(T0,T)?E.length:0;H--;){var ae=E[H],ye=ae.func;if(ye==null||ye==b)return ae.name}return T}function P0(b){var T=nr.call(ve,"placeholder")?ve:b;return T.placeholder}function Vt(){var b=ve.iteratee||Lw;return b=b===Lw?uI:b,arguments.length?b(arguments[0],arguments[1]):b}function tA(b,T){var E=b.__data__;return Zie(T)?E[typeof T=="string"?"string":"hash"]:E.map}function cw(b){for(var T=bi(b),E=T.length;E--;){var H=T[E],ae=b[H];T[E]=[H,ae,ZI(ae)]}return T}function xd(b,T){var E=Kne(b,T);return lI(E)?E:n}function Xie(b){var T=nr.call(b,md),E=b[md];try{b[md]=n;var H=!0}catch{}var ae=Cy.call(b);return H&&(T?b[md]=E:delete b[md]),ae}var fw=W4?function(b){return b==null?[]:(b=ur(b),xc(W4(b),function(T){return KC.call(b,T)}))}:Ow,UI=W4?function(b){for(var T=[];b;)Sc(T,fw(b)),b=Fy(b);return T}:Ow,ji=Ao;(V4&&ji(new V4(new ArrayBuffer(1)))!=we||u1&&ji(new u1)!=X||D4&&ji(D4.resolve())!=ne||L0&&ji(new L0)!=ue||c1&&ji(new c1)!=Ne)&&(ji=function(b){var T=Ao(b),E=T==ee?b.constructor:n,H=E?Sd(E):"";if(H)switch(H){case Are:return we;case Rre:return X;case bre:return ne;case xre:return ue;case Sre:return Ne}return T});function Wie(b,T,E){for(var H=-1,ae=E.length;++H<ae;){var ye=E[H],be=ye.size;switch(ye.type){case"drop":b+=be;break;case"dropRight":T-=be;break;case"take":T=$i(T,b+be);break;case"takeRight":b=di(b,T-be);break}}return{start:b,end:T}}function Vie(b){var T=b.match(Qte);return T?T[1].split(Hte):[]}function BI(b,T,E){T=_c(T,b);for(var H=-1,ae=T.length,ye=!1;++H<ae;){var be=Ml(T[H]);if(!(ye=b!=null&&E(b,be)))break;b=b[be]}return ye||++H!=ae?ye:(ae=b==null?0:b.length,!!ae&&lA(ae)&&ku(be,ae)&&(fn(b)||wd(b)))}function Die(b){var T=b.length,E=new b.constructor(T);return T&&typeof b[0]=="string"&&nr.call(b,"index")&&(E.index=b.index,E.input=b.input),E}function YI(b){return typeof b.constructor=="function"&&!A1(b)?_0(Fy(b)):{}}function Uie(b,T,E){var H=b.constructor;switch(T){case Ve:return iw(b);case G:case Ae:return new H(+b);case we:return wie(b,E);case me:case Me:case Ce:case Qe:case ot:case ke:case je:case tt:case Rt:return MI(b,E);case X:return new H;case J:case ge:return new H(b);case he:return Mie(b);case ue:return new H;case Re:return Lie(b)}}function Bie(b,T){var E=T.length;if(!E)return b;var H=E-1;return T[H]=(E>1?"& ":"")+T[H],T=T.join(E>2?", ":" "),b.replace(R4,`{
|
||
/* [wrapped with `+T+`] */
|
||
`)}function Yie(b){return fn(b)||wd(b)||!!(GC&&b&&b[GC])}function ku(b,T){var E=typeof b;return T=T??W,!!T&&(E=="number"||E!="symbol"&&tne.test(b))&&b>-1&&b%1==0&&b<T}function Ro(b,T,E){if(!Nr(E))return!1;var H=typeof T;return(H=="number"?Xo(E)&&ku(T,E.length):H=="string"&&T in E)?Ws(E[T],b):!1}function dw(b,T){if(fn(b))return!1;var E=typeof b;return E=="number"||E=="symbol"||E=="boolean"||b==null||ya(b)?!0:wu.test(b)||!vd.test(b)||T!=null&&b in ur(T)}function Zie(b){var T=typeof b;return T=="string"||T=="number"||T=="symbol"||T=="boolean"?b!=="__proto__":b===null}function hw(b){var T=eA(b),E=ve[T];if(typeof E!="function"||!(T in Tn.prototype))return!1;if(b===E)return!0;var H=uw(E);return!!H&&b===H[0]}function Qie(b){return!!ZC&&ZC in b}var Hie=ky?Pu:kw;function A1(b){var T=b&&b.constructor,E=typeof T=="function"&&T.prototype||M0;return b===E}function ZI(b){return b===b&&!Nr(b)}function QI(b,T){return function(E){return E==null?!1:E[b]===T&&(T!==n||b in ur(E))}}function Kie(b){var T=aA(b,function(H){return E.size===u&&E.clear(),H}),E=T.cache;return T}function Gie(b,T){var E=b[1],H=T[1],ae=E|H,ye=ae<(g|m|_),be=H==_&&E==R||H==_&&E==M&&b[7].length<=T[8]||H==(_|M)&&T[7].length<=T[8]&&E==R;if(!(ye||be))return b;H&g&&(b[2]=T[2],ae|=E&g?0:y);var Te=T[3];if(Te){var Fe=b[3];b[3]=Fe?TI(Fe,Te,T[4]):Te,b[4]=Fe?wc(b[3],c):T[4]}return Te=T[5],Te&&(Fe=b[5],b[5]=Fe?_I(Fe,Te,T[6]):Te,b[6]=Fe?wc(b[5],c):T[6]),Te=T[7],Te&&(b[7]=Te),H&_&&(b[8]=b[8]==null?T[8]:$i(b[8],T[8])),b[9]==null&&(b[9]=T[9]),b[0]=T[0],b[1]=ae,b}function zie(b){var T=[];if(b!=null)for(var E in ur(b))T.push(E);return T}function Jie(b){return Cy.call(b)}function HI(b,T,E){return T=di(T===n?b.length-1:T,0),function(){for(var H=arguments,ae=-1,ye=di(H.length-T,0),be=Ze(ye);++ae<ye;)be[ae]=H[T+ae];ae=-1;for(var Te=Ze(T+1);++ae<T;)Te[ae]=H[ae];return Te[T]=E(be),va(b,this,Te)}}function KI(b,T){return T.length<2?b:bd(b,qa(T,0,-1))}function $ie(b,T){for(var E=b.length,H=$i(T.length,E),ae=Eo(b);H--;){var ye=T[H];b[H]=ku(ye,E)?ae[ye]:n}return b}function pw(b,T){if(!(T==="constructor"&&typeof b[T]=="function")&&T!="__proto__")return b[T]}var GI=JI(mI),R1=dre||function(b,T){return Ni.setTimeout(b,T)},vw=JI(Rie);function zI(b,T,E){var H=T+"";return vw(b,Bie(H,jie(Vie(H),E)))}function JI(b){var T=0,E=0;return function(){var H=gre(),ae=F-(H-E);if(E=H,ae>0){if(++T>=P)return arguments[0]}else T=0;return b.apply(n,arguments)}}function nA(b,T){var E=-1,H=b.length,ae=H-1;for(T=T===n?H:T;++E<T;){var ye=$4(E,ae),be=b[ye];b[ye]=b[E],b[E]=be}return b.length=T,b}var $I=Kie(function(b){var T=[];return b.charCodeAt(0)===46&&T.push(""),b.replace(A4,function(E,H,ae,ye){T.push(ae?ye.replace(zte,"$1"):H||E)}),T});function Ml(b){if(typeof b=="string"||ya(b))return b;var T=b+"";return T=="0"&&1/b==-V?"-0":T}function Sd(b){if(b!=null){try{return Py.call(b)}catch{}try{return b+""}catch{}}return""}function jie(b,T){return za(K,function(E){var H="_."+E[0];T&E[1]&&!Ly(b,H)&&b.push(H)}),b.sort()}function jI(b){if(b instanceof Tn)return b.clone();var T=new $a(b.__wrapped__,b.__chain__);return T.__actions__=Eo(b.__actions__),T.__index__=b.__index__,T.__values__=b.__values__,T}function qie(b,T,E){(E?Ro(b,T,E):T===n)?T=1:T=di(mn(T),0);var H=b==null?0:b.length;if(!H||T<1)return[];for(var ae=0,ye=0,be=Ze(Wy(H/T));ae<H;)be[ye++]=qa(b,ae,ae+=T);return be}function eoe(b){for(var T=-1,E=b==null?0:b.length,H=0,ae=[];++T<E;){var ye=b[T];ye&&(ae[H++]=ye)}return ae}function toe(){var b=arguments.length;if(!b)return[];for(var T=Ze(b-1),E=arguments[0],H=b;H--;)T[H-1]=arguments[H];return Sc(fn(E)?Eo(E):[E],Fi(T,1))}var noe=Rn(function(b,T){return $r(b)?p1(b,Fi(T,1,$r,!0)):[]}),roe=Rn(function(b,T){var E=es(T);return $r(E)&&(E=n),$r(b)?p1(b,Fi(T,1,$r,!0),Vt(E,2)):[]}),ioe=Rn(function(b,T){var E=es(T);return $r(E)&&(E=n),$r(b)?p1(b,Fi(T,1,$r,!0),n,E):[]});function ooe(b,T,E){var H=b==null?0:b.length;return H?(T=E||T===n?1:mn(T),qa(b,T<0?0:T,H)):[]}function aoe(b,T,E){var H=b==null?0:b.length;return H?(T=E||T===n?1:mn(T),T=H-T,qa(b,0,T<0?0:T)):[]}function soe(b,T){return b&&b.length?Gy(b,Vt(T,3),!0,!0):[]}function loe(b,T){return b&&b.length?Gy(b,Vt(T,3),!0):[]}function uoe(b,T,E,H){var ae=b==null?0:b.length;return ae?(E&&typeof E!="number"&&Ro(b,T,E)&&(E=0,H=ae),tie(b,T,E,H)):[]}function qI(b,T,E){var H=b==null?0:b.length;if(!H)return-1;var ae=E==null?0:mn(E);return ae<0&&(ae=di(H+ae,0)),Ty(b,Vt(T,3),ae)}function eN(b,T,E){var H=b==null?0:b.length;if(!H)return-1;var ae=H-1;return E!==n&&(ae=mn(E),ae=E<0?di(H+ae,0):$i(ae,H-1)),Ty(b,Vt(T,3),ae,!0)}function tN(b){var T=b==null?0:b.length;return T?Fi(b,1):[]}function coe(b){var T=b==null?0:b.length;return T?Fi(b,V):[]}function foe(b,T){var E=b==null?0:b.length;return E?(T=T===n?1:mn(T),Fi(b,T)):[]}function doe(b){for(var T=-1,E=b==null?0:b.length,H={};++T<E;){var ae=b[T];H[ae[0]]=ae[1]}return H}function nN(b){return b&&b.length?b[0]:n}function hoe(b,T,E){var H=b==null?0:b.length;if(!H)return-1;var ae=E==null?0:mn(E);return ae<0&&(ae=di(H+ae,0)),b0(b,T,ae)}function poe(b){var T=b==null?0:b.length;return T?qa(b,0,-1):[]}var voe=Rn(function(b){var T=Mr(b,nw);return T.length&&T[0]===b[0]?H4(T):[]}),goe=Rn(function(b){var T=es(b),E=Mr(b,nw);return T===es(E)?T=n:E.pop(),E.length&&E[0]===b[0]?H4(E,Vt(T,2)):[]}),moe=Rn(function(b){var T=es(b),E=Mr(b,nw);return T=typeof T=="function"?T:n,T&&E.pop(),E.length&&E[0]===b[0]?H4(E,n,T):[]});function yoe(b,T){return b==null?"":pre.call(b,T)}function es(b){var T=b==null?0:b.length;return T?b[T-1]:n}function Aoe(b,T,E){var H=b==null?0:b.length;if(!H)return-1;var ae=H;return E!==n&&(ae=mn(E),ae=ae<0?di(H+ae,0):$i(ae,H-1)),T===T?jne(b,T,ae):Ty(b,EC,ae,!0)}function Roe(b,T){return b&&b.length?hI(b,mn(T)):n}var boe=Rn(rN);function rN(b,T){return b&&b.length&&T&&T.length?J4(b,T):b}function xoe(b,T,E){return b&&b.length&&T&&T.length?J4(b,T,Vt(E,2)):b}function Soe(b,T,E){return b&&b.length&&T&&T.length?J4(b,T,n,E):b}var woe=Ou(function(b,T){var E=b==null?0:b.length,H=B4(b,T);return gI(b,Mr(T,function(ae){return ku(ae,E)?+ae:ae}).sort(LI)),H});function Moe(b,T){var E=[];if(!(b&&b.length))return E;var H=-1,ae=[],ye=b.length;for(T=Vt(T,3);++H<ye;){var be=b[H];T(be,H,b)&&(E.push(be),ae.push(H))}return gI(b,ae),E}function gw(b){return b==null?b:yre.call(b)}function Loe(b,T,E){var H=b==null?0:b.length;return H?(E&&typeof E!="number"&&Ro(b,T,E)?(T=0,E=H):(T=T==null?0:mn(T),E=E===n?H:mn(E)),qa(b,T,E)):[]}function Toe(b,T){return Ky(b,T)}function _oe(b,T,E){return q4(b,T,Vt(E,2))}function Ooe(b,T){var E=b==null?0:b.length;if(E){var H=Ky(b,T);if(H<E&&Ws(b[H],T))return H}return-1}function koe(b,T){return Ky(b,T,!0)}function Poe(b,T,E){return q4(b,T,Vt(E,2),!0)}function Coe(b,T){var E=b==null?0:b.length;if(E){var H=Ky(b,T,!0)-1;if(Ws(b[H],T))return H}return-1}function Ioe(b){return b&&b.length?yI(b):[]}function Noe(b,T){return b&&b.length?yI(b,Vt(T,2)):[]}function Foe(b){var T=b==null?0:b.length;return T?qa(b,1,T):[]}function Eoe(b,T,E){return b&&b.length?(T=E||T===n?1:mn(T),qa(b,0,T<0?0:T)):[]}function Xoe(b,T,E){var H=b==null?0:b.length;return H?(T=E||T===n?1:mn(T),T=H-T,qa(b,T<0?0:T,H)):[]}function Woe(b,T){return b&&b.length?Gy(b,Vt(T,3),!1,!0):[]}function Voe(b,T){return b&&b.length?Gy(b,Vt(T,3)):[]}var Doe=Rn(function(b){return Tc(Fi(b,1,$r,!0))}),Uoe=Rn(function(b){var T=es(b);return $r(T)&&(T=n),Tc(Fi(b,1,$r,!0),Vt(T,2))}),Boe=Rn(function(b){var T=es(b);return T=typeof T=="function"?T:n,Tc(Fi(b,1,$r,!0),n,T)});function Yoe(b){return b&&b.length?Tc(b):[]}function Zoe(b,T){return b&&b.length?Tc(b,Vt(T,2)):[]}function Qoe(b,T){return T=typeof T=="function"?T:n,b&&b.length?Tc(b,n,T):[]}function mw(b){if(!(b&&b.length))return[];var T=0;return b=xc(b,function(E){if($r(E))return T=di(E.length,T),!0}),N4(T,function(E){return Mr(b,P4(E))})}function iN(b,T){if(!(b&&b.length))return[];var E=mw(b);return T==null?E:Mr(E,function(H){return va(T,n,H)})}var Hoe=Rn(function(b,T){return $r(b)?p1(b,T):[]}),Koe=Rn(function(b){return tw(xc(b,$r))}),Goe=Rn(function(b){var T=es(b);return $r(T)&&(T=n),tw(xc(b,$r),Vt(T,2))}),zoe=Rn(function(b){var T=es(b);return T=typeof T=="function"?T:n,tw(xc(b,$r),n,T)}),Joe=Rn(mw);function $oe(b,T){return xI(b||[],T||[],h1)}function joe(b,T){return xI(b||[],T||[],m1)}var qoe=Rn(function(b){var T=b.length,E=T>1?b[T-1]:n;return E=typeof E=="function"?(b.pop(),E):n,iN(b,E)});function oN(b){var T=ve(b);return T.__chain__=!0,T}function eae(b,T){return T(b),b}function rA(b,T){return T(b)}var tae=Ou(function(b){var T=b.length,E=T?b[0]:0,H=this.__wrapped__,ae=function(ye){return B4(ye,b)};return T>1||this.__actions__.length||!(H instanceof Tn)||!ku(E)?this.thru(ae):(H=H.slice(E,+E+(T?1:0)),H.__actions__.push({func:rA,args:[ae],thisArg:n}),new $a(H,this.__chain__).thru(function(ye){return T&&!ye.length&&ye.push(n),ye}))});function nae(){return oN(this)}function rae(){return new $a(this.value(),this.__chain__)}function iae(){this.__values__===n&&(this.__values__=AN(this.value()));var b=this.__index__>=this.__values__.length,T=b?n:this.__values__[this.__index__++];return{done:b,value:T}}function oae(){return this}function aae(b){for(var T,E=this;E instanceof By;){var H=jI(E);H.__index__=0,H.__values__=n,T?ae.__wrapped__=H:T=H;var ae=H;E=E.__wrapped__}return ae.__wrapped__=b,T}function sae(){var b=this.__wrapped__;if(b instanceof Tn){var T=b;return this.__actions__.length&&(T=new Tn(this)),T=T.reverse(),T.__actions__.push({func:rA,args:[gw],thisArg:n}),new $a(T,this.__chain__)}return this.thru(gw)}function lae(){return bI(this.__wrapped__,this.__actions__)}var uae=zy(function(b,T,E){nr.call(b,E)?++b[E]:Tu(b,E,1)});function cae(b,T,E){var H=fn(b)?NC:eie;return E&&Ro(b,T,E)&&(T=n),H(b,Vt(T,3))}function fae(b,T){var E=fn(b)?xc:iI;return E(b,Vt(T,3))}var dae=CI(qI),hae=CI(eN);function pae(b,T){return Fi(iA(b,T),1)}function vae(b,T){return Fi(iA(b,T),V)}function gae(b,T,E){return E=E===n?1:mn(E),Fi(iA(b,T),E)}function aN(b,T){var E=fn(b)?za:Lc;return E(b,Vt(T,3))}function sN(b,T){var E=fn(b)?Fne:rI;return E(b,Vt(T,3))}var mae=zy(function(b,T,E){nr.call(b,E)?b[E].push(T):Tu(b,E,[T])});function yae(b,T,E,H){b=Xo(b)?b:I0(b),E=E&&!H?mn(E):0;var ae=b.length;return E<0&&(E=di(ae+E,0)),uA(b)?E<=ae&&b.indexOf(T,E)>-1:!!ae&&b0(b,T,E)>-1}var Aae=Rn(function(b,T,E){var H=-1,ae=typeof T=="function",ye=Xo(b)?Ze(b.length):[];return Lc(b,function(be){ye[++H]=ae?va(T,be,E):v1(be,T,E)}),ye}),Rae=zy(function(b,T,E){Tu(b,E,T)});function iA(b,T){var E=fn(b)?Mr:cI;return E(b,Vt(T,3))}function bae(b,T,E,H){return b==null?[]:(fn(T)||(T=T==null?[]:[T]),E=H?n:E,fn(E)||(E=E==null?[]:[E]),pI(b,T,E))}var xae=zy(function(b,T,E){b[E?0:1].push(T)},function(){return[[],[]]});function Sae(b,T,E){var H=fn(b)?O4:WC,ae=arguments.length<3;return H(b,Vt(T,4),E,ae,Lc)}function wae(b,T,E){var H=fn(b)?Ene:WC,ae=arguments.length<3;return H(b,Vt(T,4),E,ae,rI)}function Mae(b,T){var E=fn(b)?xc:iI;return E(b,sA(Vt(T,3)))}function Lae(b){var T=fn(b)?qC:yie;return T(b)}function Tae(b,T,E){(E?Ro(b,T,E):T===n)?T=1:T=mn(T);var H=fn(b)?zre:Aie;return H(b,T)}function _ae(b){var T=fn(b)?Jre:bie;return T(b)}function Oae(b){if(b==null)return 0;if(Xo(b))return uA(b)?S0(b):b.length;var T=ji(b);return T==X||T==ue?b.size:G4(b).length}function kae(b,T,E){var H=fn(b)?k4:xie;return E&&Ro(b,T,E)&&(T=n),H(b,Vt(T,3))}var Pae=Rn(function(b,T){if(b==null)return[];var E=T.length;return E>1&&Ro(b,T[0],T[1])?T=[]:E>2&&Ro(T[0],T[1],T[2])&&(T=[T[0]]),pI(b,Fi(T,1),[])}),oA=fre||function(){return Ni.Date.now()};function Cae(b,T){if(typeof T!="function")throw new Ja(a);return b=mn(b),function(){if(--b<1)return T.apply(this,arguments)}}function lN(b,T,E){return T=E?n:T,T=b&&T==null?b.length:T,_u(b,_,n,n,n,n,T)}function uN(b,T){var E;if(typeof T!="function")throw new Ja(a);return b=mn(b),function(){return--b>0&&(E=T.apply(this,arguments)),b<=1&&(T=n),E}}var yw=Rn(function(b,T,E){var H=g;if(E.length){var ae=wc(E,P0(yw));H|=x}return _u(b,H,T,E,ae)}),cN=Rn(function(b,T,E){var H=g|m;if(E.length){var ae=wc(E,P0(cN));H|=x}return _u(T,H,b,E,ae)});function fN(b,T,E){T=E?n:T;var H=_u(b,R,n,n,n,n,n,T);return H.placeholder=fN.placeholder,H}function dN(b,T,E){T=E?n:T;var H=_u(b,A,n,n,n,n,n,T);return H.placeholder=dN.placeholder,H}function hN(b,T,E){var H,ae,ye,be,Te,Fe,rt=0,it=!1,st=!1,xt=!0;if(typeof b!="function")throw new Ja(a);T=ts(T)||0,Nr(E)&&(it=!!E.leading,st="maxWait"in E,ye=st?di(ts(E.maxWait)||0,T):ye,xt="trailing"in E?!!E.trailing:xt);function Ct(jr){var Vs=H,Iu=ae;return H=ae=n,rt=jr,be=b.apply(Iu,Vs),be}function Ut(jr){return rt=jr,Te=R1(wn,T),it?Ct(jr):be}function yn(jr){var Vs=jr-Fe,Iu=jr-rt,CN=T-Vs;return st?$i(CN,ye-Iu):CN}function Bt(jr){var Vs=jr-Fe,Iu=jr-rt;return Fe===n||Vs>=T||Vs<0||st&&Iu>=ye}function wn(){var jr=oA();if(Bt(jr))return Cn(jr);Te=R1(wn,yn(jr))}function Cn(jr){return Te=n,xt&&H?Ct(jr):(H=ae=n,be)}function Aa(){Te!==n&&SI(Te),rt=0,H=Fe=ae=Te=n}function bo(){return Te===n?be:Cn(oA())}function Ra(){var jr=oA(),Vs=Bt(jr);if(H=arguments,ae=this,Fe=jr,Vs){if(Te===n)return Ut(Fe);if(st)return SI(Te),Te=R1(wn,T),Ct(Fe)}return Te===n&&(Te=R1(wn,T)),be}return Ra.cancel=Aa,Ra.flush=bo,Ra}var Iae=Rn(function(b,T){return nI(b,1,T)}),Nae=Rn(function(b,T,E){return nI(b,ts(T)||0,E)});function Fae(b){return _u(b,w)}function aA(b,T){if(typeof b!="function"||T!=null&&typeof T!="function")throw new Ja(a);var E=function(){var H=arguments,ae=T?T.apply(this,H):H[0],ye=E.cache;if(ye.has(ae))return ye.get(ae);var be=b.apply(this,H);return E.cache=ye.set(ae,be)||ye,be};return E.cache=new(aA.Cache||Lu),E}aA.Cache=Lu;function sA(b){if(typeof b!="function")throw new Ja(a);return function(){var T=arguments;switch(T.length){case 0:return!b.call(this);case 1:return!b.call(this,T[0]);case 2:return!b.call(this,T[0],T[1]);case 3:return!b.call(this,T[0],T[1],T[2])}return!b.apply(this,T)}}function Eae(b){return uN(2,b)}var Xae=Sie(function(b,T){T=T.length==1&&fn(T[0])?Mr(T[0],ga(Vt())):Mr(Fi(T,1),ga(Vt()));var E=T.length;return Rn(function(H){for(var ae=-1,ye=$i(H.length,E);++ae<ye;)H[ae]=T[ae].call(this,H[ae]);return va(b,this,H)})}),Aw=Rn(function(b,T){var E=wc(T,P0(Aw));return _u(b,x,n,T,E)}),pN=Rn(function(b,T){var E=wc(T,P0(pN));return _u(b,S,n,T,E)}),Wae=Ou(function(b,T){return _u(b,M,n,n,n,T)});function Vae(b,T){if(typeof b!="function")throw new Ja(a);return T=T===n?T:mn(T),Rn(b,T)}function Dae(b,T){if(typeof b!="function")throw new Ja(a);return T=T==null?0:di(mn(T),0),Rn(function(E){var H=E[T],ae=Oc(E,0,T);return H&&Sc(ae,H),va(b,this,ae)})}function Uae(b,T,E){var H=!0,ae=!0;if(typeof b!="function")throw new Ja(a);return Nr(E)&&(H="leading"in E?!!E.leading:H,ae="trailing"in E?!!E.trailing:ae),hN(b,T,{leading:H,maxWait:T,trailing:ae})}function Bae(b){return lN(b,1)}function Yae(b,T){return Aw(rw(T),b)}function Zae(){if(!arguments.length)return[];var b=arguments[0];return fn(b)?b:[b]}function Qae(b){return ja(b,h)}function Hae(b,T){return T=typeof T=="function"?T:n,ja(b,h,T)}function Kae(b){return ja(b,f|h)}function Gae(b,T){return T=typeof T=="function"?T:n,ja(b,f|h,T)}function zae(b,T){return T==null||tI(b,T,bi(T))}function Ws(b,T){return b===T||b!==b&&T!==T}var Jae=qy(Q4),$ae=qy(function(b,T){return b>=T}),wd=sI(function(){return arguments}())?sI:function(b){return Dr(b)&&nr.call(b,"callee")&&!KC.call(b,"callee")},fn=Ze.isArray,jae=_C?ga(_C):aie;function Xo(b){return b!=null&&lA(b.length)&&!Pu(b)}function $r(b){return Dr(b)&&Xo(b)}function qae(b){return b===!0||b===!1||Dr(b)&&Ao(b)==G}var kc=hre||kw,ese=OC?ga(OC):sie;function tse(b){return Dr(b)&&b.nodeType===1&&!b1(b)}function nse(b){if(b==null)return!0;if(Xo(b)&&(fn(b)||typeof b=="string"||typeof b.splice=="function"||kc(b)||C0(b)||wd(b)))return!b.length;var T=ji(b);if(T==X||T==ue)return!b.size;if(A1(b))return!G4(b).length;for(var E in b)if(nr.call(b,E))return!1;return!0}function rse(b,T){return g1(b,T)}function ise(b,T,E){E=typeof E=="function"?E:n;var H=E?E(b,T):n;return H===n?g1(b,T,n,E):!!H}function Rw(b){if(!Dr(b))return!1;var T=Ao(b);return T==fe||T==ce||typeof b.message=="string"&&typeof b.name=="string"&&!b1(b)}function ose(b){return typeof b=="number"&&zC(b)}function Pu(b){if(!Nr(b))return!1;var T=Ao(b);return T==le||T==$||T==de||T==oe}function vN(b){return typeof b=="number"&&b==mn(b)}function lA(b){return typeof b=="number"&&b>-1&&b%1==0&&b<=W}function Nr(b){var T=typeof b;return b!=null&&(T=="object"||T=="function")}function Dr(b){return b!=null&&typeof b=="object"}var gN=kC?ga(kC):uie;function ase(b,T){return b===T||K4(b,T,cw(T))}function sse(b,T,E){return E=typeof E=="function"?E:n,K4(b,T,cw(T),E)}function lse(b){return mN(b)&&b!=+b}function use(b){if(Hie(b))throw new ln(o);return lI(b)}function cse(b){return b===null}function fse(b){return b==null}function mN(b){return typeof b=="number"||Dr(b)&&Ao(b)==J}function b1(b){if(!Dr(b)||Ao(b)!=ee)return!1;var T=Fy(b);if(T===null)return!0;var E=nr.call(T,"constructor")&&T.constructor;return typeof E=="function"&&E instanceof E&&Py.call(E)==sre}var bw=PC?ga(PC):cie;function dse(b){return vN(b)&&b>=-W&&b<=W}var yN=CC?ga(CC):fie;function uA(b){return typeof b=="string"||!fn(b)&&Dr(b)&&Ao(b)==ge}function ya(b){return typeof b=="symbol"||Dr(b)&&Ao(b)==Re}var C0=IC?ga(IC):die;function hse(b){return b===n}function pse(b){return Dr(b)&&ji(b)==Ne}function vse(b){return Dr(b)&&Ao(b)==He}var gse=qy(z4),mse=qy(function(b,T){return b<=T});function AN(b){if(!b)return[];if(Xo(b))return uA(b)?Es(b):Eo(b);if(l1&&b[l1])return zne(b[l1]());var T=ji(b),E=T==X?E4:T==ue?_y:I0;return E(b)}function Cu(b){if(!b)return b===0?b:0;if(b=ts(b),b===V||b===-V){var T=b<0?-1:1;return T*Z}return b===b?b:0}function mn(b){var T=Cu(b),E=T%1;return T===T?E?T-E:T:0}function RN(b){return b?Rd(mn(b),0,Y):0}function ts(b){if(typeof b=="number")return b;if(ya(b))return re;if(Nr(b)){var T=typeof b.valueOf=="function"?b.valueOf():b;b=Nr(T)?T+"":T}if(typeof b!="string")return b===0?b:+b;b=VC(b);var E=jte.test(b);return E||ene.test(b)?Cne(b.slice(2),E?2:8):$te.test(b)?re:+b}function bN(b){return wl(b,Wo(b))}function yse(b){return b?Rd(mn(b),-W,W):b===0?b:0}function $n(b){return b==null?"":ma(b)}var Ase=O0(function(b,T){if(A1(T)||Xo(T)){wl(T,bi(T),b);return}for(var E in T)nr.call(T,E)&&h1(b,E,T[E])}),xN=O0(function(b,T){wl(T,Wo(T),b)}),cA=O0(function(b,T,E,H){wl(T,Wo(T),b,H)}),Rse=O0(function(b,T,E,H){wl(T,bi(T),b,H)}),bse=Ou(B4);function xse(b,T){var E=_0(b);return T==null?E:eI(E,T)}var Sse=Rn(function(b,T){b=ur(b);var E=-1,H=T.length,ae=H>2?T[2]:n;for(ae&&Ro(T[0],T[1],ae)&&(H=1);++E<H;)for(var ye=T[E],be=Wo(ye),Te=-1,Fe=be.length;++Te<Fe;){var rt=be[Te],it=b[rt];(it===n||Ws(it,M0[rt])&&!nr.call(b,rt))&&(b[rt]=ye[rt])}return b}),wse=Rn(function(b){return b.push(n,VI),va(SN,n,b)});function Mse(b,T){return FC(b,Vt(T,3),Sl)}function Lse(b,T){return FC(b,Vt(T,3),Z4)}function Tse(b,T){return b==null?b:Y4(b,Vt(T,3),Wo)}function _se(b,T){return b==null?b:oI(b,Vt(T,3),Wo)}function Ose(b,T){return b&&Sl(b,Vt(T,3))}function kse(b,T){return b&&Z4(b,Vt(T,3))}function Pse(b){return b==null?[]:Qy(b,bi(b))}function Cse(b){return b==null?[]:Qy(b,Wo(b))}function xw(b,T,E){var H=b==null?n:bd(b,T);return H===n?E:H}function Ise(b,T){return b!=null&&BI(b,T,nie)}function Sw(b,T){return b!=null&&BI(b,T,rie)}var Nse=NI(function(b,T,E){T!=null&&typeof T.toString!="function"&&(T=Cy.call(T)),b[T]=E},Mw(Vo)),Fse=NI(function(b,T,E){T!=null&&typeof T.toString!="function"&&(T=Cy.call(T)),nr.call(b,T)?b[T].push(E):b[T]=[E]},Vt),Ese=Rn(v1);function bi(b){return Xo(b)?jC(b):G4(b)}function Wo(b){return Xo(b)?jC(b,!0):hie(b)}function Xse(b,T){var E={};return T=Vt(T,3),Sl(b,function(H,ae,ye){Tu(E,T(H,ae,ye),H)}),E}function Wse(b,T){var E={};return T=Vt(T,3),Sl(b,function(H,ae,ye){Tu(E,ae,T(H,ae,ye))}),E}var Vse=O0(function(b,T,E){Hy(b,T,E)}),SN=O0(function(b,T,E,H){Hy(b,T,E,H)}),Dse=Ou(function(b,T){var E={};if(b==null)return E;var H=!1;T=Mr(T,function(ye){return ye=_c(ye,b),H||(H=ye.length>1),ye}),wl(b,lw(b),E),H&&(E=ja(E,f|d|h,Nie));for(var ae=T.length;ae--;)ew(E,T[ae]);return E});function Use(b,T){return wN(b,sA(Vt(T)))}var Bse=Ou(function(b,T){return b==null?{}:vie(b,T)});function wN(b,T){if(b==null)return{};var E=Mr(lw(b),function(H){return[H]});return T=Vt(T),vI(b,E,function(H,ae){return T(H,ae[0])})}function Yse(b,T,E){T=_c(T,b);var H=-1,ae=T.length;for(ae||(ae=1,b=n);++H<ae;){var ye=b==null?n:b[Ml(T[H])];ye===n&&(H=ae,ye=E),b=Pu(ye)?ye.call(b):ye}return b}function Zse(b,T,E){return b==null?b:m1(b,T,E)}function Qse(b,T,E,H){return H=typeof H=="function"?H:n,b==null?b:m1(b,T,E,H)}var MN=XI(bi),LN=XI(Wo);function Hse(b,T,E){var H=fn(b),ae=H||kc(b)||C0(b);if(T=Vt(T,4),E==null){var ye=b&&b.constructor;ae?E=H?new ye:[]:Nr(b)?E=Pu(ye)?_0(Fy(b)):{}:E={}}return(ae?za:Sl)(b,function(be,Te,Fe){return T(E,be,Te,Fe)}),E}function Kse(b,T){return b==null?!0:ew(b,T)}function Gse(b,T,E){return b==null?b:RI(b,T,rw(E))}function zse(b,T,E,H){return H=typeof H=="function"?H:n,b==null?b:RI(b,T,rw(E),H)}function I0(b){return b==null?[]:F4(b,bi(b))}function Jse(b){return b==null?[]:F4(b,Wo(b))}function $se(b,T,E){return E===n&&(E=T,T=n),E!==n&&(E=ts(E),E=E===E?E:0),T!==n&&(T=ts(T),T=T===T?T:0),Rd(ts(b),T,E)}function jse(b,T,E){return T=Cu(T),E===n?(E=T,T=0):E=Cu(E),b=ts(b),iie(b,T,E)}function qse(b,T,E){if(E&&typeof E!="boolean"&&Ro(b,T,E)&&(T=E=n),E===n&&(typeof T=="boolean"?(E=T,T=n):typeof b=="boolean"&&(E=b,b=n)),b===n&&T===n?(b=0,T=1):(b=Cu(b),T===n?(T=b,b=0):T=Cu(T)),b>T){var H=b;b=T,T=H}if(E||b%1||T%1){var ae=JC();return $i(b+ae*(T-b+Pne("1e-"+((ae+"").length-1))),T)}return $4(b,T)}var ele=k0(function(b,T,E){return T=T.toLowerCase(),b+(E?TN(T):T)});function TN(b){return ww($n(b).toLowerCase())}function _N(b){return b=$n(b),b&&b.replace(nne,Zne).replace(bne,"")}function tle(b,T,E){b=$n(b),T=ma(T);var H=b.length;E=E===n?H:Rd(mn(E),0,H);var ae=E;return E-=T.length,E>=0&&b.slice(E,ae)==T}function nle(b){return b=$n(b),b&&Fs.test(b)?b.replace(Jt,Qne):b}function rle(b){return b=$n(b),b&&yo.test(b)?b.replace(A0,"\\$&"):b}var ile=k0(function(b,T,E){return b+(E?"-":"")+T.toLowerCase()}),ole=k0(function(b,T,E){return b+(E?" ":"")+T.toLowerCase()}),ale=PI("toLowerCase");function sle(b,T,E){b=$n(b),T=mn(T);var H=T?S0(b):0;if(!T||H>=T)return b;var ae=(T-H)/2;return jy(Vy(ae),E)+b+jy(Wy(ae),E)}function lle(b,T,E){b=$n(b),T=mn(T);var H=T?S0(b):0;return T&&H<T?b+jy(T-H,E):b}function ule(b,T,E){b=$n(b),T=mn(T);var H=T?S0(b):0;return T&&H<T?jy(T-H,E)+b:b}function cle(b,T,E){return E||T==null?T=0:T&&(T=+T),mre($n(b).replace(Ka,""),T||0)}function fle(b,T,E){return(E?Ro(b,T,E):T===n)?T=1:T=mn(T),j4($n(b),T)}function dle(){var b=arguments,T=$n(b[0]);return b.length<3?T:T.replace(b[1],b[2])}var hle=k0(function(b,T,E){return b+(E?"_":"")+T.toLowerCase()});function ple(b,T,E){return E&&typeof E!="number"&&Ro(b,T,E)&&(T=E=n),E=E===n?Y:E>>>0,E?(b=$n(b),b&&(typeof T=="string"||T!=null&&!bw(T))&&(T=ma(T),!T&&x0(b))?Oc(Es(b),0,E):b.split(T,E)):[]}var vle=k0(function(b,T,E){return b+(E?" ":"")+ww(T)});function gle(b,T,E){return b=$n(b),E=E==null?0:Rd(mn(E),0,b.length),T=ma(T),b.slice(E,E+T.length)==T}function mle(b,T,E){var H=ve.templateSettings;E&&Ro(b,T,E)&&(T=n),b=$n(b),T=cA({},T,H,WI);var ae=cA({},T.imports,H.imports,WI),ye=bi(ae),be=F4(ae,ye),Te,Fe,rt=0,it=T.interpolate||Sy,st="__p += '",xt=X4((T.escape||Sy).source+"|"+it.source+"|"+(it===y0?Jte:Sy).source+"|"+(T.evaluate||Sy).source+"|$","g"),Ct="//# sourceURL="+(nr.call(T,"sourceURL")?(T.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Lne+"]")+`
|
||
`;b.replace(xt,function(Bt,wn,Cn,Aa,bo,Ra){return Cn||(Cn=Aa),st+=b.slice(rt,Ra).replace(rne,Hne),wn&&(Te=!0,st+=`' +
|
||
__e(`+wn+`) +
|
||
'`),bo&&(Fe=!0,st+=`';
|
||
`+bo+`;
|
||
__p += '`),Cn&&(st+=`' +
|
||
((__t = (`+Cn+`)) == null ? '' : __t) +
|
||
'`),rt=Ra+Bt.length,Bt}),st+=`';
|
||
`;var Ut=nr.call(T,"variable")&&T.variable;if(!Ut)st=`with (obj) {
|
||
`+st+`
|
||
}
|
||
`;else if(Gte.test(Ut))throw new ln(s);st=(Fe?st.replace(dt,""):st).replace(vt,"$1").replace(wt,"$1;"),st="function("+(Ut||"obj")+`) {
|
||
`+(Ut?"":`obj || (obj = {});
|
||
`)+"var __t, __p = ''"+(Te?", __e = _.escape":"")+(Fe?`, __j = Array.prototype.join;
|
||
function print() { __p += __j.call(arguments, '') }
|
||
`:`;
|
||
`)+st+`return __p
|
||
}`;var yn=kN(function(){return Qn(ye,Ct+"return "+st).apply(n,be)});if(yn.source=st,Rw(yn))throw yn;return yn}function yle(b){return $n(b).toLowerCase()}function Ale(b){return $n(b).toUpperCase()}function Rle(b,T,E){if(b=$n(b),b&&(E||T===n))return VC(b);if(!b||!(T=ma(T)))return b;var H=Es(b),ae=Es(T),ye=DC(H,ae),be=UC(H,ae)+1;return Oc(H,ye,be).join("")}function ble(b,T,E){if(b=$n(b),b&&(E||T===n))return b.slice(0,YC(b)+1);if(!b||!(T=ma(T)))return b;var H=Es(b),ae=UC(H,Es(T))+1;return Oc(H,0,ae).join("")}function xle(b,T,E){if(b=$n(b),b&&(E||T===n))return b.replace(Ka,"");if(!b||!(T=ma(T)))return b;var H=Es(b),ae=DC(H,Es(T));return Oc(H,ae).join("")}function Sle(b,T){var E=L,H=k;if(Nr(T)){var ae="separator"in T?T.separator:ae;E="length"in T?mn(T.length):E,H="omission"in T?ma(T.omission):H}b=$n(b);var ye=b.length;if(x0(b)){var be=Es(b);ye=be.length}if(E>=ye)return b;var Te=E-S0(H);if(Te<1)return H;var Fe=be?Oc(be,0,Te).join(""):b.slice(0,Te);if(ae===n)return Fe+H;if(be&&(Te+=Fe.length-Te),bw(ae)){if(b.slice(Te).search(ae)){var rt,it=Fe;for(ae.global||(ae=X4(ae.source,$n(sC.exec(ae))+"g")),ae.lastIndex=0;rt=ae.exec(it);)var st=rt.index;Fe=Fe.slice(0,st===n?Te:st)}}else if(b.indexOf(ma(ae),Te)!=Te){var xt=Fe.lastIndexOf(ae);xt>-1&&(Fe=Fe.slice(0,xt))}return Fe+H}function wle(b){return b=$n(b),b&&Zn.test(b)?b.replace(Dt,qne):b}var Mle=k0(function(b,T,E){return b+(E?" ":"")+T.toUpperCase()}),ww=PI("toUpperCase");function ON(b,T,E){return b=$n(b),T=E?n:T,T===n?Gne(b)?nre(b):Vne(b):b.match(T)||[]}var kN=Rn(function(b,T){try{return va(b,n,T)}catch(E){return Rw(E)?E:new ln(E)}}),Lle=Ou(function(b,T){return za(T,function(E){E=Ml(E),Tu(b,E,yw(b[E],b))}),b});function Tle(b){var T=b==null?0:b.length,E=Vt();return b=T?Mr(b,function(H){if(typeof H[1]!="function")throw new Ja(a);return[E(H[0]),H[1]]}):[],Rn(function(H){for(var ae=-1;++ae<T;){var ye=b[ae];if(va(ye[0],this,H))return va(ye[1],this,H)}})}function _le(b){return qre(ja(b,f))}function Mw(b){return function(){return b}}function Ole(b,T){return b==null||b!==b?T:b}var kle=II(),Ple=II(!0);function Vo(b){return b}function Lw(b){return uI(typeof b=="function"?b:ja(b,f))}function Cle(b){return fI(ja(b,f))}function Ile(b,T){return dI(b,ja(T,f))}var Nle=Rn(function(b,T){return function(E){return v1(E,b,T)}}),Fle=Rn(function(b,T){return function(E){return v1(b,E,T)}});function Tw(b,T,E){var H=bi(T),ae=Qy(T,H);E==null&&!(Nr(T)&&(ae.length||!H.length))&&(E=T,T=b,b=this,ae=Qy(T,bi(T)));var ye=!(Nr(E)&&"chain"in E)||!!E.chain,be=Pu(b);return za(ae,function(Te){var Fe=T[Te];b[Te]=Fe,be&&(b.prototype[Te]=function(){var rt=this.__chain__;if(ye||rt){var it=b(this.__wrapped__),st=it.__actions__=Eo(this.__actions__);return st.push({func:Fe,args:arguments,thisArg:b}),it.__chain__=rt,it}return Fe.apply(b,Sc([this.value()],arguments))})}),b}function Ele(){return Ni._===this&&(Ni._=lre),this}function _w(){}function Xle(b){return b=mn(b),Rn(function(T){return hI(T,b)})}var Wle=ow(Mr),Vle=ow(NC),Dle=ow(k4);function PN(b){return dw(b)?P4(Ml(b)):gie(b)}function Ule(b){return function(T){return b==null?n:bd(b,T)}}var Ble=FI(),Yle=FI(!0);function Ow(){return[]}function kw(){return!1}function Zle(){return{}}function Qle(){return""}function Hle(){return!0}function Kle(b,T){if(b=mn(b),b<1||b>W)return[];var E=Y,H=$i(b,Y);T=Vt(T),b-=Y;for(var ae=N4(H,T);++E<b;)T(E);return ae}function Gle(b){return fn(b)?Mr(b,Ml):ya(b)?[b]:Eo($I($n(b)))}function zle(b){var T=++are;return $n(b)+T}var Jle=$y(function(b,T){return b+T},0),$le=aw("ceil"),jle=$y(function(b,T){return b/T},1),qle=aw("floor");function eue(b){return b&&b.length?Zy(b,Vo,Q4):n}function tue(b,T){return b&&b.length?Zy(b,Vt(T,2),Q4):n}function nue(b){return XC(b,Vo)}function rue(b,T){return XC(b,Vt(T,2))}function iue(b){return b&&b.length?Zy(b,Vo,z4):n}function oue(b,T){return b&&b.length?Zy(b,Vt(T,2),z4):n}var aue=$y(function(b,T){return b*T},1),sue=aw("round"),lue=$y(function(b,T){return b-T},0);function uue(b){return b&&b.length?I4(b,Vo):0}function cue(b,T){return b&&b.length?I4(b,Vt(T,2)):0}return ve.after=Cae,ve.ary=lN,ve.assign=Ase,ve.assignIn=xN,ve.assignInWith=cA,ve.assignWith=Rse,ve.at=bse,ve.before=uN,ve.bind=yw,ve.bindAll=Lle,ve.bindKey=cN,ve.castArray=Zae,ve.chain=oN,ve.chunk=qie,ve.compact=eoe,ve.concat=toe,ve.cond=Tle,ve.conforms=_le,ve.constant=Mw,ve.countBy=uae,ve.create=xse,ve.curry=fN,ve.curryRight=dN,ve.debounce=hN,ve.defaults=Sse,ve.defaultsDeep=wse,ve.defer=Iae,ve.delay=Nae,ve.difference=noe,ve.differenceBy=roe,ve.differenceWith=ioe,ve.drop=ooe,ve.dropRight=aoe,ve.dropRightWhile=soe,ve.dropWhile=loe,ve.fill=uoe,ve.filter=fae,ve.flatMap=pae,ve.flatMapDeep=vae,ve.flatMapDepth=gae,ve.flatten=tN,ve.flattenDeep=coe,ve.flattenDepth=foe,ve.flip=Fae,ve.flow=kle,ve.flowRight=Ple,ve.fromPairs=doe,ve.functions=Pse,ve.functionsIn=Cse,ve.groupBy=mae,ve.initial=poe,ve.intersection=voe,ve.intersectionBy=goe,ve.intersectionWith=moe,ve.invert=Nse,ve.invertBy=Fse,ve.invokeMap=Aae,ve.iteratee=Lw,ve.keyBy=Rae,ve.keys=bi,ve.keysIn=Wo,ve.map=iA,ve.mapKeys=Xse,ve.mapValues=Wse,ve.matches=Cle,ve.matchesProperty=Ile,ve.memoize=aA,ve.merge=Vse,ve.mergeWith=SN,ve.method=Nle,ve.methodOf=Fle,ve.mixin=Tw,ve.negate=sA,ve.nthArg=Xle,ve.omit=Dse,ve.omitBy=Use,ve.once=Eae,ve.orderBy=bae,ve.over=Wle,ve.overArgs=Xae,ve.overEvery=Vle,ve.overSome=Dle,ve.partial=Aw,ve.partialRight=pN,ve.partition=xae,ve.pick=Bse,ve.pickBy=wN,ve.property=PN,ve.propertyOf=Ule,ve.pull=boe,ve.pullAll=rN,ve.pullAllBy=xoe,ve.pullAllWith=Soe,ve.pullAt=woe,ve.range=Ble,ve.rangeRight=Yle,ve.rearg=Wae,ve.reject=Mae,ve.remove=Moe,ve.rest=Vae,ve.reverse=gw,ve.sampleSize=Tae,ve.set=Zse,ve.setWith=Qse,ve.shuffle=_ae,ve.slice=Loe,ve.sortBy=Pae,ve.sortedUniq=Ioe,ve.sortedUniqBy=Noe,ve.split=ple,ve.spread=Dae,ve.tail=Foe,ve.take=Eoe,ve.takeRight=Xoe,ve.takeRightWhile=Woe,ve.takeWhile=Voe,ve.tap=eae,ve.throttle=Uae,ve.thru=rA,ve.toArray=AN,ve.toPairs=MN,ve.toPairsIn=LN,ve.toPath=Gle,ve.toPlainObject=bN,ve.transform=Hse,ve.unary=Bae,ve.union=Doe,ve.unionBy=Uoe,ve.unionWith=Boe,ve.uniq=Yoe,ve.uniqBy=Zoe,ve.uniqWith=Qoe,ve.unset=Kse,ve.unzip=mw,ve.unzipWith=iN,ve.update=Gse,ve.updateWith=zse,ve.values=I0,ve.valuesIn=Jse,ve.without=Hoe,ve.words=ON,ve.wrap=Yae,ve.xor=Koe,ve.xorBy=Goe,ve.xorWith=zoe,ve.zip=Joe,ve.zipObject=$oe,ve.zipObjectDeep=joe,ve.zipWith=qoe,ve.entries=MN,ve.entriesIn=LN,ve.extend=xN,ve.extendWith=cA,Tw(ve,ve),ve.add=Jle,ve.attempt=kN,ve.camelCase=ele,ve.capitalize=TN,ve.ceil=$le,ve.clamp=$se,ve.clone=Qae,ve.cloneDeep=Kae,ve.cloneDeepWith=Gae,ve.cloneWith=Hae,ve.conformsTo=zae,ve.deburr=_N,ve.defaultTo=Ole,ve.divide=jle,ve.endsWith=tle,ve.eq=Ws,ve.escape=nle,ve.escapeRegExp=rle,ve.every=cae,ve.find=dae,ve.findIndex=qI,ve.findKey=Mse,ve.findLast=hae,ve.findLastIndex=eN,ve.findLastKey=Lse,ve.floor=qle,ve.forEach=aN,ve.forEachRight=sN,ve.forIn=Tse,ve.forInRight=_se,ve.forOwn=Ose,ve.forOwnRight=kse,ve.get=xw,ve.gt=Jae,ve.gte=$ae,ve.has=Ise,ve.hasIn=Sw,ve.head=nN,ve.identity=Vo,ve.includes=yae,ve.indexOf=hoe,ve.inRange=jse,ve.invoke=Ese,ve.isArguments=wd,ve.isArray=fn,ve.isArrayBuffer=jae,ve.isArrayLike=Xo,ve.isArrayLikeObject=$r,ve.isBoolean=qae,ve.isBuffer=kc,ve.isDate=ese,ve.isElement=tse,ve.isEmpty=nse,ve.isEqual=rse,ve.isEqualWith=ise,ve.isError=Rw,ve.isFinite=ose,ve.isFunction=Pu,ve.isInteger=vN,ve.isLength=lA,ve.isMap=gN,ve.isMatch=ase,ve.isMatchWith=sse,ve.isNaN=lse,ve.isNative=use,ve.isNil=fse,ve.isNull=cse,ve.isNumber=mN,ve.isObject=Nr,ve.isObjectLike=Dr,ve.isPlainObject=b1,ve.isRegExp=bw,ve.isSafeInteger=dse,ve.isSet=yN,ve.isString=uA,ve.isSymbol=ya,ve.isTypedArray=C0,ve.isUndefined=hse,ve.isWeakMap=pse,ve.isWeakSet=vse,ve.join=yoe,ve.kebabCase=ile,ve.last=es,ve.lastIndexOf=Aoe,ve.lowerCase=ole,ve.lowerFirst=ale,ve.lt=gse,ve.lte=mse,ve.max=eue,ve.maxBy=tue,ve.mean=nue,ve.meanBy=rue,ve.min=iue,ve.minBy=oue,ve.stubArray=Ow,ve.stubFalse=kw,ve.stubObject=Zle,ve.stubString=Qle,ve.stubTrue=Hle,ve.multiply=aue,ve.nth=Roe,ve.noConflict=Ele,ve.noop=_w,ve.now=oA,ve.pad=sle,ve.padEnd=lle,ve.padStart=ule,ve.parseInt=cle,ve.random=qse,ve.reduce=Sae,ve.reduceRight=wae,ve.repeat=fle,ve.replace=dle,ve.result=Yse,ve.round=sue,ve.runInContext=Ie,ve.sample=Lae,ve.size=Oae,ve.snakeCase=hle,ve.some=kae,ve.sortedIndex=Toe,ve.sortedIndexBy=_oe,ve.sortedIndexOf=Ooe,ve.sortedLastIndex=koe,ve.sortedLastIndexBy=Poe,ve.sortedLastIndexOf=Coe,ve.startCase=vle,ve.startsWith=gle,ve.subtract=lue,ve.sum=uue,ve.sumBy=cue,ve.template=mle,ve.times=Kle,ve.toFinite=Cu,ve.toInteger=mn,ve.toLength=RN,ve.toLower=yle,ve.toNumber=ts,ve.toSafeInteger=yse,ve.toString=$n,ve.toUpper=Ale,ve.trim=Rle,ve.trimEnd=ble,ve.trimStart=xle,ve.truncate=Sle,ve.unescape=wle,ve.uniqueId=zle,ve.upperCase=Mle,ve.upperFirst=ww,ve.each=aN,ve.eachRight=sN,ve.first=nN,Tw(ve,function(){var b={};return Sl(ve,function(T,E){nr.call(ve.prototype,E)||(b[E]=T)}),b}(),{chain:!1}),ve.VERSION=r,za(["bind","bindKey","curry","curryRight","partial","partialRight"],function(b){ve[b].placeholder=ve}),za(["drop","take"],function(b,T){Tn.prototype[b]=function(E){E=E===n?1:di(mn(E),0);var H=this.__filtered__&&!T?new Tn(this):this.clone();return H.__filtered__?H.__takeCount__=$i(E,H.__takeCount__):H.__views__.push({size:$i(E,Y),type:b+(H.__dir__<0?"Right":"")}),H},Tn.prototype[b+"Right"]=function(E){return this.reverse()[b](E).reverse()}}),za(["filter","map","takeWhile"],function(b,T){var E=T+1,H=E==C||E==I;Tn.prototype[b]=function(ae){var ye=this.clone();return ye.__iteratees__.push({iteratee:Vt(ae,3),type:E}),ye.__filtered__=ye.__filtered__||H,ye}}),za(["head","last"],function(b,T){var E="take"+(T?"Right":"");Tn.prototype[b]=function(){return this[E](1).value()[0]}}),za(["initial","tail"],function(b,T){var E="drop"+(T?"":"Right");Tn.prototype[b]=function(){return this.__filtered__?new Tn(this):this[E](1)}}),Tn.prototype.compact=function(){return this.filter(Vo)},Tn.prototype.find=function(b){return this.filter(b).head()},Tn.prototype.findLast=function(b){return this.reverse().find(b)},Tn.prototype.invokeMap=Rn(function(b,T){return typeof b=="function"?new Tn(this):this.map(function(E){return v1(E,b,T)})}),Tn.prototype.reject=function(b){return this.filter(sA(Vt(b)))},Tn.prototype.slice=function(b,T){b=mn(b);var E=this;return E.__filtered__&&(b>0||T<0)?new Tn(E):(b<0?E=E.takeRight(-b):b&&(E=E.drop(b)),T!==n&&(T=mn(T),E=T<0?E.dropRight(-T):E.take(T-b)),E)},Tn.prototype.takeRightWhile=function(b){return this.reverse().takeWhile(b).reverse()},Tn.prototype.toArray=function(){return this.take(Y)},Sl(Tn.prototype,function(b,T){var E=/^(?:filter|find|map|reject)|While$/.test(T),H=/^(?:head|last)$/.test(T),ae=ve[H?"take"+(T=="last"?"Right":""):T],ye=H||/^find/.test(T);ae&&(ve.prototype[T]=function(){var be=this.__wrapped__,Te=H?[1]:arguments,Fe=be instanceof Tn,rt=Te[0],it=Fe||fn(be),st=function(wn){var Cn=ae.apply(ve,Sc([wn],Te));return H&&xt?Cn[0]:Cn};it&&E&&typeof rt=="function"&&rt.length!=1&&(Fe=it=!1);var xt=this.__chain__,Ct=!!this.__actions__.length,Ut=ye&&!xt,yn=Fe&&!Ct;if(!ye&&it){be=yn?be:new Tn(this);var Bt=b.apply(be,Te);return Bt.__actions__.push({func:rA,args:[st],thisArg:n}),new $a(Bt,xt)}return Ut&&yn?b.apply(this,Te):(Bt=this.thru(st),Ut?H?Bt.value()[0]:Bt.value():Bt)})}),za(["pop","push","shift","sort","splice","unshift"],function(b){var T=Oy[b],E=/^(?:push|sort|unshift)$/.test(b)?"tap":"thru",H=/^(?:pop|shift)$/.test(b);ve.prototype[b]=function(){var ae=arguments;if(H&&!this.__chain__){var ye=this.value();return T.apply(fn(ye)?ye:[],ae)}return this[E](function(be){return T.apply(fn(be)?be:[],ae)})}}),Sl(Tn.prototype,function(b,T){var E=ve[T];if(E){var H=E.name+"";nr.call(T0,H)||(T0[H]=[]),T0[H].push({name:T,func:E})}}),T0[Jy(n,m).name]=[{name:"wrapper",func:n}],Tn.prototype.clone=wre,Tn.prototype.reverse=Mre,Tn.prototype.value=Lre,ve.prototype.at=tae,ve.prototype.chain=nae,ve.prototype.commit=rae,ve.prototype.next=iae,ve.prototype.plant=aae,ve.prototype.reverse=sae,ve.prototype.toJSON=ve.prototype.valueOf=ve.prototype.value=lae,ve.prototype.first=ve.prototype.head,l1&&(ve.prototype[l1]=oae),ve},w0=rre();gd?((gd.exports=w0)._=w0,L4._=w0):Ni._=w0}).call(Xt)})(cx,cx.exports);var Yn=cx.exports;const lt=F2("slides",{state:()=>({title:"未命名演示文稿",theme:{themeColor:"#5b9bd5",fontColor:"#333",fontName:"",backgroundColor:"#fff",shadow:{h:3,v:3,blur:2,color:"#808080"},outline:{width:2,color:"#525252",style:"solid"}},slides:[],slideIndex:0,viewportSize:1e3,viewportRatio:.5625,_layouts:[]}),getters:{currentSlide(e){return e.slides[e.slideIndex]},currentSlideAnimations(e){const t=e.slides[e.slideIndex];if(!(t!=null&&t.animations))return[];const r=t.elements.map(i=>i.id);return t.animations.filter(i=>r.includes(i.elId))},formatedAnimations(e){const t=e.slides[e.slideIndex];if(!(t!=null&&t.animations))return[];const r=t.elements.map(a=>a.id),i=t.animations.filter(a=>r.includes(a.elId)),o=[];for(const a of i)if(a.trigger==="click"||!o.length)o.push({animations:[a],autoNext:!1});else if(a.trigger==="meantime"){const s=o[o.length-1];s.animations=s.animations.filter(l=>l.elId!==a.elId),s.animations.push(a),o[o.length-1]=s}else if(a.trigger==="auto"){const s=o[o.length-1];s.autoNext=!0,o[o.length-1]=s,o.push({animations:[a],autoNext:!1})}return o},layouts(e){const{themeColor:t,fontColor:n,fontName:r,backgroundColor:i}=e.theme,o=at(n).isDark()?"rgba(230, 230, 230, 0.5)":"rgba(180, 180, 180, 0.5)",a=JSON.stringify(e._layouts).replace(/{{themeColor}}/g,t).replace(/{{fontColor}}/g,n).replace(/{{fontName}}/g,r).replace(/{{backgroundColor}}/g,i).replace(/{{subColor}}/g,o);return JSON.parse(a)}},actions:{setTitle(e){e?this.title=e:this.title="未命名演示文稿"},setTheme(e){this.theme={...this.theme,...e}},setViewportSize(e){this.viewportSize=e},setViewportRatio(e){this.viewportRatio=e},setSlides(e){this.slides=e},setLayouts(e){this._layouts=e},addSlide(e){const t=Array.isArray(e)?e:[e];for(const r of t)r.sectionTag&&delete r.sectionTag;const n=this.slideIndex+1;this.slides.splice(n,0,...t),this.slideIndex=n},updateSlide(e,t){const n=t?this.slides.findIndex(r=>r.id===t):this.slideIndex;this.slides[n]={...this.slides[n],...e}},removeSlideProps(e){const{id:t,propName:n}=e,r=this.slides.map(i=>i.id===t?Yn.omit(i,n):i);this.slides=r},deleteSlide(e){const t=Array.isArray(e)?e:[e],n=JSON.parse(JSON.stringify(this.slides)),r=[];for(const a of t){const s=n.findIndex(u=>u.id===a);r.push(s);const l=n[s].sectionTag;if(l){const u=n[s+1];u&&!u.sectionTag&&(delete n[s].sectionTag,n[s+1].sectionTag=l)}n.splice(s,1)}let i=Math.min(...r);const o=n.length-1;i>o&&(i=o),this.slideIndex=i,this.slides=n},updateSlideIndex(e){this.slideIndex=e},addElement(e){const t=Array.isArray(e)?e:[e],r=[...this.slides[this.slideIndex].elements,...t];this.slides[this.slideIndex].elements=r},deleteElement(e){const t=Array.isArray(e)?e:[e],r=this.slides[this.slideIndex].elements.filter(i=>!t.includes(i.id));this.slides[this.slideIndex].elements=r},updateElement(e){const{id:t,props:n,slideId:r}=e,i=typeof t=="string"?[t]:t,o=r?this.slides.findIndex(l=>l.id===r):this.slideIndex,s=this.slides[o].elements.map(l=>i.includes(l.id)?{...l,...n}:l);this.slides[o].elements=s},removeElementProps(e){const{id:t,propName:n}=e,r=typeof n=="string"?[n]:n,i=this.slideIndex,a=this.slides[i].elements.map(s=>s.id===t?Yn.omit(s,r):s);this.slides[i].elements=a}}}),C0e=Ede("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"),bQ=C0e(10),ht=F2("main",{state:()=>({activeElementIdList:[],handleElementId:"",activeGroupElementId:"",hiddenElementIdList:[],canvasPercentage:90,canvasScale:1,canvasDragged:!1,thumbnailsFocus:!1,editorAreaFocus:!1,disableHotkeys:!1,gridLineSize:0,showRuler:!1,creatingElement:null,creatingCustomShape:!1,toolbarState:qr.SLIDE_DESIGN,clipingImageElementId:"",richTextAttrs:s0e,selectedTableCells:[],isScaling:!1,selectedSlidesIndex:[],dialogForExport:"",databaseId:bQ,textFormatPainter:null,shapeFormatPainter:null,showSelectPanel:!1,showSearchPanel:!1,showNotesPanel:!1,showMarkupPanel:!1,showAIPPTDialog:!1}),getters:{activeElementList(e){const n=lt().currentSlide;return!n||!n.elements?[]:n.elements.filter(r=>e.activeElementIdList.includes(r.id))},handleElement(e){const n=lt().currentSlide;return!n||!n.elements?null:n.elements.find(r=>e.handleElementId===r.id)||null}},actions:{setActiveElementIdList(e){e.length===1?this.handleElementId=e[0]:this.handleElementId="",this.activeElementIdList=e},setHandleElementId(e){this.handleElementId=e},setActiveGroupElementId(e){this.activeGroupElementId=e},setHiddenElementIdList(e){this.hiddenElementIdList=e},setCanvasPercentage(e){this.canvasPercentage=e},setCanvasScale(e){this.canvasScale=e},setCanvasDragged(e){this.canvasDragged=e},setThumbnailsFocus(e){this.thumbnailsFocus=e},setEditorareaFocus(e){this.editorAreaFocus=e},setDisableHotkeysState(e){this.disableHotkeys=e},setGridLineSize(e){this.gridLineSize=e},setRulerState(e){this.showRuler=e},setCreatingElement(e){this.creatingElement=e},setCreatingCustomShapeState(e){this.creatingCustomShape=e},setToolbarState(e){this.toolbarState=e},setClipingImageElementId(e){this.clipingImageElementId=e},setRichtextAttrs(e){this.richTextAttrs=e},setSelectedTableCells(e){this.selectedTableCells=e},setScalingState(e){this.isScaling=e},updateSelectedSlidesIndex(e){this.selectedSlidesIndex=e},setDialogForExport(e){this.dialogForExport=e},setTextFormatPainter(e){this.textFormatPainter=e},setShapeFormatPainter(e){this.shapeFormatPainter=e},setSelectPanelState(e){this.showSelectPanel=e},setSearchPanelState(e){this.showSearchPanel=e},setNotesPanelState(e){this.showNotesPanel=e},setMarkupPanelState(e){this.showMarkupPanel=e},setAIPPTDialogState(e){this.showAIPPTDialog=e}}});var gr=function(){return gr=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},gr.apply(this,arguments)};function j8(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),i=0,t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}var zi=Object.keys,Po=Array.isArray,xr=typeof self<"u"?self:typeof window<"u"?window:global;typeof Promise<"u"&&!xr.Promise&&(xr.Promise=Promise);function Ls(e,t){return typeof t!="object"||zi(t).forEach(function(n){e[n]=t[n]}),e}var xQ=Object.getPrototypeOf,I0e={}.hasOwnProperty;function Ts(e,t){return I0e.call(e,t)}function Ym(e,t){typeof t=="function"&&(t=t(xQ(e))),zi(t).forEach(function(n){cc(e,n,t[n])})}var SQ=Object.defineProperty;function cc(e,t,n,r){SQ(e,t,Ls(n&&Ts(n,"get")&&typeof n.get=="function"?{get:n.get,set:n.set,configurable:!0}:{value:n,configurable:!0,writable:!0},r))}function Bv(e){return{from:function(t){return e.prototype=Object.create(t.prototype),cc(e.prototype,"constructor",e),{extend:Ym.bind(null,e.prototype)}}}}var N0e=Object.getOwnPropertyDescriptor;function MO(e,t){var n=N0e(e,t),r;return n||(r=xQ(e))&&MO(r,t)}var F0e=[].slice;function KS(e,t,n){return F0e.call(e,t,n)}function wQ(e,t){return t(e)}function fg(e){if(!e)throw new Error("Assertion Failed")}function MQ(e){xr.setImmediate?setImmediate(e):setTimeout(e,0)}function LQ(e,t){return e.reduce(function(n,r,i){var o=t(r,i);return o&&(n[o[0]]=o[1]),n},{})}function E0e(e,t,n){try{e.apply(null,n)}catch{}}function iu(e,t){if(Ts(e,t))return e[t];if(!t)return e;if(typeof t!="string"){for(var n=[],r=0,i=t.length;r<i;++r){var o=iu(e,t[r]);n.push(o)}return n}var a=t.indexOf(".");if(a!==-1){var s=e[t.substr(0,a)];return s===void 0?void 0:iu(s,t.substr(a+1))}}function cl(e,t,n){if(!(!e||t===void 0)&&!("isFrozen"in Object&&Object.isFrozen(e)))if(typeof t!="string"&&"length"in t){fg(typeof n!="string"&&"length"in n);for(var r=0,i=t.length;r<i;++r)cl(e,t[r],n[r])}else{var o=t.indexOf(".");if(o!==-1){var a=t.substr(0,o),s=t.substr(o+1);if(s==="")n===void 0?Po(e)&&!isNaN(parseInt(a))?e.splice(a,1):delete e[a]:e[a]=n;else{var l=e[a];l||(l=e[a]={}),cl(l,s,n)}}else n===void 0?Po(e)&&!isNaN(parseInt(t))?e.splice(t,1):delete e[t]:e[t]=n}}function TQ(e,t){typeof t=="string"?cl(e,t,void 0):"length"in t&&[].map.call(t,function(n){cl(e,n,void 0)})}function _Q(e){var t={};for(var n in e)Ts(e,n)&&(t[n]=e[n]);return t}var X0e=[].concat;function OQ(e){return X0e.apply([],e)}var kQ="Boolean,String,Date,RegExp,Blob,File,FileList,ArrayBuffer,DataView,Uint8ClampedArray,ImageData,Map,Set".split(",").concat(OQ([8,16,32,64].map(function(e){return["Int","Uint","Float"].map(function(t){return t+e+"Array"})}))).filter(function(e){return xr[e]}),W0e=kQ.map(function(e){return xr[e]}),V0e=LQ(kQ,function(e){return[e,!0]});function Zm(e){if(!e||typeof e!="object")return e;var t;if(Po(e)){t=[];for(var n=0,r=e.length;n<r;++n)t.push(Zm(e[n]))}else if(W0e.indexOf(e.constructor)>=0)t=e;else{t=e.constructor?Object.create(e.constructor.prototype):{};for(var i in e)Ts(e,i)&&(t[i]=Zm(e[i]))}return t}var D0e={}.toString;function q8(e){return D0e.call(e).slice(8,-1)}var eT=function(e,t){return t==="Array"?""+e.map(function(n){return eT(n,q8(n))}):t==="ArrayBuffer"?""+new Uint8Array(e):t==="Date"?e.getTime():ArrayBuffer.isView(e)?""+new Uint8Array(e.buffer):e};function LO(e,t,n,r){return n=n||{},r=r||"",zi(e).forEach(function(i){if(!Ts(t,i))n[r+i]=void 0;else{var o=e[i],a=t[i];if(typeof o=="object"&&typeof a=="object"&&o&&a){var s=q8(o),l=q8(a);s===l?V0e[s]?eT(o,s)!==eT(a,l)&&(n[r+i]=t[i]):LO(o,a,n,r+i+"."):n[r+i]=t[i]}else o!==a&&(n[r+i]=t[i])}}),zi(t).forEach(function(i){Ts(e,i)||(n[r+i]=t[i])}),n}var z7=typeof Symbol<"u"&&Symbol.iterator,U0e=z7?function(e){var t;return e!=null&&(t=e[z7])&&t.apply(e)}:function(){return null},dp={};function Ju(e){var t,n,r,i;if(arguments.length===1){if(Po(e))return e.slice();if(this===dp&&typeof e=="string")return[e];if(i=U0e(e)){for(n=[];r=i.next(),!r.done;)n.push(r.value);return n}if(e==null)return[e];if(t=e.length,typeof t=="number"){for(n=new Array(t);t--;)n[t]=e[t];return n}return[e]}for(t=arguments.length,n=new Array(t);t--;)n[t]=arguments[t];return n}var PQ=typeof Symbol<"u"?function(e){return e[Symbol.toStringTag]==="AsyncFunction"}:function(){return!1},bu=typeof location<"u"&&/^(http|https):\/\/(localhost|127\.0\.0\.1)/.test(location.href);function CQ(e,t){bu=e,IQ=t}var IQ=function(){return!0},B0e=!new Error("").stack;function Yv(){if(B0e)try{throw new Error}catch(e){return e}return new Error}function tT(e,t){var n=e.stack;return n?(t=t||0,n.indexOf(e.name)===0&&(t+=(e.name+e.message).split(`
|
||
`).length),n.split(`
|
||
`).slice(t).filter(IQ).map(function(r){return`
|
||
`+r}).join("")):""}var Y0e=["Modify","Bulk","OpenFailed","VersionChange","Schema","Upgrade","InvalidTable","MissingAPI","NoSuchDatabase","InvalidArgument","SubTransaction","Unsupported","Internal","DatabaseClosed","PrematureCommit","ForeignAwait"],NQ=["Unknown","Constraint","Data","TransactionInactive","ReadOnly","Version","NotFound","InvalidState","InvalidAccess","Abort","Timeout","QuotaExceeded","Syntax","DataClone"],TO=Y0e.concat(NQ),Z0e={VersionChanged:"Database version changed by other database connection",DatabaseClosed:"Database has been closed",Abort:"Transaction aborted",TransactionInactive:"Transaction has already completed or failed"};function Zv(e,t){this._e=Yv(),this.name=e,this.message=t}Bv(Zv).from(Error).extend({stack:{get:function(){return this._stack||(this._stack=this.name+": "+this.message+tT(this._e,2))}},toString:function(){return this.name+": "+this.message}});function FQ(e,t){return e+". Errors: "+Object.keys(t).map(function(n){return t[n].toString()}).filter(function(n,r,i){return i.indexOf(n)===r}).join(`
|
||
`)}function fx(e,t,n,r){this._e=Yv(),this.failures=t,this.failedKeys=r,this.successCount=n,this.message=FQ(e,t)}Bv(fx).from(Zv);function Gg(e,t){this._e=Yv(),this.name="BulkError",this.failures=t,this.message=FQ(e,t)}Bv(Gg).from(Zv);var Q0e=TO.reduce(function(e,t){return e[t]=t+"Error",e},{}),H0e=Zv,an=TO.reduce(function(e,t){var n=t+"Error";function r(i,o){this._e=Yv(),this.name=n,i?typeof i=="string"?(this.message=""+i+(o?`
|
||
`+o:""),this.inner=o||null):typeof i=="object"&&(this.message=i.name+" "+i.message,this.inner=i):(this.message=Z0e[t]||n,this.inner=null)}return Bv(r).from(H0e),e[t]=r,e},{});an.Syntax=SyntaxError;an.Type=TypeError;an.Range=RangeError;var J7=NQ.reduce(function(e,t){return e[t+"Error"]=an[t],e},{});function K0e(e,t){if(!e||e instanceof Zv||e instanceof TypeError||e instanceof SyntaxError||!e.name||!J7[e.name])return e;var n=new J7[e.name](t||e.message,e);return"stack"in e&&cc(n,"stack",{get:function(){return this.inner.stack}}),n}var GS=TO.reduce(function(e,t){return["Syntax","Type","Range"].indexOf(t)===-1&&(e[t+"Error"]=an[t]),e},{});GS.ModifyError=fx;GS.DexieError=Zv;GS.BulkError=Gg;function yr(){}function X2(e){return e}function G0e(e,t){return e==null||e===X2?t:function(n){return t(e(n))}}function Qh(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function z0e(e,t){return e===yr?t:function(){var n=e.apply(this,arguments);n!==void 0&&(arguments[0]=n);var r=this.onsuccess,i=this.onerror;this.onsuccess=null,this.onerror=null;var o=t.apply(this,arguments);return r&&(this.onsuccess=this.onsuccess?Qh(r,this.onsuccess):r),i&&(this.onerror=this.onerror?Qh(i,this.onerror):i),o!==void 0?o:n}}function J0e(e,t){return e===yr?t:function(){e.apply(this,arguments);var n=this.onsuccess,r=this.onerror;this.onsuccess=this.onerror=null,t.apply(this,arguments),n&&(this.onsuccess=this.onsuccess?Qh(n,this.onsuccess):n),r&&(this.onerror=this.onerror?Qh(r,this.onerror):r)}}function $0e(e,t){return e===yr?t:function(n){var r=e.apply(this,arguments);Ls(n,r);var i=this.onsuccess,o=this.onerror;this.onsuccess=null,this.onerror=null;var a=t.apply(this,arguments);return i&&(this.onsuccess=this.onsuccess?Qh(i,this.onsuccess):i),o&&(this.onerror=this.onerror?Qh(o,this.onerror):o),r===void 0?a===void 0?void 0:a:Ls(r,a)}}function j0e(e,t){return e===yr?t:function(){return t.apply(this,arguments)===!1?!1:e.apply(this,arguments)}}function EQ(e,t){return e===yr?t:function(){var n=e.apply(this,arguments);if(n&&typeof n.then=="function"){for(var r=this,i=arguments.length,o=new Array(i);i--;)o[i]=arguments[i];return n.then(function(){return t.apply(r,o)})}return t.apply(this,arguments)}}var Qm={},q0e=100,epe=20,XQ=100,_O=typeof Promise>"u"?[]:function(){var e=Promise.resolve();if(typeof crypto>"u"||!crypto.subtle)return[e,e.__proto__,e];var t=crypto.subtle.digest("SHA-512",new Uint8Array([0]));return[t,t.__proto__,e]}(),nT=_O[0],dx=_O[1],rT=_O[2],WQ=dx&&dx.then,jR=nT&&nT.constructor,OO=!!rT,iT=!1,tpe=rT?function(){rT.then(TA)}:xr.setImmediate?setImmediate.bind(null,TA):xr.MutationObserver?function(){var e=document.createElement("div");new MutationObserver(function(){TA(),e=null}).observe(e,{attributes:!0}),e.setAttribute("i","1")}:function(){setTimeout(TA,0)},Hm=function(e,t){dg.push([e,t]),hx&&(tpe(),hx=!1)},oT=!0,hx=!0,_h=[],qR=[],aT=null,sT=X2,jp={id:"global",global:!0,ref:0,unhandleds:[],onunhandled:q7,pgp:!1,env:{},finalize:function(){this.unhandleds.forEach(function(e){try{q7(e[0],e[1])}catch{}})}},Yt=jp,dg=[],Oh=0,eb=[];function Tt(e){if(typeof this!="object")throw new TypeError("Promises must be constructed via new");this._listeners=[],this.onuncatched=yr,this._lib=!1;var t=this._PSD=Yt;if(bu&&(this._stackHolder=Yv(),this._prev=null,this._numPrev=0),typeof e!="function"){if(e!==Qm)throw new TypeError("Not a function");this._state=arguments[1],this._value=arguments[2],this._state===!1&&uT(this,this._value);return}this._state=null,this._value=null,++t.ref,DQ(this,e)}var lT={get:function(){var e=Yt,t=px;function n(r,i){var o=this,a=!e.global&&(e!==Yt||t!==px),s=a&&!Kh(),l=new Tt(function(u,c){kO(o,new VQ(gx(r,e,a,s),gx(i,e,a,s),u,c,e))});return bu&&YQ(l,this),l}return n.prototype=Qm,n},set:function(e){cc(this,"then",e&&e.prototype===Qm?lT:{get:function(){return e},set:lT.set})}};Ym(Tt.prototype,{then:lT,_then:function(e,t){kO(this,new VQ(null,null,e,t,Yt))},catch:function(e){if(arguments.length===1)return this.then(null,e);var t=arguments[0],n=arguments[1];return typeof t=="function"?this.then(null,function(r){return r instanceof t?n(r):tb(r)}):this.then(null,function(r){return r&&r.name===t?n(r):tb(r)})},finally:function(e){return this.then(function(t){return e(),t},function(t){return e(),tb(t)})},stack:{get:function(){if(this._stack)return this._stack;try{iT=!0;var e=BQ(this,[],epe),t=e.join(`
|
||
From previous: `);return this._state!==null&&(this._stack=t),t}finally{iT=!1}}},timeout:function(e,t){var n=this;return e<1/0?new Tt(function(r,i){var o=setTimeout(function(){return i(new an.Timeout(t))},e);n.then(r,i).finally(clearTimeout.bind(null,o))}):this}});typeof Symbol<"u"&&Symbol.toStringTag&&cc(Tt.prototype,Symbol.toStringTag,"Dexie.Promise");jp.env=ZQ();function VQ(e,t,n,r,i){this.onFulfilled=typeof e=="function"?e:null,this.onRejected=typeof t=="function"?t:null,this.resolve=n,this.reject=r,this.psd=i}Ym(Tt,{all:function(){var e=Ju.apply(null,arguments).map(vx);return new Tt(function(t,n){e.length===0&&t([]);var r=e.length;e.forEach(function(i,o){return Tt.resolve(i).then(function(a){e[o]=a,--r||t(e)},n)})})},resolve:function(e){if(e instanceof Tt)return e;if(e&&typeof e.then=="function")return new Tt(function(n,r){e.then(n,r)});var t=new Tt(Qm,!0,e);return YQ(t,aT),t},reject:tb,race:function(){var e=Ju.apply(null,arguments).map(vx);return new Tt(function(t,n){e.map(function(r){return Tt.resolve(r).then(t,n)})})},PSD:{get:function(){return Yt},set:function(e){return Yt=e}},totalEchoes:{get:function(){return px}},newPSD:Hh,usePSD:U2,scheduler:{get:function(){return Hm},set:function(e){Hm=e}},rejectionMapper:{get:function(){return sT},set:function(e){sT=e}},follow:function(e,t){return new Tt(function(n,r){return Hh(function(i,o){var a=Yt;a.unhandleds=[],a.onunhandled=o,a.finalize=Qh(function(){var s=this;rpe(function(){s.unhandleds.length===0?i():o(s.unhandleds[0])})},a.finalize),e()},t,n,r)})}});jR&&(jR.allSettled&&cc(Tt,"allSettled",function(){var e=Ju.apply(null,arguments).map(vx);return new Tt(function(t){e.length===0&&t([]);var n=e.length,r=new Array(n);e.forEach(function(i,o){return Tt.resolve(i).then(function(a){return r[o]={status:"fulfilled",value:a}},function(a){return r[o]={status:"rejected",reason:a}}).then(function(){return--n||t(r)})})})}),jR.any&&typeof AggregateError<"u"&&cc(Tt,"any",function(){var e=Ju.apply(null,arguments).map(vx);return new Tt(function(t,n){e.length===0&&n(new AggregateError([]));var r=e.length,i=new Array(r);e.forEach(function(o,a){return Tt.resolve(o).then(function(s){return t(s)},function(s){i[a]=s,--r||n(new AggregateError(i))})})})}));function DQ(e,t){try{t(function(n){if(e._state===null){if(n===e)throw new TypeError("A promise cannot be resolved with itself.");var r=e._lib&&W2();n&&typeof n.then=="function"?DQ(e,function(i,o){n instanceof Tt?n._then(i,o):n.then(i,o)}):(e._state=!0,e._value=n,UQ(e)),r&&V2()}},uT.bind(null,e))}catch(n){uT(e,n)}}function uT(e,t){if(qR.push(t),e._state===null){var n=e._lib&&W2();t=sT(t),e._state=!1,e._value=t,bu&&t!==null&&typeof t=="object"&&!t._promise&&E0e(function(){var r=MO(t,"stack");t._promise=e,cc(t,"stack",{get:function(){return iT?r&&(r.get?r.get.apply(t):r.value):e.stack}})}),ipe(e),UQ(e),n&&V2()}}function UQ(e){var t=e._listeners;e._listeners=[];for(var n=0,r=t.length;n<r;++n)kO(e,t[n]);var i=e._PSD;--i.ref||i.finalize(),Oh===0&&(++Oh,Hm(function(){--Oh===0&&PO()},[]))}function kO(e,t){if(e._state===null){e._listeners.push(t);return}var n=e._state?t.onFulfilled:t.onRejected;if(n===null)return(e._state?t.resolve:t.reject)(e._value);++t.psd.ref,++Oh,Hm(npe,[n,e,t])}function npe(e,t,n){try{aT=t;var r,i=t._value;t._state?r=e(i):(qR.length&&(qR=[]),r=e(i),qR.indexOf(i)===-1&&ope(t)),n.resolve(r)}catch(o){n.reject(o)}finally{aT=null,--Oh===0&&PO(),--n.psd.ref||n.psd.finalize()}}function BQ(e,t,n){if(t.length===n)return t;var r="";if(e._state===!1){var i=e._value,o,a;i!=null?(o=i.name||"Error",a=i.message||i,r=tT(i,0)):(o=i,a=""),t.push(o+(a?": "+a:"")+r)}return bu&&(r=tT(e._stackHolder,2),r&&t.indexOf(r)===-1&&t.push(r),e._prev&&BQ(e._prev,t,n)),t}function YQ(e,t){var n=t?t._numPrev+1:0;n<q0e&&(e._prev=t,e._numPrev=n)}function TA(){W2()&&V2()}function W2(){var e=oT;return oT=!1,hx=!1,e}function V2(){var e,t,n;do for(;dg.length>0;)for(e=dg,dg=[],n=e.length,t=0;t<n;++t){var r=e[t];r[0].apply(null,r[1])}while(dg.length>0);oT=!0,hx=!0}function PO(){var e=_h;_h=[],e.forEach(function(r){r._PSD.onunhandled.call(null,r._value,r)});for(var t=eb.slice(0),n=t.length;n;)t[--n]()}function rpe(e){function t(){e(),eb.splice(eb.indexOf(t),1)}eb.push(t),++Oh,Hm(function(){--Oh===0&&PO()},[])}function ipe(e){_h.some(function(t){return t._value===e._value})||_h.push(e)}function ope(e){for(var t=_h.length;t;)if(_h[--t]._value===e._value){_h.splice(t,1);return}}function tb(e){return new Tt(Qm,!1,e)}function Xr(e,t){var n=Yt;return function(){var r=W2(),i=Yt;try{return Qf(n,!0),e.apply(this,arguments)}catch(o){t&&t(o)}finally{Qf(i,!1),r&&V2()}}}var lo={awaits:0,echoes:0,id:0},ape=0,nb=[],zw=0,px=0,spe=0;function Hh(e,t,n,r){var i=Yt,o=Object.create(i);o.parent=i,o.ref=0,o.global=!1,o.id=++spe;var a=jp.env;o.env=OO?{Promise:Tt,PromiseProp:{value:Tt,configurable:!0,writable:!0},all:Tt.all,race:Tt.race,allSettled:Tt.allSettled,any:Tt.any,resolve:Tt.resolve,reject:Tt.reject,nthen:$7(a.nthen,o),gthen:$7(a.gthen,o)}:{},t&&Ls(o,t),++i.ref,o.finalize=function(){--this.parent.ref||this.parent.finalize()};var s=U2(o,e,n,r);return o.ref===0&&o.finalize(),s}function D2(){return lo.id||(lo.id=++ape),++lo.awaits,lo.echoes+=XQ,lo.id}function Kh(){return lo.awaits?(--lo.awaits===0&&(lo.id=0),lo.echoes=lo.awaits*XQ,!0):!1}(""+WQ).indexOf("[native code]")===-1&&(D2=Kh=yr);function vx(e){return lo.echoes&&e&&e.constructor===jR?(D2(),e.then(function(t){return Kh(),t},function(t){return Kh(),vo(t)})):e}function lpe(e){++px,(!lo.echoes||--lo.echoes===0)&&(lo.echoes=lo.id=0),nb.push(Yt),Qf(e,!0)}function upe(){var e=nb[nb.length-1];nb.pop(),Qf(e,!1)}function Qf(e,t){var n=Yt;if((t?lo.echoes&&(!zw++||e!==Yt):zw&&(!--zw||e!==Yt))&&QQ(t?lpe.bind(null,e):upe),e!==Yt&&(Yt=e,n===jp&&(jp.env=ZQ()),OO)){var r=jp.env.Promise,i=e.env;dx.then=i.nthen,r.prototype.then=i.gthen,(n.global||e.global)&&(Object.defineProperty(xr,"Promise",i.PromiseProp),r.all=i.all,r.race=i.race,r.resolve=i.resolve,r.reject=i.reject,i.allSettled&&(r.allSettled=i.allSettled),i.any&&(r.any=i.any))}}function ZQ(){var e=xr.Promise;return OO?{Promise:e,PromiseProp:Object.getOwnPropertyDescriptor(xr,"Promise"),all:e.all,race:e.race,allSettled:e.allSettled,any:e.any,resolve:e.resolve,reject:e.reject,nthen:dx.then,gthen:e.prototype.then}:{}}function U2(e,t,n,r,i){var o=Yt;try{return Qf(e,!0),t(n,r,i)}finally{Qf(o,!1)}}function QQ(e){WQ.call(nT,e)}function gx(e,t,n,r){return typeof e!="function"?e:function(){var i=Yt;n&&D2(),Qf(t,!0);try{return e.apply(this,arguments)}finally{Qf(i,!1),r&&QQ(Kh)}}}function $7(e,t){return function(n,r){return e.call(this,gx(n,t),gx(r,t))}}var j7="unhandledrejection";function q7(e,t){var n;try{n=t.onuncatched(e)}catch{}if(n!==!1)try{var r,i={promise:t,reason:e};if(xr.document&&document.createEvent?(r=document.createEvent("Event"),r.initEvent(j7,!0,!0),Ls(r,i)):xr.CustomEvent&&(r=new CustomEvent(j7,{detail:i}),Ls(r,i)),r&&xr.dispatchEvent&&(dispatchEvent(r),!xr.PromiseRejectionEvent&&xr.onunhandledrejection))try{xr.onunhandledrejection(r)}catch{}bu&&r&&!r.defaultPrevented&&console.warn("Unhandled rejection: "+(e.stack||e))}catch{}}var vo=Tt.reject;function HQ(e,t,n,r){if(!e._state.openComplete&&!Yt.letThrough){if(!e._state.isBeingOpened){if(!e._options.autoOpen)return vo(new an.DatabaseClosed);e.open().catch(yr)}return e._state.dbReadyPromise.then(function(){return HQ(e,t,n,r)})}else{var i=e._createTransaction(t,n,e._dbSchema);try{i.create()}catch(o){return vo(o)}return i._promise(t,function(o,a){return Hh(function(){return Yt.trans=i,r(o,a,i)})}).then(function(o){return i._completion.then(function(){return o})})}}var e9="3.0.3",Lp="",cT=-1/0,Fu="Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.",KQ="String expected.",zg=[],CO=typeof navigator<"u"&&/(MSIE|Trident|Edge)/.test(navigator.userAgent),cpe=CO,fpe=CO,GQ=function(e){return!/(dexie\.js|dexie\.min\.js)/.test(e)},_A="__dbnames",Jw="readonly",$w="readwrite";function Gh(e,t){return e?t?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:e:t}var zQ={type:3,lower:-1/0,lowerOpen:!1,upper:[[]],upperOpen:!1};function OA(e){return function(t){return iu(t,e)===void 0&&(t=Zm(t),TQ(t,e)),t}}var dpe=function(){function e(){}return e.prototype._trans=function(t,n,r){var i=this._tx||Yt.trans,o=this.name;function a(l,u,c){if(!c.schema[o])throw new an.NotFound("Table "+o+" not part of transaction");return n(c.idbtrans,c)}var s=W2();try{return i&&i.db===this.db?i===Yt.trans?i._promise(t,a,r):Hh(function(){return i._promise(t,a,r)},{trans:i,transless:Yt.transless||Yt}):HQ(this.db,t,[this.name],a)}finally{s&&V2()}},e.prototype.get=function(t,n){var r=this;return t&&t.constructor===Object?this.where(t).first(n):this._trans("readonly",function(i){return r.core.get({trans:i,key:t}).then(function(o){return r.hook.reading.fire(o)})}).then(n)},e.prototype.where=function(t){if(typeof t=="string")return new this.db.WhereClause(this,t);if(Po(t))return new this.db.WhereClause(this,"["+t.join("+")+"]");var n=zi(t);if(n.length===1)return this.where(n[0]).equals(t[n[0]]);var r=this.schema.indexes.concat(this.schema.primKey).filter(function(c){return c.compound&&n.every(function(f){return c.keyPath.indexOf(f)>=0})&&c.keyPath.every(function(f){return n.indexOf(f)>=0})})[0];if(r&&this.db._maxKey!==Lp)return this.where(r.name).equals(r.keyPath.map(function(c){return t[c]}));!r&&bu&&console.warn("The query "+JSON.stringify(t)+" on "+this.name+" would benefit of a "+("compound index ["+n.join("+")+"]"));var i=this.schema.idxByName,o=this.db._deps.indexedDB;function a(c,f){try{return o.cmp(c,f)===0}catch{return!1}}var s=n.reduce(function(c,f){var d=c[0],h=c[1],p=i[f],v=t[f];return[d||p,d||!p?Gh(h,p&&p.multi?function(g){var m=iu(g,f);return Po(m)&&m.some(function(y){return a(v,y)})}:function(g){return a(v,iu(g,f))}):h]},[null,null]),l=s[0],u=s[1];return l?this.where(l.name).equals(t[l.keyPath]).filter(u):r?this.filter(u):this.where(n).equals("")},e.prototype.filter=function(t){return this.toCollection().and(t)},e.prototype.count=function(t){return this.toCollection().count(t)},e.prototype.offset=function(t){return this.toCollection().offset(t)},e.prototype.limit=function(t){return this.toCollection().limit(t)},e.prototype.each=function(t){return this.toCollection().each(t)},e.prototype.toArray=function(t){return this.toCollection().toArray(t)},e.prototype.toCollection=function(){return new this.db.Collection(new this.db.WhereClause(this))},e.prototype.orderBy=function(t){return new this.db.Collection(new this.db.WhereClause(this,Po(t)?"["+t.join("+")+"]":t))},e.prototype.reverse=function(){return this.toCollection().reverse()},e.prototype.mapToClass=function(t){this.schema.mappedClass=t;var n=function(r){if(!r)return r;var i=Object.create(t.prototype);for(var o in r)if(Ts(r,o))try{i[o]=r[o]}catch{}return i};return this.schema.readHook&&this.hook.reading.unsubscribe(this.schema.readHook),this.schema.readHook=n,this.hook("reading",n),t},e.prototype.defineClass=function(){function t(n){Ls(this,n)}return this.mapToClass(t)},e.prototype.add=function(t,n){var r=this,i=this.schema.primKey,o=i.auto,a=i.keyPath,s=t;return a&&o&&(s=OA(a)(t)),this._trans("readwrite",function(l){return r.core.mutate({trans:l,type:"add",keys:n!=null?[n]:null,values:[s]})}).then(function(l){return l.numFailures?Tt.reject(l.failures[0]):l.lastResult}).then(function(l){if(a)try{cl(t,a,l)}catch{}return l})},e.prototype.update=function(t,n){if(typeof n!="object"||Po(n))throw new an.InvalidArgument("Modifications must be an object.");if(typeof t=="object"&&!Po(t)){zi(n).forEach(function(i){cl(t,i,n[i])});var r=iu(t,this.schema.primKey.keyPath);return r===void 0?vo(new an.InvalidArgument("Given object does not contain its primary key")):this.where(":id").equals(r).modify(n)}else return this.where(":id").equals(t).modify(n)},e.prototype.put=function(t,n){var r=this,i=this.schema.primKey,o=i.auto,a=i.keyPath,s=t;return a&&o&&(s=OA(a)(t)),this._trans("readwrite",function(l){return r.core.mutate({trans:l,type:"put",values:[s],keys:n!=null?[n]:null})}).then(function(l){return l.numFailures?Tt.reject(l.failures[0]):l.lastResult}).then(function(l){if(a)try{cl(t,a,l)}catch{}return l})},e.prototype.delete=function(t){var n=this;return this._trans("readwrite",function(r){return n.core.mutate({trans:r,type:"delete",keys:[t]})}).then(function(r){return r.numFailures?Tt.reject(r.failures[0]):void 0})},e.prototype.clear=function(){var t=this;return this._trans("readwrite",function(n){return t.core.mutate({trans:n,type:"deleteRange",range:zQ})}).then(function(n){return n.numFailures?Tt.reject(n.failures[0]):void 0})},e.prototype.bulkGet=function(t){var n=this;return this._trans("readonly",function(r){return n.core.getMany({keys:t,trans:r}).then(function(i){return i.map(function(o){return n.hook.reading.fire(o)})})})},e.prototype.bulkAdd=function(t,n,r){var i=this,o=Array.isArray(n)?n:void 0;r=r||(o?void 0:n);var a=r?r.allKeys:void 0;return this._trans("readwrite",function(s){var l=i.schema.primKey,u=l.auto,c=l.keyPath;if(c&&o)throw new an.InvalidArgument("bulkAdd(): keys argument invalid on tables with inbound keys");if(o&&o.length!==t.length)throw new an.InvalidArgument("Arguments objects and keys must have the same length");var f=t.length,d=c&&u?t.map(OA(c)):t;return i.core.mutate({trans:s,type:"add",keys:o,values:d,wantResults:a}).then(function(h){var p=h.numFailures,v=h.results,g=h.lastResult,m=h.failures,y=a?v:g;if(p===0)return y;throw new Gg(i.name+".bulkAdd(): "+p+" of "+f+" operations failed",Object.keys(m).map(function(R){return m[R]}))})})},e.prototype.bulkPut=function(t,n,r){var i=this,o=Array.isArray(n)?n:void 0;r=r||(o?void 0:n);var a=r?r.allKeys:void 0;return this._trans("readwrite",function(s){var l=i.schema.primKey,u=l.auto,c=l.keyPath;if(c&&o)throw new an.InvalidArgument("bulkPut(): keys argument invalid on tables with inbound keys");if(o&&o.length!==t.length)throw new an.InvalidArgument("Arguments objects and keys must have the same length");var f=t.length,d=c&&u?t.map(OA(c)):t;return i.core.mutate({trans:s,type:"put",keys:o,values:d,wantResults:a}).then(function(h){var p=h.numFailures,v=h.results,g=h.lastResult,m=h.failures,y=a?v:g;if(p===0)return y;throw new Gg(i.name+".bulkPut(): "+p+" of "+f+" operations failed",Object.keys(m).map(function(R){return m[R]}))})})},e.prototype.bulkDelete=function(t){var n=this,r=t.length;return this._trans("readwrite",function(i){return n.core.mutate({trans:i,type:"delete",keys:t})}).then(function(i){var o=i.numFailures,a=i.lastResult,s=i.failures;if(o===0)return a;throw new Gg(n.name+".bulkDelete(): "+o+" of "+r+" operations failed",s)})},e}();function zS(e){var t={},n=function(s,l){if(l){for(var u=arguments.length,c=new Array(u-1);--u;)c[u-1]=arguments[u];return t[s].subscribe.apply(null,c),e}else if(typeof s=="string")return t[s]};n.addEventType=o;for(var r=1,i=arguments.length;r<i;++r)o(arguments[r]);return n;function o(s,l,u){if(typeof s=="object")return a(s);l||(l=j0e),u||(u=yr);var c={subscribers:[],fire:u,subscribe:function(f){c.subscribers.indexOf(f)===-1&&(c.subscribers.push(f),c.fire=l(c.fire,f))},unsubscribe:function(f){c.subscribers=c.subscribers.filter(function(d){return d!==f}),c.fire=c.subscribers.reduce(l,u)}};return t[s]=n[s]=c,c}function a(s){zi(s).forEach(function(l){var u=s[l];if(Po(u))o(l,s[l][0],s[l][1]);else if(u==="asap")var c=o(l,X2,function(){for(var d=arguments.length,h=new Array(d);d--;)h[d]=arguments[d];c.subscribers.forEach(function(p){MQ(function(){p.apply(null,h)})})});else throw new an.InvalidArgument("Invalid event config")})}}function B2(e,t){return Bv(t).from({prototype:e}),t}function hpe(e){return B2(dpe.prototype,function(n,r,i){this.db=e,this._tx=i,this.name=n,this.schema=r,this.hook=e._allTables[n]?e._allTables[n].hook:zS(null,{creating:[z0e,yr],reading:[G0e,X2],updating:[$0e,yr],deleting:[J0e,yr]})})}function w1(e,t){return!(e.filter||e.algorithm||e.or)&&(t?e.justLimit:!e.replayFilter)}function jw(e,t){e.filter=Gh(e.filter,t)}function qw(e,t,n){var r=e.replayFilter;e.replayFilter=r?function(){return Gh(r(),t())}:t,e.justLimit=n&&!r}function ppe(e,t){e.isMatch=Gh(e.isMatch,t)}function rb(e,t){if(e.isPrimKey)return t.primaryKey;var n=t.getIndexByKeyPath(e.index);if(!n)throw new an.Schema("KeyPath "+e.index+" on object store "+t.name+" is not indexed");return n}function t9(e,t,n){var r=rb(e,t.schema);return t.openCursor({trans:n,values:!e.keysOnly,reverse:e.dir==="prev",unique:!!e.unique,query:{index:r,range:e.range}})}function kA(e,t,n,r){var i=e.replayFilter?Gh(e.filter,e.replayFilter()):e.filter;if(e.or){var o={},a=function(s,l,u){if(!i||i(l,u,function(d){return l.stop(d)},function(d){return l.fail(d)})){var c=l.primaryKey,f=""+c;f==="[object ArrayBuffer]"&&(f=""+new Uint8Array(c)),Ts(o,f)||(o[f]=!0,t(s,l,u))}};return Promise.all([e.or._iterate(a,n),n9(t9(e,r,n),e.algorithm,a,!e.keysOnly&&e.valueMapper)])}else return n9(t9(e,r,n),Gh(e.algorithm,i),t,!e.keysOnly&&e.valueMapper)}function n9(e,t,n,r){var i=r?function(a,s,l){return n(r(a),s,l)}:n,o=Xr(i);return e.then(function(a){if(a)return a.start(function(){var s=function(){return a.continue()};(!t||t(a,function(l){return s=l},function(l){a.stop(l),s=yr},function(l){a.fail(l),s=yr}))&&o(a.value,a,function(l){return s=l}),s()})})}var vpe=function(){function e(){}return e.prototype._read=function(t,n){var r=this._ctx;return r.error?r.table._trans(null,vo.bind(null,r.error)):r.table._trans("readonly",t).then(n)},e.prototype._write=function(t){var n=this._ctx;return n.error?n.table._trans(null,vo.bind(null,n.error)):n.table._trans("readwrite",t,"locked")},e.prototype._addAlgorithm=function(t){var n=this._ctx;n.algorithm=Gh(n.algorithm,t)},e.prototype._iterate=function(t,n){return kA(this._ctx,t,n,this._ctx.table.core)},e.prototype.clone=function(t){var n=Object.create(this.constructor.prototype),r=Object.create(this._ctx);return t&&Ls(r,t),n._ctx=r,n},e.prototype.raw=function(){return this._ctx.valueMapper=null,this},e.prototype.each=function(t){var n=this._ctx;return this._read(function(r){return kA(n,t,r,n.table.core)})},e.prototype.count=function(t){var n=this;return this._read(function(r){var i=n._ctx,o=i.table.core;if(w1(i,!0))return o.count({trans:r,query:{index:rb(i,o.schema),range:i.range}}).then(function(s){return Math.min(s,i.limit)});var a=0;return kA(i,function(){return++a,!1},r,o).then(function(){return a})}).then(t)},e.prototype.sortBy=function(t,n){var r=t.split(".").reverse(),i=r[0],o=r.length-1;function a(u,c){return c?a(u[r[c]],c-1):u[i]}var s=this._ctx.dir==="next"?1:-1;function l(u,c){var f=a(u,o),d=a(c,o);return f<d?-s:f>d?s:0}return this.toArray(function(u){return u.sort(l)}).then(n)},e.prototype.toArray=function(t){var n=this;return this._read(function(r){var i=n._ctx;if(i.dir==="next"&&w1(i,!0)&&i.limit>0){var o=i.valueMapper,a=rb(i,i.table.core.schema);return i.table.core.query({trans:r,limit:i.limit,values:!0,query:{index:a,range:i.range}}).then(function(l){var u=l.result;return o?u.map(o):u})}else{var s=[];return kA(i,function(l){return s.push(l)},r,i.table.core).then(function(){return s})}},t)},e.prototype.offset=function(t){var n=this._ctx;return t<=0?this:(n.offset+=t,w1(n)?qw(n,function(){var r=t;return function(i,o){return r===0?!0:r===1?(--r,!1):(o(function(){i.advance(r),r=0}),!1)}}):qw(n,function(){var r=t;return function(){return--r<0}}),this)},e.prototype.limit=function(t){return this._ctx.limit=Math.min(this._ctx.limit,t),qw(this._ctx,function(){var n=t;return function(r,i,o){return--n<=0&&i(o),n>=0}},!0),this},e.prototype.until=function(t,n){return jw(this._ctx,function(r,i,o){return t(r.value)?(i(o),n):!0}),this},e.prototype.first=function(t){return this.limit(1).toArray(function(n){return n[0]}).then(t)},e.prototype.last=function(t){return this.reverse().first(t)},e.prototype.filter=function(t){return jw(this._ctx,function(n){return t(n.value)}),ppe(this._ctx,t),this},e.prototype.and=function(t){return this.filter(t)},e.prototype.or=function(t){return new this.db.WhereClause(this._ctx.table,t,this)},e.prototype.reverse=function(){return this._ctx.dir=this._ctx.dir==="prev"?"next":"prev",this._ondirectionchange&&this._ondirectionchange(this._ctx.dir),this},e.prototype.desc=function(){return this.reverse()},e.prototype.eachKey=function(t){var n=this._ctx;return n.keysOnly=!n.isMatch,this.each(function(r,i){t(i.key,i)})},e.prototype.eachUniqueKey=function(t){return this._ctx.unique="unique",this.eachKey(t)},e.prototype.eachPrimaryKey=function(t){var n=this._ctx;return n.keysOnly=!n.isMatch,this.each(function(r,i){t(i.primaryKey,i)})},e.prototype.keys=function(t){var n=this._ctx;n.keysOnly=!n.isMatch;var r=[];return this.each(function(i,o){r.push(o.key)}).then(function(){return r}).then(t)},e.prototype.primaryKeys=function(t){var n=this._ctx;if(n.dir==="next"&&w1(n,!0)&&n.limit>0)return this._read(function(i){var o=rb(n,n.table.core.schema);return n.table.core.query({trans:i,values:!1,limit:n.limit,query:{index:o,range:n.range}})}).then(function(i){var o=i.result;return o}).then(t);n.keysOnly=!n.isMatch;var r=[];return this.each(function(i,o){r.push(o.primaryKey)}).then(function(){return r}).then(t)},e.prototype.uniqueKeys=function(t){return this._ctx.unique="unique",this.keys(t)},e.prototype.firstKey=function(t){return this.limit(1).keys(function(n){return n[0]}).then(t)},e.prototype.lastKey=function(t){return this.reverse().firstKey(t)},e.prototype.distinct=function(){var t=this._ctx,n=t.index&&t.table.schema.idxByName[t.index];if(!n||!n.multi)return this;var r={};return jw(this._ctx,function(i){var o=i.primaryKey.toString(),a=Ts(r,o);return r[o]=!0,!a}),this},e.prototype.modify=function(t){var n=this,r=this._ctx;return this._write(function(i){var o;if(typeof t=="function")o=t;else{var a=zi(t),s=a.length;o=function(y){for(var R=!1,A=0;A<s;++A){var x=a[A],S=t[x];iu(y,x)!==S&&(cl(y,x,S),R=!0)}return R}}var l=r.table.core,u=l.schema.primaryKey,c=u.outbound,f=u.extractKey,d="testmode"in zh?1:2e3,h=n.db.core.cmp,p=[],v=0,g=[],m=function(y,R){var A=R.failures,x=R.numFailures;v+=y-x;for(var S=0,_=zi(A);S<_.length;S++){var M=_[S];p.push(A[M])}};return n.clone().primaryKeys().then(function(y){var R=function(A){var x=Math.min(d,y.length-A);return l.getMany({trans:i,keys:y.slice(A,A+x)}).then(function(S){for(var _=[],M=[],w=c?[]:null,L=[],k=0;k<x;++k){var P=S[k],F={value:Zm(P),primKey:y[A+k]};o.call(F,F.value,F)!==!1&&(F.value==null?L.push(y[A+k]):!c&&h(f(P),f(F.value))!==0?(L.push(y[A+k]),_.push(F.value)):(M.push(F.value),c&&w.push(y[A+k])))}return Promise.resolve(_.length>0&&l.mutate({trans:i,type:"add",values:_}).then(function(C){for(var N in C.failures)L.splice(parseInt(N),1);m(_.length,C)})).then(function(C){return M.length>0&&l.mutate({trans:i,type:"put",keys:w,values:M}).then(function(N){return m(M.length,N)})}).then(function(){return L.length>0&&l.mutate({trans:i,type:"delete",keys:L}).then(function(C){return m(L.length,C)})}).then(function(){return y.length>A+x&&R(A+d)})})};return R(0).then(function(){if(p.length>0)throw new fx("Error modifying one or more objects",p,v,g);return y.length})})})},e.prototype.delete=function(){var t=this._ctx,n=t.range;return w1(t)&&(t.isPrimKey&&!fpe||n.type===3)?this._write(function(r){var i=t.table.core.schema.primaryKey,o=n;return t.table.core.count({trans:r,query:{index:i,range:o}}).then(function(a){return t.table.core.mutate({trans:r,type:"deleteRange",range:o}).then(function(s){var l=s.failures;s.lastResult,s.results;var u=s.numFailures;if(u)throw new fx("Could not delete some values",Object.keys(l).map(function(c){return l[c]}),a-u);return a-u})})}):this.modify(function(r,i){return i.value=null})},e}();function gpe(e){return B2(vpe.prototype,function(n,r){this.db=e;var i=zQ,o=null;if(r)try{i=r()}catch(u){o=u}var a=n._ctx,s=a.table,l=s.hook.reading.fire;this._ctx={table:s,index:a.index,isPrimKey:!a.index||s.schema.primKey.keyPath&&a.index===s.schema.primKey.name,range:i,keysOnly:!1,dir:"next",unique:"",algorithm:null,filter:null,replayFilter:null,justLimit:!0,isMatch:null,offset:0,limit:1/0,error:o,or:a.or,valueMapper:l!==X2?l:null}})}function mpe(e,t){return e<t?-1:e===t?0:1}function ype(e,t){return e>t?-1:e===t?0:1}function Sa(e,t,n){var r=e instanceof $Q?new e.Collection(e):e;return r._ctx.error=n?new n(t):new TypeError(t),r}function E0(e){return new e.Collection(e,function(){return JQ("")}).limit(0)}function Ape(e){return e==="next"?function(t){return t.toUpperCase()}:function(t){return t.toLowerCase()}}function Rpe(e){return e==="next"?function(t){return t.toLowerCase()}:function(t){return t.toUpperCase()}}function bpe(e,t,n,r,i,o){for(var a=Math.min(e.length,r.length),s=-1,l=0;l<a;++l){var u=t[l];if(u!==r[l])return i(e[l],n[l])<0?e.substr(0,l)+n[l]+n.substr(l+1):i(e[l],r[l])<0?e.substr(0,l)+r[l]+n.substr(l+1):s>=0?e.substr(0,s)+t[s]+n.substr(s+1):null;i(e[l],u)<0&&(s=l)}return a<r.length&&o==="next"?e+n.substr(e.length):a<e.length&&o==="prev"?e.substr(0,n.length):s<0?null:e.substr(0,s)+r[s]+n.substr(s+1)}function PA(e,t,n,r){var i,o,a,s,l,u,c,f=n.length;if(!n.every(function(v){return typeof v=="string"}))return Sa(e,KQ);function d(v){i=Ape(v),o=Rpe(v),a=v==="next"?mpe:ype;var g=n.map(function(m){return{lower:o(m),upper:i(m)}}).sort(function(m,y){return a(m.lower,y.lower)});s=g.map(function(m){return m.upper}),l=g.map(function(m){return m.lower}),u=v,c=v==="next"?"":r}d("next");var h=new e.Collection(e,function(){return zc(s[0],l[f-1]+r)});h._ondirectionchange=function(v){d(v)};var p=0;return h._addAlgorithm(function(v,g,m){var y=v.key;if(typeof y!="string")return!1;var R=o(y);if(t(R,l,p))return!0;for(var A=null,x=p;x<f;++x){var S=bpe(y,R,s[x],l[x],a,u);S===null&&A===null?p=x+1:(A===null||a(A,S)>0)&&(A=S)}return g(A!==null?function(){v.continue(A+c)}:m),!1}),h}function zc(e,t,n,r){return{type:2,lower:e,upper:t,lowerOpen:n,upperOpen:r}}function JQ(e){return{type:1,lower:e,upper:e}}var $Q=function(){function e(){}return Object.defineProperty(e.prototype,"Collection",{get:function(){return this._ctx.table.db.Collection},enumerable:!0,configurable:!0}),e.prototype.between=function(t,n,r,i){r=r!==!1,i=i===!0;try{return this._cmp(t,n)>0||this._cmp(t,n)===0&&(r||i)&&!(r&&i)?E0(this):new this.Collection(this,function(){return zc(t,n,!r,!i)})}catch{return Sa(this,Fu)}},e.prototype.equals=function(t){return t==null?Sa(this,Fu):new this.Collection(this,function(){return JQ(t)})},e.prototype.above=function(t){return t==null?Sa(this,Fu):new this.Collection(this,function(){return zc(t,void 0,!0)})},e.prototype.aboveOrEqual=function(t){return t==null?Sa(this,Fu):new this.Collection(this,function(){return zc(t,void 0,!1)})},e.prototype.below=function(t){return t==null?Sa(this,Fu):new this.Collection(this,function(){return zc(void 0,t,!1,!0)})},e.prototype.belowOrEqual=function(t){return t==null?Sa(this,Fu):new this.Collection(this,function(){return zc(void 0,t)})},e.prototype.startsWith=function(t){return typeof t!="string"?Sa(this,KQ):this.between(t,t+Lp,!0,!0)},e.prototype.startsWithIgnoreCase=function(t){return t===""?this.startsWith(t):PA(this,function(n,r){return n.indexOf(r[0])===0},[t],Lp)},e.prototype.equalsIgnoreCase=function(t){return PA(this,function(n,r){return n===r[0]},[t],"")},e.prototype.anyOfIgnoreCase=function(){var t=Ju.apply(dp,arguments);return t.length===0?E0(this):PA(this,function(n,r){return r.indexOf(n)!==-1},t,"")},e.prototype.startsWithAnyOfIgnoreCase=function(){var t=Ju.apply(dp,arguments);return t.length===0?E0(this):PA(this,function(n,r){return r.some(function(i){return n.indexOf(i)===0})},t,Lp)},e.prototype.anyOf=function(){var t=this,n=Ju.apply(dp,arguments),r=this._cmp;try{n.sort(r)}catch{return Sa(this,Fu)}if(n.length===0)return E0(this);var i=new this.Collection(this,function(){return zc(n[0],n[n.length-1])});i._ondirectionchange=function(a){r=a==="next"?t._ascending:t._descending,n.sort(r)};var o=0;return i._addAlgorithm(function(a,s,l){for(var u=a.key;r(u,n[o])>0;)if(++o,o===n.length)return s(l),!1;return r(u,n[o])===0?!0:(s(function(){a.continue(n[o])}),!1)}),i},e.prototype.notEqual=function(t){return this.inAnyRange([[cT,t],[t,this.db._maxKey]],{includeLowers:!1,includeUppers:!1})},e.prototype.noneOf=function(){var t=Ju.apply(dp,arguments);if(t.length===0)return new this.Collection(this);try{t.sort(this._ascending)}catch{return Sa(this,Fu)}var n=t.reduce(function(r,i){return r?r.concat([[r[r.length-1][1],i]]):[[cT,i]]},null);return n.push([t[t.length-1],this.db._maxKey]),this.inAnyRange(n,{includeLowers:!1,includeUppers:!1})},e.prototype.inAnyRange=function(t,n){var r=this,i=this._cmp,o=this._ascending,a=this._descending,s=this._min,l=this._max;if(t.length===0)return E0(this);if(!t.every(function(x){return x[0]!==void 0&&x[1]!==void 0&&o(x[0],x[1])<=0}))return Sa(this,"First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower",an.InvalidArgument);var u=!n||n.includeLowers!==!1,c=n&&n.includeUppers===!0;function f(x,S){for(var _=0,M=x.length;_<M;++_){var w=x[_];if(i(S[0],w[1])<0&&i(S[1],w[0])>0){w[0]=s(w[0],S[0]),w[1]=l(w[1],S[1]);break}}return _===M&&x.push(S),x}var d=o;function h(x,S){return d(x[0],S[0])}var p;try{p=t.reduce(f,[]),p.sort(h)}catch{return Sa(this,Fu)}var v=0,g=c?function(x){return o(x,p[v][1])>0}:function(x){return o(x,p[v][1])>=0},m=u?function(x){return a(x,p[v][0])>0}:function(x){return a(x,p[v][0])>=0};function y(x){return!g(x)&&!m(x)}var R=g,A=new this.Collection(this,function(){return zc(p[0][0],p[p.length-1][1],!u,!c)});return A._ondirectionchange=function(x){x==="next"?(R=g,d=o):(R=m,d=a),p.sort(h)},A._addAlgorithm(function(x,S,_){for(var M=x.key;R(M);)if(++v,v===p.length)return S(_),!1;return y(M)?!0:(r._cmp(M,p[v][1])===0||r._cmp(M,p[v][0])===0||S(function(){d===o?x.continue(p[v][0]):x.continue(p[v][1])}),!1)}),A},e.prototype.startsWithAnyOf=function(){var t=Ju.apply(dp,arguments);return t.every(function(n){return typeof n=="string"})?t.length===0?E0(this):this.inAnyRange(t.map(function(n){return[n,n+Lp]})):Sa(this,"startsWithAnyOf() only works with strings")},e}();function xpe(e){return B2($Q.prototype,function(n,r,i){this.db=e,this._ctx={table:n,index:r===":id"?null:r,or:i};var o=e._deps.indexedDB;if(!o)throw new an.MissingAPI("indexedDB API missing");this._cmp=this._ascending=o.cmp.bind(o),this._descending=function(a,s){return o.cmp(s,a)},this._max=function(a,s){return o.cmp(a,s)>0?a:s},this._min=function(a,s){return o.cmp(a,s)<0?a:s},this._IDBKeyRange=e._deps.IDBKeyRange})}function jQ(e){return e.length===1?e[0]:e}function IO(e){try{return e.only([[]]),[[]]}catch{return Lp}}function Bl(e){return Xr(function(t){return Km(t),e(t.target.error),!1})}function Km(e){e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault()}var Spe=function(){function e(){}return e.prototype._lock=function(){return fg(!Yt.global),++this._reculock,this._reculock===1&&!Yt.global&&(Yt.lockOwnerFor=this),this},e.prototype._unlock=function(){if(fg(!Yt.global),--this._reculock===0)for(Yt.global||(Yt.lockOwnerFor=null);this._blockedFuncs.length>0&&!this._locked();){var t=this._blockedFuncs.shift();try{U2(t[1],t[0])}catch{}}return this},e.prototype._locked=function(){return this._reculock&&Yt.lockOwnerFor!==this},e.prototype.create=function(t){var n=this;if(!this.mode)return this;var r=this.db.idbdb,i=this.db._state.dbOpenError;if(fg(!this.idbtrans),!t&&!r)switch(i&&i.name){case"DatabaseClosedError":throw new an.DatabaseClosed(i);case"MissingAPIError":throw new an.MissingAPI(i.message,i);default:throw new an.OpenFailed(i)}if(!this.active)throw new an.TransactionInactive;return fg(this._completion._state===null),t=this.idbtrans=t||r.transaction(jQ(this.storeNames),this.mode),t.onerror=Xr(function(o){Km(o),n._reject(t.error)}),t.onabort=Xr(function(o){Km(o),n.active&&n._reject(new an.Abort(t.error)),n.active=!1,n.on("abort").fire(o)}),t.oncomplete=Xr(function(){n.active=!1,n._resolve()}),this},e.prototype._promise=function(t,n,r){var i=this;if(t==="readwrite"&&this.mode!=="readwrite")return vo(new an.ReadOnly("Transaction is readonly"));if(!this.active)return vo(new an.TransactionInactive);if(this._locked())return new Tt(function(a,s){i._blockedFuncs.push([function(){i._promise(t,n,r).then(a,s)},Yt])});if(r)return Hh(function(){var a=new Tt(function(s,l){i._lock();var u=n(s,l,i);u&&u.then&&u.then(s,l)});return a.finally(function(){return i._unlock()}),a._lib=!0,a});var o=new Tt(function(a,s){var l=n(a,s,i);l&&l.then&&l.then(a,s)});return o._lib=!0,o},e.prototype._root=function(){return this.parent?this.parent._root():this},e.prototype.waitFor=function(t){var n=this._root(),r=Tt.resolve(t);if(n._waitingFor)n._waitingFor=n._waitingFor.then(function(){return r});else{n._waitingFor=r,n._waitingQueue=[];var i=n.idbtrans.objectStore(n.storeNames[0]);(function a(){for(++n._spinCount;n._waitingQueue.length;)n._waitingQueue.shift()();n._waitingFor&&(i.get(-1/0).onsuccess=a)})()}var o=n._waitingFor;return new Tt(function(a,s){r.then(function(l){return n._waitingQueue.push(Xr(a.bind(null,l)))},function(l){return n._waitingQueue.push(Xr(s.bind(null,l)))}).finally(function(){n._waitingFor===o&&(n._waitingFor=null)})})},e.prototype.abort=function(){this.active&&this._reject(new an.Abort),this.active=!1},e.prototype.table=function(t){var n=this._memoizedTables||(this._memoizedTables={});if(Ts(n,t))return n[t];var r=this.schema[t];if(!r)throw new an.NotFound("Table "+t+" not part of transaction");var i=new this.db.Table(t,r,this);return i.core=this.db.core.table(t),n[t]=i,i},e}();function wpe(e){return B2(Spe.prototype,function(n,r,i,o){var a=this;this.db=e,this.mode=n,this.storeNames=r,this.schema=i,this.idbtrans=null,this.on=zS(this,"complete","error","abort"),this.parent=o||null,this.active=!0,this._reculock=0,this._blockedFuncs=[],this._resolve=null,this._reject=null,this._waitingFor=null,this._waitingQueue=null,this._spinCount=0,this._completion=new Tt(function(s,l){a._resolve=s,a._reject=l}),this._completion.then(function(){a.active=!1,a.on.complete.fire()},function(s){var l=a.active;return a.active=!1,a.on.error.fire(s),a.parent?a.parent._reject(s):l&&a.idbtrans&&a.idbtrans.abort(),vo(s)})})}function fT(e,t,n,r,i,o,a){return{name:e,keyPath:t,unique:n,multi:r,auto:i,compound:o,src:(n&&!a?"&":"")+(r?"*":"")+(i?"++":"")+qQ(t)}}function qQ(e){return typeof e=="string"?e:e?"["+[].join.call(e,"+")+"]":""}function eH(e,t,n){return{name:e,primKey:t,indexes:n,mappedClass:null,idxByName:LQ(n,function(r){return[r.name,r]})}}function dT(e){return e==null?function(){}:typeof e=="string"?Mpe(e):function(t){return iu(t,e)}}function Mpe(e){var t=e.split(".");return t.length===1?function(n){return n[e]}:function(n){return iu(n,e)}}function tH(e,t){return t.type==="delete"?t.keys:t.keys||t.values.map(e.extractKey)}function Lpe(e,t,n){return t.type==="add"?Promise.resolve(new Array(t.values.length)):e.getMany({trans:t.trans,keys:n})}function r9(e){return[].slice.call(e)}var Tpe=0;function Jg(e){return e==null?":id":typeof e=="string"?e:"["+e.join("+")+"]"}function _pe(e,t,n,r){var i=t.cmp.bind(t);function o(h,p){var v=r9(h.objectStoreNames);return{schema:{name:h.name,tables:v.map(function(g){return p.objectStore(g)}).map(function(g){var m=g.keyPath,y=g.autoIncrement,R=Po(m),A=m==null,x={},S={name:g.name,primaryKey:{name:null,isPrimaryKey:!0,outbound:A,compound:R,keyPath:m,autoIncrement:y,unique:!0,extractKey:dT(m)},indexes:r9(g.indexNames).map(function(_){return g.index(_)}).map(function(_){var M=_.name,w=_.unique,L=_.multiEntry,k=_.keyPath,P=Po(k),F={name:M,compound:P,keyPath:k,unique:w,multiEntry:L,extractKey:dT(k)};return x[Jg(k)]=F,F}),getIndexByKeyPath:function(_){return x[Jg(_)]}};return x[":id"]=S.primaryKey,m!=null&&(x[Jg(m)]=S.primaryKey),S})},hasGetAll:v.length>0&&"getAll"in p.objectStore(v[0])&&!(typeof navigator<"u"&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604)}}function a(h){if(h.type===3)return null;if(h.type===4)throw new Error("Cannot convert never type to IDBKeyRange");var p=h.lower,v=h.upper,g=h.lowerOpen,m=h.upperOpen,y=p===void 0?v===void 0?null:n.upperBound(v,!!m):v===void 0?n.lowerBound(p,!!g):n.bound(p,v,!!g,!!m);return y}function s(h){var p=h.name;function v(y){var R=y.trans,A=y.type,x=y.keys,S=y.values,_=y.range,M=y.wantResults;return new Promise(function(w,L){w=Xr(w);var k=R.objectStore(p),P=k.keyPath==null,F=A==="put"||A==="add";if(!F&&A!=="delete"&&A!=="deleteRange")throw new Error("Invalid operation type: "+A);var C=(x||S||{length:1}).length;if(x&&S&&x.length!==S.length)throw new Error("Given keys array must have same length as given values array.");if(C===0)return w({numFailures:0,failures:{},results:[],lastResult:void 0});var N=M&&j8(x||tH(h.primaryKey,{type:A,keys:x,values:S})),I,V=[],W=0,Z=function(j){++W,Km(j),N&&(N[j.target._reqno]=void 0),V[j.target._reqno]=j.target.error},re=function(j){var de=j.target;N[de._reqno]=de.result};if(A==="deleteRange"){if(_.type===4)return w({numFailures:W,failures:V,results:N,lastResult:void 0});_.type===3?I=k.clear():I=k.delete(a(_))}else{var Y=F?P?[S,x]:[S,null]:[x,null],B=Y[0],Q=Y[1];if(F)for(var K=0;K<C;++K)I=Q&&Q[K]!==void 0?k[A](B[K],Q[K]):k[A](B[K]),I._reqno=K,N&&N[K]===void 0&&(I.onsuccess=re),I.onerror=Z;else for(var K=0;K<C;++K)I=k[A](B[K]),I._reqno=K,I.onerror=Z}var q=function(j){var de=j.target.result;N&&(N[C-1]=de),w({numFailures:W,failures:V,results:N,lastResult:de})};I.onerror=function(j){Z(j),q(j)},I.onsuccess=q})}function g(y){var R=y.trans,A=y.values,x=y.query,S=y.reverse,_=y.unique;return new Promise(function(M,w){M=Xr(M);var L=x.index,k=x.range,P=R.objectStore(p),F=L.isPrimaryKey?P:P.index(L.name),C=S?_?"prevunique":"prev":_?"nextunique":"next",N=A||!("openKeyCursor"in F)?F.openCursor(a(k),C):F.openKeyCursor(a(k),C);N.onerror=Bl(w),N.onsuccess=Xr(function(I){var V=N.result;if(!V){M(null);return}V.___id=++Tpe,V.done=!1;var W=V.continue.bind(V),Z=V.continuePrimaryKey;Z&&(Z=Z.bind(V));var re=V.advance.bind(V),Y=function(){throw new Error("Cursor not started")},B=function(){throw new Error("Cursor not stopped")};V.trans=R,V.stop=V.continue=V.continuePrimaryKey=V.advance=Y,V.fail=Xr(w),V.next=function(){var Q=this,K=1;return this.start(function(){return K--?Q.continue():Q.stop()}).then(function(){return Q})},V.start=function(Q){var K=new Promise(function(j,de){j=Xr(j),N.onerror=Bl(de),V.fail=de,V.stop=function(G){V.stop=V.continue=V.continuePrimaryKey=V.advance=B,j(G)}}),q=function(){if(N.result)try{Q()}catch(j){V.fail(j)}else V.done=!0,V.start=function(){throw new Error("Cursor behind last entry")},V.stop()};return N.onsuccess=Xr(function(j){N.onsuccess=q,q()}),V.continue=W,V.continuePrimaryKey=Z,V.advance=re,q(),K},M(V)},w)})}function m(y){return function(R){return new Promise(function(A,x){A=Xr(A);var S=R.trans,_=R.values,M=R.limit,w=R.query,L=M===1/0?void 0:M,k=w.index,P=w.range,F=S.objectStore(p),C=k.isPrimaryKey?F:F.index(k.name),N=a(P);if(M===0)return A({result:[]});if(y){var I=_?C.getAll(N,L):C.getAllKeys(N,L);I.onsuccess=function(re){return A({result:re.target.result})},I.onerror=Bl(x)}else{var V=0,W=_||!("openKeyCursor"in C)?C.openCursor(N):C.openKeyCursor(N),Z=[];W.onsuccess=function(re){var Y=W.result;if(!Y)return A({result:Z});if(Z.push(_?Y.value:Y.primaryKey),++V===M)return A({result:Z});Y.continue()},W.onerror=Bl(x)}})}}return{name:p,schema:h,mutate:v,getMany:function(y){var R=y.trans,A=y.keys;return new Promise(function(x,S){x=Xr(x);for(var _=R.objectStore(p),M=A.length,w=new Array(M),L=0,k=0,P,F=function(V){var W=V.target;(w[W._pos]=W.result)!=null,++k===L&&x(w)},C=Bl(S),N=0;N<M;++N){var I=A[N];I!=null&&(P=_.get(A[N]),P._pos=N,P.onsuccess=F,P.onerror=C,++L)}L===0&&x(w)})},get:function(y){var R=y.trans,A=y.key;return new Promise(function(x,S){x=Xr(x);var _=R.objectStore(p),M=_.get(A);M.onsuccess=function(w){return x(w.target.result)},M.onerror=Bl(S)})},query:m(c),openCursor:g,count:function(y){var R=y.query,A=y.trans,x=R.index,S=R.range;return new Promise(function(_,M){var w=A.objectStore(p),L=x.isPrimaryKey?w:w.index(x.name),k=a(S),P=k?L.count(k):L.count();P.onsuccess=Xr(function(F){return _(F.target.result)}),P.onerror=Bl(M)})}}}var l=o(e,r),u=l.schema,c=l.hasGetAll,f=u.tables.map(function(h){return s(h)}),d={};return f.forEach(function(h){return d[h.name]=h}),{stack:"dbcore",transaction:e.transaction.bind(e),table:function(h){var p=d[h];if(!p)throw new Error("Table '"+h+"' not found");return d[h]},cmp:i,MIN_KEY:-1/0,MAX_KEY:IO(n),schema:u}}function Ope(e,t){return t.reduce(function(n,r){var i=r.create;return gr(gr({},n),i(n))},e)}function kpe(e,t,n,r){var i=n.IDBKeyRange,o=n.indexedDB,a=Ope(_pe(t,o,i,r),e.dbcore);return{dbcore:a}}function NO(e,t){var n=t.db,r=kpe(e._middlewares,n,e._deps,t);e.core=r.dbcore,e.tables.forEach(function(i){var o=i.name;e.core.schema.tables.some(function(a){return a.name===o})&&(i.core=e.core.table(o),e[o]instanceof e.Table&&(e[o].core=i.core))})}function mx(e,t,n,r){n.forEach(function(i){var o=r[i];t.forEach(function(a){var s=MO(a,i);(!s||"value"in s&&s.value===void 0)&&(a===e.Transaction.prototype||a instanceof e.Transaction?cc(a,i,{get:function(){return this.table(i)},set:function(l){SQ(this,i,{value:l,writable:!0,configurable:!0,enumerable:!0})}}):a[i]=new e.Table(i,o))})})}function hT(e,t){t.forEach(function(n){for(var r in n)n[r]instanceof e.Table&&delete n[r]})}function Ppe(e,t){return e._cfg.version-t._cfg.version}function Cpe(e,t,n,r){var i=e._dbSchema,o=e._createTransaction("readwrite",e._storeNames,i);o.create(n),o._completion.catch(r);var a=o._reject.bind(o),s=Yt.transless||Yt;Hh(function(){Yt.trans=o,Yt.transless=s,t===0?(zi(i).forEach(function(l){FO(n,l,i[l].primKey,i[l].indexes)}),NO(e,n),Tt.follow(function(){return e.on.populate.fire(o)}).catch(a)):Ipe(e,t,o,n).catch(a)})}function Ipe(e,t,n,r){var i=[],o=e._versions,a=e._dbSchema=EO(e,e.idbdb,r),s=!1,l=o.filter(function(c){return c._cfg.version>=t});l.forEach(function(c){i.push(function(){var f=a,d=c._cfg.dbschema;vT(e,f,r),vT(e,d,r),a=e._dbSchema=d;var h=nH(f,d);h.add.forEach(function(R){FO(r,R[0],R[1].primKey,R[1].indexes)}),h.change.forEach(function(R){if(R.recreate)throw new an.Upgrade("Not yet support for changing primary key");var A=r.objectStore(R.name);R.add.forEach(function(x){return pT(A,x)}),R.change.forEach(function(x){A.deleteIndex(x.name),pT(A,x)}),R.del.forEach(function(x){return A.deleteIndex(x)})});var p=c._cfg.contentUpgrade;if(p&&c._cfg.version>t){NO(e,r),n._memoizedTables={},s=!0;var v=_Q(d);h.del.forEach(function(R){v[R]=f[R]}),hT(e,[e.Transaction.prototype]),mx(e,[e.Transaction.prototype],zi(v),v),n.schema=v;var g=PQ(p);g&&D2();var m,y=Tt.follow(function(){if(m=p(n),m&&g){var R=Kh.bind(null,null);m.then(R,R)}});return m&&typeof m.then=="function"?Tt.resolve(m):y.then(function(){return m})}}),i.push(function(f){if(!s||!cpe){var d=c._cfg.dbschema;Fpe(d,f)}hT(e,[e.Transaction.prototype]),mx(e,[e.Transaction.prototype],e._storeNames,e._dbSchema),n.schema=e._dbSchema})});function u(){return i.length?Tt.resolve(i.shift()(n.idbtrans)).then(u):Tt.resolve()}return u().then(function(){Npe(a,r)})}function nH(e,t){var n={del:[],add:[],change:[]},r;for(r in e)t[r]||n.del.push(r);for(r in t){var i=e[r],o=t[r];if(!i)n.add.push([r,o]);else{var a={name:r,def:o,recreate:!1,del:[],add:[],change:[]};if(""+(i.primKey.keyPath||"")!=""+(o.primKey.keyPath||"")||i.primKey.auto!==o.primKey.auto&&!CO)a.recreate=!0,n.change.push(a);else{var s=i.idxByName,l=o.idxByName,u=void 0;for(u in s)l[u]||a.del.push(u);for(u in l){var c=s[u],f=l[u];c?c.src!==f.src&&a.change.push(f):a.add.push(f)}(a.del.length>0||a.add.length>0||a.change.length>0)&&n.change.push(a)}}}return n}function FO(e,t,n,r){var i=e.db.createObjectStore(t,n.keyPath?{keyPath:n.keyPath,autoIncrement:n.auto}:{autoIncrement:n.auto});return r.forEach(function(o){return pT(i,o)}),i}function Npe(e,t){zi(e).forEach(function(n){t.db.objectStoreNames.contains(n)||FO(t,n,e[n].primKey,e[n].indexes)})}function Fpe(e,t){for(var n=0;n<t.db.objectStoreNames.length;++n){var r=t.db.objectStoreNames[n];e[r]==null&&t.db.deleteObjectStore(r)}}function pT(e,t){e.createIndex(t.name,t.keyPath,{unique:t.unique,multiEntry:t.multi})}function EO(e,t,n){var r={},i=KS(t.objectStoreNames,0);return i.forEach(function(o){for(var a=n.objectStore(o),s=a.keyPath,l=fT(qQ(s),s||"",!1,!1,!!a.autoIncrement,s&&typeof s!="string",!0),u=[],c=0;c<a.indexNames.length;++c){var f=a.index(a.indexNames[c]);s=f.keyPath;var d=fT(f.name,s,!!f.unique,!!f.multiEntry,!1,s&&typeof s!="string",!1);u.push(d)}r[o]=eH(o,l,u)}),r}function Epe(e,t,n){e.verno=t.version/10;var r=e._dbSchema=EO(e,t,n);e._storeNames=KS(t.objectStoreNames,0),mx(e,[e._allTables],zi(r),r)}function Xpe(e,t){var n=EO(e,e.idbdb,t),r=nH(n,e._dbSchema);return!(r.add.length||r.change.some(function(i){return i.add.length||i.change.length}))}function vT(e,t,n){for(var r=n.db.objectStoreNames,i=0;i<r.length;++i){var o=r[i],a=n.objectStore(o);e._hasGetAll="getAll"in a;for(var s=0;s<a.indexNames.length;++s){var l=a.indexNames[s],u=a.index(l).keyPath,c=typeof u=="string"?u:"["+KS(u).join("+")+"]";if(t[o]){var f=t[o].idxByName[c];f&&(f.name=l,delete t[o].idxByName[c],t[o].idxByName[l]=f)}}}typeof navigator<"u"&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&xr.WorkerGlobalScope&&xr instanceof xr.WorkerGlobalScope&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604&&(e._hasGetAll=!1)}function Wpe(e){return e.split(",").map(function(t,n){t=t.trim();var r=t.replace(/([&*]|\+\+)/g,""),i=/^\[/.test(r)?r.match(/^\[(.*)\]$/)[1].split("+"):r;return fT(r,i||null,/\&/.test(t),/\*/.test(t),/\+\+/.test(t),Po(i),n===0)})}var Vpe=function(){function e(){}return e.prototype._parseStoresSpec=function(t,n){zi(t).forEach(function(r){if(t[r]!==null){var i=Wpe(t[r]),o=i.shift();if(o.multi)throw new an.Schema("Primary key cannot be multi-valued");i.forEach(function(a){if(a.auto)throw new an.Schema("Only primary key can be marked as autoIncrement (++)");if(!a.keyPath)throw new an.Schema("Index must have a name and cannot be an empty string")}),n[r]=eH(r,o,i)}})},e.prototype.stores=function(t){var n=this.db;this._cfg.storesSource=this._cfg.storesSource?Ls(this._cfg.storesSource,t):t;var r=n._versions,i={},o={};return r.forEach(function(a){Ls(i,a._cfg.storesSource),o=a._cfg.dbschema={},a._parseStoresSpec(i,o)}),n._dbSchema=o,hT(n,[n._allTables,n,n.Transaction.prototype]),mx(n,[n._allTables,n,n.Transaction.prototype,this._cfg.tables],zi(o),o),n._storeNames=zi(o),this},e.prototype.upgrade=function(t){return this._cfg.contentUpgrade=t,this},e}();function Dpe(e){return B2(Vpe.prototype,function(n){this.db=e,this._cfg={version:n,storesSource:null,dbschema:{},tables:{},contentUpgrade:null}})}var Gm;function Upe(e){var t=e&&typeof e.databases=="function",n;if(!t){var r=new zh(_A,{addons:[]});r.version(1).stores({dbnames:"name"}),n=r.table("dbnames")}return{getDatabaseNames:function(){return t?Tt.resolve(e.databases()).then(function(i){return i.map(function(o){return o.name}).filter(function(o){return o!==_A})}):n.toCollection().primaryKeys()},add:function(i){return!t&&i!==_A&&n.put({name:i}).catch(yr)},remove:function(i){return!t&&i!==_A&&n.delete(i).catch(yr)}}}function Bpe(e){try{Gm=Upe(e)}catch{}}function gT(e){return Hh(function(){return Yt.letThrough=!0,e()})}function Ype(e){var t=e._state,n=e._deps.indexedDB;if(t.isBeingOpened||e.idbdb)return t.dbReadyPromise.then(function(){return t.dbOpenError?vo(t.dbOpenError):e});bu&&(t.openCanceller._stackHolder=Yv()),t.isBeingOpened=!0,t.dbOpenError=null,t.openComplete=!1;var r=t.dbReadyResolve,i=null;return Tt.race([t.openCanceller,new Tt(function(o,a){if(!n)throw new an.MissingAPI("indexedDB API not found. If using IE10+, make sure to run your code on a server URL (not locally). If using old Safari versions, make sure to include indexedDB polyfill.");var s=e.name,l=t.autoSchema?n.open(s):n.open(s,Math.round(e.verno*10));if(!l)throw new an.MissingAPI("IndexedDB API not available");l.onerror=Bl(a),l.onblocked=Xr(e._fireOnBlocked),l.onupgradeneeded=Xr(function(u){if(i=l.transaction,t.autoSchema&&!e._options.allowEmptyDB){l.onerror=Km,i.abort(),l.result.close();var c=n.deleteDatabase(s);c.onsuccess=c.onerror=Xr(function(){a(new an.NoSuchDatabase("Database "+s+" doesnt exist"))})}else{i.onerror=Bl(a);var f=u.oldVersion>Math.pow(2,62)?0:u.oldVersion;e.idbdb=l.result,Cpe(e,f/10,i,a)}},a),l.onsuccess=Xr(function(){i=null;var u=e.idbdb=l.result,c=KS(u.objectStoreNames);if(c.length>0)try{var f=u.transaction(jQ(c),"readonly");t.autoSchema?Epe(e,u,f):(vT(e,e._dbSchema,f),Xpe(e,f)||console.warn("Dexie SchemaDiff: Schema was extended without increasing the number passed to db.version(). Some queries may fail.")),NO(e,f)}catch{}zg.push(e),u.onversionchange=Xr(function(d){t.vcFired=!0,e.on("versionchange").fire(d)}),Gm.add(s),o()},a)})]).then(function(){return t.onReadyBeingFired=[],Tt.resolve(gT(e.on.ready.fire)).then(function o(){if(t.onReadyBeingFired.length>0){var a=t.onReadyBeingFired.reduce(EQ,yr);return t.onReadyBeingFired=[],Tt.resolve(gT(a)).then(o)}})}).finally(function(){t.onReadyBeingFired=null}).then(function(){return t.isBeingOpened=!1,e}).catch(function(o){try{i&&i.abort()}catch{}return t.isBeingOpened=!1,e.close(),t.dbOpenError=o,vo(t.dbOpenError)}).finally(function(){t.openComplete=!0,r()})}function mT(e){var t=function(a){return e.next(a)},n=function(a){return e.throw(a)},r=o(t),i=o(n);function o(a){return function(s){var l=a(s),u=l.value;return l.done?u:!u||typeof u.then!="function"?Po(u)?Promise.all(u).then(r,i):r(u):u.then(r,i)}}return o(t)()}function Zpe(e,t,n){var r=arguments.length;if(r<2)throw new an.InvalidArgument("Too few arguments");for(var i=new Array(r-1);--r;)i[r-1]=arguments[r];n=i.pop();var o=OQ(i);return[e,o,n]}function Qpe(e,t,n,r,i){return Tt.resolve().then(function(){var o=Yt.transless||Yt,a=e._createTransaction(t,n,e._dbSchema,r),s={trans:a,transless:o};r?a.idbtrans=r.idbtrans:a.create();var l=PQ(i);l&&D2();var u,c=Tt.follow(function(){if(u=i.call(a,a),u)if(l){var f=Kh.bind(null,null);u.then(f,f)}else typeof u.next=="function"&&typeof u.throw=="function"&&(u=mT(u))},s);return(u&&typeof u.then=="function"?Tt.resolve(u).then(function(f){return a.active?f:vo(new an.PrematureCommit("Transaction committed too early. See http://bit.ly/2kdckMn"))}):c.then(function(){return u})).then(function(f){return r&&a._resolve(),a._completion.then(function(){return f})}).catch(function(f){return a._reject(f),vo(f)})})}function M1(e,t,n){for(var r=Po(e)?e.slice():[e],i=0;i<n;++i)r.push(t);return r}function Hpe(e){return gr(gr({},e),{table:function(t){var n=e.table(t),r=n.schema,i={},o=[];function a(v,g,m){var y=Jg(v),R=i[y]=i[y]||[],A=v==null?0:typeof v=="string"?1:v.length,x=g>0,S=gr(gr({},m),{isVirtual:x,isPrimaryKey:!x&&m.isPrimaryKey,keyTail:g,keyLength:A,extractKey:dT(v),unique:!x&&m.unique});if(R.push(S),S.isPrimaryKey||o.push(S),A>1){var _=A===2?v[0]:v.slice(0,A-1);a(_,g+1,m)}return R.sort(function(M,w){return M.keyTail-w.keyTail}),S}var s=a(r.primaryKey.keyPath,0,r.primaryKey);i[":id"]=[s];for(var l=0,u=r.indexes;l<u.length;l++){var c=u[l];a(c.keyPath,0,c)}function f(v){var g=i[Jg(v)];return g&&g[0]}function d(v,g){return{type:v.type===1?2:v.type,lower:M1(v.lower,v.lowerOpen?e.MAX_KEY:e.MIN_KEY,g),lowerOpen:!0,upper:M1(v.upper,v.upperOpen?e.MIN_KEY:e.MAX_KEY,g),upperOpen:!0}}function h(v){var g=v.query.index;return g.isVirtual?gr(gr({},v),{query:{index:g,range:d(v.query.range,g.keyTail)}}):v}var p=gr(gr({},n),{schema:gr(gr({},r),{primaryKey:s,indexes:o,getIndexByKeyPath:f}),count:function(v){return n.count(h(v))},query:function(v){return n.query(h(v))},openCursor:function(v){var g=v.query.index,m=g.keyTail,y=g.isVirtual,R=g.keyLength;if(!y)return n.openCursor(v);function A(x){function S(M){M!=null?x.continue(M1(M,v.reverse?e.MAX_KEY:e.MIN_KEY,m)):v.unique?x.continue(M1(x.key,v.reverse?e.MIN_KEY:e.MAX_KEY,m)):x.continue()}var _=Object.create(x,{continue:{value:S},continuePrimaryKey:{value:function(M,w){x.continuePrimaryKey(M1(M,e.MAX_KEY,m),w)}},key:{get:function(){var M=x.key;return R===1?M[0]:M.slice(0,R)}},value:{get:function(){return x.value}}});return _}return n.openCursor(h(v)).then(function(x){return x&&A(x)})}});return p}})}var Kpe={stack:"dbcore",name:"VirtualIndexMiddleware",level:1,create:Hpe},Gpe={stack:"dbcore",name:"HooksMiddleware",level:2,create:function(e){return gr(gr({},e),{table:function(t){var n=e.table(t),r=n.schema.primaryKey,i=gr(gr({},n),{mutate:function(o){var a=Yt.trans,s=a.table(t).hook,l=s.deleting,u=s.creating,c=s.updating;switch(o.type){case"add":if(u.fire===yr)break;return a._promise("readwrite",function(){return f(o)},!0);case"put":if(u.fire===yr&&c.fire===yr)break;return a._promise("readwrite",function(){return f(o)},!0);case"delete":if(l.fire===yr)break;return a._promise("readwrite",function(){return f(o)},!0);case"deleteRange":if(l.fire===yr)break;return a._promise("readwrite",function(){return d(o)},!0)}return n.mutate(o);function f(p){var v=Yt.trans,g=p.keys||tH(r,p);if(!g)throw new Error("Keys missing");return p=p.type==="add"||p.type==="put"?gr(gr({},p),{keys:g,wantResults:!0}):gr({},p),p.type!=="delete"&&(p.values=j8(p.values)),p.keys&&(p.keys=j8(p.keys)),Lpe(n,p,g).then(function(m){var y=g.map(function(R,A){var x=m[A],S={onerror:null,onsuccess:null};if(p.type==="delete")l.fire.call(S,R,x,v);else if(p.type==="add"||x===void 0){var _=u.fire.call(S,R,p.values[A],v);R==null&&_!=null&&(R=_,p.keys[A]=R,r.outbound||cl(p.values[A],r.keyPath,R))}else{var M=LO(x,p.values[A]),w=c.fire.call(S,M,R,x,v);if(w){var L=p.values[A];Object.keys(w).forEach(function(k){Ts(L,k)?L[k]=w[k]:cl(L,k,w[k])})}}return S});return n.mutate(p).then(function(R){for(var A=R.failures,x=R.results,S=R.numFailures,_=R.lastResult,M=0;M<g.length;++M){var w=x?x[M]:g[M],L=y[M];w==null?L.onerror&&L.onerror(A[M]):L.onsuccess&&L.onsuccess(p.type==="put"&&m[M]?p.values[M]:w)}return{failures:A,results:x,numFailures:S,lastResult:_}}).catch(function(R){return y.forEach(function(A){return A.onerror&&A.onerror(R)}),Promise.reject(R)})})}function d(p){return h(p.trans,p.range,1e4)}function h(p,v,g){return n.query({trans:p,values:!1,query:{index:r,range:v},limit:g}).then(function(m){var y=m.result;return f({type:"delete",keys:y,trans:p}).then(function(R){return R.numFailures>0?Promise.reject(R.failures[0]):y.length<g?{failures:[],numFailures:0,lastResult:void 0}:h(p,gr(gr({},v),{lower:y[y.length-1],lowerOpen:!0}),g)})})}}});return i}})}},zh=function(){function e(t,n){var r=this;this._middlewares={},this.verno=0;var i=e.dependencies;this._options=n=gr({addons:e.addons,autoOpen:!0,indexedDB:i.indexedDB,IDBKeyRange:i.IDBKeyRange},n),this._deps={indexedDB:n.indexedDB,IDBKeyRange:n.IDBKeyRange};var o=n.addons;this._dbSchema={},this._versions=[],this._storeNames=[],this._allTables={},this.idbdb=null;var a={dbOpenError:null,isBeingOpened:!1,onReadyBeingFired:null,openComplete:!1,dbReadyResolve:yr,dbReadyPromise:null,cancelOpen:yr,openCanceller:null,autoSchema:!0};a.dbReadyPromise=new Tt(function(s){a.dbReadyResolve=s}),a.openCanceller=new Tt(function(s,l){a.cancelOpen=l}),this._state=a,this.name=t,this.on=zS(this,"populate","blocked","versionchange",{ready:[EQ,yr]}),this.on.ready.subscribe=wQ(this.on.ready.subscribe,function(s){return function(l,u){e.vip(function(){var c=r._state;if(c.openComplete)c.dbOpenError||Tt.resolve().then(l),u&&s(l);else if(c.onReadyBeingFired)c.onReadyBeingFired.push(l),u&&s(l);else{s(l);var f=r;u||s(function d(){f.on.ready.unsubscribe(l),f.on.ready.unsubscribe(d)})}})}}),this.Collection=gpe(this),this.Table=hpe(this),this.Transaction=wpe(this),this.Version=Dpe(this),this.WhereClause=xpe(this),this.on("versionchange",function(s){s.newVersion>0?console.warn("Another connection wants to upgrade database '"+r.name+"'. Closing db now to resume the upgrade."):console.warn("Another connection wants to delete database '"+r.name+"'. Closing db now to resume the delete request."),r.close()}),this.on("blocked",function(s){!s.newVersion||s.newVersion<s.oldVersion?console.warn("Dexie.delete('"+r.name+"') was blocked"):console.warn("Upgrade '"+r.name+"' blocked by other connection holding version "+s.oldVersion/10)}),this._maxKey=IO(n.IDBKeyRange),this._createTransaction=function(s,l,u,c){return new r.Transaction(s,l,u,c)},this._fireOnBlocked=function(s){r.on("blocked").fire(s),zg.filter(function(l){return l.name===r.name&&l!==r&&!l._state.vcFired}).map(function(l){return l.on("versionchange").fire(s)})},this.use(Kpe),this.use(Gpe),o.forEach(function(s){return s(r)})}return e.prototype.version=function(t){if(isNaN(t)||t<.1)throw new an.Type("Given version is not a positive number");if(t=Math.round(t*10)/10,this.idbdb||this._state.isBeingOpened)throw new an.Schema("Cannot add version when database is open");this.verno=Math.max(this.verno,t);var n=this._versions,r=n.filter(function(i){return i._cfg.version===t})[0];return r||(r=new this.Version(t),n.push(r),n.sort(Ppe),r.stores({}),this._state.autoSchema=!1,r)},e.prototype._whenReady=function(t){var n=this;return this._state.openComplete||Yt.letThrough?t():new Tt(function(r,i){if(!n._state.isBeingOpened){if(!n._options.autoOpen){i(new an.DatabaseClosed);return}n.open().catch(yr)}n._state.dbReadyPromise.then(r,i)}).then(t)},e.prototype.use=function(t){var n=t.stack,r=t.create,i=t.level,o=t.name;o&&this.unuse({stack:n,name:o});var a=this._middlewares[n]||(this._middlewares[n]=[]);return a.push({stack:n,create:r,level:i??10,name:o}),a.sort(function(s,l){return s.level-l.level}),this},e.prototype.unuse=function(t){var n=t.stack,r=t.name,i=t.create;return n&&this._middlewares[n]&&(this._middlewares[n]=this._middlewares[n].filter(function(o){return i?o.create!==i:r?o.name!==r:!1})),this},e.prototype.open=function(){return Ype(this)},e.prototype.close=function(){var t=zg.indexOf(this),n=this._state;if(t>=0&&zg.splice(t,1),this.idbdb){try{this.idbdb.close()}catch{}this.idbdb=null}this._options.autoOpen=!1,n.dbOpenError=new an.DatabaseClosed,n.isBeingOpened&&n.cancelOpen(n.dbOpenError),n.dbReadyPromise=new Tt(function(r){n.dbReadyResolve=r}),n.openCanceller=new Tt(function(r,i){n.cancelOpen=i})},e.prototype.delete=function(){var t=this,n=arguments.length>0,r=this._state;return new Tt(function(i,o){var a=function(){t.close();var s=t._deps.indexedDB.deleteDatabase(t.name);s.onsuccess=Xr(function(){Gm.remove(t.name),i()}),s.onerror=Bl(o),s.onblocked=t._fireOnBlocked};if(n)throw new an.InvalidArgument("Arguments not allowed in db.delete()");r.isBeingOpened?r.dbReadyPromise.then(a):a()})},e.prototype.backendDB=function(){return this.idbdb},e.prototype.isOpen=function(){return this.idbdb!==null},e.prototype.hasBeenClosed=function(){var t=this._state.dbOpenError;return t&&t.name==="DatabaseClosed"},e.prototype.hasFailed=function(){return this._state.dbOpenError!==null},e.prototype.dynamicallyOpened=function(){return this._state.autoSchema},Object.defineProperty(e.prototype,"tables",{get:function(){var t=this;return zi(this._allTables).map(function(n){return t._allTables[n]})},enumerable:!0,configurable:!0}),e.prototype.transaction=function(){var t=Zpe.apply(this,arguments);return this._transaction.apply(this,t)},e.prototype._transaction=function(t,n,r){var i=this,o=Yt.trans;(!o||o.db!==this||t.indexOf("!")!==-1)&&(o=null);var a=t.indexOf("?")!==-1;t=t.replace("!","").replace("?","");var s,l;try{if(l=n.map(function(c){var f=c instanceof i.Table?c.name:c;if(typeof f!="string")throw new TypeError("Invalid table argument to Dexie.transaction(). Only Table or String are allowed");return f}),t=="r"||t===Jw)s=Jw;else if(t=="rw"||t==$w)s=$w;else throw new an.InvalidArgument("Invalid transaction mode: "+t);if(o){if(o.mode===Jw&&s===$w)if(a)o=null;else throw new an.SubTransaction("Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY");o&&l.forEach(function(c){if(o&&o.storeNames.indexOf(c)===-1)if(a)o=null;else throw new an.SubTransaction("Table "+c+" not included in parent transaction.")}),a&&o&&!o.active&&(o=null)}}catch(c){return o?o._promise(null,function(f,d){d(c)}):vo(c)}var u=Qpe.bind(null,this,s,l,o,r);return o?o._promise(s,u,"lock"):Yt.trans?U2(Yt.transless,function(){return i._whenReady(u)}):this._whenReady(u)},e.prototype.table=function(t){if(!Ts(this._allTables,t))throw new an.InvalidTable("Table "+t+" does not exist");return this._allTables[t]},e}(),sf=zh;Ym(sf,gr(gr({},GS),{delete:function(e){var t=new sf(e);return t.delete()},exists:function(e){return new sf(e,{addons:[]}).open().then(function(t){return t.close(),!0}).catch("NoSuchDatabaseError",function(){return!1})},getDatabaseNames:function(e){return Gm?Gm.getDatabaseNames().then(e):Tt.resolve([])},defineClass:function(){function e(t){Ls(this,t)}return e},ignoreTransaction:function(e){return Yt.trans?U2(Yt.transless,e):e()},vip:gT,async:function(e){return function(){try{var t=mT(e.apply(this,arguments));return!t||typeof t.then!="function"?Tt.resolve(t):t}catch(n){return vo(n)}}},spawn:function(e,t,n){try{var r=mT(e.apply(n,t||[]));return!r||typeof r.then!="function"?Tt.resolve(r):r}catch(i){return vo(i)}},currentTransaction:{get:function(){return Yt.trans||null}},waitFor:function(e,t){var n=Tt.resolve(typeof e=="function"?sf.ignoreTransaction(e):e).timeout(t||6e4);return Yt.trans?Yt.trans.waitFor(n):n},Promise:Tt,debug:{get:function(){return bu},set:function(e){CQ(e,e==="dexie"?function(){return!0}:GQ)}},derive:Bv,extend:Ls,props:Ym,override:wQ,Events:zS,getByKeyPath:iu,setByKeyPath:cl,delByKeyPath:TQ,shallowClone:_Q,deepClone:Zm,getObjectDiff:LO,asap:MQ,minKey:cT,addons:[],connections:zg,errnames:Q0e,dependencies:function(){try{return{indexedDB:xr.indexedDB||xr.mozIndexedDB||xr.webkitIndexedDB||xr.msIndexedDB,IDBKeyRange:xr.IDBKeyRange||xr.webkitIDBKeyRange}}catch{return{indexedDB:null,IDBKeyRange:null}}}(),semVer:e9,version:e9.split(".").map(function(e){return parseInt(e)}).reduce(function(e,t,n){return e+t/Math.pow(10,n*2)}),default:sf,Dexie:sf}));sf.maxKey=IO(sf.dependencies.IDBKeyRange);Bpe(zh.dependencies.indexedDB);Tt.rejectionMapper=K0e;CQ(bu,GQ);const yx="PPTIST_DISCARDED_DB",yT="PPTist",zpe=async()=>{const e=new Date().getTime(),t=localStorage.getItem(yx),n=t?JSON.parse(t):[],i=(await zh.getDatabaseNames()).filter(o=>{if(o.indexOf(yT)===-1)return!1;const[a,s,l]=o.split("_");return!!(a!==yT||!s||!l||n.includes(s)||e-+l>=1e3*60*60*12)});for(const o of i)zh.delete(o);localStorage.removeItem(yx)};class Jpe extends zh{constructor(){super(`${yT}_${bQ}_${new Date().getTime()}`);Lr(this,"snapshots");Lr(this,"writingBoardImgs");this.version(1).stores({snapshots:"++id",writingBoardImgs:"++id"}),this.snapshots=this.table("snapshots"),this.writingBoardImgs=this.table("writingBoardImgs")}}const el=new Jpe,JS=F2("snapshot",{state:()=>({snapshotCursor:-1,snapshotLength:0}),getters:{canUndo(e){return e.snapshotCursor>0},canRedo(e){return e.snapshotCursor<e.snapshotLength-1}},actions:{setSnapshotCursor(e){this.snapshotCursor=e},setSnapshotLength(e){this.snapshotLength=e},async initSnapshotDatabase(){const e=lt(),t={index:e.slideIndex,slides:e.slides};await el.snapshots.add(t),this.setSnapshotCursor(0),this.setSnapshotLength(1)},async addSnapshot(){const e=lt(),t=await el.snapshots.orderBy("id").keys();let n=[];this.snapshotCursor>=0&&this.snapshotCursor<t.length-1&&(n=t.slice(this.snapshotCursor+1));const r={index:e.slideIndex,slides:e.slides};await el.snapshots.add(r);let i=t.length-n.length+1;i>20&&(n.push(t[0]),i--),i>=2&&el.snapshots.update(t[i-2],{index:e.slideIndex}),await el.snapshots.bulkDelete(n),this.setSnapshotCursor(i-1),this.setSnapshotLength(i)},async unDo(){if(this.snapshotCursor<=0)return;const e=lt(),t=ht(),n=this.snapshotCursor-1,i=(await el.snapshots.orderBy("id").toArray())[n],{index:o,slides:a}=i,s=o>a.length-1?a.length-1:o;e.setSlides(a),e.updateSlideIndex(s),this.setSnapshotCursor(n),t.setActiveElementIdList([])},async reDo(){if(this.snapshotCursor>=this.snapshotLength-1)return;const e=lt(),t=ht(),n=this.snapshotCursor+1,i=(await el.snapshots.orderBy("id").toArray())[n],{index:o,slides:a}=i,s=o>a.length-1?a.length-1:o;e.setSlides(a),e.updateSlideIndex(s),this.setSnapshotCursor(n),t.setActiveElementIdList([])}}}),pl=F2("keyboard",{state:()=>({ctrlKeyState:!1,shiftKeyState:!1,spaceKeyState:!1}),getters:{ctrlOrShiftKeyActive(e){return e.ctrlKeyState||e.shiftKeyState}},actions:{setCtrlKeyState(e){this.ctrlKeyState=e},setShiftKeyState(e){this.shiftKeyState=e},setSpaceKeyState(e){this.spaceKeyState=e}}}),rH=F2("screen",{state:()=>({screening:!1}),actions:{setScreening(e){this.screening=e}}}),hg=(e,t)=>Yn.padStart(""+e,t,"0"),$pe=()=>!navigator.userAgent.match(/(iPhone|iPod|iPad|Android|Mobile|BlackBerry|Symbian|Windows Phone)/i),jpe=e=>/^(https?:\/\/)([\w-]+\.)+[\w-]{2,}(\/[\w-./?%&=]*)?$/i.test(e);var qpe={size:"1em",strokeWidth:4,strokeLinecap:"round",strokeLinejoin:"round",rtl:!1,theme:"outline",colors:{outline:{fill:"#333",background:"transparent"},filled:{fill:"#333",background:"#FFF"},twoTone:{fill:"#333",twoTone:"#2F88FF"},multiColor:{outStrokeColor:"#333",outFillColor:"#2F88FF",innerStrokeColor:"#FFF",innerFillColor:"#43CCF8"}},prefix:"i"};function eve(){return"icon-"+((1+Math.random())*4294967296|0).toString(16).substring(1)}function tve(e,t,n){var r=typeof t.fill=="string"?[t.fill]:t.fill||[],i=[],o=t.theme||n.theme;switch(o){case"outline":i.push(typeof r[0]=="string"?r[0]:"currentColor"),i.push("none"),i.push(typeof r[0]=="string"?r[0]:"currentColor"),i.push("none");break;case"filled":i.push(typeof r[0]=="string"?r[0]:"currentColor"),i.push(typeof r[0]=="string"?r[0]:"currentColor"),i.push("#FFF"),i.push("#FFF");break;case"two-tone":i.push(typeof r[0]=="string"?r[0]:"currentColor"),i.push(typeof r[1]=="string"?r[1]:n.colors.twoTone.twoTone),i.push(typeof r[0]=="string"?r[0]:"currentColor"),i.push(typeof r[1]=="string"?r[1]:n.colors.twoTone.twoTone);break;case"multi-color":i.push(typeof r[0]=="string"?r[0]:"currentColor"),i.push(typeof r[1]=="string"?r[1]:n.colors.multiColor.outFillColor),i.push(typeof r[2]=="string"?r[2]:n.colors.multiColor.innerStrokeColor),i.push(typeof r[3]=="string"?r[3]:n.colors.multiColor.innerFillColor);break}return{size:t.size||n.size,strokeWidth:t.strokeWidth||n.strokeWidth,strokeLinecap:t.strokeLinecap||n.strokeLinecap,strokeLinejoin:t.strokeLinejoin||n.strokeLinejoin,colors:i,id:e}}var nve=Symbol("icon-context");function $e(e,t,n){var r={name:"icon-"+e,props:["size","strokeWidth","strokeLinecap","strokeLinejoin","theme","fill","spin"],setup:function(o){var a=eve(),s=bs(nve,qpe);return function(){var l=o.size,u=o.strokeWidth,c=o.strokeLinecap,f=o.strokeLinejoin,d=o.theme,h=o.fill,p=o.spin,v=tve(a,{size:l,strokeWidth:u,strokeLinecap:c,strokeLinejoin:f,theme:d,fill:h},s),g=[s.prefix+"-icon"];return g.push(s.prefix+"-icon-"+e),t&&s.rtl&&g.push(s.prefix+"-icon-rtl"),p&&g.push(s.prefix+"-icon-spin"),O("span",{class:g.join(" ")},[n(v)])}}};return r}const rve=$e("add-text",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M4 8H32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M28 21H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M18 42L18 8",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M36 42L36 21",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),ive=$e("align-bottom",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"17",y:"6",width:"14",height:"28",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 42H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),ove=$e("align-horizontally",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"7",y:"17",width:"34",height:"14",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),ave=$e("align-left",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"14.5",y:"17",width:"28",height:"14",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6.5 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),sve=$e("align-right",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"6",y:"17",width:"28",height:"14",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),lve=$e("align-text-both",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M42 19H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 39H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),uve=$e("align-text-bottom-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"6",y:"6",width:"36",height:"36",rx:"3",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 27H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M27 34H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),cve=$e("align-text-center",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M36 19H12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M36 39H12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),fve=$e("align-text-left",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 19H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 39H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),dve=$e("align-text-middle-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"6",y:"6",width:"36",height:"36",rx:"3",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 20H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M26 27H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),hve=$e("align-text-right",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 19H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 39H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),pve=$e("align-text-top-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"6",y:"6",width:"36",height:"36",rx:"3",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M26 20H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 13H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),vve=$e("align-top",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"17",y:"14.5",width:"14",height:"28",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 6.5H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),gve=$e("align-vertically",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"17",y:"7",width:"14",height:"34",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 24H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),mve=$e("arrow-circle-left",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32.4917 24.5H14.4917",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M23.4917 15.5L14.4917 24.5L23.4917 33.5",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),yve=$e("attention",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 37C25.3807 37 26.5 35.8807 26.5 34.5C26.5 33.1193 25.3807 32 24 32C22.6193 32 21.5 33.1193 21.5 34.5C21.5 35.8807 22.6193 37 24 37Z",fill:e.colors[2]},null),O("path",{d:"M24 12V28",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Ave=$e("back",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M44 40.8361C39.1069 34.8632 34.7617 31.4739 30.9644 30.6682C27.1671 29.8625 23.5517 29.7408 20.1182 30.303V41L4 23.5453L20.1182 7V17.167C26.4667 17.2172 31.8638 19.4948 36.3095 24C40.7553 28.5052 43.3187 34.1172 44 40.8361Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),Rve=$e("background-color",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M37 37C39.2091 37 41 35.2091 41 33C41 31.5272 39.6667 29.5272 37 27C34.3333 29.5272 33 31.5272 33 33C33 35.2091 34.7909 37 37 37Z",fill:e.colors[0]},null),O("path",{d:"M20.8535 5.50439L24.389 9.03993",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M23.6818 8.33281L8.12549 23.8892L19.4392 35.2029L34.9955 19.6465L23.6818 8.33281Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 20.0732L28.961 25.6496",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M4 43H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),bve=$e("bring-to-front",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M41 18H19C18.4477 18 18 18.4477 18 19V41C18 41.5523 18.4477 42 19 42H41C41.5523 42 42 41.5523 42 41V19C42 18.4477 41.5523 18 41 18Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M9.96906 6H6V10.0336",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M9.99705 30H6V26.012",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M26.0023 6H30V10.0152",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16.0283 6H20.0083",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 16C6 18.6536 6 19.9869 6 20",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M30 16C30 18.6765 30 19.3456 30 18.0074",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M15.9922 30H17.9996",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),xve=$e("bring-to-front-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M14 21V34H27",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 14H34V27",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M5 21V5H21V21H5Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M27 43V27H43V43H27Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Sve=$e("chart-histogram",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 30V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M22 22V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M30 6V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M38 14V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),wve=$e("chart-histogram-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M18 34H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M26 26H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 18H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 10L14 10",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Mve=$e("chart-line",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 34L22 18L32 27L42 6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Lve=$e("chart-line-area",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 34L22 18L32 27L42 6V34H14Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),Tve=$e("chart-pie",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M44 24C44 35.0457 35.0457 44 24 44C12.9543 44 4 35.0457 4 24C4 12.9543 12.9543 4 24 4V24H44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M43.0844 18H30V4.91553C36.2202 6.86917 41.1308 11.7798 43.0844 18Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),_ve=$e("chart-proportion",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M16.3446 5.51758C13.9 6.53124 11.7001 8.01574 9.85786 9.85797C6.23858 13.4773 4 18.4773 4 24.0001C4 35.0458 12.9543 44.0001 24 44.0001V44.0001C29.5228 44.0001 34.5228 41.7615 38.1421 38.1422C39.9844 36.3 41.4689 34.1001 42.4825 31.6555",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 24H44C44 12.9543 35.0457 4 24 4L24 24Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),Ove=$e("chart-ring",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M43.7756 20.9938C42.4735 12.3555 35.6463 5.5277 27.0084 4.22461M20.9757 4.22702C11.3651 5.68478 4 13.9822 4 23.9998C4 34.0212 11.3705 42.321 20.9863 43.7743C21.9692 43.9228 22.9756 43.9998 24 43.9998C25.0209 43.9998 26.024 43.9233 27.0038 43.7758C35.6458 42.4741 42.4762 35.6427 43.7764 27.0003",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 16C19.5817 16 16 19.5817 16 24C16 28.4183 19.5817 32 24 32C28.4183 32 32 28.4183 32 24C32 19.5817 28.4183 16 24 16Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),kve=$e("chart-scatter",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20 24C22.2091 24 24 22.2091 24 20C24 17.7909 22.2091 16 20 16C17.7909 16 16 17.7909 16 20C16 22.2091 17.7909 24 20 24Z",fill:e.colors[0]},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M37 16C39.7614 16 42 13.7614 42 11C42 8.23858 39.7614 6 37 6C34.2386 6 32 8.23858 32 11C32 13.7614 34.2386 16 37 16Z",fill:e.colors[0]},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15 36C16.6569 36 18 34.6569 18 33C18 31.3431 16.6569 30 15 30C13.3431 30 12 31.3431 12 33C12 34.6569 13.3431 36 15 36Z",fill:e.colors[0]},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M33 32C34.6569 32 36 30.6569 36 29C36 27.3431 34.6569 26 33 26C31.3431 26 30 27.3431 30 29C30 30.6569 31.3431 32 33 32Z",fill:e.colors[0]},null)])}),Pve=$e("check-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 24L22 30L34 18",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Cve=$e("clear",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20 5.91406H28V13.9141H43V21.9141H5V13.9141H20V5.91406Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M8 40H40V22H8V40Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 39.8976V33.9141",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 39.8977V33.8977",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 39.8976V33.9141",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 40H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Ive=$e("click",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 4V12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M22 22L42 26L36 30L42 36L36 42L30 36L26 42L22 22Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M38.1421 9.85789L32.4853 15.5147",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M9.85787 38.1421L15.5147 32.4853",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M4 24H12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M9.85795 9.85787L15.5148 15.5147",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Nve=$e("close",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M8 8L40 40",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M8 40L40 8",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Fve=$e("close-one",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M29.6567 18.3432L18.343 29.6569",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M18.3433 18.3432L29.657 29.6569",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Eve=$e("close-small",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M14 14L34 34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 34L34 14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Xve=$e("code",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M16 13L4 25.4322L16 37",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 13L44 25.4322L32 37",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M28 4L21 44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),Wve=$e("color-filter",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 40.9444C26.123 42.8446 28.9266 44 32 44C38.6274 44 44 38.6274 44 32C44 26.4085 40.1757 21.7102 35 20.3781",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M13 20.3781C7.82432 21.7102 4 26.4085 4 32C4 38.6274 9.37258 44 16 44C22.6274 44 28 38.6274 28 32C28 30.4506 27.7063 28.9697 27.1716 27.6101",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 28C30.6274 28 36 22.6274 36 16C36 9.37258 30.6274 4 24 4C17.3726 4 12 9.37258 12 16C12 22.6274 17.3726 28 24 28Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),Vve=$e("comment",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M44 6H4V36H13V41L23 36H44V6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 19.5V22.5",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 19.5V22.5",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 19.5V22.5",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Dve=$e("connection",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M39 34L44 39L39 44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M8 12C10.2091 12 12 10.2091 12 8C12 5.79086 10.2091 4 8 4C5.79086 4 4 5.79086 4 8C4 10.2091 5.79086 12 8 12Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 8L20 8C22.2091 8 24 9.79086 24 12V35C24 37.2091 25.7909 39 28 39H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Uve=$e("copy",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M13 12.4316V7.8125C13 6.2592 14.2592 5 15.8125 5H40.1875C41.7408 5 43 6.2592 43 7.8125V32.1875C43 33.7408 41.7408 35 40.1875 35H35.5163",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32.1875 13H7.8125C6.2592 13 5 14.2592 5 15.8125V40.1875C5 41.7408 6.2592 43 7.8125 43H32.1875C33.7408 43 35 41.7408 35 40.1875V15.8125C35 14.2592 33.7408 13 32.1875 13Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),Bve=$e("delete",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M9 10V44H39V10H9Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M20 20V33",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M28 20V33",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M4 10H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 10L19.289 4H28.7771L32 10H16Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),Yve=$e("down",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M36 18L24 30L12 18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Zve=$e("download",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 24.0083V42H42V24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M33 23L24 32L15 23",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M23.9917 6V32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Qve=$e("edit",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M7 42H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M11 26.7199V34H18.3172L39 13.3081L31.6951 6L11 26.7199Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),Hve=$e("effects",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24.9507 42.3603L30.4164 30.3695L43.1046 26.6501L33.3383 17.7699L33.7059 4.60732L22.2044 11.1099L9.74329 6.69439L12.4013 19.5934L4.33228 30.027L17.4766 31.4965L24.9507 42.3603Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M36.1777 36.0537L44.1777 44.0179",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Kve=$e("erase",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M4 42H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M31 4L7 28L13 34H21L41 14L31 4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Gve=$e("fill",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"6",y:"6",width:"36",height:"36",rx:"3",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("rect",{x:"14",y:"14",width:"20",height:"20",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 23L23 34",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M25 14L14 25",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 14L14 34",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 22V34H26",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M22 14H34V26",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),zve=$e("flip-horizontally",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M4 34L16 12V34H4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M44 34H32V12L44 34Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),Jve=$e("flip-vertically",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M42 24L6 24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 4L36 16H14V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 44V32H36L14 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),$ve=$e("font-size",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M8 10.9333L8 6H40V10.9333",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 42H32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),jve=$e("format",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"8",y:"24",width:"32",height:"18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M4 13H18V6H30V13H44V24H4V13Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 32L16 42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),qve=$e("format-brush",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M34 5H6V20H34V5Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34.0251 12H43V28.1014L19 31.2004V43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),e1e=$e("formula",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M40 9L37 6H8L26 24L8 42H37L40 39",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),t1e=$e("full-screen",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M33 6H42V15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 33V42H33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M15 42H6V33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 15V6H15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),n1e=$e("full-screen-one",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 6L16 15.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 41.8995L16 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42.0001 41.8995L32.1006 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M41.8995 6L32 15.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M33 6H42V15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 33V42H33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M15 42H6V33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 15V6H15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),r1e=$e("full-screen-play",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M16 40H6C4.89543 40 4 39.1046 4 38V10C4 8.89543 4.89543 8 6 8H42C43.1046 8 44 8.89543 44 10V16",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 24H26C24.8954 24 24 24.8954 24 26V38C24 39.1046 24.8954 40 26 40H42C43.1046 40 44 39.1046 44 38V26C44 24.8954 43.1046 24 42 24Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),i1e=$e("fullwidth",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M42 6V42M17 19L12 24M12 24L17 29M12 24H36M31 19L36 24M36 24L31 29M6 6L6 42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),o1e=$e("github",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4ZM0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24Z",fill:e.colors[0]},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.1833 45.4716C18.9898 45.2219 18.9898 42.9973 19.1833 38.798C17.1114 38.8696 15.8024 38.7258 15.2563 38.3667C14.437 37.828 13.6169 36.1667 12.8891 34.9959C12.1614 33.8251 10.5463 33.64 9.89405 33.3783C9.24182 33.1165 9.07809 32.0496 11.6913 32.8565C14.3044 33.6634 14.4319 35.8607 15.2563 36.3745C16.0806 36.8883 18.0515 36.6635 18.9448 36.2519C19.8382 35.8403 19.7724 34.3078 19.9317 33.7007C20.1331 33.134 19.4233 33.0083 19.4077 33.0037C18.5355 33.0037 13.9539 32.0073 12.6955 27.5706C11.437 23.134 13.0581 20.2341 13.9229 18.9875C14.4995 18.1564 14.4485 16.3852 13.7699 13.6737C16.2335 13.3589 18.1347 14.1343 19.4734 16.0001C19.4747 16.0108 21.2285 14.9572 24.0003 14.9572C26.772 14.9572 27.7553 15.8154 28.5142 16.0001C29.2731 16.1848 29.88 12.7341 34.5668 13.6737C33.5883 15.5969 32.7689 18.0001 33.3943 18.9875C34.0198 19.9749 36.4745 23.1147 34.9666 27.5706C33.9614 30.5413 31.9853 32.3523 29.0384 33.0037C28.7005 33.1115 28.5315 33.2855 28.5315 33.5255C28.5315 33.8856 28.9884 33.9249 29.6465 35.6117C30.0853 36.7362 30.117 39.948 29.7416 45.247C28.7906 45.4891 28.0508 45.6516 27.5221 45.7347C26.5847 45.882 25.5669 45.9646 24.5669 45.9965C23.5669 46.0284 23.2196 46.0248 21.837 45.8961C20.9154 45.8103 20.0308 45.6688 19.1833 45.4716Z",fill:e.colors[0]},null)])}),a1e=$e("graphic-design",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M19 32C11.268 32 5 25.732 5 18C5 10.268 11.268 4 19 4C26.732 4 33 10.268 33 18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M44 18H18V44H44V18Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),s1e=$e("group",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M12 4H4V12H12V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M44 36H36V44H44V36Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 36H4V44H12V36Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M44 4H36V12H44V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M8 36V12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M40 36V12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 8H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 40H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M16 16H25.6V22.4H32V32H22.4V25.6H16V16Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),l1e=$e("hamburger-button",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M7.94971 11.9497H39.9497",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M7.94971 23.9497H39.9497",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M7.94971 35.9497H39.9497",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),u1e=$e("high-light",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 44L6 25H12V17H36V25H42V44H6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M17 17V8L31 4V17",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),c1e=$e("indent-left",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 9H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M19 19H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M19 29H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M11 19L6 24L11 29",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 39H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),f1e=$e("indent-right",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M29 19H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M29 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M37 19L42 24L37 29",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 39H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),d1e=$e("info",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 11C25.3807 11 26.5 12.1193 26.5 13.5C26.5 14.8807 25.3807 16 24 16C22.6193 16 21.5 14.8807 21.5 13.5C21.5 12.1193 22.6193 11 24 11Z",fill:e.colors[2]},null),O("path",{d:"M24.5 34V20H23.5H22.5",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 34H28",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),h1e=$e("insert-table",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M39.3 6H8.7C7.20883 6 6 7.20883 6 8.7V39.3C6 40.7912 7.20883 42 8.7 42H39.3C40.7912 42 42 40.7912 42 39.3V8.7C42 7.20883 40.7912 6 39.3 6Z",stroke:e.colors[0],"stroke-width":e.strokeWidth},null),O("path",{d:"M18 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M30 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M6 18H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M6 30H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),p1e=$e("left",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M31 36L19 24L31 12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),v1e=$e("left-two",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 5L6 24L24 43L24 31L42 31V17H24V5Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),g1e=$e("link-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M26.2401 16.373L17.1001 7.23303C14.4388 4.57168 10.0653 4.6303 7.33158 7.36397C4.59791 10.0976 4.53929 14.4712 7.20064 17.1325L15.1359 25.0678",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32.9027 23.0031L40.838 30.9384C43.4994 33.5998 43.4407 37.9733 40.7071 40.707C37.9734 43.4407 33.5999 43.4993 30.9385 40.8379L21.7985 31.6979",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M26.1093 26.1416C28.843 23.4079 28.9016 19.0344 26.2403 16.373",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21.7989 21.7984C19.0652 24.5321 19.0066 28.9056 21.6679 31.5669",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),m1e=$e("list",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M5 10L8 13L14 7",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M5 24L8 27L14 21",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M5 38L8 41L14 35",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 24H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 38H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 10H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),y1e=$e("list-view",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"4",y:"6",width:"40",height:"36",rx:"3",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M4 14H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M20 24H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M20 32H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 24H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 32H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),A1e=$e("lock",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"6",y:"22",width:"36",height:"22",rx:"2",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 22V14C14 8.47715 18.4772 4 24 4C29.5228 4 34 8.47715 34 14V22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 30V36",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),R1e=$e("logout",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M23.9917 6H6V42H24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M33 33L42 24L33 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 23.9917H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),b1e=$e("magic",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M20.1005 8.1005L24.3431 12.3431M30 4V10V4ZM39.8995 8.1005L35.6569 12.3431L39.8995 8.1005ZM44 18H38H44ZM39.8995 27.8995L35.6569 23.6569L39.8995 27.8995ZM30 32V26V32ZM20.1005 27.8995L24.3431 23.6569L20.1005 27.8995ZM16 18H22H16Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M29.5856 18.4143L5.54395 42.4559",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),x1e=$e("minus",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M10.5 24L38.5 24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),S1e=$e("more",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("circle",{cx:"12",cy:"24",r:"3",fill:e.colors[0]},null),O("circle",{cx:"24",cy:"24",r:"3",fill:e.colors[0]},null),O("circle",{cx:"36",cy:"24",r:"3",fill:e.colors[0]},null)])}),w1e=$e("move-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M8 6L43 25L24 27L13.9948 44L8 6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),M1e=$e("needle",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("g",{"clip-path":"url(#"+e.id+"3d50a8e2)"},[O("path",{d:"M39 23L25 9",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M43.9995 17L30.9995 4",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34.999 18.999L39.999 13.999",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M28.999 12.999L33.999 7.99902",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M11 37L6 42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M27.9999 12.0001L11.9999 27.9998L10.9999 37L19.9999 35.9998L35.9999 20.0001L27.9999 12.0001Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)]),O("defs",null,[O("clipPath",{id:e.id+"3d50a8e2"},[O("rect",{width:"48",height:"48",fill:e.colors[2]},null)])])])}),L1e=$e("next",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 40.8361C8.89307 34.8632 13.2383 31.4739 17.0356 30.6682C20.8329 29.8625 24.4483 29.7408 27.8818 30.303V41L44 23.5453L27.8818 7V17.167C21.5333 17.2172 16.1362 19.4948 11.6905 24C7.24474 28.5052 4.68126 34.1172 4 40.8361Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),T1e=$e("off-screen-one",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 6L16 15.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 41.8995L16 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42.0001 41.8995L32.1006 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M41.8995 6L32 15.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 7V16H41",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 7V16H7",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 41V32H7",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 41V32H40.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),_1e=$e("ordered-list",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M9 4V13",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 13H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 27H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 19.9998C6 19.9998 9 16.9998 11 19.9998C13 22.9999 6 26.9998 6 26.9998",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6.00016 34.5001C6.00016 34.5001 8.00016 31.5 11.0002 33.5C14.0002 35.5 11.0002 38 11.0002 38C11.0002 38 14.0002 40.5 11.0002 42.5C8.00015 44.5 6.00015 41.5 6.00015 41.5",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M11 38H9",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M9 4L6 6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 24H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 38H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 10H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),O1e=$e("pause",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M16 12V36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 12V36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),k1e=$e("picture",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M39 6H9C7.34315 6 6 7.34315 6 9V39C6 40.6569 7.34315 42 9 42H39C40.6569 42 42 40.6569 42 39V9C42 7.34315 40.6569 6 39 6Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M18 23C20.7614 23 23 20.7614 23 18C23 15.2386 20.7614 13 18 13C15.2386 13 13 15.2386 13 18C13 20.7614 15.2386 23 18 23Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M27.7901 26.2194C28.6064 25.1269 30.2528 25.1538 31.0329 26.2725L39.8077 38.8561C40.7322 40.182 39.7835 42.0001 38.1671 42.0001H16L27.7901 26.2194Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),P1e=$e("platte",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 44C29.9601 44 26.3359 35.136 30 31C33.1264 27.4709 44 29.0856 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M28 17C29.6569 17 31 15.6569 31 14C31 12.3431 29.6569 11 28 11C26.3431 11 25 12.3431 25 14C25 15.6569 26.3431 17 28 17Z",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 21C17.6569 21 19 19.6569 19 18C19 16.3431 17.6569 15 16 15C14.3431 15 13 16.3431 13 18C13 19.6569 14.3431 21 16 21Z",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M17 34C18.6569 34 20 32.6569 20 31C20 29.3431 18.6569 28 17 28C15.3431 28 14 29.3431 14 31C14 32.6569 15.3431 34 17 34Z",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),C1e=$e("play-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M15 24V11.8756L25.5 17.9378L36 24L25.5 30.0622L15 36.1244V24Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),I1e=$e("plus",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24.0605 10L24.0239 38",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M10 24L38 24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),N1e=$e("power",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M14.5 8C13.8406 8.37652 13.2062 8.79103 12.6 9.24051C11.5625 10.0097 10.6074 10.8814 9.75 11.8402C6.79377 15.1463 5 19.4891 5 24.2455C5 34.6033 13.5066 43 24 43C34.4934 43 43 34.6033 43 24.2455C43 19.4891 41.2062 15.1463 38.25 11.8402C37.3926 10.8814 36.4375 10.0097 35.4 9.24051C34.7938 8.79103 34.1594 8.37652 33.5 8",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 4V24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),F1e=$e("ppt",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M4 8H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8 8H40V34H8V8Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M22 16L27 21L22 26",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 42L24 34L32 42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),E1e=$e("preview-close",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 16C6.63472 17.2193 7.59646 18.3504 8.82276 19.3554C12.261 22.1733 17.779 24 24 24C30.221 24 35.739 22.1733 39.1772 19.3554C40.4035 18.3504 41.3653 17.2193 42 16",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M28.9775 24L31.048 31.7274",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M37.3535 21.3536L43.0103 27.0104",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M5.00004 27.0103L10.6569 21.3534",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16.9278 31.7276L18.9983 24.0001",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),X1e=$e("preview-open",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 36C35.0457 36 44 24 44 24C44 24 35.0457 12 24 12C12.9543 12 4 24 4 24C4 24 12.9543 36 24 36Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 29C26.7614 29 29 26.7614 29 24C29 21.2386 26.7614 19 24 19C21.2386 19 19 21.2386 19 24C19 26.7614 21.2386 29 24 29Z",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),W1e=$e("quote",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M18.8533 9.11587C11.3227 13.9521 7.13913 19.5811 6.30256 26.0028C5.00021 35.9999 13.9404 40.8932 18.4703 36.4966C23.0002 32.1 20.2848 26.5195 17.0047 24.9941C13.7246 23.4686 11.7187 23.9999 12.0686 21.9614C12.4185 19.923 17.0851 14.2712 21.1849 11.6391C21.4569 11.4078 21.5604 10.959 21.2985 10.6185C21.1262 10.3946 20.7883 9.95545 20.2848 9.30102C19.8445 8.72875 19.4227 8.75017 18.8533 9.11587Z",fill:e.colors[0]},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M38.6789 9.11587C31.1484 13.9521 26.9648 19.5811 26.1282 26.0028C24.8259 35.9999 33.7661 40.8932 38.296 36.4966C42.8259 32.1 40.1105 26.5195 36.8304 24.9941C33.5503 23.4686 31.5443 23.9999 31.8943 21.9614C32.2442 19.923 36.9108 14.2712 41.0106 11.6391C41.2826 11.4078 41.3861 10.959 41.1241 10.6185C40.9519 10.3946 40.614 9.95545 40.1105 9.30102C39.6702 8.72875 39.2484 8.75017 38.6789 9.11587Z",fill:e.colors[0]},null)])}),V1e=$e("radar-chart",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M23.9998 3L45.8741 18.8926L38 45H10L2.12549 18.8926L23.9998 3Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M38 45L31 37",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M10 45L17 37",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M2 19L12 22",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M46 19L36 22",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 3V13",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 13L30.0073 17.5706L36 22L31 37H17L12 22L17.9927 17.5706L24 13Z",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M7.59406 14.9194L2.12549 18.8926L4.09412 25.4194",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M8.03125 38.4731L9.99988 45H16.9999",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M31 45H38L39.9685 38.4731",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M40.4053 14.9194L45.8738 18.8926L43.9053 25.4194",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M29.4684 6.97315L23.9998 3L18.5312 6.97315",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),D1e=$e("right",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M19 12L31 24L19 36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),U1e=$e("right-two",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 43L42 24L24 5L24 17L6 17V31H24V43Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),B1e=$e("rotate",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M12 24H42V42H12V24Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 8V17H15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M38.4747 13.2985C35.1956 8.87049 29.933 6 24 6C18.1788 6 13.0029 8.76334 9.71272 13.0498L6 17",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Y1e=$e("round",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("circle",{cx:"24",cy:"24",r:"20",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth},null)])}),Z1e=$e("row-height",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M16 35L10 41L4 35",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 13L10 7L4 13",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M10 7V41",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M44 9H22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M36 19H22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M44 29H22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M36 39H22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Q1e=$e("search",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M21 38C30.3888 38 38 30.3888 38 21C38 11.6112 30.3888 4 21 4C11.6112 4 4 11.6112 4 21C4 30.3888 11.6112 38 21 38Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M26.657 14.3431C25.2093 12.8954 23.2093 12 21.0001 12C18.791 12 16.791 12.8954 15.3433 14.3431",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M33.2216 33.2217L41.7069 41.707",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),H1e=$e("send",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M43 5L29.7 43L22.1 25.9L5 18.3L43 5Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M43.0001 5L22.1001 25.9",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),K1e=$e("send-to-back",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M14 21H5V5H21V14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 27H43V43H27V32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 32V14H32V32H14Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),G1e=$e("sent-to-back",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M30 18H41C41.5523 18 42 18.4477 42 19V41C42 41.5523 41.5523 42 41 42H19C18.4477 42 18 41.5523 18 41V30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M9.96906 6H6V10.0336",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M9.99705 30H6V26.012",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M26 30H29.9971V26.012",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M26.0023 6H30V9.99785",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16.0283 6H20.0083",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M6 16V20.0148",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M30 16V20.0148",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M15.9922 30H19.9996",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),z1e=$e("square",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M39 6H9C7.34315 6 6 7.34315 6 9V39C6 40.6569 7.34315 42 9 42H39C40.6569 42 42 40.6569 42 39V9C42 7.34315 40.6569 6 39 6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth},null)])}),J1e=$e("stopwatch-start",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 44C33.3888 44 41 36.3888 41 27C41 17.6112 33.3888 10 24 10C14.6112 10 7 17.6112 7 27C7 36.3888 14.6112 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M18 4H30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 19V27",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 27H24",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 4V8",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),$1e=$e("strikethrough",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M5 24H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 24C40 30 34 44 24 44C13.9999 44 12 36 12 36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M35.9999 12C35.9999 12 33 4 23.9999 4C14.9999 4 11.4359 11.5995 15.6096 18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 36C12 36 15.9999 44 24 44C32 44 36.564 36.4005 32.3903 30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),j1e=$e("switch",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M42 19H5.99998",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M30 7L42 19",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6.79897 29H42.799",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6.79895 29L18.799 41",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),q1e=$e("tailoring",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M12 4V36H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M20 12H36V28",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 12H4",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M36 44V36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),ege=$e("text",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"6",y:"6",width:"36",height:"36",rx:"3",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 19V16H32V19",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M22 34H26",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 18L24 34",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),tge=$e("text-bold",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 24C29.5056 24 33.9688 19.5228 33.9688 14C33.9688 8.47715 29.5056 4 24 4H11V24H24Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M28.0312 44C33.5368 44 38 39.5228 38 34C38 28.4772 33.5368 24 28.0312 24H11V44H28.0312Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),nge=$e("text-italic",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M20 6H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 42H28",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M29 5.95215L19 41.9998",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),rge=$e("text-rotation-down",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M29 35L21 31.3333M29 13L21 16.6667M21 16.6667L17 18.5L5 24L17 29.5L21 31.3333M21 16.6667V31.3333",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M37 6V42L43 36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),ige=$e("text-rotation-none",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M13 29L16.6667 21M35 29L31.3333 21M31.3333 21L29.5 17L24 5L18.5 17L16.6667 21M31.3333 21H16.6667",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 37H42L36 43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),oge=$e("text-underline",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M8 44H40",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M37 6.09717C37 12.7638 37 15.3335 37 22.0002C37 29.1799 31.1797 35.0002 24 35.0002C16.8203 35.0002 11 29.1799 11 22.0002C11 15.3335 11 12.7638 11 6.09717",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),age=$e("theme",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M18 6C18 9.31371 20.6863 12 24 12C27.3137 12 30 9.31371 30 6H35.4545L42 15.8182L36.2727 20.7273V42H11.7273V20.7273L6 15.8182L12.5455 6H18Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),sge=$e("transform",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("circle",{cx:"13.7146",cy:"13.7141",r:"6.85714",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("circle",{cx:"34.2859",cy:"34.2854",r:"6.85714",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24.001 44C12.9553 44 4.00098 35.0457 4.00098 24L10.6676 27.3333",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24.001 4C35.0467 4 44.001 12.9543 44.001 24L37.3343 20.6667",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),lge=$e("undo",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M11.2721 36.7279C14.5294 39.9853 19.0294 42 24 42C33.9411 42 42 33.9411 42 24C42 14.0589 33.9411 6 24 6C19.0294 6 14.5294 8.01472 11.2721 11.2721C9.61407 12.9301 6 17 6 17",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 9V17H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),uge=$e("ungroup",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M11.2727 4H4V11.2727H11.2727V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M43.9998 36.7271H36.7271V43.9998H43.9998V36.7271Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M11.2727 24H4V31.2727H11.2727V24Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M23.9998 36.7271H16.7271V43.9998H23.9998V36.7271Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M31.2727 4H24V11.2727H31.2727V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M43.9998 16.7271H36.7271V23.9998H43.9998V16.7271Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M11.2729 7.63623H24.0002",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 40.3638H36.7273",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M11.2729 27.6366H27.6366V11.2729",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M28.8275 20.3633H36.7269M20.3633 36.7269V27.6282V36.7269Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M7.63672 11.2725V23.9997",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M40.3633 24V36.7273",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),cge=$e("unlock",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"7",y:"22.0476",width:"34",height:"22",rx:"2",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 22V14.0047C13.9948 8.87022 17.9227 4.56718 23.0859 4.05117C28.249 3.53516 32.9673 6.97408 34 12.0059",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 30V36",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),fge=$e("up",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M13 30L25 18L37 30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),dge=$e("user",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("circle",{cx:"24",cy:"12",r:"8",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 44C42 34.0589 33.9411 26 24 26C14.0589 26 6 34.0589 6 44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),hge=$e("vertical-spacing-between-items",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M8 6V12H40V6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 24H34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M8 42V36H40V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),pge=$e("video-two",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M39 6H9C7.34315 6 6 7.34315 6 9V39C6 40.6569 7.34315 42 9 42H39C40.6569 42 42 40.6569 42 39V9C42 7.34315 40.6569 6 39 6Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M20.5 28V21.9378L25.75 24.9689L31 28L25.75 31.0311L20.5 34.0622V28Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 15H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M33 6L27 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 6L15 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),vge=$e("volume-mute",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{opacity:"0.01",x:"30",y:"18",width:"13",height:"13",fill:e.colors[2]},null),O("mask",{id:e.id+"603476ab",maskUnits:"userSpaceOnUse",x:"30",y:"18",width:"13",height:"13",style:{maskType:"alpha"}},[O("rect",{x:"30",y:"18",width:"13",height:"13",fill:e.colors[2]},null)]),O("g",{mask:"url(#"+e.id+"603476ab)"},[O("path",{d:"M40.7348 20.2858L32.2495 28.7711",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32.2496 20.2858L40.7349 28.7711",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)]),O("path",{d:"M24 6V42C17 42 11.7985 32.8391 11.7985 32.8391H6C4.89543 32.8391 4 31.9437 4 30.8391V17.0108C4 15.9062 4.89543 15.0108 6 15.0108H11.7985C11.7985 15.0108 17 6 24 6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),gge=$e("volume-notice",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 6V42C17 42 11.7985 32.8391 11.7985 32.8391H6C4.89543 32.8391 4 31.9437 4 30.8391V17.0108C4 15.9062 4.89543 15.0108 6 15.0108H11.7985C11.7985 15.0108 17 6 24 6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 15L32 15C32.6232 15.5565 33.1881 16.1797 33.6841 16.8588C35.1387 18.8504 36 21.3223 36 24C36 26.6545 35.1535 29.1067 33.7218 31.0893C33.2168 31.7885 32.6391 32.4293 32 33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34.2359 41.1857C40.0836 37.6953 44 31.305 44 24C44 16.8085 40.2043 10.5035 34.507 6.97906",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),mge=$e("volume-small",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 6V42C17 42 11.7985 32.8391 11.7985 32.8391H6C4.89543 32.8391 4 31.9437 4 30.8391V17.0108C4 15.9062 4.89543 15.0108 6 15.0108H11.7985C11.7985 15.0108 17 6 24 6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 15L32 15C32.6232 15.5565 33.1881 16.1797 33.6841 16.8588C35.1387 18.8504 36 21.3223 36 24C36 26.6545 35.1535 29.1067 33.7218 31.0893C33.2168 31.7885 32.6391 32.4293 32 33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),yge=$e("write",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M5.32497 43.4996L13.81 43.4998L44.9227 12.3871L36.4374 3.90186L5.32471 35.0146L5.32497 43.4996Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M27.9521 12.3872L36.4374 20.8725",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Ax={IconPlayOne:C1e,IconFullScreenPlay:r1e,IconLock:A1e,IconUnlock:cge,IconPpt:F1e,IconFormat:jve,IconPicture:k1e,IconFullScreen:t1e,IconList:m1e,IconOrderedList:_1e,IconFlipVertically:Jve,IconFlipHorizontally:zve,IconFontSize:$ve,IconCode:Xve,IconTextBold:tge,IconTextItalic:nge,IconTextUnderline:oge,IconStrikethrough:$1e,IconEdit:Qve,IconQuote:W1e,IconBackgroundColor:Rve,IconGroup:s1e,IconUngroup:uge,IconBack:Ave,IconNext:L1e,IconFullwidth:i1e,IconAlignTop:vve,IconAlignLeft:ave,IconAlignRight:sve,IconAlignBottom:ive,IconAlignVertically:gve,IconAlignHorizontally:ove,IconBringToFront:bve,IconSendToBack:K1e,IconSend:H1e,IconAlignTextLeft:fve,IconAlignTextRight:hve,IconAlignTextCenter:cve,IconAlignTextBoth:lve,IconRowHeight:Z1e,IconWrite:yge,IconInsertTable:h1e,IconAddText:rve,IconFill:Gve,IconTailoring:q1e,IconEffects:Hve,IconColorFilter:Wve,IconUp:fge,IconDown:Yve,IconPlus:I1e,IconMinus:x1e,IconConnection:Dve,IconBringToFrontOne:xve,IconSentToBack:G1e,IconGithub:o1e,IconChartProportion:_ve,IconChartHistogram:Sve,IconChartHistogramOne:wve,IconChartLineArea:Lve,IconChartRing:Ove,IconChartScatter:kve,IconChartLine:Mve,IconChartPie:Tve,IconRadarChart:V1e,IconText:ege,IconRotate:B1e,IconLeftTwo:v1e,IconRightTwo:U1e,IconPlatte:P1e,IconClose:Nve,IconCloseSmall:Eve,IconUndo:lge,IconTransform:sge,IconClick:Ive,IconTheme:age,IconArrowCircleLeft:mve,IconGraphicDesign:a1e,IconLogout:R1e,IconErase:Kve,IconClear:Cve,IconAlignTextTopOne:pve,IconAlignTextBottomOne:uve,IconAlignTextMiddleOne:dve,IconPause:O1e,IconVolumeMute:vge,IconVolumeNotice:gge,IconVolumeSmall:mge,IconVideoTwo:pge,IconFormula:e1e,IconLinkOne:g1e,IconFullScreenOne:n1e,IconOffScreenOne:T1e,IconPower:N1e,IconListView:y1e,IconMagic:b1e,IconHighLight:u1e,IconDownload:Zve,IconIndentLeft:c1e,IconIndentRight:f1e,IconVerticalSpacingBetweenItems:hge,IconCopy:Uve,IconDelete:Bve,IconSquare:z1e,IconRound:Y1e,IconNeedle:M1e,IconTextRotationNone:ige,IconTextRotationDown:rge,IconFormatBrush:qve,IconPreviewOpen:X1e,IconPreviewClose:E1e,IconStopwatchStart:J1e,IconSearch:Q1e,IconLeft:p1e,IconRight:D1e,IconMoveOne:w1e,IconHamburgerButton:l1e,IconAttention:yve,IconCheckOne:Pve,IconCloseOne:Fve,IconInfo:d1e,IconComment:Vve,IconUser:dge,IconSwitch:j1e,IconMore:S1e},Age={install(e){for(const t of Object.keys(Ax))e.component(t,Ax[t])}},Rge=["id"],bge={class:"icons"},xge={class:"content"},Sge={key:0,class:"title"},wge={class:"description"},Mge={key:0,class:"control"},Lge=Xe({__name:"Message",props:{id:{},message:{},type:{default:"success"},title:{default:""},duration:{default:3e3},closable:{type:Boolean,default:!1}},emits:["close","destroy"],setup(e,{expose:t,emit:n}){const{IconAttention:r,IconCheckOne:i,IconCloseOne:o,IconInfo:a,IconCloseSmall:s}=Ax,l=e,u=n,c=pe(!0),f=pe(null),d=()=>{l.duration<=0||(f.value=setTimeout(p,l.duration))},h=()=>{f.value&&clearTimeout(f.value)},p=()=>c.value=!1;return sO(()=>{h()}),Ht(()=>{d()}),t({close:p}),(v,g)=>(U(),_e(Yh,{name:"message-fade",appear:"",mode:"in-out",onBeforeLeave:g[3]||(g[3]=m=>u("close")),onAfterLeave:g[4]||(g[4]=m=>u("destroy"))},{default:ie(()=>[c.value?(U(),te("div",{key:0,class:"message",id:v.id},[D("div",{class:"message-container",onMouseenter:g[1]||(g[1]=m=>h()),onMouseleave:g[2]||(g[2]=m=>d())},[D("div",bge,[v.type==="warning"?(U(),_e(z(r),{key:0,theme:"filled",size:"18",fill:"#faad14"})):Ye("",!0),v.type==="success"?(U(),_e(z(i),{key:1,theme:"filled",size:"18",fill:"#52c41a"})):Ye("",!0),v.type==="error"?(U(),_e(z(o),{key:2,theme:"filled",size:"18",fill:"#ff4d4f"})):Ye("",!0),v.type==="info"?(U(),_e(z(a),{key:3,theme:"filled",size:"18",fill:"#1677ff"})):Ye("",!0)]),D("div",xge,[v.title?(U(),te("div",Sge,pt(v.title),1)):Ye("",!0),D("div",wge,pt(v.message),1)]),v.closable?(U(),te("div",Mge,[D("span",{class:"close-btn",onClick:g[0]||(g[0]=m=>p())},[O(z(s))])])):Ye("",!0)],32)],8,Rge)):Ye("",!0)]),_:1}))}}),Be=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},Tge=Be(Lge,[["__scopeId","data-v-5f638602"]]),AT=[];let Ll=null,_ge=0;const Oge={duration:3e3},gn=e=>{const t="message-"+_ge++,n={...Oge,...e,id:t};Ll||(Ll=document.createElement("div"),Ll.className="message-wrap",Ll.style.cssText=`
|
||
width: 100%;
|
||
position: fixed;
|
||
top: 0;
|
||
left: 0;
|
||
z-index: 6000;
|
||
pointer-events: none;
|
||
display: flex;
|
||
flex-direction: column;
|
||
box-sizing: border-box;
|
||
padding: 15px;
|
||
background-color: rgba(255, 255, 255, 0);
|
||
transition: all 1s ease-in-out;
|
||
align-items: center;
|
||
`,document.body.appendChild(Ll));const r=O(Tge,n,null),i=document.createElement("div");r.appContext=e.ctx||gn._context||null,r.props.onClose=e.onClose,r.props.onDestroy=()=>{Ll&&Ll.childNodes.length<=1&&(Ll.remove(),Ll=null),vv(null,i)},vv(r,i),Ll.appendChild(i.firstElementChild);const o={id:t,close:()=>{var a,s;return(s=(a=r==null?void 0:r.component)==null?void 0:a.exposed)==null?void 0:s.close()}};return AT.push(o),o};gn.success=(e,t)=>gn({...t,type:"success",message:e});gn.info=(e,t)=>gn({...t,type:"info",message:e});gn.warning=(e,t)=>gn({...t,type:"warning",message:e});gn.error=(e,t)=>gn({...t,type:"error",message:e});gn.closeAll=function(){for(let e=AT.length-1;e>=0;e--)AT[e].close()};function iH(e,t){return function(){return e.apply(t,arguments)}}const{toString:kge}=Object.prototype,{getPrototypeOf:XO}=Object,$S=(e=>t=>{const n=kge.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),vl=e=>(e=e.toLowerCase(),t=>$S(t)===e),jS=e=>t=>typeof t===e,{isArray:Qv}=Array,zm=jS("undefined");function Pge(e){return e!==null&&!zm(e)&&e.constructor!==null&&!zm(e.constructor)&&Da(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const oH=vl("ArrayBuffer");function Cge(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&oH(e.buffer),t}const Ige=jS("string"),Da=jS("function"),aH=jS("number"),qS=e=>e!==null&&typeof e=="object",Nge=e=>e===!0||e===!1,ib=e=>{if($S(e)!=="object")return!1;const t=XO(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Fge=vl("Date"),Ege=vl("File"),Xge=vl("Blob"),Wge=vl("FileList"),Vge=e=>qS(e)&&Da(e.pipe),Dge=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Da(e.append)&&((t=$S(e))==="formdata"||t==="object"&&Da(e.toString)&&e.toString()==="[object FormData]"))},Uge=vl("URLSearchParams"),[Bge,Yge,Zge,Qge]=["ReadableStream","Request","Response","Headers"].map(vl),Hge=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Y2(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),Qv(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),a=o.length;let s;for(r=0;r<a;r++)s=o[r],t.call(null,e[s],s,e)}}function sH(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const fh=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,lH=e=>!zm(e)&&e!==fh;function RT(){const{caseless:e}=lH(this)&&this||{},t={},n=(r,i)=>{const o=e&&sH(t,i)||i;ib(t[o])&&ib(r)?t[o]=RT(t[o],r):ib(r)?t[o]=RT({},r):Qv(r)?t[o]=r.slice():t[o]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&Y2(arguments[r],n);return t}const Kge=(e,t,n,{allOwnKeys:r}={})=>(Y2(t,(i,o)=>{n&&Da(i)?e[o]=iH(i,n):e[o]=i},{allOwnKeys:r}),e),Gge=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),zge=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Jge=(e,t,n,r)=>{let i,o,a;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)a=i[o],(!r||r(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=n!==!1&&XO(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},$ge=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},jge=e=>{if(!e)return null;if(Qv(e))return e;let t=e.length;if(!aH(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},qge=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&XO(Uint8Array)),eme=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},tme=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},nme=vl("HTMLFormElement"),rme=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),i9=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),ime=vl("RegExp"),uH=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Y2(n,(i,o)=>{let a;(a=t(i,o,e))!==!1&&(r[o]=a||i)}),Object.defineProperties(e,r)},ome=e=>{uH(e,(t,n)=>{if(Da(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Da(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},ame=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return Qv(e)?r(e):r(String(e).split(t)),n},sme=()=>{},lme=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,eM="abcdefghijklmnopqrstuvwxyz",o9="0123456789",cH={DIGIT:o9,ALPHA:eM,ALPHA_DIGIT:eM+eM.toUpperCase()+o9},ume=(e=16,t=cH.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function cme(e){return!!(e&&Da(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const fme=e=>{const t=new Array(10),n=(r,i)=>{if(qS(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const o=Qv(r)?[]:{};return Y2(r,(a,s)=>{const l=n(a,i+1);!zm(l)&&(o[s]=l)}),t[i]=void 0,o}}return r};return n(e,0)},dme=vl("AsyncFunction"),hme=e=>e&&(qS(e)||Da(e))&&Da(e.then)&&Da(e.catch),fH=((e,t)=>e?setImmediate:t?((n,r)=>(fh.addEventListener("message",({source:i,data:o})=>{i===fh&&o===n&&r.length&&r.shift()()},!1),i=>{r.push(i),fh.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Da(fh.postMessage)),pme=typeof queueMicrotask<"u"?queueMicrotask.bind(fh):typeof process<"u"&&process.nextTick||fH,Ke={isArray:Qv,isArrayBuffer:oH,isBuffer:Pge,isFormData:Dge,isArrayBufferView:Cge,isString:Ige,isNumber:aH,isBoolean:Nge,isObject:qS,isPlainObject:ib,isReadableStream:Bge,isRequest:Yge,isResponse:Zge,isHeaders:Qge,isUndefined:zm,isDate:Fge,isFile:Ege,isBlob:Xge,isRegExp:ime,isFunction:Da,isStream:Vge,isURLSearchParams:Uge,isTypedArray:qge,isFileList:Wge,forEach:Y2,merge:RT,extend:Kge,trim:Hge,stripBOM:Gge,inherits:zge,toFlatObject:Jge,kindOf:$S,kindOfTest:vl,endsWith:$ge,toArray:jge,forEachEntry:eme,matchAll:tme,isHTMLForm:nme,hasOwnProperty:i9,hasOwnProp:i9,reduceDescriptors:uH,freezeMethods:ome,toObjectSet:ame,toCamelCase:rme,noop:sme,toFiniteNumber:lme,findKey:sH,global:fh,isContextDefined:lH,ALPHABET:cH,generateString:ume,isSpecCompliantForm:cme,toJSONObject:fme,isAsyncFn:dme,isThenable:hme,setImmediate:fH,asap:pme};function vn(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}Ke.inherits(vn,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Ke.toJSONObject(this.config),code:this.code,status:this.status}}});const dH=vn.prototype,hH={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{hH[e]={value:e}});Object.defineProperties(vn,hH);Object.defineProperty(dH,"isAxiosError",{value:!0});vn.from=(e,t,n,r,i,o)=>{const a=Object.create(dH);return Ke.toFlatObject(e,a,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),vn.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};const vme=null;function bT(e){return Ke.isPlainObject(e)||Ke.isArray(e)}function pH(e){return Ke.endsWith(e,"[]")?e.slice(0,-2):e}function a9(e,t,n){return e?e.concat(t).map(function(i,o){return i=pH(i),!n&&o?"["+i+"]":i}).join(n?".":""):t}function gme(e){return Ke.isArray(e)&&!e.some(bT)}const mme=Ke.toFlatObject(Ke,{},null,function(t){return/^is[A-Z]/.test(t)});function e3(e,t,n){if(!Ke.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=Ke.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,g){return!Ke.isUndefined(g[v])});const r=n.metaTokens,i=n.visitor||c,o=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&Ke.isSpecCompliantForm(t);if(!Ke.isFunction(i))throw new TypeError("visitor must be a function");function u(p){if(p===null)return"";if(Ke.isDate(p))return p.toISOString();if(!l&&Ke.isBlob(p))throw new vn("Blob is not supported. Use a Buffer instead.");return Ke.isArrayBuffer(p)||Ke.isTypedArray(p)?l&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function c(p,v,g){let m=p;if(p&&!g&&typeof p=="object"){if(Ke.endsWith(v,"{}"))v=r?v:v.slice(0,-2),p=JSON.stringify(p);else if(Ke.isArray(p)&&gme(p)||(Ke.isFileList(p)||Ke.endsWith(v,"[]"))&&(m=Ke.toArray(p)))return v=pH(v),m.forEach(function(R,A){!(Ke.isUndefined(R)||R===null)&&t.append(a===!0?a9([v],A,o):a===null?v:v+"[]",u(R))}),!1}return bT(p)?!0:(t.append(a9(g,v,o),u(p)),!1)}const f=[],d=Object.assign(mme,{defaultVisitor:c,convertValue:u,isVisitable:bT});function h(p,v){if(!Ke.isUndefined(p)){if(f.indexOf(p)!==-1)throw Error("Circular reference detected in "+v.join("."));f.push(p),Ke.forEach(p,function(m,y){(!(Ke.isUndefined(m)||m===null)&&i.call(t,m,Ke.isString(y)?y.trim():y,v,d))===!0&&h(m,v?v.concat(y):[y])}),f.pop()}}if(!Ke.isObject(e))throw new TypeError("data must be an object");return h(e),t}function s9(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function WO(e,t){this._pairs=[],e&&e3(e,this,t)}const vH=WO.prototype;vH.append=function(t,n){this._pairs.push([t,n])};vH.toString=function(t){const n=t?function(r){return t.call(this,r,s9)}:s9;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function yme(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function gH(e,t,n){if(!t)return e;const r=n&&n.encode||yme;Ke.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let o;if(i?o=i(t,n):o=Ke.isURLSearchParams(t)?t.toString():new WO(t,n).toString(r),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class l9{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Ke.forEach(this.handlers,function(r){r!==null&&t(r)})}}const mH={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ame=typeof URLSearchParams<"u"?URLSearchParams:WO,Rme=typeof FormData<"u"?FormData:null,bme=typeof Blob<"u"?Blob:null,xme={isBrowser:!0,classes:{URLSearchParams:Ame,FormData:Rme,Blob:bme},protocols:["http","https","file","blob","url","data"]},VO=typeof window<"u"&&typeof document<"u",xT=typeof navigator=="object"&&navigator||void 0,Sme=VO&&(!xT||["ReactNative","NativeScript","NS"].indexOf(xT.product)<0),wme=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Mme=VO&&window.location.href||"http://localhost",Lme=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:VO,hasStandardBrowserEnv:Sme,hasStandardBrowserWebWorkerEnv:wme,navigator:xT,origin:Mme},Symbol.toStringTag,{value:"Module"})),uo={...Lme,...xme};function Tme(e,t){return e3(e,new uo.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,o){return uo.isNode&&Ke.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function _me(e){return Ke.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Ome(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],t[o]=e[o];return t}function yH(e){function t(n,r,i,o){let a=n[o++];if(a==="__proto__")return!0;const s=Number.isFinite(+a),l=o>=n.length;return a=!a&&Ke.isArray(i)?i.length:a,l?(Ke.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!s):((!i[a]||!Ke.isObject(i[a]))&&(i[a]=[]),t(n,r,i[a],o)&&Ke.isArray(i[a])&&(i[a]=Ome(i[a])),!s)}if(Ke.isFormData(e)&&Ke.isFunction(e.entries)){const n={};return Ke.forEachEntry(e,(r,i)=>{t(_me(r),i,n,0)}),n}return null}function kme(e,t,n){if(Ke.isString(e))try{return(t||JSON.parse)(e),Ke.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Z2={transitional:mH,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,o=Ke.isObject(t);if(o&&Ke.isHTMLForm(t)&&(t=new FormData(t)),Ke.isFormData(t))return i?JSON.stringify(yH(t)):t;if(Ke.isArrayBuffer(t)||Ke.isBuffer(t)||Ke.isStream(t)||Ke.isFile(t)||Ke.isBlob(t)||Ke.isReadableStream(t))return t;if(Ke.isArrayBufferView(t))return t.buffer;if(Ke.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Tme(t,this.formSerializer).toString();if((s=Ke.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return e3(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),kme(t)):t}],transformResponse:[function(t){const n=this.transitional||Z2.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(Ke.isResponse(t)||Ke.isReadableStream(t))return t;if(t&&Ke.isString(t)&&(r&&!this.responseType||i)){const a=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?vn.from(s,vn.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:uo.classes.FormData,Blob:uo.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Ke.forEach(["delete","get","head","post","put","patch"],e=>{Z2.headers[e]={}});const Pme=Ke.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"]),Cme=e=>{const t={};let n,r,i;return e&&e.split(`
|
||
`).forEach(function(a){i=a.indexOf(":"),n=a.substring(0,i).trim().toLowerCase(),r=a.substring(i+1).trim(),!(!n||t[n]&&Pme[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},u9=Symbol("internals");function L1(e){return e&&String(e).trim().toLowerCase()}function ob(e){return e===!1||e==null?e:Ke.isArray(e)?e.map(ob):String(e)}function Ime(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const Nme=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function tM(e,t,n,r,i){if(Ke.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!Ke.isString(t)){if(Ke.isString(r))return t.indexOf(r)!==-1;if(Ke.isRegExp(r))return r.test(t)}}function Fme(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Eme(e,t){const n=Ke.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,o,a){return this[r].call(this,t,i,o,a)},configurable:!0})})}class ra{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function o(s,l,u){const c=L1(l);if(!c)throw new Error("header name must be a non-empty string");const f=Ke.findKey(i,c);(!f||i[f]===void 0||u===!0||u===void 0&&i[f]!==!1)&&(i[f||l]=ob(s))}const a=(s,l)=>Ke.forEach(s,(u,c)=>o(u,c,l));if(Ke.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(Ke.isString(t)&&(t=t.trim())&&!Nme(t))a(Cme(t),n);else if(Ke.isHeaders(t))for(const[s,l]of t.entries())o(l,s,r);else t!=null&&o(n,t,r);return this}get(t,n){if(t=L1(t),t){const r=Ke.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return Ime(i);if(Ke.isFunction(n))return n.call(this,i,r);if(Ke.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=L1(t),t){const r=Ke.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||tM(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function o(a){if(a=L1(a),a){const s=Ke.findKey(r,a);s&&(!n||tM(r,r[s],s,n))&&(delete r[s],i=!0)}}return Ke.isArray(t)?t.forEach(o):o(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const o=n[r];(!t||tM(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const n=this,r={};return Ke.forEach(this,(i,o)=>{const a=Ke.findKey(r,o);if(a){n[a]=ob(i),delete n[o];return}const s=t?Fme(o):String(o).trim();s!==o&&delete n[o],n[s]=ob(i),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return Ke.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&Ke.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
||
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[u9]=this[u9]={accessors:{}}).accessors,i=this.prototype;function o(a){const s=L1(a);r[s]||(Eme(i,a),r[s]=!0)}return Ke.isArray(t)?t.forEach(o):o(t),this}}ra.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Ke.reduceDescriptors(ra.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});Ke.freezeMethods(ra);function nM(e,t){const n=this||Z2,r=t||n,i=ra.from(r.headers);let o=r.data;return Ke.forEach(e,function(s){o=s.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function AH(e){return!!(e&&e.__CANCEL__)}function Hv(e,t,n){vn.call(this,e??"canceled",vn.ERR_CANCELED,t,n),this.name="CanceledError"}Ke.inherits(Hv,vn,{__CANCEL__:!0});function RH(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new vn("Request failed with status code "+n.status,[vn.ERR_BAD_REQUEST,vn.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Xme(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Wme(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,o=0,a;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=r[o];a||(a=u),n[i]=l,r[i]=u;let f=o,d=0;for(;f!==i;)d+=n[f++],f=f%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),u-a<t)return;const h=c&&u-c;return h?Math.round(d*1e3/h):void 0}}function Vme(e,t){let n=0,r=1e3/t,i,o;const a=(u,c=Date.now())=>{n=c,i=null,o&&(clearTimeout(o),o=null),e.apply(null,u)};return[(...u)=>{const c=Date.now(),f=c-n;f>=r?a(u,c):(i=u,o||(o=setTimeout(()=>{o=null,a(i)},r-f)))},()=>i&&a(i)]}const Rx=(e,t,n=3)=>{let r=0;const i=Wme(50,250);return Vme(o=>{const a=o.loaded,s=o.lengthComputable?o.total:void 0,l=a-r,u=i(l),c=a<=s;r=a;const f={loaded:a,total:s,progress:s?a/s:void 0,bytes:l,rate:u||void 0,estimated:u&&s&&c?(s-a)/u:void 0,event:o,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(f)},n)},c9=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},f9=e=>(...t)=>Ke.asap(()=>e(...t)),Dme=uo.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,uo.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(uo.origin),uo.navigator&&/(msie|trident)/i.test(uo.navigator.userAgent)):()=>!0,Ume=uo.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const a=[e+"="+encodeURIComponent(t)];Ke.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Ke.isString(r)&&a.push("path="+r),Ke.isString(i)&&a.push("domain="+i),o===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Bme(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Yme(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function bH(e,t){return e&&!Bme(t)?Yme(e,t):t}const d9=e=>e instanceof ra?{...e}:e;function Jh(e,t){t=t||{};const n={};function r(u,c,f,d){return Ke.isPlainObject(u)&&Ke.isPlainObject(c)?Ke.merge.call({caseless:d},u,c):Ke.isPlainObject(c)?Ke.merge({},c):Ke.isArray(c)?c.slice():c}function i(u,c,f,d){if(Ke.isUndefined(c)){if(!Ke.isUndefined(u))return r(void 0,u,f,d)}else return r(u,c,f,d)}function o(u,c){if(!Ke.isUndefined(c))return r(void 0,c)}function a(u,c){if(Ke.isUndefined(c)){if(!Ke.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function s(u,c,f){if(f in t)return r(u,c);if(f in e)return r(void 0,u)}const l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(u,c,f)=>i(d9(u),d9(c),f,!0)};return Ke.forEach(Object.keys(Object.assign({},e,t)),function(c){const f=l[c]||i,d=f(e[c],t[c],c);Ke.isUndefined(d)&&f!==s||(n[c]=d)}),n}const xH=e=>{const t=Jh({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:o,headers:a,auth:s}=t;t.headers=a=ra.from(a),t.url=gH(bH(t.baseURL,t.url),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let l;if(Ke.isFormData(n)){if(uo.hasStandardBrowserEnv||uo.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((l=a.getContentType())!==!1){const[u,...c]=l?l.split(";").map(f=>f.trim()).filter(Boolean):[];a.setContentType([u||"multipart/form-data",...c].join("; "))}}if(uo.hasStandardBrowserEnv&&(r&&Ke.isFunction(r)&&(r=r(t)),r||r!==!1&&Dme(t.url))){const u=i&&o&&Ume.read(o);u&&a.set(i,u)}return t},Zme=typeof XMLHttpRequest<"u",Qme=Zme&&function(e){return new Promise(function(n,r){const i=xH(e);let o=i.data;const a=ra.from(i.headers).normalize();let{responseType:s,onUploadProgress:l,onDownloadProgress:u}=i,c,f,d,h,p;function v(){h&&h(),p&&p(),i.cancelToken&&i.cancelToken.unsubscribe(c),i.signal&&i.signal.removeEventListener("abort",c)}let g=new XMLHttpRequest;g.open(i.method.toUpperCase(),i.url,!0),g.timeout=i.timeout;function m(){if(!g)return;const R=ra.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),x={data:!s||s==="text"||s==="json"?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:R,config:e,request:g};RH(function(_){n(_),v()},function(_){r(_),v()},x),g=null}"onloadend"in g?g.onloadend=m:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(m)},g.onabort=function(){g&&(r(new vn("Request aborted",vn.ECONNABORTED,e,g)),g=null)},g.onerror=function(){r(new vn("Network Error",vn.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let A=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const x=i.transitional||mH;i.timeoutErrorMessage&&(A=i.timeoutErrorMessage),r(new vn(A,x.clarifyTimeoutError?vn.ETIMEDOUT:vn.ECONNABORTED,e,g)),g=null},o===void 0&&a.setContentType(null),"setRequestHeader"in g&&Ke.forEach(a.toJSON(),function(A,x){g.setRequestHeader(x,A)}),Ke.isUndefined(i.withCredentials)||(g.withCredentials=!!i.withCredentials),s&&s!=="json"&&(g.responseType=i.responseType),u&&([d,p]=Rx(u,!0),g.addEventListener("progress",d)),l&&g.upload&&([f,h]=Rx(l),g.upload.addEventListener("progress",f),g.upload.addEventListener("loadend",h)),(i.cancelToken||i.signal)&&(c=R=>{g&&(r(!R||R.type?new Hv(null,e,g):R),g.abort(),g=null)},i.cancelToken&&i.cancelToken.subscribe(c),i.signal&&(i.signal.aborted?c():i.signal.addEventListener("abort",c)));const y=Xme(i.url);if(y&&uo.protocols.indexOf(y)===-1){r(new vn("Unsupported protocol "+y+":",vn.ERR_BAD_REQUEST,e));return}g.send(o||null)})},Hme=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,i;const o=function(u){if(!i){i=!0,s();const c=u instanceof Error?u:this.reason;r.abort(c instanceof vn?c:new Hv(c instanceof Error?c.message:c))}};let a=t&&setTimeout(()=>{a=null,o(new vn(`timeout ${t} of ms exceeded`,vn.ETIMEDOUT))},t);const s=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(o):u.removeEventListener("abort",o)}),e=null)};e.forEach(u=>u.addEventListener("abort",o));const{signal:l}=r;return l.unsubscribe=()=>Ke.asap(s),l}},Kme=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},Gme=async function*(e,t){for await(const n of zme(e))yield*Kme(n,t)},zme=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},h9=(e,t,n,r)=>{const i=Gme(e,t);let o=0,a,s=l=>{a||(a=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:u,value:c}=await i.next();if(u){s(),l.close();return}let f=c.byteLength;if(n){let d=o+=f;n(d)}l.enqueue(new Uint8Array(c))}catch(u){throw s(u),u}},cancel(l){return s(l),i.return()}},{highWaterMark:2})},t3=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",SH=t3&&typeof ReadableStream=="function",Jme=t3&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),wH=(e,...t)=>{try{return!!e(...t)}catch{return!1}},$me=SH&&wH(()=>{let e=!1;const t=new Request(uo.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),p9=64*1024,ST=SH&&wH(()=>Ke.isReadableStream(new Response("").body)),bx={stream:ST&&(e=>e.body)};t3&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!bx[t]&&(bx[t]=Ke.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new vn(`Response type '${t}' is not supported`,vn.ERR_NOT_SUPPORT,r)})})})(new Response);const jme=async e=>{if(e==null)return 0;if(Ke.isBlob(e))return e.size;if(Ke.isSpecCompliantForm(e))return(await new Request(uo.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(Ke.isArrayBufferView(e)||Ke.isArrayBuffer(e))return e.byteLength;if(Ke.isURLSearchParams(e)&&(e=e+""),Ke.isString(e))return(await Jme(e)).byteLength},qme=async(e,t)=>{const n=Ke.toFiniteNumber(e.getContentLength());return n??jme(t)},e2e=t3&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:o,timeout:a,onDownloadProgress:s,onUploadProgress:l,responseType:u,headers:c,withCredentials:f="same-origin",fetchOptions:d}=xH(e);u=u?(u+"").toLowerCase():"text";let h=Hme([i,o&&o.toAbortSignal()],a),p;const v=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let g;try{if(l&&$me&&n!=="get"&&n!=="head"&&(g=await qme(c,r))!==0){let x=new Request(t,{method:"POST",body:r,duplex:"half"}),S;if(Ke.isFormData(r)&&(S=x.headers.get("content-type"))&&c.setContentType(S),x.body){const[_,M]=c9(g,Rx(f9(l)));r=h9(x.body,p9,_,M)}}Ke.isString(f)||(f=f?"include":"omit");const m="credentials"in Request.prototype;p=new Request(t,{...d,signal:h,method:n.toUpperCase(),headers:c.normalize().toJSON(),body:r,duplex:"half",credentials:m?f:void 0});let y=await fetch(p);const R=ST&&(u==="stream"||u==="response");if(ST&&(s||R&&v)){const x={};["status","statusText","headers"].forEach(w=>{x[w]=y[w]});const S=Ke.toFiniteNumber(y.headers.get("content-length")),[_,M]=s&&c9(S,Rx(f9(s),!0))||[];y=new Response(h9(y.body,p9,_,()=>{M&&M(),v&&v()}),x)}u=u||"text";let A=await bx[Ke.findKey(bx,u)||"text"](y,e);return!R&&v&&v(),await new Promise((x,S)=>{RH(x,S,{data:A,headers:ra.from(y.headers),status:y.status,statusText:y.statusText,config:e,request:p})})}catch(m){throw v&&v(),m&&m.name==="TypeError"&&/fetch/i.test(m.message)?Object.assign(new vn("Network Error",vn.ERR_NETWORK,e,p),{cause:m.cause||m}):vn.from(m,m&&m.code,e,p)}}),wT={http:vme,xhr:Qme,fetch:e2e};Ke.forEach(wT,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const v9=e=>`- ${e}`,t2e=e=>Ke.isFunction(e)||e===null||e===!1,MH={getAdapter:e=>{e=Ke.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o<t;o++){n=e[o];let a;if(r=n,!t2e(n)&&(r=wT[(a=String(n)).toLowerCase()],r===void 0))throw new vn(`Unknown adapter '${a}'`);if(r)break;i[a||"#"+o]=r}if(!r){const o=Object.entries(i).map(([s,l])=>`adapter ${s} `+(l===!1?"is not supported by the environment":"is not available in the build"));let a=t?o.length>1?`since :
|
||
`+o.map(v9).join(`
|
||
`):" "+v9(o[0]):"as no adapter specified";throw new vn("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:wT};function rM(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Hv(null,e)}function g9(e){return rM(e),e.headers=ra.from(e.headers),e.data=nM.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),MH.getAdapter(e.adapter||Z2.adapter)(e).then(function(r){return rM(e),r.data=nM.call(e,e.transformResponse,r),r.headers=ra.from(r.headers),r},function(r){return AH(r)||(rM(e),r&&r.response&&(r.response.data=nM.call(e,e.transformResponse,r.response),r.response.headers=ra.from(r.response.headers))),Promise.reject(r)})}const LH="1.7.9",n3={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{n3[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const m9={};n3.transitional=function(t,n,r){function i(o,a){return"[Axios v"+LH+"] Transitional option '"+o+"'"+a+(r?". "+r:"")}return(o,a,s)=>{if(t===!1)throw new vn(i(a," has been removed"+(n?" in "+n:"")),vn.ERR_DEPRECATED);return n&&!m9[a]&&(m9[a]=!0,console.warn(i(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,a,s):!0}};n3.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function n2e(e,t,n){if(typeof e!="object")throw new vn("options must be an object",vn.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],a=t[o];if(a){const s=e[o],l=s===void 0||a(s,o,e);if(l!==!0)throw new vn("option "+o+" must be "+l,vn.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new vn("Unknown option "+o,vn.ERR_BAD_OPTION)}}const ab={assertOptions:n2e,validators:n3},Tl=ab.validators;class kh{constructor(t){this.defaults=t,this.interceptors={request:new l9,response:new l9}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const o=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
||
`+o):r.stack=o}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Jh(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&ab.assertOptions(r,{silentJSONParsing:Tl.transitional(Tl.boolean),forcedJSONParsing:Tl.transitional(Tl.boolean),clarifyTimeoutError:Tl.transitional(Tl.boolean)},!1),i!=null&&(Ke.isFunction(i)?n.paramsSerializer={serialize:i}:ab.assertOptions(i,{encode:Tl.function,serialize:Tl.function},!0)),ab.assertOptions(n,{baseUrl:Tl.spelling("baseURL"),withXsrfToken:Tl.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=o&&Ke.merge(o.common,o[n.method]);o&&Ke.forEach(["delete","get","head","post","put","patch","common"],p=>{delete o[p]}),n.headers=ra.concat(a,o);const s=[];let l=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(n)===!1||(l=l&&v.synchronous,s.unshift(v.fulfilled,v.rejected))});const u=[];this.interceptors.response.forEach(function(v){u.push(v.fulfilled,v.rejected)});let c,f=0,d;if(!l){const p=[g9.bind(this),void 0];for(p.unshift.apply(p,s),p.push.apply(p,u),d=p.length,c=Promise.resolve(n);f<d;)c=c.then(p[f++],p[f++]);return c}d=s.length;let h=n;for(f=0;f<d;){const p=s[f++],v=s[f++];try{h=p(h)}catch(g){v.call(this,g);break}}try{c=g9.call(this,h)}catch(p){return Promise.reject(p)}for(f=0,d=u.length;f<d;)c=c.then(u[f++],u[f++]);return c}getUri(t){t=Jh(this.defaults,t);const n=bH(t.baseURL,t.url);return gH(n,t.params,t.paramsSerializer)}}Ke.forEach(["delete","get","head","options"],function(t){kh.prototype[t]=function(n,r){return this.request(Jh(r||{},{method:t,url:n,data:(r||{}).data}))}});Ke.forEach(["post","put","patch"],function(t){function n(r){return function(o,a,s){return this.request(Jh(s||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:a}))}}kh.prototype[t]=n(),kh.prototype[t+"Form"]=n(!0)});class DO{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(i=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o;const a=new Promise(s=>{r.subscribe(s),o=s}).then(i);return a.cancel=function(){r.unsubscribe(o)},a},t(function(o,a,s){r.reason||(r.reason=new Hv(o,a,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new DO(function(i){t=i}),cancel:t}}}function r2e(e){return function(n){return e.apply(null,n)}}function i2e(e){return Ke.isObject(e)&&e.isAxiosError===!0}const MT={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(MT).forEach(([e,t])=>{MT[t]=e});function TH(e){const t=new kh(e),n=iH(kh.prototype.request,t);return Ke.extend(n,kh.prototype,t,{allOwnKeys:!0}),Ke.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return TH(Jh(e,i))},n}const ci=TH(Z2);ci.Axios=kh;ci.CanceledError=Hv;ci.CancelToken=DO;ci.isCancel=AH;ci.VERSION=LH;ci.toFormData=e3;ci.AxiosError=vn;ci.Cancel=ci.CanceledError;ci.all=function(t){return Promise.all(t)};ci.spread=r2e;ci.isAxiosError=i2e;ci.mergeConfig=Jh;ci.AxiosHeaders=ra;ci.formToJSON=e=>yH(Ke.isHTMLForm(e)?new FormData(e):e);ci.getAdapter=MH.getAdapter;ci.HttpStatusCode=MT;ci.default=ci;const sb=ci.create({timeout:1e3*300});sb.interceptors.response.use(e=>e.status>=200&&e.status<400?Promise.resolve(e.data):(gn.error("未知的请求错误!"),Promise.reject(e)),e=>e&&e.response?(e.response.status>=400&&e.response.status<500||e.response.status>=500||gn.error("服务器遇到未知错误!"),Promise.reject(e.message)):(gn.error("连接到服务器失败 或 服务器响应超时!"),Promise.reject(e)));const y9="https://server.pptist.cn",o2e="https://asset.pptist.cn",$g={getMockData(e){return sb.get(`./mocks/${e}.json`)},getFileData(e){return sb.get(`${o2e}/data/${e}.json`)},AIPPT_Outline(e,t){return fetch(`${y9}/tools/aippt_outline`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({content:e,language:t,stream:!0})})},AIPPT(e,t){return sb.post(`${y9}/tools/aippt`,{content:e,language:t})}};var Wr=(e=>(e.UP="up",e.DOWN="down",e.TOP="top",e.BOTTOM="bottom",e))(Wr||{}),pn=(e=>(e.TOP="top",e.BOTTOM="bottom",e.LEFT="left",e.RIGHT="right",e.VERTICAL="vertical",e.HORIZONTAL="horizontal",e.CENTER="center",e))(pn||{}),pg=(e=>(e.T="top",e.B="bottom",e.L="left",e.R="right",e))(pg||{}),bt=(e=>(e.LEFT_TOP="left-top",e.TOP="top",e.RIGHT_TOP="right-top",e.LEFT="left",e.RIGHT="right",e.LEFT_BOTTOM="left-bottom",e.BOTTOM="bottom",e.RIGHT_BOTTOM="right-bottom",e))(bt||{}),Ho=(e=>(e.START="start",e.END="end",e.C="ctrl",e.C1="ctrl1",e.C2="ctrl2",e))(Ho||{}),At=(e=>(e.C="C",e.X="X",e.Z="Z",e.Y="Y",e.A="A",e.G="G",e.L="L",e.F="F",e.D="D",e.B="B",e.P="P",e.O="O",e.R="R",e.T="T",e.MINUS="-",e.EQUAL="=",e.DIGIT_0="0",e.DELETE="DELETE",e.UP="ARROWUP",e.DOWN="ARROWDOWN",e.LEFT="ARROWLEFT",e.RIGHT="ARROWRIGHT",e.ENTER="ENTER",e.SPACE=" ",e.TAB="TAB",e.BACKSPACE="BACKSPACE",e.ESC="ESCAPE",e.PAGEUP="PAGEUP",e.PAGEDOWN="PAGEDOWN",e.F5="F5",e))(At||{});const a2e=[{type:"通用",children:[{label:"剪切",value:"Ctrl + X"},{label:"复制",value:"Ctrl + C"},{label:"粘贴",value:"Ctrl + V"},{label:"粘贴为纯文本",value:"Ctrl + Shift + V"},{label:"快速复制粘贴",value:"Ctrl + D"},{label:"全选",value:"Ctrl + A"},{label:"撤销",value:"Ctrl + Z"},{label:"恢复",value:"Ctrl + Y"},{label:"删除",value:"Delete / Backspace"},{label:"多选",value:"按住 Ctrl 或 Shift"},{label:"打开搜索替换",value:"Ctrl + F"},{label:"打印",value:"Ctrl + P"},{label:"关闭弹窗",value:"ESC"}]},{type:"幻灯片放映",children:[{label:"从头开始放映幻灯片",value:"F5"},{label:"从当前开始放映幻灯片",value:"Shift + F5"},{label:"切换上一页",value:"↑ / ← / PgUp"},{label:"切换下一页",value:"↓ / → / PgDown"},{label:"切换下一页",value:"Enter / Space"},{label:"退出放映",value:"ESC"}]},{type:"幻灯片编辑",children:[{label:"新建幻灯片",value:"Enter"},{label:"移动画布",value:"Space + 鼠标拖拽"},{label:"缩放画布",value:"Ctrl + 鼠标滚轮"},{label:"放大画布",value:"Ctrl + ="},{label:"缩小画布",value:"Ctrl + -"},{label:"使画布适应当前屏幕",value:"Ctrl + 0"},{label:"上一页(未选中元素)",value:"↑"},{label:"下一页(未选中元素)",value:"↓"},{label:"上一页",value:"鼠标上滚 / PgUp"},{label:"下一页",value:"鼠标下滚 / PgDown"},{label:"快速创建文本",value:"双击空白处 / T"},{label:"快速创建矩形",value:"R"},{label:"快速创建圆形",value:"O"},{label:"快速创建线条",value:"L"},{label:"退出绘制状态",value:"鼠标右键"}]},{type:"元素操作",children:[{label:"移动",value:"↑ / ← / ↓ / →"},{label:"锁定",value:"Ctrl + L"},{label:"组合",value:"Ctrl + G"},{label:"取消组合",value:"Ctrl + Shift + G"},{label:"置顶层",value:"Alt + F"},{label:"置底层",value:"Alt + B"},{label:"锁定宽高比例",value:"按住 Ctrl 或 Shift"},{label:"创建水平 / 垂直线条",value:"按住 Ctrl 或 Shift"},{label:"切换焦点元素",value:"Tab"},{label:"确认图片裁剪",value:"Enter"},{label:"完成自定义形状绘制",value:"Enter"}]},{type:"表格编辑",children:[{label:"聚焦到下一个单元格",value:"Tab"},{label:"移动焦点单元格",value:"↑ / ← / ↓ / →"},{label:"在上方插入一行",value:"Ctrl + ↑"},{label:"在下方插入一行",value:"Ctrl + ↓"},{label:"在左侧插入一列",value:"Ctrl + ←"},{label:"在右侧插入一列",value:"Ctrl + →"}]},{type:"图表数据编辑",children:[{label:"聚焦到下一行",value:"Enter"}]},{type:"文本编辑",children:[{label:"加粗",value:"Ctrl + B"},{label:"斜体",value:"Ctrl + I"},{label:"下划线",value:"Ctrl + U"},{label:"行内代码",value:"Ctrl + E"},{label:"上角标",value:"Ctrl + ;"},{label:"下角标",value:"Ctrl + '"},{label:"选中段落",value:"ESC"}]}];var _H={exports:{}};/*!
|
||
* clipboard.js v2.0.11
|
||
* https://clipboardjs.com/
|
||
*
|
||
* Licensed MIT © Zeno Rocha
|
||
*/(function(e,t){(function(r,i){e.exports=i()})(Xt,function(){return function(){var n={686:function(o,a,s){s.d(a,{default:function(){return Y}});var l=s(279),u=s.n(l),c=s(370),f=s.n(c),d=s(817),h=s.n(d);function p(B){try{return document.execCommand(B)}catch{return!1}}var v=function(Q){var K=h()(Q);return p("cut"),K},g=v;function m(B){var Q=document.documentElement.getAttribute("dir")==="rtl",K=document.createElement("textarea");K.style.fontSize="12pt",K.style.border="0",K.style.padding="0",K.style.margin="0",K.style.position="absolute",K.style[Q?"right":"left"]="-9999px";var q=window.pageYOffset||document.documentElement.scrollTop;return K.style.top="".concat(q,"px"),K.setAttribute("readonly",""),K.value=B,K}var y=function(Q,K){var q=m(Q);K.container.appendChild(q);var j=h()(q);return p("copy"),q.remove(),j},R=function(Q){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},q="";return typeof Q=="string"?q=y(Q,K):Q instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(Q==null?void 0:Q.type)?q=y(Q.value,K):(q=h()(Q),p("copy")),q},A=R;function x(B){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?x=function(K){return typeof K}:x=function(K){return K&&typeof Symbol=="function"&&K.constructor===Symbol&&K!==Symbol.prototype?"symbol":typeof K},x(B)}var S=function(){var Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},K=Q.action,q=K===void 0?"copy":K,j=Q.container,de=Q.target,G=Q.text;if(q!=="copy"&&q!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(de!==void 0)if(de&&x(de)==="object"&&de.nodeType===1){if(q==="copy"&&de.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(q==="cut"&&(de.hasAttribute("readonly")||de.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(G)return A(G,{container:j});if(de)return q==="cut"?g(de):A(de,{container:j})},_=S;function M(B){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?M=function(K){return typeof K}:M=function(K){return K&&typeof Symbol=="function"&&K.constructor===Symbol&&K!==Symbol.prototype?"symbol":typeof K},M(B)}function w(B,Q){if(!(B instanceof Q))throw new TypeError("Cannot call a class as a function")}function L(B,Q){for(var K=0;K<Q.length;K++){var q=Q[K];q.enumerable=q.enumerable||!1,q.configurable=!0,"value"in q&&(q.writable=!0),Object.defineProperty(B,q.key,q)}}function k(B,Q,K){return Q&&L(B.prototype,Q),K&&L(B,K),B}function P(B,Q){if(typeof Q!="function"&&Q!==null)throw new TypeError("Super expression must either be null or a function");B.prototype=Object.create(Q&&Q.prototype,{constructor:{value:B,writable:!0,configurable:!0}}),Q&&F(B,Q)}function F(B,Q){return F=Object.setPrototypeOf||function(q,j){return q.__proto__=j,q},F(B,Q)}function C(B){var Q=V();return function(){var q=W(B),j;if(Q){var de=W(this).constructor;j=Reflect.construct(q,arguments,de)}else j=q.apply(this,arguments);return N(this,j)}}function N(B,Q){return Q&&(M(Q)==="object"||typeof Q=="function")?Q:I(B)}function I(B){if(B===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return B}function V(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function W(B){return W=Object.setPrototypeOf?Object.getPrototypeOf:function(K){return K.__proto__||Object.getPrototypeOf(K)},W(B)}function Z(B,Q){var K="data-clipboard-".concat(B);if(Q.hasAttribute(K))return Q.getAttribute(K)}var re=function(B){P(K,B);var Q=C(K);function K(q,j){var de;return w(this,K),de=Q.call(this),de.resolveOptions(j),de.listenClick(q),de}return k(K,[{key:"resolveOptions",value:function(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof j.action=="function"?j.action:this.defaultAction,this.target=typeof j.target=="function"?j.target:this.defaultTarget,this.text=typeof j.text=="function"?j.text:this.defaultText,this.container=M(j.container)==="object"?j.container:document.body}},{key:"listenClick",value:function(j){var de=this;this.listener=f()(j,"click",function(G){return de.onClick(G)})}},{key:"onClick",value:function(j){var de=j.delegateTarget||j.currentTarget,G=this.action(de)||"copy",Ae=_({action:G,container:this.container,target:this.target(de),text:this.text(de)});this.emit(Ae?"success":"error",{action:G,text:Ae,trigger:de,clearSelection:function(){de&&de.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(j){return Z("action",j)}},{key:"defaultTarget",value:function(j){var de=Z("target",j);if(de)return document.querySelector(de)}},{key:"defaultText",value:function(j){return Z("text",j)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(j){var de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return A(j,de)}},{key:"cut",value:function(j){return g(j)}},{key:"isSupported",value:function(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],de=typeof j=="string"?[j]:j,G=!!document.queryCommandSupported;return de.forEach(function(Ae){G=G&&!!document.queryCommandSupported(Ae)}),G}}]),K}(u()),Y=re},828:function(o){var a=9;if(typeof Element<"u"&&!Element.prototype.matches){var s=Element.prototype;s.matches=s.matchesSelector||s.mozMatchesSelector||s.msMatchesSelector||s.oMatchesSelector||s.webkitMatchesSelector}function l(u,c){for(;u&&u.nodeType!==a;){if(typeof u.matches=="function"&&u.matches(c))return u;u=u.parentNode}}o.exports=l},438:function(o,a,s){var l=s(828);function u(d,h,p,v,g){var m=f.apply(this,arguments);return d.addEventListener(p,m,g),{destroy:function(){d.removeEventListener(p,m,g)}}}function c(d,h,p,v,g){return typeof d.addEventListener=="function"?u.apply(null,arguments):typeof p=="function"?u.bind(null,document).apply(null,arguments):(typeof d=="string"&&(d=document.querySelectorAll(d)),Array.prototype.map.call(d,function(m){return u(m,h,p,v,g)}))}function f(d,h,p,v){return function(g){g.delegateTarget=l(g.target,h),g.delegateTarget&&v.call(d,g)}}o.exports=c},879:function(o,a){a.node=function(s){return s!==void 0&&s instanceof HTMLElement&&s.nodeType===1},a.nodeList=function(s){var l=Object.prototype.toString.call(s);return s!==void 0&&(l==="[object NodeList]"||l==="[object HTMLCollection]")&&"length"in s&&(s.length===0||a.node(s[0]))},a.string=function(s){return typeof s=="string"||s instanceof String},a.fn=function(s){var l=Object.prototype.toString.call(s);return l==="[object Function]"}},370:function(o,a,s){var l=s(879),u=s(438);function c(p,v,g){if(!p&&!v&&!g)throw new Error("Missing required arguments");if(!l.string(v))throw new TypeError("Second argument must be a String");if(!l.fn(g))throw new TypeError("Third argument must be a Function");if(l.node(p))return f(p,v,g);if(l.nodeList(p))return d(p,v,g);if(l.string(p))return h(p,v,g);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function f(p,v,g){return p.addEventListener(v,g),{destroy:function(){p.removeEventListener(v,g)}}}function d(p,v,g){return Array.prototype.forEach.call(p,function(m){m.addEventListener(v,g)}),{destroy:function(){Array.prototype.forEach.call(p,function(m){m.removeEventListener(v,g)})}}}function h(p,v,g){return u(document.body,p,v,g)}o.exports=c},817:function(o){function a(s){var l;if(s.nodeName==="SELECT")s.focus(),l=s.value;else if(s.nodeName==="INPUT"||s.nodeName==="TEXTAREA"){var u=s.hasAttribute("readonly");u||s.setAttribute("readonly",""),s.select(),s.setSelectionRange(0,s.value.length),u||s.removeAttribute("readonly"),l=s.value}else{s.hasAttribute("contenteditable")&&s.focus();var c=window.getSelection(),f=document.createRange();f.selectNodeContents(s),c.removeAllRanges(),c.addRange(f),l=c.toString()}return l}o.exports=a},279:function(o){function a(){}a.prototype={on:function(s,l,u){var c=this.e||(this.e={});return(c[s]||(c[s]=[])).push({fn:l,ctx:u}),this},once:function(s,l,u){var c=this;function f(){c.off(s,f),l.apply(u,arguments)}return f._=l,this.on(s,f,u)},emit:function(s){var l=[].slice.call(arguments,1),u=((this.e||(this.e={}))[s]||[]).slice(),c=0,f=u.length;for(c;c<f;c++)u[c].fn.apply(u[c].ctx,l);return this},off:function(s,l){var u=this.e||(this.e={}),c=u[s],f=[];if(c&&l)for(var d=0,h=c.length;d<h;d++)c[d].fn!==l&&c[d].fn._!==l&&f.push(c[d]);return f.length?u[s]=f:delete u[s],this}},o.exports=a,o.exports.TinyEmitter=a}},r={};function i(o){if(r[o])return r[o].exports;var a=r[o]={exports:{}};return n[o](a,a.exports,i),a.exports}return function(){i.n=function(o){var a=o&&o.__esModule?function(){return o.default}:function(){return o};return i.d(a,{a}),a}}(),function(){i.d=function(o,a){for(var s in a)i.o(a,s)&&!i.o(o,s)&&Object.defineProperty(o,s,{enumerable:!0,get:a[s]})}}(),function(){i.o=function(o,a){return Object.prototype.hasOwnProperty.call(o,a)}}(),i(686)}().default})})(_H);var s2e=_H.exports;const l2e=HS(s2e);var OH={exports:{}};function vg(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var iM={exports:{}};const u2e={},c2e=Object.freeze(Object.defineProperty({__proto__:null,default:u2e},Symbol.toStringTag,{value:"Module"})),f2e=wO(c2e);var A9;function Xn(){return A9||(A9=1,function(e,t){(function(n,r){e.exports=r()})(Xt,function(){var n=n||function(r,i){var o;if(typeof window<"u"&&window.crypto&&(o=window.crypto),typeof self<"u"&&self.crypto&&(o=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(o=globalThis.crypto),!o&&typeof window<"u"&&window.msCrypto&&(o=window.msCrypto),!o&&typeof Xt<"u"&&Xt.crypto&&(o=Xt.crypto),!o&&typeof vg=="function")try{o=f2e}catch{}var a=function(){if(o){if(typeof o.getRandomValues=="function")try{return o.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof o.randomBytes=="function")try{return o.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function y(){}return function(R){var A;return y.prototype=R,A=new y,y.prototype=null,A}}(),l={},u=l.lib={},c=u.Base=function(){return{extend:function(y){var R=s(this);return y&&R.mixIn(y),(!R.hasOwnProperty("init")||this.init===R.init)&&(R.init=function(){R.$super.init.apply(this,arguments)}),R.init.prototype=R,R.$super=this,R},create:function(){var y=this.extend();return y.init.apply(y,arguments),y},init:function(){},mixIn:function(y){for(var R in y)y.hasOwnProperty(R)&&(this[R]=y[R]);y.hasOwnProperty("toString")&&(this.toString=y.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),f=u.WordArray=c.extend({init:function(y,R){y=this.words=y||[],R!=i?this.sigBytes=R:this.sigBytes=y.length*4},toString:function(y){return(y||h).stringify(this)},concat:function(y){var R=this.words,A=y.words,x=this.sigBytes,S=y.sigBytes;if(this.clamp(),x%4)for(var _=0;_<S;_++){var M=A[_>>>2]>>>24-_%4*8&255;R[x+_>>>2]|=M<<24-(x+_)%4*8}else for(var w=0;w<S;w+=4)R[x+w>>>2]=A[w>>>2];return this.sigBytes+=S,this},clamp:function(){var y=this.words,R=this.sigBytes;y[R>>>2]&=4294967295<<32-R%4*8,y.length=r.ceil(R/4)},clone:function(){var y=c.clone.call(this);return y.words=this.words.slice(0),y},random:function(y){for(var R=[],A=0;A<y;A+=4)R.push(a());return new f.init(R,y)}}),d=l.enc={},h=d.Hex={stringify:function(y){for(var R=y.words,A=y.sigBytes,x=[],S=0;S<A;S++){var _=R[S>>>2]>>>24-S%4*8&255;x.push((_>>>4).toString(16)),x.push((_&15).toString(16))}return x.join("")},parse:function(y){for(var R=y.length,A=[],x=0;x<R;x+=2)A[x>>>3]|=parseInt(y.substr(x,2),16)<<24-x%8*4;return new f.init(A,R/2)}},p=d.Latin1={stringify:function(y){for(var R=y.words,A=y.sigBytes,x=[],S=0;S<A;S++){var _=R[S>>>2]>>>24-S%4*8&255;x.push(String.fromCharCode(_))}return x.join("")},parse:function(y){for(var R=y.length,A=[],x=0;x<R;x++)A[x>>>2]|=(y.charCodeAt(x)&255)<<24-x%4*8;return new f.init(A,R)}},v=d.Utf8={stringify:function(y){try{return decodeURIComponent(escape(p.stringify(y)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(y){return p.parse(unescape(encodeURIComponent(y)))}},g=u.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(y){typeof y=="string"&&(y=v.parse(y)),this._data.concat(y),this._nDataBytes+=y.sigBytes},_process:function(y){var R,A=this._data,x=A.words,S=A.sigBytes,_=this.blockSize,M=_*4,w=S/M;y?w=r.ceil(w):w=r.max((w|0)-this._minBufferSize,0);var L=w*_,k=r.min(L*4,S);if(L){for(var P=0;P<L;P+=_)this._doProcessBlock(x,P);R=x.splice(0,L),A.sigBytes-=k}return new f.init(R,k)},clone:function(){var y=c.clone.call(this);return y._data=this._data.clone(),y},_minBufferSize:0});u.Hasher=g.extend({cfg:c.extend(),init:function(y){this.cfg=this.cfg.extend(y),this.reset()},reset:function(){g.reset.call(this),this._doReset()},update:function(y){return this._append(y),this._process(),this},finalize:function(y){y&&this._append(y);var R=this._doFinalize();return R},blockSize:16,_createHelper:function(y){return function(R,A){return new y.init(A).finalize(R)}},_createHmacHelper:function(y){return function(R,A){return new m.HMAC.init(y,A).finalize(R)}}});var m=l.algo={};return l}(Math);return n})}(iM)),iM.exports}var oM={exports:{}},R9;function r3(){return R9||(R9=1,function(e,t){(function(n,r){e.exports=r(Xn())})(Xt,function(n){return function(r){var i=n,o=i.lib,a=o.Base,s=o.WordArray,l=i.x64={};l.Word=a.extend({init:function(u,c){this.high=u,this.low=c}}),l.WordArray=a.extend({init:function(u,c){u=this.words=u||[],c!=r?this.sigBytes=c:this.sigBytes=u.length*8},toX32:function(){for(var u=this.words,c=u.length,f=[],d=0;d<c;d++){var h=u[d];f.push(h.high),f.push(h.low)}return s.create(f,this.sigBytes)},clone:function(){for(var u=a.clone.call(this),c=u.words=this.words.slice(0),f=c.length,d=0;d<f;d++)c[d]=c[d].clone();return u}})}(),n})}(oM)),oM.exports}var aM={exports:{}},b9;function d2e(){return b9||(b9=1,function(e,t){(function(n,r){e.exports=r(Xn())})(Xt,function(n){return function(){if(typeof ArrayBuffer=="function"){var r=n,i=r.lib,o=i.WordArray,a=o.init,s=o.init=function(l){if(l instanceof ArrayBuffer&&(l=new Uint8Array(l)),(l instanceof Int8Array||typeof Uint8ClampedArray<"u"&&l instanceof Uint8ClampedArray||l instanceof Int16Array||l instanceof Uint16Array||l instanceof Int32Array||l instanceof Uint32Array||l instanceof Float32Array||l instanceof Float64Array)&&(l=new Uint8Array(l.buffer,l.byteOffset,l.byteLength)),l instanceof Uint8Array){for(var u=l.byteLength,c=[],f=0;f<u;f++)c[f>>>2]|=l[f]<<24-f%4*8;a.call(this,c,u)}else a.apply(this,arguments)};s.prototype=o}}(),n.lib.WordArray})}(aM)),aM.exports}var sM={exports:{}},x9;function h2e(){return x9||(x9=1,function(e,t){(function(n,r){e.exports=r(Xn())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.WordArray,a=r.enc;a.Utf16=a.Utf16BE={stringify:function(l){for(var u=l.words,c=l.sigBytes,f=[],d=0;d<c;d+=2){var h=u[d>>>2]>>>16-d%4*8&65535;f.push(String.fromCharCode(h))}return f.join("")},parse:function(l){for(var u=l.length,c=[],f=0;f<u;f++)c[f>>>1]|=l.charCodeAt(f)<<16-f%2*16;return o.create(c,u*2)}},a.Utf16LE={stringify:function(l){for(var u=l.words,c=l.sigBytes,f=[],d=0;d<c;d+=2){var h=s(u[d>>>2]>>>16-d%4*8&65535);f.push(String.fromCharCode(h))}return f.join("")},parse:function(l){for(var u=l.length,c=[],f=0;f<u;f++)c[f>>>1]|=s(l.charCodeAt(f)<<16-f%2*16);return o.create(c,u*2)}};function s(l){return l<<8&4278255360|l>>>8&16711935}}(),n.enc.Utf16})}(sM)),sM.exports}var lM={exports:{}},S9;function s0(){return S9||(S9=1,function(e,t){(function(n,r){e.exports=r(Xn())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.WordArray,a=r.enc;a.Base64={stringify:function(l){var u=l.words,c=l.sigBytes,f=this._map;l.clamp();for(var d=[],h=0;h<c;h+=3)for(var p=u[h>>>2]>>>24-h%4*8&255,v=u[h+1>>>2]>>>24-(h+1)%4*8&255,g=u[h+2>>>2]>>>24-(h+2)%4*8&255,m=p<<16|v<<8|g,y=0;y<4&&h+y*.75<c;y++)d.push(f.charAt(m>>>6*(3-y)&63));var R=f.charAt(64);if(R)for(;d.length%4;)d.push(R);return d.join("")},parse:function(l){var u=l.length,c=this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var d=0;d<c.length;d++)f[c.charCodeAt(d)]=d}var h=c.charAt(64);if(h){var p=l.indexOf(h);p!==-1&&(u=p)}return s(l,u,f)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function s(l,u,c){for(var f=[],d=0,h=0;h<u;h++)if(h%4){var p=c[l.charCodeAt(h-1)]<<h%4*2,v=c[l.charCodeAt(h)]>>>6-h%4*2,g=p|v;f[d>>>2]|=g<<24-d%4*8,d++}return o.create(f,d)}}(),n.enc.Base64})}(lM)),lM.exports}var uM={exports:{}},w9;function p2e(){return w9||(w9=1,function(e,t){(function(n,r){e.exports=r(Xn())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.WordArray,a=r.enc;a.Base64url={stringify:function(l,u){u===void 0&&(u=!0);var c=l.words,f=l.sigBytes,d=u?this._safe_map:this._map;l.clamp();for(var h=[],p=0;p<f;p+=3)for(var v=c[p>>>2]>>>24-p%4*8&255,g=c[p+1>>>2]>>>24-(p+1)%4*8&255,m=c[p+2>>>2]>>>24-(p+2)%4*8&255,y=v<<16|g<<8|m,R=0;R<4&&p+R*.75<f;R++)h.push(d.charAt(y>>>6*(3-R)&63));var A=d.charAt(64);if(A)for(;h.length%4;)h.push(A);return h.join("")},parse:function(l,u){u===void 0&&(u=!0);var c=l.length,f=u?this._safe_map:this._map,d=this._reverseMap;if(!d){d=this._reverseMap=[];for(var h=0;h<f.length;h++)d[f.charCodeAt(h)]=h}var p=f.charAt(64);if(p){var v=l.indexOf(p);v!==-1&&(c=v)}return s(l,c,d)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function s(l,u,c){for(var f=[],d=0,h=0;h<u;h++)if(h%4){var p=c[l.charCodeAt(h-1)]<<h%4*2,v=c[l.charCodeAt(h)]>>>6-h%4*2,g=p|v;f[d>>>2]|=g<<24-d%4*8,d++}return o.create(f,d)}}(),n.enc.Base64url})}(uM)),uM.exports}var cM={exports:{}},M9;function l0(){return M9||(M9=1,function(e,t){(function(n,r){e.exports=r(Xn())})(Xt,function(n){return function(r){var i=n,o=i.lib,a=o.WordArray,s=o.Hasher,l=i.algo,u=[];(function(){for(var v=0;v<64;v++)u[v]=r.abs(r.sin(v+1))*4294967296|0})();var c=l.MD5=s.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(v,g){for(var m=0;m<16;m++){var y=g+m,R=v[y];v[y]=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360}var A=this._hash.words,x=v[g+0],S=v[g+1],_=v[g+2],M=v[g+3],w=v[g+4],L=v[g+5],k=v[g+6],P=v[g+7],F=v[g+8],C=v[g+9],N=v[g+10],I=v[g+11],V=v[g+12],W=v[g+13],Z=v[g+14],re=v[g+15],Y=A[0],B=A[1],Q=A[2],K=A[3];Y=f(Y,B,Q,K,x,7,u[0]),K=f(K,Y,B,Q,S,12,u[1]),Q=f(Q,K,Y,B,_,17,u[2]),B=f(B,Q,K,Y,M,22,u[3]),Y=f(Y,B,Q,K,w,7,u[4]),K=f(K,Y,B,Q,L,12,u[5]),Q=f(Q,K,Y,B,k,17,u[6]),B=f(B,Q,K,Y,P,22,u[7]),Y=f(Y,B,Q,K,F,7,u[8]),K=f(K,Y,B,Q,C,12,u[9]),Q=f(Q,K,Y,B,N,17,u[10]),B=f(B,Q,K,Y,I,22,u[11]),Y=f(Y,B,Q,K,V,7,u[12]),K=f(K,Y,B,Q,W,12,u[13]),Q=f(Q,K,Y,B,Z,17,u[14]),B=f(B,Q,K,Y,re,22,u[15]),Y=d(Y,B,Q,K,S,5,u[16]),K=d(K,Y,B,Q,k,9,u[17]),Q=d(Q,K,Y,B,I,14,u[18]),B=d(B,Q,K,Y,x,20,u[19]),Y=d(Y,B,Q,K,L,5,u[20]),K=d(K,Y,B,Q,N,9,u[21]),Q=d(Q,K,Y,B,re,14,u[22]),B=d(B,Q,K,Y,w,20,u[23]),Y=d(Y,B,Q,K,C,5,u[24]),K=d(K,Y,B,Q,Z,9,u[25]),Q=d(Q,K,Y,B,M,14,u[26]),B=d(B,Q,K,Y,F,20,u[27]),Y=d(Y,B,Q,K,W,5,u[28]),K=d(K,Y,B,Q,_,9,u[29]),Q=d(Q,K,Y,B,P,14,u[30]),B=d(B,Q,K,Y,V,20,u[31]),Y=h(Y,B,Q,K,L,4,u[32]),K=h(K,Y,B,Q,F,11,u[33]),Q=h(Q,K,Y,B,I,16,u[34]),B=h(B,Q,K,Y,Z,23,u[35]),Y=h(Y,B,Q,K,S,4,u[36]),K=h(K,Y,B,Q,w,11,u[37]),Q=h(Q,K,Y,B,P,16,u[38]),B=h(B,Q,K,Y,N,23,u[39]),Y=h(Y,B,Q,K,W,4,u[40]),K=h(K,Y,B,Q,x,11,u[41]),Q=h(Q,K,Y,B,M,16,u[42]),B=h(B,Q,K,Y,k,23,u[43]),Y=h(Y,B,Q,K,C,4,u[44]),K=h(K,Y,B,Q,V,11,u[45]),Q=h(Q,K,Y,B,re,16,u[46]),B=h(B,Q,K,Y,_,23,u[47]),Y=p(Y,B,Q,K,x,6,u[48]),K=p(K,Y,B,Q,P,10,u[49]),Q=p(Q,K,Y,B,Z,15,u[50]),B=p(B,Q,K,Y,L,21,u[51]),Y=p(Y,B,Q,K,V,6,u[52]),K=p(K,Y,B,Q,M,10,u[53]),Q=p(Q,K,Y,B,N,15,u[54]),B=p(B,Q,K,Y,S,21,u[55]),Y=p(Y,B,Q,K,F,6,u[56]),K=p(K,Y,B,Q,re,10,u[57]),Q=p(Q,K,Y,B,k,15,u[58]),B=p(B,Q,K,Y,W,21,u[59]),Y=p(Y,B,Q,K,w,6,u[60]),K=p(K,Y,B,Q,I,10,u[61]),Q=p(Q,K,Y,B,_,15,u[62]),B=p(B,Q,K,Y,C,21,u[63]),A[0]=A[0]+Y|0,A[1]=A[1]+B|0,A[2]=A[2]+Q|0,A[3]=A[3]+K|0},_doFinalize:function(){var v=this._data,g=v.words,m=this._nDataBytes*8,y=v.sigBytes*8;g[y>>>5]|=128<<24-y%32;var R=r.floor(m/4294967296),A=m;g[(y+64>>>9<<4)+15]=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,g[(y+64>>>9<<4)+14]=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,v.sigBytes=(g.length+1)*4,this._process();for(var x=this._hash,S=x.words,_=0;_<4;_++){var M=S[_];S[_]=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360}return x},clone:function(){var v=s.clone.call(this);return v._hash=this._hash.clone(),v}});function f(v,g,m,y,R,A,x){var S=v+(g&m|~g&y)+R+x;return(S<<A|S>>>32-A)+g}function d(v,g,m,y,R,A,x){var S=v+(g&y|m&~y)+R+x;return(S<<A|S>>>32-A)+g}function h(v,g,m,y,R,A,x){var S=v+(g^m^y)+R+x;return(S<<A|S>>>32-A)+g}function p(v,g,m,y,R,A,x){var S=v+(m^(g|~y))+R+x;return(S<<A|S>>>32-A)+g}i.MD5=s._createHelper(c),i.HmacMD5=s._createHmacHelper(c)}(Math),n.MD5})}(cM)),cM.exports}var fM={exports:{}},L9;function kH(){return L9||(L9=1,function(e,t){(function(n,r){e.exports=r(Xn())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.WordArray,a=i.Hasher,s=r.algo,l=[],u=s.SHA1=a.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(c,f){for(var d=this._hash.words,h=d[0],p=d[1],v=d[2],g=d[3],m=d[4],y=0;y<80;y++){if(y<16)l[y]=c[f+y]|0;else{var R=l[y-3]^l[y-8]^l[y-14]^l[y-16];l[y]=R<<1|R>>>31}var A=(h<<5|h>>>27)+m+l[y];y<20?A+=(p&v|~p&g)+1518500249:y<40?A+=(p^v^g)+1859775393:y<60?A+=(p&v|p&g|v&g)-1894007588:A+=(p^v^g)-899497514,m=g,g=v,v=p<<30|p>>>2,p=h,h=A}d[0]=d[0]+h|0,d[1]=d[1]+p|0,d[2]=d[2]+v|0,d[3]=d[3]+g|0,d[4]=d[4]+m|0},_doFinalize:function(){var c=this._data,f=c.words,d=this._nDataBytes*8,h=c.sigBytes*8;return f[h>>>5]|=128<<24-h%32,f[(h+64>>>9<<4)+14]=Math.floor(d/4294967296),f[(h+64>>>9<<4)+15]=d,c.sigBytes=f.length*4,this._process(),this._hash},clone:function(){var c=a.clone.call(this);return c._hash=this._hash.clone(),c}});r.SHA1=a._createHelper(u),r.HmacSHA1=a._createHmacHelper(u)}(),n.SHA1})}(fM)),fM.exports}var dM={exports:{}},T9;function UO(){return T9||(T9=1,function(e,t){(function(n,r){e.exports=r(Xn())})(Xt,function(n){return function(r){var i=n,o=i.lib,a=o.WordArray,s=o.Hasher,l=i.algo,u=[],c=[];(function(){function h(m){for(var y=r.sqrt(m),R=2;R<=y;R++)if(!(m%R))return!1;return!0}function p(m){return(m-(m|0))*4294967296|0}for(var v=2,g=0;g<64;)h(v)&&(g<8&&(u[g]=p(r.pow(v,1/2))),c[g]=p(r.pow(v,1/3)),g++),v++})();var f=[],d=l.SHA256=s.extend({_doReset:function(){this._hash=new a.init(u.slice(0))},_doProcessBlock:function(h,p){for(var v=this._hash.words,g=v[0],m=v[1],y=v[2],R=v[3],A=v[4],x=v[5],S=v[6],_=v[7],M=0;M<64;M++){if(M<16)f[M]=h[p+M]|0;else{var w=f[M-15],L=(w<<25|w>>>7)^(w<<14|w>>>18)^w>>>3,k=f[M-2],P=(k<<15|k>>>17)^(k<<13|k>>>19)^k>>>10;f[M]=L+f[M-7]+P+f[M-16]}var F=A&x^~A&S,C=g&m^g&y^m&y,N=(g<<30|g>>>2)^(g<<19|g>>>13)^(g<<10|g>>>22),I=(A<<26|A>>>6)^(A<<21|A>>>11)^(A<<7|A>>>25),V=_+I+F+c[M]+f[M],W=N+C;_=S,S=x,x=A,A=R+V|0,R=y,y=m,m=g,g=V+W|0}v[0]=v[0]+g|0,v[1]=v[1]+m|0,v[2]=v[2]+y|0,v[3]=v[3]+R|0,v[4]=v[4]+A|0,v[5]=v[5]+x|0,v[6]=v[6]+S|0,v[7]=v[7]+_|0},_doFinalize:function(){var h=this._data,p=h.words,v=this._nDataBytes*8,g=h.sigBytes*8;return p[g>>>5]|=128<<24-g%32,p[(g+64>>>9<<4)+14]=r.floor(v/4294967296),p[(g+64>>>9<<4)+15]=v,h.sigBytes=p.length*4,this._process(),this._hash},clone:function(){var h=s.clone.call(this);return h._hash=this._hash.clone(),h}});i.SHA256=s._createHelper(d),i.HmacSHA256=s._createHmacHelper(d)}(Math),n.SHA256})}(dM)),dM.exports}var hM={exports:{}},_9;function v2e(){return _9||(_9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),UO())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.WordArray,a=r.algo,s=a.SHA256,l=a.SHA224=s.extend({_doReset:function(){this._hash=new o.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var u=s._doFinalize.call(this);return u.sigBytes-=4,u}});r.SHA224=s._createHelper(l),r.HmacSHA224=s._createHmacHelper(l)}(),n.SHA224})}(hM)),hM.exports}var pM={exports:{}},O9;function PH(){return O9||(O9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),r3())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.Hasher,a=r.x64,s=a.Word,l=a.WordArray,u=r.algo;function c(){return s.create.apply(s,arguments)}var f=[c(1116352408,3609767458),c(1899447441,602891725),c(3049323471,3964484399),c(3921009573,2173295548),c(961987163,4081628472),c(1508970993,3053834265),c(2453635748,2937671579),c(2870763221,3664609560),c(3624381080,2734883394),c(310598401,1164996542),c(607225278,1323610764),c(1426881987,3590304994),c(1925078388,4068182383),c(2162078206,991336113),c(2614888103,633803317),c(3248222580,3479774868),c(3835390401,2666613458),c(4022224774,944711139),c(264347078,2341262773),c(604807628,2007800933),c(770255983,1495990901),c(1249150122,1856431235),c(1555081692,3175218132),c(1996064986,2198950837),c(2554220882,3999719339),c(2821834349,766784016),c(2952996808,2566594879),c(3210313671,3203337956),c(3336571891,1034457026),c(3584528711,2466948901),c(113926993,3758326383),c(338241895,168717936),c(666307205,1188179964),c(773529912,1546045734),c(1294757372,1522805485),c(1396182291,2643833823),c(1695183700,2343527390),c(1986661051,1014477480),c(2177026350,1206759142),c(2456956037,344077627),c(2730485921,1290863460),c(2820302411,3158454273),c(3259730800,3505952657),c(3345764771,106217008),c(3516065817,3606008344),c(3600352804,1432725776),c(4094571909,1467031594),c(275423344,851169720),c(430227734,3100823752),c(506948616,1363258195),c(659060556,3750685593),c(883997877,3785050280),c(958139571,3318307427),c(1322822218,3812723403),c(1537002063,2003034995),c(1747873779,3602036899),c(1955562222,1575990012),c(2024104815,1125592928),c(2227730452,2716904306),c(2361852424,442776044),c(2428436474,593698344),c(2756734187,3733110249),c(3204031479,2999351573),c(3329325298,3815920427),c(3391569614,3928383900),c(3515267271,566280711),c(3940187606,3454069534),c(4118630271,4000239992),c(116418474,1914138554),c(174292421,2731055270),c(289380356,3203993006),c(460393269,320620315),c(685471733,587496836),c(852142971,1086792851),c(1017036298,365543100),c(1126000580,2618297676),c(1288033470,3409855158),c(1501505948,4234509866),c(1607167915,987167468),c(1816402316,1246189591)],d=[];(function(){for(var p=0;p<80;p++)d[p]=c()})();var h=u.SHA512=o.extend({_doReset:function(){this._hash=new l.init([new s.init(1779033703,4089235720),new s.init(3144134277,2227873595),new s.init(1013904242,4271175723),new s.init(2773480762,1595750129),new s.init(1359893119,2917565137),new s.init(2600822924,725511199),new s.init(528734635,4215389547),new s.init(1541459225,327033209)])},_doProcessBlock:function(p,v){for(var g=this._hash.words,m=g[0],y=g[1],R=g[2],A=g[3],x=g[4],S=g[5],_=g[6],M=g[7],w=m.high,L=m.low,k=y.high,P=y.low,F=R.high,C=R.low,N=A.high,I=A.low,V=x.high,W=x.low,Z=S.high,re=S.low,Y=_.high,B=_.low,Q=M.high,K=M.low,q=w,j=L,de=k,G=P,Ae=F,ce=C,fe=N,le=I,$=V,X=W,J=Z,se=re,ee=Y,ne=B,oe=Q,he=K,ue=0;ue<80;ue++){var ge,Re,Ee=d[ue];if(ue<16)Re=Ee.high=p[v+ue*2]|0,ge=Ee.low=p[v+ue*2+1]|0;else{var Ne=d[ue-15],He=Ne.high,Ve=Ne.low,we=(He>>>1|Ve<<31)^(He>>>8|Ve<<24)^He>>>7,me=(Ve>>>1|He<<31)^(Ve>>>8|He<<24)^(Ve>>>7|He<<25),Me=d[ue-2],Ce=Me.high,Qe=Me.low,ot=(Ce>>>19|Qe<<13)^(Ce<<3|Qe>>>29)^Ce>>>6,ke=(Qe>>>19|Ce<<13)^(Qe<<3|Ce>>>29)^(Qe>>>6|Ce<<26),je=d[ue-7],tt=je.high,Rt=je.low,dt=d[ue-16],vt=dt.high,wt=dt.low;ge=me+Rt,Re=we+tt+(ge>>>0<me>>>0?1:0),ge=ge+ke,Re=Re+ot+(ge>>>0<ke>>>0?1:0),ge=ge+wt,Re=Re+vt+(ge>>>0<wt>>>0?1:0),Ee.high=Re,Ee.low=ge}var Dt=$&J^~$&ee,Jt=X&se^~X&ne,Zn=q&de^q&Ae^de&Ae,Fs=j&G^j&ce^G&ce,xl=(q>>>28|j<<4)^(q<<30|j>>>2)^(q<<25|j>>>7),Ji=(j>>>28|q<<4)^(j<<30|q>>>2)^(j<<25|q>>>7),y0=($>>>14|X<<18)^($>>>18|X<<14)^($<<23|X>>>9),vd=(X>>>14|$<<18)^(X>>>18|$<<14)^(X<<23|$>>>9),wu=f[ue],A4=wu.high,A0=wu.low,yo=he+vd,Ka=oe+y0+(yo>>>0<he>>>0?1:0),yo=yo+Jt,Ka=Ka+Dt+(yo>>>0<Jt>>>0?1:0),yo=yo+A0,Ka=Ka+A4+(yo>>>0<A0>>>0?1:0),yo=yo+ge,Ka=Ka+Re+(yo>>>0<ge>>>0?1:0),xy=Ji+Fs,R4=xl+Zn+(xy>>>0<Ji>>>0?1:0);oe=ee,he=ne,ee=J,ne=se,J=$,se=X,X=le+yo|0,$=fe+Ka+(X>>>0<le>>>0?1:0)|0,fe=Ae,le=ce,Ae=de,ce=G,de=q,G=j,j=yo+xy|0,q=Ka+R4+(j>>>0<yo>>>0?1:0)|0}L=m.low=L+j,m.high=w+q+(L>>>0<j>>>0?1:0),P=y.low=P+G,y.high=k+de+(P>>>0<G>>>0?1:0),C=R.low=C+ce,R.high=F+Ae+(C>>>0<ce>>>0?1:0),I=A.low=I+le,A.high=N+fe+(I>>>0<le>>>0?1:0),W=x.low=W+X,x.high=V+$+(W>>>0<X>>>0?1:0),re=S.low=re+se,S.high=Z+J+(re>>>0<se>>>0?1:0),B=_.low=B+ne,_.high=Y+ee+(B>>>0<ne>>>0?1:0),K=M.low=K+he,M.high=Q+oe+(K>>>0<he>>>0?1:0)},_doFinalize:function(){var p=this._data,v=p.words,g=this._nDataBytes*8,m=p.sigBytes*8;v[m>>>5]|=128<<24-m%32,v[(m+128>>>10<<5)+30]=Math.floor(g/4294967296),v[(m+128>>>10<<5)+31]=g,p.sigBytes=v.length*4,this._process();var y=this._hash.toX32();return y},clone:function(){var p=o.clone.call(this);return p._hash=this._hash.clone(),p},blockSize:1024/32});r.SHA512=o._createHelper(h),r.HmacSHA512=o._createHmacHelper(h)}(),n.SHA512})}(pM)),pM.exports}var vM={exports:{}},k9;function g2e(){return k9||(k9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),r3(),PH())})(Xt,function(n){return function(){var r=n,i=r.x64,o=i.Word,a=i.WordArray,s=r.algo,l=s.SHA512,u=s.SHA384=l.extend({_doReset:function(){this._hash=new a.init([new o.init(3418070365,3238371032),new o.init(1654270250,914150663),new o.init(2438529370,812702999),new o.init(355462360,4144912697),new o.init(1731405415,4290775857),new o.init(2394180231,1750603025),new o.init(3675008525,1694076839),new o.init(1203062813,3204075428)])},_doFinalize:function(){var c=l._doFinalize.call(this);return c.sigBytes-=16,c}});r.SHA384=l._createHelper(u),r.HmacSHA384=l._createHmacHelper(u)}(),n.SHA384})}(vM)),vM.exports}var gM={exports:{}},P9;function m2e(){return P9||(P9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),r3())})(Xt,function(n){return function(r){var i=n,o=i.lib,a=o.WordArray,s=o.Hasher,l=i.x64,u=l.Word,c=i.algo,f=[],d=[],h=[];(function(){for(var g=1,m=0,y=0;y<24;y++){f[g+5*m]=(y+1)*(y+2)/2%64;var R=m%5,A=(2*g+3*m)%5;g=R,m=A}for(var g=0;g<5;g++)for(var m=0;m<5;m++)d[g+5*m]=m+(2*g+3*m)%5*5;for(var x=1,S=0;S<24;S++){for(var _=0,M=0,w=0;w<7;w++){if(x&1){var L=(1<<w)-1;L<32?M^=1<<L:_^=1<<L-32}x&128?x=x<<1^113:x<<=1}h[S]=u.create(_,M)}})();var p=[];(function(){for(var g=0;g<25;g++)p[g]=u.create()})();var v=c.SHA3=s.extend({cfg:s.cfg.extend({outputLength:512}),_doReset:function(){for(var g=this._state=[],m=0;m<25;m++)g[m]=new u.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(g,m){for(var y=this._state,R=this.blockSize/2,A=0;A<R;A++){var x=g[m+2*A],S=g[m+2*A+1];x=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,S=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360;var _=y[A];_.high^=S,_.low^=x}for(var M=0;M<24;M++){for(var w=0;w<5;w++){for(var L=0,k=0,P=0;P<5;P++){var _=y[w+5*P];L^=_.high,k^=_.low}var F=p[w];F.high=L,F.low=k}for(var w=0;w<5;w++)for(var C=p[(w+4)%5],N=p[(w+1)%5],I=N.high,V=N.low,L=C.high^(I<<1|V>>>31),k=C.low^(V<<1|I>>>31),P=0;P<5;P++){var _=y[w+5*P];_.high^=L,_.low^=k}for(var W=1;W<25;W++){var L,k,_=y[W],Z=_.high,re=_.low,Y=f[W];Y<32?(L=Z<<Y|re>>>32-Y,k=re<<Y|Z>>>32-Y):(L=re<<Y-32|Z>>>64-Y,k=Z<<Y-32|re>>>64-Y);var B=p[d[W]];B.high=L,B.low=k}var Q=p[0],K=y[0];Q.high=K.high,Q.low=K.low;for(var w=0;w<5;w++)for(var P=0;P<5;P++){var W=w+5*P,_=y[W],q=p[W],j=p[(w+1)%5+5*P],de=p[(w+2)%5+5*P];_.high=q.high^~j.high&de.high,_.low=q.low^~j.low&de.low}var _=y[0],G=h[M];_.high^=G.high,_.low^=G.low}},_doFinalize:function(){var g=this._data,m=g.words;this._nDataBytes*8;var y=g.sigBytes*8,R=this.blockSize*32;m[y>>>5]|=1<<24-y%32,m[(r.ceil((y+1)/R)*R>>>5)-1]|=128,g.sigBytes=m.length*4,this._process();for(var A=this._state,x=this.cfg.outputLength/8,S=x/8,_=[],M=0;M<S;M++){var w=A[M],L=w.high,k=w.low;L=(L<<8|L>>>24)&16711935|(L<<24|L>>>8)&4278255360,k=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360,_.push(k),_.push(L)}return new a.init(_,x)},clone:function(){for(var g=s.clone.call(this),m=g._state=this._state.slice(0),y=0;y<25;y++)m[y]=m[y].clone();return g}});i.SHA3=s._createHelper(v),i.HmacSHA3=s._createHmacHelper(v)}(Math),n.SHA3})}(gM)),gM.exports}var mM={exports:{}},C9;function y2e(){return C9||(C9=1,function(e,t){(function(n,r){e.exports=r(Xn())})(Xt,function(n){/** @preserve
|
||
(c) 2012 by Cédric Mesnil. All rights reserved.
|
||
|
||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||
|
||
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
||
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||
*/return function(r){var i=n,o=i.lib,a=o.WordArray,s=o.Hasher,l=i.algo,u=a.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),c=a.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),f=a.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),d=a.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),h=a.create([0,1518500249,1859775393,2400959708,2840853838]),p=a.create([1352829926,1548603684,1836072691,2053994217,0]),v=l.RIPEMD160=s.extend({_doReset:function(){this._hash=a.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(S,_){for(var M=0;M<16;M++){var w=_+M,L=S[w];S[w]=(L<<8|L>>>24)&16711935|(L<<24|L>>>8)&4278255360}var k=this._hash.words,P=h.words,F=p.words,C=u.words,N=c.words,I=f.words,V=d.words,W,Z,re,Y,B,Q,K,q,j,de;Q=W=k[0],K=Z=k[1],q=re=k[2],j=Y=k[3],de=B=k[4];for(var G,M=0;M<80;M+=1)G=W+S[_+C[M]]|0,M<16?G+=g(Z,re,Y)+P[0]:M<32?G+=m(Z,re,Y)+P[1]:M<48?G+=y(Z,re,Y)+P[2]:M<64?G+=R(Z,re,Y)+P[3]:G+=A(Z,re,Y)+P[4],G=G|0,G=x(G,I[M]),G=G+B|0,W=B,B=Y,Y=x(re,10),re=Z,Z=G,G=Q+S[_+N[M]]|0,M<16?G+=A(K,q,j)+F[0]:M<32?G+=R(K,q,j)+F[1]:M<48?G+=y(K,q,j)+F[2]:M<64?G+=m(K,q,j)+F[3]:G+=g(K,q,j)+F[4],G=G|0,G=x(G,V[M]),G=G+de|0,Q=de,de=j,j=x(q,10),q=K,K=G;G=k[1]+re+j|0,k[1]=k[2]+Y+de|0,k[2]=k[3]+B+Q|0,k[3]=k[4]+W+K|0,k[4]=k[0]+Z+q|0,k[0]=G},_doFinalize:function(){var S=this._data,_=S.words,M=this._nDataBytes*8,w=S.sigBytes*8;_[w>>>5]|=128<<24-w%32,_[(w+64>>>9<<4)+14]=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360,S.sigBytes=(_.length+1)*4,this._process();for(var L=this._hash,k=L.words,P=0;P<5;P++){var F=k[P];k[P]=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360}return L},clone:function(){var S=s.clone.call(this);return S._hash=this._hash.clone(),S}});function g(S,_,M){return S^_^M}function m(S,_,M){return S&_|~S&M}function y(S,_,M){return(S|~_)^M}function R(S,_,M){return S&M|_&~M}function A(S,_,M){return S^(_|~M)}function x(S,_){return S<<_|S>>>32-_}i.RIPEMD160=s._createHelper(v),i.HmacRIPEMD160=s._createHmacHelper(v)}(),n.RIPEMD160})}(mM)),mM.exports}var yM={exports:{}},I9;function BO(){return I9||(I9=1,function(e,t){(function(n,r){e.exports=r(Xn())})(Xt,function(n){(function(){var r=n,i=r.lib,o=i.Base,a=r.enc,s=a.Utf8,l=r.algo;l.HMAC=o.extend({init:function(u,c){u=this._hasher=new u.init,typeof c=="string"&&(c=s.parse(c));var f=u.blockSize,d=f*4;c.sigBytes>d&&(c=u.finalize(c)),c.clamp();for(var h=this._oKey=c.clone(),p=this._iKey=c.clone(),v=h.words,g=p.words,m=0;m<f;m++)v[m]^=1549556828,g[m]^=909522486;h.sigBytes=p.sigBytes=d,this.reset()},reset:function(){var u=this._hasher;u.reset(),u.update(this._iKey)},update:function(u){return this._hasher.update(u),this},finalize:function(u){var c=this._hasher,f=c.finalize(u);c.reset();var d=c.finalize(this._oKey.clone().concat(f));return d}})})()})}(yM)),yM.exports}var AM={exports:{}},N9;function A2e(){return N9||(N9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),UO(),BO())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.Base,a=i.WordArray,s=r.algo,l=s.SHA256,u=s.HMAC,c=s.PBKDF2=o.extend({cfg:o.extend({keySize:128/32,hasher:l,iterations:25e4}),init:function(f){this.cfg=this.cfg.extend(f)},compute:function(f,d){for(var h=this.cfg,p=u.create(h.hasher,f),v=a.create(),g=a.create([1]),m=v.words,y=g.words,R=h.keySize,A=h.iterations;m.length<R;){var x=p.update(d).finalize(g);p.reset();for(var S=x.words,_=S.length,M=x,w=1;w<A;w++){M=p.finalize(M),p.reset();for(var L=M.words,k=0;k<_;k++)S[k]^=L[k]}v.concat(x),y[0]++}return v.sigBytes=R*4,v}});r.PBKDF2=function(f,d,h){return c.create(h).compute(f,d)}}(),n.PBKDF2})}(AM)),AM.exports}var RM={exports:{}},F9;function ad(){return F9||(F9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),kH(),BO())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.Base,a=i.WordArray,s=r.algo,l=s.MD5,u=s.EvpKDF=o.extend({cfg:o.extend({keySize:128/32,hasher:l,iterations:1}),init:function(c){this.cfg=this.cfg.extend(c)},compute:function(c,f){for(var d,h=this.cfg,p=h.hasher.create(),v=a.create(),g=v.words,m=h.keySize,y=h.iterations;g.length<m;){d&&p.update(d),d=p.update(c).finalize(f),p.reset();for(var R=1;R<y;R++)d=p.finalize(d),p.reset();v.concat(d)}return v.sigBytes=m*4,v}});r.EvpKDF=function(c,f,d){return u.create(d).compute(c,f)}}(),n.EvpKDF})}(RM)),RM.exports}var bM={exports:{}},E9;function Ci(){return E9||(E9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),ad())})(Xt,function(n){n.lib.Cipher||function(r){var i=n,o=i.lib,a=o.Base,s=o.WordArray,l=o.BufferedBlockAlgorithm,u=i.enc;u.Utf8;var c=u.Base64,f=i.algo,d=f.EvpKDF,h=o.Cipher=l.extend({cfg:a.extend(),createEncryptor:function(L,k){return this.create(this._ENC_XFORM_MODE,L,k)},createDecryptor:function(L,k){return this.create(this._DEC_XFORM_MODE,L,k)},init:function(L,k,P){this.cfg=this.cfg.extend(P),this._xformMode=L,this._key=k,this.reset()},reset:function(){l.reset.call(this),this._doReset()},process:function(L){return this._append(L),this._process()},finalize:function(L){L&&this._append(L);var k=this._doFinalize();return k},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function L(k){return typeof k=="string"?w:S}return function(k){return{encrypt:function(P,F,C){return L(F).encrypt(k,P,F,C)},decrypt:function(P,F,C){return L(F).decrypt(k,P,F,C)}}}}()});o.StreamCipher=h.extend({_doFinalize:function(){var L=this._process(!0);return L},blockSize:1});var p=i.mode={},v=o.BlockCipherMode=a.extend({createEncryptor:function(L,k){return this.Encryptor.create(L,k)},createDecryptor:function(L,k){return this.Decryptor.create(L,k)},init:function(L,k){this._cipher=L,this._iv=k}}),g=p.CBC=function(){var L=v.extend();L.Encryptor=L.extend({processBlock:function(P,F){var C=this._cipher,N=C.blockSize;k.call(this,P,F,N),C.encryptBlock(P,F),this._prevBlock=P.slice(F,F+N)}}),L.Decryptor=L.extend({processBlock:function(P,F){var C=this._cipher,N=C.blockSize,I=P.slice(F,F+N);C.decryptBlock(P,F),k.call(this,P,F,N),this._prevBlock=I}});function k(P,F,C){var N,I=this._iv;I?(N=I,this._iv=r):N=this._prevBlock;for(var V=0;V<C;V++)P[F+V]^=N[V]}return L}(),m=i.pad={},y=m.Pkcs7={pad:function(L,k){for(var P=k*4,F=P-L.sigBytes%P,C=F<<24|F<<16|F<<8|F,N=[],I=0;I<F;I+=4)N.push(C);var V=s.create(N,F);L.concat(V)},unpad:function(L){var k=L.words[L.sigBytes-1>>>2]&255;L.sigBytes-=k}};o.BlockCipher=h.extend({cfg:h.cfg.extend({mode:g,padding:y}),reset:function(){var L;h.reset.call(this);var k=this.cfg,P=k.iv,F=k.mode;this._xformMode==this._ENC_XFORM_MODE?L=F.createEncryptor:(L=F.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==L?this._mode.init(this,P&&P.words):(this._mode=L.call(F,this,P&&P.words),this._mode.__creator=L)},_doProcessBlock:function(L,k){this._mode.processBlock(L,k)},_doFinalize:function(){var L,k=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(k.pad(this._data,this.blockSize),L=this._process(!0)):(L=this._process(!0),k.unpad(L)),L},blockSize:128/32});var R=o.CipherParams=a.extend({init:function(L){this.mixIn(L)},toString:function(L){return(L||this.formatter).stringify(this)}}),A=i.format={},x=A.OpenSSL={stringify:function(L){var k,P=L.ciphertext,F=L.salt;return F?k=s.create([1398893684,1701076831]).concat(F).concat(P):k=P,k.toString(c)},parse:function(L){var k,P=c.parse(L),F=P.words;return F[0]==1398893684&&F[1]==1701076831&&(k=s.create(F.slice(2,4)),F.splice(0,4),P.sigBytes-=16),R.create({ciphertext:P,salt:k})}},S=o.SerializableCipher=a.extend({cfg:a.extend({format:x}),encrypt:function(L,k,P,F){F=this.cfg.extend(F);var C=L.createEncryptor(P,F),N=C.finalize(k),I=C.cfg;return R.create({ciphertext:N,key:P,iv:I.iv,algorithm:L,mode:I.mode,padding:I.padding,blockSize:L.blockSize,formatter:F.format})},decrypt:function(L,k,P,F){F=this.cfg.extend(F),k=this._parse(k,F.format);var C=L.createDecryptor(P,F).finalize(k.ciphertext);return C},_parse:function(L,k){return typeof L=="string"?k.parse(L,this):L}}),_=i.kdf={},M=_.OpenSSL={execute:function(L,k,P,F,C){if(F||(F=s.random(64/8)),C)var N=d.create({keySize:k+P,hasher:C}).compute(L,F);else var N=d.create({keySize:k+P}).compute(L,F);var I=s.create(N.words.slice(k),P*4);return N.sigBytes=k*4,R.create({key:N,iv:I,salt:F})}},w=o.PasswordBasedCipher=S.extend({cfg:S.cfg.extend({kdf:M}),encrypt:function(L,k,P,F){F=this.cfg.extend(F);var C=F.kdf.execute(P,L.keySize,L.ivSize,F.salt,F.hasher);F.iv=C.iv;var N=S.encrypt.call(this,L,k,C.key,F);return N.mixIn(C),N},decrypt:function(L,k,P,F){F=this.cfg.extend(F),k=this._parse(k,F.format);var C=F.kdf.execute(P,L.keySize,L.ivSize,k.salt,F.hasher);F.iv=C.iv;var N=S.decrypt.call(this,L,k,C.key,F);return N}})}()})}(bM)),bM.exports}var xM={exports:{}},X9;function R2e(){return X9||(X9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),Ci())})(Xt,function(n){return n.mode.CFB=function(){var r=n.lib.BlockCipherMode.extend();r.Encryptor=r.extend({processBlock:function(o,a){var s=this._cipher,l=s.blockSize;i.call(this,o,a,l,s),this._prevBlock=o.slice(a,a+l)}}),r.Decryptor=r.extend({processBlock:function(o,a){var s=this._cipher,l=s.blockSize,u=o.slice(a,a+l);i.call(this,o,a,l,s),this._prevBlock=u}});function i(o,a,s,l){var u,c=this._iv;c?(u=c.slice(0),this._iv=void 0):u=this._prevBlock,l.encryptBlock(u,0);for(var f=0;f<s;f++)o[a+f]^=u[f]}return r}(),n.mode.CFB})}(xM)),xM.exports}var SM={exports:{}},W9;function b2e(){return W9||(W9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),Ci())})(Xt,function(n){return n.mode.CTR=function(){var r=n.lib.BlockCipherMode.extend(),i=r.Encryptor=r.extend({processBlock:function(o,a){var s=this._cipher,l=s.blockSize,u=this._iv,c=this._counter;u&&(c=this._counter=u.slice(0),this._iv=void 0);var f=c.slice(0);s.encryptBlock(f,0),c[l-1]=c[l-1]+1|0;for(var d=0;d<l;d++)o[a+d]^=f[d]}});return r.Decryptor=i,r}(),n.mode.CTR})}(SM)),SM.exports}var wM={exports:{}},V9;function x2e(){return V9||(V9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),Ci())})(Xt,function(n){/** @preserve
|
||
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
||
* derived from CryptoJS.mode.CTR
|
||
* Jan Hruby jhruby.web@gmail.com
|
||
*/return n.mode.CTRGladman=function(){var r=n.lib.BlockCipherMode.extend();function i(s){if((s>>24&255)===255){var l=s>>16&255,u=s>>8&255,c=s&255;l===255?(l=0,u===255?(u=0,c===255?c=0:++c):++u):++l,s=0,s+=l<<16,s+=u<<8,s+=c}else s+=1<<24;return s}function o(s){return(s[0]=i(s[0]))===0&&(s[1]=i(s[1])),s}var a=r.Encryptor=r.extend({processBlock:function(s,l){var u=this._cipher,c=u.blockSize,f=this._iv,d=this._counter;f&&(d=this._counter=f.slice(0),this._iv=void 0),o(d);var h=d.slice(0);u.encryptBlock(h,0);for(var p=0;p<c;p++)s[l+p]^=h[p]}});return r.Decryptor=a,r}(),n.mode.CTRGladman})}(wM)),wM.exports}var MM={exports:{}},D9;function S2e(){return D9||(D9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),Ci())})(Xt,function(n){return n.mode.OFB=function(){var r=n.lib.BlockCipherMode.extend(),i=r.Encryptor=r.extend({processBlock:function(o,a){var s=this._cipher,l=s.blockSize,u=this._iv,c=this._keystream;u&&(c=this._keystream=u.slice(0),this._iv=void 0),s.encryptBlock(c,0);for(var f=0;f<l;f++)o[a+f]^=c[f]}});return r.Decryptor=i,r}(),n.mode.OFB})}(MM)),MM.exports}var LM={exports:{}},U9;function w2e(){return U9||(U9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),Ci())})(Xt,function(n){return n.mode.ECB=function(){var r=n.lib.BlockCipherMode.extend();return r.Encryptor=r.extend({processBlock:function(i,o){this._cipher.encryptBlock(i,o)}}),r.Decryptor=r.extend({processBlock:function(i,o){this._cipher.decryptBlock(i,o)}}),r}(),n.mode.ECB})}(LM)),LM.exports}var TM={exports:{}},B9;function M2e(){return B9||(B9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),Ci())})(Xt,function(n){return n.pad.AnsiX923={pad:function(r,i){var o=r.sigBytes,a=i*4,s=a-o%a,l=o+s-1;r.clamp(),r.words[l>>>2]|=s<<24-l%4*8,r.sigBytes+=s},unpad:function(r){var i=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=i}},n.pad.Ansix923})}(TM)),TM.exports}var _M={exports:{}},Y9;function L2e(){return Y9||(Y9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),Ci())})(Xt,function(n){return n.pad.Iso10126={pad:function(r,i){var o=i*4,a=o-r.sigBytes%o;r.concat(n.lib.WordArray.random(a-1)).concat(n.lib.WordArray.create([a<<24],1))},unpad:function(r){var i=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=i}},n.pad.Iso10126})}(_M)),_M.exports}var OM={exports:{}},Z9;function T2e(){return Z9||(Z9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),Ci())})(Xt,function(n){return n.pad.Iso97971={pad:function(r,i){r.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(r,i)},unpad:function(r){n.pad.ZeroPadding.unpad(r),r.sigBytes--}},n.pad.Iso97971})}(OM)),OM.exports}var kM={exports:{}},Q9;function _2e(){return Q9||(Q9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),Ci())})(Xt,function(n){return n.pad.ZeroPadding={pad:function(r,i){var o=i*4;r.clamp(),r.sigBytes+=o-(r.sigBytes%o||o)},unpad:function(r){for(var i=r.words,o=r.sigBytes-1,o=r.sigBytes-1;o>=0;o--)if(i[o>>>2]>>>24-o%4*8&255){r.sigBytes=o+1;break}}},n.pad.ZeroPadding})}(kM)),kM.exports}var PM={exports:{}},H9;function O2e(){return H9||(H9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),Ci())})(Xt,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})}(PM)),PM.exports}var CM={exports:{}},K9;function k2e(){return K9||(K9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),Ci())})(Xt,function(n){return function(r){var i=n,o=i.lib,a=o.CipherParams,s=i.enc,l=s.Hex,u=i.format;u.Hex={stringify:function(c){return c.ciphertext.toString(l)},parse:function(c){var f=l.parse(c);return a.create({ciphertext:f})}}}(),n.format.Hex})}(CM)),CM.exports}var IM={exports:{}},G9;function P2e(){return G9||(G9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),s0(),l0(),ad(),Ci())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.BlockCipher,a=r.algo,s=[],l=[],u=[],c=[],f=[],d=[],h=[],p=[],v=[],g=[];(function(){for(var R=[],A=0;A<256;A++)A<128?R[A]=A<<1:R[A]=A<<1^283;for(var x=0,S=0,A=0;A<256;A++){var _=S^S<<1^S<<2^S<<3^S<<4;_=_>>>8^_&255^99,s[x]=_,l[_]=x;var M=R[x],w=R[M],L=R[w],k=R[_]*257^_*16843008;u[x]=k<<24|k>>>8,c[x]=k<<16|k>>>16,f[x]=k<<8|k>>>24,d[x]=k;var k=L*16843009^w*65537^M*257^x*16843008;h[_]=k<<24|k>>>8,p[_]=k<<16|k>>>16,v[_]=k<<8|k>>>24,g[_]=k,x?(x=M^R[R[R[L^M]]],S^=R[R[S]]):x=S=1}})();var m=[0,1,2,4,8,16,32,64,128,27,54],y=a.AES=o.extend({_doReset:function(){var R;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var A=this._keyPriorReset=this._key,x=A.words,S=A.sigBytes/4,_=this._nRounds=S+6,M=(_+1)*4,w=this._keySchedule=[],L=0;L<M;L++)L<S?w[L]=x[L]:(R=w[L-1],L%S?S>6&&L%S==4&&(R=s[R>>>24]<<24|s[R>>>16&255]<<16|s[R>>>8&255]<<8|s[R&255]):(R=R<<8|R>>>24,R=s[R>>>24]<<24|s[R>>>16&255]<<16|s[R>>>8&255]<<8|s[R&255],R^=m[L/S|0]<<24),w[L]=w[L-S]^R);for(var k=this._invKeySchedule=[],P=0;P<M;P++){var L=M-P;if(P%4)var R=w[L];else var R=w[L-4];P<4||L<=4?k[P]=R:k[P]=h[s[R>>>24]]^p[s[R>>>16&255]]^v[s[R>>>8&255]]^g[s[R&255]]}}},encryptBlock:function(R,A){this._doCryptBlock(R,A,this._keySchedule,u,c,f,d,s)},decryptBlock:function(R,A){var x=R[A+1];R[A+1]=R[A+3],R[A+3]=x,this._doCryptBlock(R,A,this._invKeySchedule,h,p,v,g,l);var x=R[A+1];R[A+1]=R[A+3],R[A+3]=x},_doCryptBlock:function(R,A,x,S,_,M,w,L){for(var k=this._nRounds,P=R[A]^x[0],F=R[A+1]^x[1],C=R[A+2]^x[2],N=R[A+3]^x[3],I=4,V=1;V<k;V++){var W=S[P>>>24]^_[F>>>16&255]^M[C>>>8&255]^w[N&255]^x[I++],Z=S[F>>>24]^_[C>>>16&255]^M[N>>>8&255]^w[P&255]^x[I++],re=S[C>>>24]^_[N>>>16&255]^M[P>>>8&255]^w[F&255]^x[I++],Y=S[N>>>24]^_[P>>>16&255]^M[F>>>8&255]^w[C&255]^x[I++];P=W,F=Z,C=re,N=Y}var W=(L[P>>>24]<<24|L[F>>>16&255]<<16|L[C>>>8&255]<<8|L[N&255])^x[I++],Z=(L[F>>>24]<<24|L[C>>>16&255]<<16|L[N>>>8&255]<<8|L[P&255])^x[I++],re=(L[C>>>24]<<24|L[N>>>16&255]<<16|L[P>>>8&255]<<8|L[F&255])^x[I++],Y=(L[N>>>24]<<24|L[P>>>16&255]<<16|L[F>>>8&255]<<8|L[C&255])^x[I++];R[A]=W,R[A+1]=Z,R[A+2]=re,R[A+3]=Y},keySize:256/32});r.AES=o._createHelper(y)}(),n.AES})}(IM)),IM.exports}var NM={exports:{}},z9;function C2e(){return z9||(z9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),s0(),l0(),ad(),Ci())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.WordArray,a=i.BlockCipher,s=r.algo,l=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],u=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],f=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],d=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],h=s.DES=a.extend({_doReset:function(){for(var m=this._key,y=m.words,R=[],A=0;A<56;A++){var x=l[A]-1;R[A]=y[x>>>5]>>>31-x%32&1}for(var S=this._subKeys=[],_=0;_<16;_++){for(var M=S[_]=[],w=c[_],A=0;A<24;A++)M[A/6|0]|=R[(u[A]-1+w)%28]<<31-A%6,M[4+(A/6|0)]|=R[28+(u[A+24]-1+w)%28]<<31-A%6;M[0]=M[0]<<1|M[0]>>>31;for(var A=1;A<7;A++)M[A]=M[A]>>>(A-1)*4+3;M[7]=M[7]<<5|M[7]>>>27}for(var L=this._invSubKeys=[],A=0;A<16;A++)L[A]=S[15-A]},encryptBlock:function(m,y){this._doCryptBlock(m,y,this._subKeys)},decryptBlock:function(m,y){this._doCryptBlock(m,y,this._invSubKeys)},_doCryptBlock:function(m,y,R){this._lBlock=m[y],this._rBlock=m[y+1],p.call(this,4,252645135),p.call(this,16,65535),v.call(this,2,858993459),v.call(this,8,16711935),p.call(this,1,1431655765);for(var A=0;A<16;A++){for(var x=R[A],S=this._lBlock,_=this._rBlock,M=0,w=0;w<8;w++)M|=f[w][((_^x[w])&d[w])>>>0];this._lBlock=_,this._rBlock=S^M}var L=this._lBlock;this._lBlock=this._rBlock,this._rBlock=L,p.call(this,1,1431655765),v.call(this,8,16711935),v.call(this,2,858993459),p.call(this,16,65535),p.call(this,4,252645135),m[y]=this._lBlock,m[y+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function p(m,y){var R=(this._lBlock>>>m^this._rBlock)&y;this._rBlock^=R,this._lBlock^=R<<m}function v(m,y){var R=(this._rBlock>>>m^this._lBlock)&y;this._lBlock^=R,this._rBlock^=R<<m}r.DES=a._createHelper(h);var g=s.TripleDES=a.extend({_doReset:function(){var m=this._key,y=m.words;if(y.length!==2&&y.length!==4&&y.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var R=y.slice(0,2),A=y.length<4?y.slice(0,2):y.slice(2,4),x=y.length<6?y.slice(0,2):y.slice(4,6);this._des1=h.createEncryptor(o.create(R)),this._des2=h.createEncryptor(o.create(A)),this._des3=h.createEncryptor(o.create(x))},encryptBlock:function(m,y){this._des1.encryptBlock(m,y),this._des2.decryptBlock(m,y),this._des3.encryptBlock(m,y)},decryptBlock:function(m,y){this._des3.decryptBlock(m,y),this._des2.encryptBlock(m,y),this._des1.decryptBlock(m,y)},keySize:192/32,ivSize:64/32,blockSize:64/32});r.TripleDES=a._createHelper(g)}(),n.TripleDES})}(NM)),NM.exports}var FM={exports:{}},J9;function I2e(){return J9||(J9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),s0(),l0(),ad(),Ci())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.StreamCipher,a=r.algo,s=a.RC4=o.extend({_doReset:function(){for(var c=this._key,f=c.words,d=c.sigBytes,h=this._S=[],p=0;p<256;p++)h[p]=p;for(var p=0,v=0;p<256;p++){var g=p%d,m=f[g>>>2]>>>24-g%4*8&255;v=(v+h[p]+m)%256;var y=h[p];h[p]=h[v],h[v]=y}this._i=this._j=0},_doProcessBlock:function(c,f){c[f]^=l.call(this)},keySize:256/32,ivSize:0});function l(){for(var c=this._S,f=this._i,d=this._j,h=0,p=0;p<4;p++){f=(f+1)%256,d=(d+c[f])%256;var v=c[f];c[f]=c[d],c[d]=v,h|=c[(c[f]+c[d])%256]<<24-p*8}return this._i=f,this._j=d,h}r.RC4=o._createHelper(s);var u=a.RC4Drop=s.extend({cfg:s.cfg.extend({drop:192}),_doReset:function(){s._doReset.call(this);for(var c=this.cfg.drop;c>0;c--)l.call(this)}});r.RC4Drop=o._createHelper(u)}(),n.RC4})}(FM)),FM.exports}var EM={exports:{}},$9;function N2e(){return $9||($9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),s0(),l0(),ad(),Ci())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.StreamCipher,a=r.algo,s=[],l=[],u=[],c=a.Rabbit=o.extend({_doReset:function(){for(var d=this._key.words,h=this.cfg.iv,p=0;p<4;p++)d[p]=(d[p]<<8|d[p]>>>24)&16711935|(d[p]<<24|d[p]>>>8)&4278255360;var v=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],g=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var p=0;p<4;p++)f.call(this);for(var p=0;p<8;p++)g[p]^=v[p+4&7];if(h){var m=h.words,y=m[0],R=m[1],A=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,x=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,S=A>>>16|x&4294901760,_=x<<16|A&65535;g[0]^=A,g[1]^=S,g[2]^=x,g[3]^=_,g[4]^=A,g[5]^=S,g[6]^=x,g[7]^=_;for(var p=0;p<4;p++)f.call(this)}},_doProcessBlock:function(d,h){var p=this._X;f.call(this),s[0]=p[0]^p[5]>>>16^p[3]<<16,s[1]=p[2]^p[7]>>>16^p[5]<<16,s[2]=p[4]^p[1]>>>16^p[7]<<16,s[3]=p[6]^p[3]>>>16^p[1]<<16;for(var v=0;v<4;v++)s[v]=(s[v]<<8|s[v]>>>24)&16711935|(s[v]<<24|s[v]>>>8)&4278255360,d[h+v]^=s[v]},blockSize:128/32,ivSize:64/32});function f(){for(var d=this._X,h=this._C,p=0;p<8;p++)l[p]=h[p];h[0]=h[0]+1295307597+this._b|0,h[1]=h[1]+3545052371+(h[0]>>>0<l[0]>>>0?1:0)|0,h[2]=h[2]+886263092+(h[1]>>>0<l[1]>>>0?1:0)|0,h[3]=h[3]+1295307597+(h[2]>>>0<l[2]>>>0?1:0)|0,h[4]=h[4]+3545052371+(h[3]>>>0<l[3]>>>0?1:0)|0,h[5]=h[5]+886263092+(h[4]>>>0<l[4]>>>0?1:0)|0,h[6]=h[6]+1295307597+(h[5]>>>0<l[5]>>>0?1:0)|0,h[7]=h[7]+3545052371+(h[6]>>>0<l[6]>>>0?1:0)|0,this._b=h[7]>>>0<l[7]>>>0?1:0;for(var p=0;p<8;p++){var v=d[p]+h[p],g=v&65535,m=v>>>16,y=((g*g>>>17)+g*m>>>15)+m*m,R=((v&4294901760)*v|0)+((v&65535)*v|0);u[p]=y^R}d[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,d[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,d[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,d[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,d[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,d[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,d[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,d[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}r.Rabbit=o._createHelper(c)}(),n.Rabbit})}(EM)),EM.exports}var XM={exports:{}},j9;function F2e(){return j9||(j9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),s0(),l0(),ad(),Ci())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.StreamCipher,a=r.algo,s=[],l=[],u=[],c=a.RabbitLegacy=o.extend({_doReset:function(){var d=this._key.words,h=this.cfg.iv,p=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],v=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var g=0;g<4;g++)f.call(this);for(var g=0;g<8;g++)v[g]^=p[g+4&7];if(h){var m=h.words,y=m[0],R=m[1],A=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,x=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,S=A>>>16|x&4294901760,_=x<<16|A&65535;v[0]^=A,v[1]^=S,v[2]^=x,v[3]^=_,v[4]^=A,v[5]^=S,v[6]^=x,v[7]^=_;for(var g=0;g<4;g++)f.call(this)}},_doProcessBlock:function(d,h){var p=this._X;f.call(this),s[0]=p[0]^p[5]>>>16^p[3]<<16,s[1]=p[2]^p[7]>>>16^p[5]<<16,s[2]=p[4]^p[1]>>>16^p[7]<<16,s[3]=p[6]^p[3]>>>16^p[1]<<16;for(var v=0;v<4;v++)s[v]=(s[v]<<8|s[v]>>>24)&16711935|(s[v]<<24|s[v]>>>8)&4278255360,d[h+v]^=s[v]},blockSize:128/32,ivSize:64/32});function f(){for(var d=this._X,h=this._C,p=0;p<8;p++)l[p]=h[p];h[0]=h[0]+1295307597+this._b|0,h[1]=h[1]+3545052371+(h[0]>>>0<l[0]>>>0?1:0)|0,h[2]=h[2]+886263092+(h[1]>>>0<l[1]>>>0?1:0)|0,h[3]=h[3]+1295307597+(h[2]>>>0<l[2]>>>0?1:0)|0,h[4]=h[4]+3545052371+(h[3]>>>0<l[3]>>>0?1:0)|0,h[5]=h[5]+886263092+(h[4]>>>0<l[4]>>>0?1:0)|0,h[6]=h[6]+1295307597+(h[5]>>>0<l[5]>>>0?1:0)|0,h[7]=h[7]+3545052371+(h[6]>>>0<l[6]>>>0?1:0)|0,this._b=h[7]>>>0<l[7]>>>0?1:0;for(var p=0;p<8;p++){var v=d[p]+h[p],g=v&65535,m=v>>>16,y=((g*g>>>17)+g*m>>>15)+m*m,R=((v&4294901760)*v|0)+((v&65535)*v|0);u[p]=y^R}d[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,d[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,d[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,d[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,d[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,d[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,d[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,d[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}r.RabbitLegacy=o._createHelper(c)}(),n.RabbitLegacy})}(XM)),XM.exports}var WM={exports:{}},q9;function E2e(){return q9||(q9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),s0(),l0(),ad(),Ci())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.BlockCipher,a=r.algo;const s=16,l=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],u=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var c={pbox:[],sbox:[]};function f(g,m){let y=m>>24&255,R=m>>16&255,A=m>>8&255,x=m&255,S=g.sbox[0][y]+g.sbox[1][R];return S=S^g.sbox[2][A],S=S+g.sbox[3][x],S}function d(g,m,y){let R=m,A=y,x;for(let S=0;S<s;++S)R=R^g.pbox[S],A=f(g,R)^A,x=R,R=A,A=x;return x=R,R=A,A=x,A=A^g.pbox[s],R=R^g.pbox[s+1],{left:R,right:A}}function h(g,m,y){let R=m,A=y,x;for(let S=s+1;S>1;--S)R=R^g.pbox[S],A=f(g,R)^A,x=R,R=A,A=x;return x=R,R=A,A=x,A=A^g.pbox[1],R=R^g.pbox[0],{left:R,right:A}}function p(g,m,y){for(let _=0;_<4;_++){g.sbox[_]=[];for(let M=0;M<256;M++)g.sbox[_][M]=u[_][M]}let R=0;for(let _=0;_<s+2;_++)g.pbox[_]=l[_]^m[R],R++,R>=y&&(R=0);let A=0,x=0,S=0;for(let _=0;_<s+2;_+=2)S=d(g,A,x),A=S.left,x=S.right,g.pbox[_]=A,g.pbox[_+1]=x;for(let _=0;_<4;_++)for(let M=0;M<256;M+=2)S=d(g,A,x),A=S.left,x=S.right,g.sbox[_][M]=A,g.sbox[_][M+1]=x;return!0}var v=a.Blowfish=o.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var g=this._keyPriorReset=this._key,m=g.words,y=g.sigBytes/4;p(c,m,y)}},encryptBlock:function(g,m){var y=d(c,g[m],g[m+1]);g[m]=y.left,g[m+1]=y.right},decryptBlock:function(g,m){var y=h(c,g[m],g[m+1]);g[m]=y.left,g[m+1]=y.right},blockSize:64/32,keySize:128/32,ivSize:64/32});r.Blowfish=o._createHelper(v)}(),n.Blowfish})}(WM)),WM.exports}(function(e,t){(function(n,r,i){e.exports=r(Xn(),r3(),d2e(),h2e(),s0(),p2e(),l0(),kH(),UO(),v2e(),PH(),g2e(),m2e(),y2e(),BO(),A2e(),ad(),Ci(),R2e(),b2e(),x2e(),S2e(),w2e(),M2e(),L2e(),T2e(),_2e(),O2e(),k2e(),P2e(),C2e(),I2e(),N2e(),F2e(),E2e())})(Xt,function(n){return n})})(OH);var X2e=OH.exports;const LT=HS(X2e),CH="pptist",YO=e=>LT.AES.encrypt(e,CH).toString(),IH=e=>LT.AES.decrypt(e,CH).toString(LT.enc.Utf8),NH=e=>new Promise((t,n)=>{const r=document.createElement("button"),i=new l2e(r,{text:()=>e,action:()=>"copy",container:document.body});i.on("success",o=>{i.destroy(),t(o)}),i.on("error",o=>{i.destroy(),n(o)}),document.body.appendChild(r),r.click(),document.body.removeChild(r)}),FH=()=>new Promise((e,t)=>{var n;(n=navigator.clipboard)!=null&&n.readText?navigator.clipboard.readText().then(r=>(r||t("剪贴板为空或者不包含文本"),e(r))):t("浏览器不支持或禁止访问剪贴板,请使用快捷键 Ctrl + V")}),ZO=e=>{let t;try{t=JSON.parse(IH(e))}catch{t=e}return t},EH=e=>{const t=e.split(`\r
|
||
`);t[t.length-1]===""&&t.pop();let n=-1;const r=[];for(const i in t){if(r[i]=t[i].split(" "),r[i].length===1)return null;if(n===-1)n=r[i].length;else if(n!==r[i].length)return null}return r},qp=e=>{const{left:t,top:n,width:r,height:i,rotate:o=0}=e,a=Math.sqrt(Math.pow(r,2)+Math.pow(i,2))/2,s=Math.atan(i/r)*180/Math.PI,l=(180-o-s)*Math.PI/180,u=(s-o)*Math.PI/180,c=t+r/2,f=n+i/2,d=[c+a*Math.cos(l),c+a*Math.cos(u),c-a*Math.cos(l),c-a*Math.cos(u)],h=[f-a*Math.sin(l),f-a*Math.sin(u),f+a*Math.sin(l),f+a*Math.sin(u)];return{xRange:[Math.min(...d),Math.max(...d)],yRange:[Math.min(...h),Math.max(...h)]}},Tp=e=>{const{xRange:t,yRange:n}=qp({left:e.left,top:e.top,width:e.width,height:e.height,rotate:0}),{xRange:r,yRange:i}=qp({left:e.left,top:e.top,width:e.width,height:e.height,rotate:e.rotate});return{offsetX:r[0]-t[0],offsetY:i[0]-n[0]}},hs=e=>{let t,n,r,i;if(e.type==="line")t=e.left,n=e.left+Math.max(e.start[0],e.end[0]),r=e.top,i=e.top+Math.max(e.start[1],e.end[1]);else if("rotate"in e&&e.rotate){const{left:o,top:a,width:s,height:l,rotate:u}=e,{xRange:c,yRange:f}=qp({left:o,top:a,width:s,height:l,rotate:u});t=c[0],n=c[1],r=f[0],i=f[1]}else t=e.left,n=e.left+e.width,r=e.top,i=e.top+e.height;return{minX:t,maxX:n,minY:r,maxY:i}},ju=e=>{const t=[],n=[],r=[],i=[];e.forEach(u=>{const{minX:c,maxX:f,minY:d,maxY:h}=hs(u);t.push(c),n.push(d),r.push(f),i.push(h)});const o=Math.min(...t),a=Math.max(...r),s=Math.min(...n),l=Math.max(...i);return{minX:o,maxX:a,minY:s,maxY:l}},xx=e=>{const t=[];return e.forEach(n=>{const r=t.findIndex(i=>i.value===n.value);if(r===-1)t.push(n);else{const i=t[r],o=Math.min(i.range[0],n.range[0]),a=Math.max(i.range[1],n.range[1]),s=[o,a],l={value:n.value,range:s};t[r]=l}}),t},W2e=e=>{const t={};for(const n of e)t[n.id]=on(10);return t},TT=e=>{const t={},n={};for(const r of e){const i=r.groupId;i&&!t[i]&&(t[i]=on(10)),n[r.id]=on(10)}return{groupIdMap:t,elIdMap:n}},XH=e=>{const t=at(e);return[t.setAlpha(.3).toRgbString(),t.setAlpha(.1).toRgbString()]},QO=e=>{const t=e.start.join(","),n=e.end.join(",");if(e.broken){const r=e.broken.join(",");return`M${t} L${r} L${n}`}else if(e.broken2){const{minX:r,maxX:i,minY:o,maxY:a}=hs(e);return i-r>=a-o?`M${t} L${e.broken2[0]},${e.start[1]} L${e.broken2[0]},${e.end[1]} ${n}`:`M${t} L${e.start[0]},${e.broken2[1]} L${e.end[0]},${e.broken2[1]} ${n}`}else if(e.curve){const r=e.curve.join(",");return`M${t} Q${r} ${n}`}else if(e.cubic){const[r,i]=e.cubic,o=r.join(","),a=i.join(",");return`M${t} C${o} ${a} ${n}`}return`M${t} L${n}`},V2e=(e,t)=>{const n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return n.top>=r.top&&n.bottom<=r.bottom},Sx=e=>{const n=e.replace(/[\n\r]+/g,"<br>").split("<br>");let r="";for(const i of n)i&&(r+=`<div>${i}</div>`);return r},WH=e=>new Promise(t=>{const n=document.createElement("img");n.src=e,n.style.opacity="0",document.body.appendChild(n),n.onload=()=>{const r=n.clientWidth,i=n.clientHeight;n.onload=null,n.onerror=null,document.body.removeChild(n),t({width:r,height:i})},n.onerror=()=>{n.onload=null,n.onerror=null}}),sd=e=>new Promise(t=>{const n=new FileReader;n.addEventListener("load",()=>{t(n.result)}),n.readAsDataURL(e)}),D2e=e=>{if(!/<svg[\s\S]*?>[\s\S]*?<\/svg>/i.test(e))return!1;try{return new DOMParser().parseFromString(e,"image/svg+xml").documentElement.nodeName==="svg"}catch{return!1}},U2e=e=>{const t=new Blob([e],{type:"image/svg+xml"});return new File([t],`${Date.now()}.svg`,{type:"image/svg+xml"})};var bn=(e=>(e.ROUND_RECT="roundRect",e.ROUND_RECT_DIAGONAL="roundRectDiagonal",e.ROUND_RECT_SINGLE="roundRectSingle",e.ROUND_RECT_SAMESIDE="roundRectSameSide",e.CUT_RECT_DIAGONAL="cutRectDiagonal",e.CUT_RECT_SINGLE="cutRectSingle",e.CUT_RECT_SAMESIDE="cutRectSameSide",e.CUT_ROUND_RECT="cutRoundRect",e.MESSAGE="message",e.ROUND_MESSAGE="roundMessage",e.L="L",e.RING_RECT="ringRect",e.PLUS="plus",e.TRIANGLE="triangle",e.PARALLELOGRAM_LEFT="parallelogramLeft",e.PARALLELOGRAM_RIGHT="parallelogramRight",e.TRAPEZOID="trapezoid",e.BULLET="bullet",e.INDICATOR="indicator",e))(bn||{}),Et=(e=>(e.TEXT="text",e.IMAGE="image",e.SHAPE="shape",e.LINE="line",e.CHART="chart",e.TABLE="table",e.LATEX="latex",e.VIDEO="video",e.AUDIO="audio",e))(Et||{});const u0={[bn.ROUND_RECT]:{editable:!0,defaultValue:[.125],range:[[0,.5]],relative:["left"],getBaseSize:[(e,t)=>Math.min(e,t)],formula:(e,t,n)=>{const r=Math.min(e,t)*n[0];return`M ${r} 0 L ${e-r} 0 Q ${e} 0 ${e} ${r} L ${e} ${t-r} Q ${e} ${t} ${e-r} ${t} L ${r} ${t} Q 0 ${t} 0 ${t-r} L 0 ${r} Q 0 0 ${r} 0 Z`}},[bn.CUT_RECT_DIAGONAL]:{editable:!0,defaultValue:[.2],range:[[0,.9]],relative:["right"],getBaseSize:[(e,t)=>Math.min(e,t)],formula:(e,t,n)=>{const r=Math.min(e,t)*n[0];return`M 0 ${t-r} L 0 0 L ${e-r} 0 L ${e} ${r} L ${e} ${t} L ${r} ${t} Z`}},[bn.CUT_RECT_SINGLE]:{editable:!0,defaultValue:[.2],range:[[0,.9]],relative:["right"],getBaseSize:[(e,t)=>Math.min(e,t)],formula:(e,t,n)=>{const r=Math.min(e,t)*n[0];return`M 0 ${t} L 0 0 L ${e-r} 0 L ${e} ${r} L ${e} ${t} Z`}},[bn.CUT_RECT_SAMESIDE]:{editable:!0,defaultValue:[.2],range:[[0,.5]],relative:["left"],getBaseSize:[(e,t)=>Math.min(e,t)],formula:(e,t,n)=>{const r=Math.min(e,t)*n[0];return`M 0 ${r} L ${r} 0 L ${e-r} 0 L ${e} ${r} L ${e} ${t} L 0 ${t} Z`}},[bn.ROUND_RECT_DIAGONAL]:{editable:!0,defaultValue:[.125],range:[[0,1]],relative:["left"],getBaseSize:[(e,t)=>Math.min(e,t)],formula:(e,t,n)=>{const r=Math.min(e,t)*n[0];return`M ${r} 0 L ${e} 0 L ${e} ${t-r} Q ${e} ${t} ${e-r} ${t} L 0 ${t} L 0 ${r} Q 0 0 ${r} 0 Z`}},[bn.ROUND_RECT_SINGLE]:{editable:!0,defaultValue:[.125],range:[[0,1]],relative:["right"],getBaseSize:[(e,t)=>Math.min(e,t)],formula:(e,t,n)=>{const r=Math.min(e,t)*n[0];return`M 0 0 L ${e-r} 0 Q ${e} 0 ${e} ${r} L ${e} ${t} L 0 ${t} L 0 0 Z`}},[bn.ROUND_RECT_SAMESIDE]:{editable:!0,defaultValue:[.125],range:[[0,.5]],relative:["left"],getBaseSize:[(e,t)=>Math.min(e,t)],formula:(e,t,n)=>{const r=Math.min(e,t)*n[0];return`M 0 ${r} Q 0 0 ${r} 0 L ${e-r} 0 Q ${e} 0 ${e} ${r} L ${e} ${t} L 0 ${t} Z`}},[bn.CUT_ROUND_RECT]:{editable:!0,defaultValue:[.125],range:[[0,.5]],relative:["left"],getBaseSize:[(e,t)=>Math.min(e,t)],formula:(e,t,n)=>{const r=Math.min(e,t)*n[0];return`M ${r} 0 L ${e-r} 0 L ${e} ${r} L ${e} ${t} L 0 ${t} L 0 ${r} Q 0 0 ${r} 0 Z`}},[bn.MESSAGE]:{editable:!0,range:[[0,.8],[.1,.3]],defaultValue:[.3,.2],relative:["left_bottom","bottom"],getBaseSize:[e=>e,(e,t)=>t],formula:(e,t,n)=>{const r=e*n[0],i=e*.2,o=t*n[1];return`M 0 0 L ${e} 0 L ${e} ${t-o} L ${r+i} ${t-o} L ${r} ${t} L ${r} ${t-o} L 0 ${t-o} Z`}},[bn.ROUND_MESSAGE]:{formula:(e,t)=>{const n=Math.min(e,t)*.125,r=Math.min(e,t)*.2,i=Math.min(e,t)*.2;return`M 0 ${n} Q 0 0 ${n} 0 L ${e-n} 0 Q ${e} 0 ${e} ${n} L ${e} ${t-n-i} Q ${e} ${t-i} ${e-n} ${t-i} L ${e/2} ${t-i} L ${e/2-r} ${t} L ${e/2-r} ${t-i} L ${n} ${t-i} Q 0 ${t-i} 0 ${t-n-i} L 0 ${n} Z`}},[bn.L]:{editable:!0,defaultValue:[.25],range:[[.1,.9]],relative:["left"],getBaseSize:[(e,t)=>Math.min(e,t)],formula:(e,t,n)=>{const r=Math.min(e,t)*n[0];return`M 0 0 L 0 ${t} L ${e} ${t} L ${e} ${t-r} L ${r} ${t-r} L ${r} 0 Z`}},[bn.RING_RECT]:{editable:!0,defaultValue:[.25],range:[[.1,.45]],relative:["left"],getBaseSize:[(e,t)=>Math.min(e,t)],formula:(e,t,n)=>{const r=Math.min(e,t)*n[0];return`M 0 0 ${e} 0 ${e} ${t} L 0 ${t} L 0 0 Z M ${r} ${r} L ${r} ${t-r} L ${e-r} ${t-r} L ${e-r} ${r} Z`}},[bn.PLUS]:{editable:!0,defaultValue:[.25],range:[[.1,.9]],relative:["center"],getBaseSize:[(e,t)=>Math.min(e,t)],formula:(e,t,n)=>{const r=Math.min(e,t)*n[0];return`M ${e/2-r/2} 0 L ${e/2-r/2} ${t/2-r/2} L 0 ${t/2-r/2} L 0 ${t/2+r/2} L ${e/2-r/2} ${t/2+r/2} L ${e/2-r/2} ${t} L ${e/2+r/2} ${t} L ${e/2+r/2} ${t/2+r/2} L ${e} ${t/2+r/2} L ${e} ${t/2-r/2} L ${e/2+r/2} ${t/2-r/2} L ${e/2+r/2} 0 Z`}},[bn.TRIANGLE]:{editable:!0,defaultValue:[.5],range:[[0,1]],relative:["left"],getBaseSize:[e=>e],formula:(e,t,n)=>`M ${e*n[0]} 0 L 0 ${t} L ${e} ${t} Z`},[bn.PARALLELOGRAM_LEFT]:{editable:!0,defaultValue:[.25],range:[[0,.9]],relative:["left"],getBaseSize:[e=>e],formula:(e,t,n)=>{const r=e*n[0];return`M ${r} 0 L ${e} 0 L ${e-r} ${t} L 0 ${t} Z`}},[bn.PARALLELOGRAM_RIGHT]:{editable:!0,defaultValue:[.25],range:[[0,.9]],relative:["right"],getBaseSize:[e=>e],formula:(e,t,n)=>{const r=e*n[0];return`M 0 0 L ${e-r} 0 L ${e} ${t} L ${r} ${t} Z`}},[bn.TRAPEZOID]:{editable:!0,defaultValue:[.25],range:[[0,.5]],relative:["left"],getBaseSize:[e=>e],formula:(e,t,n)=>{const r=e*n[0];return`M ${r} 0 L ${e-r} 0 L ${e} ${t} L 0 ${t} Z`}},[bn.BULLET]:{editable:!0,defaultValue:[.2],range:[[0,1]],relative:["top"],getBaseSize:[(e,t)=>t],formula:(e,t,n)=>{const r=t*n[0];return`M ${e/2} 0 L 0 ${r} L 0 ${t} L ${e} ${t} L ${e} ${r} Z`}},[bn.INDICATOR]:{editable:!0,defaultValue:[.2],range:[[0,.9]],relative:["right"],getBaseSize:[e=>e],formula:(e,t,n)=>{const r=e*n[0];return`M ${e} ${t/2} L ${e-r} 0 L 0 0 L ${r} ${t/2} L 0 ${t} L ${e-r} ${t} Z`}}},HO=[{type:"矩形",children:[{viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z",pptxShapeType:"rect"},{viewBox:[200,200],path:"M 50 0 L 150 0 Q 200 0 200 50 L 200 150 Q 200 200 150 200 L 50 200 Q 0 200 0 150 L 0 50 Q 0 0 50 0 Z",pathFormula:bn.ROUND_RECT,pptxShapeType:"roundRect"},{viewBox:[200,200],path:"M 0 200 L 0 0 L 150 0 L 200 50 L 200 200 Z",pathFormula:bn.CUT_RECT_SINGLE,pptxShapeType:"snip1Rect"},{viewBox:[200,200],path:"M 0 50 L 50 0 L 150 0 L 200 50 L 200 200 L 0 200 Z",pathFormula:bn.CUT_RECT_SAMESIDE,pptxShapeType:"snip2SameRect"},{viewBox:[200,200],path:"M 0 150 L 0 0 L 150 0 L 200 50 L 200 200 L 50 200 Z",pathFormula:bn.CUT_RECT_DIAGONAL,pptxShapeType:"snip2DiagRect"},{viewBox:[200,200],path:"M 50 0 L 150 0 L 200 50 L 200 200 L 0 200 L 0 50 Q 0 0 50 0 Z",pathFormula:bn.CUT_ROUND_RECT,pptxShapeType:"snipRoundRect"},{viewBox:[200,200],path:"M 0 0 L 150 0 Q 200 0 200 50 L 200 200 L 0 200 L 0 0 Z",pathFormula:bn.ROUND_RECT_SINGLE,pptxShapeType:"round1Rect"},{viewBox:[200,200],path:"M 0 50 Q 0 0 50 0 L 150 0 Q 200 0 200 50 L 200 200 L 0 200 Z",pathFormula:bn.ROUND_RECT_SAMESIDE,pptxShapeType:"round2SameRect"},{viewBox:[200,200],path:"M 50 0 L 200 0 L 200 150 Q 200 200 150 200 L 0 200 L 0 50 Q 0 0 50 0 Z",pathFormula:bn.ROUND_RECT_DIAGONAL,pptxShapeType:"round2DiagRect"}]},{type:"常用形状",children:[{viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",pptxShapeType:"ellipse"},{viewBox:[200,200],path:"M 100 0 L 0 200 L 200 200 L 100 0 Z",pathFormula:bn.TRIANGLE,pptxShapeType:"triangle"},{viewBox:[200,200],path:"M 0 0 L 0 200 L 200 200 Z"},{viewBox:[200,200],path:"M 70 20 L 0 160 Q 0 200 40 200 L 160 200 Q 200 200 200 160 L 130 20 Q 100 -20 70 20 Z"},{viewBox:[200,200],path:"M 50 0 L 200 0 L 150 200 L 0 200 L 50 0 Z",pathFormula:bn.PARALLELOGRAM_LEFT,pptxShapeType:"parallelogram"},{viewBox:[200,200],path:"M 0 0 L 150 0 L 200 200 L 50 200 L 0 0 Z",pathFormula:bn.PARALLELOGRAM_RIGHT},{viewBox:[200,200],path:"M 50 0 L 150 0 L 200 200 L 0 200 L 50 0 Z",pathFormula:bn.TRAPEZOID,pptxShapeType:"trapezoid"},{viewBox:[200,200],path:"M 100 0 L 0 100 L 100 200 L 200 100 L 100 0 Z",pptxShapeType:"diamond"},{viewBox:[200,200],path:"M 100 0 L 0 50 L 0 200 L 200 200 L 200 50 L 100 0 Z",pathFormula:bn.BULLET},{viewBox:[200,200],path:"M 200 100 L 150 0 L 0 0 L 50 100 L 0 200 L 150 200 L 200 100 Z",pathFormula:bn.INDICATOR},{viewBox:[200,200],path:"M 0 0 C 80 20 120 20 200 0 C 180 80 180 120 200 200 C 80 180 120 180 0 200 C 20 120 20 80 0 0 Z"},{viewBox:[200,200],path:"M 10 10 C 60 0 140 0 190 10 C 200 60 200 140 190 190 C 140 200 60 200 10 190 C 0 140 0 60 10 10 Z"},{viewBox:[200,200],path:"M 0 200 A 50 100 0 1 1 200 200 L 0 200 Z"},{viewBox:[200,200],path:"M 40 20 A 100 100 0 1 0 200 100 L 100 100 L 40 20 Z"},{viewBox:[200,200],path:"M 100 0 A 100 100 102 1 0 200 100 L 100 100 L 100 0 Z",pptxShapeType:"pie"},{viewBox:[200,200],path:"M 160 20 A 100 100 0 1 0 200 100 L 100 100 L 160 20 Z"},{viewBox:[200,200],path:"M 100 0 A 100 100 102 1 0 200 100 L 100 0 Z",pptxShapeType:"chord"},{viewBox:[200,200],path:"M 100 0 A 100 100 102 1 0 200 100 L 200 0 L 100 0 Z",pptxShapeType:"teardrop"},{viewBox:[200,200],path:"M 0 0 L 200 0 Q 200 200 0 200 L 0 0 Z"},{viewBox:[200,200],path:"M100,0 L200,76.6 L161.8,200 L38.2,200 L0,76.6 Z",pptxShapeType:"pentagon"},{viewBox:[200,200],path:"M 40 0 L 160 0 L 200 100 L 160 200 L 40 200 L 0 100 Z",pptxShapeType:"hexagon"},{viewBox:[200,200],path:"M 100 0 L 0 60 L 0 140 L 100 200 L 200 140 L 200 60 L 100 0 Z"},{viewBox:[200,200],path:"M100,0 L170.71,29.29 L200,100 L170.71,170.71 L100,200 L29.29,170.71 L0,100 L29.29,29.29 Z"},{viewBox:[200,200],path:"M 60 0 L 140 0 L 200 60 L 200 140 L 140 200 L 60 200 L 0 140 L 0 60 L 60 0 Z",pptxShapeType:"octagon"},{viewBox:[200,200],path:"M 75 0 L 125 0 L 175 25 L 200 75 L 200 125 L 175 175 L 125 200 L 75 200 L 25 175 L 0 125 L 0 75 L 25 25 L 75 0 Z",pptxShapeType:"dodecagon"},{viewBox:[200,200],path:"M 150 0 A 50 100 0 1 1 150 200 L 0 200 L 0 0 L 150 0 Z"},{viewBox:[200,200],path:"M 50 0 A 25 50 0 1 0 50 200 L 150 200 A 25 50 0 1 0 150 0 L 50 0 Z"},{viewBox:[200,200],path:"M 150 0 A 50 100 0 1 1 150 200 L 0 200 A 50 100 0 0 0 0 0 L 150 0 Z"},{viewBox:[200,200],path:"M 200 0 L 200 200 L 0 200 L 0 100 L 200 0 Z",pptxShapeType:"flowChartManualInput"},{viewBox:[200,200],path:"M 0 0 L 200 100 L 200 200 L 0 200 L 0 0 Z"},{viewBox:[200,200],path:"M 0 0 L 200 0 L 200 150 C 110 140 110 240 0 180 Z",pptxShapeType:"flowChartDocument"},{viewBox:[200,200],path:"M 200 0 L 100 0 L 0 100 L 0 200 L 200 0 Z",pptxShapeType:"diagStripe"},{viewBox:[200,200],path:"M 50 0 L 150 0 L 150 50 L 200 50 L 200 150 L 150 150 L 150 200 L 50 200 L 50 150 L 0 150 L 0 50 L 50 50 L 50 0 Z"},{viewBox:[200,200],path:"M 0 0 L 0 200 L 200 200 L 200 140 L 60 140 L 60 0 L 0 0 Z",pathFormula:bn.L,pptxShapeType:"corner"},{viewBox:[200,200],path:"M0 0 L200 0 L200 200 L0 200 L0 0 Z M50 50 L50 150 L150 150 L150 50 Z",pathFormula:bn.RING_RECT,pptxShapeType:"frame"},{viewBox:[200,200],path:"M0 100 A100 100 0 1 1 0 101 Z M150 100 A50 50 0 1 0 150 101 Z",pptxShapeType:"donut"},{viewBox:[200,200],path:"M 70 0 L 70 70 L 0 70 L 0 130 L 70 130 L 70 200 L 130 200 L 130 130 L 200 130 L 200 70 L 130 70 L 130 0 L 70 0 Z",pathFormula:bn.PLUS,pptxShapeType:"mathPlus"},{viewBox:[200,200],path:"M 0 70 L 200 70 L 200 130 L 0 130 Z",pptxShapeType:"mathMinus"},{viewBox:[200,200],path:"M 40 0 L 0 40 L 60 100 L 0 160 L 40 200 L 100 140 L 160 200 L 200 160 L 140 100 L 200 40 L 160 0 L 100 60 L 40 0 Z",pptxShapeType:"mathMultiply"},{viewBox:[200,200],path:"M 0 80 L 200 80 L 200 120 L 0 120 Z M 100 0 A 25 25 0 1 1 100 50 A 25 25 0 1 1 100 0 M 100 200 A 25 25 0 1 1 100 150 A 25 25 0 1 1 100 200",pptxShapeType:"mathDivide"},{viewBox:[200,200],path:"M 0 30 L 200 30 L 200 80 L 0 80 Z M 0 120 L 200 120 L 200 170 L 0 170 Z",pptxShapeType:"mathEqual"},{viewBox:[200,200],path:"M 120 0 L 170 0 L 150 40 L 200 40 L 200 80 L 130 80 L 110 120 L 200 120 L 200 160 L 90 160 L 70 200 L 20 200 L 40 160 L 0 160 L 0 120 L 60 120 L 80 80 L 0 80 L 0 40 L 100 40 Z",pptxShapeType:"mathNotEqual"},{viewBox:[200,200],path:"M 0 0 L 200 0 L 200 160 L 100 160 L 60 200 L 60 160 L 0 160 Z",pathFormula:bn.MESSAGE,pptxShapeType:"wedgeRectCallout"},{viewBox:[200,200],path:"M 0 40 Q 0 0 40 0 L 160 0 Q 200 0 200 40 L 200 120 Q 200 160 160 160 L 100 160 L 60 200 L 60 160 L 40 160 Q 0 160 0 120 L 0 40 Z",pathFormula:bn.ROUND_MESSAGE,pptxShapeType:"wedgeRoundRectCallout"},{viewBox:[200,200],path:"M 180 160 A 100 100 0 1 0 100 200 L 200 200 L 200 160 L 180 160 Z",pptxShapeType:"flowChartMagneticTape"},{viewBox:[200,200],path:"M 200 0 L 0 0 L 200 200 L 0 200 L 200 0 Z",pptxShapeType:"flowChartCollate"},{viewBox:[200,200],path:"M 0 20 C 60 60 140 -40 200 20 L 200 180 C 140 140 60 240 0 180 L 0 20 Z",pptxShapeType:"wave"},{viewBox:[200,200],path:"M 0 20 C 40 -40 60 60 100 20 C 140 -40 160 60 200 20 L 200 180 C 140 240 160 140 100 180 C 40 240 60 140 0 180 L 0 20 Z",pptxShapeType:"doubleWave"},{viewBox:[200,200],path:"M 100 0 Q 0 50 0 175 Q 100 225 200 175 Q 200 50 100 0 Z"},{viewBox:[200,200],path:"M 0 100 A 50 50 0 1 1 200 100 L 100 200 L 0 100 Z"},{viewBox:[200,200],path:"M 100 0 L 120 80 L 200 100 L 120 120 L 100 200 L 80 120 L 0 100 L 80 80 L 100 0 Z",pptxShapeType:"star4"},{viewBox:[1024,1024],path:"M1018.67652554 400.05983681l-382.95318779-5.89158658L512 34.78141155 388.27666225 394.16825023l-382.95318779 5.89158658L311.68602415 629.83174977l-117.83174978 365.27842665 312.25413766-223.88032637 312.25413904 223.88032637-117.83175116-365.27842665 318.14572563-229.77191296z",pptxShapeType:"star5",special:!0},{viewBox:[200,200],path:"M 100 0 L 60 60 L 0 100 L 60 140 L 100 200 L 140 140 L 200 100 L 140 60 L 100 0 Z"},{viewBox:[200,200],path:"M 100 0 L 140 60 L 200 60 L 160 100 L 200 140 L 140 140 L 100 200 L 60 140 L 0 140 L 40 100 L 0 60 L 60 60 L 100 0 Z",pptxShapeType:"star6"},{viewBox:[200,200],path:"M 100 0 L 130 30 L 170 30 L 170 70 L 200 100 L 170 130 L 170 170 L 130 170 L 100 200 L 70 170 L 30 170 L 30 130 L 0 100 L 30 70 L 30 30 L 70 30 L 100 0",pptxShapeType:"star8"},{viewBox:[200,200],path:"M 100 0 A 50 50 0 1 0 200 120 A 100 100 0 1 1 100 0 Z"},{viewBox:[200,200],path:"M 120 0 L 100 80 L 200 80 L 80 200 L 100 120 L 0 120 L 120 0 Z"},{viewBox:[200,200],path:"M 30 50 Q 40 -20 120 10 Q 180 -10 180 40 Q 210 70 190 100 C 210 140 180 170 160 170 Q 140 210 100 180 C 70 210 20 190 30 150 C -10 140 -10 80 30 50",pptxShapeType:"cloud"},{viewBox:[200,200],path:"M 100 0 L 0 100 L 100 200 L 200 100 L 100 0 Z M 200 100 L 0 100",withborder:!0,pptxShapeType:"flowChartSort"},{viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z M 170 30 L 30 170",withborder:!0},{viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z M 30 30 L 170 170",withborder:!0},{viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z M 170 30 L 30 170 M 30 30 L 170 170",withborder:!0,pptxShapeType:"flowChartSummingJunction"},{viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z M 200 100 L 0 100 M 100 0 L 100 200",withborder:!0,pptxShapeType:"flowChartOr"},{viewBox:[200,200],path:"M 160 0 A 40 100 0 1 1 160 200 L 40 200 A 40 100 0 1 1 40 0 L 160 0 Z M 160 200 A 40 100 0 1 1 160 0",withborder:!0,pptxShapeType:"flowChartMagneticDrum"},{viewBox:[200,200],path:"M 0 40 A 50 20 0 1 1 200 40 L 200 160 A 50 20 0 1 1 0 160 L 0 40 Z M 200 40 A 50 20 0 1 1 0 40",withborder:!0,pptxShapeType:"can"},{viewBox:[200,200],path:"M 200 0 L 50 0 L 0 50 L 0 200 L 150 200 L 200 150 L 200 0 Z M 200 0 L 150 50 M 150 50 L 0 50 M 150 50 L 150 200",withborder:!0,pptxShapeType:"cube"}]},{type:"箭头",children:[{viewBox:[200,200],path:"M 100 0 L 0 100 L 50 100 L 50 200 L 150 200 L 150 100 L 200 100 L 100 0 Z",pptxShapeType:"upArrow"},{viewBox:[200,200],path:"M 100 200 L 200 100 L 150 100 L 150 0 L 50 0 L 50 100 L 0 100 L 100 200 Z",pptxShapeType:"downArrow"},{viewBox:[200,200],path:"M 0 100 L 100 0 L 100 50 L 200 50 L 200 150 L 100 150 L 100 200 L 0 100 Z",pptxShapeType:"leftArrow"},{viewBox:[200,200],path:"M 200 100 L 100 0 L 100 50 L 0 50 L 0 150 L 100 150 L 100 200 L 200 100 Z",pptxShapeType:"rightArrow"},{viewBox:[200,200],path:"M 100 0 L 0 60 L 60 60 L 60 140 L 0 140 L 100 200 L 200 140 L 140 140 L 140 60 L 200 60 L 100 0 Z",pptxShapeType:"upDownArrow"},{viewBox:[200,200],path:"M 0 100 L 60 0 L 60 60 L 140 60 L 140 0 L 200 100 L 140 200 L 140 140 L 60 140 L 60 200 L 0 100 Z",pptxShapeType:"leftRightArrow"},{viewBox:[200,200],path:"M 100 0 L 60 40 L 80 40 L 80 80 L 40 80 L 40 60 L 0 100 L 40 140 L 40 120 L 80 120 L 80 160 L 60 160 L 100 200 L 140 160 L 120 160 L 120 120 L 160 120 L 160 140 L 200 100 L 160 60 L 160 80 L 120 80 L 120 40 L 140 40 L 100 0 Z",pptxShapeType:"quadArrow"},{viewBox:[200,200],path:"M 0 100 L 100 0 L 100 50 L 200 50 L 150 100 L 200 150 L 100 150 L 100 200 L 0 100 Z"},{viewBox:[200,200],path:"M 200 100 L 100 0 L 100 50 L 0 50 L 50 100 L 0 150 L 100 150 L 100 200 L 200 100 Z",pptxShapeType:"notchedRightArrow"},{viewBox:[200,200],path:"M 0 100 L 80 20 L 80 80 L 120 80 L 120 0 L 200 0 L 200 200 L 120 200 L 120 120 L 80 120 L 80 180 L 0 100 Z",pptxShapeType:"leftArrowCallout"},{viewBox:[200,200],path:"M 200 100 L 120 20 L 120 80 L 80 80 L 80 0 L 0 0 L 0 200 L 80 200 L 80 120 L 120 120 L 120 180 L 200 100 Z",pptxShapeType:"rightArrowCallout"},{viewBox:[200,200],path:"M 0 0 L 120 0 L 200 100 L 120 200 L 0 200 L 80 100 L 0 0 Z",pptxShapeType:"chevron"},{viewBox:[200,200],path:"M 80 0 L 200 0 L 120 100 L 200 200 L 80 200 L 0 100 L 80 0 Z"},{viewBox:[200,200],path:"M 0 0 L 140 0 L 200 100 L 140 200 L 0 200 L 0 100 L 0 0 Z",pptxShapeType:"homePlate"},{viewBox:[200,200],path:"M 60 0 L 200 0 L 200 100 L 200 200 L 60 200 L 0 100 L 60 0 Z"},{viewBox:[200,200],path:"M 0 0 L 200 100 L 0 200 L 60 100 L 0 0 Z"},{viewBox:[200,200],path:"M 200 0 L 0 100 L 200 200 L 140 100 L 200 0 Z"},{viewBox:[200,200],path:"M 0 0 L 80 0 L 200 100 L 80 200 L 0 200 L 120 100 L 0 0 Z"},{viewBox:[200,200],path:"M 200 0 L 120 0 L 0 100 L 120 200 L 200 200 L 80 100 L 200 0 Z"},{viewBox:[200,200],path:"M 0 200 L 180 200 L 180 40 L 200 40 L 160 0 L 120 40 L 140 40 L 140 160 L 0 160 L 0 200 Z",pptxShapeType:"bentUpArrow"},{viewBox:[200,200],path:"M 0 200 L 0 20 L 160 20 L 160 0 L 200 40 L 160 80 L 160 60 L 40 60 L 40 200 L 0 200 Z"},{viewBox:[200,200],path:"M 40 180 L 180 180 L 180 40 L 200 40 L 160 0 L 120 40 L 140 40 L 140 140 L 40 140 L 40 120 L 0 160 L 40 200 L 40 180 Z",pptxShapeType:"leftUpArrow"},{viewBox:[1024,1024],path:"M398.208 302.912V64L0 482.112l398.208 418.176V655.36c284.48 0 483.584 95.552 625.792 304.64-56.896-298.688-227.584-597.312-625.792-657.088z",special:!0},{viewBox:[1024,1024],path:"M625.792 302.912V64L1024 482.112l-398.208 418.176V655.36C341.312 655.36 142.208 750.912 0 960c56.896-298.688 227.584-597.312 625.792-657.088z",special:!0}]},{type:"其他形状",children:[{viewBox:[1024,1024],path:"M995.336 243.4016c-15.7584-36.5736-38.3376-69.26639999-66.91440001-97.37280001-28.5768-27.98879999-61.73999999-49.8624-98.78399999-65.26799998-38.22-15.876-78.6744-23.8728-120.4224-23.87280001-57.97680001 0-114.5424 15.876-163.69919999 45.864-11.76 7.17360001-22.932 15.05279999-33.51600001 23.63760001-10.584-8.5848-21.75600001-16.46400001-33.51600001-23.63760001-49.1568-29.98799999-105.7224-45.86399999-163.69919999-45.864-41.74799999 0-82.2024 7.9968-120.4224 23.87280001-36.9264 15.28799999-70.2072 37.27919999-98.78399999 65.26799998-28.6944 28.10640001-51.156 60.79919999-66.91440001 97.37280001-16.34639999 37.9848-24.696 78.3216-24.696 119.83439999 0 39.1608 7.9968 79.96800001 23.8728 121.48080001 13.28880001 34.692 32.34000001 70.67760001 56.6832 107.016 38.57279999 57.5064 91.61040001 117.4824 157.4664 178.28160001 109.1328 100.78319999 217.2072 170.4024 221.79359999 173.22479998l27.87120001 17.8752c12.348 7.8792 28.224 7.8792 40.572 0l27.87119999-17.8752c4.58639999-2.94 112.54319999-72.44159999 221.79360001-173.22479998 65.85599999-60.79919999 118.89359999-120.7752 157.4664-178.28160001 24.3432-36.33839999 43.512-72.324 56.68319999-107.016 15.876-41.5128 23.8728-82.32 23.87280001-121.48080001 0.1176-41.5128-8.232-81.8496-24.5784-119.83439999z",special:!0},{viewBox:[1024,1024],path:"M985.20746667 343.50079998l-303.32586667-44.08319999L546.28693333 24.5248c-3.70346666-7.5264-9.79626667-13.6192-17.32266665-17.32266668-18.87573334-9.3184-41.81333333-1.55306667-51.25120001 17.32266668L342.1184 299.41759999l-303.32586667 44.08319999c-8.36266667 1.19466667-16.00853333 5.13706667-21.8624 11.11040001-14.69440001 15.17226667-14.45546667 39.30453334 0.71679999 54.1184l219.46026668 213.9648-51.84853333 302.1312c-1.43359999 8.24320001-0.11946667 16.8448 3.82293333 24.25173333 9.79626667 18.6368 32.9728 25.92426667 51.6096 16.00853334L512 822.44266665l271.3088 142.64320001c7.40693333 3.9424 16.00853333 5.25653333 24.25173333 3.82293333 20.78719999-3.584 34.7648-23.296 31.1808-44.0832l-51.84853333-302.1312 219.46026668-213.9648c5.97333334-5.85386666 9.91573333-13.49973334 11.11039999-21.8624 3.2256-20.90666667-11.34933333-40.26026667-32.256-43.36640001z",special:!0},{viewBox:[1024,1024],path:"M852.65066667 405.84533333C800.54044445 268.40177778 667.76177778 170.66666667 512.22755555 170.66666667S223.91466667 268.288 171.80444445 405.73155555C74.29688889 431.33155555 2.27555555 520.07822222 2.27555555 625.77777778c0 125.72444445 101.83111111 227.55555555 227.44177778 227.55555555h564.56533334C919.89333333 853.33333333 1021.72444445 751.50222222 1021.72444445 625.77777778c0-105.472-71.79377778-194.21866667-169.07377778-219.93244445z",special:!0},{viewBox:[1024,1024],path:"M926.25224691 323.7371485H654.6457886L898.88200917 15.14388241c5.05486373-6.53433603 0.49315743-16.02761669-7.76722963-16.02761668H418.30008701c-3.45210206 0-6.78091476 1.84934039-8.50696579 4.93157436L90.35039154 555.76772251c-3.82197013 6.53433603 0.86302552 14.7947231 8.50696578 14.79472311h215.01664245l-110.22068713 440.88274851c-2.34249783 9.61657002 9.24670194 16.39748478 16.39748477 9.49328065L933.03316167 340.62779071c6.41104668-6.0411786 2.09591911-16.8906422-6.78091476-16.89064221z",special:!0},{viewBox:[1024,1024],path:"M878.47822222 463.30311111c-22.18666667-49.83466667-53.93066667-93.98044445-94.32177777-131.072l-33.10933334-30.37866666c-4.89244445-4.32355555-12.62933333-2.38933333-14.79111111 3.75466666l-14.79111111 42.43911111c-9.216 26.624-26.16888889 53.81688889-50.176 80.55466667-1.59288889 1.70666667-3.41333333 2.16177778-4.66488889 2.27555556-1.25155555 0.11377778-3.18577778-0.11377778-4.89244445-1.70666667-1.59288889-1.36533333-2.38933333-3.41333333-2.27555555-5.46133333 4.20977778-68.49422222-16.27022222-145.74933333-61.09866667-229.83111112C561.26577778 124.01777778 509.72444445 69.51822222 445.32622222 31.51644445l-46.99022222-27.648c-6.144-3.64088889-13.99466667 1.13777778-13.65333333 8.30577777l2.50311111 54.61333333c1.70666667 37.31911111-2.61688889 70.31466667-12.85688889 97.73511112-12.51555555 33.56444445-30.49244445 64.73955555-53.47555556 92.72888888-16.15644445 19.56977778-34.24711111 37.20533333-54.04444444 52.45155556-47.90044445 36.75022222-87.38133333 84.65066667-114.11911111 138.24C125.72444445 502.10133333 111.50222222 562.74488889 111.50222222 623.50222222c0 53.70311111 10.58133333 105.69955555 31.51644445 154.73777778 20.25244445 47.21777778 49.152 89.77066667 85.90222222 126.17955555 36.864 36.40888889 79.64444445 65.08088889 127.31733333 84.992C405.61777778 1010.11911111 457.95555555 1020.58666667 512 1020.58666667s106.38222222-10.46755555 155.76177778-31.06133334c47.67288889-19.91111111 90.56711111-48.46933333 127.31733333-84.992 36.864-36.40888889 65.76355555-78.96177778 85.90222222-126.17955555 20.93511111-49.03822222 31.51644445-101.03466667 31.51644445-154.73777778 0-55.52355555-11.37777778-109.45422222-34.01955556-160.31288889z",special:!0},{viewBox:[1024,1024],path:"M968.20337778 20.11591112H705.44042667c-22.17301333 0-41.92483556 15.16430222-47.14951111 37.33731555C642.36202666 124.73685332 582.08711111 173.03324444 512 173.03324444s-130.36202666-48.29639112-146.29091556-115.58001777c-5.22467555-22.17301333-24.84906667-37.33731556-47.14951111-37.33731555H55.79662222c-30.96576 0-56.06968889 25.10392889-56.06968888 56.06968888v321.12639999c0 30.96576 25.10392889 56.06968889 56.06968888 56.06968889h95.57333334v494.43271112c0 30.96576 25.10392889 56.06968889 56.06968889 56.06968888h609.1207111c30.96576 0 56.06968889-25.10392889 56.06968889-56.06968888V453.38168888h95.57333334c30.96576 0 56.06968889-25.10392889 56.06968888-56.06968889V76.1856c0-30.96576-25.10392889-56.06968889-56.06968888-56.06968888z",special:!0},{viewBox:[1024,1024],path:"M980.94648889 239.80714666H523.46880001L373.99210666 96.82944c-1.91146667-1.78403556-4.46008889-2.80348444-7.00871111-2.80348445H43.05351111c-22.55530667 0-40.77795555 18.22264888-40.77795555 40.77795557v754.39217776c0 22.55530667 18.22264888 40.77795555 40.77795555 40.77795557h937.89297778c22.55530667 0 40.77795555-18.22264888 40.77795555-40.77795557V280.58510222c0-22.55530667-18.22264888-40.77795555-40.77795555-40.77795556z",special:!0},{viewBox:[1024,1024],path:"M972.60904597 164.57058577L841.30587843 33.39070759c-18.86327195-18.86327195-44.1375906-29.34286748-70.64480282-29.3428675-26.75379095 0-51.90482023 10.47959553-70.76809219 29.3428675L558.60337778 174.68031322c-18.86327195 18.86327195-29.34286748 44.1375906-29.34286749 70.64480283 0 26.75379095 10.47959553 51.90482023 29.34286749 70.76809218l103.31648301 103.31648302c-24.28800376 53.50758189-57.69942011 101.59043198-99.24793416 143.13894603-41.42522469 41.67180341-89.63136414 75.08321976-143.13894603 99.61780223L316.21649759 558.84995649c-18.86327195-18.86327195-44.1375906-29.34286748-70.64480283-29.34286747-26.75379095 0-51.90482023 10.47959553-70.76809217 29.34286747L33.39070759 700.01627278c-18.86327195 18.86327195-29.34286748 44.1375906-29.3428675 70.76809217 0 26.75379095 10.47959553 51.90482023 29.3428675 70.76809219l131.05658883 131.05658883c30.08260365 30.205893 71.63111769 47.34311394 114.28923598 47.34311394 9.00012323 0 17.63037836-0.73973616 26.13734414-2.21920846 166.19405621-27.37023774 331.03192945-115.76870829 464.06114804-248.67463751C901.84095379 636.27567408 990.11613498 471.56109018 1017.85624079 304.87387654c8.38367642-50.91850535-8.50696579-103.31648302-45.24719482-140.30329077z",special:!0},{viewBox:[1024,1024],path:"M910.60451556 640.96028445c-20.38897778-65.49959112-43.83630221-120.54983112-79.89930667-210.64362666C836.31217778 193.67708444 737.93535999 2.27555556 511.36284444 2.27555556 282.24170667 2.27555556 186.03121778 197.50001778 192.14791111 430.31665779c-36.19043555 90.22122667-59.51032888 144.88917333-79.89930667 210.64362666-43.32657778 139.53706668-29.30915556 197.26336001-18.60494222 198.53767111 22.9376 2.80348444 89.32920888-105.00323556 89.32920889-105.00323556 0 62.44124445 32.11264001 143.86972444 101.69002667 202.61546667-33.64181333 10.32192-109.20846222 38.10190221-91.24067556 68.55793777 14.52714667 24.59420444 250.01984 15.67402668 317.94062222 8.02816 67.92078222 7.64586667 303.41347556 16.56604444 317.94062223-8.02816 17.96778667-30.32860444-57.72629333-58.23601779-91.24067555-68.55793777 69.57738667-58.87317334 101.69002667-140.30165333 101.69002667-202.61546667 0 0 66.39160889 107.80672 89.32920888 105.00323556 10.83164445-1.40174222 24.84906667-59.12803556-18.47751111-198.53767111z",special:!0},{viewBox:[1024,1024],path:"M1016.86992592 199.24764445c-37.13706667 16.01991111-77.55093333 27.54939259-119.17842962 32.03982222 42.96248889-25.60758518 75.60912592-66.02145185 91.02222222-114.08118519-39.68568889 23.66577778-84.58998518 41.02068148-131.31472593 50.00154074C819.53374815 126.79395555 765.76995555 101.79318518 706.18074075 101.79318518c-114.688 0-206.92385185 92.96402963-206.92385186 207.04521482 0 16.01991111 1.94180741 32.03982222 5.09724444 47.45291852-171.72859259-8.98085925-324.88865185-91.02222222-426.71217778-216.63288889-17.96171852 30.82619259-28.15620741 66.02145185-28.1562074 104.49351112 0 71.84687408 36.53025185 135.19834075 92.23585185 172.45677036-33.98162963-1.33499259-66.02145185-10.92266667-93.57084445-26.33576296v2.54862222c0 100.6098963 71.1186963 183.98625185 165.90317037 203.1616-17.3549037 4.49042963-35.92343703 7.03905185-54.49197037 7.03905185-13.47128889 0-26.2144-1.33499259-39.07887407-3.15543704C146.69748148 681.90814815 223.03478518 741.49736297 313.93564445 743.43917037c-71.1186963 55.7056-160.19911111 88.4736-256.9253926 88.4736-17.3549037 0-33.37481482-0.60681482-50.00154074-2.54862222C98.75911111 888.22518518 207.62168889 922.20681482 324.85831111 922.20681482 705.45256297 922.20681482 913.71140741 606.90583703 913.71140741 333.23235555c0-8.98085925 0-17.96171852-0.60681482-26.94257777 40.2925037-29.4912 75.60912592-66.02145185 103.76533333-107.04213333z",special:!0},{viewBox:[1024,1024],path:"M917.96720197 1.08889505H106.03279803C53.56084718 1.08889505 9.37393998 45.27580225 9.37393998 97.74775309v5.52336372c0 19.33177108 8.28504494 41.42522469 22.0934536 55.23363205l331.40179753 392.15879462v325.87843379c0 16.57008987 8.28504494 30.37849854 22.09345359 35.90186098l209.88780469 104.94390299 2.76168121 2.76168121c27.61681602 11.04672615 55.23363335-8.28504494 55.23363335-38.66354218V550.66354348l331.40179753-392.15879462c35.90186097-41.42522469 30.37849854-102.18222047-11.04672616-135.32240022-11.04672615-13.80840865-33.14017975-22.0934536-55.23363335-22.09345359z",special:!0},{viewBox:[1024,1024],path:"M491.70164031 97.48884502a25.89076502 25.89076502 0 0 1 40.59671938 0L745.66415762 367.01171317a25.89076502 25.89076502 0 0 0 30.49932208 7.72839349l208.00640948-89.14190458a25.89076502 25.89076502 0 0 1 35.56096592 29.06238339l-115.18801541 554.96855704A103.56306132 103.56306132 0 0 1 803.14165689 952.14301275H220.85834311a103.56306132 103.56306132 0 0 1-101.4011828-82.51387024l-115.18801541-554.96855704a25.89076502 25.89076502 0 0 1 35.54802012-29.06238339l208.01935528 89.14190458a25.89076502 25.89076502 0 0 0 30.49932208-7.72839349l213.36579793-269.52286815z",special:!0},{viewBox:[1024,1024],path:"M643.02466884 387.7801525c19.85376751-88.69205333 33.718272-152.84087467 41.61900049-192.57389433C704.52292267 95.17283515 652.90057916 2.27555515 550.58614084 2.27555515c-92.26012484 0-138.59407685 45.84971417-165.91530666 137.49816969l-0.70087152 2.67605334c-16.40038399 74.13942085-41.47882668 131.61085116-74.6746315 172.73287031a189.06953915 189.06953915 0 0 1-143.04142182 70.44391902l-26.17434983 0.5606965C77.66380049 387.52529067 27.76177817 438.90551468 27.76177817 501.84374084V881.55022182c0 77.4144 62.25009818 140.17422182 139.05282766 140.17422303h492.82707951c101.23127467 0 191.59267516-63.995904 225.93535999-159.98976l102.37815468-286.22301868c26.04691951-72.82688-11.39234134-153.15945284-83.63303784-179.42300483a138.04612267 138.04612267 0 0 0-47.17499733-8.30850884H643.02466884z",special:!0},{viewBox:[1024,1024],path:"M512 512c140.82958222 0 254.86222222-114.03264 254.86222222-254.86222222S652.82958222 2.27555555 512 2.27555555a254.78940445 254.78940445 0 0 0-254.86222222 254.86222223C257.13777778 397.96736 371.17041778 512 512 512z m0 72.81777778c-170.10232889 0-509.72444445 97.57582222-509.72444445 291.27111111v145.63555556h1019.4488889v-145.63555556c0-193.69528889-339.62211555-291.27111111-509.72444445-291.27111111z",special:!0},{viewBox:[1024,1024],path:"M1019.81297778 564.50161779l-138.89991111-472.51456c-8.66531556-25.99594668-29.43658667-43.45400889-57.21656889-43.45400891s-50.33528889 15.67402668-59.00060446 41.66997334l-92.00526221 274.48661334H351.69166222L259.6864 90.33045333c-8.66531556-25.99594668-31.22062222-41.66997333-59.00060444-41.66997332s-50.33528889 17.33063112-57.2165689 43.45400887L4.69674667 564.50161779c-5.22467555 17.33063112 1.78403556 36.44529778 15.67402667 46.89464887l491.11950221 368.27591113 492.77610666-368.27591113c13.76256-10.32192 20.77127111-29.43658667 15.54659557-46.89464887z",special:!0},{viewBox:[1024,1024],path:"M927.78951111 340.39277037c-12.01493333-47.81700741 12.01493333-124.03294815 89.08041481-150.97552592l-82.40545184-4.36906667s-31.19028148-109.22666667-174.27721483-118.9357037c-143.08693333-9.8304-236.65777778-3.64088889-236.65777777-3.6408889s106.07122963 67.47780741 63.5941926 187.74850371c-31.06891852 63.71555555-79.85682963 116.02299259-132.04290371 175.61220741-1.57771852 1.57771852-3.03407408 3.15543703-4.2477037 4.49042962C278.25493333 624.86755555 7.13007408 934.34311111 7.13007408 934.34311111c298.43152592 78.15774815 498.43768889-7.64586667 616.76657777-110.56165926 24.87940741-0.24272592 43.5693037-0.36408889 56.19105185-0.36408888 164.8109037 0 304.13558518-142.72284445 298.43152593-301.4656-3.88361482-109.1053037-38.71478518-133.74198518-50.72971852-181.5589926z",special:!0},{viewBox:[1024,1024],path:"M997.8886764 504.17210418L537.2729208 43.89182982c-13.97838539-13.97838539-36.56745619-13.97838539-50.5458416 0L26.1113236 504.17210418c-13.41924998 13.41924998-21.02349164 31.64706454-21.02349163 50.65766867 0 39.47496036 32.09437288 71.56933323 71.56933324 71.56933323h48.53295408V954.83524937c0 19.79339373 15.99127289 35.78466661 35.78466663 35.78466662H440.43066677V740.12724968h125.24633315v250.49266631h297.34821416c19.79339373 0 35.78466661-15.99127289 35.78466663-35.78466662V626.39910608h48.53295408c19.01060414 0 37.23841869-7.49241457 50.65766869-21.02349163 27.84494371-27.95677079 27.84494371-73.24673948-0.11182708-101.20351027z",special:!0},{viewBox:[1024,1024],path:"M1009.13013121 349.27572283L674.72427717 14.86986879c-8.82158299-8.82158299-20.35749924-13.16451618-31.89341544-13.16451618s-23.07183245 4.34293316-31.89341547 13.16451618L392.29790453 233.6451272c-16.5574327-1.90003326-33.25058207-2.71433322-49.94373146-2.71433324-99.34459624 0-198.68919249 32.70771543-280.25490606 98.12314628-20.90036589 16.69314938-22.52896582 48.04369819-3.66434987 67.04403081l246.59717401 246.59717401-292.33368895 292.06225564c-3.52863319 3.52863319-5.83581644 8.27871636-6.24296642 13.30023282l-4.61436649 50.48659809c-1.22144996 12.75736619 8.95729967 23.6146991 21.57894918 23.6146991 0.6785833 0 1.35716662 0 2.03574992-0.13571666l50.48659809-4.61436649c5.02151649-0.40714999 9.77159962-2.71433322 13.30023282-6.24296643l292.33368896-292.33368896 246.59717402 246.59717401c8.82158299 8.82158299 20.35749924 13.16451618 31.89341544 13.16451618 13.16451618 0 26.19331567-5.70009979 35.15061536-16.82886604 76.40848044-95.40881307 108.16617924-214.83947521 95.27309638-330.33435417l218.63954175-218.63954173c17.50744934-17.37173267 17.50744934-45.8722316 0-63.51539759z",special:!0},{viewBox:[1024,1024],path:"M976.62005979 160.47737905c-0.39452595-0.39452595-80.35178503 78.64217259-239.47725131 237.50462156l-111.6508437-111.65084369 237.89914752-237.89914752c-125.19623464-75.35445635-286.03131335-56.02268482-390.31767264 48.26367449-81.92988882 81.92988882-112.57140424 200.15616502-83.37648398 310.09739626l2.36715569 8.81107954-372.82702222 372.69551356c-8.15353628 8.15353628-8.15353628 21.56741857 0 29.72095487l185.95323084 185.95323084c8.15353628 8.15353628 21.56741857 8.15353628 29.72095485 0l372.56400493-372.56400493 8.81107953 2.3671557c110.07273989 29.32642892 228.29901608-1.18357785 310.36041356-83.24497533 104.41786795-104.2863593 123.74963948-265.12143802 49.97328693-390.05465535z",special:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m220.16 343.26755556l-239.616 332.23111111c-14.44977778 20.13866667-44.37333333 20.13866667-58.82311111 0L291.84 481.16622222c-4.32355555-6.03022222 0-14.44977778 7.39555555-14.44977777h53.36177778c11.60533333 0 22.64177778 5.57511111 29.46844445 15.13244444l81.00977777 112.41244444 178.85866667-248.03555555c6.82666667-9.44355555 17.74933333-15.13244445 29.46844445-15.13244445H724.76444445c7.39555555 0 11.71911111 8.41955555 7.39555555 14.44977778z",special:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m218.45333333 537.03111112c0 5.00622222-4.096 9.10222222-9.10222222 9.10222222H302.64888889c-5.00622222 0-9.10222222-4.096-9.10222222-9.10222222v-54.61333334c0-5.00622222 4.096-9.10222222 9.10222222-9.10222222h418.70222222c5.00622222 0 9.10222222 4.096 9.10222222 9.10222222v54.61333334z",special:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m188.18844445 703.37422223l-75.09333334-0.34133333L512 570.48177778l-112.98133333 134.71288889-75.20711112 0.34133333c-5.00622222 0-9.10222222-3.98222222-9.10222222-9.10222222 0-2.16177778 0.79644445-4.20977778 2.16177778-5.91644445l148.02488889-176.35555555L316.87111111 337.92c-1.36533333-1.70666667-2.16177778-3.75466667-2.16177778-5.91644445 0-5.00622222 4.096-9.10222222 9.10222222-9.10222222l75.20711112 0.34133334L512 458.06933333l112.98133333-134.71288888 75.09333334-0.34133334c5.00622222 0 9.10222222 3.98222222 9.10222222 9.10222222 0 2.16177778-0.79644445 4.20977778-2.16177778 5.91644445L559.21777778 514.27555555l147.91111111 176.35555556c1.36533333 1.70666667 2.16177778 3.75466667 2.16177778 5.91644444 0 5.00622222-4.096 9.10222222-9.10222222 9.10222223z",special:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m218.45333333 537.03111112c0 5.00622222-4.096 9.10222222-9.10222222 9.10222222H548.40888889v172.94222222c0 5.00622222-4.096 9.10222222-9.10222222 9.10222222h-54.61333334c-5.00622222 0-9.10222222-4.096-9.10222222-9.10222222V548.40888889H302.64888889c-5.00622222 0-9.10222222-4.096-9.10222222-9.10222222v-54.61333334c0-5.00622222 4.096-9.10222222 9.10222222-9.10222222h172.94222222V302.64888889c0-5.00622222 4.096-9.10222222 9.10222222-9.10222222h54.61333334c5.00622222 0 9.10222222 4.096 9.10222222 9.10222222v172.94222222h172.94222222c5.00622222 0 9.10222222 4.096 9.10222222 9.10222222v54.61333334z",special:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m163.95377778 517.57511112L427.46311111 700.64355555c-1.59288889 1.13777778-3.41333333 1.70666667-5.34755556 1.70666667-5.00622222 0-9.10222222-4.096-9.10222222-9.10222222V331.88977778c0-1.93422222 0.56888889-3.75466667 1.70666667-5.34755556 2.95822222-4.096 8.64711111-5.00622222 12.74311111-2.048L675.95377778 505.17333333c0.79644445 0.56888889 1.47911111 1.25155555 2.048 2.048 2.95822222 3.98222222 2.048 9.67111111-2.048 12.62933334z",special:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m200.81777778 666.39644445l-32.54044445 44.37333333c-2.95822222 4.096-8.64711111 4.89244445-12.74311111 1.93422222L479.34577778 577.76355555c-2.38933333-1.70666667-3.75466667-4.43733333-3.75466667-7.39555555V257.13777778c0-5.00622222 4.096-9.10222222 9.10222222-9.10222223h54.72711112c5.00622222 0 9.10222222 4.096 9.10222222 9.10222223v281.6l162.24711111 117.30488889c4.096 2.84444445 5.00622222 8.53333333 2.048 12.62933333z",special:!0},{viewBox:[1024,1024],path:"M981.10577778 314.48177778c-25.6-61.09866667-62.464-115.93955555-109.34044445-163.04355556-46.87644445-46.99022222-101.60355555-83.968-162.70222222-109.568C646.59911111 15.58755555 580.38044445 2.27555555 512 2.27555555h-2.27555555c-68.83555555 0.34133333-135.39555555 13.99466667-198.08711112 40.84622223-60.52977778 25.94133333-114.80177778 62.80533333-161.22311111 109.79555555-46.42133333 46.99022222-82.83022222 101.60355555-108.08888889 162.47466667C16.27022222 378.42488889 3.072 445.44 3.41333333 514.38933333c0.34133333 78.96177778 19.22844445 157.35466667 54.49955556 227.44177778v172.94222222c0 28.89955555 23.43822222 52.33777778 52.224 52.33777778h172.71466666c69.97333333 35.38488889 148.13866667 54.272 226.98666667 54.61333334h2.38933333c68.03911111 0 133.91644445-13.19822222 196.03911112-39.02577778 60.75733333-25.37244445 115.37066667-61.78133333 162.13333333-108.31644445 46.87644445-46.53511111 83.74044445-100.92088889 109.568-161.56444444 26.73777778-62.80533333 40.39111111-129.59288889 40.73244445-198.54222223 0.22755555-69.29066667-13.19822222-136.53333333-39.59466667-199.79377777zM284.89955555 566.61333333c-30.03733333 0-54.49955555-24.46222222-54.49955555-54.61333333s24.46222222-54.61333333 54.49955555-54.61333333 54.49955555 24.46222222 54.49955556 54.61333333-24.34844445 54.61333333-54.49955556 54.61333333z m227.10044445 0c-30.03733333 0-54.49955555-24.46222222-54.49955555-54.61333333s24.46222222-54.61333333 54.49955555-54.61333333 54.49955555 24.46222222 54.49955555 54.61333333-24.46222222 54.61333333-54.49955555 54.61333333z m227.10044445 0c-30.03733333 0-54.49955555-24.46222222-54.49955556-54.61333333s24.46222222-54.61333333 54.49955556-54.61333333 54.49955555 24.46222222 54.49955555 54.61333333-24.46222222 54.61333333-54.49955555 54.61333333z",special:!0},{viewBox:[1024,1024],path:"M980.2224823 3.06251924H43.7775177c-22.52048353 0-40.71499847 18.19451494-40.71499846 40.71499846v936.4449646c0 22.52048353 18.19451494 40.71499847 40.71499846 40.71499846h936.4449646c22.52048353 0 40.71499847-18.19451494 40.71499846-40.71499846V43.7775177c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499846zM745.4750693 325.8561164l-267.95558363 371.52436096c-16.15876501 22.52048353-49.62140436 22.52048353-65.78016939 0L253.07805667 477.51948567c-4.83490607-6.74342161 0-16.15876501 8.27023406-16.15876499h59.67291961c12.97790576 0 25.31963967 6.23448413 32.95370188 16.92217123l90.59087157 125.70755774 200.01242995-277.37092701c7.63406221-10.56045272 19.84856175-16.92217125 32.95370189-16.92217124H737.20483524c8.27023407 0 13.10514012 9.41534338 8.27023406 16.158765z",special:!0},{viewBox:[1024,1024],path:"M980.2224823 3.06251924H43.7775177c-22.52048353 0-40.71499847 18.19451494-40.71499846 40.71499846v936.4449646c0 22.52048353 18.19451494 40.71499847 40.71499846 40.71499846h936.4449646c22.52048353 0 40.71499847-18.19451494 40.71499846-40.71499846V43.7775177c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499846zM756.28999077 542.53624885c0 5.59831228-4.58043732 10.17874961-10.17874962 10.17874962H277.88875885c-5.59831228 0-10.17874961-4.58043732-10.17874962-10.17874962v-61.0724977c0-5.59831228 4.58043732-10.17874961 10.17874962-10.17874962h468.2224823c5.59831228 0 10.17874961 4.58043732 10.17874962 10.17874962v61.0724977z",special:!0},{viewBox:[1024,1024],path:"M980.2224823 3.06251924H43.7775177c-22.52048353 0-40.71499847 18.19451494-40.71499846 40.71499846v936.4449646c0 22.52048353 18.19451494 40.71499847 40.71499846 40.71499846h936.4449646c22.52048353 0 40.71499847-18.19451494 40.71499846-40.71499846V43.7775177c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499846zM720.79160148 697.63494611c5.59831228 6.61618726 0.8906406 16.6677025-7.76129658 16.66770249h-74.94104404c-5.98001539 0-11.70556205-2.67192177-15.64982754-7.25235911L512 575.36271635l-110.43943332 131.68757314c-3.81703111 4.58043732-9.54257777 7.25235911-15.64982754 7.25235911H310.9696951c-8.65193717 0-13.35960887-10.05151525-7.76129658-16.66770249L458.81603326 512 303.20839852 326.36505389c-5.59831228-6.61618726-0.8906406-16.6677025 7.76129658-16.66770249h74.94104404c5.98001539 0 11.70556205 2.67192177 15.64982754 7.25235911L512 448.63728365l110.43943332-131.68757314c3.81703111-4.58043732 9.54257777-7.25235911 15.64982754-7.25235911H713.0303049c8.65193717 0 13.35960887 10.05151525 7.76129658 16.66770249L565.18396674 512l155.60763474 185.63494611z",special:!0},{viewBox:[1024,1024],path:"M980.2224823 3.06251924H43.7775177c-22.52048353 0-40.71499847 18.19451494-40.71499846 40.71499846v936.4449646c0 22.52048353 18.19451494 40.71499847 40.71499846 40.71499846h936.4449646c22.52048353 0 40.71499847-18.19451494 40.71499846-40.71499846V43.7775177c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499846zM677.02297814 523.19662459L423.31764398 722.70011704c-9.41534338 7.37959347-23.28388974 0.76340622-23.28388975-11.19662459V312.62374191c0-11.9600308 13.86854636-18.70345241 23.28388975-11.19662457l253.70533416 199.37625807c7.25235911 5.72554666 7.25235911 16.6677025 0 22.39324918z",special:!0},{viewBox:[1024,1024],path:"M980.2224823 3.06251924H43.7775177c-22.52048353 0-40.71499847 18.19451494-40.71499846 40.71499846v936.4449646c0 22.52048353 18.19451494 40.71499847 40.71499846 40.71499846h936.4449646c22.52048353 0 40.71499847-18.19451494 40.71499846-40.71499846V43.7775177c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499846zM756.28999077 542.53624885c0 5.59831228-4.58043732 10.17874961-10.17874962 10.17874962H552.71499847v193.39624268c0 5.59831228-4.58043732 10.17874961-10.17874962 10.17874962h-61.0724977c-5.59831228 0-10.17874961-4.58043732-10.17874962-10.17874962V552.71499847H277.88875885c-5.59831228 0-10.17874961-4.58043732-10.17874962-10.17874962v-61.0724977c0-5.59831228 4.58043732-10.17874961 10.17874962-10.17874962h193.39624268V277.88875885c0-5.59831228 4.58043732-10.17874961 10.17874962-10.17874962h61.0724977c5.59831228 0 10.17874961 4.58043732 10.17874962 10.17874962v193.39624268h193.39624268c5.59831228 0 10.17874961 4.58043732 10.17874962 10.17874962v61.0724977z",special:!0},{viewBox:[1024,1024],path:"M902.67315697 135.41705551L528.62204754 7.94466448C524.10877635 6.40354749 518.05438818 5.63298899 512 5.63298899s-12.10877635 0.7705585-16.62204754 2.31167549L121.32684303 135.41705551c-9.13662215 3.08223399-16.62204754 13.64989334-16.62204753 23.33691443v531.02488283c0 9.68702108 6.27454775 22.45627614 13.87005291 28.51066431L498.0198673 1013.9638196c3.85279247 2.9721542 8.8063828 4.51327118 13.87005291 4.51327118s10.12734022-1.54111698 13.87005291-4.51327118l379.4450189-295.67430252c7.59550517-5.94430839 13.87005291-18.71356345 13.87005291-28.51066431V158.75396994c0.22015956-9.68702108-7.26526581-20.14460066-16.40188796-23.33691443zM712.89560763 323.43332829L478.86598471 645.63685899c-7.04510625 9.68702108-21.57563786 9.68702108-28.6207441 0l-139.14084824-191.5388259c-4.18303182-5.8342286 0-13.9801327 7.15518603-13.9801327h60.76404132c5.61406904 0 11.0079785 2.75199463 14.31037204 7.26526582l71.22162091 97.97100864 166.11039557-228.74579323c3.30239355-4.51327118 8.58622323-7.26526581 14.31037204-7.26526581H705.7404216c7.15518602 0.11007979 11.33821785 8.25598388 7.15518603 14.09021248z",special:!0},{viewBox:[1024,1024],path:"M959.86498307 186.28001231H797.00498922v-101.78749614c0-44.91373267-36.51626425-81.42999692-81.42999691-81.42999693H308.42500769c-44.91373267 0-81.42999692 36.51626425-81.42999691 81.42999693v101.78749614H64.13501693c-22.52048353 0-40.71499847 18.19451494-40.71499846 40.71499847v40.71499845c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874962h76.8495596l31.42688945 665.43575611c2.03574992 43.38692024 37.91584233 77.61296581 81.30276254 77.6129658h577.64404066c43.5141546 0 79.26701262-34.09881122 81.30276254-77.6129658l31.42688945-665.43575611H990.40123192c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874962v-40.71499845c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499847z m-254.46874039 0H318.60375732v-91.60874653h386.79248536v91.60874653z",special:!0},{viewBox:[1024,1024],path:"M980.2224823 248.62485371H654.50249462V104.85001539c0-22.52048353-18.19451494-40.71499847-40.71499847-40.71499846H94.67126578v-50.89374808c0-5.59831228-4.58043732-10.17874961-10.17874961-10.17874961h-71.25124732c-5.59831228 0-10.17874961 4.58043732-10.17874961 10.17874961v997.5174623c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874961h71.25124732c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874961V674.85999383h315.54123807v143.77483833c0 22.52048353 18.19451494 40.71499847 40.71499846 40.71499846h529.29497999c22.52048353 0 40.71499847-18.19451494 40.71499846-40.71499846V289.33985217c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499846z",special:!0},{viewBox:[1024,1024],path:"M804.63905145 265.16532183V94.67126578h109.42155836c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874961v-71.25124732c0-5.59831228-4.58043732-10.17874961-10.17874961-10.17874961H109.93939019c-5.59831228 0-10.17874961 4.58043732-10.17874961 10.17874961v71.25124732c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874961h109.42155836v170.49405605c0 103.6960117 53.94737296 194.92305513 135.3773699 246.83467817-81.42999692 51.91162303-135.37736988 143.13866646-135.3773699 246.83467817v170.49405605h-109.42155836c-5.59831228 0-10.17874961 4.58043732-10.17874961 10.17874961v71.25124732c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874961h804.12121962c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874961v-71.25124732c0-5.59831228-4.58043732-10.17874961-10.17874961-10.17874961h-109.42155836V758.83467817c0-103.6960117-53.94737296-194.92305513-135.3773699-246.83467817 81.42999692-51.91162303 135.37736988-143.13866646 135.3773699-246.83467817z",special:!0},{viewBox:[1024,1024],path:"M1020.928 448.44373333l-35.36213334-373.4528c-1.79200001-19.3536-17.2032-34.64533332-36.55679999-36.55679999L575.55626667 3.072h-0.47786666c-3.82293334 0-6.8096 1.19466667-9.07946669 3.46453333L6.53653333 565.99893332c-4.65919999 4.65919999-4.65919999 12.1856 0 16.84480001l434.61973334 434.61973334c2.26986667 2.26986667 5.25653333 3.46453333 8.48213333 3.46453333s6.21226667-1.19466667 8.48213333-3.46453333l559.46239999-559.46239999c2.38933332-2.5088 3.584-5.97333334 3.34506668-9.55733335zM735.40266668 362.66666667c-42.17173333 0-76.45866667-34.28693333-76.45866667-76.45866667s34.28693333-76.45866667 76.45866667-76.45866667 76.45866667 34.28693333 76.45866665 76.45866667-34.28693333 76.45866667-76.45866665 76.45866667z",special:!0}]},{type:"线性",children:[{viewBox:[1024,1024],path:"M1009.55537674 75.96950982l-61.38012212-61.38012214c-4.48769762-4.48769762-11.870684-4.48769762-16.3583816 0L14.44462326 931.67210859c-4.48769762 4.48769762-4.48769762 11.870684 0 16.35838159l61.38012212 61.38012214c4.48769762 4.48769762 11.870684 4.48769762 16.3583816 0L1009.41061232 92.18312698c4.63246205-4.34293316 4.63246205-11.72591956 0.14476442-16.21361716zM210.88996692 419.35075905c114.94296453 0 208.46079213-93.51782759 208.46079213-208.46079213s-93.51782759-208.46079213-208.46079213-208.4607921-208.46079213 93.51782759-208.4607921 208.4607921 93.51782759 208.46079213 208.4607921 208.46079213z m0-312.69118816c57.47148228 0 104.23039605 46.75891379 104.23039607 104.23039603s-46.75891379 104.23039605-104.23039607 104.23039607-104.23039605-46.75891379-104.23039603-104.23039607 46.75891379-104.23039605 104.23039603-104.23039603zM813.11003308 604.64924095c-114.94296453 0-208.46079213 93.51782759-208.46079213 208.46079213s93.51782759 208.46079213 208.46079213 208.4607921 208.46079213-93.51782759 208.4607921-208.4607921-93.51782759-208.46079213-208.4607921-208.46079213z m0 312.69118816c-57.47148228 0-104.23039605-46.75891379-104.23039607-104.23039603s46.75891379-104.23039605 104.23039607-104.23039607 104.23039605 46.75891379 104.23039603 104.23039607-46.75891379 104.23039605-104.23039603 104.23039603z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M1004.96017383 478.58365209L483.27851088 25.80594621c-4.00443838-3.45210207-9.11354943-5.3852792-14.49882864-5.38527921h-122.20441284c-10.21822208 0-14.91308089 12.70373557-7.18037228 19.33177152l483.57045622 419.77561022H14.8973037c-6.07569962 0-11.04672658 4.97102697-11.04672658 11.04672657v82.85044938c0 6.07569962 4.97102697 11.04672658 11.04672658 11.04672657h807.92996557L339.25681303 984.24756148c-7.7327086 6.76612003-3.0378498 19.33177153 7.18037229 19.33177152h126.34693531c2.62359757 0 5.24719513-0.96658859 7.18037228-2.76168164L1004.96017383 545.41634791c20.2983601-17.67476253 20.2983601-49.1579333 0-66.83269582z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M1011.38217956 558.9924242L545.80649025 22.43713295c-17.81503843-20.62055629-49.79794206-20.62055629-67.75325638 0L12.61782044 558.9924242c-6.31241519 7.29434645-1.12220714 18.51641789 8.41655359 18.51641789h113.62347344c6.45269109 0 12.62483038-2.80551785 16.97338308-7.71517411L458.69516062 215.87758959V1005.77114384c0 6.1721393 5.04993216 11.22207145 11.22207144 11.22207145h84.16553588c6.1721393 0 11.22207145-5.04993216 11.22207144-11.22207145V215.87758959l307.06393007 353.91607839c4.20827679 4.90965626 10.38041608 7.71517413 16.97338308 7.71517411h113.62347344c9.53876074 0 14.72896878-11.22207145 8.41655359-18.51641789z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M1009.1026963 459.52804874H201.17273073l483.57045624-419.77561022c7.7327086-6.76612003 3.0378498-19.33177153-7.18037229-19.33177152h-122.20441283c-5.3852792 0-10.49439025 1.93317715-14.49882866 5.38527921L19.03982617 478.58365209c-20.2983601 17.67476253-20.2983601 49.1579333 0 66.69461175L543.89742302 1000.81765136c2.07126124 1.79509307 4.55677472 2.76168163 7.18037228 2.76168164h126.3469353c10.21822208 0 14.91308089-12.70373557 7.18037228-19.33177152L201.17273073 564.47195126H1009.1026963c6.07569962 0 11.04672658-4.97102697 11.04672658-11.04672657v-82.85044938c0-6.07569962-4.97102697-11.04672658-11.04672658-11.04672657z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M1002.96562597 446.49115791h-113.62347344c-6.45269109 0-12.62483038 2.80551785-16.97338308 7.71517411L565.30483938 808.12241041V18.22885616c0-6.1721393-5.04993216-11.22207145-11.22207144-11.22207145h-84.16553588c-6.1721393 0-11.22207145 5.04993216-11.22207144 11.22207145v789.89355425L151.63123055 454.20633202c-4.20827679-4.90965626-10.38041608-7.71517413-16.97338308-7.71517411h-113.62347344c-9.53876074 0-14.72896878 11.36234735-8.41655359 18.51641789L478.19350975 1001.56286705c17.81503843 20.62055629 49.79794206 20.62055629 67.75325638 0L1011.38217956 465.0075758c6.31241519-7.29434645 1.12220714-18.51641789-8.41655359-18.51641789z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M975.82443246 622.46726585H14.8973037c-6.07569962 0-11.04672658 4.97102697-11.04672658 11.04672658v82.85044937c0 6.07569962 4.97102697 11.04672658 11.04672658 11.04672659h835.6848661L651.32683905 980.10503902c-5.66144737 7.18037229-0.55233633 17.9509307 8.69929718 17.9509307h100.11095967c6.76612003 0 13.11798782-3.0378498 17.39859437-8.42312903l233.08593092-295.63802022c22.78387358-28.99765728 2.20934532-71.52755463-34.79718873-71.52755462zM1009.1026963 296.58883161H173.4178302l199.25533075-252.69387063c5.66144737-7.18037229 0.55233633-17.9509307-8.69929718-17.9509307h-100.11095967c-6.76612003 0-13.11798782 3.0378498-17.39859437 8.42312903L13.37837881 330.00517953c-22.78387358 28.99765728-2.20934532 71.52755463 34.65910466 71.52755462h961.06521283c6.07569962 0 11.04672658-4.97102697 11.04672658-11.04672658v-82.85044937c0-6.07569962-4.97102697-11.04672658-11.04672658-11.04672659z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M1010.75873115 64.13501693H13.24126885c-5.59831228 0-10.17874961 4.58043732-10.17874961 10.17874961v81.42999691c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874964h997.5174623c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874964v-81.42999691c0-5.59831228-4.58043732-10.17874961-10.17874961-10.17874961zM1010.75873115 858.07748691H13.24126885c-5.59831228 0-10.17874961 4.58043732-10.17874961 10.17874964v81.42999691c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874961h997.5174623c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874961v-81.42999691c0-5.59831228-4.58043732-10.17874961-10.17874961-10.17874964zM1010.75873115 461.10625194H13.24126885c-5.59831228 0-10.17874961 4.58043732-10.17874961 10.17874959v81.42999694c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874959h997.5174623c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874959v-81.42999694c0-5.59831228-4.58043732-10.17874961-10.17874961-10.17874959z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M591.98717801 512l405.34042913-483.16579151c6.79427767-8.02960089 1.08090782-20.22841761-9.41933951-20.2284176h-123.22349044c-7.25752386 0-14.20621693 3.24272343-18.99309439 8.80167789L511.38233839 415.95362022 177.07299399 17.40746878c-4.63246205-5.55895447-11.58115512-8.80167789-18.99309439-8.80167789H34.85640916c-10.50024731 0-16.21361717 12.19881672-9.41933952 20.2284176L430.77749876 512 25.43706964 995.16579151c-6.79427767 8.02960089-1.08090782 20.22841761 9.41933952 20.2284176h123.22349044c7.25752386 0 14.20621693-3.24272343 18.99309439-8.80167789l334.3093444-398.54615144 334.30934441 398.54615144c4.63246205 5.55895447 11.58115512 8.80167789 18.99309439 8.80167789h123.22349044c10.50024731 0 16.21361717-12.19881672 9.41933951-20.2284176L591.98717801 512z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M953.5488 832.61667556c-24.08448-57.08913778-58.74574221-108.31644445-102.70947556-152.28017777-43.96373333-43.96373333-95.19104-78.49756444-152.28017777-102.70947558-0.50972445-0.25486222-1.01944888-0.38229333-1.52917334-0.63715555C776.41955556 519.64586667 828.02915556 426.23886221 828.02915556 320.85333332c0-174.58062221-141.44853334-316.02915556-316.02915556-316.02915554S195.97084444 146.27271111 195.97084444 320.85333332c0 105.38552889 51.6096 198.79253333 130.99918223 256.26396447-0.50972445 0.25486222-1.01944888 0.38229333-1.52917334 0.63715555-57.08913778 24.08448-108.31644445 58.61831112-152.28017777 102.70947554-43.96373333 43.96373333-78.49756444 95.19104-102.70947556 152.28017779C46.74901333 888.55893332 34.13333334 947.8144 32.85902222 1008.72647111c-0.12743111 5.7344 4.46008889 10.44935111 10.19448889 10.44935111h76.45866667c5.60696888 0 10.06705778-4.46008889 10.19448889-9.93962666 2.54862221-98.37681778 42.05226667-190.50951112 111.88451555-260.34176001 72.25344-72.25344 168.20906666-112.01194667 270.40881778-112.01194667s198.15537778 39.75850667 270.40881778 112.01194667C852.24106667 818.72668444 891.74471111 910.85937779 894.29333333 1009.23619556c0.12743111 5.60696888 4.58752 9.93962667 10.19448889 9.93962666h76.45866667c5.7344 0 10.32192-4.71495112 10.19448889-10.44935111-1.27431111-60.91207112-13.88999112-120.16753779-37.59217778-176.10979555zM512 540.03484444c-58.49088 0-113.54112-22.81016889-154.95623111-64.22527999S292.81848888 379.34421333 292.81848888 320.85333332c0-58.49088 22.81016889-113.54112 64.22528001-154.9562311S453.50912 101.67182221 512 101.67182221s113.54112 22.81016889 154.95623111 64.22528001S731.18151112 262.36245333 731.18151112 320.85333332c0 58.49088-22.81016889 113.54112-64.22528001 154.95623113S570.49088 540.03484444 512 540.03484444z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M985.31555555 111.50222222H38.68444445c-20.13866667 0-36.40888889 16.27022222-36.4088889 36.40888889v728.17777778c0 20.13866667 16.27022222 36.40888889 36.4088889 36.40888889h946.6311111c20.13866667 0 36.40888889-16.27022222 36.4088889-36.40888889V147.91111111c0-20.13866667-16.27022222-36.40888889-36.4088889-36.40888889z m-45.5111111 126.06577778V830.57777778H84.19555555V237.568l-31.40266666-24.46222222 44.71466666-57.45777778 48.6968889 37.888h731.70488888l48.69688889-37.888 44.71466667 57.45777778-31.51644444 24.46222222z M877.90933333 193.42222222L512 477.86666667 146.09066667 193.42222222l-48.69688889-37.888-44.71466667 57.45777778 31.40266667 24.46222222 388.66488889 302.19377778c22.98311111 17.86311111 55.18222222 17.86311111 78.16533333 0L939.80444445 237.568l31.40266666-24.46222222-44.71466666-57.45777778-48.58311112 37.77422222z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M985.31555555 88.74666667H38.68444445c-20.13866667 0-36.40888889 16.27022222-36.4088889 36.40888888v564.33777778c0 20.13866667 16.27022222 36.40888889 36.4088889 36.40888889h432.35555555v127.43111111H275.34222222c-10.01244445 0-18.20444445 8.192-18.20444444 18.20444445v54.61333333c0 5.00622222 4.096 9.10222222 9.10222222 9.10222222h491.52c5.00622222 0 9.10222222-4.096 9.10222222-9.10222222v-54.61333333c0-10.01244445-8.192-18.20444445-18.20444444-18.20444445H552.96V725.90222222h432.35555555c20.13866667 0 36.40888889-16.27022222 36.4088889-36.40888889V125.15555555c0-20.13866667-16.27022222-36.40888889-36.4088889-36.40888888z m-45.5111111 555.23555555H84.19555555V170.66666667h855.6088889v473.31555555z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m0 932.97777778c-233.69955555 0-423.25333333-189.55377778-423.25333333-423.25333333 0-101.26222222 35.61244445-194.33244445 95.00444444-267.15022222l595.39911111 595.39911111C706.33244445 899.64088889 613.26222222 935.25333333 512 935.25333333z m328.24888889-156.10311111L244.84977778 183.75111111C317.66755555 124.35911111 410.73777778 88.74666667 512 88.74666667c233.69955555 0 423.25333333 189.55377778 423.25333333 423.25333333 0 101.26222222-35.61244445 194.33244445-95.00444444 267.15022222z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M901.80266667 257.82044445L656.95288889 12.97066667c-6.82666667-6.82666667-16.04266667-10.69511111-25.71377778-10.69511112H147.91111111c-20.13866667 0-36.40888889 16.27022222-36.40888889 36.4088889v946.6311111c0 20.13866667 16.27022222 36.40888889 36.40888889 36.4088889h728.17777778c20.13866667 0 36.40888889-16.27022222 36.40888889-36.4088889V283.648c0-9.67111111-3.86844445-19.00088889-10.69511111-25.82755555zM828.52977778 300.37333333H614.4V86.24355555L828.52977778 300.37333333z m2.048 639.43111112H193.42222222V84.19555555h343.60888889v245.76c0 26.39644445 21.39022222 47.78666667 47.78666667 47.78666667h245.76v562.06222223z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M981.07392 55.79662222H42.92608c-31.22062222 0-50.71758221 34.02410666-35.04355556 61.16693334L304.28728889 620.82616888V927.42542221c0 22.55530667 18.09521779 40.77795555 40.52309333 40.77795557h334.37923556c22.42787556 0 40.52309333-18.22264888 40.52309333-40.77795557V620.82616888L1016.24490667 116.96355556c15.54659555-27.14282666-3.95036444-61.16693333-35.17098667-61.16693334zM628.47203556 876.45297779H395.52796444V677.66044445h233.07150222v198.79253334z m12.23338666-301.50200891l-12.10595556 21.15356445h-233.19893332l-12.10595556-21.15356445L130.59868445 147.54702221h762.8026311L640.70542222 574.95096888z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M980.62285431 4.54099753H654.39920987c-4.2719763 0-7.76722963 3.49525333-7.76722962 7.76722964v72.4941432c0 4.2719763 3.49525333 7.76722963 7.76722962 7.76722963h207.64393877L604.04167111 350.57107753c-64.72691358-49.83972347-143.69374815-76.7661195-226.67365136-76.7661195-99.54999309 0-193.27456395 38.83614815-263.5679921 109.25903012S4.54099753 547.08198717 4.54099753 646.63198025s38.83614815 193.27456395 109.25903012 263.5679921C184.09345581 980.62285431 277.81802667 1019.45900247 377.36801975 1019.45900247s193.27456395-38.83614815 263.5679921-109.25903012C711.35889383 839.90654419 750.19504197 746.18197333 750.19504197 646.63198025c0-82.9799032-26.92639605-161.68783013-76.63666567-226.41474372L931.4304 162.34521283V369.60079013c0 4.2719763 3.49525333 7.76722963 7.76722963 7.76722962h72.4941432c4.2719763 0 7.76722963-3.49525333 7.76722964-7.76722962V43.37714569c0-21.35988148-17.47626667-38.83614815-38.83614816-38.83614816zM377.36801975 921.07409383c-151.33152395 0-274.44211358-123.11058963-274.44211358-274.44211358s123.11058963-274.44211358 274.44211358-274.44211358 274.44211358 123.11058963 274.44211358 274.44211358-123.11058963 274.44211358-274.44211358 274.44211358z",special:!0,outlined:!0}]}],_T={bar:"柱状图",column:"条形图",line:"折线图",area:"面积图",scatter:"散点图",pie:"饼图",ring:"环形图",radar:"雷达图"},B2e={bar:{labels:["类别1","类别2","类别3","类别4","类别5"],legends:["系列1","系列2"],series:[[12,19,5,2,18],[7,11,13,21,9]]},column:{labels:["类别1","类别2","类别3","类别4","类别5"],legends:["系列1","系列2"],series:[[12,19,5,2,18],[7,11,13,21,9]]},line:{labels:["类别1","类别2","类别3","类别4","类别5"],legends:["系列1","系列2"],series:[[12,19,5,2,18],[7,11,13,21,9]]},pie:{labels:["类别1","类别2","类别3","类别4","类别5"],legends:["值"],series:[[12,19,5,2,18]]},ring:{labels:["类别1","类别2","类别3","类别4","类别5"],legends:["值"],series:[[12,19,5,2,18]]},area:{labels:["类别1","类别2","类别3","类别4","类别5"],legends:["系列1","系列2"],series:[[12,19,5,2,18],[7,11,13,21,9]]},radar:{labels:["类别1","类别2","类别3","类别4","类别5"],legends:["系列1","系列2"],series:[[12,19,5,2,18],[7,11,13,21,9]]},scatter:{labels:["坐标1","坐标2","坐标3","坐标4","坐标5"],legends:["X","Y"],series:[[12,19,5,2,18],[7,11,13,21,9]]}},Y2e=[["#d87c7c","#919e8b","#d7ab82","#6e7074","#61a0a8","#efa18d"],["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78"],["#516b91","#59c4e6","#edafda","#93b7e3","#a5e7f0","#cbb0e3"],["#893448","#d95850","#eb8146","#ffb248","#f2d643","#ebdba4"],["#4ea397","#22c3aa","#7bd9a5","#d0648a","#f58db2","#f2b3c9"],["#3fb1e3","#6be6c1","#626c91","#a0a7e6","#c4ebad","#96dee8"],["#fc97af","#87f7cf","#f7f494","#72ccff","#f7c5a0","#d4a4eb"],["#c1232b","#27727b","#fcce10","#e87c25","#b5c334","#fe8463"],["#2ec7c9","#b6a2de","#5ab1ef","#ffb980","#d87a80","#8d98b3"],["#e01f54","#001852","#f5e8c8","#b8d2c7","#c6b38e","#a4d8c2"],["#c12e34","#e6b600","#0098d9","#2b821d","#005eaa","#339ca8"],["#8a7ca8","#e098c7","#8fd3e8","#71669e","#cc70af","#7cb4cc"]],nn=()=>{const e=JS(),t=Yn.debounce(function(){e.addSnapshot()},300,{trailing:!0}),n=Yn.throttle(function(){e.reDo()},100,{leading:!0,trailing:!1}),r=Yn.throttle(function(){e.unDo()},100,{leading:!0,trailing:!1});return{addHistorySnapshot:t,redo:n,undo:r}},c0=()=>{const e=ht(),t=lt(),{creatingElement:n}=De(e),{theme:r,viewportRatio:i,viewportSize:o}=De(t),{addHistorySnapshot:a}=nn(),s=(m,y)=>{t.addElement(m),e.setActiveElementIdList([m.id]),n.value&&e.setCreatingElement(null),setTimeout(()=>{e.setEditorareaFocus(!0)},0),y&&y(),a()};return{createImageElement:m=>{WH(m).then(({width:y,height:R})=>{const A=R/y;A<i.value&&y>o.value?(y=o.value,R=y*A):R>o.value*i.value&&(R=o.value*i.value,y=R/A),s({type:"image",id:on(10),src:m,width:y,height:R,left:(o.value-y)/2,top:(o.value*i.value-R)/2,fixedRatio:!0,rotate:0})})},createChartElement:m=>{s({type:"chart",id:on(10),chartType:m,left:300,top:81.25,width:400,height:400,rotate:0,themeColors:[r.value.themeColor],textColor:r.value.fontColor,data:B2e[m]})},createTableElement:(m,y)=>{const R={fontname:r.value.fontName,color:r.value.fontColor},A=[];for(let L=0;L<m;L++){const k=[];for(let P=0;P<y;P++)k.push({id:on(10),colspan:1,rowspan:1,text:"",style:R});A.push(k)}const x=100,S=36,_=new Array(y).fill(1/y),M=y*x,w=m*S;s({type:"table",id:on(10),width:M,height:w,colWidths:_,rotate:0,data:A,left:(o.value-M)/2,top:(o.value*i.value-w)/2,outline:{width:2,style:"solid",color:"#eeece1"},theme:{color:r.value.themeColor,rowHeader:!0,rowFooter:!1,colHeader:!1,colFooter:!1},cellMinHeight:36})},createTextElement:(m,y)=>{const{left:R,top:A,width:x,height:S}=m,_=(y==null?void 0:y.content)||"",M=(y==null?void 0:y.vertical)||!1,w=on(10);s({type:"text",id:w,left:R,top:A,width:x,height:S,content:_,rotate:0,defaultFontName:r.value.fontName,defaultColor:r.value.fontColor,vertical:M},()=>{setTimeout(()=>{const L=document.querySelector(`#editable-element-${w} .ProseMirror`);L&&L.focus()},0)})},createShapeElement:(m,y,R={})=>{const{left:A,top:x,width:S,height:_}=m,M={type:"shape",id:on(10),left:A,top:x,width:S,height:_,viewBox:y.viewBox,path:y.path,fill:r.value.themeColor,fixedRatio:!1,rotate:0,...R};if(y.withborder&&(M.outline=r.value.outline),y.special&&(M.special=!0),y.pathFormula){M.pathFormula=y.pathFormula,M.viewBox=[S,_];const w=u0[y.pathFormula];"editable"in w&&w.editable?(M.path=w.formula(S,_,w.defaultValue),M.keypoints=w.defaultValue):M.path=w.formula(S,_)}s(M)},createLineElement:(m,y)=>{const{left:R,top:A,start:x,end:S}=m,_={type:"line",id:on(10),left:R,top:A,start:x,end:S,points:y.points,color:r.value.themeColor,style:y.style,width:2};y.isBroken&&(_.broken=[(x[0]+S[0])/2,(x[1]+S[1])/2]),y.isBroken2&&(_.broken2=[(x[0]+S[0])/2,(x[1]+S[1])/2]),y.isCurve&&(_.curve=[(x[0]+S[0])/2,(x[1]+S[1])/2]),y.isCubic&&(_.cubic=[[(x[0]+S[0])/2,(x[1]+S[1])/2],[(x[0]+S[0])/2,(x[1]+S[1])/2]]),s(_)},createLatexElement:m=>{s({type:"latex",id:on(10),width:m.w,height:m.h,rotate:0,left:(o.value-m.w)/2,top:(o.value*i.value-m.h)/2,path:m.path,latex:m.latex,color:r.value.fontColor,strokeWidth:2,viewBox:[m.w,m.h],fixedRatio:!0})},createVideoElement:m=>{s({type:"video",id:on(10),width:500,height:300,rotate:0,left:(o.value-500)/2,top:(o.value*i.value-300)/2,src:m,autoplay:!1})},createAudioElement:m=>{s({type:"audio",id:on(10),width:50,height:50,rotate:0,left:(o.value-50)/2,top:(o.value*i.value-50)/2,loop:!1,autoplay:!1,fixedRatio:!0,color:r.value.themeColor,src:m})}}},Q2=()=>{const e=ht(),t=lt(),{currentSlide:n}=De(t),{addHistorySnapshot:r}=nn();return{addElementsFromData:a=>{const{groupIdMap:s,elIdMap:l}=TT(a),u=a[0];let c=0,f;do f=n.value.elements.find(d=>{if(d.type!==u.type)return!1;const{minX:h,maxX:p,minY:v,maxY:g}=hs(d),{minX:m,maxX:y,minY:R,maxY:A}=hs({...u,left:u.left+c,top:u.top+c});return h===m&&p===y&&v===R&&g===A}),f&&(c+=10);while(f);for(const d of a)d.id=l[d.id],d.left=d.left+c,d.top=d.top+c,d.groupId&&(d.groupId=s[d.groupId]);t.addElement(a),e.setActiveElementIdList(Object.values(l)),r()},addSlidesFromData:a=>{const s=W2e(a),l=a.map(u=>{const{groupIdMap:c,elIdMap:f}=TT(u.elements);for(const d of u.elements)d.id=f[d.id],d.groupId&&(d.groupId=c[d.groupId]),d.link&&d.link.type==="slide"&&(s[d.link.target]?d.link.target=s[d.link.target]:delete d.link);if(u.animations)for(const d of u.animations)d.id=on(10),d.elId=f[d.elId];return{...u,id:s[u.id]}});t.addSlide(l),r()}}},Z2e=e=>{const t=/^https?:\/\/(?:[a-zA-Z0-9-]+\.)*pexels\.com\/[^\s]+\.(?:jpg|jpeg|png|svg|webp)(?:\?.*)?$/i.test(e),n=/^https?:\/\/(?:[a-zA-Z0-9-]+\.)*pptist\.cn\/[^\s]+\.(?:jpg|jpeg|png|svg|webp)(?:\?.*)?$/i.test(e);return t||n},KO=()=>{const{shiftKeyState:e}=De(pl()),{createTextElement:t,createImageElement:n}=c0(),{addElementsFromData:r,addSlidesFromData:i}=Q2(),o=s=>{t({left:0,top:0,width:600,height:50},{content:s})};return{pasteTextClipboardData:(s,l)=>{const u=(l==null?void 0:l.onlySlide)||!1,c=(l==null?void 0:l.onlyElements)||!1,f=ZO(s);if(typeof f=="object"){const{type:d,data:h}=f;d==="elements"&&!u?r(h):d==="slides"&&!c&&i(h)}else if(!c&&!u)if(e.value){const d=Sx(f);o(d)}else if(Z2e(f))n(f);else if(jpe(f))o(`<a href="${f}" title="${f}" target="_blank">${f}</a>`);else if(D2e(f)){const d=U2e(f);sd(d).then(h=>n(h))}else{const d=Sx(f);o(d)}}}},gc=()=>{const e=ht(),t=lt(),{selectedSlidesIndex:n,activeElementIdList:r}=De(e),{currentSlide:i,slides:o,theme:a,slideIndex:s}=De(t),l=Se(()=>[...n.value,s.value]),u=Se(()=>o.value.filter((L,k)=>l.value.includes(k))),c=Se(()=>u.value.map(L=>L.id)),{pasteTextClipboardData:f}=KO(),{addSlidesFromData:d}=Q2(),{addHistorySnapshot:h}=nn(),p=()=>{const L={id:on(10),elements:[],background:{type:"solid",color:a.value.backgroundColor}};t.updateSlideIndex(0),e.setActiveElementIdList([]),t.setSlides([L])},v=L=>{L===At.UP&&s.value>0?(r.value.length&&e.setActiveElementIdList([]),t.updateSlideIndex(s.value-1)):L===At.DOWN&&s.value<o.value.length-1&&(r.value.length&&e.setActiveElementIdList([]),t.updateSlideIndex(s.value+1))},g=()=>{const L=YO(JSON.stringify({type:"slides",data:u.value}));NH(L).then(()=>{e.setThumbnailsFocus(!0)})},m=()=>{FH().then(L=>{f(L,{onlySlide:!0})}).catch(L=>gn.warning(L))},y=()=>{const L={id:on(10),elements:[],background:{type:"solid",color:a.value.backgroundColor}};e.setActiveElementIdList([]),t.addSlide(L),h()},R=L=>{const{groupIdMap:k,elIdMap:P}=TT(L.elements);for(const C of L.elements)C.id=P[C.id],C.groupId&&(C.groupId=k[C.groupId]);const F={...L,id:on(10)};e.setActiveElementIdList([]),t.addSlide(F),h()},A=()=>{const L=JSON.parse(JSON.stringify(i.value));d([L])},x=(L=c.value)=>{o.value.length===L.length?p():t.deleteSlide(L),e.updateSelectedSlidesIndex([]),h()},S=()=>{const L=[...c.value];g(),x(L)},_=()=>{const L=Array.from(Array(o.value.length),(k,P)=>P);e.setActiveElementIdList([]),e.updateSelectedSlidesIndex(L)},M=(L,k)=>{if(k===L)return;const P=JSON.parse(JSON.stringify(o.value)),F=P[k],C=F.sectionTag;if(C){const I=P[k+1];delete F.sectionTag,I&&!I.sectionTag&&(I.sectionTag=C)}if(L===0){const I=P[0].sectionTag;I&&(delete P[0].sectionTag,F.sectionTag=I)}const N=P[k];P.splice(k,1),P.splice(L,0,N),t.setSlides(P),t.updateSlideIndex(L)},w=Se(()=>!(o.value.length>1||o.value[0].elements.length>0));return{resetSlides:p,updateSlideIndex:v,copySlide:g,pasteSlide:m,createSlide:y,createSlideByTemplate:R,copyAndPasteSlide:A,deleteSlide:x,cutSlide:S,selectAllSlide:_,sortSlides:M,isEmptySlide:w}},VH=()=>{const e=ht(),t=lt(),{activeElementIdList:n}=De(e),{currentSlide:r}=De(t),{addHistorySnapshot:i}=nn();return{lockElement:()=>{const s=JSON.parse(JSON.stringify(r.value.elements));for(const l of s)n.value.includes(l.id)&&(l.lock=!0);t.updateSlide({elements:s}),e.setActiveElementIdList([]),i()},unlockElement:s=>{const l=JSON.parse(JSON.stringify(r.value.elements));if(s.groupId){const u=[];for(const c of l)c.groupId===s.groupId&&(c.lock=!1,u.push(c.id));t.updateSlide({elements:l}),e.setActiveElementIdList(u)}else{for(const u of l)if(u.id===s.id){u.lock=!1;break}t.updateSlide({elements:l}),e.setActiveElementIdList([s.id])}i()}}},H2=()=>{const e=ht(),t=lt(),{activeElementIdList:n,activeGroupElementId:r}=De(e),{currentSlide:i}=De(t),{addHistorySnapshot:o}=nn();return{deleteElement:()=>{if(!n.value.length)return;let l=[];r.value?l=i.value.elements.filter(u=>u.id!==r.value):l=i.value.elements.filter(u=>!n.value.includes(u.id)),e.setActiveElementIdList([]),t.updateSlide({elements:l}),o()},deleteAllElements:()=>{i.value.elements.length&&(e.setActiveElementIdList([]),t.updateSlide({elements:[]}),o())}}},GO=()=>{const e=ht(),t=lt(),{activeElementIdList:n,activeElementList:r,handleElementId:i}=De(e),{currentSlide:o}=De(t),{addHistorySnapshot:a}=nn();return{canCombine:Se(()=>{if(r.value.length<2)return!1;const c=r.value[0].groupId;return c?!r.value.every(d=>(d.groupId&&d.groupId)===c):!0}),combineElements:()=>{if(!r.value.length)return;let c=JSON.parse(JSON.stringify(o.value.elements));const f=on(10),d=[];for(const g of c)n.value.includes(g.id)&&(g.groupId=f,d.push(g));const h=c.findIndex(g=>g.id===d[d.length-1].id),p=d.map(g=>g.id);c=c.filter(g=>!p.includes(g.id));const v=h-d.length+1;c.splice(v,0,...d),t.updateSlide({elements:c}),a()},uncombineElements:()=>{if(!r.value.length||!r.value.some(h=>h.groupId))return;const f=JSON.parse(JSON.stringify(o.value.elements));for(const h of f)n.value.includes(h.id)&&h.groupId&&delete h.groupId;t.updateSlide({elements:f});const d=i.value?[i.value]:[];e.setActiveElementIdList(d),a()}}},zO=()=>{const e=ht(),{activeElementIdList:t,activeElementList:n}=De(e),{pasteTextClipboardData:r}=KO(),{deleteElement:i}=H2(),o=()=>{if(!t.value.length)return;const u=YO(JSON.stringify({type:"elements",data:n.value}));NH(u).then(()=>{e.setEditorareaFocus(!0)})},a=()=>{o(),i()},s=()=>{FH().then(u=>{r(u)}).catch(u=>gn.warning(u))};return{copyElement:o,cutElement:a,pasteElement:s,quickCopyElement:()=>{o(),s()}}},i3=()=>{const e=ht(),{currentSlide:t}=De(lt()),{hiddenElementIdList:n,handleElementId:r}=De(e);return{selectAllElements:()=>{const s=t.value.elements.filter(l=>!l.lock&&!n.value.includes(l.id)).map(l=>l.id);e.setActiveElementIdList(s)},selectElement:a=>{r.value===a||n.value.includes(a)||t.value.elements.filter(l=>l.lock).some(l=>l.id===a)||e.setActiveElementIdList([a])}}},Q2e=()=>{const e=lt(),{activeElementIdList:t,activeGroupElementId:n}=De(ht()),{currentSlide:r}=De(e),{addHistorySnapshot:i}=nn();return{moveElement:(a,s=1)=>{let l=[];const u=c=>{let{left:f,top:d}=c;switch(a){case At.LEFT:f=f-s;break;case At.RIGHT:f=f+s;break;case At.UP:d=d-s;break;case At.DOWN:d=d+s;break}return{...c,left:f,top:d}};n.value?l=r.value.elements.map(c=>n.value===c.id?u(c):c):l=r.value.elements.map(c=>t.value.includes(c.id)?u(c):c),e.updateSlide({elements:l}),i()}}},K2=()=>{const e=lt(),{currentSlide:t}=De(e),{addHistorySnapshot:n}=nn(),r=(u,c)=>({minLevel:u.findIndex(f=>f.id===c[0].id),maxLevel:u.findIndex(f=>f.id===c[c.length-1].id)}),i=(u,c)=>{const f=JSON.parse(JSON.stringify(u));if(c.groupId){const d=f.filter(m=>m.groupId===c.groupId),{minLevel:h,maxLevel:p}=r(u,d);if(p===u.length-1)return;const v=f[p+1],g=f.splice(h,d.length);if(v.groupId){const m=f.filter(y=>y.groupId===v.groupId);f.splice(h+m.length,0,...g)}else f.splice(h+1,0,...g)}else{const d=u.findIndex(v=>v.id===c.id);if(d===u.length-1)return;const h=f[d+1],p=f.splice(d,1)[0];if(h.groupId){const v=f.filter(g=>g.groupId===h.groupId);f.splice(d+v.length,0,p)}else f.splice(d+1,0,p)}return f},o=(u,c)=>{const f=JSON.parse(JSON.stringify(u));if(c.groupId){const d=f.filter(g=>g.groupId===c.groupId),{minLevel:h}=r(u,d);if(h===0)return;const p=f[h-1],v=f.splice(h,d.length);if(p.groupId){const g=f.filter(m=>m.groupId===p.groupId);f.splice(h-g.length,0,...v)}else f.splice(h-1,0,...v)}else{const d=u.findIndex(v=>v.id===c.id);if(d===0)return;const h=f[d-1],p=f.splice(d,1)[0];if(h.groupId){const v=f.filter(g=>g.groupId===h.groupId);f.splice(d-v.length,0,p)}else f.splice(d-1,0,p)}return f},a=(u,c)=>{const f=JSON.parse(JSON.stringify(u));if(c.groupId){const d=f.filter(g=>g.groupId===c.groupId),{minLevel:h,maxLevel:p}=r(u,d);if(p===u.length-1)return null;const v=f.splice(h,d.length);f.push(...v)}else{const d=u.findIndex(h=>h.id===c.id);if(d===u.length-1)return null;f.splice(d,1),f.push(c)}return f},s=(u,c)=>{const f=JSON.parse(JSON.stringify(u));if(c.groupId){const d=f.filter(v=>v.groupId===c.groupId),{minLevel:h}=r(u,d);if(h===0)return;const p=f.splice(h,d.length);f.unshift(...p)}else{const d=u.findIndex(h=>h.id===c.id);if(d===0)return;f.splice(d,1),f.unshift(c)}return f};return{orderElement:(u,c)=>{let f;c===Wr.UP?f=i(t.value.elements,u):c===Wr.DOWN?f=o(t.value.elements,u):c===Wr.TOP?f=a(t.value.elements,u):c===Wr.BOTTOM&&(f=s(t.value.elements,u)),f&&(e.updateSlide({elements:f}),n())}}},JO=()=>{const e=document.documentElement;e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullScreen?e.webkitRequestFullScreen():e.msRequestFullscreen&&e.msRequestFullscreen()},DH=()=>{document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen()},OT=()=>!!(document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement||document.webkitCurrentFullScreenElement),ld=()=>{const e=rH(),t=lt(),n=()=>{JO(),e.setScreening(!0)};return{enterScreening:n,enterScreeningFromStart:()=>{t.updateSlideIndex(0),n()},exitScreening:()=>{e.setScreening(!1),OT()&&DH()}}},$O=()=>{const e=ht(),{canvasPercentage:t,canvasScale:n,canvasDragged:r}=De(e);return{canvasScalePercentage:Se(()=>Math.round(n.value*100)+"%"),setCanvasScalePercentage:l=>{const u=Math.round(l/n.value*t.value)/100;e.setCanvasPercentage(u)},scaleCanvas:l=>{let u=t.value;const c=5,f=200,d=30;l==="+"&&u<=f&&(u+=c),l==="-"&&u>=d&&(u-=c),e.setCanvasPercentage(u)},resetCanvas:()=>{e.setCanvasPercentage(90),r&&e.setCanvasDragged(!1)}}},H2e=()=>{const e=ht(),t=pl(),{activeElementIdList:n,disableHotkeys:r,handleElement:i,handleElementId:o,editorAreaFocus:a,thumbnailsFocus:s,showSearchPanel:l}=De(e),{currentSlide:u}=De(lt()),{ctrlKeyState:c,shiftKeyState:f,spaceKeyState:d}=De(t),{updateSlideIndex:h,copySlide:p,createSlide:v,deleteSlide:g,cutSlide:m,copyAndPasteSlide:y,selectAllSlide:R}=gc(),{combineElements:A,uncombineElements:x}=GO(),{deleteElement:S}=H2(),{lockElement:_}=VH(),{copyElement:M,cutElement:w,quickCopyElement:L}=zO(),{selectAllElements:k}=i3(),{moveElement:P}=Q2e(),{orderElement:F}=K2(),{redo:C,undo:N}=nn(),{enterScreening:I,enterScreeningFromStart:V}=ld(),{scaleCanvas:W,resetCanvas:Z}=$O(),re=()=>{n.value.length?M():s.value&&p()},Y=()=>{n.value.length?w():s.value&&m()},B=()=>{n.value.length?L():s.value&&y()},Q=()=>{a.value&&k(),s.value&&R()},K=()=>{a.value&&_()},q=()=>{a.value&&A()},j=()=>{a.value&&x()},de=()=>{n.value.length?S():s.value&&g()},G=J=>{n.value.length?P(J):(J===At.UP||J===At.DOWN)&&h(J)},Ae=J=>{J===At.PAGEUP?h(At.UP):J===At.PAGEDOWN&&h(At.DOWN)},ce=J=>{i.value&&F(i.value,J)},fe=()=>{s.value&&v()},le=()=>{if(!u.value.elements.length)return;if(!o.value){const ne=u.value.elements[0];e.setActiveElementIdList([ne.id]);return}const J=u.value.elements.findIndex(ne=>ne.id===o.value),se=J>=u.value.elements.length-1?0:J+1,ee=u.value.elements[se].id;e.setActiveElementIdList([ee])},$=J=>{const{ctrlKey:se,shiftKey:ee,altKey:ne,metaKey:oe}=J,he=se||oe,ue=J.key.toUpperCase();if(he&&!c.value&&t.setCtrlKeyState(!0),ee&&!f.value&&t.setShiftKeyState(!0),!r.value&&ue===At.SPACE&&t.setSpaceKeyState(!0),he&&ue===At.P){J.preventDefault(),e.setDialogForExport("pdf");return}if(ee&&ue===At.F5){J.preventDefault(),I(),t.setShiftKeyState(!1);return}if(ue===At.F5){J.preventDefault(),V();return}if(se&&ue===At.F){J.preventDefault(),e.setSearchPanelState(!l.value);return}if(!(!a.value&&!s.value)){if(he&&ue===At.C){if(r.value)return;J.preventDefault(),re()}if(he&&ue===At.X){if(r.value)return;J.preventDefault(),Y()}if(he&&ue===At.D){if(r.value)return;J.preventDefault(),B()}if(he&&ue===At.Z){if(r.value)return;J.preventDefault(),N()}if(he&&ue===At.Y){if(r.value)return;J.preventDefault(),C()}if(he&&ue===At.A){if(r.value)return;J.preventDefault(),Q()}if(he&&ue===At.L){if(r.value)return;J.preventDefault(),K()}if(!ee&&he&&ue===At.G){if(r.value)return;J.preventDefault(),q()}if(ee&&he&&ue===At.G){if(r.value)return;J.preventDefault(),j()}if(ne&&ue===At.F){if(r.value)return;J.preventDefault(),ce(Wr.TOP)}if(ne&&ue===At.B){if(r.value)return;J.preventDefault(),ce(Wr.BOTTOM)}if(ue===At.DELETE||ue===At.BACKSPACE){if(r.value)return;J.preventDefault(),de()}if(ue===At.UP){if(r.value)return;J.preventDefault(),G(At.UP)}if(ue===At.DOWN){if(r.value)return;J.preventDefault(),G(At.DOWN)}if(ue===At.LEFT){if(r.value)return;J.preventDefault(),G(At.LEFT)}if(ue===At.RIGHT){if(r.value)return;J.preventDefault(),G(At.RIGHT)}if(ue===At.PAGEUP){if(r.value)return;J.preventDefault(),Ae(At.PAGEUP)}if(ue===At.PAGEDOWN){if(r.value)return;J.preventDefault(),Ae(At.PAGEDOWN)}if(ue===At.ENTER){if(r.value)return;J.preventDefault(),fe()}if(ue===At.MINUS){if(r.value)return;J.preventDefault(),W("-")}if(ue===At.EQUAL){if(r.value)return;J.preventDefault(),W("+")}if(ue===At.DIGIT_0){if(r.value)return;J.preventDefault(),Z()}if(ue===At.TAB){if(r.value)return;J.preventDefault(),le()}a.value&&!ee&&!he&&!r.value&&(ue===At.T?e.setCreatingElement({type:"text"}):ue===At.R?e.setCreatingElement({type:"shape",data:{viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z"}}):ue===At.O?e.setCreatingElement({type:"shape",data:{viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z"}}):ue===At.L&&e.setCreatingElement({type:"line",data:{path:"M 0 0 L 20 20",style:"solid",points:["",""]}}))}},X=()=>{c.value&&t.setCtrlKeyState(!1),f.value&&t.setShiftKeyState(!1),d.value&&t.setSpaceKeyState(!1)};Ht(()=>{document.addEventListener("keydown",$),document.addEventListener("keyup",X),window.addEventListener("blur",X)}),Fn(()=>{document.removeEventListener("keydown",$),document.removeEventListener("keyup",X),window.removeEventListener("blur",X)})},K2e=()=>{const{editorAreaFocus:e,thumbnailsFocus:t,disableHotkeys:n}=De(ht()),{pasteTextClipboardData:r}=KO(),{createImageElement:i}=c0(),o=s=>{sd(s).then(l=>i(l))},a=s=>{if(!e.value&&!t.value||n.value||!s.clipboardData)return;const l=s.clipboardData.items,u=l[0];if(u){for(const c of l)if(c.kind==="file"&&c.type.indexOf("image")!==-1){const f=c.getAsFile();f&&o(f);return}u.kind==="string"&&u.type==="text/plain"&&u.getAsString(c=>r(c))}};Ht(()=>{document.addEventListener("paste",a)}),Fn(()=>{document.removeEventListener("paste",a)})};function UH(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eF(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,i)}function pa(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(l){eF(o,r,i,a,s,"next",l)}function s(l){eF(o,r,i,a,s,"throw",l)}a(void 0)})}}var Ta=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function o3(e){var t=e.default;if(typeof t=="function"){var n=function(){return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var BH={exports:{}},tF={exports:{}};(function(e){function t(n){return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(tF),function(e){var t=tF.exports.default;function n(){e.exports=n=function(){return r},e.exports.__esModule=!0,e.exports.default=e.exports;var r={},i=Object.prototype,o=i.hasOwnProperty,a=Object.defineProperty||function(N,I,V){N[I]=V.value},s=typeof Symbol=="function"?Symbol:{},l=s.iterator||"@@iterator",u=s.asyncIterator||"@@asyncIterator",c=s.toStringTag||"@@toStringTag";function f(N,I,V){return Object.defineProperty(N,I,{value:V,enumerable:!0,configurable:!0,writable:!0}),N[I]}try{f({},"")}catch{f=function(I,V,W){return I[V]=W}}function d(N,I,V,W){var Z=I&&I.prototype instanceof v?I:v,re=Object.create(Z.prototype),Y=new P(W||[]);return a(re,"_invoke",{value:M(N,V,Y)}),re}function h(N,I,V){try{return{type:"normal",arg:N.call(I,V)}}catch(W){return{type:"throw",arg:W}}}r.wrap=d;var p={};function v(){}function g(){}function m(){}var y={};f(y,l,function(){return this});var R=Object.getPrototypeOf,A=R&&R(R(F([])));A&&A!==i&&o.call(A,l)&&(y=A);var x=m.prototype=v.prototype=Object.create(y);function S(N){["next","throw","return"].forEach(function(I){f(N,I,function(V){return this._invoke(I,V)})})}function _(N,I){function V(Z,re,Y,B){var Q=h(N[Z],N,re);if(Q.type!=="throw"){var K=Q.arg,q=K.value;return q&&t(q)=="object"&&o.call(q,"__await")?I.resolve(q.__await).then(function(j){V("next",j,Y,B)},function(j){V("throw",j,Y,B)}):I.resolve(q).then(function(j){K.value=j,Y(K)},function(j){return V("throw",j,Y,B)})}B(Q.arg)}var W;a(this,"_invoke",{value:function(Z,re){function Y(){return new I(function(B,Q){V(Z,re,B,Q)})}return W=W?W.then(Y,Y):Y()}})}function M(N,I,V){var W="suspendedStart";return function(Z,re){if(W==="executing")throw new Error("Generator is already running");if(W==="completed"){if(Z==="throw")throw re;return C()}for(V.method=Z,V.arg=re;;){var Y=V.delegate;if(Y){var B=w(Y,V);if(B){if(B===p)continue;return B}}if(V.method==="next")V.sent=V._sent=V.arg;else if(V.method==="throw"){if(W==="suspendedStart")throw W="completed",V.arg;V.dispatchException(V.arg)}else V.method==="return"&&V.abrupt("return",V.arg);W="executing";var Q=h(N,I,V);if(Q.type==="normal"){if(W=V.done?"completed":"suspendedYield",Q.arg===p)continue;return{value:Q.arg,done:V.done}}Q.type==="throw"&&(W="completed",V.method="throw",V.arg=Q.arg)}}}function w(N,I){var V=N.iterator[I.method];if(V===void 0){if(I.delegate=null,I.method==="throw"){if(N.iterator.return&&(I.method="return",I.arg=void 0,w(N,I),I.method==="throw"))return p;I.method="throw",I.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var W=h(V,N.iterator,I.arg);if(W.type==="throw")return I.method="throw",I.arg=W.arg,I.delegate=null,p;var Z=W.arg;return Z?Z.done?(I[N.resultName]=Z.value,I.next=N.nextLoc,I.method!=="return"&&(I.method="next",I.arg=void 0),I.delegate=null,p):Z:(I.method="throw",I.arg=new TypeError("iterator result is not an object"),I.delegate=null,p)}function L(N){var I={tryLoc:N[0]};1 in N&&(I.catchLoc=N[1]),2 in N&&(I.finallyLoc=N[2],I.afterLoc=N[3]),this.tryEntries.push(I)}function k(N){var I=N.completion||{};I.type="normal",delete I.arg,N.completion=I}function P(N){this.tryEntries=[{tryLoc:"root"}],N.forEach(L,this),this.reset(!0)}function F(N){if(N){var I=N[l];if(I)return I.call(N);if(typeof N.next=="function")return N;if(!isNaN(N.length)){var V=-1,W=function Z(){for(;++V<N.length;)if(o.call(N,V))return Z.value=N[V],Z.done=!1,Z;return Z.value=void 0,Z.done=!0,Z};return W.next=W}}return{next:C}}function C(){return{value:void 0,done:!0}}return g.prototype=m,a(x,"constructor",{value:m,configurable:!0}),a(m,"constructor",{value:g,configurable:!0}),g.displayName=f(m,c,"GeneratorFunction"),r.isGeneratorFunction=function(N){var I=typeof N=="function"&&N.constructor;return!!I&&(I===g||(I.displayName||I.name)==="GeneratorFunction")},r.mark=function(N){return Object.setPrototypeOf?Object.setPrototypeOf(N,m):(N.__proto__=m,f(N,c,"GeneratorFunction")),N.prototype=Object.create(x),N},r.awrap=function(N){return{__await:N}},S(_.prototype),f(_.prototype,u,function(){return this}),r.AsyncIterator=_,r.async=function(N,I,V,W,Z){Z===void 0&&(Z=Promise);var re=new _(d(N,I,V,W),Z);return r.isGeneratorFunction(I)?re:re.next().then(function(Y){return Y.done?Y.value:re.next()})},S(x),f(x,c,"Generator"),f(x,l,function(){return this}),f(x,"toString",function(){return"[object Generator]"}),r.keys=function(N){var I=Object(N),V=[];for(var W in I)V.push(W);return V.reverse(),function Z(){for(;V.length;){var re=V.pop();if(re in I)return Z.value=re,Z.done=!1,Z}return Z.done=!0,Z}},r.values=F,P.prototype={constructor:P,reset:function(N){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!N)for(var I in this)I.charAt(0)==="t"&&o.call(this,I)&&!isNaN(+I.slice(1))&&(this[I]=void 0)},stop:function(){this.done=!0;var N=this.tryEntries[0].completion;if(N.type==="throw")throw N.arg;return this.rval},dispatchException:function(N){if(this.done)throw N;var I=this;function V(Q,K){return re.type="throw",re.arg=N,I.next=Q,K&&(I.method="next",I.arg=void 0),!!K}for(var W=this.tryEntries.length-1;W>=0;--W){var Z=this.tryEntries[W],re=Z.completion;if(Z.tryLoc==="root")return V("end");if(Z.tryLoc<=this.prev){var Y=o.call(Z,"catchLoc"),B=o.call(Z,"finallyLoc");if(Y&&B){if(this.prev<Z.catchLoc)return V(Z.catchLoc,!0);if(this.prev<Z.finallyLoc)return V(Z.finallyLoc)}else if(Y){if(this.prev<Z.catchLoc)return V(Z.catchLoc,!0)}else{if(!B)throw new Error("try statement without catch or finally");if(this.prev<Z.finallyLoc)return V(Z.finallyLoc)}}}},abrupt:function(N,I){for(var V=this.tryEntries.length-1;V>=0;--V){var W=this.tryEntries[V];if(W.tryLoc<=this.prev&&o.call(W,"finallyLoc")&&this.prev<W.finallyLoc){var Z=W;break}}Z&&(N==="break"||N==="continue")&&Z.tryLoc<=I&&I<=Z.finallyLoc&&(Z=null);var re=Z?Z.completion:{};return re.type=N,re.arg=I,Z?(this.method="next",this.next=Z.finallyLoc,p):this.complete(re)},complete:function(N,I){if(N.type==="throw")throw N.arg;return N.type==="break"||N.type==="continue"?this.next=N.arg:N.type==="return"?(this.rval=this.arg=N.arg,this.method="return",this.next="end"):N.type==="normal"&&I&&(this.next=I),p},finish:function(N){for(var I=this.tryEntries.length-1;I>=0;--I){var V=this.tryEntries[I];if(V.finallyLoc===N)return this.complete(V.completion,V.afterLoc),k(V),p}},catch:function(N){for(var I=this.tryEntries.length-1;I>=0;--I){var V=this.tryEntries[I];if(V.tryLoc===N){var W=V.completion;if(W.type==="throw"){var Z=W.arg;k(V)}return Z}}throw new Error("illegal catch attempt")},delegateYield:function(N,I,V){return this.delegate={iterator:F(N),resultName:I,nextLoc:V},this.method==="next"&&(this.arg=void 0),p}},r}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(BH);var lb=BH.exports(),tr=lb;try{regeneratorRuntime=lb}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=lb:Function("r","regeneratorRuntime = r")(lb)}var Kv={},nF={},Av=typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{},Hl=[],ls=[],G2e=typeof Uint8Array<"u"?Uint8Array:Array,jO=!1;function YH(){jO=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,n=e.length;t<n;++t)Hl[t]=e[t],ls[e.charCodeAt(t)]=t;ls[45]=62,ls[95]=63}function z2e(e,t,n){for(var r,i,o=[],a=t;a<n;a+=3)r=(e[a]<<16)+(e[a+1]<<8)+e[a+2],o.push(Hl[(i=r)>>18&63]+Hl[i>>12&63]+Hl[i>>6&63]+Hl[63&i]);return o.join("")}function rF(e){var t;jO||YH();for(var n=e.length,r=n%3,i="",o=[],a=16383,s=0,l=n-r;s<l;s+=a)o.push(z2e(e,s,s+a>l?l:s+a));return r===1?(t=e[n-1],i+=Hl[t>>2],i+=Hl[t<<4&63],i+="=="):r===2&&(t=(e[n-2]<<8)+e[n-1],i+=Hl[t>>10],i+=Hl[t>>4&63],i+=Hl[t<<2&63],i+="="),o.push(i),o.join("")}function CA(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,u=l>>1,c=-7,f=n?i-1:0,d=n?-1:1,h=e[t+f];for(f+=d,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+e[t+f],f+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=d,c-=8);if(o===0)o=1-u;else{if(o===l)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=u}return(h?-1:1)*a*Math.pow(2,o-r)}function ZH(e,t,n,r,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,f=c>>1,d=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,p=r?1:-1,v=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+f>=1?d/l:d*Math.pow(2,1-f))*l>=2&&(a++,l/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*l-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=p,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[n+h]=255&a,h+=p,a/=256,u-=8);e[n+h-p]|=128*v}var J2e={}.toString,QH=Array.isArray||function(e){return J2e.call(e)=="[object Array]"};qe.TYPED_ARRAY_SUPPORT=Av.TYPED_ARRAY_SUPPORT===void 0||Av.TYPED_ARRAY_SUPPORT;var $2e=Mx();function Mx(){return qe.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function qu(e,t){if(Mx()<t)throw new RangeError("Invalid typed array length");return qe.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=qe.prototype:(e===null&&(e=new qe(t)),e.length=t),e}function qe(e,t,n){if(!(qe.TYPED_ARRAY_SUPPORT||this instanceof qe))return new qe(e,t,n);if(typeof e=="number"){if(typeof t=="string")throw new Error("If encoding is specified then the first argument must be a string");return kT(this,e)}return HH(this,e,t,n)}function HH(e,t,n,r){if(typeof t=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer?function(i,o,a,s){if(o.byteLength,a<0||o.byteLength<a)throw new RangeError("'offset' is out of bounds");if(o.byteLength<a+(s||0))throw new RangeError("'length' is out of bounds");return o=a===void 0&&s===void 0?new Uint8Array(o):s===void 0?new Uint8Array(o,a):new Uint8Array(o,a,s),qe.TYPED_ARRAY_SUPPORT?(i=o).__proto__=qe.prototype:i=VM(i,o),i}(e,t,n,r):typeof t=="string"?function(i,o,a){if(typeof a=="string"&&a!==""||(a="utf8"),!qe.isEncoding(a))throw new TypeError('"encoding" must be a valid string encoding');var s=0|GH(o,a),l=(i=qu(i,s)).write(o,a);return l!==s&&(i=i.slice(0,l)),i}(e,t,n):function(i,o){if(Kl(o)){var a=0|qO(o.length);return(i=qu(i,a)).length===0||o.copy(i,0,0,a),i}if(o){if(typeof ArrayBuffer<"u"&&o.buffer instanceof ArrayBuffer||"length"in o)return typeof o.length!="number"||(s=o.length)!=s?qu(i,0):VM(i,o);if(o.type==="Buffer"&&QH(o.data))return VM(i,o.data)}var s;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function KH(e){if(typeof e!="number")throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function kT(e,t){if(KH(t),e=qu(e,t<0?0:0|qO(t)),!qe.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function VM(e,t){var n=t.length<0?0:0|qO(t.length);e=qu(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function qO(e){if(e>=Mx())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Mx().toString(16)+" bytes");return 0|e}function Kl(e){return!(e==null||!e._isBuffer)}function GH(e,t){if(Kl(e))return e.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;typeof e!="string"&&(e=""+e);var n=e.length;if(n===0)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Lx(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return jH(e).length;default:if(r)return Lx(e).length;t=(""+t).toLowerCase(),r=!0}}function j2e(e,t,n){var r=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return sye(this,t,n);case"utf8":case"utf-8":return JH(this,t,n);case"ascii":return oye(this,t,n);case"latin1":case"binary":return aye(this,t,n);case"base64":return iye(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return lye(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function _d(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function iF(e,t,n,r,i){if(e.length===0)return-1;if(typeof n=="string"?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if(typeof t=="string"&&(t=qe.from(t,r)),Kl(t))return t.length===0?-1:oF(e,t,n,r,i);if(typeof t=="number")return t&=255,qe.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):oF(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function oF(e,t,n,r,i){var o,a=1,s=e.length,l=t.length;if(r!==void 0&&((r=String(r).toLowerCase())==="ucs2"||r==="ucs-2"||r==="utf16le"||r==="utf-16le")){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function u(h,p){return a===1?h[p]:h.readUInt16BE(p*a)}if(i){var c=-1;for(o=n;o<s;o++)if(u(e,o)===u(t,c===-1?0:o-c)){if(c===-1&&(c=o),o-c+1===l)return c*a}else c!==-1&&(o-=o-c),c=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){for(var f=!0,d=0;d<l;d++)if(u(e,o+d)!==u(t,d)){f=!1;break}if(f)return o}return-1}function q2e(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function eye(e,t,n,r){return a3(Lx(t,e.length-n),e,n,r)}function zH(e,t,n,r){return a3(function(i){for(var o=[],a=0;a<i.length;++a)o.push(255&i.charCodeAt(a));return o}(t),e,n,r)}function tye(e,t,n,r){return zH(e,t,n,r)}function nye(e,t,n,r){return a3(jH(t),e,n,r)}function rye(e,t,n,r){return a3(function(i,o){for(var a,s,l,u=[],c=0;c<i.length&&!((o-=2)<0);++c)s=(a=i.charCodeAt(c))>>8,l=a%256,u.push(l),u.push(s);return u}(t,e.length-n),e,n,r)}function iye(e,t,n){return t===0&&n===e.length?rF(e):rF(e.slice(t,n))}function JH(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,s,l,u=e[i],c=null,f=u>239?4:u>223?3:u>191?2:1;if(i+f<=n)switch(f){case 1:u<128&&(c=u);break;case 2:(192&(o=e[i+1]))==128&&(l=(31&u)<<6|63&o)>127&&(c=l);break;case 3:o=e[i+1],a=e[i+2],(192&o)==128&&(192&a)==128&&(l=(15&u)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],(192&o)==128&&(192&a)==128&&(192&s)==128&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(c=l)}c===null?(c=65533,f=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=f}return function(d){var h=d.length;if(h<=4096)return String.fromCharCode.apply(String,d);for(var p="",v=0;v<h;)p+=String.fromCharCode.apply(String,d.slice(v,v+=4096));return p}(r)}qe.poolSize=8192,qe._augment=function(e){return e.__proto__=qe.prototype,e},qe.from=function(e,t,n){return HH(null,e,t,n)},qe.TYPED_ARRAY_SUPPORT&&(qe.prototype.__proto__=Uint8Array.prototype,qe.__proto__=Uint8Array,typeof Symbol<"u"&&Symbol.species&&qe[Symbol.species]),qe.alloc=function(e,t,n){return function(r,i,o,a){return KH(i),i<=0?qu(r,i):o!==void 0?typeof a=="string"?qu(r,i).fill(o,a):qu(r,i).fill(o):qu(r,i)}(null,e,t,n)},qe.allocUnsafe=function(e){return kT(null,e)},qe.allocUnsafeSlow=function(e){return kT(null,e)},qe.isBuffer=G2,qe.compare=function(e,t){if(!Kl(e)||!Kl(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},qe.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},qe.concat=function(e,t){if(!QH(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return qe.alloc(0);var n;if(t===void 0)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=qe.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var o=e[n];if(!Kl(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,i),i+=o.length}return r},qe.byteLength=GH,qe.prototype._isBuffer=!0,qe.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)_d(this,t,t+1);return this},qe.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)_d(this,t,t+3),_d(this,t+1,t+2);return this},qe.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)_d(this,t,t+7),_d(this,t+1,t+6),_d(this,t+2,t+5),_d(this,t+3,t+4);return this},qe.prototype.toString=function(){var e=0|this.length;return e===0?"":arguments.length===0?JH(this,0,e):j2e.apply(this,arguments)},qe.prototype.equals=function(e){if(!Kl(e))throw new TypeError("Argument must be a Buffer");return this===e||qe.compare(this,e)===0},qe.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},qe.prototype.compare=function(e,t,n,r,i){if(!Kl(e))throw new TypeError("Argument must be a Buffer");if(t===void 0&&(t=0),n===void 0&&(n=e?e.length:0),r===void 0&&(r=0),i===void 0&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),l=this.slice(r,i),u=e.slice(t,n),c=0;c<s;++c)if(l[c]!==u[c]){o=l[c],a=u[c];break}return o<a?-1:a<o?1:0},qe.prototype.includes=function(e,t,n){return this.indexOf(e,t,n)!==-1},qe.prototype.indexOf=function(e,t,n){return iF(this,e,t,n,!0)},qe.prototype.lastIndexOf=function(e,t,n){return iF(this,e,t,n,!1)},qe.prototype.write=function(e,t,n,r){if(t===void 0)r="utf8",n=this.length,t=0;else if(n===void 0&&typeof t=="string")r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,r===void 0&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((n===void 0||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return q2e(this,e,t,n);case"utf8":case"utf-8":return eye(this,e,t,n);case"ascii":return zH(this,e,t,n);case"latin1":case"binary":return tye(this,e,t,n);case"base64":return nye(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return rye(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},qe.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function oye(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function aye(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function sye(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=cye(e[o]);return i}function lye(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function xi(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function Do(e,t,n,r,i,o){if(!Kl(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function IA(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function NA(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function $H(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function aF(e,t,n,r,i){return i||$H(e,0,n,4),ZH(e,t,n,r,23,4),n+4}function sF(e,t,n,r,i){return i||$H(e,0,n,8),ZH(e,t,n,r,52,8),n+8}qe.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=t===void 0?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),qe.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=qe.prototype;else{var i=t-e;n=new qe(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+e]}return n},qe.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||xi(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},qe.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||xi(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},qe.prototype.readUInt8=function(e,t){return t||xi(e,1,this.length),this[e]},qe.prototype.readUInt16LE=function(e,t){return t||xi(e,2,this.length),this[e]|this[e+1]<<8},qe.prototype.readUInt16BE=function(e,t){return t||xi(e,2,this.length),this[e]<<8|this[e+1]},qe.prototype.readUInt32LE=function(e,t){return t||xi(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},qe.prototype.readUInt32BE=function(e,t){return t||xi(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},qe.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||xi(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},qe.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||xi(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},qe.prototype.readInt8=function(e,t){return t||xi(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},qe.prototype.readInt16LE=function(e,t){t||xi(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},qe.prototype.readInt16BE=function(e,t){t||xi(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},qe.prototype.readInt32LE=function(e,t){return t||xi(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},qe.prototype.readInt32BE=function(e,t){return t||xi(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},qe.prototype.readFloatLE=function(e,t){return t||xi(e,4,this.length),CA(this,e,!0,23,4)},qe.prototype.readFloatBE=function(e,t){return t||xi(e,4,this.length),CA(this,e,!1,23,4)},qe.prototype.readDoubleLE=function(e,t){return t||xi(e,8,this.length),CA(this,e,!0,52,8)},qe.prototype.readDoubleBE=function(e,t){return t||xi(e,8,this.length),CA(this,e,!1,52,8)},qe.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||Do(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},qe.prototype.writeUIntBE=function(e,t,n,r){e=+e,t|=0,n|=0,r||Do(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},qe.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||Do(this,e,t,1,255,0),qe.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},qe.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||Do(this,e,t,2,65535,0),qe.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):IA(this,e,t,!0),t+2},qe.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||Do(this,e,t,2,65535,0),qe.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):IA(this,e,t,!1),t+2},qe.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||Do(this,e,t,4,4294967295,0),qe.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):NA(this,e,t,!0),t+4},qe.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||Do(this,e,t,4,4294967295,0),qe.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):NA(this,e,t,!1),t+4},qe.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);Do(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&s===0&&this[t+o-1]!==0&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},qe.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);Do(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&s===0&&this[t+o+1]!==0&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},qe.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||Do(this,e,t,1,127,-128),qe.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},qe.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||Do(this,e,t,2,32767,-32768),qe.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):IA(this,e,t,!0),t+2},qe.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||Do(this,e,t,2,32767,-32768),qe.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):IA(this,e,t,!1),t+2},qe.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||Do(this,e,t,4,2147483647,-2147483648),qe.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):NA(this,e,t,!0),t+4},qe.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||Do(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),qe.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):NA(this,e,t,!1),t+4},qe.prototype.writeFloatLE=function(e,t,n){return aF(this,e,t,!0,n)},qe.prototype.writeFloatBE=function(e,t,n){return aF(this,e,t,!1,n)},qe.prototype.writeDoubleLE=function(e,t,n){return sF(this,e,t,!0,n)},qe.prototype.writeDoubleBE=function(e,t,n){return sF(this,e,t,!1,n)},qe.prototype.copy=function(e,t,n,r){if(n||(n=0),r||r===0||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n||e.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,o=r-n;if(this===e&&n<t&&t<r)for(i=o-1;i>=0;--i)e[i+t]=this[i+n];else if(o<1e3||!qe.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},qe.prototype.fill=function(e,t,n,r){if(typeof e=="string"){if(typeof t=="string"?(r=t,t=0,n=this.length):typeof n=="string"&&(r=n,n=this.length),e.length===1){var i=e.charCodeAt(0);i<256&&(e=i)}if(r!==void 0&&typeof r!="string")throw new TypeError("encoding must be a string");if(typeof r=="string"&&!qe.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else typeof e=="number"&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=n===void 0?this.length:n>>>0,e||(e=0),typeof e=="number")for(o=t;o<n;++o)this[o]=e;else{var a=Kl(e)?e:Lx(new qe(e,r).toString()),s=a.length;for(o=0;o<n-t;++o)this[o+t]=a[o%s]}return this};var uye=/[^+\/0-9A-Za-z-_]/g;function cye(e){return e<16?"0"+e.toString(16):e.toString(16)}function Lx(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function jH(e){return function(t){var n,r,i,o,a,s;jO||YH();var l=t.length;if(l%4>0)throw new Error("Invalid string. Length must be a multiple of 4");a=t[l-2]==="="?2:t[l-1]==="="?1:0,s=new G2e(3*l/4-a),i=a>0?l-4:l;var u=0;for(n=0,r=0;n<i;n+=4,r+=3)o=ls[t.charCodeAt(n)]<<18|ls[t.charCodeAt(n+1)]<<12|ls[t.charCodeAt(n+2)]<<6|ls[t.charCodeAt(n+3)],s[u++]=o>>16&255,s[u++]=o>>8&255,s[u++]=255&o;return a===2?(o=ls[t.charCodeAt(n)]<<2|ls[t.charCodeAt(n+1)]>>4,s[u++]=255&o):a===1&&(o=ls[t.charCodeAt(n)]<<10|ls[t.charCodeAt(n+1)]<<4|ls[t.charCodeAt(n+2)]>>2,s[u++]=o>>8&255,s[u++]=255&o),s}(function(t){if((t=function(n){return n.trim?n.trim():n.replace(/^\s+|\s+$/g,"")}(t).replace(uye,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(e))}function a3(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function G2(e){return e!=null&&(!!e._isBuffer||lF(e)||function(t){return typeof t.readFloatLE=="function"&&typeof t.slice=="function"&&lF(t.slice(0,0))}(e))}function lF(e){return!!e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}var fye=Object.freeze({__proto__:null,INSPECT_MAX_BYTES:50,kMaxLength:$2e,Buffer:qe,SlowBuffer:function(e){return+e!=e&&(e=0),qe.alloc(+e)},isBuffer:G2}),oi={};function qH(){throw new Error("setTimeout has not been defined")}function eK(){throw new Error("clearTimeout has not been defined")}var Jc=qH,$c=eK;function tK(e){if(Jc===setTimeout)return setTimeout(e,0);if((Jc===qH||!Jc)&&setTimeout)return Jc=setTimeout,setTimeout(e,0);try{return Jc(e,0)}catch{try{return Jc.call(null,e,0)}catch{return Jc.call(this,e,0)}}}typeof Av.setTimeout=="function"&&(Jc=setTimeout),typeof Av.clearTimeout=="function"&&($c=clearTimeout);var dh,ec=[],ev=!1,ub=-1;function dye(){ev&&dh&&(ev=!1,dh.length?ec=dh.concat(ec):ub=-1,ec.length&&nK())}function nK(){if(!ev){var e=tK(dye);ev=!0;for(var t=ec.length;t;){for(dh=ec,ec=[];++ub<t;)dh&&dh[ub].run();ub=-1,t=ec.length}dh=null,ev=!1,function(n){if($c===clearTimeout)return clearTimeout(n);if(($c===eK||!$c)&&clearTimeout)return $c=clearTimeout,clearTimeout(n);try{$c(n)}catch{try{return $c.call(null,n)}catch{return $c.call(this,n)}}}(e)}}function pi(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];ec.push(new rK(e,t)),ec.length!==1||ev||tK(nK)}function rK(e,t){this.fun=e,this.array=t}rK.prototype.run=function(){this.fun.apply(null,this.array)};function f0(){}var hye=f0,pye=f0,vye=f0,gye=f0,mye=f0,yye=f0,Aye=f0,hp=Av.performance||{},Rye=hp.now||hp.mozNow||hp.msNow||hp.oNow||hp.webkitNow||function(){return new Date().getTime()},bye=new Date,Ca={nextTick:pi,title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:hye,addListener:pye,once:vye,off:gye,removeListener:mye,removeAllListeners:yye,emit:Aye,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*Rye.call(hp),n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],(r-=e[1])<0&&(n--,r+=1e9)),[n,r]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-bye)/1e3}},DM={exports:{}};function jc(){}function _n(){_n.init.call(this)}function iK(e){return e._maxListeners===void 0?_n.defaultMaxListeners:e._maxListeners}function xye(e,t,n){if(t)e.call(n);else for(var r=e.length,i=z2(e,r),o=0;o<r;++o)i[o].call(n)}function Sye(e,t,n,r){if(t)e.call(n,r);else for(var i=e.length,o=z2(e,i),a=0;a<i;++a)o[a].call(n,r)}function wye(e,t,n,r,i){if(t)e.call(n,r,i);else for(var o=e.length,a=z2(e,o),s=0;s<o;++s)a[s].call(n,r,i)}function Mye(e,t,n,r,i,o){if(t)e.call(n,r,i,o);else for(var a=e.length,s=z2(e,a),l=0;l<a;++l)s[l].call(n,r,i,o)}function Lye(e,t,n,r){if(t)e.apply(n,r);else for(var i=e.length,o=z2(e,i),a=0;a<i;++a)o[a].apply(n,r)}function uF(e,t,n,r){var i,o,a,s;if(typeof n!="function")throw new TypeError('"listener" argument must be a function');if((o=e._events)?(o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]):(o=e._events=new jc,e._eventsCount=0),a){if(typeof a=="function"?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),!a.warned&&(i=iK(e))&&i>0&&a.length>i){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+t+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,s=l,typeof console.warn=="function"?console.warn(s):console.log(s)}}else a=o[t]=n,++e._eventsCount;return e}function cF(e,t,n){var r=!1;function i(){e.removeListener(t,i),r||(r=!0,n.apply(e,arguments))}return i.listener=n,i}function fF(e){var t=this._events;if(t){var n=t[e];if(typeof n=="function")return 1;if(n)return n.length}return 0}function z2(e,t){for(var n=new Array(t);t--;)n[t]=e[t];return n}jc.prototype=Object.create(null),_n.EventEmitter=_n,_n.usingDomains=!1,_n.prototype.domain=void 0,_n.prototype._events=void 0,_n.prototype._maxListeners=void 0,_n.defaultMaxListeners=10,_n.init=function(){this.domain=null,_n.usingDomains&&(void 0).active,this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=new jc,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},_n.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},_n.prototype.getMaxListeners=function(){return iK(this)},_n.prototype.emit=function(e){var t,n,r,i,o,a,s,l=e==="error";if(a=this._events)l=l&&a.error==null;else if(!l)return!1;if(s=this.domain,l){if(t=arguments[1],!s){if(t instanceof Error)throw t;var u=new Error('Uncaught, unspecified "error" event. ('+t+")");throw u.context=t,u}return t||(t=new Error('Uncaught, unspecified "error" event')),t.domainEmitter=this,t.domain=s,t.domainThrown=!1,s.emit("error",t),!1}if(!(n=a[e]))return!1;var c=typeof n=="function";switch(r=arguments.length){case 1:xye(n,c,this);break;case 2:Sye(n,c,this,arguments[1]);break;case 3:wye(n,c,this,arguments[1],arguments[2]);break;case 4:Mye(n,c,this,arguments[1],arguments[2],arguments[3]);break;default:for(i=new Array(r-1),o=1;o<r;o++)i[o-1]=arguments[o];Lye(n,c,this,i)}return!0},_n.prototype.addListener=function(e,t){return uF(this,e,t,!1)},_n.prototype.on=_n.prototype.addListener,_n.prototype.prependListener=function(e,t){return uF(this,e,t,!0)},_n.prototype.once=function(e,t){if(typeof t!="function")throw new TypeError('"listener" argument must be a function');return this.on(e,cF(this,e,t)),this},_n.prototype.prependOnceListener=function(e,t){if(typeof t!="function")throw new TypeError('"listener" argument must be a function');return this.prependListener(e,cF(this,e,t)),this},_n.prototype.removeListener=function(e,t){var n,r,i,o,a;if(typeof t!="function")throw new TypeError('"listener" argument must be a function');if(!(r=this._events))return this;if(!(n=r[e]))return this;if(n===t||n.listener&&n.listener===t)--this._eventsCount==0?this._events=new jc:(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if(typeof n!="function"){for(i=-1,o=n.length;o-- >0;)if(n[o]===t||n[o].listener&&n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;if(n.length===1){if(n[0]=void 0,--this._eventsCount==0)return this._events=new jc,this;delete r[e]}else(function(s,l){for(var u=l,c=u+1,f=s.length;c<f;u+=1,c+=1)s[u]=s[c];s.pop()})(n,i);r.removeListener&&this.emit("removeListener",e,a||t)}return this},_n.prototype.removeAllListeners=function(e){var t,n;if(!(n=this._events))return this;if(!n.removeListener)return arguments.length===0?(this._events=new jc,this._eventsCount=0):n[e]&&(--this._eventsCount==0?this._events=new jc:delete n[e]),this;if(arguments.length===0){for(var r,i=Object.keys(n),o=0;o<i.length;++o)(r=i[o])!=="removeListener"&&this.removeAllListeners(r);return this.removeAllListeners("removeListener"),this._events=new jc,this._eventsCount=0,this}if(typeof(t=n[e])=="function")this.removeListener(e,t);else if(t)do this.removeListener(e,t[t.length-1]);while(t[0]);return this},_n.prototype.listeners=function(e){var t,n,r=this._events;return n=r&&(t=r[e])?typeof t=="function"?[t.listener||t]:function(i){for(var o=new Array(i.length),a=0;a<o.length;++a)o[a]=i[a].listener||i[a];return o}(t):[],n},_n.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):fF.call(e,t)},_n.prototype.listenerCount=fF,_n.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]};var Tye=Object.freeze({__proto__:null,default:_n,EventEmitter:_n}),Pf=typeof Object.create=="function"?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e},_ye=/%[sdj%]/g;function s3(e){if(!Jm(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(ou(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,i=r.length,o=String(e).replace(_ye,function(s){if(s==="%%")return"%";if(n>=i)return s;switch(s){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch{return"[Circular]"}default:return s}}),a=r[n];n<i;a=r[++n])J2(a)||!d0(a)?o+=" "+a:o+=" "+ou(a);return o}function l3(e,t){if(eu(Av.process))return function(){return l3(e,t).apply(this,arguments)};if(Ca.noDeprecation===!0)return e;var n=!1;return function(){if(!n){if(Ca.throwDeprecation)throw new Error(t);Ca.traceDeprecation?console.trace(t):console.error(t),n=!0}return e.apply(this,arguments)}}var UM,FA={};function ek(e){return eu(UM)&&(UM=Ca.env.NODE_DEBUG||""),e=e.toUpperCase(),!FA[e]&&(new RegExp("\\b"+e+"\\b","i").test(UM)?FA[e]=function(){var t=s3.apply(null,arguments);console.error("%s %d: %s",e,0,t)}:FA[e]=function(){}),FA[e]}function ou(e,t){var n={seen:[],stylize:kye};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),u3(t)?n.showHidden=t:t&&ik(n,t),eu(n.showHidden)&&(n.showHidden=!1),eu(n.depth)&&(n.depth=2),eu(n.colors)&&(n.colors=!1),eu(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=Oye),Tx(n,e,n.depth)}function Oye(e,t){var n=ou.styles[t];return n?"\x1B["+ou.colors[n][0]+"m"+e+"\x1B["+ou.colors[n][1]+"m":e}function kye(e,t){return e}function Tx(e,t,n){if(e.customInspect&&t&&em(t.inspect)&&t.inspect!==ou&&(!t.constructor||t.constructor.prototype!==t)){var r=t.inspect(n,e);return Jm(r)||(r=Tx(e,r,n)),r}var i=function(d,h){if(eu(h))return d.stylize("undefined","undefined");if(Jm(h)){var p="'"+JSON.stringify(h).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return d.stylize(p,"string")}if(nk(h))return d.stylize(""+h,"number");if(u3(h))return d.stylize(""+h,"boolean");if(J2(h))return d.stylize("null","null")}(e,t);if(i)return i;var o=Object.keys(t),a=function(d){var h={};return d.forEach(function(p,v){h[p]=!0}),h}(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(t)),qg(t)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return BM(t);if(o.length===0){if(em(t)){var s=t.name?": "+t.name:"";return e.stylize("[Function"+s+"]","special")}if(jg(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(_x(t))return e.stylize(Date.prototype.toString.call(t),"date");if(qg(t))return BM(t)}var l,u="",c=!1,f=["{","}"];return tk(t)&&(c=!0,f=["[","]"]),em(t)&&(u=" [Function"+(t.name?": "+t.name:"")+"]"),jg(t)&&(u=" "+RegExp.prototype.toString.call(t)),_x(t)&&(u=" "+Date.prototype.toUTCString.call(t)),qg(t)&&(u=" "+BM(t)),o.length!==0||c&&t.length!=0?n<0?jg(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),l=c?function(d,h,p,v,g){for(var m=[],y=0,R=h.length;y<R;++y)cK(h,String(y))?m.push(YM(d,h,p,v,String(y),!0)):m.push("");return g.forEach(function(A){A.match(/^\d+$/)||m.push(YM(d,h,p,v,A,!0))}),m}(e,t,n,a,o):o.map(function(d){return YM(e,t,n,a,d,c)}),e.seen.pop(),function(d,h,p){return d.reduce(function(v,g){return g.indexOf(`
|
||
`),v+g.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?p[0]+(h===""?"":h+`
|
||
`)+" "+d.join(`,
|
||
`)+" "+p[1]:p[0]+h+" "+d.join(", ")+" "+p[1]}(l,u,f)):f[0]+u+f[1]}function BM(e){return"["+Error.prototype.toString.call(e)+"]"}function YM(e,t,n,r,i,o){var a,s,l;if((l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),cK(r,i)||(a="["+i+"]"),s||(e.seen.indexOf(l.value)<0?(s=J2(n)?Tx(e,l.value,null):Tx(e,l.value,n-1)).indexOf(`
|
||
`)>-1&&(s=o?s.split(`
|
||
`).map(function(u){return" "+u}).join(`
|
||
`).substr(2):`
|
||
`+s.split(`
|
||
`).map(function(u){return" "+u}).join(`
|
||
`)):s=e.stylize("[Circular]","special")),eu(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function tk(e){return Array.isArray(e)}function u3(e){return typeof e=="boolean"}function J2(e){return e===null}function oK(e){return e==null}function nk(e){return typeof e=="number"}function Jm(e){return typeof e=="string"}function aK(e){return typeof e=="symbol"}function eu(e){return e===void 0}function jg(e){return d0(e)&&rk(e)==="[object RegExp]"}function d0(e){return typeof e=="object"&&e!==null}function _x(e){return d0(e)&&rk(e)==="[object Date]"}function qg(e){return d0(e)&&(rk(e)==="[object Error]"||e instanceof Error)}function em(e){return typeof e=="function"}function sK(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||e===void 0}function lK(e){return G2(e)}function rk(e){return Object.prototype.toString.call(e)}function ZM(e){return e<10?"0"+e.toString(10):e.toString(10)}ou.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},ou.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var Pye=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Cye(){var e=new Date,t=[ZM(e.getHours()),ZM(e.getMinutes()),ZM(e.getSeconds())].join(":");return[e.getDate(),Pye[e.getMonth()],t].join(" ")}function uK(){console.log("%s - %s",Cye(),s3.apply(null,arguments))}function ik(e,t){if(!t||!d0(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}function cK(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var Iye={inherits:Pf,_extend:ik,log:uK,isBuffer:lK,isPrimitive:sK,isFunction:em,isError:qg,isDate:_x,isObject:d0,isRegExp:jg,isUndefined:eu,isSymbol:aK,isString:Jm,isNumber:nk,isNullOrUndefined:oK,isNull:J2,isBoolean:u3,isArray:tk,inspect:ou,deprecate:l3,format:s3,debuglog:ek},Nye=Object.freeze({__proto__:null,format:s3,deprecate:l3,debuglog:ek,inspect:ou,isArray:tk,isBoolean:u3,isNull:J2,isNullOrUndefined:oK,isNumber:nk,isString:Jm,isSymbol:aK,isUndefined:eu,isRegExp:jg,isObject:d0,isDate:_x,isError:qg,isFunction:em,isPrimitive:sK,isBuffer:lK,log:uK,inherits:Pf,_extend:ik,default:Iye});function nh(){this.head=null,this.tail=null,this.length=0}nh.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},nh.prototype.unshift=function(e){var t={data:e,next:this.head};this.length===0&&(this.tail=t),this.head=t,++this.length},nh.prototype.shift=function(){if(this.length!==0){var e=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},nh.prototype.clear=function(){this.head=this.tail=null,this.length=0},nh.prototype.join=function(e){if(this.length===0)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},nh.prototype.concat=function(e){if(this.length===0)return qe.alloc(0);if(this.length===1)return this.head.data;for(var t=qe.allocUnsafe(e>>>0),n=this.head,r=0;n;)n.data.copy(t,r),r+=n.data.length,n=n.next;return t};var Fye=qe.isEncoding||function(e){switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function tm(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),function(t){if(t&&!Fye(t))throw new Error("Unknown encoding: "+t)}(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=Xye;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=Wye;break;default:return void(this.write=Eye)}this.charBuffer=new qe(6),this.charReceived=0,this.charLength=0}function Eye(e){return e.toString(this.encoding)}function Xye(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function Wye(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}tm.prototype.write=function(e){for(var t="";this.charLength;){var n=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived<this.charLength)return"";if(e=e.slice(n,e.length),!((i=(t=this.charBuffer.slice(0,this.charLength).toString(this.encoding)).charCodeAt(t.length-1))>=55296&&i<=56319)){if(this.charReceived=this.charLength=0,e.length===0)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);var r=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,r),r-=this.charReceived);var i;if(r=(t+=e.toString(this.encoding,0,r)).length-1,(i=t.charCodeAt(r))>=55296&&i<=56319){var o=this.surrogateSize;return this.charLength+=o,this.charReceived+=o,this.charBuffer.copy(this.charBuffer,o,0,o),e.copy(this.charBuffer,0,0,o),t.substring(0,r)}return t},tm.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var n=e[e.length-t];if(t==1&&n>>5==6){this.charLength=2;break}if(t<=2&&n>>4==14){this.charLength=3;break}if(t<=3&&n>>3==30){this.charLength=4;break}}this.charReceived=t},tm.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.charReceived,r=this.charBuffer,i=this.encoding;t+=r.slice(0,n).toString(i)}return t},Fr.ReadableState=fK;var rr=ek("stream");function fK(e,t){e=e||{},this.objectMode=!!e.objectMode,t instanceof Ua&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var n=e.highWaterMark,r=this.objectMode?16:16384;this.highWaterMark=n||n===0?n:r,this.highWaterMark=~~this.highWaterMark,this.buffer=new nh,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(this.decoder=new tm(e.encoding),this.encoding=e.encoding)}function Fr(e){if(!(this instanceof Fr))return new Fr(e);this._readableState=new fK(e,this),this.readable=!0,e&&typeof e.read=="function"&&(this._read=e.read),_n.call(this)}function dF(e,t,n,r,i){var o=function(u,c){var f=null;return G2(c)||typeof c=="string"||c==null||u.objectMode||(f=new TypeError("Invalid non-string/buffer chunk")),f}(t,n);if(o)e.emit("error",o);else if(n===null)t.reading=!1,function(u,c){if(!c.ended){if(c.decoder){var f=c.decoder.end();f&&f.length&&(c.buffer.push(f),c.length+=c.objectMode?1:f.length)}c.ended=!0,Ox(u)}}(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!i){var a=new Error("stream.push() after EOF");e.emit("error",a)}else if(t.endEmitted&&i){var s=new Error("stream.unshift() after end event");e.emit("error",s)}else{var l;!t.decoder||i||r||(n=t.decoder.write(n),l=!t.objectMode&&n.length===0),i||(t.reading=!1),l||(t.flowing&&t.length===0&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,i?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&Ox(e))),function(u,c){c.readingMore||(c.readingMore=!0,pi(Vye,u,c))}(e,t)}else i||(t.reading=!1);return function(u){return!u.ended&&(u.needReadable||u.length<u.highWaterMark||u.length===0)}(t)}Pf(Fr,_n),Fr.prototype.push=function(e,t){var n=this._readableState;return n.objectMode||typeof e!="string"||(t=t||n.defaultEncoding)!==n.encoding&&(e=qe.from(e,t),t=""),dF(this,n,e,t,!1)},Fr.prototype.unshift=function(e){return dF(this,this._readableState,e,"",!0)},Fr.prototype.isPaused=function(){return this._readableState.flowing===!1},Fr.prototype.setEncoding=function(e){return this._readableState.decoder=new tm(e),this._readableState.encoding=e,this};function hF(e,t){return e<=0||t.length===0&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(n){return n>=8388608?n=8388608:(n--,n|=n>>>1,n|=n>>>2,n|=n>>>4,n|=n>>>8,n|=n>>>16,n++),n}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function Ox(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(rr("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?pi(pF,e):pF(e))}function pF(e){rr("emit readable"),e.emit("readable"),ok(e)}function Vye(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(rr("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function Dye(e){rr("readable nexttick read 0"),e.read(0)}function Uye(e,t){t.reading||(rr("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),ok(e),t.flowing&&!t.reading&&e.read(0)}function ok(e){var t=e._readableState;for(rr("flow",t.flowing);t.flowing&&e.read()!==null;);}function vF(e,t){return t.length===0?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):t.buffer.length===1?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(r,i,o){var a;return r<i.head.data.length?(a=i.head.data.slice(0,r),i.head.data=i.head.data.slice(r)):a=r===i.head.data.length?i.shift():o?function(s,l){var u=l.head,c=1,f=u.data;for(s-=f.length;u=u.next;){var d=u.data,h=s>d.length?d.length:s;if(h===d.length?f+=d:f+=d.slice(0,s),(s-=h)===0){h===d.length?(++c,u.next?l.head=u.next:l.head=l.tail=null):(l.head=u,u.data=d.slice(h));break}++c}return l.length-=c,f}(r,i):function(s,l){var u=qe.allocUnsafe(s),c=l.head,f=1;for(c.data.copy(u),s-=c.data.length;c=c.next;){var d=c.data,h=s>d.length?d.length:s;if(d.copy(u,u.length-s,0,h),(s-=h)===0){h===d.length?(++f,c.next?l.head=c.next:l.head=l.tail=null):(l.head=c,c.data=d.slice(h));break}++f}return l.length-=f,u}(r,i),a}(e,t.buffer,t.decoder),n);var n}function QM(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,pi(Bye,t,e))}function Bye(e,t){e.endEmitted||e.length!==0||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function gF(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function Yye(){}function Zye(e,t,n){this.chunk=e,this.encoding=t,this.callback=n,this.next=null}function PT(e,t){Object.defineProperty(this,"buffer",{get:l3(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")}),e=e||{},this.objectMode=!!e.objectMode,t instanceof Ua&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var n=e.highWaterMark,r=this.objectMode?16:16384;this.highWaterMark=n||n===0?n:r,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var i=e.decodeStrings===!1;this.decodeStrings=!i,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(o){(function(a,s){var l=a._writableState,u=l.sync,c=l.writecb;if(function(d){d.writing=!1,d.writecb=null,d.length-=d.writelen,d.writelen=0}(l),s)(function(d,h,p,v,g){--h.pendingcb,p?pi(g,v):g(v),d._writableState.errorEmitted=!0,d.emit("error",v)})(a,l,u,s,c);else{var f=hK(l);f||l.corked||l.bufferProcessing||!l.bufferedRequest||dK(a,l),u?pi(mF,a,l,f,c):mF(a,l,f,c)}})(t,o)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new vK(this)}function Di(e){if(!(this instanceof Di||this instanceof Ua))return new Di(e);this._writableState=new PT(e,this),this.writable=!0,e&&(typeof e.write=="function"&&(this._write=e.write),typeof e.writev=="function"&&(this._writev=e.writev)),_n.call(this)}function CT(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function mF(e,t,n,r){n||function(i,o){o.length===0&&o.needDrain&&(o.needDrain=!1,i.emit("drain"))}(e,t),t.pendingcb--,r(),pK(e,t)}function dK(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),o=t.corkedRequestsFree;o.entry=n;for(var a=0;n;)i[a]=n,n=n.next,a+=1;CT(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new vK(t)}else{for(;n;){var s=n.chunk,l=n.encoding,u=n.callback;if(CT(e,t,!1,t.objectMode?1:s.length,s,l,u),n=n.next,t.writing)break}n===null&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=n,t.bufferProcessing=!1}function hK(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function yF(e,t){t.prefinished||(t.prefinished=!0,e.emit("prefinish"))}function pK(e,t){var n=hK(t);return n&&(t.pendingcb===0?(yF(e,t),t.finished=!0,e.emit("finish")):yF(e,t)),n}function vK(e){var t=this;this.next=null,this.entry=null,this.finish=function(n){var r=t.entry;for(t.entry=null;r;){var i=r.callback;e.pendingcb--,i(n),r=r.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}}Fr.prototype.read=function(e){rr("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(e!==0&&(t.emittedReadable=!1),e===0&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return rr("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?QM(this):Ox(this),null;if((e=hF(e,t))===0&&t.ended)return t.length===0&&QM(this),null;var r,i=t.needReadable;return rr("need readable",i),(t.length===0||t.length-e<t.highWaterMark)&&rr("length less than watermark",i=!0),t.ended||t.reading?rr("reading or ended",i=!1):i&&(rr("do read"),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=hF(n,t))),(r=e>0?vF(e,t):null)===null?(t.needReadable=!0,e=0):t.length-=e,t.length===0&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&QM(this)),r!==null&&this.emit("data",r),r},Fr.prototype._read=function(e){this.emit("error",new Error("not implemented"))},Fr.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e)}r.pipesCount+=1,rr("pipe count=%d opts=%j",r.pipesCount,t);var i=!t||t.end!==!1?a:u;function o(g){rr("onunpipe"),g===n&&u()}function a(){rr("onend"),e.end()}r.endEmitted?pi(i):n.once("end",i),e.on("unpipe",o);var s=function(g){return function(){var m=g._readableState;rr("pipeOnDrain",m.awaitDrain),m.awaitDrain&&m.awaitDrain--,m.awaitDrain===0&&g.listeners("data").length&&(m.flowing=!0,ok(g))}}(n);e.on("drain",s);var l=!1;function u(){rr("cleanup"),e.removeListener("close",h),e.removeListener("finish",p),e.removeListener("drain",s),e.removeListener("error",d),e.removeListener("unpipe",o),n.removeListener("end",a),n.removeListener("end",u),n.removeListener("data",f),l=!0,!r.awaitDrain||e._writableState&&!e._writableState.needDrain||s()}var c=!1;function f(g){rr("ondata"),c=!1,e.write(g)!==!1||c||((r.pipesCount===1&&r.pipes===e||r.pipesCount>1&&gF(r.pipes,e)!==-1)&&!l&&(rr("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,c=!0),n.pause())}function d(g){var m;rr("onerror",g),v(),e.removeListener("error",d),m="error",e.listeners(m).length===0&&e.emit("error",g)}function h(){e.removeListener("finish",p),v()}function p(){rr("onfinish"),e.removeListener("close",h),v()}function v(){rr("unpipe"),n.unpipe(e)}return n.on("data",f),function(g,m,y){if(typeof g.prependListener=="function")return g.prependListener(m,y);g._events&&g._events[m]?Array.isArray(g._events[m])?g._events[m].unshift(y):g._events[m]=[y,g._events[m]]:g.on(m,y)}(e,"error",d),e.once("close",h),e.once("finish",p),e.emit("pipe",n),r.flowing||(rr("pipe resume"),n.resume()),e},Fr.prototype.unpipe=function(e){var t=this._readableState;if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this)),this;if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i<r;i++)n[i].emit("unpipe",this);return this}var o=gF(t.pipes,e);return o===-1||(t.pipes.splice(o,1),t.pipesCount-=1,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit("unpipe",this)),this},Fr.prototype.on=function(e,t){var n=_n.prototype.on.call(this,e,t);if(e==="data")this._readableState.flowing!==!1&&this.resume();else if(e==="readable"){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&Ox(this):pi(Dye,this))}return n},Fr.prototype.addListener=Fr.prototype.on,Fr.prototype.resume=function(){var e=this._readableState;return e.flowing||(rr("resume"),e.flowing=!0,function(t,n){n.resumeScheduled||(n.resumeScheduled=!0,pi(Uye,t,n))}(this,e)),this},Fr.prototype.pause=function(){return rr("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(rr("pause"),this._readableState.flowing=!1,this.emit("pause")),this},Fr.prototype.wrap=function(e){var t=this._readableState,n=!1,r=this;for(var i in e.on("end",function(){if(rr("wrapped end"),t.decoder&&!t.ended){var o=t.decoder.end();o&&o.length&&r.push(o)}r.push(null)}),e.on("data",function(o){rr("wrapped data"),t.decoder&&(o=t.decoder.write(o)),t.objectMode&&o==null||(t.objectMode||o&&o.length)&&(r.push(o)||(n=!0,e.pause()))}),e)this[i]===void 0&&typeof e[i]=="function"&&(this[i]=function(o){return function(){return e[o].apply(e,arguments)}}(i));return function(o,a){for(var s=0,l=o.length;s<l;s++)a(o[s],s)}(["error","close","destroy","pause","resume"],function(o){e.on(o,r.emit.bind(r,o))}),r._read=function(o){rr("wrapped _read",o),n&&(n=!1,e.resume())},r},Fr._fromList=vF,Di.WritableState=PT,Pf(Di,_n),PT.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},Di.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},Di.prototype.write=function(e,t,n){var r=this._writableState,i=!1;return typeof t=="function"&&(n=t,t=null),qe.isBuffer(e)?t="buffer":t||(t=r.defaultEncoding),typeof n!="function"&&(n=Yye),r.ended?function(o,a){var s=new Error("write after end");o.emit("error",s),pi(a,s)}(this,n):function(o,a,s,l){var u=!0,c=!1;return s===null?c=new TypeError("May not write null values to stream"):qe.isBuffer(s)||typeof s=="string"||s===void 0||a.objectMode||(c=new TypeError("Invalid non-string/buffer chunk")),c&&(o.emit("error",c),pi(l,c),u=!1),u}(this,r,e,n)&&(r.pendingcb++,i=function(o,a,s,l,u){s=function(h,p,v){return h.objectMode||h.decodeStrings===!1||typeof p!="string"||(p=qe.from(p,v)),p}(a,s,l),qe.isBuffer(s)&&(l="buffer");var c=a.objectMode?1:s.length;a.length+=c;var f=a.length<a.highWaterMark;if(f||(a.needDrain=!0),a.writing||a.corked){var d=a.lastBufferedRequest;a.lastBufferedRequest=new Zye(s,l,u),d?d.next=a.lastBufferedRequest:a.bufferedRequest=a.lastBufferedRequest,a.bufferedRequestCount+=1}else CT(o,a,!1,c,s,l,u);return f}(this,r,e,t,n)),i},Di.prototype.cork=function(){this._writableState.corked++},Di.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||dK(this,e))},Di.prototype.setDefaultEncoding=function(e){if(typeof e=="string"&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Di.prototype._write=function(e,t,n){n(new Error("not implemented"))},Di.prototype._writev=null,Di.prototype.end=function(e,t,n){var r=this._writableState;typeof e=="function"?(n=e,e=null,t=null):typeof t=="function"&&(n=t,t=null),e!=null&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(i,o,a){o.ending=!0,pK(i,o),a&&(o.finished?pi(a):i.once("finish",a)),o.ended=!0,i.writable=!1}(this,r,n)},Pf(Ua,Fr);for(var AF=Object.keys(Di.prototype),HM=0;HM<AF.length;HM++){var KM=AF[HM];Ua.prototype[KM]||(Ua.prototype[KM]=Di.prototype[KM])}function Ua(e){if(!(this instanceof Ua))return new Ua(e);Fr.call(this,e),Di.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",Qye)}function Qye(){this.allowHalfOpen||this._writableState.ended||pi(Hye,this)}function Hye(e){e.end()}function Kye(e){this.afterTransform=function(t,n){return function(r,i,o){var a=r._transformState;a.transforming=!1;var s=a.writecb;if(!s)return r.emit("error",new Error("no writecb in Transform class"));a.writechunk=null,a.writecb=null,o!=null&&r.push(o),s(i);var l=r._readableState;l.reading=!1,(l.needReadable||l.length<l.highWaterMark)&&r._read(l.highWaterMark)}(e,t,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function tl(e){if(!(this instanceof tl))return new tl(e);Ua.call(this,e),this._transformState=new Kye(this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.once("prefinish",function(){typeof this._flush=="function"?this._flush(function(n){RF(t,n)}):RF(t)})}function RF(e,t){if(t)return e.emit("error",t);var n=e._writableState,r=e._transformState;if(n.length)throw new Error("Calling transform done when ws.length != 0");if(r.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}function tv(e){if(!(this instanceof tv))return new tv(e);tl.call(this,e)}function Js(){_n.call(this)}Pf(tl,Ua),tl.prototype.push=function(e,t){return this._transformState.needTransform=!1,Ua.prototype.push.call(this,e,t)},tl.prototype._transform=function(e,t,n){throw new Error("Not implemented")},tl.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},tl.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},Pf(tv,tl),tv.prototype._transform=function(e,t,n){n(null,e)},Pf(Js,_n),Js.Readable=Fr,Js.Writable=Di,Js.Duplex=Ua,Js.Transform=tl,Js.PassThrough=tv,Js.Stream=Js,Js.prototype.pipe=function(e,t){var n=this;function r(c){e.writable&&e.write(c)===!1&&n.pause&&n.pause()}function i(){n.readable&&n.resume&&n.resume()}n.on("data",r),e.on("drain",i),e._isStdio||t&&t.end===!1||(n.on("end",a),n.on("close",s));var o=!1;function a(){o||(o=!0,e.end())}function s(){o||(o=!0,typeof e.destroy=="function"&&e.destroy())}function l(c){if(u(),_n.listenerCount(this,"error")===0)throw c}function u(){n.removeListener("data",r),e.removeListener("drain",i),n.removeListener("end",a),n.removeListener("close",s),n.removeListener("error",l),e.removeListener("error",l),n.removeListener("end",u),n.removeListener("close",u),e.removeListener("close",u)}return n.on("error",l),e.on("error",l),n.on("end",u),n.on("close",u),e.on("close",u),e.emit("pipe",n),e};var bF,xF,SF,gK=o3(Object.freeze({__proto__:null,default:Js,Readable:Fr,Writable:Di,Duplex:Ua,Transform:tl,PassThrough:tv,Stream:Js})),EA={exports:{}};function c3(){return bF||(bF=1,Ca===void 0||!Ca.version||Ca.version.indexOf("v0.")===0||Ca.version.indexOf("v1.")===0&&Ca.version.indexOf("v1.8.")!==0?EA.exports={nextTick:function(e,t,n,r){if(typeof e!="function")throw new TypeError('"callback" argument must be a function');var i,o,a=arguments.length;switch(a){case 0:case 1:return pi(e);case 2:return pi(function(){e.call(null,t)});case 3:return pi(function(){e.call(null,t,n)});case 4:return pi(function(){e.call(null,t,n,r)});default:for(i=new Array(a-1),o=0;o<i.length;)i[o++]=arguments[o];return pi(function(){e.apply(null,i)})}}}:EA.exports=Ca),EA.exports}var wF,Gye=o3(Tye),MF={exports:{}};function mK(){return wF?MF.exports:(wF=1,MF.exports=gK)}var LF,GM={exports:{}},yK=o3(fye);function f3(){return LF||(LF=1,function(e,t){var n=yK,r=n.Buffer;function i(a,s){for(var l in a)s[l]=a[l]}function o(a,s,l){return r(a,s,l)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=n:(i(n,t),t.Buffer=o),i(r,o),o.from=function(a,s,l){if(typeof a=="number")throw new TypeError("Argument must not be a number");return r(a,s,l)},o.alloc=function(a,s,l){if(typeof a!="number")throw new TypeError("Argument must be a number");var u=r(a);return s!==void 0?typeof l=="string"?u.fill(s,l):u.fill(s):u.fill(0),u},o.allocUnsafe=function(a){if(typeof a!="number")throw new TypeError("Argument must be a number");return r(a)},o.allocUnsafeSlow=function(a){if(typeof a!="number")throw new TypeError("Argument must be a number");return n.SlowBuffer(a)}}(GM,GM.exports)),GM.exports}var TF,Ei={};function $2(){if(TF)return Ei;function e(t){return Object.prototype.toString.call(t)}return TF=1,Ei.isArray=function(t){return Array.isArray?Array.isArray(t):e(t)==="[object Array]"},Ei.isBoolean=function(t){return typeof t=="boolean"},Ei.isNull=function(t){return t===null},Ei.isNullOrUndefined=function(t){return t==null},Ei.isNumber=function(t){return typeof t=="number"},Ei.isString=function(t){return typeof t=="string"},Ei.isSymbol=function(t){return typeof t=="symbol"},Ei.isUndefined=function(t){return t===void 0},Ei.isRegExp=function(t){return e(t)==="[object RegExp]"},Ei.isObject=function(t){return typeof t=="object"&&t!==null},Ei.isDate=function(t){return e(t)==="[object Date]"},Ei.isError=function(t){return e(t)==="[object Error]"||t instanceof Error},Ei.isFunction=function(t){return typeof t=="function"},Ei.isPrimitive=function(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||t===void 0},Ei.isBuffer=yK.Buffer.isBuffer,Ei}var _F,OF,kF={exports:{}},d3=o3(Nye),zM={exports:{}};function j2(){return OF||(OF=1,function(e){try{var t=d3;if(typeof t.inherits!="function")throw"";e.exports=t.inherits}catch{e.exports=(_F||(_F=1,typeof Object.create=="function"?zM.exports=function(r,i){i&&(r.super_=i,r.prototype=Object.create(i.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}))}:zM.exports=function(r,i){if(i){r.super_=i;var o=function(){};o.prototype=i.prototype,r.prototype=new o,r.prototype.constructor=r}}),zM.exports)}}(kF)),kF.exports}var PF,JM,CF,IF,NF,$M,FF,jM,EF,XF={exports:{}};function zye(){return PF||(PF=1,function(e){var t=f3().Buffer,n=d3;e.exports=function(){function r(){(function(i,o){if(!(i instanceof o))throw new TypeError("Cannot call a class as a function")})(this,r),this.head=null,this.tail=null,this.length=0}return r.prototype.push=function(i){var o={data:i,next:null};this.length>0?this.tail.next=o:this.head=o,this.tail=o,++this.length},r.prototype.unshift=function(i){var o={data:i,next:this.head};this.length===0&&(this.tail=o),this.head=o,++this.length},r.prototype.shift=function(){if(this.length!==0){var i=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,i}},r.prototype.clear=function(){this.head=this.tail=null,this.length=0},r.prototype.join=function(i){if(this.length===0)return"";for(var o=this.head,a=""+o.data;o=o.next;)a+=i+o.data;return a},r.prototype.concat=function(i){if(this.length===0)return t.alloc(0);if(this.length===1)return this.head.data;for(var o,a,s,l=t.allocUnsafe(i>>>0),u=this.head,c=0;u;)o=u.data,a=l,s=c,o.copy(a,s),c+=u.data.length,u=u.next;return l},r}(),n&&n.inspect&&n.inspect.custom&&(e.exports.prototype[n.inspect.custom]=function(){var r=n.inspect({length:this.length});return this.constructor.name+" "+r})}(XF)),XF.exports}function AK(){if(CF)return JM;CF=1;var e=c3();function t(n,r){n.emit("error",r)}return JM={destroy:function(n,r){var i=this,o=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return o||a?(r?r(n):!n||this._writableState&&this._writableState.errorEmitted||e.nextTick(t,this,n),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(n||null,function(s){!r&&s?(e.nextTick(t,i,s),i._writableState&&(i._writableState.errorEmitted=!0)):r&&r(s)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}},JM}function RK(){if(FF)return $M;FF=1;var e=c3();function t(A){var x=this;this.next=null,this.entry=null,this.finish=function(){(function(S,_,M){var w=S.entry;for(S.entry=null;w;){var L=w.callback;_.pendingcb--,L(M),w=w.next}_.corkedRequestsFree?_.corkedRequestsFree.next=S:_.corkedRequestsFree=S})(x,A)}}$M=h;var n,r=e.nextTick;h.WritableState=d;var i=Object.create($2());i.inherits=j2();var o={deprecate:NF?IF:(NF=1,IF=d3.deprecate)},a=mK(),s=f3().Buffer,l=Ta.Uint8Array||function(){},u,c=AK();function f(){}function d(A,x){n=n||Rv(),A=A||{};var S=x instanceof n;this.objectMode=!!A.objectMode,S&&(this.objectMode=this.objectMode||!!A.writableObjectMode);var _=A.highWaterMark,M=A.writableHighWaterMark,w=this.objectMode?16:16384;this.highWaterMark=_||_===0?_:S&&(M||M===0)?M:w,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var L=A.decodeStrings===!1;this.decodeStrings=!L,this.defaultEncoding=A.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(k){(function(P,F){var C=P._writableState,N=C.sync,I=C.writecb;if(function(W){W.writing=!1,W.writecb=null,W.length-=W.writelen,W.writelen=0}(C),F)(function(W,Z,re,Y,B){--Z.pendingcb,re?(e.nextTick(B,Y),e.nextTick(R,W,Z),W._writableState.errorEmitted=!0,W.emit("error",Y)):(B(Y),W._writableState.errorEmitted=!0,W.emit("error",Y),R(W,Z))})(P,C,N,F,I);else{var V=m(C);V||C.corked||C.bufferProcessing||!C.bufferedRequest||g(P,C),N?r(v,P,C,V,I):v(P,C,V,I)}})(x,k)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new t(this)}function h(A){if(n=n||Rv(),!(u.call(h,this)||this instanceof n))return new h(A);this._writableState=new d(A,this),this.writable=!0,A&&(typeof A.write=="function"&&(this._write=A.write),typeof A.writev=="function"&&(this._writev=A.writev),typeof A.destroy=="function"&&(this._destroy=A.destroy),typeof A.final=="function"&&(this._final=A.final)),a.call(this)}function p(A,x,S,_,M,w,L){x.writelen=_,x.writecb=L,x.writing=!0,x.sync=!0,S?A._writev(M,x.onwrite):A._write(M,w,x.onwrite),x.sync=!1}function v(A,x,S,_){S||function(M,w){w.length===0&&w.needDrain&&(w.needDrain=!1,M.emit("drain"))}(A,x),x.pendingcb--,_(),R(A,x)}function g(A,x){x.bufferProcessing=!0;var S=x.bufferedRequest;if(A._writev&&S&&S.next){var _=x.bufferedRequestCount,M=new Array(_),w=x.corkedRequestsFree;w.entry=S;for(var L=0,k=!0;S;)M[L]=S,S.isBuf||(k=!1),S=S.next,L+=1;M.allBuffers=k,p(A,x,!0,x.length,M,"",w.finish),x.pendingcb++,x.lastBufferedRequest=null,w.next?(x.corkedRequestsFree=w.next,w.next=null):x.corkedRequestsFree=new t(x),x.bufferedRequestCount=0}else{for(;S;){var P=S.chunk,F=S.encoding,C=S.callback;if(p(A,x,!1,x.objectMode?1:P.length,P,F,C),S=S.next,x.bufferedRequestCount--,x.writing)break}S===null&&(x.lastBufferedRequest=null)}x.bufferedRequest=S,x.bufferProcessing=!1}function m(A){return A.ending&&A.length===0&&A.bufferedRequest===null&&!A.finished&&!A.writing}function y(A,x){A._final(function(S){x.pendingcb--,S&&A.emit("error",S),x.prefinished=!0,A.emit("prefinish"),R(A,x)})}function R(A,x){var S=m(x);return S&&(function(_,M){M.prefinished||M.finalCalled||(typeof _._final=="function"?(M.pendingcb++,M.finalCalled=!0,e.nextTick(y,_,M)):(M.prefinished=!0,_.emit("prefinish")))}(A,x),x.pendingcb===0&&(x.finished=!0,A.emit("finish"))),S}return i.inherits(h,a),d.prototype.getBuffer=function(){for(var A=this.bufferedRequest,x=[];A;)x.push(A),A=A.next;return x},function(){try{Object.defineProperty(d.prototype,"buffer",{get:o.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}(),typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(u=Function.prototype[Symbol.hasInstance],Object.defineProperty(h,Symbol.hasInstance,{value:function(A){return!!u.call(this,A)||this===h&&A&&A._writableState instanceof d}})):u=function(A){return A instanceof this},h.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},h.prototype.write=function(A,x,S){var _,M=this._writableState,w=!1,L=!M.objectMode&&(_=A,s.isBuffer(_)||_ instanceof l);return L&&!s.isBuffer(A)&&(A=function(k){return s.from(k)}(A)),typeof x=="function"&&(S=x,x=null),L?x="buffer":x||(x=M.defaultEncoding),typeof S!="function"&&(S=f),M.ended?function(k,P){var F=new Error("write after end");k.emit("error",F),e.nextTick(P,F)}(this,S):(L||function(k,P,F,C){var N=!0,I=!1;return F===null?I=new TypeError("May not write null values to stream"):typeof F=="string"||F===void 0||P.objectMode||(I=new TypeError("Invalid non-string/buffer chunk")),I&&(k.emit("error",I),e.nextTick(C,I),N=!1),N}(this,M,A,S))&&(M.pendingcb++,w=function(k,P,F,C,N,I){if(!F){var V=function(Y,B,Q){return Y.objectMode||Y.decodeStrings===!1||typeof B!="string"||(B=s.from(B,Q)),B}(P,C,N);C!==V&&(F=!0,N="buffer",C=V)}var W=P.objectMode?1:C.length;P.length+=W;var Z=P.length<P.highWaterMark;if(Z||(P.needDrain=!0),P.writing||P.corked){var re=P.lastBufferedRequest;P.lastBufferedRequest={chunk:C,encoding:N,isBuf:F,callback:I,next:null},re?re.next=P.lastBufferedRequest:P.bufferedRequest=P.lastBufferedRequest,P.bufferedRequestCount+=1}else p(k,P,!1,W,C,N,I);return Z}(this,M,L,A,x,S)),w},h.prototype.cork=function(){this._writableState.corked++},h.prototype.uncork=function(){var A=this._writableState;A.corked&&(A.corked--,A.writing||A.corked||A.finished||A.bufferProcessing||!A.bufferedRequest||g(this,A))},h.prototype.setDefaultEncoding=function(A){if(typeof A=="string"&&(A=A.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((A+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+A);return this._writableState.defaultEncoding=A,this},Object.defineProperty(h.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),h.prototype._write=function(A,x,S){S(new Error("_write() is not implemented"))},h.prototype._writev=null,h.prototype.end=function(A,x,S){var _=this._writableState;typeof A=="function"?(S=A,A=null,x=null):typeof x=="function"&&(S=x,x=null),A!=null&&this.write(A,x),_.corked&&(_.corked=1,this.uncork()),_.ending||_.finished||function(M,w,L){w.ending=!0,R(M,w),L&&(w.finished?e.nextTick(L):M.once("finish",L)),w.ended=!0,M.writable=!1}(this,_,S)},Object.defineProperty(h.prototype,"destroyed",{get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(A){this._writableState&&(this._writableState.destroyed=A)}}),h.prototype.destroy=c.destroy,h.prototype._undestroy=c.undestroy,h.prototype._destroy=function(A,x){this.end(),x(A)},$M}function Rv(){if(EF)return jM;EF=1;var e=c3(),t=Object.keys||function(f){var d=[];for(var h in f)d.push(h);return d};jM=l;var n=Object.create($2());n.inherits=j2();var r=bK(),i=RK();n.inherits(l,r);for(var o=t(i.prototype),a=0;a<o.length;a++){var s=o[a];l.prototype[s]||(l.prototype[s]=i.prototype[s])}function l(f){if(!(this instanceof l))return new l(f);r.call(this,f),i.call(this,f),f&&f.readable===!1&&(this.readable=!1),f&&f.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,f&&f.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",u)}function u(){this.allowHalfOpen||this._writableState.ended||e.nextTick(c,this)}function c(f){f.end()}return Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"destroyed",{get:function(){return this._readableState!==void 0&&this._writableState!==void 0&&this._readableState.destroyed&&this._writableState.destroyed},set:function(f){this._readableState!==void 0&&this._writableState!==void 0&&(this._readableState.destroyed=f,this._writableState.destroyed=f)}}),l.prototype._destroy=function(f,d){this.push(null),this.end(),e.nextTick(d,f)},jM}var WF,qM,VF,e5,DF,t5,UF,BF,n5={};function YF(){if(WF)return n5;WF=1;var e=f3().Buffer,t=e.isEncoding||function(f){switch((f=""+f)&&f.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function n(f){var d;switch(this.encoding=function(h){var p=function(v){if(!v)return"utf8";for(var g;;)switch(v){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return v;default:if(g)return;v=(""+v).toLowerCase(),g=!0}}(h);if(typeof p!="string"&&(e.isEncoding===t||!t(h)))throw new Error("Unknown encoding: "+h);return p||h}(f),this.encoding){case"utf16le":this.text=o,this.end=a,d=4;break;case"utf8":this.fillLast=i,d=4;break;case"base64":this.text=s,this.end=l,d=3;break;default:return this.write=u,void(this.end=c)}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(d)}function r(f){return f<=127?0:f>>5==6?2:f>>4==14?3:f>>3==30?4:f>>6==2?-1:-2}function i(f){var d=this.lastTotal-this.lastNeed,h=function(p,v,g){if((192&v[0])!=128)return p.lastNeed=0,"<22>";if(p.lastNeed>1&&v.length>1){if((192&v[1])!=128)return p.lastNeed=1,"<22>";if(p.lastNeed>2&&v.length>2&&(192&v[2])!=128)return p.lastNeed=2,"<22>"}}(this,f);return h!==void 0?h:this.lastNeed<=f.length?(f.copy(this.lastChar,d,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(f.copy(this.lastChar,d,0,f.length),void(this.lastNeed-=f.length))}function o(f,d){if((f.length-d)%2==0){var h=f.toString("utf16le",d);if(h){var p=h.charCodeAt(h.length-1);if(p>=55296&&p<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=f[f.length-2],this.lastChar[1]=f[f.length-1],h.slice(0,-1)}return h}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=f[f.length-1],f.toString("utf16le",d,f.length-1)}function a(f){var d=f&&f.length?this.write(f):"";if(this.lastNeed){var h=this.lastTotal-this.lastNeed;return d+this.lastChar.toString("utf16le",0,h)}return d}function s(f,d){var h=(f.length-d)%3;return h===0?f.toString("base64",d):(this.lastNeed=3-h,this.lastTotal=3,h===1?this.lastChar[0]=f[f.length-1]:(this.lastChar[0]=f[f.length-2],this.lastChar[1]=f[f.length-1]),f.toString("base64",d,f.length-h))}function l(f){var d=f&&f.length?this.write(f):"";return this.lastNeed?d+this.lastChar.toString("base64",0,3-this.lastNeed):d}function u(f){return f.toString(this.encoding)}function c(f){return f&&f.length?this.write(f):""}return n5.StringDecoder=n,n.prototype.write=function(f){if(f.length===0)return"";var d,h;if(this.lastNeed){if((d=this.fillLast(f))===void 0)return"";h=this.lastNeed,this.lastNeed=0}else h=0;return h<f.length?d?d+this.text(f,h):this.text(f,h):d||""},n.prototype.end=function(f){var d=f&&f.length?this.write(f):"";return this.lastNeed?d+"<22>":d},n.prototype.text=function(f,d){var h=function(v,g,m){var y=g.length-1;if(y<m)return 0;var R=r(g[y]);return R>=0?(R>0&&(v.lastNeed=R-1),R):--y<m||R===-2?0:(R=r(g[y]))>=0?(R>0&&(v.lastNeed=R-2),R):--y<m||R===-2?0:(R=r(g[y]))>=0?(R>0&&(R===2?R=0:v.lastNeed=R-3),R):0}(this,f,d);if(!this.lastNeed)return f.toString("utf8",d);this.lastTotal=h;var p=f.length-(h-this.lastNeed);return f.copy(this.lastChar,0,p),f.toString("utf8",d,p)},n.prototype.fillLast=function(f){if(this.lastNeed<=f.length)return f.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);f.copy(this.lastChar,this.lastTotal-this.lastNeed,0,f.length),this.lastNeed-=f.length},n5}function bK(){if(VF)return qM;VF=1;var e=c3();qM=v;var t,n=function(){if(SF)return xF;SF=1;var N={}.toString;return xF=Array.isArray||function(I){return N.call(I)=="[object Array]"}}();v.ReadableState=p,Gye.EventEmitter;var r=function(N,I){return N.listeners(I).length},i=mK(),o=f3().Buffer,a=Ta.Uint8Array||function(){},s=Object.create($2());s.inherits=j2();var l=d3,u=void 0;u=l&&l.debuglog?l.debuglog("stream"):function(){};var c,f=zye(),d=AK();s.inherits(v,i);var h=["error","close","destroy","pause","resume"];function p(N,I){N=N||{};var V=I instanceof(t=t||Rv());this.objectMode=!!N.objectMode,V&&(this.objectMode=this.objectMode||!!N.readableObjectMode);var W=N.highWaterMark,Z=N.readableHighWaterMark,re=this.objectMode?16:16384;this.highWaterMark=W||W===0?W:V&&(Z||Z===0)?Z:re,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new f,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=N.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,N.encoding&&(c||(c=YF().StringDecoder),this.decoder=new c(N.encoding),this.encoding=N.encoding)}function v(N){if(t=t||Rv(),!(this instanceof v))return new v(N);this._readableState=new p(N,this),this.readable=!0,N&&(typeof N.read=="function"&&(this._read=N.read),typeof N.destroy=="function"&&(this._destroy=N.destroy)),i.call(this)}function g(N,I,V,W,Z){var re,Y=N._readableState;return I===null?(Y.reading=!1,function(B,Q){if(!Q.ended){if(Q.decoder){var K=Q.decoder.end();K&&K.length&&(Q.buffer.push(K),Q.length+=Q.objectMode?1:K.length)}Q.ended=!0,A(B)}}(N,Y)):(Z||(re=function(B,Q){var K;q=Q,o.isBuffer(q)||q instanceof a||typeof Q=="string"||Q===void 0||B.objectMode||(K=new TypeError("Invalid non-string/buffer chunk"));var q;return K}(Y,I)),re?N.emit("error",re):Y.objectMode||I&&I.length>0?(typeof I=="string"||Y.objectMode||Object.getPrototypeOf(I)===o.prototype||(I=function(B){return o.from(B)}(I)),W?Y.endEmitted?N.emit("error",new Error("stream.unshift() after end event")):m(N,Y,I,!0):Y.ended?N.emit("error",new Error("stream.push() after EOF")):(Y.reading=!1,Y.decoder&&!V?(I=Y.decoder.write(I),Y.objectMode||I.length!==0?m(N,Y,I,!1):S(N,Y)):m(N,Y,I,!1))):W||(Y.reading=!1)),function(B){return!B.ended&&(B.needReadable||B.length<B.highWaterMark||B.length===0)}(Y)}function m(N,I,V,W){I.flowing&&I.length===0&&!I.sync?(N.emit("data",V),N.read(0)):(I.length+=I.objectMode?1:V.length,W?I.buffer.unshift(V):I.buffer.push(V),I.needReadable&&A(N)),S(N,I)}Object.defineProperty(v.prototype,"destroyed",{get:function(){return this._readableState!==void 0&&this._readableState.destroyed},set:function(N){this._readableState&&(this._readableState.destroyed=N)}}),v.prototype.destroy=d.destroy,v.prototype._undestroy=d.undestroy,v.prototype._destroy=function(N,I){this.push(null),I(N)},v.prototype.push=function(N,I){var V,W=this._readableState;return W.objectMode?V=!0:typeof N=="string"&&((I=I||W.defaultEncoding)!==W.encoding&&(N=o.from(N,I),I=""),V=!0),g(this,N,I,!1,V)},v.prototype.unshift=function(N){return g(this,N,null,!0,!1)},v.prototype.isPaused=function(){return this._readableState.flowing===!1},v.prototype.setEncoding=function(N){return c||(c=YF().StringDecoder),this._readableState.decoder=new c(N),this._readableState.encoding=N,this};var y=8388608;function R(N,I){return N<=0||I.length===0&&I.ended?0:I.objectMode?1:N!=N?I.flowing&&I.length?I.buffer.head.data.length:I.length:(N>I.highWaterMark&&(I.highWaterMark=function(V){return V>=y?V=y:(V--,V|=V>>>1,V|=V>>>2,V|=V>>>4,V|=V>>>8,V|=V>>>16,V++),V}(N)),N<=I.length?N:I.ended?I.length:(I.needReadable=!0,0))}function A(N){var I=N._readableState;I.needReadable=!1,I.emittedReadable||(u("emitReadable",I.flowing),I.emittedReadable=!0,I.sync?e.nextTick(x,N):x(N))}function x(N){u("emit readable"),N.emit("readable"),L(N)}function S(N,I){I.readingMore||(I.readingMore=!0,e.nextTick(_,N,I))}function _(N,I){for(var V=I.length;!I.reading&&!I.flowing&&!I.ended&&I.length<I.highWaterMark&&(u("maybeReadMore read 0"),N.read(0),V!==I.length);)V=I.length;I.readingMore=!1}function M(N){u("readable nexttick read 0"),N.read(0)}function w(N,I){I.reading||(u("resume read 0"),N.read(0)),I.resumeScheduled=!1,I.awaitDrain=0,N.emit("resume"),L(N),I.flowing&&!I.reading&&N.read(0)}function L(N){var I=N._readableState;for(u("flow",I.flowing);I.flowing&&N.read()!==null;);}function k(N,I){return I.length===0?null:(I.objectMode?V=I.buffer.shift():!N||N>=I.length?(V=I.decoder?I.buffer.join(""):I.buffer.length===1?I.buffer.head.data:I.buffer.concat(I.length),I.buffer.clear()):V=function(W,Z,re){var Y;return W<Z.head.data.length?(Y=Z.head.data.slice(0,W),Z.head.data=Z.head.data.slice(W)):Y=W===Z.head.data.length?Z.shift():re?function(B,Q){var K=Q.head,q=1,j=K.data;for(B-=j.length;K=K.next;){var de=K.data,G=B>de.length?de.length:B;if(G===de.length?j+=de:j+=de.slice(0,B),(B-=G)===0){G===de.length?(++q,K.next?Q.head=K.next:Q.head=Q.tail=null):(Q.head=K,K.data=de.slice(G));break}++q}return Q.length-=q,j}(W,Z):function(B,Q){var K=o.allocUnsafe(B),q=Q.head,j=1;for(q.data.copy(K),B-=q.data.length;q=q.next;){var de=q.data,G=B>de.length?de.length:B;if(de.copy(K,K.length-B,0,G),(B-=G)===0){G===de.length?(++j,q.next?Q.head=q.next:Q.head=Q.tail=null):(Q.head=q,q.data=de.slice(G));break}++j}return Q.length-=j,K}(W,Z),Y}(N,I.buffer,I.decoder),V);var V}function P(N){var I=N._readableState;if(I.length>0)throw new Error('"endReadable()" called on non-empty stream');I.endEmitted||(I.ended=!0,e.nextTick(F,I,N))}function F(N,I){N.endEmitted||N.length!==0||(N.endEmitted=!0,I.readable=!1,I.emit("end"))}function C(N,I){for(var V=0,W=N.length;V<W;V++)if(N[V]===I)return V;return-1}return v.prototype.read=function(N){u("read",N),N=parseInt(N,10);var I=this._readableState,V=N;if(N!==0&&(I.emittedReadable=!1),N===0&&I.needReadable&&(I.length>=I.highWaterMark||I.ended))return u("read: emitReadable",I.length,I.ended),I.length===0&&I.ended?P(this):A(this),null;if((N=R(N,I))===0&&I.ended)return I.length===0&&P(this),null;var W,Z=I.needReadable;return u("need readable",Z),(I.length===0||I.length-N<I.highWaterMark)&&u("length less than watermark",Z=!0),I.ended||I.reading?u("reading or ended",Z=!1):Z&&(u("do read"),I.reading=!0,I.sync=!0,I.length===0&&(I.needReadable=!0),this._read(I.highWaterMark),I.sync=!1,I.reading||(N=R(V,I))),(W=N>0?k(N,I):null)===null?(I.needReadable=!0,N=0):I.length-=N,I.length===0&&(I.ended||(I.needReadable=!0),V!==N&&I.ended&&P(this)),W!==null&&this.emit("data",W),W},v.prototype._read=function(N){this.emit("error",new Error("_read() is not implemented"))},v.prototype.pipe=function(N,I){var V=this,W=this._readableState;switch(W.pipesCount){case 0:W.pipes=N;break;case 1:W.pipes=[W.pipes,N];break;default:W.pipes.push(N)}W.pipesCount+=1,u("pipe count=%d opts=%j",W.pipesCount,I);var Z=(!I||I.end!==!1)&&N!==Ca.stdout&&N!==Ca.stderr?Y:Ae;function re(ce,fe){u("onunpipe"),ce===V&&fe&&fe.hasUnpiped===!1&&(fe.hasUnpiped=!0,u("cleanup"),N.removeListener("close",de),N.removeListener("finish",G),N.removeListener("drain",B),N.removeListener("error",j),N.removeListener("unpipe",re),V.removeListener("end",Y),V.removeListener("end",Ae),V.removeListener("data",q),Q=!0,!W.awaitDrain||N._writableState&&!N._writableState.needDrain||B())}function Y(){u("onend"),N.end()}W.endEmitted?e.nextTick(Z):V.once("end",Z),N.on("unpipe",re);var B=function(ce){return function(){var fe=ce._readableState;u("pipeOnDrain",fe.awaitDrain),fe.awaitDrain&&fe.awaitDrain--,fe.awaitDrain===0&&r(ce,"data")&&(fe.flowing=!0,L(ce))}}(V);N.on("drain",B);var Q=!1,K=!1;function q(ce){u("ondata"),K=!1,N.write(ce)!==!1||K||((W.pipesCount===1&&W.pipes===N||W.pipesCount>1&&C(W.pipes,N)!==-1)&&!Q&&(u("false write response, pause",V._readableState.awaitDrain),V._readableState.awaitDrain++,K=!0),V.pause())}function j(ce){u("onerror",ce),Ae(),N.removeListener("error",j),r(N,"error")===0&&N.emit("error",ce)}function de(){N.removeListener("finish",G),Ae()}function G(){u("onfinish"),N.removeListener("close",de),Ae()}function Ae(){u("unpipe"),V.unpipe(N)}return V.on("data",q),function(ce,fe,le){if(typeof ce.prependListener=="function")return ce.prependListener(fe,le);ce._events&&ce._events[fe]?n(ce._events[fe])?ce._events[fe].unshift(le):ce._events[fe]=[le,ce._events[fe]]:ce.on(fe,le)}(N,"error",j),N.once("close",de),N.once("finish",G),N.emit("pipe",V),W.flowing||(u("pipe resume"),V.resume()),N},v.prototype.unpipe=function(N){var I=this._readableState,V={hasUnpiped:!1};if(I.pipesCount===0)return this;if(I.pipesCount===1)return N&&N!==I.pipes||(N||(N=I.pipes),I.pipes=null,I.pipesCount=0,I.flowing=!1,N&&N.emit("unpipe",this,V)),this;if(!N){var W=I.pipes,Z=I.pipesCount;I.pipes=null,I.pipesCount=0,I.flowing=!1;for(var re=0;re<Z;re++)W[re].emit("unpipe",this,V);return this}var Y=C(I.pipes,N);return Y===-1||(I.pipes.splice(Y,1),I.pipesCount-=1,I.pipesCount===1&&(I.pipes=I.pipes[0]),N.emit("unpipe",this,V)),this},v.prototype.on=function(N,I){var V=i.prototype.on.call(this,N,I);if(N==="data")this._readableState.flowing!==!1&&this.resume();else if(N==="readable"){var W=this._readableState;W.endEmitted||W.readableListening||(W.readableListening=W.needReadable=!0,W.emittedReadable=!1,W.reading?W.length&&A(this):e.nextTick(M,this))}return V},v.prototype.addListener=v.prototype.on,v.prototype.resume=function(){var N=this._readableState;return N.flowing||(u("resume"),N.flowing=!0,function(I,V){V.resumeScheduled||(V.resumeScheduled=!0,e.nextTick(w,I,V))}(this,N)),this},v.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this},v.prototype.wrap=function(N){var I=this,V=this._readableState,W=!1;for(var Z in N.on("end",function(){if(u("wrapped end"),V.decoder&&!V.ended){var Y=V.decoder.end();Y&&Y.length&&I.push(Y)}I.push(null)}),N.on("data",function(Y){u("wrapped data"),V.decoder&&(Y=V.decoder.write(Y)),V.objectMode&&Y==null||(V.objectMode||Y&&Y.length)&&(I.push(Y)||(W=!0,N.pause()))}),N)this[Z]===void 0&&typeof N[Z]=="function"&&(this[Z]=function(Y){return function(){return N[Y].apply(N,arguments)}}(Z));for(var re=0;re<h.length;re++)N.on(h[re],this.emit.bind(this,h[re]));return this._read=function(Y){u("wrapped _read",Y),W&&(W=!1,N.resume())},this},Object.defineProperty(v.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),v._fromList=k,qM}function ZF(){if(DF)return e5;DF=1,e5=r;var e=Rv(),t=Object.create($2());function n(a,s){var l=this._transformState;l.transforming=!1;var u=l.writecb;if(!u)return this.emit("error",new Error("write callback called multiple times"));l.writechunk=null,l.writecb=null,s!=null&&this.push(s),u(a);var c=this._readableState;c.reading=!1,(c.needReadable||c.length<c.highWaterMark)&&this._read(c.highWaterMark)}function r(a){if(!(this instanceof r))return new r(a);e.call(this,a),this._transformState={afterTransform:n.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,a&&(typeof a.transform=="function"&&(this._transform=a.transform),typeof a.flush=="function"&&(this._flush=a.flush)),this.on("prefinish",i)}function i(){var a=this;typeof this._flush=="function"?this._flush(function(s,l){o(a,s,l)}):o(this,null,null)}function o(a,s,l){if(s)return a.emit("error",s);if(l!=null&&a.push(l),a._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(a._transformState.transforming)throw new Error("Calling transform done when still transforming");return a.push(null)}return t.inherits=j2(),t.inherits(r,e),r.prototype.push=function(a,s){return this._transformState.needTransform=!1,e.prototype.push.call(this,a,s)},r.prototype._transform=function(a,s,l){throw new Error("_transform() is not implemented")},r.prototype._write=function(a,s,l){var u=this._transformState;if(u.writecb=l,u.writechunk=a,u.writeencoding=s,!u.transforming){var c=this._readableState;(u.needTransform||c.needReadable||c.length<c.highWaterMark)&&this._read(c.highWaterMark)}},r.prototype._read=function(a){var s=this._transformState;s.writechunk!==null&&s.writecb&&!s.transforming?(s.transforming=!0,this._transform(s.writechunk,s.writeencoding,s.afterTransform)):s.needTransform=!0},r.prototype._destroy=function(a,s){var l=this;e.prototype._destroy.call(this,a,function(u){s(u),l.emit("close")})},e5}function xK(){return BF||(BF=1,function(e,t){var n=gK;Ca.env.READABLE_STREAM==="disable"&&n?(e.exports=n,(t=e.exports=n.Readable).Readable=n.Readable,t.Writable=n.Writable,t.Duplex=n.Duplex,t.Transform=n.Transform,t.PassThrough=n.PassThrough,t.Stream=n):((t=e.exports=bK()).Stream=n||t,t.Readable=t,t.Writable=RK(),t.Duplex=Rv(),t.Transform=ZF(),t.PassThrough=function(){if(UF)return t5;UF=1,t5=o;var r=ZF(),i=Object.create($2());function o(a){if(!(this instanceof o))return new o(a);r.call(this,a)}return i.inherits=j2(),i.inherits(o,r),o.prototype._transform=function(a,s,l){l(null,a)},t5}())}(DM,DM.exports)),DM.exports}if(oi.base64=!0,oi.array=!0,oi.string=!0,oi.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",oi.nodebuffer=!0,oi.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")oi.blob=!1;else{var QF=new ArrayBuffer(0);try{oi.blob=new Blob([QF],{type:"application/zip"}).size===0}catch{try{var HF=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);HF.append(QF),oi.blob=HF.getBlob("application/zip").size===0}catch{oi.blob=!1}}}try{oi.nodestream=!!xK().Readable}catch{oi.nodestream=!1}var KF,XA={};function SK(){if(KF)return XA;KF=1;var e=Jr(),t=oi,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return XA.encode=function(r){for(var i,o,a,s,l,u,c,f=[],d=0,h=r.length,p=h,v=e.getTypeOf(r)!=="string";d<r.length;)p=h-d,v?(i=r[d++],o=d<h?r[d++]:0,a=d<h?r[d++]:0):(i=r.charCodeAt(d++),o=d<h?r.charCodeAt(d++):0,a=d<h?r.charCodeAt(d++):0),s=i>>2,l=(3&i)<<4|o>>4,u=p>1?(15&o)<<2|a>>6:64,c=p>2?63&a:64,f.push(n.charAt(s)+n.charAt(l)+n.charAt(u)+n.charAt(c));return f.join("")},XA.decode=function(r){var i,o,a,s,l,u,c=0,f=0,d="data:";if(r.substr(0,d.length)===d)throw new Error("Invalid base64 input, it looks like a data url.");var h,p=3*(r=r.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(r.charAt(r.length-1)===n.charAt(64)&&p--,r.charAt(r.length-2)===n.charAt(64)&&p--,p%1!=0)throw new Error("Invalid base64 input, bad content length.");for(h=t.uint8array?new Uint8Array(0|p):new Array(0|p);c<r.length;)i=n.indexOf(r.charAt(c++))<<2|(s=n.indexOf(r.charAt(c++)))>>4,o=(15&s)<<4|(l=n.indexOf(r.charAt(c++)))>>2,a=(3&l)<<6|(u=n.indexOf(r.charAt(c++))),h[f++]=i,l!==64&&(h[f++]=o),u!==64&&(h[f++]=a);return h},XA}var GF,zF,r5,JF,h3={isNode:!0,newBufferFrom:function(e,t){if(qe.from&&qe.from!==Uint8Array.from)return qe.from(e,t);if(typeof e=="number")throw new Error('The "data" argument must not be a number');return new qe(e,t)},allocBuffer:function(e){if(qe.alloc)return qe.alloc(e);var t=new qe(e);return t.fill(0),t},isBuffer:function(e){return G2(e)},isStream:function(e){return e&&typeof e.on=="function"&&typeof e.pause=="function"&&typeof e.resume=="function"}},wK=null;wK=typeof Promise<"u"?Promise:function(){if(JF)return r5;JF=1;var e=function(){if(zF)return GF;zF=1;var d,h,p=Ta.MutationObserver||Ta.WebKitMutationObserver;if(p){var v=0,g=new p(A),m=Ta.document.createTextNode("");g.observe(m,{characterData:!0}),d=function(){m.data=v=++v%2}}else if(Ta.setImmediate||Ta.MessageChannel===void 0)d="document"in Ta&&"onreadystatechange"in Ta.document.createElement("script")?function(){var x=Ta.document.createElement("script");x.onreadystatechange=function(){A(),x.onreadystatechange=null,x.parentNode.removeChild(x),x=null},Ta.document.documentElement.appendChild(x)}:function(){setTimeout(A,0)};else{var y=new Ta.MessageChannel;y.port1.onmessage=A,d=function(){y.port2.postMessage(0)}}var R=[];function A(){var x,S;h=!0;for(var _=R.length;_;){for(S=R,R=[],x=-1;++x<_;)S[x]();_=R.length}h=!1}return GF=function(x){R.push(x)!==1||h||d()}}();function t(){}var n={},r=["REJECTED"],i=["FULFILLED"],o=["PENDING"];function a(d){if(typeof d!="function")throw new TypeError("resolver must be a function");this.state=o,this.queue=[],this.outcome=void 0,d!==t&&c(this,d)}function s(d,h,p){this.promise=d,typeof h=="function"&&(this.onFulfilled=h,this.callFulfilled=this.otherCallFulfilled),typeof p=="function"&&(this.onRejected=p,this.callRejected=this.otherCallRejected)}function l(d,h,p){e(function(){var v;try{v=h(p)}catch(g){return n.reject(d,g)}v===d?n.reject(d,new TypeError("Cannot resolve promise with itself")):n.resolve(d,v)})}function u(d){var h=d&&d.then;if(d&&(typeof d=="object"||typeof d=="function")&&typeof h=="function")return function(){h.apply(d,arguments)}}function c(d,h){var p=!1;function v(y){p||(p=!0,n.reject(d,y))}function g(y){p||(p=!0,n.resolve(d,y))}var m=f(function(){h(g,v)});m.status==="error"&&v(m.value)}function f(d,h){var p={};try{p.value=d(h),p.status="success"}catch(v){p.status="error",p.value=v}return p}return r5=a,a.prototype.finally=function(d){if(typeof d!="function")return this;var h=this.constructor;return this.then(function(p){return h.resolve(d()).then(function(){return p})},function(p){return h.resolve(d()).then(function(){throw p})})},a.prototype.catch=function(d){return this.then(null,d)},a.prototype.then=function(d,h){if(typeof d!="function"&&this.state===i||typeof h!="function"&&this.state===r)return this;var p=new this.constructor(t);return this.state!==o?l(p,this.state===i?d:h,this.outcome):this.queue.push(new s(p,d,h)),p},s.prototype.callFulfilled=function(d){n.resolve(this.promise,d)},s.prototype.otherCallFulfilled=function(d){l(this.promise,this.onFulfilled,d)},s.prototype.callRejected=function(d){n.reject(this.promise,d)},s.prototype.otherCallRejected=function(d){l(this.promise,this.onRejected,d)},n.resolve=function(d,h){var p=f(u,h);if(p.status==="error")return n.reject(d,p.value);var v=p.value;if(v)c(d,v);else{d.state=i,d.outcome=h;for(var g=-1,m=d.queue.length;++g<m;)d.queue[g].callFulfilled(h)}return d},n.reject=function(d,h){d.state=r,d.outcome=h;for(var p=-1,v=d.queue.length;++p<v;)d.queue[p].callRejected(h);return d},a.resolve=function(d){return d instanceof this?d:n.resolve(new this(t),d)},a.reject=function(d){var h=new this(t);return n.reject(h,d)},a.all=function(d){var h=this;if(Object.prototype.toString.call(d)!=="[object Array]")return this.reject(new TypeError("must be an array"));var p=d.length,v=!1;if(!p)return this.resolve([]);for(var g=new Array(p),m=0,y=-1,R=new this(t);++y<p;)A(d[y],y);return R;function A(x,S){h.resolve(x).then(function(_){g[S]=_,++m!==p||v||(v=!0,n.resolve(R,g))},function(_){v||(v=!0,n.reject(R,_))})}},a.race=function(d){var h=this;if(Object.prototype.toString.call(d)!=="[object Array]")return this.reject(new TypeError("must be an array"));var p=d.length,v=!1;if(!p)return this.resolve([]);for(var g,m=-1,y=new this(t);++m<p;)g=d[m],h.resolve(g).then(function(R){v||(v=!0,n.resolve(y,R))},function(R){v||(v=!0,n.reject(y,R))});return y},r5}();var $F,q2={Promise:wK};function Jr(){return $F||($F=1,function(e){var t=oi,n=SK(),r=h3,i=q2;function o(f){return f}function a(f,d){for(var h=0;h<f.length;++h)d[h]=255&f.charCodeAt(h);return d}e.newBlob=function(f,d){e.checkSupport("blob");try{return new Blob([f],{type:d})}catch{try{var h=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return h.append(f),h.getBlob(d)}catch{throw new Error("Bug : can't construct the Blob.")}}};var s={stringifyByChunk:function(f,d,h){var p=[],v=0,g=f.length;if(g<=h)return String.fromCharCode.apply(null,f);for(;v<g;)d==="array"||d==="nodebuffer"?p.push(String.fromCharCode.apply(null,f.slice(v,Math.min(v+h,g)))):p.push(String.fromCharCode.apply(null,f.subarray(v,Math.min(v+h,g)))),v+=h;return p.join("")},stringifyByChar:function(f){for(var d="",h=0;h<f.length;h++)d+=String.fromCharCode(f[h]);return d},applyCanBeUsed:{uint8array:function(){try{return t.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return t.nodebuffer&&String.fromCharCode.apply(null,r.allocBuffer(1)).length===1}catch{return!1}}()}};function l(f){var d=65536,h=e.getTypeOf(f),p=!0;if(h==="uint8array"?p=s.applyCanBeUsed.uint8array:h==="nodebuffer"&&(p=s.applyCanBeUsed.nodebuffer),p)for(;d>1;)try{return s.stringifyByChunk(f,h,d)}catch{d=Math.floor(d/2)}return s.stringifyByChar(f)}function u(f,d){for(var h=0;h<f.length;h++)d[h]=f[h];return d}e.applyFromCharCode=l;var c={};c.string={string:o,array:function(f){return a(f,new Array(f.length))},arraybuffer:function(f){return c.string.uint8array(f).buffer},uint8array:function(f){return a(f,new Uint8Array(f.length))},nodebuffer:function(f){return a(f,r.allocBuffer(f.length))}},c.array={string:l,array:o,arraybuffer:function(f){return new Uint8Array(f).buffer},uint8array:function(f){return new Uint8Array(f)},nodebuffer:function(f){return r.newBufferFrom(f)}},c.arraybuffer={string:function(f){return l(new Uint8Array(f))},array:function(f){return u(new Uint8Array(f),new Array(f.byteLength))},arraybuffer:o,uint8array:function(f){return new Uint8Array(f)},nodebuffer:function(f){return r.newBufferFrom(new Uint8Array(f))}},c.uint8array={string:l,array:function(f){return u(f,new Array(f.length))},arraybuffer:function(f){return f.buffer},uint8array:o,nodebuffer:function(f){return r.newBufferFrom(f)}},c.nodebuffer={string:l,array:function(f){return u(f,new Array(f.length))},arraybuffer:function(f){return c.nodebuffer.uint8array(f).buffer},uint8array:function(f){return u(f,new Uint8Array(f.length))},nodebuffer:o},e.transformTo=function(f,d){if(d||(d=""),!f)return d;e.checkSupport(f);var h=e.getTypeOf(d);return c[h][f](d)},e.resolve=function(f){for(var d=f.split("/"),h=[],p=0;p<d.length;p++){var v=d[p];v==="."||v===""&&p!==0&&p!==d.length-1||(v===".."?h.pop():h.push(v))}return h.join("/")},e.getTypeOf=function(f){return typeof f=="string"?"string":Object.prototype.toString.call(f)==="[object Array]"?"array":t.nodebuffer&&r.isBuffer(f)?"nodebuffer":t.uint8array&&f instanceof Uint8Array?"uint8array":t.arraybuffer&&f instanceof ArrayBuffer?"arraybuffer":void 0},e.checkSupport=function(f){if(!t[f.toLowerCase()])throw new Error(f+" is not supported by this platform")},e.MAX_VALUE_16BITS=65535,e.MAX_VALUE_32BITS=-1,e.pretty=function(f){var d,h,p="";for(h=0;h<(f||"").length;h++)p+="\\x"+((d=f.charCodeAt(h))<16?"0":"")+d.toString(16).toUpperCase();return p},e.delay=function(f,d,h){setImmediate(function(){f.apply(h||null,d||[])})},e.inherits=function(f,d){var h=function(){};h.prototype=d.prototype,f.prototype=new h},e.extend=function(){var f,d,h={};for(f=0;f<arguments.length;f++)for(d in arguments[f])Object.prototype.hasOwnProperty.call(arguments[f],d)&&h[d]===void 0&&(h[d]=arguments[f][d]);return h},e.prepareContent=function(f,d,h,p,v){return i.Promise.resolve(d).then(function(g){return t.blob&&(g instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(g))!==-1)&&typeof FileReader<"u"?new i.Promise(function(m,y){var R=new FileReader;R.onload=function(A){m(A.target.result)},R.onerror=function(A){y(A.target.error)},R.readAsArrayBuffer(g)}):g}).then(function(g){var m,y=e.getTypeOf(g);return y?(y==="arraybuffer"?g=e.transformTo("uint8array",g):y==="string"&&(v?g=n.decode(g):h&&p!==!0&&(g=a(m=g,t.uint8array?new Uint8Array(m.length):new Array(m.length)))),g):i.Promise.reject(new Error("Can't read the data of '"+f+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}}(nF)),nF}function MK(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}(function(e,t){if(!e.setImmediate){var n,r,i,o,a,s=1,l={},u=!1,c=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,{}.toString.call(e.process)==="[object process]"?n=function(p){pi(function(){h(p)})}:function(){if(e.postMessage&&!e.importScripts){var p=!0,v=e.onmessage;return e.onmessage=function(){p=!1},e.postMessage("","*"),e.onmessage=v,p}}()?(o="setImmediate$"+Math.random()+"$",a=function(p){p.source===e&&typeof p.data=="string"&&p.data.indexOf(o)===0&&h(+p.data.slice(o.length))},e.addEventListener?e.addEventListener("message",a,!1):e.attachEvent("onmessage",a),n=function(p){e.postMessage(o+p,"*")}):e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(p){h(p.data)},n=function(p){i.port2.postMessage(p)}):c&&"onreadystatechange"in c.createElement("script")?(r=c.documentElement,n=function(p){var v=c.createElement("script");v.onreadystatechange=function(){h(p),v.onreadystatechange=null,r.removeChild(v),v=null},r.appendChild(v)}):n=function(p){setTimeout(h,0,p)},f.setImmediate=function(p){typeof p!="function"&&(p=new Function(""+p));for(var v=new Array(arguments.length-1),g=0;g<v.length;g++)v[g]=arguments[g+1];var m={callback:p,args:v};return l[s]=m,n(s),s++},f.clearImmediate=d}function d(p){delete l[p]}function h(p){if(u)setTimeout(h,0,p);else{var v=l[p];if(v){u=!0;try{(function(g){var m=g.callback,y=g.args;switch(y.length){case 0:m();break;case 1:m(y[0]);break;case 2:m(y[0],y[1]);break;case 3:m(y[0],y[1],y[2]);break;default:m.apply(void 0,y)}})(v)}finally{d(p),u=!1}}}}})(typeof self>"u"?Ta:self),MK.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n<this._listeners[e].length;n++)this._listeners[e][n].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",function(n){t.processChunk(n)}),e.on("end",function(){t.end()}),e.on("error",function(n){t.error(n)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var e=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}};var Is=MK;(function(e){for(var t=Jr(),n=oi,r=h3,i=Is,o=new Array(256),a=0;a<256;a++)o[a]=a>=252?6:a>=248?5:a>=240?4:a>=224?3:a>=192?2:1;o[254]=o[254]=1;function s(){i.call(this,"utf-8 decode"),this.leftOver=null}function l(){i.call(this,"utf-8 encode")}e.utf8encode=function(u){return n.nodebuffer?r.newBufferFrom(u,"utf-8"):function(c){var f,d,h,p,v,g=c.length,m=0;for(p=0;p<g;p++)(64512&(d=c.charCodeAt(p)))==55296&&p+1<g&&(64512&(h=c.charCodeAt(p+1)))==56320&&(d=65536+(d-55296<<10)+(h-56320),p++),m+=d<128?1:d<2048?2:d<65536?3:4;for(f=n.uint8array?new Uint8Array(m):new Array(m),v=0,p=0;v<m;p++)(64512&(d=c.charCodeAt(p)))==55296&&p+1<g&&(64512&(h=c.charCodeAt(p+1)))==56320&&(d=65536+(d-55296<<10)+(h-56320),p++),d<128?f[v++]=d:d<2048?(f[v++]=192|d>>>6,f[v++]=128|63&d):d<65536?(f[v++]=224|d>>>12,f[v++]=128|d>>>6&63,f[v++]=128|63&d):(f[v++]=240|d>>>18,f[v++]=128|d>>>12&63,f[v++]=128|d>>>6&63,f[v++]=128|63&d);return f}(u)},e.utf8decode=function(u){return n.nodebuffer?t.transformTo("nodebuffer",u).toString("utf-8"):function(c){var f,d,h,p,v=c.length,g=new Array(2*v);for(d=0,f=0;f<v;)if((h=c[f++])<128)g[d++]=h;else if((p=o[h])>4)g[d++]=65533,f+=p-1;else{for(h&=p===2?31:p===3?15:7;p>1&&f<v;)h=h<<6|63&c[f++],p--;p>1?g[d++]=65533:h<65536?g[d++]=h:(h-=65536,g[d++]=55296|h>>10&1023,g[d++]=56320|1023&h)}return g.length!==d&&(g.subarray?g=g.subarray(0,d):g.length=d),t.applyFromCharCode(g)}(u=t.transformTo(n.uint8array?"uint8array":"array",u))},t.inherits(s,i),s.prototype.processChunk=function(u){var c=t.transformTo(n.uint8array?"uint8array":"array",u.data);if(this.leftOver&&this.leftOver.length){if(n.uint8array){var f=c;(c=new Uint8Array(f.length+this.leftOver.length)).set(this.leftOver,0),c.set(f,this.leftOver.length)}else c=this.leftOver.concat(c);this.leftOver=null}var d=function(p,v){var g;for((v=v||p.length)>p.length&&(v=p.length),g=v-1;g>=0&&(192&p[g])==128;)g--;return g<0||g===0?v:g+o[p[g]]>v?g:v}(c),h=c;d!==c.length&&(n.uint8array?(h=c.subarray(0,d),this.leftOver=c.subarray(d,c.length)):(h=c.slice(0,d),this.leftOver=c.slice(d,c.length))),this.push({data:e.utf8decode(h),meta:u.meta})},s.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:e.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},e.Utf8DecodeWorker=s,t.inherits(l,i),l.prototype.processChunk=function(u){this.push({data:e.utf8encode(u.data),meta:u.meta})},e.Utf8EncodeWorker=l})(Kv);var LK=Is,jF=Jr();function IT(e){LK.call(this,"ConvertWorker to "+e),this.destType=e}jF.inherits(IT,LK),IT.prototype.processChunk=function(e){this.push({data:jF.transformTo(this.destType,e.data),meta:e.meta})};var qF,eE,Jye=IT,Ph=Jr(),$ye=Jye,jye=Is,qye=SK(),eAe=q2,TK=null;if(oi.nodestream)try{TK=function(){if(eE)return qF;eE=1;var e=xK().Readable;function t(n,r,i){e.call(this,r),this._helper=n;var o=this;n.on("data",function(a,s){o.push(a)||o._helper.pause(),i&&i(s)}).on("error",function(a){o.emit("error",a)}).on("end",function(){o.push(null)})}return Jr().inherits(t,e),t.prototype._read=function(){this._helper.resume()},qF=t}()}catch{}function tAe(e,t){return new eAe.Promise(function(n,r){var i=[],o=e._internalType,a=e._outputType,s=e._mimeType;e.on("data",function(l,u){i.push(l),t&&t(u)}).on("error",function(l){i=[],r(l)}).on("end",function(){try{var l=function(u,c,f){switch(u){case"blob":return Ph.newBlob(Ph.transformTo("arraybuffer",c),f);case"base64":return qye.encode(c);default:return Ph.transformTo(u,c)}}(a,function(u,c){var f,d=0,h=null,p=0;for(f=0;f<c.length;f++)p+=c[f].length;switch(u){case"string":return c.join("");case"array":return Array.prototype.concat.apply([],c);case"uint8array":for(h=new Uint8Array(p),f=0;f<c.length;f++)h.set(c[f],d),d+=c[f].length;return h;case"nodebuffer":return qe.concat(c);default:throw new Error("concat : unsupported type '"+u+"'")}}(o,i),s);n(l)}catch(u){r(u)}i=[]}).resume()})}function _K(e,t,n){var r=t;switch(t){case"blob":case"arraybuffer":r="uint8array";break;case"base64":r="string"}try{this._internalType=r,this._outputType=t,this._mimeType=n,Ph.checkSupport(r),this._worker=e.pipe(new $ye(r)),e.lock()}catch(i){this._worker=new jye("error"),this._worker.error(i)}}_K.prototype={accumulate:function(e){return tAe(this,e)},on:function(e,t){var n=this;return e==="data"?this._worker.on(e,function(r){t.call(n,r.data,r.meta)}):this._worker.on(e,function(){Ph.delay(t,arguments,n)}),this},resume:function(){return Ph.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(Ph.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new TK(this,{objectMode:this._outputType!=="nodebuffer"},e)}};var OK=_K,kK={base64:!1,binary:!1,dir:!1,createFolders:!0,date:null,compression:null,compressionOptions:null,comment:null,unixPermissions:null,dosPermissions:null},cb=Jr(),fb=Is;function pp(e){fb.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then(function(n){t.dataIsReady=!0,t.data=n,t.max=n&&n.length||0,t.type=cb.getTypeOf(n),t.isPaused||t._tickAndRepeat()},function(n){t.error(n)})}cb.inherits(pp,fb),pp.prototype.cleanUp=function(){fb.prototype.cleanUp.call(this),this.data=null},pp.prototype.resume=function(){return!!fb.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,cb.delay(this._tickAndRepeat,[],this)),!0)},pp.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(cb.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},pp.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})};var PK=pp,nAe=Jr(),tE=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}(),ak=function(e,t){return e!==void 0&&e.length?nAe.getTypeOf(e)!=="string"?function(n,r,i,o){var a=tE,s=o+i;n^=-1;for(var l=o;l<s;l++)n=n>>>8^a[255&(n^r[l])];return-1^n}(0|t,e,e.length,0):function(n,r,i,o){var a=tE,s=o+i;n^=-1;for(var l=o;l<s;l++)n=n>>>8^a[255&(n^r.charCodeAt(l))];return-1^n}(0|t,e,e.length,0):0},CK=Is,rAe=ak;function NT(){CK.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}Jr().inherits(NT,CK),NT.prototype.processChunk=function(e){this.streamInfo.crc32=rAe(e.data,this.streamInfo.crc32||0),this.push(e)};var IK=NT,iAe=Jr(),FT=Is;function ET(e){FT.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}iAe.inherits(ET,FT),ET.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}FT.prototype.processChunk.call(this,e)};var nE=q2,rE=PK,oAe=IK,i5=ET;function XT(e,t,n,r,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=i}XT.prototype={getContentWorker:function(){var e=new rE(nE.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new i5("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new rE(nE.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},XT.createWorkerFrom=function(e,t,n){return e.pipe(new oAe).pipe(new i5("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new i5("compressedSize")).withStreamInfo("compression",t)};var sk=XT,aAe=OK,sAe=PK,o5=Kv,a5=sk,iE=Is,lk=function(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}};lk.prototype={internalStream:function(e){var t=null,n="string";try{if(!e)throw new Error("No output type specified.");var r=(n=e.toLowerCase())==="string"||n==="text";n!=="binarystring"&&n!=="text"||(n="string"),t=this._decompressWorker();var i=!this._dataBinary;i&&!r&&(t=t.pipe(new o5.Utf8EncodeWorker)),!i&&r&&(t=t.pipe(new o5.Utf8DecodeWorker))}catch(o){(t=new iE("error")).error(o)}return new aAe(t,n,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof a5&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new o5.Utf8EncodeWorker)),a5.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof a5?this._data.getContentWorker():this._data instanceof iE?this._data:new sAe(this._data)}};for(var oE=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],lAe=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},s5=0;s5<oE.length;s5++)lk.prototype[oE[s5]]=lAe;var uAe=lk,NK={},kx={},db={},mc={};(function(e){var t=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function n(o,a){return Object.prototype.hasOwnProperty.call(o,a)}e.assign=function(o){for(var a=Array.prototype.slice.call(arguments,1);a.length;){var s=a.shift();if(s){if(typeof s!="object")throw new TypeError(s+"must be non-object");for(var l in s)n(s,l)&&(o[l]=s[l])}}return o},e.shrinkBuf=function(o,a){return o.length===a?o:o.subarray?o.subarray(0,a):(o.length=a,o)};var r={arraySet:function(o,a,s,l,u){if(a.subarray&&o.subarray)o.set(a.subarray(s,s+l),u);else for(var c=0;c<l;c++)o[u+c]=a[s+c]},flattenChunks:function(o){var a,s,l,u,c,f;for(l=0,a=0,s=o.length;a<s;a++)l+=o[a].length;for(f=new Uint8Array(l),u=0,a=0,s=o.length;a<s;a++)c=o[a],f.set(c,u),u+=c.length;return f}},i={arraySet:function(o,a,s,l,u){for(var c=0;c<l;c++)o[u+c]=a[s+c]},flattenChunks:function(o){return[].concat.apply([],o)}};e.setTyped=function(o){o?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,r)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,i))},e.setTyped(t)})(mc);var gg={},Fl={},vp={},cAe=mc;function Gv(e){for(var t=e.length;--t>=0;)e[t]=0}var WT=[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],hb=[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],fAe=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],aE=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Yu=new Array(576);Gv(Yu);var mg=new Array(60);Gv(mg);var $m=new Array(512);Gv($m);var nm=new Array(256);Gv(nm);var uk=new Array(29);Gv(uk);var sE,lE,uE,Px=new Array(30);function l5(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function u5(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function FK(e){return e<256?$m[e]:$m[256+(e>>>7)]}function jm(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function Ko(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<<e.bi_valid&65535,jm(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function Gl(e,t,n){Ko(e,n[2*t],n[2*t+1])}function EK(e,t){var n=0;do n|=1&e,e>>>=1,n<<=1;while(--t>0);return n>>>1}function XK(e,t,n){var r,i,o=new Array(16),a=0;for(r=1;r<=15;r++)o[r]=a=a+n[r-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];s!==0&&(e[2*i]=EK(o[s]++,s))}}function cE(e){var t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function WK(e){e.bi_valid>8?jm(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function fE(e,t,n,r){var i=2*t,o=2*n;return e[i]<e[o]||e[i]===e[o]&&r[t]<=r[n]}function c5(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&fE(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!fE(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r}function dE(e,t,n){var r,i,o,a,s=0;if(e.last_lit!==0)do r=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,r===0?Gl(e,i,t):(Gl(e,(o=nm[i])+256+1,t),(a=WT[o])!==0&&Ko(e,i-=uk[o],a),Gl(e,o=FK(--r),n),(a=hb[o])!==0&&Ko(e,r-=Px[o],a));while(s<e.last_lit);Gl(e,256,t)}function f5(e,t){var n,r,i,o=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,l=t.stat_desc.elems,u=-1;for(e.heap_len=0,e.heap_max=573,n=0;n<l;n++)o[2*n]!==0?(e.heap[++e.heap_len]=u=n,e.depth[n]=0):o[2*n+1]=0;for(;e.heap_len<2;)o[2*(i=e.heap[++e.heap_len]=u<2?++u:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=a[2*i+1]);for(t.max_code=u,n=e.heap_len>>1;n>=1;n--)c5(e,o,n);i=l;do n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],c5(e,o,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,o[2*i]=o[2*n]+o[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,o[2*n+1]=o[2*r+1]=i,e.heap[1]=i++,c5(e,o,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(c,f){var d,h,p,v,g,m,y=f.dyn_tree,R=f.max_code,A=f.stat_desc.static_tree,x=f.stat_desc.has_stree,S=f.stat_desc.extra_bits,_=f.stat_desc.extra_base,M=f.stat_desc.max_length,w=0;for(v=0;v<=15;v++)c.bl_count[v]=0;for(y[2*c.heap[c.heap_max]+1]=0,d=c.heap_max+1;d<573;d++)(v=y[2*y[2*(h=c.heap[d])+1]+1]+1)>M&&(v=M,w++),y[2*h+1]=v,h>R||(c.bl_count[v]++,g=0,h>=_&&(g=S[h-_]),m=y[2*h],c.opt_len+=m*(v+g),x&&(c.static_len+=m*(A[2*h+1]+g)));if(w!==0){do{for(v=M-1;c.bl_count[v]===0;)v--;c.bl_count[v]--,c.bl_count[v+1]+=2,c.bl_count[M]--,w-=2}while(w>0);for(v=M;v!==0;v--)for(h=c.bl_count[v];h!==0;)(p=c.heap[--d])>R||(y[2*p+1]!==v&&(c.opt_len+=(v-y[2*p+1])*y[2*p],y[2*p+1]=v),h--)}}(e,t),XK(o,u,e.bl_count)}function hE(e,t,n){var r,i,o=-1,a=t[1],s=0,l=7,u=4;for(a===0&&(l=138,u=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=a,a=t[2*(r+1)+1],++s<l&&i===a||(s<u?e.bl_tree[2*i]+=s:i!==0?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,s=0,o=i,a===0?(l=138,u=3):i===a?(l=6,u=3):(l=7,u=4))}function pE(e,t,n){var r,i,o=-1,a=t[1],s=0,l=7,u=4;for(a===0&&(l=138,u=3),r=0;r<=n;r++)if(i=a,a=t[2*(r+1)+1],!(++s<l&&i===a)){if(s<u)do Gl(e,i,e.bl_tree);while(--s!=0);else i!==0?(i!==o&&(Gl(e,i,e.bl_tree),s--),Gl(e,16,e.bl_tree),Ko(e,s-3,2)):s<=10?(Gl(e,17,e.bl_tree),Ko(e,s-3,3)):(Gl(e,18,e.bl_tree),Ko(e,s-11,7));s=0,o=i,a===0?(l=138,u=3):i===a?(l=6,u=3):(l=7,u=4)}}Gv(Px);var vE=!1;function gE(e,t,n,r){Ko(e,0+(r?1:0),3),function(i,o,a,s){WK(i),jm(i,a),jm(i,~a),cAe.arraySet(i.pending_buf,i.window,o,a,i.pending),i.pending+=a}(e,t,n)}vp._tr_init=function(e){vE||(function(){var t,n,r,i,o,a=new Array(16);for(r=0,i=0;i<28;i++)for(uk[i]=r,t=0;t<1<<WT[i];t++)nm[r++]=i;for(nm[r-1]=i,o=0,i=0;i<16;i++)for(Px[i]=o,t=0;t<1<<hb[i];t++)$m[o++]=i;for(o>>=7;i<30;i++)for(Px[i]=o<<7,t=0;t<1<<hb[i]-7;t++)$m[256+o++]=i;for(n=0;n<=15;n++)a[n]=0;for(t=0;t<=143;)Yu[2*t+1]=8,t++,a[8]++;for(;t<=255;)Yu[2*t+1]=9,t++,a[9]++;for(;t<=279;)Yu[2*t+1]=7,t++,a[7]++;for(;t<=287;)Yu[2*t+1]=8,t++,a[8]++;for(XK(Yu,287,a),t=0;t<30;t++)mg[2*t+1]=5,mg[2*t]=EK(t,5);sE=new l5(Yu,WT,257,286,15),lE=new l5(mg,hb,0,30,15),uE=new l5(new Array(0),fAe,0,19,7)}(),vE=!0),e.l_desc=new u5(e.dyn_ltree,sE),e.d_desc=new u5(e.dyn_dtree,lE),e.bl_desc=new u5(e.bl_tree,uE),e.bi_buf=0,e.bi_valid=0,cE(e)},vp._tr_stored_block=gE,vp._tr_flush_block=function(e,t,n,r){var i,o,a=0;e.level>0?(e.strm.data_type===2&&(e.strm.data_type=function(s){var l,u=4093624447;for(l=0;l<=31;l++,u>>>=1)if(1&u&&s.dyn_ltree[2*l]!==0)return 0;if(s.dyn_ltree[18]!==0||s.dyn_ltree[20]!==0||s.dyn_ltree[26]!==0)return 1;for(l=32;l<256;l++)if(s.dyn_ltree[2*l]!==0)return 1;return 0}(e)),f5(e,e.l_desc),f5(e,e.d_desc),a=function(s){var l;for(hE(s,s.dyn_ltree,s.l_desc.max_code),hE(s,s.dyn_dtree,s.d_desc.max_code),f5(s,s.bl_desc),l=18;l>=3&&s.bl_tree[2*aE[l]+1]===0;l--);return s.opt_len+=3*(l+1)+5+5+4,l}(e),i=e.opt_len+3+7>>>3,(o=e.static_len+3+7>>>3)<=i&&(i=o)):i=o=n+5,n+4<=i&&t!==-1?gE(e,t,n,r):e.strategy===4||o===i?(Ko(e,2+(r?1:0),3),dE(e,Yu,mg)):(Ko(e,4+(r?1:0),3),function(s,l,u,c){var f;for(Ko(s,l-257,5),Ko(s,u-1,5),Ko(s,c-4,4),f=0;f<c;f++)Ko(s,s.bl_tree[2*aE[f]+1],3);pE(s,s.dyn_ltree,l-1),pE(s,s.dyn_dtree,u-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,a+1),dE(e,e.dyn_ltree,e.dyn_dtree)),cE(e),r&&WK(e)},vp._tr_tally=function(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,t===0?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(nm[n]+256+1)]++,e.dyn_dtree[2*FK(t)]++),e.last_lit===e.lit_bufsize-1},vp._tr_align=function(e){Ko(e,2,3),Gl(e,256,Yu),function(t){t.bi_valid===16?(jm(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(e)};var VK=function(e,t,n,r){for(var i=65535&e|0,o=e>>>16&65535|0,a=0;n!==0;){n-=a=n>2e3?2e3:n;do o=o+(i=i+t[r++]|0)|0;while(--a);i%=65521,o%=65521}return i|o<<16|0},dAe=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}(),_p,DK=function(e,t,n,r){var i=dAe,o=r+n;e^=-1;for(var a=r;a<o;a++)e=e>>>8^i[255&(e^t[a])];return-1^e},ck={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"},ko=mc,ys=vp,UK=VK,qc=DK,hAe=ck;function lf(e,t){return e.msg=hAe[t],t}function mE(e){return(e<<1)-(e>4?9:0)}function gf(e){for(var t=e.length;--t>=0;)e[t]=0}function ef(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),n!==0&&(ko.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,t.pending===0&&(t.pending_out=0))}function Ui(e,t){ys._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,ef(e.strm)}function Un(e,t){e.pending_buf[e.pending++]=t}function T1(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function BK(e,t){var n,r,i=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-262?e.strstart-(e.w_size-262):0,u=e.window,c=e.w_mask,f=e.prev,d=e.strstart+258,h=u[o+a-1],p=u[o+a];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do if(u[(n=t)+a]===p&&u[n+a-1]===h&&u[n]===u[o]&&u[++n]===u[o+1]){o+=2,n++;do;while(u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&o<d);if(r=258-(d-o),o=d-258,r>a){if(e.match_start=t,a=r,r>=s)break;h=u[o+a-1],p=u[o+a]}}while((t=f[t&c])>l&&--i!=0);return a<=e.lookahead?a:e.lookahead}function sh(e){var t,n,r,i,o,a,s,l,u,c,f=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=f+(f-262)){ko.arraySet(e.window,e.window,f,f,0),e.match_start-=f,e.strstart-=f,e.block_start-=f,t=n=e.hash_size;do r=e.head[--t],e.head[t]=r>=f?r-f:0;while(--n);t=n=f;do r=e.prev[--t],e.prev[t]=r>=f?r-f:0;while(--n);i+=f}if(e.strm.avail_in===0)break;if(a=e.strm,s=e.window,l=e.strstart+e.lookahead,u=i,c=void 0,(c=a.avail_in)>u&&(c=u),n=c===0?0:(a.avail_in-=c,ko.arraySet(s,a.input,a.next_in,c,l),a.state.wrap===1?a.adler=UK(a.adler,s,c,l):a.state.wrap===2&&(a.adler=qc(a.adler,s,c,l)),a.next_in+=c,a.total_in+=c,c),e.lookahead+=n,e.lookahead+e.insert>=3)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+3-1])&e.hash_mask,e.prev[o&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=o,o++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<262&&e.strm.avail_in!==0)}function d5(e,t){for(var n,r;;){if(e.lookahead<262){if(sh(e),e.lookahead<262&&t===0)return 1;if(e.lookahead===0)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),n!==0&&e.strstart-n<=e.w_size-262&&(e.match_length=BK(e,n)),e.match_length>=3)if(r=ys._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!=0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=ys._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(Ui(e,!1),e.strm.avail_out===0))return 1}return e.insert=e.strstart<2?e.strstart:2,t===4?(Ui(e,!0),e.strm.avail_out===0?3:4):e.last_lit&&(Ui(e,!1),e.strm.avail_out===0)?1:2}function X0(e,t){for(var n,r,i;;){if(e.lookahead<262){if(sh(e),e.lookahead<262&&t===0)return 1;if(e.lookahead===0)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,n!==0&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-262&&(e.match_length=BK(e,n),e.match_length<=5&&(e.strategy===1||e.match_length===3&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-3,r=ys._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!=0);if(e.match_available=0,e.match_length=2,e.strstart++,r&&(Ui(e,!1),e.strm.avail_out===0))return 1}else if(e.match_available){if((r=ys._tr_tally(e,0,e.window[e.strstart-1]))&&Ui(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=ys._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,t===4?(Ui(e,!0),e.strm.avail_out===0?3:4):e.last_lit&&(Ui(e,!1),e.strm.avail_out===0)?1:2}function _l(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}function pAe(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new ko.Buf16(1146),this.dyn_dtree=new ko.Buf16(122),this.bl_tree=new ko.Buf16(78),gf(this.dyn_ltree),gf(this.dyn_dtree),gf(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new ko.Buf16(16),this.heap=new ko.Buf16(573),gf(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new ko.Buf16(573),gf(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function YK(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=2,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?42:113,e.adler=t.wrap===2?0:1,t.last_flush=0,ys._tr_init(t),0):lf(e,-2)}function ZK(e){var t,n=YK(e);return n===0&&((t=e.state).window_size=2*t.w_size,gf(t.head),t.max_lazy_match=_p[t.level].max_lazy,t.good_match=_p[t.level].good_length,t.nice_match=_p[t.level].nice_length,t.max_chain_length=_p[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0),n}function yE(e,t,n,r,i,o){if(!e)return-2;var a=1;if(t===-1&&(t=6),r<0?(a=0,r=-r):r>15&&(a=2,r-=16),i<1||i>9||n!==8||r<8||r>15||t<0||t>9||o<0||o>4)return lf(e,-2);r===8&&(r=9);var s=new pAe;return e.state=s,s.strm=e,s.wrap=a,s.gzhead=null,s.w_bits=r,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=i+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=new ko.Buf8(2*s.w_size),s.head=new ko.Buf16(s.hash_size),s.prev=new ko.Buf16(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new ko.Buf8(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=t,s.strategy=o,s.method=n,ZK(e)}_p=[new _l(0,0,0,0,function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(sh(e),e.lookahead===0&&t===0)return 1;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((e.strstart===0||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,Ui(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-262&&(Ui(e,!1),e.strm.avail_out===0))return 1}return e.insert=0,t===4?(Ui(e,!0),e.strm.avail_out===0?3:4):(e.strstart>e.block_start&&(Ui(e,!1),e.strm.avail_out),1)}),new _l(4,4,8,4,d5),new _l(4,5,16,8,d5),new _l(4,6,32,32,d5),new _l(4,4,16,16,X0),new _l(8,16,32,32,X0),new _l(8,16,128,128,X0),new _l(8,32,128,256,X0),new _l(32,128,258,1024,X0),new _l(32,258,258,4096,X0)],Fl.deflateInit=function(e,t){return yE(e,t,8,15,8,0)},Fl.deflateInit2=yE,Fl.deflateReset=ZK,Fl.deflateResetKeep=YK,Fl.deflateSetHeader=function(e,t){return e&&e.state?e.state.wrap!==2?-2:(e.state.gzhead=t,0):-2},Fl.deflate=function(e,t){var n,r,i,o;if(!e||!e.state||t>5||t<0)return e?lf(e,-2):-2;if(r=e.state,!e.output||!e.input&&e.avail_in!==0||r.status===666&&t!==4)return lf(e,e.avail_out===0?-5:-2);if(r.strm=e,n=r.last_flush,r.last_flush=t,r.status===42)if(r.wrap===2)e.adler=0,Un(r,31),Un(r,139),Un(r,8),r.gzhead?(Un(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),Un(r,255&r.gzhead.time),Un(r,r.gzhead.time>>8&255),Un(r,r.gzhead.time>>16&255),Un(r,r.gzhead.time>>24&255),Un(r,r.level===9?2:r.strategy>=2||r.level<2?4:0),Un(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(Un(r,255&r.gzhead.extra.length),Un(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=qc(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(Un(r,0),Un(r,0),Un(r,0),Un(r,0),Un(r,0),Un(r,r.level===9?2:r.strategy>=2||r.level<2?4:0),Un(r,3),r.status=113);else{var a=8+(r.w_bits-8<<4)<<8;a|=(r.strategy>=2||r.level<2?0:r.level<6?1:r.level===6?2:3)<<6,r.strstart!==0&&(a|=32),a+=31-a%31,r.status=113,T1(r,a),r.strstart!==0&&(T1(r,e.adler>>>16),T1(r,65535&e.adler)),e.adler=1}if(r.status===69)if(r.gzhead.extra){for(i=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>i&&(e.adler=qc(e.adler,r.pending_buf,r.pending-i,i)),ef(e),i=r.pending,r.pending!==r.pending_buf_size));)Un(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>i&&(e.adler=qc(e.adler,r.pending_buf,r.pending-i,i)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(r.status===73)if(r.gzhead.name){i=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=qc(e.adler,r.pending_buf,r.pending-i,i)),ef(e),i=r.pending,r.pending===r.pending_buf_size)){o=1;break}o=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,Un(r,o)}while(o!==0);r.gzhead.hcrc&&r.pending>i&&(e.adler=qc(e.adler,r.pending_buf,r.pending-i,i)),o===0&&(r.gzindex=0,r.status=91)}else r.status=91;if(r.status===91)if(r.gzhead.comment){i=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=qc(e.adler,r.pending_buf,r.pending-i,i)),ef(e),i=r.pending,r.pending===r.pending_buf_size)){o=1;break}o=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,Un(r,o)}while(o!==0);r.gzhead.hcrc&&r.pending>i&&(e.adler=qc(e.adler,r.pending_buf,r.pending-i,i)),o===0&&(r.status=103)}else r.status=103;if(r.status===103&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&ef(e),r.pending+2<=r.pending_buf_size&&(Un(r,255&e.adler),Un(r,e.adler>>8&255),e.adler=0,r.status=113)):r.status=113),r.pending!==0){if(ef(e),e.avail_out===0)return r.last_flush=-1,0}else if(e.avail_in===0&&mE(t)<=mE(n)&&t!==4)return lf(e,-5);if(r.status===666&&e.avail_in!==0)return lf(e,-5);if(e.avail_in!==0||r.lookahead!==0||t!==0&&r.status!==666){var s=r.strategy===2?function(l,u){for(var c;;){if(l.lookahead===0&&(sh(l),l.lookahead===0)){if(u===0)return 1;break}if(l.match_length=0,c=ys._tr_tally(l,0,l.window[l.strstart]),l.lookahead--,l.strstart++,c&&(Ui(l,!1),l.strm.avail_out===0))return 1}return l.insert=0,u===4?(Ui(l,!0),l.strm.avail_out===0?3:4):l.last_lit&&(Ui(l,!1),l.strm.avail_out===0)?1:2}(r,t):r.strategy===3?function(l,u){for(var c,f,d,h,p=l.window;;){if(l.lookahead<=258){if(sh(l),l.lookahead<=258&&u===0)return 1;if(l.lookahead===0)break}if(l.match_length=0,l.lookahead>=3&&l.strstart>0&&(f=p[d=l.strstart-1])===p[++d]&&f===p[++d]&&f===p[++d]){h=l.strstart+258;do;while(f===p[++d]&&f===p[++d]&&f===p[++d]&&f===p[++d]&&f===p[++d]&&f===p[++d]&&f===p[++d]&&f===p[++d]&&d<h);l.match_length=258-(h-d),l.match_length>l.lookahead&&(l.match_length=l.lookahead)}if(l.match_length>=3?(c=ys._tr_tally(l,1,l.match_length-3),l.lookahead-=l.match_length,l.strstart+=l.match_length,l.match_length=0):(c=ys._tr_tally(l,0,l.window[l.strstart]),l.lookahead--,l.strstart++),c&&(Ui(l,!1),l.strm.avail_out===0))return 1}return l.insert=0,u===4?(Ui(l,!0),l.strm.avail_out===0?3:4):l.last_lit&&(Ui(l,!1),l.strm.avail_out===0)?1:2}(r,t):_p[r.level].func(r,t);if(s!==3&&s!==4||(r.status=666),s===1||s===3)return e.avail_out===0&&(r.last_flush=-1),0;if(s===2&&(t===1?ys._tr_align(r):t!==5&&(ys._tr_stored_block(r,0,0,!1),t===3&&(gf(r.head),r.lookahead===0&&(r.strstart=0,r.block_start=0,r.insert=0))),ef(e),e.avail_out===0))return r.last_flush=-1,0}return t!==4?0:r.wrap<=0?1:(r.wrap===2?(Un(r,255&e.adler),Un(r,e.adler>>8&255),Un(r,e.adler>>16&255),Un(r,e.adler>>24&255),Un(r,255&e.total_in),Un(r,e.total_in>>8&255),Un(r,e.total_in>>16&255),Un(r,e.total_in>>24&255)):(T1(r,e.adler>>>16),T1(r,65535&e.adler)),ef(e),r.wrap>0&&(r.wrap=-r.wrap),r.pending!==0?0:1)},Fl.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==42&&t!==69&&t!==73&&t!==91&&t!==103&&t!==113&&t!==666?lf(e,-2):(e.state=null,t===113?lf(e,-3):0):-2},Fl.deflateSetDictionary=function(e,t){var n,r,i,o,a,s,l,u,c=t.length;if(!e||!e.state||(o=(n=e.state).wrap)===2||o===1&&n.status!==42||n.lookahead)return-2;for(o===1&&(e.adler=UK(e.adler,t,c,0)),n.wrap=0,c>=n.w_size&&(o===0&&(gf(n.head),n.strstart=0,n.block_start=0,n.insert=0),u=new ko.Buf8(n.w_size),ko.arraySet(u,t,c-n.w_size,n.w_size,0),t=u,c=n.w_size),a=e.avail_in,s=e.next_in,l=e.input,e.avail_in=c,e.next_in=0,e.input=t,sh(n);n.lookahead>=3;){r=n.strstart,i=n.lookahead-2;do n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+3-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++;while(--i);n.strstart=r,n.lookahead=2,sh(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,e.next_in=s,e.input=l,e.avail_in=a,n.wrap=o,0},Fl.deflateInfo="pako deflate (from Nodeca project)";var lh={},Cx=mc,QK=!0,HK=!0;try{String.fromCharCode.apply(null,[0])}catch{QK=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{HK=!1}for(var yg=new Cx.Buf8(256),Ic=0;Ic<256;Ic++)yg[Ic]=Ic>=252?6:Ic>=248?5:Ic>=240?4:Ic>=224?3:Ic>=192?2:1;function AE(e,t){if(t<65534&&(e.subarray&&HK||!e.subarray&&QK))return String.fromCharCode.apply(null,Cx.shrinkBuf(e,t));for(var n="",r=0;r<t;r++)n+=String.fromCharCode(e[r]);return n}yg[254]=yg[254]=1,lh.string2buf=function(e){var t,n,r,i,o,a=e.length,s=0;for(i=0;i<a;i++)(64512&(n=e.charCodeAt(i)))==55296&&i+1<a&&(64512&(r=e.charCodeAt(i+1)))==56320&&(n=65536+(n-55296<<10)+(r-56320),i++),s+=n<128?1:n<2048?2:n<65536?3:4;for(t=new Cx.Buf8(s),o=0,i=0;o<s;i++)(64512&(n=e.charCodeAt(i)))==55296&&i+1<a&&(64512&(r=e.charCodeAt(i+1)))==56320&&(n=65536+(n-55296<<10)+(r-56320),i++),n<128?t[o++]=n:n<2048?(t[o++]=192|n>>>6,t[o++]=128|63&n):n<65536?(t[o++]=224|n>>>12,t[o++]=128|n>>>6&63,t[o++]=128|63&n):(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63,t[o++]=128|n>>>6&63,t[o++]=128|63&n);return t},lh.buf2binstring=function(e){return AE(e,e.length)},lh.binstring2buf=function(e){for(var t=new Cx.Buf8(e.length),n=0,r=t.length;n<r;n++)t[n]=e.charCodeAt(n);return t},lh.buf2string=function(e,t){var n,r,i,o,a=t||e.length,s=new Array(2*a);for(r=0,n=0;n<a;)if((i=e[n++])<128)s[r++]=i;else if((o=yg[i])>4)s[r++]=65533,n+=o-1;else{for(i&=o===2?31:o===3?15:7;o>1&&n<a;)i=i<<6|63&e[n++],o--;o>1?s[r++]=65533:i<65536?s[r++]=i:(i-=65536,s[r++]=55296|i>>10&1023,s[r++]=56320|1023&i)}return AE(s,r)},lh.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;n>=0&&(192&e[n])==128;)n--;return n<0||n===0?t:n+yg[e[n]]>t?n:t};var KK=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},rm=Fl,Ag=mc,VT=lh,DT=ck,vAe=KK,GK=Object.prototype.toString;function hh(e){if(!(this instanceof hh))return new hh(e);this.options=Ag.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new vAe,this.strm.avail_out=0;var n=rm.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==0)throw new Error(DT[n]);if(t.header&&rm.deflateSetHeader(this.strm,t.header),t.dictionary){var r;if(r=typeof t.dictionary=="string"?VT.string2buf(t.dictionary):GK.call(t.dictionary)==="[object ArrayBuffer]"?new Uint8Array(t.dictionary):t.dictionary,(n=rm.deflateSetDictionary(this.strm,r))!==0)throw new Error(DT[n]);this._dict_set=!0}}function h5(e,t){var n=new hh(t);if(n.push(e,!0),n.err)throw n.msg||DT[n.err];return n.result}hh.prototype.push=function(e,t){var n,r,i=this.strm,o=this.options.chunkSize;if(this.ended)return!1;r=t===~~t?t:t===!0?4:0,typeof e=="string"?i.input=VT.string2buf(e):GK.call(e)==="[object ArrayBuffer]"?i.input=new Uint8Array(e):i.input=e,i.next_in=0,i.avail_in=i.input.length;do{if(i.avail_out===0&&(i.output=new Ag.Buf8(o),i.next_out=0,i.avail_out=o),(n=rm.deflate(i,r))!==1&&n!==0)return this.onEnd(n),this.ended=!0,!1;i.avail_out!==0&&(i.avail_in!==0||r!==4&&r!==2)||(this.options.to==="string"?this.onData(VT.buf2binstring(Ag.shrinkBuf(i.output,i.next_out))):this.onData(Ag.shrinkBuf(i.output,i.next_out)))}while((i.avail_in>0||i.avail_out===0)&&n!==1);return r===4?(n=rm.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===0):r!==2||(this.onEnd(0),i.avail_out=0,!0)},hh.prototype.onData=function(e){this.chunks.push(e)},hh.prototype.onEnd=function(e){e===0&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Ag.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},gg.Deflate=hh,gg.deflate=h5,gg.deflateRaw=function(e,t){return(t=t||{}).raw=!0,h5(e,t)},gg.gzip=function(e,t){return(t=t||{}).gzip=!0,h5(e,t)};var Rg={},Hs={},RE=mc,gAe=[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],mAe=[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],yAe=[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],AAe=[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],Xa=mc,p5=VK,Ol=DK,RAe=function(e,t){var n,r,i,o,a,s,l,u,c,f,d,h,p,v,g,m,y,R,A,x,S,_,M,w,L;n=e.state,r=e.next_in,w=e.input,i=r+(e.avail_in-5),o=e.next_out,L=e.output,a=o-(t-e.avail_out),s=o+(e.avail_out-257),l=n.dmax,u=n.wsize,c=n.whave,f=n.wnext,d=n.window,h=n.hold,p=n.bits,v=n.lencode,g=n.distcode,m=(1<<n.lenbits)-1,y=(1<<n.distbits)-1;e:do{p<15&&(h+=w[r++]<<p,p+=8,h+=w[r++]<<p,p+=8),R=v[h&m];t:for(;;){if(h>>>=A=R>>>24,p-=A,(A=R>>>16&255)===0)L[o++]=65535&R;else{if(!(16&A)){if(!(64&A)){R=v[(65535&R)+(h&(1<<A)-1)];continue t}if(32&A){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}x=65535&R,(A&=15)&&(p<A&&(h+=w[r++]<<p,p+=8),x+=h&(1<<A)-1,h>>>=A,p-=A),p<15&&(h+=w[r++]<<p,p+=8,h+=w[r++]<<p,p+=8),R=g[h&y];n:for(;;){if(h>>>=A=R>>>24,p-=A,!(16&(A=R>>>16&255))){if(!(64&A)){R=g[(65535&R)+(h&(1<<A)-1)];continue n}e.msg="invalid distance code",n.mode=30;break e}if(S=65535&R,p<(A&=15)&&(h+=w[r++]<<p,(p+=8)<A&&(h+=w[r++]<<p,p+=8)),(S+=h&(1<<A)-1)>l){e.msg="invalid distance too far back",n.mode=30;break e}if(h>>>=A,p-=A,S>(A=o-a)){if((A=S-A)>c&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(_=0,M=d,f===0){if(_+=u-A,A<x){x-=A;do L[o++]=d[_++];while(--A);_=o-S,M=L}}else if(f<A){if(_+=u+f-A,(A-=f)<x){x-=A;do L[o++]=d[_++];while(--A);if(_=0,f<x){x-=A=f;do L[o++]=d[_++];while(--A);_=o-S,M=L}}}else if(_+=f-A,A<x){x-=A;do L[o++]=d[_++];while(--A);_=o-S,M=L}for(;x>2;)L[o++]=M[_++],L[o++]=M[_++],L[o++]=M[_++],x-=3;x&&(L[o++]=M[_++],x>1&&(L[o++]=M[_++]))}else{_=o-S;do L[o++]=L[_++],L[o++]=L[_++],L[o++]=L[_++],x-=3;while(x>2);x&&(L[o++]=L[_++],x>1&&(L[o++]=L[_++]))}break}}break}}while(r<i&&o<s);r-=x=p>>3,h&=(1<<(p-=x<<3))-1,e.next_in=r,e.next_out=o,e.avail_in=r<i?i-r+5:5-(r-i),e.avail_out=o<s?s-o+257:257-(o-s),n.hold=h,n.bits=p},im=function(e,t,n,r,i,o,a,s){var l,u,c,f,d,h,p,v,g,m=s.bits,y=0,R=0,A=0,x=0,S=0,_=0,M=0,w=0,L=0,k=0,P=null,F=0,C=new RE.Buf16(16),N=new RE.Buf16(16),I=null,V=0;for(y=0;y<=15;y++)C[y]=0;for(R=0;R<r;R++)C[t[n+R]]++;for(S=m,x=15;x>=1&&C[x]===0;x--);if(S>x&&(S=x),x===0)return i[o++]=20971520,i[o++]=20971520,s.bits=1,0;for(A=1;A<x&&C[A]===0;A++);for(S<A&&(S=A),w=1,y=1;y<=15;y++)if(w<<=1,(w-=C[y])<0)return-1;if(w>0&&(e===0||x!==1))return-1;for(N[1]=0,y=1;y<15;y++)N[y+1]=N[y]+C[y];for(R=0;R<r;R++)t[n+R]!==0&&(a[N[t[n+R]]++]=R);if(e===0?(P=I=a,h=19):e===1?(P=gAe,F-=257,I=mAe,V-=257,h=256):(P=yAe,I=AAe,h=-1),k=0,R=0,y=A,d=o,_=S,M=0,c=-1,f=(L=1<<S)-1,e===1&&L>852||e===2&&L>592)return 1;for(;;){p=y-M,a[R]<h?(v=0,g=a[R]):a[R]>h?(v=I[V+a[R]],g=P[F+a[R]]):(v=96,g=0),l=1<<y-M,A=u=1<<_;do i[d+(k>>M)+(u-=l)]=p<<24|v<<16|g|0;while(u!==0);for(l=1<<y-1;k&l;)l>>=1;if(l!==0?(k&=l-1,k+=l):k=0,R++,--C[y]==0){if(y===x)break;y=t[n+a[R]]}if(y>S&&(k&f)!==c){for(M===0&&(M=S),d+=A,w=1<<(_=y-M);_+M<x&&!((w-=C[_+M])<=0);)_++,w<<=1;if(L+=1<<_,e===1&&L>852||e===2&&L>592)return 1;i[c=k&f]=S<<24|_<<16|d-o|0}}return k!==0&&(i[d+k]=y-M<<24|64<<16|0),s.bits=S,0};function bE(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function bAe(){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 Xa.Buf16(320),this.work=new Xa.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function zK(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Xa.Buf32(852),t.distcode=t.distdyn=new Xa.Buf32(592),t.sane=1,t.back=-1,0):-2}function JK(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,zK(e)):-2}function $K(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?-2:(r.window!==null&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,JK(e))):-2}function xE(e,t){var n,r;return e?(r=new bAe,e.state=r,r.window=null,(n=$K(e,t))!==0&&(e.state=null),n):-2}var v5,g5,SE=!0;function xAe(e){if(SE){var t;for(v5=new Xa.Buf32(512),g5=new Xa.Buf32(32),t=0;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(im(1,e.lens,0,288,v5,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;im(2,e.lens,0,32,g5,0,e.work,{bits:5}),SE=!1}e.lencode=v5,e.lenbits=9,e.distcode=g5,e.distbits=5}function wE(e,t,n,r){var i,o=e.state;return o.window===null&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new Xa.Buf8(o.wsize)),r>=o.wsize?(Xa.arraySet(o.window,t,n-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):((i=o.wsize-o.wnext)>r&&(i=r),Xa.arraySet(o.window,t,n-r,i,o.wnext),(r-=i)?(Xa.arraySet(o.window,t,n-r,r,0),o.wnext=r,o.whave=o.wsize):(o.wnext+=i,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=i))),0}Hs.inflateReset=JK,Hs.inflateReset2=$K,Hs.inflateResetKeep=zK,Hs.inflateInit=function(e){return xE(e,15)},Hs.inflateInit2=xE,Hs.inflate=function(e,t){var n,r,i,o,a,s,l,u,c,f,d,h,p,v,g,m,y,R,A,x,S,_,M,w,L=0,k=new Xa.Buf8(4),P=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return-2;(n=e.state).mode===12&&(n.mode=13),a=e.next_out,i=e.output,l=e.avail_out,o=e.next_in,r=e.input,s=e.avail_in,u=n.hold,c=n.bits,f=s,d=l,_=0;e:for(;;)switch(n.mode){case 1:if(n.wrap===0){n.mode=13;break}for(;c<16;){if(s===0)break e;s--,u+=r[o++]<<c,c+=8}if(2&n.wrap&&u===35615){n.check=0,k[0]=255&u,k[1]=u>>>8&255,n.check=Ol(n.check,k,2,0),u=0,c=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&u)<<8)+(u>>8))%31){e.msg="incorrect header check",n.mode=30;break}if((15&u)!=8){e.msg="unknown compression method",n.mode=30;break}if(c-=4,S=8+(15&(u>>>=4)),n.wbits===0)n.wbits=S;else if(S>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<<S,e.adler=n.check=1,n.mode=512&u?10:12,u=0,c=0;break;case 2:for(;c<16;){if(s===0)break e;s--,u+=r[o++]<<c,c+=8}if(n.flags=u,(255&n.flags)!=8){e.msg="unknown compression method",n.mode=30;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=30;break}n.head&&(n.head.text=u>>8&1),512&n.flags&&(k[0]=255&u,k[1]=u>>>8&255,n.check=Ol(n.check,k,2,0)),u=0,c=0,n.mode=3;case 3:for(;c<32;){if(s===0)break e;s--,u+=r[o++]<<c,c+=8}n.head&&(n.head.time=u),512&n.flags&&(k[0]=255&u,k[1]=u>>>8&255,k[2]=u>>>16&255,k[3]=u>>>24&255,n.check=Ol(n.check,k,4,0)),u=0,c=0,n.mode=4;case 4:for(;c<16;){if(s===0)break e;s--,u+=r[o++]<<c,c+=8}n.head&&(n.head.xflags=255&u,n.head.os=u>>8),512&n.flags&&(k[0]=255&u,k[1]=u>>>8&255,n.check=Ol(n.check,k,2,0)),u=0,c=0,n.mode=5;case 5:if(1024&n.flags){for(;c<16;){if(s===0)break e;s--,u+=r[o++]<<c,c+=8}n.length=u,n.head&&(n.head.extra_len=u),512&n.flags&&(k[0]=255&u,k[1]=u>>>8&255,n.check=Ol(n.check,k,2,0)),u=0,c=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((h=n.length)>s&&(h=s),h&&(n.head&&(S=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),Xa.arraySet(n.head.extra,r,o,h,S)),512&n.flags&&(n.check=Ol(n.check,r,h,o)),s-=h,o+=h,n.length-=h),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(s===0)break e;h=0;do S=r[o+h++],n.head&&S&&n.length<65536&&(n.head.name+=String.fromCharCode(S));while(S&&h<s);if(512&n.flags&&(n.check=Ol(n.check,r,h,o)),s-=h,o+=h,S)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(s===0)break e;h=0;do S=r[o+h++],n.head&&S&&n.length<65536&&(n.head.comment+=String.fromCharCode(S));while(S&&h<s);if(512&n.flags&&(n.check=Ol(n.check,r,h,o)),s-=h,o+=h,S)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;c<16;){if(s===0)break e;s--,u+=r[o++]<<c,c+=8}if(u!==(65535&n.check)){e.msg="header crc mismatch",n.mode=30;break}u=0,c=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;c<32;){if(s===0)break e;s--,u+=r[o++]<<c,c+=8}e.adler=n.check=bE(u),u=0,c=0,n.mode=11;case 11:if(n.havedict===0)return e.next_out=a,e.avail_out=l,e.next_in=o,e.avail_in=s,n.hold=u,n.bits=c,2;e.adler=n.check=1,n.mode=12;case 12:if(t===5||t===6)break e;case 13:if(n.last){u>>>=7&c,c-=7&c,n.mode=27;break}for(;c<3;){if(s===0)break e;s--,u+=r[o++]<<c,c+=8}switch(n.last=1&u,c-=1,3&(u>>>=1)){case 0:n.mode=14;break;case 1:if(xAe(n),n.mode=20,t===6){u>>>=2,c-=2;break e}break;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}u>>>=2,c-=2;break;case 14:for(u>>>=7&c,c-=7&c;c<32;){if(s===0)break e;s--,u+=r[o++]<<c,c+=8}if((65535&u)!=(u>>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&u,u=0,c=0,n.mode=15,t===6)break e;case 15:n.mode=16;case 16:if(h=n.length){if(h>s&&(h=s),h>l&&(h=l),h===0)break e;Xa.arraySet(i,r,o,h,a),s-=h,o+=h,l-=h,a+=h,n.length-=h;break}n.mode=12;break;case 17:for(;c<14;){if(s===0)break e;s--,u+=r[o++]<<c,c+=8}if(n.nlen=257+(31&u),u>>>=5,c-=5,n.ndist=1+(31&u),u>>>=5,c-=5,n.ncode=4+(15&u),u>>>=4,c-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;c<3;){if(s===0)break e;s--,u+=r[o++]<<c,c+=8}n.lens[P[n.have++]]=7&u,u>>>=3,c-=3}for(;n.have<19;)n.lens[P[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,M={bits:n.lenbits},_=im(0,n.lens,0,19,n.lencode,0,n.work,M),n.lenbits=M.bits,_){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;m=(L=n.lencode[u&(1<<n.lenbits)-1])>>>16&255,y=65535&L,!((g=L>>>24)<=c);){if(s===0)break e;s--,u+=r[o++]<<c,c+=8}if(y<16)u>>>=g,c-=g,n.lens[n.have++]=y;else{if(y===16){for(w=g+2;c<w;){if(s===0)break e;s--,u+=r[o++]<<c,c+=8}if(u>>>=g,c-=g,n.have===0){e.msg="invalid bit length repeat",n.mode=30;break}S=n.lens[n.have-1],h=3+(3&u),u>>>=2,c-=2}else if(y===17){for(w=g+3;c<w;){if(s===0)break e;s--,u+=r[o++]<<c,c+=8}c-=g,S=0,h=3+(7&(u>>>=g)),u>>>=3,c-=3}else{for(w=g+7;c<w;){if(s===0)break e;s--,u+=r[o++]<<c,c+=8}c-=g,S=0,h=11+(127&(u>>>=g)),u>>>=7,c-=7}if(n.have+h>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;h--;)n.lens[n.have++]=S}}if(n.mode===30)break;if(n.lens[256]===0){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,M={bits:n.lenbits},_=im(1,n.lens,0,n.nlen,n.lencode,0,n.work,M),n.lenbits=M.bits,_){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,M={bits:n.distbits},_=im(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,M),n.distbits=M.bits,_){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,t===6)break e;case 20:n.mode=21;case 21:if(s>=6&&l>=258){e.next_out=a,e.avail_out=l,e.next_in=o,e.avail_in=s,n.hold=u,n.bits=c,RAe(e,d),a=e.next_out,i=e.output,l=e.avail_out,o=e.next_in,r=e.input,s=e.avail_in,u=n.hold,c=n.bits,n.mode===12&&(n.back=-1);break}for(n.back=0;m=(L=n.lencode[u&(1<<n.lenbits)-1])>>>16&255,y=65535&L,!((g=L>>>24)<=c);){if(s===0)break e;s--,u+=r[o++]<<c,c+=8}if(m&&!(240&m)){for(R=g,A=m,x=y;m=(L=n.lencode[x+((u&(1<<R+A)-1)>>R)])>>>16&255,y=65535&L,!(R+(g=L>>>24)<=c);){if(s===0)break e;s--,u+=r[o++]<<c,c+=8}u>>>=R,c-=R,n.back+=R}if(u>>>=g,c-=g,n.back+=g,n.length=y,m===0){n.mode=26;break}if(32&m){n.back=-1,n.mode=12;break}if(64&m){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&m,n.mode=22;case 22:if(n.extra){for(w=n.extra;c<w;){if(s===0)break e;s--,u+=r[o++]<<c,c+=8}n.length+=u&(1<<n.extra)-1,u>>>=n.extra,c-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;m=(L=n.distcode[u&(1<<n.distbits)-1])>>>16&255,y=65535&L,!((g=L>>>24)<=c);){if(s===0)break e;s--,u+=r[o++]<<c,c+=8}if(!(240&m)){for(R=g,A=m,x=y;m=(L=n.distcode[x+((u&(1<<R+A)-1)>>R)])>>>16&255,y=65535&L,!(R+(g=L>>>24)<=c);){if(s===0)break e;s--,u+=r[o++]<<c,c+=8}u>>>=R,c-=R,n.back+=R}if(u>>>=g,c-=g,n.back+=g,64&m){e.msg="invalid distance code",n.mode=30;break}n.offset=y,n.extra=15&m,n.mode=24;case 24:if(n.extra){for(w=n.extra;c<w;){if(s===0)break e;s--,u+=r[o++]<<c,c+=8}n.offset+=u&(1<<n.extra)-1,u>>>=n.extra,c-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(l===0)break e;if(h=d-l,n.offset>h){if((h=n.offset-h)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}h>n.wnext?(h-=n.wnext,p=n.wsize-h):p=n.wnext-h,h>n.length&&(h=n.length),v=n.window}else v=i,p=a-n.offset,h=n.length;h>l&&(h=l),l-=h,n.length-=h;do i[a++]=v[p++];while(--h);n.length===0&&(n.mode=21);break;case 26:if(l===0)break e;i[a++]=n.length,l--,n.mode=21;break;case 27:if(n.wrap){for(;c<32;){if(s===0)break e;s--,u|=r[o++]<<c,c+=8}if(d-=l,e.total_out+=d,n.total+=d,d&&(e.adler=n.check=n.flags?Ol(n.check,i,d,a-d):p5(n.check,i,d,a-d)),d=l,(n.flags?u:bE(u))!==n.check){e.msg="incorrect data check",n.mode=30;break}u=0,c=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;c<32;){if(s===0)break e;s--,u+=r[o++]<<c,c+=8}if(u!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=30;break}u=0,c=0}n.mode=29;case 29:_=1;break e;case 30:_=-3;break e;case 31:return-4;default:return-2}return e.next_out=a,e.avail_out=l,e.next_in=o,e.avail_in=s,n.hold=u,n.bits=c,(n.wsize||d!==e.avail_out&&n.mode<30&&(n.mode<27||t!==4))&&wE(e,e.output,e.next_out,d-e.avail_out),f-=e.avail_in,d-=e.avail_out,e.total_in+=f,e.total_out+=d,n.total+=d,n.wrap&&d&&(e.adler=n.check=n.flags?Ol(n.check,i,d,e.next_out-d):p5(n.check,i,d,e.next_out-d)),e.data_type=n.bits+(n.last?64:0)+(n.mode===12?128:0)+(n.mode===20||n.mode===15?256:0),(f===0&&d===0||t===4)&&_===0&&(_=-5),_},Hs.inflateEnd=function(e){if(!e||!e.state)return-2;var t=e.state;return t.window&&(t.window=null),e.state=null,0},Hs.inflateGetHeader=function(e,t){var n;return e&&e.state&&2&(n=e.state).wrap?(n.head=t,t.done=!1,0):-2},Hs.inflateSetDictionary=function(e,t){var n,r=t.length;return e&&e.state?(n=e.state).wrap!==0&&n.mode!==11?-2:n.mode===11&&p5(1,t,r,0)!==n.check?-3:wE(e,t,r,r)?(n.mode=31,-4):(n.havedict=1,0):-2},Hs.inflateInfo="pako inflate (from Nodeca project)";var jK={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},nv=Hs,bg=mc,pb=lh,ei=jK,UT=ck,SAe=KK,wAe=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1},qK=Object.prototype.toString;function ph(e){if(!(this instanceof ph))return new ph(e);this.options=bg.assign({chunkSize:16384,windowBits:0,to:""},e||{});var 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&&!(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new SAe,this.strm.avail_out=0;var n=nv.inflateInit2(this.strm,t.windowBits);if(n!==ei.Z_OK)throw new Error(UT[n]);if(this.header=new wAe,nv.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=pb.string2buf(t.dictionary):qK.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=nv.inflateSetDictionary(this.strm,t.dictionary))!==ei.Z_OK))throw new Error(UT[n])}function m5(e,t){var n=new ph(t);if(n.push(e,!0),n.err)throw n.msg||UT[n.err];return n.result}ph.prototype.push=function(e,t){var n,r,i,o,a,s=this.strm,l=this.options.chunkSize,u=this.options.dictionary,c=!1;if(this.ended)return!1;r=t===~~t?t:t===!0?ei.Z_FINISH:ei.Z_NO_FLUSH,typeof e=="string"?s.input=pb.binstring2buf(e):qK.call(e)==="[object ArrayBuffer]"?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(s.avail_out===0&&(s.output=new bg.Buf8(l),s.next_out=0,s.avail_out=l),(n=nv.inflate(s,ei.Z_NO_FLUSH))===ei.Z_NEED_DICT&&u&&(n=nv.inflateSetDictionary(this.strm,u)),n===ei.Z_BUF_ERROR&&c===!0&&(n=ei.Z_OK,c=!1),n!==ei.Z_STREAM_END&&n!==ei.Z_OK)return this.onEnd(n),this.ended=!0,!1;s.next_out&&(s.avail_out!==0&&n!==ei.Z_STREAM_END&&(s.avail_in!==0||r!==ei.Z_FINISH&&r!==ei.Z_SYNC_FLUSH)||(this.options.to==="string"?(i=pb.utf8border(s.output,s.next_out),o=s.next_out-i,a=pb.buf2string(s.output,i),s.next_out=o,s.avail_out=l-o,o&&bg.arraySet(s.output,s.output,i,o,0),this.onData(a)):this.onData(bg.shrinkBuf(s.output,s.next_out)))),s.avail_in===0&&s.avail_out===0&&(c=!0)}while((s.avail_in>0||s.avail_out===0)&&n!==ei.Z_STREAM_END);return n===ei.Z_STREAM_END&&(r=ei.Z_FINISH),r===ei.Z_FINISH?(n=nv.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===ei.Z_OK):r!==ei.Z_SYNC_FLUSH||(this.onEnd(ei.Z_OK),s.avail_out=0,!0)},ph.prototype.onData=function(e){this.chunks.push(e)},ph.prototype.onEnd=function(e){e===ei.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=bg.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},Rg.Inflate=ph,Rg.inflate=m5,Rg.inflateRaw=function(e,t){return(t=t||{}).raw=!0,m5(e,t)},Rg.ungzip=m5;var eG={};(0,mc.assign)(eG,gg,Rg,jK);var MAe=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",LAe=eG,ME=Jr(),vb=Is,TAe=MAe?"uint8array":"array";function Od(e,t){vb.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}db.magic="\b\0",ME.inherits(Od,vb),Od.prototype.processChunk=function(e){this.meta=e.meta,this._pako===null&&this._createPako(),this._pako.push(ME.transformTo(TAe,e.data),!1)},Od.prototype.flush=function(){vb.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},Od.prototype.cleanUp=function(){vb.prototype.cleanUp.call(this),this._pako=null},Od.prototype._createPako=function(){this._pako=new LAe[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},db.compressWorker=function(e){return new Od("Deflate",e)},db.uncompressWorker=function(){return new Od("Inflate",{})};var LE=Is;kx.STORE={magic:"\0\0",compressWorker:function(){return new LE("STORE compression")},uncompressWorker:function(){return new LE("STORE decompression")}},kx.DEFLATE=db;var tG={LOCAL_FILE_HEADER:"PK",CENTRAL_FILE_HEADER:"PK",CENTRAL_DIRECTORY_END:"PK",ZIP64_CENTRAL_DIRECTORY_LOCATOR:"PK\x07",ZIP64_CENTRAL_DIRECTORY_END:"PK",DATA_DESCRIPTOR:"PK\x07\b"},Op=Jr(),gp=Is,y5=Kv,TE=ak,Ix=tG,vr=function(e,t){var n,r="";for(n=0;n<t;n++)r+=String.fromCharCode(255&e),e>>>=8;return r},_E=function(e,t,n,r,i,o){var a,s,l=e.file,u=e.compression,c=o!==y5.utf8encode,f=Op.transformTo("string",o(l.name)),d=Op.transformTo("string",y5.utf8encode(l.name)),h=l.comment,p=Op.transformTo("string",o(h)),v=Op.transformTo("string",y5.utf8encode(h)),g=d.length!==l.name.length,m=v.length!==h.length,y="",R="",A="",x=l.dir,S=l.date,_={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(_.crc32=e.crc32,_.compressedSize=e.compressedSize,_.uncompressedSize=e.uncompressedSize);var M=0;t&&(M|=8),c||!g&&!m||(M|=2048);var w,L,k,P=0,F=0;x&&(P|=16),i==="UNIX"?(F=798,P|=(w=l.unixPermissions,L=x,k=w,w||(k=L?16893:33204),(65535&k)<<16)):(F=20,P|=63&(l.dosPermissions||0)),a=S.getUTCHours(),a<<=6,a|=S.getUTCMinutes(),a<<=5,a|=S.getUTCSeconds()/2,s=S.getUTCFullYear()-1980,s<<=4,s|=S.getUTCMonth()+1,s<<=5,s|=S.getUTCDate(),g&&(R=vr(1,1)+vr(TE(f),4)+d,y+="up"+vr(R.length,2)+R),m&&(A=vr(1,1)+vr(TE(p),4)+v,y+="uc"+vr(A.length,2)+A);var C="";return C+=`
|
||
\0`,C+=vr(M,2),C+=u.magic,C+=vr(a,2),C+=vr(s,2),C+=vr(_.crc32,4),C+=vr(_.compressedSize,4),C+=vr(_.uncompressedSize,4),C+=vr(f.length,2),C+=vr(y.length,2),{fileRecord:Ix.LOCAL_FILE_HEADER+C+f+y,dirRecord:Ix.CENTRAL_FILE_HEADER+vr(F,2)+C+vr(p.length,2)+"\0\0\0\0"+vr(P,4)+vr(r,4)+f+y+p}},_Ae=function(e){return Ix.DATA_DESCRIPTOR+vr(e.crc32,4)+vr(e.compressedSize,4)+vr(e.uncompressedSize,4)};function Ks(e,t,n,r){gp.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}Op.inherits(Ks,gp),Ks.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,gp.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}}))},Ks.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=_E(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},Ks.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=_E(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:_Ae(e),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},Ks.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var n=this.bytesWritten-e,r=function(i,o,a,s,l){var u=Op.transformTo("string",l(s));return Ix.CENTRAL_DIRECTORY_END+"\0\0\0\0"+vr(i,2)+vr(i,2)+vr(o,4)+vr(a,4)+vr(u.length,2)+u}(this.dirRecords.length,n,e,this.zipComment,this.encodeFileName);this.push({data:r,meta:{percent:100}})},Ks.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},Ks.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",function(n){t.processChunk(n)}),e.on("end",function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()}),e.on("error",function(n){t.error(n)}),this},Ks.prototype.resume=function(){return!!gp.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},Ks.prototype.error=function(e){var t=this._sources;if(!gp.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch{}return!0},Ks.prototype.lock=function(){gp.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()};var OAe=kx,kAe=Ks;NK.generateWorker=function(e,t,n){var r=new kAe(t.streamFiles,n,t.platform,t.encodeFileName),i=0;try{e.forEach(function(o,a){i++;var s=function(f,d){var h=f||d,p=OAe[h];if(!p)throw new Error(h+" is not a valid compression method !");return p}(a.options.compression,t.compression),l=a.options.compressionOptions||t.compressionOptions||{},u=a.dir,c=a.date;a._compressWorker(s,l).withStreamInfo("file",{name:o,dir:u,date:c,comment:a.comment||"",unixPermissions:a.unixPermissions,dosPermissions:a.dosPermissions}).pipe(r)}),r.entriesCount=i}catch(o){r.error(o)}return r};var PAe=Jr(),gb=Is;function xg(e,t){gb.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}PAe.inherits(xg,gb),xg.prototype._bindStream=function(e){var t=this;this._stream=e,e.pause(),e.on("data",function(n){t.push({data:n,meta:{percent:0}})}).on("error",function(n){t.isPaused?this.generatedError=n:t.error(n)}).on("end",function(){t.isPaused?t._upstreamEnded=!0:t.end()})},xg.prototype.pause=function(){return!!gb.prototype.pause.call(this)&&(this._stream.pause(),!0)},xg.prototype.resume=function(){return!!gb.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)};var CAe=xg,IAe=Kv,om=Jr(),nG=Is,NAe=OK,rG=kK,OE=sk,FAe=uAe,EAe=NK,kE=h3,XAe=CAe,iG=function(e,t,n){var r,i=om.getTypeOf(t),o=om.extend(n||{},rG);o.date=o.date||new Date,o.compression!==null&&(o.compression=o.compression.toUpperCase()),typeof o.unixPermissions=="string"&&(o.unixPermissions=parseInt(o.unixPermissions,8)),o.unixPermissions&&16384&o.unixPermissions&&(o.dir=!0),o.dosPermissions&&16&o.dosPermissions&&(o.dir=!0),o.dir&&(e=oG(e)),o.createFolders&&(r=WAe(e))&&aG.call(this,r,!0);var a=i==="string"&&o.binary===!1&&o.base64===!1;n&&n.binary!==void 0||(o.binary=!a),(t instanceof OE&&t.uncompressedSize===0||o.dir||!t||t.length===0)&&(o.base64=!1,o.binary=!0,t="",o.compression="STORE",i="string");var s=null;s=t instanceof OE||t instanceof nG?t:kE.isNode&&kE.isStream(t)?new XAe(e,t):om.prepareContent(e,t,o.binary,o.optimizedBinaryString,o.base64);var l=new FAe(e,s,o);this.files[e]=l},WAe=function(e){e.slice(-1)==="/"&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},oG=function(e){return e.slice(-1)!=="/"&&(e+="/"),e},aG=function(e,t){return t=t!==void 0?t:rG.createFolders,e=oG(e),this.files[e]||iG.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function PE(e){return Object.prototype.toString.call(e)==="[object RegExp]"}var VAe={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,n,r;for(t in this.files)r=this.files[t],(n=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(n,r)},filter:function(e){var t=[];return this.forEach(function(n,r){e(n,r)&&t.push(r)}),t},file:function(e,t,n){if(arguments.length===1){if(PE(e)){var r=e;return this.filter(function(o,a){return!a.dir&&r.test(o)})}var i=this.files[this.root+e];return i&&!i.dir?i:null}return e=this.root+e,iG.call(this,e,t,n),this},folder:function(e){if(!e)return this;if(PE(e))return this.filter(function(i,o){return o.dir&&e.test(i)});var t=this.root+e,n=aG.call(this,t),r=this.clone();return r.root=n.name,r},remove:function(e){e=this.root+e;var t=this.files[e];if(t||(e.slice(-1)!=="/"&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter(function(i,o){return o.name.slice(0,e.length)===e}),r=0;r<n.length;r++)delete this.files[n[r].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,n={};try{if((n=om.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:IAe.utf8encode})).type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),n.type==="binarystring"&&(n.type="string"),!n.type)throw new Error("No output type specified.");om.checkSupport(n.type),n.platform!=="darwin"&&n.platform!=="freebsd"&&n.platform!=="linux"&&n.platform!=="sunos"||(n.platform="UNIX"),n.platform==="win32"&&(n.platform="DOS");var r=n.comment||this.comment||"";t=EAe.generateWorker(this,n,r)}catch(i){(t=new nG("error")).error(i)}return new NAe(t,n.type||"string",n.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}},DAe=VAe,UAe=Jr();function sG(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}sG.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t,n=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return UAe.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}};var lG=sG,uG=lG;function mp(e){uG.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}Jr().inherits(mp,uG),mp.prototype.byteAt=function(e){return this.data[this.zero+e]},mp.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),o=this.length-4;o>=0;--o)if(this.data[o]===t&&this.data[o+1]===n&&this.data[o+2]===r&&this.data[o+3]===i)return o-this.zero;return-1},mp.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),o=this.readData(4);return t===o[0]&&n===o[1]&&r===o[2]&&i===o[3]},mp.prototype.readData=function(e){if(this.checkOffset(e),e===0)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var cG=mp,fG=lG;function yp(e){fG.call(this,e)}Jr().inherits(yp,fG),yp.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},yp.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},yp.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},yp.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var BAe=yp,dG=cG;function BT(e){dG.call(this,e)}Jr().inherits(BT,dG),BT.prototype.readData=function(e){if(this.checkOffset(e),e===0)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var hG=BT,pG=hG;function YT(e){pG.call(this,e)}Jr().inherits(YT,pG),YT.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var YAe=YT,WA=Jr(),CE=oi,ZAe=cG,QAe=BAe,HAe=YAe,KAe=hG,vG=function(e){var t=WA.getTypeOf(e);return WA.checkSupport(t),t!=="string"||CE.uint8array?t==="nodebuffer"?new HAe(e):CE.uint8array?new KAe(WA.transformTo("uint8array",e)):new ZAe(WA.transformTo("array",e)):new QAe(e)},A5=vG,Nc=Jr(),GAe=sk,IE=ak,VA=Kv,DA=kx,zAe=oi;function gG(e,t){this.options=e,this.loadOptions=t}gG.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(t=function(r){for(var i in DA)if(Object.prototype.hasOwnProperty.call(DA,i)&&DA[i].magic===r)return DA[i];return null}(this.compressionMethod),t===null)throw new Error("Corrupted zip : compression "+Nc.pretty(this.compressionMethod)+" unknown (inner file : "+Nc.transformTo("string",this.fileName)+")");this.decompressed=new GAe(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),e===0&&(this.dosPermissions=63&this.externalFileAttributes),e===3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=A5(this.extraFields[1].value);this.uncompressedSize===Nc.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===Nc.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===Nc.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===Nc.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,n,r,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<i;)t=e.readInt(2),n=e.readInt(2),r=e.readData(n),this.extraFields[t]={id:t,length:n,value:r};e.setIndex(i)},handleUTF8:function(){var e=zAe.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=VA.utf8decode(this.fileName),this.fileCommentStr=VA.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(t!==null)this.fileNameStr=t;else{var n=Nc.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var r=this.findExtraFieldUnicodeComment();if(r!==null)this.fileCommentStr=r;else{var i=Nc.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(i)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=A5(e.value);return t.readInt(1)!==1||IE(this.fileName)!==t.readInt(4)?null:VA.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=A5(e.value);return t.readInt(1)!==1||IE(this.fileComment)!==t.readInt(4)?null:VA.utf8decode(t.readData(e.length-5))}return null}};var JAe=gG,$Ae=vG,Eu=Jr(),Ds=tG,jAe=JAe,qAe=oi;function mG(e){this.files=[],this.loadOptions=e}mG.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+Eu.pretty(t)+", expected "+Eu.pretty(e)+")")}},isSignature:function(e,t){var n=this.reader.index;this.reader.setIndex(e);var r=this.reader.readString(4)===t;return this.reader.setIndex(n),r},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=qAe.uint8array?"uint8array":"array",n=Eu.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(n)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,n,r=this.zip64EndOfCentralSize-44;0<r;)e=this.reader.readInt(2),t=this.reader.readInt(4),n=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(Ds.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(Ds.CENTRAL_FILE_HEADER);)(e=new jAe({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(Ds.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,Ds.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(e);var t=e;if(this.checkSignature(Ds.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===Eu.MAX_VALUE_16BITS||this.diskWithCentralDirStart===Eu.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===Eu.MAX_VALUE_16BITS||this.centralDirRecords===Eu.MAX_VALUE_16BITS||this.centralDirSize===Eu.MAX_VALUE_32BITS||this.centralDirOffset===Eu.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(Ds.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(Ds.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,Ds.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(Ds.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(Ds.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var r=t-n;if(r>0)this.isSignature(t,Ds.CENTRAL_FILE_HEADER)||(this.reader.zero=r);else if(r<0)throw new Error("Corrupted zip: missing "+Math.abs(r)+" bytes.")},prepareReader:function(e){this.reader=$Ae(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};var eRe=mG,R5=Jr(),mb=q2,tRe=Kv,nRe=eRe,rRe=IK,NE=h3;function iRe(e){return new mb.Promise(function(t,n){var r=e.decompressed.getContentWorker().pipe(new rRe);r.on("error",function(i){n(i)}).on("end",function(){r.streamInfo.crc32!==e.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):t()}).resume()})}function cs(){if(!(this instanceof cs))return new cs;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new cs;for(var t in this)typeof this[t]!="function"&&(e[t]=this[t]);return e}}cs.prototype=DAe,cs.prototype.loadAsync=function(e,t){var n=this;return t=R5.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:tRe.utf8decode}),NE.isNode&&NE.isStream(e)?mb.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):R5.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then(function(r){var i=new nRe(t);return i.load(r),i}).then(function(r){var i=[mb.Promise.resolve(r)],o=r.files;if(t.checkCRC32)for(var a=0;a<o.length;a++)i.push(iRe(o[a]));return mb.Promise.all(i)}).then(function(r){for(var i=r.shift(),o=i.files,a=0;a<o.length;a++){var s=o[a],l=s.fileNameStr,u=R5.resolve(s.fileNameStr);n.file(u,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileCommentStr.length?s.fileCommentStr:null,unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions,createFolders:t.createFolders}),s.dir||(n.file(u).unsafeOriginalName=l)}return i.zipComment.length&&(n.comment=i.zipComment),n})},cs.support=oi,cs.defaults=kK,cs.version="3.10.1",cs.loadAsync=function(e,t){return new cs().loadAsync(e,t)},cs.external=q2;var oRe=cs;function bv(e){return bv=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},bv(e)}function aRe(e,t){var n=(t=t||{}).pos||0,r=!!t.keepComments,i=!!t.keepWhitespace,o=60,a=62,s=45,l=47,u=33,c=39,f=34,d=91,h=93;function p(S){for(var _=[];e[n];)if(e.charCodeAt(n)==o){if(e.charCodeAt(n+1)===l){var M=n+2;if(n=e.indexOf(">",n),e.substring(M,n).indexOf(S)==-1){var w=e.substring(0,n).split(`
|
||
`);throw new Error(`Unexpected close tag
|
||
Line: `+(w.length-1)+`
|
||
Column: `+(w[w.length-1].length+1)+`
|
||
Char: `+e[n])}return n+1&&(n+=1),_}if(e.charCodeAt(n+1)===u){if(e.charCodeAt(n+2)==s){const N=n;for(;n!==-1&&(e.charCodeAt(n)!==a||e.charCodeAt(n-1)!=s||e.charCodeAt(n-2)!=s||n==-1);)n=e.indexOf(">",n+1);n===-1&&(n=e.length),r&&_.push(e.substring(N,n+1))}else{if(e.charCodeAt(n+2)===d&&e.charCodeAt(n+8)===d&&e.substr(n+3,5).toLowerCase()==="cdata"){var L=e.indexOf("]]>",n);L==-1?(_.push(e.substr(n+9)),n=e.length):(_.push(e.substring(n+9,L)),n=L+3);continue}{const N=n+1;n+=2;for(var k=!1;(e.charCodeAt(n)!==a||k===!0)&&e[n];)e.charCodeAt(n)===d?k=!0:k===!0&&e.charCodeAt(n)===h&&(k=!1),n++;_.push(e.substring(N,n))}}n++;continue}var P=y();_.push(P),P.tagName[0]==="?"&&(_.push(...P.children),P.children=[])}else{var F=v();if(i)F.length>0&&_.push(F);else{var C=F.trim();C.length>0&&_.push(C)}n++}return _}function v(){var S=n;return(n=e.indexOf("<",n)-1)===-2&&(n=e.length),e.slice(S,n+1)}function g(){for(var S=n;`\r
|
||
>/= `.indexOf(e[n])===-1&&e[n];)n++;return e.slice(S,n)}var m=t.noChildNodes||["img","br","input","meta","link","hr"];function y(){n++;const S=g(),_={};let M=[];for(;e.charCodeAt(n)!==a&&e[n];){var w=e.charCodeAt(n);if(w>64&&w<91||w>96&&w<123){for(var L=g(),k=e.charCodeAt(n);k&&k!==c&&k!==f&&!(k>64&&k<91||k>96&&k<123)&&k!==a;)n++,k=e.charCodeAt(n);if(k===c||k===f){var P=R();if(n===-1)return{tagName:S,attributes:_,children:M}}else P=null,n--;_[L]=P}n++}if(e.charCodeAt(n-1)!==l)if(S=="script"){var F=n+1;n=e.indexOf("<\/script>",n),M=[e.slice(F,n)],n+=9}else S=="style"?(F=n+1,n=e.indexOf("</style>",n),M=[e.slice(F,n)],n+=8):m.indexOf(S)===-1?(n++,M=p(S)):n++;else n++;return{tagName:S,attributes:_,children:M}}function R(){var S=e[n],_=n+1;return n=e.indexOf(S,_),e.slice(_,n)}var A,x=null;if(t.attrValue!==void 0)for(t.attrName=t.attrName||"id",x=[];A=void 0,A=new RegExp("\\s"+t.attrName+`\\s*=['"]`+t.attrValue+`['"]`).exec(e),(n=A?A.index:-1)!==-1;)(n=e.lastIndexOf("<",n))!==-1&&x.push(y()),e=e.substr(n),n=0;else x=t.parseNode?y():p("");return t.filter&&(x=AG(x,t.filter)),t.simplify?yG(Array.isArray(x)?x:[x]):(t.setPos&&(x.pos=n),x)}function yG(e){var t={};if(!e.length)return"";if(e.length===1&&typeof e[0]=="string")return e[0];for(var n in e.forEach(function(r){if(typeof r=="object"){t[r.tagName]||(t[r.tagName]=[]);var i=yG(r.children);t[r.tagName].push(i),Object.keys(r.attributes).length&&typeof i!="string"&&(i._attributes=r.attributes)}}),t)t[n].length==1&&(t[n]=t[n][0]);return t}function AG(e,t,n=0,r=""){var i=[];return e.forEach(function(o,a){if(typeof o=="object"&&t(o,a,n,r)&&i.push(o),o.children){var s=AG(o.children,t,n+1,(r?r+".":"")+a+"."+o.tagName);i=i.concat(s)}}),i}function sRe(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(l,u){if(l){if(typeof l=="string")return FE(l,u);var c=Object.prototype.toString.call(l).slice(8,-1);if(c==="Object"&&l.constructor&&(c=l.constructor.name),c==="Map"||c==="Set")return Array.from(l);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return FE(l,u)}}(e))||t){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(l){throw l},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var l=n.next();return a=l.done,l},e:function(l){s=!0,o=l},f:function(){try{a||n.return==null||n.return()}finally{if(s)throw o}}}}function FE(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function EE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function b5(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?EE(Object(n),!0).forEach(function(r){UH(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):EE(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var x5=0;function RG(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n={};if(!e.length)return n;if(e.length===1&&typeof e[0]=="string")return Object.keys(t).length?{attrs:b5({order:x5++},t),value:e[0]}:e[0];var r,i=sRe(e);try{for(i.s();!(r=i.n()).done;){var o=r.value;if(bv(o)!=="object")return;if(o.tagName!=="?xml"){n[o.tagName]||(n[o.tagName]=[]);var a=RG(o.children||[],o.attributes);bv(a)==="object"&&(a.attrs?a.attrs.order=x5++:a.attrs={order:x5++}),Object.keys(o.attributes||{}).length&&(a.attrs=b5(b5({},a.attrs),o.attributes)),n[o.tagName].push(a)}}}catch(l){i.e(l)}finally{i.f()}for(var s in n)n[s].length===1&&(n[s]=n[s][0]);return n}function no(e,t){return bG.apply(this,arguments)}function bG(){return(bG=pa(tr.mark(function e(t,n){var r;return tr.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.prev=0,i.next=3,t.file(n).async("string");case 3:return r=i.sent,i.abrupt("return",RG(aRe(r)));case 7:return i.prev=7,i.t0=i.catch(0),i.abrupt("return",null);case 10:case"end":return i.stop()}},e,null,[[0,7]])}))).apply(this,arguments)}function Nx(e){return Nx=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},Nx(e)}var lRe=/^\s+/,uRe=/\s+$/;function yt(e,t){if(t=t||{},(e=e||"")instanceof yt)return e;if(!(this instanceof yt))return new yt(e,t);var n=function(r){var i={r:0,g:0,b:0},o=1,a=null,s=null,l=null,u=!1,c=!1;typeof r=="string"&&(r=function(p){p=p.replace(lRe,"").replace(uRe,"").toLowerCase();var v,g=!1;if(ZT[p])p=ZT[p],g=!0;else if(p=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};return(v=Gs.rgb.exec(p))?{r:v[1],g:v[2],b:v[3]}:(v=Gs.rgba.exec(p))?{r:v[1],g:v[2],b:v[3],a:v[4]}:(v=Gs.hsl.exec(p))?{h:v[1],s:v[2],l:v[3]}:(v=Gs.hsla.exec(p))?{h:v[1],s:v[2],l:v[3],a:v[4]}:(v=Gs.hsv.exec(p))?{h:v[1],s:v[2],v:v[3]}:(v=Gs.hsva.exec(p))?{h:v[1],s:v[2],v:v[3],a:v[4]}:(v=Gs.hex8.exec(p))?{r:wa(v[1]),g:wa(v[2]),b:wa(v[3]),a:BE(v[4]),format:g?"name":"hex8"}:(v=Gs.hex6.exec(p))?{r:wa(v[1]),g:wa(v[2]),b:wa(v[3]),format:g?"name":"hex"}:(v=Gs.hex4.exec(p))?{r:wa(v[1]+""+v[1]),g:wa(v[2]+""+v[2]),b:wa(v[3]+""+v[3]),a:BE(v[4]+""+v[4]),format:g?"name":"hex8"}:(v=Gs.hex3.exec(p))?{r:wa(v[1]+""+v[1]),g:wa(v[2]+""+v[2]),b:wa(v[3]+""+v[3]),format:g?"name":"hex"}:!1}(r)),Nx(r)=="object"&&(Xu(r.r)&&Xu(r.g)&&Xu(r.b)?(f=r.r,d=r.g,h=r.b,i={r:255*Or(f,255),g:255*Or(d,255),b:255*Or(h,255)},u=!0,c=String(r.r).substr(-1)==="%"?"prgb":"rgb"):Xu(r.h)&&Xu(r.s)&&Xu(r.v)?(a=Sg(r.s),s=Sg(r.v),i=function(p,v,g){p=6*Or(p,360),v=Or(v,100),g=Or(g,100);var m=Math.floor(p),y=p-m,R=g*(1-v),A=g*(1-y*v),x=g*(1-(1-y)*v),S=m%6;return{r:255*[g,A,R,R,x,g][S],g:255*[x,g,g,A,R,R][S],b:255*[R,R,x,g,g,A][S]}}(r.h,a,s),u=!0,c="hsv"):Xu(r.h)&&Xu(r.s)&&Xu(r.l)&&(a=Sg(r.s),l=Sg(r.l),i=function(p,v,g){var m,y,R;function A(_,M,w){return w<0&&(w+=1),w>1&&(w-=1),w<1/6?_+6*(M-_)*w:w<.5?M:w<2/3?_+(M-_)*(2/3-w)*6:_}if(p=Or(p,360),v=Or(v,100),g=Or(g,100),v===0)m=y=R=g;else{var x=g<.5?g*(1+v):g+v-g*v,S=2*g-x;m=A(S,x,p+1/3),y=A(S,x,p),R=A(S,x,p-1/3)}return{r:255*m,g:255*y,b:255*R}}(r.h,a,l),u=!0,c="hsl"),r.hasOwnProperty("a")&&(o=r.a));var f,d,h;return o=xG(o),{ok:u,format:r.format||c,r:Math.min(255,Math.max(i.r,0)),g:Math.min(255,Math.max(i.g,0)),b:Math.min(255,Math.max(i.b,0)),a:o}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}function XE(e,t,n){e=Or(e,255),t=Or(t,255),n=Or(n,255);var r,i,o=Math.max(e,t,n),a=Math.min(e,t,n),s=(o+a)/2;if(o==a)r=i=0;else{var l=o-a;switch(i=s>.5?l/(2-o-a):l/(o+a),o){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:i,l:s}}function WE(e,t,n){e=Or(e,255),t=Or(t,255),n=Or(n,255);var r,i,o=Math.max(e,t,n),a=Math.min(e,t,n),s=o,l=o-a;if(i=o===0?0:l/o,o==a)r=0;else{switch(o){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:i,v:s}}function VE(e,t,n,r){var i=[sl(Math.round(e).toString(16)),sl(Math.round(t).toString(16)),sl(Math.round(n).toString(16))];return r&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function DE(e,t,n,r){return[sl(SG(r)),sl(Math.round(e).toString(16)),sl(Math.round(t).toString(16)),sl(Math.round(n).toString(16))].join("")}function cRe(e,t){t=t===0?0:t||10;var n=yt(e).toHsl();return n.s-=t/100,n.s=p3(n.s),yt(n)}function fRe(e,t){t=t===0?0:t||10;var n=yt(e).toHsl();return n.s+=t/100,n.s=p3(n.s),yt(n)}function dRe(e){return yt(e).desaturate(100)}function hRe(e,t){t=t===0?0:t||10;var n=yt(e).toHsl();return n.l+=t/100,n.l=p3(n.l),yt(n)}function pRe(e,t){t=t===0?0:t||10;var n=yt(e).toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),yt(n)}function vRe(e,t){t=t===0?0:t||10;var n=yt(e).toHsl();return n.l-=t/100,n.l=p3(n.l),yt(n)}function gRe(e,t){var n=yt(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,yt(n)}function mRe(e){var t=yt(e).toHsl();return t.h=(t.h+180)%360,yt(t)}function UE(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var n=yt(e).toHsl(),r=[yt(e)],i=360/t,o=1;o<t;o++)r.push(yt({h:(n.h+o*i)%360,s:n.s,l:n.l}));return r}function yRe(e){var t=yt(e).toHsl(),n=t.h;return[yt(e),yt({h:(n+72)%360,s:t.s,l:t.l}),yt({h:(n+216)%360,s:t.s,l:t.l})]}function ARe(e,t,n){t=t||6,n=n||30;var r=yt(e).toHsl(),i=360/n,o=[yt(e)];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,o.push(yt(r));return o}function RRe(e,t){t=t||6;for(var n=yt(e).toHsv(),r=n.h,i=n.s,o=n.v,a=[],s=1/t;t--;)a.push(yt({h:r,s:i,v:o})),o=(o+s)%1;return a}yt.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=xG(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=WE(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=WE(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return this._a==1?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=XE(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=XE(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return this._a==1?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return VE(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(t,n,r,i,o){var a=[sl(Math.round(t).toString(16)),sl(Math.round(n).toString(16)),sl(Math.round(r).toString(16)),sl(SG(i))];return o&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*Or(this._r,255))+"%",g:Math.round(100*Or(this._g,255))+"%",b:Math.round(100*Or(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(100*Or(this._r,255))+"%, "+Math.round(100*Or(this._g,255))+"%, "+Math.round(100*Or(this._b,255))+"%)":"rgba("+Math.round(100*Or(this._r,255))+"%, "+Math.round(100*Or(this._g,255))+"%, "+Math.round(100*Or(this._b,255))+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":!(this._a<1)&&(bRe[VE(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+DE(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var i=yt(e);n="#"+DE(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||e!=="hex"&&e!=="hex6"&&e!=="hex3"&&e!=="hex4"&&e!=="hex8"&&e!=="name"?(e==="rgb"&&(n=this.toRgbString()),e==="prgb"&&(n=this.toPercentageRgbString()),e!=="hex"&&e!=="hex6"||(n=this.toHexString()),e==="hex3"&&(n=this.toHexString(!0)),e==="hex4"&&(n=this.toHex8String(!0)),e==="hex8"&&(n=this.toHex8String()),e==="name"&&(n=this.toName()),e==="hsl"&&(n=this.toHslString()),e==="hsv"&&(n=this.toHsvString()),n||this.toHexString()):e==="name"&&this._a===0?this.toName():this.toRgbString()},clone:function(){return yt(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(hRe,arguments)},brighten:function(){return this._applyModification(pRe,arguments)},darken:function(){return this._applyModification(vRe,arguments)},desaturate:function(){return this._applyModification(cRe,arguments)},saturate:function(){return this._applyModification(fRe,arguments)},greyscale:function(){return this._applyModification(dRe,arguments)},spin:function(){return this._applyModification(gRe,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(ARe,arguments)},complement:function(){return this._applyCombination(mRe,arguments)},monochromatic:function(){return this._applyCombination(RRe,arguments)},splitcomplement:function(){return this._applyCombination(yRe,arguments)},triad:function(){return this._applyCombination(UE,[3])},tetrad:function(){return this._applyCombination(UE,[4])}},yt.fromRatio=function(e,t){if(Nx(e)=="object"){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=r==="a"?e[r]:Sg(e[r]));e=n}return yt(e,t)},yt.equals=function(e,t){return!(!e||!t)&&yt(e).toRgbString()==yt(t).toRgbString()},yt.random=function(){return yt.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},yt.mix=function(e,t,n){n=n===0?0:n||50;var r=yt(e).toRgb(),i=yt(t).toRgb(),o=n/100;return yt({r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a})},yt.readability=function(e,t){var n=yt(e),r=yt(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},yt.isReadable=function(e,t,n){var r,i,o=yt.readability(e,t);switch(i=!1,(r=function(a){var s,l;return s=((a=a||{level:"AA",size:"small"}).level||"AA").toUpperCase(),l=(a.size||"small").toLowerCase(),s!=="AA"&&s!=="AAA"&&(s="AA"),l!=="small"&&l!=="large"&&(l="small"),{level:s,size:l}}(n)).level+r.size){case"AAsmall":case"AAAlarge":i=o>=4.5;break;case"AAlarge":i=o>=3;break;case"AAAsmall":i=o>=7}return i},yt.mostReadable=function(e,t,n){var r,i,o,a,s=null,l=0;i=(n=n||{}).includeFallbackColors,o=n.level,a=n.size;for(var u=0;u<t.length;u++)(r=yt.readability(e,t[u]))>l&&(l=r,s=yt(t[u]));return yt.isReadable(e,s,{level:o,size:a})||!i?s:(n.includeFallbackColors=!1,yt.mostReadable(e,["#fff","#000"],n))};var ZT=yt.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",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",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},bRe=yt.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(ZT);function xG(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Or(e,t){(function(r){return typeof r=="string"&&r.indexOf(".")!=-1&&parseFloat(r)===1})(e)&&(e="100%");var n=function(r){return typeof r=="string"&&r.indexOf("%")!=-1}(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function p3(e){return Math.min(1,Math.max(0,e))}function wa(e){return parseInt(e,16)}function sl(e){return e.length==1?"0"+e:""+e}function Sg(e){return e<=1&&(e=100*e+"%"),e}function SG(e){return Math.round(255*parseFloat(e)).toString(16)}function BE(e){return wa(e)/255}var Fc,UA,BA,Gs=(UA="[\\s|\\(]+("+(Fc="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+Fc+")[,|\\s]+("+Fc+")\\s*\\)?",BA="[\\s|\\(]+("+Fc+")[,|\\s]+("+Fc+")[,|\\s]+("+Fc+")[,|\\s]+("+Fc+")\\s*\\)?",{CSS_UNIT:new RegExp(Fc),rgb:new RegExp("rgb"+UA),rgba:new RegExp("rgba"+BA),hsl:new RegExp("hsl"+UA),hsla:new RegExp("hsla"+BA),hsv:new RegExp("hsv"+UA),hsva:new RegExp("hsva"+BA),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function Xu(e){return!!Gs.CSS_UNIT.exec(e)}function xRe(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(l,u){if(l){if(typeof l=="string")return YE(l,u);var c=Object.prototype.toString.call(l).slice(8,-1);if(c==="Object"&&l.constructor&&(c=l.constructor.name),c==="Map"||c==="Set")return Array.from(l);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return YE(l,u)}}(e))||t){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(l){throw l},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var l=n.next();return a=l.done,l},e:function(l){s=!0,o=l},f:function(){try{a||n.return==null||n.return()}finally{if(s)throw o}}}}function YE(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function wG(e){for(var t,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=new Uint8Array(e),i=r.byteLength,o=i%3,a=i-o,s="",l=0;l<a;l+=3)s+=n[(16515072&(t=r[l]<<16|r[l+1]<<8|r[l+2]))>>18]+n[(258048&t)>>12]+n[(4032&t)>>6]+n[63&t];return o===1?s+=n[(252&(t=r[a]))>>2]+n[(3&t)<<4]+"==":o===2&&(s+=n[(64512&(t=r[a]<<8|r[a+1]))>>10]+n[(1008&t)>>4]+n[(15&t)<<2]+"="),s}function S5(e){return e.substr(2+(~-e.lastIndexOf(".")>>>0))}function W0(e,t){if(!e)return e;var n="";if(e.constructor===Array)for(var r=0;r<e.length;r++)n+=t(e[r],r);else n+=t(e,0);return n}function Oe(e,t){if(t.constructor!==Array)throw Error("Error of path type! path is not array.");if(!e)return e;var n,r=xRe(t);try{for(r.s();!(n=r.n()).done;)if(!(e=e[n.value]))return e}catch(i){r.e(i)}finally{r.f()}return e}function qm(e){return e?Math.round(e/6e4):0}function MG(e){var t={"&":"&","<":"<",">":">",'"':""","'":"'"};return e.replace(/[&<>"']/g,function(n){return t[n]})}function QT(e){var t="";switch(e.toLowerCase()){case"jpg":case"jpeg":t="image/jpeg";break;case"png":t="image/png";break;case"gif":t="image/gif";break;case"emf":t="image/x-emf";break;case"wmf":t="image/x-wmf";break;case"svg":t="image/svg+xml";break;case"mp4":t="video/mp4";break;case"webm":t="video/webm";break;case"ogg":t="video/ogg";break;case"avi":t="video/avi";break;case"mpg":t="video/mpg";break;case"wmv":t="video/wmv";break;case"mp3":t="audio/mpeg";break;case"wav":t="audio/wav";break;case"tif":case"tiff":t="image/tiff"}return t}function SRe(e){return/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/.test(e)}function V0(e){for(var t=e.toString(16);t.length<2;)t="0"+t;return t}function e2(e,t,n,r){var i,o;if(n)o=n;else{var a=Oe(t.slideContent,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]);o=a||(a=Oe(t.slideLayoutContent,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]))||Oe(t.slideMasterContent,["p:sldMaster","p:clrMap","attrs"])}var s=e.substr(2);if(s==="phClr"&&r)i=r;else{if(o)switch(s){case"tx1":case"tx2":case"bg1":case"bg2":e="a:"+o[s]}else switch(e){case"tx1":e="a:dk1";break;case"tx2":e="a:dk2";break;case"bg1":e="a:lt1";break;case"bg2":e="a:lt2"}var l=Oe(t.themeContent,["a:theme","a:themeElements","a:clrScheme",e]);!(i=Oe(l,["a:srgbClr","attrs","val"]))&&l&&(i=Oe(l,["a:sysClr","attrs","lastClr"]))}return i}function wg(e,t,n){var r=e["p:spPr"]["a:ln"],i=parseInt(Oe(r,["attrs","w"]))/12700;isNaN(i)&&(i=r||t!=="obj"?0:1);var o=Oe(r,["a:solidFill","a:srgbClr","attrs","val"]);if(!o){var a=Oe(r,["a:solidFill","a:schemeClr"]);o=e2("a:"+Oe(a,["attrs","val"]),n)}if(!o){var s=Oe(e,["p:style","a:lnRef","a:schemeClr"]);if(o=e2("a:"+Oe(s,["attrs","val"]),n)){var l=Oe(s,["a:shade","attrs","val"]);if(l){l=parseInt(l)/1e5;var u=yt("#"+o).toHsl();o=yt({h:u.h,s:u.s,l:u.l*l,a:u.a}).toHex()}}}o=o?"#".concat(o):"#000";var c="solid",f="0";switch(Oe(r,["a:prstDash","attrs","val"])){case"solid":c="solid",f="0";break;case"dash":c="dashed",f="5";break;case"dashDot":c="dashed",f="5, 5, 1, 5";break;case"dot":c="dotted",f="1, 5";break;case"lgDash":c="dashed",f="10, 5";break;case"lgDashDotDot":c="dotted",f="10, 5, 1, 5, 1, 5";break;case"sysDash":c="dashed",f="5, 2";break;case"sysDashDot":c="dotted",f="5, 2, 1, 5";break;case"sysDashDotDot":c="dotted",f="5, 2, 1, 5, 1, 5";break;case"sysDot":c="dotted",f="2, 5"}return{borderColor:o,borderWidth:i,borderType:c,strokeDasharray:f}}function w5(e,t,n){return n<0&&(n+=6),n>=6&&(n-=6),n<1?(t-e)*n+e:n<3?t:n<4?(t-e)*(4-n)+e:e}function uf(e){var t="";return e["a:noFill"]&&(t="NO_FILL"),e["a:solidFill"]&&(t="SOLID_FILL"),e["a:gradFill"]&&(t="GRADIENT_FILL"),e["a:pattFill"]&&(t="PATTERN_FILL"),e["a:blipFill"]&&(t="PIC_FILL"),e["a:grpFill"]&&(t="GROUP_FILL"),t}function wRe(e,t,n){return HT.apply(this,arguments)}function HT(){return HT=pa(tr.mark(function e(t,n,r){var i,o,a,s,l,u;return tr.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(o=n["a:blip"].attrs["r:embed"],t==="slideBg"||t==="slide"?a=Oe(r,["slideResObj",o,"target"]):t==="slideLayoutBg"?a=Oe(r,["layoutResObj",o,"target"]):t==="slideMasterBg"?a=Oe(r,["masterResObj",o,"target"]):t==="themeBg"?a=Oe(r,["themeResObj",o,"target"]):t==="diagramBg"&&(a=Oe(r,["diagramResObj",o,"target"])),a){c.next=4;break}return c.abrupt("return",a);case 4:if(i=Oe(r,["loaded-images",a])){c.next=15;break}if(a=MG(a),(s=a.split(".").pop())!=="xml"){c.next=10;break}return c.abrupt("return",void 0);case 10:return c.next=12,r.zip.file(a).async("arraybuffer");case 12:l=c.sent,u=QT(s),i="data:".concat(u,";base64,").concat(wG(l));case 15:return c.abrupt("return",i);case 16:case"end":return c.stop()}},e)})),HT.apply(this,arguments)}function _1(e,t,n){return LG.apply(this,arguments)}function LG(){return(LG=pa(tr.mark(function e(t,n,r){var i,o,a,s;return tr.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,wRe(n,t["a:blipFill"],r);case 2:return i=l.sent,o=t["a:blipFill"]["a:blip"],a=Oe(o,["a:alphaModFix","attrs"]),s=1,a&&a.amt&&a.amt!==""&&(s=parseInt(a.amt)/1e5),l.abrupt("return",{picBase64:i,opacity:s});case 8:case"end":return l.stop()}},e)}))).apply(this,arguments)}function D0(e,t,n,r){if(e){for(var i=e["a:gradFill"],o=i["a:gsLst"]["a:gs"],a=[],s=0;s<o.length;s++){var l=ir(o[s],n["p:sldMaster"]["p:clrMap"].attrs,t,r),u=Oe(o[s],["attrs","pos"]);a[s]={pos:u?u/1e3+"%":"",color:l}}var c=i["a:lin"],f=90;return c&&(f=qm(c.attrs.ang),f+=90),{rot:f,colors:a.sort(function(d,h){return parseInt(d.pos)-parseInt(h.pos)})}}return t?t.indexOf("#")===-1?"#".concat(t):t:null}function MRe(e){return KT.apply(this,arguments)}function KT(){return KT=pa(tr.mark(function e(t){var n,r,i,o,a,s,l,u,c,f,d,h,p,v,g,m,y,R,A,x,S,_,M,w,L,k,P,F,C,N,I,V,W,Z,re,Y,B,Q,K,q,j,de,G,Ae,ce,fe,le,$,X,J,se,ee,ne,oe,he,ue,ge,Re,Ee,Ne,He;return tr.wrap(function(Ve){for(;;)switch(Ve.prev=Ve.next){case 0:if(n=t.slideContent,r=t.slideLayoutContent,i=t.slideMasterContent,o=Oe(n,["p:sld","p:cSld","p:bg","p:bgPr"]),a=Oe(n,["p:sld","p:cSld","p:bg","p:bgRef"]),s="#fff",l="color",!o){Ve.next=29;break}if((u=uf(o))!=="SOLID_FILL"){Ve.next=17;break}c=o["a:solidFill"],(d=Oe(n,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]))?f=d:(h=Oe(r,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]),f=h||Oe(i,["p:sldMaster","p:clrMap","attrs"])),p=ir(c,f,void 0,t),s=p,Ve.next=27;break;case 17:if(u!=="GRADIENT_FILL"){Ve.next=22;break}typeof(v=D0(o,void 0,i,t))=="string"?s=v:v&&(s=v,l="gradient"),Ve.next=27;break;case 22:if(u!=="PIC_FILL"){Ve.next=27;break}return Ve.next=25,_1(o,"slideBg",t);case 25:s=Ve.sent,l="image";case 27:Ve.next=142;break;case 29:if(!a){Ve.next=37;break}(m=Oe(n,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]))?g=m:(y=Oe(r,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]),g=y||Oe(i,["p:sldMaster","p:clrMap","attrs"])),R=ir(a,g,void 0,t),(A=Number(a.attrs.idx))>1e3&&(x=A-1e3,S=t.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],_=[],Object.keys(S).forEach(function(we){var me=S[we];if(we!=="attrs")if(me.constructor===Array)for(var Me=0;Me<me.length;Me++){var Ce={};Ce[we]=me[Me],me[Me].attrs&&(Ce.idex=me[Me].attrs.order,Ce.attrs={order:me[Me].attrs.order}),_.push(Ce)}else{var Qe={};Qe[we]=me,me.attrs&&(Qe.idex=me.attrs.order,Qe.attrs={order:me.attrs.order}),_.push(Qe)}}),(M=_.slice(0)).sort(function(we,me){return we.idex-me.idex}),w=M[x-1],(L=uf(w))==="SOLID_FILL"?(k=w["a:solidFill"],P=ir(k,g,void 0,t),s=P):L==="GRADIENT_FILL"&&(typeof(F=D0(w,R,i,t))=="string"?s=F:F&&(s=F,l="gradient"))),Ve.next=142;break;case 37:if(o=Oe(r,["p:sldLayout","p:cSld","p:bg","p:bgPr"]),a=Oe(r,["p:sldLayout","p:cSld","p:bg","p:bgRef"]),N=Oe(r,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]),C=N||Oe(i,["p:sldMaster","p:clrMap","attrs"]),!o){Ve.next=61;break}if((I=uf(o))!=="SOLID_FILL"){Ve.next=49;break}V=o["a:solidFill"],W=ir(V,C,void 0,t),s=W,Ve.next=59;break;case 49:if(I!=="GRADIENT_FILL"){Ve.next=54;break}typeof(Z=D0(o,void 0,i,t))=="string"?s=Z:Z&&(s=Z,l="gradient"),Ve.next=59;break;case 54:if(I!=="PIC_FILL"){Ve.next=59;break}return Ve.next=57,_1(o,"slideLayoutBg",t);case 57:s=Ve.sent,l="image";case 59:Ve.next=142;break;case 61:if(!a){Ve.next=91;break}if(re=ir(a,C,void 0,t),!((Y=Number(a.attrs.idx))>1e3)){Ve.next=89;break}if(B=Y-1e3,Q=t.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],K=[],Object.keys(Q).forEach(function(we){var me=Q[we];if(we!=="attrs")if(me.constructor===Array)for(var Me=0;Me<me.length;Me++){var Ce={};Ce[we]=me[Me],me[Me].attrs&&(Ce.idex=me[Me].attrs.order,Ce.attrs={order:me[Me].attrs.order}),K.push(Ce)}else{var Qe={};Qe[we]=me,me.attrs&&(Qe.idex=me.attrs.order,Qe.attrs={order:me.attrs.order}),K.push(Qe)}}),(q=K.slice(0)).sort(function(we,me){return we.idex-me.idex}),j=q[B-1],(de=uf(j))!=="SOLID_FILL"){Ve.next=79;break}G=j["a:solidFill"],Ae=ir(G,C,void 0,t),s=Ae,Ve.next=89;break;case 79:if(de!=="GRADIENT_FILL"){Ve.next=84;break}typeof(ce=D0(j,re,i,t))=="string"?s=ce:ce&&(s=ce,l="gradient"),Ve.next=89;break;case 84:if(de!=="PIC_FILL"){Ve.next=89;break}return Ve.next=87,_1(j,"themeBg",t);case 87:s=Ve.sent,l="image";case 89:Ve.next=142;break;case 91:if(o=Oe(i,["p:sldMaster","p:cSld","p:bg","p:bgPr"]),a=Oe(i,["p:sldMaster","p:cSld","p:bg","p:bgRef"]),fe=Oe(i,["p:sldMaster","p:clrMap","attrs"]),!o){Ve.next=114;break}if((le=uf(o))!=="SOLID_FILL"){Ve.next=102;break}$=o["a:solidFill"],X=ir($,fe,void 0,t),s=X,Ve.next=112;break;case 102:if(le!=="GRADIENT_FILL"){Ve.next=107;break}typeof(J=D0(o,void 0,i,t))=="string"?s=J:J&&(s=J,l="gradient"),Ve.next=112;break;case 107:if(le!=="PIC_FILL"){Ve.next=112;break}return Ve.next=110,_1(o,"slideMasterBg",t);case 110:s=Ve.sent,l="image";case 112:Ve.next=142;break;case 114:if(!a){Ve.next=142;break}if(se=ir(a,fe,void 0,t),!((ee=Number(a.attrs.idx))>1e3)){Ve.next=142;break}if(ne=ee-1e3,oe=t.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],he=[],Object.keys(oe).forEach(function(we){var me=oe[we];if(we!=="attrs")if(me.constructor===Array)for(var Me=0;Me<me.length;Me++){var Ce={};Ce[we]=me[Me],me[Me].attrs&&(Ce.idex=me[Me].attrs.order,Ce.attrs={order:me[Me].attrs.order}),he.push(Ce)}else{var Qe={};Qe[we]=me,me.attrs&&(Qe.idex=me.attrs.order,Qe.attrs={order:me.attrs.order}),he.push(Qe)}}),(ue=he.slice(0)).sort(function(we,me){return we.idex-me.idex}),ge=ue[ne-1],(Re=uf(ge))!=="SOLID_FILL"){Ve.next=132;break}Ee=ge["a:solidFill"],Ne=ir(Ee,C,void 0,t),s=Ne,Ve.next=142;break;case 132:if(Re!=="GRADIENT_FILL"){Ve.next=137;break}typeof(He=D0(ge,se,i,t))=="string"?s=He:He&&(s=He,l="gradient"),Ve.next=142;break;case 137:if(Re!=="PIC_FILL"){Ve.next=142;break}return Ve.next=140,_1(ge,"themeBg",t);case 140:s=Ve.sent,l="image";case 142:return Ve.abrupt("return",{type:l,value:s});case 143:case"end":return Ve.stop()}},e)})),KT.apply(this,arguments)}function TG(e,t,n){if(Oe(e,["p:spPr","a:noFill"]))return"";var r;if(r||(r=Oe(e,["p:spPr","a:solidFill","a:srgbClr","attrs","val"])),r||(r=e2("a:"+Oe(e,["p:spPr","a:solidFill","a:schemeClr","attrs","val"]),n)),r||(r=e2("a:"+Oe(e,["p:style","a:fillRef","a:schemeClr","attrs","val"]),n)),r){r="#".concat(r);var i=parseInt(Oe(e,["p:spPr","a:solidFill","a:schemeClr","a:lumMod","attrs","val"]))/1e5,o=parseInt(Oe(e,["p:spPr","a:solidFill","a:schemeClr","a:lumOff","attrs","val"]))/1e5;isNaN(i)&&(i=1),isNaN(o)&&(o=0);var a=yt(r).toHsl(),s=a.l*i+o;return yt({h:a.h,s:a.s,l:s,a:a.a}).toHexString()}return r}function ir(e,t,n,r){if(!e)return"";var i,o,a,s="";if(e["a:srgbClr"])s=Oe(i=e["a:srgbClr"],["attrs","val"]);else if(e["a:schemeClr"])s=e2("a:"+Oe(i=e["a:schemeClr"],["attrs","val"]),r,t,n)||"";else if(e["a:scrgbClr"]){var l=(i=e["a:scrgbClr"]).attrs,u=l.r.indexOf("%")!==-1?l.r.split("%").shift():l.r,c=l.g.indexOf("%")!==-1?l.g.split("%").shift():l.g,f=l.b.indexOf("%")!==-1?l.b.split("%").shift():l.b;s=V0(Number(u)/100*255)+V0(Number(c)/100*255)+V0(Number(f)/100*255)}else if(e["a:prstClr"]){var d=Oe(i=e["a:prstClr"],["attrs","val"]);(a=["white","AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","DarkOrange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","RebeccaPurple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"].indexOf(d))!==-1&&(o=["ffffff","f0f8ff","faebd7","00ffff","7fffd4","f0ffff","f5f5dc","ffe4c4","000000","ffebcd","0000ff","8a2be2","a52a2a","deb887","5f9ea0","7fff00","d2691e","ff7f50","6495ed","fff8dc","dc143c","00ffff","00008b","008b8b","b8860b","a9a9a9","a9a9a9","006400","bdb76b","8b008b","556b2f","ff8c00","9932cc","8b0000","e9967a","8fbc8f","483d8b","2f4f4f","2f4f4f","00ced1","9400d3","ff1493","00bfff","696969","696969","1e90ff","b22222","fffaf0","228b22","ff00ff","dcdcdc","f8f8ff","ffd700","daa520","808080","808080","008000","adff2f","f0fff0","ff69b4","cd5c5c","4b0082","fffff0","f0e68c","e6e6fa","fff0f5","7cfc00","fffacd","add8e6","f08080","e0ffff","fafad2","d3d3d3","d3d3d3","90ee90","ffb6c1","ffa07a","20b2aa","87cefa","778899","778899","b0c4de","ffffe0","00ff00","32cd32","faf0e6","ff00ff","800000","66cdaa","0000cd","ba55d3","9370db","3cb371","7b68ee","00fa9a","48d1cc","c71585","191970","f5fffa","ffe4e1","ffe4b5","ffdead","000080","fdf5e6","808000","6b8e23","ffa500","ff4500","da70d6","eee8aa","98fb98","afeeee","db7093","ffefd5","ffdab9","cd853f","ffc0cb","dda0dd","b0e0e6","800080","663399","ff0000","bc8f8f","4169e1","8b4513","fa8072","f4a460","2e8b57","fff5ee","a0522d","c0c0c0","87ceeb","6a5acd","708090","708090","fffafa","00ff7f","4682b4","d2b48c","008080","d8bfd8","ff6347","40e0d0","ee82ee","f5deb3","ffffff","f5f5f5","ffff00","9acd32"][a]),s=o}else if(e["a:hslClr"]){var h=(i=e["a:hslClr"]).attrs,p=function(w,L,k){var P,F=2*k-(P=k<=.5?k*(L+1):k+L-k*L);return{r:255*w5(F,P,2+(w/=60)),g:255*w5(F,P,w),b:255*w5(F,P,w-2)}}(Number(h.hue)/1e5,Number(h.sat.indexOf("%")!==-1?h.sat.split("%").shift():h.sat)/100,Number(h.lum.indexOf("%")!==-1?h.lum.split("%").shift():h.lum)/100);s=V0(p.r)+V0(p.g)+V0(p.b)}else if(e["a:sysClr"]){var v=Oe(i=e["a:sysClr"],["attrs","lastClr"]);v&&(s=v)}var g=!1,m=parseInt(Oe(i,["a:alpha","attrs","val"]))/1e5;if(!isNaN(m)){var y=yt(s);y.setAlpha(m),s=y.toHex8(),g=!0}var R=parseInt(Oe(i,["a:hueMod","attrs","val"]))/1e5;isNaN(R)||(s=function(w,L,k){var P=yt(w).toHsl(),F=P.h*L;return F>=360&&(F-=360),k?yt({h:F,s:P.s,l:P.l,a:P.a}).toHex8():yt({h:F,s:P.s,l:P.l,a:P.a}).toHex()}(s,R,g));var A=parseInt(Oe(i,["a:lumMod","attrs","val"]))/1e5;isNaN(A)||(s=function(w,L,k){var P=yt(w).toHsl(),F=P.l*L;return F>=1&&(F=1),k?yt({h:P.h,s:P.s,l:F,a:P.a}).toHex8():yt({h:P.h,s:P.s,l:F,a:P.a}).toHex()}(s,A,g));var x=parseInt(Oe(i,["a:lumOff","attrs","val"]))/1e5;isNaN(x)||(s=function(w,L,k){var P=yt(w).toHsl(),F=L+P.l;return F>=1?k?yt({h:P.h,s:P.s,l:1,a:P.a}).toHex8():yt({h:P.h,s:P.s,l:1,a:P.a}).toHex():k?yt({h:P.h,s:P.s,l:F,a:P.a}).toHex8():yt({h:P.h,s:P.s,l:F,a:P.a}).toHex()}(s,x,g));var S=parseInt(Oe(i,["a:satMod","attrs","val"]))/1e5;isNaN(S)||(s=function(w,L,k){var P=yt(w).toHsl(),F=P.s*L;return F>=1&&(F=1),k?yt({h:P.h,s:F,l:P.l,a:P.a}).toHex8():yt({h:P.h,s:F,l:P.l,a:P.a}).toHex()}(s,S,g));var _=parseInt(Oe(i,["a:shade","attrs","val"]))/1e5;isNaN(_)||(s=function(w,L,k){var P=yt(w).toHsl();L>=1&&(L=1);var F=Math.min(P.l*L,1);return k?yt({h:P.h,s:P.s,l:F,a:P.a}).toHex8():yt({h:P.h,s:P.s,l:F,a:P.a}).toHex()}(s,_,g));var M=parseInt(Oe(i,["a:tint","attrs","val"]))/1e5;return isNaN(M)||(s=function(w,L,k){var P=yt(w).toHsl();L>=1&&(L=1);var F=P.l*L+(1-L);return k?yt({h:P.h,s:P.s,l:F,a:P.a}).toHex8():yt({h:P.h,s:P.s,l:F,a:P.a}).toHex()}(s,M,g)),s&&s.indexOf("#")===-1&&(s="#"+s),s}function xo(e){var t=[];if(!e)return t;if(e["c:xVal"]){var n=[];W0(e["c:xVal"]["c:numRef"]["c:numCache"]["c:pt"],function(r){return n.push(parseFloat(r["c:v"])),""}),t.push(n),n=[],W0(e["c:yVal"]["c:numRef"]["c:numCache"]["c:pt"],function(r){return n.push(parseFloat(r["c:v"])),""}),t.push(n)}else W0(e,function(r,i){var o=[],a=Oe(r,["c:tx","c:strRef","c:strCache","c:pt","c:v"])||i,s={};return Oe(r,["c:cat","c:strRef","c:strCache","c:pt"])?W0(r["c:cat"]["c:strRef"]["c:strCache"]["c:pt"],function(l){return s[l.attrs.idx]=l["c:v"],""}):Oe(r,["c:cat","c:numRef","c:numCache","c:pt"])&&W0(r["c:cat"]["c:numRef"]["c:numCache"]["c:pt"],function(l){return s[l.attrs.idx]=l["c:v"],""}),Oe(r,["c:val","c:numRef","c:numCache","c:pt"])&&W0(r["c:val"]["c:numRef"]["c:numCache"]["c:pt"],function(l){return o.push({x:l.attrs.idx,y:parseFloat(l["c:v"])}),""}),t.push({key:a,values:o,xlabels:s}),""});return t}function LRe(e){var t=null;for(var n in e)switch(n){case"c:lineChart":t={type:"lineChart",data:xo(e[n]["c:ser"]),grouping:Oe(e[n],["c:grouping","attrs","val"]),marker:!!e[n]["c:marker"]};break;case"c:line3DChart":t={type:"line3DChart",data:xo(e[n]["c:ser"]),grouping:Oe(e[n],["c:grouping","attrs","val"])};break;case"c:barChart":t={type:"barChart",data:xo(e[n]["c:ser"]),grouping:Oe(e[n],["c:grouping","attrs","val"]),barDir:Oe(e[n],["c:barDir","attrs","val"])};break;case"c:bar3DChart":t={type:"bar3DChart",data:xo(e[n]["c:ser"]),grouping:Oe(e[n],["c:grouping","attrs","val"]),barDir:Oe(e[n],["c:barDir","attrs","val"])};break;case"c:pieChart":t={type:"pieChart",data:xo(e[n]["c:ser"])};break;case"c:pie3DChart":t={type:"pie3DChart",data:xo(e[n]["c:ser"])};break;case"c:doughnutChart":t={type:"doughnutChart",data:xo(e[n]["c:ser"]),holeSize:Oe(e[n],["c:holeSize","attrs","val"])};break;case"c:areaChart":t={type:"areaChart",data:xo(e[n]["c:ser"]),grouping:Oe(e[n],["c:grouping","attrs","val"])};break;case"c:area3DChart":t={type:"area3DChart",data:xo(e[n]["c:ser"]),grouping:Oe(e[n],["c:grouping","attrs","val"])};break;case"c:scatterChart":t={type:"scatterChart",data:xo(e[n]["c:ser"]),style:Oe(e[n],["c:scatterStyle","attrs","val"])};break;case"c:bubbleChart":t={type:"bubbleChart",data:xo(e[n]["c:ser"])};break;case"c:radarChart":t={type:"radarChart",data:xo(e[n]["c:ser"]),style:Oe(e[n],["c:radarStyle","attrs","val"])};break;case"c:surfaceChart":t={type:"surfaceChart",data:xo(e[n]["c:ser"])};break;case"c:surface3DChart":t={type:"surface3DChart",data:xo(e[n]["c:ser"])};break;case"c:stockChart":t={type:"stockChart",data:xo(e[n]["c:ser"])}}return t}function TRe(e,t,n,r){var i=Oe(e,["a:pPr","attrs","algn"]);if(i||(i=Oe(t,["a:pPr","attrs","algn"])),!i)if(n==="title"||n==="ctrTitle"||n==="subTitle"){var o=1,a=Oe(t,["a:pPr","attrs","lvl"]);a&&(o=parseInt(a)+1);var s="a:lvl"+o+"pPr";(i=Oe(r,["slideLayoutTables","typeTable",n,"p:txBody","a:lstStyle",s,"attrs","algn"]))||(i=Oe(r,["slideMasterTables","typeTable",n,"p:txBody","a:lstStyle",s,"attrs","algn"])),i||(i=Oe(r,["slideMasterTextStyles","p:titleStyle",s,"attrs","algn"])),i||n!=="subTitle"||(i=Oe(r,["slideMasterTextStyles","p:bodyStyle",s,"attrs","algn"]))}else i=Oe(r,n==="body"?["slideMasterTextStyles","p:bodyStyle","a:lvl1pPr","attrs","algn"]:["slideMasterTables","typeTable",n,"p:txBody","a:lstStyle","a:lvl1pPr","attrs","algn"]);var l="left";if(i)switch(i){case"l":l="left";break;case"r":l="right";break;case"ctr":l="center";break;case"just":case"dist":l="justify";break;default:l="inherit"}return l}var Mi=72/914400;function zv(e,t,n){var r;return e?r=e["a:off"].attrs:t?r=t["a:off"].attrs:n&&(r=n["a:off"].attrs),r?{top:parseInt(r.y)*Mi,left:parseInt(r.x)*Mi}:{top:0,left:0}}function Jv(e,t,n){var r;return e?r=e["a:ext"].attrs:t?r=t["a:ext"].attrs:n&&(r=n["a:ext"].attrs),r?{width:parseInt(r.cx)*Mi,height:parseInt(r.cy)*Mi}:{width:0,height:0}}function _G(e,t){var n=ir(e,void 0,void 0,t),r=e.attrs,i=r.dir?parseInt(r.dir)/6e4:0,o=parseInt(r.dist)*Mi,a=r.blurRad?parseInt(r.blurRad)*Mi:"",s=o*Math.sin(i*Math.PI/180);return{h:o*Math.cos(i*Math.PI/180),v:s,blur:a,color:n}}function ZE(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(l,u){if(l){if(typeof l=="string")return QE(l,u);var c=Object.prototype.toString.call(l).slice(8,-1);if(c==="Object"&&l.constructor&&(c=l.constructor.name),c==="Map"||c==="Set")return Array.from(l);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return QE(l,u)}}(e))||t){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(l){throw l},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var l=n.next();return a=l.done,l},e:function(l){s=!0,o=l},f:function(){try{a||n.return==null||n.return()}finally{if(s)throw o}}}}function QE(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function GT(e,t,n,r,i){if(!e)return"";var o,a="",s=Oe(t,["p:style","a:fontRef"]),l=e["a:p"],u="",c=ZE(l.constructor===Array?l:[l]);try{for(c.s();!(o=c.n()).done;){var f=o.value,d=f["a:r"],h=f["a:fld"],p=f["a:br"];d&&(d=d.constructor===Array?d:[d],h&&(h=h.constructor===Array?h:[h],d=d.concat(h)),p&&((p=p.constructor===Array?p:[p]).forEach(function(R){return R.type="br"}),p.length>1&&p.shift(),(d=d.concat(p)).sort(function(R,A){return!R.attrs||!A.attrs||R.attrs.order-A.attrs.order})));var v=TRe(f,t,r,i),g=_Re(f);if(g?(u?u&&u!==g&&(a+="</".concat(u,">"),a+="<".concat(g,">"),u=g):(a+="<".concat(g,">"),u=g),a+='<li style="text-align: '.concat(v,';">')):(u&&(a+="</".concat(u,">"),u=""),a+='<p style="text-align: '.concat(v,';">')),d){var m,y=ZE(d);try{for(y.s();!(m=y.n()).done;)a+=HE(m.value,f,e,s,n,r,i)}catch(R){y.e(R)}finally{y.f()}}else a+=HE(f,t,e,s,n,r,i);a+=g?"</li>":"</p>"}}catch(R){c.e(R)}finally{c.f()}return a}function _Re(e){var t=e["a:pPr"];return t?t["a:buChar"]?"ul":t["a:buAutoNum"]?"ol":"":""}function HE(e,t,n,r,i,o,a){var s=n["a:lstStyle"],l=a.slideMasterTextStyles,u=1,c=Oe(t["a:pPr"],["attrs","lvl"]);c!==void 0&&(u=parseInt(c)+1);var f=e["a:t"];typeof f!="string"&&(f=Oe(e,["a:fld","a:t"])),typeof f!="string"&&(f=" ");var d="",h=function(w,L,k,P,F,C){var N,I=Oe(w,["a:rPr"]);if(I&&uf(I)==="SOLID_FILL"&&(N=ir(I["a:solidFill"],void 0,void 0,C)),!N&&Oe(k,["a:lvl"+F+"pPr","a:defRPr"])){var V=Oe(k,["a:lvl"+F+"pPr","a:defRPr"]);uf(V)==="SOLID_FILL"&&(N=ir(V["a:solidFill"],void 0,void 0,C))}if(!N){var W=Oe(L,["p:style","a:fontRef"]);W&&(N=ir(W,void 0,void 0,C)),!N&&P&&(N=ir(P,void 0,void 0,C))}return N||""}(e,t,s,r,u,a),p=function(w,L,k,P){var F,C;if(Oe(w,["a:rPr","attrs","sz"])&&(F=Oe(w,["a:rPr","attrs","sz"])/100),isNaN(F)||!F){var N=Oe(L,["p:txBody","a:lstStyle","a:lvl1pPr","a:defRPr","attrs","sz"]);F=parseInt(N)/100}return!isNaN(F)&&F||(k==="title"||k==="subTitle"||k==="ctrTitle"?C=Oe(P,["p:titleStyle","a:lvl1pPr","a:defRPr","attrs","sz"]):k==="body"?C=Oe(P,["p:bodyStyle","a:lvl1pPr","a:defRPr","attrs","sz"]):k==="dt"||k==="sldNum"?C="1200":k||(C=Oe(P,["p:otherStyle","a:lvl1pPr","a:defRPr","attrs","sz"])),C&&(F=parseInt(C)/100)),Oe(w,["a:rPr","attrs","baseline"])&&!isNaN(F)&&(F-=10),(F=isNaN(F)||!F?18:F)+"pt"}(e,i,o,l),v=function(w,L,k){var P=Oe(w,["a:rPr","a:latin","attrs","typeface"]);if(!P){var F=Oe(k.themeContent,["a:theme","a:themeElements","a:fontScheme"]);P=Oe(F,L==="title"||L==="subTitle"||L==="ctrTitle"?["a:majorFont","a:latin","attrs","typeface"]:["a:minorFont","a:latin","attrs","typeface"])}return P||""}(e,o,a),g=function(w){return Oe(w,["a:rPr","attrs","b"])==="1"?"bold":""}(e),m=function(w){return Oe(w,["a:rPr","attrs","i"])==="1"?"italic":""}(e),y=function(w){return Oe(w,["a:rPr","attrs","u"])==="sng"?"underline":""}(e),R=function(w){return Oe(w,["a:rPr","attrs","strike"])==="sngStrike"?"line-through":""}(e),A=function(w){var L=Oe(w,["a:rPr","attrs","spc"]);return L?parseInt(L)/100+"pt":""}(e),x=function(w,L){var k=Oe(w,["a:rPr","a:effectLst","a:outerShdw"]);if(k){var P=_G(k,L);if(P){var F=P.h,C=P.v,N=P.blur,I=P.color;if(!isNaN(C)&&!isNaN(F))return F+"pt "+C+"pt "+(N?N+"pt":"")+" "+I}}return""}(e,a),S=function(w){var L=Oe(w,["a:rPr","attrs","baseline"]);return L?parseInt(L)>0?"super":"sub":""}(e);h&&(d+="color: ".concat(h,";")),p&&(d+="font-size: ".concat(p,";")),v&&(d+="font-family: ".concat(v,";")),g&&(d+="font-weight: ".concat(g,";")),m&&(d+="font-style: ".concat(m,";")),y&&(d+="text-decoration: ".concat(y,";")),R&&(d+="text-decoration-line: ".concat(R,";")),A&&(d+="letter-spacing: ".concat(A,";")),S&&(d+="vertical-align: ".concat(S,";")),x&&(d+="text-shadow: ".concat(x,";"));var _=Oe(e,["a:rPr","a:hlinkClick","attrs","r:id"]);if(_){var M=a.slideResObj[_].target;return'<span style="'.concat(d,'"><a href="').concat(M,'" target="_blank">').concat(f.replace(/\t/g," ").replace(/\s/g," "),"</a></span>")}return'<span style="'.concat(d,'">').concat(f.replace(/\t/g," ").replace(/\s/g," "),"</span>")}function ORe(e,t,n,r,i,o,a){var s,l=i;if(o>=i)for(;l<=o;){var u=l*(Math.PI/180),c=e+Math.cos(u)*n,f=t+Math.sin(u)*r;l===i&&(s=" M"+c+" "+f),s+=" L"+c+" "+f,l++}else for(;l>o;){var d=l*(Math.PI/180),h=e+Math.cos(d)*n,p=t+Math.sin(d)*r;l===i&&(s=" M "+h+" "+p),s+=" L "+h+" "+p,l--}return s+=""}function KE(e,t,n,r){var i,o,a,s,l,u=Oe(e,["attrs","rowSpan"]),c=Oe(e,["attrs","gridSpan"]),f=Oe(e,["attrs","vMerge"]),d=Oe(e,["attrs","hMerge"]),h=Oe(e,["a:tcPr"]);return h&&(i=TG({"p:spPr":h},void 0,r)),i||(n&&(s=Oe(t,[n,"a:tcStyle","a:fill","a:solidFill"])),s&&(i=ir(s,void 0,void 0,r))),n&&(l=Oe(t,[n,"a:tcTxStyle"])),l&&(o=ir(l,void 0,void 0,r),Oe(l,["attrs","b"])==="on"&&(a=!0)),{fillColor:i,fontColor:o,fontBold:a,rowSpan:u?+u:void 0,colSpan:c?+c:void 0,vMerge:f?+f:void 0,hMerge:d?+d:void 0}}function kRe(e,t,n,r,i){var o,a,s;if(r&&r["a:wholeTbl"]){var l=Oe(r,["a:wholeTbl","a:tcStyle","a:fill","a:solidFill"]);if(l){var u=ir(l,void 0,void 0,i);u&&(o=u)}var c=Oe(r,["a:wholeTbl","a:tcTxStyle"]);if(c){var f=ir(c,void 0,void 0,i);f&&(a=f),Oe(c,["attrs","b"])==="on"&&(s=!0)}}if(t===0&&n.isFrstRowAttr===1&&r){var d=Oe(r,["a:firstRow","a:tcStyle","a:fill","a:solidFill"]);if(d){var h=ir(d,void 0,void 0,i);h&&(o=h)}var p=Oe(r,["a:firstRow","a:tcTxStyle"]);if(p){var v=ir(p,void 0,void 0,i);v&&(a=v),Oe(p,["attrs","b"])==="on"&&(s=!0)}}else if(t>0&&n.isBandRowAttr===1&&r){if(o="",t%2==0&&r["a:band2H"]){var g=Oe(r,["a:band2H","a:tcStyle","a:fill","a:solidFill"]);if(g){var m=ir(g,void 0,void 0,i);m&&(o=m)}var y=Oe(r,["a:band2H","a:tcTxStyle"]);if(y){var R=ir(y,void 0,void 0,i);R&&(a=R)}Oe(y,["attrs","b"])==="on"&&(s=!0)}if(t%2!=0&&r["a:band1H"]){var A=Oe(r,["a:band1H","a:tcStyle","a:fill","a:solidFill"]);if(A){var x=ir(A,void 0,void 0,i);x&&(o=x)}var S=Oe(r,["a:band1H","a:tcTxStyle"]);if(S){var _=ir(S,void 0,void 0,i);_&&(a=_),Oe(S,["attrs","b"])==="on"&&(s=!0)}}}if(t===e.length-1&&n.isLstRowAttr===1&&r){var M=Oe(r,["a:lastRow","a:tcStyle","a:fill","a:solidFill"]);if(M){var w=ir(M,void 0,void 0,i);w&&(o=w)}var L=Oe(r,["a:lastRow","a:tcTxStyle"]);if(L){var k=ir(L,void 0,void 0,i);k&&(a=k),Oe(L,["attrs","b"])==="on"&&(s=!0)}}return{fillColor:o,fontColor:a,fontBold:s}}function M5(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function PRe(e){return function(t){if(Array.isArray(t))return M5(t)}(e)||function(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||function(t,n){if(t){if(typeof t=="string")return M5(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);return r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set"?Array.from(t):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?M5(t,n):void 0}}(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function OG(e){var t=[];return bv(e)!=="object"||(e["m:oMath"]&&(t=t.concat(e["m:oMath"])),Object.values(e).forEach(function(n){(Array.isArray(n)||bv(n)==="object")&&(t=t.concat(OG(n)))})),t}function GE(e,t){var n=br(e["m:e"]),r=br(e["m:lim"]);return t==="low"?"".concat(n,"_{").concat(r,"}"):"".concat(n,"^{").concat(r,"}")}function br(e){if(!e)return"";if(Array.isArray(e))return e.map(function(a){return br(a)}).join("");for(var t=[],n=Object.keys(e),r=function(){var a=o[i];Array.isArray(e[a])?t.push.apply(t,PRe(e[a].map(function(s){return{key:a,value:s}}))):t.push({key:a,value:e[a]})},i=0,o=n;i<o.length;i++)r();return t.sort(function(a,s){var l=0;a.key==="m:r"&&a.value&&a.value["a:rPr"]?l=a.value["a:rPr"].attrs.order:a.value["".concat(a.key,"Pr")]&&a.value["".concat(a.key,"Pr")]["m:ctrlPr"]&&a.value["".concat(a.key,"Pr")]["m:ctrlPr"]["a:rPr"]&&(l=a.value["".concat(a.key,"Pr")]&&a.value["".concat(a.key,"Pr")]["m:ctrlPr"]&&a.value["".concat(a.key,"Pr")]["m:ctrlPr"]["a:rPr"]&&a.value["".concat(a.key,"Pr")]["m:ctrlPr"]["a:rPr"].attrs.order);var u=0;return s.key==="m:r"&&s.value&&s.value["a:rPr"]?u=s.value["a:rPr"].attrs.order:s.value["".concat(s.key,"Pr")]&&s.value["".concat(s.key,"Pr")]["m:ctrlPr"]&&s.value["".concat(s.key,"Pr")]["m:ctrlPr"]["a:rPr"]&&(u=s.value["".concat(s.key,"Pr")]&&s.value["".concat(s.key,"Pr")]["m:ctrlPr"]&&s.value["".concat(s.key,"Pr")]["m:ctrlPr"]["a:rPr"]&&s.value["".concat(s.key,"Pr")]["m:ctrlPr"]["a:rPr"].attrs.order),l-u}),t.map(function(a){var s,l,u,c,f,d,h,p,v,g,m,y,R,A,x,S,_,M=a.key,w=a.value;return M==="m:f"?(l=br((s=w)["m:num"]),u=br(s["m:den"]),"\\frac{".concat(l,"}{").concat(u,"}")):M==="m:sSup"?(f=br((c=w)["m:e"]),d=br(c["m:sup"]),"".concat(f,"^{").concat(d,"}")):M==="m:sSub"?function(L){var k=br(L["m:e"]),P=br(L["m:sub"]);return"".concat(k,"_{").concat(P,"}")}(w):M==="m:rad"?(p=br((h=w)["m:deg"]),v=br(h["m:e"]),p?"\\sqrt[".concat(p,"]{").concat(v,"}"):"\\sqrt{".concat(v,"}")):M==="m:nary"?function(L){var k=Oe(L,["m:naryPr","m:chr","attrs","m:val"])||"∫",P=br(L["m:sub"]),F=br(L["m:sup"]),C=br(L["m:e"]);return"".concat(k,"_{").concat(P,"}^{").concat(F,"}{").concat(C,"}")}(w):M==="m:limLow"?GE(w,"low"):M==="m:limUpp"?GE(w,"upp"):M==="m:d"?function(L){var k=Oe(L,["m:dPr","m:begChr","attrs","m:val"]),P=Oe(L,["m:dPr","m:endChr","attrs","m:val"]);k||P||(k="(",P=")"),k&&P&&(k="\\left".concat(k),P="\\right".concat(P));var F=br(L["m:e"]);return"".concat(k).concat(F).concat(P)}(w):M==="m:func"?(m=br((g=w)["m:fName"]),y=br(g["m:e"]),"\\".concat(m,"{").concat(y,"}")):M==="m:groupChr"?(A=Oe(R=w,["m:groupChrPr","m:chr","attrs","m:val"]),x=br(R["m:e"]),"".concat(A).concat(x).concat(A)):M==="m:eqArr"?(S=w["m:e"].map(function(L){return br(L)}).join(" \\\\ "),"\\begin{cases} ".concat(S," \\end{cases}")):M==="m:bar"?function(L){var k=br(L["m:e"]);return Oe(L,["m:barPr","m:pos","attrs","m:val"])==="top"?"\\overline{".concat(k,"}"):"\\underline{".concat(k,"}")}(w):M==="m:acc"?function(L){var k=Oe(L,["m:accPr","m:chr","attrs","m:val"])||"^",P=br(L["m:e"]);switch(k){case"́":return"\\acute{".concat(P,"}");case"̀":return"\\grave{".concat(P,"}");case"̂":return"\\hat{".concat(P,"}");case"̃":return"\\tilde{".concat(P,"}");case"̄":return"\\bar{".concat(P,"}");case"̆":return"\\breve{".concat(P,"}");case"̇":return"\\dot{".concat(P,"}");case"̈":return"\\ddot{".concat(P,"}");case"̊":return"\\mathring{".concat(P,"}");case"̋":return"\\H{".concat(P,"}");case"̌":return"\\check{".concat(P,"}");case"̧":return"\\c{".concat(P,"}");default:return"\\".concat(k,"{").concat(P,"}")}}(w):M==="m:borderBox"?function(L){var k=br(L["m:e"]);return"\\boxed{".concat(k,"}")}(w):M==="m:m"?(_=w["m:mr"].map(function(L){return L["m:e"].map(function(k){return br(k)}).join(" & ")}),"\\begin{matrix} ".concat(_.join(" \\\\ ")," \\end{matrix}")):M==="m:r"?br(w):M==="m:t"?w:""}).join("")}function zE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function vh(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?zE(Object(n),!0).forEach(function(r){UH(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zE(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function zo(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(l,u){if(l){if(typeof l=="string")return JE(l,u);var c=Object.prototype.toString.call(l).slice(8,-1);if(c==="Object"&&l.constructor&&(c=l.constructor.name),c==="Map"||c==="Set")return Array.from(l);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return JE(l,u)}}(e))||t){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(l){throw l},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var l=n.next();return a=l.done,l},e:function(l){s=!0,o=l},f:function(){try{a||n.return==null||n.return()}finally{if(s)throw o}}}}function JE(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function CRe(e){return kG.apply(this,arguments)}function kG(){return(kG=pa(tr.mark(function e(t){var n,r,i,o,a,s,l,u,c,f,d,h;return tr.wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return n=[],p.next=3,oRe.loadAsync(t);case 3:return r=p.sent,p.next=6,IRe(r);case 6:return i=p.sent,p.next=9,NRe(r);case 9:return o=p.sent,a=o.width,s=o.height,l=o.defaultTextStyle,p.next=15,FRe(r);case 15:u=p.sent,c=zo(i.slides),p.prev=17,c.s();case 19:if((f=c.n()).done){p.next=27;break}return d=f.value,p.next=23,ERe(r,d,u,l);case 23:h=p.sent,n.push(h);case 25:p.next=19;break;case 27:p.next=32;break;case 29:p.prev=29,p.t0=p.catch(17),c.e(p.t0);case 32:return p.prev=32,c.f(),p.finish(32);case 35:return p.abrupt("return",{slides:n,size:{width:a,height:s}});case 36:case"end":return p.stop()}},e,null,[[17,29,32,35]])}))).apply(this,arguments)}function IRe(e){return PG.apply(this,arguments)}function PG(){return(PG=pa(tr.mark(function e(t){var n,r,i,o,a,s,l,u;return tr.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,no(t,"[Content_Types].xml");case 2:n=c.sent,r=n.Types.Override,i=[],o=[],a=zo(r),c.prev=7,a.s();case 9:if((s=a.n()).done){c.next=20;break}l=s.value,c.t0=l.attrs.ContentType,c.next=c.t0==="application/vnd.openxmlformats-officedocument.presentationml.slide+xml"?14:c.t0==="application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml"?16:18;break;case 14:return i.push(l.attrs.PartName.substr(1)),c.abrupt("break",18);case 16:return o.push(l.attrs.PartName.substr(1)),c.abrupt("break",18);case 18:c.next=9;break;case 20:c.next=25;break;case 22:c.prev=22,c.t1=c.catch(7),a.e(c.t1);case 25:return c.prev=25,a.f(),c.finish(25);case 28:return u=function(f,d){return+/(\d+)\.xml/.exec(f)[1]-+/(\d+)\.xml/.exec(d)[1]},i=i.sort(u),o=o.sort(u),c.abrupt("return",{slides:i,slideLayouts:o});case 32:case"end":return c.stop()}},e,null,[[7,22,25,28]])}))).apply(this,arguments)}function NRe(e){return CG.apply(this,arguments)}function CG(){return(CG=pa(tr.mark(function e(t){var n,r,i;return tr.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,no(t,"ppt/presentation.xml");case 2:return n=o.sent,r=n["p:presentation"]["p:sldSz"].attrs,i=n["p:presentation"]["p:defaultTextStyle"],o.abrupt("return",{width:parseInt(r.cx)*Mi,height:parseInt(r.cy)*Mi,defaultTextStyle:i});case 6:case"end":return o.stop()}},e)}))).apply(this,arguments)}function FRe(e){return IG.apply(this,arguments)}function IG(){return(IG=pa(tr.mark(function e(t){var n,r,i,o,a,s;return tr.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,no(t,"ppt/_rels/presentation.xml.rels");case 2:if(n=l.sent,(r=n.Relationships.Relationship).constructor!==Array){l.next=25;break}o=zo(r),l.prev=6,o.s();case 8:if((a=o.n()).done){l.next=15;break}if((s=a.value).attrs.Type!=="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"){l.next=13;break}return i=s.attrs.Target,l.abrupt("break",15);case 13:l.next=8;break;case 15:l.next=20;break;case 17:l.prev=17,l.t0=l.catch(6),o.e(l.t0);case 20:return l.prev=20,o.f(),l.finish(20);case 23:l.next=26;break;case 25:r.attrs.Type==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"&&(i=r.attrs.Target);case 26:if(i){l.next=28;break}throw Error("Can't open theme file.");case 28:return l.next=30,no(t,"ppt/"+i);case 30:return l.abrupt("return",l.sent);case 31:case"end":return l.stop()}},e,null,[[6,17,20,23]])}))).apply(this,arguments)}function ERe(e,t,n,r){return zT.apply(this,arguments)}function zT(){return zT=pa(tr.mark(function e(t,n,r,i){var o,a,s,l,u,c,f,d,h,p,v,g,m,y,R,A,x,S,_,M,w,L,k,P,F,C,N,I,V,W,Z,re,Y,B,Q,K,q,j,de,G,Ae,ce,fe,le,$,X,J,se,ee,ne,oe,he,ue,ge,Re,Ee,Ne,He,Ve;return tr.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return o=n.replace("slides/slide","slides/_rels/slide")+".rels",we.next=3,no(t,o);case 3:if(a=we.sent,s=a.Relationships.Relationship,l="",u="",c="",f={},s.constructor!==Array){we.next=38;break}d=zo(s),we.prev=11,d.s();case 13:if((h=d.n()).done){we.next=28;break}p=h.value,we.t0=p.attrs.Type,we.next=we.t0==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"?18:we.t0==="http://schemas.microsoft.com/office/2007/relationships/diagramDrawing"?20:we.t0==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesSlide"?23:(we.t0==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image"||we.t0==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart"||we.t0,25);break;case 18:return l=p.attrs.Target.replace("../","ppt/"),we.abrupt("break",26);case 20:return u=p.attrs.Target.replace("../","ppt/"),f[p.attrs.Id]={type:p.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:p.attrs.Target.replace("../","ppt/")},we.abrupt("break",26);case 23:return c=p.attrs.Target.replace("../","ppt/"),we.abrupt("break",26);case 25:f[p.attrs.Id]={type:p.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:p.attrs.Target.replace("../","ppt/")};case 26:we.next=13;break;case 28:we.next=33;break;case 30:we.prev=30,we.t1=we.catch(11),d.e(we.t1);case 33:return we.prev=33,d.f(),we.finish(33);case 36:we.next=39;break;case 38:l=s.attrs.Target.replace("../","ppt/");case 39:return we.next=41,no(t,c);case 41:return v=we.sent,g=XRe(v),we.next=45,no(t,l);case 45:return m=we.sent,we.next=48,$E(m);case 48:return y=we.sent,R=l.replace("slideLayouts/slideLayout","slideLayouts/_rels/slideLayout")+".rels",we.next=52,no(t,R);case 52:if(A=we.sent,s=A.Relationships.Relationship,x="",S={},s.constructor!==Array){we.next=80;break}_=zo(s),we.prev=58,_.s();case 60:if((M=_.n()).done){we.next=70;break}w=M.value,we.t2=w.attrs.Type,we.next=we.t2==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster"?65:67;break;case 65:return x=w.attrs.Target.replace("../","ppt/"),we.abrupt("break",68);case 67:S[w.attrs.Id]={type:w.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:w.attrs.Target.replace("../","ppt/")};case 68:we.next=60;break;case 70:we.next=75;break;case 72:we.prev=72,we.t3=we.catch(58),_.e(we.t3);case 75:return we.prev=75,_.f(),we.finish(75);case 78:we.next=81;break;case 80:x=s.attrs.Target.replace("../","ppt/");case 81:return we.next=83,no(t,x);case 83:return L=we.sent,k=Oe(L,["p:sldMaster","p:txStyles"]),P=$E(L),F=x.replace("slideMasters/slideMaster","slideMasters/_rels/slideMaster")+".rels",we.next=89,no(t,F);case 89:if(C=we.sent,s=C.Relationships.Relationship,N="",I={},s.constructor!==Array){we.next=116;break}V=zo(s),we.prev=95,V.s();case 97:if((W=V.n()).done){we.next=106;break}Z=W.value,we.t4=Z.attrs.Type,we.next=we.t4==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"?102:103;break;case 102:return we.abrupt("break",104);case 103:I[Z.attrs.Id]={type:Z.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:Z.attrs.Target.replace("../","ppt/")};case 104:we.next=97;break;case 106:we.next=111;break;case 108:we.prev=108,we.t5=we.catch(95),V.e(we.t5);case 111:return we.prev=111,V.f(),we.finish(111);case 114:we.next=117;break;case 116:N=s.attrs.Target.replace("../","ppt/");case 117:if(re={},!N){we.next=125;break}return Y=N.split("/").pop(),B=N.replace(Y,"_rels/"+Y)+".rels",we.next=123,no(t,B);case 123:if((Q=we.sent)&&(s=Q.Relationships.Relationship))if(s.constructor===Array){K=zo(s);try{for(K.s();!(q=K.n()).done;)j=q.value,re[j.attrs.Id]={type:j.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:j.attrs.Target.replace("../","ppt/")}}catch(me){K.e(me)}finally{K.f()}}else re[s.attrs.Id]={type:s.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:s.attrs.Target.replace("../","ppt/")};case 125:if(de={},G={},!u){we.next=138;break}return Ae=u.split("/").pop(),ce=u.replace(Ae,"_rels/"+Ae)+".rels",we.next=132,no(t,u);case 132:return(G=we.sent)&&G&&G&&(fe=(fe=JSON.stringify(G)).replace(/dsp:/g,"p:"),G=JSON.parse(fe)),we.next=136,no(t,ce);case 136:if(le=we.sent)if((s=le.Relationships.Relationship).constructor===Array){$=zo(s);try{for($.s();!(X=$.n()).done;)J=X.value,de[J.attrs.Id]={type:J.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:J.attrs.Target.replace("../","ppt/")}}catch(me){$.e(me)}finally{$.f()}}else de[s.attrs.Id]={type:s.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:s.attrs.Target.replace("../","ppt/")};case 138:return we.next=140,no(t,"ppt/tableStyles.xml");case 140:return se=we.sent,we.next=143,no(t,n);case 143:return ee=we.sent,ne=ee["p:sld"]["p:cSld"]["p:spTree"],oe={zip:t,slideLayoutContent:m,slideLayoutTables:y,slideMasterContent:L,slideMasterTables:P,slideContent:ee,tableStyles:se,slideResObj:f,slideMasterTextStyles:k,layoutResObj:S,masterResObj:I,themeContent:r,themeResObj:re,digramFileContent:G,diagramResObj:de,defaultTextStyle:i},we.next=148,MRe(oe);case 148:he=we.sent,ue=[],we.t6=tr.keys(ne);case 151:if((we.t7=we.t6()).done){we.next=181;break}if(ge=we.t7.value,ne[ge].constructor!==Array){we.next=175;break}Re=zo(ne[ge]),we.prev=155,Re.s();case 157:if((Ee=Re.n()).done){we.next=165;break}return Ne=Ee.value,we.next=161,Fx(ge,Ne,oe,"slide");case 161:(He=we.sent)&&ue.push(He);case 163:we.next=157;break;case 165:we.next=170;break;case 167:we.prev=167,we.t8=we.catch(155),Re.e(we.t8);case 170:return we.prev=170,Re.f(),we.finish(170);case 173:we.next=179;break;case 175:return we.next=177,Fx(ge,ne[ge],oe,"slide");case 177:(Ve=we.sent)&&ue.push(Ve);case 179:we.next=151;break;case 181:return we.abrupt("return",{fill:he,elements:ue,note:g});case 182:case"end":return we.stop()}},e,null,[[11,30,33,36],[58,72,75,78],[95,108,111,114],[155,167,170,173]])})),zT.apply(this,arguments)}function XRe(e){var t="",n=Oe(e,["p:notes","p:cSld","p:spTree","p:sp"]);if(!n)return"";n.constructor!==Array&&(n=[n]);var r,i=zo(n);try{for(i.s();!(r=i.n()).done;){var o=Oe(r.value,["p:txBody","a:p","a:r"]);if(o){o.constructor!==Array&&(o=[o]);var a,s=zo(o);try{for(s.s();!(a=s.n()).done;){var l=Oe(a.value,["a:t"]);l&&(t+=l)}}catch(u){s.e(u)}finally{s.f()}}}}catch(u){i.e(u)}finally{i.f()}return t}function $E(e){var t=e[Object.keys(e)[0]]["p:cSld"]["p:spTree"],n={},r={},i={};for(var o in t)if(o!=="p:nvGrpSpPr"&&o!=="p:grpSpPr"){var a=t[o];if(a.constructor===Array){var s,l=zo(a);try{for(l.s();!(s=l.n()).done;){var u=s.value,c=u["p:nvSpPr"],f=Oe(c,["p:cNvPr","attrs","id"]),d=Oe(c,["p:nvPr","p:ph","attrs","idx"]),h=Oe(c,["p:nvPr","p:ph","attrs","type"]);f&&(n[f]=u),d&&(r[d]=u),h&&(i[h]=u)}}catch(y){l.e(y)}finally{l.f()}}else{var p=a["p:nvSpPr"],v=Oe(p,["p:cNvPr","attrs","id"]),g=Oe(p,["p:nvPr","p:ph","attrs","idx"]),m=Oe(p,["p:nvPr","p:ph","attrs","type"]);v&&(n[v]=a),g&&(r[g]=a),m&&(i[m]=a)}}return{idTable:n,idxTable:r,typeTable:i}}function Fx(e,t,n,r){return NG.apply(this,arguments)}function NG(){return(NG=pa(tr.mark(function e(t,n,r,i){var o;return tr.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:a.t0=t,a.next=a.t0==="p:sp"?3:a.t0==="p:cxnSp"?5:a.t0==="p:pic"?7:a.t0==="p:graphicFrame"?9:a.t0==="p:grpSp"?13:a.t0==="mc:AlternateContent"?17:28;break;case 3:return o=FG(n,r,i),a.abrupt("break",28);case 5:return o=VRe(n,r),a.abrupt("break",28);case 7:return o=DRe(n,r,i),a.abrupt("break",28);case 9:return a.next=11,URe(n,r,i);case 11:return o=a.sent,a.abrupt("break",28);case 13:return a.next=15,JT(n,r,i);case 15:return o=a.sent,a.abrupt("break",28);case 17:if(!Oe(n,["mc:Fallback","p:grpSpPr","a:xfrm"])){a.next=23;break}return a.next=20,JT(Oe(n,["mc:Fallback"]),r,i);case 20:o=a.sent,a.next=27;break;case 23:if(!Oe(n,["mc:Choice"])){a.next=27;break}return a.next=26,WRe(Oe(n,["mc:Choice"]));case 26:o=a.sent;case 27:return a.abrupt("break",28);case 28:return a.abrupt("return",o);case 29:case"end":return a.stop()}},e)}))).apply(this,arguments)}function WRe(e){var t=e.attrs.order,n=Oe(e,["p:sp","p:spPr","a:xfrm"]),r=zv(n,void 0,void 0),i=r.top,o=r.left,a=Jv(n,void 0,void 0);return{type:"math",top:i,left:o,width:a.width,height:a.height,latex:function(s){return s.replaceAll(/</g,"<").replaceAll(/>/g,">").replaceAll(/&/g,"&").replaceAll(/'/g,"'").replaceAll(/"/g,'"')}(br(OG(e)[0])),order:t}}function JT(e,t,n){return $T.apply(this,arguments)}function $T(){return $T=pa(tr.mark(function e(t,n,r){var i,o,a,s,l,u,c,f,d,h,p,v,g,m,y,R,A,x,S,_;return tr.wrap(function(M){for(;;)switch(M.prev=M.next){case 0:if(i=t.attrs.order,o=Oe(t,["p:grpSpPr","a:xfrm"])){M.next=4;break}return M.abrupt("return",null);case 4:a=parseInt(o["a:off"].attrs.x)*Mi,s=parseInt(o["a:off"].attrs.y)*Mi,l=parseInt(o["a:chOff"].attrs.x)*Mi,u=parseInt(o["a:chOff"].attrs.y)*Mi,c=parseInt(o["a:ext"].attrs.cx)*Mi,f=parseInt(o["a:ext"].attrs.cy)*Mi,d=parseInt(o["a:chExt"].attrs.cx)*Mi,h=parseInt(o["a:chExt"].attrs.cy)*Mi,(p=Oe(o,["attrs","rot"])||0)&&(p=qm(p)),v=c/d,g=f/h,m=[],M.t0=tr.keys(t);case 18:if((M.t1=M.t0()).done){M.next=48;break}if(y=M.t1.value,t[y].constructor!==Array){M.next=42;break}R=zo(t[y]),M.prev=22,R.s();case 24:if((A=R.n()).done){M.next=32;break}return x=A.value,M.next=28,Fx(y,x,n,r);case 28:(S=M.sent)&&m.push(S);case 30:M.next=24;break;case 32:M.next=37;break;case 34:M.prev=34,M.t2=M.catch(22),R.e(M.t2);case 37:return M.prev=37,R.f(),M.finish(37);case 40:M.next=46;break;case 42:return M.next=44,Fx(y,t[y],n,r);case 44:(_=M.sent)&&m.push(_);case 46:M.next=18;break;case 48:return M.abrupt("return",{type:"group",top:s,left:a,width:c,height:f,rotate:p,order:i,elements:m.map(function(w){return vh(vh({},w),{},{left:(w.left-l)*v,top:(w.top-u)*g,width:w.width*v,height:w.height*g})})});case 49:case"end":return M.stop()}},e,null,[[22,34,37,40]])})),$T.apply(this,arguments)}function FG(e,t,n){var r,i,o=Oe(e,["p:nvSpPr","p:cNvPr","attrs","name"]),a=Oe(e,["p:nvSpPr","p:nvPr","p:ph","attrs","idx"]),s=Oe(e,["p:nvSpPr","p:nvPr","p:ph","attrs","type"]),l=Oe(e,["attrs","order"]);return s?(r=t.slideLayoutTables.typeTable[s],i=t.slideMasterTables.typeTable[s]):a&&(r=t.slideLayoutTables.idxTable[a],i=t.slideMasterTables.idxTable[a]),s||Oe(e,["p:nvSpPr","p:cNvSpPr","attrs","txBox"])==="1"&&(s="text"),s||(s=Oe(r,["p:nvSpPr","p:nvPr","p:ph","attrs","type"])),s||(s=Oe(i,["p:nvSpPr","p:nvPr","p:ph","attrs","type"])),s||(s=n==="diagramBg"?"diagram":"obj"),EG(e,r,i,o,s,l,t)}function VRe(e,t){return EG(e,void 0,void 0,e["p:nvCxnSpPr"]["p:cNvPr"].attrs.name,e["p:nvCxnSpPr"]["p:nvPr"]["p:ph"]===void 0?void 0:e["p:nvSpPr"]["p:nvPr"]["p:ph"].attrs.type,e.attrs.order,t)}function EG(e,t,n,r,i,o,a){var s,l=["p:spPr","a:xfrm"],u=Oe(e,l),c=Oe(t,l),f=Oe(n,l),d=Oe(e,["p:spPr","a:prstGeom","attrs","prst"]),h=Oe(e,["p:spPr","a:custGeom"]),p=zv(u,c,f),v=p.top,g=p.left,m=Jv(u,c,f),y=m.width,R=m.height,A=Oe(u,["attrs","flipV"])==="1",x=Oe(u,["attrs","flipH"])==="1",S=qm(Oe(u,["attrs","rot"])),_=Oe(e,["p:txXfrm"]);if(_){var M=Oe(_,["attrs","rot"]);M&&(s=qm(M)+90)}else s=S;var w="";e["p:txBody"]&&(function(Q){if(!DOMParser)return!0;var K=new DOMParser().parseFromString(Q,"text/html");return(K.body.textContent||K.body.innerText).trim()!==""}(w=GT(e["p:txBody"],e,t,i,a))||(w=""));var L,k=wg(e,i,a),P=k.borderColor,F=k.borderWidth,C=k.borderType,N=k.strokeDasharray,I=TG(e,void 0,a)||"",V=Oe(e,["p:spPr","a:effectLst","a:outerShdw"]);V&&(L=_G(V,a));var W=function(Q,K,q){var j=Oe(Q,["p:txBody","a:bodyPr","attrs","anchor"]);return j||(j=Oe(K,["p:txBody","a:bodyPr","attrs","anchor"]))||(j=Oe(q,["p:txBody","a:bodyPr","attrs","anchor"]))||(j="t"),j==="ctr"?"mid":j==="b"?"down":"up"}(e,t,n),Z=Oe(e,["p:txBody","a:bodyPr","attrs","vert"])==="eaVert",re={left:g,top:v,width:y,height:R,borderColor:P,borderWidth:F,borderType:C,borderStrokeDasharray:N,fillColor:I,content:w,isFlipV:A,isFlipH:x,rotate:S,vAlign:W,name:r,order:o};if(L&&(re.shadow=L),h&&i!=="diagram"){var Y=Oe(u,["a:ext","attrs"]),B=function(Q,K,q){var j=Oe(Q,["a:pathLst"]),de=Oe(j,["a:path"]);Array.isArray(de)&&(de=de.pop());var G=parseInt(de.attrs.w),Ae=parseInt(de.attrs.h),ce=G===0?0:1/G*K,fe=Ae===0?0:1/Ae*q,le="",$=Oe(de,["a:moveTo"]),X=de["a:lnTo"],J=de["a:cubicBezTo"],se=de["a:arcTo"],ee=Oe(de,["a:close"]);Array.isArray($)||($=[$]);var ne=[];if($.length>0){if(Object.keys($).forEach(function(ot){var ke=$[ot]["a:pt"];ke&&Object.keys(ke).forEach(function(je){var tt=ke[je],Rt=tt.x,dt=tt.y,vt=tt.order;ne.push({type:"movto",x:Rt,y:dt,order:vt})})}),X&&Object.keys(X).forEach(function(ot){var ke=X[ot]["a:pt"];ke&&Object.keys(ke).forEach(function(je){var tt=ke[je],Rt=tt.x,dt=tt.y,vt=tt.order;ne.push({type:"lnto",x:Rt,y:dt,order:vt})})}),J){var oe=[];Array.isArray(J)||(J=[J]),Object.keys(J).forEach(function(ot){oe.push(J[ot]["a:pt"])}),oe.forEach(function(ot){var ke=[];ot.forEach(function(tt){var Rt={x:tt.attrs.x,y:tt.attrs.y};ke.push(Rt)});var je=ot[0].attrs.order;ne.push({type:"cubicBezTo",cubBzPt:ke,order:je})})}if(se){var he=se.attrs,ue=he.order,ge=he.hR,Re=he.wR,Ee=he.stAng,Ne=he.swAng,He=0,Ve=0,we=Oe(se,["a:pt","attrs"]);we&&(He=we.x,Ve=we.y),ne.push({type:"arcTo",hR:ge,wR:Re,stAng:Ee,swAng:Ne,shftX:He,shftY:Ve,order:ue})}ee&&(Array.isArray(ee)||(ee=[ee]),Object.keys(ee).forEach(function(){ne.push({type:"close",order:1/0})})),ne.sort(function(ot,ke){return ot.order-ke.order});for(var me=0;me<ne.length;){if(ne[me].type==="movto")le+=" M"+parseInt(ne[me].x)*ce+","+parseInt(ne[me].y)*fe;else if(ne[me].type==="lnto")le+=" L"+parseInt(ne[me].x)*ce+","+parseInt(ne[me].y)*fe;else if(ne[me].type==="cubicBezTo")le+=" C"+parseInt(ne[me].cubBzPt[0].x)*ce+","+parseInt(ne[me].cubBzPt[0].y)*fe+" "+parseInt(ne[me].cubBzPt[1].x)*ce+","+parseInt(ne[me].cubBzPt[1].y)*fe+" "+parseInt(ne[me].cubBzPt[2].x)*ce+","+parseInt(ne[me].cubBzPt[2].y)*fe;else if(ne[me].type==="arcTo"){var Me=parseInt(ne[me].hR)*ce,Ce=parseInt(ne[me].wR)*fe,Qe=parseInt(ne[me].stAng)/6e4;le+=ORe(Ce,Me,Ce,Me,Qe,Qe+parseInt(ne[me].swAng)/6e4)}else ne[me].type==="close"&&(le+="z");me++}}return le}(h,parseInt(Y.cx)*Mi,parseInt(Y.cy)*Mi);return vh(vh({},re),{},{type:"shape",shapType:"custom",path:B})}return vh(vh({},re),{},!d||i!=="obj"&&i?{type:"text",isVertical:Z,rotate:s}:{type:"shape",shapType:d})}function DRe(e,t,n){return jT.apply(this,arguments)}function jT(){return jT=pa(tr.mark(function e(t,n,r){var i,o,a,s,l,u,c,f,d,h,p,v,g,m,y,R,A,x,S,_,M,w,L,k,P,F,C,N,I,V,W,Z,re,Y;return tr.wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return i=r==="slideMasterBg"?n.masterResObj:r==="slideLayoutBg"?n.layoutResObj:n.slideResObj,o=t.attrs.order,a=t["p:blipFill"]["a:blip"].attrs["r:embed"],s=i[a].target,l=S5(s).toLowerCase(),u=n.zip,B.next=8,u.file(s).async("arraybuffer");case 8:if(c=B.sent,f=t["p:spPr"]["a:xfrm"],d=QT(l),h=zv(f,void 0,void 0),p=h.top,v=h.left,g=Jv(f,void 0,void 0),m=g.width,y=g.height,R="data:".concat(d,";base64,").concat(wG(c)),A=Oe(f,["attrs","flipV"])==="1",x=Oe(f,["attrs","flipH"])==="1",S=0,(_=Oe(t,["p:spPr","a:xfrm","attrs","rot"]))&&(S=qm(_)),M=Oe(t,["p:nvPicPr","p:nvPr","a:videoFile"]),N=!1,!M){B.next=36;break}if(w=M.attrs["r:link"],!SRe(L=i[w].target)){B.next=29;break}L=MG(L),N=!0,B.next=36;break;case 29:if((k=S5(L).toLowerCase())!=="mp4"&&k!=="webm"&&k!=="ogg"){B.next=36;break}return B.next=33,u.file(L).async("arraybuffer");case 33:F=B.sent,P=QT(k),C=URL.createObjectURL(new Blob([F],{type:P}));case 36:if(!(I=Oe(t,["p:nvPicPr","p:nvPr","a:audioFile"]))){B.next=46;break}if(V=I.attrs["r:link"],W=i[V].target,(Z=S5(W).toLowerCase())!=="mp3"&&Z!=="wav"&&Z!=="ogg"){B.next=46;break}return B.next=44,u.file(W).async("arraybuffer");case 44:re=B.sent,Y=URL.createObjectURL(new Blob([re]));case 46:if(!M||N){B.next=48;break}return B.abrupt("return",{type:"video",top:p,left:v,width:m,height:y,rotate:S,blob:C,order:o});case 48:if(!M||!N){B.next=50;break}return B.abrupt("return",{type:"video",top:p,left:v,width:m,height:y,rotate:S,src:L,order:o});case 50:if(!I){B.next=52;break}return B.abrupt("return",{type:"audio",top:p,left:v,width:m,height:y,rotate:S,blob:Y,order:o});case 52:return B.abrupt("return",{type:"image",top:p,left:v,width:m,height:y,rotate:S,src:R,isFlipV:A,isFlipH:x,order:o});case 53:case"end":return B.stop()}},e)})),jT.apply(this,arguments)}function URe(e,t,n){return qT.apply(this,arguments)}function qT(){return qT=pa(tr.mark(function e(t,n,r){var i,o,a;return tr.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:i=Oe(t,["a:graphic","a:graphicData","attrs","uri"]),s.t0=i,s.next=s.t0==="http://schemas.openxmlformats.org/drawingml/2006/table"?4:s.t0==="http://schemas.openxmlformats.org/drawingml/2006/chart"?6:s.t0==="http://schemas.openxmlformats.org/drawingml/2006/diagram"?10:s.t0==="http://schemas.openxmlformats.org/presentationml/2006/ole"?12:15;break;case 4:return o=BRe(t,n),s.abrupt("break",15);case 6:return s.next=8,YRe(t,n);case 8:return o=s.sent,s.abrupt("break",15);case 10:return o=ZRe(t,n),s.abrupt("break",15);case 12:return(a=Oe(t,["a:graphic","a:graphicData","mc:AlternateContent","mc:Fallback","p:oleObj"]))?JT(a,n,r):a=Oe(t,["a:graphic","a:graphicData","p:oleObj"]),s.abrupt("break",15);case 15:return s.abrupt("return",o);case 16:case"end":return s.stop()}},e)})),qT.apply(this,arguments)}function BRe(e,t){var n,r,i=e.attrs.order,o=Oe(e,["a:graphic","a:graphicData","a:tbl"]),a=Oe(e,["p:xfrm"]),s=zv(a,void 0,void 0),l=s.top,u=s.left,c=Jv(a,void 0,void 0),f=c.width,d=c.height,h=Oe(e,["a:graphic","a:graphicData","a:tbl","a:tblPr"]),p=h.attrs?h.attrs.firstRow:void 0,v=h.attrs?h.attrs.firstCol:void 0,g=h.attrs?h.attrs.lastRow:void 0,m=h.attrs?h.attrs.lastCol:void 0,y=h.attrs?h.attrs.bandRow:void 0,R=h.attrs?h.attrs.bandCol:void 0,A={isFrstRowAttr:p&&p==="1"?1:0,isFrstColAttr:v&&v==="1"?1:0,isLstRowAttr:g&&g==="1"?1:0,isLstColAttr:m&&m==="1"?1:0,isBandRowAttr:y&&y==="1"?1:0,isBandColAttr:R&&R==="1"?1:0},x=h["a:tableStyleId"];if(x){var S=t.tableStyles["a:tblStyleLst"]["a:tblStyle"];if(S)if(S.constructor===Array)for(var _=0;_<S.length;_++)S[_].attrs.styleId===x&&(n=S[_]);else S.attrs.styleId===x&&(n=S)}n&&(n.tblStylAttrObj=A);var M=Oe(n,["a:wholeTbl","a:tcStyle"]),w=Oe(M,["a:tcBdr"]);if(w){var L=function(J,se){var ee={};if(J["a:bottom"]){var ne=wg({"p:spPr":{"a:ln":J["a:bottom"]["a:ln"]}},void 0,se);ee.bottom=ne}if(J["a:top"]){var oe=wg({"p:spPr":{"a:ln":J["a:top"]["a:ln"]}},void 0,se);ee.top=oe}if(J["a:right"]){var he=wg({"p:spPr":{"a:ln":J["a:right"]["a:ln"]}},void 0,se);ee.right=he}if(J["a:left"]){var ue=wg({"p:spPr":{"a:ln":J["a:left"]["a:ln"]}},void 0,se);ee.left=ue}return ee}(w,t);L&&(r=L.bottom||L.left||L.right||L.top)}var k="",P=Oe(n,["a:tblBg","a:fillRef"]);P&&(k=ir(P,void 0,void 0,t)),P===void 0&&(k=ir(P=Oe(n,["a:wholeTbl","a:tcStyle","a:fill","a:solidFill"]),void 0,void 0,t));var F=o["a:tr"];F.constructor!==Array&&(F=[F]);for(var C=[],N=0;N<F.length;N++){var I=F[N],V=kRe(F,N,A,n,t),W=V.fillColor,Z=V.fontColor,re=V.fontBold,Y=I["a:tc"],B=[];if(Y.constructor===Array)for(var Q=0;Q<Y.length;Q++){var K=Y[Q],q=void 0;if(Q===0&&A.isFrstColAttr===1)q="a:firstCol",A.isLstRowAttr===1&&N===F.length-1&&Oe(n,["a:seCell"])?q="a:seCell":A.isFrstRowAttr===1&&N===0&&Oe(n,["a:neCell"])&&(q="a:neCell");else if(Q>0&&A.isBandColAttr===1&&(A.isFrstColAttr!==1||N!==0)&&(A.isLstRowAttr!==1||N!==F.length-1)&&Q!==Y.length-1&&Q%2!=0){var j=Oe(n,["a:band2V"]);j===void 0?(j=Oe(n,["a:band1V"]))&&(q="a:band2V"):q="a:band2V"}Q===Y.length-1&&A.isLstColAttr===1&&(q="a:lastCol",A.isLstRowAttr===1&&N===F.length-1&&Oe(n,["a:swCell"])?q="a:swCell":A.isFrstRowAttr===1&&N===0&&Oe(n,["a:nwCell"])&&(q="a:nwCell"));var de=GT(K["a:txBody"],K,void 0,void 0,t),G=KE(K,n,q,t),Ae={text:de};G.rowSpan&&(Ae.rowSpan=G.rowSpan),G.colSpan&&(Ae.colSpan=G.colSpan),G.vMerge&&(Ae.vMerge=G.vMerge),G.hMerge&&(Ae.hMerge=G.hMerge),(G.fontBold||re)&&(Ae.fontBold=G.fontBold||re),(G.fontColor||Z)&&(Ae.fontColor=G.fontColor||Z),(G.fillColor||W||k)&&(Ae.fillColor=G.fillColor||W||k),B.push(Ae)}else{var ce=void 0;if(A.isFrstColAttr===1&&A.isLstRowAttr!==1)ce="a:firstCol";else if(A.isBandColAttr===1&&A.isLstRowAttr!==1){var fe=Oe(n,["a:band2V"]);(fe||(fe=Oe(n,["a:band1V"])))&&(ce="a:band2V")}A.isLstColAttr===1&&A.isLstRowAttr!==1&&(ce="a:lastCol");var le=GT(Y["a:txBody"],Y,void 0,void 0,t),$=KE(Y,n,ce,t),X={text:le};$.rowSpan&&(X.rowSpan=$.rowSpan),$.colSpan&&(X.colSpan=$.colSpan),$.vMerge&&(X.vMerge=$.vMerge),$.hMerge&&(X.hMerge=$.hMerge),($.fontBold||re)&&(X.fontBold=$.fontBold||re),($.fontColor||Z)&&(X.fontColor=$.fontColor||Z),($.fillColor||W||k)&&(X.fillColor=$.fillColor||W||k),B.push(X)}C.push(B)}return vh({type:"table",top:l,left:u,width:f,height:d,data:C,order:i},r||{})}function YRe(e,t){return e6.apply(this,arguments)}function e6(){return e6=pa(tr.mark(function e(t,n){var r,i,o,a,s,l,u,c,f,d,h,p,v,g;return tr.wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return r=t.attrs.order,i=Oe(t,["p:xfrm"]),o=zv(i,void 0,void 0),a=o.top,s=o.left,l=Jv(i,void 0,void 0),u=l.width,c=l.height,f=t["a:graphic"]["a:graphicData"]["c:chart"].attrs["r:id"],d=n.slideResObj[f].target,m.next=8,no(n.zip,d);case 8:if(h=m.sent,p=Oe(h,["c:chartSpace","c:chart","c:plotArea"]),v=LRe(p)){m.next=13;break}return m.abrupt("return",{});case 13:return g={type:"chart",top:a,left:s,width:u,height:c,data:v.data,chartType:v.type,order:r},v.marker!==void 0&&(g.marker=v.marker),v.barDir!==void 0&&(g.barDir=v.barDir),v.holeSize!==void 0&&(g.holeSize=v.holeSize),v.grouping!==void 0&&(g.grouping=v.grouping),v.style!==void 0&&(g.style=v.style),m.abrupt("return",g);case 20:case"end":return m.stop()}},e)})),e6.apply(this,arguments)}function ZRe(e,t){var n=e.attrs.order,r=Oe(e,["p:xfrm"]),i=zv(r,void 0,void 0),o=i.left,a=i.top,s=Jv(r,void 0,void 0),l=s.width,u=s.height,c=Oe(t.digramFileContent,["p:drawing","p:spTree","p:sp"]),f=[];if(c){var d,h=zo(c);try{for(h.s();!(d=h.n()).done;){var p=FG(d.value,t,"diagramBg");p&&f.push(p)}}catch(v){h.e(v)}finally{h.f()}}return{type:"diagram",left:o,top:a,width:l,height:u,elements:f,order:n}}const ri=" ";function QRe(e){let t="";Array.isArray(e)||(e=[e]);for(let n=0;n<e.length;n++){const r=e[n];if(r.type===ut.CLOSE_PATH)t+="z";else if(r.type===ut.HORIZ_LINE_TO)t+=(r.relative?"h":"H")+r.x;else if(r.type===ut.VERT_LINE_TO)t+=(r.relative?"v":"V")+r.y;else if(r.type===ut.MOVE_TO)t+=(r.relative?"m":"M")+r.x+ri+r.y;else if(r.type===ut.LINE_TO)t+=(r.relative?"l":"L")+r.x+ri+r.y;else if(r.type===ut.CURVE_TO)t+=(r.relative?"c":"C")+r.x1+ri+r.y1+ri+r.x2+ri+r.y2+ri+r.x+ri+r.y;else if(r.type===ut.SMOOTH_CURVE_TO)t+=(r.relative?"s":"S")+r.x2+ri+r.y2+ri+r.x+ri+r.y;else if(r.type===ut.QUAD_TO)t+=(r.relative?"q":"Q")+r.x1+ri+r.y1+ri+r.x+ri+r.y;else if(r.type===ut.SMOOTH_QUAD_TO)t+=(r.relative?"t":"T")+r.x+ri+r.y;else if(r.type===ut.ARC)t+=(r.relative?"a":"A")+r.rX+ri+r.rY+ri+r.xRot+ri+ +r.lArcFlag+ri+ +r.sweepFlag+ri+r.x+ri+r.y;else throw new Error(`Unexpected command type "${r==null?void 0:r.type}" at index ${n}.`)}return t}function t6([e,t],n){return[e*Math.cos(n)-t*Math.sin(n),e*Math.sin(n)+t*Math.cos(n)]}function gl(...e){for(let t=0;t<e.length;t++)if(typeof e[t]!="number")throw new Error(`assertNumbers arguments[${t}] is not a number. ${typeof e[t]} == typeof ${e[t]}`);return!0}const cf=Math.PI;function fk(e,t,n){e.lArcFlag=e.lArcFlag===0?0:1,e.sweepFlag=e.sweepFlag===0?0:1;let{rX:r,rY:i}=e;const{x:o,y:a}=e;r=Math.abs(e.rX),i=Math.abs(e.rY);const[s,l]=t6([(t-o)/2,(n-a)/2],-e.xRot/180*cf),u=Math.pow(s,2)/Math.pow(r,2)+Math.pow(l,2)/Math.pow(i,2);1<u&&(r*=Math.sqrt(u),i*=Math.sqrt(u)),e.rX=r,e.rY=i;const c=Math.pow(r,2)*Math.pow(l,2)+Math.pow(i,2)*Math.pow(s,2),f=(e.lArcFlag!==e.sweepFlag?1:-1)*Math.sqrt(Math.max(0,(Math.pow(r,2)*Math.pow(i,2)-c)/c)),d=r*l/i*f,h=-i*s/r*f,p=t6([d,h],e.xRot/180*cf);e.cX=p[0]+(t+o)/2,e.cY=p[1]+(n+a)/2,e.phi1=Math.atan2((l-h)/i,(s-d)/r),e.phi2=Math.atan2((-l-h)/i,(-s-d)/r),e.sweepFlag===0&&e.phi2>e.phi1&&(e.phi2-=2*cf),e.sweepFlag===1&&e.phi2<e.phi1&&(e.phi2+=2*cf),e.phi1*=180/cf,e.phi2*=180/cf}function jE(e,t,n){gl(e,t,n);const r=e*e+t*t-n*n;if(0>r)return[];if(r===0)return[[e*n/(e*e+t*t),t*n/(e*e+t*t)]];const i=Math.sqrt(r);return[[(e*n+t*i)/(e*e+t*t),(t*n-e*i)/(e*e+t*t)],[(e*n-t*i)/(e*e+t*t),(t*n+e*i)/(e*e+t*t)]]}const Wu=Math.PI/180;function qE(e,t,n){return(1-n)*e+n*t}function eX(e,t,n,r){return e+Math.cos(r/180*cf)*t+Math.sin(r/180*cf)*n}function tX(e,t,n,r){const o=t-e,a=n-t,s=r-n,l=3*o+3*s-6*a,u=(a-o)*6,c=3*o;return Math.abs(l)<1e-6?[-c/u]:HRe(u/l,c/l,1e-6)}function nX(e,t,n,r,i){const o=1-i,a=o*o*o,s=3*o*o*i,l=3*o*i*i,u=i*i*i;return e*a+t*s+n*l+r*u}function HRe(e,t,n=1e-6){const r=e*e/4-t;if(r<-n)return[];if(r<=n)return[-e/2];const i=Math.sqrt(r);return[-(e/2)-i,-(e/2)+i]}function KRe(e,t,n){e.cX||fk(e,t,n);const r=Math.min(e.phi1,e.phi2),i=Math.max(e.phi1,e.phi2),o=i-r,a=Math.ceil(o/90),s=new Array(a);let l=t,u=n;for(let c=0;c<a;c++){const f=qE(e.phi1,e.phi2,c/a),d=qE(e.phi1,e.phi2,(c+1)/a),h=d-f,p=4/3*Math.tan(h*Wu/4),[v,g]=[Math.cos(f*Wu)-p*Math.sin(f*Wu),Math.sin(f*Wu)+p*Math.cos(f*Wu)],[m,y]=[Math.cos(d*Wu),Math.sin(d*Wu)],[R,A]=[m+p*Math.sin(d*Wu),y-p*Math.cos(d*Wu)],x={relative:e.relative,type:ut.CURVE_TO},S=(_,M)=>{const[w,L]=t6([_*e.rX,M*e.rY],e.xRot);return[e.cX+w,e.cY+L]};[x.x1,x.y1]=S(v,g),[x.x2,x.y2]=S(R,A),[x.x,x.y]=S(m,y),e.relative&&(x.x1-=l,x.y1-=u,x.x2-=l,x.y2-=u,x.x-=l,x.y-=u),[l,u]=[x.x,x.y],s[c]=x}return s}function GRe(e=1e13){gl(e);function t(n){return Math.round(n*e)/e}return function(r){return"x1"in r&&typeof r.x1<"u"&&(r.x1=t(r.x1)),"y1"in r&&typeof r.y1<"u"&&(r.y1=t(r.y1)),"x2"in r&&typeof r.x2<"u"&&(r.x2=t(r.x2)),"y2"in r&&typeof r.y2<"u"&&(r.y2=t(r.y2)),"x"in r&&typeof r.x<"u"&&(r.x=t(r.x)),"y"in r&&typeof r.y<"u"&&(r.y=t(r.y)),"rX"in r&&typeof r.rX<"u"&&(r.rX=t(r.rX)),"rY"in r&&typeof r.rY<"u"&&(r.rY=t(r.rY)),r}}function XG(){return ml((e,t,n)=>(e.relative&&(typeof e.x1<"u"&&(e.x1+=t),typeof e.y1<"u"&&(e.y1+=n),typeof e.x2<"u"&&(e.x2+=t),typeof e.y2<"u"&&(e.y2+=n),typeof e.x<"u"&&(e.x+=t),typeof e.y<"u"&&(e.y+=n),e.relative=!1),e))}function zRe(){return ml((e,t,n)=>(e.relative||(typeof e.x1<"u"&&(e.x1-=t),typeof e.y1<"u"&&(e.y1-=n),typeof e.x2<"u"&&(e.x2-=t),typeof e.y2<"u"&&(e.y2-=n),typeof e.x<"u"&&(e.x-=t),typeof e.y<"u"&&(e.y-=n),e.relative=!0),e))}function JRe(e=!0,t=!0,n=!0){return ml((r,i,o,a,s)=>{if(isNaN(a)&&!(r.type&ut.MOVE_TO))throw new Error("path must start with moveto");return t&&r.type&ut.HORIZ_LINE_TO&&(r.type=ut.LINE_TO,r.y=r.relative?0:o),n&&r.type&ut.VERT_LINE_TO&&(r.type=ut.LINE_TO,r.x=r.relative?0:i),e&&r.type&ut.CLOSE_PATH&&(r.type=ut.LINE_TO,r.x=r.relative?a-i:a,r.y=r.relative?s-o:s),r.type&ut.ARC&&(r.rX===0||r.rY===0)&&(r.type=ut.LINE_TO,delete r.rX,delete r.rY,delete r.xRot,delete r.lArcFlag,delete r.sweepFlag),r})}function WG(){let e=NaN,t=NaN,n=NaN,r=NaN;return ml((i,o,a)=>(i.type&ut.SMOOTH_CURVE_TO&&(i.type=ut.CURVE_TO,e=isNaN(e)?o:e,t=isNaN(t)?a:t,i.x1=i.relative?o-e:2*o-e,i.y1=i.relative?a-t:2*a-t),i.type&ut.CURVE_TO?(e=i.relative?o+i.x2:i.x2,t=i.relative?a+i.y2:i.y2):(e=NaN,t=NaN),i.type&ut.SMOOTH_QUAD_TO&&(i.type=ut.QUAD_TO,n=isNaN(n)?o:n,r=isNaN(r)?a:r,i.x1=i.relative?o-n:2*o-n,i.y1=i.relative?a-r:2*a-r),i.type&ut.QUAD_TO?(n=i.relative?o+i.x1:i.x1,r=i.relative?a+i.y1:i.y1):(n=NaN,r=NaN),i))}function VG(){let e=NaN,t=NaN;return ml((n,r,i)=>{if(n.type&ut.SMOOTH_QUAD_TO&&(n.type=ut.QUAD_TO,e=isNaN(e)?r:e,t=isNaN(t)?i:t,n.x1=n.relative?r-e:2*r-e,n.y1=n.relative?i-t:2*i-t),n.type&ut.QUAD_TO){e=n.relative?r+n.x1:n.x1,t=n.relative?i+n.y1:n.y1;const o=n.x1,a=n.y1;n.type=ut.CURVE_TO,n.x1=((n.relative?0:r)+o*2)/3,n.y1=((n.relative?0:i)+a*2)/3,n.x2=(n.x+o*2)/3,n.y2=(n.y+a*2)/3}else e=NaN,t=NaN;return n})}function ml(e){let t=0,n=0,r=NaN,i=NaN;return function(a){if(isNaN(r)&&!(a.type&ut.MOVE_TO))throw new Error("path must start with moveto");const s=e(a,t,n,r,i);return a.type&ut.CLOSE_PATH&&(t=r,n=i),"x"in a&&typeof a.x<"u"&&(t=a.relative?t+a.x:a.x),"y"in a&&typeof a.y<"u"&&(n=a.relative?n+a.y:a.y),a.type&ut.MOVE_TO&&(r=t,i=n),s}}function $Re(e=0){gl(e);let t=NaN,n=NaN,r=NaN,i=NaN;return ml((o,a,s,l,u)=>{const c=Math.abs;let f=!1,d=0,h=0;if(o.type&ut.SMOOTH_CURVE_TO&&(d=isNaN(t)?0:a-t,h=isNaN(n)?0:s-n),o.type&(ut.CURVE_TO|ut.SMOOTH_CURVE_TO)?(t=o.relative?a+o.x2:o.x2,n=o.relative?s+o.y2:o.y2):(t=NaN,n=NaN),o.type&ut.SMOOTH_QUAD_TO?(r=isNaN(r)?a:2*a-r,i=isNaN(i)?s:2*s-i):o.type&ut.QUAD_TO?(r=o.relative?a+o.x1:o.x1,i=o.relative?s+o.y1:o.y2):(r=NaN,i=NaN),o.type&ut.LINE_COMMANDS||o.type&ut.ARC&&(o.rX===0||o.rY===0||!o.lArcFlag)||o.type&ut.CURVE_TO||o.type&ut.SMOOTH_CURVE_TO||o.type&ut.QUAD_TO||o.type&ut.SMOOTH_QUAD_TO){const p=typeof o.x>"u"?0:o.relative?o.x:o.x-a,v=typeof o.y>"u"?0:o.relative?o.y:o.y-s;d=isNaN(r)?typeof o.x1>"u"?d:o.relative?o.x:o.x1-a:r-a,h=isNaN(i)?typeof o.y1>"u"?h:o.relative?o.y:o.y1-s:i-s;const g=typeof o.x2>"u"?0:o.relative?o.x:o.x2-a,m=typeof o.y2>"u"?0:o.relative?o.y:o.y2-s;c(p)<=e&&c(v)<=e&&c(d)<=e&&c(h)<=e&&c(g)<=e&&c(m)<=e&&(f=!0)}return o.type&ut.CLOSE_PATH&&c(a-l)<=e&&c(s-u)<=e&&(f=!0),f?[]:o})}function ud(e,t,n,r,i,o){return gl(e,t,n,r,i,o),ml((a,s,l,u)=>{const c=a.x1,f=a.x2,d=a.relative&&!isNaN(u),h=typeof a.x<"u"?a.x:d?0:s,p=typeof a.y<"u"?a.y:d?0:l;a.type&ut.HORIZ_LINE_TO&&t!==0&&(a.type=ut.LINE_TO,a.y=a.relative?0:l),a.type&ut.VERT_LINE_TO&&n!==0&&(a.type=ut.LINE_TO,a.x=a.relative?0:s),typeof a.x<"u"&&(a.x=a.x*e+p*n+(d?0:i)),typeof a.y<"u"&&(a.y=h*t+a.y*r+(d?0:o)),typeof a.x1<"u"&&(a.x1=a.x1*e+a.y1*n+(d?0:i)),typeof a.y1<"u"&&(a.y1=c*t+a.y1*r+(d?0:o)),typeof a.x2<"u"&&(a.x2=a.x2*e+a.y2*n+(d?0:i)),typeof a.y2<"u"&&(a.y2=f*t+a.y2*r+(d?0:o));function v(m){return m*m}const g=e*r-t*n;if(typeof a.xRot<"u"&&(e!==1||t!==0||n!==0||r!==1))if(g===0)delete a.rX,delete a.rY,delete a.xRot,delete a.lArcFlag,delete a.sweepFlag,a.type=ut.LINE_TO;else{const m=a.xRot*Math.PI/180,y=Math.sin(m),R=Math.cos(m),A=1/v(a.rX),x=1/v(a.rY),S=v(R)*A+v(y)*x,_=2*y*R*(A-x),M=v(y)*A+v(R)*x,w=S*r*r-_*t*r+M*t*t,L=_*(e*r+t*n)-2*(S*n*r+M*e*t),k=S*n*n-_*e*n+M*e*e,P=(Math.atan2(L,w-k)+Math.PI)%Math.PI/2,F=Math.sin(P),C=Math.cos(P);a.rX=Math.abs(g)/Math.sqrt(w*v(C)+L*F*C+k*v(F)),a.rY=Math.abs(g)/Math.sqrt(w*v(F)-L*F*C+k*v(C)),a.xRot=P*180/Math.PI}return typeof a.sweepFlag<"u"&&0>g&&(a.sweepFlag=+!a.sweepFlag),a})}function jRe(e,t=0,n=0){gl(e,t,n);const r=Math.sin(e),i=Math.cos(e);return ud(i,r,-r,i,t-t*i+n*r,n-t*r-n*i)}function qRe(e,t=0){return gl(e,t),ud(1,0,0,1,e,t)}function ebe(e,t=e){return gl(e,t),ud(e,0,0,t,0,0)}function tbe(e){return gl(e),ud(1,0,Math.atan(e),1,0,0)}function nbe(e){return gl(e),ud(1,Math.atan(e),0,1,0,0)}function rbe(e=0){return gl(e),ud(-1,0,0,1,e,0)}function ibe(e=0){return gl(e),ud(1,0,0,-1,0,e)}function obe(){return ml((e,t,n)=>ut.ARC===e.type?KRe(e,e.relative?0:t,e.relative?0:n):e)}function abe(){return ml((e,t,n)=>(e.relative&&(t=0,n=0),ut.ARC===e.type&&fk(e,t,n),e))}function DG(){return e=>({...e})}function sbe(){const e=DG(),t=XG(),n=VG(),r=WG(),i=ml((o,a,s)=>{const l=r(n(t(e(o))));function u(f){f>i.maxX&&(i.maxX=f),f<i.minX&&(i.minX=f)}function c(f){f>i.maxY&&(i.maxY=f),f<i.minY&&(i.minY=f)}if(l.type&ut.DRAWING_COMMANDS&&(u(a),c(s)),l.type&ut.HORIZ_LINE_TO&&u(l.x),l.type&ut.VERT_LINE_TO&&c(l.y),l.type&ut.LINE_TO&&(u(l.x),c(l.y)),l.type&ut.CURVE_TO){u(l.x),c(l.y);const f=tX(a,l.x1,l.x2,l.x);for(const h of f)0<h&&1>h&&u(nX(a,l.x1,l.x2,l.x,h));const d=tX(s,l.y1,l.y2,l.y);for(const h of d)0<h&&1>h&&c(nX(s,l.y1,l.y2,l.y,h))}if(l.type&ut.ARC){u(l.x),c(l.y),fk(l,a,s);const f=l.xRot/180*Math.PI,d=Math.cos(f)*l.rX,h=Math.sin(f)*l.rX,p=-Math.sin(f)*l.rY,v=Math.cos(f)*l.rY,[g,m]=l.phi1<l.phi2?[l.phi1,l.phi2]:-180>l.phi2?[l.phi2+360,l.phi1+360]:[l.phi2,l.phi1],y=([x,S])=>{const M=Math.atan2(S,x)*180/Math.PI;return M<g?M+360:M},R=jE(p,-d,0).map(y);for(const x of R)x>g&&x<m&&u(eX(l.cX,d,p,x));const A=jE(v,-h,0).map(y);for(const x of A)x>g&&x<m&&c(eX(l.cY,h,v,x))}return o});return i.minX=1/0,i.maxX=-1/0,i.minY=1/0,i.maxY=-1/0,i}const Si={ROUND:GRe,TO_ABS:XG,TO_REL:zRe,NORMALIZE_HVZ:JRe,NORMALIZE_ST:WG,QT_TO_C:VG,INFO:ml,SANITIZE:$Re,MATRIX:ud,ROTATE:jRe,TRANSLATE:qRe,SCALE:ebe,SKEW_X:tbe,SKEW_Y:nbe,X_AXIS_SYMMETRY:rbe,Y_AXIS_SYMMETRY:ibe,A_TO_C:obe,ANNOTATE_ARCS:abe,CLONE:DG,CALCULATE_BOUNDS:sbe};class UG{round(t){return this.transform(Si.ROUND(t))}toAbs(){return this.transform(Si.TO_ABS())}toRel(){return this.transform(Si.TO_REL())}normalizeHVZ(t,n,r){return this.transform(Si.NORMALIZE_HVZ(t,n,r))}normalizeST(){return this.transform(Si.NORMALIZE_ST())}qtToC(){return this.transform(Si.QT_TO_C())}aToC(){return this.transform(Si.A_TO_C())}sanitize(t){return this.transform(Si.SANITIZE(t))}translate(t,n){return this.transform(Si.TRANSLATE(t,n))}scale(t,n){return this.transform(Si.SCALE(t,n))}rotate(t,n,r){return this.transform(Si.ROTATE(t,n,r))}matrix(t,n,r,i,o,a){return this.transform(Si.MATRIX(t,n,r,i,o,a))}skewX(t){return this.transform(Si.SKEW_X(t))}skewY(t){return this.transform(Si.SKEW_Y(t))}xSymmetry(t){return this.transform(Si.X_AXIS_SYMMETRY(t))}ySymmetry(t){return this.transform(Si.Y_AXIS_SYMMETRY(t))}annotateArcs(){return this.transform(Si.ANNOTATE_ARCS())}}const lbe=e=>e===" "||e===" "||e==="\r"||e===`
|
||
`,rX=e=>48<=e.charCodeAt(0)&&e.charCodeAt(0)<=57;class ube extends UG{constructor(){super();Lr(this,"curNumber","");Lr(this,"curCommandType",-1);Lr(this,"curCommandRelative",!1);Lr(this,"canParseCommandOrComma",!0);Lr(this,"curNumberHasExp",!1);Lr(this,"curNumberHasExpDigits",!1);Lr(this,"curNumberHasDecimal",!1);Lr(this,"curArgs",[])}finish(n=[]){if(this.parse(" ",n),this.curArgs.length!==0||!this.canParseCommandOrComma)throw new SyntaxError("Unterminated command at the path end.");return n}parse(n,r=[]){const i=o=>{r.push(o),this.curArgs.length=0,this.canParseCommandOrComma=!0};for(let o=0;o<n.length;o++){const a=n[o],s=this.curCommandType===ut.ARC&&(this.curArgs.length===3||this.curArgs.length===4)&&this.curNumber.length===1&&(this.curNumber==="0"||this.curNumber==="1"),l=rX(a)&&(this.curNumber==="0"&&a==="0"||s);if(rX(a)&&!l){this.curNumber+=a,this.curNumberHasExpDigits=this.curNumberHasExp;continue}if(a==="e"||a==="E"){this.curNumber+=a,this.curNumberHasExp=!0;continue}if((a==="-"||a==="+")&&this.curNumberHasExp&&!this.curNumberHasExpDigits){this.curNumber+=a;continue}if(a==="."&&!this.curNumberHasExp&&!this.curNumberHasDecimal&&!s){this.curNumber+=a,this.curNumberHasDecimal=!0;continue}if(this.curNumber&&this.curCommandType!==-1){const u=Number(this.curNumber);if(isNaN(u))throw new SyntaxError(`Invalid number ending at ${o}`);if(this.curCommandType===ut.ARC){if(this.curArgs.length===0||this.curArgs.length===1){if(0>u)throw new SyntaxError(`Expected positive number, got "${u}" at index "${o}"`)}else if((this.curArgs.length===3||this.curArgs.length===4)&&this.curNumber!=="0"&&this.curNumber!=="1")throw new SyntaxError(`Expected a flag, got "${this.curNumber}" at index "${o}"`)}this.curArgs.push(u),this.curArgs.length===cbe[this.curCommandType]&&(ut.HORIZ_LINE_TO===this.curCommandType?i({type:ut.HORIZ_LINE_TO,relative:this.curCommandRelative,x:u}):ut.VERT_LINE_TO===this.curCommandType?i({type:ut.VERT_LINE_TO,relative:this.curCommandRelative,y:u}):this.curCommandType===ut.MOVE_TO||this.curCommandType===ut.LINE_TO||this.curCommandType===ut.SMOOTH_QUAD_TO?(i({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),ut.MOVE_TO===this.curCommandType&&(this.curCommandType=ut.LINE_TO)):this.curCommandType===ut.CURVE_TO?i({type:ut.CURVE_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x2:this.curArgs[2],y2:this.curArgs[3],x:this.curArgs[4],y:this.curArgs[5]}):this.curCommandType===ut.SMOOTH_CURVE_TO?i({type:ut.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===ut.QUAD_TO?i({type:ut.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===ut.ARC&&i({type:ut.ARC,relative:this.curCommandRelative,rX:this.curArgs[0],rY:this.curArgs[1],xRot:this.curArgs[2],lArcFlag:this.curArgs[3],sweepFlag:this.curArgs[4],x:this.curArgs[5],y:this.curArgs[6]})),this.curNumber="",this.curNumberHasExpDigits=!1,this.curNumberHasExp=!1,this.curNumberHasDecimal=!1,this.canParseCommandOrComma=!0}if(!lbe(a)){if(a===","&&this.canParseCommandOrComma){this.canParseCommandOrComma=!1;continue}if(a==="+"||a==="-"||a==="."){this.curNumber=a,this.curNumberHasDecimal=a===".";continue}if(l){this.curNumber=a,this.curNumberHasDecimal=!1;continue}if(this.curArgs.length!==0)throw new SyntaxError(`Unterminated command at index ${o}.`);if(!this.canParseCommandOrComma)throw new SyntaxError(`Unexpected character "${a}" at index ${o}. Command cannot follow comma`);if(this.canParseCommandOrComma=!1,a==="z"||a==="Z"){r.push({type:ut.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1;continue}else if(a==="h"||a==="H")this.curCommandType=ut.HORIZ_LINE_TO,this.curCommandRelative=a==="h";else if(a==="v"||a==="V")this.curCommandType=ut.VERT_LINE_TO,this.curCommandRelative=a==="v";else if(a==="m"||a==="M")this.curCommandType=ut.MOVE_TO,this.curCommandRelative=a==="m";else if(a==="l"||a==="L")this.curCommandType=ut.LINE_TO,this.curCommandRelative=a==="l";else if(a==="c"||a==="C")this.curCommandType=ut.CURVE_TO,this.curCommandRelative=a==="c";else if(a==="s"||a==="S")this.curCommandType=ut.SMOOTH_CURVE_TO,this.curCommandRelative=a==="s";else if(a==="q"||a==="Q")this.curCommandType=ut.QUAD_TO,this.curCommandRelative=a==="q";else if(a==="t"||a==="T")this.curCommandType=ut.SMOOTH_QUAD_TO,this.curCommandRelative=a==="t";else if(a==="a"||a==="A")this.curCommandType=ut.ARC,this.curCommandRelative=a==="a";else throw new SyntaxError(`Unexpected character "${a}" at index ${o}.`)}}return r}transform(n){return Object.create(this,{parse:{value(i,o=[]){const a=Object.getPrototypeOf(this).parse.call(this,i);for(const s of a){const l=n(s);Array.isArray(l)?o.push(...l):o.push(l)}return o}}})}}const cr=class cr extends UG{constructor(n){super();Lr(this,"commands");typeof n=="string"?this.commands=cr.parse(n):this.commands=n}encode(){return cr.encode(this.commands)}getBounds(){const n=Si.CALCULATE_BOUNDS();return this.transform(n),n}transform(n){const r=[];for(const i of this.commands){const o=n(i);Array.isArray(o)?r.push(...o):r.push(o)}return this.commands=r,this}static encode(n){return QRe(n)}static parse(n){const r=new ube,i=[];return r.parse(n,i),r.finish(i),i}};Lr(cr,"CLOSE_PATH",1),Lr(cr,"MOVE_TO",2),Lr(cr,"HORIZ_LINE_TO",4),Lr(cr,"VERT_LINE_TO",8),Lr(cr,"LINE_TO",16),Lr(cr,"CURVE_TO",32),Lr(cr,"SMOOTH_CURVE_TO",64),Lr(cr,"QUAD_TO",128),Lr(cr,"SMOOTH_QUAD_TO",256),Lr(cr,"ARC",512),Lr(cr,"LINE_COMMANDS",cr.LINE_TO|cr.HORIZ_LINE_TO|cr.VERT_LINE_TO),Lr(cr,"DRAWING_COMMANDS",cr.HORIZ_LINE_TO|cr.VERT_LINE_TO|cr.LINE_TO|cr.CURVE_TO|cr.SMOOTH_CURVE_TO|cr.QUAD_TO|cr.SMOOTH_QUAD_TO|cr.ARC);let ut=cr;const cbe={[ut.MOVE_TO]:2,[ut.LINE_TO]:2,[ut.HORIZ_LINE_TO]:1,[ut.VERT_LINE_TO]:1,[ut.CLOSE_PATH]:0,[ut.QUAD_TO]:4,[ut.SMOOTH_QUAD_TO]:2,[ut.CURVE_TO]:6,[ut.SMOOTH_CURVE_TO]:4,[ut.ARC]:7};var fbe=function(){function e(t,n){var r=[],i=!0,o=!1,a=void 0;try{for(var s=t[Symbol.iterator](),l;!(i=(l=s.next()).done)&&(r.push(l.value),!(n&&r.length===n));i=!0);}catch(u){o=!0,a=u}finally{try{!i&&s.return&&s.return()}finally{if(o)throw a}}return r}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),am=Math.PI*2,L5=function(t,n,r,i,o,a,s){var l=t.x,u=t.y;l*=n,u*=r;var c=i*l-o*u,f=o*l+i*u;return{x:c+a,y:f+s}},dbe=function(t,n){var r=n===1.5707963267948966?.551915024494:n===-1.5707963267948966?-.551915024494:1.3333333333333333*Math.tan(n/4),i=Math.cos(t),o=Math.sin(t),a=Math.cos(t+n),s=Math.sin(t+n);return[{x:i-o*r,y:o+i*r},{x:a+s*r,y:s-a*r},{x:a,y:s}]},iX=function(t,n,r,i){var o=t*i-n*r<0?-1:1,a=t*r+n*i;return a>1&&(a=1),a<-1&&(a=-1),o*Math.acos(a)},hbe=function(t,n,r,i,o,a,s,l,u,c,f,d){var h=Math.pow(o,2),p=Math.pow(a,2),v=Math.pow(f,2),g=Math.pow(d,2),m=h*p-h*g-p*v;m<0&&(m=0),m/=h*g+p*v,m=Math.sqrt(m)*(s===l?-1:1);var y=m*o/a*d,R=m*-a/o*f,A=c*y-u*R+(t+r)/2,x=u*y+c*R+(n+i)/2,S=(f-y)/o,_=(d-R)/a,M=(-f-y)/o,w=(-d-R)/a,L=iX(1,0,S,_),k=iX(S,_,M,w);return l===0&&k>0&&(k-=am),l===1&&k<0&&(k+=am),[A,x,L,k]},pbe=function(t){var n=t.px,r=t.py,i=t.cx,o=t.cy,a=t.rx,s=t.ry,l=t.xAxisRotation,u=l===void 0?0:l,c=t.largeArcFlag,f=c===void 0?0:c,d=t.sweepFlag,h=d===void 0?0:d,p=[];if(a===0||s===0)return[];var v=Math.sin(u*am/360),g=Math.cos(u*am/360),m=g*(n-i)/2+v*(r-o)/2,y=-v*(n-i)/2+g*(r-o)/2;if(m===0&&y===0)return[];a=Math.abs(a),s=Math.abs(s);var R=Math.pow(m,2)/Math.pow(a,2)+Math.pow(y,2)/Math.pow(s,2);R>1&&(a*=Math.sqrt(R),s*=Math.sqrt(R));var A=hbe(n,r,i,o,a,s,f,h,v,g,m,y),x=fbe(A,4),S=x[0],_=x[1],M=x[2],w=x[3],L=Math.abs(w)/(am/4);Math.abs(1-L)<1e-7&&(L=1);var k=Math.max(Math.ceil(L),1);w/=k;for(var P=0;P<k;P++)p.push(dbe(M,w)),M+=w;return p.map(function(F){var C=L5(F[0],a,s,g,v,S,_),N=C.x,I=C.y,V=L5(F[1],a,s,g,v,S,_),W=V.x,Z=V.y,re=L5(F[2],a,s,g,v,S,_),Y=re.x,B=re.y;return{x1:N,y1:I,x2:W,y2:Z,x:Y,y:B}})};const vbe={1:"Z",2:"M",4:"H",8:"V",16:"L",32:"C",64:"S",128:"Q",256:"T",512:"A"},oX=e=>{const t=new ut(e),n=[];for(const r of t.commands){const i=vbe[r.type];if((r.type===2||r.type===16)&&n.push({x:r.x,y:r.y,relative:r.relative,type:i}),r.type===32)n.push({x:r.x,y:r.y,curve:{type:"cubic",x1:r.x1,y1:r.y1,x2:r.x2,y2:r.y2},relative:r.relative,type:i});else if(r.type===128)n.push({x:r.x,y:r.y,curve:{type:"quadratic",x1:r.x1,y1:r.y1},relative:r.relative,type:i});else if(r.type===512){const o=n[n.length-1];if(!["M","L","Q","C"].includes(o.type))continue;const a=pbe({px:o.x,py:o.y,cx:r.x,cy:r.y,rx:r.rX,ry:r.rY,xAxisRotation:r.xRot,largeArcFlag:r.lArcFlag,sweepFlag:r.sweepFlag});for(const s of a)n.push({x:s.x,y:s.y,curve:{type:"cubic",x1:s.x1,y1:s.y1,x2:s.x2,y2:s.y2},relative:!1,type:"C"})}else if(r.type===1)n.push({close:!0,type:i});else continue}return n},gbe=e=>{try{const t=new ut(e),n=[],r=[];for(const i of t.commands){const o="x"in i?i.x:0,a="y"in i?i.y:0;n.push(o),r.push(a)}return{minX:Math.min(...n),minY:Math.min(...r),maxX:Math.max(...n),maxY:Math.max(...r)}}catch{return{minX:0,minY:0,maxX:0,maxY:0}}},aX=(e,t)=>e.replace(/font-size:\s*([\d.]+)pt/g,(n,r)=>`font-size: ${(parseFloat(r)*t).toFixed(1)}px`),mbe=()=>{const e=lt(),{theme:t}=De(lt()),{addSlidesFromData:n}=Q2(),{isEmptySlide:r}=gc(),i=pe(!1),o=(u,c=!1)=>{const f=u[0],d=new FileReader;d.addEventListener("load",()=>{try{const h=JSON.parse(IH(d.result));c?(e.updateSlideIndex(0),e.setSlides(h)):r.value?e.setSlides(h):n(h)}catch{gn.error("无法正确读取 / 解析该文件")}}),d.readAsText(f)},a=u=>{let c=[0,0],f=[0,0];!u.isFlipV&&!u.isFlipH?(c=[0,0],f=[u.width,u.height]):u.isFlipV&&u.isFlipH?(c=[u.width,u.height],f=[0,0]):u.isFlipV&&!u.isFlipH?(c=[0,u.height],f=[u.width,0]):(c=[u.width,0],f=[0,u.height]);const d={type:"line",id:on(10),width:u.borderWidth||1,left:u.left,top:u.top,start:c,end:f,style:u.borderType,color:u.borderColor,points:["",/straightConnector/.test(u.shapType)?"arrow":""]};return/bentConnector/.test(u.shapType)&&(d.broken2=[Math.abs(c[0]-f[0])/2,Math.abs(c[1]-f[1])/2]),d},s=(u,c,f,d,h,p,v)=>{const g=v*(Math.PI/180),m=u+f/2,y=c+d/2,R=h-f/2,A=p-d/2,x=R*Math.cos(g)+A*Math.sin(g),S=-R*Math.sin(g)+A*Math.cos(g),_=m+x,M=y+S;return{x:_,y:M}};return{importSpecificFile:o,importPPTXFile:u=>{const c=u[0];if(!c)return;i.value=!0;const f=[];for(const h of HO)f.push(...h.children);const d=new FileReader;d.onload=async h=>{const p=await CRe(h.target.result),v=96/72,g=p.size.width;e.setViewportSize(g*v);const m=[];for(const y of p.slides){const{type:R,value:A}=y.fill;let x;R==="image"?x={type:"image",image:{src:A.picBase64,size:"cover"}}:R==="gradient"?x={type:"gradient",gradient:{type:"linear",colors:A.colors.map(M=>({...M,pos:parseInt(M.pos)})),rotate:A.rot}}:x={type:"solid",color:A};const S={id:on(10),elements:[],background:x,remark:y.note||""},_=M=>{const w=M.sort((L,k)=>L.order-k.order);for(const L of w){const k=L.width||1,P=L.height||1,F=L.left,C=L.top;if(L.width=L.width*v,L.height=L.height*v,L.left=L.left*v,L.top=L.top*v,L.type==="text"){const N={type:"text",id:on(10),width:L.width,height:L.height,left:L.left,top:L.top,rotate:L.rotate,defaultFontName:t.value.fontName,defaultColor:t.value.fontColor,content:aX(L.content,v),lineHeight:1,outline:{color:L.borderColor,width:L.borderWidth,style:L.borderType},fill:L.fillColor,vertical:L.isVertical};L.shadow&&(N.shadow={h:L.shadow.h*v,v:L.shadow.v*v,blur:L.shadow.blur*v,color:L.shadow.color}),S.elements.push(N)}else if(L.type==="image")S.elements.push({type:"image",id:on(10),src:L.src,width:L.width,height:L.height,left:L.left,top:L.top,fixedRatio:!0,rotate:L.rotate,flipH:L.isFlipH,flipV:L.isFlipV});else if(L.type==="audio")S.elements.push({type:"audio",id:on(10),src:L.blob,width:L.width,height:L.height,left:L.left,top:L.top,rotate:0,fixedRatio:!1,color:t.value.themeColor,loop:!1,autoplay:!1});else if(L.type==="video")S.elements.push({type:"video",id:on(10),src:L.blob||L.src,width:L.width,height:L.height,left:L.left,top:L.top,rotate:0,autoplay:!1});else if(L.type==="shape")if(L.shapType==="line"||/Connector/.test(L.shapType)){const N=a(L);S.elements.push(N)}else{const N=f.find(W=>W.pptxShapeType===L.shapType),I={mid:"middle",down:"bottom",up:"top"},V={type:"shape",id:on(10),width:L.width,height:L.height,left:L.left,top:L.top,viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z",fill:L.fillColor||"none",fixedRatio:!1,rotate:L.rotate,outline:{color:L.borderColor,width:L.borderWidth,style:L.borderType},text:{content:aX(L.content,v),defaultFontName:t.value.fontName,defaultColor:t.value.fontColor,align:I[L.vAlign]||"middle"},flipH:L.isFlipH,flipV:L.isFlipV};if(L.shadow&&(V.shadow={h:L.shadow.h*v,v:L.shadow.v*v,blur:L.shadow.blur*v,color:L.shadow.color}),N&&(V.path=N.path,V.viewBox=N.viewBox,N.pathFormula)){V.pathFormula=N.pathFormula,V.viewBox=[L.width,L.height];const W=u0[N.pathFormula];"editable"in W&&W.editable?(V.path=W.formula(L.width,L.height,W.defaultValue),V.keypoints=W.defaultValue):V.path=W.formula(L.width,L.height)}if(L.shapType==="custom")if(L.path.indexOf("NaN")!==-1)V.path="";else{V.special=!0,V.path=L.path;const{maxX:W,maxY:Z}=gbe(V.path);V.viewBox=[W||k,Z||P]}V.path&&S.elements.push(V)}else if(L.type==="table"){const N=L.data.length,I=L.data[0].length,V={fontname:t.value.fontName,color:t.value.fontColor},W=[];for(let re=0;re<N;re++){const Y=[];for(let B=0;B<I;B++){const Q=L.data[re][B];let K=document.createElement("div");K.innerHTML=Q.text;const q=K.querySelector("p"),j=(q==null?void 0:q.style.textAlign)||"left",de=K.querySelector("span"),G=de!=null&&de.style.fontSize?(parseInt(de==null?void 0:de.style.fontSize)*v).toFixed(1)+"px":"",Ae=(de==null?void 0:de.style.fontFamily)||"",ce=(de==null?void 0:de.style.color)||Q.fontColor;Y.push({id:on(10),colspan:Q.colSpan||1,rowspan:Q.rowSpan||1,text:K.innerText,style:{...V,align:["left","right","center"].includes(j)?j:"left",fontsize:G,fontname:Ae,color:ce,bold:Q.fontBold,backcolor:Q.fillColor}}),K=null}W.push(Y)}const Z=new Array(I).fill(1/I);S.elements.push({type:"table",id:on(10),width:L.width,height:L.height,left:L.left,top:L.top,colWidths:Z,rotate:0,data:W,outline:{width:L.borderWidth||2,style:L.borderType,color:L.borderColor||"#eeece1"},cellMinHeight:36})}else if(L.type==="chart"){let N,I,V;if(L.chartType==="scatterChart"||L.chartType==="bubbleChart")N=L.data[0].map((re,Y)=>`坐标${Y+1}`),I=["X","Y"],V=L.data;else{const re=L.data;N=Object.values(re[0].xlabels),I=re.map(Y=>Y.key),V=re.map(Y=>Y.values.map(B=>B.y))}const W={};let Z="bar";switch(L.chartType){case"barChart":case"bar3DChart":Z="bar",L.barDir==="bar"&&(Z="column"),(L.grouping==="stacked"||L.grouping==="percentStacked")&&(W.stack=!0);break;case"lineChart":case"line3DChart":(L.grouping==="stacked"||L.grouping==="percentStacked")&&(W.stack=!0),Z="line";break;case"areaChart":case"area3DChart":(L.grouping==="stacked"||L.grouping==="percentStacked")&&(W.stack=!0),Z="area";break;case"scatterChart":case"bubbleChart":Z="scatter";break;case"pieChart":case"pie3DChart":Z="pie";break;case"radarChart":Z="radar";break;case"doughnutChart":Z="ring";break}S.elements.push({type:"chart",id:on(10),chartType:Z,width:L.width,height:L.height,left:L.left,top:L.top,rotate:0,themeColors:[t.value.themeColor],textColor:t.value.fontColor,data:{labels:N,legends:I,series:V},options:W})}else if(L.type==="group"){const N=L.elements.map(I=>{let V=I.left+F,W=I.top+C;if(L.rotate){const{x:Z,y:re}=s(F,C,k,P,I.left,I.top,L.rotate);V=Z,W=re}return{...I,left:V,top:W}});_(N)}else if(L.type==="diagram"){const N=L.elements.map(I=>({...I,left:I.left+F,top:I.top+C}));_(N)}}};_(y.elements),m.push(S)}e.updateSlideIndex(0),e.setSlides(m),i.value=!1},d.readAsArrayBuffer(c)},exporting:i}},ybe={class:"hotkey-doc"},Abe={class:"title"},Rbe={class:"label"},bbe={class:"value"},xbe=Xe({__name:"HotkeyDoc",setup(e){return(t,n)=>(U(),te("div",ybe,[(U(!0),te(We,null,nt(z(a2e),r=>(U(),te(We,{key:r.type},[D("div",Abe,pt(r.type),1),(U(!0),te(We,null,nt(r.children,i=>(U(),te("div",{class:"hotkey-item",key:i.label},[D("div",Rbe,pt(i.label),1),D("div",bbe,pt(i.value),1)]))),128))],64))),128))]))}}),Sbe=Be(xbe,[["__scopeId","data-v-0762be00"]]),wbe=["accept"],Mbe=Xe({__name:"FileInput",props:{accept:{default:"image/*"}},emits:["change"],setup(e,{emit:t}){const n=t,r=pe(),i=()=>{r.value&&(r.value.value="",r.value.click())},o=a=>{const s=a.target.files;s&&n("change",s)};return(a,s)=>(U(),te("div",{class:"file-input",onClick:s[1]||(s[1]=l=>i())},[ar(a.$slots,"default",{},void 0,!0),D("input",{class:"input",type:"file",name:"upload",ref_key:"inputRef",ref:r,accept:a.accept,onChange:s[0]||(s[0]=l=>o(l))},null,40,wbe)]))}}),$h=Be(Mbe,[["__scopeId","data-v-1bd53d05"]]),Lbe=e=>(en("data-v-cb40f98b"),e=e(),tn(),e),Tbe={class:"spin"},_be=Lbe(()=>D("div",{class:"spinner"},null,-1)),Obe={class:"text"},kbe=Xe({__name:"FullscreenSpin",props:{loading:{type:Boolean,default:!1},mask:{type:Boolean,default:!0},tip:{default:""}},setup(e){return(t,n)=>t.loading?(U(),te("div",{key:0,class:ze(["fullscreen-spin",{mask:t.mask}])},[D("div",Tbe,[_be,D("div",Obe,pt(t.tip),1)])],2)):Ye("",!0)}}),ey=Be(kbe,[["__scopeId","data-v-cb40f98b"]]),Pbe={class:"header"},Cbe=Xe({__name:"Drawer",props:{visible:{type:Boolean},width:{default:320},contentStyle:{},placement:{default:"right"}},emits:["update:visible"],setup(e,{emit:t}){const n=e,r=t,i=pe(!1),o=Se(()=>({width:n.width+"px",...n.contentStyle||{}}));return(a,s)=>{const l=xe("IconClose");return U(),_e(dO,{to:"body"},[O(Yh,{name:`drawer-slide-${a.placement}`,onAfterLeave:s[1]||(s[1]=u=>i.value=!1),onBeforeEnter:s[2]||(s[2]=u=>i.value=!0)},{default:ie(()=>[Ge(D("div",{class:ze(["drawer",a.placement]),style:Le({width:n.width+"px"})},[D("div",Pbe,[ar(a.$slots,"title",{},void 0,!0),D("span",{class:"close-btn",onClick:s[0]||(s[0]=u=>r("update:visible",!1))},[O(l)])]),i.value?(U(),te("div",{key:0,class:"content",style:Le(o.value)},[ar(a.$slots,"default",{},void 0,!0)],4)):Ye("",!0)],6),[[uc,a.visible]])]),_:3},8,["name"])])}}}),Ibe=Be(Cbe,[["__scopeId","data-v-46f39759"]]),Nbe={class:"prefix"},Fbe=["disabled","value","placeholder","maxlength"],Ebe={class:"suffix"},Xbe=Xe({__name:"Input",props:{value:{},disabled:{type:Boolean,default:!1},placeholder:{default:""},simple:{type:Boolean,default:!1},maxlength:{}},emits:["update:value","input","change","blur","focus","enter"],setup(e,{expose:t,emit:n}){const r=n,i=pe(!1),o=c=>{r("update:value",c.target.value)},a=c=>{i.value=!1,r("blur",c)},s=c=>{i.value=!0,r("focus",c)},l=pe();return t({focus:()=>{l.value&&l.value.focus()}}),(c,f)=>(U(),te("div",{class:ze(["input",{disabled:c.disabled,focused:i.value,simple:c.simple}])},[D("span",Nbe,[ar(c.$slots,"prefix",{},void 0,!0)]),D("input",{type:"text",ref_key:"inputRef",ref:l,disabled:c.disabled,value:c.value,placeholder:c.placeholder,maxlength:c.maxlength,onInput:f[0]||(f[0]=d=>o(d)),onFocus:f[1]||(f[1]=d=>s(d)),onBlur:f[2]||(f[2]=d=>a(d)),onChange:f[3]||(f[3]=d=>r("change",d)),onKeydown:f[4]||(f[4]=du(d=>r("enter",d),["enter"]))},null,40,Fbe),D("span",Ebe,[ar(c.$slots,"suffix",{},void 0,!0)])],2))}}),fc=Be(Xbe,[["__scopeId","data-v-4c62eb45"]]);var ia="top",_s="bottom",Os="right",oa="left",dk="auto",ty=[ia,_s,Os,oa],xv="start",t2="end",Wbe="clippingParents",BG="viewport",O1="popper",Vbe="reference",sX=ty.reduce(function(e,t){return e.concat([t+"-"+xv,t+"-"+t2])},[]),YG=[].concat(ty,[dk]).reduce(function(e,t){return e.concat([t,t+"-"+xv,t+"-"+t2])},[]),Dbe="beforeRead",Ube="read",Bbe="afterRead",Ybe="beforeMain",Zbe="main",Qbe="afterMain",Hbe="beforeWrite",Kbe="write",Gbe="afterWrite",zbe=[Dbe,Ube,Bbe,Ybe,Zbe,Qbe,Hbe,Kbe,Gbe];function hu(e){return e?(e.nodeName||"").toLowerCase():null}function Za(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function jh(e){var t=Za(e).Element;return e instanceof t||e instanceof Element}function Ss(e){var t=Za(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function hk(e){if(typeof ShadowRoot>"u")return!1;var t=Za(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Jbe(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!Ss(o)||!hu(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var s=i[a];s===!1?o.removeAttribute(a):o.setAttribute(a,s===!0?"":s)}))})}function $be(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],o=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=a.reduce(function(l,u){return l[u]="",l},{});!Ss(i)||!hu(i)||(Object.assign(i.style,s),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const ZG={name:"applyStyles",enabled:!0,phase:"write",fn:Jbe,effect:$be,requires:["computeStyles"]};function au(e){return e.split("-")[0]}var Ch=Math.max,Ex=Math.min,Sv=Math.round;function n6(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function QG(){return!/^((?!chrome|android).)*safari/i.test(n6())}function wv(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&Ss(e)&&(i=e.offsetWidth>0&&Sv(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Sv(r.height)/e.offsetHeight||1);var a=jh(e)?Za(e):window,s=a.visualViewport,l=!QG()&&n,u=(r.left+(l&&s?s.offsetLeft:0))/i,c=(r.top+(l&&s?s.offsetTop:0))/o,f=r.width/i,d=r.height/o;return{width:f,height:d,top:c,right:u+f,bottom:c+d,left:u,x:u,y:c}}function pk(e){var t=wv(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function HG(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&hk(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function dc(e){return Za(e).getComputedStyle(e)}function jbe(e){return["table","td","th"].indexOf(hu(e))>=0}function cd(e){return((jh(e)?e.ownerDocument:e.document)||window.document).documentElement}function v3(e){return hu(e)==="html"?e:e.assignedSlot||e.parentNode||(hk(e)?e.host:null)||cd(e)}function lX(e){return!Ss(e)||dc(e).position==="fixed"?null:e.offsetParent}function qbe(e){var t=/firefox/i.test(n6()),n=/Trident/i.test(n6());if(n&&Ss(e)){var r=dc(e);if(r.position==="fixed")return null}var i=v3(e);for(hk(i)&&(i=i.host);Ss(i)&&["html","body"].indexOf(hu(i))<0;){var o=dc(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function ny(e){for(var t=Za(e),n=lX(e);n&&jbe(n)&&dc(n).position==="static";)n=lX(n);return n&&(hu(n)==="html"||hu(n)==="body"&&dc(n).position==="static")?t:n||qbe(e)||t}function vk(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function sm(e,t,n){return Ch(e,Ex(t,n))}function exe(e,t,n){var r=sm(e,t,n);return r>n?n:r}function KG(){return{top:0,right:0,bottom:0,left:0}}function GG(e){return Object.assign({},KG(),e)}function zG(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var txe=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,GG(typeof t!="number"?t:zG(t,ty))};function nxe(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=au(n.placement),l=vk(s),u=[oa,Os].indexOf(s)>=0,c=u?"height":"width";if(!(!o||!a)){var f=txe(i.padding,n),d=pk(o),h=l==="y"?ia:oa,p=l==="y"?_s:Os,v=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],g=a[l]-n.rects.reference[l],m=ny(o),y=m?l==="y"?m.clientHeight||0:m.clientWidth||0:0,R=v/2-g/2,A=f[h],x=y-d[c]-f[p],S=y/2-d[c]/2+R,_=sm(A,S,x),M=l;n.modifiersData[r]=(t={},t[M]=_,t.centerOffset=_-S,t)}}function rxe(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||HG(t.elements.popper,i)&&(t.elements.arrow=i))}const ixe={name:"arrow",enabled:!0,phase:"main",fn:nxe,effect:rxe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Mv(e){return e.split("-")[1]}var oxe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function axe(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:Sv(n*i)/i||0,y:Sv(r*i)/i||0}}function uX(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,f=e.isFixed,d=a.x,h=d===void 0?0:d,p=a.y,v=p===void 0?0:p,g=typeof c=="function"?c({x:h,y:v}):{x:h,y:v};h=g.x,v=g.y;var m=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),R=oa,A=ia,x=window;if(u){var S=ny(n),_="clientHeight",M="clientWidth";if(S===Za(n)&&(S=cd(n),dc(S).position!=="static"&&s==="absolute"&&(_="scrollHeight",M="scrollWidth")),S=S,i===ia||(i===oa||i===Os)&&o===t2){A=_s;var w=f&&S===x&&x.visualViewport?x.visualViewport.height:S[_];v-=w-r.height,v*=l?1:-1}if(i===oa||(i===ia||i===_s)&&o===t2){R=Os;var L=f&&S===x&&x.visualViewport?x.visualViewport.width:S[M];h-=L-r.width,h*=l?1:-1}}var k=Object.assign({position:s},u&&oxe),P=c===!0?axe({x:h,y:v},Za(n)):{x:h,y:v};if(h=P.x,v=P.y,l){var F;return Object.assign({},k,(F={},F[A]=y?"0":"",F[R]=m?"0":"",F.transform=(x.devicePixelRatio||1)<=1?"translate("+h+"px, "+v+"px)":"translate3d("+h+"px, "+v+"px, 0)",F))}return Object.assign({},k,(t={},t[A]=y?v+"px":"",t[R]=m?h+"px":"",t.transform="",t))}function sxe(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,s=n.roundOffsets,l=s===void 0?!0:s,u={placement:au(t.placement),variation:Mv(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,uX(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,uX(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const lxe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:sxe,data:{}};var YA={passive:!0};function uxe(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,s=a===void 0?!0:a,l=Za(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(c){c.addEventListener("scroll",n.update,YA)}),s&&l.addEventListener("resize",n.update,YA),function(){o&&u.forEach(function(c){c.removeEventListener("scroll",n.update,YA)}),s&&l.removeEventListener("resize",n.update,YA)}}const cxe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:uxe,data:{}};var fxe={left:"right",right:"left",bottom:"top",top:"bottom"};function yb(e){return e.replace(/left|right|bottom|top/g,function(t){return fxe[t]})}var dxe={start:"end",end:"start"};function cX(e){return e.replace(/start|end/g,function(t){return dxe[t]})}function gk(e){var t=Za(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function mk(e){return wv(cd(e)).left+gk(e).scrollLeft}function hxe(e,t){var n=Za(e),r=cd(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;var u=QG();(u||!u&&t==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s+mk(e),y:l}}function pxe(e){var t,n=cd(e),r=gk(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=Ch(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=Ch(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+mk(e),l=-r.scrollTop;return dc(i||n).direction==="rtl"&&(s+=Ch(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}function yk(e){var t=dc(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function JG(e){return["html","body","#document"].indexOf(hu(e))>=0?e.ownerDocument.body:Ss(e)&&yk(e)?e:JG(v3(e))}function lm(e,t){var n;t===void 0&&(t=[]);var r=JG(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=Za(r),a=i?[o].concat(o.visualViewport||[],yk(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(lm(v3(a)))}function r6(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function vxe(e,t){var n=wv(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function fX(e,t,n){return t===BG?r6(hxe(e,n)):jh(t)?vxe(t,n):r6(pxe(cd(e)))}function gxe(e){var t=lm(v3(e)),n=["absolute","fixed"].indexOf(dc(e).position)>=0,r=n&&Ss(e)?ny(e):e;return jh(r)?t.filter(function(i){return jh(i)&&HG(i,r)&&hu(i)!=="body"}):[]}function mxe(e,t,n,r){var i=t==="clippingParents"?gxe(e):[].concat(t),o=[].concat(i,[n]),a=o[0],s=o.reduce(function(l,u){var c=fX(e,u,r);return l.top=Ch(c.top,l.top),l.right=Ex(c.right,l.right),l.bottom=Ex(c.bottom,l.bottom),l.left=Ch(c.left,l.left),l},fX(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function $G(e){var t=e.reference,n=e.element,r=e.placement,i=r?au(r):null,o=r?Mv(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(i){case ia:l={x:a,y:t.y-n.height};break;case _s:l={x:a,y:t.y+t.height};break;case Os:l={x:t.x+t.width,y:s};break;case oa:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var u=i?vk(i):null;if(u!=null){var c=u==="y"?"height":"width";switch(o){case xv:l[u]=l[u]-(t[c]/2-n[c]/2);break;case t2:l[u]=l[u]+(t[c]/2-n[c]/2);break}}return l}function n2(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.strategy,a=o===void 0?e.strategy:o,s=n.boundary,l=s===void 0?Wbe:s,u=n.rootBoundary,c=u===void 0?BG:u,f=n.elementContext,d=f===void 0?O1:f,h=n.altBoundary,p=h===void 0?!1:h,v=n.padding,g=v===void 0?0:v,m=GG(typeof g!="number"?g:zG(g,ty)),y=d===O1?Vbe:O1,R=e.rects.popper,A=e.elements[p?y:d],x=mxe(jh(A)?A:A.contextElement||cd(e.elements.popper),l,c,a),S=wv(e.elements.reference),_=$G({reference:S,element:R,strategy:"absolute",placement:i}),M=r6(Object.assign({},R,_)),w=d===O1?M:S,L={top:x.top-w.top+m.top,bottom:w.bottom-x.bottom+m.bottom,left:x.left-w.left+m.left,right:w.right-x.right+m.right},k=e.modifiersData.offset;if(d===O1&&k){var P=k[i];Object.keys(L).forEach(function(F){var C=[Os,_s].indexOf(F)>=0?1:-1,N=[ia,_s].indexOf(F)>=0?"y":"x";L[F]+=P[N]*C})}return L}function yxe(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?YG:l,c=Mv(r),f=c?s?sX:sX.filter(function(p){return Mv(p)===c}):ty,d=f.filter(function(p){return u.indexOf(p)>=0});d.length===0&&(d=f);var h=d.reduce(function(p,v){return p[v]=n2(e,{placement:v,boundary:i,rootBoundary:o,padding:a})[au(v)],p},{});return Object.keys(h).sort(function(p,v){return h[p]-h[v]})}function Axe(e){if(au(e)===dk)return[];var t=yb(e);return[cX(e),t,cX(t)]}function Rxe(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!0:a,l=n.fallbackPlacements,u=n.padding,c=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,p=h===void 0?!0:h,v=n.allowedAutoPlacements,g=t.options.placement,m=au(g),y=m===g,R=l||(y||!p?[yb(g)]:Axe(g)),A=[g].concat(R).reduce(function(K,q){return K.concat(au(q)===dk?yxe(t,{placement:q,boundary:c,rootBoundary:f,padding:u,flipVariations:p,allowedAutoPlacements:v}):q)},[]),x=t.rects.reference,S=t.rects.popper,_=new Map,M=!0,w=A[0],L=0;L<A.length;L++){var k=A[L],P=au(k),F=Mv(k)===xv,C=[ia,_s].indexOf(P)>=0,N=C?"width":"height",I=n2(t,{placement:k,boundary:c,rootBoundary:f,altBoundary:d,padding:u}),V=C?F?Os:oa:F?_s:ia;x[N]>S[N]&&(V=yb(V));var W=yb(V),Z=[];if(o&&Z.push(I[P]<=0),s&&Z.push(I[V]<=0,I[W]<=0),Z.every(function(K){return K})){w=k,M=!1;break}_.set(k,Z)}if(M)for(var re=p?3:1,Y=function(q){var j=A.find(function(de){var G=_.get(de);if(G)return G.slice(0,q).every(function(Ae){return Ae})});if(j)return w=j,"break"},B=re;B>0;B--){var Q=Y(B);if(Q==="break")break}t.placement!==w&&(t.modifiersData[r]._skip=!0,t.placement=w,t.reset=!0)}}const bxe={name:"flip",enabled:!0,phase:"main",fn:Rxe,requiresIfExists:["offset"],data:{_skip:!1}};function dX(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function hX(e){return[ia,Os,_s,oa].some(function(t){return e[t]>=0})}function xxe(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=n2(t,{elementContext:"reference"}),s=n2(t,{altBoundary:!0}),l=dX(a,r),u=dX(s,i,o),c=hX(l),f=hX(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}const Sxe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:xxe};function wxe(e,t,n){var r=au(e),i=[oa,ia].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[oa,Os].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function Mxe(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,a=YG.reduce(function(c,f){return c[f]=wxe(f,t.rects,o),c},{}),s=a[t.placement],l=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}const Lxe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Mxe};function Txe(e){var t=e.state,n=e.name;t.modifiersData[n]=$G({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const _xe={name:"popperOffsets",enabled:!0,phase:"read",fn:Txe,data:{}};function Oxe(e){return e==="x"?"y":"x"}function kxe(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!1:a,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,f=n.padding,d=n.tether,h=d===void 0?!0:d,p=n.tetherOffset,v=p===void 0?0:p,g=n2(t,{boundary:l,rootBoundary:u,padding:f,altBoundary:c}),m=au(t.placement),y=Mv(t.placement),R=!y,A=vk(m),x=Oxe(A),S=t.modifiersData.popperOffsets,_=t.rects.reference,M=t.rects.popper,w=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,L=typeof w=="number"?{mainAxis:w,altAxis:w}:Object.assign({mainAxis:0,altAxis:0},w),k=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(S){if(o){var F,C=A==="y"?ia:oa,N=A==="y"?_s:Os,I=A==="y"?"height":"width",V=S[A],W=V+g[C],Z=V-g[N],re=h?-M[I]/2:0,Y=y===xv?_[I]:M[I],B=y===xv?-M[I]:-_[I],Q=t.elements.arrow,K=h&&Q?pk(Q):{width:0,height:0},q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:KG(),j=q[C],de=q[N],G=sm(0,_[I],K[I]),Ae=R?_[I]/2-re-G-j-L.mainAxis:Y-G-j-L.mainAxis,ce=R?-_[I]/2+re+G+de+L.mainAxis:B+G+de+L.mainAxis,fe=t.elements.arrow&&ny(t.elements.arrow),le=fe?A==="y"?fe.clientTop||0:fe.clientLeft||0:0,$=(F=k==null?void 0:k[A])!=null?F:0,X=V+Ae-$-le,J=V+ce-$,se=sm(h?Ex(W,X):W,V,h?Ch(Z,J):Z);S[A]=se,P[A]=se-V}if(s){var ee,ne=A==="x"?ia:oa,oe=A==="x"?_s:Os,he=S[x],ue=x==="y"?"height":"width",ge=he+g[ne],Re=he-g[oe],Ee=[ia,oa].indexOf(m)!==-1,Ne=(ee=k==null?void 0:k[x])!=null?ee:0,He=Ee?ge:he-_[ue]-M[ue]-Ne+L.altAxis,Ve=Ee?he+_[ue]+M[ue]-Ne-L.altAxis:Re,we=h&&Ee?exe(He,he,Ve):sm(h?He:ge,he,h?Ve:Re);S[x]=we,P[x]=we-he}t.modifiersData[r]=P}}const Pxe={name:"preventOverflow",enabled:!0,phase:"main",fn:kxe,requiresIfExists:["offset"]};function Cxe(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Ixe(e){return e===Za(e)||!Ss(e)?gk(e):Cxe(e)}function Nxe(e){var t=e.getBoundingClientRect(),n=Sv(t.width)/e.offsetWidth||1,r=Sv(t.height)/e.offsetHeight||1;return n!==1||r!==1}function Fxe(e,t,n){n===void 0&&(n=!1);var r=Ss(t),i=Ss(t)&&Nxe(t),o=cd(t),a=wv(e,i,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((hu(t)!=="body"||yk(o))&&(s=Ixe(t)),Ss(t)?(l=wv(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=mk(o))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Exe(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&i(l)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function Xxe(e){var t=Exe(e);return zbe.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function Wxe(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Vxe(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var pX={placement:"bottom",modifiers:[],strategy:"absolute"};function vX(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function Dxe(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,o=i===void 0?pX:i;return function(s,l,u){u===void 0&&(u=o);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},pX,o),modifiersData:{},elements:{reference:s,popper:l},attributes:{},styles:{}},f=[],d=!1,h={state:c,setOptions:function(m){var y=typeof m=="function"?m(c.options):m;v(),c.options=Object.assign({},o,c.options,y),c.scrollParents={reference:jh(s)?lm(s):s.contextElement?lm(s.contextElement):[],popper:lm(l)};var R=Xxe(Vxe([].concat(r,c.options.modifiers)));return c.orderedModifiers=R.filter(function(A){return A.enabled}),p(),h.update()},forceUpdate:function(){if(!d){var m=c.elements,y=m.reference,R=m.popper;if(vX(y,R)){c.rects={reference:Fxe(y,ny(R),c.options.strategy==="fixed"),popper:pk(R)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(L){return c.modifiersData[L.name]=Object.assign({},L.data)});for(var A=0;A<c.orderedModifiers.length;A++){if(c.reset===!0){c.reset=!1,A=-1;continue}var x=c.orderedModifiers[A],S=x.fn,_=x.options,M=_===void 0?{}:_,w=x.name;typeof S=="function"&&(c=S({state:c,options:M,name:w,instance:h})||c)}}}},update:Wxe(function(){return new Promise(function(g){h.forceUpdate(),g(c)})}),destroy:function(){v(),d=!0}};if(!vX(s,l))return h;h.setOptions(u).then(function(g){!d&&u.onFirstUpdate&&u.onFirstUpdate(g)});function p(){c.orderedModifiers.forEach(function(g){var m=g.name,y=g.options,R=y===void 0?{}:y,A=g.effect;if(typeof A=="function"){var x=A({state:c,name:m,instance:h,options:R}),S=function(){};f.push(x||S)}})}function v(){f.forEach(function(g){return g()}),f=[]}return h}}var Uxe=[cxe,_xe,lxe,ZG,Lxe,bxe,Pxe,ixe,Sxe],Bxe=Dxe({defaultModifiers:Uxe}),Yxe="tippy-box",jG="tippy-content",Zxe="tippy-backdrop",qG="tippy-arrow",ez="tippy-svg-arrow",rh={passive:!0,capture:!0},tz=function(){return document.body};function T5(e,t,n){if(Array.isArray(e)){var r=e[t];return r??(Array.isArray(n)?n[t]:n)}return e}function Ak(e,t){var n={}.toString.call(e);return n.indexOf("[object")===0&&n.indexOf(t+"]")>-1}function nz(e,t){return typeof e=="function"?e.apply(void 0,t):e}function gX(e,t){if(t===0)return e;var n;return function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)}}function Qxe(e){return e.split(/\s+/).filter(Boolean)}function Ap(e){return[].concat(e)}function mX(e,t){e.indexOf(t)===-1&&e.push(t)}function Hxe(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function Kxe(e){return e.split("-")[0]}function Xx(e){return[].slice.call(e)}function yX(e){return Object.keys(e).reduce(function(t,n){return e[n]!==void 0&&(t[n]=e[n]),t},{})}function um(){return document.createElement("div")}function g3(e){return["Element","Fragment"].some(function(t){return Ak(e,t)})}function Gxe(e){return Ak(e,"NodeList")}function zxe(e){return Ak(e,"MouseEvent")}function Jxe(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function $xe(e){return g3(e)?[e]:Gxe(e)?Xx(e):Array.isArray(e)?e:Xx(document.querySelectorAll(e))}function _5(e,t){e.forEach(function(n){n&&(n.style.transitionDuration=t+"ms")})}function AX(e,t){e.forEach(function(n){n&&n.setAttribute("data-state",t)})}function jxe(e){var t,n=Ap(e),r=n[0];return r!=null&&(t=r.ownerDocument)!=null&&t.body?r.ownerDocument:document}function qxe(e,t){var n=t.clientX,r=t.clientY;return e.every(function(i){var o=i.popperRect,a=i.popperState,s=i.props,l=s.interactiveBorder,u=Kxe(a.placement),c=a.modifiersData.offset;if(!c)return!0;var f=u==="bottom"?c.top.y:0,d=u==="top"?c.bottom.y:0,h=u==="right"?c.left.x:0,p=u==="left"?c.right.x:0,v=o.top-r+f>l,g=r-o.bottom-d>l,m=o.left-n+h>l,y=n-o.right-p>l;return v||g||m||y})}function O5(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(i){e[r](i,n)})}function RX(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=n.getRootNode==null||(r=n.getRootNode())==null?void 0:r.host}return!1}var Zl={isTouch:!1},bX=0;function eSe(){Zl.isTouch||(Zl.isTouch=!0,window.performance&&document.addEventListener("mousemove",rz))}function rz(){var e=performance.now();e-bX<20&&(Zl.isTouch=!1,document.removeEventListener("mousemove",rz)),bX=e}function tSe(){var e=document.activeElement;if(Jxe(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function nSe(){document.addEventListener("touchstart",eSe,rh),window.addEventListener("blur",tSe)}var rSe=typeof window<"u"&&typeof document<"u",iSe=rSe?!!window.msCrypto:!1,oSe={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},aSe={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},ll=Object.assign({appendTo:tz,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},oSe,aSe),sSe=Object.keys(ll),lSe=function(t){var n=Object.keys(t);n.forEach(function(r){ll[r]=t[r]})};function iz(e){var t=e.plugins||[],n=t.reduce(function(r,i){var o=i.name,a=i.defaultValue;if(o){var s;r[o]=e[o]!==void 0?e[o]:(s=ll[o])!=null?s:a}return r},{});return Object.assign({},e,n)}function uSe(e,t){var n=t?Object.keys(iz(Object.assign({},ll,{plugins:t}))):sSe,r=n.reduce(function(i,o){var a=(e.getAttribute("data-tippy-"+o)||"").trim();if(!a)return i;if(o==="content")i[o]=a;else try{i[o]=JSON.parse(a)}catch{i[o]=a}return i},{});return r}function xX(e,t){var n=Object.assign({},t,{content:nz(t.content,[e])},t.ignoreAttributes?{}:uSe(e,t.plugins));return n.aria=Object.assign({},ll.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?t.interactive:n.aria.expanded,content:n.aria.content==="auto"?t.interactive?null:"describedby":n.aria.content},n}var cSe=function(){return"innerHTML"};function i6(e,t){e[cSe()]=t}function SX(e){var t=um();return e===!0?t.className=qG:(t.className=ez,g3(e)?t.appendChild(e):i6(t,e)),t}function wX(e,t){g3(t.content)?(i6(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?i6(e,t.content):e.textContent=t.content)}function o6(e){var t=e.firstElementChild,n=Xx(t.children);return{box:t,content:n.find(function(r){return r.classList.contains(jG)}),arrow:n.find(function(r){return r.classList.contains(qG)||r.classList.contains(ez)}),backdrop:n.find(function(r){return r.classList.contains(Zxe)})}}function oz(e){var t=um(),n=um();n.className=Yxe,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=um();r.className=jG,r.setAttribute("data-state","hidden"),wX(r,e.props),t.appendChild(n),n.appendChild(r),i(e.props,e.props);function i(o,a){var s=o6(t),l=s.box,u=s.content,c=s.arrow;a.theme?l.setAttribute("data-theme",a.theme):l.removeAttribute("data-theme"),typeof a.animation=="string"?l.setAttribute("data-animation",a.animation):l.removeAttribute("data-animation"),a.inertia?l.setAttribute("data-inertia",""):l.removeAttribute("data-inertia"),l.style.maxWidth=typeof a.maxWidth=="number"?a.maxWidth+"px":a.maxWidth,a.role?l.setAttribute("role",a.role):l.removeAttribute("role"),(o.content!==a.content||o.allowHTML!==a.allowHTML)&&wX(u,e.props),a.arrow?c?o.arrow!==a.arrow&&(l.removeChild(c),l.appendChild(SX(a.arrow))):l.appendChild(SX(a.arrow)):c&&l.removeChild(c)}return{popper:t,onUpdate:i}}oz.$$tippy=!0;var fSe=1,ZA=[],k5=[];function dSe(e,t){var n=xX(e,Object.assign({},ll,iz(yX(t)))),r,i,o,a=!1,s=!1,l=!1,u=!1,c,f,d,h=[],p=gX(X,n.interactiveDebounce),v,g=fSe++,m=null,y=Hxe(n.plugins),R={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},A={id:g,reference:e,popper:um(),popperInstance:m,props:n,state:R,plugins:y,clearDelayTimeouts:He,setProps:Ve,setContent:we,show:me,hide:Me,hideWithInteractivity:Ce,enable:Ee,disable:Ne,unmount:Qe,destroy:ot};if(!n.render)return A;var x=n.render(A),S=x.popper,_=x.onUpdate;S.setAttribute("data-tippy-root",""),S.id="tippy-"+A.id,A.popper=S,e._tippy=A,S._tippy=A;var M=y.map(function(ke){return ke.fn(A)}),w=e.hasAttribute("aria-expanded");return fe(),re(),V(),W("onCreate",[A]),n.showOnCreate&&ge(),S.addEventListener("mouseenter",function(){A.props.interactive&&A.state.isVisible&&A.clearDelayTimeouts()}),S.addEventListener("mouseleave",function(){A.props.interactive&&A.props.trigger.indexOf("mouseenter")>=0&&C().addEventListener("mousemove",p)}),A;function L(){var ke=A.props.touch;return Array.isArray(ke)?ke:[ke,0]}function k(){return L()[0]==="hold"}function P(){var ke;return!!((ke=A.props.render)!=null&&ke.$$tippy)}function F(){return v||e}function C(){var ke=F().parentNode;return ke?jxe(ke):document}function N(){return o6(S)}function I(ke){return A.state.isMounted&&!A.state.isVisible||Zl.isTouch||c&&c.type==="focus"?0:T5(A.props.delay,ke?0:1,ll.delay)}function V(ke){ke===void 0&&(ke=!1),S.style.pointerEvents=A.props.interactive&&!ke?"":"none",S.style.zIndex=""+A.props.zIndex}function W(ke,je,tt){if(tt===void 0&&(tt=!0),M.forEach(function(dt){dt[ke]&&dt[ke].apply(dt,je)}),tt){var Rt;(Rt=A.props)[ke].apply(Rt,je)}}function Z(){var ke=A.props.aria;if(ke.content){var je="aria-"+ke.content,tt=S.id,Rt=Ap(A.props.triggerTarget||e);Rt.forEach(function(dt){var vt=dt.getAttribute(je);if(A.state.isVisible)dt.setAttribute(je,vt?vt+" "+tt:tt);else{var wt=vt&&vt.replace(tt,"").trim();wt?dt.setAttribute(je,wt):dt.removeAttribute(je)}})}}function re(){if(!(w||!A.props.aria.expanded)){var ke=Ap(A.props.triggerTarget||e);ke.forEach(function(je){A.props.interactive?je.setAttribute("aria-expanded",A.state.isVisible&&je===F()?"true":"false"):je.removeAttribute("aria-expanded")})}}function Y(){C().removeEventListener("mousemove",p),ZA=ZA.filter(function(ke){return ke!==p})}function B(ke){if(!(Zl.isTouch&&(l||ke.type==="mousedown"))){var je=ke.composedPath&&ke.composedPath()[0]||ke.target;if(!(A.props.interactive&&RX(S,je))){if(Ap(A.props.triggerTarget||e).some(function(tt){return RX(tt,je)})){if(Zl.isTouch||A.state.isVisible&&A.props.trigger.indexOf("click")>=0)return}else W("onClickOutside",[A,ke]);A.props.hideOnClick===!0&&(A.clearDelayTimeouts(),A.hide(),s=!0,setTimeout(function(){s=!1}),A.state.isMounted||j())}}}function Q(){l=!0}function K(){l=!1}function q(){var ke=C();ke.addEventListener("mousedown",B,!0),ke.addEventListener("touchend",B,rh),ke.addEventListener("touchstart",K,rh),ke.addEventListener("touchmove",Q,rh)}function j(){var ke=C();ke.removeEventListener("mousedown",B,!0),ke.removeEventListener("touchend",B,rh),ke.removeEventListener("touchstart",K,rh),ke.removeEventListener("touchmove",Q,rh)}function de(ke,je){Ae(ke,function(){!A.state.isVisible&&S.parentNode&&S.parentNode.contains(S)&&je()})}function G(ke,je){Ae(ke,je)}function Ae(ke,je){var tt=N().box;function Rt(dt){dt.target===tt&&(O5(tt,"remove",Rt),je())}if(ke===0)return je();O5(tt,"remove",f),O5(tt,"add",Rt),f=Rt}function ce(ke,je,tt){tt===void 0&&(tt=!1);var Rt=Ap(A.props.triggerTarget||e);Rt.forEach(function(dt){dt.addEventListener(ke,je,tt),h.push({node:dt,eventType:ke,handler:je,options:tt})})}function fe(){k()&&(ce("touchstart",$,{passive:!0}),ce("touchend",J,{passive:!0})),Qxe(A.props.trigger).forEach(function(ke){if(ke!=="manual")switch(ce(ke,$),ke){case"mouseenter":ce("mouseleave",J);break;case"focus":ce(iSe?"focusout":"blur",se);break;case"focusin":ce("focusout",se);break}})}function le(){h.forEach(function(ke){var je=ke.node,tt=ke.eventType,Rt=ke.handler,dt=ke.options;je.removeEventListener(tt,Rt,dt)}),h=[]}function $(ke){var je,tt=!1;if(!(!A.state.isEnabled||ee(ke)||s)){var Rt=((je=c)==null?void 0:je.type)==="focus";c=ke,v=ke.currentTarget,re(),!A.state.isVisible&&zxe(ke)&&ZA.forEach(function(dt){return dt(ke)}),ke.type==="click"&&(A.props.trigger.indexOf("mouseenter")<0||a)&&A.props.hideOnClick!==!1&&A.state.isVisible?tt=!0:ge(ke),ke.type==="click"&&(a=!tt),tt&&!Rt&&Re(ke)}}function X(ke){var je=ke.target,tt=F().contains(je)||S.contains(je);if(!(ke.type==="mousemove"&&tt)){var Rt=ue().concat(S).map(function(dt){var vt,wt=dt._tippy,Dt=(vt=wt.popperInstance)==null?void 0:vt.state;return Dt?{popperRect:dt.getBoundingClientRect(),popperState:Dt,props:n}:null}).filter(Boolean);qxe(Rt,ke)&&(Y(),Re(ke))}}function J(ke){var je=ee(ke)||A.props.trigger.indexOf("click")>=0&&a;if(!je){if(A.props.interactive){A.hideWithInteractivity(ke);return}Re(ke)}}function se(ke){A.props.trigger.indexOf("focusin")<0&&ke.target!==F()||A.props.interactive&&ke.relatedTarget&&S.contains(ke.relatedTarget)||Re(ke)}function ee(ke){return Zl.isTouch?k()!==ke.type.indexOf("touch")>=0:!1}function ne(){oe();var ke=A.props,je=ke.popperOptions,tt=ke.placement,Rt=ke.offset,dt=ke.getReferenceClientRect,vt=ke.moveTransition,wt=P()?o6(S).arrow:null,Dt=dt?{getBoundingClientRect:dt,contextElement:dt.contextElement||F()}:e,Jt={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(xl){var Ji=xl.state;if(P()){var y0=N(),vd=y0.box;["placement","reference-hidden","escaped"].forEach(function(wu){wu==="placement"?vd.setAttribute("data-placement",Ji.placement):Ji.attributes.popper["data-popper-"+wu]?vd.setAttribute("data-"+wu,""):vd.removeAttribute("data-"+wu)}),Ji.attributes.popper={}}}},Zn=[{name:"offset",options:{offset:Rt}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!vt}},Jt];P()&&wt&&Zn.push({name:"arrow",options:{element:wt,padding:3}}),Zn.push.apply(Zn,(je==null?void 0:je.modifiers)||[]),A.popperInstance=Bxe(Dt,S,Object.assign({},je,{placement:tt,onFirstUpdate:d,modifiers:Zn}))}function oe(){A.popperInstance&&(A.popperInstance.destroy(),A.popperInstance=null)}function he(){var ke=A.props.appendTo,je,tt=F();A.props.interactive&&ke===tz||ke==="parent"?je=tt.parentNode:je=nz(ke,[tt]),je.contains(S)||je.appendChild(S),A.state.isMounted=!0,ne()}function ue(){return Xx(S.querySelectorAll("[data-tippy-root]"))}function ge(ke){A.clearDelayTimeouts(),ke&&W("onTrigger",[A,ke]),q();var je=I(!0),tt=L(),Rt=tt[0],dt=tt[1];Zl.isTouch&&Rt==="hold"&&dt&&(je=dt),je?r=setTimeout(function(){A.show()},je):A.show()}function Re(ke){if(A.clearDelayTimeouts(),W("onUntrigger",[A,ke]),!A.state.isVisible){j();return}if(!(A.props.trigger.indexOf("mouseenter")>=0&&A.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(ke.type)>=0&&a)){var je=I(!1);je?i=setTimeout(function(){A.state.isVisible&&A.hide()},je):o=requestAnimationFrame(function(){A.hide()})}}function Ee(){A.state.isEnabled=!0}function Ne(){A.hide(),A.state.isEnabled=!1}function He(){clearTimeout(r),clearTimeout(i),cancelAnimationFrame(o)}function Ve(ke){if(!A.state.isDestroyed){W("onBeforeUpdate",[A,ke]),le();var je=A.props,tt=xX(e,Object.assign({},je,yX(ke),{ignoreAttributes:!0}));A.props=tt,fe(),je.interactiveDebounce!==tt.interactiveDebounce&&(Y(),p=gX(X,tt.interactiveDebounce)),je.triggerTarget&&!tt.triggerTarget?Ap(je.triggerTarget).forEach(function(Rt){Rt.removeAttribute("aria-expanded")}):tt.triggerTarget&&e.removeAttribute("aria-expanded"),re(),V(),_&&_(je,tt),A.popperInstance&&(ne(),ue().forEach(function(Rt){requestAnimationFrame(Rt._tippy.popperInstance.forceUpdate)})),W("onAfterUpdate",[A,ke])}}function we(ke){A.setProps({content:ke})}function me(){var ke=A.state.isVisible,je=A.state.isDestroyed,tt=!A.state.isEnabled,Rt=Zl.isTouch&&!A.props.touch,dt=T5(A.props.duration,0,ll.duration);if(!(ke||je||tt||Rt)&&!F().hasAttribute("disabled")&&(W("onShow",[A],!1),A.props.onShow(A)!==!1)){if(A.state.isVisible=!0,P()&&(S.style.visibility="visible"),V(),q(),A.state.isMounted||(S.style.transition="none"),P()){var vt=N(),wt=vt.box,Dt=vt.content;_5([wt,Dt],0)}d=function(){var Zn;if(!(!A.state.isVisible||u)){if(u=!0,S.offsetHeight,S.style.transition=A.props.moveTransition,P()&&A.props.animation){var Fs=N(),xl=Fs.box,Ji=Fs.content;_5([xl,Ji],dt),AX([xl,Ji],"visible")}Z(),re(),mX(k5,A),(Zn=A.popperInstance)==null||Zn.forceUpdate(),W("onMount",[A]),A.props.animation&&P()&&G(dt,function(){A.state.isShown=!0,W("onShown",[A])})}},he()}}function Me(){var ke=!A.state.isVisible,je=A.state.isDestroyed,tt=!A.state.isEnabled,Rt=T5(A.props.duration,1,ll.duration);if(!(ke||je||tt)&&(W("onHide",[A],!1),A.props.onHide(A)!==!1)){if(A.state.isVisible=!1,A.state.isShown=!1,u=!1,a=!1,P()&&(S.style.visibility="hidden"),Y(),j(),V(!0),P()){var dt=N(),vt=dt.box,wt=dt.content;A.props.animation&&(_5([vt,wt],Rt),AX([vt,wt],"hidden"))}Z(),re(),A.props.animation?P()&&de(Rt,A.unmount):A.unmount()}}function Ce(ke){C().addEventListener("mousemove",p),mX(ZA,p),p(ke)}function Qe(){A.state.isVisible&&A.hide(),A.state.isMounted&&(oe(),ue().forEach(function(ke){ke._tippy.unmount()}),S.parentNode&&S.parentNode.removeChild(S),k5=k5.filter(function(ke){return ke!==A}),A.state.isMounted=!1,W("onHidden",[A]))}function ot(){A.state.isDestroyed||(A.clearDelayTimeouts(),A.unmount(),le(),delete e._tippy,A.state.isDestroyed=!0,W("onDestroy",[A]))}}function h0(e,t){t===void 0&&(t={});var n=ll.plugins.concat(t.plugins||[]);nSe();var r=Object.assign({},t,{plugins:n}),i=$xe(e),o=i.reduce(function(a,s){var l=s&&dSe(s,r);return l&&a.push(l),a},[]);return g3(e)?o[0]:o}h0.defaultProps=ll;h0.setDefaultProps=lSe;h0.currentInput=Zl;Object.assign({},ZG,{effect:function(t){var n=t.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}});h0.setDefaultProps({render:oz});const hSe=Xe({__name:"Popover",props:{value:{type:Boolean,default:!1},trigger:{default:"click"},placement:{default:"bottom"},appendTo:{},contentStyle:{},center:{type:Boolean,default:!1},offset:{default:8}},emits:["update:value"],setup(e,{emit:t}){const n=e,r=t,i=pe(),o=pe(),a=pe(),s=pe(!1),l=Se(()=>n.contentStyle||{});return _t(()=>n.value,()=>{i.value&&(n.value?i.value.show():i.value.hide())}),Fn(()=>{i.value&&i.value.destroy()}),Ht(()=>{i.value=h0(o.value,{content:a.value,allowHTML:!0,trigger:n.trigger,placement:n.placement,interactive:!0,appendTo:n.appendTo||document.body,maxWidth:"none",offset:[0,n.offset],duration:200,animation:"scale",theme:"popover",onShow(){s.value=!0},onShown(){n.value||r("update:value",!0)},onHidden(){n.value&&r("update:value",!1),s.value=!1}})}),(u,c)=>(U(),te("div",{class:ze(["popover",{center:u.center}]),ref_key:"triggerRef",ref:o},[D("div",{class:"popover-content",style:Le(l.value),ref_key:"contentRef",ref:a},[s.value?ar(u.$slots,"content",{key:0},void 0,!0):Ye("",!0)],4),ar(u.$slots,"default",{},void 0,!0)],2))}}),Nt=Be(hSe,[["__scopeId","data-v-6a57fbcf"]]),pSe=Xe({__name:"PopoverMenuItem",props:{center:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:t}){const n=t;return(r,i)=>(U(),te("div",{class:ze(["popover-menu-item",{center:r.center}]),onClick:i[0]||(i[0]=o=>n("click"))},[ar(r.$slots,"default",{},void 0,!0)],2))}}),Yr=Be(pSe,[["__scopeId","data-v-1f176c16"]]),vSe=e=>(en("data-v-c5f9ed82"),e=e(),tn(),e),gSe={class:"editor-header"},mSe={class:"left"},ySe={class:"menu-item"},ASe={class:"title"},RSe=["title"],bSe={class:"right"},xSe={class:"group-menu-item"},SSe={class:"arrow-btn"},wSe=vSe(()=>D("span",{class:"text"},"AI",-1)),MSe=[wSe],LSe={class:"github-link",href:"https://github.com/pipipi-pikachu/PPTist",target:"_blank"},TSe={class:"menu-item"},_Se=Xe({__name:"index",setup(e){const t=ht(),n=lt(),{title:r}=De(n),{enterScreening:i,enterScreeningFromStart:o}=ld(),{importSpecificFile:a,importPPTXFile:s,exporting:l}=mbe(),{resetSlides:u}=gc(),c=pe(!1),f=pe(!1),d=pe(!1),h=pe(),p=pe(""),v=()=>{p.value=r.value,d.value=!0,Ir(()=>{var x;return(x=h.value)==null?void 0:x.focus()})},g=()=>{n.setTitle(p.value),d.value=!1},m=x=>{window.open(x),c.value=!1},y=x=>{t.setDialogForExport(x),c.value=!1},R=()=>{t.setMarkupPanelState(!0)},A=()=>{t.setAIPPTDialogState(!0)};return(x,S)=>{const _=xe("IconHamburgerButton"),M=xe("IconPpt"),w=xe("IconDown"),L=xe("IconDownload"),k=xe("IconGithub"),P=Pn("tooltip");return U(),te("div",gSe,[D("div",mSe,[O(Nt,{trigger:"click",placement:"bottom-start",value:c.value,"onUpdate:value":S[9]||(S[9]=F=>c.value=F)},{content:ie(()=>[O(Yr,{onClick:S[0]||(S[0]=F=>{A(),c.value=!1})},{default:ie(()=>[Ue("AI 生成 PPT(测试版)")]),_:1}),O($h,{accept:"application/vnd.openxmlformats-officedocument.presentationml.presentation",onChange:S[1]||(S[1]=F=>{z(s)(F),c.value=!1})},{default:ie(()=>[O(Yr,null,{default:ie(()=>[Ue("导入 pptx 文件(测试版)")]),_:1})]),_:1}),O($h,{accept:".pptist",onChange:S[2]||(S[2]=F=>{z(a)(F),c.value=!1})},{default:ie(()=>[O(Yr,null,{default:ie(()=>[Ue("导入 pptist 文件")]),_:1})]),_:1}),O(Yr,{onClick:S[3]||(S[3]=F=>y("pptx"))},{default:ie(()=>[Ue("导出文件")]),_:1}),O(Yr,{onClick:S[4]||(S[4]=F=>{z(u)(),c.value=!1})},{default:ie(()=>[Ue("重置幻灯片")]),_:1}),O(Yr,{onClick:S[5]||(S[5]=F=>{R(),c.value=!1})},{default:ie(()=>[Ue("幻灯片类型标注")]),_:1}),O(Yr,{onClick:S[6]||(S[6]=F=>m("https://github.com/pipipi-pikachu/PPTist/issues"))},{default:ie(()=>[Ue("意见反馈")]),_:1}),O(Yr,{onClick:S[7]||(S[7]=F=>m("https://github.com/pipipi-pikachu/PPTist/blob/master/doc/Q&A.md"))},{default:ie(()=>[Ue("常见问题")]),_:1}),O(Yr,{onClick:S[8]||(S[8]=F=>{c.value=!1,f.value=!0})},{default:ie(()=>[Ue("快捷操作")]),_:1})]),default:ie(()=>[D("div",ySe,[O(_,{class:"icon"})])]),_:1},8,["value"]),D("div",ASe,[d.value?(U(),_e(fc,{key:0,class:"title-input",ref_key:"titleInputRef",ref:h,value:p.value,"onUpdate:value":S[10]||(S[10]=F=>p.value=F),onBlur:S[11]||(S[11]=F=>g())},null,8,["value"])):(U(),te("div",{key:1,class:"title-text",onClick:S[12]||(S[12]=F=>v()),title:z(r)},pt(z(r)),9,RSe))])]),D("div",bSe,[D("div",xSe,[Ge((U(),te("div",{class:"menu-item",onClick:S[13]||(S[13]=F=>z(i)())},[O(M,{class:"icon"})])),[[P,"幻灯片放映(F5)"]]),O(Nt,{trigger:"click",center:""},{content:ie(()=>[O(Yr,{onClick:S[14]||(S[14]=F=>z(o)())},{default:ie(()=>[Ue("从头开始")]),_:1}),O(Yr,{onClick:S[15]||(S[15]=F=>z(i)())},{default:ie(()=>[Ue("从当前页开始")]),_:1})]),default:ie(()=>[D("div",SSe,[O(w,{class:"arrow"})])]),_:1})]),Ge((U(),te("div",{class:"menu-item",onClick:S[16]||(S[16]=F=>{A(),c.value=!1})},MSe)),[[P,"AI生成PPT"]]),Ge((U(),te("div",{class:"menu-item",onClick:S[17]||(S[17]=F=>y("pptx"))},[O(L,{class:"icon"})])),[[P,"导出"]]),Ge((U(),te("a",LSe,[D("div",TSe,[O(k,{class:"icon"})])])),[[P,"Copyright © 2020-PRESENT pipipi-pikachu"]])]),O(Ibe,{width:320,visible:f.value,"onUpdate:visible":S[18]||(S[18]=F=>f.value=F),placement:"right"},{title:ie(()=>[Ue("快捷操作")]),default:ie(()=>[O(Sbe)]),_:1},8,["visible"]),O(ey,{loading:z(l),tip:"正在导入..."},null,8,["loading"])])}}}),OSe=Be(_Se,[["__scopeId","data-v-c5f9ed82"]]),ry=Symbol(),Rk=Symbol(),az=Symbol(),kSe=()=>{const e=window.getSelection();e&&e.removeAllRanges()},PSe=e=>{const t=pe(0),n=pe(0),r=ht(),{canvasPercentage:i,canvasDragged:o}=De(r),{viewportRatio:a,viewportSize:s}=De(lt()),l=()=>{if(!e.value)return;const h=e.value.clientWidth,p=e.value.clientHeight;if(p/h>a.value){const v=h*(i.value/100);r.setCanvasScale(v/s.value),t.value=(h-v)/2,n.value=(p-v*a.value)/2}else{const v=p*(i.value/100);r.setCanvasScale(v/(s.value*a.value)),t.value=(h-v/a.value)/2,n.value=(p-v)/2}};_t(i,(h,p)=>{if(!e.value)return;const v=e.value.clientWidth,g=e.value.clientHeight;if(g/v>a.value){const m=v*(h/100),y=v*(p/100),R=m*a.value,A=y*a.value;r.setCanvasScale(m/s.value),t.value=t.value-(m-y)/2,n.value=n.value-(R-A)/2}else{const m=g*(h/100),y=g*(p/100),R=m/a.value,A=y/a.value;r.setCanvasScale(m/(s.value*a.value)),t.value=t.value-(R-A)/2,n.value=n.value-(m-y)/2}}),_t(a,l),_t(s,l),_t(o,()=>{o.value||l()});const c=Se(()=>({width:s.value,height:s.value*a.value,left:t.value,top:n.value})),f=new ResizeObserver(l);return Ht(()=>{e.value&&f.observe(e.value)}),Fn(()=>{e.value&&f.unobserve(e.value)}),{viewportStyles:c,dragViewport:h=>{let p=!0;const v=h.pageX,g=h.pageY,m=t.value,y=n.value;document.onmousemove=R=>{if(!p)return;const A=R.pageX,x=R.pageY;t.value=m+(A-v),n.value=y+(x-g)},document.onmouseup=()=>{p=!1,document.onmousemove=null,document.onmouseup=null,r.setCanvasDragged(!0)}}}},CSe=(e,t)=>{const n=ht(),{canvasScale:r,hiddenElementIdList:i}=De(n),o=pe(!1),a=pe(1),s=pe({top:0,left:0,width:0,height:0});return{mouseSelection:s,mouseSelectionVisible:o,mouseSelectionQuadrant:a,updateMouseSelection:u=>{if(!t.value)return;let c=!0;const f=t.value.getBoundingClientRect(),d=5,h=u.pageX,p=u.pageY,v=(h-f.x)/r.value,g=(p-f.y)/r.value;s.value={top:g,left:v,width:0,height:0},o.value=!1,a.value=4,document.onmousemove=m=>{if(!c)return;const y=m.pageX,R=m.pageY,A=(y-h)/r.value,x=(R-p)/r.value,S=Math.abs(A),_=Math.abs(x);if(S<d||_<d)return;let M=0;A>0&&x>0?M=4:A<0&&x<0?M=2:A>0&&x<0?M=1:A<0&&x>0&&(M=3),s.value={...s.value,width:S,height:_},o.value=!0,a.value=M},document.onmouseup=()=>{document.onmousemove=null,document.onmouseup=null,c=!1;let m=[];for(let R=0;R<e.value.length;R++){const A=e.value[R],x=s.value.left,S=s.value.top,_=s.value.width,M=s.value.height,{minX:w,maxX:L,minY:k,maxY:P}=hs(A);let F=!1;a.value===4?F=w>x&&L<x+_&&k>S&&P<S+M:a.value===2?F=w>x-_&&L<x-_+_&&k>S-M&&P<S-M+M:a.value===1?F=w>x&&L<x+_&&k>S-M&&P<S-M+M:a.value===3&&(F=w>x-_&&L<x-_+_&&k>S&&P<S+M),F&&!A.lock&&!i.value.includes(A.id)&&m.push(A)}m=m.filter(R=>{if(R.groupId){const A=m.map(S=>S.id);return e.value.filter(S=>S.groupId===R.groupId).every(S=>A.includes(S.id))}return!0});const y=m.map(R=>R.id);n.setActiveElementIdList(y),o.value=!1}}}},ISe=e=>{const{disableHotkeys:t}=De(ht()),{createImageElement:n,createTextElement:r}=c0(),i=o=>{if(!o.dataTransfer||o.dataTransfer.items.length===0)return;const a=o.dataTransfer.items[0];if(a.kind==="file"&&a.type.indexOf("image")!==-1){const s=a.getAsFile();s&&sd(s).then(l=>n(l))}else a.kind==="string"&&a.type==="text/plain"&&a.getAsString(s=>{if(t.value)return;const l=Sx(s);r({left:0,top:0,width:600,height:50},{content:l})})};Ht(()=>{e.value&&e.value.addEventListener("drop",i),document.ondragleave=o=>o.preventDefault(),document.ondrop=o=>o.preventDefault(),document.ondragenter=o=>o.preventDefault(),document.ondragover=o=>o.preventDefault()}),Fn(()=>{e.value&&e.value.removeEventListener("drop",i),document.ondragleave=null,document.ondrop=null,document.ondragenter=null,document.ondragover=null})},NSe=(e,t)=>{const n=Math.atan2(e,t);return 180/Math.PI*n},sz=(e,t,n)=>{const r=lt(),{addHistorySnapshot:i}=nn();return{rotateElement:(a,s)=>{const l=!(a instanceof MouseEvent);if(l&&(!a.changedTouches||!a.changedTouches[0]))return;let u=!0,c=0;const f=s.rotate||0,d=s.left,h=s.top,p=s.width,v=s.height,g=d+p/2,m=h+v/2;if(!t.value)return;const y=t.value.getBoundingClientRect(),R=x=>{if(!u)return;const S=x instanceof MouseEvent?x.pageX:x.changedTouches[0].pageX,_=x instanceof MouseEvent?x.pageY:x.changedTouches[0].pageY,M=(S-y.left)/n.value,w=(_-y.top)/n.value,L=M-g,k=m-w;c=NSe(L,k);const P=5;Math.abs(c)<=P?c=0:c>0&&Math.abs(c-45)<=P?c-=c-45:c<0&&Math.abs(c+45)<=P?c-=c+45:c>0&&Math.abs(c-90)<=P?c-=c-90:c<0&&Math.abs(c+90)<=P?c-=c+90:c>0&&Math.abs(c-135)<=P?c-=c-135:c<0&&Math.abs(c+135)<=P?c-=c+135:c>0&&Math.abs(c-180)<=P?c-=c-180:c<0&&Math.abs(c+180)<=P&&(c-=c+180),e.value=e.value.map(F=>s.id===F.id?{...F,rotate:c}:F)},A=()=>{u=!1,document.onmousemove=null,document.onmouseup=null,f!==c&&(r.updateSlide({elements:e.value}),i())};l?(document.ontouchmove=R,document.ontouchend=A):(document.onmousemove=R,document.onmouseup=A)}}},Mg={text:"文本",image:"图片",shape:"形状",line:"线条",chart:"图表",table:"表格",video:"视频",audio:"音频",latex:"公式"},lz={text:40,image:20,shape:20,chart:200,table:30,video:250,audio:20,latex:20},MX=(e,t)=>{const{left:n,top:r,width:i,height:o}=e,a=Math.sqrt(Math.pow(i,2)+Math.pow(o,2))/2,s=Math.atan(o/i)*180/Math.PI,l=(180-t-s)*Math.PI/180,u=(s-t)*Math.PI/180,c=(90-t)*Math.PI/180,f=t*Math.PI/180,d=i/2,h=o/2,p=n+d,v=r+h,g={left:p+a*Math.cos(l),top:v-a*Math.sin(l)},m={left:p+h*Math.cos(c),top:v-h*Math.sin(c)},y={left:p+a*Math.cos(u),top:v-a*Math.sin(u)},R={left:p+d*Math.cos(f),top:v+d*Math.sin(f)},A={left:p-a*Math.cos(l),top:v+a*Math.sin(l)},x={left:p-h*Math.sin(f),top:v+h*Math.cos(f)},S={left:p-a*Math.cos(u),top:v+a*Math.sin(u)},_={left:p-d*Math.cos(f),top:v-d*Math.sin(f)};return{leftTopPoint:g,topPoint:m,rightTopPoint:y,rightPoint:R,rightBottomPoint:A,bottomPoint:x,leftBottomPoint:S,leftPoint:_}},LX=(e,t)=>({[bt.RIGHT_BOTTOM]:t.leftTopPoint,[bt.LEFT_BOTTOM]:t.rightTopPoint,[bt.LEFT_TOP]:t.rightBottomPoint,[bt.RIGHT_TOP]:t.leftBottomPoint,[bt.TOP]:t.bottomPoint,[bt.BOTTOM]:t.topPoint,[bt.LEFT]:t.rightPoint,[bt.RIGHT]:t.leftPoint})[e],uz=(e,t,n)=>{const r=ht(),i=lt(),{activeElementIdList:o,activeGroupElementId:a}=De(r),{viewportRatio:s,viewportSize:l}=De(i),{ctrlOrShiftKeyActive:u}=De(pl()),{addHistorySnapshot:c}=nn();return{scaleElement:(h,p,v)=>{const g=!(h instanceof MouseEvent);if(g&&(!h.changedTouches||!h.changedTouches[0]))return;let m=!0;r.setScalingState(!0);const y=p.left,R=p.top,A=p.width,x=p.height,S=p.type==="table"?p.cellMinHeight:0,_="rotate"in p&&p.rotate?p.rotate:0,M=Math.PI*_/180,w=u.value||"fixedRatio"in p&&p.fixedRatio,L=A/x,k=g?h.changedTouches[0].pageX:h.pageX,P=g?h.changedTouches[0].pageY:h.pageY,F=lz[p.type]||20,C=(Q,K)=>{if(!w)return Q<F?F:Q;let q=F,j=F;const de=p.width/p.height;return de<1&&(j=F/de),de>1&&(q=F*de),K==="width"?Q<q?q:Q:Q<j?j:Q};let N,I=0,V=0,W=[],Z=[];if("rotate"in p&&p.rotate){const{left:Q,top:K,width:q,height:j}=p;N=MX({left:Q,top:K,width:q,height:j},_);const de=LX(v,N);I=de.left,V=de.top}else{const Q=l.value,K=l.value*s.value,q=p.id===a.value;for(const le of e.value){if("rotate"in le&&le.rotate||le.type==="line"||q&&le.id===p.id||!q&&o.value.includes(le.id))continue;const $=le.left,X=le.top,J=le.width,se=le.height,ee=$+J,ne=X+se,oe={value:X,range:[$,ee]},he={value:ne,range:[$,ee]},ue={value:$,range:[X,ne]},ge={value:ee,range:[X,ne]};W.push(oe,he),Z.push(ue,ge)}const j={value:0,range:[0,Q]},de={value:K,range:[0,Q]},G={value:K/2,range:[0,Q]},Ae={value:0,range:[0,K]},ce={value:Q,range:[0,K]},fe={value:Q/2,range:[0,K]};W.push(j,de,G),Z.push(Ae,ce,fe),W=xx(W),Z=xx(Z)}const re=(Q,K)=>{const j=[];let de=!1,G=!1;const Ae={offsetX:0,offsetY:0};if(K||K===0)for(let ce=0;ce<W.length;ce++){const{value:fe,range:le}=W[ce],$=Math.min(...le,Q||0),X=Math.max(...le,Q||0);Math.abs(K-fe)<5&&!G&&(Ae.offsetY=K-fe,G=!0,j.push({type:"horizontal",axis:{x:$-50,y:fe},length:X-$+100}))}if(Q||Q===0)for(let ce=0;ce<Z.length;ce++){const{value:fe,range:le}=Z[ce],$=Math.min(...le,K||0),X=Math.max(...le,K||0);Math.abs(Q-fe)<5&&!de&&(Ae.offsetX=Q-fe,de=!0,j.push({type:"vertical",axis:{x:fe,y:$-50},length:X-$+100}))}return t.value=j,Ae},Y=Q=>{if(!m)return;const K=Q instanceof MouseEvent?Q.pageX:Q.changedTouches[0].pageX,q=Q instanceof MouseEvent?Q.pageY:Q.changedTouches[0].pageY,j=K-k,de=q-P;let G=A,Ae=x,ce=y,fe=R;if(_){const le=(Math.cos(M)*j+Math.sin(M)*de)/n.value;let $=(Math.cos(M)*de-Math.sin(M)*j)/n.value;w&&((v===bt.RIGHT_BOTTOM||v===bt.LEFT_TOP)&&($=le/L),(v===bt.LEFT_BOTTOM||v===bt.RIGHT_TOP)&&($=-le/L)),v===bt.RIGHT_BOTTOM?(G=C(A+le,"width"),Ae=C(x+$,"height")):v===bt.LEFT_BOTTOM?(G=C(A-le,"width"),Ae=C(x+$,"height"),ce=y-(G-A)):v===bt.LEFT_TOP?(G=C(A-le,"width"),Ae=C(x-$,"height"),ce=y-(G-A),fe=R-(Ae-x)):v===bt.RIGHT_TOP?(G=C(A+le,"width"),Ae=C(x-$,"height"),fe=R-(Ae-x)):v===bt.TOP?(Ae=C(x-$,"height"),fe=R-(Ae-x)):v===bt.BOTTOM?Ae=C(x+$,"height"):v===bt.LEFT?(G=C(A-le,"width"),ce=y-(G-A)):v===bt.RIGHT&&(G=C(A+le,"width"));const X=MX({width:G,height:Ae,left:ce,top:fe},_),J=LX(v,X),se=J.left,ee=J.top,ne=se-I,oe=ee-V;ce=ce-ne,fe=fe-oe}else{let le=j/n.value,$=de/n.value;if(w&&((v===bt.RIGHT_BOTTOM||v===bt.LEFT_TOP)&&($=le/L),(v===bt.LEFT_BOTTOM||v===bt.RIGHT_TOP)&&($=-le/L)),v===bt.RIGHT_BOTTOM){const{offsetX:X,offsetY:J}=re(y+A+le,R+x+$);le=le-X,$=$-J,w&&(J?le=$*L:$=le/L),G=C(A+le,"width"),Ae=C(x+$,"height")}else if(v===bt.LEFT_BOTTOM){const{offsetX:X,offsetY:J}=re(y+le,R+x+$);le=le-X,$=$-J,w&&(J?le=-$*L:$=-le/L),G=C(A-le,"width"),Ae=C(x+$,"height"),ce=y-(G-A)}else if(v===bt.LEFT_TOP){const{offsetX:X,offsetY:J}=re(y+le,R+$);le=le-X,$=$-J,w&&(J?le=$*L:$=le/L),G=C(A-le,"width"),Ae=C(x-$,"height"),ce=y-(G-A),fe=R-(Ae-x)}else if(v===bt.RIGHT_TOP){const{offsetX:X,offsetY:J}=re(y+A+le,R+$);le=le-X,$=$-J,w&&(J?le=-$*L:$=-le/L),G=C(A+le,"width"),Ae=C(x-$,"height"),fe=R-(Ae-x)}else if(v===bt.LEFT){const{offsetX:X}=re(y+le,null);le=le-X,G=C(A-le,"width"),ce=y-(G-A)}else if(v===bt.RIGHT){const{offsetX:X}=re(y+A+le,null);le=le-X,G=C(A+le,"width")}else if(v===bt.TOP){const{offsetY:X}=re(null,R+$);$=$-X,Ae=C(x-$,"height"),fe=R-(Ae-x)}else if(v===bt.BOTTOM){const{offsetY:X}=re(null,R+x+$);$=$-X,Ae=C(x+$,"height")}}e.value=e.value.map(le=>{if(p.id!==le.id)return le;if(le.type==="shape"&&"pathFormula"in le&&le.pathFormula){const $=u0[le.pathFormula];let X="";return"editable"in $?X=$.formula(G,Ae,le.keypoints):X=$.formula(G,Ae),{...le,left:ce,top:fe,width:G,height:Ae,viewBox:[G,Ae],path:X}}if(le.type==="table"){let $=S+(Ae-x)/le.data.length;return $=$<36?36:$,$===S?{...le,left:ce,width:G}:{...le,left:ce,top:fe,width:G,height:Ae,cellMinHeight:$<36?36:$}}return{...le,left:ce,top:fe,width:G,height:Ae}})},B=Q=>{m=!1,document.ontouchmove=null,document.ontouchend=null,document.onmousemove=null,document.onmouseup=null,t.value=[];const K=Q instanceof MouseEvent?Q.pageX:Q.changedTouches[0].pageX,q=Q instanceof MouseEvent?Q.pageY:Q.changedTouches[0].pageY;k===K&&P===q||(i.updateSlide({elements:e.value}),r.setScalingState(!1),c())};g?(document.ontouchmove=Y,document.ontouchend=B):(document.onmousemove=Y,document.onmouseup=B)},scaleMultiElement:(h,p,v)=>{let g=!0;const{minX:m,maxX:y,minY:R,maxY:A}=p,x=y-m,S=A-R,_=x/S,M=h.pageX,w=h.pageY,L=JSON.parse(JSON.stringify(e.value));document.onmousemove=k=>{if(!g)return;const P=k.pageX,F=k.pageY,C=(P-M)/n.value;let N=(F-w)/n.value;u.value&&((v===bt.RIGHT_BOTTOM||v===bt.LEFT_TOP)&&(N=C/_),(v===bt.LEFT_BOTTOM||v===bt.RIGHT_TOP)&&(N=-C/_));let I=m,V=y,W=R,Z=A;v===bt.RIGHT_BOTTOM?(V=y+C,Z=A+N):v===bt.LEFT_BOTTOM?(I=m+C,Z=A+N):v===bt.LEFT_TOP?(I=m+C,W=R+N):v===bt.RIGHT_TOP?(V=y+C,W=R+N):v===bt.TOP?W=R+N:v===bt.BOTTOM?Z=A+N:v===bt.LEFT?I=m+C:v===bt.RIGHT&&(V=y+C);const re=V-I,Y=Z-W;let B=re/x,Q=Y/S;B<=0&&(B=0),Q<=0&&(Q=0),e.value=e.value.map(K=>{if((K.type==="image"||K.type==="shape")&&o.value.includes(K.id)){const q=L.find(j=>j.id===K.id);return{...K,width:q.width*B,height:q.height*Q,left:I+(q.left-m)*B,top:W+(q.top-R)*Q}}return K})},document.onmouseup=k=>{g=!1,document.onmousemove=null,document.onmouseup=null,!(M===k.pageX&&w===k.pageY)&&(i.updateSlide({elements:e.value}),c())}}}},FSe=(e,t)=>{const n=ht(),{activeElementIdList:r,activeGroupElementId:i,handleElementId:o,editorAreaFocus:a}=De(n),{ctrlOrShiftKeyActive:s}=De(pl());return{selectElement:(u,c,f=!0)=>{if(a.value||n.setEditorareaFocus(!0),r.value.includes(c.id)){if(s.value){let d=[];if(c.groupId){const h=[];e.value.forEach(p=>{p.groupId===c.groupId&&h.push(p.id)}),d=r.value.filter(p=>!h.includes(p))}else d=r.value.filter(h=>h!==c.id);d.length>0&&n.setActiveElementIdList(d)}else if(o.value!==c.id)n.setHandleElementId(c.id);else if(i.value!==c.id){const d=u instanceof MouseEvent?u.pageX:u.changedTouches[0].pageX,h=u instanceof MouseEvent?u.pageY:u.changedTouches[0].pageY;u.target.onmouseup=p=>{const v=p.pageX,g=p.pageY;d===v&&h===g&&(n.setActiveGroupElementId(c.id),p.target.onmouseup=null)}}}else{let d=[];if(s.value?d=[...r.value,c.id]:d=[c.id],c.groupId){const h=[];e.value.forEach(p=>{p.groupId===c.groupId&&h.push(p.id)}),d=[...d,...h]}n.setActiveElementIdList(Yn.uniq(d)),n.setHandleElementId(c.id)}f&&t(u,c)}}},cz=(e,t,n)=>{const r=lt(),{activeElementIdList:i,activeGroupElementId:o}=De(ht()),{shiftKeyState:a}=De(pl()),{viewportRatio:s,viewportSize:l}=De(r),{addHistorySnapshot:u}=nn();return{dragElement:(f,d)=>{const h=!(f instanceof MouseEvent);if(h&&(!f.changedTouches||!f.changedTouches[0])||!i.value.includes(d.id))return;let p=!0;const v=l.value,g=l.value*s.value,m=5,R=JSON.parse(JSON.stringify(e.value)).filter(Q=>i.value.includes(Q.id)),A=d.left,x=d.top,S=d.width,_="height"in d&&d.height?d.height:0,M="rotate"in d&&d.rotate?d.rotate:0,w=h?f.changedTouches[0].pageX:f.pageX,L=h?f.changedTouches[0].pageY:f.pageY;let k=null;const P=d.id===o.value;let F=[],C=[];for(const Q of e.value){if(Q.type==="line"||P&&Q.id===d.id||!P&&i.value.includes(Q.id))continue;let K,q,j,de;if("rotate"in Q&&Q.rotate){const{xRange:ne,yRange:oe}=qp({left:Q.left,top:Q.top,width:Q.width,height:Q.height,rotate:Q.rotate});K=ne[0],q=oe[0],j=ne[1]-ne[0],de=oe[1]-oe[0]}else K=Q.left,q=Q.top,j=Q.width,de=Q.height;const G=K+j,Ae=q+de,ce=q+de/2,fe=K+j/2,le={value:q,range:[K,G]},$={value:Ae,range:[K,G]},X={value:ce,range:[K,G]},J={value:K,range:[q,Ae]},se={value:G,range:[q,Ae]},ee={value:fe,range:[q,Ae]};F.push(le,$,X),C.push(J,se,ee)}const N={value:0,range:[0,v]},I={value:g,range:[0,v]},V={value:g/2,range:[0,v]},W={value:0,range:[0,g]},Z={value:v,range:[0,g]},re={value:v/2,range:[0,g]};F.push(N,I,V),C.push(W,Z,re),F=xx(F),C=xx(C);const Y=Q=>{const K=Q instanceof MouseEvent?Q.pageX:Q.changedTouches[0].pageX,q=Q instanceof MouseEvent?Q.pageY:Q.changedTouches[0].pageY;if(k!==!1&&(k=Math.abs(w-K)<m&&Math.abs(L-q)<m),!p||k)return;let j=(K-w)/n.value,de=(q-L)/n.value;a.value&&(Math.abs(j)>Math.abs(de)&&(de=0),Math.abs(j)<Math.abs(de)&&(j=0));let G=A+j,Ae=x+de,ce,fe,le,$;if(i.value.length===1||P)if(M){const{xRange:oe,yRange:he}=qp({left:G,top:Ae,width:S,height:_,rotate:M});ce=oe[0],fe=oe[1],le=he[0],$=he[1]}else d.type==="line"?(ce=G,fe=G+Math.max(d.start[0],d.end[0]),le=Ae,$=Ae+Math.max(d.start[1],d.end[1])):(ce=G,fe=G+S,le=Ae,$=Ae+_);else{const oe=[],he=[],ue=[],ge=[];for(let Re=0;Re<R.length;Re++){const Ee=R[Re],Ne=Ee.left+j,He=Ee.top+de,Ve=Ee.width,we="height"in Ee&&Ee.height?Ee.height:0,me="rotate"in Ee&&Ee.rotate?Ee.rotate:0;if("rotate"in Ee&&Ee.rotate){const{xRange:Me,yRange:Ce}=qp({left:Ne,top:He,width:Ve,height:we,rotate:me});oe.push(Me[0]),he.push(Ce[0]),ue.push(Me[1]),ge.push(Ce[1])}else Ee.type==="line"?(oe.push(Ne),he.push(He),ue.push(Ne+Math.max(Ee.start[0],Ee.end[0])),ge.push(He+Math.max(Ee.start[1],Ee.end[1]))):(oe.push(Ne),he.push(He),ue.push(Ne+Ve),ge.push(He+we))}ce=Math.min(...oe),fe=Math.max(...ue),le=Math.min(...he),$=Math.max(...ge)}const X=ce+(fe-ce)/2,J=le+($-le)/2,se=[];let ee=!1,ne=!1;for(let oe=0;oe<F.length;oe++){const{value:he,range:ue}=F[oe],ge=Math.min(...ue,ce,fe),Re=Math.max(...ue,ce,fe);Math.abs(le-he)<m&&!ne&&(Ae=Ae-(le-he),ne=!0,se.push({type:"horizontal",axis:{x:ge-50,y:he},length:Re-ge+100})),Math.abs($-he)<m&&!ne&&(Ae=Ae-($-he),ne=!0,se.push({type:"horizontal",axis:{x:ge-50,y:he},length:Re-ge+100})),Math.abs(J-he)<m&&!ne&&(Ae=Ae-(J-he),ne=!0,se.push({type:"horizontal",axis:{x:ge-50,y:he},length:Re-ge+100}))}for(let oe=0;oe<C.length;oe++){const{value:he,range:ue}=C[oe],ge=Math.min(...ue,le,$),Re=Math.max(...ue,le,$);Math.abs(ce-he)<m&&!ee&&(G=G-(ce-he),ee=!0,se.push({type:"vertical",axis:{x:he,y:ge-50},length:Re-ge+100})),Math.abs(fe-he)<m&&!ee&&(G=G-(fe-he),ee=!0,se.push({type:"vertical",axis:{x:he,y:ge-50},length:Re-ge+100})),Math.abs(X-he)<m&&!ee&&(G=G-(X-he),ee=!0,se.push({type:"vertical",axis:{x:he,y:ge-50},length:Re-ge+100}))}if(t.value=se,i.value.length===1||P)e.value=e.value.map(oe=>oe.id===d.id?{...oe,left:G,top:Ae}:oe);else{const oe=e.value.find(he=>he.id===d.id);if(!oe)return;e.value=e.value.map(he=>i.value.includes(he.id)?he.id===d.id?{...he,left:G,top:Ae}:{...he,left:he.left+(G-oe.left),top:he.top+(Ae-oe.top)}:he)}},B=Q=>{p=!1,document.ontouchmove=null,document.ontouchend=null,document.onmousemove=null,document.onmouseup=null,t.value=[];const K=Q instanceof MouseEvent?Q.pageX:Q.changedTouches[0].pageX,q=Q instanceof MouseEvent?Q.pageY:Q.changedTouches[0].pageY;w===K&&L===q||(r.updateSlide({elements:e.value}),u())};h?(document.ontouchmove=Y,document.ontouchend=B):(document.onmousemove=Y,document.onmouseup=B)}}},ESe=e=>{const t=lt(),{canvasScale:n}=De(ht()),{ctrlOrShiftKeyActive:r}=De(pl()),{addHistorySnapshot:i}=nn();return{dragLineElement:(a,s,l)=>{let u=!0;const c=8,f=a.pageX,d=a.pageY,h=[];for(let p=0;p<e.value.length;p++){const v=e.value[p];if(v.type==="line"||v.rotate)continue;const g=v.left,m=v.top,y=v.width,R=v.height,A=g+y,x=m+R,S=m+R/2,_=g+y/2,M={x:_,y:m},w={x:_,y:x},L={x:g,y:S},k={x:A,y:S},P={x:g,y:m},F={x:A,y:m},C={x:g,y:x},N={x:A,y:x};h.push(M,w,L,k,P,F,C,N)}document.onmousemove=p=>{if(!u)return;const v=p.pageX,g=p.pageY,m=(v-f)/n.value,y=(g-d)/n.value;let R=s.left+s.start[0],A=s.top+s.start[1],x=s.left+s.end[0],S=s.top+s.end[1];const _=s.broken||s.broken2||s.curve||[0,0];let M=s.left+_[0],w=s.top+_[1];const[L,k]=s.cubic||[[0,0],[0,0]];let P=s.left+L[0],F=s.top+L[1],C=s.left+k[0],N=s.top+k[1];if(l===Ho.START){R=R+m,A=A+y,Math.abs(R-x)<c&&(R=x),Math.abs(A-S)<c&&(A=S);for(const B of h){const{x:Q,y:K}=B;if(Math.abs(Q-R)<c&&Math.abs(K-A)<c){R=Q,A=K;break}}}else if(l===Ho.END){x=x+m,S=S+y,Math.abs(R-x)<c&&(x=R),Math.abs(A-S)<c&&(S=A);for(const B of h){const{x:Q,y:K}=B;if(Math.abs(Q-x)<c&&Math.abs(K-S)<c){x=Q,S=K;break}}}else l===Ho.C?(M=M+m,w=w+y,Math.abs(M-R)<c&&(M=R),Math.abs(w-A)<c&&(w=A),Math.abs(M-x)<c&&(M=x),Math.abs(w-S)<c&&(w=S),Math.abs(M-(R+x)/2)<c&&Math.abs(w-(A+S)/2)<c&&(M=(R+x)/2,w=(A+S)/2)):l===Ho.C1?(P=P+m,F=F+y,Math.abs(P-R)<c&&(P=R),Math.abs(F-A)<c&&(F=A),Math.abs(P-x)<c&&(P=x),Math.abs(F-S)<c&&(F=S)):l===Ho.C2&&(C=C+m,N=N+y,Math.abs(C-R)<c&&(C=R),Math.abs(N-A)<c&&(N=A),Math.abs(C-x)<c&&(C=x),Math.abs(N-S)<c&&(N=S));const I=Math.min(R,x),V=Math.min(A,S),W=Math.max(R,x),Z=Math.max(A,S),re=[0,0],Y=[W-I,Z-V];R>x&&(re[0]=W-I,Y[0]=0),A>S&&(re[1]=Z-V,Y[1]=0),e.value=e.value.map(B=>{if(B.id===s.id){const Q={...B,left:I,top:V,start:re,end:Y};return l===Ho.START||l===Ho.END?(r.value?(s.broken&&(Q.broken=[M-I,w-V]),s.curve&&(Q.curve=[M-I,w-V]),s.cubic&&(Q.cubic=[[P-I,F-V],[C-I,N-V]])):(s.broken&&(Q.broken=[(re[0]+Y[0])/2,(re[1]+Y[1])/2]),s.curve&&(Q.curve=[(re[0]+Y[0])/2,(re[1]+Y[1])/2]),s.cubic&&(Q.cubic=[[(re[0]+Y[0])/2,(re[1]+Y[1])/2],[(re[0]+Y[0])/2,(re[1]+Y[1])/2]])),s.broken2&&(Q.broken2=[(re[0]+Y[0])/2,(re[1]+Y[1])/2])):l===Ho.C?(s.broken&&(Q.broken=[M-I,w-V]),s.curve&&(Q.curve=[M-I,w-V]),s.broken2&&(W-I>=Z-V?Q.broken2=[M-I,Q.broken2[1]]:Q.broken2=[Q.broken2[0],w-V])):s.cubic&&(Q.cubic=[[P-I,F-V],[C-I,N-V]]),Q}return B})},document.onmouseup=p=>{u=!1,document.onmousemove=null,document.onmouseup=null;const v=p.pageX,g=p.pageY;f===v&&d===g||(t.updateSlide({elements:e.value}),i())}}}},XSe=(e,t)=>{const n=lt(),{addHistorySnapshot:r}=nn();return{moveShapeKeypoint:(o,a,s=0)=>{const l=!(o instanceof MouseEvent);if(l&&(!o.changedTouches||!o.changedTouches[0]))return;let u=!0;const c=l?o.changedTouches[0].pageX:o.pageX,f=l?o.changedTouches[0].pageY:o.pageY,d=a.keypoints,h=u0[a.pathFormula];let p=null;if("editable"in h&&h.editable){const m=h.getBaseSize[s],y=h.range[s],R=h.relative[s],A=d[s],x=m(a.width,a.height),S=x*A,[_,M]=y;p={baseSize:x,originPos:S,min:_,max:M,relative:R}}const v=m=>{if(!u)return;const y=m instanceof MouseEvent?m.pageX:m.changedTouches[0].pageX,R=m instanceof MouseEvent?m.pageY:m.changedTouches[0].pageY,A=(y-c)/t.value,x=(R-f)/t.value;e.value=e.value.map(S=>{if(S.id===a.id&&p){const{baseSize:_,originPos:M,min:w,max:L,relative:k}=p,P=S;let F=0;k==="center"?F=(M-A*2)/_:k==="left"?F=(M+A)/_:k==="right"?F=(M-A)/_:k==="top"?F=(M+x)/_:k==="bottom"?F=(M-x)/_:k==="left_bottom"?F=(M+A)/_:k==="right_bottom"?F=(M-A)/_:k==="top_right"?F=(M+x)/_:k==="bottom_right"&&(F=(M-x)/_),F<w&&(F=w),F>L&&(F=L);let C=[];return Array.isArray(d)?(C=[...d],C[s]=F):C=[F],{...S,keypoints:C,path:h.formula(P.width,P.height,C)}}return S})},g=m=>{u=!1,document.ontouchmove=null,document.ontouchend=null,document.onmousemove=null,document.onmouseup=null;const y=m instanceof MouseEvent?m.pageX:m.changedTouches[0].pageX,R=m instanceof MouseEvent?m.pageY:m.changedTouches[0].pageY;c===y&&f===R||(n.updateSlide({elements:e.value}),r())};l?(document.ontouchmove=v,document.ontouchend=g):(document.onmousemove=v,document.onmouseup=g)}}},WSe=e=>{const t=ht(),{canvasScale:n,creatingElement:r}=De(t),i=c=>{const{start:f,end:d}=c;if(!e.value)return;const h=e.value.getBoundingClientRect(),[p,v]=f,[g,m]=d,y=Math.min(p,g),R=Math.max(p,g),A=Math.min(v,m),x=Math.max(v,m),S=(y-h.x)/n.value,_=(A-h.y)/n.value,M=(R-y)/n.value,w=(x-A)/n.value;return{left:S,top:_,width:M,height:w}},o=c=>{const{start:f,end:d}=c;if(!e.value)return;const h=e.value.getBoundingClientRect(),[p,v]=f,[g,m]=d,y=Math.min(p,g),R=Math.max(p,g),A=Math.min(v,m),x=Math.max(v,m),S=(y-h.x)/n.value,_=(A-h.y)/n.value,M=(R-y)/n.value,w=(x-A)/n.value;return{left:S,top:_,start:[p===y?0:M,v===A?0:w],end:[g===y?0:M,m===A?0:w]}},{createTextElement:a,createShapeElement:s,createLineElement:l}=c0();return{formatCreateSelection:i,insertElementFromCreateSelection:c=>{if(!r.value)return;const f=r.value.type;if(f==="text"){const d=i(c);d&&a(d,{vertical:r.value.vertical})}else if(f==="shape"){const d=i(c);d&&s(d,r.value.data)}else if(f==="line"){const d=o(c);d&&l(d,r.value.data)}t.setCreatingElement(null)}}},m3=()=>{const e=lt(),{activeElementIdList:t,activeElementList:n}=De(ht()),{currentSlide:r,viewportRatio:i,viewportSize:o}=De(e),{addHistorySnapshot:a}=nn();return{alignElementToCanvas:l=>{const u=o.value,c=o.value*i.value,{minX:f,maxX:d,minY:h,maxY:p}=ju(n.value),v=JSON.parse(JSON.stringify(r.value.elements));for(const g of v)if(t.value.includes(g.id)){if(l===pn.CENTER){const m=h+(p-h)/2-c/2,y=f+(d-f)/2-u/2;g.top=g.top-m,g.left=g.left-y}if(l===pn.TOP){const m=h-0;g.top=g.top-m}else if(l===pn.VERTICAL){const m=h+(p-h)/2-c/2;g.top=g.top-m}else if(l===pn.BOTTOM){const m=p-c;g.top=g.top-m}else if(l===pn.LEFT){const m=f-0;g.left=g.left-m}else if(l===pn.HORIZONTAL){const m=f+(d-f)/2-u/2;g.left=g.left-m}else if(l===pn.RIGHT){const m=d-u;g.left=g.left-m}}e.updateSlide({elements:v}),a()}}},fd=e=>({shadowStyle:Se(()=>{if(e.value){const{h:n,v:r,blur:i,color:o}=e.value;return`${n}px ${r}px ${i}px ${o}`}return""})}),y3=(e,t)=>({flipStyle:Se(()=>{let r="";return e.value&&t.value?r="rotateX(180deg) rotateY(180deg)":t.value?r="rotateX(180deg)":e.value&&(r="rotateY(180deg)"),r})});var fz=(e=>(e.RECT="rect",e.ELLIPSE="ellipse",e.POLYGON="polygon",e))(fz||{});const a6={rect:{name:"矩形",type:"rect",radius:"0",style:""},rect2:{name:"矩形2",type:"polygon",style:"polygon(0% 0%, 80% 0%, 100% 20%, 100% 100%, 0 100%)",createPath:(e,t)=>`M 0 0 L ${e*.8} 0 L ${e} ${t*.2} L ${e} ${t} L 0 ${t} Z`},rect3:{name:"矩形3",type:"polygon",style:"polygon(0% 0%, 80% 0%, 100% 20%, 100% 100%, 20% 100%, 0% 80%)",createPath:(e,t)=>`M 0 0 L ${e*.8} 0 L ${e} ${t*.2} L ${e} ${t} L ${e*.2} ${t} L 0 ${t*.8} Z`},roundRect:{name:"圆角矩形",type:"rect",radius:"10px",style:"inset(0 round 10px)"},ellipse:{name:"圆形",type:"ellipse",style:"ellipse(50% 50% at 50% 50%)"},triangle:{name:"三角形",type:"polygon",style:"polygon(50% 0%, 0% 100%, 100% 100%)",createPath:(e,t)=>`M ${e*.5} 0 L 0 ${t} L ${e} ${t} Z`},triangle2:{name:"三角形2",type:"polygon",style:"polygon(50% 100%, 0% 0%, 100% 0%)",createPath:(e,t)=>`M ${e*.5} ${t} L 0 0 L ${e} 0 Z`},triangle3:{name:"三角形3",type:"polygon",style:"polygon(0% 0%, 0% 100%, 100% 100%)",createPath:(e,t)=>`M 0 0 L 0 ${t} L ${e} ${t} Z`},rhombus:{name:"菱形",type:"polygon",style:"polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)",createPath:(e,t)=>`M ${e*.5} 0 L ${e} ${t*.5} L ${e*.5} ${t} L 0 ${t*.5} Z`},pentagon:{name:"五边形",type:"polygon",style:"polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%)",createPath:(e,t)=>`M ${e*.5} 0 L ${e} ${.38*t} L ${.82*e} ${t} L ${.18*e} ${t} L 0 ${.38*t} Z`},hexagon:{name:"六边形",type:"polygon",style:"polygon(20% 0%, 80% 0%, 100% 50%, 80% 100%, 20% 100%, 0% 50%)",createPath:(e,t)=>`M ${e*.2} 0 L ${e*.8} 0 L ${e} ${t*.5} L ${e*.8} ${t} L ${e*.2} ${t} L 0 ${t*.5} Z`},heptagon:{name:"七边形",type:"polygon",style:"polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%)",createPath:(e,t)=>`M ${e*.5} 0 L ${e*.9} ${t*.2} L ${e} ${t*.6} L ${e*.75} ${t} L ${e*.25} ${t} L 0 ${t*.6} L ${e*.1} ${t*.2} Z`},octagon:{name:"八边形",type:"polygon",style:"polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%)",createPath:(e,t)=>`M ${e*.3} 0 L ${e*.7} 0 L ${e} ${t*.3} L ${e} ${t*.7} L ${e*.7} ${t} L ${e*.3} ${t} L 0 ${t*.7} L 0 ${t*.3} Z`},chevron:{name:"V形",type:"polygon",style:"polygon(75% 0%, 100% 50%, 75% 100%, 0% 100%, 25% 50%, 0% 0%)",createPath:(e,t)=>`M ${e*.75} 0 L ${e} ${t*.5} L ${e*.75} ${t} L 0 ${t} L ${e*.25} ${t*.5} L 0 0 Z`},point:{name:"点",type:"polygon",style:"polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%)",createPath:(e,t)=>`M 0 0 L ${e*.75} 0 L ${e} ${t*.5} L ${e*.75} ${t} L 0 ${t} Z`},arrow:{name:"箭头",type:"polygon",style:"polygon(0% 20%, 60% 20%, 60% 0%, 100% 50%, 60% 100%, 60% 80%, 0% 80%)",createPath:(e,t)=>`M 0 ${t*.2} L ${e*.6} ${t*.2} L ${e*.6} 0 L ${e} ${t*.5} L ${e*.6} ${t} L ${e*.6} ${t*.8} L 0 ${t*.8} Z`},parallelogram:{name:"平行四边形",type:"polygon",style:"polygon(30% 0%, 100% 0%, 70% 100%, 0% 100%)",createPath:(e,t)=>`M ${e*.3} 0 L ${e} 0 L ${e*.7} ${t} L 0 ${t} Z`},parallelogram2:{name:"平行四边形2",type:"polygon",style:"polygon(30% 100%, 100% 100%, 70% 0%, 0% 0%)",createPath:(e,t)=>`M ${e*.3} ${t} L ${e} ${t} L ${e*.7} 0 L 0 0 Z`},trapezoid:{name:"梯形",type:"polygon",style:"polygon(25% 0%, 75% 0%, 100% 100%, 0% 100%)",createPath:(e,t)=>`M ${e*.25} 0 L ${e*.75} 0 L ${e} ${t} L 0 ${t} Z`},trapezoid2:{name:"梯形2",type:"polygon",style:"polygon(0% 0%, 100% 0%, 75% 100%, 25% 100%)",createPath:(e,t)=>`M 0 0 L ${e} 0 L ${e*.75} ${t} L ${e*.25} ${t} Z`}},bk=e=>{const t=Se(()=>{let r=a6.rect;if(e.value.clip){const i=e.value.clip.shape||fz.RECT;r=a6[i]}return r.radius!==void 0&&e.value.radius&&(r={...r,radius:`${e.value.radius}px`,style:`inset(0 round ${e.value.radius}px)`}),r}),n=Se(()=>{if(!e.value.clip)return{top:"0",left:"0",width:"100%",height:"100%"};const[r,i]=e.value.clip.range,o=(i[0]-r[0])/100,a=(i[1]-r[1])/100,s=r[0]/o,l=r[1]/a;return{left:-s+"%",top:-l+"%",width:100/o+"%",height:100/a+"%"}});return{clipShape:t,imgPosition:n}},dz=e=>({filter:Se(()=>{if(!e.value)return"";let n="";const r=Object.keys(e.value);for(const i of r)n+=`${i}(${e.value[i]}) `;return n})}),$v=e=>{const t=Se(()=>{var o;return((o=e.value)==null?void 0:o.width)??0}),n=Se(()=>{var o;return((o=e.value)==null?void 0:o.style)||"solid"}),r=Se(()=>{var o;return((o=e.value)==null?void 0:o.color)||"#d14424"}),i=Se(()=>{const o=t.value;return n.value==="dashed"?o<=6?`${o*4.5} ${o*2}`:`${o*4} ${o*1.5}`:n.value==="dotted"?o<=6?`${o*1.8} ${o*1.6}`:`${o*1.5} ${o*1.2}`:"0 0"});return{outlineWidth:t,outlineStyle:n,outlineColor:r,strokeDashArray:i}},VSe=["width","height"],DSe=["rx","ry","width","height","stroke","stroke-width","stroke-dasharray"],USe=Xe({__name:"ImageRectOutline",props:{width:{},height:{},outline:{},radius:{default:"0"}},setup(e){const t=e,{outlineWidth:n,outlineColor:r,strokeDashArray:i}=$v(Xv(t,"outline"));return(o,a)=>o.outline?(U(),te("svg",{key:0,class:"image-rect-outline",overflow:"visible",width:o.width,height:o.height},[D("rect",{"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:"transparent",rx:o.radius,ry:o.radius,width:o.width,height:o.height,stroke:z(r),"stroke-width":z(n),"stroke-dasharray":z(i)},null,8,DSe)],8,VSe)):Ye("",!0)}}),BSe=Be(USe,[["__scopeId","data-v-09a0319c"]]),YSe=["width","height"],ZSe=["cx","cy","rx","ry","stroke","stroke-width","stroke-dasharray"],QSe=Xe({__name:"ImageEllipseOutline",props:{width:{},height:{},outline:{}},setup(e){const t=e,{outlineWidth:n,outlineColor:r,strokeDashArray:i}=$v(Xv(t,"outline"));return(o,a)=>o.outline?(U(),te("svg",{key:0,class:"image-ellipse-outline",overflow:"visible",width:o.width,height:o.height},[D("ellipse",{"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:"transparent",cx:o.width/2,cy:o.height/2,rx:o.width/2,ry:o.height/2,stroke:z(r),"stroke-width":z(n),"stroke-dasharray":z(i)},null,8,ZSe)],8,YSe)):Ye("",!0)}}),HSe=Be(QSe,[["__scopeId","data-v-19e68d74"]]),KSe=["width","height"],GSe=["d","stroke","stroke-width","stroke-dasharray"],zSe=Xe({__name:"ImagePolygonOutline",props:{width:{},height:{},createPath:{type:Function},outline:{}},setup(e){const t=e,{outlineWidth:n,outlineColor:r,strokeDashArray:i}=$v(Xv(t,"outline"));return(o,a)=>o.outline?(U(),te("svg",{key:0,class:"image-polygon-outline",overflow:"visible",width:o.width,height:o.height},[D("path",{"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:"transparent",d:o.createPath(o.width,o.height),stroke:z(r),"stroke-width":z(n),"stroke-dasharray":z(i)},null,8,GSe)],8,KSe)):Ye("",!0)}}),JSe=Be(zSe,[["__scopeId","data-v-a036b0a3"]]),$Se={class:"image-outline"},hz=Xe({__name:"index",props:{elementInfo:{}},setup(e){const t=e,n=Se(()=>t.elementInfo),{clipShape:r}=bk(n);return(i,o)=>(U(),te("div",$Se,[z(r).type==="rect"?(U(),_e(BSe,{key:0,width:i.elementInfo.width,height:i.elementInfo.height,radius:z(r).radius,outline:i.elementInfo.outline},null,8,["width","height","radius","outline"])):z(r).type==="ellipse"?(U(),_e(HSe,{key:1,width:i.elementInfo.width,height:i.elementInfo.height,outline:i.elementInfo.outline},null,8,["width","height","outline"])):z(r).type==="polygon"?(U(),_e(JSe,{key:2,width:i.elementInfo.width,height:i.elementInfo.height,outline:i.elementInfo.outline,createPath:z(r).createPath},null,8,["width","height","outline","createPath"])):Ye("",!0)]))}}),pz=e=>(en("data-v-31b3b0f9"),e=e(),tn(),e),jSe=["src"],qSe=["src"],e3e=["onMousedown"],t3e=pz(()=>D("svg",{width:"16",height:"16",fill:"#fff",stroke:"#333"},[D("path",{"stroke-width":"0.3","shape-rendering":"crispEdges",d:"M 16 0 L 0 0 L 0 16 L 4 16 L 4 4 L 16 4 L 16 0 Z"})],-1)),n3e=[t3e],r3e=["onMousedown"],i3e=pz(()=>D("svg",{width:"16",height:"16",fill:"#fff",stroke:"#333"},[D("path",{"stroke-width":"0.3","shape-rendering":"crispEdges",d:"M 16 0 L 0 0 L 0 4 L 16 4 Z"})],-1)),o3e=[i3e],a3e=Xe({__name:"ImageClipHandler",props:{src:{},clipPath:{},width:{},height:{},top:{},left:{},rotate:{},clipData:{}},emits:["clip"],setup(e,{emit:t}){const n=e,r=t,{canvasScale:i}=De(ht()),{ctrlOrShiftKeyActive:o}=De(pl()),a=pe({top:"0",left:"0"}),s=pe(!1),l=pe(null),u=()=>{const[M,w]=n.clipData?n.clipData.range:[[0,0],[100,100]],L=(w[0]-M[0])/100,k=(w[1]-M[1])/100,P=M[0]/L,F=M[1]/k;return{widthScale:L,heightScale:k,left:P,top:F}},c=Se(()=>{const{widthScale:M,heightScale:w,left:L,top:k}=u();return{left:-L,top:-k,width:100/M,height:100/w}}),f=Se(()=>({top:c.value.top+"%",left:c.value.left+"%",width:c.value.width+"%",height:c.value.height+"%"})),d=pe({top:0,left:0,width:0,height:0}),h=Se(()=>{const{top:M,left:w,width:L,height:k}=d.value;return{top:M+"%",left:w+"%",width:L+"%",height:k+"%"}}),p=Se(()=>{const M=c.value.width,w=c.value.height,{top:L,left:k,width:P,height:F}=d.value;return{left:-k*(100/P)+"%",top:-L*(100/F)+"%",width:M/P*100+"%",height:w/F*100+"%"}}),v=()=>{const{left:M,top:w}=u();d.value={left:M,top:w,width:100,height:100},a.value={top:-w+"%",left:-M+"%"}},g=()=>{if(s.value)return;if(!l.value){r("clip",null);return}const{left:M,top:w}=u(),L={left:(d.value.left-M)/100*n.width,top:(d.value.top-w)/100*n.height,width:(d.value.width-100)/100*n.width,height:(d.value.height-100)/100*n.height},k={range:l.value,position:L};r("clip",k)},m=M=>{M.key.toUpperCase()===At.ENTER&&g()};Ht(()=>{v(),document.addEventListener("keydown",m)}),Fn(()=>{document.removeEventListener("keydown",m)});const y=()=>{const M={left:parseInt(p.value.left),top:parseInt(p.value.top),width:parseInt(p.value.width),height:parseInt(p.value.height)},w=100/M.width,L=100/M.height,k=[-M.left*w,-M.top*L],P=[w*100+k[0],L*100+k[1]];l.value=[k,P]},R=M=>{s.value=!0;let w=!0;const L=M.pageX,k=M.pageY,P=c.value,F={...d.value};document.onmousemove=C=>{if(!w)return;const N=C.pageX,I=C.pageY,V=(N-L)/i.value,W=(I-k)/i.value,Z=Math.sqrt(V*V+W*W),Y=Math.atan2(W,V)-n.rotate/180*Math.PI,B=Z*Math.cos(Y)/n.width*100,Q=Z*Math.sin(Y)/n.height*100;let K=F.left+B,q=F.top+Q;K<0?K=0:K+F.width>P.width&&(K=P.width-F.width),q<0?q=0:q+F.height>P.height&&(q=P.height-F.height),d.value={...d.value,left:K,top:q}},document.onmouseup=()=>{w=!1,document.onmousemove=null,document.onmouseup=null,y(),setTimeout(()=>{s.value=!1},0)}},A=(M,w)=>{s.value=!0;let L=!0;const k=50/n.width*100,P=50/n.height*100,F=M.pageX,C=M.pageY,N=c.value,I={...d.value},V=d.value.width/d.value.height;document.onmousemove=W=>{if(!L)return;const Z=W.pageX,re=W.pageY,Y=(Z-F)/i.value,B=(re-C)/i.value,Q=Math.sqrt(Y*Y+B*B),q=Math.atan2(B,Y)-n.rotate/180*Math.PI;let j=Q*Math.cos(q)/n.width*100,de=Q*Math.sin(q)/n.height*100;o.value&&((w===bt.RIGHT_BOTTOM||w===bt.LEFT_TOP)&&(de=j/V),(w===bt.LEFT_BOTTOM||w===bt.RIGHT_TOP)&&(de=-j/V));let G,Ae,ce,fe;w===bt.LEFT_TOP?(I.left+j<0&&(j=-I.left),I.top+de<0&&(de=-I.top),I.width-j<k&&(j=I.width-k),I.height-de<P&&(de=I.height-P),ce=I.width-j,fe=I.height-de,G=I.left+j,Ae=I.top+de):w===bt.RIGHT_TOP?(I.left+I.width+j>N.width&&(j=N.width-(I.left+I.width)),I.top+de<0&&(de=-I.top),I.width+j<k&&(j=k-I.width),I.height-de<P&&(de=I.height-P),ce=I.width+j,fe=I.height-de,G=I.left,Ae=I.top+de):w===bt.LEFT_BOTTOM?(I.left+j<0&&(j=-I.left),I.top+I.height+de>N.height&&(de=N.height-(I.top+I.height)),I.width-j<k&&(j=I.width-k),I.height+de<P&&(de=P-I.height),ce=I.width-j,fe=I.height+de,G=I.left+j,Ae=I.top):w===bt.RIGHT_BOTTOM?(I.left+I.width+j>N.width&&(j=N.width-(I.left+I.width)),I.top+I.height+de>N.height&&(de=N.height-(I.top+I.height)),I.width+j<k&&(j=k-I.width),I.height+de<P&&(de=P-I.height),ce=I.width+j,fe=I.height+de,G=I.left,Ae=I.top):w===bt.TOP?(I.top+de<0&&(de=-I.top),I.height-de<P&&(de=I.height-P),ce=I.width,fe=I.height-de,G=I.left,Ae=I.top+de):w===bt.BOTTOM?(I.top+I.height+de>N.height&&(de=N.height-(I.top+I.height)),I.height+de<P&&(de=P-I.height),ce=I.width,fe=I.height+de,G=I.left,Ae=I.top):w===bt.LEFT?(I.left+j<0&&(j=-I.left),I.width-j<k&&(j=I.width-k),ce=I.width-j,fe=I.height,G=I.left+j,Ae=I.top):(I.left+I.width+j>N.width&&(j=N.width-(I.left+I.width)),I.width+j<k&&(j=k-I.width),fe=I.height,ce=I.width+j,G=I.left,Ae=I.top),d.value={left:G,top:Ae,width:ce,height:fe}},document.onmouseup=()=>{L=!1,document.onmousemove=null,document.onmouseup=null,y(),setTimeout(()=>s.value=!1,0)}},x=Se(()=>{const M="rotate-",w=n.rotate;return w>-22.5&&w<=22.5?M+0:w>22.5&&w<=67.5?M+45:w>67.5&&w<=112.5?M+90:w>112.5&&w<=157.5?M+135:w>157.5||w<=-157.5?M+0:w>-157.5&&w<=-112.5?M+45:w>-112.5&&w<=-67.5?M+90:w>-67.5&&w<=-22.5?M+135:M+0}),S=[bt.LEFT_TOP,bt.RIGHT_TOP,bt.LEFT_BOTTOM,bt.RIGHT_BOTTOM],_=[bt.TOP,bt.BOTTOM,bt.LEFT,bt.RIGHT];return(M,w)=>{const L=Pn("click-outside");return Ge((U(),te("div",{class:"image-clip-handler",style:Le(a.value)},[D("img",{class:"bottom-img",src:M.src,draggable:!1,alt:"",style:Le(f.value)},null,12,jSe),D("div",{class:"top-image-content",style:Le({...h.value,clipPath:M.clipPath})},[D("img",{class:"top-img",src:M.src,draggable:!1,alt:"",style:Le(p.value)},null,12,qSe)],4),D("div",{class:"operate",style:Le(h.value),onMousedown:w[0]||(w[0]=Ft(k=>R(k),["stop"]))},[(U(),te(We,null,nt(S,k=>D("div",{class:ze(["clip-point",k,x.value]),key:k,onMousedown:Ft(P=>A(P,k),["stop"])},n3e,42,e3e)),64)),(U(),te(We,null,nt(_,k=>D("div",{class:ze(["clip-point",k,x.value]),key:k,onMousedown:Ft(P=>A(P,k),["stop"])},o3e,42,r3e)),64))],36)],4)),[[L,g]])}}}),s3e=Be(a3e,[["__scopeId","data-v-31b3b0f9"]]),l3e=["src"],u3e=Xe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=ht(),r=lt(),{clipingImageElementId:i}=De(n),o=Se(()=>i.value===t.elementInfo.id),{addHistorySnapshot:a}=nn(),s=Se(()=>t.elementInfo.shadow),{shadowStyle:l}=fd(s),u=Se(()=>t.elementInfo.flipH),c=Se(()=>t.elementInfo.flipV),{flipStyle:f}=y3(u,c),d=Se(()=>t.elementInfo),{clipShape:h,imgPosition:p}=bk(d),v=Se(()=>t.elementInfo.filters),{filter:g}=dz(v),m=R=>{t.elementInfo.lock||(R.stopPropagation(),t.selectElement(R,t.elementInfo))},y=R=>{if(n.setClipingImageElementId(""),!R)return;const{range:A,position:x}=R,S=t.elementInfo.clip||{shape:"rect",range:[[0,0],[100,100]]},_=t.elementInfo.left+x.left,M=t.elementInfo.top+x.top,w=t.elementInfo.width+x.width,L=t.elementInfo.height+x.height;let k=0,P=0;if(t.elementInfo.rotate){const C=_+w/2-(t.elementInfo.left+t.elementInfo.width/2),N=-(M+L/2-(t.elementInfo.top+t.elementInfo.height/2)),I=-t.elementInfo.rotate*Math.PI/180,V=C*Math.cos(I)-N*Math.sin(I),W=C*Math.sin(I)+N*Math.cos(I);k=V-C,P=-(W-N)}const F={clip:{...S,range:A},left:_+k,top:M+P,width:w,height:L};r.updateElement({id:t.elementInfo.id,props:F}),a()};return(R,A)=>{const x=Pn("contextmenu");return U(),te("div",{class:ze(["editable-element-image",{lock:R.elementInfo.lock}]),style:Le({top:R.elementInfo.top+"px",left:R.elementInfo.left+"px",width:R.elementInfo.width+"px",height:R.elementInfo.height+"px"})},[D("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${R.elementInfo.rotate}deg)`})},[o.value?(U(),_e(s3e,{key:0,src:R.elementInfo.src,clipData:R.elementInfo.clip,width:R.elementInfo.width,height:R.elementInfo.height,top:R.elementInfo.top,left:R.elementInfo.left,rotate:R.elementInfo.rotate,clipPath:z(h).style,onClip:A[0]||(A[0]=S=>y(S))},null,8,["src","clipData","width","height","top","left","rotate","clipPath"])):Ge((U(),te("div",{key:1,class:"element-content",style:Le({filter:z(l)?`drop-shadow(${z(l)})`:"",transform:z(f)}),onMousedown:A[2]||(A[2]=S=>m(S)),onTouchstart:A[3]||(A[3]=S=>m(S))},[O(hz,{elementInfo:R.elementInfo},null,8,["elementInfo"]),D("div",{class:"image-content",style:Le({clipPath:z(h).style})},[D("img",{src:R.elementInfo.src,draggable:!1,style:Le({top:z(p).top,left:z(p).left,width:z(p).width,height:z(p).height,filter:z(g)}),onDragstart:A[1]||(A[1]=Ft(()=>{},["prevent"])),alt:""},null,44,l3e),R.elementInfo.colorMask?(U(),te("div",{key:0,class:"color-mask",style:Le({backgroundColor:R.elementInfo.colorMask})},null,4)):Ye("",!0)],4)],36)),[[x,R.contextmenus]])],4)],6)}}}),vz=Be(u3e,[["__scopeId","data-v-86b9f3af"]]),c3e=["width","height"],f3e=["d","stroke","stroke-width","stroke-dasharray"],d3e=Xe({__name:"ElementOutline",props:{width:{},height:{},outline:{}},setup(e){const t=e,{outlineWidth:n,outlineColor:r,strokeDashArray:i}=$v(Xv(t,"outline"));return(o,a)=>o.outline?(U(),te("svg",{key:0,class:"element-outline",overflow:"visible",width:o.width,height:o.height},[D("path",{"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:"transparent",d:`M0,0 L${o.width},0 L${o.width},${o.height} L0,${o.height} Z`,stroke:z(r),"stroke-width":z(n),"stroke-dasharray":z(i)},null,8,f3e)],8,c3e)):Ye("",!0)}}),A3=Be(d3e,[["__scopeId","data-v-e2ef58f5"]]),Yi=function(e){for(var t=0;;t++)if(e=e.previousSibling,!e)return t},r2=function(e){let t=e.assignedSlot||e.parentNode;return t&&t.nodeType==11?t.host:t};let s6=null;const Qu=function(e,t,n){let r=s6||(s6=document.createRange());return r.setEnd(e,n??e.nodeValue.length),r.setStart(e,t||0),r},h3e=function(){s6=null},qh=function(e,t,n,r){return n&&(TX(e,t,n,r,-1)||TX(e,t,n,r,1))},p3e=/^(img|br|input|textarea|hr)$/i;function TX(e,t,n,r,i){for(;;){if(e==n&&t==r)return!0;if(t==(i<0?0:zl(e))){let o=e.parentNode;if(!o||o.nodeType!=1||iy(e)||p3e.test(e.nodeName)||e.contentEditable=="false")return!1;t=Yi(e)+(i<0?0:1),e=o}else if(e.nodeType==1){if(e=e.childNodes[t+(i<0?-1:0)],e.contentEditable=="false")return!1;t=i<0?zl(e):0}else return!1}}function zl(e){return e.nodeType==3?e.nodeValue.length:e.childNodes.length}function v3e(e,t){for(;;){if(e.nodeType==3&&t)return e;if(e.nodeType==1&&t>0){if(e.contentEditable=="false")return null;e=e.childNodes[t-1],t=zl(e)}else if(e.parentNode&&!iy(e))t=Yi(e),e=e.parentNode;else return null}}function g3e(e,t){for(;;){if(e.nodeType==3&&t<e.nodeValue.length)return e;if(e.nodeType==1&&t<e.childNodes.length){if(e.contentEditable=="false")return null;e=e.childNodes[t],t=0}else if(e.parentNode&&!iy(e))t=Yi(e)+1,e=e.parentNode;else return null}}function m3e(e,t,n){for(let r=t==0,i=t==zl(e);r||i;){if(e==n)return!0;let o=Yi(e);if(e=e.parentNode,!e)return!1;r=r&&o==0,i=i&&o==zl(e)}}function iy(e){let t;for(let n=e;n&&!(t=n.pmViewDesc);n=n.parentNode);return t&&t.node&&t.node.isBlock&&(t.dom==e||t.contentDOM==e)}const R3=function(e){return e.focusNode&&qh(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)};function uh(e,t){let n=document.createEvent("Event");return n.initEvent("keydown",!0,!0),n.keyCode=e,n.key=n.code=t,n}function y3e(e){let t=e.activeElement;for(;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;return t}function A3e(e,t,n){if(e.caretPositionFromPoint)try{let r=e.caretPositionFromPoint(t,n);if(r)return{node:r.offsetNode,offset:r.offset}}catch{}if(e.caretRangeFromPoint){let r=e.caretRangeFromPoint(t,n);if(r)return{node:r.startContainer,offset:r.startOffset}}}const pu=typeof navigator<"u"?navigator:null,_X=typeof document<"u"?document:null,dd=pu&&pu.userAgent||"",l6=/Edge\/(\d+)/.exec(dd),gz=/MSIE \d/.exec(dd),u6=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(dd),aa=!!(gz||u6||l6),Cf=gz?document.documentMode:u6?+u6[1]:l6?+l6[1]:0,fl=!aa&&/gecko\/(\d+)/i.test(dd);fl&&+(/Firefox\/(\d+)/.exec(dd)||[0,0])[1];const c6=!aa&&/Chrome\/(\d+)/.exec(dd),ho=!!c6,mz=c6?+c6[1]:0,Io=!aa&&!!pu&&/Apple Computer/.test(pu.vendor),Lv=Io&&(/Mobile\/\w+/.test(dd)||!!pu&&pu.maxTouchPoints>2),ds=Lv||(pu?/Mac/.test(pu.platform):!1),R3e=pu?/Win/.test(pu.platform):!1,rl=/Android \d/.test(dd),oy=!!_X&&"webkitFontSmoothing"in _X.documentElement.style,b3e=oy?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function x3e(e){let t=e.defaultView&&e.defaultView.visualViewport;return t?{left:0,right:t.width,top:0,bottom:t.height}:{left:0,right:e.documentElement.clientWidth,top:0,bottom:e.documentElement.clientHeight}}function Vu(e,t){return typeof e=="number"?e:e[t]}function S3e(e){let t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,r=t.height/e.offsetHeight||1;return{left:t.left,right:t.left+e.clientWidth*n,top:t.top,bottom:t.top+e.clientHeight*r}}function OX(e,t,n){let r=e.someProp("scrollThreshold")||0,i=e.someProp("scrollMargin")||5,o=e.dom.ownerDocument;for(let a=n||e.dom;a;a=r2(a)){if(a.nodeType!=1)continue;let s=a,l=s==o.body,u=l?x3e(o):S3e(s),c=0,f=0;if(t.top<u.top+Vu(r,"top")?f=-(u.top-t.top+Vu(i,"top")):t.bottom>u.bottom-Vu(r,"bottom")&&(f=t.bottom-t.top>u.bottom-u.top?t.top+Vu(i,"top")-u.top:t.bottom-u.bottom+Vu(i,"bottom")),t.left<u.left+Vu(r,"left")?c=-(u.left-t.left+Vu(i,"left")):t.right>u.right-Vu(r,"right")&&(c=t.right-u.right+Vu(i,"right")),c||f)if(l)o.defaultView.scrollBy(c,f);else{let d=s.scrollLeft,h=s.scrollTop;f&&(s.scrollTop+=f),c&&(s.scrollLeft+=c);let p=s.scrollLeft-d,v=s.scrollTop-h;t={left:t.left-p,top:t.top-v,right:t.right-p,bottom:t.bottom-v}}if(l||/^(fixed|sticky)$/.test(getComputedStyle(a).position))break}}function w3e(e){let t=e.dom.getBoundingClientRect(),n=Math.max(0,t.top),r,i;for(let o=(t.left+t.right)/2,a=n+1;a<Math.min(innerHeight,t.bottom);a+=5){let s=e.root.elementFromPoint(o,a);if(!s||s==e.dom||!e.dom.contains(s))continue;let l=s.getBoundingClientRect();if(l.top>=n-20){r=s,i=l.top;break}}return{refDOM:r,refTop:i,stack:yz(e.dom)}}function yz(e){let t=[],n=e.ownerDocument;for(let r=e;r&&(t.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),e!=n);r=r2(r));return t}function M3e({refDOM:e,refTop:t,stack:n}){let r=e?e.getBoundingClientRect().top:0;Az(n,r==0?0:r-t)}function Az(e,t){for(let n=0;n<e.length;n++){let{dom:r,top:i,left:o}=e[n];r.scrollTop!=i+t&&(r.scrollTop=i+t),r.scrollLeft!=o&&(r.scrollLeft=o)}}let U0=null;function L3e(e){if(e.setActive)return e.setActive();if(U0)return e.focus(U0);let t=yz(e);e.focus(U0==null?{get preventScroll(){return U0={preventScroll:!0},!0}}:void 0),U0||(U0=!1,Az(t,0))}function Rz(e,t){let n,r=2e8,i,o=0,a=t.top,s=t.top,l,u;for(let c=e.firstChild,f=0;c;c=c.nextSibling,f++){let d;if(c.nodeType==1)d=c.getClientRects();else if(c.nodeType==3)d=Qu(c).getClientRects();else continue;for(let h=0;h<d.length;h++){let p=d[h];if(p.top<=a&&p.bottom>=s){a=Math.max(p.bottom,a),s=Math.min(p.top,s);let v=p.left>t.left?p.left-t.left:p.right<t.left?t.left-p.right:0;if(v<r){n=c,r=v,i=v&&n.nodeType==3?{left:p.right<t.left?p.right:p.left,top:t.top}:t,c.nodeType==1&&v&&(o=f+(t.left>=(p.left+p.right)/2?1:0));continue}}else p.top>t.top&&!l&&p.left<=t.left&&p.right>=t.left&&(l=c,u={left:Math.max(p.left,Math.min(p.right,t.left)),top:p.top});!n&&(t.left>=p.right&&t.top>=p.top||t.left>=p.left&&t.top>=p.bottom)&&(o=f+1)}}return!n&&l&&(n=l,i=u,r=0),n&&n.nodeType==3?T3e(n,i):!n||r&&n.nodeType==1?{node:e,offset:o}:Rz(n,i)}function T3e(e,t){let n=e.nodeValue.length,r=document.createRange();for(let i=0;i<n;i++){r.setEnd(e,i+1),r.setStart(e,i);let o=tf(r,1);if(o.top!=o.bottom&&xk(t,o))return{node:e,offset:i+(t.left>=(o.left+o.right)/2?1:0)}}return{node:e,offset:0}}function xk(e,t){return e.left>=t.left-1&&e.left<=t.right+1&&e.top>=t.top-1&&e.top<=t.bottom+1}function _3e(e,t){let n=e.parentNode;return n&&/^li$/i.test(n.nodeName)&&t.left<e.getBoundingClientRect().left?n:e}function O3e(e,t,n){let{node:r,offset:i}=Rz(t,n),o=-1;if(r.nodeType==1&&!r.firstChild){let a=r.getBoundingClientRect();o=a.left!=a.right&&n.left>(a.left+a.right)/2?1:-1}return e.docView.posFromDOM(r,i,o)}function k3e(e,t,n,r){let i=-1;for(let o=t,a=!1;o!=e.dom;){let s=e.docView.nearestDesc(o,!0);if(!s)return null;if(s.dom.nodeType==1&&(s.node.isBlock&&s.parent||!s.contentDOM)){let l=s.dom.getBoundingClientRect();if(s.node.isBlock&&s.parent&&(!a&&l.left>r.left||l.top>r.top?i=s.posBefore:(!a&&l.right<r.left||l.bottom<r.top)&&(i=s.posAfter),a=!0),!s.contentDOM&&i<0&&!s.node.isText)return(s.node.isBlock?r.top<(l.top+l.bottom)/2:r.left<(l.left+l.right)/2)?s.posBefore:s.posAfter}o=s.dom.parentNode}return i>-1?i:e.docView.posFromDOM(t,n,-1)}function bz(e,t,n){let r=e.childNodes.length;if(r&&n.top<n.bottom)for(let i=Math.max(0,Math.min(r-1,Math.floor(r*(t.top-n.top)/(n.bottom-n.top))-2)),o=i;;){let a=e.childNodes[o];if(a.nodeType==1){let s=a.getClientRects();for(let l=0;l<s.length;l++){let u=s[l];if(xk(t,u))return bz(a,t,u)}}if((o=(o+1)%r)==i)break}return e}function P3e(e,t){let n=e.dom.ownerDocument,r,i=0,o=A3e(n,t.left,t.top);o&&({node:r,offset:i}=o);let a=(e.root.elementFromPoint?e.root:n).elementFromPoint(t.left,t.top),s;if(!a||!e.dom.contains(a.nodeType!=1?a.parentNode:a)){let u=e.dom.getBoundingClientRect();if(!xk(t,u)||(a=bz(e.dom,t,u),!a))return null}if(Io)for(let u=a;r&&u;u=r2(u))u.draggable&&(r=void 0);if(a=_3e(a,t),r){if(fl&&r.nodeType==1&&(i=Math.min(i,r.childNodes.length),i<r.childNodes.length)){let c=r.childNodes[i],f;c.nodeName=="IMG"&&(f=c.getBoundingClientRect()).right<=t.left&&f.bottom>t.top&&i++}let u;oy&&i&&r.nodeType==1&&(u=r.childNodes[i-1]).nodeType==1&&u.contentEditable=="false"&&u.getBoundingClientRect().top>=t.top&&i--,r==e.dom&&i==r.childNodes.length-1&&r.lastChild.nodeType==1&&t.top>r.lastChild.getBoundingClientRect().bottom?s=e.state.doc.content.size:(i==0||r.nodeType!=1||r.childNodes[i-1].nodeName!="BR")&&(s=k3e(e,r,i,t))}s==null&&(s=O3e(e,a,t));let l=e.docView.nearestDesc(a,!0);return{pos:s,inside:l?l.posAtStart-l.border:-1}}function kX(e){return e.top<e.bottom||e.left<e.right}function tf(e,t){let n=e.getClientRects();if(n.length){let r=n[t<0?0:n.length-1];if(kX(r))return r}return Array.prototype.find.call(n,kX)||e.getBoundingClientRect()}const C3e=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function xz(e,t,n){let{node:r,offset:i,atom:o}=e.docView.domFromPos(t,n<0?-1:1),a=oy||fl;if(r.nodeType==3)if(a&&(C3e.test(r.nodeValue)||(n<0?!i:i==r.nodeValue.length))){let l=tf(Qu(r,i,i),n);if(fl&&i&&/\s/.test(r.nodeValue[i-1])&&i<r.nodeValue.length){let u=tf(Qu(r,i-1,i-1),-1);if(u.top==l.top){let c=tf(Qu(r,i,i+1),-1);if(c.top!=l.top)return k1(c,c.left<u.left)}}return l}else{let l=i,u=i,c=n<0?1:-1;return n<0&&!i?(u++,c=-1):n>=0&&i==r.nodeValue.length?(l--,c=1):n<0?l--:u++,k1(tf(Qu(r,l,u),c),c<0)}if(!e.state.doc.resolve(t-(o||0)).parent.inlineContent){if(o==null&&i&&(n<0||i==zl(r))){let l=r.childNodes[i-1];if(l.nodeType==1)return P5(l.getBoundingClientRect(),!1)}if(o==null&&i<zl(r)){let l=r.childNodes[i];if(l.nodeType==1)return P5(l.getBoundingClientRect(),!0)}return P5(r.getBoundingClientRect(),n>=0)}if(o==null&&i&&(n<0||i==zl(r))){let l=r.childNodes[i-1],u=l.nodeType==3?Qu(l,zl(l)-(a?0:1)):l.nodeType==1&&(l.nodeName!="BR"||!l.nextSibling)?l:null;if(u)return k1(tf(u,1),!1)}if(o==null&&i<zl(r)){let l=r.childNodes[i];for(;l.pmViewDesc&&l.pmViewDesc.ignoreForCoords;)l=l.nextSibling;let u=l?l.nodeType==3?Qu(l,0,a?0:1):l.nodeType==1?l:null:null;if(u)return k1(tf(u,-1),!0)}return k1(tf(r.nodeType==3?Qu(r):r,-n),n>=0)}function k1(e,t){if(e.width==0)return e;let n=t?e.left:e.right;return{top:e.top,bottom:e.bottom,left:n,right:n}}function P5(e,t){if(e.height==0)return e;let n=t?e.top:e.bottom;return{top:n,bottom:n,left:e.left,right:e.right}}function Sz(e,t,n){let r=e.state,i=e.root.activeElement;r!=t&&e.updateState(t),i!=e.dom&&e.focus();try{return n()}finally{r!=t&&e.updateState(r),i!=e.dom&&i&&i.focus()}}function I3e(e,t,n){let r=t.selection,i=n=="up"?r.$from:r.$to;return Sz(e,t,()=>{let{node:o}=e.docView.domFromPos(i.pos,n=="up"?-1:1);for(;;){let s=e.docView.nearestDesc(o,!0);if(!s)break;if(s.node.isBlock){o=s.contentDOM||s.dom;break}o=s.dom.parentNode}let a=xz(e,i.pos,1);for(let s=o.firstChild;s;s=s.nextSibling){let l;if(s.nodeType==1)l=s.getClientRects();else if(s.nodeType==3)l=Qu(s,0,s.nodeValue.length).getClientRects();else continue;for(let u=0;u<l.length;u++){let c=l[u];if(c.bottom>c.top+1&&(n=="up"?a.top-c.top>(c.bottom-a.top)*2:c.bottom-a.bottom>(a.bottom-c.top)*2))return!1}}return!0})}const N3e=/[\u0590-\u08ac]/;function F3e(e,t,n){let{$head:r}=t.selection;if(!r.parent.isTextblock)return!1;let i=r.parentOffset,o=!i,a=i==r.parent.content.size,s=e.domSelection();return!N3e.test(r.parent.textContent)||!s.modify?n=="left"||n=="backward"?o:a:Sz(e,t,()=>{let{focusNode:l,focusOffset:u,anchorNode:c,anchorOffset:f}=e.domSelectionRange(),d=s.caretBidiLevel;s.modify("move",n,"character");let h=r.depth?e.docView.domAfterPos(r.before()):e.dom,{focusNode:p,focusOffset:v}=e.domSelectionRange(),g=p&&!h.contains(p.nodeType==1?p:p.parentNode)||l==p&&u==v;try{s.collapse(c,f),l&&(l!=c||u!=f)&&s.extend&&s.extend(l,u)}catch{}return d!=null&&(s.caretBidiLevel=d),g})}let PX=null,CX=null,IX=!1;function E3e(e,t,n){return PX==t&&CX==n?IX:(PX=t,CX=n,IX=n=="up"||n=="down"?I3e(e,t,n):F3e(e,t,n))}const ws=0,NX=1,gh=2,vu=3;class ay{constructor(t,n,r,i){this.parent=t,this.children=n,this.dom=r,this.contentDOM=i,this.dirty=ws,r.pmViewDesc=this}matchesWidget(t){return!1}matchesMark(t){return!1}matchesNode(t,n,r){return!1}matchesHack(t){return!1}parseRule(){return null}stopEvent(t){return!1}get size(){let t=0;for(let n=0;n<this.children.length;n++)t+=this.children[n].size;return t}get border(){return 0}destroy(){this.parent=void 0,this.dom.pmViewDesc==this&&(this.dom.pmViewDesc=void 0);for(let t=0;t<this.children.length;t++)this.children[t].destroy()}posBeforeChild(t){for(let n=0,r=this.posAtStart;;n++){let i=this.children[n];if(i==t)return r;r+=i.size}}get posBefore(){return this.parent.posBeforeChild(this)}get posAtStart(){return this.parent?this.parent.posBeforeChild(this)+this.border:0}get posAfter(){return this.posBefore+this.size}get posAtEnd(){return this.posAtStart+this.size-2*this.border}localPosFromDOM(t,n,r){if(this.contentDOM&&this.contentDOM.contains(t.nodeType==1?t:t.parentNode))if(r<0){let o,a;if(t==this.contentDOM)o=t.childNodes[n-1];else{for(;t.parentNode!=this.contentDOM;)t=t.parentNode;o=t.previousSibling}for(;o&&!((a=o.pmViewDesc)&&a.parent==this);)o=o.previousSibling;return o?this.posBeforeChild(a)+a.size:this.posAtStart}else{let o,a;if(t==this.contentDOM)o=t.childNodes[n];else{for(;t.parentNode!=this.contentDOM;)t=t.parentNode;o=t.nextSibling}for(;o&&!((a=o.pmViewDesc)&&a.parent==this);)o=o.nextSibling;return o?this.posBeforeChild(a):this.posAtEnd}let i;if(t==this.dom&&this.contentDOM)i=n>Yi(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))i=t.compareDocumentPosition(this.contentDOM)&2;else if(this.dom.firstChild){if(n==0)for(let o=t;;o=o.parentNode){if(o==this.dom){i=!1;break}if(o.previousSibling)break}if(i==null&&n==t.childNodes.length)for(let o=t;;o=o.parentNode){if(o==this.dom){i=!0;break}if(o.nextSibling)break}}return i??r>0?this.posAtEnd:this.posAtStart}nearestDesc(t,n=!1){for(let r=!0,i=t;i;i=i.parentNode){let o=this.getDesc(i),a;if(o&&(!n||o.node))if(r&&(a=o.nodeDOM)&&!(a.nodeType==1?a.contains(t.nodeType==1?t:t.parentNode):a==t))r=!1;else return o}}getDesc(t){let n=t.pmViewDesc;for(let r=n;r;r=r.parent)if(r==this)return n}posFromDOM(t,n,r){for(let i=t;i;i=i.parentNode){let o=this.getDesc(i);if(o)return o.localPosFromDOM(t,n,r)}return-1}descAt(t){for(let n=0,r=0;n<this.children.length;n++){let i=this.children[n],o=r+i.size;if(r==t&&o!=r){for(;!i.border&&i.children.length;)i=i.children[0];return i}if(t<o)return i.descAt(t-r-i.border);r=o}}domFromPos(t,n){if(!this.contentDOM)return{node:this.dom,offset:0,atom:t+1};let r=0,i=0;for(let o=0;r<this.children.length;r++){let a=this.children[r],s=o+a.size;if(s>t||a instanceof Mz){i=t-o;break}o=s}if(i)return this.children[r].domFromPos(i-this.children[r].border,n);for(let o;r&&!(o=this.children[r-1]).size&&o instanceof wz&&o.side>=0;r--);if(n<=0){let o,a=!0;for(;o=r?this.children[r-1]:null,!(!o||o.dom.parentNode==this.contentDOM);r--,a=!1);return o&&n&&a&&!o.border&&!o.domAtom?o.domFromPos(o.size,n):{node:this.contentDOM,offset:o?Yi(o.dom)+1:0}}else{let o,a=!0;for(;o=r<this.children.length?this.children[r]:null,!(!o||o.dom.parentNode==this.contentDOM);r++,a=!1);return o&&a&&!o.border&&!o.domAtom?o.domFromPos(0,n):{node:this.contentDOM,offset:o?Yi(o.dom):this.contentDOM.childNodes.length}}}parseRange(t,n,r=0){if(this.children.length==0)return{node:this.contentDOM,from:t,to:n,fromOffset:0,toOffset:this.contentDOM.childNodes.length};let i=-1,o=-1;for(let a=r,s=0;;s++){let l=this.children[s],u=a+l.size;if(i==-1&&t<=u){let c=a+l.border;if(t>=c&&n<=u-l.border&&l.node&&l.contentDOM&&this.contentDOM.contains(l.contentDOM))return l.parseRange(t,n,c);t=a;for(let f=s;f>0;f--){let d=this.children[f-1];if(d.size&&d.dom.parentNode==this.contentDOM&&!d.emptyChildAt(1)){i=Yi(d.dom)+1;break}t-=d.size}i==-1&&(i=0)}if(i>-1&&(u>n||s==this.children.length-1)){n=u;for(let c=s+1;c<this.children.length;c++){let f=this.children[c];if(f.size&&f.dom.parentNode==this.contentDOM&&!f.emptyChildAt(-1)){o=Yi(f.dom);break}n+=f.size}o==-1&&(o=this.contentDOM.childNodes.length);break}a=u}return{node:this.contentDOM,from:t,to:n,fromOffset:i,toOffset:o}}emptyChildAt(t){if(this.border||!this.contentDOM||!this.children.length)return!1;let n=this.children[t<0?0:this.children.length-1];return n.size==0||n.emptyChildAt(t)}domAfterPos(t){let{node:n,offset:r}=this.domFromPos(t,0);if(n.nodeType!=1||r==n.childNodes.length)throw new RangeError("No node after pos "+t);return n.childNodes[r]}setSelection(t,n,r,i=!1){let o=Math.min(t,n),a=Math.max(t,n);for(let d=0,h=0;d<this.children.length;d++){let p=this.children[d],v=h+p.size;if(o>h&&a<v)return p.setSelection(t-h-p.border,n-h-p.border,r,i);h=v}let s=this.domFromPos(t,t?-1:1),l=n==t?s:this.domFromPos(n,n?-1:1),u=r.getSelection(),c=!1;if((fl||Io)&&t==n){let{node:d,offset:h}=s;if(d.nodeType==3){if(c=!!(h&&d.nodeValue[h-1]==`
|
||
`),c&&h==d.nodeValue.length)for(let p=d,v;p;p=p.parentNode){if(v=p.nextSibling){v.nodeName=="BR"&&(s=l={node:v.parentNode,offset:Yi(v)+1});break}let g=p.pmViewDesc;if(g&&g.node&&g.node.isBlock)break}}else{let p=d.childNodes[h-1];c=p&&(p.nodeName=="BR"||p.contentEditable=="false")}}if(fl&&u.focusNode&&u.focusNode!=l.node&&u.focusNode.nodeType==1){let d=u.focusNode.childNodes[u.focusOffset];d&&d.contentEditable=="false"&&(i=!0)}if(!(i||c&&Io)&&qh(s.node,s.offset,u.anchorNode,u.anchorOffset)&&qh(l.node,l.offset,u.focusNode,u.focusOffset))return;let f=!1;if((u.extend||t==n)&&!c){u.collapse(s.node,s.offset);try{t!=n&&u.extend(l.node,l.offset),f=!0}catch{}}if(!f){if(t>n){let h=s;s=l,l=h}let d=document.createRange();d.setEnd(l.node,l.offset),d.setStart(s.node,s.offset),u.removeAllRanges(),u.addRange(d)}}ignoreMutation(t){return!this.contentDOM&&t.type!="selection"}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(t,n){for(let r=0,i=0;i<this.children.length;i++){let o=this.children[i],a=r+o.size;if(r==a?t<=a&&n>=r:t<a&&n>r){let s=r+o.border,l=a-o.border;if(t>=s&&n<=l){this.dirty=t==r||n==a?gh:NX,t==s&&n==l&&(o.contentLost||o.dom.parentNode!=this.contentDOM)?o.dirty=vu:o.markDirty(t-s,n-s);return}else o.dirty=o.dom==o.contentDOM&&o.dom.parentNode==this.contentDOM&&!o.children.length?gh:vu}r=a}this.dirty=gh}markParentsDirty(){let t=1;for(let n=this.parent;n;n=n.parent,t++){let r=t==1?gh:NX;n.dirty<r&&(n.dirty=r)}}get domAtom(){return!1}get ignoreForCoords(){return!1}isText(t){return!1}}class wz extends ay{constructor(t,n,r,i){let o,a=n.type.toDOM;if(typeof a=="function"&&(a=a(r,()=>{if(!o)return i;if(o.parent)return o.parent.posBeforeChild(o)})),!n.type.spec.raw){if(a.nodeType!=1){let s=document.createElement("span");s.appendChild(a),a=s}a.contentEditable="false",a.classList.add("ProseMirror-widget")}super(t,[],a,null),this.widget=n,this.widget=n,o=this}matchesWidget(t){return this.dirty==ws&&t.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(t){let n=this.widget.spec.stopEvent;return n?n(t):!1}ignoreMutation(t){return t.type!="selection"||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get side(){return this.widget.type.side}}class X3e extends ay{constructor(t,n,r,i){super(t,[],n,null),this.textDOM=r,this.text=i}get size(){return this.text.length}localPosFromDOM(t,n){return t!=this.textDOM?this.posAtStart+(n?this.size:0):this.posAtStart+n}domFromPos(t){return{node:this.textDOM,offset:t}}ignoreMutation(t){return t.type==="characterData"&&t.target.nodeValue==t.oldValue}}class e0 extends ay{constructor(t,n,r,i){super(t,[],r,i),this.mark=n}static create(t,n,r,i){let o=i.nodeViews[n.type.name],a=o&&o(n,i,r);return(!a||!a.dom)&&(a=Vv.renderSpec(document,n.type.spec.toDOM(n,r),null,n.attrs)),new e0(t,n,a.dom,a.contentDOM||a.dom)}parseRule(){return this.dirty&vu||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(t){return this.dirty!=vu&&this.mark.eq(t)}markDirty(t,n){if(super.markDirty(t,n),this.dirty!=ws){let r=this.parent;for(;!r.node;)r=r.parent;r.dirty<this.dirty&&(r.dirty=this.dirty),this.dirty=ws}}slice(t,n,r){let i=e0.create(this.parent,this.mark,!0,r),o=this.children,a=this.size;n<a&&(o=h6(o,n,a,r)),t>0&&(o=h6(o,0,t,r));for(let s=0;s<o.length;s++)o[s].parent=i;return i.children=o,i}}class If extends ay{constructor(t,n,r,i,o,a,s,l,u){super(t,[],o,a),this.node=n,this.outerDeco=r,this.innerDeco=i,this.nodeDOM=s}static create(t,n,r,i,o,a){let s=o.nodeViews[n.type.name],l,u=s&&s(n,o,()=>{if(!l)return a;if(l.parent)return l.parent.posBeforeChild(l)},r,i),c=u&&u.dom,f=u&&u.contentDOM;if(n.isText){if(!c)c=document.createTextNode(n.text);else if(c.nodeType!=3)throw new RangeError("Text must be rendered as a DOM text node")}else c||({dom:c,contentDOM:f}=Vv.renderSpec(document,n.type.spec.toDOM(n),null,n.attrs));!f&&!n.isText&&c.nodeName!="BR"&&(c.hasAttribute("contenteditable")||(c.contentEditable="false"),n.type.spec.draggable&&(c.draggable=!0));let d=c;return c=_z(c,r,n),u?l=new W3e(t,n,r,i,c,f||null,d,u,o,a+1):n.isText?new b3(t,n,r,i,c,d,o):new If(t,n,r,i,c,f||null,d,o,a+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let t={node:this.node.type.name,attrs:this.node.attrs};if(this.node.type.whitespace=="pre"&&(t.preserveWhitespace="full"),!this.contentDOM)t.getContent=()=>this.node.content;else if(!this.contentLost)t.contentElement=this.contentDOM;else{for(let n=this.children.length-1;n>=0;n--){let r=this.children[n];if(this.dom.contains(r.dom.parentNode)){t.contentElement=r.dom.parentNode;break}}t.contentElement||(t.getContent=()=>ft.empty)}return t}matchesNode(t,n,r){return this.dirty==ws&&t.eq(this.node)&&d6(n,this.outerDeco)&&r.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(t,n){let r=this.node.inlineContent,i=n,o=t.composing?this.localCompositionInfo(t,n):null,a=o&&o.pos>-1?o:null,s=o&&o.pos<0,l=new D3e(this,a&&a.node,t);Y3e(this.node,this.innerDeco,(u,c,f)=>{u.spec.marks?l.syncToMarks(u.spec.marks,r,t):u.type.side>=0&&!f&&l.syncToMarks(c==this.node.childCount?Gn.none:this.node.child(c).marks,r,t),l.placeWidget(u,t,i)},(u,c,f,d)=>{l.syncToMarks(u.marks,r,t);let h;l.findNodeMatch(u,c,f,d)||s&&t.state.selection.from>i&&t.state.selection.to<i+u.nodeSize&&(h=l.findIndexWithChild(o.node))>-1&&l.updateNodeAt(u,c,f,h,t)||l.updateNextNode(u,c,f,t,d,i)||l.addNode(u,c,f,t,i),i+=u.nodeSize}),l.syncToMarks([],r,t),this.node.isTextblock&&l.addTextblockHacks(),l.destroyRest(),(l.changed||this.dirty==gh)&&(a&&this.protectLocalComposition(t,a),Lz(this.contentDOM,this.children,t),Lv&&Z3e(this.dom))}localCompositionInfo(t,n){let{from:r,to:i}=t.state.selection;if(!(t.state.selection instanceof er)||r<n||i>n+this.node.content.size)return null;let o=t.input.compositionNode;if(!o||!this.dom.contains(o.parentNode))return null;if(this.node.inlineContent){let a=o.nodeValue,s=Q3e(this.node.content,a,r-n,i-n);return s<0?null:{node:o,pos:s,text:a}}else return{node:o,pos:-1,text:""}}protectLocalComposition(t,{node:n,pos:r,text:i}){if(this.getDesc(n))return;let o=n;for(;o.parentNode!=this.contentDOM;o=o.parentNode){for(;o.previousSibling;)o.parentNode.removeChild(o.previousSibling);for(;o.nextSibling;)o.parentNode.removeChild(o.nextSibling);o.pmViewDesc&&(o.pmViewDesc=void 0)}let a=new X3e(this,o,n,i);t.input.compositionNodes.push(a),this.children=h6(this.children,r,r+i.length,t,a)}update(t,n,r,i){return this.dirty==vu||!t.sameMarkup(this.node)?!1:(this.updateInner(t,n,r,i),!0)}updateInner(t,n,r,i){this.updateOuterDeco(n),this.node=t,this.innerDeco=r,this.contentDOM&&this.updateChildren(i,this.posAtStart),this.dirty=ws}updateOuterDeco(t){if(d6(t,this.outerDeco))return;let n=this.nodeDOM.nodeType!=1,r=this.dom;this.dom=Tz(this.dom,this.nodeDOM,f6(this.outerDeco,this.node,n),f6(t,this.node,n)),this.dom!=r&&(r.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=t}selectNode(){this.nodeDOM.nodeType==1&&this.nodeDOM.classList.add("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&(this.dom.draggable=!0)}deselectNode(){this.nodeDOM.nodeType==1&&(this.nodeDOM.classList.remove("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&this.dom.removeAttribute("draggable"))}get domAtom(){return this.node.isAtom}}function FX(e,t,n,r,i){_z(r,t,e);let o=new If(void 0,e,t,n,r,r,r,i,0);return o.contentDOM&&o.updateChildren(i,0),o}class b3 extends If{constructor(t,n,r,i,o,a,s){super(t,n,r,i,o,null,a,s,0)}parseRule(){let t=this.nodeDOM.parentNode;for(;t&&t!=this.dom&&!t.pmIsDeco;)t=t.parentNode;return{skip:t||!0}}update(t,n,r,i){return this.dirty==vu||this.dirty!=ws&&!this.inParent()||!t.sameMarkup(this.node)?!1:(this.updateOuterDeco(n),(this.dirty!=ws||t.text!=this.node.text)&&t.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=t.text,i.trackWrites==this.nodeDOM&&(i.trackWrites=null)),this.node=t,this.dirty=ws,!0)}inParent(){let t=this.parent.contentDOM;for(let n=this.nodeDOM;n;n=n.parentNode)if(n==t)return!0;return!1}domFromPos(t){return{node:this.nodeDOM,offset:t}}localPosFromDOM(t,n,r){return t==this.nodeDOM?this.posAtStart+Math.min(n,this.node.text.length):super.localPosFromDOM(t,n,r)}ignoreMutation(t){return t.type!="characterData"&&t.type!="selection"}slice(t,n,r){let i=this.node.cut(t,n),o=document.createTextNode(i.text);return new b3(this.parent,i,this.outerDeco,this.innerDeco,o,o,r)}markDirty(t,n){super.markDirty(t,n),this.dom!=this.nodeDOM&&(t==0||n==this.nodeDOM.nodeValue.length)&&(this.dirty=vu)}get domAtom(){return!1}isText(t){return this.node.text==t}}class Mz extends ay{parseRule(){return{ignore:!0}}matchesHack(t){return this.dirty==ws&&this.dom.nodeName==t}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}}class W3e extends If{constructor(t,n,r,i,o,a,s,l,u,c){super(t,n,r,i,o,a,s,u,c),this.spec=l}update(t,n,r,i){if(this.dirty==vu)return!1;if(this.spec.update){let o=this.spec.update(t,n,r);return o&&this.updateInner(t,n,r,i),o}else return!this.contentDOM&&!t.isLeaf?!1:super.update(t,n,r,i)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(t,n,r,i){this.spec.setSelection?this.spec.setSelection(t,n,r):super.setSelection(t,n,r,i)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(t){return this.spec.stopEvent?this.spec.stopEvent(t):!1}ignoreMutation(t){return this.spec.ignoreMutation?this.spec.ignoreMutation(t):super.ignoreMutation(t)}}function Lz(e,t,n){let r=e.firstChild,i=!1;for(let o=0;o<t.length;o++){let a=t[o],s=a.dom;if(s.parentNode==e){for(;s!=r;)r=EX(r),i=!0;r=r.nextSibling}else i=!0,e.insertBefore(s,r);if(a instanceof e0){let l=r?r.previousSibling:e.lastChild;Lz(a.contentDOM,a.children,n),r=l?l.nextSibling:e.firstChild}}for(;r;)r=EX(r),i=!0;i&&n.trackWrites==e&&(n.trackWrites=null)}const cm=function(e){e&&(this.nodeName=e)};cm.prototype=Object.create(null);const mh=[new cm];function f6(e,t,n){if(e.length==0)return mh;let r=n?mh[0]:new cm,i=[r];for(let o=0;o<e.length;o++){let a=e[o].type.attrs;if(a){a.nodeName&&i.push(r=new cm(a.nodeName));for(let s in a){let l=a[s];l!=null&&(n&&i.length==1&&i.push(r=new cm(t.isInline?"span":"div")),s=="class"?r.class=(r.class?r.class+" ":"")+l:s=="style"?r.style=(r.style?r.style+";":"")+l:s!="nodeName"&&(r[s]=l))}}}return i}function Tz(e,t,n,r){if(n==mh&&r==mh)return t;let i=t;for(let o=0;o<r.length;o++){let a=r[o],s=n[o];if(o){let l;s&&s.nodeName==a.nodeName&&i!=e&&(l=i.parentNode)&&l.nodeName.toLowerCase()==a.nodeName||(l=document.createElement(a.nodeName),l.pmIsDeco=!0,l.appendChild(i),s=mh[0]),i=l}V3e(i,s||mh[0],a)}return i}function V3e(e,t,n){for(let r in t)r!="class"&&r!="style"&&r!="nodeName"&&!(r in n)&&e.removeAttribute(r);for(let r in n)r!="class"&&r!="style"&&r!="nodeName"&&n[r]!=t[r]&&e.setAttribute(r,n[r]);if(t.class!=n.class){let r=t.class?t.class.split(" ").filter(Boolean):[],i=n.class?n.class.split(" ").filter(Boolean):[];for(let o=0;o<r.length;o++)i.indexOf(r[o])==-1&&e.classList.remove(r[o]);for(let o=0;o<i.length;o++)r.indexOf(i[o])==-1&&e.classList.add(i[o]);e.classList.length==0&&e.removeAttribute("class")}if(t.style!=n.style){if(t.style){let r=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g,i;for(;i=r.exec(t.style);)e.style.removeProperty(i[1])}n.style&&(e.style.cssText+=n.style)}}function _z(e,t,n){return Tz(e,e,mh,f6(t,n,e.nodeType!=1))}function d6(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].type.eq(t[n].type))return!1;return!0}function EX(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}class D3e{constructor(t,n,r){this.lock=n,this.view=r,this.index=0,this.stack=[],this.changed=!1,this.top=t,this.preMatch=U3e(t.node.content,t)}destroyBetween(t,n){if(t!=n){for(let r=t;r<n;r++)this.top.children[r].destroy();this.top.children.splice(t,n-t),this.changed=!0}}destroyRest(){this.destroyBetween(this.index,this.top.children.length)}syncToMarks(t,n,r){let i=0,o=this.stack.length>>1,a=Math.min(o,t.length);for(;i<a&&(i==o-1?this.top:this.stack[i+1<<1]).matchesMark(t[i])&&t[i].type.spec.spanning!==!1;)i++;for(;i<o;)this.destroyRest(),this.top.dirty=ws,this.index=this.stack.pop(),this.top=this.stack.pop(),o--;for(;o<t.length;){this.stack.push(this.top,this.index+1);let s=-1;for(let l=this.index;l<Math.min(this.index+3,this.top.children.length);l++){let u=this.top.children[l];if(u.matchesMark(t[o])&&!this.isLocked(u.dom)){s=l;break}}if(s>-1)s>this.index&&(this.changed=!0,this.destroyBetween(this.index,s)),this.top=this.top.children[this.index];else{let l=e0.create(this.top,t[o],n,r);this.top.children.splice(this.index,0,l),this.top=l,this.changed=!0}this.index=0,o++}}findNodeMatch(t,n,r,i){let o=-1,a;if(i>=this.preMatch.index&&(a=this.preMatch.matches[i-this.preMatch.index]).parent==this.top&&a.matchesNode(t,n,r))o=this.top.children.indexOf(a,this.index);else for(let s=this.index,l=Math.min(this.top.children.length,s+5);s<l;s++){let u=this.top.children[s];if(u.matchesNode(t,n,r)&&!this.preMatch.matched.has(u)){o=s;break}}return o<0?!1:(this.destroyBetween(this.index,o),this.index++,!0)}updateNodeAt(t,n,r,i,o){let a=this.top.children[i];return a.dirty==vu&&a.dom==a.contentDOM&&(a.dirty=gh),a.update(t,n,r,o)?(this.destroyBetween(this.index,i),this.index++,!0):!1}findIndexWithChild(t){for(;;){let n=t.parentNode;if(!n)return-1;if(n==this.top.contentDOM){let r=t.pmViewDesc;if(r){for(let i=this.index;i<this.top.children.length;i++)if(this.top.children[i]==r)return i}return-1}t=n}}updateNextNode(t,n,r,i,o,a){for(let s=this.index;s<this.top.children.length;s++){let l=this.top.children[s];if(l instanceof If){let u=this.preMatch.matched.get(l);if(u!=null&&u!=o)return!1;let c=l.dom,f,d=this.isLocked(c)&&!(t.isText&&l.node&&l.node.isText&&l.nodeDOM.nodeValue==t.text&&l.dirty!=vu&&d6(n,l.outerDeco));if(!d&&l.update(t,n,r,i))return this.destroyBetween(this.index,s),l.dom!=c&&(this.changed=!0),this.index++,!0;if(!d&&(f=this.recreateWrapper(l,t,n,r,i,a)))return this.top.children[this.index]=f,f.contentDOM&&(f.dirty=gh,f.updateChildren(i,a+1),f.dirty=ws),this.changed=!0,this.index++,!0;break}}return!1}recreateWrapper(t,n,r,i,o,a){if(t.dirty||n.isAtom||!t.children.length||!t.node.content.eq(n.content))return null;let s=If.create(this.top,n,r,i,o,a);if(s.contentDOM){s.children=t.children,t.children=[];for(let l of s.children)l.parent=s}return t.destroy(),s}addNode(t,n,r,i,o){let a=If.create(this.top,t,n,r,i,o);a.contentDOM&&a.updateChildren(i,o+1),this.top.children.splice(this.index++,0,a),this.changed=!0}placeWidget(t,n,r){let i=this.index<this.top.children.length?this.top.children[this.index]:null;if(i&&i.matchesWidget(t)&&(t==i.widget||!i.widget.type.toDOM.parentNode))this.index++;else{let o=new wz(this.top,t,n,r);this.top.children.splice(this.index++,0,o),this.changed=!0}}addTextblockHacks(){let t=this.top.children[this.index-1],n=this.top;for(;t instanceof e0;)n=t,t=n.children[n.children.length-1];(!t||!(t instanceof b3)||/\n$/.test(t.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(t.node.text))&&((Io||ho)&&t&&t.dom.contentEditable=="false"&&this.addHackNode("IMG",n),this.addHackNode("BR",this.top))}addHackNode(t,n){if(n==this.top&&this.index<n.children.length&&n.children[this.index].matchesHack(t))this.index++;else{let r=document.createElement(t);t=="IMG"&&(r.className="ProseMirror-separator",r.alt=""),t=="BR"&&(r.className="ProseMirror-trailingBreak");let i=new Mz(this.top,[],r,null);n!=this.top?n.children.push(i):n.children.splice(this.index++,0,i),this.changed=!0}}isLocked(t){return this.lock&&(t==this.lock||t.nodeType==1&&t.contains(this.lock.parentNode))}}function U3e(e,t){let n=t,r=n.children.length,i=e.childCount,o=new Map,a=[];e:for(;i>0;){let s;for(;;)if(r){let u=n.children[r-1];if(u instanceof e0)n=u,r=u.children.length;else{s=u,r--;break}}else{if(n==t)break e;r=n.parent.children.indexOf(n),n=n.parent}let l=s.node;if(l){if(l!=e.child(i-1))break;--i,o.set(s,i),a.push(s)}}return{index:i,matched:o,matches:a.reverse()}}function B3e(e,t){return e.type.side-t.type.side}function Y3e(e,t,n,r){let i=t.locals(e),o=0;if(i.length==0){for(let u=0;u<e.childCount;u++){let c=e.child(u);r(c,i,t.forChild(o,c),u),o+=c.nodeSize}return}let a=0,s=[],l=null;for(let u=0;;){let c,f;for(;a<i.length&&i[a].to==o;){let g=i[a++];g.widget&&(c?(f||(f=[c])).push(g):c=g)}if(c)if(f){f.sort(B3e);for(let g=0;g<f.length;g++)n(f[g],u,!!l)}else n(c,u,!!l);let d,h;if(l)h=-1,d=l,l=null;else if(u<e.childCount)h=u,d=e.child(u++);else break;for(let g=0;g<s.length;g++)s[g].to<=o&&s.splice(g--,1);for(;a<i.length&&i[a].from<=o&&i[a].to>o;)s.push(i[a++]);let p=o+d.nodeSize;if(d.isText){let g=p;a<i.length&&i[a].from<g&&(g=i[a].from);for(let m=0;m<s.length;m++)s[m].to<g&&(g=s[m].to);g<p&&(l=d.cut(g-o),d=d.cut(0,g-o),p=g,h=-1)}else for(;a<i.length&&i[a].to<p;)a++;let v=d.isInline&&!d.isLeaf?s.filter(g=>!g.inline):s.slice();r(d,v,t.forChild(o,d),h),o=p}}function Z3e(e){if(e.nodeName=="UL"||e.nodeName=="OL"){let t=e.style.cssText;e.style.cssText=t+"; list-style: square !important",window.getComputedStyle(e).listStyle,e.style.cssText=t}}function Q3e(e,t,n,r){for(let i=0,o=0;i<e.childCount&&o<=r;){let a=e.child(i++),s=o;if(o+=a.nodeSize,!a.isText)continue;let l=a.text;for(;i<e.childCount;){let u=e.child(i++);if(o+=u.nodeSize,!u.isText)break;l+=u.text}if(o>=n){if(o>=r&&l.slice(r-t.length-s,r-s)==t)return r-t.length;let u=s<r?l.lastIndexOf(t,r-s-1):-1;if(u>=0&&u+t.length+s>=n)return s+u;if(n==r&&l.length>=r+t.length-s&&l.slice(r-s,r-s+t.length)==t)return r}}return-1}function h6(e,t,n,r,i){let o=[];for(let a=0,s=0;a<e.length;a++){let l=e[a],u=s,c=s+=l.size;u>=n||c<=t?o.push(l):(u<t&&o.push(l.slice(0,t-u,r)),i&&(o.push(i),i=void 0),c>n&&o.push(l.slice(n-u,l.size,r)))}return o}function Sk(e,t=null){let n=e.domSelectionRange(),r=e.state.doc;if(!n.focusNode)return null;let i=e.docView.nearestDesc(n.focusNode),o=i&&i.size==0,a=e.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(a<0)return null;let s=r.resolve(a),l,u;if(R3(n)){for(l=s;i&&!i.node;)i=i.parent;let c=i.node;if(i&&c.isAtom&&zt.isSelectable(c)&&i.parent&&!(c.isInline&&m3e(n.focusNode,n.focusOffset,i.dom))){let f=i.posBefore;u=new zt(a==f?s:r.resolve(f))}}else{let c=e.docView.posFromDOM(n.anchorNode,n.anchorOffset,1);if(c<0)return null;l=r.resolve(c)}if(!u){let c=t=="pointer"||e.state.selection.head<s.pos&&!o?1:-1;u=wk(e,l,s,c)}return u}function Oz(e){return e.editable?e.hasFocus():Pz(e)&&document.activeElement&&document.activeElement.contains(e.dom)}function oc(e,t=!1){let n=e.state.selection;if(kz(e,n),!!Oz(e)){if(!t&&e.input.mouseDown&&e.input.mouseDown.allowDefault&&ho){let r=e.domSelectionRange(),i=e.domObserver.currentSelection;if(r.anchorNode&&i.anchorNode&&qh(r.anchorNode,r.anchorOffset,i.anchorNode,i.anchorOffset)){e.input.mouseDown.delayedSelectionSync=!0,e.domObserver.setCurSelection();return}}if(e.domObserver.disconnectSelection(),e.cursorWrapper)K3e(e);else{let{anchor:r,head:i}=n,o,a;XX&&!(n instanceof er)&&(n.$from.parent.inlineContent||(o=WX(e,n.from)),!n.empty&&!n.$from.parent.inlineContent&&(a=WX(e,n.to))),e.docView.setSelection(r,i,e.root,t),XX&&(o&&VX(o),a&&VX(a)),n.visible?e.dom.classList.remove("ProseMirror-hideselection"):(e.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&H3e(e))}e.domObserver.setCurSelection(),e.domObserver.connectSelection()}}const XX=Io||ho&&mz<63;function WX(e,t){let{node:n,offset:r}=e.docView.domFromPos(t,0),i=r<n.childNodes.length?n.childNodes[r]:null,o=r?n.childNodes[r-1]:null;if(Io&&i&&i.contentEditable=="false")return C5(i);if((!i||i.contentEditable=="false")&&(!o||o.contentEditable=="false")){if(i)return C5(i);if(o)return C5(o)}}function C5(e){return e.contentEditable="true",Io&&e.draggable&&(e.draggable=!1,e.wasDraggable=!0),e}function VX(e){e.contentEditable="false",e.wasDraggable&&(e.draggable=!0,e.wasDraggable=null)}function H3e(e){let t=e.dom.ownerDocument;t.removeEventListener("selectionchange",e.input.hideSelectionGuard);let n=e.domSelectionRange(),r=n.anchorNode,i=n.anchorOffset;t.addEventListener("selectionchange",e.input.hideSelectionGuard=()=>{(n.anchorNode!=r||n.anchorOffset!=i)&&(t.removeEventListener("selectionchange",e.input.hideSelectionGuard),setTimeout(()=>{(!Oz(e)||e.state.selection.visible)&&e.dom.classList.remove("ProseMirror-hideselection")},20))})}function K3e(e){let t=e.domSelection(),n=document.createRange(),r=e.cursorWrapper.dom,i=r.nodeName=="IMG";i?n.setEnd(r.parentNode,Yi(r)+1):n.setEnd(r,0),n.collapse(!1),t.removeAllRanges(),t.addRange(n),!i&&!e.state.selection.visible&&aa&&Cf<=11&&(r.disabled=!0,r.disabled=!1)}function kz(e,t){if(t instanceof zt){let n=e.docView.descAt(t.from);n!=e.lastSelectedViewDesc&&(DX(e),n&&n.selectNode(),e.lastSelectedViewDesc=n)}else DX(e)}function DX(e){e.lastSelectedViewDesc&&(e.lastSelectedViewDesc.parent&&e.lastSelectedViewDesc.deselectNode(),e.lastSelectedViewDesc=void 0)}function wk(e,t,n,r){return e.someProp("createSelectionBetween",i=>i(e,t,n))||er.between(t,n,r)}function UX(e){return e.editable&&!e.hasFocus()?!1:Pz(e)}function Pz(e){let t=e.domSelectionRange();if(!t.anchorNode)return!1;try{return e.dom.contains(t.anchorNode.nodeType==3?t.anchorNode.parentNode:t.anchorNode)&&(e.editable||e.dom.contains(t.focusNode.nodeType==3?t.focusNode.parentNode:t.focusNode))}catch{return!1}}function G3e(e){let t=e.docView.domFromPos(e.state.selection.anchor,0),n=e.domSelectionRange();return qh(t.node,t.offset,n.anchorNode,n.anchorOffset)}function p6(e,t){let{$anchor:n,$head:r}=e.selection,i=t>0?n.max(r):n.min(r),o=i.parent.inlineContent?i.depth?e.doc.resolve(t>0?i.after():i.before()):null:i;return o&&Nn.findFrom(o,t)}function ff(e,t){return e.dispatch(e.state.tr.setSelection(t).scrollIntoView()),!0}function BX(e,t,n){let r=e.state.selection;if(r instanceof er)if(n.indexOf("s")>-1){let{$head:i}=r,o=i.textOffset?null:t<0?i.nodeBefore:i.nodeAfter;if(!o||o.isText||!o.isLeaf)return!1;let a=e.state.doc.resolve(i.pos+o.nodeSize*(t<0?-1:1));return ff(e,new er(r.$anchor,a))}else if(r.empty){if(e.endOfTextblock(t>0?"forward":"backward")){let i=p6(e.state,t);return i&&i instanceof zt?ff(e,i):!1}else if(!(ds&&n.indexOf("m")>-1)){let i=r.$head,o=i.textOffset?null:t<0?i.nodeBefore:i.nodeAfter,a;if(!o||o.isText)return!1;let s=t<0?i.pos-o.nodeSize:i.pos;return o.isAtom||(a=e.docView.descAt(s))&&!a.contentDOM?zt.isSelectable(o)?ff(e,new zt(t<0?e.state.doc.resolve(i.pos-o.nodeSize):i)):oy?ff(e,new er(e.state.doc.resolve(t<0?s:s+o.nodeSize))):!1:!1}}else return!1;else{if(r instanceof zt&&r.node.isInline)return ff(e,new er(t>0?r.$to:r.$from));{let i=p6(e.state,t);return i?ff(e,i):!1}}}function Wx(e){return e.nodeType==3?e.nodeValue.length:e.childNodes.length}function fm(e,t){let n=e.pmViewDesc;return n&&n.size==0&&(t<0||e.nextSibling||e.nodeName!="BR")}function B0(e,t){return t<0?z3e(e):J3e(e)}function z3e(e){let t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;let i,o,a=!1;for(fl&&n.nodeType==1&&r<Wx(n)&&fm(n.childNodes[r],-1)&&(a=!0);;)if(r>0){if(n.nodeType!=1)break;{let s=n.childNodes[r-1];if(fm(s,-1))i=n,o=--r;else if(s.nodeType==3)n=s,r=n.nodeValue.length;else break}}else{if(Cz(n))break;{let s=n.previousSibling;for(;s&&fm(s,-1);)i=n.parentNode,o=Yi(s),s=s.previousSibling;if(s)n=s,r=Wx(n);else{if(n=n.parentNode,n==e.dom)break;r=0}}}a?v6(e,n,r):i&&v6(e,i,o)}function J3e(e){let t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;let i=Wx(n),o,a;for(;;)if(r<i){if(n.nodeType!=1)break;let s=n.childNodes[r];if(fm(s,1))o=n,a=++r;else break}else{if(Cz(n))break;{let s=n.nextSibling;for(;s&&fm(s,1);)o=s.parentNode,a=Yi(s)+1,s=s.nextSibling;if(s)n=s,r=0,i=Wx(n);else{if(n=n.parentNode,n==e.dom)break;r=i=0}}}o&&v6(e,o,a)}function Cz(e){let t=e.pmViewDesc;return t&&t.node&&t.node.isBlock}function $3e(e,t){for(;e&&t==e.childNodes.length&&!iy(e);)t=Yi(e)+1,e=e.parentNode;for(;e&&t<e.childNodes.length;){let n=e.childNodes[t];if(n.nodeType==3)return n;if(n.nodeType==1&&n.contentEditable=="false")break;e=n,t=0}}function j3e(e,t){for(;e&&!t&&!iy(e);)t=Yi(e),e=e.parentNode;for(;e&&t;){let n=e.childNodes[t-1];if(n.nodeType==3)return n;if(n.nodeType==1&&n.contentEditable=="false")break;e=n,t=e.childNodes.length}}function v6(e,t,n){if(t.nodeType!=3){let o,a;(a=$3e(t,n))?(t=a,n=0):(o=j3e(t,n))&&(t=o,n=o.nodeValue.length)}let r=e.domSelection();if(R3(r)){let o=document.createRange();o.setEnd(t,n),o.setStart(t,n),r.removeAllRanges(),r.addRange(o)}else r.extend&&r.extend(t,n);e.domObserver.setCurSelection();let{state:i}=e;setTimeout(()=>{e.state==i&&oc(e)},50)}function YX(e,t){let n=e.state.doc.resolve(t);if(!(ho||R3e)&&n.parent.inlineContent){let i=e.coordsAtPos(t);if(t>n.start()){let o=e.coordsAtPos(t-1),a=(o.top+o.bottom)/2;if(a>i.top&&a<i.bottom&&Math.abs(o.left-i.left)>1)return o.left<i.left?"ltr":"rtl"}if(t<n.end()){let o=e.coordsAtPos(t+1),a=(o.top+o.bottom)/2;if(a>i.top&&a<i.bottom&&Math.abs(o.left-i.left)>1)return o.left>i.left?"ltr":"rtl"}}return getComputedStyle(e.dom).direction=="rtl"?"rtl":"ltr"}function ZX(e,t,n){let r=e.state.selection;if(r instanceof er&&!r.empty||n.indexOf("s")>-1||ds&&n.indexOf("m")>-1)return!1;let{$from:i,$to:o}=r;if(!i.parent.inlineContent||e.endOfTextblock(t<0?"up":"down")){let a=p6(e.state,t);if(a&&a instanceof zt)return ff(e,a)}if(!i.parent.inlineContent){let a=t<0?i:o,s=r instanceof na?Nn.near(a,t):Nn.findFrom(a,t);return s?ff(e,s):!1}return!1}function QX(e,t){if(!(e.state.selection instanceof er))return!0;let{$head:n,$anchor:r,empty:i}=e.state.selection;if(!n.sameParent(r))return!0;if(!i)return!1;if(e.endOfTextblock(t>0?"forward":"backward"))return!0;let o=!n.textOffset&&(t<0?n.nodeBefore:n.nodeAfter);if(o&&!o.isText){let a=e.state.tr;return t<0?a.delete(n.pos-o.nodeSize,n.pos):a.delete(n.pos,n.pos+o.nodeSize),e.dispatch(a),!0}return!1}function HX(e,t,n){e.domObserver.stop(),t.contentEditable=n,e.domObserver.start()}function q3e(e){if(!Io||e.state.selection.$head.parentOffset>0)return!1;let{focusNode:t,focusOffset:n}=e.domSelectionRange();if(t&&t.nodeType==1&&n==0&&t.firstChild&&t.firstChild.contentEditable=="false"){let r=t.firstChild;HX(e,r,"true"),setTimeout(()=>HX(e,r,"false"),20)}return!1}function e4e(e){let t="";return e.ctrlKey&&(t+="c"),e.metaKey&&(t+="m"),e.altKey&&(t+="a"),e.shiftKey&&(t+="s"),t}function t4e(e,t){let n=t.keyCode,r=e4e(t);if(n==8||ds&&n==72&&r=="c")return QX(e,-1)||B0(e,-1);if(n==46&&!t.shiftKey||ds&&n==68&&r=="c")return QX(e,1)||B0(e,1);if(n==13||n==27)return!0;if(n==37||ds&&n==66&&r=="c"){let i=n==37?YX(e,e.state.selection.from)=="ltr"?-1:1:-1;return BX(e,i,r)||B0(e,i)}else if(n==39||ds&&n==70&&r=="c"){let i=n==39?YX(e,e.state.selection.from)=="ltr"?1:-1:1;return BX(e,i,r)||B0(e,i)}else{if(n==38||ds&&n==80&&r=="c")return ZX(e,-1,r)||B0(e,-1);if(n==40||ds&&n==78&&r=="c")return q3e(e)||ZX(e,1,r)||B0(e,1);if(r==(ds?"m":"c")&&(n==66||n==73||n==89||n==90))return!0}return!1}function Iz(e,t){e.someProp("transformCopied",h=>{t=h(t,e)});let n=[],{content:r,openStart:i,openEnd:o}=t;for(;i>1&&o>1&&r.childCount==1&&r.firstChild.childCount==1;){i--,o--;let h=r.firstChild;n.push(h.type.name,h.attrs!=h.type.defaultAttrs?h.attrs:null),r=h.content}let a=e.someProp("clipboardSerializer")||Vv.fromSchema(e.state.schema),s=Vz(),l=s.createElement("div");l.appendChild(a.serializeFragment(r,{document:s}));let u=l.firstChild,c,f=0;for(;u&&u.nodeType==1&&(c=Wz[u.nodeName.toLowerCase()]);){for(let h=c.length-1;h>=0;h--){let p=s.createElement(c[h]);for(;l.firstChild;)p.appendChild(l.firstChild);l.appendChild(p),f++}u=l.firstChild}u&&u.nodeType==1&&u.setAttribute("data-pm-slice",`${i} ${o}${f?` -${f}`:""} ${JSON.stringify(n)}`);let d=e.someProp("clipboardTextSerializer",h=>h(t,e))||t.content.textBetween(0,t.content.size,`
|
||
|
||
`);return{dom:l,text:d,slice:t}}function Nz(e,t,n,r,i){let o=i.parent.type.spec.code,a,s;if(!n&&!t)return null;let l=t&&(r||o||!n);if(l){if(e.someProp("transformPastedText",d=>{t=d(t,o||r,e)}),o)return t?new Mt(ft.from(e.state.schema.text(t.replace(/\r\n?/g,`
|
||
`))),0,0):Mt.empty;let f=e.someProp("clipboardTextParser",d=>d(t,i,r,e));if(f)s=f;else{let d=i.marks(),{schema:h}=e.state,p=Vv.fromSchema(h);a=document.createElement("div"),t.split(/(?:\r\n?|\n)+/).forEach(v=>{let g=a.appendChild(document.createElement("p"));v&&g.appendChild(p.serializeNode(h.text(v,d)))})}}else e.someProp("transformPastedHTML",f=>{n=f(n,e)}),a=i4e(n),oy&&o4e(a);let u=a&&a.querySelector("[data-pm-slice]"),c=u&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(u.getAttribute("data-pm-slice")||"");if(c&&c[3])for(let f=+c[3];f>0;f--){let d=a.firstChild;for(;d&&d.nodeType!=1;)d=d.nextSibling;if(!d)break;a=d}if(s||(s=(e.someProp("clipboardParser")||e.someProp("domParser")||yO.fromSchema(e.state.schema)).parseSlice(a,{preserveWhitespace:!!(l||c),context:i,ruleFromNode(d){return d.nodeName=="BR"&&!d.nextSibling&&d.parentNode&&!n4e.test(d.parentNode.nodeName)?{ignore:!0}:null}})),c)s=a4e(KX(s,+c[1],+c[2]),c[4]);else if(s=Mt.maxOpen(r4e(s.content,i),!0),s.openStart||s.openEnd){let f=0,d=0;for(let h=s.content.firstChild;f<s.openStart&&!h.type.spec.isolating;f++,h=h.firstChild);for(let h=s.content.lastChild;d<s.openEnd&&!h.type.spec.isolating;d++,h=h.lastChild);s=KX(s,f,d)}return e.someProp("transformPasted",f=>{s=f(s,e)}),s}const n4e=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function r4e(e,t){if(e.childCount<2)return e;for(let n=t.depth;n>=0;n--){let i=t.node(n).contentMatchAt(t.index(n)),o,a=[];if(e.forEach(s=>{if(!a)return;let l=i.findWrapping(s.type),u;if(!l)return a=null;if(u=a.length&&o.length&&Ez(l,o,s,a[a.length-1],0))a[a.length-1]=u;else{a.length&&(a[a.length-1]=Xz(a[a.length-1],o.length));let c=Fz(s,l);a.push(c),i=i.matchType(c.type),o=l}}),a)return ft.from(a)}return e}function Fz(e,t,n=0){for(let r=t.length-1;r>=n;r--)e=t[r].create(null,ft.from(e));return e}function Ez(e,t,n,r,i){if(i<e.length&&i<t.length&&e[i]==t[i]){let o=Ez(e,t,n,r.lastChild,i+1);if(o)return r.copy(r.content.replaceChild(r.childCount-1,o));if(r.contentMatchAt(r.childCount).matchType(i==e.length-1?n.type:e[i+1]))return r.copy(r.content.append(ft.from(Fz(n,e,i+1))))}}function Xz(e,t){if(t==0)return e;let n=e.content.replaceChild(e.childCount-1,Xz(e.lastChild,t-1)),r=e.contentMatchAt(e.childCount).fillBefore(ft.empty,!0);return e.copy(n.append(r))}function g6(e,t,n,r,i,o){let a=t<0?e.firstChild:e.lastChild,s=a.content;return e.childCount>1&&(o=0),i<r-1&&(s=g6(s,t,n,r,i+1,o)),i>=n&&(s=t<0?a.contentMatchAt(0).fillBefore(s,o<=i).append(s):s.append(a.contentMatchAt(a.childCount).fillBefore(ft.empty,!0))),e.replaceChild(t<0?0:e.childCount-1,a.copy(s))}function KX(e,t,n){return t<e.openStart&&(e=new Mt(g6(e.content,-1,t,e.openStart,0,e.openEnd),t,e.openEnd)),n<e.openEnd&&(e=new Mt(g6(e.content,1,n,e.openEnd,0,0),e.openStart,n)),e}const Wz={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]};let GX=null;function Vz(){return GX||(GX=document.implementation.createHTMLDocument("title"))}function i4e(e){let t=/^(\s*<meta [^>]*>)*/.exec(e);t&&(e=e.slice(t[0].length));let n=Vz().createElement("div"),r=/<([a-z][^>\s]+)/i.exec(e),i;if((i=r&&Wz[r[1].toLowerCase()])&&(e=i.map(o=>"<"+o+">").join("")+e+i.map(o=>"</"+o+">").reverse().join("")),n.innerHTML=e,i)for(let o=0;o<i.length;o++)n=n.querySelector(i[o])||n;return n}function o4e(e){let t=e.querySelectorAll(ho?"span:not([class]):not([style])":"span.Apple-converted-space");for(let n=0;n<t.length;n++){let r=t[n];r.childNodes.length==1&&r.textContent==" "&&r.parentNode&&r.parentNode.replaceChild(e.ownerDocument.createTextNode(" "),r)}}function a4e(e,t){if(!e.size)return e;let n=e.content.firstChild.type.schema,r;try{r=JSON.parse(t)}catch{return e}let{content:i,openStart:o,openEnd:a}=e;for(let s=r.length-2;s>=0;s-=2){let l=n.nodes[r[s]];if(!l||l.hasRequiredAttrs())break;i=ft.from(l.create(r[s+1],i)),o++,a++}return new Mt(i,o,a)}const No={},Fo={},s4e={touchstart:!0,touchmove:!0};class l4e{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:""},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastAndroidDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function u4e(e){for(let t in No){let n=No[t];e.dom.addEventListener(t,e.input.eventHandlers[t]=r=>{f4e(e,r)&&!Mk(e,r)&&(e.editable||!(r.type in Fo))&&n(e,r)},s4e[t]?{passive:!0}:void 0)}Io&&e.dom.addEventListener("input",()=>null),m6(e)}function bf(e,t){e.input.lastSelectionOrigin=t,e.input.lastSelectionTime=Date.now()}function c4e(e){e.domObserver.stop();for(let t in e.input.eventHandlers)e.dom.removeEventListener(t,e.input.eventHandlers[t]);clearTimeout(e.input.composingTimeout),clearTimeout(e.input.lastIOSEnterFallbackTimeout)}function m6(e){e.someProp("handleDOMEvents",t=>{for(let n in t)e.input.eventHandlers[n]||e.dom.addEventListener(n,e.input.eventHandlers[n]=r=>Mk(e,r))})}function Mk(e,t){return e.someProp("handleDOMEvents",n=>{let r=n[t.type];return r?r(e,t)||t.defaultPrevented:!1})}function f4e(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let n=t.target;n!=e.dom;n=n.parentNode)if(!n||n.nodeType==11||n.pmViewDesc&&n.pmViewDesc.stopEvent(t))return!1;return!0}function d4e(e,t){!Mk(e,t)&&No[t.type]&&(e.editable||!(t.type in Fo))&&No[t.type](e,t)}Fo.keydown=(e,t)=>{let n=t;if(e.input.shiftKey=n.keyCode==16||n.shiftKey,!Uz(e,n)&&(e.input.lastKeyCode=n.keyCode,e.input.lastKeyCodeTime=Date.now(),!(rl&&ho&&n.keyCode==13)))if(n.keyCode!=229&&e.domObserver.forceFlush(),Lv&&n.keyCode==13&&!n.ctrlKey&&!n.altKey&&!n.metaKey){let r=Date.now();e.input.lastIOSEnter=r,e.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{e.input.lastIOSEnter==r&&(e.someProp("handleKeyDown",i=>i(e,uh(13,"Enter"))),e.input.lastIOSEnter=0)},200)}else e.someProp("handleKeyDown",r=>r(e,n))||t4e(e,n)?n.preventDefault():bf(e,"key")};Fo.keyup=(e,t)=>{t.keyCode==16&&(e.input.shiftKey=!1)};Fo.keypress=(e,t)=>{let n=t;if(Uz(e,n)||!n.charCode||n.ctrlKey&&!n.altKey||ds&&n.metaKey)return;if(e.someProp("handleKeyPress",i=>i(e,n))){n.preventDefault();return}let r=e.state.selection;if(!(r instanceof er)||!r.$from.sameParent(r.$to)){let i=String.fromCharCode(n.charCode);!/[\r\n]/.test(i)&&!e.someProp("handleTextInput",o=>o(e,r.$from.pos,r.$to.pos,i))&&e.dispatch(e.state.tr.insertText(i).scrollIntoView()),n.preventDefault()}};function x3(e){return{left:e.clientX,top:e.clientY}}function h4e(e,t){let n=t.x-e.clientX,r=t.y-e.clientY;return n*n+r*r<100}function Lk(e,t,n,r,i){if(r==-1)return!1;let o=e.state.doc.resolve(r);for(let a=o.depth+1;a>0;a--)if(e.someProp(t,s=>a>o.depth?s(e,n,o.nodeAfter,o.before(a),i,!0):s(e,n,o.node(a),o.before(a),i,!1)))return!0;return!1}function rv(e,t,n){e.focused||e.focus();let r=e.state.tr.setSelection(t);r.setMeta("pointer",!0),e.dispatch(r)}function p4e(e,t){if(t==-1)return!1;let n=e.state.doc.resolve(t),r=n.nodeAfter;return r&&r.isAtom&&zt.isSelectable(r)?(rv(e,new zt(n)),!0):!1}function v4e(e,t){if(t==-1)return!1;let n=e.state.selection,r,i;n instanceof zt&&(r=n.node);let o=e.state.doc.resolve(t);for(let a=o.depth+1;a>0;a--){let s=a>o.depth?o.nodeAfter:o.node(a);if(zt.isSelectable(s)){r&&n.$from.depth>0&&a>=n.$from.depth&&o.before(n.$from.depth+1)==n.$from.pos?i=o.before(n.$from.depth):i=o.before(a);break}}return i!=null?(rv(e,zt.create(e.state.doc,i)),!0):!1}function g4e(e,t,n,r,i){return Lk(e,"handleClickOn",t,n,r)||e.someProp("handleClick",o=>o(e,t,r))||(i?v4e(e,n):p4e(e,n))}function m4e(e,t,n,r){return Lk(e,"handleDoubleClickOn",t,n,r)||e.someProp("handleDoubleClick",i=>i(e,t,r))}function y4e(e,t,n,r){return Lk(e,"handleTripleClickOn",t,n,r)||e.someProp("handleTripleClick",i=>i(e,t,r))||A4e(e,n,r)}function A4e(e,t,n){if(n.button!=0)return!1;let r=e.state.doc;if(t==-1)return r.inlineContent?(rv(e,er.create(r,0,r.content.size)),!0):!1;let i=r.resolve(t);for(let o=i.depth+1;o>0;o--){let a=o>i.depth?i.nodeAfter:i.node(o),s=i.before(o);if(a.inlineContent)rv(e,er.create(r,s+1,s+1+a.content.size));else if(zt.isSelectable(a))rv(e,zt.create(r,s));else continue;return!0}}function Tk(e){return Vx(e)}const Dz=ds?"metaKey":"ctrlKey";No.mousedown=(e,t)=>{let n=t;e.input.shiftKey=n.shiftKey;let r=Tk(e),i=Date.now(),o="singleClick";i-e.input.lastClick.time<500&&h4e(n,e.input.lastClick)&&!n[Dz]&&(e.input.lastClick.type=="singleClick"?o="doubleClick":e.input.lastClick.type=="doubleClick"&&(o="tripleClick")),e.input.lastClick={time:i,x:n.clientX,y:n.clientY,type:o};let a=e.posAtCoords(x3(n));a&&(o=="singleClick"?(e.input.mouseDown&&e.input.mouseDown.done(),e.input.mouseDown=new R4e(e,a,n,!!r)):(o=="doubleClick"?m4e:y4e)(e,a.pos,a.inside,n)?n.preventDefault():bf(e,"pointer"))};class R4e{constructor(t,n,r,i){this.view=t,this.pos=n,this.event=r,this.flushed=i,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=t.state.doc,this.selectNode=!!r[Dz],this.allowDefault=r.shiftKey;let o,a;if(n.inside>-1)o=t.state.doc.nodeAt(n.inside),a=n.inside;else{let c=t.state.doc.resolve(n.pos);o=c.parent,a=c.depth?c.before():0}const s=i?null:r.target,l=s?t.docView.nearestDesc(s,!0):null;this.target=l&&l.dom.nodeType==1?l.dom:null;let{selection:u}=t.state;(r.button==0&&o.type.spec.draggable&&o.type.spec.selectable!==!1||u instanceof zt&&u.from<=a&&u.to>a)&&(this.mightDrag={node:o,pos:a,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&fl&&!this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),t.root.addEventListener("mouseup",this.up=this.up.bind(this)),t.root.addEventListener("mousemove",this.move=this.move.bind(this)),bf(t,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>oc(this.view)),this.view.input.mouseDown=null}up(t){if(this.done(),!this.view.dom.contains(t.target))return;let n=this.pos;this.view.state.doc!=this.startDoc&&(n=this.view.posAtCoords(x3(t))),this.updateAllowDefault(t),this.allowDefault||!n?bf(this.view,"pointer"):g4e(this.view,n.pos,n.inside,t,this.selectNode)?t.preventDefault():t.button==0&&(this.flushed||Io&&this.mightDrag&&!this.mightDrag.node.isAtom||ho&&!this.view.state.selection.visible&&Math.min(Math.abs(n.pos-this.view.state.selection.from),Math.abs(n.pos-this.view.state.selection.to))<=2)?(rv(this.view,Nn.near(this.view.state.doc.resolve(n.pos))),t.preventDefault()):bf(this.view,"pointer")}move(t){this.updateAllowDefault(t),bf(this.view,"pointer"),t.buttons==0&&this.done()}updateAllowDefault(t){!this.allowDefault&&(Math.abs(this.event.x-t.clientX)>4||Math.abs(this.event.y-t.clientY)>4)&&(this.allowDefault=!0)}}No.touchstart=e=>{e.input.lastTouch=Date.now(),Tk(e),bf(e,"pointer")};No.touchmove=e=>{e.input.lastTouch=Date.now(),bf(e,"pointer")};No.contextmenu=e=>Tk(e);function Uz(e,t){return e.composing?!0:Io&&Math.abs(t.timeStamp-e.input.compositionEndedAt)<500?(e.input.compositionEndedAt=-2e8,!0):!1}const b4e=rl?5e3:-1;Fo.compositionstart=Fo.compositionupdate=e=>{if(!e.composing){e.domObserver.flush();let{state:t}=e,n=t.selection.$from;if(t.selection.empty&&(t.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some(r=>r.type.spec.inclusive===!1)))e.markCursor=e.state.storedMarks||n.marks(),Vx(e,!0),e.markCursor=null;else if(Vx(e),fl&&t.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let r=e.domSelectionRange();for(let i=r.focusNode,o=r.focusOffset;i&&i.nodeType==1&&o!=0;){let a=o<0?i.lastChild:i.childNodes[o-1];if(!a)break;if(a.nodeType==3){e.domSelection().collapse(a,a.nodeValue.length);break}else i=a,o=-1}}e.input.composing=!0}Bz(e,b4e)};Fo.compositionend=(e,t)=>{e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=t.timeStamp,e.input.compositionPendingChanges=e.domObserver.pendingRecords().length?e.input.compositionID:0,e.input.compositionNode=null,e.input.compositionPendingChanges&&Promise.resolve().then(()=>e.domObserver.flush()),e.input.compositionID++,Bz(e,20))};function Bz(e,t){clearTimeout(e.input.composingTimeout),t>-1&&(e.input.composingTimeout=setTimeout(()=>Vx(e),t))}function Yz(e){for(e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=S4e());e.input.compositionNodes.length>0;)e.input.compositionNodes.pop().markParentsDirty()}function x4e(e){let t=e.domSelectionRange();if(!t.focusNode)return null;let n=v3e(t.focusNode,t.focusOffset),r=g3e(t.focusNode,t.focusOffset);if(n&&r&&n!=r){let i=r.pmViewDesc,o=e.domObserver.lastChangedTextNode;if(n==o||r==o)return o;if(!i||!i.isText(r.nodeValue))return r;if(e.input.compositionNode==r){let a=n.pmViewDesc;if(!(!a||!a.isText(n.nodeValue)))return r}}return n||r}function S4e(){let e=document.createEvent("Event");return e.initEvent("event",!0,!0),e.timeStamp}function Vx(e,t=!1){if(!(rl&&e.domObserver.flushingSoon>=0)){if(e.domObserver.forceFlush(),Yz(e),t||e.docView&&e.docView.dirty){let n=Sk(e);return n&&!n.eq(e.state.selection)?e.dispatch(e.state.tr.setSelection(n)):e.updateState(e.state),!0}return!1}}function w4e(e,t){if(!e.dom.parentNode)return;let n=e.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(t),n.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),i=document.createRange();i.selectNodeContents(t),e.dom.blur(),r.removeAllRanges(),r.addRange(i),setTimeout(()=>{n.parentNode&&n.parentNode.removeChild(n),e.focus()},50)}const i2=aa&&Cf<15||Lv&&b3e<604;No.copy=Fo.cut=(e,t)=>{let n=t,r=e.state.selection,i=n.type=="cut";if(r.empty)return;let o=i2?null:n.clipboardData,a=r.content(),{dom:s,text:l}=Iz(e,a);o?(n.preventDefault(),o.clearData(),o.setData("text/html",s.innerHTML),o.setData("text/plain",l)):w4e(e,s),i&&e.dispatch(e.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function M4e(e){return e.openStart==0&&e.openEnd==0&&e.content.childCount==1?e.content.firstChild:null}function L4e(e,t){if(!e.dom.parentNode)return;let n=e.input.shiftKey||e.state.selection.$from.parent.type.spec.code,r=e.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus();let i=e.input.shiftKey&&e.input.lastKeyCode!=45;setTimeout(()=>{e.focus(),r.parentNode&&r.parentNode.removeChild(r),n?o2(e,r.value,null,i,t):o2(e,r.textContent,r.innerHTML,i,t)},50)}function o2(e,t,n,r,i){let o=Nz(e,t,n,r,e.state.selection.$from);if(e.someProp("handlePaste",l=>l(e,i,o||Mt.empty)))return!0;if(!o)return!1;let a=M4e(o),s=a?e.state.tr.replaceSelectionWith(a,r):e.state.tr.replaceSelection(o);return e.dispatch(s.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function Zz(e){let t=e.getData("text/plain")||e.getData("Text");if(t)return t;let n=e.getData("text/uri-list");return n?n.replace(/\r?\n/g," "):""}Fo.paste=(e,t)=>{let n=t;if(e.composing&&!rl)return;let r=i2?null:n.clipboardData,i=e.input.shiftKey&&e.input.lastKeyCode!=45;r&&o2(e,Zz(r),r.getData("text/html"),i,n)?n.preventDefault():L4e(e,n)};class Qz{constructor(t,n,r){this.slice=t,this.move=n,this.node=r}}const Hz=ds?"altKey":"ctrlKey";No.dragstart=(e,t)=>{let n=t,r=e.input.mouseDown;if(r&&r.done(),!n.dataTransfer)return;let i=e.state.selection,o=i.empty?null:e.posAtCoords(x3(n)),a;if(!(o&&o.pos>=i.from&&o.pos<=(i instanceof zt?i.to-1:i.to))){if(r&&r.mightDrag)a=zt.create(e.state.doc,r.mightDrag.pos);else if(n.target&&n.target.nodeType==1){let f=e.docView.nearestDesc(n.target,!0);f&&f.node.type.spec.draggable&&f!=e.docView&&(a=zt.create(e.state.doc,f.posBefore))}}let s=(a||e.state.selection).content(),{dom:l,text:u,slice:c}=Iz(e,s);(!n.dataTransfer.files.length||!ho||mz>120)&&n.dataTransfer.clearData(),n.dataTransfer.setData(i2?"Text":"text/html",l.innerHTML),n.dataTransfer.effectAllowed="copyMove",i2||n.dataTransfer.setData("text/plain",u),e.dragging=new Qz(c,!n[Hz],a)};No.dragend=e=>{let t=e.dragging;window.setTimeout(()=>{e.dragging==t&&(e.dragging=null)},50)};Fo.dragover=Fo.dragenter=(e,t)=>t.preventDefault();Fo.drop=(e,t)=>{let n=t,r=e.dragging;if(e.dragging=null,!n.dataTransfer)return;let i=e.posAtCoords(x3(n));if(!i)return;let o=e.state.doc.resolve(i.pos),a=r&&r.slice;a?e.someProp("transformPasted",p=>{a=p(a,e)}):a=Nz(e,Zz(n.dataTransfer),i2?null:n.dataTransfer.getData("text/html"),!1,o);let s=!!(r&&!n[Hz]);if(e.someProp("handleDrop",p=>p(e,n,a||Mt.empty,s))){n.preventDefault();return}if(!a)return;n.preventDefault();let l=a?JZ(e.state.doc,o.pos,a):o.pos;l==null&&(l=o.pos);let u=e.state.tr;if(s){let{node:p}=r;p?p.replace(u):u.deleteSelection()}let c=u.mapping.map(l),f=a.openStart==0&&a.openEnd==0&&a.content.childCount==1,d=u.doc;if(f?u.replaceRangeWith(c,c,a.content.firstChild):u.replaceRange(c,c,a),u.doc.eq(d))return;let h=u.doc.resolve(c);if(f&&zt.isSelectable(a.content.firstChild)&&h.nodeAfter&&h.nodeAfter.sameMarkup(a.content.firstChild))u.setSelection(new zt(h));else{let p=u.mapping.map(l);u.mapping.maps[u.mapping.maps.length-1].forEach((v,g,m,y)=>p=y),u.setSelection(wk(e,h,u.doc.resolve(p)))}e.focus(),e.dispatch(u.setMeta("uiEvent","drop"))};No.focus=e=>{e.input.lastFocus=Date.now(),e.focused||(e.domObserver.stop(),e.dom.classList.add("ProseMirror-focused"),e.domObserver.start(),e.focused=!0,setTimeout(()=>{e.docView&&e.hasFocus()&&!e.domObserver.currentSelection.eq(e.domSelectionRange())&&oc(e)},20))};No.blur=(e,t)=>{let n=t;e.focused&&(e.domObserver.stop(),e.dom.classList.remove("ProseMirror-focused"),e.domObserver.start(),n.relatedTarget&&e.dom.contains(n.relatedTarget)&&e.domObserver.currentSelection.clear(),e.focused=!1)};No.beforeinput=(e,t)=>{if(ho&&rl&&t.inputType=="deleteContentBackward"){e.domObserver.flushSoon();let{domChangeCount:r}=e.input;setTimeout(()=>{if(e.input.domChangeCount!=r||(e.dom.blur(),e.focus(),e.someProp("handleKeyDown",o=>o(e,uh(8,"Backspace")))))return;let{$cursor:i}=e.state.selection;i&&i.pos>0&&e.dispatch(e.state.tr.delete(i.pos-1,i.pos).scrollIntoView())},50)}};for(let e in Fo)No[e]=Fo[e];function a2(e,t){if(e==t)return!0;for(let n in e)if(e[n]!==t[n])return!1;for(let n in t)if(!(n in e))return!1;return!0}class Dx{constructor(t,n){this.toDOM=t,this.spec=n||Ih,this.side=this.spec.side||0}map(t,n,r,i){let{pos:o,deleted:a}=t.mapResult(n.from+i,this.side<0?-1:1);return a?null:new Wa(o-r,o-r,this)}valid(){return!0}eq(t){return this==t||t instanceof Dx&&(this.spec.key&&this.spec.key==t.spec.key||this.toDOM==t.toDOM&&a2(this.spec,t.spec))}destroy(t){this.spec.destroy&&this.spec.destroy(t)}}class Nf{constructor(t,n){this.attrs=t,this.spec=n||Ih}map(t,n,r,i){let o=t.map(n.from+i,this.spec.inclusiveStart?-1:1)-r,a=t.map(n.to+i,this.spec.inclusiveEnd?1:-1)-r;return o>=a?null:new Wa(o,a,this)}valid(t,n){return n.from<n.to}eq(t){return this==t||t instanceof Nf&&a2(this.attrs,t.attrs)&&a2(this.spec,t.spec)}static is(t){return t.type instanceof Nf}destroy(){}}class _k{constructor(t,n){this.attrs=t,this.spec=n||Ih}map(t,n,r,i){let o=t.mapResult(n.from+i,1);if(o.deleted)return null;let a=t.mapResult(n.to+i,-1);return a.deleted||a.pos<=o.pos?null:new Wa(o.pos-r,a.pos-r,this)}valid(t,n){let{index:r,offset:i}=t.content.findIndex(n.from),o;return i==n.from&&!(o=t.child(r)).isText&&i+o.nodeSize==n.to}eq(t){return this==t||t instanceof _k&&a2(this.attrs,t.attrs)&&a2(this.spec,t.spec)}destroy(){}}class Wa{constructor(t,n,r){this.from=t,this.to=n,this.type=r}copy(t,n){return new Wa(t,n,this.type)}eq(t,n=0){return this.type.eq(t.type)&&this.from+n==t.from&&this.to+n==t.to}map(t,n,r){return this.type.map(t,this,n,r)}static widget(t,n,r){return new Wa(t,t,new Dx(n,r))}static inline(t,n,r,i){return new Wa(t,n,new Nf(r,i))}static node(t,n,r,i){return new Wa(t,n,new _k(r,i))}get spec(){return this.type.spec}get inline(){return this.type instanceof Nf}get widget(){return this.type instanceof Dx}}const Rp=[],Ih={};class si{constructor(t,n){this.local=t.length?t:Rp,this.children=n.length?n:Rp}static create(t,n){return n.length?Ux(n,t,0,Ih):ro}find(t,n,r){let i=[];return this.findInner(t??0,n??1e9,i,0,r),i}findInner(t,n,r,i,o){for(let a=0;a<this.local.length;a++){let s=this.local[a];s.from<=n&&s.to>=t&&(!o||o(s.spec))&&r.push(s.copy(s.from+i,s.to+i))}for(let a=0;a<this.children.length;a+=3)if(this.children[a]<n&&this.children[a+1]>t){let s=this.children[a]+1;this.children[a+2].findInner(t-s,n-s,r,i+s,o)}}map(t,n,r){return this==ro||t.maps.length==0?this:this.mapInner(t,n,0,0,r||Ih)}mapInner(t,n,r,i,o){let a;for(let s=0;s<this.local.length;s++){let l=this.local[s].map(t,r,i);l&&l.type.valid(n,l)?(a||(a=[])).push(l):o.onRemove&&o.onRemove(this.local[s].spec)}return this.children.length?T4e(this.children,a||[],t,n,r,i,o):a?new si(a.sort(Nh),Rp):ro}add(t,n){return n.length?this==ro?si.create(t,n):this.addInner(t,n,0):this}addInner(t,n,r){let i,o=0;t.forEach((s,l)=>{let u=l+r,c;if(c=Gz(n,s,u)){for(i||(i=this.children.slice());o<i.length&&i[o]<l;)o+=3;i[o]==l?i[o+2]=i[o+2].addInner(s,c,u+1):i.splice(o,0,l,l+s.nodeSize,Ux(c,s,u+1,Ih)),o+=3}});let a=Kz(o?zz(n):n,-r);for(let s=0;s<a.length;s++)a[s].type.valid(t,a[s])||a.splice(s--,1);return new si(a.length?this.local.concat(a).sort(Nh):this.local,i||this.children)}remove(t){return t.length==0||this==ro?this:this.removeInner(t,0)}removeInner(t,n){let r=this.children,i=this.local;for(let o=0;o<r.length;o+=3){let a,s=r[o]+n,l=r[o+1]+n;for(let c=0,f;c<t.length;c++)(f=t[c])&&f.from>s&&f.to<l&&(t[c]=null,(a||(a=[])).push(f));if(!a)continue;r==this.children&&(r=this.children.slice());let u=r[o+2].removeInner(a,s+1);u!=ro?r[o+2]=u:(r.splice(o,3),o-=3)}if(i.length){for(let o=0,a;o<t.length;o++)if(a=t[o])for(let s=0;s<i.length;s++)i[s].eq(a,n)&&(i==this.local&&(i=this.local.slice()),i.splice(s--,1))}return r==this.children&&i==this.local?this:i.length||r.length?new si(i,r):ro}forChild(t,n){if(this==ro)return this;if(n.isLeaf)return si.empty;let r,i;for(let s=0;s<this.children.length;s+=3)if(this.children[s]>=t){this.children[s]==t&&(r=this.children[s+2]);break}let o=t+1,a=o+n.content.size;for(let s=0;s<this.local.length;s++){let l=this.local[s];if(l.from<a&&l.to>o&&l.type instanceof Nf){let u=Math.max(o,l.from)-o,c=Math.min(a,l.to)-o;u<c&&(i||(i=[])).push(l.copy(u,c))}}if(i){let s=new si(i.sort(Nh),Rp);return r?new mf([s,r]):s}return r||ro}eq(t){if(this==t)return!0;if(!(t instanceof si)||this.local.length!=t.local.length||this.children.length!=t.children.length)return!1;for(let n=0;n<this.local.length;n++)if(!this.local[n].eq(t.local[n]))return!1;for(let n=0;n<this.children.length;n+=3)if(this.children[n]!=t.children[n]||this.children[n+1]!=t.children[n+1]||!this.children[n+2].eq(t.children[n+2]))return!1;return!0}locals(t){return Ok(this.localsInner(t))}localsInner(t){if(this==ro)return Rp;if(t.inlineContent||!this.local.some(Nf.is))return this.local;let n=[];for(let r=0;r<this.local.length;r++)this.local[r].type instanceof Nf||n.push(this.local[r]);return n}}si.empty=new si([],[]);si.removeOverlap=Ok;const ro=si.empty;class mf{constructor(t){this.members=t}map(t,n){const r=this.members.map(i=>i.map(t,n,Ih));return mf.from(r)}forChild(t,n){if(n.isLeaf)return si.empty;let r=[];for(let i=0;i<this.members.length;i++){let o=this.members[i].forChild(t,n);o!=ro&&(o instanceof mf?r=r.concat(o.members):r.push(o))}return mf.from(r)}eq(t){if(!(t instanceof mf)||t.members.length!=this.members.length)return!1;for(let n=0;n<this.members.length;n++)if(!this.members[n].eq(t.members[n]))return!1;return!0}locals(t){let n,r=!0;for(let i=0;i<this.members.length;i++){let o=this.members[i].localsInner(t);if(o.length)if(!n)n=o;else{r&&(n=n.slice(),r=!1);for(let a=0;a<o.length;a++)n.push(o[a])}}return n?Ok(r?n:n.sort(Nh)):Rp}static from(t){switch(t.length){case 0:return ro;case 1:return t[0];default:return new mf(t.every(n=>n instanceof si)?t:t.reduce((n,r)=>n.concat(r instanceof si?r:r.members),[]))}}}function T4e(e,t,n,r,i,o,a){let s=e.slice();for(let u=0,c=o;u<n.maps.length;u++){let f=0;n.maps[u].forEach((d,h,p,v)=>{let g=v-p-(h-d);for(let m=0;m<s.length;m+=3){let y=s[m+1];if(y<0||d>y+c-f)continue;let R=s[m]+c-f;h>=R?s[m+1]=d<=R?-2:-1:d>=c&&g&&(s[m]+=g,s[m+1]+=g)}f+=g}),c=n.maps[u].map(c,-1)}let l=!1;for(let u=0;u<s.length;u+=3)if(s[u+1]<0){if(s[u+1]==-2){l=!0,s[u+1]=-1;continue}let c=n.map(e[u]+o),f=c-i;if(f<0||f>=r.content.size){l=!0;continue}let d=n.map(e[u+1]+o,-1),h=d-i,{index:p,offset:v}=r.content.findIndex(f),g=r.maybeChild(p);if(g&&v==f&&v+g.nodeSize==h){let m=s[u+2].mapInner(n,g,c+1,e[u]+o+1,a);m!=ro?(s[u]=f,s[u+1]=h,s[u+2]=m):(s[u+1]=-2,l=!0)}else l=!0}if(l){let u=_4e(s,e,t,n,i,o,a),c=Ux(u,r,0,a);t=c.local;for(let f=0;f<s.length;f+=3)s[f+1]<0&&(s.splice(f,3),f-=3);for(let f=0,d=0;f<c.children.length;f+=3){let h=c.children[f];for(;d<s.length&&s[d]<h;)d+=3;s.splice(d,0,c.children[f],c.children[f+1],c.children[f+2])}}return new si(t.sort(Nh),s)}function Kz(e,t){if(!t||!e.length)return e;let n=[];for(let r=0;r<e.length;r++){let i=e[r];n.push(new Wa(i.from+t,i.to+t,i.type))}return n}function _4e(e,t,n,r,i,o,a){function s(l,u){for(let c=0;c<l.local.length;c++){let f=l.local[c].map(r,i,u);f?n.push(f):a.onRemove&&a.onRemove(l.local[c].spec)}for(let c=0;c<l.children.length;c+=3)s(l.children[c+2],l.children[c]+u+1)}for(let l=0;l<e.length;l+=3)e[l+1]==-1&&s(e[l+2],t[l]+o+1);return n}function Gz(e,t,n){if(t.isLeaf)return null;let r=n+t.nodeSize,i=null;for(let o=0,a;o<e.length;o++)(a=e[o])&&a.from>n&&a.to<r&&((i||(i=[])).push(a),e[o]=null);return i}function zz(e){let t=[];for(let n=0;n<e.length;n++)e[n]!=null&&t.push(e[n]);return t}function Ux(e,t,n,r){let i=[],o=!1;t.forEach((s,l)=>{let u=Gz(e,s,l+n);if(u){o=!0;let c=Ux(u,s,n+l+1,r);c!=ro&&i.push(l,l+s.nodeSize,c)}});let a=Kz(o?zz(e):e,-n).sort(Nh);for(let s=0;s<a.length;s++)a[s].type.valid(t,a[s])||(r.onRemove&&r.onRemove(a[s].spec),a.splice(s--,1));return a.length||i.length?new si(a,i):ro}function Nh(e,t){return e.from-t.from||e.to-t.to}function Ok(e){let t=e;for(let n=0;n<t.length-1;n++){let r=t[n];if(r.from!=r.to)for(let i=n+1;i<t.length;i++){let o=t[i];if(o.from==r.from){o.to!=r.to&&(t==e&&(t=e.slice()),t[i]=o.copy(o.from,r.to),zX(t,i+1,o.copy(r.to,o.to)));continue}else{o.from<r.to&&(t==e&&(t=e.slice()),t[n]=r.copy(r.from,o.from),zX(t,i,r.copy(o.from,r.to)));break}}}return t}function zX(e,t,n){for(;t<e.length&&Nh(n,e[t])>0;)t++;e.splice(t,0,n)}function I5(e){let t=[];return e.someProp("decorations",n=>{let r=n(e.state);r&&r!=ro&&t.push(r)}),e.cursorWrapper&&t.push(si.create(e.state.doc,[e.cursorWrapper.deco])),mf.from(t)}const O4e={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},k4e=aa&&Cf<=11;class P4e{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(t){this.anchorNode=t.anchorNode,this.anchorOffset=t.anchorOffset,this.focusNode=t.focusNode,this.focusOffset=t.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(t){return t.anchorNode==this.anchorNode&&t.anchorOffset==this.anchorOffset&&t.focusNode==this.focusNode&&t.focusOffset==this.focusOffset}}class C4e{constructor(t,n){this.view=t,this.handleDOMChange=n,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new P4e,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver(r=>{for(let i=0;i<r.length;i++)this.queue.push(r[i]);aa&&Cf<=11&&r.some(i=>i.type=="childList"&&i.removedNodes.length||i.type=="characterData"&&i.oldValue.length>i.target.nodeValue.length)?this.flushSoon():this.flush()}),k4e&&(this.onCharData=r=>{this.queue.push({target:r.target,type:"characterData",oldValue:r.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,O4e)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let t=this.observer.takeRecords();if(t.length){for(let n=0;n<t.length;n++)this.queue.push(t[n]);window.setTimeout(()=>this.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(UX(this.view)){if(this.suppressingSelectionUpdates)return oc(this.view);if(aa&&Cf<=11&&!this.view.state.selection.empty){let t=this.view.domSelectionRange();if(t.focusNode&&qh(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(t){if(!t.focusNode)return!0;let n=new Set,r;for(let o=t.focusNode;o;o=r2(o))n.add(o);for(let o=t.anchorNode;o;o=r2(o))if(n.has(o)){r=o;break}let i=r&&this.view.docView.nearestDesc(r);if(i&&i.ignoreMutation({type:"selection",target:r.nodeType==3?r.parentNode:r}))return this.setCurSelection(),!0}pendingRecords(){if(this.observer)for(let t of this.observer.takeRecords())this.queue.push(t);return this.queue}flush(){let{view:t}=this;if(!t.docView||this.flushingSoon>-1)return;let n=this.pendingRecords();n.length&&(this.queue=[]);let r=t.domSelectionRange(),i=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(r)&&UX(t)&&!this.ignoreSelectionChange(r),o=-1,a=-1,s=!1,l=[];if(t.editable)for(let c=0;c<n.length;c++){let f=this.registerMutation(n[c],l);f&&(o=o<0?f.from:Math.min(f.from,o),a=a<0?f.to:Math.max(f.to,a),f.typeOver&&(s=!0))}if(fl&&l.length){let c=l.filter(f=>f.nodeName=="BR");if(c.length==2){let[f,d]=c;f.parentNode&&f.parentNode.parentNode==d.parentNode?d.remove():f.remove()}else{let{focusNode:f}=this.currentSelection;for(let d of c){let h=d.parentNode;h&&h.nodeName=="LI"&&(!f||F4e(t,f)!=h)&&d.remove()}}}let u=null;o<0&&i&&t.input.lastFocus>Date.now()-200&&Math.max(t.input.lastTouch,t.input.lastClick.time)<Date.now()-300&&R3(r)&&(u=Sk(t))&&u.eq(Nn.near(t.state.doc.resolve(0),1))?(t.input.lastFocus=0,oc(t),this.currentSelection.set(r),t.scrollToSelection()):(o>-1||i)&&(o>-1&&(t.docView.markDirty(o,a),I4e(t)),this.handleDOMChange(o,a,s,l),t.docView&&t.docView.dirty?t.updateState(t.state):this.currentSelection.eq(r)||oc(t),this.currentSelection.set(r))}registerMutation(t,n){if(n.indexOf(t.target)>-1)return null;let r=this.view.docView.nearestDesc(t.target);if(t.type=="attributes"&&(r==this.view.docView||t.attributeName=="contenteditable"||t.attributeName=="style"&&!t.oldValue&&!t.target.getAttribute("style"))||!r||r.ignoreMutation(t))return null;if(t.type=="childList"){for(let c=0;c<t.addedNodes.length;c++){let f=t.addedNodes[c];n.push(f),f.nodeType==3&&(this.lastChangedTextNode=f)}if(r.contentDOM&&r.contentDOM!=r.dom&&!r.contentDOM.contains(t.target))return{from:r.posBefore,to:r.posAfter};let i=t.previousSibling,o=t.nextSibling;if(aa&&Cf<=11&&t.addedNodes.length)for(let c=0;c<t.addedNodes.length;c++){let{previousSibling:f,nextSibling:d}=t.addedNodes[c];(!f||Array.prototype.indexOf.call(t.addedNodes,f)<0)&&(i=f),(!d||Array.prototype.indexOf.call(t.addedNodes,d)<0)&&(o=d)}let a=i&&i.parentNode==t.target?Yi(i)+1:0,s=r.localPosFromDOM(t.target,a,-1),l=o&&o.parentNode==t.target?Yi(o):t.target.childNodes.length,u=r.localPosFromDOM(t.target,l,1);return{from:s,to:u}}else return t.type=="attributes"?{from:r.posAtStart-r.border,to:r.posAtEnd+r.border}:(this.lastChangedTextNode=t.target,{from:r.posAtStart,to:r.posAtEnd,typeOver:t.target.nodeValue==t.oldValue})}}let JX=new WeakMap,$X=!1;function I4e(e){if(!JX.has(e)&&(JX.set(e,null),["normal","nowrap","pre-line"].indexOf(getComputedStyle(e.dom).whiteSpace)!==-1)){if(e.requiresGeckoHackNode=fl,$X)return;console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),$X=!0}}function jX(e,t){let n=t.startContainer,r=t.startOffset,i=t.endContainer,o=t.endOffset,a=e.domAtPos(e.state.selection.anchor);return qh(a.node,a.offset,i,o)&&([n,r,i,o]=[i,o,n,r]),{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:o}}function N4e(e,t){if(t.getComposedRanges){let i=t.getComposedRanges(e.root)[0];if(i)return jX(e,i)}let n;function r(i){i.preventDefault(),i.stopImmediatePropagation(),n=i.getTargetRanges()[0]}return e.dom.addEventListener("beforeinput",r,!0),document.execCommand("indent"),e.dom.removeEventListener("beforeinput",r,!0),n?jX(e,n):null}function F4e(e,t){for(let n=t.parentNode;n&&n!=e.dom;n=n.parentNode){let r=e.docView.nearestDesc(n,!0);if(r&&r.node.isBlock)return n}return null}function E4e(e,t,n){let{node:r,fromOffset:i,toOffset:o,from:a,to:s}=e.docView.parseRange(t,n),l=e.domSelectionRange(),u,c=l.anchorNode;if(c&&e.dom.contains(c.nodeType==1?c:c.parentNode)&&(u=[{node:c,offset:l.anchorOffset}],R3(l)||u.push({node:l.focusNode,offset:l.focusOffset})),ho&&e.input.lastKeyCode===8)for(let g=o;g>i;g--){let m=r.childNodes[g-1],y=m.pmViewDesc;if(m.nodeName=="BR"&&!y){o=g;break}if(!y||y.size)break}let f=e.state.doc,d=e.someProp("domParser")||yO.fromSchema(e.state.schema),h=f.resolve(a),p=null,v=d.parse(r,{topNode:h.parent,topMatch:h.parent.contentMatchAt(h.index()),topOpen:!0,from:i,to:o,preserveWhitespace:h.parent.type.whitespace=="pre"?"full":!0,findPositions:u,ruleFromNode:X4e,context:h});if(u&&u[0].pos!=null){let g=u[0].pos,m=u[1]&&u[1].pos;m==null&&(m=g),p={anchor:g+a,head:m+a}}return{doc:v,sel:p,from:a,to:s}}function X4e(e){let t=e.pmViewDesc;if(t)return t.parseRule();if(e.nodeName=="BR"&&e.parentNode){if(Io&&/^(ul|ol)$/i.test(e.parentNode.nodeName)){let n=document.createElement("div");return n.appendChild(document.createElement("li")),{skip:n}}else if(e.parentNode.lastChild==e||Io&&/^(tr|table)$/i.test(e.parentNode.nodeName))return{ignore:!0}}else if(e.nodeName=="IMG"&&e.getAttribute("mark-placeholder"))return{ignore:!0};return null}const W4e=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function V4e(e,t,n,r,i){let o=e.input.compositionPendingChanges||(e.composing?e.input.compositionID:0);if(e.input.compositionPendingChanges=0,t<0){let w=e.input.lastSelectionTime>Date.now()-50?e.input.lastSelectionOrigin:null,L=Sk(e,w);if(L&&!e.state.selection.eq(L)){if(ho&&rl&&e.input.lastKeyCode===13&&Date.now()-100<e.input.lastKeyCodeTime&&e.someProp("handleKeyDown",P=>P(e,uh(13,"Enter"))))return;let k=e.state.tr.setSelection(L);w=="pointer"?k.setMeta("pointer",!0):w=="key"&&k.scrollIntoView(),o&&k.setMeta("composition",o),e.dispatch(k)}return}let a=e.state.doc.resolve(t),s=a.sharedDepth(n);t=a.before(s+1),n=e.state.doc.resolve(n).after(s+1);let l=e.state.selection,u=E4e(e,t,n),c=e.state.doc,f=c.slice(u.from,u.to),d,h;e.input.lastKeyCode===8&&Date.now()-100<e.input.lastKeyCodeTime?(d=e.state.selection.to,h="end"):(d=e.state.selection.from,h="start"),e.input.lastKeyCode=null;let p=B4e(f.content,u.doc.content,u.from,d,h);if((Lv&&e.input.lastIOSEnter>Date.now()-225||rl)&&i.some(w=>w.nodeType==1&&!W4e.test(w.nodeName))&&(!p||p.endA>=p.endB)&&e.someProp("handleKeyDown",w=>w(e,uh(13,"Enter")))){e.input.lastIOSEnter=0;return}if(!p)if(r&&l instanceof er&&!l.empty&&l.$head.sameParent(l.$anchor)&&!e.composing&&!(u.sel&&u.sel.anchor!=u.sel.head))p={start:l.from,endA:l.to,endB:l.to};else{if(u.sel){let w=qX(e,e.state.doc,u.sel);if(w&&!w.eq(e.state.selection)){let L=e.state.tr.setSelection(w);o&&L.setMeta("composition",o),e.dispatch(L)}}return}e.input.domChangeCount++,e.state.selection.from<e.state.selection.to&&p.start==p.endB&&e.state.selection instanceof er&&(p.start>e.state.selection.from&&p.start<=e.state.selection.from+2&&e.state.selection.from>=u.from?p.start=e.state.selection.from:p.endA<e.state.selection.to&&p.endA>=e.state.selection.to-2&&e.state.selection.to<=u.to&&(p.endB+=e.state.selection.to-p.endA,p.endA=e.state.selection.to)),aa&&Cf<=11&&p.endB==p.start+1&&p.endA==p.start&&p.start>u.from&&u.doc.textBetween(p.start-u.from-1,p.start-u.from+1)==" "&&(p.start--,p.endA--,p.endB--);let v=u.doc.resolveNoCache(p.start-u.from),g=u.doc.resolveNoCache(p.endB-u.from),m=c.resolve(p.start),y=v.sameParent(g)&&v.parent.inlineContent&&m.end()>=p.endA,R;if((Lv&&e.input.lastIOSEnter>Date.now()-225&&(!y||i.some(w=>w.nodeName=="DIV"||w.nodeName=="P"))||!y&&v.pos<u.doc.content.size&&!v.sameParent(g)&&(R=Nn.findFrom(u.doc.resolve(v.pos+1),1,!0))&&R.head==g.pos)&&e.someProp("handleKeyDown",w=>w(e,uh(13,"Enter")))){e.input.lastIOSEnter=0;return}if(e.state.selection.anchor>p.start&&U4e(c,p.start,p.endA,v,g)&&e.someProp("handleKeyDown",w=>w(e,uh(8,"Backspace")))){rl&&ho&&e.domObserver.suppressSelectionUpdates();return}ho&&rl&&p.endB==p.start&&(e.input.lastAndroidDelete=Date.now()),rl&&!y&&v.start()!=g.start()&&g.parentOffset==0&&v.depth==g.depth&&u.sel&&u.sel.anchor==u.sel.head&&u.sel.head==p.endA&&(p.endB-=2,g=u.doc.resolveNoCache(p.endB-u.from),setTimeout(()=>{e.someProp("handleKeyDown",function(w){return w(e,uh(13,"Enter"))})},20));let A=p.start,x=p.endA,S,_,M;if(y){if(v.pos==g.pos)aa&&Cf<=11&&v.parentOffset==0&&(e.domObserver.suppressSelectionUpdates(),setTimeout(()=>oc(e),20)),S=e.state.tr.delete(A,x),_=c.resolve(p.start).marksAcross(c.resolve(p.endA));else if(p.endA==p.endB&&(M=D4e(v.parent.content.cut(v.parentOffset,g.parentOffset),m.parent.content.cut(m.parentOffset,p.endA-m.start()))))S=e.state.tr,M.type=="add"?S.addMark(A,x,M.mark):S.removeMark(A,x,M.mark);else if(v.parent.child(v.index()).isText&&v.index()==g.index()-(g.textOffset?0:1)){let w=v.parent.textBetween(v.parentOffset,g.parentOffset);if(e.someProp("handleTextInput",L=>L(e,A,x,w)))return;S=e.state.tr.insertText(w,A,x)}}if(S||(S=e.state.tr.replace(A,x,u.doc.slice(p.start-u.from,p.endB-u.from))),u.sel){let w=qX(e,S.doc,u.sel);w&&!(ho&&rl&&e.composing&&w.empty&&(p.start!=p.endB||e.input.lastAndroidDelete<Date.now()-100)&&(w.head==A||w.head==S.mapping.map(x)-1)||aa&&w.empty&&w.head==A)&&S.setSelection(w)}_&&S.ensureMarks(_),o&&S.setMeta("composition",o),e.dispatch(S.scrollIntoView())}function qX(e,t,n){return Math.max(n.anchor,n.head)>t.content.size?null:wk(e,t.resolve(n.anchor),t.resolve(n.head))}function D4e(e,t){let n=e.firstChild.marks,r=t.firstChild.marks,i=n,o=r,a,s,l;for(let c=0;c<r.length;c++)i=r[c].removeFromSet(i);for(let c=0;c<n.length;c++)o=n[c].removeFromSet(o);if(i.length==1&&o.length==0)s=i[0],a="add",l=c=>c.mark(s.addToSet(c.marks));else if(i.length==0&&o.length==1)s=o[0],a="remove",l=c=>c.mark(s.removeFromSet(c.marks));else return null;let u=[];for(let c=0;c<t.childCount;c++)u.push(l(t.child(c)));if(ft.from(u).eq(e))return{mark:s,type:a}}function U4e(e,t,n,r,i){if(n-t<=i.pos-r.pos||N5(r,!0,!1)<i.pos)return!1;let o=e.resolve(t);if(!r.parent.isTextblock){let s=o.nodeAfter;return s!=null&&n==t+s.nodeSize}if(o.parentOffset<o.parent.content.size||!o.parent.isTextblock)return!1;let a=e.resolve(N5(o,!0,!0));return!a.parent.isTextblock||a.pos>n||N5(a,!0,!1)<n?!1:r.parent.content.cut(r.parentOffset).eq(a.parent.content)}function N5(e,t,n){let r=e.depth,i=t?e.end():e.pos;for(;r>0&&(t||e.indexAfter(r)==e.node(r).childCount);)r--,i++,t=!1;if(n){let o=e.node(r).maybeChild(e.indexAfter(r));for(;o&&!o.isLeaf;)o=o.firstChild,i++}return i}function B4e(e,t,n,r,i){let o=e.findDiffStart(t,n);if(o==null)return null;let{a,b:s}=e.findDiffEnd(t,n+e.size,n+t.size);if(i=="end"){let l=Math.max(0,o-Math.min(a,s));r-=a+l-o}if(a<o&&e.size<t.size){let l=r<=o&&r>=a?o-r:0;o-=l,o&&o<t.size&&eW(t.textBetween(o-1,o+1))&&(o+=l?1:-1),s=o+(s-a),a=o}else if(s<o){let l=r<=o&&r>=s?o-r:0;o-=l,o&&o<e.size&&eW(e.textBetween(o-1,o+1))&&(o+=l?1:-1),a=o+(a-s),s=o}return{start:o,endA:a,endB:s}}function eW(e){if(e.length!=2)return!1;let t=e.charCodeAt(0),n=e.charCodeAt(1);return t>=56320&&t<=57343&&n>=55296&&n<=56319}class Y4e{constructor(t,n){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new l4e,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=n,this.state=n.state,this.directPlugins=n.plugins||[],this.directPlugins.forEach(oW),this.dispatch=this.dispatch.bind(this),this.dom=t&&t.mount||document.createElement("div"),t&&(t.appendChild?t.appendChild(this.dom):typeof t=="function"?t(this.dom):t.mount&&(this.mounted=!0)),this.editable=rW(this),nW(this),this.nodeViews=iW(this),this.docView=FX(this.state.doc,tW(this),I5(this),this.dom,this),this.domObserver=new C4e(this,(r,i,o,a)=>V4e(this,r,i,o,a)),this.domObserver.start(),u4e(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let t=this._props;this._props={};for(let n in t)this._props[n]=t[n];this._props.state=this.state}return this._props}update(t){t.handleDOMEvents!=this._props.handleDOMEvents&&m6(this);let n=this._props;this._props=t,t.plugins&&(t.plugins.forEach(oW),this.directPlugins=t.plugins),this.updateStateInner(t.state,n)}setProps(t){let n={};for(let r in this._props)n[r]=this._props[r];n.state=this.state;for(let r in t)n[r]=t[r];this.update(n)}updateState(t){this.updateStateInner(t,this._props)}updateStateInner(t,n){var r;let i=this.state,o=!1,a=!1;t.storedMarks&&this.composing&&(Yz(this),a=!0),this.state=t;let s=i.plugins!=t.plugins||this._props.plugins!=n.plugins;if(s||this._props.plugins!=n.plugins||this._props.nodeViews!=n.nodeViews){let h=iW(this);Q4e(h,this.nodeViews)&&(this.nodeViews=h,o=!0)}(s||n.handleDOMEvents!=this._props.handleDOMEvents)&&m6(this),this.editable=rW(this),nW(this);let l=I5(this),u=tW(this),c=i.plugins!=t.plugins&&!i.doc.eq(t.doc)?"reset":t.scrollToSelection>i.scrollToSelection?"to selection":"preserve",f=o||!this.docView.matchesNode(t.doc,u,l);(f||!t.selection.eq(i.selection))&&(a=!0);let d=c=="preserve"&&a&&this.dom.style.overflowAnchor==null&&w3e(this);if(a){this.domObserver.stop();let h=f&&(aa||ho)&&!this.composing&&!i.selection.empty&&!t.selection.empty&&Z4e(i.selection,t.selection);if(f){let p=ho?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=x4e(this)),(o||!this.docView.update(t.doc,u,l,this))&&(this.docView.updateOuterDeco(u),this.docView.destroy(),this.docView=FX(t.doc,u,l,this.dom,this)),p&&!this.trackWrites&&(h=!0)}h||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&G3e(this))?oc(this,h):(kz(this,t.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(i),!((r=this.dragging)===null||r===void 0)&&r.node&&!i.doc.eq(t.doc)&&this.updateDraggedNode(this.dragging,i),c=="reset"?this.dom.scrollTop=0:c=="to selection"?this.scrollToSelection():d&&M3e(d)}scrollToSelection(){let t=this.domSelectionRange().focusNode;if(!this.someProp("handleScrollToSelection",n=>n(this)))if(this.state.selection instanceof zt){let n=this.docView.domAfterPos(this.state.selection.from);n.nodeType==1&&OX(this,n.getBoundingClientRect(),t)}else OX(this,this.coordsAtPos(this.state.selection.head,1),t)}destroyPluginViews(){let t;for(;t=this.pluginViews.pop();)t.destroy&&t.destroy()}updatePluginViews(t){if(!t||t.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let n=0;n<this.directPlugins.length;n++){let r=this.directPlugins[n];r.spec.view&&this.pluginViews.push(r.spec.view(this))}for(let n=0;n<this.state.plugins.length;n++){let r=this.state.plugins[n];r.spec.view&&this.pluginViews.push(r.spec.view(this))}}else for(let n=0;n<this.pluginViews.length;n++){let r=this.pluginViews[n];r.update&&r.update(this,t)}}updateDraggedNode(t,n){let r=t.node,i=-1;if(this.state.doc.nodeAt(r.from)==r.node)i=r.from;else{let o=r.from+(this.state.doc.content.size-n.doc.content.size);(o>0&&this.state.doc.nodeAt(o))==r.node&&(i=o)}this.dragging=new Qz(t.slice,t.move,i<0?void 0:zt.create(this.state.doc,i))}someProp(t,n){let r=this._props&&this._props[t],i;if(r!=null&&(i=n?n(r):r))return i;for(let a=0;a<this.directPlugins.length;a++){let s=this.directPlugins[a].props[t];if(s!=null&&(i=n?n(s):s))return i}let o=this.state.plugins;if(o)for(let a=0;a<o.length;a++){let s=o[a].props[t];if(s!=null&&(i=n?n(s):s))return i}}hasFocus(){if(aa){let t=this.root.activeElement;if(t==this.dom)return!0;if(!t||!this.dom.contains(t))return!1;for(;t&&this.dom!=t&&this.dom.contains(t);){if(t.contentEditable=="false")return!1;t=t.parentElement}return!0}return this.root.activeElement==this.dom}focus(){this.domObserver.stop(),this.editable&&L3e(this.dom),oc(this),this.domObserver.start()}get root(){let t=this._root;if(t==null){for(let n=this.dom.parentNode;n;n=n.parentNode)if(n.nodeType==9||n.nodeType==11&&n.host)return n.getSelection||(Object.getPrototypeOf(n).getSelection=()=>n.ownerDocument.getSelection()),this._root=n}return t||document}updateRoot(){this._root=null}posAtCoords(t){return P3e(this,t)}coordsAtPos(t,n=1){return xz(this,t,n)}domAtPos(t,n=0){return this.docView.domFromPos(t,n)}nodeDOM(t){let n=this.docView.descAt(t);return n?n.nodeDOM:null}posAtDOM(t,n,r=-1){let i=this.docView.posFromDOM(t,n,r);if(i==null)throw new RangeError("DOM position not inside the editor");return i}endOfTextblock(t,n){return E3e(this,n||this.state,t)}pasteHTML(t,n){return o2(this,"",t,!1,n||new ClipboardEvent("paste"))}pasteText(t,n){return o2(this,t,null,!0,n||new ClipboardEvent("paste"))}destroy(){this.docView&&(c4e(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],I5(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,h3e())}get isDestroyed(){return this.docView==null}dispatchEvent(t){return d4e(this,t)}dispatch(t){let n=this._props.dispatchTransaction;n?n.call(this,t):this.updateState(this.state.apply(t))}domSelectionRange(){let t=this.domSelection();return Io&&this.root.nodeType===11&&y3e(this.dom.ownerDocument)==this.dom&&N4e(this,t)||t}domSelection(){return this.root.getSelection()}}function tW(e){let t=Object.create(null);return t.class="ProseMirror",t.contenteditable=String(e.editable),e.someProp("attributes",n=>{if(typeof n=="function"&&(n=n(e.state)),n)for(let r in n)r=="class"?t.class+=" "+n[r]:r=="style"?t.style=(t.style?t.style+";":"")+n[r]:!t[r]&&r!="contenteditable"&&r!="nodeName"&&(t[r]=String(n[r]))}),t.translate||(t.translate="no"),[Wa.node(0,e.state.doc.content.size,t)]}function nW(e){if(e.markCursor){let t=document.createElement("img");t.className="ProseMirror-separator",t.setAttribute("mark-placeholder","true"),t.setAttribute("alt",""),e.cursorWrapper={dom:t,deco:Wa.widget(e.state.selection.head,t,{raw:!0,marks:e.markCursor})}}else e.cursorWrapper=null}function rW(e){return!e.someProp("editable",t=>t(e.state)===!1)}function Z4e(e,t){let n=Math.min(e.$anchor.sharedDepth(e.head),t.$anchor.sharedDepth(t.head));return e.$anchor.start(n)!=t.$anchor.start(n)}function iW(e){let t=Object.create(null);function n(r){for(let i in r)Object.prototype.hasOwnProperty.call(t,i)||(t[i]=r[i])}return e.someProp("nodeViews",n),e.someProp("markViews",n),t}function Q4e(e,t){let n=0,r=0;for(let i in e){if(e[i]!=t[i])return!0;n++}for(let i in t)r++;return n!=r}function oW(e){if(e.spec.state||e.spec.filterTransaction||e.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}var Hf={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},Bx={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},H4e=typeof navigator<"u"&&/Mac/.test(navigator.platform),K4e=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var Zi=0;Zi<10;Zi++)Hf[48+Zi]=Hf[96+Zi]=String(Zi);for(var Zi=1;Zi<=24;Zi++)Hf[Zi+111]="F"+Zi;for(var Zi=65;Zi<=90;Zi++)Hf[Zi]=String.fromCharCode(Zi+32),Bx[Zi]=String.fromCharCode(Zi);for(var F5 in Hf)Bx.hasOwnProperty(F5)||(Bx[F5]=Hf[F5]);function G4e(e){var t=H4e&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||K4e&&e.shiftKey&&e.key&&e.key.length==1||e.key=="Unidentified",n=!t&&e.key||(e.shiftKey?Bx:Hf)[e.keyCode]||e.key||"Unidentified";return n=="Esc"&&(n="Escape"),n=="Del"&&(n="Delete"),n=="Left"&&(n="ArrowLeft"),n=="Up"&&(n="ArrowUp"),n=="Right"&&(n="ArrowRight"),n=="Down"&&(n="ArrowDown"),n}const z4e=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!1;function J4e(e){let t=e.split(/-(?!$)/),n=t[t.length-1];n=="Space"&&(n=" ");let r,i,o,a;for(let s=0;s<t.length-1;s++){let l=t[s];if(/^(cmd|meta|m)$/i.test(l))a=!0;else if(/^a(lt)?$/i.test(l))r=!0;else if(/^(c|ctrl|control)$/i.test(l))i=!0;else if(/^s(hift)?$/i.test(l))o=!0;else if(/^mod$/i.test(l))z4e?a=!0:i=!0;else throw new Error("Unrecognized modifier name: "+l)}return r&&(n="Alt-"+n),i&&(n="Ctrl-"+n),a&&(n="Meta-"+n),o&&(n="Shift-"+n),n}function $4e(e){let t=Object.create(null);for(let n in e)t[J4e(n)]=e[n];return t}function E5(e,t,n=!0){return t.altKey&&(e="Alt-"+e),t.ctrlKey&&(e="Ctrl-"+e),t.metaKey&&(e="Meta-"+e),n&&t.shiftKey&&(e="Shift-"+e),e}function aW(e){return new Uv({props:{handleKeyDown:Jz(e)}})}function Jz(e){let t=$4e(e);return function(n,r){let i=G4e(r),o,a=t[E5(i,r)];if(a&&a(n.state,n.dispatch,n))return!0;if(i.length==1&&i!=" "){if(r.shiftKey){let s=t[E5(i,r,!1)];if(s&&s(n.state,n.dispatch,n))return!0}if((r.shiftKey||r.altKey||r.metaKey||i.charCodeAt(0)>127)&&(o=Hf[r.keyCode])&&o!=i){let s=t[E5(o,r)];if(s&&s(n.state,n.dispatch,n))return!0}}return!1}}var Yx=200,_i=function(){};_i.prototype.append=function(t){return t.length?(t=_i.from(t),!this.length&&t||t.length<Yx&&this.leafAppend(t)||this.length<Yx&&t.leafPrepend(this)||this.appendInner(t)):this};_i.prototype.prepend=function(t){return t.length?_i.from(t).append(this):this};_i.prototype.appendInner=function(t){return new j4e(this,t)};_i.prototype.slice=function(t,n){return t===void 0&&(t=0),n===void 0&&(n=this.length),t>=n?_i.empty:this.sliceInner(Math.max(0,t),Math.min(this.length,n))};_i.prototype.get=function(t){if(!(t<0||t>=this.length))return this.getInner(t)};_i.prototype.forEach=function(t,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length),n<=r?this.forEachInner(t,n,r,0):this.forEachInvertedInner(t,n,r,0)};_i.prototype.map=function(t,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length);var i=[];return this.forEach(function(o,a){return i.push(t(o,a))},n,r),i};_i.from=function(t){return t instanceof _i?t:t&&t.length?new $z(t):_i.empty};var $z=function(e){function t(r){e.call(this),this.values=r}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={length:{configurable:!0},depth:{configurable:!0}};return t.prototype.flatten=function(){return this.values},t.prototype.sliceInner=function(i,o){return i==0&&o==this.length?this:new t(this.values.slice(i,o))},t.prototype.getInner=function(i){return this.values[i]},t.prototype.forEachInner=function(i,o,a,s){for(var l=o;l<a;l++)if(i(this.values[l],s+l)===!1)return!1},t.prototype.forEachInvertedInner=function(i,o,a,s){for(var l=o-1;l>=a;l--)if(i(this.values[l],s+l)===!1)return!1},t.prototype.leafAppend=function(i){if(this.length+i.length<=Yx)return new t(this.values.concat(i.flatten()))},t.prototype.leafPrepend=function(i){if(this.length+i.length<=Yx)return new t(i.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(t.prototype,n),t}(_i);_i.empty=new $z([]);var j4e=function(e){function t(n,r){e.call(this),this.left=n,this.right=r,this.length=n.length+r.length,this.depth=Math.max(n.depth,r.depth)+1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},t.prototype.getInner=function(r){return r<this.left.length?this.left.get(r):this.right.get(r-this.left.length)},t.prototype.forEachInner=function(r,i,o,a){var s=this.left.length;if(i<s&&this.left.forEachInner(r,i,Math.min(o,s),a)===!1||o>s&&this.right.forEachInner(r,Math.max(i-s,0),Math.min(this.length,o)-s,a+s)===!1)return!1},t.prototype.forEachInvertedInner=function(r,i,o,a){var s=this.left.length;if(i>s&&this.right.forEachInvertedInner(r,i-s,Math.max(o,s)-s,a+s)===!1||o<s&&this.left.forEachInvertedInner(r,Math.min(i,s),o,a)===!1)return!1},t.prototype.sliceInner=function(r,i){if(r==0&&i==this.length)return this;var o=this.left.length;return i<=o?this.left.slice(r,i):r>=o?this.right.slice(r-o,i-o):this.left.slice(r,o).append(this.right.slice(0,i-o))},t.prototype.leafAppend=function(r){var i=this.right.leafAppend(r);if(i)return new t(this.left,i)},t.prototype.leafPrepend=function(r){var i=this.left.leafPrepend(r);if(i)return new t(i,this.right)},t.prototype.appendInner=function(r){return this.left.depth>=Math.max(this.right.depth,r.depth)+1?new t(this.left,new t(this.right,r)):new t(this,r)},t}(_i);const q4e=500;class ol{constructor(t,n){this.items=t,this.eventCount=n}popEvent(t,n){if(this.eventCount==0)return null;let r=this.items.length;for(;;r--)if(this.items.get(r-1).selection){--r;break}let i,o;n&&(i=this.remapping(r,this.items.length),o=i.maps.length);let a=t.tr,s,l,u=[],c=[];return this.items.forEach((f,d)=>{if(!f.step){i||(i=this.remapping(r,d+1),o=i.maps.length),o--,c.push(f);return}if(i){c.push(new Wl(f.map));let h=f.step.map(i.slice(o)),p;h&&a.maybeStep(h).doc&&(p=a.mapping.maps[a.mapping.maps.length-1],u.push(new Wl(p,void 0,void 0,u.length+c.length))),o--,p&&i.appendMap(p,o)}else a.maybeStep(f.step);if(f.selection)return s=i?f.selection.map(i.slice(o)):f.selection,l=new ol(this.items.slice(0,r).append(c.reverse().concat(u)),this.eventCount-1),!1},this.items.length,0),{remaining:l,transform:a,selection:s}}addTransform(t,n,r,i){let o=[],a=this.eventCount,s=this.items,l=!i&&s.length?s.get(s.length-1):null;for(let c=0;c<t.steps.length;c++){let f=t.steps[c].invert(t.docs[c]),d=new Wl(t.mapping.maps[c],f,n),h;(h=l&&l.merge(d))&&(d=h,c?o.pop():s=s.slice(0,s.length-1)),o.push(d),n&&(a++,n=void 0),i||(l=d)}let u=a-r.depth;return u>twe&&(s=ewe(s,u),a-=u),new ol(s.append(o),a)}remapping(t,n){let r=new zp;return this.items.forEach((i,o)=>{let a=i.mirrorOffset!=null&&o-i.mirrorOffset>=t?r.maps.length-i.mirrorOffset:void 0;r.appendMap(i.map,a)},t,n),r}addMaps(t){return this.eventCount==0?this:new ol(this.items.append(t.map(n=>new Wl(n))),this.eventCount)}rebased(t,n){if(!this.eventCount)return this;let r=[],i=Math.max(0,this.items.length-n),o=t.mapping,a=t.steps.length,s=this.eventCount;this.items.forEach(d=>{d.selection&&s--},i);let l=n;this.items.forEach(d=>{let h=o.getMirror(--l);if(h==null)return;a=Math.min(a,h);let p=o.maps[h];if(d.step){let v=t.steps[h].invert(t.docs[h]),g=d.selection&&d.selection.map(o.slice(l+1,h));g&&s++,r.push(new Wl(p,v,g))}else r.push(new Wl(p))},i);let u=[];for(let d=n;d<a;d++)u.push(new Wl(o.maps[d]));let c=this.items.slice(0,i).append(u).append(r),f=new ol(c,s);return f.emptyItemCount()>q4e&&(f=f.compress(this.items.length-r.length)),f}emptyItemCount(){let t=0;return this.items.forEach(n=>{n.step||t++}),t}compress(t=this.items.length){let n=this.remapping(0,t),r=n.maps.length,i=[],o=0;return this.items.forEach((a,s)=>{if(s>=t)i.push(a),a.selection&&o++;else if(a.step){let l=a.step.map(n.slice(r)),u=l&&l.getMap();if(r--,u&&n.appendMap(u,r),l){let c=a.selection&&a.selection.map(n.slice(r));c&&o++;let f=new Wl(u.invert(),l,c),d,h=i.length-1;(d=i.length&&i[h].merge(f))?i[h]=d:i.push(f)}}else a.map&&r--},this.items.length,0),new ol(_i.from(i.reverse()),o)}}ol.empty=new ol(_i.empty,0);function ewe(e,t){let n;return e.forEach((r,i)=>{if(r.selection&&t--==0)return n=i,!1}),e.slice(n)}class Wl{constructor(t,n,r,i){this.map=t,this.step=n,this.selection=r,this.mirrorOffset=i}merge(t){if(this.step&&t.step&&!t.selection){let n=t.step.merge(this.step);if(n)return new Wl(n.getMap().invert(),n,this.selection)}}}class df{constructor(t,n,r,i,o){this.done=t,this.undone=n,this.prevRanges=r,this.prevTime=i,this.prevComposition=o}}const twe=20;function nwe(e,t,n,r){let i=n.getMeta(Ff),o;if(i)return i.historyState;n.getMeta(iwe)&&(e=new df(e.done,e.undone,null,0,-1));let a=n.getMeta("appendedTransaction");if(n.steps.length==0)return e;if(a&&a.getMeta(Ff))return a.getMeta(Ff).redo?new df(e.done.addTransform(n,void 0,r,Ab(t)),e.undone,sW(n.mapping.maps[n.steps.length-1]),e.prevTime,e.prevComposition):new df(e.done,e.undone.addTransform(n,void 0,r,Ab(t)),null,e.prevTime,e.prevComposition);if(n.getMeta("addToHistory")!==!1&&!(a&&a.getMeta("addToHistory")===!1)){let s=n.getMeta("composition"),l=e.prevTime==0||!a&&e.prevComposition!=s&&(e.prevTime<(n.time||0)-r.newGroupDelay||!rwe(n,e.prevRanges)),u=a?X5(e.prevRanges,n.mapping):sW(n.mapping.maps[n.steps.length-1]);return new df(e.done.addTransform(n,l?t.selection.getBookmark():void 0,r,Ab(t)),ol.empty,u,n.time,s??e.prevComposition)}else return(o=n.getMeta("rebased"))?new df(e.done.rebased(n,o),e.undone.rebased(n,o),X5(e.prevRanges,n.mapping),e.prevTime,e.prevComposition):new df(e.done.addMaps(n.mapping.maps),e.undone.addMaps(n.mapping.maps),X5(e.prevRanges,n.mapping),e.prevTime,e.prevComposition)}function rwe(e,t){if(!t)return!1;if(!e.docChanged)return!0;let n=!1;return e.mapping.maps[0].forEach((r,i)=>{for(let o=0;o<t.length;o+=2)r<=t[o+1]&&i>=t[o]&&(n=!0)}),n}function sW(e){let t=[];return e.forEach((n,r,i,o)=>t.push(i,o)),t}function X5(e,t){if(!e)return null;let n=[];for(let r=0;r<e.length;r+=2){let i=t.map(e[r],1),o=t.map(e[r+1],-1);i<=o&&n.push(i,o)}return n}function jz(e,t,n,r){let i=Ab(t),o=Ff.get(t).spec.config,a=(r?e.undone:e.done).popEvent(t,i);if(!a)return;let s=a.selection.resolve(a.transform.doc),l=(r?e.done:e.undone).addTransform(a.transform,t.selection.getBookmark(),o,i),u=new df(r?l:a.remaining,r?a.remaining:l,null,0,-1);n(a.transform.setSelection(s).setMeta(Ff,{redo:r,historyState:u}).scrollIntoView())}let W5=!1,lW=null;function Ab(e){let t=e.plugins;if(lW!=t){W5=!1,lW=t;for(let n=0;n<t.length;n++)if(t[n].spec.historyPreserveItems){W5=!0;break}}return W5}const Ff=new rQ("history"),iwe=new rQ("closeHistory");function owe(e={}){return e={depth:e.depth||100,newGroupDelay:e.newGroupDelay||500},new Uv({key:Ff,state:{init(){return new df(ol.empty,ol.empty,null,0,-1)},apply(t,n,r){return nwe(n,r,t,e)}},config:e,props:{handleDOMEvents:{beforeinput(t,n){let r=n.inputType,i=r=="historyUndo"?qz:r=="historyRedo"?eJ:null;return i?(n.preventDefault(),i(t.state,t.dispatch)):!1}}}})}const qz=(e,t)=>{let n=Ff.getState(e);return!n||n.done.eventCount==0?!1:(t&&jz(n,e,t,!1),!0)},eJ=(e,t)=>{let n=Ff.getState(e);return!n||n.undone.eventCount==0?!1:(t&&jz(n,e,t,!0),!0)};function awe(e={}){return new Uv({view(t){return new swe(t,e)}})}class swe{constructor(t,n){var r;this.editorView=t,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=(r=n.width)!==null&&r!==void 0?r:1,this.color=n.color===!1?void 0:n.color||"black",this.class=n.class,this.handlers=["dragover","dragend","drop","dragleave"].map(i=>{let o=a=>{this[i](a)};return t.dom.addEventListener(i,o),{name:i,handler:o}})}destroy(){this.handlers.forEach(({name:t,handler:n})=>this.editorView.dom.removeEventListener(t,n))}update(t,n){this.cursorPos!=null&&n.doc!=t.state.doc&&(this.cursorPos>t.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(t){t!=this.cursorPos&&(this.cursorPos=t,t==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let t=this.editorView.state.doc.resolve(this.cursorPos),n=!t.parent.inlineContent,r;if(n){let s=t.nodeBefore,l=t.nodeAfter;if(s||l){let u=this.editorView.nodeDOM(this.cursorPos-(s?s.nodeSize:0));if(u){let c=u.getBoundingClientRect(),f=s?c.bottom:c.top;s&&l&&(f=(f+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2),r={left:c.left,right:c.right,top:f-this.width/2,bottom:f+this.width/2}}}}if(!r){let s=this.editorView.coordsAtPos(this.cursorPos);r={left:s.left-this.width/2,right:s.left+this.width/2,top:s.top,bottom:s.bottom}}let i=this.editorView.dom.offsetParent;this.element||(this.element=i.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",n),this.element.classList.toggle("prosemirror-dropcursor-inline",!n);let o,a;if(!i||i==document.body&&getComputedStyle(i).position=="static")o=-pageXOffset,a=-pageYOffset;else{let s=i.getBoundingClientRect();o=s.left-i.scrollLeft,a=s.top-i.scrollTop}this.element.style.left=r.left-o+"px",this.element.style.top=r.top-a+"px",this.element.style.width=r.right-r.left+"px",this.element.style.height=r.bottom-r.top+"px"}scheduleRemoval(t){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),t)}dragover(t){if(!this.editorView.editable)return;let n=this.editorView.posAtCoords({left:t.clientX,top:t.clientY}),r=n&&n.inside>=0&&this.editorView.state.doc.nodeAt(n.inside),i=r&&r.type.spec.disableDropCursor,o=typeof i=="function"?i(this.editorView,n,t):i;if(n&&!o){let a=n.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let s=JZ(this.editorView.state.doc,a,this.editorView.dragging.slice);s!=null&&(a=s)}this.setCursor(a),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(t){(t.target==this.editorView.dom||!this.editorView.dom.contains(t.relatedTarget))&&this.setCursor(null)}}class Kr extends Nn{constructor(t){super(t,t)}map(t,n){let r=t.resolve(n.map(this.head));return Kr.valid(r)?new Kr(r):Nn.near(r)}content(){return Mt.empty}eq(t){return t instanceof Kr&&t.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(t,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new Kr(t.resolve(n.pos))}getBookmark(){return new kk(this.anchor)}static valid(t){let n=t.parent;if(n.isTextblock||!lwe(t)||!uwe(t))return!1;let r=n.type.spec.allowGapCursor;if(r!=null)return r;let i=n.contentMatchAt(t.index()).defaultType;return i&&i.isTextblock}static findGapCursorFrom(t,n,r=!1){e:for(;;){if(!r&&Kr.valid(t))return t;let i=t.pos,o=null;for(let a=t.depth;;a--){let s=t.node(a);if(n>0?t.indexAfter(a)<s.childCount:t.index(a)>0){o=s.child(n>0?t.indexAfter(a):t.index(a)-1);break}else if(a==0)return null;i+=n;let l=t.doc.resolve(i);if(Kr.valid(l))return l}for(;;){let a=n>0?o.firstChild:o.lastChild;if(!a){if(o.isAtom&&!o.isText&&!zt.isSelectable(o)){t=t.doc.resolve(i+o.nodeSize*n),r=!1;continue e}break}o=a,i+=n;let s=t.doc.resolve(i);if(Kr.valid(s))return s}return null}}}Kr.prototype.visible=!1;Kr.findFrom=Kr.findGapCursorFrom;Nn.jsonID("gapcursor",Kr);class kk{constructor(t){this.pos=t}map(t){return new kk(t.map(this.pos))}resolve(t){let n=t.resolve(this.pos);return Kr.valid(n)?new Kr(n):Nn.near(n)}}function lwe(e){for(let t=e.depth;t>=0;t--){let n=e.index(t),r=e.node(t);if(n==0){if(r.type.spec.isolating)return!0;continue}for(let i=r.child(n-1);;i=i.lastChild){if(i.childCount==0&&!i.inlineContent||i.isAtom||i.type.spec.isolating)return!0;if(i.inlineContent)return!1}}return!0}function uwe(e){for(let t=e.depth;t>=0;t--){let n=e.indexAfter(t),r=e.node(t);if(n==r.childCount){if(r.type.spec.isolating)return!0;continue}for(let i=r.child(n);;i=i.firstChild){if(i.childCount==0&&!i.inlineContent||i.isAtom||i.type.spec.isolating)return!0;if(i.inlineContent)return!1}}return!0}function cwe(){return new Uv({props:{decorations:pwe,createSelectionBetween(e,t,n){return t.pos==n.pos&&Kr.valid(n)?new Kr(n):null},handleClick:dwe,handleKeyDown:fwe,handleDOMEvents:{beforeinput:hwe}}})}const fwe=Jz({ArrowLeft:QA("horiz",-1),ArrowRight:QA("horiz",1),ArrowUp:QA("vert",-1),ArrowDown:QA("vert",1)});function QA(e,t){const n=e=="vert"?t>0?"down":"up":t>0?"right":"left";return function(r,i,o){let a=r.selection,s=t>0?a.$to:a.$from,l=a.empty;if(a instanceof er){if(!o.endOfTextblock(n)||s.depth==0)return!1;l=!1,s=r.doc.resolve(t>0?s.after():s.before())}let u=Kr.findGapCursorFrom(s,t,l);return u?(i&&i(r.tr.setSelection(new Kr(u))),!0):!1}}function dwe(e,t,n){if(!e||!e.editable)return!1;let r=e.state.doc.resolve(t);if(!Kr.valid(r))return!1;let i=e.posAtCoords({left:n.clientX,top:n.clientY});return i&&i.inside>-1&&zt.isSelectable(e.state.doc.nodeAt(i.inside))?!1:(e.dispatch(e.state.tr.setSelection(new Kr(r))),!0)}function hwe(e,t){if(t.inputType!="insertCompositionText"||!(e.state.selection instanceof Kr))return!1;let{$from:n}=e.state.selection,r=n.parent.contentMatchAt(n.index()).findWrapping(e.state.schema.nodes.text);if(!r)return!1;let i=ft.empty;for(let a=r.length-1;a>=0;a--)i=ft.from(r[a].createAndFill(null,i));let o=e.state.tr.replace(n.pos,n.pos,new Mt(i,0,0));return o.setSelection(er.near(o.doc.resolve(n.pos+1))),e.dispatch(o),!1}function pwe(e){if(!(e.selection instanceof Kr))return null;let t=document.createElement("div");return t.className="ProseMirror-gapcursor",si.create(e.doc,[Wa.widget(e.selection.head,t,{key:"gapcursor"})])}const vwe=["li",0],gwe={parseDOM:[{tag:"li"}],toDOM(){return vwe},defining:!0};function mwe(e,t=null){return function(n,r){let{$from:i,$to:o}=n.selection,a=i.blockRange(o),s=!1,l=a;if(!a)return!1;if(a.depth>=2&&i.node(a.depth-1).type.compatibleContent(e)&&a.startIndex==0){if(i.index(a.depth-1)==0)return!1;let c=n.doc.resolve(a.start-2);l=new ix(c,c,a.depth),a.endIndex<a.parent.childCount&&(a=new ix(i,n.doc.resolve(o.end(a.depth)),a.depth)),s=!0}let u=RO(l,e,t,a);return u?(r&&r(ywe(n.tr,a,u,s,e).scrollIntoView()),!0):!1}}function ywe(e,t,n,r,i){let o=ft.empty;for(let c=n.length-1;c>=0;c--)o=ft.from(n[c].type.create(n[c].attrs,o));e.step(new Gi(t.start-(r?2:0),t.end,t.start,t.end,new Mt(o,0,0),n.length,!0));let a=0;for(let c=0;c<n.length;c++)n[c].type==i&&(a=c+1);let s=n.length-a,l=t.start+n.length-(r?2:0),u=t.parent;for(let c=t.startIndex,f=t.endIndex,d=!0;c<f;c++,d=!1)!d&&Jp(e.doc,l,s)&&(e.split(l,s),l+=2*s),l+=u.child(c).nodeSize;return e}function Awe(e,t){return function(n,r){let{$from:i,$to:o,node:a}=n.selection;if(a&&a.isBlock||i.depth<2||!i.sameParent(o))return!1;let s=i.node(-1);if(s.type!=e)return!1;if(i.parent.content.size==0&&i.node(-1).childCount==i.indexAfter(-1)){if(i.depth==3||i.node(-3).type!=e||i.index(-2)!=i.node(-2).childCount-1)return!1;if(r){let f=ft.empty,d=i.index(-1)?1:i.index(-2)?2:3;for(let m=i.depth-d;m>=i.depth-3;m--)f=ft.from(i.node(m).copy(f));let h=i.indexAfter(-1)<i.node(-2).childCount?1:i.indexAfter(-2)<i.node(-3).childCount?2:3;f=f.append(ft.from(e.createAndFill()));let p=i.before(i.depth-(d-1)),v=n.tr.replace(p,i.after(-h),new Mt(f,4-d,0)),g=-1;v.doc.nodesBetween(p,v.doc.content.size,(m,y)=>{if(g>-1)return!1;m.isTextblock&&m.content.size==0&&(g=y+1)}),g>-1&&v.setSelection(Nn.near(v.doc.resolve(g))),r(v.scrollIntoView())}return!0}let l=o.pos==i.end()?s.contentMatchAt(0).defaultType:null,u=n.tr.delete(i.pos,o.pos),c=l?[null,{type:l}]:void 0;return Jp(u.doc,i.pos,2,c)?(r&&r(u.split(i.pos,2,c).scrollIntoView()),!0):!1}}function tJ(e){return function(t,n){let{$from:r,$to:i}=t.selection,o=r.blockRange(i,a=>a.childCount>0&&a.firstChild.type==e);return o?n?r.node(o.depth-1).type==e?Rwe(t,n,e,o):bwe(t,n,o):!0:!1}}function Rwe(e,t,n,r){let i=e.tr,o=r.end,a=r.$to.end(r.depth);o<a&&(i.step(new Gi(o-1,a,o,a,new Mt(ft.from(n.create(null,r.parent.copy())),1,0),1,!0)),r=new ix(i.doc.resolve(r.$from.pos),i.doc.resolve(a),r.depth));const s=E2(r);if(s==null)return!1;i.lift(r,s);let l=i.mapping.map(o,-1)-1;return Dv(i.doc,l)&&i.join(l),t(i.scrollIntoView()),!0}function bwe(e,t,n){let r=e.tr,i=n.parent;for(let h=n.end,p=n.endIndex-1,v=n.startIndex;p>v;p--)h-=i.child(p).nodeSize,r.delete(h-1,h+1);let o=r.doc.resolve(n.start),a=o.nodeAfter;if(r.mapping.map(n.end)!=n.start+o.nodeAfter.nodeSize)return!1;let s=n.startIndex==0,l=n.endIndex==i.childCount,u=o.node(-1),c=o.index(-1);if(!u.canReplace(c+(s?0:1),c+1,a.content.append(l?ft.empty:ft.from(i))))return!1;let f=o.pos,d=f+a.nodeSize;return r.step(new Gi(f-(s?1:0),d+(l?1:0),f+1,d-1,new Mt((s?ft.empty:ft.from(i.copy(ft.empty))).append(l?ft.empty:ft.from(i.copy(ft.empty))),s?0:1,l?0:1),s?0:1)),t(r.scrollIntoView()),!0}function uW(e){return function(t,n){let{$from:r,$to:i}=t.selection,o=r.blockRange(i,u=>u.childCount>0&&u.firstChild.type==e);if(!o)return!1;let a=o.startIndex;if(a==0)return!1;let s=o.parent,l=s.child(a-1);if(l.type!=e)return!1;if(n){let u=l.lastChild&&l.lastChild.type==s.type,c=ft.from(u?e.create():null),f=new Mt(ft.from(e.create(null,ft.from(s.type.create(null,c)))),u?3:1,0),d=o.start,h=o.end;n(t.tr.step(new Gi(d-(u?3:1),h,d,h,f,1,!0)).scrollIntoView())}return!0}}class yc{constructor(t,n,r={}){this.match=t,this.match=t,this.handler=typeof n=="string"?xwe(n):n,this.undoable=r.undoable!==!1,this.inCode=r.inCode||!1}}function xwe(e){return function(t,n,r,i){let o=e;if(n[1]){let a=n[0].lastIndexOf(n[1]);o+=n[0].slice(a+n[1].length),r+=a;let s=r-i;s>0&&(o=n[0].slice(a-s,a)+o,r=i)}return t.tr.insertText(o,r,i)}}const Swe=500;function wwe({rules:e}){let t=new Uv({state:{init(){return null},apply(n,r){let i=n.getMeta(this);return i||(n.selectionSet||n.docChanged?null:r)}},props:{handleTextInput(n,r,i,o){return cW(n,r,i,o,e,t)},handleDOMEvents:{compositionend:n=>{setTimeout(()=>{let{$cursor:r}=n.state.selection;r&&cW(n,r.pos,r.pos,"",e,t)})}}},isInputRules:!0});return t}function cW(e,t,n,r,i,o){if(e.composing)return!1;let a=e.state,s=a.doc.resolve(t),l=s.parent.textBetween(Math.max(0,s.parentOffset-Swe),s.parentOffset,null,"")+r;for(let u=0;u<i.length;u++){let c=i[u];if(s.parent.type.spec.code){if(!c.inCode)continue}else if(c.inCode==="only")continue;let f=c.match.exec(l),d=f&&c.handler(a,f,t-(f[0].length-r.length),n);if(d)return c.undoable&&d.setMeta(o,{transform:d,from:t,to:n,text:r}),e.dispatch(d),!0}return!1}const Mwe=(e,t)=>{let n=e.plugins;for(let r=0;r<n.length;r++){let i=n[r],o;if(i.spec.isInputRules&&(o=i.getState(e))){if(t){let a=e.tr,s=o.transform;for(let l=s.steps.length-1;l>=0;l--)a.step(s.steps[l].invert(s.docs[l]));if(o.text){let l=a.doc.resolve(o.from).marks();a.replaceWith(o.from,o.to,e.schema.text(o.text,l))}else a.delete(o.from,o.to);t(a)}return!0}}return!1},Lwe=new yc(/--$/,"—"),Twe=new yc(/\.\.\.$/,"…"),_we=new yc(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(")$/,"“"),Owe=new yc(/"$/,"”"),kwe=new yc(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(')$/,"‘"),Pwe=new yc(/'$/,"’"),Cwe=[_we,Owe,kwe,Pwe];function Pk(e,t,n=null,r){return new yc(e,(i,o,a,s)=>{let l=n instanceof Function?n(o):n,u=i.tr.delete(a,s),c=u.doc.resolve(a),f=c.blockRange(),d=f&&RO(f,t,l);if(!d)return null;u.wrap(f,d);let h=u.doc.resolve(a-1).nodeBefore;return h&&h.type==t&&Dv(u.doc,a-1)&&(!r||r(o,h))&&u.join(a-1),u})}const Iwe=e=>{const t={},n=(r,i)=>t[r]=i;return n("Alt-ArrowUp",Uhe),n("Alt-ArrowDown",Bhe),n("Mod-z",qz),n("Mod-y",eJ),n("Backspace",Mwe),n("Escape",Khe),n("Mod-b",ai(e.marks.strong)),n("Mod-i",ai(e.marks.em)),n("Mod-u",ai(e.marks.underline)),n("Mod-d",ai(e.marks.strikethrough)),n("Mod-e",ai(e.marks.code)),n("Mod-;",ai(e.marks.superscript)),n("Mod-'",ai(e.marks.subscript)),n("Enter",ZS(Awe(e.nodes.list_item),sQ,lQ,uQ,Hhe)),n("Mod-[",tJ(e.nodes.list_item)),n("Mod-]",uW(e.nodes.list_item)),n("Tab",uW(e.nodes.list_item)),t},Nwe=e=>Pk(/^\s*>\s$/,e),Fwe=e=>Pk(/^(\d+)\.\s$/,e,t=>({order:+t[1]}),(t,n)=>n.childCount+n.attrs.order===+t[1]),Ewe=e=>Pk(/^\s*([-+*])\s$/,e),Xwe=()=>{const e=/(?:^|\s)((?:`)((?:[^`]+))(?:`))$/;return new yc(e,(t,n,r,i)=>{const{schema:o}=t,a=t.tr.insertText(`${n[2]} `,r,i),s=o.marks.code.create();return a.addMark(r,r+n[2].length,s)})},Wwe=()=>{const e=/(?:https?:\/\/)?[\w-]+(?:\.[\w-]+)+\.?(?:\d+)?(?:\/\S*)?$/;return new yc(e,(t,n,r,i)=>{const{schema:o}=t,a=t.tr.insertText(n[0],r,i),s=o.marks.link.create({href:n[0],title:n[0]});return a.addMark(r,r+n[0].length,s)})},Vwe=e=>{const t=[...Cwe,Twe,Lwe];return t.push(Nwe(e.nodes.blockquote)),t.push(Fwe(e.nodes.ordered_list)),t.push(Ewe(e.nodes.bullet_list)),t.push(Xwe()),t.push(Wwe()),wwe({rules:t})},Dwe=e=>e.type.name==="paragraph"&&e.nodeSize===2,Uwe=e=>new Uv({props:{decorations(t){const{$from:n}=t.selection;if(Dwe(n.parent)){const r=Wa.node(n.before(),n.after(),{"data-placeholder":e});return si.create(t.doc,[r])}}}}),Bwe=(e,t)=>{const n=t==null?void 0:t.placeholder,r=[Vwe(e),aW(Iwe(e)),aW(e0e),awe(),cwe(),owe()];return n&&r.push(Uwe(n)),r},Ywe=["p",0],Zwe=["blockquote",0],Qwe=["hr"],Hwe=["pre",["code",0]],Kwe=["br"],nJ={doc:{content:"block+"},paragraph:{content:"inline*",group:"block",parseDOM:[{tag:"p"}],toDOM(){return Ywe}},blockquote:{content:"block+",group:"block",defining:!0,parseDOM:[{tag:"blockquote"}],toDOM(){return Zwe}},horizontal_rule:{group:"block",parseDOM:[{tag:"hr"}],toDOM(){return Qwe}},heading:{attrs:{level:{default:1,validate:"number"}},content:"inline*",group:"block",defining:!0,parseDOM:[{tag:"h1",attrs:{level:1}},{tag:"h2",attrs:{level:2}},{tag:"h3",attrs:{level:3}},{tag:"h4",attrs:{level:4}},{tag:"h5",attrs:{level:5}},{tag:"h6",attrs:{level:6}}],toDOM(e){return["h"+e.attrs.level,0]}},code_block:{content:"text*",marks:"",group:"block",code:!0,defining:!0,parseDOM:[{tag:"pre",preserveWhitespace:"full"}],toDOM(){return Hwe}},text:{group:"inline"},image:{inline:!0,attrs:{src:{validate:"string"},alt:{default:null,validate:"string|null"},title:{default:null,validate:"string|null"}},group:"inline",draggable:!0,parseDOM:[{tag:"img[src]",getAttrs(e){return{src:e.getAttribute("src"),title:e.getAttribute("title"),alt:e.getAttribute("alt")}}}],toDOM(e){let{src:t,alt:n,title:r}=e.attrs;return["img",{src:t,alt:n,title:r}]}},hard_break:{inline:!0,group:"inline",selectable:!1,parseDOM:[{tag:"br"}],toDOM(){return Kwe}}},Gwe=["em",0],zwe=["strong",0],Jwe=["code",0],rJ={link:{attrs:{href:{validate:"string"},title:{default:null,validate:"string|null"}},inclusive:!1,parseDOM:[{tag:"a[href]",getAttrs(e){return{href:e.getAttribute("href"),title:e.getAttribute("title")}}}],toDOM(e){let{href:t,title:n}=e.attrs;return["a",{href:t,title:n},0]}},em:{parseDOM:[{tag:"i"},{tag:"em"},{style:"font-style=italic"},{style:"font-style=normal",clearMark:e=>e.type.name=="em"}],toDOM(){return Gwe}},strong:{parseDOM:[{tag:"strong"},{tag:"b",getAttrs:e=>e.style.fontWeight!="normal"&&null},{style:"font-weight=400",clearMark:e=>e.type.name=="strong"},{style:"font-weight",getAttrs:e=>/^(bold(er)?|[5-9]\d{2,})$/.test(e)&&null}],toDOM(){return zwe}},code:{parseDOM:[{tag:"code"}],toDOM(){return Jwe}}};new DZ({nodes:nJ,marks:rJ});const $we={attrs:{order:{default:1},listStyleType:{default:""},fontsize:{default:""},color:{default:""}},content:"list_item+",group:"block",parseDOM:[{tag:"ol",getAttrs:e=>{const n={order:+((e.hasAttribute("start")?e.getAttribute("start"):1)||1)},{listStyleType:r,fontSize:i,color:o}=e.style;return r&&(n.listStyleType=r),i&&(n.fontsize=i),o&&(n.color=o),n}}],toDOM:e=>{const{order:t,listStyleType:n,fontsize:r,color:i}=e.attrs;let o="";n&&(o+=`list-style-type: ${n};`),r&&(o+=`font-size: ${r};`),i&&(o+=`color: ${i};`);const a={style:o};return t!==1&&(a.start=t),["ol",a,0]}},jwe={attrs:{listStyleType:{default:""},fontsize:{default:""},color:{default:""}},content:"list_item+",group:"block",parseDOM:[{tag:"ul",getAttrs:e=>{const t={},{listStyleType:n,fontSize:r,color:i}=e.style;return n&&(t.listStyleType=n),r&&(t.fontsize=r),i&&(t.color=i),t}}],toDOM:e=>{const{listStyleType:t,fontsize:n,color:r}=e.attrs;let i="";return t&&(i+=`list-style-type: ${t};`),n&&(i+=`font-size: ${n};`),r&&(i+=`color: ${r};`),["ul",{style:i},0]}},qwe={...gwe,content:"paragraph block*",group:"block"},eMe={attrs:{align:{default:""},indent:{default:0},textIndent:{default:0}},content:"inline*",group:"block",parseDOM:[{tag:"p",getAttrs:e=>{const{textAlign:t,textIndent:n}=e.style;let r=e.getAttribute("align")||t||"";r=/(left|right|center|justify)/.test(r)?r:"";let i=0;n&&(/em/.test(n)?i=parseInt(n):/px/.test(n)&&(i=Math.floor(parseInt(n)/16),i||(i=1)));const o=+(e.getAttribute("data-indent")||0);return{align:r,indent:o,textIndent:i}}},{tag:"img",ignore:!0},{tag:"pre",skip:!0}],toDOM:e=>{const{align:t,indent:n,textIndent:r}=e.attrs;let i="";t&&t!=="left"&&(i+=`text-align: ${t};`),r&&(i+=`text-indent: ${r}em;`);const o={style:i};return n&&(o["data-indent"]=n),["p",o,0]}},{doc:tMe,blockquote:nMe,text:rMe}=nJ,iMe={doc:tMe,paragraph:eMe,blockquote:nMe,text:rMe,ordered_list:$we,bullet_list:jwe,list_item:qwe},oMe={excludes:"subscript",parseDOM:[{tag:"sub"},{style:"vertical-align",getAttrs:e=>e==="sub"&&null}],toDOM:()=>["sub",0]},aMe={excludes:"superscript",parseDOM:[{tag:"sup"},{style:"vertical-align",getAttrs:e=>e==="super"&&null}],toDOM:()=>["sup",0]},sMe={parseDOM:[{tag:"strike"},{style:"text-decoration",getAttrs:e=>e==="line-through"&&null},{style:"text-decoration-line",getAttrs:e=>e==="line-through"&&null}],toDOM:()=>["span",{style:"text-decoration-line: line-through;"},0]},lMe={parseDOM:[{tag:"u"},{style:"text-decoration",getAttrs:e=>e==="underline"&&null},{style:"text-decoration-line",getAttrs:e=>e==="underline"&&null}],toDOM:()=>["span",{style:"text-decoration: underline;"},0]},uMe={attrs:{color:{}},inline:!0,group:"inline",parseDOM:[{style:"color",getAttrs:e=>e?{color:e}:{}}],toDOM:e=>{const{color:t}=e.attrs;let n="";return t&&(n+=`color: ${t};`),["span",{style:n},0]}},cMe={attrs:{backcolor:{}},inline:!0,group:"inline",parseDOM:[{style:"background-color",getAttrs:e=>e?{backcolor:e}:{}}],toDOM:e=>{const{backcolor:t}=e.attrs;let n="";return t&&(n+=`background-color: ${t};`),["span",{style:n},0]}},fMe={attrs:{fontsize:{}},inline:!0,group:"inline",parseDOM:[{style:"font-size",getAttrs:e=>e?{fontsize:e}:{}}],toDOM:e=>{const{fontsize:t}=e.attrs;let n="";return t&&(n+=`font-size: ${t};`),["span",{style:n},0]}},dMe={attrs:{fontname:{}},inline:!0,group:"inline",parseDOM:[{style:"font-family",getAttrs:e=>({fontname:e&&typeof e=="string"?e.replace(/[\"\']/g,""):""})}],toDOM:e=>{const{fontname:t}=e.attrs;let n="";return t&&(n+=`font-family: ${t};`),["span",{style:n},0]}},hMe={attrs:{href:{},title:{default:null},target:{default:"_blank"}},inclusive:!1,parseDOM:[{tag:"a[href]",getAttrs:e=>{const t=e.getAttribute("href"),n=e.getAttribute("title");return{href:t,title:n}}}],toDOM:e=>["a",e.attrs,0]},pMe={attrs:{index:{default:null}},parseDOM:[{tag:"mark",getAttrs:e=>({index:e.dataset.index})}],toDOM:e=>["mark",{"data-index":e.attrs.index},0]},{em:vMe,strong:gMe,code:mMe}=rJ,yMe={em:vMe,strong:gMe,fontsize:fMe,fontname:dMe,code:mMe,forecolor:uMe,backcolor:cMe,subscript:oMe,superscript:aMe,strikethrough:sMe,underline:lMe,link:hMe,mark:pMe},AMe=iMe,RMe=yMe,iJ=new DZ({nodes:AMe,marks:RMe}),Ck=e=>{const t=`<div>${e}</div>`,r=new window.DOMParser().parseFromString(t,"text/html").body.firstElementChild;return yO.fromSchema(iJ).parse(r)},oJ=(e,t,n,r)=>new Y4e(e,{state:Mp.create({doc:Ck(t),plugins:Bwe(iJ,r)}),...n});function bMe(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(i){i(n)}),(r=e.get("*"))&&r.slice().map(function(i){i(t,n)})}}}var Ti=(e=>(e.RICH_TEXT_COMMAND="RICH_TEXT_COMMAND",e.SYNC_RICH_TEXT_ATTRS_TO_STORE="SYNC_RICH_TEXT_ATTRS_TO_STORE",e.OPEN_CHART_DATA_EDITOR="OPEN_CHART_DATA_EDITOR",e.OPEN_LATEX_EDITOR="OPEN_LATEX_EDITOR",e))(Ti||{});const Hi=bMe(),xMe=(e,t,n)=>{const{selection:r,doc:i}=e;if(!r||!i)return e;const{from:o,to:a}=r,{nodes:s}=t,l=s.blockquote,u=s.list_item,c=s.paragraph,f=[];n=n||"";const d=new Set([l,u,c]);return i.nodesBetween(o,a,(h,p)=>{const v=h.type;return(h.attrs.align||"")!==n&&d.has(v)&&f.push({node:h,pos:p,nodeType:v}),!0}),f.length&&f.forEach(h=>{const{node:p,pos:v,nodeType:g}=h;let{attrs:m}=p;n?m={...m,align:n}:m={...m,align:null},e=e.setNodeMarkup(v,g,m,p.marks)}),e},SMe=(e,t)=>{const{state:n}=e,{schema:r,selection:i}=n,o=xMe(n.tr.setSelection(i),r,t);e.dispatch(o)};function wMe(e,t,n,r){if(!e.doc)return e;const i=e.doc.nodeAt(t);if(!i)return e;const o=0,a=8;let s=(i.attrs[r]||0)+n;if(s<o&&(s=o),s>a&&(s=a),s===i.attrs[r])return e;const l={...i.attrs,[r]:s};return e.setNodeMarkup(t,i.type,l,i.marks)}const aJ=(e,t,n,r)=>{const{selection:i,doc:o}=e;if(!i||!o||!(i instanceof er||i instanceof na))return e;const{from:a,to:s}=i;return o.nodesBetween(a,s,(l,u)=>{const c=l.type;return c.name==="paragraph"||c.name==="blockquote"?(e=wMe(e,u,n,r),!1):!lx(l,t)}),e},MMe=(e,t)=>{const{state:n}=e,{schema:r,selection:i}=n,o=aJ(n.tr.setSelection(i),r,t,"indent");return o.docChanged?(e.dispatch(o),!0):!1},LMe=(e,t)=>{const{state:n}=e,{schema:r,selection:i}=n,o=aJ(n.tr.setSelection(i),r,t,"textIndent");return o.docChanged?(e.dispatch(o),!0):!1},Zx=(e,t,n,r={})=>(i,o)=>{const{schema:a,selection:s}=i,{$from:l,$to:u}=s,c=l.blockRange(u);if(!c)return!1;const f=vQ(h=>lx(h,a))(s);if(c.depth>=1&&f&&c.depth-f.depth<=1){if(f.node.type===e&&!n)return tJ(t)(i,o);if(lx(f.node,a)&&e.validContent(f.node.content)){const{tr:h}=i,p={...f.node.attrs,...r};return n&&(p.listStyleType=n),h.setNodeMarkup(f.pos,e,p),o&&o(h),!1}}const d={...r};return n&&(d.listStyleType=n),mwe(e,d)(i,o)},P1=(e,t)=>{const{state:n}=e,{schema:r,selection:i}=n,o=n.tr.setSelection(i),{doc:a}=o;if(!a)return o;const{from:s,to:l}=i;a.nodesBetween(s,l,(u,c)=>{if(lx(u,r)&&s-3<=c&&l+3>=c+u.nodeSize){const f=Array.isArray(t)?t:[t];for(const d of f)o.setNodeAttribute(c,d.key,d.value)}return!1}),e.dispatch(o)},TMe=Xe({__name:"ProsemirrorEditor",props:{elementId:{},defaultColor:{},defaultFontName:{},value:{},editable:{type:Boolean,default:!1},autoFocus:{type:Boolean,default:!1}},emits:["update","focus","blur","mousedown"],setup(e,{expose:t,emit:n}){const r=e,i=n,o=ht(),{handleElementId:a,textFormatPainter:s,richTextAttrs:l}=De(o),u=pe();let c;const f=Yn.debounce(function(x=!1){r.value.replace(/ style=\"\"/g,"")!==c.dom.innerHTML.replace(/ style=\"\"/g,"")&&i("update",{value:c.dom.innerHTML,ignore:x})},300,{trailing:!0}),d=()=>{o.setDisableHotkeysState(!0),i("focus")},h=()=>{o.setDisableHotkeysState(!1),i("blur")},p=Yn.debounce(function(){const x=J8(c,{color:r.defaultColor,fontname:r.defaultFontName});o.setRichtextAttrs(x)},30,{trailing:!0}),v=(x,S)=>{const{ctrlKey:_,shiftKey:M,metaKey:w}=S,L=_||M||w,k=S.key.toUpperCase(),P=L&&(k===At.Z||k===At.Y);f(P),p()},g=Se(()=>r.value);_t(g,()=>{if(!c||c.hasFocus())return;const{doc:x,tr:S}=c.state;c.dispatch(S.replaceRangeWith(0,x.content.size,Ck(g.value)))}),_t(()=>r.editable,()=>{c.setProps({editable:()=>r.editable})}),t({focus:()=>c.focus()});const y=({target:x,action:S})=>{if(!x&&a.value!==r.elementId||x&&x!==r.elementId)return;const _="command"in S?[S]:S;for(const M of _)if(M.command==="fontname"&&M.value!==void 0){const w=c.state.schema.marks.fontname.create({fontname:M.value});hi(c),Xl(c,w),M.value&&!document.fonts.check(`16px ${M.value}`)&&gn.warning("字体需要等待加载下载后生效,请稍等")}else if(M.command==="fontsize"&&M.value){const w=c.state.schema.marks.fontsize.create({fontsize:M.value});hi(c),Xl(c,w),P1(c,{key:"fontsize",value:M.value})}else if(M.command==="fontsize-add"){const w=M.value?+M.value:2;hi(c);const L=B7(c)+w+"px",k=c.state.schema.marks.fontsize.create({fontsize:L});Xl(c,k),P1(c,{key:"fontsize",value:L})}else if(M.command==="fontsize-reduce"){const w=M.value?+M.value:2;hi(c);let L=B7(c)-w;L<12&&(L=12);const k=c.state.schema.marks.fontsize.create({fontsize:L+"px"});Xl(c,k),P1(c,{key:"fontsize",value:L+"px"})}else if(M.command==="color"&&M.value){const w=c.state.schema.marks.forecolor.create({color:M.value});hi(c),Xl(c,w),P1(c,{key:"color",value:M.value})}else if(M.command==="backcolor"&&M.value){const w=c.state.schema.marks.backcolor.create({backcolor:M.value});hi(c),Xl(c,w)}else if(M.command==="bold")hi(c),ai(c.state.schema.marks.strong)(c.state,c.dispatch);else if(M.command==="em")hi(c),ai(c.state.schema.marks.em)(c.state,c.dispatch);else if(M.command==="underline")hi(c),ai(c.state.schema.marks.underline)(c.state,c.dispatch);else if(M.command==="strikethrough")hi(c),ai(c.state.schema.marks.strikethrough)(c.state,c.dispatch);else if(M.command==="subscript")ai(c.state.schema.marks.subscript)(c.state,c.dispatch);else if(M.command==="superscript")ai(c.state.schema.marks.superscript)(c.state,c.dispatch);else if(M.command==="blockquote")$R("blockquote",c.state)?Yhe(c.state,c.dispatch):$he(c.state.schema.nodes.blockquote)(c.state,c.dispatch);else if(M.command==="code")ai(c.state.schema.marks.code)(c.state,c.dispatch);else if(M.command==="align"&&M.value)SMe(c,M.value);else if(M.command==="indent"&&M.value)MMe(c,+M.value);else if(M.command==="textIndent"&&M.value)LMe(c,+M.value);else if(M.command==="bulletList"){const w=M.value||"",{bullet_list:L,list_item:k}=c.state.schema.nodes,P={color:l.value.color,fontsize:l.value.fontsize};Zx(L,k,w,P)(c.state,c.dispatch)}else if(M.command==="orderedList"){const w=M.value||"",{ordered_list:L,list_item:k}=c.state.schema.nodes,P={color:l.value.color,fontsize:l.value.fontsize};Zx(L,k,w,P)(c.state,c.dispatch)}else if(M.command==="clear"){hi(c);const{$from:w,$to:L}=c.state.selection;c.dispatch(c.state.tr.removeMark(w.pos,L.pos)),P1(c,[{key:"fontsize",value:""},{key:"color",value:""}])}else if(M.command==="link"){const w=c.state.schema.marks.link,{from:L,to:k}=c.state.selection,P=t0e(c.state.doc,L,k,w);if(P)if(M.value){const F=c.state.schema.marks.link.create({href:M.value,title:M.value});Xl(c,F,{from:P.from.pos,to:P.to.pos+1})}else c.dispatch(c.state.tr.removeMark(P.from.pos,P.to.pos+1,w));else if(o0e(c.state,w))if(M.value){const F=c.state.schema.marks.link.create({href:M.value,title:M.value});Xl(c,F)}else ai(w)(c.state,c.dispatch);else M.value&&(hi(c),ai(w,{href:M.value,title:M.value})(c.state,c.dispatch))}else M.command==="insert"&&M.value&&c.dispatch(c.state.tr.insertText(M.value));c.focus(),f(),p()},R=()=>{if(!s.value)return;const{keep:x,...S}=s.value,_=[{command:"clear"}];for(const M of Object.keys(S)){const w=M,L=s.value[M];L===!0?_.push({command:w}):L&&_.push({command:w,value:L})}y({action:_}),x||o.setTextFormatPainter(null)};Ht(()=>{c=oJ(u.value,g.value,{handleDOMEvents:{focus:d,blur:h,keydown:v,click:p,mouseup:R},editable:()=>r.editable}),r.autoFocus&&c.focus()}),Fn(()=>{c&&c.destroy()});const A=()=>{a.value===r.elementId&&p()};return Hi.on(Ti.RICH_TEXT_COMMAND,y),Hi.on(Ti.SYNC_RICH_TEXT_ATTRS_TO_STORE,A),Fn(()=>{Hi.off(Ti.RICH_TEXT_COMMAND,y),Hi.off(Ti.SYNC_RICH_TEXT_ATTRS_TO_STORE,A)}),(x,S)=>(U(),te("div",{class:ze(["prosemirror-editor",{"format-painter":z(s)}]),ref_key:"editorViewRef",ref:u,onMousedown:S[0]||(S[0]=_=>i("mousedown",_))},null,34))}}),sJ=Be(TMe,[["__scopeId","data-v-c7cc0fa2"]]),lJ=e=>(en("data-v-3b68a2d9"),e=e(),tn(),e),_Me=lJ(()=>D("div",{class:"drag-handler top"},null,-1)),OMe=lJ(()=>D("div",{class:"drag-handler bottom"},null,-1)),kMe=Xe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=ht(),r=lt(),{handleElementId:i,isScaling:o}=De(n),{addHistorySnapshot:a}=nn(),s=pe(),l=Se(()=>t.elementInfo.shadow),{shadowStyle:u}=fd(l),c=(y,R=!0)=>{t.elementInfo.lock||(y.stopPropagation(),t.selectElement(y,t.elementInfo,R))},f=pe(-1),d=pe(-1);_t(o,()=>{i.value===t.elementInfo.id&&(o.value||(!t.elementInfo.vertical&&f.value!==-1&&(r.updateElement({id:t.elementInfo.id,props:{height:f.value}}),f.value=-1),t.elementInfo.vertical&&d.value!==-1&&(r.updateElement({id:t.elementInfo.id,props:{width:d.value}}),d.value=-1)))});const h=y=>{const R=y[0].contentRect;if(!s.value)return;const A=R.height+20,x=R.width+20;!t.elementInfo.vertical&&t.elementInfo.height!==A&&(o.value?f.value=A:r.updateElement({id:t.elementInfo.id,props:{height:A}})),t.elementInfo.vertical&&t.elementInfo.width!==x&&(o.value?d.value=x:r.updateElement({id:t.elementInfo.id,props:{width:x}}))},p=new ResizeObserver(h);Ht(()=>{s.value&&p.observe(s.value)}),Fn(()=>{s.value&&p.unobserve(s.value)});const v=(y,R=!1)=>{r.updateElement({id:t.elementInfo.id,props:{content:y}}),R||a()},g=Yn.debounce(function(){t.elementInfo.content.replace(/<[^>]+>/g,"")||r.deleteElement(t.elementInfo.id)},300,{trailing:!0}),m=Se(()=>i.value===t.elementInfo.id);return _t(m,()=>{m.value||g()}),(y,R)=>{const A=Pn("contextmenu");return U(),te("div",{class:ze(["editable-element-text",{lock:y.elementInfo.lock}]),style:Le({top:y.elementInfo.top+"px",left:y.elementInfo.left+"px",width:y.elementInfo.width+"px",height:y.elementInfo.height+"px"})},[D("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${y.elementInfo.rotate}deg)`})},[Ge((U(),te("div",{class:"element-content",ref_key:"elementRef",ref:s,style:Le({width:y.elementInfo.vertical?"auto":y.elementInfo.width+"px",height:y.elementInfo.vertical?y.elementInfo.height+"px":"auto",backgroundColor:y.elementInfo.fill,opacity:y.elementInfo.opacity,textShadow:z(u),lineHeight:y.elementInfo.lineHeight,letterSpacing:(y.elementInfo.wordSpace||0)+"px",color:y.elementInfo.defaultColor,fontFamily:y.elementInfo.defaultFontName,writingMode:y.elementInfo.vertical?"vertical-rl":"horizontal-tb"}),onMousedown:R[2]||(R[2]=x=>c(x)),onTouchstart:R[3]||(R[3]=x=>c(x))},[O(A3,{width:y.elementInfo.width,height:y.elementInfo.height,outline:y.elementInfo.outline},null,8,["width","height","outline"]),O(sJ,{class:"text",elementId:y.elementInfo.id,defaultColor:y.elementInfo.defaultColor,defaultFontName:y.elementInfo.defaultFontName,editable:!y.elementInfo.lock,value:y.elementInfo.content,style:Le({"--paragraphSpace":`${y.elementInfo.paragraphSpace===void 0?5:y.elementInfo.paragraphSpace}px`}),onUpdate:R[0]||(R[0]=({value:x,ignore:S})=>v(x,S)),onMousedown:R[1]||(R[1]=x=>c(x,!1))},null,8,["elementId","defaultColor","defaultFontName","editable","value","style"]),_Me,OMe],36)),[[A,y.contextmenus]])],4)],6)}}}),uJ=Be(kMe,[["__scopeId","data-v-3b68a2d9"]]),PMe=["id","gradientTransform"],CMe=["offset","stop-color"],IMe=["id"],NMe=["offset","stop-color"],cJ=Xe({__name:"GradientDefs",props:{id:{},type:{},colors:{},rotate:{default:0}},setup(e){return(t,n)=>t.type==="linear"?(U(),te("linearGradient",{key:0,id:t.id,x1:"0%",y1:"0%",x2:"100%",y2:"0%",gradientTransform:`rotate(${t.rotate},0.5,0.5)`},[(U(!0),te(We,null,nt(t.colors,(r,i)=>(U(),te("stop",{key:i,offset:`${r.pos}%`,"stop-color":r.color},null,8,CMe))),128))],8,PMe)):(U(),te("radialGradient",{key:1,id:t.id},[(U(!0),te(We,null,nt(t.colors,(r,i)=>(U(),te("stop",{key:i,offset:`${r.pos}%`,"stop-color":r.color},null,8,NMe))),128))],8,IMe))}}),FMe=["width","height"],EMe={key:0},XMe=["transform"],WMe=["d","fill","stroke","stroke-width","stroke-dasharray"],VMe=Xe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=ht(),r=lt(),{handleElementId:i,shapeFormatPainter:o}=De(n),{addHistorySnapshot:a}=nn(),s=(M,w=!0)=>{t.elementInfo.lock||(M.stopPropagation(),t.selectElement(M,t.elementInfo,w))},l=()=>{if(!o.value)return;const{keep:M,...w}=o.value;r.updateElement({id:t.elementInfo.id,props:w}),a(),M||n.setShapeFormatPainter(null)},u=Se(()=>t.elementInfo.outline),{outlineWidth:c,outlineColor:f,strokeDashArray:d}=$v(u),h=Se(()=>t.elementInfo.shadow),{shadowStyle:p}=fd(h),v=Se(()=>t.elementInfo.flipH),g=Se(()=>t.elementInfo.flipV),{flipStyle:m}=y3(v,g),y=pe(!1);_t(i,()=>{i.value!==t.elementInfo.id&&y.value&&(y.value=!1)});const R=Se(()=>{const M={content:"",defaultFontName:"",defaultColor:"#000",align:"middle"};return t.elementInfo.text?t.elementInfo.text:M}),A=(M,w=!1)=>{const L={...R.value,content:M};r.updateElement({id:t.elementInfo.id,props:{text:L}}),w||a()},x=()=>{if(!t.elementInfo.text)return;t.elementInfo.text.content.replace(/<[^>]+>/g,"")||(r.removeElementProps({id:t.elementInfo.id,propName:"text"}),a())},S=pe(),_=()=>{y.value=!0,Ir(()=>S.value&&S.value.focus())};return(M,w)=>{const L=Pn("contextmenu");return U(),te("div",{class:ze(["editable-element-shape",{lock:M.elementInfo.lock,"format-painter":z(o)}]),style:Le({top:M.elementInfo.top+"px",left:M.elementInfo.left+"px",width:M.elementInfo.width+"px",height:M.elementInfo.height+"px"})},[D("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${M.elementInfo.rotate}deg)`})},[Ge((U(),te("div",{class:"element-content",style:Le({opacity:M.elementInfo.opacity,filter:z(p)?`drop-shadow(${z(p)})`:"",transform:z(m),color:R.value.defaultColor,fontFamily:R.value.defaultFontName}),onMousedown:w[3]||(w[3]=k=>s(k)),onMouseup:w[4]||(w[4]=k=>l()),onTouchstart:w[5]||(w[5]=k=>s(k)),onDblclick:w[6]||(w[6]=k=>_())},[(U(),te("svg",{overflow:"visible",width:M.elementInfo.width,height:M.elementInfo.height},[M.elementInfo.gradient?(U(),te("defs",EMe,[O(cJ,{id:`editabel-gradient-${M.elementInfo.id}`,type:M.elementInfo.gradient.type,colors:M.elementInfo.gradient.colors,rotate:M.elementInfo.gradient.rotate},null,8,["id","type","colors","rotate"])])):Ye("",!0),D("g",{transform:`scale(${M.elementInfo.width/M.elementInfo.viewBox[0]}, ${M.elementInfo.height/M.elementInfo.viewBox[1]}) translate(0,0) matrix(1,0,0,1,0,0)`},[D("path",{class:"shape-path","vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",d:M.elementInfo.path,fill:M.elementInfo.gradient?`url(#editabel-gradient-${M.elementInfo.id})`:M.elementInfo.fill,stroke:z(f),"stroke-width":z(c),"stroke-dasharray":z(d)},null,8,WMe)],8,XMe)],8,FMe)),D("div",{class:ze(["shape-text",[R.value.align,{editable:y.value||R.value.content}]])},[y.value||R.value.content?(U(),_e(sJ,{key:0,ref_key:"prosemirrorEditorRef",ref:S,elementId:M.elementInfo.id,defaultColor:R.value.defaultColor,defaultFontName:R.value.defaultFontName,editable:!M.elementInfo.lock,value:R.value.content,onUpdate:w[0]||(w[0]=({value:k,ignore:P})=>A(k,P)),onBlur:w[1]||(w[1]=k=>x()),onMousedown:w[2]||(w[2]=k=>s(k,!1))},null,8,["elementId","defaultColor","defaultFontName","editable","value"])):Ye("",!0)],2)],36)),[[L,M.contextmenus]])],4)],6)}}}),fJ=Be(VMe,[["__scopeId","data-v-c11b67e0"]]),DMe=["id","markerWidth","markerHeight","refX","refY"],UMe=["d","fill","transform"],Kf=Xe({__name:"LinePointMarker",props:{id:{},position:{},type:{},baseSize:{},color:{}},setup(e){const t=e,n={dot:"m0 5a5 5 0 1 0 10 0a5 5 0 1 0 -10 0z",arrow:"M0,0 L10,5 0,10 Z"},r={"arrow-start":180,"arrow-end":0},i=Se(()=>n[t.type]),o=Se(()=>r[`${t.type}-${t.position}`]||0),a=Se(()=>t.baseSize<2?2:t.baseSize);return(s,l)=>(U(),te("marker",{id:`${s.id}-${s.type}-${s.position}`,markerUnits:"userSpaceOnUse",orient:"auto",markerWidth:a.value*3,markerHeight:a.value*3,refX:a.value*1.5,refY:a.value*1.5},[D("path",{d:i.value,fill:s.color,transform:`scale(${a.value*.3}, ${a.value*.3}) rotate(${o.value}, 5, 5)`},null,8,UMe)],8,DMe))}}),BMe=["width","height"],YMe=["d","stroke","stroke-width","stroke-dasharray","marker-start","marker-end"],ZMe=["d"],QMe=Xe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=u=>{t.elementInfo.lock||(u.stopPropagation(),t.selectElement(u,t.elementInfo))},r=Se(()=>t.elementInfo.shadow),{shadowStyle:i}=fd(r),o=Se(()=>{const u=Math.abs(t.elementInfo.start[0]-t.elementInfo.end[0]);return u<24?24:u}),a=Se(()=>{const u=Math.abs(t.elementInfo.start[1]-t.elementInfo.end[1]);return u<24?24:u}),s=Se(()=>{const u=t.elementInfo.width;return t.elementInfo.style==="dashed"?u<=8?`${u*5} ${u*2.5}`:`${u*5} ${u*1.5}`:t.elementInfo.style==="dotted"?u<=8?`${u*1.8} ${u*1.6}`:`${u*1.5} ${u*1.2}`:"0 0"}),l=Se(()=>QO(t.elementInfo));return(u,c)=>{const f=Pn("contextmenu");return U(),te("div",{class:ze(["editable-element-shape",{lock:u.elementInfo.lock}]),style:Le({top:u.elementInfo.top+"px",left:u.elementInfo.left+"px"})},[D("div",{class:"element-content",style:Le({filter:z(i)?`drop-shadow(${z(i)})`:""}),onMousedown:c[0]||(c[0]=d=>n(d)),onTouchstart:c[1]||(c[1]=d=>n(d))},[(U(),te("svg",{overflow:"visible",width:o.value,height:a.value},[D("defs",null,[u.elementInfo.points[0]?(U(),_e(Kf,{key:0,id:u.elementInfo.id,position:"start",type:u.elementInfo.points[0],color:u.elementInfo.color,baseSize:u.elementInfo.width},null,8,["id","type","color","baseSize"])):Ye("",!0),u.elementInfo.points[1]?(U(),_e(Kf,{key:1,id:u.elementInfo.id,position:"end",type:u.elementInfo.points[1],color:u.elementInfo.color,baseSize:u.elementInfo.width},null,8,["id","type","color","baseSize"])):Ye("",!0)]),D("path",{class:"line-point",d:l.value,stroke:u.elementInfo.color,"stroke-width":u.elementInfo.width,"stroke-dasharray":s.value,fill:"none","marker-start":u.elementInfo.points[0]?`url(#${u.elementInfo.id}-${u.elementInfo.points[0]}-start)`:"","marker-end":u.elementInfo.points[1]?`url(#${u.elementInfo.id}-${u.elementInfo.points[1]}-end)`:""},null,8,YMe),Ge(D("path",{class:"line-path",d:l.value,stroke:"transparent","stroke-width":"20",fill:"none"},null,8,ZMe),[[f,u.contextmenus]])],8,BMe))],36)],6)}}}),dJ=Be(QMe,[["__scopeId","data-v-9dc09347"]]),HMe=({type:e,data:t,themeColors:n,textColor:r,lineSmooth:i,stack:o})=>{if(e==="bar")return{color:n,textStyle:r?{color:r}:{},legend:t.series.length>1?{top:"bottom",textStyle:r?{color:r}:{}}:void 0,xAxis:{type:"category",data:t.labels},yAxis:{type:"value"},series:t.series.map((a,s)=>{const l={data:a,name:t.legends[s],type:"bar",label:{show:!0}};return o&&(l.stack="A"),l})};if(e==="column")return{color:n,textStyle:r?{color:r}:{},legend:t.series.length>1?{top:"bottom",textStyle:r?{color:r}:{}}:void 0,yAxis:{type:"category",data:t.labels},xAxis:{type:"value"},series:t.series.map((a,s)=>{const l={data:a,name:t.legends[s],type:"bar",label:{show:!0}};return o&&(l.stack="A"),l})};if(e==="line")return{color:n,textStyle:r?{color:r}:{},legend:t.series.length>1?{top:"bottom",textStyle:r?{color:r}:{}}:void 0,xAxis:{type:"category",data:t.labels},yAxis:{type:"value"},series:t.series.map((a,s)=>{const l={data:a,name:t.legends[s],type:"line",smooth:i,label:{show:!0}};return o&&(l.stack="A"),l})};if(e==="pie")return{color:n,textStyle:r?{color:r}:{},legend:{top:"bottom",textStyle:r?{color:r}:{}},series:[{data:t.series[0].map((a,s)=>({value:a,name:t.labels[s]})),label:r?{color:r}:{},type:"pie",radius:"70%",emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"},label:{show:!0,fontSize:14,fontWeight:"bold"}}}]};if(e==="ring")return{color:n,textStyle:r?{color:r}:{},legend:{top:"bottom",textStyle:r?{color:r}:{}},series:[{data:t.series[0].map((a,s)=>({value:a,name:t.labels[s]})),label:r?{color:r}:{},type:"pie",radius:["40%","70%"],padAngle:1,avoidLabelOverlap:!1,itemStyle:{borderRadius:4},emphasis:{label:{show:!0,fontSize:14,fontWeight:"bold"}}}]};if(e==="area")return{color:n,textStyle:r?{color:r}:{},legend:t.series.length>1?{top:"bottom",textStyle:r?{color:r}:{}}:void 0,xAxis:{type:"category",boundaryGap:!1,data:t.labels},yAxis:{type:"value"},series:t.series.map((a,s)=>{const l={data:a,name:t.legends[s],type:"line",areaStyle:{},label:{show:!0}};return o&&(l.stack="A"),l})};if(e==="radar")return{color:n,textStyle:r?{color:r}:{},legend:t.series.length>1?{top:"bottom",textStyle:r?{color:r}:{}}:void 0,radar:{indicator:t.labels.map(a=>({name:a}))},series:[{data:t.series.map((a,s)=>({value:a,name:t.legends[s]})),type:"radar"}]};if(e==="scatter"){const a=[];for(let s=0;s<t.series[0].length;s++){const l=t.series[0][s],u=t.series[1]?t.series[1][s]:l;a.push([l,u])}return{color:n,textStyle:r?{color:r}:{},xAxis:{},yAxis:{},series:[{symbolSize:12,data:a,type:"scatter"}]}}return null};/*! *****************************************************************************
|
||
Copyright (c) Microsoft Corporation.
|
||
|
||
Permission to use, copy, modify, and/or distribute this software for any
|
||
purpose with or without fee is hereby granted.
|
||
|
||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||
PERFORMANCE OF THIS SOFTWARE.
|
||
***************************************************************************** */var y6=function(e,t){return y6=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},y6(e,t)};function St(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");y6(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var KMe=function(){function e(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return e}(),GMe=function(){function e(){this.browser=new KMe,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<"u"}return e}(),or=new GMe;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(or.wxa=!0,or.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?or.worker=!0:typeof navigator>"u"||navigator.userAgent.indexOf("Node.js")===0?(or.node=!0,or.svgSupported=!0):zMe(navigator.userAgent,or);function zMe(e,t){var n=t.browser,r=e.match(/Firefox\/([\d.]+)/),i=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),o=e.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(e);r&&(n.firefox=!0,n.version=r[1]),i&&(n.ie=!0,n.version=i[1]),o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18),a&&(n.weChat=!0),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,t.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),t.domSupported=typeof document<"u";var s=document.documentElement.style;t.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||n.ie&&+n.version>=9}var Ik=12,hJ="sans-serif",Gf=Ik+"px "+hJ,JMe=20,$Me=100,jMe="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function qMe(e){var t={};if(typeof JSON>"u")return t;for(var n=0;n<e.length;n++){var r=String.fromCharCode(n+32),i=(e.charCodeAt(n)-JMe)/$Me;t[r]=i}return t}var e5e=qMe(jMe),sy={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:function(){var e,t;return function(n,r){if(!e){var i=sy.createCanvas();e=i&&i.getContext("2d")}if(e)return t!==r&&(t=e.font=r||Gf),e.measureText(n);n=n||"",r=r||Gf;var o=/((?:\d+)?\.?\d*)px/.exec(r),a=o&&+o[1]||Ik,s=0;if(r.indexOf("mono")>=0)s=a*n.length;else for(var l=0;l<n.length;l++){var u=e5e[n[l]];s+=u==null?a:u*a}return{width:s}}}(),loadImage:function(e,t,n){var r=new Image;return r.onload=t,r.onerror=n,r.src=e,r}},pJ=zf(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(e,t){return e["[object "+t+"]"]=!0,e},{}),vJ=zf(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(e,t){return e["[object "+t+"Array]"]=!0,e},{}),ly=Object.prototype.toString,S3=Array.prototype,t5e=S3.forEach,n5e=S3.filter,Nk=S3.slice,r5e=S3.map,fW=(function(){}).constructor,HA=fW?fW.prototype:null,Fk="__proto__",i5e=2311;function gJ(){return i5e++}function mJ(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];typeof console<"u"&&console.error.apply(console,e)}function Vn(e){if(e==null||typeof e!="object")return e;var t=e,n=ly.call(e);if(n==="[object Array]"){if(!hm(e)){t=[];for(var r=0,i=e.length;r<i;r++)t[r]=Vn(e[r])}}else if(vJ[n]){if(!hm(e)){var o=e.constructor;if(o.from)t=o.from(e);else{t=new o(e.length);for(var r=0,i=e.length;r<i;r++)t[r]=e[r]}}}else if(!pJ[n]&&!hm(e)&&!A6(e)){t={};for(var a in e)e.hasOwnProperty(a)&&a!==Fk&&(t[a]=Vn(e[a]))}return t}function sr(e,t,n){if(!rn(t)||!rn(e))return n?Vn(t):e;for(var r in t)if(t.hasOwnProperty(r)&&r!==Fk){var i=e[r],o=t[r];rn(o)&&rn(i)&&!It(o)&&!It(i)&&!A6(o)&&!A6(i)&&!dW(o)&&!dW(i)&&!hm(o)&&!hm(i)?sr(i,o,n):(n||!(r in e))&&(e[r]=Vn(t[r]))}return e}function gt(e,t){if(Object.assign)Object.assign(e,t);else for(var n in t)t.hasOwnProperty(n)&&n!==Fk&&(e[n]=t[n]);return e}function En(e,t,n){for(var r=Dn(t),i=0;i<r.length;i++){var o=r[i];e[o]==null&&(e[o]=t[o])}return e}function Sr(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n}return-1}function o5e(e,t){var n=e.prototype;function r(){}r.prototype=t.prototype,e.prototype=new r;for(var i in n)n.hasOwnProperty(i)&&(e.prototype[i]=n[i]);e.prototype.constructor=e,e.superClass=t}function yl(e,t,n){if(e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,Object.getOwnPropertyNames)for(var r=Object.getOwnPropertyNames(t),i=0;i<r.length;i++){var o=r[i];o!=="constructor"&&e[o]==null&&(e[o]=t[o])}else En(e,t)}function fa(e){return!e||typeof e=="string"?!1:typeof e.length=="number"}function Pe(e,t,n){if(e&&t)if(e.forEach&&e.forEach===t5e)e.forEach(t,n);else if(e.length===+e.length)for(var r=0,i=e.length;r<i;r++)t.call(n,e[r],r,e);else for(var o in e)e.hasOwnProperty(o)&&t.call(n,e[o],o,e)}function Ot(e,t,n){if(!e)return[];if(!t)return Xk(e);if(e.map&&e.map===r5e)return e.map(t,n);for(var r=[],i=0,o=e.length;i<o;i++)r.push(t.call(n,e[i],i,e));return r}function zf(e,t,n,r){if(e&&t){for(var i=0,o=e.length;i<o;i++)n=t.call(r,n,e[i],i,e);return n}}function ao(e,t,n){if(!e)return[];if(!t)return Xk(e);if(e.filter&&e.filter===n5e)return e.filter(t,n);for(var r=[],i=0,o=e.length;i<o;i++)t.call(n,e[i],i,e)&&r.push(e[i]);return r}function a5e(e,t,n){if(e&&t){for(var r=0,i=e.length;r<i;r++)if(t.call(n,e[r],r,e))return e[r]}}function Dn(e){if(!e)return[];if(Object.keys)return Object.keys(e);var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}function s5e(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return function(){return e.apply(t,n.concat(Nk.call(arguments)))}}var gi=HA&&An(HA.bind)?HA.call.bind(HA.bind):s5e;function Fa(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return function(){return e.apply(this,t.concat(Nk.call(arguments)))}}function It(e){return Array.isArray?Array.isArray(e):ly.call(e)==="[object Array]"}function An(e){return typeof e=="function"}function Qt(e){return typeof e=="string"}function l5e(e){return ly.call(e)==="[object String]"}function Ar(e){return typeof e=="number"}function rn(e){var t=typeof e;return t==="function"||!!e&&t==="object"}function dW(e){return!!pJ[ly.call(e)]}function da(e){return!!vJ[ly.call(e)]}function A6(e){return typeof e=="object"&&typeof e.nodeType=="number"&&typeof e.ownerDocument=="object"}function Ek(e){return e.colorStops!=null}function Qx(e){return e!==e}function s2(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e.length;n<r;n++)if(e[n]!=null)return e[n]}function sn(e,t){return e??t}function dm(e,t,n){return e??t??n}function Xk(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return Nk.apply(e,t)}function yJ(e){if(typeof e=="number")return[e,e,e,e];var t=e.length;return t===2?[e[0],e[1],e[0],e[1]]:t===3?[e[0],e[1],e[2],e[1]]:e}function gu(e,t){if(!e)throw new Error(t)}function xf(e){return e==null?null:typeof e.trim=="function"?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var AJ="__ec_primitive__";function R6(e){e[AJ]=!0}function hm(e){return e[AJ]}var u5e=function(){function e(){this.data={}}return e.prototype.delete=function(t){var n=this.has(t);return n&&delete this.data[t],n},e.prototype.has=function(t){return this.data.hasOwnProperty(t)},e.prototype.get=function(t){return this.data[t]},e.prototype.set=function(t,n){return this.data[t]=n,this},e.prototype.keys=function(){return Dn(this.data)},e.prototype.forEach=function(t){var n=this.data;for(var r in n)n.hasOwnProperty(r)&&t(n[r],r)},e}(),RJ=typeof Map=="function";function c5e(){return RJ?new Map:new u5e}var f5e=function(){function e(t){var n=It(t);this.data=c5e();var r=this;t instanceof e?t.each(i):t&&Pe(t,i);function i(o,a){n?r.set(o,a):r.set(a,o)}}return e.prototype.hasKey=function(t){return this.data.has(t)},e.prototype.get=function(t){return this.data.get(t)},e.prototype.set=function(t,n){return this.data.set(t,n),n},e.prototype.each=function(t,n){this.data.forEach(function(r,i){t.call(n,r,i)})},e.prototype.keys=function(){var t=this.data.keys();return RJ?Array.from(t):t},e.prototype.removeKey=function(t){this.data.delete(t)},e}();function xn(e){return new f5e(e)}function d5e(e,t){for(var n=new e.constructor(e.length+t.length),r=0;r<e.length;r++)n[r]=e[r];for(var i=e.length,r=0;r<t.length;r++)n[r+i]=t[r];return n}function w3(e,t){var n;if(Object.create)n=Object.create(e);else{var r=function(){};r.prototype=e,n=new r}return t&>(n,t),n}function l2(e,t){return e.hasOwnProperty(t)}function Ba(){}var Rb=180/Math.PI;function jv(e,t){return e==null&&(e=0),t==null&&(t=0),[e,t]}function h5e(e){return[e[0],e[1]]}function hW(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e}function p5e(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e}function v5e(e){return Math.sqrt(g5e(e))}function g5e(e){return e[0]*e[0]+e[1]*e[1]}function V5(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e}function m5e(e,t){var n=v5e(t);return n===0?(e[0]=0,e[1]=0):(e[0]=t[0]/n,e[1]=t[1]/n),e}function b6(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}var x6=b6;function y5e(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}var iv=y5e;function D5(e,t,n,r){return e[0]=t[0]+r*(n[0]-t[0]),e[1]=t[1]+r*(n[1]-t[1]),e}function Ms(e,t,n){var r=t[0],i=t[1];return e[0]=n[0]*r+n[2]*i+n[4],e[1]=n[1]*r+n[3]*i+n[5],e}function kp(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e}function Pp(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e}var Y0=function(){function e(t,n){this.target=t,this.topTarget=n&&n.topTarget}return e}(),A5e=function(){function e(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return e.prototype._dragStart=function(t){for(var n=t.target;n&&!n.draggable;)n=n.parent||n.__hostTarget;n&&(this._draggingTarget=n,n.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new Y0(n,t),"dragstart",t.event))},e.prototype._drag=function(t){var n=this._draggingTarget;if(n){var r=t.offsetX,i=t.offsetY,o=r-this._x,a=i-this._y;this._x=r,this._y=i,n.drift(o,a,t),this.handler.dispatchToElement(new Y0(n,t),"drag",t.event);var s=this.handler.findHover(r,i,n).target,l=this._dropTarget;this._dropTarget=s,n!==s&&(l&&s!==l&&this.handler.dispatchToElement(new Y0(l,t),"dragleave",t.event),s&&s!==l&&this.handler.dispatchToElement(new Y0(s,t),"dragenter",t.event))}},e.prototype._dragEnd=function(t){var n=this._draggingTarget;n&&(n.dragging=!1),this.handler.dispatchToElement(new Y0(n,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new Y0(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},e}(),Ac=function(){function e(t){t&&(this._$eventProcessor=t)}return e.prototype.on=function(t,n,r,i){this._$handlers||(this._$handlers={});var o=this._$handlers;if(typeof n=="function"&&(i=r,r=n,n=null),!r||!t)return this;var a=this._$eventProcessor;n!=null&&a&&a.normalizeQuery&&(n=a.normalizeQuery(n)),o[t]||(o[t]=[]);for(var s=0;s<o[t].length;s++)if(o[t][s].h===r)return this;var l={h:r,query:n,ctx:i||this,callAtLast:r.zrEventfulCallAtLast},u=o[t].length-1,c=o[t][u];return c&&c.callAtLast?o[t].splice(u,0,l):o[t].push(l),this},e.prototype.isSilent=function(t){var n=this._$handlers;return!n||!n[t]||!n[t].length},e.prototype.off=function(t,n){var r=this._$handlers;if(!r)return this;if(!t)return this._$handlers={},this;if(n){if(r[t]){for(var i=[],o=0,a=r[t].length;o<a;o++)r[t][o].h!==n&&i.push(r[t][o]);r[t]=i}r[t]&&r[t].length===0&&delete r[t]}else delete r[t];return this},e.prototype.trigger=function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if(!this._$handlers)return this;var i=this._$handlers[t],o=this._$eventProcessor;if(i)for(var a=n.length,s=i.length,l=0;l<s;l++){var u=i[l];if(!(o&&o.filter&&u.query!=null&&!o.filter(t,u.query)))switch(a){case 0:u.h.call(u.ctx);break;case 1:u.h.call(u.ctx,n[0]);break;case 2:u.h.call(u.ctx,n[0],n[1]);break;default:u.h.apply(u.ctx,n);break}}return o&&o.afterTrigger&&o.afterTrigger(t),this},e.prototype.triggerWithContext=function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if(!this._$handlers)return this;var i=this._$handlers[t],o=this._$eventProcessor;if(i)for(var a=n.length,s=n[a-1],l=i.length,u=0;u<l;u++){var c=i[u];if(!(o&&o.filter&&c.query!=null&&!o.filter(t,c.query)))switch(a){case 0:c.h.call(s);break;case 1:c.h.call(s,n[0]);break;case 2:c.h.call(s,n[0],n[1]);break;default:c.h.apply(s,n.slice(1,a-1));break}}return o&&o.afterTrigger&&o.afterTrigger(t),this},e}(),R5e=Math.log(2);function S6(e,t,n,r,i,o){var a=r+"-"+i,s=e.length;if(o.hasOwnProperty(a))return o[a];if(t===1){var l=Math.round(Math.log((1<<s)-1&~i)/R5e);return e[n][l]}for(var u=r|1<<n,c=n+1;r&1<<c;)c++;for(var f=0,d=0,h=0;d<s;d++){var p=1<<d;p&i||(f+=(h%2?-1:1)*e[n][d]*S6(e,t-1,c,u,i|p,o),h++)}return o[a]=f,f}function b5e(e,t){var n=[[e[0],e[1],1,0,0,0,-t[0]*e[0],-t[0]*e[1]],[0,0,0,e[0],e[1],1,-t[1]*e[0],-t[1]*e[1]],[e[2],e[3],1,0,0,0,-t[2]*e[2],-t[2]*e[3]],[0,0,0,e[2],e[3],1,-t[3]*e[2],-t[3]*e[3]],[e[4],e[5],1,0,0,0,-t[4]*e[4],-t[4]*e[5]],[0,0,0,e[4],e[5],1,-t[5]*e[4],-t[5]*e[5]],[e[6],e[7],1,0,0,0,-t[6]*e[6],-t[6]*e[7]],[0,0,0,e[6],e[7],1,-t[7]*e[6],-t[7]*e[7]]],r={},i=S6(n,8,0,0,0,r);if(i!==0){for(var o=[],a=0;a<8;a++)for(var s=0;s<8;s++)o[s]==null&&(o[s]=0),o[s]+=((a+s)%2?-1:1)*S6(n,7,a===0?1:0,1<<a,1<<s,r)/i*t[a];return function(l,u,c){var f=u*o[6]+c*o[7]+1;l[0]=(u*o[0]+c*o[1]+o[2])/f,l[1]=(u*o[3]+c*o[4]+o[5])/f}}}var pW="___zrEVENTSAVED";function x5e(e,t,n,r,i){if(t.getBoundingClientRect&&or.domSupported&&!bJ(t)){var o=t[pW]||(t[pW]={}),a=S5e(t,o),s=w5e(a,o);if(s)return s(e,n,r),!0}return!1}function S5e(e,t){var n=t.markers;if(n)return n;n=t.markers=[];for(var r=["left","right"],i=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=a.style,l=o%2,u=(o>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[l]+":0",i[u]+":0",r[1-l]+":auto",i[1-u]+":auto",""].join("!important;"),e.appendChild(a),n.push(a)}return n}function w5e(e,t,n){for(var r="trans",i=t[r],o=t.srcCoords,a=[],s=[],l=!0,u=0;u<4;u++){var c=e[u].getBoundingClientRect(),f=2*u,d=c.left,h=c.top;a.push(d,h),l=l&&o&&d===o[f]&&h===o[f+1],s.push(e[u].offsetLeft,e[u].offsetTop)}return l&&i?i:(t.srcCoords=a,t[r]=b5e(a,s))}function bJ(e){return e.nodeName.toUpperCase()==="CANVAS"}var M5e=/([&<>"'])/g,L5e={"&":"&","<":"<",">":">",'"':""","'":"'"};function T5e(e){return e==null?"":(e+"").replace(M5e,function(t,n){return L5e[n]})}var _5e=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,U5=[],O5e=or.browser.firefox&&+or.browser.version.split(".")[0]<39;function w6(e,t,n,r){return n=n||{},r?vW(e,t,n):O5e&&t.layerX!=null&&t.layerX!==t.offsetX?(n.zrX=t.layerX,n.zrY=t.layerY):t.offsetX!=null?(n.zrX=t.offsetX,n.zrY=t.offsetY):vW(e,t,n),n}function vW(e,t,n){if(or.domSupported&&e.getBoundingClientRect){var r=t.clientX,i=t.clientY;if(bJ(e)){var o=e.getBoundingClientRect();n.zrX=r-o.left,n.zrY=i-o.top;return}else if(x5e(U5,e,r,i)){n.zrX=U5[0],n.zrY=U5[1];return}}n.zrX=n.zrY=0}function Wk(e){return e||window.event}function $s(e,t,n){if(t=Wk(t),t.zrX!=null)return t;var r=t.type,i=r&&r.indexOf("touch")>=0;if(i){var a=r!=="touchend"?t.targetTouches[0]:t.changedTouches[0];a&&w6(e,a,t,n)}else{w6(e,t,t,n);var o=k5e(t);t.zrDelta=o?o/120:-(t.detail||0)/3}var s=t.button;return t.which==null&&s!==void 0&&_5e.test(t.type)&&(t.which=s&1?1:s&2?3:s&4?2:0),t}function k5e(e){var t=e.wheelDelta;if(t)return t;var n=e.deltaX,r=e.deltaY;if(n==null||r==null)return t;var i=Math.abs(r!==0?r:n),o=r>0?-1:r<0?1:n>0?-1:1;return 3*i*o}function P5e(e,t,n,r){e.addEventListener(t,n,r)}function C5e(e,t,n,r){e.removeEventListener(t,n,r)}var I5e=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0},N5e=function(){function e(){this._track=[]}return e.prototype.recognize=function(t,n,r){return this._doTrack(t,n,r),this._recognize(t)},e.prototype.clear=function(){return this._track.length=0,this},e.prototype._doTrack=function(t,n,r){var i=t.touches;if(i){for(var o={points:[],touches:[],target:n,event:t},a=0,s=i.length;a<s;a++){var l=i[a],u=w6(r,l,{});o.points.push([u.zrX,u.zrY]),o.touches.push(l)}this._track.push(o)}},e.prototype._recognize=function(t){for(var n in B5)if(B5.hasOwnProperty(n)){var r=B5[n](this._track,t);if(r)return r}},e}();function gW(e){var t=e[1][0]-e[0][0],n=e[1][1]-e[0][1];return Math.sqrt(t*t+n*n)}function F5e(e){return[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]}var B5={pinch:function(e,t){var n=e.length;if(n){var r=(e[n-1]||{}).points,i=(e[n-2]||{}).points||r;if(i&&i.length>1&&r&&r.length>1){var o=gW(r)/gW(i);!isFinite(o)&&(o=1),t.pinchScale=o;var a=F5e(r);return t.pinchX=a[0],t.pinchY=a[1],{type:"pinch",target:e[0].target,event:t}}}}};function pm(){return[1,0,0,1,0,0]}function Vk(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function E5e(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function ov(e,t,n){var r=t[0]*n[0]+t[2]*n[1],i=t[1]*n[0]+t[3]*n[1],o=t[0]*n[2]+t[2]*n[3],a=t[1]*n[2]+t[3]*n[3],s=t[0]*n[4]+t[2]*n[5]+t[4],l=t[1]*n[4]+t[3]*n[5]+t[5];return e[0]=r,e[1]=i,e[2]=o,e[3]=a,e[4]=s,e[5]=l,e}function mW(e,t,n){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+n[0],e[5]=t[5]+n[1],e}function xJ(e,t,n,r){r===void 0&&(r=[0,0]);var i=t[0],o=t[2],a=t[4],s=t[1],l=t[3],u=t[5],c=Math.sin(n),f=Math.cos(n);return e[0]=i*f+s*c,e[1]=-i*c+s*f,e[2]=o*f+l*c,e[3]=-o*c+f*l,e[4]=f*(a-r[0])+c*(u-r[1])+r[0],e[5]=f*(u-r[1])-c*(a-r[0])+r[1],e}function X5e(e,t,n){var r=n[0],i=n[1];return e[0]=t[0]*r,e[1]=t[1]*i,e[2]=t[2]*r,e[3]=t[3]*i,e[4]=t[4]*r,e[5]=t[5]*i,e}function Dk(e,t){var n=t[0],r=t[2],i=t[4],o=t[1],a=t[3],s=t[5],l=n*a-o*r;return l?(l=1/l,e[0]=a*l,e[1]=-o*l,e[2]=-r*l,e[3]=n*l,e[4]=(r*s-a*i)*l,e[5]=(o*i-n*s)*l,e):null}var cn=function(){function e(t,n){this.x=t||0,this.y=n||0}return e.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.set=function(t,n){return this.x=t,this.y=n,this},e.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},e.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},e.prototype.scale=function(t){this.x*=t,this.y*=t},e.prototype.scaleAndAdd=function(t,n){this.x+=t.x*n,this.y+=t.y*n},e.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},e.prototype.dot=function(t){return this.x*t.x+this.y*t.y},e.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},e.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},e.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},e.prototype.distance=function(t){var n=this.x-t.x,r=this.y-t.y;return Math.sqrt(n*n+r*r)},e.prototype.distanceSquare=function(t){var n=this.x-t.x,r=this.y-t.y;return n*n+r*r},e.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},e.prototype.transform=function(t){if(t){var n=this.x,r=this.y;return this.x=t[0]*n+t[2]*r+t[4],this.y=t[1]*n+t[3]*r+t[5],this}},e.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},e.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},e.set=function(t,n,r){t.x=n,t.y=r},e.copy=function(t,n){t.x=n.x,t.y=n.y},e.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},e.lenSquare=function(t){return t.x*t.x+t.y*t.y},e.dot=function(t,n){return t.x*n.x+t.y*n.y},e.add=function(t,n,r){t.x=n.x+r.x,t.y=n.y+r.y},e.sub=function(t,n,r){t.x=n.x-r.x,t.y=n.y-r.y},e.scale=function(t,n,r){t.x=n.x*r,t.y=n.y*r},e.scaleAndAdd=function(t,n,r,i){t.x=n.x+r.x*i,t.y=n.y+r.y*i},e.lerp=function(t,n,r,i){var o=1-i;t.x=o*n.x+i*r.x,t.y=o*n.y+i*r.y},e}(),KA=Math.min,GA=Math.max,kd=new cn,Pd=new cn,Cd=new cn,Id=new cn,C1=new cn,I1=new cn,dr=function(){function e(t,n,r,i){r<0&&(t=t+r,r=-r),i<0&&(n=n+i,i=-i),this.x=t,this.y=n,this.width=r,this.height=i}return e.prototype.union=function(t){var n=KA(t.x,this.x),r=KA(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=GA(t.x+t.width,this.x+this.width)-n:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=GA(t.y+t.height,this.y+this.height)-r:this.height=t.height,this.x=n,this.y=r},e.prototype.applyTransform=function(t){e.applyTransform(this,this,t)},e.prototype.calculateTransform=function(t){var n=this,r=t.width/n.width,i=t.height/n.height,o=pm();return mW(o,o,[-n.x,-n.y]),X5e(o,o,[r,i]),mW(o,o,[t.x,t.y]),o},e.prototype.intersect=function(t,n){if(!t)return!1;t instanceof e||(t=e.create(t));var r=this,i=r.x,o=r.x+r.width,a=r.y,s=r.y+r.height,l=t.x,u=t.x+t.width,c=t.y,f=t.y+t.height,d=!(o<l||u<i||s<c||f<a);if(n){var h=1/0,p=0,v=Math.abs(o-l),g=Math.abs(u-i),m=Math.abs(s-c),y=Math.abs(f-a),R=Math.min(v,g),A=Math.min(m,y);o<l||u<i?R>p&&(p=R,v<g?cn.set(I1,-v,0):cn.set(I1,g,0)):R<h&&(h=R,v<g?cn.set(C1,v,0):cn.set(C1,-g,0)),s<c||f<a?A>p&&(p=A,m<y?cn.set(I1,0,-m):cn.set(I1,0,y)):R<h&&(h=R,m<y?cn.set(C1,0,m):cn.set(C1,0,-y))}return n&&cn.copy(n,d?C1:I1),d},e.prototype.contain=function(t,n){var r=this;return t>=r.x&&t<=r.x+r.width&&n>=r.y&&n<=r.y+r.height},e.prototype.clone=function(){return new e(this.x,this.y,this.width,this.height)},e.prototype.copy=function(t){e.copy(this,t)},e.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},e.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},e.prototype.isZero=function(){return this.width===0||this.height===0},e.create=function(t){return new e(t.x,t.y,t.width,t.height)},e.copy=function(t,n){t.x=n.x,t.y=n.y,t.width=n.width,t.height=n.height},e.applyTransform=function(t,n,r){if(!r){t!==n&&e.copy(t,n);return}if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var i=r[0],o=r[3],a=r[4],s=r[5];t.x=n.x*i+a,t.y=n.y*o+s,t.width=n.width*i,t.height=n.height*o,t.width<0&&(t.x+=t.width,t.width=-t.width),t.height<0&&(t.y+=t.height,t.height=-t.height);return}kd.x=Cd.x=n.x,kd.y=Id.y=n.y,Pd.x=Id.x=n.x+n.width,Pd.y=Cd.y=n.y+n.height,kd.transform(r),Id.transform(r),Pd.transform(r),Cd.transform(r),t.x=KA(kd.x,Pd.x,Cd.x,Id.x),t.y=KA(kd.y,Pd.y,Cd.y,Id.y);var l=GA(kd.x,Pd.x,Cd.x,Id.x),u=GA(kd.y,Pd.y,Cd.y,Id.y);t.width=l-t.x,t.height=u-t.y},e}(),SJ="silent";function W5e(e,t,n){return{type:e,event:n,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:V5e}}function V5e(){I5e(this.event)}var D5e=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.handler=null,n}return t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t}(Ac),N1=function(){function e(t,n){this.x=t,this.y=n}return e}(),U5e=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Y5=new dr(0,0,0,0),wJ=function(e){St(t,e);function t(n,r,i,o,a){var s=e.call(this)||this;return s._hovered=new N1(0,0),s.storage=n,s.painter=r,s.painterRoot=o,s._pointerSize=a,i=i||new D5e,s.proxy=null,s.setHandlerProxy(i),s._draggingMgr=new A5e(s),s}return t.prototype.setHandlerProxy=function(n){this.proxy&&this.proxy.dispose(),n&&(Pe(U5e,function(r){n.on&&n.on(r,this[r],this)},this),n.handler=this),this.proxy=n},t.prototype.mousemove=function(n){var r=n.zrX,i=n.zrY,o=MJ(this,r,i),a=this._hovered,s=a.target;s&&!s.__zr&&(a=this.findHover(a.x,a.y),s=a.target);var l=this._hovered=o?new N1(r,i):this.findHover(r,i),u=l.target,c=this.proxy;c.setCursor&&c.setCursor(u?u.cursor:"default"),s&&u!==s&&this.dispatchToElement(a,"mouseout",n),this.dispatchToElement(l,"mousemove",n),u&&u!==s&&this.dispatchToElement(l,"mouseover",n)},t.prototype.mouseout=function(n){var r=n.zrEventControl;r!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",n),r!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:n})},t.prototype.resize=function(){this._hovered=new N1(0,0)},t.prototype.dispatch=function(n,r){var i=this[n];i&&i.call(this,r)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(n){var r=this.proxy;r.setCursor&&r.setCursor(n)},t.prototype.dispatchToElement=function(n,r,i){n=n||{};var o=n.target;if(!(o&&o.silent)){for(var a="on"+r,s=W5e(r,n,i);o&&(o[a]&&(s.cancelBubble=!!o[a].call(o,s)),o.trigger(r,s),o=o.__hostTarget?o.__hostTarget:o.parent,!s.cancelBubble););s.cancelBubble||(this.trigger(r,s),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(l){typeof l[a]=="function"&&l[a].call(l,s),l.trigger&&l.trigger(r,s)}))}},t.prototype.findHover=function(n,r,i){var o=this.storage.getDisplayList(),a=new N1(n,r);if(yW(o,a,n,r,i),this._pointerSize&&!a.target){for(var s=[],l=this._pointerSize,u=l/2,c=new dr(n-u,r-u,l,l),f=o.length-1;f>=0;f--){var d=o[f];d!==i&&!d.ignore&&!d.ignoreCoarsePointer&&(!d.parent||!d.parent.ignoreCoarsePointer)&&(Y5.copy(d.getBoundingRect()),d.transform&&Y5.applyTransform(d.transform),Y5.intersect(c)&&s.push(d))}if(s.length)for(var h=4,p=Math.PI/12,v=Math.PI*2,g=0;g<u;g+=h)for(var m=0;m<v;m+=p){var y=n+g*Math.cos(m),R=r+g*Math.sin(m);if(yW(s,a,y,R,i),a.target)return a}}return a},t.prototype.processGesture=function(n,r){this._gestureMgr||(this._gestureMgr=new N5e);var i=this._gestureMgr;r==="start"&&i.clear();var o=i.recognize(n,this.findHover(n.zrX,n.zrY,null).target,this.proxy.dom);if(r==="end"&&i.clear(),o){var a=o.type;n.gestureEvent=a;var s=new N1;s.target=o.target,this.dispatchToElement(s,a,o.event)}},t}(Ac);Pe(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(e){wJ.prototype[e]=function(t){var n=t.zrX,r=t.zrY,i=MJ(this,n,r),o,a;if((e!=="mouseup"||!i)&&(o=this.findHover(n,r),a=o.target),e==="mousedown")this._downEl=a,this._downPoint=[t.zrX,t.zrY],this._upEl=a;else if(e==="mouseup")this._upEl=a;else if(e==="click"){if(this._downEl!==this._upEl||!this._downPoint||x6(this._downPoint,[t.zrX,t.zrY])>4)return;this._downPoint=null}this.dispatchToElement(o,e,t)}});function B5e(e,t,n){if(e[e.rectHover?"rectContain":"contain"](t,n)){for(var r=e,i=void 0,o=!1;r;){if(r.ignoreClip&&(o=!0),!o){var a=r.getClipPath();if(a&&!a.contain(t,n))return!1}r.silent&&(i=!0);var s=r.__hostTarget;r=s||r.parent}return i?SJ:!0}return!1}function yW(e,t,n,r,i){for(var o=e.length-1;o>=0;o--){var a=e[o],s=void 0;if(a!==i&&!a.ignore&&(s=B5e(a,n,r))&&(!t.topTarget&&(t.topTarget=a),s!==SJ)){t.target=a;break}}}function MJ(e,t,n){var r=e.painter;return t<0||t>r.getWidth()||n<0||n>r.getHeight()}var LJ=32,F1=7;function Y5e(e){for(var t=0;e>=LJ;)t|=e&1,e>>=1;return e+t}function AW(e,t,n,r){var i=t+1;if(i===n)return 1;if(r(e[i++],e[t])<0){for(;i<n&&r(e[i],e[i-1])<0;)i++;Z5e(e,t,i)}else for(;i<n&&r(e[i],e[i-1])>=0;)i++;return i-t}function Z5e(e,t,n){for(n--;t<n;){var r=e[t];e[t++]=e[n],e[n--]=r}}function RW(e,t,n,r,i){for(r===t&&r++;r<n;r++){for(var o=e[r],a=t,s=r,l;a<s;)l=a+s>>>1,i(o,e[l])<0?s=l:a=l+1;var u=r-a;switch(u){case 3:e[a+3]=e[a+2];case 2:e[a+2]=e[a+1];case 1:e[a+1]=e[a];break;default:for(;u>0;)e[a+u]=e[a+u-1],u--}e[a]=o}}function Z5(e,t,n,r,i,o){var a=0,s=0,l=1;if(o(e,t[n+i])>0){for(s=r-i;l<s&&o(e,t[n+i+l])>0;)a=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}else{for(s=i+1;l<s&&o(e,t[n+i-l])<=0;)a=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s);var u=a;a=i-l,l=i-u}for(a++;a<l;){var c=a+(l-a>>>1);o(e,t[n+c])>0?a=c+1:l=c}return l}function Q5(e,t,n,r,i,o){var a=0,s=0,l=1;if(o(e,t[n+i])<0){for(s=i+1;l<s&&o(e,t[n+i-l])<0;)a=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s);var u=a;a=i-l,l=i-u}else{for(s=r-i;l<s&&o(e,t[n+i+l])>=0;)a=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}for(a++;a<l;){var c=a+(l-a>>>1);o(e,t[n+c])<0?l=c:a=c+1}return l}function Q5e(e,t){var n=F1,r,i,o=0,a=[];r=[],i=[];function s(h,p){r[o]=h,i[o]=p,o+=1}function l(){for(;o>1;){var h=o-2;if(h>=1&&i[h-1]<=i[h]+i[h+1]||h>=2&&i[h-2]<=i[h]+i[h-1])i[h-1]<i[h+1]&&h--;else if(i[h]>i[h+1])break;c(h)}}function u(){for(;o>1;){var h=o-2;h>0&&i[h-1]<i[h+1]&&h--,c(h)}}function c(h){var p=r[h],v=i[h],g=r[h+1],m=i[h+1];i[h]=v+m,h===o-3&&(r[h+1]=r[h+2],i[h+1]=i[h+2]),o--;var y=Q5(e[g],e,p,v,0,t);p+=y,v-=y,v!==0&&(m=Z5(e[p+v-1],e,g,m,m-1,t),m!==0&&(v<=m?f(p,v,g,m):d(p,v,g,m)))}function f(h,p,v,g){var m=0;for(m=0;m<p;m++)a[m]=e[h+m];var y=0,R=v,A=h;if(e[A++]=e[R++],--g===0){for(m=0;m<p;m++)e[A+m]=a[y+m];return}if(p===1){for(m=0;m<g;m++)e[A+m]=e[R+m];e[A+g]=a[y];return}for(var x=n,S,_,M;;){S=0,_=0,M=!1;do if(t(e[R],a[y])<0){if(e[A++]=e[R++],_++,S=0,--g===0){M=!0;break}}else if(e[A++]=a[y++],S++,_=0,--p===1){M=!0;break}while((S|_)<x);if(M)break;do{if(S=Q5(e[R],a,y,p,0,t),S!==0){for(m=0;m<S;m++)e[A+m]=a[y+m];if(A+=S,y+=S,p-=S,p<=1){M=!0;break}}if(e[A++]=e[R++],--g===0){M=!0;break}if(_=Z5(a[y],e,R,g,0,t),_!==0){for(m=0;m<_;m++)e[A+m]=e[R+m];if(A+=_,R+=_,g-=_,g===0){M=!0;break}}if(e[A++]=a[y++],--p===1){M=!0;break}x--}while(S>=F1||_>=F1);if(M)break;x<0&&(x=0),x+=2}if(n=x,n<1&&(n=1),p===1){for(m=0;m<g;m++)e[A+m]=e[R+m];e[A+g]=a[y]}else{if(p===0)throw new Error;for(m=0;m<p;m++)e[A+m]=a[y+m]}}function d(h,p,v,g){var m=0;for(m=0;m<g;m++)a[m]=e[v+m];var y=h+p-1,R=g-1,A=v+g-1,x=0,S=0;if(e[A--]=e[y--],--p===0){for(x=A-(g-1),m=0;m<g;m++)e[x+m]=a[m];return}if(g===1){for(A-=p,y-=p,S=A+1,x=y+1,m=p-1;m>=0;m--)e[S+m]=e[x+m];e[A]=a[R];return}for(var _=n;;){var M=0,w=0,L=!1;do if(t(a[R],e[y])<0){if(e[A--]=e[y--],M++,w=0,--p===0){L=!0;break}}else if(e[A--]=a[R--],w++,M=0,--g===1){L=!0;break}while((M|w)<_);if(L)break;do{if(M=p-Q5(a[R],e,h,p,p-1,t),M!==0){for(A-=M,y-=M,p-=M,S=A+1,x=y+1,m=M-1;m>=0;m--)e[S+m]=e[x+m];if(p===0){L=!0;break}}if(e[A--]=a[R--],--g===1){L=!0;break}if(w=g-Z5(e[y],a,0,g,g-1,t),w!==0){for(A-=w,R-=w,g-=w,S=A+1,x=R+1,m=0;m<w;m++)e[S+m]=a[x+m];if(g<=1){L=!0;break}}if(e[A--]=e[y--],--p===0){L=!0;break}_--}while(M>=F1||w>=F1);if(L)break;_<0&&(_=0),_+=2}if(n=_,n<1&&(n=1),g===1){for(A-=p,y-=p,S=A+1,x=y+1,m=p-1;m>=0;m--)e[S+m]=e[x+m];e[A]=a[R]}else{if(g===0)throw new Error;for(x=A-(g-1),m=0;m<g;m++)e[x+m]=a[m]}}return{mergeRuns:l,forceMergeRuns:u,pushRun:s}}function bb(e,t,n,r){n||(n=0),r||(r=e.length);var i=r-n;if(!(i<2)){var o=0;if(i<LJ){o=AW(e,n,r,t),RW(e,n,r,n+o,t);return}var a=Q5e(e,t),s=Y5e(i);do{if(o=AW(e,n,r,t),o<s){var l=i;l>s&&(l=s),RW(e,n,n+l,n+o,t),o=l}a.pushRun(n,o),a.mergeRuns(),i-=o,n+=o}while(i!==0);a.forceMergeRuns()}}var Jl=1,Lg=2,bp=4,bW=!1;function H5(){bW||(bW=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function xW(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var H5e=function(){function e(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=xW}return e.prototype.traverse=function(t,n){for(var r=0;r<this._roots.length;r++)this._roots[r].traverse(t,n)},e.prototype.getDisplayList=function(t,n){n=n||!1;var r=this._displayList;return(t||!r.length)&&this.updateDisplayList(n),r},e.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var n=this._roots,r=this._displayList,i=0,o=n.length;i<o;i++)this._updateAndAddDisplayable(n[i],null,t);r.length=this._displayListLen,bb(r,xW)},e.prototype._updateAndAddDisplayable=function(t,n,r){if(!(t.ignore&&!r)){t.beforeUpdate(),t.update(),t.afterUpdate();var i=t.getClipPath();if(t.ignoreClip)n=null;else if(i){n?n=n.slice():n=[];for(var o=i,a=t;o;)o.parent=a,o.updateTransform(),n.push(o),a=o,o=o.getClipPath()}if(t.childrenRef){for(var s=t.childrenRef(),l=0;l<s.length;l++){var u=s[l];t.__dirty&&(u.__dirty|=Jl),this._updateAndAddDisplayable(u,n,r)}t.__dirty=0}else{var c=t;n&&n.length?c.__clipPaths=n:c.__clipPaths&&c.__clipPaths.length>0&&(c.__clipPaths=[]),isNaN(c.z)&&(H5(),c.z=0),isNaN(c.z2)&&(H5(),c.z2=0),isNaN(c.zlevel)&&(H5(),c.zlevel=0),this._displayList[this._displayListLen++]=c}var f=t.getDecalElement&&t.getDecalElement();f&&this._updateAndAddDisplayable(f,n,r);var d=t.getTextGuideLine();d&&this._updateAndAddDisplayable(d,n,r);var h=t.getTextContent();h&&this._updateAndAddDisplayable(h,n,r)}},e.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},e.prototype.delRoot=function(t){if(t instanceof Array){for(var n=0,r=t.length;n<r;n++)this.delRoot(t[n]);return}var i=Sr(this._roots,t);i>=0&&this._roots.splice(i,1)},e.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},e.prototype.getRoots=function(){return this._roots},e.prototype.dispose=function(){this._displayList=null,this._roots=null},e}(),M6;M6=or.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){return setTimeout(e,16)};var vm={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return .5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return e===0?0:Math.pow(1024,e-1)},exponentialOut:function(e){return e===1?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return e===0?0:e===1?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(-Math.pow(2,-10*(e-1))+2)},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var t,n=.1,r=.4;return e===0?0:e===1?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),-(n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)))},elasticOut:function(e){var t,n=.1,r=.4;return e===0?0:e===1?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/r)+1)},elasticInOut:function(e){var t,n=.1,r=.4;return e===0?0:e===1?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),(e*=2)<1?-.5*(n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)):n*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)*.5+1)},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},backInOut:function(e){var t=2.5949095;return(e*=2)<1?.5*(e*e*((t+1)*e-t)):.5*((e-=2)*e*((t+1)*e+t)+2)},bounceIn:function(e){return 1-vm.bounceOut(1-e)},bounceOut:function(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},bounceInOut:function(e){return e<.5?vm.bounceIn(e*2)*.5:vm.bounceOut(e*2-1)*.5+.5}},zA=Math.pow,Ef=Math.sqrt,Hx=1e-8,TJ=1e-4,SW=Ef(3),JA=1/3,$l=jv(),ps=jv(),av=jv();function Sf(e){return e>-Hx&&e<Hx}function _J(e){return e>Hx||e<-Hx}function Qi(e,t,n,r,i){var o=1-i;return o*o*(o*e+3*i*t)+i*i*(i*r+3*o*n)}function wW(e,t,n,r,i){var o=1-i;return 3*(((t-e)*o+2*(n-t)*i)*o+(r-n)*i*i)}function Kx(e,t,n,r,i,o){var a=r+3*(t-n)-e,s=3*(n-t*2+e),l=3*(t-e),u=e-i,c=s*s-3*a*l,f=s*l-9*a*u,d=l*l-3*s*u,h=0;if(Sf(c)&&Sf(f))if(Sf(s))o[0]=0;else{var p=-l/s;p>=0&&p<=1&&(o[h++]=p)}else{var v=f*f-4*c*d;if(Sf(v)){var g=f/c,p=-s/a+g,m=-g/2;p>=0&&p<=1&&(o[h++]=p),m>=0&&m<=1&&(o[h++]=m)}else if(v>0){var y=Ef(v),R=c*s+1.5*a*(-f+y),A=c*s+1.5*a*(-f-y);R<0?R=-zA(-R,JA):R=zA(R,JA),A<0?A=-zA(-A,JA):A=zA(A,JA);var p=(-s-(R+A))/(3*a);p>=0&&p<=1&&(o[h++]=p)}else{var x=(2*c*s-3*a*f)/(2*Ef(c*c*c)),S=Math.acos(x)/3,_=Ef(c),M=Math.cos(S),p=(-s-2*_*M)/(3*a),m=(-s+_*(M+SW*Math.sin(S)))/(3*a),w=(-s+_*(M-SW*Math.sin(S)))/(3*a);p>=0&&p<=1&&(o[h++]=p),m>=0&&m<=1&&(o[h++]=m),w>=0&&w<=1&&(o[h++]=w)}}return h}function OJ(e,t,n,r,i){var o=6*n-12*t+6*e,a=9*t+3*r-3*e-9*n,s=3*t-3*e,l=0;if(Sf(a)){if(_J(o)){var u=-s/o;u>=0&&u<=1&&(i[l++]=u)}}else{var c=o*o-4*a*s;if(Sf(c))i[0]=-o/(2*a);else if(c>0){var f=Ef(c),u=(-o+f)/(2*a),d=(-o-f)/(2*a);u>=0&&u<=1&&(i[l++]=u),d>=0&&d<=1&&(i[l++]=d)}}return l}function Gx(e,t,n,r,i,o){var a=(t-e)*i+e,s=(n-t)*i+t,l=(r-n)*i+n,u=(s-a)*i+a,c=(l-s)*i+s,f=(c-u)*i+u;o[0]=e,o[1]=a,o[2]=u,o[3]=f,o[4]=f,o[5]=c,o[6]=l,o[7]=r}function K5e(e,t,n,r,i,o,a,s,l,u,c){var f,d=.005,h=1/0,p,v,g,m;$l[0]=l,$l[1]=u;for(var y=0;y<1;y+=.05)ps[0]=Qi(e,n,i,a,y),ps[1]=Qi(t,r,o,s,y),g=iv($l,ps),g<h&&(f=y,h=g);h=1/0;for(var R=0;R<32&&!(d<TJ);R++)p=f-d,v=f+d,ps[0]=Qi(e,n,i,a,p),ps[1]=Qi(t,r,o,s,p),g=iv(ps,$l),p>=0&&g<h?(f=p,h=g):(av[0]=Qi(e,n,i,a,v),av[1]=Qi(t,r,o,s,v),m=iv(av,$l),v<=1&&m<h?(f=v,h=m):d*=.5);return Ef(h)}function G5e(e,t,n,r,i,o,a,s,l){for(var u=e,c=t,f=0,d=1/l,h=1;h<=l;h++){var p=h*d,v=Qi(e,n,i,a,p),g=Qi(t,r,o,s,p),m=v-u,y=g-c;f+=Math.sqrt(m*m+y*y),u=v,c=g}return f}function Jo(e,t,n,r){var i=1-r;return i*(i*e+2*r*t)+r*r*n}function MW(e,t,n,r){return 2*((1-r)*(t-e)+r*(n-t))}function z5e(e,t,n,r,i){var o=e-2*t+n,a=2*(t-e),s=e-r,l=0;if(Sf(o)){if(_J(a)){var u=-s/a;u>=0&&u<=1&&(i[l++]=u)}}else{var c=a*a-4*o*s;if(Sf(c)){var u=-a/(2*o);u>=0&&u<=1&&(i[l++]=u)}else if(c>0){var f=Ef(c),u=(-a+f)/(2*o),d=(-a-f)/(2*o);u>=0&&u<=1&&(i[l++]=u),d>=0&&d<=1&&(i[l++]=d)}}return l}function kJ(e,t,n){var r=e+n-2*t;return r===0?.5:(e-t)/r}function zx(e,t,n,r,i){var o=(t-e)*r+e,a=(n-t)*r+t,s=(a-o)*r+o;i[0]=e,i[1]=o,i[2]=s,i[3]=s,i[4]=a,i[5]=n}function J5e(e,t,n,r,i,o,a,s,l){var u,c=.005,f=1/0;$l[0]=a,$l[1]=s;for(var d=0;d<1;d+=.05){ps[0]=Jo(e,n,i,d),ps[1]=Jo(t,r,o,d);var h=iv($l,ps);h<f&&(u=d,f=h)}f=1/0;for(var p=0;p<32&&!(c<TJ);p++){var v=u-c,g=u+c;ps[0]=Jo(e,n,i,v),ps[1]=Jo(t,r,o,v);var h=iv(ps,$l);if(v>=0&&h<f)u=v,f=h;else{av[0]=Jo(e,n,i,g),av[1]=Jo(t,r,o,g);var m=iv(av,$l);g<=1&&m<f?(u=g,f=m):c*=.5}}return Ef(f)}function $5e(e,t,n,r,i,o,a){for(var s=e,l=t,u=0,c=1/a,f=1;f<=a;f++){var d=f*c,h=Jo(e,n,i,d),p=Jo(t,r,o,d),v=h-s,g=p-l;u+=Math.sqrt(v*v+g*g),s=h,l=p}return u}var j5e=/cubic-bezier\(([0-9,\.e ]+)\)/;function Uk(e){var t=e&&j5e.exec(e);if(t){var n=t[1].split(","),r=+xf(n[0]),i=+xf(n[1]),o=+xf(n[2]),a=+xf(n[3]);if(isNaN(r+i+o+a))return;var s=[];return function(l){return l<=0?0:l>=1?1:Kx(0,r,o,1,l,s)&&Qi(0,i,a,1,s[0])}}}var q5e=function(){function e(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||Ba,this.ondestroy=t.ondestroy||Ba,this.onrestart=t.onrestart||Ba,t.easing&&this.setEasing(t.easing)}return e.prototype.step=function(t,n){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=n;return}var r=this._life,i=t-this._startTime-this._pausedTime,o=i/r;o<0&&(o=0),o=Math.min(o,1);var a=this.easingFunc,s=a?a(o):o;if(this.onframe(s),o===1)if(this.loop){var l=i%r;this._startTime=t-l,this._pausedTime=0,this.onrestart()}else return!0;return!1},e.prototype.pause=function(){this._paused=!0},e.prototype.resume=function(){this._paused=!1},e.prototype.setEasing=function(t){this.easing=t,this.easingFunc=An(t)?t:vm[t]||Uk(t)},e}(),PJ=function(){function e(t){this.value=t}return e}(),eLe=function(){function e(){this._len=0}return e.prototype.insert=function(t){var n=new PJ(t);return this.insertEntry(n),n},e.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},e.prototype.remove=function(t){var n=t.prev,r=t.next;n?n.next=r:this.head=r,r?r.prev=n:this.tail=n,t.next=t.prev=null,this._len--},e.prototype.len=function(){return this._len},e.prototype.clear=function(){this.head=this.tail=null,this._len=0},e}(),uy=function(){function e(t){this._list=new eLe,this._maxSize=10,this._map={},this._maxSize=t}return e.prototype.put=function(t,n){var r=this._list,i=this._map,o=null;if(i[t]==null){var a=r.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=r.head;r.remove(l),delete i[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=n:s=new PJ(n),s.key=t,r.insertEntry(s),i[t]=s}return o},e.prototype.get=function(t){var n=this._map[t],r=this._list;if(n!=null)return n!==r.tail&&(r.remove(n),r.insertEntry(n)),n.value},e.prototype.clear=function(){this._list.clear(),this._map={}},e.prototype.len=function(){return this._list.len()},e}(),LW={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function Xf(e){return e=Math.round(e),e<0?0:e>255?255:e}function L6(e){return e<0?0:e>1?1:e}function K5(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?Xf(parseFloat(t)/100*255):Xf(parseInt(t,10))}function gm(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?L6(parseFloat(t)/100):L6(parseFloat(t))}function G5(e,t,n){return n<0?n+=1:n>1&&(n-=1),n*6<1?e+(t-e)*n*6:n*2<1?t:n*3<2?e+(t-e)*(2/3-n)*6:e}function $A(e,t,n){return e+(t-e)*n}function ss(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e}function T6(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var CJ=new uy(20),jA=null;function Z0(e,t){jA&&T6(jA,t),jA=CJ.put(e,jA||t.slice())}function su(e,t){if(e){t=t||[];var n=CJ.get(e);if(n)return T6(t,n);e=e+"";var r=e.replace(/ /g,"").toLowerCase();if(r in LW)return T6(t,LW[r]),Z0(e,t),t;var i=r.length;if(r.charAt(0)==="#"){if(i===4||i===5){var o=parseInt(r.slice(1,4),16);if(!(o>=0&&o<=4095)){ss(t,0,0,0,1);return}return ss(t,(o&3840)>>4|(o&3840)>>8,o&240|(o&240)>>4,o&15|(o&15)<<4,i===5?parseInt(r.slice(4),16)/15:1),Z0(e,t),t}else if(i===7||i===9){var o=parseInt(r.slice(1,7),16);if(!(o>=0&&o<=16777215)){ss(t,0,0,0,1);return}return ss(t,(o&16711680)>>16,(o&65280)>>8,o&255,i===9?parseInt(r.slice(7),16)/255:1),Z0(e,t),t}return}var a=r.indexOf("("),s=r.indexOf(")");if(a!==-1&&s+1===i){var l=r.substr(0,a),u=r.substr(a+1,s-(a+1)).split(","),c=1;switch(l){case"rgba":if(u.length!==4)return u.length===3?ss(t,+u[0],+u[1],+u[2],1):ss(t,0,0,0,1);c=gm(u.pop());case"rgb":if(u.length>=3)return ss(t,K5(u[0]),K5(u[1]),K5(u[2]),u.length===3?c:gm(u[3])),Z0(e,t),t;ss(t,0,0,0,1);return;case"hsla":if(u.length!==4){ss(t,0,0,0,1);return}return u[3]=gm(u[3]),TW(u,t),Z0(e,t),t;case"hsl":if(u.length!==3){ss(t,0,0,0,1);return}return TW(u,t),Z0(e,t),t;default:return}}ss(t,0,0,0,1)}}function TW(e,t){var n=(parseFloat(e[0])%360+360)%360/360,r=gm(e[1]),i=gm(e[2]),o=i<=.5?i*(r+1):i+r-i*r,a=i*2-o;return t=t||[],ss(t,Xf(G5(a,o,n+1/3)*255),Xf(G5(a,o,n)*255),Xf(G5(a,o,n-1/3)*255),1),e.length===4&&(t[3]=e[3]),t}function _W(e,t){var n=su(e);if(n){for(var r=0;r<3;r++)n[r]=n[r]*(1-t)|0,n[r]>255?n[r]=255:n[r]<0&&(n[r]=0);return M3(n,n.length===4?"rgba":"rgb")}}function tLe(e,t,n){if(!(!(t&&t.length)||!(e>=0&&e<=1))){var r=e*(t.length-1),i=Math.floor(r),o=Math.ceil(r),a=su(t[i]),s=su(t[o]),l=r-i,u=M3([Xf($A(a[0],s[0],l)),Xf($A(a[1],s[1],l)),Xf($A(a[2],s[2],l)),L6($A(a[3],s[3],l))],"rgba");return n?{color:u,leftIndex:i,rightIndex:o,value:r}:u}}function M3(e,t){if(!(!e||!e.length)){var n=e[0]+","+e[1]+","+e[2];return(t==="rgba"||t==="hsva"||t==="hsla")&&(n+=","+e[3]),t+"("+n+")"}}function Jx(e,t){var n=su(e);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*t:0}var OW=new uy(100);function _6(e){if(Qt(e)){var t=OW.get(e);return t||(t=_W(e,-.1),OW.put(e,t)),t}else if(Ek(e)){var n=gt({},e);return n.colorStops=Ot(e.colorStops,function(r){return{offset:r.offset,color:_W(r.color,-.1)}}),n}return e}var $x=Math.round;function u2(e){var t;if(!e||e==="transparent")e="none";else if(typeof e=="string"&&e.indexOf("rgba")>-1){var n=su(e);n&&(e="rgb("+n[0]+","+n[1]+","+n[2]+")",t=n[3])}return{color:e,opacity:t??1}}var kW=1e-4;function wf(e){return e<kW&&e>-kW}function qA(e){return $x(e*1e3)/1e3}function O6(e){return $x(e*1e4)/1e4}function nLe(e){return"matrix("+qA(e[0])+","+qA(e[1])+","+qA(e[2])+","+qA(e[3])+","+O6(e[4])+","+O6(e[5])+")"}var rLe={left:"start",right:"end",center:"middle",middle:"middle"};function iLe(e,t,n){return n==="top"?e+=t/2:n==="bottom"&&(e-=t/2),e}function oLe(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY)}function aLe(e){var t=e.style,n=e.getGlobalScale();return[t.shadowColor,(t.shadowBlur||0).toFixed(2),(t.shadowOffsetX||0).toFixed(2),(t.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}function IJ(e){return e&&!!e.image}function sLe(e){return e&&!!e.svgElement}function Bk(e){return IJ(e)||sLe(e)}function NJ(e){return e.type==="linear"}function FJ(e){return e.type==="radial"}function EJ(e){return e&&(e.type==="linear"||e.type==="radial")}function L3(e){return"url(#"+e+")"}function XJ(e){var t=e.getGlobalScale(),n=Math.max(t[0],t[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function WJ(e){var t=e.x||0,n=e.y||0,r=(e.rotation||0)*Rb,i=sn(e.scaleX,1),o=sn(e.scaleY,1),a=e.skewX||0,s=e.skewY||0,l=[];return(t||n)&&l.push("translate("+t+"px,"+n+"px)"),r&&l.push("rotate("+r+")"),(i!==1||o!==1)&&l.push("scale("+i+","+o+")"),(a||s)&&l.push("skew("+$x(a*Rb)+"deg, "+$x(s*Rb)+"deg)"),l.join(" ")}var lLe=function(){return or.hasGlobalWindow&&An(window.btoa)?function(e){return window.btoa(unescape(encodeURIComponent(e)))}:typeof Buffer<"u"?function(e){return Buffer.from(e).toString("base64")}:function(e){return null}}(),k6=Array.prototype.slice;function Hu(e,t,n){return(t-e)*n+e}function z5(e,t,n,r){for(var i=t.length,o=0;o<i;o++)e[o]=Hu(t[o],n[o],r);return e}function uLe(e,t,n,r){for(var i=t.length,o=i&&t[0].length,a=0;a<i;a++){e[a]||(e[a]=[]);for(var s=0;s<o;s++)e[a][s]=Hu(t[a][s],n[a][s],r)}return e}function eR(e,t,n,r){for(var i=t.length,o=0;o<i;o++)e[o]=t[o]+n[o]*r;return e}function PW(e,t,n,r){for(var i=t.length,o=i&&t[0].length,a=0;a<i;a++){e[a]||(e[a]=[]);for(var s=0;s<o;s++)e[a][s]=t[a][s]+n[a][s]*r}return e}function cLe(e,t){for(var n=e.length,r=t.length,i=n>r?t:e,o=Math.min(n,r),a=i[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(n,r);s++)i.push({offset:a.offset,color:a.color.slice()})}function fLe(e,t,n){var r=e,i=t;if(!(!r.push||!i.push)){var o=r.length,a=i.length;if(o!==a){var s=o>a;if(s)r.length=a;else for(var l=o;l<a;l++)r.push(n===1?i[l]:k6.call(i[l]))}for(var u=r[0]&&r[0].length,l=0;l<r.length;l++)if(n===1)isNaN(r[l])&&(r[l]=i[l]);else for(var c=0;c<u;c++)isNaN(r[l][c])&&(r[l][c]=i[l][c])}}function xb(e){if(fa(e)){var t=e.length;if(fa(e[0])){for(var n=[],r=0;r<t;r++)n.push(k6.call(e[r]));return n}return k6.call(e)}return e}function Sb(e){return e[0]=Math.floor(e[0])||0,e[1]=Math.floor(e[1])||0,e[2]=Math.floor(e[2])||0,e[3]=e[3]==null?1:e[3],"rgba("+e.join(",")+")"}function dLe(e){return fa(e&&e[0])?2:1}var tR=0,wb=1,VJ=2,Tg=3,P6=4,C6=5,CW=6;function IW(e){return e===P6||e===C6}function nR(e){return e===wb||e===VJ}var E1=[0,0,0,0],hLe=function(){function e(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return e.prototype.isFinished=function(){return this._finished},e.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},e.prototype.needsAnimate=function(){return this.keyframes.length>=1},e.prototype.getAdditiveTrack=function(){return this._additiveTrack},e.prototype.addKeyframe=function(t,n,r){this._needsSort=!0;var i=this.keyframes,o=i.length,a=!1,s=CW,l=n;if(fa(n)){var u=dLe(n);s=u,(u===1&&!Ar(n[0])||u===2&&!Ar(n[0][0]))&&(a=!0)}else if(Ar(n)&&!Qx(n))s=tR;else if(Qt(n))if(!isNaN(+n))s=tR;else{var c=su(n);c&&(l=c,s=Tg)}else if(Ek(n)){var f=gt({},l);f.colorStops=Ot(n.colorStops,function(h){return{offset:h.offset,color:su(h.color)}}),NJ(n)?s=P6:FJ(n)&&(s=C6),l=f}o===0?this.valType=s:(s!==this.valType||s===CW)&&(a=!0),this.discrete=this.discrete||a;var d={time:t,value:l,rawValue:n,percent:0};return r&&(d.easing=r,d.easingFunc=An(r)?r:vm[r]||Uk(r)),i.push(d),d},e.prototype.prepare=function(t,n){var r=this.keyframes;this._needsSort&&r.sort(function(v,g){return v.time-g.time});for(var i=this.valType,o=r.length,a=r[o-1],s=this.discrete,l=nR(i),u=IW(i),c=0;c<o;c++){var f=r[c],d=f.value,h=a.value;f.percent=f.time/t,s||(l&&c!==o-1?fLe(d,h,i):u&&cLe(d.colorStops,h.colorStops))}if(!s&&i!==C6&&n&&this.needsAnimate()&&n.needsAnimate()&&i===n.valType&&!n._finished){this._additiveTrack=n;for(var p=r[0].value,c=0;c<o;c++)i===tR?r[c].additiveValue=r[c].value-p:i===Tg?r[c].additiveValue=eR([],r[c].value,p,-1):nR(i)&&(r[c].additiveValue=i===wb?eR([],r[c].value,p,-1):PW([],r[c].value,p,-1))}},e.prototype.step=function(t,n){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var r=this._additiveTrack!=null,i=r?"additiveValue":"value",o=this.valType,a=this.keyframes,s=a.length,l=this.propName,u=o===Tg,c,f=this._lastFr,d=Math.min,h,p;if(s===1)h=p=a[0];else{if(n<0)c=0;else if(n<this._lastFrP){var v=d(f+1,s-1);for(c=v;c>=0&&!(a[c].percent<=n);c--);c=d(c,s-2)}else{for(c=f;c<s&&!(a[c].percent>n);c++);c=d(c-1,s-2)}p=a[c+1],h=a[c]}if(h&&p){this._lastFr=c,this._lastFrP=n;var g=p.percent-h.percent,m=g===0?1:d((n-h.percent)/g,1);p.easingFunc&&(m=p.easingFunc(m));var y=r?this._additiveValue:u?E1:t[l];if((nR(o)||u)&&!y&&(y=this._additiveValue=[]),this.discrete)t[l]=m<1?h.rawValue:p.rawValue;else if(nR(o))o===wb?z5(y,h[i],p[i],m):uLe(y,h[i],p[i],m);else if(IW(o)){var R=h[i],A=p[i],x=o===P6;t[l]={type:x?"linear":"radial",x:Hu(R.x,A.x,m),y:Hu(R.y,A.y,m),colorStops:Ot(R.colorStops,function(_,M){var w=A.colorStops[M];return{offset:Hu(_.offset,w.offset,m),color:Sb(z5([],_.color,w.color,m))}}),global:A.global},x?(t[l].x2=Hu(R.x2,A.x2,m),t[l].y2=Hu(R.y2,A.y2,m)):t[l].r=Hu(R.r,A.r,m)}else if(u)z5(y,h[i],p[i],m),r||(t[l]=Sb(y));else{var S=Hu(h[i],p[i],m);r?this._additiveValue=S:t[l]=S}r&&this._addToTarget(t)}}},e.prototype._addToTarget=function(t){var n=this.valType,r=this.propName,i=this._additiveValue;n===tR?t[r]=t[r]+i:n===Tg?(su(t[r],E1),eR(E1,E1,i,1),t[r]=Sb(E1)):n===wb?eR(t[r],t[r],i,1):n===VJ&&PW(t[r],t[r],i,1)},e}(),Yk=function(){function e(t,n,r,i){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=n,n&&i){mJ("Can' use additive animation on looped animation.");return}this._additiveAnimators=i,this._allowDiscrete=r}return e.prototype.getMaxTime=function(){return this._maxTime},e.prototype.getDelay=function(){return this._delay},e.prototype.getLoop=function(){return this._loop},e.prototype.getTarget=function(){return this._target},e.prototype.changeTarget=function(t){this._target=t},e.prototype.when=function(t,n,r){return this.whenWithKeys(t,n,Dn(n),r)},e.prototype.whenWithKeys=function(t,n,r,i){for(var o=this._tracks,a=0;a<r.length;a++){var s=r[a],l=o[s];if(!l){l=o[s]=new hLe(s);var u=void 0,c=this._getAdditiveTrack(s);if(c){var f=c.keyframes,d=f[f.length-1];u=d&&d.value,c.valType===Tg&&u&&(u=Sb(u))}else u=this._target[s];if(u==null)continue;t>0&&l.addKeyframe(0,xb(u),i),this._trackKeys.push(s)}l.addKeyframe(t,xb(n[s]),i)}return this._maxTime=Math.max(this._maxTime,t),this},e.prototype.pause=function(){this._clip.pause(),this._paused=!0},e.prototype.resume=function(){this._clip.resume(),this._paused=!1},e.prototype.isPaused=function(){return!!this._paused},e.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},e.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var n=t.length,r=0;r<n;r++)t[r].call(this)},e.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,n=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,n)for(var r=0;r<n.length;r++)n[r].call(this)},e.prototype._setTracksFinished=function(){for(var t=this._tracks,n=this._trackKeys,r=0;r<n.length;r++)t[n[r]].setFinished()},e.prototype._getAdditiveTrack=function(t){var n,r=this._additiveAnimators;if(r)for(var i=0;i<r.length;i++){var o=r[i].getTrack(t);o&&(n=o)}return n},e.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var n=this,r=[],i=this._maxTime||0,o=0;o<this._trackKeys.length;o++){var a=this._trackKeys[o],s=this._tracks[a],l=this._getAdditiveTrack(a),u=s.keyframes,c=u.length;if(s.prepare(i,l),s.needsAnimate())if(!this._allowDiscrete&&s.discrete){var f=u[c-1];f&&(n._target[s.propName]=f.rawValue),s.setFinished()}else r.push(s)}if(r.length||this._force){var d=new q5e({life:i,loop:this._loop,delay:this._delay||0,onframe:function(h){n._started=2;var p=n._additiveAnimators;if(p){for(var v=!1,g=0;g<p.length;g++)if(p[g]._clip){v=!0;break}v||(n._additiveAnimators=null)}for(var g=0;g<r.length;g++)r[g].step(n._target,h);var m=n._onframeCbs;if(m)for(var g=0;g<m.length;g++)m[g](n._target,h)},ondestroy:function(){n._doneCallback()}});this._clip=d,this.animation&&this.animation.addClip(d),t&&d.setEasing(t)}else this._doneCallback();return this}},e.prototype.stop=function(t){if(this._clip){var n=this._clip;t&&n.onframe(1),this._abortedCallback()}},e.prototype.delay=function(t){return this._delay=t,this},e.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},e.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},e.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},e.prototype.getClip=function(){return this._clip},e.prototype.getTrack=function(t){return this._tracks[t]},e.prototype.getTracks=function(){var t=this;return Ot(this._trackKeys,function(n){return t._tracks[n]})},e.prototype.stopTracks=function(t,n){if(!t.length||!this._clip)return!0;for(var r=this._tracks,i=this._trackKeys,o=0;o<t.length;o++){var a=r[t[o]];a&&!a.isFinished()&&(n?a.step(this._target,1):this._started===1&&a.step(this._target,0),a.setFinished())}for(var s=!0,o=0;o<i.length;o++)if(!r[i[o]].isFinished()){s=!1;break}return s&&this._abortedCallback(),s},e.prototype.saveTo=function(t,n,r){if(t){n=n||this._trackKeys;for(var i=0;i<n.length;i++){var o=n[i],a=this._tracks[o];if(!(!a||a.isFinished())){var s=a.keyframes,l=s[r?0:s.length-1];l&&(t[o]=xb(l.rawValue))}}}},e.prototype.__changeFinalValue=function(t,n){n=n||Dn(t);for(var r=0;r<n.length;r++){var i=n[r],o=this._tracks[i];if(o){var a=o.keyframes;if(a.length>1){var s=a.pop();o.addKeyframe(s.time,t[i]),o.prepare(this._maxTime,o.getAdditiveTrack())}}}},e}();function Cp(){return new Date().getTime()}var pLe=function(e){St(t,e);function t(n){var r=e.call(this)||this;return r._running=!1,r._time=0,r._pausedTime=0,r._pauseStart=0,r._paused=!1,n=n||{},r.stage=n.stage||{},r}return t.prototype.addClip=function(n){n.animation&&this.removeClip(n),this._head?(this._tail.next=n,n.prev=this._tail,n.next=null,this._tail=n):this._head=this._tail=n,n.animation=this},t.prototype.addAnimator=function(n){n.animation=this;var r=n.getClip();r&&this.addClip(r)},t.prototype.removeClip=function(n){if(n.animation){var r=n.prev,i=n.next;r?r.next=i:this._head=i,i?i.prev=r:this._tail=r,n.next=n.prev=n.animation=null}},t.prototype.removeAnimator=function(n){var r=n.getClip();r&&this.removeClip(r),n.animation=null},t.prototype.update=function(n){for(var r=Cp()-this._pausedTime,i=r-this._time,o=this._head;o;){var a=o.next,s=o.step(r,i);s&&(o.ondestroy(),this.removeClip(o)),o=a}this._time=r,n||(this.trigger("frame",i),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var n=this;this._running=!0;function r(){n._running&&(M6(r),!n._paused&&n.update())}M6(r)},t.prototype.start=function(){this._running||(this._time=Cp(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=Cp(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=Cp()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var n=this._head;n;){var r=n.next;n.prev=n.next=n.animation=null,n=r}this._head=this._tail=null},t.prototype.isFinished=function(){return this._head==null},t.prototype.animate=function(n,r){r=r||{},this.start();var i=new Yk(n,r.loop);return this.addAnimator(i),i},t}(Ac),vLe=300,J5=or.domSupported,$5=function(){var e=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],n={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},r=Ot(e,function(i){var o=i.replace("mouse","pointer");return n.hasOwnProperty(o)?o:i});return{mouse:e,touch:t,pointer:r}}(),NW={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},FW=!1;function I6(e){var t=e.pointerType;return t==="pen"||t==="touch"}function gLe(e){e.touching=!0,e.touchTimer!=null&&(clearTimeout(e.touchTimer),e.touchTimer=null),e.touchTimer=setTimeout(function(){e.touching=!1,e.touchTimer=null},700)}function j5(e){e&&(e.zrByTouch=!0)}function mLe(e,t){return $s(e.dom,new yLe(e,t),!0)}function DJ(e,t){for(var n=t,r=!1;n&&n.nodeType!==9&&!(r=n.domBelongToZr||n!==t&&n===e.painterRoot);)n=n.parentNode;return r}var yLe=function(){function e(t,n){this.stopPropagation=Ba,this.stopImmediatePropagation=Ba,this.preventDefault=Ba,this.type=n.type,this.target=this.currentTarget=t.dom,this.pointerType=n.pointerType,this.clientX=n.clientX,this.clientY=n.clientY}return e}(),js={mousedown:function(e){e=$s(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=$s(this.dom,e);var t=this.__mayPointerCapture;t&&(e.zrX!==t[0]||e.zrY!==t[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",e)},mouseup:function(e){e=$s(this.dom,e),this.__togglePointerCapture(!1),this.trigger("mouseup",e)},mouseout:function(e){e=$s(this.dom,e);var t=e.toElement||e.relatedTarget;DJ(this,t)||(this.__pointerCapturing&&(e.zrEventControl="no_globalout"),this.trigger("mouseout",e))},wheel:function(e){FW=!0,e=$s(this.dom,e),this.trigger("mousewheel",e)},mousewheel:function(e){FW||(e=$s(this.dom,e),this.trigger("mousewheel",e))},touchstart:function(e){e=$s(this.dom,e),j5(e),this.__lastTouchMoment=new Date,this.handler.processGesture(e,"start"),js.mousemove.call(this,e),js.mousedown.call(this,e)},touchmove:function(e){e=$s(this.dom,e),j5(e),this.handler.processGesture(e,"change"),js.mousemove.call(this,e)},touchend:function(e){e=$s(this.dom,e),j5(e),this.handler.processGesture(e,"end"),js.mouseup.call(this,e),+new Date-+this.__lastTouchMoment<vLe&&js.click.call(this,e)},pointerdown:function(e){js.mousedown.call(this,e)},pointermove:function(e){I6(e)||js.mousemove.call(this,e)},pointerup:function(e){js.mouseup.call(this,e)},pointerout:function(e){I6(e)||js.mouseout.call(this,e)}};Pe(["click","dblclick","contextmenu"],function(e){js[e]=function(t){t=$s(this.dom,t),this.trigger(e,t)}});var N6={pointermove:function(e){I6(e)||N6.mousemove.call(this,e)},pointerup:function(e){N6.mouseup.call(this,e)},mousemove:function(e){this.trigger("mousemove",e)},mouseup:function(e){var t=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",e),t&&(e.zrEventControl="only_globalout",this.trigger("mouseout",e))}};function ALe(e,t){var n=t.domHandlers;or.pointerEventsSupported?Pe($5.pointer,function(r){Mb(t,r,function(i){n[r].call(e,i)})}):(or.touchEventsSupported&&Pe($5.touch,function(r){Mb(t,r,function(i){n[r].call(e,i),gLe(t)})}),Pe($5.mouse,function(r){Mb(t,r,function(i){i=Wk(i),t.touching||n[r].call(e,i)})}))}function RLe(e,t){or.pointerEventsSupported?Pe(NW.pointer,n):or.touchEventsSupported||Pe(NW.mouse,n);function n(r){function i(o){o=Wk(o),DJ(e,o.target)||(o=mLe(e,o),t.domHandlers[r].call(e,o))}Mb(t,r,i,{capture:!0})}}function Mb(e,t,n,r){e.mounted[t]=n,e.listenerOpts[t]=r,P5e(e.domTarget,t,n,r)}function q5(e){var t=e.mounted;for(var n in t)t.hasOwnProperty(n)&&C5e(e.domTarget,n,t[n],e.listenerOpts[n]);e.mounted={}}var EW=function(){function e(t,n){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=n}return e}(),bLe=function(e){St(t,e);function t(n,r){var i=e.call(this)||this;return i.__pointerCapturing=!1,i.dom=n,i.painterRoot=r,i._localHandlerScope=new EW(n,js),J5&&(i._globalHandlerScope=new EW(document,N6)),ALe(i,i._localHandlerScope),i}return t.prototype.dispose=function(){q5(this._localHandlerScope),J5&&q5(this._globalHandlerScope)},t.prototype.setCursor=function(n){this.dom.style&&(this.dom.style.cursor=n||"default")},t.prototype.__togglePointerCapture=function(n){if(this.__mayPointerCapture=null,J5&&+this.__pointerCapturing^+n){this.__pointerCapturing=n;var r=this._globalHandlerScope;n?RLe(this,r):q5(r)}},t}(Ac),UJ=1;or.hasGlobalWindow&&(UJ=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var XW=UJ,F6=.4,E6="#333",X6="#ccc",xLe="#eee",WW=Vk,VW=5e-5;function Nd(e){return e>VW||e<-VW}var Fd=[],Q0=[],eL=pm(),tL=Math.abs,Zk=function(){function e(){}return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},e.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},e.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},e.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},e.prototype.needLocalTransform=function(){return Nd(this.rotation)||Nd(this.x)||Nd(this.y)||Nd(this.scaleX-1)||Nd(this.scaleY-1)||Nd(this.skewX)||Nd(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,n=this.needLocalTransform(),r=this.transform;if(!(n||t)){r&&(WW(r),this.invTransform=null);return}r=r||pm(),n?this.getLocalTransform(r):WW(r),t&&(n?ov(r,t,r):E5e(r,t)),this.transform=r,this._resolveGlobalScaleRatio(r)},e.prototype._resolveGlobalScaleRatio=function(t){var n=this.globalScaleRatio;if(n!=null&&n!==1){this.getGlobalScale(Fd);var r=Fd[0]<0?-1:1,i=Fd[1]<0?-1:1,o=((Fd[0]-r)*n+r)/Fd[0]||0,a=((Fd[1]-i)*n+i)/Fd[1]||0;t[0]*=o,t[1]*=o,t[2]*=a,t[3]*=a}this.invTransform=this.invTransform||pm(),Dk(this.invTransform,t)},e.prototype.getComputedTransform=function(){for(var t=this,n=[];t;)n.push(t),t=t.parent;for(;t=n.pop();)t.updateTransform();return this.transform},e.prototype.setLocalTransform=function(t){if(t){var n=t[0]*t[0]+t[1]*t[1],r=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),o=Math.PI/2+i-Math.atan2(t[3],t[2]);r=Math.sqrt(r)*Math.cos(o),n=Math.sqrt(n),this.skewX=o,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=n,this.scaleY=r,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,n=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||pm(),ov(Q0,t.invTransform,n),n=Q0);var r=this.originX,i=this.originY;(r||i)&&(eL[4]=r,eL[5]=i,ov(Q0,n,eL),Q0[4]-=r,Q0[5]-=i,n=Q0),this.setLocalTransform(n)}},e.prototype.getGlobalScale=function(t){var n=this.transform;return t=t||[],n?(t[0]=Math.sqrt(n[0]*n[0]+n[1]*n[1]),t[1]=Math.sqrt(n[2]*n[2]+n[3]*n[3]),n[0]<0&&(t[0]=-t[0]),n[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},e.prototype.transformCoordToLocal=function(t,n){var r=[t,n],i=this.invTransform;return i&&Ms(r,r,i),r},e.prototype.transformCoordToGlobal=function(t,n){var r=[t,n],i=this.transform;return i&&Ms(r,r,i),r},e.prototype.getLineScale=function(){var t=this.transform;return t&&tL(t[0]-1)>1e-10&&tL(t[3]-1)>1e-10?Math.sqrt(tL(t[0]*t[3]-t[2]*t[1])):1},e.prototype.copyTransform=function(t){BJ(this,t)},e.getLocalTransform=function(t,n){n=n||[];var r=t.originX||0,i=t.originY||0,o=t.scaleX,a=t.scaleY,s=t.anchorX,l=t.anchorY,u=t.rotation||0,c=t.x,f=t.y,d=t.skewX?Math.tan(t.skewX):0,h=t.skewY?Math.tan(-t.skewY):0;if(r||i||s||l){var p=r+s,v=i+l;n[4]=-p*o-d*v*a,n[5]=-v*a-h*p*o}else n[4]=n[5]=0;return n[0]=o,n[3]=a,n[1]=h*o,n[2]=d*a,u&&xJ(n,n,u),n[4]+=r+c,n[5]+=i+f,n},e.initDefaultProps=function(){var t=e.prototype;t.scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0}(),e}(),c2=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function BJ(e,t){for(var n=0;n<c2.length;n++){var r=c2[n];e[r]=t[r]}}var DW={};function Ya(e,t){t=t||Gf;var n=DW[t];n||(n=DW[t]=new uy(500));var r=n.get(e);return r==null&&(r=sy.measureText(e,t).width,n.put(e,r)),r}function UW(e,t,n,r){var i=Ya(e,t),o=T3(t),a=_g(0,i,n),s=xp(0,o,r),l=new dr(a,s,i,o);return l}function YJ(e,t,n,r){var i=((e||"")+"").split(`
|
||
`),o=i.length;if(o===1)return UW(i[0],t,n,r);for(var a=new dr(0,0,0,0),s=0;s<i.length;s++){var l=UW(i[s],t,n,r);s===0?a.copy(l):a.union(l)}return a}function _g(e,t,n){return n==="right"?e-=t:n==="center"&&(e-=t/2),e}function xp(e,t,n){return n==="middle"?e-=t/2:n==="bottom"&&(e-=t),e}function T3(e){return Ya("国",e)}function Jf(e,t){return typeof e=="string"?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function jx(e,t,n){var r=t.position||"inside",i=t.distance!=null?t.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,c="left",f="top";if(r instanceof Array)l+=Jf(r[0],n.width),u+=Jf(r[1],n.height),c=null,f=null;else switch(r){case"left":l-=i,u+=s,c="right",f="middle";break;case"right":l+=i+a,u+=s,f="middle";break;case"top":l+=a/2,u-=i,c="center",f="bottom";break;case"bottom":l+=a/2,u+=o+i,c="center";break;case"inside":l+=a/2,u+=s,c="center",f="middle";break;case"insideLeft":l+=i,u+=s,f="middle";break;case"insideRight":l+=a-i,u+=s,c="right",f="middle";break;case"insideTop":l+=a/2,u+=i,c="center";break;case"insideBottom":l+=a/2,u+=o-i,c="center",f="bottom";break;case"insideTopLeft":l+=i,u+=i;break;case"insideTopRight":l+=a-i,u+=i,c="right";break;case"insideBottomLeft":l+=i,u+=o-i,f="bottom";break;case"insideBottomRight":l+=a-i,u+=o-i,c="right",f="bottom";break}return e=e||{},e.x=l,e.y=u,e.align=c,e.verticalAlign=f,e}var nL="__zr_normal__",rL=c2.concat(["ignore"]),SLe=zf(c2,function(e,t){return e[t]=!0,e},{ignore:!1}),H0={},wLe=new dr(0,0,0,0),_3=function(){function e(t){this.id=gJ(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return e.prototype._init=function(t){this.attr(t)},e.prototype.drift=function(t,n,r){switch(this.draggable){case"horizontal":n=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=n,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(t){var n=this._textContent;if(n&&(!n.ignore||t)){this.textConfig||(this.textConfig={});var r=this.textConfig,i=r.local,o=n.innerTransformable,a=void 0,s=void 0,l=!1;o.parent=i?this:null;var u=!1;if(o.copyTransform(n),r.position!=null){var c=wLe;r.layoutRect?c.copy(r.layoutRect):c.copy(this.getBoundingRect()),i||c.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(H0,r,c):jx(H0,r,c),o.x=H0.x,o.y=H0.y,a=H0.align,s=H0.verticalAlign;var f=r.origin;if(f&&r.rotation!=null){var d=void 0,h=void 0;f==="center"?(d=c.width*.5,h=c.height*.5):(d=Jf(f[0],c.width),h=Jf(f[1],c.height)),u=!0,o.originX=-o.x+d+(i?0:c.x),o.originY=-o.y+h+(i?0:c.y)}}r.rotation!=null&&(o.rotation=r.rotation);var p=r.offset;p&&(o.x+=p[0],o.y+=p[1],u||(o.originX=-p[0],o.originY=-p[1]));var v=r.inside==null?typeof r.position=="string"&&r.position.indexOf("inside")>=0:r.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),m=void 0,y=void 0,R=void 0;v&&this.canBeInsideText()?(m=r.insideFill,y=r.insideStroke,(m==null||m==="auto")&&(m=this.getInsideTextFill()),(y==null||y==="auto")&&(y=this.getInsideTextStroke(m),R=!0)):(m=r.outsideFill,y=r.outsideStroke,(m==null||m==="auto")&&(m=this.getOutsideFill()),(y==null||y==="auto")&&(y=this.getOutsideStroke(m),R=!0)),m=m||"#000",(m!==g.fill||y!==g.stroke||R!==g.autoStroke||a!==g.align||s!==g.verticalAlign)&&(l=!0,g.fill=m,g.stroke=y,g.autoStroke=R,g.align=a,g.verticalAlign=s,n.setDefaultTextStyle(g)),n.__dirty|=Jl,l&&n.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(t){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?X6:E6},e.prototype.getOutsideStroke=function(t){var n=this.__zr&&this.__zr.getBackgroundColor(),r=typeof n=="string"&&su(n);r||(r=[255,255,255,1]);for(var i=r[3],o=this.__zr.isDarkMode(),a=0;a<3;a++)r[a]=r[a]*i+(o?0:255)*(1-i);return r[3]=1,M3(r,"rgba")},e.prototype.traverse=function(t,n){},e.prototype.attrKV=function(t,n){t==="textConfig"?this.setTextConfig(n):t==="textContent"?this.setTextContent(n):t==="clipPath"?this.setClipPath(n):t==="extra"?(this.extra=this.extra||{},gt(this.extra,n)):this[t]=n},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(t,n){if(typeof t=="string")this.attrKV(t,n);else if(rn(t))for(var r=t,i=Dn(r),o=0;o<i.length;o++){var a=i[o];this.attrKV(a,t[a])}return this.markRedraw(),this},e.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var n=this._normalState,r=0;r<this.animators.length;r++){var i=this.animators[r],o=i.__fromStateTransition;if(!(i.getLoop()||o&&o!==nL)){var a=i.targetName,s=a?n[a]:n;i.saveTo(s)}}},e.prototype._innerSaveToNormal=function(t){var n=this._normalState;n||(n=this._normalState={}),t.textConfig&&!n.textConfig&&(n.textConfig=this.textConfig),this._savePrimaryToNormal(t,n,rL)},e.prototype._savePrimaryToNormal=function(t,n,r){for(var i=0;i<r.length;i++){var o=r[i];t[o]!=null&&!(o in n)&&(n[o]=this[o])}},e.prototype.hasState=function(){return this.currentStates.length>0},e.prototype.getState=function(t){return this.states[t]},e.prototype.ensureState=function(t){var n=this.states;return n[t]||(n[t]={}),n[t]},e.prototype.clearStates=function(t){this.useState(nL,!1,t)},e.prototype.useState=function(t,n,r,i){var o=t===nL,a=this.hasState();if(!(!a&&o)){var s=this.currentStates,l=this.stateTransition;if(!(Sr(s,t)>=0&&(n||s.length===1))){var u;if(this.stateProxy&&!o&&(u=this.stateProxy(t)),u||(u=this.states&&this.states[t]),!u&&!o){mJ("State "+t+" not exists.");return}o||this.saveCurrentToNormalState(u);var c=!!(u&&u.hoverLayer||i);c&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,u,this._normalState,n,!r&&!this.__inHover&&l&&l.duration>0,l);var f=this._textContent,d=this._textGuide;return f&&f.useState(t,n,r,c),d&&d.useState(t,n,r,c),o?(this.currentStates=[],this._normalState={}):n?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Jl),u}}},e.prototype.useStates=function(t,n,r){if(!t.length)this.clearStates();else{var i=[],o=this.currentStates,a=t.length,s=a===o.length;if(s){for(var l=0;l<a;l++)if(t[l]!==o[l]){s=!1;break}}if(s)return;for(var l=0;l<a;l++){var u=t[l],c=void 0;this.stateProxy&&(c=this.stateProxy(u,t)),c||(c=this.states[u]),c&&i.push(c)}var f=i[a-1],d=!!(f&&f.hoverLayer||r);d&&this._toggleHoverLayerFlag(!0);var h=this._mergeStates(i),p=this.stateTransition;this.saveCurrentToNormalState(h),this._applyStateObj(t.join(","),h,this._normalState,!1,!n&&!this.__inHover&&p&&p.duration>0,p);var v=this._textContent,g=this._textGuide;v&&v.useStates(t,n,d),g&&g.useStates(t,n,d),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!d&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Jl)}},e.prototype.isSilent=function(){for(var t=this.silent,n=this.parent;!t&&n;){if(n.silent){t=!0;break}n=n.parent}return t},e.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var n=this.animators[t];n.targetName&&n.changeTarget(this[n.targetName])}},e.prototype.removeState=function(t){var n=Sr(this.currentStates,t);if(n>=0){var r=this.currentStates.slice();r.splice(n,1),this.useStates(r)}},e.prototype.replaceState=function(t,n,r){var i=this.currentStates.slice(),o=Sr(i,t),a=Sr(i,n)>=0;o>=0?a?i.splice(o,1):i[o]=n:r&&!a&&i.push(n),this.useStates(i)},e.prototype.toggleState=function(t,n){n?this.useState(t,!0):this.removeState(t)},e.prototype._mergeStates=function(t){for(var n={},r,i=0;i<t.length;i++){var o=t[i];gt(n,o),o.textConfig&&(r=r||{},gt(r,o.textConfig))}return r&&(n.textConfig=r),n},e.prototype._applyStateObj=function(t,n,r,i,o,a){var s=!(n&&i);n&&n.textConfig?(this.textConfig=gt({},i?this.textConfig:r.textConfig),gt(this.textConfig,n.textConfig)):s&&r.textConfig&&(this.textConfig=r.textConfig);for(var l={},u=!1,c=0;c<rL.length;c++){var f=rL[c],d=o&&SLe[f];n&&n[f]!=null?d?(u=!0,l[f]=n[f]):this[f]=n[f]:s&&r[f]!=null&&(d?(u=!0,l[f]=r[f]):this[f]=r[f])}if(!o)for(var c=0;c<this.animators.length;c++){var h=this.animators[c],p=h.targetName;h.getLoop()||h.__changeFinalValue(p?(n||r)[p]:n||r)}u&&this._transitionState(t,l,a)},e.prototype._attachComponent=function(t){if(!(t.__zr&&!t.__hostTarget)&&t!==this){var n=this.__zr;n&&t.addSelfToZr(n),t.__zr=n,t.__hostTarget=this}},e.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},e.prototype.getClipPath=function(){return this._clipPath},e.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},e.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},e.prototype.getTextContent=function(){return this._textContent},e.prototype.setTextContent=function(t){var n=this._textContent;n!==t&&(n&&n!==t&&this.removeTextContent(),t.innerTransformable=new Zk,this._attachComponent(t),this._textContent=t,this.markRedraw())},e.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),gt(this.textConfig,t),this.markRedraw()},e.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},e.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},e.prototype.getTextGuideLine=function(){return this._textGuide},e.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},e.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},e.prototype.markRedraw=function(){this.__dirty|=Jl;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},e.prototype.dirty=function(){this.markRedraw()},e.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var n=this._textContent,r=this._textGuide;n&&(n.__inHover=t),r&&(r.__inHover=t)},e.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var n=this.animators;if(n)for(var r=0;r<n.length;r++)t.animation.addAnimator(n[r]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},e.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var n=this.animators;if(n)for(var r=0;r<n.length;r++)t.animation.removeAnimator(n[r]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},e.prototype.animate=function(t,n,r){var i=t?this[t]:this,o=new Yk(i,n,r);return t&&(o.targetName=t),this.addAnimator(o,t),o},e.prototype.addAnimator=function(t,n){var r=this.__zr,i=this;t.during(function(){i.updateDuringAnimation(n)}).done(function(){var o=i.animators,a=Sr(o,t);a>=0&&o.splice(a,1)}),this.animators.push(t),r&&r.animation.addAnimator(t),r&&r.wakeUp()},e.prototype.updateDuringAnimation=function(t){this.markRedraw()},e.prototype.stopAnimation=function(t,n){for(var r=this.animators,i=r.length,o=[],a=0;a<i;a++){var s=r[a];!t||t===s.scope?s.stop(n):o.push(s)}return this.animators=o,this},e.prototype.animateTo=function(t,n,r){iL(this,t,n,r)},e.prototype.animateFrom=function(t,n,r){iL(this,t,n,r,!0)},e.prototype._transitionState=function(t,n,r,i){for(var o=iL(this,n,r,i),a=0;a<o.length;a++)o[a].__fromStateTransition=t},e.prototype.getBoundingRect=function(){return null},e.prototype.getPaintRect=function(){return null},e.initDefaultProps=function(){var t=e.prototype;t.type="element",t.name="",t.ignore=t.silent=t.isGroup=t.draggable=t.dragging=t.ignoreClip=t.__inHover=!1,t.__dirty=Jl;function n(r,i,o,a){Object.defineProperty(t,r,{get:function(){if(!this[i]){var l=this[i]=[];s(this,l)}return this[i]},set:function(l){this[o]=l[0],this[a]=l[1],this[i]=l,s(this,l)}});function s(l,u){Object.defineProperty(u,0,{get:function(){return l[o]},set:function(c){l[o]=c}}),Object.defineProperty(u,1,{get:function(){return l[a]},set:function(c){l[a]=c}})}}Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),e}();yl(_3,Ac);yl(_3,Zk);function iL(e,t,n,r,i){n=n||{};var o=[];ZJ(e,"",e,t,n,r,o,i);var a=o.length,s=!1,l=n.done,u=n.aborted,c=function(){s=!0,a--,a<=0&&(s?l&&l():u&&u())},f=function(){a--,a<=0&&(s?l&&l():u&&u())};a||l&&l(),o.length>0&&n.during&&o[0].during(function(p,v){n.during(v)});for(var d=0;d<o.length;d++){var h=o[d];c&&h.done(c),f&&h.aborted(f),n.force&&h.duration(n.duration),h.start(n.easing)}return o}function oL(e,t,n){for(var r=0;r<n;r++)e[r]=t[r]}function MLe(e){return fa(e[0])}function LLe(e,t,n){if(fa(t[n]))if(fa(e[n])||(e[n]=[]),da(t[n])){var r=t[n].length;e[n].length!==r&&(e[n]=new t[n].constructor(r),oL(e[n],t[n],r))}else{var i=t[n],o=e[n],a=i.length;if(MLe(i))for(var s=i[0].length,l=0;l<a;l++)o[l]?oL(o[l],i[l],s):o[l]=Array.prototype.slice.call(i[l]);else oL(o,i,a);o.length=i.length}else e[n]=t[n]}function TLe(e,t){return e===t||fa(e)&&fa(t)&&_Le(e,t)}function _Le(e,t){var n=e.length;if(n!==t.length)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}function ZJ(e,t,n,r,i,o,a,s){for(var l=Dn(r),u=i.duration,c=i.delay,f=i.additive,d=i.setToFinal,h=!rn(o),p=e.animators,v=[],g=0;g<l.length;g++){var m=l[g],y=r[m];if(y!=null&&n[m]!=null&&(h||o[m]))if(rn(y)&&!fa(y)&&!Ek(y)){if(t){s||(n[m]=y,e.updateDuringAnimation(t));continue}ZJ(e,m,n[m],y,i,o&&o[m],a,s)}else v.push(m);else s||(n[m]=y,e.updateDuringAnimation(t),v.push(m))}var R=v.length;if(!f&&R)for(var A=0;A<p.length;A++){var x=p[A];if(x.targetName===t){var S=x.stopTracks(v);if(S){var _=Sr(p,x);p.splice(_,1)}}}if(i.force||(v=ao(v,function(k){return!TLe(r[k],n[k])}),R=v.length),R>0||i.force&&!a.length){var M=void 0,w=void 0,L=void 0;if(s){w={},d&&(M={});for(var A=0;A<R;A++){var m=v[A];w[m]=n[m],d?M[m]=r[m]:n[m]=r[m]}}else if(d){L={};for(var A=0;A<R;A++){var m=v[A];L[m]=xb(n[m]),LLe(n,r,m)}}var x=new Yk(n,!1,!1,f?ao(p,function(P){return P.targetName===t}):null);x.targetName=t,i.scope&&(x.scope=i.scope),d&&M&&x.whenWithKeys(0,M,v),L&&x.whenWithKeys(0,L,v),x.whenWithKeys(u??500,s?w:r,v).delay(c||0),e.addAnimator(x,t),a.push(x)}}var Ai=function(e){St(t,e);function t(n){var r=e.call(this)||this;return r.isGroup=!0,r._children=[],r.attr(n),r}return t.prototype.childrenRef=function(){return this._children},t.prototype.children=function(){return this._children.slice()},t.prototype.childAt=function(n){return this._children[n]},t.prototype.childOfName=function(n){for(var r=this._children,i=0;i<r.length;i++)if(r[i].name===n)return r[i]},t.prototype.childCount=function(){return this._children.length},t.prototype.add=function(n){return n&&n!==this&&n.parent!==this&&(this._children.push(n),this._doAdd(n)),this},t.prototype.addBefore=function(n,r){if(n&&n!==this&&n.parent!==this&&r&&r.parent===this){var i=this._children,o=i.indexOf(r);o>=0&&(i.splice(o,0,n),this._doAdd(n))}return this},t.prototype.replace=function(n,r){var i=Sr(this._children,n);return i>=0&&this.replaceAt(r,i),this},t.prototype.replaceAt=function(n,r){var i=this._children,o=i[r];if(n&&n!==this&&n.parent!==this&&n!==o){i[r]=n,o.parent=null;var a=this.__zr;a&&o.removeSelfFromZr(a),this._doAdd(n)}return this},t.prototype._doAdd=function(n){n.parent&&n.parent.remove(n),n.parent=this;var r=this.__zr;r&&r!==n.__zr&&n.addSelfToZr(r),r&&r.refresh()},t.prototype.remove=function(n){var r=this.__zr,i=this._children,o=Sr(i,n);return o<0?this:(i.splice(o,1),n.parent=null,r&&n.removeSelfFromZr(r),r&&r.refresh(),this)},t.prototype.removeAll=function(){for(var n=this._children,r=this.__zr,i=0;i<n.length;i++){var o=n[i];r&&o.removeSelfFromZr(r),o.parent=null}return n.length=0,this},t.prototype.eachChild=function(n,r){for(var i=this._children,o=0;o<i.length;o++){var a=i[o];n.call(r,a,o)}return this},t.prototype.traverse=function(n,r){for(var i=0;i<this._children.length;i++){var o=this._children[i],a=n.call(r,o);o.isGroup&&!a&&o.traverse(n,r)}return this},t.prototype.addSelfToZr=function(n){e.prototype.addSelfToZr.call(this,n);for(var r=0;r<this._children.length;r++){var i=this._children[r];i.addSelfToZr(n)}},t.prototype.removeSelfFromZr=function(n){e.prototype.removeSelfFromZr.call(this,n);for(var r=0;r<this._children.length;r++){var i=this._children[r];i.removeSelfFromZr(n)}},t.prototype.getBoundingRect=function(n){for(var r=new dr(0,0,0,0),i=n||this._children,o=[],a=null,s=0;s<i.length;s++){var l=i[s];if(!(l.ignore||l.invisible)){var u=l.getBoundingRect(),c=l.getLocalTransform(o);c?(dr.applyTransform(r,u,c),a=a||r.clone(),a.union(r)):(a=a||u.clone(),a.union(u))}}return a||r},t}(_3);Ai.prototype.type="group";/*!
|
||
* ZRender, a high performance 2d drawing library.
|
||
*
|
||
* Copyright (c) 2013, Baidu Inc.
|
||
* All rights reserved.
|
||
*
|
||
* LICENSE
|
||
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
|
||
*/var Lb={},QJ={};function OLe(e){delete QJ[e]}function kLe(e){if(!e)return!1;if(typeof e=="string")return Jx(e,1)<F6;if(e.colorStops){for(var t=e.colorStops,n=0,r=t.length,i=0;i<r;i++)n+=Jx(t[i].color,1);return n/=r,n<F6}return!1}var PLe=function(){function e(t,n,r){var i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,r=r||{},this.dom=n,this.id=t;var o=new H5e,a=r.renderer||"canvas";Lb[a]||(a=Dn(Lb)[0]),r.useDirtyRect=r.useDirtyRect==null?!1:r.useDirtyRect;var s=new Lb[a](n,o,r,t),l=r.ssr||s.ssrOnly;this.storage=o,this.painter=s;var u=!or.node&&!or.worker&&!l?new bLe(s.getViewportRoot(),s.root):null,c=r.useCoarsePointer,f=c==null||c==="auto"?or.touchEventsSupported:!!c,d=44,h;f&&(h=sn(r.pointerSize,d)),this.handler=new wJ(o,s,u,s.root,h),this.animation=new pLe({stage:{update:l?null:function(){return i._flush(!0)}}}),l||this.animation.start()}return e.prototype.add=function(t){this._disposed||!t||(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},e.prototype.remove=function(t){this._disposed||!t||(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},e.prototype.configLayer=function(t,n){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,n),this.refresh())},e.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=kLe(t))},e.prototype.getBackgroundColor=function(){return this._backgroundColor},e.prototype.setDarkMode=function(t){this._darkMode=t},e.prototype.isDarkMode=function(){return this._darkMode},e.prototype.refreshImmediately=function(t){this._disposed||(t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},e.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},e.prototype.flush=function(){this._disposed||this._flush(!1)},e.prototype._flush=function(t){var n,r=Cp();this._needsRefresh&&(n=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(n=!0,this.refreshHoverImmediately());var i=Cp();n?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-r})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},e.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},e.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},e.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},e.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},e.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},e.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},e.prototype.findHover=function(t,n){if(!this._disposed)return this.handler.findHover(t,n)},e.prototype.on=function(t,n,r){return this._disposed||this.handler.on(t,n,r),this},e.prototype.off=function(t,n){this._disposed||this.handler.off(t,n)},e.prototype.trigger=function(t,n){this._disposed||this.handler.trigger(t,n)},e.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),n=0;n<t.length;n++)t[n]instanceof Ai&&t[n].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},e.prototype.dispose=function(){this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,OLe(this.id))},e}();function BW(e,t){var n=new PLe(gJ(),e,t);return QJ[n.id]=n,n}function CLe(e,t){Lb[e]=t}var W6;function ILe(e){if(typeof W6=="function")return W6(e)}function NLe(e){W6=e}var YW=1e-4,HJ=20;function FLe(e){return e.replace(/^\s+|\s+$/g,"")}function V6(e,t,n,r){var i=t[0],o=t[1],a=n[0],s=n[1],l=o-i,u=s-a;if(l===0)return u===0?a:(a+s)/2;if(r)if(l>0){if(e<=i)return a;if(e>=o)return s}else{if(e>=i)return a;if(e<=o)return s}else{if(e===i)return a;if(e===o)return s}return(e-i)/l*u+a}function mr(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%";break}return Qt(e)?FLe(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):e==null?NaN:+e}function ui(e,t,n){return t==null&&(t=10),t=Math.min(Math.max(0,t),HJ),e=(+e).toFixed(t),n?e:+e}function tc(e){if(e=+e,isNaN(e))return 0;if(e>1e-14){for(var t=1,n=0;n<15;n++,t*=10)if(Math.round(e*t)/t===e)return n}return ELe(e)}function ELe(e){var t=e.toString().toLowerCase(),n=t.indexOf("e"),r=n>0?+t.slice(n+1):0,i=n>0?n:t.length,o=t.indexOf("."),a=o<0?0:i-1-o;return Math.max(0,a-r)}function XLe(e,t){var n=Math.log,r=Math.LN10,i=Math.floor(n(e[1]-e[0])/r),o=Math.round(n(Math.abs(t[1]-t[0]))/r),a=Math.min(Math.max(-i+o,0),20);return isFinite(a)?a:20}function WLe(e,t){var n=zf(e,function(h,p){return h+(isNaN(p)?0:p)},0);if(n===0)return[];for(var r=Math.pow(10,t),i=Ot(e,function(h){return(isNaN(h)?0:h)/n*r*100}),o=r*100,a=Ot(i,function(h){return Math.floor(h)}),s=zf(a,function(h,p){return h+p},0),l=Ot(i,function(h,p){return h-a[p]});s<o;){for(var u=Number.NEGATIVE_INFINITY,c=null,f=0,d=l.length;f<d;++f)l[f]>u&&(u=l[f],c=f);++a[c],l[c]=0,++s}return Ot(a,function(h){return h/r})}function VLe(e,t){var n=Math.max(tc(e),tc(t)),r=e+t;return n>HJ?r:ui(r,n)}function KJ(e){var t=Math.PI*2;return(e%t+t)%t}function qx(e){return e>-YW&&e<YW}var DLe=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function $f(e){if(e instanceof Date)return e;if(Qt(e)){var t=DLe.exec(e);if(!t)return new Date(NaN);if(t[8]){var n=+t[4]||0;return t[8].toUpperCase()!=="Z"&&(n-=+t[8].slice(0,3)),new Date(Date.UTC(+t[1],+(t[2]||1)-1,+t[3]||1,n,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0))}else return new Date(+t[1],+(t[2]||1)-1,+t[3]||1,+t[4]||0,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0)}else if(e==null)return new Date(NaN);return new Date(Math.round(e))}function ULe(e){return Math.pow(10,Qk(e))}function Qk(e){if(e===0)return 0;var t=Math.floor(Math.log(e)/Math.LN10);return e/Math.pow(10,t)>=10&&t++,t}function GJ(e,t){var n=Qk(e),r=Math.pow(10,n),i=e/r,o;return i<1.5?o=1:i<2.5?o=2:i<4?o=3:i<7?o=5:o=10,e=o*r,n>=-20?+e.toFixed(n<0?-n:0):e}function BLe(e){var t=parseFloat(e);return t==e&&(t!==0||!Qt(e)||e.indexOf("x")<=0)?t:NaN}function YLe(e){return!isNaN(BLe(e))}function ZLe(){return Math.round(Math.random()*9)}function zJ(e,t){return t===0?e:zJ(t,e%t)}function ZW(e,t){return e==null?t:t==null?e:e*t/zJ(e,t)}function Ia(e){throw new Error(e)}function QW(e,t,n){return(t-e)*n+e}var JJ="series\0",QLe="\0_ec_\0";function Co(e){return e instanceof Array?e:e==null?[]:[e]}function D6(e,t,n){if(e){e[t]=e[t]||{},e.emphasis=e.emphasis||{},e.emphasis[t]=e.emphasis[t]||{};for(var r=0,i=n.length;r<i;r++){var o=n[r];!e.emphasis[t].hasOwnProperty(o)&&e[t].hasOwnProperty(o)&&(e.emphasis[t][o]=e[t][o])}}}var HW=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function cy(e){return rn(e)&&!It(e)&&!(e instanceof Date)?e.value:e}function HLe(e){return rn(e)&&!(e instanceof Array)}function KLe(e,t,n){var r=n==="normalMerge",i=n==="replaceMerge",o=n==="replaceAll";e=e||[],t=(t||[]).slice();var a=xn();Pe(t,function(l,u){if(!rn(l)){t[u]=null;return}});var s=GLe(e,a,n);return(r||i)&&zLe(s,e,a,t),r&&JLe(s,t),r||i?$Le(s,t,i):o&&jLe(s,t),qLe(s),s}function GLe(e,t,n){var r=[];if(n==="replaceAll")return r;for(var i=0;i<e.length;i++){var o=e[i];o&&o.id!=null&&t.set(o.id,i),r.push({existing:n==="replaceMerge"||f2(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return r}function zLe(e,t,n,r){Pe(r,function(i,o){if(!(!i||i.id==null)){var a=mm(i.id),s=n.get(a);if(s!=null){var l=e[s];gu(!l.newOption,'Duplicated option on id "'+a+'".'),l.newOption=i,l.existing=t[s],r[o]=null}}})}function JLe(e,t){Pe(t,function(n,r){if(!(!n||n.name==null))for(var i=0;i<e.length;i++){var o=e[i].existing;if(!e[i].newOption&&o&&(o.id==null||n.id==null)&&!f2(n)&&!f2(o)&&$J("name",o,n)){e[i].newOption=n,t[r]=null;return}}})}function $Le(e,t,n){Pe(t,function(r){if(r){for(var i,o=0;(i=e[o])&&(i.newOption||f2(i.existing)||i.existing&&r.id!=null&&!$J("id",r,i.existing));)o++;i?(i.newOption=r,i.brandNew=n):e.push({newOption:r,brandNew:n,existing:null,keyInfo:null}),o++}})}function jLe(e,t){Pe(t,function(n){e.push({newOption:n,brandNew:!0,existing:null,keyInfo:null})})}function qLe(e){var t=xn();Pe(e,function(n){var r=n.existing;r&&t.set(r.id,n)}),Pe(e,function(n){var r=n.newOption;gu(!r||r.id==null||!t.get(r.id)||t.get(r.id)===n,"id duplicates: "+(r&&r.id)),r&&r.id!=null&&t.set(r.id,n),!n.keyInfo&&(n.keyInfo={})}),Pe(e,function(n,r){var i=n.existing,o=n.newOption,a=n.keyInfo;if(rn(o)){if(a.name=o.name!=null?mm(o.name):i?i.name:JJ+r,i)a.id=mm(i.id);else if(o.id!=null)a.id=mm(o.id);else{var s=0;do a.id="\0"+a.name+"\0"+s++;while(t.get(a.id))}t.set(a.id,n)}})}function $J(e,t,n){var r=lu(t[e],null),i=lu(n[e],null);return r!=null&&i!=null&&r===i}function mm(e){return lu(e,"")}function lu(e,t){return e==null?t:Qt(e)?e:Ar(e)||l5e(e)?e+"":t}function Hk(e){var t=e.name;return!!(t&&t.indexOf(JJ))}function f2(e){return e&&e.id!=null&&mm(e.id).indexOf(QLe)===0}function e8e(e,t,n){Pe(e,function(r){var i=r.newOption;rn(i)&&(r.keyInfo.mainType=t,r.keyInfo.subType=t8e(t,i,r.existing,n))})}function t8e(e,t,n,r){var i=t.type?t.type:n?n.subType:r.determineSubType(e,t);return i}function Tv(e,t){if(t.dataIndexInside!=null)return t.dataIndexInside;if(t.dataIndex!=null)return It(t.dataIndex)?Ot(t.dataIndex,function(n){return e.indexOfRawIndex(n)}):e.indexOfRawIndex(t.dataIndex);if(t.name!=null)return It(t.name)?Ot(t.name,function(n){return e.indexOfName(n)}):e.indexOfName(t.name)}function Ii(){var e="__ec_inner_"+n8e++;return function(t){return t[e]||(t[e]={})}}var n8e=ZLe();function aL(e,t,n){var r=jJ(t,n),i=r.mainTypeSpecified,o=r.queryOptionMap,a=r.others,s=a,l=n?n.defaultMainType:null;return!i&&l&&o.set(l,{}),o.each(function(u,c){var f=O3(e,c,u,{useDefault:l===c,enableAll:n&&n.enableAll!=null?n.enableAll:!0,enableNone:n&&n.enableNone!=null?n.enableNone:!0});s[c+"Models"]=f.models,s[c+"Model"]=f.models[0]}),s}function jJ(e,t){var n;if(Qt(e)){var r={};r[e+"Index"]=0,n=r}else n=e;var i=xn(),o={},a=!1;return Pe(n,function(s,l){if(l==="dataIndex"||l==="dataIndexInside"){o[l]=s;return}var u=l.match(/^(\w+)(Index|Id|Name)$/)||[],c=u[1],f=(u[2]||"").toLowerCase();if(!(!c||!f||t&&t.includeMainTypes&&Sr(t.includeMainTypes,c)<0)){a=a||!!c;var d=i.get(c)||i.set(c,{});d[f]=s}}),{mainTypeSpecified:a,queryOptionMap:i,others:o}}var ul={useDefault:!0,enableAll:!1,enableNone:!1};function O3(e,t,n,r){r=r||ul;var i=n.index,o=n.id,a=n.name,s={models:null,specified:i!=null||o!=null||a!=null};if(!s.specified){var l=void 0;return s.models=r.useDefault&&(l=e.getComponent(t))?[l]:[],s}return i==="none"||i===!1?(gu(r.enableNone,'`"none"` or `false` is not a valid value on index option.'),s.models=[],s):(i==="all"&&(gu(r.enableAll,'`"all"` is not a valid value on index option.'),i=o=a=null),s.models=e.queryComponents({mainType:t,index:i,id:o,name:a}),s)}function qJ(e,t,n){e.setAttribute?e.setAttribute(t,n):e[t]=n}function r8e(e,t){return e.getAttribute?e.getAttribute(t):e[t]}function i8e(e,t,n,r,i){var o=t==null||t==="auto";if(r==null)return r;if(Ar(r)){var a=QW(n||0,r,i);return ui(a,o?Math.max(tc(n||0),tc(r)):t)}else{if(Qt(r))return i<1?n:r;for(var s=[],l=n,u=r,c=Math.max(l?l.length:0,u.length),f=0;f<c;++f){var d=e.getDimensionInfo(f);if(d&&d.type==="ordinal")s[f]=(i<1&&l?l:u)[f];else{var h=l&&l[f]?l[f]:0,p=u[f],a=QW(h,p,i);s[f]=ui(a,o?Math.max(tc(h),tc(p)):t)}}return s}}var o8e=".",Ed="___EC__COMPONENT__CONTAINER___",e$="___EC__EXTENDED_CLASS___";function tu(e){var t={main:"",sub:""};if(e){var n=e.split(o8e);t.main=n[0]||"",t.sub=n[1]||""}return t}function a8e(e){gu(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e),'componentType "'+e+'" illegal')}function s8e(e){return!!(e&&e[e$])}function Kk(e,t){e.$constructor=e,e.extend=function(n){var r=this,i;return l8e(r)?i=function(o){St(a,o);function a(){return o.apply(this,arguments)||this}return a}(r):(i=function(){(n.$constructor||r).apply(this,arguments)},o5e(i,this)),gt(i.prototype,n),i[e$]=!0,i.extend=this.extend,i.superCall=f8e,i.superApply=d8e,i.superClass=r,i}}function l8e(e){return An(e)&&/^class\s/.test(Function.prototype.toString.call(e))}function t$(e,t){e.extend=t.extend}var u8e=Math.round(Math.random()*10);function c8e(e){var t=["__\0is_clz",u8e++].join("_");e.prototype[t]=!0,e.isInstance=function(n){return!!(n&&n[t])}}function f8e(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return this.superClass.prototype[t].apply(e,n)}function d8e(e,t,n){return this.superClass.prototype[t].apply(e,n)}function k3(e){var t={};e.registerClass=function(r){var i=r.type||r.prototype.type;if(i){a8e(i),r.prototype.type=i;var o=tu(i);if(!o.sub)t[o.main]=r;else if(o.sub!==Ed){var a=n(o);a[o.sub]=r}}return r},e.getClass=function(r,i,o){var a=t[r];if(a&&a[Ed]&&(a=i?a[i]:null),o&&!a)throw new Error(i?"Component "+r+"."+(i||"")+" is used but not imported.":r+".type should be specified.");return a},e.getClassesByMainType=function(r){var i=tu(r),o=[],a=t[i.main];return a&&a[Ed]?Pe(a,function(s,l){l!==Ed&&o.push(s)}):o.push(a),o},e.hasClass=function(r){var i=tu(r);return!!t[i.main]},e.getAllClassMainTypes=function(){var r=[];return Pe(t,function(i,o){r.push(o)}),r},e.hasSubTypes=function(r){var i=tu(r),o=t[i.main];return o&&o[Ed]};function n(r){var i=t[r.main];return(!i||!i[Ed])&&(i=t[r.main]={},i[Ed]=!0),i}}function d2(e,t){for(var n=0;n<e.length;n++)e[n][1]||(e[n][1]=e[n][0]);return t=t||!1,function(r,i,o){for(var a={},s=0;s<e.length;s++){var l=e[s][1];if(!(i&&Sr(i,l)>=0||o&&Sr(o,l)<0)){var u=r.getShallow(l,t);u!=null&&(a[e[s][0]]=u)}}return a}}var h8e=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],p8e=d2(h8e),v8e=function(){function e(){}return e.prototype.getAreaStyle=function(t,n){return p8e(this,t,n)},e}(),U6=new uy(50);function g8e(e){if(typeof e=="string"){var t=U6.get(e);return t&&t.image}else return e}function Gk(e,t,n,r,i){if(e)if(typeof e=="string"){if(t&&t.__zrImageSrc===e||!n)return t;var o=U6.get(e),a={hostEl:n,cb:r,cbPayload:i};return o?(t=o.image,!P3(t)&&o.pending.push(a)):(t=sy.loadImage(e,KW,KW),t.__zrImageSrc=e,U6.put(e,t.__cachedImgObj={image:t,pending:[a]})),t}else return e;else return t}function KW(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t<e.pending.length;t++){var n=e.pending[t],r=n.cb;r&&r(this,n.cbPayload),n.hostEl.dirty()}e.pending.length=0}function P3(e){return e&&e.width&&e.height}var sL=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function m8e(e,t,n,r,i){if(!t)return"";var o=(e+"").split(`
|
||
`);i=n$(t,n,r,i);for(var a=0,s=o.length;a<s;a++)o[a]=r$(o[a],i);return o.join(`
|
||
`)}function n$(e,t,n,r){r=r||{};var i=gt({},r);i.font=t,n=sn(n,"..."),i.maxIterations=sn(r.maxIterations,2);var o=i.minChar=sn(r.minChar,0);i.cnCharWidth=Ya("国",t);var a=i.ascCharWidth=Ya("a",t);i.placeholder=sn(r.placeholder,"");for(var s=e=Math.max(0,e-1),l=0;l<o&&s>=a;l++)s-=a;var u=Ya(n,t);return u>s&&(n="",u=0),s=e-u,i.ellipsis=n,i.ellipsisWidth=u,i.contentWidth=s,i.containerWidth=e,i}function r$(e,t){var n=t.containerWidth,r=t.font,i=t.contentWidth;if(!n)return"";var o=Ya(e,r);if(o<=n)return e;for(var a=0;;a++){if(o<=i||a>=t.maxIterations){e+=t.ellipsis;break}var s=a===0?y8e(e,i,t.ascCharWidth,t.cnCharWidth):o>0?Math.floor(e.length*i/o):0;e=e.substr(0,s),o=Ya(e,r)}return e===""&&(e=t.placeholder),e}function y8e(e,t,n,r){for(var i=0,o=0,a=e.length;o<a&&i<t;o++){var s=e.charCodeAt(o);i+=0<=s&&s<=127?n:r}return o}function A8e(e,t){e!=null&&(e+="");var n=t.overflow,r=t.padding,i=t.font,o=n==="truncate",a=T3(i),s=sn(t.lineHeight,a),l=!!t.backgroundColor,u=t.lineOverflow==="truncate",c=t.width,f;c!=null&&(n==="break"||n==="breakAll")?f=e?i$(e,t.font,c,n==="breakAll",0).lines:[]:f=e?e.split(`
|
||
`):[];var d=f.length*s,h=sn(t.height,d);if(d>h&&u){var p=Math.floor(h/s);f=f.slice(0,p)}if(e&&o&&c!=null)for(var v=n$(c,i,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),g=0;g<f.length;g++)f[g]=r$(f[g],v);for(var m=h,y=0,g=0;g<f.length;g++)y=Math.max(Ya(f[g],i),y);c==null&&(c=y);var R=y;return r&&(m+=r[0]+r[2],R+=r[1]+r[3],c+=r[1]+r[3]),l&&(R=c),{lines:f,height:h,outerWidth:R,outerHeight:m,lineHeight:s,calculatedLineHeight:a,contentWidth:y,contentHeight:d,width:c}}var R8e=function(){function e(){}return e}(),GW=function(){function e(t){this.tokens=[],t&&(this.tokens=t)}return e}(),b8e=function(){function e(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]}return e}();function x8e(e,t){var n=new b8e;if(e!=null&&(e+=""),!e)return n;for(var r=t.width,i=t.height,o=t.overflow,a=(o==="break"||o==="breakAll")&&r!=null?{width:r,accumWidth:0,breakAll:o==="breakAll"}:null,s=sL.lastIndex=0,l;(l=sL.exec(e))!=null;){var u=l.index;u>s&&lL(n,e.substring(s,u),t,a),lL(n,l[2],t,a,l[1]),s=sL.lastIndex}s<e.length&&lL(n,e.substring(s,e.length),t,a);var c=[],f=0,d=0,h=t.padding,p=o==="truncate",v=t.lineOverflow==="truncate";function g(W,Z,re){W.width=Z,W.lineHeight=re,f+=re,d=Math.max(d,Z)}e:for(var m=0;m<n.lines.length;m++){for(var y=n.lines[m],R=0,A=0,x=0;x<y.tokens.length;x++){var S=y.tokens[x],_=S.styleName&&t.rich[S.styleName]||{},M=S.textPadding=_.padding,w=M?M[1]+M[3]:0,L=S.font=_.font||t.font;S.contentHeight=T3(L);var k=sn(_.height,S.contentHeight);if(S.innerHeight=k,M&&(k+=M[0]+M[2]),S.height=k,S.lineHeight=dm(_.lineHeight,t.lineHeight,k),S.align=_&&_.align||t.align,S.verticalAlign=_&&_.verticalAlign||"middle",v&&i!=null&&f+S.lineHeight>i){x>0?(y.tokens=y.tokens.slice(0,x),g(y,A,R),n.lines=n.lines.slice(0,m+1)):n.lines=n.lines.slice(0,m);break e}var P=_.width,F=P==null||P==="auto";if(typeof P=="string"&&P.charAt(P.length-1)==="%")S.percentWidth=P,c.push(S),S.contentWidth=Ya(S.text,L);else{if(F){var C=_.backgroundColor,N=C&&C.image;N&&(N=g8e(N),P3(N)&&(S.width=Math.max(S.width,N.width*k/N.height)))}var I=p&&r!=null?r-A:null;I!=null&&I<S.width?!F||I<w?(S.text="",S.width=S.contentWidth=0):(S.text=m8e(S.text,I-w,L,t.ellipsis,{minChar:t.truncateMinChar}),S.width=S.contentWidth=Ya(S.text,L)):S.contentWidth=Ya(S.text,L)}S.width+=w,A+=S.width,_&&(R=Math.max(R,S.lineHeight))}g(y,A,R)}n.outerWidth=n.width=sn(r,d),n.outerHeight=n.height=sn(i,f),n.contentHeight=f,n.contentWidth=d,h&&(n.outerWidth+=h[1]+h[3],n.outerHeight+=h[0]+h[2]);for(var m=0;m<c.length;m++){var S=c[m],V=S.percentWidth;S.width=parseInt(V,10)/100*n.width}return n}function lL(e,t,n,r,i){var o=t==="",a=i&&n.rich[i]||{},s=e.lines,l=a.font||n.font,u=!1,c,f;if(r){var d=a.padding,h=d?d[1]+d[3]:0;if(a.width!=null&&a.width!=="auto"){var p=Jf(a.width,r.width)+h;s.length>0&&p+r.accumWidth>r.width&&(c=t.split(`
|
||
`),u=!0),r.accumWidth=p}else{var v=i$(t,l,r.width,r.breakAll,r.accumWidth);r.accumWidth=v.accumWidth+h,f=v.linesWidths,c=v.lines}}else c=t.split(`
|
||
`);for(var g=0;g<c.length;g++){var m=c[g],y=new R8e;if(y.styleName=i,y.text=m,y.isLineHolder=!m&&!o,typeof a.width=="number"?y.width=a.width:y.width=f?f[g]:Ya(m,l),!g&&!u){var R=(s[s.length-1]||(s[0]=new GW)).tokens,A=R.length;A===1&&R[0].isLineHolder?R[0]=y:(m||!A||o)&&R.push(y)}else s.push(new GW([y]))}}function S8e(e){var t=e.charCodeAt(0);return t>=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var w8e=zf(",&?/;] ".split(""),function(e,t){return e[t]=!0,e},{});function M8e(e){return S8e(e)?!!w8e[e]:!0}function i$(e,t,n,r,i){for(var o=[],a=[],s="",l="",u=0,c=0,f=0;f<e.length;f++){var d=e.charAt(f);if(d===`
|
||
`){l&&(s+=l,c+=u),o.push(s),a.push(c),s="",l="",u=0,c=0;continue}var h=Ya(d,t),p=r?!1:!M8e(d);if(o.length?c+h>n:i+c+h>n){c?(s||l)&&(p?(s||(s=l,l="",u=0,c=u),o.push(s),a.push(c-u),l+=d,u+=h,s="",c=u):(l&&(s+=l,l="",u=0),o.push(s),a.push(c),s=d,c=h)):p?(o.push(l),a.push(u),l=d,u=h):(o.push(d),a.push(h));continue}c+=h,p?(l+=d,u+=h):(l&&(s+=l,l="",u=0),s+=d)}return!o.length&&!s&&(s=e,l="",u=0),l&&(s+=l),s&&(o.push(s),a.push(c)),o.length===1&&(c+=i),{accumWidth:c,lines:o,linesWidths:a}}var B6="__zr_style_"+Math.round(Math.random()*10),Fh={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},C3={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Fh[B6]=!0;var zW=["z","z2","invisible"],L8e=["invisible"],T8e=function(e){St(t,e);function t(n){return e.call(this,n)||this}return t.prototype._init=function(n){for(var r=Dn(n),i=0;i<r.length;i++){var o=r[i];o==="style"?this.useStyle(n[o]):e.prototype.attrKV.call(this,o,n[o])}this.style||this.useStyle({})},t.prototype.beforeBrush=function(){},t.prototype.afterBrush=function(){},t.prototype.innerBeforeBrush=function(){},t.prototype.innerAfterBrush=function(){},t.prototype.shouldBePainted=function(n,r,i,o){var a=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&_8e(this,n,r)||a&&!a[0]&&!a[3])return!1;if(i&&this.__clipPaths){for(var s=0;s<this.__clipPaths.length;++s)if(this.__clipPaths[s].isZeroArea())return!1}if(o&&this.parent)for(var l=this.parent;l;){if(l.ignore)return!1;l=l.parent}return!0},t.prototype.contain=function(n,r){return this.rectContain(n,r)},t.prototype.traverse=function(n,r){n.call(r,this)},t.prototype.rectContain=function(n,r){var i=this.transformCoordToLocal(n,r),o=this.getBoundingRect();return o.contain(i[0],i[1])},t.prototype.getPaintRect=function(){var n=this._paintRect;if(!this._paintRect||this.__dirty){var r=this.transform,i=this.getBoundingRect(),o=this.style,a=o.shadowBlur||0,s=o.shadowOffsetX||0,l=o.shadowOffsetY||0;n=this._paintRect||(this._paintRect=new dr(0,0,0,0)),r?dr.applyTransform(n,i,r):n.copy(i),(a||s||l)&&(n.width+=a*2+Math.abs(s),n.height+=a*2+Math.abs(l),n.x=Math.min(n.x,n.x+s-a),n.y=Math.min(n.y,n.y+l-a));var u=this.dirtyRectTolerance;n.isZero()||(n.x=Math.floor(n.x-u),n.y=Math.floor(n.y-u),n.width=Math.ceil(n.width+1+u*2),n.height=Math.ceil(n.height+1+u*2))}return n},t.prototype.setPrevPaintRect=function(n){n?(this._prevPaintRect=this._prevPaintRect||new dr(0,0,0,0),this._prevPaintRect.copy(n)):this._prevPaintRect=null},t.prototype.getPrevPaintRect=function(){return this._prevPaintRect},t.prototype.animateStyle=function(n){return this.animate("style",n)},t.prototype.updateDuringAnimation=function(n){n==="style"?this.dirtyStyle():this.markRedraw()},t.prototype.attrKV=function(n,r){n!=="style"?e.prototype.attrKV.call(this,n,r):this.style?this.setStyle(r):this.useStyle(r)},t.prototype.setStyle=function(n,r){return typeof n=="string"?this.style[n]=r:gt(this.style,n),this.dirtyStyle(),this},t.prototype.dirtyStyle=function(n){n||this.markRedraw(),this.__dirty|=Lg,this._rect&&(this._rect=null)},t.prototype.dirty=function(){this.dirtyStyle()},t.prototype.styleChanged=function(){return!!(this.__dirty&Lg)},t.prototype.styleUpdated=function(){this.__dirty&=~Lg},t.prototype.createStyle=function(n){return w3(Fh,n)},t.prototype.useStyle=function(n){n[B6]||(n=this.createStyle(n)),this.__inHover?this.__hoverStyle=n:this.style=n,this.dirtyStyle()},t.prototype.isStyleObject=function(n){return n[B6]},t.prototype._innerSaveToNormal=function(n){e.prototype._innerSaveToNormal.call(this,n);var r=this._normalState;n.style&&!r.style&&(r.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(n,r,zW)},t.prototype._applyStateObj=function(n,r,i,o,a,s){e.prototype._applyStateObj.call(this,n,r,i,o,a,s);var l=!(r&&o),u;if(r&&r.style?a?o?u=r.style:(u=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(u,r.style)):(u=this._mergeStyle(this.createStyle(),o?this.style:i.style),this._mergeStyle(u,r.style)):l&&(u=i.style),u)if(a){var c=this.style;if(this.style=this.createStyle(l?{}:c),l)for(var f=Dn(c),d=0;d<f.length;d++){var h=f[d];h in u&&(u[h]=u[h],this.style[h]=c[h])}for(var p=Dn(u),d=0;d<p.length;d++){var h=p[d];this.style[h]=this.style[h]}this._transitionState(n,{style:u},s,this.getAnimationStyleProps())}else this.useStyle(u);for(var v=this.__inHover?L8e:zW,d=0;d<v.length;d++){var h=v[d];r&&r[h]!=null?this[h]=r[h]:l&&i[h]!=null&&(this[h]=i[h])}},t.prototype._mergeStates=function(n){for(var r=e.prototype._mergeStates.call(this,n),i,o=0;o<n.length;o++){var a=n[o];a.style&&(i=i||{},this._mergeStyle(i,a.style))}return i&&(r.style=i),r},t.prototype._mergeStyle=function(n,r){return gt(n,r),n},t.prototype.getAnimationStyleProps=function(){return C3},t.initDefaultProps=function(){var n=t.prototype;n.type="displayable",n.invisible=!1,n.z=0,n.z2=0,n.zlevel=0,n.culling=!1,n.cursor="pointer",n.rectHover=!1,n.incremental=!1,n._rect=null,n.dirtyRectTolerance=0,n.__dirty=Jl|Lg}(),t}(_3),uL=new dr(0,0,0,0),cL=new dr(0,0,0,0);function _8e(e,t,n){return uL.copy(e.getBoundingRect()),e.transform&&uL.applyTransform(e.transform),cL.width=t,cL.height=n,!uL.intersect(cL)}const fy=T8e;var vs=Math.min,gs=Math.max,fL=Math.sin,dL=Math.cos,Xd=Math.PI*2,rR=jv(),iR=jv(),oR=jv();function JW(e,t,n,r,i,o){i[0]=vs(e,n),i[1]=vs(t,r),o[0]=gs(e,n),o[1]=gs(t,r)}var $W=[],jW=[];function O8e(e,t,n,r,i,o,a,s,l,u){var c=OJ,f=Qi,d=c(e,n,i,a,$W);l[0]=1/0,l[1]=1/0,u[0]=-1/0,u[1]=-1/0;for(var h=0;h<d;h++){var p=f(e,n,i,a,$W[h]);l[0]=vs(p,l[0]),u[0]=gs(p,u[0])}d=c(t,r,o,s,jW);for(var h=0;h<d;h++){var v=f(t,r,o,s,jW[h]);l[1]=vs(v,l[1]),u[1]=gs(v,u[1])}l[0]=vs(e,l[0]),u[0]=gs(e,u[0]),l[0]=vs(a,l[0]),u[0]=gs(a,u[0]),l[1]=vs(t,l[1]),u[1]=gs(t,u[1]),l[1]=vs(s,l[1]),u[1]=gs(s,u[1])}function k8e(e,t,n,r,i,o,a,s){var l=kJ,u=Jo,c=gs(vs(l(e,n,i),1),0),f=gs(vs(l(t,r,o),1),0),d=u(e,n,i,c),h=u(t,r,o,f);a[0]=vs(e,i,d),a[1]=vs(t,o,h),s[0]=gs(e,i,d),s[1]=gs(t,o,h)}function P8e(e,t,n,r,i,o,a,s,l){var u=kp,c=Pp,f=Math.abs(i-o);if(f%Xd<1e-4&&f>1e-4){s[0]=e-n,s[1]=t-r,l[0]=e+n,l[1]=t+r;return}if(rR[0]=dL(i)*n+e,rR[1]=fL(i)*r+t,iR[0]=dL(o)*n+e,iR[1]=fL(o)*r+t,u(s,rR,iR),c(l,rR,iR),i=i%Xd,i<0&&(i=i+Xd),o=o%Xd,o<0&&(o=o+Xd),i>o&&!a?o+=Xd:i<o&&a&&(i+=Xd),a){var d=o;o=i,i=d}for(var h=0;h<o;h+=Math.PI/2)h>i&&(oR[0]=dL(h)*n+e,oR[1]=fL(h)*r+t,u(s,oR,s),c(l,oR,l))}var jn={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Wd=[],Vd=[],kl=[],Ec=[],Pl=[],Cl=[],hL=Math.min,pL=Math.max,Dd=Math.cos,Ud=Math.sin,Du=Math.abs,Y6=Math.PI,nf=Y6*2,vL=typeof Float32Array<"u",X1=[];function gL(e){var t=Math.round(e/Y6*1e8)/1e8;return t%2*Y6}function o$(e,t){var n=gL(e[0]);n<0&&(n+=nf);var r=n-e[0],i=e[1];i+=r,!t&&i-n>=nf?i=n+nf:t&&n-i>=nf?i=n-nf:!t&&n>i?i=n+(nf-gL(n-i)):t&&n<i&&(i=n-(nf-gL(i-n))),e[0]=n,e[1]=i}var jf=function(){function e(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return e.prototype.increaseVersion=function(){this._version++},e.prototype.getVersion=function(){return this._version},e.prototype.setScale=function(t,n,r){r=r||0,r>0&&(this._ux=Du(r/XW/t)||0,this._uy=Du(r/XW/n)||0)},e.prototype.setDPR=function(t){this.dpr=t},e.prototype.setContext=function(t){this._ctx=t},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(t,n){return this._drawPendingPt(),this.addData(jn.M,t,n),this._ctx&&this._ctx.moveTo(t,n),this._x0=t,this._y0=n,this._xi=t,this._yi=n,this},e.prototype.lineTo=function(t,n){var r=Du(t-this._xi),i=Du(n-this._yi),o=r>this._ux||i>this._uy;if(this.addData(jn.L,t,n),this._ctx&&o&&this._ctx.lineTo(t,n),o)this._xi=t,this._yi=n,this._pendingPtDist=0;else{var a=r*r+i*i;a>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=n,this._pendingPtDist=a)}return this},e.prototype.bezierCurveTo=function(t,n,r,i,o,a){return this._drawPendingPt(),this.addData(jn.C,t,n,r,i,o,a),this._ctx&&this._ctx.bezierCurveTo(t,n,r,i,o,a),this._xi=o,this._yi=a,this},e.prototype.quadraticCurveTo=function(t,n,r,i){return this._drawPendingPt(),this.addData(jn.Q,t,n,r,i),this._ctx&&this._ctx.quadraticCurveTo(t,n,r,i),this._xi=r,this._yi=i,this},e.prototype.arc=function(t,n,r,i,o,a){this._drawPendingPt(),X1[0]=i,X1[1]=o,o$(X1,a),i=X1[0],o=X1[1];var s=o-i;return this.addData(jn.A,t,n,r,r,i,s,0,a?0:1),this._ctx&&this._ctx.arc(t,n,r,i,o,a),this._xi=Dd(o)*r+t,this._yi=Ud(o)*r+n,this},e.prototype.arcTo=function(t,n,r,i,o){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,n,r,i,o),this},e.prototype.rect=function(t,n,r,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,n,r,i),this.addData(jn.R,t,n,r,i),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(jn.Z);var t=this._ctx,n=this._x0,r=this._y0;return t&&t.closePath(),this._xi=n,this._yi=r,this},e.prototype.fill=function(t){t&&t.fill(),this.toStatic()},e.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(t){var n=t.length;!(this.data&&this.data.length===n)&&vL&&(this.data=new Float32Array(n));for(var r=0;r<n;r++)this.data[r]=t[r];this._len=n},e.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var n=t.length,r=0,i=this._len,o=0;o<n;o++)r+=t[o].len();vL&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+r));for(var o=0;o<n;o++)for(var a=t[o].data,s=0;s<a.length;s++)this.data[i++]=a[s];this._len=i},e.prototype.addData=function(t,n,r,i,o,a,s,l,u){if(this._saveData){var c=this.data;this._len+arguments.length>c.length&&(this._expandData(),c=this.data);for(var f=0;f<arguments.length;f++)c[this._len++]=arguments[f]}},e.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],n=0;n<this._len;n++)t[n]=this.data[n];this.data=t}},e.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,vL&&this._len>11&&(this.data=new Float32Array(t)))}},e.prototype.getBoundingRect=function(){kl[0]=kl[1]=Pl[0]=Pl[1]=Number.MAX_VALUE,Ec[0]=Ec[1]=Cl[0]=Cl[1]=-Number.MAX_VALUE;var t=this.data,n=0,r=0,i=0,o=0,a;for(a=0;a<this._len;){var s=t[a++],l=a===1;switch(l&&(n=t[a],r=t[a+1],i=n,o=r),s){case jn.M:n=i=t[a++],r=o=t[a++],Pl[0]=i,Pl[1]=o,Cl[0]=i,Cl[1]=o;break;case jn.L:JW(n,r,t[a],t[a+1],Pl,Cl),n=t[a++],r=t[a++];break;case jn.C:O8e(n,r,t[a++],t[a++],t[a++],t[a++],t[a],t[a+1],Pl,Cl),n=t[a++],r=t[a++];break;case jn.Q:k8e(n,r,t[a++],t[a++],t[a],t[a+1],Pl,Cl),n=t[a++],r=t[a++];break;case jn.A:var u=t[a++],c=t[a++],f=t[a++],d=t[a++],h=t[a++],p=t[a++]+h;a+=1;var v=!t[a++];l&&(i=Dd(h)*f+u,o=Ud(h)*d+c),P8e(u,c,f,d,h,p,v,Pl,Cl),n=Dd(p)*f+u,r=Ud(p)*d+c;break;case jn.R:i=n=t[a++],o=r=t[a++];var g=t[a++],m=t[a++];JW(i,o,i+g,o+m,Pl,Cl);break;case jn.Z:n=i,r=o;break}kp(kl,kl,Pl),Pp(Ec,Ec,Cl)}return a===0&&(kl[0]=kl[1]=Ec[0]=Ec[1]=0),new dr(kl[0],kl[1],Ec[0]-kl[0],Ec[1]-kl[1])},e.prototype._calculateLength=function(){var t=this.data,n=this._len,r=this._ux,i=this._uy,o=0,a=0,s=0,l=0;this._pathSegLen||(this._pathSegLen=[]);for(var u=this._pathSegLen,c=0,f=0,d=0;d<n;){var h=t[d++],p=d===1;p&&(o=t[d],a=t[d+1],s=o,l=a);var v=-1;switch(h){case jn.M:o=s=t[d++],a=l=t[d++];break;case jn.L:{var g=t[d++],m=t[d++],y=g-o,R=m-a;(Du(y)>r||Du(R)>i||d===n-1)&&(v=Math.sqrt(y*y+R*R),o=g,a=m);break}case jn.C:{var A=t[d++],x=t[d++],g=t[d++],m=t[d++],S=t[d++],_=t[d++];v=G5e(o,a,A,x,g,m,S,_,10),o=S,a=_;break}case jn.Q:{var A=t[d++],x=t[d++],g=t[d++],m=t[d++];v=$5e(o,a,A,x,g,m,10),o=g,a=m;break}case jn.A:var M=t[d++],w=t[d++],L=t[d++],k=t[d++],P=t[d++],F=t[d++],C=F+P;d+=1,p&&(s=Dd(P)*L+M,l=Ud(P)*k+w),v=pL(L,k)*hL(nf,Math.abs(F)),o=Dd(C)*L+M,a=Ud(C)*k+w;break;case jn.R:{s=o=t[d++],l=a=t[d++];var N=t[d++],I=t[d++];v=N*2+I*2;break}case jn.Z:{var y=s-o,R=l-a;v=Math.sqrt(y*y+R*R),o=s,a=l;break}}v>=0&&(u[f++]=v,c+=v)}return this._pathLen=c,c},e.prototype.rebuildPath=function(t,n){var r=this.data,i=this._ux,o=this._uy,a=this._len,s,l,u,c,f,d,h=n<1,p,v,g=0,m=0,y,R=0,A,x;if(!(h&&(this._pathSegLen||this._calculateLength(),p=this._pathSegLen,v=this._pathLen,y=n*v,!y)))e:for(var S=0;S<a;){var _=r[S++],M=S===1;switch(M&&(u=r[S],c=r[S+1],s=u,l=c),_!==jn.L&&R>0&&(t.lineTo(A,x),R=0),_){case jn.M:s=u=r[S++],l=c=r[S++],t.moveTo(u,c);break;case jn.L:{f=r[S++],d=r[S++];var w=Du(f-u),L=Du(d-c);if(w>i||L>o){if(h){var k=p[m++];if(g+k>y){var P=(y-g)/k;t.lineTo(u*(1-P)+f*P,c*(1-P)+d*P);break e}g+=k}t.lineTo(f,d),u=f,c=d,R=0}else{var F=w*w+L*L;F>R&&(A=f,x=d,R=F)}break}case jn.C:{var C=r[S++],N=r[S++],I=r[S++],V=r[S++],W=r[S++],Z=r[S++];if(h){var k=p[m++];if(g+k>y){var P=(y-g)/k;Gx(u,C,I,W,P,Wd),Gx(c,N,V,Z,P,Vd),t.bezierCurveTo(Wd[1],Vd[1],Wd[2],Vd[2],Wd[3],Vd[3]);break e}g+=k}t.bezierCurveTo(C,N,I,V,W,Z),u=W,c=Z;break}case jn.Q:{var C=r[S++],N=r[S++],I=r[S++],V=r[S++];if(h){var k=p[m++];if(g+k>y){var P=(y-g)/k;zx(u,C,I,P,Wd),zx(c,N,V,P,Vd),t.quadraticCurveTo(Wd[1],Vd[1],Wd[2],Vd[2]);break e}g+=k}t.quadraticCurveTo(C,N,I,V),u=I,c=V;break}case jn.A:var re=r[S++],Y=r[S++],B=r[S++],Q=r[S++],K=r[S++],q=r[S++],j=r[S++],de=!r[S++],G=B>Q?B:Q,Ae=Du(B-Q)>.001,ce=K+q,fe=!1;if(h){var k=p[m++];g+k>y&&(ce=K+q*(y-g)/k,fe=!0),g+=k}if(Ae&&t.ellipse?t.ellipse(re,Y,B,Q,j,K,ce,de):t.arc(re,Y,G,K,ce,de),fe)break e;M&&(s=Dd(K)*B+re,l=Ud(K)*Q+Y),u=Dd(ce)*B+re,c=Ud(ce)*Q+Y;break;case jn.R:s=u=r[S],l=c=r[S+1],f=r[S++],d=r[S++];var le=r[S++],$=r[S++];if(h){var k=p[m++];if(g+k>y){var X=y-g;t.moveTo(f,d),t.lineTo(f+hL(X,le),d),X-=le,X>0&&t.lineTo(f+le,d+hL(X,$)),X-=$,X>0&&t.lineTo(f+pL(le-X,0),d+$),X-=le,X>0&&t.lineTo(f,d+pL($-X,0));break e}g+=k}t.rect(f,d,le,$);break;case jn.Z:if(h){var k=p[m++];if(g+k>y){var P=(y-g)/k;t.lineTo(u*(1-P)+s*P,c*(1-P)+l*P);break e}g+=k}t.closePath(),u=s,c=l}}},e.prototype.clone=function(){var t=new e,n=this.data;return t.data=n.slice?n.slice():Array.prototype.slice.call(n),t._len=this._len,t},e.CMD=jn,e.initDefaultProps=function(){var t=e.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0}(),e}();function K0(e,t,n,r,i,o,a){if(i===0)return!1;var s=i,l=0,u=e;if(a>t+s&&a>r+s||a<t-s&&a<r-s||o>e+s&&o>n+s||o<e-s&&o<n-s)return!1;if(e!==n)l=(t-r)/(e-n),u=(e*r-n*t)/(e-n);else return Math.abs(o-e)<=s/2;var c=l*o-a+u,f=c*c/(l*l+1);return f<=s/2*s/2}function C8e(e,t,n,r,i,o,a,s,l,u,c){if(l===0)return!1;var f=l;if(c>t+f&&c>r+f&&c>o+f&&c>s+f||c<t-f&&c<r-f&&c<o-f&&c<s-f||u>e+f&&u>n+f&&u>i+f&&u>a+f||u<e-f&&u<n-f&&u<i-f&&u<a-f)return!1;var d=K5e(e,t,n,r,i,o,a,s,u,c);return d<=f/2}function I8e(e,t,n,r,i,o,a,s,l){if(a===0)return!1;var u=a;if(l>t+u&&l>r+u&&l>o+u||l<t-u&&l<r-u&&l<o-u||s>e+u&&s>n+u&&s>i+u||s<e-u&&s<n-u&&s<i-u)return!1;var c=J5e(e,t,n,r,i,o,s,l);return c<=u/2}var qW=Math.PI*2;function aR(e){return e%=qW,e<0&&(e+=qW),e}var W1=Math.PI*2;function N8e(e,t,n,r,i,o,a,s,l){if(a===0)return!1;var u=a;s-=e,l-=t;var c=Math.sqrt(s*s+l*l);if(c-u>n||c+u<n)return!1;if(Math.abs(r-i)%W1<1e-4)return!0;if(o){var f=r;r=aR(i),i=aR(f)}else r=aR(r),i=aR(i);r>i&&(i+=W1);var d=Math.atan2(l,s);return d<0&&(d+=W1),d>=r&&d<=i||d+W1>=r&&d+W1<=i}function Bd(e,t,n,r,i,o){if(o>t&&o>r||o<t&&o<r||r===t)return 0;var a=(o-t)/(r-t),s=r<t?1:-1;(a===1||a===0)&&(s=r<t?.5:-.5);var l=a*(n-e)+e;return l===i?1/0:l>i?s:0}var Xc=jf.CMD,Yd=Math.PI*2,F8e=1e-4;function E8e(e,t){return Math.abs(e-t)<F8e}var To=[-1,-1,-1],fs=[-1,-1];function X8e(){var e=fs[0];fs[0]=fs[1],fs[1]=e}function W8e(e,t,n,r,i,o,a,s,l,u){if(u>t&&u>r&&u>o&&u>s||u<t&&u<r&&u<o&&u<s)return 0;var c=Kx(t,r,o,s,u,To);if(c===0)return 0;for(var f=0,d=-1,h=void 0,p=void 0,v=0;v<c;v++){var g=To[v],m=g===0||g===1?.5:1,y=Qi(e,n,i,a,g);y<l||(d<0&&(d=OJ(t,r,o,s,fs),fs[1]<fs[0]&&d>1&&X8e(),h=Qi(t,r,o,s,fs[0]),d>1&&(p=Qi(t,r,o,s,fs[1]))),d===2?g<fs[0]?f+=h<t?m:-m:g<fs[1]?f+=p<h?m:-m:f+=s<p?m:-m:g<fs[0]?f+=h<t?m:-m:f+=s<h?m:-m)}return f}function V8e(e,t,n,r,i,o,a,s){if(s>t&&s>r&&s>o||s<t&&s<r&&s<o)return 0;var l=z5e(t,r,o,s,To);if(l===0)return 0;var u=kJ(t,r,o);if(u>=0&&u<=1){for(var c=0,f=Jo(t,r,o,u),d=0;d<l;d++){var h=To[d]===0||To[d]===1?.5:1,p=Jo(e,n,i,To[d]);p<a||(To[d]<u?c+=f<t?h:-h:c+=o<f?h:-h)}return c}else{var h=To[0]===0||To[0]===1?.5:1,p=Jo(e,n,i,To[0]);return p<a?0:o<t?h:-h}}function D8e(e,t,n,r,i,o,a,s){if(s-=t,s>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);To[0]=-l,To[1]=l;var u=Math.abs(r-i);if(u<1e-4)return 0;if(u>=Yd-1e-4){r=0,i=Yd;var c=o?1:-1;return a>=To[0]+e&&a<=To[1]+e?c:0}if(r>i){var f=r;r=i,i=f}r<0&&(r+=Yd,i+=Yd);for(var d=0,h=0;h<2;h++){var p=To[h];if(p+e>a){var v=Math.atan2(s,p),c=o?1:-1;v<0&&(v=Yd+v),(v>=r&&v<=i||v+Yd>=r&&v+Yd<=i)&&(v>Math.PI/2&&v<Math.PI*1.5&&(c=-c),d+=c)}}return d}function a$(e,t,n,r,i){for(var o=e.data,a=e.len(),s=0,l=0,u=0,c=0,f=0,d,h,p=0;p<a;){var v=o[p++],g=p===1;switch(v===Xc.M&&p>1&&(n||(s+=Bd(l,u,c,f,r,i))),g&&(l=o[p],u=o[p+1],c=l,f=u),v){case Xc.M:c=o[p++],f=o[p++],l=c,u=f;break;case Xc.L:if(n){if(K0(l,u,o[p],o[p+1],t,r,i))return!0}else s+=Bd(l,u,o[p],o[p+1],r,i)||0;l=o[p++],u=o[p++];break;case Xc.C:if(n){if(C8e(l,u,o[p++],o[p++],o[p++],o[p++],o[p],o[p+1],t,r,i))return!0}else s+=W8e(l,u,o[p++],o[p++],o[p++],o[p++],o[p],o[p+1],r,i)||0;l=o[p++],u=o[p++];break;case Xc.Q:if(n){if(I8e(l,u,o[p++],o[p++],o[p],o[p+1],t,r,i))return!0}else s+=V8e(l,u,o[p++],o[p++],o[p],o[p+1],r,i)||0;l=o[p++],u=o[p++];break;case Xc.A:var m=o[p++],y=o[p++],R=o[p++],A=o[p++],x=o[p++],S=o[p++];p+=1;var _=!!(1-o[p++]);d=Math.cos(x)*R+m,h=Math.sin(x)*A+y,g?(c=d,f=h):s+=Bd(l,u,d,h,r,i);var M=(r-m)*A/R+m;if(n){if(N8e(m,y,A,x,x+S,_,t,M,i))return!0}else s+=D8e(m,y,A,x,x+S,_,M,i);l=Math.cos(x+S)*R+m,u=Math.sin(x+S)*A+y;break;case Xc.R:c=l=o[p++],f=u=o[p++];var w=o[p++],L=o[p++];if(d=c+w,h=f+L,n){if(K0(c,f,d,f,t,r,i)||K0(d,f,d,h,t,r,i)||K0(d,h,c,h,t,r,i)||K0(c,h,c,f,t,r,i))return!0}else s+=Bd(d,f,d,h,r,i),s+=Bd(c,h,c,f,r,i);break;case Xc.Z:if(n){if(K0(l,u,c,f,t,r,i))return!0}else s+=Bd(l,u,c,f,r,i);l=c,u=f;break}}return!n&&!E8e(u,f)&&(s+=Bd(l,u,c,f,r,i)||0),s!==0}function U8e(e,t,n){return a$(e,0,!1,t,n)}function B8e(e,t,n,r){return a$(e,t,!0,n,r)}var eS=En({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Fh),Y8e={style:En({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},C3.style)},mL=c2.concat(["invisible","culling","z","z2","zlevel","parent"]),Jn=function(e){St(t,e);function t(n){return e.call(this,n)||this}return t.prototype.update=function(){var n=this;e.prototype.update.call(this);var r=this.style;if(r.decal){var i=this._decalEl=this._decalEl||new t;i.buildPath===t.prototype.buildPath&&(i.buildPath=function(l){n.buildPath(l,n.shape)}),i.silent=!0;var o=i.style;for(var a in r)o[a]!==r[a]&&(o[a]=r[a]);o.fill=r.fill?r.decal:null,o.decal=null,o.shadowColor=null,r.strokeFirst&&(o.stroke=null);for(var s=0;s<mL.length;++s)i[mL[s]]=this[mL[s]];i.__dirty|=Jl}else this._decalEl&&(this._decalEl=null)},t.prototype.getDecalElement=function(){return this._decalEl},t.prototype._init=function(n){var r=Dn(n);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var o=0;o<r.length;o++){var a=r[o],s=n[a];a==="style"?this.style?gt(this.style,s):this.useStyle(s):a==="shape"?gt(this.shape,s):e.prototype.attrKV.call(this,a,s)}this.style||this.useStyle({})},t.prototype.getDefaultStyle=function(){return null},t.prototype.getDefaultShape=function(){return{}},t.prototype.canBeInsideText=function(){return this.hasFill()},t.prototype.getInsideTextFill=function(){var n=this.style.fill;if(n!=="none"){if(Qt(n)){var r=Jx(n,0);return r>.5?E6:r>.2?xLe:X6}else if(n)return X6}return E6},t.prototype.getInsideTextStroke=function(n){var r=this.style.fill;if(Qt(r)){var i=this.__zr,o=!!(i&&i.isDarkMode()),a=Jx(n,0)<F6;if(o===a)return r}},t.prototype.buildPath=function(n,r,i){},t.prototype.pathUpdated=function(){this.__dirty&=~bp},t.prototype.getUpdatedPathProxy=function(n){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,n),this.path},t.prototype.createPathProxy=function(){this.path=new jf(!1)},t.prototype.hasStroke=function(){var n=this.style,r=n.stroke;return!(r==null||r==="none"||!(n.lineWidth>0))},t.prototype.hasFill=function(){var n=this.style,r=n.fill;return r!=null&&r!=="none"},t.prototype.getBoundingRect=function(){var n=this._rect,r=this.style,i=!n;if(i){var o=!1;this.path||(o=!0,this.createPathProxy());var a=this.path;(o||this.__dirty&bp)&&(a.beginPath(),this.buildPath(a,this.shape,!1),this.pathUpdated()),n=a.getBoundingRect()}if(this._rect=n,this.hasStroke()&&this.path&&this.path.len()>0){var s=this._rectStroke||(this._rectStroke=n.clone());if(this.__dirty||i){s.copy(n);var l=r.strokeNoScale?this.getLineScale():1,u=r.lineWidth;if(!this.hasFill()){var c=this.strokeContainThreshold;u=Math.max(u,c??4)}l>1e-10&&(s.width+=u/l,s.height+=u/l,s.x-=u/l/2,s.y-=u/l/2)}return s}return n},t.prototype.contain=function(n,r){var i=this.transformCoordToLocal(n,r),o=this.getBoundingRect(),a=this.style;if(n=i[0],r=i[1],o.contain(n,r)){var s=this.path;if(this.hasStroke()){var l=a.lineWidth,u=a.strokeNoScale?this.getLineScale():1;if(u>1e-10&&(this.hasFill()||(l=Math.max(l,this.strokeContainThreshold)),B8e(s,l/u,n,r)))return!0}if(this.hasFill())return U8e(s,n,r)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=bp,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(n){return this.animate("shape",n)},t.prototype.updateDuringAnimation=function(n){n==="style"?this.dirtyStyle():n==="shape"?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(n,r){n==="shape"?this.setShape(r):e.prototype.attrKV.call(this,n,r)},t.prototype.setShape=function(n,r){var i=this.shape;return i||(i=this.shape={}),typeof n=="string"?i[n]=r:gt(i,n),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&bp)},t.prototype.createStyle=function(n){return w3(eS,n)},t.prototype._innerSaveToNormal=function(n){e.prototype._innerSaveToNormal.call(this,n);var r=this._normalState;n.shape&&!r.shape&&(r.shape=gt({},this.shape))},t.prototype._applyStateObj=function(n,r,i,o,a,s){e.prototype._applyStateObj.call(this,n,r,i,o,a,s);var l=!(r&&o),u;if(r&&r.shape?a?o?u=r.shape:(u=gt({},i.shape),gt(u,r.shape)):(u=gt({},o?this.shape:i.shape),gt(u,r.shape)):l&&(u=i.shape),u)if(a){this.shape=gt({},this.shape);for(var c={},f=Dn(u),d=0;d<f.length;d++){var h=f[d];typeof u[h]=="object"?this.shape[h]=u[h]:c[h]=u[h]}this._transitionState(n,{shape:c},s)}else this.shape=u,this.dirtyShape()},t.prototype._mergeStates=function(n){for(var r=e.prototype._mergeStates.call(this,n),i,o=0;o<n.length;o++){var a=n[o];a.shape&&(i=i||{},this._mergeStyle(i,a.shape))}return i&&(r.shape=i),r},t.prototype.getAnimationStyleProps=function(){return Y8e},t.prototype.isZeroArea=function(){return!1},t.extend=function(n){var r=function(o){St(a,o);function a(s){var l=o.call(this,s)||this;return n.init&&n.init.call(l,s),l}return a.prototype.getDefaultStyle=function(){return Vn(n.style)},a.prototype.getDefaultShape=function(){return Vn(n.shape)},a}(t);for(var i in n)typeof n[i]=="function"&&(r.prototype[i]=n[i]);return r},t.initDefaultProps=function(){var n=t.prototype;n.type="path",n.strokeContainThreshold=5,n.segmentIgnoreThreshold=0,n.subPixelOptimize=!1,n.autoBatch=!1,n.__dirty=Jl|Lg|bp}(),t}(fy),Z8e=En({strokeFirst:!0,font:Gf,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},eS),h2=function(e){St(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.hasStroke=function(){var n=this.style,r=n.stroke;return r!=null&&r!=="none"&&n.lineWidth>0},t.prototype.hasFill=function(){var n=this.style,r=n.fill;return r!=null&&r!=="none"},t.prototype.createStyle=function(n){return w3(Z8e,n)},t.prototype.setBoundingRect=function(n){this._rect=n},t.prototype.getBoundingRect=function(){var n=this.style;if(!this._rect){var r=n.text;r!=null?r+="":r="";var i=YJ(r,n.font,n.textAlign,n.textBaseline);if(i.x+=n.x||0,i.y+=n.y||0,this.hasStroke()){var o=n.lineWidth;i.x-=o/2,i.y-=o/2,i.width+=o,i.height+=o}this._rect=i}return this._rect},t.initDefaultProps=function(){var n=t.prototype;n.dirtyRectTolerance=10}(),t}(fy);h2.prototype.type="tspan";var Q8e=En({x:0,y:0},Fh),H8e={style:En({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},C3.style)};function K8e(e){return!!(e&&typeof e!="string"&&e.width&&e.height)}var Al=function(e){St(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.createStyle=function(n){return w3(Q8e,n)},t.prototype._getSize=function(n){var r=this.style,i=r[n];if(i!=null)return i;var o=K8e(r.image)?r.image:this.__image;if(!o)return 0;var a=n==="width"?"height":"width",s=r[a];return s==null?o[n]:o[n]/o[a]*s},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return H8e},t.prototype.getBoundingRect=function(){var n=this.style;return this._rect||(this._rect=new dr(n.x||0,n.y||0,this.getWidth(),this.getHeight())),this._rect},t}(fy);Al.prototype.type="image";function G8e(e,t){var n=t.x,r=t.y,i=t.width,o=t.height,a=t.r,s,l,u,c;i<0&&(n=n+i,i=-i),o<0&&(r=r+o,o=-o),typeof a=="number"?s=l=u=c=a:a instanceof Array?a.length===1?s=l=u=c=a[0]:a.length===2?(s=u=a[0],l=c=a[1]):a.length===3?(s=a[0],l=c=a[1],u=a[2]):(s=a[0],l=a[1],u=a[2],c=a[3]):s=l=u=c=0;var f;s+l>i&&(f=s+l,s*=i/f,l*=i/f),u+c>i&&(f=u+c,u*=i/f,c*=i/f),l+u>o&&(f=l+u,l*=o/f,u*=o/f),s+c>o&&(f=s+c,s*=o/f,c*=o/f),e.moveTo(n+s,r),e.lineTo(n+i-l,r),l!==0&&e.arc(n+i-l,r+l,l,-Math.PI/2,0),e.lineTo(n+i,r+o-u),u!==0&&e.arc(n+i-u,r+o-u,u,0,Math.PI/2),e.lineTo(n+c,r+o),c!==0&&e.arc(n+c,r+o-c,c,Math.PI/2,Math.PI),e.lineTo(n,r+s),s!==0&&e.arc(n+s,r+s,s,Math.PI,Math.PI*1.5)}var Ip=Math.round;function s$(e,t,n){if(t){var r=t.x1,i=t.x2,o=t.y1,a=t.y2;e.x1=r,e.x2=i,e.y1=o,e.y2=a;var s=n&&n.lineWidth;return s&&(Ip(r*2)===Ip(i*2)&&(e.x1=e.x2=yh(r,s,!0)),Ip(o*2)===Ip(a*2)&&(e.y1=e.y2=yh(o,s,!0))),e}}function l$(e,t,n){if(t){var r=t.x,i=t.y,o=t.width,a=t.height;e.x=r,e.y=i,e.width=o,e.height=a;var s=n&&n.lineWidth;return s&&(e.x=yh(r,s,!0),e.y=yh(i,s,!0),e.width=Math.max(yh(r+o,s,!1)-e.x,o===0?0:1),e.height=Math.max(yh(i+a,s,!1)-e.y,a===0?0:1)),e}}function yh(e,t,n){if(!t)return e;var r=Ip(e*2);return(r+Ip(t))%2===0?r/2:(r+(n?1:-1))/2}var z8e=function(){function e(){this.x=0,this.y=0,this.width=0,this.height=0}return e}(),J8e={},Oi=function(e){St(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new z8e},t.prototype.buildPath=function(n,r){var i,o,a,s;if(this.subPixelOptimize){var l=l$(J8e,r,this.style);i=l.x,o=l.y,a=l.width,s=l.height,l.r=r.r,r=l}else i=r.x,o=r.y,a=r.width,s=r.height;r.r?G8e(n,r):n.rect(i,o,a,s)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t}(Jn);Oi.prototype.type="rect";var eV={fill:"#000"},tV=2,$8e={style:En({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},C3.style)},Qa=function(e){St(t,e);function t(n){var r=e.call(this)||this;return r.type="text",r._children=[],r._defaultStyle=eV,r.attr(n),r}return t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){e.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var n=0;n<this._children.length;n++){var r=this._children[n];r.zlevel=this.zlevel,r.z=this.z,r.z2=this.z2,r.culling=this.culling,r.cursor=this.cursor,r.invisible=this.invisible}},t.prototype.updateTransform=function(){var n=this.innerTransformable;n?(n.updateTransform(),n.transform&&(this.transform=n.transform)):e.prototype.updateTransform.call(this)},t.prototype.getLocalTransform=function(n){var r=this.innerTransformable;return r?r.getLocalTransform(n):e.prototype.getLocalTransform.call(this,n)},t.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),e.prototype.getComputedTransform.call(this)},t.prototype._updateSubTexts=function(){this._childCursor=0,eTe(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},t.prototype.addSelfToZr=function(n){e.prototype.addSelfToZr.call(this,n);for(var r=0;r<this._children.length;r++)this._children[r].__zr=n},t.prototype.removeSelfFromZr=function(n){e.prototype.removeSelfFromZr.call(this,n);for(var r=0;r<this._children.length;r++)this._children[r].__zr=null},t.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var n=new dr(0,0,0,0),r=this._children,i=[],o=null,a=0;a<r.length;a++){var s=r[a],l=s.getBoundingRect(),u=s.getLocalTransform(i);u?(n.copy(l),n.applyTransform(u),o=o||n.clone(),o.union(n)):(o=o||l.clone(),o.union(l))}this._rect=o||n}return this._rect},t.prototype.setDefaultTextStyle=function(n){this._defaultStyle=n||eV},t.prototype.setTextContent=function(n){},t.prototype._mergeStyle=function(n,r){if(!r)return n;var i=r.rich,o=n.rich||i&&{};return gt(n,r),i&&o?(this._mergeRich(o,i),n.rich=o):o&&(n.rich=o),n},t.prototype._mergeRich=function(n,r){for(var i=Dn(r),o=0;o<i.length;o++){var a=i[o];n[a]=n[a]||{},gt(n[a],r[a])}},t.prototype.getAnimationStyleProps=function(){return $8e},t.prototype._getOrCreateChild=function(n){var r=this._children[this._childCursor];return(!r||!(r instanceof n))&&(r=new n),this._children[this._childCursor++]=r,r.__zr=this.__zr,r.parent=this,r},t.prototype._updatePlainTexts=function(){var n=this.style,r=n.font||Gf,i=n.padding,o=lV(n),a=A8e(o,n),s=yL(n),l=!!n.backgroundColor,u=a.outerHeight,c=a.outerWidth,f=a.contentWidth,d=a.lines,h=a.lineHeight,p=this._defaultStyle,v=n.x||0,g=n.y||0,m=n.align||p.align||"left",y=n.verticalAlign||p.verticalAlign||"top",R=v,A=xp(g,a.contentHeight,y);if(s||i){var x=_g(v,c,m),S=xp(g,u,y);s&&this._renderBackground(n,n,x,S,c,u)}A+=h/2,i&&(R=sV(v,m,i),y==="top"?A+=i[0]:y==="bottom"&&(A-=i[2]));for(var _=0,M=!1,w=aV("fill"in n?n.fill:(M=!0,p.fill)),L=oV("stroke"in n?n.stroke:!l&&(!p.autoStroke||M)?(_=tV,p.stroke):null),k=n.textShadowBlur>0,P=n.width!=null&&(n.overflow==="truncate"||n.overflow==="break"||n.overflow==="breakAll"),F=a.calculatedLineHeight,C=0;C<d.length;C++){var N=this._getOrCreateChild(h2),I=N.createStyle();N.useStyle(I),I.text=d[C],I.x=R,I.y=A,m&&(I.textAlign=m),I.textBaseline="middle",I.opacity=n.opacity,I.strokeFirst=!0,k&&(I.shadowBlur=n.textShadowBlur||0,I.shadowColor=n.textShadowColor||"transparent",I.shadowOffsetX=n.textShadowOffsetX||0,I.shadowOffsetY=n.textShadowOffsetY||0),I.stroke=L,I.fill=w,L&&(I.lineWidth=n.lineWidth||_,I.lineDash=n.lineDash,I.lineDashOffset=n.lineDashOffset||0),I.font=r,rV(I,n),A+=h,P&&N.setBoundingRect(new dr(_g(I.x,n.width,I.textAlign),xp(I.y,F,I.textBaseline),f,F))}},t.prototype._updateRichTexts=function(){var n=this.style,r=lV(n),i=x8e(r,n),o=i.width,a=i.outerWidth,s=i.outerHeight,l=n.padding,u=n.x||0,c=n.y||0,f=this._defaultStyle,d=n.align||f.align,h=n.verticalAlign||f.verticalAlign,p=_g(u,a,d),v=xp(c,s,h),g=p,m=v;l&&(g+=l[3],m+=l[0]);var y=g+o;yL(n)&&this._renderBackground(n,n,p,v,a,s);for(var R=!!n.backgroundColor,A=0;A<i.lines.length;A++){for(var x=i.lines[A],S=x.tokens,_=S.length,M=x.lineHeight,w=x.width,L=0,k=g,P=y,F=_-1,C=void 0;L<_&&(C=S[L],!C.align||C.align==="left");)this._placeToken(C,n,M,m,k,"left",R),w-=C.width,k+=C.width,L++;for(;F>=0&&(C=S[F],C.align==="right");)this._placeToken(C,n,M,m,P,"right",R),w-=C.width,P-=C.width,F--;for(k+=(o-(k-g)-(y-P)-w)/2;L<=F;)C=S[L],this._placeToken(C,n,M,m,k+C.width/2,"center",R),k+=C.width,L++;m+=M}},t.prototype._placeToken=function(n,r,i,o,a,s,l){var u=r.rich[n.styleName]||{};u.text=n.text;var c=n.verticalAlign,f=o+i/2;c==="top"?f=o+n.height/2:c==="bottom"&&(f=o+i-n.height/2);var d=!n.isLineHolder&&yL(u);d&&this._renderBackground(u,r,s==="right"?a-n.width:s==="center"?a-n.width/2:a,f-n.height/2,n.width,n.height);var h=!!u.backgroundColor,p=n.textPadding;p&&(a=sV(a,s,p),f-=n.height/2-p[0]-n.innerHeight/2);var v=this._getOrCreateChild(h2),g=v.createStyle();v.useStyle(g);var m=this._defaultStyle,y=!1,R=0,A=aV("fill"in u?u.fill:"fill"in r?r.fill:(y=!0,m.fill)),x=oV("stroke"in u?u.stroke:"stroke"in r?r.stroke:!h&&!l&&(!m.autoStroke||y)?(R=tV,m.stroke):null),S=u.textShadowBlur>0||r.textShadowBlur>0;g.text=n.text,g.x=a,g.y=f,S&&(g.shadowBlur=u.textShadowBlur||r.textShadowBlur||0,g.shadowColor=u.textShadowColor||r.textShadowColor||"transparent",g.shadowOffsetX=u.textShadowOffsetX||r.textShadowOffsetX||0,g.shadowOffsetY=u.textShadowOffsetY||r.textShadowOffsetY||0),g.textAlign=s,g.textBaseline="middle",g.font=n.font||Gf,g.opacity=dm(u.opacity,r.opacity,1),rV(g,u),x&&(g.lineWidth=dm(u.lineWidth,r.lineWidth,R),g.lineDash=sn(u.lineDash,r.lineDash),g.lineDashOffset=r.lineDashOffset||0,g.stroke=x),A&&(g.fill=A);var _=n.contentWidth,M=n.contentHeight;v.setBoundingRect(new dr(_g(g.x,_,g.textAlign),xp(g.y,M,g.textBaseline),_,M))},t.prototype._renderBackground=function(n,r,i,o,a,s){var l=n.backgroundColor,u=n.borderWidth,c=n.borderColor,f=l&&l.image,d=l&&!f,h=n.borderRadius,p=this,v,g;if(d||n.lineHeight||u&&c){v=this._getOrCreateChild(Oi),v.useStyle(v.createStyle()),v.style.fill=null;var m=v.shape;m.x=i,m.y=o,m.width=a,m.height=s,m.r=h,v.dirtyShape()}if(d){var y=v.style;y.fill=l||null,y.fillOpacity=sn(n.fillOpacity,1)}else if(f){g=this._getOrCreateChild(Al),g.onload=function(){p.dirtyStyle()};var R=g.style;R.image=l.image,R.x=i,R.y=o,R.width=a,R.height=s}if(u&&c){var y=v.style;y.lineWidth=u,y.stroke=c,y.strokeOpacity=sn(n.strokeOpacity,1),y.lineDash=n.borderDash,y.lineDashOffset=n.borderDashOffset||0,v.strokeContainThreshold=0,v.hasFill()&&v.hasStroke()&&(y.strokeFirst=!0,y.lineWidth*=2)}var A=(v||g).style;A.shadowBlur=n.shadowBlur||0,A.shadowColor=n.shadowColor||"transparent",A.shadowOffsetX=n.shadowOffsetX||0,A.shadowOffsetY=n.shadowOffsetY||0,A.opacity=dm(n.opacity,r.opacity,1)},t.makeFont=function(n){var r="";return c$(n)&&(r=[n.fontStyle,n.fontWeight,u$(n.fontSize),n.fontFamily||"sans-serif"].join(" ")),r&&xf(r)||n.textFont||n.font},t}(fy),j8e={left:!0,right:1,center:1},q8e={top:1,bottom:1,middle:1},nV=["fontStyle","fontWeight","fontSize","fontFamily"];function u$(e){return typeof e=="string"&&(e.indexOf("px")!==-1||e.indexOf("rem")!==-1||e.indexOf("em")!==-1)?e:isNaN(+e)?Ik+"px":e+"px"}function rV(e,t){for(var n=0;n<nV.length;n++){var r=nV[n],i=t[r];i!=null&&(e[r]=i)}}function c$(e){return e.fontSize!=null||e.fontFamily||e.fontWeight}function eTe(e){return iV(e),Pe(e.rich,iV),e}function iV(e){if(e){e.font=Qa.makeFont(e);var t=e.align;t==="middle"&&(t="center"),e.align=t==null||j8e[t]?t:"left";var n=e.verticalAlign;n==="center"&&(n="middle"),e.verticalAlign=n==null||q8e[n]?n:"top";var r=e.padding;r&&(e.padding=yJ(e.padding))}}function oV(e,t){return e==null||t<=0||e==="transparent"||e==="none"?null:e.image||e.colorStops?"#000":e}function aV(e){return e==null||e==="none"?null:e.image||e.colorStops?"#000":e}function sV(e,t,n){return t==="right"?e-n[1]:t==="center"?e+n[3]/2-n[1]/2:e+n[3]}function lV(e){var t=e.text;return t!=null&&(t+=""),t}function yL(e){return!!(e.backgroundColor||e.lineHeight||e.borderWidth&&e.borderColor)}var wr=Ii(),tTe=function(e,t,n,r){if(r){var i=wr(r);i.dataIndex=n,i.dataType=t,i.seriesIndex=e,i.ssrType="chart",r.type==="group"&&r.traverse(function(o){var a=wr(o);a.seriesIndex=e,a.dataIndex=n,a.dataType=t,a.ssrType="chart"})}},uV=1,cV={},f$=Ii(),zk=Ii(),Jk=0,I3=1,N3=2,ks=["emphasis","blur","select"],tS=["normal","emphasis","blur","select"],nTe=10,rTe=9,Eh="highlight",Tb="downplay",ym="select",_b="unselect",Am="toggleSelect";function G0(e){return e!=null&&e!=="none"}function F3(e,t,n){e.onHoverStateChange&&(e.hoverState||0)!==n&&e.onHoverStateChange(t),e.hoverState=n}function d$(e){F3(e,"emphasis",N3)}function h$(e){e.hoverState===N3&&F3(e,"normal",Jk)}function $k(e){F3(e,"blur",I3)}function p$(e){e.hoverState===I3&&F3(e,"normal",Jk)}function iTe(e){e.selected=!0}function oTe(e){e.selected=!1}function fV(e,t,n){t(e,n)}function Rc(e,t,n){fV(e,t,n),e.isGroup&&e.traverse(function(r){fV(r,t,n)})}function dV(e,t){switch(t){case"emphasis":e.hoverState=N3;break;case"normal":e.hoverState=Jk;break;case"blur":e.hoverState=I3;break;case"select":e.selected=!0}}function aTe(e,t,n,r){for(var i=e.style,o={},a=0;a<t.length;a++){var s=t[a],l=i[s];o[s]=l??(r&&r[s])}for(var a=0;a<e.animators.length;a++){var u=e.animators[a];u.__fromStateTransition&&u.__fromStateTransition.indexOf(n)<0&&u.targetName==="style"&&u.saveTo(o,t)}return o}function sTe(e,t,n,r){var i=n&&Sr(n,"select")>=0,o=!1;if(e instanceof Jn){var a=f$(e),s=i&&a.selectFill||a.normalFill,l=i&&a.selectStroke||a.normalStroke;if(G0(s)||G0(l)){r=r||{};var u=r.style||{};u.fill==="inherit"?(o=!0,r=gt({},r),u=gt({},u),u.fill=s):!G0(u.fill)&&G0(s)?(o=!0,r=gt({},r),u=gt({},u),u.fill=_6(s)):!G0(u.stroke)&&G0(l)&&(o||(r=gt({},r),u=gt({},u)),u.stroke=_6(l)),r.style=u}}if(r&&r.z2==null){o||(r=gt({},r));var c=e.z2EmphasisLift;r.z2=e.z2+(c??nTe)}return r}function lTe(e,t,n){if(n&&n.z2==null){n=gt({},n);var r=e.z2SelectLift;n.z2=e.z2+(r??rTe)}return n}function uTe(e,t,n){var r=Sr(e.currentStates,t)>=0,i=e.style.opacity,o=r?null:aTe(e,["opacity"],t,{opacity:1});n=n||{};var a=n.style||{};return a.opacity==null&&(n=gt({},n),a=gt({opacity:r?i:o.opacity*.1},a),n.style=a),n}function AL(e,t){var n=this.states[e];if(this.style){if(e==="emphasis")return sTe(this,e,t,n);if(e==="blur")return uTe(this,e,n);if(e==="select")return lTe(this,e,n)}return n}function cTe(e){e.stateProxy=AL;var t=e.getTextContent(),n=e.getTextGuideLine();t&&(t.stateProxy=AL),n&&(n.stateProxy=AL)}function hV(e,t){!y$(e,t)&&!e.__highByOuter&&Rc(e,d$)}function pV(e,t){!y$(e,t)&&!e.__highByOuter&&Rc(e,h$)}function nS(e,t){e.__highByOuter|=1<<(t||0),Rc(e,d$)}function rS(e,t){!(e.__highByOuter&=~(1<<(t||0)))&&Rc(e,h$)}function fTe(e){Rc(e,$k)}function v$(e){Rc(e,p$)}function g$(e){Rc(e,iTe)}function m$(e){Rc(e,oTe)}function y$(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function A$(e){var t=e.getModel(),n=[],r=[];t.eachComponent(function(i,o){var a=zk(o),s=i==="series",l=s?e.getViewOfSeriesModel(o):e.getViewOfComponentModel(o);!s&&r.push(l),a.isBlured&&(l.group.traverse(function(u){p$(u)}),s&&n.push(o)),a.isBlured=!1}),Pe(r,function(i){i&&i.toggleBlurSeries&&i.toggleBlurSeries(n,!1,t)})}function Z6(e,t,n,r){var i=r.getModel();n=n||"coordinateSystem";function o(u,c){for(var f=0;f<c.length;f++){var d=u.getItemGraphicEl(c[f]);d&&v$(d)}}if(e!=null&&!(!t||t==="none")){var a=i.getSeriesByIndex(e),s=a.coordinateSystem;s&&s.master&&(s=s.master);var l=[];i.eachSeries(function(u){var c=a===u,f=u.coordinateSystem;f&&f.master&&(f=f.master);var d=f&&s?f===s:c;if(!(n==="series"&&!c||n==="coordinateSystem"&&!d||t==="series"&&c)){var h=r.getViewOfSeriesModel(u);if(h.group.traverse(function(g){g.__highByOuter&&c&&t==="self"||$k(g)}),fa(t))o(u.getData(),t);else if(rn(t))for(var p=Dn(t),v=0;v<p.length;v++)o(u.getData(p[v]),t[p[v]]);l.push(u),zk(u).isBlured=!0}}),i.eachComponent(function(u,c){if(u!=="series"){var f=r.getViewOfComponentModel(c);f&&f.toggleBlurSeries&&f.toggleBlurSeries(l,!0,i)}})}}function Q6(e,t,n){if(!(e==null||t==null)){var r=n.getModel().getComponent(e,t);if(r){zk(r).isBlured=!0;var i=n.getViewOfComponentModel(r);!i||!i.focusBlurEnabled||i.group.traverse(function(o){$k(o)})}}}function dTe(e,t,n){var r=e.seriesIndex,i=e.getData(t.dataType);if(i){var o=Tv(i,t);o=(It(o)?o[0]:o)||0;var a=i.getItemGraphicEl(o);if(!a)for(var s=i.count(),l=0;!a&&l<s;)a=i.getItemGraphicEl(l++);if(a){var u=wr(a);Z6(r,u.focus,u.blurScope,n)}else{var c=e.get(["emphasis","focus"]),f=e.get(["emphasis","blurScope"]);c!=null&&Z6(r,c,f,n)}}}function jk(e,t,n,r){var i={focusSelf:!1,dispatchers:null};if(e==null||e==="series"||t==null||n==null)return i;var o=r.getModel().getComponent(e,t);if(!o)return i;var a=r.getViewOfComponentModel(o);if(!a||!a.findHighDownDispatchers)return i;for(var s=a.findHighDownDispatchers(n),l,u=0;u<s.length;u++)if(wr(s[u]).focus==="self"){l=!0;break}return{focusSelf:l,dispatchers:s}}function hTe(e,t,n){var r=wr(e),i=jk(r.componentMainType,r.componentIndex,r.componentHighDownName,n),o=i.dispatchers,a=i.focusSelf;o?(a&&Q6(r.componentMainType,r.componentIndex,n),Pe(o,function(s){return hV(s,t)})):(Z6(r.seriesIndex,r.focus,r.blurScope,n),r.focus==="self"&&Q6(r.componentMainType,r.componentIndex,n),hV(e,t))}function pTe(e,t,n){A$(n);var r=wr(e),i=jk(r.componentMainType,r.componentIndex,r.componentHighDownName,n).dispatchers;i?Pe(i,function(o){return pV(o,t)}):pV(e,t)}function vTe(e,t,n){if(G6(t)){var r=t.dataType,i=e.getData(r),o=Tv(i,t);It(o)||(o=[o]),e[t.type===Am?"toggleSelect":t.type===ym?"select":"unselect"](o,r)}}function vV(e){var t=e.getAllData();Pe(t,function(n){var r=n.data,i=n.type;r.eachItemGraphicEl(function(o,a){e.isSelected(a,i)?g$(o):m$(o)})})}function gTe(e){var t=[];return e.eachSeries(function(n){var r=n.getAllData();Pe(r,function(i){i.data;var o=i.type,a=n.getSelectedDataIndices();if(a.length>0){var s={dataIndex:a,seriesIndex:n.seriesIndex};o!=null&&(s.dataType=o),t.push(s)}})}),t}function H6(e,t,n){R$(e,!0),Rc(e,cTe),yTe(e,t,n)}function mTe(e){R$(e,!1)}function _v(e,t,n,r){r?mTe(e):H6(e,t,n)}function yTe(e,t,n){var r=wr(e);t!=null?(r.focus=t,r.blurScope=n):r.focus&&(r.focus=null)}var gV=["emphasis","blur","select"],ATe={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function Ov(e,t,n,r){n=n||"itemStyle";for(var i=0;i<gV.length;i++){var o=gV[i],a=t.getModel([o,n]),s=e.ensureState(o);s.style=a[ATe[n]]()}}function R$(e,t){var n=t===!1,r=e;e.highDownSilentOnTouch&&(r.__highDownSilentOnTouch=e.highDownSilentOnTouch),(!n||r.__highDownDispatcher)&&(r.__highByOuter=r.__highByOuter||0,r.__highDownDispatcher=!n)}function K6(e){return!!(e&&e.__highDownDispatcher)}function RTe(e){var t=cV[e];return t==null&&uV<=32&&(t=cV[e]=uV++),t}function G6(e){var t=e.type;return t===ym||t===_b||t===Am}function mV(e){var t=e.type;return t===Eh||t===Tb}function bTe(e){var t=f$(e);t.normalFill=e.style.fill,t.normalStroke=e.style.stroke;var n=e.states.select||{};t.selectFill=n.style&&n.style.fill||null,t.selectStroke=n.style&&n.style.stroke||null}var z0=jf.CMD,xTe=[[],[],[]],yV=Math.sqrt,STe=Math.atan2;function wTe(e,t){if(t){var n=e.data,r=e.len(),i,o,a,s,l,u,c=z0.M,f=z0.C,d=z0.L,h=z0.R,p=z0.A,v=z0.Q;for(a=0,s=0;a<r;){switch(i=n[a++],s=a,o=0,i){case c:o=1;break;case d:o=1;break;case f:o=3;break;case v:o=2;break;case p:var g=t[4],m=t[5],y=yV(t[0]*t[0]+t[1]*t[1]),R=yV(t[2]*t[2]+t[3]*t[3]),A=STe(-t[1]/R,t[0]/y);n[a]*=y,n[a++]+=g,n[a]*=R,n[a++]+=m,n[a++]*=y,n[a++]*=R,n[a++]+=A,n[a++]+=A,a+=2,s=a;break;case h:u[0]=n[a++],u[1]=n[a++],Ms(u,u,t),n[s++]=u[0],n[s++]=u[1],u[0]+=n[a++],u[1]+=n[a++],Ms(u,u,t),n[s++]=u[0],n[s++]=u[1]}for(l=0;l<o;l++){var x=xTe[l];x[0]=n[a++],x[1]=n[a++],Ms(x,x,t),n[s++]=x[0],n[s++]=x[1]}}e.increaseVersion()}}var RL=Math.sqrt,sR=Math.sin,lR=Math.cos,V1=Math.PI;function AV(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function z6(e,t){return(e[0]*t[0]+e[1]*t[1])/(AV(e)*AV(t))}function RV(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(z6(e,t))}function bV(e,t,n,r,i,o,a,s,l,u,c){var f=l*(V1/180),d=lR(f)*(e-n)/2+sR(f)*(t-r)/2,h=-1*sR(f)*(e-n)/2+lR(f)*(t-r)/2,p=d*d/(a*a)+h*h/(s*s);p>1&&(a*=RL(p),s*=RL(p));var v=(i===o?-1:1)*RL((a*a*(s*s)-a*a*(h*h)-s*s*(d*d))/(a*a*(h*h)+s*s*(d*d)))||0,g=v*a*h/s,m=v*-s*d/a,y=(e+n)/2+lR(f)*g-sR(f)*m,R=(t+r)/2+sR(f)*g+lR(f)*m,A=RV([1,0],[(d-g)/a,(h-m)/s]),x=[(d-g)/a,(h-m)/s],S=[(-1*d-g)/a,(-1*h-m)/s],_=RV(x,S);if(z6(x,S)<=-1&&(_=V1),z6(x,S)>=1&&(_=0),_<0){var M=Math.round(_/V1*1e6)/1e6;_=V1*2+M%2*V1}c.addData(u,y,R,a,s,A,_,f,o)}var MTe=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,LTe=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function TTe(e){var t=new jf;if(!e)return t;var n=0,r=0,i=n,o=r,a,s=jf.CMD,l=e.match(MTe);if(!l)return t;for(var u=0;u<l.length;u++){for(var c=l[u],f=c.charAt(0),d=void 0,h=c.match(LTe)||[],p=h.length,v=0;v<p;v++)h[v]=parseFloat(h[v]);for(var g=0;g<p;){var m=void 0,y=void 0,R=void 0,A=void 0,x=void 0,S=void 0,_=void 0,M=n,w=r,L=void 0,k=void 0;switch(f){case"l":n+=h[g++],r+=h[g++],d=s.L,t.addData(d,n,r);break;case"L":n=h[g++],r=h[g++],d=s.L,t.addData(d,n,r);break;case"m":n+=h[g++],r+=h[g++],d=s.M,t.addData(d,n,r),i=n,o=r,f="l";break;case"M":n=h[g++],r=h[g++],d=s.M,t.addData(d,n,r),i=n,o=r,f="L";break;case"h":n+=h[g++],d=s.L,t.addData(d,n,r);break;case"H":n=h[g++],d=s.L,t.addData(d,n,r);break;case"v":r+=h[g++],d=s.L,t.addData(d,n,r);break;case"V":r=h[g++],d=s.L,t.addData(d,n,r);break;case"C":d=s.C,t.addData(d,h[g++],h[g++],h[g++],h[g++],h[g++],h[g++]),n=h[g-2],r=h[g-1];break;case"c":d=s.C,t.addData(d,h[g++]+n,h[g++]+r,h[g++]+n,h[g++]+r,h[g++]+n,h[g++]+r),n+=h[g-2],r+=h[g-1];break;case"S":m=n,y=r,L=t.len(),k=t.data,a===s.C&&(m+=n-k[L-4],y+=r-k[L-3]),d=s.C,M=h[g++],w=h[g++],n=h[g++],r=h[g++],t.addData(d,m,y,M,w,n,r);break;case"s":m=n,y=r,L=t.len(),k=t.data,a===s.C&&(m+=n-k[L-4],y+=r-k[L-3]),d=s.C,M=n+h[g++],w=r+h[g++],n+=h[g++],r+=h[g++],t.addData(d,m,y,M,w,n,r);break;case"Q":M=h[g++],w=h[g++],n=h[g++],r=h[g++],d=s.Q,t.addData(d,M,w,n,r);break;case"q":M=h[g++]+n,w=h[g++]+r,n+=h[g++],r+=h[g++],d=s.Q,t.addData(d,M,w,n,r);break;case"T":m=n,y=r,L=t.len(),k=t.data,a===s.Q&&(m+=n-k[L-4],y+=r-k[L-3]),n=h[g++],r=h[g++],d=s.Q,t.addData(d,m,y,n,r);break;case"t":m=n,y=r,L=t.len(),k=t.data,a===s.Q&&(m+=n-k[L-4],y+=r-k[L-3]),n+=h[g++],r+=h[g++],d=s.Q,t.addData(d,m,y,n,r);break;case"A":R=h[g++],A=h[g++],x=h[g++],S=h[g++],_=h[g++],M=n,w=r,n=h[g++],r=h[g++],d=s.A,bV(M,w,n,r,S,_,R,A,x,d,t);break;case"a":R=h[g++],A=h[g++],x=h[g++],S=h[g++],_=h[g++],M=n,w=r,n+=h[g++],r+=h[g++],d=s.A,bV(M,w,n,r,S,_,R,A,x,d,t);break}}(f==="z"||f==="Z")&&(d=s.Z,t.addData(d),n=i,r=o),a=d}return t.toStatic(),t}var b$=function(e){St(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.applyTransform=function(n){},t}(Jn);function x$(e){return e.setData!=null}function S$(e,t){var n=TTe(e),r=gt({},t);return r.buildPath=function(i){if(x$(i)){i.setData(n.data);var o=i.getContext();o&&i.rebuildPath(o,1)}else{var o=i;n.rebuildPath(o,1)}},r.applyTransform=function(i){wTe(n,i),this.dirtyShape()},r}function _Te(e,t){return new b$(S$(e,t))}function OTe(e,t){var n=S$(e,t),r=function(i){St(o,i);function o(a){var s=i.call(this,a)||this;return s.applyTransform=n.applyTransform,s.buildPath=n.buildPath,s}return o}(b$);return r}function kTe(e,t){for(var n=[],r=e.length,i=0;i<r;i++){var o=e[i];n.push(o.getUpdatedPathProxy(!0))}var a=new Jn(t);return a.createPathProxy(),a.buildPath=function(s){if(x$(s)){s.appendPath(n);var l=s.getContext();l&&s.rebuildPath(l,1)}},a}var PTe=function(){function e(){this.cx=0,this.cy=0,this.r=0}return e}(),dy=function(e){St(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new PTe},t.prototype.buildPath=function(n,r){n.moveTo(r.cx+r.r,r.cy),n.arc(r.cx,r.cy,r.r,0,Math.PI*2)},t}(Jn);dy.prototype.type="circle";var CTe=function(){function e(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return e}(),qk=function(e){St(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new CTe},t.prototype.buildPath=function(n,r){var i=.5522848,o=r.cx,a=r.cy,s=r.rx,l=r.ry,u=s*i,c=l*i;n.moveTo(o-s,a),n.bezierCurveTo(o-s,a-c,o-u,a-l,o,a-l),n.bezierCurveTo(o+u,a-l,o+s,a-c,o+s,a),n.bezierCurveTo(o+s,a+c,o+u,a+l,o,a+l),n.bezierCurveTo(o-u,a+l,o-s,a+c,o-s,a),n.closePath()},t}(Jn);qk.prototype.type="ellipse";var w$=Math.PI,bL=w$*2,Zd=Math.sin,J0=Math.cos,ITe=Math.acos,qi=Math.atan2,xV=Math.abs,Rm=Math.sqrt,Og=Math.max,Il=Math.min,zs=1e-4;function NTe(e,t,n,r,i,o,a,s){var l=n-e,u=r-t,c=a-i,f=s-o,d=f*l-c*u;if(!(d*d<zs))return d=(c*(t-o)-f*(e-i))/d,[e+d*l,t+d*u]}function uR(e,t,n,r,i,o,a){var s=e-n,l=t-r,u=(a?o:-o)/Rm(s*s+l*l),c=u*l,f=-u*s,d=e+c,h=t+f,p=n+c,v=r+f,g=(d+p)/2,m=(h+v)/2,y=p-d,R=v-h,A=y*y+R*R,x=i-o,S=d*v-p*h,_=(R<0?-1:1)*Rm(Og(0,x*x*A-S*S)),M=(S*R-y*_)/A,w=(-S*y-R*_)/A,L=(S*R+y*_)/A,k=(-S*y+R*_)/A,P=M-g,F=w-m,C=L-g,N=k-m;return P*P+F*F>C*C+N*N&&(M=L,w=k),{cx:M,cy:w,x0:-c,y0:-f,x1:M*(i/x-1),y1:w*(i/x-1)}}function FTe(e){var t;if(It(e)){var n=e.length;if(!n)return e;n===1?t=[e[0],e[0],0,0]:n===2?t=[e[0],e[0],e[1],e[1]]:n===3?t=e.concat(e[2]):t=e}else t=[e,e,e,e];return t}function ETe(e,t){var n,r=Og(t.r,0),i=Og(t.r0||0,0),o=r>0,a=i>0;if(!(!o&&!a)){if(o||(r=i,i=0),i>r){var s=r;r=i,i=s}var l=t.startAngle,u=t.endAngle;if(!(isNaN(l)||isNaN(u))){var c=t.cx,f=t.cy,d=!!t.clockwise,h=xV(u-l),p=h>bL&&h%bL;if(p>zs&&(h=p),!(r>zs))e.moveTo(c,f);else if(h>bL-zs)e.moveTo(c+r*J0(l),f+r*Zd(l)),e.arc(c,f,r,l,u,!d),i>zs&&(e.moveTo(c+i*J0(u),f+i*Zd(u)),e.arc(c,f,i,u,l,d));else{var v=void 0,g=void 0,m=void 0,y=void 0,R=void 0,A=void 0,x=void 0,S=void 0,_=void 0,M=void 0,w=void 0,L=void 0,k=void 0,P=void 0,F=void 0,C=void 0,N=r*J0(l),I=r*Zd(l),V=i*J0(u),W=i*Zd(u),Z=h>zs;if(Z){var re=t.cornerRadius;re&&(n=FTe(re),v=n[0],g=n[1],m=n[2],y=n[3]);var Y=xV(r-i)/2;if(R=Il(Y,m),A=Il(Y,y),x=Il(Y,v),S=Il(Y,g),w=_=Og(R,A),L=M=Og(x,S),(_>zs||M>zs)&&(k=r*J0(u),P=r*Zd(u),F=i*J0(l),C=i*Zd(l),h<w$)){var B=NTe(N,I,F,C,k,P,V,W);if(B){var Q=N-B[0],K=I-B[1],q=k-B[0],j=P-B[1],de=1/Zd(ITe((Q*q+K*j)/(Rm(Q*Q+K*K)*Rm(q*q+j*j)))/2),G=Rm(B[0]*B[0]+B[1]*B[1]);w=Il(_,(r-G)/(de+1)),L=Il(M,(i-G)/(de-1))}}}if(!Z)e.moveTo(c+N,f+I);else if(w>zs){var Ae=Il(m,w),ce=Il(y,w),fe=uR(F,C,N,I,r,Ae,d),le=uR(k,P,V,W,r,ce,d);e.moveTo(c+fe.cx+fe.x0,f+fe.cy+fe.y0),w<_&&Ae===ce?e.arc(c+fe.cx,f+fe.cy,w,qi(fe.y0,fe.x0),qi(le.y0,le.x0),!d):(Ae>0&&e.arc(c+fe.cx,f+fe.cy,Ae,qi(fe.y0,fe.x0),qi(fe.y1,fe.x1),!d),e.arc(c,f,r,qi(fe.cy+fe.y1,fe.cx+fe.x1),qi(le.cy+le.y1,le.cx+le.x1),!d),ce>0&&e.arc(c+le.cx,f+le.cy,ce,qi(le.y1,le.x1),qi(le.y0,le.x0),!d))}else e.moveTo(c+N,f+I),e.arc(c,f,r,l,u,!d);if(!(i>zs)||!Z)e.lineTo(c+V,f+W);else if(L>zs){var Ae=Il(v,L),ce=Il(g,L),fe=uR(V,W,k,P,i,-ce,d),le=uR(N,I,F,C,i,-Ae,d);e.lineTo(c+fe.cx+fe.x0,f+fe.cy+fe.y0),L<M&&Ae===ce?e.arc(c+fe.cx,f+fe.cy,L,qi(fe.y0,fe.x0),qi(le.y0,le.x0),!d):(ce>0&&e.arc(c+fe.cx,f+fe.cy,ce,qi(fe.y0,fe.x0),qi(fe.y1,fe.x1),!d),e.arc(c,f,i,qi(fe.cy+fe.y1,fe.cx+fe.x1),qi(le.cy+le.y1,le.cx+le.x1),d),Ae>0&&e.arc(c+le.cx,f+le.cy,Ae,qi(le.y1,le.x1),qi(le.y0,le.x0),!d))}else e.lineTo(c+V,f+W),e.arc(c,f,i,u,l,d)}e.closePath()}}}var XTe=function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return e}(),hd=function(e){St(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new XTe},t.prototype.buildPath=function(n,r){ETe(n,r)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t}(Jn);hd.prototype.type="sector";var WTe=function(){function e(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return e}(),E3=function(e){St(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new WTe},t.prototype.buildPath=function(n,r){var i=r.cx,o=r.cy,a=Math.PI*2;n.moveTo(i+r.r,o),n.arc(i,o,r.r,0,a,!1),n.moveTo(i+r.r0,o),n.arc(i,o,r.r0,0,a,!0)},t}(Jn);E3.prototype.type="ring";function VTe(e,t,n,r){var i=[],o=[],a=[],s=[],l,u,c,f;if(r){c=[1/0,1/0],f=[-1/0,-1/0];for(var d=0,h=e.length;d<h;d++)kp(c,c,e[d]),Pp(f,f,e[d]);kp(c,c,r[0]),Pp(f,f,r[1])}for(var d=0,h=e.length;d<h;d++){var p=e[d];if(n)l=e[d?d-1:h-1],u=e[(d+1)%h];else if(d===0||d===h-1){i.push(h5e(e[d]));continue}else l=e[d-1],u=e[d+1];p5e(o,u,l),V5(o,o,t);var v=b6(p,l),g=b6(p,u),m=v+g;m!==0&&(v/=m,g/=m),V5(a,o,-v),V5(s,o,g);var y=hW([],p,a),R=hW([],p,s);r&&(Pp(y,y,c),kp(y,y,f),Pp(R,R,c),kp(R,R,f)),i.push(y),i.push(R)}return n&&i.push(i.shift()),i}function M$(e,t,n){var r=t.smooth,i=t.points;if(i&&i.length>=2){if(r){var o=VTe(i,r,n,t.smoothConstraint);e.moveTo(i[0][0],i[0][1]);for(var a=i.length,s=0;s<(n?a:a-1);s++){var l=o[s*2],u=o[s*2+1],c=i[(s+1)%a];e.bezierCurveTo(l[0],l[1],u[0],u[1],c[0],c[1])}}else{e.moveTo(i[0][0],i[0][1]);for(var s=1,f=i.length;s<f;s++)e.lineTo(i[s][0],i[s][1])}n&&e.closePath()}}var DTe=function(){function e(){this.points=null,this.smooth=0,this.smoothConstraint=null}return e}(),hy=function(e){St(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new DTe},t.prototype.buildPath=function(n,r){M$(n,r,!0)},t}(Jn);hy.prototype.type="polygon";var UTe=function(){function e(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return e}(),p0=function(e){St(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new UTe},t.prototype.buildPath=function(n,r){M$(n,r,!1)},t}(Jn);p0.prototype.type="polyline";var BTe={},YTe=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return e}(),qf=function(e){St(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new YTe},t.prototype.buildPath=function(n,r){var i,o,a,s;if(this.subPixelOptimize){var l=s$(BTe,r,this.style);i=l.x1,o=l.y1,a=l.x2,s=l.y2}else i=r.x1,o=r.y1,a=r.x2,s=r.y2;var u=r.percent;u!==0&&(n.moveTo(i,o),u<1&&(a=i*(1-u)+a*u,s=o*(1-u)+s*u),n.lineTo(a,s))},t.prototype.pointAt=function(n){var r=this.shape;return[r.x1*(1-n)+r.x2*n,r.y1*(1-n)+r.y2*n]},t}(Jn);qf.prototype.type="line";var Uo=[],ZTe=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return e}();function SV(e,t,n){var r=e.cpx2,i=e.cpy2;return r!=null||i!=null?[(n?wW:Qi)(e.x1,e.cpx1,e.cpx2,e.x2,t),(n?wW:Qi)(e.y1,e.cpy1,e.cpy2,e.y2,t)]:[(n?MW:Jo)(e.x1,e.cpx1,e.x2,t),(n?MW:Jo)(e.y1,e.cpy1,e.y2,t)]}var eP=function(e){St(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new ZTe},t.prototype.buildPath=function(n,r){var i=r.x1,o=r.y1,a=r.x2,s=r.y2,l=r.cpx1,u=r.cpy1,c=r.cpx2,f=r.cpy2,d=r.percent;d!==0&&(n.moveTo(i,o),c==null||f==null?(d<1&&(zx(i,l,a,d,Uo),l=Uo[1],a=Uo[2],zx(o,u,s,d,Uo),u=Uo[1],s=Uo[2]),n.quadraticCurveTo(l,u,a,s)):(d<1&&(Gx(i,l,c,a,d,Uo),l=Uo[1],c=Uo[2],a=Uo[3],Gx(o,u,f,s,d,Uo),u=Uo[1],f=Uo[2],s=Uo[3]),n.bezierCurveTo(l,u,c,f,a,s)))},t.prototype.pointAt=function(n){return SV(this.shape,n,!1)},t.prototype.tangentAt=function(n){var r=SV(this.shape,n,!0);return m5e(r,r)},t}(Jn);eP.prototype.type="bezier-curve";var QTe=function(){function e(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return e}(),X3=function(e){St(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new QTe},t.prototype.buildPath=function(n,r){var i=r.cx,o=r.cy,a=Math.max(r.r,0),s=r.startAngle,l=r.endAngle,u=r.clockwise,c=Math.cos(s),f=Math.sin(s);n.moveTo(c*a+i,f*a+o),n.arc(i,o,a,s,l,!u)},t}(Jn);X3.prototype.type="arc";var HTe=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="compound",n}return t.prototype._updatePathDirty=function(){for(var n=this.shape.paths,r=this.shapeChanged(),i=0;i<n.length;i++)r=r||n[i].shapeChanged();r&&this.dirtyShape()},t.prototype.beforeBrush=function(){this._updatePathDirty();for(var n=this.shape.paths||[],r=this.getGlobalScale(),i=0;i<n.length;i++)n[i].path||n[i].createPathProxy(),n[i].path.setScale(r[0],r[1],n[i].segmentIgnoreThreshold)},t.prototype.buildPath=function(n,r){for(var i=r.paths||[],o=0;o<i.length;o++)i[o].buildPath(n,i[o].shape,!0)},t.prototype.afterBrush=function(){for(var n=this.shape.paths||[],r=0;r<n.length;r++)n[r].pathUpdated()},t.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),Jn.prototype.getBoundingRect.call(this)},t}(Jn);const L$=HTe;var T$=function(){function e(t){this.colorStops=t||[]}return e.prototype.addColorStop=function(t,n){this.colorStops.push({offset:t,color:n})},e}(),_$=function(e){St(t,e);function t(n,r,i,o,a,s){var l=e.call(this,a)||this;return l.x=n??0,l.y=r??0,l.x2=i??1,l.y2=o??0,l.type="linear",l.global=s||!1,l}return t}(T$),KTe=function(e){St(t,e);function t(n,r,i,o,a){var s=e.call(this,o)||this;return s.x=n??.5,s.y=r??.5,s.r=i??.5,s.type="radial",s.global=a||!1,s}return t}(T$);const GTe=KTe;var Qd=[0,0],Hd=[0,0],cR=new cn,fR=new cn,zTe=function(){function e(t,n){this._corners=[],this._axes=[],this._origin=[0,0];for(var r=0;r<4;r++)this._corners[r]=new cn;for(var r=0;r<2;r++)this._axes[r]=new cn;t&&this.fromBoundingRect(t,n)}return e.prototype.fromBoundingRect=function(t,n){var r=this._corners,i=this._axes,o=t.x,a=t.y,s=o+t.width,l=a+t.height;if(r[0].set(o,a),r[1].set(s,a),r[2].set(s,l),r[3].set(o,l),n)for(var u=0;u<4;u++)r[u].transform(n);cn.sub(i[0],r[1],r[0]),cn.sub(i[1],r[3],r[0]),i[0].normalize(),i[1].normalize();for(var u=0;u<2;u++)this._origin[u]=i[u].dot(r[0])},e.prototype.intersect=function(t,n){var r=!0,i=!n;return cR.set(1/0,1/0),fR.set(0,0),!this._intersectCheckOneSide(this,t,cR,fR,i,1)&&(r=!1,i)||!this._intersectCheckOneSide(t,this,cR,fR,i,-1)&&(r=!1,i)||i||cn.copy(n,r?cR:fR),r},e.prototype._intersectCheckOneSide=function(t,n,r,i,o,a){for(var s=!0,l=0;l<2;l++){var u=this._axes[l];if(this._getProjMinMaxOnAxis(l,t._corners,Qd),this._getProjMinMaxOnAxis(l,n._corners,Hd),Qd[1]<Hd[0]||Qd[0]>Hd[1]){if(s=!1,o)return s;var c=Math.abs(Hd[0]-Qd[1]),f=Math.abs(Qd[0]-Hd[1]);Math.min(c,f)>i.len()&&(c<f?cn.scale(i,u,-c*a):cn.scale(i,u,f*a))}else if(r){var c=Math.abs(Hd[0]-Qd[1]),f=Math.abs(Qd[0]-Hd[1]);Math.min(c,f)<r.len()&&(c<f?cn.scale(r,u,c*a):cn.scale(r,u,-f*a))}}return s},e.prototype._getProjMinMaxOnAxis=function(t,n,r){for(var i=this._axes[t],o=this._origin,a=n[0].dot(i)+o[t],s=a,l=a,u=1;u<n.length;u++){var c=n[u].dot(i)+o[t];s=Math.min(c,s),l=Math.max(c,l)}r[0]=s,r[1]=l},e}();const iS=zTe;var JTe=[],$Te=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.notClear=!0,n.incremental=!0,n._displayables=[],n._temporaryDisplayables=[],n._cursor=0,n}return t.prototype.traverse=function(n,r){n.call(r,this)},t.prototype.useStyle=function(){this.style={}},t.prototype.getCursor=function(){return this._cursor},t.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},t.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},t.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},t.prototype.addDisplayable=function(n,r){r?this._temporaryDisplayables.push(n):this._displayables.push(n),this.markRedraw()},t.prototype.addDisplayables=function(n,r){r=r||!1;for(var i=0;i<n.length;i++)this.addDisplayable(n[i],r)},t.prototype.getDisplayables=function(){return this._displayables},t.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},t.prototype.eachPendingDisplayable=function(n){for(var r=this._cursor;r<this._displayables.length;r++)n&&n(this._displayables[r]);for(var r=0;r<this._temporaryDisplayables.length;r++)n&&n(this._temporaryDisplayables[r])},t.prototype.update=function(){this.updateTransform();for(var n=this._cursor;n<this._displayables.length;n++){var r=this._displayables[n];r.parent=this,r.update(),r.parent=null}for(var n=0;n<this._temporaryDisplayables.length;n++){var r=this._temporaryDisplayables[n];r.parent=this,r.update(),r.parent=null}},t.prototype.getBoundingRect=function(){if(!this._rect){for(var n=new dr(1/0,1/0,-1/0,-1/0),r=0;r<this._displayables.length;r++){var i=this._displayables[r],o=i.getBoundingRect().clone();i.needLocalTransform()&&o.applyTransform(i.getLocalTransform(JTe)),n.union(o)}this._rect=n}return this._rect},t.prototype.contain=function(n,r){var i=this.transformCoordToLocal(n,r),o=this.getBoundingRect();if(o.contain(i[0],i[1]))for(var a=0;a<this._displayables.length;a++){var s=this._displayables[a];if(s.contain(n,r))return!0}return!1},t}(fy);const jTe=$Te;var qTe=Ii();function e6e(e,t,n,r,i){var o;if(t&&t.ecModel){var a=t.ecModel.getUpdatePayload();o=a&&a.animation}var s=t&&t.isAnimationEnabled(),l=e==="update";if(s){var u=void 0,c=void 0,f=void 0;r?(u=sn(r.duration,200),c=sn(r.easing,"cubicOut"),f=0):(u=t.getShallow(l?"animationDurationUpdate":"animationDuration"),c=t.getShallow(l?"animationEasingUpdate":"animationEasing"),f=t.getShallow(l?"animationDelayUpdate":"animationDelay")),o&&(o.duration!=null&&(u=o.duration),o.easing!=null&&(c=o.easing),o.delay!=null&&(f=o.delay)),An(f)&&(f=f(n,i)),An(u)&&(u=u(n));var d={duration:u||0,delay:f,easing:c};return d}else return null}function tP(e,t,n,r,i,o,a){var s=!1,l;An(i)?(a=o,o=i,i=null):rn(i)&&(o=i.cb,a=i.during,s=i.isFrom,l=i.removeOpt,i=i.dataIndex);var u=e==="leave";u||t.stopAnimation("leave");var c=e6e(e,r,i,u?l||{}:null,r&&r.getAnimationDelayParams?r.getAnimationDelayParams(t,i):null);if(c&&c.duration>0){var f=c.duration,d=c.delay,h=c.easing,p={duration:f,delay:d||0,easing:h,done:o,force:!!o||!!a,setToFinal:!u,scope:e,during:a};s?t.animateFrom(n,p):t.animateTo(n,p)}else t.stopAnimation(),!s&&t.attr(n),a&&a(1),o&&o()}function go(e,t,n,r,i,o){tP("update",e,t,n,r,i,o)}function sa(e,t,n,r,i,o){tP("enter",e,t,n,r,i,o)}function bm(e){if(!e.__zr)return!0;for(var t=0;t<e.animators.length;t++){var n=e.animators[t];if(n.scope==="leave")return!0}return!1}function oS(e,t,n,r,i,o){bm(e)||tP("leave",e,t,n,r,i,o)}function wV(e,t,n,r){e.removeTextContent(),e.removeTextGuideLine(),oS(e,{style:{opacity:0}},t,n,r)}function aS(e,t,n){function r(){e.parent&&e.parent.remove(e)}e.isGroup?e.traverse(function(i){i.isGroup||wV(i,t,n,r)}):wV(e,t,n,r)}function p2(e){qTe(e).oldStyle=e.style}var sS=Math.max,lS=Math.min,J6={};function t6e(e){return Jn.extend(e)}var n6e=OTe;function r6e(e,t){return n6e(e,t)}function Rl(e,t){J6[e]=t}function i6e(e){if(J6.hasOwnProperty(e))return J6[e]}function nP(e,t,n,r){var i=_Te(e,t);return n&&(r==="center"&&(n=k$(n,i.getBoundingRect())),P$(i,n)),i}function O$(e,t,n){var r=new Al({style:{image:e,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(i){if(n==="center"){var o={width:i.width,height:i.height};r.setStyle(k$(t,o))}}});return r}function k$(e,t){var n=t.width/t.height,r=e.height*n,i;r<=e.width?i=e.height:(r=e.width,i=r/n);var o=e.x+e.width/2,a=e.y+e.height/2;return{x:o-r/2,y:a-i/2,width:r,height:i}}var $6=kTe;function P$(e,t){if(e.applyTransform){var n=e.getBoundingRect(),r=n.calculateTransform(t);e.applyTransform(r)}}function v2(e,t){return s$(e,e,{lineWidth:t}),e}function o6e(e){return l$(e.shape,e.shape,e.style),e}var a6e=yh;function s6e(e,t){for(var n=Vk([]);e&&e!==t;)ov(n,e.getLocalTransform(),n),e=e.parent;return n}function C$(e,t,n){return t&&!fa(t)&&(t=Zk.getLocalTransform(t)),n&&(t=Dk([],t)),Ms([],e,t)}function l6e(e,t,n){var r=t[4]===0||t[5]===0||t[0]===0?1:Math.abs(2*t[4]/t[0]),i=t[4]===0||t[5]===0||t[2]===0?1:Math.abs(2*t[4]/t[2]),o=[e==="left"?-r:e==="right"?r:0,e==="top"?-i:e==="bottom"?i:0];return o=C$(o,t,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function MV(e){return!e.isGroup}function u6e(e){return e.shape!=null}function I$(e,t,n){if(!e||!t)return;function r(a){var s={};return a.traverse(function(l){MV(l)&&l.anid&&(s[l.anid]=l)}),s}function i(a){var s={x:a.x,y:a.y,rotation:a.rotation};return u6e(a)&&(s.shape=gt({},a.shape)),s}var o=r(e);t.traverse(function(a){if(MV(a)&&a.anid){var s=o[a.anid];if(s){var l=i(a);a.attr(i(s)),go(a,l,n,wr(a).dataIndex)}}})}function c6e(e,t){return Ot(e,function(n){var r=n[0];r=sS(r,t.x),r=lS(r,t.x+t.width);var i=n[1];return i=sS(i,t.y),i=lS(i,t.y+t.height),[r,i]})}function f6e(e,t){var n=sS(e.x,t.x),r=lS(e.x+e.width,t.x+t.width),i=sS(e.y,t.y),o=lS(e.y+e.height,t.y+t.height);if(r>=n&&o>=i)return{x:n,y:i,width:r-n,height:o-i}}function N$(e,t,n){var r=gt({rectHover:!0},t),i=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return e.indexOf("image://")===0?(i.image=e.slice(8),En(i,n),new Al(r)):nP(e.replace("path://",""),r,n,"center")}function d6e(e,t,n,r,i){for(var o=0,a=i[i.length-1];o<i.length;o++){var s=i[o];if(F$(e,t,n,r,s[0],s[1],a[0],a[1]))return!0;a=s}}function F$(e,t,n,r,i,o,a,s){var l=n-e,u=r-t,c=a-i,f=s-o,d=xL(c,f,l,u);if(h6e(d))return!1;var h=e-i,p=t-o,v=xL(h,p,l,u)/d;if(v<0||v>1)return!1;var g=xL(h,p,c,f)/d;return!(g<0||g>1)}function xL(e,t,n,r){return e*r-n*t}function h6e(e){return e<=1e-6&&e>=-1e-6}function rP(e){var t=e.itemTooltipOption,n=e.componentModel,r=e.itemName,i=Qt(t)?{formatter:t}:t,o=n.mainType,a=n.componentIndex,s={componentType:o,name:r,$vars:["name"]};s[o+"Index"]=a;var l=e.formatterParamsExtra;l&&Pe(Dn(l),function(c){l2(s,c)||(s[c]=l[c],s.$vars.push(c))});var u=wr(e.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:r,option:En({content:r,encodeHTMLContent:!0,formatterParams:s},i)}}function LV(e,t){var n;e.isGroup&&(n=t(e)),n||e.traverse(t)}function W3(e,t){if(e)if(It(e))for(var n=0;n<e.length;n++)LV(e[n],t);else LV(e,t)}Rl("circle",dy);Rl("ellipse",qk);Rl("sector",hd);Rl("ring",E3);Rl("polygon",hy);Rl("polyline",p0);Rl("rect",Oi);Rl("line",qf);Rl("bezierCurve",eP);Rl("arc",X3);const p6e=Object.freeze(Object.defineProperty({__proto__:null,Arc:X3,BezierCurve:eP,BoundingRect:dr,Circle:dy,CompoundPath:L$,Ellipse:qk,Group:Ai,Image:Al,IncrementalDisplayable:jTe,Line:qf,LinearGradient:_$,OrientedBoundingRect:iS,Path:Jn,Point:cn,Polygon:hy,Polyline:p0,RadialGradient:GTe,Rect:Oi,Ring:E3,Sector:hd,Text:Qa,applyTransform:C$,clipPointsByRect:c6e,clipRectByRect:f6e,createIcon:N$,extendPath:r6e,extendShape:t6e,getShapeClass:i6e,getTransform:s6e,groupTransition:I$,initProps:sa,isElementRemoved:bm,lineLineIntersect:F$,linePolygonIntersect:d6e,makeImage:O$,makePath:nP,mergePath:$6,registerShape:Rl,removeElement:oS,removeElementWithFadeOut:aS,resizePath:P$,setTooltipConfig:rP,subPixelOptimize:a6e,subPixelOptimizeLine:v2,subPixelOptimizeRect:o6e,transformDirection:l6e,traverseElements:W3,updateProps:go},Symbol.toStringTag,{value:"Module"}));var V3={};function v6e(e,t){for(var n=0;n<ks.length;n++){var r=ks[n],i=t[r],o=e.ensureState(r);o.style=o.style||{},o.style.text=i}var a=e.currentStates.slice();e.clearStates(!0),e.setStyle({text:t.normal}),e.useStates(a,!0)}function TV(e,t,n){var r=e.labelFetcher,i=e.labelDataIndex,o=e.labelDimIndex,a=t.normal,s;r&&(s=r.getFormattedLabel(i,"normal",null,o,a&&a.get("formatter"),n!=null?{interpolatedValue:n}:null)),s==null&&(s=An(e.defaultText)?e.defaultText(i,e,n):e.defaultText);for(var l={normal:s},u=0;u<ks.length;u++){var c=ks[u],f=t[c];l[c]=sn(r?r.getFormattedLabel(i,c,null,o,f&&f.get("formatter")):null,s)}return l}function qv(e,t,n,r){n=n||V3;for(var i=e instanceof Qa,o=!1,a=0;a<tS.length;a++){var s=t[tS[a]];if(s&&s.getShallow("show")){o=!0;break}}var l=i?e:e.getTextContent();if(o){i||(l||(l=new Qa,e.setTextContent(l)),e.stateProxy&&(l.stateProxy=e.stateProxy));var u=TV(n,t),c=t.normal,f=!!c.getShallow("show"),d=g2(c,r&&r.normal,n,!1,!i);d.text=u.normal,i||e.setTextConfig(_V(c,n,!1));for(var a=0;a<ks.length;a++){var h=ks[a],s=t[h];if(s){var p=l.ensureState(h),v=!!sn(s.getShallow("show"),f);if(v!==f&&(p.ignore=!v),p.style=g2(s,r&&r[h],n,!0,!i),p.style.text=u[h],!i){var g=e.ensureState(h);g.textConfig=_V(s,n,!0)}}}l.silent=!!c.getShallow("silent"),l.style.x!=null&&(d.x=l.style.x),l.style.y!=null&&(d.y=l.style.y),l.ignore=!f,l.useStyle(d),l.dirty(),n.enableTextSetter&&(D3(l).setLabelText=function(m){var y=TV(n,t,m);v6e(l,y)})}else l&&(l.ignore=!0);e.dirty()}function e1(e,t){t=t||"label";for(var n={normal:e.getModel(t)},r=0;r<ks.length;r++){var i=ks[r];n[i]=e.getModel([i,t])}return n}function g2(e,t,n,r,i){var o={};return g6e(o,e,n,r,i),t&>(o,t),o}function _V(e,t,n){t=t||{};var r={},i,o=e.getShallow("rotate"),a=sn(e.getShallow("distance"),n?null:5),s=e.getShallow("offset");return i=e.getShallow("position")||(n?null:"inside"),i==="outside"&&(i=t.defaultOutsidePosition||"top"),i!=null&&(r.position=i),s!=null&&(r.offset=s),o!=null&&(o*=Math.PI/180,r.rotation=o),a!=null&&(r.distance=a),r.outsideFill=e.get("color")==="inherit"?t.inheritColor||null:"auto",r}function g6e(e,t,n,r,i){n=n||V3;var o=t.ecModel,a=o&&o.option.textStyle,s=m6e(t),l;if(s){l={};for(var u in s)if(s.hasOwnProperty(u)){var c=t.getModel(["rich",u]);CV(l[u]={},c,a,n,r,i,!1,!0)}}l&&(e.rich=l);var f=t.get("overflow");f&&(e.overflow=f);var d=t.get("minMargin");d!=null&&(e.margin=d),CV(e,t,a,n,r,i,!0,!1)}function m6e(e){for(var t;e&&e!==e.ecModel;){var n=(e.option||V3).rich;if(n){t=t||{};for(var r=Dn(n),i=0;i<r.length;i++){var o=r[i];t[o]=1}}e=e.parentModel}return t}var OV=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],kV=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],PV=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function CV(e,t,n,r,i,o,a,s){n=!i&&n||V3;var l=r&&r.inheritColor,u=t.getShallow("color"),c=t.getShallow("textBorderColor"),f=sn(t.getShallow("opacity"),n.opacity);(u==="inherit"||u==="auto")&&(l?u=l:u=null),(c==="inherit"||c==="auto")&&(l?c=l:c=null),o||(u=u||n.color,c=c||n.textBorderColor),u!=null&&(e.fill=u),c!=null&&(e.stroke=c);var d=sn(t.getShallow("textBorderWidth"),n.textBorderWidth);d!=null&&(e.lineWidth=d);var h=sn(t.getShallow("textBorderType"),n.textBorderType);h!=null&&(e.lineDash=h);var p=sn(t.getShallow("textBorderDashOffset"),n.textBorderDashOffset);p!=null&&(e.lineDashOffset=p),!i&&f==null&&!s&&(f=r&&r.defaultOpacity),f!=null&&(e.opacity=f),!i&&!o&&e.fill==null&&r.inheritColor&&(e.fill=r.inheritColor);for(var v=0;v<OV.length;v++){var g=OV[v],m=sn(t.getShallow(g),n[g]);m!=null&&(e[g]=m)}for(var v=0;v<kV.length;v++){var g=kV[v],m=t.getShallow(g);m!=null&&(e[g]=m)}if(e.verticalAlign==null){var y=t.getShallow("baseline");y!=null&&(e.verticalAlign=y)}if(!a||!r.disableBox){for(var v=0;v<PV.length;v++){var g=PV[v],m=t.getShallow(g);m!=null&&(e[g]=m)}var R=t.getShallow("borderType");R!=null&&(e.borderDash=R),(e.backgroundColor==="auto"||e.backgroundColor==="inherit")&&l&&(e.backgroundColor=l),(e.borderColor==="auto"||e.borderColor==="inherit")&&l&&(e.borderColor=l)}}function y6e(e,t){var n=t&&t.getModel("textStyle");return xf([e.fontStyle||n&&n.getShallow("fontStyle")||"",e.fontWeight||n&&n.getShallow("fontWeight")||"",(e.fontSize||n&&n.getShallow("fontSize")||12)+"px",e.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var D3=Ii();function A6e(e,t,n,r){if(e){var i=D3(e);i.prevValue=i.value,i.value=n;var o=t.normal;i.valueAnimation=o.get("valueAnimation"),i.valueAnimation&&(i.precision=o.get("precision"),i.defaultInterpolatedText=r,i.statesModels=t)}}var R6e=["textStyle","color"],SL=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],wL=new Qa,b6e=function(){function e(){}return e.prototype.getTextColor=function(t){var n=this.ecModel;return this.getShallow("color")||(!t&&n?n.get(R6e):null)},e.prototype.getFont=function(){return y6e({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},e.prototype.getTextRect=function(t){for(var n={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},r=0;r<SL.length;r++)n[SL[r]]=this.getShallow(SL[r]);return wL.useStyle(n),wL.update(),wL.getBoundingRect()},e}(),E$=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],x6e=d2(E$),S6e=function(){function e(){}return e.prototype.getLineStyle=function(t){return x6e(this,t)},e}(),X$=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],w6e=d2(X$),M6e=function(){function e(){}return e.prototype.getItemStyle=function(t,n){return w6e(this,t,n)},e}(),ki=function(){function e(t,n,r){this.parentModel=n,this.ecModel=r,this.option=t}return e.prototype.init=function(t,n,r){},e.prototype.mergeOption=function(t,n){sr(this.option,t,!0)},e.prototype.get=function(t,n){return t==null?this.option:this._doGet(this.parsePath(t),!n&&this.parentModel)},e.prototype.getShallow=function(t,n){var r=this.option,i=r==null?r:r[t];if(i==null&&!n){var o=this.parentModel;o&&(i=o.getShallow(t))}return i},e.prototype.getModel=function(t,n){var r=t!=null,i=r?this.parsePath(t):null,o=r?this._doGet(i):this.option;return n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(i)),new e(o,n,this.ecModel)},e.prototype.isEmpty=function(){return this.option==null},e.prototype.restoreData=function(){},e.prototype.clone=function(){var t=this.constructor;return new t(Vn(this.option))},e.prototype.parsePath=function(t){return typeof t=="string"?t.split("."):t},e.prototype.resolveParentPath=function(t){return t},e.prototype.isAnimationEnabled=function(){if(!or.node&&this.option){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},e.prototype._doGet=function(t,n){var r=this.option;if(!t)return r;for(var i=0;i<t.length&&!(t[i]&&(r=r&&typeof r=="object"?r[t[i]]:null,r==null));i++);return r==null&&n&&(r=n._doGet(this.resolveParentPath(t),n.parentModel)),r},e}();Kk(ki);c8e(ki);yl(ki,S6e);yl(ki,M6e);yl(ki,v8e);yl(ki,b6e);var L6e=Math.round(Math.random()*10);function U3(e){return[e||"",L6e++].join("_")}function T6e(e){var t={};e.registerSubTypeDefaulter=function(n,r){var i=tu(n);t[i.main]=r},e.determineSubType=function(n,r){var i=r.type;if(!i){var o=tu(n).main;e.hasSubTypes(n)&&t[o]&&(i=t[o](r))}return i}}function _6e(e,t){e.topologicalTravel=function(o,a,s,l){if(!o.length)return;var u=n(a),c=u.graph,f=u.noEntryList,d={};for(Pe(o,function(y){d[y]=!0});f.length;){var h=f.pop(),p=c[h],v=!!d[h];v&&(s.call(l,h,p.originalDeps.slice()),delete d[h]),Pe(p.successor,v?m:g)}Pe(d,function(){var y="";throw new Error(y)});function g(y){c[y].entryCount--,c[y].entryCount===0&&f.push(y)}function m(y){d[y]=!0,g(y)}};function n(o){var a={},s=[];return Pe(o,function(l){var u=r(a,l),c=u.originalDeps=t(l),f=i(c,o);u.entryCount=f.length,u.entryCount===0&&s.push(l),Pe(f,function(d){Sr(u.predecessor,d)<0&&u.predecessor.push(d);var h=r(a,d);Sr(h.successor,d)<0&&h.successor.push(l)})}),{graph:a,noEntryList:s}}function r(o,a){return o[a]||(o[a]={predecessor:[],successor:[]}),o[a]}function i(o,a){var s=[];return Pe(o,function(l){Sr(a,l)>=0&&s.push(l)}),s}}function W$(e,t){return sr(sr({},e,!0),t,!0)}const O6e={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},k6e={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};var uS="ZH",iP="EN",sv=iP,Ob={},oP={},V$=or.domSupported?function(){var e=(document.documentElement.lang||navigator.language||navigator.browserLanguage||sv).toUpperCase();return e.indexOf(uS)>-1?uS:sv}():sv;function D$(e,t){e=e.toUpperCase(),oP[e]=new ki(t),Ob[e]=t}function P6e(e){if(Qt(e)){var t=Ob[e.toUpperCase()]||{};return e===uS||e===iP?Vn(t):sr(Vn(t),Vn(Ob[sv]),!1)}else return sr(Vn(e),Vn(Ob[sv]),!1)}function C6e(e){return oP[e]}function I6e(){return oP[sv]}D$(iP,O6e);D$(uS,k6e);var aP=1e3,sP=aP*60,xm=sP*60,As=xm*24,IV=As*365,kg={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},dR="{yyyy}-{MM}-{dd}",NV={year:"{yyyy}",month:"{yyyy}-{MM}",day:dR,hour:dR+" "+kg.hour,minute:dR+" "+kg.minute,second:dR+" "+kg.second,millisecond:kg.none},ML=["year","month","day","hour","minute","second","millisecond"],U$=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function Wc(e,t){return e+="","0000".substr(0,t-e.length)+e}function lv(e){switch(e){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return e}}function N6e(e){return e===lv(e)}function F6e(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function B$(e,t,n,r){var i=$f(e),o=i[lP(n)](),a=i[uv(n)]()+1,s=Math.floor((a-1)/3)+1,l=i[B3(n)](),u=i["get"+(n?"UTC":"")+"Day"](),c=i[m2(n)](),f=(c-1)%12+1,d=i[Y3(n)](),h=i[Z3(n)](),p=i[Q3(n)](),v=c>=12?"pm":"am",g=v.toUpperCase(),m=r instanceof ki?r:C6e(r||V$)||I6e(),y=m.getModel("time"),R=y.get("month"),A=y.get("monthAbbr"),x=y.get("dayOfWeek"),S=y.get("dayOfWeekAbbr");return(t||"").replace(/{a}/g,v+"").replace(/{A}/g,g+"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,Wc(o%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,R[a-1]).replace(/{MMM}/g,A[a-1]).replace(/{MM}/g,Wc(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,Wc(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,x[u]).replace(/{ee}/g,S[u]).replace(/{e}/g,u+"").replace(/{HH}/g,Wc(c,2)).replace(/{H}/g,c+"").replace(/{hh}/g,Wc(f+"",2)).replace(/{h}/g,f+"").replace(/{mm}/g,Wc(d,2)).replace(/{m}/g,d+"").replace(/{ss}/g,Wc(h,2)).replace(/{s}/g,h+"").replace(/{SSS}/g,Wc(p,3)).replace(/{S}/g,p+"")}function E6e(e,t,n,r,i){var o=null;if(Qt(n))o=n;else if(An(n))o=n(e.value,t,{level:e.level});else{var a=gt({},kg);if(e.level>0)for(var s=0;s<ML.length;++s)a[ML[s]]="{primary|"+a[ML[s]]+"}";var l=n?n.inherit===!1?n:En(n,a):a,u=Y$(e.value,i);if(l[u])o=l[u];else if(l.inherit){for(var c=U$.indexOf(u),s=c-1;s>=0;--s)if(l[u]){o=l[u];break}o=o||a.none}if(It(o)){var f=e.level==null?0:e.level>=0?e.level:o.length+e.level;f=Math.min(f,o.length-1),o=o[f]}}return B$(new Date(e.value),o,i,r)}function Y$(e,t){var n=$f(e),r=n[uv(t)]()+1,i=n[B3(t)](),o=n[m2(t)](),a=n[Y3(t)](),s=n[Z3(t)](),l=n[Q3(t)](),u=l===0,c=u&&s===0,f=c&&a===0,d=f&&o===0,h=d&&i===1,p=h&&r===1;return p?"year":h?"month":d?"day":f?"hour":c?"minute":u?"second":"millisecond"}function FV(e,t,n){var r=Ar(e)?$f(e):e;switch(t=t||Y$(e,n),t){case"year":return r[lP(n)]();case"half-year":return r[uv(n)]()>=6?1:0;case"quarter":return Math.floor((r[uv(n)]()+1)/4);case"month":return r[uv(n)]();case"day":return r[B3(n)]();case"half-day":return r[m2(n)]()/24;case"hour":return r[m2(n)]();case"minute":return r[Y3(n)]();case"second":return r[Z3(n)]();case"millisecond":return r[Q3(n)]()}}function lP(e){return e?"getUTCFullYear":"getFullYear"}function uv(e){return e?"getUTCMonth":"getMonth"}function B3(e){return e?"getUTCDate":"getDate"}function m2(e){return e?"getUTCHours":"getHours"}function Y3(e){return e?"getUTCMinutes":"getMinutes"}function Z3(e){return e?"getUTCSeconds":"getSeconds"}function Q3(e){return e?"getUTCMilliseconds":"getMilliseconds"}function X6e(e){return e?"setUTCFullYear":"setFullYear"}function Z$(e){return e?"setUTCMonth":"setMonth"}function Q$(e){return e?"setUTCDate":"setDate"}function H$(e){return e?"setUTCHours":"setHours"}function K$(e){return e?"setUTCMinutes":"setMinutes"}function G$(e){return e?"setUTCSeconds":"setSeconds"}function z$(e){return e?"setUTCMilliseconds":"setMilliseconds"}function W6e(e){if(!YLe(e))return Qt(e)?e:"-";var t=(e+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}var J$=yJ,EV=["a","b","c","d","e","f","g"],LL=function(e,t){return"{"+e+(t??"")+"}"};function V6e(e,t,n){It(t)||(t=[t]);var r=t.length;if(!r)return"";for(var i=t[0].$vars||[],o=0;o<i.length;o++){var a=EV[o];e=e.replace(LL(a),LL(a,0))}for(var s=0;s<r;s++)for(var l=0;l<i.length;l++){var u=t[s][i[l]];e=e.replace(LL(EV[l],s),u)}return e}function j6(e,t){return t=t||"transparent",Qt(e)?e:rn(e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}var kb=Pe,D6e=["left","right","top","bottom","width","height"],hR=[["width","left","right"],["height","top","bottom"]];function uP(e,t,n,r,i){var o=0,a=0;r==null&&(r=1/0),i==null&&(i=1/0);var s=0;t.eachChild(function(l,u){var c=l.getBoundingRect(),f=t.childAt(u+1),d=f&&f.getBoundingRect(),h,p;if(e==="horizontal"){var v=c.width+(d?-d.x+c.x:0);h=o+v,h>r||l.newline?(o=0,h=v,a+=s+n,s=c.height):s=Math.max(s,c.height)}else{var g=c.height+(d?-d.y+c.y:0);p=a+g,p>i||l.newline?(o+=s+n,a=0,p=g,s=c.width):s=Math.max(s,c.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),e==="horizontal"?o=h+n:a=p+n)})}var Sm=uP;Fa(uP,"vertical");Fa(uP,"horizontal");function cS(e,t,n){n=J$(n||0);var r=t.width,i=t.height,o=mr(e.left,r),a=mr(e.top,i),s=mr(e.right,r),l=mr(e.bottom,i),u=mr(e.width,r),c=mr(e.height,i),f=n[2]+n[0],d=n[1]+n[3],h=e.aspect;switch(isNaN(u)&&(u=r-s-d-o),isNaN(c)&&(c=i-l-f-a),h!=null&&(isNaN(u)&&isNaN(c)&&(h>r/i?u=r*.8:c=i*.8),isNaN(u)&&(u=h*c),isNaN(c)&&(c=u/h)),isNaN(o)&&(o=r-s-u-d),isNaN(a)&&(a=i-l-c-f),e.left||e.right){case"center":o=r/2-u/2-n[3];break;case"right":o=r-u-d;break}switch(e.top||e.bottom){case"middle":case"center":a=i/2-c/2-n[0];break;case"bottom":a=i-c-f;break}o=o||0,a=a||0,isNaN(u)&&(u=r-d-o-(s||0)),isNaN(c)&&(c=i-f-a-(l||0));var p=new dr(o+n[3],a+n[0],u,c);return p.margin=n,p}function y2(e){var t=e.layoutMode||e.constructor.layoutMode;return rn(t)?t:t?{type:t}:null}function kv(e,t,n){var r=n&&n.ignoreSize;!It(r)&&(r=[r,r]);var i=a(hR[0],0),o=a(hR[1],1);u(hR[0],e,i),u(hR[1],e,o);function a(c,f){var d={},h=0,p={},v=0,g=2;if(kb(c,function(R){p[R]=e[R]}),kb(c,function(R){s(t,R)&&(d[R]=p[R]=t[R]),l(d,R)&&h++,l(p,R)&&v++}),r[f])return l(t,c[1])?p[c[2]]=null:l(t,c[2])&&(p[c[1]]=null),p;if(v===g||!h)return p;if(h>=g)return d;for(var m=0;m<c.length;m++){var y=c[m];if(!s(d,y)&&s(e,y)){d[y]=e[y];break}}return d}function s(c,f){return c.hasOwnProperty(f)}function l(c,f){return c[f]!=null&&c[f]!=="auto"}function u(c,f,d){kb(c,function(h){f[h]=d[h]})}}function H3(e){return U6e({},e)}function U6e(e,t){return t&&e&&kb(D6e,function(n){t.hasOwnProperty(n)&&(e[n]=t[n])}),e}var B6e=Ii(),fr=function(e){St(t,e);function t(n,r,i){var o=e.call(this,n,r,i)||this;return o.uid=U3("ec_cpt_model"),o}return t.prototype.init=function(n,r,i){this.mergeDefaultAndTheme(n,i)},t.prototype.mergeDefaultAndTheme=function(n,r){var i=y2(this),o=i?H3(n):{},a=r.getTheme();sr(n,a.get(this.mainType)),sr(n,this.getDefaultOption()),i&&kv(n,o,i)},t.prototype.mergeOption=function(n,r){sr(this.option,n,!0);var i=y2(this);i&&kv(this.option,n,i)},t.prototype.optionUpdated=function(n,r){},t.prototype.getDefaultOption=function(){var n=this.constructor;if(!s8e(n))return n.defaultOption;var r=B6e(this);if(!r.defaultOption){for(var i=[],o=n;o;){var a=o.prototype.defaultOption;a&&i.push(a),o=o.superClass}for(var s={},l=i.length-1;l>=0;l--)s=sr(s,i[l],!0);r.defaultOption=s}return r.defaultOption},t.prototype.getReferringComponents=function(n,r){var i=n+"Index",o=n+"Id";return O3(this.ecModel,n,{index:this.get(i,!0),id:this.get(o,!0)},r)},t.prototype.getBoxLayoutParams=function(){var n=this;return{left:n.get("left"),top:n.get("top"),right:n.get("right"),bottom:n.get("bottom"),width:n.get("width"),height:n.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(n){this.option.zlevel=n},t.protoInitialize=function(){var n=t.prototype;n.type="component",n.id="",n.name="",n.mainType="",n.subType="",n.componentIndex=0}(),t}(ki);t$(fr,ki);k3(fr);T6e(fr);_6e(fr,Y6e);function Y6e(e){var t=[];return Pe(fr.getClassesByMainType(e),function(n){t=t.concat(n.dependencies||n.prototype.dependencies||[])}),t=Ot(t,function(n){return tu(n).main}),e!=="dataset"&&Sr(t,"dataset")<=0&&t.unshift("dataset"),t}var $$="";typeof navigator<"u"&&($$=navigator.platform||"");var $0="rgba(0, 0, 0, 0.2)";const Z6e={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:$0,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:$0,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:$0,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:$0,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:$0,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:$0,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:$$.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var j$=xn(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),Ns="original",ha="arrayRows",bl="objectRows",xu="keyedColumns",Wf="typedArray",q$="unknown",ac="column",t1="row",Vi={Must:1,Might:2,Not:3},ej=Ii();function Q6e(e){ej(e).datasetMap=xn()}function H6e(e,t,n){var r={},i=cP(t);if(!i||!e)return r;var o=[],a=[],s=t.ecModel,l=ej(s).datasetMap,u=i.uid+"_"+n.seriesLayoutBy,c,f;e=e.slice(),Pe(e,function(v,g){var m=rn(v)?v:e[g]={name:v};m.type==="ordinal"&&c==null&&(c=g,f=p(m)),r[m.name]=[]});var d=l.get(u)||l.set(u,{categoryWayDim:f,valueWayDim:0});Pe(e,function(v,g){var m=v.name,y=p(v);if(c==null){var R=d.valueWayDim;h(r[m],R,y),h(a,R,y),d.valueWayDim+=y}else if(c===g)h(r[m],0,y),h(o,0,y);else{var R=d.categoryWayDim;h(r[m],R,y),h(a,R,y),d.categoryWayDim+=y}});function h(v,g,m){for(var y=0;y<m;y++)v.push(g+y)}function p(v){var g=v.dimsDef;return g?g.length:1}return o.length&&(r.itemName=o),a.length&&(r.seriesName=a),r}function K6e(e,t,n){var r={},i=cP(e);if(!i)return r;var o=t.sourceFormat,a=t.dimensionsDefine,s;(o===bl||o===xu)&&Pe(a,function(c,f){(rn(c)?c.name:c)==="name"&&(s=f)});var l=function(){for(var c={},f={},d=[],h=0,p=Math.min(5,n);h<p;h++){var v=nj(t.data,o,t.seriesLayoutBy,a,t.startIndex,h);d.push(v);var g=v===Vi.Not;if(g&&c.v==null&&h!==s&&(c.v=h),(c.n==null||c.n===c.v||!g&&d[c.n]===Vi.Not)&&(c.n=h),m(c)&&d[c.n]!==Vi.Not)return c;g||(v===Vi.Might&&f.v==null&&h!==s&&(f.v=h),(f.n==null||f.n===f.v)&&(f.n=h))}function m(y){return y.v!=null&&y.n!=null}return m(c)?c:m(f)?f:null}();if(l){r.value=[l.v];var u=s??l.n;r.itemName=[u],r.seriesName=[u]}return r}function cP(e){var t=e.get("data",!0);if(!t)return O3(e.ecModel,"dataset",{index:e.get("datasetIndex",!0),id:e.get("datasetId",!0)},ul).models[0]}function G6e(e){return!e.get("transform",!0)&&!e.get("fromTransformResult",!0)?[]:O3(e.ecModel,"dataset",{index:e.get("fromDatasetIndex",!0),id:e.get("fromDatasetId",!0)},ul).models}function tj(e,t){return nj(e.data,e.sourceFormat,e.seriesLayoutBy,e.dimensionsDefine,e.startIndex,t)}function nj(e,t,n,r,i,o){var a,s=5;if(da(e))return Vi.Not;var l,u;if(r){var c=r[o];rn(c)?(l=c.name,u=c.type):Qt(c)&&(l=c)}if(u!=null)return u==="ordinal"?Vi.Must:Vi.Not;if(t===ha){var f=e;if(n===t1){for(var d=f[o],h=0;h<(d||[]).length&&h<s;h++)if((a=A(d[i+h]))!=null)return a}else for(var h=0;h<f.length&&h<s;h++){var p=f[i+h];if(p&&(a=A(p[o]))!=null)return a}}else if(t===bl){var v=e;if(!l)return Vi.Not;for(var h=0;h<v.length&&h<s;h++){var g=v[h];if(g&&(a=A(g[l]))!=null)return a}}else if(t===xu){var m=e;if(!l)return Vi.Not;var d=m[l];if(!d||da(d))return Vi.Not;for(var h=0;h<d.length&&h<s;h++)if((a=A(d[h]))!=null)return a}else if(t===Ns)for(var y=e,h=0;h<y.length&&h<s;h++){var g=y[h],R=cy(g);if(!It(R))return Vi.Not;if((a=A(R[o]))!=null)return a}function A(x){var S=Qt(x);if(x!=null&&Number.isFinite(Number(x))&&x!=="")return S?Vi.Might:Vi.Not;if(S&&x!=="-")return Vi.Must}return Vi.Not}var z6e=xn();function J6e(e,t,n){var r=z6e.get(t);if(!r)return n;var i=r(e);return i?n.concat(i):n}var XV=Ii();Ii();var fP=function(){function e(){}return e.prototype.getColorFromPalette=function(t,n,r){var i=Co(this.get("color",!0)),o=this.get("colorLayer",!0);return j6e(this,XV,i,o,t,n,r)},e.prototype.clearColorPalette=function(){q6e(this,XV)},e}();function $6e(e,t){for(var n=e.length,r=0;r<n;r++)if(e[r].length>t)return e[r];return e[n-1]}function j6e(e,t,n,r,i,o,a){o=o||e;var s=t(o),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(i))return u[i];var c=a==null||!r?n:$6e(r,a);if(c=c||n,!(!c||!c.length)){var f=c[l];return i&&(u[i]=f),s.paletteIdx=(l+1)%c.length,f}}function q6e(e,t){t(e).paletteIdx=0,t(e).paletteNameMap={}}var pR,D1,WV,VV="\0_ec_inner",e_e=1,dP=function(e){St(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(n,r,i,o,a,s){o=o||{},this.option=null,this._theme=new ki(o),this._locale=new ki(a),this._optionManager=s},t.prototype.setOption=function(n,r,i){var o=BV(r);this._optionManager.setOption(n,i,o),this._resetOption(null,o)},t.prototype.resetOption=function(n,r){return this._resetOption(n,BV(r))},t.prototype._resetOption=function(n,r){var i=!1,o=this._optionManager;if(!n||n==="recreate"){var a=o.mountOption(n==="recreate");!this.option||n==="recreate"?WV(this,a):(this.restoreData(),this._mergeOption(a,r)),i=!0}if((n==="timeline"||n==="media")&&this.restoreData(),!n||n==="recreate"||n==="timeline"){var s=o.getTimelineOption(this);s&&(i=!0,this._mergeOption(s,r))}if(!n||n==="recreate"||n==="media"){var l=o.getMediaOption(this);l.length&&Pe(l,function(u){i=!0,this._mergeOption(u,r)},this)}return i},t.prototype.mergeOption=function(n){this._mergeOption(n,null)},t.prototype._mergeOption=function(n,r){var i=this.option,o=this._componentsMap,a=this._componentsCount,s=[],l=xn(),u=r&&r.replaceMergeMainTypeMap;Q6e(this),Pe(n,function(f,d){f!=null&&(fr.hasClass(d)?d&&(s.push(d),l.set(d,!0)):i[d]=i[d]==null?Vn(f):sr(i[d],f,!0))}),u&&u.each(function(f,d){fr.hasClass(d)&&!l.get(d)&&(s.push(d),l.set(d,!0))}),fr.topologicalTravel(s,fr.getAllClassMainTypes(),c,this);function c(f){var d=J6e(this,f,Co(n[f])),h=o.get(f),p=h?u&&u.get(f)?"replaceMerge":"normalMerge":"replaceAll",v=KLe(h,d,p);e8e(v,f,fr),i[f]=null,o.set(f,null),a.set(f,0);var g=[],m=[],y=0,R;Pe(v,function(A,x){var S=A.existing,_=A.newOption;if(!_)S&&(S.mergeOption({},this),S.optionUpdated({},!1));else{var M=f==="series",w=fr.getClass(f,A.keyInfo.subType,!M);if(!w)return;if(f==="tooltip"){if(R)return;R=!0}if(S&&S.constructor===w)S.name=A.keyInfo.name,S.mergeOption(_,this),S.optionUpdated(_,!1);else{var L=gt({componentIndex:x},A.keyInfo);S=new w(_,this,this,L),gt(S,L),A.brandNew&&(S.__requireNewView=!0),S.init(_,this,this),S.optionUpdated(null,!0)}}S?(g.push(S.option),m.push(S),y++):(g.push(void 0),m.push(void 0))},this),i[f]=g,o.set(f,m),a.set(f,y),f==="series"&&pR(this)}this._seriesIndices||pR(this)},t.prototype.getOption=function(){var n=Vn(this.option);return Pe(n,function(r,i){if(fr.hasClass(i)){for(var o=Co(r),a=o.length,s=!1,l=a-1;l>=0;l--)o[l]&&!f2(o[l])?s=!0:(o[l]=null,!s&&a--);o.length=a,n[i]=o}}),delete n[VV],n},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(n){this._payload=n},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(n,r){var i=this._componentsMap.get(n);if(i){var o=i[r||0];if(o)return o;if(r==null){for(var a=0;a<i.length;a++)if(i[a])return i[a]}}},t.prototype.queryComponents=function(n){var r=n.mainType;if(!r)return[];var i=n.index,o=n.id,a=n.name,s=this._componentsMap.get(r);if(!s||!s.length)return[];var l;return i!=null?(l=[],Pe(Co(i),function(u){s[u]&&l.push(s[u])})):o!=null?l=DV("id",o,s):a!=null?l=DV("name",a,s):l=ao(s,function(u){return!!u}),UV(l,n)},t.prototype.findComponents=function(n){var r=n.query,i=n.mainType,o=s(r),a=o?this.queryComponents(o):ao(this._componentsMap.get(i),function(u){return!!u});return l(UV(a,n));function s(u){var c=i+"Index",f=i+"Id",d=i+"Name";return u&&(u[c]!=null||u[f]!=null||u[d]!=null)?{mainType:i,index:u[c],id:u[f],name:u[d]}:null}function l(u){return n.filter?ao(u,n.filter):u}},t.prototype.eachComponent=function(n,r,i){var o=this._componentsMap;if(An(n)){var a=r,s=n;o.each(function(f,d){for(var h=0;f&&h<f.length;h++){var p=f[h];p&&s.call(a,d,p,p.componentIndex)}})}else for(var l=Qt(n)?o.get(n):rn(n)?this.findComponents(n):null,u=0;l&&u<l.length;u++){var c=l[u];c&&r.call(i,c,c.componentIndex)}},t.prototype.getSeriesByName=function(n){var r=lu(n,null);return ao(this._componentsMap.get("series"),function(i){return!!i&&r!=null&&i.name===r})},t.prototype.getSeriesByIndex=function(n){return this._componentsMap.get("series")[n]},t.prototype.getSeriesByType=function(n){return ao(this._componentsMap.get("series"),function(r){return!!r&&r.subType===n})},t.prototype.getSeries=function(){return ao(this._componentsMap.get("series"),function(n){return!!n})},t.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},t.prototype.eachSeries=function(n,r){D1(this),Pe(this._seriesIndices,function(i){var o=this._componentsMap.get("series")[i];n.call(r,o,i)},this)},t.prototype.eachRawSeries=function(n,r){Pe(this._componentsMap.get("series"),function(i){i&&n.call(r,i,i.componentIndex)})},t.prototype.eachSeriesByType=function(n,r,i){D1(this),Pe(this._seriesIndices,function(o){var a=this._componentsMap.get("series")[o];a.subType===n&&r.call(i,a,o)},this)},t.prototype.eachRawSeriesByType=function(n,r,i){return Pe(this.getSeriesByType(n),r,i)},t.prototype.isSeriesFiltered=function(n){return D1(this),this._seriesIndicesMap.get(n.componentIndex)==null},t.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},t.prototype.filterSeries=function(n,r){D1(this);var i=[];Pe(this._seriesIndices,function(o){var a=this._componentsMap.get("series")[o];n.call(r,a,o)&&i.push(o)},this),this._seriesIndices=i,this._seriesIndicesMap=xn(i)},t.prototype.restoreData=function(n){pR(this);var r=this._componentsMap,i=[];r.each(function(o,a){fr.hasClass(a)&&i.push(a)}),fr.topologicalTravel(i,fr.getAllClassMainTypes(),function(o){Pe(r.get(o),function(a){a&&(o!=="series"||!t_e(a,n))&&a.restoreData()})})},t.internalField=function(){pR=function(n){var r=n._seriesIndices=[];Pe(n._componentsMap.get("series"),function(i){i&&r.push(i.componentIndex)}),n._seriesIndicesMap=xn(r)},D1=function(n){},WV=function(n,r){n.option={},n.option[VV]=e_e,n._componentsMap=xn({series:[]}),n._componentsCount=xn();var i=r.aria;rn(i)&&i.enabled==null&&(i.enabled=!0),n_e(r,n._theme.option),sr(r,Z6e,!1),n._mergeOption(r,null)}}(),t}(ki);function t_e(e,t){if(t){var n=t.seriesIndex,r=t.seriesId,i=t.seriesName;return n!=null&&e.componentIndex!==n||r!=null&&e.id!==r||i!=null&&e.name!==i}}function n_e(e,t){var n=e.color&&!e.colorLayer;Pe(t,function(r,i){i==="colorLayer"&&n||fr.hasClass(i)||(typeof r=="object"?e[i]=e[i]?sr(e[i],r,!1):Vn(r):e[i]==null&&(e[i]=r))})}function DV(e,t,n){if(It(t)){var r=xn();return Pe(t,function(o){if(o!=null){var a=lu(o,null);a!=null&&r.set(o,!0)}}),ao(n,function(o){return o&&r.get(o[e])})}else{var i=lu(t,null);return ao(n,function(o){return o&&i!=null&&o[e]===i})}}function UV(e,t){return t.hasOwnProperty("subType")?ao(e,function(n){return n&&n.subType===t.subType}):e}function BV(e){var t=xn();return e&&Pe(Co(e.replaceMerge),function(n){t.set(n,!0)}),{replaceMergeMainTypeMap:t}}yl(dP,fP);var r_e=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],rj=function(){function e(t){Pe(r_e,function(n){this[n]=gi(t[n],t)},this)}return e}(),TL={},hP=function(){function e(){this._coordinateSystems=[]}return e.prototype.create=function(t,n){var r=[];Pe(TL,function(i,o){var a=i.create(t,n);r=r.concat(a||[])}),this._coordinateSystems=r},e.prototype.update=function(t,n){Pe(this._coordinateSystems,function(r){r.update&&r.update(t,n)})},e.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},e.register=function(t,n){TL[t]=n},e.get=function(t){return TL[t]},e}(),i_e=/^(min|max)?(.+)$/,o_e=function(){function e(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return e.prototype.setOption=function(t,n,r){t&&(Pe(Co(t.series),function(a){a&&a.data&&da(a.data)&&R6(a.data)}),Pe(Co(t.dataset),function(a){a&&a.source&&da(a.source)&&R6(a.source)})),t=Vn(t);var i=this._optionBackup,o=a_e(t,n,!i);this._newBaseOption=o.baseOption,i?(o.timelineOptions.length&&(i.timelineOptions=o.timelineOptions),o.mediaList.length&&(i.mediaList=o.mediaList),o.mediaDefault&&(i.mediaDefault=o.mediaDefault)):this._optionBackup=o},e.prototype.mountOption=function(t){var n=this._optionBackup;return this._timelineOptions=n.timelineOptions,this._mediaList=n.mediaList,this._mediaDefault=n.mediaDefault,this._currentMediaIndices=[],Vn(t?n.baseOption:this._newBaseOption)},e.prototype.getTimelineOption=function(t){var n,r=this._timelineOptions;if(r.length){var i=t.getComponent("timeline");i&&(n=Vn(r[i.getCurrentIndex()]))}return n},e.prototype.getMediaOption=function(t){var n=this._api.getWidth(),r=this._api.getHeight(),i=this._mediaList,o=this._mediaDefault,a=[],s=[];if(!i.length&&!o)return s;for(var l=0,u=i.length;l<u;l++)s_e(i[l].query,n,r)&&a.push(l);return!a.length&&o&&(a=[-1]),a.length&&!u_e(a,this._currentMediaIndices)&&(s=Ot(a,function(c){return Vn(c===-1?o.option:i[c].option)})),this._currentMediaIndices=a,s},e}();function a_e(e,t,n){var r=[],i,o,a=e.baseOption,s=e.timeline,l=e.options,u=e.media,c=!!e.media,f=!!(l||s||a&&a.timeline);a?(o=a,o.timeline||(o.timeline=s)):((f||c)&&(e.options=e.media=null),o=e),c&&It(u)&&Pe(u,function(h){h&&h.option&&(h.query?r.push(h):i||(i=h))}),d(o),Pe(l,function(h){return d(h)}),Pe(r,function(h){return d(h.option)});function d(h){Pe(t,function(p){p(h,n)})}return{baseOption:o,timelineOptions:l||[],mediaDefault:i,mediaList:r}}function s_e(e,t,n){var r={width:t,height:n,aspectratio:t/n},i=!0;return Pe(e,function(o,a){var s=a.match(i_e);if(!(!s||!s[1]||!s[2])){var l=s[1],u=s[2].toLowerCase();l_e(r[u],o,l)||(i=!1)}}),i}function l_e(e,t,n){return n==="min"?e>=t:n==="max"?e<=t:e===t}function u_e(e,t){return e.join(",")===t.join(",")}var Us=Pe,A2=rn,YV=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function _L(e){var t=e&&e.itemStyle;if(t)for(var n=0,r=YV.length;n<r;n++){var i=YV[n],o=t.normal,a=t.emphasis;o&&o[i]&&(e[i]=e[i]||{},e[i].normal?sr(e[i].normal,o[i]):e[i].normal=o[i],o[i]=null),a&&a[i]&&(e[i]=e[i]||{},e[i].emphasis?sr(e[i].emphasis,a[i]):e[i].emphasis=a[i],a[i]=null)}}function io(e,t,n){if(e&&e[t]&&(e[t].normal||e[t].emphasis)){var r=e[t].normal,i=e[t].emphasis;r&&(n?(e[t].normal=e[t].emphasis=null,En(e[t],r)):e[t]=r),i&&(e.emphasis=e.emphasis||{},e.emphasis[t]=i,i.focus&&(e.emphasis.focus=i.focus),i.blurScope&&(e.emphasis.blurScope=i.blurScope))}}function Pg(e){io(e,"itemStyle"),io(e,"lineStyle"),io(e,"areaStyle"),io(e,"label"),io(e,"labelLine"),io(e,"upperLabel"),io(e,"edgeLabel")}function ti(e,t){var n=A2(e)&&e[t],r=A2(n)&&n.textStyle;if(r)for(var i=0,o=HW.length;i<o;i++){var a=HW[i];r.hasOwnProperty(a)&&(n[a]=r[a])}}function us(e){e&&(Pg(e),ti(e,"label"),e.emphasis&&ti(e.emphasis,"label"))}function c_e(e){if(A2(e)){_L(e),Pg(e),ti(e,"label"),ti(e,"upperLabel"),ti(e,"edgeLabel"),e.emphasis&&(ti(e.emphasis,"label"),ti(e.emphasis,"upperLabel"),ti(e.emphasis,"edgeLabel"));var t=e.markPoint;t&&(_L(t),us(t));var n=e.markLine;n&&(_L(n),us(n));var r=e.markArea;r&&us(r);var i=e.data;if(e.type==="graph"){i=i||e.nodes;var o=e.links||e.edges;if(o&&!da(o))for(var a=0;a<o.length;a++)us(o[a]);Pe(e.categories,function(u){Pg(u)})}if(i&&!da(i))for(var a=0;a<i.length;a++)us(i[a]);if(t=e.markPoint,t&&t.data)for(var s=t.data,a=0;a<s.length;a++)us(s[a]);if(n=e.markLine,n&&n.data)for(var l=n.data,a=0;a<l.length;a++)It(l[a])?(us(l[a][0]),us(l[a][1])):us(l[a]);e.type==="gauge"?(ti(e,"axisLabel"),ti(e,"title"),ti(e,"detail")):e.type==="treemap"?(io(e.breadcrumb,"itemStyle"),Pe(e.levels,function(u){Pg(u)})):e.type==="tree"&&Pg(e.leaves)}}function Uu(e){return It(e)?e:e?[e]:[]}function ZV(e){return(It(e)?e[0]:e)||{}}function f_e(e,t){Us(Uu(e.series),function(r){A2(r)&&c_e(r)});var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];t&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),Us(n,function(r){Us(Uu(e[r]),function(i){i&&(ti(i,"axisLabel"),ti(i.axisPointer,"label"))})}),Us(Uu(e.parallel),function(r){var i=r&&r.parallelAxisDefault;ti(i,"axisLabel"),ti(i&&i.axisPointer,"label")}),Us(Uu(e.calendar),function(r){io(r,"itemStyle"),ti(r,"dayLabel"),ti(r,"monthLabel"),ti(r,"yearLabel")}),Us(Uu(e.radar),function(r){ti(r,"name"),r.name&&r.axisName==null&&(r.axisName=r.name,delete r.name),r.nameGap!=null&&r.axisNameGap==null&&(r.axisNameGap=r.nameGap,delete r.nameGap)}),Us(Uu(e.geo),function(r){A2(r)&&(us(r),Us(Uu(r.regions),function(i){us(i)}))}),Us(Uu(e.timeline),function(r){us(r),io(r,"label"),io(r,"itemStyle"),io(r,"controlStyle",!0);var i=r.data;It(i)&&Pe(i,function(o){rn(o)&&(io(o,"label"),io(o,"itemStyle"))})}),Us(Uu(e.toolbox),function(r){io(r,"iconStyle"),Us(r.feature,function(i){io(i,"iconStyle")})}),ti(ZV(e.axisPointer),"label"),ti(ZV(e.tooltip).axisPointer,"label")}function d_e(e,t){for(var n=t.split(","),r=e,i=0;i<n.length&&(r=r&&r[n[i]],r!=null);i++);return r}function h_e(e,t,n,r){for(var i=t.split(","),o=e,a,s=0;s<i.length-1;s++)a=i[s],o[a]==null&&(o[a]={}),o=o[a];o[i[s]]==null&&(o[i[s]]=n)}function QV(e){e&&Pe(p_e,function(t){t[0]in e&&!(t[1]in e)&&(e[t[1]]=e[t[0]])})}var p_e=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],v_e=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],OL=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function U1(e){var t=e&&e.itemStyle;if(t)for(var n=0;n<OL.length;n++){var r=OL[n][1],i=OL[n][0];t[r]!=null&&(t[i]=t[r])}}function HV(e){e&&e.alignTo==="edge"&&e.margin!=null&&e.edgeDistance==null&&(e.edgeDistance=e.margin)}function KV(e){e&&e.downplay&&!e.blur&&(e.blur=e.downplay)}function g_e(e){e&&e.focusNodeAdjacency!=null&&(e.emphasis=e.emphasis||{},e.emphasis.focus==null&&(e.emphasis.focus="adjacency"))}function ij(e,t){if(e)for(var n=0;n<e.length;n++)t(e[n]),e[n]&&ij(e[n].children,t)}function oj(e,t){f_e(e,t),e.series=Co(e.series),Pe(e.series,function(n){if(rn(n)){var r=n.type;if(r==="line")n.clipOverflow!=null&&(n.clip=n.clipOverflow);else if(r==="pie"||r==="gauge"){n.clockWise!=null&&(n.clockwise=n.clockWise),HV(n.label);var i=n.data;if(i&&!da(i))for(var o=0;o<i.length;o++)HV(i[o]);n.hoverOffset!=null&&(n.emphasis=n.emphasis||{},(n.emphasis.scaleSize=null)&&(n.emphasis.scaleSize=n.hoverOffset))}else if(r==="gauge"){var a=d_e(n,"pointer.color");a!=null&&h_e(n,"itemStyle.color",a)}else if(r==="bar"){U1(n),U1(n.backgroundStyle),U1(n.emphasis);var i=n.data;if(i&&!da(i))for(var o=0;o<i.length;o++)typeof i[o]=="object"&&(U1(i[o]),U1(i[o]&&i[o].emphasis))}else if(r==="sunburst"){var s=n.highlightPolicy;s&&(n.emphasis=n.emphasis||{},n.emphasis.focus||(n.emphasis.focus=s)),KV(n),ij(n.data,KV)}else r==="graph"||r==="sankey"?g_e(n):r==="map"&&(n.mapType&&!n.map&&(n.map=n.mapType),n.mapLocation&&En(n,n.mapLocation));n.hoverAnimation!=null&&(n.emphasis=n.emphasis||{},n.emphasis&&n.emphasis.scale==null&&(n.emphasis.scale=n.hoverAnimation)),QV(n)}}),e.dataRange&&(e.visualMap=e.dataRange),Pe(v_e,function(n){var r=e[n];r&&(It(r)||(r=[r]),Pe(r,function(i){QV(i)}))})}function m_e(e){var t=xn();e.eachSeries(function(n){var r=n.get("stack");if(r){var i=t.get(r)||t.set(r,[]),o=n.getData(),a={stackResultDimension:o.getCalculationInfo("stackResultDimension"),stackedOverDimension:o.getCalculationInfo("stackedOverDimension"),stackedDimension:o.getCalculationInfo("stackedDimension"),stackedByDimension:o.getCalculationInfo("stackedByDimension"),isStackedByIndex:o.getCalculationInfo("isStackedByIndex"),data:o,seriesModel:n};if(!a.stackedDimension||!(a.isStackedByIndex||a.stackedByDimension))return;i.length&&o.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(a)}}),t.each(y_e)}function y_e(e){Pe(e,function(t,n){var r=[],i=[NaN,NaN],o=[t.stackResultDimension,t.stackedOverDimension],a=t.data,s=t.isStackedByIndex,l=t.seriesModel.get("stackStrategy")||"samesign";a.modify(o,function(u,c,f){var d=a.get(t.stackedDimension,f);if(isNaN(d))return i;var h,p;s?p=a.getRawIndex(f):h=a.get(t.stackedByDimension,f);for(var v=NaN,g=n-1;g>=0;g--){var m=e[g];if(s||(p=m.data.rawIndexOf(m.stackedByDimension,h)),p>=0){var y=m.data.getByRawIndex(m.stackResultDimension,p);if(l==="all"||l==="positive"&&y>0||l==="negative"&&y<0||l==="samesign"&&d>=0&&y>0||l==="samesign"&&d<=0&&y<0){d=VLe(d,y),v=y;break}}}return r[0]=d,r[1]=v,r})})}var K3=function(){function e(t){this.data=t.data||(t.sourceFormat===xu?{}:[]),this.sourceFormat=t.sourceFormat||q$,this.seriesLayoutBy=t.seriesLayoutBy||ac,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var n=this.dimensionsDefine=t.dimensionsDefine;if(n)for(var r=0;r<n.length;r++){var i=n[r];i.type==null&&tj(this,r)===Vi.Must&&(i.type="ordinal")}}return e}();function pP(e){return e instanceof K3}function q6(e,t,n){n=n||sj(e);var r=t.seriesLayoutBy,i=R_e(e,n,r,t.sourceHeader,t.dimensions),o=new K3({data:e,sourceFormat:n,seriesLayoutBy:r,dimensionsDefine:i.dimensionsDefine,startIndex:i.startIndex,dimensionsDetectedCount:i.dimensionsDetectedCount,metaRawOption:Vn(t)});return o}function aj(e){return new K3({data:e,sourceFormat:da(e)?Wf:Ns})}function A_e(e){return new K3({data:e.data,sourceFormat:e.sourceFormat,seriesLayoutBy:e.seriesLayoutBy,dimensionsDefine:Vn(e.dimensionsDefine),startIndex:e.startIndex,dimensionsDetectedCount:e.dimensionsDetectedCount})}function sj(e){var t=q$;if(da(e))t=Wf;else if(It(e)){e.length===0&&(t=ha);for(var n=0,r=e.length;n<r;n++){var i=e[n];if(i!=null){if(It(i)||da(i)){t=ha;break}else if(rn(i)){t=bl;break}}}}else if(rn(e)){for(var o in e)if(l2(e,o)&&fa(e[o])){t=xu;break}}return t}function R_e(e,t,n,r,i){var o,a;if(!e)return{dimensionsDefine:GV(i),startIndex:a,dimensionsDetectedCount:o};if(t===ha){var s=e;r==="auto"||r==null?zV(function(u){u!=null&&u!=="-"&&(Qt(u)?a==null&&(a=1):a=0)},n,s,10):a=Ar(r)?r:r?1:0,!i&&a===1&&(i=[],zV(function(u,c){i[c]=u!=null?u+"":""},n,s,1/0)),o=i?i.length:n===t1?s.length:s[0]?s[0].length:null}else if(t===bl)i||(i=b_e(e));else if(t===xu)i||(i=[],Pe(e,function(u,c){i.push(c)}));else if(t===Ns){var l=cy(e[0]);o=It(l)&&l.length||1}return{startIndex:a,dimensionsDefine:GV(i),dimensionsDetectedCount:o}}function b_e(e){for(var t=0,n;t<e.length&&!(n=e[t++]););if(n)return Dn(n)}function GV(e){if(e){var t=xn();return Ot(e,function(n,r){n=rn(n)?n:{name:n};var i={name:n.name,displayName:n.displayName,type:n.type};if(i.name==null)return i;i.name+="",i.displayName==null&&(i.displayName=i.name);var o=t.get(i.name);return o?i.name+="-"+o.count++:t.set(i.name,{count:1}),i})}}function zV(e,t,n,r){if(t===t1)for(var i=0;i<n.length&&i<r;i++)e(n[i]?n[i][0]:null,i);else for(var o=n[0]||[],i=0;i<o.length&&i<r;i++)e(o[i],i)}function lj(e){var t=e.sourceFormat;return t===bl||t===xu}var Kd,Gd,zd,JV,$V,uj=function(){function e(t,n){var r=pP(t)?t:aj(t);this._source=r;var i=this._data=r.data;r.sourceFormat===Wf&&(this._offset=0,this._dimSize=n,this._data=i),$V(this,i,r)}return e.prototype.getSource=function(){return this._source},e.prototype.count=function(){return 0},e.prototype.getItem=function(t,n){},e.prototype.appendData=function(t){},e.prototype.clean=function(){},e.protoInitialize=function(){var t=e.prototype;t.pure=!1,t.persistent=!0}(),e.internalField=function(){var t;$V=function(a,s,l){var u=l.sourceFormat,c=l.seriesLayoutBy,f=l.startIndex,d=l.dimensionsDefine,h=JV[vP(u,c)];if(gt(a,h),u===Wf)a.getItem=n,a.count=i,a.fillStorage=r;else{var p=cj(u,c);a.getItem=gi(p,null,s,f,d);var v=fj(u,c);a.count=gi(v,null,s,f,d)}};var n=function(a,s){a=a-this._offset,s=s||[];for(var l=this._data,u=this._dimSize,c=u*a,f=0;f<u;f++)s[f]=l[c+f];return s},r=function(a,s,l,u){for(var c=this._data,f=this._dimSize,d=0;d<f;d++){for(var h=u[d],p=h[0]==null?1/0:h[0],v=h[1]==null?-1/0:h[1],g=s-a,m=l[d],y=0;y<g;y++){var R=c[y*f+d];m[a+y]=R,R<p&&(p=R),R>v&&(v=R)}h[0]=p,h[1]=v}},i=function(){return this._data?this._data.length/this._dimSize:0};JV=(t={},t[ha+"_"+ac]={pure:!0,appendData:o},t[ha+"_"+t1]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[bl]={pure:!0,appendData:o},t[xu]={pure:!0,appendData:function(a){var s=this._data;Pe(a,function(l,u){for(var c=s[u]||(s[u]=[]),f=0;f<(l||[]).length;f++)c.push(l[f])})}},t[Ns]={appendData:o},t[Wf]={persistent:!1,pure:!0,appendData:function(a){this._data=a},clean:function(){this._offset+=this.count(),this._data=null}},t);function o(a){for(var s=0;s<a.length;s++)this._data.push(a[s])}}(),e}(),jV=function(e,t,n,r){return e[r]},x_e=(Kd={},Kd[ha+"_"+ac]=function(e,t,n,r){return e[r+t]},Kd[ha+"_"+t1]=function(e,t,n,r,i){r+=t;for(var o=i||[],a=e,s=0;s<a.length;s++){var l=a[s];o[s]=l?l[r]:null}return o},Kd[bl]=jV,Kd[xu]=function(e,t,n,r,i){for(var o=i||[],a=0;a<n.length;a++){var s=n[a].name,l=e[s];o[a]=l?l[r]:null}return o},Kd[Ns]=jV,Kd);function cj(e,t){var n=x_e[vP(e,t)];return n}var qV=function(e,t,n){return e.length},S_e=(Gd={},Gd[ha+"_"+ac]=function(e,t,n){return Math.max(0,e.length-t)},Gd[ha+"_"+t1]=function(e,t,n){var r=e[0];return r?Math.max(0,r.length-t):0},Gd[bl]=qV,Gd[xu]=function(e,t,n){var r=n[0].name,i=e[r];return i?i.length:0},Gd[Ns]=qV,Gd);function fj(e,t){var n=S_e[vP(e,t)];return n}var kL=function(e,t,n){return e[t]},w_e=(zd={},zd[ha]=kL,zd[bl]=function(e,t,n){return e[n]},zd[xu]=kL,zd[Ns]=function(e,t,n){var r=cy(e);return r instanceof Array?r[t]:r},zd[Wf]=kL,zd);function dj(e){var t=w_e[e];return t}function vP(e,t){return e===ha?e+"_"+t:e}function Pv(e,t,n){if(e){var r=e.getRawDataItem(t);if(r!=null){var i=e.getStore(),o=i.getSource().sourceFormat;if(n!=null){var a=e.getDimensionIndex(n),s=i.getDimensionProperty(a);return dj(o)(r,a,s)}else{var l=r;return o===Ns&&(l=cy(r)),l}}}}var M_e=/\{@(.+?)\}/g,L_e=function(){function e(){}return e.prototype.getDataParams=function(t,n){var r=this.getData(n),i=this.getRawValue(t,n),o=r.getRawIndex(t),a=r.getName(t),s=r.getRawDataItem(t),l=r.getItemVisual(t,"style"),u=l&&l[r.getItemVisual(t,"drawType")||"fill"],c=l&&l.stroke,f=this.mainType,d=f==="series",h=r.userOutput&&r.userOutput.get();return{componentType:f,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:d?this.subType:null,seriesIndex:this.seriesIndex,seriesId:d?this.id:null,seriesName:d?this.name:null,name:a,dataIndex:o,data:s,dataType:n,value:i,color:u,borderColor:c,dimensionNames:h?h.fullDimensions:null,encode:h?h.encode:null,$vars:["seriesName","name","value"]}},e.prototype.getFormattedLabel=function(t,n,r,i,o,a){n=n||"normal";var s=this.getData(r),l=this.getDataParams(t,r);if(a&&(l.value=a.interpolatedValue),i!=null&&It(l.value)&&(l.value=l.value[i]),!o){var u=s.getItemModel(t);o=u.get(n==="normal"?["label","formatter"]:[n,"label","formatter"])}if(An(o))return l.status=n,l.dimensionIndex=i,o(l);if(Qt(o)){var c=V6e(o,l);return c.replace(M_e,function(f,d){var h=d.length,p=d;p.charAt(0)==="["&&p.charAt(h-1)==="]"&&(p=+p.slice(1,h-1));var v=Pv(s,t,p);if(a&&It(a.interpolatedValue)){var g=s.getDimensionIndex(p);g>=0&&(v=a.interpolatedValue[g])}return v!=null?v+"":""})}},e.prototype.getRawValue=function(t,n){return Pv(this.getData(n),t)},e.prototype.formatTooltip=function(t,n,r){},e}();function wm(e){return new T_e(e)}var T_e=function(){function e(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return e.prototype.perform=function(t){var n=this._upstream,r=t&&t.skip;if(this._dirty&&n){var i=this.context;i.data=i.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var o;this._plan&&!r&&(o=this._plan(this.context));var a=c(this._modBy),s=this._modDataCount||0,l=c(t&&t.modBy),u=t&&t.modDataCount||0;(a!==l||s!==u)&&(o="reset");function c(y){return!(y>=1)&&(y=1),y}var f;(this._dirty||o==="reset")&&(this._dirty=!1,f=this._doReset(r)),this._modBy=l,this._modDataCount=u;var d=t&&t.step;if(n?this._dueEnd=n._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var h=this._dueIndex,p=Math.min(d!=null?this._dueIndex+d:1/0,this._dueEnd);if(!r&&(f||h<p)){var v=this._progress;if(It(v))for(var g=0;g<v.length;g++)this._doProgress(v[g],h,p,l,u);else this._doProgress(v,h,p,l,u)}this._dueIndex=p;var m=this._settedOutputEnd!=null?this._settedOutputEnd:p;this._outputDueEnd=m}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()},e.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},e.prototype._doProgress=function(t,n,r,i,o){eD.reset(n,r,i,o),this._callingProgress=t,this._callingProgress({start:n,end:r,count:r-n,next:eD.next},this.context)},e.prototype._doReset=function(t){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null;var n,r;!t&&this._reset&&(n=this._reset(this.context),n&&n.progress&&(r=n.forceFirstProgress,n=n.progress),It(n)&&!n.length&&(n=null)),this._progress=n,this._modBy=this._modDataCount=null;var i=this._downstream;return i&&i.dirty(),r},e.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},e.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},e.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},e.prototype.getUpstream=function(){return this._upstream},e.prototype.getDownstream=function(){return this._downstream},e.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},e}(),eD=function(){var e,t,n,r,i,o={reset:function(l,u,c,f){t=l,e=u,n=c,r=f,i=Math.ceil(r/n),o.next=n>1&&r>0?s:a}};return o;function a(){return t<e?t++:null}function s(){var l=t%i*n+Math.ceil(t/i),u=t>=e?null:l<r?l:t;return t++,u}}();function Pb(e,t){var n=t&&t.type;return n==="ordinal"?e:(n==="time"&&!Ar(e)&&e!=null&&e!=="-"&&(e=+$f(e)),e==null||e===""?NaN:Number(e))}xn({number:function(e){return parseFloat(e)},time:function(e){return+$f(e)},trim:function(e){return Qt(e)?xf(e):e}});var __e=function(){function e(){}return e.prototype.getRawData=function(){throw new Error("not supported")},e.prototype.getRawDataItem=function(t){throw new Error("not supported")},e.prototype.cloneRawData=function(){},e.prototype.getDimensionInfo=function(t){},e.prototype.cloneAllDimensionInfo=function(){},e.prototype.count=function(){},e.prototype.retrieveValue=function(t,n){},e.prototype.retrieveValueFromItem=function(t,n){},e.prototype.convertValue=function(t,n){return Pb(t,n)},e}();function O_e(e,t){var n=new __e,r=e.data,i=n.sourceFormat=e.sourceFormat,o=e.startIndex,a="";e.seriesLayoutBy!==ac&&Ia(a);var s=[],l={},u=e.dimensionsDefine;if(u)Pe(u,function(v,g){var m=v.name,y={index:g,name:m,displayName:v.displayName};if(s.push(y),m!=null){var R="";l2(l,m)&&Ia(R),l[m]=y}});else for(var c=0;c<e.dimensionsDetectedCount;c++)s.push({index:c});var f=cj(i,ac);t.__isBuiltIn&&(n.getRawDataItem=function(v){return f(r,o,s,v)},n.getRawData=gi(k_e,null,e)),n.cloneRawData=gi(P_e,null,e);var d=fj(i,ac);n.count=gi(d,null,r,o,s);var h=dj(i);n.retrieveValue=function(v,g){var m=f(r,o,s,v);return p(m,g)};var p=n.retrieveValueFromItem=function(v,g){if(v!=null){var m=s[g];if(m)return h(v,g,m.name)}};return n.getDimensionInfo=gi(C_e,null,s,l),n.cloneAllDimensionInfo=gi(I_e,null,s),n}function k_e(e){var t=e.sourceFormat;if(!gP(t)){var n="";Ia(n)}return e.data}function P_e(e){var t=e.sourceFormat,n=e.data;if(!gP(t)){var r="";Ia(r)}if(t===ha){for(var i=[],o=0,a=n.length;o<a;o++)i.push(n[o].slice());return i}else if(t===bl){for(var i=[],o=0,a=n.length;o<a;o++)i.push(gt({},n[o]));return i}}function C_e(e,t,n){if(n!=null){if(Ar(n)||!isNaN(n)&&!l2(t,n))return e[n];if(l2(t,n))return t[n]}}function I_e(e){return Vn(e)}var hj=xn();function N_e(e){e=Vn(e);var t=e.type,n="";t||Ia(n);var r=t.split(":");r.length!==2&&Ia(n);var i=!1;r[0]==="echarts"&&(t=r[1],i=!0),e.__isBuiltIn=i,hj.set(t,e)}function F_e(e,t,n){var r=Co(e),i=r.length,o="";i||Ia(o);for(var a=0,s=i;a<s;a++){var l=r[a];t=E_e(l,t),a!==s-1&&(t.length=Math.max(t.length,1))}return t}function E_e(e,t,n,r){var i="";t.length||Ia(i),rn(e)||Ia(i);var o=e.type,a=hj.get(o);a||Ia(i);var s=Ot(t,function(u){return O_e(u,a)}),l=Co(a.transform({upstream:s[0],upstreamList:s,config:Vn(e.config)}));return Ot(l,function(u,c){var f="";rn(u)||Ia(f),u.data||Ia(f);var d=sj(u.data);gP(d)||Ia(f);var h,p=t[0];if(p&&c===0&&!u.dimensions){var v=p.startIndex;v&&(u.data=p.data.slice(0,v).concat(u.data)),h={seriesLayoutBy:ac,sourceHeader:v,dimensions:p.metaRawOption.dimensions}}else h={seriesLayoutBy:ac,sourceHeader:0,dimensions:u.dimensions};return q6(u.data,h,null)})}function gP(e){return e===ha||e===bl}var G3="undefined",X_e=typeof Uint32Array===G3?Array:Uint32Array,W_e=typeof Uint16Array===G3?Array:Uint16Array,pj=typeof Int32Array===G3?Array:Int32Array,tD=typeof Float64Array===G3?Array:Float64Array,vj={float:tD,int:pj,ordinal:Array,number:Array,time:tD},PL;function B1(e){return e>65535?X_e:W_e}function j0(){return[1/0,-1/0]}function V_e(e){var t=e.constructor;return t===Array?e.slice():new t(e)}function nD(e,t,n,r,i){var o=vj[n||"float"];if(i){var a=e[t],s=a&&a.length;if(s!==r){for(var l=new o(r),u=0;u<s;u++)l[u]=a[u];e[t]=l}}else e[t]=new o(r)}var e_=function(){function e(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=xn()}return e.prototype.initData=function(t,n,r){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var i=t.getSource(),o=this.defaultDimValueGetter=PL[i.sourceFormat];this._dimValueGetter=r||o,this._rawExtent=[],lj(i),this._dimensions=Ot(n,function(a){return{type:a.type,property:a.property}}),this._initDataFromProvider(0,t.count())},e.prototype.getProvider=function(){return this._provider},e.prototype.getSource=function(){return this._provider.getSource()},e.prototype.ensureCalculationDimension=function(t,n){var r=this._calcDimNameToIdx,i=this._dimensions,o=r.get(t);if(o!=null){if(i[o].type===n)return o}else o=i.length;return i[o]={type:n},r.set(t,o),this._chunks[o]=new vj[n||"float"](this._rawCount),this._rawExtent[o]=j0(),o},e.prototype.collectOrdinalMeta=function(t,n){var r=this._chunks[t],i=this._dimensions[t],o=this._rawExtent,a=i.ordinalOffset||0,s=r.length;a===0&&(o[t]=j0());for(var l=o[t],u=a;u<s;u++){var c=r[u]=n.parseAndCollect(r[u]);isNaN(c)||(l[0]=Math.min(c,l[0]),l[1]=Math.max(c,l[1]))}i.ordinalMeta=n,i.ordinalOffset=s,i.type="ordinal"},e.prototype.getOrdinalMeta=function(t){var n=this._dimensions[t],r=n.ordinalMeta;return r},e.prototype.getDimensionProperty=function(t){var n=this._dimensions[t];return n&&n.property},e.prototype.appendData=function(t){var n=this._provider,r=this.count();n.appendData(t);var i=n.count();return n.persistent||(i+=r),r<i&&this._initDataFromProvider(r,i,!0),[r,i]},e.prototype.appendValues=function(t,n){for(var r=this._chunks,i=this._dimensions,o=i.length,a=this._rawExtent,s=this.count(),l=s+Math.max(t.length,n||0),u=0;u<o;u++){var c=i[u];nD(r,u,c.type,l,!0)}for(var f=[],d=s;d<l;d++)for(var h=d-s,p=0;p<o;p++){var c=i[p],v=PL.arrayRows.call(this,t[h]||f,c.property,h,p);r[p][d]=v;var g=a[p];v<g[0]&&(g[0]=v),v>g[1]&&(g[1]=v)}return this._rawCount=this._count=l,{start:s,end:l}},e.prototype._initDataFromProvider=function(t,n,r){for(var i=this._provider,o=this._chunks,a=this._dimensions,s=a.length,l=this._rawExtent,u=Ot(a,function(y){return y.property}),c=0;c<s;c++){var f=a[c];l[c]||(l[c]=j0()),nD(o,c,f.type,n,r)}if(i.fillStorage)i.fillStorage(t,n,o,l);else for(var d=[],h=t;h<n;h++){d=i.getItem(h,d);for(var p=0;p<s;p++){var v=o[p],g=this._dimValueGetter(d,u[p],h,p);v[h]=g;var m=l[p];g<m[0]&&(m[0]=g),g>m[1]&&(m[1]=g)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=n,this._extent=[]},e.prototype.count=function(){return this._count},e.prototype.get=function(t,n){if(!(n>=0&&n<this._count))return NaN;var r=this._chunks[t];return r?r[this.getRawIndex(n)]:NaN},e.prototype.getValues=function(t,n){var r=[],i=[];if(n==null){n=t,t=[];for(var o=0;o<this._dimensions.length;o++)i.push(o)}else i=t;for(var o=0,a=i.length;o<a;o++)r.push(this.get(i[o],n));return r},e.prototype.getByRawIndex=function(t,n){if(!(n>=0&&n<this._rawCount))return NaN;var r=this._chunks[t];return r?r[n]:NaN},e.prototype.getSum=function(t){var n=this._chunks[t],r=0;if(n)for(var i=0,o=this.count();i<o;i++){var a=this.get(t,i);isNaN(a)||(r+=a)}return r},e.prototype.getMedian=function(t){var n=[];this.each([t],function(o){isNaN(o)||n.push(o)});var r=n.sort(function(o,a){return o-a}),i=this.count();return i===0?0:i%2===1?r[(i-1)/2]:(r[i/2]+r[i/2-1])/2},e.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var n=this._indices,r=n[t];if(r!=null&&r<this._count&&r===t)return t;for(var i=0,o=this._count-1;i<=o;){var a=(i+o)/2|0;if(n[a]<t)i=a+1;else if(n[a]>t)o=a-1;else return a}return-1},e.prototype.indicesOfNearest=function(t,n,r){var i=this._chunks,o=i[t],a=[];if(!o)return a;r==null&&(r=1/0);for(var s=1/0,l=-1,u=0,c=0,f=this.count();c<f;c++){var d=this.getRawIndex(c),h=n-o[d],p=Math.abs(h);p<=r&&((p<s||p===s&&h>=0&&l<0)&&(s=p,l=h,u=0),h===l&&(a[u++]=c))}return a.length=u,a},e.prototype.getIndices=function(){var t,n=this._indices;if(n){var r=n.constructor,i=this._count;if(r===Array){t=new r(i);for(var o=0;o<i;o++)t[o]=n[o]}else t=new r(n.buffer,0,i)}else{var r=B1(this._rawCount);t=new r(this.count());for(var o=0;o<t.length;o++)t[o]=o}return t},e.prototype.filter=function(t,n){if(!this._count)return this;for(var r=this.clone(),i=r.count(),o=B1(r._rawCount),a=new o(i),s=[],l=t.length,u=0,c=t[0],f=r._chunks,d=0;d<i;d++){var h=void 0,p=r.getRawIndex(d);if(l===0)h=n(d);else if(l===1){var v=f[c][p];h=n(v,d)}else{for(var g=0;g<l;g++)s[g]=f[t[g]][p];s[g]=d,h=n.apply(null,s)}h&&(a[u++]=p)}return u<i&&(r._indices=a),r._count=u,r._extent=[],r._updateGetRawIdx(),r},e.prototype.selectRange=function(t){var n=this.clone(),r=n._count;if(!r)return this;var i=Dn(t),o=i.length;if(!o)return this;var a=n.count(),s=B1(n._rawCount),l=new s(a),u=0,c=i[0],f=t[c][0],d=t[c][1],h=n._chunks,p=!1;if(!n._indices){var v=0;if(o===1){for(var g=h[i[0]],m=0;m<r;m++){var y=g[m];(y>=f&&y<=d||isNaN(y))&&(l[u++]=v),v++}p=!0}else if(o===2){for(var g=h[i[0]],R=h[i[1]],A=t[i[1]][0],x=t[i[1]][1],m=0;m<r;m++){var y=g[m],S=R[m];(y>=f&&y<=d||isNaN(y))&&(S>=A&&S<=x||isNaN(S))&&(l[u++]=v),v++}p=!0}}if(!p)if(o===1)for(var m=0;m<a;m++){var _=n.getRawIndex(m),y=h[i[0]][_];(y>=f&&y<=d||isNaN(y))&&(l[u++]=_)}else for(var m=0;m<a;m++){for(var M=!0,_=n.getRawIndex(m),w=0;w<o;w++){var L=i[w],y=h[L][_];(y<t[L][0]||y>t[L][1])&&(M=!1)}M&&(l[u++]=n.getRawIndex(m))}return u<a&&(n._indices=l),n._count=u,n._extent=[],n._updateGetRawIdx(),n},e.prototype.map=function(t,n){var r=this.clone(t);return this._updateDims(r,t,n),r},e.prototype.modify=function(t,n){this._updateDims(this,t,n)},e.prototype._updateDims=function(t,n,r){for(var i=t._chunks,o=[],a=n.length,s=t.count(),l=[],u=t._rawExtent,c=0;c<n.length;c++)u[n[c]]=j0();for(var f=0;f<s;f++){for(var d=t.getRawIndex(f),h=0;h<a;h++)l[h]=i[n[h]][d];l[a]=f;var p=r&&r.apply(null,l);if(p!=null){typeof p!="object"&&(o[0]=p,p=o);for(var c=0;c<p.length;c++){var v=n[c],g=p[c],m=u[v],y=i[v];y&&(y[d]=g),g<m[0]&&(m[0]=g),g>m[1]&&(m[1]=g)}}}},e.prototype.lttbDownSample=function(t,n){var r=this.clone([t],!0),i=r._chunks,o=i[t],a=this.count(),s=0,l=Math.floor(1/n),u=this.getRawIndex(0),c,f,d,h=new(B1(this._rawCount))(Math.min((Math.ceil(a/l)+2)*2,a));h[s++]=u;for(var p=1;p<a-1;p+=l){for(var v=Math.min(p+l,a-1),g=Math.min(p+l*2,a),m=(g+v)/2,y=0,R=v;R<g;R++){var A=this.getRawIndex(R),x=o[A];isNaN(x)||(y+=x)}y/=g-v;var S=p,_=Math.min(p+l,a),M=p-1,w=o[u];c=-1,d=S;for(var L=-1,k=0,R=S;R<_;R++){var A=this.getRawIndex(R),x=o[A];if(isNaN(x)){k++,L<0&&(L=A);continue}f=Math.abs((M-m)*(x-w)-(M-R)*(y-w)),f>c&&(c=f,d=A)}k>0&&k<_-S&&(h[s++]=Math.min(L,d),d=Math.max(L,d)),h[s++]=d,u=d}return h[s++]=this.getRawIndex(a-1),r._count=s,r._indices=h,r.getRawIndex=this._getRawIdx,r},e.prototype.downSample=function(t,n,r,i){for(var o=this.clone([t],!0),a=o._chunks,s=[],l=Math.floor(1/n),u=a[t],c=this.count(),f=o._rawExtent[t]=j0(),d=new(B1(this._rawCount))(Math.ceil(c/l)),h=0,p=0;p<c;p+=l){l>c-p&&(l=c-p,s.length=l);for(var v=0;v<l;v++){var g=this.getRawIndex(p+v);s[v]=u[g]}var m=r(s),y=this.getRawIndex(Math.min(p+i(s,m)||0,c-1));u[y]=m,m<f[0]&&(f[0]=m),m>f[1]&&(f[1]=m),d[h++]=y}return o._count=h,o._indices=d,o._updateGetRawIdx(),o},e.prototype.each=function(t,n){if(this._count)for(var r=t.length,i=this._chunks,o=0,a=this.count();o<a;o++){var s=this.getRawIndex(o);switch(r){case 0:n(o);break;case 1:n(i[t[0]][s],o);break;case 2:n(i[t[0]][s],i[t[1]][s],o);break;default:for(var l=0,u=[];l<r;l++)u[l]=i[t[l]][s];u[l]=o,n.apply(null,u)}}},e.prototype.getDataExtent=function(t){var n=this._chunks[t],r=j0();if(!n)return r;var i=this.count(),o=!this._indices,a;if(o)return this._rawExtent[t].slice();if(a=this._extent[t],a)return a.slice();a=r;for(var s=a[0],l=a[1],u=0;u<i;u++){var c=this.getRawIndex(u),f=n[c];f<s&&(s=f),f>l&&(l=f)}return a=[s,l],this._extent[t]=a,a},e.prototype.getRawDataItem=function(t){var n=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(n);for(var r=[],i=this._chunks,o=0;o<i.length;o++)r.push(i[o][n]);return r},e.prototype.clone=function(t,n){var r=new e,i=this._chunks,o=t&&zf(t,function(s,l){return s[l]=!0,s},{});if(o)for(var a=0;a<i.length;a++)r._chunks[a]=o[a]?V_e(i[a]):i[a];else r._chunks=i;return this._copyCommonProps(r),n||(r._indices=this._cloneIndices()),r._updateGetRawIdx(),r},e.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=Vn(this._extent),t._rawExtent=Vn(this._rawExtent)},e.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,n=void 0;if(t===Array){var r=this._indices.length;n=new t(r);for(var i=0;i<r;i++)n[i]=this._indices[i]}else n=new t(this._indices);return n}return null},e.prototype._getRawIdxIdentity=function(t){return t},e.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},e.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},e.internalField=function(){function t(n,r,i,o){return Pb(n[o],this._dimensions[o])}PL={arrayRows:t,objectRows:function(n,r,i,o){return Pb(n[r],this._dimensions[o])},keyedColumns:t,original:function(n,r,i,o){var a=n&&(n.value==null?n:n.value);return Pb(a instanceof Array?a[o]:a,this._dimensions[o])},typedArray:function(n,r,i,o){return n[o]}}}(),e}(),D_e=function(){function e(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return e.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},e.prototype._setLocalSource=function(t,n){this._sourceList=t,this._upstreamSignList=n,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},e.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},e.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},e.prototype._createSource=function(){this._setLocalSource([],[]);var t=this._sourceHost,n=this._getUpstreamSourceManagers(),r=!!n.length,i,o;if(vR(t)){var a=t,s=void 0,l=void 0,u=void 0;if(r){var c=n[0];c.prepareSource(),u=c.getSource(),s=u.data,l=u.sourceFormat,o=[c._getVersionSign()]}else s=a.get("data",!0),l=da(s)?Wf:Ns,o=[];var f=this._getSourceMetaRawOption()||{},d=u&&u.metaRawOption||{},h=sn(f.seriesLayoutBy,d.seriesLayoutBy)||null,p=sn(f.sourceHeader,d.sourceHeader),v=sn(f.dimensions,d.dimensions),g=h!==d.seriesLayoutBy||!!p!=!!d.sourceHeader||v;i=g?[q6(s,{seriesLayoutBy:h,sourceHeader:p,dimensions:v},l)]:[]}else{var m=t;if(r){var y=this._applyTransform(n);i=y.sourceList,o=y.upstreamSignList}else{var R=m.get("source",!0);i=[q6(R,this._getSourceMetaRawOption(),null)],o=[]}}this._setLocalSource(i,o)},e.prototype._applyTransform=function(t){var n=this._sourceHost,r=n.get("transform",!0),i=n.get("fromTransformResult",!0);if(i!=null){var o="";t.length!==1&&rD(o)}var a,s=[],l=[];return Pe(t,function(u){u.prepareSource();var c=u.getSource(i||0),f="";i!=null&&!c&&rD(f),s.push(c),l.push(u._getVersionSign())}),r?a=F_e(r,s,{datasetIndex:n.componentIndex}):i!=null&&(a=[A_e(s[0])]),{sourceList:a,upstreamSignList:l}},e.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),n=0;n<t.length;n++){var r=t[n];if(r._isDirty()||this._upstreamSignList[n]!==r._getVersionSign())return!0}},e.prototype.getSource=function(t){t=t||0;var n=this._sourceList[t];if(!n){var r=this._getUpstreamSourceManagers();return r[0]&&r[0].getSource(t)}return n},e.prototype.getSharedDataStore=function(t){var n=t.makeStoreSchema();return this._innerGetDataStore(n.dimensions,t.source,n.hash)},e.prototype._innerGetDataStore=function(t,n,r){var i=0,o=this._storeList,a=o[i];a||(a=o[i]={});var s=a[r];if(!s){var l=this._getUpstreamSourceManagers()[0];vR(this._sourceHost)&&l?s=l._innerGetDataStore(t,n,r):(s=new e_,s.initData(new uj(n,t.length),t)),a[r]=s}return s},e.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(vR(t)){var n=cP(t);return n?[n.getSourceManager()]:[]}else return Ot(G6e(t),function(r){return r.getSourceManager()})},e.prototype._getSourceMetaRawOption=function(){var t=this._sourceHost,n,r,i;if(vR(t))n=t.get("seriesLayoutBy",!0),r=t.get("sourceHeader",!0),i=t.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var o=t;n=o.get("seriesLayoutBy",!0),r=o.get("sourceHeader",!0),i=o.get("dimensions",!0)}return{seriesLayoutBy:n,sourceHeader:r,dimensions:i}},e}();function vR(e){return e.mainType==="series"}function rD(e){throw new Error(e)}function R2(e,t){return t.type=e,t}function gj(e,t){var n=e.getData().getItemVisual(t,"style"),r=n[e.visualDrawType];return j6(r)}function U_e(e){var t=e.series,n=e.dataIndex,r=e.multipleSeries,i=t.getData(),o=i.mapDimensionsAll("defaultedTooltip"),a=o.length,s=t.getRawValue(n),l=It(s),u=gj(t,n),c,f,d,h;if(a>1||l&&!a){var p=B_e(s,t,n,o,u);c=p.inlineValues,f=p.inlineValueTypes,d=p.blocks,h=p.inlineValues[0]}else if(a){var v=i.getDimensionInfo(o[0]);h=c=Pv(i,n,o[0]),f=v.type}else h=c=l?s[0]:s;var g=Hk(t),m=g&&t.name||"",y=i.getName(n),R=r?m:y;return R2("section",{header:m,noHeader:r||!g,sortParam:h,blocks:[R2("nameValue",{markerType:"item",markerColor:u,name:R,noName:!xf(R),value:c,valueType:f,dataIndex:n})].concat(d||[])})}function B_e(e,t,n,r,i){var o=t.getData(),a=zf(e,function(f,d,h){var p=o.getDimensionInfo(h);return f=f||p&&p.tooltip!==!1&&p.displayName!=null},!1),s=[],l=[],u=[];r.length?Pe(r,function(f){c(Pv(o,n,f),f)}):Pe(e,c);function c(f,d){var h=o.getDimensionInfo(d);!h||h.otherDims.tooltip===!1||(a?u.push(R2("nameValue",{markerType:"subItem",markerColor:i,name:h.displayName,value:f,valueType:h.type})):(s.push(f),l.push(h.type)))}return{inlineValues:s,inlineValueTypes:l,blocks:u}}var Vc=Ii();function gR(e,t){return e.getName(t)||e.getId(t)}var Y_e="__universalTransitionEnabled",Ha=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n._selectedDataIndicesMap={},n}return t.prototype.init=function(n,r,i){this.seriesIndex=this.componentIndex,this.dataTask=wm({count:Q_e,reset:H_e}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(n,i);var o=Vc(this).sourceManager=new D_e(this);o.prepareSource();var a=this.getInitialData(n,i);oD(a,this),this.dataTask.context.data=a,Vc(this).dataBeforeProcessed=a,iD(this),this._initSelectedMapFromData(a)},t.prototype.mergeDefaultAndTheme=function(n,r){var i=y2(this),o=i?H3(n):{},a=this.subType;fr.hasClass(a)&&(a+="Series"),sr(n,r.getTheme().get(this.subType)),sr(n,this.getDefaultOption()),D6(n,"label",["show"]),this.fillDataTextStyle(n.data),i&&kv(n,o,i)},t.prototype.mergeOption=function(n,r){n=sr(this.option,n,!0),this.fillDataTextStyle(n.data);var i=y2(this);i&&kv(this.option,n,i);var o=Vc(this).sourceManager;o.dirty(),o.prepareSource();var a=this.getInitialData(n,r);oD(a,this),this.dataTask.dirty(),this.dataTask.context.data=a,Vc(this).dataBeforeProcessed=a,iD(this),this._initSelectedMapFromData(a)},t.prototype.fillDataTextStyle=function(n){if(n&&!da(n))for(var r=["show"],i=0;i<n.length;i++)n[i]&&n[i].label&&D6(n[i],"label",r)},t.prototype.getInitialData=function(n,r){},t.prototype.appendData=function(n){var r=this.getRawData();r.appendData(n.data)},t.prototype.getData=function(n){var r=t_(this);if(r){var i=r.context.data;return n==null||!i.getLinkedData?i:i.getLinkedData(n)}else return Vc(this).data},t.prototype.getAllData=function(){var n=this.getData();return n&&n.getLinkedDataAll?n.getLinkedDataAll():[{data:n}]},t.prototype.setData=function(n){var r=t_(this);if(r){var i=r.context;i.outputData=n,r!==this.dataTask&&(i.data=n)}Vc(this).data=n},t.prototype.getEncode=function(){var n=this.get("encode",!0);if(n)return xn(n)},t.prototype.getSourceManager=function(){return Vc(this).sourceManager},t.prototype.getSource=function(){return this.getSourceManager().getSource()},t.prototype.getRawData=function(){return Vc(this).dataBeforeProcessed},t.prototype.getColorBy=function(){var n=this.get("colorBy");return n||"series"},t.prototype.isColorBySeries=function(){return this.getColorBy()==="series"},t.prototype.getBaseAxis=function(){var n=this.coordinateSystem;return n&&n.getBaseAxis&&n.getBaseAxis()},t.prototype.formatTooltip=function(n,r,i){return U_e({series:this,dataIndex:n,multipleSeries:r})},t.prototype.isAnimationEnabled=function(){var n=this.ecModel;if(or.node&&!(n&&n.ssr))return!1;var r=this.getShallow("animation");return r&&this.getData().count()>this.getShallow("animationThreshold")&&(r=!1),!!r},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(n,r,i){var o=this.ecModel,a=fP.prototype.getColorFromPalette.call(this,n,r,i);return a||(a=o.getColorFromPalette(n,r,i)),a},t.prototype.coordDimToDataDim=function(n){return this.getRawData().mapDimensionsAll(n)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(n,r){this._innerSelect(this.getData(r),n)},t.prototype.unselect=function(n,r){var i=this.option.selectedMap;if(i){var o=this.option.selectedMode,a=this.getData(r);if(o==="series"||i==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var s=0;s<n.length;s++){var l=n[s],u=gR(a,l);i[u]=!1,this._selectedDataIndicesMap[u]=-1}}},t.prototype.toggleSelect=function(n,r){for(var i=[],o=0;o<n.length;o++)i[0]=n[o],this.isSelected(n[o],r)?this.unselect(i,r):this.select(i,r)},t.prototype.getSelectedDataIndices=function(){if(this.option.selectedMap==="all")return[].slice.call(this.getData().getIndices());for(var n=this._selectedDataIndicesMap,r=Dn(n),i=[],o=0;o<r.length;o++){var a=n[r[o]];a>=0&&i.push(a)}return i},t.prototype.isSelected=function(n,r){var i=this.option.selectedMap;if(!i)return!1;var o=this.getData(r);return(i==="all"||i[gR(o,n)])&&!o.getItemModel(n).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[Y_e])return!0;var n=this.option.universalTransition;return n?n===!0?!0:n&&n.enabled:!1},t.prototype._innerSelect=function(n,r){var i,o,a=this.option,s=a.selectedMode,l=r.length;if(!(!s||!l)){if(s==="series")a.selectedMap="all";else if(s==="multiple"){rn(a.selectedMap)||(a.selectedMap={});for(var u=a.selectedMap,c=0;c<l;c++){var f=r[c],d=gR(n,f);u[d]=!0,this._selectedDataIndicesMap[d]=n.getRawIndex(f)}}else if(s==="single"||s===!0){var h=r[l-1],d=gR(n,h);a.selectedMap=(i={},i[d]=!0,i),this._selectedDataIndicesMap=(o={},o[d]=n.getRawIndex(h),o)}}},t.prototype._initSelectedMapFromData=function(n){if(!this.option.selectedMap){var r=[];n.hasItemOption&&n.each(function(i){var o=n.getRawDataItem(i);o&&o.selected&&r.push(i)}),r.length>0&&this._innerSelect(n,r)}},t.registerClass=function(n){return fr.registerClass(n)},t.protoInitialize=function(){var n=t.prototype;n.type="series.__base__",n.seriesIndex=0,n.ignoreStyleOnData=!1,n.hasSymbolVisual=!1,n.defaultSymbol="circle",n.visualStyleAccessPath="itemStyle",n.visualDrawType="fill"}(),t}(fr);yl(Ha,L_e);yl(Ha,fP);t$(Ha,fr);function iD(e){var t=e.name;Hk(e)||(e.name=Z_e(e)||t)}function Z_e(e){var t=e.getRawData(),n=t.mapDimensionsAll("seriesName"),r=[];return Pe(n,function(i){var o=t.getDimensionInfo(i);o.displayName&&r.push(o.displayName)}),r.join(" ")}function Q_e(e){return e.model.getRawData().count()}function H_e(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),K_e}function K_e(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function oD(e,t){Pe(d5e(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),function(n){e.wrapMethod(n,Fa(G_e,t))})}function G_e(e,t){var n=t_(e);return n&&n.setOutputEnd((t||this).count()),t}function t_(e){var t=(e.ecModel||{}).scheduler,n=t&&t.getPipeline(e.uid);if(n){var r=n.currentTask;if(r){var i=r.agentStubMap;i&&(r=i.get(e.uid))}return r}}var hc=function(){function e(){this.group=new Ai,this.uid=U3("viewComponent")}return e.prototype.init=function(t,n){},e.prototype.render=function(t,n,r,i){},e.prototype.dispose=function(t,n){},e.prototype.updateView=function(t,n,r,i){},e.prototype.updateLayout=function(t,n,r,i){},e.prototype.updateVisual=function(t,n,r,i){},e.prototype.toggleBlurSeries=function(t,n,r){},e.prototype.eachRendered=function(t){var n=this.group;n&&n.traverse(t)},e}();Kk(hc);k3(hc);function mP(){var e=Ii();return function(t){var n=e(t),r=t.pipelineContext,i=!!n.large,o=!!n.progressiveRender,a=n.large=!!(r&&r.large),s=n.progressiveRender=!!(r&&r.progressiveRender);return(i!==a||o!==s)&&"reset"}}var mj=Ii(),z_e=mP(),la=function(){function e(){this.group=new Ai,this.uid=U3("viewChart"),this.renderTask=wm({plan:J_e,reset:$_e}),this.renderTask.context={view:this}}return e.prototype.init=function(t,n){},e.prototype.render=function(t,n,r,i){},e.prototype.highlight=function(t,n,r,i){var o=t.getData(i&&i.dataType);o&&sD(o,i,"emphasis")},e.prototype.downplay=function(t,n,r,i){var o=t.getData(i&&i.dataType);o&&sD(o,i,"normal")},e.prototype.remove=function(t,n){this.group.removeAll()},e.prototype.dispose=function(t,n){},e.prototype.updateView=function(t,n,r,i){this.render(t,n,r,i)},e.prototype.updateLayout=function(t,n,r,i){this.render(t,n,r,i)},e.prototype.updateVisual=function(t,n,r,i){this.render(t,n,r,i)},e.prototype.eachRendered=function(t){W3(this.group,t)},e.markUpdateMethod=function(t,n){mj(t).updateMethod=n},e.protoInitialize=function(){var t=e.prototype;t.type="chart"}(),e}();function aD(e,t,n){e&&K6(e)&&(t==="emphasis"?nS:rS)(e,n)}function sD(e,t,n){var r=Tv(e,t),i=t&&t.highlightKey!=null?RTe(t.highlightKey):null;r!=null?Pe(Co(r),function(o){aD(e.getItemGraphicEl(o),n,i)}):e.eachItemGraphicEl(function(o){aD(o,n,i)})}Kk(la);k3(la);function J_e(e){return z_e(e.model)}function $_e(e){var t=e.model,n=e.ecModel,r=e.api,i=e.payload,o=t.pipelineContext.progressiveRender,a=e.view,s=i&&mj(i).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return l!=="render"&&a[l](t,n,r,i),j_e[l]}var j_e={incrementalPrepareRender:{progress:function(e,t){t.view.incrementalRender(e,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(e,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}};function yj(e,t,n){var r,i=0,o=0,a=null,s,l,u,c;t=t||0;function f(){o=new Date().getTime(),a=null,e.apply(l,u||[])}var d=function(){for(var h=[],p=0;p<arguments.length;p++)h[p]=arguments[p];r=new Date().getTime(),l=this,u=h;var v=c||t,g=c||n;c=null,s=r-(g?i:o)-v,clearTimeout(a),g?a=setTimeout(f,v):s>=0?f():a=setTimeout(f,-s),i=r};return d.clear=function(){a&&(clearTimeout(a),a=null)},d.debounceNextCall=function(h){c=h},d}var lD=Ii(),uD={itemStyle:d2(X$,!0),lineStyle:d2(E$,!0)},q_e={lineStyle:"stroke",itemStyle:"fill"};function Aj(e,t){var n=e.visualStyleMapper||uD[t];return n||(console.warn("Unknown style type '"+t+"'."),uD.itemStyle)}function Rj(e,t){var n=e.visualDrawType||q_e[t];return n||(console.warn("Unknown style type '"+t+"'."),"fill")}var eOe={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",i=e.getModel(r),o=Aj(e,r),a=o(i),s=i.getShallow("decal");s&&(n.setVisual("decal",s),s.dirty=!0);var l=Rj(e,r),u=a[l],c=An(u)?u:null,f=a.fill==="auto"||a.stroke==="auto";if(!a[l]||c||f){var d=e.getColorFromPalette(e.name,null,t.getSeriesCount());a[l]||(a[l]=d,n.setVisual("colorFromPalette",!0)),a.fill=a.fill==="auto"||An(a.fill)?d:a.fill,a.stroke=a.stroke==="auto"||An(a.stroke)?d:a.stroke}if(n.setVisual("style",a),n.setVisual("drawType",l),!t.isSeriesFiltered(e)&&c)return n.setVisual("colorFromPalette",!1),{dataEach:function(h,p){var v=e.getDataParams(p),g=gt({},a);g[l]=c(v),h.setItemVisual(p,"style",g)}}}},Y1=new ki,tOe={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!(e.ignoreStyleOnData||t.isSeriesFiltered(e))){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",i=Aj(e,r),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(a,s){var l=a.getRawDataItem(s);if(l&&l[r]){Y1.option=l[r];var u=i(Y1),c=a.ensureUniqueItemVisual(s,"style");gt(c,u),Y1.option.decal&&(a.setItemVisual(s,"decal",Y1.option.decal),Y1.option.decal.dirty=!0),o in u&&a.setItemVisual(s,"colorFromPalette",!1)}}:null}}}},nOe={performRawSeries:!0,overallReset:function(e){var t=xn();e.eachSeries(function(n){var r=n.getColorBy();if(!n.isColorBySeries()){var i=n.type+"-"+r,o=t.get(i);o||(o={},t.set(i,o)),lD(n).scope=o}}),e.eachSeries(function(n){if(!(n.isColorBySeries()||e.isSeriesFiltered(n))){var r=n.getRawData(),i={},o=n.getData(),a=lD(n).scope,s=n.visualStyleAccessPath||"itemStyle",l=Rj(n,s);o.each(function(u){var c=o.getRawIndex(u);i[c]=u}),r.each(function(u){var c=i[u],f=o.getItemVisual(c,"colorFromPalette");if(f){var d=o.ensureUniqueItemVisual(c,"style"),h=r.getName(u)||u+"",p=r.count();d[l]=n.getColorFromPalette(h,a,p)}})}})}},mR=Math.PI;function rOe(e,t){t=t||{},En(t,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new Ai,r=new Oi({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});n.add(r);var i=new Qa({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),o=new Oi({style:{fill:"none"},textContent:i,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});n.add(o);var a;return t.showSpinner&&(a=new X3({shape:{startAngle:-mR/2,endAngle:-mR/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001}),a.animateShape(!0).when(1e3,{endAngle:mR*3/2}).start("circularInOut"),a.animateShape(!0).when(1e3,{startAngle:mR*3/2}).delay(300).start("circularInOut"),n.add(a)),n.resize=function(){var s=i.getBoundingRect().width,l=t.showSpinner?t.spinnerRadius:0,u=(e.getWidth()-l*2-(t.showSpinner&&s?10:0)-s)/2-(t.showSpinner&&s?0:5+s/2)+(t.showSpinner?0:s/2)+(s?0:l),c=e.getHeight()/2;t.showSpinner&&a.setShape({cx:u,cy:c}),o.setShape({x:u-l,y:c-l,width:l*2,height:l*2}),r.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},n.resize(),n}var bj=function(){function e(t,n,r,i){this._stageTaskMap=xn(),this.ecInstance=t,this.api=n,r=this._dataProcessorHandlers=r.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=r.concat(i)}return e.prototype.restoreData=function(t,n){t.restoreData(n),this._stageTaskMap.each(function(r){var i=r.overallTask;i&&i.dirty()})},e.prototype.getPerformArgs=function(t,n){if(t.__pipeline){var r=this._pipelineMap.get(t.__pipeline.id),i=r.context,o=!n&&r.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>r.blockIndex,a=o?r.step:null,s=i&&i.modDataCount,l=s!=null?Math.ceil(s/a):null;return{step:a,modBy:l,modDataCount:s}}},e.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},e.prototype.updateStreamModes=function(t,n){var r=this._pipelineMap.get(t.uid),i=t.getData(),o=i.count(),a=r.progressiveEnabled&&n.incrementalPrepareRender&&o>=r.threshold,s=t.get("large")&&o>=t.get("largeThreshold"),l=t.get("progressiveChunkMode")==="mod"?o:null;t.pipelineContext=r.context={progressiveRender:a,modDataCount:l,large:s}},e.prototype.restorePipelines=function(t){var n=this,r=n._pipelineMap=xn();t.eachSeries(function(i){var o=i.getProgressive(),a=i.uid;r.set(a,{id:a,head:null,tail:null,threshold:i.getProgressiveThreshold(),progressiveEnabled:o&&!(i.preventIncremental&&i.preventIncremental()),blockIndex:-1,step:Math.round(o||700),count:0}),n._pipe(i,i.dataTask)})},e.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,n=this.api.getModel(),r=this.api;Pe(this._allHandlers,function(i){var o=t.get(i.uid)||t.set(i.uid,{}),a="";gu(!(i.reset&&i.overallReset),a),i.reset&&this._createSeriesStageTask(i,o,n,r),i.overallReset&&this._createOverallStageTask(i,o,n,r)},this)},e.prototype.prepareView=function(t,n,r,i){var o=t.renderTask,a=o.context;a.model=n,a.ecModel=r,a.api=i,o.__block=!t.incrementalPrepareRender,this._pipe(n,o)},e.prototype.performDataProcessorTasks=function(t,n){this._performStageTasks(this._dataProcessorHandlers,t,n,{block:!0})},e.prototype.performVisualTasks=function(t,n,r){this._performStageTasks(this._visualHandlers,t,n,r)},e.prototype._performStageTasks=function(t,n,r,i){i=i||{};var o=!1,a=this;Pe(t,function(l,u){if(!(i.visualType&&i.visualType!==l.visualType)){var c=a._stageTaskMap.get(l.uid),f=c.seriesTaskMap,d=c.overallTask;if(d){var h,p=d.agentStubMap;p.each(function(g){s(i,g)&&(g.dirty(),h=!0)}),h&&d.dirty(),a.updatePayload(d,r);var v=a.getPerformArgs(d,i.block);p.each(function(g){g.perform(v)}),d.perform(v)&&(o=!0)}else f&&f.each(function(g,m){s(i,g)&&g.dirty();var y=a.getPerformArgs(g,i.block);y.skip=!l.performRawSeries&&n.isSeriesFiltered(g.context.model),a.updatePayload(g,r),g.perform(y)&&(o=!0)})}});function s(l,u){return l.setDirty&&(!l.dirtyMap||l.dirtyMap.get(u.__pipeline.id))}this.unfinished=o||this.unfinished},e.prototype.performSeriesTasks=function(t){var n;t.eachSeries(function(r){n=r.dataTask.perform()||n}),this.unfinished=n||this.unfinished},e.prototype.plan=function(){this._pipelineMap.each(function(t){var n=t.tail;do{if(n.__block){t.blockIndex=n.__idxInPipeline;break}n=n.getUpstream()}while(n)})},e.prototype.updatePayload=function(t,n){n!=="remain"&&(t.context.payload=n)},e.prototype._createSeriesStageTask=function(t,n,r,i){var o=this,a=n.seriesTaskMap,s=n.seriesTaskMap=xn(),l=t.seriesType,u=t.getTargetSeries;t.createOnAllSeries?r.eachRawSeries(c):l?r.eachRawSeriesByType(l,c):u&&u(r,i).each(c);function c(f){var d=f.uid,h=s.set(d,a&&a.get(d)||wm({plan:lOe,reset:uOe,count:fOe}));h.context={model:f,ecModel:r,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:o},o._pipe(f,h)}},e.prototype._createOverallStageTask=function(t,n,r,i){var o=this,a=n.overallTask=n.overallTask||wm({reset:iOe});a.context={ecModel:r,api:i,overallReset:t.overallReset,scheduler:o};var s=a.agentStubMap,l=a.agentStubMap=xn(),u=t.seriesType,c=t.getTargetSeries,f=!0,d=!1,h="";gu(!t.createOnAllSeries,h),u?r.eachRawSeriesByType(u,p):c?c(r,i).each(p):(f=!1,Pe(r.getSeries(),p));function p(v){var g=v.uid,m=l.set(g,s&&s.get(g)||(d=!0,wm({reset:oOe,onDirty:sOe})));m.context={model:v,overallProgress:f},m.agent=a,m.__block=f,o._pipe(v,m)}d&&a.dirty()},e.prototype._pipe=function(t,n){var r=t.uid,i=this._pipelineMap.get(r);!i.head&&(i.head=n),i.tail&&i.tail.pipe(n),i.tail=n,n.__idxInPipeline=i.count++,n.__pipeline=i},e.wrapStageHandler=function(t,n){return An(t)&&(t={overallReset:t,seriesType:dOe(t)}),t.uid=U3("stageHandler"),n&&(t.visualType=n),t},e}();function iOe(e){e.overallReset(e.ecModel,e.api,e.payload)}function oOe(e){return e.overallProgress&&aOe}function aOe(){this.agent.dirty(),this.getDownstream().dirty()}function sOe(){this.agent&&this.agent.dirty()}function lOe(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function uOe(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=Co(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?Ot(t,function(n,r){return xj(r)}):cOe}var cOe=xj(0);function xj(e){return function(t,n){var r=n.data,i=n.resetDefines[e];if(i&&i.dataEach)for(var o=t.start;o<t.end;o++)i.dataEach(r,o);else i&&i.progress&&i.progress(t,r)}}function fOe(e){return e.data.count()}function dOe(e){fS=null;try{e(b2,Sj)}catch{}return fS}var b2={},Sj={},fS;wj(b2,dP);wj(Sj,rj);b2.eachSeriesByType=b2.eachRawSeriesByType=function(e){fS=e};b2.eachComponent=function(e){e.mainType==="series"&&e.subType&&(fS=e.subType)};function wj(e,t){for(var n in t.prototype)e[n]=Ba}var cD=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];const hOe={color:cD,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],cD]};var wo="#B9B8CE",fD="#100C2A",yR=function(){return{axisLine:{lineStyle:{color:wo}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},dD=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],Mj={darkMode:!0,color:dD,backgroundColor:fD,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:wo}},textStyle:{color:wo},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:wo}},dataZoom:{borderColor:"#71708A",textStyle:{color:wo},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:wo}},timeline:{lineStyle:{color:wo},label:{color:wo},controlStyle:{color:wo,borderColor:wo}},calendar:{itemStyle:{color:fD},dayLabel:{color:wo},monthLabel:{color:wo},yearLabel:{color:wo}},timeAxis:yR(),logAxis:yR(),valueAxis:yR(),categoryAxis:yR(),line:{symbol:"circle"},graph:{color:dD},gauge:{title:{color:wo},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:wo},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};Mj.categoryAxis.splitLine.show=!1;var pOe=function(){function e(){}return e.prototype.normalizeQuery=function(t){var n={},r={},i={};if(Qt(t)){var o=tu(t);n.mainType=o.main||null,n.subType=o.sub||null}else{var a=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};Pe(t,function(l,u){for(var c=!1,f=0;f<a.length;f++){var d=a[f],h=u.lastIndexOf(d);if(h>0&&h===u.length-d.length){var p=u.slice(0,h);p!=="data"&&(n.mainType=p,n[d.toLowerCase()]=l,c=!0)}}s.hasOwnProperty(u)&&(r[u]=l,c=!0),c||(i[u]=l)})}return{cptQuery:n,dataQuery:r,otherQuery:i}},e.prototype.filter=function(t,n){var r=this.eventInfo;if(!r)return!0;var i=r.targetEl,o=r.packedEvent,a=r.model,s=r.view;if(!a||!s)return!0;var l=n.cptQuery,u=n.dataQuery;return c(l,a,"mainType")&&c(l,a,"subType")&&c(l,a,"index","componentIndex")&&c(l,a,"name")&&c(l,a,"id")&&c(u,o,"name")&&c(u,o,"dataIndex")&&c(u,o,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,n.otherQuery,i,o));function c(f,d,h,p){return f[h]==null||d[p||h]===f[h]}},e.prototype.afterTrigger=function(){this.eventInfo=null},e}(),n_=["symbol","symbolSize","symbolRotate","symbolOffset"],hD=n_.concat(["symbolKeepAspect"]),vOe={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData();if(e.legendIcon&&n.setVisual("legendIcon",e.legendIcon),!e.hasSymbolVisual)return;for(var r={},i={},o=!1,a=0;a<n_.length;a++){var s=n_[a],l=e.get(s);An(l)?(o=!0,i[s]=l):r[s]=l}if(r.symbol=r.symbol||e.defaultSymbol,n.setVisual(gt({legendIcon:e.legendIcon||r.symbol,symbolKeepAspect:e.get("symbolKeepAspect")},r)),t.isSeriesFiltered(e))return;var u=Dn(i);function c(f,d){for(var h=e.getRawValue(d),p=e.getDataParams(d),v=0;v<u.length;v++){var g=u[v];f.setItemVisual(d,g,i[g](h,p))}}return{dataEach:o?c:null}}},gOe={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!e.hasSymbolVisual||t.isSeriesFiltered(e))return;var n=e.getData();function r(i,o){for(var a=i.getItemModel(o),s=0;s<hD.length;s++){var l=hD[s],u=a.getShallow(l,!0);u!=null&&i.setItemVisual(o,l,u)}}return{dataEach:n.hasItemOption?r:null}}};function mOe(e,t,n){switch(n){case"color":var r=e.getItemVisual(t,"style");return r[e.getVisual("drawType")];case"opacity":return e.getItemVisual(t,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getItemVisual(t,n)}}function yOe(e,t){switch(t){case"color":var n=e.getVisual("style");return n[e.getVisual("drawType")];case"opacity":return e.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getVisual(t)}}function AOe(e,t){function n(r,i){var o=[];return r.eachComponent({mainType:"series",subType:e,query:i},function(a){o.push(a.seriesIndex)}),o}Pe([[e+"ToggleSelect","toggleSelect"],[e+"Select","select"],[e+"UnSelect","unselect"]],function(r){t(r[0],function(i,o,a){i=gt({},i),a.dispatchAction(gt(i,{type:r[1],seriesIndex:n(o,i)}))})})}function q0(e,t,n,r,i){var o=e+t;n.isSilent(o)||r.eachComponent({mainType:"series",subType:"pie"},function(a){for(var s=a.seriesIndex,l=a.option.selectedMap,u=i.selected,c=0;c<u.length;c++)if(u[c].seriesIndex===s){var f=a.getData(),d=Tv(f,i.fromActionPayload);n.trigger(o,{type:o,seriesId:a.id,name:It(d)?f.getName(d[0]):f.getName(d),selected:Qt(l)?l:gt({},l)})}})}function ROe(e,t,n){e.on("selectchanged",function(r){var i=n.getModel();r.isFromClick?(q0("map","selectchanged",t,i,r),q0("pie","selectchanged",t,i,r)):r.fromAction==="select"?(q0("map","selected",t,i,r),q0("pie","selected",t,i,r)):r.fromAction==="unselect"&&(q0("map","unselected",t,i,r),q0("pie","unselected",t,i,r))})}function AR(e,t,n){for(var r;e&&!(t(e)&&(r=e,n));)e=e.__hostTarget||e.parent;return r}var bOe=Math.round(Math.random()*9),xOe=typeof Object.defineProperty=="function",SOe=function(){function e(){this._id="__ec_inner_"+bOe++}return e.prototype.get=function(t){return this._guard(t)[this._id]},e.prototype.set=function(t,n){var r=this._guard(t);return xOe?Object.defineProperty(r,this._id,{value:n,enumerable:!1,configurable:!0}):r[this._id]=n,this},e.prototype.delete=function(t){return this.has(t)?(delete this._guard(t)[this._id],!0):!1},e.prototype.has=function(t){return!!this._guard(t)[this._id]},e.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},e}(),wOe=Jn.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,r=t.cy,i=t.width/2,o=t.height/2;e.moveTo(n,r-o),e.lineTo(n+i,r+o),e.lineTo(n-i,r+o),e.closePath()}}),MOe=Jn.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,r=t.cy,i=t.width/2,o=t.height/2;e.moveTo(n,r-o),e.lineTo(n+i,r),e.lineTo(n,r+o),e.lineTo(n-i,r),e.closePath()}}),LOe=Jn.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.x,r=t.y,i=t.width/5*3,o=Math.max(i,t.height),a=i/2,s=a*a/(o-a),l=r-o+a+s,u=Math.asin(s/a),c=Math.cos(u)*a,f=Math.sin(u),d=Math.cos(u),h=a*.6,p=a*.7;e.moveTo(n-c,l+s),e.arc(n,l,a,Math.PI-u,Math.PI*2+u),e.bezierCurveTo(n+c-f*h,l+s+d*h,n,r-p,n,r),e.bezierCurveTo(n,r-p,n-c+f*h,l+s+d*h,n-c,l+s),e.closePath()}}),TOe=Jn.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.height,r=t.width,i=t.x,o=t.y,a=r/3*2;e.moveTo(i,o),e.lineTo(i+a,o+n),e.lineTo(i,o+n/4*3),e.lineTo(i-a,o+n),e.lineTo(i,o),e.closePath()}}),_Oe={line:qf,rect:Oi,roundRect:Oi,square:Oi,circle:dy,diamond:MOe,pin:LOe,arrow:TOe,triangle:wOe},OOe={line:function(e,t,n,r,i){i.x1=e,i.y1=t+r/2,i.x2=e+n,i.y2=t+r/2},rect:function(e,t,n,r,i){i.x=e,i.y=t,i.width=n,i.height=r},roundRect:function(e,t,n,r,i){i.x=e,i.y=t,i.width=n,i.height=r,i.r=Math.min(n,r)/4},square:function(e,t,n,r,i){var o=Math.min(n,r);i.x=e,i.y=t,i.width=o,i.height=o},circle:function(e,t,n,r,i){i.cx=e+n/2,i.cy=t+r/2,i.r=Math.min(n,r)/2},diamond:function(e,t,n,r,i){i.cx=e+n/2,i.cy=t+r/2,i.width=n,i.height=r},pin:function(e,t,n,r,i){i.x=e+n/2,i.y=t+r/2,i.width=n,i.height=r},arrow:function(e,t,n,r,i){i.x=e+n/2,i.y=t+r/2,i.width=n,i.height=r},triangle:function(e,t,n,r,i){i.cx=e+n/2,i.cy=t+r/2,i.width=n,i.height=r}},r_={};Pe(_Oe,function(e,t){r_[t]=new e});var kOe=Jn.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(e,t,n){var r=jx(e,t,n),i=this.shape;return i&&i.symbolType==="pin"&&t.position==="inside"&&(r.y=n.y+n.height*.4),r},buildPath:function(e,t,n){var r=t.symbolType;if(r!=="none"){var i=r_[r];i||(r="rect",i=r_[r]),OOe[r](t.x,t.y,t.width,t.height,i.shape),i.buildPath(e,i.shape,n)}}});function POe(e,t){if(this.type!=="image"){var n=this.style;this.__isEmptyBrush?(n.stroke=e,n.fill=t||"#fff",n.lineWidth=2):this.shape.symbolType==="line"?n.stroke=e:n.fill=e,this.markRedraw()}}function ed(e,t,n,r,i,o,a){var s=e.indexOf("empty")===0;s&&(e=e.substr(5,1).toLowerCase()+e.substr(6));var l;return e.indexOf("image://")===0?l=O$(e.slice(8),new dr(t,n,r,i),a?"center":"cover"):e.indexOf("path://")===0?l=nP(e.slice(7),{},new dr(t,n,r,i),a?"center":"cover"):l=new kOe({shape:{symbolType:e,x:t,y:n,width:r,height:i}}),l.__isEmptyBrush=s,l.setColor=POe,o&&l.setColor(o),l}function Lj(e){return It(e)||(e=[+e,+e]),[e[0]||0,e[1]||0]}function Tj(e,t){if(e!=null)return It(e)||(e=[e,e]),[mr(e[0],t[0])||0,mr(sn(e[1],e[0]),t[1])||0]}function Ah(e){return isFinite(e)}function COe(e,t,n){var r=t.x==null?0:t.x,i=t.x2==null?1:t.x2,o=t.y==null?0:t.y,a=t.y2==null?0:t.y2;t.global||(r=r*n.width+n.x,i=i*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),r=Ah(r)?r:0,i=Ah(i)?i:1,o=Ah(o)?o:0,a=Ah(a)?a:0;var s=e.createLinearGradient(r,o,i,a);return s}function IOe(e,t,n){var r=n.width,i=n.height,o=Math.min(r,i),a=t.x==null?.5:t.x,s=t.y==null?.5:t.y,l=t.r==null?.5:t.r;t.global||(a=a*r+n.x,s=s*i+n.y,l=l*o),a=Ah(a)?a:.5,s=Ah(s)?s:.5,l=l>=0&&Ah(l)?l:.5;var u=e.createRadialGradient(a,s,0,a,s,l);return u}function pD(e,t,n){for(var r=t.type==="radial"?IOe(e,t,n):COe(e,t,n),i=t.colorStops,o=0;o<i.length;o++)r.addColorStop(i[o].offset,i[o].color);return r}function NOe(e,t){if(e===t||!e&&!t)return!1;if(!e||!t||e.length!==t.length)return!0;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!0;return!1}function RR(e){return parseInt(e,10)}function vD(e,t,n){var r=["width","height"][t],i=["clientWidth","clientHeight"][t],o=["paddingLeft","paddingTop"][t],a=["paddingRight","paddingBottom"][t];if(n[r]!=null&&n[r]!=="auto")return parseFloat(n[r]);var s=document.defaultView.getComputedStyle(e);return(e[i]||RR(s[r])||RR(e.style[r]))-(RR(s[o])||0)-(RR(s[a])||0)|0}function FOe(e,t){return!e||e==="solid"||!(t>0)?null:e==="dashed"?[4*t,2*t]:e==="dotted"?[t]:Ar(e)?[e]:It(e)?e:null}function yP(e){var t=e.style,n=t.lineDash&&t.lineWidth>0&&FOe(t.lineDash,t.lineWidth),r=t.lineDashOffset;if(n){var i=t.strokeNoScale&&e.getLineScale?e.getLineScale():1;i&&i!==1&&(n=Ot(n,function(o){return o/i}),r/=i)}return[n,r]}var EOe=new jf(!0);function dS(e){var t=e.stroke;return!(t==null||t==="none"||!(e.lineWidth>0))}function gD(e){return typeof e=="string"&&e!=="none"}function hS(e){var t=e.fill;return t!=null&&t!=="none"}function mD(e,t){if(t.fillOpacity!=null&&t.fillOpacity!==1){var n=e.globalAlpha;e.globalAlpha=t.fillOpacity*t.opacity,e.fill(),e.globalAlpha=n}else e.fill()}function yD(e,t){if(t.strokeOpacity!=null&&t.strokeOpacity!==1){var n=e.globalAlpha;e.globalAlpha=t.strokeOpacity*t.opacity,e.stroke(),e.globalAlpha=n}else e.stroke()}function AD(e,t,n){var r=Gk(t.image,t.__image,n);if(P3(r)){var i=e.createPattern(r,t.repeat||"repeat");if(typeof DOMMatrix=="function"&&i&&i.setTransform){var o=new DOMMatrix;o.translateSelf(t.x||0,t.y||0),o.rotateSelf(0,0,(t.rotation||0)*Rb),o.scaleSelf(t.scaleX||1,t.scaleY||1),i.setTransform(o)}return i}}function XOe(e,t,n,r){var i,o=dS(n),a=hS(n),s=n.strokePercent,l=s<1,u=!t.path;(!t.silent||l)&&u&&t.createPathProxy();var c=t.path||EOe,f=t.__dirty;if(!r){var d=n.fill,h=n.stroke,p=a&&!!d.colorStops,v=o&&!!h.colorStops,g=a&&!!d.image,m=o&&!!h.image,y=void 0,R=void 0,A=void 0,x=void 0,S=void 0;(p||v)&&(S=t.getBoundingRect()),p&&(y=f?pD(e,d,S):t.__canvasFillGradient,t.__canvasFillGradient=y),v&&(R=f?pD(e,h,S):t.__canvasStrokeGradient,t.__canvasStrokeGradient=R),g&&(A=f||!t.__canvasFillPattern?AD(e,d,t):t.__canvasFillPattern,t.__canvasFillPattern=A),m&&(x=f||!t.__canvasStrokePattern?AD(e,h,t):t.__canvasStrokePattern,t.__canvasStrokePattern=A),p?e.fillStyle=y:g&&(A?e.fillStyle=A:a=!1),v?e.strokeStyle=R:m&&(x?e.strokeStyle=x:o=!1)}var _=t.getGlobalScale();c.setScale(_[0],_[1],t.segmentIgnoreThreshold);var M,w;e.setLineDash&&n.lineDash&&(i=yP(t),M=i[0],w=i[1]);var L=!0;(u||f&bp)&&(c.setDPR(e.dpr),l?c.setContext(null):(c.setContext(e),L=!1),c.reset(),t.buildPath(c,t.shape,r),c.toStatic(),t.pathUpdated()),L&&c.rebuildPath(e,l?s:1),M&&(e.setLineDash(M),e.lineDashOffset=w),r||(n.strokeFirst?(o&&yD(e,n),a&&mD(e,n)):(a&&mD(e,n),o&&yD(e,n))),M&&e.setLineDash([])}function WOe(e,t,n){var r=t.__image=Gk(n.image,t.__image,t,t.onload);if(!(!r||!P3(r))){var i=n.x||0,o=n.y||0,a=t.getWidth(),s=t.getHeight(),l=r.width/r.height;if(a==null&&s!=null?a=s*l:s==null&&a!=null?s=a/l:a==null&&s==null&&(a=r.width,s=r.height),n.sWidth&&n.sHeight){var u=n.sx||0,c=n.sy||0;e.drawImage(r,u,c,n.sWidth,n.sHeight,i,o,a,s)}else if(n.sx&&n.sy){var u=n.sx,c=n.sy,f=a-u,d=s-c;e.drawImage(r,u,c,f,d,i,o,a,s)}else e.drawImage(r,i,o,a,s)}}function VOe(e,t,n){var r,i=n.text;if(i!=null&&(i+=""),i){e.font=n.font||Gf,e.textAlign=n.textAlign,e.textBaseline=n.textBaseline;var o=void 0,a=void 0;e.setLineDash&&n.lineDash&&(r=yP(t),o=r[0],a=r[1]),o&&(e.setLineDash(o),e.lineDashOffset=a),n.strokeFirst?(dS(n)&&e.strokeText(i,n.x,n.y),hS(n)&&e.fillText(i,n.x,n.y)):(hS(n)&&e.fillText(i,n.x,n.y),dS(n)&&e.strokeText(i,n.x,n.y)),o&&e.setLineDash([])}}var RD=["shadowBlur","shadowOffsetX","shadowOffsetY"],bD=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function _j(e,t,n,r,i){var o=!1;if(!r&&(n=n||{},t===n))return!1;if(r||t.opacity!==n.opacity){jo(e,i),o=!0;var a=Math.max(Math.min(t.opacity,1),0);e.globalAlpha=isNaN(a)?Fh.opacity:a}(r||t.blend!==n.blend)&&(o||(jo(e,i),o=!0),e.globalCompositeOperation=t.blend||Fh.blend);for(var s=0;s<RD.length;s++){var l=RD[s];(r||t[l]!==n[l])&&(o||(jo(e,i),o=!0),e[l]=e.dpr*(t[l]||0))}return(r||t.shadowColor!==n.shadowColor)&&(o||(jo(e,i),o=!0),e.shadowColor=t.shadowColor||Fh.shadowColor),o}function xD(e,t,n,r,i){var o=x2(t,i.inHover),a=r?null:n&&x2(n,i.inHover)||{};if(o===a)return!1;var s=_j(e,o,a,r,i);if((r||o.fill!==a.fill)&&(s||(jo(e,i),s=!0),gD(o.fill)&&(e.fillStyle=o.fill)),(r||o.stroke!==a.stroke)&&(s||(jo(e,i),s=!0),gD(o.stroke)&&(e.strokeStyle=o.stroke)),(r||o.opacity!==a.opacity)&&(s||(jo(e,i),s=!0),e.globalAlpha=o.opacity==null?1:o.opacity),t.hasStroke()){var l=o.lineWidth,u=l/(o.strokeNoScale&&t.getLineScale?t.getLineScale():1);e.lineWidth!==u&&(s||(jo(e,i),s=!0),e.lineWidth=u)}for(var c=0;c<bD.length;c++){var f=bD[c],d=f[0];(r||o[d]!==a[d])&&(s||(jo(e,i),s=!0),e[d]=o[d]||f[1])}return s}function DOe(e,t,n,r,i){return _j(e,x2(t,i.inHover),n&&x2(n,i.inHover),r,i)}function Oj(e,t){var n=t.transform,r=e.dpr||1;n?e.setTransform(r*n[0],r*n[1],r*n[2],r*n[3],r*n[4],r*n[5]):e.setTransform(r,0,0,r,0,0)}function UOe(e,t,n){for(var r=!1,i=0;i<e.length;i++){var o=e[i];r=r||o.isZeroArea(),Oj(t,o),t.beginPath(),o.buildPath(t,o.shape),t.clip()}n.allClipped=r}function BOe(e,t){return e&&t?e[0]!==t[0]||e[1]!==t[1]||e[2]!==t[2]||e[3]!==t[3]||e[4]!==t[4]||e[5]!==t[5]:!(!e&&!t)}var SD=1,wD=2,MD=3,LD=4;function YOe(e){var t=hS(e),n=dS(e);return!(e.lineDash||!(+t^+n)||t&&typeof e.fill!="string"||n&&typeof e.stroke!="string"||e.strokePercent<1||e.strokeOpacity<1||e.fillOpacity<1)}function jo(e,t){t.batchFill&&e.fill(),t.batchStroke&&e.stroke(),t.batchFill="",t.batchStroke=""}function x2(e,t){return t&&e.__hoverStyle||e.style}function ZOe(e,t){i_(e,t,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function i_(e,t,n,r){var i=t.transform;if(!t.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1)){t.__dirty&=~Jl,t.__isRendered=!1;return}var o=t.__clipPaths,a=n.prevElClipPaths,s=!1,l=!1;if((!a||NOe(o,a))&&(a&&a.length&&(jo(e,n),e.restore(),l=s=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),o&&o.length&&(jo(e,n),e.save(),UOe(o,e,n),s=!0),n.prevElClipPaths=o),n.allClipped){t.__isRendered=!1;return}t.beforeBrush&&t.beforeBrush(),t.innerBeforeBrush();var u=n.prevEl;u||(l=s=!0);var c=t instanceof Jn&&t.autoBatch&&YOe(t.style);s||BOe(i,u.transform)?(jo(e,n),Oj(e,t)):c||jo(e,n);var f=x2(t,n.inHover);t instanceof Jn?(n.lastDrawType!==SD&&(l=!0,n.lastDrawType=SD),xD(e,t,u,l,n),(!c||!n.batchFill&&!n.batchStroke)&&e.beginPath(),XOe(e,t,f,c),c&&(n.batchFill=f.fill||"",n.batchStroke=f.stroke||"")):t instanceof h2?(n.lastDrawType!==MD&&(l=!0,n.lastDrawType=MD),xD(e,t,u,l,n),VOe(e,t,f)):t instanceof Al?(n.lastDrawType!==wD&&(l=!0,n.lastDrawType=wD),DOe(e,t,u,l,n),WOe(e,t,f)):t.getTemporalDisplayables&&(n.lastDrawType!==LD&&(l=!0,n.lastDrawType=LD),QOe(e,t,n)),c&&r&&jo(e,n),t.innerAfterBrush(),t.afterBrush&&t.afterBrush(),n.prevEl=t,t.__dirty=0,t.__isRendered=!0}function QOe(e,t,n){var r=t.getDisplayables(),i=t.getTemporalDisplayables();e.save();var o={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover},a,s;for(a=t.getCursor(),s=r.length;a<s;a++){var l=r[a];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),i_(e,l,o,a===s-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),o.prevEl=l}for(var u=0,c=i.length;u<c;u++){var l=i[u];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),i_(e,l,o,u===c-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),o.prevEl=l}t.clearTemporalDisplayables(),t.notClear=!0,e.restore()}var CL=new SOe,TD=new uy(100),_D=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function o_(e,t){if(e==="none")return null;var n=t.getDevicePixelRatio(),r=t.getZr(),i=r.painter.type==="svg";e.dirty&&CL.delete(e);var o=CL.get(e);if(o)return o;var a=En(e,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});a.backgroundColor==="none"&&(a.backgroundColor=null);var s={repeat:"repeat"};return l(s),s.rotation=a.rotation,s.scaleX=s.scaleY=i?1:1/n,CL.set(e,s),e.dirty=!1,s;function l(u){for(var c=[n],f=!0,d=0;d<_D.length;++d){var h=a[_D[d]];if(h!=null&&!It(h)&&!Qt(h)&&!Ar(h)&&typeof h!="boolean"){f=!1;break}c.push(h)}var p;if(f){p=c.join(",")+(i?"-svg":"");var v=TD.get(p);v&&(i?u.svgElement=v:u.image=v)}var g=Pj(a.dashArrayX),m=HOe(a.dashArrayY),y=kj(a.symbol),R=KOe(g),A=Cj(m),x=!i&&sy.createCanvas(),S=i&&{tag:"g",attrs:{},key:"dcl",children:[]},_=w(),M;x&&(x.width=_.width*n,x.height=_.height*n,M=x.getContext("2d")),L(),f&&TD.put(p,x||S),u.image=x,u.svgElement=S,u.svgWidth=_.width,u.svgHeight=_.height;function w(){for(var k=1,P=0,F=R.length;P<F;++P)k=ZW(k,R[P]);for(var C=1,P=0,F=y.length;P<F;++P)C=ZW(C,y[P].length);k*=C;var N=A*R.length*y.length;return{width:Math.max(1,Math.min(k,a.maxTileWidth)),height:Math.max(1,Math.min(N,a.maxTileHeight))}}function L(){M&&(M.clearRect(0,0,x.width,x.height),a.backgroundColor&&(M.fillStyle=a.backgroundColor,M.fillRect(0,0,x.width,x.height)));for(var k=0,P=0;P<m.length;++P)k+=m[P];if(k<=0)return;for(var F=-A,C=0,N=0,I=0;F<_.height;){if(C%2===0){for(var V=N/2%y.length,W=0,Z=0,re=0;W<_.width*2;){for(var Y=0,P=0;P<g[I].length;++P)Y+=g[I][P];if(Y<=0)break;if(Z%2===0){var B=(1-a.symbolSize)*.5,Q=W+g[I][Z]*B,K=F+m[C]*B,q=g[I][Z]*a.symbolSize,j=m[C]*a.symbolSize,de=re/2%y[V].length;G(Q,K,q,j,y[V][de])}W+=g[I][Z],++re,++Z,Z===g[I].length&&(Z=0)}++I,I===g.length&&(I=0)}F+=m[C],++N,++C,C===m.length&&(C=0)}function G(Ae,ce,fe,le,$){var X=i?1:n,J=ed($,Ae*X,ce*X,fe*X,le*X,a.color,a.symbolKeepAspect);if(i){var se=r.painter.renderOneToVNode(J);se&&S.children.push(se)}else ZOe(M,J)}}}}function kj(e){if(!e||e.length===0)return[["rect"]];if(Qt(e))return[[e]];for(var t=!0,n=0;n<e.length;++n)if(!Qt(e[n])){t=!1;break}if(t)return kj([e]);for(var r=[],n=0;n<e.length;++n)Qt(e[n])?r.push([e[n]]):r.push(e[n]);return r}function Pj(e){if(!e||e.length===0)return[[0,0]];if(Ar(e)){var t=Math.ceil(e);return[[t,t]]}for(var n=!0,r=0;r<e.length;++r)if(!Ar(e[r])){n=!1;break}if(n)return Pj([e]);for(var i=[],r=0;r<e.length;++r)if(Ar(e[r])){var t=Math.ceil(e[r]);i.push([t,t])}else{var t=Ot(e[r],function(s){return Math.ceil(s)});t.length%2===1?i.push(t.concat(t)):i.push(t)}return i}function HOe(e){if(!e||typeof e=="object"&&e.length===0)return[0,0];if(Ar(e)){var t=Math.ceil(e);return[t,t]}var n=Ot(e,function(r){return Math.ceil(r)});return e.length%2?n.concat(n):n}function KOe(e){return Ot(e,function(t){return Cj(t)})}function Cj(e){for(var t=0,n=0;n<e.length;++n)t+=e[n];return e.length%2===1?t*2:t}function GOe(e,t){e.eachRawSeries(function(n){if(!e.isSeriesFiltered(n)){var r=n.getData();r.hasItemVisual()&&r.each(function(a){var s=r.getItemVisual(a,"decal");if(s){var l=r.ensureUniqueItemVisual(a,"style");l.decal=o_(s,t)}});var i=r.getVisual("decal");if(i){var o=r.getVisual("style");o.decal=o_(i,t)}}})}var qs=new Ac,Ij={};function zOe(e,t){Ij[e]=t}function JOe(e){return Ij[e]}var $Oe=1,jOe=800,qOe=900,eke=1e3,tke=2e3,nke=5e3,Nj=1e3,rke=1100,AP=2e3,Fj=3e3,ike=4e3,z3=4500,oke=4600,ake=5e3,ske=6e3,Ej=7e3,lke={PROCESSOR:{FILTER:eke,SERIES_FILTER:jOe,STATISTIC:nke},VISUAL:{LAYOUT:Nj,PROGRESSIVE_LAYOUT:rke,GLOBAL:AP,CHART:Fj,POST_CHART_LAYOUT:oke,COMPONENT:ike,BRUSH:ake,CHART_ITEM:z3,ARIA:ske,DECAL:Ej}},eo="__flagInMainProcess",Bo="__pendingUpdate",IL="__needsUpdateStatus",OD=/^[a-zA-Z0-9_]+$/,NL="__connectUpdateStatus",kD=0,uke=1,cke=2;function Xj(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this.isDisposed()){this.id;return}return Vj(this,e,t)}}function Wj(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return Vj(this,e,t)}}function Vj(e,t,n){return n[0]=n[0]&&n[0].toLowerCase(),Ac.prototype[t].apply(e,n)}var Dj=function(e){St(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(Ac),Uj=Dj.prototype;Uj.on=Wj("on");Uj.off=Wj("off");var ep,FL,bR,Dc,EL,XL,WL,Z1,Q1,PD,CD,VL,ID,xR,ND,Bj,rs,FD,Yj=function(e){St(t,e);function t(n,r,i){var o=e.call(this,new pOe)||this;o._chartsViews=[],o._chartsMap={},o._componentsViews=[],o._componentsMap={},o._pendingActions=[],i=i||{},Qt(r)&&(r=Zj[r]),o._dom=n;var a="canvas",s="auto",l=!1;i.ssr&&NLe(function(d){var h=wr(d),p=h.dataIndex;if(p!=null){var v=xn();return v.set("series_index",h.seriesIndex),v.set("data_index",p),h.ssrType&&v.set("ssr_type",h.ssrType),v}});var u=o._zr=BW(n,{renderer:i.renderer||a,devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height,ssr:i.ssr,useDirtyRect:sn(i.useDirtyRect,l),useCoarsePointer:sn(i.useCoarsePointer,s),pointerSize:i.pointerSize});o._ssr=i.ssr,o._throttledZrFlush=yj(gi(u.flush,u),17),r=Vn(r),r&&oj(r,!0),o._theme=r,o._locale=P6e(i.locale||V$),o._coordSysMgr=new hP;var c=o._api=ND(o);function f(d,h){return d.__prio-h.__prio}return bb(vS,f),bb(a_,f),o._scheduler=new bj(o,c,a_,vS),o._messageCenter=new Dj,o._initEvents(),o.resize=gi(o.resize,o),u.animation.on("frame",o._onframe,o),PD(u,o),CD(u,o),R6(o),o}return t.prototype._onframe=function(){if(!this._disposed){FD(this);var n=this._scheduler;if(this[Bo]){var r=this[Bo].silent;this[eo]=!0;try{ep(this),Dc.update.call(this,null,this[Bo].updateParams)}catch(l){throw this[eo]=!1,this[Bo]=null,l}this._zr.flush(),this[eo]=!1,this[Bo]=null,Z1.call(this,r),Q1.call(this,r)}else if(n.unfinished){var i=$Oe,o=this._model,a=this._api;n.unfinished=!1;do{var s=+new Date;n.performSeriesTasks(o),n.performDataProcessorTasks(o),XL(this,o),n.performVisualTasks(o),xR(this,this._model,a,"remain",{}),i-=+new Date-s}while(i>0&&n.unfinished);n.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(n,r,i){if(!this[eo]){if(this._disposed){this.id;return}var o,a,s;if(rn(r)&&(i=r.lazyUpdate,o=r.silent,a=r.replaceMerge,s=r.transition,r=r.notMerge),this[eo]=!0,!this._model||r){var l=new o_e(this._api),u=this._theme,c=this._model=new dP;c.scheduler=this._scheduler,c.ssr=this._ssr,c.init(null,null,null,u,this._locale,l)}this._model.setOption(n,{replaceMerge:a},s_);var f={seriesTransition:s,optionChanged:!0};if(i)this[Bo]={silent:o,updateParams:f},this[eo]=!1,this.getZr().wakeUp();else{try{ep(this),Dc.update.call(this,null,f)}catch(d){throw this[Bo]=null,this[eo]=!1,d}this._ssr||this._zr.flush(),this[Bo]=null,this[eo]=!1,Z1.call(this,o),Q1.call(this,o)}}},t.prototype.setTheme=function(){},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||or.hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(n){return this.renderToCanvas(n)},t.prototype.renderToCanvas=function(n){n=n||{};var r=this._zr.painter;return r.getRenderedCanvas({backgroundColor:n.backgroundColor||this._model.get("backgroundColor"),pixelRatio:n.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(n){n=n||{};var r=this._zr.painter;return r.renderToString({useViewBox:n.useViewBox})},t.prototype.getSvgDataURL=function(){if(or.svgSupported){var n=this._zr,r=n.storage.getDisplayList();return Pe(r,function(i){i.stopAnimation(null,!0)}),n.painter.toDataURL()}},t.prototype.getDataURL=function(n){if(this._disposed){this.id;return}n=n||{};var r=n.excludeComponents,i=this._model,o=[],a=this;Pe(r,function(l){i.eachComponent({mainType:l},function(u){var c=a._componentsMap[u.__viewId];c.group.ignore||(o.push(c),c.group.ignore=!0)})});var s=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(n).toDataURL("image/"+(n&&n.type||"png"));return Pe(o,function(l){l.group.ignore=!1}),s},t.prototype.getConnectedDataURL=function(n){if(this._disposed){this.id;return}var r=n.type==="svg",i=this.group,o=Math.min,a=Math.max,s=1/0;if(ED[i]){var l=s,u=s,c=-s,f=-s,d=[],h=n&&n.pixelRatio||this.getDevicePixelRatio();Pe(Lm,function(R,A){if(R.group===i){var x=r?R.getZr().painter.getSvgDom().innerHTML:R.renderToCanvas(Vn(n)),S=R.getDom().getBoundingClientRect();l=o(S.left,l),u=o(S.top,u),c=a(S.right,c),f=a(S.bottom,f),d.push({dom:x,left:S.left,top:S.top})}}),l*=h,u*=h,c*=h,f*=h;var p=c-l,v=f-u,g=sy.createCanvas(),m=BW(g,{renderer:r?"svg":"canvas"});if(m.resize({width:p,height:v}),r){var y="";return Pe(d,function(R){var A=R.left-l,x=R.top-u;y+='<g transform="translate('+A+","+x+')">'+R.dom+"</g>"}),m.painter.getSvgRoot().innerHTML=y,n.connectedBackgroundColor&&m.painter.setBackgroundColor(n.connectedBackgroundColor),m.refreshImmediately(),m.painter.toDataURL()}else return n.connectedBackgroundColor&&m.add(new Oi({shape:{x:0,y:0,width:p,height:v},style:{fill:n.connectedBackgroundColor}})),Pe(d,function(R){var A=new Al({style:{x:R.left*h-l,y:R.top*h-u,image:R.dom}});m.add(A)}),m.refreshImmediately(),g.toDataURL("image/"+(n&&n.type||"png"))}else return this.getDataURL(n)},t.prototype.convertToPixel=function(n,r){return EL(this,"convertToPixel",n,r)},t.prototype.convertFromPixel=function(n,r){return EL(this,"convertFromPixel",n,r)},t.prototype.containPixel=function(n,r){if(this._disposed){this.id;return}var i=this._model,o,a=aL(i,n);return Pe(a,function(s,l){l.indexOf("Models")>=0&&Pe(s,function(u){var c=u.coordinateSystem;if(c&&c.containPoint)o=o||!!c.containPoint(r);else if(l==="seriesModels"){var f=this._chartsMap[u.__viewId];f&&f.containPoint&&(o=o||f.containPoint(r,u))}},this)},this),!!o},t.prototype.getVisual=function(n,r){var i=this._model,o=aL(i,n,{defaultMainType:"series"}),a=o.seriesModel,s=a.getData(),l=o.hasOwnProperty("dataIndexInside")?o.dataIndexInside:o.hasOwnProperty("dataIndex")?s.indexOfRawIndex(o.dataIndex):null;return l!=null?mOe(s,l,r):yOe(s,r)},t.prototype.getViewOfComponentModel=function(n){return this._componentsMap[n.__viewId]},t.prototype.getViewOfSeriesModel=function(n){return this._chartsMap[n.__viewId]},t.prototype._initEvents=function(){var n=this;Pe(fke,function(r){var i=function(o){var a=n.getModel(),s=o.target,l,u=r==="globalout";if(u?l={}:s&&AR(s,function(p){var v=wr(p);if(v&&v.dataIndex!=null){var g=v.dataModel||a.getSeriesByIndex(v.seriesIndex);return l=g&&g.getDataParams(v.dataIndex,v.dataType,s)||{},!0}else if(v.eventData)return l=gt({},v.eventData),!0},!0),l){var c=l.componentType,f=l.componentIndex;(c==="markLine"||c==="markPoint"||c==="markArea")&&(c="series",f=l.seriesIndex);var d=c&&f!=null&&a.getComponent(c,f),h=d&&n[d.mainType==="series"?"_chartsMap":"_componentsMap"][d.__viewId];l.event=o,l.type=r,n._$eventProcessor.eventInfo={targetEl:s,packedEvent:l,model:d,view:h},n.trigger(r,l)}};i.zrEventfulCallAtLast=!0,n._zr.on(r,i,n)}),Pe(Mm,function(r,i){n._messageCenter.on(i,function(o){this.trigger(i,o)},n)}),Pe(["selectchanged"],function(r){n._messageCenter.on(r,function(i){this.trigger(r,i)},n)}),ROe(this._messageCenter,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0;var n=this.getDom();n&&qJ(this.getDom(),bP,"");var r=this,i=r._api,o=r._model;Pe(r._componentsViews,function(a){a.dispose(o,i)}),Pe(r._chartsViews,function(a){a.dispose(o,i)}),r._zr.dispose(),r._dom=r._model=r._chartsMap=r._componentsMap=r._chartsViews=r._componentsViews=r._scheduler=r._api=r._zr=r._throttledZrFlush=r._theme=r._coordSysMgr=r._messageCenter=null,delete Lm[r.id]},t.prototype.resize=function(n){if(!this[eo]){if(this._disposed){this.id;return}this._zr.resize(n);var r=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!r){var i=r.resetOption("media"),o=n&&n.silent;this[Bo]&&(o==null&&(o=this[Bo].silent),i=!0,this[Bo]=null),this[eo]=!0;try{i&&ep(this),Dc.update.call(this,{type:"resize",animation:gt({duration:0},n&&n.animation)})}catch(a){throw this[eo]=!1,a}this[eo]=!1,Z1.call(this,o),Q1.call(this,o)}}},t.prototype.showLoading=function(n,r){if(this._disposed){this.id;return}if(rn(n)&&(r=n,n=""),n=n||"default",this.hideLoading(),!!l_[n]){var i=l_[n](this._api,r),o=this._zr;this._loadingFX=i,o.add(i)}},t.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},t.prototype.makeActionFromEvent=function(n){var r=gt({},n);return r.type=Mm[n.type],r},t.prototype.dispatchAction=function(n,r){if(this._disposed){this.id;return}if(rn(r)||(r={silent:!!r}),!!pS[n.type]&&this._model){if(this[eo]){this._pendingActions.push(n);return}var i=r.silent;WL.call(this,n,i);var o=r.flush;o?this._zr.flush():o!==!1&&or.browser.weChat&&this._throttledZrFlush(),Z1.call(this,i),Q1.call(this,i)}},t.prototype.updateLabelLayout=function(){qs.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(n){if(this._disposed){this.id;return}var r=n.seriesIndex,i=this.getModel(),o=i.getSeriesByIndex(r);o.appendData(n),this._scheduler.unfinished=!0,this.getZr().wakeUp()},t.internalField=function(){ep=function(f){var d=f._scheduler;d.restorePipelines(f._model),d.prepareStageTasks(),FL(f,!0),FL(f,!1),d.plan()},FL=function(f,d){for(var h=f._model,p=f._scheduler,v=d?f._componentsViews:f._chartsViews,g=d?f._componentsMap:f._chartsMap,m=f._zr,y=f._api,R=0;R<v.length;R++)v[R].__alive=!1;d?h.eachComponent(function(S,_){S!=="series"&&A(_)}):h.eachSeries(A);function A(S){var _=S.__requireNewView;S.__requireNewView=!1;var M="_ec_"+S.id+"_"+S.type,w=!_&&g[M];if(!w){var L=tu(S.type),k=d?hc.getClass(L.main,L.sub):la.getClass(L.sub);w=new k,w.init(h,y),g[M]=w,v.push(w),m.add(w.group)}S.__viewId=w.__id=M,w.__alive=!0,w.__model=S,w.group.__ecComponentInfo={mainType:S.mainType,index:S.componentIndex},!d&&p.prepareView(w,S,h,y)}for(var R=0;R<v.length;){var x=v[R];x.__alive?R++:(!d&&x.renderTask.dispose(),m.remove(x.group),x.dispose(h,y),v.splice(R,1),g[x.__id]===x&&delete g[x.__id],x.__id=x.group.__ecComponentInfo=null)}},bR=function(f,d,h,p,v){var g=f._model;if(g.setUpdatePayload(h),!p){Pe([].concat(f._componentsViews).concat(f._chartsViews),x);return}var m={};m[p+"Id"]=h[p+"Id"],m[p+"Index"]=h[p+"Index"],m[p+"Name"]=h[p+"Name"];var y={mainType:p,query:m};v&&(y.subType=v);var R=h.excludeSeriesId,A;R!=null&&(A=xn(),Pe(Co(R),function(S){var _=lu(S,null);_!=null&&A.set(_,!0)})),g&&g.eachComponent(y,function(S){var _=A&&A.get(S.id)!=null;if(!_)if(mV(h))if(S instanceof Ha)h.type===Eh&&!h.notBlur&&!S.get(["emphasis","disabled"])&&dTe(S,h,f._api);else{var M=jk(S.mainType,S.componentIndex,h.name,f._api),w=M.focusSelf,L=M.dispatchers;h.type===Eh&&w&&!h.notBlur&&Q6(S.mainType,S.componentIndex,f._api),L&&Pe(L,function(k){h.type===Eh?nS(k):rS(k)})}else G6(h)&&S instanceof Ha&&(vTe(S,h,f._api),vV(S),rs(f))},f),g&&g.eachComponent(y,function(S){var _=A&&A.get(S.id)!=null;_||x(f[p==="series"?"_chartsMap":"_componentsMap"][S.__viewId])},f);function x(S){S&&S.__alive&&S[d]&&S[d](S.__model,g,f._api,h)}},Dc={prepareAndUpdate:function(f){ep(this),Dc.update.call(this,f,{optionChanged:f.newOption!=null})},update:function(f,d){var h=this._model,p=this._api,v=this._zr,g=this._coordSysMgr,m=this._scheduler;if(h){h.setUpdatePayload(f),m.restoreData(h,f),m.performSeriesTasks(h),g.create(h,p),m.performDataProcessorTasks(h,f),XL(this,h),g.update(h,p),n(h),m.performVisualTasks(h,f),VL(this,h,p,f,d);var y=h.get("backgroundColor")||"transparent",R=h.get("darkMode");v.setBackgroundColor(y),R!=null&&R!=="auto"&&v.setDarkMode(R),qs.trigger("afterupdate",h,p)}},updateTransform:function(f){var d=this,h=this._model,p=this._api;if(h){h.setUpdatePayload(f);var v=[];h.eachComponent(function(m,y){if(m!=="series"){var R=d.getViewOfComponentModel(y);if(R&&R.__alive)if(R.updateTransform){var A=R.updateTransform(y,h,p,f);A&&A.update&&v.push(R)}else v.push(R)}});var g=xn();h.eachSeries(function(m){var y=d._chartsMap[m.__viewId];if(y.updateTransform){var R=y.updateTransform(m,h,p,f);R&&R.update&&g.set(m.uid,1)}else g.set(m.uid,1)}),n(h),this._scheduler.performVisualTasks(h,f,{setDirty:!0,dirtyMap:g}),xR(this,h,p,f,{},g),qs.trigger("afterupdate",h,p)}},updateView:function(f){var d=this._model;d&&(d.setUpdatePayload(f),la.markUpdateMethod(f,"updateView"),n(d),this._scheduler.performVisualTasks(d,f,{setDirty:!0}),VL(this,d,this._api,f,{}),qs.trigger("afterupdate",d,this._api))},updateVisual:function(f){var d=this,h=this._model;h&&(h.setUpdatePayload(f),h.eachSeries(function(p){p.getData().clearAllVisual()}),la.markUpdateMethod(f,"updateVisual"),n(h),this._scheduler.performVisualTasks(h,f,{visualType:"visual",setDirty:!0}),h.eachComponent(function(p,v){if(p!=="series"){var g=d.getViewOfComponentModel(v);g&&g.__alive&&g.updateVisual(v,h,d._api,f)}}),h.eachSeries(function(p){var v=d._chartsMap[p.__viewId];v.updateVisual(p,h,d._api,f)}),qs.trigger("afterupdate",h,this._api))},updateLayout:function(f){Dc.update.call(this,f)}},EL=function(f,d,h,p){if(f._disposed){f.id;return}for(var v=f._model,g=f._coordSysMgr.getCoordinateSystems(),m,y=aL(v,h),R=0;R<g.length;R++){var A=g[R];if(A[d]&&(m=A[d](v,y,p))!=null)return m}},XL=function(f,d){var h=f._chartsMap,p=f._scheduler;d.eachSeries(function(v){p.updateStreamModes(v,h[v.__viewId])})},WL=function(f,d){var h=this,p=this.getModel(),v=f.type,g=f.escapeConnect,m=pS[v],y=m.actionInfo,R=(y.update||"update").split(":"),A=R.pop(),x=R[0]!=null&&tu(R[0]);this[eo]=!0;var S=[f],_=!1;f.batch&&(_=!0,S=Ot(f.batch,function(C){return C=En(gt({},C),f),C.batch=null,C}));var M=[],w,L=G6(f),k=mV(f);if(k&&A$(this._api),Pe(S,function(C){if(w=m.action(C,h._model,h._api),w=w||gt({},C),w.type=y.event||w.type,M.push(w),k){var N=jJ(f),I=N.queryOptionMap,V=N.mainTypeSpecified,W=V?I.keys()[0]:"series";bR(h,A,C,W),rs(h)}else L?(bR(h,A,C,"series"),rs(h)):x&&bR(h,A,C,x.main,x.sub)}),A!=="none"&&!k&&!L&&!x)try{this[Bo]?(ep(this),Dc.update.call(this,f),this[Bo]=null):Dc[A].call(this,f)}catch(C){throw this[eo]=!1,C}if(_?w={type:y.event||v,escapeConnect:g,batch:M}:w=M[0],this[eo]=!1,!d){var P=this._messageCenter;if(P.trigger(w.type,w),L){var F={type:"selectchanged",escapeConnect:g,selected:gTe(p),isFromClick:f.isFromClick||!1,fromAction:f.type,fromActionPayload:f};P.trigger(F.type,F)}}},Z1=function(f){for(var d=this._pendingActions;d.length;){var h=d.shift();WL.call(this,h,f)}},Q1=function(f){!f&&this.trigger("updated")},PD=function(f,d){f.on("rendered",function(h){d.trigger("rendered",h),f.animation.isFinished()&&!d[Bo]&&!d._scheduler.unfinished&&!d._pendingActions.length&&d.trigger("finished")})},CD=function(f,d){f.on("mouseover",function(h){var p=h.target,v=AR(p,K6);v&&(hTe(v,h,d._api),rs(d))}).on("mouseout",function(h){var p=h.target,v=AR(p,K6);v&&(pTe(v,h,d._api),rs(d))}).on("click",function(h){var p=h.target,v=AR(p,function(y){return wr(y).dataIndex!=null},!0);if(v){var g=v.selected?"unselect":"select",m=wr(v);d._api.dispatchAction({type:g,dataType:m.dataType,dataIndexInside:m.dataIndex,seriesIndex:m.seriesIndex,isFromClick:!0})}})};function n(f){f.clearColorPalette(),f.eachSeries(function(d){d.clearColorPalette()})}function r(f){var d=[],h=[],p=!1;if(f.eachComponent(function(y,R){var A=R.get("zlevel")||0,x=R.get("z")||0,S=R.getZLevelKey();p=p||!!S,(y==="series"?h:d).push({zlevel:A,z:x,idx:R.componentIndex,type:y,key:S})}),p){var v=d.concat(h),g,m;bb(v,function(y,R){return y.zlevel===R.zlevel?y.z-R.z:y.zlevel-R.zlevel}),Pe(v,function(y){var R=f.getComponent(y.type,y.idx),A=y.zlevel,x=y.key;g!=null&&(A=Math.max(g,A)),x?(A===g&&x!==m&&A++,m=x):m&&(A===g&&A++,m=""),g=A,R.setZLevel(A)})}}VL=function(f,d,h,p,v){r(d),ID(f,d,h,p,v),Pe(f._chartsViews,function(g){g.__alive=!1}),xR(f,d,h,p,v),Pe(f._chartsViews,function(g){g.__alive||g.remove(d,h)})},ID=function(f,d,h,p,v,g){Pe(g||f._componentsViews,function(m){var y=m.__model;u(y,m),m.render(y,d,h,p),s(y,m),c(y,m)})},xR=function(f,d,h,p,v,g){var m=f._scheduler;v=gt(v||{},{updatedSeries:d.getSeries()}),qs.trigger("series:beforeupdate",d,h,v);var y=!1;d.eachSeries(function(R){var A=f._chartsMap[R.__viewId];A.__alive=!0;var x=A.renderTask;m.updatePayload(x,p),u(R,A),g&&g.get(R.uid)&&x.dirty(),x.perform(m.getPerformArgs(x))&&(y=!0),A.group.silent=!!R.get("silent"),a(R,A),vV(R)}),m.unfinished=y||m.unfinished,qs.trigger("series:layoutlabels",d,h,v),qs.trigger("series:transition",d,h,v),d.eachSeries(function(R){var A=f._chartsMap[R.__viewId];s(R,A),c(R,A)}),o(f,d),qs.trigger("series:afterupdate",d,h,v)},rs=function(f){f[IL]=!0,f.getZr().wakeUp()},FD=function(f){f[IL]&&(f.getZr().storage.traverse(function(d){bm(d)||i(d)}),f[IL]=!1)};function i(f){for(var d=[],h=f.currentStates,p=0;p<h.length;p++){var v=h[p];v==="emphasis"||v==="blur"||v==="select"||d.push(v)}f.selected&&f.states.select&&d.push("select"),f.hoverState===N3&&f.states.emphasis?d.push("emphasis"):f.hoverState===I3&&f.states.blur&&d.push("blur"),f.useStates(d)}function o(f,d){var h=f._zr,p=h.storage,v=0;p.traverse(function(g){g.isGroup||v++}),v>d.get("hoverLayerThreshold")&&!or.node&&!or.worker&&d.eachSeries(function(g){if(!g.preventUsingHoverLayer){var m=f._chartsMap[g.__viewId];m.__alive&&m.eachRendered(function(y){y.states.emphasis&&(y.states.emphasis.hoverLayer=!0)})}})}function a(f,d){var h=f.get("blendMode")||null;d.eachRendered(function(p){p.isGroup||(p.style.blend=h)})}function s(f,d){if(!f.preventAutoZ){var h=f.get("z")||0,p=f.get("zlevel")||0;d.eachRendered(function(v){return l(v,h,p,-1/0),!0})}}function l(f,d,h,p){var v=f.getTextContent(),g=f.getTextGuideLine(),m=f.isGroup;if(m)for(var y=f.childrenRef(),R=0;R<y.length;R++)p=Math.max(l(y[R],d,h,p),p);else f.z=d,f.zlevel=h,p=Math.max(f.z2,p);if(v&&(v.z=d,v.zlevel=h,isFinite(p)&&(v.z2=p+2)),g){var A=f.textGuideLineConfig;g.z=d,g.zlevel=h,isFinite(p)&&(g.z2=p+(A&&A.showAbove?1:-1))}return p}function u(f,d){d.eachRendered(function(h){if(!bm(h)){var p=h.getTextContent(),v=h.getTextGuideLine();h.stateTransition&&(h.stateTransition=null),p&&p.stateTransition&&(p.stateTransition=null),v&&v.stateTransition&&(v.stateTransition=null),h.hasState()?(h.prevStates=h.currentStates,h.clearStates()):h.prevStates&&(h.prevStates=null)}})}function c(f,d){var h=f.getModel("stateAnimation"),p=f.isAnimationEnabled(),v=h.get("duration"),g=v>0?{duration:v,delay:h.get("delay"),easing:h.get("easing")}:null;d.eachRendered(function(m){if(m.states&&m.states.emphasis){if(bm(m))return;if(m instanceof Jn&&bTe(m),m.__dirty){var y=m.prevStates;y&&m.useStates(y)}if(p){m.stateTransition=g;var R=m.getTextContent(),A=m.getTextGuideLine();R&&(R.stateTransition=g),A&&(A.stateTransition=g)}m.__dirty&&i(m)}})}ND=function(f){return new(function(d){St(h,d);function h(){return d!==null&&d.apply(this,arguments)||this}return h.prototype.getCoordinateSystems=function(){return f._coordSysMgr.getCoordinateSystems()},h.prototype.getComponentByElement=function(p){for(;p;){var v=p.__ecComponentInfo;if(v!=null)return f._model.getComponent(v.mainType,v.index);p=p.parent}},h.prototype.enterEmphasis=function(p,v){nS(p,v),rs(f)},h.prototype.leaveEmphasis=function(p,v){rS(p,v),rs(f)},h.prototype.enterBlur=function(p){fTe(p),rs(f)},h.prototype.leaveBlur=function(p){v$(p),rs(f)},h.prototype.enterSelect=function(p){g$(p),rs(f)},h.prototype.leaveSelect=function(p){m$(p),rs(f)},h.prototype.getModel=function(){return f.getModel()},h.prototype.getViewOfComponentModel=function(p){return f.getViewOfComponentModel(p)},h.prototype.getViewOfSeriesModel=function(p){return f.getViewOfSeriesModel(p)},h}(rj))(f)},Bj=function(f){function d(h,p){for(var v=0;v<h.length;v++){var g=h[v];g[NL]=p}}Pe(Mm,function(h,p){f._messageCenter.on(p,function(v){if(ED[f.group]&&f[NL]!==kD){if(v&&v.escapeConnect)return;var g=f.makeActionFromEvent(v),m=[];Pe(Lm,function(y){y!==f&&y.group===f.group&&m.push(y)}),d(m,kD),Pe(m,function(y){y[NL]!==uke&&y.dispatchAction(g)}),d(m,cke)}})})}}(),t}(Ac),RP=Yj.prototype;RP.on=Xj("on");RP.off=Xj("off");RP.one=function(e,t,n){var r=this;function i(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];t&&t.apply&&t.apply(this,o),r.off(e,i)}this.on.call(this,e,i,n)};var fke=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];var pS={},Mm={},a_=[],s_=[],vS=[],Zj={},l_={},Lm={},ED={},dke=+new Date-0,bP="_echarts_instance_";function hke(e,t,n){var r=!(n&&n.ssr);if(r){var i=pke(e);if(i)return i}var o=new Yj(e,t,n);return o.id="ec_"+dke++,Lm[o.id]=o,r&&qJ(e,bP,o.id),Bj(o),qs.trigger("afterinit",o),o}function pke(e){return Lm[r8e(e,bP)]}function Qj(e,t){Zj[e]=t}function Hj(e){Sr(s_,e)<0&&s_.push(e)}function Kj(e,t){SP(a_,e,t,tke)}function vke(e){xP("afterinit",e)}function gke(e){xP("afterupdate",e)}function xP(e,t){qs.on(e,t)}function n1(e,t,n){An(t)&&(n=t,t="");var r=rn(e)?e.type:[e,e={event:t}][0];e.event=(e.event||r).toLowerCase(),t=e.event,!Mm[t]&&(gu(OD.test(r)&&OD.test(t)),pS[r]||(pS[r]={action:n,actionInfo:e}),Mm[t]=r)}function mke(e,t){hP.register(e,t)}function yke(e,t){SP(vS,e,t,Nj,"layout")}function v0(e,t){SP(vS,e,t,Fj,"visual")}var XD=[];function SP(e,t,n,r,i){if((An(t)||rn(t))&&(n=t,t=r),!(Sr(XD,n)>=0)){XD.push(n);var o=bj.wrapStageHandler(n,i);o.__prio=t,o.__raw=n,e.push(o)}}function Gj(e,t){l_[e]=t}function Ake(e,t,n){var r=JOe("registerMap");r&&r(e,t,n)}var Rke=N_e;v0(AP,eOe);v0(z3,tOe);v0(z3,nOe);v0(AP,vOe);v0(z3,gOe);v0(Ej,GOe);Hj(oj);Kj(qOe,m_e);Gj("default",rOe);n1({type:Eh,event:Eh,update:Eh},Ba);n1({type:Tb,event:Tb,update:Tb},Ba);n1({type:ym,event:ym,update:ym},Ba);n1({type:_b,event:_b,update:_b},Ba);n1({type:Am,event:Am,update:Am},Ba);Qj("light",hOe);Qj("dark",Mj);function H1(e){return e==null?0:e.length||1}function WD(e){return e}var bke=function(){function e(t,n,r,i,o,a){this._old=t,this._new=n,this._oldKeyGetter=r||WD,this._newKeyGetter=i||WD,this.context=o,this._diffModeMultiple=a==="multiple"}return e.prototype.add=function(t){return this._add=t,this},e.prototype.update=function(t){return this._update=t,this},e.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},e.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},e.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},e.prototype.remove=function(t){return this._remove=t,this},e.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},e.prototype._executeOneToOne=function(){var t=this._old,n=this._new,r={},i=new Array(t.length),o=new Array(n.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(n,r,o,"_newKeyGetter");for(var a=0;a<t.length;a++){var s=i[a],l=r[s],u=H1(l);if(u>1){var c=l.shift();l.length===1&&(r[s]=l[0]),this._update&&this._update(c,a)}else u===1?(r[s]=null,this._update&&this._update(l,a)):this._remove&&this._remove(a)}this._performRestAdd(o,r)},e.prototype._executeMultiple=function(){var t=this._old,n=this._new,r={},i={},o=[],a=[];this._initIndexMap(t,r,o,"_oldKeyGetter"),this._initIndexMap(n,i,a,"_newKeyGetter");for(var s=0;s<o.length;s++){var l=o[s],u=r[l],c=i[l],f=H1(u),d=H1(c);if(f>1&&d===1)this._updateManyToOne&&this._updateManyToOne(c,u),i[l]=null;else if(f===1&&d>1)this._updateOneToMany&&this._updateOneToMany(c,u),i[l]=null;else if(f===1&&d===1)this._update&&this._update(c,u),i[l]=null;else if(f>1&&d>1)this._updateManyToMany&&this._updateManyToMany(c,u),i[l]=null;else if(f>1)for(var h=0;h<f;h++)this._remove&&this._remove(u[h]);else this._remove&&this._remove(u)}this._performRestAdd(a,i)},e.prototype._performRestAdd=function(t,n){for(var r=0;r<t.length;r++){var i=t[r],o=n[i],a=H1(o);if(a>1)for(var s=0;s<a;s++)this._add&&this._add(o[s]);else a===1&&this._add&&this._add(o);n[i]=null}},e.prototype._initIndexMap=function(t,n,r,i){for(var o=this._diffModeMultiple,a=0;a<t.length;a++){var s="_ec_"+this[i](t[a],a);if(o||(r[a]=s),!!n){var l=n[s],u=H1(l);u===0?(n[s]=a,o&&r.push(s)):u===1?n[s]=[l,a]:l.push(a)}}},e}(),xke=function(){function e(t,n){this._encode=t,this._schema=n}return e.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},e.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},e}();function Ske(e,t){var n={},r=n.encode={},i=xn(),o=[],a=[],s={};Pe(e.dimensions,function(d){var h=e.getDimensionInfo(d),p=h.coordDim;if(p){var v=h.coordDimIndex;DL(r,p)[v]=d,h.isExtraCoord||(i.set(p,1),Mke(h.type)&&(o[0]=d),DL(s,p)[v]=e.getDimensionIndex(h.name)),h.defaultTooltip&&a.push(d)}j$.each(function(g,m){var y=DL(r,m),R=h.otherDims[m];R!=null&&R!==!1&&(y[R]=h.name)})});var l=[],u={};i.each(function(d,h){var p=r[h];u[h]=p[0],l=l.concat(p)}),n.dataDimsOnCoord=l,n.dataDimIndicesOnCoord=Ot(l,function(d){return e.getDimensionInfo(d).storeDimIndex}),n.encodeFirstDimNotExtra=u;var c=r.label;c&&c.length&&(o=c.slice());var f=r.tooltip;return f&&f.length?a=f.slice():a.length||(a=o.slice()),r.defaultedLabel=o,r.defaultedTooltip=a,n.userOutput=new xke(s,t),n}function DL(e,t){return e.hasOwnProperty(t)||(e[t]=[]),e[t]}function wke(e){return e==="category"?"ordinal":e==="time"?"time":"float"}function Mke(e){return!(e==="ordinal"||e==="time")}var Cb=function(){function e(t){this.otherDims={},t!=null&>(this,t)}return e}(),Lke=Ii(),Tke={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},zj=function(){function e(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return e.prototype.isDimensionOmitted=function(){return this._dimOmitted},e.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=jj(this.source)))},e.prototype.getSourceDimensionIndex=function(t){return sn(this._dimNameMap.get(t),-1)},e.prototype.getSourceDimension=function(t){var n=this.source.dimensionsDefine;if(n)return n[t]},e.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,n=lj(this.source),r=!qj(t),i="",o=[],a=0,s=0;a<t;a++){var l=void 0,u=void 0,c=void 0,f=this.dimensions[s];if(f&&f.storeDimIndex===a)l=n?f.name:null,u=f.type,c=f.ordinalMeta,s++;else{var d=this.getSourceDimension(a);d&&(l=n?d.name:null,u=d.type)}o.push({property:l,type:u,ordinalMeta:c}),n&&l!=null&&(!f||!f.isCalculationCoord)&&(i+=r?l.replace(/\`/g,"`1").replace(/\$/g,"`2"):l),i+="$",i+=Tke[u]||"f",c&&(i+=c.uid),i+="$"}var h=this.source,p=[h.seriesLayoutBy,h.startIndex,i].join("$$");return{dimensions:o,hash:p}},e.prototype.makeOutputDimensionNames=function(){for(var t=[],n=0,r=0;n<this._fullDimCount;n++){var i=void 0,o=this.dimensions[r];if(o&&o.storeDimIndex===n)o.isCalculationCoord||(i=o.name),r++;else{var a=this.getSourceDimension(n);a&&(i=a.name)}t.push(i)}return t},e.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},e}();function Jj(e){return e instanceof zj}function $j(e){for(var t=xn(),n=0;n<(e||[]).length;n++){var r=e[n],i=rn(r)?r.name:r;i!=null&&t.get(i)==null&&t.set(i,n)}return t}function jj(e){var t=Lke(e);return t.dimNameMap||(t.dimNameMap=$j(e.dimensionsDefine))}function qj(e){return e>30}var K1=rn,Uc=Ot,_ke=typeof Int32Array>"u"?Array:Int32Array,Oke="e\0\0",VD=-1,kke=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],Pke=["_approximateExtent"],DD,SR,G1,z1,UL,wR,BL,eq=function(){function e(t,n){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var r,i=!1;Jj(t)?(r=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,r=t),r=r||["x","y"];for(var o={},a=[],s={},l=!1,u={},c=0;c<r.length;c++){var f=r[c],d=Qt(f)?new Cb({name:f}):f instanceof Cb?f:new Cb(f),h=d.name;d.type=d.type||"float",d.coordDim||(d.coordDim=h,d.coordDimIndex=0);var p=d.otherDims=d.otherDims||{};a.push(h),o[h]=d,u[h]!=null&&(l=!0),d.createInvertedIndices&&(s[h]=[]),p.itemName===0&&(this._nameDimIdx=c),p.itemId===0&&(this._idDimIdx=c),i&&(d.storeDimIndex=c)}if(this.dimensions=a,this._dimInfos=o,this._initGetDimensionInfo(l),this.hostModel=n,this._invertedIndicesMap=s,this._dimOmitted){var v=this._dimIdxToName=xn();Pe(a,function(g){v.set(o[g].storeDimIndex,g)})}}return e.prototype.getDimension=function(t){var n=this._recognizeDimIndex(t);if(n==null)return t;if(n=t,!this._dimOmitted)return this.dimensions[n];var r=this._dimIdxToName.get(n);if(r!=null)return r;var i=this._schema.getSourceDimension(n);if(i)return i.name},e.prototype.getDimensionIndex=function(t){var n=this._recognizeDimIndex(t);if(n!=null)return n;if(t==null)return-1;var r=this._getDimInfo(t);return r?r.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},e.prototype._recognizeDimIndex=function(t){if(Ar(t)||t!=null&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(t)<0))return+t},e.prototype._getStoreDimIndex=function(t){var n=this.getDimensionIndex(t);return n},e.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},e.prototype._initGetDimensionInfo=function(t){var n=this._dimInfos;this._getDimInfo=t?function(r){return n.hasOwnProperty(r)?n[r]:void 0}:function(r){return n[r]}},e.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},e.prototype.mapDimension=function(t,n){var r=this._dimSummary;if(n==null)return r.encodeFirstDimNotExtra[t];var i=r.encode[t];return i?i[n]:null},e.prototype.mapDimensionsAll=function(t){var n=this._dimSummary,r=n.encode[t];return(r||[]).slice()},e.prototype.getStore=function(){return this._store},e.prototype.initData=function(t,n,r){var i=this,o;if(t instanceof e_&&(o=t),!o){var a=this.dimensions,s=pP(t)||fa(t)?new uj(t,a.length):t;o=new e_;var l=Uc(a,function(u){return{type:i._dimInfos[u].type,property:u}});o.initData(s,l,r)}this._store=o,this._nameList=(n||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,o.count()),this._dimSummary=Ske(this,this._schema),this.userOutput=this._dimSummary.userOutput},e.prototype.appendData=function(t){var n=this._store.appendData(t);this._doInit(n[0],n[1])},e.prototype.appendValues=function(t,n){var r=this._store.appendValues(t,n.length),i=r.start,o=r.end,a=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),n)for(var s=i;s<o;s++){var l=s-i;this._nameList[s]=n[l],a&&BL(this,s)}},e.prototype._updateOrdinalMeta=function(){for(var t=this._store,n=this.dimensions,r=0;r<n.length;r++){var i=this._dimInfos[n[r]];i.ordinalMeta&&t.collectOrdinalMeta(i.storeDimIndex,i.ordinalMeta)}},e.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return this._idDimIdx==null&&t.getSource().sourceFormat!==Wf&&!t.fillStorage},e.prototype._doInit=function(t,n){if(!(t>=n)){var r=this._store,i=r.getProvider();this._updateOrdinalMeta();var o=this._nameList,a=this._idList,s=i.getSource().sourceFormat,l=s===Ns;if(l&&!i.pure)for(var u=[],c=t;c<n;c++){var f=i.getItem(c,u);if(!this.hasItemOption&&HLe(f)&&(this.hasItemOption=!0),f){var d=f.name;o[c]==null&&d!=null&&(o[c]=lu(d,null));var h=f.id;a[c]==null&&h!=null&&(a[c]=lu(h,null))}}if(this._shouldMakeIdFromName())for(var c=t;c<n;c++)BL(this,c);DD(this)}},e.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},e.prototype.setApproximateExtent=function(t,n){n=this.getDimension(n),this._approximateExtent[n]=t.slice()},e.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},e.prototype.setCalculationInfo=function(t,n){K1(t)?gt(this._calculationInfo,t):this._calculationInfo[t]=n},e.prototype.getName=function(t){var n=this.getRawIndex(t),r=this._nameList[n];return r==null&&this._nameDimIdx!=null&&(r=G1(this,this._nameDimIdx,n)),r==null&&(r=""),r},e.prototype._getCategory=function(t,n){var r=this._store.get(t,n),i=this._store.getOrdinalMeta(t);return i?i.categories[r]:r},e.prototype.getId=function(t){return SR(this,this.getRawIndex(t))},e.prototype.count=function(){return this._store.count()},e.prototype.get=function(t,n){var r=this._store,i=this._dimInfos[t];if(i)return r.get(i.storeDimIndex,n)},e.prototype.getByRawIndex=function(t,n){var r=this._store,i=this._dimInfos[t];if(i)return r.getByRawIndex(i.storeDimIndex,n)},e.prototype.getIndices=function(){return this._store.getIndices()},e.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},e.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},e.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},e.prototype.getValues=function(t,n){var r=this,i=this._store;return It(t)?i.getValues(Uc(t,function(o){return r._getStoreDimIndex(o)}),n):i.getValues(t)},e.prototype.hasValue=function(t){for(var n=this._dimSummary.dataDimIndicesOnCoord,r=0,i=n.length;r<i;r++)if(isNaN(this._store.get(n[r],t)))return!1;return!0},e.prototype.indexOfName=function(t){for(var n=0,r=this._store.count();n<r;n++)if(this.getName(n)===t)return n;return-1},e.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},e.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},e.prototype.rawIndexOf=function(t,n){var r=t&&this._invertedIndicesMap[t],i=r[n];return i==null||isNaN(i)?VD:i},e.prototype.indicesOfNearest=function(t,n,r){return this._store.indicesOfNearest(this._getStoreDimIndex(t),n,r)},e.prototype.each=function(t,n,r){An(t)&&(r=n,n=t,t=[]);var i=r||this,o=Uc(z1(t),this._getStoreDimIndex,this);this._store.each(o,i?gi(n,i):n)},e.prototype.filterSelf=function(t,n,r){An(t)&&(r=n,n=t,t=[]);var i=r||this,o=Uc(z1(t),this._getStoreDimIndex,this);return this._store=this._store.filter(o,i?gi(n,i):n),this},e.prototype.selectRange=function(t){var n=this,r={},i=Dn(t);return Pe(i,function(o){var a=n._getStoreDimIndex(o);r[a]=t[o]}),this._store=this._store.selectRange(r),this},e.prototype.mapArray=function(t,n,r){An(t)&&(r=n,n=t,t=[]),r=r||this;var i=[];return this.each(t,function(){i.push(n&&n.apply(this,arguments))},r),i},e.prototype.map=function(t,n,r,i){var o=r||i||this,a=Uc(z1(t),this._getStoreDimIndex,this),s=wR(this);return s._store=this._store.map(a,o?gi(n,o):n),s},e.prototype.modify=function(t,n,r,i){var o=r||i||this,a=Uc(z1(t),this._getStoreDimIndex,this);this._store.modify(a,o?gi(n,o):n)},e.prototype.downSample=function(t,n,r,i){var o=wR(this);return o._store=this._store.downSample(this._getStoreDimIndex(t),n,r,i),o},e.prototype.lttbDownSample=function(t,n){var r=wR(this);return r._store=this._store.lttbDownSample(this._getStoreDimIndex(t),n),r},e.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},e.prototype.getItemModel=function(t){var n=this.hostModel,r=this.getRawDataItem(t);return new ki(r,n,n&&n.ecModel)},e.prototype.diff=function(t){var n=this;return new bke(t?t.getStore().getIndices():[],this.getStore().getIndices(),function(r){return SR(t,r)},function(r){return SR(n,r)})},e.prototype.getVisual=function(t){var n=this._visual;return n&&n[t]},e.prototype.setVisual=function(t,n){this._visual=this._visual||{},K1(t)?gt(this._visual,t):this._visual[t]=n},e.prototype.getItemVisual=function(t,n){var r=this._itemVisuals[t],i=r&&r[n];return i??this.getVisual(n)},e.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},e.prototype.ensureUniqueItemVisual=function(t,n){var r=this._itemVisuals,i=r[t];i||(i=r[t]={});var o=i[n];return o==null&&(o=this.getVisual(n),It(o)?o=o.slice():K1(o)&&(o=gt({},o)),i[n]=o),o},e.prototype.setItemVisual=function(t,n,r){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,K1(n)?gt(i,n):i[n]=r},e.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},e.prototype.setLayout=function(t,n){K1(t)?gt(this._layout,t):this._layout[t]=n},e.prototype.getLayout=function(t){return this._layout[t]},e.prototype.getItemLayout=function(t){return this._itemLayouts[t]},e.prototype.setItemLayout=function(t,n,r){this._itemLayouts[t]=r?gt(this._itemLayouts[t]||{},n):n},e.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},e.prototype.setItemGraphicEl=function(t,n){var r=this.hostModel&&this.hostModel.seriesIndex;tTe(r,this.dataType,t,n),this._graphicEls[t]=n},e.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},e.prototype.eachItemGraphicEl=function(t,n){Pe(this._graphicEls,function(r,i){r&&t&&t.call(n,r,i)})},e.prototype.cloneShallow=function(t){return t||(t=new e(this._schema?this._schema:Uc(this.dimensions,this._getDimInfo,this),this.hostModel)),UL(t,this),t._store=this._store,t},e.prototype.wrapMethod=function(t,n){var r=this[t];An(r)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var i=r.apply(this,arguments);return n.apply(this,[i].concat(Xk(arguments)))})},e.internalField=function(){DD=function(t){var n=t._invertedIndicesMap;Pe(n,function(r,i){var o=t._dimInfos[i],a=o.ordinalMeta,s=t._store;if(a){r=n[i]=new _ke(a.categories.length);for(var l=0;l<r.length;l++)r[l]=VD;for(var l=0;l<s.count();l++)r[s.get(o.storeDimIndex,l)]=l}})},G1=function(t,n,r){return lu(t._getCategory(n,r),null)},SR=function(t,n){var r=t._idList[n];return r==null&&t._idDimIdx!=null&&(r=G1(t,t._idDimIdx,n)),r==null&&(r=Oke+n),r},z1=function(t){return It(t)||(t=t!=null?[t]:[]),t},wR=function(t){var n=new e(t._schema?t._schema:Uc(t.dimensions,t._getDimInfo,t),t.hostModel);return UL(n,t),n},UL=function(t,n){Pe(kke.concat(n.__wrappedMethods||[]),function(r){n.hasOwnProperty(r)&&(t[r]=n[r])}),t.__wrappedMethods=n.__wrappedMethods,Pe(Pke,function(r){t[r]=Vn(n[r])}),t._calculationInfo=gt({},n._calculationInfo)},BL=function(t,n){var r=t._nameList,i=t._idList,o=t._nameDimIdx,a=t._idDimIdx,s=r[n],l=i[n];if(s==null&&o!=null&&(r[n]=s=G1(t,o,n)),l==null&&a!=null&&(i[n]=l=G1(t,a,n)),l==null&&s!=null){var u=t._nameRepeatCount,c=u[s]=(u[s]||0)+1;l=s,c>1&&(l+="__ec__"+c),i[n]=l}}}(),e}();function tq(e,t){pP(e)||(e=aj(e)),t=t||{};var n=t.coordDimensions||[],r=t.dimensionsDefine||e.dimensionsDefine||[],i=xn(),o=[],a=Ike(e,n,r,t.dimensionsCount),s=t.canOmitUnusedDimensions&&qj(a),l=r===e.dimensionsDefine,u=l?jj(e):$j(r),c=t.encodeDefine;!c&&t.encodeDefaulter&&(c=t.encodeDefaulter(e,a));for(var f=xn(c),d=new pj(a),h=0;h<d.length;h++)d[h]=-1;function p(w){var L=d[w];if(L<0){var k=r[w],P=rn(k)?k:{name:k},F=new Cb,C=P.name;C!=null&&u.get(C)!=null&&(F.name=F.displayName=C),P.type!=null&&(F.type=P.type),P.displayName!=null&&(F.displayName=P.displayName);var N=o.length;return d[w]=N,F.storeDimIndex=w,o.push(F),F}return o[L]}if(!s)for(var h=0;h<a;h++)p(h);f.each(function(w,L){var k=Co(w).slice();if(k.length===1&&!Qt(k[0])&&k[0]<0){f.set(L,!1);return}var P=f.set(L,[]);Pe(k,function(F,C){var N=Qt(F)?u.get(F):F;N!=null&&N<a&&(P[C]=N,g(p(N),L,C))})});var v=0;Pe(n,function(w){var L,k,P,F;if(Qt(w))L=w,F={};else{F=w,L=F.name;var C=F.ordinalMeta;F.ordinalMeta=null,F=gt({},F),F.ordinalMeta=C,k=F.dimsDef,P=F.otherDims,F.name=F.coordDim=F.coordDimIndex=F.dimsDef=F.otherDims=null}var N=f.get(L);if(N!==!1){if(N=Co(N),!N.length)for(var I=0;I<(k&&k.length||1);I++){for(;v<a&&p(v).coordDim!=null;)v++;v<a&&N.push(v++)}Pe(N,function(V,W){var Z=p(V);if(l&&F.type!=null&&(Z.type=F.type),g(En(Z,F),L,W),Z.name==null&&k){var re=k[W];!rn(re)&&(re={name:re}),Z.name=Z.displayName=re.name,Z.defaultTooltip=re.defaultTooltip}P&&En(Z.otherDims,P)})}});function g(w,L,k){j$.get(L)!=null?w.otherDims[L]=k:(w.coordDim=L,w.coordDimIndex=k,i.set(L,!0))}var m=t.generateCoord,y=t.generateCoordCount,R=y!=null;y=m?y||1:0;var A=m||"value";function x(w){w.name==null&&(w.name=w.coordDim)}if(s)Pe(o,function(w){x(w)}),o.sort(function(w,L){return w.storeDimIndex-L.storeDimIndex});else for(var S=0;S<a;S++){var _=p(S),M=_.coordDim;M==null&&(_.coordDim=Nke(A,i,R),_.coordDimIndex=0,(!m||y<=0)&&(_.isExtraCoord=!0),y--),x(_),_.type==null&&(tj(e,S)===Vi.Must||_.isExtraCoord&&(_.otherDims.itemName!=null||_.otherDims.seriesName!=null))&&(_.type="ordinal")}return Cke(o),new zj({source:e,dimensions:o,fullDimensionCount:a,dimensionOmitted:s})}function Cke(e){for(var t=xn(),n=0;n<e.length;n++){var r=e[n],i=r.name,o=t.get(i)||0;o>0&&(r.name=i+(o-1)),o++,t.set(i,o)}}function Ike(e,t,n,r){var i=Math.max(e.dimensionsDetectedCount||1,t.length,n.length,r||0);return Pe(t,function(o){var a;rn(o)&&(a=o.dimsDef)&&(i=Math.max(i,a.length))}),i}function Nke(e,t,n){if(n||t.hasKey(e)){for(var r=0;t.hasKey(e+r);)r++;e+=r}return t.set(e,!0),e}var Fke=function(){function e(t){this.coordSysDims=[],this.axisMap=xn(),this.categoryAxisMap=xn(),this.coordSysName=t}return e}();function Eke(e){var t=e.get("coordinateSystem"),n=new Fke(t),r=Xke[t];if(r)return r(e,n,n.axisMap,n.categoryAxisMap),n}var Xke={cartesian2d:function(e,t,n,r){var i=e.getReferringComponents("xAxis",ul).models[0],o=e.getReferringComponents("yAxis",ul).models[0];t.coordSysDims=["x","y"],n.set("x",i),n.set("y",o),tp(i)&&(r.set("x",i),t.firstCategoryDimIndex=0),tp(o)&&(r.set("y",o),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},singleAxis:function(e,t,n,r){var i=e.getReferringComponents("singleAxis",ul).models[0];t.coordSysDims=["single"],n.set("single",i),tp(i)&&(r.set("single",i),t.firstCategoryDimIndex=0)},polar:function(e,t,n,r){var i=e.getReferringComponents("polar",ul).models[0],o=i.findAxisModel("radiusAxis"),a=i.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),tp(o)&&(r.set("radius",o),t.firstCategoryDimIndex=0),tp(a)&&(r.set("angle",a),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},geo:function(e,t,n,r){t.coordSysDims=["lng","lat"]},parallel:function(e,t,n,r){var i=e.ecModel,o=i.getComponent("parallel",e.get("parallelIndex")),a=t.coordSysDims=o.dimensions.slice();Pe(o.parallelAxisIndex,function(s,l){var u=i.getComponent("parallelAxis",s),c=a[l];n.set(c,u),tp(u)&&(r.set(c,u),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=l))})}};function tp(e){return e.get("type")==="category"}function Wke(e,t,n){n=n||{};var r=n.byIndex,i=n.stackedCoordDimension,o,a,s;Vke(t)?o=t:(a=t.schema,o=a.dimensions,s=t.store);var l=!!(e&&e.get("stack")),u,c,f,d;if(Pe(o,function(y,R){Qt(y)&&(o[R]=y={name:y}),l&&!y.isExtraCoord&&(!r&&!u&&y.ordinalMeta&&(u=y),!c&&y.type!=="ordinal"&&y.type!=="time"&&(!i||i===y.coordDim)&&(c=y))}),c&&!r&&!u&&(r=!0),c){f="__\0ecstackresult_"+e.id,d="__\0ecstackedover_"+e.id,u&&(u.createInvertedIndices=!0);var h=c.coordDim,p=c.type,v=0;Pe(o,function(y){y.coordDim===h&&v++});var g={name:f,coordDim:h,coordDimIndex:v,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:o.length},m={name:d,coordDim:d,coordDimIndex:v+1,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:o.length+1};a?(s&&(g.storeDimIndex=s.ensureCalculationDimension(d,p),m.storeDimIndex=s.ensureCalculationDimension(f,p)),a.appendCalculationDimension(g),a.appendCalculationDimension(m)):(o.push(g),o.push(m))}return{stackedDimension:c&&c.name,stackedByDimension:u&&u.name,isStackedByIndex:r,stackedOverDimension:d,stackResultDimension:f}}function Vke(e){return!Jj(e.schema)}function Cv(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function Dke(e,t){return Cv(e,t)?e.getCalculationInfo("stackResultDimension"):t}function Uke(e,t){var n=e.get("coordinateSystem"),r=hP.get(n),i;return t&&t.coordSysDims&&(i=Ot(t.coordSysDims,function(o){var a={name:o},s=t.axisMap.get(o);if(s){var l=s.get("type");a.type=wke(l)}return a})),i||(i=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),i}function Bke(e,t,n){var r,i;return n&&Pe(e,function(o,a){var s=o.coordDim,l=n.categoryAxisMap.get(s);l&&(r==null&&(r=a),o.ordinalMeta=l.getOrdinalMeta(),t&&(o.createInvertedIndices=!0)),o.otherDims.itemName!=null&&(i=!0)}),!i&&r!=null&&(e[r].otherDims.itemName=0),r}function J3(e,t,n){n=n||{};var r=t.getSourceManager(),i,o=!1;i=r.getSource(),o=i.sourceFormat===Ns;var a=Eke(t),s=Uke(t,a),l=n.useEncodeDefaulter,u=An(l)?l:l?Fa(H6e,s,t):null,c={coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!o},f=tq(i,c),d=Bke(f.dimensions,n.createInvertedIndices,a),h=o?null:r.getSharedDataStore(f),p=Wke(t,{schema:f,store:h}),v=new eq(f,t);v.setCalculationInfo(p);var g=d!=null&&Yke(i)?function(m,y,R,A){return A===d?R:this.defaultDimValueGetter(m,y,R,A)}:null;return v.hasItemOption=!1,v.initData(o?i:h,null,g),v}function Yke(e){if(e.sourceFormat===Ns){var t=Zke(e.data||[]);return!It(cy(t))}}function Zke(e){for(var t=0;t<e.length&&e[t]==null;)t++;return e[t]}var Su=function(){function e(t){this._setting=t||{},this._extent=[1/0,-1/0]}return e.prototype.getSetting=function(t){return this._setting[t]},e.prototype.unionExtent=function(t){var n=this._extent;t[0]<n[0]&&(n[0]=t[0]),t[1]>n[1]&&(n[1]=t[1])},e.prototype.unionExtentFromData=function(t,n){this.unionExtent(t.getApproximateExtent(n))},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.setExtent=function(t,n){var r=this._extent;isNaN(t)||(r[0]=t),isNaN(n)||(r[1]=n)},e.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},e.prototype.isBlank=function(){return this._isBlank},e.prototype.setBlank=function(t){this._isBlank=t},e}();k3(Su);var Qke=0,u_=function(){function e(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++Qke}return e.createByAxisModel=function(t){var n=t.option,r=n.data,i=r&&Ot(r,Hke);return new e({categories:i,needCollect:!i,deduplication:n.dedplication!==!1})},e.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},e.prototype.parseAndCollect=function(t){var n,r=this._needCollect;if(!Qt(t)&&!r)return t;if(r&&!this._deduplication)return n=this.categories.length,this.categories[n]=t,n;var i=this._getOrCreateMap();return n=i.get(t),n==null&&(r?(n=this.categories.length,this.categories[n]=t,i.set(t,n)):n=NaN),n},e.prototype._getOrCreateMap=function(){return this._map||(this._map=xn(this.categories))},e}();function Hke(e){return rn(e)&&e.value!=null?e.value:e+""}function c_(e){return e.type==="interval"||e.type==="log"}function Kke(e,t,n,r){var i={},o=e[1]-e[0],a=i.interval=GJ(o/t);n!=null&&a<n&&(a=i.interval=n),r!=null&&a>r&&(a=i.interval=r);var s=i.intervalPrecision=nq(a),l=i.niceTickExtent=[ui(Math.ceil(e[0]/a)*a,s),ui(Math.floor(e[1]/a)*a,s)];return Gke(l,e),i}function YL(e){var t=Math.pow(10,Qk(e)),n=e/t;return n?n===2?n=3:n===3?n=5:n*=2:n=1,ui(n*t)}function nq(e){return tc(e)+2}function UD(e,t,n){e[t]=Math.max(Math.min(e[t],n[1]),n[0])}function Gke(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),UD(e,0,t),UD(e,1,t),e[0]>e[1]&&(e[0]=e[1])}function $3(e,t){return e>=t[0]&&e<=t[1]}function j3(e,t){return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])}function q3(e,t){return e*(t[1]-t[0])+t[0]}var wP=function(e){St(t,e);function t(n){var r=e.call(this,n)||this;r.type="ordinal";var i=r.getSetting("ordinalMeta");return i||(i=new u_({})),It(i)&&(i=new u_({categories:Ot(i,function(o){return rn(o)?o.value:o})})),r._ordinalMeta=i,r._extent=r.getSetting("extent")||[0,i.categories.length-1],r}return t.prototype.parse=function(n){return n==null?NaN:Qt(n)?this._ordinalMeta.getOrdinal(n):Math.round(n)},t.prototype.contain=function(n){return n=this.parse(n),$3(n,this._extent)&&this._ordinalMeta.categories[n]!=null},t.prototype.normalize=function(n){return n=this._getTickNumber(this.parse(n)),j3(n,this._extent)},t.prototype.scale=function(n){return n=Math.round(q3(n,this._extent)),this.getRawOrdinalNumber(n)},t.prototype.getTicks=function(){for(var n=[],r=this._extent,i=r[0];i<=r[1];)n.push({value:i}),i++;return n},t.prototype.getMinorTicks=function(n){},t.prototype.setSortInfo=function(n){if(n==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var r=n.ordinalNumbers,i=this._ordinalNumbersByTick=[],o=this._ticksByOrdinalNumber=[],a=0,s=this._ordinalMeta.categories.length,l=Math.min(s,r.length);a<l;++a){var u=r[a];i[a]=u,o[u]=a}for(var c=0;a<s;++a){for(;o[c]!=null;)c++;i.push(c),o[c]=a}},t.prototype._getTickNumber=function(n){var r=this._ticksByOrdinalNumber;return r&&n>=0&&n<r.length?r[n]:n},t.prototype.getRawOrdinalNumber=function(n){var r=this._ordinalNumbersByTick;return r&&n>=0&&n<r.length?r[n]:n},t.prototype.getLabel=function(n){if(!this.isBlank()){var r=this.getRawOrdinalNumber(n.value),i=this._ordinalMeta.categories[r];return i==null?"":i+""}},t.prototype.count=function(){return this._extent[1]-this._extent[0]+1},t.prototype.unionExtentFromData=function(n,r){this.unionExtent(n.getApproximateExtent(r))},t.prototype.isInExtentRange=function(n){return n=this._getTickNumber(n),this._extent[0]<=n&&this._extent[1]>=n},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.calcNiceTicks=function(){},t.prototype.calcNiceExtent=function(){},t.type="ordinal",t}(Su);Su.registerClass(wP);var Jd=ui,td=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="interval",n._interval=0,n._intervalPrecision=2,n}return t.prototype.parse=function(n){return n},t.prototype.contain=function(n){return $3(n,this._extent)},t.prototype.normalize=function(n){return j3(n,this._extent)},t.prototype.scale=function(n){return q3(n,this._extent)},t.prototype.setExtent=function(n,r){var i=this._extent;isNaN(n)||(i[0]=parseFloat(n)),isNaN(r)||(i[1]=parseFloat(r))},t.prototype.unionExtent=function(n){var r=this._extent;n[0]<r[0]&&(r[0]=n[0]),n[1]>r[1]&&(r[1]=n[1]),this.setExtent(r[0],r[1])},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(n){this._interval=n,this._niceExtent=this._extent.slice(),this._intervalPrecision=nq(n)},t.prototype.getTicks=function(n){var r=this._interval,i=this._extent,o=this._niceExtent,a=this._intervalPrecision,s=[];if(!r)return s;var l=1e4;i[0]<o[0]&&(n?s.push({value:Jd(o[0]-r,a)}):s.push({value:i[0]}));for(var u=o[0];u<=o[1]&&(s.push({value:u}),u=Jd(u+r,a),u!==s[s.length-1].value);)if(s.length>l)return[];var c=s.length?s[s.length-1].value:o[1];return i[1]>c&&(n?s.push({value:Jd(c+r,a)}):s.push({value:i[1]})),s},t.prototype.getMinorTicks=function(n){for(var r=this.getTicks(!0),i=[],o=this.getExtent(),a=1;a<r.length;a++){for(var s=r[a],l=r[a-1],u=0,c=[],f=s.value-l.value,d=f/n;u<n-1;){var h=Jd(l.value+(u+1)*d);h>o[0]&&h<o[1]&&c.push(h),u++}i.push(c)}return i},t.prototype.getLabel=function(n,r){if(n==null)return"";var i=r&&r.precision;i==null?i=tc(n.value)||0:i==="auto"&&(i=this._intervalPrecision);var o=Jd(n.value,i,!0);return W6e(o)},t.prototype.calcNiceTicks=function(n,r,i){n=n||5;var o=this._extent,a=o[1]-o[0];if(isFinite(a)){a<0&&(a=-a,o.reverse());var s=Kke(o,n,r,i);this._intervalPrecision=s.intervalPrecision,this._interval=s.interval,this._niceExtent=s.niceTickExtent}},t.prototype.calcNiceExtent=function(n){var r=this._extent;if(r[0]===r[1])if(r[0]!==0){var i=Math.abs(r[0]);n.fixMax||(r[1]+=i/2),r[0]-=i/2}else r[1]=1;var o=r[1]-r[0];isFinite(o)||(r[0]=0,r[1]=1),this.calcNiceTicks(n.splitNumber,n.minInterval,n.maxInterval);var a=this._interval;n.fixMin||(r[0]=Jd(Math.floor(r[0]/a)*a)),n.fixMax||(r[1]=Jd(Math.ceil(r[1]/a)*a))},t.prototype.setNiceExtent=function(n,r){this._niceExtent=[n,r]},t.type="interval",t}(Su);Su.registerClass(td);var rq=typeof Float32Array<"u",zke=rq?Float32Array:Array;function nc(e){return It(e)?rq?new Float32Array(e):e:new zke(e)}var Jke="__ec_stack_";function MP(e){return e.get("stack")||Jke+e.seriesIndex}function LP(e){return e.dim+e.index}function iq(e,t){var n=[];return t.eachSeriesByType(e,function(r){aq(r)&&n.push(r)}),n}function $ke(e){var t={};Pe(e,function(l){var u=l.coordinateSystem,c=u.getBaseAxis();if(!(c.type!=="time"&&c.type!=="value"))for(var f=l.getData(),d=c.dim+"_"+c.index,h=f.getDimensionIndex(f.mapDimension(c.dim)),p=f.getStore(),v=0,g=p.count();v<g;++v){var m=p.get(h,v);t[d]?t[d].push(m):t[d]=[m]}});var n={};for(var r in t)if(t.hasOwnProperty(r)){var i=t[r];if(i){i.sort(function(l,u){return l-u});for(var o=null,a=1;a<i.length;++a){var s=i[a]-i[a-1];s>0&&(o=o===null?s:Math.min(o,s))}n[r]=o}}return n}function oq(e){var t=$ke(e),n=[];return Pe(e,function(r){var i=r.coordinateSystem,o=i.getBaseAxis(),a=o.getExtent(),s;if(o.type==="category")s=o.getBandWidth();else if(o.type==="value"||o.type==="time"){var l=o.dim+"_"+o.index,u=t[l],c=Math.abs(a[1]-a[0]),f=o.scale.getExtent(),d=Math.abs(f[1]-f[0]);s=u?c/d*u:c}else{var h=r.getData();s=Math.abs(a[1]-a[0])/h.count()}var p=mr(r.get("barWidth"),s),v=mr(r.get("barMaxWidth"),s),g=mr(r.get("barMinWidth")||(sq(r)?.5:1),s),m=r.get("barGap"),y=r.get("barCategoryGap");n.push({bandWidth:s,barWidth:p,barMaxWidth:v,barMinWidth:g,barGap:m,barCategoryGap:y,axisKey:LP(o),stackId:MP(r)})}),jke(n)}function jke(e){var t={};Pe(e,function(r,i){var o=r.axisKey,a=r.bandWidth,s=t[o]||{bandWidth:a,remainedWidth:a,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},l=s.stacks;t[o]=s;var u=r.stackId;l[u]||s.autoWidthCount++,l[u]=l[u]||{width:0,maxWidth:0};var c=r.barWidth;c&&!l[u].width&&(l[u].width=c,c=Math.min(s.remainedWidth,c),s.remainedWidth-=c);var f=r.barMaxWidth;f&&(l[u].maxWidth=f);var d=r.barMinWidth;d&&(l[u].minWidth=d);var h=r.barGap;h!=null&&(s.gap=h);var p=r.barCategoryGap;p!=null&&(s.categoryGap=p)});var n={};return Pe(t,function(r,i){n[i]={};var o=r.stacks,a=r.bandWidth,s=r.categoryGap;if(s==null){var l=Dn(o).length;s=Math.max(35-l*4,15)+"%"}var u=mr(s,a),c=mr(r.gap,1),f=r.remainedWidth,d=r.autoWidthCount,h=(f-u)/(d+(d-1)*c);h=Math.max(h,0),Pe(o,function(m){var y=m.maxWidth,R=m.minWidth;if(m.width){var A=m.width;y&&(A=Math.min(A,y)),R&&(A=Math.max(A,R)),m.width=A,f-=A+c*A,d--}else{var A=h;y&&y<A&&(A=Math.min(y,f)),R&&R>A&&(A=R),A!==h&&(m.width=A,f-=A+c*A,d--)}}),h=(f-u)/(d+(d-1)*c),h=Math.max(h,0);var p=0,v;Pe(o,function(m,y){m.width||(m.width=h),v=m,p+=m.width*(1+c)}),v&&(p-=v.width*c);var g=-p/2;Pe(o,function(m,y){n[i][y]=n[i][y]||{bandWidth:a,offset:g,width:m.width},g+=m.width*(1+c)})}),n}function qke(e,t,n){if(e&&t){var r=e[LP(t)];return r!=null&&n!=null?r[MP(n)]:r}}function ePe(e,t){var n=iq(e,t),r=oq(n);Pe(n,function(i){var o=i.getData(),a=i.coordinateSystem,s=a.getBaseAxis(),l=MP(i),u=r[LP(s)][l],c=u.offset,f=u.width;o.setLayout({bandWidth:u.bandWidth,offset:c,size:f})})}function tPe(e){return{seriesType:e,plan:mP(),reset:function(t){if(aq(t)){var n=t.getData(),r=t.coordinateSystem,i=r.getBaseAxis(),o=r.getOtherAxis(i),a=n.getDimensionIndex(n.mapDimension(o.dim)),s=n.getDimensionIndex(n.mapDimension(i.dim)),l=t.get("showBackground",!0),u=n.mapDimension(o.dim),c=n.getCalculationInfo("stackResultDimension"),f=Cv(n,u)&&!!n.getCalculationInfo("stackedOnSeries"),d=o.isHorizontal(),h=nPe(i,o),p=sq(t),v=t.get("barMinHeight")||0,g=c&&n.getDimensionIndex(c),m=n.getLayout("size"),y=n.getLayout("offset");return{progress:function(R,A){for(var x=R.count,S=p&&nc(x*3),_=p&&l&&nc(x*3),M=p&&nc(x),w=r.master.getRect(),L=d?w.width:w.height,k,P=A.getStore(),F=0;(k=R.next())!=null;){var C=P.get(f?g:a,k),N=P.get(s,k),I=h,V=void 0;f&&(V=+C-P.get(a,k));var W=void 0,Z=void 0,re=void 0,Y=void 0;if(d){var B=r.dataToPoint([C,N]);if(f){var Q=r.dataToPoint([V,N]);I=Q[0]}W=I,Z=B[1]+y,re=B[0]-I,Y=m,Math.abs(re)<v&&(re=(re<0?-1:1)*v)}else{var B=r.dataToPoint([N,C]);if(f){var Q=r.dataToPoint([N,V]);I=Q[1]}W=B[0]+y,Z=I,re=m,Y=B[1]-I,Math.abs(Y)<v&&(Y=(Y<=0?-1:1)*v)}p?(S[F]=W,S[F+1]=Z,S[F+2]=d?re:Y,_&&(_[F]=d?w.x:W,_[F+1]=d?Z:w.y,_[F+2]=L),M[k]=k):A.setItemLayout(k,{x:W,y:Z,width:re,height:Y}),F+=3}p&&A.setLayout({largePoints:S,largeDataIndices:M,largeBackgroundPoints:_,valueAxisHorizontal:d})}}}}}}function aq(e){return e.coordinateSystem&&e.coordinateSystem.type==="cartesian2d"}function sq(e){return e.pipelineContext&&e.pipelineContext.large}function nPe(e,t){var n=t.model.get("startValue");return n||(n=0),t.toGlobalCoord(t.dataToCoord(t.type==="log"?n>0?n:1:n))}var rPe=function(e,t,n,r){for(;n<r;){var i=n+r>>>1;e[i][1]<t?n=i+1:r=i}return n},lq=function(e){St(t,e);function t(n){var r=e.call(this,n)||this;return r.type="time",r}return t.prototype.getLabel=function(n){var r=this.getSetting("useUTC");return B$(n.value,NV[F6e(lv(this._minLevelUnit))]||NV.second,r,this.getSetting("locale"))},t.prototype.getFormattedLabel=function(n,r,i){var o=this.getSetting("useUTC"),a=this.getSetting("locale");return E6e(n,r,i,a,o)},t.prototype.getTicks=function(){var n=this._interval,r=this._extent,i=[];if(!n)return i;i.push({value:r[0],level:0});var o=this.getSetting("useUTC"),a=cPe(this._minLevelUnit,this._approxInterval,o,r);return i=i.concat(a),i.push({value:r[1],level:0}),i},t.prototype.calcNiceExtent=function(n){var r=this._extent;if(r[0]===r[1]&&(r[0]-=As,r[1]+=As),r[1]===-1/0&&r[0]===1/0){var i=new Date;r[1]=+new Date(i.getFullYear(),i.getMonth(),i.getDate()),r[0]=r[1]-As}this.calcNiceTicks(n.splitNumber,n.minInterval,n.maxInterval)},t.prototype.calcNiceTicks=function(n,r,i){n=n||10;var o=this._extent,a=o[1]-o[0];this._approxInterval=a/n,r!=null&&this._approxInterval<r&&(this._approxInterval=r),i!=null&&this._approxInterval>i&&(this._approxInterval=i);var s=MR.length,l=Math.min(rPe(MR,this._approxInterval,0,s),s-1);this._interval=MR[l][1],this._minLevelUnit=MR[Math.max(l-1,0)][0]},t.prototype.parse=function(n){return Ar(n)?n:+$f(n)},t.prototype.contain=function(n){return $3(this.parse(n),this._extent)},t.prototype.normalize=function(n){return j3(this.parse(n),this._extent)},t.prototype.scale=function(n){return q3(n,this._extent)},t.type="time",t}(td),MR=[["second",aP],["minute",sP],["hour",xm],["quarter-day",xm*6],["half-day",xm*12],["day",As*1.2],["half-week",As*3.5],["week",As*7],["month",As*31],["quarter",As*95],["half-year",IV/2],["year",IV]];function iPe(e,t,n,r){var i=$f(t),o=$f(n),a=function(p){return FV(i,p,r)===FV(o,p,r)},s=function(){return a("year")},l=function(){return s()&&a("month")},u=function(){return l()&&a("day")},c=function(){return u()&&a("hour")},f=function(){return c()&&a("minute")},d=function(){return f()&&a("second")},h=function(){return d()&&a("millisecond")};switch(e){case"year":return s();case"month":return l();case"day":return u();case"hour":return c();case"minute":return f();case"second":return d();case"millisecond":return h()}}function oPe(e,t){return e/=As,e>16?16:e>7.5?7:e>3.5?4:e>1.5?2:1}function aPe(e){var t=30*As;return e/=t,e>6?6:e>3?3:e>2?2:1}function sPe(e){return e/=xm,e>12?12:e>6?6:e>3.5?4:e>2?2:1}function BD(e,t){return e/=t?sP:aP,e>30?30:e>20?20:e>15?15:e>10?10:e>5?5:e>2?2:1}function lPe(e){return GJ(e)}function uPe(e,t,n){var r=new Date(e);switch(lv(t)){case"year":case"month":r[Z$(n)](0);case"day":r[Q$(n)](1);case"hour":r[H$(n)](0);case"minute":r[K$(n)](0);case"second":r[G$(n)](0),r[z$(n)](0)}return r.getTime()}function cPe(e,t,n,r){var i=1e4,o=U$,a=0;function s(L,k,P,F,C,N,I){for(var V=new Date(k),W=k,Z=V[F]();W<P&&W<=r[1];)I.push({value:W}),Z+=L,V[C](Z),W=V.getTime();I.push({value:W,notAdd:!0})}function l(L,k,P){var F=[],C=!k.length;if(!iPe(lv(L),r[0],r[1],n)){C&&(k=[{value:uPe(new Date(r[0]),L,n)},{value:r[1]}]);for(var N=0;N<k.length-1;N++){var I=k[N].value,V=k[N+1].value;if(I!==V){var W=void 0,Z=void 0,re=void 0,Y=!1;switch(L){case"year":W=Math.max(1,Math.round(t/As/365)),Z=lP(n),re=X6e(n);break;case"half-year":case"quarter":case"month":W=aPe(t),Z=uv(n),re=Z$(n);break;case"week":case"half-week":case"day":W=oPe(t),Z=B3(n),re=Q$(n),Y=!0;break;case"half-day":case"quarter-day":case"hour":W=sPe(t),Z=m2(n),re=H$(n);break;case"minute":W=BD(t,!0),Z=Y3(n),re=K$(n);break;case"second":W=BD(t,!1),Z=Z3(n),re=G$(n);break;case"millisecond":W=lPe(t),Z=Q3(n),re=z$(n);break}s(W,I,V,Z,re,Y,F),L==="year"&&P.length>1&&N===0&&P.unshift({value:P[0].value-W})}}for(var N=0;N<F.length;N++)P.push(F[N]);return F}}for(var u=[],c=[],f=0,d=0,h=0;h<o.length&&a++<i;++h){var p=lv(o[h]);if(N6e(o[h])){l(o[h],u[u.length-1]||[],c);var v=o[h+1]?lv(o[h+1]):null;if(p!==v){if(c.length){d=f,c.sort(function(L,k){return L.value-k.value});for(var g=[],m=0;m<c.length;++m){var y=c[m].value;(m===0||c[m-1].value!==y)&&(g.push(c[m]),y>=r[0]&&y<=r[1]&&f++)}var R=(r[1]-r[0])/t;if(f>R*1.5&&d>R/1.5||(u.push(g),f>R||e===o[h]))break}c=[]}}}for(var A=ao(Ot(u,function(L){return ao(L,function(k){return k.value>=r[0]&&k.value<=r[1]&&!k.notAdd})}),function(L){return L.length>0}),x=[],S=A.length-1,h=0;h<A.length;++h)for(var _=A[h],M=0;M<_.length;++M)x.push({value:_[M].value,level:S-h});x.sort(function(L,k){return L.value-k.value});for(var w=[],h=0;h<x.length;++h)(h===0||x[h].value!==x[h-1].value)&&w.push(x[h]);return w}Su.registerClass(lq);var YD=Su.prototype,Tm=td.prototype,fPe=ui,dPe=Math.floor,hPe=Math.ceil,LR=Math.pow,Bs=Math.log,TP=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="log",n.base=10,n._originalScale=new td,n._interval=0,n}return t.prototype.getTicks=function(n){var r=this._originalScale,i=this._extent,o=r.getExtent(),a=Tm.getTicks.call(this,n);return Ot(a,function(s){var l=s.value,u=ui(LR(this.base,l));return u=l===i[0]&&this._fixMin?TR(u,o[0]):u,u=l===i[1]&&this._fixMax?TR(u,o[1]):u,{value:u}},this)},t.prototype.setExtent=function(n,r){var i=Bs(this.base);n=Bs(Math.max(0,n))/i,r=Bs(Math.max(0,r))/i,Tm.setExtent.call(this,n,r)},t.prototype.getExtent=function(){var n=this.base,r=YD.getExtent.call(this);r[0]=LR(n,r[0]),r[1]=LR(n,r[1]);var i=this._originalScale,o=i.getExtent();return this._fixMin&&(r[0]=TR(r[0],o[0])),this._fixMax&&(r[1]=TR(r[1],o[1])),r},t.prototype.unionExtent=function(n){this._originalScale.unionExtent(n);var r=this.base;n[0]=Bs(n[0])/Bs(r),n[1]=Bs(n[1])/Bs(r),YD.unionExtent.call(this,n)},t.prototype.unionExtentFromData=function(n,r){this.unionExtent(n.getApproximateExtent(r))},t.prototype.calcNiceTicks=function(n){n=n||10;var r=this._extent,i=r[1]-r[0];if(!(i===1/0||i<=0)){var o=ULe(i),a=n/i*o;for(a<=.5&&(o*=10);!isNaN(o)&&Math.abs(o)<1&&Math.abs(o)>0;)o*=10;var s=[ui(hPe(r[0]/o)*o),ui(dPe(r[1]/o)*o)];this._interval=o,this._niceExtent=s}},t.prototype.calcNiceExtent=function(n){Tm.calcNiceExtent.call(this,n),this._fixMin=n.fixMin,this._fixMax=n.fixMax},t.prototype.parse=function(n){return n},t.prototype.contain=function(n){return n=Bs(n)/Bs(this.base),$3(n,this._extent)},t.prototype.normalize=function(n){return n=Bs(n)/Bs(this.base),j3(n,this._extent)},t.prototype.scale=function(n){return n=q3(n,this._extent),LR(this.base,n)},t.type="log",t}(Su),uq=TP.prototype;uq.getMinorTicks=Tm.getMinorTicks;uq.getLabel=Tm.getLabel;function TR(e,t){return fPe(e,tc(t))}Su.registerClass(TP);var pPe=function(){function e(t,n,r){this._prepareParams(t,n,r)}return e.prototype._prepareParams=function(t,n,r){r[1]<r[0]&&(r=[NaN,NaN]),this._dataMin=r[0],this._dataMax=r[1];var i=this._isOrdinal=t.type==="ordinal";this._needCrossZero=t.type==="interval"&&n.getNeedCrossZero&&n.getNeedCrossZero();var o=n.get("min",!0);o==null&&(o=n.get("startValue",!0));var a=this._modelMinRaw=o;An(a)?this._modelMinNum=_R(t,a({min:r[0],max:r[1]})):a!=="dataMin"&&(this._modelMinNum=_R(t,a));var s=this._modelMaxRaw=n.get("max",!0);if(An(s)?this._modelMaxNum=_R(t,s({min:r[0],max:r[1]})):s!=="dataMax"&&(this._modelMaxNum=_R(t,s)),i)this._axisDataLen=n.getCategories().length;else{var l=n.get("boundaryGap"),u=It(l)?l:[l||0,l||0];typeof u[0]=="boolean"||typeof u[1]=="boolean"?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[Jf(u[0],1),Jf(u[1],1)]}},e.prototype.calculate=function(){var t=this._isOrdinal,n=this._dataMin,r=this._dataMax,i=this._axisDataLen,o=this._boundaryGapInner,a=t?null:r-n||Math.abs(n),s=this._modelMinRaw==="dataMin"?n:this._modelMinNum,l=this._modelMaxRaw==="dataMax"?r:this._modelMaxNum,u=s!=null,c=l!=null;s==null&&(s=t?i?0:NaN:n-o[0]*a),l==null&&(l=t?i?i-1:NaN:r+o[1]*a),(s==null||!isFinite(s))&&(s=NaN),(l==null||!isFinite(l))&&(l=NaN);var f=Qx(s)||Qx(l)||t&&!i;this._needCrossZero&&(s>0&&l>0&&!u&&(s=0),s<0&&l<0&&!c&&(l=0));var d=this._determinedMin,h=this._determinedMax;return d!=null&&(s=d,u=!0),h!=null&&(l=h,c=!0),{min:s,max:l,minFixed:u,maxFixed:c,isBlank:f}},e.prototype.modifyDataMinMax=function(t,n){this[gPe[t]]=n},e.prototype.setDeterminedMinMax=function(t,n){var r=vPe[t];this[r]=n},e.prototype.freeze=function(){this.frozen=!0},e}(),vPe={min:"_determinedMin",max:"_determinedMax"},gPe={min:"_dataMin",max:"_dataMax"};function mPe(e,t,n){var r=e.rawExtentInfo;return r||(r=new pPe(e,t,n),e.rawExtentInfo=r,r)}function _R(e,t){return t==null?null:Qx(t)?NaN:e.parse(t)}function cq(e,t){var n=e.type,r=mPe(e,t,e.getExtent()).calculate();e.setBlank(r.isBlank);var i=r.min,o=r.max,a=t.ecModel;if(a&&n==="time"){var s=iq("bar",a),l=!1;if(Pe(s,function(f){l=l||f.getBaseAxis()===t.axis}),l){var u=oq(s),c=yPe(i,o,t,u);i=c.min,o=c.max}}return{extent:[i,o],fixMin:r.minFixed,fixMax:r.maxFixed}}function yPe(e,t,n,r){var i=n.axis.getExtent(),o=i[1]-i[0],a=qke(r,n.axis);if(a===void 0)return{min:e,max:t};var s=1/0;Pe(a,function(h){s=Math.min(h.offset,s)});var l=-1/0;Pe(a,function(h){l=Math.max(h.offset+h.width,l)}),s=Math.abs(s),l=Math.abs(l);var u=s+l,c=t-e,f=1-(s+l)/o,d=c/f-c;return t+=d*(l/u),e-=d*(s/u),{min:e,max:t}}function ZD(e,t){var n=t,r=cq(e,n),i=r.extent,o=n.get("splitNumber");e instanceof TP&&(e.base=n.get("logBase"));var a=e.type,s=n.get("interval"),l=a==="interval"||a==="time";e.setExtent(i[0],i[1]),e.calcNiceExtent({splitNumber:o,fixMin:r.fixMin,fixMax:r.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),s!=null&&e.setInterval&&e.setInterval(s)}function APe(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new wP({ordinalMeta:e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),extent:[1/0,-1/0]});case"time":return new lq({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new(Su.getClass(t)||td)}}function RPe(e){var t=e.scale.getExtent(),n=t[0],r=t[1];return!(n>0&&r>0||n<0&&r<0)}function r1(e){var t=e.getLabelModel().get("formatter"),n=e.type==="category"?e.scale.getExtent()[0]:null;return e.scale.type==="time"?function(r){return function(i,o){return e.scale.getFormattedLabel(i,o,r)}}(t):Qt(t)?function(r){return function(i){var o=e.scale.getLabel(i),a=r.replace("{value}",o??"");return a}}(t):An(t)?function(r){return function(i,o){return n!=null&&(o=i.value-n),r(bPe(e,i),o,i.level!=null?{level:i.level}:null)}}(t):function(r){return e.scale.getLabel(r)}}function bPe(e,t){return e.type==="category"?e.scale.getLabel(t):t.value}function xPe(e){var t=e.model,n=e.scale;if(!(!t.get(["axisLabel","show"])||n.isBlank())){var r,i,o=n.getExtent();n instanceof wP?i=n.count():(r=n.getTicks(),i=r.length);var a=e.getLabelModel(),s=r1(e),l,u=1;i>40&&(u=Math.ceil(i/40));for(var c=0;c<i;c+=u){var f=r?r[c]:{value:o[0]+c},d=s(f,c),h=a.getTextRect(d),p=SPe(h,a.get("rotate")||0);l?l.union(p):l=p}return l}}function SPe(e,t){var n=t*Math.PI/180,r=e.width,i=e.height,o=r*Math.abs(Math.cos(n))+Math.abs(i*Math.sin(n)),a=r*Math.abs(Math.sin(n))+Math.abs(i*Math.cos(n)),s=new dr(e.x,e.y,o,a);return s}function _P(e){var t=e.get("interval");return t??"auto"}function fq(e){return e.type==="category"&&_P(e.getLabelModel())===0}function wPe(e,t){var n={};return Pe(e.mapDimensionsAll(t),function(r){n[Dke(e,r)]=!0}),Dn(n)}var dq=function(){function e(){}return e.prototype.getNeedCrossZero=function(){var t=this.option;return!t.scale},e.prototype.getCoordSysModel=function(){},e}(),QD=[],MPe={registerPreprocessor:Hj,registerProcessor:Kj,registerPostInit:vke,registerPostUpdate:gke,registerUpdateLifecycle:xP,registerAction:n1,registerCoordinateSystem:mke,registerLayout:yke,registerVisual:v0,registerTransform:Rke,registerLoading:Gj,registerMap:Ake,registerImpl:zOe,PRIORITY:lke,ComponentModel:fr,ComponentView:hc,SeriesModel:Ha,ChartView:la,registerComponentModel:function(e){fr.registerClass(e)},registerComponentView:function(e){hc.registerClass(e)},registerSeriesModel:function(e){Ha.registerClass(e)},registerChartView:function(e){la.registerClass(e)},registerSubTypeDefaulter:function(e,t){fr.registerSubTypeDefaulter(e,t)},registerPainter:function(e,t){CLe(e,t)}};function t0(e){if(It(e)){Pe(e,function(t){t0(t)});return}Sr(QD,e)>=0||(QD.push(e),An(e)&&(e={install:e}),e.install(MPe))}var S2=Ii();function hq(e,t){var n=Ot(t,function(r){return e.scale.parse(r)});return e.type==="time"&&n.length>0&&(n.sort(),n.unshift(n[0]),n.push(n[n.length-1])),n}function LPe(e){var t=e.getLabelModel().get("customValues");if(t){var n=r1(e);return{labels:hq(e,t).map(function(r){var i={value:r};return{formattedLabel:n(i),rawLabel:e.scale.getLabel(i),tickValue:r}})}}return e.type==="category"?_Pe(e):kPe(e)}function TPe(e,t){var n=e.getTickModel().get("customValues");return n?{ticks:hq(e,n)}:e.type==="category"?OPe(e,t):{ticks:Ot(e.scale.getTicks(),function(r){return r.value})}}function _Pe(e){var t=e.getLabelModel(),n=pq(e,t);return!t.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}function pq(e,t){var n=vq(e,"labels"),r=_P(t),i=gq(n,r);if(i)return i;var o,a;return An(r)?o=Aq(e,r):(a=r==="auto"?PPe(e):r,o=yq(e,a)),mq(n,r,{labels:o,labelCategoryInterval:a})}function OPe(e,t){var n=vq(e,"ticks"),r=_P(t),i=gq(n,r);if(i)return i;var o,a;if((!t.get("show")||e.scale.isBlank())&&(o=[]),An(r))o=Aq(e,r,!0);else if(r==="auto"){var s=pq(e,e.getLabelModel());a=s.labelCategoryInterval,o=Ot(s.labels,function(l){return l.tickValue})}else a=r,o=yq(e,a,!0);return mq(n,r,{ticks:o,tickCategoryInterval:a})}function kPe(e){var t=e.scale.getTicks(),n=r1(e);return{labels:Ot(t,function(r,i){return{level:r.level,formattedLabel:n(r,i),rawLabel:e.scale.getLabel(r),tickValue:r.value}})}}function vq(e,t){return S2(e)[t]||(S2(e)[t]=[])}function gq(e,t){for(var n=0;n<e.length;n++)if(e[n].key===t)return e[n].value}function mq(e,t,n){return e.push({key:t,value:n}),n}function PPe(e){var t=S2(e).autoInterval;return t??(S2(e).autoInterval=e.calculateCategoryInterval())}function CPe(e){var t=IPe(e),n=r1(e),r=(t.axisRotate-t.labelRotate)/180*Math.PI,i=e.scale,o=i.getExtent(),a=i.count();if(o[1]-o[0]<1)return 0;var s=1;a>40&&(s=Math.max(1,Math.floor(a/40)));for(var l=o[0],u=e.dataToCoord(l+1)-e.dataToCoord(l),c=Math.abs(u*Math.cos(r)),f=Math.abs(u*Math.sin(r)),d=0,h=0;l<=o[1];l+=s){var p=0,v=0,g=YJ(n({value:l}),t.font,"center","top");p=g.width*1.3,v=g.height*1.3,d=Math.max(d,p,7),h=Math.max(h,v,7)}var m=d/c,y=h/f;isNaN(m)&&(m=1/0),isNaN(y)&&(y=1/0);var R=Math.max(0,Math.floor(Math.min(m,y))),A=S2(e.model),x=e.getExtent(),S=A.lastAutoInterval,_=A.lastTickCount;return S!=null&&_!=null&&Math.abs(S-R)<=1&&Math.abs(_-a)<=1&&S>R&&A.axisExtent0===x[0]&&A.axisExtent1===x[1]?R=S:(A.lastTickCount=a,A.lastAutoInterval=R,A.axisExtent0=x[0],A.axisExtent1=x[1]),R}function IPe(e){var t=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function yq(e,t,n){var r=r1(e),i=e.scale,o=i.getExtent(),a=e.getLabelModel(),s=[],l=Math.max((t||0)+1,1),u=o[0],c=i.count();u!==0&&l>1&&c/l>2&&(u=Math.round(Math.ceil(u/l)*l));var f=fq(e),d=a.get("showMinLabel")||f,h=a.get("showMaxLabel")||f;d&&u!==o[0]&&v(o[0]);for(var p=u;p<=o[1];p+=l)v(p);h&&p-l!==o[1]&&v(o[1]);function v(g){var m={value:g};s.push(n?g:{formattedLabel:r(m),rawLabel:i.getLabel(m),tickValue:g})}return s}function Aq(e,t,n){var r=e.scale,i=r1(e),o=[];return Pe(r.getTicks(),function(a){var s=r.getLabel(a),l=a.value;t(a.value,s)&&o.push(n?l:{formattedLabel:i(a),rawLabel:s,tickValue:l})}),o}var HD=[0,1],Rq=function(){function e(t,n,r){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=n,this._extent=r||[0,0]}return e.prototype.contain=function(t){var n=this._extent,r=Math.min(n[0],n[1]),i=Math.max(n[0],n[1]);return t>=r&&t<=i},e.prototype.containData=function(t){return this.scale.contain(t)},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.getPixelPrecision=function(t){return XLe(t||this.scale.getExtent(),this._extent)},e.prototype.setExtent=function(t,n){var r=this._extent;r[0]=t,r[1]=n},e.prototype.dataToCoord=function(t,n){var r=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&i.type==="ordinal"&&(r=r.slice(),KD(r,i.count())),V6(t,HD,r,n)},e.prototype.coordToData=function(t,n){var r=this._extent,i=this.scale;this.onBand&&i.type==="ordinal"&&(r=r.slice(),KD(r,i.count()));var o=V6(t,r,HD,n);return this.scale.scale(o)},e.prototype.pointToData=function(t,n){},e.prototype.getTicksCoords=function(t){t=t||{};var n=t.tickModel||this.getTickModel(),r=TPe(this,n),i=r.ticks,o=Ot(i,function(s){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(s):s),tickValue:s}},this),a=n.get("alignWithLabel");return NPe(this,o,a,t.clamp),o},e.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var t=this.model.getModel("minorTick"),n=t.get("splitNumber");n>0&&n<100||(n=5);var r=this.scale.getMinorTicks(n),i=Ot(r,function(o){return Ot(o,function(a){return{coord:this.dataToCoord(a),tickValue:a}},this)},this);return i},e.prototype.getViewLabels=function(){return LPe(this).labels},e.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},e.prototype.getTickModel=function(){return this.model.getModel("axisTick")},e.prototype.getBandWidth=function(){var t=this._extent,n=this.scale.getExtent(),r=n[1]-n[0]+(this.onBand?1:0);r===0&&(r=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/r},e.prototype.calculateCategoryInterval=function(){return CPe(this)},e}();function KD(e,t){var n=e[1]-e[0],r=t,i=n/r/2;e[0]+=i,e[1]-=i}function NPe(e,t,n,r){var i=t.length;if(!e.onBand||n||!i)return;var o=e.getExtent(),a,s;if(i===1)t[0].coord=o[0],a=t[1]={coord:o[1]};else{var l=t[i-1].tickValue-t[0].tickValue,u=(t[i-1].coord-t[0].coord)/l;Pe(t,function(h){h.coord-=u/2});var c=e.scale.getExtent();s=1+c[1]-t[i-1].tickValue,a={coord:t[i-1].coord+u*s},t.push(a)}var f=o[0]>o[1];d(t[0].coord,o[0])&&(r?t[0].coord=o[0]:t.shift()),r&&d(o[0],t[0].coord)&&t.unshift({coord:o[0]}),d(o[1],a.coord)&&(r?a.coord=o[1]:t.pop()),r&&d(a.coord,o[1])&&t.push({coord:o[1]});function d(h,p){return h=ui(h),p=ui(p),f?h>p:h<p}}function bq(e,t,n,r,i,o,a,s){var l=i-e,u=o-t,c=n-e,f=r-t,d=Math.sqrt(c*c+f*f);c/=d,f/=d;var h=l*c+u*f,p=h/d;p*=d;var v=a[0]=e+p*c,g=a[1]=t+p*f;return Math.sqrt((v-i)*(v-i)+(g-o)*(g-o))}var Mf=new cn,Zr=new cn,Bi=new cn,Lf=new cn,jl=new cn,gS=[],_o=new cn;function FPe(e,t){if(t<=180&&t>0){t=t/180*Math.PI,Mf.fromArray(e[0]),Zr.fromArray(e[1]),Bi.fromArray(e[2]),cn.sub(Lf,Mf,Zr),cn.sub(jl,Bi,Zr);var n=Lf.len(),r=jl.len();if(!(n<.001||r<.001)){Lf.scale(1/n),jl.scale(1/r);var i=Lf.dot(jl),o=Math.cos(t);if(o<i){var a=bq(Zr.x,Zr.y,Bi.x,Bi.y,Mf.x,Mf.y,gS);_o.fromArray(gS),_o.scaleAndAdd(jl,a/Math.tan(Math.PI-t));var s=Bi.x!==Zr.x?(_o.x-Zr.x)/(Bi.x-Zr.x):(_o.y-Zr.y)/(Bi.y-Zr.y);if(isNaN(s))return;s<0?cn.copy(_o,Zr):s>1&&cn.copy(_o,Bi),_o.toArray(e[1])}}}}function EPe(e,t,n){if(n<=180&&n>0){n=n/180*Math.PI,Mf.fromArray(e[0]),Zr.fromArray(e[1]),Bi.fromArray(e[2]),cn.sub(Lf,Zr,Mf),cn.sub(jl,Bi,Zr);var r=Lf.len(),i=jl.len();if(!(r<.001||i<.001)){Lf.scale(1/r),jl.scale(1/i);var o=Lf.dot(t),a=Math.cos(n);if(o<a){var s=bq(Zr.x,Zr.y,Bi.x,Bi.y,Mf.x,Mf.y,gS);_o.fromArray(gS);var l=Math.PI/2,u=Math.acos(jl.dot(t)),c=l+u-n;if(c>=l)cn.copy(_o,Bi);else{_o.scaleAndAdd(jl,s/Math.tan(Math.PI/2-c));var f=Bi.x!==Zr.x?(_o.x-Zr.x)/(Bi.x-Zr.x):(_o.y-Zr.y)/(Bi.y-Zr.y);if(isNaN(f))return;f<0?cn.copy(_o,Zr):f>1&&cn.copy(_o,Bi)}_o.toArray(e[1])}}}}function ZL(e,t,n,r){var i=n==="normal",o=i?e:e.ensureState(n);o.ignore=t;var a=r.get("smooth");a&&a===!0&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=r.getModel("lineStyle").getLineStyle();i?e.useStyle(s):o.style=s}function XPe(e,t){var n=t.smooth,r=t.points;if(r)if(e.moveTo(r[0][0],r[0][1]),n>0&&r.length>=3){var i=x6(r[0],r[1]),o=x6(r[1],r[2]);if(!i||!o){e.lineTo(r[1][0],r[1][1]),e.lineTo(r[2][0],r[2][1]);return}var a=Math.min(i,o)*n,s=D5([],r[1],r[0],a/i),l=D5([],r[1],r[2],a/o),u=D5([],s,l,.5);e.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),e.bezierCurveTo(l[0],l[1],l[0],l[1],r[2][0],r[2][1])}else for(var c=1;c<r.length;c++)e.lineTo(r[c][0],r[c][1])}function WPe(e,t,n){var r=e.getTextGuideLine(),i=e.getTextContent();if(!i){r&&e.removeTextGuideLine();return}for(var o=t.normal,a=o.get("show"),s=i.ignore,l=0;l<tS.length;l++){var u=tS[l],c=t[u],f=u==="normal";if(c){var d=c.get("show"),h=f?s:sn(i.states[u]&&i.states[u].ignore,s);if(h||!sn(d,a)){var p=f?r:r&&r.states[u];p&&(p.ignore=!0),r&&ZL(r,!0,u,c);continue}r||(r=new p0,e.setTextGuideLine(r),!f&&(s||!a)&&ZL(r,!0,"normal",t.normal),e.stateProxy&&(r.stateProxy=e.stateProxy)),ZL(r,!1,u,c)}}if(r){En(r.style,n),r.style.fill=null;var v=o.get("showAbove"),g=e.textGuideLineConfig=e.textGuideLineConfig||{};g.showAbove=v||!1,r.buildPath=XPe}}function VPe(e,t){t=t||"labelLine";for(var n={normal:e.getModel(t)},r=0;r<ks.length;r++){var i=ks[r];n[i]=e.getModel([i,t])}return n}function DPe(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];if(!r.defaultAttr.ignore){var i=r.label,o=i.getComputedTransform(),a=i.getBoundingRect(),s=!o||o[1]<1e-5&&o[2]<1e-5,l=i.style.margin||0,u=a.clone();u.applyTransform(o),u.x-=l/2,u.y-=l/2,u.width+=l,u.height+=l;var c=s?new iS(a,o):null;t.push({label:i,labelLine:r.labelLine,rect:u,localRect:a,obb:c,priority:r.priority,defaultAttr:r.defaultAttr,layoutOption:r.computedLayoutOption,axisAligned:s,transform:o})}}return t}function UPe(e,t,n,r,i,o){var a=e.length;if(a<2)return;e.sort(function(M,w){return M.rect[t]-w.rect[t]});for(var s=0,l,u=!1,c=0,f=0;f<a;f++){var d=e[f],h=d.rect;l=h[t]-s,l<0&&(h[t]-=l,d.label[t]-=l,u=!0);var p=Math.max(-l,0);c+=p,s=h[t]+h[n]}c>0&&o&&x(-c/a,0,a);var v=e[0],g=e[a-1],m,y;R(),m<0&&S(-m,.8),y<0&&S(y,.8),R(),A(m,y,1),A(y,m,-1),R(),m<0&&_(-m),y<0&&_(y);function R(){m=v.rect[t]-r,y=i-g.rect[t]-g.rect[n]}function A(M,w,L){if(M<0){var k=Math.min(w,-M);if(k>0){x(k*L,0,a);var P=k+M;P<0&&S(-P*L,1)}else S(-M*L,1)}}function x(M,w,L){M!==0&&(u=!0);for(var k=w;k<L;k++){var P=e[k],F=P.rect;F[t]+=M,P.label[t]+=M}}function S(M,w){for(var L=[],k=0,P=1;P<a;P++){var F=e[P-1].rect,C=Math.max(e[P].rect[t]-F[t]-F[n],0);L.push(C),k+=C}if(k){var N=Math.min(Math.abs(M)/k,w);if(M>0)for(var P=0;P<a-1;P++){var I=L[P]*N;x(I,0,P+1)}else for(var P=a-1;P>0;P--){var I=L[P-1]*N;x(-I,P,a)}}}function _(M){var w=M<0?-1:1;M=Math.abs(M);for(var L=Math.ceil(M/(a-1)),k=0;k<a-1;k++)if(w>0?x(L,0,k+1):x(-L,a-k-1,a),M-=L,M<=0)return}return u}function BPe(e,t,n,r){return UPe(e,"y","height",t,n,r)}function YPe(e){var t=[];e.sort(function(v,g){return g.priority-v.priority});var n=new dr(0,0,0,0);function r(v){if(!v.ignore){var g=v.ensureState("emphasis");g.ignore==null&&(g.ignore=!1)}v.ignore=!0}for(var i=0;i<e.length;i++){var o=e[i],a=o.axisAligned,s=o.localRect,l=o.transform,u=o.label,c=o.labelLine;n.copy(o.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var f=o.obb,d=!1,h=0;h<t.length;h++){var p=t[h];if(n.intersect(p.rect)){if(a&&p.axisAligned){d=!0;break}if(p.obb||(p.obb=new iS(p.localRect,p.transform)),f||(f=new iS(s,l)),f.intersect(p.obb)){d=!0;break}}}d?(r(u),c&&r(c)):(u.attr("ignore",o.defaultAttr.ignore),c&&c.attr("ignore",o.defaultAttr.labelGuideIgnore),t.push(o))}}var ZPe=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return t.prototype.getInitialData=function(n){return J3(null,this,{useEncodeDefaulter:!0})},t.prototype.getLegendIcon=function(n){var r=new Ai,i=ed("line",0,n.itemHeight/2,n.itemWidth,0,n.lineStyle.stroke,!1);r.add(i),i.setStyle(n.lineStyle);var o=this.getData().getVisual("symbol"),a=this.getData().getVisual("symbolRotate"),s=o==="none"?"circle":o,l=n.itemHeight*.8,u=ed(s,(n.itemWidth-l)/2,(n.itemHeight-l)/2,l,l,n.itemStyle.fill);r.add(u),u.setStyle(n.itemStyle);var c=n.iconRotate==="inherit"?a:n.iconRotate||0;return u.rotation=c*Math.PI/180,u.setOrigin([n.itemWidth/2,n.itemHeight/2]),s.indexOf("empty")>-1&&(u.style.stroke=u.style.fill,u.style.fill="#fff",u.style.lineWidth=2),r},t.type="series.line",t.dependencies=["grid","polar"],t.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},t}(Ha);function OP(e,t){var n=e.mapDimensionsAll("defaultedLabel"),r=n.length;if(r===1){var i=Pv(e,t,n[0]);return i!=null?i+"":null}else if(r){for(var o=[],a=0;a<n.length;a++)o.push(Pv(e,t,n[a]));return o.join(" ")}}function xq(e,t){var n=e.mapDimensionsAll("defaultedLabel");if(!It(t))return t+"";for(var r=[],i=0;i<n.length;i++){var o=e.getDimensionIndex(n[i]);o>=0&&r.push(t[o])}return r.join(" ")}var kP=function(e){St(t,e);function t(n,r,i,o){var a=e.call(this)||this;return a.updateData(n,r,i,o),a}return t.prototype._createSymbol=function(n,r,i,o,a){this.removeAll();var s=ed(n,-1,-1,2,2,null,a);s.attr({z2:100,culling:!0,scaleX:o[0]/2,scaleY:o[1]/2}),s.drift=QPe,this._symbolType=n,this.add(s)},t.prototype.stopSymbolAnimation=function(n){this.childAt(0).stopAnimation(null,n)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){nS(this.childAt(0))},t.prototype.downplay=function(){rS(this.childAt(0))},t.prototype.setZ=function(n,r){var i=this.childAt(0);i.zlevel=n,i.z=r},t.prototype.setDraggable=function(n,r){var i=this.childAt(0);i.draggable=n,i.cursor=!r&&n?"move":i.cursor},t.prototype.updateData=function(n,r,i,o){this.silent=!1;var a=n.getItemVisual(r,"symbol")||"circle",s=n.hostModel,l=t.getSymbolSize(n,r),u=a!==this._symbolType,c=o&&o.disableAnimation;if(u){var f=n.getItemVisual(r,"symbolKeepAspect");this._createSymbol(a,n,r,l,f)}else{var d=this.childAt(0);d.silent=!1;var h={scaleX:l[0]/2,scaleY:l[1]/2};c?d.attr(h):go(d,h,s,r),p2(d)}if(this._updateCommon(n,r,l,i,o),u){var d=this.childAt(0);if(!c){var h={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:d.style.opacity}};d.scaleX=d.scaleY=0,d.style.opacity=0,sa(d,h,s,r)}}c&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(n,r,i,o,a){var s=this.childAt(0),l=n.hostModel,u,c,f,d,h,p,v,g,m;if(o&&(u=o.emphasisItemStyle,c=o.blurItemStyle,f=o.selectItemStyle,d=o.focus,h=o.blurScope,v=o.labelStatesModels,g=o.hoverScale,m=o.cursorStyle,p=o.emphasisDisabled),!o||n.hasItemOption){var y=o&&o.itemModel?o.itemModel:n.getItemModel(r),R=y.getModel("emphasis");u=R.getModel("itemStyle").getItemStyle(),f=y.getModel(["select","itemStyle"]).getItemStyle(),c=y.getModel(["blur","itemStyle"]).getItemStyle(),d=R.get("focus"),h=R.get("blurScope"),p=R.get("disabled"),v=e1(y),g=R.getShallow("scale"),m=y.getShallow("cursor")}var A=n.getItemVisual(r,"symbolRotate");s.attr("rotation",(A||0)*Math.PI/180||0);var x=Tj(n.getItemVisual(r,"symbolOffset"),i);x&&(s.x=x[0],s.y=x[1]),m&&s.attr("cursor",m);var S=n.getItemVisual(r,"style"),_=S.fill;if(s instanceof Al){var M=s.style;s.useStyle(gt({image:M.image,x:M.x,y:M.y,width:M.width,height:M.height},S))}else s.__isEmptyBrush?s.useStyle(gt({},S)):s.useStyle(S),s.style.decal=null,s.setColor(_,a&&a.symbolInnerColor),s.style.strokeNoScale=!0;var w=n.getItemVisual(r,"liftZ"),L=this._z2;w!=null?L==null&&(this._z2=s.z2,s.z2+=w):L!=null&&(s.z2=L,this._z2=null);var k=a&&a.useNameLabel;qv(s,v,{labelFetcher:l,labelDataIndex:r,defaultText:P,inheritColor:_,defaultOpacity:S.opacity});function P(N){return k?n.getName(N):OP(n,N)}this._sizeX=i[0]/2,this._sizeY=i[1]/2;var F=s.ensureState("emphasis");F.style=u,s.ensureState("select").style=f,s.ensureState("blur").style=c;var C=g==null||g===!0?Math.max(1.1,3/this._sizeY):isFinite(g)&&g>0?+g:1;F.scaleX=this._sizeX*C,F.scaleY=this._sizeY*C,this.setSymbolScale(1),_v(this,d,h,p)},t.prototype.setSymbolScale=function(n){this.scaleX=this.scaleY=n},t.prototype.fadeOut=function(n,r,i){var o=this.childAt(0),a=wr(this).dataIndex,s=i&&i.animation;if(this.silent=o.silent=!0,i&&i.fadeLabel){var l=o.getTextContent();l&&oS(l,{style:{opacity:0}},r,{dataIndex:a,removeOpt:s,cb:function(){o.removeTextContent()}})}else o.removeTextContent();oS(o,{style:{opacity:0},scaleX:0,scaleY:0},r,{dataIndex:a,cb:n,removeOpt:s})},t.getSymbolSize=function(n,r){return Lj(n.getItemVisual(r,"symbolSize"))},t}(Ai);function QPe(e,t){this.parent.drift(e,t)}function QL(e,t,n,r){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(r.isIgnore&&r.isIgnore(n))&&!(r.clipShape&&!r.clipShape.contain(t[0],t[1]))&&e.getItemVisual(n,"symbol")!=="none"}function GD(e){return e!=null&&!rn(e)&&(e={isIgnore:e}),e||{}}function zD(e){var t=e.hostModel,n=t.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:e1(t),cursorStyle:t.get("cursor")}}var Sq=function(){function e(t){this.group=new Ai,this._SymbolCtor=t||kP}return e.prototype.updateData=function(t,n){this._progressiveEls=null,n=GD(n);var r=this.group,i=t.hostModel,o=this._data,a=this._SymbolCtor,s=n.disableAnimation,l=zD(t),u={disableAnimation:s},c=n.getSymbolPoint||function(f){return t.getItemLayout(f)};o||r.removeAll(),t.diff(o).add(function(f){var d=c(f);if(QL(t,d,f,n)){var h=new a(t,f,l,u);h.setPosition(d),t.setItemGraphicEl(f,h),r.add(h)}}).update(function(f,d){var h=o.getItemGraphicEl(d),p=c(f);if(!QL(t,p,f,n)){r.remove(h);return}var v=t.getItemVisual(f,"symbol")||"circle",g=h&&h.getSymbolType&&h.getSymbolType();if(!h||g&&g!==v)r.remove(h),h=new a(t,f,l,u),h.setPosition(p);else{h.updateData(t,f,l,u);var m={x:p[0],y:p[1]};s?h.attr(m):go(h,m,i)}r.add(h),t.setItemGraphicEl(f,h)}).remove(function(f){var d=o.getItemGraphicEl(f);d&&d.fadeOut(function(){r.remove(d)},i)}).execute(),this._getSymbolPoint=c,this._data=t},e.prototype.updateLayout=function(){var t=this,n=this._data;n&&n.eachItemGraphicEl(function(r,i){var o=t._getSymbolPoint(i);r.setPosition(o),r.markRedraw()})},e.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=zD(t),this._data=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(t,n,r){this._progressiveEls=[],r=GD(r);function i(l){l.isGroup||(l.incremental=!0,l.ensureState("emphasis").hoverLayer=!0)}for(var o=t.start;o<t.end;o++){var a=n.getItemLayout(o);if(QL(n,a,o,r)){var s=new this._SymbolCtor(n,o,this._seriesScope);s.traverse(i),s.setPosition(a),this.group.add(s),n.setItemGraphicEl(o,s),this._progressiveEls.push(s)}}},e.prototype.eachRendered=function(t){W3(this._progressiveEls||this.group,t)},e.prototype.remove=function(t){var n=this.group,r=this._data;r&&t?r.eachItemGraphicEl(function(i){i.fadeOut(function(){n.remove(i)},r.hostModel)}):n.removeAll()},e}();function wq(e,t,n){var r=e.getBaseAxis(),i=e.getOtherAxis(r),o=HPe(i,n),a=r.dim,s=i.dim,l=t.mapDimension(s),u=t.mapDimension(a),c=s==="x"||s==="radius"?1:0,f=Ot(e.dimensions,function(p){return t.mapDimension(p)}),d=!1,h=t.getCalculationInfo("stackResultDimension");return Cv(t,f[0])&&(d=!0,f[0]=h),Cv(t,f[1])&&(d=!0,f[1]=h),{dataDimsForPoint:f,valueStart:o,valueAxisDim:s,baseAxisDim:a,stacked:!!d,valueDim:l,baseDim:u,baseDataOffset:c,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function HPe(e,t){var n=0,r=e.scale.getExtent();return t==="start"?n=r[0]:t==="end"?n=r[1]:Ar(t)&&!isNaN(t)?n=t:r[0]>0?n=r[0]:r[1]<0&&(n=r[1]),n}function Mq(e,t,n,r){var i=NaN;e.stacked&&(i=n.get(n.getCalculationInfo("stackedOverDimension"),r)),isNaN(i)&&(i=e.valueStart);var o=e.baseDataOffset,a=[];return a[o]=n.get(e.baseDim,r),a[1-o]=i,t.dataToPoint(a)}function KPe(e,t){var n=[];return t.diff(e).add(function(r){n.push({cmd:"+",idx:r})}).update(function(r,i){n.push({cmd:"=",idx:i,idx1:r})}).remove(function(r){n.push({cmd:"-",idx:r})}).execute(),n}function GPe(e,t,n,r,i,o,a,s){for(var l=KPe(e,t),u=[],c=[],f=[],d=[],h=[],p=[],v=[],g=wq(i,t,a),m=e.getLayout("points")||[],y=t.getLayout("points")||[],R=0;R<l.length;R++){var A=l[R],x=!0,S=void 0,_=void 0;switch(A.cmd){case"=":S=A.idx*2,_=A.idx1*2;var M=m[S],w=m[S+1],L=y[_],k=y[_+1];(isNaN(M)||isNaN(w))&&(M=L,w=k),u.push(M,w),c.push(L,k),f.push(n[S],n[S+1]),d.push(r[_],r[_+1]),v.push(t.getRawIndex(A.idx1));break;case"+":var P=A.idx,F=g.dataDimsForPoint,C=i.dataToPoint([t.get(F[0],P),t.get(F[1],P)]);_=P*2,u.push(C[0],C[1]),c.push(y[_],y[_+1]);var N=Mq(g,i,t,P);f.push(N[0],N[1]),d.push(r[_],r[_+1]),v.push(t.getRawIndex(P));break;case"-":x=!1}x&&(h.push(A),p.push(p.length))}p.sort(function(q,j){return v[q]-v[j]});for(var I=u.length,V=nc(I),W=nc(I),Z=nc(I),re=nc(I),Y=[],R=0;R<p.length;R++){var B=p[R],Q=R*2,K=B*2;V[Q]=u[K],V[Q+1]=u[K+1],W[Q]=c[K],W[Q+1]=c[K+1],Z[Q]=f[K],Z[Q+1]=f[K+1],re[Q]=d[K],re[Q+1]=d[K+1],Y[R]=h[B]}return{current:V,next:W,stackedOnCurrent:Z,stackedOnNext:re,status:Y}}var Bc=Math.min,Yc=Math.max;function Xh(e,t){return isNaN(e)||isNaN(t)}function f_(e,t,n,r,i,o,a,s,l){for(var u,c,f,d,h,p,v=n,g=0;g<r;g++){var m=t[v*2],y=t[v*2+1];if(v>=i||v<0)break;if(Xh(m,y)){if(l){v+=o;continue}break}if(v===n)e[o>0?"moveTo":"lineTo"](m,y),f=m,d=y;else{var R=m-u,A=y-c;if(R*R+A*A<.5){v+=o;continue}if(a>0){for(var x=v+o,S=t[x*2],_=t[x*2+1];S===m&&_===y&&g<r;)g++,x+=o,v+=o,S=t[x*2],_=t[x*2+1],m=t[v*2],y=t[v*2+1],R=m-u,A=y-c;var M=g+1;if(l)for(;Xh(S,_)&&M<r;)M++,x+=o,S=t[x*2],_=t[x*2+1];var w=.5,L=0,k=0,P=void 0,F=void 0;if(M>=r||Xh(S,_))h=m,p=y;else{L=S-u,k=_-c;var C=m-u,N=S-m,I=y-c,V=_-y,W=void 0,Z=void 0;if(s==="x"){W=Math.abs(C),Z=Math.abs(N);var re=L>0?1:-1;h=m-re*W*a,p=y,P=m+re*Z*a,F=y}else if(s==="y"){W=Math.abs(I),Z=Math.abs(V);var Y=k>0?1:-1;h=m,p=y-Y*W*a,P=m,F=y+Y*Z*a}else W=Math.sqrt(C*C+I*I),Z=Math.sqrt(N*N+V*V),w=Z/(Z+W),h=m-L*a*(1-w),p=y-k*a*(1-w),P=m+L*a*w,F=y+k*a*w,P=Bc(P,Yc(S,m)),F=Bc(F,Yc(_,y)),P=Yc(P,Bc(S,m)),F=Yc(F,Bc(_,y)),L=P-m,k=F-y,h=m-L*W/Z,p=y-k*W/Z,h=Bc(h,Yc(u,m)),p=Bc(p,Yc(c,y)),h=Yc(h,Bc(u,m)),p=Yc(p,Bc(c,y)),L=m-h,k=y-p,P=m+L*Z/W,F=y+k*Z/W}e.bezierCurveTo(f,d,h,p,m,y),f=P,d=F}else e.lineTo(m,y)}u=m,c=y,v+=o}return g}var Lq=function(){function e(){this.smooth=0,this.smoothConstraint=!0}return e}(),zPe=function(e){St(t,e);function t(n){var r=e.call(this,n)||this;return r.type="ec-polyline",r}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Lq},t.prototype.buildPath=function(n,r){var i=r.points,o=0,a=i.length/2;if(r.connectNulls){for(;a>0&&Xh(i[a*2-2],i[a*2-1]);a--);for(;o<a&&Xh(i[o*2],i[o*2+1]);o++);}for(;o<a;)o+=f_(n,i,o,a,a,1,r.smooth,r.smoothMonotone,r.connectNulls)+1},t.prototype.getPointOn=function(n,r){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var i=this.path,o=i.data,a=jf.CMD,s,l,u=r==="x",c=[],f=0;f<o.length;){var d=o[f++],h=void 0,p=void 0,v=void 0,g=void 0,m=void 0,y=void 0,R=void 0;switch(d){case a.M:s=o[f++],l=o[f++];break;case a.L:if(h=o[f++],p=o[f++],R=u?(n-s)/(h-s):(n-l)/(p-l),R<=1&&R>=0){var A=u?(p-l)*R+l:(h-s)*R+s;return u?[n,A]:[A,n]}s=h,l=p;break;case a.C:h=o[f++],p=o[f++],v=o[f++],g=o[f++],m=o[f++],y=o[f++];var x=u?Kx(s,h,v,m,n,c):Kx(l,p,g,y,n,c);if(x>0)for(var S=0;S<x;S++){var _=c[S];if(_<=1&&_>=0){var A=u?Qi(l,p,g,y,_):Qi(s,h,v,m,_);return u?[n,A]:[A,n]}}s=m,l=y;break}}},t}(Jn),JPe=function(e){St(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(Lq),$Pe=function(e){St(t,e);function t(n){var r=e.call(this,n)||this;return r.type="ec-polygon",r}return t.prototype.getDefaultShape=function(){return new JPe},t.prototype.buildPath=function(n,r){var i=r.points,o=r.stackedOnPoints,a=0,s=i.length/2,l=r.smoothMonotone;if(r.connectNulls){for(;s>0&&Xh(i[s*2-2],i[s*2-1]);s--);for(;a<s&&Xh(i[a*2],i[a*2+1]);a++);}for(;a<s;){var u=f_(n,i,a,s,s,1,r.smooth,l,r.connectNulls);f_(n,o,a+u-1,u,s,-1,r.stackedOnSmooth,l,r.connectNulls),a+=u+1,n.closePath()}},t}(Jn);function Tq(e,t,n,r,i){var o=e.getArea(),a=o.x,s=o.y,l=o.width,u=o.height,c=n.get(["lineStyle","width"])||2;a-=c/2,s-=c/2,l+=c,u+=c,l=Math.ceil(l),a!==Math.floor(a)&&(a=Math.floor(a),l++);var f=new Oi({shape:{x:a,y:s,width:l,height:u}});if(t){var d=e.getBaseAxis(),h=d.isHorizontal(),p=d.inverse;h?(p&&(f.shape.x+=l),f.shape.width=0):(p||(f.shape.y+=u),f.shape.height=0);var v=An(i)?function(g){i(g,f)}:null;sa(f,{shape:{width:l,height:u,x:a,y:s}},n,null,r,v)}return f}function _q(e,t,n){var r=e.getArea(),i=ui(r.r0,1),o=ui(r.r,1),a=new hd({shape:{cx:ui(e.cx,1),cy:ui(e.cy,1),r0:i,r:o,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});if(t){var s=e.getBaseAxis().dim==="angle";s?a.shape.endAngle=r.startAngle:a.shape.r=i,sa(a,{shape:{endAngle:r.endAngle,r:o}},n)}return a}function jPe(e,t,n,r,i){if(e){if(e.type==="polar")return _q(e,t,n);if(e.type==="cartesian2d")return Tq(e,t,n,r,i)}else return null;return null}function PP(e,t){return e.type===t}function JD(e,t){if(e.length===t.length){for(var n=0;n<e.length;n++)if(e[n]!==t[n])return;return!0}}function $D(e){for(var t=1/0,n=1/0,r=-1/0,i=-1/0,o=0;o<e.length;){var a=e[o++],s=e[o++];isNaN(a)||(t=Math.min(a,t),r=Math.max(a,r)),isNaN(s)||(n=Math.min(s,n),i=Math.max(s,i))}return[[t,n],[r,i]]}function jD(e,t){var n=$D(e),r=n[0],i=n[1],o=$D(t),a=o[0],s=o[1];return Math.max(Math.abs(r[0]-a[0]),Math.abs(r[1]-a[1]),Math.abs(i[0]-s[0]),Math.abs(i[1]-s[1]))}function qD(e){return Ar(e)?e:e?.5:0}function qPe(e,t,n){if(!n.valueDim)return[];for(var r=t.count(),i=nc(r*2),o=0;o<r;o++){var a=Mq(n,e,t,o);i[o*2]=a[0],i[o*2+1]=a[1]}return i}function Zc(e,t,n,r){var i=t.getBaseAxis(),o=i.dim==="x"||i.dim==="radius"?0:1,a=[],s=0,l=[],u=[],c=[],f=[];if(r){for(s=0;s<e.length;s+=2)!isNaN(e[s])&&!isNaN(e[s+1])&&f.push(e[s],e[s+1]);e=f}for(s=0;s<e.length-2;s+=2)switch(c[0]=e[s+2],c[1]=e[s+3],u[0]=e[s],u[1]=e[s+1],a.push(u[0],u[1]),n){case"end":l[o]=c[o],l[1-o]=u[1-o],a.push(l[0],l[1]);break;case"middle":var d=(u[o]+c[o])/2,h=[];l[o]=h[o]=d,l[1-o]=u[1-o],h[1-o]=c[1-o],a.push(l[0],l[1]),a.push(h[0],h[1]);break;default:l[o]=u[o],l[1-o]=c[1-o],a.push(l[0],l[1])}return a.push(e[s++],e[s++]),a}function eCe(e,t){var n=[],r=e.length,i,o;function a(c,f,d){var h=c.coord,p=(d-h)/(f.coord-h),v=tLe(p,[c.color,f.color]);return{coord:d,color:v}}for(var s=0;s<r;s++){var l=e[s],u=l.coord;if(u<0)i=l;else if(u>t){o?n.push(a(o,l,t)):i&&n.push(a(i,l,0),a(i,l,t));break}else i&&(n.push(a(i,l,0)),i=null),n.push(l),o=l}return n}function tCe(e,t,n){var r=e.getVisual("visualMeta");if(!(!r||!r.length||!e.count())&&t.type==="cartesian2d"){for(var i,o,a=r.length-1;a>=0;a--){var s=e.getDimensionInfo(r[a].dimension);if(i=s&&s.coordDim,i==="x"||i==="y"){o=r[a];break}}if(o){var l=t.getAxis(i),u=Ot(o.stops,function(R){return{coord:l.toGlobalCoord(l.dataToCoord(R.value)),color:R.color}}),c=u.length,f=o.outerColors.slice();c&&u[0].coord>u[c-1].coord&&(u.reverse(),f.reverse());var d=eCe(u,i==="x"?n.getWidth():n.getHeight()),h=d.length;if(!h&&c)return u[0].coord<0?f[1]?f[1]:u[c-1].color:f[0]?f[0]:u[0].color;var p=10,v=d[0].coord-p,g=d[h-1].coord+p,m=g-v;if(m<.001)return"transparent";Pe(d,function(R){R.offset=(R.coord-v)/m}),d.push({offset:h?d[h-1].offset:.5,color:f[1]||"transparent"}),d.unshift({offset:h?d[0].offset:.5,color:f[0]||"transparent"});var y=new _$(0,0,0,0,d,!0);return y[i]=v,y[i+"2"]=g,y}}}function nCe(e,t,n){var r=e.get("showAllSymbol"),i=r==="auto";if(!(r&&!i)){var o=n.getAxesByScale("ordinal")[0];if(o&&!(i&&rCe(o,t))){var a=t.mapDimension(o.dim),s={};return Pe(o.getViewLabels(),function(l){var u=o.scale.getRawOrdinalNumber(l.tickValue);s[u]=1}),function(l){return!s.hasOwnProperty(t.get(a,l))}}}}function rCe(e,t){var n=e.getExtent(),r=Math.abs(n[1]-n[0])/e.scale.count();isNaN(r)&&(r=0);for(var i=t.count(),o=Math.max(1,Math.round(i/5)),a=0;a<i;a+=o)if(kP.getSymbolSize(t,a)[e.isHorizontal()?1:0]*1.5>r)return!1;return!0}function iCe(e,t){return isNaN(e)||isNaN(t)}function oCe(e){for(var t=e.length/2;t>0&&iCe(e[t*2-2],e[t*2-1]);t--);return t-1}function eU(e,t){return[e[t*2],e[t*2+1]]}function aCe(e,t,n){for(var r=e.length/2,i=n==="x"?0:1,o,a,s=0,l=-1,u=0;u<r;u++)if(a=e[u*2+i],!(isNaN(a)||isNaN(e[u*2+1-i]))){if(u===0){o=a;continue}if(o<=t&&a>=t||o>=t&&a<=t){l=u;break}s=u,o=a}return{range:[s,l],t:(t-o)/(a-o)}}function Oq(e){if(e.get(["endLabel","show"]))return!0;for(var t=0;t<ks.length;t++)if(e.get([ks[t],"endLabel","show"]))return!0;return!1}function HL(e,t,n,r){if(PP(t,"cartesian2d")){var i=r.getModel("endLabel"),o=i.get("valueAnimation"),a=r.getData(),s={lastFrameIndex:0},l=Oq(r)?function(h,p){e._endLabelOnDuring(h,p,a,s,o,i,t)}:null,u=t.getBaseAxis().isHorizontal(),c=Tq(t,n,r,function(){var h=e._endLabel;h&&n&&s.originalX!=null&&h.attr({x:s.originalX,y:s.originalY})},l);if(!r.get("clip",!0)){var f=c.shape,d=Math.max(f.width,f.height);u?(f.y-=d,f.height+=d*2):(f.x-=d,f.width+=d*2)}return l&&l(1,c),c}else return _q(t,n,r)}function sCe(e,t){var n=t.getBaseAxis(),r=n.isHorizontal(),i=n.inverse,o=r?i?"right":"left":"center",a=r?"middle":i?"top":"bottom";return{normal:{align:e.get("align")||o,verticalAlign:e.get("verticalAlign")||a}}}var lCe=function(e){St(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(){var n=new Ai,r=new Sq;this.group.add(r.group),this._symbolDraw=r,this._lineGroup=n},t.prototype.render=function(n,r,i){var o=this,a=n.coordinateSystem,s=this.group,l=n.getData(),u=n.getModel("lineStyle"),c=n.getModel("areaStyle"),f=l.getLayout("points")||[],d=a.type==="polar",h=this._coordSys,p=this._symbolDraw,v=this._polyline,g=this._polygon,m=this._lineGroup,y=!r.ssr&&n.get("animation"),R=!c.isEmpty(),A=c.get("origin"),x=wq(a,l,A),S=R&&qPe(a,l,x),_=n.get("showSymbol"),M=n.get("connectNulls"),w=_&&!d&&nCe(n,l,a),L=this._data;L&&L.eachItemGraphicEl(function(j,de){j.__temp&&(s.remove(j),L.setItemGraphicEl(de,null))}),_||p.remove(),s.add(m);var k=d?!1:n.get("step"),P;a&&a.getArea&&n.get("clip",!0)&&(P=a.getArea(),P.width!=null?(P.x-=.1,P.y-=.1,P.width+=.2,P.height+=.2):P.r0&&(P.r0-=.5,P.r+=.5)),this._clipShapeForSymbol=P;var F=tCe(l,a,i)||l.getVisual("style")[l.getVisual("drawType")];if(!(v&&h.type===a.type&&k===this._step))_&&p.updateData(l,{isIgnore:w,clipShape:P,disableAnimation:!0,getSymbolPoint:function(j){return[f[j*2],f[j*2+1]]}}),y&&this._initSymbolLabelAnimation(l,a,P),k&&(f=Zc(f,a,k,M),S&&(S=Zc(S,a,k,M))),v=this._newPolyline(f),R?g=this._newPolygon(f,S):g&&(m.remove(g),g=this._polygon=null),d||this._initOrUpdateEndLabel(n,a,j6(F)),m.setClipPath(HL(this,a,!0,n));else{R&&!g?g=this._newPolygon(f,S):g&&!R&&(m.remove(g),g=this._polygon=null),d||this._initOrUpdateEndLabel(n,a,j6(F));var C=m.getClipPath();if(C){var N=HL(this,a,!1,n);sa(C,{shape:N.shape},n)}else m.setClipPath(HL(this,a,!0,n));_&&p.updateData(l,{isIgnore:w,clipShape:P,disableAnimation:!0,getSymbolPoint:function(j){return[f[j*2],f[j*2+1]]}}),(!JD(this._stackedOnPoints,S)||!JD(this._points,f))&&(y?this._doUpdateAnimation(l,S,a,i,k,A,M):(k&&(f=Zc(f,a,k,M),S&&(S=Zc(S,a,k,M))),v.setShape({points:f}),g&&g.setShape({points:f,stackedOnPoints:S})))}var I=n.getModel("emphasis"),V=I.get("focus"),W=I.get("blurScope"),Z=I.get("disabled");if(v.useStyle(En(u.getLineStyle(),{fill:"none",stroke:F,lineJoin:"bevel"})),Ov(v,n,"lineStyle"),v.style.lineWidth>0&&n.get(["emphasis","lineStyle","width"])==="bolder"){var re=v.getState("emphasis").style;re.lineWidth=+v.style.lineWidth+1}wr(v).seriesIndex=n.seriesIndex,_v(v,V,W,Z);var Y=qD(n.get("smooth")),B=n.get("smoothMonotone");if(v.setShape({smooth:Y,smoothMonotone:B,connectNulls:M}),g){var Q=l.getCalculationInfo("stackedOnSeries"),K=0;g.useStyle(En(c.getAreaStyle(),{fill:F,opacity:.7,lineJoin:"bevel",decal:l.getVisual("style").decal})),Q&&(K=qD(Q.get("smooth"))),g.setShape({smooth:Y,stackedOnSmooth:K,smoothMonotone:B,connectNulls:M}),Ov(g,n,"areaStyle"),wr(g).seriesIndex=n.seriesIndex,_v(g,V,W,Z)}var q=function(j){o._changePolyState(j)};l.eachItemGraphicEl(function(j){j&&(j.onHoverStateChange=q)}),this._polyline.onHoverStateChange=q,this._data=l,this._coordSys=a,this._stackedOnPoints=S,this._points=f,this._step=k,this._valueOrigin=A,n.get("triggerLineEvent")&&(this.packEventData(n,v),g&&this.packEventData(n,g))},t.prototype.packEventData=function(n,r){wr(r).eventData={componentType:"series",componentSubType:"line",componentIndex:n.componentIndex,seriesIndex:n.seriesIndex,seriesName:n.name,seriesType:"line"}},t.prototype.highlight=function(n,r,i,o){var a=n.getData(),s=Tv(a,o);if(this._changePolyState("emphasis"),!(s instanceof Array)&&s!=null&&s>=0){var l=a.getLayout("points"),u=a.getItemGraphicEl(s);if(!u){var c=l[s*2],f=l[s*2+1];if(isNaN(c)||isNaN(f)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(c,f))return;var d=n.get("zlevel")||0,h=n.get("z")||0;u=new kP(a,s),u.x=c,u.y=f,u.setZ(d,h);var p=u.getSymbolPath().getTextContent();p&&(p.zlevel=d,p.z=h,p.z2=this._polyline.z2+1),u.__temp=!0,a.setItemGraphicEl(s,u),u.stopSymbolAnimation(!0),this.group.add(u)}u.highlight()}else la.prototype.highlight.call(this,n,r,i,o)},t.prototype.downplay=function(n,r,i,o){var a=n.getData(),s=Tv(a,o);if(this._changePolyState("normal"),s!=null&&s>=0){var l=a.getItemGraphicEl(s);l&&(l.__temp?(a.setItemGraphicEl(s,null),this.group.remove(l)):l.downplay())}else la.prototype.downplay.call(this,n,r,i,o)},t.prototype._changePolyState=function(n){var r=this._polygon;dV(this._polyline,n),r&&dV(r,n)},t.prototype._newPolyline=function(n){var r=this._polyline;return r&&this._lineGroup.remove(r),r=new zPe({shape:{points:n},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(r),this._polyline=r,r},t.prototype._newPolygon=function(n,r){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new $Pe({shape:{points:n,stackedOnPoints:r},segmentIgnoreThreshold:2}),this._lineGroup.add(i),this._polygon=i,i},t.prototype._initSymbolLabelAnimation=function(n,r,i){var o,a,s=r.getBaseAxis(),l=s.inverse;r.type==="cartesian2d"?(o=s.isHorizontal(),a=!1):r.type==="polar"&&(o=s.dim==="angle",a=!0);var u=n.hostModel,c=u.get("animationDuration");An(c)&&(c=c(null));var f=u.get("animationDelay")||0,d=An(f)?f(null):f;n.eachItemGraphicEl(function(h,p){var v=h;if(v){var g=[h.x,h.y],m=void 0,y=void 0,R=void 0;if(i)if(a){var A=i,x=r.pointToCoord(g);o?(m=A.startAngle,y=A.endAngle,R=-x[1]/180*Math.PI):(m=A.r0,y=A.r,R=x[0])}else{var S=i;o?(m=S.x,y=S.x+S.width,R=h.x):(m=S.y+S.height,y=S.y,R=h.y)}var _=y===m?0:(R-m)/(y-m);l&&(_=1-_);var M=An(f)?f(p):c*_+d,w=v.getSymbolPath(),L=w.getTextContent();v.attr({scaleX:0,scaleY:0}),v.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:M}),L&&L.animateFrom({style:{opacity:0}},{duration:300,delay:M}),w.disableLabelAnimation=!0}})},t.prototype._initOrUpdateEndLabel=function(n,r,i){var o=n.getModel("endLabel");if(Oq(n)){var a=n.getData(),s=this._polyline,l=a.getLayout("points");if(!l){s.removeTextContent(),this._endLabel=null;return}var u=this._endLabel;u||(u=this._endLabel=new Qa({z2:200}),u.ignoreClip=!0,s.setTextContent(this._endLabel),s.disableLabelAnimation=!0);var c=oCe(l);c>=0&&(qv(s,e1(n,"endLabel"),{inheritColor:i,labelFetcher:n,labelDataIndex:c,defaultText:function(f,d,h){return h!=null?xq(a,h):OP(a,f)},enableTextSetter:!0},sCe(o,r)),s.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(n,r,i,o,a,s,l){var u=this._endLabel,c=this._polyline;if(u){n<1&&o.originalX==null&&(o.originalX=u.x,o.originalY=u.y);var f=i.getLayout("points"),d=i.hostModel,h=d.get("connectNulls"),p=s.get("precision"),v=s.get("distance")||0,g=l.getBaseAxis(),m=g.isHorizontal(),y=g.inverse,R=r.shape,A=y?m?R.x:R.y+R.height:m?R.x+R.width:R.y,x=(m?v:0)*(y?-1:1),S=(m?0:-v)*(y?-1:1),_=m?"x":"y",M=aCe(f,A,_),w=M.range,L=w[1]-w[0],k=void 0;if(L>=1){if(L>1&&!h){var P=eU(f,w[0]);u.attr({x:P[0]+x,y:P[1]+S}),a&&(k=d.getRawValue(w[0]))}else{var P=c.getPointOn(A,_);P&&u.attr({x:P[0]+x,y:P[1]+S});var F=d.getRawValue(w[0]),C=d.getRawValue(w[1]);a&&(k=i8e(i,p,F,C,M.t))}o.lastFrameIndex=w[0]}else{var N=n===1||o.lastFrameIndex>0?w[0]:0,P=eU(f,N);a&&(k=d.getRawValue(N)),u.attr({x:P[0]+x,y:P[1]+S})}if(a){var I=D3(u);typeof I.setLabelText=="function"&&I.setLabelText(k)}}},t.prototype._doUpdateAnimation=function(n,r,i,o,a,s,l){var u=this._polyline,c=this._polygon,f=n.hostModel,d=GPe(this._data,n,this._stackedOnPoints,r,this._coordSys,i,this._valueOrigin),h=d.current,p=d.stackedOnCurrent,v=d.next,g=d.stackedOnNext;if(a&&(h=Zc(d.current,i,a,l),p=Zc(d.stackedOnCurrent,i,a,l),v=Zc(d.next,i,a,l),g=Zc(d.stackedOnNext,i,a,l)),jD(h,v)>3e3||c&&jD(p,g)>3e3){u.stopAnimation(),u.setShape({points:v}),c&&(c.stopAnimation(),c.setShape({points:v,stackedOnPoints:g}));return}u.shape.__points=d.current,u.shape.points=h;var m={shape:{points:v}};d.current!==h&&(m.shape.__points=d.next),u.stopAnimation(),go(u,m,f),c&&(c.setShape({points:h,stackedOnPoints:p}),c.stopAnimation(),go(c,{shape:{stackedOnPoints:g}},f),u.shape.points!==c.shape.points&&(c.shape.points=u.shape.points));for(var y=[],R=d.status,A=0;A<R.length;A++){var x=R[A].cmd;if(x==="="){var S=n.getItemGraphicEl(R[A].idx1);S&&y.push({el:S,ptIdx:A})}}u.animators&&u.animators.length&&u.animators[0].during(function(){c&&c.dirtyShape();for(var _=u.shape.__points,M=0;M<y.length;M++){var w=y[M].el,L=y[M].ptIdx*2;w.x=_[L],w.y=_[L+1],w.markRedraw()}})},t.prototype.remove=function(n){var r=this.group,i=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),i&&i.eachItemGraphicEl(function(o,a){o.__temp&&(r.remove(o),i.setItemGraphicEl(a,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},t.type="line",t}(la);function CP(e,t){return{seriesType:e,plan:mP(),reset:function(n){var r=n.getData(),i=n.coordinateSystem,o=n.pipelineContext,a=t||o.large;if(i){var s=Ot(i.dimensions,function(h){return r.mapDimension(h)}).slice(0,2),l=s.length,u=r.getCalculationInfo("stackResultDimension");Cv(r,s[0])&&(s[0]=u),Cv(r,s[1])&&(s[1]=u);var c=r.getStore(),f=r.getDimensionIndex(s[0]),d=r.getDimensionIndex(s[1]);return l&&{progress:function(h,p){for(var v=h.end-h.start,g=a&&nc(v*l),m=[],y=[],R=h.start,A=0;R<h.end;R++){var x=void 0;if(l===1){var S=c.get(f,R);x=i.dataToPoint(S,null,y)}else m[0]=c.get(f,R),m[1]=c.get(d,R),x=i.dataToPoint(m,null,y);a?(g[A++]=x[0],g[A++]=x[1]):p.setItemLayout(R,x.slice())}a&&p.setLayout("points",g)}}}}}}var uCe={average:function(e){for(var t=0,n=0,r=0;r<e.length;r++)isNaN(e[r])||(t+=e[r],n++);return n===0?NaN:t/n},sum:function(e){for(var t=0,n=0;n<e.length;n++)t+=e[n]||0;return t},max:function(e){for(var t=-1/0,n=0;n<e.length;n++)e[n]>t&&(t=e[n]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,n=0;n<e.length;n++)e[n]<t&&(t=e[n]);return isFinite(t)?t:NaN},minmax:function(e){for(var t=-1/0,n=-1/0,r=0;r<e.length;r++){var i=e[r],o=Math.abs(i);o>t&&(t=o,n=i)}return isFinite(n)?n:NaN},nearest:function(e){return e[0]}},cCe=function(e){return Math.round(e.length/2)};function kq(e){return{seriesType:e,reset:function(t,n,r){var i=t.getData(),o=t.get("sampling"),a=t.coordinateSystem,s=i.count();if(s>10&&a.type==="cartesian2d"&&o){var l=a.getBaseAxis(),u=a.getOtherAxis(l),c=l.getExtent(),f=r.getDevicePixelRatio(),d=Math.abs(c[1]-c[0])*(f||1),h=Math.round(s/d);if(isFinite(h)&&h>1){o==="lttb"&&t.setData(i.lttbDownSample(i.mapDimension(u.dim),1/h));var p=void 0;Qt(o)?p=uCe[o]:An(o)&&(p=o),p&&t.setData(i.downSample(i.mapDimension(u.dim),1/h,p,cCe))}}}}}function fCe(e){e.registerChartView(lCe),e.registerSeriesModel(ZPe),e.registerLayout(CP("line",!0)),e.registerVisual({seriesType:"line",reset:function(t){var n=t.getData(),r=t.getModel("lineStyle").getLineStyle();r&&!r.stroke&&(r.stroke=n.getVisual("style").fill),n.setVisual("legendLineStyle",r)}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,kq("line"))}var d_=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.getInitialData=function(n,r){return J3(null,this,{useEncodeDefaulter:!0})},t.prototype.getMarkerPosition=function(n,r,i){var o=this.coordinateSystem;if(o&&o.clampData){var a=o.clampData(n),s=o.dataToPoint(a);if(i)Pe(o.getAxes(),function(d,h){if(d.type==="category"&&r!=null){var p=d.getTicksCoords(),v=d.getTickModel().get("alignWithLabel"),g=a[h],m=r[h]==="x1"||r[h]==="y1";if(m&&!v&&(g+=1),p.length<2)return;if(p.length===2){s[h]=d.toGlobalCoord(d.getExtent()[m?1:0]);return}for(var y=void 0,R=void 0,A=1,x=0;x<p.length;x++){var S=p[x].coord,_=x===p.length-1?p[x-1].tickValue+A:p[x].tickValue;if(_===g){R=S;break}else if(_<g)y=S;else if(y!=null&&_>g){R=(S+y)/2;break}x===1&&(A=_-p[0].tickValue)}R==null&&(y?y&&(R=p[p.length-1].coord):R=p[0].coord),s[h]=d.toGlobalCoord(R)}});else{var l=this.getData(),u=l.getLayout("offset"),c=l.getLayout("size"),f=o.getBaseAxis().isHorizontal()?0:1;s[f]+=u+c/2}return s}return[NaN,NaN]},t.type="series.__base_bar__",t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},t}(Ha);Ha.registerClass(d_);var dCe=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.getInitialData=function(){return J3(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},t.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},t.prototype.getProgressiveThreshold=function(){var n=this.get("progressiveThreshold"),r=this.get("largeThreshold");return r>n&&(n=r),n},t.prototype.brushSelector=function(n,r,i){return i.rect(r.getItemLayout(n))},t.type="series.bar",t.dependencies=["grid","polar"],t.defaultOption=W$(d_.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),t}(d_),hCe=function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return e}(),tU=function(e){St(t,e);function t(n){var r=e.call(this,n)||this;return r.type="sausage",r}return t.prototype.getDefaultShape=function(){return new hCe},t.prototype.buildPath=function(n,r){var i=r.cx,o=r.cy,a=Math.max(r.r0||0,0),s=Math.max(r.r,0),l=(s-a)*.5,u=a+l,c=r.startAngle,f=r.endAngle,d=r.clockwise,h=Math.PI*2,p=d?f-c<h:c-f<h;p||(c=f-(d?h:-h));var v=Math.cos(c),g=Math.sin(c),m=Math.cos(f),y=Math.sin(f);p?(n.moveTo(v*a+i,g*a+o),n.arc(v*u+i,g*u+o,l,-Math.PI+c,c,!d)):n.moveTo(v*s+i,g*s+o),n.arc(i,o,s,c,f,!d),n.arc(m*u+i,y*u+o,l,f-Math.PI*2,f-Math.PI,!d),a!==0&&n.arc(i,o,a,f,c,d)},t}(Jn);function pCe(e,t){t=t||{};var n=t.isRoundCap;return function(r,i,o){var a=i.position;if(!a||a instanceof Array)return jx(r,i,o);var s=e(a),l=i.distance!=null?i.distance:5,u=this.shape,c=u.cx,f=u.cy,d=u.r,h=u.r0,p=(d+h)/2,v=u.startAngle,g=u.endAngle,m=(v+g)/2,y=n?Math.abs(d-h)/2:0,R=Math.cos,A=Math.sin,x=c+d*R(v),S=f+d*A(v),_="left",M="top";switch(s){case"startArc":x=c+(h-l)*R(m),S=f+(h-l)*A(m),_="center",M="top";break;case"insideStartArc":x=c+(h+l)*R(m),S=f+(h+l)*A(m),_="center",M="bottom";break;case"startAngle":x=c+p*R(v)+OR(v,l+y,!1),S=f+p*A(v)+kR(v,l+y,!1),_="right",M="middle";break;case"insideStartAngle":x=c+p*R(v)+OR(v,-l+y,!1),S=f+p*A(v)+kR(v,-l+y,!1),_="left",M="middle";break;case"middle":x=c+p*R(m),S=f+p*A(m),_="center",M="middle";break;case"endArc":x=c+(d+l)*R(m),S=f+(d+l)*A(m),_="center",M="bottom";break;case"insideEndArc":x=c+(d-l)*R(m),S=f+(d-l)*A(m),_="center",M="top";break;case"endAngle":x=c+p*R(g)+OR(g,l+y,!0),S=f+p*A(g)+kR(g,l+y,!0),_="left",M="middle";break;case"insideEndAngle":x=c+p*R(g)+OR(g,-l+y,!0),S=f+p*A(g)+kR(g,-l+y,!0),_="right",M="middle";break;default:return jx(r,i,o)}return r=r||{},r.x=x,r.y=S,r.align=_,r.verticalAlign=M,r}}function vCe(e,t,n,r){if(Ar(r)){e.setTextConfig({rotation:r});return}else if(It(t)){e.setTextConfig({rotation:0});return}var i=e.shape,o=i.clockwise?i.startAngle:i.endAngle,a=i.clockwise?i.endAngle:i.startAngle,s=(o+a)/2,l,u=n(t);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":l=s;break;case"startAngle":case"insideStartAngle":l=o;break;case"endAngle":case"insideEndAngle":l=a;break;default:e.setTextConfig({rotation:0});return}var c=Math.PI*1.5-l;u==="middle"&&c>Math.PI/2&&c<Math.PI*1.5&&(c-=Math.PI),e.setTextConfig({rotation:c})}function OR(e,t,n){return t*Math.sin(e)*(n?-1:1)}function kR(e,t,n){return t*Math.cos(e)*(n?1:-1)}function Cg(e,t,n){var r=e.get("borderRadius");if(r==null)return n?{cornerRadius:0}:null;It(r)||(r=[r,r,r,r]);var i=Math.abs(t.r||0-t.r0||0);return{cornerRadius:Ot(r,function(o){return Jf(o,i)})}}var KL=Math.max,GL=Math.min;function gCe(e,t){var n=e.getArea&&e.getArea();if(PP(e,"cartesian2d")){var r=e.getBaseAxis();if(r.type!=="category"||!r.onBand){var i=t.getLayout("bandWidth");r.isHorizontal()?(n.x-=i,n.width+=i*2):(n.y-=i,n.height+=i*2)}}return n}var mCe=function(e){St(t,e);function t(){var n=e.call(this)||this;return n.type=t.type,n._isFirstFrame=!0,n}return t.prototype.render=function(n,r,i,o){this._model=n,this._removeOnRenderedListener(i),this._updateDrawMode(n);var a=n.get("coordinateSystem");(a==="cartesian2d"||a==="polar")&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(n,r,i):this._renderNormal(n,r,i,o))},t.prototype.incrementalPrepareRender=function(n){this._clear(),this._updateDrawMode(n),this._updateLargeClip(n)},t.prototype.incrementalRender=function(n,r){this._progressiveEls=[],this._incrementalRenderLarge(n,r)},t.prototype.eachRendered=function(n){W3(this._progressiveEls||this.group,n)},t.prototype._updateDrawMode=function(n){var r=n.pipelineContext.large;(this._isLargeDraw==null||r!==this._isLargeDraw)&&(this._isLargeDraw=r,this._clear())},t.prototype._renderNormal=function(n,r,i,o){var a=this.group,s=n.getData(),l=this._data,u=n.coordinateSystem,c=u.getBaseAxis(),f;u.type==="cartesian2d"?f=c.isHorizontal():u.type==="polar"&&(f=c.dim==="angle");var d=n.isAnimationEnabled()?n:null,h=yCe(n,u);h&&this._enableRealtimeSort(h,s,i);var p=n.get("clip",!0)||h,v=gCe(u,s);a.removeClipPath();var g=n.get("roundCap",!0),m=n.get("showBackground",!0),y=n.getModel("backgroundStyle"),R=y.get("borderRadius")||0,A=[],x=this._backgroundEls,S=o&&o.isInitSort,_=o&&o.type==="changeAxisOrder";function M(k){var P=PR[u.type](s,k),F=MCe(u,f,P);return F.useStyle(y.getItemStyle()),u.type==="cartesian2d"?F.setShape("r",R):F.setShape("cornerRadius",R),A[k]=F,F}s.diff(l).add(function(k){var P=s.getItemModel(k),F=PR[u.type](s,k,P);if(m&&M(k),!(!s.hasValue(k)||!aU[u.type](F))){var C=!1;p&&(C=nU[u.type](v,F));var N=rU[u.type](n,s,k,F,f,d,c.model,!1,g);h&&(N.forceLabelAnimation=!0),sU(N,s,k,P,F,n,f,u.type==="polar"),S?N.attr({shape:F}):h?iU(h,d,N,F,k,f,!1,!1):sa(N,{shape:F},n,k),s.setItemGraphicEl(k,N),a.add(N),N.ignore=C}}).update(function(k,P){var F=s.getItemModel(k),C=PR[u.type](s,k,F);if(m){var N=void 0;x.length===0?N=M(P):(N=x[P],N.useStyle(y.getItemStyle()),u.type==="cartesian2d"?N.setShape("r",R):N.setShape("cornerRadius",R),A[k]=N);var I=PR[u.type](s,k),V=Cq(f,I,u);go(N,{shape:V},d,k)}var W=l.getItemGraphicEl(P);if(!s.hasValue(k)||!aU[u.type](C)){a.remove(W);return}var Z=!1;if(p&&(Z=nU[u.type](v,C),Z&&a.remove(W)),W?p2(W):W=rU[u.type](n,s,k,C,f,d,c.model,!!W,g),h&&(W.forceLabelAnimation=!0),_){var re=W.getTextContent();if(re){var Y=D3(re);Y.prevValue!=null&&(Y.prevValue=Y.value)}}else sU(W,s,k,F,C,n,f,u.type==="polar");S?W.attr({shape:C}):h?iU(h,d,W,C,k,f,!0,_):go(W,{shape:C},n,k,null),s.setItemGraphicEl(k,W),W.ignore=Z,a.add(W)}).remove(function(k){var P=l.getItemGraphicEl(k);P&&aS(P,n,k)}).execute();var w=this._backgroundGroup||(this._backgroundGroup=new Ai);w.removeAll();for(var L=0;L<A.length;++L)w.add(A[L]);a.add(w),this._backgroundEls=A,this._data=s},t.prototype._renderLarge=function(n,r,i){this._clear(),uU(n,this.group),this._updateLargeClip(n)},t.prototype._incrementalRenderLarge=function(n,r){this._removeBackground(),uU(r,this.group,this._progressiveEls,!0)},t.prototype._updateLargeClip=function(n){var r=n.get("clip",!0)&&jPe(n.coordinateSystem,!1,n),i=this.group;r?i.setClipPath(r):i.removeClipPath()},t.prototype._enableRealtimeSort=function(n,r,i){var o=this;if(r.count()){var a=n.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(r,n,i),this._isFirstFrame=!1;else{var s=function(l){var u=r.getItemGraphicEl(l),c=u&&u.shape;return c&&Math.abs(a.isHorizontal()?c.height:c.width)||0};this._onRendered=function(){o._updateSortWithinSameData(r,s,a,i)},i.getZr().on("rendered",this._onRendered)}}},t.prototype._dataSort=function(n,r,i){var o=[];return n.each(n.mapDimension(r.dim),function(a,s){var l=i(s);l=l??NaN,o.push({dataIndex:s,mappedValue:l,ordinalNumber:a})}),o.sort(function(a,s){return s.mappedValue-a.mappedValue}),{ordinalNumbers:Ot(o,function(a){return a.ordinalNumber})}},t.prototype._isOrderChangedWithinSameData=function(n,r,i){for(var o=i.scale,a=n.mapDimension(i.dim),s=Number.MAX_VALUE,l=0,u=o.getOrdinalMeta().categories.length;l<u;++l){var c=n.rawIndexOf(a,o.getRawOrdinalNumber(l)),f=c<0?Number.MIN_VALUE:r(n.indexOfRawIndex(c));if(f>s)return!0;s=f}return!1},t.prototype._isOrderDifferentInView=function(n,r){for(var i=r.scale,o=i.getExtent(),a=Math.max(0,o[0]),s=Math.min(o[1],i.getOrdinalMeta().categories.length-1);a<=s;++a)if(n.ordinalNumbers[a]!==i.getRawOrdinalNumber(a))return!0},t.prototype._updateSortWithinSameData=function(n,r,i,o){if(this._isOrderChangedWithinSameData(n,r,i)){var a=this._dataSort(n,i,r);this._isOrderDifferentInView(a,i)&&(this._removeOnRenderedListener(o),o.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",axisId:i.index,sortInfo:a}))}},t.prototype._dispatchInitSort=function(n,r,i){var o=r.baseAxis,a=this._dataSort(n,o,function(s){return n.get(n.mapDimension(r.otherAxis.dim),s)});i.dispatchAction({type:"changeAxisOrder",componentType:o.dim+"Axis",isInitSort:!0,axisId:o.index,sortInfo:a})},t.prototype.remove=function(n,r){this._clear(this._model),this._removeOnRenderedListener(r)},t.prototype.dispose=function(n,r){this._removeOnRenderedListener(r)},t.prototype._removeOnRenderedListener=function(n){this._onRendered&&(n.getZr().off("rendered",this._onRendered),this._onRendered=null)},t.prototype._clear=function(n){var r=this.group,i=this._data;n&&n.isAnimationEnabled()&&i&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],i.eachItemGraphicEl(function(o){aS(o,n,wr(o).dataIndex)})):r.removeAll(),this._data=null,this._isFirstFrame=!0},t.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},t.type="bar",t}(la),nU={cartesian2d:function(e,t){var n=t.width<0?-1:1,r=t.height<0?-1:1;n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height);var i=e.x+e.width,o=e.y+e.height,a=KL(t.x,e.x),s=GL(t.x+t.width,i),l=KL(t.y,e.y),u=GL(t.y+t.height,o),c=s<a,f=u<l;return t.x=c&&a>i?s:a,t.y=f&&l>o?u:l,t.width=c?0:s-a,t.height=f?0:u-l,n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height),c||f},polar:function(e,t){var n=t.r0<=t.r?1:-1;if(n<0){var r=t.r;t.r=t.r0,t.r0=r}var i=GL(t.r,e.r),o=KL(t.r0,e.r0);t.r=i,t.r0=o;var a=i-o<0;if(n<0){var r=t.r;t.r=t.r0,t.r0=r}return a}},rU={cartesian2d:function(e,t,n,r,i,o,a,s,l){var u=new Oi({shape:gt({},r),z2:1});if(u.__dataIndex=n,u.name="item",o){var c=u.shape,f=i?"height":"width";c[f]=0}return u},polar:function(e,t,n,r,i,o,a,s,l){var u=!i&&l?tU:hd,c=new u({shape:r,z2:1});c.name="item";var f=Pq(i);if(c.calculateTextPosition=pCe(f,{isRoundCap:u===tU}),o){var d=c.shape,h=i?"r":"endAngle",p={};d[h]=i?r.r0:r.startAngle,p[h]=r[h],(s?go:sa)(c,{shape:p},o)}return c}};function yCe(e,t){var n=e.get("realtimeSort",!0),r=t.getBaseAxis();if(n&&r.type==="category"&&t.type==="cartesian2d")return{baseAxis:r,otherAxis:t.getOtherAxis(r)}}function iU(e,t,n,r,i,o,a,s){var l,u;o?(u={x:r.x,width:r.width},l={y:r.y,height:r.height}):(u={y:r.y,height:r.height},l={x:r.x,width:r.width}),s||(a?go:sa)(n,{shape:l},t,i,null);var c=t?e.baseAxis.model:null;(a?go:sa)(n,{shape:u},c,i)}function oU(e,t){for(var n=0;n<t.length;n++)if(!isFinite(e[t[n]]))return!0;return!1}var ACe=["x","y","width","height"],RCe=["cx","cy","r","startAngle","endAngle"],aU={cartesian2d:function(e){return!oU(e,ACe)},polar:function(e){return!oU(e,RCe)}},PR={cartesian2d:function(e,t,n){var r=e.getItemLayout(t),i=n?xCe(n,r):0,o=r.width>0?1:-1,a=r.height>0?1:-1;return{x:r.x+o*i/2,y:r.y+a*i/2,width:r.width-o*i,height:r.height-a*i}},polar:function(e,t,n){var r=e.getItemLayout(t);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}}};function bCe(e){return e.startAngle!=null&&e.endAngle!=null&&e.startAngle===e.endAngle}function Pq(e){return function(t){var n=t?"Arc":"Angle";return function(r){switch(r){case"start":case"insideStart":case"end":case"insideEnd":return r+n;default:return r}}}(e)}function sU(e,t,n,r,i,o,a,s){var l=t.getItemVisual(n,"style");if(s){if(!o.get("roundCap")){var c=e.shape,f=Cg(r.getModel("itemStyle"),c,!0);gt(c,f),e.setShape(c)}}else{var u=r.get(["itemStyle","borderRadius"])||0;e.setShape("r",u)}e.useStyle(l);var d=r.getShallow("cursor");d&&e.attr("cursor",d);var h=s?a?i.r>=i.r0?"endArc":"startArc":i.endAngle>=i.startAngle?"endAngle":"startAngle":a?i.height>=0?"bottom":"top":i.width>=0?"right":"left",p=e1(r);qv(e,p,{labelFetcher:o,labelDataIndex:n,defaultText:OP(o.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:h});var v=e.getTextContent();if(s&&v){var g=r.get(["label","position"]);e.textConfig.inside=g==="middle"?!0:null,vCe(e,g==="outside"?h:g,Pq(a),r.get(["label","rotate"]))}A6e(v,p,o.getRawValue(n),function(y){return xq(t,y)});var m=r.getModel(["emphasis"]);_v(e,m.get("focus"),m.get("blurScope"),m.get("disabled")),Ov(e,r),bCe(i)&&(e.style.fill="none",e.style.stroke="none",Pe(e.states,function(y){y.style&&(y.style.fill=y.style.stroke="none")}))}function xCe(e,t){var n=e.get(["itemStyle","borderColor"]);if(!n||n==="none")return 0;var r=e.get(["itemStyle","borderWidth"])||0,i=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),o=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(r,i,o)}var SCe=function(){function e(){}return e}(),lU=function(e){St(t,e);function t(n){var r=e.call(this,n)||this;return r.type="largeBar",r}return t.prototype.getDefaultShape=function(){return new SCe},t.prototype.buildPath=function(n,r){for(var i=r.points,o=this.baseDimIdx,a=1-this.baseDimIdx,s=[],l=[],u=this.barWidth,c=0;c<i.length;c+=3)l[o]=u,l[a]=i[c+2],s[o]=i[c+o],s[a]=i[c+a],n.rect(s[0],s[1],l[0],l[1])},t}(Jn);function uU(e,t,n,r){var i=e.getData(),o=i.getLayout("valueAxisHorizontal")?1:0,a=i.getLayout("largeDataIndices"),s=i.getLayout("size"),l=e.getModel("backgroundStyle"),u=i.getLayout("largeBackgroundPoints");if(u){var c=new lU({shape:{points:u},incremental:!!r,silent:!0,z2:0});c.baseDimIdx=o,c.largeDataIndices=a,c.barWidth=s,c.useStyle(l.getItemStyle()),t.add(c),n&&n.push(c)}var f=new lU({shape:{points:i.getLayout("largePoints")},incremental:!!r,ignoreCoarsePointer:!0,z2:1});f.baseDimIdx=o,f.largeDataIndices=a,f.barWidth=s,t.add(f),f.useStyle(i.getVisual("style")),wr(f).seriesIndex=e.seriesIndex,e.get("silent")||(f.on("mousedown",cU),f.on("mousemove",cU)),n&&n.push(f)}var cU=yj(function(e){var t=this,n=wCe(t,e.offsetX,e.offsetY);wr(t).dataIndex=n>=0?n:null},30,!1);function wCe(e,t,n){for(var r=e.baseDimIdx,i=1-r,o=e.shape.points,a=e.largeDataIndices,s=[],l=[],u=e.barWidth,c=0,f=o.length/3;c<f;c++){var d=c*3;if(l[r]=u,l[i]=o[d+2],s[r]=o[d+r],s[i]=o[d+i],l[i]<0&&(s[i]+=l[i],l[i]=-l[i]),t>=s[0]&&t<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[c]}return-1}function Cq(e,t,n){if(PP(n,"cartesian2d")){var r=t,i=n.getArea();return{x:e?r.x:i.x,y:e?i.y:r.y,width:e?r.width:i.width,height:e?i.height:r.height}}else{var i=n.getArea(),o=t;return{cx:i.cx,cy:i.cy,r0:e?i.r0:o.r0,r:e?i.r:o.r,startAngle:e?o.startAngle:0,endAngle:e?o.endAngle:Math.PI*2}}}function MCe(e,t,n){var r=e.type==="polar"?hd:Oi;return new r({shape:Cq(t,n,e),silent:!0,z2:0})}function LCe(e){e.registerChartView(mCe),e.registerSeriesModel(dCe),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,Fa(ePe,"bar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,tPe("bar")),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,kq("bar")),e.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(t,n){var r=t.componentType||"series";n.eachComponent({mainType:r,query:t},function(i){t.sortInfo&&i.axis.setCategorySortInfo(t.sortInfo)})})}var fU=Math.PI*2,CR=Math.PI/180;function Iq(e,t){return cS(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function Nq(e,t){var n=Iq(e,t),r=e.get("center"),i=e.get("radius");It(i)||(i=[0,i]);var o=mr(n.width,t.getWidth()),a=mr(n.height,t.getHeight()),s=Math.min(o,a),l=mr(i[0],s/2),u=mr(i[1],s/2),c,f,d=e.coordinateSystem;if(d){var h=d.dataToPoint(r);c=h[0]||0,f=h[1]||0}else It(r)||(r=[r,r]),c=mr(r[0],o)+n.x,f=mr(r[1],a)+n.y;return{cx:c,cy:f,r0:l,r:u}}function TCe(e,t,n){t.eachSeriesByType(e,function(r){var i=r.getData(),o=i.mapDimension("value"),a=Iq(r,n),s=Nq(r,n),l=s.cx,u=s.cy,c=s.r,f=s.r0,d=-r.get("startAngle")*CR,h=r.get("endAngle"),p=r.get("padAngle")*CR;h=h==="auto"?d-fU:-h*CR;var v=r.get("minAngle")*CR,g=v+p,m=0;i.each(o,function(V){!isNaN(V)&&m++});var y=i.getSum(o),R=Math.PI/(y||m)*2,A=r.get("clockwise"),x=r.get("roseType"),S=r.get("stillShowZeroSum"),_=i.getDataExtent(o);_[0]=0;var M=A?1:-1,w=[d,h],L=M*p/2;o$(w,!A),d=w[0],h=w[1];var k=Fq(r);k.startAngle=d,k.endAngle=h,k.clockwise=A;var P=Math.abs(h-d),F=P,C=0,N=d;if(i.setLayout({viewRect:a,r:c}),i.each(o,function(V,W){var Z;if(isNaN(V)){i.setItemLayout(W,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:A,cx:l,cy:u,r0:f,r:x?NaN:c});return}x!=="area"?Z=y===0&&S?R:V*R:Z=P/m,Z<g?(Z=g,F-=g):C+=V;var re=N+M*Z,Y=0,B=0;p>Z?(Y=N+M*Z/2,B=Y):(Y=N+L,B=re-L),i.setItemLayout(W,{angle:Z,startAngle:Y,endAngle:B,clockwise:A,cx:l,cy:u,r0:f,r:x?V6(V,_,[f,c]):c}),N=re}),F<fU&&m)if(F<=.001){var I=P/m;i.each(o,function(V,W){if(!isNaN(V)){var Z=i.getItemLayout(W);Z.angle=I;var re=0,Y=0;I<p?(re=d+M*(W+1/2)*I,Y=re):(re=d+M*W*I+L,Y=d+M*(W+1)*I-L),Z.startAngle=re,Z.endAngle=Y}})}else R=F/C,N=d,i.each(o,function(V,W){if(!isNaN(V)){var Z=i.getItemLayout(W),re=Z.angle===g?g:V*R,Y=0,B=0;re<p?(Y=N+M*re/2,B=Y):(Y=N+L,B=N+M*re-L),Z.startAngle=Y,Z.endAngle=B,N+=M*re}})})}var Fq=Ii();function Eq(e){return{seriesType:e,reset:function(t,n){var r=n.findComponents({mainType:"legend"});if(!(!r||!r.length)){var i=t.getData();i.filterSelf(function(o){for(var a=i.getName(o),s=0;s<r.length;s++)if(!r[s].isSelected(a))return!1;return!0})}}}}var _Ce=Math.PI/180;function dU(e,t,n,r,i,o,a,s,l,u){if(e.length<2)return;function c(v){for(var g=v.rB,m=g*g,y=0;y<v.list.length;y++){var R=v.list[y],A=Math.abs(R.label.y-n),x=r+R.len,S=x*x,_=Math.sqrt((1-Math.abs(A*A/m))*S),M=t+(_+R.len2)*i,w=M-R.label.x,L=R.targetTextWidth-w*i;Xq(R,L,!0),R.label.x=M}}function f(v){for(var g={list:[],maxY:0},m={list:[],maxY:0},y=0;y<v.length;y++)if(v[y].labelAlignTo==="none"){var R=v[y],A=R.label.y>n?m:g,x=Math.abs(R.label.y-n);if(x>=A.maxY){var S=R.label.x-t-R.len2*i,_=r+R.len,M=Math.abs(S)<_?Math.sqrt(x*x/(1-S*S/_/_)):_;A.rB=M,A.maxY=x}A.list.push(R)}c(g),c(m)}for(var d=e.length,h=0;h<d;h++)if(e[h].position==="outer"&&e[h].labelAlignTo==="labelLine"){var p=e[h].label.x-u;e[h].linePoints[1][0]+=p,e[h].label.x=u}BPe(e,l,l+a)&&f(e)}function OCe(e,t,n,r,i,o,a,s){for(var l=[],u=[],c=Number.MAX_VALUE,f=-Number.MAX_VALUE,d=0;d<e.length;d++){var h=e[d].label;zL(e[d])||(h.x<t?(c=Math.min(c,h.x),l.push(e[d])):(f=Math.max(f,h.x),u.push(e[d])))}for(var d=0;d<e.length;d++){var p=e[d];if(!zL(p)&&p.linePoints){if(p.labelStyleWidth!=null)continue;var h=p.label,v=p.linePoints,g=void 0;p.labelAlignTo==="edge"?h.x<t?g=v[2][0]-p.labelDistance-a-p.edgeDistance:g=a+i-p.edgeDistance-v[2][0]-p.labelDistance:p.labelAlignTo==="labelLine"?h.x<t?g=c-a-p.bleedMargin:g=a+i-f-p.bleedMargin:h.x<t?g=h.x-a-p.bleedMargin:g=a+i-h.x-p.bleedMargin,p.targetTextWidth=g,Xq(p,g)}}dU(u,t,n,r,1,i,o,a,s,f),dU(l,t,n,r,-1,i,o,a,s,c);for(var d=0;d<e.length;d++){var p=e[d];if(!zL(p)&&p.linePoints){var h=p.label,v=p.linePoints,m=p.labelAlignTo==="edge",y=h.style.padding,R=y?y[1]+y[3]:0,A=h.style.backgroundColor?0:R,x=p.rect.width+A,S=v[1][0]-v[2][0];m?h.x<t?v[2][0]=a+p.edgeDistance+x+p.labelDistance:v[2][0]=a+i-p.edgeDistance-x-p.labelDistance:(h.x<t?v[2][0]=h.x+p.labelDistance:v[2][0]=h.x-p.labelDistance,v[1][0]=v[2][0]+S),v[1][1]=v[2][1]=h.y}}}function Xq(e,t,n){if(n===void 0&&(n=!1),e.labelStyleWidth==null){var r=e.label,i=r.style,o=e.rect,a=i.backgroundColor,s=i.padding,l=s?s[1]+s[3]:0,u=i.overflow,c=o.width+(a?0:l);if(t<c||n){var f=o.height;if(u&&u.match("break")){r.setStyle("backgroundColor",null),r.setStyle("width",t-l);var d=r.getBoundingRect();r.setStyle("width",Math.ceil(d.width)),r.setStyle("backgroundColor",a)}else{var h=t-l,p=t<c?h:n?h>e.unconstrainedWidth?null:h:null;r.setStyle("width",p)}var v=r.getBoundingRect();o.width=v.width;var g=(r.style.margin||0)+2.1;o.height=v.height+g,o.y-=(o.height-f)/2}}}function zL(e){return e.position==="center"}function kCe(e){var t=e.getData(),n=[],r,i,o=!1,a=(e.get("minShowLabelAngle")||0)*_Ce,s=t.getLayout("viewRect"),l=t.getLayout("r"),u=s.width,c=s.x,f=s.y,d=s.height;function h(S){S.ignore=!0}function p(S){if(!S.ignore)return!0;for(var _ in S.states)if(S.states[_].ignore===!1)return!0;return!1}t.each(function(S){var _=t.getItemGraphicEl(S),M=_.shape,w=_.getTextContent(),L=_.getTextGuideLine(),k=t.getItemModel(S),P=k.getModel("label"),F=P.get("position")||k.get(["emphasis","label","position"]),C=P.get("distanceToLabelLine"),N=P.get("alignTo"),I=mr(P.get("edgeDistance"),u),V=P.get("bleedMargin"),W=k.getModel("labelLine"),Z=W.get("length");Z=mr(Z,u);var re=W.get("length2");if(re=mr(re,u),Math.abs(M.endAngle-M.startAngle)<a){Pe(w.states,h),w.ignore=!0,L&&(Pe(L.states,h),L.ignore=!0);return}if(p(w)){var Y=(M.startAngle+M.endAngle)/2,B=Math.cos(Y),Q=Math.sin(Y),K,q,j,de;r=M.cx,i=M.cy;var G=F==="inside"||F==="inner";if(F==="center")K=M.cx,q=M.cy,de="center";else{var Ae=(G?(M.r+M.r0)/2*B:M.r*B)+r,ce=(G?(M.r+M.r0)/2*Q:M.r*Q)+i;if(K=Ae+B*3,q=ce+Q*3,!G){var fe=Ae+B*(Z+l-M.r),le=ce+Q*(Z+l-M.r),$=fe+(B<0?-1:1)*re,X=le;N==="edge"?K=B<0?c+I:c+u-I:K=$+(B<0?-C:C),q=X,j=[[Ae,ce],[fe,le],[$,X]]}de=G?"center":N==="edge"?B>0?"right":"left":B>0?"left":"right"}var J=Math.PI,se=0,ee=P.get("rotate");if(Ar(ee))se=ee*(J/180);else if(F==="center")se=0;else if(ee==="radial"||ee===!0){var ne=B<0?-Y+J:-Y;se=ne}else if(ee==="tangential"&&F!=="outside"&&F!=="outer"){var oe=Math.atan2(B,Q);oe<0&&(oe=J*2+oe);var he=Q>0;he&&(oe=J+oe),se=oe-J}if(o=!!se,w.x=K,w.y=q,w.rotation=se,w.setStyle({verticalAlign:"middle"}),G){w.setStyle({align:de});var Re=w.states.select;Re&&(Re.x+=w.x,Re.y+=w.y)}else{var ue=w.getBoundingRect().clone();ue.applyTransform(w.getComputedTransform());var ge=(w.style.margin||0)+2.1;ue.y-=ge/2,ue.height+=ge,n.push({label:w,labelLine:L,position:F,len:Z,len2:re,minTurnAngle:W.get("minTurnAngle"),maxSurfaceAngle:W.get("maxSurfaceAngle"),surfaceNormal:new cn(B,Q),linePoints:j,textAlign:de,labelDistance:C,labelAlignTo:N,edgeDistance:I,bleedMargin:V,rect:ue,unconstrainedWidth:ue.width,labelStyleWidth:w.style.width})}_.setTextConfig({inside:G})}}),!o&&e.get("avoidLabelOverlap")&&OCe(n,r,i,l,u,d,c,f);for(var v=0;v<n.length;v++){var g=n[v],m=g.label,y=g.labelLine,R=isNaN(m.x)||isNaN(m.y);if(m){m.setStyle({align:g.textAlign}),R&&(Pe(m.states,h),m.ignore=!0);var A=m.states.select;A&&(A.x+=m.x,A.y+=m.y)}if(y){var x=g.linePoints;R||!x?(Pe(y.states,h),y.ignore=!0):(FPe(x,g.minTurnAngle),EPe(x,g.surfaceNormal,g.maxSurfaceAngle),y.setShape({points:x}),m.__hostTarget.textGuideLineConfig={anchor:new cn(x[0][0],x[0][1])})}}}var PCe=function(e){St(t,e);function t(n,r,i){var o=e.call(this)||this;o.z2=2;var a=new Qa;return o.setTextContent(a),o.updateData(n,r,i,!0),o}return t.prototype.updateData=function(n,r,i,o){var a=this,s=n.hostModel,l=n.getItemModel(r),u=l.getModel("emphasis"),c=n.getItemLayout(r),f=gt(Cg(l.getModel("itemStyle"),c,!0),c);if(isNaN(f.startAngle)){a.setShape(f);return}if(o){a.setShape(f);var d=s.getShallow("animationType");s.ecModel.ssr?(sa(a,{scaleX:0,scaleY:0},s,{dataIndex:r,isFrom:!0}),a.originX=f.cx,a.originY=f.cy):d==="scale"?(a.shape.r=c.r0,sa(a,{shape:{r:c.r}},s,r)):i!=null?(a.setShape({startAngle:i,endAngle:i}),sa(a,{shape:{startAngle:c.startAngle,endAngle:c.endAngle}},s,r)):(a.shape.endAngle=c.startAngle,go(a,{shape:{endAngle:c.endAngle}},s,r))}else p2(a),go(a,{shape:f},s,r);a.useStyle(n.getItemVisual(r,"style")),Ov(a,l);var h=(c.startAngle+c.endAngle)/2,p=s.get("selectedOffset"),v=Math.cos(h)*p,g=Math.sin(h)*p,m=l.getShallow("cursor");m&&a.attr("cursor",m),this._updateLabel(s,n,r),a.ensureState("emphasis").shape=gt({r:c.r+(u.get("scale")&&u.get("scaleSize")||0)},Cg(u.getModel("itemStyle"),c)),gt(a.ensureState("select"),{x:v,y:g,shape:Cg(l.getModel(["select","itemStyle"]),c)}),gt(a.ensureState("blur"),{shape:Cg(l.getModel(["blur","itemStyle"]),c)});var y=a.getTextGuideLine(),R=a.getTextContent();y&>(y.ensureState("select"),{x:v,y:g}),gt(R.ensureState("select"),{x:v,y:g}),_v(this,u.get("focus"),u.get("blurScope"),u.get("disabled"))},t.prototype._updateLabel=function(n,r,i){var o=this,a=r.getItemModel(i),s=a.getModel("labelLine"),l=r.getItemVisual(i,"style"),u=l&&l.fill,c=l&&l.opacity;qv(o,e1(a),{labelFetcher:r.hostModel,labelDataIndex:i,inheritColor:u,defaultOpacity:c,defaultText:n.getFormattedLabel(i,"normal")||r.getName(i)});var f=o.getTextContent();o.setTextConfig({position:null,rotation:null}),f.attr({z2:10});var d=n.get(["label","position"]);if(d!=="outside"&&d!=="outer")o.removeTextGuideLine();else{var h=this.getTextGuideLine();h||(h=new p0,this.setTextGuideLine(h)),WPe(this,VPe(a),{stroke:u,opacity:dm(s.get(["lineStyle","opacity"]),c,1)})}},t}(hd),CCe=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.ignoreLabelLineUpdate=!0,n}return t.prototype.render=function(n,r,i,o){var a=n.getData(),s=this._data,l=this.group,u;if(!s&&a.count()>0){for(var c=a.getItemLayout(0),f=1;isNaN(c&&c.startAngle)&&f<a.count();++f)c=a.getItemLayout(f);c&&(u=c.startAngle)}if(this._emptyCircleSector&&l.remove(this._emptyCircleSector),a.count()===0&&n.get("showEmptyCircle")){var d=Fq(n),h=new hd({shape:gt(Nq(n,i),d)});h.useStyle(n.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=h,l.add(h)}a.diff(s).add(function(p){var v=new PCe(a,p,u);a.setItemGraphicEl(p,v),l.add(v)}).update(function(p,v){var g=s.getItemGraphicEl(v);g.updateData(a,p,u),g.off("click"),l.add(g),a.setItemGraphicEl(p,g)}).remove(function(p){var v=s.getItemGraphicEl(p);aS(v,n,p)}).execute(),kCe(n),n.get("animationTypeUpdate")!=="expansion"&&(this._data=a)},t.prototype.dispose=function(){},t.prototype.containPoint=function(n,r){var i=r.getData(),o=i.getItemLayout(0);if(o){var a=n[0]-o.cx,s=n[1]-o.cy,l=Math.sqrt(a*a+s*s);return l<=o.r&&l>=o.r0}},t.type="pie",t}(la);function Wq(e,t,n){t=It(t)&&{coordDimensions:t}||gt({encodeDefine:e.getEncode()},t);var r=e.getSource(),i=tq(r,t).dimensions,o=new eq(i,e);return o.initData(r,n),o}var Vq=function(){function e(t,n){this._getDataWithEncodedVisual=t,this._getRawData=n}return e.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},e.prototype.containName=function(t){var n=this._getRawData();return n.indexOfName(t)>=0},e.prototype.indexOfName=function(t){var n=this._getDataWithEncodedVisual();return n.indexOfName(t)},e.prototype.getItemVisual=function(t,n){var r=this._getDataWithEncodedVisual();return r.getItemVisual(t,n)},e}(),ICe=Ii(),NCe=function(e){St(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(n){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new Vq(gi(this.getData,this),gi(this.getRawData,this)),this._defaultLabelLine(n)},t.prototype.mergeOption=function(){e.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return Wq(this,{coordDimensions:["value"],encodeDefaulter:Fa(K6e,this)})},t.prototype.getDataParams=function(n){var r=this.getData(),i=ICe(r),o=i.seats;if(!o){var a=[];r.each(r.mapDimension("value"),function(l){a.push(l)}),o=i.seats=WLe(a,r.hostModel.get("percentPrecision"))}var s=e.prototype.getDataParams.call(this,n);return s.percent=o[n]||0,s.$vars.push("percent"),s},t.prototype._defaultLabelLine=function(n){D6(n,"labelLine",["show"]);var r=n.labelLine,i=n.emphasis.labelLine;r.show=r.show&&n.label.show,i.show=i.show&&n.emphasis.label.show},t.type="series.pie",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},t}(Ha);function FCe(e){return{seriesType:e,reset:function(t,n){var r=t.getData();r.filterSelf(function(i){var o=r.mapDimension("value"),a=r.get(o,i);return!(Ar(a)&&!isNaN(a)&&a<0)})}}}function ECe(e){e.registerChartView(CCe),e.registerSeriesModel(NCe),AOe("pie",e.registerAction),e.registerLayout(Fa(TCe,"pie")),e.registerProcessor(Eq("pie")),e.registerProcessor(FCe("pie"))}var XCe=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return t.prototype.getInitialData=function(n,r){return J3(null,this,{useEncodeDefaulter:!0})},t.prototype.getProgressive=function(){var n=this.option.progressive;return n??(this.option.large?5e3:this.get("progressive"))},t.prototype.getProgressiveThreshold=function(){var n=this.option.progressiveThreshold;return n??(this.option.large?1e4:this.get("progressiveThreshold"))},t.prototype.brushSelector=function(n,r,i){return i.point(r.getItemLayout(n))},t.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},t.type="series.scatter",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},t}(Ha),Dq=4,WCe=function(){function e(){}return e}(),VCe=function(e){St(t,e);function t(n){var r=e.call(this,n)||this;return r._off=0,r.hoverDataIdx=-1,r}return t.prototype.getDefaultShape=function(){return new WCe},t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.buildPath=function(n,r){var i=r.points,o=r.size,a=this.symbolProxy,s=a.shape,l=n.getContext?n.getContext():n,u=l&&o[0]<Dq,c=this.softClipShape,f;if(u){this._ctx=l;return}for(this._ctx=null,f=this._off;f<i.length;){var d=i[f++],h=i[f++];isNaN(d)||isNaN(h)||c&&!c.contain(d,h)||(s.x=d-o[0]/2,s.y=h-o[1]/2,s.width=o[0],s.height=o[1],a.buildPath(n,s,!0))}this.incremental&&(this._off=f,this.notClear=!0)},t.prototype.afterBrush=function(){var n=this.shape,r=n.points,i=n.size,o=this._ctx,a=this.softClipShape,s;if(o){for(s=this._off;s<r.length;){var l=r[s++],u=r[s++];isNaN(l)||isNaN(u)||a&&!a.contain(l,u)||o.fillRect(l-i[0]/2,u-i[1]/2,i[0],i[1])}this.incremental&&(this._off=s,this.notClear=!0)}},t.prototype.findDataIndex=function(n,r){for(var i=this.shape,o=i.points,a=i.size,s=Math.max(a[0],4),l=Math.max(a[1],4),u=o.length/2-1;u>=0;u--){var c=u*2,f=o[c]-s/2,d=o[c+1]-l/2;if(n>=f&&r>=d&&n<=f+s&&r<=d+l)return u}return-1},t.prototype.contain=function(n,r){var i=this.transformCoordToLocal(n,r),o=this.getBoundingRect();if(n=i[0],r=i[1],o.contain(n,r)){var a=this.hoverDataIdx=this.findDataIndex(n,r);return a>=0}return this.hoverDataIdx=-1,!1},t.prototype.getBoundingRect=function(){var n=this._rect;if(!n){for(var r=this.shape,i=r.points,o=r.size,a=o[0],s=o[1],l=1/0,u=1/0,c=-1/0,f=-1/0,d=0;d<i.length;){var h=i[d++],p=i[d++];l=Math.min(h,l),c=Math.max(h,c),u=Math.min(p,u),f=Math.max(p,f)}n=this._rect=new dr(l-a/2,u-s/2,c-l+a,f-u+s)}return n},t}(Jn),DCe=function(){function e(){this.group=new Ai}return e.prototype.updateData=function(t,n){this._clear();var r=this._create();r.setShape({points:t.getLayout("points")}),this._setCommon(r,t,n)},e.prototype.updateLayout=function(t){var n=t.getLayout("points");this.group.eachChild(function(r){if(r.startIndex!=null){var i=(r.endIndex-r.startIndex)*2,o=r.startIndex*4*2;n=new Float32Array(n.buffer,o,i)}r.setShape("points",n),r.reset()})},e.prototype.incrementalPrepareUpdate=function(t){this._clear()},e.prototype.incrementalUpdate=function(t,n,r){var i=this._newAdded[0],o=n.getLayout("points"),a=i&&i.shape.points;if(a&&a.length<2e4){var s=a.length,l=new Float32Array(s+o.length);l.set(a),l.set(o,s),i.endIndex=t.end,i.setShape({points:l})}else{this._newAdded=[];var u=this._create();u.startIndex=t.start,u.endIndex=t.end,u.incremental=!0,u.setShape({points:o}),this._setCommon(u,n,r)}},e.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},e.prototype._create=function(){var t=new VCe({cursor:"default"});return t.ignoreCoarsePointer=!0,this.group.add(t),this._newAdded.push(t),t},e.prototype._setCommon=function(t,n,r){var i=n.hostModel;r=r||{};var o=n.getVisual("symbolSize");t.setShape("size",o instanceof Array?o:[o,o]),t.softClipShape=r.clipShape||null,t.symbolProxy=ed(n.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var a=t.shape.size[0]<Dq;t.useStyle(i.getModel("itemStyle").getItemStyle(a?["color","shadowBlur","shadowColor"]:["color"]));var s=n.getVisual("style"),l=s&&s.fill;l&&t.setColor(l);var u=wr(t);u.seriesIndex=i.seriesIndex,t.on("mousemove",function(c){u.dataIndex=null;var f=t.hoverDataIdx;f>=0&&(u.dataIndex=f+(t.startIndex||0))})},e.prototype.remove=function(){this._clear()},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}(),UCe=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,i){var o=n.getData(),a=this._updateSymbolDraw(o,n);a.updateData(o,{clipShape:this._getClipShape(n)}),this._finished=!0},t.prototype.incrementalPrepareRender=function(n,r,i){var o=n.getData(),a=this._updateSymbolDraw(o,n);a.incrementalPrepareUpdate(o),this._finished=!1},t.prototype.incrementalRender=function(n,r,i){this._symbolDraw.incrementalUpdate(n,r.getData(),{clipShape:this._getClipShape(r)}),this._finished=n.end===r.getData().count()},t.prototype.updateTransform=function(n,r,i){var o=n.getData();if(this.group.dirty(),!this._finished||o.count()>1e4)return{update:!0};var a=CP("").reset(n,r,i);a.progress&&a.progress({start:0,end:o.count(),count:o.count()},o),this._symbolDraw.updateLayout(o)},t.prototype.eachRendered=function(n){this._symbolDraw&&this._symbolDraw.eachRendered(n)},t.prototype._getClipShape=function(n){if(n.get("clip",!0)){var r=n.coordinateSystem;return r&&r.getArea&&r.getArea(.1)}},t.prototype._updateSymbolDraw=function(n,r){var i=this._symbolDraw,o=r.pipelineContext,a=o.large;return(!i||a!==this._isLargeDraw)&&(i&&i.remove(),i=this._symbolDraw=a?new DCe:new Sq,this._isLargeDraw=a,this.group.removeAll()),this.group.add(i.group),i},t.prototype.remove=function(n,r){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},t.prototype.dispose=function(){},t.type="scatter",t}(la),BCe=function(e){St(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.type="grid",t.dependencies=["xAxis","yAxis"],t.layoutMode="box",t.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},t}(fr),h_=function(e){St(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",ul).models[0]},t.type="cartesian2dAxis",t}(fr);yl(h_,dq);var Uq={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},YCe=sr({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},Uq),IP=sr({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},Uq),ZCe=sr({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},IP),QCe=En({logBase:10},IP);const Bq={category:YCe,value:IP,time:ZCe,log:QCe};var HCe={value:1,category:1,time:1,log:1};function hU(e,t,n,r){Pe(HCe,function(i,o){var a=sr(sr({},Bq[o],!0),r,!0),s=function(l){St(u,l);function u(){var c=l!==null&&l.apply(this,arguments)||this;return c.type=t+"Axis."+o,c}return u.prototype.mergeDefaultAndTheme=function(c,f){var d=y2(this),h=d?H3(c):{},p=f.getTheme();sr(c,p.get(o+"Axis")),sr(c,this.getDefaultOption()),c.type=pU(c),d&&kv(c,h,d)},u.prototype.optionUpdated=function(){var c=this.option;c.type==="category"&&(this.__ordinalMeta=u_.createByAxisModel(this))},u.prototype.getCategories=function(c){var f=this.option;if(f.type==="category")return c?f.data:this.__ordinalMeta.categories},u.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},u.type=t+"Axis."+o,u.defaultOption=a,u}(n);e.registerComponentModel(s)}),e.registerSubTypeDefaulter(t+"Axis",pU)}function pU(e){return e.type||(e.data?"category":"value")}var KCe=function(){function e(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return e.prototype.getAxis=function(t){return this._axes[t]},e.prototype.getAxes=function(){return Ot(this._dimList,function(t){return this._axes[t]},this)},e.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),ao(this.getAxes(),function(n){return n.scale.type===t})},e.prototype.addAxis=function(t){var n=t.dim;this._axes[n]=t,this._dimList.push(n)},e}(),p_=["x","y"];function vU(e){return e.type==="interval"||e.type==="time"}var GCe=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="cartesian2d",n.dimensions=p_,n}return t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var n=this.getAxis("x").scale,r=this.getAxis("y").scale;if(!(!vU(n)||!vU(r))){var i=n.getExtent(),o=r.getExtent(),a=this.dataToPoint([i[0],o[0]]),s=this.dataToPoint([i[1],o[1]]),l=i[1]-i[0],u=o[1]-o[0];if(!(!l||!u)){var c=(s[0]-a[0])/l,f=(s[1]-a[1])/u,d=a[0]-i[0]*c,h=a[1]-o[0]*f,p=this._transform=[c,0,0,f,d,h];this._invTransform=Dk([],p)}}},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},t.prototype.containPoint=function(n){var r=this.getAxis("x"),i=this.getAxis("y");return r.contain(r.toLocalCoord(n[0]))&&i.contain(i.toLocalCoord(n[1]))},t.prototype.containData=function(n){return this.getAxis("x").containData(n[0])&&this.getAxis("y").containData(n[1])},t.prototype.containZone=function(n,r){var i=this.dataToPoint(n),o=this.dataToPoint(r),a=this.getArea(),s=new dr(i[0],i[1],o[0]-i[0],o[1]-i[1]);return a.intersect(s)},t.prototype.dataToPoint=function(n,r,i){i=i||[];var o=n[0],a=n[1];if(this._transform&&o!=null&&isFinite(o)&&a!=null&&isFinite(a))return Ms(i,n,this._transform);var s=this.getAxis("x"),l=this.getAxis("y");return i[0]=s.toGlobalCoord(s.dataToCoord(o,r)),i[1]=l.toGlobalCoord(l.dataToCoord(a,r)),i},t.prototype.clampData=function(n,r){var i=this.getAxis("x").scale,o=this.getAxis("y").scale,a=i.getExtent(),s=o.getExtent(),l=i.parse(n[0]),u=o.parse(n[1]);return r=r||[],r[0]=Math.min(Math.max(Math.min(a[0],a[1]),l),Math.max(a[0],a[1])),r[1]=Math.min(Math.max(Math.min(s[0],s[1]),u),Math.max(s[0],s[1])),r},t.prototype.pointToData=function(n,r){var i=[];if(this._invTransform)return Ms(i,n,this._invTransform);var o=this.getAxis("x"),a=this.getAxis("y");return i[0]=o.coordToData(o.toLocalCoord(n[0]),r),i[1]=a.coordToData(a.toLocalCoord(n[1]),r),i},t.prototype.getOtherAxis=function(n){return this.getAxis(n.dim==="x"?"y":"x")},t.prototype.getArea=function(n){n=n||0;var r=this.getAxis("x").getGlobalExtent(),i=this.getAxis("y").getGlobalExtent(),o=Math.min(r[0],r[1])-n,a=Math.min(i[0],i[1])-n,s=Math.max(r[0],r[1])-o+n,l=Math.max(i[0],i[1])-a+n;return new dr(o,a,s,l)},t}(KCe),zCe=function(e){St(t,e);function t(n,r,i,o,a){var s=e.call(this,n,r,i)||this;return s.index=0,s.type=o||"value",s.position=a||"bottom",s}return t.prototype.isHorizontal=function(){var n=this.position;return n==="top"||n==="bottom"},t.prototype.getGlobalExtent=function(n){var r=this.getExtent();return r[0]=this.toGlobalCoord(r[0]),r[1]=this.toGlobalCoord(r[1]),n&&r[0]>r[1]&&r.reverse(),r},t.prototype.pointToData=function(n,r){return this.coordToData(this.toLocalCoord(n[this.dim==="x"?0:1]),r)},t.prototype.setCategorySortInfo=function(n){if(this.type!=="category")return!1;this.model.option.categorySortInfo=n,this.scale.setSortInfo(n)},t}(Rq);function JCe(e,t,n){n=n||{};var r=e.coordinateSystem,i=t.axis,o={},a=i.getAxesOnZeroOf()[0],s=i.position,l=a?"onZero":s,u=i.dim,c=r.getRect(),f=[c.x,c.x+c.width,c.y,c.y+c.height],d={left:0,right:1,top:0,bottom:1,onZero:2},h=t.get("offset")||0,p=u==="x"?[f[2]-h,f[3]+h]:[f[0]-h,f[1]+h];if(a){var v=a.toGlobalCoord(a.dataToCoord(0));p[d.onZero]=Math.max(Math.min(v,p[1]),p[0])}o.position=[u==="y"?p[d[l]]:f[0],u==="x"?p[d[l]]:f[3]],o.rotation=Math.PI/2*(u==="x"?0:1);var g={top:-1,bottom:1,left:-1,right:1};o.labelDirection=o.tickDirection=o.nameDirection=g[s],o.labelOffset=a?p[d[s]]-p[d.onZero]:0,t.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),s2(n.labelInside,t.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var m=t.get(["axisLabel","rotate"]);return o.labelRotate=l==="top"?-m:m,o.z2=1,o}function gU(e){return e.get("coordinateSystem")==="cartesian2d"}function mU(e){var t={xAxisModel:null,yAxisModel:null};return Pe(t,function(n,r){var i=r.replace(/Model$/,""),o=e.getReferringComponents(i,ul).models[0];t[r]=o}),t}var JL=Math.log;function Yq(e,t,n){var r=td.prototype,i=r.getTicks.call(n),o=r.getTicks.call(n,!0),a=i.length-1,s=r.getInterval.call(n),l=cq(e,t),u=l.extent,c=l.fixMin,f=l.fixMax;if(e.type==="log"){var d=JL(e.base);u=[JL(u[0])/d,JL(u[1])/d]}e.setExtent(u[0],u[1]),e.calcNiceExtent({splitNumber:a,fixMin:c,fixMax:f});var h=r.getExtent.call(e);c&&(u[0]=h[0]),f&&(u[1]=h[1]);var p=r.getInterval.call(e),v=u[0],g=u[1];if(c&&f)p=(g-v)/a;else if(c)for(g=u[0]+p*a;g<u[1]&&isFinite(g)&&isFinite(u[1]);)p=YL(p),g=u[0]+p*a;else if(f)for(v=u[1]-p*a;v>u[0]&&isFinite(v)&&isFinite(u[0]);)p=YL(p),v=u[1]-p*a;else{var m=e.getTicks().length-1;m>a&&(p=YL(p));var y=p*a;g=Math.ceil(u[1]/p)*p,v=ui(g-y),v<0&&u[0]>=0?(v=0,g=ui(y)):g>0&&u[1]<=0&&(g=0,v=-ui(y))}var R=(i[0].value-o[0].value)/s,A=(i[a].value-o[a].value)/s;r.setExtent.call(e,v+p*R,g+p*A),r.setInterval.call(e,p),(R||A)&&r.setNiceExtent.call(e,v+p,g-p)}var $Ce=function(){function e(t,n,r){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=p_,this._initCartesian(t,n,r),this.model=t}return e.prototype.getRect=function(){return this._rect},e.prototype.update=function(t,n){var r=this._axesMap;this._updateScale(t,this.model);function i(a){var s,l=Dn(a),u=l.length;if(u){for(var c=[],f=u-1;f>=0;f--){var d=+l[f],h=a[d],p=h.model,v=h.scale;c_(v)&&p.get("alignTicks")&&p.get("interval")==null?c.push(h):(ZD(v,p),c_(v)&&(s=h))}c.length&&(s||(s=c.pop(),ZD(s.scale,s.model)),Pe(c,function(g){Yq(g.scale,g.model,s.scale)}))}}i(r.x),i(r.y);var o={};Pe(r.x,function(a){yU(r,"y",a,o)}),Pe(r.y,function(a){yU(r,"x",a,o)}),this.resize(this.model,n)},e.prototype.resize=function(t,n,r){var i=t.getBoxLayoutParams(),o=!r&&t.get("containLabel"),a=cS(i,{width:n.getWidth(),height:n.getHeight()});this._rect=a;var s=this._axesList;l(),o&&(Pe(s,function(u){if(!u.model.get(["axisLabel","inside"])){var c=xPe(u);if(c){var f=u.isHorizontal()?"height":"width",d=u.model.get(["axisLabel","margin"]);a[f]-=c[f]+d,u.position==="top"?a.y+=c.height+d:u.position==="left"&&(a.x+=c.width+d)}}}),l()),Pe(this._coordsList,function(u){u.calcAffineTransform()});function l(){Pe(s,function(u){var c=u.isHorizontal(),f=c?[0,a.width]:[0,a.height],d=u.inverse?1:0;u.setExtent(f[d],f[1-d]),jCe(u,c?a.x:a.y)})}},e.prototype.getAxis=function(t,n){var r=this._axesMap[t];if(r!=null)return r[n||0]},e.prototype.getAxes=function(){return this._axesList.slice()},e.prototype.getCartesian=function(t,n){if(t!=null&&n!=null){var r="x"+t+"y"+n;return this._coordsMap[r]}rn(t)&&(n=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,o=this._coordsList;i<o.length;i++)if(o[i].getAxis("x").index===t||o[i].getAxis("y").index===n)return o[i]},e.prototype.getCartesians=function(){return this._coordsList.slice()},e.prototype.convertToPixel=function(t,n,r){var i=this._findConvertTarget(n);return i.cartesian?i.cartesian.dataToPoint(r):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(r)):null},e.prototype.convertFromPixel=function(t,n,r){var i=this._findConvertTarget(n);return i.cartesian?i.cartesian.pointToData(r):i.axis?i.axis.coordToData(i.axis.toLocalCoord(r)):null},e.prototype._findConvertTarget=function(t){var n=t.seriesModel,r=t.xAxisModel||n&&n.getReferringComponents("xAxis",ul).models[0],i=t.yAxisModel||n&&n.getReferringComponents("yAxis",ul).models[0],o=t.gridModel,a=this._coordsList,s,l;if(n)s=n.coordinateSystem,Sr(a,s)<0&&(s=null);else if(r&&i)s=this.getCartesian(r.componentIndex,i.componentIndex);else if(r)l=this.getAxis("x",r.componentIndex);else if(i)l=this.getAxis("y",i.componentIndex);else if(o){var u=o.coordinateSystem;u===this&&(s=this._coordsList[0])}return{cartesian:s,axis:l}},e.prototype.containPoint=function(t){var n=this._coordsList[0];if(n)return n.containPoint(t)},e.prototype._initCartesian=function(t,n,r){var i=this,o=this,a={left:!1,right:!1,top:!1,bottom:!1},s={x:{},y:{}},l={x:0,y:0};if(n.eachComponent("xAxis",u("x"),this),n.eachComponent("yAxis",u("y"),this),!l.x||!l.y){this._axesMap={},this._axesList=[];return}this._axesMap=s,Pe(s.x,function(c,f){Pe(s.y,function(d,h){var p="x"+f+"y"+h,v=new GCe(p);v.master=i,v.model=t,i._coordsMap[p]=v,i._coordsList.push(v),v.addAxis(c),v.addAxis(d)})});function u(c){return function(f,d){if($L(f,t)){var h=f.get("position");c==="x"?h!=="top"&&h!=="bottom"&&(h=a.bottom?"top":"bottom"):h!=="left"&&h!=="right"&&(h=a.left?"right":"left"),a[h]=!0;var p=new zCe(c,APe(f),[0,0],f.get("type"),h),v=p.type==="category";p.onBand=v&&f.get("boundaryGap"),p.inverse=f.get("inverse"),f.axis=p,p.model=f,p.grid=o,p.index=d,o._axesList.push(p),s[c][d]=p,l[c]++}}}},e.prototype._updateScale=function(t,n){Pe(this._axesList,function(i){if(i.scale.setExtent(1/0,-1/0),i.type==="category"){var o=i.model.get("categorySortInfo");i.scale.setSortInfo(o)}}),t.eachSeries(function(i){if(gU(i)){var o=mU(i),a=o.xAxisModel,s=o.yAxisModel;if(!$L(a,n)||!$L(s,n))return;var l=this.getCartesian(a.componentIndex,s.componentIndex),u=i.getData(),c=l.getAxis("x"),f=l.getAxis("y");r(u,c),r(u,f)}},this);function r(i,o){Pe(wPe(i,o.dim),function(a){o.scale.unionExtentFromData(i,a)})}},e.prototype.getTooltipAxes=function(t){var n=[],r=[];return Pe(this.getCartesians(),function(i){var o=t!=null&&t!=="auto"?i.getAxis(t):i.getBaseAxis(),a=i.getOtherAxis(o);Sr(n,o)<0&&n.push(o),Sr(r,a)<0&&r.push(a)}),{baseAxes:n,otherAxes:r}},e.create=function(t,n){var r=[];return t.eachComponent("grid",function(i,o){var a=new e(i,t,n);a.name="grid_"+o,a.resize(i,n,!0),i.coordinateSystem=a,r.push(a)}),t.eachSeries(function(i){if(gU(i)){var o=mU(i),a=o.xAxisModel,s=o.yAxisModel,l=a.getCoordSysModel(),u=l.coordinateSystem;i.coordinateSystem=u.getCartesian(a.componentIndex,s.componentIndex)}}),r},e.dimensions=p_,e}();function $L(e,t){return e.getCoordSysModel()===t}function yU(e,t,n,r){n.getAxesOnZeroOf=function(){return o?[o]:[]};var i=e[t],o,a=n.model,s=a.get(["axisLine","onZero"]),l=a.get(["axisLine","onZeroAxisIndex"]);if(!s)return;if(l!=null)AU(i[l])&&(o=i[l]);else for(var u in i)if(i.hasOwnProperty(u)&&AU(i[u])&&!r[c(i[u])]){o=i[u];break}o&&(r[c(o)]=!0);function c(f){return f.dim+"_"+f.index}}function AU(e){return e&&e.type!=="category"&&e.type!=="time"&&RPe(e)}function jCe(e,t){var n=e.getExtent(),r=n[0]+n[1];e.toGlobalCoord=e.dim==="x"?function(i){return i+t}:function(i){return r-i+t},e.toLocalCoord=e.dim==="x"?function(i){return i-t}:function(i){return r-i+t}}var Tf=Math.PI,Vf=function(){function e(t,n){this.group=new Ai,this.opt=n,this.axisModel=t,En(n,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var r=new Ai({x:n.position[0],y:n.position[1],rotation:n.rotation});r.updateTransform(),this._transformGroup=r}return e.prototype.hasBuilder=function(t){return!!RU[t]},e.prototype.add=function(t){RU[t](this.opt,this.axisModel,this.group,this._transformGroup)},e.prototype.getGroup=function(){return this.group},e.innerTextLayout=function(t,n,r){var i=KJ(n-t),o,a;return qx(i)?(a=r>0?"top":"bottom",o="center"):qx(i-Tf)?(a=r>0?"bottom":"top",o="center"):(a="middle",i>0&&i<Tf?o=r>0?"right":"left":o=r>0?"left":"right"),{rotation:i,textAlign:o,textVerticalAlign:a}},e.makeAxisEventDataBase=function(t){var n={componentType:t.mainType,componentIndex:t.componentIndex};return n[t.mainType+"Index"]=t.componentIndex,n},e.isLabelSilent=function(t){var n=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||n&&n.show)},e}(),RU={axisLine:function(e,t,n,r){var i=t.get(["axisLine","show"]);if(i==="auto"&&e.handleAutoShown&&(i=e.handleAutoShown("axisLine")),!!i){var o=t.axis.getExtent(),a=r.transform,s=[o[0],0],l=[o[1],0],u=s[0]>l[0];a&&(Ms(s,s,a),Ms(l,l,a));var c=gt({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),f=new qf({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:c,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1});v2(f.shape,f.style.lineWidth),f.anid="line",n.add(f);var d=t.get(["axisLine","symbol"]);if(d!=null){var h=t.get(["axisLine","symbolSize"]);Qt(d)&&(d=[d,d]),(Qt(h)||Ar(h))&&(h=[h,h]);var p=Tj(t.get(["axisLine","symbolOffset"])||0,h),v=h[0],g=h[1];Pe([{rotate:e.rotation+Math.PI/2,offset:p[0],r:0},{rotate:e.rotation-Math.PI/2,offset:p[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],function(m,y){if(d[y]!=="none"&&d[y]!=null){var R=ed(d[y],-v/2,-g/2,v,g,c.stroke,!0),A=m.r+m.offset,x=u?l:s;R.attr({rotation:m.rotate,x:x[0]+A*Math.cos(e.rotation),y:x[1]-A*Math.sin(e.rotation),silent:!0,z2:11}),n.add(R)}})}}},axisTickLabel:function(e,t,n,r){var i=tIe(n,r,t,e),o=rIe(n,r,t,e);if(eIe(t,o,i),nIe(n,r,t,e.tickDirection),t.get(["axisLabel","hideOverlap"])){var a=DPe(Ot(o,function(s){return{label:s,priority:s.z2,defaultAttr:{ignore:s.ignore}}}));YPe(a)}},axisName:function(e,t,n,r){var i=s2(e.axisName,t.get("name"));if(i){var o=t.get("nameLocation"),a=e.nameDirection,s=t.getModel("nameTextStyle"),l=t.get("nameGap")||0,u=t.axis.getExtent(),c=u[0]>u[1]?-1:1,f=[o==="start"?u[0]-c*l:o==="end"?u[1]+c*l:(u[0]+u[1])/2,xU(o)?e.labelOffset+a*l:0],d,h=t.get("nameRotate");h!=null&&(h=h*Tf/180);var p;xU(o)?d=Vf.innerTextLayout(e.rotation,h??e.rotation,a):(d=qCe(e.rotation,o,h||0,u),p=e.axisNameAvailableWidth,p!=null&&(p=Math.abs(p/Math.sin(d.rotation)),!isFinite(p)&&(p=null)));var v=s.getFont(),g=t.get("nameTruncate",!0)||{},m=g.ellipsis,y=s2(e.nameTruncateMaxWidth,g.maxWidth,p),R=new Qa({x:f[0],y:f[1],rotation:d.rotation,silent:Vf.isLabelSilent(t),style:g2(s,{text:i,font:v,overflow:"truncate",width:y,ellipsis:m,fill:s.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:s.get("align")||d.textAlign,verticalAlign:s.get("verticalAlign")||d.textVerticalAlign}),z2:1});if(rP({el:R,componentModel:t,itemName:i}),R.__fullText=i,R.anid="name",t.get("triggerEvent")){var A=Vf.makeAxisEventDataBase(t);A.targetType="axisName",A.name=i,wr(R).eventData=A}r.add(R),R.updateTransform(),n.add(R),R.decomposeTransform()}}};function qCe(e,t,n,r){var i=KJ(n-e),o,a,s=r[0]>r[1],l=t==="start"&&!s||t!=="start"&&s;return qx(i-Tf/2)?(a=l?"bottom":"top",o="center"):qx(i-Tf*1.5)?(a=l?"top":"bottom",o="center"):(a="middle",i<Tf*1.5&&i>Tf/2?o=l?"left":"right":o=l?"right":"left"),{rotation:i,textAlign:o,textVerticalAlign:a}}function eIe(e,t,n){if(!fq(e.axis)){var r=e.get(["axisLabel","showMinLabel"]),i=e.get(["axisLabel","showMaxLabel"]);t=t||[],n=n||[];var o=t[0],a=t[1],s=t[t.length-1],l=t[t.length-2],u=n[0],c=n[1],f=n[n.length-1],d=n[n.length-2];r===!1?(is(o),is(u)):bU(o,a)&&(r?(is(a),is(c)):(is(o),is(u))),i===!1?(is(s),is(f)):bU(l,s)&&(i?(is(l),is(d)):(is(s),is(f)))}}function is(e){e&&(e.ignore=!0)}function bU(e,t){var n=e&&e.getBoundingRect().clone(),r=t&&t.getBoundingRect().clone();if(!(!n||!r)){var i=Vk([]);return xJ(i,i,-e.rotation),n.applyTransform(ov([],i,e.getLocalTransform())),r.applyTransform(ov([],i,t.getLocalTransform())),n.intersect(r)}}function xU(e){return e==="middle"||e==="center"}function Zq(e,t,n,r,i){for(var o=[],a=[],s=[],l=0;l<e.length;l++){var u=e[l].coord;a[0]=u,a[1]=0,s[0]=u,s[1]=n,t&&(Ms(a,a,t),Ms(s,s,t));var c=new qf({shape:{x1:a[0],y1:a[1],x2:s[0],y2:s[1]},style:r,z2:2,autoBatch:!0,silent:!0});v2(c.shape,c.style.lineWidth),c.anid=i+"_"+e[l].tickValue,o.push(c)}return o}function tIe(e,t,n,r){var i=n.axis,o=n.getModel("axisTick"),a=o.get("show");if(a==="auto"&&r.handleAutoShown&&(a=r.handleAutoShown("axisTick")),!(!a||i.scale.isBlank())){for(var s=o.getModel("lineStyle"),l=r.tickDirection*o.get("length"),u=i.getTicksCoords(),c=Zq(u,t.transform,l,En(s.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),f=0;f<c.length;f++)e.add(c[f]);return c}}function nIe(e,t,n,r){var i=n.axis,o=n.getModel("minorTick");if(!(!o.get("show")||i.scale.isBlank())){var a=i.getMinorTicksCoords();if(a.length)for(var s=o.getModel("lineStyle"),l=r*o.get("length"),u=En(s.getLineStyle(),En(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),c=0;c<a.length;c++)for(var f=Zq(a[c],t.transform,l,u,"minorticks_"+c),d=0;d<f.length;d++)e.add(f[d])}}function rIe(e,t,n,r){var i=n.axis,o=s2(r.axisLabelShow,n.get(["axisLabel","show"]));if(!(!o||i.scale.isBlank())){var a=n.getModel("axisLabel"),s=a.get("margin"),l=i.getViewLabels(),u=(s2(r.labelRotate,a.get("rotate"))||0)*Tf/180,c=Vf.innerTextLayout(r.rotation,u,r.labelDirection),f=n.getCategories&&n.getCategories(!0),d=[],h=Vf.isLabelSilent(n),p=n.get("triggerEvent");return Pe(l,function(v,g){var m=i.scale.type==="ordinal"?i.scale.getRawOrdinalNumber(v.tickValue):v.tickValue,y=v.formattedLabel,R=v.rawLabel,A=a;if(f&&f[m]){var x=f[m];rn(x)&&x.textStyle&&(A=new ki(x.textStyle,a,n.ecModel))}var S=A.getTextColor()||n.get(["axisLine","lineStyle","color"]),_=i.dataToCoord(m),M=A.getShallow("align",!0)||c.textAlign,w=sn(A.getShallow("alignMinLabel",!0),M),L=sn(A.getShallow("alignMaxLabel",!0),M),k=A.getShallow("verticalAlign",!0)||A.getShallow("baseline",!0)||c.textVerticalAlign,P=sn(A.getShallow("verticalAlignMinLabel",!0),k),F=sn(A.getShallow("verticalAlignMaxLabel",!0),k),C=new Qa({x:_,y:r.labelOffset+r.labelDirection*s,rotation:c.rotation,silent:h,z2:10+(v.level||0),style:g2(A,{text:y,align:g===0?w:g===l.length-1?L:M,verticalAlign:g===0?P:g===l.length-1?F:k,fill:An(S)?S(i.type==="category"?R:i.type==="value"?m+"":m,g):S})});if(C.anid="label_"+m,p){var N=Vf.makeAxisEventDataBase(n);N.targetType="axisLabel",N.value=R,N.tickIndex=g,i.type==="category"&&(N.dataIndex=m),wr(C).eventData=N}t.add(C),C.updateTransform(),d.push(C),e.add(C),C.decomposeTransform()}),d}}function iIe(e){var t=Qq(e);if(t){var n=t.axisPointerModel,r=t.axis.scale,i=n.option,o=n.get("status"),a=n.get("value");a!=null&&(a=r.parse(a));var s=aIe(n);o==null&&(i.status=s?"show":"hide");var l=r.getExtent().slice();l[0]>l[1]&&l.reverse(),(a==null||a>l[1])&&(a=l[1]),a<l[0]&&(a=l[0]),i.value=a,s&&(i.status=t.axis.scale.isBlank()?"hide":"show")}}function Qq(e){var t=(e.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return t&&t.axesInfo[sIe(e)]}function oIe(e){var t=Qq(e);return t&&t.axisPointerModel}function aIe(e){return!!e.get(["handle","show"])}function sIe(e){return e.type+"||"+e.id}var SU={},lIe=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,i,o){this.axisPointerClass&&iIe(n),e.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(n,i,!0)},t.prototype.updateAxisPointer=function(n,r,i,o){this._doUpdateAxisPointerClass(n,i,!1)},t.prototype.remove=function(n,r){var i=this._axisPointer;i&&i.remove(r)},t.prototype.dispose=function(n,r){this._disposeAxisPointer(r),e.prototype.dispose.apply(this,arguments)},t.prototype._doUpdateAxisPointerClass=function(n,r,i){var o=t.getAxisPointerClass(this.axisPointerClass);if(o){var a=oIe(n);a?(this._axisPointer||(this._axisPointer=new o)).render(n,a,r,i):this._disposeAxisPointer(r)}},t.prototype._disposeAxisPointer=function(n){this._axisPointer&&this._axisPointer.dispose(n),this._axisPointer=null},t.registerAxisPointerClass=function(n,r){SU[n]=r},t.getAxisPointerClass=function(n){return n&&SU[n]},t.type="axis",t}(hc),v_=Ii();function uIe(e,t,n,r){var i=n.axis;if(!i.scale.isBlank()){var o=n.getModel("splitArea"),a=o.getModel("areaStyle"),s=a.get("color"),l=r.coordinateSystem.getRect(),u=i.getTicksCoords({tickModel:o,clamp:!0});if(u.length){var c=s.length,f=v_(e).splitAreaColors,d=xn(),h=0;if(f)for(var p=0;p<u.length;p++){var v=f.get(u[p].tickValue);if(v!=null){h=(v+(c-1)*p)%c;break}}var g=i.toGlobalCoord(u[0].coord),m=a.getAreaStyle();s=It(s)?s:[s];for(var p=1;p<u.length;p++){var y=i.toGlobalCoord(u[p].coord),R=void 0,A=void 0,x=void 0,S=void 0;i.isHorizontal()?(R=g,A=l.y,x=y-R,S=l.height,g=R+x):(R=l.x,A=g,x=l.width,S=y-A,g=A+S);var _=u[p-1].tickValue;_!=null&&d.set(_,h),t.add(new Oi({anid:_!=null?"area_"+_:null,shape:{x:R,y:A,width:x,height:S},style:En({fill:s[h]},m),autoBatch:!0,silent:!0})),h=(h+1)%c}v_(e).splitAreaColors=d}}}function cIe(e){v_(e).splitAreaColors=null}var fIe=["axisLine","axisTickLabel","axisName"],dIe=["splitArea","splitLine","minorSplitLine"],Hq=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="CartesianAxisPointer",n}return t.prototype.render=function(n,r,i,o){this.group.removeAll();var a=this._axisGroup;if(this._axisGroup=new Ai,this.group.add(this._axisGroup),!!n.get("show")){var s=n.getCoordSysModel(),l=JCe(s,n),u=new Vf(n,gt({handleAutoShown:function(f){for(var d=s.coordinateSystem.getCartesians(),h=0;h<d.length;h++)if(c_(d[h].getOtherAxis(n.axis).scale))return!0;return!1}},l));Pe(fIe,u.add,u),this._axisGroup.add(u.getGroup()),Pe(dIe,function(f){n.get([f,"show"])&&hIe[f](this,this._axisGroup,n,s)},this);var c=o&&o.type==="changeAxisOrder"&&o.isInitSort;c||I$(a,this._axisGroup,n),e.prototype.render.call(this,n,r,i,o)}},t.prototype.remove=function(){cIe(this)},t.type="cartesianAxis",t}(lIe),hIe={splitLine:function(e,t,n,r){var i=n.axis;if(!i.scale.isBlank()){var o=n.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=It(s)?s:[s];for(var l=r.coordinateSystem.getRect(),u=i.isHorizontal(),c=0,f=i.getTicksCoords({tickModel:o}),d=[],h=[],p=a.getLineStyle(),v=0;v<f.length;v++){var g=i.toGlobalCoord(f[v].coord);u?(d[0]=g,d[1]=l.y,h[0]=g,h[1]=l.y+l.height):(d[0]=l.x,d[1]=g,h[0]=l.x+l.width,h[1]=g);var m=c++%s.length,y=f[v].tickValue,R=new qf({anid:y!=null?"line_"+f[v].tickValue:null,autoBatch:!0,shape:{x1:d[0],y1:d[1],x2:h[0],y2:h[1]},style:En({stroke:s[m]},p),silent:!0});v2(R.shape,p.lineWidth),t.add(R)}}},minorSplitLine:function(e,t,n,r){var i=n.axis,o=n.getModel("minorSplitLine"),a=o.getModel("lineStyle"),s=r.coordinateSystem.getRect(),l=i.isHorizontal(),u=i.getMinorTicksCoords();if(u.length)for(var c=[],f=[],d=a.getLineStyle(),h=0;h<u.length;h++)for(var p=0;p<u[h].length;p++){var v=i.toGlobalCoord(u[h][p].coord);l?(c[0]=v,c[1]=s.y,f[0]=v,f[1]=s.y+s.height):(c[0]=s.x,c[1]=v,f[0]=s.x+s.width,f[1]=v);var g=new qf({anid:"minor_line_"+u[h][p].tickValue,autoBatch:!0,shape:{x1:c[0],y1:c[1],x2:f[0],y2:f[1]},style:d,silent:!0});v2(g.shape,d.lineWidth),t.add(g)}},splitArea:function(e,t,n,r){uIe(e,t,n,r)}},Kq=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="xAxis",t}(Hq),pIe=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=Kq.type,n}return t.type="yAxis",t}(Hq),vIe=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="grid",n}return t.prototype.render=function(n,r){this.group.removeAll(),n.get("show")&&this.group.add(new Oi({shape:n.coordinateSystem.getRect(),style:En({fill:n.get("backgroundColor")},n.getItemStyle()),silent:!0,z2:-1}))},t.type="grid",t}(hc),wU={offset:0};function gIe(e){e.registerComponentView(vIe),e.registerComponentModel(BCe),e.registerCoordinateSystem("cartesian2d",$Ce),hU(e,"x",h_,wU),hU(e,"y",h_,wU),e.registerComponentView(Kq),e.registerComponentView(pIe),e.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})}function mIe(e){t0(gIe),e.registerSeriesModel(XCe),e.registerChartView(UCe),e.registerLayout(CP("scatter"))}function yIe(e){e.eachSeriesByType("radar",function(t){var n=t.getData(),r=[],i=t.coordinateSystem;if(i){var o=i.getIndicatorAxes();Pe(o,function(a,s){n.each(n.mapDimension(o[s].dim),function(l,u){r[u]=r[u]||[];var c=i.dataToPoint(l,s);r[u][s]=MU(c)?c:LU(i)})}),n.each(function(a){var s=a5e(r[a],function(l){return MU(l)})||LU(i);r[a].push(s.slice()),n.setItemLayout(a,r[a])})}})}function MU(e){return!isNaN(e[0])&&!isNaN(e[1])}function LU(e){return[e.cx,e.cy]}function AIe(e){var t=e.polar;if(t){It(t)||(t=[t]);var n=[];Pe(t,function(r,i){r.indicator?(r.type&&!r.shape&&(r.shape=r.type),e.radar=e.radar||[],It(e.radar)||(e.radar=[e.radar]),e.radar.push(r)):n.push(r)}),e.polar=n}Pe(e.series,function(r){r&&r.type==="radar"&&r.polarIndex&&(r.radarIndex=r.polarIndex)})}var RIe=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,i){var o=n.coordinateSystem,a=this.group,s=n.getData(),l=this._data;function u(d,h){var p=d.getItemVisual(h,"symbol")||"circle";if(p!=="none"){var v=Lj(d.getItemVisual(h,"symbolSize")),g=ed(p,-1,-1,2,2),m=d.getItemVisual(h,"symbolRotate")||0;return g.attr({style:{strokeNoScale:!0},z2:100,scaleX:v[0]/2,scaleY:v[1]/2,rotation:m*Math.PI/180||0}),g}}function c(d,h,p,v,g,m){p.removeAll();for(var y=0;y<h.length-1;y++){var R=u(v,g);R&&(R.__dimIdx=y,d[y]?(R.setPosition(d[y]),p6e[m?"initProps":"updateProps"](R,{x:h[y][0],y:h[y][1]},n,g)):R.setPosition(h[y]),p.add(R))}}function f(d){return Ot(d,function(h){return[o.cx,o.cy]})}s.diff(l).add(function(d){var h=s.getItemLayout(d);if(h){var p=new hy,v=new p0,g={shape:{points:h}};p.shape.points=f(h),v.shape.points=f(h),sa(p,g,n,d),sa(v,g,n,d);var m=new Ai,y=new Ai;m.add(v),m.add(p),m.add(y),c(v.shape.points,h,y,s,d,!0),s.setItemGraphicEl(d,m)}}).update(function(d,h){var p=l.getItemGraphicEl(h),v=p.childAt(0),g=p.childAt(1),m=p.childAt(2),y={shape:{points:s.getItemLayout(d)}};y.shape.points&&(c(v.shape.points,y.shape.points,m,s,d,!1),p2(g),p2(v),go(v,y,n),go(g,y,n),s.setItemGraphicEl(d,p))}).remove(function(d){a.remove(l.getItemGraphicEl(d))}).execute(),s.eachItemGraphicEl(function(d,h){var p=s.getItemModel(h),v=d.childAt(0),g=d.childAt(1),m=d.childAt(2),y=s.getItemVisual(h,"style"),R=y.fill;a.add(d),v.useStyle(En(p.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:R})),Ov(v,p,"lineStyle"),Ov(g,p,"areaStyle");var A=p.getModel("areaStyle"),x=A.isEmpty()&&A.parentModel.isEmpty();g.ignore=x,Pe(["emphasis","select","blur"],function(M){var w=p.getModel([M,"areaStyle"]),L=w.isEmpty()&&w.parentModel.isEmpty();g.ensureState(M).ignore=L&&x}),g.useStyle(En(A.getAreaStyle(),{fill:R,opacity:.7,decal:y.decal}));var S=p.getModel("emphasis"),_=S.getModel("itemStyle").getItemStyle();m.eachChild(function(M){if(M instanceof Al){var w=M.style;M.useStyle(gt({image:w.image,x:w.x,y:w.y,width:w.width,height:w.height},y))}else M.useStyle(y),M.setColor(R),M.style.strokeNoScale=!0;var L=M.ensureState("emphasis");L.style=Vn(_);var k=s.getStore().get(s.getDimensionIndex(M.__dimIdx),h);(k==null||isNaN(k))&&(k=""),qv(M,e1(p),{labelFetcher:s.hostModel,labelDataIndex:h,labelDimIndex:M.__dimIdx,defaultText:k,inheritColor:R,defaultOpacity:y.opacity})}),_v(d,S.get("focus"),S.get("blurScope"),S.get("disabled"))}),this._data=s},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.type="radar",t}(la),bIe=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return t.prototype.init=function(n){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new Vq(gi(this.getData,this),gi(this.getRawData,this))},t.prototype.getInitialData=function(n,r){return Wq(this,{generateCoord:"indicator_",generateCoordCount:1/0})},t.prototype.formatTooltip=function(n,r,i){var o=this.getData(),a=this.coordinateSystem,s=a.getIndicatorAxes(),l=this.getData().getName(n),u=l===""?this.name:l,c=gj(this,n);return R2("section",{header:u,sortBlocks:!0,blocks:Ot(s,function(f){var d=o.get(o.mapDimension(f.dim),n);return R2("nameValue",{markerType:"subItem",markerColor:c,name:f.name,value:d,sortParam:d})})})},t.prototype.getTooltipPosition=function(n){if(n!=null){for(var r=this.getData(),i=this.coordinateSystem,o=r.getValues(Ot(i.dimensions,function(u){return r.mapDimension(u)}),n),a=0,s=o.length;a<s;a++)if(!isNaN(o[a])){var l=i.getIndicatorAxes();return i.coordToPoint(l[a].dataToCoord(o[a]),a)}}},t.type="series.radar",t.dependencies=["radar"],t.defaultOption={z:2,colorBy:"data",coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid",join:"round"},label:{position:"top"},symbolSize:8},t}(Ha),J1=Bq.value;function IR(e,t){return En({show:t},e)}var xIe=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.optionUpdated=function(){var n=this.get("boundaryGap"),r=this.get("splitNumber"),i=this.get("scale"),o=this.get("axisLine"),a=this.get("axisTick"),s=this.get("axisLabel"),l=this.get("axisName"),u=this.get(["axisName","show"]),c=this.get(["axisName","formatter"]),f=this.get("axisNameGap"),d=this.get("triggerEvent"),h=Ot(this.get("indicator")||[],function(p){p.max!=null&&p.max>0&&!p.min?p.min=0:p.min!=null&&p.min<0&&!p.max&&(p.max=0);var v=l;p.color!=null&&(v=En({color:p.color},l));var g=sr(Vn(p),{boundaryGap:n,splitNumber:r,scale:i,axisLine:o,axisTick:a,axisLabel:s,name:p.text,showName:u,nameLocation:"end",nameGap:f,nameTextStyle:v,triggerEvent:d},!1);if(Qt(c)){var m=g.name;g.name=c.replace("{value}",m??"")}else An(c)&&(g.name=c(g.name,g));var y=new ki(g,null,this.ecModel);return yl(y,dq.prototype),y.mainType="radar",y.componentIndex=this.componentIndex,y},this);this._indicatorModels=h},t.prototype.getIndicatorModels=function(){return this._indicatorModels},t.type="radar",t.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:sr({lineStyle:{color:"#bbb"}},J1.axisLine),axisLabel:IR(J1.axisLabel,!1),axisTick:IR(J1.axisTick,!1),splitLine:IR(J1.splitLine,!0),splitArea:IR(J1.splitArea,!0),indicator:[]},t}(fr),SIe=["axisLine","axisTickLabel","axisName"],wIe=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,i){var o=this.group;o.removeAll(),this._buildAxes(n),this._buildSplitLineAndArea(n)},t.prototype._buildAxes=function(n){var r=n.coordinateSystem,i=r.getIndicatorAxes(),o=Ot(i,function(a){var s=a.model.get("showName")?a.name:"",l=new Vf(a.model,{axisName:s,position:[r.cx,r.cy],rotation:a.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return l});Pe(o,function(a){Pe(SIe,a.add,a),this.group.add(a.getGroup())},this)},t.prototype._buildSplitLineAndArea=function(n){var r=n.coordinateSystem,i=r.getIndicatorAxes();if(!i.length)return;var o=n.get("shape"),a=n.getModel("splitLine"),s=n.getModel("splitArea"),l=a.getModel("lineStyle"),u=s.getModel("areaStyle"),c=a.get("show"),f=s.get("show"),d=l.get("color"),h=u.get("color"),p=It(d)?d:[d],v=It(h)?h:[h],g=[],m=[];function y(N,I,V){var W=V%I.length;return N[W]=N[W]||[],W}if(o==="circle")for(var R=i[0].getTicksCoords(),A=r.cx,x=r.cy,S=0;S<R.length;S++){if(c){var _=y(g,p,S);g[_].push(new dy({shape:{cx:A,cy:x,r:R[S].coord}}))}if(f&&S<R.length-1){var _=y(m,v,S);m[_].push(new E3({shape:{cx:A,cy:x,r0:R[S].coord,r:R[S+1].coord}}))}}else for(var M,w=Ot(i,function(N,I){var V=N.getTicksCoords();return M=M==null?V.length-1:Math.min(V.length-1,M),Ot(V,function(W){return r.coordToPoint(W.coord,I)})}),L=[],S=0;S<=M;S++){for(var k=[],P=0;P<i.length;P++)k.push(w[P][S]);if(k[0]&&k.push(k[0].slice()),c){var _=y(g,p,S);g[_].push(new p0({shape:{points:k}}))}if(f&&L){var _=y(m,v,S-1);m[_].push(new hy({shape:{points:k.concat(L)}}))}L=k.slice().reverse()}var F=l.getLineStyle(),C=u.getAreaStyle();Pe(m,function(N,I){this.group.add($6(N,{style:En({stroke:"none",fill:v[I%v.length]},C),silent:!0}))},this),Pe(g,function(N,I){this.group.add($6(N,{style:En({fill:"none",stroke:p[I%p.length]},F),silent:!0}))},this)},t.type="radar",t}(hc),MIe=function(e){St(t,e);function t(n,r,i){var o=e.call(this,n,r,i)||this;return o.type="value",o.angle=0,o.name="",o}return t}(Rq),LIe=function(){function e(t,n,r){this.dimensions=[],this._model=t,this._indicatorAxes=Ot(t.getIndicatorModels(),function(i,o){var a="indicator_"+o,s=new MIe(a,new td);return s.name=i.get("name"),s.model=i,i.axis=s,this.dimensions.push(a),s},this),this.resize(t,r)}return e.prototype.getIndicatorAxes=function(){return this._indicatorAxes},e.prototype.dataToPoint=function(t,n){var r=this._indicatorAxes[n];return this.coordToPoint(r.dataToCoord(t),n)},e.prototype.coordToPoint=function(t,n){var r=this._indicatorAxes[n],i=r.angle,o=this.cx+t*Math.cos(i),a=this.cy-t*Math.sin(i);return[o,a]},e.prototype.pointToData=function(t){var n=t[0]-this.cx,r=t[1]-this.cy,i=Math.sqrt(n*n+r*r);n/=i,r/=i;for(var o=Math.atan2(-r,n),a=1/0,s,l=-1,u=0;u<this._indicatorAxes.length;u++){var c=this._indicatorAxes[u],f=Math.abs(o-c.angle);f<a&&(s=c,l=u,a=f)}return[l,+(s&&s.coordToData(i))]},e.prototype.resize=function(t,n){var r=t.get("center"),i=n.getWidth(),o=n.getHeight(),a=Math.min(i,o)/2;this.cx=mr(r[0],i),this.cy=mr(r[1],o),this.startAngle=t.get("startAngle")*Math.PI/180;var s=t.get("radius");(Qt(s)||Ar(s))&&(s=[0,s]),this.r0=mr(s[0],a),this.r=mr(s[1],a),Pe(this._indicatorAxes,function(l,u){l.setExtent(this.r0,this.r);var c=this.startAngle+u*Math.PI*2/this._indicatorAxes.length;c=Math.atan2(Math.sin(c),Math.cos(c)),l.angle=c},this)},e.prototype.update=function(t,n){var r=this._indicatorAxes,i=this._model;Pe(r,function(s){s.scale.setExtent(1/0,-1/0)}),t.eachSeriesByType("radar",function(s,l){if(!(s.get("coordinateSystem")!=="radar"||t.getComponent("radar",s.get("radarIndex"))!==i)){var u=s.getData();Pe(r,function(c){c.scale.unionExtentFromData(u,u.mapDimension(c.dim))})}},this);var o=i.get("splitNumber"),a=new td;a.setExtent(0,o),a.setInterval(1),Pe(r,function(s,l){Yq(s.scale,s.model,a)})},e.prototype.convertToPixel=function(t,n,r){return console.warn("Not implemented."),null},e.prototype.convertFromPixel=function(t,n,r){return console.warn("Not implemented."),null},e.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},e.create=function(t,n){var r=[];return t.eachComponent("radar",function(i){var o=new e(i,t,n);r.push(o),i.coordinateSystem=o}),t.eachSeriesByType("radar",function(i){i.get("coordinateSystem")==="radar"&&(i.coordinateSystem=r[i.get("radarIndex")||0])}),r},e.dimensions=[],e}();function TIe(e){e.registerCoordinateSystem("radar",LIe),e.registerComponentModel(xIe),e.registerComponentView(wIe),e.registerVisual({seriesType:"radar",reset:function(t){var n=t.getData();n.each(function(r){n.setItemVisual(r,"legendIcon","roundRect")}),n.setVisual("legendIcon","roundRect")}})}function _Ie(e){t0(TIe),e.registerChartView(RIe),e.registerSeriesModel(bIe),e.registerLayout(yIe),e.registerProcessor(Eq("radar")),e.registerPreprocessor(AIe)}function OIe(e,t){var n=J$(t.get("padding")),r=t.getItemStyle(["color","opacity"]);return r.fill=t.get("backgroundColor"),e=new Oi({shape:{x:e.x-n[3],y:e.y-n[0],width:e.width+n[1]+n[3],height:e.height+n[0]+n[2],r:t.get("borderRadius")},style:r,silent:!0,z2:-1}),e}var kIe=function(e,t){if(t==="all")return{type:"all",title:e.getLocaleModel().get(["legend","selector","all"])};if(t==="inverse")return{type:"inverse",title:e.getLocaleModel().get(["legend","selector","inverse"])}},g_=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode={type:"box",ignoreSize:!0},n}return t.prototype.init=function(n,r,i){this.mergeDefaultAndTheme(n,i),n.selected=n.selected||{},this._updateSelector(n)},t.prototype.mergeOption=function(n,r){e.prototype.mergeOption.call(this,n,r),this._updateSelector(n)},t.prototype._updateSelector=function(n){var r=n.selector,i=this.ecModel;r===!0&&(r=n.selector=["all","inverse"]),It(r)&&Pe(r,function(o,a){Qt(o)&&(o={type:o}),r[a]=sr(o,kIe(i,o.type))})},t.prototype.optionUpdated=function(){this._updateData(this.ecModel);var n=this._data;if(n[0]&&this.get("selectedMode")==="single"){for(var r=!1,i=0;i<n.length;i++){var o=n[i].get("name");if(this.isSelected(o)){this.select(o),r=!0;break}}!r&&this.select(n[0].get("name"))}},t.prototype._updateData=function(n){var r=[],i=[];n.eachRawSeries(function(l){var u=l.name;i.push(u);var c;if(l.legendVisualProvider){var f=l.legendVisualProvider,d=f.getAllNames();n.isSeriesFiltered(l)||(i=i.concat(d)),d.length?r=r.concat(d):c=!0}else c=!0;c&&Hk(l)&&r.push(l.name)}),this._availableNames=i;var o=this.get("data")||r,a=xn(),s=Ot(o,function(l){return(Qt(l)||Ar(l))&&(l={name:l}),a.get(l.name)?null:(a.set(l.name,!0),new ki(l,this,this.ecModel))},this);this._data=ao(s,function(l){return!!l})},t.prototype.getData=function(){return this._data},t.prototype.select=function(n){var r=this.option.selected,i=this.get("selectedMode");if(i==="single"){var o=this._data;Pe(o,function(a){r[a.get("name")]=!1})}r[n]=!0},t.prototype.unSelect=function(n){this.get("selectedMode")!=="single"&&(this.option.selected[n]=!1)},t.prototype.toggleSelected=function(n){var r=this.option.selected;r.hasOwnProperty(n)||(r[n]=!0),this[r[n]?"unSelect":"select"](n)},t.prototype.allSelect=function(){var n=this._data,r=this.option.selected;Pe(n,function(i){r[i.get("name",!0)]=!0})},t.prototype.inverseSelect=function(){var n=this._data,r=this.option.selected;Pe(n,function(i){var o=i.get("name",!0);r.hasOwnProperty(o)||(r[o]=!0),r[o]=!r[o]})},t.prototype.isSelected=function(n){var r=this.option.selected;return!(r.hasOwnProperty(n)&&!r[n])&&Sr(this._availableNames,n)>=0},t.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},t.type="legend.plain",t.dependencies=["series"],t.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},t}(fr),np=Fa,m_=Pe,NR=Ai,Gq=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!1,n}return t.prototype.init=function(){this.group.add(this._contentGroup=new NR),this.group.add(this._selectorGroup=new NR),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(n,r,i){var o=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!n.get("show",!0)){var a=n.get("align"),s=n.get("orient");(!a||a==="auto")&&(a=n.get("left")==="right"&&s==="vertical"?"right":"left");var l=n.get("selector",!0),u=n.get("selectorPosition",!0);l&&(!u||u==="auto")&&(u=s==="horizontal"?"end":"start"),this.renderInner(a,n,r,i,l,s,u);var c=n.getBoxLayoutParams(),f={width:i.getWidth(),height:i.getHeight()},d=n.get("padding"),h=cS(c,f,d),p=this.layoutInner(n,a,h,o,l,u),v=cS(En({width:p.width,height:p.height},c),f,d);this.group.x=v.x-p.x,this.group.y=v.y-p.y,this.group.markRedraw(),this.group.add(this._backgroundEl=OIe(p,n))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(n,r,i,o,a,s,l){var u=this.getContentGroup(),c=xn(),f=r.get("selectedMode"),d=[];i.eachRawSeries(function(h){!h.get("legendHoverLink")&&d.push(h.id)}),m_(r.getData(),function(h,p){var v=h.get("name");if(!this.newlineDisabled&&(v===""||v===`
|
||
`)){var g=new NR;g.newline=!0,u.add(g);return}var m=i.getSeriesByName(v)[0];if(!c.get(v))if(m){var y=m.getData(),R=y.getVisual("legendLineStyle")||{},A=y.getVisual("legendIcon"),x=y.getVisual("style"),S=this._createItem(m,v,p,h,r,n,R,x,A,f,o);S.on("click",np(TU,v,null,o,d)).on("mouseover",np(y_,m.name,null,o,d)).on("mouseout",np(A_,m.name,null,o,d)),i.ssr&&S.eachChild(function(_){var M=wr(_);M.seriesIndex=m.seriesIndex,M.dataIndex=p,M.ssrType="legend"}),c.set(v,!0)}else i.eachRawSeries(function(_){if(!c.get(v)&&_.legendVisualProvider){var M=_.legendVisualProvider;if(!M.containName(v))return;var w=M.indexOfName(v),L=M.getItemVisual(w,"style"),k=M.getItemVisual(w,"legendIcon"),P=su(L.fill);P&&P[3]===0&&(P[3]=.2,L=gt(gt({},L),{fill:M3(P,"rgba")}));var F=this._createItem(_,v,p,h,r,n,{},L,k,f,o);F.on("click",np(TU,null,v,o,d)).on("mouseover",np(y_,null,v,o,d)).on("mouseout",np(A_,null,v,o,d)),i.ssr&&F.eachChild(function(C){var N=wr(C);N.seriesIndex=_.seriesIndex,N.dataIndex=p,N.ssrType="legend"}),c.set(v,!0)}},this)},this),a&&this._createSelector(a,r,o,s,l)},t.prototype._createSelector=function(n,r,i,o,a){var s=this.getSelectorGroup();m_(n,function(u){var c=u.type,f=new Qa({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:c==="all"?"legendAllSelect":"legendInverseSelect"})}});s.add(f);var d=r.getModel("selectorLabel"),h=r.getModel(["emphasis","selectorLabel"]);qv(f,{normal:d,emphasis:h},{defaultText:u.title}),H6(f)})},t.prototype._createItem=function(n,r,i,o,a,s,l,u,c,f,d){var h=n.visualDrawType,p=a.get("itemWidth"),v=a.get("itemHeight"),g=a.isSelected(r),m=o.get("symbolRotate"),y=o.get("symbolKeepAspect"),R=o.get("icon");c=R||c||"roundRect";var A=PIe(c,o,l,u,h,g,d),x=new NR,S=o.getModel("textStyle");if(An(n.getLegendIcon)&&(!R||R==="inherit"))x.add(n.getLegendIcon({itemWidth:p,itemHeight:v,icon:c,iconRotate:m,itemStyle:A.itemStyle,lineStyle:A.lineStyle,symbolKeepAspect:y}));else{var _=R==="inherit"&&n.getData().getVisual("symbol")?m==="inherit"?n.getData().getVisual("symbolRotate"):m:0;x.add(CIe({itemWidth:p,itemHeight:v,icon:c,iconRotate:_,itemStyle:A.itemStyle,lineStyle:A.lineStyle,symbolKeepAspect:y}))}var M=s==="left"?p+5:-5,w=s,L=a.get("formatter"),k=r;Qt(L)&&L?k=L.replace("{name}",r??""):An(L)&&(k=L(r));var P=g?S.getTextColor():o.get("inactiveColor");x.add(new Qa({style:g2(S,{text:k,x:M,y:v/2,fill:P,align:w,verticalAlign:"middle"},{inheritColor:P})}));var F=new Oi({shape:x.getBoundingRect(),style:{fill:"transparent"}}),C=o.getModel("tooltip");return C.get("show")&&rP({el:F,componentModel:a,itemName:r,itemTooltipOption:C.option}),x.add(F),x.eachChild(function(N){N.silent=!0}),F.silent=!f,this.getContentGroup().add(x),H6(x),x.__legendDataIndex=i,x},t.prototype.layoutInner=function(n,r,i,o,a,s){var l=this.getContentGroup(),u=this.getSelectorGroup();Sm(n.get("orient"),l,n.get("itemGap"),i.width,i.height);var c=l.getBoundingRect(),f=[-c.x,-c.y];if(u.markRedraw(),l.markRedraw(),a){Sm("horizontal",u,n.get("selectorItemGap",!0));var d=u.getBoundingRect(),h=[-d.x,-d.y],p=n.get("selectorButtonGap",!0),v=n.getOrient().index,g=v===0?"width":"height",m=v===0?"height":"width",y=v===0?"y":"x";s==="end"?h[v]+=c[g]+p:f[v]+=d[g]+p,h[1-v]+=c[m]/2-d[m]/2,u.x=h[0],u.y=h[1],l.x=f[0],l.y=f[1];var R={x:0,y:0};return R[g]=c[g]+p+d[g],R[m]=Math.max(c[m],d[m]),R[y]=Math.min(0,d[y]+h[1-v]),R}else return l.x=f[0],l.y=f[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(hc);function PIe(e,t,n,r,i,o,a){function s(g,m){g.lineWidth==="auto"&&(g.lineWidth=m.lineWidth>0?2:0),m_(g,function(y,R){g[R]==="inherit"&&(g[R]=m[R])})}var l=t.getModel("itemStyle"),u=l.getItemStyle(),c=e.lastIndexOf("empty",0)===0?"fill":"stroke",f=l.getShallow("decal");u.decal=!f||f==="inherit"?r.decal:o_(f,a),u.fill==="inherit"&&(u.fill=r[i]),u.stroke==="inherit"&&(u.stroke=r[c]),u.opacity==="inherit"&&(u.opacity=(i==="fill"?r:n).opacity),s(u,r);var d=t.getModel("lineStyle"),h=d.getLineStyle();if(s(h,n),u.fill==="auto"&&(u.fill=r.fill),u.stroke==="auto"&&(u.stroke=r.fill),h.stroke==="auto"&&(h.stroke=r.fill),!o){var p=t.get("inactiveBorderWidth"),v=u[c];u.lineWidth=p==="auto"?r.lineWidth>0&&v?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inactiveBorderColor"),h.stroke=d.get("inactiveColor"),h.lineWidth=d.get("inactiveWidth")}return{itemStyle:u,lineStyle:h}}function CIe(e){var t=e.icon||"roundRect",n=ed(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill,e.symbolKeepAspect);return n.setStyle(e.itemStyle),n.rotation=(e.iconRotate||0)*Math.PI/180,n.setOrigin([e.itemWidth/2,e.itemHeight/2]),t.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n}function TU(e,t,n,r){A_(e,t,n,r),n.dispatchAction({type:"legendToggleSelect",name:e??t}),y_(e,t,n,r)}function zq(e){for(var t=e.getZr().storage.getDisplayList(),n,r=0,i=t.length;r<i&&!(n=t[r].states.emphasis);)r++;return n&&n.hoverLayer}function y_(e,t,n,r){zq(n)||n.dispatchAction({type:"highlight",seriesName:e,name:t,excludeSeriesId:r})}function A_(e,t,n,r){zq(n)||n.dispatchAction({type:"downplay",seriesName:e,name:t,excludeSeriesId:r})}function IIe(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.filterSeries(function(n){for(var r=0;r<t.length;r++)if(!t[r].isSelected(n.name))return!1;return!0})}function $1(e,t,n){var r={},i=e==="toggleSelected",o;return n.eachComponent("legend",function(a){i&&o!=null?a[o?"select":"unSelect"](t.name):e==="allSelect"||e==="inverseSelect"?a[e]():(a[e](t.name),o=a.isSelected(t.name));var s=a.getData();Pe(s,function(l){var u=l.get("name");if(!(u===`
|
||
`||u==="")){var c=a.isSelected(u);r.hasOwnProperty(u)?r[u]=r[u]&&c:r[u]=c}})}),e==="allSelect"||e==="inverseSelect"?{selected:r}:{name:t.name,selected:r}}function NIe(e){e.registerAction("legendToggleSelect","legendselectchanged",Fa($1,"toggleSelected")),e.registerAction("legendAllSelect","legendselectall",Fa($1,"allSelect")),e.registerAction("legendInverseSelect","legendinverseselect",Fa($1,"inverseSelect")),e.registerAction("legendSelect","legendselected",Fa($1,"select")),e.registerAction("legendUnSelect","legendunselected",Fa($1,"unSelect"))}function Jq(e){e.registerComponentModel(g_),e.registerComponentView(Gq),e.registerProcessor(e.PRIORITY.PROCESSOR.SERIES_FILTER,IIe),e.registerSubTypeDefaulter("legend",function(){return"plain"}),NIe(e)}var FIe=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.setScrollDataIndex=function(n){this.option.scrollDataIndex=n},t.prototype.init=function(n,r,i){var o=H3(n);e.prototype.init.call(this,n,r,i),_U(this,n,o)},t.prototype.mergeOption=function(n,r){e.prototype.mergeOption.call(this,n,r),_U(this,this.option,n)},t.type="legend.scroll",t.defaultOption=W$(g_.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),t}(g_);function _U(e,t,n){var r=e.getOrient(),i=[1,1];i[r.index]=0,kv(t,n,{type:"box",ignoreSize:!!i})}var OU=Ai,jL=["width","height"],qL=["x","y"],EIe=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!0,n._currentIndex=0,n}return t.prototype.init=function(){e.prototype.init.call(this),this.group.add(this._containerGroup=new OU),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new OU)},t.prototype.resetInner=function(){e.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},t.prototype.renderInner=function(n,r,i,o,a,s,l){var u=this;e.prototype.renderInner.call(this,n,r,i,o,a,s,l);var c=this._controllerGroup,f=r.get("pageIconSize",!0),d=It(f)?f:[f,f];p("pagePrev",0);var h=r.getModel("pageTextStyle");c.add(new Qa({name:"pageText",style:{text:"xx/xx",fill:h.getTextColor(),font:h.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),p("pageNext",1);function p(v,g){var m=v+"DataIndex",y=N$(r.get("pageIcons",!0)[r.getOrient().name][g],{onclick:gi(u._pageGo,u,m,r,o)},{x:-d[0]/2,y:-d[1]/2,width:d[0],height:d[1]});y.name=v,c.add(y)}},t.prototype.layoutInner=function(n,r,i,o,a,s){var l=this.getSelectorGroup(),u=n.getOrient().index,c=jL[u],f=qL[u],d=jL[1-u],h=qL[1-u];a&&Sm("horizontal",l,n.get("selectorItemGap",!0));var p=n.get("selectorButtonGap",!0),v=l.getBoundingRect(),g=[-v.x,-v.y],m=Vn(i);a&&(m[c]=i[c]-v[c]-p);var y=this._layoutContentAndController(n,o,m,u,c,d,h,f);if(a){if(s==="end")g[u]+=y[c]+p;else{var R=v[c]+p;g[u]-=R,y[f]-=R}y[c]+=v[c]+p,g[1-u]+=y[h]+y[d]/2-v[d]/2,y[d]=Math.max(y[d],v[d]),y[h]=Math.min(y[h],v[h]+g[1-u]),l.x=g[0],l.y=g[1],l.markRedraw()}return y},t.prototype._layoutContentAndController=function(n,r,i,o,a,s,l,u){var c=this.getContentGroup(),f=this._containerGroup,d=this._controllerGroup;Sm(n.get("orient"),c,n.get("itemGap"),o?i.width:null,o?null:i.height),Sm("horizontal",d,n.get("pageButtonItemGap",!0));var h=c.getBoundingRect(),p=d.getBoundingRect(),v=this._showController=h[a]>i[a],g=[-h.x,-h.y];r||(g[o]=c[u]);var m=[0,0],y=[-p.x,-p.y],R=sn(n.get("pageButtonGap",!0),n.get("itemGap",!0));if(v){var A=n.get("pageButtonPosition",!0);A==="end"?y[o]+=i[a]-p[a]:m[o]+=p[a]+R}y[1-o]+=h[s]/2-p[s]/2,c.setPosition(g),f.setPosition(m),d.setPosition(y);var x={x:0,y:0};if(x[a]=v?i[a]:h[a],x[s]=Math.max(h[s],p[s]),x[l]=Math.min(0,p[l]+y[1-o]),f.__rectSize=i[a],v){var S={x:0,y:0};S[a]=Math.max(i[a]-p[a]-R,0),S[s]=x[s],f.setClipPath(new Oi({shape:S})),f.__rectSize=S[a]}else d.eachChild(function(M){M.attr({invisible:!0,silent:!0})});var _=this._getPageInfo(n);return _.pageIndex!=null&&go(c,{x:_.contentPosition[0],y:_.contentPosition[1]},v?n:null),this._updatePageInfoView(n,_),x},t.prototype._pageGo=function(n,r,i){var o=this._getPageInfo(r)[n];o!=null&&i.dispatchAction({type:"legendScroll",scrollDataIndex:o,legendId:r.id})},t.prototype._updatePageInfoView=function(n,r){var i=this._controllerGroup;Pe(["pagePrev","pageNext"],function(c){var f=c+"DataIndex",d=r[f]!=null,h=i.childOfName(c);h&&(h.setStyle("fill",d?n.get("pageIconColor",!0):n.get("pageIconInactiveColor",!0)),h.cursor=d?"pointer":"default")});var o=i.childOfName("pageText"),a=n.get("pageFormatter"),s=r.pageIndex,l=s!=null?s+1:0,u=r.pageCount;o&&a&&o.setStyle("text",Qt(a)?a.replace("{current}",l==null?"":l+"").replace("{total}",u==null?"":u+""):a({current:l,total:u}))},t.prototype._getPageInfo=function(n){var r=n.get("scrollDataIndex",!0),i=this.getContentGroup(),o=this._containerGroup.__rectSize,a=n.getOrient().index,s=jL[a],l=qL[a],u=this._findTargetItemIndex(r),c=i.children(),f=c[u],d=c.length,h=d?1:0,p={contentPosition:[i.x,i.y],pageCount:h,pageIndex:h-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!f)return p;var v=A(f);p.contentPosition[a]=-v.s;for(var g=u+1,m=v,y=v,R=null;g<=d;++g)R=A(c[g]),(!R&&y.e>m.s+o||R&&!x(R,m.s))&&(y.i>m.i?m=y:m=R,m&&(p.pageNextDataIndex==null&&(p.pageNextDataIndex=m.i),++p.pageCount)),y=R;for(var g=u-1,m=v,y=v,R=null;g>=-1;--g)R=A(c[g]),(!R||!x(y,R.s))&&m.i<y.i&&(y=m,p.pagePrevDataIndex==null&&(p.pagePrevDataIndex=m.i),++p.pageCount,++p.pageIndex),m=R;return p;function A(S){if(S){var _=S.getBoundingRect(),M=_[l]+S[l];return{s:M,e:M+_[s],i:S.__legendDataIndex}}}function x(S,_){return S.e>=_&&S.s<=_+o}},t.prototype._findTargetItemIndex=function(n){if(!this._showController)return 0;var r,i=this.getContentGroup(),o;return i.eachChild(function(a,s){var l=a.__legendDataIndex;o==null&&l!=null&&(o=s),l===n&&(r=s)}),r??o},t.type="legend.scroll",t}(Gq);function XIe(e){e.registerAction("legendScroll","legendscroll",function(t,n){var r=t.scrollDataIndex;r!=null&&n.eachComponent({mainType:"legend",subType:"scroll",query:t},function(i){i.setScrollDataIndex(r)})})}function WIe(e){t0(Jq),e.registerComponentModel(FIe),e.registerComponentView(EIe),XIe(e)}function VIe(e){t0(Jq),t0(WIe)}var e8=Math.sin,t8=Math.cos,$q=Math.PI,$d=Math.PI*2,DIe=180/$q,jq=function(){function e(){}return e.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},e.prototype.moveTo=function(t,n){this._add("M",t,n)},e.prototype.lineTo=function(t,n){this._add("L",t,n)},e.prototype.bezierCurveTo=function(t,n,r,i,o,a){this._add("C",t,n,r,i,o,a)},e.prototype.quadraticCurveTo=function(t,n,r,i){this._add("Q",t,n,r,i)},e.prototype.arc=function(t,n,r,i,o,a){this.ellipse(t,n,r,r,0,i,o,a)},e.prototype.ellipse=function(t,n,r,i,o,a,s,l){var u=s-a,c=!l,f=Math.abs(u),d=wf(f-$d)||(c?u>=$d:-u>=$d),h=u>0?u%$d:u%$d+$d,p=!1;d?p=!0:wf(f)?p=!1:p=h>=$q==!!c;var v=t+r*t8(a),g=n+i*e8(a);this._start&&this._add("M",v,g);var m=Math.round(o*DIe);if(d){var y=1/this._p,R=(c?1:-1)*($d-y);this._add("A",r,i,m,1,+c,t+r*t8(a+R),n+i*e8(a+R)),y>.01&&this._add("A",r,i,m,0,+c,v,g)}else{var A=t+r*t8(s),x=n+i*e8(s);this._add("A",r,i,m,+p,+c,A,x)}},e.prototype.rect=function(t,n,r,i){this._add("M",t,n),this._add("l",r,0),this._add("l",0,i),this._add("l",-r,0),this._add("Z")},e.prototype.closePath=function(){this._d.length>0&&this._add("Z")},e.prototype._add=function(t,n,r,i,o,a,s,l,u){for(var c=[],f=this._p,d=1;d<arguments.length;d++){var h=arguments[d];if(isNaN(h)){this._invalid=!0;return}c.push(Math.round(h*f)/f)}this._d.push(t+c.join(" ")),this._start=t==="Z"},e.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},e.prototype.getStr=function(){return this._str},e}(),NP="none",UIe=Math.round;function BIe(e){var t=e.fill;return t!=null&&t!==NP}function YIe(e){var t=e.stroke;return t!=null&&t!==NP}var R_=["lineCap","miterLimit","lineJoin"],ZIe=Ot(R_,function(e){return"stroke-"+e.toLowerCase()});function QIe(e,t,n,r){var i=t.opacity==null?1:t.opacity;if(n instanceof Al){e("opacity",i);return}if(BIe(t)){var o=u2(t.fill);e("fill",o.color);var a=t.fillOpacity!=null?t.fillOpacity*o.opacity*i:o.opacity*i;a<1&&e("fill-opacity",a)}else e("fill",NP);if(YIe(t)){var s=u2(t.stroke);e("stroke",s.color);var l=t.strokeNoScale?n.getLineScale():1,u=l?(t.lineWidth||0)/l:0,c=t.strokeOpacity!=null?t.strokeOpacity*s.opacity*i:s.opacity*i,f=t.strokeFirst;if(u!==1&&e("stroke-width",u),f&&e("paint-order",f?"stroke":"fill"),c<1&&e("stroke-opacity",c),t.lineDash){var d=yP(n),h=d[0],p=d[1];h&&(p=UIe(p||0),e("stroke-dasharray",h.join(",")),(p||r)&&e("stroke-dashoffset",p))}for(var v=0;v<R_.length;v++){var g=R_[v];if(t[g]!==eS[g]){var m=t[g]||eS[g];m&&e(ZIe[v],m)}}}}var qq="http://www.w3.org/2000/svg",eee="http://www.w3.org/1999/xlink",HIe="http://www.w3.org/2000/xmlns/",KIe="http://www.w3.org/XML/1998/namespace",kU="ecmeta_";function tee(e){return document.createElementNS(qq,e)}function yi(e,t,n,r,i){return{tag:e,attrs:n||{},children:r,text:i,key:t}}function GIe(e,t){var n=[];if(t)for(var r in t){var i=t[r],o=r;i!==!1&&(i!==!0&&i!=null&&(o+='="'+i+'"'),n.push(o))}return"<"+e+" "+n.join(" ")+">"}function zIe(e){return"</"+e+">"}function FP(e,t){t=t||{};var n=t.newline?`
|
||
`:"";function r(i){var o=i.children,a=i.tag,s=i.attrs,l=i.text;return GIe(a,s)+(a!=="style"?T5e(l):l||"")+(o?""+n+Ot(o,function(u){return r(u)}).join(n)+n:"")+zIe(a)}return r(e)}function JIe(e,t,n){n=n||{};var r=n.newline?`
|
||
`:"",i=" {"+r,o=r+"}",a=Ot(Dn(e),function(l){return l+i+Ot(Dn(e[l]),function(u){return u+":"+e[l][u]+";"}).join(r)+o}).join(r),s=Ot(Dn(t),function(l){return"@keyframes "+l+i+Ot(Dn(t[l]),function(u){return u+i+Ot(Dn(t[l][u]),function(c){var f=t[l][u][c];return c==="d"&&(f='path("'+f+'")'),c+":"+f+";"}).join(r)+o}).join(r)+o}).join(r);return!a&&!s?"":["<![CDATA[",a,s,"]]>"].join(r)}function b_(e){return{zrId:e,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function PU(e,t,n,r){return yi("svg","root",{width:e,height:t,xmlns:qq,"xmlns:xlink":eee,version:"1.1",baseProfile:"full",viewBox:r?"0 0 "+e+" "+t:!1},n)}var $Ie=0;function nee(){return $Ie++}var CU={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},ih="transform-origin";function jIe(e,t,n){var r=gt({},e.shape);gt(r,t),e.buildPath(n,r);var i=new jq;return i.reset(XJ(e)),n.rebuildPath(i,1),i.generateStr(),i.getStr()}function qIe(e,t){var n=t.originX,r=t.originY;(n||r)&&(e[ih]=n+"px "+r+"px")}var eNe={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function ree(e,t){var n=t.zrId+"-ani-"+t.cssAnimIdx++;return t.cssAnims[n]=e,n}function tNe(e,t,n){var r=e.shape.paths,i={},o,a;if(Pe(r,function(l){var u=b_(n.zrId);u.animation=!0,e4(l,{},u,!0);var c=u.cssAnims,f=u.cssNodes,d=Dn(c),h=d.length;if(h){a=d[h-1];var p=c[a];for(var v in p){var g=p[v];i[v]=i[v]||{d:""},i[v].d+=g.d||""}for(var m in f){var y=f[m].animation;y.indexOf(a)>=0&&(o=y)}}}),!!o){t.d=!1;var s=ree(i,n);return o.replace(a,s)}}function IU(e){return Qt(e)?CU[e]?"cubic-bezier("+CU[e]+")":Uk(e)?e:"":""}function e4(e,t,n,r){var i=e.animators,o=i.length,a=[];if(e instanceof L$){var s=tNe(e,t,n);if(s)a.push(s);else if(!o)return}else if(!o)return;for(var l={},u=0;u<o;u++){var c=i[u],f=[c.getMaxTime()/1e3+"s"],d=IU(c.getClip().easing),h=c.getDelay();d?f.push(d):f.push("linear"),h&&f.push(h/1e3+"s"),c.getLoop()&&f.push("infinite");var p=f.join(" ");l[p]=l[p]||[p,[]],l[p][1].push(c)}function v(y){var R=y[1],A=R.length,x={},S={},_={},M="animation-timing-function";function w(G,Ae,ce){for(var fe=G.getTracks(),le=G.getMaxTime(),$=0;$<fe.length;$++){var X=fe[$];if(X.needsAnimate()){var J=X.keyframes,se=X.propName;if(ce&&(se=ce(se)),se)for(var ee=0;ee<J.length;ee++){var ne=J[ee],oe=Math.round(ne.time/le*100)+"%",he=IU(ne.easing),ue=ne.rawValue;(Qt(ue)||Ar(ue))&&(Ae[oe]=Ae[oe]||{},Ae[oe][se]=ne.rawValue,he&&(Ae[oe][M]=he))}}}}for(var L=0;L<A;L++){var k=R[L],P=k.targetName;P?P==="shape"&&w(k,S):!r&&w(k,x)}for(var F in x){var C={};BJ(C,e),gt(C,x[F]);var N=WJ(C),I=x[F][M];_[F]=N?{transform:N}:{},qIe(_[F],C),I&&(_[F][M]=I)}var V,W=!0;for(var F in S){_[F]=_[F]||{};var Z=!V,I=S[F][M];Z&&(V=new jf);var re=V.len();V.reset(),_[F].d=jIe(e,S[F],V);var Y=V.len();if(!Z&&re!==Y){W=!1;break}I&&(_[F][M]=I)}if(!W)for(var F in _)delete _[F].d;if(!r)for(var L=0;L<A;L++){var k=R[L],P=k.targetName;P==="style"&&w(k,_,function(fe){return eNe[fe]})}for(var B=Dn(_),Q=!0,K,L=1;L<B.length;L++){var q=B[L-1],j=B[L];if(_[q][ih]!==_[j][ih]){Q=!1;break}K=_[q][ih]}if(Q&&K){for(var F in _)_[F][ih]&&delete _[F][ih];t[ih]=K}if(ao(B,function(G){return Dn(_[G]).length>0}).length){var de=ree(_,n);return de+" "+y[0]+" both"}}for(var g in l){var s=v(l[g]);s&&a.push(s)}if(a.length){var m=n.zrId+"-cls-"+nee();n.cssNodes["."+m]={animation:a.join(",")},t.class=m}}function nNe(e,t,n){if(!e.ignore)if(e.isSilent()){var r={"pointer-events":"none"};NU(r,t,n)}else{var i=e.states.emphasis&&e.states.emphasis.style?e.states.emphasis.style:{},o=i.fill;if(!o){var a=e.style&&e.style.fill,s=e.states.select&&e.states.select.style&&e.states.select.style.fill,l=e.currentStates.indexOf("select")>=0&&s||a;l&&(o=_6(l))}var u=i.lineWidth;if(u){var c=!i.strokeNoScale&&e.transform?e.transform[0]:1;u=u/c}var r={cursor:"pointer"};o&&(r.fill=o),i.stroke&&(r.stroke=i.stroke),u&&(r["stroke-width"]=u),NU(r,t,n)}}function NU(e,t,n,r){var i=JSON.stringify(e),o=n.cssStyleCache[i];o||(o=n.zrId+"-cls-"+nee(),n.cssStyleCache[i]=o,n.cssNodes["."+o+":hover"]=e),t.class=t.class?t.class+" "+o:o}var w2=Math.round;function iee(e){return e&&Qt(e.src)}function oee(e){return e&&An(e.toDataURL)}function EP(e,t,n,r){QIe(function(i,o){var a=i==="fill"||i==="stroke";a&&EJ(o)?see(t,e,i,r):a&&Bk(o)?lee(n,e,i,r):a&&o==="none"?e[i]="transparent":e[i]=o},t,n,!1),uNe(n,e,r)}function XP(e,t){var n=ILe(t);n&&(n.each(function(r,i){r!=null&&(e[(kU+i).toLowerCase()]=r+"")}),t.isSilent()&&(e[kU+"silent"]="true"))}function FU(e){return wf(e[0]-1)&&wf(e[1])&&wf(e[2])&&wf(e[3]-1)}function rNe(e){return wf(e[4])&&wf(e[5])}function WP(e,t,n){if(t&&!(rNe(t)&&FU(t))){var r=1e4;e.transform=FU(t)?"translate("+w2(t[4]*r)/r+" "+w2(t[5]*r)/r+")":nLe(t)}}function EU(e,t,n){for(var r=e.points,i=[],o=0;o<r.length;o++)i.push(w2(r[o][0]*n)/n),i.push(w2(r[o][1]*n)/n);t.points=i.join(" ")}function XU(e){return!e.smooth}function iNe(e){var t=Ot(e,function(n){return typeof n=="string"?[n,n]:n});return function(n,r,i){for(var o=0;o<t.length;o++){var a=t[o],s=n[a[0]];s!=null&&(r[a[1]]=w2(s*i)/i)}}}var oNe={circle:[iNe(["cx","cy","r"])],polyline:[EU,XU],polygon:[EU,XU]};function aNe(e){for(var t=e.animators,n=0;n<t.length;n++)if(t[n].targetName==="shape")return!0;return!1}function aee(e,t){var n=e.style,r=e.shape,i=oNe[e.type],o={},a=t.animation,s="path",l=e.style.strokePercent,u=t.compress&&XJ(e)||4;if(i&&!t.willUpdate&&!(i[1]&&!i[1](r))&&!(a&&aNe(e))&&!(l<1)){s=e.type;var c=Math.pow(10,u);i[0](r,o,c)}else{var f=!e.path||e.shapeChanged();e.path||e.createPathProxy();var d=e.path;f&&(d.beginPath(),e.buildPath(d,e.shape),e.pathUpdated());var h=d.getVersion(),p=e,v=p.__svgPathBuilder;(p.__svgPathVersion!==h||!v||l!==p.__svgPathStrokePercent)&&(v||(v=p.__svgPathBuilder=new jq),v.reset(u),d.rebuildPath(v,l),v.generateStr(),p.__svgPathVersion=h,p.__svgPathStrokePercent=l),o.d=v.getStr()}return WP(o,e.transform),EP(o,n,e,t),XP(o,e),t.animation&&e4(e,o,t),t.emphasis&&nNe(e,o,t),yi(s,e.id+"",o)}function sNe(e,t){var n=e.style,r=n.image;if(r&&!Qt(r)&&(iee(r)?r=r.src:oee(r)&&(r=r.toDataURL())),!!r){var i=n.x||0,o=n.y||0,a=n.width,s=n.height,l={href:r,width:a,height:s};return i&&(l.x=i),o&&(l.y=o),WP(l,e.transform),EP(l,n,e,t),XP(l,e),t.animation&&e4(e,l,t),yi("image",e.id+"",l)}}function lNe(e,t){var n=e.style,r=n.text;if(r!=null&&(r+=""),!(!r||isNaN(n.x)||isNaN(n.y))){var i=n.font||Gf,o=n.x||0,a=iLe(n.y||0,T3(i),n.textBaseline),s=rLe[n.textAlign]||n.textAlign,l={"dominant-baseline":"central","text-anchor":s};if(c$(n)){var u="",c=n.fontStyle,f=u$(n.fontSize);if(!parseFloat(f))return;var d=n.fontFamily||hJ,h=n.fontWeight;u+="font-size:"+f+";font-family:"+d+";",c&&c!=="normal"&&(u+="font-style:"+c+";"),h&&h!=="normal"&&(u+="font-weight:"+h+";"),l.style=u}else l.style="font: "+i;return r.match(/\s/)&&(l["xml:space"]="preserve"),o&&(l.x=o),a&&(l.y=a),WP(l,e.transform),EP(l,n,e,t),XP(l,e),t.animation&&e4(e,l,t),yi("text",e.id+"",l,void 0,r)}}function WU(e,t){if(e instanceof Jn)return aee(e,t);if(e instanceof Al)return sNe(e,t);if(e instanceof h2)return lNe(e,t)}function uNe(e,t,n){var r=e.style;if(oLe(r)){var i=aLe(e),o=n.shadowCache,a=o[i];if(!a){var s=e.getGlobalScale(),l=s[0],u=s[1];if(!l||!u)return;var c=r.shadowOffsetX||0,f=r.shadowOffsetY||0,d=r.shadowBlur,h=u2(r.shadowColor),p=h.opacity,v=h.color,g=d/2/l,m=d/2/u,y=g+" "+m;a=n.zrId+"-s"+n.shadowIdx++,n.defs[a]=yi("filter",a,{id:a,x:"-100%",y:"-100%",width:"300%",height:"300%"},[yi("feDropShadow","",{dx:c/l,dy:f/u,stdDeviation:y,"flood-color":v,"flood-opacity":p})]),o[i]=a}t.filter=L3(a)}}function see(e,t,n,r){var i=e[n],o,a={gradientUnits:i.global?"userSpaceOnUse":"objectBoundingBox"};if(NJ(i))o="linearGradient",a.x1=i.x,a.y1=i.y,a.x2=i.x2,a.y2=i.y2;else if(FJ(i))o="radialGradient",a.cx=sn(i.x,.5),a.cy=sn(i.y,.5),a.r=sn(i.r,.5);else return;for(var s=i.colorStops,l=[],u=0,c=s.length;u<c;++u){var f=O6(s[u].offset)*100+"%",d=s[u].color,h=u2(d),p=h.color,v=h.opacity,g={offset:f};g["stop-color"]=p,v<1&&(g["stop-opacity"]=v),l.push(yi("stop",u+"",g))}var m=yi(o,"",a,l),y=FP(m),R=r.gradientCache,A=R[y];A||(A=r.zrId+"-g"+r.gradientIdx++,R[y]=A,a.id=A,r.defs[A]=yi(o,A,a,l)),t[n]=L3(A)}function lee(e,t,n,r){var i=e.style[n],o=e.getBoundingRect(),a={},s=i.repeat,l=s==="no-repeat",u=s==="repeat-x",c=s==="repeat-y",f;if(IJ(i)){var d=i.imageWidth,h=i.imageHeight,p=void 0,v=i.image;if(Qt(v)?p=v:iee(v)?p=v.src:oee(v)&&(p=v.toDataURL()),typeof Image>"u"){var g="Image width/height must been given explictly in svg-ssr renderer.";gu(d,g),gu(h,g)}else if(d==null||h==null){var m=function(L,k){if(L){var P=L.elm,F=d||k.width,C=h||k.height;L.tag==="pattern"&&(u?(C=1,F/=o.width):c&&(F=1,C/=o.height)),L.attrs.width=F,L.attrs.height=C,P&&(P.setAttribute("width",F),P.setAttribute("height",C))}},y=Gk(p,null,e,function(L){l||m(S,L),m(f,L)});y&&y.width&&y.height&&(d=d||y.width,h=h||y.height)}f=yi("image","img",{href:p,width:d,height:h}),a.width=d,a.height=h}else i.svgElement&&(f=Vn(i.svgElement),a.width=i.svgWidth,a.height=i.svgHeight);if(f){var R,A;l?R=A=1:u?(A=1,R=a.width/o.width):c?(R=1,A=a.height/o.height):a.patternUnits="userSpaceOnUse",R!=null&&!isNaN(R)&&(a.width=R),A!=null&&!isNaN(A)&&(a.height=A);var x=WJ(i);x&&(a.patternTransform=x);var S=yi("pattern","",a,[f]),_=FP(S),M=r.patternCache,w=M[_];w||(w=r.zrId+"-p"+r.patternIdx++,M[_]=w,a.id=w,S=r.defs[w]=yi("pattern",w,a,[f])),t[n]=L3(w)}}function cNe(e,t,n){var r=n.clipPathCache,i=n.defs,o=r[e.id];if(!o){o=n.zrId+"-c"+n.clipPathIdx++;var a={id:o};r[e.id]=o,i[o]=yi("clipPath",o,a,[aee(e,n)])}t["clip-path"]=L3(o)}function VU(e){return document.createTextNode(e)}function ch(e,t,n){e.insertBefore(t,n)}function DU(e,t){e.removeChild(t)}function UU(e,t){e.appendChild(t)}function uee(e){return e.parentNode}function cee(e){return e.nextSibling}function n8(e,t){e.textContent=t}var BU=58,fNe=120,dNe=yi("","");function x_(e){return e===void 0}function Yl(e){return e!==void 0}function hNe(e,t,n){for(var r={},i=t;i<=n;++i){var o=e[i].key;o!==void 0&&(r[o]=i)}return r}function Ig(e,t){var n=e.key===t.key,r=e.tag===t.tag;return r&&n}function M2(e){var t,n=e.children,r=e.tag;if(Yl(r)){var i=e.elm=tee(r);if(VP(dNe,e),It(n))for(t=0;t<n.length;++t){var o=n[t];o!=null&&UU(i,M2(o))}else Yl(e.text)&&!rn(e.text)&&UU(i,VU(e.text))}else e.elm=VU(e.text);return e.elm}function fee(e,t,n,r,i){for(;r<=i;++r){var o=n[r];o!=null&&ch(e,M2(o),t)}}function mS(e,t,n,r){for(;n<=r;++n){var i=t[n];if(i!=null)if(Yl(i.tag)){var o=uee(i.elm);DU(o,i.elm)}else DU(e,i.elm)}}function VP(e,t){var n,r=t.elm,i=e&&e.attrs||{},o=t.attrs||{};if(i!==o){for(n in o){var a=o[n],s=i[n];s!==a&&(a===!0?r.setAttribute(n,""):a===!1?r.removeAttribute(n):n==="style"?r.style.cssText=a:n.charCodeAt(0)!==fNe?r.setAttribute(n,a):n==="xmlns:xlink"||n==="xmlns"?r.setAttributeNS(HIe,n,a):n.charCodeAt(3)===BU?r.setAttributeNS(KIe,n,a):n.charCodeAt(5)===BU?r.setAttributeNS(eee,n,a):r.setAttribute(n,a))}for(n in i)n in o||r.removeAttribute(n)}}function pNe(e,t,n){for(var r=0,i=0,o=t.length-1,a=t[0],s=t[o],l=n.length-1,u=n[0],c=n[l],f,d,h,p;r<=o&&i<=l;)a==null?a=t[++r]:s==null?s=t[--o]:u==null?u=n[++i]:c==null?c=n[--l]:Ig(a,u)?(Sp(a,u),a=t[++r],u=n[++i]):Ig(s,c)?(Sp(s,c),s=t[--o],c=n[--l]):Ig(a,c)?(Sp(a,c),ch(e,a.elm,cee(s.elm)),a=t[++r],c=n[--l]):Ig(s,u)?(Sp(s,u),ch(e,s.elm,a.elm),s=t[--o],u=n[++i]):(x_(f)&&(f=hNe(t,r,o)),d=f[u.key],x_(d)?ch(e,M2(u),a.elm):(h=t[d],h.tag!==u.tag?ch(e,M2(u),a.elm):(Sp(h,u),t[d]=void 0,ch(e,h.elm,a.elm))),u=n[++i]);(r<=o||i<=l)&&(r>o?(p=n[l+1]==null?null:n[l+1].elm,fee(e,p,n,i,l)):mS(e,t,r,o))}function Sp(e,t){var n=t.elm=e.elm,r=e.children,i=t.children;e!==t&&(VP(e,t),x_(t.text)?Yl(r)&&Yl(i)?r!==i&&pNe(n,r,i):Yl(i)?(Yl(e.text)&&n8(n,""),fee(n,null,i,0,i.length-1)):Yl(r)?mS(n,r,0,r.length-1):Yl(e.text)&&n8(n,""):e.text!==t.text&&(Yl(r)&&mS(n,r,0,r.length-1),n8(n,t.text)))}function vNe(e,t){if(Ig(e,t))Sp(e,t);else{var n=e.elm,r=uee(n);M2(t),r!==null&&(ch(r,t.elm,cee(n)),mS(r,[e],0,0))}return t}var gNe=0,mNe=function(){function e(t,n,r){if(this.type="svg",this.refreshHover=YU(),this.configLayer=YU(),this.storage=n,this._opts=r=gt({},r),this.root=t,this._id="zr"+gNe++,this._oldVNode=PU(r.width,r.height),t&&!r.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var o=this._svgDom=this._oldVNode.elm=tee("svg");VP(null,this._oldVNode),i.appendChild(o),t.appendChild(i)}this.resize(r.width,r.height)}return e.prototype.getType=function(){return this.type},e.prototype.getViewportRoot=function(){return this._viewport},e.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},e.prototype.getSvgDom=function(){return this._svgDom},e.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",vNe(this._oldVNode,t),this._oldVNode=t}},e.prototype.renderOneToVNode=function(t){return WU(t,b_(this._id))},e.prototype.renderToVNode=function(t){t=t||{};var n=this.storage.getDisplayList(!0),r=this._width,i=this._height,o=b_(this._id);o.animation=t.animation,o.willUpdate=t.willUpdate,o.compress=t.compress,o.emphasis=t.emphasis;var a=[],s=this._bgVNode=yNe(r,i,this._backgroundColor,o);s&&a.push(s);var l=t.compress?null:this._mainVNode=yi("g","main",{},[]);this._paintList(n,o,l?l.children:a),l&&a.push(l);var u=Ot(Dn(o.defs),function(d){return o.defs[d]});if(u.length&&a.push(yi("defs","defs",{},u)),t.animation){var c=JIe(o.cssNodes,o.cssAnims,{newline:!0});if(c){var f=yi("style","stl",{},[],c);a.push(f)}}return PU(r,i,a,t.useViewBox)},e.prototype.renderToString=function(t){return t=t||{},FP(this.renderToVNode({animation:sn(t.cssAnimation,!0),emphasis:sn(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:sn(t.useViewBox,!0)}),{newline:!0})},e.prototype.setBackgroundColor=function(t){this._backgroundColor=t},e.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},e.prototype._paintList=function(t,n,r){for(var i=t.length,o=[],a=0,s,l,u=0,c=0;c<i;c++){var f=t[c];if(!f.invisible){var d=f.__clipPaths,h=d&&d.length||0,p=l&&l.length||0,v=void 0;for(v=Math.max(h-1,p-1);v>=0&&!(d&&l&&d[v]===l[v]);v--);for(var g=p-1;g>v;g--)a--,s=o[a-1];for(var m=v+1;m<h;m++){var y={};cNe(d[m],y,n);var R=yi("g","clip-g-"+u++,y,[]);(s?s.children:r).push(R),o[a++]=R,s=R}l=d;var A=WU(f,n);A&&(s?s.children:r).push(A)}}},e.prototype.resize=function(t,n){var r=this._opts,i=this.root,o=this._viewport;if(t!=null&&(r.width=t),n!=null&&(r.height=n),i&&o&&(o.style.display="none",t=vD(i,0,r),n=vD(i,1,r),o.style.display=""),this._width!==t||this._height!==n){if(this._width=t,this._height=n,o){var a=o.style;a.width=t+"px",a.height=n+"px"}if(Bk(this._backgroundColor))this.refresh();else{var s=this._svgDom;s&&(s.setAttribute("width",t),s.setAttribute("height",n));var l=this._bgVNode&&this._bgVNode.elm;l&&(l.setAttribute("width",t),l.setAttribute("height",n))}}},e.prototype.getWidth=function(){return this._width},e.prototype.getHeight=function(){return this._height},e.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},e.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},e.prototype.toDataURL=function(t){var n=this.renderToString(),r="data:image/svg+xml;";return t?(n=lLe(n),n&&r+"base64,"+n):r+"charset=UTF-8,"+encodeURIComponent(n)},e}();function YU(e){return function(){}}function yNe(e,t,n,r){var i;if(n&&n!=="none")if(i=yi("rect","bg",{width:e,height:t,x:"0",y:"0"}),EJ(n))see({fill:n},i.attrs,"fill",r);else if(Bk(n))lee({style:{fill:n},dirty:Ba,getBoundingRect:function(){return{width:e,height:t}}},i.attrs,"fill",r);else{var o=u2(n),a=o.color,s=o.opacity;i.attrs.fill=a,s<1&&(i.attrs["fill-opacity"]=s)}return i}function ANe(e){e.registerPainter("svg",mNe)}const RNe=Xe({__name:"Chart",props:{width:{},height:{},type:{},data:{},themeColors:{},textColor:{},options:{}},setup(e){t0([LCe,fCe,ECe,mIe,_Ie,VIe,ANe]);const t=e;let n=null;const r=pe(),i=Se(()=>{let a=[];if(t.themeColors.length>=10)a=t.themeColors;else if(t.themeColors.length===1)a=at(t.themeColors[0]).analogous(10).map(s=>s.toRgbString());else{const s=t.themeColors.length,l=at(t.themeColors[s-1]).analogous(11-s).map(u=>u.toRgbString());a=[...t.themeColors.slice(0,s-1),...l]}return a}),o=()=>{var s,l;const a=HMe({type:t.type,data:t.data,themeColors:i.value,textColor:t.textColor,lineSmooth:((s=t.options)==null?void 0:s.lineSmooth)||!1,stack:((l=t.options)==null?void 0:l.stack)||!1});a&&n.setOption(a,!0)};return Ht(()=>{n=hke(r.value,null,{renderer:"svg"}),o();const a=()=>n.resize();new ResizeObserver(a).observe(r.value)}),_t(()=>t.type,o),_t(()=>t.data,o),_t(()=>t.themeColors,o),_t(()=>t.textColor,o),(a,s)=>(U(),te("div",{class:"chart",ref_key:"chartRef",ref:r},null,512))}}),dee=Be(RNe,[["__scopeId","data-v-1e5b5ad9"]]),bNe=Xe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=i=>{t.elementInfo.lock||(i.stopPropagation(),t.selectElement(i,t.elementInfo))},r=()=>{Hi.emit(Ti.OPEN_CHART_DATA_EDITOR)};return(i,o)=>{const a=Pn("contextmenu");return U(),te("div",{class:ze(["editable-element-chart",{lock:i.elementInfo.lock}]),style:Le({top:i.elementInfo.top+"px",left:i.elementInfo.left+"px",width:i.elementInfo.width+"px",height:i.elementInfo.height+"px"})},[D("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${i.elementInfo.rotate}deg)`})},[Ge((U(),te("div",{class:"element-content",style:Le({backgroundColor:i.elementInfo.fill}),onMousedown:o[0]||(o[0]=s=>n(s)),onTouchstart:o[1]||(o[1]=s=>n(s)),onDblclick:o[2]||(o[2]=s=>r())},[O(A3,{width:i.elementInfo.width,height:i.elementInfo.height,outline:i.elementInfo.outline},null,8,["width","height","outline"]),O(dee,{width:i.elementInfo.width,height:i.elementInfo.height,type:i.elementInfo.chartType,data:i.elementInfo.data,themeColors:i.elementInfo.themeColors,textColor:i.elementInfo.textColor,options:i.elementInfo.options},null,8,["width","height","type","data","themeColors","textColor","options"])],36)),[[a,i.contextmenus]])],4)],6)}}}),hee=Be(bNe,[["__scopeId","data-v-3b1105a2"]]),pee=e=>{if(!e)return{};const{bold:t,em:n,underline:r,strikethrough:i,color:o,backcolor:a,fontsize:s,fontname:l,align:u}=e;let c=`${r?"underline":""} ${i?"line-through":""}`;return c===" "&&(c="none"),{fontWeight:t?"bold":"normal",fontStyle:n?"italic":"normal",textDecoration:c,color:o||"#000",backgroundColor:a||"",fontSize:s||"14px",fontFamily:l||"",textAlign:u||"left"}},vee=e=>e.replace(/\n/g,"</br>").replace(/ /g," "),gee=e=>({hideCells:Se(()=>{const n=[];for(let r=0;r<e.value.length;r++){const i=e.value[r];for(let o=0;o<i.length;o++){const a=i[o];if(a.colspan>1||a.rowspan>1)for(let s=r;s<r+a.rowspan;s++)for(let l=s===r?o+1:o;l<o+a.colspan;l++)n.push(`${s}_${l}`)}}return n})}),mee=e=>{const t=pe(["",""]);return _t(()=>e.value,()=>{e.value&&(t.value=XH(e.value.color))},{immediate:!0}),{subThemeColor:t}},xNe=["innerHTML"],SNe=Xe({__name:"CustomTextarea",props:{value:{default:""}},emits:["updateValue","insertExcelData"],setup(e,{emit:t}){const n=e,r=t,i=pe(),o=pe(""),a=pe(!1);_t(()=>n.value,()=>{a.value||(o.value=n.value,i.value&&(i.value.innerHTML=n.value))},{immediate:!0});const s=()=>{if(!i.value)return;const c=i.value.innerHTML;r("updateValue",c)},l=()=>{a.value=!0,i.value&&(i.value.onpaste=c=>{if(c.preventDefault(),!c.clipboardData)return;const f=c.clipboardData.items[0];f&&f.kind==="string"&&f.type==="text/plain"&&f.getAsString(d=>{if(typeof ZO(d)=="object")return;const p=EH(d);if(p){r("insertExcelData",p),i.value&&(i.value.innerHTML=p[0][0]);return}document.execCommand("insertText",!1,d)})})},u=()=>{a.value=!1,i.value&&(i.value.onpaste=null)};return o0(()=>{i.value&&(i.value.onpaste=null)}),(c,f)=>(U(),te("div",{class:"custom-textarea",ref_key:"textareaRef",ref:i,contenteditable:!0,onFocus:f[0]||(f[0]=d=>l()),onBlur:f[1]||(f[1]=d=>u()),onInput:f[2]||(f[2]=d=>s()),innerHTML:o.value},null,40,xNe))}}),wNe=Be(SNe,[["__scopeId","data-v-cfadb975"]]),MNe={key:0,class:"handler"},LNe=["onMousedown"],TNe=["width"],_Ne=["rowspan","colspan","data-cell-index","onMousedown","onMouseenter"],ONe=["innerHTML"],kNe=Xe({__name:"EditableTable",props:{data:{},width:{},cellMinHeight:{},colWidths:{},outline:{},theme:{},editable:{type:Boolean,default:!0}},emits:["change","changeColWidths","changeSelectedCells"],setup(e,{emit:t}){const n=e,r=t,{canvasScale:i}=De(ht()),o=pe(!1),a=pe([]),s=pe([]),l=Se({get(){return n.data},set(ce){r("change",ce)}}),u=Se(()=>n.theme),{subThemeColor:c}=mee(u),f=pe([]),d=Se(()=>f.value.reduce((ce,fe)=>ce+fe));_t([()=>n.colWidths,()=>n.width],()=>{f.value=n.colWidths.map(ce=>ce*n.width)},{immediate:!0});const h=()=>{a.value=[],s.value=[]};_t(()=>n.editable,()=>{n.editable||h()});const p=Se(()=>{const ce=[];for(let fe=1;fe<f.value.length+1;fe++){const le=f.value.slice(0,fe).reduce(($,X)=>$+X);ce.push(le)}return ce}),v=Se(()=>n.data),{hideCells:g}=gee(v),m=Se(()=>{if(!a.value.length)return[];const[ce,fe]=a.value;if(!s.value.length)return[`${ce}_${fe}`];const[le,$]=s.value;if(ce===le&&fe===$)return[`${ce}_${fe}`];const X=[],J=Math.min(ce,le),se=Math.min(fe,$),ee=Math.max(ce,le),ne=Math.max(fe,$);for(let oe=0;oe<l.value.length;oe++){const he=l.value[oe];for(let ue=0;ue<he.length;ue++)oe>=J&&oe<=ee&&ue>=se&&ue<=ne&&X.push(`${oe}_${ue}`)}return X});_t(m,(ce,fe)=>{Yn.isEqual(ce,fe)||r("changeSelectedCells",m.value)});const y=Se(()=>m.value.length>1?null:m.value[0]),R=()=>o.value=!1,A=(ce,fe,le)=>{ce.button===0&&(s.value=[],o.value=!0,a.value=[fe,le])},x=(ce,fe)=>{o.value&&(s.value=[ce,fe])};Ht(()=>{document.addEventListener("mouseup",R)}),Fn(()=>{document.removeEventListener("mouseup",R)});const S=(ce,fe)=>g.value.includes(`${ce}_${fe}`),_=ce=>{const fe=l.value.length-1;a.value=[0,ce],s.value=[fe,ce]},M=ce=>{const fe=l.value[ce].length-1;a.value=[ce,0],s.value=[ce,fe]},w=()=>{const ce=l.value.length-1,fe=l.value[ce].length-1;a.value=[0,0],s.value=[ce,fe]},L=ce=>{const fe=JSON.parse(JSON.stringify(l.value)),le=l.value[ce],$=[];for(let X=0;X<le.length;X++)S(ce,X)&&$.push(X);for(const X of $)for(let J=ce;J>=0;J--)if(!S(J,X)){fe[J][X].rowspan=fe[J][X].rowspan-1;break}fe.splice(ce,1),l.value=fe},k=ce=>{const fe=JSON.parse(JSON.stringify(l.value)),le=[];for(let $=0;$<l.value.length;$++)S($,ce)&&le.push($);for(const $ of le)for(let X=ce;X>=0;X--)if(!S($,X)){fe[$][X].colspan=fe[$][X].colspan-1;break}l.value=fe.map($=>($.splice(ce,1),$)),f.value.splice(ce,1),r("changeColWidths",f.value)},P=ce=>{const fe=JSON.parse(JSON.stringify(l.value)),le=[];for(let $=0;$<fe[0].length;$++)le.push({colspan:1,rowspan:1,text:"",id:on(10)});fe.splice(ce,0,le),l.value=fe},F=ce=>{l.value=l.value.map(fe=>{const le={colspan:1,rowspan:1,text:"",id:on(10)};return fe.splice(ce,0,le),fe}),f.value.splice(ce,0,100),r("changeColWidths",f.value)},C=(ce,fe)=>{let le=JSON.parse(JSON.stringify(l.value));const $={colspan:1,rowspan:1,text:""};if(ce){const X=[];for(let J=0;J<ce;J++){const se=[];for(let ee=0;ee<le[0].length;ee++)se.push({...$,id:on(10)});X.push(se)}le=[...le,...X]}fe&&(le=le.map(X=>{const J=[];for(let se=0;se<fe;se++){const ee={...$,id:on(10)};J.push(ee)}return[...X,...J]}),f.value=[...f.value,...new Array(fe).fill(100)],r("changeColWidths",f.value)),l.value=le},N=()=>{const[ce,fe]=a.value,[le,$]=s.value,X=Math.min(ce,le),J=Math.min(fe,$),se=Math.max(ce,le),ee=Math.max(fe,$),ne=JSON.parse(JSON.stringify(l.value));ne[X][J].rowspan=se-X+1,ne[X][J].colspan=ee-J+1,l.value=ne,h()},I=(ce,fe)=>{const le=JSON.parse(JSON.stringify(l.value));le[ce][fe].rowspan=1,le[ce][fe].colspan=1,l.value=le,h()},V=(ce,fe)=>{h();let le=!0;const $=f.value[fe],X=ce.pageX,J=50;document.onmousemove=se=>{if(!le)return;const ee=(se.pageX-X)/i.value,ne=$+ee<J?J:Math.round($+ee);f.value[fe]=ne},document.onmouseup=()=>{le=!1,document.onmousemove=null,document.onmouseup=null,r("changeColWidths",f.value)}},W=()=>{const ce=JSON.parse(JSON.stringify(l.value));for(let fe=0;fe<ce.length;fe++)for(let le=0;le<ce[fe].length;le++)m.value.includes(`${fe}_${le}`)&&(ce[fe][le].text="");l.value=ce},Z=()=>{Ir(()=>{const ce=document.querySelector(".cell-text.active");ce&&ce.focus()})},re=()=>{const ce=(X,J)=>l.value[X]?l.value[X][J]?S(X,J)?ce(X,J+1):[X,J]:ce(X+1,0):null;s.value=[];const fe=a.value[0],le=a.value[1]+1,$=ce(fe,le);$?a.value=$:(P(fe+1),a.value=[fe+1,0]),Z()},Y=ce=>{const fe=+m.value[0].split("_")[0],le=+m.value[0].split("_")[1],$=l.value.length,X=l.value[0].length,J=se=>{if(se[0]<0||se[1]<0||se[0]>$-1||se[1]>X-1)return[0,0];const ee=`${se[0]}_${se[1]}`;return g.value.includes(ee)?ce==="UP"?J([se[0],se[1]-1]):ce==="DOWN"?J([se[0],se[1]-1]):ce==="LEFT"?J([se[0]-1,se[1]]):ce==="RIGHT"?J([se[0]-1,se[1]]):[0,0]:se};if(ce==="UP"){const se=fe-1;if(se<0)return;s.value=[],a.value=J([se,le])}else if(ce==="DOWN"){const se=fe+1;if(se>$-1)return;s.value=[],a.value=J([se,le])}else if(ce==="LEFT"){const se=le-1;if(se<0)return;s.value=[],a.value=J([fe,se])}else if(ce==="RIGHT"){const se=le+1;if(se>X-1)return;s.value=[],a.value=J([fe,se])}Z()},B=ce=>{var le;const fe=window.getSelection();if(fe&&fe.rangeCount>0){const $=fe.getRangeAt(0),X=$.cloneRange();X.selectNodeContents(ce),X.setEnd($.startContainer,$.startOffset);const J=X.toString().length;X.setEnd($.endContainer,$.endOffset);const se=X.toString().length,ee=((le=ce.textContent)==null?void 0:le.length)||0;return{start:J,end:se,len:ee}}return null},Q=ce=>{if(!n.editable||!m.value.length)return;const fe=ce.key.toUpperCase();if(m.value.length<2){if(fe===At.TAB)ce.preventDefault(),re();else if(ce.ctrlKey&&fe===At.UP){ce.preventDefault();const le=+m.value[0].split("_")[0];P(le)}else if(ce.ctrlKey&&fe===At.DOWN){ce.preventDefault();const le=+m.value[0].split("_")[0];P(le+1)}else if(ce.ctrlKey&&fe===At.LEFT){ce.preventDefault();const le=+m.value[0].split("_")[1];F(le)}else if(ce.ctrlKey&&fe===At.RIGHT){ce.preventDefault();const le=+m.value[0].split("_")[1];F(le+1)}else if(fe===At.UP){const le=B(ce.target);le&&le.start===le.end&&le.start===0&&Y("UP")}else if(fe===At.DOWN){const le=B(ce.target);le&&le.start===le.end&&le.start===le.len&&Y("DOWN")}else if(fe===At.LEFT){const le=B(ce.target);le&&le.start===le.end&&le.start===0&&Y("LEFT")}else if(fe===At.RIGHT){const le=B(ce.target);le&&le.start===le.end&&le.start===le.len&&Y("RIGHT")}}else fe===At.DELETE&&W()};Ht(()=>{document.addEventListener("keydown",Q)}),Fn(()=>{document.removeEventListener("keydown",Q)});const K=Yn.debounce(function(ce,fe,le){l.value[fe][le].text=ce,r("change",l.value)},300,{trailing:!0}),q=(ce,fe,le)=>{const $=ce.length,X=ce[0].length;let J=0,se=0;fe+$>l.value.length&&(J=fe+$-l.value.length),le+X>l.value[0].length&&(se=le+X-l.value[0].length),(J||se)&&C(J,se),Ir(()=>{for(let ee=0;ee<$;ee++)for(let ne=0;ne<X;ne++)l.value[fe+ee][le+ne]&&(l.value[fe+ee][le+ne].text=ce[ee][ne]);r("change",l.value)})},j=()=>{const ce=[];for(let fe=0;fe<l.value.length;fe++){const le=l.value[fe],$=[];for(let X=0;X<le.length;X++)S(fe,X)||$.push(le[X]);$.length&&ce.push($)}return ce},de=()=>{const ce=j(),fe=ce.length>1,le=ce[0].length>1;return{canDeleteRow:fe,canDeleteCol:le}},G=(ce,fe)=>{const le=m.value.length>1,$=l.value[ce][fe],X=le,J=!le&&($.rowspan>1||$.colspan>1);return{canMerge:X,canSplit:J}},Ae=ce=>{const fe=ce.dataset.cellIndex,le=+fe.split("_")[0],$=+fe.split("_")[1];m.value.includes(`${le}_${$}`)||(a.value=[le,$],s.value=[]);const{canMerge:X,canSplit:J}=G(le,$),{canDeleteRow:se,canDeleteCol:ee}=de();return[{text:"插入列",children:[{text:"到左侧",handler:()=>F($)},{text:"到右侧",handler:()=>F($+1)}]},{text:"插入行",children:[{text:"到上方",handler:()=>P(le)},{text:"到下方",handler:()=>P(le+1)}]},{text:"删除列",disable:!ee,handler:()=>k($)},{text:"删除行",disable:!se,handler:()=>L(le)},{divider:!0},{text:"合并单元格",disable:!X,handler:N},{text:"取消合并单元格",disable:!J,handler:()=>I(le,$)},{divider:!0},{text:"选中当前列",handler:()=>_($)},{text:"选中当前行",handler:()=>M(le)},{text:"选中全部单元格",handler:w}]};return(ce,fe)=>{var $,X,J,se,ee;const le=Pn("contextmenu");return U(),te("div",{class:"editable-table",style:Le({width:d.value+"px"})},[ce.editable?(U(),te("div",MNe,[(U(!0),te(We,null,nt(p.value,(ne,oe)=>(U(),te("div",{class:"drag-line",key:oe,style:Le({left:ne+"px"}),onMousedown:he=>V(he,oe)},null,44,LNe))),128))])):Ye("",!0),D("table",{class:ze({theme:u.value,"row-header":($=u.value)==null?void 0:$.rowHeader,"row-footer":(X=u.value)==null?void 0:X.rowFooter,"col-header":(J=u.value)==null?void 0:J.colHeader,"col-footer":(se=u.value)==null?void 0:se.colFooter}),style:Le(`--themeColor: ${(ee=u.value)==null?void 0:ee.color}; --subThemeColor1: ${z(c)[0]}; --subThemeColor2: ${z(c)[1]}`)},[D("colgroup",null,[(U(!0),te(We,null,nt(f.value,(ne,oe)=>(U(),te("col",{span:"1",key:oe,width:ne},null,8,TNe))),128))]),D("tbody",null,[(U(!0),te(We,null,nt(l.value,(ne,oe)=>(U(),te("tr",{key:oe,style:Le({height:ce.cellMinHeight+"px"})},[(U(!0),te(We,null,nt(ne,(he,ue)=>Ge((U(),te("td",{class:ze(["cell",{selected:m.value.includes(`${oe}_${ue}`)&&m.value.length>1,active:y.value===`${oe}_${ue}`}]),style:Le({borderStyle:ce.outline.style,borderColor:ce.outline.color,borderWidth:ce.outline.width+"px",...z(pee)(he.style)}),key:he.id,rowspan:he.rowspan,colspan:he.colspan,"data-cell-index":`${oe}_${ue}`,onMousedown:ge=>A(ge,oe,ue),onMouseenter:ge=>x(oe,ue)},[y.value===`${oe}_${ue}`?(U(),_e(wNe,{key:0,class:ze(["cell-text",{active:y.value===`${oe}_${ue}`}]),style:Le({minHeight:ce.cellMinHeight-4+"px"}),value:he.text,onUpdateValue:ge=>z(K)(ge,oe,ue),onInsertExcelData:ge=>q(ge,oe,ue)},null,8,["class","style","value","onUpdateValue","onInsertExcelData"])):(U(),te("div",{key:1,class:"cell-text",style:Le({minHeight:ce.cellMinHeight-4+"px"}),innerHTML:z(vee)(he.text)},null,12,ONe))],46,_Ne)),[[uc,!z(g).includes(`${oe}_${ue}`)],[le,ge=>Ae(ge)]])),128))],4))),128))])],6)],4)}}}),PNe=Be(kNe,[["__scopeId","data-v-938823e2"]]),CNe={class:"element-content"},INe=Xe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=ht(),r=lt(),{canvasScale:i,handleElementId:o,isScaling:a}=De(n),s=pe(),{addHistorySnapshot:l}=nn(),u=y=>{t.elementInfo.lock||(y.stopPropagation(),t.selectElement(y,t.elementInfo))},c=pe(!1);_t(o,()=>{o.value!==t.elementInfo.id&&(c.value=!1)}),_t(c,()=>{n.setDisableHotkeysState(c.value)});const f=()=>{t.elementInfo.lock||(c.value=!0)},d=pe(-1);_t(a,()=>{o.value===t.elementInfo.id&&(a.value&&(c.value=!1),!a.value&&d.value!==-1&&(r.updateElement({id:t.elementInfo.id,props:{height:d.value}}),d.value=-1))});const h=y=>{const R=y[0].contentRect;if(!s.value)return;const A=R.height;t.elementInfo.height!==A&&(a.value?d.value=A:r.updateElement({id:t.elementInfo.id,props:{height:A}}))},p=new ResizeObserver(h);Ht(()=>{s.value&&p.observe(s.value)}),Fn(()=>{s.value&&p.unobserve(s.value)});const v=y=>{r.updateElement({id:t.elementInfo.id,props:{data:y}}),l()},g=y=>{const R=y.reduce((x,S)=>x+S),A=y.map(x=>x/R);r.updateElement({id:t.elementInfo.id,props:{width:R,colWidths:A}}),l()},m=y=>{Ir(()=>n.setSelectedTableCells(y))};return(y,R)=>{const A=Pn("contextmenu");return U(),te("div",{class:ze(["editable-element-table",{lock:y.elementInfo.lock}]),ref_key:"elementRef",ref:s,style:Le({top:y.elementInfo.top+"px",left:y.elementInfo.left+"px",width:y.elementInfo.width+"px"})},[D("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${y.elementInfo.rotate}deg)`})},[Ge((U(),te("div",CNe,[O(PNe,{onMousedown:R[0]||(R[0]=Ft(()=>{},["stop"])),data:y.elementInfo.data,width:y.elementInfo.width,cellMinHeight:y.elementInfo.cellMinHeight,colWidths:y.elementInfo.colWidths,outline:y.elementInfo.outline,theme:y.elementInfo.theme,editable:c.value,onChange:R[1]||(R[1]=x=>v(x)),onChangeColWidths:R[2]||(R[2]=x=>g(x)),onChangeSelectedCells:R[3]||(R[3]=x=>m(x))},null,8,["data","width","cellMinHeight","colWidths","outline","theme","editable"]),!c.value||y.elementInfo.lock?(U(),te("div",{key:0,class:ze(["table-mask",{lock:y.elementInfo.lock}]),onDblclick:R[4]||(R[4]=x=>f()),onMousedown:R[5]||(R[5]=x=>u(x)),onTouchstart:R[6]||(R[6]=x=>u(x))},[z(o)===y.elementInfo.id?(U(),te("div",{key:0,class:"mask-tip",style:Le({transform:`scale(${1/z(i)})`})},"双击编辑",4)):Ye("",!0)],34)):Ye("",!0)])),[[A,y.contextmenus]])],4)],6)}}}),yee=Be(INe,[["__scopeId","data-v-7795910a"]]),NNe=["width","height","stroke","stroke-width"],FNe=["transform"],ENe=["d"],XNe=Xe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=i=>{t.elementInfo.lock||(i.stopPropagation(),t.selectElement(i,t.elementInfo))},r=()=>{Hi.emit(Ti.OPEN_LATEX_EDITOR)};return(i,o)=>{const a=Pn("contextmenu");return U(),te("div",{class:ze(["editable-element-latex",{lock:i.elementInfo.lock}]),style:Le({top:i.elementInfo.top+"px",left:i.elementInfo.left+"px",width:i.elementInfo.width+"px",height:i.elementInfo.height+"px"})},[D("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${i.elementInfo.rotate}deg)`})},[Ge((U(),te("div",{class:"element-content",onMousedown:o[0]||(o[0]=s=>n(s)),onTouchstart:o[1]||(o[1]=s=>n(s)),onDblclick:o[2]||(o[2]=s=>r())},[(U(),te("svg",{overflow:"visible",width:i.elementInfo.width,height:i.elementInfo.height,stroke:i.elementInfo.color,"stroke-width":i.elementInfo.strokeWidth,fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[D("g",{transform:`scale(${i.elementInfo.width/i.elementInfo.viewBox[0]}, ${i.elementInfo.height/i.elementInfo.viewBox[1]}) translate(0,0) matrix(1,0,0,1,0,0)`},[D("path",{d:i.elementInfo.path},null,8,ENe)],8,FNe)],8,NNe))],32)),[[a,i.contextmenus]])],4)],6)}}}),Aee=Be(XNe,[["__scopeId","data-v-b73586f6"]]),WNe=(e,t)=>{Ht(()=>{if(!t.value)return;let n="normal";if(/m3u8(#|\?|$)/i.exec(e)?n="hls":/.flv(#|\?|$)/i.exec(e)&&(n="flv"),t.value&&n==="hls"&&(t.value.canPlayType("application/x-mpegURL")||t.value.canPlayType("application/vnd.apple.mpegURL"))&&(n="normal"),n==="hls"){const r=window.Hls;if(r&&r.isSupported()){const i=new r;i.loadSource(e),i.attachMedia(t.value)}}else if(n==="flv"){const r=window.flvjs;if(r&&r.isSupported()){const i=r.createPlayer({type:"flv",url:e});i.attachMediaElement(t.value),i.load()}}})},DP=e=>(en("data-v-597c0901"),e=e(),tn(),e),VNe={key:0,class:"load-error"},DNe=["src","autoplay","poster"],UNe={class:"bezel"},BNe=DP(()=>D("div",{class:"controller-mask"},null,-1)),YNe={class:"controller"},ZNe={class:"icons icons-left"},QNe={class:"icon-content"},HNe={class:"volume"},KNe={class:"icon-content"},GNe=DP(()=>D("span",{class:"thumb"},null,-1)),zNe=[GNe],JNe={class:"time"},$Ne={class:"ptime"},jNe={class:"dtime"},qNe={class:"icons icons-right"},e7e={class:"speed"},t7e={class:"icon speed-icon"},n7e=["onClick"],r7e={class:"icon-content"},i7e={class:"bar"},o7e=DP(()=>D("span",{class:"thumb"},null,-1)),a7e=[o7e],s7e=Xe({__name:"index",props:{width:{},height:{},src:{},poster:{default:""},autoplay:{type:Boolean,default:!1},scale:{default:1}},setup(e){const t=e,n=(X=0)=>{if(X===0||isNaN(X))return"00:00";const J=oe=>oe<10?"0"+oe:""+oe,se=Math.floor(X/3600),ee=Math.floor((X-se*3600)/60),ne=Math.floor(X-se*3600-ee*60);return(se>0?[se,ee,ne]:[ee,ne]).map(J).join(":")},r=X=>X.getBoundingClientRect().left,i=pe(),o=pe(),a=pe(),s=pe(.5),l=pe(!0),u=pe(0),c=pe(0),f=pe(0),d=pe(!1),h=pe(!1),p=pe(1),v=pe(!1),g=pe("00:00"),m=pe("0"),y=Se(()=>n(u.value)),R=Se(()=>n(c.value)),A=Se(()=>u.value/c.value*100+"%"),x=Se(()=>f.value/c.value*100+"%"),S=Se(()=>s.value*100+"%"),_=pe(!1),M=[{label:"2x",value:2},{label:"1.5x",value:1.5},{label:"1.25x",value:1.25},{label:"1x",value:1},{label:"0.75x",value:.75},{label:"0.5x",value:.5}],w=X=>{i.value&&(X=Math.max(X,0),X=Math.min(X,c.value),i.value.currentTime=X,u.value=X)},L=()=>{i.value&&(l.value=!1,i.value.play(),h.value=!0)},k=()=>{i.value&&(l.value=!0,i.value.pause(),h.value=!0)},P=()=>{l.value?L():k()},F=X=>{i.value&&(X=Math.max(X,0),X=Math.min(X,1),i.value.volume=X,s.value=X,i.value.muted&&X!==0&&(i.value.muted=!1))},C=X=>{i.value&&(i.value.playbackRate=X),p.value=X},N=()=>{var X;c.value=((X=i.value)==null?void 0:X.duration)||0},I=()=>{var X;u.value=((X=i.value)==null?void 0:X.currentTime)||0},V=()=>{d.value?(w(0),L()):k()},W=()=>{var X;f.value=(X=i.value)!=null&&X.buffered.length?i.value.buffered.end(i.value.buffered.length-1):0},Z=pe(!1),re=()=>Z.value=!0,Y=X=>{if(!i.value||!o.value)return;let se=(("clientX"in X?X.clientX:X.changedTouches[0].clientX)-r(o.value))/o.value.clientWidth;se=Math.max(se,0),se=Math.min(se,1);const ee=se*c.value;i.value.currentTime=ee,u.value=ee},B=X=>{if(!i.value||!o.value)return;let se=(("clientX"in X?X.clientX:X.changedTouches[0].clientX)-r(o.value))/o.value.clientWidth;se=Math.max(se,0),se=Math.min(se,1);const ee=se*c.value;i.value.currentTime=ee,u.value=ee,document.removeEventListener("mousemove",Y),document.removeEventListener("touchmove",Y),document.removeEventListener("mouseup",B),document.removeEventListener("touchend",B)},Q=()=>{document.addEventListener("mousemove",Y),document.addEventListener("touchmove",Y),document.addEventListener("mouseup",B),document.addEventListener("touchend",B)},K=X=>{if(!a.value)return;const se=(("clientX"in X?X.clientX:X.changedTouches[0].clientX)-r(a.value))/45;F(se)},q=()=>{document.removeEventListener("mousemove",K),document.removeEventListener("touchmove",K),document.removeEventListener("mouseup",q),document.removeEventListener("touchend",q)},j=()=>{document.addEventListener("mousemove",K),document.addEventListener("touchmove",K),document.addEventListener("mouseup",q),document.addEventListener("touchend",q)},de=X=>{if(!a.value)return;const J=(X.clientX-r(a.value))/45;F(J)},G=X=>{if(c.value&&o.value){const J=o.value.getBoundingClientRect().left,se=X.clientX-J;if(se<0||se>o.value.offsetWidth)return;const ee=c.value*(se/o.value.offsetWidth);m.value=`${se-(ee>=3600?25:20)}px`,g.value=n(ee),v.value=!0}},Ae=()=>{i.value&&(i.value.muted?(i.value.muted=!1,F(.5)):(i.value.muted=!0,F(0)))},ce=()=>{d.value=!d.value},fe=pe(-1),le=pe(!1),$=()=>{le.value=!1,clearTimeout(fe.value),fe.value=setTimeout(()=>{var X;(X=i.value)!=null&&X.played.length&&(le.value=!0)},3e3)};return WNe(t.src,i),(X,J)=>{const se=xe("IconPause"),ee=xe("IconPlayOne"),ne=xe("IconVolumeMute"),oe=xe("IconVolumeNotice"),he=xe("IconVolumeSmall");return U(),te("div",{class:ze(["video-player",{"hide-controller":le.value}]),style:Le({width:X.width*X.scale+"px",height:X.height*X.scale+"px",transform:`scale(${1/X.scale})`}),onMousemove:J[22]||(J[22]=ue=>$()),onClick:J[23]||(J[23]=ue=>$())},[D("div",{class:"video-wrap",onClick:J[8]||(J[8]=ue=>P())},[Z.value?(U(),te("div",VNe,"视频加载失败")):Ye("",!0),D("video",{class:"video",ref_key:"videoRef",ref:i,src:X.src,autoplay:X.autoplay,poster:X.poster,"webkit-playsinline":"",playsinline:"",onDurationchange:J[0]||(J[0]=ue=>N()),onTimeupdate:J[1]||(J[1]=ue=>I()),onEnded:J[2]||(J[2]=ue=>V()),onProgress:J[3]||(J[3]=ue=>W()),onPlay:J[4]||(J[4]=ue=>{$(),l.value=!1}),onPause:J[5]||(J[5]=ue=>$()),onError:J[6]||(J[6]=ue=>re())},null,40,DNe),D("div",UNe,[D("span",{class:ze(["bezel-icon",{"bezel-transition":h.value}]),onAnimationend:J[7]||(J[7]=ue=>h.value=!1)},[l.value?(U(),_e(se,{key:0})):(U(),_e(ee,{key:1}))],34)])]),BNe,D("div",YNe,[D("div",ZNe,[D("div",{class:"icon play-icon",onClick:J[9]||(J[9]=ue=>P())},[D("span",QNe,[l.value?(U(),_e(ee,{key:0})):(U(),_e(se,{key:1}))])]),D("div",HNe,[D("div",{class:"icon volume-icon",onClick:J[10]||(J[10]=ue=>Ae())},[D("span",KNe,[s.value===0?(U(),_e(ne,{key:0})):s.value===1?(U(),_e(oe,{key:1})):(U(),_e(he,{key:2}))])]),D("div",{class:"volume-bar-wrap",onMousedown:J[11]||(J[11]=ue=>j()),onTouchstart:J[12]||(J[12]=ue=>j()),onClick:J[13]||(J[13]=ue=>de(ue))},[D("div",{class:"volume-bar",ref_key:"volumeBarRef",ref:a},[D("div",{class:"volume-bar-inner",style:Le({width:S.value})},zNe,4)],512)],32)]),D("span",JNe,[D("span",$Ne,pt(y.value),1),Ue(" / "),D("span",jNe,pt(R.value),1)])]),D("div",qNe,[D("div",e7e,[D("div",t7e,[D("span",{class:"icon-content",onClick:J[14]||(J[14]=ue=>_.value=!_.value)},pt(p.value===1?"倍速":p.value+"x"),1),_.value?(U(),te("div",{key:0,class:"speed-menu",onMouseleave:J[15]||(J[15]=ue=>_.value=!1)},[(U(),te(We,null,nt(M,ue=>D("div",{class:ze(["speed-menu-item",{active:ue.value===p.value}]),key:ue.label,onClick:ge=>C(ue.value)},pt(ue.label),11,n7e)),64))],32)):Ye("",!0)])]),D("div",{class:"loop",onClick:J[16]||(J[16]=ue=>ce())},[D("div",{class:ze(["icon loop-icon",{active:d.value}])},[D("span",r7e,"循环"+pt(d.value?"开":"关"),1)],2)])]),D("div",{class:"bar-wrap",ref_key:"playBarWrap",ref:o,onMousedown:J[17]||(J[17]=ue=>Q()),onTouchstart:J[18]||(J[18]=ue=>Q()),onMousemove:J[19]||(J[19]=ue=>G(ue)),onMouseenter:J[20]||(J[20]=ue=>v.value=!0),onMouseleave:J[21]||(J[21]=ue=>v.value=!1)},[D("div",{class:ze(["bar-time",{hidden:!v.value}]),style:Le({left:m.value})},pt(g.value),7),D("div",i7e,[D("div",{class:"loaded",style:Le({width:x.value})},null,4),D("div",{class:"played",style:Le({width:A.value})},a7e,4)])],544)])],38)}}}),Ree=Be(s7e,[["__scopeId","data-v-597c0901"]]),l7e=Xe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,{canvasScale:n}=De(ht()),r=(i,o=!0)=>{t.elementInfo.lock||(i.stopPropagation(),t.selectElement(i,t.elementInfo,o))};return(i,o)=>{const a=Pn("contextmenu");return U(),te("div",{class:ze(["editable-element-video",{lock:i.elementInfo.lock}]),style:Le({top:i.elementInfo.top+"px",left:i.elementInfo.left+"px",width:i.elementInfo.width+"px",height:i.elementInfo.height+"px"})},[D("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${i.elementInfo.rotate}deg)`})},[Ge((U(),te("div",{class:"element-content",onMousedown:o[2]||(o[2]=s=>r(s,!1)),onTouchstart:o[3]||(o[3]=s=>r(s,!1))},[O(Ree,{width:i.elementInfo.width,height:i.elementInfo.height,src:i.elementInfo.src,poster:i.elementInfo.poster,scale:z(n)},null,8,["width","height","src","poster","scale"]),(U(),te(We,null,nt(["t","b","l","r"],s=>D("div",{class:ze(["handler-border",s]),key:s,onMousedown:o[0]||(o[0]=l=>r(l)),onTouchstart:o[1]||(o[1]=l=>r(l))},null,34)),64))],32)),[[a,i.contextmenus]])],4)],6)}}}),bee=Be(l7e,[["__scopeId","data-v-c50d3bc7"]]),xee=e=>(en("data-v-32038f5c"),e=e(),tn(),e),u7e=["src","autoplay"],c7e={class:"controller"},f7e={class:"icons"},d7e={class:"icon-content"},h7e={class:"volume"},p7e={class:"icon-content"},v7e=xee(()=>D("span",{class:"thumb"},null,-1)),g7e=[v7e],m7e={class:"time"},y7e={class:"ptime"},A7e={class:"dtime"},R7e={class:"bar"},b7e=xee(()=>D("span",{class:"thumb"},null,-1)),x7e=[b7e],S7e=Xe({__name:"AudioPlayer",props:{src:{},loop:{type:Boolean},autoplay:{type:Boolean,default:!1},scale:{default:1}},setup(e,{expose:t}){const n=e,r=(q=0)=>{if(q===0||isNaN(q))return"00:00";const j=ce=>ce<10?"0"+ce:""+ce,de=Math.floor(q/3600),G=Math.floor((q-de*3600)/60),Ae=Math.floor(q-de*3600-G*60);return(de>0?[de,G,Ae]:[G,Ae]).map(j).join(":")},i=q=>q.getBoundingClientRect().left,o=pe(),a=pe(),s=pe(),l=pe(.5),u=pe(!0),c=pe(0),f=pe(0),d=pe(0),h=pe(!1),p=pe("00:00"),v=pe("0"),g=Se(()=>r(c.value)),m=Se(()=>r(f.value)),y=Se(()=>c.value/f.value*100+"%"),R=Se(()=>d.value/f.value*100+"%"),A=Se(()=>l.value*100+"%"),x=q=>{o.value&&(q=Math.max(q,0),q=Math.min(q,f.value),o.value.currentTime=q,c.value=q)},S=()=>{o.value&&(u.value=!1,o.value.play())},_=()=>{o.value&&(u.value=!0,o.value.pause())},M=()=>{u.value?S():_()},w=q=>{o.value&&(q=Math.max(q,0),q=Math.min(q,1),o.value.volume=q,l.value=q,o.value.muted&&q!==0&&(o.value.muted=!1))},L=()=>{var q;f.value=((q=o.value)==null?void 0:q.duration)||0},k=()=>{var q;c.value=((q=o.value)==null?void 0:q.currentTime)||0},P=()=>{u.value=!1},F=()=>{n.loop?(x(0),S()):_()},C=()=>{var q;d.value=(q=o.value)!=null&&q.buffered.length?o.value.buffered.end(o.value.buffered.length-1):0},N=()=>gn.error("视频加载失败"),I=q=>{if(!o.value||!a.value)return;let de=(("clientX"in q?q.clientX:q.changedTouches[0].clientX)-i(a.value))/a.value.clientWidth;de=Math.max(de,0),de=Math.min(de,1);const G=de*f.value;o.value.currentTime=G,c.value=G},V=q=>{if(!o.value||!a.value)return;let de=(("clientX"in q?q.clientX:q.changedTouches[0].clientX)-i(a.value))/a.value.clientWidth;de=Math.max(de,0),de=Math.min(de,1);const G=de*f.value;o.value.currentTime=G,c.value=G,document.removeEventListener("mousemove",I),document.removeEventListener("touchmove",I),document.removeEventListener("mouseup",V),document.removeEventListener("touchend",V)},W=()=>{document.addEventListener("mousemove",I),document.addEventListener("touchmove",I),document.addEventListener("mouseup",V),document.addEventListener("touchend",V)},Z=q=>{if(!s.value)return;const de=(("clientX"in q?q.clientX:q.changedTouches[0].clientX)-i(s.value))/45;w(de)},re=()=>{document.removeEventListener("mousemove",Z),document.removeEventListener("touchmove",Z),document.removeEventListener("mouseup",re),document.removeEventListener("touchend",re)},Y=()=>{document.addEventListener("mousemove",Z),document.addEventListener("touchmove",Z),document.addEventListener("mouseup",re),document.addEventListener("touchend",re)},B=q=>{if(!s.value)return;const j=(q.clientX-i(s.value))/45;w(j)},Q=q=>{if(f.value&&a.value){const j=a.value.getBoundingClientRect().left,de=q.clientX-j;if(de<0||de>a.value.offsetWidth)return;const G=f.value*(de/a.value.offsetWidth);v.value=`${de-(G>=3600?25:20)}px`,p.value=r(G),h.value=!0}},K=()=>{o.value&&(o.value.muted?(o.value.muted=!1,w(.5)):(o.value.muted=!0,w(0)))};return t({toggle:M}),(q,j)=>{const de=xe("IconPlayOne"),G=xe("IconPause"),Ae=xe("IconVolumeMute"),ce=xe("IconVolumeNotice"),fe=xe("IconVolumeSmall");return U(),te("div",{class:"audio-player",style:Le({transform:`scale(${1/q.scale})`})},[D("audio",{class:"audio",ref_key:"audioRef",ref:o,src:q.src,autoplay:q.autoplay,onDurationchange:j[0]||(j[0]=le=>L()),onTimeupdate:j[1]||(j[1]=le=>k()),onPlay:j[2]||(j[2]=le=>P()),onEnded:j[3]||(j[3]=le=>F()),onProgress:j[4]||(j[4]=le=>C()),onError:j[5]||(j[5]=le=>N())},null,40,u7e),D("div",c7e,[D("div",f7e,[D("div",{class:"icon play-icon",onClick:j[6]||(j[6]=le=>M())},[D("span",d7e,[u.value?(U(),_e(de,{key:0})):(U(),_e(G,{key:1}))])]),D("div",h7e,[D("div",{class:"icon volume-icon",onClick:j[7]||(j[7]=le=>K())},[D("span",p7e,[l.value===0?(U(),_e(Ae,{key:0})):l.value===1?(U(),_e(ce,{key:1})):(U(),_e(fe,{key:2}))])]),D("div",{class:"volume-bar-wrap",onMousedown:j[8]||(j[8]=le=>Y()),onTouchstart:j[9]||(j[9]=le=>Y()),onClick:j[10]||(j[10]=le=>B(le))},[D("div",{class:"volume-bar",ref_key:"volumeBarRef",ref:s},[D("div",{class:"volume-bar-inner",style:Le({width:A.value})},g7e,4)],512)],32)])]),D("span",m7e,[D("span",y7e,pt(g.value),1),Ue(" / "),D("span",A7e,pt(m.value),1)]),D("div",{class:"bar-wrap",ref_key:"playBarWrap",ref:a,onMousedown:j[11]||(j[11]=le=>W()),onTouchstart:j[12]||(j[12]=le=>W()),onMousemove:j[13]||(j[13]=le=>Q(le)),onMouseenter:j[14]||(j[14]=le=>h.value=!0),onMouseleave:j[15]||(j[15]=le=>h.value=!1)},[D("div",{class:ze(["bar-time",{hidden:!h.value}]),style:Le({left:v.value})},pt(p.value),7),D("div",R7e,[D("div",{class:"loaded",style:Le({width:R.value})},null,4),D("div",{class:"played",style:Le({width:y.value})},x7e,4)])],544)])],4)}}}),See=Be(S7e,[["__scopeId","data-v-32038f5c"]]),w7e=Xe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,{canvasScale:n,handleElementId:r}=De(ht()),{viewportRatio:i,viewportSize:o}=De(lt()),a=Se(()=>Math.min(t.elementInfo.width,t.elementInfo.height)+"px"),s=Se(()=>{const u=o.value,c=o.value*i.value,f=280/n.value,d=50/n.value,h=t.elementInfo.width,p=t.elementInfo.height,v=t.elementInfo.left,g=t.elementInfo.top;let m=0,y=p;return v+f>=u&&(m=h-f),g+p+d>=c&&(y=-d),{left:m+"px",top:y+"px"}}),l=u=>{t.elementInfo.lock||(u.stopPropagation(),t.selectElement(u,t.elementInfo))};return(u,c)=>{const f=xe("IconVolumeNotice"),d=Pn("contextmenu");return U(),te("div",{class:ze(["editable-element-audio",{lock:u.elementInfo.lock}]),style:Le({top:u.elementInfo.top+"px",left:u.elementInfo.left+"px",width:u.elementInfo.width+"px",height:u.elementInfo.height+"px"})},[D("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${u.elementInfo.rotate}deg)`})},[Ge((U(),te("div",{class:"element-content",onMousedown:c[1]||(c[1]=h=>l(h)),onTouchstart:c[2]||(c[2]=h=>l(h))},[O(f,{class:"audio-icon",style:Le({fontSize:a.value,color:u.elementInfo.color})},null,8,["style"]),z(r)===u.elementInfo.id?(U(),_e(See,{key:0,class:"audio-player",style:Le({...s.value}),src:u.elementInfo.src,loop:u.elementInfo.loop,scale:z(n),onMousedown:c[0]||(c[0]=Ft(()=>{},["stop"]))},null,8,["style","src","loop","scale"])):Ye("",!0)],32)),[[d,u.contextmenus]])],4)],6)}}}),wee=Be(w7e,[["__scopeId","data-v-07f623ea"]]),M7e=["id"],L7e=Xe({__name:"EditableElement",props:{elementInfo:{},elementIndex:{},isMultiSelect:{type:Boolean},selectElement:{type:Function},openLinkDialog:{type:Function}},setup(e){const t=e,n=Se(()=>({[Et.IMAGE]:vz,[Et.TEXT]:uJ,[Et.SHAPE]:fJ,[Et.LINE]:dJ,[Et.CHART]:hee,[Et.TABLE]:yee,[Et.LATEX]:Aee,[Et.VIDEO]:bee,[Et.AUDIO]:wee})[t.elementInfo.type]||null),{orderElement:r}=K2(),{alignElementToCanvas:i}=m3(),{combineElements:o,uncombineElements:a}=GO(),{deleteElement:s}=H2(),{lockElement:l,unlockElement:u}=VH(),{copyElement:c,pasteElement:f,cutElement:d}=zO(),{selectAllElements:h}=i3(),p=()=>t.elementInfo.lock?[{text:"解锁",handler:()=>u(t.elementInfo)}]:[{text:"剪切",subText:"Ctrl + X",handler:d},{text:"复制",subText:"Ctrl + C",handler:c},{text:"粘贴",subText:"Ctrl + V",handler:f},{divider:!0},{text:"水平居中",handler:()=>i(pn.HORIZONTAL),children:[{text:"水平垂直居中",handler:()=>i(pn.CENTER)},{text:"水平居中",handler:()=>i(pn.HORIZONTAL)},{text:"左对齐",handler:()=>i(pn.LEFT)},{text:"右对齐",handler:()=>i(pn.RIGHT)}]},{text:"垂直居中",handler:()=>i(pn.VERTICAL),children:[{text:"水平垂直居中",handler:()=>i(pn.CENTER)},{text:"垂直居中",handler:()=>i(pn.VERTICAL)},{text:"顶部对齐",handler:()=>i(pn.TOP)},{text:"底部对齐",handler:()=>i(pn.BOTTOM)}]},{divider:!0},{text:"置于顶层",disable:t.isMultiSelect&&!t.elementInfo.groupId,handler:()=>r(t.elementInfo,Wr.TOP),children:[{text:"置于顶层",handler:()=>r(t.elementInfo,Wr.TOP)},{text:"上移一层",handler:()=>r(t.elementInfo,Wr.UP)}]},{text:"置于底层",disable:t.isMultiSelect&&!t.elementInfo.groupId,handler:()=>r(t.elementInfo,Wr.BOTTOM),children:[{text:"置于底层",handler:()=>r(t.elementInfo,Wr.BOTTOM)},{text:"下移一层",handler:()=>r(t.elementInfo,Wr.DOWN)}]},{divider:!0},{text:"设置链接",handler:t.openLinkDialog},{text:t.elementInfo.groupId?"取消组合":"组合",subText:"Ctrl + G",handler:t.elementInfo.groupId?a:o,hide:!t.isMultiSelect},{text:"全选",subText:"Ctrl + A",handler:h},{text:"锁定",subText:"Ctrl + L",handler:l},{text:"删除",subText:"Delete",handler:s}];return(v,g)=>(U(),te("div",{class:"editable-element",ref:"elementRef",id:`editable-element-${v.elementInfo.id}`,style:Le({zIndex:v.elementIndex})},[(U(),_e(Ru(n.value),{elementInfo:v.elementInfo,selectElement:v.selectElement,contextmenus:p},null,8,["elementInfo","selectElement"]))],12,M7e))}}),T7e=Xe({__name:"MouseSelection",props:{top:{},left:{},width:{},height:{},quadrant:{}},setup(e){return(t,n)=>(U(),te("div",{class:ze(`mouse-selection quadrant-${t.quadrant}`),style:Le({top:t.top+"px",left:t.left+"px",width:t.width+"px",height:t.height+"px"})},null,6))}}),_7e=Be(T7e,[["__scopeId","data-v-053bfa3e"]]),O7e={class:"grid-lines"},k7e=["d","stroke"],P7e=Xe({__name:"GridLines",setup(e){const{canvasScale:t,gridLineSize:n}=De(ht()),{currentSlide:r,viewportRatio:i,viewportSize:o}=De(lt()),a=Se(()=>{var u;return(u=r.value)==null?void 0:u.background}),s=Se(()=>{var f;const u=((f=a.value)==null?void 0:f.color)||"#fff",c=["#000","#fff"];return at.mostReadable(u,c,{includeFallbackColors:!0}).setAlpha(.5).toRgbString()}),l=Se(()=>{const u=o.value,c=o.value*i.value;let f="";for(let d=0;d<=Math.floor(c/n.value);d++)f+=`M0 ${d*n.value} L${u} ${d*n.value} `;for(let d=0;d<=Math.floor(u/n.value);d++)f+=`M${d*n.value} 0 L${d*n.value} ${c} `;return f});return(u,c)=>(U(),te("svg",O7e,[D("path",{style:Le({transform:`scale(${z(t)})`}),d:l.value,fill:"none",stroke:s.value,"stroke-width":"0.3","stroke-dasharray":"5"},null,12,k7e)]))}}),C7e=Be(P7e,[["__scopeId","data-v-93264269"]]),t4=e=>({backgroundStyle:Se(()=>{if(!e.value)return{backgroundColor:"#fff"};const{type:n,color:r,image:i,gradient:o}=e.value;if(n==="solid")return{backgroundColor:r};if(n==="image"&&i){const{src:a,size:s}=i;return a?s==="repeat"?{backgroundImage:`url(${a}`,backgroundRepeat:"repeat",backgroundSize:"contain"}:{backgroundImage:`url(${a}`,backgroundRepeat:"no-repeat",backgroundSize:s||"cover"}:{backgroundColor:"#fff"}}else if(n==="gradient"&&o){const{type:a,colors:s,rotate:l}=o,u=s.map(c=>`${c.color} ${c.pos}%`);return a==="radial"?{backgroundImage:`radial-gradient(${u.join(",")}`}:{backgroundImage:`linear-gradient(${l}deg, ${u.join(",")}`}}return{backgroundColor:"#fff"}})}),I7e=Xe({__name:"ViewportBackground",setup(e){const{gridLineSize:t}=De(ht()),{currentSlide:n}=De(lt()),r=Se(()=>{var o;return(o=n.value)==null?void 0:o.background}),{backgroundStyle:i}=t4(r);return(o,a)=>(U(),te("div",{class:"viewport-background",style:Le(z(i))},[z(t)?(U(),_e(C7e,{key:0})):Ye("",!0)],4))}}),N7e=Be(I7e,[["__scopeId","data-v-203ea8ff"]]),F7e=Xe({__name:"AlignmentLine",props:{type:{},axis:{},length:{},canvasScale:{}},setup(e){const t=e,n=Se(()=>t.axis.x*t.canvasScale+"px"),r=Se(()=>t.axis.y*t.canvasScale+"px"),i=Se(()=>t.type==="vertical"?{height:t.length*t.canvasScale+"px"}:{width:t.length*t.canvasScale+"px"});return(o,a)=>(U(),te("div",{class:"alignment-line",style:Le({left:n.value,top:r.value})},[D("div",{class:ze(["line",o.type]),style:Le(i.value)},null,6)],4))}}),Mee=Be(F7e,[["__scopeId","data-v-7cd3d25d"]]),E7e={class:"ruler"},X7e={key:0},W7e={key:0},V7e=Xe({__name:"Ruler",props:{viewportStyles:{},elementList:{}},setup(e){const t=e,{canvasScale:n,activeElementIdList:r}=De(ht()),{viewportRatio:i,viewportSize:o}=De(lt()),a=pe(null);Wv(()=>{const l=t.elementList.filter(u=>r.value.includes(u.id));if(!l.length)return a.value=null;a.value=ju(l)});const s=Se(()=>t.viewportStyles.width*n.value/(o.value/100));return(l,u)=>(U(),te("div",E7e,[D("div",{class:"h",style:Le({width:l.viewportStyles.width*z(n)+"px",left:l.viewportStyles.left+"px"})},[(U(),te(We,null,nt(20,c=>D("div",{class:ze(["ruler-marker-100",{hide:s.value<36,omit:s.value<72}]),key:`h-marker-100-${c}`,style:Le({width:s.value+"px"})},[c*100<=z(o)?(U(),te("span",X7e,pt(c*100),1)):Ye("",!0)],6)),64)),a.value?(U(),te("div",{key:0,class:"range",style:Le({left:a.value.minX*z(n)+"px",width:(a.value.maxX-a.value.minX)*z(n)+"px"})},null,4)):Ye("",!0)],4),D("div",{class:"v",style:Le({height:l.viewportStyles.height*z(n)+"px",top:l.viewportStyles.top+"px"})},[(U(),te(We,null,nt(20,c=>D("div",{class:ze(["ruler-marker-100",{hide:s.value<36,omit:s.value<72}]),key:`v-marker-100-${c}`,style:Le({height:s.value+"px"})},[c*100<=z(o)*z(i)?(U(),te("span",W7e,pt(c*100),1)):Ye("",!0)],6)),64)),a.value?(U(),te("div",{key:0,class:"range",style:Le({top:a.value.minY*z(n)+"px",height:(a.value.maxY-a.value.minY)*z(n)+"px"})},null,4)):Ye("",!0)],4)]))}}),D7e=Be(V7e,[["__scopeId","data-v-c6df5cc2"]]),U7e=["width","height"],B7e=["d"],Y7e=Xe({__name:"ElementCreateSelection",emits:["created"],setup(e,{emit:t}){const n=t,r=ht(),{creatingElement:i}=De(r),{ctrlOrShiftKeyActive:o}=De(pl()),a=pe(),s=pe(),l=pe(),u=pe({x:0,y:0});Ht(()=>{if(!l.value)return;const{x:h,y:p}=l.value.getBoundingClientRect();u.value={x:h,y:p}});const c=h=>{let p=!0;const v=h.pageX,g=h.pageY;a.value=[v,g],document.onmousemove=m=>{if(!i.value||!p)return;let y=m.pageX,R=m.pageY;if(o.value){const A=y-v,x=R-g,S=Math.abs(A),_=Math.abs(x);if(i.value.type==="shape"){const M=x>0&&A<0||x<0&&A>0;S>_?R=M?g-A:g+A:y=M?v-x:v+x}else i.value.type==="line"&&(S>_?R=g:y=v)}s.value=[y,R]},document.onmouseup=m=>{var x,S;if(document.onmousemove=null,document.onmouseup=null,m.button===2){setTimeout(()=>r.setCreatingElement(null),0);return}p=!1;const y=m.pageX,R=m.pageY,A=30;if(((x=i.value)==null?void 0:x.type)==="line"&&(Math.abs(y-v)>=A||Math.abs(R-g)>=A))n("created",{start:a.value,end:s.value});else if(((S=i.value)==null?void 0:S.type)!=="line"&&Math.abs(y-v)>=A&&Math.abs(R-g)>=A)n("created",{start:a.value,end:s.value});else{const M=Math.min(y,v),w=Math.min(R,g),L=Math.max(y,v),k=Math.max(R,g),P=L-M>=A?L-M:200,F=k-w>=A?k-w:200;n("created",{start:[M,w],end:[M+P,w+F]})}}},f=Se(()=>{if(!a.value||!s.value||!i.value||i.value.type!=="line")return null;const[h,p]=a.value,[v,g]=s.value,m=Math.min(h,v),y=Math.max(h,v),R=Math.min(p,g),A=Math.max(p,g),x=y-m>=24?y-m:24,S=A-R>=24?A-R:24,_=h===m?0:y-m,M=p===R?0:A-R,w=v===m?0:y-m,L=g===R?0:A-R,k=`M${_}, ${M} L${w}, ${L}`;return{svgWidth:x,svgHeight:S,startX:_,startY:M,endX:w,endY:L,path:k}}),d=Se(()=>{if(!a.value||!s.value)return{};const[h,p]=a.value,[v,g]=s.value,m=Math.min(h,v),y=Math.max(h,v),R=Math.min(p,g),A=Math.max(p,g),x=y-m,S=A-R;return{left:m-u.value.x+"px",top:R-u.value.y+"px",width:x+"px",height:S+"px"}});return(h,p)=>{var v,g;return U(),te("div",{class:"element-create-selection",ref_key:"selectionRef",ref:l,onMousedown:p[0]||(p[0]=Ft(m=>c(m),["stop"])),onContextmenu:p[1]||(p[1]=Ft(()=>{},["stop","prevent"]))},[a.value&&s.value?(U(),te("div",{key:0,class:ze(["selection",(v=z(i))==null?void 0:v.type]),style:Le(d.value)},[((g=z(i))==null?void 0:g.type)==="line"&&f.value?(U(),te("svg",{key:0,overflow:"visible",width:f.value.svgWidth,height:f.value.svgHeight},[D("path",{d:f.value.path,stroke:"#d14424",fill:"none","stroke-width":"2"},null,8,B7e)],8,U7e)):Ye("",!0)],6)):Ye("",!0)],544)}}}),Z7e=Be(Y7e,[["__scopeId","data-v-7b17a883"]]),Q7e={overflow:"visible"},H7e=["d","fill"],K7e=Xe({__name:"ShapeCreateCanvas",emits:["created"],setup(e,{emit:t}){const n=t,r=ht(),{ctrlOrShiftKeyActive:i}=De(pl()),{theme:o}=De(lt()),a=pe(),s=pe(!1),l=pe({x:0,y:0});Ht(()=>{if(!a.value)return;const{x:A,y:x}=a.value.getBoundingClientRect();l.value={x:A,y:x}});const u=pe(null),c=pe([]),f=pe(!1),d=(A,x=!1)=>{let S=A.pageX-l.value.x,_=A.pageY-l.value.y;if(x)return{pageX:S,pageY:_};if(i.value&&c.value.length){const[M,w]=c.value[c.value.length-1];Math.abs(M-S)-Math.abs(w-_)>0?_=w:S=M}return{pageX:S,pageY:_}},h=A=>{if(s.value){const{pageX:_,pageY:M}=d(A,!0);c.value.push([_,M]),u.value=null;return}const{pageX:x,pageY:S}=d(A);if(u.value=[x,S],c.value.length>=2){const[_,M]=c.value[0];Math.abs(_-x)<5&&Math.abs(M-S)<5?f.value=!0:f.value=!1}else f.value=!1},p=Se(()=>{let A="";for(let x=0;x<c.value.length;x++){const S=c.value[x];x===0?A+=`M ${S[0]} ${S[1]} `:A+=`L ${S[0]} ${S[1]} `}return c.value.length&&u.value&&(A+=`L ${u.value[0]} ${u.value[1]}`),A}),v=(A=!0)=>{const x=c.value.map(I=>I[0]),S=c.value.map(I=>I[1]),_=Math.min(...x),M=Math.min(...S),w=Math.max(...x),L=Math.max(...S),k=c.value.map(I=>[I[0]-_,I[1]-M]);let P="";for(let I=0;I<k.length;I++){const V=k[I];I===0?P+=`M ${V[0]} ${V[1]} `:P+=`L ${V[0]} ${V[1]} `}A&&(P+="Z");const F=[_+l.value.x,M+l.value.y],C=[w+l.value.x,L+l.value.y],N=[w-_,L-M];return{start:F,end:C,path:P,viewBox:N}},g=A=>{const{pageX:x,pageY:S}=d(A);s.value=!0,f.value?n("created",v()):c.value.push([x,S]),document.onmouseup=()=>{s.value=!1}},m=()=>{r.setCreatingCustomShapeState(!1)},y=()=>{n("created",{...v(!1),fill:"rgba(0, 0, 0, 0)",outline:{width:2,color:o.value.themeColor,style:"solid"}}),m()},R=A=>{const x=A.key.toUpperCase();x===At.ESC&&m(),x===At.ENTER&&y()};return Ht(()=>{gn.success("点击绘制任意形状,首尾闭合完成绘制,按 ESC 键或鼠标右键取消,按 ENTER 键提前完成",{duration:0}),document.addEventListener("keydown",R)}),Fn(()=>{document.removeEventListener("keydown",R),gn.closeAll()}),(A,x)=>(U(),te("div",{class:"shape-create-canvas",ref_key:"shapeCanvasRef",ref:a,onMousedown:x[0]||(x[0]=Ft(S=>g(S),["stop"])),onMousemove:x[1]||(x[1]=S=>h(S)),onContextmenu:x[2]||(x[2]=Ft(S=>m(),["stop","prevent"]))},[(U(),te("svg",Q7e,[D("path",{d:p.value,stroke:"#d14424",fill:f.value?"rgba(226, 83, 77, 0.15)":"none","stroke-width":"2"},null,8,H7e)]))],544))}}),G7e=Be(K7e,[["__scopeId","data-v-8ea8c340"]]),g0=(e,t)=>{const n=Se(()=>[{direction:bt.LEFT_TOP,style:{}},{direction:bt.TOP,style:{left:e.value/2+"px"}},{direction:bt.RIGHT_TOP,style:{left:e.value+"px"}},{direction:bt.LEFT,style:{top:t.value/2+"px"}},{direction:bt.RIGHT,style:{left:e.value+"px",top:t.value/2+"px"}},{direction:bt.LEFT_BOTTOM,style:{top:t.value+"px"}},{direction:bt.BOTTOM,style:{left:e.value/2+"px",top:t.value+"px"}},{direction:bt.RIGHT_BOTTOM,style:{left:e.value+"px",top:t.value+"px"}}]),r=Se(()=>[{direction:bt.LEFT,style:{top:t.value/2+"px"}},{direction:bt.RIGHT,style:{left:e.value+"px",top:t.value/2+"px"}}]),i=Se(()=>[{direction:bt.TOP,style:{left:e.value/2+"px"}},{direction:bt.BOTTOM,style:{left:e.value/2+"px",top:t.value+"px"}}]),o=Se(()=>[{type:pg.T,style:{width:e.value+"px"}},{type:pg.B,style:{top:t.value+"px",width:e.value+"px"}},{type:pg.L,style:{height:t.value+"px"}},{type:pg.R,style:{left:e.value+"px",height:t.value+"px"}}]);return{resizeHandlers:n,textElementResizeHandlers:r,verticalTextElementResizeHandlers:i,borderLines:o}},z7e=Xe({__name:"ResizeHandler",props:{type:{},rotate:{default:0}},setup(e){const t=e,n=Se(()=>{const r="rotate-",i=t.rotate;return i>-22.5&&i<=22.5?r+0:i>22.5&&i<=67.5?r+45:i>67.5&&i<=112.5?r+90:i>112.5&&i<=157.5?r+135:i>157.5||i<=-157.5?r+0:i>-157.5&&i<=-112.5?r+45:i>-112.5&&i<=-67.5?r+90:i>-67.5&&i<=-22.5?r+135:r+0});return(r,i)=>(U(),te("div",{class:ze(["resize-handler",n.value,r.type])},null,2))}}),pd=Be(z7e,[["__scopeId","data-v-bb3f9e62"]]),J7e=Xe({__name:"BorderLine",props:{type:{},isWide:{type:Boolean,default:!1}},setup(e){return(t,n)=>(U(),te("div",{class:ze(["border-line",t.type,{wide:t.isWide}])},null,2))}}),m0=Be(J7e,[["__scopeId","data-v-7114fb45"]]),$7e=Xe({__name:"MultiSelectOperate",props:{elementList:{},scaleMultiElement:{type:Function}},setup(e){const t=e,{activeElementIdList:n,canvasScale:r}=De(ht()),i=Se(()=>t.elementList.filter(d=>n.value.includes(d.id))),o=pe({minX:0,maxX:0,minY:0,maxY:0}),a=Se(()=>(o.value.maxX-o.value.minX)*r.value),s=Se(()=>(o.value.maxY-o.value.minY)*r.value),{resizeHandlers:l,borderLines:u}=g0(a,s);Wv(()=>{const{minX:d,maxX:h,minY:p,maxY:v}=ju(i.value);o.value={minX:d,maxX:h,minY:p,maxY:v}});const f=Se(()=>i.value.some(d=>!((d.type==="image"||d.type==="shape")&&!d.rotate)));return(d,h)=>(U(),te("div",{class:"multi-select-operate",style:Le({left:o.value.minX*z(r)+"px",top:o.value.minY*z(r)+"px"})},[(U(!0),te(We,null,nt(z(u),p=>(U(),_e(m0,{key:p.type,type:p.type,style:Le(p.style)},null,8,["type","style"]))),128)),f.value?Ye("",!0):(U(!0),te(We,{key:0},nt(z(l),p=>(U(),_e(pd,{key:p.direction,type:p.direction,style:Le(p.style),onMousedown:Ft(v=>d.scaleMultiElement(v,o.value,p.direction),["stop"])},null,8,["type","style","onMousedown"]))),128))],4))}}),j7e=Be($7e,[["__scopeId","data-v-135c8cb7"]]),q7e={},e9e={class:"rotate-handler"};function t9e(e,t){return U(),te("div",e9e)}const i1=Be(q7e,[["render",t9e],["__scopeId","data-v-9f21fc0f"]]),n9e={inheritAttrs:!1},r9e=Xe({...n9e,__name:"ImageElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function}},setup(e){const t=e,{canvasScale:n,clipingImageElementId:r}=De(ht()),i=Se(()=>r.value===t.elementInfo.id),o=Se(()=>t.elementInfo.width*n.value),a=Se(()=>t.elementInfo.height*n.value),{resizeHandlers:s,borderLines:l}=g0(o,a);return(u,c)=>(U(),te("div",{class:ze(["image-element-operate",{cliping:i.value}])},[(U(!0),te(We,null,nt(z(l),f=>(U(),_e(m0,{class:"operate-border-line",key:f.type,type:f.type,style:Le(f.style)},null,8,["type","style"]))),128)),u.handlerVisible?(U(),te(We,{key:0},[(U(!0),te(We,null,nt(z(s),f=>(U(),_e(pd,{class:"operate-resize-handler",key:f.direction,type:f.direction,rotate:u.elementInfo.rotate,style:Le(f.style),onMousedown:Ft(d=>u.scaleElement(d,u.elementInfo,f.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),O(i1,{class:"operate-rotate-handler",style:Le({left:o.value/2+"px"}),onMousedown:c[0]||(c[0]=Ft(f=>u.rotateElement(f,u.elementInfo),["stop"]))},null,8,["style"])],64)):Ye("",!0)],2))}}),i9e=Be(r9e,[["__scopeId","data-v-2a1bef4e"]]),o9e={class:"text-element-operate"},a9e={inheritAttrs:!1},s9e=Xe({...a9e,__name:"TextElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function}},setup(e){const t=e,{canvasScale:n}=De(ht()),r=Se(()=>t.elementInfo.width*n.value),i=Se(()=>t.elementInfo.height*n.value),{textElementResizeHandlers:o,verticalTextElementResizeHandlers:a,borderLines:s}=g0(r,i),l=Se(()=>t.elementInfo.vertical?a.value:o.value);return(u,c)=>(U(),te("div",o9e,[(U(!0),te(We,null,nt(z(s),f=>(U(),_e(m0,{class:"operate-border-line",key:f.type,type:f.type,style:Le(f.style)},null,8,["type","style"]))),128)),u.handlerVisible?(U(),te(We,{key:0},[(U(!0),te(We,null,nt(l.value,f=>(U(),_e(pd,{class:"operate-resize-handler",key:f.direction,type:f.direction,rotate:u.elementInfo.rotate,style:Le(f.style),onMousedown:Ft(d=>u.scaleElement(d,u.elementInfo,f.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),O(i1,{class:"operate-rotate-handler",style:Le({left:r.value/2+"px"}),onMousedown:c[0]||(c[0]=Ft(f=>u.rotateElement(f,u.elementInfo),["stop"]))},null,8,["style"])],64)):Ye("",!0)]))}}),l9e={class:"shape-element-operate"},u9e=["onMousedown"],c9e={inheritAttrs:!1},f9e=Xe({...c9e,__name:"ShapeElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function},moveShapeKeypoint:{type:Function}},setup(e){const t=e,{canvasScale:n}=De(ht()),r=Se(()=>t.elementInfo.width*n.value),i=Se(()=>t.elementInfo.height*n.value),{resizeHandlers:o,borderLines:a}=g0(r,i),s=Se(()=>{if(!t.elementInfo.pathFormula||t.elementInfo.keypoints===void 0)return[];const l=u0[t.elementInfo.pathFormula];return t.elementInfo.keypoints.map((u,c)=>{const f=l.getBaseSize[c],d=l.relative[c],h=f(t.elementInfo.width,t.elementInfo.height)*u;let p={};return d==="left"?p={left:h*n.value+"px"}:d==="right"?p={left:(t.elementInfo.width-h)*n.value+"px"}:d==="center"?p={left:(t.elementInfo.width-h)/2*n.value+"px"}:d==="top"?p={top:h*n.value+"px"}:d==="bottom"?p={top:(t.elementInfo.height-h)*n.value+"px"}:d==="left_bottom"?p={left:h*n.value+"px",top:t.elementInfo.height*n.value+"px"}:d==="right_bottom"?p={left:(t.elementInfo.width-h)*n.value+"px",top:t.elementInfo.height*n.value+"px"}:d==="top_right"?p={left:t.elementInfo.width*n.value+"px",top:h*n.value+"px"}:d==="bottom_right"&&(p={left:t.elementInfo.width*n.value+"px",top:(t.elementInfo.height-h)*n.value+"px"}),{keypoint:u,styles:p}})});return(l,u)=>(U(),te("div",l9e,[(U(!0),te(We,null,nt(z(a),c=>(U(),_e(m0,{class:"operate-border-line",key:c.type,type:c.type,style:Le(c.style)},null,8,["type","style"]))),128)),l.handlerVisible?(U(),te(We,{key:0},[(U(!0),te(We,null,nt(z(o),c=>(U(),_e(pd,{class:"operate-resize-handler",key:c.direction,type:c.direction,rotate:l.elementInfo.rotate,style:Le(c.style),onMousedown:Ft(f=>l.scaleElement(f,l.elementInfo,c.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),O(i1,{class:"operate-rotate-handler",style:Le({left:r.value/2+"px"}),onMousedown:u[0]||(u[0]=Ft(c=>l.rotateElement(c,l.elementInfo),["stop"]))},null,8,["style"]),(U(!0),te(We,null,nt(s.value,(c,f)=>(U(),te("div",{class:"operate-keypoint-handler",key:f,style:Le(c.styles),onMousedown:Ft(d=>l.moveShapeKeypoint(d,l.elementInfo,f),["stop"])},null,44,u9e))),128))],64)):Ye("",!0)]))}}),d9e=Be(f9e,[["__scopeId","data-v-11747e5a"]]),h9e={class:"line-element-operate"},p9e=["width","height","stroke"],v9e={key:0},g9e=["x1","y1","x2","y2"],m9e=["x1","y1","x2","y2"],y9e=["x1","y1","x2","y2"],A9e=["x1","y1","x2","y2"],R9e={inheritAttrs:!1},b9e=Xe({...R9e,__name:"LineElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},dragLineElement:{type:Function}},setup(e){const t=e,{canvasScale:n}=De(ht()),r=Se(()=>Math.max(t.elementInfo.start[0],t.elementInfo.end[0])),i=Se(()=>Math.max(t.elementInfo.start[1],t.elementInfo.end[1])),o=Se(()=>{const a=[{handler:Ho.START,style:{left:t.elementInfo.start[0]*n.value+"px",top:t.elementInfo.start[1]*n.value+"px"}},{handler:Ho.END,style:{left:t.elementInfo.end[0]*n.value+"px",top:t.elementInfo.end[1]*n.value+"px"}}];if(t.elementInfo.curve||t.elementInfo.broken||t.elementInfo.broken2){const s=t.elementInfo.curve||t.elementInfo.broken||t.elementInfo.broken2;a.push({handler:Ho.C,style:{left:s[0]*n.value+"px",top:s[1]*n.value+"px"}})}else if(t.elementInfo.cubic){const[s,l]=t.elementInfo.cubic;a.push({handler:Ho.C1,style:{left:s[0]*n.value+"px",top:s[1]*n.value+"px"}}),a.push({handler:Ho.C2,style:{left:l[0]*n.value+"px",top:l[1]*n.value+"px"}})}return a});return(a,s)=>(U(),te("div",h9e,[a.handlerVisible?(U(),te(We,{key:0},[(U(!0),te(We,null,nt(o.value,l=>(U(),_e(pd,{class:"operate-resize-handler",key:l.handler,style:Le(l.style),onMousedown:Ft(u=>a.dragLineElement(u,a.elementInfo,l.handler),["stop"])},null,8,["style","onMousedown"]))),128)),(U(),te("svg",{width:r.value||1,height:i.value||1,stroke:a.elementInfo.color,overflow:"visible",style:Le({transform:`scale(${z(n)})`})},[a.elementInfo.curve?(U(),te("g",v9e,[D("line",{class:"anchor-line",x1:a.elementInfo.start[0],y1:a.elementInfo.start[1],x2:a.elementInfo.curve[0],y2:a.elementInfo.curve[1]},null,8,g9e),D("line",{class:"anchor-line",x1:a.elementInfo.end[0],y1:a.elementInfo.end[1],x2:a.elementInfo.curve[0],y2:a.elementInfo.curve[1]},null,8,m9e)])):Ye("",!0),a.elementInfo.cubic?(U(!0),te(We,{key:1},nt(a.elementInfo.cubic,(l,u)=>(U(),te("g",{key:u},[u===0?(U(),te("line",{key:0,class:"anchor-line",x1:a.elementInfo.start[0],y1:a.elementInfo.start[1],x2:l[0],y2:l[1]},null,8,y9e)):Ye("",!0),u===1?(U(),te("line",{key:1,class:"anchor-line",x1:a.elementInfo.end[0],y1:a.elementInfo.end[1],x2:l[0],y2:l[1]},null,8,A9e)):Ye("",!0)]))),128)):Ye("",!0)],12,p9e))],64)):Ye("",!0)]))}}),x9e=Be(b9e,[["__scopeId","data-v-9dea4d6a"]]),S9e={class:"table-element-operate"},w9e={inheritAttrs:!1},M9e=Xe({...w9e,__name:"TableElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function}},setup(e){const t=e,{canvasScale:n}=De(ht()),r=Se(()=>t.elementInfo.outline.width||1),i=Se(()=>(t.elementInfo.width+r.value)*n.value),o=Se(()=>t.elementInfo.height*n.value),{resizeHandlers:a,borderLines:s}=g0(i,o);return(l,u)=>(U(),te("div",S9e,[(U(!0),te(We,null,nt(z(s),c=>(U(),_e(m0,{class:"operate-border-line",key:c.type,type:c.type,style:Le(c.style)},null,8,["type","style"]))),128)),l.handlerVisible?(U(),te(We,{key:0},[(U(!0),te(We,null,nt(z(a),c=>(U(),_e(pd,{class:"operate-resize-handler",key:c.direction,type:c.direction,rotate:l.elementInfo.rotate,style:Le(c.style),onMousedown:Ft(f=>l.scaleElement(f,l.elementInfo,c.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),O(i1,{class:"operate-rotate-handler",style:Le({left:i.value/2+"px"}),onMousedown:u[0]||(u[0]=Ft(c=>l.rotateElement(c,l.elementInfo),["stop"]))},null,8,["style"])],64)):Ye("",!0)]))}}),L9e={class:"common-element-operate"},T9e={inheritAttrs:!1},FR=Xe({...T9e,__name:"CommonElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function}},setup(e){const t=e,{canvasScale:n}=De(ht()),r=Se(()=>t.elementInfo.width*n.value),i=Se(()=>t.elementInfo.height*n.value),{resizeHandlers:o,borderLines:a}=g0(r,i),s=Se(()=>["chart","video","audio"].includes(t.elementInfo.type));return(l,u)=>(U(),te("div",L9e,[(U(!0),te(We,null,nt(z(a),c=>(U(),_e(m0,{class:"operate-border-line",key:c.type,type:c.type,style:Le(c.style)},null,8,["type","style"]))),128)),l.handlerVisible?(U(),te(We,{key:0},[(U(!0),te(We,null,nt(z(o),c=>(U(),_e(pd,{class:"operate-resize-handler",key:c.direction,type:c.direction,rotate:l.elementInfo.rotate,style:Le(c.style),onMousedown:Ft(f=>l.scaleElement(f,l.elementInfo,c.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),s.value?Ye("",!0):(U(),_e(i1,{key:0,class:"operate-rotate-handler",style:Le({left:r.value/2+"px"}),onMousedown:u[0]||(u[0]=Ft(c=>l.rotateElement(c,l.elementInfo),["stop"]))},null,8,["style"]))],64)):Ye("",!0)]))}}),Lee=()=>{const e=lt(),{addHistorySnapshot:t}=nn();return{setLink:(i,o)=>{const a=/^(https?):\/\/[\w\-]+(\.[\w\-]+)+([\w\-.,@?^=%&:\/~+#]*[\w\-@?^=%&\/~+#])?$/;if(o.type==="web"&&!a.test(o.target))return gn.error("不是正确的网页链接地址"),!1;if(o.type==="slide"&&!o.target)return gn.error("请先选择链接目标"),!1;const s={link:o};return e.updateElement({id:i.id,props:s}),t(),!0},removeLink:i=>{e.removeElementProps({id:i.id,propName:"link"}),t()}}},_9e=Xe({__name:"Divider",props:{type:{default:"horizontal"},margin:{default:-1}},setup(e){return(t,n)=>(U(),te("div",{class:ze(["divider",t.type]),style:Le({margin:t.type==="horizontal"?`${t.margin>=0?t.margin:24}px 0`:`0 ${t.margin>=0?t.margin:8}px`})},null,6))}}),Zt=Be(_9e,[["__scopeId","data-v-80adabfa"]]),O9e=["href"],k9e={class:"btns"},P9e=Xe({__name:"LinkHandler",props:{elementInfo:{},link:{},openLinkDialog:{type:Function}},setup(e){const t=e,n=ht(),r=lt(),{canvasScale:i}=De(n),{slides:o}=De(r),{removeLink:a}=Lee(),s=Se(()=>t.elementInfo.type==="line"?0:t.elementInfo.height),l=u=>{const c=o.value.findIndex(f=>f.id===u);c!==-1&&(n.setActiveElementIdList([]),r.updateSlideIndex(c))};return(u,c)=>(U(),te("div",{class:"link-handler",style:Le({top:s.value*z(i)+10+"px"})},[u.link.type==="web"?(U(),te("a",{key:0,class:"link",href:u.link.target,target:"_blank"},pt(u.link.target),9,O9e)):(U(),te("a",{key:1,class:"link",onClick:c[0]||(c[0]=f=>l(u.link.target))},"幻灯片页面 "+pt(u.link.target),1)),D("div",k9e,[D("div",{class:"btn",onClick:c[1]||(c[1]=f=>u.openLinkDialog())},"更换"),O(Zt,{type:"vertical"}),D("div",{class:"btn",onClick:c[2]||(c[2]=f=>z(a)(u.elementInfo))},"移除")])],4))}}),C9e=Be(P9e,[["__scopeId","data-v-f8f46f78"]]),I9e={key:1,class:"animation-index"},N9e=Xe({__name:"index",props:{elementInfo:{},isSelected:{type:Boolean},isActive:{type:Boolean},isActiveGroupElement:{type:Boolean},isMultiSelect:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function},dragLineElement:{type:Function},moveShapeKeypoint:{type:Function},openLinkDialog:{type:Function}},setup(e){const t=e,{canvasScale:n,toolbarState:r}=De(ht()),{formatedAnimations:i}=De(lt()),o=Se(()=>({[Et.IMAGE]:i9e,[Et.TEXT]:s9e,[Et.SHAPE]:d9e,[Et.LINE]:x9e,[Et.TABLE]:M9e,[Et.CHART]:FR,[Et.LATEX]:FR,[Et.VIDEO]:FR,[Et.AUDIO]:FR})[t.elementInfo.type]||null),a=Se(()=>{const u=[];for(let c=0;c<i.value.length;c++)i.value[c].animations.map(d=>d.elId).includes(t.elementInfo.id)&&u.push(c);return u}),s=Se(()=>"rotate"in t.elementInfo?t.elementInfo.rotate:0),l=Se(()=>"height"in t.elementInfo?t.elementInfo.height:0);return(u,c)=>(U(),te("div",{class:ze(["operate",{"multi-select":u.isMultiSelect&&!u.isActive}]),style:Le({top:u.elementInfo.top*z(n)+"px",left:u.elementInfo.left*z(n)+"px",transform:`rotate(${s.value}deg)`,transformOrigin:`${u.elementInfo.width*z(n)/2}px ${l.value*z(n)/2}px`})},[u.isSelected?(U(),_e(Ru(o.value),{key:0,elementInfo:u.elementInfo,handlerVisible:!u.elementInfo.lock&&(u.isActiveGroupElement||!u.isMultiSelect),rotateElement:u.rotateElement,scaleElement:u.scaleElement,dragLineElement:u.dragLineElement,moveShapeKeypoint:u.moveShapeKeypoint},null,8,["elementInfo","handlerVisible","rotateElement","scaleElement","dragLineElement","moveShapeKeypoint"])):Ye("",!0),z(r)==="elAnimation"&&a.value.length?(U(),te("div",I9e,[(U(!0),te(We,null,nt(a.value,f=>(U(),te("div",{class:"index-item",key:f},pt(f+1),1))),128))])):Ye("",!0),u.isActive&&u.elementInfo.link?(U(),_e(C9e,{key:2,elementInfo:u.elementInfo,link:u.elementInfo.link,openLinkDialog:u.openLinkDialog,onMousedown:c[0]||(c[0]=Ft(()=>{},["stop"]))},null,8,["elementInfo","link","openLinkDialog"])):Ye("",!0)],6))}}),F9e=Be(N9e,[["__scopeId","data-v-7c6be7e7"]]),E9e=["src"],X9e=Xe({__name:"BaseImageElement",props:{elementInfo:{}},setup(e){const t=e,n=Se(()=>t.elementInfo.shadow),{shadowStyle:r}=fd(n),i=Se(()=>t.elementInfo.flipH),o=Se(()=>t.elementInfo.flipV),{flipStyle:a}=y3(i,o),s=Se(()=>t.elementInfo),{clipShape:l,imgPosition:u}=bk(s),c=Se(()=>t.elementInfo.filters),{filter:f}=dz(c);return(d,h)=>(U(),te("div",{class:"base-element-image",style:Le({top:d.elementInfo.top+"px",left:d.elementInfo.left+"px",width:d.elementInfo.width+"px",height:d.elementInfo.height+"px"})},[D("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${d.elementInfo.rotate}deg)`})},[D("div",{class:"element-content",style:Le({filter:z(r)?`drop-shadow(${z(r)})`:"",transform:z(a)})},[O(hz,{elementInfo:d.elementInfo},null,8,["elementInfo"]),D("div",{class:"image-content",style:Le({clipPath:z(l).style})},[D("img",{src:d.elementInfo.src,draggable:!1,style:Le({top:z(u).top,left:z(u).left,width:z(u).width,height:z(u).height,filter:z(f)}),alt:""},null,12,E9e),d.elementInfo.colorMask?(U(),te("div",{key:0,class:"color-mask",style:Le({backgroundColor:d.elementInfo.colorMask})},null,4)):Ye("",!0)],4)],4)],4)],4))}}),Tee=Be(X9e,[["__scopeId","data-v-67c9bdc0"]]),W9e=["innerHTML"],V9e=Xe({__name:"BaseTextElement",props:{elementInfo:{},target:{}},setup(e){const t=e,n=Se(()=>t.elementInfo.shadow),{shadowStyle:r}=fd(n);return(i,o)=>(U(),te("div",{class:"base-element-text",style:Le({top:i.elementInfo.top+"px",left:i.elementInfo.left+"px",width:i.elementInfo.width+"px",height:i.elementInfo.height+"px"})},[D("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${i.elementInfo.rotate}deg)`})},[D("div",{class:"element-content",style:Le({width:i.elementInfo.vertical?"auto":i.elementInfo.width+"px",height:i.elementInfo.vertical?i.elementInfo.height+"px":"auto",backgroundColor:i.elementInfo.fill,opacity:i.elementInfo.opacity,textShadow:z(r),lineHeight:i.elementInfo.lineHeight,letterSpacing:(i.elementInfo.wordSpace||0)+"px",color:i.elementInfo.defaultColor,fontFamily:i.elementInfo.defaultFontName,writingMode:i.elementInfo.vertical?"vertical-rl":"horizontal-tb"})},[O(A3,{width:i.elementInfo.width,height:i.elementInfo.height,outline:i.elementInfo.outline},null,8,["width","height","outline"]),D("div",{class:ze(["text ProseMirror-static",{thumbnail:i.target==="thumbnail"}]),style:Le({"--paragraphSpace":`${i.elementInfo.paragraphSpace===void 0?5:i.elementInfo.paragraphSpace}px`}),innerHTML:i.elementInfo.content},null,14,W9e)],4)],4)],4))}}),_ee=Be(V9e,[["__scopeId","data-v-a3ec163d"]]),D9e=["width","height"],U9e={key:0},B9e=["transform"],Y9e=["d","fill","stroke","stroke-width","stroke-dasharray"],Z9e=["innerHTML"],Q9e=Xe({__name:"BaseShapeElement",props:{elementInfo:{}},setup(e){const t=e,n=Se(()=>t.elementInfo.outline),{outlineWidth:r,outlineColor:i,strokeDashArray:o}=$v(n),a=Se(()=>t.elementInfo.shadow),{shadowStyle:s}=fd(a),l=Se(()=>t.elementInfo.flipH),u=Se(()=>t.elementInfo.flipV),{flipStyle:c}=y3(l,u),f=Se(()=>{const d={content:"",defaultFontName:"",defaultColor:"#000",align:"middle"};return t.elementInfo.text?t.elementInfo.text:d});return(d,h)=>(U(),te("div",{class:"base-element-shape",style:Le({top:d.elementInfo.top+"px",left:d.elementInfo.left+"px",width:d.elementInfo.width+"px",height:d.elementInfo.height+"px"})},[D("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${d.elementInfo.rotate}deg)`})},[D("div",{class:"element-content",style:Le({opacity:d.elementInfo.opacity,filter:z(s)?`drop-shadow(${z(s)})`:"",transform:z(c),color:f.value.defaultColor,fontFamily:f.value.defaultFontName})},[(U(),te("svg",{overflow:"visible",width:d.elementInfo.width,height:d.elementInfo.height},[d.elementInfo.gradient?(U(),te("defs",U9e,[O(cJ,{id:`base-gradient-${d.elementInfo.id}`,type:d.elementInfo.gradient.type,colors:d.elementInfo.gradient.colors,rotate:d.elementInfo.gradient.rotate},null,8,["id","type","colors","rotate"])])):Ye("",!0),D("g",{transform:`scale(${d.elementInfo.width/d.elementInfo.viewBox[0]}, ${d.elementInfo.height/d.elementInfo.viewBox[1]}) translate(0,0) matrix(1,0,0,1,0,0)`},[D("path",{"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",d:d.elementInfo.path,fill:d.elementInfo.gradient?`url(#base-gradient-${d.elementInfo.id})`:d.elementInfo.fill,stroke:z(i),"stroke-width":z(r),"stroke-dasharray":z(o)},null,8,Y9e)],8,B9e)],8,D9e)),D("div",{class:ze(["shape-text",f.value.align])},[D("div",{class:"ProseMirror-static",innerHTML:f.value.content},null,8,Z9e)],2)],4)],4)],4))}}),Oee=Be(Q9e,[["__scopeId","data-v-03bd4549"]]),H9e=["width","height"],K9e=["d","stroke","stroke-width","stroke-dasharray","marker-start","marker-end"],G9e=Xe({__name:"BaseLineElement",props:{elementInfo:{}},setup(e){const t=e,n=Se(()=>t.elementInfo.shadow),{shadowStyle:r}=fd(n),i=Se(()=>{const l=Math.abs(t.elementInfo.start[0]-t.elementInfo.end[0]);return l<24?24:l}),o=Se(()=>{const l=Math.abs(t.elementInfo.start[1]-t.elementInfo.end[1]);return l<24?24:l}),a=Se(()=>{const l=t.elementInfo.width;return t.elementInfo.style==="dashed"?l<=8?`${l*5} ${l*2.5}`:`${l*5} ${l*1.5}`:t.elementInfo.style==="dotted"?l<=8?`${l*1.8} ${l*1.6}`:`${l*1.5} ${l*1.2}`:"0 0"}),s=Se(()=>QO(t.elementInfo));return(l,u)=>(U(),te("div",{class:"base-element-line",style:Le({top:l.elementInfo.top+"px",left:l.elementInfo.left+"px"})},[D("div",{class:"element-content",style:Le({filter:z(r)?`drop-shadow(${z(r)})`:""})},[(U(),te("svg",{overflow:"visible",width:i.value,height:o.value},[D("defs",null,[l.elementInfo.points[0]?(U(),_e(Kf,{key:0,id:l.elementInfo.id,position:"start",type:l.elementInfo.points[0],color:l.elementInfo.color,baseSize:l.elementInfo.width},null,8,["id","type","color","baseSize"])):Ye("",!0),l.elementInfo.points[1]?(U(),_e(Kf,{key:1,id:l.elementInfo.id,position:"end",type:l.elementInfo.points[1],color:l.elementInfo.color,baseSize:l.elementInfo.width},null,8,["id","type","color","baseSize"])):Ye("",!0)]),D("path",{d:s.value,stroke:l.elementInfo.color,"stroke-width":l.elementInfo.width,"stroke-dasharray":a.value,fill:"none","marker-start":l.elementInfo.points[0]?`url(#${l.elementInfo.id}-${l.elementInfo.points[0]}-start)`:"","marker-end":l.elementInfo.points[1]?`url(#${l.elementInfo.id}-${l.elementInfo.points[1]}-end)`:""},null,8,K9e)],8,H9e))],4)],4))}}),kee=Be(G9e,[["__scopeId","data-v-833e88cd"]]),z9e=Xe({__name:"BaseChartElement",props:{elementInfo:{},target:{}},setup(e){return(t,n)=>(U(),te("div",{class:ze(["base-element-chart",{"is-thumbnail":t.target==="thumbnail"}]),style:Le({top:t.elementInfo.top+"px",left:t.elementInfo.left+"px",width:t.elementInfo.width+"px",height:t.elementInfo.height+"px"})},[D("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${t.elementInfo.rotate}deg)`})},[D("div",{class:"element-content",style:Le({backgroundColor:t.elementInfo.fill})},[O(A3,{width:t.elementInfo.width,height:t.elementInfo.height,outline:t.elementInfo.outline},null,8,["width","height","outline"]),O(dee,{width:t.elementInfo.width,height:t.elementInfo.height,type:t.elementInfo.chartType,data:t.elementInfo.data,themeColors:t.elementInfo.themeColors,textColor:t.elementInfo.textColor,options:t.elementInfo.options},null,8,["width","height","type","data","themeColors","textColor","options"])],4)],4)],6))}}),Pee=Be(z9e,[["__scopeId","data-v-5a1fd6e3"]]),J9e=["width"],$9e=["rowspan","colspan"],j9e=["innerHTML"],q9e=Xe({__name:"StaticTable",props:{data:{},width:{},cellMinHeight:{},colWidths:{},outline:{},theme:{},editable:{type:Boolean,default:!0}},setup(e){const t=e,n=pe([]),r=Se(()=>n.value.reduce((l,u)=>l+u));_t([()=>t.colWidths,()=>t.width],()=>{n.value=t.colWidths.map(l=>l*t.width)},{immediate:!0});const i=Se(()=>t.data),{hideCells:o}=gee(i),a=Se(()=>t.theme),{subThemeColor:s}=mee(a);return(l,u)=>{var c,f,d,h,p;return U(),te("div",{class:"static-table",style:Le({width:r.value+"px"})},[D("table",{class:ze({theme:a.value,"row-header":(c=a.value)==null?void 0:c.rowHeader,"row-footer":(f=a.value)==null?void 0:f.rowFooter,"col-header":(d=a.value)==null?void 0:d.colHeader,"col-footer":(h=a.value)==null?void 0:h.colFooter}),style:Le(`--themeColor: ${(p=a.value)==null?void 0:p.color}; --subThemeColor1: ${z(s)[0]}; --subThemeColor2: ${z(s)[1]}`)},[D("colgroup",null,[(U(!0),te(We,null,nt(n.value,(v,g)=>(U(),te("col",{span:"1",key:g,width:v},null,8,J9e))),128))]),D("tbody",null,[(U(!0),te(We,null,nt(l.data,(v,g)=>(U(),te("tr",{key:g,style:Le({height:l.cellMinHeight+"px"})},[(U(!0),te(We,null,nt(v,(m,y)=>Ge((U(),te("td",{class:"cell",style:Le({borderStyle:l.outline.style,borderColor:l.outline.color,borderWidth:l.outline.width+"px",...z(pee)(m.style)}),key:m.id,rowspan:m.rowspan,colspan:m.colspan},[D("div",{class:"cell-text",style:Le({minHeight:l.cellMinHeight-4+"px"}),innerHTML:z(vee)(m.text)},null,12,j9e)],12,$9e)),[[uc,!z(o).includes(`${g}_${y}`)]])),128))],4))),128))])],6)],4)}}}),eFe=Be(q9e,[["__scopeId","data-v-6d887dcd"]]),tFe={class:"element-content"},nFe=Xe({__name:"BaseTableElement",props:{elementInfo:{}},setup(e){return(t,n)=>(U(),te("div",{class:"base-element-table",style:Le({top:t.elementInfo.top+"px",left:t.elementInfo.left+"px",width:t.elementInfo.width+"px"})},[D("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${t.elementInfo.rotate}deg)`})},[D("div",tFe,[O(eFe,{data:t.elementInfo.data,width:t.elementInfo.width,cellMinHeight:t.elementInfo.cellMinHeight,colWidths:t.elementInfo.colWidths,outline:t.elementInfo.outline,theme:t.elementInfo.theme},null,8,["data","width","cellMinHeight","colWidths","outline","theme"])])],4)],4))}}),Cee=Be(nFe,[["__scopeId","data-v-77cfa6e4"]]),rFe={class:"element-content"},iFe=["width","height","stroke","stroke-width"],oFe=["transform"],aFe=["d"],sFe=Xe({__name:"BaseLatexElement",props:{elementInfo:{}},setup(e){return(t,n)=>(U(),te("div",{class:"base-element-latex",style:Le({top:t.elementInfo.top+"px",left:t.elementInfo.left+"px",width:t.elementInfo.width+"px",height:t.elementInfo.height+"px"})},[D("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${t.elementInfo.rotate}deg)`})},[D("div",rFe,[(U(),te("svg",{overflow:"visible",width:t.elementInfo.width,height:t.elementInfo.height,stroke:t.elementInfo.color,"stroke-width":t.elementInfo.strokeWidth,fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[D("g",{transform:`scale(${t.elementInfo.width/t.elementInfo.viewBox[0]}, ${t.elementInfo.height/t.elementInfo.viewBox[1]}) translate(0,0) matrix(1,0,0,1,0,0)`},[D("path",{d:t.elementInfo.path},null,8,aFe)],8,oFe)],8,iFe))])],4)],4))}}),Iee=Be(sFe,[["__scopeId","data-v-93374af9"]]),lFe=Xe({__name:"BaseVideoElement",props:{elementInfo:{}},setup(e){return(t,n)=>{const r=xe("IconPlayOne");return U(),te("div",{class:"base-element-video",style:Le({top:t.elementInfo.top+"px",left:t.elementInfo.left+"px",width:t.elementInfo.width+"px",height:t.elementInfo.height+"px"})},[D("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${t.elementInfo.rotate}deg)`})},[D("div",{class:"element-content",style:Le({backgroundImage:t.elementInfo.poster?`url(${t.elementInfo.poster})`:""})},[O(r,{class:"icon"})],4)],4)],4)}}}),uFe=Be(lFe,[["__scopeId","data-v-2fb0e771"]]),cFe={class:"element-content"},fFe=Xe({__name:"BaseAudioElement",props:{elementInfo:{}},setup(e){const t=e,n=Se(()=>Math.min(t.elementInfo.width,t.elementInfo.height)+"px");return(r,i)=>{const o=xe("IconVolumeNotice");return U(),te("div",{class:"base-element-audio",style:Le({top:r.elementInfo.top+"px",left:r.elementInfo.left+"px",width:r.elementInfo.width+"px",height:r.elementInfo.height+"px"})},[D("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${r.elementInfo.rotate}deg)`})},[D("div",cFe,[O(o,{class:"audio-icon",style:Le({fontSize:n.value,color:r.elementInfo.color})},null,8,["style"])])],4)],4)}}}),dFe=Be(fFe,[["__scopeId","data-v-b33e6120"]]),hFe=Xe({__name:"ThumbnailElement",props:{elementInfo:{},elementIndex:{}},setup(e){const t=e,n=Se(()=>({[Et.IMAGE]:Tee,[Et.TEXT]:_ee,[Et.SHAPE]:Oee,[Et.LINE]:kee,[Et.CHART]:Pee,[Et.TABLE]:Cee,[Et.LATEX]:Iee,[Et.VIDEO]:uFe,[Et.AUDIO]:dFe})[t.elementInfo.type]||null);return(r,i)=>(U(),te("div",{class:ze(["base-element",`base-element-${r.elementInfo.id}`]),style:Le({zIndex:r.elementIndex})},[(U(),_e(Ru(n.value),{elementInfo:r.elementInfo,target:"thumbnail"},null,8,["elementInfo"]))],6))}}),pFe={key:1,class:"placeholder"},vFe=Xe({__name:"index",props:{slide:{},size:{},visible:{type:Boolean,default:!0}},setup(e){const t=e,{viewportRatio:n,viewportSize:r}=De(lt()),i=Se(()=>t.slide.background),{backgroundStyle:o}=t4(i),a=Se(()=>t.size/r.value);return a0(ry,a),(s,l)=>(U(),te("div",{class:"thumbnail-slide",style:Le({width:s.size+"px",height:s.size*z(n)+"px"})},[s.visible?(U(),te("div",{key:0,class:"elements",style:Le({width:z(r)+"px",height:z(r)*z(n)+"px",transform:`scale(${a.value})`})},[D("div",{class:"background",style:Le(z(o))},null,4),(U(!0),te(We,null,nt(s.slide.elements,(u,c)=>(U(),_e(hFe,{key:u.id,elementInfo:u,elementIndex:c+1},null,8,["elementInfo","elementIndex"]))),128))],4)):(U(),te("div",pFe,"加载中 ..."))],4))}}),dl=Be(vFe,[["__scopeId","data-v-c8cdb1af"]]),gFe=["onClick"],mFe=Xe({__name:"Tabs",props:{value:{},tabs:{},card:{type:Boolean,default:!1},tabsStyle:{},tabStyle:{},spaceAround:{type:Boolean,default:!1},spaceBetween:{type:Boolean,default:!1}},emits:["update:value"],setup(e,{emit:t}){const n=t;return(r,i)=>(U(),te("div",{class:ze(["tabs",{card:r.card,"space-around":r.spaceAround,"space-between":r.spaceBetween}]),style:Le(r.tabsStyle||{})},[(U(!0),te(We,null,nt(r.tabs,o=>(U(),te("div",{class:ze(["tab",{active:o.key===r.value}]),key:o.key,style:Le({...r.tabStyle||{},"--color":o.color}),onClick:a=>n("update:value",o.key)},pt(o.label),15,gFe))),128))],6))}}),hl=Be(mFe,[["__scopeId","data-v-c7f9dce0"]]),yFe=Xe({__name:"Button",props:{checked:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},type:{default:"default"},size:{default:"normal"},first:{type:Boolean,default:!1},last:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:t}){const n=e,r=t,i=()=>{n.disabled||r("click")};return(o,a)=>(U(),te("button",{class:ze(["button",{disabled:o.disabled,checked:!o.disabled&&o.checked,default:!o.disabled&&o.type==="default",primary:!o.disabled&&o.type==="primary",checkbox:!o.disabled&&o.type==="checkbox",radio:!o.disabled&&o.type==="radio",small:o.size==="small",first:o.first,last:o.last}]),onClick:a[0]||(a[0]=s=>i())},[ar(o.$slots,"default",{},void 0,!0)],2))}}),et=Be(yFe,[["__scopeId","data-v-3a484f58"]]),AFe={key:0,class:"select-wrap"},RFe={class:"selector"},bFe={class:"icon"},xFe=["onClick"],SFe={class:"selector"},wFe={class:"icon"},MFe=Xe({__name:"Select",props:{value:{},options:{},disabled:{type:Boolean,default:!1},search:{type:Boolean,default:!1},searchLabel:{default:"搜索"}},emits:["update:value"],setup(e,{emit:t}){const n=e,r=t,i=pe(!1),o=pe(),a=pe(),s=pe(0),l=pe(""),u=Se(()=>{var p;return((p=n.options.find(v=>v.value===n.value))==null?void 0:p.label)||n.value}),c=Se(()=>{if(!n.search||!l.value.trim())return n.options;const p=n.options.filter(v=>v.label.toLowerCase().indexOf(l.value.toLowerCase())!==-1);return p.length?p:n.options});_t(i,()=>{i.value?Ir(()=>{a.value&&a.value.focus()}):l.value=""}),o0(()=>{l.value=""});const f=()=>{o.value&&(s.value=o.value.clientWidth)},d=new ResizeObserver(f);Ht(()=>{o.value&&d.observe(o.value)}),Fn(()=>{o.value&&d.unobserve(o.value)});const h=p=>{p.disabled||(r("update:value",p.value),i.value=!1)};return(p,v)=>{const g=xe("IconDown");return p.disabled?(U(),te("div",AFe,[D("div",{class:"select disabled",ref_key:"selectRef",ref:o},[D("div",RFe,pt(p.value),1),D("div",bFe,[ar(p.$slots,"icon",{},()=>[O(g,{size:14})],!0)])],512)])):(U(),_e(Nt,{key:1,class:"select-wrap",trigger:"click",value:i.value,"onUpdate:value":v[1]||(v[1]=m=>i.value=m),placement:"bottom",contentStyle:{padding:0,boxShadow:"0 6px 16px 0 rgba(0, 0, 0, 0.08)"}},{content:ie(()=>[p.search?(U(),te(We,{key:0},[O(fc,{ref_key:"searchInputRef",ref:a,simple:"",placeholder:p.searchLabel,value:l.value,"onUpdate:value":v[0]||(v[0]=m=>l.value=m),style:Le({width:s.value+2+"px"})},null,8,["placeholder","value","style"]),O(Zt,{margin:0})],64)):Ye("",!0),D("div",{class:"options",style:Le({width:s.value+2+"px"})},[(U(!0),te(We,null,nt(c.value,m=>(U(),te("div",{class:ze(["option",{disabled:m.disabled,selected:m.value===p.value}]),key:m.value,onClick:y=>h(m)},pt(m.label),11,xFe))),128))],4)]),default:ie(()=>[D("div",{class:"select",ref_key:"selectRef",ref:o},[D("div",SFe,pt(u.value),1),D("div",wFe,[ar(p.$slots,"icon",{},()=>[O(g,{size:14})],!0)])],512)]),_:3},8,["value"]))}}}),zr=Be(MFe,[["__scopeId","data-v-eb1f268a"]]),LFe=e=>(en("data-v-853e5bc2"),e=e(),tn(),e),TFe={class:"link-dialog"},_Fe={key:2,class:"preview"},OFe=LFe(()=>D("div",null,"预览:",-1)),kFe={class:"btns"},PFe=Xe({__name:"LinkDialog",emits:["close"],setup(e,{emit:t}){var p;const n=t,{handleElement:r}=De(ht()),{slides:i,currentSlide:o}=De(lt()),a=pe("web"),s=pe(""),l=pe(""),u=Se(()=>i.value.map((v,g)=>({label:`幻灯片 ${g+1}`,value:v.id,disabled:o.value.id===v.id})));l.value=((p=i.value.find(v=>v.id!==o.value.id))==null?void 0:p.id)||"";const c=Se(()=>l.value&&i.value.find(v=>v.id===l.value)||null),f=[{key:"web",label:"网页链接"},{key:"slide",label:"幻灯片页面"}],{setLink:d}=Lee();Ht(()=>{var v;(v=r.value)!=null&&v.link&&(r.value.link.type==="web"?s.value=r.value.link.target:r.value.link.type==="slide"&&(l.value=r.value.link.target),a.value=r.value.link.type)});const h=()=>{const v={type:a.value,target:a.value==="web"?s.value:l.value};r.value&&(d(r.value,v)?n("close"):s.value="")};return(v,g)=>(U(),te("div",TFe,[O(hl,{tabs:f,value:a.value,"onUpdate:value":g[0]||(g[0]=m=>a.value=m),tabsStyle:{marginBottom:"20px"}},null,8,["value"]),a.value==="web"?(U(),_e(fc,{key:0,class:"input",value:s.value,"onUpdate:value":g[1]||(g[1]=m=>s.value=m),placeholder:"请输入网页链接地址"},null,8,["value"])):Ye("",!0),a.value==="slide"?(U(),_e(zr,{key:1,class:"input",value:l.value,"onUpdate:value":g[2]||(g[2]=m=>l.value=m),options:u.value},null,8,["value","options"])):Ye("",!0),a.value==="slide"&&c.value?(U(),te("div",_Fe,[OFe,O(dl,{class:"thumbnail",slide:c.value,size:500},null,8,["slide"])])):Ye("",!0),D("div",kFe,[O(et,{onClick:g[3]||(g[3]=m=>n("close")),style:{"margin-right":"10px"}},{default:ie(()=>[Ue("取消")]),_:1}),O(et,{type:"primary",onClick:g[4]||(g[4]=m=>h())},{default:ie(()=>[Ue("确认")]),_:1})])]))}}),CFe=Be(PFe,[["__scopeId","data-v-853e5bc2"]]),IFe=Xe({__name:"Modal",props:{visible:{type:Boolean},width:{default:480},closeButton:{type:Boolean,default:!1},closeOnClickMask:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},contentStyle:{}},emits:["update:visible","closed"],setup(e,{emit:t}){const{IconClose:n}=Ax,r=e,i=pe(),o=t,a=pe(!1),s=Se(()=>({width:r.width+"px",...r.contentStyle||{}}));_t(()=>r.visible,()=>{r.visible&&Ir(()=>i.value.focus())});const l=()=>{o("update:visible",!1),o("closed")},u=()=>{r.visible&&r.closeOnEsc&&l()},c=()=>{r.closeOnClickMask&&l()};return(f,d)=>(U(),_e(dO,{to:"body"},[O(Yh,{name:"modal-fade"},{default:ie(()=>[Ge(D("div",{class:"modal",ref_key:"modalRef",ref:i,tabindex:"-1",onKeyup:d[4]||(d[4]=du(h=>u(),["esc"]))},[D("div",{class:"mask",onClick:d[0]||(d[0]=h=>c())}),O(Yh,{name:"modal-zoom",onAfterLeave:d[2]||(d[2]=h=>a.value=!1),onBeforeEnter:d[3]||(d[3]=h=>a.value=!0)},{default:ie(()=>[Ge(D("div",{class:"modal-content",style:Le(s.value)},[f.closeButton?(U(),te("span",{key:0,class:"close-btn",onClick:d[1]||(d[1]=h=>l())},[O(z(n))])):Ye("",!0),a.value?ar(f.$slots,"default",{key:1},void 0,!0):Ye("",!0)],4),[[uc,f.visible]])]),_:3})],544),[[uc,f.visible]])]),_:3})]))}}),n0=Be(IFe,[["__scopeId","data-v-4d27bcca"]]),NFe={class:"operates"},FFe={key:2,class:"drag-mask"},EFe=Xe({__name:"index",setup(e){const t=ht(),{activeElementIdList:n,activeGroupElementId:r,handleElementId:i,hiddenElementIdList:o,editorAreaFocus:a,gridLineSize:s,showRuler:l,creatingElement:u,creatingCustomShape:c,canvasScale:f,textFormatPainter:d}=De(t),{currentSlide:h}=De(lt()),{ctrlKeyState:p,spaceKeyState:v}=De(pl()),g=pe(),m=pe([]),y=pe(!1),R=()=>y.value=!0;_t(i,()=>{t.setActiveGroupElementId("")});const A=pe([]);Wv(()=>{A.value=h.value?JSON.parse(JSON.stringify(h.value.elements)):[]});const S=pe(),{dragViewport:_,viewportStyles:M}=PSe(S);ISe(S);const{mouseSelection:w,mouseSelectionVisible:L,mouseSelectionQuadrant:k,updateMouseSelection:P}=CSe(A,g),{dragElement:F}=cz(A,m,f),{dragLineElement:C}=ESe(A),{selectElement:N}=FSe(A,F),{scaleElement:I,scaleMultiElement:V}=uz(A,m,f),{rotateElement:W}=sz(A,g,f),{moveShapeKeypoint:Z}=XSe(A,f),{selectAllElements:re}=i3(),{deleteAllElements:Y}=H2(),{pasteElement:B}=zO(),{enterScreeningFromStart:Q}=ld(),{updateSlideIndex:K}=gc(),{createTextElement:q,createShapeElement:j}=c0();Ht(()=>{n.value.length&&Ir(()=>t.setActiveElementIdList([]))});const de=oe=>{n.value.length&&t.setActiveElementIdList([]),v.value?_(oe):P(oe),a.value||t.setEditorareaFocus(!0),d.value&&t.setTextFormatPainter(null),kSe()},G=oe=>{if(n.value.length||u.value||c.value||!g.value)return;const he=g.value.getBoundingClientRect(),ue=(oe.pageX-he.x)/f.value,ge=(oe.pageY-he.y)/f.value;q({left:ue,top:ge,width:200/f.value,height:0})};Fn(()=>{d.value&&t.setTextFormatPainter(null)});const Ae=()=>{a.value&&t.setEditorareaFocus(!1)},{scaleCanvas:ce}=$O(),fe=Yn.throttle(ce,100,{leading:!0,trailing:!1}),le=Yn.throttle(K,300,{leading:!0,trailing:!1}),$=oe=>{oe.preventDefault(),p.value?oe.deltaY>0?fe("-"):oe.deltaY<0&&fe("+"):oe.deltaY>0?le(At.DOWN):oe.deltaY<0&&le(At.UP)},X=()=>{t.setRulerState(!l.value)},{insertElementFromCreateSelection:J,formatCreateSelection:se}=WSe(g),ee=oe=>{const{start:he,end:ue,path:ge,viewBox:Re}=oe,Ee=se({start:he,end:ue});if(Ee){const Ne={};oe.fill&&(Ne.fill=oe.fill),oe.outline&&(Ne.outline=oe.outline),j(Ee,{path:ge,viewBox:Re},Ne)}t.setCreatingCustomShapeState(!1)},ne=()=>[{text:"粘贴",subText:"Ctrl + V",handler:B},{text:"全选",subText:"Ctrl + A",handler:re},{text:"标尺",subText:l.value?"√":"",handler:X},{text:"网格线",handler:()=>t.setGridLineSize(s.value?0:50),children:[{text:"无",subText:s.value===0?"√":"",handler:()=>t.setGridLineSize(0)},{text:"小",subText:s.value===25?"√":"",handler:()=>t.setGridLineSize(25)},{text:"中",subText:s.value===50?"√":"",handler:()=>t.setGridLineSize(50)},{text:"大",subText:s.value===100?"√":"",handler:()=>t.setGridLineSize(100)}]},{text:"重置当前页",handler:Y},{divider:!0},{text:"幻灯片放映",subText:"F5",handler:Q}];return a0(ry,f),(oe,he)=>{const ue=Pn("contextmenu"),ge=Pn("click-outside");return Ge((U(),te("div",{class:"canvas",ref_key:"canvasRef",ref:S,onWheel:he[4]||(he[4]=Re=>$(Re)),onMousedown:he[5]||(he[5]=Re=>de(Re)),onDblclick:he[6]||(he[6]=Re=>G(Re))},[z(u)?(U(),_e(Z7e,{key:0,onCreated:he[0]||(he[0]=Re=>z(J)(Re))})):Ye("",!0),z(c)?(U(),_e(G7e,{key:1,onCreated:he[1]||(he[1]=Re=>ee(Re))})):Ye("",!0),D("div",{class:"viewport-wrapper",style:Le({width:z(M).width*z(f)+"px",height:z(M).height*z(f)+"px",left:z(M).left+"px",top:z(M).top+"px"})},[D("div",NFe,[(U(!0),te(We,null,nt(m.value,(Re,Ee)=>(U(),_e(Mee,{key:Ee,type:Re.type,axis:Re.axis,length:Re.length,canvasScale:z(f)},null,8,["type","axis","length","canvasScale"]))),128)),z(n).length>1?(U(),_e(j7e,{key:0,elementList:A.value,scaleMultiElement:z(V)},null,8,["elementList","scaleMultiElement"])):Ye("",!0),(U(!0),te(We,null,nt(A.value,Re=>Ge((U(),_e(F9e,{key:Re.id,elementInfo:Re,isSelected:z(n).includes(Re.id),isActive:z(i)===Re.id,isActiveGroupElement:z(r)===Re.id,isMultiSelect:z(n).length>1,rotateElement:z(W),scaleElement:z(I),openLinkDialog:R,dragLineElement:z(C),moveShapeKeypoint:z(Z)},null,8,["elementInfo","isSelected","isActive","isActiveGroupElement","isMultiSelect","rotateElement","scaleElement","dragLineElement","moveShapeKeypoint"])),[[uc,!z(o).includes(Re.id)]])),128)),O(N7e)]),D("div",{class:"viewport",ref_key:"viewportRef",ref:g,style:Le({transform:`scale(${z(f)})`})},[z(L)?(U(),_e(_7e,{key:0,top:z(w).top,left:z(w).left,width:z(w).width,height:z(w).height,quadrant:z(k)},null,8,["top","left","width","height","quadrant"])):Ye("",!0),(U(!0),te(We,null,nt(A.value,(Re,Ee)=>Ge((U(),_e(L7e,{key:Re.id,elementInfo:Re,elementIndex:Ee+1,isMultiSelect:z(n).length>1,selectElement:z(N),openLinkDialog:R},null,8,["elementInfo","elementIndex","isMultiSelect","selectElement"])),[[uc,!z(o).includes(Re.id)]])),128))],4)],4),z(v)?(U(),te("div",FFe)):Ye("",!0),z(l)?(U(),_e(D7e,{key:3,viewportStyles:z(M),elementList:A.value},null,8,["viewportStyles","elementList"])):Ye("",!0),O(n0,{visible:y.value,"onUpdate:visible":he[3]||(he[3]=Re=>y.value=Re),width:540},{default:ie(()=>[O(CFe,{onClose:he[2]||(he[2]=Re=>y.value=!1)})]),_:1},8,["visible"])],32)),[[ue,ne],[ge,Ae]])}}}),XFe=Be(EFe,[["__scopeId","data-v-904dbab0"]]),WFe={class:"shape-item-thumbnail"},VFe={class:"shape-content"},DFe={overflow:"visible",width:"18",height:"18"},UFe=["transform"],BFe=["fill","stroke","d"],YFe=Xe({__name:"ShapeItemThumbnail",props:{shape:{}},setup(e){return(t,n)=>(U(),te("div",WFe,[D("div",VFe,[(U(),te("svg",DFe,[D("g",{transform:`scale(${18/t.shape.viewBox[0]}, ${18/t.shape.viewBox[1]}) translate(0,0) matrix(1,0,0,1,0,0)`},[D("path",{class:ze(["shape-path",{outlined:t.shape.outlined}]),"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:t.shape.outlined?"#999":"transparent",stroke:t.shape.outlined?"transparent":"#999","stroke-width":"2",d:t.shape.path},null,10,BFe)],8,UFe)]))])]))}}),Nee=Be(YFe,[["__scopeId","data-v-2896ae03"]]),ZFe={class:"shape-pool"},QFe={class:"category-name"},HFe={class:"shape-list"},KFe=Xe({__name:"ShapePool",emits:["select"],setup(e,{emit:t}){const n=t,r=i=>{n("select",i)};return(i,o)=>(U(),te("div",ZFe,[(U(!0),te(We,null,nt(z(HO),a=>(U(),te("div",{class:"category",key:a.type},[D("div",QFe,pt(a.type),1),D("div",HFe,[(U(!0),te(We,null,nt(a.children,(s,l)=>(U(),_e(Nee,{class:"shape-item",key:l,shape:s,onClick:u=>r(s)},null,8,["shape","onClick"]))),128))])]))),128))]))}}),GFe=Be(KFe,[["__scopeId","data-v-d92f642a"]]),zFe=[{type:"直线",children:[{path:"M 0 0 L 20 20",style:"solid",points:["",""]},{path:"M 0 0 L 20 20",style:"dashed",points:["",""]},{path:"M 0 0 L 20 20",style:"solid",points:["","arrow"]},{path:"M 0 0 L 20 20",style:"dashed",points:["","arrow"]},{path:"M 0 0 L 20 20",style:"solid",points:["","dot"]}]},{type:"折线、曲线",children:[{path:"M 0 0 L 0 20 L 20 20",style:"solid",points:["","arrow"],isBroken:!0},{path:"M 0 0 L 10 0 L 10 20 L 20 20",style:"solid",points:["","arrow"],isBroken2:!0},{path:"M 0 0 Q 0 20 20 20",style:"solid",points:["","arrow"],isCurve:!0},{path:"M 0 0 C 20 0 0 20 20 20",style:"solid",points:["","arrow"],isCubic:!0}]}],JFe={class:"line-pool"},$Fe={class:"category-name"},jFe={class:"line-list"},qFe=["onClick"],eEe={overflow:"visible",width:"20",height:"20"},tEe=["d","stroke-dasharray","marker-start","marker-end"],nEe=Xe({__name:"LinePool",emits:["select"],setup(e,{emit:t}){const n=t,r=i=>{n("select",i)};return(i,o)=>(U(),te("div",JFe,[(U(!0),te(We,null,nt(z(zFe),(a,s)=>(U(),te("div",{class:"category",key:a.type},[D("div",$Fe,pt(a.type),1),D("div",jFe,[(U(!0),te(We,null,nt(a.children,(l,u)=>(U(),te("div",{class:"line-item",key:u},[D("div",{class:"line-content",onClick:c=>r(l)},[(U(),te("svg",eEe,[D("defs",null,[l.points[0]?(U(),_e(Kf,{key:0,class:"line-marker",id:`preset-line-${s}-${u}`,position:"start",type:l.points[0],color:"currentColor",baseSize:2},null,8,["id","type"])):Ye("",!0),l.points[1]?(U(),_e(Kf,{key:1,class:"line-marker",id:`preset-line-${s}-${u}`,position:"end",type:l.points[1],color:"currentColor",baseSize:2},null,8,["id","type"])):Ye("",!0)]),D("path",{class:"line-path",d:l.path,stroke:"currentColor",fill:"none","stroke-width":"2","stroke-dasharray":l.style==="solid"?"0, 0":"4, 1","marker-start":l.points[0]?`url(#${`preset-line-${s}-${u}`}-${l.points[0]}-start)`:"","marker-end":l.points[1]?`url(#${`preset-line-${s}-${u}`}-${l.points[1]}-end)`:""},null,8,tEe)]))],8,qFe)]))),128))])]))),128))]))}}),rEe=Be(nEe,[["__scopeId","data-v-fd42a3c4"]]),iEe={class:"chart-pool"},oEe=["onClick"],aEe={class:"name"},sEe=Xe({__name:"ChartPool",emits:["select"],setup(e,{emit:t}){const n=t,r=["bar","column","line","area","scatter","pie","ring","radar"],i=o=>{n("select",o)};return(o,a)=>{const s=xe("IconChartLine"),l=xe("IconChartHistogram"),u=xe("IconChartPie"),c=xe("IconChartHistogramOne"),f=xe("IconChartLineArea"),d=xe("IconChartRing"),h=xe("IconChartScatter"),p=xe("IconRadarChart");return U(),te("ul",iEe,[(U(),te(We,null,nt(r,(v,g)=>D("li",{class:"chart-item",key:g},[D("div",{class:"chart-content",onClick:m=>i(v)},[v==="line"?(U(),_e(s,{key:0,size:"24"})):v==="bar"?(U(),_e(l,{key:1,size:"24"})):v==="pie"?(U(),_e(u,{key:2,size:"24"})):v==="column"?(U(),_e(c,{key:3,size:"24"})):v==="area"?(U(),_e(f,{key:4,size:"24"})):v==="ring"?(U(),_e(d,{key:5,size:"24"})):v==="scatter"?(U(),_e(h,{key:6,size:"24"})):v==="radar"?(U(),_e(p,{key:7,size:"23"})):Ye("",!0),D("div",aEe,pt(z(_T)[v]),1)],8,oEe)])),64))])}}}),lEe=Be(sEe,[["__scopeId","data-v-55770a5d"]]),Fee=e=>(en("data-v-ba8ef208"),e=e(),tn(),e),uEe={class:"prefix"},cEe={class:"input-wrap"},fEe=["disabled","placeholder"],dEe={class:"handlers"},hEe=Fee(()=>D("svg",{fill:"currentColor",width:"1em",height:"1em",viewBox:"64 64 896 896"},[D("path",{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"})],-1)),pEe=[hEe],vEe=Fee(()=>D("svg",{fill:"currentColor",width:"1em",height:"1em",viewBox:"64 64 896 896"},[D("path",{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"})],-1)),gEe=[vEe],mEe={class:"suffix"},yEe=Xe({__name:"NumberInput",props:{value:{},disabled:{type:Boolean,default:!1},placeholder:{default:""},min:{default:0},max:{default:1/0},step:{default:1}},emits:["update:value","input","change","blur","focus","enter"],setup(e,{emit:t}){const n=e,r=t,i=pe(0),o=pe(!1);_t(()=>n.value,()=>{n.value!==i.value&&(i.value=n.value)},{immediate:!0}),_t(i,()=>{const c=+i.value;if(!isNaN(c)){{if(c>n.max)return;if(c<n.min)return}i.value=c,r("update:value",i.value)}});const a=()=>{let c=+i.value;isNaN(c)?c=n.min:c>n.max?c=n.max:c<n.min&&(c=n.min),i.value=c,r("update:value",i.value)},s=c=>{a(),r("enter",c)},l=c=>{a(),o.value=!1,r("blur",c)},u=c=>{o.value=!0,r("focus",c)};return(c,f)=>(U(),te("div",{class:ze(["number-input",{disabled:c.disabled,focused:o.value}])},[D("span",uEe,[ar(c.$slots,"prefix",{},void 0,!0)]),D("div",cEe,[Ge(D("input",{type:"text",disabled:c.disabled,"onUpdate:modelValue":f[0]||(f[0]=d=>i.value=d),placeholder:c.placeholder,onInput:f[1]||(f[1]=d=>r("input",d)),onFocus:f[2]||(f[2]=d=>u(d)),onBlur:f[3]||(f[3]=d=>l(d)),onChange:f[4]||(f[4]=d=>r("change",d)),onKeydown:f[5]||(f[5]=du(d=>s(d),["enter"]))},null,40,fEe),[[Dm,i.value]]),D("div",dEe,[D("span",{class:"handler",onClick:f[6]||(f[6]=d=>i.value+=c.step)},pEe),D("span",{class:"handler",onClick:f[7]||(f[7]=d=>i.value-=c.step)},gEe)])]),D("span",mEe,[ar(c.$slots,"suffix",{},void 0,!0)])],2))}}),qo=Be(yEe,[["__scopeId","data-v-ba8ef208"]]),Eee=e=>(en("data-v-dcc16f05"),e=e(),tn(),e),AEe={class:"table-generator"},REe={class:"title"},bEe={class:"lef"},xEe=["onMouseenter"],SEe={key:1,class:"custom"},wEe={class:"row"},MEe=Eee(()=>D("div",{class:"label",style:{width:"25%"}},"行数:",-1)),LEe={class:"row"},TEe=Eee(()=>D("div",{class:"label",style:{width:"25%"}},"列数:",-1)),_Ee={class:"btns"},OEe=Xe({__name:"TableGenerator",emits:["insert","close"],setup(e,{emit:t}){const n=t,r=pe([]),i=pe(3),o=pe(3),a=pe(!1),s=()=>{if(!r.value.length)return;const[c,f]=r.value;n("insert",{row:c,col:f})},l=()=>{if(i.value<1||i.value>20||o.value<1||o.value>20)return gn.warning("行数/列数必须在0~20之间!");n("insert",{row:i.value,col:o.value}),a.value=!1},u=()=>{n("close"),a.value=!1};return(c,f)=>(U(),te("div",AEe,[D("div",REe,[D("div",bEe,"表格 "+pt(r.value.length?`${r.value[0]} x ${r.value[1]}`:""),1),D("div",{class:"right",onClick:f[0]||(f[0]=d=>a.value=!a.value)},pt(a.value?"返回":"自定义"),1)]),a.value?(U(),te("div",SEe,[D("div",wEe,[MEe,O(qo,{min:1,max:20,value:i.value,"onUpdate:value":f[3]||(f[3]=d=>i.value=d),style:{width:"75%"}},null,8,["value"])]),D("div",LEe,[TEe,O(qo,{min:1,max:20,value:o.value,"onUpdate:value":f[4]||(f[4]=d=>o.value=d),style:{width:"75%"}},null,8,["value"])]),D("div",_Ee,[O(et,{class:"btn",onClick:f[5]||(f[5]=d=>u())},{default:ie(()=>[Ue("取消")]),_:1}),O(et,{class:"btn",type:"primary",onClick:f[6]||(f[6]=d=>l())},{default:ie(()=>[Ue("确认")]),_:1})])])):(U(),te("table",{key:0,onMouseleave:f[1]||(f[1]=d=>r.value=[]),onClick:f[2]||(f[2]=d=>s())},[D("tbody",null,[(U(),te(We,null,nt(10,d=>D("tr",{key:d},[(U(),te(We,null,nt(10,h=>D("td",{onMouseenter:p=>r.value=[d,h],key:h},[D("div",{class:ze(["cell",{active:r.value.length&&d<=r.value[0]&&h<=r.value[1]}])},null,2)],40,xEe)),64))])),64))])],32))]))}}),kEe=Be(OEe,[["__scopeId","data-v-dcc16f05"]]),PEe={class:"media-input"},CEe={class:"btns"},IEe={class:"btns"},NEe=Xe({__name:"MediaInput",emits:["insertVideo","insertAudio","close"],setup(e,{emit:t}){const n=t,r=pe("video"),i=pe("https://mazwai.com/videvo_files/video/free/2019-01/small_watermarked/181004_04_Dolphins-Whale_06_preview.webm"),o=pe("https://freesound.org/data/previews/614/614107_11861866-lq.mp3"),a=[{key:"video",label:"视频"},{key:"audio",label:"音频"}],s=()=>{if(!i.value)return gn.error("请先输入正确的视频地址");n("insertVideo",i.value)},l=()=>{if(!o.value)return gn.error("请先输入正确的音频地址");n("insertAudio",o.value)};return(u,c)=>(U(),te("div",PEe,[O(hl,{tabs:a,value:r.value,"onUpdate:value":c[0]||(c[0]=f=>r.value=f),tabsStyle:{marginBottom:"15px"}},null,8,["value"]),r.value==="video"?(U(),te(We,{key:0},[O(fc,{value:i.value,"onUpdate:value":c[1]||(c[1]=f=>i.value=f),placeholder:"请输入视频地址,e.g. https://xxx.mp4"},null,8,["value"]),D("div",CEe,[O(et,{onClick:c[2]||(c[2]=f=>n("close")),style:{"margin-right":"10px"}},{default:ie(()=>[Ue("取消")]),_:1}),O(et,{type:"primary",onClick:c[3]||(c[3]=f=>s())},{default:ie(()=>[Ue("确认")]),_:1})])],64)):Ye("",!0),r.value==="audio"?(U(),te(We,{key:1},[O(fc,{value:o.value,"onUpdate:value":c[4]||(c[4]=f=>o.value=f),placeholder:"请输入音频地址,e.g. https://xxx.mp3"},null,8,["value"]),D("div",IEe,[O(et,{onClick:c[5]||(c[5]=f=>n("close")),style:{"margin-right":"10px"}},{default:ie(()=>[Ue("取消")]),_:1}),O(et,{type:"primary",onClick:c[6]||(c[6]=f=>l())},{default:ie(()=>[Ue("确认")]),_:1})])],64)):Ye("",!0)]))}}),FEe=Be(NEe,[["__scopeId","data-v-999b18ca"]]);var ER=82;function Np(e){return S_[e]==null&&EEe(e),S_[e]}function EEe(e){var t=XEe[e];if(t!=null){for(var n=t.substring(3,5),r=1*n.charCodeAt(0)-ER,i=1*n.charCodeAt(1)-ER,o=t.substring(5),a=[[]],s=1/0,l=-1/0,u=1/0,c=-1/0,f=0;f<o.length;){var d=o.substring(f,f+2);if(d==" R")a.push([]);else{var h=d.charCodeAt(0)-ER-r,p=d.charCodeAt(1)-ER;s=Math.min(p,s),l=Math.max(p,l),u=Math.min(h,u),c=Math.max(h,c),a[a.length-1].push([h,p])}f+=2}S_[e]={w:i-r,xmin:u,xmax:c,ymin:s,ymax:l,polylines:a}}}var S_={},XEe={1:" 9MWRMNV RRMVV RPSTS",2:" 16MWOMOV ROMSMUNUPSQ ROQSQURUUSVOV",3:" 11MXVNTMRMPNOPOSPURVTVVU",4:" 12MWOMOV ROMRMTNUPUSTURVOV",5:" 12MWOMOV ROMUM ROQSQ ROVUV",6:" 9MVOMOV ROMUM ROQSQ",7:" 15MXVNTMRMPNOPOSPURVTVVUVR RSRVR",8:" 9MWOMOV RUMUV ROQUQ",9:" 3PTRMRV",10:" 7NUSMSTRVPVOTOS",11:" 9MWOMOV RUMOS RQQUV",12:" 6MVOMOV ROVUV",13:" 12LXNMNV RNMRV RVMRV RVMVV",14:" 9MWOMOV ROMUV RUMUV",15:" 14MXRMPNOPOSPURVSVUUVSVPUNSMRM",16:" 10MWOMOV ROMSMUNUQSROR",17:" 17MXRMPNOPOSPURVSVUUVSVPUNSMRM RSTVW",18:" 13MWOMOV ROMSMUNUQSROR RRRUV",19:" 13MWUNSMQMONOOPPTRUSUUSVQVOU",20:" 6MWRMRV RNMVM",21:" 9MXOMOSPURVSVUUVSVM",22:" 6MWNMRV RVMRV",23:" 12LXNMPV RRMPV RRMTV RVMTV",24:" 6MWOMUV RUMOV",25:" 7MWNMRQRV RVMRQ",26:" 9MWUMOV ROMUM ROVUV",27:" 9MWRMNV RRMVV RPSTS",28:" 16MWOMOV ROMSMUNUPSQ ROQSQURUUSVOV",29:" 6MVOMOV ROMUM",30:" 9MWRMNV RRMVV RNVVV",31:" 12MWOMOV ROMUM ROQSQ ROVUV",32:" 9MWUMOV ROMUM ROVUV",33:" 9MWOMOV RUMUV ROQUQ",34:" 20MXRMPNOPOSPURVSVUUVSVPUNSMRM RQQTR RTQQR",35:" 3PTRMRV",36:" 9MWOMOV RUMOS RQQUV",37:" 6MWRMNV RRMVV",38:" 12LXNMNV RNMRV RVMRV RVMVV",39:" 9MWOMOV ROMUV RUMUV",40:" 12MWOMUM RPQTR RTQPR ROVUV",41:" 14MXRMPNOPOSPURVSVUUVSVPUNSMRM",42:" 9MWOMOV RUMUV ROMUM",43:" 10MWOMOV ROMSMUNUQSROR",44:" 10MWOMRQOV ROMUM ROVUV",45:" 6MWRMRV RNMVM",46:" 15MWNONNOMPMQNRPRV RVOVNUMTMSNRP",47:" 13LXRMRV RPONPNSPTTTVSVPTOPO",48:" 6MWOMUV RUMOV",49:" 12LXRMRV RNOOPOSQTSTUSUPVO",50:" 13MXOVQVOROPPNRMSMUNVPVRTVVV",200:" 12MWRMPNOPOSPURVTUUSUPTNRM",201:" 4MWPORMRV",202:" 9MWONQMSMUNUPTROVUV",203:" 15MWONQMSMUNUPSQ RRQSQURUUSVQVOU",204:" 7MWSMSV RSMNSVS",205:" 14MWPMOQQPRPTQUSTURVQVOU RPMTM",206:" 14MWTMRMPNOPOSPURVTUUSTQRPPQOS",207:" 6MWUMQV ROMUM",208:" 19MWQMONOPQQSQUPUNSMQM RQQOROUQVSVUUURSQ",209:" 14MWUPTRRSPROPPNRMTNUPUSTURVPV",210:" 6PURURVSVSURU",211:" 7PUSVRVRUSUSWRY",212:" 12PURPRQSQSPRP RRURVSVSURU",213:" 13PURPRQSQSPRP RSVRVRUSUSWRY",214:" 12PURMRR RSMSR RRURVSVSURU",215:" 17NWPNRMSMUNUPRQRRSRSQUP RRURVSVSURU",216:" 3PTRMRQ",217:" 6NVPMPQ RTMTQ",218:" 10NVQMPNPPQQSQTPTNSMQM",219:" 16MWUNSMQMONOPQQTRUSUUSVQVOU RRLRW",220:" 3MWVLNW",221:" 7OVTLRNQPQSRUTW",222:" 7NUPLRNSPSSRUPW",223:" 3PTRLRW",224:" 3LXNRVR",225:" 6LXRNRV RNRVR",226:" 6LXNPVP RNTVT",227:" 6MWOOUU RUOOU",228:" 9MWRORU ROPUT RUPOT",229:" 6PURQRRSRSQRQ",230:" 7PUSMRORQSQSPRP",231:" 7PUSNRNRMSMSORQ",232:" 7LXSOVRSU RNRVR",233:" 12MXRLPW RULSW ROPVP ROSVS",234:" 21LXVRURTSSURVOVNUNSORRQSPSNRMPMONOPQSSUUVVV",235:" 20LXNNOQOSNV RVNUQUSVV RNNQOSOVN RNVQUSUVV",501:" 9I[RFJ[ RRFZ[ RMTWT",502:" 24G\\KFK[ RKFTFWGXHYJYLXNWOTP RKPTPWQXRYTYWXYWZT[K[",503:" 19H]ZKYIWGUFQFOGMILKKNKSLVMXOZQ[U[WZYXZV",504:" 16G\\KFK[ RKFRFUGWIXKYNYSXVWXUZR[K[",505:" 12H[LFL[ RLFYF RLPTP RL[Y[",506:" 9HZLFL[ RLFYF RLPTP",507:" 23H]ZKYIWGUFQFOGMILKKNKSLVMXOZQ[U[WZYXZVZS RUSZS",508:" 9G]KFK[ RYFY[ RKPYP",509:" 3NVRFR[",510:" 11JZVFVVUYTZR[P[NZMYLVLT",511:" 9G\\KFK[ RYFKT RPOY[",512:" 6HYLFL[ RL[X[",513:" 12F^JFJ[ RJFR[ RZFR[ RZFZ[",514:" 9G]KFK[ RKFY[ RYFY[",515:" 22G]PFNGLIKKJNJSKVLXNZP[T[VZXXYVZSZNYKXIVGTFPF",516:" 14G\\KFK[ RKFTFWGXHYJYMXOWPTQKQ",517:" 25G]PFNGLIKKJNJSKVLXNZP[T[VZXXYVZSZNYKXIVGTFPF RSWY]",518:" 17G\\KFK[ RKFTFWGXHYJYLXNWOTPKP RRPY[",519:" 21H\\YIWGTFPFMGKIKKLMMNOOUQWRXSYUYXWZT[P[MZKX",520:" 6JZRFR[ RKFYF",521:" 11G]KFKULXNZQ[S[VZXXYUYF",522:" 6I[JFR[ RZFR[",523:" 12F^HFM[ RRFM[ RRFW[ R\\FW[",524:" 6H\\KFY[ RYFK[",525:" 7I[JFRPR[ RZFRP",526:" 9H\\YFK[ RKFYF RK[Y[",527:" 9I[RFJ[ RRFZ[ RMTWT",528:" 24G\\KFK[ RKFTFWGXHYJYLXNWOTP RKPTPWQXRYTYWXYWZT[K[",529:" 6HYLFL[ RLFXF",530:" 9I[RFJ[ RRFZ[ RJ[Z[",531:" 12H[LFL[ RLFYF RLPTP RL[Y[",532:" 9H\\YFK[ RKFYF RK[Y[",533:" 9G]KFK[ RYFY[ RKPYP",534:" 25G]PFNGLIKKJNJSKVLXNZP[T[VZXXYVZSZNYKXIVGTFPF ROPUP",535:" 3NVRFR[",536:" 9G\\KFK[ RYFKT RPOY[",537:" 6I[RFJ[ RRFZ[",538:" 12F^JFJ[ RJFR[ RZFR[ RZFZ[",539:" 9G]KFK[ RKFY[ RYFY[",540:" 9I[KFYF ROPUP RK[Y[",541:" 22G]PFNGLIKKJNJSKVLXNZP[T[VZXXYVZSZNYKXIVGTFPF",542:" 9G]KFK[ RYFY[ RKFYF",543:" 14G\\KFK[ RKFTFWGXHYJYMXOWPTQKQ",544:" 10I[KFRPK[ RKFYF RK[Y[",545:" 6JZRFR[ RKFYF",546:" 19I[KKKILGMFOFPGQIRMR[ RYKYIXGWFUFTGSIRM",547:" 21H\\RFR[ RPKMLLMKOKRLTMUPVTVWUXTYRYOXMWLTKPK",548:" 6H\\KFY[ RK[YF",549:" 18G]RFR[ RILJLKMLQMSNTQUSUVTWSXQYMZL[L",550:" 17H\\K[O[LTKPKLLINGQFSFVGXIYLYPXTU[Y[",551:" 20G[G[IZLWOSSLVFV[UXSUQSNQLQKRKTLVNXQZT[Y[",552:" 41F]SHTITLSPRSQUOXMZK[J[IZIWJRKOLMNJPHRGUFXFZG[I[KZMYNWOTP RSPTPWQXRYTYWXYWZU[R[PZOX",553:" 24H\\TLTMUNWNYMZKZIYGWFTFQGOIMLLNKRKVLYMZO[Q[TZVXWV",554:" 35G^TFRGQIPMOSNVMXKZI[G[FZFXGWIWKXMZP[S[VZXXZT[O[KZHYGWFTFRHRJSMUPWRZT\\U",555:" 28H\\VJVKWLYLZKZIYGVFRFOGNINLONPOSPPPMQLRKTKWLYMZP[S[VZXXYV",556:" 28H\\RLPLNKMINGQFTFXG[G]F RXGVNTTRXPZN[L[JZIXIVJULUNV RQPZP",557:" 29G^G[IZMVPQQNRJRGQFPFOGNINLONQOUOXNYMZKZQYVXXVZS[O[LZJXIVIT",558:" 38F^MMKLJJJIKGMFNFPGQIQKPONULYJ[H[GZGX RMRVOXN[L]J^H^G]F\\FZHXLVRUWUZV[W[YZZY\\V",559:" 25IZWVUTSQROQLQIRGSFUFVGWIWLVQTVSXQZO[M[KZJXJVKUMUOV",560:" 25JYT^R[PVOPOJPGRFTFUGVJVMURR[PaOdNfLgKfKdLaN^P\\SZWX",561:" 39F^MMKLJJJIKGMFNFPGQIQKPONULYJ[H[GZGX R^I^G]F\\FZGXIVLTNROPO RROSQSXTZU[V[XZYY[V",562:" 29I\\MRORSQVOXMYKYHXFVFUGTISNRSQVPXNZL[J[IZIXJWLWNXQZT[V[YZ[X",563:" 45@aEMCLBJBICGEFFFHGIIIKHPGTE[ RGTJLLHMGOFPFRGSISKRPQTO[ RQTTLVHWGYFZF\\G]I]K\\PZWZZ[[\\[^Z_YaV",564:" 32E]JMHLGJGIHGJFKFMGNINKMPLTJ[ RLTOLQHRGTFVFXGYIYKXPVWVZW[X[ZZ[Y]V",565:" 29H]TFQGOIMLLNKRKVLYMZO[Q[TZVXXUYSZOZKYHXGVFTFRHRKSNUQWSZU\\V",566:" 31F_SHTITLSPRSQUOXMZK[J[IZIWJRKOLMNJPHRGUFZF\\G]H^J^M]O\\PZQWQUPTO",567:" 32H^ULTNSOQPOPNNNLOIQGTFWFYGZIZMYPWSSWPYNZK[I[HZHXIWKWMXPZS[V[YZ[X",568:" 38F_SHTITLSPRSQUOXMZK[J[IZIWJRKOLMNJPHRGUFYF[G\\H]J]M\\O[PYQVQSPTQUSUXVZX[ZZ[Y]V",569:" 28H\\H[JZLXOTQQSMTJTGSFRFQGPIPKQMSOVQXSYUYWXYWZT[P[MZKXJVJT",570:" 25H[RLPLNKMINGQFTFXG[G]F RXGVNTTRXPZN[L[JZIXIVJULUNV",571:" 33E]JMHLGJGIHGJFKFMGNINKMOLRKVKXLZN[P[RZSYUUXMZF RXMWQVWVZW[X[ZZ[Y]V",572:" 32F]KMILHJHIIGKFLFNGOIOKNOMRLVLYM[O[QZTWVTXPYMZIZGYFXFWGVIVKWNYP[Q",573:" 25C_HMFLEJEIFGHFIFKGLILLK[ RUFK[ RUFS[ RaF_G\\JYNVTS[",574:" 36F^NLLLKKKILGNFPFRGSISLQUQXRZT[V[XZYXYVXUVU R]I]G\\FZFXGVITLPUNXLZJ[H[GZGX",575:" 38F]KMILHJHIIGKFLFNGOIOKNOMRLVLXMZN[P[RZTXVUWSYM R[FYMVWT]RbPfNgMfMdNaP^S[VY[V",576:" 40H]ULTNSOQPOPNNNLOIQGTFWFYGZIZMYPWTTWPZN[K[JZJXKWNWPXQYR[R^QaPcNfLgKfKdLaN^Q[TYZV",583:" 9I[JFR[ RZFR[ RJFZF",601:" 18I\\XMX[ RXPVNTMQMONMPLSLUMXOZQ[T[VZXX",602:" 18H[LFL[ RLPNNPMSMUNWPXSXUWXUZS[P[NZLX",603:" 15I[XPVNTMQMONMPLSLUMXOZQ[T[VZXX",604:" 18I\\XFX[ RXPVNTMQMONMPLSLUMXOZQ[T[VZXX",605:" 18I[LSXSXQWOVNTMQMONMPLSLUMXOZQ[T[VZXX",606:" 9MYWFUFSGRJR[ ROMVM",607:" 23I\\XMX]W`VaTbQbOa RXPVNTMQMONMPLSLUMXOZQ[T[VZXX",608:" 11I\\MFM[ RMQPNRMUMWNXQX[",609:" 9NVQFRGSFREQF RRMR[",610:" 12MWRFSGTFSERF RSMS^RaPbNb",611:" 9IZMFM[ RWMMW RQSX[",612:" 3NVRFR[",613:" 19CaGMG[ RGQJNLMOMQNRQR[ RRQUNWMZM\\N]Q][",614:" 11I\\MMM[ RMQPNRMUMWNXQX[",615:" 18I\\QMONMPLSLUMXOZQ[T[VZXXYUYSXPVNTMQM",616:" 18H[LMLb RLPNNPMSMUNWPXSXUWXUZS[P[NZLX",617:" 18I\\XMXb RXPVNTMQMONMPLSLUMXOZQ[T[VZXX",618:" 9KXOMO[ ROSPPRNTMWM",619:" 18J[XPWNTMQMNNMPNRPSUTWUXWXXWZT[Q[NZMX",620:" 9MYRFRWSZU[W[ ROMVM",621:" 11I\\MMMWNZP[S[UZXW RXMX[",622:" 6JZLMR[ RXMR[",623:" 12G]JMN[ RRMN[ RRMV[ RZMV[",624:" 6J[MMX[ RXMM[",625:" 10JZLMR[ RXMR[P_NaLbKb",626:" 9J[XMM[ RMMXM RM[X[",627:" 24H]QMONMPLRKUKXLZN[P[RZUWWTYPZM RQMSMTNUPWXXZY[Z[",628:" 31I\\UFSGQIOMNPMTLZKb RUFWFYHYKXMWNUORO RROTPVRWTWWVYUZS[Q[OZNYMV",629:" 17I\\JPLNNMOMQNROSRSVR[ RZMYPXRR[P_Ob",630:" 24I[TMQMONMPLSLVMYNZP[R[TZVXWUWRVOTMRKQIQGRFTFVGXI",631:" 19JZWOVNTMQMONOPPRSS RSSOTMVMXNZP[S[UZWX",632:" 23JYTFRGQHQIRJUKXK RXKTMQONRMUMWNYP[S]T_TaSbQbP`",633:" 19H\\IQJOLMNMONOPNTL[ RNTPPRNTMVMXOXRWWTb",634:" 27G\\HQIOKMMMNNNPMUMXNZO[Q[SZUWVUWRXMXJWGUFSFRHRJSMUPWRZT",635:" 9LWRMPTOXOZP[R[TYUW",636:" 19I[OMK[ RYNXMWMUNQROSNS RNSPTQUSZT[U[VZ",637:" 9JZKFMFOGPHX[ RRML[",638:" 21H]OMIb RNQMVMYO[Q[SZUXWT RYMWTVXVZW[Y[[Y\\W",639:" 14I[LMOMNSMXL[ RYMXPWRUURXOZL[",640:" 29JZTFRGQHQIRJUKXK RUKRLPMOOOQQSTTVT RTTPUNVMXMZO\\S^T_TaRbPb",641:" 18J[RMPNNPMSMVNYOZQ[S[UZWXXUXRWOVNTMRM",642:" 13G]PML[ RUMVSWXX[ RIPKNNM[M",643:" 19I[MSMVNYOZQ[S[UZWXXUXRWOVNTMRMPNNPMSIb",644:" 18I][MQMONMPLSLVMYNZP[R[TZVXWUWRVOUNSM",645:" 8H\\SMP[ RJPLNOMZM",646:" 16H\\IQJOLMNMONOPMVMYO[Q[TZVXXTYPYM",647:" 21G]ONMOKQJTJWKYLZN[Q[TZWXYUZRZOXMVMTORSPXMb",648:" 14I[KMMMOOU`WbYb RZMYOWRM]K`Jb",649:" 20F]VFNb RGQHOJMLMMNMPLULXMZO[Q[TZVXXUZP[M",650:" 23F]NMLNJQITIWJZK[M[OZQW RRSQWRZS[U[WZYWZTZQYNXM",651:" 22L\\UUTSRRPRNSMTLVLXMZO[Q[SZTXVRUWUZV[W[YZZY\\V",652:" 23M[MVOSRNSLTITGSFQGPIOMNTNZO[P[RZTXUUURVVWWYW[V",653:" 14MXTTTSSRQROSNTMVMXNZP[S[VYXV",654:" 24L\\UUTSRRPRNSMTLVLXMZO[Q[SZTXZF RVRUWUZV[W[YZZY\\V",655:" 17NXOYQXRWSUSSRRQROSNUNXOZQ[S[UZVYXV",656:" 24OWOVSQUNVLWIWGVFTGSIQQNZKaJdJfKgMfNcOZP[R[TZUYWV",657:" 28L[UUTSRRPRNSMTLVLXMZO[Q[SZTY RVRTYPdOfMgLfLdMaP^S\\U[XY[V",658:" 29M\\MVOSRNSLTITGSFQGPIOMNSM[ RM[NXOVQSSRURVSVUUXUZV[W[YZZY\\V",659:" 16PWSMSNTNTMSM RPVRRPXPZQ[R[TZUYWV",660:" 20PWSMSNTNTMSM RPVRRLdKfIgHfHdIaL^O\\Q[TYWV",661:" 33M[MVOSRNSLTITGSFQGPIOMNSM[ RM[NXOVQSSRURVSVUTVQV RQVSWTZU[V[XZYY[V",662:" 18OWOVQSTNULVIVGUFSGRIQMPTPZQ[R[TZUYWV",663:" 33E^EVGSIRJSJTIXH[ RIXJVLSNRPRQSQTPXO[ RPXQVSSURWRXSXUWXWZX[Y[[Z\\Y^V",664:" 23J\\JVLSNROSOTNXM[ RNXOVQSSRURVSVUUXUZV[W[YZZY\\V",665:" 23LZRRPRNSMTLVLXMZO[Q[SZTYUWUUTSRRQSQURWTXWXYWZV",666:" 24KZKVMSNQMUGg RMUNSPRRRTSUUUWTYSZQ[ RMZO[R[UZWYZV",667:" 27L[UUTSRRPRNSMTLVLXMZO[Q[SZ RVRUUSZPaOdOfPgRfScS\\U[XY[V",668:" 15MZMVOSPQPSSSTTTVSYSZT[U[WZXYZV",669:" 16NYNVPSQQQSSVTXTZR[ RNZP[T[VZWYYV",670:" 16OXOVQSSO RVFPXPZQ[S[UZVYXV RPNWN",671:" 19L[LVNRLXLZM[O[QZSXUU RVRTXTZU[V[XZYY[V",672:" 17L[LVNRMWMZN[O[RZTXUUUR RURVVWWYW[V",673:" 25I^LRJTIWIYJ[L[NZPX RRRPXPZQ[S[UZWXXUXR RXRYVZW\\W^V",674:" 20JZJVLSNRPRQSQZR[U[XYZV RWSVRTRSSOZN[L[KZ",675:" 23L[LVNRLXLZM[O[QZSXUU RVRPdOfMgLfLdMaP^S\\U[XY[V",676:" 23LZLVNSPRRRTTTVSXQZN[P\\Q^QaPdOfMgLfLdMaP^S\\WYZV",677:" 22J\\K[NZQXSVUSWOXKXIWGUFSGRHQJPOPTQXRZT[V[XZYY",683:" 26I[WUWRVOUNSMQMONMPLSLVMYNZP[R[TZVXWUXPXKWHVGTFRFPGNI",684:" 16JZWNUMRMPNNPMSMVNYOZQ[T[VZ RMTUT",685:" 23J[TFRGPJOLNOMTMXNZO[Q[SZUWVUWRXMXIWGVFTF RNPWP",686:" 21H\\VFNb RQMNNLPKSKVLXNZQ[S[VZXXYUYRXPVNSMQM",687:" 16I[XOWNTMQMNNMOLQLSMUOWSZT\\T^S_Q_",700:" 18H\\QFNGLJKOKRLWNZQ[S[VZXWYRYOXJVGSFQF",701:" 5H\\NJPISFS[",702:" 15H\\LKLJMHNGPFTFVGWHXJXLWNUQK[Y[",703:" 16H\\MFXFRNUNWOXPYSYUXXVZS[P[MZLYKW",704:" 7H\\UFKTZT RUFU[",705:" 18H\\WFMFLOMNPMSMVNXPYSYUXXVZS[P[MZLYKW",706:" 24H\\XIWGTFRFOGMJLOLTMXOZR[S[VZXXYUYTXQVOSNRNOOMQLT",707:" 6H\\YFO[ RKFYF",708:" 30H\\PFMGLILKMMONSOVPXRYTYWXYWZT[P[MZLYKWKTLRNPQOUNWMXKXIWGTFPF",709:" 24H\\XMWPURRSQSNRLPKMKLLINGQFRFUGWIXMXRWWUZR[P[MZLX",710:" 6MWRYQZR[SZRY",711:" 9MWSZR[QZRYSZS\\R^Q_",712:" 12MWRMQNROSNRM RRYQZR[SZRY",713:" 15MWRMQNROSNRM RSZR[QZRYSZS\\R^Q_",714:" 9MWRFRT RRYQZR[SZRY",715:" 21I[LKLJMHNGPFTFVGWHXJXLWNVORQRT RRYQZR[SZRY",716:" 3NVRFRM",717:" 6JZNFNM RVFVM",718:" 14KYQFOGNINKOMQNSNUMVKVIUGSFQF",719:" 27H\\PBP_ RTBT_ RYIWGTFPFMGKIKKLMMNOOUQWRXSYUYXWZT[P[MZKX",720:" 3G][BIb",721:" 11KYVBTDRGPKOPOTPYR]T`Vb",722:" 11KYNBPDRGTKUPUTTYR]P`Nb",723:" 3NVRBRb",724:" 3E_IR[R",725:" 6E_RIR[ RIR[R",726:" 6E_IO[O RIU[U",727:" 6G]KKYY RYKKY",728:" 9JZRLRX RMOWU RWOMU",729:" 6MWRQQRRSSRRQ",730:" 8MWSFRGQIQKRLSKRJ",731:" 8MWRHQGRFSGSIRKQL",732:" 9E_UMXP[RXTUW RIR[R",733:" 12H]SBLb RYBRb RLOZO RKUYU",734:" 35E_\\O\\N[MZMYNXPVUTXRZP[L[JZIYHWHUISJRQNRMSKSIRGPFNGMIMKNNPQUXWZY[[[\\Z\\Y",735:" 28G]IIJKKOKUJYI[ R[IZKYOYUZY[[ RIIKJOKUKYJ[I RI[KZOYUYYZ[[",737:" 6KYOBO[ RUBU[",738:" 6F^RBR[ RI[[[",739:" 4F^[BI[[[",740:" 18E_RIQJRKSJRI RIYHZI[JZIY R[YZZ[[\\Z[Y",741:" 33F^RHNLKPJSJUKWMXOXQWRU RRHVLYPZSZUYWWXUXSWRU RRUQYP\\ RRUSYT\\ RP\\T\\",742:" 26F^RNQKPINHMHKIJKJOKRLTNWR\\ RRNSKTIVHWHYIZKZOYRXTVWR\\",743:" 20F^RGPJLOIR RRGTJXO[R RIRLUPZR] R[RXUTZR]",744:" 48F^RTTWVXXXZW[U[SZQXPVPSQ RSQUOVMVKUISHQHOINKNMOOQQ RQQNPLPJQISIUJWLXNXPWRT RRTQYP\\ RRTSYT\\ RP\\T\\",745:" 55F^RRR[Q\\ RRVQ\\ RRIQHOHNINKONRR RRISHUHVIVKUNRR RRRNOLNJNIOIQJR RRRVOXNZN[O[QZR RRRNULVJVIUISJR RRRVUXVZV[U[SZR",746:" 55F^ISJSLTMVMXLZ RISIRJQLQMRNTNWMYLZ RRGPIOLOOQUQXPZR\\ RRGTIULUOSUSXTZR\\ R[S[RZQXQWRVTVWWYXZ R[SZSXTWVWXXZ RKVYV",750:" 18PSSRRSQSPRPQQPRPSQSSRUQV RQQQRRRRQQQ",751:" 16PTQPPQPSQTSTTSTQSPQP RRQQRRSSRRQ",752:" 9NVPOTU RTOPU RNRVR",753:" 28MWRKQMOPMR RRKSMUPWR RRMOQ RRMUQ RROPQ RROTQ RQQSQ RMRWR",754:" 26MWMRMQNOONQMSMUNVOWQWR RPNTN ROOUO RNPVP RNQVQ RMRWR",755:" 14LRLFLRRRLF RLIPQ RLLOR RLOMQ",756:" 10MWRKQMOPMR RRKSMUPWR",757:" 11MWWRWQVOUNSMQMONNOMQMR",758:" 13G]]R]P\\MZJWHTGPGMHJJHMGPGR",759:" 11MWMRMSNUOVQWSWUVVUWSWR",760:" 7LXLPNRQSSSVRXP",761:" 6RURUTTURTPRO",762:" 7RVRRUPVNVLUKTK",763:" 7NRRROPNNNLOKPK",764:" 21MWWHVGTFQFOGNHMJMLNNOOUSVTWVWXVZU[S\\P\\N[MZ",765:" 21G]IWHVGTGQHOINKMMMONPOTUUVWWYW[V\\U]S]P\\N[M",766:" 31G]RRTUUVWWYW[V\\U]S]Q\\O[NYMWMUNTOPUOVMWKWIVHUGSGQHOINKMMMONPORR",767:" 22H\\KFK[ RHF[FQP[Z RZV[Y\\[ RZVZY RWYZY RWYZZ\\[",768:" 30KYUARBPCNELHKLKRLUNWQXSXVWXUYR RKPLMNKQJSJVKXMYPYVXZV]T_R`Oa",796:" 3>f>RfR",797:" 3D`D``D",798:" 3RRR>Rf",799:" 3D`DD``",800:" 3D`DR`R",801:" 3F^FY^K",802:" 3KYK^YF",803:" 3RRRDR`",804:" 3KYKFY^",805:" 3F^FK^Y",806:" 3KYKRYR",807:" 3MWMWWM",808:" 3RRRKRY",809:" 3MWMMWW",810:" 8GRRGPGMHJJHMGPGR",811:" 8GRGRGTHWJZM\\P]R]",812:" 8R]R]T]W\\ZZ\\W]T]R",813:" 8R]]R]P\\MZJWHTGRG",814:" 9D`DOGQKSPTTTYS]Q`O",815:" 9PUUDSGQKPPPTQYS]U`",816:" 9OTODQGSKTPTTSYQ]O`",817:" 9D`DUGSKQPPTPYQ]S`U",818:" 5KYRJYNKVRZ",819:" 5JZJRNKVYZR",820:" 5KYKVKNYVYN",821:" 5JZLXJPZTXL",822:" 23JZJ]L]O\\Q[TXUVVSVOULTJSIQIPJOLNONSOVPXS[U\\X]Z]",823:" 23I]]Z]X\\U[SXPVOSNONLOJPIQISJTLUOVSVVUXT[Q\\O]L]J",824:" 23JZZGXGUHSIPLONNQNUOXPZQ[S[TZUXVUVQUNTLQIOHLGJG",825:" 23G[GJGLHOIQLTNUQVUVXUZT[S[QZPXOUNQNNOLPISHUGXGZ",826:" 21E[EPFRHTJUMVQVUUXSZP[NZLWLSMQNNPLSKVKYL\\M^",827:" 19EYETHVKWPWSVVTXQYNYLXKVKSLPNNQMTMYN\\P_",828:" 26OUQOOQOSQUSUUSUQSOQO RQPPQPSQTSTTSTQSPQP RRQQRRSSRRQ",829:" 11RWRMSMUNVOWQWSVUUVSWRW",830:" 9D`DRJR RORUR RZR`R",831:" 5D`DUDO`O`U",832:" 6JZRDJR RRDZR",833:" 9D`DR`R RJYZY RP`T`",834:" 9D`DR`R RDRRb R`RRb",840:" 18KYQKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK",841:" 6LXLLLXXXXLLL",842:" 5KYRJKVYVRJ",843:" 6LXRHLRR\\XRRH",844:" 12JZRIPOJOOSMYRUWYUSZOTORI",845:" 6KYRKRY RKRYR",846:" 6MWMMWW RWMMW",847:" 9MWRLRX RMOWU RWOMU",850:" 35NVQNOONQNSOUQVSVUUVSVQUOSNQN ROQOS RPPPT RQOQU RRORU RSOSU RTPTT RUQUS",851:" 27NVNNNVVVVNNN ROOOU RPOPU RQOQU RRORU RSOSU RTOTU RUOUU",852:" 17MWRLMUWURL RROOT RROUT RRRQT RRRST",853:" 17LULRUWUMLR RORTU RORTO RRRTS RRRTQ",854:" 17MWRXWOMORX RRUUP RRUOP RRRSP RRRQP",855:" 17OXXROMOWXR RURPO RURPU RRRPQ RRRPS",856:" 22LXRLNWXPLPVWRL RRRRL RRRLP RRRNW RRRVW RRRXP",857:" 11RYRKRY RRKYNRQ RSMVNSO",860:" 13MWRLRX ROOUO RMUOWQXSXUWWU",861:" 11LXRLRX RLQMOWOXQ RPWTW",862:" 14KYMNWX RWNMX ROLLOKQ RULXOYQ",863:" 18I[NII[ RVI[[ RMM[[ RWMI[ RNIVI RMMWM",864:" 21I[RGRV RMJWP RWJMP RIVL\\ R[VX\\ RIV[V RL\\X\\",865:" 11G[MJSV RKPSL RG\\[\\[RG\\",866:" 14LXPLPPLPLTPTPXTXTTXTXPTPTLPL",867:" 32KYYPXNVLSKQKNLLNKQKSLVNXQYSYVXXVYT RYPWNUMSMQNPOOQOSPUQVSWUWWVYT",868:" 10KYRJKVYVRJ RRZYNKNRZ",869:" 34G]PIPGQFSFTGTI RGZHXJVKTLPLKMJOIUIWJXKXPYTZV\\X]Z RGZ]Z RQZP[Q\\S\\T[SZ",870:" 64JZRMRS RRSQ\\ RRSS\\ RQ\\S\\ RRMQJPHNG RQJNG RRMSJTHVG RSJVG RRMNKLKJM RPLLLJM RRMVKXKZM RTLXLZM RRMPNOOOR RRMPOOR RRMTNUOUR RRMTOUR",871:" 94JZRIRK RRNRP RRSRU RRYQ\\ RRYS\\ RQ\\S\\ RRGQIPJ RRGSITJ RPJRITJ RRKPNNOMN RRKTNVOWN RNOPORNTOVO RRPPSNTLTKRKSLT RRPTSVTXTYRYSXT RNTPTRSTTVT RRUPXOYMZLZKYJWJYLZ RRUTXUYWZXZYYZWZYXZ RMZOZRYUZWZ",872:" 40JZRYQ\\ RRYS\\ RQ\\S\\ RRYUZXZZXZUYTWTYRZOYMWLUMVJUHSGQGOHNJOMMLKMJOKRMTKTJUJXLZOZRY",873:" 32JZRYQ\\ RRYS\\ RQ\\S\\ RRYVXVVXUXRZQZLYIXHVHTGPGNHLHKIJLJQLRLUNVNXRY",874:" 15I[IPKR RLKNP RRGRO RXKVP R[PYR",899:" 6QSRQQRRSSRRQ",900:" 10PTQPPQPSQTSTTSTQSPQP",901:" 14NVQNOONQNSOUQVSVUUVSVQUOSNQN",902:" 18MWQMONNOMQMSNUOVQWSWUVVUWSWQVOUNSMQM",903:" 18KYQKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK",904:" 22G]PGMHJJHMGPGTHWJZM\\P]T]W\\ZZ\\W]T]P\\MZJWHTGPG",905:" 34AcPALBJCGEEGCJBLAPATBXCZE]G_JaLbPcTcXbZa]__]aZbXcTcPbLaJ_G]EZCXBTAPA",906:" 34<hP<K=G?DAAD?G=K<P<T=Y?]A`DcGeKgPhThYg]e`cc`e]gYhThPgKeGcD`A]?Y=T<P<",907:" 50){O)I*E+@-;073370;-@+E*I)O)U*[+_-d0i3m7q;t@wEyIzO{U{[z_ydwitmqqmtiwdy_z[{U{OzIyEw@t;q7m3i0d-_+[*U)O)",908:" 34>fRAPCMDJDGCEA>H@JAMAZB]D_G`M`PaRc RRATCWDZD]C_AfHdJcMcZb]`_]`W`TaRc",909:" 33AcRAPCMDJDGCEABGAKAPBTDXG\\L`Rc RRATCWDZD]C_AbGcKcPbT`X]\\X`Rc RBHbH",997:" 3MWMXWX",998:" 3JZJZZZ",999:" 3JZJ]Z]",1001:" 18KYRKMX RRNVX RRKWX ROTTT RKXPX RTXYX",1002:" 35JZNKNX ROKOX RLKSKVLWNVPSQ RSKULVNUPSQ ROQSQVRWTWUVWSXLX RSQURVTVUUWSX",1003:" 24KYVLWKWOVLTKQKOLNMMPMSNVOWQXTXVWWU RQKOMNPNSOVQX",1004:" 26JZNKNX ROKOX RLKSKVLWMXPXSWVVWSXLX RSKULVMWPWSVVUWSX",1005:" 22JYNKNX ROKOX RSOSS RLKVKVOUK ROQSQ RLXVXVTUX",1006:" 20JXNKNX ROKOX RSOSS RLKVKVOUK ROQSQ RLXQX",1007:" 36K[VLWKWOVLTKQKOLNMMPMSNVOWQXTXVW RQKOMNPNSOVQX RTXUWVU RVSVX RWSWX RTSYS",1008:" 27J[NKNX ROKOX RVKVX RWKWX RLKQK RTKYK ROQVQ RLXQX RTXYX",1009:" 12NWRKRX RSKSX RPKUK RPXUX",1010:" 19LXSKSURWQX RTKTUSWQXPXNWMUNTOUNV RQKVK",1011:" 27JZNKNX ROKOX RWKOS RQQVX RRQWX RLKQK RTKYK RLXQX RTXYX",1012:" 14KXOKOX RPKPX RMKRK RMXWXWTVX",1013:" 30I\\MKMX RNNRX RNKRU RWKRX RWKWX RXKXX RKKNK RWKZK RKXOX RUXZX",1014:" 21JZNKNX ROMVX ROKVV RVKVX RLKOK RTKXK RLXPX",1015:" 32KZQKOLNMMPMSNVOWQXTXVWWVXSXPWMVLTKQK RQKOMNPNSOVQX RTXVVWSWPVMTK",1016:" 25JYNKNX ROKOX RLKSKVLWNWOVQSROR RSKULVNVOUQSR RLXQX",1017:" 47KZQKOLNMMPMSNVOWQXTXVWWVXSXPWMVLTKQK RQKOMNPNSOVQX RTXVVWSWPVMTK RPWPUQTSTTUUZV[W[XZ RTUUXVZW[",1018:" 37JZNKNX ROKOX RLKSKVLWNWOVQSROR RSKULVNVOUQSR RLXQX RSRTSUWVXWXXW RSRUSVWWX",1019:" 32KZVMWKWOVMULSKQKOLNMNOOPQQTRVSWT RNNOOQPTQVRWSWVVWTXRXPWOVNTNXOV",1020:" 16KZRKRX RSKSX RNKMOMKXKXOWK RPXUX",1021:" 20J[NKNUOWQXTXVWWUWK ROKOUPWQX RLKQK RUKYK",1022:" 15KYMKRX RNKRU RWKRX RKKPK RTKYK",1023:" 24I[LKOX RMKOT RRKOX RRKUX RSKUT RXKUX RJKOK RVKZK",1024:" 21KZNKVX ROKWX RWKNX RLKQK RTKYK RLXQX RTXYX",1025:" 20LYNKRRRX ROKSR RWKSRSX RLKQK RTKYK RPXUX",1026:" 16LYVKNX RWKOX ROKNONKWK RNXWXWTVX",1027:" 18KYRKMX RRNVX RRKWX ROTTT RKXPX RTXYX",1028:" 35JZNKNX ROKOX RLKSKVLWNVPSQ RSKULVNUPSQ ROQSQVRWTWUVWSXLX RSQURVTVUUWSX",1029:" 14KXOKOX RPKPX RMKWKWOVK RMXRX",1030:" 15KYRKLX RRMWX RRKXX RMWVW RLXXX",1031:" 22JYNKNX ROKOX RSOSS RLKVKVOUK ROQSQ RLXVXVTUX",1032:" 16LYVKNX RWKOX ROKNONKWK RNXWXWTVX",1033:" 27J[NKNX ROKOX RVKVX RWKWX RLKQK RTKYK ROQVQ RLXQX RTXYX",1034:" 44KZQKOLNMMPMSNVOWQXTXVWWVXSXPWMVLTKQK RQKOMNPNSOVQX RTXVVWSWPVMTK RQOQT RTOTT RQQTQ RQRTR",1035:" 12NWRKRX RSKSX RPKUK RPXUX",1036:" 27JZNKNX ROKOX RWKOS RQQVX RRQWX RLKQK RTKYK RLXQX RTXYX",1037:" 15KYRKMX RRNVX RRKWX RKXPX RTXYX",1038:" 30I\\MKMX RNNRX RNKRU RWKRX RWKWX RXKXX RKKNK RWKZK RKXOX RUXZX",1039:" 21JZNKNX ROMVX ROKVV RVKVX RLKOK RTKXK RLXPX",1040:" 36JZMJLM RXJWM RPPOS RUPTS RMVLY RXVWY RMKWK RMLWL RPQTQ RPRTR RMWWW RMXWX",1041:" 32KZQKOLNMMPMSNVOWQXTXVWWVXSXPWMVLTKQK RQKOMNPNSOVQX RTXVVWSWPVMTK",1042:" 21J[NKNX ROKOX RVKVX RWKWX RLKYK RLXQX RTXYX",1043:" 25JYNKNX ROKOX RLKSKVLWNWOVQSROR RSKULVNVOUQSR RLXQX",1044:" 20K[MKRQ RNKSQMX RMKWKXOVK RNWWW RMXWXXTVX",1045:" 16KZRKRX RSKSX RNKMOMKXKXOWK RPXUX",1046:" 33KZMONLOKPKQLRORX RXOWLVKUKTLSOSX RMONMOLPLQMRO RXOWMVLULTMSO RPXUX",1047:" 40KZRKRX RSKSX RQNNOMQMRNTQUTUWTXRXQWOTNQN RQNOONQNROTQU RTUVTWRWQVOTN RPKUK RPXUX",1048:" 21KZNKVX ROKWX RWKNX RLKQK RTKYK RLXQX RTXYX",1049:" 33J[RKRX RSKSX RLPMONOOSQU RTUVSWOXOYP RMONROTQUTUVTWRXO RPKUK RPXUX",1050:" 35KZMVNXQXMRMONMOLQKTKVLWMXOXRTXWXXV ROUNRNOOMQK RTKVMWOWRVU RNWPW RUWWW",1051:" 18KYTKKX RSMTX RTKUX RNTTT RIXNX RRXWX",1052:" 34JYPKLX RQKMX RNKUKWLWNVPSQ RUKVLVNUPSQ ROQRQTRUSUUTWQXJX RRQTSTUSWQX",1053:" 25KXVLWLXKWNVLTKRKPLOMNOMRMUNWPXRXTWUU RRKPMOONRNVPX",1054:" 26JYPKLX RQKMX RNKTKVLWNWQVTUVTWQXJX RTKULVNVQUTTVSWQX",1055:" 22JYPKLX RQKMX RSORS RNKXKWNWK ROQRQ RJXTXUUSX",1056:" 20JXPKLX RQKMX RSORS RNKXKWNWK ROQRQ RJXOX",1057:" 33KYVLWLXKWNVLTKRKPLOMNOMRMUNWPXRXTWUVVS RRKPMOONRNVPX RRXTVUS RSSXS",1058:" 27J[PKLX RQKMX RXKTX RYKUX RNKSK RVK[K ROQVQ RJXOX RRXWX",1059:" 12NWTKPX RUKQX RRKWK RNXSX",1060:" 19LXUKRUQWPX RVKSURWPXOXMWLUMTNUMV RSKXK",1061:" 27JZPKLX RQKMX RYKOR RRPTX RSPUX RNKSK RVK[K RJXOX RRXWX",1062:" 14KXQKMX RRKNX ROKTK RKXUXVUTX",1063:" 30I\\OKKX ROMPX RPKQV RYKPX RYKUX RZKVX RMKPK RYK\\K RIXMX RSXXX",1064:" 21JZPKLX RPKTX RQKTU RXKTX RNKQK RVKZK RJXNX",1065:" 32KYRKPLOMNOMRMUNWPXRXTWUVVTWQWNVLTKRK RRKPMOONRNVPX RRXTVUTVQVMTK",1066:" 24JYPKLX RQKMX RNKUKWLXMXOWQTROR RUKWMWOVQTR RJXOX",1067:" 46KYRKPLOMNOMRMUNWPXRXTWUVVTWQWNVLTKRK RRKPMOONRNVPX RRXTVUTVQVMTK ROWOVPUQURVRZS[T[UZ RRVSZT[",1068:" 35JZPKLX RQKMX RNKUKWLXMXOWQTROR RUKWMWOVQTR RSRTWUXVXWW RSRTSUWVX RJXOX",1069:" 28KZWLXLYKXNWLUKRKPLOMOOPPUSVT RONPOURVSVVUWSXPXNWMULXMWNW",1070:" 16KZTKPX RUKQX RPKNNOKZKYNYK RNXSX",1071:" 20J[PKMUMWOXSXUWVUYK RQKNUNWOX RNKSK RWK[K",1072:" 15KYOKPX RPKQV RYKPX RMKRK RVK[K",1073:" 24I[NKMX ROKNV RTKMX RTKSX RUKTV RZKSX RLKQK RXK\\K",1074:" 21KZPKTX RQKUX RYKLX RNKSK RVK[K RJXOX RRXWX",1075:" 20LYPKRQPX RQKSQ RYKSQQX RNKSK RVK[K RNXSX",1076:" 16LYXKLX RYKMX RQKONPKYK RLXUXVUTX",1101:" 32LZQOPPPQOQOPQOTOVQVWWXXX RTOUQUWWX RURRSPTOUOWPXSXTWUU RRSPUPWQX",1102:" 29JYNKNX ROKOX RORPPROTOVPWRWUVWTXRXPWOU RTOUPVRVUUWTX RLKOK",1103:" 24LXVQUQURVRVQUPSOQOOPNRNUOWQXSXUWVV RQOPPOROUPWQX",1104:" 32L[VKVX RWKWX RVRUPSOQOOPNRNUOWQXSXUWVU RQOPPOROUPWQX RTKWK RVXYX",1105:" 26LXOSVSVRUPSOQOOPNRNUOWQXSXUWVV RUSUQSO RQOPPOROUPWQX",1106:" 20LWTKULUMVMVLTKRKPMPX RRKQMQX RNOSO RNXSX",1107:" 42LYQOOQOSQUSUUSUQSOQO RQOPQPSQU RSUTSTQSO RTPUOVO RPTOUOXPYTYVZ ROWPXTXVYV[T\\P\\N[NYPX",1108:" 28J[NKNX ROKOX RORPPROTOVPWRWX RTOUPVRVX RLKOK RLXQX RTXYX",1109:" 18NWRKRLSLSKRK RRORX RSOSX RPOSO RPXUX",1110:" 23NWSKSLTLTKSK RSOSZR\\ RTOTZR\\P\\O[OZPZP[O[ RQOTO",1111:" 27JZNKNX ROKOX RWOOU RRSVX RSSWX RLKOK RTOYO RLXQX RTXYX",1112:" 12NWRKRX RSKSX RPKSK RPXUX",1113:" 44F_JOJX RKOKX RKRLPNOPORPSRSX RPOQPRRRX RSRTPVOXOZP[R[X RXOYPZRZX RHOKO RHXMX RPXUX RXX]X",1114:" 28J[NONX ROOOX RORPPROTOVPWRWX RTOUPVRVX RLOOO RLXQX RTXYX",1115:" 28LYQOOPNRNUOWQXTXVWWUWRVPTOQO RQOPPOROUPWQX RTXUWVUVRUPTO",1116:" 32JYNON\\ ROOO\\ RORPPROTOVPWRWUVWTXRXPWOU RTOUPVRVUUWTX RLOOO RL\\Q\\",1117:" 29KYUOU\\ RVOV\\ RURTPROPONPMRMUNWPXRXTWUU RPOOPNRNUOWPX RS\\X\\",1118:" 22KXOOOX RPOPX RPRQPSOUOVPVQUQUPVP RMOPO RMXRX",1119:" 26LYTOUPUQVQVPTOQOOPORQSTTVU ROQQRTSVTVWTXQXOWOVPVPWQX",1120:" 14LWPKPVRXTXUWUV RQKQVRX RNOTO",1121:" 28J[NONUOWQXSXUWVU ROOOUPWQX RVOVX RWOWX RLOOO RTOWO RVXYX",1122:" 15KYNORX ROORV RVORX RLOQO RTOXO",1123:" 24I[LOOX RMOOU RROOX RROUX RSOUU RXOUX RJOOO RVOZO",1124:" 21KYNOUX ROOVX RVONX RLOQO RTOXO RLXPX RSXXX",1125:" 23KYNORX ROORV RVORXP[N\\M\\L[LZMZM[L[ RLOQO RTOXO",1126:" 16LXUONX RVOOX ROONQNOVO RNXVXVVUX",1127:" 32K[QOOPNQMSMUNWPXQXSWUUWRXO RQOOQNSNUOWPX RQOSOUPWWXX RSOTPVWXXYX",1128:" 40KXRKPMOOMUK\\ RQLPNNTL\\ RRKTKVLVNUPRQ RTKULUNTPRQ RRQTRUTUVTWRXQXOWNT RRQSRTTTVRX",1129:" 19KYLQNOPORPSSSXR\\ RLQNPPPRQSS RWOVRSXQ\\",1130:" 39KYSOQOOPNQMSMUNWPXRXTWUVVTVRUPRNQLQKRJTJUKVM RQOOQNSNVPX RRXTVUTUQSO RQLRKTKVM",1131:" 27LXVPTOQOOPOQPRRS RQOPPPQRS RRSOTNUNWPXSXUW RRSPTOUOWPX",1132:" 28LWRKQLQMSNVNVMSNPOOPNRNTOVPWRXSYS[R\\P\\O[ RSNQOPPOROTPVRX",1133:" 26IYJRKPLONOOPOQMX RMONPNQLX ROQPPROTOVPVRS\\ RTOUPURR\\",1134:" 35IYJSKQLPNPOQOVPX RMPNQNUOWPXQXSWTVUTVQVNULTKRKQLQNRPURWS RQXSVTTUQUNTK",1135:" 13NWROPVPWQXSXUWVU RSOQVQWRX",1136:" 26KYOOLX RPOMX RUOVPWPVOTORQOR RORPSRWTXVWWU RORQSSWTX",1137:" 15LXLKNKPLWX RNKOLVX RRPMX RRPNX",1138:" 26KZOOK\\ RPOL\\ RNUNWOXQXSWTV RVOTVTWUXWXXWYU RWOUVUWVX",1139:" 19JYNOMX ROONUMX RVRVOWOVRTUQWNXMX RLOOO",1140:" 36MXRKQLQMSNVN RTNQOPPPRRSUS RTNROQPQRRS RSSPTOUOWQXSYTZT[S\\Q\\ RSSQTPUPWQX",1141:" 28KXQOOPNQMSMUNWPXRXTWUVVTVRUPSOQO RQOOQNSNVPX RRXTVUTUQSO",1142:" 20IZPPMX RPPNX RTPSX RTPTX RKQMOXO RKQMPXP",1143:" 29JXSOQOOPNQMSJ\\ RQOOQNSK\\ RSOUPVRVTUVTWRXPXNWMU RSOUQUTTVRX",1144:" 28K[YOQOOPNQMSMUNWPXRXTWUVVTVRUPYP RQOOQNSNVPX RRXTVUTUQSO",1145:" 14KZSPQX RSPRX RMQOOXO RMQOPXP",1146:" 24JXKRLPMOOOPPPROUOWPX RNOOPORNUNWPXQXSWUUVRVOUOVP",1147:" 35KZOPNQMSMUNWPXRXUWWUXRXPWOUOTPSRRUO\\ RMUNVPWRWUVWTXR RXQWPUPSR RRUQXP\\",1148:" 17KXMONOPPS[T\\ RNOOPR[T\\U\\ RVOTRNYL\\",1149:" 28I[TKQ\\ RUKP\\ RJRKPLONOOPOVPWSWUVWT RMONPNTOWPXSXUWWTXRYO",1150:" 36JZNPPPPONPMQLSLUMWNXPXQWRUSR RLUNWPWRU RRRRWSXUXWVXTXRWPVOVPWP RRUSWUWWV",1151:" 32KZVOTVTWUXWXXWYU RWOUVUWVX RUSUQSOQOOPNQMSMUNWPXRXTV RQOOQNSNVPX",1152:" 32JXOKMR RPKNRNVPX RNROPQOSOUPVRVTUVTWRXPXNWMUMR RSOUQUTTVRX RMKPK",1153:" 22KXUPUQVQUPSOQOOPNQMSMUNWPXRXTWUV RQOOQNSNVPX",1154:" 35KZWKTVTWUXWXXWYU RXKUVUWVX RUSUQSOQOOPNQMSMUNWPXRXTV RQOOQNSNVPX RUKXK",1155:" 23KWNURTTSURUPSOQOOPNQMSMUNWPXRXTWUV RQOOQNSNVPX",1156:" 23MXWKXLXKVKTLSNPYO[N\\ RVKULTNQYP[N\\L\\L[M\\ RPOVO",1157:" 34KYVOTVSYR[ RWOUVTYR[P\\M\\L[M[N\\ RUSUQSOQOOPNQMSMUNWPXRXTV RQOOQNSNVPX",1158:" 29KZPKLX RQKMX ROQPPROTOVPVRUUUWVX RTOUPURTUTWUXWXXWYU RNKQK",1159:" 26MWSKSLTLTKSK RNROPPOROSPSRRURWSX RQORPRRQUQWRXTXUWVU",1160:" 26MWTKTLULUKTK RORPPQOSOTPTRRYQ[O\\M\\M[N\\ RROSPSRQYP[O\\",1161:" 32KXPKLX RQKMX RVPUQVQVPUOTORQPROR RORPSQWRXTXUWVU RORQSRWSX RNKQK",1162:" 16NVSKPVPWQXSXTWUU RTKQVQWRX RQKTK",1163:" 46F^GRHPIOKOLPLQJX RJOKPKQIX RLQMPOOQOSPSQQX RQORPRQPX RSQTPVOXOZPZRYUYWZX RXOYPYRXUXWYX[X\\W]U",1164:" 33J[KRLPMOOOPPPQNX RNOOPOQMX RPQQPSOUOWPWRVUVWWX RUOVPVRUUUWVXXXYWZU",1165:" 28KXQOOPNQMSMUNWPXRXTWUVVTVRUPSOQO RQOOQNSNVPX RRXTVUTUQSO",1166:" 35JYKRLPMOOOPPPQM\\ RNOOPOQL\\ RPQROTOVPWRWTVVUWSXQXOVOT RTOVQVTUVSX RJ\\O\\",1167:" 28KYVOR\\ RWOS\\ RUSUQSOQOOPNQMSMUNWPXRXTV RQOOQNSNVPX RP\\U\\",1168:" 22LXMRNPOOQORPRQPX RPOQPQQOX RRQSPUOVOWPWQVQWP",1169:" 24LYVPVQWQVPTOQOOPORQSTTVU ROQQRTSVTVWTXQXOWNVOVOW",1170:" 16NWSKPVPWQXSXTWUU RTKQVQWRX RPOUO",1171:" 33IZJRKPLONOOPORNUNWOX RMONPNRMUMWOXQXSWTV RVOTVTWUXWXXWYU RWOUVUWVX",1172:" 24JXKRLPMOOOPPPROUOWPX RNOOPORNUNWPXQXSWUUVRVOUOVP",1173:" 37H\\IRJPKOMONPNRMUMWNX RLOMPMRLULWNXOXQWRV RTORVRWTX RUOSVSWTXUXWWYUZRZOYOZP",1174:" 38JZMRNPPOROSPSR RQORPRRQUPWNXMXLWLVMVLW RXPWQXQXPWOVOTPSRRURWSX RQUQWRXTXVWWU",1175:" 35IYJRKPLONOOPORNUNWOX RMONPNRMUMWOXQXSWTV RVOTVSYR[ RWOUVTYR[P\\M\\L[M[N\\",1176:" 27KYWOWPVQNVMWMX RNQOOROUQ ROPRPUQVQ RNVOVRWUW ROVRXUXVV",1177:" 39H[RKSLSMTMTLRKOKMLLNLX ROKNLMNMX RXKYLYMZMZLXKVKTMTX RVKUMUX RJOWO RJXOX RRXWX",1178:" 29J[UKVLWLWKQKOLNNNX RQKPLONOX RVOVX RWOWX RLOWO RLXQX RTXYX",1179:" 27J[WKQKOLNNNX RQKPLONOX RUKVLVX RWKWX RLOVO RLXQX RTXYX",1180:" 48F_PKQLQMRMRLPKMKKLJNJX RMKLLKNKX RYKZL[L[KUKSLRNRX RUKTLSNSX RZOZX R[O[X RHO[O RHXMX RPXUX RXX]X",1181:" 46F_PKQLQMRMRLPKMKKLJNJX RMKLLKNKX R[KUKSLRNRX RUKTLSNSX RYKZLZX R[K[X RHOZO RHXMX RPXUX RXX]X",1182:" 12NWRORX RSOSX RPOSO RPXUX",1184:" 21LXVPTOROPPOQNSNUOWQXSXUW RROPQOSOVQX ROSSS",1185:" 35LYSKQLPMOONRNUOWPXRXTWUVVTWQWNVLUKSK RSKQMPOOSOVPX RRXTVUTVPVMUK ROQVQ",1186:" 34KZTKQ\\ RUKP\\ RQONPMRMUNWQXTXWWXUXRWPTOQO RQOOPNRNUOWQX RTXVWWUWRVPTO",1187:" 22LXUPVRVQUPSOQOOPNRNTOVRX RQOOQOTPVRXSYS[R\\P\\",1191:" 45I[VKWLXLVKSKQLPMOOLYK[J\\ RSKQMPOMYL[J\\H\\H[I\\ RZK[L[KYKWLVNSYR[Q\\ RYKXLWNTYS[Q\\O\\O[P\\ RLOYO",1192:" 38IZVKWLXLXKSKQLPMOOLYK[J\\ RSKQMPOMYL[J\\H\\H[I\\ RVOTVTWUXWXXWYU RWOUVUWVX RLOWO",1193:" 38IZVKWL RXKSKQLPMOOLYK[J\\ RSKQMPOMYL[J\\H\\H[I\\ RWKTVTWUXWXXWYU RXKUVUWVX RLOVO",1194:" 63F^SKTLTM RULSKPKNLMMLOIYH[G\\ RPKNMMOJYI[G\\E\\E[F\\ RZK[L\\L\\KWKUL RTMSOPYO[N\\ RWKUMTOQYP[N\\L\\L[M\\ RZOXVXWYX[X\\W]U R[OYVYWZX RIO[O",1195:" 63F^SKTLTM RULSKPKNLMMLOIYH[G\\ RPKNMMOJYI[G\\E\\E[F\\ RZK[L R\\KWKUL RTMSOPYO[N\\ RWKUMTOQYP[N\\L\\L[M\\ R[KXVXWYX[X\\W]U R\\KYVYWZX RIOZO",1196:" 20MWNROPPOROSPSRRURWSX RQORPRRQUQWRXTXUWVU",1200:" 28LYQKOLNONTOWQXTXVWWTWOVLTKQK RQKPLOOOTPWQX RTXUWVTVOULTK",1201:" 10LYPNSKSX RRLRX ROXVX",1202:" 35LYOMONNNNMOLQKTKVLWNVPTQQROSNUNX RTKULVNUPTQ RNWOVPVSWVWWV RPVSXVXWVWU",1203:" 39LYOMONNNNMOLQKTKVLWNVPTQ RTKULVNUPTQ RRQTQVRWTWUVWTXQXOWNVNUOUOV RTQURVTVUUWTX",1204:" 13LYSMSX RTKTX RTKMTXT RQXVX",1205:" 33LYOKNQ ROKVK ROLSLVK RNQOPQOTOVPWRWUVWTXQXOWNVNUOUOV RTOUPVRVUUWTX",1206:" 36LYVMVNWNWMVLTKRKPLOMNPNUOWQXTXVWWUWSVQTPQPNR RRKPMOPOUPWQX RTXUWVUVSUQTP",1207:" 22LYNKNO RVMRTPX RWKTQQX RNMPKRKUM RNMPLRLUMVM",1208:" 51LYQKOLNNOPQQTQVPWNVLTKQK RQKPLONPPQQ RTQUPVNULTK RQQORNTNUOWQXTXVWWUWTVRTQ RQQPROTOUPWQX RTXUWVUVTURTQ",1209:" 36LYOVOUNUNVOWQXSXUWVVWSWNVLTKQKOLNNNPORQSTSWQ RSXUVVSVNULTK RQKPLONOPPRQS",1210:" 6NVRVQWRXSWRV",1211:" 8NVSWRXQWRVSWSYQ[",1212:" 12NVROQPRQSPRO RRVQWRXSWRV",1213:" 14NVROQPRQSPRO RSWRXQWRVSWSYQ[",1214:" 15NVRKQLRSSLRK RRLRO RRVQWRXSWRV",1215:" 29LYNNONOONONNOLQKTKVLWNWOVQSRRSRTST RTKVMVPUQSR RRWRXSXSWRW",1216:" 6OVRKRP RSKRP",1217:" 12LXOKOP RPKOP RUKUP RVKUP",1218:" 10MWQKPLPNQOSOTNTLSKQK",1219:" 9MWRJRP ROKUO RUKOO",1220:" 3KZXHM\\",1221:" 16MWUHSJQMPPPTQWSZU\\ RSJRLQPQTRXSZ",1222:" 16MWOHQJSMTPTTSWQZO\\ RQJRLSPSTRXQZ",1223:" 12MWPHP\\ RQHQ\\ RPHUH RP\\U\\",1224:" 12MWSHS\\ RTHT\\ ROHTH RO\\T\\",1225:" 38LWSHQIPJPLRNSP RQIPL RSNRQ RPJQLSNSPRQPRRSSTSVQXPZ RRSSV RPXQ[ RSTRVPXPZQ[S\\",1226:" 38MXQHSITJTLRNQP RSITL RQNRQ RTJSLQNQPRQTRRSQTQVSXTZ RRSQV RTXS[ RQTRVTXTZS[Q\\",1227:" 4MWTHPRT\\",1228:" 4MWPHTRP\\",1229:" 3OURHR\\",1230:" 6MWPHP\\ RTHT\\",1231:" 3I[LRXR",1232:" 6I[RLRX RLRXR",1233:" 9JZRMRX RMRWR RMXWX",1234:" 9JZRMRX RMMWM RMRWR",1235:" 6JZMMWW RWMMW",1236:" 6NVRQQRRSSRRQ",1237:" 15I[RLQMRNSMRL RLRXR RRVQWRXSWRV",1238:" 6I[LPXP RLTXT",1239:" 9I[WLMX RLPXP RLTXT",1240:" 9I[LNXN RLRXR RLVXV",1241:" 4JZWLMRWX",1242:" 4JZMLWRMX",1243:" 10JZWKMOWS RMTWT RMXWX",1244:" 10JZMKWOMS RMTWT RMXWX",1245:" 21H[YUWUUTTSRPQOONNNLOKQKRLTNUOUQTRSTPUOWNYN",1246:" 16JZLTLRMPOPUSWSXR RLRMQOQUTWTXRXP",1247:" 8JZMSRPWS RMSRQWS",1248:" 7NVSKPO RSKTLPO",1249:" 7NVQKTO RQKPLTO",1250:" 14LXNKOMQNSNUMVK RNKONQOSOUNVK",1251:" 8NVSLRMQLRKSLSNQP",1252:" 8NVSKQMQORPSORNQO",1253:" 8NVQLRMSLRKQLQNSP",1254:" 8NVQKSMSORPQORNSO",1256:" 11JZWMQMONNOMQMSNUOVQWWW",1257:" 11JZMMMSNUOVQWSWUVVUWSWM",1258:" 11JZMMSMUNVOWQWSVUUVSWMW",1259:" 11JZMWMQNOONQMSMUNVOWQWW",1260:" 14JZWMQMONNOMQMSNUOVQWWW RMRUR",1261:" 13I[TOUPXRUTTU RUPWRUT RLRWR",1262:" 13MWRMRX ROPPORLTOUP RPORMTO",1263:" 13I[POOPLROTPU ROPMROT RMRXR",1264:" 13MWRLRW ROTPURXTUUT RPURWTU",1265:" 37KYVSUPSOQOOPNQMSMUNWPXRXTWUVVTWQWNVLTKQKPLQLRK RQOOQNSNVPX RRXTVUTVQVNULTK",1266:" 15JZLKRX RMKRV RXKRX RLKXK RNLWL",1267:" 10G[IOLORW RKORX R[FRX",1268:" 26I[XIXJYJYIXHVHTJSLROQUPYO[ RUITKSORUQXPZN\\L\\K[KZLZL[",1269:" 40I[XIXJYJYIXHVHTJSLROQUPYO[ RUITKSORUQXPZN\\L\\K[KZLZL[ RQNOONQNSOUQVSVUUVSVQUOSNQN",1270:" 26H\\ZRYTWUVUTTSSQPPONNMNKOJQJRKTMUNUPTQSSPTOVNWNYOZQZR",1271:" 26JZXKLX ROKPLPNOOMOLNLLMKOKSLVLXK RUTTUTWUXWXXWXUWTUT",1272:" 41J[YPXPXQYQYPXOWOVPUTTVSWQXOXMWLVLTMSORRPSNSLRKPKOLONPQUWWXXXYW ROXMVMTOR RONPPVWWX",1273:" 29J[UPSOQOPQPRQTSTUS RUOUSVTXTYRYQXNVLSKRKOLMNLQLRMUOWRXSXVW",1274:" 34KZQHQ\\ RTHT\\ RWLVLVMWMWLUKPKNLNNOPVSWT RNNOOVRWTWVVWTXQXOWNVNUOUOVNV",1275:" 12KYRKN\\ RVKR\\ RNQWQ RMVVV",1276:" 40LXTLSLSMTMTLSKQKPLPNQPTRUS RPNQOTQUSUUSW RQPOROTPVSXTY ROTPUSWTYT[S\\Q\\P[PZQZQ[P[",1277:" 29LXRKQLRMSLRK RRMRQ RRQQSRVSSRQ RRVR\\ RPOONNOOPPOTOUNVOUPTO",1278:" 42LXRMSLRKQLRMRQQRSURV RRQSRQURVRZQ[R\\S[RZ RPOONNOOPPOTOUNVOUPTO RPXOWNXOYPXTXUWVXUYTX",1279:" 12LYVKVX RNKVK RQQVQ RNXVX",1281:" 24H\\QKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK RRQQRRSSRRQ",1282:" 33LYQKPLPMQN RTKULUMTN RRNPOOQORPTRUSUUTVRVQUOSNRN RRURY RSUSY ROWVW",1283:" 23LYRKPLONOOPQRRSRUQVOVNULSKRK RRRRX RSRSX ROUVU",1284:" 24H\\QKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK RRKRY RKRYR",1285:" 25JYRRPQOQMRLTLUMWOXPXRWSUSTRR RWMRR RRMWMWR RRMVNWR",1286:" 25JZLLMKOKQLRNRPQRPSNT ROKPLQNQQPS RVKUX RWKTX RNTXT",1287:" 27JYNKNU ROKNR RNROPQOSOUPVQVTTVTXUYVYWX RSOUQUTTV RLKOK",1288:" 27LYONRKRQ RVNSKSQ RRQPROTOUPWRXSXUWVUVTURSQ RRTRUSUSTRT",1289:" 27JZRKRY RMKMPNRPSTSVRWPWK RLMMKNM RQMRKSM RVMWKXM ROVUV",1290:" 27JYNKNX ROKOX RLKSKVLWNWOVQSROR RSKULVNVOUQSR RLXVXVUUX",1291:" 20LYWKTKQLONNQNSOVQXTYWY RWKTLRNQQQSRVTXWY",1292:" 23JZRRPQOQMRLTLUMWOXPXRWSUSTRR RSLQQ RWMRR RXQSS",1293:" 12KYPMTW RTMPW RMPWT RWPMT",1294:" 34J[OUMULVLXMYOYPXPVNTMRMONMOLQKTKVLWMXOXRWTUVUXVYXYYXYVXUVU RNMPLULWM",1295:" 34J[OOMOLNLLMKOKPLPNNPMRMUNWOXQYTYVXWWXUXRWPUNULVKXKYLYNXOVO RNWPXUXWW",1401:" 21F^KHK\\ RLHL\\ RXHX\\ RYHY\\ RHH\\H RH\\O\\ RU\\\\\\",1402:" 20H]KHRQJ\\ RJHQQ RJHYHZMXH RK[X[ RJ\\Y\\ZWX\\",1403:" 20KYVBTDRGPKOPOTPYR]T`Vb RTDRHQKPPPTQYR\\T`",1404:" 20KYNBPDRGTKUPUTTYR]P`Nb RPDRHSKTPTTSYR\\P`",1405:" 12KYOBOb RPBPb ROBVB RObVb",1406:" 12KYTBTb RUBUb RNBUB RNbUb",1407:" 40KYTBRCQDPFPHQJRKSMSOQQ RRCQEQGRISJTLTNSPORSTTVTXSZR[Q]Q_Ra RQSSUSWRYQZP\\P^Q`RaTb",1408:" 40KYPBRCSDTFTHSJRKQMQOSQ RRCSESGRIQJPLPNQPURQTPVPXQZR[S]S_Ra RSSQUQWRYSZT\\T^S`RaPb",1409:" 24KYU@RCPFOIOLPOSVTYT\\S_Ra RRCQEPHPKQNTUUXU[T^RaOd",1410:" 24KYO@RCTFUIULTOQVPYP\\Q_Ra RRCSETHTKSNPUOXO[P^RaUd",1411:" 13AXCRGRR` RGSRa RFSRb RX:Rb",1412:" 32F^[CZD[E\\D\\C[BYBWCUETGSJRNPZO^N` RVDUFTJRVQZP]O_MaKbIbHaH`I_J`Ia",2001:" 18H\\RFK[ RRFY[ RRIX[ RMUVU RI[O[ RU[[[",2002:" 45G]LFL[ RMFM[ RIFUFXGYHZJZLYNXOUP RUFWGXHYJYLXNWOUP RMPUPXQYRZTZWYYXZU[I[ RUPWQXRYTYWXYWZU[",2003:" 32G\\XIYLYFXIVGSFQFNGLIKKJNJSKVLXNZQ[S[VZXXYV RQFOGMILKKNKSLVMXOZQ[",2004:" 30G]LFL[ RMFM[ RIFSFVGXIYKZNZSYVXXVZS[I[ RSFUGWIXKYNYSXVWXUZS[",2005:" 22G\\LFL[ RMFM[ RSLST RIFYFYLXF RMPSP RI[Y[YUX[",2006:" 20G[LFL[ RMFM[ RSLST RIFYFYLXF RMPSP RI[P[",2007:" 40G^XIYLYFXIVGSFQFNGLIKKJNJSKVLXNZQ[S[VZXX RQFOGMILKKNKSLVMXOZQ[ RXSX[ RYSY[ RUS\\S",2008:" 27F^KFK[ RLFL[ RXFX[ RYFY[ RHFOF RUF\\F RLPXP RH[O[ RU[\\[",2009:" 12MXRFR[ RSFS[ ROFVF RO[V[",2010:" 20KZUFUWTZR[P[NZMXMVNUOVNW RTFTWSZR[ RQFXF",2011:" 27F\\KFK[ RLFL[ RYFLS RQOY[ RPOX[ RHFOF RUF[F RH[O[ RU[[[",2012:" 14I[NFN[ ROFO[ RKFRF RK[Z[ZUY[",2013:" 30F_KFK[ RLFRX RKFR[ RYFR[ RYFY[ RZFZ[ RHFLF RYF]F RH[N[ RV[][",2014:" 21G^LFL[ RMFYY RMHY[ RYFY[ RIFMF RVF\\F RI[O[",2015:" 44G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RQFOGMILKKOKRLVMXOZQ[ RS[UZWXXVYRYOXKWIUGSF",2016:" 29G]LFL[ RMFM[ RIFUFXGYHZJZMYOXPUQMQ RUFWGXHYJYMXOWPUQ RI[P[",2017:" 64G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RQFOGMILKKOKRLVMXOZQ[ RS[UZWXXVYRYOXKWIUGSF RNYNXOVQURUTVUXV_W`Y`Z^Z] RUXV\\W^X_Y_Z^",2018:" 45G]LFL[ RMFM[ RIFUFXGYHZJZLYNXOUPMP RUFWGXHYJYLXNWOUP RI[P[ RRPTQURXYYZZZ[Y RTQUSWZX[Z[[Y[X",2019:" 34H\\XIYFYLXIVGSFPFMGKIKKLMMNOOUQWRYT RKKMMONUPWQXRYTYXWZT[Q[NZLXKUK[LX",2020:" 16I\\RFR[ RSFS[ RLFKLKFZFZLYF RO[V[",2021:" 23F^KFKULXNZQ[S[VZXXYUYF RLFLUMXOZQ[ RHFOF RVF\\F",2022:" 15H\\KFR[ RLFRX RYFR[ RIFOF RUF[F",2023:" 24F^JFN[ RKFNV RRFN[ RRFV[ RSFVV RZFV[ RGFNF RWF]F",2024:" 21H\\KFX[ RLFY[ RYFK[ RIFOF RUF[F RI[O[ RU[[[",2025:" 20H]KFRQR[ RLFSQS[ RZFSQ RIFOF RVF\\F RO[V[",2026:" 16H\\XFK[ RYFL[ RLFKLKFYF RK[Y[YUX[",2027:" 18H\\RFK[ RRFY[ RRIX[ RMUVU RI[O[ RU[[[",2028:" 45G]LFL[ RMFM[ RIFUFXGYHZJZLYNXOUP RUFWGXHYJYLXNWOUP RMPUPXQYRZTZWYYXZU[I[ RUPWQXRYTYWXYWZU[",2029:" 14I[NFN[ ROFO[ RKFZFZLYF RK[R[",2030:" 15H\\RFJ[ RRFZ[ RRIY[ RKZYZ RJ[Z[",2031:" 22G\\LFL[ RMFM[ RSLST RIFYFYLXF RMPSP RI[Y[YUX[",2032:" 16H\\XFK[ RYFL[ RLFKLKFYF RK[Y[YUX[",2033:" 27F^KFK[ RLFL[ RXFX[ RYFY[ RHFOF RUF\\F RLPXP RH[O[ RU[\\[",2034:" 56G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RQFOGMILKKOKRLVMXOZQ[ RS[UZWXXVYRYOXKWIUGSF ROMOT RUMUT ROPUP ROQUQ",2035:" 12MXRFR[ RSFS[ ROFVF RO[V[",2036:" 27F\\KFK[ RLFL[ RYFLS RQOY[ RPOX[ RHFOF RUF[F RH[O[ RU[[[",2037:" 15H\\RFK[ RRFY[ RRIX[ RI[O[ RU[[[",2038:" 30F_KFK[ RLFRX RKFR[ RYFR[ RYFY[ RZFZ[ RHFLF RYF]F RH[N[ RV[][",2039:" 21G^LFL[ RMFYY RMHY[ RYFY[ RIFMF RVF\\F RI[O[",2040:" 36G]KEJJ RZEYJ RONNS RVNUS RKWJ\\ RZWY\\ RKGYG RKHYH ROPUP ROQUQ RKYYY RKZYZ",2041:" 44G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RQFOGMILKKOKRLVMXOZQ[ RS[UZWXXVYRYOXKWIUGSF",2042:" 21F^KFK[ RLFL[ RXFX[ RYFY[ RHF\\F RH[O[ RU[\\[",2043:" 29G]LFL[ RMFM[ RIFUFXGYHZJZMYOXPUQMQ RUFWGXHYJYMXOWPUQ RI[P[",2044:" 20H]KFRPJ[ RJFQP RJFYFZLXF RKZXZ RJ[Y[ZUX[",2045:" 16I\\RFR[ RSFS[ RLFKLKFZFZLYF RO[V[",2046:" 33I\\KKKILGMFOFPGQIRMR[ RKIMGOGQI RZKZIYGXFVFUGTISMS[ RZIXGVGTI RO[V[",2047:" 48H]RFR[ RSFS[ RPKMLLMKOKRLTMUPVUVXUYTZRZOYMXLUKPK RPKNLMMLOLRMTNUPV RUVWUXTYRYOXMWLUK ROFVF RO[V[",2048:" 21H\\KFX[ RLFY[ RYFK[ RIFOF RUF[F RI[O[ RU[[[",2049:" 41G^RFR[ RSFS[ RIMJLLMMQNSOTQU RJLKMLQMSNTQUTUWTXSYQZM[L RTUVTWSXQYM[L\\M ROFVF RO[V[",2050:" 43G]JXK[O[MWKSJPJLKIMGPFTFWGYIZLZPYSWWU[Y[ZX RMWLTKPKLLINGPF RTFVGXIYLYPXTWW RKZNZ RVZYZ",2051:" 18H\\UFH[ RUFV[ RTHU[ RLUUU RF[L[ RR[X[",2052:" 41F^OFI[ RPFJ[ RLFWFZG[I[KZNYOVP RWFYGZIZKYNXOVP RMPVPXQYSYUXXVZR[F[ RVPWQXSXUWXUZR[",2053:" 34H]ZH[H\\F[L[JZHYGWFTFQGOIMLLOKSKVLYMZP[S[UZWXXV RTFRGPINLMOLSLVMYNZP[",2054:" 30F]OFI[ RPFJ[ RLFUFXGYHZKZOYSWWUYSZO[F[ RUFWGXHYKYOXSVWTYRZO[",2055:" 22F]OFI[ RPFJ[ RTLRT RLF[FZLZF RMPSP RF[U[WVT[",2056:" 20F\\OFI[ RPFJ[ RTLRT RLF[FZLZF RMPSP RF[M[",2057:" 42H^ZH[H\\F[L[JZHYGWFTFQGOIMLLOKSKVLYMZP[R[UZWXYT RTFRGPINLMOLSLVMYNZP[ RR[TZVXXT RUT\\T",2058:" 27E_NFH[ ROFI[ R[FU[ R\\FV[ RKFRF RXF_F RLPXP RE[L[ RR[Y[",2059:" 12LYUFO[ RVFP[ RRFYF RL[S[",2060:" 21I[XFSWRYQZO[M[KZJXJVKULVKW RWFRWQYO[ RTF[F",2061:" 27F]OFI[ RPFJ[ R]FLS RSOW[ RROV[ RLFSF RYF_F RF[M[ RS[Y[",2062:" 14H\\QFK[ RRFL[ RNFUF RH[W[YUV[",2063:" 30E`NFH[ RNFO[ ROFPY R\\FO[ R\\FV[ R]FW[ RKFOF R\\F`F RE[K[ RS[Z[",2064:" 21F_OFI[ ROFVX ROIV[ R\\FV[ RLFOF RYF_F RF[L[",2065:" 42G]SFPGNILLKOJSJVKYLZN[Q[TZVXXUYRZNZKYHXGVFSF RSFQGOIMLLOKSKVLYN[ RQ[SZUXWUXRYNYKXHVF",2066:" 27F]OFI[ RPFJ[ RLFXF[G\\I\\K[NYPUQMQ RXFZG[I[KZNXPUQ RF[M[",2067:" 61G]SFPGNILLKOJSJVKYLZN[Q[TZVXXUYRZNZKYHXGVFSF RSFQGOIMLLOKSKVLYN[ RQ[SZUXWUXRYNYKXHVF RLYLXMVOUPURVSXS_T`V`W^W] RSXT^U_V_W^",2068:" 42F^OFI[ RPFJ[ RLFWFZG[I[KZNYOVPMP RWFYGZIZKYNXOVP RRPTQURVZW[Y[ZYZX RURWYXZYZZY RF[M[",2069:" 35G^ZH[H\\F[L[JZHYGVFRFOGMIMKNMONVRXT RMKOMVQWRXTXWWYVZS[O[LZKYJWJUI[JYKY",2070:" 16H]UFO[ RVFP[ ROFLLNF]F\\L\\F RL[S[",2071:" 25F_NFKQJUJXKZN[R[UZWXXU\\F ROFLQKUKXLZN[ RKFRF RYF_F",2072:" 15H\\NFO[ ROFPY R\\FO[ RLFRF RXF^F",2073:" 24E_MFK[ RNFLY RUFK[ RUFS[ RVFTY R]FS[ RJFQF RZF`F",2074:" 21G]NFU[ ROFV[ R\\FH[ RLFRF RXF^F RF[L[ RR[X[",2075:" 20H]NFRPO[ ROFSPP[ R]FSP RLFRF RYF_F RL[S[",2076:" 16G][FH[ R\\FI[ ROFLLNF\\F RH[V[XUU[",2077:" 46H\\KILKXWYYY[ RLLXX RKIKKLMXYY[ RPPLTKVKXLZK[ RKVMZ RLTLVMXMZK[ RSSXN RVIVLWNYNYLWKVI RVIWLYN",2101:" 39I]NONPMPMONNPMTMVNWOXQXXYZZ[ RWOWXXZZ[[[ RWQVRPSMTLVLXMZP[S[UZWX RPSNTMVMXNZP[",2102:" 33G\\LFL[ RMFM[ RMPONQMSMVNXPYSYUXXVZS[Q[OZMX RSMUNWPXSXUWXUZS[ RIFMF",2103:" 28H[WPVQWRXQXPVNTMQMNNLPKSKULXNZQ[S[VZXX RQMONMPLSLUMXOZQ[",2104:" 36H]WFW[ RXFX[ RWPUNSMQMNNLPKSKULXNZQ[S[UZWX RQMONMPLSLUMXOZQ[ RTFXF RW[[[",2105:" 31H[LSXSXQWOVNTMQMNNLPKSKULXNZQ[S[VZXX RWSWPVN RQMONMPLSLUMXOZQ[",2106:" 22KXUGTHUIVHVGUFSFQGPIP[ RSFRGQIQ[ RMMUM RM[T[",2107:" 60I\\QMONNOMQMSNUOVQWSWUVVUWSWQVOUNSMQM RONNPNTOV RUVVTVPUN RVOWNYMYNWN RNUMVLXLYM[P\\U\\X]Y^ RLYMZP[U[X\\Y^Y_XaUbObLaK_K^L\\O[",2108:" 28G]LFL[ RMFM[ RMPONRMTMWNXPX[ RTMVNWPW[ RIFMF RI[P[ RT[[[",2109:" 18MXRFQGRHSGRF RRMR[ RSMS[ ROMSM RO[V[",2110:" 25MXSFRGSHTGSF RTMT_SaQbObNaN`O_P`Oa RSMS_RaQb RPMTM",2111:" 27G\\LFL[ RMFM[ RWMMW RRSX[ RQSW[ RIFMF RTMZM RI[P[ RT[Z[",2112:" 12MXRFR[ RSFS[ ROFSF RO[V[",2113:" 44BcGMG[ RHMH[ RHPJNMMOMRNSPS[ ROMQNRPR[ RSPUNXMZM]N^P^[ RZM\\N]P][ RDMHM RD[K[ RO[V[ RZ[a[",2114:" 28G]LML[ RMMM[ RMPONRMTMWNXPX[ RTMVNWPW[ RIMMM RI[P[ RT[[[",2115:" 36H\\QMNNLPKSKULXNZQ[S[VZXXYUYSXPVNSMQM RQMONMPLSLUMXOZQ[ RS[UZWXXUXSWPUNSM",2116:" 36G\\LMLb RMMMb RMPONQMSMVNXPYSYUXXVZS[Q[OZMX RSMUNWPXSXUWXUZS[ RIMMM RIbPb",2117:" 33H\\WMWb RXMXb RWPUNSMQMNNLPKSKULXNZQ[S[UZWX RQMONMPLSLUMXOZQ[ RTb[b",2118:" 23IZNMN[ ROMO[ ROSPPRNTMWMXNXOWPVOWN RKMOM RK[R[",2119:" 32J[WOXMXQWOVNTMPMNNMOMQNRPSUUWVXW RMPNQPRUTWUXVXYWZU[Q[OZNYMWM[NY",2120:" 16KZPFPWQZS[U[WZXX RQFQWRZS[ RMMUM",2121:" 28G]LMLXMZP[R[UZWX RMMMXNZP[ RWMW[ RXMX[ RIMMM RTMXM RW[[[",2122:" 15I[LMR[ RMMRY RXMR[ RJMPM RTMZM",2123:" 24F^JMN[ RKMNX RRMN[ RRMV[ RSMVX RZMV[ RGMNM RWM]M",2124:" 21H\\LMW[ RMMX[ RXML[ RJMPM RTMZM RJ[P[ RT[Z[",2125:" 22H[LMR[ RMMRY RXMR[P_NaLbKbJaK`La RJMPM RTMZM",2126:" 16I[WML[ RXMM[ RMMLQLMXM RL[X[XWW[",2127:" 40G^QMNNLPKRJUJXKZN[P[RZUWWTYPZM RQMONMPLRKUKXLZN[ RQMSMUNVPXXYZZ[ RSMTNUPWXXZZ[[[",2128:" 57G\\TFQGOIMMLPKTJZIb RTFRGPINMMPLTKZJb RTFVFXGYHYKXMWNTOPO RVFXHXKWMVNTO RPOTPVRWTWWVYUZR[P[NZMYLV RPOSPURVTVWUYTZR[",2129:" 28H\\IPKNMMOMQNROSRSVRZOb RJOLNPNRO RZMYPXRSYP^Nb RYMXPWRSY",2130:" 44I\\VNTMRMONMQLTLWMYNZP[R[UZWWXTXQWOSJRHRFSEUEWFYH RRMPNNQMTMXNZ RR[TZVWWTWPVNTKSISGTFVFYH",2131:" 32I[XPVNTMPMNNNPPRSS RPMONOPQRSS RSSNTLVLXMZP[S[UZWX RSSOTMVMXNZP[",2132:" 31I[TFRGQHQIRJUKZKZJWKSMPOMRLULWMYP[S]T_TaSbQbPa RULQONRMUMWNYP[",2133:" 32G]HQIOKMNMONOPNTL[ RMMNNNPMTK[ RNTPPRNTMVMXNYOYRXWUb RVMXOXRWWTb",2134:" 44F]GQHOJMMMNNNPMUMXNZO[ RLMMNMPLULXMZO[Q[SZUXWUXRYMYIXGVFTFRHRJSMUPWRZT RSZUWVUWRXMXIWGVF",2135:" 15LXRMPTOXOZP[S[UYVW RSMQTPXPZQ[",2136:" 29H\\NMJ[ ROMK[ RXMYNZNYMWMUNQROSMS ROSQTSZT[ ROSPTRZS[U[WZYW",2137:" 23H\\KFMFOGPHQJWXXZY[ RMFOHPJVXWZY[Z[ RRMJ[ RRMK[",2138:" 28F]MMGb RNMHb RMPLVLYN[P[RZTXVU RXMUXUZV[Y[[Y\\W RYMVXVZW[",2139:" 24H\\NML[ ROMNSMXL[ RYMXQVU RZMYPXRVUTWQYOZL[ RKMOM",2140:" 45IZTFRGQHQIRJUKXK RUKQLOMNONQPSSTVT RUKRLPMOOOQQSST RSTOUMVLXLZN\\S^T_TaRbPb RSTPUNVMXMZO\\S^",2141:" 32I[RMONMQLTLWMYNZP[R[UZWWXTXQWOVNTMRM RRMPNNQMTMXNZ RR[TZVWWTWPVN",2142:" 22G]PNL[ RPNM[ RVNV[ RVNW[ RIPKNNM[M RIPKONN[N",2143:" 31H[LVMYNZP[R[UZWWXTXQWOVNTMRMONMQLTHb RR[TZVWWTWPVN RRMPNNQMTIb",2144:" 35H][MQMNNLQKTKWLYMZO[Q[TZVWWTWQVOUNSM RQMONMQLTLXMZ RQ[SZUWVTVPUN RUN[N",2145:" 16H\\SNP[ RSNQ[ RJPLNOMZM RJPLOONZN",2146:" 31H\\IQJOLMOMPNPPNVNYP[ RNMONOPMVMYNZP[Q[TZVXXUYRYOXMWNXOYR RXUYO",2147:" 37G]ONMOKQJTJWKYLZN[Q[TZWXYUZRZOXMVMTORSPXMb RJWLYNZQZTYWWYU RZOXNVNTPRSPYNb",2148:" 23I[KMMMONPPU_VaWb RMMNNOPT_UaWbYb RZMYOWRM]K`Jb",2149:" 34F]UFOb RVFNb RGQHOJMMMNNNPMUMXOZRZTYWVYS RLMMNMPLULXMZO[R[TZVXXUYS[M",2150:" 44F]JQLOONNMLNJQITIWJZK[M[OZQWRT RIWJYKZMZOYQW RQTQWRZS[U[WZYWZTZQYNXMWNYOZQ RQWRYSZUZWYYW",2151:" 39H]XMVTUXUZV[Y[[Y\\W RYMWTVXVZW[ RVTVQUNSMQMNNLQKTKWLYMZO[Q[SZUWVT RQMONMQLTLXMZ",2152:" 36H[PFLSLVMYNZ RQFMS RMSNPPNRMTMVNWOXQXTWWUZR[P[NZMWMS RVNWPWTVWTZR[ RMFQF",2153:" 25I[WPWQXQXPWNUMRMONMQLTLWMYNZP[R[UZWW RRMPNNQMTMXNZ",2154:" 42H]ZFVTUXUZV[Y[[Y\\W R[FWTVXVZW[ RVTVQUNSMQMNNLQKTKWLYMZO[Q[SZUWVT RQMONMQLTLXMZ RWF[F",2155:" 26I[MVQUTTWRXPWNUMRMONMQLTLWMYNZP[R[UZWX RRMPNNQMTMXNZ",2156:" 35KZZGYHZI[H[GZFXFVGUHTJSMP[O_Na RXFVHUJTNRWQ[P^O`NaLbJbIaI`J_K`Ja ROMYM",2157:" 43H\\YMU[T^RaObLbJaI`I_J^K_J` RXMT[S^QaOb RVTVQUNSMQMNNLQKTKWLYMZO[Q[SZUWVT RQMONMQLTLXMZ",2158:" 31H]PFJ[ RQFK[ RMTOPQNSMUMWNXOXQVWVZW[ RUMWOWQUWUZV[Y[[Y\\W RMFQF",2159:" 26LYUFTGUHVGUF RMQNOPMSMTNTQRWRZS[ RRMSNSQQWQZR[U[WYXW",2160:" 32LYVFUGVHWGVF RNQOOQMTMUNUQR[Q^P`OaMbKbJaJ`K_L`Ka RSMTNTQQ[P^O`Mb",2161:" 34H\\PFJ[ RQFK[ RXNWOXPYOYNXMWMUNQROSMS ROSQTSZT[ ROSPTRZS[U[WZYW RMFQF",2162:" 18MYUFQTPXPZQ[T[VYWW RVFRTQXQZR[ RRFVF",2163:" 52AbBQCOEMHMINIPHTF[ RGMHNHPGTE[ RHTJPLNNMPMRNSOSQP[ RPMRORQO[ RRTTPVNXMZM\\N]O]Q[W[Z\\[ RZM\\O\\QZWZZ[[^[`YaW",2164:" 37F]GQHOJMMMNNNPMTK[ RLMMNMPLTJ[ RMTOPQNSMUMWNXOXQVWVZW[ RUMWOWQUWUZV[Y[[Y\\W",2165:" 32I[RMONMQLTLWMYNZP[R[UZWWXTXQWOVNTMRM RRMPNNQMTMXNZ RR[TZVWWTWPVN",2166:" 42G\\HQIOKMNMONOPNTJb RMMNNNPMTIb RNTOQQNSMUMWNXOYQYTXWVZS[Q[OZNWNT RWNXPXTWWUZS[ RFbMb",2167:" 33H\\XMRb RYMSb RVTVQUNSMQMNNLQKTKWLYMZO[Q[SZUWVT RQMONMQLTLXMZ RObVb",2168:" 26IZJQKOMMPMQNQPPTN[ ROMPNPPOTM[ RPTRPTNVMXMYNYOXPWOXN",2169:" 28J[XOXPYPYOXNUMRMONNONQORVVWW RNPOQVUWVWYVZS[P[MZLYLXMXMY",2170:" 18KYTFPTOXOZP[S[UYVW RUFQTPXPZQ[ RNMWM",2171:" 37F]GQHOJMMMNNNQLWLYN[ RLMMNMQKWKYLZN[P[RZTXVT RXMVTUXUZV[Y[[Y\\W RYMWTVXVZW[",2172:" 26H\\IQJOLMOMPNPQNWNYP[ RNMONOQMWMYNZP[Q[TZVXXUYQYMXMYO",2173:" 41C`DQEOGMJMKNKQIWIYK[ RIMJNJQHWHYIZK[M[OZQXRV RTMRVRYSZU[W[YZ[X\\V]R]M\\M]O RUMSVSYU[",2174:" 42H\\KQMNOMRMSOSR RQMRORRQVPXNZL[K[JZJYKXLYKZ RQVQYR[U[WZYW RYNXOYPZOZNYMXMVNTPSRRVRYS[",2175:" 41G\\HQIOKMNMONOQMWMYO[ RMMNNNQLWLYMZO[Q[SZUXWT RZMV[U^SaPbMbKaJ`J_K^L_K` RYMU[T^RaPb",2176:" 31H\\YMXOVQNWLYK[ RLQMOOMRMVO RMOONRNVOXO RLYNYRZUZWY RNYR[U[WYXW",2177:" 43G^VGUHVIWHWGUFRFOGMILLL[ RRFPGNIMLM[ R\\G[H\\I]H]G\\FZFXGWIW[ RZFYGXIX[ RIM[M RI[P[ RT[[[",2178:" 33G]WGVHWIXHWGUFRFOGMILLL[ RRFPGNIMLM[ RWMW[ RXMX[ RIMXM RI[P[ RT[[[",2179:" 35G]VGUHVIWHWGUF RXFRFOGMILLL[ RRFPGNIMLM[ RWHW[ RXFX[ RIMWM RI[P[ RT[[[",2180:" 54BcRGQHRISHRGPFMFJGHIGLG[ RMFKGIIHLH[ R]G\\H]I^H]G[FXFUGSIRLR[ RXFVGTISLS[ R]M][ R^M^[ RDM^M RD[K[ RO[V[ RZ[a[",2181:" 56BcRGQHRISHRGPFMFJGHIGLG[ RMFKGIIHLH[ R\\G[H\\I]H]G[F R^FXFUGSIRLR[ RXFVGTISLS[ R]H][ R^F^[ RDM]M RD[K[ RO[V[ RZ[a[",2182:" 12MXRMR[ RSMS[ ROMSM RO[V[",2184:" 25IZWNUMRMONMPLSLVMYNZQ[T[VZ RRMPNNPMSMVNYOZQ[ RMTUT",2185:" 43I\\TFQGOJNLMOLTLXMZO[Q[TZVWWUXRYMYIXGVFTF RTFRGPJOLNOMTMXNZO[ RQ[SZUWVUWRXMXIWGVF RNPWP",2186:" 42G]UFOb RVFNb RQMMNKPJSJVKXMZP[S[WZYXZUZRYPWNTMQM RQMNNLPKSKVLXNZP[ RS[VZXXYUYRXPVNTM",2187:" 27I[TMVNXPXOWNTMQMNNMOLQLSMUOWSZ RQMONNOMQMSNUSZT\\T^S_Q_",2190:" 45G]LMKNJPJRKUOYP[ RJRKTOXP[P]O`MbLbKaJ_J\\KXMTOQRNTMVMYNZPZTYXWZU[T[SZSXTWUXTY RVMXNYPYTXXWZ",2191:" 69E_YGXHYIZHYGWFTFQGOINKMNLRJ[I_Ha RTFRGPIOKNNLWK[J^I`HaFbDbCaC`D_E`Da R_G^H_I`H`G_F]F[GZHYJXMU[T_Sa R]F[HZJYNWWV[U^T`SaQbObNaN`O_P`Oa RIM^M",2192:" 52F^[GZH[I\\H[GXFUFRGPIOKNNMRK[J_Ia RUFSGQIPKONMWL[K^J`IaGbEbDaD`E_F`Ea RYMWTVXVZW[Z[\\Y]W RZMXTWXWZX[ RJMZM",2193:" 54F^YGXHYIZHZGXF R\\FUFRGPIOKNNMRK[J_Ia RUFSGQIPKONMWL[K^J`IaGbEbDaD`E_F`Ea R[FWTVXVZW[Z[\\Y]W R\\FXTWXWZX[ RJMYM",2194:" 86@cTGSHTIUHTGRFOFLGJIIKHNGRE[D_Ca ROFMGKIJKINGWF[E^D`CaAb?b>a>`?_@`?a R`G_H`IaH`G]FZFWGUITKSNRRP[O_Na RZFXGVIUKTNRWQ[P^O`NaLbJbIaI`J_K`Ja R^M\\T[X[Z\\[_[aYbW R_M]T\\X\\Z][ RDM_M",2195:" 88@cTGSHTIUHTGRFOFLGJIIKHNGRE[D_Ca ROFMGKIJKINGWF[E^D`CaAb?b>a>`?_@`?a R^G]H^I_H_G]F RaFZFWGUITKSNRRP[O_Na RZFXGVIUKTNRWQ[P^O`NaLbJbIaI`J_K`Ja R`F\\T[X[Z\\[_[aYbW RaF]T\\X\\Z][ RDM^M",2196:" 20LYMQNOPMSMTNTQRWRZS[ RRMSNSQQWQZR[U[WYXW",2200:" 40H\\QFNGLJKOKRLWNZQ[S[VZXWYRYOXJVGSFQF RQFOGNHMJLOLRMWNYOZQ[ RS[UZVYWWXRXOWJVHUGSF",2201:" 11H\\NJPISFS[ RRGR[ RN[W[",2202:" 45H\\LJMKLLKKKJLHMGPFTFWGXHYJYLXNUPPRNSLUKXK[ RTFVGWHXJXLWNTPPR RKYLXNXSZVZXYYX RNXS[W[XZYXYV",2203:" 47H\\LJMKLLKKKJLHMGPFTFWGXIXLWNTOQO RTFVGWIWLVNTO RTOVPXRYTYWXYWZT[P[MZLYKWKVLUMVLW RWQXTXWWYVZT[",2204:" 13H\\THT[ RUFU[ RUFJUZU RQ[X[",2205:" 39H\\MFKP RKPMNPMSMVNXPYSYUXXVZS[P[MZLYKWKVLUMVLW RSMUNWPXSXUWXUZS[ RMFWF RMGRGWF",2206:" 48H\\WIVJWKXJXIWGUFRFOGMILKKOKULXNZQ[S[VZXXYUYTXQVOSNRNOOMQLT RRFPGNIMKLOLUMXOZQ[ RS[UZWXXUXTWQUOSN",2207:" 31H\\KFKL RKJLHNFPFUIWIXHYF RLHNGPGUI RYFYIXLTQSSRVR[ RXLSQRSQVQ[",2208:" 63H\\PFMGLILLMNPOTOWNXLXIWGTFPF RPFNGMIMLNNPO RTOVNWLWIVGTF RPOMPLQKSKWLYMZP[T[WZXYYWYSXQWPTO RPONPMQLSLWMYNZP[ RT[VZWYXWXSWQVPTO",2209:" 48H\\XMWPURRSQSNRLPKMKLLINGQFSFVGXIYLYRXVWXUZR[O[MZLXLWMVNWMX RQSORMPLMLLMIOGQF RSFUGWIXLXRWVVXTZR[",2210:" 6MWRYQZR[SZRY",2211:" 8MWR[QZRYSZS\\R^Q_",2212:" 12MWRMQNROSNRM RRYQZR[SZRY",2213:" 14MWRMQNROSNRM RR[QZRYSZS\\R^Q_",2214:" 15MWRFQHRTSHRF RRHRN RRYQZR[SZRY",2215:" 32I[MJNKMLLKLJMHNGPFSFVGWHXJXLWNVORQRT RSFUGVHWJWLVNTP RRYQZR[SZRY",2216:" 6NVRFQM RSFQM",2217:" 12JZNFMM ROFMM RVFUM RWFUM",2218:" 14KYQFOGNINKOMQNSNUMVKVIUGSFQF",2219:" 9JZRFRR RMIWO RWIMO",2220:" 3G][BIb",2221:" 20KYVBTDRGPKOPOTPYR]T`Vb RTDRHQKPPPTQYR\\T`",2222:" 20KYNBPDRGTKUPUTTYR]P`Nb RPDRHSKTPTTSYR\\P`",2223:" 12KYOBOb RPBPb ROBVB RObVb",2224:" 12KYTBTb RUBUb RNBUB RNbUb",2225:" 40KYTBRCQDPFPHQJRKSMSOQQ RRCQEQGRISJTLTNSPORSTTVTXSZR[Q]Q_Ra RQSSUSWRYQZP\\P^Q`RaTb",2226:" 40KYPBRCSDTFTHSJRKQMQOSQ RRCSESGRIQJPLPNQPURQTPVPXQZR[S]S_Ra RSSQUQWRYSZT\\T^S`RaPb",2227:" 4KYUBNRUb",2228:" 4KYOBVROb",2229:" 3NVRBRb",2230:" 6KYOBOb RUBUb",2231:" 3E_IR[R",2232:" 6E_RIR[ RIR[R",2233:" 9F^RJR[ RJRZR RJ[Z[",2234:" 9F^RJR[ RJJZJ RJRZR",2235:" 6G]KKYY RYKKY",2236:" 6MWRQQRRSSRRQ",2237:" 15E_RIQJRKSJRI RIR[R RRYQZR[SZRY",2238:" 6E_IO[O RIU[U",2239:" 9E_YIK[ RIO[O RIU[U",2240:" 9E_IM[M RIR[R RIW[W",2241:" 4F^ZIJRZ[",2242:" 4F^JIZRJ[",2243:" 10F^ZFJMZT RJVZV RJ[Z[",2244:" 10F^JFZMJT RJVZV RJ[Z[",2245:" 21F_[WYWWVUTRPQOONMNKOJQJSKUMVOVQURTUPWNYM[M",2246:" 24F^IUISJPLONOPPTSVTXTZS[Q RISJQLPNPPQTTVUXUZT[Q[O",2247:" 8G]JTROZT RJTRPZT",2248:" 7LXTFOL RTFUGOL",2249:" 7LXPFUL RPFOGUL",2250:" 18H\\KFLHNJQKSKVJXHYF RKFLINKQLSLVKXIYF",2251:" 8MWRHQGRFSGSIRKQL",2252:" 8MWSFRGQIQKRLSKRJ",2253:" 8MWRHSGRFQGQIRKSL",2254:" 8MWQFRGSISKRLQKRJ",2255:" 10E[HMLMRY RKMR[ R[BR[",2256:" 13F^ZJSJOKMLKNJQJSKVMXOYSZZZ",2257:" 13F^JJJQKULWNYQZSZVYXWYUZQZJ",2258:" 13F^JJQJUKWLYNZQZSYVWXUYQZJZ",2259:" 13F^JZJSKOLMNKQJSJVKXMYOZSZZ",2260:" 16F^ZJSJOKMLKNJQJSKVMXOYSZZZ RJRVR",2261:" 11E_XP[RXT RUMZRUW RIRZR",2262:" 11JZPLRITL RMORJWO RRJR[",2263:" 11E_LPIRLT ROMJROW RJR[R",2264:" 11JZPXR[TX RMURZWU RRIRZ",2265:" 44I\\XRWOVNTMRMONMQLTLWMYNZP[R[UZWXXUYPYKXHWGUFRFPGOHOIPIPH RRMPNNQMTMXNZ RR[TZVXWUXPXKWHUF",2266:" 15H\\JFR[ RKFRY RZFR[ RJFZF RKGYG",2267:" 10AbDMIMRY RHNR[ Rb:R[",2268:" 32F^[CZD[E\\D\\C[BYBWCUETGSJRNPZO^N` RVDUFTJRVQZP]O_MaKbIbHaH`I_J`Ia",2269:" 50F^[CZD[E\\D\\C[BYBWCUETGSJRNPZO^N` RVDUFTJRVQZP]O_MaKbIbHaH`I_J`Ia RQKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK",2270:" 26F_\\S[UYVWVUUTTQPPONNLNJOIQISJULVNVPUQTTPUOWNYN[O\\Q\\S",2271:" 32F^[FI[ RNFPHPJOLMMKMIKIIJGLFNFPGSHVHYG[F RWTUUTWTYV[X[ZZ[X[VYTWT",2272:" 49F_[NZO[P\\O\\N[MZMYNXPVUTXRZP[M[JZIXIUJSPORMSKSIRGPFNGMIMKNNPQUXWZZ[[[\\Z\\Y RM[KZJXJUKSMQ RMKNMVXXZZ[",2273:" 56E`WNVLTKQKOLNMMPMSNUPVSVUUVS RQKOMNPNSOUPV RWKVSVUXVZV\\T]Q]O\\L[JYHWGTFQFNGLHJJILHOHRIUJWLYNZQ[T[WZYYZX RXKWSWUXV",2274:" 42H\\PBP_ RTBT_ RXIWJXKYJYIWGTFPFMGKIKKLMMNOOUQWRYT RKKMMONUPWQXRYTYXWZT[P[MZKXKWLVMWLX",2275:" 12H]SFLb RYFRb RLQZQ RKWYW",2276:" 46JZUITJUKVJVIUGSFQFOGNINKOMQOVR ROMTPVRWTWVVXTZ RPNNPMRMTNVPXU[ RNVSYU[V]V_UaSbQbOaN_N^O]P^O_",2277:" 30JZRFQHRJSHRF RRFRb RRQQTRbSTRQ RLMNNPMNLLM RLMXM RTMVNXMVLTM",2278:" 56JZRFQHRJSHRF RRFRT RRPQRSVRXQVSRRP RRTRb RR^Q`RbS`R^ RLMNNPMNLLM RLMXM RTMVNXMVLTM RL[N\\P[NZL[ RL[X[ RT[V\\X[VZT[",2279:" 12I\\XFX[ RKFXF RPPXP RK[X[",2281:" 38E`QFNGKIILHOHRIUKXNZQ[T[WZZX\\U]R]O\\LZIWGTFQF RROQPQQRRSRTQTPSORO RRPRQSQSPRP",2282:" 45J[PFNGOIQJ RPFOGOI RUFWGVITJ RUFVGVI RQJOKNLMNMQNSOTQUTUVTWSXQXNWLVKTJQJ RRUR[ RSUS[ RNXWX",2283:" 27I\\RFOGMILLLMMPORRSSSVRXPYMYLXIVGSFRF RRSR[ RSSS[ RNWWW",2284:" 28D`PFMGJIHLGOGSHVJYM[P\\T\\W[ZY\\V]S]O\\LZIWGTFPF RRFR\\ RGQ]Q",2285:" 31G`PMMNKPJSJTKWMYPZQZTYVWWTWSVPTNQMPM R]GWG[HUN R]G]M\\IVO R\\HVN",2286:" 28F\\IIJGLFOFQGRIRLQOPQNSKU ROFPGQIQMPPNS RVFT[ RWFS[ RKUYU",2287:" 30I\\MFMU RNFMQ RMQNOONQMTMWNXPXRWTUV RTMVNWPWRTXTZU[W[YY RKFNF",2288:" 44I\\RNOOMQLTLUMXOZR[S[VZXXYUYTXQVOSNRN RRHNJRFRN RSHWJSFSN RRSQTQURVSVTUTTSSRS RRTRUSUSTRT",2289:" 37G^QHRFR[ RTHSFS[ RJHKFKMLPNRQSRS RMHLFLNMQ R[HZFZMYPWRTSSS RXHYFYNXQ RNWWW",2290:" 31G]LFL[ RMFM[ RIFUFXGYHZJZMYOXPUQMQ RUFWGXHYJYMXOWPUQ RI[Y[YVX[",2291:" 24H[YGUGQHNJLMKPKSLVNYQ[U\\Y\\ RYGVHSJQMPPPSQVSYV[Y\\",2292:" 27F_OQMQKRJSIUIWJYKZM[O[QZRYSWSURSQROQ RSHPQ RZJRR R\\QST",2293:" 12H\\OKUY RUKOY RKOYU RYOKU",2294:" 48F^NVLUKUIVHXHYI[K\\L\\N[OYOXNVKRJOJMKJMHPGTGWHYJZMZOYRVVUXUYV[X\\Y\\[[\\Y\\X[VYUXUVV RJMKKMIPHTHWIYKZM",2295:" 48F^NMLNKNIMHKHJIHKGLGNHOJOKNMKQJTJVKYM[P\\T\\W[YYZVZTYQVMUKUJVHXGYG[H\\J\\K[MYNXNVM RJVKXMZP[T[WZYXZV",2301:" 40F_JMILIJJHLGNGPHQIRKSP RIJKHMHOIPJQLRPR[ R[M\\L\\J[HYGWGUHTISKRP R\\JZHXHVIUJTLSPS[",2302:" 51F^IGJKKMMOPPTPWOYMZK[G RIGJJKLMNPOTOWNYLZJ[G RPONPMQLSLVMXOZQ[S[UZWXXVXSWQVPTO RPPNQMSMVNY RVYWVWSVQTP",2303:" 30F^MJMV RNKNU RVKVU RWJWV RIGKIMJPKTKWJYI[G RIYKWMVPUTUWVYW[Y",2304:" 48F^[ILIJJILINJPLQNQPPQNQLPJ[J RIMJOKPMQ RQMPKOJMI RIXXXZW[U[SZQXPVPTQSSSUTWIW R[TZRYQWP RSTTVUWWX",2305:" 48F]OUMTLTJUIWIXJZL[M[OZPXPWOUJPINIKJILHOGSGWHYJZLZOYRVUUWUYV[X[YZZX RMSKPJNJKKILH RSGVHXJYLYOXRVU",2306:" 48G_HKKHMKMV RJILLLV RMKPHRKRU ROIQLQU RRKUHWKW[ RTIVLV[ RWKZH[J\\M\\P[SZUXWUYP[ RYIZJ[M[PZSYUWWTYP[",2307:" 41F^ISMSLRKOKMLJNHQGSGVHXJYMYOXRWS[S RITOTMRLOLMMJOHQG RSGUHWJXMXOWRUT[T RKXYX RKYYY",2308:" 30F_GLJIMLMX RIJLMLX RMLPISLSX ROJRMRX RSLVIYLYW[Y RUJXMXXZZ]W",2309:" 33G]ZIJY RZIWJQJ RXKUKQJ RZIYLYR RXKXNYR RQRJR RPSMSJR RQRQY RPSPVQY",2310:" 33F^HOJKOU RJMOWRPWPZO[M[KZIXHWHUITKTMUPVRWUWXUZ RWHVIUKUMWQXTXWWYUZ",2311:" 36F^IOLLPN RKMOORLUN RQMTOWLYN RVMXO[L RIULRPT RKSOURRUT RQSTUWRYT RVSXU[R",2312:" 48F^JHNJPLQOQRPUNWJY RJHMIOJQLRO RRRQUOWMXJY RZHWIUJSLRO RRRSUUWWXZY RZHVJTLSOSRTUVWZY RIP[P RIQ[Q",2317:" 12NVQQQSSSSQQQ RQQSS RSQQS",2318:" 18JZMPQRTTVVWYW[V]U^ RMQST RMRPSTUVWWY",2319:" 18JZWKVMTOPQMR RSPMS RUFVGWIWKVNTPQRMT",2320:" 36H\\SMONLPKRKTLVNWQWUVXTYRYPXNVMSM RXNSM RVMQNLP RONKR RLVQW RNWSVXT RUVYR",2321:" 36H\\SMONLPKRKTLVNWQWUVXTYRYPXNVMSM RXNSM RVMQNLP RONKR RLVQW RNWSVXT RUVYR",2322:" 34J[SMPNNPMRMTNVPWRWUVWTXRXPWNUMSM ROPUM RNRVN RMTWO RNUXP ROVWR RPWVT",2323:" 18JZOGO^ RUFU] RMNWL RMOWM RMWWU RMXWV",2324:" 18JZNFNX RVLV^ RNNVL RNOVM RNWVU RNXVV",2325:" 25JZNBNW RNNQLTLVMWOWQVSSUQVNW RNNQMTMVN RUMVOVQUSSU",2326:" 18E_HIHL R\\I\\L RHI\\I RHJ\\J RHK\\K RHL\\L",2327:" 18JZMNMQ RWNWQ RMNWN RMOWO RMPWP RMQWQ",2328:" 49JZMLWX RMLONQOTOVNWMWKUKUMTO RONTO RQOWM RVKVN RULWL RWXUVSUPUNVMWMYOYOWPU RUVPU RSUMW RNVNY RMXOX",2329:" 26JZPOOMOKMKMMNNPOSOUNWL RNKNN RMLOL RMMSO RPOUN RWLWY",2330:" 86A^GfHfIeIdHcGcFdFfGhIiKiNhPfQdR`RUQ;Q4R/S-U,V,X-Y/Y3X6W8U;P?JCHEFHEJDNDREVGYJ[N\\R\\V[XZZW[T[PZMYKWITHPHMIKKJNJRKUMW RGdGeHeHdGd RU;Q?LCIFGIFKENERFVGXJ[ RR\\U[WZYWZTZPYMXKVITH",2331:"103EfNSOUQVSVUUVSVQUOSNQNOONPMSMVNYP[S\\V\\Y[[Y\\W]T]P\\MZJXIUHRHOIMJKLIOHSHXI]KaMcPeTfYf]e`cba RKLJNIRIXJ\\L`NbQdUeYe]d_cba RPOTO ROPUP RNQVQ RNRVR RNSVS ROTUT RPUTU RaLaNcNcLaL RbLbN RaMcM RaVaXcXcVaV RbVbX RaWcW",2332:" 30D`H@Hd RM@Md RW@Wd R\\@\\d RMMWK RMNWL RMOWM RMWWU RMXWV RMYWW",2367:" 12NVQQQSSSSQQQ RQQSS RSQQS",2368:" 18JZMPQRTTVVWYW[V]U^ RMQST RMRPSTUVWWY",2369:" 18JZWKVMTOPQMR RSPMS RUFVGWIWKVNTPQRMT",2370:" 32H\\PMMNLOKQKSLUMVPWTWWVXUYSYQXOWNTMPM RMNLPLSMUNVPW RWVXTXQWOVNTM",2371:" 36H\\SMONLPKRKTLVNWQWUVXTYRYPXNVMSM RXNSM RVMQNLP RONKR RLVQW RNWSVXT RUVYR",2372:" 34J[SMPNNPMRMTNVPWRWUVWTXRXPWNUMSM ROPUM RNRVN RMTWO RNUXP ROVWR RPWVT",2373:" 18JZOGO^ RUFU] RMNWL RMOWM RMWWU RMXWV",2374:" 18JZNFNX RVLV^ RNNVL RNOVM RNWVU RNXVV",2375:" 25JZNBNW RNNQLTLVMWOWQVSSUQVNW RNNQMTMVN RUMVOVQUSSU",2376:" 18E_HIHL R\\I\\L RHI\\I RHJ\\J RHK\\K RHL\\L",2377:" 18JZMNMQ RWNWQ RMNWN RMOWO RMPWP RMQWQ",2378:" 36JZQCVMRTRU RULQS RTITKPRRUUY RW\\UYSXQXOYN[N]O_Ra RW\\UZSYOYO]P_Ra RSXPZN]",2379:" 26JZPOOMOKMKMMNNPOSOUNWL RNKNN RMLOL RMMSO RPOUN RWLSY",2380:" 86A^GfHfIeIdHcGcFdFfGhIiKiNhPfQdR`RUQ;Q4R/S-U,V,X-Y/Y3X6W8U;P?JCHEFHEJDNDREVGYJ[N\\R\\V[XZZW[T[PZMYKWITHPHMIKKJNJRKUMW RGdGeHeHdGd RU;Q?LCIFGIFKENERFVGXJ[ RR\\U[WZYWZTZPYMXKVITH",2381:" 89IjNQOOQNSNUOVQVSUUSVQVOUNTMQMNNKPISHWH[I^K`NaRaW`[_]]`ZcVfQiMk RWHZI]K_N`R`W_[^]\\`YcTgQi RPOTO ROPUP RNQVQ RNRVR RNSVS ROTUT RPUTU ReLeNgNgLeL RfLfN ReMgM ReVeXgXgVeV RfVfX ReWgW",2382:" 85D`H>Hf RI>If RM>Mf RQBSBSDQDQAR?T>W>Y?[A\\D\\I[LYNWOUOSNRLQNOQNROSQVRXSVUUWUYV[X\\[\\`[cYeWfTfReQcQ`S`SbQb RRBRD RQCSC RY?ZA[D[IZLYN RRLRNPQNRPSRVRX RYVZX[[[`ZcYe RR`Rb RQaSa",2401:" 21AcHBHb RIBIb R[B[b R\\B\\b RDB`B RDbMb RWb`b",2402:" 23BaGBQPFb RFBPP REBPQ REB\\B^I[B RGa\\a RFb\\b^[[b",2403:" 28I[X+U1R8P=OANFMNMVN^OcPgRlUsXy RU1S6Q<P@OFNNNVO^PdQhSnUs",2404:" 28I[L+O1R8T=UAVFWNWVV^UcTgRlOsLy RO1Q6S<T@UFVNVVU^TdShQnOs",2405:" 14I[M+MRMy RN+NRNy RM+X+ RMyXy",2406:" 14I[V+VRVy RW+WRWy RL+W+ RLyWy",2407:" 48I[V+S-Q/P1O4O8P<TDUGUJTMRP RS-Q0P4P8Q;UCVGVJUMRPNRRTUWVZV]UaQiPlPpQtSw RRTTWUZU]T`PhOlOpPsQuSwVy",2408:" 48I[N+Q-S/T1U4U8T<PDOGOJPMRP RQ-S0T4T8S;OCNGNJOMRPVRRTOWNZN]OaSiTlTpStQw RRTPWOZO]P`ThUlUpTsSuQwNy",2409:" 32I[V.S1Q4O8N=NCOIPMSXT\\UbUgTlSoQs RS1Q5P8O=OBPHQLTWU[VaVgUlSpQsNv",2410:" 32I[N.Q1S4U8V=VCUITMQXP\\ObOgPlQoSs RQ1S5T8U=UBTHSLPWO[NaNgOlQpSsVv",2411:' 147Z:RARRo R@RQo R?RRr RZ"VJRr',2412:" 57Ca].\\.[/[0\\1]1^0^.],[+Y+W,U.T0S3R:QJQjPsOv R\\/\\0]0]/\\/ RR:Rj RU.T1S:SZRjQqPtOvMxKyIyGxFvFtGsHsItIuHvGv RGtGuHuHtGt",2501:" 20H\\RFJ[ RRIK[J[ RRIY[Z[ RRFZ[ RMUWU RLVXV",2502:" 44H\\LFL[ RMGMZ RLFTFWGXHYJYMXOWPTQ RMGTGWHXJXMWOTP RMPTPWQXRYTYWXYWZT[L[ RMQTQWRXTXWWYTZMZ",2503:" 38H]ZKYIWGUFQFOGMILKKNKSLVMXOZQ[U[WZYXZV RZKYKXIWHUGQGOHMKLNLSMVOYQZUZWYXXYVZV",2504:" 32H]LFL[ RMGMZ RLFSFVGXIYKZNZSYVXXVZS[L[ RMGSGVHWIXKYNYSXVWXVYSZMZ",2505:" 27I\\MFM[ RNGNZ RMFYF RNGYGYF RNPTPTQ RNQTQ RNZYZY[ RM[Y[",2506:" 21I[MFM[ RNGN[M[ RMFYF RNGYGYF RNPTPTQ RNQTQ",2507:" 44H]ZKYIWGUFQFOGMILKKNKSLVMXOZQ[U[WZYXZVZRUR RZKYKXIWHUGQGOHNIMKLNLSMVNXOYQZUZWYXXYVYSUSUR",2508:" 22G]KFK[ RKFLFL[K[ RYFXFX[Y[ RYFY[ RLPXP RLQXQ",2509:" 8NWRFR[S[ RRFSFS[",2510:" 20J[VFVVUYSZQZOYNVMV RVFWFWVVYUZS[Q[OZNYMV",2511:" 22H]LFL[M[ RLFMFM[ RZFYFMR RZFMS RPOY[Z[ RQOZ[",2512:" 14IZMFM[ RMFNFNZ RNZYZY[ RM[Y[",2513:" 26F^JFJ[ RKKK[J[ RKKR[ RJFRX RZFRX RYKR[ RYKY[Z[ RZFZ[",2514:" 20G]KFK[ RLIL[K[ RLIY[ RKFXX RXFXX RXFYFY[",2515:" 40G]PFNGLIKKJNJSKVLXNZP[T[VZXXYVZSZNYKXIVGTFPF RQGNHLKKNKSLVNYQZSZVYXVYSYNXKVHSGQG",2516:" 27H\\LFL[ RMGM[L[ RLFUFWGXHYJYMXOWPUQMQ RMGUGWHXJXMWOUPMP",2517:" 48G]PFNGLIKKJNJSKVLXNZP[T[VZXXYVZSZNYKXIVGTFPF RQGNHLKKNKSLVNYQZSZVYXVYSYNXKVHSGQG RSXX]Y] RSXTXY]",2518:" 34H\\LFL[ RMGM[L[ RLFTFWGXHYJYMXOWPTQMQ RMGTGWHXJXMWOTPMP RRQX[Y[ RSQY[",2519:" 43H\\YIWGTFPFMGKIKKLMMNOOTQVRWSXUXXWYTZPZNYMXKX RYIWIVHTGPGMHLILKMMONTPVQXSYUYXWZT[P[MZKX",2520:" 15J[RGR[ RSGS[R[ RLFYFYG RLFLGYG",2521:" 24G]KFKULXNZQ[S[VZXXYUYF RKFLFLUMXNYQZSZVYWXXUXFYF",2522:" 14H\\JFR[ RJFKFRX RZFYFRX RZFR[",2523:" 26E_GFM[ RGFHFMX RRFMX RRIM[ RRIW[ RRFWX R]F\\FWX R]FW[",2524:" 16H\\KFX[Y[ RKFLFY[ RYFXFK[ RYFL[K[",2525:" 17I\\KFRPR[S[ RKFLFSP RZFYFRP RZFSPS[",2526:" 20H\\XFK[ RYFL[ RKFYF RKFKGXG RLZYZY[ RK[Y[",2551:" 38E\\XFVHTKQPOSLWIZG[E[DZDXEWFXEY RXFWJUTT[ RXFU[ RT[TYSVRTPRNQLQKRKTLWOZR[V[XZ",2552:" 70F^UGTHSJQOOUNWLZJ[ RTHSKQSPVOXMZJ[H[GZGXHWIXHY ROLNNMOKOJNJLKJMHOGRFXFZG[I[KZMXNTORO RXFYGZIZKYMXN RTOWPXQYSYVXYWZU[S[RZRXSU RTOVPWQXSXVWYU[",2553:" 41H]KHJJJLKNNOQOUNWMYKZIZGYFWFTGQJOMMQLULXMZP[R[UZWXXVXTWRURSSRU RWFUGRJPMNQMUMXNZP[",2554:" 43F]UGTHSJQOOUNWLZJ[ RTHSKQSPVOXMZJ[H[GZGXHWJWLXNZP[S[UZWXYTZOZLYIWGUFPFMGKIJKJMKNMNNMOK",2555:" 49I\\WIVJVLWMYMZKZIYGWFTFRGQHPJPLQNSO RTFRHQJQMSO RSOQONPLRKTKWLYMZO[R[UZWXXVXTWRURSSRU RQOOPMRLTLXMZ",2556:" 46G\\WHVJTORUQWOZM[ RQLPNNOLOKMKKLINGQF[FXGWHVKTSSVRXPZM[K[IZHYHXIWJXIY RSFWGXG ROSPRRQVQXPZMXT",2557:" 53G]JIIKIMJOLPOPROTNWKXHXGWFVFTGRIQKPNPQQSSTUTWSYQZO RWFUGSIRKQNQRST RZOYSWWUYSZO[L[JZIXIWJVKWJX RYSWVUXRZO[",2558:" 55F^LLKKKILGOFRFOQMWLYKZI[G[FZFXGWHXGY RRFOONRLWKYI[ RJTKSMRVOXN[L]J^H^G]F\\FZGXJWLURTVTYV[W[YZ[X R\\FZHXLVRUVUYV[",2559:" 33IYWHUKSPQUPWNZL[ RYLWNTOQOONNLNJOHQGUFYFWHVJTPRVQXOZL[J[IZIXJWKXJY",2560:" 34IZYFWHUKSPPYN] RYMWOTPQPOONMNKOIQGUFYFWIVKSTQXPZN]M^K_J^J\\KZMXOWRVVU",2561:" 59F^LLKKKIMGPFRFOQMWLYKZI[G[FZFXGWHXGY RRFOONRLWKYI[ RZGWKUMSNPO R]G\\H]I^H^G]F\\FZGWLVMTNPO RPOSPTRUYV[ RPORPSRTYV[W[YZ[X",2562:" 40I[MILKLMMOOPRPUOWNZK[H[GZFYFWGVHTKPUOWMZK[ RVHTLRSQVPXNZK[I[HZHXIWKWMXPZR[U[WZYX",2563:" 49D`RFNOKUIXGZE[C[BZBXCWDXCY RRFPMOQNVNZP[ RRFQJPOOVOZP[ R[FWORXP[ R[FYMXQWVWZY[Z[\\Z^X R[FZJYOXVXZY[",2564:" 38G^RFQJOPMULWJZH[F[EZEXFWGXFY RRFRKSVT[ RRFSKTVT[ R`G_H`IaHaG`F^F\\GZJYLWQUWT[",2565:" 34H]SFQGOIMLLNKRKVLYMZO[Q[TZVXXUYSZOZKYHXGWGUHSJQNPSPV RQGOJMNLRLVMYO[",2566:" 53F]UGTHSJQOOUNWLZJ[ RTHSKQSPVOXMZJ[H[GZGXHWIXHY ROLNNMOKOJNJLKJMHOGRFVFYGZH[J[MZOYPVQTQRP RVFXGYHZJZMYOXPVQ",2567:" 43H]UJULTNSOQPOPNNNLOIQGTFWFYGZIZMYPWSSWPYNZK[I[HZHXIWKWMXPZS[V[XZZX RWFXGYIYMXPVSSVOYK[",2568:" 65F^UGTHSJQOOUNWLZJ[ RTHSKQSPVOXMZJ[H[GZGXHWIXHY ROLNNMOKOJNJLKJMHOGRFWFZG[I[KZMYNVORO RWFYGZIZKYMXNVO RROUPVRWYX[ RROTPURVYX[Y[[Z]X",2569:" 36H\\NIMKMMNOPPSPVOXN[K\\H\\G[FZFXGWHVJUMSTRWPZN[ RVJUNTUSXQZN[K[IZHXHWIVJWIX",2570:" 38I[YHXJVOTUSWQZO[ RSLRNPONOMMMKNIPGSF\\FZGYHXKVSUVTXRZO[M[KZJYJXKWLXKY RUFYGZG",2571:" 39G]HJJGLFMFOHOKNNKVKYL[ RMFNHNKKSJVJYL[N[PZSWUTVR RZFVRUVUYW[X[ZZ\\X R[FWRVVVYW[",2572:" 36G\\HJJGLFMFOHOKNOLVLYM[ RMFNHNKLRKVKYM[N[QZTWVTXPYMZIZGYFXFWGVIVLWNYP[Q]Q",2573:" 41F]ILHLGKGIHGJFNFMHLLKUJ[ RLLLUK[ RVFTHRLOUMYK[ RVFUHTLSUR[ RTLTUS[ R`F^G\\IZLWUUYS[",2574:" 52H\\PKOLMLLKLIMGOFQFSGTITLSPQUOXMZJ[H[GZGXHWIXHY RQFRGSISLRPPUNXLZJ[ R]G\\H]I^H^G]F[FYGWIULSPRURXSZT[U[WZYX",2575:" 42G]JJLGNFOFQGQIOOORPT ROFPGPINONRPTRTUSWQYNZL R\\FZLWTUX R]F[LYQWUUXSZP[L[JZIXIWJVKWJX",2576:" 44G\\ZHYJWOVRUTSWQYOZL[ RSLRNPONOMMMKNIPGSF]F[GZHYKXOVUTXQZL[H[GZGXHWJWLXOZQ[T[WZYX RVFZG[G",2601:" 36H\\WMW[X[ RWMXMX[ RWPUNSMPMNNLPKSKULXNZP[S[UZWX RWPSNPNNOMPLSLUMXNYPZSZWX",2602:" 36H\\LFL[M[ RLFMFM[ RMPONQMTMVNXPYSYUXXVZT[Q[OZMX RMPQNTNVOWPXSXUWXVYTZQZMX",2603:" 32I[XPVNTMQMONMPLSLUMXOZQ[T[VZXX RXPWQVOTNQNOONPMSMUNXOYQZTZVYWWXX",2604:" 36H\\WFW[X[ RWFXFX[ RWPUNSMPMNNLPKSKULXNZP[S[UZWX RWPSNPNNOMPLSLUMXNYPZSZWX",2605:" 36I[MTXTXQWOVNTMQMONMPLSLUMXOZQ[T[VZXX RMSWSWQVOTNQNOONPMSMUNXOYQZTZVYWWXX",2606:" 24LZWFUFSGRJR[S[ RWFWGUGSH RTGSJS[ ROMVMVN ROMONVN",2607:" 48H\\XMWMW\\V_U`SaQaO`N_L_ RXMX\\W_UaSbPbNaL_ RWPUNSMPMNNLPKSKULXNZP[S[UZWX RWPSNPNNOMPLSLUMXNYPZSZWX",2608:" 25H\\LFL[M[ RLFMFM[ RMQPNRMUMWNXQX[ RMQPORNTNVOWQW[X[",2609:" 24NWRFQGQHRISITHTGSFRF RRGRHSHSGRG RRMR[S[ RRMSMS[",2610:" 24NWRFQGQHRISITHTGSFRF RRGRHSHSGRG RRMRbSb RRMSMSb",2611:" 22H[LFL[M[ RLFMFM[ RXMWMMW RXMMX RPTV[X[ RQSX[",2612:" 8NWRFR[S[ RRFSFS[",2613:" 42CbGMG[H[ RGMHMH[ RHQKNMMPMRNSQS[ RHQKOMNONQORQR[S[ RSQVNXM[M]N^Q^[ RSQVOXNZN\\O]Q][^[",2614:" 25H\\LML[M[ RLMMMM[ RMQPNRMUMWNXQX[ RMQPORNTNVOWQW[X[",2615:" 36I\\QMONMPLSLUMXOZQ[T[VZXXYUYSXPVNTMQM RQNOONPMSMUNXOYQZTZVYWXXUXSWPVOTNQN",2616:" 36H\\LMLbMb RLMMMMb RMPONQMTMVNXPYSYUXXVZT[Q[OZMX RMPQNTNVOWPXSXUWXVYTZQZMX",2617:" 36H\\WMWbXb RWMXMXb RWPUNSMPMNNLPKSKULXNZP[S[UZWX RWPSNPNNOMPLSLUMXNYPZSZWX",2618:" 21KYOMO[P[ ROMPMP[ RPSQPSNUMXM RPSQQSOUNXNXM",2619:" 50J[XPWNTMQMNNMPNRPSUUWV RVUWWWXVZ RWYTZQZNY ROZNXMX RXPWPVN RWOTNQNNO RONNPOR RNQPRUTWUXWXXWZT[Q[NZMX",2620:" 16MXRFR[S[ RRFSFS[ ROMVMVN ROMONVN",2621:" 25H\\LMLWMZO[R[TZWW RLMMMMWNYPZRZTYWW RWMW[X[ RWMXMX[",2622:" 14JZLMR[ RLMMMRY RXMWMRY RXMR[",2623:" 26F^IMN[ RIMJMNX RRMNX RRPN[ RRPV[ RRMVX R[MZMVX R[MV[",2624:" 16I[LMW[X[ RLMMMX[ RXMWML[ RXMM[L[",2625:" 17JZLMR[ RLMMMRY RXMWMRYNb RXMR[ObNb",2626:" 20I[VNL[ RXMNZ RLMXM RLMLNVN RNZXZX[ RL[X[",2651:" 33K[UUTSRRPRNSMTLVLXMZO[Q[SZTX RPRNTMVMYO[ RVRTXTZV[XZYY[V RWRUXUZV[",2652:" 23LZLVNSPO RSFMXMZO[P[RZTXUUURVVWWXWZV RTFNXNZO[",2653:" 22LXTSSTTTTSSRQROSNTMVMXNZP[S[VYXV RQROTNVNYP[",2654:" 33K[UUTSRRPRNSMTLVLXMZO[Q[SZTX RPRNTMVMYO[ RZFTXTZV[XZYY[V R[FUXUZV[",2655:" 23LXOYQXRWSUSSRRQROSNTMVMXNZP[S[VYXV RQROTNVNYP[",2656:" 27OXRRUOWLXIXGWFUGTIKdKfLgNfOcPZQ[S[UZVYXV RTISNRRO[M`Kd",2657:" 38K[UUTSRRPRNSMTLVLXMZO[Q[SZTX RPRNTMVMYO[ RVRPd RWRT[R`PdOfMgLfLdMaO_R]V[YY[V",2658:" 30L[LVNSPO RSFL[ RTFM[ ROUQSSRTRVSVUUXUZV[ RTRUSUUTXTZV[XZYY[V",2659:" 19NVSLRMSNTMSL RQROXOZQ[SZTYVV RRRPXPZQ[",2660:" 24NVSLRMSNTMSL RQRKd RRRO[M`KdJfHgGfGdHaJ_M]Q[TYVV",2661:" 31LZLVNSPO RSFL[ RTFM[ RURUSVSURTRRTOU ROURVSZT[ ROUQVRZT[U[XYZV",2662:" 17NVNVPSRO RUFOXOZQ[SZTYVV RVFPXPZQ[",2663:" 45E^EVGSIRKSKUI[ RIRJSJUH[ RKUMSORPRRSRUP[ RPRQSQUO[ RRUTSVRWRYSYUXXXZY[ RWRXSXUWXWZY[[Z\\Y^V",2664:" 32I[IVKSMROSOUM[ RMRNSNUL[ ROUQSSRTRVSVUUXUZV[ RTRUSUUTXTZV[XZYY[V",2665:" 29KYRRPRNSMTLVLXMZO[Q[SZTYUWUUTSRRQSQURWTXVXXWYV RPRNTMVMYO[",2666:" 30L[LVNSPO RQLHg RRLIg ROUQSSRTRVSVUUXUZV[ RTRUSUUTXTZV[XZYY[V",2667:" 35K[UUTSRRPRNSMTLVLXMZO[Q[SZ RPRNTMVMYO[ RVRPdPfQgSfTcT[V[YY[V RWRT[R`Pd",2668:" 24LZLVNSPRRSRUP[ RPRQSQUO[ RRUTSVRWRVU RVRVUWWXWZV",2669:" 22NZNVPSQQQSTUUWUYTZR[ RQSSUTWTYR[ RNZP[U[XYZV",2670:" 20NVNVPSRO RUFOXOZQ[SZTYVV RVFPXPZQ[ RPNVN",2671:" 27K[NRLXLZN[O[QZSXUU RORMXMZN[ RVRTXTZV[XZYY[V RWRUXUZV[",2672:" 23KZNRMTLWLZN[O[RZTXUUUR RORNTMWMZN[ RURVVWWXWZV",2673:" 36H]LRJTIWIZK[L[NZPX RMRKTJWJZK[ RRRPXPZR[S[UZWXXUXR RSRQXQZR[ RXRYVZW[W]V",2674:" 42JZJVLSNRPRQSQUPXOZM[L[KZKYLYKZ RWSVTWTWSVRURSSRUQXQZR[U[XYZV RQSRU RSSQU RPXQZ RQXOZ",2675:" 32K[NRLXLZN[O[QZSXUU RORMXMZN[ RVRPd RWRT[R`PdOfMgLfLdMaO_R]V[YY[V",2676:" 38LYLVNSPRRRTSTVSXPZN[ RRRSSSVRXPZ RN[P\\Q^QaPdNfLgKfKdLaO^R\\VYYV RN[O\\P^PaOdNf",2700:" 42H\\QFNGLJKOKRLWNZQ[S[VZXWYRYOXJVGSFQF ROGMJLOLRMWOZ RNYQZSZVY RUZWWXRXOWJUG RVHSGQGNH",2701:" 12H\\NJPISFS[ RNJNKPJRHR[S[",2702:" 34H\\LKLJMHNGPFTFVGWHXJXLWNUQL[ RLKMKMJNHPGTGVHWJWLVNTQK[ RLZYZY[ RK[Y[",2703:" 48H\\MFXFQO RMFMGWG RWFPO RQNSNVOXQYTYUXXVZS[P[MZLYKWLW RPOSOVPXS RTOWQXTXUWXTZ RXVVYSZPZMYLW ROZLX",2704:" 18H\\UIU[V[ RVFV[ RVFKVZV RUILV RLUZUZV",2705:" 53H\\MFLO RNGMN RMFWFWG RNGWG RMNPMSMVNXPYSYUXXVZS[P[MZLYKWLW RLOMOONSNVOXR RTNWPXSXUWXTZ RXVVYSZPZMYLW ROZLX",2706:" 62H\\VGWIXIWGTFRFOGMJLOLTMXOZR[S[VZXXYUYTXQVOSNRNOOMQ RWHTGRGOH RPGNJMOMTNXQZ RMVOYRZSZVYXV RTZWXXUXTWQTO RXSVPSOROOPMS RQONQMT",2707:" 12H\\KFYFO[ RKFKGXG RXFN[O[",2708:" 68H\\PFMGLILKMMNNPOTPVQWRXTXWWYTZPZMYLWLTMRNQPPTOVNWMXKXIWGTFPF RNGMIMKNMPNTOVPXRYTYWXYWZT[P[MZLYKWKTLRNPPOTNVMWKWIVG RWHTGPGMH RLXOZ RUZXX",2709:" 62H\\WPURRSQSNRLPKMKLLINGQFRFUGWIXMXRWWUZR[P[MZLXMXNZ RWMVPSR RWNUQRRQRNQLN RPRMPLMLLMIPG RLKNHQGRGUHWK RSGVIWMWRVWTZ RUYRZPZMY",2710:" 16MXRXQYQZR[S[TZTYSXRX RRYRZSZSYRY",2711:" 24MXTZS[R[QZQYRXSXTYT\\S^Q_ RRYRZSZSYRY RS[T\\ RTZS^",2712:" 32MXRMQNQORPSPTOTNSMRM RRNROSOSNRN RRXQYQZR[S[TZTYSXRX RRYRZSZSYRY",2713:" 40MXRMQNQORPSPTOTNSMRM RRNROSOSNRN RTZS[R[QZQYRXSXTYT\\S^Q_ RRYRZSZSYRY RS[T\\ RTZS^",2714:" 24MXRFRTST RRFSFST RRXQYQZR[S[TZTYSXRX RRYRZSZSYRY",2715:" 58I\\LKLJMHNGQFTFWGXHYJYLXNWOUPRQ RLKMKMJNHQGTGWHXJXLWNUORP RMIPG RUGXI RXMTP RRPRTSTSP RRXQYQZR[S[TZTYSXRX RRYRZSZSYRY",2716:" 24MXTFRGQIQLRMSMTLTKSJRJQK RRKRLSLSKRK RRGQK RQIRJ",2717:" 24MXTHSIRIQHQGRFSFTGTJSLQM RRGRHSHSGRG RSITJ RTHSL",2718:" 71F_\\MZMXNWPUVTXSYQZMZKYJWJUKSLRQOSMTKTISGQFPFNGMIMKNNPQUWXZZ[\\[ R\\M\\NZNXO RYNXPVVUXSZQ[M[KZJYIWIUJSLQQNRMSKSIRG RSHQGPGNH ROGNINKONQQVWXYZZ\\Z\\[",2719:" 51I\\RBR_S_ RRBSBS_ RWIYIWGTFQFNGLILKMMNNVRWSXUXWWYTZQZOYNX RWIVHTGQGNHMIMKNMVQXSYUYWXYWZT[Q[NZLXNX RXXUZ",2720:" 8G^[BIbJb R[B\\BJb",2721:" 24KYUBSDQGOKNPNTOYQ]S`UbVb RUBVBTDRGPKOPOTPYR]T`Vb",2722:" 24KYNBPDRGTKUPUTTYR]P`NbOb RNBOBQDSGUKVPVTUYS]Q`Ob",2723:" 39JZRFQGSQRR RRFRR RRFSGQQRR RMINIVOWO RMIWO RMIMJWNWO RWIVINOMO RWIMO RWIWJMNMO",2724:" 8F_JQ[Q[R RJQJR[R",2725:" 16F_RIRZSZ RRISISZ RJQ[Q[R RJQJR[R",2726:" 16F_JM[M[N RJMJN[N RJU[U[V RJUJV[V",2727:" 11NWSFRGRM RSGRM RSFTGRM",2728:" 22I[NFMGMM RNGMM RNFOGMM RWFVGVM RWGVM RWFXGVM",2729:" 30KYQFOGNINKOMQNSNUMVKVIUGSFQF RQFNIOMSNVKUGQF RSFOGNKQNUMVISF",2750:" 42H]TFQGOIMLLOKSKVLYMZO[Q[TZVXXUYRZNZKYHXGVFTF RTFRGPINLMOLSLVMYO[ RQ[SZUXWUXRYNYKXHVF",2751:" 15H]TJO[ RVFP[ RVFSIPKNL RUIQKNL",2752:" 42H]OJPKOLNKNJOHPGSFVFYGZIZKYMWOTQPSMUKWI[ RVFXGYIYKXMVOPS RJYKXMXRZUZWYXW RMXR[U[WZXW",2753:" 50H]OJPKOLNKNJOHPGSFVFYGZIZKYMVOSP RVFXGYIYKXMVO RQPSPVQWRXTXWWYVZS[O[LZKYJWJVKULVKW RSPUQVRWTWWVYUZS[",2754:" 10H]XGR[ RYFS[ RYFJUZU",2755:" 39H]QFLP RQF[F RQGVG[F RLPMOPNSNVOWPXRXUWXUZR[O[LZKYJWJVKULVKW RSNUOVPWRWUVXTZR[",2756:" 46H]YIXJYKZJZIYGWFTFQGOIMLLOKSKWLYMZO[R[UZWXXVXSWQVPTOQOOPMRLT RTFRGPINLMOLSLXMZ RR[TZVXWVWRVP",2757:" 30H]NFLL R[FZIXLSRQUPWO[ RXLRRPUOWN[ RMIPFRFWI RNHPGRGWIYIZH[F",2758:" 63H]SFPGOHNJNMOOQPTPXOYNZLZIYGVFSF RSFQGPHOJOMPOQP RTPWOXNYLYIXGVF RQPMQKSJUJXKZN[R[VZWYXWXTWRVQTP RQPNQLSKUKXLZN[ RR[UZVYWWWSVQ",2759:" 46H]YMXOVQTRQROQNPMNMKNIPGSFVFXGYHZJZNYRXUVXTZQ[N[LZKXKWLVMWLX ROQNONKOIQGSF RXGYIYNXRWUUXSZQ[",2760:" 6MXPYOZP[QZPY",2761:" 8MXP[OZPYQZQ[P]N_",2762:" 11MXSMRNSOTNSM RPYOZP[QZ",2763:" 14MXSMRNSOTNSM RP[OZPYQZQ[P]N_",2764:" 17MXUFTGRS RUGRS RUFVGRS RPYOZP[QZPY",2765:" 34H]OJPKOLNKNJOHPGSFWFZG[I[KZMYNSPQQQSRTTT RWFYGZIZKYMXNVO RPYOZP[QZPY",2766:" 8MXVFTHSJSKTLUKTJ",2767:" 8MXUHTGUFVGVHUJSL",2768:" 55E_\\N[O\\P]O]N\\M[MYNWPRXPZN[K[HZGXGVHTISKRPPROTMUKUITGRFPGOIOLPRQUSXUZW[Y[ZYZX RK[IZHXHVITJSPP ROLPQQTSWUYWZYZZY",2769:" 41H]TBL_ RYBQ_ RZJYKZL[K[JZHYGVFRFOGMIMKNMONVRXT RMKOMVQWRXTXWWYVZS[O[LZKYJWJVKULVKW",2770:" 3G]_BEb",2771:" 20KZZBVESHQKOONTNXO]P`Qb RVESIQMPPOUOZP_Qb",2772:" 20JYSBTDUGVLVPUUSYQ\\N_Jb RSBTEUJUOTTSWQ[N_",2773:" 9J[TFTR ROIYO RYIOO",2774:" 3E_IR[R",2775:" 6E_RIR[ RIR[R",2776:" 6E_IO[O RIU[U",2777:" 6NWUFSM RVFSM",2778:" 12I[PFNM RQFNM RYFWM RZFWM",2779:" 14KZSFQGPIPKQMSNUNWMXKXIWGUFSF",2801:" 18H\\RFK[ RRFY[ RRIX[ RMUVU RI[O[ RU[[[",2802:" 31G]LFL[ RMFM[ RIFYFYLXF RMPUPXQYRZTZWYYXZU[I[ RUPWQXRYTYWXYWZU[",2803:" 45G]LFL[ RMFM[ RIFUFXGYHZJZLYNXOUP RUFWGXHYJYLXNWOUP RMPUPXQYRZTZWYYXZU[I[ RUPWQXRYTYWXYWZU[",2804:" 14I[NFN[ ROFO[ RKFZFZLYF RK[R[",2805:" 31F^NFNLMTLXKZJ[ RXFX[ RYFY[ RKF\\F RG[\\[ RG[Gb RH[Gb R[[\\b R\\[\\b",2806:" 22G\\LFL[ RMFM[ RSLST RIFYFYLXF RMPSP RI[Y[YUX[",2807:" 71CbRFR[ RSFS[ ROFVF RGGHHGIFHFGGFHFIGJIKMLONPWPYOZM[I\\G]F^F_G_H^I]H^G RNPLQKSJXIZH[ RNPMQLSKXJZI[G[FZEX RWPYQZS[X\\Z][ RWPXQYSZX[Z\\[^[_Z`X RO[V[",2808:" 45H\\LIKFKLLINGPFTFWGXIXLWNTOQO RTFVGWIWLVNTO RTOVPXRYTYWXYWZT[O[MZLYKWKVLUMVLW RWQXTXWWYVZT[",2809:" 27F^KFK[ RLFL[ RXFX[ RYFY[ RHFOF RUF\\F RXHLY RH[O[ RU[\\[",2810:" 37F^KFK[ RLFL[ RXFX[ RYFY[ RHFOF RUF\\F RXHLY RH[O[ RU[\\[ RN@N?M?M@NBPCTCVBW@",2811:" 43F^KFK[ RLFL[ RHFOF RLPSPUOVMWIXGYFZF[G[HZIYHZG RSPUQVSWXXZY[ RSPTQUSVXWZX[Z[[Z\\X RH[O[",2812:" 25E^MFMLLTKXJZI[H[GZGYHXIYHZ RXFX[ RYFY[ RJF\\F RU[\\[",2813:" 30F_KFK[ RLFRX RKFR[ RYFR[ RYFY[ RZFZ[ RHFLF RYF]F RH[N[ RV[][",2814:" 27F^KFK[ RLFL[ RXFX[ RYFY[ RHFOF RUF\\F RLPXP RH[O[ RU[\\[",2815:" 44G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RQFOGMILKKOKRLVMXOZQ[ RS[UZWXXVYRYOXKWIUGSF",2816:" 21F^KFK[ RLFL[ RXFX[ RYFY[ RHF\\F RH[O[ RU[\\[",2817:" 29G]LFL[ RMFM[ RIFUFXGYHZJZMYOXPUQMQ RUFWGXHYJYMXOWPUQ RI[P[",2818:" 32G\\XIYLYFXIVGSFQFNGLIKKJNJSKVLXNZQ[S[VZXXYV RQFOGMILKKNKSLVMXOZQ[",2819:" 16I\\RFR[ RSFS[ RLFKLKFZFZLYF RO[V[",2820:" 24H]KFRV RLFSV RZFSVQYPZN[M[LZLYMXNYMZ RIFOF RVF\\F",2821:" 48F_RFR[ RSFS[ ROFVF RPILJJLIOIRJULWPXUXYW[U\\R\\O[LYJUIPI RPIMJKLJOJRKUMWPX RUXXWZU[R[OZLXJUI RO[V[",2822:" 21H\\KFX[ RLFY[ RYFK[ RIFOF RUF[F RI[O[ RU[[[",2823:" 27F^KFK[ RLFL[ RXFX[ RYFY[ RHFOF RUF\\F RH[\\[ R[[\\b R\\[\\b",2824:" 28F]KFKQLSOTRTUSWQ RLFLQMSOT RWFW[ RXFX[ RHFOF RTF[F RT[[[",2825:" 30BcGFG[ RHFH[ RRFR[ RSFS[ R]F][ R^F^[ RDFKF ROFVF RZFaF RD[a[",2826:" 36BcGFG[ RHFH[ RRFR[ RSFS[ R]F][ R^F^[ RDFKF ROFVF RZFaF RD[a[ R`[ab Ra[ab",2827:" 31F`PFP[ RQFQ[ RIFHLHFTF RQPXP[Q\\R]T]W\\Y[ZX[M[ RXPZQ[R\\T\\W[YZZX[",2828:" 41CaHFH[ RIFI[ REFLF RIPPPSQTRUTUWTYSZP[E[ RPPRQSRTTTWSYRZP[ R[F[[ R\\F\\[ RXF_F RX[_[",2829:" 29H]MFM[ RNFN[ RJFQF RNPUPXQYRZTZWYYXZU[J[ RUPWQXRYTYWXYWZU[",2830:" 39H]LIKFKLLINGQFSFVGXIYKZNZSYVXXVZS[P[MZLYKWKVLUMVLW RSFUGWIXKYNYSXVWXUZS[ RPPYP",2831:" 59CbHFH[ RIFI[ REFLF RE[L[ RVFSGQIPKOOORPVQXSZV[X[[Z]X^V_R_O^K]I[GXFVF RVFTGRIQKPOPRQVRXTZV[ RX[ZZ\\X]V^R^O]K\\IZGXF RIPOP",2832:" 45G]WFW[ RXFX[ R[FOFLGKHJJJLKNLOOPWP ROFMGLHKJKLLNMOOP RRPPQORLYKZJZIY RPQOSMZL[J[IYIX RT[[[",2901:" 39I]NONPMPMONNPMTMVNWOXQXXYZZ[ RWOWXXZZ[[[ RWQVRPSMTLVLXMZP[S[UZWX RPSNTMVMXNZP[",2902:" 48H\\XFWGQINKLNKQKULXNZQ[S[VZXXYUYSXPVNSMQMNNLPKS RXFWHUIQJNLLN RQMONMPLSLUMXOZQ[ RS[UZWXXUXSWPUNSM",2903:" 37H\\MMM[ RNMN[ RJMUMXNYPYQXSUT RUMWNXPXQWSUT RNTUTXUYWYXXZU[J[ RUTWUXWXXWZU[",2904:" 14HZMMM[ RNMN[ RJMXMXRWM RJ[Q[",2905:" 22F]NMNQMWLZK[ RWMW[ RXMX[ RKM[M RI[H`H[[[[`Z[",2906:" 31H[LSXSXQWOVNTMQMNNLPKSKULXNZQ[S[VZXX RWSWPVN RQMONMPLSLUMXOZQ[",2907:" 59E`RMR[ RSMS[ ROMVM RJNIOHNIMJMKNMRNSPTUTWSXRZN[M\\M]N\\O[N RPTNUMVKZJ[ RPTNVLZK[I[HZGX RUTWUXVZZ[[ RUTWVYZZ[\\[]Z^X RO[V[",2908:" 42I[MOLMLQMONNPMTMWNXPXQWSTT RTMVNWPWQVSTT RQTTTWUXWXXWZT[P[MZLXLWMVNWMX RTTVUWWWXVZT[",2909:" 27G]LML[ RMMM[ RWMW[ RXMX[ RIMPM RTM[M RI[P[ RT[[[ RWNMZ",2910:" 37G]LML[ RMMM[ RWMW[ RXMX[ RIMPM RTM[M RI[P[ RT[[[ RWNMZ ROGOFNFNGOIQJSJUIVG",2911:" 38H\\MMM[ RNMN[ RJMQM RNTPTSSTRVNWMXMYNXOWN RPTSUTVVZW[ RPTRUSVUZV[X[YZZX RJ[Q[",2912:" 22G]NMNQMWLZK[J[IZJYKZ RWMW[ RXMX[ RKM[M RT[[[",2913:" 30G^LML[ RLMR[ RMMRY RXMR[ RXMX[ RYMY[ RIMMM RXM\\M RI[O[ RU[\\[",2914:" 27G]LML[ RMMM[ RWMW[ RXMX[ RIMPM RTM[M RMTWT RI[P[ RT[[[",2915:" 36H\\QMNNLPKSKULXNZQ[S[VZXXYUYSXPVNSMQM RQMONMPLSLUMXOZQ[ RS[UZWXXUXSWPUNSM",2916:" 21G]LML[ RMMM[ RWMW[ RXMX[ RIM[M RI[P[ RT[[[",2917:" 36G\\LMLb RMMMb RMPONQMSMVNXPYSYUXXVZS[Q[OZMX RSMUNWPXSXUWXUZS[ RIMMM RIbPb",2918:" 28H[WPVQWRXQXPVNTMQMNNLPKSKULXNZQ[S[VZXX RQMONMPLSLUMXOZQ[",2919:" 16I\\RMR[ RSMS[ RMMLRLMYMYRXM RO[V[",2920:" 22I[LMR[ RMMRY RXMR[P_NaLbKbJaK`La RJMPM RTMZM",2921:" 52H]RFRb RSFSb ROFSF RRPQNPMNMLNKQKWLZN[P[QZRX RNMMNLQLWMZN[ RWMXNYQYWXZW[ RSPTNUMWMYNZQZWYZW[U[TZSX RObVb",2922:" 21H\\LMW[ RMMX[ RXML[ RJMPM RTMZM RJ[P[ RT[Z[",2923:" 23G]LML[ RMMM[ RWMW[ RXMX[ RIMPM RTM[M RI[[[[`Z[",2924:" 28G]LMLTMVPWRWUVWT RMMMTNVPW RWMW[ RXMX[ RIMPM RTM[M RT[[[",2925:" 30CbHMH[ RIMI[ RRMR[ RSMS[ R\\M\\[ R]M][ REMLM ROMVM RYM`M RE[`[",2926:" 32CbHMH[ RIMI[ RRMR[ RSMS[ R\\M\\[ R]M][ REMLM ROMVM RYM`M RE[`[``_[",2927:" 27H]QMQ[ RRMR[ RLMKRKMUM RRTVTYUZWZXYZV[N[ RVTXUYWYXXZV[",2928:" 37E_JMJ[ RKMK[ RGMNM RKTOTRUSWSXRZO[G[ ROTQURWRXQZO[ RYMY[ RZMZ[ RVM]M RV[][",2929:" 25J[OMO[ RPMP[ RLMSM RPTTTWUXWXXWZT[L[ RTTVUWWWXVZT[",2930:" 34I\\MOLMLQMONNPMSMVNXPYSYUXXVZS[P[NZLXLWMVNWMX RSMUNWPXSXUWXUZS[ RRTXT",2931:" 51DaIMI[ RJMJ[ RFMMM RF[M[ RVMSNQPPSPUQXSZV[X[[Z]X^U^S]P[NXMVM RVMTNRPQSQURXTZV[ RX[ZZ\\X]U]S\\PZNXM RJTPT",2932:" 40G\\VMV[ RWMW[ RZMOMLNKPKQLSOTVT ROMMNLPLQMSOT RTTQUPVNZM[ RTTRUQVOZN[L[KZJX RS[Z[",3001:" 36H\\RFKZ RQIW[ RRIX[ RRFY[ RMUVU RI[O[ RT[[[ RKZJ[ RKZM[ RWZU[ RWYV[ RXYZ[",3002:" 78G]LFL[ RMGMZ RNFN[ RIFUFXGYHZJZLYNXOUP RXHYJYLXN RUFWGXIXMWOUP RNPUPXQYRZTZWYYXZU[I[ RXRYTYWXY RUPWQXSXXWZU[ RJFLG RKFLH ROFNH RPFNG RLZJ[ RLYK[ RNYO[ RNZP[",3003:" 37G\\XIYFYLXIVGTFQFNGLIKKJNJSKVLXNZQ[T[VZXXYV RMILKKNKSLVMX RQFOGMJLNLSMWOZQ[",3004:" 62G]LFL[ RMGMZ RNFN[ RIFSFVGXIYKZNZSYVXXVZS[I[ RWIXKYNYSXVWX RSFUGWJXNXSWWUZS[ RJFLG RKFLH ROFNH RPFNG RLZJ[ RLYK[ RNYO[ RNZP[",3005:" 83G\\LFL[ RMGMZ RNFN[ RIFYFYL RNPTP RTLTT RI[Y[YU RJFLG RKFLH ROFNH RPFNG RTFYG RVFYH RWFYI RXFYL RTLSPTT RTNRPTR RTOPPTQ RLZJ[ RLYK[ RNYO[ RNZP[ RT[YZ RV[YY RW[YX RX[YU",3006:" 70G[LFL[ RMGMZ RNFN[ RIFYFYL RNPTP RTLTT RI[Q[ RJFLG RKFLH ROFNH RPFNG RTFYG RVFYH RWFYI RXFYL RTLSPTT RTNRPTR RTOPPTQ RLZJ[ RLYK[ RNYO[ RNZP[",3007:" 60G^XIYFYLXIVGTFQFNGLIKKJNJSKVLXNZQ[T[VZXZY[YS RMILKKNKSLVMX RQFOGMJLNLSMWOZQ[ RXTXY RWSWYVZ RTS\\S RUSWT RVSWU RZSYU R[SYT",3008:" 81F^KFK[ RLGLZ RMFM[ RWFW[ RXGXZ RYFY[ RHFPF RTF\\F RMPWP RH[P[ RT[\\[ RIFKG RJFKH RNFMH ROFMG RUFWG RVFWH RZFYH R[FYG RKZI[ RKYJ[ RMYN[ RMZO[ RWZU[ RWYV[ RYYZ[ RYZ[[",3009:" 39LXQFQ[ RRGRZ RSFS[ RNFVF RN[V[ ROFQG RPFQH RTFSH RUFSG RQZO[ RQYP[ RSYT[ RSZU[",3010:" 45JYSFSWRZQ[ RTGTWSZ RUFUWTZQ[O[MZLXLVMUNUOVOWNXMX RMVMWNWNVMV RPFXF RQFSG RRFSH RVFUH RWFUG",3011:" 69F\\KFK[ RLGLZ RMFM[ RXGMR RPPW[ RQPX[ RQNY[ RHFPF RUF[F RH[P[ RT[[[ RIFKG RJFKH RNFMH ROFMG RWFXG RZFXG RKZI[ RKYJ[ RMYN[ RMZO[ RWYU[ RWYZ[",3012:" 52I[NFN[ ROGOZ RPFP[ RKFSF RK[Z[ZU RLFNG RMFNH RQFPH RRFPG RNZL[ RNYM[ RPYQ[ RPZR[ RU[ZZ RW[ZY RX[ZX RY[ZU",3013:" 63E_JFJZ RJFQ[ RKFQX RLFRX RXFQ[ RXFX[ RYGYZ RZFZ[ RGFLF RXF]F RG[M[ RU[][ RHFJG R[FZH R\\FZG RJZH[ RJZL[ RXZV[ RXYW[ RZY[[ RZZ\\[",3014:" 39F^KFKZ RKFY[ RLFXX RMFYX RYGY[ RHFMF RVF\\F RH[N[ RIFKG RWFYG R[FYG RKZI[ RKZM[",3015:" 54G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RMILKKNKSLVMX RWXXVYSYNXKWI RQFOGMJLNLSMWOZQ[ RS[UZWWXSXNWJUGSF",3016:" 59G]LFL[ RMGMZ RNFN[ RIFUFXGYHZJZMYOXPUQNQ RXHYJYMXO RUFWGXIXNWPUQ RI[Q[ RJFLG RKFLH ROFNH RPFNG RLZJ[ RLYK[ RNYO[ RNZP[",3017:" 77G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RMILKKNKSLVMX RWXXVYSYNXKWI RQFOGMJLNLSMWOZQ[ RS[UZWWXSXNWJUGSF RNXOVQURUTVUXV^W`Y`Z^Z\\ RV\\W^X_Y_ RUXW]X^Y^Z]",3018:" 80G]LFL[ RMGMZ RNFN[ RIFUFXGYHZJZLYNXOUPNP RXHYJYLXN RUFWGXIXMWOUP RRPTQUSWYX[Z[[Y[W RWWXYYZZZ RTQURXXYYZY[X RI[Q[ RJFLG RKFLH ROFNH RPFNG RLZJ[ RLYK[ RNYO[ RNZP[",3019:" 44H\\XIYFYLXIVGSFPFMGKIKLLNOPURWSXUXXWZ RLLMNOOUQWRXT RMGLILKMMONUPXRYTYWXYWZT[Q[NZLXKUK[LX",3020:" 57H\\JFJL RQFQ[ RRGRZ RSFS[ RZFZL RJFZF RN[V[ RKFJL RLFJI RMFJH ROFJG RUFZG RWFZH RXFZI RYFZL RQZO[ RQYP[ RSYT[ RSZU[",3021:" 45F^KFKULXNZQ[S[VZXXYUYG RLGLVMX RMFMVNYOZQ[ RHFPF RVF\\F RIFKG RJFKH RNFMH ROFMG RWFYG R[FYG",3022:" 34H\\KFR[ RLFRXR[ RMFSX RYGR[ RIFPF RUF[F RJFLH RNFMH ROFMG RWFYG RZFYG",3023:" 55F^JFN[ RKFNVN[ RLFOV RRFOVN[ RRFV[ RSFVVV[ RTFWV RZGWVV[ RGFOF RRFTF RWF]F RHFKG RIFKH RMFLH RNFLG RXFZG R\\FZG",3024:" 54H\\KFW[ RLFX[ RMFY[ RXGLZ RIFPF RUF[F RI[O[ RT[[[ RJFMH RNFMH ROFMG RVFXG RZFXG RLZJ[ RLZN[ RWZU[ RWYV[ RWYZ[",3025:" 48G]JFQQQ[ RKFRQRZ RLFSQS[ RYGSQ RHFOF RVF\\F RN[V[ RIFKG RNFLG RWFYG R[FYG RQZO[ RQYP[ RSYT[ RSZU[",3026:" 41H\\YFKFKL RWFK[ RXFL[ RYFM[ RK[Y[YU RLFKL RMFKI RNFKH RPFKG RT[YZ RV[YY RW[YX RX[YU",3051:" 38H\\UFIZ RSJT[ RTHUZ RUFUHVYV[ RLUTU RF[L[ RQ[X[ RIZG[ RIZK[ RTZR[ RTYS[ RVYW[",3052:" 78F^OFI[ RPFJ[ RQFK[ RLFWFZG[I[KZNYOVP RYGZIZKYNXO RWFXGYIYKXNVP RNPVPXQYSYUXXVZR[F[ RWQXSXUWXUZ RVPWRWUVXTZR[ RMFPG RNFOH RRFPH RSFPG RJZG[ RJYH[ RKYL[ RJZM[",3053:" 41H]ZH[H\\F[L[JZHYGWFTFQGOIMLLOKSKVLYMZP[S[UZWXXV RQHOJNLMOLSLWMY RTFRGPJOLNOMSMXNZP[",3054:" 63F]OFI[ RPFJ[ RQFK[ RLFUFXGYHZKZOYSWWUYSZO[F[ RWGXHYKYOXSVWTY RUFWHXKXOWSUWRZO[ RMFPG RNFOH RRFPH RSFPG RJZG[ RJYH[ RKYL[ RJZM[",3055:" 80F]OFI[ RPFJ[ RQFK[ RULST RLF[FZL RNPTP RF[U[WV RMFPG RNFOH RRFPH RSFPG RWFZG RXFZH RYFZI RZFZL RULSPST RTNRPSR RTOQPSQ RJZG[ RJYH[ RKYL[ RJZM[ RP[UZ RR[UY RUYWV",3056:" 70F\\OFI[ RPFJ[ RQFK[ RULST RLF[FZL RNPTP RF[N[ RMFPG RNFOH RRFPH RSFPG RWFZG RXFZH RYFZI RZFZL RULSPST RTNRPSR RTOQPSQ RJZG[ RJYH[ RKYL[ RJZM[",3057:" 65H^ZH[H\\F[L[JZHYGWFTFQGOIMLLOKSKVLYMZP[R[UZWXYT RQHOJNLMOLSLWMY RVXWWXT RTFRGPJOLNOMSMXNZP[ RR[TZVWWT RTT\\T RUTWU RVTWW RZTXV R[TXU",3058:" 81E_NFH[ ROFI[ RPFJ[ RZFT[ R[FU[ R\\FV[ RKFSF RWF_F RLPXP RE[M[ RQ[Y[ RLFOG RMFNH RQFOH RRFOG RXF[G RYFZH R]F[H R^F[G RIZF[ RIYG[ RJYK[ RIZL[ RUZR[ RUYS[ RVYW[ RUZX[",3059:" 39KYTFN[ RUFO[ RVFP[ RQFYF RK[S[ RRFUG RSFTH RWFUH RXFUG ROZL[ ROYM[ RPYQ[ ROZR[",3060:" 47I\\WFRWQYO[ RXFTSSVRX RYFUSSXQZO[M[KZJXJVKULUMVMWLXKX RKVKWLWLVKV RTF\\F RUFXG RVFWH RZFXH R[FXG",3061:" 72F]OFI[ RPFJ[ RQFK[ R\\GMR RQOU[ RROV[ RSNWZ RLFTF RYF_F RF[N[ RR[Y[ RMFPG RNFOH RRFPH RSFPG RZF\\G R^F\\G RJZG[ RJYH[ RKYL[ RJZM[ RUZS[ RUYT[ RVYX[",3062:" 49H\\QFK[ RRFL[ RSFM[ RNFVF RH[W[YU ROFRG RPFQH RTFRH RUFRG RLZI[ RLYJ[ RMYN[ RLZO[ RR[WZ RT[XX RV[YU",3063:" 68D`MFGZ RMGNYN[ RNFOY ROFPX R[FPXN[ R[FU[ R\\FV[ R]FW[ RJFOF R[F`F RD[J[ RR[Z[ RKFMG RLFMH R^F\\H R_F\\G RGZE[ RGZI[ RVZS[ RVYT[ RWYX[ RVZY[",3064:" 43F_OFIZ ROFV[ RPFVX RQFWX R\\GWXV[ RLFQF RYF_F RF[L[ RMFPG RNFPH RZF\\G R^F\\G RIZG[ RIZK[",3065:" 56G]SFPGNILLKOJSJVKYLZN[Q[TZVXXUYRZNZKYHXGVFSF ROIMLLOKSKWLY RUXWUXRYNYJXH RSFQGOJNLMOLSLXMZN[ RQ[SZUWVUWRXNXIWGVF",3066:" 60F]OFI[ RPFJ[ RQFK[ RLFXF[G\\I\\K[NYPUQMQ RZG[I[KZNXP RXFYGZIZKYNWPUQ RF[N[ RMFPG RNFOH RRFPH RSFPG RJZG[ RJYH[ RKYL[ RJZM[",3067:" 78G]SFPGNILLKOJSJVKYLZN[Q[TZVXXUYRZNZKYHXGVFSF ROIMLLOKSKWLY RUXWUXRYNYJXH RSFQGOJNLMOLSLXMZN[ RQ[SZUWVUWRXNXIWGVF RLXMVOUPURVSXT]U^V^W] RT^U_V_ RSXS_T`V`W]W\\",3068:" 78F^OFI[ RPFJ[ RQFK[ RLFWFZG[I[KZNYOVPNP RYGZIZKYNXO RWFXGYIYKXNVP RRPTQURWXXYYYZX RWYXZYZ RURVZW[Y[ZXZW RF[N[ RMFPG RNFOH RRFPH RSFPG RJZG[ RJYH[ RKYL[ RJZM[",3069:" 44G^ZH[H\\F[L[JZHYGVFRFOGMIMLNNPPVSWUWXVZ RNLONVRWT ROGNINKOMUPWRXTXWWYVZS[O[LZKYJWJUI[JYKY",3070:" 54G]TFN[ RUFO[ RVFP[ RMFKL R]F\\L RMF]F RK[S[ RNFKL RPFLI RRFMG RYF\\G RZF\\H R[F\\I R\\F\\L ROZL[ ROYM[ RPYQ[ ROZR[",3071:" 48F_NFKQJUJXKZN[R[UZWXXU\\G ROFLQKUKYLZ RPFMQLULYN[ RKFSF RYF_F RLFOG RMFNH RQFOH RRFOG RZF\\G R^F\\G",3072:" 35H\\NFNHOYO[ ROGPX RPFQW R[GO[ RLFSF RXF^F RMFNH RQFPH RRFOG RYF[G R]F[G",3073:" 57E_MFMHKYK[ RNGLX ROFMW RUFMWK[ RUFUHSYS[ RVGTX RWFUW R]GUWS[ RJFRF RUFWF RZF`F RKFNG RLFMH RPFNI RQFNG R[F]G R_F]G",3074:" 54G]NFT[ ROFU[ RPFV[ R[GIZ RLFSF RXF^F RF[L[ RQ[X[ RMFOH RQFPH RRFPG RYF[G R]F[G RIZG[ RIZK[ RTZR[ RTYS[ RUYW[",3075:" 51G]MFQPN[ RNFRPO[ ROFSPP[ R\\GSP RKFRF RYF_F RK[S[ RLFNG RPFOH RQFNG RZF\\G R^F\\G ROZL[ ROYM[ RPYQ[ ROZR[",3076:" 35G]ZFH[ R[FI[ R\\FJ[ R\\FNFLL RH[V[XU ROFLL RPFMI RRFNG RR[VZ RT[WX RU[XU",3101:" 54I]NPNOOOOQMQMONNPMTMVNWOXQXXYZZ[ RVOWQWXXZ RTMUNVPVXWZZ[[[ RVRUSPTMULWLXMZP[S[UZVX RNUMWMXNZ RUSQTOUNWNXOZP[",3102:" 47G\\LFL[MZOZ RMGMY RIFNFNZ RNPONQMSMVNXPYSYUXXVZS[Q[OZNX RWPXRXVWX RSMUNVOWRWVVYUZS[ RJFLG RKFLH",3103:" 34H[WQWPVPVRXRXPVNTMQMNNLPKSKULXNZQ[S[VZXX RMPLRLVMX RQMONNOMRMVNYOZQ[",3104:" 52H]VFV[[[ RWGWZ RSFXFX[ RVPUNSMQMNNLPKSKULXNZQ[S[UZVX RMPLRLVMX RQMONNOMRMVNYOZQ[ RTFVG RUFVH RXYY[ RXZZ[",3105:" 41H[MSXSXQWOVNSMQMNNLPKSKULXNZQ[S[VZXX RWRWQVO RMPLRLVMX RVSVPUNSM RQMONNOMRMVNYOZQ[",3106:" 40KYWHWGVGVIXIXGWFTFRGQHPKP[ RRHQKQZ RTFSGRIR[ RMMVM RM[U[ RPZN[ RPYO[ RRYS[ RRZT[",3107:" 89I\\XNYOZNYMXMVNUO RQMONNOMQMSNUOVQWSWUVVUWSWQVOUNSMQM ROONQNSOU RUUVSVQUO RQMPNOPOTPVQW RSWTVUTUPTNSM RNUMVLXLYM[N\\Q]U]X^Y_ RN[Q\\U\\X] RLYMZP[U[X\\Y^Y_XaUbObLaK_K^L\\O[ RObMaL_L^M\\O[",3108:" 65G^LFL[ RMGMZ RIFNFN[ RNQOOPNRMUMWNXOYRY[ RWOXRXZ RUMVNWQW[ RI[Q[ RT[\\[ RJFLG RKFLH RLZJ[ RLYK[ RNYO[ RNZP[ RWZU[ RWYV[ RYYZ[ RYZ[[",3109:" 43LXQFQHSHSFQF RRFRH RQGSG RQMQ[ RRNRZ RNMSMS[ RN[V[ ROMQN RPMQO RQZO[ RQYP[ RSYT[ RSZU[",3110:" 41KXRFRHTHTFRF RSFSH RRGTG RRMR^QaPb RSNS]R` ROMTMT]S`RaPbMbLaL_N_NaMaM` RPMRN RQMRO",3111:" 61G]LFL[ RMGMZ RIFNFN[ RWNNW RRSY[ RRTX[ RQTW[ RTM[M RI[Q[ RT[[[ RJFLG RKFLH RUMWN RZMWN RLZJ[ RLYK[ RNYO[ RNZP[ RWYU[ RVYZ[",3112:" 31LXQFQ[ RRGRZ RNFSFS[ RN[V[ ROFQG RPFQH RQZO[ RQYP[ RSYT[ RSZU[",3113:" 99AcFMF[ RGNGZ RCMHMH[ RHQIOJNLMOMQNROSRS[ RQORRRZ ROMPNQQQ[ RSQTOUNWMZM\\N]O^R^[ R\\O]R]Z RZM[N\\Q\\[ RC[K[ RN[V[ RY[a[ RDMFN REMFO RFZD[ RFYE[ RHYI[ RHZJ[ RQZO[ RQYP[ RSYT[ RSZU[ R\\ZZ[ R\\Y[[ R^Y_[ R^Z`[",3114:" 65G^LML[ RMNMZ RIMNMN[ RNQOOPNRMUMWNXOYRY[ RWOXRXZ RUMVNWQW[ RI[Q[ RT[\\[ RJMLN RKMLO RLZJ[ RLYK[ RNYO[ RNZP[ RWZU[ RWYV[ RYYZ[ RYZ[[",3115:" 46H\\QMNNLPKSKULXNZQ[S[VZXXYUYSXPVNSMQM RMPLRLVMX RWXXVXRWP RQMONNOMRMVNYOZQ[ RS[UZVYWVWRVOUNSM",3116:" 60G\\LMLb RMNMa RIMNMNb RNPONQMSMVNXPYSYUXXVZS[Q[OZNX RWPXRXVWX RSMUNVOWRWVVYUZS[ RIbQb RJMLN RKMLO RLaJb RL`Kb RN`Ob RNaPb",3117:" 55H\\VNVb RWOWa RUNWNXMXb RVPUNSMQMNNLPKSKULXNZQ[S[UZVX RMPLRLVMX RQMONNOMRMVNYOZQ[ RSb[b RVaTb RV`Ub RX`Yb RXaZb",3118:" 43IZNMN[ RONOZ RKMPMP[ RWOWNVNVPXPXNWMUMSNQPPS RK[S[ RLMNN RMMNO RNZL[ RNYM[ RPYQ[ RPZR[",3119:" 43J[WOXMXQWOVNTMPMNNMOMQNSPTUUWVXY RNNMQ RNRPSUTWU RXVWZ RMONQPRUSWTXVXYWZU[Q[OZNYMWM[NY",3120:" 22KZPHPVQYRZT[V[XZYX RQHQWRY RPHRFRWSZT[ RMMVM",3121:" 43G^LMLVMYNZP[S[UZVYWW RMNMWNY RIMNMNWOZP[ RWMW[\\[ RXNXZ RTMYMY[ RJMLN RKMLO RYYZ[ RYZ[[",3122:" 31I[LMR[ RMMRY RNMSY RXNSYR[ RJMQM RTMZM RKMNO RPMNN RVMXN RYMXN",3123:" 45F^JMN[ RKMNX RLMOX RRMOXN[ RRMV[ RSMVX RRMTMWX RZNWXV[ RGMOM RWM]M RHMKN RNMLN RXMZN R\\MZN",3124:" 48H\\LMV[ RMMW[ RNMX[ RWNMZ RJMQM RTMZM RJ[P[ RS[Z[ RKMMN RPMNN RUMWN RYMWN RMZK[ RMZO[ RVZT[ RWZY[",3125:" 40H[LMR[ RMMRY RNMSY RXNSYP_NaLbJbIaI_K_KaJaJ` RJMQM RTMZM RKMNO RPMNN RVMXN RYMXN",3126:" 41I[VML[ RWMM[ RXMN[ RXMLMLQ RL[X[XW RMMLQ RNMLP ROMLO RQMLN RS[XZ RU[XY RV[XX RW[XW",3151:" 50G]WMUTUXVZW[Y[[Y\\W RXMVTVZ RWMYMWTVX RUTUQTNRMPMMNKQJTJVKYLZN[P[RZSYTWUT RNNLQKTKWLY RPMNOMQLTLWMZN[",3152:" 52I\\PFNMMSMWNYOZQ[S[VZXWYTYRXOWNUMSMQNPOOQNT RQFOMNQNWOZ RVYWWXTXQWO RMFRFPMNT RS[UYVWWTWQVNUM RNFQG ROFPH",3153:" 34I[WQWPVPVRXRXPWNUMRMONMQLTLVMYNZP[R[UZWW ROONQMTMWNY RRMPOOQNTNWOZP[",3154:" 58G]YFVQUUUXVZW[Y[[Y\\W RZFWQVUVZ RVF[FWTVX RUTUQTNRMPMMNKQJTJVKYLZN[P[RZSYTWUT RMOLQKTKWLY RPMNOMQLTLWMZN[ RWFZG RXFYH",3155:" 33I[MVQUTTWRXPWNUMRMONMQLTLVMYNZP[R[UZWX ROONQMTMWNY RRMPOOQNTNWOZP[",3156:" 45JZZHZGYGYI[I[GZFXFVGTISKRNQRO[N^M`Kb RTJSMRRP[O^ RXFVHUJTMSRQZP]O_MaKbIbHaH_J_JaIaI` RNMYM",3157:" 57H]XMT[S^QaOb RYMU[S_ RXMZMV[T_RaObLbJaI`I^K^K`J`J_ RVTVQUNSMQMNNLQKTKVLYMZO[Q[SZTYUWVT RNOMQLTLWMY RQMOONQMTMWNZO[",3158:" 41G]OFI[K[ RPFJ[ RLFQFK[ RMTOPQNSMUMWNXPXSVX RWNWRVVVZ RWPUUUXVZW[Y[[Y\\W RMFPG RNFOH",3159:" 35KXSFSHUHUFSF RTFTH RSGUG RLQMOOMQMRNSPSSQX RRNRRQVQZ RRPPUPXQZR[T[VYWW",3160:" 45KXUFUHWHWFUF RVFVH RUGWG RMQNOPMRMSNTPTSRZQ]P_NaLbJbIaI_K_KaJaJ` RSNSSQZP]O_ RSPRTP[O^N`Lb",3161:" 49G]OFI[K[ RPFJ[ RLFQFK[ RYOYNXNXPZPZNYMWMUNQROS RMSOSQTRUTYUZWZ RQUSYTZ ROSPTRZS[U[WZYW RMFPG RNFOH",3162:" 26LXTFQQPUPXQZR[T[VYWW RUFRQQUQZ RQFVFRTQX RRFUG RSFTH",3163:" 61@cAQBODMFMGNHPHSF[ RGNGSE[ RGPFTD[F[ RHSJPLNNMPMRNSPSSQ[ RRNRSP[ RRPQTO[Q[ RSSUPWNYM[M]N^P^S\\X R]N]R\\V\\Z R]P[U[X\\Z][_[aYbW",3164:" 42F^GQHOJMLMMNNPNSL[ RMNMSK[ RMPLTJ[L[ RNSPPRNTMVMXNYPYSWX RXNXRWVWZ RXPVUVXWZX[Z[\\Y]W",3165:" 46H\\QMNNLQKTKVLYMZP[S[VZXWYTYRXOWNTMQM RNOMQLTLWMY RVYWWXTXQWO RQMOONQMTMWNZP[ RS[UYVWWTWQVNTM",3166:" 66G]HQIOKMMMNNOPOSNWKb RNNNSMWJb RNPMTIb ROTPQQORNTMVMXNYOZRZTYWWZT[R[PZOWOT RXOYQYTXWWY RVMWNXQXTWWVYT[ RFbNb RJaGb RJ`Hb RK`Lb RJaMb",3167:" 57G\\WMQb RXMRb RWMYMSb RUTUQTNRMPMMNKQJTJVKYLZN[P[RZSYTWUT RMOLQKTKWLY RPMNOMQLTLWMZN[ RNbVb RRaOb RR`Pb RS`Tb RRaUb",3168:" 30I[JQKOMMOMPNQPQTO[ RPNPTN[ RPPOTM[O[ RYOYNXNXPZPZNYMWMUNSPQT",3169:" 47J[XPXOWOWQYQYOXNUMRMONNONQOSQTTUVVWX RONNQ RORQSTTVU RWVVZ RNOOQQRTSVTWVWXVZS[P[MZLYLWNWNYMYMX",3170:" 23KYTFQQPUPXQZR[T[VYWW RUFRQQUQZ RTFVFRTQX RNMXM",3171:" 42F^GQHOJMLMMNNPNSLX RMNMRLVLZ RMPKUKXLZN[P[RZTXVU RXMVUVXWZX[Z[\\Y]W RYMWUWZ RXMZMXTWX",3172:" 29H\\IQJOLMNMONPPPSNX RONORNVNZ ROPMUMXNZP[R[TZVXXUYQYMXMXNYP",3173:" 48CaDQEOGMIMJNKPKSIX RJNJRIVIZ RJPHUHXIZK[M[OZQXRU RTMRURXSZU[W[YZ[X]U^Q^M]M]N^P RUMSUSZ RTMVMTTSX",3174:" 51G]JQLNNMPMRNSPSR RPMQNQRPVOXMZK[I[HZHXJXJZIZIY RRORRQVQY RZOZNYNYP[P[NZMXMVNTPSRRVRZS[ RPVPXQZS[U[WZYW",3175:" 49G]HQIOKMMMNNOPOSMX RNNNRMVMZ RNPLULXMZO[Q[SZUXWT RYMU[T^RaPb RZMV[T_ RYM[MW[U_SaPbMbKaJ`J^L^L`K`K_",3176:" 39H\\YMXOVQNWLYK[ RXOOOMPLR RVORNONNO RVORMOMMOLR RLYUYWXXV RNYRZUZVY RNYR[U[WYXV",3200:" 50H\\QFNGLJKOKRLWNZQ[S[VZXWYRYOXJVGSFQF RNHMJLNLSMWNY RVYWWXSXNWJVH RQFOGNIMNMSNXOZQ[ RS[UZVXWSWNVIUGSF",3201:" 28H\\QHQ[ RRHRZ RSFS[ RSFPINJ RM[W[ RQZO[ RQYP[ RSYT[ RSZU[",3202:" 62H\\LJLKMKMJLJ RLIMINJNKMLLLKKKJLHMGPFTFWGXHYJYLXNUPPRNSLUKXK[ RWHXJXLWN RTFVGWJWLVNTPPR RKYLXNXSYWYYX RNXSZWZXY RNXS[W[XZYXYV",3203:" 76H\\LJLKMKMJLJ RLIMINJNKMLLLKKKJLHMGPFTFWGXIXLWNTO RVGWIWLVN RSFUGVIVLUNSO RQOTOVPXRYTYWXYWZT[P[MZLYKWKVLUMUNVNWMXLX RWRXTXWWY RSOUPVQWTWWVZT[ RLVLWMWMVLV",3204:" 28H\\SIS[ RTHTZ RUFU[ RUFJUZU RP[X[ RSZQ[ RSYR[ RUYV[ RUZW[",3205:" 55H\\MFKPMNPMSMVNXPYSYUXXVZS[P[MZLYKWKVLUMUNVNWMXLX RWPXRXVWX RSMUNVOWRWVVYUZS[ RLVLWMWMVLV RMFWF RMGUG RMHQHUGWF",3206:" 69H\\VIVJWJWIVI RWHVHUIUJVKWKXJXIWGUFRFOGMILKKOKULXNZQ[S[VZXXYUYTXQVOSNQNOONPMR RNIMKLOLUMXNY RWXXVXSWQ RRFPGOHNJMNMUNXOZQ[ RS[UZVYWVWSVPUOSN",3207:" 43H\\KFKL RYFYIXLTQSSRWR[ RSRRTQWQ[ RXLSQQTPWP[R[ RKJLHNFPFUIWIXHYF RMHNGPGRH RKJLINHPHUI",3208:" 79H\\PFMGLILLMNPOTOWNXLXIWGTFPF RNGMIMLNN RVNWLWIVG RPFOGNINLONPO RTOUNVLVIUGTF RPOMPLQKSKWLYMZP[T[WZXYYWYSXQWPTO RMQLSLWMY RWYXWXSWQ RPONPMSMWNZP[ RT[VZWWWSVPTO",3209:" 69H\\MWMXNXNWMW RWOVQURSSQSNRLPKMKLLINGQFSFVGXIYLYRXVWXUZR[O[MZLXLWMVNVOWOXNYMY RMPLNLKMI RVHWIXLXRWVVX RQSORNQMNMKNHOGQF RSFUGVIWLWSVWUYTZR[",3210:" 16MXRXQYQZR[S[TZTYSXRX RRYRZSZSYRY",3211:" 24MXTZS[R[QZQYRXSXTYT\\S^Q_ RRYRZSZSYRY RS[T\\ RTZS^",3212:" 32MXRMQNQORPSPTOTNSMRM RRNROSOSNRN RRXQYQZR[S[TZTYSXRX RRYRZSZSYRY",3213:" 40MXRMQNQORPSPTOTNSMRM RRNROSOSNRN RTZS[R[QZQYRXSXTYT\\S^Q_ RRYRZSZSYRY RS[T\\ RTZS^",3214:" 34MXRFQGQIRQ RRFRTST RRFSFST RSFTGTISQ RRXQYQZR[S[TZTYSXRX RRYRZSZSYRY",3215:" 52I\\MKMJNJNLLLLJMHNGPFTFWGXHYJYLXNWOSQ RWHXIXMWN RTFVGWIWMVOUP RRQRTSTSQRQ RRXQYQZR[S[TZTYSXRX RRYRZSZSYRY",3216:" 24MXTFRGQIQLRMSMTLTKSJRJQK RRKRLSLSKRK RRGQK RQIRJ",3217:" 24MXTHSIRIQHQGRFSFTGTJSLQM RRGRHSHSGRG RSITJ RTHSL",3218:" 74E_[O[NZNZP\\P\\N[MZMYNXPVUTXRZP[L[JZIXIUJSPORMSKSIRGPFNGMIMLNOPRTWWZY[[[\\Y\\X RKZJXJUKSLR RRMSI RSKRG RNGMK RNNPQTVWYYZ RN[LZKXKULSPO RMINMQQUVXYZZ[Z\\Y",3219:" 56H\\PBP_ RTBT_ RXKXJWJWLYLYJXHWGTFPFMGKIKLLNOPURWSXUXXWZ RLLMNOOUQWRXT RMGLILKMMONUPXRYTYWXYWZT[P[MZLYKWKUMUMWLWLV",3220:" 8G^[BIbJb R[B\\BJb",3221:" 27KYUBSDQGOKNPNTOYQ]S`Ub RQHPKOOOUPYQ\\ RSDRFQIPOPUQ[R^S`",3222:" 27KYOBQDSGUKVPVTUYS]Q`Ob RSHTKUOUUTYS\\ RQDRFSITOTUS[R^Q`",3223:" 39JZRFQGSQRR RRFRR RRFSGQQRR RMINIVOWO RMIWO RMIMJWNWO RWIVINOMO RWIMO RWIWJMNMO",3224:" 8F_JQ[Q[R RJQJR[R",3225:" 16F_RIRZSZ RRISISZ RJQ[Q[R RJQJR[R",3226:" 16F_JM[M[N RJMJN[N RJU[U[V RJUJV[V",3227:" 11NWSFRGRM RSGRM RSFTGRM",3228:" 22I[NFMGMM RNGMM RNFOGMM RWFVGVM RWGVM RWFXGVM",3229:" 30KYQFOGNINKOMQNSNUMVKVIUGSFQF RQFNIOMSNVKUGQF RSFOGNKQNUMVISF",3250:" 58H]TFQGOIMLLOKSKVLYMZO[Q[TZVXXUYRZNZKYHXGVFTF RQHOJNLMOLSLWMY RTYVWWUXRYNYJXH RTFRGPJOLNOMSMXNZO[ RQ[SZUWVUWRXNXIWGVF",3251:" 20H]TJO[Q[ RWFUJP[ RWFQ[ RWFTIQKOL RTJRKOL",3252:" 52H]OKOJPJPLNLNJOHPGSFVFYGZIZKYMWOMUKWI[ RXGYIYKXMVOSQ RVFWGXIXKWMUOMU RJYKXMXRYWYXX RMXRZWZ RMXR[U[WZXXXW",3253:" 64H]OKOJPJPLNLNJOHPGSFVFYGZIZKYMXNVOSP RXGYIYKXMWN RVFWGXIXKWMUOSP RQPSPVQWRXTXWWYUZR[O[LZKYJWJULULWKWKV RVRWTWWVY RSPUQVSVWUYTZR[",3254:" 15H]WJR[T[ RZFXJS[ RZFT[ RZFJUZU",3255:" 49H]QFLP RQF[F RQGYG RPHUHYG[F RLPMOPNSNVOWPXRXUWXUZQ[N[LZKYJWJULULWKWKV RVPWRWUVXTZ RSNUOVQVUUXSZQ[",3256:" 61H]YJYIXIXKZKZIYGWFTFQGOIMLLOKSKVLYMZO[R[UZWXXVXSWQVPTOQOOPNQMS RPINLMOLSLWMY RVXWVWSVQ RTFRGPJOLNOMSMXNZO[ RR[TZUYVVVRUPTO",3257:" 39H]NFLL R[FZIXLTQRTQWP[ RRSPWO[ RXLRRPUOWN[P[ RMIPFRFWI ROGRGWI RMIOHRHWIYIZH[F",3258:"104H]SFPGOHNJNMOOQPTPWOYNZLZIYGWFSF RUFPG RPHOJONPO ROORP RSPWO RXNYLYIXG RYGUF RSFQHPJPNQP RTPVOWNXLXHWF RQPMQKSJUJXKZN[R[VZWYXWXTWRVQTP RRPMQ RNQLSKUKXLZ RKZP[VZ RVYWWWTVR RVQSP RQPOQMSLULXMZN[ RR[TZUYVWVSUQTP",3259:" 61H]XNWPVQTRQROQNPMNMKNIPGSFVFXGYHZKZNYRXUVXTZQ[N[LZKXKVMVMXLXLW ROPNNNKOI RXHYJYNXRWUUX RQRPQOOOKPHQGSF RVFWGXIXNWRVUUWSZQ[",3260:" 16MXPXOYOZP[Q[RZRYQXPX RPYPZQZQYPY",3261:" 22MXQ[P[OZOYPXQXRYR[Q]P^N_ RPYPZQZQYPY RQ[Q\\P^",3262:" 32MXSMRNROSPTPUOUNTMSM RSNSOTOTNSN RPXOYOZP[Q[RZRYQXPX RPYPZQZQYPY",3263:" 38MXSMRNROSPTPUOUNTMSM RSNSOTOTNSN RQ[P[OZOYPXQXRYR[Q]P^N_ RPYPZQZQYPY RQ[Q\\P^",3264:" 34MXVFUFTGRT RVGUGRT RVGVHRT RVFWGWHRT RPXOYOZP[Q[RZRYQXPX RPYPZQZQYPY",3265:" 59H]OKOJPJPLNLNJOHPGSFWFZG[I[KZMYNWOSPQQQSSTTT RUFZG RYGZIZKYMXNVO RWFXGYIYKXMWNSPRQRSST RPXOYOZP[Q[RZRYQXPX RPYPZQZQYPY",3266:" 22MXWFUGTHSJSLTMUMVLVKUJTJ RUGTITJ RTKTLULUKTK",3267:" 22MXVIUITHTGUFVFWGWIVKULSM RUGUHVHVGUG RVIVJUL",3268:" 72E_\\O\\N[N[P]P]N\\M[MYNWPRXPZN[K[HZGXGVHTISKRPPROTMUKUITGRFPGOIOLPRQURWTZV[X[YYYX RL[HZ RIZHXHVITJSLR RPPQSTYVZ RK[JZIXIVJTKSMRRO ROLPOQRSVUYWZXZYY",3269:" 52H]TBL_ RYBQ_ RZKZJYJYL[L[JZHYGVFRFOGMIMLNNPPVSWUWXVZ RNLONVRWT ROGNINKOMUPWRXTXWWYVZS[O[LZKYJWJULULWKWKV",3270:" 8G^_BEbFb R_B`BFb",3271:" 32JZZBXCUERHPKNOMSMXN\\O_Qb RSHQKOONTN\\ RZBWDTGRJQLPOOSN\\ RNTO]P`Qb",3272:" 32JZSBUEVHWLWQVUTYR\\O_LaJb RVHVPUUSYQ\\ RSBTDUGVP RVHUQTUSXRZP]M`Jb",3273:" 39J[TFSGUQTR RTFTR RTFUGSQTR ROIPIXOYO ROIYO ROIOJYNYO RYIXIPOOO RYIOO RYIYJONOO",3274:" 8F_JQ[Q[R RJQJR[R",3275:" 16F_RIRZSZ RRISISZ RJQ[Q[R RJQJR[R",3276:" 16F_JM[M[N RJMJN[N RJU[U[V RJUJV[V",3277:" 11MWUFTGRM RUGRM RUFVGRM",3278:" 22H\\PFOGMM RPGMM RPFQGMM RZFYGWM RZGWM RZF[GWM",3279:" 30KZSFQGPIPKQMSNUNWMXKXIWGUFSF RSFPIQMUNXKWGSF RUFQGPKSNWMXIUF",3301:" 62F^IHJIIJHIIGKFMFOGPHQKQOPRNTLUIV ROHPKPPOR RMFNGOJOPNSLU RLVOY RKVOZ RIVN[UV R\\G[H\\H\\G[FYFWGVHUJUYW[[W RWHVJVXXZ RYFXGWJWWYY",3302:"101E_GQGRHSJSLRLOKMIJIHKF RKOIK RJSKRKPIMHKHIIGKFNFPGQHRJRRQUOW RPHQJQT RNFOGPJPUOW RRISGUFWFYGZH[J\\K RYHZJ RWFXGYJZK\\K R\\KRP RYM[O\\R\\U[XYZV[S[PZJWIWHX RXNYN[P RVNYO[Q\\S RTZRZLWKW RZYXZUZRYNWKVIVHXHZI[JZIY",3303:" 79F^RHPFNFLGJJINIRJVLYNZQ[T[WZYY[W RLHKJJMJRKVMYPZ RNFMGLIKMKQLUMWOYRZUZXY[W RUFRHQIPKPLQNTPURUT RQKQLUPUQ RQIQJRLUNVPVRUTSURUPTOR RUFVGXHZH RUGVHWH RTGVIXIZH[G",3304:" 79E_HLHKIIKGNFRFUGWHYJ[M\\Q\\U[XYZV[S[PZJWIWHX RKHMGRGUHWIYK[N RTZRZLWKW RHKJIMHRHUIWJYL[O\\R RZYXZUZRYNWKVIVHXHZI[JZIY RPHMKLMLONSNU RMNMONQNR RMKMMOQOSNUMVKVJUJT",3305:" 95F^RHPFNFLGJJINIRJVLYNZQ[T[WZYY[W RLHKJJMJRKVMYPZ RNFMGLIKMKQLUMWOYRZUZXY[W RUFRHQIPKPLQNTPURUT RQKQLUPUQ RQIQJRLUNVPVRUTSURUPTOR RUFVGXHZH RUGVHWH RTGVIXIZH[G RUNYK RYKZL\\L RXLYMZM RWMXNZN\\L",3306:" 94F^MNKMJKJIKGNFQFTGXI RKHMGRGUH RJKKIMHRHXIZI[H[GZFYF RSHRIQKQMROVSWVWYV\\U]S^ RTPWSXVXYW[ RQMSOVQXSYVYYX[V]S^O^L]K\\JZJWLTLRKQ RL\\K[KWLU RO^M]L[LWMTMRLQJQIRIS RUPYL RYLZM\\M RXMYNZN RWNXOZO\\M",3307:" 99E_UJTHSGQFNFKGIJHNHRIUJWLYNZQ[T[WZYY[W\\T\\Q[NYL RKHJJIMIRJUKW RZW[U[QZNYM RNFLGKIJMJRKVLXNZ RWZYXZUZQYOWM RUFRHPJOLOMPOSQTSTU RPLPMTQTR RPJPKQMTOUQUSTURVQVOUNS RTOYLZJ R\\FZJ RYG]I R\\F[GYGZHZJ[I]I\\H\\F",3308:" 92F_RFPGNIMKMMNOPQQSQU RNLNMQQQR RNINKOMQORQRSQUPVNWLWJVIUHSHQIPJQIR RRFTHVHXG RQGSH RPGQHSIUIXG RRPYK RYK[N\\Q\\T[WYYVZR[ RXLZN[Q[UZW RVMWMYOZRZVYXXYVZ RVZTZRYPYNZM\\N^P_R_T^ RSZQZ RR[PZNZ",3309:" 83F_PPNPLOKNJLJJKHLGOFQFTGWJYK RLHNGRGTHUI RJJKIMHQHTIVJYK[K\\J\\H[GYG RJXKYJZIYIWJVLVNWPYR\\T^ RNXOYQ\\R] RLVMWNYP\\Q]S^V^X]Y\\ZZZWYUWRVPVO RYXYWVRVQ RX]Y[YYXWVTURUPWNYNZOZP",3310:" 83F_PPNPLOKNJLJJKHLGOFQFTGWJYK RLHNGRGTHUI RJJKIMHQHTIVJYK[K\\J\\H[GYG RJXKYJZIYIWJVLVNWPYR\\T^ RNXOYQ\\R] RLVMWNYP\\Q]S^V^X]Y\\ZZZWYUWRVPVO RYXYWVRVQ RX]Y[YYXWVTURUPWNYNZOZP",3311:" 81E_[KZIXGUFRFOGMILKLNMQPWPYN[ RMNMOPUPV RNHMJMMNOPSQVQXPZN[L[JZ RHVJZ RGYKW RHVHXGYIYJZJXKWIWHV RNONMOKQJTJVKXMYM RUKWM RRJTKULVN RYMPQ RUOYXZY[Y RTPXXZZ RSPWYY[\\X",3312:" 73G^ZSYTVTUSUQVOXLYJYH RVQVPYLYK RWTVSVRWPYNZLZJYHXGUFPFMGLHKJKLLNNQOSOTNV RLKLLOQOR RLHLJMLOOPQPSOUMWJY RMWOWRYUZXZZY RNXOXSZTZ RJYLXMXQZT[V[YZZY[W",3313:"128BbEQERFSHSJRJOIMGJGHIF RIOGK RHSIRIPGMFKFIGGIFKFMGOIPLPROUNWLYI[HZGZ RNIOLORNUMW RJZIYHY RKFMHNKNRMVLXKYJXIXF[ RNGPFRFTGVIWLWRVUUWSYQ[PZOZ RUIVLVRUV RRZQYPY RRFTHUKUSTWSYRXQXN[ RUHVGXFZF\\G]H^J_K R\\H]J RZF[G\\J]K_K R_K\\M[NZQZT[X][`X R\\N[P[T\\W^Z R_K]M\\O\\S]W_Y",3314:" 96D`GQGRHSJSLRLOKMIJIHKF RKOIK RJSKRKPIMHKHIIGKFNFPGRISLSRRUQWOYL[KZIZG[ RQIRKRRQUPWOX RMZKYIY RNFPHQKQRPVNYLXJXG[ RRHSGUFWFYGZH[J\\K RYHZJ RWFXGYJZK\\K R\\KYMXNWQWTXXZ[]X RYNXPXTYW[Z R\\KZMYOYSZW\\Y",3315:" 72D`PFNGLIKKKMMQMS RLLLMMOMP RLILKNONQMSLTJTISIR RPFQGWIZK[M\\P\\S[VZXXZU[R[OZIWHWGX RPGQHWJYKZL RPFPHQIWKYL[N\\P RSZQZKWJW RYYWZTZQYMWJVHVGXGZH[IZHY",3316:"100E`HQHRISKSMRMOLMJJJHLF RLOJK RKSLRLPJMIKIIJGLFOFQGRHSJSU RSWS\\R^P_M_L^L\\M[N\\M] RQHRJR\\Q^ ROFPGQJQU RQWQ\\P^O_ RSJXF RXFZI[K\\O\\R[UYXV[ RWGZK[N[O RVHXJZM[P[SZVYX RWYUVSU RQUOVMX RWZUWSVPV RV[TXSW RQWOWMX",3317:" 88D`PFNGLIKKKMMQMS RLLLMMOMP RLILKNONQMSLTJTISIR RPFQGWIZK[M\\P\\S[VZX RXZU[R[OZIWHWGX RPGQHWJYKZL RPFPHQIWKYL[N\\P RSZQZKWJW RXZTZQYMWJVHVGXGZH[IZHY RTXVVXV\\Z]Z RWWXW[Z RUWVWZ[\\[^Y",3318:" 96D`GQGRHSJSLRLOKMIJIHKF RKOIK RJSKRKPIMHKHIIGKFNFPGQHRJRVQXOZM[K[IZ RPHQJQVPX RNFOGPJPVOYM[ RGVIZ RFYJW RGVGXFYHYIZIXJWHWGV RRISGUFWFYGZH[J\\K RYHZJ RWFXGYJZK\\K R\\KRP RTOXYZ[]X RUOYX[Z RVNZX[Y\\Y",3319:" 83E`\\H[G\\F]G]I\\KZKVISHOHKIIK RYJVHSGOGLH R]I\\JZJVGSFOFLGJIIKHNHRIUJWLYNZQ[U[XZZY\\W]T]Q\\OZNWNUOSRQSOS RLXNYQZUZYY RIUKWMXPYUYYX[W\\V]T RXOWOSSRS R]Q[OYOWPUSSTQTOSNQNOOMQL",3320:" 81F_LNJMIKIIJGMFRFUGYJ[J\\I RJHLGRGUHXJ RIKJILHRHUIYK[K\\I\\G[FZG[H RUIRLQNQPSTSV RRORPSRSS RRLRNTRTTSVRWPWOVOT RJYKZJ[IZIXJVLVOWSYVZYZ[Y RLWMWSZUZ RIXJWKWMXQZT[W[ZZ\\X",3321:" 45G]JHKHLILWJX RKGMHMXPZ RIILFNHNWPYRY RJXKXMYO[RYVV RTHUHVIVYX[[X RUGWHWYYZ RSIVFYHXIXXYYZY",3322:"100D`GQGRHSJSLRLOKMIJIHKF RKOIK RJSKRKPIMHKHIIGKFNFPGQHRJRRQUOW RPHQJQT RNFOGPJPUOW RRISGUFWFYG[J\\K RYHZJ RWFXGYJZK\\K RZKXKWLWNXP[R\\T RXO[Q RWMXN[P\\R\\V[XYZW[S[PZJWIWHX RTZRZLWKW RZYXZUZRYNWKVIVHXHZI[JZIY",3323:"143BcEQERFSHSJRJOIMGJGHIF RIOGK RHSIRIPGMFKFIGGIFLFNGOHPJPNOQMTKV RNHOJOONR RLFMGNJNOMSKV RNGPFSFUG RWFTGSISMTPVSWUWWVY RTMTNWSWT RWFUGTITLUNWQXTXVWXUZS[O[MZKXIWGWFX RNZKWJW RQ[OZLWJVGVFXFZG[HZGY RWFZF\\G^J_K R\\H]J RZF[G\\J]K_K R]K[KZLZN[P^R_T R[O^Q RZM[N^P_R_W^Y]Z[[X[UZ RYZXZVY R^Y\\ZZZXYWX",3324:" 86F^KHMHOIPJQMQO RQQQUPXM[KZI[ RNZLYKY ROYNYLXI[ RMGPHQIRLRUSWUYWZ RIINFPGRISLSO RSQSTTWUXWYYY RQURXTZV[[X RSLTIWFYG[F RVGXHYH RUHVHXI[F RKSMOQO RSOWOYM RMPWP RKSMQQQ RSQWQYM",3325:" 74E_HQHRISKSMRMOLMJJJHLF RLOJK RKSLRLPJMIKIIJGLFOFQGRHSJSORRQTQUSWTW RQHRJRPQSPUSX ROFPGQJQPPTOVRYUV RSJ[F RYGYZX] RZGZXY[ R[F[VZZY\\W^T_P_M^K\\JZKYLZK[",3326:" 74F^NIOGQFTFVGWHXJXMWOVPTQ RQQOPNN RVHWIWNVO RTFUGVIVNUPTQ RMUNSORQQTQWRYTZVZZY\\W^T_P_N^KZJY RXTYVYZX\\ RTQWSXUX[W]V^T_ RO^N]LZKY RR_P^O]MZLYIYHZH\\I]J]",3401:" 46J[TMQNOONPMSMVNYO[UX RNVOYPZ RQNOPNSNUOXQZ RRNSOUPUYW[ZX RSNVPVXXZ RTMUNWOXO RWPXO RWPWXXYYY",3402:" 50J[LHMINK RTFQGOINKNXMY RPIOKOXRZ RTFRGQHPKPXRYSZ RMYNYPZQ[TZ RPPVMWOXRXUWXVYTZ RUNVOWQ RTNVPWSWUVXTZ",3403:" 27KXRNTPVOTMRNOPNRNWOYQ[UY RSNUO RPPOROWPYQZ RQOPQPVQXSZ",3404:" 47J[QFNINKOLSNVPWRWUVXTZ ROJOKSMVOWP ROHOIPJUMWOXRXUWXTZQ[ RRNNPNXMY ROPOXRZ RPOPXRYSZ RMYNYPZQ[",3405:" 27KXPUVQSMOPNRNWOYQ[UY RUQRN RPPOROWPYQZ RTRROQOPQPVQXSZ",3406:" 49LYXFWGUGSFQFPHPMOONP RVHTHRGQG RXFWHVITIRHQHPI RPKQMRNTOVOVP RNPPP RRPVP RPPPTQ` RSOPOQNQ[ RRPRTQ`",3407:" 53J[TMQNOONPMSMVNYO[UX RNWOYPZ RQNOPNSNUOXQZ RRNSOUPUXV[V]U_ RSNVPVZ RTMUNWOXO RWPXO RWPW\\V^U_S`P`N_M^M]N]N^",3408:" 50J[LHMINK RTFQGOINKNXMY RPIOKOYPZ RTFRGQHPKPXQYRY RMYOZP[SX RPPVMWOXSXWWZV\\T^Q` RUNVOWR RTNVQWTWWV[T^",3409:" 39MWRFQGQHRISHSGRF RQGSH RQHSG ROOPOQPQYS[VX RPNRORXTZ RNPQMRNTO RSPTO RSPSXTYUY",3410:" 45MWRFQGQHRISHSGRF RQGSH RQHSG ROOPOQPQ[P^O_M` RPNROR[Q] RNPQMRNTO RSPTO RSPS[R]P_M` RS[T]U^",3411:" 63KYNHOIPK RUFSGQIPKPMOONP RPPPXOY RRIQKQM RQOPOQMQXSZ RUFSHRKRO RRPRXSYTY ROYQZR[UX RRLVIWJWLUNSO RUJVKVLUN RROWOWP RNPPP RRPWP",3412:" 29MWOHPIQK RWFTGRIQKQXPY RSIRKRYTZ RWFUGTHSKSXTYUY RPYRZS[VX",3413:" 74E_GOHOIPIXHYJ[ RHNJPJXIYJZKYJX RFPIMKOKXLYJ[ RNNPOQQQXPYR[ RPNQORQRXQYRZSYRX RKPNNPMRNSPSXTYR[ RVNWOYPYY[[^X RWNZPZX\\Z RSPVNXMYN[O\\O R[P\\O R[P[X\\Y]Y",3414:" 49I[KOLOMPMXLYN[ RLNNPNXMYNZOYNX RJPMMOOOXPYN[ RRNSOUPUYW[ZX RSNVPVXXZ ROPRNTMUNWOXO RWPXO RWPWXXYYY",3415:" 41J[NPNXMY ROPOXRZ RQOPPPXRYSZ RMYNYPZQ[TZ RNPQOVMWOXRXUWXVYTZ RUNVOWQ RTNVPWSWUVXTZ",3416:" 57J[OJMLMNNQNXLZ RNYO` RNMNNOQO[ RNKNLONPQPXQXSYTZ RPYO` RSZQY RTZR[PY RNYLZ RPPVMWOXRXUWXVYTZ RUNVOWQ RTNVPWSWUVXTZ",3417:" 43J[TMQNOONPMSMVNYO[UX RNWOYPZ RQNOPNSNUOXQZ RRNSOUPUXV` RSNVPV[ RTMUNWOXO RWPXO RWPWXV`",3418:" 32KYNOOOPPPXOY RONQPQYSZ RMPPMRORXSYTY ROYQZR[UX RTNUPWOVMRO RUNVO",3419:" 42LWXFWGUGSFQFPHPMOONP RVHTHRGQG RXFWHVITIRHQHPI RPKRP RPPPTQ` RQOPOQNQ[ RRPRTQ` RNPPP",3420:" 37LXSIRLQNPONP RSISOVOVP RNPQP RSPVP RQPQXPY RROQORMRXTZ RSPSXTYUY RPYRZS[VX",3421:" 47I[KOLOMPMXLY RLNNPNXPZ RJPMMOOOXQYRZ RLYMYOZP[RZUX RVMTOUPUYW[ZX RVPWOVNUOVPVXXZ RVMXOWPWXXYYY",3422:" 47J[OKMMMONRNXMY RNNNOOROXRZ RNLNMOOPRPXRYSZ RMYNYPZQ[TZ RPPVMWOXRXUWXVYTZ RUNVOWQ RTNVPWSWUVXTZ",3423:" 72F_KKIMIOJRJXIYK[ RJNJOKRKXJYKZLYKX RJLJMKOLRLXMYK[ RONQORQRXQY RQNROSQSXVZ RLPONQMSNTPTXVYWZ RQYRYTZU[XZ RTPZM[O\\R\\T[XZYXZ RYNZO[Q RXNZP[S[UZXXZ",3424:" 44KZOOPOQPQXPXNYM[M]N_P`S`V_V^U^U_ RPNRPRXUZ RNPQMSOSXUYVZ RXYT[SZQYOYM[ RUNVPXOWMSO RVNWO",3425:" 47J[OKMMMONRNXMY RNNNOOROYQZ RNLNMOOPRPXQYRY RMYOZP[SX RPPVMWOXSXWWZV\\T^Q` RUNVOWR RTNVQWTWWV[T^",3426:" 43KYNPSMUNVPVRUTQV RSNUO RRNTOUQURTTSU RSUUWVYV]U_S`Q`O_N]N[OYQXWV RRVTWUY RQVTXUZU]T_S`",3427:" 61JZRMPNMPMRNU RNPNROT RPNOOORPT RPNROTOVNWMWKVJTJ RQNSN RRMTNVN RNUVRWUWWVYR[ RUSVUVXUY RTSUUUXTZ RTZRYOYL[ RSZQZ RR[PZNZL[",3428:" 78J[VFUGSGQFOFNHNMMOLP RTHRHPGOG RVFUHTIRIPHOHNI RNKPP RNPNTO` ROONOONO[ RPPPTO` RLPNP RPPUMWNXPXRWTSV RUNWO RTNVOWQWRVTUU RUUWVXXX[W]U_R` RUVWW RSVTVVWWYW\\V^",3429:" 62J[PIOLNNMOKP RPIPXQYO[ ROONOONOXNYOZPYOX RKPNPNXMYO[ RPPUMWNXPXRWTSV RUNWO RTNVOWQWRVTUU RUUWVXXX[W]U_R` RUVWW RSVTVVWWYW\\V^",3501:" 60G]LINGPFRFSGZW[X]X RQGRHYXZZ[YYX RNGPGQHXXYZZ[[[]X RLMMLOKPKQL RPLPM RMLOLPN RG[IYKXNXPY RJYNYOZ RG[JZMZN[PY RRJLX RNSVS",3502:"110F^HHJFMFOGQF RKGNG RHHJGLHOHQF RMKLLKNKOIOHPHRIQKQKW RLMLU RIPLP RMKMTLVKW RRIQJPLPU RQKQS RRIRRQTPU RRIXFZG[I[KYMUO RXGZIZK RVGXHYIYLWN RWNZP[R[X RYPZRZW RWNXOYQYX RJ[MYPXTXWY RLZOYTYVZ RJ[NZSZU[WYYX[X RUOUX RURYR RUUYU",3503:" 69E]NGLHJJILHOHSIVJXMZP[S[VZXYZW[U RJKINISKWNYQZTZWY RNGLIKKJNJRKUNXQYTYWXYW[U RPJPV RQJQT RRIRSQUPV RPJRIUFWGYGZF RTGVHXH RSHUIWIYHZF RWIWX",3504:" 72G^IFWFYGZIZX RKGWGYIYW RIFJGLHWHXIXX ROKNLMNMOKOJPJRKQMQMV RNMNT RKPNP ROKOSNUMV RI[LYOXSXVY RKZNYSYUZ RI[MZRZT[VYXXZX RRHRX RRMTNVNXM RRSTRVRXS",3505:" 94G]IHKFMFOGQF RLGNG RIHKGMHOHQF RNKMLLNLOJOIPIRJQLQLW RMMMU RJPMP RNKNTMVLW RQMRJSHTGVFXF[G RTHVGXGZH RRJSIUHWHYI[G RQURRSPTOVOXP RTPVPWQ RRRSQUQVRXP RK[NYRXWX[Y RMZPYWYZZ RK[OZVZY[[Y RQMQX",3506:" 91F]JHLFOFQGSF RMGPG RJHLGNHQHSF RPKOLNNNOLOKPKRLQNQNV ROMOT RLPOP RPKPSOUNV RSJSYRZQZMXKXIYG[ RTJTX RTPXP RPZOZMYJY RUIUOXO RXQUQUWTYP[N[LZJZG[ RSJUIXFZG\\G]F RWGYH[H RVHXIZI\\H]F RXIXW",3507:" 87E^NGLHJJILHOHRIUJWLYNZQ[U[XZZX[V[SZQYPWOUO RJKINISJV RNGLIKKJNJSKVLXNZ RYXZWZSYQ RU[WZXYYWYSXQWPUO RPJPW RQJQU RRIRTQVPW RPJRIUFWGYGZF RTGVHXH RSHUIWIYHZF RYHUOU[ RUSYS RUVYV",3508:"112F^HHJFMFOGQF RKGNG RHHJGLHOHQF RMKLLKNKOIOHPHRIQKQKW RLMLU RIPLP RMKMTLVKW RJ[MYPXSXUY RLZOYRYTZ RJ[NZQZS[UY RRIQJPLPU RQKQS RRIRRQTPU RRITGVFXFZG RWGXGYH RTGVGXIZG RUOWNYLZM[P[TZXX[ RXMYNZPZUYX RWNXNYPYUX[ RUOUY RURYR RUUYU",3509:" 67I\\LHNFQFTGVF ROGSG RLHNGQHTHVF RSKRLQNQOOONPNROQQQQV RRMRT ROPRP RSKSSRUQV RYHWJVMVXUZSZOXMXKYI[ RWKWW RRZQZOYLY RYHXJXVWXUZS[P[NZKZI[",3510:" 65H\\LHNFQFTGVF ROGSG RLHNGQHTHVF RSKRLQNQOOONPNROQQQQV RRMRT ROPRP RSKSSRUQV RYHWJVMVXUZ RWKWW RYHXJXVWXUZR[O[LZJXJVKULUMVLWKW RJVMV",3511:"115F^HHJFMFOGQF RKGNG RHHJGLHOHQF RMKLLKNKOIOHPHRIQKQKW RLMLU RIPLP RMKMTLVKW RJ[MYPXSXUY RLZNYRYTZ RJ[NZQZS[UY RRIQJPLPU RQKQS RRIRRQTPU RRITGVFXFZG RWGXGYH RTGVGXIZG RUOXLYM[N RWMYN[N R[NYQWSUU RWSYTZX[Z\\Z RYVZZ RWSXTYZZ[[[\\Z RUOUY",3512:" 85G]IHKFNFPGRF RLGOG RIHKGMHPHRF RNKMLLNLOJOIPIRJQLQLW RMMMU RJPMP RNKNTMVLW RK[NYRXWX[Y RMZPYWYZZ RK[OZVZY[[Y RSIRJQLQU RRKRS RSISRRTQU RSIUGWFYF[G RXGYGZH RUGWGYI[G RWGWX",3513:"107D`LJKKJMJOHOGPGRHQJQJU RKLKS RHPKP RLJLRKTJU RE[GYIXKXMYNYOX RHYKYMZ RE[GZJZL[M[NZOX RLJPFTJTWUYVY RPGSJSXRYSZTYSX RPPSP RNHOHRKROOO ROQRQRXQYS[VYWX RTJXF\\J\\W]Y^Y RXG[J[X]Z RXP[P RVHWHZKZOWO RWQZQZY\\[^Y ROHOX RWHWX",3514:" 84E^GIIGKFMFOGQJVUXXYY RMGOIPKVWYZ RIGKGMHOKTVVYWZY[ RVHXIZI\\H]F RWGYH[H RVHXFZG\\G]F RKOIOHPHRIQKQ RIPKP RG[IYKXNXPY RJYMYOZ RG[JZMZN[PY RKGKX RYIY[ RRLSMUNWNYM RKTMSQSST",3515:" 79E_NFLGJIIKHNHRIUJWLYNZQ[S[VZXYZW[U\\R\\N[KZIXGVFUGRIOJ RJJIMISJV RNFLHKJJMJSKVLXNZ RZV[S[MYIXH RVZXXYVZSZMYKWHUG ROJOW RPJPU RQJQTPVOW RUGUZ RUMWNXNZM RUSWRXRZS",3516:" 70H^KFLGMIMOKOJPJRKQMQMYJ[MZMbO` RMHNJN` RKPNP RKFMGNHOJO` ROKRIVFZJZX RVGYJYX RTHUHXKXY RRXUXXY RSYUYWZ RRZTZV[XYZX RRIR_ RRMTNVNXM RRSTRVRXS",3517:" 99E_NFLGJIIKHNHRIUJWLYNZP[T[VZXYZW[U\\R\\N[KZIXGVFUGRIOJ RJJIMISJV RNFLHKJJMJSKVLXNZ RZV[S[MYIXH RVZXXYVZSZMYKWHUG ROJOW RPJPU RQJQTPVOW RUGUZ RUMWNXNZM RUSWRXRZS RP[QZRZT[X`Za[a RT\\V_XaYa RRZS[VaXbZb[a",3518:"108F^HHJFMFOGQF RKGNG RHHJGLHOHQF RMKLLKNKOIOHPHRIQKQKW RLMLU RIPLP RMKMTLVKW RJ[MYPXRXUY RLZNYRYTZ RJ[NZQZS[UY RRIQJPLPU RQKQS RRIRRQTPU RRIUGWFYGZIZLYNXOTQRR RWGXGYIYMXN RUGWHXJXMWOTQ RTQVRWSZX[Y\\Y RWTYX[Z RTQVSXYZ[\\Y",3519:" 94G^UITHRGOF RVHTG RWGSFOFLGKHJJKLLMONWNYOZPZRYU RKKLLOMXMZN[O[QZS RKHKJLKOLYL[M\\O\\QYUU[ RIOJPLQUQVRVSUU RJQLRTRUS RIOIPJRLSSSUTUU RI[LYPXSXVY RKZNYRYUZ RI[MZRZU[ RWGUISL RRNPQ ROSMUKVJVJUKV",3520:" 71E]JJILHOHSIVKYMZP[S[VZXYZW[U RISJVLXNYQZTZWY RJJIMIQJTLWNXQYTYWXYW[U RHIIGKFOFUGYG[F RPGTHXH RHIIHKGNGTIWIYH[F RSIRJPKPV RQKQT RRJRSQUPV RWIWX",3521:" 89F^HHJFLFOGQF RKGNG RHHJGMHOHQF RKJJLIOISJVKXMZP[S[VZXYZ[\\Y RJSKVNYQZTZ RKJJNJQKTLVNXQYUYXX RUIQJPLPV RQKQT RRJRSQUPV RUIWHYFZG\\HZIZW[Y\\Y RYIZHYGXHYIYX[Z RWHXIXX RUIUY RUNXN RURXR",3522:" 72G^JFKGLILOJOIPIRJQLQLXJY RLHMJMX RJPMP RNYQYSZ RJFLGMHNJNXRXUY RJYMYPZR[UYXXZX RRJUIWHYFZG\\HZIZX RYIZHYGXHYIYW RWHXIXX RRJRX RRMTNVNXM RRSTRVRXS",3523:" 95E`HFIGJIJOHOGPGRHQJQJXHY RJHKJKX RHPKP RLYNYPZ RHFJGKHLJLXOXQY RHYKYNZO[QYTXVYW[YY\\X ROHRFTHTXWXYY RRGSHSX ROHQHRIRXQY RWYXZ RWHZF\\H\\X RZG[H[X RWHYHZIZXYY ROHOX RWHWX RONRN RORRR RWNZN RWRZR",3524:" 65G]HIJGLFNFOGWYXZZZ RMGNHVYWZ RJGLGMHUZV[X[ZZ\\X RWFYG[G\\F RWGXHZH RVHWIYI[H\\F RH[IYKXMXNY RJYLYMZ RH[IZKZM[ RWFSO RQRM[ RLPPP RSPXP",3525:" 86G^JFKGLILOJOIPIRJQLQLXJY RLHMJMX RJPMP RNYQYSZ RJFLGMHNJNXRXUY RJYMYPZR[UYXX RRJUIWHYFZG\\HZIZ^Y`WbUaQ`L` RYIZHYGXHYIYY RWHXIXXZ[ RXaV`S` RY`V_P_L` RRJRX RRMTNVNXM RRSTRVRXS",3526:" 57H\\XGWIROOSMWJ[ RVKNV RZFWJUNRRMXLZ RJHLFOGUGZF RKGOHSHWG RJHNIRIVHXG RLZNYRXVXZY RMZQYUYYZ RJ[OZUZX[ZY RMPQP RTPXP",3601:" 53J[PRNTMVMXNZP[RYUX RMVNXOYQZ RNTNVOXQYRY RNPPPSOUNVMXOWPWXXYYY RONNOQO RTOWOVNVYWZ RMOOMPNROUPUYW[YY RMORT",3602:" 44I[LHMJMXKY RNJMHNGNXQZ RLHOFOXQYRZ RKYMYOZP[RZUYWY ROPROTNUMVNXOYOWPWY RTNVOVX RROSOUPUY",3603:" 35JXNONXLYMYOZP[ ROOOYQZ RPOPXRYSYQZP[ RNORNTMUNWOXO RSNTOVO RPORNTPVPXO",3604:" 41IZRMPNMOMXKY RNONXQZ RRMOOOXQYRZ RKYMYOZP[RZUYWY RMHPFQIWOWY RPINHOGPIVOVX RMHUPUY",3605:" 32JXNONXLYMYOZP[ ROOOYQZ RPOPXRYSYQZP[ RNORNTMWQURPU RSNVQ RPORNUR",3606:" 41JWNHNXLYMYOZP[ ROHOYQZ RPHPXRYSYQZP[ RNHQGSFTGVHWH RRGSHUH RPHQGSIUIWH RKMNM RPMTM",3607:" 56I[MOMXKYLYNZO[PZRYUX RNPNYPZ ROOOXQYRY RMOOORNTMUNWOYOWPW\\V_TaRbQaO`M` RSNVPV\\ RSaQ`P` RRNSOUPUZV]V_ RTaS`Q_O_M`",3608:" 47I[LHMJMXKYLYNZO[ RNJMHNGNYPZ RLHOFOXQYO[ ROPROTNUMVNXOYOWPWYU[T] RTNVOVYU[ RROSOUPUYT]T`UbVbT`",3609:" 35MWRFPHRITHRF RRGQHSHRG RRMQNOOQPQYS[UY RRPSORNQORPRYSZ RRMSNUOSPSXTYUY",3610:" 39MWRFPHRITHRF RRGQHSHRG RRMQNOOQPQYS[T] RRPSORNQORPRYS[ RRMSNUOSPSYT]T`RbPbPaRb",3611:" 50IZLHMJMXKYLYNZO[ RNJMHNGNYPZ RLHOFOXQYO[ ROPRNTMVPSROU RSNUP RRNTQ RSRTSVXWYXY RSSTTUYVZ RRSSTTYV[XY",3612:" 22MWPHQJQXOYPYRZS[ RRJQHRGRYTZ RPHSFSXUYVYTZS[",3613:" 67E_GOHOIPIXGYHYJZK[ RINJOJYLZ RGOIMKOKXMYK[ RKPNOPNQMSOSXUYS[ RPNRORYTZ RNOOOQPQXPYRZS[ RSPVOXNYMZN\\O]O[P[X\\Y]Y RXNZOZY[Z RVOWOYPYY[[]Y",3614:" 45I[KOLOMPMXKYLYNZO[ RMNNONYPZ RKOMMOOOXQYO[ ROPROTNUMVNXOYOWPWXXYYY RTNVOVYWZ RROSOUPUYW[YY",3615:" 40I[MOMXKY RNPNXQZ ROOOXQYRZ RKYMYOZP[RZUYWY RMOOORNTMUNWOYOWPWY RSNVPVX RRNSOUPUY",3616:" 54I[LMMOMXKYMYMb RMNNONaO`N^ RNYOYQZ RLMNNOOOXQYRZ ROZP[RZUYWY ROZO^P`Mb ROPROTNUMVNXOYOWPWY RTNVOVX RROSOUPUY",3617:" 44I[MOMXKY RNPNYPZ ROOOXQYRY RKYLYNZO[PZRYUX RMOOORNTMUNWOYOWPWb RSNVPVaU`V^ RRNSOUPU^T`Wb",3618:" 38JXLOMONPNXLYMYOZP[ RMNOOOYQZ RLONMPOPXRYSYQZP[ RPOTMUNWOXO RSNTOVO RRNTPVPXO",3619:" 59JZMOMSOTUTWUWY RNONS RVUVY RPNOOOSQT RSTUUUYTZ RMOPNRMTNVNWM RQNSN RPNROTOVN RWYTZR[PZNZL[ RSZQZ RTZRYOYL[ RWMVOTROWL[",3620:" 28MWPHQJQXOYPYRZS[ RRJQHRGRYTZ RPHSFSXUYVYTZS[ RNMQM RSMVM",3621:" 47I[KOLOMPMXKY RLNNONYPZ RKOMMOOOXQYRY RKYLYNZO[PZRYUX RUMVNXOYOWPWXXYYY RTNVOVYWZ RUMSOUPUYW[YY",3622:" 36I[LMMOMXP[RYUXWX RMNNONXQZ RLMNNOOOWPXRY RUMVNXOYOWPWX RTNVOVW RUMSOUPUX",3623:" 57E_HMIOIXL[NYQX RINJOJXMZ RHMJNKOKWLXNY RQMOOQPQXT[VYYX[X RPNRORXUZ RQMRNTOSPSWTXVY RYMZN\\O]O[P[X RXNZOZW RYMWOYPYX",3624:" 59H[KOLONPOQSYTZV[XY RMNOOTYVZ RKOMMONPOTWUXWYXY RRSUMVNXNYM RUNVOWO RTOVPXOYM RQUN[MZKZJ[ RNZMYLY ROYMXKYJ[ RMTPT RSTVT",3625:" 60I[KOLOMPMXKY RLNNONYPZ RKOMMOOOXQYRY RKYLYNZO[PZRYUX RUMVNXOYOWPW\\V_TaRbQaO`M` RTNVOV\\ RSaQ`P` RUMSOUPUZV]V_ RTaS`Q_O_M`",3626:" 38I[XML[ RLONPQPTOXM RMNOOSO RLONMPNTNXM RL[PYSXVXXY RQYUYWZ RL[PZTZV[XY RNTVT",3700:" 42H\\LHLXJY RMIMXPZ RNHNXPYQZ RLHNHSGUF RSGTHVIVY RTGWIWX RUFVGXHZHXIXY RJYLYNZO[QZVYXY",3701:" 27H\\OHPIQKQXOY RQIPHQGRIRYTZ ROHRFSHSXUYVY ROYPYRZS[TZVY",3702:" 48H\\LHNHPGQFSGVHXH RPHRG RLHNIPIRHSG RVHVP RWIWO RXHXPQPNQLSKVK[ RK[OYSXVXZY RNZQYVYYZ RK[PZUZX[ZY",3703:" 57H\\LHMHOGPFRGVHXH ROHQG RLHNIPIRG RVHVO RWIWN RXHXOVOSPQQ RQPSQVRXRXY RWSWX RVRVY RKYMXOXQYRZ ROYQZ RKYMYOZP[RZVYXY",3704:" 41H\\UFKPKUTU RVUZU[V[TZU RLPLT RMNMU RTGTXRY RUJVHUGUYWZ RUFWHVJVXXYYY RRYSYUZV[WZYY",3705:" 53H\\LFLO RLFXF RMGVG RLHUHWGXF RVLUMSNOOLO RSNTNVOVY RUMWNWX RVLWMYNZNXOXY RKYMXOXQYRZ ROYQZ RKYMYOZP[RZVYXY",3706:" 59H\\LHLXJY RMIMXPZ RNHNXPYQZ RLHNHRGTFUGWHXH RSGUH RRGTIVIXH RNPOPSOUNVM RSOTOVPVY RUNWPWX RVMWNYOZOXPXY RJYLYNZO[QZVYXY",3707:" 38H\\KHMFPGUGZF RLGOHTHWG RKHOIRIVHZF RZFYHWKSOQRPUPXQ[ RRQQTQWRZ RUMSPRSRVSYQ[",3708:" 71H\\LILO RMJMN RNINO RLINISHUGVF RSHTHVIVO RUGWHWN RVFWGYHZHXIXO RLONOVRXR RXOVONRLR RLRLXJY RMSMXPZ RNRNXPYQZ RVRVY RWSWX RXRXY RJYLYNZO[QZVYXY",3709:" 60H\\LHLQJR RMIMROS RNHNQPRQR RLHNHSGUF RSGTHVIVY RTGWIWX RUFVGXHZHXIXY RJRKRMSNTOSQRUQVQ RKYMXOXQYRZ ROYQZ RKYMYOZP[RZVYXY",3710:" 11LXRXPZR[TZRX RRYQZSZRY",3711:" 14LXR^R\\PZRXSZS\\R^P_ RRYQZR[RY",3712:" 22LXRMPORPTORM RRNQOSORN RRXPZR[TZRX RRYQZSZRY",3713:" 25LXRMPORPTORM RRNQOSORN RR^R\\PZRXSZS\\R^P_ RRYQZR[RY",3714:" 30LXRFQGOHQIRT RRISHRGQHRIRT RRFSGUHSIRT RRXPZR[TZRX RRYQZSZRY",3715:" 51I[LJMHNGQFSFVGWHXJXLWNUPSQ RMJNH RVHWIWMVN RLJNKNIOGQF RSFUGVIVMUOSQ RRQRTSQQQRT RRXPZR[TZRX RRYQZSZRY",3716:" 14LXTFRGQIQKRMTKRIRG RRJRLSKRJ",3717:" 14LXRLRJPHRFSHSJRLPM RRGQHRIRG",3718:" 62E_YNZO[O\\N RXOYP[P RXPYQZQ[P\\N RYNST RRUL[HVNP ROOSKOFJLPRTXVZX[Z[[Z\\X RLZIV RRKOG RKLPQTWVYXZ[Z RMZIU RRLNG RKKQQUWVXXY[Y\\X",3719:" 60H\\PBP_ RTBT_ RTFVGWIWKYJXHWGTFPFMGKIKLLNOPURWSXUXXWZ RXJWH RLLMNOOUQWRXT RMYLW RMGLILKMMONUPXRYTYWXYWZT[P[MZLYKWMVMXNZP[",3720:" 8G^[BIbJb R[B\\BJb",3721:" 27KYUBSDQGOKNPNTOYQ]S`Ub RQHPKOOOUPYQ\\ RSDRFQIPOPUQ[R^S`",3722:" 27KYOBQDSGUKVPVTUYS]Q`Ob RSHTKUOUUTYS\\ RQDRFSITOTUS[R^Q`",3723:" 39JZRFQGSQRR RRFRR RRFSGQQRR RMINIVOWO RMIWO RMIMJWNWO RWIVINOMO RWIMO RWIWJMNMO",3724:" 8F_JQ[Q[R RJQJR[R",3725:" 16F_RIRZSZ RRISISZ RJQ[Q[R RJQJR[R",3726:" 16F_JM[M[N RJMJN[N RJU[U[V RJUJV[V",3727:" 11NWSFRGRM RSGRM RSFTGRM",3728:" 22I[NFMGMM RNGMM RNFOGMM RWFVGVM RWGVM RWFXGVM",3729:" 30KYQFOGNINKOMQNSNUMVKVIUGSFQF RQFNIOMSNVKUGQF RSFOGNKQNUMVISF",3801:" 52E_NHLIJKIMHPHSIUKV RJLIOISJU RNHLJKLJOJRKVKXJZH[ RVHXHXYVY RYHYY RZGZZ RHFKGQHVHZG\\F RJPXP RH[KZQYVYZZ\\[",3802:" 65E_LGLZ RMGMZ RPFNGNZP[ RHJJHLGPFUFXGZIZKYM RXHYIYKXM RUFWGXIXKWL RQUOTNRNPONPMSLVLYM[O\\Q\\T[WYYWZT[P[LZJYHW RZO[Q[UZW RVLYNZQZUYXWZ",3803:" 60E_\\F[HZJXHVGSFQFNGLHJJILHOHRIUJWLYNZQ[S[VZXYZW[Y\\[ R[HZMZT[Y RZKYJ RZNYKXIVG RJKINISJV RNGLIKKJNJSKVLXNZ RYWZV RVZXXYVZS",3804:" 46E_KGKZ RLGLZ RNFMGMZN[ RHKIIKGNFSFVGXHZJ[L\\O\\R[UZWXYVZS[N[KZIXHV RZK[N[SZV RVGXIYKZNZSYVXXVZ",3805:" 86E_\\F[HZJXHVGSFQFNGLHJJILHOHRIUJWLYNZQ[S[VZXYZW[Y\\[ R[HZMZT[Y RZKYJ RZMXIVG RJKINISJV RNGLIKKJNJSKVLXNZ RYWZV RVZXXYVZS RJPKONOUQXQZP RPPRQURWRYQ RMORRUSWSYRZP RZMYLXLWMXNYM",3806:" 69E_JHJZ RMGKHKY ROFMGLILYNY RHJJHLGOFSFVGXHYI\\F R\\F[HZLZO[S\\U RZIYK RVGXIYLZO RLPMOOOTPWPYO RQPTQVQXP RNOTRVRXQYOYLXKWKVLWMXL RH[JZNYSYYZ\\[",3807:" 90E_\\F[HZJXHVGSFQFNGLHJJILHOHRIUJWLYNZQ[T[VZXYYXZV[Y\\[ R[HZMZT[Y RZKYJ RZNYKXIVG RJKINISJV RNGLIKKJNJSKVLXNZ RXXYVYR RVZWYXVXQ RKSLRMSLTKTJS RJPKNMMOMRNUPWQ RKOMNONROTP RJPLOOOUQYQZP",3808:" 50E_JGJZH[ RKHKZ RNHLHLZ RHFJGNHSHYG\\F RLPMNOLRKVKYL[N\\Q\\T[UYV RZN[P[SZU RVKXLYMZOZSYVYXZZ\\[ RH[LZPZU[",3809:" 23E_QIQY RRJRX RSISY RHFLHPITIXH\\F RH[KZOYUYYZ\\[",3810:" 42E_TIVIVXUZS[ RWIWXVY RXHXY RHFLHPITIXH\\F RIOHQHUIXKZN[S[VZXYZW\\T RIUJXKY RHSJUKXLZN[",3811:" 70E_JGJZH[ RKHKZ RNHLHLZ RHFJGNHSHYG\\F RLPMNOLRKUKXLYMYOXPSRQSPTPUQVRUQT RWLXMXOWP RUKWMWOVPSR RSRVRYSZUZWYX RWSYUYW RSRVSXUYXZZ[[\\[ RH[LZPZU[",3812:" 45E_JGJZ RKHKY RNHLHLYNY R\\KZNYPXSXUYW[X RZOYRYUZW R\\K[MZQZT[X\\[ RHFJGNHSHYG\\F RH[JZNYSYYZ\\[",3813:" 68E_QIQY RRJRX RSISY RNYLWJVIUHRHMIJKHMGPFTFWGYH[J\\M\\R[UZVXWVY RJUIRIMJJ RLWKUJRJLKIMG RZJ[M[RZU RWGYIZLZRYUXW RHFLHPITIXH\\F RH[KZOYUYYZ\\[",3814:" 48E_JHJZH[ RLHKIKZ ROFMGLILZ RHJJHLGOFSFVGXHZJ[L\\O\\S[UYV RZK[N[RZU RVGXIYKZNZRYVYXZZ[[\\[ RH[LZPZU[",3815:" 54E_QFNGLHJJILHOHRIUJWLYNZQ[S[VZXYZW[U\\R\\O[LZJXHVGSFQF RJKINISJV RNGLIKKJNJSKVLXNZ RZV[S[NZK RVZXXYVZSZNYKXIVG",3816:" 51E_JIJZ RMHKJKY RQFOGMILKLYNY RHKJINGQFTFWGYH[J\\M\\O[RYTVURUOTMRLO RZJ[L[PZR RWGYIZLZPYSVU RH[JZNYSYYZ\\[",3817:" 74E_QFNGLHJJILHOHRIUJWLYNZQ[S[VZXYZW[U\\R\\O[LZJXHVGSFQF RJKINISJV RNGLIKKJNJSKVLXNZ RZV[S[NZK RVZXXYVZSZNYKXIVG RJSKUNVTW[W\\X\\Z[[[Z\\Y RPWRW RKUNWQXSXTW",3818:" 69E_JIJZH[ RKIKZ RLHLZ RHKJILHNGQFUFYG[I\\K\\N[PZQ RYHZI[K[NZP RUFWGYIZKZOYQ RXRUSRSPRPPROUOXPZR\\U\\W[XZX RXQYR[V[WZT RTOVPXRYTZX[Z\\[ RH[LZPZU[",3819:" 94E_TFZG\\F[H[JYHWGTFPFMGJJIMIOJRLTOURUTTUSVQVP R[GZH[J RJPKRLSOTRTTS RKIJKJNKPMRPSRSTRVPWOXO RLQMQNPPNRMUMWNYPZRZUYXWZ RPMRLULXMZO[R[UZW RIWJYIZ RNPNOOMPLRKUKXL[O\\R\\T[WYYWZT[P[MZKYIWIYH[JZP[",3820:" 66E_QHMHKIJJILHOHSIVJXKYMZP[S[VZXYZW[U\\R\\N[KYIWH RUHTITKULVKUJ RISJVLXNYQZTZWY RJJINIQJTLWNXQYTYWXYW[T\\R RHFKI RKHLG RIGJGKFMGQHWHZG\\F",3821:" 51E_LHJJILHOHRIUJWLYNZQ[U[XZZY RKJJLIOISJV RKILJLKKMJPJSKVLXNZ RVHXHXXWZU[ RYHYXXY RZGZY\\[ RHFKGQHVHZG\\F",3822:" 31E_HFR[ RIGJHQWRY RJGKHRWSX R\\FR[ RWNUS RYLUQTTTV RHFJGOHUHZG\\F",3823:" 67E_LHJJILHOHRIUJWLYNZQ[S[VZXYZW[U\\R\\O[LZJXH RJLIOIRJUKW RJJKKKLJOJRKVLXNZ RYWZU[R[OZL RVZXXYVZRZOYLYKZJ RQIQ[ RRJRZ RSIS[ RHFLHPITIXH\\F",3824:" 41E_HFXYYZ RIGKHZZ RLH\\[ R\\FSP RQRJZ RPSMULW RQRMTLUKWKY RHFLHPITIXH\\F RH[JZNYSYYZ\\[",3825:" 47E_XHXZ RYHYY RZGZY RKHIJHMHPISKUMVPWSWVVXU RLUOVUV RHPIRKTNUTUVV RHFLHPITIXH\\F RHWJYLZP[T[XZ\\X",3826:" 73E_HFIGKHNHSFVFYGZIZKYM RXGYIYKXM RVFWGXIXL RXNTOROPNPLRKTKXL RTKVLWMVNTO RYM[O\\R\\T[WYYWZT[P[MZKYIWHTHRIOJNLMNMPNPPOQNPOO RXMZO[Q[UZW RXNYOZQZUYXWZ",3901:" 42J[PQMTMXP[TY RNTNXPZ ROROWRZ RRSMNNMONNO RONSNUMWOWXXY RUNVOVXUYVZWYVX RSNUPUXTYV[XY",3902:" 31IZNHLFMJMXP[UYWX RNHNXPZ RNHPFOJOWRZ ROOTMWPWX RTNVPVX RRNUQUY",3903:" 23KWNPNYP[RY ROPOYPZ RPOPXQYRY RNPTMVOTPRN RSNUO",3904:" 32JZRMMPMXP[RZUYWY RNPNXPZ ROOOWRZ RPIPFQIWPWY RPIVPVX RPIMIPJUPUY",3905:" 25KXNPNYP[RY ROPOYPZ RPOPXQYRY RNPTMWQPU RSNVQ RRNUR",3906:" 32KWOIOXNYP[ RPIPXOYPZQYPX RQHQXRYP[ ROIUFWHUISG RTGVH RLMOM RQMUM",3907:" 41J[MPMXP[UY RNPNXPZ ROOOWRZ RMPOOTMWPW]V_U`SaQaO`MaObQa RTNVPV]U_ RPaNa RRNUQU^T`Sa",3908:" 42I[NHLFMJMXLYN[ RNHNXMYNZOYNX RNHPFOJOXPYN[ ROORNTMWPWYT]T`UbVbT` RTNVPVYU[ RRNUQUZT]",3909:" 37MWRFPHRJTHRF RRGQHRISHRG RRMPOQPQXPYR[ RRPSORNQORPRXQYRZSYRX RRMTOSPSXTYR[",3910:" 37MWRFPHRJTHRF RRGQHRISHRG RRMPOQPQYT] RRPSORNQORPRYS[ RRMTOSPSZT]T`RbPaPbRb",3911:" 51IZNHLFMJMXLYN[ RNHNXMYNZOYNX RNHPFOJOXPYN[ ROPRNTMVPSROU RSNUP RRNTQ RRSSTTYV[XY RSSTUUYVZ RSRTSVXWYXY",3912:" 21MWRHPFQJQXPYR[ RRHRXQYRZSYRX RRHTFSJSXTYR[",3913:" 66E_GOHOIPIXHYJ[ RINJOJXIYJZKYJX RGOIMKOKXLYJ[ RKONNPMSOSXTYR[ RPNRORXQYRZSYRX RNNQPQXPYR[ RSOVNXM[O[X\\YZ[ RXNZOZXYYZZ[YZX RVNYPYXXYZ[",3914:" 44I[KOLOMPMXLYN[ RMNNONXMYNZOYNX RKOMMOOOXPYN[ ROORNTMWOWXXYV[ RTNVOVXUYVZWYVX RRNUPUXTYV[",3915:" 28JZMPMXP[UYWX RNPNXPZ ROOOWRZ RMPOOTMWPWX RTNVPVX RRNUQUY",3916:" 47IZLMMOMXKYMYM_LbN` RNON` RLMNNOOOXQYRZ RNYOYQZ ROZP[UYWX ROZO_PbN` ROORNTMWPWX RTNVPVX RRNUQUY",3917:" 31J[MPMXP[UY RNPNXPZ ROOOWRZ RMPOOTMWPW_XbV` RTNVPV` RRNUQU_TbV`",3918:" 31KXMONOOPOXNYP[ RONPOPXOYPZQYPX RMOOMQOQXRYP[ RQOUMWOUPSN RTNVO",3919:" 41JZMPMSOUURWTWX RNPNSOT ROOOSPT RUSVTVX RTSUTUY RMPSMVNTOQN RRNUN RWXQ[MYOXSZ ROYQZ",3920:" 27MWRHPFQJQXPYR[ RRHRXQYRZSYRX RRHTFSJSXTYR[ RNMQM RSMVM",3921:" 40I[KOLOMPMYP[UY RMNNONYPZ RKOMMOOOXRZ RVMXOWPWXXYYY RVPWOVNUOVPVYWZ RVMTOUPUYW[YY",3922:" 36I[LMMOMXQ[SYWW RMNNONXQZ RLMNNOOOWRYSY RVMXOWPWW RVPWOVNUOVPVW RVMTOUPUX",3923:" 59E_HMIOIXM[OYQX RINJOJXMZ RHMJNKOKWNYOY RRMPOQPQXU[WY[W RRPSORNQORPRXUZ RRMTOSPSWVYWY RZM\\O[P[W RZP[OZNYOZPZW RZMXOYPYX",3924:" 39I[LONPUZV[XY RMNOOUYWZ RLONMONVXXY RXMVMVOXOXMVOSS RQUNYL[N[NYLYL[ RNTQT RSTVT",3925:" 49I[KOLOMPMYP[UY RMNNONYPZ RKOMMOOOXRZ RVMXOWPW]V_U`SaQaO`MaObQa RVPWOVNUOVPV^U_ RPaNa RVMTOUPU^T`Sa",3926:" 43L[RNOPOORNTMWOWSRU RTNVOVS RRNUPUSTT RRUWWW]V_U`SaQaO`MaObQa RVWV^U_ RPaNa RTVUWU^T`Sa"},Ln={"\\frac":{glyph:0,arity:2,flags:{}},"\\binom":{glyph:0,arity:2,flags:{}},"\\sqrt":{glyph:2267,arity:1,flags:{opt:!0,xfl:!0,yfl:!0}},"^":{glyph:0,arity:1,flags:{}},_:{glyph:0,arity:1,flags:{}},"(":{glyph:2221,arity:0,flags:{yfl:!0}},")":{glyph:2222,arity:0,flags:{yfl:!0}},"[":{glyph:2223,arity:0,flags:{yfl:!0}},"]":{glyph:2224,arity:0,flags:{yfl:!0}},"\\langle":{glyph:2227,arity:0,flags:{yfl:!0}},"\\rangle":{glyph:2228,arity:0,flags:{yfl:!0}},"|":{glyph:2229,arity:0,flags:{yfl:!0}},"\\|":{glyph:2230,arity:0,flags:{yfl:!0}},"\\{":{glyph:2225,arity:0,flags:{yfl:!0}},"\\}":{glyph:2226,arity:0,flags:{yfl:!0}},"\\#":{glyph:2275,arity:0,flags:{}},"\\$":{glyph:2274,arity:0,flags:{}},"\\&":{glyph:2273,arity:0,flags:{}},"\\%":{glyph:2271,arity:0,flags:{}},"\\begin":{glyph:0,arity:1,flags:{}},"\\end":{glyph:0,arity:1,flags:{}},"\\left":{glyph:0,arity:1,flags:{}},"\\right":{glyph:0,arity:1,flags:{}},"\\middle":{glyph:0,arity:1,flags:{}},"\\cdot":{glyph:2236,arity:0,flags:{}},"\\pm":{glyph:2233,arity:0,flags:{}},"\\mp":{glyph:2234,arity:0,flags:{}},"\\times":{glyph:2235,arity:0,flags:{}},"\\div":{glyph:2237,arity:0,flags:{}},"\\leqq":{glyph:2243,arity:0,flags:{}},"\\geqq":{glyph:2244,arity:0,flags:{}},"\\leq":{glyph:2243,arity:0,flags:{}},"\\geq":{glyph:2244,arity:0,flags:{}},"\\propto":{glyph:2245,arity:0,flags:{}},"\\sim":{glyph:2246,arity:0,flags:{}},"\\equiv":{glyph:2240,arity:0,flags:{}},"\\dagger":{glyph:2277,arity:0,flags:{}},"\\ddagger":{glyph:2278,arity:0,flags:{}},"\\ell":{glyph:662,arity:0,flags:{}},"\\vec":{glyph:2261,arity:1,flags:{hat:!0,xfl:!0,yfl:!0}},"\\overrightarrow":{glyph:2261,arity:1,flags:{hat:!0,xfl:!0,yfl:!0}},"\\overleftarrow":{glyph:2263,arity:1,flags:{hat:!0,xfl:!0,yfl:!0}},"\\bar":{glyph:2231,arity:1,flags:{hat:!0,xfl:!0}},"\\overline":{glyph:2231,arity:1,flags:{hat:!0,xfl:!0}},"\\widehat":{glyph:2247,arity:1,flags:{hat:!0,xfl:!0,yfl:!0}},"\\hat":{glyph:2247,arity:1,flags:{hat:!0}},"\\acute":{glyph:2248,arity:1,flags:{hat:!0}},"\\grave":{glyph:2249,arity:1,flags:{hat:!0}},"\\breve":{glyph:2250,arity:1,flags:{hat:!0}},"\\tilde":{glyph:2246,arity:1,flags:{hat:!0}},"\\underline":{glyph:2231,arity:1,flags:{mat:!0,xfl:!0}},"\\not":{glyph:2220,arity:1,flags:{}},"\\neq":{glyph:2239,arity:1,flags:{}},"\\ne":{glyph:2239,arity:1,flags:{}},"\\exists":{glyph:2279,arity:0,flags:{}},"\\in":{glyph:2260,arity:0,flags:{}},"\\subset":{glyph:2256,arity:0,flags:{}},"\\supset":{glyph:2258,arity:0,flags:{}},"\\cup":{glyph:2257,arity:0,flags:{}},"\\cap":{glyph:2259,arity:0,flags:{}},"\\infty":{glyph:2270,arity:0,flags:{}},"\\partial":{glyph:2265,arity:0,flags:{}},"\\nabla":{glyph:2266,arity:0,flags:{}},"\\aleph":{glyph:2077,arity:0,flags:{}},"\\wp":{glyph:2190,arity:0,flags:{}},"\\therefore":{glyph:740,arity:0,flags:{}},"\\mid":{glyph:2229,arity:0,flags:{}},"\\sum":{glyph:2402,arity:0,flags:{big:!0}},"\\prod":{glyph:2401,arity:0,flags:{big:!0}},"\\bigoplus":{glyph:2284,arity:0,flags:{big:!0}},"\\bigodot":{glyph:2281,arity:0,flags:{big:!0}},"\\int":{glyph:2412,arity:0,flags:{yfl:!0}},"\\oint":{glyph:2269,arity:0,flags:{yfl:!0}},"\\oplus":{glyph:1284,arity:0,flags:{}},"\\odot":{glyph:1281,arity:0,flags:{}},"\\perp":{glyph:738,arity:0,flags:{}},"\\angle":{glyph:739,arity:0,flags:{}},"\\triangle":{glyph:842,arity:0,flags:{}},"\\Box":{glyph:841,arity:0,flags:{}},"\\rightarrow":{glyph:2261,arity:0,flags:{}},"\\to":{glyph:2261,arity:0,flags:{}},"\\leftarrow":{glyph:2263,arity:0,flags:{}},"\\gets":{glyph:2263,arity:0,flags:{}},"\\circ":{glyph:902,arity:0,flags:{}},"\\bigcirc":{glyph:904,arity:0,flags:{}},"\\bullet":{glyph:828,arity:0,flags:{}},"\\star":{glyph:856,arity:0,flags:{}},"\\diamond":{glyph:743,arity:0,flags:{}},"\\ast":{glyph:728,arity:0,flags:{}},"\\log":{glyph:0,arity:0,flags:{txt:!0}},"\\ln":{glyph:0,arity:0,flags:{txt:!0}},"\\exp":{glyph:0,arity:0,flags:{txt:!0}},"\\mod":{glyph:0,arity:0,flags:{txt:!0}},"\\lim":{glyph:0,arity:0,flags:{txt:!0,big:!0}},"\\sin":{glyph:0,arity:0,flags:{txt:!0}},"\\cos":{glyph:0,arity:0,flags:{txt:!0}},"\\tan":{glyph:0,arity:0,flags:{txt:!0}},"\\csc":{glyph:0,arity:0,flags:{txt:!0}},"\\sec":{glyph:0,arity:0,flags:{txt:!0}},"\\cot":{glyph:0,arity:0,flags:{txt:!0}},"\\sinh":{glyph:0,arity:0,flags:{txt:!0}},"\\cosh":{glyph:0,arity:0,flags:{txt:!0}},"\\tanh":{glyph:0,arity:0,flags:{txt:!0}},"\\csch":{glyph:0,arity:0,flags:{txt:!0}},"\\sech":{glyph:0,arity:0,flags:{txt:!0}},"\\coth":{glyph:0,arity:0,flags:{txt:!0}},"\\arcsin":{glyph:0,arity:0,flags:{txt:!0}},"\\arccos":{glyph:0,arity:0,flags:{txt:!0}},"\\arctan":{glyph:0,arity:0,flags:{txt:!0}},"\\arccsc":{glyph:0,arity:0,flags:{txt:!0}},"\\arcsec":{glyph:0,arity:0,flags:{txt:!0}},"\\arccot":{glyph:0,arity:0,flags:{txt:!0}},"\\text":{glyph:0,arity:1,flags:{}},"\\mathnormal":{glyph:0,arity:1,flags:{}},"\\mathrm":{glyph:0,arity:1,flags:{}},"\\mathit":{glyph:0,arity:1,flags:{}},"\\mathbf":{glyph:0,arity:1,flags:{}},"\\mathsf":{glyph:0,arity:1,flags:{}},"\\mathtt":{glyph:0,arity:1,flags:{}},"\\mathfrak":{glyph:0,arity:1,flags:{}},"\\mathcal":{glyph:0,arity:1,flags:{}},"\\mathbb":{glyph:0,arity:1,flags:{}},"\\mathscr":{glyph:0,arity:1,flags:{}},"\\rm":{glyph:0,arity:1,flags:{}},"\\it":{glyph:0,arity:1,flags:{}},"\\bf":{glyph:0,arity:1,flags:{}},"\\sf":{glyph:0,arity:1,flags:{}},"\\tt":{glyph:0,arity:1,flags:{}},"\\frak":{glyph:0,arity:1,flags:{}},"\\cal":{glyph:0,arity:1,flags:{}},"\\bb":{glyph:0,arity:1,flags:{}},"\\scr":{glyph:0,arity:1,flags:{}},"\\quad":{glyph:0,arity:0,flags:{}},"\\,":{glyph:0,arity:0,flags:{}},"\\.":{glyph:0,arity:0,flags:{}},"\\;":{glyph:0,arity:0,flags:{}},"\\!":{glyph:0,arity:0,flags:{}},"\\alpha":{glyph:2127,flags:{}},"\\beta":{glyph:2128,flags:{}},"\\gamma":{glyph:2129,flags:{}},"\\delta":{glyph:2130,flags:{}},"\\varepsilon":{glyph:2131,flags:{}},"\\zeta":{glyph:2132,flags:{}},"\\eta":{glyph:2133,flags:{}},"\\vartheta":{glyph:2134,flags:{}},"\\iota":{glyph:2135,flags:{}},"\\kappa":{glyph:2136,flags:{}},"\\lambda":{glyph:2137,flags:{}},"\\mu":{glyph:2138,flags:{}},"\\nu":{glyph:2139,flags:{}},"\\xi":{glyph:2140,flags:{}},"\\omicron":{glyph:2141,flags:{}},"\\pi":{glyph:2142,flags:{}},"\\rho":{glyph:2143,flags:{}},"\\sigma":{glyph:2144,flags:{}},"\\tau":{glyph:2145,flags:{}},"\\upsilon":{glyph:2146,flags:{}},"\\varphi":{glyph:2147,flags:{}},"\\chi":{glyph:2148,flags:{}},"\\psi":{glyph:2149,flags:{}},"\\omega":{glyph:2150,flags:{}},"\\epsilon":{glyph:2184,flags:{}},"\\theta":{glyph:2185,flags:{}},"\\phi":{glyph:2186,flags:{}},"\\varsigma":{glyph:2187,flags:{}},"\\Alpha":{glyph:2027,flags:{}},"\\Beta":{glyph:2028,flags:{}},"\\Gamma":{glyph:2029,flags:{}},"\\Delta":{glyph:2030,flags:{}},"\\Epsilon":{glyph:2031,flags:{}},"\\Zeta":{glyph:2032,flags:{}},"\\Eta":{glyph:2033,flags:{}},"\\Theta":{glyph:2034,flags:{}},"\\Iota":{glyph:2035,flags:{}},"\\Kappa":{glyph:2036,flags:{}},"\\Lambda":{glyph:2037,flags:{}},"\\Mu":{glyph:2038,flags:{}},"\\Nu":{glyph:2039,flags:{}},"\\Xi":{glyph:2040,flags:{}},"\\Omicron":{glyph:2041,flags:{}},"\\Pi":{glyph:2042,flags:{}},"\\Rho":{glyph:2043,flags:{}},"\\Sigma":{glyph:2044,flags:{}},"\\Tau":{glyph:2045,flags:{}},"\\Upsilon":{glyph:2046,flags:{}},"\\Phi":{glyph:2047,flags:{}},"\\Chi":{glyph:2048,flags:{}},"\\Psi":{glyph:2049,flags:{}},"\\Omega":{glyph:2050,flags:{}}};function Ib(e,t="math"){let n=e.charCodeAt(0);if(65<=n&&n<=90){let r=n-65;return t=="text"||t=="rm"?r+2001:t=="tt"?r+501:t=="bf"||t=="bb"?r+3001:t=="sf"?r+2501:t=="frak"?r+3301:t=="scr"||t=="cal"?r+2551:r+2051}if(97<=n&&n<=122){let r=n-97;return t=="text"||t=="rm"?r+2101:t=="tt"?r+601:t=="bf"||t=="bb"?r+3101:t=="sf"?r+2601:t=="frak"?r+3401:t=="scr"||t=="cal"?r+2651:r+2151}if(48<=n&&n<=57){let r=n-48;return t=="it"?r+2750:t=="bf"?r+3200:t=="tt"?r+700:r+2200}return{".":2210,",":2211,":":2212,";":2213,"!":2214,"?":2215,"'":2216,'"':2217,"*":2219,"/":2220,"-":2231,"+":2232,"=":2238,"<":2241,">":2242,"~":2246,"@":2273,"\\":804}[e]}var ka={SUB_SUP_SCALE:.75,SQRT_MAG_SCALE:.5,FRAC_SCALE:.85,LINE_SPACING:.5,FRAC_SPACING:.4};function WEe(e){e=e.replace(/\n/g," ");let t=0,n=[],r="";for(;t<e.length;)e[t]==" "?r.length&&(n.push(r),r=""):e[t]=="\\"?r.length==1&&r[0]=="\\"?r+=e[t]:(r.length&&n.push(r),r=e[t]):/[A-Za-z0-9\.]/.test(e[t])?r+=e[t]:(r.length&&r!="\\"&&(n.push(r),r=""),r+=e[t],n.push(r),r=""),t++;return r.length&&n.push(r),n}function VEe(e){return{type:Ln[e]?"symb":"char",mode:"math",text:e,chld:[],bbox:null}}function w_(e){let t=0,n={type:"node",text:"",mode:"math",chld:[],bbox:null};function r(){if(e[t]!="[")return null;let o=0,a=t,s;for(;a<e.length;){if(e[a]=="[")o++;else if(e[a]=="]"&&(o--,!o))break;a++}return s=w_(e.slice(t+1,a)),t=a,s}function i(o){let a=t,s=a,l=0,u=0,c=[];for(;a<e.length;){if(e[a]=="{")l||(s=a),l++;else if(e[a]=="}"){if(l--,!l&&(c.push(w_(e.slice(s+1,a))),u++,u==o))break}else if(l==0&&(c.push(VEe(e[a])),u++,u==o))break;a++}return t=a,c}for(t=0;t<e.length;t++){let o=Ln[e[t]],a={type:"",text:e[t],mode:"math",chld:[],bbox:null};if(o)if(o.arity){t++,a.type="func";let s=null;o.flags.opt&&(s=r(),s&&t++);let l=i(o.arity);a.chld=l,s&&a.chld.push(s)}else a.type="symb";else e[t]=="{"?(a.type="node",a.text="",a.chld=i(1)):a.type="char";n.chld.push(a)}return n.chld.length==1&&(n=n.chld[0]),n}function Xee(e){let t=0;for(;t<e.length;){if(e[t].text=="\\begin"){let n;for(n=t;n<e.length&&e[n].text!="\\end";n++);let r=e.splice(t+1,n-(t+1));Xee(r),e[t].text=e[t].chld[0].text,e[t].chld=r,e.splice(t+1,1)}t++}}function Lo(e,t,n,r,i,o){if(n==null&&(n=t),!!e.bbox){o&&(e.bbox.x*=t,e.bbox.y*=n),e.bbox.w*=t,e.bbox.h*=n;for(var a=0;a<e.chld.length;a++)Lo(e.chld[a],t,n,0,0,!0);e.bbox.x+=r,e.bbox.y+=i}}function Wee(e){let t=1/0,n=-1/0,r=1/0,i=-1/0;for(let o=0;o<e.length;o++)e[o].bbox&&(t=Math.min(t,e[o].bbox.x),r=Math.min(r,e[o].bbox.y),n=Math.max(n,e[o].bbox.x+e[o].bbox.w),i=Math.max(i,e[o].bbox.y+e[o].bbox.h));return{x:t,y:r,w:n-t,h:i-r}}function DEe(e){if(!e.length)return null;let t=Wee(e);for(let r=0;r<e.length;r++)e[r].bbox&&(e[r].bbox.x-=t.x,e[r].bbox.y-=t.y);return{type:"node",text:"",mode:"math",chld:e,bbox:t}}function UEe(e,t="center"){for(let u=0;u<e.length;u++)if(e[u].text=="^"||e[u].text=="'"){let c=0,f=u;for(;f>0&&(e[f].text=="^"||e[f].text=="_"||e[f].text=="'");)f--;c=e[f].bbox.y,e[u].text=="'"?e[u].bbox.y=c:(Lo(e[u],ka.SUB_SUP_SCALE,null,0,0),Ln[e[f].text]&&Ln[e[f].text].flags.big?e[u].bbox.y=c-e[u].bbox.h:e[f].text=="\\int"?e[u].bbox.y=c:e[u].bbox.y=c-e[u].bbox.h/2)}else if(e[u].text=="_"){let c=1,f=u;for(;f>0&&(e[f].text=="^"||e[f].text=="_"||e[f].text=="'");)f--;c=e[f].bbox.y+e[f].bbox.h,Lo(e[u],ka.SUB_SUP_SCALE,null,0,0),Ln[e[f].text]&&Ln[e[f].text].flags.big?e[u].bbox.y=c:e[f].text=="\\int"?e[u].bbox.y=c-e[u].bbox.h:e[u].bbox.y=c-e[u].bbox.h/2}function n(u,c,f,d,h){let p=u,v=h,g=1/0,m=-1/0;for(;d>0?p<e.length:p>=0;){if(e[p].text==c)v++;else if(e[p].text==f){if(v--,v==0)break}else e[p].text=="^"||e[p].text=="_"||e[p].bbox&&(g=Math.min(g,e[p].bbox.y),m=Math.max(m,e[p].bbox.y+e[p].bbox.h));p+=d}return[g,m]}for(let u=0;u<e.length;u++)if(e[u].text=="\\left"){const[c,f]=n(u,"\\left","\\right",1,0);c!=1/0&&f!=-1/0&&(e[u].bbox.y=c,Lo(e[u],1,(f-c)/e[u].bbox.h,0,0))}else if(e[u].text=="\\right"){const[c,f]=n(u,"\\right","\\left",-1,0);c!=1/0&&f!=-1/0&&(e[u].bbox.y=c,Lo(e[u],1,(f-c)/e[u].bbox.h,0,0))}else if(e[u].text=="\\middle"){const[c,f]=n(u,"\\right","\\left",-1,1),[d,h]=n(u,"\\left","\\right",1,1);let p=Math.min(c,d),v=Math.max(f,h);p!=1/0&&v!=-1/0&&(e[u].bbox.y=p,Lo(e[u],1,(v-p)/e[u].bbox.h,0,0))}if(!e.some(u=>u.text=="&"||u.text=="\\\\"))return;let r=[],i=[],o=[];for(let u=0;u<e.length;u++)e[u].text=="&"?(i.push(o),o=[]):e[u].text=="\\\\"?(o.length&&(i.push(o),o=[]),r.push(i),i=[]):o.push(e[u]);o.length&&i.push(o),i.length&&r.push(i);let a=[],s=[];for(let u=0;u<r.length;u++){let c=[];for(let f=0;f<r[u].length;f++){let d=DEe(r[u][f]);d&&(a[f]=a[f]||0,a[f]=Math.max(d.bbox.w+1,a[f])),c[f]=d}s.push(c)}let l=[];for(let u=0;u<s.length;u++){let c=1/0,f=-1/0;for(let d=0;d<s[u].length;d++)s[u][d]&&(c=Math.min(c,s[u][d].bbox.y),f=Math.max(f,s[u][d].bbox.y+s[u][d].bbox.h));l.push([c,f])}for(let u=0;u<l.length;u++)(l[u][0]==1/0||l[u][1]==1/0)&&(l[u][0]=u==0?0:l[u-1][1],l[u][1]=l[u][0]+2);for(let u=1;u<s.length;u++){let c=l[u-1][1]-l[u][0]+ka.LINE_SPACING;for(let f=0;f<s[u].length;f++)s[u][f]&&(s[u][f].bbox.y+=c);l[u][0]+=c,l[u][1]+=c}e.splice(0,e.length);for(let u=0;u<s.length;u++){let c=0;for(let f=0;f<s[u].length;f++){let d=s[u][f];if(!d){c+=a[f];continue}d.bbox.x+=c,c+=a[f]-d.bbox.w,t=="center"?d.bbox.x+=(a[f]-d.bbox.w)/2:t=="left"||(t=="right"||t=="equation"&&f!=s[u].length-1)&&(d.bbox.x+=a[f]-d.bbox.w),e.push(d)}}}function El(e,t="math"){var n,r,i;let o=(n={"\\text":"text","\\mathnormal":"math","\\mathrm":"rm","\\mathit":"it","\\mathbf":"bf","\\mathsf":"sf","\\mathtt":"tt","\\mathfrak":"frak","\\mathcal":"cal","\\mathbb":"bb","\\mathscr":"scr","\\rm":"rm","\\it":"it","\\bf":"bf","\\sf":"tt","\\tt":"tt","\\frak":"frak","\\cal":"cal","\\bb":"bb","\\scr":"scr"}[e.text])!=null?n:t;if(!e.chld.length){if(Ln[e.text])if(Ln[e.text].flags.big)e.text=="\\lim"?e.bbox={x:0,y:0,w:3.5,h:2}:e.bbox={x:0,y:-.5,w:3,h:3};else if(Ln[e.text].flags.txt){let s=0;for(var a=1;a<e.text.length;a++)s+=Np(Ib(e.text[a],"text")).w;s/=16,e.bbox={x:0,y:0,w:s,h:2}}else if(Ln[e.text].glyph){let s=Np(Ln[e.text].glyph).w;s/=16,e.text=="\\int"||e.text=="\\oint"?e.bbox={x:0,y:-1.5,w:s,h:5}:e.bbox={x:0,y:0,w:s,h:2}}else e.bbox={x:0,y:0,w:1,h:2};else{let s=0;for(var a=0;a<e.text.length;a++)Np(Ib(e.text[a],o))&&(o=="tt"?s+=16:s+=Np(Ib(e.text[a],o)).w);s/=16,e.bbox={x:0,y:0,w:s,h:2}}e.mode=o;return}if(e.text=="\\frac"){let s=e.chld[0],l=e.chld[1],u=ka.FRAC_SCALE;El(s),El(l),s.bbox.x=0,s.bbox.y=0,l.bbox.x=0,l.bbox.y=0;let c=Math.max(s.bbox.w,l.bbox.w)*u;Lo(s,u,null,(c-s.bbox.w*u)/2,0),Lo(l,u,null,(c-l.bbox.w*u)/2,s.bbox.h+ka.FRAC_SPACING),e.bbox={x:0,y:-s.bbox.h+1-ka.FRAC_SPACING/2,w:c,h:s.bbox.h+l.bbox.h+ka.FRAC_SPACING}}else if(e.text=="\\binom"){let s=e.chld[0],l=e.chld[1];El(s),El(l),s.bbox.x=0,s.bbox.y=0,l.bbox.x=0,l.bbox.y=0;let u=Math.max(s.bbox.w,l.bbox.w);Lo(s,1,null,(u-s.bbox.w)/2+1,0),Lo(l,1,null,(u-l.bbox.w)/2+1,s.bbox.h),e.bbox={x:0,y:-s.bbox.h+1,w:u+2,h:s.bbox.h+l.bbox.h}}else if(e.text=="\\sqrt"){let s=e.chld[0];El(s);let l=e.chld[1],u=0;l&&(El(l),u=Math.max(l.bbox.w*ka.SQRT_MAG_SCALE-.5,0),Lo(l,ka.SQRT_MAG_SCALE,null,0,.5)),Lo(s,1,null,1+u,.5),e.bbox={x:0,y:2-s.bbox.h-.5,w:s.bbox.w+1+u,h:s.bbox.h+.5}}else if(Ln[e.text]&&Ln[e.text].flags.hat){let s=e.chld[0];El(s),Lo(s,1,null,0,.5),e.bbox={x:0,y:-.5,w:s.bbox.w,h:s.bbox.h+.5}}else if(Ln[e.text]&&Ln[e.text].flags.mat){let s=e.chld[0];El(s),e.bbox={x:0,y:0,w:s.bbox.w,h:s.bbox.h+.5}}else{let s=0,l=0,u=1;for(let v=0;v<e.chld.length;v++){let g=e.chld[v],m=(r={"\\quad":2,"\\,":2*3/18,"\\:":2*4/18,"\\;":2*5/18,"\\!":2*-3/18}[g.text])!=null?r:null;if(g.text=="\\\\"){l+=u,s=0,u=1;continue}else{if(g.text=="&")continue;if(m!=null){s+=m;continue}else{if(El(g,o),Lo(g,1,null,s,l),g.text=="^"||g.text=="_"||g.text=="'"){let y=v;for(;y>0&&(e.chld[y].text=="^"||e.chld[y].text=="_"||e.chld[y].text=="'");)y--;let R=Ln[e.chld[y].text]&&Ln[e.chld[y].text].flags.big;if(g.text=="'"){let A=y+1,x=0;for(;A<v;)e.chld[A].text=="'"&&x++,A++;g.bbox.x=e.chld[y].bbox.x+e.chld[y].bbox.w+g.bbox.w*x,s=Math.max(s,g.bbox.x+g.bbox.w)}else if(R){let A=e.chld[y].bbox.x+(e.chld[y].bbox.w-g.bbox.w*ka.SUB_SUP_SCALE)/2;g.bbox.x=A,s=Math.max(s,e.chld[y].bbox.x+e.chld[y].bbox.w+(g.bbox.w*ka.SUB_SUP_SCALE-e.chld[y].bbox.w)/2)}else g.bbox.x=e.chld[y].bbox.x+e.chld[y].bbox.w,s=Math.max(s,g.bbox.x+g.bbox.w*ka.SUB_SUP_SCALE)}else s+=g.bbox.w;t=="text"&&(s+=1),u=Math.max(g.bbox.y+g.bbox.h-l,u)}}}l+=u;let c={bmatrix:["[","]"],pmatrix:["(",")"],Bmatrix:["\\{","\\}"],cases:["\\{"]},f=(i={bmatrix:"center",pmatrix:"center",Bmatrix:"center",cases:"left",matrix:"center",aligned:"equation"}[e.text])!=null?i:"left",d=!!c[e.text],h=!!c[e.text]&&c[e.text].length>1;UEe(e.chld,f);let p=Wee(e.chld);e.text=="\\text"&&(p.x-=1,p.w+=2);for(let v=0;v<e.chld.length;v++)Lo(e.chld[v],1,null,-p.x+(d?1.5:0),-p.y);e.bbox={x:0,y:0,w:p.w+1.5*Number(d)+1.5*Number(h),h:p.h},d&&e.chld.unshift({type:"symb",text:c[e.text][0],mode:e.mode,chld:[],bbox:{x:0,y:0,w:1,h:p.h}}),h&&e.chld.push({type:"symb",text:c[e.text][1],mode:e.mode,chld:[],bbox:{x:p.w+2,y:0,w:1,h:p.h}}),(d||h||e.text=="matrix")&&(e.type="node",e.text="",e.bbox.y-=(e.bbox.h-2)/2)}}function BEe(e){function t(r,i,o){let a=[];if(r.bbox){if(i+=r.bbox.x,o+=r.bbox.y,r.text=="\\frac"){let l=r.chld[1].bbox.y-(r.chld[0].bbox.y+r.chld[0].bbox.h),u={type:"symb",mode:r.mode,text:"\\bar",bbox:{x:i,y:o+(r.chld[1].bbox.y-l/2)-l/2,w:r.bbox.w,h:l},chld:[]};a.push(u)}else if(r.text=="\\sqrt"){let l=r.chld[0].bbox.y,u=Math.max(0,r.chld[0].bbox.x-r.chld[0].bbox.h/2),c={type:"symb",mode:r.mode,text:"\\sqrt",bbox:{x:i+u,y:o+l/2,w:r.chld[0].bbox.x-u,h:r.bbox.h-l/2},chld:[]};a.push(c),a.push({type:"symb",text:"\\bar",mode:r.mode,bbox:{x:i+r.chld[0].bbox.x,y:o,w:r.bbox.w-r.chld[0].bbox.x,h:l},chld:[]})}else if(r.text=="\\binom"){let l=Math.min(r.chld[0].bbox.x,r.chld[1].bbox.x),u={type:"symb",mode:r.mode,text:"(",bbox:{x:i,y:o,w:l,h:r.bbox.h},chld:[]};a.push(u),a.push({type:"symb",text:")",mode:r.mode,bbox:{x:i+r.bbox.w-l,y:o,w:l,h:r.bbox.h},chld:[]})}else if(Ln[r.text]&&Ln[r.text].flags.hat){let l=r.chld[0].bbox.y,u={type:"symb",mode:r.mode,text:r.text,bbox:{x:i,y:o,w:r.bbox.w,h:l},chld:[]};a.push(u)}else if(Ln[r.text]&&Ln[r.text].flags.mat){let l=r.chld[0].bbox.h,u={type:"symb",text:r.text,mode:r.mode,bbox:{x:i,y:o+l,w:r.bbox.w,h:r.bbox.h-l},chld:[]};a.push(u)}else if(r.type!="node"&&r.text!="^"&&r.text!="_"){let l={type:r.type=="func"?"symb":r.type,text:r.text,mode:r.mode,bbox:{x:i,y:o,w:r.bbox.w,h:r.bbox.h},chld:[]};a.push(l)}}for(var s=0;s<r.chld.length;s++){let l=t(r.chld[s],i,o);a.push(...l)}return a}let n=t(e,-e.bbox.x,-e.bbox.y);e.type="node",e.text="",e.chld=n}function YEe(e){let t=[];for(let n=0;n<e.chld.length;n++){let r=e.chld[n],i=r.bbox.h/2,o=!1;if(Ln[r.text]&&Ln[r.text].flags.hat&&!Ln[r.text].flags.xfl&&!Ln[r.text].flags.yfl&&(i*=4,o=!0),Ln[r.text]&&Ln[r.text].glyph){let a=Np(Ln[r.text].glyph);for(let s=0;s<a.polylines.length;s++){let l=[];for(let u=0;u<a.polylines[s].length;u++){let c=a.polylines[s][u][0],f=a.polylines[s][u][1];if(Ln[r.text].flags.xfl)c=(c-a.xmin)/Math.max(a.xmax-a.xmin,1)*r.bbox.w,c+=r.bbox.x;else if(a.w/16*i>r.bbox.w)c=c/Math.max(a.w,1)*r.bbox.w,c+=r.bbox.x;else{c=c/16*i;let d=(r.bbox.w-a.w/16*i)/2;c+=r.bbox.x+d}if(Ln[r.text].flags.yfl)f=(f-a.ymin)/Math.max(a.ymax-a.ymin,1)*r.bbox.h,f+=r.bbox.y;else{if(f=f/16*i,o){let d=(a.ymax+a.ymin)/2;f-=d/16*i}f+=r.bbox.y+r.bbox.h/2}l.push([c,f])}t.push(l)}}else if(Ln[r.text]&&Ln[r.text].flags.txt||r.type=="char"){let a=r.bbox.x,s=!!(Ln[r.text]&&Ln[r.text].flags.txt);for(let l=Number(s);l<r.text.length;l++){let u=Np(Ib(r.text[l],s?"text":r.mode));if(!u){console.warn("unmapped character: "+r.text[l]);continue}for(let c=0;c<u.polylines.length;c++){let f=[];for(let d=0;d<u.polylines[c].length;d++){let h=u.polylines[c][d][0],p=u.polylines[c][d][1];h/=16,p/=16,h*=i,p*=i,r.mode=="tt"&&(u.w>16?h*=16/u.w:h+=(16-u.w)/2/16),h+=a,p+=r.bbox.y+r.bbox.h/2,f.push([h,p])}t.push(f)}r.mode=="tt"?a+=i:a+=u.w/16*i}}}return t}function Nl(e){return Math.round(e*100)/100}var UP=class{constructor(e){this._latex=e,this._tokens=WEe(e),this._tree=w_(this._tokens),Xee(this._tree.chld),El(this._tree),BEe(this._tree),this._polylines=YEe(this._tree)}resolveScale(e){var t,n,r,i;if(e==null)return[16,16,16,16];let o=(t=e.SCALE_X)!=null?t:16,a=(n=e.SCALE_Y)!=null?n:16;if(e.MIN_CHAR_H!=null){let u=0;for(let f=0;f<this._tree.chld.length;f++){let d=this._tree.chld[f];(d.type=="char"||Ln[d.text]&&(Ln[d.text].flags.txt||!Object.keys(Ln[d.text].flags).length))&&(u=Math.min(d.bbox.h,u))}let c=Math.max(1,e.MIN_CHAR_H/u);o*=c,a*=c}if(e.MAX_W!=null){let u=o;o=Math.min(o,e.MAX_W/this._tree.bbox.w),a*=o/u}if(e.MAX_H!=null){let u=a;a=Math.min(a,e.MAX_H/this._tree.bbox.h),o*=a/u}let s=(r=e.MARGIN_X)!=null?r:o,l=(i=e.MARGIN_Y)!=null?i:a;return[s,l,o,a]}polylines(e){e||(e={});let t=[],[n,r,i,o]=this.resolveScale(e);for(let a=0;a<this._polylines.length;a++){t.push([]);for(let s=0;s<this._polylines[a].length;s++){let[l,u]=this._polylines[a][s];t[t.length-1].push([n+l*i,r+u*o])}}return t}pathd(e){e||(e={});let t="",[n,r,i,o]=this.resolveScale(e);for(let a=0;a<this._polylines.length;a++)for(let s=0;s<this._polylines[a].length;s++){let[l,u]=this._polylines[a][s];t+=s?"L":"M",t+=`${Nl(n+l*i)} ${Nl(r+u*o)}`}return t}svg(e){var t,n;e||(e={});let[r,i,o,a]=this.resolveScale(e),s=Nl(this._tree.bbox.w*o+r*2),l=Nl(this._tree.bbox.h*a+i*2),u=`<svg
|
||
xmlns="http://www.w3.org/2000/svg"
|
||
width="${s}" height="${l}"
|
||
fill="none" stroke="${(t=e.FG_COLOR)!=null?t:"black"}" stroke-width="${(n=e.STROKE_W)!=null?n:1}"
|
||
stroke-linecap="round" stroke-linejoin="round"
|
||
>`;e.BG_COLOR&&(u+=`<rect x="0" y="0" width="${s}" height="${l}" fill="${e.BG_COLOR}" stroke="none"></rect>`),u+='<path d="';for(let c=0;c<this._polylines.length;c++){u+="M";for(let f=0;f<this._polylines[c].length;f++){let[d,h]=this._polylines[c][f];u+=Nl(r+d*o)+" "+Nl(i+h*a)+" "}}return u+='"/>',u+="</svg>",u}pdf(e){var t;e||(e={});let[n,r,i,o]=this.resolveScale(e),a=Nl(this._tree.bbox.w*i+n*2),s=Nl(this._tree.bbox.h*o+r*2),l=`%PDF-1.1
|
||
%%¥±ë
|
||
1 0 obj
|
||
<< /Type /Catalog
|
||
/Pages 2 0 R
|
||
>>endobj
|
||
2 0 obj
|
||
<< /Type /Pages
|
||
/Kids [3 0 R]
|
||
/Count 1
|
||
/MediaBox [0 0 ${a} ${s}]
|
||
>>
|
||
endobj
|
||
3 0 obj
|
||
<< /Type /Page
|
||
/Parent 2 0 R
|
||
/Resources
|
||
<< /Font
|
||
<< /F1
|
||
<< /Type /Font
|
||
/Subtype /Type1
|
||
/BaseFont /Times-Roman
|
||
>>
|
||
>>
|
||
>>
|
||
/Contents [`,u="",c=4;for(let p=0;p<this._polylines.length;p++){u+=`${c} 0 obj
|
||
<< /Length 0 >>
|
||
stream
|
||
1 j 1 J ${(t=e.STROKE_W)!=null?t:1} w
|
||
`;for(var f=0;f<this._polylines[p].length;f++){var[d,h]=this._polylines[p][f];u+=`${Nl(n+d*i)} ${Nl(s-(r+h*o))} ${f?"l":"m"} `}u+=`
|
||
S
|
||
endstream
|
||
endobj
|
||
`,l+=`${c} 0 R `,c++}return l+=`]
|
||
>>
|
||
endobj
|
||
`,u+=`
|
||
trailer
|
||
<< /Root 1 0 R
|
||
/Size 0
|
||
>>startxref
|
||
|
||
%%EOF
|
||
`,l+u}boxes(e){e||(e={});let[t,n,r,i]=this.resolveScale(e),o=[];for(let a=0;a<this._tree.chld.length;a++){let{x:s,y:l,w:u,h:c}=this._tree.chld[a].bbox;o.push({x:t+s*r,y:n+l*i,w:u*r,h:c*i})}return o}box(e){e||(e={});let[t,n,r,i]=this.resolveScale(e);return{x:t+this._tree.bbox.x*r,y:n+this._tree.bbox.y*i,w:this._tree.bbox.w*r,h:this._tree.bbox.h*i}}};ka.SUB_SUP_SCALE=.5;const ZEe=[{label:"高斯公式",latex:"\\int\\int\\int _ { \\Omega } \\left( \\frac { \\partial {P} } { \\partial {x} } + \\frac { \\partial {Q} } { \\partial {y} } + \\frac { \\partial {R} }{ \\partial {z} } \\right) \\mathrm { d } V = \\oint _ { \\partial \\Omega } ( P \\cos \\alpha + Q \\cos \\beta + R \\cos \\gamma ) \\mathrm{ d} S"},{label:"傅里叶级数",latex:"f(x) = \\frac {a_0} 2 + \\sum_{n = 1}^\\infty {({a_n}\\cos {nx} + {b_n}\\sin {nx})}"},{label:"泰勒展开式",latex:"e ^ { x } = 1 + \\frac { x } { 1 ! } + \\frac { x ^ { 2 } } { 2 ! } + \\frac { x ^ { 3 } } { 3 ! } + ... , \\quad - \\infty < x < \\infty"},{label:"定积分",latex:"\\lim_ { n \\rightarrow + \\infty } \\sum _ { i = 1 } ^ { n } f \\left[ a + \\frac { i } { n } ( b - a ) \\right] \\frac { b - a } { n } = \\int _ { a } ^ { b } f ( x ) dx"},{label:"三角恒等式1",latex:"\\sin \\alpha \\pm \\sin \\beta = 2 \\sin \\frac { 1 } { 2 } ( \\alpha \\pm \\beta ) \\cos \\frac { 1 } { 2 } ( \\alpha \\mp \\beta )"},{label:"三角恒等式2",latex:"\\cos \\alpha + \\cos \\beta = 2 \\cos \\frac { 1 } { 2 } ( \\alpha + \\beta ) \\cos \\frac { 1 } { 2 } ( \\alpha - \\beta )"},{label:"和的展开式",latex:"( 1 + x ) ^ { n } = 1 + \\frac { n x } { 1 ! } + \\frac { n ( n - 1 ) x ^ { 2 } } { 2 ! } + ..."},{label:"欧拉公式",latex:" e^{ix} = \\cos {x} + i\\sin {x}"},{label:"贝努利方程",latex:"\\frac {dy} {dx} + P(x)y = Q(x) y^n ({n} \\not= {0,1})"},{label:"全微分方程",latex:"du(x,y) = P(x,y)dx + Q(x,y)dy = 0"},{label:"非齐次方程",latex:"y = (\\int Q(x) e^{\\int {P(x)dx}}dx + C)e^{-\\int {P(x)dx}}"},{label:"柯西中值定理",latex:"\\frac{{f(b) - f(a)}}{{F(b) - F(a)}} = \\frac{{f'(\\xi )}}{{F'(\\xi )}}"},{label:"拉格朗日中值定理",latex:"f(b) - f(a) = f'(\\xi )(b - a)"},{label:"导数公式",latex:"(\\arcsin x)' = \\frac{1}{{\\sqrt {1 - x^2} }}"},{label:"三角函数积分",latex:"\\int {tgxdx = - \\ln \\left| {\\cos x} \\right| + C}"},{label:"二次曲面",latex:"\\frac{{{x^2}}}{{{a^2}}} + \\frac{{{y^2}}}{{{b^2}}} - \\frac{{{z^2}}}{{{c^2}}} = 1"},{label:"二阶微分",latex:"\\frac {{d^2}y} {dx^2} + P(x) \\frac {dy} {dx} + Q(x)y = f(x)"},{label:"方向导数",latex:"\\frac{{\\partial f}}{{\\partial l}} = \\frac{{\\partial f}}{{\\partial x}}\\cos \\phi + \\frac{{\\partial f}}{{\\partial y}}\\sin \\phi"}],r8=[{type:"operators",label:"数学",children:[{latex:"\\cdot"},{latex:"\\pm"},{latex:"\\mp"},{latex:"+"},{latex:"-"},{latex:"\\times"},{latex:"\\div"},{latex:"<"},{latex:">"},{latex:"="},{latex:"\\neq\\ne"},{latex:"\\leqq"},{latex:"\\geqq"},{latex:"\\leq"},{latex:"\\geq"},{latex:"\\propto"},{latex:"\\sim"},{latex:"\\equiv"},{latex:"\\dagger"},{latex:"\\ddagger"},{latex:"\\ell"},{latex:"\\#"},{latex:"\\$"},{latex:"\\&"},{latex:"\\%"},{latex:"\\langle\\rangle"},{latex:"()"},{latex:"[]"},{latex:"\\{\\}"},{latex:"||"},{latex:"\\|"},{latex:"\\exists"},{latex:"\\in"},{latex:"\\subset"},{latex:"\\supset"},{latex:"\\cup"},{latex:"\\cap"},{latex:"\\infty"},{latex:"\\partial"},{latex:"\\nabla"},{latex:"\\aleph"},{latex:"\\wp"},{latex:"\\therefore"},{latex:"\\mid"},{latex:"\\sum"},{latex:"\\prod"},{latex:"\\bigoplus"},{latex:"\\bigodot"},{latex:"\\int"},{latex:"\\oint"},{latex:"\\oplus"},{latex:"\\odot"},{latex:"\\perp"},{latex:"\\angle"},{latex:"\\triangle"},{latex:"\\Box"},{latex:"\\rightarrow"},{latex:"\\to"},{latex:"\\leftarrow"},{latex:"\\gets"},{latex:"\\circ"},{latex:"\\bigcirc"},{latex:"\\bullet"},{latex:"\\star"},{latex:"\\diamond"},{latex:"\\ast"},{latex:","},{latex:"."},{latex:";"},{latex:"!"}]},{type:"group",label:"组合",children:[{latex:"\\frac{a}{b}"},{latex:"\\frac{dx}{dx}"},{latex:"\\frac{\\partial a}{\\partial b}"},{latex:"\\sqrt{x}"},{latex:"\\sqrt[n]{x}"},{latex:"x^{n}"},{latex:"x_{n}"},{latex:"x_a^b"},{latex:"\\int_{a}^{b}"},{latex:"\\oint_a^b"},{latex:"\\lim_{a \\rightarrow b}"},{latex:"\\prod_a^b"},{latex:"\\sum_a^b"},{latex:"\\left(\\begin{array}a \\\\ b\\end{array}\\right)"},{latex:"\\begin{bmatrix}a & b \\\\ c & d \\end{bmatrix}"},{latex:"\\begin{cases}a & x = 0 \\\\ b & x > 0\\end{cases}"},{latex:"\\hat{a}"},{latex:"\\breve{a}"},{latex:"\\acute{a}"},{latex:"\\grave{a}"},{latex:"\\tilde{a}"},{latex:"\\bar{a}"},{latex:"\\vec{a}"},{latex:"\\underline{a}"},{latex:"\\overline{a}"},{latex:"\\widehat{ab}"},{latex:"\\overleftarrow{ab}"},{latex:"\\overrightarrow{ab}"}]},{type:"verbatim",label:"函数",children:[{latex:"\\log"},{latex:"\\ln"},{latex:"\\exp"},{latex:"\\mod"},{latex:"\\lim"},{latex:"\\sin"},{latex:"\\cos"},{latex:"\\tan"},{latex:"\\csc"},{latex:"\\sec"},{latex:"\\cot"},{latex:"\\sinh"},{latex:"\\cosh"},{latex:"\\tanh"},{latex:"\\csch"},{latex:"\\sech"},{latex:"\\coth"},{latex:"\\arcsin"},{latex:"\\arccos"},{latex:"\\arctan"},{latex:"\\arccsc"},{latex:"\\arcsec"},{latex:"\\arccot"}]},{type:"greek",label:"希腊字母",children:[{latex:"\\alpha"},{latex:"\\beta"},{latex:"\\gamma"},{latex:"\\delta"},{latex:"\\varepsilon"},{latex:"\\zeta"},{latex:"\\eta"},{latex:"\\vartheta"},{latex:"\\iota"},{latex:"\\kappa"},{latex:"\\lambda"},{latex:"\\mu"},{latex:"\\nu"},{latex:"\\xi"},{latex:"\\omicron"},{latex:"\\pi"},{latex:"\\rho"},{latex:"\\sigma"},{latex:"\\tau"},{latex:"\\upsilon"},{latex:"\\varphi"},{latex:"\\chi"},{latex:"\\psi"},{latex:"\\omega"},{latex:"\\epsilon"},{latex:"\\theta"},{latex:"\\phi"},{latex:"\\varsigma"},{latex:"\\Alpha"},{latex:"\\Beta"},{latex:"\\Gamma"},{latex:"\\Delta"},{latex:"\\Epsilon"},{latex:"\\Zeta"},{latex:"\\Eta"},{latex:"\\Theta"},{latex:"\\Iota"},{latex:"\\Kappa"},{latex:"\\Lambda"},{latex:"\\Mu"},{latex:"\\Nu"},{latex:"\\Xi"},{latex:"\\Omicron"},{latex:"\\Pi"},{latex:"\\Rho"},{latex:"\\Sigma"},{latex:"\\Tau"},{latex:"\\Upsilon"},{latex:"\\Phi"},{latex:"\\Chi"},{latex:"\\Psi"},{latex:"\\Omega"}]}],QEe=["width","height"],HEe=["transform"],KEe=["d"],GEe=Xe({__name:"FormulaContent",props:{latex:{},width:{},height:{}},setup(e){const t=e,n=pe({x:0,y:0,w:0,h:0}),r=pe("");_t(()=>t.latex,()=>{const o=new UP(t.latex);r.value=o.pathd({}),n.value=o.box({})},{immediate:!0});const i=Se(()=>{const o=n.value.w+32,a=n.value.h+32;return o>t.width||a>t.height?o/a>t.width/t.height?t.width/o:t.height/a:1});return(o,a)=>(U(),te("svg",{class:"formula-content",overflow:"visible",width:n.value.w+32,height:n.value.h+32,stroke:"#000","stroke-width":"1",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[D("g",{transform:`scale(${i.value}, ${i.value}) translate(0,0) matrix(1,0,0,1,0,0)`,"transform-origin":"0 50%"},[D("path",{d:r.value},null,8,KEe)],8,HEe)],8,QEe))}}),ZU=Be(GEe,[["__scopeId","data-v-fa1b116d"]]),zEe=["innerHTML"],JEe=Xe({__name:"SymbolContent",props:{latex:{}},setup(e){const t=e,n=Se(()=>new UP(t.latex).svg({SCALE_X:10,SCALE_Y:10}));return(r,i)=>(U(),te("div",{class:"symbol-content",innerHTML:n.value},null,8,zEe))}}),$Ee=["disabled","value","rows","placeholder"],jEe=Xe({__name:"TextArea",props:{value:{},rows:{default:4},padding:{},disabled:{type:Boolean,default:!1},resizable:{type:Boolean,default:!1},placeholder:{default:""}},emits:["update:value","focus","blur","enter"],setup(e,{expose:t,emit:n}){const r=n,i=s=>{r("update:value",s.target.value)},o=pe();return t({focus:()=>{o.value&&o.value.focus()}}),(s,l)=>(U(),te("textarea",{class:ze(["textarea",{disabled:s.disabled,resizable:s.resizable}]),ref_key:"textareaRef",ref:o,disabled:s.disabled,value:s.value,rows:s.rows,placeholder:s.placeholder,style:Le({padding:s.padding?`${s.padding}px`:"10px"}),onInput:l[0]||(l[0]=u=>i(u)),onFocus:l[1]||(l[1]=u=>r("focus",u)),onBlur:l[2]||(l[2]=u=>r("blur",u)),onKeydown:l[3]||(l[3]=du(u=>r("enter",u),["enter"]))},null,46,$Ee))}}),M_=Be(jEe,[["__scopeId","data-v-96f315e1"]]),qEe={class:"latex-editor"},eXe={class:"container"},tXe={class:"left"},nXe={class:"input-area"},rXe={class:"preview"},iXe={key:0,class:"placeholder"},oXe={key:1,class:"preview-content"},aXe={class:"right"},sXe={class:"content"},lXe={key:0,class:"symbol"},uXe={class:"symbol-pool"},cXe=["onClick"],fXe={key:1,class:"formula"},dXe={class:"formula-title"},hXe=["onClick"],pXe={class:"footer"},vXe=Xe({__name:"index",props:{value:{default:""}},emits:["update","close"],setup(e,{emit:t}){const n=[{label:"常用符号",key:"symbol"},{label:"预置公式",key:"formula"}],r=e,i=t,o=ZEe,a=r8.map(p=>({label:p.label,key:p.type})),s=pe(""),l=pe("symbol"),u=pe(),c=pe(r8[0].type),f=Se(()=>{const p=r8.find(v=>v.type===c.value);return(p==null?void 0:p.children)||[]});Ht(()=>{r.value&&(s.value=r.value)});const d=()=>{if(!s.value)return gn.error("公式不能为空");const p=new UP(s.value),v=p.pathd({}),g=p.box({});i("update",{latex:s.value,path:v,w:g.w+32,h:g.h+32})},h=p=>{u.value&&(u.value.focus(),document.execCommand("insertText",!1,p))};return(p,v)=>(U(),te("div",qEe,[D("div",eXe,[D("div",tXe,[D("div",nXe,[O(M_,{value:s.value,"onUpdate:value":v[0]||(v[0]=g=>s.value=g),placeholder:"输入 LaTeX 公式",ref_key:"textAreaRef",ref:u},null,8,["value"])]),D("div",rXe,[s.value?(U(),te("div",oXe,[O(ZU,{width:518,height:138,latex:s.value},null,8,["latex"])])):(U(),te("div",iXe,"公式预览"))])]),D("div",aXe,[O(hl,{tabs:n,value:l.value,"onUpdate:value":v[1]||(v[1]=g=>l.value=g),card:""},null,8,["value"]),D("div",sXe,[l.value==="symbol"?(U(),te("div",lXe,[O(hl,{tabs:z(a),value:c.value,"onUpdate:value":v[2]||(v[2]=g=>c.value=g),spaceBetween:"",tabsStyle:{margin:"10px 10px 0"}},null,8,["tabs","value"]),D("div",uXe,[(U(!0),te(We,null,nt(f.value,g=>(U(),te("div",{class:"symbol-item",key:g.latex,onClick:m=>h(g.latex)},[O(JEe,{latex:g.latex},null,8,["latex"])],8,cXe))),128))])])):(U(),te("div",fXe,[(U(!0),te(We,null,nt(z(o),g=>(U(),te("div",{class:"formula-item",key:g.label},[D("div",dXe,pt(g.label),1),D("div",{class:"formula-item-content",onClick:m=>s.value=g.latex},[O(ZU,{width:236,height:60,latex:g.latex},null,8,["latex"])],8,hXe)]))),128))]))])])]),D("div",pXe,[O(et,{class:"btn",onClick:v[3]||(v[3]=g=>i("close"))},{default:ie(()=>[Ue("取消")]),_:1}),O(et,{class:"btn",type:"primary",onClick:v[4]||(v[4]=g=>d())},{default:ie(()=>[Ue("确定")]),_:1})])]))}}),Vee=Be(vXe,[["__scopeId","data-v-fc449335"]]),gXe={class:"canvas-tool"},mXe={class:"left-handler"},yXe={class:"more"},AXe={class:"add-element-handler"},RXe={class:"handler-item group-btn"},bXe={class:"handler-item group-btn",offset:10},xXe={class:"right-handler"},SXe={class:"text"},wXe=Xe({__name:"index",setup(e){const t=ht(),{creatingElement:n,creatingCustomShape:r,showSelectPanel:i,showSearchPanel:o,showNotesPanel:a}=De(t),{canUndo:s,canRedo:l}=De(JS()),{redo:u,undo:c}=nn(),{scaleCanvas:f,setCanvasScalePercentage:d,resetCanvas:h,canvasScalePercentage:p}=$O(),v=[200,150,125,100,75,50],g=pe(!1),m=q=>{d(q),g.value=!1},{createImageElement:y,createChartElement:R,createTableElement:A,createLatexElement:x,createVideoElement:S,createAudioElement:_}=c0(),M=q=>{const j=q[0];j&&sd(j).then(de=>y(de))},w=pe(!1),L=pe(!1),k=pe(!1),P=pe(!1),F=pe(!1),C=pe(!1),N=pe(!1),I=pe(!1),V=pe(!1),W=(q=!1)=>{t.setCreatingElement({type:"text",vertical:q})},Z=q=>{t.setCreatingElement({type:"shape",data:q}),w.value=!1},re=()=>{t.setCreatingCustomShapeState(!0),w.value=!1},Y=q=>{t.setCreatingElement({type:"line",data:q}),L.value=!1},B=()=>{t.setSelectPanelState(!i.value)},Q=()=>{t.setSearchPanelState(!o.value)},K=()=>{t.setNotesPanelState(!a.value)};return(q,j)=>{var we;const de=xe("IconBack"),G=xe("IconNext"),Ae=xe("IconMore"),ce=xe("IconComment"),fe=xe("IconMoveOne"),le=xe("IconSearch"),$=xe("IconFontSize"),X=xe("IconTextRotationNone"),J=xe("IconTextRotationDown"),se=xe("IconDown"),ee=xe("IconGraphicDesign"),ne=xe("IconPicture"),oe=xe("IconConnection"),he=xe("IconChartProportion"),ue=xe("IconInsertTable"),ge=xe("IconFormula"),Re=xe("IconVideoTwo"),Ee=xe("IconMinus"),Ne=xe("IconPlus"),He=xe("IconFullScreen"),Ve=Pn("tooltip");return U(),te("div",gXe,[D("div",mXe,[Ge(O(de,{class:ze(["handler-item",{disable:!z(s)}]),onClick:j[0]||(j[0]=me=>z(c)())},null,8,["class"]),[[Ve,"撤销(Ctrl + Z)"]]),Ge(O(G,{class:ze(["handler-item",{disable:!z(l)}]),onClick:j[1]||(j[1]=me=>z(u)())},null,8,["class"]),[[Ve,"重做(Ctrl + Y)"]]),D("div",yXe,[O(Zt,{type:"vertical",style:{height:"20px"}}),O(Nt,{class:"more-icon",trigger:"click",value:V.value,"onUpdate:value":j[5]||(j[5]=me=>V.value=me),offset:10},{content:ie(()=>[O(Yr,{center:"",onClick:j[2]||(j[2]=me=>{K(),V.value=!1})},{default:ie(()=>[Ue("批注面板")]),_:1}),O(Yr,{center:"",onClick:j[3]||(j[3]=me=>{B(),V.value=!1})},{default:ie(()=>[Ue("选择窗格")]),_:1}),O(Yr,{center:"",onClick:j[4]||(j[4]=me=>{Q(),V.value=!1})},{default:ie(()=>[Ue("查找替换")]),_:1})]),default:ie(()=>[O(Ae,{class:"handler-item"})]),_:1},8,["value"]),Ge(O(ce,{class:ze(["handler-item",{active:z(a)}]),onClick:j[6]||(j[6]=me=>K())},null,8,["class"]),[[Ve,"批注面板"]]),Ge(O(fe,{class:ze(["handler-item",{active:z(i)}]),onClick:j[7]||(j[7]=me=>B())},null,8,["class"]),[[Ve,"选择窗格"]]),Ge(O(le,{class:ze(["handler-item",{active:z(o)}]),onClick:j[8]||(j[8]=me=>Q())},null,8,["class"]),[[Ve,"查找/替换(Ctrl + F)"]])])]),D("div",AXe,[Ge((U(),te("div",RXe,[O($,{class:ze(["icon",{active:((we=z(n))==null?void 0:we.type)==="text"}]),onClick:j[9]||(j[9]=me=>W())},null,8,["class"]),O(Nt,{trigger:"click",value:N.value,"onUpdate:value":j[12]||(j[12]=me=>N.value=me),style:{height:"100%"},offset:10},{content:ie(()=>[O(Yr,{center:"",onClick:j[10]||(j[10]=()=>{W(),N.value=!1})},{default:ie(()=>[O(X),Ue(" 横向文本框")]),_:1}),O(Yr,{center:"",onClick:j[11]||(j[11]=()=>{W(!0),N.value=!1})},{default:ie(()=>[O(J),Ue(" 竖向文本框")]),_:1})]),default:ie(()=>[O(se,{class:"arrow"})]),_:1},8,["value"])])),[[Ve,"插入文字"]]),Ge((U(),te("div",bXe,[O(Nt,{trigger:"click",style:{height:"100%"},value:w.value,"onUpdate:value":j[14]||(j[14]=me=>w.value=me),offset:10},{content:ie(()=>[O(GFe,{onSelect:j[13]||(j[13]=me=>Z(me))})]),default:ie(()=>{var me;return[O(ee,{class:ze(["icon",{active:z(r)||((me=z(n))==null?void 0:me.type)==="shape"}])},null,8,["class"])]}),_:1},8,["value"]),O(Nt,{trigger:"click",value:I.value,"onUpdate:value":j[16]||(j[16]=me=>I.value=me),style:{height:"100%"},offset:10},{content:ie(()=>[O(Yr,{center:"",onClick:j[15]||(j[15]=()=>{re(),I.value=!1})},{default:ie(()=>[Ue("自由绘制")]),_:1})]),default:ie(()=>[O(se,{class:"arrow"})]),_:1},8,["value"])])),[[Ve,"插入形状"]]),O($h,{onChange:j[17]||(j[17]=me=>M(me))},{default:ie(()=>[Ge(O(ne,{class:"handler-item"},null,512),[[Ve,"插入图片"]])]),_:1}),O(Nt,{trigger:"click",value:L.value,"onUpdate:value":j[19]||(j[19]=me=>L.value=me),offset:10},{content:ie(()=>[O(rEe,{onSelect:j[18]||(j[18]=me=>Y(me))})]),default:ie(()=>{var me;return[Ge(O(oe,{class:ze(["handler-item",{active:((me=z(n))==null?void 0:me.type)==="line"}])},null,8,["class"]),[[Ve,"插入线条"]])]}),_:1},8,["value"]),O(Nt,{trigger:"click",value:k.value,"onUpdate:value":j[21]||(j[21]=me=>k.value=me),offset:10},{content:ie(()=>[O(lEe,{onSelect:j[20]||(j[20]=me=>{z(R)(me),k.value=!1})})]),default:ie(()=>[Ge(O(he,{class:"handler-item"},null,512),[[Ve,"插入图表"]])]),_:1},8,["value"]),O(Nt,{trigger:"click",value:P.value,"onUpdate:value":j[24]||(j[24]=me=>P.value=me),offset:10},{content:ie(()=>[O(kEe,{onClose:j[22]||(j[22]=me=>P.value=!1),onInsert:j[23]||(j[23]=({row:me,col:Me})=>{z(A)(me,Me),P.value=!1})})]),default:ie(()=>[Ge(O(ue,{class:"handler-item"},null,512),[[Ve,"插入表格"]])]),_:1},8,["value"]),Ge(O(ge,{class:"handler-item",onClick:j[25]||(j[25]=me=>C.value=!0)},null,512),[[Ve,"插入公式"]]),O(Nt,{trigger:"click",value:F.value,"onUpdate:value":j[29]||(j[29]=me=>F.value=me),offset:10},{content:ie(()=>[O(FEe,{onClose:j[26]||(j[26]=me=>F.value=!1),onInsertVideo:j[27]||(j[27]=me=>{z(S)(me),F.value=!1}),onInsertAudio:j[28]||(j[28]=me=>{z(_)(me),F.value=!1})})]),default:ie(()=>[Ge(O(Re,{class:"handler-item"},null,512),[[Ve,"插入音视频"]])]),_:1},8,["value"])]),D("div",xXe,[Ge(O(Ee,{class:"handler-item viewport-size",onClick:j[30]||(j[30]=me=>z(f)("-"))},null,512),[[Ve,"画布缩小(Ctrl + -)"]]),O(Nt,{trigger:"click",value:g.value,"onUpdate:value":j[32]||(j[32]=me=>g.value=me)},{content:ie(()=>[(U(),te(We,null,nt(v,me=>O(Yr,{center:"",key:me,onClick:Me=>m(me)},{default:ie(()=>[Ue(pt(me)+"%",1)]),_:2},1032,["onClick"])),64)),O(Yr,{center:"",onClick:j[31]||(j[31]=me=>z(h)())},{default:ie(()=>[Ue("适应屏幕")]),_:1})]),default:ie(()=>[D("span",SXe,pt(z(p)),1)]),_:1},8,["value"]),Ge(O(Ne,{class:"handler-item viewport-size",onClick:j[33]||(j[33]=me=>z(f)("+"))},null,512),[[Ve,"画布放大(Ctrl + =)"]]),Ge(O(He,{class:"handler-item viewport-size-adaptation",onClick:j[34]||(j[34]=me=>z(h)())},null,512),[[Ve,"适应屏幕(Ctrl + 0)"]])]),O(n0,{visible:C.value,"onUpdate:visible":j[37]||(j[37]=me=>C.value=me),width:880},{default:ie(()=>[O(Vee,{onClose:j[35]||(j[35]=me=>C.value=!1),onUpdate:j[36]||(j[36]=me=>{z(x)(me),C.value=!1})})]),_:1},8,["visible"])])}}}),MXe=Be(wXe,[["__scopeId","data-v-5a02ef27"]]),LXe=()=>{const e=lt(),{slides:t}=De(e),{addHistorySnapshot:n}=nn(),{deleteSlide:r}=gc();return{createSection:()=>{e.updateSlide({sectionTag:{id:on(6)}}),n()},removeSection:u=>{if(!u)return;const c=t.value.find(f=>{var d;return((d=f.sectionTag)==null?void 0:d.id)===u});e.removeSlideProps({id:c.id,propName:"sectionTag"}),n()},removeAllSection:()=>{const u=t.value.map(c=>(c.sectionTag&&delete c.sectionTag,c));e.setSlides(u),n()},removeSectionSlides:u=>{let c=0;u&&(c=t.value.findIndex(d=>{var h;return((h=d.sectionTag)==null?void 0:h.id)===u}));const f=[];for(let d=c;d<t.value.length;d++){const h=t.value[d];if(d!==c&&h.sectionTag)break;f.push(h.id)}r(f)},updateSectionTitle:(u,c)=>{if(c){if(u==="default")e.updateSlide({sectionTag:{id:on(6),title:c}},t.value[0].id);else{const f=t.value.find(d=>{var h;return((h=d.sectionTag)==null?void 0:h.id)===u});if(!f)return;e.updateSlide({sectionTag:{...f.sectionTag,title:c}},f.id)}n()}}}},py=()=>{const{slides:e}=De(lt()),t=pe(null),n=pe(50),r=()=>{e.value.length>n.value?t.value=setTimeout(()=>{n.value=n.value+20,r()},600):n.value=9999};return Ht(r),Fn(()=>{t.value&&clearTimeout(t.value)}),{slidesLoadLimit:n}},TXe=e=>(en("data-v-5a791b40"),e=e(),tn(),e),_Xe={class:"layout-pool"},OXe=TXe(()=>D("div",{class:"header"},"页面模板",-1)),kXe={class:"list"},PXe={class:"btns"},CXe=Xe({__name:"LayoutPool",emits:["select"],setup(e,{emit:t}){const n=t,r=lt(),{layouts:i}=De(r),o=a=>{n("select",a)};return(a,s)=>(U(),te("div",_Xe,[OXe,D("div",kXe,[(U(!0),te(We,null,nt(z(i),l=>(U(),te("div",{class:"layout-item",key:l.id},[O(dl,{class:"thumbnail",slide:l,size:180},null,8,["slide"]),D("div",PXe,[O(et,{class:"btn",type:"primary",size:"small",onClick:u=>o(l)},{default:ie(()=>[Ue("插入模板")]),_:2},1032,["onClick"])])]))),128))])]))}}),IXe=Be(CXe,[["__scopeId","data-v-5a791b40"]]);var Dee={exports:{}};const NXe=wO(Mde);/**!
|
||
* Sortable 1.14.0
|
||
* @author RubaXa <trash@rubaxa.org>
|
||
* @author owenm <owen23355@gmail.com>
|
||
* @license MIT
|
||
*/function QU(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function mu(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?QU(Object(n),!0).forEach(function(r){FXe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):QU(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Nb(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Nb=function(t){return typeof t}:Nb=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Nb(e)}function FXe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ps(){return Ps=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ps.apply(this,arguments)}function EXe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function XXe(e,t){if(e==null)return{};var n=EXe(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function WXe(e){return VXe(e)||DXe(e)||UXe(e)||BXe()}function VXe(e){if(Array.isArray(e))return L_(e)}function DXe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function UXe(e,t){if(e){if(typeof e=="string")return L_(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return L_(e,t)}}function L_(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function BXe(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var YXe="1.14.0";function sc(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var bc=sc(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),vy=sc(/Edge/i),HU=sc(/firefox/i),_m=sc(/safari/i)&&!sc(/chrome/i)&&!sc(/android/i),Uee=sc(/iP(ad|od|hone)/i),ZXe=sc(/chrome/i)&&sc(/android/i),Bee={capture:!1,passive:!1};function On(e,t,n){e.addEventListener(t,n,!bc&&Bee)}function Sn(e,t,n){e.removeEventListener(t,n,!bc&&Bee)}function yS(e,t){if(t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function QXe(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function nl(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&yS(e,t):yS(e,t))||r&&e===n)return e;if(e===n)break}while(e=QXe(e))}return null}var KU=/\s+/g;function Er(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(KU," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(KU," ")}}function Pt(e,t,n){var r=e&&e.style;if(r){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),t===void 0?n:n[t];!(t in r)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),r[t]=n+(typeof n=="string"?"":"px")}}function Wh(e,t){var n="";if(typeof e=="string")n=e;else do{var r=Pt(e,"transform");r&&r!=="none"&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function Yee(e,t,n){if(e){var r=e.getElementsByTagName(t),i=0,o=r.length;if(n)for(;i<o;i++)n(r[i],i);return r}return[]}function uu(){var e=document.scrollingElement;return e||document.documentElement}function kr(e,t,n,r,i){if(!(!e.getBoundingClientRect&&e!==window)){var o,a,s,l,u,c,f;if(e!==window&&e.parentNode&&e!==uu()?(o=e.getBoundingClientRect(),a=o.top,s=o.left,l=o.bottom,u=o.right,c=o.height,f=o.width):(a=0,s=0,l=window.innerHeight,u=window.innerWidth,c=window.innerHeight,f=window.innerWidth),(t||n)&&e!==window&&(i=i||e.parentNode,!bc))do if(i&&i.getBoundingClientRect&&(Pt(i,"transform")!=="none"||n&&Pt(i,"position")!=="static")){var d=i.getBoundingClientRect();a-=d.top+parseInt(Pt(i,"border-top-width")),s-=d.left+parseInt(Pt(i,"border-left-width")),l=a+o.height,u=s+o.width;break}while(i=i.parentNode);if(r&&e!==window){var h=Wh(i||e),p=h&&h.a,v=h&&h.d;h&&(a/=v,s/=p,f/=p,c/=v,l=a+c,u=s+f)}return{top:a,left:s,bottom:l,right:u,width:f,height:c}}}function GU(e,t,n){for(var r=_f(e,!0),i=kr(e)[t];r;){var o=kr(r)[n],a=void 0;if(a=i>=o,!a)return r;if(r===uu())break;r=_f(r,!1)}return!1}function Iv(e,t,n,r){for(var i=0,o=0,a=e.children;o<a.length;){if(a[o].style.display!=="none"&&a[o]!==Kt.ghost&&(r||a[o]!==Kt.dragged)&&nl(a[o],n.draggable,e,!1)){if(i===t)return a[o];i++}o++}return null}function BP(e,t){for(var n=e.lastElementChild;n&&(n===Kt.ghost||Pt(n,"display")==="none"||t&&!yS(n,t));)n=n.previousElementSibling;return n||null}function Hr(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Kt.clone&&(!t||yS(e,t))&&n++;return n}function zU(e){var t=0,n=0,r=uu();if(e)do{var i=Wh(e),o=i.a,a=i.d;t+=e.scrollLeft*o,n+=e.scrollTop*a}while(e!==r&&(e=e.parentNode));return[t,n]}function HXe(e,t){for(var n in e)if(e.hasOwnProperty(n)){for(var r in t)if(t.hasOwnProperty(r)&&t[r]===e[n][r])return Number(n)}return-1}function _f(e,t){if(!e||!e.getBoundingClientRect)return uu();var n=e,r=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=Pt(n);if(n.clientWidth<n.scrollWidth&&(i.overflowX=="auto"||i.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(i.overflowY=="auto"||i.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return uu();if(r||t)return n;r=!0}}while(n=n.parentNode);return uu()}function KXe(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function i8(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}var Om;function Zee(e,t){return function(){if(!Om){var n=arguments,r=this;n.length===1?e.call(r,n[0]):e.apply(r,n),Om=setTimeout(function(){Om=void 0},t)}}}function GXe(){clearTimeout(Om),Om=void 0}function Qee(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function YP(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function JU(e,t){Pt(e,"position","absolute"),Pt(e,"top",t.top),Pt(e,"left",t.left),Pt(e,"width",t.width),Pt(e,"height",t.height)}function o8(e){Pt(e,"position",""),Pt(e,"top",""),Pt(e,"left",""),Pt(e,"width",""),Pt(e,"height","")}var co="Sortable"+new Date().getTime();function zXe(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var r=[].slice.call(this.el.children);r.forEach(function(i){if(!(Pt(i,"display")==="none"||i===Kt.ghost)){e.push({target:i,rect:kr(i)});var o=mu({},e[e.length-1].rect);if(i.thisAnimationDuration){var a=Wh(i,!0);a&&(o.top-=a.f,o.left-=a.e)}i.fromRect=o}})}},addAnimationState:function(r){e.push(r)},removeAnimationState:function(r){e.splice(HXe(e,{target:r}),1)},animateAll:function(r){var i=this;if(!this.options.animation){clearTimeout(t),typeof r=="function"&&r();return}var o=!1,a=0;e.forEach(function(s){var l=0,u=s.target,c=u.fromRect,f=kr(u),d=u.prevFromRect,h=u.prevToRect,p=s.rect,v=Wh(u,!0);v&&(f.top-=v.f,f.left-=v.e),u.toRect=f,u.thisAnimationDuration&&i8(d,f)&&!i8(c,f)&&(p.top-f.top)/(p.left-f.left)===(c.top-f.top)/(c.left-f.left)&&(l=$Xe(p,d,h,i.options)),i8(f,c)||(u.prevFromRect=c,u.prevToRect=f,l||(l=i.options.animation),i.animate(u,p,f,l)),l&&(o=!0,a=Math.max(a,l),clearTimeout(u.animationResetTimer),u.animationResetTimer=setTimeout(function(){u.animationTime=0,u.prevFromRect=null,u.fromRect=null,u.prevToRect=null,u.thisAnimationDuration=null},l),u.thisAnimationDuration=l)}),clearTimeout(t),o?t=setTimeout(function(){typeof r=="function"&&r()},a):typeof r=="function"&&r(),e=[]},animate:function(r,i,o,a){if(a){Pt(r,"transition",""),Pt(r,"transform","");var s=Wh(this.el),l=s&&s.a,u=s&&s.d,c=(i.left-o.left)/(l||1),f=(i.top-o.top)/(u||1);r.animatingX=!!c,r.animatingY=!!f,Pt(r,"transform","translate3d("+c+"px,"+f+"px,0)"),this.forRepaintDummy=JXe(r),Pt(r,"transition","transform "+a+"ms"+(this.options.easing?" "+this.options.easing:"")),Pt(r,"transform","translate3d(0,0,0)"),typeof r.animated=="number"&&clearTimeout(r.animated),r.animated=setTimeout(function(){Pt(r,"transition",""),Pt(r,"transform",""),r.animated=!1,r.animatingX=!1,r.animatingY=!1},a)}}}}function JXe(e){return e.offsetWidth}function $Xe(e,t,n,r){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*r.animation}var rp=[],a8={initializeByDefault:!0},gy={mount:function(t){for(var n in a8)a8.hasOwnProperty(n)&&!(n in t)&&(t[n]=a8[n]);rp.forEach(function(r){if(r.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),rp.push(t)},pluginEvent:function(t,n,r){var i=this;this.eventCanceled=!1,r.cancel=function(){i.eventCanceled=!0};var o=t+"Global";rp.forEach(function(a){n[a.pluginName]&&(n[a.pluginName][o]&&n[a.pluginName][o](mu({sortable:n},r)),n.options[a.pluginName]&&n[a.pluginName][t]&&n[a.pluginName][t](mu({sortable:n},r)))})},initializePlugins:function(t,n,r,i){rp.forEach(function(s){var l=s.pluginName;if(!(!t.options[l]&&!s.initializeByDefault)){var u=new s(t,n,t.options);u.sortable=t,u.options=t.options,t[l]=u,Ps(r,u.defaults)}});for(var o in t.options)if(t.options.hasOwnProperty(o)){var a=this.modifyOption(t,o,t.options[o]);typeof a<"u"&&(t.options[o]=a)}},getEventProperties:function(t,n){var r={};return rp.forEach(function(i){typeof i.eventProperties=="function"&&Ps(r,i.eventProperties.call(n[i.pluginName],t))}),r},modifyOption:function(t,n,r){var i;return rp.forEach(function(o){t[o.pluginName]&&o.optionListeners&&typeof o.optionListeners[n]=="function"&&(i=o.optionListeners[n].call(t[o.pluginName],r))}),i}};function Ng(e){var t=e.sortable,n=e.rootEl,r=e.name,i=e.targetEl,o=e.cloneEl,a=e.toEl,s=e.fromEl,l=e.oldIndex,u=e.newIndex,c=e.oldDraggableIndex,f=e.newDraggableIndex,d=e.originalEvent,h=e.putSortable,p=e.extraEventProperties;if(t=t||n&&n[co],!!t){var v,g=t.options,m="on"+r.charAt(0).toUpperCase()+r.substr(1);window.CustomEvent&&!bc&&!vy?v=new CustomEvent(r,{bubbles:!0,cancelable:!0}):(v=document.createEvent("Event"),v.initEvent(r,!0,!0)),v.to=a||n,v.from=s||n,v.item=i||n,v.clone=o,v.oldIndex=l,v.newIndex=u,v.oldDraggableIndex=c,v.newDraggableIndex=f,v.originalEvent=d,v.pullMode=h?h.lastPutMode:void 0;var y=mu(mu({},p),gy.getEventProperties(r,t));for(var R in y)v[R]=y[R];n&&n.dispatchEvent(v),g[m]&&g[m].call(t,v)}}var jXe=["evt"],Yo=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=r.evt,o=XXe(r,jXe);gy.pluginEvent.bind(Kt)(t,n,mu({dragEl:mt,parentEl:Ur,ghostEl:hn,rootEl:Tr,nextEl:oh,lastDownEl:Fb,cloneEl:Br,cloneHidden:yf,dragStarted:Fg,putSortable:Xi,activeSortable:Kt.active,originalEvent:i,oldIndex:Fp,oldDraggableIndex:km,newIndex:La,newDraggableIndex:hf,hideGhostForTarget:zee,unhideGhostForTarget:Jee,cloneNowHidden:function(){yf=!0},cloneNowShown:function(){yf=!1},dispatchSortableEvent:function(s){Mo({sortable:n,name:s,originalEvent:i})}},o))};function Mo(e){Ng(mu({putSortable:Xi,cloneEl:Br,targetEl:mt,rootEl:Tr,oldIndex:Fp,oldDraggableIndex:km,newIndex:La,newDraggableIndex:hf},e))}var mt,Ur,hn,Tr,oh,Fb,Br,yf,Fp,La,km,hf,XR,Xi,wp=!1,AS=!1,RS=[],jd,Ys,s8,l8,$U,jU,Fg,ip,Pm,Cm=!1,WR=!1,Eb,to,u8=[],T_=!1,bS=[],n4=typeof document<"u",VR=Uee,qU=vy||bc?"cssFloat":"float",qXe=n4&&!ZXe&&!Uee&&"draggable"in document.createElement("div"),Hee=function(){if(n4){if(bc)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),Kee=function(t,n){var r=Pt(t),i=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),o=Iv(t,0,n),a=Iv(t,1,n),s=o&&Pt(o),l=a&&Pt(a),u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+kr(o).width,c=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+kr(a).width;if(r.display==="flex")return r.flexDirection==="column"||r.flexDirection==="column-reverse"?"vertical":"horizontal";if(r.display==="grid")return r.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(o&&s.float&&s.float!=="none"){var f=s.float==="left"?"left":"right";return a&&(l.clear==="both"||l.clear===f)?"vertical":"horizontal"}return o&&(s.display==="block"||s.display==="flex"||s.display==="table"||s.display==="grid"||u>=i&&r[qU]==="none"||a&&r[qU]==="none"&&u+c>i)?"vertical":"horizontal"},eWe=function(t,n,r){var i=r?t.left:t.top,o=r?t.right:t.bottom,a=r?t.width:t.height,s=r?n.left:n.top,l=r?n.right:n.bottom,u=r?n.width:n.height;return i===s||o===l||i+a/2===s+u/2},tWe=function(t,n){var r;return RS.some(function(i){var o=i[co].options.emptyInsertThreshold;if(!(!o||BP(i))){var a=kr(i),s=t>=a.left-o&&t<=a.right+o,l=n>=a.top-o&&n<=a.bottom+o;if(s&&l)return r=i}}),r},Gee=function(t){function n(o,a){return function(s,l,u,c){var f=s.options.group.name&&l.options.group.name&&s.options.group.name===l.options.group.name;if(o==null&&(a||f))return!0;if(o==null||o===!1)return!1;if(a&&o==="clone")return o;if(typeof o=="function")return n(o(s,l,u,c),a)(s,l,u,c);var d=(a?s:l).options.group.name;return o===!0||typeof o=="string"&&o===d||o.join&&o.indexOf(d)>-1}}var r={},i=t.group;(!i||Nb(i)!="object")&&(i={name:i}),r.name=i.name,r.checkPull=n(i.pull,!0),r.checkPut=n(i.put),r.revertClone=i.revertClone,t.group=r},zee=function(){!Hee&&hn&&Pt(hn,"display","none")},Jee=function(){!Hee&&hn&&Pt(hn,"display","")};n4&&document.addEventListener("click",function(e){if(AS)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),AS=!1,!1},!0);var qd=function(t){if(mt){t=t.touches?t.touches[0]:t;var n=tWe(t.clientX,t.clientY);if(n){var r={};for(var i in t)t.hasOwnProperty(i)&&(r[i]=t[i]);r.target=r.rootEl=n,r.preventDefault=void 0,r.stopPropagation=void 0,n[co]._onDragOver(r)}}},nWe=function(t){mt&&mt.parentNode[co]._isOutsideThisEl(t.target)};function Kt(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=Ps({},t),e[co]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Kee(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(a,s){a.setData("Text",s.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Kt.supportPointer!==!1&&"PointerEvent"in window&&!_m,emptyInsertThreshold:5};gy.initializePlugins(this,e,n);for(var r in n)!(r in t)&&(t[r]=n[r]);Gee(t);for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));this.nativeDraggable=t.forceFallback?!1:qXe,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?On(e,"pointerdown",this._onTapStart):(On(e,"mousedown",this._onTapStart),On(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(On(e,"dragover",this),On(e,"dragenter",this)),RS.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Ps(this,zXe())}Kt.prototype={constructor:Kt,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(ip=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,mt):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,r=this.el,i=this.options,o=i.preventOnFilter,a=t.type,s=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,l=(s||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||l,c=i.filter;if(cWe(r),!mt&&!(/mousedown|pointerdown/.test(a)&&t.button!==0||i.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&_m&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=nl(l,i.draggable,r,!1),!(l&&l.animated)&&Fb!==l)){if(Fp=Hr(l),km=Hr(l,i.draggable),typeof c=="function"){if(c.call(this,t,l,this)){Mo({sortable:n,rootEl:u,name:"filter",targetEl:l,toEl:r,fromEl:r}),Yo("filter",n,{evt:t}),o&&t.cancelable&&t.preventDefault();return}}else if(c&&(c=c.split(",").some(function(f){if(f=nl(u,f.trim(),r,!1),f)return Mo({sortable:n,rootEl:f,name:"filter",targetEl:l,fromEl:r,toEl:r}),Yo("filter",n,{evt:t}),!0}),c)){o&&t.cancelable&&t.preventDefault();return}i.handle&&!nl(u,i.handle,r,!1)||this._prepareDragStart(t,s,l)}}},_prepareDragStart:function(t,n,r){var i=this,o=i.el,a=i.options,s=o.ownerDocument,l;if(r&&!mt&&r.parentNode===o){var u=kr(r);if(Tr=o,mt=r,Ur=mt.parentNode,oh=mt.nextSibling,Fb=r,XR=a.group,Kt.dragged=mt,jd={target:mt,clientX:(n||t).clientX,clientY:(n||t).clientY},$U=jd.clientX-u.left,jU=jd.clientY-u.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,mt.style["will-change"]="all",l=function(){if(Yo("delayEnded",i,{evt:t}),Kt.eventCanceled){i._onDrop();return}i._disableDelayedDragEvents(),!HU&&i.nativeDraggable&&(mt.draggable=!0),i._triggerDragStart(t,n),Mo({sortable:i,name:"choose",originalEvent:t}),Er(mt,a.chosenClass,!0)},a.ignore.split(",").forEach(function(c){Yee(mt,c.trim(),c8)}),On(s,"dragover",qd),On(s,"mousemove",qd),On(s,"touchmove",qd),On(s,"mouseup",i._onDrop),On(s,"touchend",i._onDrop),On(s,"touchcancel",i._onDrop),HU&&this.nativeDraggable&&(this.options.touchStartThreshold=4,mt.draggable=!0),Yo("delayStart",this,{evt:t}),a.delay&&(!a.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(vy||bc))){if(Kt.eventCanceled){this._onDrop();return}On(s,"mouseup",i._disableDelayedDrag),On(s,"touchend",i._disableDelayedDrag),On(s,"touchcancel",i._disableDelayedDrag),On(s,"mousemove",i._delayedDragTouchMoveHandler),On(s,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&On(s,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(l,a.delay)}else l()}},_delayedDragTouchMoveHandler:function(t){var n=t.touches?t.touches[0]:t;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){mt&&c8(mt),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;Sn(t,"mouseup",this._disableDelayedDrag),Sn(t,"touchend",this._disableDelayedDrag),Sn(t,"touchcancel",this._disableDelayedDrag),Sn(t,"mousemove",this._delayedDragTouchMoveHandler),Sn(t,"touchmove",this._delayedDragTouchMoveHandler),Sn(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?On(document,"pointermove",this._onTouchMove):n?On(document,"touchmove",this._onTouchMove):On(document,"mousemove",this._onTouchMove):(On(mt,"dragend",this),On(Tr,"dragstart",this._onDragStart));try{document.selection?Xb(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(wp=!1,Tr&&mt){Yo("dragStarted",this,{evt:n}),this.nativeDraggable&&On(document,"dragover",nWe);var r=this.options;!t&&Er(mt,r.dragClass,!1),Er(mt,r.ghostClass,!0),Kt.active=this,t&&this._appendGhost(),Mo({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(Ys){this._lastX=Ys.clientX,this._lastY=Ys.clientY,zee();for(var t=document.elementFromPoint(Ys.clientX,Ys.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Ys.clientX,Ys.clientY),t!==n);)n=t;if(mt.parentNode[co]._isOutsideThisEl(t),n)do{if(n[co]){var r=void 0;if(r=n[co]._onDragOver({clientX:Ys.clientX,clientY:Ys.clientY,target:t,rootEl:n}),r&&!this.options.dragoverBubble)break}t=n}while(n=n.parentNode);Jee()}},_onTouchMove:function(t){if(jd){var n=this.options,r=n.fallbackTolerance,i=n.fallbackOffset,o=t.touches?t.touches[0]:t,a=hn&&Wh(hn,!0),s=hn&&a&&a.a,l=hn&&a&&a.d,u=VR&&to&&zU(to),c=(o.clientX-jd.clientX+i.x)/(s||1)+(u?u[0]-u8[0]:0)/(s||1),f=(o.clientY-jd.clientY+i.y)/(l||1)+(u?u[1]-u8[1]:0)/(l||1);if(!Kt.active&&!wp){if(r&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<r)return;this._onDragStart(t,!0)}if(hn){a?(a.e+=c-(s8||0),a.f+=f-(l8||0)):a={a:1,b:0,c:0,d:1,e:c,f};var d="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");Pt(hn,"webkitTransform",d),Pt(hn,"mozTransform",d),Pt(hn,"msTransform",d),Pt(hn,"transform",d),s8=c,l8=f,Ys=o}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!hn){var t=this.options.fallbackOnBody?document.body:Tr,n=kr(mt,!0,VR,!0,t),r=this.options;if(VR){for(to=t;Pt(to,"position")==="static"&&Pt(to,"transform")==="none"&&to!==document;)to=to.parentNode;to!==document.body&&to!==document.documentElement?(to===document&&(to=uu()),n.top+=to.scrollTop,n.left+=to.scrollLeft):to=uu(),u8=zU(to)}hn=mt.cloneNode(!0),Er(hn,r.ghostClass,!1),Er(hn,r.fallbackClass,!0),Er(hn,r.dragClass,!0),Pt(hn,"transition",""),Pt(hn,"transform",""),Pt(hn,"box-sizing","border-box"),Pt(hn,"margin",0),Pt(hn,"top",n.top),Pt(hn,"left",n.left),Pt(hn,"width",n.width),Pt(hn,"height",n.height),Pt(hn,"opacity","0.8"),Pt(hn,"position",VR?"absolute":"fixed"),Pt(hn,"zIndex","100000"),Pt(hn,"pointerEvents","none"),Kt.ghost=hn,t.appendChild(hn),Pt(hn,"transform-origin",$U/parseInt(hn.style.width)*100+"% "+jU/parseInt(hn.style.height)*100+"%")}},_onDragStart:function(t,n){var r=this,i=t.dataTransfer,o=r.options;if(Yo("dragStart",this,{evt:t}),Kt.eventCanceled){this._onDrop();return}Yo("setupClone",this),Kt.eventCanceled||(Br=YP(mt),Br.draggable=!1,Br.style["will-change"]="",this._hideClone(),Er(Br,this.options.chosenClass,!1),Kt.clone=Br),r.cloneId=Xb(function(){Yo("clone",r),!Kt.eventCanceled&&(r.options.removeCloneOnHide||Tr.insertBefore(Br,mt),r._hideClone(),Mo({sortable:r,name:"clone"}))}),!n&&Er(mt,o.dragClass,!0),n?(AS=!0,r._loopId=setInterval(r._emulateDragOver,50)):(Sn(document,"mouseup",r._onDrop),Sn(document,"touchend",r._onDrop),Sn(document,"touchcancel",r._onDrop),i&&(i.effectAllowed="move",o.setData&&o.setData.call(r,i,mt)),On(document,"drop",r),Pt(mt,"transform","translateZ(0)")),wp=!0,r._dragStartId=Xb(r._dragStarted.bind(r,n,t)),On(document,"selectstart",r),Fg=!0,_m&&Pt(document.body,"user-select","none")},_onDragOver:function(t){var n=this.el,r=t.target,i,o,a,s=this.options,l=s.group,u=Kt.active,c=XR===l,f=s.sort,d=Xi||u,h,p=this,v=!1;if(T_)return;function g(W,Z){Yo(W,p,mu({evt:t,isOwner:c,axis:h?"vertical":"horizontal",revert:a,dragRect:i,targetRect:o,canSort:f,fromSortable:d,target:r,completed:y,onMove:function(Y,B){return DR(Tr,n,mt,i,Y,kr(Y),t,B)},changed:R},Z))}function m(){g("dragOverAnimationCapture"),p.captureAnimationState(),p!==d&&d.captureAnimationState()}function y(W){return g("dragOverCompleted",{insertion:W}),W&&(c?u._hideClone():u._showClone(p),p!==d&&(Er(mt,Xi?Xi.options.ghostClass:u.options.ghostClass,!1),Er(mt,s.ghostClass,!0)),Xi!==p&&p!==Kt.active?Xi=p:p===Kt.active&&Xi&&(Xi=null),d===p&&(p._ignoreWhileAnimating=r),p.animateAll(function(){g("dragOverAnimationComplete"),p._ignoreWhileAnimating=null}),p!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(r===mt&&!mt.animated||r===n&&!r.animated)&&(ip=null),!s.dragoverBubble&&!t.rootEl&&r!==document&&(mt.parentNode[co]._isOutsideThisEl(t.target),!W&&qd(t)),!s.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),v=!0}function R(){La=Hr(mt),hf=Hr(mt,s.draggable),Mo({sortable:p,name:"change",toEl:n,newIndex:La,newDraggableIndex:hf,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),r=nl(r,s.draggable,n,!0),g("dragOver"),Kt.eventCanceled)return v;if(mt.contains(t.target)||r.animated&&r.animatingX&&r.animatingY||p._ignoreWhileAnimating===r)return y(!1);if(AS=!1,u&&!s.disabled&&(c?f||(a=Ur!==Tr):Xi===this||(this.lastPutMode=XR.checkPull(this,u,mt,t))&&l.checkPut(this,u,mt,t))){if(h=this._getDirection(t,r)==="vertical",i=kr(mt),g("dragOverValid"),Kt.eventCanceled)return v;if(a)return Ur=Tr,m(),this._hideClone(),g("revert"),Kt.eventCanceled||(oh?Tr.insertBefore(mt,oh):Tr.appendChild(mt)),y(!0);var A=BP(n,s.draggable);if(!A||aWe(t,h,this)&&!A.animated){if(A===mt)return y(!1);if(A&&n===t.target&&(r=A),r&&(o=kr(r)),DR(Tr,n,mt,i,r,o,t,!!r)!==!1)return m(),n.appendChild(mt),Ur=n,R(),y(!0)}else if(A&&oWe(t,h,this)){var x=Iv(n,0,s,!0);if(x===mt)return y(!1);if(r=x,o=kr(r),DR(Tr,n,mt,i,r,o,t,!1)!==!1)return m(),n.insertBefore(mt,x),Ur=n,R(),y(!0)}else if(r.parentNode===n){o=kr(r);var S=0,_,M=mt.parentNode!==n,w=!eWe(mt.animated&&mt.toRect||i,r.animated&&r.toRect||o,h),L=h?"top":"left",k=GU(r,"top","top")||GU(mt,"top","top"),P=k?k.scrollTop:void 0;ip!==r&&(_=o[L],Cm=!1,WR=!w&&s.invertSwap||M),S=sWe(t,r,o,h,w?1:s.swapThreshold,s.invertedSwapThreshold==null?s.swapThreshold:s.invertedSwapThreshold,WR,ip===r);var F;if(S!==0){var C=Hr(mt);do C-=S,F=Ur.children[C];while(F&&(Pt(F,"display")==="none"||F===hn))}if(S===0||F===r)return y(!1);ip=r,Pm=S;var N=r.nextElementSibling,I=!1;I=S===1;var V=DR(Tr,n,mt,i,r,o,t,I);if(V!==!1)return(V===1||V===-1)&&(I=V===1),T_=!0,setTimeout(iWe,30),m(),I&&!N?n.appendChild(mt):r.parentNode.insertBefore(mt,I?N:r),k&&Qee(k,0,P-k.scrollTop),Ur=mt.parentNode,_!==void 0&&!WR&&(Eb=Math.abs(_-kr(r)[L])),R(),y(!0)}if(n.contains(mt))return y(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){Sn(document,"mousemove",this._onTouchMove),Sn(document,"touchmove",this._onTouchMove),Sn(document,"pointermove",this._onTouchMove),Sn(document,"dragover",qd),Sn(document,"mousemove",qd),Sn(document,"touchmove",qd)},_offUpEvents:function(){var t=this.el.ownerDocument;Sn(t,"mouseup",this._onDrop),Sn(t,"touchend",this._onDrop),Sn(t,"pointerup",this._onDrop),Sn(t,"touchcancel",this._onDrop),Sn(document,"selectstart",this)},_onDrop:function(t){var n=this.el,r=this.options;if(La=Hr(mt),hf=Hr(mt,r.draggable),Yo("drop",this,{evt:t}),Ur=mt&&mt.parentNode,La=Hr(mt),hf=Hr(mt,r.draggable),Kt.eventCanceled){this._nulling();return}wp=!1,WR=!1,Cm=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),__(this.cloneId),__(this._dragStartId),this.nativeDraggable&&(Sn(document,"drop",this),Sn(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),_m&&Pt(document.body,"user-select",""),Pt(mt,"transform",""),t&&(Fg&&(t.cancelable&&t.preventDefault(),!r.dropBubble&&t.stopPropagation()),hn&&hn.parentNode&&hn.parentNode.removeChild(hn),(Tr===Ur||Xi&&Xi.lastPutMode!=="clone")&&Br&&Br.parentNode&&Br.parentNode.removeChild(Br),mt&&(this.nativeDraggable&&Sn(mt,"dragend",this),c8(mt),mt.style["will-change"]="",Fg&&!wp&&Er(mt,Xi?Xi.options.ghostClass:this.options.ghostClass,!1),Er(mt,this.options.chosenClass,!1),Mo({sortable:this,name:"unchoose",toEl:Ur,newIndex:null,newDraggableIndex:null,originalEvent:t}),Tr!==Ur?(La>=0&&(Mo({rootEl:Ur,name:"add",toEl:Ur,fromEl:Tr,originalEvent:t}),Mo({sortable:this,name:"remove",toEl:Ur,originalEvent:t}),Mo({rootEl:Ur,name:"sort",toEl:Ur,fromEl:Tr,originalEvent:t}),Mo({sortable:this,name:"sort",toEl:Ur,originalEvent:t})),Xi&&Xi.save()):La!==Fp&&La>=0&&(Mo({sortable:this,name:"update",toEl:Ur,originalEvent:t}),Mo({sortable:this,name:"sort",toEl:Ur,originalEvent:t})),Kt.active&&((La==null||La===-1)&&(La=Fp,hf=km),Mo({sortable:this,name:"end",toEl:Ur,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){Yo("nulling",this),Tr=mt=Ur=hn=oh=Br=Fb=yf=jd=Ys=Fg=La=hf=Fp=km=ip=Pm=Xi=XR=Kt.dragged=Kt.ghost=Kt.clone=Kt.active=null,bS.forEach(function(t){t.checked=!0}),bS.length=s8=l8=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":mt&&(this._onDragOver(t),rWe(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],n,r=this.el.children,i=0,o=r.length,a=this.options;i<o;i++)n=r[i],nl(n,a.draggable,this.el,!1)&&t.push(n.getAttribute(a.dataIdAttr)||uWe(n));return t},sort:function(t,n){var r={},i=this.el;this.toArray().forEach(function(o,a){var s=i.children[a];nl(s,this.options.draggable,i,!1)&&(r[o]=s)},this),n&&this.captureAnimationState(),t.forEach(function(o){r[o]&&(i.removeChild(r[o]),i.appendChild(r[o]))}),n&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,n){return nl(t,n||this.options.draggable,this.el,!1)},option:function(t,n){var r=this.options;if(n===void 0)return r[t];var i=gy.modifyOption(this,t,n);typeof i<"u"?r[t]=i:r[t]=n,t==="group"&&Gee(r)},destroy:function(){Yo("destroy",this);var t=this.el;t[co]=null,Sn(t,"mousedown",this._onTapStart),Sn(t,"touchstart",this._onTapStart),Sn(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(Sn(t,"dragover",this),Sn(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(n){n.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),RS.splice(RS.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!yf){if(Yo("hideClone",this),Kt.eventCanceled)return;Pt(Br,"display","none"),this.options.removeCloneOnHide&&Br.parentNode&&Br.parentNode.removeChild(Br),yf=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(yf){if(Yo("showClone",this),Kt.eventCanceled)return;mt.parentNode==Tr&&!this.options.group.revertClone?Tr.insertBefore(Br,mt):oh?Tr.insertBefore(Br,oh):Tr.appendChild(Br),this.options.group.revertClone&&this.animate(mt,Br),Pt(Br,"display",""),yf=!1}}};function rWe(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function DR(e,t,n,r,i,o,a,s){var l,u=e[co],c=u.options.onMove,f;return window.CustomEvent&&!bc&&!vy?l=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(l=document.createEvent("Event"),l.initEvent("move",!0,!0)),l.to=t,l.from=e,l.dragged=n,l.draggedRect=r,l.related=i||t,l.relatedRect=o||kr(t),l.willInsertAfter=s,l.originalEvent=a,e.dispatchEvent(l),c&&(f=c.call(u,l,a)),f}function c8(e){e.draggable=!1}function iWe(){T_=!1}function oWe(e,t,n){var r=kr(Iv(n.el,0,n.options,!0)),i=10;return t?e.clientX<r.left-i||e.clientY<r.top&&e.clientX<r.right:e.clientY<r.top-i||e.clientY<r.bottom&&e.clientX<r.left}function aWe(e,t,n){var r=kr(BP(n.el,n.options.draggable)),i=10;return t?e.clientX>r.right+i||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+i}function sWe(e,t,n,r,i,o,a,s){var l=r?e.clientY:e.clientX,u=r?n.height:n.width,c=r?n.top:n.left,f=r?n.bottom:n.right,d=!1;if(!a){if(s&&Eb<u*i){if(!Cm&&(Pm===1?l>c+u*o/2:l<f-u*o/2)&&(Cm=!0),Cm)d=!0;else if(Pm===1?l<c+Eb:l>f-Eb)return-Pm}else if(l>c+u*(1-i)/2&&l<f-u*(1-i)/2)return lWe(t)}return d=d||a,d&&(l<c+u*o/2||l>f-u*o/2)?l>c+u/2?1:-1:0}function lWe(e){return Hr(mt)<Hr(e)?1:-1}function uWe(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function cWe(e){bS.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&bS.push(r)}}function Xb(e){return setTimeout(e,0)}function __(e){return clearTimeout(e)}n4&&On(document,"touchmove",function(e){(Kt.active||wp)&&e.cancelable&&e.preventDefault()});Kt.utils={on:On,off:Sn,css:Pt,find:Yee,is:function(t,n){return!!nl(t,n,t,!1)},extend:KXe,throttle:Zee,closest:nl,toggleClass:Er,clone:YP,index:Hr,nextTick:Xb,cancelNextTick:__,detectDirection:Kee,getChild:Iv};Kt.get=function(e){return e[co]};Kt.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach(function(r){if(!r.prototype||!r.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(r));r.utils&&(Kt.utils=mu(mu({},Kt.utils),r.utils)),gy.mount(r)})};Kt.create=function(e,t){return new Kt(e,t)};Kt.version=YXe;var ii=[],Eg,O_,k_=!1,f8,d8,xS,Xg;function fWe(){function e(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var t in this)t.charAt(0)==="_"&&typeof this[t]=="function"&&(this[t]=this[t].bind(this))}return e.prototype={dragStarted:function(n){var r=n.originalEvent;this.sortable.nativeDraggable?On(document,"dragover",this._handleAutoScroll):this.options.supportPointer?On(document,"pointermove",this._handleFallbackAutoScroll):r.touches?On(document,"touchmove",this._handleFallbackAutoScroll):On(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(n){var r=n.originalEvent;!this.options.dragOverBubble&&!r.rootEl&&this._handleAutoScroll(r)},drop:function(){this.sortable.nativeDraggable?Sn(document,"dragover",this._handleAutoScroll):(Sn(document,"pointermove",this._handleFallbackAutoScroll),Sn(document,"touchmove",this._handleFallbackAutoScroll),Sn(document,"mousemove",this._handleFallbackAutoScroll)),eB(),Wb(),GXe()},nulling:function(){xS=O_=Eg=k_=Xg=f8=d8=null,ii.length=0},_handleFallbackAutoScroll:function(n){this._handleAutoScroll(n,!0)},_handleAutoScroll:function(n,r){var i=this,o=(n.touches?n.touches[0]:n).clientX,a=(n.touches?n.touches[0]:n).clientY,s=document.elementFromPoint(o,a);if(xS=n,r||this.options.forceAutoScrollFallback||vy||bc||_m){h8(n,this.options,s,r);var l=_f(s,!0);k_&&(!Xg||o!==f8||a!==d8)&&(Xg&&eB(),Xg=setInterval(function(){var u=_f(document.elementFromPoint(o,a),!0);u!==l&&(l=u,Wb()),h8(n,i.options,u,r)},10),f8=o,d8=a)}else{if(!this.options.bubbleScroll||_f(s,!0)===uu()){Wb();return}h8(n,this.options,_f(s,!1),!1)}}},Ps(e,{pluginName:"scroll",initializeByDefault:!0})}function Wb(){ii.forEach(function(e){clearInterval(e.pid)}),ii=[]}function eB(){clearInterval(Xg)}var h8=Zee(function(e,t,n,r){if(t.scroll){var i=(e.touches?e.touches[0]:e).clientX,o=(e.touches?e.touches[0]:e).clientY,a=t.scrollSensitivity,s=t.scrollSpeed,l=uu(),u=!1,c;O_!==n&&(O_=n,Wb(),Eg=t.scroll,c=t.scrollFn,Eg===!0&&(Eg=_f(n,!0)));var f=0,d=Eg;do{var h=d,p=kr(h),v=p.top,g=p.bottom,m=p.left,y=p.right,R=p.width,A=p.height,x=void 0,S=void 0,_=h.scrollWidth,M=h.scrollHeight,w=Pt(h),L=h.scrollLeft,k=h.scrollTop;h===l?(x=R<_&&(w.overflowX==="auto"||w.overflowX==="scroll"||w.overflowX==="visible"),S=A<M&&(w.overflowY==="auto"||w.overflowY==="scroll"||w.overflowY==="visible")):(x=R<_&&(w.overflowX==="auto"||w.overflowX==="scroll"),S=A<M&&(w.overflowY==="auto"||w.overflowY==="scroll"));var P=x&&(Math.abs(y-i)<=a&&L+R<_)-(Math.abs(m-i)<=a&&!!L),F=S&&(Math.abs(g-o)<=a&&k+A<M)-(Math.abs(v-o)<=a&&!!k);if(!ii[f])for(var C=0;C<=f;C++)ii[C]||(ii[C]={});(ii[f].vx!=P||ii[f].vy!=F||ii[f].el!==h)&&(ii[f].el=h,ii[f].vx=P,ii[f].vy=F,clearInterval(ii[f].pid),(P!=0||F!=0)&&(u=!0,ii[f].pid=setInterval((function(){r&&this.layer===0&&Kt.active._onTouchMove(xS);var N=ii[this.layer].vy?ii[this.layer].vy*s:0,I=ii[this.layer].vx?ii[this.layer].vx*s:0;typeof c=="function"&&c.call(Kt.dragged.parentNode[co],I,N,e,xS,ii[this.layer].el)!=="continue"||Qee(ii[this.layer].el,I,N)}).bind({layer:f}),24))),f++}while(t.bubbleScroll&&d!==l&&(d=_f(d,!1)));k_=u}},30),$ee=function(t){var n=t.originalEvent,r=t.putSortable,i=t.dragEl,o=t.activeSortable,a=t.dispatchSortableEvent,s=t.hideGhostForTarget,l=t.unhideGhostForTarget;if(n){var u=r||o;s();var c=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,f=document.elementFromPoint(c.clientX,c.clientY);l(),u&&!u.el.contains(f)&&(a("spill"),this.onSpill({dragEl:i,putSortable:r}))}};function ZP(){}ZP.prototype={startIndex:null,dragStart:function(t){var n=t.oldDraggableIndex;this.startIndex=n},onSpill:function(t){var n=t.dragEl,r=t.putSortable;this.sortable.captureAnimationState(),r&&r.captureAnimationState();var i=Iv(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(n,i):this.sortable.el.appendChild(n),this.sortable.animateAll(),r&&r.animateAll()},drop:$ee};Ps(ZP,{pluginName:"revertOnSpill"});function QP(){}QP.prototype={onSpill:function(t){var n=t.dragEl,r=t.putSortable,i=r||this.sortable;i.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),i.animateAll()},drop:$ee};Ps(QP,{pluginName:"removeOnSpill"});var as;function dWe(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(n){var r=n.dragEl;as=r},dragOverValid:function(n){var r=n.completed,i=n.target,o=n.onMove,a=n.activeSortable,s=n.changed,l=n.cancel;if(a.options.swap){var u=this.sortable.el,c=this.options;if(i&&i!==u){var f=as;o(i)!==!1?(Er(i,c.swapClass,!0),as=i):as=null,f&&f!==as&&Er(f,c.swapClass,!1)}s(),r(!0),l()}},drop:function(n){var r=n.activeSortable,i=n.putSortable,o=n.dragEl,a=i||this.sortable,s=this.options;as&&Er(as,s.swapClass,!1),as&&(s.swap||i&&i.options.swap)&&o!==as&&(a.captureAnimationState(),a!==r&&r.captureAnimationState(),hWe(o,as),a.animateAll(),a!==r&&r.animateAll())},nulling:function(){as=null}},Ps(e,{pluginName:"swap",eventProperties:function(){return{swapItem:as}}})}function hWe(e,t){var n=e.parentNode,r=t.parentNode,i,o;!n||!r||n.isEqualNode(t)||r.isEqualNode(e)||(i=Hr(e),o=Hr(t),n.isEqualNode(r)&&i<o&&o++,n.insertBefore(t,n.children[i]),r.insertBefore(e,r.children[o]))}var un=[],Ma=[],j1,Zs,q1=!1,Zo=!1,op=!1,pr,eg,UR;function pWe(){function e(t){for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));t.options.supportPointer?On(document,"pointerup",this._deselectMultiDrag):(On(document,"mouseup",this._deselectMultiDrag),On(document,"touchend",this._deselectMultiDrag)),On(document,"keydown",this._checkKeyDown),On(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(i,o){var a="";un.length&&Zs===t?un.forEach(function(s,l){a+=(l?", ":"")+s.textContent}):a=o.textContent,i.setData("Text",a)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(n){var r=n.dragEl;pr=r},delayEnded:function(){this.isMultiDrag=~un.indexOf(pr)},setupClone:function(n){var r=n.sortable,i=n.cancel;if(this.isMultiDrag){for(var o=0;o<un.length;o++)Ma.push(YP(un[o])),Ma[o].sortableIndex=un[o].sortableIndex,Ma[o].draggable=!1,Ma[o].style["will-change"]="",Er(Ma[o],this.options.selectedClass,!1),un[o]===pr&&Er(Ma[o],this.options.chosenClass,!1);r._hideClone(),i()}},clone:function(n){var r=n.sortable,i=n.rootEl,o=n.dispatchSortableEvent,a=n.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||un.length&&Zs===r&&(tB(!0,i),o("clone"),a()))},showClone:function(n){var r=n.cloneNowShown,i=n.rootEl,o=n.cancel;this.isMultiDrag&&(tB(!1,i),Ma.forEach(function(a){Pt(a,"display","")}),r(),UR=!1,o())},hideClone:function(n){var r=this;n.sortable;var i=n.cloneNowHidden,o=n.cancel;this.isMultiDrag&&(Ma.forEach(function(a){Pt(a,"display","none"),r.options.removeCloneOnHide&&a.parentNode&&a.parentNode.removeChild(a)}),i(),UR=!0,o())},dragStartGlobal:function(n){n.sortable,!this.isMultiDrag&&Zs&&Zs.multiDrag._deselectMultiDrag(),un.forEach(function(r){r.sortableIndex=Hr(r)}),un=un.sort(function(r,i){return r.sortableIndex-i.sortableIndex}),op=!0},dragStarted:function(n){var r=this,i=n.sortable;if(this.isMultiDrag){if(this.options.sort&&(i.captureAnimationState(),this.options.animation)){un.forEach(function(a){a!==pr&&Pt(a,"position","absolute")});var o=kr(pr,!1,!0,!0);un.forEach(function(a){a!==pr&&JU(a,o)}),Zo=!0,q1=!0}i.animateAll(function(){Zo=!1,q1=!1,r.options.animation&&un.forEach(function(a){o8(a)}),r.options.sort&&BR()})}},dragOver:function(n){var r=n.target,i=n.completed,o=n.cancel;Zo&&~un.indexOf(r)&&(i(!1),o())},revert:function(n){var r=n.fromSortable,i=n.rootEl,o=n.sortable,a=n.dragRect;un.length>1&&(un.forEach(function(s){o.addAnimationState({target:s,rect:Zo?kr(s):a}),o8(s),s.fromRect=a,r.removeAnimationState(s)}),Zo=!1,vWe(!this.options.removeCloneOnHide,i))},dragOverCompleted:function(n){var r=n.sortable,i=n.isOwner,o=n.insertion,a=n.activeSortable,s=n.parentEl,l=n.putSortable,u=this.options;if(o){if(i&&a._hideClone(),q1=!1,u.animation&&un.length>1&&(Zo||!i&&!a.options.sort&&!l)){var c=kr(pr,!1,!0,!0);un.forEach(function(d){d!==pr&&(JU(d,c),s.appendChild(d))}),Zo=!0}if(!i)if(Zo||BR(),un.length>1){var f=UR;a._showClone(r),a.options.animation&&!UR&&f&&Ma.forEach(function(d){a.addAnimationState({target:d,rect:eg}),d.fromRect=eg,d.thisAnimationDuration=null})}else a._showClone(r)}},dragOverAnimationCapture:function(n){var r=n.dragRect,i=n.isOwner,o=n.activeSortable;if(un.forEach(function(s){s.thisAnimationDuration=null}),o.options.animation&&!i&&o.multiDrag.isMultiDrag){eg=Ps({},r);var a=Wh(pr,!0);eg.top-=a.f,eg.left-=a.e}},dragOverAnimationComplete:function(){Zo&&(Zo=!1,BR())},drop:function(n){var r=n.originalEvent,i=n.rootEl,o=n.parentEl,a=n.sortable,s=n.dispatchSortableEvent,l=n.oldIndex,u=n.putSortable,c=u||this.sortable;if(r){var f=this.options,d=o.children;if(!op)if(f.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Er(pr,f.selectedClass,!~un.indexOf(pr)),~un.indexOf(pr))un.splice(un.indexOf(pr),1),j1=null,Ng({sortable:a,rootEl:i,name:"deselect",targetEl:pr,originalEvt:r});else{if(un.push(pr),Ng({sortable:a,rootEl:i,name:"select",targetEl:pr,originalEvt:r}),r.shiftKey&&j1&&a.el.contains(j1)){var h=Hr(j1),p=Hr(pr);if(~h&&~p&&h!==p){var v,g;for(p>h?(g=h,v=p):(g=p,v=h+1);g<v;g++)~un.indexOf(d[g])||(Er(d[g],f.selectedClass,!0),un.push(d[g]),Ng({sortable:a,rootEl:i,name:"select",targetEl:d[g],originalEvt:r}))}}else j1=pr;Zs=c}if(op&&this.isMultiDrag){if(Zo=!1,(o[co].options.sort||o!==i)&&un.length>1){var m=kr(pr),y=Hr(pr,":not(."+this.options.selectedClass+")");if(!q1&&f.animation&&(pr.thisAnimationDuration=null),c.captureAnimationState(),!q1&&(f.animation&&(pr.fromRect=m,un.forEach(function(A){if(A.thisAnimationDuration=null,A!==pr){var x=Zo?kr(A):m;A.fromRect=x,c.addAnimationState({target:A,rect:x})}})),BR(),un.forEach(function(A){d[y]?o.insertBefore(A,d[y]):o.appendChild(A),y++}),l===Hr(pr))){var R=!1;un.forEach(function(A){if(A.sortableIndex!==Hr(A)){R=!0;return}}),R&&s("update")}un.forEach(function(A){o8(A)}),c.animateAll()}Zs=c}(i===o||u&&u.lastPutMode!=="clone")&&Ma.forEach(function(A){A.parentNode&&A.parentNode.removeChild(A)})}},nullingGlobal:function(){this.isMultiDrag=op=!1,Ma.length=0},destroyGlobal:function(){this._deselectMultiDrag(),Sn(document,"pointerup",this._deselectMultiDrag),Sn(document,"mouseup",this._deselectMultiDrag),Sn(document,"touchend",this._deselectMultiDrag),Sn(document,"keydown",this._checkKeyDown),Sn(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(n){if(!(typeof op<"u"&&op)&&Zs===this.sortable&&!(n&&nl(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;un.length;){var r=un[0];Er(r,this.options.selectedClass,!1),un.shift(),Ng({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:r,originalEvt:n})}},_checkKeyDown:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},Ps(e,{pluginName:"multiDrag",utils:{select:function(n){var r=n.parentNode[co];!r||!r.options.multiDrag||~un.indexOf(n)||(Zs&&Zs!==r&&(Zs.multiDrag._deselectMultiDrag(),Zs=r),Er(n,r.options.selectedClass,!0),un.push(n))},deselect:function(n){var r=n.parentNode[co],i=un.indexOf(n);!r||!r.options.multiDrag||!~i||(Er(n,r.options.selectedClass,!1),un.splice(i,1))}},eventProperties:function(){var n=this,r=[],i=[];return un.forEach(function(o){r.push({multiDragElement:o,index:o.sortableIndex});var a;Zo&&o!==pr?a=-1:Zo?a=Hr(o,":not(."+n.options.selectedClass+")"):a=Hr(o),i.push({multiDragElement:o,index:a})}),{items:WXe(un),clones:[].concat(Ma),oldIndicies:r,newIndicies:i}},optionListeners:{multiDragKey:function(n){return n=n.toLowerCase(),n==="ctrl"?n="Control":n.length>1&&(n=n.charAt(0).toUpperCase()+n.substr(1)),n}}})}function vWe(e,t){un.forEach(function(n,r){var i=t.children[n.sortableIndex+(e?Number(r):0)];i?t.insertBefore(n,i):t.appendChild(n)})}function tB(e,t){Ma.forEach(function(n,r){var i=t.children[n.sortableIndex+(e?Number(r):0)];i?t.insertBefore(n,i):t.appendChild(n)})}function BR(){un.forEach(function(e){e!==pr&&e.parentNode&&e.parentNode.removeChild(e)})}Kt.mount(new fWe);Kt.mount(QP,ZP);const gWe=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:pWe,Sortable:Kt,Swap:dWe,default:Kt},Symbol.toStringTag,{value:"Module"})),mWe=wO(gWe);(function(e,t){(function(r,i){e.exports=i(NXe,mWe)})(typeof self<"u"?self:Xt,function(n,r){return function(i){var o={};function a(s){if(o[s])return o[s].exports;var l=o[s]={i:s,l:!1,exports:{}};return i[s].call(l.exports,l,l.exports,a),l.l=!0,l.exports}return a.m=i,a.c=o,a.d=function(s,l,u){a.o(s,l)||Object.defineProperty(s,l,{enumerable:!0,get:u})},a.r=function(s){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},a.t=function(s,l){if(l&1&&(s=a(s)),l&8||l&4&&typeof s=="object"&&s&&s.__esModule)return s;var u=Object.create(null);if(a.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:s}),l&2&&typeof s!="string")for(var c in s)a.d(u,c,(function(f){return s[f]}).bind(null,c));return u},a.n=function(s){var l=s&&s.__esModule?function(){return s.default}:function(){return s};return a.d(l,"a",l),l},a.o=function(s,l){return Object.prototype.hasOwnProperty.call(s,l)},a.p="",a(a.s="fb15")}({"00ee":function(i,o,a){var s=a("b622"),l=s("toStringTag"),u={};u[l]="z",i.exports=String(u)==="[object z]"},"0366":function(i,o,a){var s=a("1c0b");i.exports=function(l,u,c){if(s(l),u===void 0)return l;switch(c){case 0:return function(){return l.call(u)};case 1:return function(f){return l.call(u,f)};case 2:return function(f,d){return l.call(u,f,d)};case 3:return function(f,d,h){return l.call(u,f,d,h)}}return function(){return l.apply(u,arguments)}}},"057f":function(i,o,a){var s=a("fc6a"),l=a("241c").f,u={}.toString,c=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],f=function(d){try{return l(d)}catch{return c.slice()}};i.exports.f=function(h){return c&&u.call(h)=="[object Window]"?f(h):l(s(h))}},"06cf":function(i,o,a){var s=a("83ab"),l=a("d1e7"),u=a("5c6c"),c=a("fc6a"),f=a("c04e"),d=a("5135"),h=a("0cfb"),p=Object.getOwnPropertyDescriptor;o.f=s?p:function(g,m){if(g=c(g),m=f(m,!0),h)try{return p(g,m)}catch{}if(d(g,m))return u(!l.f.call(g,m),g[m])}},"0cfb":function(i,o,a){var s=a("83ab"),l=a("d039"),u=a("cc12");i.exports=!s&&!l(function(){return Object.defineProperty(u("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(i,o,a){var s=a("23e7"),l=a("d58f").left,u=a("a640"),c=a("ae40"),f=u("reduce"),d=c("reduce",{1:0});s({target:"Array",proto:!0,forced:!f||!d},{reduce:function(p){return l(this,p,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(i,o,a){var s=a("c6b6"),l=a("9263");i.exports=function(u,c){var f=u.exec;if(typeof f=="function"){var d=f.call(u,c);if(typeof d!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return d}if(s(u)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(u,c)}},"159b":function(i,o,a){var s=a("da84"),l=a("fdbc"),u=a("17c2"),c=a("9112");for(var f in l){var d=s[f],h=d&&d.prototype;if(h&&h.forEach!==u)try{c(h,"forEach",u)}catch{h.forEach=u}}},"17c2":function(i,o,a){var s=a("b727").forEach,l=a("a640"),u=a("ae40"),c=l("forEach"),f=u("forEach");i.exports=!c||!f?function(h){return s(this,h,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(i,o,a){var s=a("d066");i.exports=s("document","documentElement")},"1c0b":function(i,o){i.exports=function(a){if(typeof a!="function")throw TypeError(String(a)+" is not a function");return a}},"1c7e":function(i,o,a){var s=a("b622"),l=s("iterator"),u=!1;try{var c=0,f={next:function(){return{done:!!c++}},return:function(){u=!0}};f[l]=function(){return this},Array.from(f,function(){throw 2})}catch{}i.exports=function(d,h){if(!h&&!u)return!1;var p=!1;try{var v={};v[l]=function(){return{next:function(){return{done:p=!0}}}},d(v)}catch{}return p}},"1d80":function(i,o){i.exports=function(a){if(a==null)throw TypeError("Can't call method on "+a);return a}},"1dde":function(i,o,a){var s=a("d039"),l=a("b622"),u=a("2d00"),c=l("species");i.exports=function(f){return u>=51||!s(function(){var d=[],h=d.constructor={};return h[c]=function(){return{foo:1}},d[f](Boolean).foo!==1})}},"23cb":function(i,o,a){var s=a("a691"),l=Math.max,u=Math.min;i.exports=function(c,f){var d=s(c);return d<0?l(d+f,0):u(d,f)}},"23e7":function(i,o,a){var s=a("da84"),l=a("06cf").f,u=a("9112"),c=a("6eeb"),f=a("ce4e"),d=a("e893"),h=a("94ca");i.exports=function(p,v){var g=p.target,m=p.global,y=p.stat,R,A,x,S,_,M;if(m?A=s:y?A=s[g]||f(g,{}):A=(s[g]||{}).prototype,A)for(x in v){if(_=v[x],p.noTargetGet?(M=l(A,x),S=M&&M.value):S=A[x],R=h(m?x:g+(y?".":"#")+x,p.forced),!R&&S!==void 0){if(typeof _==typeof S)continue;d(_,S)}(p.sham||S&&S.sham)&&u(_,"sham",!0),c(A,x,_,p)}}},"241c":function(i,o,a){var s=a("ca84"),l=a("7839"),u=l.concat("length","prototype");o.f=Object.getOwnPropertyNames||function(f){return s(f,u)}},"25f0":function(i,o,a){var s=a("6eeb"),l=a("825a"),u=a("d039"),c=a("ad6d"),f="toString",d=RegExp.prototype,h=d[f],p=u(function(){return h.call({source:"a",flags:"b"})!="/a/b"}),v=h.name!=f;(p||v)&&s(RegExp.prototype,f,function(){var m=l(this),y=String(m.source),R=m.flags,A=String(R===void 0&&m instanceof RegExp&&!("flags"in d)?c.call(m):R);return"/"+y+"/"+A},{unsafe:!0})},"2ca0":function(i,o,a){var s=a("23e7"),l=a("06cf").f,u=a("50c4"),c=a("5a34"),f=a("1d80"),d=a("ab13"),h=a("c430"),p="".startsWith,v=Math.min,g=d("startsWith"),m=!h&&!g&&!!function(){var y=l(String.prototype,"startsWith");return y&&!y.writable}();s({target:"String",proto:!0,forced:!m&&!g},{startsWith:function(R){var A=String(f(this));c(R);var x=u(v(arguments.length>1?arguments[1]:void 0,A.length)),S=String(R);return p?p.call(A,S,x):A.slice(x,x+S.length)===S}})},"2d00":function(i,o,a){var s=a("da84"),l=a("342f"),u=s.process,c=u&&u.versions,f=c&&c.v8,d,h;f?(d=f.split("."),h=d[0]+d[1]):l&&(d=l.match(/Edge\/(\d+)/),(!d||d[1]>=74)&&(d=l.match(/Chrome\/(\d+)/),d&&(h=d[1]))),i.exports=h&&+h},"342f":function(i,o,a){var s=a("d066");i.exports=s("navigator","userAgent")||""},"35a1":function(i,o,a){var s=a("f5df"),l=a("3f8c"),u=a("b622"),c=u("iterator");i.exports=function(f){if(f!=null)return f[c]||f["@@iterator"]||l[s(f)]}},"37e8":function(i,o,a){var s=a("83ab"),l=a("9bf2"),u=a("825a"),c=a("df75");i.exports=s?Object.defineProperties:function(d,h){u(d);for(var p=c(h),v=p.length,g=0,m;v>g;)l.f(d,m=p[g++],h[m]);return d}},"3bbe":function(i,o,a){var s=a("861d");i.exports=function(l){if(!s(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"3ca3":function(i,o,a){var s=a("6547").charAt,l=a("69f3"),u=a("7dd0"),c="String Iterator",f=l.set,d=l.getterFor(c);u(String,"String",function(h){f(this,{type:c,string:String(h),index:0})},function(){var p=d(this),v=p.string,g=p.index,m;return g>=v.length?{value:void 0,done:!0}:(m=s(v,g),p.index+=m.length,{value:m,done:!1})})},"3f8c":function(i,o){i.exports={}},4160:function(i,o,a){var s=a("23e7"),l=a("17c2");s({target:"Array",proto:!0,forced:[].forEach!=l},{forEach:l})},"428f":function(i,o,a){var s=a("da84");i.exports=s},"44ad":function(i,o,a){var s=a("d039"),l=a("c6b6"),u="".split;i.exports=s(function(){return!Object("z").propertyIsEnumerable(0)})?function(c){return l(c)=="String"?u.call(c,""):Object(c)}:Object},"44d2":function(i,o,a){var s=a("b622"),l=a("7c73"),u=a("9bf2"),c=s("unscopables"),f=Array.prototype;f[c]==null&&u.f(f,c,{configurable:!0,value:l(null)}),i.exports=function(d){f[c][d]=!0}},"44e7":function(i,o,a){var s=a("861d"),l=a("c6b6"),u=a("b622"),c=u("match");i.exports=function(f){var d;return s(f)&&((d=f[c])!==void 0?!!d:l(f)=="RegExp")}},4930:function(i,o,a){var s=a("d039");i.exports=!!Object.getOwnPropertySymbols&&!s(function(){return!String(Symbol())})},"4d64":function(i,o,a){var s=a("fc6a"),l=a("50c4"),u=a("23cb"),c=function(f){return function(d,h,p){var v=s(d),g=l(v.length),m=u(p,g),y;if(f&&h!=h){for(;g>m;)if(y=v[m++],y!=y)return!0}else for(;g>m;m++)if((f||m in v)&&v[m]===h)return f||m||0;return!f&&-1}};i.exports={includes:c(!0),indexOf:c(!1)}},"4de4":function(i,o,a){var s=a("23e7"),l=a("b727").filter,u=a("1dde"),c=a("ae40"),f=u("filter"),d=c("filter");s({target:"Array",proto:!0,forced:!f||!d},{filter:function(p){return l(this,p,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(i,o,a){var s=a("0366"),l=a("7b0b"),u=a("9bdd"),c=a("e95a"),f=a("50c4"),d=a("8418"),h=a("35a1");i.exports=function(v){var g=l(v),m=typeof this=="function"?this:Array,y=arguments.length,R=y>1?arguments[1]:void 0,A=R!==void 0,x=h(g),S=0,_,M,w,L,k,P;if(A&&(R=s(R,y>2?arguments[2]:void 0,2)),x!=null&&!(m==Array&&c(x)))for(L=x.call(g),k=L.next,M=new m;!(w=k.call(L)).done;S++)P=A?u(L,R,[w.value,S],!0):w.value,d(M,S,P);else for(_=f(g.length),M=new m(_);_>S;S++)P=A?R(g[S],S):g[S],d(M,S,P);return M.length=S,M}},"4fad":function(i,o,a){var s=a("23e7"),l=a("6f53").entries;s({target:"Object",stat:!0},{entries:function(c){return l(c)}})},"50c4":function(i,o,a){var s=a("a691"),l=Math.min;i.exports=function(u){return u>0?l(s(u),9007199254740991):0}},5135:function(i,o){var a={}.hasOwnProperty;i.exports=function(s,l){return a.call(s,l)}},5319:function(i,o,a){var s=a("d784"),l=a("825a"),u=a("7b0b"),c=a("50c4"),f=a("a691"),d=a("1d80"),h=a("8aa5"),p=a("14c3"),v=Math.max,g=Math.min,m=Math.floor,y=/\$([$&'`]|\d\d?|<[^>]*>)/g,R=/\$([$&'`]|\d\d?)/g,A=function(x){return x===void 0?x:String(x)};s("replace",2,function(x,S,_,M){var w=M.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,L=M.REPLACE_KEEPS_$0,k=w?"$":"$0";return[function(C,N){var I=d(this),V=C==null?void 0:C[x];return V!==void 0?V.call(C,I,N):S.call(String(I),C,N)},function(F,C){if(!w&&L||typeof C=="string"&&C.indexOf(k)===-1){var N=_(S,F,this,C);if(N.done)return N.value}var I=l(F),V=String(this),W=typeof C=="function";W||(C=String(C));var Z=I.global;if(Z){var re=I.unicode;I.lastIndex=0}for(var Y=[];;){var B=p(I,V);if(B===null||(Y.push(B),!Z))break;var Q=String(B[0]);Q===""&&(I.lastIndex=h(V,c(I.lastIndex),re))}for(var K="",q=0,j=0;j<Y.length;j++){B=Y[j];for(var de=String(B[0]),G=v(g(f(B.index),V.length),0),Ae=[],ce=1;ce<B.length;ce++)Ae.push(A(B[ce]));var fe=B.groups;if(W){var le=[de].concat(Ae,G,V);fe!==void 0&&le.push(fe);var $=String(C.apply(void 0,le))}else $=P(de,V,G,Ae,fe,C);G>=q&&(K+=V.slice(q,G)+$,q=G+de.length)}return K+V.slice(q)}];function P(F,C,N,I,V,W){var Z=N+F.length,re=I.length,Y=R;return V!==void 0&&(V=u(V),Y=y),S.call(W,Y,function(B,Q){var K;switch(Q.charAt(0)){case"$":return"$";case"&":return F;case"`":return C.slice(0,N);case"'":return C.slice(Z);case"<":K=V[Q.slice(1,-1)];break;default:var q=+Q;if(q===0)return B;if(q>re){var j=m(q/10);return j===0?B:j<=re?I[j-1]===void 0?Q.charAt(1):I[j-1]+Q.charAt(1):B}K=I[q-1]}return K===void 0?"":K})}})},5692:function(i,o,a){var s=a("c430"),l=a("c6cd");(i.exports=function(u,c){return l[u]||(l[u]=c!==void 0?c:{})})("versions",[]).push({version:"3.6.5",mode:s?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(i,o,a){var s=a("d066"),l=a("241c"),u=a("7418"),c=a("825a");i.exports=s("Reflect","ownKeys")||function(d){var h=l.f(c(d)),p=u.f;return p?h.concat(p(d)):h}},"5a34":function(i,o,a){var s=a("44e7");i.exports=function(l){if(s(l))throw TypeError("The method doesn't accept regular expressions");return l}},"5c6c":function(i,o){i.exports=function(a,s){return{enumerable:!(a&1),configurable:!(a&2),writable:!(a&4),value:s}}},"5db7":function(i,o,a){var s=a("23e7"),l=a("a2bf"),u=a("7b0b"),c=a("50c4"),f=a("1c0b"),d=a("65f0");s({target:"Array",proto:!0},{flatMap:function(p){var v=u(this),g=c(v.length),m;return f(p),m=d(v,0),m.length=l(m,v,v,g,0,1,p,arguments.length>1?arguments[1]:void 0),m}})},6547:function(i,o,a){var s=a("a691"),l=a("1d80"),u=function(c){return function(f,d){var h=String(l(f)),p=s(d),v=h.length,g,m;return p<0||p>=v?c?"":void 0:(g=h.charCodeAt(p),g<55296||g>56319||p+1===v||(m=h.charCodeAt(p+1))<56320||m>57343?c?h.charAt(p):g:c?h.slice(p,p+2):(g-55296<<10)+(m-56320)+65536)}};i.exports={codeAt:u(!1),charAt:u(!0)}},"65f0":function(i,o,a){var s=a("861d"),l=a("e8b5"),u=a("b622"),c=u("species");i.exports=function(f,d){var h;return l(f)&&(h=f.constructor,typeof h=="function"&&(h===Array||l(h.prototype))?h=void 0:s(h)&&(h=h[c],h===null&&(h=void 0))),new(h===void 0?Array:h)(d===0?0:d)}},"69f3":function(i,o,a){var s=a("7f9a"),l=a("da84"),u=a("861d"),c=a("9112"),f=a("5135"),d=a("f772"),h=a("d012"),p=l.WeakMap,v,g,m,y=function(w){return m(w)?g(w):v(w,{})},R=function(w){return function(L){var k;if(!u(L)||(k=g(L)).type!==w)throw TypeError("Incompatible receiver, "+w+" required");return k}};if(s){var A=new p,x=A.get,S=A.has,_=A.set;v=function(w,L){return _.call(A,w,L),L},g=function(w){return x.call(A,w)||{}},m=function(w){return S.call(A,w)}}else{var M=d("state");h[M]=!0,v=function(w,L){return c(w,M,L),L},g=function(w){return f(w,M)?w[M]:{}},m=function(w){return f(w,M)}}i.exports={set:v,get:g,has:m,enforce:y,getterFor:R}},"6eeb":function(i,o,a){var s=a("da84"),l=a("9112"),u=a("5135"),c=a("ce4e"),f=a("8925"),d=a("69f3"),h=d.get,p=d.enforce,v=String(String).split("String");(i.exports=function(g,m,y,R){var A=R?!!R.unsafe:!1,x=R?!!R.enumerable:!1,S=R?!!R.noTargetGet:!1;if(typeof y=="function"&&(typeof m=="string"&&!u(y,"name")&&l(y,"name",m),p(y).source=v.join(typeof m=="string"?m:"")),g===s){x?g[m]=y:c(m,y);return}else A?!S&&g[m]&&(x=!0):delete g[m];x?g[m]=y:l(g,m,y)})(Function.prototype,"toString",function(){return typeof this=="function"&&h(this).source||f(this)})},"6f53":function(i,o,a){var s=a("83ab"),l=a("df75"),u=a("fc6a"),c=a("d1e7").f,f=function(d){return function(h){for(var p=u(h),v=l(p),g=v.length,m=0,y=[],R;g>m;)R=v[m++],(!s||c.call(p,R))&&y.push(d?[R,p[R]]:p[R]);return y}};i.exports={entries:f(!0),values:f(!1)}},"73d9":function(i,o,a){var s=a("44d2");s("flatMap")},7418:function(i,o){o.f=Object.getOwnPropertySymbols},"746f":function(i,o,a){var s=a("428f"),l=a("5135"),u=a("e538"),c=a("9bf2").f;i.exports=function(f){var d=s.Symbol||(s.Symbol={});l(d,f)||c(d,f,{value:u.f(f)})}},7839:function(i,o){i.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(i,o,a){var s=a("1d80");i.exports=function(l){return Object(s(l))}},"7c73":function(i,o,a){var s=a("825a"),l=a("37e8"),u=a("7839"),c=a("d012"),f=a("1be4"),d=a("cc12"),h=a("f772"),p=">",v="<",g="prototype",m="script",y=h("IE_PROTO"),R=function(){},A=function(w){return v+m+p+w+v+"/"+m+p},x=function(w){w.write(A("")),w.close();var L=w.parentWindow.Object;return w=null,L},S=function(){var w=d("iframe"),L="java"+m+":",k;return w.style.display="none",f.appendChild(w),w.src=String(L),k=w.contentWindow.document,k.open(),k.write(A("document.F=Object")),k.close(),k.F},_,M=function(){try{_=document.domain&&new ActiveXObject("htmlfile")}catch{}M=_?x(_):S();for(var w=u.length;w--;)delete M[g][u[w]];return M()};c[y]=!0,i.exports=Object.create||function(L,k){var P;return L!==null?(R[g]=s(L),P=new R,R[g]=null,P[y]=L):P=M(),k===void 0?P:l(P,k)}},"7dd0":function(i,o,a){var s=a("23e7"),l=a("9ed3"),u=a("e163"),c=a("d2bb"),f=a("d44e"),d=a("9112"),h=a("6eeb"),p=a("b622"),v=a("c430"),g=a("3f8c"),m=a("ae93"),y=m.IteratorPrototype,R=m.BUGGY_SAFARI_ITERATORS,A=p("iterator"),x="keys",S="values",_="entries",M=function(){return this};i.exports=function(w,L,k,P,F,C,N){l(k,L,P);var I=function(j){if(j===F&&Y)return Y;if(!R&&j in Z)return Z[j];switch(j){case x:return function(){return new k(this,j)};case S:return function(){return new k(this,j)};case _:return function(){return new k(this,j)}}return function(){return new k(this)}},V=L+" Iterator",W=!1,Z=w.prototype,re=Z[A]||Z["@@iterator"]||F&&Z[F],Y=!R&&re||I(F),B=L=="Array"&&Z.entries||re,Q,K,q;if(B&&(Q=u(B.call(new w)),y!==Object.prototype&&Q.next&&(!v&&u(Q)!==y&&(c?c(Q,y):typeof Q[A]!="function"&&d(Q,A,M)),f(Q,V,!0,!0),v&&(g[V]=M))),F==S&&re&&re.name!==S&&(W=!0,Y=function(){return re.call(this)}),(!v||N)&&Z[A]!==Y&&d(Z,A,Y),g[L]=Y,F)if(K={values:I(S),keys:C?Y:I(x),entries:I(_)},N)for(q in K)(R||W||!(q in Z))&&h(Z,q,K[q]);else s({target:L,proto:!0,forced:R||W},K);return K}},"7f9a":function(i,o,a){var s=a("da84"),l=a("8925"),u=s.WeakMap;i.exports=typeof u=="function"&&/native code/.test(l(u))},"825a":function(i,o,a){var s=a("861d");i.exports=function(l){if(!s(l))throw TypeError(String(l)+" is not an object");return l}},"83ab":function(i,o,a){var s=a("d039");i.exports=!s(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(i,o,a){var s=a("c04e"),l=a("9bf2"),u=a("5c6c");i.exports=function(c,f,d){var h=s(f);h in c?l.f(c,h,u(0,d)):c[h]=d}},"861d":function(i,o){i.exports=function(a){return typeof a=="object"?a!==null:typeof a=="function"}},8875:function(i,o,a){var s,l,u;(function(c,f){l=[],s=f,u=typeof s=="function"?s.apply(o,l):s,u!==void 0&&(i.exports=u)})(typeof self<"u"?self:this,function(){function c(){var f=Object.getOwnPropertyDescriptor(document,"currentScript");if(!f&&"currentScript"in document&&document.currentScript||f&&f.get!==c&&document.currentScript)return document.currentScript;try{throw new Error}catch(_){var d=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,h=/@([^@]*):(\d+):(\d+)\s*$/ig,p=d.exec(_.stack)||h.exec(_.stack),v=p&&p[1]||!1,g=p&&p[2]||!1,m=document.location.href.replace(document.location.hash,""),y,R,A,x=document.getElementsByTagName("script");v===m&&(y=document.documentElement.outerHTML,R=new RegExp("(?:[^\\n]+?\\n){0,"+(g-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),A=y.replace(R,"$1").trim());for(var S=0;S<x.length;S++)if(x[S].readyState==="interactive"||x[S].src===v||v===m&&x[S].innerHTML&&x[S].innerHTML.trim()===A)return x[S];return null}}return c})},8925:function(i,o,a){var s=a("c6cd"),l=Function.toString;typeof s.inspectSource!="function"&&(s.inspectSource=function(u){return l.call(u)}),i.exports=s.inspectSource},"8aa5":function(i,o,a){var s=a("6547").charAt;i.exports=function(l,u,c){return u+(c?s(l,u).length:1)}},"8bbf":function(i,o){i.exports=n},"90e3":function(i,o){var a=0,s=Math.random();i.exports=function(l){return"Symbol("+String(l===void 0?"":l)+")_"+(++a+s).toString(36)}},9112:function(i,o,a){var s=a("83ab"),l=a("9bf2"),u=a("5c6c");i.exports=s?function(c,f,d){return l.f(c,f,u(1,d))}:function(c,f,d){return c[f]=d,c}},9263:function(i,o,a){var s=a("ad6d"),l=a("9f7f"),u=RegExp.prototype.exec,c=String.prototype.replace,f=u,d=function(){var g=/a/,m=/b*/g;return u.call(g,"a"),u.call(m,"a"),g.lastIndex!==0||m.lastIndex!==0}(),h=l.UNSUPPORTED_Y||l.BROKEN_CARET,p=/()??/.exec("")[1]!==void 0,v=d||p||h;v&&(f=function(m){var y=this,R,A,x,S,_=h&&y.sticky,M=s.call(y),w=y.source,L=0,k=m;return _&&(M=M.replace("y",""),M.indexOf("g")===-1&&(M+="g"),k=String(m).slice(y.lastIndex),y.lastIndex>0&&(!y.multiline||y.multiline&&m[y.lastIndex-1]!==`
|
||
`)&&(w="(?: "+w+")",k=" "+k,L++),A=new RegExp("^(?:"+w+")",M)),p&&(A=new RegExp("^"+w+"$(?!\\s)",M)),d&&(R=y.lastIndex),x=u.call(_?A:y,k),_?x?(x.input=x.input.slice(L),x[0]=x[0].slice(L),x.index=y.lastIndex,y.lastIndex+=x[0].length):y.lastIndex=0:d&&x&&(y.lastIndex=y.global?x.index+x[0].length:R),p&&x&&x.length>1&&c.call(x[0],A,function(){for(S=1;S<arguments.length-2;S++)arguments[S]===void 0&&(x[S]=void 0)}),x}),i.exports=f},"94ca":function(i,o,a){var s=a("d039"),l=/#|\.prototype\./,u=function(p,v){var g=f[c(p)];return g==h?!0:g==d?!1:typeof v=="function"?s(v):!!v},c=u.normalize=function(p){return String(p).replace(l,".").toLowerCase()},f=u.data={},d=u.NATIVE="N",h=u.POLYFILL="P";i.exports=u},"99af":function(i,o,a){var s=a("23e7"),l=a("d039"),u=a("e8b5"),c=a("861d"),f=a("7b0b"),d=a("50c4"),h=a("8418"),p=a("65f0"),v=a("1dde"),g=a("b622"),m=a("2d00"),y=g("isConcatSpreadable"),R=9007199254740991,A="Maximum allowed index exceeded",x=m>=51||!l(function(){var w=[];return w[y]=!1,w.concat()[0]!==w}),S=v("concat"),_=function(w){if(!c(w))return!1;var L=w[y];return L!==void 0?!!L:u(w)},M=!x||!S;s({target:"Array",proto:!0,forced:M},{concat:function(L){var k=f(this),P=p(k,0),F=0,C,N,I,V,W;for(C=-1,I=arguments.length;C<I;C++)if(W=C===-1?k:arguments[C],_(W)){if(V=d(W.length),F+V>R)throw TypeError(A);for(N=0;N<V;N++,F++)N in W&&h(P,F,W[N])}else{if(F>=R)throw TypeError(A);h(P,F++,W)}return P.length=F,P}})},"9bdd":function(i,o,a){var s=a("825a");i.exports=function(l,u,c,f){try{return f?u(s(c)[0],c[1]):u(c)}catch(h){var d=l.return;throw d!==void 0&&s(d.call(l)),h}}},"9bf2":function(i,o,a){var s=a("83ab"),l=a("0cfb"),u=a("825a"),c=a("c04e"),f=Object.defineProperty;o.f=s?f:function(h,p,v){if(u(h),p=c(p,!0),u(v),l)try{return f(h,p,v)}catch{}if("get"in v||"set"in v)throw TypeError("Accessors not supported");return"value"in v&&(h[p]=v.value),h}},"9ed3":function(i,o,a){var s=a("ae93").IteratorPrototype,l=a("7c73"),u=a("5c6c"),c=a("d44e"),f=a("3f8c"),d=function(){return this};i.exports=function(h,p,v){var g=p+" Iterator";return h.prototype=l(s,{next:u(1,v)}),c(h,g,!1,!0),f[g]=d,h}},"9f7f":function(i,o,a){var s=a("d039");function l(u,c){return RegExp(u,c)}o.UNSUPPORTED_Y=s(function(){var u=l("a","y");return u.lastIndex=2,u.exec("abcd")!=null}),o.BROKEN_CARET=s(function(){var u=l("^r","gy");return u.lastIndex=2,u.exec("str")!=null})},a2bf:function(i,o,a){var s=a("e8b5"),l=a("50c4"),u=a("0366"),c=function(f,d,h,p,v,g,m,y){for(var R=v,A=0,x=m?u(m,y,3):!1,S;A<p;){if(A in h){if(S=x?x(h[A],A,d):h[A],g>0&&s(S))R=c(f,d,S,l(S.length),R,g-1)-1;else{if(R>=9007199254740991)throw TypeError("Exceed the acceptable array length");f[R]=S}R++}A++}return R};i.exports=c},a352:function(i,o){i.exports=r},a434:function(i,o,a){var s=a("23e7"),l=a("23cb"),u=a("a691"),c=a("50c4"),f=a("7b0b"),d=a("65f0"),h=a("8418"),p=a("1dde"),v=a("ae40"),g=p("splice"),m=v("splice",{ACCESSORS:!0,0:0,1:2}),y=Math.max,R=Math.min,A=9007199254740991,x="Maximum allowed length exceeded";s({target:"Array",proto:!0,forced:!g||!m},{splice:function(_,M){var w=f(this),L=c(w.length),k=l(_,L),P=arguments.length,F,C,N,I,V,W;if(P===0?F=C=0:P===1?(F=0,C=L-k):(F=P-2,C=R(y(u(M),0),L-k)),L+F-C>A)throw TypeError(x);for(N=d(w,C),I=0;I<C;I++)V=k+I,V in w&&h(N,I,w[V]);if(N.length=C,F<C){for(I=k;I<L-C;I++)V=I+C,W=I+F,V in w?w[W]=w[V]:delete w[W];for(I=L;I>L-C+F;I--)delete w[I-1]}else if(F>C)for(I=L-C;I>k;I--)V=I+C-1,W=I+F-1,V in w?w[W]=w[V]:delete w[W];for(I=0;I<F;I++)w[I+k]=arguments[I+2];return w.length=L-C+F,N}})},a4d3:function(i,o,a){var s=a("23e7"),l=a("da84"),u=a("d066"),c=a("c430"),f=a("83ab"),d=a("4930"),h=a("fdbf"),p=a("d039"),v=a("5135"),g=a("e8b5"),m=a("861d"),y=a("825a"),R=a("7b0b"),A=a("fc6a"),x=a("c04e"),S=a("5c6c"),_=a("7c73"),M=a("df75"),w=a("241c"),L=a("057f"),k=a("7418"),P=a("06cf"),F=a("9bf2"),C=a("d1e7"),N=a("9112"),I=a("6eeb"),V=a("5692"),W=a("f772"),Z=a("d012"),re=a("90e3"),Y=a("b622"),B=a("e538"),Q=a("746f"),K=a("d44e"),q=a("69f3"),j=a("b727").forEach,de=W("hidden"),G="Symbol",Ae="prototype",ce=Y("toPrimitive"),fe=q.set,le=q.getterFor(G),$=Object[Ae],X=l.Symbol,J=u("JSON","stringify"),se=P.f,ee=F.f,ne=L.f,oe=C.f,he=V("symbols"),ue=V("op-symbols"),ge=V("string-to-symbol-registry"),Re=V("symbol-to-string-registry"),Ee=V("wks"),Ne=l.QObject,He=!Ne||!Ne[Ae]||!Ne[Ae].findChild,Ve=f&&p(function(){return _(ee({},"a",{get:function(){return ee(this,"a",{value:7}).a}})).a!=7})?function(dt,vt,wt){var Dt=se($,vt);Dt&&delete $[vt],ee(dt,vt,wt),Dt&&dt!==$&&ee($,vt,Dt)}:ee,we=function(dt,vt){var wt=he[dt]=_(X[Ae]);return fe(wt,{type:G,tag:dt,description:vt}),f||(wt.description=vt),wt},me=h?function(dt){return typeof dt=="symbol"}:function(dt){return Object(dt)instanceof X},Me=function(vt,wt,Dt){vt===$&&Me(ue,wt,Dt),y(vt);var Jt=x(wt,!0);return y(Dt),v(he,Jt)?(Dt.enumerable?(v(vt,de)&&vt[de][Jt]&&(vt[de][Jt]=!1),Dt=_(Dt,{enumerable:S(0,!1)})):(v(vt,de)||ee(vt,de,S(1,{})),vt[de][Jt]=!0),Ve(vt,Jt,Dt)):ee(vt,Jt,Dt)},Ce=function(vt,wt){y(vt);var Dt=A(wt),Jt=M(Dt).concat(tt(Dt));return j(Jt,function(Zn){(!f||ot.call(Dt,Zn))&&Me(vt,Zn,Dt[Zn])}),vt},Qe=function(vt,wt){return wt===void 0?_(vt):Ce(_(vt),wt)},ot=function(vt){var wt=x(vt,!0),Dt=oe.call(this,wt);return this===$&&v(he,wt)&&!v(ue,wt)?!1:Dt||!v(this,wt)||!v(he,wt)||v(this,de)&&this[de][wt]?Dt:!0},ke=function(vt,wt){var Dt=A(vt),Jt=x(wt,!0);if(!(Dt===$&&v(he,Jt)&&!v(ue,Jt))){var Zn=se(Dt,Jt);return Zn&&v(he,Jt)&&!(v(Dt,de)&&Dt[de][Jt])&&(Zn.enumerable=!0),Zn}},je=function(vt){var wt=ne(A(vt)),Dt=[];return j(wt,function(Jt){!v(he,Jt)&&!v(Z,Jt)&&Dt.push(Jt)}),Dt},tt=function(vt){var wt=vt===$,Dt=ne(wt?ue:A(vt)),Jt=[];return j(Dt,function(Zn){v(he,Zn)&&(!wt||v($,Zn))&&Jt.push(he[Zn])}),Jt};if(d||(X=function(){if(this instanceof X)throw TypeError("Symbol is not a constructor");var vt=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),wt=re(vt),Dt=function(Jt){this===$&&Dt.call(ue,Jt),v(this,de)&&v(this[de],wt)&&(this[de][wt]=!1),Ve(this,wt,S(1,Jt))};return f&&He&&Ve($,wt,{configurable:!0,set:Dt}),we(wt,vt)},I(X[Ae],"toString",function(){return le(this).tag}),I(X,"withoutSetter",function(dt){return we(re(dt),dt)}),C.f=ot,F.f=Me,P.f=ke,w.f=L.f=je,k.f=tt,B.f=function(dt){return we(Y(dt),dt)},f&&(ee(X[Ae],"description",{configurable:!0,get:function(){return le(this).description}}),c||I($,"propertyIsEnumerable",ot,{unsafe:!0}))),s({global:!0,wrap:!0,forced:!d,sham:!d},{Symbol:X}),j(M(Ee),function(dt){Q(dt)}),s({target:G,stat:!0,forced:!d},{for:function(dt){var vt=String(dt);if(v(ge,vt))return ge[vt];var wt=X(vt);return ge[vt]=wt,Re[wt]=vt,wt},keyFor:function(vt){if(!me(vt))throw TypeError(vt+" is not a symbol");if(v(Re,vt))return Re[vt]},useSetter:function(){He=!0},useSimple:function(){He=!1}}),s({target:"Object",stat:!0,forced:!d,sham:!f},{create:Qe,defineProperty:Me,defineProperties:Ce,getOwnPropertyDescriptor:ke}),s({target:"Object",stat:!0,forced:!d},{getOwnPropertyNames:je,getOwnPropertySymbols:tt}),s({target:"Object",stat:!0,forced:p(function(){k.f(1)})},{getOwnPropertySymbols:function(vt){return k.f(R(vt))}}),J){var Rt=!d||p(function(){var dt=X();return J([dt])!="[null]"||J({a:dt})!="{}"||J(Object(dt))!="{}"});s({target:"JSON",stat:!0,forced:Rt},{stringify:function(vt,wt,Dt){for(var Jt=[vt],Zn=1,Fs;arguments.length>Zn;)Jt.push(arguments[Zn++]);if(Fs=wt,!(!m(wt)&&vt===void 0||me(vt)))return g(wt)||(wt=function(xl,Ji){if(typeof Fs=="function"&&(Ji=Fs.call(this,xl,Ji)),!me(Ji))return Ji}),Jt[1]=wt,J.apply(null,Jt)}})}X[Ae][ce]||N(X[Ae],ce,X[Ae].valueOf),K(X,G),Z[de]=!0},a630:function(i,o,a){var s=a("23e7"),l=a("4df4"),u=a("1c7e"),c=!u(function(f){Array.from(f)});s({target:"Array",stat:!0,forced:c},{from:l})},a640:function(i,o,a){var s=a("d039");i.exports=function(l,u){var c=[][l];return!!c&&s(function(){c.call(null,u||function(){throw 1},1)})}},a691:function(i,o){var a=Math.ceil,s=Math.floor;i.exports=function(l){return isNaN(l=+l)?0:(l>0?s:a)(l)}},ab13:function(i,o,a){var s=a("b622"),l=s("match");i.exports=function(u){var c=/./;try{"/./"[u](c)}catch{try{return c[l]=!1,"/./"[u](c)}catch{}}return!1}},ac1f:function(i,o,a){var s=a("23e7"),l=a("9263");s({target:"RegExp",proto:!0,forced:/./.exec!==l},{exec:l})},ad6d:function(i,o,a){var s=a("825a");i.exports=function(){var l=s(this),u="";return l.global&&(u+="g"),l.ignoreCase&&(u+="i"),l.multiline&&(u+="m"),l.dotAll&&(u+="s"),l.unicode&&(u+="u"),l.sticky&&(u+="y"),u}},ae40:function(i,o,a){var s=a("83ab"),l=a("d039"),u=a("5135"),c=Object.defineProperty,f={},d=function(h){throw h};i.exports=function(h,p){if(u(f,h))return f[h];p||(p={});var v=[][h],g=u(p,"ACCESSORS")?p.ACCESSORS:!1,m=u(p,0)?p[0]:d,y=u(p,1)?p[1]:void 0;return f[h]=!!v&&!l(function(){if(g&&!s)return!0;var R={length:-1};g?c(R,1,{enumerable:!0,get:d}):R[1]=1,v.call(R,m,y)})}},ae93:function(i,o,a){var s=a("e163"),l=a("9112"),u=a("5135"),c=a("b622"),f=a("c430"),d=c("iterator"),h=!1,p=function(){return this},v,g,m;[].keys&&(m=[].keys(),"next"in m?(g=s(s(m)),g!==Object.prototype&&(v=g)):h=!0),v==null&&(v={}),!f&&!u(v,d)&&l(v,d,p),i.exports={IteratorPrototype:v,BUGGY_SAFARI_ITERATORS:h}},b041:function(i,o,a){var s=a("00ee"),l=a("f5df");i.exports=s?{}.toString:function(){return"[object "+l(this)+"]"}},b0c0:function(i,o,a){var s=a("83ab"),l=a("9bf2").f,u=Function.prototype,c=u.toString,f=/^\s*function ([^ (]*)/,d="name";s&&!(d in u)&&l(u,d,{configurable:!0,get:function(){try{return c.call(this).match(f)[1]}catch{return""}}})},b622:function(i,o,a){var s=a("da84"),l=a("5692"),u=a("5135"),c=a("90e3"),f=a("4930"),d=a("fdbf"),h=l("wks"),p=s.Symbol,v=d?p:p&&p.withoutSetter||c;i.exports=function(g){return u(h,g)||(f&&u(p,g)?h[g]=p[g]:h[g]=v("Symbol."+g)),h[g]}},b64b:function(i,o,a){var s=a("23e7"),l=a("7b0b"),u=a("df75"),c=a("d039"),f=c(function(){u(1)});s({target:"Object",stat:!0,forced:f},{keys:function(h){return u(l(h))}})},b727:function(i,o,a){var s=a("0366"),l=a("44ad"),u=a("7b0b"),c=a("50c4"),f=a("65f0"),d=[].push,h=function(p){var v=p==1,g=p==2,m=p==3,y=p==4,R=p==6,A=p==5||R;return function(x,S,_,M){for(var w=u(x),L=l(w),k=s(S,_,3),P=c(L.length),F=0,C=M||f,N=v?C(x,P):g?C(x,0):void 0,I,V;P>F;F++)if((A||F in L)&&(I=L[F],V=k(I,F,w),p)){if(v)N[F]=V;else if(V)switch(p){case 3:return!0;case 5:return I;case 6:return F;case 2:d.call(N,I)}else if(y)return!1}return R?-1:m||y?y:N}};i.exports={forEach:h(0),map:h(1),filter:h(2),some:h(3),every:h(4),find:h(5),findIndex:h(6)}},c04e:function(i,o,a){var s=a("861d");i.exports=function(l,u){if(!s(l))return l;var c,f;if(u&&typeof(c=l.toString)=="function"&&!s(f=c.call(l))||typeof(c=l.valueOf)=="function"&&!s(f=c.call(l))||!u&&typeof(c=l.toString)=="function"&&!s(f=c.call(l)))return f;throw TypeError("Can't convert object to primitive value")}},c430:function(i,o){i.exports=!1},c6b6:function(i,o){var a={}.toString;i.exports=function(s){return a.call(s).slice(8,-1)}},c6cd:function(i,o,a){var s=a("da84"),l=a("ce4e"),u="__core-js_shared__",c=s[u]||l(u,{});i.exports=c},c740:function(i,o,a){var s=a("23e7"),l=a("b727").findIndex,u=a("44d2"),c=a("ae40"),f="findIndex",d=!0,h=c(f);f in[]&&Array(1)[f](function(){d=!1}),s({target:"Array",proto:!0,forced:d||!h},{findIndex:function(v){return l(this,v,arguments.length>1?arguments[1]:void 0)}}),u(f)},c8ba:function(i,o){var a;a=function(){return this}();try{a=a||new Function("return this")()}catch{typeof window=="object"&&(a=window)}i.exports=a},c975:function(i,o,a){var s=a("23e7"),l=a("4d64").indexOf,u=a("a640"),c=a("ae40"),f=[].indexOf,d=!!f&&1/[1].indexOf(1,-0)<0,h=u("indexOf"),p=c("indexOf",{ACCESSORS:!0,1:0});s({target:"Array",proto:!0,forced:d||!h||!p},{indexOf:function(g){return d?f.apply(this,arguments)||0:l(this,g,arguments.length>1?arguments[1]:void 0)}})},ca84:function(i,o,a){var s=a("5135"),l=a("fc6a"),u=a("4d64").indexOf,c=a("d012");i.exports=function(f,d){var h=l(f),p=0,v=[],g;for(g in h)!s(c,g)&&s(h,g)&&v.push(g);for(;d.length>p;)s(h,g=d[p++])&&(~u(v,g)||v.push(g));return v}},caad:function(i,o,a){var s=a("23e7"),l=a("4d64").includes,u=a("44d2"),c=a("ae40"),f=c("indexOf",{ACCESSORS:!0,1:0});s({target:"Array",proto:!0,forced:!f},{includes:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}}),u("includes")},cc12:function(i,o,a){var s=a("da84"),l=a("861d"),u=s.document,c=l(u)&&l(u.createElement);i.exports=function(f){return c?u.createElement(f):{}}},ce4e:function(i,o,a){var s=a("da84"),l=a("9112");i.exports=function(u,c){try{l(s,u,c)}catch{s[u]=c}return c}},d012:function(i,o){i.exports={}},d039:function(i,o){i.exports=function(a){try{return!!a()}catch{return!0}}},d066:function(i,o,a){var s=a("428f"),l=a("da84"),u=function(c){return typeof c=="function"?c:void 0};i.exports=function(c,f){return arguments.length<2?u(s[c])||u(l[c]):s[c]&&s[c][f]||l[c]&&l[c][f]}},d1e7:function(i,o,a){var s={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,u=l&&!s.call({1:2},1);o.f=u?function(f){var d=l(this,f);return!!d&&d.enumerable}:s},d28b:function(i,o,a){var s=a("746f");s("iterator")},d2bb:function(i,o,a){var s=a("825a"),l=a("3bbe");i.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var u=!1,c={},f;try{f=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,f.call(c,[]),u=c instanceof Array}catch{}return function(h,p){return s(h),l(p),u?f.call(h,p):h.__proto__=p,h}}():void 0)},d3b7:function(i,o,a){var s=a("00ee"),l=a("6eeb"),u=a("b041");s||l(Object.prototype,"toString",u,{unsafe:!0})},d44e:function(i,o,a){var s=a("9bf2").f,l=a("5135"),u=a("b622"),c=u("toStringTag");i.exports=function(f,d,h){f&&!l(f=h?f:f.prototype,c)&&s(f,c,{configurable:!0,value:d})}},d58f:function(i,o,a){var s=a("1c0b"),l=a("7b0b"),u=a("44ad"),c=a("50c4"),f=function(d){return function(h,p,v,g){s(p);var m=l(h),y=u(m),R=c(m.length),A=d?R-1:0,x=d?-1:1;if(v<2)for(;;){if(A in y){g=y[A],A+=x;break}if(A+=x,d?A<0:R<=A)throw TypeError("Reduce of empty array with no initial value")}for(;d?A>=0:R>A;A+=x)A in y&&(g=p(g,y[A],A,m));return g}};i.exports={left:f(!1),right:f(!0)}},d784:function(i,o,a){a("ac1f");var s=a("6eeb"),l=a("d039"),u=a("b622"),c=a("9263"),f=a("9112"),d=u("species"),h=!l(function(){var y=/./;return y.exec=function(){var R=[];return R.groups={a:"7"},R},"".replace(y,"$<a>")!=="7"}),p=function(){return"a".replace(/./,"$0")==="$0"}(),v=u("replace"),g=function(){return/./[v]?/./[v]("a","$0")==="":!1}(),m=!l(function(){var y=/(?:)/,R=y.exec;y.exec=function(){return R.apply(this,arguments)};var A="ab".split(y);return A.length!==2||A[0]!=="a"||A[1]!=="b"});i.exports=function(y,R,A,x){var S=u(y),_=!l(function(){var F={};return F[S]=function(){return 7},""[y](F)!=7}),M=_&&!l(function(){var F=!1,C=/a/;return y==="split"&&(C={},C.constructor={},C.constructor[d]=function(){return C},C.flags="",C[S]=/./[S]),C.exec=function(){return F=!0,null},C[S](""),!F});if(!_||!M||y==="replace"&&!(h&&p&&!g)||y==="split"&&!m){var w=/./[S],L=A(S,""[y],function(F,C,N,I,V){return C.exec===c?_&&!V?{done:!0,value:w.call(C,N,I)}:{done:!0,value:F.call(N,C,I)}:{done:!1}},{REPLACE_KEEPS_$0:p,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:g}),k=L[0],P=L[1];s(String.prototype,y,k),s(RegExp.prototype,S,R==2?function(F,C){return P.call(F,this,C)}:function(F){return P.call(F,this)})}x&&f(RegExp.prototype[S],"sham",!0)}},d81d:function(i,o,a){var s=a("23e7"),l=a("b727").map,u=a("1dde"),c=a("ae40"),f=u("map"),d=c("map");s({target:"Array",proto:!0,forced:!f||!d},{map:function(p){return l(this,p,arguments.length>1?arguments[1]:void 0)}})},da84:function(i,o,a){(function(s){var l=function(u){return u&&u.Math==Math&&u};i.exports=l(typeof globalThis=="object"&&globalThis)||l(typeof window=="object"&&window)||l(typeof self=="object"&&self)||l(typeof s=="object"&&s)||Function("return this")()}).call(this,a("c8ba"))},dbb4:function(i,o,a){var s=a("23e7"),l=a("83ab"),u=a("56ef"),c=a("fc6a"),f=a("06cf"),d=a("8418");s({target:"Object",stat:!0,sham:!l},{getOwnPropertyDescriptors:function(p){for(var v=c(p),g=f.f,m=u(v),y={},R=0,A,x;m.length>R;)x=g(v,A=m[R++]),x!==void 0&&d(y,A,x);return y}})},dbf1:function(i,o,a){(function(s){a.d(o,"a",function(){return u});function l(){return typeof window<"u"?window.console:s.console}var u=l()}).call(this,a("c8ba"))},ddb0:function(i,o,a){var s=a("da84"),l=a("fdbc"),u=a("e260"),c=a("9112"),f=a("b622"),d=f("iterator"),h=f("toStringTag"),p=u.values;for(var v in l){var g=s[v],m=g&&g.prototype;if(m){if(m[d]!==p)try{c(m,d,p)}catch{m[d]=p}if(m[h]||c(m,h,v),l[v]){for(var y in u)if(m[y]!==u[y])try{c(m,y,u[y])}catch{m[y]=u[y]}}}}},df75:function(i,o,a){var s=a("ca84"),l=a("7839");i.exports=Object.keys||function(c){return s(c,l)}},e01a:function(i,o,a){var s=a("23e7"),l=a("83ab"),u=a("da84"),c=a("5135"),f=a("861d"),d=a("9bf2").f,h=a("e893"),p=u.Symbol;if(l&&typeof p=="function"&&(!("description"in p.prototype)||p().description!==void 0)){var v={},g=function(){var S=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),_=this instanceof g?new p(S):S===void 0?p():p(S);return S===""&&(v[_]=!0),_};h(g,p);var m=g.prototype=p.prototype;m.constructor=g;var y=m.toString,R=String(p("test"))=="Symbol(test)",A=/^Symbol\((.*)\)[^)]+$/;d(m,"description",{configurable:!0,get:function(){var S=f(this)?this.valueOf():this,_=y.call(S);if(c(v,S))return"";var M=R?_.slice(7,-1):_.replace(A,"$1");return M===""?void 0:M}}),s({global:!0,forced:!0},{Symbol:g})}},e163:function(i,o,a){var s=a("5135"),l=a("7b0b"),u=a("f772"),c=a("e177"),f=u("IE_PROTO"),d=Object.prototype;i.exports=c?Object.getPrototypeOf:function(h){return h=l(h),s(h,f)?h[f]:typeof h.constructor=="function"&&h instanceof h.constructor?h.constructor.prototype:h instanceof Object?d:null}},e177:function(i,o,a){var s=a("d039");i.exports=!s(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})},e260:function(i,o,a){var s=a("fc6a"),l=a("44d2"),u=a("3f8c"),c=a("69f3"),f=a("7dd0"),d="Array Iterator",h=c.set,p=c.getterFor(d);i.exports=f(Array,"Array",function(v,g){h(this,{type:d,target:s(v),index:0,kind:g})},function(){var v=p(this),g=v.target,m=v.kind,y=v.index++;return!g||y>=g.length?(v.target=void 0,{value:void 0,done:!0}):m=="keys"?{value:y,done:!1}:m=="values"?{value:g[y],done:!1}:{value:[y,g[y]],done:!1}},"values"),u.Arguments=u.Array,l("keys"),l("values"),l("entries")},e439:function(i,o,a){var s=a("23e7"),l=a("d039"),u=a("fc6a"),c=a("06cf").f,f=a("83ab"),d=l(function(){c(1)}),h=!f||d;s({target:"Object",stat:!0,forced:h,sham:!f},{getOwnPropertyDescriptor:function(v,g){return c(u(v),g)}})},e538:function(i,o,a){var s=a("b622");o.f=s},e893:function(i,o,a){var s=a("5135"),l=a("56ef"),u=a("06cf"),c=a("9bf2");i.exports=function(f,d){for(var h=l(d),p=c.f,v=u.f,g=0;g<h.length;g++){var m=h[g];s(f,m)||p(f,m,v(d,m))}}},e8b5:function(i,o,a){var s=a("c6b6");i.exports=Array.isArray||function(u){return s(u)=="Array"}},e95a:function(i,o,a){var s=a("b622"),l=a("3f8c"),u=s("iterator"),c=Array.prototype;i.exports=function(f){return f!==void 0&&(l.Array===f||c[u]===f)}},f5df:function(i,o,a){var s=a("00ee"),l=a("c6b6"),u=a("b622"),c=u("toStringTag"),f=l(function(){return arguments}())=="Arguments",d=function(h,p){try{return h[p]}catch{}};i.exports=s?l:function(h){var p,v,g;return h===void 0?"Undefined":h===null?"Null":typeof(v=d(p=Object(h),c))=="string"?v:f?l(p):(g=l(p))=="Object"&&typeof p.callee=="function"?"Arguments":g}},f772:function(i,o,a){var s=a("5692"),l=a("90e3"),u=s("keys");i.exports=function(c){return u[c]||(u[c]=l(c))}},fb15:function(i,o,a){if(a.r(o),typeof window<"u"){var s=window.document.currentScript;{var l=a("8875");s=l(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:l})}var u=s&&s.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);u&&(a.p=u[1])}a("99af"),a("4de4"),a("4160"),a("c975"),a("d81d"),a("a434"),a("159b"),a("a4d3"),a("e439"),a("dbb4"),a("b64b");function c(me,Me,Ce){return Me in me?Object.defineProperty(me,Me,{value:Ce,enumerable:!0,configurable:!0,writable:!0}):me[Me]=Ce,me}function f(me,Me){var Ce=Object.keys(me);if(Object.getOwnPropertySymbols){var Qe=Object.getOwnPropertySymbols(me);Me&&(Qe=Qe.filter(function(ot){return Object.getOwnPropertyDescriptor(me,ot).enumerable})),Ce.push.apply(Ce,Qe)}return Ce}function d(me){for(var Me=1;Me<arguments.length;Me++){var Ce=arguments[Me]!=null?arguments[Me]:{};Me%2?f(Object(Ce),!0).forEach(function(Qe){c(me,Qe,Ce[Qe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(me,Object.getOwnPropertyDescriptors(Ce)):f(Object(Ce)).forEach(function(Qe){Object.defineProperty(me,Qe,Object.getOwnPropertyDescriptor(Ce,Qe))})}return me}function h(me){if(Array.isArray(me))return me}a("e01a"),a("d28b"),a("e260"),a("d3b7"),a("3ca3"),a("ddb0");function p(me,Me){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(me)))){var Ce=[],Qe=!0,ot=!1,ke=void 0;try{for(var je=me[Symbol.iterator](),tt;!(Qe=(tt=je.next()).done)&&(Ce.push(tt.value),!(Me&&Ce.length===Me));Qe=!0);}catch(Rt){ot=!0,ke=Rt}finally{try{!Qe&&je.return!=null&&je.return()}finally{if(ot)throw ke}}return Ce}}a("a630"),a("fb6a"),a("b0c0"),a("25f0");function v(me,Me){(Me==null||Me>me.length)&&(Me=me.length);for(var Ce=0,Qe=new Array(Me);Ce<Me;Ce++)Qe[Ce]=me[Ce];return Qe}function g(me,Me){if(me){if(typeof me=="string")return v(me,Me);var Ce=Object.prototype.toString.call(me).slice(8,-1);if(Ce==="Object"&&me.constructor&&(Ce=me.constructor.name),Ce==="Map"||Ce==="Set")return Array.from(me);if(Ce==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ce))return v(me,Me)}}function m(){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 y(me,Me){return h(me)||p(me,Me)||g(me,Me)||m()}function R(me){if(Array.isArray(me))return v(me)}function A(me){if(typeof Symbol<"u"&&Symbol.iterator in Object(me))return Array.from(me)}function x(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function S(me){return R(me)||A(me)||g(me)||x()}var _=a("a352"),M=a.n(_);function w(me){me.parentElement!==null&&me.parentElement.removeChild(me)}function L(me,Me,Ce){var Qe=Ce===0?me.children[0]:me.children[Ce-1].nextSibling;me.insertBefore(Me,Qe)}var k=a("dbf1");a("13d5"),a("4fad"),a("ac1f"),a("5319");function P(me){var Me=Object.create(null);return function(Qe){var ot=Me[Qe];return ot||(Me[Qe]=me(Qe))}}var F=/-(\w)/g,C=P(function(me){return me.replace(F,function(Me,Ce){return Ce.toUpperCase()})});a("5db7"),a("73d9");var N=["Start","Add","Remove","Update","End"],I=["Choose","Unchoose","Sort","Filter","Clone"],V=["Move"],W=[V,N,I].flatMap(function(me){return me}).map(function(me){return"on".concat(me)}),Z={manage:V,manageAndEmit:N,emit:I};function re(me){return W.indexOf(me)!==-1}a("caad"),a("2ca0");var Y=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function B(me){return Y.includes(me)}function Q(me){return["transition-group","TransitionGroup"].includes(me)}function K(me){return["id","class","role","style"].includes(me)||me.startsWith("data-")||me.startsWith("aria-")||me.startsWith("on")}function q(me){return me.reduce(function(Me,Ce){var Qe=y(Ce,2),ot=Qe[0],ke=Qe[1];return Me[ot]=ke,Me},{})}function j(me){var Me=me.$attrs,Ce=me.componentData,Qe=Ce===void 0?{}:Ce,ot=q(Object.entries(Me).filter(function(ke){var je=y(ke,2),tt=je[0];return je[1],K(tt)}));return d(d({},ot),Qe)}function de(me){var Me=me.$attrs,Ce=me.callBackBuilder,Qe=q(G(Me));Object.entries(Ce).forEach(function(ke){var je=y(ke,2),tt=je[0],Rt=je[1];Z[tt].forEach(function(dt){Qe["on".concat(dt)]=Rt(dt)})});var ot="[data-draggable]".concat(Qe.draggable||"");return d(d({},Qe),{},{draggable:ot})}function G(me){return Object.entries(me).filter(function(Me){var Ce=y(Me,2),Qe=Ce[0];return Ce[1],!K(Qe)}).map(function(Me){var Ce=y(Me,2),Qe=Ce[0],ot=Ce[1];return[C(Qe),ot]}).filter(function(Me){var Ce=y(Me,2),Qe=Ce[0];return Ce[1],!re(Qe)})}a("c740");function Ae(me,Me){if(!(me instanceof Me))throw new TypeError("Cannot call a class as a function")}function ce(me,Me){for(var Ce=0;Ce<Me.length;Ce++){var Qe=Me[Ce];Qe.enumerable=Qe.enumerable||!1,Qe.configurable=!0,"value"in Qe&&(Qe.writable=!0),Object.defineProperty(me,Qe.key,Qe)}}function fe(me,Me,Ce){return Me&&ce(me.prototype,Me),me}var le=function(Me){var Ce=Me.el;return Ce},$=function(Me,Ce){return Me.__draggable_context=Ce},X=function(Me){return Me.__draggable_context},J=function(){function me(Me){var Ce=Me.nodes,Qe=Ce.header,ot=Ce.default,ke=Ce.footer,je=Me.root,tt=Me.realList;Ae(this,me),this.defaultNodes=ot,this.children=[].concat(S(Qe),S(ot),S(ke)),this.externalComponent=je.externalComponent,this.rootTransition=je.transition,this.tag=je.tag,this.realList=tt}return fe(me,[{key:"render",value:function(Ce,Qe){var ot=this.tag,ke=this.children,je=this._isRootComponent,tt=je?{default:function(){return ke}}:ke;return Ce(ot,Qe,tt)}},{key:"updated",value:function(){var Ce=this.defaultNodes,Qe=this.realList;Ce.forEach(function(ot,ke){$(le(ot),{element:Qe[ke],index:ke})})}},{key:"getUnderlyingVm",value:function(Ce){return X(Ce)}},{key:"getVmIndexFromDomIndex",value:function(Ce,Qe){var ot=this.defaultNodes,ke=ot.length,je=Qe.children,tt=je.item(Ce);if(tt===null)return ke;var Rt=X(tt);if(Rt)return Rt.index;if(ke===0)return 0;var dt=le(ot[0]),vt=S(je).findIndex(function(wt){return wt===dt});return Ce<vt?0:ke}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),me}(),se=a("8bbf");function ee(me,Me){var Ce=me[Me];return Ce?Ce():[]}function ne(me){var Me=me.$slots,Ce=me.realList,Qe=me.getKey,ot=Ce||[],ke=["header","footer"].map(function(wt){return ee(Me,wt)}),je=y(ke,2),tt=je[0],Rt=je[1],dt=Me.item;if(!dt)throw new Error("draggable element must have an item slot");var vt=ot.flatMap(function(wt,Dt){return dt({element:wt,index:Dt}).map(function(Jt){return Jt.key=Qe(wt),Jt.props=d(d({},Jt.props||{}),{},{"data-draggable":!0}),Jt})});if(vt.length!==ot.length)throw new Error("Item slot must have only one child");return{header:tt,footer:Rt,default:vt}}function oe(me){var Me=Q(me),Ce=!B(me)&&!Me;return{transition:Me,externalComponent:Ce,tag:Ce?Object(se.resolveComponent)(me):Me?se.TransitionGroup:me}}function he(me){var Me=me.$slots,Ce=me.tag,Qe=me.realList,ot=me.getKey,ke=ne({$slots:Me,realList:Qe,getKey:ot}),je=oe(Ce);return new J({nodes:ke,root:je,realList:Qe})}function ue(me,Me){var Ce=this;Object(se.nextTick)(function(){return Ce.$emit(me.toLowerCase(),Me)})}function ge(me){var Me=this;return function(Ce,Qe){if(Me.realList!==null)return Me["onDrag".concat(me)](Ce,Qe)}}function Re(me){var Me=this,Ce=ge.call(this,me);return function(Qe,ot){Ce.call(Me,Qe,ot),ue.call(Me,me,Qe)}}var Ee=null,Ne={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(Me){return Me}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},He=["update:modelValue","change"].concat(S([].concat(S(Z.manageAndEmit),S(Z.emit)).map(function(me){return me.toLowerCase()}))),Ve=Object(se.defineComponent)({name:"draggable",inheritAttrs:!1,props:Ne,emits:He,data:function(){return{error:!1}},render:function(){try{this.error=!1;var Me=this.$slots,Ce=this.$attrs,Qe=this.tag,ot=this.componentData,ke=this.realList,je=this.getKey,tt=he({$slots:Me,tag:Qe,realList:ke,getKey:je});this.componentStructure=tt;var Rt=j({$attrs:Ce,componentData:ot});return tt.render(se.h,Rt)}catch(dt){return this.error=!0,Object(se.h)("pre",{style:{color:"red"}},dt.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&k.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var Me=this;if(!this.error){var Ce=this.$attrs,Qe=this.$el,ot=this.componentStructure;ot.updated();var ke=de({$attrs:Ce,callBackBuilder:{manageAndEmit:function(Rt){return Re.call(Me,Rt)},emit:function(Rt){return ue.bind(Me,Rt)},manage:function(Rt){return ge.call(Me,Rt)}}}),je=Qe.nodeType===1?Qe:Qe.parentElement;this._sortable=new M.a(je,ke),this.targetDomElement=je,je.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var Me=this.list;return Me||this.modelValue},getKey:function(){var Me=this.itemKey;return typeof Me=="function"?Me:function(Ce){return Ce[Me]}}},watch:{$attrs:{handler:function(Me){var Ce=this._sortable;Ce&&G(Me).forEach(function(Qe){var ot=y(Qe,2),ke=ot[0],je=ot[1];Ce.option(ke,je)})},deep:!0}},methods:{getUnderlyingVm:function(Me){return this.componentStructure.getUnderlyingVm(Me)||null},getUnderlyingPotencialDraggableComponent:function(Me){return Me.__draggable_component__},emitChanges:function(Me){var Ce=this;Object(se.nextTick)(function(){return Ce.$emit("change",Me)})},alterList:function(Me){if(this.list){Me(this.list);return}var Ce=S(this.modelValue);Me(Ce),this.$emit("update:modelValue",Ce)},spliceList:function(){var Me=arguments,Ce=function(ot){return ot.splice.apply(ot,S(Me))};this.alterList(Ce)},updatePosition:function(Me,Ce){var Qe=function(ke){return ke.splice(Ce,0,ke.splice(Me,1)[0])};this.alterList(Qe)},getRelatedContextFromMoveEvent:function(Me){var Ce=Me.to,Qe=Me.related,ot=this.getUnderlyingPotencialDraggableComponent(Ce);if(!ot)return{component:ot};var ke=ot.realList,je={list:ke,component:ot};if(Ce!==Qe&&ke){var tt=ot.getUnderlyingVm(Qe)||{};return d(d({},tt),je)}return je},getVmIndexFromDomIndex:function(Me){return this.componentStructure.getVmIndexFromDomIndex(Me,this.targetDomElement)},onDragStart:function(Me){this.context=this.getUnderlyingVm(Me.item),Me.item._underlying_vm_=this.clone(this.context.element),Ee=Me.item},onDragAdd:function(Me){var Ce=Me.item._underlying_vm_;if(Ce!==void 0){w(Me.item);var Qe=this.getVmIndexFromDomIndex(Me.newIndex);this.spliceList(Qe,0,Ce);var ot={element:Ce,newIndex:Qe};this.emitChanges({added:ot})}},onDragRemove:function(Me){if(L(this.$el,Me.item,Me.oldIndex),Me.pullMode==="clone"){w(Me.clone);return}var Ce=this.context,Qe=Ce.index,ot=Ce.element;this.spliceList(Qe,1);var ke={element:ot,oldIndex:Qe};this.emitChanges({removed:ke})},onDragUpdate:function(Me){w(Me.item),L(Me.from,Me.item,Me.oldIndex);var Ce=this.context.index,Qe=this.getVmIndexFromDomIndex(Me.newIndex);this.updatePosition(Ce,Qe);var ot={element:this.context.element,oldIndex:Ce,newIndex:Qe};this.emitChanges({moved:ot})},computeFutureIndex:function(Me,Ce){if(!Me.element)return 0;var Qe=S(Ce.to.children).filter(function(tt){return tt.style.display!=="none"}),ot=Qe.indexOf(Ce.related),ke=Me.component.getVmIndexFromDomIndex(ot),je=Qe.indexOf(Ee)!==-1;return je||!Ce.willInsertAfter?ke:ke+1},onDragMove:function(Me,Ce){var Qe=this.move,ot=this.realList;if(!Qe||!ot)return!0;var ke=this.getRelatedContextFromMoveEvent(Me),je=this.computeFutureIndex(ke,Me),tt=d(d({},this.context),{},{futureIndex:je}),Rt=d(d({},Me),{},{relatedContext:ke,draggedContext:tt});return Qe(Rt,Ce)},onDragEnd:function(){Ee=null}}}),we=Ve;o.default=we},fb6a:function(i,o,a){var s=a("23e7"),l=a("861d"),u=a("e8b5"),c=a("23cb"),f=a("50c4"),d=a("fc6a"),h=a("8418"),p=a("b622"),v=a("1dde"),g=a("ae40"),m=v("slice"),y=g("slice",{ACCESSORS:!0,0:0,1:2}),R=p("species"),A=[].slice,x=Math.max;s({target:"Array",proto:!0,forced:!m||!y},{slice:function(_,M){var w=d(this),L=f(w.length),k=c(_,L),P=c(M===void 0?L:M,L),F,C,N;if(u(w)&&(F=w.constructor,typeof F=="function"&&(F===Array||u(F.prototype))?F=void 0:l(F)&&(F=F[R],F===null&&(F=void 0)),F===Array||F===void 0))return A.call(w,k,P);for(C=new(F===void 0?Array:F)(x(P-k,0)),N=0;k<P;k++,N++)k in w&&h(C,N,w[k]);return C.length=N,C}})},fc6a:function(i,o,a){var s=a("44ad"),l=a("1d80");i.exports=function(u){return s(l(u))}},fdbc:function(i,o){i.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(i,o,a){var s=a("4930");i.exports=s&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(Dee);var yWe=Dee.exports;const HP=HS(yWe),AWe={class:"add-slide"},RWe={class:"select-btn"},bWe={class:"thumbnail-container"},xWe=["data-section-id"],SWe=["id","value"],wWe={key:1,class:"text"},MWe={class:"text-content"},LWe=["onMousedown"],TWe={class:"page-number"},_We=Xe({__name:"index",setup(e){const t=ht(),n=lt(),r=pl(),{selectedSlidesIndex:i,thumbnailsFocus:o}=De(t),{slides:a,slideIndex:s,currentSlide:l}=De(n),{ctrlKeyState:u,shiftKeyState:c}=De(r),{slidesLoadLimit:f}=py(),d=Se(()=>[...i.value,s.value]),h=pe(!1),p=Se(()=>a.value.some(de=>de.sectionTag)),{copySlide:v,pasteSlide:g,createSlide:m,createSlideByTemplate:y,copyAndPasteSlide:R,deleteSlide:A,cutSlide:x,selectAllSlide:S,sortSlides:_}=gc(),{createSection:M,removeSection:w,removeAllSection:L,removeSectionSlides:k,updateSectionTitle:P}=LXe(),F=pe();_t(()=>s.value,()=>{d.value.length&&t.updateSelectedSlidesIndex([]),Ir(()=>{var G,Ae;const de=(Ae=(G=F.value)==null?void 0:G.$el)==null?void 0:Ae.querySelector(".thumbnail-item.active");F.value&&de&&!V2e(de,F.value.$el)&&setTimeout(()=>{de.scrollIntoView({behavior:"smooth"})},100)})},{immediate:!0});const C=de=>{t.setActiveElementIdList([]),s.value!==de&&n.updateSlideIndex(de)},N=(de,G)=>{if(Z.value)return;const Ae=d.value.length>1;if(!(Ae&&d.value.includes(G)&&de.button!==0))if(u.value)if(s.value===G){if(!Ae)return;const ce=d.value.filter(fe=>fe!==G);t.updateSelectedSlidesIndex(ce),C(d.value[0])}else if(d.value.includes(G)){const ce=d.value.filter(fe=>fe!==G);t.updateSelectedSlidesIndex(ce)}else{const ce=[...d.value,G];t.updateSelectedSlidesIndex(ce)}else if(c.value){if(s.value===G&&!Ae)return;let ce=Math.min(...d.value),fe=G;G<ce&&(fe=Math.max(...d.value),ce=G);const le=[];for(let $=ce;$<=fe;$++)le.push($);t.updateSelectedSlidesIndex(le)}else t.updateSelectedSlidesIndex([]),C(G)},I=de=>{o.value!==de&&(t.setThumbnailsFocus(de),de||t.updateSelectedSlidesIndex([]))},V=de=>{const{newIndex:G,oldIndex:Ae}=de;G===void 0||Ae===void 0||G===Ae||_(G,Ae)},W=()=>{t.setNotesPanelState(!0)},Z=pe(""),re=de=>{t.setDisableHotkeysState(!0),Z.value=de||"default",Ir(()=>{document.querySelector(`#section-title-input-${de||"default"}`).focus()})},Y=de=>{const G=de.target.value;P(Z.value,G),Z.value="",t.setDisableHotkeysState(!1)},B=de=>{const G=de.dataset.sectionId;return[{text:"删除节",handler:()=>w(G)},{text:"删除节和幻灯片",handler:()=>{t.setActiveElementIdList([]),k(G)}},{text:"删除所有节",handler:L},{text:"重命名节",handler:()=>re(G)}]},{enterScreening:Q,enterScreeningFromStart:K}=ld(),q=()=>[{text:"粘贴",subText:"Ctrl + V",handler:g},{text:"全选",subText:"Ctrl + A",handler:S},{text:"新建页面",subText:"Enter",handler:m},{text:"幻灯片放映",subText:"F5",handler:K}],j=()=>[{text:"剪切",subText:"Ctrl + X",handler:x},{text:"复制",subText:"Ctrl + C",handler:v},{text:"粘贴",subText:"Ctrl + V",handler:g},{text:"全选",subText:"Ctrl + A",handler:S},{divider:!0},{text:"新建页面",subText:"Enter",handler:m},{text:"复制页面",subText:"Ctrl + D",handler:R},{text:"删除页面",subText:"Delete",handler:()=>A()},{text:"增加节",handler:M,disable:!!l.value.sectionTag},{divider:!0},{text:"从当前放映",subText:"Shift + F5",handler:Q}];return(de,G)=>{const Ae=xe("IconPlus"),ce=xe("IconDown"),fe=Pn("contextmenu"),le=Pn("click-outside");return Ge((U(),te("div",{class:"thumbnails",onMousedown:G[7]||(G[7]=()=>I(!0))},[D("div",AWe,[D("div",{class:"btn",onClick:G[0]||(G[0]=$=>z(m)())},[O(Ae,{class:"icon"}),Ue("添加幻灯片")]),O(Nt,{trigger:"click",placement:"bottom-start",value:h.value,"onUpdate:value":G[2]||(G[2]=$=>h.value=$),center:""},{content:ie(()=>[O(IXe,{onSelect:G[1]||(G[1]=$=>{z(y)($),h.value=!1})})]),default:ie(()=>[D("div",RWe,[O(ce)])]),_:1},8,["value"])]),O(z(HP),{class:"thumbnail-list",ref_key:"thumbnailsRef",ref:F,modelValue:z(a),animation:200,scroll:!0,scrollSensitivity:50,disabled:Z.value,onEnd:V,itemKey:"id"},{item:ie(({element:$,index:X})=>{var J,se,ee,ne,oe;return[D("div",bWe,[$.sectionTag||p.value&&X===0?Ge((U(),te("div",{key:0,class:"section-title","data-section-id":((J=$==null?void 0:$.sectionTag)==null?void 0:J.id)||""},[Z.value===((se=$==null?void 0:$.sectionTag)==null?void 0:se.id)||X===0&&Z.value==="default"?(U(),te("input",{key:0,id:`section-title-input-${((ee=$==null?void 0:$.sectionTag)==null?void 0:ee.id)||"default"}`,type:"text",value:((ne=$==null?void 0:$.sectionTag)==null?void 0:ne.title)||"",placeholder:"输入节名称",onBlur:G[3]||(G[3]=he=>Y(he)),onKeydown:G[4]||(G[4]=du(Ft(he=>Y(he),["stop"]),["enter"]))},null,40,SWe)):(U(),te("span",wWe,[D("div",MWe,pt($!=null&&$.sectionTag?((oe=$==null?void 0:$.sectionTag)==null?void 0:oe.title)||"无标题节":"默认节"),1)]))],8,xWe)),[[fe,B]]):Ye("",!0),Ge((U(),te("div",{class:ze(["thumbnail-item",{active:z(s)===X,selected:d.value.includes(X)}]),onMousedown:he=>N(he,X),onDblclick:G[6]||(G[6]=he=>z(Q)())},[D("div",{class:ze(["label",{"offset-left":X>=99}])},pt(z(hg)(X+1,2)),3),O(dl,{class:"thumbnail",slide:$,size:120,visible:X<z(f)},null,8,["slide","visible"]),$.notes&&$.notes.length?(U(),te("div",{key:0,class:"note-flag",onClick:G[5]||(G[5]=he=>W())},pt($.notes.length),1)):Ye("",!0)],42,LWe)),[[fe,j]])])]}),_:1},8,["modelValue","disabled"]),D("div",TWe,"幻灯片 "+pt(z(s)+1)+" / "+pt(z(a).length),1)],32)),[[le,()=>I(!1)],[fe,q]])}}}),OWe=Be(_We,[["__scopeId","data-v-95c2a62e"]]);function KP(e,t){return t===void 0&&(t=15),+parseFloat(Number(e).toPrecision(t))}function yu(e){var t=e.toString().split(/[eE]/),n=(t[0].split(".")[1]||"").length-+(t[1]||0);return n>0?n:0}function L2(e){if(e.toString().indexOf("e")===-1)return Number(e.toString().replace(".",""));var t=yu(e);return t>0?KP(Number(e)*Math.pow(10,t)):Number(e)}function P_(e){qee&&(e>Number.MAX_SAFE_INTEGER||e<Number.MIN_SAFE_INTEGER)&&console.warn(e+" is beyond boundary when transfer to integer, the results may not be accurate")}function r4(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=t[0],i=t.slice(1);return i.reduce(function(o,a){return e(o,a)},r)}}var nd=r4(function(e,t){var n=L2(e),r=L2(t),i=yu(e)+yu(t),o=n*r;return P_(o),o/Math.pow(10,i)}),kWe=r4(function(e,t){var n=Math.pow(10,Math.max(yu(e),yu(t)));return(nd(e,n)+nd(t,n))/n}),PWe=r4(function(e,t){var n=Math.pow(10,Math.max(yu(e),yu(t)));return(nd(e,n)-nd(t,n))/n}),jee=r4(function(e,t){var n=L2(e),r=L2(t);return P_(n),P_(r),nd(n/r,KP(Math.pow(10,yu(t)-yu(e))))});function CWe(e,t){var n=Math.pow(10,t),r=jee(Math.round(Math.abs(nd(e,n))),n);return e<0&&r!==0&&(r=nd(r,-1)),r}var qee=!0;function IWe(e){e===void 0&&(e=!0),qee=e}var NWe={strip:KP,plus:kWe,minus:PWe,times:nd,divide:jee,round:CWe,digitLength:yu,float2Fixed:L2,enableBoundaryChecking:IWe};const FWe={class:"bar"},EWe=["data-tooltip"],XWe=["data-tooltip"],WWe=["data-tooltip"],VWe=Xe({__name:"Slider",props:{value:{},disabled:{type:Boolean,default:!1},min:{default:0},max:{default:100},step:{default:1},range:{type:Boolean,default:!1}},emits:["update:value"],setup(e,{emit:t}){const n=A=>A.getBoundingClientRect().left,r=e,i=t,o=pe(),a=pe(0),s=pe(0),l=pe(0),u=pe("end"),c=A=>{let x=A/100*(r.max-r.min);if(r.step>=1)x=Math.fround(x);else{const S=r.step.toString(),_=S.match(/^[0.]*([1-9])/);if(_){const M=_[1],w=S.indexOf(M)-1;if(w>0){const L=Math.pow(10,w);x=Math.fround(x*L)/L}}}return NWe.plus(x,r.min)},f=Se(()=>c(a.value)),d=Se(()=>c(s.value)),h=Se(()=>c(l.value));_t(()=>r.value,()=>{r.max!==r.min&&(typeof r.value=="number"?a.value=(r.value-r.min)/(r.max-r.min)*100:(s.value=(r.value[0]-r.min)/(r.max-r.min)*100,l.value=(r.value[1]-r.min)/(r.max-r.min)*100))},{immediate:!0});const p=A=>{if(!o.value)return 0;let S=(("clientX"in A?A.clientX:A.changedTouches[0].clientX)-n(o.value))/o.value.clientWidth;S=Math.max(S,0),S=Math.min(S,1);let _=S*100;const M=r.step/(r.max-r.min)*100,w=_%M;return w>0&&(w<=M/2?_=_-w:_=_-w+M),_},v=A=>{const x=p(A);u.value==="start"?s.value=x:l.value=x},g=A=>{m(A);const x=c(a.value),S=r.value,_=u.value==="start"?[x,S[1]]:[S[0],x];_[0]>_[1]&&([_[0],_[1]]=[_[1],_[0]]),i("update:value",_),document.removeEventListener("mousemove",v),document.removeEventListener("touchmove",v),document.removeEventListener("mouseup",g),document.removeEventListener("touchend",g)},m=A=>{a.value=p(A)},y=A=>{m(A);const x=c(a.value);i("update:value",x),document.removeEventListener("mousemove",m),document.removeEventListener("touchmove",m),document.removeEventListener("mouseup",y),document.removeEventListener("touchend",y)},R=A=>{if(!r.disabled)if(r.range){const x=p(A);Math.abs(x-s.value)<Math.abs(x-l.value)?u.value="start":u.value="end",document.addEventListener("mousemove",v),document.addEventListener("touchmove",v),document.addEventListener("mouseup",g),document.addEventListener("touchend",g)}else document.addEventListener("mousemove",m),document.addEventListener("touchmove",m),document.addEventListener("mouseup",y),document.addEventListener("touchend",y)};return(A,x)=>(U(),te("div",{class:ze(["slider",{disabled:A.disabled}]),ref_key:"sliderRef",ref:o,onMousedown:x[0]||(x[0]=S=>R(S))},[D("div",FWe,[A.range?(U(),te(We,{key:1},[D("div",{class:"track",style:Le({width:`${l.value-s.value}%`,left:`${s.value}%`})},null,4),D("div",{class:"thumb",style:Le({left:`${s.value}%`}),"data-tooltip":d.value},null,12,XWe),D("div",{class:"thumb",style:Le({left:`${l.value}%`}),"data-tooltip":h.value},null,12,WWe)],64)):(U(),te(We,{key:0},[D("div",{class:"track",style:Le({width:`${a.value}%`})},null,4),D("div",{class:"thumb",style:Le({left:`${a.value}%`}),"data-tooltip":f.value},null,12,EWe)],64))])],34))}}),Ki=Be(VWe,[["__scopeId","data-v-a7428be4"]]),DWe=e=>(en("data-v-c3b27b40"),e=e(),tn(),e),UWe={class:"element-opacity"},BWe={class:"row"},YWe=DWe(()=>D("div",{style:{width:"40%"}},"不透明度:",-1)),ZWe=Xe({__name:"ElementOpacity",setup(e){const t=lt(),{handleElement:n}=De(ht()),r=pe(1);_t(n,()=>{n.value&&(r.value="opacity"in n.value&&n.value.opacity!==void 0?n.value.opacity:1)},{deep:!0,immediate:!0});const{addHistorySnapshot:i}=nn(),o=a=>{if(!n.value)return;const s={opacity:a};t.updateElement({id:n.value.id,props:s}),i()};return(a,s)=>(U(),te("div",UWe,[D("div",BWe,[YWe,O(Ki,{min:0,max:1,step:.1,value:r.value,"onUpdate:value":s[0]||(s[0]=l=>o(l)),style:{width:"60%"}},null,8,["value"])])]))}}),ete=Be(ZWe,[["__scopeId","data-v-c3b27b40"]]),QWe={width:"100%",height:"100%",viewBox:"0 0 100 10"},HWe=["x1","x2","stroke","stroke-width","stroke-dasharray","marker-start","marker-end"],ms=Xe({__name:"SVGLine",props:{width:{default:2},color:{default:"#333"},markers:{},type:{},padding:{default:0}},setup(e){const t=e,n=pe("");Ht(()=>{n.value=on()});const r=Se(()=>{const i=t.width;return t.type==="dashed"?i<=8?`${i*5} ${i*2.5}`:`${i*5} ${i*1.5}`:t.type==="dotted"?i<=8?`${i*1.8} ${i*1.6}`:`${i*1.5} ${i*1.2}`:"0 0"});return(i,o)=>(U(),te("svg",QWe,[D("defs",null,[i.markers&&i.markers[0]?(U(),_e(Kf,{key:0,id:n.value,position:"start",type:i.markers[0],color:i.color,baseSize:i.width},null,8,["id","type","color","baseSize"])):Ye("",!0),i.markers&&i.markers[1]?(U(),_e(Kf,{key:1,id:n.value,position:"end",type:i.markers[1],color:i.color,baseSize:i.width},null,8,["id","type","color","baseSize"])):Ye("",!0)]),D("line",{x1:i.padding,y1:5,x2:100-i.padding,y2:5,stroke:i.color,"stroke-width":i.width,"stroke-dasharray":r.value,"marker-start":i.markers&&i.markers[0]?`url(#${n.value}-${i.markers[0]}-start)`:"","marker-end":i.markers&&i.markers[1]?`url(#${n.value}-${i.markers[1]}-end)`:""},null,8,HWe)]))}}),KWe={class:"color-block"},GWe=Xe({__name:"ColorButton",props:{color:{}},setup(e){return(t,n)=>{const r=xe("IconPlatte");return U(),_e(et,{class:"color-btn"},{default:ie(()=>[D("div",KWe,[D("div",{class:"content",style:Le({backgroundColor:t.color})},null,4)]),O(r,{class:"color-btn-icon"})]),_:1})}}}),Gr=Be(GWe,[["__scopeId","data-v-53175c6f"]]);function zWe(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;const n=document.implementation.createHTMLDocument(),r=n.createElement("base"),i=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(i),t&&(r.href=t),i.href=e,i.href}const JWe=(()=>{let e=0;const t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function lc(e){const t=[];for(let n=0,r=e.length;n<r;n++)t.push(e[n]);return t}function SS(e,t){const r=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return r?parseFloat(r.replace("px","")):0}function $We(e){const t=SS(e,"border-left-width"),n=SS(e,"border-right-width");return e.clientWidth+t+n}function jWe(e){const t=SS(e,"border-top-width"),n=SS(e,"border-bottom-width");return e.clientHeight+t+n}function tte(e,t={}){const n=t.width||$We(e),r=t.height||jWe(e);return{width:n,height:r}}function qWe(){let e,t;try{t=process}catch{}const n=t&&t.env?t.env.devicePixelRatio:null;return n&&(e=parseInt(n,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}const ba=16384;function eVe(e){(e.width>ba||e.height>ba)&&(e.width>ba&&e.height>ba?e.width>e.height?(e.height*=ba/e.width,e.width=ba):(e.width*=ba/e.height,e.height=ba):e.width>ba?(e.height*=ba/e.width,e.width=ba):(e.width*=ba/e.height,e.height=ba))}function wS(e){return new Promise((t,n)=>{const r=new Image;r.decode=()=>t(r),r.onload=()=>t(r),r.onerror=n,r.crossOrigin="anonymous",r.decoding="async",r.src=e})}async function tVe(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function nVe(e,t,n){const r="http://www.w3.org/2000/svg",i=document.createElementNS(r,"svg"),o=document.createElementNS(r,"foreignObject");return i.setAttribute("width",`${t}`),i.setAttribute("height",`${n}`),i.setAttribute("viewBox",`0 0 ${t} ${n}`),o.setAttribute("width","100%"),o.setAttribute("height","100%"),o.setAttribute("x","0"),o.setAttribute("y","0"),o.setAttribute("externalResourcesRequired","true"),i.appendChild(o),o.appendChild(e),tVe(i)}const ua=(e,t)=>{if(e instanceof t)return!0;const n=Object.getPrototypeOf(e);return n===null?!1:n.constructor.name===t.name||ua(n,t)};function rVe(e){const t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function iVe(e){return lc(e).map(t=>{const n=e.getPropertyValue(t),r=e.getPropertyPriority(t);return`${t}: ${n}${r?" !important":""};`}).join(" ")}function oVe(e,t,n){const r=`.${e}:${t}`,i=n.cssText?rVe(n):iVe(n);return document.createTextNode(`${r}{${i}}`)}function nB(e,t,n){const r=window.getComputedStyle(e,n),i=r.getPropertyValue("content");if(i===""||i==="none")return;const o=JWe();try{t.className=`${t.className} ${o}`}catch{return}const a=document.createElement("style");a.appendChild(oVe(o,n,r)),t.appendChild(a)}function aVe(e,t){nB(e,t,":before"),nB(e,t,":after")}const rB="application/font-woff",iB="image/jpeg",sVe={woff:rB,woff2:rB,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:iB,jpeg:iB,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function lVe(e){const t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function GP(e){const t=lVe(e).toLowerCase();return sVe[t]||""}function uVe(e){return e.split(/,/)[1]}function C_(e){return e.search(/^(data:)/)!==-1}function cVe(e,t){return`data:${t};base64,${e}`}async function nte(e,t,n){const r=await fetch(e,t);if(r.status===404)throw new Error(`Resource "${r.url}" not found`);const i=await r.blob();return new Promise((o,a)=>{const s=new FileReader;s.onerror=a,s.onloadend=()=>{try{o(n({res:r,result:s.result}))}catch(l){a(l)}},s.readAsDataURL(i)})}const p8={};function fVe(e,t,n){let r=e.replace(/\?.*/,"");return n&&(r=e),/ttf|otf|eot|woff2?/i.test(r)&&(r=r.replace(/.*\//,"")),t?`[${t}]${r}`:r}async function zP(e,t,n){const r=fVe(e,t,n.includeQueryParams);if(p8[r]!=null)return p8[r];n.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let i;try{const o=await nte(e,n.fetchRequestInit,({res:a,result:s})=>(t||(t=a.headers.get("Content-Type")||""),uVe(s)));i=cVe(o,t)}catch(o){i=n.imagePlaceholder||"";let a=`Failed to fetch resource: ${e}`;o&&(a=typeof o=="string"?o:o.message),a&&console.warn(a)}return p8[r]=i,i}async function dVe(e){const t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):wS(t)}async function hVe(e,t){if(e.currentSrc){const o=document.createElement("canvas"),a=o.getContext("2d");o.width=e.clientWidth,o.height=e.clientHeight,a==null||a.drawImage(e,0,0,o.width,o.height);const s=o.toDataURL();return wS(s)}const n=e.poster,r=GP(n),i=await zP(n,r,t);return wS(i)}async function pVe(e){var t;try{if(!((t=e==null?void 0:e.contentDocument)===null||t===void 0)&&t.body)return await i4(e.contentDocument.body,{},!0)}catch{}return e.cloneNode(!1)}async function vVe(e,t){return ua(e,HTMLCanvasElement)?dVe(e):ua(e,HTMLVideoElement)?hVe(e,t):ua(e,HTMLIFrameElement)?pVe(e):e.cloneNode(!1)}const gVe=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT";async function mVe(e,t,n){var r,i;let o=[];return gVe(e)&&e.assignedNodes?o=lc(e.assignedNodes()):ua(e,HTMLIFrameElement)&&(!((r=e.contentDocument)===null||r===void 0)&&r.body)?o=lc(e.contentDocument.body.childNodes):o=lc(((i=e.shadowRoot)!==null&&i!==void 0?i:e).childNodes),o.length===0||ua(e,HTMLVideoElement)||await o.reduce((a,s)=>a.then(()=>i4(s,n)).then(l=>{l&&t.appendChild(l)}),Promise.resolve()),t}function yVe(e,t){const n=t.style;if(!n)return;const r=window.getComputedStyle(e);r.cssText?(n.cssText=r.cssText,n.transformOrigin=r.transformOrigin):lc(r).forEach(i=>{let o=r.getPropertyValue(i);i==="font-size"&&o.endsWith("px")&&(o=`${Math.floor(parseFloat(o.substring(0,o.length-2)))-.1}px`),ua(e,HTMLIFrameElement)&&i==="display"&&o==="inline"&&(o="block"),i==="d"&&t.getAttribute("d")&&(o=`path(${t.getAttribute("d")})`),n.setProperty(i,o,r.getPropertyPriority(i))})}function AVe(e,t){ua(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),ua(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function RVe(e,t){if(ua(e,HTMLSelectElement)){const n=t,r=Array.from(n.children).find(i=>e.value===i.getAttribute("value"));r&&r.setAttribute("selected","")}}function bVe(e,t){return ua(t,Element)&&(yVe(e,t),aVe(e,t),AVe(e,t),RVe(e,t)),t}async function xVe(e,t){const n=e.querySelectorAll?e.querySelectorAll("use"):[];if(n.length===0)return e;const r={};for(let o=0;o<n.length;o++){const s=n[o].getAttribute("xlink:href");if(s){const l=e.querySelector(s),u=document.querySelector(s);!l&&u&&!r[s]&&(r[s]=await i4(u,t,!0))}}const i=Object.values(r);if(i.length){const o="http://www.w3.org/1999/xhtml",a=document.createElementNS(o,"svg");a.setAttribute("xmlns",o),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";const s=document.createElementNS(o,"defs");a.appendChild(s);for(let l=0;l<i.length;l++)s.appendChild(i[l]);e.appendChild(a)}return e}async function i4(e,t,n){return!n&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(r=>vVe(r,t)).then(r=>mVe(e,r,t)).then(r=>bVe(e,r)).then(r=>xVe(r,t))}const rte=/url\((['"]?)([^'"]+?)\1\)/g,SVe=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,wVe=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function MVe(e){const t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function LVe(e){const t=[];return e.replace(rte,(n,r,i)=>(t.push(i),n)),t.filter(n=>!C_(n))}async function TVe(e,t,n,r,i){try{const o=n?zWe(t,n):t,a=GP(t);let s;return i||(s=await zP(o,a,r)),e.replace(MVe(t),`$1${s}$3`)}catch{}return e}function _Ve(e,{preferredFontFormat:t}){return t?e.replace(wVe,n=>{for(;;){const[r,,i]=SVe.exec(n)||[];if(!i)return"";if(i===t)return`src: ${r};`}}):e}function ite(e){return e.search(rte)!==-1}async function ote(e,t,n){if(!ite(e))return e;const r=_Ve(e,n);return LVe(r).reduce((o,a)=>o.then(s=>TVe(s,a,t,n)),Promise.resolve(r))}async function YR(e,t,n){var r;const i=(r=t.style)===null||r===void 0?void 0:r.getPropertyValue(e);if(i){const o=await ote(i,null,n);return t.style.setProperty(e,o,t.style.getPropertyPriority(e)),!0}return!1}async function OVe(e,t){await YR("background",e,t)||await YR("background-image",e,t),await YR("mask",e,t)||await YR("mask-image",e,t)}async function kVe(e,t){const n=ua(e,HTMLImageElement);if(!(n&&!C_(e.src))&&!(ua(e,SVGImageElement)&&!C_(e.href.baseVal)))return;const r=n?e.src:e.href.baseVal,i=await zP(r,GP(r),t);await new Promise((o,a)=>{e.onload=o,e.onerror=a;const s=e;s.decode&&(s.decode=o),s.loading==="lazy"&&(s.loading="eager"),n?(e.srcset="",e.src=i):e.href.baseVal=i})}async function PVe(e,t){const r=lc(e.childNodes).map(i=>ate(i,t));await Promise.all(r).then(()=>e)}async function ate(e,t){ua(e,Element)&&(await OVe(e,t),await kVe(e,t),await PVe(e,t))}function CVe(e,t){const{style:n}=e;t.backgroundColor&&(n.backgroundColor=t.backgroundColor),t.width&&(n.width=`${t.width}px`),t.height&&(n.height=`${t.height}px`);const r=t.style;return r!=null&&Object.keys(r).forEach(i=>{n[i]=r[i]}),e}const oB={};async function aB(e){let t=oB[e];if(t!=null)return t;const r=await(await fetch(e)).text();return t={url:e,cssText:r},oB[e]=t,t}async function sB(e,t){let n=e.cssText;const r=/url\(["']?([^"')]+)["']?\)/g,o=(n.match(/url\([^)]+\)/g)||[]).map(async a=>{let s=a.replace(r,"$1");return s.startsWith("https://")||(s=new URL(s,e.url).href),nte(s,t.fetchRequestInit,({result:l})=>(n=n.replace(a,`url(${l})`),[a,l]))});return Promise.all(o).then(()=>n)}function lB(e){if(e==null)return[];const t=[],n=/(\/\*[\s\S]*?\*\/)/gi;let r=e.replace(n,"");const i=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const l=i.exec(r);if(l===null)break;t.push(l[0])}r=r.replace(i,"");const o=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",s=new RegExp(a,"gi");for(;;){let l=o.exec(r);if(l===null){if(l=s.exec(r),l===null)break;o.lastIndex=s.lastIndex}else s.lastIndex=o.lastIndex;t.push(l[0])}return t}async function IVe(e,t){const n=[],r=[];return e.forEach(i=>{if("cssRules"in i)try{lc(i.cssRules||[]).forEach((o,a)=>{if(o.type===CSSRule.IMPORT_RULE){let s=a+1;const l=o.href,u=aB(l).then(c=>sB(c,t)).then(c=>lB(c).forEach(f=>{try{i.insertRule(f,f.startsWith("@import")?s+=1:i.cssRules.length)}catch(d){console.error("Error inserting rule from remote css",{rule:f,error:d})}})).catch(c=>{console.error("Error loading remote css",c.toString())});r.push(u)}})}catch(o){const a=e.find(s=>s.href==null)||document.styleSheets[0];i.href!=null&&r.push(aB(i.href).then(s=>sB(s,t)).then(s=>lB(s).forEach(l=>{a.insertRule(l,i.cssRules.length)})).catch(s=>{console.error("Error loading remote stylesheet",s)})),console.error("Error inlining remote css file",o)}}),Promise.all(r).then(()=>(e.forEach(i=>{if("cssRules"in i)try{lc(i.cssRules||[]).forEach(o=>{n.push(o)})}catch(o){console.error(`Error while reading CSS rules from ${i.href}`,o)}}),n))}function NVe(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>ite(t.style.getPropertyValue("src")))}async function FVe(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");const n=lc(e.ownerDocument.styleSheets),r=await IVe(n,t);return NVe(r)}async function EVe(e,t){const n=await FVe(e,t);return(await Promise.all(n.map(i=>{const o=i.parentStyleSheet?i.parentStyleSheet.href:null;return ote(i.cssText,o,t)}))).join(`
|
||
`)}async function XVe(e,t){const n=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await EVe(e,t);if(n){const r=document.createElement("style"),i=document.createTextNode(n);r.appendChild(i),e.firstChild?e.insertBefore(r,e.firstChild):e.appendChild(r)}}async function WVe(e,t={}){const{width:n,height:r}=tte(e,t),i=await i4(e,t,!0);return await XVe(i,t),await ate(i,t),CVe(i,t),await nVe(i,n,r)}async function JP(e,t={}){const{width:n,height:r}=tte(e,t),i=await WVe(e,t),o=await wS(i),a=document.createElement("canvas"),s=a.getContext("2d"),l=t.pixelRatio||qWe(),u=t.canvasWidth||n,c=t.canvasHeight||r;return a.width=u*l,a.height=c*l,t.skipAutoScale||eVe(a),a.style.width=`${u}`,a.style.height=`${c}`,t.backgroundColor&&(s.fillStyle=t.backgroundColor,s.fillRect(0,0,a.width,a.height)),s.drawImage(o,0,0,a.width,a.height),a}async function VVe(e,t={}){return(await JP(e,t)).toDataURL()}async function DVe(e,t={}){return(await JP(e,t)).toDataURL("image/jpeg",t.quality||1)}const UVe=Xe({__name:"Checkboard",props:{size:{default:8},white:{default:"#fff"},grey:{default:"#e6e6e6"}},setup(e){const t=e,n={},r=(a,s,l)=>{const u=document.createElement("canvas");u.width=u.height=l*2;const c=u.getContext("2d");return c?(c.fillStyle=a,c.fillRect(0,0,u.width,u.height),c.fillStyle=s,c.fillRect(0,0,l,l),c.translate(l,l),c.fillRect(0,0,l,l),u.toDataURL()):null},i=(a,s,l)=>{const u=a+","+s+","+l;if(n[u])return n[u];const c=r(a,s,l);return n[u]=c,c},o=Se(()=>({backgroundImage:`url(${i(t.white,t.grey,t.size)})`}));return(a,s)=>(U(),te("div",{class:"checkerboard",style:Le(o.value)},null,4))}}),I_=Be(UVe,[["__scopeId","data-v-46275348"]]),BVe=e=>(en("data-v-429f62d3"),e=e(),tn(),e),YVe={class:"alpha"},ZVe={class:"alpha-checkboard-wrap"},QVe=BVe(()=>D("div",{class:"alpha-picker"},null,-1)),HVe=[QVe],KVe=Xe({__name:"Alpha",props:{value:{}},emits:["colorChange"],setup(e,{emit:t}){const n=e,r=t,i=Se(()=>n.value),o=Se(()=>{const c=[i.value.r,i.value.g,i.value.b].join(",");return`linear-gradient(to right, rgba(${c}, 0) 0%, rgba(${c}, 1) 100%)`}),a=pe(),s=c=>{if(c.preventDefault(),!a.value)return;const f=a.value.clientWidth,d=a.value.getBoundingClientRect().left+window.pageXOffset,h=c.pageX-d;let p;h<0?p=0:h>f?p=1:p=Math.round(h*100/f)/100,i.value.a!==p&&r("colorChange",{r:i.value.r,g:i.value.g,b:i.value.b,a:p})},l=()=>{window.removeEventListener("mousemove",s),window.removeEventListener("mouseup",l)},u=c=>{s(c),window.addEventListener("mousemove",s),window.addEventListener("mouseup",l)};return Fn(l),(c,f)=>(U(),te("div",YVe,[D("div",ZVe,[O(I_)]),D("div",{class:"alpha-gradient",style:Le({background:o.value})},null,4),D("div",{class:"alpha-container",ref_key:"alphaRef",ref:a,onMousedown:f[0]||(f[0]=d=>u(d))},[D("div",{class:"alpha-pointer",style:Le({left:i.value.a*100+"%"})},HVe,4)],544)]))}}),GVe=Be(KVe,[["__scopeId","data-v-429f62d3"]]),zVe=e=>(en("data-v-21ccc370"),e=e(),tn(),e),JVe={class:"hue"},$Ve=zVe(()=>D("div",{class:"hue-picker"},null,-1)),jVe=[$Ve],qVe=Xe({__name:"Hue",props:{value:{},hue:{}},emits:["colorChange"],setup(e,{emit:t}){const n=e,r=t,i=pe(0),o=pe(""),a=Se(()=>{const d=at(n.value).toHsl();return n.hue!==-1&&(d.h=n.hue),d}),s=Se(()=>a.value.h===0&&o.value==="right"?"100%":a.value.h*100/360+"%");_t(()=>n.value,()=>{const d=at(n.value).toHsl(),h=d.s===0?n.hue:d.h;h!==0&&h-i.value>0&&(o.value="right"),h!==0&&h-i.value<0&&(o.value="left"),i.value=h});const l=pe(),u=d=>{if(d.preventDefault(),!l.value)return;const h=l.value.clientWidth,p=l.value.getBoundingClientRect().left+window.pageXOffset,v=d.pageX-p;let g,m;v<0?g=0:v>h?g=360:(m=v*100/h,g=360*m/100),(n.hue===-1||a.value.h!==g)&&r("colorChange",{h:g,l:a.value.l,s:a.value.s,a:a.value.a})},c=()=>{window.removeEventListener("mousemove",u),window.removeEventListener("mouseup",c)},f=d=>{u(d),window.addEventListener("mousemove",u),window.addEventListener("mouseup",c)};return Fn(c),(d,h)=>(U(),te("div",JVe,[D("div",{class:"hue-container",ref_key:"hueRef",ref:l,onMousedown:h[0]||(h[0]=p=>f(p))},[D("div",{class:"hue-pointer",style:Le({left:s.value})},jVe,4)],544)]))}}),eDe=Be(qVe,[["__scopeId","data-v-21ccc370"]]),$P=e=>(en("data-v-1a7711ae"),e=e(),tn(),e),tDe=$P(()=>D("div",{class:"saturation-white"},null,-1)),nDe=$P(()=>D("div",{class:"saturation-black"},null,-1)),rDe=$P(()=>D("div",{class:"saturation-circle"},null,-1)),iDe=[rDe],oDe=Xe({__name:"Saturation",props:{value:{},hue:{}},emits:["colorChange"],setup(e,{emit:t}){const n=e,r=t,i=Se(()=>{const h=at(n.value).toHsv();return n.hue!==-1&&(h.h=n.hue),h}),o=Se(()=>`hsl(${i.value.h}, 100%, 50%)`),a=Se(()=>-(i.value.v*100)+1+100+"%"),s=Se(()=>i.value.s*100+"%"),l=Yn.throttle(function(h){r("colorChange",h)},20,{leading:!0,trailing:!1}),u=pe(),c=h=>{if(h.preventDefault(),!u.value)return;const p=u.value.clientWidth,v=u.value.clientHeight,g=u.value.getBoundingClientRect().left+window.pageXOffset,m=u.value.getBoundingClientRect().top+window.pageYOffset,y=Yn.clamp(h.pageX-g,0,p),R=Yn.clamp(h.pageY-m,0,v),A=y/p,x=Yn.clamp(-(R/v)+1,0,1);l({h:i.value.h,s:A,v:x,a:i.value.a})},f=()=>{window.removeEventListener("mousemove",c),window.removeEventListener("mouseup",f)},d=h=>{c(h),window.addEventListener("mousemove",c),window.addEventListener("mouseup",f)};return Fn(f),(h,p)=>(U(),te("div",{class:"saturation",ref_key:"saturationRef",ref:u,style:Le({background:o.value}),onMousedown:p[0]||(p[0]=v=>d(v))},[tDe,nDe,D("div",{class:"saturation-pointer",style:Le({top:a.value,left:s.value})},iDe,4)],36))}}),aDe=Be(oDe,[["__scopeId","data-v-1a7711ae"]]),sDe={class:"editable-input"},lDe=["value"],uDe=Xe({__name:"EditableInput",props:{value:{}},emits:["colorChange"],setup(e,{emit:t}){const n=e,r=t,i=Se(()=>{let a="";return n.value.a<1?a=at(n.value).toHex8String().toUpperCase():a=at(n.value).toHexString().toUpperCase(),a.replace("#","")}),o=a=>{const s=a.target.value;if(s.length>=6){const l=at(s);l.isValid()&&r("colorChange",l.toRgb())}};return(a,s)=>(U(),te("div",sDe,[D("input",{class:"input-content",value:i.value,onInput:s[0]||(s[0]=l=>o(l))},null,40,lDe)]))}}),cDe=Be(uDe,[["__scopeId","data-v-573b4dde"]]),fDe={class:"color-picker"},dDe={class:"picker-saturation-wrap"},hDe={class:"picker-controls"},pDe={class:"picker-color-wrap"},vDe={class:"picker-sliders"},gDe={class:"picker-hue-wrap"},mDe={class:"picker-alpha-wrap"},yDe={class:"picker-field"},ADe={class:"picker-presets"},RDe=["onClick"],bDe={class:"picker-gradient-presets"},xDe=["onClick"],SDe={class:"picker-presets"},wDe=["onClick"],MDe={key:0,class:"recent-colors-title"},LDe={class:"picker-presets"},TDe=["onClick"],uB="RECENT_COLORS",_De=Xe({__name:"index",props:{modelValue:{default:"#e86b99"}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,i=[["#7f7f7f","#f2f2f2"],["#0d0d0d","#808080"],["#1c1a10","#ddd8c3"],["#0e243d","#c6d9f0"],["#233f5e","#dae5f0"],["#632623","#f2dbdb"],["#4d602c","#eaf1de"],["#3f3150","#e6e0ec"],["#1e5867","#d9eef3"],["#99490f","#fee9da"]],o=(A,x,S)=>{const _=at(A).toRgb(),M=at(x).toRgb(),w=(M.r-_.r)/S,L=(M.g-_.g)/S,k=(M.b-_.b)/S,P=[];for(let F=0;F<S;F++){const C=at({r:_.r+w*F,g:_.g+L*F,b:_.b+k*F}).toRgbString();P.push(C)}return P},a=()=>{const A=[];for(const x of i)A.push(o(x[1],x[0],5));return A},s=["#000000","#ffffff","#eeece1","#1e497b","#4e81bb","#e2534d","#9aba60","#8165a0","#47acc5","#f9974c"],l=["#c21401","#ff1e02","#ffc12a","#ffff3a","#90cf5b","#00af57","#00afee","#0071be","#00215f","#72349d"],u=pe(-1),c=pe([]),f=Se({get(){return at(n.modelValue).toRgb()},set(A){const x=`rgba(${[A.r,A.g,A.b,A.a].join(",")})`;r("update:modelValue",x)}}),d=a(),h=Se(()=>`rgba(${[f.value.r,f.value.g,f.value.b,f.value.a].join(",")})`),p=A=>{u.value=at(A).toHsl().h,r("update:modelValue",A)},v=Yn.debounce(function(){const A=at(f.value).toRgbString();if(!c.value.includes(A)){c.value=[A,...c.value];const x=10;c.value.length>x&&(c.value=c.value.slice(0,x))}},300,{trailing:!0});Ht(()=>{const A=localStorage.getItem(uB);A&&(c.value=JSON.parse(A))}),_t(c,()=>{const A=JSON.stringify(c.value);localStorage.setItem(uB,A)});const g=A=>{"h"in A?(u.value=A.h,f.value=at(A).toRgb()):(u.value=at(A).toHsl().h,f.value=A),v()},m=()=>{"EyeDropper"in window?y():R()},y=()=>{gn.success("按 ESC 键关闭取色吸管",{duration:0}),new window.EyeDropper().open().then(x=>{const S=at(x.sRGBHex);u.value=S.toHsl().h,f.value=S.toRgb(),gn.closeAll(),v()}).catch(()=>{gn.closeAll()})},R=()=>{const A=document.querySelector(".canvas");if(!A)return;const x=document.createElement("div");x.style.cssText="position: fixed; top: 0; left: 0; bottom: 0; right: 0; z-index: 9999; cursor: wait;",document.body.appendChild(x);const S=document.createElement("div");S.style.cssText="position: absolute; top: -100px; left: -100px; width: 16px; height: 16px; border: 1px solid #000; z-index: 999",x.appendChild(S);const{left:_,top:M,width:w,height:L}=A.getBoundingClientRect();JP(A,{filter:P=>!(P.tagName&&P.tagName.toUpperCase()==="FOREIGNOBJECT"||P.classList&&P.classList.contains("operate")),fontEmbedCSS:"",width:w,height:L,canvasWidth:w,canvasHeight:L,pixelRatio:1}).then(P=>{P.style.cssText=`position: absolute; top: ${M}px; left: ${_}px; cursor: crosshair;`,x.style.cursor="default",x.appendChild(P);const F=P.getContext("2d");if(!F)return;let C="";const N=W=>{const Z=W.x,re=W.y,Y=Z-_,B=re-M,[Q,K,q,j]=F.getImageData(Y,B,1,1).data;C=`rgba(${Q}, ${K}, ${q}, ${(j/255).toFixed(2)})`,S.style.left=Z+10+"px",S.style.top=re+10+"px",S.style.backgroundColor=C},I=()=>{C="",S.style.left="-100px",S.style.top="-100px",S.style.backgroundColor=""},V=W=>{if(C&&W.button===0){const Z=at(C);u.value=Z.toHsl().h,f.value=Z.toRgb(),v()}document.body.removeChild(x),P.removeEventListener("mousemove",N),P.removeEventListener("mouseleave",I),window.removeEventListener("mousedown",V)};P.addEventListener("mousemove",N),P.addEventListener("mouseleave",I),window.addEventListener("mousedown",V)}).catch(()=>{gn.error("取色吸管初始化失败"),document.body.removeChild(x)})};return(A,x)=>{const S=xe("IconNeedle");return U(),te("div",fDe,[D("div",dDe,[O(aDe,{value:f.value,hue:u.value,onColorChange:x[0]||(x[0]=_=>g(_))},null,8,["value","hue"])]),D("div",hDe,[D("div",pDe,[D("div",{class:"picker-current-color",style:Le({background:h.value})},null,4),O(I_)]),D("div",vDe,[D("div",gDe,[O(eDe,{value:f.value,hue:u.value,onColorChange:x[1]||(x[1]=_=>g(_))},null,8,["value","hue"])]),D("div",mDe,[O(GVe,{value:f.value,onColorChange:x[2]||(x[2]=_=>g(_))},null,8,["value"])])])]),D("div",yDe,[O(cDe,{class:"input",value:f.value,onColorChange:x[3]||(x[3]=_=>g(_))},null,8,["value"]),D("div",{class:"straw",onClick:x[4]||(x[4]=_=>m())},[O(S)]),D("div",{class:"transparent",onClick:x[5]||(x[5]=_=>p("#00000000"))},[O(I_)])]),D("div",ADe,[(U(),te(We,null,nt(s,_=>D("div",{class:"picker-presets-color",key:_,style:Le({background:_}),onClick:M=>p(_)},null,12,RDe)),64))]),D("div",bDe,[(U(!0),te(We,null,nt(z(d),(_,M)=>(U(),te("div",{class:"picker-gradient-col",key:M},[(U(!0),te(We,null,nt(_,w=>(U(),te("div",{class:"picker-gradient-color",key:w,style:Le({background:w}),onClick:L=>p(w)},null,12,xDe))),128))]))),128))]),D("div",SDe,[(U(),te(We,null,nt(l,_=>D("div",{key:_,class:"picker-presets-color",style:Le({background:_}),onClick:M=>p(_)},null,12,wDe)),64))]),c.value.length?(U(),te("div",MDe,"最近使用:")):Ye("",!0),D("div",LDe,[(U(!0),te(We,null,nt(c.value,_=>(U(),te("div",{key:_,class:"picker-presets-color alpha",onClick:M=>p(_)},[D("div",{class:"picker-presets-color-content",style:Le({background:_})},null,4)],8,TDe))),128))])])}}}),qn=Be(_De,[["__scopeId","data-v-58b37f0f"]]),ODe=e=>(en("data-v-a0d44a99"),e=e(),tn(),e),kDe=ODe(()=>D("span",{class:"switch-core"},null,-1)),PDe=[kDe],CDe=Xe({__name:"Switch",props:{value:{type:Boolean},disabled:{type:Boolean,default:!1}},emits:["update:value"],setup(e,{emit:t}){const n=e,r=t,i=()=>{n.disabled||r("update:value",!n.value)};return(o,a)=>(U(),te("span",{class:ze(["switch",{active:o.value,disabled:o.disabled}]),onClick:a[0]||(a[0]=s=>i())},PDe,2))}}),Cs=Be(CDe,[["__scopeId","data-v-a0d44a99"]]),IDe={key:0,class:"select-wrap"},NDe={class:"selector"},FDe={class:"icon"},EDe={class:"selector"},XDe={class:"icon"},WDe=Xe({__name:"SelectCustom",props:{disabled:{type:Boolean,default:!1}},setup(e){const t=pe(!1),n=pe(),r=pe(0),i=()=>{n.value&&(r.value=n.value.clientWidth)},o=new ResizeObserver(i);return Ht(()=>{n.value&&o.observe(n.value)}),Fn(()=>{n.value&&o.unobserve(n.value)}),(a,s)=>{const l=xe("IconDown");return a.disabled?(U(),te("div",IDe,[D("div",{class:"select disabled",ref_key:"selectRef",ref:n},[D("div",NDe,[ar(a.$slots,"label",{},void 0,!0)]),D("div",FDe,[ar(a.$slots,"icon",{},()=>[O(l,{size:14})],!0)])],512)])):(U(),_e(Nt,{key:1,class:"select-wrap",trigger:"click",value:t.value,"onUpdate:value":s[1]||(s[1]=u=>t.value=u),placement:"bottom",contentStyle:{padding:0,boxShadow:"0 6px 16px 0 rgba(0, 0, 0, 0.08)"}},{content:ie(()=>[D("div",{class:"options",style:Le({width:r.value+2+"px"}),onClick:s[0]||(s[0]=u=>t.value=!1)},[ar(a.$slots,"options",{},void 0,!0)],4)]),default:ie(()=>[D("div",{class:"select",ref_key:"selectRef",ref:n},[D("div",EDe,[ar(a.$slots,"label",{},void 0,!0)]),D("div",XDe,[ar(a.$slots,"icon",{},()=>[O(l,{size:14})],!0)])],512)]),_:3},8,["value"]))}}}),cv=Be(WDe,[["__scopeId","data-v-36a09887"]]),o4=e=>(en("data-v-ee2e9ad5"),e=e(),tn(),e),VDe={class:"element-outline"},DDe={key:0,class:"row"},UDe=o4(()=>D("div",{style:{width:"40%"}},"启用边框:",-1)),BDe={class:"switch-wrapper",style:{width:"60%"}},YDe={class:"row"},ZDe=o4(()=>D("div",{style:{width:"40%"}},"边框样式:",-1)),QDe=["onClick"],HDe={class:"row"},KDe=o4(()=>D("div",{style:{width:"40%"}},"边框颜色:",-1)),GDe={class:"row"},zDe=o4(()=>D("div",{style:{width:"40%"}},"边框粗细:",-1)),JDe=Xe({__name:"ElementOutline",props:{fixed:{type:Boolean,default:!1}},setup(e){const t=lt(),{theme:n}=De(t),{handleElement:r}=De(ht()),i=pe(),o=pe(!1),a=pe(["solid","dashed","dotted"]);_t(r,()=>{r.value&&(i.value="outline"in r.value?r.value.outline:void 0,o.value=!!i.value)},{deep:!0,immediate:!0});const{addHistorySnapshot:s}=nn(),l=c=>{if(!r.value)return;const f={outline:{...i.value,...c}};t.updateElement({id:r.value.id,props:f}),s()},u=c=>{if(r.value){if(c){const f=n.value.outline;t.updateElement({id:r.value.id,props:{outline:f}})}else t.removeElementProps({id:r.value.id,propName:"outline"});s()}};return(c,f)=>(U(),te("div",VDe,[c.fixed?Ye("",!0):(U(),te("div",DDe,[UDe,D("div",BDe,[O(Cs,{value:o.value,"onUpdate:value":f[0]||(f[0]=d=>u(d))},null,8,["value"])])])),o.value&&i.value?(U(),te(We,{key:1},[D("div",YDe,[ZDe,O(cv,{style:{width:"60%"}},{options:ie(()=>[(U(!0),te(We,null,nt(a.value,d=>(U(),te("div",{class:"option",key:d,onClick:h=>l({style:d})},[O(ms,{type:d},null,8,["type"])],8,QDe))),128))]),label:ie(()=>[O(ms,{type:i.value.style},null,8,["type"])]),_:1})]),D("div",HDe,[KDe,O(Nt,{trigger:"click",style:{width:"60%"}},{content:ie(()=>[O(qn,{modelValue:i.value.color,"onUpdate:modelValue":f[1]||(f[1]=d=>l({color:d}))},null,8,["modelValue"])]),default:ie(()=>[O(Gr,{color:i.value.color||"#000"},null,8,["color"])]),_:1})]),D("div",GDe,[zDe,O(qo,{value:i.value.width||0,"onUpdate:value":f[2]||(f[2]=d=>l({width:d})),style:{width:"60%"}},null,8,["value"])])],64)):Ye("",!0)]))}}),my=Be(JDe,[["__scopeId","data-v-ee2e9ad5"]]),yy=e=>(en("data-v-671988a4"),e=e(),tn(),e),$De={class:"element-shadow"},jDe={class:"row"},qDe=yy(()=>D("div",{style:{width:"40%"}},"启用阴影:",-1)),eUe={class:"switch-wrapper",style:{width:"60%"}},tUe={class:"row"},nUe=yy(()=>D("div",{style:{width:"40%"}},"水平阴影:",-1)),rUe={class:"row"},iUe=yy(()=>D("div",{style:{width:"40%"}},"垂直阴影:",-1)),oUe={class:"row"},aUe=yy(()=>D("div",{style:{width:"40%"}},"模糊距离:",-1)),sUe={class:"row"},lUe=yy(()=>D("div",{style:{width:"40%"}},"阴影颜色:",-1)),uUe=Xe({__name:"ElementShadow",setup(e){const t=lt(),{theme:n}=De(t),{handleElement:r}=De(ht()),i=pe(),o=pe(!1);_t(r,()=>{r.value&&(i.value="shadow"in r.value?r.value.shadow:void 0,o.value=!!i.value)},{deep:!0,immediate:!0});const{addHistorySnapshot:a}=nn(),s=u=>{if(!r.value||!i.value)return;const c={...i.value,...u};t.updateElement({id:r.value.id,props:{shadow:c}}),a()},l=u=>{if(r.value){if(u){const c=n.value.shadow;t.updateElement({id:r.value.id,props:{shadow:c}})}else t.removeElementProps({id:r.value.id,propName:"shadow"});a()}};return(u,c)=>(U(),te("div",$De,[D("div",jDe,[qDe,D("div",eUe,[O(Cs,{value:o.value,"onUpdate:value":c[0]||(c[0]=f=>l(f))},null,8,["value"])])]),o.value&&i.value?(U(),te(We,{key:0},[D("div",tUe,[nUe,O(Ki,{style:{width:"60%"},min:-10,max:10,step:1,value:i.value.h,"onUpdate:value":c[1]||(c[1]=f=>s({h:f}))},null,8,["value"])]),D("div",rUe,[iUe,O(Ki,{style:{width:"60%"},min:-10,max:10,step:1,value:i.value.v,"onUpdate:value":c[2]||(c[2]=f=>s({v:f}))},null,8,["value"])]),D("div",oUe,[aUe,O(Ki,{style:{width:"60%"},min:1,max:20,step:1,value:i.value.blur,"onUpdate:value":c[3]||(c[3]=f=>s({blur:f}))},null,8,["value"])]),D("div",sUe,[lUe,O(Nt,{trigger:"click",style:{width:"60%"}},{content:ie(()=>[O(qn,{modelValue:i.value.color,"onUpdate:modelValue":c[4]||(c[4]=f=>s({color:f}))},null,8,["modelValue"])]),default:ie(()=>[O(Gr,{color:i.value.color},null,8,["color"])]),_:1})])],64)):Ye("",!0)]))}}),a4=Be(uUe,[["__scopeId","data-v-671988a4"]]),Ay=[{label:"默认字体",value:""},{label:"思源黑体",value:"SourceHanSans"},{label:"思源宋体",value:"SourceHanSerif"},{label:"方正黑体",value:"FangZhengHeiTi"},{label:"方正楷体",value:"FangZhengKaiTi"},{label:"方正宋体",value:"FangZhengShuSong"},{label:"方正仿宋",value:"FangZhengFangSong"},{label:"阿里巴巴普惠体",value:"AlibabaPuHuiTi"},{label:"朱雀仿宋",value:"ZhuqueFangSong"},{label:"霞鹜文楷",value:"LXGWWenKai"},{label:"文鼎PL楷体",value:"WenDingPLKaiTi"},{label:"得意黑",value:"DeYiHei"},{label:"MiSans",value:"MiSans"},{label:"仓耳小丸子",value:"CangerXiaowanzi"},{label:"优设标题黑",value:"YousheTitleBlack"},{label:"峰广明锐体",value:"FengguangMingrui"},{label:"摄图摩登小方体",value:"ShetuModernSquare"},{label:"站酷快乐体",value:"ZcoolHappy"},{label:"字制区喜脉体",value:"ZizhiQuXiMai"},{label:"素材集市康康体",value:"SucaiJishiKangkang"},{label:"素材集市酷方体",value:"SucaiJishiCoolSquare"},{label:"途牛类圆体",value:"TuniuRounded"},{label:"锐字真言体",value:"RuiziZhenyan"}],cUe=()=>{const e=ht(),{richTextAttrs:t,textFormatPainter:n}=De(e);return{toggleTextFormatPainter:(i=!1)=>{n.value?e.setTextFormatPainter(null):e.setTextFormatPainter({keep:i,bold:t.value.bold,em:t.value.em,underline:t.value.underline,strikethrough:t.value.strikethrough,color:t.value.color,backcolor:t.value.backcolor,fontname:t.value.fontname,fontsize:t.value.fontsize,align:t.value.align})}}},fUe={class:"text-color-block"},dUe=Xe({__name:"TextColorButton",props:{color:{}},setup(e){return(t,n)=>(U(),_e(et,{class:"text-color-btn"},{default:ie(()=>[ar(t.$slots,"default",{},void 0,!0),D("div",fUe,[D("div",{class:"text-color-block-content",style:Le({backgroundColor:t.color})},null,4)])]),_:3}))}}),Nv=Be(dUe,[["__scopeId","data-v-97cd463a"]]),Qr=Xe({__name:"CheckboxButton",props:{checked:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(e){return(t,n)=>(U(),_e(et,{checked:t.checked,disabled:t.disabled,type:"checkbox"},{default:ie(()=>[ar(t.$slots,"default")]),_:3},8,["checked","disabled"]))}}),hUe=Xe({__name:"ButtonGroup",props:{passive:{type:Boolean,default:!1}},setup(e){return(t,n)=>(U(),te("div",{class:ze(["button-group",{passive:t.passive}]),ref:"groupRef"},[ar(t.$slots,"default",{},void 0,!0)],2))}}),Bn=Be(hUe,[["__scopeId","data-v-6a640ef5"]]),pUe={},vUe={class:"select-group"};function gUe(e,t){return U(),te("div",vUe,[ar(e.$slots,"default",{},void 0,!0)])}const jP=Be(pUe,[["render",gUe],["__scopeId","data-v-ed58c719"]]),zn=Xe({__name:"RadioButton",props:{value:{},disabled:{type:Boolean,default:!1}},setup(e){const{value:t,updateValue:n}=bs(az);return(r,i)=>(U(),_e(et,{checked:!r.disabled&&z(t)===r.value,disabled:r.disabled,type:"radio",onClick:i[0]||(i[0]=o=>!r.disabled&&z(n)(r.value))},{default:ie(()=>[ar(r.$slots,"default")]),_:3},8,["checked","disabled"]))}}),Au=Xe({__name:"RadioGroup",props:{value:{},disabled:{type:Boolean,default:!1}},emits:["update:value"],setup(e,{emit:t}){const n=e,r=t,i=a=>{n.disabled||r("update:value",a)},o=Se(()=>n.value);return a0(az,{value:o,updateValue:i}),(a,s)=>(U(),_e(Bn,{class:"radio-group"},{default:ie(()=>[ar(a.$slots,"default")]),_:3}))}}),s4=e=>(en("data-v-f8e123db"),e=e(),tn(),e),mUe={class:"rich-text-base"},yUe={class:"link-popover"},AUe={class:"btns"},RUe={class:"row",passive:""},bUe={class:"list-wrap"},xUe=["onClick"],SUe=s4(()=>D("span",null,null,-1)),wUe=[SUe],MUe=s4(()=>D("div",{style:{width:"10px"}},null,-1)),LUe={class:"list-wrap"},TUe=["onClick"],_Ue=s4(()=>D("span",null,null,-1)),OUe=[_Ue],kUe={class:"row"},PUe=s4(()=>D("div",{style:{width:"10px"}},null,-1)),CUe=Xe({__name:"RichTextBase",setup(e){const{richTextAttrs:t,textFormatPainter:n}=De(ht()),{toggleTextFormatPainter:r}=cUe(),i=["12px","14px","16px","18px","20px","22px","24px","28px","32px","36px","40px","44px","48px","54px","60px","66px","72px","76px","80px","88px","96px","104px","112px","120px"],o=(m,y)=>{Hi.emit(Ti.RICH_TEXT_COMMAND,{action:{command:m,value:y}})},a=pe(!1),s=pe(!1),l=pe(!1),u=pe(!1),c=pe(["disc","circle","square"]),f=pe(["decimal","lower-roman","upper-roman","lower-alpha","upper-alpha","lower-greek"]),d=pe(""),h=pe(!1);_t(t,()=>h.value=!1);const p=()=>{d.value=t.value.link},v=m=>{if(!m||!/^(https?):\/\/[\w\-]+(\.[\w\-]+)+([\w\-.,@?^=%&:\/~+#]*[\w\-@?^=%&\/~+#])?$/.test(m))return gn.error("不是正确的网页链接地址");o("link",m),h.value=!1},g=()=>{o("link"),h.value=!1};return(m,y)=>{const R=xe("IconFontSize"),A=xe("IconAddText"),x=xe("IconText"),S=xe("IconHighLight"),_=xe("IconTextBold"),M=xe("IconTextItalic"),w=xe("IconTextUnderline"),L=xe("IconStrikethrough"),k=xe("IconCode"),P=xe("IconQuote"),F=xe("IconFormat"),C=xe("IconFormatBrush"),N=xe("IconLinkOne"),I=xe("IconAlignTextLeft"),V=xe("IconAlignTextCenter"),W=xe("IconAlignTextRight"),Z=xe("IconAlignTextBoth"),re=xe("IconList"),Y=xe("IconDown"),B=xe("IconOrderedList"),Q=xe("IconIndentLeft"),K=xe("IconIndentRight"),q=Pn("tooltip");return U(),te("div",mUe,[O(jP,{class:"row"},{default:ie(()=>[O(zr,{style:{width:"60%"},value:z(t).fontname,search:"",searchLabel:"搜索字体","onUpdate:value":y[0]||(y[0]=j=>o("fontname",j)),options:z(Ay)},{icon:ie(()=>[O(R)]),_:1},8,["value","options"]),O(zr,{style:{width:"40%"},value:z(t).fontsize,search:"",searchLabel:"搜索字号","onUpdate:value":y[1]||(y[1]=j=>o("fontsize",j)),options:i.map(j=>({label:j,value:j}))},{icon:ie(()=>[O(A)]),_:1},8,["value","options"])]),_:1}),O(Bn,{class:"row",passive:""},{default:ie(()=>[O(Nt,{trigger:"click",style:{width:"30%"}},{content:ie(()=>[O(qn,{modelValue:z(t).color,"onUpdate:modelValue":y[2]||(y[2]=j=>o("color",j))},null,8,["modelValue"])]),default:ie(()=>[Ge((U(),_e(Nv,{first:"",color:z(t).color},{default:ie(()=>[O(x)]),_:1},8,["color"])),[[q,"文字颜色"]])]),_:1}),O(Nt,{trigger:"click",style:{width:"30%"}},{content:ie(()=>[O(qn,{modelValue:z(t).backcolor,"onUpdate:modelValue":y[3]||(y[3]=j=>o("backcolor",j))},null,8,["modelValue"])]),default:ie(()=>[Ge((U(),_e(Nv,{color:z(t).backcolor},{default:ie(()=>[O(S)]),_:1},8,["color"])),[[q,"文字高亮"]])]),_:1}),Ge((U(),_e(et,{class:"font-size-btn",style:{width:"20%"},onClick:y[4]||(y[4]=j=>o("fontsize-add"))},{default:ie(()=>[O(R),Ue("+")]),_:1})),[[q,"增大字号"]]),Ge((U(),_e(et,{last:"",class:"font-size-btn",style:{width:"20%"},onClick:y[5]||(y[5]=j=>o("fontsize-reduce"))},{default:ie(()=>[O(R),Ue("-")]),_:1})),[[q,"减小字号"]])]),_:1}),O(Bn,{class:"row"},{default:ie(()=>[Ge((U(),_e(Qr,{style:{flex:"1"},checked:z(t).bold,onClick:y[6]||(y[6]=j=>o("bold"))},{default:ie(()=>[O(_)]),_:1},8,["checked"])),[[q,"加粗"]]),Ge((U(),_e(Qr,{style:{flex:"1"},checked:z(t).em,onClick:y[7]||(y[7]=j=>o("em"))},{default:ie(()=>[O(M)]),_:1},8,["checked"])),[[q,"斜体"]]),Ge((U(),_e(Qr,{style:{flex:"1"},checked:z(t).underline,onClick:y[8]||(y[8]=j=>o("underline"))},{default:ie(()=>[O(w)]),_:1},8,["checked"])),[[q,"下划线"]]),Ge((U(),_e(Qr,{style:{flex:"1"},checked:z(t).strikethrough,onClick:y[9]||(y[9]=j=>o("strikethrough"))},{default:ie(()=>[O(L)]),_:1},8,["checked"])),[[q,"删除线"]])]),_:1}),O(Bn,{class:"row"},{default:ie(()=>[Ge((U(),_e(Qr,{style:{flex:"1"},checked:z(t).superscript,onClick:y[10]||(y[10]=j=>o("superscript"))},{default:ie(()=>[Ue("A²")]),_:1},8,["checked"])),[[q,"上标"]]),Ge((U(),_e(Qr,{style:{flex:"1"},checked:z(t).subscript,onClick:y[11]||(y[11]=j=>o("subscript"))},{default:ie(()=>[Ue("A₂")]),_:1},8,["checked"])),[[q,"下标"]]),Ge((U(),_e(Qr,{style:{flex:"1"},checked:z(t).code,onClick:y[12]||(y[12]=j=>o("code"))},{default:ie(()=>[O(k)]),_:1},8,["checked"])),[[q,"行内代码"]]),Ge((U(),_e(Qr,{style:{flex:"1"},checked:z(t).blockquote,onClick:y[13]||(y[13]=j=>o("blockquote"))},{default:ie(()=>[O(P)]),_:1},8,["checked"])),[[q,"引用"]])]),_:1}),O(Bn,{class:"row",passive:""},{default:ie(()=>[Ge((U(),_e(Qr,{first:"",style:{flex:"1"},onClick:y[14]||(y[14]=j=>o("clear"))},{default:ie(()=>[O(F)]),_:1})),[[q,"清除格式"]]),Ge((U(),_e(Qr,{style:{flex:"1"},checked:!!z(n),onClick:y[15]||(y[15]=j=>z(r)()),onDblclick:y[16]||(y[16]=j=>z(r)(!0))},{default:ie(()=>[O(C)]),_:1},8,["checked"])),[[q,"格式刷(双击连续使用)"]]),O(Nt,{placement:"bottom-end",trigger:"click",value:h.value,"onUpdate:value":y[21]||(y[21]=j=>h.value=j),style:{width:"33.33%"}},{content:ie(()=>[D("div",yUe,[O(fc,{value:d.value,"onUpdate:value":y[17]||(y[17]=j=>d.value=j),placeholder:"请输入超链接"},null,8,["value"]),D("div",AUe,[O(et,{size:"small",disabled:!z(t).link,onClick:y[18]||(y[18]=j=>g()),style:{"margin-right":"5px"}},{default:ie(()=>[Ue("移除")]),_:1},8,["disabled"]),O(et,{size:"small",type:"primary",onClick:y[19]||(y[19]=j=>v(d.value))},{default:ie(()=>[Ue("确认")]),_:1})])])]),default:ie(()=>[Ge((U(),_e(Qr,{last:"",style:{width:"100%"},checked:!!z(t).link,onClick:y[20]||(y[20]=j=>p())},{default:ie(()=>[O(N)]),_:1},8,["checked"])),[[q,"超链接"]])]),_:1},8,["value"])]),_:1}),O(Zt),O(Au,{class:"row","button-style":"solid",value:z(t).align,"onUpdate:value":y[22]||(y[22]=j=>o("align",j))},{default:ie(()=>[Ge((U(),_e(zn,{value:"left",style:{flex:"1"}},{default:ie(()=>[O(I)]),_:1})),[[q,"左对齐"]]),Ge((U(),_e(zn,{value:"center",style:{flex:"1"}},{default:ie(()=>[O(V)]),_:1})),[[q,"居中"]]),Ge((U(),_e(zn,{value:"right",style:{flex:"1"}},{default:ie(()=>[O(W)]),_:1})),[[q,"右对齐"]]),Ge((U(),_e(zn,{value:"justify",style:{flex:"1"}},{default:ie(()=>[O(Z)]),_:1})),[[q,"两端对齐"]])]),_:1},8,["value"]),D("div",RUe,[O(Bn,{style:{flex:"1"}},{default:ie(()=>[Ge((U(),_e(et,{first:"",type:z(t).bulletList?"primary":"default",style:{flex:"1"},onClick:y[23]||(y[23]=j=>o("bulletList"))},{default:ie(()=>[O(re)]),_:1},8,["type"])),[[q,"项目符号"]]),O(Nt,{trigger:"click",value:a.value,"onUpdate:value":y[24]||(y[24]=j=>a.value=j)},{content:ie(()=>[D("div",bUe,[(U(!0),te(We,null,nt(c.value,j=>(U(),te("ul",{class:"list",key:j,style:Le({listStyleType:j}),onClick:de=>o("bulletList",j)},[(U(),te(We,null,nt(3,de=>D("li",{class:"list-item",key:de},wUe)),64))],12,xUe))),128))])]),default:ie(()=>[O(et,{last:"",class:"popover-btn"},{default:ie(()=>[O(Y)]),_:1})]),_:1},8,["value"])]),_:1}),MUe,O(Bn,{style:{flex:"1"},passive:""},{default:ie(()=>[Ge((U(),_e(et,{first:"",type:z(t).orderedList?"primary":"default",style:{flex:"1"},onClick:y[25]||(y[25]=j=>o("orderedList"))},{default:ie(()=>[O(B)]),_:1},8,["type"])),[[q,"编号"]]),O(Nt,{trigger:"click",value:s.value,"onUpdate:value":y[26]||(y[26]=j=>s.value=j)},{content:ie(()=>[D("div",LUe,[(U(!0),te(We,null,nt(f.value,j=>(U(),te("ul",{class:"list",key:j,style:Le({listStyleType:j}),onClick:de=>o("orderedList",j)},[(U(),te(We,null,nt(3,de=>D("li",{class:"list-item",key:de},OUe)),64))],12,TUe))),128))])]),default:ie(()=>[O(et,{last:"",class:"popover-btn"},{default:ie(()=>[O(Y)]),_:1})]),_:1},8,["value"])]),_:1})]),D("div",kUe,[O(Bn,{style:{flex:"1"},passive:""},{default:ie(()=>[Ge((U(),_e(et,{first:"",style:{flex:"1"},onClick:y[27]||(y[27]=j=>o("indent","-1"))},{default:ie(()=>[O(Q)]),_:1})),[[q,"减小段落缩进"]]),O(Nt,{trigger:"click",value:l.value,"onUpdate:value":y[29]||(y[29]=j=>l.value=j)},{content:ie(()=>[O(Yr,{onClick:y[28]||(y[28]=j=>o("textIndent","-1"))},{default:ie(()=>[Ue("减小首行缩进")]),_:1})]),default:ie(()=>[O(et,{last:"",class:"popover-btn"},{default:ie(()=>[O(Y)]),_:1})]),_:1},8,["value"])]),_:1}),PUe,O(Bn,{style:{flex:"1"},passive:""},{default:ie(()=>[Ge((U(),_e(et,{first:"",style:{flex:"1"},onClick:y[30]||(y[30]=j=>o("indent","+1"))},{default:ie(()=>[O(K)]),_:1})),[[q,"增大段落缩进"]]),O(Nt,{trigger:"click",value:u.value,"onUpdate:value":y[32]||(y[32]=j=>u.value=j)},{content:ie(()=>[O(Yr,{onClick:y[31]||(y[31]=j=>o("textIndent","+1"))},{default:ie(()=>[Ue("增大首行缩进")]),_:1})]),default:ie(()=>[O(et,{last:"",class:"popover-btn"},{default:ie(()=>[O(Y)]),_:1})]),_:1},8,["value"])]),_:1})])])}}}),ste=Be(CUe,[["__scopeId","data-v-f8e123db"]]),l4=e=>(en("data-v-82b69e69"),e=e(),tn(),e),IUe={class:"text-style-panel"},NUe={class:"preset-style"},FUe=["onClick"],EUe={class:"row"},XUe=l4(()=>D("div",{style:{width:"40%"}},"行间距:",-1)),WUe={class:"row"},VUe=l4(()=>D("div",{style:{width:"40%"}},"段间距:",-1)),DUe={class:"row"},UUe=l4(()=>D("div",{style:{width:"40%"}},"字间距:",-1)),BUe={class:"row"},YUe=l4(()=>D("div",{style:{width:"40%"}},"文本框填充:",-1)),ZUe=Xe({__name:"TextStylePanel",setup(e){const t=[{label:"大标题",style:{fontSize:"26px",fontWeight:700},cmd:[{command:"clear"},{command:"bold"},{command:"fontsize",value:"66px"},{command:"align",value:"center"}]},{label:"小标题",style:{fontSize:"22px",fontWeight:700},cmd:[{command:"clear"},{command:"bold"},{command:"fontsize",value:"40px"},{command:"align",value:"center"}]},{label:"正文",style:{fontSize:"20px"},cmd:[{command:"clear"},{command:"fontsize",value:"20px"}]},{label:"正文[小]",style:{fontSize:"18px"},cmd:[{command:"clear"},{command:"fontsize",value:"18px"}]},{label:"注释 1",style:{fontSize:"16px",fontStyle:"italic"},cmd:[{command:"clear"},{command:"fontsize",value:"16px"},{command:"em"}]},{label:"注释 2",style:{fontSize:"16px",textDecoration:"underline"},cmd:[{command:"clear"},{command:"fontsize",value:"16px"},{command:"underline"}]}],n=ht(),r=lt(),{handleElement:i,handleElementId:o}=De(n),{addHistorySnapshot:a}=nn(),s=A=>{r.updateElement({id:o.value,props:A}),a()},l=pe("#000"),u=pe(),c=pe(),f=pe();_t(i,()=>{!i.value||i.value.type!=="text"||(l.value=i.value.fill||"#fff",u.value=i.value.lineHeight||1.5,c.value=i.value.wordSpace||0,f.value=i.value.paragraphSpace===void 0?5:i.value.paragraphSpace,Hi.emit(Ti.SYNC_RICH_TEXT_ATTRS_TO_STORE))},{deep:!0,immediate:!0});const d=[.9,1,1.15,1.2,1.4,1.5,1.8,2,2.5,3],h=[0,1,2,3,4,5,6,8,10],p=[0,5,10,15,20,25,30,40,50,80],v=A=>{s({lineHeight:A})},g=A=>{s({paragraphSpace:A})},m=A=>{s({wordSpace:A})},y=A=>{s({fill:A})},R=A=>{Hi.emit(Ti.RICH_TEXT_COMMAND,{action:A})};return(A,x)=>{const S=xe("IconRowHeight"),_=xe("IconVerticalSpacingBetweenItems"),M=xe("IconFullwidth");return U(),te("div",IUe,[D("div",NUe,[(U(),te(We,null,nt(t,w=>D("div",{class:"preset-style-item",key:w.label,style:Le(w.style),onClick:L=>R(w.cmd)},pt(w.label),13,FUe)),64))]),O(Zt),O(ste),O(Zt),D("div",EUe,[XUe,O(zr,{style:{width:"60%"},value:u.value||1,"onUpdate:value":x[0]||(x[0]=w=>v(w)),options:d.map(w=>({label:w+"倍",value:w}))},{icon:ie(()=>[O(S)]),_:1},8,["value","options"])]),D("div",WUe,[VUe,O(zr,{style:{width:"60%"},value:f.value||0,"onUpdate:value":x[1]||(x[1]=w=>g(w)),options:p.map(w=>({label:w+"px",value:w}))},{icon:ie(()=>[O(_)]),_:1},8,["value","options"])]),D("div",DUe,[UUe,O(zr,{style:{width:"60%"},value:c.value||0,"onUpdate:value":x[2]||(x[2]=w=>m(w)),options:h.map(w=>({label:w+"px",value:w}))},{icon:ie(()=>[O(M)]),_:1},8,["value","options"])]),D("div",BUe,[YUe,O(Nt,{trigger:"click",style:{width:"60%"}},{content:ie(()=>[O(qn,{modelValue:l.value,"onUpdate:modelValue":x[3]||(x[3]=w=>y(w))},null,8,["modelValue"])]),default:ie(()=>[O(Gr,{color:l.value},null,8,["color"])]),_:1})]),O(Zt),O(my),O(Zt),O(a4),O(Zt),O(ete)])}}}),QUe=Be(ZUe,[["__scopeId","data-v-82b69e69"]]),HUe={class:"element-flip"},KUe=Xe({__name:"ElementFlip",setup(e){const t=lt(),{handleElement:n}=De(ht()),r=pe(!1),i=pe(!1);_t(n,()=>{n.value&&(n.value.type==="image"||n.value.type==="shape")&&(r.value=!!n.value.flipH,i.value=!!n.value.flipV)},{deep:!0,immediate:!0});const{addHistorySnapshot:o}=nn(),a=s=>{n.value&&(t.updateElement({id:n.value.id,props:s}),o())};return(s,l)=>{const u=xe("IconFlipVertically"),c=xe("IconFlipHorizontally");return U(),te("div",HUe,[O(Bn,{class:"row"},{default:ie(()=>[O(Qr,{style:{flex:"1"},checked:i.value,onClick:l[0]||(l[0]=f=>a({flipV:!i.value}))},{default:ie(()=>[O(u),Ue(" 垂直翻转")]),_:1},8,["checked"]),O(Qr,{style:{flex:"1"},checked:r.value,onClick:l[1]||(l[1]=f=>a({flipH:!r.value}))},{default:ie(()=>[O(c),Ue(" 水平翻转")]),_:1},8,["checked"])]),_:1})])}}}),lte=Be(KUe,[["__scopeId","data-v-100c8a7c"]]),GUe=e=>(en("data-v-e7ba40ca"),e=e(),tn(),e),zUe={class:"element-filter"},JUe={class:"row"},$Ue=GUe(()=>D("div",{style:{flex:"2"}},"启用滤镜:",-1)),jUe={class:"switch-wrapper",style:{flex:"3"}},qUe={class:"presets"},eBe=["onClick"],tBe=["src"],nBe={class:"preset-label"},rBe={class:"filter"},iBe={class:"name"},oBe=Xe({__name:"ElementFilter",setup(e){const t=[{label:"模糊",key:"blur",default:0,value:0,unit:"px",max:10,step:1},{label:"亮度",key:"brightness",default:100,value:100,unit:"%",max:200,step:5},{label:"对比度",key:"contrast",default:100,value:100,unit:"%",max:200,step:5},{label:"灰度",key:"grayscale",default:0,value:0,unit:"%",max:100,step:5},{label:"饱和度",key:"saturate",default:100,value:100,unit:"%",max:200,step:5},{label:"色相",key:"hue-rotate",default:0,value:0,unit:"deg",max:360,step:10},{label:"褐色",key:"sepia",default:0,value:0,unit:"%",max:100,step:5},{label:"反转",key:"invert",default:0,value:0,unit:"%",max:100,step:5},{label:"不透明度",key:"opacity",default:100,value:100,unit:"%",max:100,step:5}],n=[{label:"黑白",values:{grayscale:"100%"}},{label:"复古",values:{sepia:"50%",contrast:"110%",brightness:"90%"}},{label:"锐化",values:{contrast:"150%"}},{label:"柔和",values:{brightness:"110%",contrast:"90%"}},{label:"暖色",values:{sepia:"30%",saturate:"135%"}},{label:"明亮",values:{brightness:"110%",contrast:"110%"}},{label:"鲜艳",values:{saturate:"200%"}},{label:"模糊",values:{blur:"2px"}},{label:"反转",values:{invert:"100%"}}],r=lt(),{handleElement:i,handleElementId:o}=De(ht()),a=i,s=pe(JSON.parse(JSON.stringify(t))),l=pe(!1),{addHistorySnapshot:u}=nn();_t(i,()=>{if(!i.value||i.value.type!=="image")return;const p=i.value.filters;p?(s.value=t.map(v=>{const g=p[v.key];return g?{...v,value:parseInt(g)}:v}),l.value=!0):(s.value=JSON.parse(JSON.stringify(t)),l.value=!1)},{deep:!0,immediate:!0});const c=p=>{let v="";const g=Object.keys(p);for(const m of g)v+=`${m}(${p[m]}) `;return v},f=(p,v)=>{const y={...i.value.filters||{},[p.key]:`${v}${p.unit}`};r.updateElement({id:o.value,props:{filters:y}}),u()},d=p=>{i.value&&(p?r.updateElement({id:i.value.id,props:{filters:{}}}):r.removeElementProps({id:i.value.id,propName:"filters"}),u())},h=p=>{r.updateElement({id:o.value,props:{filters:p}}),u()};return(p,v)=>(U(),te("div",zUe,[D("div",JUe,[$Ue,D("div",jUe,[O(Cs,{value:l.value,"onUpdate:value":v[0]||(v[0]=g=>d(g))},null,8,["value"])])]),l.value?(U(),te(We,{key:0},[D("div",qUe,[(U(),te(We,null,nt(n,(g,m)=>D("div",{class:"preset-item",key:m,onClick:y=>h(g.values)},[D("img",{src:z(a).src,alt:"",style:Le({filter:c(g.values)})},null,12,tBe),D("span",nBe,pt(g.label),1)],8,eBe)),64))]),D("div",rBe,[(U(!0),te(We,null,nt(s.value,g=>(U(),te("div",{class:"filter-item",key:g.key},[D("div",iBe,pt(g.label),1),O(Ki,{class:"filter-slider",max:g.max,min:0,step:g.step,value:g.value,"onUpdate:value":m=>f(g,m)},null,8,["max","step","value","onUpdate:value"])]))),128))])],64)):Ye("",!0)]))}}),aBe=Be(oBe,[["__scopeId","data-v-e7ba40ca"]]),ute=e=>(en("data-v-51ffed2c"),e=e(),tn(),e),sBe={class:"element-color-mask"},lBe={class:"row"},uBe=ute(()=>D("div",{style:{width:"40%"}},"着色(蒙版):",-1)),cBe={class:"switch-wrapper",style:{width:"60%"}},fBe={key:0,class:"row",style:{"margin-top":"15px"}},dBe=ute(()=>D("div",{style:{width:"40%"}},"蒙版颜色:",-1)),cB="rgba(226, 83, 77, 0.5)",hBe=Xe({__name:"ElementColorMask",setup(e){const t=lt(),{handleElement:n,handleElementId:r}=De(ht()),i=pe(cB),o=pe(!1),{addHistorySnapshot:a}=nn();_t(n,()=>{!n.value||n.value.type!=="image"||(n.value.colorMask?(i.value=n.value.colorMask,o.value=!0):o.value=!1)},{deep:!0,immediate:!0});const s=u=>{n.value&&(u?t.updateElement({id:n.value.id,props:{colorMask:cB}}):t.removeElementProps({id:n.value.id,propName:"colorMask"}),a())},l=u=>{t.updateElement({id:r.value,props:{colorMask:u}}),a()};return(u,c)=>(U(),te("div",sBe,[D("div",lBe,[uBe,D("div",cBe,[O(Cs,{value:o.value,"onUpdate:value":c[0]||(c[0]=f=>s(f))},null,8,["value"])])]),o.value?(U(),te("div",fBe,[dBe,O(Nt,{trigger:"click",style:{width:"60%"}},{content:ie(()=>[O(qn,{modelValue:i.value,"onUpdate:modelValue":c[1]||(c[1]=f=>l(f))},null,8,["modelValue"])]),default:ie(()=>[O(Gr,{color:i.value},null,8,["color"])]),_:1})])):Ye("",!0)]))}}),pBe=Be(hBe,[["__scopeId","data-v-51ffed2c"]]),cte=e=>(en("data-v-b758ebc3"),e=e(),tn(),e),vBe={class:"image-style-panel"},gBe={class:"clip"},mBe=cte(()=>D("div",{class:"title"},"按形状:",-1)),yBe={class:"shape-clip"},ABe=["onClick"],RBe={key:0,class:"title"},bBe={class:"row"},xBe=cte(()=>D("div",{style:{width:"40%"}},"圆角半径:",-1)),SBe=Xe({__name:"ImageStylePanel",setup(e){const t=a6,n=[{label:"纵横比(正方形)",children:[{key:"1:1",ratio:1/1}]},{label:"纵横比(纵向)",children:[{key:"2:3",ratio:3/2},{key:"3:4",ratio:4/3},{key:"3:5",ratio:5/3},{key:"4:5",ratio:5/4}]},{label:"纵横比(横向)",children:[{key:"3:2",ratio:2/3},{key:"4:3",ratio:3/4},{key:"5:3",ratio:3/5},{key:"5:4",ratio:4/5}]},{children:[{key:"16:9",ratio:9/16},{key:"16:10",ratio:10/16}]}],r=ht(),i=lt(),{handleElement:o,handleElementId:a}=De(r),{currentSlide:s}=De(i),l=o,u=pe(!1),{addHistorySnapshot:c}=nn(),f=()=>{r.setClipingImageElementId(a.value),u.value=!1},d=()=>{const y=o.value,R=y.width,A=y.height,x=y.left,S=y.top,_=y.clip?y.clip.range:[[0,0],[100,100]],M=R/((_[1][0]-_[0][0])/100),w=A/((_[1][1]-_[0][1])/100),L=x-M*(_[0][0]/100),k=S-w*(_[0][1]/100);return{originClipRange:_,originWidth:M,originHeight:w,originLeft:L,originTop:k}},h=y=>{o.value&&(i.updateElement({id:a.value,props:y}),c())},p=(y,R=0)=>{const A=o.value,{originClipRange:x,originWidth:S,originHeight:_,originLeft:M,originTop:w}=d();if(R){const L=_/S,k=0,P=100;let F;if(L>R){const C=(1-R/L)/2*100;F=[[k,C],[P,P-C]]}else{const C=(1-L/R)/2*100;F=[[C,k],[P-C,P]]}h({clip:{...A.clip,shape:y,range:F},left:M+S*(F[0][0]/100),top:w+_*(F[0][1]/100),width:S*(F[1][0]-F[0][0])/100,height:_*(F[1][1]-F[0][1])/100})}else{const L={...A.clip,shape:y,range:x};let k={clip:L};y==="rect"&&(k={clip:L,radius:0}),h(k)}f()},v=y=>{const R=y[0];R&&sd(R).then(A=>{const x=l.value.width,S=l.value.height,_=l.value.left,M=l.value.top,w=_+x/2,L=M+S/2;WH(A).then(({width:k,height:P})=>{const F=S,C=k*(S/P),N=w-C/2,I=L-F/2;i.removeElementProps({id:a.value,propName:"clip"}),h({src:A,width:C,height:F,left:N,top:I})})})},g=()=>{if(o.value.clip){const{originWidth:R,originHeight:A,originLeft:x,originTop:S}=d();h({left:x,top:S,width:R,height:A})}i.removeElementProps({id:a.value,propName:["clip","outline","flip","shadow","filters","colorMask","radius"]}),c()},m=()=>{const y=o.value,R={...s.value.background,type:"image",image:{src:y.src,size:"cover"}};i.updateSlide({background:R}),c()};return(y,R)=>{const A=xe("IconTailoring"),x=xe("IconDown"),S=xe("IconTransform"),_=xe("IconUndo"),M=xe("IconTheme");return U(),te("div",vBe,[D("div",{class:"origin-image",style:Le({backgroundImage:`url(${z(l).src})`})},null,4),O(lte),O(Bn,{class:"row",passive:""},{default:ie(()=>[O(et,{first:"",style:{width:"calc(100% / 6 * 5)"},onClick:R[0]||(R[0]=w=>f())},{default:ie(()=>[O(A,{class:"btn-icon"}),Ue(" 裁剪图片")]),_:1}),O(Nt,{trigger:"click",value:u.value,"onUpdate:value":R[1]||(R[1]=w=>u.value=w),style:{width:"calc(100% / 6)"}},{content:ie(()=>[D("div",gBe,[mBe,D("div",yBe,[(U(!0),te(We,null,nt(z(t),(w,L)=>(U(),te("div",{class:"shape-clip-item",key:L,onClick:k=>p(L)},[D("div",{class:"shape",style:Le({clipPath:w.style})},null,4)],8,ABe))),128))]),(U(),te(We,null,nt(n,w=>(U(),te(We,{key:w.label},[w.label?(U(),te("div",RBe,"按"+pt(w.label)+":",1)):Ye("",!0),O(Bn,{class:"row"},{default:ie(()=>[(U(!0),te(We,null,nt(w.children,L=>(U(),_e(et,{style:{flex:"1"},key:L.key,onClick:k=>p("rect",L.ratio)},{default:ie(()=>[Ue(pt(L.key),1)]),_:2},1032,["onClick"]))),128))]),_:2},1024)],64))),64))])]),default:ie(()=>[O(et,{last:"",class:"popover-btn",style:{width:"100%"}},{default:ie(()=>[O(x)]),_:1})]),_:1},8,["value"])]),_:1}),D("div",bBe,[xBe,O(qo,{value:z(l).radius||0,"onUpdate:value":R[2]||(R[2]=w=>h({radius:w})),style:{width:"60%"}},null,8,["value"])]),O(Zt),O(pBe),O(Zt),O(aBe),O(Zt),O(my),O(Zt),O(a4),O(Zt),O($h,{onChange:R[3]||(R[3]=w=>v(w))},{default:ie(()=>[O(et,{class:"full-width-btn"},{default:ie(()=>[O(S,{class:"btn-icon"}),Ue(" 替换图片")]),_:1})]),_:1}),O(et,{class:"full-width-btn",onClick:R[4]||(R[4]=w=>g())},{default:ie(()=>[O(_,{class:"btn-icon"}),Ue(" 重置样式")]),_:1}),O(et,{class:"full-width-btn",onClick:R[5]||(R[5]=w=>m())},{default:ie(()=>[O(M,{class:"btn-icon"}),Ue(" 设为背景")]),_:1})])}}}),wBe=Be(SBe,[["__scopeId","data-v-b758ebc3"]]),MBe=()=>{const e=ht(),{shapeFormatPainter:t,handleElement:n}=De(e);return{toggleShapeFormatPainter:(i=!1)=>{const o=n.value;t.value?e.setShapeFormatPainter(null):e.setShapeFormatPainter({keep:i,fill:o.fill,gradient:o.gradient,outline:o.outline,opacity:o.opacity,shadow:o.shadow})}}},LBe={class:"gradient-bar"},TBe=["onMousedown","onContextmenu"],_Be=Xe({__name:"GradientBar",props:{value:{},index:{}},emits:["update:value","update:index"],setup(e,{emit:t}){const n=e,r=t,i=pe([]),o=pe();Wv(()=>{i.value=n.value,n.index>n.value.length-1&&r("update:index",0)});const a=Se(()=>`linear-gradient(to right, ${i.value.map(f=>`${f.color} ${f.pos}%`).join(",")})`),s=c=>{if(n.value.length<=2)return;let f=0;c===n.index?f=c-1<0?0:c-1:n.index===n.value.length-1&&(f=n.value.length-2);const d=n.value.filter((h,p)=>p!==c);r("update:index",f),r("update:value",d)},l=c=>{let f=!0;document.onmousemove=d=>{if(!f||!o.value)return;let h=Math.round((d.clientX-o.value.getBoundingClientRect().left)/o.value.clientWidth*100);h>100&&(h=100),h<0&&(h=0),i.value=i.value.map((p,v)=>v===c?{...p,pos:h}:p)},document.onmouseup=()=>{f=!1;const d=i.value[c],h=[...i.value];h.splice(c,1);let p=0;for(let v=0;v<h.length;v++)d.pos>h[v].pos&&(p=v+1);h.splice(p,0,d),r("update:index",p),r("update:value",h),document.onmousemove=null,document.onmouseup=null}},u=c=>{if(n.value.length>=6||!o.value)return;const f=Math.round((c.clientX-o.value.getBoundingClientRect().left)/o.value.clientWidth*100);let d=0;for(let v=0;v<n.value.length;v++)f>n.value[v].pos&&(d=v+1);const h=n.value[d-1]?n.value[d-1].color:n.value[d].color,p=[...n.value];p.splice(d,0,{pos:f,color:h}),r("update:index",d),r("update:value",p)};return(c,f)=>(U(),te("div",LBe,[D("div",{class:"bar",ref_key:"barRef",ref:o,style:Le({backgroundImage:a.value}),onClick:f[0]||(f[0]=d=>u(d))},null,4),(U(!0),te(We,null,nt(i.value,(d,h)=>(U(),te("div",{class:ze(["point",{active:c.index===h}]),key:d.pos+"-"+h,style:Le({backgroundColor:d.color,left:`calc(${d.pos}% - 5px)`}),onMousedown:Ft(p=>l(h),["left"]),onContextmenu:Ft(p=>s(h),["right"])},null,46,TBe))),128))]))}}),fte=Be(_Be,[["__scopeId","data-v-7ef8069a"]]),u4=e=>(en("data-v-2864245a"),e=e(),tn(),e),OBe={class:"shape-style-panel"},kBe={class:"title"},PBe=u4(()=>D("span",null,"点击替换形状",-1)),CBe={class:"shape-pool"},IBe={class:"shape-list"},NBe={class:"row"},FBe=u4(()=>D("div",{style:{width:"10px"}},null,-1)),EBe={class:"row"},XBe={class:"row"},WBe=u4(()=>D("div",{style:{width:"40%"}},"当前色块:",-1)),VBe={key:0,class:"row"},DBe=u4(()=>D("div",{style:{width:"40%"}},"渐变角度:",-1)),UBe={class:"row"},BBe=Xe({__name:"ShapeStylePanel",setup(e){const t=ht(),n=lt(),{handleElement:r,handleElementId:i,shapeFormatPainter:o}=De(t),a=r,s=pe("#000"),l=pe({type:"linear",rotate:0,colors:[{pos:0,color:"#fff"},{pos:100,color:"#fff"}]}),u=pe("fill"),c=pe("middle"),f=pe(0);_t(r,()=>{var S,_;if(!r.value||r.value.type!=="shape")return;s.value=r.value.fill||"#fff";const x=[{pos:0,color:s.value},{pos:100,color:"#fff"}];l.value=r.value.gradient||{type:"linear",rotate:0,colors:x},u.value=r.value.gradient?"gradient":"fill",c.value=((_=(S=r.value)==null?void 0:S.text)==null?void 0:_.align)||"middle"},{deep:!0,immediate:!0}),_t(i,()=>{f.value=0});const{addHistorySnapshot:d}=nn(),{toggleShapeFormatPainter:h}=MBe(),p=x=>{n.updateElement({id:i.value,props:x}),d()},v=x=>{x==="fill"?(n.removeElementProps({id:i.value,propName:"gradient"}),d()):(f.value=0,p({gradient:l.value}))},g=x=>{if(!l.value)return;const S={...l.value,...x};p({gradient:S})},m=x=>{const S=l.value.colors.map((_,M)=>M===f.value?{..._,color:x}:_);g({colors:S})},y=x=>{p({fill:x})},R=x=>{const{width:S,height:_}=r.value,M={viewBox:x.viewBox,path:x.path,special:x.special};if(x.pathFormula){M.pathFormula=x.pathFormula,M.viewBox=[S,_];const w=u0[x.pathFormula];"editable"in w?(M.path=w.formula(S,_,w.defaultValue),M.keypoints=w.defaultValue):M.path=w.formula(S,_)}else M.pathFormula=void 0,M.keypoints=void 0;p(M)},A=x=>{const S=r.value,_={content:"",defaultFontName:"",defaultColor:"#000",align:"middle"},M=S.text||_;p({text:{...M,align:x}})};return(x,S)=>{var F;const _=xe("IconDown"),M=xe("IconAlignTextTopOne"),w=xe("IconAlignTextMiddleOne"),L=xe("IconAlignTextBottomOne"),k=xe("IconFormatBrush"),P=Pn("tooltip");return U(),te("div",OBe,[D("div",kBe,[PBe,O(_)]),D("div",CBe,[(U(!0),te(We,null,nt(z(HO),C=>(U(),te("div",{class:"category",key:C.type},[D("div",IBe,[(U(!0),te(We,null,nt(C.children,(N,I)=>(U(),_e(Nee,{class:"shape-item",key:I,shape:N,onClick:V=>R(N)},null,8,["shape","onClick"]))),128))])]))),128))]),D("div",NBe,[O(zr,{style:{flex:"1"},value:u.value,"onUpdate:value":S[0]||(S[0]=C=>v(C)),options:[{label:"纯色填充",value:"fill"},{label:"渐变填充",value:"gradient"}]},null,8,["value"]),FBe,u.value==="fill"?(U(),_e(Nt,{key:0,trigger:"click",style:{flex:"1"}},{content:ie(()=>[O(qn,{modelValue:s.value,"onUpdate:modelValue":S[1]||(S[1]=C=>y(C))},null,8,["modelValue"])]),default:ie(()=>[O(Gr,{color:s.value},null,8,["color"])]),_:1})):(U(),_e(zr,{key:1,style:{flex:"1"},value:l.value.type,"onUpdate:value":S[2]||(S[2]=C=>g({type:C})),options:[{label:"线性渐变",value:"linear"},{label:"径向渐变",value:"radial"}]},null,8,["value"]))]),u.value==="gradient"?(U(),te(We,{key:0},[D("div",EBe,[O(fte,{value:l.value.colors,index:f.value,"onUpdate:value":S[3]||(S[3]=C=>g({colors:C})),"onUpdate:index":S[4]||(S[4]=C=>f.value=C)},null,8,["value","index"])]),D("div",XBe,[WBe,O(Nt,{trigger:"click",style:{width:"60%"}},{content:ie(()=>[O(qn,{modelValue:l.value.colors[f.value].color,"onUpdate:modelValue":S[5]||(S[5]=C=>m(C))},null,8,["modelValue"])]),default:ie(()=>[O(Gr,{color:l.value.colors[f.value].color},null,8,["color"])]),_:1})]),l.value.type==="linear"?(U(),te("div",VBe,[DBe,O(Ki,{style:{width:"60%"},min:0,max:360,step:15,value:l.value.rotate,"onUpdate:value":S[6]||(S[6]=C=>g({rotate:C}))},null,8,["value"])])):Ye("",!0)],64)):Ye("",!0),O(lte),O(Zt),(F=z(a).text)!=null&&F.content?(U(),te(We,{key:1},[O(ste),O(Zt),O(Au,{class:"row","button-style":"solid",value:c.value,"onUpdate:value":S[7]||(S[7]=C=>A(C))},{default:ie(()=>[Ge((U(),_e(zn,{value:"top",style:{flex:"1"}},{default:ie(()=>[O(M)]),_:1})),[[P,"顶对齐"]]),Ge((U(),_e(zn,{value:"middle",style:{flex:"1"}},{default:ie(()=>[O(w)]),_:1})),[[P,"居中"]]),Ge((U(),_e(zn,{value:"bottom",style:{flex:"1"}},{default:ie(()=>[O(L)]),_:1})),[[P,"底对齐"]])]),_:1},8,["value"]),O(Zt)],64)):Ye("",!0),O(my),O(Zt),O(a4),O(Zt),O(ete),O(Zt),D("div",UBe,[Ge((U(),_e(Qr,{style:{flex:"1"},checked:!!z(o),onClick:S[8]||(S[8]=C=>z(h)()),onDblclick:S[9]||(S[9]=C=>z(h)(!0))},{default:ie(()=>[O(k),Ue(" 形状格式刷")]),_:1},8,["checked"])),[[P,"双击连续使用"]])])])}}}),YBe=Be(BBe,[["__scopeId","data-v-2864245a"]]),Ry=e=>(en("data-v-149431ff"),e=e(),tn(),e),ZBe={class:"line-style-panel"},QBe={class:"row"},HBe=Ry(()=>D("div",{style:{width:"40%"}},"线条样式:",-1)),KBe=["onClick"],GBe={class:"row"},zBe=Ry(()=>D("div",{style:{width:"40%"}},"线条颜色:",-1)),JBe={class:"row"},$Be=Ry(()=>D("div",{style:{width:"40%"}},"线条宽度:",-1)),jBe={class:"row"},qBe=Ry(()=>D("div",{style:{width:"40%"}},"起点样式:",-1)),eYe=["onClick"],tYe={class:"row"},nYe=Ry(()=>D("div",{style:{width:"40%"}},"终点样式:",-1)),rYe=["onClick"],iYe={class:"row"},oYe=Xe({__name:"LineStylePanel",setup(e){const t=lt(),{handleElement:n}=De(ht()),r=n,{addHistorySnapshot:i}=nn(),o=pe(["solid","dashed","dotted"]),a=pe(["","arrow","dot"]),s=l=>{n.value&&(t.updateElement({id:n.value.id,props:l}),i())};return(l,u)=>{const c=xe("IconSwitch");return U(),te("div",ZBe,[D("div",QBe,[HBe,O(cv,{style:{width:"60%"}},{options:ie(()=>[(U(!0),te(We,null,nt(o.value,f=>(U(),te("div",{class:"option",key:f,onClick:d=>s({style:f})},[O(ms,{type:f},null,8,["type"])],8,KBe))),128))]),label:ie(()=>[O(ms,{type:z(r).style},null,8,["type"])]),_:1})]),D("div",GBe,[zBe,O(Nt,{trigger:"click",style:{width:"60%"}},{content:ie(()=>[O(qn,{modelValue:z(r).color,"onUpdate:modelValue":u[0]||(u[0]=f=>s({color:f}))},null,8,["modelValue"])]),default:ie(()=>[O(Gr,{color:z(r).color},null,8,["color"])]),_:1})]),D("div",JBe,[$Be,O(qo,{value:z(r).width,"onUpdate:value":u[1]||(u[1]=f=>s({width:f})),style:{width:"60%"}},null,8,["value"])]),D("div",jBe,[qBe,O(cv,{style:{width:"60%"}},{options:ie(()=>[(U(!0),te(We,null,nt(a.value,f=>(U(),te("div",{class:"option",key:f,onClick:d=>s({points:[f,z(r).points[1]]})},[O(ms,{padding:5,markers:[f,""]},null,8,["markers"])],8,eYe))),128))]),label:ie(()=>[O(ms,{padding:5,markers:[z(r).points[0],""]},null,8,["markers"])]),_:1})]),D("div",tYe,[nYe,O(cv,{style:{width:"60%"}},{options:ie(()=>[(U(!0),te(We,null,nt(a.value,f=>(U(),te("div",{class:"option",key:f,onClick:d=>s({points:[z(r).points[0],f]})},[O(ms,{padding:5,markers:["",f]},null,8,["markers"])],8,rYe))),128))]),label:ie(()=>[O(ms,{padding:5,markers:["",z(r).points[1]]},null,8,["markers"])]),_:1})]),O(Zt),D("div",iYe,[O(et,{style:{flex:"1"},onClick:u[2]||(u[2]=f=>s({start:z(r).end,end:z(r).start}))},{default:ie(()=>[O(c),Ue(" 交换方向")]),_:1})]),O(Zt),O(a4)])}}}),aYe=Be(oYe,[["__scopeId","data-v-149431ff"]]),dte=e=>(en("data-v-31747c29"),e=e(),tn(),e),sYe={class:"chart-data-editor"},lYe={class:"editor-content"},uYe={class:"handler"},cYe={class:"col-header"},fYe={class:"col-key"},dYe={class:"row-header"},hYe={class:"row-key"},pYe=dte(()=>D("div",{class:"all-header"},[D("svg",{class:"triangle",width:"8",height:"8",viewBox:"0 0 8 8",xmlns:"http://www.w3.org/2000/svg"},[D("path",{d:"M8,0 L8,8 L0,8 L8,0",fill:"#ccc"})])],-1)),vYe={class:"range-box"},gYe=["id","onFocus","onPaste"],mYe={class:"btns"},yYe={class:"left"},AYe=dte(()=>D("span",{class:"change"},"点击更换",-1)),RYe={class:"right"},bYe="ABCDEFGHIJKLMNOPQRSTUVWXYZ",Qc=100,Hc=32,xYe=Xe({__name:"ChartDataEditor",props:{type:{},data:{}},emits:["save","close"],setup(e,{emit:t}){const n=e,r=t,i=["bar","column","line","area","scatter","pie","ring","radar"],o=pe(!1),a=pe([0,0]),s=pe({width:0,height:0}),l=pe(null),u=pe("bar"),c=Se(()=>{const A=a.value[0]*Qc,x=a.value[1]*Hc;return[{type:"t",style:{width:A+"px"}},{type:"b",style:{top:x+"px",width:A+"px"}},{type:"l",style:{height:x+"px"}},{type:"r",style:{left:A+"px",height:x+"px"}}]}),f=Se(()=>{const A=a.value[0]*Qc,x=a.value[1]*Hc;return{left:A+"px",top:x+"px"}});Ht(()=>{u.value=n.type;const A=[],{labels:x,legends:S,series:_}=n.data,M=x.length,w=_.length;A.push(["",...S]);for(let L=0;L<M;L++){const k=[x[L]];for(let P=0;P<w;P++)k.push(_[P][L]+"");A.push(k)}for(let L=0;L<M+1;L++)for(let k=0;k<w+1;k++){const P=document.querySelector(`#cell-${L}-${k}`);P&&(P.value=A[L][k]+"")}a.value=[w+1,M+1]});const h=()=>{if(!l.value)return;const[A,x]=l.value,S=document.querySelector(`#cell-${A+1}-${x}`);S&&S.focus()},p=A=>{A.key.toUpperCase()===At.ENTER&&h()};Ht(()=>{document.addEventListener("keydown",p)}),Fn(()=>{document.removeEventListener("keydown",p)});const v=()=>{const[A,x]=a.value,S=[];let _=[],M=[];for(let w=1;w<x;w++){let L=`类别${w}`;const k=document.querySelector(`#cell-${w}-0`);k&&k.value&&(L=k.value),S.push(L)}for(let w=1;w<A;w++){let L=`系列${w}`;const k=document.querySelector(`#cell-0-${w}`);k&&k.value&&(L=k.value),_.push(L)}for(let w=1;w<A;w++){const L=[];for(let k=1;k<x;k++){const P=document.querySelector(`#cell-${k}-${w}`);let F=0;P&&P.value&&+P.value&&(F=+P.value),L.push(F)}M.push(L)}u.value==="scatter"&&(_.length>2&&(_=_.slice(0,2),M=M.slice(0,2)),_.length<2&&(_.push("Y"),M.push(M[0]))),(u.value==="ring"||u.value==="pie")&&_.length>1&&(_=_.slice(0,1),M=M.slice(0,1)),r("save",{data:{labels:S,legends:_,series:M},type:u.value})},g=()=>{for(let A=1;A<31;A++)for(let x=1;x<7;x++){const S=document.querySelector(`#cell-${A}-${x}`);S&&(S.value="")}},m=(A,x,S)=>{if(A.preventDefault(),!A.clipboardData)return;const _=A.clipboardData.items[0];_&&_.kind==="string"&&_.type==="text/plain"&&_.getAsString(M=>{if(typeof ZO(M)=="object")return;const L=EH(M);if(L){const k=x+L.length,P=S+L[0].length;for(let F=x;F<k;F++)for(let C=S;C<P;C++){const N=document.querySelector(`#cell-${F}-${C}`);N&&(N.value=L[F-x][C-S])}}})},y=()=>r("close"),R=A=>{let x=!0;const S=A.pageX,_=A.pageY,M=a.value[0]*Qc,w=a.value[1]*Hc;document.onmousemove=L=>{if(!x)return;const k=L.pageX,P=L.pageY,F=k-S,C=P-_,N=M+F,I=w+C;s.value={width:N,height:I}},document.onmouseup=L=>{x=!1,document.onmousemove=null,document.onmouseup=null;const k=L.pageX,P=L.pageY;if(S===k&&_===P)return;let F=s.value.width,C=s.value.height;F%Qc>Qc*.5&&(F=F+(Qc-F%Qc)),C%Hc>Hc*.5&&(C=C+(Hc-C%Hc));let N=Math.round(C/Hc),I=Math.round(F/Qc);N<3&&(N=3),I<2&&(I=2),a.value=[I,N],s.value={width:0,height:0}}};return(A,x)=>(U(),te("div",sYe,[D("div",lYe,[D("div",uYe,[D("div",cYe,[(U(),te(We,null,nt(7,S=>D("div",{class:"col-header-item",key:S},[D("div",fYe,pt(bYe[S-1]),1)])),64))]),D("div",dYe,[(U(),te(We,null,nt(31,S=>D("div",{class:"row-header-item",key:S},[D("div",hYe,pt(S),1)])),64))]),pYe]),D("div",vYe,[D("div",{class:"temp-range",style:Le({width:s.value.width+"px",height:s.value.height+"px"})},null,4),(U(!0),te(We,null,nt(c.value,S=>(U(),te("div",{class:ze(["range-line",S.type]),key:S.type,style:Le(S.style)},null,6))),128)),D("div",{class:"resizable",style:Le(f.value),onMousedown:x[0]||(x[0]=Ft(S=>R(S),["stop"]))},null,36)]),D("table",null,[D("tbody",null,[(U(),te(We,null,nt(31,S=>D("tr",{key:S},[(U(),te(We,null,nt(7,_=>D("td",{key:_,class:ze({head:_===1&&S<=a.value[1]||S===1&&_<=a.value[0]})},[S===1&&_===1?Ye("",!0):(U(),te("input",{key:0,class:ze(["item",{selected:S<=a.value[1]&&_<=a.value[0]}]),id:`cell-${S-1}-${_-1}`,autocomplete:"off",onFocus:M=>l.value=[S-1,_-1],onPaste:M=>m(M,S-1,_-1)},null,42,gYe))],2)),64))])),64))])])]),D("div",mYe,[D("div",yYe,[Ue(" 图表类型:"+pt(z(_T)[u.value])+" ",1),O(Nt,{trigger:"click",placement:"top",value:o.value,"onUpdate:value":x[1]||(x[1]=S=>o.value=S)},{content:ie(()=>[(U(),te(We,null,nt(i,S=>O(Yr,{center:"",key:S,onClick:_=>{u.value=S,o.value=!1}},{default:ie(()=>[Ue(pt(z(_T)[S]),1)]),_:2},1032,["onClick"])),64))]),default:ie(()=>[AYe]),_:1},8,["value"])]),D("div",RYe,[O(et,{class:"btn",onClick:x[2]||(x[2]=S=>y())},{default:ie(()=>[Ue("取消")]),_:1}),O(et,{class:"btn",onClick:x[3]||(x[3]=S=>g())},{default:ie(()=>[Ue("清空数据")]),_:1}),O(et,{type:"primary",class:"btn",onClick:x[4]||(x[4]=S=>v())},{default:ie(()=>[Ue("确认")]),_:1})])])]))}}),SYe=Be(xYe,[["__scopeId","data-v-31747c29"]]),wYe=e=>(en("data-v-40b4de83"),e=e(),tn(),e),MYe=wYe(()=>D("span",{class:"checkbox-input"},null,-1)),LYe=["checked"],TYe={class:"checkbox-label"},_Ye=Xe({__name:"Checkbox",props:{value:{type:Boolean},disabled:{type:Boolean,default:!1}},emits:["update:value"],setup(e,{emit:t}){const n=e,r=t,i=o=>{n.disabled||r("update:value",o.target.checked)};return(o,a)=>(U(),te("label",{class:ze(["checkbox",{checked:o.value,disabled:o.disabled}]),onChange:a[0]||(a[0]=s=>i(s))},[MYe,D("input",{class:"checkbox-original",type:"checkbox",checked:o.value},null,8,LYe),D("span",TYe,[ar(o.$slots,"default",{},void 0,!0)])],34))}}),Ep=Be(_Ye,[["__scopeId","data-v-40b4de83"]]),hte=e=>(en("data-v-c779ea7f"),e=e(),tn(),e),OYe={class:"chart-style-panel"},kYe={class:"row"},PYe={class:"row"},CYe=hte(()=>D("div",{style:{width:"40%"}},"背景填充:",-1)),IYe={class:"row"},NYe=hte(()=>D("div",{style:{width:"40%"}},"文字颜色:",-1)),FYe={style:{width:"40%"}},EYe={class:"color-btn-wrap",style:{width:"100%"}},XYe=["onClick"],WYe={class:"preset-themes"},VYe=["onClick","onMouseenter"],DYe=Xe({__name:"index",setup(e){const t=ht(),n=lt(),{handleElement:r,handleElementId:i}=De(t),{theme:o}=De(n),a=r,s=pe(!1),l=pe(!1),u=pe([-1,-1]),{addHistorySnapshot:c}=nn(),f=pe("#000"),d=pe([]),h=pe(""),p=pe(!1),v=pe(!1);_t(r,()=>{if(!(!r.value||r.value.type!=="chart")){if(f.value=r.value.fill||"#fff",p.value=!1,v.value=!1,r.value.options){const{lineSmooth:L,stack:k}=r.value.options;L!==void 0&&(p.value=L),k!==void 0&&(v.value=k)}d.value=r.value.themeColors,h.value=r.value.textColor||"#333"}},{deep:!0,immediate:!0});const g=L=>{n.updateElement({id:i.value,props:L}),c()},m=L=>{s.value=!1,g({data:L.data,chartType:L.type})},y=L=>{g({fill:L})},R=L=>{const P={...r.value.options,...L};g({options:P})},A=(L,k)=>{const P={themeColors:d.value.map((F,C)=>C===k?L:F)};g(P)},x=()=>{const L={themeColors:[...d.value,o.value.themeColor]};g(L)},S=(L,k)=>{const P=L.slice(0,k+1);g({themeColors:P}),l.value=!1},_=L=>{const k={themeColors:d.value.filter((P,F)=>F!==L)};g(k)},M=L=>{g({textColor:L})},w=()=>s.value=!0;return Hi.on(Ti.OPEN_CHART_DATA_EDITOR,w),Fn(()=>{Hi.off(Ti.OPEN_CHART_DATA_EDITOR,w)}),(L,k)=>{const P=xe("IconEdit"),F=xe("IconCloseSmall"),C=xe("IconPlus"),N=Pn("tooltip");return U(),te("div",OYe,[O(et,{class:"full-width-btn",onClick:k[0]||(k[0]=I=>s.value=!0)},{default:ie(()=>[O(P,{class:"btn-icon"}),Ue(" 编辑图表 ")]),_:1}),O(Zt),["bar","column","area","line"].includes(z(a).chartType)?(U(),te(We,{key:0},[D("div",kYe,[O(Ep,{"onUpdate:value":k[1]||(k[1]=I=>R({stack:I})),value:v.value,style:{flex:"2"}},{default:ie(()=>[Ue("堆叠样式")]),_:1},8,["value"]),z(a).chartType==="line"?(U(),_e(Ep,{key:0,"onUpdate:value":k[2]||(k[2]=I=>R({lineSmooth:I})),value:p.value,style:{flex:"3"}},{default:ie(()=>[Ue("使用平滑曲线")]),_:1},8,["value"])):Ye("",!0)]),O(Zt)],64)):Ye("",!0),D("div",PYe,[CYe,O(Nt,{trigger:"click",style:{width:"60%"}},{content:ie(()=>[O(qn,{modelValue:f.value,"onUpdate:modelValue":k[3]||(k[3]=I=>y(I))},null,8,["modelValue"])]),default:ie(()=>[O(Gr,{color:f.value},null,8,["color"])]),_:1})]),D("div",IYe,[NYe,O(Nt,{trigger:"click",style:{width:"60%"}},{content:ie(()=>[O(qn,{modelValue:h.value,"onUpdate:modelValue":k[4]||(k[4]=I=>M(I))},null,8,["modelValue"])]),default:ie(()=>[O(Gr,{color:h.value},null,8,["color"])]),_:1})]),O(Zt),(U(!0),te(We,null,nt(d.value,(I,V)=>(U(),te("div",{class:"row",key:V},[D("div",FYe,pt(V===0?"主题配色:":""),1),O(Nt,{trigger:"click",style:{width:"60%"}},{content:ie(()=>[O(qn,{modelValue:I,"onUpdate:modelValue":W=>A(W,V)},null,8,["modelValue","onUpdate:modelValue"])]),default:ie(()=>[D("div",EYe,[O(Gr,{color:I},null,8,["color"]),V!==0?Ge((U(),te("div",{key:0,class:"delete-color-btn",onClick:Ft(W=>_(V),["stop"])},[O(F)],8,XYe)),[[N,"删除"]]):Ye("",!0)])]),_:2},1024)]))),128)),O(Bn,{class:"row",passive:""},{default:ie(()=>[O(Nt,{trigger:"click",open:l.value,"onUpdate:open":k[6]||(k[6]=I=>l.value=I),style:{width:"40%"}},{content:ie(()=>[D("div",WYe,[(U(!0),te(We,null,nt(z(Y2e),(I,V)=>(U(),te("div",{class:"preset-theme",key:V},[(U(!0),te(We,null,nt(I,(W,Z)=>(U(),te("div",{class:ze(["preset-theme-color",{select:u.value[0]===V&&Z<=u.value[1]}]),key:W,style:Le({backgroundColor:W}),onClick:re=>S(I,Z),onMouseenter:re=>u.value=[V,Z],onMouseleave:k[5]||(k[5]=re=>u.value=[-1,-1])},null,46,VYe))),128))]))),128))])]),default:ie(()=>[O(et,{first:"",style:{width:"100%"}},{default:ie(()=>[Ue("推荐主题")]),_:1})]),_:1},8,["open"]),O(et,{last:"",disabled:d.value.length>=10,style:{width:"60%"},onClick:k[7]||(k[7]=I=>x())},{default:ie(()=>[O(C,{class:"btn-icon"}),Ue(" 添加主题色 ")]),_:1},8,["disabled"])]),_:1}),O(Zt),O(my),O(n0,{visible:s.value,"onUpdate:visible":k[10]||(k[10]=I=>s.value=I),width:640},{default:ie(()=>[O(SYe,{type:z(a).chartType,data:z(a).data,onClose:k[8]||(k[8]=I=>s.value=!1),onSave:k[9]||(k[9]=I=>m(I))},null,8,["type","data"])]),_:1},8,["visible"])])}}}),UYe=Be(DYe,[["__scopeId","data-v-c779ea7f"]]),c4=e=>(en("data-v-1c68b8b8"),e=e(),tn(),e),BYe={class:"table-style-panel"},YYe={class:"row"},ZYe=c4(()=>D("div",{style:{width:"40%"}},"行数:",-1)),QYe={class:"set-count",style:{width:"60%"}},HYe={class:"count-text"},KYe={class:"row"},GYe=c4(()=>D("div",{style:{width:"40%"}},"列数:",-1)),zYe={class:"set-count",style:{width:"60%"}},JYe={class:"count-text"},$Ye={class:"row theme-switch"},jYe=c4(()=>D("div",{style:{width:"40%"}},"启用主题表格:",-1)),qYe={class:"switch-wrapper",style:{width:"60%"}},eZe={class:"row"},tZe={class:"row"},nZe={class:"row"},rZe=c4(()=>D("div",{style:{width:"40%"}},"主题颜色:",-1)),iZe=Xe({__name:"TableStylePanel",setup(e){const t=lt(),{handleElement:n,handleElementId:r,selectedTableCells:i}=De(ht()),o=Se(()=>t.theme.themeColor),a=["12px","14px","16px","18px","20px","22px","24px","28px","32px"],s=pe({bold:!1,em:!1,underline:!1,strikethrough:!1,color:"#000",backcolor:"",fontsize:"12px",fontname:"",align:"left"}),l=pe(),u=pe(!1),c=pe(0),f=pe(0),d=pe(0),h=pe(0);_t(n,()=>{!n.value||n.value.type!=="table"||(l.value=n.value.theme,u.value=!!l.value,c.value=n.value.data.length,f.value=n.value.data[0].length,d.value=n.value.data.length,h.value=n.value.data[0].length)},{deep:!0,immediate:!0});const{addHistorySnapshot:p}=nn(),v=()=>{if(!n.value||n.value.type!=="table")return;let S=0,_=0;if(i.value.length){const w=i.value[0];S=+w.split("_")[0],_=+w.split("_")[1]}const M=n.value.data[S][_].style;M?s.value={bold:!!M.bold,em:!!M.em,underline:!!M.underline,strikethrough:!!M.strikethrough,color:M.color||"#000",backcolor:M.backcolor||"",fontsize:M.fontsize||"12px",fontname:M.fontname||"",align:M.align||"left"}:s.value={bold:!1,em:!1,underline:!1,strikethrough:!1,color:"#000",backcolor:"",fontsize:"12px",fontname:"",align:"left"}};Ht(()=>{i.value.length&&v()}),_t(i,v);const g=S=>{t.updateElement({id:r.value,props:S}),p()},m=S=>{const _=n.value,M=JSON.parse(JSON.stringify(_.data));for(let w=0;w<M.length;w++)for(let L=0;L<M[w].length;L++)if(!i.value.length||i.value.includes(`${w}_${L}`)){const k=M[w][L].style||{};M[w][L].style={...k,...S}}g({data:M}),v()},y=S=>{if(!l.value)return;const _={...l.value,...S};g({theme:_})},R=S=>{if(S){const _={theme:{color:o.value,rowHeader:!0,rowFooter:!1,colHeader:!1,colFooter:!1}};g(_)}else t.removeElementProps({id:r.value,propName:"theme"}),p()},A=S=>{const _=n.value,M=_.data.length;if(S>M){const w=new Array(f.value).fill({id:on(10),colspan:1,rowspan:1,text:""}),L=new Array(S-M).fill(w),k=JSON.parse(JSON.stringify(_.data));k.push(...L),g({data:k})}else{const w=_.data.slice(0,S);g({data:w})}},x=S=>{const _=n.value,M=_.data[0].length;let w=_.data,L=_.colWidths.map(C=>C*_.width);if(S>M){w=w.map(N=>{const I=new Array(S-M).fill({id:on(10),colspan:1,rowspan:1,text:""});return N.push(...I),N});const C=new Array(S-M).fill(100);L.push(...C)}else w=w.map(C=>C.slice(0,S)),L=L.slice(0,S);const k=L.reduce((C,N)=>C+N),P=L.map(C=>C/k);g({width:k,data:w,colWidths:P})};return(S,_)=>{const M=xe("IconFontSize"),w=xe("IconAddText"),L=xe("IconText"),k=xe("IconFill"),P=xe("IconTextBold"),F=xe("IconTextItalic"),C=xe("IconTextUnderline"),N=xe("IconStrikethrough"),I=xe("IconAlignTextLeft"),V=xe("IconAlignTextCenter"),W=xe("IconAlignTextRight"),Z=xe("IconAlignTextBoth"),re=xe("IconMinus"),Y=xe("IconPlus"),B=Pn("tooltip");return U(),te("div",BYe,[O(jP,{class:"row"},{default:ie(()=>[O(zr,{style:{width:"50%"},value:s.value.fontname,search:"",searchLabel:"搜索字体","onUpdate:value":_[0]||(_[0]=Q=>m({fontname:Q})),options:z(Ay)},{icon:ie(()=>[O(M)]),_:1},8,["value","options"]),O(zr,{style:{width:"50%"},value:s.value.fontsize,search:"",searchLabel:"搜索字号","onUpdate:value":_[1]||(_[1]=Q=>m({fontsize:Q})),options:a.map(Q=>({label:Q,value:Q}))},{icon:ie(()=>[O(w)]),_:1},8,["value","options"])]),_:1}),O(Bn,{class:"row",passive:""},{default:ie(()=>[O(Nt,{trigger:"click",style:{width:"50%"}},{content:ie(()=>[O(qn,{modelValue:s.value.color,"onUpdate:modelValue":_[2]||(_[2]=Q=>m({color:Q}))},null,8,["modelValue"])]),default:ie(()=>[Ge((U(),_e(Nv,{first:"",color:s.value.color},{default:ie(()=>[O(L)]),_:1},8,["color"])),[[B,"文字颜色"]])]),_:1}),O(Nt,{trigger:"click",style:{width:"50%"}},{content:ie(()=>[O(qn,{modelValue:s.value.backcolor,"onUpdate:modelValue":_[3]||(_[3]=Q=>m({backcolor:Q}))},null,8,["modelValue"])]),default:ie(()=>[Ge((U(),_e(Nv,{last:"",color:s.value.backcolor},{default:ie(()=>[O(k)]),_:1},8,["color"])),[[B,"单元格填充"]])]),_:1})]),_:1}),O(Bn,{class:"row"},{default:ie(()=>[Ge((U(),_e(Qr,{style:{flex:"1"},checked:s.value.bold,onClick:_[4]||(_[4]=Q=>m({bold:!s.value.bold}))},{default:ie(()=>[O(P)]),_:1},8,["checked"])),[[B,"加粗"]]),Ge((U(),_e(Qr,{style:{flex:"1"},checked:s.value.em,onClick:_[5]||(_[5]=Q=>m({em:!s.value.em}))},{default:ie(()=>[O(F)]),_:1},8,["checked"])),[[B,"斜体"]]),Ge((U(),_e(Qr,{style:{flex:"1"},checked:s.value.underline,onClick:_[6]||(_[6]=Q=>m({underline:!s.value.underline}))},{default:ie(()=>[O(C)]),_:1},8,["checked"])),[[B,"下划线"]]),Ge((U(),_e(Qr,{style:{flex:"1"},checked:s.value.strikethrough,onClick:_[7]||(_[7]=Q=>m({strikethrough:!s.value.strikethrough}))},{default:ie(()=>[O(N)]),_:1},8,["checked"])),[[B,"删除线"]])]),_:1}),O(Au,{class:"row","button-style":"solid",value:s.value.align,"onUpdate:value":_[8]||(_[8]=Q=>m({align:Q}))},{default:ie(()=>[Ge((U(),_e(zn,{value:"left",style:{flex:"1"}},{default:ie(()=>[O(I)]),_:1})),[[B,"左对齐"]]),Ge((U(),_e(zn,{value:"center",style:{flex:"1"}},{default:ie(()=>[O(V)]),_:1})),[[B,"居中"]]),Ge((U(),_e(zn,{value:"right",style:{flex:"1"}},{default:ie(()=>[O(W)]),_:1})),[[B,"右对齐"]]),Ge((U(),_e(zn,{value:"justify",style:{flex:"1"}},{default:ie(()=>[O(Z)]),_:1})),[[B,"两端对齐"]])]),_:1},8,["value"]),O(Zt),O(my,{fixed:!0}),O(Zt),D("div",YYe,[ZYe,D("div",QYe,[O(et,{class:"btn",disabled:c.value<=1,onClick:_[9]||(_[9]=Q=>A(c.value-1))},{default:ie(()=>[O(re)]),_:1},8,["disabled"]),D("div",HYe,pt(c.value),1),O(et,{class:"btn",disabled:c.value>=30,onClick:_[10]||(_[10]=Q=>A(c.value+1))},{default:ie(()=>[O(Y)]),_:1},8,["disabled"])])]),D("div",KYe,[GYe,D("div",zYe,[O(et,{class:"btn",disabled:f.value<=1,onClick:_[11]||(_[11]=Q=>x(f.value-1))},{default:ie(()=>[O(re)]),_:1},8,["disabled"]),D("div",JYe,pt(f.value),1),O(et,{class:"btn",disabled:f.value>=30,onClick:_[12]||(_[12]=Q=>x(f.value+1))},{default:ie(()=>[O(Y)]),_:1},8,["disabled"])])]),O(Zt),D("div",$Ye,[jYe,D("div",qYe,[O(Cs,{value:u.value,"onUpdate:value":_[13]||(_[13]=Q=>R(Q))},null,8,["value"])])]),l.value?(U(),te(We,{key:0},[D("div",eZe,[O(Ep,{"onUpdate:value":_[14]||(_[14]=Q=>y({rowHeader:Q})),value:l.value.rowHeader,style:{flex:"1"}},{default:ie(()=>[Ue("标题行")]),_:1},8,["value"]),O(Ep,{"onUpdate:value":_[15]||(_[15]=Q=>y({rowFooter:Q})),value:l.value.rowFooter,style:{flex:"1"}},{default:ie(()=>[Ue("汇总行")]),_:1},8,["value"])]),D("div",tZe,[O(Ep,{"onUpdate:value":_[16]||(_[16]=Q=>y({colHeader:Q})),value:l.value.colHeader,style:{flex:"1"}},{default:ie(()=>[Ue("第一列")]),_:1},8,["value"]),O(Ep,{"onUpdate:value":_[17]||(_[17]=Q=>y({colFooter:Q})),value:l.value.colFooter,style:{flex:"1"}},{default:ie(()=>[Ue("最后一列")]),_:1},8,["value"])]),D("div",nZe,[rZe,O(Nt,{trigger:"click",style:{width:"60%"}},{content:ie(()=>[O(qn,{modelValue:l.value.color,"onUpdate:modelValue":_[18]||(_[18]=Q=>y({color:Q}))},null,8,["modelValue"])]),default:ie(()=>[O(Gr,{color:l.value.color},null,8,["color"])]),_:1})])],64)):Ye("",!0)])}}}),oZe=Be(iZe,[["__scopeId","data-v-1c68b8b8"]]),pte=e=>(en("data-v-e173eae4"),e=e(),tn(),e),aZe={class:"latex-style-panel"},sZe={class:"row"},lZe={class:"row"},uZe=pte(()=>D("div",{style:{width:"40%"}},"颜色:",-1)),cZe={class:"row"},fZe=pte(()=>D("div",{style:{width:"40%"}},"粗细:",-1)),dZe=Xe({__name:"LatexStylePanel",setup(e){const t=lt(),{handleElement:n}=De(ht()),r=n,i=pe(!1),{addHistorySnapshot:o}=nn(),a=u=>{n.value&&(t.updateElement({id:n.value.id,props:u}),o())},s=u=>{a({path:u.path,latex:u.latex,width:u.w,height:u.h,viewBox:[u.w,u.h]})},l=()=>i.value=!0;return Hi.on(Ti.OPEN_LATEX_EDITOR,l),Fn(()=>{Hi.off(Ti.OPEN_LATEX_EDITOR,l)}),(u,c)=>(U(),te("div",aZe,[D("div",sZe,[O(et,{style:{flex:"1"},onClick:c[0]||(c[0]=f=>i.value=!0)},{default:ie(()=>[Ue("编辑 LaTeX")]),_:1})]),O(Zt),D("div",lZe,[uZe,O(Nt,{trigger:"click",style:{width:"60%"}},{content:ie(()=>[O(qn,{modelValue:z(r).color,"onUpdate:modelValue":c[1]||(c[1]=f=>a({color:f}))},null,8,["modelValue"])]),default:ie(()=>[O(Gr,{color:z(r).color},null,8,["color"])]),_:1})]),D("div",cZe,[fZe,O(qo,{min:1,max:3,value:z(r).strokeWidth,"onUpdate:value":c[2]||(c[2]=f=>a({strokeWidth:f})),style:{width:"60%"}},null,8,["value"])]),O(n0,{visible:i.value,"onUpdate:visible":c[5]||(c[5]=f=>i.value=f),width:880},{default:ie(()=>[O(Vee,{value:z(r).latex,onClose:c[3]||(c[3]=f=>i.value=!1),onUpdate:c[4]||(c[4]=f=>{s(f),i.value=!1})},null,8,["value"])]),_:1},8,["visible"])]))}}),hZe=Be(dZe,[["__scopeId","data-v-e173eae4"]]),vte=e=>(en("data-v-b289959e"),e=e(),tn(),e),pZe={class:"video-style-panel"},vZe=vte(()=>D("div",{class:"title"},"视频预览封面",-1)),gZe={class:"background-image-wrapper"},mZe={class:"background-image"},yZe={class:"row"},AZe={class:"row switch-row"},RZe=vte(()=>D("div",{style:{width:"40%"}},"自动播放:",-1)),bZe={class:"switch-wrapper",style:{width:"60%"}},xZe=Xe({__name:"VideoStylePanel",setup(e){const t=lt(),{handleElement:n}=De(ht()),r=n,{addHistorySnapshot:i}=nn(),o=s=>{n.value&&(t.updateElement({id:n.value.id,props:s}),i())},a=s=>{const l=s[0];l&&sd(l).then(u=>o({poster:u}))};return(s,l)=>{const u=xe("IconPlus");return U(),te("div",pZe,[vZe,D("div",gZe,[O($h,{onChange:l[0]||(l[0]=c=>a(c))},{default:ie(()=>[D("div",mZe,[D("div",{class:"content",style:Le({backgroundImage:z(r).poster?`url(${z(r).poster})`:""})},[O(u)],4)])]),_:1})]),D("div",yZe,[O(et,{style:{flex:"1"},onClick:l[1]||(l[1]=c=>o({poster:""}))},{default:ie(()=>[Ue("重置封面")]),_:1})]),D("div",AZe,[RZe,D("div",bZe,[O(Cs,{value:z(r).autoplay,"onUpdate:value":l[2]||(l[2]=c=>o({autoplay:c}))},null,8,["value"])])])])}}}),SZe=Be(xZe,[["__scopeId","data-v-b289959e"]]),qP=e=>(en("data-v-685cdba7"),e=e(),tn(),e),wZe={class:"audio-style-panel"},MZe={class:"row"},LZe=qP(()=>D("div",{style:{width:"40%"}},"图标颜色:",-1)),TZe={class:"row switch-row"},_Ze=qP(()=>D("div",{style:{width:"40%"}},"自动播放:",-1)),OZe={class:"switch-wrapper",style:{width:"60%"}},kZe={class:"row switch-row"},PZe=qP(()=>D("div",{style:{width:"40%"}},"循环播放:",-1)),CZe={class:"switch-wrapper",style:{width:"60%"}},IZe=Xe({__name:"AudioStylePanel",setup(e){const t=lt(),{handleElement:n}=De(ht()),r=n,{addHistorySnapshot:i}=nn(),o=a=>{n.value&&(t.updateElement({id:n.value.id,props:a}),i())};return(a,s)=>(U(),te("div",wZe,[D("div",MZe,[LZe,O(Nt,{trigger:"click",style:{width:"60%"}},{content:ie(()=>[O(qn,{modelValue:z(r).color,"onUpdate:modelValue":s[0]||(s[0]=l=>o({color:l}))},null,8,["modelValue"])]),default:ie(()=>[O(Gr,{color:z(r).color},null,8,["color"])]),_:1})]),D("div",TZe,[_Ze,D("div",OZe,[O(Cs,{value:z(r).autoplay,"onUpdate:value":s[1]||(s[1]=l=>o({autoplay:l}))},null,8,["value"])])]),D("div",kZe,[PZe,D("div",CZe,[O(Cs,{value:z(r).loop,"onUpdate:value":s[2]||(s[2]=l=>o({loop:l}))},null,8,["value"])])])]))}}),NZe=Be(IZe,[["__scopeId","data-v-685cdba7"]]),f4=e=>(en("data-v-f0b44396"),e=e(),tn(),e),FZe={class:"multi-style-panel"},EZe={class:"row"},XZe=f4(()=>D("div",{style:{width:"40%"}},"填充颜色:",-1)),WZe={class:"row"},VZe=f4(()=>D("div",{style:{width:"40%"}},"边框样式:",-1)),DZe=["onClick"],UZe={class:"row"},BZe=f4(()=>D("div",{style:{width:"40%"}},"边框颜色:",-1)),YZe={class:"row"},ZZe=f4(()=>D("div",{style:{width:"40%"}},"边框粗细:",-1)),QZe=Xe({__name:"MultiStylePanel",setup(e){const t=lt(),{richTextAttrs:n,activeElementList:r}=De(ht()),{addHistorySnapshot:i}=nn(),o=(h,p)=>{t.updateElement({id:h,props:p}),i()},a=pe(["solid","dashed","dotted"]),s=["12px","14px","16px","18px","20px","22px","24px","28px","32px","36px","40px","44px","48px","54px","60px","66px","72px","76px","80px","88px","96px","104px","112px","120px"],l=pe("#fff"),u=pe({width:0,color:"#fff",style:"solid"}),c=h=>{for(const p of r.value){if((p.type==="text"||p.type==="shape"||p.type==="chart")&&o(p.id,{fill:h}),p.type==="table"){const v=JSON.parse(JSON.stringify(p.data));for(let g=0;g<v.length;g++)for(let m=0;m<v[g].length;m++){const y=v[g][m].style||{};v[g][m].style={...y,backcolor:h}}o(p.id,{data:v})}p.type==="audio"&&o(p.id,{color:h})}l.value=h},f=h=>{for(const p of r.value){if(p.type==="text"||p.type==="image"||p.type==="shape"||p.type==="table"||p.type==="chart"){const g={outline:{...p.outline||{width:2,color:"#000",style:"solid"},...h}};o(p.id,g)}p.type==="line"&&o(p.id,h)}u.value={...u.value,...h}},d=(h,p)=>{var v;for(const g of r.value){if((g.type==="text"||g.type==="shape"&&((v=g.text)!=null&&v.content))&&Hi.emit(Ti.RICH_TEXT_COMMAND,{target:g.id,action:{command:h,value:p}}),g.type==="table"){const m=JSON.parse(JSON.stringify(g.data));for(let y=0;y<m.length;y++)for(let R=0;R<m[y].length;R++){const A=m[y][R].style||{};m[y][R].style={...A,[h]:p}}o(g.id,{data:m})}g.type==="latex"&&h==="color"&&o(g.id,{color:p})}};return(h,p)=>{const v=xe("IconFontSize"),g=xe("IconAddText"),m=xe("IconText"),y=xe("IconHighLight"),R=xe("IconAlignTextLeft"),A=xe("IconAlignTextCenter"),x=xe("IconAlignTextRight"),S=xe("IconAlignTextBoth"),_=Pn("tooltip");return U(),te("div",FZe,[D("div",EZe,[XZe,O(Nt,{trigger:"click",style:{width:"60%"}},{content:ie(()=>[O(qn,{modelValue:l.value,"onUpdate:modelValue":p[0]||(p[0]=M=>c(M))},null,8,["modelValue"])]),default:ie(()=>[O(Gr,{color:l.value},null,8,["color"])]),_:1})]),O(Zt),D("div",WZe,[VZe,O(cv,{style:{width:"60%"}},{options:ie(()=>[(U(!0),te(We,null,nt(a.value,M=>(U(),te("div",{class:"option",key:M,onClick:w=>f({style:M})},[O(ms,{type:M},null,8,["type"])],8,DZe))),128))]),label:ie(()=>[O(ms,{type:u.value.style},null,8,["type"])]),_:1})]),D("div",UZe,[BZe,O(Nt,{trigger:"click",style:{width:"60%"}},{content:ie(()=>[O(qn,{modelValue:u.value.color,"onUpdate:modelValue":p[1]||(p[1]=M=>f({color:M}))},null,8,["modelValue"])]),default:ie(()=>[O(Gr,{color:u.value.color||"#000"},null,8,["color"])]),_:1})]),D("div",YZe,[ZZe,O(qo,{value:u.value.width||0,"onUpdate:value":p[2]||(p[2]=M=>f({width:M})),style:{width:"60%"}},null,8,["value"])]),O(Zt),O(jP,{class:"row"},{default:ie(()=>[O(zr,{style:{width:"60%"},value:z(n).fontname,search:"",searchLabel:"搜索字体","onUpdate:value":p[3]||(p[3]=M=>d("fontname",M)),options:z(Ay)},{icon:ie(()=>[O(v)]),_:1},8,["value","options"]),O(zr,{style:{width:"40%"},value:z(n).fontsize,search:"",searchLabel:"搜索字号","onUpdate:value":p[4]||(p[4]=M=>d("fontsize",M)),options:s.map(M=>({label:M,value:M}))},{icon:ie(()=>[O(g)]),_:1},8,["value","options"])]),_:1}),O(Bn,{class:"row",passive:""},{default:ie(()=>[O(Nt,{trigger:"click",style:{width:"30%"}},{content:ie(()=>[O(qn,{modelValue:z(n).color,"onUpdate:modelValue":p[5]||(p[5]=M=>d("color",M))},null,8,["modelValue"])]),default:ie(()=>[Ge((U(),_e(Nv,{first:"",color:z(n).color},{default:ie(()=>[O(m)]),_:1},8,["color"])),[[_,"文字颜色"]])]),_:1}),O(Nt,{trigger:"click",style:{width:"30%"}},{content:ie(()=>[O(qn,{modelValue:z(n).backcolor,"onUpdate:modelValue":p[6]||(p[6]=M=>d("backcolor",M))},null,8,["modelValue"])]),default:ie(()=>[Ge((U(),_e(Nv,{color:z(n).backcolor},{default:ie(()=>[O(y)]),_:1},8,["color"])),[[_,"文字高亮"]])]),_:1}),Ge((U(),_e(et,{class:"font-size-btn",style:{width:"20%"},onClick:p[7]||(p[7]=M=>d("fontsize-add","2"))},{default:ie(()=>[O(v),Ue("+")]),_:1})),[[_,"增大字号"]]),Ge((U(),_e(et,{last:"",class:"font-size-btn",style:{width:"20%"},onClick:p[8]||(p[8]=M=>d("fontsize-reduce","2"))},{default:ie(()=>[O(v),Ue("-")]),_:1})),[[_,"减小字号"]])]),_:1}),O(Au,{class:"row","button-style":"solid",value:z(n).align,"onUpdate:value":p[9]||(p[9]=M=>d("align",M))},{default:ie(()=>[Ge((U(),_e(zn,{value:"left",style:{flex:"1"}},{default:ie(()=>[O(R)]),_:1})),[[_,"左对齐"]]),Ge((U(),_e(zn,{value:"center",style:{flex:"1"}},{default:ie(()=>[O(A)]),_:1})),[[_,"居中"]]),Ge((U(),_e(zn,{value:"right",style:{flex:"1"}},{default:ie(()=>[O(x)]),_:1})),[[_,"右对齐"]]),Ge((U(),_e(zn,{value:"justify",style:{flex:"1"}},{default:ie(()=>[O(S)]),_:1})),[[_,"两端对齐"]])]),_:1},8,["value"])])}}}),HZe=Be(QZe,[["__scopeId","data-v-f0b44396"]]),KZe={class:"element-style-panel"},GZe=Xe({__name:"index",setup(e){const t={[Et.TEXT]:QUe,[Et.IMAGE]:wBe,[Et.SHAPE]:YBe,[Et.LINE]:aYe,[Et.CHART]:UYe,[Et.TABLE]:oZe,[Et.LATEX]:hZe,[Et.VIDEO]:SZe,[Et.AUDIO]:NZe},{activeElementIdList:n,activeElementList:r,handleElement:i,activeGroupElementId:o}=De(ht()),a=Se(()=>{if(n.value.length>1){if(!o.value)return HZe;const s=r.value.find(l=>l.id===o.value);return s&&t[s.type]||null}return i.value&&t[i.value.type]||null});return(s,l)=>(U(),te("div",KZe,[(U(),_e(Ru(a.value)))]))}}),d4=e=>(en("data-v-83cc71d7"),e=e(),tn(),e),zZe={class:"element-positopn-panel"},JZe=d4(()=>D("div",{class:"title"},"层级:",-1)),$Ze=d4(()=>D("div",{class:"title"},"对齐:",-1)),jZe={class:"row"},qZe=d4(()=>D("div",{style:{width:"10%"}},null,-1)),eQe={key:0,class:"row"},tQe={key:1,style:{width:"10%"}},nQe={class:"row"},rQe=d4(()=>D("div",{style:{width:"7%"}},null,-1)),iQe=Xe({__name:"ElementPositionPanel",setup(e){const t=lt(),{handleElement:n,handleElementId:r}=De(ht()),i=pe(0),o=pe(0),a=pe(0),s=pe(0),l=pe(0),u=pe(!1),c=Se(()=>n.value&&lz[n.value.type]||20),f=Se(()=>{var M;return((M=n.value)==null?void 0:M.type)==="text"&&!n.value.vertical}),d=Se(()=>{var M;return((M=n.value)==null?void 0:M.type)==="text"&&n.value.vertical});_t(n,()=>{n.value&&(i.value=Yn.round(n.value.left,1),o.value=Yn.round(n.value.top,1),u.value="fixedRatio"in n.value&&!!n.value.fixedRatio,n.value.type!=="line"&&(a.value=Yn.round(n.value.width,1),s.value=Yn.round(n.value.height,1),l.value="rotate"in n.value&&n.value.rotate!==void 0?Yn.round(n.value.rotate,1):0))},{deep:!0,immediate:!0});const{orderElement:h}=K2(),{alignElementToCanvas:p}=m3(),{addHistorySnapshot:v}=nn(),g=M=>{const w={left:M};t.updateElement({id:r.value,props:w}),v()},m=M=>{const w={top:M};t.updateElement({id:r.value,props:w}),v()},y=(M,w)=>{if(n.value&&n.value.type==="shape"&&"pathFormula"in n.value&&n.value.pathFormula){const L=u0[n.value.pathFormula];let k="";return"editable"in L&&L.editable?k=L.formula(M,w,n.value.keypoints):k=L.formula(M,w),{viewBox:[M,w],path:k}}return null},R=M=>{if(!n.value||n.value.type==="line"||d.value)return;let w=s.value;if(u.value){const P=a.value/s.value;w=M/P<c.value?c.value:M/P}let L={width:M,height:w};const k=y(M,w);k&&(L={width:M,height:w,...k}),t.updateElement({id:r.value,props:L}),v()},A=M=>{if(!n.value||n.value.type==="line"||n.value.type==="table"||f.value)return;let w=a.value;if(u.value){const P=a.value/s.value;w=M*P<c.value?c.value:M*P}let L={width:w,height:M};const k=y(w,M);k&&(L={width:w,height:M,...k}),t.updateElement({id:r.value,props:L}),v()},x=M=>{const w={rotate:M};t.updateElement({id:r.value,props:w}),v()},S=M=>{const w={fixedRatio:M};t.updateElement({id:r.value,props:w}),v()},_=M=>{let w=Math.floor(l.value/45)*45;M==="+"?w=w+45:M==="-"&&(w=w-45),w<-180&&(w=-180),w>180&&(w=180);const L={rotate:w};t.updateElement({id:r.value,props:L}),v()};return(M,w)=>{const L=xe("IconSendToBack"),k=xe("IconBringToFrontOne"),P=xe("IconBringToFront"),F=xe("IconSentToBack"),C=xe("IconAlignLeft"),N=xe("IconAlignVertically"),I=xe("IconAlignRight"),V=xe("IconAlignTop"),W=xe("IconAlignHorizontally"),Z=xe("IconAlignBottom"),re=xe("IconLock"),Y=xe("IconUnlock"),B=xe("IconRotate"),Q=Pn("tooltip");return U(),te("div",zZe,[JZe,O(Bn,{class:"row"},{default:ie(()=>[O(et,{style:{flex:"1"},onClick:w[0]||(w[0]=K=>z(h)(z(n),z(Wr).TOP))},{default:ie(()=>[O(L,{class:"btn-icon"}),Ue(" 置顶")]),_:1}),O(et,{style:{flex:"1"},onClick:w[1]||(w[1]=K=>z(h)(z(n),z(Wr).BOTTOM))},{default:ie(()=>[O(k,{class:"btn-icon"}),Ue(" 置底")]),_:1})]),_:1}),O(Bn,{class:"row"},{default:ie(()=>[O(et,{style:{flex:"1"},onClick:w[2]||(w[2]=K=>z(h)(z(n),z(Wr).UP))},{default:ie(()=>[O(P,{class:"btn-icon"}),Ue(" 上移")]),_:1}),O(et,{style:{flex:"1"},onClick:w[3]||(w[3]=K=>z(h)(z(n),z(Wr).DOWN))},{default:ie(()=>[O(F,{class:"btn-icon"}),Ue(" 下移")]),_:1})]),_:1}),O(Zt),$Ze,O(Bn,{class:"row"},{default:ie(()=>[Ge((U(),_e(et,{style:{flex:"1"},onClick:w[4]||(w[4]=K=>z(p)(z(pn).LEFT))},{default:ie(()=>[O(C)]),_:1})),[[Q,"左对齐"]]),Ge((U(),_e(et,{style:{flex:"1"},onClick:w[5]||(w[5]=K=>z(p)(z(pn).HORIZONTAL))},{default:ie(()=>[O(N)]),_:1})),[[Q,"水平居中"]]),Ge((U(),_e(et,{style:{flex:"1"},onClick:w[6]||(w[6]=K=>z(p)(z(pn).RIGHT))},{default:ie(()=>[O(I)]),_:1})),[[Q,"右对齐"]])]),_:1}),O(Bn,{class:"row"},{default:ie(()=>[Ge((U(),_e(et,{style:{flex:"1"},onClick:w[7]||(w[7]=K=>z(p)(z(pn).TOP))},{default:ie(()=>[O(V)]),_:1})),[[Q,"上对齐"]]),Ge((U(),_e(et,{style:{flex:"1"},onClick:w[8]||(w[8]=K=>z(p)(z(pn).VERTICAL))},{default:ie(()=>[O(W)]),_:1})),[[Q,"垂直居中"]]),Ge((U(),_e(et,{style:{flex:"1"},onClick:w[9]||(w[9]=K=>z(p)(z(pn).BOTTOM))},{default:ie(()=>[O(Z)]),_:1})),[[Q,"下对齐"]])]),_:1}),O(Zt),D("div",jZe,[O(qo,{min:-1e3,step:5,value:i.value,"onUpdate:value":w[10]||(w[10]=K=>g(K)),style:{width:"45%"}},{prefix:ie(()=>[Ue(" 水平: ")]),_:1},8,["value"]),qZe,O(qo,{min:-1e3,step:5,value:o.value,"onUpdate:value":w[11]||(w[11]=K=>m(K)),style:{width:"45%"}},{prefix:ie(()=>[Ue(" 垂直: ")]),_:1},8,["value"])]),z(n).type!=="line"?(U(),te("div",eQe,[O(qo,{min:c.value,max:1500,step:5,disabled:d.value,value:a.value,"onUpdate:value":w[12]||(w[12]=K=>R(K)),style:{width:"45%"}},{prefix:ie(()=>[Ue(" 宽度: ")]),_:1},8,["min","disabled","value"]),["image","shape","audio"].includes(z(n).type)?(U(),te(We,{key:0},[u.value?Ge((U(),_e(re,{key:0,style:{width:"10%"},class:"icon-btn active",onClick:w[13]||(w[13]=K=>S(!1))},null,512)),[[Q,"解除宽高比锁定"]]):Ge((U(),_e(Y,{key:1,style:{width:"10%"},class:"icon-btn",onClick:w[14]||(w[14]=K=>S(!0))},null,512)),[[Q,"宽高比锁定"]])],64)):(U(),te("div",tQe)),O(qo,{min:c.value,max:800,step:5,disabled:f.value||z(n).type==="table",value:s.value,"onUpdate:value":w[15]||(w[15]=K=>A(K)),style:{width:"45%"}},{prefix:ie(()=>[Ue(" 高度: ")]),_:1},8,["min","disabled","value"])])):Ye("",!0),["line","video","audio"].includes(z(n).type)?Ye("",!0):(U(),te(We,{key:1},[O(Zt),D("div",nQe,[O(qo,{min:-180,max:180,step:5,value:l.value,"onUpdate:value":w[16]||(w[16]=K=>x(K)),style:{width:"45%"}},{prefix:ie(()=>[Ue(" 旋转: ")]),_:1},8,["value"]),rQe,D("div",{class:"text-btn",onClick:w[17]||(w[17]=K=>_("-")),style:{width:"24%"}},[O(B),Ue(" -45°")]),D("div",{class:"text-btn",onClick:w[18]||(w[18]=K=>_("+")),style:{width:"24%"}},[O(B,{style:{transform:"rotateY(180deg)"}}),Ue(" +45°")])])],64))])}}}),oQe=Be(iQe,[["__scopeId","data-v-83cc71d7"]]),v8=1e3,aQe="click",Pa="animate__",fB=[{type:"bounce",name:"弹跳",children:[{name:"弹入",value:"bounceIn"},{name:"向右弹入",value:"bounceInLeft"},{name:"向左弹入",value:"bounceInRight"},{name:"向上弹入",value:"bounceInUp"},{name:"向下弹入",value:"bounceInDown"}]},{type:"fade",name:"浮现",children:[{name:"浮入",value:"fadeIn"},{name:"向下浮入",value:"fadeInDown"},{name:"向下长距浮入",value:"fadeInDownBig"},{name:"向右浮入",value:"fadeInLeft"},{name:"向右长距浮入",value:"fadeInLeftBig"},{name:"向左浮入",value:"fadeInRight"},{name:"向左长距浮入",value:"fadeInRightBig"},{name:"向上浮入",value:"fadeInUp"},{name:"向上长距浮入",value:"fadeInUpBig"},{name:"从左上浮入",value:"fadeInTopLeft"},{name:"从右上浮入",value:"fadeInTopRight"},{name:"从左下浮入",value:"fadeInBottomLeft"},{name:"从右下浮入",value:"fadeInBottomRight"}]},{type:"rotate",name:"旋转",children:[{name:"旋转进入",value:"rotateIn"},{name:"绕左下进入",value:"rotateInDownLeft"},{name:"绕右下进入",value:"rotateInDownRight"},{name:"绕左上进入",value:"rotateInUpLeft"},{name:"绕右上进入",value:"rotateInUpRight"}]},{type:"zoom",name:"缩放",children:[{name:"放大进入",value:"zoomIn"},{name:"向下放大进入",value:"zoomInDown"},{name:"从左放大进入",value:"zoomInLeft"},{name:"从右放大进入",value:"zoomInRight"},{name:"向上放大进入",value:"zoomInUp"}]},{type:"slide",name:"滑入",children:[{name:"向下滑入",value:"slideInDown"},{name:"从右滑入",value:"slideInLeft"},{name:"从左滑入",value:"slideInRight"},{name:"向上滑入",value:"slideInUp"}]},{type:"flip",name:"翻转",children:[{name:"X轴翻转进入",value:"flipInX"},{name:"Y轴翻转进入",value:"flipInY"}]},{type:"back",name:"放大滑入",children:[{name:"向下放大滑入",value:"backInDown"},{name:"从左放大滑入",value:"backInLeft"},{name:"从右放大滑入",value:"backInRight"},{name:"向上放大滑入",value:"backInUp"}]},{type:"lightSpeed",name:"飞入",children:[{name:"从右飞入",value:"lightSpeedInRight"},{name:"从左飞入",value:"lightSpeedInLeft"}]}],dB=[{type:"bounce",name:"弹跳",children:[{name:"弹出",value:"bounceOut"},{name:"向左弹出",value:"bounceOutLeft"},{name:"向右弹出",value:"bounceOutRight"},{name:"向上弹出",value:"bounceOutUp"},{name:"向下弹出",value:"bounceOutDown"}]},{type:"fade",name:"浮现",children:[{name:"浮出",value:"fadeOut"},{name:"向下浮出",value:"fadeOutDown"},{name:"向下长距浮出",value:"fadeOutDownBig"},{name:"向左浮出",value:"fadeOutLeft"},{name:"向左长距浮出",value:"fadeOutLeftBig"},{name:"向右浮出",value:"fadeOutRight"},{name:"向右长距浮出",value:"fadeOutRightBig"},{name:"向上浮出",value:"fadeOutUp"},{name:"向上长距浮出",value:"fadeOutUpBig"},{name:"从左上浮出",value:"fadeOutTopLeft"},{name:"从右上浮出",value:"fadeOutTopRight"},{name:"从左下浮出",value:"fadeOutBottomLeft"},{name:"从右下浮出",value:"fadeOutBottomRight"}]},{type:"rotate",name:"旋转",children:[{name:"旋转退出",value:"rotateOut"},{name:"绕左下退出",value:"rotateOutDownLeft"},{name:"绕右下退出",value:"rotateOutDownRight"},{name:"绕左上退出",value:"rotateOutUpLeft"},{name:"绕右上退出",value:"rotateOutUpRight"}]},{type:"zoom",name:"缩放",children:[{name:"缩小退出",value:"zoomOut"},{name:"向下缩小退出",value:"zoomOutDown"},{name:"从左缩小退出",value:"zoomOutLeft"},{name:"从右缩小退出",value:"zoomOutRight"},{name:"向上缩小退出",value:"zoomOutUp"}]},{type:"slide",name:"滑出",children:[{name:"向下滑出",value:"slideOutDown"},{name:"从左滑出",value:"slideOutLeft"},{name:"从右滑出",value:"slideOutRight"},{name:"向上滑出",value:"slideOutUp"}]},{type:"flip",name:"翻转",children:[{name:"X轴翻转退出",value:"flipOutX"},{name:"Y轴翻转退出",value:"flipOutY"}]},{type:"back",name:"缩小滑出",children:[{name:"向下缩小滑出",value:"backOutDown"},{name:"从左缩小滑出",value:"backOutLeft"},{name:"从右缩小滑出",value:"backOutRight"},{name:"向上缩小滑出",value:"backOutUp"}]},{type:"lightSpeed",name:"飞出",children:[{name:"从右飞出",value:"lightSpeedOutRight"},{name:"从左飞出",value:"lightSpeedOutLeft"}]}],hB=[{type:"shake",name:"晃动",children:[{name:"左右摇晃",value:"shakeX"},{name:"上下摇晃",value:"shakeY"},{name:"摇头",value:"headShake"},{name:"摆动",value:"swing"},{name:"晃动",value:"wobble"},{name:"惊恐",value:"tada"},{name:"果冻",value:"jello"}]},{type:"other",name:"其他",children:[{name:"弹跳",value:"bounce"},{name:"闪烁",value:"flash"},{name:"脉搏",value:"pulse"},{name:"橡皮筋",value:"rubberBand"},{name:"心跳(快)",value:"heartBeat"}]}],gte=[{label:"无",value:"no"},{label:"随机",value:"random"},{label:"左右推移",value:"slideX"},{label:"上下推移",value:"slideY"},{label:"左右推移(3D)",value:"slideX3D"},{label:"上下推移(3D)",value:"slideY3D"},{label:"淡入淡出",value:"fade"},{label:"旋转",value:"rotate"},{label:"上下展开",value:"scaleY"},{label:"左右展开",value:"scaleX"},{label:"放大",value:"scale"},{label:"缩小",value:"scaleReverse"}],mte=e=>(en("data-v-d71f68dd"),e=e(),tn(),e),sQe={class:"element-animation-panel"},lQe={key:0,class:"element-animation"},uQe={class:"type-title"},cQe={class:"pool-item-wrapper"},fQe=["onMouseenter","onClick"],dQe={key:0,class:"mask"},hQe={key:1,class:"tip"},pQe={class:"sequence-content"},vQe={class:"index"},gQe={class:"text"},mQe={class:"handler"},yQe={key:0,class:"configs"},AQe={class:"config-item"},RQe=mte(()=>D("div",{style:{width:"35%"}},"持续时长:",-1)),bQe={class:"config-item"},xQe=mte(()=>D("div",{style:{width:"35%"}},"触发方式:",-1)),SQe={class:"config-item"},wQe=Xe({__name:"ElementAnimationPanel",setup(e){const t={};for(const C of fB)for(const N of C.children)t[N.value]=N.name;for(const C of dB)for(const N of C.children)t[N.value]=N.name;for(const C of hB)for(const N of C.children)t[N.value]=N.name;const n=["in","out","attention"],r=lt(),{handleElement:i,handleElementId:o}=De(ht()),{currentSlide:a,formatedAnimations:s,currentSlideAnimations:l}=De(r),u=[{key:"in",label:"入场",color:"#68a490"},{key:"out",label:"退场",color:"#d86344"},{key:"attention",label:"强调",color:"#e8b76a"}],c=pe("in"),f=pe(!1);_t(()=>o.value,()=>{h.value=!1});const d=pe(""),h=pe(!1),{addHistorySnapshot:p}=nn(),v=Se(()=>{const C=[];for(let N=0;N<s.value.length;N++){const I=s.value[N];for(let V=0;V<I.animations.length;V++){const W=I.animations[V],Z=a.value.elements.find(B=>B.id===W.elId);if(!Z)continue;const re=Mg[Z.type],Y=t[W.effect];C.push({...W,index:V===0?N+1:"",elType:re,animationEffect:Y})}}return C}),g=Se(()=>l.value.filter(I=>I.elId===o.value)||[]),m=C=>{const N=l.value.filter(I=>I.id!==C);r.updateSlide({animations:N}),p()},y=C=>{const{newIndex:N,oldIndex:I}=C;if(N===void 0||I===void 0||N===I)return;const V=JSON.parse(JSON.stringify(l.value)),W=V[I];V.splice(I,1),V.splice(N,0,W),r.updateSlide({animations:V}),p()},R=(C,N,I)=>{const V=document.querySelector(`#editable-element-${C} [class^=editable-element-]`);if(V){const W=`${Pa}${N}`;document.documentElement.style.setProperty("--animate-duration",`${I}ms`),V.classList.add(`${Pa}animated`,W);const Z=()=>{document.documentElement.style.removeProperty("--animate-duration"),V.classList.remove(`${Pa}animated`,W)};V.addEventListener("animationend",Z,{once:!0})}},A=async()=>{f.value=!f.value;for(let C=0;C<v.value.length&&f.value;C++){const N=v.value[C];N.index!==1&&N.trigger!=="meantime"&&await new Promise(I=>setTimeout(I,N.duration+100)),R(N.elId,N.effect,N.duration),C>=v.value.length-1&&(f.value=!1)}},x=(C,N)=>{if(N<100||N>5e3)return;const I=l.value.map(V=>V.id===C?{...V,duration:N}:V);r.updateSlide({animations:I}),p()},S=(C,N)=>{const I=l.value.map(V=>V.id===C?{...V,trigger:N}:V);r.updateSlide({animations:I}),p()},_=(C,N)=>{const I=l.value.map(Z=>Z.id===M.value?{...Z,type:C,effect:N}:Z);r.updateSlide({animations:I}),h.value=!1,p();const V=l.value.find(Z=>Z.elId===o.value),W=(V==null?void 0:V.duration)||v8;setTimeout(()=>{R(o.value,N,W)},0)},M=pe(""),w=(C,N)=>{if(M.value){_(C,N);return}const I=JSON.parse(JSON.stringify(l.value));I.push({id:on(10),elId:o.value,type:C,effect:N,duration:v8,trigger:aQe}),r.updateSlide({animations:I}),h.value=!1,p(),setTimeout(()=>{R(o.value,N,v8)},0)},L=pe(!1),k=C=>{C?setTimeout(()=>L.value=!0,600):L.value=!1},P=C=>{h.value=!0,M.value=C,k(!0)},F={in:fB,out:dB,attention:hB};return(C,N)=>{const I=xe("IconEffects"),V=xe("IconClick"),W=xe("IconPlayOne"),Z=xe("IconCloseSmall"),re=Pn("tooltip");return U(),te("div",sQe,[z(i)?(U(),te("div",lQe,[O(Nt,{trigger:"click",value:h.value,"onUpdate:value":[N[3]||(N[3]=Y=>h.value=Y),N[4]||(N[4]=Y=>k(Y))],style:{width:"100%"}},{content:ie(()=>[O(hl,{tabs:u,value:c.value,"onUpdate:value":N[0]||(N[0]=Y=>c.value=Y),tabsStyle:{marginBottom:"20px"},tabStyle:{width:"33.333%"},spaceAround:""},null,8,["value"]),(U(),te(We,null,nt(n,Y=>(U(),te(We,null,[c.value===Y?(U(),te("div",{class:ze(["animation-pool",Y]),key:Y},[(U(!0),te(We,null,nt(F[Y],B=>(U(),te("div",{class:"pool-type",key:B.name},[D("div",uQe,pt(B.name)+":",1),D("div",cQe,[(U(!0),te(We,null,nt(B.children,Q=>(U(),te("div",{class:"pool-item",key:Q.name,onMouseenter:K=>d.value=Q.value,onMouseleave:N[1]||(N[1]=K=>d.value=""),onClick:K=>w(Y,Q.value)},[D("div",{class:ze(["animation-box",[`${z(Pa)}animated`,`${z(Pa)}fast`,d.value===Q.value&&`${z(Pa)}${Q.value}`]])},pt(Q.name),3)],40,fQe))),128))])]))),128)),L.value?Ye("",!0):(U(),te("div",dQe))],2)):Ye("",!0)],64))),64))]),default:ie(()=>[O(et,{class:"element-animation-btn",onClick:N[2]||(N[2]=Y=>M.value="")},{default:ie(()=>[O(I,{style:{"margin-right":"5px"}}),Ue(" 添加动画 ")]),_:1})]),_:1},8,["value"])])):(U(),te("div",hQe,[O(V,{style:{"margin-right":"5px"}}),Ue(" 选中画布中的元素添加动画")])),O(Zt),O(z(HP),{class:"animation-sequence",modelValue:v.value,animation:200,scroll:!0,scrollSensitivity:50,handle:".sequence-content",itemKey:"id",onEnd:y},{item:ie(({element:Y})=>{var B,Q;return[D("div",{class:ze(["sequence-item",[Y.type,{active:((B=z(i))==null?void 0:B.id)===Y.elId}]])},[D("div",pQe,[D("div",vQe,pt(Y.index),1),D("div",gQe,"【"+pt(Y.elType)+"】"+pt(Y.animationEffect),1),D("div",mQe,[Ge(O(W,{class:"handler-btn",onClick:K=>R(Y.elId,Y.effect,Y.duration)},null,8,["onClick"]),[[re,"预览"]]),Ge(O(Z,{class:"handler-btn",onClick:K=>m(Y.id)},null,8,["onClick"]),[[re,"删除"]])])]),((Q=g.value[0])==null?void 0:Q.elId)===Y.elId?(U(),te("div",yQe,[O(Zt,{margin:16}),D("div",AQe,[RQe,O(qo,{min:500,max:3e3,step:500,value:Y.duration,"onUpdate:value":K=>x(Y.id,K),style:{width:"65%"}},null,8,["value","onUpdate:value"])]),D("div",bQe,[xQe,O(zr,{value:Y.trigger,"onUpdate:value":K=>S(Y.id,K),style:{width:"65%"},options:[{label:"主动触发",value:"click"},{label:"与上一动画同时",value:"meantime"},{label:"上一动画之后",value:"auto"}]},null,8,["value","onUpdate:value"])]),D("div",SQe,[O(et,{style:{width:"100%"},onClick:K=>P(Y.id)},{default:ie(()=>[Ue("更换动画")]),_:2},1032,["onClick"])])])):Ye("",!0)],2)]}),_:1},8,["modelValue"]),v.value.length>=2?(U(),te(We,{key:2},[O(Zt),O(et,{onClick:N[5]||(N[5]=Y=>A())},{default:ie(()=>[Ue(pt(f.value?"停止预览":"预览全部"),1)]),_:1})],64)):Ye("",!0)])}}}),MQe=Be(wQe,[["__scopeId","data-v-d71f68dd"]]),LQe=[{background:"#ffffff",fontColor:"#333333",fontname:"",colors:["#5b9bd5","#ed7d31","#a5a5a5","#ffc000","#4472c4","#70ad47"]},{background:"#ffffff",fontColor:"#333333",fontname:"",colors:["#83992a","#3c9670","#44709d","#a23b32","#d87728","#deb340"]},{background:"#ffffff",fontColor:"#333333",fontname:"",colors:["#e48312","#bd582c","#865640","#9b8357","#c2bc80","#94a088"]},{background:"#ffffff",fontColor:"#333333",fontname:"",colors:["#bdc8df","#003fa9","#f5ba00","#ff7567","#7676d9","#923ffc"]},{background:"#ffffff",fontColor:"#333333",fontname:"",colors:["#90c225","#54a121","#e6b91e","#e86618","#c42f19","#918756"]},{background:"#ffffff",fontColor:"#333333",fontname:"",colors:["#1cade4","#2683c6","#27ced7","#42ba97","#3e8853","#62a39f"]},{background:"#e9efd6",fontColor:"#333333",fontname:"",colors:["#a5300f","#de7e18","#9f8351","#728653","#92aa4c","#6aac91"]},{background:"#17444e",fontColor:"#ffffff",fontname:"",colors:["#b01513","#ea6312","#e6b729","#6bab90","#55839a","#9e5d9d"]},{background:"#36234d",fontColor:"#ffffff",fontname:"",colors:["#b31166","#e33d6f","#e45f3c","#e9943a","#9b6bf2","#d63cd0"]},{background:"#247fad",fontColor:"#ffffff",fontname:"",colors:["#052f61","#a50e82","#14967c","#6a9e1f","#e87d37","#c62324"]},{background:"#103f55",fontColor:"#ffffff",fontname:"",colors:["#40aebd","#97e8d5","#a1cf49","#628f3e","#f2df3a","#fcb01c"]},{background:"#242367",fontColor:"#ffffff",fontname:"",colors:["#ac3ec1","#477bd1","#46b298","#90ba4c","#dd9d31","#e25345"]},{background:"#e4b75e",fontColor:"#333333",fontname:"",colors:["#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529"]},{background:"#333333",fontColor:"#ffffff",fontname:"",colors:["#bdc8df","#003fa9","#f5ba00","#ff7567","#7676d9","#923ffc"]}],yte=()=>{const e=lt(),{slides:t,currentSlide:n,theme:r}=De(e),{addHistorySnapshot:i}=nn(),o=d=>{var S,_,M,w,L,k,P,F,C;const h=Array.isArray(d)?d:[d],p=[],v=[],g=[],m=[];for(const N of h){if(N.background)if(N.background.type==="solid"&&N.background.color)p.push({area:1,value:N.background.color});else if(N.background.type==="gradient"&&N.background.gradient){const I=N.background.gradient.colors.length;p.push(...N.background.gradient.colors.map(V=>({area:1/I,value:V.color})))}else p.push({area:1,value:r.value.backgroundColor});for(const I of N.elements){const V=I.width;let W=0;if(I.type==="line"){const[re,Y]=I.start,[B,Q]=I.end;W=Math.sqrt(Math.pow(Math.abs(re-B),2)+Math.pow(Math.abs(Y-Q),2))}else W=I.height;const Z=V*W;if(I.type==="shape"||I.type==="text"){if(I.fill&&v.push({area:Z,value:I.fill}),I.type==="shape"&&I.gradient){const j=I.gradient.colors.length;v.push(...I.gradient.colors.map(de=>({area:1/j*Z,value:de.color})))}const re=(I.type==="shape"?(S=I.text)==null?void 0:S.content:I.content)||"";if(!re)continue;const Y=re.replace(/<[^>]+>/g,"").replace(/\s*/g,""),B=re.match(/<[^>]+color: .+?<\/.+?>/g),Q=re.match(/<[^>]+font-family: .+?<\/.+?>/g);let K=1,q=1;if(B)for(const j of B){const de=j.match(/color: (.+?);/);if(!de)continue;const G=j.replace(/<[^>]+>/g,"").replace(/\s*/g,""),Ae=de[1],ce=G.length/Y.length;K=K-ce,g.push({area:Z*ce,value:Ae})}if(Q)for(const j of Q){const de=j.match(/font-family: (.+?);/);if(!de)continue;const G=j.replace(/<[^>]+>/g,"").replace(/\s*/g,""),Ae=de[1],ce=G.length/Y.length;q=q-ce,m.push({area:Z*ce,value:Ae})}if(K){const de=(I.type==="shape"?(_=I.text)==null?void 0:_.defaultColor:I.defaultColor)||r.value.fontColor;g.push({area:Z*K,value:de})}if(q){const de=(I.type==="shape"?(M=I.text)==null?void 0:M.defaultFontName:I.defaultFontName)||r.value.fontName;m.push({area:Z*q,value:de})}}else if(I.type==="table"){const re=I.data.length*I.data[0].length;let Y=0;for(const B of I.data)for(const Q of B)if((w=Q.style)!=null&&w.backcolor&&(Y+=1,v.push({area:Z/re,value:(L=Q.style)==null?void 0:L.backcolor})),Q.text){const K=Q.text.length>=10?1:Q.text.length/10;(k=Q.style)!=null&&k.color&&g.push({area:Z/re*K,value:(P=Q.style)==null?void 0:P.color}),(F=Q.style)!=null&&F.fontname&&g.push({area:Z/re*K,value:(C=Q.style)==null?void 0:C.fontname})}if(I.theme){const B=1-Y/re;v.push({area:Z*B,value:I.theme.color})}}else I.type==="chart"?(I.fill&&v.push({area:Z*.5,value:I.fill}),v.push({area:Z*.5,value:I.themeColors[0]})):I.type==="line"?v.push({area:Z,value:I.color}):I.type==="audio"?v.push({area:Z,value:I.color}):I.type==="latex"&&g.push({area:Z,value:I.color})}}const y={};for(const N of p){const I=at(N.value).toRgbString();I!=="rgba(0, 0, 0, 0)"&&(y[I]?y[I]+=N.area:y[I]=N.area)}const R={};for(const N of v){const I=at(N.value).toRgbString();I!=="rgba(0, 0, 0, 0)"&&(R[I]?R[I]+=N.area:R[I]=N.area)}const A={};for(const N of g){const I=at(N.value).toRgbString();I!=="rgba(0, 0, 0, 0)"&&(A[I]?A[I]+=N.area:A[I]=N.area)}const x={};for(const N of m)x[N.value]?x[N.value]+=N.area:x[N.value]=N.area;return{backgroundColors:Object.keys(y).sort((N,I)=>y[I]-y[N]),themeColors:Object.keys(R).sort((N,I)=>R[I]-R[N]),fontColors:Object.keys(A).sort((N,I)=>A[I]-A[N]),fontNames:Object.keys(x).sort((N,I)=>x[I]-x[N])}},a=d=>{const h=[];for(const p of d.elements){if(p.type==="shape"&&at(p.fill).getAlpha()!==0){const v=at(p.fill).toRgbString();h.includes(v)||h.push(v)}if(p.type==="text"&&p.fill&&at(p.fill).getAlpha()!==0){const v=at(p.fill).toRgbString();h.includes(v)||h.push(v)}if(p.type==="table"&&p.theme&&at(p.theme.color).getAlpha()!==0){const v=at(p.theme.color).toRgbString();h.includes(v)||h.push(v)}if(p.type==="chart"&&p.themeColors[0]&&at(p.themeColors[0]).getAlpha()!==0){const v=at(p.themeColors[0]).toRgbString();h.includes(v)||h.push(v)}if(p.type==="line"&&at(p.color).getAlpha()!==0){const v=at(p.color).toRgbString();h.includes(v)||h.push(v)}if(p.type==="audio"&&at(p.color).getAlpha()!==0){const v=at(p.color).toRgbString();h.includes(v)||h.push(v)}}return h},s=(d,h)=>{const p=a(d),v={};if(p.length>h.length){const m=at(h[0]).analogous(p.length-h.length+10).map(y=>y.toHexString()).slice(1);h.push(...m)}for(let g=0;g<p.length;g++)v[p[g]]=h[g];return v},l=(d,h)=>{const p=s(d,h.colors);(!d.background||d.background.type!=="image")&&(d.background={type:"solid",color:h.background});for(const v of d.elements){if(v.type==="shape"&&(v.fill=p[at(v.fill).toRgbString()]||v.fill,v.gradient&&delete v.gradient),v.type==="text"&&(v.fill&&(v.fill=p[at(v.fill).toRgbString()]||v.fill),v.defaultColor=h.fontColor,v.defaultFontName=h.fontname),v.type==="table"){v.theme&&(v.theme.color=p[at(v.theme.color).toRgbString()]||v.theme.color);for(const g of v.data)for(const m of g)m.style&&(m.style.color=h.fontColor,m.style.fontname=h.fontname)}v.type==="chart"&&(v.themeColors=[p[at(v.themeColors[0]).toRgbString()]],v.textColor=h.fontColor),v.type==="line"&&(v.color=p[at(v.color).toRgbString()]||v.color),v.type==="audio"&&(v.color=p[at(v.color).toRgbString()]||v.color),v.type==="latex"&&(v.color=h.fontColor)}};return{getSlidesThemeStyles:o,applyPresetThemeToSingleSlide:d=>{const h=JSON.parse(JSON.stringify(n.value));l(h,d),e.updateSlide({background:h.background,elements:h.elements}),i()},applyPresetThemeToAllSlides:d=>{const h=JSON.parse(JSON.stringify(t.value));for(const p of h)l(p,d);e.setTheme({backgroundColor:d.background,themeColor:d.colors[0],fontColor:d.fontColor,fontName:d.fontname}),e.setSlides(h),i()},applyThemeToAllSlides:(d=!1)=>{const h=JSON.parse(JSON.stringify(t.value)),{themeColor:p,backgroundColor:v,fontColor:g,fontName:m,outline:y,shadow:R}=r.value;for(const A of h){(!A.background||A.background.type!=="image")&&(A.background={type:"solid",color:v});for(const x of A.elements)if(d&&("outline"in x&&x.outline&&(x.outline=y),"shadow"in x&&x.shadow&&(x.shadow=R)),x.type==="shape")x.fill=p,x.gradient&&delete x.gradient;else if(x.type==="line")x.color=p;else if(x.type==="text")x.defaultColor=g,x.defaultFontName=m,x.fill&&(x.fill=p);else if(x.type==="table"){x.theme&&(x.theme.color=p);for(const S of x.data)for(const _ of S)_.style&&(_.style.color=g,_.style.fontname=m)}else x.type==="chart"?(x.themeColors=[p],x.textColor=g):x.type==="latex"?x.color=g:x.type==="audio"&&(x.color=p)}e.setSlides(h),i()}}},h4=e=>(en("data-v-20d39df7"),e=e(),tn(),e),TQe={class:"theme-styles-extract"},_Qe={class:"content"},OQe={class:"config-item"},kQe=h4(()=>D("div",{class:"label"},"字体:",-1)),PQe={class:"values"},CQe={class:"handler"},IQe=["onClick"],NQe=["onClick"],FQe={class:"config-item"},EQe=h4(()=>D("div",{class:"label"},"文字颜色:",-1)),XQe={class:"values"},WQe={class:"handler"},VQe=["onClick"],DQe=["onClick"],UQe={class:"config-item"},BQe=h4(()=>D("div",{class:"label"},"背景颜色:",-1)),YQe={class:"values"},ZQe={class:"handler"},QQe=["onClick"],HQe=["onClick"],KQe={class:"config-item"},GQe=h4(()=>D("div",{class:"label"},"主题色:",-1)),zQe={class:"values"},JQe={class:"handler"},$Qe=["onClick"],jQe=["onClick"],qQe={class:"btns"},eHe=Xe({__name:"ThemeStylesExtract",emits:["close"],setup(e,{emit:t}){const n=t,r=lt(),{slides:i,currentSlide:o}=De(r),{getSlidesThemeStyles:a}=yte(),s=[{key:"single",label:"从当前页中提取"},{key:"all",label:"从全部幻灯片提取"}],l=pe("single"),u=pe({});Ht(()=>{const p={};for(const v of Ay)p[v.value]=v.label;u.value=p});const c=pe({backgroundColors:[],themeColors:[],fontColors:[],fontNames:[]}),f=pe({backgroundColor:0,themeColor:0,fontColor:0,fontName:0});_t(l,()=>{l.value==="single"?c.value=a(o.value):c.value=a(i.value)}),Ht(()=>{c.value=a(o.value)});const d=p=>{r.setTheme(p)},h=()=>{r.setTheme({backgroundColor:c.value.backgroundColors[f.value.backgroundColor],themeColor:c.value.themeColors[f.value.themeColor],fontColor:c.value.fontColors[f.value.fontColor],fontName:c.value.fontNames[f.value.fontName]}),n("close")};return(p,v)=>(U(),te("div",TQe,[O(hl,{tabs:s,value:l.value,"onUpdate:value":v[0]||(v[0]=g=>l.value=g),tabsStyle:{marginBottom:"12px"},tabStyle:{padding:"8px 12px"}},null,8,["value"]),D("div",_Qe,[D("div",OQe,[kQe,D("div",PQe,[(U(!0),te(We,null,nt(c.value.fontNames,(g,m)=>(U(),te("div",{class:"value-wrap",key:g},[D("div",{class:"value",style:Le({fontFamily:g})},pt(u.value[g]||g),5),D("div",CQe,[D("div",{class:ze(["state",{active:f.value.fontName===m}])},"√",2),D("div",{class:"config-btn",onClick:y=>f.value.fontName=m},"选择",8,IQe),D("div",{class:"config-btn",onClick:y=>{d({fontName:g}),f.value.fontName=m}},"配置到主题",8,NQe)])]))),128))])]),D("div",FQe,[EQe,D("div",XQe,[(U(!0),te(We,null,nt(c.value.fontColors,(g,m)=>(U(),te("div",{class:"value-wrap",key:g},[D("div",{class:"value",style:Le({backgroundColor:g})},null,4),D("div",WQe,[D("div",{class:ze(["state",{active:f.value.fontColor===m}])},"√",2),D("div",{class:"config-btn",onClick:y=>f.value.fontColor=m},"选择",8,VQe),D("div",{class:"config-btn",onClick:y=>{d({fontColor:g}),f.value.fontColor=m}},"配置到主题",8,DQe)])]))),128))])]),D("div",UQe,[BQe,D("div",YQe,[(U(!0),te(We,null,nt(c.value.backgroundColors,(g,m)=>(U(),te("div",{class:"value-wrap",key:g},[D("div",{class:"value",style:Le({backgroundColor:g})},null,4),D("div",ZQe,[D("div",{class:ze(["state",{active:f.value.backgroundColor===m}])},"√",2),D("div",{class:"config-btn",onClick:y=>f.value.backgroundColor=m},"选择",8,QQe),D("div",{class:"config-btn",onClick:y=>{d({backgroundColor:g}),f.value.backgroundColor=m}},"配置到主题",8,HQe)])]))),128))])]),D("div",KQe,[GQe,D("div",zQe,[(U(!0),te(We,null,nt(c.value.themeColors,(g,m)=>(U(),te("div",{class:"value-wrap",key:g},[D("div",{class:"value",style:Le({backgroundColor:g})},null,4),D("div",JQe,[D("div",{class:ze(["state",{active:f.value.themeColor===m}])},"√",2),D("div",{class:"config-btn",onClick:y=>f.value.themeColor=m},"选择",8,$Qe),D("div",{class:"config-btn",onClick:y=>{d({themeColor:g}),f.value.themeColor=m}},"配置到主题",8,jQe)])]))),128))])])]),D("div",qQe,[O(et,{class:"btn",type:"primary",onClick:v[1]||(v[1]=g=>h())},{default:ie(()=>[Ue("将选中配置保存为主题")]),_:1})])]))}}),tHe=Be(eHe,[["__scopeId","data-v-20d39df7"]]),Ri=e=>(en("data-v-6cadd84c"),e=e(),tn(),e),nHe={class:"slide-design-panel"},rHe=Ri(()=>D("div",{class:"title"},"背景填充",-1)),iHe={class:"row"},oHe=Ri(()=>D("div",{style:{width:"10px"}},null,-1)),aHe={key:0,class:"background-image-wrapper"},sHe={class:"background-image"},lHe={key:1,class:"background-gradient-wrapper"},uHe={class:"row"},cHe={class:"row"},fHe=Ri(()=>D("div",{style:{width:"40%"}},"当前色块:",-1)),dHe={key:0,class:"row"},hHe=Ri(()=>D("div",{style:{width:"40%"}},"渐变角度:",-1)),pHe={class:"row"},vHe={class:"row"},gHe=Ri(()=>D("div",{style:{width:"40%"}},"画布尺寸:",-1)),mHe={class:"title"},yHe=Ri(()=>D("span",null,"全局主题",-1)),AHe=Ri(()=>D("span",{class:"text"},"更多",-1)),RHe={class:"row"},bHe=Ri(()=>D("div",{style:{width:"40%"}},"字体:",-1)),xHe={class:"row"},SHe=Ri(()=>D("div",{style:{width:"40%"}},"字体颜色:",-1)),wHe={class:"row"},MHe=Ri(()=>D("div",{style:{width:"40%"}},"背景颜色:",-1)),LHe={class:"row"},THe=Ri(()=>D("div",{style:{width:"40%"}},"主题色:",-1)),_He={class:"row"},OHe=Ri(()=>D("div",{style:{width:"40%"}},"边框样式:",-1)),kHe=["onClick"],PHe={class:"row"},CHe=Ri(()=>D("div",{style:{width:"40%"}},"边框颜色:",-1)),IHe={class:"row"},NHe=Ri(()=>D("div",{style:{width:"40%"}},"边框粗细:",-1)),FHe={class:"row",style:{height:"30px"}},EHe=Ri(()=>D("div",{style:{width:"40%"}},"水平阴影:",-1)),XHe={class:"row",style:{height:"30px"}},WHe=Ri(()=>D("div",{style:{width:"40%"}},"垂直阴影:",-1)),VHe={class:"row",style:{height:"30px"}},DHe=Ri(()=>D("div",{style:{width:"40%"}},"模糊距离:",-1)),UHe={class:"row"},BHe=Ri(()=>D("div",{style:{width:"40%"}},"阴影颜色:",-1)),YHe={class:"row"},ZHe={class:"row"},QHe=Ri(()=>D("div",{class:"title"},"预置主题",-1)),HHe={class:"theme-list"},KHe={class:"theme-item-content"},GHe={class:"colors"},zHe={class:"btns"},JHe=Xe({__name:"SlideDesignPanel",setup(e){const t=lt(),{slides:n,currentSlide:r,slideIndex:i,viewportRatio:o,theme:a}=De(t),s=pe(!1),l=pe(!1),u=pe(0),c=pe(["solid","dashed","dotted"]),f=Se(()=>r.value.background?r.value.background:{type:"solid",value:"#fff"}),{addHistorySnapshot:d}=nn(),{applyPresetThemeToSingleSlide:h,applyPresetThemeToAllSlides:p,applyThemeToAllSlides:v}=yte();_t(i,()=>{u.value=0});const g=w=>{if(w==="solid"){const L={...f.value,type:"solid",color:f.value.color||"#fff"};t.updateSlide({background:L})}else if(w==="image"){const L={...f.value,type:"image",image:f.value.image||{src:"",size:"cover"}};t.updateSlide({background:L})}else{const L={...f.value,type:"gradient",gradient:f.value.gradient||{type:"linear",colors:[{pos:0,color:"#fff"},{pos:100,color:"#fff"}],rotate:0}};u.value=0,t.updateSlide({background:L})}d()},m=w=>{t.updateSlide({background:{...f.value,...w}}),d()},y=w=>{m({gradient:{...f.value.gradient,...w}})},R=w=>{const L=f.value.gradient.colors.map((k,P)=>P===u.value?{...k,color:w}:k);y({colors:L})},A=w=>{m({image:{...f.value.image,...w}})},x=w=>{const L=w[0];L&&sd(L).then(k=>A({src:k}))},S=()=>{const w=n.value.map(L=>({...L,background:r.value.background}));t.setSlides(w),d()},_=w=>{t.setTheme(w)},M=w=>{t.setViewportRatio(w)};return(w,L)=>{var C,N,I,V;const k=xe("IconPlus"),P=xe("IconDown"),F=xe("IconRight");return U(),te(We,null,[D("div",nHe,[rHe,D("div",iHe,[O(zr,{style:{flex:"1"},value:f.value.type,"onUpdate:value":L[0]||(L[0]=W=>g(W)),options:[{label:"纯色填充",value:"solid"},{label:"图片填充",value:"image"},{label:"渐变填充",value:"gradient"}]},null,8,["value"]),oHe,f.value.type==="solid"?(U(),_e(Nt,{key:0,trigger:"click",style:{flex:"1"}},{content:ie(()=>[O(qn,{modelValue:f.value.color,"onUpdate:modelValue":L[1]||(L[1]=W=>m({color:W}))},null,8,["modelValue"])]),default:ie(()=>[O(Gr,{color:f.value.color||"#fff"},null,8,["color"])]),_:1})):f.value.type==="image"?(U(),_e(zr,{key:1,style:{flex:"1"},value:((C=f.value.image)==null?void 0:C.size)||"cover","onUpdate:value":L[2]||(L[2]=W=>A({size:W})),options:[{label:"缩放",value:"contain"},{label:"拼贴",value:"repeat"},{label:"缩放铺满",value:"cover"}]},null,8,["value"])):(U(),_e(zr,{key:2,style:{flex:"1"},value:((N=f.value.gradient)==null?void 0:N.type)||"","onUpdate:value":L[3]||(L[3]=W=>y({type:W})),options:[{label:"线性渐变",value:"linear"},{label:"径向渐变",value:"radial"}]},null,8,["value"]))]),f.value.type==="image"?(U(),te("div",aHe,[O($h,{onChange:L[4]||(L[4]=W=>x(W))},{default:ie(()=>{var W;return[D("div",sHe,[D("div",{class:"content",style:Le({backgroundImage:`url(${(W=f.value.image)==null?void 0:W.src})`})},[O(k)],4)])]}),_:1})])):Ye("",!0),f.value.type==="gradient"?(U(),te("div",lHe,[D("div",uHe,[O(fte,{value:((I=f.value.gradient)==null?void 0:I.colors)||[],index:u.value,"onUpdate:value":L[5]||(L[5]=W=>y({colors:W})),"onUpdate:index":L[6]||(L[6]=W=>u.value=W)},null,8,["value","index"])]),D("div",cHe,[fHe,O(Nt,{trigger:"click",style:{width:"60%"}},{content:ie(()=>[O(qn,{modelValue:f.value.gradient.colors[u.value].color,"onUpdate:modelValue":L[7]||(L[7]=W=>R(W))},null,8,["modelValue"])]),default:ie(()=>[O(Gr,{color:f.value.gradient.colors[u.value].color},null,8,["color"])]),_:1})]),((V=f.value.gradient)==null?void 0:V.type)==="linear"?(U(),te("div",dHe,[hHe,O(Ki,{min:0,max:360,step:15,value:f.value.gradient.rotate||0,"onUpdate:value":L[8]||(L[8]=W=>y({rotate:W})),style:{width:"60%"}},null,8,["value"])])):Ye("",!0)])):Ye("",!0),D("div",pHe,[O(et,{style:{flex:"1"},onClick:L[9]||(L[9]=W=>S())},{default:ie(()=>[Ue("应用背景到全部")]),_:1})]),O(Zt),D("div",vHe,[gHe,O(zr,{style:{width:"60%"},value:z(o),"onUpdate:value":L[10]||(L[10]=W=>M(W)),options:[{label:"宽屏 16 : 9",value:.5625},{label:"宽屏 16 : 10",value:.625},{label:"标准 4 : 3",value:.75},{label:"纸张 A3 / A4",value:.70710678},{label:"竖向 A3 / A4",value:1.41421356}]},null,8,["value"])]),O(Zt),D("div",mHe,[yHe,D("span",{class:"more",onClick:L[11]||(L[11]=W=>s.value=!s.value)},[AHe,s.value?(U(),_e(P,{key:0})):(U(),_e(F,{key:1}))])]),D("div",RHe,[bHe,O(zr,{style:{width:"60%"},value:z(a).fontName,search:"",searchLabel:"搜索字体","onUpdate:value":L[12]||(L[12]=W=>_({fontName:W})),options:z(Ay)},null,8,["value","options"])]),D("div",xHe,[SHe,O(Nt,{trigger:"click",style:{width:"60%"}},{content:ie(()=>[O(qn,{modelValue:z(a).fontColor,"onUpdate:modelValue":L[13]||(L[13]=W=>_({fontColor:W}))},null,8,["modelValue"])]),default:ie(()=>[O(Gr,{color:z(a).fontColor},null,8,["color"])]),_:1})]),D("div",wHe,[MHe,O(Nt,{trigger:"click",style:{width:"60%"}},{content:ie(()=>[O(qn,{modelValue:z(a).backgroundColor,"onUpdate:modelValue":L[14]||(L[14]=W=>_({backgroundColor:W}))},null,8,["modelValue"])]),default:ie(()=>[O(Gr,{color:z(a).backgroundColor},null,8,["color"])]),_:1})]),D("div",LHe,[THe,O(Nt,{trigger:"click",style:{width:"60%"}},{content:ie(()=>[O(qn,{modelValue:z(a).themeColor,"onUpdate:modelValue":L[15]||(L[15]=W=>_({themeColor:W}))},null,8,["modelValue"])]),default:ie(()=>[O(Gr,{color:z(a).themeColor},null,8,["color"])]),_:1})]),s.value?(U(),te(We,{key:2},[D("div",_He,[OHe,O(cv,{style:{width:"60%"}},{options:ie(()=>[(U(!0),te(We,null,nt(c.value,W=>(U(),te("div",{class:"option",key:W,onClick:Z=>_({outline:{...z(a).outline,style:W}})},[O(ms,{type:W},null,8,["type"])],8,kHe))),128))]),label:ie(()=>[O(ms,{type:z(a).outline.style},null,8,["type"])]),_:1})]),D("div",PHe,[CHe,O(Nt,{trigger:"click",style:{width:"60%"}},{content:ie(()=>[O(qn,{modelValue:z(a).outline.color,"onUpdate:modelValue":L[16]||(L[16]=W=>_({outline:{...z(a).outline,color:W}}))},null,8,["modelValue"])]),default:ie(()=>[O(Gr,{color:z(a).outline.color||"#000"},null,8,["color"])]),_:1})]),D("div",IHe,[NHe,O(qo,{value:z(a).outline.width||0,"onUpdate:value":L[17]||(L[17]=W=>_({outline:{...z(a).outline,width:W}})),style:{width:"60%"}},null,8,["value"])]),D("div",FHe,[EHe,O(Ki,{style:{width:"60%"},min:-10,max:10,step:1,value:z(a).shadow.h,"onUpdate:value":L[18]||(L[18]=W=>_({shadow:{...z(a).shadow,h:W}}))},null,8,["value"])]),D("div",XHe,[WHe,O(Ki,{style:{width:"60%"},min:-10,max:10,step:1,value:z(a).shadow.v,"onUpdate:value":L[19]||(L[19]=W=>_({shadow:{...z(a).shadow,v:W}}))},null,8,["value"])]),D("div",VHe,[DHe,O(Ki,{style:{width:"60%"},min:1,max:20,step:1,value:z(a).shadow.blur,"onUpdate:value":L[20]||(L[20]=W=>_({shadow:{...z(a).shadow,blur:W}}))},null,8,["value"])]),D("div",UHe,[BHe,O(Nt,{trigger:"click",style:{width:"60%"}},{content:ie(()=>[O(qn,{modelValue:z(a).shadow.color,"onUpdate:modelValue":L[21]||(L[21]=W=>_({shadow:{...z(a).shadow,color:W}}))},null,8,["modelValue"])]),default:ie(()=>[O(Gr,{color:z(a).shadow.color},null,8,["color"])]),_:1})])],64)):Ye("",!0),D("div",YHe,[O(et,{style:{flex:"1"},onClick:L[22]||(L[22]=W=>z(v)(s.value))},{default:ie(()=>[Ue("应用主题到全部")]),_:1})]),D("div",ZHe,[O(et,{style:{flex:"1"},onClick:L[23]||(L[23]=W=>l.value=!0)},{default:ie(()=>[Ue("从幻灯片提取主题")]),_:1})]),O(Zt),QHe,D("div",HHe,[(U(!0),te(We,null,nt(z(LQe),(W,Z)=>(U(),te("div",{class:"theme-item",key:Z,style:Le({backgroundColor:W.background,fontFamily:W.fontname})},[D("div",KHe,[D("div",{class:"text",style:Le({color:W.fontColor})},"文字 Aa",4),D("div",GHe,[(U(!0),te(We,null,nt(W.colors,(re,Y)=>(U(),te("div",{class:"color-block",key:Y,style:Le({backgroundColor:re})},null,4))),128))]),D("div",zHe,[O(et,{type:"primary",size:"small",onClick:re=>z(h)(W)},{default:ie(()=>[Ue("应用")]),_:2},1032,["onClick"]),O(et,{type:"primary",size:"small",style:{"margin-top":"3px"},onClick:re=>z(p)(W)},{default:ie(()=>[Ue("应用全局")]),_:2},1032,["onClick"])])])],4))),128))])]),O(n0,{visible:l.value,"onUpdate:visible":L[25]||(L[25]=W=>l.value=W),width:320,onClosed:L[26]||(L[26]=W=>l.value=!1)},{default:ie(()=>[O(tHe,{onClose:L[24]||(L[24]=W=>l.value=!1)})]),_:1},8,["visible"])],64)}}}),$He=Be(JHe,[["__scopeId","data-v-6cadd84c"]]),jHe={class:"slide-animation-panel"},qHe={class:"animation-pool"},eKe=["onClick"],tKe={class:"animation-text"},nKe=Xe({__name:"SlideAnimationPanel",setup(e){const t=lt(),{slides:n,currentSlide:r}=De(t),i=Se(()=>r.value.turningMode||"slideY"),o=gte,{addHistorySnapshot:a}=nn(),s=u=>{u!==i.value&&(t.updateSlide({turningMode:u}),a())},l=()=>{const u=n.value.map(c=>({...c,turningMode:r.value.turningMode}));t.setSlides(u),gn.success("已应用到全部"),a()};return(u,c)=>(U(),te("div",jHe,[D("div",qHe,[(U(!0),te(We,null,nt(z(o),f=>(U(),te("div",{class:ze(["animation-item",{active:i.value===f.value}]),key:f.label,onClick:d=>s(f.value)},[D("div",{class:ze(["animation-block",f.value])},null,2),D("div",tKe,pt(f.label),1)],10,eKe))),128))]),O(et,{style:{width:"100%"},onClick:c[0]||(c[0]=f=>l())},{default:ie(()=>[Ue("应用到全部")]),_:1})]))}}),rKe=Be(nKe,[["__scopeId","data-v-ae84c3f4"]]),iKe=()=>{const e=lt(),{activeElementIdList:t,activeElementList:n}=De(ht()),{currentSlide:r}=De(e),{addHistorySnapshot:i}=nn();return{alignActiveElement:a=>{const{minX:s,maxX:l,minY:u,maxY:c}=ju(n.value),f=JSON.parse(JSON.stringify(r.value.elements)),d={};for(const h of n.value)if(h.groupId&&!d[h.groupId]){const p=n.value.filter(v=>v.groupId===h.groupId);d[h.groupId]=ju(p)}if(a===pn.LEFT)f.forEach(h=>{if(t.value.includes(h.id))if(h.groupId){const v=d[h.groupId].minX-s;h.left=h.left-v}else if("rotate"in h&&h.rotate){const{offsetX:p}=Tp({left:h.left,top:h.top,width:h.width,height:h.height,rotate:h.rotate});h.left=s-p}else h.left=s});else if(a===pn.RIGHT)f.forEach(h=>{if(t.value.includes(h.id))if(h.groupId){const v=d[h.groupId].maxX-l;h.left=h.left-v}else{const p=h.type==="line"?Math.max(h.start[0],h.end[0]):h.width;if("rotate"in h&&h.rotate){const{offsetX:v}=Tp({left:h.left,top:h.top,width:h.width,height:h.height,rotate:h.rotate});h.left=l-p+v}else h.left=l-p}});else if(a===pn.TOP)f.forEach(h=>{if(t.value.includes(h.id))if(h.groupId){const v=d[h.groupId].minY-u;h.top=h.top-v}else if("rotate"in h&&h.rotate){const{offsetY:p}=Tp({left:h.left,top:h.top,width:h.width,height:h.height,rotate:h.rotate});h.top=u-p}else h.top=u});else if(a===pn.BOTTOM)f.forEach(h=>{if(t.value.includes(h.id))if(h.groupId){const v=d[h.groupId].maxY-c;h.top=h.top-v}else{const p=h.type==="line"?Math.max(h.start[1],h.end[1]):h.height;if("rotate"in h&&h.rotate){const{offsetY:v}=Tp({left:h.left,top:h.top,width:h.width,height:h.height,rotate:h.rotate});h.top=c-p+v}else h.top=c-p}});else if(a===pn.HORIZONTAL){const h=(s+l)/2;f.forEach(p=>{if(t.value.includes(p.id))if(p.groupId){const v=d[p.groupId],m=(v.maxX+v.minX)/2-h;p.left=p.left-m}else{const v=p.type==="line"?Math.max(p.start[0],p.end[0]):p.width;p.left=h-v/2}})}else if(a===pn.VERTICAL){const h=(u+c)/2;f.forEach(p=>{if(t.value.includes(p.id))if(p.groupId){const v=d[p.groupId],m=(v.maxY+v.minY)/2-h;p.top=p.top-m}else{const v=p.type==="line"?Math.max(p.start[1],p.end[1]):p.height;p.top=h-v/2}})}e.updateSlide({elements:f}),i()}}},oKe=()=>{const e=lt(),{activeElementIdList:t,activeElementList:n}=De(ht()),{currentSlide:r}=De(e),{addHistorySnapshot:i}=nn();return{displayItemCount:Se(()=>{let l=0;const u=[];for(const c of n.value)c.groupId?u.includes(c.groupId)||(u.push(c.groupId),l+=1):l+=1;return l}),uniformHorizontalDisplay:()=>{const{minX:l,maxX:u}=ju(n.value),c=JSON.parse(JSON.stringify(n.value)),f=JSON.parse(JSON.stringify(r.value.elements)),d=[];let h=[];for(const x of c)if(x.groupId)h.find(_=>_.groupId===x.groupId)?h=h.map(_=>_.groupId===x.groupId?{..._,els:[..._.els,x]}:_):h.push({groupId:x.groupId,els:[x]});else{const{minX:S,maxX:_}=hs(x);d.push({min:S,max:_,el:x})}const p=[];for(const x of h){const{minX:S,maxX:_}=ju(x.els);p.push({min:S,max:_,els:x.els})}const v=[...d,...p];v.sort((x,S)=>x.min-S.min);let g=0;for(const x of v){const S=x.max-x.min;g+=S}const m=(u-l-g)/(v.length-1),y=[],R=v[0];let A={min:R.min,max:R.max};if("el"in R)y.push({pos:R.min,el:R.el});else for(const x of R.els){const{minX:S}=hs(x);y.push({pos:S,el:x})}for(let x=1;x<v.length;x++){const S=v[x],_=A.max-A.min,M=A.min+_+m,w=S.max-S.min;if(A={min:M,max:M+w},"el"in S)y.push({pos:M,el:S.el});else for(const L of S.els){const{minX:k}=hs(L),P=k-S.min;y.push({pos:M+P,el:L})}}for(const x of f)if(t.value.includes(x.id)){for(const S of y)if(S.el.id===x.id)if("rotate"in x&&x.rotate){const{offsetX:_}=Tp({left:x.left,top:x.top,width:x.width,height:x.height,rotate:x.rotate});x.left=S.pos-_}else x.left=S.pos}e.updateSlide({elements:f}),i()},uniformVerticalDisplay:()=>{const{minY:l,maxY:u}=ju(n.value),c=JSON.parse(JSON.stringify(n.value)),f=JSON.parse(JSON.stringify(r.value.elements)),d=[];let h=[];for(const x of c)if(x.groupId)h.find(_=>_.groupId===x.groupId)?h=h.map(_=>_.groupId===x.groupId?{..._,els:[..._.els,x]}:_):h.push({groupId:x.groupId,els:[x]});else{const{minY:S,maxY:_}=hs(x);d.push({min:S,max:_,el:x})}const p=[];for(const x of h){const{minY:S,maxY:_}=ju(x.els);p.push({min:S,max:_,els:x.els})}const v=[...d,...p];v.sort((x,S)=>x.min-S.min);let g=0;for(const x of v){const S=x.max-x.min;g+=S}const m=(u-l-g)/(v.length-1),y=[],R=v[0];let A={min:R.min,max:R.max};if("el"in R)y.push({pos:R.min,el:R.el});else for(const x of R.els){const{minY:S}=hs(x);y.push({pos:S,el:x})}for(let x=1;x<v.length;x++){const S=v[x],_=A.max-A.min,M=A.min+_+m,w=S.max-S.min;if(A={min:M,max:M+w},"el"in S)y.push({pos:M,el:S.el});else for(const L of S.els){const{minY:k}=hs(L),P=k-S.min;y.push({pos:M+P,el:L})}}for(const x of f)if(t.value.includes(x.id)){for(const S of y)if(S.el.id===x.id)if("rotate"in x&&x.rotate){const{offsetY:_}=Tp({left:x.left,top:x.top,width:x.width,height:x.height,rotate:x.rotate});x.top=S.pos-_}else x.top=S.pos}e.updateSlide({elements:f}),i()}}},aKe={class:"multi-position-panel"},sKe=Xe({__name:"MultiPositionPanel",setup(e){const{canCombine:t,combineElements:n,uncombineElements:r}=GO(),{alignActiveElement:i}=iKe(),{alignElementToCanvas:o}=m3(),{displayItemCount:a,uniformHorizontalDisplay:s,uniformVerticalDisplay:l}=oKe(),u=c=>{t.value?i(c):o(c)};return(c,f)=>{const d=xe("IconAlignLeft"),h=xe("IconAlignHorizontally"),p=xe("IconAlignRight"),v=xe("IconAlignTop"),g=xe("IconAlignVertically"),m=xe("IconAlignBottom"),y=xe("IconGroup"),R=xe("IconUngroup"),A=Pn("tooltip");return U(),te("div",aKe,[O(Bn,{class:"row"},{default:ie(()=>[Ge((U(),_e(et,{style:{flex:"1"},onClick:f[0]||(f[0]=x=>u(z(pn).LEFT))},{default:ie(()=>[O(d)]),_:1})),[[A,"左对齐"]]),Ge((U(),_e(et,{style:{flex:"1"},onClick:f[1]||(f[1]=x=>u(z(pn).HORIZONTAL))},{default:ie(()=>[O(h)]),_:1})),[[A,"水平居中"]]),Ge((U(),_e(et,{style:{flex:"1"},onClick:f[2]||(f[2]=x=>u(z(pn).RIGHT))},{default:ie(()=>[O(p)]),_:1})),[[A,"右对齐"]])]),_:1}),O(Bn,{class:"row"},{default:ie(()=>[Ge((U(),_e(et,{style:{flex:"1"},onClick:f[3]||(f[3]=x=>u(z(pn).TOP))},{default:ie(()=>[O(v)]),_:1})),[[A,"上对齐"]]),Ge((U(),_e(et,{style:{flex:"1"},onClick:f[4]||(f[4]=x=>u(z(pn).VERTICAL))},{default:ie(()=>[O(g)]),_:1})),[[A,"垂直居中"]]),Ge((U(),_e(et,{style:{flex:"1"},onClick:f[5]||(f[5]=x=>u(z(pn).BOTTOM))},{default:ie(()=>[O(m)]),_:1})),[[A,"下对齐"]])]),_:1}),z(a)>2?(U(),_e(Bn,{key:0,class:"row"},{default:ie(()=>[O(et,{style:{flex:"1"},onClick:f[6]||(f[6]=x=>z(s)())},{default:ie(()=>[Ue("水平均匀分布")]),_:1}),O(et,{style:{flex:"1"},onClick:f[7]||(f[7]=x=>z(l)())},{default:ie(()=>[Ue("垂直均匀分布")]),_:1})]),_:1})):Ye("",!0),O(Zt),O(Bn,{class:"row"},{default:ie(()=>[O(et,{disabled:!z(t),onClick:f[8]||(f[8]=x=>z(n)()),style:{flex:"1"}},{default:ie(()=>[O(y,{style:{"margin-right":"3px"}}),Ue("组合")]),_:1},8,["disabled"]),O(et,{disabled:z(t),onClick:f[9]||(f[9]=x=>z(r)()),style:{flex:"1"}},{default:ie(()=>[O(R,{style:{"margin-right":"3px"}}),Ue("取消组合")]),_:1},8,["disabled"])]),_:1})])}}}),lKe=Be(sKe,[["__scopeId","data-v-d41009b1"]]),g8=[{key:"letter",label:"字母",children:["α","β","γ","δ","ϵ","ε","ζ","η","θ","ϑ","ι","κ","λ","μ","ν","ξ","π","ϖ","ρ","ϱ","σ","ς","τ","υ","ϕ","φ","χ","ψ","ω","Γ","Δ","Θ","Λ","Ξ","Π","Σ","Υ","Φ","Ψ","Ω","𝐀","𝐁","𝐂","𝐃","𝐄","𝐅","𝐆","𝐇","𝐈","𝐉","𝐊","𝐋","𝐌","𝐍","𝐎","𝐏","𝐐","𝐑","𝐒","𝐓","𝐔","𝐕","𝐖","𝐗","𝐘","𝐙","𝐚","𝐛","𝐜","𝐝","𝐞","𝐟","𝐠","𝐡","𝐢","𝐣","𝐤","𝐥","𝐦","𝐧","𝐨","𝐩","𝐪","𝐫","𝐬","𝐭","𝐮","𝐯","𝐰","𝐱","𝐲","𝐳","𝓐","𝓑","𝓒","𝓓","𝓔","𝓕","𝓖","𝓗","𝓘","𝓙","𝓚","𝓛","𝓜","𝓝","𝓞","𝓟","𝓠","𝓡","𝓢","𝓣","𝓤","𝓥","𝓦","𝓧","𝓨","𝓩","𝓪","𝓫","𝓬","𝓭","𝓮","𝓯","𝓰","𝓱","𝓲","𝓳","𝓴","𝓵","𝓶","𝓷","𝓸","𝓹","𝓺","𝓻","𝓼","𝓽","𝓾","𝓿","𝔀","𝔁","𝔂","𝔃"]},{key:"number",label:"序号",children:["①","②","③","④","⑤","⑥","⑦","⑧","⑨","⑩","⑪","⑫","⑬","⑭","⑮","⑯","⑰","⑱","⑲","⑳","⑴","⑵","⑶","⑷","⑸","⑹","⑺","⑻","⑼","⑽","⑾","⑿","⒀","⒁","⒂","⒃","⒄","⒅","⒆","⒇","º","¹","²","³","⁴","⁵","⁶","⁷","⁸","⁹","₀","₁","₂","₃","₄","₅","₆","₇","₈","₉","Ⅰ","Ⅱ","Ⅲ","Ⅳ","Ⅴ","Ⅵ","Ⅶ","Ⅷ","Ⅸ","Ⅹ","Ⅺ","Ⅻ","Ⅼ","Ⅽ","Ⅾ","Ⅿ","ⅰ","ⅱ","ⅲ","ⅳ","ⅴ","ⅵ","ⅶ","ⅷ","ⅸ","ⅹ","ⅺ","ⅻ","ⅼ","ⅽ","ⅾ","ⅿ","ↀ","ↁ","ↂ","㊀","㊁","㊂","㊃","㊄","㊅","㊆","㊇","㊈","㊉","㈠","㈡","㈢","㈣","㈤","㈥","㈦","㈧","㈨","㈩","𝟘","𝟙","𝟚","𝟛","𝟜","𝟝","𝟞","𝟟","𝟠","𝟡"]},{key:"math",label:"数学",children:["+","-","×","÷","=","~","¬","±","%","°","ǃ","‰","‱","½","⅓","⅔","¼","¾","<",">","l","o","g","l","g","l","n","⨂","⨁","⨄","⨃","⨅","⨆","√","∛","∜","∝","∞","∟","∠","∡","∢","∧","∨","∩","∪","∫","∬","∭","∮","∯","∰","∱","∲","∳","∴","∵","∼","∽","∾","∿","≃","≄","≅","≆","≇","≈","≊","≋","≌","≍","≎","≏","≐","≑","≒","≓","≔","≕","≤","≥","≦","≧","≨","≩","≪","≫","≺","≻","≼","≽","≾","≿","⊀","⊁","⊂","⊃","⊄","⊅","⊆","⊇","⊈","⊉","⊊","⊋","⊏","⊐","⊑","⊒","⊓","⊔","⊢","⊣","⊤","⊥","⊦","⊧","⊨","⊩","⊪","⊫","⊬","⊭","⊮","⊯","⊲","⊳","⊴","⊵","⋀","⋁","⋂","⋃","⋉","⋊","⋋","⋌","⟨","⟩","⟪","⟫","⟮","⟯","⧼","⧽","⦰"]},{key:"arrow",label:"箭头",children:["←","↑","→","↓","↔","↕","↖","↗","↘","↙","↚","↛","↜","↝","↞","↟","↠","↡","↢","↣","↤","↥","↦","↧","↨","↫","↬","↭","↮","↯","↰","↱","↲","↳","↴","↵","↶","↷","↸","↹","↺","↻","↼","↽","↾","↿","⇀","⇁","⇂","⇃","⇄","⇅","⇆","⇇","⇈","⇉","⇊","⇋","⇌","⇍","⇎","⇏","⇐","⇑","⇒","⇓","⇔","⇕","⇖","⇗","⇘","⇙","⇚","⇛","⇜","⇝","⇞","⇟","⇠","⇡","⇢","⇣","⇤","⇥","⇦","⇧","⇨","⇩","⇪","⇫","⇬","⇭","⇮","⇯","⇰","⇱","⇲","⇳","⇴","⇵","⇶","⇷","⇸","⇹","⇺","⇻","⇼","⇽","⇾","⇿"]},{key:"graph",label:"图形",children:["▢","▣","▤","▥","▦","▧","▨","▩","▭","▮","▯","▰","▱","▲","▷","▼","◁","◈","◉","◍","◐","◑","◒","◓","◔","◕","◧","◨","◩","◪","◫","◬","◭","◮"]}],uKe={class:"symbol-panel"},cKe={class:"pool"},fKe=["onClick"],dKe={class:"symbol"},hKe=Xe({__name:"SymbolPanel",setup(e){const t=pe(g8[0].key),n=Se(()=>{const o=g8.find(a=>a.key===t.value);return(o==null?void 0:o.children)||[]}),r=g8.map(o=>({key:o.key,label:o.label})),i=o=>{Hi.emit(Ti.RICH_TEXT_COMMAND,{action:{command:"insert",value:o}})};return(o,a)=>(U(),te("div",uKe,[O(hl,{tabs:z(r),value:t.value,"onUpdate:value":a[0]||(a[0]=s=>t.value=s),tabsStyle:{marginBottom:"8px"},spaceBetween:""},null,8,["tabs","value"]),D("div",cKe,[(U(!0),te(We,null,nt(n.value,(s,l)=>(U(),te("div",{class:"symbol-item",key:l,onClick:u=>i(s)},[D("div",dKe,pt(s),1)],8,fKe))),128))])]))}}),pKe=Be(hKe,[["__scopeId","data-v-0f662bb0"]]),vKe={class:"toolbar"},gKe={class:"content"},mKe=Xe({__name:"index",setup(e){const t=ht(),{activeElementIdList:n,handleElement:r,toolbarState:i}=De(t),o=Se(()=>{var f;return((f=r.value)==null?void 0:f.type)==="text"?[{label:"样式",key:qr.EL_STYLE},{label:"符号",key:qr.SYMBOL},{label:"位置",key:qr.EL_POSITION},{label:"动画",key:qr.EL_ANIMATION}]:[{label:"样式",key:qr.EL_STYLE},{label:"位置",key:qr.EL_POSITION},{label:"动画",key:qr.EL_ANIMATION}]}),a=[{label:"设计",key:qr.SLIDE_DESIGN},{label:"切换",key:qr.SLIDE_ANIMATION},{label:"动画",key:qr.EL_ANIMATION}],s=[{label:"样式",key:qr.EL_STYLE},{label:"位置",key:qr.MULTI_POSITION}],l=f=>{t.setToolbarState(f)},u=Se(()=>{if(n.value.length){if(n.value.length>1)return s}else return a;return o.value});_t(u,()=>{const f=u.value.map(d=>d.key);f.includes(i.value)||t.setToolbarState(f[0])});const c=Se(()=>({[qr.EL_STYLE]:GZe,[qr.EL_POSITION]:oQe,[qr.EL_ANIMATION]:MQe,[qr.SLIDE_DESIGN]:$He,[qr.SLIDE_ANIMATION]:rKe,[qr.MULTI_POSITION]:lKe,[qr.SYMBOL]:pKe})[i.value]||null);return(f,d)=>(U(),te("div",vKe,[O(hl,{tabs:u.value,value:z(i),card:"","onUpdate:value":d[0]||(d[0]=h=>l(h))},null,8,["tabs","value"]),D("div",gKe,[(U(),_e(Ru(c.value)))])]))}}),yKe=Be(mKe,[["__scopeId","data-v-83fff59a"]]),AKe={class:"editor"},RKe=Xe({__name:"Editor",props:{value:{}},emits:["update"],setup(e,{expose:t,emit:n}){const r=e,i=n,o=ht(),a=pe();let s;const l=pe(),u=pe(),c=pe(),f=()=>{u.value&&u.value.hide()},d=Yn.debounce(function(){i("update",s.dom.innerHTML)},300,{trailing:!0}),h=()=>{o.setDisableHotkeysState(!0)},p=()=>{o.setDisableHotkeysState(!1)};t({updateTextContent:()=>{if(!s)return;const{doc:y,tr:R}=s.state;s.dispatch(R.replaceRangeWith(0,y.content.size,Ck(r.value)))}});const g=()=>{const y=window.getSelection();if(!y||!y.anchorNode||!y.focusNode||y.isCollapsed||y.type==="Caret"||y.type==="None")return;const R=y.getRangeAt(0);if(u.value){l.value=J8(s);const{x:A,y:x,left:S,top:_}=R.getBoundingClientRect();u.value.setProps({getReferenceClientRect:()=>({x:A,y:x,left:S,top:_,height:0,width:0,right:S,bottom:_})}),u.value.show()}},m=(y,R)=>{if(y==="color"&&R){const A=s.state.schema.marks.forecolor.create({color:R});hi(s),Xl(s,A)}else if(y==="backcolor"&&R){const A=s.state.schema.marks.backcolor.create({backcolor:R});hi(s),Xl(s,A)}else if(y==="bold")hi(s),ai(s.state.schema.marks.strong)(s.state,s.dispatch);else if(y==="em")hi(s),ai(s.state.schema.marks.em)(s.state,s.dispatch);else if(y==="underline")hi(s),ai(s.state.schema.marks.underline)(s.state,s.dispatch);else if(y==="strikethrough")hi(s),ai(s.state.schema.marks.strikethrough)(s.state,s.dispatch);else if(y==="bulletList"){const{bullet_list:A,list_item:x}=s.state.schema.nodes;Zx(A,x,"")(s.state,s.dispatch)}else if(y==="orderedList"){const{ordered_list:A,list_item:x}=s.state.schema.nodes;Zx(A,x,"")(s.state,s.dispatch)}else if(y==="clear"){hi(s);const{$from:A,$to:x}=s.state.selection;s.dispatch(s.state.tr.removeMark(A.pos,x.pos))}s.focus(),d(),l.value=J8(s)};return Ht(()=>{s=oJ(a.value,r.value,{handleDOMEvents:{focus:h,blur:p,mouseup:g,mousedown:()=>{var y;(y=window.getSelection())==null||y.removeAllRanges(),f()},keydown:f,input:d}},{placeholder:"点击输入演讲者备注"}),u.value=h0(a.value,{duration:0,content:c.value,interactive:!0,trigger:"manual",placement:"top-start",hideOnClick:"toggle",offset:[0,6]})}),Fn(()=>{s&&s.destroy()}),(y,R)=>{var C,N,I,V,W,Z;const A=xe("IconTextBold"),x=xe("IconTextItalic"),S=xe("IconTextUnderline"),_=xe("IconStrikethrough"),M=xe("IconText"),w=xe("IconHighLight"),L=xe("IconList"),k=xe("IconOrderedList"),P=xe("IconFormat"),F=Pn("click-outside");return Ge((U(),te("div",AKe,[D("div",{class:"prosemirror-editor",ref_key:"editorViewRef",ref:a},null,512),D("div",{class:"menu",ref_key:"menuRef",ref:c},[D("button",{class:ze({active:(C=l.value)==null?void 0:C.bold}),onClick:R[0]||(R[0]=re=>m("bold"))},[O(A)],2),D("button",{class:ze({active:(N=l.value)==null?void 0:N.em}),onClick:R[1]||(R[1]=re=>m("em"))},[O(x)],2),D("button",{class:ze({active:(I=l.value)==null?void 0:I.underline}),onClick:R[2]||(R[2]=re=>m("underline"))},[O(S)],2),D("button",{class:ze({active:(V=l.value)==null?void 0:V.strikethrough}),onClick:R[3]||(R[3]=re=>m("strikethrough"))},[O(_)],2),O(Nt,{trigger:"click",style:{width:"30%"}},{content:ie(()=>{var re;return[O(qn,{modelValue:(re=l.value)==null?void 0:re.color,"onUpdate:modelValue":R[4]||(R[4]=Y=>m("color",Y))},null,8,["modelValue"])]}),default:ie(()=>[D("button",null,[O(M)])]),_:1}),O(Nt,{trigger:"click",style:{width:"30%"}},{content:ie(()=>{var re;return[O(qn,{modelValue:(re=l.value)==null?void 0:re.backcolor,"onUpdate:modelValue":R[5]||(R[5]=Y=>m("backcolor",Y))},null,8,["modelValue"])]}),default:ie(()=>[D("button",null,[O(w)])]),_:1}),D("button",{class:ze({active:(W=l.value)==null?void 0:W.bulletList}),onClick:R[6]||(R[6]=re=>m("bulletList"))},[O(L)],2),D("button",{class:ze({active:(Z=l.value)==null?void 0:Z.orderedList}),onClick:R[7]||(R[7]=re=>m("orderedList"))},[O(k)],2),D("button",{onClick:R[8]||(R[8]=re=>m("clear"))},[O(P)])],512)])),[[F,f]])}}}),bKe=Be(RKe,[["__scopeId","data-v-4042a280"]]),xKe={class:"remark"},SKe=Xe({__name:"index",props:{height:{}},emits:["update:height"],setup(e,{emit:t}){const n=e,r=t,i=lt(),{currentSlide:o}=De(i),a=pe();_t(()=>o.value.id,()=>{Ir(()=>{a.value.updateTextContent()})},{immediate:!0});const s=Se(()=>{var c;return((c=o.value)==null?void 0:c.remark)||""}),l=c=>{i.updateSlide({remark:c})},u=c=>{let f=!0;const d=c.pageY,h=n.height;document.onmousemove=p=>{if(!f)return;let m=-(p.pageY-d)+h;m<40&&(m=40),m>360&&(m=360),r("update:height",m)},document.onmouseup=()=>{f=!1,document.onmousemove=null,document.onmouseup=null}};return(c,f)=>(U(),te("div",xKe,[D("div",{class:"resize-handler",onMousedown:f[0]||(f[0]=d=>u(d))},null,32),O(bKe,{value:s.value,ref_key:"editorRef",ref:a,onUpdate:f[1]||(f[1]=d=>l(d))},null,8,["value"])]))}}),wKe=Be(SKe,[["__scopeId","data-v-1c52a472"]]);var Ate={exports:{}};(function(e,t){(function(n,r){r()})(Xt,function(){function n(u,c){return typeof c>"u"?c={autoBom:!1}:typeof c!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),c={autoBom:!c}),c.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(u.type)?new Blob(["\uFEFF",u],{type:u.type}):u}function r(u,c,f){var d=new XMLHttpRequest;d.open("GET",u),d.responseType="blob",d.onload=function(){l(d.response,c,f)},d.onerror=function(){console.error("could not download file")},d.send()}function i(u){var c=new XMLHttpRequest;c.open("HEAD",u,!1);try{c.send()}catch{}return 200<=c.status&&299>=c.status}function o(u){try{u.dispatchEvent(new MouseEvent("click"))}catch{var c=document.createEvent("MouseEvents");c.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),u.dispatchEvent(c)}}var a=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof Xt=="object"&&Xt.global===Xt?Xt:void 0,s=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),l=a.saveAs||(typeof window!="object"||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!s?function(u,c,f){var d=a.URL||a.webkitURL,h=document.createElement("a");c=c||u.name||"download",h.download=c,h.rel="noopener",typeof u=="string"?(h.href=u,h.origin===location.origin?o(h):i(h.href)?r(u,c,f):o(h,h.target="_blank")):(h.href=d.createObjectURL(u),setTimeout(function(){d.revokeObjectURL(h.href)},4e4),setTimeout(function(){o(h)},0))}:"msSaveOrOpenBlob"in navigator?function(u,c,f){if(c=c||u.name||"download",typeof u!="string")navigator.msSaveOrOpenBlob(n(u,f),c);else if(i(u))r(u,c,f);else{var d=document.createElement("a");d.href=u,d.target="_blank",setTimeout(function(){o(d)})}}:function(u,c,f,d){if(d=d||open("","_blank"),d&&(d.document.title=d.document.body.innerText="downloading..."),typeof u=="string")return r(u,c,f);var h=u.type==="application/octet-stream",p=/constructor/i.test(a.HTMLElement)||a.safari,v=/CriOS\/[\d]+/.test(navigator.userAgent);if((v||h&&p||s)&&typeof FileReader<"u"){var g=new FileReader;g.onloadend=function(){var R=g.result;R=v?R:R.replace(/^data:[^;]*;/,"data:attachment/file;"),d?d.location.href=R:location=R,d=null},g.readAsDataURL(u)}else{var m=a.URL||a.webkitURL,y=m.createObjectURL(u);d?d.location=y:location.href=y,d=null,setTimeout(function(){m.revokeObjectURL(y)},4e4)}});a.saveAs=l.saveAs=l,e.exports=l})})(Ate);var m8=Ate.exports,Rte={exports:{}};/*!
|
||
|
||
JSZip v3.10.1 - A JavaScript class for generating and reading zip files
|
||
<http://stuartk.com/jszip>
|
||
|
||
(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
|
||
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
|
||
|
||
JSZip uses the library pako released under the MIT license :
|
||
https://github.com/nodeca/pako/blob/main/LICENSE
|
||
*/(function(e,t){(function(n){e.exports=n()})(function(){return function n(r,i,o){function a(u,c){if(!i[u]){if(!r[u]){var f=typeof vg=="function"&&vg;if(!c&&f)return f(u,!0);if(s)return s(u,!0);var d=new Error("Cannot find module '"+u+"'");throw d.code="MODULE_NOT_FOUND",d}var h=i[u]={exports:{}};r[u][0].call(h.exports,function(p){var v=r[u][1][p];return a(v||p)},h,h.exports,n,r,i,o)}return i[u].exports}for(var s=typeof vg=="function"&&vg,l=0;l<o.length;l++)a(o[l]);return a}({1:[function(n,r,i){var o=n("./utils"),a=n("./support"),s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";i.encode=function(l){for(var u,c,f,d,h,p,v,g=[],m=0,y=l.length,R=y,A=o.getTypeOf(l)!=="string";m<l.length;)R=y-m,f=A?(u=l[m++],c=m<y?l[m++]:0,m<y?l[m++]:0):(u=l.charCodeAt(m++),c=m<y?l.charCodeAt(m++):0,m<y?l.charCodeAt(m++):0),d=u>>2,h=(3&u)<<4|c>>4,p=1<R?(15&c)<<2|f>>6:64,v=2<R?63&f:64,g.push(s.charAt(d)+s.charAt(h)+s.charAt(p)+s.charAt(v));return g.join("")},i.decode=function(l){var u,c,f,d,h,p,v=0,g=0,m="data:";if(l.substr(0,m.length)===m)throw new Error("Invalid base64 input, it looks like a data url.");var y,R=3*(l=l.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(l.charAt(l.length-1)===s.charAt(64)&&R--,l.charAt(l.length-2)===s.charAt(64)&&R--,R%1!=0)throw new Error("Invalid base64 input, bad content length.");for(y=a.uint8array?new Uint8Array(0|R):new Array(0|R);v<l.length;)u=s.indexOf(l.charAt(v++))<<2|(d=s.indexOf(l.charAt(v++)))>>4,c=(15&d)<<4|(h=s.indexOf(l.charAt(v++)))>>2,f=(3&h)<<6|(p=s.indexOf(l.charAt(v++))),y[g++]=u,h!==64&&(y[g++]=c),p!==64&&(y[g++]=f);return y}},{"./support":30,"./utils":32}],2:[function(n,r,i){var o=n("./external"),a=n("./stream/DataWorker"),s=n("./stream/Crc32Probe"),l=n("./stream/DataLengthProbe");function u(c,f,d,h,p){this.compressedSize=c,this.uncompressedSize=f,this.crc32=d,this.compression=h,this.compressedContent=p}u.prototype={getContentWorker:function(){var c=new a(o.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new l("data_length")),f=this;return c.on("end",function(){if(this.streamInfo.data_length!==f.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),c},getCompressedWorker:function(){return new a(o.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},u.createWorkerFrom=function(c,f,d){return c.pipe(new s).pipe(new l("uncompressedSize")).pipe(f.compressWorker(d)).pipe(new l("compressedSize")).withStreamInfo("compression",f)},r.exports=u},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(n,r,i){var o=n("./stream/GenericWorker");i.STORE={magic:"\0\0",compressWorker:function(){return new o("STORE compression")},uncompressWorker:function(){return new o("STORE decompression")}},i.DEFLATE=n("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(n,r,i){var o=n("./utils"),a=function(){for(var s,l=[],u=0;u<256;u++){s=u;for(var c=0;c<8;c++)s=1&s?3988292384^s>>>1:s>>>1;l[u]=s}return l}();r.exports=function(s,l){return s!==void 0&&s.length?o.getTypeOf(s)!=="string"?function(u,c,f,d){var h=a,p=d+f;u^=-1;for(var v=d;v<p;v++)u=u>>>8^h[255&(u^c[v])];return-1^u}(0|l,s,s.length,0):function(u,c,f,d){var h=a,p=d+f;u^=-1;for(var v=d;v<p;v++)u=u>>>8^h[255&(u^c.charCodeAt(v))];return-1^u}(0|l,s,s.length,0):0}},{"./utils":32}],5:[function(n,r,i){i.base64=!1,i.binary=!1,i.dir=!1,i.createFolders=!0,i.date=null,i.compression=null,i.compressionOptions=null,i.comment=null,i.unixPermissions=null,i.dosPermissions=null},{}],6:[function(n,r,i){var o=null;o=typeof Promise<"u"?Promise:n("lie"),r.exports={Promise:o}},{lie:37}],7:[function(n,r,i){var o=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",a=n("pako"),s=n("./utils"),l=n("./stream/GenericWorker"),u=o?"uint8array":"array";function c(f,d){l.call(this,"FlateWorker/"+f),this._pako=null,this._pakoAction=f,this._pakoOptions=d,this.meta={}}i.magic="\b\0",s.inherits(c,l),c.prototype.processChunk=function(f){this.meta=f.meta,this._pako===null&&this._createPako(),this._pako.push(s.transformTo(u,f.data),!1)},c.prototype.flush=function(){l.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},c.prototype.cleanUp=function(){l.prototype.cleanUp.call(this),this._pako=null},c.prototype._createPako=function(){this._pako=new a[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var f=this;this._pako.onData=function(d){f.push({data:d,meta:f.meta})}},i.compressWorker=function(f){return new c("Deflate",f)},i.uncompressWorker=function(){return new c("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(n,r,i){function o(h,p){var v,g="";for(v=0;v<p;v++)g+=String.fromCharCode(255&h),h>>>=8;return g}function a(h,p,v,g,m,y){var R,A,x=h.file,S=h.compression,_=y!==u.utf8encode,M=s.transformTo("string",y(x.name)),w=s.transformTo("string",u.utf8encode(x.name)),L=x.comment,k=s.transformTo("string",y(L)),P=s.transformTo("string",u.utf8encode(L)),F=w.length!==x.name.length,C=P.length!==L.length,N="",I="",V="",W=x.dir,Z=x.date,re={crc32:0,compressedSize:0,uncompressedSize:0};p&&!v||(re.crc32=h.crc32,re.compressedSize=h.compressedSize,re.uncompressedSize=h.uncompressedSize);var Y=0;p&&(Y|=8),_||!F&&!C||(Y|=2048);var B=0,Q=0;W&&(B|=16),m==="UNIX"?(Q=798,B|=function(q,j){var de=q;return q||(de=j?16893:33204),(65535&de)<<16}(x.unixPermissions,W)):(Q=20,B|=function(q){return 63&(q||0)}(x.dosPermissions)),R=Z.getUTCHours(),R<<=6,R|=Z.getUTCMinutes(),R<<=5,R|=Z.getUTCSeconds()/2,A=Z.getUTCFullYear()-1980,A<<=4,A|=Z.getUTCMonth()+1,A<<=5,A|=Z.getUTCDate(),F&&(I=o(1,1)+o(c(M),4)+w,N+="up"+o(I.length,2)+I),C&&(V=o(1,1)+o(c(k),4)+P,N+="uc"+o(V.length,2)+V);var K="";return K+=`
|
||
\0`,K+=o(Y,2),K+=S.magic,K+=o(R,2),K+=o(A,2),K+=o(re.crc32,4),K+=o(re.compressedSize,4),K+=o(re.uncompressedSize,4),K+=o(M.length,2),K+=o(N.length,2),{fileRecord:f.LOCAL_FILE_HEADER+K+M+N,dirRecord:f.CENTRAL_FILE_HEADER+o(Q,2)+K+o(k.length,2)+"\0\0\0\0"+o(B,4)+o(g,4)+M+N+k}}var s=n("../utils"),l=n("../stream/GenericWorker"),u=n("../utf8"),c=n("../crc32"),f=n("../signature");function d(h,p,v,g){l.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=p,this.zipPlatform=v,this.encodeFileName=g,this.streamFiles=h,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}s.inherits(d,l),d.prototype.push=function(h){var p=h.meta.percent||0,v=this.entriesCount,g=this._sources.length;this.accumulate?this.contentBuffer.push(h):(this.bytesWritten+=h.data.length,l.prototype.push.call(this,{data:h.data,meta:{currentFile:this.currentFile,percent:v?(p+100*(v-g-1))/v:100}}))},d.prototype.openedSource=function(h){this.currentSourceOffset=this.bytesWritten,this.currentFile=h.file.name;var p=this.streamFiles&&!h.file.dir;if(p){var v=a(h,p,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:v.fileRecord,meta:{percent:0}})}else this.accumulate=!0},d.prototype.closedSource=function(h){this.accumulate=!1;var p=this.streamFiles&&!h.file.dir,v=a(h,p,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(v.dirRecord),p)this.push({data:function(g){return f.DATA_DESCRIPTOR+o(g.crc32,4)+o(g.compressedSize,4)+o(g.uncompressedSize,4)}(h),meta:{percent:100}});else for(this.push({data:v.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},d.prototype.flush=function(){for(var h=this.bytesWritten,p=0;p<this.dirRecords.length;p++)this.push({data:this.dirRecords[p],meta:{percent:100}});var v=this.bytesWritten-h,g=function(m,y,R,A,x){var S=s.transformTo("string",x(A));return f.CENTRAL_DIRECTORY_END+"\0\0\0\0"+o(m,2)+o(m,2)+o(y,4)+o(R,4)+o(S.length,2)+S}(this.dirRecords.length,v,h,this.zipComment,this.encodeFileName);this.push({data:g,meta:{percent:100}})},d.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},d.prototype.registerPrevious=function(h){this._sources.push(h);var p=this;return h.on("data",function(v){p.processChunk(v)}),h.on("end",function(){p.closedSource(p.previous.streamInfo),p._sources.length?p.prepareNextSource():p.end()}),h.on("error",function(v){p.error(v)}),this},d.prototype.resume=function(){return!!l.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},d.prototype.error=function(h){var p=this._sources;if(!l.prototype.error.call(this,h))return!1;for(var v=0;v<p.length;v++)try{p[v].error(h)}catch{}return!0},d.prototype.lock=function(){l.prototype.lock.call(this);for(var h=this._sources,p=0;p<h.length;p++)h[p].lock()},r.exports=d},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(n,r,i){var o=n("../compressions"),a=n("./ZipFileWorker");i.generateWorker=function(s,l,u){var c=new a(l.streamFiles,u,l.platform,l.encodeFileName),f=0;try{s.forEach(function(d,h){f++;var p=function(y,R){var A=y||R,x=o[A];if(!x)throw new Error(A+" is not a valid compression method !");return x}(h.options.compression,l.compression),v=h.options.compressionOptions||l.compressionOptions||{},g=h.dir,m=h.date;h._compressWorker(p,v).withStreamInfo("file",{name:d,dir:g,date:m,comment:h.comment||"",unixPermissions:h.unixPermissions,dosPermissions:h.dosPermissions}).pipe(c)}),c.entriesCount=f}catch(d){c.error(d)}return c}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(n,r,i){function o(){if(!(this instanceof o))return new o;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var a=new o;for(var s in this)typeof this[s]!="function"&&(a[s]=this[s]);return a}}(o.prototype=n("./object")).loadAsync=n("./load"),o.support=n("./support"),o.defaults=n("./defaults"),o.version="3.10.1",o.loadAsync=function(a,s){return new o().loadAsync(a,s)},o.external=n("./external"),r.exports=o},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(n,r,i){var o=n("./utils"),a=n("./external"),s=n("./utf8"),l=n("./zipEntries"),u=n("./stream/Crc32Probe"),c=n("./nodejsUtils");function f(d){return new a.Promise(function(h,p){var v=d.decompressed.getContentWorker().pipe(new u);v.on("error",function(g){p(g)}).on("end",function(){v.streamInfo.crc32!==d.decompressed.crc32?p(new Error("Corrupted zip : CRC32 mismatch")):h()}).resume()})}r.exports=function(d,h){var p=this;return h=o.extend(h||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:s.utf8decode}),c.isNode&&c.isStream(d)?a.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):o.prepareContent("the loaded zip file",d,!0,h.optimizedBinaryString,h.base64).then(function(v){var g=new l(h);return g.load(v),g}).then(function(v){var g=[a.Promise.resolve(v)],m=v.files;if(h.checkCRC32)for(var y=0;y<m.length;y++)g.push(f(m[y]));return a.Promise.all(g)}).then(function(v){for(var g=v.shift(),m=g.files,y=0;y<m.length;y++){var R=m[y],A=R.fileNameStr,x=o.resolve(R.fileNameStr);p.file(x,R.decompressed,{binary:!0,optimizedBinaryString:!0,date:R.date,dir:R.dir,comment:R.fileCommentStr.length?R.fileCommentStr:null,unixPermissions:R.unixPermissions,dosPermissions:R.dosPermissions,createFolders:h.createFolders}),R.dir||(p.file(x).unsafeOriginalName=A)}return g.zipComment.length&&(p.comment=g.zipComment),p})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(n,r,i){var o=n("../utils"),a=n("../stream/GenericWorker");function s(l,u){a.call(this,"Nodejs stream input adapter for "+l),this._upstreamEnded=!1,this._bindStream(u)}o.inherits(s,a),s.prototype._bindStream=function(l){var u=this;(this._stream=l).pause(),l.on("data",function(c){u.push({data:c,meta:{percent:0}})}).on("error",function(c){u.isPaused?this.generatedError=c:u.error(c)}).on("end",function(){u.isPaused?u._upstreamEnded=!0:u.end()})},s.prototype.pause=function(){return!!a.prototype.pause.call(this)&&(this._stream.pause(),!0)},s.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},r.exports=s},{"../stream/GenericWorker":28,"../utils":32}],13:[function(n,r,i){var o=n("readable-stream").Readable;function a(s,l,u){o.call(this,l),this._helper=s;var c=this;s.on("data",function(f,d){c.push(f)||c._helper.pause(),u&&u(d)}).on("error",function(f){c.emit("error",f)}).on("end",function(){c.push(null)})}n("../utils").inherits(a,o),a.prototype._read=function(){this._helper.resume()},r.exports=a},{"../utils":32,"readable-stream":16}],14:[function(n,r,i){r.exports={isNode:typeof Buffer<"u",newBufferFrom:function(o,a){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(o,a);if(typeof o=="number")throw new Error('The "data" argument must not be a number');return new Buffer(o,a)},allocBuffer:function(o){if(Buffer.alloc)return Buffer.alloc(o);var a=new Buffer(o);return a.fill(0),a},isBuffer:function(o){return Buffer.isBuffer(o)},isStream:function(o){return o&&typeof o.on=="function"&&typeof o.pause=="function"&&typeof o.resume=="function"}}},{}],15:[function(n,r,i){function o(x,S,_){var M,w=s.getTypeOf(S),L=s.extend(_||{},c);L.date=L.date||new Date,L.compression!==null&&(L.compression=L.compression.toUpperCase()),typeof L.unixPermissions=="string"&&(L.unixPermissions=parseInt(L.unixPermissions,8)),L.unixPermissions&&16384&L.unixPermissions&&(L.dir=!0),L.dosPermissions&&16&L.dosPermissions&&(L.dir=!0),L.dir&&(x=m(x)),L.createFolders&&(M=g(x))&&y.call(this,M,!0);var k=w==="string"&&L.binary===!1&&L.base64===!1;_&&_.binary!==void 0||(L.binary=!k),(S instanceof f&&S.uncompressedSize===0||L.dir||!S||S.length===0)&&(L.base64=!1,L.binary=!0,S="",L.compression="STORE",w="string");var P=null;P=S instanceof f||S instanceof l?S:p.isNode&&p.isStream(S)?new v(x,S):s.prepareContent(x,S,L.binary,L.optimizedBinaryString,L.base64);var F=new d(x,P,L);this.files[x]=F}var a=n("./utf8"),s=n("./utils"),l=n("./stream/GenericWorker"),u=n("./stream/StreamHelper"),c=n("./defaults"),f=n("./compressedObject"),d=n("./zipObject"),h=n("./generate"),p=n("./nodejsUtils"),v=n("./nodejs/NodejsStreamInputAdapter"),g=function(x){x.slice(-1)==="/"&&(x=x.substring(0,x.length-1));var S=x.lastIndexOf("/");return 0<S?x.substring(0,S):""},m=function(x){return x.slice(-1)!=="/"&&(x+="/"),x},y=function(x,S){return S=S!==void 0?S:c.createFolders,x=m(x),this.files[x]||o.call(this,x,null,{dir:!0,createFolders:S}),this.files[x]};function R(x){return Object.prototype.toString.call(x)==="[object RegExp]"}var A={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(x){var S,_,M;for(S in this.files)M=this.files[S],(_=S.slice(this.root.length,S.length))&&S.slice(0,this.root.length)===this.root&&x(_,M)},filter:function(x){var S=[];return this.forEach(function(_,M){x(_,M)&&S.push(M)}),S},file:function(x,S,_){if(arguments.length!==1)return x=this.root+x,o.call(this,x,S,_),this;if(R(x)){var M=x;return this.filter(function(L,k){return!k.dir&&M.test(L)})}var w=this.files[this.root+x];return w&&!w.dir?w:null},folder:function(x){if(!x)return this;if(R(x))return this.filter(function(w,L){return L.dir&&x.test(w)});var S=this.root+x,_=y.call(this,S),M=this.clone();return M.root=_.name,M},remove:function(x){x=this.root+x;var S=this.files[x];if(S||(x.slice(-1)!=="/"&&(x+="/"),S=this.files[x]),S&&!S.dir)delete this.files[x];else for(var _=this.filter(function(w,L){return L.name.slice(0,x.length)===x}),M=0;M<_.length;M++)delete this.files[_[M].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(x){var S,_={};try{if((_=s.extend(x||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:a.utf8encode})).type=_.type.toLowerCase(),_.compression=_.compression.toUpperCase(),_.type==="binarystring"&&(_.type="string"),!_.type)throw new Error("No output type specified.");s.checkSupport(_.type),_.platform!=="darwin"&&_.platform!=="freebsd"&&_.platform!=="linux"&&_.platform!=="sunos"||(_.platform="UNIX"),_.platform==="win32"&&(_.platform="DOS");var M=_.comment||this.comment||"";S=h.generateWorker(this,_,M)}catch(w){(S=new l("error")).error(w)}return new u(S,_.type||"string",_.mimeType)},generateAsync:function(x,S){return this.generateInternalStream(x).accumulate(S)},generateNodeStream:function(x,S){return(x=x||{}).type||(x.type="nodebuffer"),this.generateInternalStream(x).toNodejsStream(S)}};r.exports=A},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(n,r,i){r.exports=n("stream")},{stream:void 0}],17:[function(n,r,i){var o=n("./DataReader");function a(s){o.call(this,s);for(var l=0;l<this.data.length;l++)s[l]=255&s[l]}n("../utils").inherits(a,o),a.prototype.byteAt=function(s){return this.data[this.zero+s]},a.prototype.lastIndexOfSignature=function(s){for(var l=s.charCodeAt(0),u=s.charCodeAt(1),c=s.charCodeAt(2),f=s.charCodeAt(3),d=this.length-4;0<=d;--d)if(this.data[d]===l&&this.data[d+1]===u&&this.data[d+2]===c&&this.data[d+3]===f)return d-this.zero;return-1},a.prototype.readAndCheckSignature=function(s){var l=s.charCodeAt(0),u=s.charCodeAt(1),c=s.charCodeAt(2),f=s.charCodeAt(3),d=this.readData(4);return l===d[0]&&u===d[1]&&c===d[2]&&f===d[3]},a.prototype.readData=function(s){if(this.checkOffset(s),s===0)return[];var l=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,l},r.exports=a},{"../utils":32,"./DataReader":18}],18:[function(n,r,i){var o=n("../utils");function a(s){this.data=s,this.length=s.length,this.index=0,this.zero=0}a.prototype={checkOffset:function(s){this.checkIndex(this.index+s)},checkIndex:function(s){if(this.length<this.zero+s||s<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+s+"). Corrupted zip ?")},setIndex:function(s){this.checkIndex(s),this.index=s},skip:function(s){this.setIndex(this.index+s)},byteAt:function(){},readInt:function(s){var l,u=0;for(this.checkOffset(s),l=this.index+s-1;l>=this.index;l--)u=(u<<8)+this.byteAt(l);return this.index+=s,u},readString:function(s){return o.transformTo("string",this.readData(s))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var s=this.readInt(4);return new Date(Date.UTC(1980+(s>>25&127),(s>>21&15)-1,s>>16&31,s>>11&31,s>>5&63,(31&s)<<1))}},r.exports=a},{"../utils":32}],19:[function(n,r,i){var o=n("./Uint8ArrayReader");function a(s){o.call(this,s)}n("../utils").inherits(a,o),a.prototype.readData=function(s){this.checkOffset(s);var l=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,l},r.exports=a},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(n,r,i){var o=n("./DataReader");function a(s){o.call(this,s)}n("../utils").inherits(a,o),a.prototype.byteAt=function(s){return this.data.charCodeAt(this.zero+s)},a.prototype.lastIndexOfSignature=function(s){return this.data.lastIndexOf(s)-this.zero},a.prototype.readAndCheckSignature=function(s){return s===this.readData(4)},a.prototype.readData=function(s){this.checkOffset(s);var l=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,l},r.exports=a},{"../utils":32,"./DataReader":18}],21:[function(n,r,i){var o=n("./ArrayReader");function a(s){o.call(this,s)}n("../utils").inherits(a,o),a.prototype.readData=function(s){if(this.checkOffset(s),s===0)return new Uint8Array(0);var l=this.data.subarray(this.zero+this.index,this.zero+this.index+s);return this.index+=s,l},r.exports=a},{"../utils":32,"./ArrayReader":17}],22:[function(n,r,i){var o=n("../utils"),a=n("../support"),s=n("./ArrayReader"),l=n("./StringReader"),u=n("./NodeBufferReader"),c=n("./Uint8ArrayReader");r.exports=function(f){var d=o.getTypeOf(f);return o.checkSupport(d),d!=="string"||a.uint8array?d==="nodebuffer"?new u(f):a.uint8array?new c(o.transformTo("uint8array",f)):new s(o.transformTo("array",f)):new l(f)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(n,r,i){i.LOCAL_FILE_HEADER="PK",i.CENTRAL_FILE_HEADER="PK",i.CENTRAL_DIRECTORY_END="PK",i.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",i.ZIP64_CENTRAL_DIRECTORY_END="PK",i.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(n,r,i){var o=n("./GenericWorker"),a=n("../utils");function s(l){o.call(this,"ConvertWorker to "+l),this.destType=l}a.inherits(s,o),s.prototype.processChunk=function(l){this.push({data:a.transformTo(this.destType,l.data),meta:l.meta})},r.exports=s},{"../utils":32,"./GenericWorker":28}],25:[function(n,r,i){var o=n("./GenericWorker"),a=n("../crc32");function s(){o.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}n("../utils").inherits(s,o),s.prototype.processChunk=function(l){this.streamInfo.crc32=a(l.data,this.streamInfo.crc32||0),this.push(l)},r.exports=s},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(n,r,i){var o=n("../utils"),a=n("./GenericWorker");function s(l){a.call(this,"DataLengthProbe for "+l),this.propName=l,this.withStreamInfo(l,0)}o.inherits(s,a),s.prototype.processChunk=function(l){if(l){var u=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=u+l.data.length}a.prototype.processChunk.call(this,l)},r.exports=s},{"../utils":32,"./GenericWorker":28}],27:[function(n,r,i){var o=n("../utils"),a=n("./GenericWorker");function s(l){a.call(this,"DataWorker");var u=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,l.then(function(c){u.dataIsReady=!0,u.data=c,u.max=c&&c.length||0,u.type=o.getTypeOf(c),u.isPaused||u._tickAndRepeat()},function(c){u.error(c)})}o.inherits(s,a),s.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this.data=null},s.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,o.delay(this._tickAndRepeat,[],this)),!0)},s.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(o.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},s.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var l=null,u=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":l=this.data.substring(this.index,u);break;case"uint8array":l=this.data.subarray(this.index,u);break;case"array":case"nodebuffer":l=this.data.slice(this.index,u)}return this.index=u,this.push({data:l,meta:{percent:this.max?this.index/this.max*100:0}})},r.exports=s},{"../utils":32,"./GenericWorker":28}],28:[function(n,r,i){function o(a){this.name=a||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}o.prototype={push:function(a){this.emit("data",a)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(a){this.emit("error",a)}return!0},error:function(a){return!this.isFinished&&(this.isPaused?this.generatedError=a:(this.isFinished=!0,this.emit("error",a),this.previous&&this.previous.error(a),this.cleanUp()),!0)},on:function(a,s){return this._listeners[a].push(s),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(a,s){if(this._listeners[a])for(var l=0;l<this._listeners[a].length;l++)this._listeners[a][l].call(this,s)},pipe:function(a){return a.registerPrevious(this)},registerPrevious:function(a){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=a.streamInfo,this.mergeStreamInfo(),this.previous=a;var s=this;return a.on("data",function(l){s.processChunk(l)}),a.on("end",function(){s.end()}),a.on("error",function(l){s.error(l)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var a=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),a=!0),this.previous&&this.previous.resume(),!a},flush:function(){},processChunk:function(a){this.push(a)},withStreamInfo:function(a,s){return this.extraStreamInfo[a]=s,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var a in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,a)&&(this.streamInfo[a]=this.extraStreamInfo[a])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var a="Worker "+this.name;return this.previous?this.previous+" -> "+a:a}},r.exports=o},{}],29:[function(n,r,i){var o=n("../utils"),a=n("./ConvertWorker"),s=n("./GenericWorker"),l=n("../base64"),u=n("../support"),c=n("../external"),f=null;if(u.nodestream)try{f=n("../nodejs/NodejsStreamOutputAdapter")}catch{}function d(p,v){return new c.Promise(function(g,m){var y=[],R=p._internalType,A=p._outputType,x=p._mimeType;p.on("data",function(S,_){y.push(S),v&&v(_)}).on("error",function(S){y=[],m(S)}).on("end",function(){try{var S=function(_,M,w){switch(_){case"blob":return o.newBlob(o.transformTo("arraybuffer",M),w);case"base64":return l.encode(M);default:return o.transformTo(_,M)}}(A,function(_,M){var w,L=0,k=null,P=0;for(w=0;w<M.length;w++)P+=M[w].length;switch(_){case"string":return M.join("");case"array":return Array.prototype.concat.apply([],M);case"uint8array":for(k=new Uint8Array(P),w=0;w<M.length;w++)k.set(M[w],L),L+=M[w].length;return k;case"nodebuffer":return Buffer.concat(M);default:throw new Error("concat : unsupported type '"+_+"'")}}(R,y),x);g(S)}catch(_){m(_)}y=[]}).resume()})}function h(p,v,g){var m=v;switch(v){case"blob":case"arraybuffer":m="uint8array";break;case"base64":m="string"}try{this._internalType=m,this._outputType=v,this._mimeType=g,o.checkSupport(m),this._worker=p.pipe(new a(m)),p.lock()}catch(y){this._worker=new s("error"),this._worker.error(y)}}h.prototype={accumulate:function(p){return d(this,p)},on:function(p,v){var g=this;return p==="data"?this._worker.on(p,function(m){v.call(g,m.data,m.meta)}):this._worker.on(p,function(){o.delay(v,arguments,g)}),this},resume:function(){return o.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(p){if(o.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new f(this,{objectMode:this._outputType!=="nodebuffer"},p)}},r.exports=h},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(n,r,i){if(i.base64=!0,i.array=!0,i.string=!0,i.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",i.nodebuffer=typeof Buffer<"u",i.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")i.blob=!1;else{var o=new ArrayBuffer(0);try{i.blob=new Blob([o],{type:"application/zip"}).size===0}catch{try{var a=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);a.append(o),i.blob=a.getBlob("application/zip").size===0}catch{i.blob=!1}}}try{i.nodestream=!!n("readable-stream").Readable}catch{i.nodestream=!1}},{"readable-stream":16}],31:[function(n,r,i){for(var o=n("./utils"),a=n("./support"),s=n("./nodejsUtils"),l=n("./stream/GenericWorker"),u=new Array(256),c=0;c<256;c++)u[c]=252<=c?6:248<=c?5:240<=c?4:224<=c?3:192<=c?2:1;u[254]=u[254]=1;function f(){l.call(this,"utf-8 decode"),this.leftOver=null}function d(){l.call(this,"utf-8 encode")}i.utf8encode=function(h){return a.nodebuffer?s.newBufferFrom(h,"utf-8"):function(p){var v,g,m,y,R,A=p.length,x=0;for(y=0;y<A;y++)(64512&(g=p.charCodeAt(y)))==55296&&y+1<A&&(64512&(m=p.charCodeAt(y+1)))==56320&&(g=65536+(g-55296<<10)+(m-56320),y++),x+=g<128?1:g<2048?2:g<65536?3:4;for(v=a.uint8array?new Uint8Array(x):new Array(x),y=R=0;R<x;y++)(64512&(g=p.charCodeAt(y)))==55296&&y+1<A&&(64512&(m=p.charCodeAt(y+1)))==56320&&(g=65536+(g-55296<<10)+(m-56320),y++),g<128?v[R++]=g:(g<2048?v[R++]=192|g>>>6:(g<65536?v[R++]=224|g>>>12:(v[R++]=240|g>>>18,v[R++]=128|g>>>12&63),v[R++]=128|g>>>6&63),v[R++]=128|63&g);return v}(h)},i.utf8decode=function(h){return a.nodebuffer?o.transformTo("nodebuffer",h).toString("utf-8"):function(p){var v,g,m,y,R=p.length,A=new Array(2*R);for(v=g=0;v<R;)if((m=p[v++])<128)A[g++]=m;else if(4<(y=u[m]))A[g++]=65533,v+=y-1;else{for(m&=y===2?31:y===3?15:7;1<y&&v<R;)m=m<<6|63&p[v++],y--;1<y?A[g++]=65533:m<65536?A[g++]=m:(m-=65536,A[g++]=55296|m>>10&1023,A[g++]=56320|1023&m)}return A.length!==g&&(A.subarray?A=A.subarray(0,g):A.length=g),o.applyFromCharCode(A)}(h=o.transformTo(a.uint8array?"uint8array":"array",h))},o.inherits(f,l),f.prototype.processChunk=function(h){var p=o.transformTo(a.uint8array?"uint8array":"array",h.data);if(this.leftOver&&this.leftOver.length){if(a.uint8array){var v=p;(p=new Uint8Array(v.length+this.leftOver.length)).set(this.leftOver,0),p.set(v,this.leftOver.length)}else p=this.leftOver.concat(p);this.leftOver=null}var g=function(y,R){var A;for((R=R||y.length)>y.length&&(R=y.length),A=R-1;0<=A&&(192&y[A])==128;)A--;return A<0||A===0?R:A+u[y[A]]>R?A:R}(p),m=p;g!==p.length&&(a.uint8array?(m=p.subarray(0,g),this.leftOver=p.subarray(g,p.length)):(m=p.slice(0,g),this.leftOver=p.slice(g,p.length))),this.push({data:i.utf8decode(m),meta:h.meta})},f.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:i.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},i.Utf8DecodeWorker=f,o.inherits(d,l),d.prototype.processChunk=function(h){this.push({data:i.utf8encode(h.data),meta:h.meta})},i.Utf8EncodeWorker=d},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(n,r,i){var o=n("./support"),a=n("./base64"),s=n("./nodejsUtils"),l=n("./external");function u(v){return v}function c(v,g){for(var m=0;m<v.length;++m)g[m]=255&v.charCodeAt(m);return g}n("setimmediate"),i.newBlob=function(v,g){i.checkSupport("blob");try{return new Blob([v],{type:g})}catch{try{var m=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return m.append(v),m.getBlob(g)}catch{throw new Error("Bug : can't construct the Blob.")}}};var f={stringifyByChunk:function(v,g,m){var y=[],R=0,A=v.length;if(A<=m)return String.fromCharCode.apply(null,v);for(;R<A;)g==="array"||g==="nodebuffer"?y.push(String.fromCharCode.apply(null,v.slice(R,Math.min(R+m,A)))):y.push(String.fromCharCode.apply(null,v.subarray(R,Math.min(R+m,A)))),R+=m;return y.join("")},stringifyByChar:function(v){for(var g="",m=0;m<v.length;m++)g+=String.fromCharCode(v[m]);return g},applyCanBeUsed:{uint8array:function(){try{return o.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return o.nodebuffer&&String.fromCharCode.apply(null,s.allocBuffer(1)).length===1}catch{return!1}}()}};function d(v){var g=65536,m=i.getTypeOf(v),y=!0;if(m==="uint8array"?y=f.applyCanBeUsed.uint8array:m==="nodebuffer"&&(y=f.applyCanBeUsed.nodebuffer),y)for(;1<g;)try{return f.stringifyByChunk(v,m,g)}catch{g=Math.floor(g/2)}return f.stringifyByChar(v)}function h(v,g){for(var m=0;m<v.length;m++)g[m]=v[m];return g}i.applyFromCharCode=d;var p={};p.string={string:u,array:function(v){return c(v,new Array(v.length))},arraybuffer:function(v){return p.string.uint8array(v).buffer},uint8array:function(v){return c(v,new Uint8Array(v.length))},nodebuffer:function(v){return c(v,s.allocBuffer(v.length))}},p.array={string:d,array:u,arraybuffer:function(v){return new Uint8Array(v).buffer},uint8array:function(v){return new Uint8Array(v)},nodebuffer:function(v){return s.newBufferFrom(v)}},p.arraybuffer={string:function(v){return d(new Uint8Array(v))},array:function(v){return h(new Uint8Array(v),new Array(v.byteLength))},arraybuffer:u,uint8array:function(v){return new Uint8Array(v)},nodebuffer:function(v){return s.newBufferFrom(new Uint8Array(v))}},p.uint8array={string:d,array:function(v){return h(v,new Array(v.length))},arraybuffer:function(v){return v.buffer},uint8array:u,nodebuffer:function(v){return s.newBufferFrom(v)}},p.nodebuffer={string:d,array:function(v){return h(v,new Array(v.length))},arraybuffer:function(v){return p.nodebuffer.uint8array(v).buffer},uint8array:function(v){return h(v,new Uint8Array(v.length))},nodebuffer:u},i.transformTo=function(v,g){if(g=g||"",!v)return g;i.checkSupport(v);var m=i.getTypeOf(g);return p[m][v](g)},i.resolve=function(v){for(var g=v.split("/"),m=[],y=0;y<g.length;y++){var R=g[y];R==="."||R===""&&y!==0&&y!==g.length-1||(R===".."?m.pop():m.push(R))}return m.join("/")},i.getTypeOf=function(v){return typeof v=="string"?"string":Object.prototype.toString.call(v)==="[object Array]"?"array":o.nodebuffer&&s.isBuffer(v)?"nodebuffer":o.uint8array&&v instanceof Uint8Array?"uint8array":o.arraybuffer&&v instanceof ArrayBuffer?"arraybuffer":void 0},i.checkSupport=function(v){if(!o[v.toLowerCase()])throw new Error(v+" is not supported by this platform")},i.MAX_VALUE_16BITS=65535,i.MAX_VALUE_32BITS=-1,i.pretty=function(v){var g,m,y="";for(m=0;m<(v||"").length;m++)y+="\\x"+((g=v.charCodeAt(m))<16?"0":"")+g.toString(16).toUpperCase();return y},i.delay=function(v,g,m){setImmediate(function(){v.apply(m||null,g||[])})},i.inherits=function(v,g){function m(){}m.prototype=g.prototype,v.prototype=new m},i.extend=function(){var v,g,m={};for(v=0;v<arguments.length;v++)for(g in arguments[v])Object.prototype.hasOwnProperty.call(arguments[v],g)&&m[g]===void 0&&(m[g]=arguments[v][g]);return m},i.prepareContent=function(v,g,m,y,R){return l.Promise.resolve(g).then(function(A){return o.blob&&(A instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(A))!==-1)&&typeof FileReader<"u"?new l.Promise(function(x,S){var _=new FileReader;_.onload=function(M){x(M.target.result)},_.onerror=function(M){S(M.target.error)},_.readAsArrayBuffer(A)}):A}).then(function(A){var x=i.getTypeOf(A);return x?(x==="arraybuffer"?A=i.transformTo("uint8array",A):x==="string"&&(R?A=a.decode(A):m&&y!==!0&&(A=function(S){return c(S,o.uint8array?new Uint8Array(S.length):new Array(S.length))}(A))),A):l.Promise.reject(new Error("Can't read the data of '"+v+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(n,r,i){var o=n("./reader/readerFor"),a=n("./utils"),s=n("./signature"),l=n("./zipEntry"),u=n("./support");function c(f){this.files=[],this.loadOptions=f}c.prototype={checkSignature:function(f){if(!this.reader.readAndCheckSignature(f)){this.reader.index-=4;var d=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+a.pretty(d)+", expected "+a.pretty(f)+")")}},isSignature:function(f,d){var h=this.reader.index;this.reader.setIndex(f);var p=this.reader.readString(4)===d;return this.reader.setIndex(h),p},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var f=this.reader.readData(this.zipCommentLength),d=u.uint8array?"uint8array":"array",h=a.transformTo(d,f);this.zipComment=this.loadOptions.decodeFileName(h)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var f,d,h,p=this.zip64EndOfCentralSize-44;0<p;)f=this.reader.readInt(2),d=this.reader.readInt(4),h=this.reader.readData(d),this.zip64ExtensibleData[f]={id:f,length:d,value:h}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var f,d;for(f=0;f<this.files.length;f++)d=this.files[f],this.reader.setIndex(d.localHeaderOffset),this.checkSignature(s.LOCAL_FILE_HEADER),d.readLocalPart(this.reader),d.handleUTF8(),d.processAttributes()},readCentralDir:function(){var f;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(s.CENTRAL_FILE_HEADER);)(f=new l({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(f);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var f=this.reader.lastIndexOfSignature(s.CENTRAL_DIRECTORY_END);if(f<0)throw this.isSignature(0,s.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(f);var d=f;if(this.checkSignature(s.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===a.MAX_VALUE_16BITS||this.diskWithCentralDirStart===a.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===a.MAX_VALUE_16BITS||this.centralDirRecords===a.MAX_VALUE_16BITS||this.centralDirSize===a.MAX_VALUE_32BITS||this.centralDirOffset===a.MAX_VALUE_32BITS){if(this.zip64=!0,(f=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(f),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,s.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var h=this.centralDirOffset+this.centralDirSize;this.zip64&&(h+=20,h+=12+this.zip64EndOfCentralSize);var p=d-h;if(0<p)this.isSignature(d,s.CENTRAL_FILE_HEADER)||(this.reader.zero=p);else if(p<0)throw new Error("Corrupted zip: missing "+Math.abs(p)+" bytes.")},prepareReader:function(f){this.reader=o(f)},load:function(f){this.prepareReader(f),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},r.exports=c},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(n,r,i){var o=n("./reader/readerFor"),a=n("./utils"),s=n("./compressedObject"),l=n("./crc32"),u=n("./utf8"),c=n("./compressions"),f=n("./support");function d(h,p){this.options=h,this.loadOptions=p}d.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(h){var p,v;if(h.skip(22),this.fileNameLength=h.readInt(2),v=h.readInt(2),this.fileName=h.readData(this.fileNameLength),h.skip(v),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((p=function(g){for(var m in c)if(Object.prototype.hasOwnProperty.call(c,m)&&c[m].magic===g)return c[m];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+a.pretty(this.compressionMethod)+" unknown (inner file : "+a.transformTo("string",this.fileName)+")");this.decompressed=new s(this.compressedSize,this.uncompressedSize,this.crc32,p,h.readData(this.compressedSize))},readCentralPart:function(h){this.versionMadeBy=h.readInt(2),h.skip(2),this.bitFlag=h.readInt(2),this.compressionMethod=h.readString(2),this.date=h.readDate(),this.crc32=h.readInt(4),this.compressedSize=h.readInt(4),this.uncompressedSize=h.readInt(4);var p=h.readInt(2);if(this.extraFieldsLength=h.readInt(2),this.fileCommentLength=h.readInt(2),this.diskNumberStart=h.readInt(2),this.internalFileAttributes=h.readInt(2),this.externalFileAttributes=h.readInt(4),this.localHeaderOffset=h.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");h.skip(p),this.readExtraFields(h),this.parseZIP64ExtraField(h),this.fileComment=h.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var h=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),h==0&&(this.dosPermissions=63&this.externalFileAttributes),h==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var h=o(this.extraFields[1].value);this.uncompressedSize===a.MAX_VALUE_32BITS&&(this.uncompressedSize=h.readInt(8)),this.compressedSize===a.MAX_VALUE_32BITS&&(this.compressedSize=h.readInt(8)),this.localHeaderOffset===a.MAX_VALUE_32BITS&&(this.localHeaderOffset=h.readInt(8)),this.diskNumberStart===a.MAX_VALUE_32BITS&&(this.diskNumberStart=h.readInt(4))}},readExtraFields:function(h){var p,v,g,m=h.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});h.index+4<m;)p=h.readInt(2),v=h.readInt(2),g=h.readData(v),this.extraFields[p]={id:p,length:v,value:g};h.setIndex(m)},handleUTF8:function(){var h=f.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=u.utf8decode(this.fileName),this.fileCommentStr=u.utf8decode(this.fileComment);else{var p=this.findExtraFieldUnicodePath();if(p!==null)this.fileNameStr=p;else{var v=a.transformTo(h,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(v)}var g=this.findExtraFieldUnicodeComment();if(g!==null)this.fileCommentStr=g;else{var m=a.transformTo(h,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(m)}}},findExtraFieldUnicodePath:function(){var h=this.extraFields[28789];if(h){var p=o(h.value);return p.readInt(1)!==1||l(this.fileName)!==p.readInt(4)?null:u.utf8decode(p.readData(h.length-5))}return null},findExtraFieldUnicodeComment:function(){var h=this.extraFields[25461];if(h){var p=o(h.value);return p.readInt(1)!==1||l(this.fileComment)!==p.readInt(4)?null:u.utf8decode(p.readData(h.length-5))}return null}},r.exports=d},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(n,r,i){function o(p,v,g){this.name=p,this.dir=g.dir,this.date=g.date,this.comment=g.comment,this.unixPermissions=g.unixPermissions,this.dosPermissions=g.dosPermissions,this._data=v,this._dataBinary=g.binary,this.options={compression:g.compression,compressionOptions:g.compressionOptions}}var a=n("./stream/StreamHelper"),s=n("./stream/DataWorker"),l=n("./utf8"),u=n("./compressedObject"),c=n("./stream/GenericWorker");o.prototype={internalStream:function(p){var v=null,g="string";try{if(!p)throw new Error("No output type specified.");var m=(g=p.toLowerCase())==="string"||g==="text";g!=="binarystring"&&g!=="text"||(g="string"),v=this._decompressWorker();var y=!this._dataBinary;y&&!m&&(v=v.pipe(new l.Utf8EncodeWorker)),!y&&m&&(v=v.pipe(new l.Utf8DecodeWorker))}catch(R){(v=new c("error")).error(R)}return new a(v,g,"")},async:function(p,v){return this.internalStream(p).accumulate(v)},nodeStream:function(p,v){return this.internalStream(p||"nodebuffer").toNodejsStream(v)},_compressWorker:function(p,v){if(this._data instanceof u&&this._data.compression.magic===p.magic)return this._data.getCompressedWorker();var g=this._decompressWorker();return this._dataBinary||(g=g.pipe(new l.Utf8EncodeWorker)),u.createWorkerFrom(g,p,v)},_decompressWorker:function(){return this._data instanceof u?this._data.getContentWorker():this._data instanceof c?this._data:new s(this._data)}};for(var f=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],d=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},h=0;h<f.length;h++)o.prototype[f[h]]=d;r.exports=o},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(n,r,i){(function(o){var a,s,l=o.MutationObserver||o.WebKitMutationObserver;if(l){var u=0,c=new l(p),f=o.document.createTextNode("");c.observe(f,{characterData:!0}),a=function(){f.data=u=++u%2}}else if(o.setImmediate||o.MessageChannel===void 0)a="document"in o&&"onreadystatechange"in o.document.createElement("script")?function(){var v=o.document.createElement("script");v.onreadystatechange=function(){p(),v.onreadystatechange=null,v.parentNode.removeChild(v),v=null},o.document.documentElement.appendChild(v)}:function(){setTimeout(p,0)};else{var d=new o.MessageChannel;d.port1.onmessage=p,a=function(){d.port2.postMessage(0)}}var h=[];function p(){var v,g;s=!0;for(var m=h.length;m;){for(g=h,h=[],v=-1;++v<m;)g[v]();m=h.length}s=!1}r.exports=function(v){h.push(v)!==1||s||a()}}).call(this,typeof Xt<"u"?Xt:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(n,r,i){var o=n("immediate");function a(){}var s={},l=["REJECTED"],u=["FULFILLED"],c=["PENDING"];function f(m){if(typeof m!="function")throw new TypeError("resolver must be a function");this.state=c,this.queue=[],this.outcome=void 0,m!==a&&v(this,m)}function d(m,y,R){this.promise=m,typeof y=="function"&&(this.onFulfilled=y,this.callFulfilled=this.otherCallFulfilled),typeof R=="function"&&(this.onRejected=R,this.callRejected=this.otherCallRejected)}function h(m,y,R){o(function(){var A;try{A=y(R)}catch(x){return s.reject(m,x)}A===m?s.reject(m,new TypeError("Cannot resolve promise with itself")):s.resolve(m,A)})}function p(m){var y=m&&m.then;if(m&&(typeof m=="object"||typeof m=="function")&&typeof y=="function")return function(){y.apply(m,arguments)}}function v(m,y){var R=!1;function A(_){R||(R=!0,s.reject(m,_))}function x(_){R||(R=!0,s.resolve(m,_))}var S=g(function(){y(x,A)});S.status==="error"&&A(S.value)}function g(m,y){var R={};try{R.value=m(y),R.status="success"}catch(A){R.status="error",R.value=A}return R}(r.exports=f).prototype.finally=function(m){if(typeof m!="function")return this;var y=this.constructor;return this.then(function(R){return y.resolve(m()).then(function(){return R})},function(R){return y.resolve(m()).then(function(){throw R})})},f.prototype.catch=function(m){return this.then(null,m)},f.prototype.then=function(m,y){if(typeof m!="function"&&this.state===u||typeof y!="function"&&this.state===l)return this;var R=new this.constructor(a);return this.state!==c?h(R,this.state===u?m:y,this.outcome):this.queue.push(new d(R,m,y)),R},d.prototype.callFulfilled=function(m){s.resolve(this.promise,m)},d.prototype.otherCallFulfilled=function(m){h(this.promise,this.onFulfilled,m)},d.prototype.callRejected=function(m){s.reject(this.promise,m)},d.prototype.otherCallRejected=function(m){h(this.promise,this.onRejected,m)},s.resolve=function(m,y){var R=g(p,y);if(R.status==="error")return s.reject(m,R.value);var A=R.value;if(A)v(m,A);else{m.state=u,m.outcome=y;for(var x=-1,S=m.queue.length;++x<S;)m.queue[x].callFulfilled(y)}return m},s.reject=function(m,y){m.state=l,m.outcome=y;for(var R=-1,A=m.queue.length;++R<A;)m.queue[R].callRejected(y);return m},f.resolve=function(m){return m instanceof this?m:s.resolve(new this(a),m)},f.reject=function(m){var y=new this(a);return s.reject(y,m)},f.all=function(m){var y=this;if(Object.prototype.toString.call(m)!=="[object Array]")return this.reject(new TypeError("must be an array"));var R=m.length,A=!1;if(!R)return this.resolve([]);for(var x=new Array(R),S=0,_=-1,M=new this(a);++_<R;)w(m[_],_);return M;function w(L,k){y.resolve(L).then(function(P){x[k]=P,++S!==R||A||(A=!0,s.resolve(M,x))},function(P){A||(A=!0,s.reject(M,P))})}},f.race=function(m){var y=this;if(Object.prototype.toString.call(m)!=="[object Array]")return this.reject(new TypeError("must be an array"));var R=m.length,A=!1;if(!R)return this.resolve([]);for(var x=-1,S=new this(a);++x<R;)_=m[x],y.resolve(_).then(function(M){A||(A=!0,s.resolve(S,M))},function(M){A||(A=!0,s.reject(S,M))});var _;return S}},{immediate:36}],38:[function(n,r,i){var o={};(0,n("./lib/utils/common").assign)(o,n("./lib/deflate"),n("./lib/inflate"),n("./lib/zlib/constants")),r.exports=o},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(n,r,i){var o=n("./zlib/deflate"),a=n("./utils/common"),s=n("./utils/strings"),l=n("./zlib/messages"),u=n("./zlib/zstream"),c=Object.prototype.toString,f=0,d=-1,h=0,p=8;function v(m){if(!(this instanceof v))return new v(m);this.options=a.assign({level:d,method:p,chunkSize:16384,windowBits:15,memLevel:8,strategy:h,to:""},m||{});var y=this.options;y.raw&&0<y.windowBits?y.windowBits=-y.windowBits:y.gzip&&0<y.windowBits&&y.windowBits<16&&(y.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var R=o.deflateInit2(this.strm,y.level,y.method,y.windowBits,y.memLevel,y.strategy);if(R!==f)throw new Error(l[R]);if(y.header&&o.deflateSetHeader(this.strm,y.header),y.dictionary){var A;if(A=typeof y.dictionary=="string"?s.string2buf(y.dictionary):c.call(y.dictionary)==="[object ArrayBuffer]"?new Uint8Array(y.dictionary):y.dictionary,(R=o.deflateSetDictionary(this.strm,A))!==f)throw new Error(l[R]);this._dict_set=!0}}function g(m,y){var R=new v(y);if(R.push(m,!0),R.err)throw R.msg||l[R.err];return R.result}v.prototype.push=function(m,y){var R,A,x=this.strm,S=this.options.chunkSize;if(this.ended)return!1;A=y===~~y?y:y===!0?4:0,typeof m=="string"?x.input=s.string2buf(m):c.call(m)==="[object ArrayBuffer]"?x.input=new Uint8Array(m):x.input=m,x.next_in=0,x.avail_in=x.input.length;do{if(x.avail_out===0&&(x.output=new a.Buf8(S),x.next_out=0,x.avail_out=S),(R=o.deflate(x,A))!==1&&R!==f)return this.onEnd(R),!(this.ended=!0);x.avail_out!==0&&(x.avail_in!==0||A!==4&&A!==2)||(this.options.to==="string"?this.onData(s.buf2binstring(a.shrinkBuf(x.output,x.next_out))):this.onData(a.shrinkBuf(x.output,x.next_out)))}while((0<x.avail_in||x.avail_out===0)&&R!==1);return A===4?(R=o.deflateEnd(this.strm),this.onEnd(R),this.ended=!0,R===f):A!==2||(this.onEnd(f),!(x.avail_out=0))},v.prototype.onData=function(m){this.chunks.push(m)},v.prototype.onEnd=function(m){m===f&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=m,this.msg=this.strm.msg},i.Deflate=v,i.deflate=g,i.deflateRaw=function(m,y){return(y=y||{}).raw=!0,g(m,y)},i.gzip=function(m,y){return(y=y||{}).gzip=!0,g(m,y)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(n,r,i){var o=n("./zlib/inflate"),a=n("./utils/common"),s=n("./utils/strings"),l=n("./zlib/constants"),u=n("./zlib/messages"),c=n("./zlib/zstream"),f=n("./zlib/gzheader"),d=Object.prototype.toString;function h(v){if(!(this instanceof h))return new h(v);this.options=a.assign({chunkSize:16384,windowBits:0,to:""},v||{});var g=this.options;g.raw&&0<=g.windowBits&&g.windowBits<16&&(g.windowBits=-g.windowBits,g.windowBits===0&&(g.windowBits=-15)),!(0<=g.windowBits&&g.windowBits<16)||v&&v.windowBits||(g.windowBits+=32),15<g.windowBits&&g.windowBits<48&&!(15&g.windowBits)&&(g.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var m=o.inflateInit2(this.strm,g.windowBits);if(m!==l.Z_OK)throw new Error(u[m]);this.header=new f,o.inflateGetHeader(this.strm,this.header)}function p(v,g){var m=new h(g);if(m.push(v,!0),m.err)throw m.msg||u[m.err];return m.result}h.prototype.push=function(v,g){var m,y,R,A,x,S,_=this.strm,M=this.options.chunkSize,w=this.options.dictionary,L=!1;if(this.ended)return!1;y=g===~~g?g:g===!0?l.Z_FINISH:l.Z_NO_FLUSH,typeof v=="string"?_.input=s.binstring2buf(v):d.call(v)==="[object ArrayBuffer]"?_.input=new Uint8Array(v):_.input=v,_.next_in=0,_.avail_in=_.input.length;do{if(_.avail_out===0&&(_.output=new a.Buf8(M),_.next_out=0,_.avail_out=M),(m=o.inflate(_,l.Z_NO_FLUSH))===l.Z_NEED_DICT&&w&&(S=typeof w=="string"?s.string2buf(w):d.call(w)==="[object ArrayBuffer]"?new Uint8Array(w):w,m=o.inflateSetDictionary(this.strm,S)),m===l.Z_BUF_ERROR&&L===!0&&(m=l.Z_OK,L=!1),m!==l.Z_STREAM_END&&m!==l.Z_OK)return this.onEnd(m),!(this.ended=!0);_.next_out&&(_.avail_out!==0&&m!==l.Z_STREAM_END&&(_.avail_in!==0||y!==l.Z_FINISH&&y!==l.Z_SYNC_FLUSH)||(this.options.to==="string"?(R=s.utf8border(_.output,_.next_out),A=_.next_out-R,x=s.buf2string(_.output,R),_.next_out=A,_.avail_out=M-A,A&&a.arraySet(_.output,_.output,R,A,0),this.onData(x)):this.onData(a.shrinkBuf(_.output,_.next_out)))),_.avail_in===0&&_.avail_out===0&&(L=!0)}while((0<_.avail_in||_.avail_out===0)&&m!==l.Z_STREAM_END);return m===l.Z_STREAM_END&&(y=l.Z_FINISH),y===l.Z_FINISH?(m=o.inflateEnd(this.strm),this.onEnd(m),this.ended=!0,m===l.Z_OK):y!==l.Z_SYNC_FLUSH||(this.onEnd(l.Z_OK),!(_.avail_out=0))},h.prototype.onData=function(v){this.chunks.push(v)},h.prototype.onEnd=function(v){v===l.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=v,this.msg=this.strm.msg},i.Inflate=h,i.inflate=p,i.inflateRaw=function(v,g){return(g=g||{}).raw=!0,p(v,g)},i.ungzip=p},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(n,r,i){var o=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";i.assign=function(l){for(var u=Array.prototype.slice.call(arguments,1);u.length;){var c=u.shift();if(c){if(typeof c!="object")throw new TypeError(c+"must be non-object");for(var f in c)c.hasOwnProperty(f)&&(l[f]=c[f])}}return l},i.shrinkBuf=function(l,u){return l.length===u?l:l.subarray?l.subarray(0,u):(l.length=u,l)};var a={arraySet:function(l,u,c,f,d){if(u.subarray&&l.subarray)l.set(u.subarray(c,c+f),d);else for(var h=0;h<f;h++)l[d+h]=u[c+h]},flattenChunks:function(l){var u,c,f,d,h,p;for(u=f=0,c=l.length;u<c;u++)f+=l[u].length;for(p=new Uint8Array(f),u=d=0,c=l.length;u<c;u++)h=l[u],p.set(h,d),d+=h.length;return p}},s={arraySet:function(l,u,c,f,d){for(var h=0;h<f;h++)l[d+h]=u[c+h]},flattenChunks:function(l){return[].concat.apply([],l)}};i.setTyped=function(l){l?(i.Buf8=Uint8Array,i.Buf16=Uint16Array,i.Buf32=Int32Array,i.assign(i,a)):(i.Buf8=Array,i.Buf16=Array,i.Buf32=Array,i.assign(i,s))},i.setTyped(o)},{}],42:[function(n,r,i){var o=n("./common"),a=!0,s=!0;try{String.fromCharCode.apply(null,[0])}catch{a=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{s=!1}for(var l=new o.Buf8(256),u=0;u<256;u++)l[u]=252<=u?6:248<=u?5:240<=u?4:224<=u?3:192<=u?2:1;function c(f,d){if(d<65537&&(f.subarray&&s||!f.subarray&&a))return String.fromCharCode.apply(null,o.shrinkBuf(f,d));for(var h="",p=0;p<d;p++)h+=String.fromCharCode(f[p]);return h}l[254]=l[254]=1,i.string2buf=function(f){var d,h,p,v,g,m=f.length,y=0;for(v=0;v<m;v++)(64512&(h=f.charCodeAt(v)))==55296&&v+1<m&&(64512&(p=f.charCodeAt(v+1)))==56320&&(h=65536+(h-55296<<10)+(p-56320),v++),y+=h<128?1:h<2048?2:h<65536?3:4;for(d=new o.Buf8(y),v=g=0;g<y;v++)(64512&(h=f.charCodeAt(v)))==55296&&v+1<m&&(64512&(p=f.charCodeAt(v+1)))==56320&&(h=65536+(h-55296<<10)+(p-56320),v++),h<128?d[g++]=h:(h<2048?d[g++]=192|h>>>6:(h<65536?d[g++]=224|h>>>12:(d[g++]=240|h>>>18,d[g++]=128|h>>>12&63),d[g++]=128|h>>>6&63),d[g++]=128|63&h);return d},i.buf2binstring=function(f){return c(f,f.length)},i.binstring2buf=function(f){for(var d=new o.Buf8(f.length),h=0,p=d.length;h<p;h++)d[h]=f.charCodeAt(h);return d},i.buf2string=function(f,d){var h,p,v,g,m=d||f.length,y=new Array(2*m);for(h=p=0;h<m;)if((v=f[h++])<128)y[p++]=v;else if(4<(g=l[v]))y[p++]=65533,h+=g-1;else{for(v&=g===2?31:g===3?15:7;1<g&&h<m;)v=v<<6|63&f[h++],g--;1<g?y[p++]=65533:v<65536?y[p++]=v:(v-=65536,y[p++]=55296|v>>10&1023,y[p++]=56320|1023&v)}return c(y,p)},i.utf8border=function(f,d){var h;for((d=d||f.length)>f.length&&(d=f.length),h=d-1;0<=h&&(192&f[h])==128;)h--;return h<0||h===0?d:h+l[f[h]]>d?h:d}},{"./common":41}],43:[function(n,r,i){r.exports=function(o,a,s,l){for(var u=65535&o|0,c=o>>>16&65535|0,f=0;s!==0;){for(s-=f=2e3<s?2e3:s;c=c+(u=u+a[l++]|0)|0,--f;);u%=65521,c%=65521}return u|c<<16|0}},{}],44:[function(n,r,i){r.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(n,r,i){var o=function(){for(var a,s=[],l=0;l<256;l++){a=l;for(var u=0;u<8;u++)a=1&a?3988292384^a>>>1:a>>>1;s[l]=a}return s}();r.exports=function(a,s,l,u){var c=o,f=u+l;a^=-1;for(var d=u;d<f;d++)a=a>>>8^c[255&(a^s[d])];return-1^a}},{}],46:[function(n,r,i){var o,a=n("../utils/common"),s=n("./trees"),l=n("./adler32"),u=n("./crc32"),c=n("./messages"),f=0,d=4,h=0,p=-2,v=-1,g=4,m=2,y=8,R=9,A=286,x=30,S=19,_=2*A+1,M=15,w=3,L=258,k=L+w+1,P=42,F=113,C=1,N=2,I=3,V=4;function W(X,J){return X.msg=c[J],J}function Z(X){return(X<<1)-(4<X?9:0)}function re(X){for(var J=X.length;0<=--J;)X[J]=0}function Y(X){var J=X.state,se=J.pending;se>X.avail_out&&(se=X.avail_out),se!==0&&(a.arraySet(X.output,J.pending_buf,J.pending_out,se,X.next_out),X.next_out+=se,J.pending_out+=se,X.total_out+=se,X.avail_out-=se,J.pending-=se,J.pending===0&&(J.pending_out=0))}function B(X,J){s._tr_flush_block(X,0<=X.block_start?X.block_start:-1,X.strstart-X.block_start,J),X.block_start=X.strstart,Y(X.strm)}function Q(X,J){X.pending_buf[X.pending++]=J}function K(X,J){X.pending_buf[X.pending++]=J>>>8&255,X.pending_buf[X.pending++]=255&J}function q(X,J){var se,ee,ne=X.max_chain_length,oe=X.strstart,he=X.prev_length,ue=X.nice_match,ge=X.strstart>X.w_size-k?X.strstart-(X.w_size-k):0,Re=X.window,Ee=X.w_mask,Ne=X.prev,He=X.strstart+L,Ve=Re[oe+he-1],we=Re[oe+he];X.prev_length>=X.good_match&&(ne>>=2),ue>X.lookahead&&(ue=X.lookahead);do if(Re[(se=J)+he]===we&&Re[se+he-1]===Ve&&Re[se]===Re[oe]&&Re[++se]===Re[oe+1]){oe+=2,se++;do;while(Re[++oe]===Re[++se]&&Re[++oe]===Re[++se]&&Re[++oe]===Re[++se]&&Re[++oe]===Re[++se]&&Re[++oe]===Re[++se]&&Re[++oe]===Re[++se]&&Re[++oe]===Re[++se]&&Re[++oe]===Re[++se]&&oe<He);if(ee=L-(He-oe),oe=He-L,he<ee){if(X.match_start=J,ue<=(he=ee))break;Ve=Re[oe+he-1],we=Re[oe+he]}}while((J=Ne[J&Ee])>ge&&--ne!=0);return he<=X.lookahead?he:X.lookahead}function j(X){var J,se,ee,ne,oe,he,ue,ge,Re,Ee,Ne=X.w_size;do{if(ne=X.window_size-X.lookahead-X.strstart,X.strstart>=Ne+(Ne-k)){for(a.arraySet(X.window,X.window,Ne,Ne,0),X.match_start-=Ne,X.strstart-=Ne,X.block_start-=Ne,J=se=X.hash_size;ee=X.head[--J],X.head[J]=Ne<=ee?ee-Ne:0,--se;);for(J=se=Ne;ee=X.prev[--J],X.prev[J]=Ne<=ee?ee-Ne:0,--se;);ne+=Ne}if(X.strm.avail_in===0)break;if(he=X.strm,ue=X.window,ge=X.strstart+X.lookahead,Re=ne,Ee=void 0,Ee=he.avail_in,Re<Ee&&(Ee=Re),se=Ee===0?0:(he.avail_in-=Ee,a.arraySet(ue,he.input,he.next_in,Ee,ge),he.state.wrap===1?he.adler=l(he.adler,ue,Ee,ge):he.state.wrap===2&&(he.adler=u(he.adler,ue,Ee,ge)),he.next_in+=Ee,he.total_in+=Ee,Ee),X.lookahead+=se,X.lookahead+X.insert>=w)for(oe=X.strstart-X.insert,X.ins_h=X.window[oe],X.ins_h=(X.ins_h<<X.hash_shift^X.window[oe+1])&X.hash_mask;X.insert&&(X.ins_h=(X.ins_h<<X.hash_shift^X.window[oe+w-1])&X.hash_mask,X.prev[oe&X.w_mask]=X.head[X.ins_h],X.head[X.ins_h]=oe,oe++,X.insert--,!(X.lookahead+X.insert<w)););}while(X.lookahead<k&&X.strm.avail_in!==0)}function de(X,J){for(var se,ee;;){if(X.lookahead<k){if(j(X),X.lookahead<k&&J===f)return C;if(X.lookahead===0)break}if(se=0,X.lookahead>=w&&(X.ins_h=(X.ins_h<<X.hash_shift^X.window[X.strstart+w-1])&X.hash_mask,se=X.prev[X.strstart&X.w_mask]=X.head[X.ins_h],X.head[X.ins_h]=X.strstart),se!==0&&X.strstart-se<=X.w_size-k&&(X.match_length=q(X,se)),X.match_length>=w)if(ee=s._tr_tally(X,X.strstart-X.match_start,X.match_length-w),X.lookahead-=X.match_length,X.match_length<=X.max_lazy_match&&X.lookahead>=w){for(X.match_length--;X.strstart++,X.ins_h=(X.ins_h<<X.hash_shift^X.window[X.strstart+w-1])&X.hash_mask,se=X.prev[X.strstart&X.w_mask]=X.head[X.ins_h],X.head[X.ins_h]=X.strstart,--X.match_length!=0;);X.strstart++}else X.strstart+=X.match_length,X.match_length=0,X.ins_h=X.window[X.strstart],X.ins_h=(X.ins_h<<X.hash_shift^X.window[X.strstart+1])&X.hash_mask;else ee=s._tr_tally(X,0,X.window[X.strstart]),X.lookahead--,X.strstart++;if(ee&&(B(X,!1),X.strm.avail_out===0))return C}return X.insert=X.strstart<w-1?X.strstart:w-1,J===d?(B(X,!0),X.strm.avail_out===0?I:V):X.last_lit&&(B(X,!1),X.strm.avail_out===0)?C:N}function G(X,J){for(var se,ee,ne;;){if(X.lookahead<k){if(j(X),X.lookahead<k&&J===f)return C;if(X.lookahead===0)break}if(se=0,X.lookahead>=w&&(X.ins_h=(X.ins_h<<X.hash_shift^X.window[X.strstart+w-1])&X.hash_mask,se=X.prev[X.strstart&X.w_mask]=X.head[X.ins_h],X.head[X.ins_h]=X.strstart),X.prev_length=X.match_length,X.prev_match=X.match_start,X.match_length=w-1,se!==0&&X.prev_length<X.max_lazy_match&&X.strstart-se<=X.w_size-k&&(X.match_length=q(X,se),X.match_length<=5&&(X.strategy===1||X.match_length===w&&4096<X.strstart-X.match_start)&&(X.match_length=w-1)),X.prev_length>=w&&X.match_length<=X.prev_length){for(ne=X.strstart+X.lookahead-w,ee=s._tr_tally(X,X.strstart-1-X.prev_match,X.prev_length-w),X.lookahead-=X.prev_length-1,X.prev_length-=2;++X.strstart<=ne&&(X.ins_h=(X.ins_h<<X.hash_shift^X.window[X.strstart+w-1])&X.hash_mask,se=X.prev[X.strstart&X.w_mask]=X.head[X.ins_h],X.head[X.ins_h]=X.strstart),--X.prev_length!=0;);if(X.match_available=0,X.match_length=w-1,X.strstart++,ee&&(B(X,!1),X.strm.avail_out===0))return C}else if(X.match_available){if((ee=s._tr_tally(X,0,X.window[X.strstart-1]))&&B(X,!1),X.strstart++,X.lookahead--,X.strm.avail_out===0)return C}else X.match_available=1,X.strstart++,X.lookahead--}return X.match_available&&(ee=s._tr_tally(X,0,X.window[X.strstart-1]),X.match_available=0),X.insert=X.strstart<w-1?X.strstart:w-1,J===d?(B(X,!0),X.strm.avail_out===0?I:V):X.last_lit&&(B(X,!1),X.strm.avail_out===0)?C:N}function Ae(X,J,se,ee,ne){this.good_length=X,this.max_lazy=J,this.nice_length=se,this.max_chain=ee,this.func=ne}function ce(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=y,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new a.Buf16(2*_),this.dyn_dtree=new a.Buf16(2*(2*x+1)),this.bl_tree=new a.Buf16(2*(2*S+1)),re(this.dyn_ltree),re(this.dyn_dtree),re(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new a.Buf16(M+1),this.heap=new a.Buf16(2*A+1),re(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new a.Buf16(2*A+1),re(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function fe(X){var J;return X&&X.state?(X.total_in=X.total_out=0,X.data_type=m,(J=X.state).pending=0,J.pending_out=0,J.wrap<0&&(J.wrap=-J.wrap),J.status=J.wrap?P:F,X.adler=J.wrap===2?0:1,J.last_flush=f,s._tr_init(J),h):W(X,p)}function le(X){var J=fe(X);return J===h&&function(se){se.window_size=2*se.w_size,re(se.head),se.max_lazy_match=o[se.level].max_lazy,se.good_match=o[se.level].good_length,se.nice_match=o[se.level].nice_length,se.max_chain_length=o[se.level].max_chain,se.strstart=0,se.block_start=0,se.lookahead=0,se.insert=0,se.match_length=se.prev_length=w-1,se.match_available=0,se.ins_h=0}(X.state),J}function $(X,J,se,ee,ne,oe){if(!X)return p;var he=1;if(J===v&&(J=6),ee<0?(he=0,ee=-ee):15<ee&&(he=2,ee-=16),ne<1||R<ne||se!==y||ee<8||15<ee||J<0||9<J||oe<0||g<oe)return W(X,p);ee===8&&(ee=9);var ue=new ce;return(X.state=ue).strm=X,ue.wrap=he,ue.gzhead=null,ue.w_bits=ee,ue.w_size=1<<ue.w_bits,ue.w_mask=ue.w_size-1,ue.hash_bits=ne+7,ue.hash_size=1<<ue.hash_bits,ue.hash_mask=ue.hash_size-1,ue.hash_shift=~~((ue.hash_bits+w-1)/w),ue.window=new a.Buf8(2*ue.w_size),ue.head=new a.Buf16(ue.hash_size),ue.prev=new a.Buf16(ue.w_size),ue.lit_bufsize=1<<ne+6,ue.pending_buf_size=4*ue.lit_bufsize,ue.pending_buf=new a.Buf8(ue.pending_buf_size),ue.d_buf=1*ue.lit_bufsize,ue.l_buf=3*ue.lit_bufsize,ue.level=J,ue.strategy=oe,ue.method=se,le(X)}o=[new Ae(0,0,0,0,function(X,J){var se=65535;for(se>X.pending_buf_size-5&&(se=X.pending_buf_size-5);;){if(X.lookahead<=1){if(j(X),X.lookahead===0&&J===f)return C;if(X.lookahead===0)break}X.strstart+=X.lookahead,X.lookahead=0;var ee=X.block_start+se;if((X.strstart===0||X.strstart>=ee)&&(X.lookahead=X.strstart-ee,X.strstart=ee,B(X,!1),X.strm.avail_out===0)||X.strstart-X.block_start>=X.w_size-k&&(B(X,!1),X.strm.avail_out===0))return C}return X.insert=0,J===d?(B(X,!0),X.strm.avail_out===0?I:V):(X.strstart>X.block_start&&(B(X,!1),X.strm.avail_out),C)}),new Ae(4,4,8,4,de),new Ae(4,5,16,8,de),new Ae(4,6,32,32,de),new Ae(4,4,16,16,G),new Ae(8,16,32,32,G),new Ae(8,16,128,128,G),new Ae(8,32,128,256,G),new Ae(32,128,258,1024,G),new Ae(32,258,258,4096,G)],i.deflateInit=function(X,J){return $(X,J,y,15,8,0)},i.deflateInit2=$,i.deflateReset=le,i.deflateResetKeep=fe,i.deflateSetHeader=function(X,J){return X&&X.state?X.state.wrap!==2?p:(X.state.gzhead=J,h):p},i.deflate=function(X,J){var se,ee,ne,oe;if(!X||!X.state||5<J||J<0)return X?W(X,p):p;if(ee=X.state,!X.output||!X.input&&X.avail_in!==0||ee.status===666&&J!==d)return W(X,X.avail_out===0?-5:p);if(ee.strm=X,se=ee.last_flush,ee.last_flush=J,ee.status===P)if(ee.wrap===2)X.adler=0,Q(ee,31),Q(ee,139),Q(ee,8),ee.gzhead?(Q(ee,(ee.gzhead.text?1:0)+(ee.gzhead.hcrc?2:0)+(ee.gzhead.extra?4:0)+(ee.gzhead.name?8:0)+(ee.gzhead.comment?16:0)),Q(ee,255&ee.gzhead.time),Q(ee,ee.gzhead.time>>8&255),Q(ee,ee.gzhead.time>>16&255),Q(ee,ee.gzhead.time>>24&255),Q(ee,ee.level===9?2:2<=ee.strategy||ee.level<2?4:0),Q(ee,255&ee.gzhead.os),ee.gzhead.extra&&ee.gzhead.extra.length&&(Q(ee,255&ee.gzhead.extra.length),Q(ee,ee.gzhead.extra.length>>8&255)),ee.gzhead.hcrc&&(X.adler=u(X.adler,ee.pending_buf,ee.pending,0)),ee.gzindex=0,ee.status=69):(Q(ee,0),Q(ee,0),Q(ee,0),Q(ee,0),Q(ee,0),Q(ee,ee.level===9?2:2<=ee.strategy||ee.level<2?4:0),Q(ee,3),ee.status=F);else{var he=y+(ee.w_bits-8<<4)<<8;he|=(2<=ee.strategy||ee.level<2?0:ee.level<6?1:ee.level===6?2:3)<<6,ee.strstart!==0&&(he|=32),he+=31-he%31,ee.status=F,K(ee,he),ee.strstart!==0&&(K(ee,X.adler>>>16),K(ee,65535&X.adler)),X.adler=1}if(ee.status===69)if(ee.gzhead.extra){for(ne=ee.pending;ee.gzindex<(65535&ee.gzhead.extra.length)&&(ee.pending!==ee.pending_buf_size||(ee.gzhead.hcrc&&ee.pending>ne&&(X.adler=u(X.adler,ee.pending_buf,ee.pending-ne,ne)),Y(X),ne=ee.pending,ee.pending!==ee.pending_buf_size));)Q(ee,255&ee.gzhead.extra[ee.gzindex]),ee.gzindex++;ee.gzhead.hcrc&&ee.pending>ne&&(X.adler=u(X.adler,ee.pending_buf,ee.pending-ne,ne)),ee.gzindex===ee.gzhead.extra.length&&(ee.gzindex=0,ee.status=73)}else ee.status=73;if(ee.status===73)if(ee.gzhead.name){ne=ee.pending;do{if(ee.pending===ee.pending_buf_size&&(ee.gzhead.hcrc&&ee.pending>ne&&(X.adler=u(X.adler,ee.pending_buf,ee.pending-ne,ne)),Y(X),ne=ee.pending,ee.pending===ee.pending_buf_size)){oe=1;break}oe=ee.gzindex<ee.gzhead.name.length?255&ee.gzhead.name.charCodeAt(ee.gzindex++):0,Q(ee,oe)}while(oe!==0);ee.gzhead.hcrc&&ee.pending>ne&&(X.adler=u(X.adler,ee.pending_buf,ee.pending-ne,ne)),oe===0&&(ee.gzindex=0,ee.status=91)}else ee.status=91;if(ee.status===91)if(ee.gzhead.comment){ne=ee.pending;do{if(ee.pending===ee.pending_buf_size&&(ee.gzhead.hcrc&&ee.pending>ne&&(X.adler=u(X.adler,ee.pending_buf,ee.pending-ne,ne)),Y(X),ne=ee.pending,ee.pending===ee.pending_buf_size)){oe=1;break}oe=ee.gzindex<ee.gzhead.comment.length?255&ee.gzhead.comment.charCodeAt(ee.gzindex++):0,Q(ee,oe)}while(oe!==0);ee.gzhead.hcrc&&ee.pending>ne&&(X.adler=u(X.adler,ee.pending_buf,ee.pending-ne,ne)),oe===0&&(ee.status=103)}else ee.status=103;if(ee.status===103&&(ee.gzhead.hcrc?(ee.pending+2>ee.pending_buf_size&&Y(X),ee.pending+2<=ee.pending_buf_size&&(Q(ee,255&X.adler),Q(ee,X.adler>>8&255),X.adler=0,ee.status=F)):ee.status=F),ee.pending!==0){if(Y(X),X.avail_out===0)return ee.last_flush=-1,h}else if(X.avail_in===0&&Z(J)<=Z(se)&&J!==d)return W(X,-5);if(ee.status===666&&X.avail_in!==0)return W(X,-5);if(X.avail_in!==0||ee.lookahead!==0||J!==f&&ee.status!==666){var ue=ee.strategy===2?function(ge,Re){for(var Ee;;){if(ge.lookahead===0&&(j(ge),ge.lookahead===0)){if(Re===f)return C;break}if(ge.match_length=0,Ee=s._tr_tally(ge,0,ge.window[ge.strstart]),ge.lookahead--,ge.strstart++,Ee&&(B(ge,!1),ge.strm.avail_out===0))return C}return ge.insert=0,Re===d?(B(ge,!0),ge.strm.avail_out===0?I:V):ge.last_lit&&(B(ge,!1),ge.strm.avail_out===0)?C:N}(ee,J):ee.strategy===3?function(ge,Re){for(var Ee,Ne,He,Ve,we=ge.window;;){if(ge.lookahead<=L){if(j(ge),ge.lookahead<=L&&Re===f)return C;if(ge.lookahead===0)break}if(ge.match_length=0,ge.lookahead>=w&&0<ge.strstart&&(Ne=we[He=ge.strstart-1])===we[++He]&&Ne===we[++He]&&Ne===we[++He]){Ve=ge.strstart+L;do;while(Ne===we[++He]&&Ne===we[++He]&&Ne===we[++He]&&Ne===we[++He]&&Ne===we[++He]&&Ne===we[++He]&&Ne===we[++He]&&Ne===we[++He]&&He<Ve);ge.match_length=L-(Ve-He),ge.match_length>ge.lookahead&&(ge.match_length=ge.lookahead)}if(ge.match_length>=w?(Ee=s._tr_tally(ge,1,ge.match_length-w),ge.lookahead-=ge.match_length,ge.strstart+=ge.match_length,ge.match_length=0):(Ee=s._tr_tally(ge,0,ge.window[ge.strstart]),ge.lookahead--,ge.strstart++),Ee&&(B(ge,!1),ge.strm.avail_out===0))return C}return ge.insert=0,Re===d?(B(ge,!0),ge.strm.avail_out===0?I:V):ge.last_lit&&(B(ge,!1),ge.strm.avail_out===0)?C:N}(ee,J):o[ee.level].func(ee,J);if(ue!==I&&ue!==V||(ee.status=666),ue===C||ue===I)return X.avail_out===0&&(ee.last_flush=-1),h;if(ue===N&&(J===1?s._tr_align(ee):J!==5&&(s._tr_stored_block(ee,0,0,!1),J===3&&(re(ee.head),ee.lookahead===0&&(ee.strstart=0,ee.block_start=0,ee.insert=0))),Y(X),X.avail_out===0))return ee.last_flush=-1,h}return J!==d?h:ee.wrap<=0?1:(ee.wrap===2?(Q(ee,255&X.adler),Q(ee,X.adler>>8&255),Q(ee,X.adler>>16&255),Q(ee,X.adler>>24&255),Q(ee,255&X.total_in),Q(ee,X.total_in>>8&255),Q(ee,X.total_in>>16&255),Q(ee,X.total_in>>24&255)):(K(ee,X.adler>>>16),K(ee,65535&X.adler)),Y(X),0<ee.wrap&&(ee.wrap=-ee.wrap),ee.pending!==0?h:1)},i.deflateEnd=function(X){var J;return X&&X.state?(J=X.state.status)!==P&&J!==69&&J!==73&&J!==91&&J!==103&&J!==F&&J!==666?W(X,p):(X.state=null,J===F?W(X,-3):h):p},i.deflateSetDictionary=function(X,J){var se,ee,ne,oe,he,ue,ge,Re,Ee=J.length;if(!X||!X.state||(oe=(se=X.state).wrap)===2||oe===1&&se.status!==P||se.lookahead)return p;for(oe===1&&(X.adler=l(X.adler,J,Ee,0)),se.wrap=0,Ee>=se.w_size&&(oe===0&&(re(se.head),se.strstart=0,se.block_start=0,se.insert=0),Re=new a.Buf8(se.w_size),a.arraySet(Re,J,Ee-se.w_size,se.w_size,0),J=Re,Ee=se.w_size),he=X.avail_in,ue=X.next_in,ge=X.input,X.avail_in=Ee,X.next_in=0,X.input=J,j(se);se.lookahead>=w;){for(ee=se.strstart,ne=se.lookahead-(w-1);se.ins_h=(se.ins_h<<se.hash_shift^se.window[ee+w-1])&se.hash_mask,se.prev[ee&se.w_mask]=se.head[se.ins_h],se.head[se.ins_h]=ee,ee++,--ne;);se.strstart=ee,se.lookahead=w-1,j(se)}return se.strstart+=se.lookahead,se.block_start=se.strstart,se.insert=se.lookahead,se.lookahead=0,se.match_length=se.prev_length=w-1,se.match_available=0,X.next_in=ue,X.input=ge,X.avail_in=he,se.wrap=oe,h},i.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(n,r,i){r.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(n,r,i){r.exports=function(o,a){var s,l,u,c,f,d,h,p,v,g,m,y,R,A,x,S,_,M,w,L,k,P,F,C,N;s=o.state,l=o.next_in,C=o.input,u=l+(o.avail_in-5),c=o.next_out,N=o.output,f=c-(a-o.avail_out),d=c+(o.avail_out-257),h=s.dmax,p=s.wsize,v=s.whave,g=s.wnext,m=s.window,y=s.hold,R=s.bits,A=s.lencode,x=s.distcode,S=(1<<s.lenbits)-1,_=(1<<s.distbits)-1;e:do{R<15&&(y+=C[l++]<<R,R+=8,y+=C[l++]<<R,R+=8),M=A[y&S];t:for(;;){if(y>>>=w=M>>>24,R-=w,(w=M>>>16&255)===0)N[c++]=65535&M;else{if(!(16&w)){if(!(64&w)){M=A[(65535&M)+(y&(1<<w)-1)];continue t}if(32&w){s.mode=12;break e}o.msg="invalid literal/length code",s.mode=30;break e}L=65535&M,(w&=15)&&(R<w&&(y+=C[l++]<<R,R+=8),L+=y&(1<<w)-1,y>>>=w,R-=w),R<15&&(y+=C[l++]<<R,R+=8,y+=C[l++]<<R,R+=8),M=x[y&_];n:for(;;){if(y>>>=w=M>>>24,R-=w,!(16&(w=M>>>16&255))){if(!(64&w)){M=x[(65535&M)+(y&(1<<w)-1)];continue n}o.msg="invalid distance code",s.mode=30;break e}if(k=65535&M,R<(w&=15)&&(y+=C[l++]<<R,(R+=8)<w&&(y+=C[l++]<<R,R+=8)),h<(k+=y&(1<<w)-1)){o.msg="invalid distance too far back",s.mode=30;break e}if(y>>>=w,R-=w,(w=c-f)<k){if(v<(w=k-w)&&s.sane){o.msg="invalid distance too far back",s.mode=30;break e}if(F=m,(P=0)===g){if(P+=p-w,w<L){for(L-=w;N[c++]=m[P++],--w;);P=c-k,F=N}}else if(g<w){if(P+=p+g-w,(w-=g)<L){for(L-=w;N[c++]=m[P++],--w;);if(P=0,g<L){for(L-=w=g;N[c++]=m[P++],--w;);P=c-k,F=N}}}else if(P+=g-w,w<L){for(L-=w;N[c++]=m[P++],--w;);P=c-k,F=N}for(;2<L;)N[c++]=F[P++],N[c++]=F[P++],N[c++]=F[P++],L-=3;L&&(N[c++]=F[P++],1<L&&(N[c++]=F[P++]))}else{for(P=c-k;N[c++]=N[P++],N[c++]=N[P++],N[c++]=N[P++],2<(L-=3););L&&(N[c++]=N[P++],1<L&&(N[c++]=N[P++]))}break}}break}}while(l<u&&c<d);l-=L=R>>3,y&=(1<<(R-=L<<3))-1,o.next_in=l,o.next_out=c,o.avail_in=l<u?u-l+5:5-(l-u),o.avail_out=c<d?d-c+257:257-(c-d),s.hold=y,s.bits=R}},{}],49:[function(n,r,i){var o=n("../utils/common"),a=n("./adler32"),s=n("./crc32"),l=n("./inffast"),u=n("./inftrees"),c=1,f=2,d=0,h=-2,p=1,v=852,g=592;function m(P){return(P>>>24&255)+(P>>>8&65280)+((65280&P)<<8)+((255&P)<<24)}function y(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new o.Buf16(320),this.work=new o.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function R(P){var F;return P&&P.state?(F=P.state,P.total_in=P.total_out=F.total=0,P.msg="",F.wrap&&(P.adler=1&F.wrap),F.mode=p,F.last=0,F.havedict=0,F.dmax=32768,F.head=null,F.hold=0,F.bits=0,F.lencode=F.lendyn=new o.Buf32(v),F.distcode=F.distdyn=new o.Buf32(g),F.sane=1,F.back=-1,d):h}function A(P){var F;return P&&P.state?((F=P.state).wsize=0,F.whave=0,F.wnext=0,R(P)):h}function x(P,F){var C,N;return P&&P.state?(N=P.state,F<0?(C=0,F=-F):(C=1+(F>>4),F<48&&(F&=15)),F&&(F<8||15<F)?h:(N.window!==null&&N.wbits!==F&&(N.window=null),N.wrap=C,N.wbits=F,A(P))):h}function S(P,F){var C,N;return P?(N=new y,(P.state=N).window=null,(C=x(P,F))!==d&&(P.state=null),C):h}var _,M,w=!0;function L(P){if(w){var F;for(_=new o.Buf32(512),M=new o.Buf32(32),F=0;F<144;)P.lens[F++]=8;for(;F<256;)P.lens[F++]=9;for(;F<280;)P.lens[F++]=7;for(;F<288;)P.lens[F++]=8;for(u(c,P.lens,0,288,_,0,P.work,{bits:9}),F=0;F<32;)P.lens[F++]=5;u(f,P.lens,0,32,M,0,P.work,{bits:5}),w=!1}P.lencode=_,P.lenbits=9,P.distcode=M,P.distbits=5}function k(P,F,C,N){var I,V=P.state;return V.window===null&&(V.wsize=1<<V.wbits,V.wnext=0,V.whave=0,V.window=new o.Buf8(V.wsize)),N>=V.wsize?(o.arraySet(V.window,F,C-V.wsize,V.wsize,0),V.wnext=0,V.whave=V.wsize):(N<(I=V.wsize-V.wnext)&&(I=N),o.arraySet(V.window,F,C-N,I,V.wnext),(N-=I)?(o.arraySet(V.window,F,C-N,N,0),V.wnext=N,V.whave=V.wsize):(V.wnext+=I,V.wnext===V.wsize&&(V.wnext=0),V.whave<V.wsize&&(V.whave+=I))),0}i.inflateReset=A,i.inflateReset2=x,i.inflateResetKeep=R,i.inflateInit=function(P){return S(P,15)},i.inflateInit2=S,i.inflate=function(P,F){var C,N,I,V,W,Z,re,Y,B,Q,K,q,j,de,G,Ae,ce,fe,le,$,X,J,se,ee,ne=0,oe=new o.Buf8(4),he=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!P||!P.state||!P.output||!P.input&&P.avail_in!==0)return h;(C=P.state).mode===12&&(C.mode=13),W=P.next_out,I=P.output,re=P.avail_out,V=P.next_in,N=P.input,Z=P.avail_in,Y=C.hold,B=C.bits,Q=Z,K=re,J=d;e:for(;;)switch(C.mode){case p:if(C.wrap===0){C.mode=13;break}for(;B<16;){if(Z===0)break e;Z--,Y+=N[V++]<<B,B+=8}if(2&C.wrap&&Y===35615){oe[C.check=0]=255&Y,oe[1]=Y>>>8&255,C.check=s(C.check,oe,2,0),B=Y=0,C.mode=2;break}if(C.flags=0,C.head&&(C.head.done=!1),!(1&C.wrap)||(((255&Y)<<8)+(Y>>8))%31){P.msg="incorrect header check",C.mode=30;break}if((15&Y)!=8){P.msg="unknown compression method",C.mode=30;break}if(B-=4,X=8+(15&(Y>>>=4)),C.wbits===0)C.wbits=X;else if(X>C.wbits){P.msg="invalid window size",C.mode=30;break}C.dmax=1<<X,P.adler=C.check=1,C.mode=512&Y?10:12,B=Y=0;break;case 2:for(;B<16;){if(Z===0)break e;Z--,Y+=N[V++]<<B,B+=8}if(C.flags=Y,(255&C.flags)!=8){P.msg="unknown compression method",C.mode=30;break}if(57344&C.flags){P.msg="unknown header flags set",C.mode=30;break}C.head&&(C.head.text=Y>>8&1),512&C.flags&&(oe[0]=255&Y,oe[1]=Y>>>8&255,C.check=s(C.check,oe,2,0)),B=Y=0,C.mode=3;case 3:for(;B<32;){if(Z===0)break e;Z--,Y+=N[V++]<<B,B+=8}C.head&&(C.head.time=Y),512&C.flags&&(oe[0]=255&Y,oe[1]=Y>>>8&255,oe[2]=Y>>>16&255,oe[3]=Y>>>24&255,C.check=s(C.check,oe,4,0)),B=Y=0,C.mode=4;case 4:for(;B<16;){if(Z===0)break e;Z--,Y+=N[V++]<<B,B+=8}C.head&&(C.head.xflags=255&Y,C.head.os=Y>>8),512&C.flags&&(oe[0]=255&Y,oe[1]=Y>>>8&255,C.check=s(C.check,oe,2,0)),B=Y=0,C.mode=5;case 5:if(1024&C.flags){for(;B<16;){if(Z===0)break e;Z--,Y+=N[V++]<<B,B+=8}C.length=Y,C.head&&(C.head.extra_len=Y),512&C.flags&&(oe[0]=255&Y,oe[1]=Y>>>8&255,C.check=s(C.check,oe,2,0)),B=Y=0}else C.head&&(C.head.extra=null);C.mode=6;case 6:if(1024&C.flags&&(Z<(q=C.length)&&(q=Z),q&&(C.head&&(X=C.head.extra_len-C.length,C.head.extra||(C.head.extra=new Array(C.head.extra_len)),o.arraySet(C.head.extra,N,V,q,X)),512&C.flags&&(C.check=s(C.check,N,q,V)),Z-=q,V+=q,C.length-=q),C.length))break e;C.length=0,C.mode=7;case 7:if(2048&C.flags){if(Z===0)break e;for(q=0;X=N[V+q++],C.head&&X&&C.length<65536&&(C.head.name+=String.fromCharCode(X)),X&&q<Z;);if(512&C.flags&&(C.check=s(C.check,N,q,V)),Z-=q,V+=q,X)break e}else C.head&&(C.head.name=null);C.length=0,C.mode=8;case 8:if(4096&C.flags){if(Z===0)break e;for(q=0;X=N[V+q++],C.head&&X&&C.length<65536&&(C.head.comment+=String.fromCharCode(X)),X&&q<Z;);if(512&C.flags&&(C.check=s(C.check,N,q,V)),Z-=q,V+=q,X)break e}else C.head&&(C.head.comment=null);C.mode=9;case 9:if(512&C.flags){for(;B<16;){if(Z===0)break e;Z--,Y+=N[V++]<<B,B+=8}if(Y!==(65535&C.check)){P.msg="header crc mismatch",C.mode=30;break}B=Y=0}C.head&&(C.head.hcrc=C.flags>>9&1,C.head.done=!0),P.adler=C.check=0,C.mode=12;break;case 10:for(;B<32;){if(Z===0)break e;Z--,Y+=N[V++]<<B,B+=8}P.adler=C.check=m(Y),B=Y=0,C.mode=11;case 11:if(C.havedict===0)return P.next_out=W,P.avail_out=re,P.next_in=V,P.avail_in=Z,C.hold=Y,C.bits=B,2;P.adler=C.check=1,C.mode=12;case 12:if(F===5||F===6)break e;case 13:if(C.last){Y>>>=7&B,B-=7&B,C.mode=27;break}for(;B<3;){if(Z===0)break e;Z--,Y+=N[V++]<<B,B+=8}switch(C.last=1&Y,B-=1,3&(Y>>>=1)){case 0:C.mode=14;break;case 1:if(L(C),C.mode=20,F!==6)break;Y>>>=2,B-=2;break e;case 2:C.mode=17;break;case 3:P.msg="invalid block type",C.mode=30}Y>>>=2,B-=2;break;case 14:for(Y>>>=7&B,B-=7&B;B<32;){if(Z===0)break e;Z--,Y+=N[V++]<<B,B+=8}if((65535&Y)!=(Y>>>16^65535)){P.msg="invalid stored block lengths",C.mode=30;break}if(C.length=65535&Y,B=Y=0,C.mode=15,F===6)break e;case 15:C.mode=16;case 16:if(q=C.length){if(Z<q&&(q=Z),re<q&&(q=re),q===0)break e;o.arraySet(I,N,V,q,W),Z-=q,V+=q,re-=q,W+=q,C.length-=q;break}C.mode=12;break;case 17:for(;B<14;){if(Z===0)break e;Z--,Y+=N[V++]<<B,B+=8}if(C.nlen=257+(31&Y),Y>>>=5,B-=5,C.ndist=1+(31&Y),Y>>>=5,B-=5,C.ncode=4+(15&Y),Y>>>=4,B-=4,286<C.nlen||30<C.ndist){P.msg="too many length or distance symbols",C.mode=30;break}C.have=0,C.mode=18;case 18:for(;C.have<C.ncode;){for(;B<3;){if(Z===0)break e;Z--,Y+=N[V++]<<B,B+=8}C.lens[he[C.have++]]=7&Y,Y>>>=3,B-=3}for(;C.have<19;)C.lens[he[C.have++]]=0;if(C.lencode=C.lendyn,C.lenbits=7,se={bits:C.lenbits},J=u(0,C.lens,0,19,C.lencode,0,C.work,se),C.lenbits=se.bits,J){P.msg="invalid code lengths set",C.mode=30;break}C.have=0,C.mode=19;case 19:for(;C.have<C.nlen+C.ndist;){for(;Ae=(ne=C.lencode[Y&(1<<C.lenbits)-1])>>>16&255,ce=65535&ne,!((G=ne>>>24)<=B);){if(Z===0)break e;Z--,Y+=N[V++]<<B,B+=8}if(ce<16)Y>>>=G,B-=G,C.lens[C.have++]=ce;else{if(ce===16){for(ee=G+2;B<ee;){if(Z===0)break e;Z--,Y+=N[V++]<<B,B+=8}if(Y>>>=G,B-=G,C.have===0){P.msg="invalid bit length repeat",C.mode=30;break}X=C.lens[C.have-1],q=3+(3&Y),Y>>>=2,B-=2}else if(ce===17){for(ee=G+3;B<ee;){if(Z===0)break e;Z--,Y+=N[V++]<<B,B+=8}B-=G,X=0,q=3+(7&(Y>>>=G)),Y>>>=3,B-=3}else{for(ee=G+7;B<ee;){if(Z===0)break e;Z--,Y+=N[V++]<<B,B+=8}B-=G,X=0,q=11+(127&(Y>>>=G)),Y>>>=7,B-=7}if(C.have+q>C.nlen+C.ndist){P.msg="invalid bit length repeat",C.mode=30;break}for(;q--;)C.lens[C.have++]=X}}if(C.mode===30)break;if(C.lens[256]===0){P.msg="invalid code -- missing end-of-block",C.mode=30;break}if(C.lenbits=9,se={bits:C.lenbits},J=u(c,C.lens,0,C.nlen,C.lencode,0,C.work,se),C.lenbits=se.bits,J){P.msg="invalid literal/lengths set",C.mode=30;break}if(C.distbits=6,C.distcode=C.distdyn,se={bits:C.distbits},J=u(f,C.lens,C.nlen,C.ndist,C.distcode,0,C.work,se),C.distbits=se.bits,J){P.msg="invalid distances set",C.mode=30;break}if(C.mode=20,F===6)break e;case 20:C.mode=21;case 21:if(6<=Z&&258<=re){P.next_out=W,P.avail_out=re,P.next_in=V,P.avail_in=Z,C.hold=Y,C.bits=B,l(P,K),W=P.next_out,I=P.output,re=P.avail_out,V=P.next_in,N=P.input,Z=P.avail_in,Y=C.hold,B=C.bits,C.mode===12&&(C.back=-1);break}for(C.back=0;Ae=(ne=C.lencode[Y&(1<<C.lenbits)-1])>>>16&255,ce=65535&ne,!((G=ne>>>24)<=B);){if(Z===0)break e;Z--,Y+=N[V++]<<B,B+=8}if(Ae&&!(240&Ae)){for(fe=G,le=Ae,$=ce;Ae=(ne=C.lencode[$+((Y&(1<<fe+le)-1)>>fe)])>>>16&255,ce=65535&ne,!(fe+(G=ne>>>24)<=B);){if(Z===0)break e;Z--,Y+=N[V++]<<B,B+=8}Y>>>=fe,B-=fe,C.back+=fe}if(Y>>>=G,B-=G,C.back+=G,C.length=ce,Ae===0){C.mode=26;break}if(32&Ae){C.back=-1,C.mode=12;break}if(64&Ae){P.msg="invalid literal/length code",C.mode=30;break}C.extra=15&Ae,C.mode=22;case 22:if(C.extra){for(ee=C.extra;B<ee;){if(Z===0)break e;Z--,Y+=N[V++]<<B,B+=8}C.length+=Y&(1<<C.extra)-1,Y>>>=C.extra,B-=C.extra,C.back+=C.extra}C.was=C.length,C.mode=23;case 23:for(;Ae=(ne=C.distcode[Y&(1<<C.distbits)-1])>>>16&255,ce=65535&ne,!((G=ne>>>24)<=B);){if(Z===0)break e;Z--,Y+=N[V++]<<B,B+=8}if(!(240&Ae)){for(fe=G,le=Ae,$=ce;Ae=(ne=C.distcode[$+((Y&(1<<fe+le)-1)>>fe)])>>>16&255,ce=65535&ne,!(fe+(G=ne>>>24)<=B);){if(Z===0)break e;Z--,Y+=N[V++]<<B,B+=8}Y>>>=fe,B-=fe,C.back+=fe}if(Y>>>=G,B-=G,C.back+=G,64&Ae){P.msg="invalid distance code",C.mode=30;break}C.offset=ce,C.extra=15&Ae,C.mode=24;case 24:if(C.extra){for(ee=C.extra;B<ee;){if(Z===0)break e;Z--,Y+=N[V++]<<B,B+=8}C.offset+=Y&(1<<C.extra)-1,Y>>>=C.extra,B-=C.extra,C.back+=C.extra}if(C.offset>C.dmax){P.msg="invalid distance too far back",C.mode=30;break}C.mode=25;case 25:if(re===0)break e;if(q=K-re,C.offset>q){if((q=C.offset-q)>C.whave&&C.sane){P.msg="invalid distance too far back",C.mode=30;break}j=q>C.wnext?(q-=C.wnext,C.wsize-q):C.wnext-q,q>C.length&&(q=C.length),de=C.window}else de=I,j=W-C.offset,q=C.length;for(re<q&&(q=re),re-=q,C.length-=q;I[W++]=de[j++],--q;);C.length===0&&(C.mode=21);break;case 26:if(re===0)break e;I[W++]=C.length,re--,C.mode=21;break;case 27:if(C.wrap){for(;B<32;){if(Z===0)break e;Z--,Y|=N[V++]<<B,B+=8}if(K-=re,P.total_out+=K,C.total+=K,K&&(P.adler=C.check=C.flags?s(C.check,I,K,W-K):a(C.check,I,K,W-K)),K=re,(C.flags?Y:m(Y))!==C.check){P.msg="incorrect data check",C.mode=30;break}B=Y=0}C.mode=28;case 28:if(C.wrap&&C.flags){for(;B<32;){if(Z===0)break e;Z--,Y+=N[V++]<<B,B+=8}if(Y!==(4294967295&C.total)){P.msg="incorrect length check",C.mode=30;break}B=Y=0}C.mode=29;case 29:J=1;break e;case 30:J=-3;break e;case 31:return-4;case 32:default:return h}return P.next_out=W,P.avail_out=re,P.next_in=V,P.avail_in=Z,C.hold=Y,C.bits=B,(C.wsize||K!==P.avail_out&&C.mode<30&&(C.mode<27||F!==4))&&k(P,P.output,P.next_out,K-P.avail_out)?(C.mode=31,-4):(Q-=P.avail_in,K-=P.avail_out,P.total_in+=Q,P.total_out+=K,C.total+=K,C.wrap&&K&&(P.adler=C.check=C.flags?s(C.check,I,K,P.next_out-K):a(C.check,I,K,P.next_out-K)),P.data_type=C.bits+(C.last?64:0)+(C.mode===12?128:0)+(C.mode===20||C.mode===15?256:0),(Q==0&&K===0||F===4)&&J===d&&(J=-5),J)},i.inflateEnd=function(P){if(!P||!P.state)return h;var F=P.state;return F.window&&(F.window=null),P.state=null,d},i.inflateGetHeader=function(P,F){var C;return P&&P.state&&2&(C=P.state).wrap?((C.head=F).done=!1,d):h},i.inflateSetDictionary=function(P,F){var C,N=F.length;return P&&P.state?(C=P.state).wrap!==0&&C.mode!==11?h:C.mode===11&&a(1,F,N,0)!==C.check?-3:k(P,F,N,N)?(C.mode=31,-4):(C.havedict=1,d):h},i.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(n,r,i){var o=n("../utils/common"),a=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],s=[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],l=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],u=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];r.exports=function(c,f,d,h,p,v,g,m){var y,R,A,x,S,_,M,w,L,k=m.bits,P=0,F=0,C=0,N=0,I=0,V=0,W=0,Z=0,re=0,Y=0,B=null,Q=0,K=new o.Buf16(16),q=new o.Buf16(16),j=null,de=0;for(P=0;P<=15;P++)K[P]=0;for(F=0;F<h;F++)K[f[d+F]]++;for(I=k,N=15;1<=N&&K[N]===0;N--);if(N<I&&(I=N),N===0)return p[v++]=20971520,p[v++]=20971520,m.bits=1,0;for(C=1;C<N&&K[C]===0;C++);for(I<C&&(I=C),P=Z=1;P<=15;P++)if(Z<<=1,(Z-=K[P])<0)return-1;if(0<Z&&(c===0||N!==1))return-1;for(q[1]=0,P=1;P<15;P++)q[P+1]=q[P]+K[P];for(F=0;F<h;F++)f[d+F]!==0&&(g[q[f[d+F]]++]=F);if(_=c===0?(B=j=g,19):c===1?(B=a,Q-=257,j=s,de-=257,256):(B=l,j=u,-1),P=C,S=v,W=F=Y=0,A=-1,x=(re=1<<(V=I))-1,c===1&&852<re||c===2&&592<re)return 1;for(;;){for(M=P-W,L=g[F]<_?(w=0,g[F]):g[F]>_?(w=j[de+g[F]],B[Q+g[F]]):(w=96,0),y=1<<P-W,C=R=1<<V;p[S+(Y>>W)+(R-=y)]=M<<24|w<<16|L|0,R!==0;);for(y=1<<P-1;Y&y;)y>>=1;if(y!==0?(Y&=y-1,Y+=y):Y=0,F++,--K[P]==0){if(P===N)break;P=f[d+g[F]]}if(I<P&&(Y&x)!==A){for(W===0&&(W=I),S+=C,Z=1<<(V=P-W);V+W<N&&!((Z-=K[V+W])<=0);)V++,Z<<=1;if(re+=1<<V,c===1&&852<re||c===2&&592<re)return 1;p[A=Y&x]=I<<24|V<<16|S-v|0}}return Y!==0&&(p[S+Y]=P-W<<24|64<<16|0),m.bits=I,0}},{"../utils/common":41}],51:[function(n,r,i){r.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(n,r,i){var o=n("../utils/common"),a=0,s=1;function l(ne){for(var oe=ne.length;0<=--oe;)ne[oe]=0}var u=0,c=29,f=256,d=f+1+c,h=30,p=19,v=2*d+1,g=15,m=16,y=7,R=256,A=16,x=17,S=18,_=[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],M=[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],w=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],L=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],k=new Array(2*(d+2));l(k);var P=new Array(2*h);l(P);var F=new Array(512);l(F);var C=new Array(256);l(C);var N=new Array(c);l(N);var I,V,W,Z=new Array(h);function re(ne,oe,he,ue,ge){this.static_tree=ne,this.extra_bits=oe,this.extra_base=he,this.elems=ue,this.max_length=ge,this.has_stree=ne&&ne.length}function Y(ne,oe){this.dyn_tree=ne,this.max_code=0,this.stat_desc=oe}function B(ne){return ne<256?F[ne]:F[256+(ne>>>7)]}function Q(ne,oe){ne.pending_buf[ne.pending++]=255&oe,ne.pending_buf[ne.pending++]=oe>>>8&255}function K(ne,oe,he){ne.bi_valid>m-he?(ne.bi_buf|=oe<<ne.bi_valid&65535,Q(ne,ne.bi_buf),ne.bi_buf=oe>>m-ne.bi_valid,ne.bi_valid+=he-m):(ne.bi_buf|=oe<<ne.bi_valid&65535,ne.bi_valid+=he)}function q(ne,oe,he){K(ne,he[2*oe],he[2*oe+1])}function j(ne,oe){for(var he=0;he|=1&ne,ne>>>=1,he<<=1,0<--oe;);return he>>>1}function de(ne,oe,he){var ue,ge,Re=new Array(g+1),Ee=0;for(ue=1;ue<=g;ue++)Re[ue]=Ee=Ee+he[ue-1]<<1;for(ge=0;ge<=oe;ge++){var Ne=ne[2*ge+1];Ne!==0&&(ne[2*ge]=j(Re[Ne]++,Ne))}}function G(ne){var oe;for(oe=0;oe<d;oe++)ne.dyn_ltree[2*oe]=0;for(oe=0;oe<h;oe++)ne.dyn_dtree[2*oe]=0;for(oe=0;oe<p;oe++)ne.bl_tree[2*oe]=0;ne.dyn_ltree[2*R]=1,ne.opt_len=ne.static_len=0,ne.last_lit=ne.matches=0}function Ae(ne){8<ne.bi_valid?Q(ne,ne.bi_buf):0<ne.bi_valid&&(ne.pending_buf[ne.pending++]=ne.bi_buf),ne.bi_buf=0,ne.bi_valid=0}function ce(ne,oe,he,ue){var ge=2*oe,Re=2*he;return ne[ge]<ne[Re]||ne[ge]===ne[Re]&&ue[oe]<=ue[he]}function fe(ne,oe,he){for(var ue=ne.heap[he],ge=he<<1;ge<=ne.heap_len&&(ge<ne.heap_len&&ce(oe,ne.heap[ge+1],ne.heap[ge],ne.depth)&&ge++,!ce(oe,ue,ne.heap[ge],ne.depth));)ne.heap[he]=ne.heap[ge],he=ge,ge<<=1;ne.heap[he]=ue}function le(ne,oe,he){var ue,ge,Re,Ee,Ne=0;if(ne.last_lit!==0)for(;ue=ne.pending_buf[ne.d_buf+2*Ne]<<8|ne.pending_buf[ne.d_buf+2*Ne+1],ge=ne.pending_buf[ne.l_buf+Ne],Ne++,ue===0?q(ne,ge,oe):(q(ne,(Re=C[ge])+f+1,oe),(Ee=_[Re])!==0&&K(ne,ge-=N[Re],Ee),q(ne,Re=B(--ue),he),(Ee=M[Re])!==0&&K(ne,ue-=Z[Re],Ee)),Ne<ne.last_lit;);q(ne,R,oe)}function $(ne,oe){var he,ue,ge,Re=oe.dyn_tree,Ee=oe.stat_desc.static_tree,Ne=oe.stat_desc.has_stree,He=oe.stat_desc.elems,Ve=-1;for(ne.heap_len=0,ne.heap_max=v,he=0;he<He;he++)Re[2*he]!==0?(ne.heap[++ne.heap_len]=Ve=he,ne.depth[he]=0):Re[2*he+1]=0;for(;ne.heap_len<2;)Re[2*(ge=ne.heap[++ne.heap_len]=Ve<2?++Ve:0)]=1,ne.depth[ge]=0,ne.opt_len--,Ne&&(ne.static_len-=Ee[2*ge+1]);for(oe.max_code=Ve,he=ne.heap_len>>1;1<=he;he--)fe(ne,Re,he);for(ge=He;he=ne.heap[1],ne.heap[1]=ne.heap[ne.heap_len--],fe(ne,Re,1),ue=ne.heap[1],ne.heap[--ne.heap_max]=he,ne.heap[--ne.heap_max]=ue,Re[2*ge]=Re[2*he]+Re[2*ue],ne.depth[ge]=(ne.depth[he]>=ne.depth[ue]?ne.depth[he]:ne.depth[ue])+1,Re[2*he+1]=Re[2*ue+1]=ge,ne.heap[1]=ge++,fe(ne,Re,1),2<=ne.heap_len;);ne.heap[--ne.heap_max]=ne.heap[1],function(we,me){var Me,Ce,Qe,ot,ke,je,tt=me.dyn_tree,Rt=me.max_code,dt=me.stat_desc.static_tree,vt=me.stat_desc.has_stree,wt=me.stat_desc.extra_bits,Dt=me.stat_desc.extra_base,Jt=me.stat_desc.max_length,Zn=0;for(ot=0;ot<=g;ot++)we.bl_count[ot]=0;for(tt[2*we.heap[we.heap_max]+1]=0,Me=we.heap_max+1;Me<v;Me++)Jt<(ot=tt[2*tt[2*(Ce=we.heap[Me])+1]+1]+1)&&(ot=Jt,Zn++),tt[2*Ce+1]=ot,Rt<Ce||(we.bl_count[ot]++,ke=0,Dt<=Ce&&(ke=wt[Ce-Dt]),je=tt[2*Ce],we.opt_len+=je*(ot+ke),vt&&(we.static_len+=je*(dt[2*Ce+1]+ke)));if(Zn!==0){do{for(ot=Jt-1;we.bl_count[ot]===0;)ot--;we.bl_count[ot]--,we.bl_count[ot+1]+=2,we.bl_count[Jt]--,Zn-=2}while(0<Zn);for(ot=Jt;ot!==0;ot--)for(Ce=we.bl_count[ot];Ce!==0;)Rt<(Qe=we.heap[--Me])||(tt[2*Qe+1]!==ot&&(we.opt_len+=(ot-tt[2*Qe+1])*tt[2*Qe],tt[2*Qe+1]=ot),Ce--)}}(ne,oe),de(Re,Ve,ne.bl_count)}function X(ne,oe,he){var ue,ge,Re=-1,Ee=oe[1],Ne=0,He=7,Ve=4;for(Ee===0&&(He=138,Ve=3),oe[2*(he+1)+1]=65535,ue=0;ue<=he;ue++)ge=Ee,Ee=oe[2*(ue+1)+1],++Ne<He&&ge===Ee||(Ne<Ve?ne.bl_tree[2*ge]+=Ne:ge!==0?(ge!==Re&&ne.bl_tree[2*ge]++,ne.bl_tree[2*A]++):Ne<=10?ne.bl_tree[2*x]++:ne.bl_tree[2*S]++,Re=ge,Ve=(Ne=0)===Ee?(He=138,3):ge===Ee?(He=6,3):(He=7,4))}function J(ne,oe,he){var ue,ge,Re=-1,Ee=oe[1],Ne=0,He=7,Ve=4;for(Ee===0&&(He=138,Ve=3),ue=0;ue<=he;ue++)if(ge=Ee,Ee=oe[2*(ue+1)+1],!(++Ne<He&&ge===Ee)){if(Ne<Ve)for(;q(ne,ge,ne.bl_tree),--Ne!=0;);else ge!==0?(ge!==Re&&(q(ne,ge,ne.bl_tree),Ne--),q(ne,A,ne.bl_tree),K(ne,Ne-3,2)):Ne<=10?(q(ne,x,ne.bl_tree),K(ne,Ne-3,3)):(q(ne,S,ne.bl_tree),K(ne,Ne-11,7));Re=ge,Ve=(Ne=0)===Ee?(He=138,3):ge===Ee?(He=6,3):(He=7,4)}}l(Z);var se=!1;function ee(ne,oe,he,ue){K(ne,(u<<1)+(ue?1:0),3),function(ge,Re,Ee,Ne){Ae(ge),Q(ge,Ee),Q(ge,~Ee),o.arraySet(ge.pending_buf,ge.window,Re,Ee,ge.pending),ge.pending+=Ee}(ne,oe,he)}i._tr_init=function(ne){se||(function(){var oe,he,ue,ge,Re,Ee=new Array(g+1);for(ge=ue=0;ge<c-1;ge++)for(N[ge]=ue,oe=0;oe<1<<_[ge];oe++)C[ue++]=ge;for(C[ue-1]=ge,ge=Re=0;ge<16;ge++)for(Z[ge]=Re,oe=0;oe<1<<M[ge];oe++)F[Re++]=ge;for(Re>>=7;ge<h;ge++)for(Z[ge]=Re<<7,oe=0;oe<1<<M[ge]-7;oe++)F[256+Re++]=ge;for(he=0;he<=g;he++)Ee[he]=0;for(oe=0;oe<=143;)k[2*oe+1]=8,oe++,Ee[8]++;for(;oe<=255;)k[2*oe+1]=9,oe++,Ee[9]++;for(;oe<=279;)k[2*oe+1]=7,oe++,Ee[7]++;for(;oe<=287;)k[2*oe+1]=8,oe++,Ee[8]++;for(de(k,d+1,Ee),oe=0;oe<h;oe++)P[2*oe+1]=5,P[2*oe]=j(oe,5);I=new re(k,_,f+1,d,g),V=new re(P,M,0,h,g),W=new re(new Array(0),w,0,p,y)}(),se=!0),ne.l_desc=new Y(ne.dyn_ltree,I),ne.d_desc=new Y(ne.dyn_dtree,V),ne.bl_desc=new Y(ne.bl_tree,W),ne.bi_buf=0,ne.bi_valid=0,G(ne)},i._tr_stored_block=ee,i._tr_flush_block=function(ne,oe,he,ue){var ge,Re,Ee=0;0<ne.level?(ne.strm.data_type===2&&(ne.strm.data_type=function(Ne){var He,Ve=4093624447;for(He=0;He<=31;He++,Ve>>>=1)if(1&Ve&&Ne.dyn_ltree[2*He]!==0)return a;if(Ne.dyn_ltree[18]!==0||Ne.dyn_ltree[20]!==0||Ne.dyn_ltree[26]!==0)return s;for(He=32;He<f;He++)if(Ne.dyn_ltree[2*He]!==0)return s;return a}(ne)),$(ne,ne.l_desc),$(ne,ne.d_desc),Ee=function(Ne){var He;for(X(Ne,Ne.dyn_ltree,Ne.l_desc.max_code),X(Ne,Ne.dyn_dtree,Ne.d_desc.max_code),$(Ne,Ne.bl_desc),He=p-1;3<=He&&Ne.bl_tree[2*L[He]+1]===0;He--);return Ne.opt_len+=3*(He+1)+5+5+4,He}(ne),ge=ne.opt_len+3+7>>>3,(Re=ne.static_len+3+7>>>3)<=ge&&(ge=Re)):ge=Re=he+5,he+4<=ge&&oe!==-1?ee(ne,oe,he,ue):ne.strategy===4||Re===ge?(K(ne,2+(ue?1:0),3),le(ne,k,P)):(K(ne,4+(ue?1:0),3),function(Ne,He,Ve,we){var me;for(K(Ne,He-257,5),K(Ne,Ve-1,5),K(Ne,we-4,4),me=0;me<we;me++)K(Ne,Ne.bl_tree[2*L[me]+1],3);J(Ne,Ne.dyn_ltree,He-1),J(Ne,Ne.dyn_dtree,Ve-1)}(ne,ne.l_desc.max_code+1,ne.d_desc.max_code+1,Ee+1),le(ne,ne.dyn_ltree,ne.dyn_dtree)),G(ne),ue&&Ae(ne)},i._tr_tally=function(ne,oe,he){return ne.pending_buf[ne.d_buf+2*ne.last_lit]=oe>>>8&255,ne.pending_buf[ne.d_buf+2*ne.last_lit+1]=255&oe,ne.pending_buf[ne.l_buf+ne.last_lit]=255&he,ne.last_lit++,oe===0?ne.dyn_ltree[2*he]++:(ne.matches++,oe--,ne.dyn_ltree[2*(C[he]+f+1)]++,ne.dyn_dtree[2*B(oe)]++),ne.last_lit===ne.lit_bufsize-1},i._tr_align=function(ne){K(ne,2,3),q(ne,R,k),function(oe){oe.bi_valid===16?(Q(oe,oe.bi_buf),oe.bi_buf=0,oe.bi_valid=0):8<=oe.bi_valid&&(oe.pending_buf[oe.pending++]=255&oe.bi_buf,oe.bi_buf>>=8,oe.bi_valid-=8)}(ne)}},{"../utils/common":41}],53:[function(n,r,i){r.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(n,r,i){(function(o){(function(a,s){if(!a.setImmediate){var l,u,c,f,d=1,h={},p=!1,v=a.document,g=Object.getPrototypeOf&&Object.getPrototypeOf(a);g=g&&g.setTimeout?g:a,l={}.toString.call(a.process)==="[object process]"?function(A){process.nextTick(function(){y(A)})}:function(){if(a.postMessage&&!a.importScripts){var A=!0,x=a.onmessage;return a.onmessage=function(){A=!1},a.postMessage("","*"),a.onmessage=x,A}}()?(f="setImmediate$"+Math.random()+"$",a.addEventListener?a.addEventListener("message",R,!1):a.attachEvent("onmessage",R),function(A){a.postMessage(f+A,"*")}):a.MessageChannel?((c=new MessageChannel).port1.onmessage=function(A){y(A.data)},function(A){c.port2.postMessage(A)}):v&&"onreadystatechange"in v.createElement("script")?(u=v.documentElement,function(A){var x=v.createElement("script");x.onreadystatechange=function(){y(A),x.onreadystatechange=null,u.removeChild(x),x=null},u.appendChild(x)}):function(A){setTimeout(y,0,A)},g.setImmediate=function(A){typeof A!="function"&&(A=new Function(""+A));for(var x=new Array(arguments.length-1),S=0;S<x.length;S++)x[S]=arguments[S+1];var _={callback:A,args:x};return h[d]=_,l(d),d++},g.clearImmediate=m}function m(A){delete h[A]}function y(A){if(p)setTimeout(y,0,A);else{var x=h[A];if(x){p=!0;try{(function(S){var _=S.callback,M=S.args;switch(M.length){case 0:_();break;case 1:_(M[0]);break;case 2:_(M[0],M[1]);break;case 3:_(M[0],M[1],M[2]);break;default:_.apply(s,M)}})(x)}finally{m(A),p=!1}}}}function R(A){A.source===a&&typeof A.data=="string"&&A.data.indexOf(f)===0&&y(+A.data.slice(f.length))}})(typeof self>"u"?o===void 0?this:o:self)}).call(this,typeof Xt<"u"?Xt:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(Rte);var MKe=Rte.exports;const bte=HS(MKe);var ni=function(){return ni=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},ni.apply(this,arguments)};function Vl(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function s(c){try{u(r.next(c))}catch(f){a(f)}}function l(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?o(c.value):i(c.value).then(s,l)}u((r=r.apply(e,[])).next())})}function Dl(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(u){return function(c){return l([u,c])}}function l(u){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(n=0)),n;)try{if(r=1,i&&(o=u[0]&2?i.return:u[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;switch(i=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,i=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1],o=u;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(u);break}o[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(c){u=[6,c],i=0}finally{r=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function Vb(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r<i;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}var $t=914400,by=12700,Pi=`\r
|
||
`,LKe=2147483649,y8=/^[0-9a-fA-F]{6}$/,TKe=1.67,_Ke=27,ap={type:"solid",color:"666666",pt:1},xte=[.05,.1,.05,.1],sp={type:"solid",color:"363636",pt:1},Rh={color:"888888",style:"solid",size:1,cap:"flat"},ea="000000",Rs=12,OKe=18,lp="LAYOUT_16x9",N_="DEFAULT",Ste="333333",eh={type:"outer",blur:3,offset:23e3/12700,angle:90,color:"000000",opacity:.35,rotateWithShape:!0},T2=[.5,.5,.5,.5],pB={type:"outer",blur:8,offset:4,angle:270,color:"000000",opacity:.75},kKe={size:8,color:"FFFFFF",opacity:.75},Ku="2094734552",Db="2094734553",Wg="2094734554",F_="2094734555",wte="2094734556",tg="ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""),Vg=["C0504D","4F81BD","9BBB59","8064A2","4BACC6","F79646","628FC6","C86360","C0504D","4F81BD","9BBB59","8064A2","4BACC6","F79646","628FC6","C86360"],PKe=["5DA5DA","FAA43A","60BD68","F17CB0","B2912F","B276B2","DECF3F","F15854","A7A7A7","5DA5DA","FAA43A","60BD68","F17CB0","B2912F","B276B2","DECF3F","F15854","A7A7A7"],Xp;(function(e){e.left="left",e.center="center",e.right="right",e.justify="justify"})(Xp||(Xp={}));var Wp;(function(e){e.b="b",e.ctr="ctr",e.t="t"})(Wp||(Wp={}));var Mte="{F7021451-1387-4CA6-816F-3879F97B5CBC}",E_;(function(e){e.arraybuffer="arraybuffer",e.base64="base64",e.binarystring="binarystring",e.blob="blob",e.nodebuffer="nodebuffer",e.uint8array="uint8array"})(E_||(E_={}));var X_;(function(e){e.area="area",e.bar="bar",e.bar3d="bar3D",e.bubble="bubble",e.bubble3d="bubble3D",e.doughnut="doughnut",e.line="line",e.pie="pie",e.radar="radar",e.scatter="scatter"})(X_||(X_={}));var W_;(function(e){e.accentBorderCallout1="accentBorderCallout1",e.accentBorderCallout2="accentBorderCallout2",e.accentBorderCallout3="accentBorderCallout3",e.accentCallout1="accentCallout1",e.accentCallout2="accentCallout2",e.accentCallout3="accentCallout3",e.actionButtonBackPrevious="actionButtonBackPrevious",e.actionButtonBeginning="actionButtonBeginning",e.actionButtonBlank="actionButtonBlank",e.actionButtonDocument="actionButtonDocument",e.actionButtonEnd="actionButtonEnd",e.actionButtonForwardNext="actionButtonForwardNext",e.actionButtonHelp="actionButtonHelp",e.actionButtonHome="actionButtonHome",e.actionButtonInformation="actionButtonInformation",e.actionButtonMovie="actionButtonMovie",e.actionButtonReturn="actionButtonReturn",e.actionButtonSound="actionButtonSound",e.arc="arc",e.bentArrow="bentArrow",e.bentUpArrow="bentUpArrow",e.bevel="bevel",e.blockArc="blockArc",e.borderCallout1="borderCallout1",e.borderCallout2="borderCallout2",e.borderCallout3="borderCallout3",e.bracePair="bracePair",e.bracketPair="bracketPair",e.callout1="callout1",e.callout2="callout2",e.callout3="callout3",e.can="can",e.chartPlus="chartPlus",e.chartStar="chartStar",e.chartX="chartX",e.chevron="chevron",e.chord="chord",e.circularArrow="circularArrow",e.cloud="cloud",e.cloudCallout="cloudCallout",e.corner="corner",e.cornerTabs="cornerTabs",e.cube="cube",e.curvedDownArrow="curvedDownArrow",e.curvedLeftArrow="curvedLeftArrow",e.curvedRightArrow="curvedRightArrow",e.curvedUpArrow="curvedUpArrow",e.custGeom="custGeom",e.decagon="decagon",e.diagStripe="diagStripe",e.diamond="diamond",e.dodecagon="dodecagon",e.donut="donut",e.doubleWave="doubleWave",e.downArrow="downArrow",e.downArrowCallout="downArrowCallout",e.ellipse="ellipse",e.ellipseRibbon="ellipseRibbon",e.ellipseRibbon2="ellipseRibbon2",e.flowChartAlternateProcess="flowChartAlternateProcess",e.flowChartCollate="flowChartCollate",e.flowChartConnector="flowChartConnector",e.flowChartDecision="flowChartDecision",e.flowChartDelay="flowChartDelay",e.flowChartDisplay="flowChartDisplay",e.flowChartDocument="flowChartDocument",e.flowChartExtract="flowChartExtract",e.flowChartInputOutput="flowChartInputOutput",e.flowChartInternalStorage="flowChartInternalStorage",e.flowChartMagneticDisk="flowChartMagneticDisk",e.flowChartMagneticDrum="flowChartMagneticDrum",e.flowChartMagneticTape="flowChartMagneticTape",e.flowChartManualInput="flowChartManualInput",e.flowChartManualOperation="flowChartManualOperation",e.flowChartMerge="flowChartMerge",e.flowChartMultidocument="flowChartMultidocument",e.flowChartOfflineStorage="flowChartOfflineStorage",e.flowChartOffpageConnector="flowChartOffpageConnector",e.flowChartOnlineStorage="flowChartOnlineStorage",e.flowChartOr="flowChartOr",e.flowChartPredefinedProcess="flowChartPredefinedProcess",e.flowChartPreparation="flowChartPreparation",e.flowChartProcess="flowChartProcess",e.flowChartPunchedCard="flowChartPunchedCard",e.flowChartPunchedTape="flowChartPunchedTape",e.flowChartSort="flowChartSort",e.flowChartSummingJunction="flowChartSummingJunction",e.flowChartTerminator="flowChartTerminator",e.folderCorner="folderCorner",e.frame="frame",e.funnel="funnel",e.gear6="gear6",e.gear9="gear9",e.halfFrame="halfFrame",e.heart="heart",e.heptagon="heptagon",e.hexagon="hexagon",e.homePlate="homePlate",e.horizontalScroll="horizontalScroll",e.irregularSeal1="irregularSeal1",e.irregularSeal2="irregularSeal2",e.leftArrow="leftArrow",e.leftArrowCallout="leftArrowCallout",e.leftBrace="leftBrace",e.leftBracket="leftBracket",e.leftCircularArrow="leftCircularArrow",e.leftRightArrow="leftRightArrow",e.leftRightArrowCallout="leftRightArrowCallout",e.leftRightCircularArrow="leftRightCircularArrow",e.leftRightRibbon="leftRightRibbon",e.leftRightUpArrow="leftRightUpArrow",e.leftUpArrow="leftUpArrow",e.lightningBolt="lightningBolt",e.line="line",e.lineInv="lineInv",e.mathDivide="mathDivide",e.mathEqual="mathEqual",e.mathMinus="mathMinus",e.mathMultiply="mathMultiply",e.mathNotEqual="mathNotEqual",e.mathPlus="mathPlus",e.moon="moon",e.noSmoking="noSmoking",e.nonIsoscelesTrapezoid="nonIsoscelesTrapezoid",e.notchedRightArrow="notchedRightArrow",e.octagon="octagon",e.parallelogram="parallelogram",e.pentagon="pentagon",e.pie="pie",e.pieWedge="pieWedge",e.plaque="plaque",e.plaqueTabs="plaqueTabs",e.plus="plus",e.quadArrow="quadArrow",e.quadArrowCallout="quadArrowCallout",e.rect="rect",e.ribbon="ribbon",e.ribbon2="ribbon2",e.rightArrow="rightArrow",e.rightArrowCallout="rightArrowCallout",e.rightBrace="rightBrace",e.rightBracket="rightBracket",e.round1Rect="round1Rect",e.round2DiagRect="round2DiagRect",e.round2SameRect="round2SameRect",e.roundRect="roundRect",e.rtTriangle="rtTriangle",e.smileyFace="smileyFace",e.snip1Rect="snip1Rect",e.snip2DiagRect="snip2DiagRect",e.snip2SameRect="snip2SameRect",e.snipRoundRect="snipRoundRect",e.squareTabs="squareTabs",e.star10="star10",e.star12="star12",e.star16="star16",e.star24="star24",e.star32="star32",e.star4="star4",e.star5="star5",e.star6="star6",e.star7="star7",e.star8="star8",e.stripedRightArrow="stripedRightArrow",e.sun="sun",e.swooshArrow="swooshArrow",e.teardrop="teardrop",e.trapezoid="trapezoid",e.triangle="triangle",e.upArrow="upArrow",e.upArrowCallout="upArrowCallout",e.upDownArrow="upDownArrow",e.upDownArrowCallout="upDownArrowCallout",e.uturnArrow="uturnArrow",e.verticalScroll="verticalScroll",e.wave="wave",e.wedgeEllipseCallout="wedgeEllipseCallout",e.wedgeRectCallout="wedgeRectCallout",e.wedgeRoundRectCallout="wedgeRoundRectCallout"})(W_||(W_={}));var _a;(function(e){e.text1="tx1",e.text2="tx2",e.background1="bg1",e.background2="bg2",e.accent1="accent1",e.accent2="accent2",e.accent3="accent3",e.accent4="accent4",e.accent5="accent5",e.accent6="accent6"})(_a||(_a={}));var V_;(function(e){e.left="left",e.center="center",e.right="right",e.justify="justify"})(V_||(V_={}));var D_;(function(e){e.top="top",e.middle="middle",e.bottom="bottom"})(D_||(D_={}));var rd;(function(e){e.ACTION_BUTTON_BACK_OR_PREVIOUS="actionButtonBackPrevious",e.ACTION_BUTTON_BEGINNING="actionButtonBeginning",e.ACTION_BUTTON_CUSTOM="actionButtonBlank",e.ACTION_BUTTON_DOCUMENT="actionButtonDocument",e.ACTION_BUTTON_END="actionButtonEnd",e.ACTION_BUTTON_FORWARD_OR_NEXT="actionButtonForwardNext",e.ACTION_BUTTON_HELP="actionButtonHelp",e.ACTION_BUTTON_HOME="actionButtonHome",e.ACTION_BUTTON_INFORMATION="actionButtonInformation",e.ACTION_BUTTON_MOVIE="actionButtonMovie",e.ACTION_BUTTON_RETURN="actionButtonReturn",e.ACTION_BUTTON_SOUND="actionButtonSound",e.ARC="arc",e.BALLOON="wedgeRoundRectCallout",e.BENT_ARROW="bentArrow",e.BENT_UP_ARROW="bentUpArrow",e.BEVEL="bevel",e.BLOCK_ARC="blockArc",e.CAN="can",e.CHART_PLUS="chartPlus",e.CHART_STAR="chartStar",e.CHART_X="chartX",e.CHEVRON="chevron",e.CHORD="chord",e.CIRCULAR_ARROW="circularArrow",e.CLOUD="cloud",e.CLOUD_CALLOUT="cloudCallout",e.CORNER="corner",e.CORNER_TABS="cornerTabs",e.CROSS="plus",e.CUBE="cube",e.CURVED_DOWN_ARROW="curvedDownArrow",e.CURVED_DOWN_RIBBON="ellipseRibbon",e.CURVED_LEFT_ARROW="curvedLeftArrow",e.CURVED_RIGHT_ARROW="curvedRightArrow",e.CURVED_UP_ARROW="curvedUpArrow",e.CURVED_UP_RIBBON="ellipseRibbon2",e.CUSTOM_GEOMETRY="custGeom",e.DECAGON="decagon",e.DIAGONAL_STRIPE="diagStripe",e.DIAMOND="diamond",e.DODECAGON="dodecagon",e.DONUT="donut",e.DOUBLE_BRACE="bracePair",e.DOUBLE_BRACKET="bracketPair",e.DOUBLE_WAVE="doubleWave",e.DOWN_ARROW="downArrow",e.DOWN_ARROW_CALLOUT="downArrowCallout",e.DOWN_RIBBON="ribbon",e.EXPLOSION1="irregularSeal1",e.EXPLOSION2="irregularSeal2",e.FLOWCHART_ALTERNATE_PROCESS="flowChartAlternateProcess",e.FLOWCHART_CARD="flowChartPunchedCard",e.FLOWCHART_COLLATE="flowChartCollate",e.FLOWCHART_CONNECTOR="flowChartConnector",e.FLOWCHART_DATA="flowChartInputOutput",e.FLOWCHART_DECISION="flowChartDecision",e.FLOWCHART_DELAY="flowChartDelay",e.FLOWCHART_DIRECT_ACCESS_STORAGE="flowChartMagneticDrum",e.FLOWCHART_DISPLAY="flowChartDisplay",e.FLOWCHART_DOCUMENT="flowChartDocument",e.FLOWCHART_EXTRACT="flowChartExtract",e.FLOWCHART_INTERNAL_STORAGE="flowChartInternalStorage",e.FLOWCHART_MAGNETIC_DISK="flowChartMagneticDisk",e.FLOWCHART_MANUAL_INPUT="flowChartManualInput",e.FLOWCHART_MANUAL_OPERATION="flowChartManualOperation",e.FLOWCHART_MERGE="flowChartMerge",e.FLOWCHART_MULTIDOCUMENT="flowChartMultidocument",e.FLOWCHART_OFFLINE_STORAGE="flowChartOfflineStorage",e.FLOWCHART_OFFPAGE_CONNECTOR="flowChartOffpageConnector",e.FLOWCHART_OR="flowChartOr",e.FLOWCHART_PREDEFINED_PROCESS="flowChartPredefinedProcess",e.FLOWCHART_PREPARATION="flowChartPreparation",e.FLOWCHART_PROCESS="flowChartProcess",e.FLOWCHART_PUNCHED_TAPE="flowChartPunchedTape",e.FLOWCHART_SEQUENTIAL_ACCESS_STORAGE="flowChartMagneticTape",e.FLOWCHART_SORT="flowChartSort",e.FLOWCHART_STORED_DATA="flowChartOnlineStorage",e.FLOWCHART_SUMMING_JUNCTION="flowChartSummingJunction",e.FLOWCHART_TERMINATOR="flowChartTerminator",e.FOLDED_CORNER="folderCorner",e.FRAME="frame",e.FUNNEL="funnel",e.GEAR_6="gear6",e.GEAR_9="gear9",e.HALF_FRAME="halfFrame",e.HEART="heart",e.HEPTAGON="heptagon",e.HEXAGON="hexagon",e.HORIZONTAL_SCROLL="horizontalScroll",e.ISOSCELES_TRIANGLE="triangle",e.LEFT_ARROW="leftArrow",e.LEFT_ARROW_CALLOUT="leftArrowCallout",e.LEFT_BRACE="leftBrace",e.LEFT_BRACKET="leftBracket",e.LEFT_CIRCULAR_ARROW="leftCircularArrow",e.LEFT_RIGHT_ARROW="leftRightArrow",e.LEFT_RIGHT_ARROW_CALLOUT="leftRightArrowCallout",e.LEFT_RIGHT_CIRCULAR_ARROW="leftRightCircularArrow",e.LEFT_RIGHT_RIBBON="leftRightRibbon",e.LEFT_RIGHT_UP_ARROW="leftRightUpArrow",e.LEFT_UP_ARROW="leftUpArrow",e.LIGHTNING_BOLT="lightningBolt",e.LINE_CALLOUT_1="borderCallout1",e.LINE_CALLOUT_1_ACCENT_BAR="accentCallout1",e.LINE_CALLOUT_1_BORDER_AND_ACCENT_BAR="accentBorderCallout1",e.LINE_CALLOUT_1_NO_BORDER="callout1",e.LINE_CALLOUT_2="borderCallout2",e.LINE_CALLOUT_2_ACCENT_BAR="accentCallout2",e.LINE_CALLOUT_2_BORDER_AND_ACCENT_BAR="accentBorderCallout2",e.LINE_CALLOUT_2_NO_BORDER="callout2",e.LINE_CALLOUT_3="borderCallout3",e.LINE_CALLOUT_3_ACCENT_BAR="accentCallout3",e.LINE_CALLOUT_3_BORDER_AND_ACCENT_BAR="accentBorderCallout3",e.LINE_CALLOUT_3_NO_BORDER="callout3",e.LINE_CALLOUT_4="borderCallout3",e.LINE_CALLOUT_4_ACCENT_BAR="accentCallout3",e.LINE_CALLOUT_4_BORDER_AND_ACCENT_BAR="accentBorderCallout3",e.LINE_CALLOUT_4_NO_BORDER="callout3",e.LINE="line",e.LINE_INVERSE="lineInv",e.MATH_DIVIDE="mathDivide",e.MATH_EQUAL="mathEqual",e.MATH_MINUS="mathMinus",e.MATH_MULTIPLY="mathMultiply",e.MATH_NOT_EQUAL="mathNotEqual",e.MATH_PLUS="mathPlus",e.MOON="moon",e.NON_ISOSCELES_TRAPEZOID="nonIsoscelesTrapezoid",e.NOTCHED_RIGHT_ARROW="notchedRightArrow",e.NO_SYMBOL="noSmoking",e.OCTAGON="octagon",e.OVAL="ellipse",e.OVAL_CALLOUT="wedgeEllipseCallout",e.PARALLELOGRAM="parallelogram",e.PENTAGON="homePlate",e.PIE="pie",e.PIE_WEDGE="pieWedge",e.PLAQUE="plaque",e.PLAQUE_TABS="plaqueTabs",e.QUAD_ARROW="quadArrow",e.QUAD_ARROW_CALLOUT="quadArrowCallout",e.RECTANGLE="rect",e.RECTANGULAR_CALLOUT="wedgeRectCallout",e.REGULAR_PENTAGON="pentagon",e.RIGHT_ARROW="rightArrow",e.RIGHT_ARROW_CALLOUT="rightArrowCallout",e.RIGHT_BRACE="rightBrace",e.RIGHT_BRACKET="rightBracket",e.RIGHT_TRIANGLE="rtTriangle",e.ROUNDED_RECTANGLE="roundRect",e.ROUNDED_RECTANGULAR_CALLOUT="wedgeRoundRectCallout",e.ROUND_1_RECTANGLE="round1Rect",e.ROUND_2_DIAG_RECTANGLE="round2DiagRect",e.ROUND_2_SAME_RECTANGLE="round2SameRect",e.SMILEY_FACE="smileyFace",e.SNIP_1_RECTANGLE="snip1Rect",e.SNIP_2_DIAG_RECTANGLE="snip2DiagRect",e.SNIP_2_SAME_RECTANGLE="snip2SameRect",e.SNIP_ROUND_RECTANGLE="snipRoundRect",e.SQUARE_TABS="squareTabs",e.STAR_10_POINT="star10",e.STAR_12_POINT="star12",e.STAR_16_POINT="star16",e.STAR_24_POINT="star24",e.STAR_32_POINT="star32",e.STAR_4_POINT="star4",e.STAR_5_POINT="star5",e.STAR_6_POINT="star6",e.STAR_7_POINT="star7",e.STAR_8_POINT="star8",e.STRIPED_RIGHT_ARROW="stripedRightArrow",e.SUN="sun",e.SWOOSH_ARROW="swooshArrow",e.TEAR="teardrop",e.TRAPEZOID="trapezoid",e.UP_ARROW="upArrow",e.UP_ARROW_CALLOUT="upArrowCallout",e.UP_DOWN_ARROW="upDownArrow",e.UP_DOWN_ARROW_CALLOUT="upDownArrowCallout",e.UP_RIBBON="ribbon2",e.U_TURN_ARROW="uturnArrow",e.VERTICAL_SCROLL="verticalScroll",e.WAVE="wave"})(rd||(rd={}));var ct;(function(e){e.AREA="area",e.BAR="bar",e.BAR3D="bar3D",e.BUBBLE="bubble",e.BUBBLE3D="bubble3D",e.DOUGHNUT="doughnut",e.LINE="line",e.PIE="pie",e.RADAR="radar",e.SCATTER="scatter"})(ct||(ct={}));var U_;(function(e){e.TEXT1="tx1",e.TEXT2="tx2",e.BACKGROUND1="bg1",e.BACKGROUND2="bg2",e.ACCENT1="accent1",e.ACCENT2="accent2",e.ACCENT3="accent3",e.ACCENT4="accent4",e.ACCENT5="accent5",e.ACCENT6="accent6"})(U_||(U_={}));var pf;(function(e){e.chart="chart",e.image="image",e.line="line",e.rect="rect",e.text="text",e.placeholder="placeholder"})(pf||(pf={}));var qt;(function(e){e.chart="chart",e.hyperlink="hyperlink",e.image="image",e.media="media",e.online="online",e.placeholder="placeholder",e.table="table",e.tablecell="tablecell",e.text="text",e.notes="notes"})(qt||(qt={}));var Im;(function(e){e.title="title",e.body="body",e.image="pic",e.chart="chart",e.table="tbl",e.media="media"})(Im||(Im={}));var Vp;(function(e){e.DEFAULT="•",e.CHECK="✓",e.STAR="★",e.TRIANGLE="▶"})(Vp||(Vp={}));var Dp="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAB3CAYAAAD1oOVhAAAGAUlEQVR4Xu2dT0xcRRzHf7tAYSsc0EBSIq2xEg8mtTGebVzEqOVIolz0siRE4gGTStqKwdpWsXoyGhMuyAVJOHBgqyvLNgonDkabeCBYW/8kTUr0wsJC+Wfm0bfuvn37Znbem9mR9303mJnf/Pb7ed95M7PDI5JIJPYJV5EC7e3t1N/fT62trdqViQCIu+bVgpIHEo/Hqbe3V/sdYVKHyWSSZmZm8ilVA0oeyNjYmEnaVC2Xvr6+qg5fAOJAz4DU1dURGzFSqZRVqtMpAFIGyMjICC0vL9PExIRWKADiAYTNshYWFrRCARAOEFZcCKWtrY0GBgaUTYkBRACIE4rKZwqACALR5RQAqQCIDqcASIVAVDsFQCSAqHQKgEgCUeUUAPEBRIVTAMQnEBvK5OQkbW9vk991CoAEAMQJxc86BUACAhKUUwAkQCBBOAVAAgbi1ykAogCIH6cAiCIgsk4BEIVAZJwCIIqBVLqiBxANQFgXS0tLND4+zl08AogmIG5OSSQS1gGKwgtANAIRcQqAaAbCe6YASBWA2E6xDyeyDUl7+AKQMkDYYevm5mZHabA/Li4uUiaTsYLau8QA4gLE/hU7wajyYtv1hReDAiAOxQcHBymbzark4BkbQKom/X8dp9Npmpqasn4BIAYAYSnYp+4BBEAMUcCwNOCQsAKZnp62NtQOw8WmwT09PUo+ijaHsOMx7GppaaH6+nolH0Z10K2tLVpdXbW6UfV3mNqBdHd3U1NTk2rtlMRfW1uj2dlZAFGirkRQAJEQTWUTAFGprkRsAJEQTWUTAFGprkRsAJEQTWUTAFGprkRsAJEQTWUTAFGprkRsAJEQTWUTAFGprkRsAJEQTWUTAGHqrm8caPzQ0WC1logbeiC7X3xJm0PvUmRzh45cuki1588FAmVn9BO6P3yF9utrqGH0MtW82S8UN9RA9v/4k7InjhcJFTs/TLVXLwmJV67S7vD7tHF5pKi46fYdosdOcOOGG8j1OcqefbFEJD9Q3GCwDhqT31HklS4A8VRgfYM2Op6k3bt/BQJl58J7lPvwg5JYNccepaMry0LPqFA7hCm39+NNyp2J0172b19QysGINj5CsRtpij57musOViH0QPJQXn6J9u7dlYJSFkbrMYolrwvDAJAC+WWdEpQz7FTgECeUCpzi6YxvvqXoM6eEhqnCSgDikEzUKUE7Aw7xuHctKB5OYU3dZlNR9syQdAaAcAYTC0pXF+39c09o2Ik+3EqxVKqiB7hbYAxZkk4pbBaEM+AQofv+wTrFwylBOQNABIGwavdfe4O2pg5elO+86l99nY58/VUF0byrYsjiSFluNlXYrOHcBar7+EogUADEQ0YRGHbzoKAASBkg2+9cpM1rV0tK2QOcXW7bLEFAARAXIF4w2DrDWoeUWaf4hQIgDiA8GPZ2iNfi0Q8UACkAIgrDbrJ385eDxaPLLrEsFAB5oG6lMPJQPLZZZKAACBGVhcG2Q+bmuLu2nk55e4jqPv1IeEoceiBeX7s2zCa5MAqdstl91vfXwaEGsv/rb5TtOFk6tWXOuJGh6KmnhO9sayrMninPx103JBtXblHkice58cINZP4Hyr5wpkgkdiChEmc4FWazLzenNKa/p0jncwDiqcD6BuWePk07t1asatZGoYQzSqA4nFJ7soNiP/+EUyfc25GI2GG53dHPrKo1g/1Cw4pIXLrzO+1c+/wg7tBbFDle/EbQcjFCPWQJCau5EoBoFpzXHYDwFNJcDiCaBed1ByA8hTSXA4hmwXndAQhPIc3lAKJZcF53AMJTSHM5gGgWnNcdgPAU0lwOIJoF53UHIDyFNJcfSiCdnZ0Ui8U0SxlMd7lcjubn561gh+Y1scFIU/0o/3sgeLO12E2k7UXKYumgFoAYdg8ACIAYpoBh6cAhAGKYAoalA4cAiGEKGJYOHAIghilgWDpwCIAYpoBh6cAhAGKYAoalA4cAiGEKGJYOHAIghilgWDpwCIAYpoBh6ZQ4JB6PKzviYthnNy4d9h+1M5mMlVckkUjsG5dhiBMCEMPg/wuOfrZZ/RSywQAAAABJRU5ErkJggg==",CKe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AAAAVnCAYAAACzfHDVAAAAYHpUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHjaVcjJDYAwDEXBu6ughBfH+YnLQSwSHVA+Yrkwx7HtPHabHuEWrQ+lBBAZ6TMweBWoCwUH8quZH6VWFXVT696zxp12ARkVFEqn8wB8AAAACXBIWXMAAC4jAAAuIwF4pT92AADZLklEQVR42uzdd5hV9Z0/8M+dmcsUZmDovYOhKCiKYhR7JJuoSTCWGFI0WUxijBoTTXazVlyza4maYm9rTRSJigVsqCDNQhHBAogKCEgRMjMMU+7vj93sL8kqClLmnPt6PY+PeXZM9vP9vO8jZ+Y955xMfJLjorBrRMuSgmiViyjN1Ee2oSCyucbIBAAAAAAAAADbXaYgcoWNUZcrirpMbdRsysa69wbF+rggGrf439vSF7seF12aFUTnxvoosGIAAAAAAACAXacgoqEgF++/VRgr4r5o+Kh/pvD//F8uiII+LaPrum/EXzqui2b1ddHGKgEAAAAAAAB2rVxEQWMmWrQtjHZlA6N2w2tR84//zP8pgHu3ib6NBdG+zdqorK6KVUXZaB85j3sGAAAAAAAAaAoaG6OwIBdtyneP2PBabPzbr/1dAdx3VHRtyESHiIhcYzQrLo7WmVzkcjmPgAYAAAAAAABoSgpy0eIfS+D/LYD7fy3abC6Inn/7X2hsjELlLwAAAAAAAEDT9D8lcM1fHwddFBFxyAVR9M686PVp/gfqayKiJiLqLBMAAAAAAABgh8hGRGlEUekn/6PFEb3ikNgQk6O+KCJi6dzoksv83/cB/1X9xoiaJdmoWxlRV1dk2QAAAAAAAAA7QTZbH9muERX96v7n9t7/q6Exinq3i86LI94pjOOisHUu+uYykfmof7h+Y8Sa6aVRt74gGhs9DRoAAAAAAABgZ2lsLIi69QWxeUUmSjs0/vedwR8hk4uydSfE+wVd6qOyMfMx7/mtj9jwUtbjngEAAAAAAAB2obrqolg7IxtR/9Ffb4wo7P5GtCwobRaVH/c/UvNmNuqqPfIZAAAAAAAAYFerqy6KmjezH/v1ktpoVZBr/PgCeMN7yl8AAAAAAACApmJLHW5jUVQWNDSP+Q3ZeLco4i9/+8X6teHRzwAAAAAAAABNSd3/dLn/oLAoqqIuVhXFxhhSGB/xqGjlLwAAAAAAAECTU1eTjaK/KXSLIv7SWB+bc5ko9YxnAAAAAAAAgATJFv393bz1EeV//c8F1gMAAAAAAACQDgpgAAAAAAAAgJRQAAMAAAAAAACkhAIYAAAAAAAAICUUwAAAAAAAAAApoQAGAAAAAAAASAkFMAAAAAAAAEBKKIABAAAAAAAAUkIBDAAAAAAAAJASCmAAAAAAAACAlFAAAwAAAAAAAKSEAhgAAAAAAAAgJRTAAAAAAAAAACmhAAYAAAAAAABICQUwAAAAAAAAQEoogAEAAAAAAABSQgEMAAAAAAAAkBIKYAAAAAAAAICUUAADAAAAAAAApIQCGAAAAAAAACAlFMAAAAAAAAAAKaEABgAAAAAAAEgJBTAAAAAAAABASiiAAQAAAAAAAFJCAQwAAAAAAACQEgpgAAAAAAAAgJRQAAMAAAAAAACkhAIYAAAAAAAAICUUwAAAAAAAAAApoQAGAAAAAAAASAkFMAAAAAAAAEBKKIABAAAAAAAAUkIBDAAAAAAAAJASCmAAAAAAAACAlFAAAwAAAAAAAKSEAhgAAAAAAAAgJRTAAAAAAAAAACmhAAYAAAAAAABICQUwAAAAAAAAQEoogAEAAAAAAABSQgEMAAAAAAAAkBIKYAAAAAAAAICUUAADAAAAAAAApIQCGAAAAAAAACAlFMAAAAAAAAAAKaEABgAAAAAAAEgJBTAAAAAAAABASiiAAQAAAAAAAFJCAQwAAAAAAACQEgpgAAAAAAAAgJRQAAMAAAAAAACkhAIYAAAAAAAAICUUwAAAAAAAAAApoQAGAAAAAAAASAkFMAAAAAAAAEBKKIABAAAAAAAAUkIBDAAAAAAAAJASCmAAAAAAAACAlFAAAwAAAAAAAKSEAhgAAAAAAAAgJRTAAAAAAAAAACmhAAYAAAAAAABICQUwAAAAAAAAQEoogAEAAAAAAABSQgEMAAAAAAAAkBIKYAAAAAAAAICUUAADAAAAAAAApIQCGAAAAAAAACAlFMAAAAAAAAAAKaEABgAAAAAAAEgJBTAAAAAAAABASiiAAQAAAAAAAFJCAQwAAAAAAACQEgpgAAAAAAAAgJRQAAMAAAAAAACkhAIYAAAAAAAAICUUwAAAAAAAAAApoQAGAAAAAAAASAkFMAAAAAAAAEBKKIABAAAAAAAAUkIBDAAAAAAAAJASCmAAAAAAAACAlFAAAwAAAAAAAKSEAhgAAAAAAAAgJRTAAAAAAAAAACmhAAYAAAAAAABICQUwAAAAAAAAQEoogAEAAAAAAABSQgEMAAAAAAAAkBIKYAAAAAAAAICUUAADAAAAAAAApIQCGAAAAAAAACAlFMAAAAAAAAAAKaEABgAAAAAAAEgJBTAAAAAAAABASiiAAQAAAAAAAFJCAQwAAAAAAACQEgpgAAAAAAAAgJRQAAMAAAAAAACkhAIYAAAAAAAAICUUwAAAAAAAAAApoQAGAAAAAAAASAkFMAAAAAAAAEBKKIABAAAAAAAAUkIBDAAAAAAAAJASCmAAAAAAAACAlFAAAwAAAAAAAKSEAhgAAAAAAAAgJRTAAAAAAAAAACmhAAYAAAAAAABICQUwAAAAAAAAQEoogAEAAAAAAABSQgEMAAAAAAAAkBIKYAAAAAAAAICUUAADAAAAAAAApIQCGAAAAAAAACAlFMAAAAAAAAAAKaEABgAAAAAAAEgJBTAAAAAAAABASiiAAQAAAAAAAFJCAQwAAAAAAACQEgpgAAAAAAAAgJRQAAMAAAAAAACkhAIYAAAAAAAAICUUwAAAAAAAAAApoQAGAAAAAAAASAkFMAAAAAAAAEBKKIABAAAAAAAAUkIBDAAAAAAAAJASCmAAAAAAAACAlFAAAwAAAAAAAKSEAhgAAAAAAAAgJRTAAAAAAAAAACmhAAYAAAAAAABICQUwAAAAAAAAQEoogAEAAAAAAABSQgEMAAAAAAAAkBIKYAAAAAAAAICUUAADAAAAAAAApIQCGAAAAAAAACAlFMAAAAAAAAAAKaEABgAAAAAAAEgJBTAAAAAAAABASiiAAQAAAAAAAFJCAQwAAAAAAACQEgpgAAAAAAAAgJRQAAMAAAAAAACkhAIYAAAAAAAAICUUwAAAAAAAAAApoQAGAAAAAAAASAkFMAAAAAAAAEBKKIABAAAAAAAAUkIBDAAAAAAAAJASCmAAAAAAAACAlFAAAwAAAAAAAKSEAhgAAAAAAAAgJRTAAAAAAAAAACmhAAYAAAAAAABICQUwAAAAAAAAQEoogAEAAAAAAABSQgEMAAAAAAAAkBIKYAAAAAAAAICUUAADAAAAAAAApIQCGAAAAAAAACAlFMAAAAAAAAAAKaEABgAAAAAAAEgJBTAAAAAAAABASiiAAQAAAAAAAFJCAQwAAAAAAACQEgpgAAAAAAAAgJRQAAMAAAAAAACkhAIYAAAAAAAAICUUwAAAAAAAAAApoQAGAAAAAAAASAkFMAAAAAAAAEBKKIABAAAAAAAAUkIBDAAAAAAAAJASCmAAAAAAAACAlFAAAwAAAAAAAKSEAhgAAAAAAAAgJRTAAAAAAAAAACmhAAYAAAAAAABICQUwAAAAAAAAQEoogAEAAAAAAABSQgEMAAAAAAAAkBIKYAAAAAAAAICUUAADAAAAAAAApIQCGAAAAAAAACAlFMAAAAAAAAAAKaEABgAAAAAAAEgJBTAAAAAAAABASiiAAQAAAAAAAFJCAQwAAAAAAACQEgpgAAAAAAAAgJRQAAMAAAAAAACkhAIYAAAAAAAAICUUwAAAAAAAAAApoQAGAAAAAAAASAkFMAAAAAAAAEBKKIABAAAAAAAAUkIBDAAAAAAAAJASCmAAAAAAAACAlFAAAwAAAAAAAKSEAhgAAAAAAAAgJRTAAAAAAAAAACmhAAYAAAAAAABICQUwAAAAAAAAQEoogAEAAAAAAABSQgEMAAAAAAAAkBIKYAAAAAAAAICUUAADAAAAAAAApIQCGAAAAAAAACAlFMAAAAAAAAAAKaEABgAAAAAAAEgJBTAAAAAAAABASiiAAQAAAAAAAFJCAQwAAAAAAACQEgpgAAAAAAAAgJRQAAMAAAAAAACkhAIYAAAAAAAAICUUwAAAAAAAAAApoQAGAAAAAAAASAkFMAAAAAAAAEBKKIABAAAAAAAAUkIBDAAAAAAAAJASCmAAAAAAAACAlFAAAwAAAAAAAKSEAhgAAAAAAAAgJRTAAAAAAAAAACmhAAYAAAAAAABICQUwAAAAAAAAQEoogAEAAAAAAABSQgEMAAAAAAAAkBIKYAAAAAAAAICUUAADAAAAAAAApIQCGAAAAAAAACAlFMAAAAAAAAAAKaEABgAAAAAAAEgJBTAAAAAAAABASiiAAQAAAAAAAFJCAQwAAAAAAACQEgpgAAAAAAAAgJRQAAMAAAAAAACkhAIYAAAAAAAAICUUwAAAAAAAAAApoQAGAAAAAAAASAkFMAAAAAAAAEBKKIABAAAAAAAAUkIBDAAAAAAAAJASCmAAAAAAAACAlFAAAwAAAAAAAKSEAhgAAAAAAAAgJRTAAAAAAAAAACmhAAYAAAAAAABICQUwAAAAAAAAQEoogAEAAAAAAABSQgEMAAAAAAAAkBIKYAAAAAAAAICUUAADAAAAAAAApIQCGAAAAAAAACAlFMAAAAAAAAAAKaEABgAAAAAAAEgJBTAAAAAAAABASiiAAQAAAAAAAFJCAQwAAAAAAACQEgpgAAAAAAAAgJRQAAMAAAAAAACkhAIYAAAAAAAAICUUwAAAAAAAAAApoQAGAAAAAAAASAkFMAAAAAAAAEBKKIABAAAAAAAAUkIBDAAAAAAAAJASCmAAAAAAAACAlFAAAwAAAAAAAKSEAhgAAAAAAAAgJRTAAAAAAAAAACmhAAYAAAAAAABICQUwAAAAAAAAQEoogAEAAAAAAABSQgEMAAAAAAAAkBIKYAAAAAAAAICUUAADAAAAAAAApIQCGAAAAAAAACAlFMAAAAAAAAAAKaEABgAAAAAAAEgJBTAAAAAAAABASiiAAQAAAAAAAFJCAQwAAAAAAACQEgpgAAAAAAAAgJRQAAMAAAAAAACkhAIYAAAAAAAAICUUwAAAAAAAAAApoQAGAAAAAAAASAkFMAAAAAAAAEBKKIABAAAAAAAAUkIBDAAAAAAAAJASCmAAAAAAAACAlFAAAwAAAAAAAKREkRUAAACwrUpLSwuGDRvWfMCAAS26du3avKysrLiioqKkZcuWzZs1a1bcvHnz0tLS0rJsNtusuLi4ebNmzUoLCgo+8/eijY2N9Zs3b66pra2tqqur21xTU1NdVVVVs2nTptqNGzdWbdiwoeYvf/nL5hUrVlQtWLBgw6xZs6pqamoaJQYAAEDaKYABAACIiIghQ4aUHnTQQW379u3bql27dq3at2/fpkWLFq2bN29eWVpa2qpZs2bNCwsLm2ez2fLCwsLyoqKi8sLCwtKknK+hoaG6vr6+qqGh4S91dXV/aWhoqNq8eXNVTU3NuqqqqvUbNmxYu2rVqjWrV69e99Zbb6177rnnPpgzZ06NTwYAAABJogAGAADIA8OGDWt+xBFHdBwwYECnLl26dGjdunXHFi1adCgtLe1YUlLSvlmzZq0KCgqK07yDwsLCssLCwrKIaPdp/zuNjY21mzdvXrdp06ZVNTU172/YsGHl2rVr31+2bNnKBQsWrHjyySffnzVrVpVPGAAAAE1Fpuexsd9HfaF+ZcSal0ptCAAAIAE6deqUPf744zvtueeeXbp3796lbdu2XSorKzuXlpZ2KS0t7VBYWFhhSztGQ0PDxpqampU1NTXL169fv+yDDz5Y9s477yybPXv2sj/96U8rVqxYUWdLAAAAbE9t9q6Jog4f/TUFMAAAQEJks9nMt7/97Y4jRozo1bdv397t2rXrXl5e3rWsrKxzcXFx+4gosKUmp7G2tnZVTU3Nso0bNy5btWrV0tdff/2tJ598cvG999672noAAADYFgpgAACAhPne977X6a9Fb/v27Xu1bNmyV1lZWa8kvXOXLauvr9/wl7/8ZdG6desWL1u2bNHChQsX/fGPf1w8derUjbYDAADAliiAAQAAmqhsNps59dRTuxx66KH9+/Tp87n27dv3Ly8v719UVOSRzXlq06ZNKzZu3Pj6+++//8abb775xqOPPvrG3XffvcpmAAAA+CsFMAAAQBNx6qmndvniF784qHfv3v3btWv3uYqKis8VFhaW2wxbUl9fv37Dhg1vfPDBB68vXrz4jccee2z+jTfeuNxmAAAA8pMCGAAAYBc45phjWn/rW9/aq3///kPatGnTv6Kiop9HOLO9NDQ0VG/cuPGtNWvWLFy4cOGcO+6445WHHnporc0AAACknwIYAABgJzjjjDO6f+lLX9qrV69eg1u3bj2orKysR0RkbIadJFddXb103bp18xcvXjz30UcffeXqq69+x1oAAADSRwEMAACwnZWWlhb86le/2u3QQw8d1r17931btmw5qLCwsMxmaEoaGhqqP/zww/nvvPPOzGeeeWbW2LFj36ipqWm0GQAAgGRTAAMAAGwHP/7xj7t+9atf3bdXr15D27Ztu1c2m21jKyRJXV3dmg8++OCVRYsWvfznP/95xh/+8IdltgIAAJA8CmAAAIBtcOKJJ7Y75ZRTDujXr9+w1q1bD81ms61shTSpq6tbt3bt2pfffPPNWbfccsvUe++9d7WtAAAANH0KYAAAgE+hoqKi4IILLhg0YsSI/bp27bpfy5YtB2YymUKbIR/kcrmGDz/8cP6777474/nnn59x4YUXvrZx40aPiwYAAGiCFMAAAAAf4/jjj2/7/e9//8D+/fsf2Lp1630KCgpKbAUiGhsbN61fv37eW2+9NeWGG2545u67715lKwAAAE2DAhgAAOB/ZLPZzAUXXPC5I4888sDu3bsfWFFRsVtEFNgMbFl1dfWSd999d8qsWbNmnnvuuS+vW7euwVYAAAB2DQUwAACQ10pLSwsuvfTSQYcccsjBXbt2HVFWVtbDVmDb1dbWrnr//fdfmDp16uRf/vKXL65evbreVgAAAHYeBTAAAJB3Bg0aVHrBBRd8fs899zywQ4cOBxQVFbWwFdj+Ghsba9euXTtrzpw5T59//vmTX3755WpbAQAA2LEUwAAAQF4YNmxY8/POO+/gIUOGHOZ9vrDz/W0ZfNFFFz07a9asKlsBAADY/hTAAABAarVq1arwyiuv3HfEiBEjO3TocFBhYWGZrcCu19DQUP3+++8/O2XKlIk/+clPZm7cuLHRVgAAALYPBTAAAJAqrVq1Kvztb3+7/3777Xd4x44dRxQWFpbbCjRdDQ0NG99///0pM2bMeOqHP/zhC8pgAACAz0YBDAAApMJZZ53V45vf/OaRvXr1GllaWtrVRiB5ampq3l28ePHEO++8c9LVV1/9jo0AAABsPQUwAACQWMOHDy+/6KKLvjB48OCjW7RoMdBGID0+/PDDV+fNmzfhvPPOe3L69Ol/sREAAIBPRwEMAAAkSqtWrQpvuOGGQ/bbb79/atOmzX6ZTCZrK5BeuVyubs2aNTNmzJjx2JgxYyavW7euwVYAAAA+ngIYAABIhB//+Mddv/e9732lZ8+e/1RcXNzWRiD/1NbWfvD2228/dssttzz029/+9l0bAQAA+L8UwAAAQJNVUVFRcO21137+4IMPPrZ169b7ZTKZAlsBIqJxzZo1M59//vnxp5122hR3BQMAAPx/CmAAAKDJOeWUUzqefvrpx/bu3ftL2Wy2jY0AH6e+vn7j0qVLH/vd7373x+uvv36ZjQAAAPlOAQwAADQJ2Ww2c+uttx5wyCGHnNC6deu9I8LdvsDWaFy7du1L06ZN+/OPfvSjZ1evXl1vJQAAQD5SAAMAALtU//79S6655pp/2nPPPY8tLy/vayPAZ1VTU7NswYIF488999wHp06dutFGAACAfKIABgAAdomf//znPU855ZQTu3btemRhYWGZjQDbW2NjY92KFSuevOWWW+689NJLF9kIAACQDxTAAADATuMxz8Cusn79+rlPP/30f5188slT6+rqcjYCAACklQIYAADY4fr27Vv8hz/84a+Pee5nI8CuUlNT8+68efPu/8EPfvDgwoULN9kIAACQNgpgAABghxkyZEjpNddc89XBgwefWFxc3MFGgKaitrZ21dy5c+/5yU9+8uc5c+bU2AgAAJAWWyqAPYoNAADYJqNHj+4wb968n06ZMuXRYcOGnaH8BZqa4uLi9sOGDTtjypQpj86bN++nJ510UntbAQAA0s4dwAAAwFY599xze33/+9//dufOnY/IZDJZGwGSIpfL1S1fvvzJG2644fbLLrvsbRsBAACSyiOgAQCAz+y8887r+53vfOfbHTt2PDyTyRTaCJBUuVyuYcWKFU/cdNNN//XrX/96sY0AAABJowAGAAC22WWXXTboG9/4xg9at249zDaAtFm7du2su++++9pzzjnnNdsAAACSQgEMAABsNcUvkE8UwQAAQJIogAEAgE9N8Qvks7Vr18665557rvv5z38+3zYAAICmaksFcGHlwOj6UV9orIqoWZG1PQAAyBO/+MUvet9xxx3nHHrooT8pLS3tYiNAPiotLe2y7777HvP973+/X1lZ2ZIpU6assxUAAKCpKetcHwXlH/01BTAAAOS5M844o/u99957zpe//OWflZeX94qIjK0AeS5TXl7e8+CDDx71/e9/v3dEvDVjxowPrQUAAGgqFMAAAMD/ceKJJ7a77777fjJq1Kh/KS8v7xOKX4B/lCkvL+99+OGHj/rWt77VfvXq1Qvnz59fbS0AAMCutqUC2DuAAQAgzwwdOrTs+uuvP6l///4nFRYWltkI20NjY2Ns2rQpqquro6amJurr62PTpk2xefPmqK+vj+rq6qivr4/NmzfHpk2boqGhYZv/fxUWFkZJSUk0a9YsioqKoqysLIqKiqJZs2ZRUlISRUVFUVpa+r9/FRQUCIjtoqGhoeq11167a8yYMffMmTOnxkYAAIBdZUvvAFYAAwBAnujUqVP2nnvuGbXXXnudnM1mK22Ej9PQ0BAbN26MDRs2/J+/Nm7cGBs3boyamprYtGlTbNq0KWpqaqK2trbJnqe4uDhKSkqitLT0f/9eUVERFRUV0aJFi//zV0VFRRQWFvog8LHq6urWvvjii7eceOKJf169enW9jQAAADubAhgAAPLcXXfdddAXv/jF00tLS7vZRn7L5XKxYcOGWLt2baxbty7Wrl37d3+tW7cuNmzYkPd7atGiRbRu3TpatWoVrVu3jjZt2vzvf27dunW0aNHCh4morq5e+sgjj1zzne98Z6ptAAAAO5MCGAAA8tTVV189+MQTTzyzoqJioG3kj8bGxli5cmUsX748Pvjgg1i9evX//n3t2rXR2NhoSZ9RYWFhtGrVKtq1axdt27b937937tw5OnTo4LHTeWbDhg3z77333qvOPPPMebYBAADsDApgAADIM1/72tfaXHrppad27979qIjQRKVUQ0NDrFq1KlasWBHvv//+//595cqVTfqRzGlXXFwcHTp0iI4dO0bnzp2jY8eO0alTp2jXrp1HS6dYLpdrfOeddx76+c9/fv2ECRPW2QgAALAjKYABACBP9OrVq9ldd931jT322OM7hYWFZTaSHh9++GG88847sXTp0njvvfdixYoVsXr16mhoaLCchCgsLIz27dtHp06dolu3btG9e/fo3r27x0mnTENDQ9W8efNu++Y3v/nHJUuWbLYRAABgR1AAAwBAHrjrrrtG/NM//dOZJSUlXWwj2davXx9Lly6Nd955539L3w8//NBiUqqysvJ/y+C//tWqVSuLSbiamppljz322G9Gjx49xTYAAIDtTQEMAAAp9qtf/arPD3/4w5+1atVqL9tIno0bN8aSJUvirbfeikWLFsV7770XmzZtspg8V1JSEl27do0+ffpE3759o3fv3lFeXm4xCbRu3bqXr7322ivGjh27yDYAAIDtRQEMAAApNGjQoNI77rjju7vttttJBQUFWRtJhtWrV8ebb74ZixcvjiVLlsTy5cujsbHRYtiigoKC6Ny5c/Tu3Tt69+4d/fr1i7Zt21pMQjQ2Nta98cYbd33rW9+6ff78+TU2AgAAfFYKYAAASJHS0tKCBx988Jj99tvvn7PZbBsbaboaGhri7bffjrfeeisWLFgQS5YscXcv201FRUX06tUr+vbtG3379o2ePXtGYWGhxTRhdXV1a2bMmHHjV77ylYdqamr85gcAALDNFMAAAJASp59+erdf/vKX51ZWVu5jG03T6tWr47XXXouFCxfGm2++GRs3brQUdooWLVpE3759Y8CAATFw4EB3CDdh69evf/E//uM//vPqq69+xzYAAIBtoQAGAICEGzRoUOm99977w969ex+byWTc4teErF+/PubNmxcLFiyIN954Q+FLk9GiRYvo169fDBgwIPbYY4+orKy0lCYkl8s1LF68eNyJJ554rcdCAwAAW0sBDAAACXbNNdcMOemkk35RVlbWyzZ2vVwuF++++27MnTs3XnvttViyZIl3+NLkFRQURK9evWLQoEExePDg6Natm6U0EdXV1UvuvvvuX//kJz+ZYxsAAMCnpQAGAIAEOuqoo1r99re//VmHDh0Ot41da9OmTTF79uyYO3duLFy4MKqqqiyFRGvevHn0798/Bg8eHHvuuWeUlJRYyi62cuXKp04//fTLJ0yYsM42AACAT6IABgCAhBk3btwRRxxxxFnZbLaNbewaVVVVMXfu3Jg7d27Mnz8/amtrLYVUKi4ujoEDB8bgwYNj8ODBUV5ebim7SF1d3ZqnnnrqqlGjRj1hGwAAwJYogAEAICFOOeWUjhdddNEvW7duvZ9t7HwrV66MWbNmxdy5c+Odd96JXC5nKeSdzp07x9577x3Dhg2LDh06WMgusHbt2hnnnXfepbfccsv7tgEAAHwUBTAAADRxpaWlBU899dQ3Bw8e/L2CggLPYt2JVqxYES+99FK89NJLsXz5cguBv/HXMnjvvfeOTp06WchO1NjYuGnu3Lk3H3744XfV1NR40TgAAPB3FMAAANCEjR49usOll176yzZt2gy3jZ1j/fr18eKLL8bMmTNj6dKlFgKfQs+ePWPfffeNYcOGRYsWLSxkJ1mzZs0L55577q/vvvvuVbYBAAD8lQIYAACaoIqKioKJEyd+c/Dgwd8vKCgotpEda8OGDfHiiy/G9OnTlb7wGfXo0SOGDx8ew4YNi4qKCgvZwdwNDAAA/CMFMAAANDGnnHJKx7Fjx/5rZWXlMNvYcerr6+PVV1+NGTNmxLx586Kurs5SYDvKZrMxZMiQ2HfffWP33XePwsJCS9mB1q5dO+MXv/jFv995550rbQMAAPKbAhgAAJqIbDabeeKJJ47fZ599fuSu3x0jl8vFwoULY/r06TF79uzYtGmTpcBOUFpaGkOGDInhw4fHgAEDLGQHaWhoqJ42bdo1Rx555J9tAwAA8pcCGAAAmoDjjz++7ZVXXvmr1q1be9fvDrBmzZqYNm1azJw5M1audHMc7EodO3aMz3/+87H//vt7X/CO+3fetDPPPPOScePGfWAbAACQfxTAAACwi9100037HXvssf9WXFzc1ja2n1wuF6+99lo8//zzMW/evKivr7cUaEKKiopizz33jBEjRsTnPve5yGQylrId1dbWrvrjH/948Q9+8INZtgEAAPlFAQwAALvIkCFDSu+///5zunTp8k+2sf2sXbs2Jk+eHNOnT48PP/zQQiABKisrY8SIEXHIIYdEeXm5hWxHy5Yte+zrX//6f86ZM6fGNgAAID9sqQAurBwYXT/qC41VETUrsrYHAADb6IILLtjt97///VVt2rQZZhvbx+LFi2P8+PFx9913xxtvvBG1tbWWAgmxadOmeOONN+LZZ5+NtWvXRps2bTweejtp0aJFv5NOOumg0tLSuc8+++xaGwEAgPQr61wfBR/zu7XuAAYAgO0sm81mJk2a9PVhw4b9pKCgwG9VfkZ1dXUxY8aMeOaZZ+K9996zEEiRfv36xSGHHBJDhw6NgoICC/mMGhsbN8+YMeOaL37xi+Pq6upyNgIAAOnlEdAAALCTHH/88W2vuuqqCyorK/exjc9mzZo18dRTT8XUqVNj06ZNFgIpVlFREZ///OfjsMMOi8rKSgv5jNavXz/r9NNPv3DcuHEf2AYAAKSTAhgAAHaC22677fNf+9rXzstms5W2se0WLVoUjz/+eMybNy9yOTewQT4pKiqKIUOGxBFHHBG9e/e2kM+grq5u3QMPPHDRySefPM02AAAgfRTAAACwA1VUVBQ8/fTTpwwcOPCUTCbjGabbIJfLxauvvhpPPvlkLFy40EIgz2UymRgwYEAcccQRMWjQIAvZ9n+3Ns6fP/+Www8//JaNGzc22ggAAKTHlgrgwsqB0fWjvtBYFVGzwuvKAABgS0488cR2EyZMuLx79+5fzmQyGRvZOo2NjTFr1qy49dZb48knn4wPPvC0UuC/rV69OmbMmBFz5syJ0tLS6NSpU/jX7NbJZDKZ9u3bD/3+978/dPny5TNfffXValsBAIB0KOtcHwXlH/O9gDuAAQBg29x66637H3vssRcWFRW1sI2tU1NTE0899VQ8++yzsWHDBgsBPlGLFi3i4IMPjsMPPzxKS/28YmvV19d/OG7cuPNPPvnk6bYBAADJ5xHQAACwHWWz2cyzzz77rSFDhvzAI5+3zqZNm2Ly5Mnx1FNPKX6BbdKiRYs47LDD4pBDDlEEb6VcLtfwyiuvXHfooYfeWVdX5yXrAACQYApgAADYTo455pjW11133cWVlZV728ant2HDhnj88cdjypQpUVtbayHAZ1ZcXBwHHnhgfPGLX4wWLTyIYWusWbNm2re//e3zn3nmGb+JAwAACeUdwAAAsB1cfvnlu1900UW/LS8v72cbn05VVVVMmDAhbrnllnjzzTejoaHBUoDtoqGhIZYsWRLPPfdc1NTURI8ePSKb9XOMT6OsrKzb17/+9SPbtm0774knnlhtIwAAkMDreu8ABgCAz+bhhx/+8qGHHnpOQUFBsW18sk2bNsUzzzwTTzzxRFRVVVkIsMOVl5fHkUceGYccckgUF/tX9afR2Ni46emnn/71Mccc87htAABAsngENAAAbKN27doVTZ48+YxevXodZxufrK6uLp5++umYOHGi4hfYJSoqKuKLX/xiHHzwwe4I/pQWLVr0x4MOOuiadevWeUwDAAAkhEdAAwDANjj22GPbPvzww7/p2LHjobaxZXV1dfHkk0/GddddF3Pnzo26ujpLAXaJzZs3x2uvvRbPPfdcRET06NEjCgsLLWYLWrduvfv3vve9fd9+++1pCxYsqLYRAABo+rb0CGgFMAAAfITLL7989wsuuOB3zZs372UbH6+xsTGmTJkS119/fbzyyiuKX6DJ2Lx5cyxYsCCmT58excXF0a1bt8hkMhbzMUpKSjp8+ctfPrJt27ZzvBcYAACaPu8ABgCArTB+/Pgjv/CFL/xLQUFBiW18vAULFsT48eNj6dKllgE0eT169IivfOUrMWjQIMvYgsbGxpqJEydecuyxxz5pGwAA0HR5BzAAAHwK7dq1K3ruued+1qNHj6/axsdbtGhR3H///bF48WLLABKnV69ecdxxx0WfPn0sYwuWLl3654MOOujy1atX19sGAAA0Pd4BDAAAn2DYsGHNn3766V936tTpC7bx0TZs2BD33Xdf/PGPf4y1a9daCJBI69evj2nTpsW6deuiZ8+eUVLiYQ8fpbKysv+3v/3t/lOmTJmyfPlyz/cHAIAmxjuAAQBgC372s5/1uP76669t0aKF54J+hJqamhg/fnzcfPPN8fbbb0cul7MUINFyuVy888478cwzz0RVVVX07t07slk/A/lHZWVl3U488cTD6+rqZkyfPv1DGwEAgCZ0va4ABgCAj3bFFVfscdZZZ11dXFzcwTb+Xi6XixkzZsR1110XCxYsiMbGRksBUqWxsTGWLFkSM2bMiPLy8ujSpUtkMhmL+RvZbLbFQQcddHibNm1mP/HEE6ttBAAAmoYtFcDeAQwAQN6aNGnSqAMOOODsTCZTaBt/b9GiRXHPPffEu+++axlA3ujWrVucdNJJ0bt3b8v4B7lcrm7y5Mm//vKXv/yIbQAAwK63pXcAK4ABAMg7paWlBTNnzjyzT58+x9vG39uwYUOMGzcuZsyY4VHPQF7KZDKx3377xde//vWoqKiwkH+waNGiP+27775X1dTUeCwEAADsQgpgAAD4H926dctOnjz5V506dRppG/9fLpeLqVOnxp///OfYuHGjhQB5r6KiIkaNGhX777+/x0L/g+XLlz9+6KGHXvLuu+/W2QYAAOwaWyqAvQMYAIC8MXz48PInnnjiynbt2o2wjf/vnXfeiWuvvTaee+652Lx5s4UARMTmzZtjzpw58dprr0XPnj2jRYsWlvI/Kioq+n7rW98aMnXq1Ofee+89f3AAAMAusKV3ACuAAQDIC9/+9rc73n777X9o0aLFANv4b1VVVXHXXXfFvffeG+vXr7cQgI+wbt26eP7552P9+vWx2267RVFRkaVERElJSefjjjvuoA8++GDKK6+88hcbAQCAnUsBDABAXjv//PP7XXzxxX8oKSnpbBv/bfr06XHttdfGokWLLAPgU3jnnXdi2rRp0bp16+jc2R8nERHZbLbyC1/4whElJSUvTp48eY2NAADAzqMABgAgb/3ud7/b60c/+tFVRUVFrWwjYs2aNXHzzTfHpEmTora21kIAtkJtbW289NJL8c4770Tfvn2jtLQ073dSWFhYNnz48C/26dNn4UMPPbTMpwQAAHYOBTAAAHnp1ltv3f+b3/zmfxYWFjbP913kcrl4/vnn4/rrr4/ly5f7cAB8BitXroxp06ZFRUVFdOvWLTKZTF7vo6CgIDto0KBDBw0atOiBBx54xycEAAB2vC0VwJmex8Z+H/WF+pURa17ym6wAACTTww8//KXDDjvsXzKZTN6/rPGDDz6I22+/Pd544w0fDIDtbMCAAfGtb30r2rRpk/e7yOVyjVOmTPn1yJEjH/LJAACAHavN3jVR1OGjv6YABgAgdV555ZXTPve5z30r3/fQ0NAQjz32WDz++ONRV1fngwGwg2Sz2Tj66KPjC1/4QhQUFOT9Pl5//fU79tprr9/7ZAAAwI6jAAYAIC9ks9nMyy+/fFafPn2Oz/ddvPvuu3HbbbfFe++954MBsJN069YtvvOd70S3bt3yfhdLliy5f5999rmypqam0ScDAAC2PwUwAACpV1paWjBr1qyzevfufVw+7yGXy8WTTz4ZDz74oLt+AXaBbDYbxxxzTBxxxBF5fzfw0qVLHxg6dOjlSmAAANj+FMAAAKRar169mk2ePHlsu3btDsrnPaxcuTJuueWWePvtt30oAHaxnj17ximnnBIdOnTI6z2sXr16yiGHHPIvS5Ys2exTAQAA28+WCuDCyoHR9aO+0FgVUbMia3sAADRpQ4cOLXvqqacub9Omzf75uoNcLhfPPPNMXH/99bF27VofCoAmYP369TFlypQoKSmJnj17RiaTycs9NG/evPtJJ500ZPLkyc+sWLHCoykAAGA7KetcHwXlH/01BTAAAIk1ZMiQ0kceeeSKVq1a7Z2vO6iuro7bb789nnjiiWhs9IRNgKaksbEx5s+fH++//34MGDAgstn8/DlLaWlpp6997WuDn3rqqadXrlxZ75MBAACfnQIYAIDUOfTQQ1s8+OCDv2/ZsuUe+bqDOXPmxNVXX+2RzwBN3PLly+OFF16Ijh075u0joUtLSzudcMIJ+7/00ktPv/3227U+FQAA8NkogAEASJVhw4Y1v++++37TsmXLQfl4/vr6+hg/fnz88Y9/jNpaP0MHSILNmzfHiy++GJs3b47ddtstCgoK8m4HxcXFbY866qg9n3vuuaeXL1/ucdAAAPAZKIABAEiNI488snLcuHG/b9GixcB8PP97770XV111VcyZM8eHASCBFi1aFC+//HL069cvWrRokXfnLykp6XDcccftP2fOnGcWLVq0yScCAAC2jQIYAIBUOPLIIyvvvPPO35aXl++Wj+d/+umn48Ybb4wPP/zQhwEgwf7yl7/ECy+8ECUlJdGrV6+8O3+zZs3aHHXUUfspgQEAYNspgAEASLxjjz227W233faH5s2b98m3s1dVVcXNN98cTz31VDQ2NvowAKRAY2NjzJ8/P5YtWxYDBgyIZs2a5dX5mzVr1uaYY4458M0333xm4cKFNT4RAACwdRTAAAAk2qGHHtritttuuzofy9+33347rrnmmli8eLEPAkAKvf/++/HKK69Enz59orKyMq/Ons1mK4888sh9Zs6c+dTSpUs3+zQAAMCnpwAGACCxjjjiiJb33nvvteXl5f3y6dy5XC4mTZoUN998c1RVVfkgAKRYVVVVTJ06NbLZbPTp0ycymUzenL24uLjtV7/61c+/8sorTy1evLjWpwEAAD4dBTAAAIl06KGHtrj33nt/l2/lb3V1ddx0000xefLkyOVyPggAeSCXy8WCBQvi3Xffjd133z2y2fz5mUyzZs1aH3300fvNmDHjSXcCAwDAp6MABgAgcYYOHVo2fvz4qysqKgbk07mXLVsWV111lUc+A+SplStXxiuvvBKf+9znoqKiIm/O3axZszZHH3300GeeeebJFStW1PkkAADAlimAAQBIlCFDhpQ++uij17Rs2XL3fDr31KlT49prr42NGzf6EADksaqqqpg+fXq0bds2unTpkjfnLikpaT9q1KihTz755JMrV66s90kAAICPt6UCuMB6AABoSjp16pSdMGHCv1dWVu6RL2dubGyMcePGxR133BF1dW56AiCitrY2br755hg/fnw0NjbmzbkrKyv3mDBhwr9369bNXQkAALCNFMAAADQZrVq1Kpw+ffolbdq02T9fzlxdXR2/+93vYtKkSd73C8DfyeVy8fjjj8fvf//7qK6uzptzt2nTZv8pU6Zc0qpVq0KfAgAA2HoKYAAAmoSKioqC2bNnX9KuXbuD8uXMS5cujYsuuijmz5/vAwDAx3r11VfjoosuiqVLl+bNmdu1a3fQ7Nmz/72iosLPrgAAYCu5iAYAoEmYOXPmz9q1a3dIvpz35ZdfjiuuuCLWrVsnfAA+0bp16+KKK66Il19+OW/O3K5du4Nnzpz5M+kDAMDWUQADALDLvfjii2N69OgxKh/Omsvl4oEHHogbbrghamtrhQ/Ap1ZbWxs33HBDPPDAA3nz2oAePXqMevHFF8dIHwAAPj0FMAAAu9SkSZO+NnDgwFPy4ax1dXVx8803x8SJE73vF4BtksvlYuLEiXHLLbdEXV1dXpx54MCBJ0+aNOlr0gcAgE9HAQwAwC7z6KOPHnXggQeekw9nXbduXfz617+OWbNmCR6Az2zmzJnx61//Ol9eJZA58MADz3n00UePkjwAAHyywsqB0fWjvtBYFVGzImtDAADsEDfeeOO+Rx999EWZTKYw7Wddvnx5XHXVVbFy5UrBA7DdbNiwIWbPnh0DBw6MioqKtB8307179/179uz56sMPP7xc+gAA5LuyzvVRUP7RX1MAAwCw011xxRV7fPe7372qoKCgWdrPOmfOnPjtb38bGzduFDwA2111dXVMmzYtOnfuHB07dkz1WTOZTOHuu+9+eJs2bV6aNGnSKukDAJDPFMAAADQZZ5xxRvef/exnvy0sLCxP+1knTJgQd999d9TX1wsegB2moaEhXnrppchms9G3b99UnzWTyRTttddeB/3lL395dubMmRukDwBAvlIAAwDQJBx00EEVf/jDH64pLi7ulOZz5nK5eOCBB+Kxxx4TOgA77c+eBQsWRF1dXfTv3z8ymUxqz1pQUFBywAEHDJs+ffqkpUuXbpY+AAD5aEsFcIH1AACwMwwaNKj0vvvuu7qsrKxXms9ZV1cX1113XUyaNEnoAOx0EydOjOuvvz7q6upSfc6ysrJef/rTn67u379/idQBAODvKYABANjhKioqCh577LGLKyoqBqb5nNXV1XHNNdfE7NmzhQ7ALvPKK6/ElVdeGVVVVak+Z4sWLQZOnDhxbEVFhZ9vAQDA33CBDADADjdz5syftW3b9sA0n3HdunVx2WWXxRtvvCFwAHa5xYsXx2WXXRZr165N9TnbtWt34MyZM38mcQAA+P8UwAAA7FBPPvnkqB49eoxK8xlXrVoVV1xxRSxfvlzgADQZK1asiCuuuCJWrlyZ6nP26NFj1KRJk0ZJHAAA/lth5cDo+lFfaKyKqFmRtSEAALbZjTfeuO+XvvSlCzOZTGp/8fDdd9+NK6+8MtatWydwAJqc6urqmDVrVvTv3z8qKytTe85u3boN79mz57yHH37Yb2MBAJAXyjrXR0H5R39NAQwAwA5x3nnn9T311FOvLigoKE7rGV977bW45pprorq6WuAANFmbN2+OGTNmRI8ePaJ9+/apPGMmkykYNGjQIYWFhVOee+45v5UFAEDqKYABANipjjrqqFb/8R//8YdmzZq1SusZX3755bj++uujrq5O4AA0eQ0NDfHSSy9Fp06dolOnTqk8Y0FBQXbYsGGfnz9//qQ33nhjk9QBAEizLRXA3gEMAMB21a1bt+wNN9zwnyUlJR3TesYpU6bEjTfeGPX19QIHIDHq6+vjxhtvjKlTp6b2jCUlJZ1uuOGG/+jWrZu7GgAAyFsKYAAAtqunn376XyorK/dI6/kmTZoUd955ZzQ2NgobgMRpbGyMO+64I5588snUnrGysnLw008//UtpAwCQrxTAAABsN88///w3unTp8k9pPd/EiRNj3LhxkcvlhA1AYuVyubj//vtTXQJ36dLlS88+++yJ0gYAIB95BzAAANvFTTfdNPzII488L5PJZNJ4vsceeyzGjx8vaABS47XXXotmzZpF3759U3m+zp0779urV695Dz/88DJpAwCQNlt6B7ACGACAz+wXv/hF7x/+8IdXFxQUNEvj+R544IF45JFHBA1A6ixYsCDq6upiwIABqTtbJpPJDBo06ODGxsbnpk6dul7aAACkiQIYAIAd5oADDqj43e9+99tmzZq1TeP5xo0bF5MmTRI0AKm1aNGi2Lx5cwwcODB1ZysoKMjut99+w5577rnH33vvvc3SBgAgLbZUAHsHMAAA2yybzWbuvPPOfyktLe2exvNNmDBB+QtAXpg0aVI89NBDqTxbaWlpj3vuuedfstlsRtIAAOQDBTAAANvs+eef/06HDh0OTePZHn744Xj44YeFDEDeeOSRR+LPf/5zKs/WoUOHw5599tlvSxkAgHygAAYAYJvcd999hw8ePPjUNJ7t/vvvjwkTJggZgLzz2GOPxX333ZfKs+25554/+NOf/nSYlAEASDvvAAYAYKudccYZ3ceMGXN5QUFBcdrONnHixHjkkUeEDEDeWrx4cWSz2ejbt2/ajpbp06fPvn/5y18mz5w5c4OkAQBIsi29A1gBDADAVhk2bFjzG2+88Q/NmjVrl7azPfroo6l99CUAbI2FCxdGUVFR9OvXL1XnKigoKD7wwAP3e/LJJx9dsWJFnaQBAEiqLRXAHgENAMBWuffee39ZWlraPW3nevzxx+PBBx8UMAD8jz//+c8xceLE1J2rtLS0x3333fdLCQMAkFYKYAAAPrVJkyaN6tSp0xEpPFeMHz9ewADwD8aPHx+TJ09O3bk6der0hUmTJn1VwgAApJFHQAMA8Kmcd955fU888cR/z2QyRWk618yZM+Puu+8WMAB8jNdeey06duwYnTt3TtW5unbtuk9BQcHzzz333DopAwCQNN4BDADAZ3LEEUe0vOKKK67NZrOVaTrXyy+/HDfffHPkcjkhA8DHyOVyMXv27OjSpUt06tQpNefKZDJF++yzz/CpU6c+9u67726WNAAASeIdwAAAbLNsNpu55ZZb/q2kpKRjms61YMGCuPnmm6OxsVHIAPAJGhsb4+abb44333wzVecqLS3tcvfdd5+fzWYzUgYAIC0UwAAAbNGkSZO+3rZt2wPTdKZly5bFDTfcEPX19QIGgE+prq4urr322li+fHmqztWuXbsDH3/88VESBgAgLTwCGgCAj3XZZZcN+upXvzo2k8mk5hcH33///bjyyiujqqpKwACwlerq6uLll1+OIUOGRHl5eWrO1aVLl31LS0unPvPMM2ukDABAEngENAAAW61///4lJ5988q8ymUxRWs60YcOG+P3vfx8bN24UMABso40bN8bvfve7VP15WlBQkP3hD394ft++fYslDABA4q9vrQAAgI/y4IMPnl1WVtYrLeeprq6O3/zmN7Fq1SrhAsBntGrVqrjyyiujuro6NWcqKyvr8/DDD58lXQAAkk4BDADA/zF+/Pgju3XrdnRazlNfX5/KdxYCwK60fPnyuO6666K+vj41Z+rRo8dXx40bd4R0AQBIMgUwAAB/53vf+16nI4444py0nCeXy8Vtt90Wb7zxhnABYDt7/fXX47bbbotcLpeaMx155JHnfvvb3+4oXQAAkkoBDADA/6qoqCi4+OKLLywsLCxPy5nGjx8fs2bNEi4A7CCzZs2Khx56KDXnKSwsrPj1r399QUVFhZ+bAQCQSC5kAQD4XxMnThxdWVk5OC3nef7552PixImCBYAd7LHHHosXXnghNeeprKzc89FHHz1RsgAAJFFh5cDo+lFfaKyKqFmRtSEAgDxxwQUX7DZq1KgLM5lMYRrO8+qrr8Ytt9ySqkdSAkBT/7O3d+/e0a5du1Scp2PHjkNzudxzU6ZMWSddAACamrLO9VHwMc/wcwcwAADRt2/f4h//+McXZzKZVPwG4HvvvRc33HBDNDY2ChcAdpKGhoa47rrrYtmyZak4T0FBQfbss88e27dv32LpAgCQqGtZKwAAYPz48T8qKyvrkYazbNiwIX7/+99HbW2tYAFgJ9u0aVP8/ve/j40bN6biPGVlZb3GjRs3RrIAACSJAhgAIM/ddNNNw/v06XN8Gs5SX18f1157baxdu1awALCLrFmzJq699tqor69PxXn69ev3jd///vdDJQsAQFIogAEA8thBBx1Uceyxx/5rRGTScJ477rgjFi9eLFgA2MUWLVoUd955Z1qOU/CNb3zj34YNG9ZcsgAAJOIC1goAAPLXzTfffFZxcXG7NJxl4sSJMX36dKECQBMxbdq0mDRpUirOUlJS0unOO+88Q6oAACSBAhgAIE/913/914FdunT5UhrO8tprr8Wf//xnoQJAEzN+/PhYsGBBKs7SrVu3o2+66abhUgUAoKlTAAMA5KEvfelLlV/5yld+lYazrFixIq6//vpobGwULAA0MY2NjXHdddfFihUr0nCczHHHHfergw46qEKyAAA0ZQpgAIA8dPXVV5+ezWYrk36OmpqauPbaa2PTpk1CBYAmatOmTXHttddGTU1N4s+SzWbb3njjjT+RKgAATZkCGAAgz9x6663Du3Tp8uWknyOXy8Utt9wSK1euFCoANHErV66MW2+9NXK5XOLP4lHQAAA0dQpgAIA8MnTo0LKvfvWrv0jDWSZMmBBz584VKgAkxJw5c+Kxxx5LxVlGjRr1i6FDh5ZJFQCApkgBDACQR+64444fFRcXd0z6OV5++eV45JFHBAoACfPQQw+l4he4SkpKOt5xxx0/lCgAAE2RAhgAIE9cfvnlu/fs2XNU0s/xwQcfxB133JGKR0gCQL7J5XJx2223xZo1axJ/lp49ex57+eWX7y5VAACaGgUwAEAe6NatW/a73/3uv2YymURf/9XX18cNN9wQ1dXVQgWAhKqqqoobb7wx6uvrE32OTCZT8N3vfvdX3bp1y0oVAICmRAEMAJAHxo8ff0pZWVmvpJ/jnnvuiaVLlwoUABJuyZIlcd999yX+HGVlZT3Hjx9/ikQBAGhKFMAAACn385//vOeAAQNGJ/0c06dPjylTpggUAFJi8uTJMWPGjMSfY8CAAaN//vOf95QoAABNhQIYACDFstls5qyzzjo3k8kk+tGEK1asiLvvvlugAJAyd911V6xYsSLRZ8hkMtmzzjrr3Gw2m5EoAABNgQIYACDFxo0b98XKysq9knyG2trauOGGG6K2tlagAJAyf/1zfvPmzYk+R2Vl5V7jxo0bKVEAAJoCBTAAQEoNHz68/OCDDz4t6ee4//77Y/ny5QIFgJRavnx5jBs3LvHnGDFixI+HDRvWXKIAAOxqCmAAgJS69dZbT8tms22TfIYZM2bEc889J0wASLnJkyfHzJkzE32G4uLitrfffvtp0gQAYFdTAAMApNBVV121R48ePb6S5DOsXLky7rrrLmECQJ64++6744MPPkj0GXr27PnVK664Yg9pAgCwKymAAQBSprS0tOAb3/jGT5N8rdfY2Bi333679/4CQB6pqamJ2267LRobG5N8jIJvfvObZ5aWlvqZGwAAu+6i1AoAANJlwoQJX6uoqBiQ5DOMHz8+Fi1aJEwAyDNvvvlmPPjgg4k+Q4sWLQY9+OCDx0gTAIBdRQEMAJAiRx55ZOWwYcN+kOQzzJ07N5544glhAkCemjhxYixYsCDRZxg+fPiPjjjiiJbSBABgV1AAAwCkyBVXXHFyUVFRRVLnr6qqijvvvDNyuZwwASBP5XK5uP3226O6ujqxZygqKmrxm9/85mRpAgCwKyiAAQBS4vzzz+/Xu3fv45J8httvvz0+/PBDYQJAnlu3bl3cfvvtiT5D7969jz///PP7SRMAgJ1NAQwAkALZbDZz6qmn/jyTyST2+m769OkxZ84cYQIAERExe/bsmDFjRmLnz2QyBaeeeurPs9lsRpoAAOxMCmAAgBT44x//eERlZeXgpM6/du3auPfeewUJAPyde+65J9atW5fY+SsrKwf/6U9/+oIkAQDYmRTAAAAJ17dv3+JDDjnkR0k+w9133x01NTXCBAD+Tk1NTdx9992JPsPBBx/8o759+xZLEwCAnUUBDACQcHfdddc3S0pKOiV1/smTJ8e8efMECQB8pLlz58azzz6b2PlLSko63nPPPd+SJAAAO4sCGAAgwb70pS9VDhw48KSkzr9mzZoYP368IAGALXrggQdizZo1iZ2/f//+Jx111FGtJAkAwM6gAAYASLArrrji1MLCwvIkzp7L5eK2226LTZs2CRIA2KJNmzbFbbfdFrlcLpHzFxYWll1++eU/kCQAADuDAhgAIKF+8Ytf9O7evftXkjr/s88+G2+88YYgAYBP5Y033ojnn38+sfN369bt6F/96ld9JAkAwI6mAAYASKgf/vCHP8pkMom8nvvggw/igQceECIAsFXGjRsX69atS+TsmUym4NRTT/2xFAEA2NEUwAAACXTdddcNa9eu3YFJnD2Xy8Udd9wRtbW1ggQAtsqmTZvizjvvTOz8bdq02f+mm27aT5IAAOxICmAAgIQpLS0t+NrXvnZ6Uud/4YUXYuHChYIEALbJq6++GjNmzEjs/Mccc8zpFRUVfiYHAMAO42ITACBhbr/99oMrKip2S+LsGzZsiHHjxgkRAPhM7r///qiqqkrk7OXl5X3/67/+6wgpAgCwoyiAAQASpKKiouCwww47Nanz33vvvYn9YS0A0HRs2LAh7r///sTOf9BBB/1zq1atCiUJAMCOoAAGAEiQ+++//+iysrKeSZx9zpw58dJLLwkRANguXnjhhViwYEEiZy8tLe32xz/+8StSBABgR1AAAwAkRN++fYv33Xfff07i7LW1tXHvvfcKEQDYru6+++6oq6tL5Oz77bffKf379y+RIgAA25sCGAAgIW6++eZRxcXFbZM4+yOPPBJr164VIgCwXa1atSoee+yxRM6ezWbb3njjjV+TIgAA25sCGAAgAYYOHVq21157fSeJs7/33nvxxBNPCBEA2CEmTpwYK1asSOTsQ4YM+c7QoUPLpAgAwPakAAYASIBrr732xKKiosqkzZ3L5eKee+6JxsZGIQIAO0R9fX3cddddkcvlEjd7UVFR5bXXXnuCFAEA2J4UwAAATdwBBxxQMWDAgG8kcfYZM2bEW2+9JUQAYId6880348UXX0zk7AMGDPjG8OHDy6UIAMD2ogAGAGjirrrqqhOKiooqkjb3pk2b4oEHHhAgALBT3H///VFbW5u4uYuKilpcffXV7gIGAGC7UQADADRhBx10UEX//v0Teffvww8/HB9++KEQAYCdYv369TFhwoREzj5w4MBvHHDAARVSBABge1AAAwA0Yf/5n/95bGFhYfOkzb1q1aqYPHmyAAGAnerpp5+O1atXJ27uwsLC8ssuu2yUBAEA2B4UwAAATdQBBxxQMWjQoNFJnP3uu++O+vp6IQIAO1V9fX3cddddiZx99913/+bQoUPLpAgAwGelAAYAaKIuv/zyYwsLC8uTNvfcuXNjwYIFAgQAdokFCxbE3LlzEzd3UVFRi9/97ndflyAAAJ+VAhgAoAkaOnRo2aBBgxL37t+6urr405/+JEAAYJf605/+FHV1dYmbe/fdd//mkCFDSiUIAMBnoQAGAGiCfvOb33ylqKioZdLmfu655xL53j0AIF1Wr14dzz33XOLmLioqann11VcfLUEAAD4LBTAAQBPTq1evZoMHD/5m0uaurq6ORx55RIAAQJPwyCOPRHV1deLmHjJkyLe6deuWlSAAANtKAQwA0MTcdNNNxxQXF7dN2twTJkyIqqoqAQIATUJVVVUifzmtuLi43a233uouYAAAtpkCGACgCWnVqlXhXnvtdVLS5l61alU8++yzAgQAmpTJkyfHqlWrEjf30KFDR7dq1apQggAAbAsFMABAE3LLLbccXlJS0jlpcz/44INRX18vQACgSamvr48HH3wwcXOXlJR0vummmw6VIAAA20IBDADQRGSz2cwBBxzw7aTNvWjRonjppZcECAA0SS+99FIsXrw4cXOPGDHiO9lsNiNBAAC2lgIYAKCJuOaaa/YuLy/vm7S5H3roocjlcgIEAJqkXC6XyLuAy8vL+1111VV7SRAAgK2lAAYAaCK+8pWvfDdpM8+bNy8WLlwoPACgSVu4cGG8+uqrrg8BAMgLCmAAgCbgsssuG1RZWblPkmbO5XIxfvx44QEAifDAAw8k7qklrVu33veSSy7pLz0AALaGAhgAoAkYNWrUCUmbefbs2bFs2TLhAQCJsGzZsnjllVcSN/cJJ5xwovQAANgaCmAAgF3sn//5nzt37NjxiCTN3NjYGA888IDwAIBEGT9+fDQ0NCRq5k6dOn1h9OjRHaQHAMCnpQAGANjFfvSjH30tk8kk6rps2rRpsWrVKuEBAImyatWqeOGFFxI1cyaTKfzpT386SnoAAHxaCmAAgF1o0KBBpX369Plqkmaur6+PCRMmCA8ASKQJEyZEXV1dombu27fvV/r27VssPQAAPg0FMADALnTZZZcdXlRUVJGkmadOnRpr164VHgCQSOvXr48pU6YkauaioqLK3/zmN0dIDwCAT0MBDACwi2Sz2cy+++57UpJmrqurc/cvAJB4jz76aOLuAt5///1PymazGekBAPBJFMAAALvI1VdfPbSsrKx3kmaeMmVKbNiwQXgAQKJt2LAhnn/++UTNXFZW1ueqq67aS3oAAHwSBTAAwC7y5S9/+bgkzVtfXx8TJ04UHACQCo8//nji7gL+0pe+dLzkAAD4JApgAIBdYPTo0R3atm07IkkzT5s2LdatWyc8ACAVPvzww5g+fXqiZm7fvv2I0aNHd5AeAABbogAGANgFfvrTn47KZDKFSZm3vr4+HnnkEcEBAKnyyCOPRH19fWLmzWQyhT/96U+/JjkAALZEAQwAsJN16tQp26dPn6OTNLO7fwGANFq3bl1MmzYtUTP36dPnmE6dOmWlBwDAx1EAAwDsZFddddUB2Wy2dVLmbWxsjEmTJgmOVOvYsWN06OCJmgD5aNKkSdHY2JiYebPZbOurrrrqAMkBAPBxFMAAADvZiBEjvp6keV988cVYtWqV4Ei1Ll26xIUXXhinnXZadO3a1UIA8siqVavipZdecj0JAEBqKIABAHaiM844o3tlZeXeSZk3l8vFxIkTBUdeyGQyMXjw4PjVr34VY8aMcUcwQB55/PHHI5fLJWbeysrKvc8444zukgMA4KMogAEAdqJTTjnlqxGRScq8CxYsiPfee09w5JVMJhN77713XHjhhTFmzJho3769pQCk3HvvvRcLFy5M1B9X/3NdCQAA/4cCGABgJ+nVq1ezXr16fTlJM3v3L/nsr0XwBRdcECeffHK0bdvWUgBSLGnXPb169fpyr169mkkOAIB/pAAGANhJrrjiioOLiopaJmXeBN4JAztEYWFhDB8+PC688MIYPXp0VFZWWgpACi1YsCCWLVuWmHmLiopaXnnllYdIDgCAf6QABgDYSYYPH/6VJM2btHfhwY5WVFQUI0aMiEsuuSRGjx4dLVu2tBSAFMnlcvH4448naub99tvvK5IDAOAfKYABAHaC0aNHd6isrByalHnXrl0bL7/8suDgI/y1CL744ovjhBNOiBYtWlgKQEq89NJLsW7dusTMW1lZudfo0aM7SA4AgL+lAAYA2AlOP/30o5J07fXMM89EQ0OD4GALiouL47DDDouxY8fGqFGjoqyszFIAEq6hoSGeeeaZJI1c8D/XmQAA8P8vEq0AAGDHymazmX79+n05KfPW1tbGlClTBAefUnFxcYwcOTIuvfTSGDVqVJSWlloKQII9//zzUVtbm5h5+/Xr9+VsNpuRHAAAf6UABgDYwX7zm9/sWVJS0jkp886YMSOqq6sFB1uppKQkRo4cGZdcckkcffTRUVJSYikACVRdXR0zZ85M0p8/na+44orBkgMA4K8UwAAAO9gXvvCFLyVl1lwuF08//bTQ4DNo3rx5HHXUUXHJJZfEyJEjI5vNWgpAwjz11FORy+USM++RRx75ZakBAPBXCmAAgB1oyJAhpZ07dz4iKfO+/vrrsWLFCsHBdlBeXh6jRo2KSy+9VBEMkDArVqyI119/PTHzdunS5fD+/ft79AQAABGhAAYA2KHGjh17aGFhYWJeCOruX9j+KioqYtSoUXHxxRfH4YcfHkVFRZYC4LpouyosLGz+H//xHwdLDQCACAUwAMAOteeeex6ZlFnXrl0b8+bNExrsIK1atYrjjz8+LrroohgxYkQUFPh2DKApmzdvXqxZsyYx8+61115HSg0AgAgFMADADnPMMce0bt269b5Jmfe5556LxsZGwcEO1qZNmxg9enRcfPHFimCAJqyxsTGee+65JP35MvyYY45pLTkAAPykAQBgBznzzDMPz2Qyibjeqq+vj6lTpwoNdqK2bdvG6NGj47zzzovhw4crggGaoBdeeCHq6+sTMWsmkyk844wzDpUaAAB+wgAAsIP079//C0mZdc6cObFhwwahwS7QqVOnOPnkk+Pf/u3fYu+9945MJmMpAE3Ehg0bYvbs2YmZd8CAAR4DDQCAAhgAYEf43ve+16mysnKPpMybpMcbQlp17tw5xowZE7/61a8UwQBNyPPPP5+YWSsrKwd/73vf6yQ1AID8pgAGANgBTj755CMiIhHtzcqVK+P1118XGjQRXbt2jTFjxsQ555wTgwcPthCAXez111+PlStXJmXczMknn3y41AAA8psCGABgB+jXr19iHv88ZcqUyOVyQoMmpnfv3nHaaafFOeecE/3797cQgF0kl8vFlClTknQd6jHQAAB5TgEMALCdnX766d0qKip2S8Ks9fX1MW3aNKFBE9anT58466yz4pxzzonddtvNQgB2gWnTpkV9fX0iZq2oqNjt9NNP7yY1AID8pQAGANjORo8efURSZp03b15s3LhRaJAAffr0ibPPPjvOPPPM6Nmzp4UA7EQbN26MefPmuR4FACARFMAAANtZr169EvPetSQ9zhD4bwMGDIhf/vKXceaZZ0b37t0tBGAnmTp1apKuRw+TGABA/lIAAwBsR2eccUb38vLyvkmYdf369fHaa68JDRJqwIAB8S//8i9x2mmnRbdunvQJsKPNnz8/Pvzww0TMWl5e3u9HP/pRF6kBAOQnBTAAwHZ03HHHHZSUWWfMmBGNjY1CgwTLZDIxePDg+Nd//dcYM2ZMdOjQwVIAdpDGxsaYMWNGYub9xje+cYjUAADykwIYAGA76tOnz8FJmDOXyyXqMYbAlmUymdh7773jwgsvjDFjxkT79u0tBWAHeOGFF5J0XXqIxAAA8pMCGABgOznppJPat2zZcvckzLpkyZJYuXKl0CBl/loEX3DBBXHyySdH27ZtLQVgO1qxYkW8/fbbiZi1srJy0PHHH+8PAgCAPKQABgDYTr773e8eGBGZJMyapMcXAluvsLAwhg8fHhdeeGGMHj06KisrLQVgO5k+fXpSRi34/ve/f6DEAADyjwIYAGA72X333Q9Nwpz19fUxc+ZMgUEeKCoqihEjRsQll1wSo0ePjpYtW1oKwGc0c+bMqK+vT8SsAwcOPFRiAAD5RwEMALAdHHTQQRUtW7bcKwmzLly4MKqrq4UGeeSvRfDFF18cJ5xwQrRo0cJSALZRVVVVvP7664mYtVWrVkOHDx9eLjUAgPyiAAYA2A7OPvvsz2cymaIkzOrxz5C/iouL47DDDouxY8fGqFGjoqyszFIAtkFSnqaSyWSy55577uclBgCQXxTAAADbwe67735AEuasra2NOXPmCAzyXHFxcYwcOTIuvfRSRTDANpg9e3bU1dUlYtY99tjjAIkBAOQXBTAAwGfUqlWrwnbt2u2fhFnnzZsXtbW1QgMiIqKkpCRGjhwZY8eOjaOPPjpKSkosBeBT2LRpU8ybNy8Rs7Zv337/iooKPwMEAMgjLv4AAD6jCy+8cPeioqKKJMz64osvCgz4P5o3bx5HHXVUXHLJJTFy5MjIZrOWAvAJZs2alYg5i4qKWlx88cWDJAYAkD8UwAAAn9GBBx6YiMfqVVdXJ+ZOFWDXKC8vj1GjRsWll16qCAb4BPPmzYuamppEzHrQQQd5DDQAQB5RAAMAfEZdu3YdnoQ5582bF/X19QIDPlFFRUWMGjUqLr744jj88MOjqKjIUgD+QV1dXbz66quJmLVLly77SwwAIH8ogAEAPoNTTjmlY3l5+W5JmPXll18WGLBVWrVqFccff3xcdNFFMWLEiCgo8C0kwN966aWXEjFnRUXFbieddFJ7iQEA5AffvQMAfAYnnnji55MwZ21tbcyfP19gwDZp06ZNjB49OsaOHasIBvgb8+fPj9ra2iSMmvnud7/7eYkBAOQH37UDAHwGn/vc5/ZLwpwLFy6Muro6gQGfyV+L4PPOOy+GDx+uCAby3ubNm2PhwoWJmLVfv37DJQYAkB98tw4AsI1atWpV2Lp1672TMKvHPwPbU6dOneLkk0+Oc889NwYNGmQhQF6bPXt2IuZs06bN3hUVFX4WCACQB1z0AQBso/PPP39gYWFheVOfs76+PubMmSMwYLvr2bNn/OQnP4nzzjsv9t5778hkMpYC5J3Zs2dHfX19k5+zqKio4vzzzx8oMQCA9FMAAwBso/3333/fJMz5+uuvR01NjcCAHaZLly4xZsyYOOecc2Lw4MEWAuSV6urqeOONNxIx64EHHriPxAAA0k8BDACwjbp27ZqIxz/PnTtXWMBO0bt37zjttNPinHPOif79+1sIkDeScr3VvXv3vaUFAJB+CmAAgG0wZMiQ0srKyj2a+py5XM7jn4Gdrk+fPnHWWWfFOeecE7vttpuFAKk3e/bsyOVyTX7Oli1b7jlo0KBSiQEApJsCGABgG5x55pl7ZjKZbFOfc9myZbFu3TqBAbtEnz594uyzz44zzzwzevbsaSFAaq1bty6WL1/e5OfMZDLZs846a4jEAADSrcgKAAC23tChQ4clYc558+YJC9jlBgwYEAMGDIgFCxbE+PHjY+nSpZYCpM68efOiS5cuTX7OffbZZ5+ImC4xAID0cgcwAMA26Nix4z5JmHP+/PnCApqMAQMGxC9/+cs47bTTolu3bhYCpEpSrrs6deq0j7QAANJNAQwAsJWOOOKIlhUVFf2a+pxVVVWxaNEigQFNSiaTicGDB8e//uu/xpgxY6JDhw6WAqTCW2+9FVVVVU1+zoqKis8deuihLSQGAJBeCmAAgK108sknD46ITFOfc/78+dHY2CgwoEnKZDKx9957x4UXXhhjxoyJ9u3bWwqQaI2NjbFgwYJE/Cv4u9/97h4SAwBILwUwAMBW2n333fdMwpze/wskwV+L4AsuuCBOPvnkaNu2raUAiZWU66/BgwfvKS0AgPQqsgIAgK3Trl27wU19xlwul5Q7UAAiIqKwsDCGDx8e++yzT0ybNi0mTJgQ69evtxggURYsWBC5XC4ymab9sJgOHToMlhYAQHq5AxgAYCsMGjSotGXLlgOa+pzvvfdebNy4UWBA4hQVFcWIESPikksuidGjR0fLli0tBUiMDz/8MJYtW9bk52zZsuXA/v37l0gMACCdFMAAAFvhxz/+8aBMJtPkn6Li7l8g6f5aBI8dOzZOOOGEaNGihaUAibBw4cImP2Mmk8n+5Cc/GSAtAIB0UgADAGyFvffee88kzJmEHzwCfBrNmjWLww47LMaOHRujRo2KsrIySwGatKT8Il5SrmsBANh63gEMALAVunbtOqSpz1hfXx9vvvmmsIBUKS4ujpEjR8bBBx8czz77bDz++ONRXV1tMUCT8+abb0Z9fX0UFTXtH7t16dJlT2kBAKSTO4ABAD6lioqKgoqKikFNfc4lS5bE5s2bBQakUklJSYwcOTLGjh0bRx99dJSUeIUl0LTU1tbG0qVLm/ycLVu2HFRaWupngwAAKeQiDwDgUzr77LP7FhYWNvlnj7722mvCAlKvefPmcdRRR8Ull1wSI0eOjGbNmlkK4HpsKxQWFpafffbZvaQFAJA+CmAAgE9p//3375+EOV9//XVhAXmjvLw8Ro0aFf/+7/8eI0eOjGw2aymA67FP6fOf//xAaQEApI8CGADgU+rRo8fuTX3G2traePvtt4UF5J2KiooYNWpUXHzxxXH44Yc3+XdvAum2ePHiRLySo1evXoOkBQCQPgpgAIBPqXXr1k3+DoklS5ZEQ0ODsIC81apVqzj++OPj4osvjhEjRkRBgW97gZ2voaEhlixZ0uTnbNOmjQIYACCFfCcMAPApDBkypLR58+a9m/qcb775prAAIqJ169YxevToGDt2rCIYcF32MZo3b95n0KBBpdICAEgX3wEDAHwKp556av9MJtPkr53eeustYQH8jTZt2sTo0aPjvPPOi+HDhyuCAddlfyOTyRT84Ac/+Jy0AADSxXe+AACfwuDBg5v84/Hq6+tj0aJFwgL4CJ06dYqTTz45/u3f/i323nvvyGQylgLsUIsXL07Eqzn23HPPgdICAEgXBTAAwKfQpUuXAU19xnfeeSfq6uqEBbAFnTt3jjFjxiiCgR2utrY23n333SRc53oPMABAyiiAAQA+hZYtW/Zv6jN6/DPAp9elS5cYM2ZMnHvuuTF48GALAfL2+iwJ17kAAGwdBTAAwCcYPnx4eUlJSeemPqfHPwNsvV69esVpp50W55xzTvTvrwMB8u/6rLS0tPPw4cPLpQUAkB4KYACAT/Ctb31rt4ho8s8IXbx4sbAAtlGfPn3irLPOinPOOSd22203CwG2i4T8gl7m29/+dj9pAQCkhwIYAOAT7L777k2+CVi7dm1s2LBBWACfUZ8+feLss8+OM888M3r27GkhwGfy4Ycfxrp165r8nAMHDlQAAwCkSJEVAABsWadOnZr8D8TefvttQQFsRwMGDIgBAwbEggULYvz48bF06VJLAbb5Oq1Vq1audwEA2GkUwAAAn6CyslIBDJCnBgwYEP3794958+bFQw89FO+++66lAFtlyZIlsddeezX1613PvgcASBEFMADAFnTq1CnbvHnzXk19ziVLlggLYAfJZDIxePDg2GOPPeLll1+OBx98MFauXGkxQGqu05o3b967Xbt2RatXr66XGABA8nkHMADAFowZM6ZnJpPJNuUZGxsbPZoUYCfIZDKx9957x4UXXhhjxoyJ9u3bWwrwiZYuXRqNjY1NesaCgoLsqaee2kNaAADp4A5gAIAt2Hvvvfs29RlXrlwZtbW1wgLYSf5aBO+5554xa9asmDBhQqxevdpigI9UW1sb77//fnTu3LlJzzls2LC+EbFIYgAAyecOYACALejRo0eTL4DfeecdQQHsAoWFhTF8+PC48MILY/To0VFZWWkpQGKv15Jw3QsAwKejAAYA2ILWrVs3+ff/vvvuu4IC2IUKCwtjxIgRcckll8To0aOjZcuWlgIk7notCde9AAB8Oh4BDQCwBc2bN+/Z1GdUAAM0kW+wi4pixIgRsd9++8WUKVPiscceiw0bNlgMEO+9914SrnsVwAAAKeEOYACAj9G/f/+SkpKSjk19TgUwQNPSrFmzOOyww2Ls2LExatSoKCsrsxTIc0m4XistLe3Ut2/fYmkBACSfAhgA4GOccMIJ3Zr69dK6deuiqqpKWABNUHFxcYwcOTJ+/etfK4Ihz1VVVcX69eub+pgF3/zmN7tLCwAg+RTAAAAfY8iQIT2b+oxJeJwgQL77axE8duzYOProo6OkpMRSIA8l4botCde/AAB8MgUwAMDH6N69e8+mPqPHPwMkR/PmzeOoo46KSy65JEaOHBnNmjWzFMgjSbhuS8L1LwAAn0wBDADwMVq1atWjqc+4bNkyQQEkTHl5eYwaNSr+/d//PUaOHBnZbNZSIA8k4botCde/AAB8MgUwAMDHqKio6NXUZ1y+fLmgAJL750yMGjUqLr744jj88MOjqKjIUiDFknDd1rJly16SAgBIPgUwAMBHyGazmbKysq5NecbGxsZYtWqVsAASrlWrVnH88cfHxRdfHCNGjIiCAt+qQxqtWrUqGhsbm/SMJSUlXbPZbEZaAADJ5rtKAICPcNxxx7UrKCgobsozrl69Ourr64UFkBKtW7eO0aNHx9ixYxXBkEJ1dXXxwQcfNOkZCwoKio877rh20gIASDbfTQIAfITPf/7zXZr6jO+//76gAFKoTZs2MXr06Dj//PNj+PDhimBIkRUrVrgOBgBgh/NdJP+PvTuPr7I888d/nSwEkhD2HUQEUVRAoIiouCtq64Jabd1arVorbqO2tlXbaavTOu38Rqffdmpbu9rWpYogsqgFRXCttAIKArJDgAAJBLKQ5JzfH8WO4+DOcp6T9/v18jWvTv657ut6hNvnk/t+AICd2G+//bL+xVcSXiAC8PF17do1Lr300rj99ttj2LBhkUq5lRWSLgn7tyTsgwEAeH8FWgAA8H917txZAAxAVujevXtceeWVsXr16njiiSdi9uzZkclkNAYSKAn7tyTsgwEAeH8CYACAnWjXrp0roAHIKj169Igrr7wyli5dGpMmTYo5c+ZoCiRMEvZvSdgHAwDw/gTAAAA7UVxc3D3baxQAAzRPffr0ibFjx8aSJUti/PjxsWDBAk2BhEjC/i0J+2AAAN6fbwADAOxESUlJz2yur7q6Ourq6gwKoBnbb7/94l/+5V/ia1/7WhxwwAEaAglQV1cX1dXV9sEAAOxWAmAAgHc5/PDDSwsKCtpmc40VFRUGBUBERPTt2zduvPHGuOGGG2LffffVEMhy2b6PKygoaDt8+PASkwIASC4BMADAu5x44oldsr3GDRs2GBQA/8uAAQPiG9/4Rtxwww3Ru3dvDQH7uE+yH+5qUgAAyeUbwAAA79KvX7+sD4DXr19vUADs1IABA+LAAw+MuXPnxoQJE2LlypWaAlkkCTe5HHDAAV0i4i3TAgBIJgEwAMC7dO/evXO21+gEMADvJ5VKxaBBg2LgwIExe/bsGD9+fKxbt05jwD4uZ/bDAAC8NwEwAMC7tG/fvlO21ygABuDDSKVSMWzYsBg6dGjMnj07HnvsMbdIwF6WhBPASdgPAwDw3gTAAADv0rp166w/8ZCEF4cAZI+3g+BDDz00XnnllZg4caK/S8A+LtH7YQAA3psAGADgXUpKSrL6xENjY2Ns3rzZoAD4yPLz8+Pwww+P4cOHx/PPPx8TJ06MqqoqjYE9aPPmzdHY2BgFBdn7Wi7b98MAALw/ATAAwLu0bNmySzbXV1lZGZlMxqAA+Njy8/Nj1KhRMXLkyHjhhRcEwbAHZTKZqKqqio4dO9oPAwCwWwiAAQDepaioKKuvvKusrDQkAHaJgoKCGDVqVIwYMSJmzpwZkydPji1btmgM7IH9XDYHwNm+HwYA4P3laQEAwP8YPnx4SX5+fkk21ygABmBXa9GiRRx//PFxxx13xNlnnx0lJSWaAs14P5efn18yfPhwfxAAACSUABgA4B2OOOKIDtleo+//ArC7FBUVxejRo+P73/9+nH322VFcXKwpsBsk4cr1JOyLAQDYOQEwAMA79O3bt1221+gEMAC729tB8B133BGnn356tGrVSlOgme3n9ttvv7YmBQCQTAJgAIB36NSpkwAYAHYoKSmJz3zmM3HnnXfG6NGjo0WLFpoCzWQ/l4R9MQAAOycABgB4hw4dOrTN9hqTcGUgALmlpKQkzj777PjOd74To0aNivz8fE2BHN/PJWFfDADAzgmAAQDeoaysrG221ygABmBvad++fVx00UVx5513xgknnBCFhYWaAjm6nysrK3MCGAAgoQTAAADvUFJS0j6b68tkMlFdXW1QAOxV7dq1i/POOy+++93vxqhRoyIvz+sF+CiSsJ8rLS0VAAMAJJT/QgMAeIfi4uK22VxfXV1dNDY2GhQAWeHtE8F33HGHIBg+gsbGxqirq7MvBgBgt/BfZgAA79CqVausPung9C8A2ahDhw5x0UUXxbe//e04/PDDBcGQA/u6oqIiJ4ABABLKf5EBALxDQUGBABgAPqauXbvGpZdeGt/61rdi2LBhkUqlNAUSuq9r0aJFW1MCAEimAi0AAPgfhYWFZdlc39atWw0JgKzXrVu3uPLKK2P16tXxxBNPxOzZsyOTyWgMJGhfl+37YgAA3psAGADgnZujgoLW2VyfE8AAJEmPHj3iyiuvjKVLl8akSZNizpw5mgIJ2ddl+74YAID35gpoAIAdWrdunZefn98ym2sUAAOQRH369ImxY8fGLbfcEgMGDNAQSMC+Lj8/v1WrVq28OwQASCCbOACAHQYNGlQSEVn9scJt27YZFACJtd9++8UNN9wQX/va1+KAAw7QEJq1BOzr8gYPHlxsUgAAySMABgDY4YADDijJ9hpramoMCoDE69u3b9x4441xww03xL777qshNEu1tbVZX2P//v1LTQoAIHl8AxgAYIeePXtm/QuuJLwoBIAPa8CAATFgwICYP39+jBs3LpYvX64pNBtJ2Nf16NGjxKQAAJJHAAwAsEOnTp0EwACwFwwYMCAOPPDAmDt3bkyYMCFWrlypKeS8JOzrunbtKgAGAEggATAAwA5lZWVZ/4Krrq7OoADISalUKgYNGhQDBw6M2bNnx4QJE2Lt2rUaQ85KQgDcpk0bV0ADACSQABgAYIeysjIngAFgL0ulUjFs2LAYOnRozJ49O8aPHx/r1q3TGHKOABgAgN1FAAwAsENJSUlxttfoBDAAzcXbQfCQIUPi5ZdfjokTJ0ZFRYXGkDOSEAAnYX8MAMD/JQAGANihqKioKNtrrKmpMSgAmpW8vLw4/PDDY/jw4fH888/HE088EZWVlRpD4iUhAG7RokWRSQEAJI8AGABgh8LCwhbZXF86nY7t27cbFADNUn5+fowaNSpGjhwZL7zwQkycODGqqqo0hsTavn17ZDKZSKVSWVtjixYtWpgUAEDyCIABAHbI9gC4oaHBkABo9goKCmLUqFExYsSImDlzZkyePDm2bNmiMSROJpOJhoaGyOaMtbCw0AlgAIAk/neTFgAA7NgYFRRk9QuuxsZGQwKAHVq0aBHHH398HHnkkfHMM8/E1KlTY9u2bRpDomR7AJzt+2MAAN5jH6cFAAA7NkZZ/oLL9c8A8H8VFRXF6NGj49hjj41nnnkmpkyZEjU1NRpDImT7DS8FBQWugAYASCABMADA2xujLH/B5QpoAHhvbwfBRx11VEyfPj2efvrpqK2t1RiymgAYAIDdIU8LAAD+QQAMAMlXUlISn/nMZ+LOO++M0aNHZ/X1uiAABgBgdxAAAwDskO1XQAuAAeDDKykpibPPPjv+7d/+LUaPHh2FhYWagv3dR5Sfn9/SlAAAkkcADADw9sYoL88JYADIMa1bt46zzz47vve978UJJ5wgCMb+7iPIz8/3LwwAQAIJgAEAdkilUlm9N2psbDQkAPiY2rVrF+edd15897vfjRNOOCEKCgo0Bfu7D94f55sSAEDyCIABAHbI9gA4nU4bEgB8Qu3bt/9nEDxq1KjIy/NqBPu799kfp0wJACB5/FcOAMAOXnABQPPRoUOHuOiii+J73/ueIJi9JpPJZHuJ/sUAAEggmzgAgP+R1QFwAl4QAkDidOzYMS666KL41re+FYcffnj4fTDs796xOc7yG3IAANg5mzgAgITsjQTAALD7dOvWLS699NL41re+FcOGDRMEs0dk+xXQeXl5/kUAAEigAi0AAPiHbH/BJQAGgN2ve/fuceWVV8ayZcviiSeeiDlz5mgKzXl/5/AIAEACCYABAHbIZDJOAAMAERGx7777xtixY2PJkiUxYcKEmD9/vqZgfwwAQCIIgAEA/ocr7gCA/2W//faLG264Id56660YP358vPnmm5rCLpPtV0Cn3IUOAJBIAmAAgB2y/QVXtr8gBIBc1rdv37jxxhvjrbfeinHjxsWiRYs0hU/MFdAAANjEAQDsXln9Bs4BDADY+/r27Rs333xz3HDDDdG7d28NIdf3d75BAgCQQE4AAwDskO0nMATAAJA9BgwYEAMGDIj58+fHI488EitXrtQUcnF/5woaAIAEcgIYAGCHVCqVzvL6DAkAssyAAQPi1ltvjbFjx0bPnj01hJza32UScEc1AAD/lxPAAAD/QwAMAHysv6MHDRoUBx98cDz//PMxadKk2LRpk8aQ+P1dtv+CJAAAO+cEMADADul0dr/fEgADQHarr6+PioqK2LZtm2aQE/u7dDrtBDAAQAI5AQwA8D+cAAYAPrK6urp4+umnY9q0acJfcm1/5wQwAEACCYABAP6HEw4AwIfW0NAQ06ZNiyeffDK2bt2qIXxkCfgGsAAYACCBBMAAADtkMpmsDoDz8ny9AwCywdvB71NPPRXV1dUaQs7u7wTAAADJJAAGANgh219wCYABYO9qbGyMGTNmxJNPPhmVlZUawieWn5+f9VtkUwIASB4BMADADplMpiGb6yssLDQkANgL0ul0zJo1KyZPnhwbN27UEHaZgoLsfjXX1NTUaEoAAAncZ2oBAMA/NDY2bs/m+gTAALBnpdPpePnll2Py5Mmxdu1aDWGXa9GiRbb/O1BvSgAAySMABgDYoampSQAMAEQmk4nZs2fH448/HuXl5RpCs93fNTY2CoABABJIAAwAsENDQ0NWv+ASAAPA7vV28PvEE0/E6tWrNYTdLtuvgM72G3IAAHiPfaYWAAD8gyugAaD5mjNnTkyaNCmWLl2qGewx2X4FtAAYACCZBMAAADs0NTU5AQwAzcyCBQtiwoQJ8dZbb2kG9nfv0tDQIAAGAEggATAAwA7Z/oJLAAwAu87ChQtj/PjxsXjxYs1gr8n2K6Cz/RckAQB4j32mFgAA/EO2B8AFBQWRl5cX6XTasADgY1q+fHmMGzcu5s+frxnsVXl5eVkfAG/fvt0JYACABBIAAwDs0NDQkPUnHFq1ahXbtm0zLAD4iFauXBmPPPKI4Jes2tclYH8sAAYASCABMADADrW1tXXZXqMAGAA+mnXr1sX48eNj9uzZkclkNISs2tdlu7q6ulqTAgBIHgEwAMAOW7du3ZrtNSbhRSEAZIP169fHY489JvjFvu4TqK6u3mpSAADJIwAGANihqqpKAAwACbdhw4Z4/PHH45VXXommpiYNwb7uE6isrHT1DABAAgmAAQB22LRpU9a/4GrZsqVBAcBOVFVVxcSJE+OFF16IxsZGDSHrJSEA3rRpkxPAAAAJJAAGANhh3bp1WR8AOwEMAP/bli1bYsKECYJfEicJ+7ry8nIBMABAAgmAAQB2WLZsmSugASAhqqurY/LkyTFz5syor6/XEBInCfu6pUuXCoABABJIAAwAsMP8+fOz/gRwcXGxQQHQrNXU1MSUKVPimWeeEfySaEnY173++uu+AQwAkEACYACAHRYsWFCXyWQaUqlUYbbW2Lp1a4MCoFmqq6uLp59+OqZNmxbbtsmkSL5s39el0+mGpUuXbjcpAIDkEQADALxDU1PTtoKCgrbZWp8AGIDmZvv27TF9+vR48sknY+tWt9GSO7J9X9fU1ORfOACAhBIAAwC8Q0NDw9ZsDoBLS0sNCYDm8ndyTJs2LZ566qmorq7WEHJOtu/rGhsb/YsHAJBQAmAAgHeor6+vbNWqVc9src8JYAByXWNjY8yYMSOefPLJqKys1BByVrbv6+rr66tMCQAgmQTAAADv0NDQkNVvmgXAAOSqdDods2bNismTJ8fGjRs1hJyX7fu6bN8XAwDw3gTAAADvUFdXV5XN9ZWWlkYqlYpMJmNYAOSETCYTr732Wjz++OOxatUqDaFZSKVSUVJSktU11tbWVpkUAEAyCYABAN5h27Ztm7K5vvz8/GjVqlXU1NQYFgCJlslkYvbs2fH4449HeXm5htCstGrVKvLz87O6xq1btzoBDACQUAJgAIB3qK6u3pztNZaVlQmAAUist4PfiRMnxpo1azSEZqmsrCzra9y2bVuVSQEAJJMAGADgHaqqqjZle43t2rWLtWvXGhYAiTNnzpyYNGlSLF26VDNo1tq1a5f1NW7atMkJYACALNbQWBgFjQ0REZFKRSavMJre/pkAGADgHSoqKqqyvcYkvDAEgHdasGBBTJgwId566y3NgITs5zZs2CAABgDIYoUFDf9MejMRqab0/+S+AmAAgHdYtWpV1r/oatu2rUEBkAgLFy6M8ePHx+LFizUD3iEJAfDq1aurTAoAIJkEwAAA77BgwYKsD4CdAAYg2y1fvjzGjRsX8+fP1wzYiST8Ql8S9sUAAOycABgA4B2eeOKJjZlMpimVSuVna41OAAOQrVauXBmPPPKI4Bc+QLb/Ql8mk2l64oknNpoUAEAyCYABAN6huro6vX379g1FRUVdsrVGJ4AByDZr166NCRMmxOzZsyOTyWgIJHw/t3379g3V1dVpkwIASCYBMADAu9TV1a0XAAPAB1u/fn089thjgl/Isf1cXV3delMCAEguATAAwLvU1dVVtGnTJmvrKykpiRYtWsT27dsNC4C9oqKiIiZOnBivvPJKNDU1aQh8BEVFRVFcXJz1+2GTAgBILgEwAMC7bN26dV2XLll7ADhSqVR07Ngx1qxZY1gA7FFVVVUxceLEeP755wW/8DF17NgxUqlU1u+HTQoAILkEwAAA71JVVZX1Jx46deokAAZgj9m8eXM8/vjj8cILL0RjY6OGwCfcx9kPAwCwOwmAAQDeZf369Vn/zbMkvDgEIPm2bNkSU6ZMiZkzZ0Z9fb2GwC7QsWNH+2EAAHYrATAAwLusXr066088JOHFIQDJVVNTE1OmTIlnnnlG8Au7WBJ+kW/VqlUCYACABBMAAwC8y9///ves/+aZABiA3aG2tjYmT54czz77bNTV1WkINNN93KuvvioABgBIMAEwAMC7PPzww+t//OMfN6RSqcJsrbFz584GBcAus3379pg+fXpMnTo1tm3bpiGwG2X7CeB0Ot3w8MMPC4ABABJMAAwA8C7V1dXpurq68latWu2TrTV26NAh8vLyIp1OGxgAH1tDQ0NMmzYtnnrqqaiurtYQ2M3y8vKiQ4cOWV1jfX39mtraWptMAIAEEwADAOxEbW3tmmwOgAsKCqJdu3axceNGwwLgI2tsbIwZM2bEk08+GZWVlRoCe0j79u2joCC7X8fV1NSUmxQAQLIJgAEAdmLz5s2r2rdvn9U1duvWTQAMwEeSTqdj1qxZMXnyZH+HwF7av2W7LVu2rDQpAIBkEwADAOzEpk2bVvfp0yera+zWrVvMmzfPsAD4QG8Hv1OmTIkNGzZoCOzF/Vu227BhwxqTAgBINgEwAMBOrFixYvWwYcOyusYkvEAEYO/KZDLx0ksvxZQpU6K83K2usLd17do162tctWrVKpMCAEg2ATAAwE7Mnz9/9ZgxY7K6xiS8QARg78hkMjF79uyYOHFirFnjMB9kiyT8At+8efP8oQEAkHACYACAnRg3btyab37zm5mISGVrjU4AA7Azc+bMiSeeeCKWLVumGZBlEvALfJlx48atNikAgGQTAAMA7MTrr79e29DQsKmwsLBDttZYXFwcZWVlsWXLFgMDIBYsWBDjx4+PJUuWaAZkobKysiguLs7qGhsaGjYuWLCgzrQAAJJNAAwA8B62bt26vF27dh2yucauXbsKgAGauYULF8b48eNj8eLFmgFZLAm3t2zbtm25SQEAJJ8AGADgPVRVVS1t167d0GyusWfPnrFw4ULDAmiGli1bFo899ljMnz9fMyABevbsmfU1VlZWLjUpAIDkEwADALyHdevWLevTp09W15iEF4kA7ForVqyIRx99VPALCZOEfdvatWuXmRQAQPIJgAEA3sPChQuXHX744VldY69evQwKoJlYtWpVjB8/PubOnRuZTEZDIGGSsG9buHDhMpMCAEg+ATAAwHuYNm3a0ksuuSSra+zevXvk5+dHU1OTgQHkqHXr1sX48eNj9uzZgl9IqIKCgkR8A/jpp59eZloAADmw/9QCAICde+ihhzbcd999W/Pz80uzdjNXUBBdunSJNWvWGBhAjqmoqIiJEyfGyy+/HOl0WkMgwbp27RoFBdn9Gq6xsbH6kUce2WBaAADJJwAGAHgf27ZtW15WVnZwNtfYq1cvATBADqmqqoqJEyfG888/74YHyBFJ+P7vtm3blpsUAEBuEAADALyPLVu2LMv2ALhnz57x0ksvGRZAwm3evDkef/zxeOGFF6KxsVFDIIck4fu/W7ZsWWpSAAC5QQAMAPA+1q9fvyzbT2z06NHDoAASbMuWLTFlypSYOXNm1NfXawjkoCTs19avX7/MpAAAcoMAGADgfSxYsGDh0KFDs7rGfffdN1KpVGQyGQMDSJCampqYMmVKPPPMM4JfyGGpVCr23XffrK9z/vz5C00LACA3CIABAN7Ho48++uYFF1yQ1TWWlJRE586dY926dQYGkAC1tbUxefLkePbZZ6Ourk5DIMd17do1WrVqlfV1/vnPf15kWgAAuUEADADwPiZNmlRVX1+/oaioqGM217nvvvsKgAGy3Pbt22P69OkxderU2LZtm4ZAM9GnT5+sr7G+vr7iySefrDItAIDcIAAGAPgAW7duXZTtAXCfPn3ipZdeMiyALNTQ0BDTpk2Lp556KqqrqzUEmpkkXP+8detWp38BAHKIABgA4ANUVFQs7NChw8hsrjEJLxYBmpvGxsaYMWNGPPnkk1FZWakh0EwlYZ9WUVHh+78AADlEAAwA8AGWLl266MADD8zqGnv16hUFBQXR2NhoYAB7WTqdjlmzZsWkSZNi06ZNGgLNWGFhYfTs2TMR+13TAgDIHQJgAIAPMHPmzEWnnnpqdm/qCgqiZ8+esWzZMgMD2EveDn4nT54cGzdu1BAg9tlnn8jPz0/CfnexaQEA5I48LQAAeH+//OUvV6bT6bpsr7NPnz6GBbAXZDKZePHFF+O73/1u3H///cJf4J+ScP1zOp2u++Uvf7nStAAAcocTwAAAH6C6ujpdXV29uE2bNodkc539+vWL6dOnGxjAHpLJZGL27NkxceLEWLNmjYYAO92fJWCvu7i6ujptWgAAuUMADADwIWzYsGFetgfA/fv3NyiAPeTVV1+NSZMmxapVqzQD2KlUKpWI/dmGDRvmmhYAQG4RAAMAfAiLFy9+o2/fvlldY1lZWXTu3DnWr19vYAC7yYIFC2L8+PGxZMkSzQDeV5cuXaK0tDQJ+9z5pgUAkFsEwAAAH8JTTz31+ujRo7O+zv33318ADLAbLFy4MMaPHx+LFy/WDOBD78uSYMqUKa+bFgBAbsnTAgCAD/aLX/xiTWNjY1W215mUF40ASbFs2bK4++674z/+4z+Ev8BHkoTv/zY0NFTee++9q00LACC3OAEMAPAhNDQ0ZDZv3jy/Q4cOI7O5TgEwwK6xYsWKePTRR2P+fDejArm7L9uyZYs/5AAAcpAAGADgQ1q3bl3WB8AdO3aMNm3axObNmw0M4GNYtWpVjB8/PubOnRuZTEZDgI+lbdu20aFDh0Tsb00LACD3CIABAD6kefPmzTvooIOyvs4DDzwwXnrpJQMD+AjWrVsX48ePj9mzZwt+gV2yH0uCuXPnzjMtAIDcIwAGAPiQ/vznP88/77zzsr7OAw44QAAM8CFVVFTEuHHjBL/ALt+PJcHDDz/sBDAAQA4SAAMAfEgTJ06srK2tXdGqVat9srnOgw8+2LAAPkBVVVVMnDgxnn/++WhqatIQYJdKwq0xNTU1yydNmlRlWgAAuUcADADwEWzYsOHvvXr1yuoAuG3bttG1a9dYu3atgQG8y+bNm+Pxxx+PF154IRobGzUE2OW6desWbdu2TcS+1rQAAHKTABgA4CNYuHDha7169Toj2+scMGCAABjgHbZs2RJTpkyJ5557LrZv364hwG6TlO//Lly48O+mBQCQmwTAAAAfwcSJE/9+wgknZH2dBx54YEyfPt3AgGavpqYmpkyZEs8880zU19drCLDbDRgwIBF1jh8//u+mBQCQmwTAAAAfwb333rv6Bz/4wfqioqLO2VznAQccEHl5eZFOpw0NaJZqa2tj8uTJ8eyzz0ZdXZ2GAHtEXl5e9O/fP+vrrK+vX3ffffeVmxgAQG4SAAMAfESVlZVzu3btmtXHgFu1ahX77LNPLFu2zMCAZqWuri6efvrpmDZtWmzbtk1DgD1qn332iVatWmV9nZs2bZpjWgAAuUsADADwES1dunR2tgfAERGDBg0SAAPNRkNDQ0ybNi2eeuqpqK6u1hBgr+2/kuCtt976m2kBAOQuATAAwEc0ffr0v48cOTLr6xw4cGBMmDDBwICc1tDQEM8991w8+eSTUVlZqSHAXt9/JcG0adP+bloAALlLAAwA8BH9x3/8x9JbbrmlOj8/v3U219mrV68oKyuLLVu2GBqQc9LpdMyaNSsmTZoUmzZt0hBgrysrK4tevXplfZ2NjY1b7rnnnmUmBgCQuwTAAAAfUW1tbXrDhg1/7dKly3HZXGcqlYqBAwfGrFmzDA3IGW8Hv5MnT46NGzdqCJA1Bg4cGKlUKuvr3Lhx4yu1tbVpEwMAyF0CYACAj+Gtt956JdsD4IgQAAM5I51Ox8svvxxTpkyJ8vJyDQGyct+VBIsWLXrFtAAAcpsAGADgYxg/fvwrRxxxRNbXedBBB0VBQUE0NjYaGpBImUwmZs+eHRMnTow1a9ZoCJCVCgoK4qCDDkpErY888ogAGAAgx+VpAQDAR/fjH/94ZX19/fpsr7OoqCj69etnYEAivfrqq3HHHXfEz3/+c+EvkNX69esXRUVFWV9nXV1d+b333rvaxAAAcpsTwAAAH9OGDRte6dGjx6ezvc5BgwbFggULDAxIjCVLlsSECRNi/vz5mgEkwuDBgxNR5/r1653+BQBoBgTAAAAf07x5815OQgA8bNiwePjhhyOTyRgakNXefPPNmDBhQixevFgzgMRIpVIxdOjQRNQ6d+7cl0wMACD3CYABAD6m++677+XRo0dnIiKVzXW2bds2evfuHcuWLTM0ICstW7YsHnvsMSd+gUTq06dPtG3bNgmlpu+9996/mhgAQO4TAAMAfEwTJ06s3Lp165LS0tK+2V7rkCFDBMBA1lmxYkU8+uijgl8g0YYMGZKIOqurqxc+/fTTm00MACD3CYABAD6B8vLyl/fff/+sD4AHDx4c48aNMzAgK6xcuTImTJgQc+fOdT09kHhJ+f7vmjVrfP8XAKCZEAADAHwCM2fOfG7//ff/fLbX2a1bt+jWrVuUl5cbGrDXrFu3LsaPHx+zZ88W/AI5oWfPntGlS5dE1DpjxoznTAwAoHkQAAMAfAK33Xbba5dcckl1fn5+62yvdciQIQJgYK9Yv359PPbYY4JfIOck5frnxsbGzbfddts8EwMAaB4EwAAAn0BlZWXThg0b/tqlS5fjsr3WQw89NCZNmmRowJ78MzKeeOKJeP7556OpqUlDgJxz6KGHJqLOioqKV6qrq9MmBgDQPAiAAQA+oXnz5s1MQgDcu3dv10ADe0RVVVVMnDgxXnjhhWhsbNQQICd17949evbsmZT9quufAQCakTwtAAD4ZP77v/97VkQk4kTFpz71KQMDdpstW7bEQw89FLfffns899xzwl8gpw0fPjwRdWYymfTdd9/9gokBADQfTgADAHxCkyZNqtqyZcuCsrKyg7K91uHDh8fjjz9uaMAuVVNTE1OmTIlnnnkm6uvrNQTIealUKg477LBE1Lply5bXp0+fvsXUAACaDwEwAMAusHz58lkDBw7M+gC4S5cu0atXr1i5cqWhAZ9YbW1tTJ48OZ599tmoq6vTEKDZ6N27d3Ts2DEx+1QTAwBoXgTAAAC7wLPPPvvCwIEDr0hCrcOGDRMAA59IXV1dPP300zFt2rTYtm2bhgDNzrBhwxJT61/+8pcXTQwAoHnxDWAAgF3g1ltvnV9fX782CbUefvjhkUqlDA34yBoaGmLq1Klx6623xuOPPy78BZqlJF3/XFdXt/rWW29dYGoAAM2LE8AAALtAQ0NDZs2aNc/16dPns9lea7t27aJPnz6xZMkSgwM+7J9xMW3atHjqqaeiurpaQ4Bmbb/99ou2bdsmotbVq1fPNDEAgOZHAAwAsIs8++yz05IQAEdEHHHEEQJg4AOl0+mYNWtWTJo0KTZt2qQhABFx5JFHJqbW6dOnTzMxAIDmxxXQAAC7yC233PJaQ0NDZRJqHT58eLRo0cLQgJ1Kp9Px3HPPxW233Rb333+/8Bdgh6KiovjUpz6ViFobGho23HLLLXNNDQCg+XECGABgF6murk6Xl5c/t88++5yR7bW2bNkyDj300Hj55ZcNDvindDodL7/8ckyZMiXKy8s1BOBdhgwZEkVFRYmodc2aNc/V1tamTQ0AoPkRAAMA7EIvvvjiM0kIgCMiRo4cKQAGIiIik8nE7NmzY+LEibFmzRoNAXif/VNSzJo161kTAwBongTAAAC70O233/7KOeecszU/P78022sdMGBAtG/f3tWu0My9+uqrMWnSpFi1apVmALyPjh07xgEHHJCIWhsbG6u/8Y1v/NXUAACaJwEwAMAutHLlyob169fP6tat2+hsrzWVSsXhhx8ekyZNMjhohubMmROTJ0+OJUuWaAbAh3D44YdHKpVKRK3r16+fVVFR0WhqAADNU54WAADsWq+++mpirts77LDDDAyamTfffDP+/d//PX7yk58IfwE+pFQqFSNGjEhMva+88sozpgYA0Hw5AQwAsIvddNNNz5166qnV+fn5rbO91m7dukX//v1j4cKFBgc5btmyZfHYY4/F/PnzNQPgIzrggAOic+fOiai1sbFxy4033jjL1AAAmi8BMADALrZy5cqG8vLyGT179vx0Euo9+uijBcCQw5YvXx7jxo0T/AJ8wv1SUpSXlz9TXl7eYGoAAM2XABgAYDeYMWPGUxdccEEiAuAhQ4ZE69ato7q62uAgh6xcuTImTJgQc+fOjUwmoyEAH1ObNm3i0EMPTUy9zz777FOmBgDQvPkGMADAbvDVr371lYaGhk1JqLWgoCCOOOIIQ4McsW7duvj5z38ed955Z8yZM0f4C/AJjRw5MvLz8xNRa0NDw8abbrrpVVMDAGjenAAGANgNKisrm1atWjW9T58+5ySh3qOPPjqefPJJQREk2Pr16+Oxxx6L2bNn+3cZYBdJpVIxatSoxNS7cuXKadXV1WmTAwBo3pwABgDYTaZNm5aY6/c6duwYAwYMMDRIoA0bNsSvf/3r+Nd//dd49dVXhb8Au9CAAQOiY8eOian36aefftLUAAAQAAMA7CZf+9rX5tTX11ckpd6jjjrK0CBBqqqq4v77749vf/vb8eKLL0ZTU5OmAOxiRx55ZGJqra+vX/eNb3zjdVMDAMAV0AAAu0ltbW16xYoVT++///6fT0K9hx56aLRt2zaqqqoMD7LYli1bYsqUKfHcc8/F9u3bNQRgN2nbtm0MGTIkMfUuX778qdraWtc/AwDgBDAAwO70xz/+cUJSas3Pz4/jjjvO0CBL1dTUxKOPPhq33XZb/OUvfxH+Auxmxx57bOTn5yel3Myvf/3rCaYGAECEABgAYLe66667llZXV89PSr1HH310tGjRwuAgi7wd/H7jG9+IqVOnRn19vaYA7GYtWrSIo48+OjH1btmy5Y177rlnhckBABDhCmgAgN3u9ddfn3T44YcPSEKtxcXFcdhhh8XMmTMNDvayurq6ePrpp2PatGmxbds2DQHYgw477LAoKSlJTL3z5s17wtQAAHibE8AAALvZ9773vanpdLohKfWecMIJkUqlDA72koaGhpg6dWrceuut8fjjjwt/AfawVCoVJ5xwQmLqTafT27/73e8+ZXIAALzNCWAAgN1s+vTpWyoqKmZ26dIlER/Y7d69e/Tv3z/efPNNw4M9qKGhIaZNmxZPPfVUVFdXawjAXnLAAQdE9+7dE1NvRUXFczNmzPAXBwAA/+QEMADAHjBr1qxEXcuXpFMvkHTpdDqee+65uP322+PRRx8V/gLsZccff3yi6p0xY8YkUwMA4J2cAAYA2AO++tWvvnT66adXFRYWtk1CvQMHDoyOHTvGhg0bDA92k3Q6HbNmzYrJkyfHxo0bNQQgC3Ts2DEGDhyYmHobGhoqb7755pdMDgCAd3ICGABgDygvL29YsWLF1MRsEvPy4sQTTzQ42A3S6XS8+OKL8Z3vfCfuv/9+4S9AFjnppJMiLy85r8tWrFgxpaKiotHkAAB4JwEwAMAe8qtf/erRiMgkpd6jjjoqysrKDA52kUwmE6+++mp873vfi1//+texdu1aTQHIImVlZXHUUUcl6q+W//7v//6zyQEA8G4CYACAPeQ///M/l1dWVv4tKfUWFhbGMcccY3CwC7wd/P785z+PNWvWaAhAFjruuOOioCA5X0urqqqa/dOf/nS1yQEA8G4CYACAPeill14al6R6jzvuuCgqKjI4+JjmzJkTd911V/z85z+P1au9owfIVkVFRYn7xbcXXnhhnMkBALAzBVoAALDnjB079pkFCxZUFhYWtktCvSUlJXHEEUfE9OnTDQ8+gjfffDPGjx8fb731lmYAJMCRRx4ZJSUliam3oaFh0zXXXPOsyQEAsDMCYACAPai8vLxh6dKlE/v3739xUmo+8cQT49lnn410Om2A8AEWLVoUjz32WCxevFgzABIiLy8vTjzxxETVvGTJkifKy8sbTA8AgJ3ucbUAAGDP+u1vfzsxIjJJqbdjx44xdOhQg4P3sXz58rj77rvjRz/6kfAXIGGGDRsWHTp0SFLJmd/85jePmxwAAO9FAAwAsIf953/+5/JNmza9kqSaTz/99EilUoYH77Jy5cr4yU9+Et///vdj/vz5GgKQMHl5eXHGGWckquZNmza9fM8996wwPQAA3osroAEA9oKXXnpp/KmnnnpYUurt2rVrDBkyJGbPnm14EBHr1q2L8ePHx+zZsyOTyWgIQEINHTo0OnfunKiaX3jhhQkmBwDA+xEAAwDsBZdffvkzS5YsWVdUVNQlKTWfccYZ8be//U3YRbO2fv36eOyxxwS/ADkglUrF6aefnqia6+rq1lx22WXTTQ8AgPcjAAYA2AsqKyub5s+f/8ihhx56dVJq7tatm1PANFsbNmyIxx9/PF555ZVoamrSEIAc8KlPfSq6du2aqJrfeOONcdXV1WnTAwDg/fgGMADAXvL1r399XDqdrktSzb4FTHNTVVUV999/f3z729+OF198UfgLkCNSqVR8+tOfTlTN6XS69pvf/OZjpgcAwAdxAhgAYC+ZMWNG9Zo1a/7Ss2fPxLx97N69ewwcODDmzJljgOS0LVu2xIQJE+KFF16IxsZGDQHIMYceemh069YtUTWvXr36qRkzZlSbHgAAH8QJYACAvejXv/71HyMiUR8SPeuss5wCJmdt27YtHn300bjtttviueeeE/4C5KC8vLwYM2ZM0srO/OpXv/qT6QEA8KH2vFoAALD3fP/733+rqqoqUR/V7dGjR3zqU58yPHJKfX19TJ06Nb71rW/F1KlTo76+XlMActSIESOiS5cuiap506ZNf73rrruWmh4AAB+GABgAYC975plnHkpazWeccUbk5dlKkjvmzZsXjz76aGzdulUzAHJYQUFBnH766Ymre9q0aQ+aHgAAH5a3dgAAe9nYsWNn1tfXr01SzZ07d47DDjvM8ACARBk5cmR06NAhUTXX1dWtHjt27POmBwDAhyUABgDYyyorK5tee+21Pyat7jPPPDMKCgoMEABIhBYtWiTy9O/s2bP/UF1dnTZBAAA+LAEwAEAWuOqqqyY0NjZWJanm9u3bx9FHH214AEAiHHfccdGmTZtE1dzQ0LDxiiuumGh6AAB8FAJgAIAssGDBgrqFCxc+lrS6R48eHYWFhQYIAGS1li1bxsknn5y4uhcuXDhu6dKl200QAICPQgAMAJAlvv71r/8pnU7XJqnmtm3bximnnGJ4AEBWO+2006K0tDRRNTc1NdV+7Wtfe8j0AAD4qATAAABZ4umnn968fPnyxF3xN3r06GjXrp0BAgBZqUOHDnH88ccnru5ly5ZNmD59+hYTBADgoxIAAwBkkbvvvvtPmUymKUk1FxYWxumnn254AEBWOvPMMxP3yYpMJtN41113/dH0AAD4OATAAABZ5Be/+MWatWvXTkta3UcccUT06tXLAAGArNK7d+847LDDEld3eXn5X+6///51JggAwMchAAYAyDIPP/zwn5JWcyqVijPPPNPwAICsMmbMmEilUomr+8EHH/yT6QEA8HEJgAEAsszXv/71NzZs2DAraXUPHDgwDj74YAMEALLCoEGDYsCAAYmru6KiYuatt966wAQBAPi4BMAAAFlo3Lhxv01i3WPGjIm8PFtMAGDvysvLizFjxiSy9j//+c+/NUEAAD7RflgLAACyz/XXXz+nqqrqr0mru1evXnHUUUcZIACwVx1zzDHRvXv3xNW9adOmV2666aa5JggAwCchAAYAyFJ/+tOf7k1i3WPGjInS0lIDBAD2ijZt2sRZZ52VyNofeOCBe00QAIBPSgAMAJClbrrpprlJPAVcXFwcZ555pgECAHvFWWedFS1btkxc3Zs2bXrl5ptvnmeCAAB8UgJgAIAsNm7cuF8lse5Ro0ZF7969DRAA2KP69OkTI0eOTGTtjz322K9MEACAXUEADACQxcaOHTu7qqrqb0mrO5VKxfnnnx+pVMoQAYA9tv/4/Oc/n8j9R2Vl5d+uueaav5kiAAC7ggAYACDLTZ069bdJrLtv374xZMgQAwQA9ojDDjsssTeQTJ48+TcmCADAriIABgDIcpdeeumLVVVVryax9s9//vNRXFxsiADAblVaWhrnn39+Imuvqqr66+WXX/6SKQIAsKsIgAEAEuChhx76WRLrLisri9NPP90AAYDd6qyzzoqSkpIklp753e9+91MTBABgVxIAAwAkwA033DB3w4YNs5JY+3HHHRd9+vQxRABgt+jbt28cddRRiay9oqJi1te//vU3TBEAgF1JAAwAkBA///nPfxoR6aTVnUql4vOf/3zk5dl6AgC7Vn5+flx00UWRSqWSWH76F7/4xX+bIgAAu5q3cAAACXHHHXe8tW7duulJrL13795xzDHHGCIAsEudcMIJ0b1790TWXl5e/pc77rjjLVMEAGBXEwADACTI3XfffW8mk2lKYu1nnXVWtG3b1hABgF2iQ4cOcfrppyey9kwm03T33Xf/3BQBANgdBMAAAAlyzz33rCgvL386ibW3bNkyzj33XEMEAHaJc889N1q0aJHI2tesWTP1xz/+8UpTBABgdxAAAwAkzA9/+MOfZzKZhiTWPnz48Bg0aJAhAgCfyKGHHhpDhw5NZO3pdLrhBz/4wS9MEQCA3UUADACQMPfee+/qRYsWPZDU+i+++OIoKSkxSADgY2ndunVcfPHFia1/4cKFf7jvvvvKTRIAgN1FAAwAkECXXXbZrxsaGjYlsfaysjJXQQMAH9u5554bpaWliay9oaFh4+WXX/47UwQAYHcSAAMAJNDs2bNrXn311V8ntf4jjjgiDj74YIMEAD6SwYMHx+GHH57Y+l955ZX7Zs+eXWOSAADsTgJgAICEOueccx6tqalZmtT6L7roomjZsqVBAgAfSsuWLeNzn/tcYuuvqalZMmbMmMdMEgCA3U0ADACQUJWVlU3Tpk37RVLrb9++fZx++ukGCQB8KGeccUa0b98+sfU/+eST91ZXV6dNEgCA3U0ADACQYOedd960qqqqV5Ja/wknnOAqaADgAx188MFx/PHHJ7b+TZs2vXzBBRc8a5IAAOwJAmAAgIT74x//eG9EZJJYeyqVigsuuMBV0ADAe2rZsmVccMEFkUqlkrqEzP333/8zkwQAYE8RAAMAJNzNN988b9WqVU8ktf6OHTsm+nt+AMDudcEFF0THjh0TW/+KFSse//rXv/6GSQIAsKcIgAEAcsCNN974k6ampq1JrX/kyJExdOhQgwQA/pdPfepTMWLEiMTW39TUVH3zzTf/t0kCALAnCYABAHLAxIkTK//+97//KslruPDCC6OsrMwwAYCIiGjTpk18/vOfT/QaZs+efd/EiRMrTRMAgD1JAAwAkCPOPvvsh2pqapYntf7S0tK46KKLDBIAiFQqFV/84hejtLQ0sWuoqal566yzznrYNAEA2NMEwAAAOaKioqJx0qRJP07yGgYPHhwjR440TABo5o444og46KCDEr2GJ5544qeVlZVNpgkAwJ4mAAYAyCGXXHLJzIqKihlJXsMFF1wQ3bp1M0wAaKZ69uyZ+KufKyoqZnzhC1+YZZoAAOwNAmAAgBzzb//2b/ek0+ntSa2/RYsWceWVV0ZhYaFhAkAzU1hYGF/60pcSvQ9Ip9Pb/+3f/u0e0wQAYG8RAAMA5Jh777139aJFix5M8hq6d+8eZ555pmECQDNzxhlnRPfu3RO9hsWLFz947733rjZNAAD2FgEwAEAO+uxnP/vL2traRL94PPHEE2Pw4MGGCQDNxKBBg+Kkk05K9Bpqa2tXn3vuub80TQAA9iYBMABADlq8eHH9uHHj/j3Ja0ilUnHJJZdE27ZtDRQAclybNm3ikksuiVQqleh1jBs37t8XL15cb6IAAOxNAmAAgBx1+eWXv1RRUTEjyWsoLS2NL3zhC4l/GQwAvLe3f+mrdevWiV5HRUXFM5dffvlLJgoAwN4mAAYAyGE33HDDXU1NTVuTvIaDDjrI94ABIId95jOfiUMOOSTRa2hqaqq+4YYbfmiaAABkAwEwAEAOGzdu3MbZs2cn/jt0p5xyiu8BA0AOOuSQQ+LTn/504tfx17/+9efjxo3baKIAAGQDATAAQI77zGc+81B1dfXCJK8hlUrFF7/4xejQoYOBAkCO6NixY3zpS19K/KceNm/ePO+00057xEQBAMgWAmAAgBxXXV2dfuCBB34UEekkr6O4uDguvfTSyMuzhQWApMvPz4/LLrssiouLk76U9P333/+ftbW1aVMFACBbeHsGANAMXH/99XMWLVr0YNLXsf/++8e5555roACQcOedd1707ds38etYuHDhH7/61a++bqIAAGQTATAAQDNxySWX/Lyurq486es4/vjjfQ8YABJs2LBhccwxxyR+HXV1dWsuvPDC+0wUAIBsIwAGAGgmXnvttdoHHnjguxGRSfI6UqlUfOlLX4oePXoYKgAkTO/evePSSy9N/Hd/IyLzwAMPfO/111+vNVUAALKNABgAoBm5+uqr/7Z06dJHk76OoqKiGDt2bJSWlhoqACRE69at46qrrorCwsLEr2X58uXjrr766r+ZKgAA2UgADADQzJx33nn/r66ubnXS19GhQ4e4/PLLIy/PlhYAsl1eXl5cfvnl0b59+8Svpb6+ft0ll1zyE1MFACBr999aAADQvLz++uu1Dz744Pcj4VdBR0QMGDAgzjrrLEMFgCw3ZsyYOPDAA3NiLY899tgPXnnllW2mCgBAthIAAwA0Q1/5ylf+umbNmqm5sJaTTz45Dj30UEMFgCw1ZMiQOOmkk3JiLWvXrv3LpZde+oKpAgCQzQTAAADN1GWXXfYf9fX1FUlfRyqViksvvTS6d+9uqACQZXr06BFf/OIXI5VKJX4tDQ0Nm6655pofmioAANlOAAwA0EzNmDGj+oEHHvhO5MBV0C1btozrr78+2rZta7AAkCXatWsX1113XbRs2TIXlpN56KGH/nXSpElVJgsAQLYTAAMANGNf+cpX/rpkyZI/58Ja2rZtG1dffXW0aNHCYAFgL2vRokVcffXVOfPLWUuXLn30iiuueNlkAQBIAgEwAEAzd+655/6ktrZ2eS6spXfv3jlzzSQAJNXbn2fYZ599cmI9tbW1y88555wfmywAAEkhAAYAaOYWLFhQ97Of/ezbmUymMRfWM2zYsDjllFMMFgD2kk9/+tMxdOjQnFhLJpNp/NnPfvbtBQsW1JksAABJIQAGACBuvfXWBfPnz78/V9Zz5plnxuDBgw0WAPaw4cOHx2c+85mcWc/8+fN/d+utty4wWQAAkkQADABARESMGTPmvpqamrdyYS2pVCouu+yy6Nmzp8ECwB7Su3fvuPjii3PmUwxbt25ddPrpp//aZAEASBoBMAAAERGxcuXKhh/+8Ie3pdPpnLjisGXLlvEv//Iv0aVLF8MFgN2sS5cucf3110dRUVFOrKepqanmu9/97jfKy8sbTBcAgKQRAAMA8E933XXX0ueff/6eXFlPaWlpXHvttVFWVma4ALCblJWVxXXXXRclJSU5s6aZM2fe/f/+3/9bZboAACSRABgAgP/l5JNPHldeXv50rqynU6dOMXbs2Jw5kQQA2aSoqCiuueaa6NixY86sqby8/MlTTz11gukCAJBUAmAAAP6PSy655K66urq1ubKefffdN6644orIy7P9BYBdJS8vL6688sro3bt3zqyprq6u/JJLLvmh6QIAkOi9uhYAAPBus2bNqn7ooYfujIh0rqxp4MCBcd555xkuAOwi559/fhxyyCG5tKT0gw8+eOesWbOqTRcAgCTLb3tQ9NzpjndbRG15oQ4BADRTEydOXDNmzJi8Tp06Dc2VNfXp0yfy8/PjzTffNGAA+ATOOuusOOmkk3JqTa+//vp9Z5555kTTBQAgCYq7N0Ze6c5/5gQwAADv6dRTT/31li1bXs+lNZ122mlx9NFHGy4AfEzHHntsnHrqqTm1pi1btrxx2mmn/cZ0AQDIBQJgAADeU0VFReONN974jcbGxqpcWtcFF1wQRx55pAEDwEd05JFHxuc+97mcWlNjY2PVzTff/I2KiopGEwYAIBcIgAEAeF9//OMf1z/yyCPfiRz6HnAqlYqLLroohgwZYsAA8CENHTo0LrrookilUrm0rPQjjzzynfvvv3+dCQMAkCsEwAAAfKBLL730hQULFvwupzbCeXnxpS99Kfbff38DBoAPcNBBB8WXvvSlyMvLrVdJCxYs+N2ll176ggkDAJBLBMAAAHwoo0eP/mVVVdXcXFpTYWFhfOUrX4kePXoYMAC8h169esUVV1wRBQUFObWuqqqqOaNHj/6lCQMAkGsEwAAAfCgVFRWNV1111S0NDQ0bcmldJSUlcfPNN8c+++xjyADwLr17946bbropiouLc2pdDQ0NG6666qqv++4vAAC5SAAMAMCHNmHChE3333//tzKZTDqX1lVcXBzXXXdddO/e3ZABYIfu3bvHtddeG61atcqpdWUymfT999//rQkTJmwyZQAAcpEAGACAj2Ts2LGz58+f/9tcW1fr1q3juuuuiw4dOhgyAM1ehw4d4rrrrovWrVvn3Nrmz5//m7Fjx842ZQAAcpUAGACAj+y44477xaZNm17MtXW1a9cubrzxxmjXrp0hA9BstW3bNmf/Pty4ceOLxx13nO/+AgCQ0wTAAAB8ZNXV1emLL774W3V1datzbW0dO3aMG2+8Mdq0aWPQADQ7ZWVlceONN0bHjh1zbm21tbWrL7zwwturq6vTJg0AQC7Lb3tQ9NzZD9LbImrLC3UIAICdWrZsWf327dtfOvbYY0/Ny8trkUtrKykpiaFDh8Zrr70WNTU1hg1As9ChQ4f42te+Fp06dcq5tTU1NW39zne+M/bBBx9cb9IAAOSC4u6NkVe6858JgAEA+NhefPHFzYcccsiyAQMGnBgRqZzaRBcXx5AhQ4TAADQLHTt2jJtuuik6dOiQi8tLjx8//ravfvWrc0waAIBc8X4BsCugAQD4RC688MIZb7zxxm9ycW3t27ePm266KSdPQgHA2zp16pTL4W+88cYbv77wwgufM2kAAJoLATAAAJ/YqFGjfrFhw4aZubi2t0Pgzp07GzQAOadz585x0003Rfv27XNyfRs2bJg5atSo+0waAIDmRAAMAMAnVltbm77sssu+V1dXtzoX19euXbu44YYbomPHjoYNQM7o0KFDXH/99dGuXbtc3Z+s/sIXvvDd2tratGkDANCc+AYwAAC7xJIlS+oj4pVRo0admpeX1yLX1ldcXBxDhw6NuXPnxrZt2wwcgETr0qVL3HjjjTl77XNTU1P1nXfeec0f/vCHdaYNAEAuer9vAAuAAQDYZWbNmlXVo0ePuYceeujoVCqVn2vra9WqVYwYMSIWLVoUlZWVBg5AIu23335x0003RVlZWU6uL51ON/z617++4fbbb3/TtAEAyFUCYAAA9phJkyatPeqoozbsu+++R+fi+goLC2P48OGxbNmy2LBhg4EDkCgDBgyIa6+9Nlq1apWza5w2bdq/XXLJJc+ZNgAAuez9AmDfAAYAYJc77bTTHn/rrbcezNX1FRUVxTXXXBNDhgwxbAASY8iQIXHNNddEUVFRzq5xwYIFvzv99NOfMG0AAJozATAAALvFEUcccc+GDRtm5ur6CgoK4sorr4wjjjjCsAFIwt/LceWVV0ZBQUHOrrG8vPypESNG/LdpAwDQ3AmAAQDYLaqrq9MXXXTRd2pra1fk7GY6Ly8uvvjiOPLIIw0cgKw1atSouPjiiyMvL3dfA23dunXxZz/72e83NDRkTBwAgObON4ABANhtli9fvr2mpuaFY4899uT8/PyWubjGVCoVgwYNikwmE4sWLTJ0ALLK6aefHueee26kUqmcXWN9fX3FDTfccM3UqVOrTBwAgObi/b4BLAAGAGC3evnll7cUFBS8cMQRR4zOy8trkYtrTKVSccABB0SnTp1i7ty5kck4fATA3lVYWBhXXHFFHHPMMTm9zsbGxuo777zzKz/72c9WmzoAAM2JABgAgL1qxowZlb169Xp98ODBJ6dSqfxcXWfPnj2jb9++8fe//z0aGxsNHoC9olWrVnH11VfHwIEDc3qd6XS64be//e2Nt9122wJTBwCguREAAwCw1z3xxBPlw4cPX9OvX79jIyJn76Hs2LFjDBw4MObMmRN1dXUGD8Ae1a5du7jxxhujT58+ub7U9JQpU779xS9+8XlTBwCgOXq/ADhPewAA2FPGjBkz9Y033vh1rq+zZ8+eceONN0bHjh0NHYA9pkuXLnHTTTdF9+7dc36tc+fO/eU555zzF1MHAID/SwAMAMAe9alPfernS5cufTjX19mlS5e49dZb48ADDzR0AHa7gQMHxje/+c3o1KlTzq/1rbfeemjEiBG/MnUAANg5ATAAAHvcsccee8/GjRtfyPV1FhcXx7XXXhsjRowwdAB2m8MPPzyuuuqqaNmyZc6vdePGjc8fffTR95g6AAC8NwEwAAB7XEVFReNxxx339crKyr/l+loLCgrisssui/PPPz9SqZThA7DLpFKpOP/88+PSSy+NgoKCnF/vpk2bXj7ssMNuqaysbDJ9AAB4bwJgAAD2isWLF9efddZZN1dXV7/ZHNZ7/PHHx5e//OUoKioyfAA+sRYtWsSXv/zlOP7445vFequrq98cM2bMN8rLyxtMHwAA3l9+24Oi585+kN4WUVteqEMAAOw2a9asaVi1atWs0aNHH1dQUNA619fbrVu3OOCAA2LevHlRX1/vAQDgYykrK4trrrkmDjrooGax3rq6uvKxY8de89RTT202fQAA+Ifi7o2RV7rznwmAAQDYq+bNm1ezevXqZ04++eTjCwoKSnN9ve3atYuRI0fG8uXLY+PGjR4AAD6S/v37x0033RRdu3ZtFuutr69fd9111335T3/6U4XpAwDA/xAAAwCQ1ebMmbMtlUq9fOSRR56Ul5eX83ckt2jRIkaMGBG1tbWxdOlSDwAAH8rxxx8fX/rSl5rN5wQaGxu33HXXXdf99Kc/XWn6AADwvwmAAQDIejNnzqzs2bPn64MHDz4plUrl5/p6U6lUHHLIIdGqVatYsGBBZDIZDwEAO5WXlxef/exn4/TTT49UKtUs1pxOp7f//ve//+o3vvGN1z0BAADwfwmAAQBIhEmTJpXvs88+8wYOHHhCKpUqaA5r3m+//WLAgAExd+5c3wUG4P8oKyuL6667LoYNG9Zs1pxOp7f/8Y9/vOmqq676qycAAAB2TgAMAEBiTJw4cc3BBx+85MADDzwulUrlNYc1t2/fPoYOHRqLFi2KLVu2eAgAiIiIffbZJ66//vro2bNns1lzJpNpnDBhwm1f/OIXn/cEAADAexMAAwCQKI8++ujy/fff/42DDjrohOZwHXRERHFxcRx11FHR2NgYb731locAoJkbPXp0XHHFFVFSUtJs1pxOpxsefvjhr15yySWzPAEAAPD+BMAAACTO+PHjVw0cOHDpAQcccGxzOQmcSqViwIAB0aVLl3jjjTeiqanJgwDQzBQVFcWll14aJ554YrP53m/EP07+Pv7447dffPHFMz0FAADwwQTAAAAk0iOPPLLs0EMPXbb//vs3mxA4IqJHjx4xZMiQePPNN2Pr1q0eBIBmonv37vEv//IvccABBzSrdWcymaYnnnji9s997nPPeAoAAODDEQADAJBYDz/88NJjjjlmY+/evY+KiGZzFKq0tDSGDx8eq1evjvXr13sQAHLcwIED45prrol27do1t6VnZsyY8YOzzjprqqcAAAA+PAEwAACJdv/99795zDHHVO6zzz5HRDMKgVu0aBGHHXZYtGzZMhYuXBjpdNrDAJBjCgoK4pxzzonzzz8/WrRo0dyWn37uuefuOuWUUyZ4EgAA4KMRAAMAkHi///3v5w8bNmxF3759j2lO10GnUqno27dvDB06NBYvXhxbtmzxMADkiJ49e8YNN9wQgwcPblbf+434x7XPU6ZM+fbpp58+2ZMAAAAfnQAYAICc8OCDDy4ZNmzYin79+jWrEDgionXr1nHEEUdEfX19LF261MMAkGCpVCpOOOGEuOKKK6JNmzbNbv07wt9vnXPOOX/xNAAAwMcjAAYAIGc89NBDS4YNG7a8X79+xza3EDg/Pz8OPvjg6NWrV8yfPz8aGho8EAAJU1JSEpdffnmccMIJkZ+f3+zWn8lkGp944olvffazn53maQAAgI9PAAwAQE556KGHlo4cOXJdnz59RqWa252ZEdG1a9cYNmxYLFu2LCorKz0QAAnRt2/fuO6662K//fZrluvPZDLpp59++rvnnHPO054GAAD4ZATAAADknD/96U+LDj300KX7779/s7sOOiKiuLg4jjzyyCgpKYk333wz0um0hwIgSxUUFMRnP/vZuPDCC6OkpKRZ9iCdTjc88sgjt5x//vnTPREAAPDJCYABAMhJDz/88NId3wQelUqlmt09mqlUKvr06RMHH3xwLFy4MLZt2+ahAMgynTt3jrFjx8bQoUOjGV5aERH/CH+feOKJ2y+88MLnPBEAALBrCIABAMhZDz300JIePXq8NmjQoGPz8vJaNMcetG3bNkaNGhVNTU2xZMkSDwVAFkilUjF69Oi48soro0OHDs22D01NTdt++9vf/stll132oqcCAAB2HQEwAAA5bdKkSeXdu3efM3jw4GYbAufn58eAAQOiV69esWDBgti+fbsHA2Avad26dVx66aVx/PHHR35+frPtQ2NjY/WvfvWrf7nuuute81QAAMCuJQAGACDnTZ48eW1jY+OMI4444uiCgoKS5tqHrl27xqhRo2Lbtm2xcuVKDwbAHpRKpWLUqFExduzY6NWrV7PuRX19/fo77rjjK9/61rcWejIAAGDXEwADANAsPP/881UbNmx45rjjjjuqsLCwrLn2obCwMAYNGhT77bdfLF68OGpraz0cALtZ+/bt44orrogTTzwxCgub9/uU2tralTfffPPVP/nJT1Z7MgAAYPcQAAMA0Gz87W9/27p27doZJ5xwwsjCwsK2zbkXnTp1ipEjR0Z1dbXTwAC70ciRI+Pqq6+OHj16NPte1NTULL/hhhuu/e1vf7vOkwEAALuPABgAgGbltdde2zpv3rynTznllKFFRUWdmnMvCgsL49BDD4399tsvFi1a5DQwwC709qnfk08+udmf+o2I2Lx587yLL774unHjxm30dAAAwO71fgFwat9zYsTOftC4LmLjq610DwCAxOrVq1fhs88++69du3Y9QTciGhoaYurUqTF58uRobGzUEICPqaCgIE499dQYPXq04HeH8vLyp4499tjvrly5skE3AABg9+swrDYKuuz8ZwJgAAByWuvWrfNeeumlm/fdd9+zdeMfVq9eHffff38sWbJEMwA+ov322y8uuugi1z2/w8KFC38/fPjwnzY0NGR0AwAA9gwBMAAAzd7zzz9/8aGHHnp1RKR0IyKTycTMmTPjz3/+c9TV1WkIwAcoKSmJ8847L0aMGBGplL9Kdki//PLL9xx77LEPagUAAOxZ7xcA+wYwAADNwn333Tfn+OOP39yrV6/DQwgcqVQqevfuHcOHD49169ZFRUWFhwTgPRxyyCExduzY6N+/v/B3h0wm0/jMM8/828knnzxONwAAYM97v28AC4ABAGg2fve7370xePDgJf369Ts6lUrl60hEcXFxjBgxInr06BFLly6N2tpaTQHYoUOHDvGFL3whzjzzzCguLtaQHZqammoeeOCBWz73uc9N1w0AANg7BMAAALDDww8/vKygoOC54cOHH1FQUFCqI//QrVu3OO6446K0tDQWL14cTU1NmgI0Wy1btoxzzjknLr300ujevbuGvENtbe2K22677arbbrvtDd0AAIC9RwAMAADv8Oyzz25avHjx0yeddNKQoqKiTjryD3l5edGnT58YOXJkbN26NVatWqUpQLNz+OGHx1e+8pUYMGBA5OXlacg7VFVV/e3CCy+8/oEHHvDdAAAA2MsEwAAA8C7z58+vefbZZ58+44wz+hcXF/fSkf/RsmXLGDJkSOyzzz6xdOnSqKmp0RQg53Xs2DG++MUvximnnBItW7bUkHdZt27dMyeffPI3Xn755W26AQAAe9/7BcCpfc+JETv7QeO6iI2vttI9AAByWmFhYer555//0sEHH3y5bvxfTU1N8fzzz8f48eOjurpaQ4Cc07p16zjzzDPjyCOPdOJ35zJ///vff3rMMcfc39DQkNEOAADIDh2G1UZBl53/TAAMAAARMWnSpM8cc8wxt6RSKdfg7ERNTU1MmTIlpk2bFg0NDRoCJF5hYWGccsopcdJJJ0VRUZGG7EQ6na6fOnXqd88555y/6AYAAGSX9wuAXQENAAAR8Yc//GHhfvvt98aAAQOOysvLkwS8S2FhYQwYMCCGDh0amzZtinXr1mkKkFiDBw+Oq666KoYOHRoFBQUashONjY1Vv//972/5whe+MEs3AAAg+/gGMAAAfAgTJkxYXV1dPf3II4/8VGFhYTsd+b9KS0vjsMMOi/79+8eaNWti8+bNmgIkRu/evePyyy+PU045JUpLSzXkPWzdunXxLbfccs33vve9hboBAADZyTeAAQDgI+jTp0+LJ5988us9evQ4TTfe3/z58+ORRx6JlStXagaQtXr16hXnnHNODBgwQDM+wKpVq5444YQTfrBy5Ur3/QMAQBbzDWAAAPgYnnnmmfOHDx9+fSqVytON95bJZGL27Nkxbty4qKio0BAga3Tu3DnOOuusGDp0aKRSKQ15/z/Lm2bNmvXDk08++THdAACA7OcbwAAA8DH85je/eX3//fd//cADDzzSd4HfWyqViu7du8cxxxwT7dq1i2XLlkV9fb3GAHtN27Zt49xzz42LL744evToIfz9AI2NjdUPPvjgLZ/97Gf/ohsAAJAMvgEMAAAf0/jx41dFxPOHHXbYiMLCwjIdeW95eXnRu3fvOOqoo6KgoCBWrlwZjY2NGgPsMcXFxXHKKafEl770pejbt2/k5bnA4YPU1tau+MEPfnD9LbfcMk83AAAgQf/94xvAAADwyQwePLjVo48++s1u3bqdpBsfTn19fTzzzDMxderU2LZtm4YAu01ZWVmceuqpceSRR0ZRkQsbPqyVK1c+/ulPf/pHixcvdm0DAAAkjG8AAwDALvLkk0+edeSRR96USqVcl/MhCYKB3eXtE7/HHnus4PcjyGQyDbNmzfoP3/sFAIDk8g1gAADYRX7/+98v6NGjx2uHHHLIyPz8fL8x+SEUFBREv3794qijjoq8vLxYtWqVq6GBT6Rly5ZxwgknxBVXXBEHHXRQFBQUaMqH1NDQsOG3v/3t1z7/+c8/oxsAAJBcroAGAIBd7Lzzzut4991339m2bdvBuvHR1NTUxLPPPhvTpk2LLVu2aAjwoZWVlcXxxx8fxxxzTBQXF2vIR1RVVfW3a6+99vZHHnlkg24AAECyuQIaAAB2g06dOhVMmzZtbN++fT8XESkd+WgaGhri+eefjyeffDI2bJBFAO/7522cdNJJccQRR0RhodvKPobMokWL/nTsscf+pLKyskk7AAAg+QTAAACwG/3hD38Ydfrpp99WUFDQRjc+unQ6Ha+++mpMnTo1Vq5cqSHAP/Xq1StOOeWUGDp0aOTl5WnIx9DY2Fg1YcKEOy666KKZugEAALlDAAwAALvZaaed1vbee+/9docOHUbqxse3fPnymDZtWrz88suRTqc1BJqhvLy8OOyww+L444+P3r17a8gnsHHjxue//OUvf3fSpElVugEAALlFAAwAAHtAYWFh6qmnnjpv+PDh16RSKXeUfgIbNmyIGTNmxHPPPRc1NTUaAs1AcXFxjBo1Ko4++ujo2LGjhnwCmUym4ZVXXvl/J5100kMNDQ0ZHQEAgNzzfgFwftuDoufOfpDeFlFb7p0VAAB8WOl0On7zm9+8Xlpa+uLgwYM/VVhYWKYrH09xcXEMGDAgjj322GjTpk2sXbs2amtrNQZyUIcOHeKMM86ISy+9NAYOHBjFxcWa8gnU1tau+slPfnLjxRdf/IybFAAAIHcVd2+MvNKd/8wJYAAA2A1OPPHENvfdd9+tnTp1Olo3PrnGxsb429/+Fs8++2wsWrRIQyAH9OvXL44++ugYNmxYFBQUaMguUFFR8cwXv/jFf5s+ffoW3QAAgNzmCmgAANhLHn744RNGjx799YKCgta6sWusX78+Zs6cGc8//3xUV1drCCRIaWlpHHnkkXHUUUdF586dNWQXaWxs3DJ16tS7PvvZz/5FNwAAoHkQAAMAwF50ySWXdP3+97//rXbt2g3VjV2nsbExXnvttXjuuedi/vz5GgJZbMCAATFq1KgYPHiw0767WFVV1atf//rXv/e73/1urW4AAEDzIQAGAIC9rF27dvlTp0699OCDD740lUrl68iutXz58nj++efj5ZdfjpqaGg2BLFBSUhLDhw+PI444Inr37q0hu1gmk2mcN2/efSeeeOJvq6urfewXAACaGQEwAABkia9//ev73Xjjjf9aWlraXzd2vXQ6HW+++WY899xz8dprr0VjY6OmwB5UUFAQgwcPjlGjRsUBBxwQeXl5mrIbVFdXL/zP//zPf/3BD36wRDcAAKB5EgADAEAWOfjgg1v9+c9/vrZ3795jIiKlI7tHZWVlvPjii/HCCy/EunXrNAR2o65du8bIkSPj8MMPj7Zt22rI7pNZunTpn88888z/t3jx4nrtAACA5ksADAAAWejuu+8eePHFF9/WqlUrd6PuZuXl5fHqq6/GSy+9FOvXr9cQ2AU6d+4cI0aMiGHDhkW3bt00ZDerqalZ9tvf/vbOm266aa5uAAAAAmAAAMhS/fr1K3r44Ycv79+//4WpVMpdqXvA8uXL46WXXoqXX345qqurNQQ+grKyshg+fHiMGDHCd333kEwmk164cOEfzj777F8sXbp0u44AAAARAmAAAMh6P/3pT4d97nOf+2bLli176Mae0dDQEHPnzo2//vWvMXfu3Ni+Xa4CO9OyZcsYNGhQDBs2LA455JAoKCjQlD2ktrZ21R//+Mc7rr322r/rBgAA8E4CYAAASIA+ffq0ePTRR69wGnjPS6fTsXTp0nj11VedDIaIaNu2bQwbNiyGDRsWffr0ibw8fyTtSZlMpuG11177+ZlnnvmnioqKRh0BAADeTQAMAAAJ8uMf//jQCy644JutWrXaRzf2vLdPBs+ePTvmzp0bdXV1mkKzUFZWFoMHD45hw4ZF//79Iz8/X1P2gpqammX333//nTfccINv/QIAAO9JAAwAAAnTrl27/HHjxp37qU996qq8vDwb870kk8nEihUrYu7cuTFnzpxYsWJFZDIZjSEnpFKp6Nu3bwwbNiwGDRoUHTt21JS9qKmpqfbVV1/92ZgxY/5cWVnZpCMAAMD7EQADAEBCffnLX+5x++23f7V9+/aH68bet2XLlnjjjTdizpw5MW/evKivr9cUEqVly5Zx8MEHx6BBg+KQQw6J0tJSTckCGzdufPG73/3uv//iF79YoxsAAMCHIQAGAIAEKywsTE2cOPGMkSNHXlNQUNBaR7JDXV1dvPnmm/HGG2/EG2+8EevXr9cUslKXLl3ioIMOioMOOigOOOCAKCoq0pQs0djYuGXmzJk/PvPMMyc2NDS4XgAAAPjQBMAAAJADjjzyyNY/+9nPrujbt++5EZGnI9mluro6Fi5cGPPnz4958+ZFZWWlprBXtGvXLg455JAYMGBA9O/fP1q39nsjWSj91ltv/fmqq676xaxZs6q1AwAA+KgEwAAAkEN++ctfjhgzZsyNrVq16q0b2SmdTsfKlStj0aJFsXDhwli8eHFs27ZNY9gtSkpKol+/ftG/f//Yf//9o1evXpGX53dEslVNTc3yRx999EdXXnnlK7oBAAB8XAJgAADIMd26dSt8+OGHPzd48ODL8vPzbdyzXCaTiTVr1sTChQtj0aJFsWjRotiyZYvG8LGUlZVF//79/xn6du/ePVKplMZkuaampprXXnvtV2PGjHmgoqKiUUcAAIBPQgAMAAA56rjjjiv7r//6r8tdC508mzdvjuXLl8eKFSti+fLlsXjx4qipqdEY/pfi4uLo169f9O7dO/bZZ5/Yd999o6ysTGMSJJPJpJcsWfLn66677pfTp0/3mx8AAMAuIQAGAIAc99Of/nTIueeee3NpaWlf3UimxsbGWLlyZSxdujSWLVsWy5cvj3Xr1kUmk9GcZiKVSkWXLl1in332iT59+kSfPn2iV69eUVBQoDkJtXXr1sUPPvjgj6699tq/6wYAALArCYABAKAZaNeuXf64cePOGTp06BUFBQWtdST56uvrY+XKlf88KbxixYpYu3ZtpNNpzUm4vLy86Nq1a+yzzz7//KdXr17RsmVLzckBjY2NW/7617/+4pxzznm0srKySUcAAIBdTQAMAADNyIknntjmnnvuuXzfffcdk0qlHB3MMdu3b481a9bEmjVrYu3atbF27dooLy+PDRs2CIazUF5eXnTs2DG6desWXbt2jW7dukW3bt2iR48eUVhYqEE5JpPJNC5ZsuRR1z0DAAC7mwAYAACaoa9+9av7Xnfdddd16NDhCN3IfY2Njf8MhNetWxfr1q2LioqKWLduXWzbtk2DdrPS0tLo3LnzP//p0qVLdO3aNbp27eoK52Ziw4YNM//rv/7rxz/60Y+W6wYAALC7CYABAKAZ++UvfznirLPOuq64uNj3gZupmpqaWL9+/T//qaioiMrKyqisrIxNmzZFY2OjJn2AgoKCaN++fbRr1y7at28fHTt2jC5dukSnTp2ic+fOUVxcrEnN1NatW98aP378PVdcccXLugEAAOwpAmAAAGjm2rVrl//ggw+eOWLEiCsLCwvb6gjvtHnz5n+GwZs2bYrKysqorq6OLVu2xJYtW6K6ujqqq6sjk8nk3NpTqVS0bt06WrduHWVlZdGmTZsoLS39X2Fvu3btok2bNh4U/peGhobKl1566efnnHPO+OrqavevAwAAe5QAGAAAiIiIoUOHFt97770XHHjggRfk5+c7ssiHlk6n/xkEV1dXR01Nzfv+k8lkora2NtLpdNTX10dTU1PU1dXt0u8U5+XlRcuWLSM/Pz+KiooiLy8vWrVqFalUKoqLi3f6T0lJSbRq1eqfgW9paWnk5eUZMB9aU1NTzYIFC/745S9/+Y+zZ8+u0REAAGBvEAADAAD/y2mnndb2rrvuurRPnz5n5+XlFeoIe9LbgfDbtm/f/r7XUBcUFESLFi3++b/fDnxhT8pkMg1LliwZd8stt/xq0qRJVToCAADsTQJgAABgp0477bS2d95554X777//5wTBAP9XJpNpWLhw4QO33nrrHwS/AABAtni/ADi/7UHRc2c/SG+LqC33/gcAAHLZokWL6u69995X0un0swcddFCnkpKS3roC8A8VFRUz/7//7/+77aKLLpq6aNGiOh0BAACyRXH3xsgr3fnPBMAAAEDMnDmz8u67736qqalpWr9+/Ypbt27dN5VKpXQGaG4ymUx6zZo1U+65555/Peeccx6cOXNmpa4AAADZRgAMAAB8KDNnzqz88Y9//Gw6nZ4uCAaak7eD37vvvvtfzz///McEvwAAQDYTAAMAAB+JIBhoLgS/AABAEgmAAQCAj+XtILisrOyFvn37diwuLu4VEYJgIBdkKioqnrv33nu/PWbMmEcEvwAAQJK8XwCc2vecGLGzHzSui9j4aivdAwAA/unqq6/u8ZWvfOX8Pn36nJWXl9dCR4CkSafT9UuXLh3/X//1Xw/84he/WKMjAABAEnUYVhsFXXb+MwEwAADwkZ1xxhntb7/99rMPPPDA8/Pz81vrCJDtmpqaqhcsWPDgd77znUcmTpzotC8AAJBoAmAAAGC3GD58eMkPf/jDzwwePPjioqKijjoCZJv6+voNr7322u9vvPHGx2fPnl2jIwAAQC4QAAMAALvV0KFDi++5556zDjnkkPOKioq66giwt9XV1a19/fXXH7z++uvHC34BAIBcIwAGAAD2iFatWuXdc889w0455ZTzO3bseJSOAHtYZsOGDbOmTJny4PXXX/9qbW1tWksAAIBcJAAGAAD2uH/913/tf/7555/dq1ev0/Ly8lroCLC7pNPp+pUrV05+4IEHHvnOd76zSEcAAIBcJwAGAAD2mjPOOKP97bfffvYBBxzw2YKCgjY6AuwqjY2NVW+++eafv/e97z06YcKETToCAAA0FwJgAABgrxs+fHjJ97///dGDBg0aU1paur+OAB9XdXX1wtdee+3Rr371q1Nfe+21Wh0BAACaGwEwAACQVb761a/ue8EFF3y6b9++ZxUUFLTWEeCDNDY2bnnrrbfG/+EPf5j4ox/9aLmOAAAAzZkAGAAAyEpDhw4t/sEPfnDy4MGDz27dunV/HQHerbq6+s2XX375weuuu+7ppUuXbtcRAAAAATAAAJDlCgsLU3ffffeQ0aNHn9G1a9fj8vLyinQFmq90Ol1XXl4+bcqUKROuvfbav+sIAADA/yYABgAAEqNPnz4t/v3f/33UyJEjz2rfvv2nIiKlK9AsZDZt2vTXF1544bGvfe1rzzntCwAA8N4EwAAAQCJddNFFXa6++uqTDzzwwLNbtmzZTUcg99TV1a1ZsGDBuJ/+9KdP3n///et0BAAA4IMJgAEAgETr1q1b4d13333k4YcffmqHDh2OyMvLK9QVSK50Ot2wcePGWbNmzZp8/fXXz6qoqGjUFQAAgA9PAAwAAOSMo48+uvWtt956/CGHHHJKu3btBkdEnq5AIqQrKytfmzdv3uQ777xz+owZM6q1BAAA4OMRAAMAADnpuOOOK/vGN75x/CGHHHJa27ZtB4bvBUO2yVRVVc2dN2/epO9///vTpk+fvkVLAAAAPjkBMAAAkPNuu+22vmedddZJffr0Oa5Vq1a9dQT2ntra2uXLly+f/uijjz51xx13vKUjAAAAu5YAGAAAaFa+9KUvdbv44ouP7t+//wlOBsMekamqqpq7cOHCv/z+97+fcd9995VrCQAAwO4jAAYAAJqtSy65pOtll112jDAYdrl0VVXVvIULF/7lV7/61bO/+93v1moJAADAniEABgAAiIirr766x/nnnz9q//33P7JNmzZDUqlUga7Ah5fJZBoqKyv/vnjx4uf+9Kc/zbr33ntX6woAAMCeJwAGAAB4l379+hV97WtfGzRy5MhRPXv2PLaoqKizrsD/VV9fv37VqlXPvPDCC8/9+7//+5zFixfX6woAAMDeJQAGAAB4H61bt8678847Bx599NFHde/efURpaen+4apomq/M1q1bF69Zs+bF5557btY3v/nNOdXV1WltAQAAyB4CYAAAgI9g8ODBrcaOHXvI8OHDD+vevfvw1q1bHxACYXJXprq6+s01a9a88sorr7z8k5/8ZN5rr71Wqy0AAADZSwAMAADwCVx//fX7nHHGGYf169dvePv27Yfm5+e31hWSrLGxsXrjxo2vvvXWWy+PHz/+lR//+McrdQUAACA5BMAAAAC70Je//OUe55xzzvA+ffoM7tix45CioqKuukI2q6+vX7t27doXFy9ePGfixImv3Xvvvat1BQAAILkEwAAAALvRl7/85R6f+cxnBvfr129Qly5dDm/ZsqVAmL2qrq5u7bp16wS+AAAAOUoADAAAsIe0atUq75prrtnn2GOPPXi//fY7uH379oeUlpb2TaVS+brDbpKuqalZtnHjxnlvvfXW3GeffXbef/3Xfy2vra1Naw0AAEBuEgADAADsRQceeGDLq6+++oAhQ4Yc3LNnz4Pbtm17sGuj+biampqqq6qqXi8vL583Z86ceb/85S/nvfjii1t1BgAAoPkQAAMAAGSZoUOHFn/xi1/cf9CgQQf26NHjwHbt2h3YqlWr3qlUKk932CFdU1OzvLKycsHq1asXzJkzZ8Gf//znJTNmzKjWGgAAgOZNAAwAAJAAxx13XNkFF1xw4MEHH3xA165dDywtLd23pKRkn1QqVag7uS2TyTRs27ZtRXV19dJ169YtfOONNxZOmDBh4YQJEzbpDgAAAO8mAAYAAEiw8847r+OJJ57Yp3///vt16dKlT5s2bfZr3bp1v/z8/GLdSZampqaa6urqxZs3b16ybt26pQsXLlzy9NNPL33ooYc26A4AAAAflgAYAAAgx7Rr1y7/kksu6TFkyJCe++67b89OnTr1Kisr61VcXNyzZcuW3VKpVL4u7R2ZTKaprq6uvKamZtWWLVtWVlRUrFy6dOnK2bNnr7r//vvXVFZWNukSAAAAn4QAGAAAoBnp1KlTwec+97luQ4cO7bnPPvv0aNeuXafWrVt3Li4u7tqyZcvORUVFnfLy8lro1MeTTqe319fXr6+rq6uoqalZW11dvb6ysnL9ihUrVr/66qurHnzwwbUVFRWNOgUAAMDuIgAGAADgfznjjDPaH3bYYZ369OnTuUuXLp3Kysral5SUtC0uLu5YVFTUrqioqG2LFi065OfnlzaXnjQ1NW3dvn37xvr6+qr6+vrKmpqaDdu2bavasmXLpnXr1lUsXbp0/Ysvvrh+4sSJlZ4gAAAA9iYBMAAAAB9Lr169CkeNGtXuoIMOatexY8ey9u3bl7Zp06Z1SUlJWXFxcetWrVq1btGiRVlRUVHrwsLC1hGRX1hYWBoR+QUFBSV5eXkFeXl5u/0/LtPpdG06nW5sbGzcFhFNDQ0NW3f83+r6+vrq7du3b6mtra2uqamp3rZtW/XmzZurN23aVL1hw4YtCxYsqJo1a1bl0qVLt5s4AAAASSAABgAAYK/q169fUffu3Vvss88+xSUlJQVv//8LCwtT3bp1+8BTxuXl5VsbGhoyb//vbdu2Na5YsaJmzZo12xcvXlyvwwAAADQn7xcAF2gPAAAAu9vixYvrdwS11boBAAAAu0+eFgAAAAAAAADkBgEwAAAAAAAAQI4QAAMAAAAAAADkCAEwAAAAAAAAQI4QAAMAAAAAAADkCAEwAAAAAAAAQI4QAAMAAAAAAADkCAEwAAAAAAAAQI4QAAMAAAAAAADkCAEwAAAAAAAAQI4QAAMAAAAAAADkCAEwAAAAAAAAQI4QAAMAAAAAAADkCAEwAAAAAAAAQI4o0AIAAAAAAACA5GhoLIyCxoaIiEilIpNXGE1v/0wADAAAAAAAAJAghQUN/0x6MxGppvT/5L6ugAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAIb/v5272ZHiusM4/FZ1NUkz9sQwOF4EyZJtpJCwysa5jSy4n1xPEqRIuQFvvfGSgIwBOzGRQAQERnx0d1UW0cgWGvKxsMGvnmfVdc7/1OJsf+oCAAAAAACAEgIwAAAAAAAAQAkBGAAAAAAAAKCEAAwAAAAAAABQQgAGAAAAAAAAKCEAAwAAAAAAAJQQgAEAAAAAAABKCMAAAAAAAAAAJQRgAAAAAAAAgBICMAAAAAAAAEAJARgAAAAAAACghAAMAAAAAAAAUEIABgAAAAAAACghAAMAAAAAAACUEIABAAAAAAAASgjAAAAAAAAAACUEYAAAAAAAAIASAjAAAAAAAABACQEYAAAAAAAAoIQADAAAAAAAAFBCAAYAAAAAAAAoIQADAAAAAAAAlBCAAQAAAAAAAEoIwAAAAAAAAAAlBGAAAAAAAACAEgIwAAAAAAAAQAkBGAAAAAAAAKCEAAwAAAAAAABQQgAGAAAAAAAAKCEAAwAAAAAAAJQQgAEAAAAAAABKCMAAAAAAAAAAJQRgAAAAAAAAgBICMAAAAAAAAEAJARgAAAAAAACghAAMAAAAAAAAUEIABgAAAAAAACghAAMAAAAAAACUEIABAAAAAAAASgjAAAAAAAAAACUEYAAAAAAAAIASAjAAAAAAAABACQEYAAAAAAAAoIQADAAAAAAAAFBCAAYAAAAAAAAoIQADAAAAAAAAlBCAAQAAAAAAAEoIwAAAAAAAAAAlBGAAAAAAAACAEgIwAAAAAAAAQAkBGAAAAAAAAKCEAAwAAAAAAABQQgAGAAAAAAAAKCEAAwAAAAAAAJQQgAEAAAAAAABKCMAAAAAAAAAAJQRgAAAAAAAAgBICMAAAAAAAAEAJARgAAAAAAACghAAMAAAAAAAAUEIABgAAAAAAACghAAMAAAAAAACUEIABAAAAAAAASgjAAAAAAAAAACUEYAAAAAAAAIASAjAAAAAAAABACQEYAAAAAAAAoIQADAAAAAAAAFBCAAYAAAAAAAAoIQADAAAAAAAAlBCAAQAAAAAAAEoIwAAAAAAAAAAlBGAAAAAAAACAEgIwAAAAAAAAQAkBGAAAAAAAAKCEAAwAAAAAAABQQgAGAAAAAAAAKCEAAwAAAAAAAJQQgAEAAAAAAABKCMAAAAAAAAAAJQRgAAAAAAAAgBICMAAAAAAAAEAJARgAAAAAAACghAAMAAAAAAAAUEIABgAAAAAAACghAAMAAAAAAACUEIABAAAAAAAASgjAAAAAAAAAACUEYAAAAAAAAIASAjAAAAAAAABACQEYAAAAAAAAoIQADAAAAAAAAFBCAAYAAAAAAAAoIQADAAAAAAAAlBCAAQAAAAAAAEoIwAAAAAAAAAAlBGAAAAAAAACAEgIwAAAAAAAAQAkBGAAAAAAAAKCEAAwAAAAAAABQQgAGAAAAAAAAKCEAAwAAAAAAAJQQgAEAAAAAAABKCMAAAAAAAAAAJQRgAAAAAAAAgBICMAAAAAAAAEAJARgAAAAAAACghAAMAAAAAAAAUEIABgAAAAAAACghAAMAAAAAAACUEIABAAAAAAAASgjAAAAAAAAAACUEYAAAAAAAAIASAjAAAAAAAABACQEYAAAAAAAAoIQADAAAAAAAAFBCAAYAAAAAAAAoIQADAAAAAAAAlBCAAQAAAAAAAEoIwAAAAAAAAAAlBGAAAAAAAACAEgIwAAAAAAAAQAkBGAAAAAAAAKCEAAwAAAAAAABQQgAGAAAAAAAAKCEAAwAAAAAAAJQQgAEAAAAAAABKCMAAAAAAAAAAJQRgAAAAAAAAgBICMAAAAAAAAEAJARgAAAAAAACghAAMAAAAAAAAUEIABgAAAAAAACghAAMAAAAAAACUEIABAAAAAAAASgjAAAAAAAAAACUEYAAAAAAAAIASAjAAAAAAAABACQEYAAAAAAAAoIQADAAAAAAAAFBCAAYAAAAAAAAoIQADAAAAAAAAlBCAAQAAAAAAAEoIwAAAAAAAAAAlBGAAAAAAAACAEgIwAAAAAAAAQAkBGAAAAAAAAKCEAAwAAAAAAABQQgAGAAAAAAAAKCEAAwAAAAAAAJQQgAEAAAAAAABKCMAAAAAAAAAAJQRgAAAAAAAAgBICMAAAAAAAAEAJARgAAAAAAACghAAMAAAAAAAAUEIABgAAAAAAACghAAMAAAAAAACUEIABAAAAAAAASgjAAAAAAAAAACUEYAAAAAAAAIASAjAAAAAAAABACQEYAAAAAAAAoIQADAAAAAAAAFBCAAYAAAAAAAAoIQADAAAAAAAAlBCAAQAAAAAAAEoIwAAAAAAAAAAlBGAAAAAAAACAEgIwAAAAAAAAQAkBGAAAAAAAAKCEAAwAAAAAAABQQgAGAAAAAAAAKCEAAwAAAAAAAJQQgAEAAAAAAABKCMAAAAAAAAAAJQRgAAAAAAAAgBICMAAAAAAAAEAJARgAAAAAAACghAAMAAAAAAAAUEIABgAAAAAAACghAAMAAAAAAACUEIABAAAAAAAASgjAAAAAAAAAACUEYAAAAAAAAIASAjAAAAAAAABACQEYAAAAAAAAoIQADAAAAAAAAFBCAAYAAAAAAAAoIQADAAAAAAAAlBCAAQAAAAAAAEoIwAAAAAAAAAAlBGAAAAAAAACAEgIwAAAAAAAAQAkBGAAAAAAAAKCEAAwAAAAAAABQQgAGAAAAAAAAKCEAAwAAAAAAAJQQgAEAAAAAAABKCMAAAAAAAAAAJQRgAAAAAAAAgBICMAAAAAAAAEAJARgAAAAAAACghAAMAAAAAAAAUEIABgAAAAAAACghAAMAAAAAAACUEIABAAAAAAAASgjAAAAAAAAAACUEYAAAAAAAAIASAjAAAAAAAABACQEYAAAAAAAAoIQADAAAAAAAAFBCAAYAAAAAAAAoMY3JP//9K8My551lzpAk293a7QAAAAAAAAD8iIw3r+SL7TpPxuSt4/ibJJuz20QDBgAAAAAAAHhzrJPp6NvHYcyyjLl7dJTPbl/Jp6sPLufSsM+5ec7q5YOrF0OeP/SVaAAAAAAAAIA3weH7u6zfm79dWDIMSw6225w785vsx3XyzasOby5ssz69c4sAAAAAAAAAr9n69C6bC9sT93a7rKdnORin5Otxynzi1JQcfiwCAwAAAAAAALxO69O7HH68TaaT98cp85R8vbp3Nfszv8q0LHn7xMF1sjk/ZzUPmZ/MmWefhAYAAAAAAAD4oayPdjn7223Gn7x6ZrXPnetX8mBKkpv3cufDd/Pufn5FL56SzcVtNheT3dNt8tQlAwAAAAAAAHyv1sm0ySv/9XtsNWZ3I/lHkgzHi7/4XY7WYz5yiwAAAAAAAAA/Ivtcv/3nPEyS1fHa42t5+vNLyX7JoRsCAAAAAAAAePPt1/nbV3/KvePn1Xc371/NYxEYAAAAAAAA4M0yTHk2rvNo2WdzvHZqzN9v/SF3vju3evng/at5fPDLPDu1yuGyZHSVAAAAAAAAAK/XOGe4ueSvZ4e8M8xZbVe5ceuPufvy3Oqkw4+v5emDX+fuuTlLhhwsEYIBAAAAAAAAXpclGR8OuXP0TR4cPM/9z/+SRyfNDf/1TZezOp/87KdjzizJZkhO7edMy/w/nAUAAAAAAADg/zaMWcZkP8/ZLsmLacr2/MV8+cnvs/tP5/4FmLjAq1ifcioAAAAASUVORK5CYII=";function dn(e,t,n){return typeof e=="string"&&!isNaN(Number(e))&&(e=Number(e)),typeof e=="number"&&e<100?Mn(e):typeof e=="number"&&e>=100?e:typeof e=="string"&&e.includes("%")?Math.round(t&&t==="X"?parseFloat(e)/100*n.width:t&&t==="Y"?parseFloat(e)/100*n.height:parseFloat(e)/100*n.width):0}function Ub(e){return e.replace(/[xy]/g,function(t){var n=Math.random()*16|0,r=t==="x"?n:n&3|8;return r.toString(16)})}function jt(e){return typeof e>"u"||e==null?"":e.toString().replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function Mn(e){return typeof e=="number"&&e>100?e:(typeof e=="string"&&(e=Number(e.replace(/in*/gi,""))),Math.round($t*e))}function Wt(e){var t=Number(e)||0;return isNaN(t)?0:Math.round(t*by)}function bh(e){return e=e||0,Math.round((e>360?e-360:e)*6e4)}function A8(e){var t=e.toString(16);return t.length===1?"0"+t:t}function R8(e,t,n){return(A8(e)+A8(t)+A8(n)).toUpperCase()}function In(e,t){var n=(e||"").replace("#","");!y8.test(n)&&n!==_a.background1&&n!==_a.background2&&n!==_a.text1&&n!==_a.text2&&n!==_a.accent1&&n!==_a.accent2&&n!==_a.accent3&&n!==_a.accent4&&n!==_a.accent5&&n!==_a.accent6&&(console.warn('"'.concat(n,'" is not a valid scheme color or hex RGB! "').concat(ea,`" used instead. Only provide 6-digit RGB or 'pptx.SchemeColor' values!`)),n=ea);var r=y8.test(n)?"srgbClr":"schemeClr",i='val="'+(y8.test(n)?n.toUpperCase():n)+'"';return t?"<a:".concat(r," ").concat(i,">").concat(t,"</a:").concat(r,">"):"<a:".concat(r," ").concat(i,"/>")}function IKe(e,t){var n="",r=ni(ni({},t),e),i=Math.round(r.size*by),o=r.color,a=Math.round(r.opacity*1e5);return n+='<a:glow rad="'.concat(i,'">'),n+=In(o,'<a:alpha val="'.concat(a,'"/>')),n+="</a:glow>",n}function Ea(e){var t="solid",n="",r="",i="";if(e)switch(typeof e=="string"?n=e:(e.type&&(t=e.type),e.color&&(n=e.color),e.alpha&&(r+='<a:alpha val="'.concat(Math.round((100-e.alpha)*1e3),'"/>')),e.transparency&&(r+='<a:alpha val="'.concat(Math.round((100-e.transparency)*1e3),'"/>'))),t){case"solid":i+="<a:solidFill>".concat(In(n,r),"</a:solidFill>");break;default:i+="";break}return i}function $u(e){return e._rels.length+e._relsChart.length+e._relsMedia.length+1}function eC(e){if(!(!e||typeof e!="object"))return e.type!=="outer"&&e.type!=="inner"&&e.type!=="none"&&(console.warn("Warning: shadow.type options are `outer`, `inner` or `none`."),e.type="outer"),e.angle&&((isNaN(Number(e.angle))||e.angle<0||e.angle>359)&&(console.warn("Warning: shadow.angle can only be 0-359"),e.angle=270),e.angle=Math.round(Number(e.angle))),e.opacity&&((isNaN(Number(e.opacity))||e.opacity<0||e.opacity>1)&&(console.warn("Warning: shadow.opacity can only be 0-1"),e.opacity=.75),e.opacity=Number(e.opacity)),e.color&&e.color.startsWith("#")&&(console.warn('Warning: shadow.color should not include hash (#) character, , e.g. "FF0000"'),e.color=e.color.replace("#","")),e}function NKe(e,t,n){var r,i,o=2.3+(!((r=e.options)===null||r===void 0)&&r.autoPageCharWeight?e.options.autoPageCharWeight:0),a=Math.floor(t/by*$t)/((!((i=e.options)===null||i===void 0)&&i.fontSize?e.options.fontSize:Rs)/o),s=[],l=[],u=[],c=[];e.text&&e.text.toString().trim().length===0?l.push({_type:qt.tablecell,text:" "}):typeof e.text=="number"||typeof e.text=="string"?l.push({_type:qt.tablecell,text:(e.text||"").toString().trim()}):Array.isArray(e.text)&&(l=e.text);var f=[];return l.forEach(function(d){var h;typeof d.text=="string"&&(d.text.split(`
|
||
`).length>1?d.text.split(`
|
||
`).forEach(function(p){f.push({_type:qt.tablecell,text:p,options:ni(ni({},d.options),{breakLine:!0})})}):f.push({_type:qt.tablecell,text:d.text.trim(),options:d.options}),!((h=d.options)===null||h===void 0)&&h.breakLine&&(u.push(f),f=[])),f.length>0&&(u.push(f),f=[])}),u.forEach(function(d){d.forEach(function(h){var p=[],v=String(h.text),g=v.split(" ");g.forEach(function(m,y){var R=ni({},h.options);R!=null&&R.breakLine&&(R.breakLine=y+1===g.length),p.push({_type:qt.tablecell,text:m+(y+1<g.length?" ":""),options:R})}),c.push(p)})}),c.forEach(function(d){var h=[],p="";d.forEach(function(v){p.length+v.text.length>a&&(s.push(h),h=[],p=""),h.push(v),p+=v.text.toString()}),h.length>0&&s.push(h)}),s}function Lte(e,t,n,r){e===void 0&&(e=[]),t===void 0&&(t={});var i=T2,o=$t*1,a=$t*1,s=0,l=0,u=[],c=dn(t.x,"X",n),f=dn(t.y,"Y",n),d=dn(t.w,"X",n),h=dn(t.h,"Y",n),p=d;function v(){var A=0;u.length===0&&(A=f||Mn(i[0])),u.length>0&&(A=Mn(t.autoPageSlideStartY||t.newSlideStartY||i[0])),a=(h||n.height)-A-Mn(i[2]),u.length>1&&(typeof t.autoPageSlideStartY=="number"?a=(h||n.height)-Mn(t.autoPageSlideStartY+i[2]):typeof t.newSlideStartY=="number"?a=(h||n.height)-Mn(t.newSlideStartY+i[2]):f&&(a=(h||n.height)-Mn((f/$t<i[0]?f/$t:i[0])+i[2]),a<h&&(a=h)))}t.verbose&&(console.log("[[VERBOSE MODE]]"),console.log("|-- TABLE PROPS --------------------------------------------------------|"),console.log("| presLayout.width ................................ = ".concat((n.width/$t).toFixed(1))),console.log("| presLayout.height ............................... = ".concat((n.height/$t).toFixed(1))),console.log("| tableProps.x .................................... = ".concat(typeof t.x=="number"?(t.x/$t).toFixed(1):t.x)),console.log("| tableProps.y .................................... = ".concat(typeof t.y=="number"?(t.y/$t).toFixed(1):t.y)),console.log("| tableProps.w .................................... = ".concat(typeof t.w=="number"?(t.w/$t).toFixed(1):t.w)),console.log("| tableProps.h .................................... = ".concat(typeof t.h=="number"?(t.h/$t).toFixed(1):t.h)),console.log("| tableProps.slideMargin .......................... = ".concat(t.slideMargin?String(t.slideMargin):"")),console.log("| tableProps.margin ............................... = ".concat(String(t.margin))),console.log("| tableProps.colW ................................. = ".concat(String(t.colW))),console.log("| tableProps.autoPageSlideStartY .................. = ".concat(t.autoPageSlideStartY)),console.log("| tableProps.autoPageCharWeight ................... = ".concat(t.autoPageCharWeight)),console.log("|-- CALCULATIONS -------------------------------------------------------|"),console.log("| tablePropX ...................................... = ".concat(c/$t)),console.log("| tablePropY ...................................... = ".concat(f/$t)),console.log("| tablePropW ...................................... = ".concat(d/$t)),console.log("| tablePropH ...................................... = ".concat(h/$t)),console.log("| tableCalcW ...................................... = ".concat(p/$t))),!t.slideMargin&&t.slideMargin!==0&&(t.slideMargin=T2[0]),r&&typeof r._margin<"u"?Array.isArray(r._margin)?i=r._margin:isNaN(Number(r._margin))||(i=[Number(r._margin),Number(r._margin),Number(r._margin),Number(r._margin)]):(t.slideMargin||t.slideMargin===0)&&(Array.isArray(t.slideMargin)?i=t.slideMargin:isNaN(t.slideMargin)||(i=[t.slideMargin,t.slideMargin,t.slideMargin,t.slideMargin])),t.verbose&&console.log("| arrInchMargins .................................. = [".concat(i.join(", "),"]"));{var g=e[0]||[];g.forEach(function(A){A||(A={_type:qt.tablecell});var x=A.options||null;l+=Number(x!=null&&x.colspan?x.colspan:1)}),t.verbose&&console.log("| numCols ......................................... = ".concat(l))}if(!d&&t.colW&&(p=Array.isArray(t.colW)?t.colW.reduce(function(A,x){return A+x})*$t:t.colW*l||0,t.verbose&&console.log("| tableCalcW ...................................... = ".concat(p/$t))),o=p||Mn((c?c/$t:i[1])+i[3]),t.verbose&&console.log("| emuSlideTabW .................................... = ".concat((o/$t).toFixed(1))),!t.colW||!Array.isArray(t.colW))if(t.colW&&!isNaN(Number(t.colW))){var m=[],g=e[0]||[];g.forEach(function(){return m.push(t.colW)}),t.colW=[],m.forEach(function(x){Array.isArray(t.colW)&&t.colW.push(x)})}else{t.colW=[];for(var y=0;y<l;y++)t.colW.push(o/$t/l)}var R={rows:[]};return e.forEach(function(A,x){var S=[],_=0,M=0,w=[];A.forEach(function(W){var Z,re,Y,B;w.push({_type:qt.tablecell,text:[],options:W.options}),W.options.margin&&W.options.margin[0]>=1?(!((Z=W.options)===null||Z===void 0)&&Z.margin&&W.options.margin[0]&&Wt(W.options.margin[0])>_?_=Wt(W.options.margin[0]):t!=null&&t.margin&&t.margin[0]&&Wt(t.margin[0])>_&&(_=Wt(t.margin[0])),!((re=W.options)===null||re===void 0)&&re.margin&&W.options.margin[2]&&Wt(W.options.margin[2])>M?M=Wt(W.options.margin[2]):t!=null&&t.margin&&t.margin[2]&&Wt(t.margin[2])>M&&(M=Wt(t.margin[2]))):(!((Y=W.options)===null||Y===void 0)&&Y.margin&&W.options.margin[0]&&Mn(W.options.margin[0])>_?_=Mn(W.options.margin[0]):t!=null&&t.margin&&t.margin[0]&&Mn(t.margin[0])>_&&(_=Mn(t.margin[0])),!((B=W.options)===null||B===void 0)&&B.margin&&W.options.margin[2]&&Mn(W.options.margin[2])>M?M=Mn(W.options.margin[2]):t!=null&&t.margin&&t.margin[2]&&Mn(t.margin[2])>M&&(M=Mn(t.margin[2])))}),v(),s+=_+M,t.verbose&&x===0&&console.log("| SLIDE [".concat(u.length,"]: emuSlideTabH ...... = ").concat((a/$t).toFixed(1)," ")),A.forEach(function(W,Z){var re,Y={_type:qt.tablecell,_lines:null,_lineHeight:Mn((!((re=W.options)===null||re===void 0)&&re.fontSize?W.options.fontSize:t.fontSize?t.fontSize:Rs)*(TKe+(t.autoPageLineWeight?t.autoPageLineWeight:0))/100),text:[],options:W.options};Y.options.rowspan&&(Y._lineHeight=0),Y.options.autoPageCharWeight=t.autoPageCharWeight?t.autoPageCharWeight:null;var B=t.colW[Z];W.options.colspan&&Array.isArray(t.colW)&&(B=t.colW.filter(function(Q,K){return K>=Z&&K<K+W.options.colspan}).reduce(function(Q,K){return Q+K})),Y._lines=NKe(W,B),S.push(Y)}),t.verbose&&console.log(`
|
||
| SLIDE [`.concat(u.length,"]: ROW [").concat(x,"]: START..."));for(var L=0,k=0,P=!1;!P;){var F=S[L],C=w[L];if(S.forEach(function(W){W._lineHeight>=k&&(k=W._lineHeight)}),s+k>a){t.verbose&&(console.log(`
|
||
|-----------------------------------------------------------------------|`),console.log("|-- NEW SLIDE CREATED (currTabH+currLineH > maxH) => ".concat((s/$t).toFixed(2)," + ").concat((F._lineHeight/$t).toFixed(2)," > ").concat(a/$t)),console.log(`|-----------------------------------------------------------------------|
|
||
|
||
`)),w.length>0&&w.map(function(W){return W.text.length}).reduce(function(W,Z){return W+Z})>0&&R.rows.push(w),u.push(R);var N=[];R={rows:N},w=[],A.forEach(function(W){return w.push({_type:qt.tablecell,text:[],options:W.options})}),v(),s+=_+M,t.verbose&&console.log("| SLIDE [".concat(u.length,"]: emuSlideTabH ...... = ").concat((a/$t).toFixed(1)," ")),s=0,(t.addHeaderToEach||t.autoPageRepeatHeader)&&t._arrObjTabHeadRows&&t._arrObjTabHeadRows.forEach(function(W){var Z=[],re=0;W.forEach(function(Y){Z.push(Y),Y._lineHeight>re&&(re=Y._lineHeight)}),R.rows.push(Z),s+=re}),C=w[L]}var I=F._lines.shift();Array.isArray(C.text)&&(I?C.text=C.text.concat(I):C.text.length===0&&(C.text=C.text.concat({_type:qt.tablecell,text:""}))),L===S.length-1&&(s+=k),L=L<S.length-1?L+1:0;var V=S.map(function(W){return W._lines.length}).reduce(function(W,Z){return W+Z});V===0&&(P=!0)}w.length>0&&R.rows.push(w),t.verbose&&console.log("- SLIDE [".concat(u.length,"]: ROW [").concat(x,"]: ...COMPLETE ...... emuTabCurrH = ").concat((s/$t).toFixed(2)," ( emuSlideTabH = ").concat((a/$t).toFixed(2)," )"))}),u.push(R),t.verbose&&(console.log(`
|
||
|================================================|`),console.log("| FINAL: tableRowSlides.length = ".concat(u.length)),u.forEach(function(A){return console.log(A)}),console.log(`|================================================|
|
||
|
||
`)),u}function FKe(e,t,n,r){n===void 0&&(n={});var i=n||{};i.slideMargin=i.slideMargin||i.slideMargin===0?i.slideMargin:.5;var o=i.w||e.presLayout.width,a=[],s=[],l=[],u=[],c=[],f=[.5,.5,.5,.5],d=0;if(!document.getElementById(t))throw new Error('tableToSlides: Table ID "'+t+'" does not exist!');r!=null&&r._margin?(Array.isArray(r._margin)?f=r._margin:isNaN(r._margin)||(f=[r._margin,r._margin,r._margin,r._margin]),i.slideMargin=f):i!=null&&i.slideMargin&&(Array.isArray(i.slideMargin)?f=i.slideMargin:isNaN(i.slideMargin)||(f=[i.slideMargin,i.slideMargin,i.slideMargin,i.slideMargin])),o=(i.w?Mn(i.w):e.presLayout.width)-Mn(f[1]+f[3]),i.verbose&&(console.log("[[VERBOSE MODE]]"),console.log("|-- `tableToSlides` ----------------------------------------------------|"),console.log("| tableProps.h .................................... = ".concat(i.h)),console.log("| tableProps.w .................................... = ".concat(i.w)),console.log("| pptx.presLayout.width ........................... = ".concat((e.presLayout.width/$t).toFixed(1))),console.log("| pptx.presLayout.height .......................... = ".concat((e.presLayout.height/$t).toFixed(1))),console.log("| emuSlideTabW .................................... = ".concat((o/$t).toFixed(1))));var h=document.querySelectorAll("#".concat(t," tr:first-child th"));h.length===0&&(h=document.querySelectorAll("#".concat(t," tr:first-child td"))),h.forEach(function(v){if(v.getAttribute("colspan"))for(var g=0;g<Number(v.getAttribute("colspan"));g++)c.push(Math.round(v.offsetWidth/Number(v.getAttribute("colspan"))));else c.push(v.offsetWidth)}),c.forEach(function(v){d+=v}),c.forEach(function(v,g){var m=Number((Number(o)*(v/d*100)/100/$t).toFixed(2)),y=0,R=document.querySelector("#".concat(t," thead tr:first-child th:nth-child(").concat(g+1,")"));R&&(y=Number(R.getAttribute("data-pptx-min-width")));var A=document.querySelector("#".concat(t," thead tr:first-child th:nth-child(").concat(g+1,")"));A&&(y=Number(A.getAttribute("data-pptx-width"))),u.push(y>m?y:m)}),i.verbose&&console.log("| arrColW ......................................... = [".concat(u.join(", "),"]"));var p=["thead","tbody","tfoot"];p.forEach(function(v){document.querySelectorAll("#".concat(t," ").concat(v," tr")).forEach(function(g){var m=[];switch(Array.from(g.cells).forEach(function(y){var R=window.getComputedStyle(y).getPropertyValue("color").replace(/\s+/gi,"").replace("rgba(","").replace("rgb(","").replace(")","").split(","),A=window.getComputedStyle(y).getPropertyValue("background-color").replace(/\s+/gi,"").replace("rgba(","").replace("rgb(","").replace(")","").split(",");(window.getComputedStyle(y).getPropertyValue("background-color")==="rgba(0, 0, 0, 0)"||window.getComputedStyle(y).getPropertyValue("transparent"))&&(A=["255","255","255"]);var x={align:null,bold:window.getComputedStyle(y).getPropertyValue("font-weight")==="bold"||Number(window.getComputedStyle(y).getPropertyValue("font-weight"))>=500,border:null,color:R8(Number(R[0]),Number(R[1]),Number(R[2])),fill:{color:R8(Number(A[0]),Number(A[1]),Number(A[2]))},fontFace:(window.getComputedStyle(y).getPropertyValue("font-family")||"").split(",")[0].replace(/"/g,"").replace("inherit","").replace("initial","")||null,fontSize:Number(window.getComputedStyle(y).getPropertyValue("font-size").replace(/[a-z]/gi,"")),margin:null,colspan:Number(y.getAttribute("colspan"))||null,rowspan:Number(y.getAttribute("rowspan"))||null,valign:null};if(["left","center","right","start","end"].includes(window.getComputedStyle(y).getPropertyValue("text-align"))){var S=window.getComputedStyle(y).getPropertyValue("text-align").replace("start","left").replace("end","right");x.align=S==="center"?"center":S==="left"?"left":S==="right"?"right":null}if(["top","middle","bottom"].includes(window.getComputedStyle(y).getPropertyValue("vertical-align"))){var _=window.getComputedStyle(y).getPropertyValue("vertical-align");x.valign=_==="top"?"top":_==="middle"?"middle":_==="bottom"?"bottom":null}if(window.getComputedStyle(y).getPropertyValue("padding-left")){x.margin=[0,0,0,0];var M=["padding-top","padding-right","padding-bottom","padding-left"];M.forEach(function(L,k){x.margin[k]=Math.round(Number(window.getComputedStyle(y).getPropertyValue(L).replace(/\D/gi,"")))})}if(window.getComputedStyle(y).getPropertyValue("border-top-width")||window.getComputedStyle(y).getPropertyValue("border-right-width")||window.getComputedStyle(y).getPropertyValue("border-bottom-width")||window.getComputedStyle(y).getPropertyValue("border-left-width")){x.border=[null,null,null,null];var w=["top","right","bottom","left"];w.forEach(function(L,k){var P=Math.round(Number(window.getComputedStyle(y).getPropertyValue("border-"+L+"-width").replace("px",""))),F=[];F=window.getComputedStyle(y).getPropertyValue("border-"+L+"-color").replace(/\s+/gi,"").replace("rgba(","").replace("rgb(","").replace(")","").split(",");var C=R8(Number(F[0]),Number(F[1]),Number(F[2]));x.border[k]={pt:P,color:C}})}m.push({_type:qt.tablecell,text:y.innerText,options:x})}),v){case"thead":a.push(m);break;case"tbody":s.push(m);break;case"tfoot":l.push(m);break;default:console.log("table parsing: unexpected table part: ".concat(v));break}})}),i._arrObjTabHeadRows=a||null,i.colW=u,Lte(Vb(Vb(Vb([],a,!0),s,!0),l,!0),i,e.presLayout,r).forEach(function(v,g){var m=e.addSlide({masterName:i.masterSlideName||null});g===0&&(i.y=i.y||f[0]),g>0&&(i.y=i.autoPageSlideStartY||i.newSlideStartY||f[0]),i.verbose&&console.log("| opts.autoPageSlideStartY: ".concat(i.autoPageSlideStartY," / arrInchMargins[0]: ").concat(f[0]," => opts.y = ").concat(i.y)),m.addTable(v.rows,{x:i.x||f[3],y:i.y,w:Number(o)/$t,colW:u,autoPage:!1}),i.addImage&&(i.addImage.options=i.addImage.options||{},!i.addImage.image||!i.addImage.image.path&&!i.addImage.image.data?console.warn("Warning: tableToSlides.addImage requires either `path` or `data`"):m.addImage({path:i.addImage.image.path,data:i.addImage.image.data,x:i.addImage.options.x,y:i.addImage.options.y,w:i.addImage.options.w,h:i.addImage.options.h})),i.addShape&&m.addShape(i.addShape.shapeName,i.addShape.options||{}),i.addTable&&m.addTable(i.addTable.rows,i.addTable.options||{}),i.addText&&m.addText(i.addText.text,i.addText.options||{})})}var EKe=0;function XKe(e,t){e.bkgd&&(t.bkgd=e.bkgd),e.objects&&Array.isArray(e.objects)&&e.objects.length>0&&e.objects.forEach(function(n,r){var i=Object.keys(n)[0],o=t;pf[i]&&i==="chart"?Tte(o,n[i].type,n[i].data,n[i].opts):pf[i]&&i==="image"?_te(o,n[i]):pf[i]&&i==="line"?B_(o,rd.LINE,n[i]):pf[i]&&i==="rect"?B_(o,rd.RECTANGLE,n[i]):pf[i]&&i==="text"?MS(o,[{text:n[i].text}],n[i].options,!1):pf[i]&&i==="placeholder"&&(n[i].options.placeholder=n[i].options.name,delete n[i].options.name,n[i].options._placeholderType=n[i].options.type,delete n[i].options.type,n[i].options._placeholderIdx=100+r,MS(o,[{text:n[i].text}],n[i].options,!0))}),e.slideNumber&&typeof e.slideNumber=="object"&&(t._slideNumberProps=e.slideNumber)}function Tte(e,t,n,r){var i;function o(f){!f||f.style==="none"||(f.size!==void 0&&(isNaN(Number(f.size))||f.size<=0)&&(console.warn("Warning: chart.gridLine.size must be greater than 0."),delete f.size),f.style&&!["solid","dash","dot"].includes(f.style)&&(console.warn("Warning: chart.gridLine.style options: `solid`, `dash`, `dot`."),delete f.style),f.cap&&!["flat","square","round"].includes(f.cap)&&(console.warn("Warning: chart.gridLine.cap options: `flat`, `square`, `round`."),delete f.cap))}var a=++EKe,s={_type:null,text:null,options:null,chartRid:null},l=null,u=[];Array.isArray(t)?(t.forEach(function(f){u=u.concat(f.data)}),l=n||r):(u=n,l=r),u.forEach(function(f,d){f._dataIndex=d,f.labels!==void 0&&!Array.isArray(f.labels[0])&&(f.labels=[f.labels])});var c=l&&typeof l=="object"?l:{};return c._type=t,c.x=typeof c.x<"u"&&c.x!=null&&!isNaN(Number(c.x))?c.x:1,c.y=typeof c.y<"u"&&c.y!=null&&!isNaN(Number(c.y))?c.y:1,c.w=c.w||"50%",c.h=c.h||"50%",c.objectName=c.objectName?jt(c.objectName):"Chart ".concat(e._slideObjects.filter(function(f){return f._type===qt.chart}).length),["bar","col"].includes(c.barDir||"")||(c.barDir="col"),c._type===ct.AREA&&(["stacked","standard","percentStacked"].includes(c.barGrouping||"")||(c.barGrouping="standard")),c._type===ct.BAR&&(["clustered","stacked","percentStacked"].includes(c.barGrouping||"")||(c.barGrouping="clustered")),c._type===ct.BAR3D&&(["clustered","stacked","standard","percentStacked"].includes(c.barGrouping||"")||(c.barGrouping="standard")),!((i=c.barGrouping)===null||i===void 0)&&i.includes("tacked")&&(c.barGapWidthPct||(c.barGapWidthPct=50)),c.dataLabelPosition&&((c._type===ct.AREA||c._type===ct.BAR3D||c._type===ct.DOUGHNUT||c._type===ct.RADAR)&&delete c.dataLabelPosition,c._type===ct.PIE&&(["bestFit","ctr","inEnd","outEnd"].includes(c.dataLabelPosition)||delete c.dataLabelPosition),(c._type===ct.BUBBLE||c._type===ct.BUBBLE3D||c._type===ct.LINE||c._type===ct.SCATTER)&&(["b","ctr","l","r","t"].includes(c.dataLabelPosition)||delete c.dataLabelPosition),c._type===ct.BAR&&(["stacked","percentStacked"].includes(c.barGrouping||"")||["ctr","inBase","inEnd"].includes(c.dataLabelPosition)||delete c.dataLabelPosition,["clustered"].includes(c.barGrouping||"")||["ctr","inBase","inEnd","outEnd"].includes(c.dataLabelPosition)||delete c.dataLabelPosition)),c.dataLabelBkgrdColors=c.dataLabelBkgrdColors||!c.dataLabelBkgrdColors?c.dataLabelBkgrdColors:!1,["b","l","r","t","tr"].includes(c.legendPos||"")||(c.legendPos="r"),["cone","coneToMax","box","cylinder","pyramid","pyramidToMax"].includes(c.bar3DShape||"")||(c.bar3DShape="box"),["circle","dash","diamond","dot","none","square","triangle"].includes(c.lineDataSymbol||"")||(c.lineDataSymbol="circle"),["gap","span"].includes(c.displayBlanksAs||"")||(c.displayBlanksAs="span"),["standard","marker","filled"].includes(c.radarStyle||"")||(c.radarStyle="standard"),c.lineDataSymbolSize=c.lineDataSymbolSize&&!isNaN(c.lineDataSymbolSize)?c.lineDataSymbolSize:6,c.lineDataSymbolLineSize=c.lineDataSymbolLineSize&&!isNaN(c.lineDataSymbolLineSize)?Wt(c.lineDataSymbolLineSize):Wt(.75),c.layout&&["x","y","w","h"].forEach(function(f){var d=c.layout[f];(isNaN(Number(d))||d<0||d>1)&&(console.warn("Warning: chart.layout."+f+" can only be 0-1"),delete c.layout[f])}),c.catGridLine=c.catGridLine||(c._type===ct.SCATTER?{color:"D9D9D9",size:1}:{style:"none"}),c.valGridLine=c.valGridLine||(c._type===ct.SCATTER?{color:"D9D9D9",size:1}:{}),c.serGridLine=c.serGridLine||(c._type===ct.SCATTER?{color:"D9D9D9",size:1}:{style:"none"}),o(c.catGridLine),o(c.valGridLine),o(c.serGridLine),eC(c.shadow),c.showDataTable=c.showDataTable||!c.showDataTable?c.showDataTable:!1,c.showDataTableHorzBorder=c.showDataTableHorzBorder||!c.showDataTableHorzBorder?c.showDataTableHorzBorder:!0,c.showDataTableVertBorder=c.showDataTableVertBorder||!c.showDataTableVertBorder?c.showDataTableVertBorder:!0,c.showDataTableOutline=c.showDataTableOutline||!c.showDataTableOutline?c.showDataTableOutline:!0,c.showDataTableKeys=c.showDataTableKeys||!c.showDataTableKeys?c.showDataTableKeys:!0,c.showLabel=c.showLabel||!c.showLabel?c.showLabel:!1,c.showLegend=c.showLegend||!c.showLegend?c.showLegend:!1,c.showPercent=c.showPercent||!c.showPercent?c.showPercent:!0,c.showTitle=c.showTitle||!c.showTitle?c.showTitle:!1,c.showValue=c.showValue||!c.showValue?c.showValue:!1,c.showLeaderLines=c.showLeaderLines||!c.showLeaderLines?c.showLeaderLines:!1,c.catAxisLineShow=typeof c.catAxisLineShow<"u"?c.catAxisLineShow:!0,c.valAxisLineShow=typeof c.valAxisLineShow<"u"?c.valAxisLineShow:!0,c.serAxisLineShow=typeof c.serAxisLineShow<"u"?c.serAxisLineShow:!0,c.v3DRotX=!isNaN(c.v3DRotX)&&c.v3DRotX>=-90&&c.v3DRotX<=90?c.v3DRotX:30,c.v3DRotY=!isNaN(c.v3DRotY)&&c.v3DRotY>=0&&c.v3DRotY<=360?c.v3DRotY:30,c.v3DRAngAx=c.v3DRAngAx||!c.v3DRAngAx?c.v3DRAngAx:!0,c.v3DPerspective=!isNaN(c.v3DPerspective)&&c.v3DPerspective>=0&&c.v3DPerspective<=240?c.v3DPerspective:30,c.barGapWidthPct=!isNaN(c.barGapWidthPct)&&c.barGapWidthPct>=0&&c.barGapWidthPct<=1e3?c.barGapWidthPct:150,c.barGapDepthPct=!isNaN(c.barGapDepthPct)&&c.barGapDepthPct>=0&&c.barGapDepthPct<=1e3?c.barGapDepthPct:150,c.chartColors=Array.isArray(c.chartColors)?c.chartColors:c._type===ct.PIE||c._type===ct.DOUGHNUT?PKe:Vg,c.chartColorsOpacity=c.chartColorsOpacity&&!isNaN(c.chartColorsOpacity)?c.chartColorsOpacity:null,c.border=c.border&&typeof c.border=="object"?c.border:null,c.border&&(!c.border.pt||isNaN(c.border.pt))&&(c.border.pt=sp.pt),c.border&&(!c.border.color||typeof c.border.color!="string")&&(c.border.color=sp.color),c.plotArea=c.plotArea||{},c.plotArea.border=c.plotArea.border&&typeof c.plotArea.border=="object"?c.plotArea.border:null,c.plotArea.border&&(!c.plotArea.border.pt||isNaN(c.plotArea.border.pt))&&(c.plotArea.border.pt=sp.pt),c.plotArea.border&&(!c.plotArea.border.color||typeof c.plotArea.border.color!="string")&&(c.plotArea.border.color=sp.color),c.border&&(c.plotArea.border=c.border),c.plotArea.fill=c.plotArea.fill||{color:null,transparency:null},c.fill&&(c.plotArea.fill.color=c.fill),c.chartArea=c.chartArea||{},c.chartArea.border=c.chartArea.border&&typeof c.chartArea.border=="object"?c.chartArea.border:null,c.chartArea.border&&(c.chartArea.border={color:c.chartArea.border.color||sp.color,pt:c.chartArea.border.pt||sp.pt}),c.chartArea.roundedCorners=typeof c.chartArea.roundedCorners=="boolean"?c.chartArea.roundedCorners:!0,c.dataBorder=c.dataBorder&&typeof c.dataBorder=="object"?c.dataBorder:null,c.dataBorder&&(!c.dataBorder.pt||isNaN(c.dataBorder.pt))&&(c.dataBorder.pt=.75),c.dataBorder&&(!c.dataBorder.color||typeof c.dataBorder.color!="string"||c.dataBorder.color.length!==6)&&(c.dataBorder.color="F9F9F9"),!c.dataLabelFormatCode&&c._type===ct.SCATTER&&(c.dataLabelFormatCode="General"),!c.dataLabelFormatCode&&(c._type===ct.PIE||c._type===ct.DOUGHNUT)&&(c.dataLabelFormatCode=c.showPercent?"0%":"General"),c.dataLabelFormatCode=c.dataLabelFormatCode&&typeof c.dataLabelFormatCode=="string"?c.dataLabelFormatCode:"#,##0",!c.dataLabelFormatScatter&&c._type===ct.SCATTER&&(c.dataLabelFormatScatter="custom"),c.lineSize=typeof c.lineSize=="number"?c.lineSize:2,c.valAxisMajorUnit=typeof c.valAxisMajorUnit=="number"?c.valAxisMajorUnit:null,c._type===ct.AREA||c._type===ct.BAR||c._type===ct.BAR3D||c._type===ct.LINE?c.catAxisMultiLevelLabels=!!c.catAxisMultiLevelLabels:delete c.catAxisMultiLevelLabels,s._type="chart",s.options=c,s.chartRid=$u(e),e._relsChart.push({rId:$u(e),data:u,opts:c,type:c._type,globalId:a,fileName:"chart".concat(a,".xml"),Target:"/ppt/charts/chart".concat(a,".xml")}),e._slideObjects.push(s),s}function _te(e,t){var n={_type:null,text:null,options:null,image:null,imageRid:null,hyperlink:null},r=t.x||0,i=t.y||0,o=t.w||0,a=t.h||0,s=t.sizing||null,l=t.hyperlink||"",u=t.data||"",c=t.path||"",f=$u(e),d=t.objectName?jt(t.objectName):"Image ".concat(e._slideObjects.filter(function(v){return v._type===qt.image}).length);if(!c&&!u)return console.error("ERROR: addImage() requires either 'data' or 'path' parameter!"),null;if(c&&typeof c!="string")return console.error("ERROR: addImage() 'path' should be a string, ex: {path:'/img/sample.png'} - you sent ".concat(String(c))),null;if(u&&typeof u!="string")return console.error("ERROR: addImage() 'data' should be a string, ex: {data:'image/png;base64,NMP[...]'} - you sent ".concat(String(u))),null;if(u&&typeof u=="string"&&!u.toLowerCase().includes("base64,"))return console.error("ERROR: Image `data` value lacks a base64 header! Ex: 'image/png;base64,NMP[...]')"),null;var h=(c.substring(c.lastIndexOf("/")+1).split("?")[0].split(".").pop().split("#")[0]||"png").toLowerCase();if(u&&/image\/(\w+);/.exec(u)&&/image\/(\w+);/.exec(u).length>0?h=/image\/(\w+);/.exec(u)[1]:u!=null&&u.toLowerCase().includes("image/svg+xml")&&(h="svg"),n._type=qt.image,n.image=c||"preencoded.png",n.options={x:r||0,y:i||0,w:o||1,h:a||1,altText:t.altText||"",rounding:typeof t.rounding=="boolean"?t.rounding:!1,sizing:s,placeholder:t.placeholder,rotate:t.rotate||0,flipV:t.flipV||!1,flipH:t.flipH||!1,transparency:t.transparency||0,objectName:d,shadow:eC(t.shadow)},h==="svg")e._relsMedia.push({path:c||u+"png",type:"image/png",extn:"png",data:u||"",rId:f,Target:"../media/image-".concat(e._slideNum,"-").concat(e._relsMedia.length+1,".png"),isSvgPng:!0,svgSize:{w:dn(n.options.w,"X",e._presLayout),h:dn(n.options.h,"Y",e._presLayout)}}),n.imageRid=f,e._relsMedia.push({path:c||u,type:"image/svg+xml",extn:h,data:u||"",rId:f+1,Target:"../media/image-".concat(e._slideNum,"-").concat(e._relsMedia.length+1,".").concat(h)}),n.imageRid=f+1;else{var p=e._relsMedia.filter(function(v){return v.path&&v.path===c&&v.type==="image/"+h&&!v.isDuplicate})[0];e._relsMedia.push({path:c||"preencoded."+h,type:"image/"+h,extn:h,data:u||"",rId:f,isDuplicate:!!(p!=null&&p.Target),Target:p!=null&&p.Target?p.Target:"../media/image-".concat(e._slideNum,"-").concat(e._relsMedia.length+1,".").concat(h)}),n.imageRid=f}if(typeof l=="object"){if(!l.url&&!l.slide)throw new Error("ERROR: `hyperlink` option requires either: `url` or `slide`");f++,e._rels.push({type:qt.hyperlink,data:l.slide?"slide":"dummy",rId:f,Target:l.url||l.slide.toString()}),l._rId=f,n.hyperlink=l}e._slideObjects.push(n)}function WKe(e,t){var n=t.x||0,r=t.y||0,i=t.w||2,o=t.h||2,a=t.data||"",s=t.link||"",l=t.path||"",u=t.type||"audio",c="",f=t.cover||CKe,d=t.objectName?jt(t.objectName):"Media ".concat(e._slideObjects.filter(function(g){return g._type===qt.media}).length),h={_type:qt.media};if(!l&&!a&&u!=="online")throw new Error("addMedia() error: either `data` or `path` are required!");if(a&&!a.toLowerCase().includes("base64,"))throw new Error("addMedia() error: `data` value lacks a base64 header! Ex: 'video/mpeg;base64,NMP[...]')");if(f&&!f.toLowerCase().includes("base64,"))throw new Error("addMedia() error: `cover` value lacks a base64 header! Ex: 'data:image/png;base64,iV[...]')");if(u==="online"&&!s)throw new Error("addMedia() error: online videos require `link` value");if(c=t.extn||(a?a.split(";")[0].split("/")[1]:l.split(".").pop())||"mp3",h.mtype=u,h.media=l||"preencoded.mov",h.options={},h.options.x=n,h.options.y=r,h.options.w=i,h.options.h=o,h.options.objectName=d,u==="online"){var p=$u(e);e._relsMedia.push({path:l||"preencoded"+c,data:"dummy",type:"online",extn:c,rId:p,Target:s}),h.mediaRid=p,e._relsMedia.push({path:"preencoded.png",data:f,type:"image/png",extn:"png",rId:$u(e),Target:"../media/image-".concat(e._slideNum,"-").concat(e._relsMedia.length+1,".png")})}else{var v=e._relsMedia.filter(function(m){return m.path&&m.path===l&&m.type===u+"/"+c&&!m.isDuplicate})[0],p=$u(e);e._relsMedia.push({path:l||"preencoded"+c,type:u+"/"+c,extn:c,data:a||"",rId:p,isDuplicate:!!(v!=null&&v.Target),Target:v!=null&&v.Target?v.Target:"../media/media-".concat(e._slideNum,"-").concat(e._relsMedia.length+1,".").concat(c)}),h.mediaRid=p,e._relsMedia.push({path:l||"preencoded"+c,type:u+"/"+c,extn:c,data:a||"",rId:$u(e),isDuplicate:!!(v!=null&&v.Target),Target:v!=null&&v.Target?v.Target:"../media/media-".concat(e._slideNum,"-").concat(e._relsMedia.length+0,".").concat(c)}),e._relsMedia.push({path:"preencoded.png",type:"image/png",extn:"png",data:f,rId:$u(e),Target:"../media/image-".concat(e._slideNum,"-").concat(e._relsMedia.length+1,".png")})}e._slideObjects.push(h)}function VKe(e,t){e._slideObjects.push({_type:qt.notes,text:[{text:t}]})}function B_(e,t,n){var r=typeof n=="object"?n:{};r.line=r.line||{type:"none"};var i={_type:qt.text,shape:t||rd.RECTANGLE,options:r,text:null};if(!t)throw new Error("Missing/Invalid shape parameter! Example: `addShape(pptxgen.shapes.LINE, {x:1, y:1, w:1, h:1});`");var o={type:r.line.type||"solid",color:r.line.color||Ste,transparency:r.line.transparency||0,width:r.line.width||1,dashType:r.line.dashType||"solid",beginArrowType:r.line.beginArrowType||null,endArrowType:r.line.endArrowType||null};if(typeof r.line=="object"&&r.line.type!=="none"&&(r.line=o),r.x=r.x||(r.x===0?0:1),r.y=r.y||(r.y===0?0:1),r.w=r.w||(r.w===0?0:1),r.h=r.h||(r.h===0?0:1),r.objectName=r.objectName?jt(r.objectName):"Shape ".concat(e._slideObjects.filter(function(s){return s._type===qt.text}).length),typeof r.line=="string"){var a=o;a.color=String(r.line),r.line=a}typeof r.lineSize=="number"&&(r.line.width=r.lineSize),typeof r.lineDash=="string"&&(r.line.dashType=r.lineDash),typeof r.lineHead=="string"&&(r.line.beginArrowType=r.lineHead),typeof r.lineTail=="string"&&(r.line.endArrowType=r.lineTail),Fv(e,i),e._slideObjects.push(i)}function DKe(e,t,n,r,i,o,a){var s=[e],l=n&&typeof n=="object"?n:{};l.objectName=l.objectName?jt(l.objectName):"Table ".concat(e._slideObjects.filter(function(h){return h._type===qt.table}).length);{if(t===null||t.length===0||!Array.isArray(t))throw new Error("addTable: Array expected! EX: 'slide.addTable( [rows], {options} );' (https://gitbrent.github.io/PptxGenJS/docs/api-tables.html)");if(!t[0]||!Array.isArray(t[0]))throw new Error("addTable: 'rows' should be an array of cells! EX: 'slide.addTable( [ ['A'], ['B'], {text:'C',options:{align:'center'}} ] );' (https://gitbrent.github.io/PptxGenJS/docs/api-tables.html)")}var u=[];t.forEach(function(h){var p=[];Array.isArray(h)?h.forEach(function(v){var g={_type:qt.tablecell,text:"",options:typeof v=="object"&&v.options?v.options:{}};typeof v=="string"||typeof v=="number"?g.text=v.toString():v.text&&(typeof v.text=="string"||typeof v.text=="number"?g.text=v.text.toString():v.text&&(g.text=v.text),v.options&&typeof v.options=="object"&&(g.options=v.options)),g.options.border=g.options.border||l.border||[{type:"none"},{type:"none"},{type:"none"},{type:"none"}];var m=g.options.border;!Array.isArray(m)&&typeof m=="object"&&(g.options.border=[m,m,m,m]),g.options.border[0]||(g.options.border[0]={type:"none"}),g.options.border[1]||(g.options.border[1]={type:"none"}),g.options.border[2]||(g.options.border[2]={type:"none"}),g.options.border[3]||(g.options.border[3]={type:"none"});var y=[0,1,2,3];y.forEach(function(R){g.options.border[R]={type:g.options.border[R].type||ap.type,color:g.options.border[R].color||ap.color,pt:typeof g.options.border[R].pt=="number"?g.options.border[R].pt:ap.pt}}),p.push(g)}):(console.log("addTable: tableRows has a bad row. A row should be an array of cells. You provided:"),console.log(h)),u.push(p)}),l.x=dn(l.x||(l.x===0?0:$t/2),"X",i),l.y=dn(l.y||(l.y===0?0:$t/2),"Y",i),l.h&&(l.h=dn(l.h,"Y",i)),l.fontSize=l.fontSize||Rs,l.margin=l.margin===0||l.margin?l.margin:xte,typeof l.margin=="number"&&(l.margin=[Number(l.margin),Number(l.margin),Number(l.margin),Number(l.margin)]),l.color||(l.color=l.color||ea),typeof l.border=="string"?(console.warn("addTable `border` option must be an object. Ex: `{border: {type:'none'}}`"),l.border=null):Array.isArray(l.border)&&[0,1,2,3].forEach(function(h){l.border[h]=l.border[h]?{type:l.border[h].type||ap.type,color:l.border[h].color||ap.color,pt:l.border[h].pt||ap.pt}:{type:"none"}}),l.autoPage=typeof l.autoPage=="boolean"?l.autoPage:!1,l.autoPageRepeatHeader=typeof l.autoPageRepeatHeader=="boolean"?l.autoPageRepeatHeader:!1,l.autoPageHeaderRows=typeof l.autoPageHeaderRows<"u"&&!isNaN(Number(l.autoPageHeaderRows))?Number(l.autoPageHeaderRows):1,l.autoPageLineWeight=typeof l.autoPageLineWeight<"u"&&!isNaN(Number(l.autoPageLineWeight))?Number(l.autoPageLineWeight):0,l.autoPageLineWeight&&(l.autoPageLineWeight>1?l.autoPageLineWeight=1:l.autoPageLineWeight<-1&&(l.autoPageLineWeight=-1));var c=T2;if(r&&typeof r._margin<"u"&&(Array.isArray(r._margin)?c=r._margin:isNaN(Number(r._margin))||(c=[Number(r._margin),Number(r._margin),Number(r._margin),Number(r._margin)])),l.colW){var f=u[0].reduce(function(h,p){var v;return!((v=p==null?void 0:p.options)===null||v===void 0)&&v.colspan&&typeof p.options.colspan=="number"?h+=p.options.colspan:h+=1,h},0);typeof l.colW=="string"||typeof l.colW=="number"||l.colW&&Array.isArray(l.colW)&&l.colW.length===1&&f>1?(l.w=Math.floor(Number(l.colW)*f),l.colW=null):l.colW&&Array.isArray(l.colW)&&l.colW.length!==f&&(console.warn("addTable: mismatch: (colW.length != data.length) Therefore, defaulting to evenly distributed col widths."),l.colW=null)}else l.w?l.w=dn(l.w,"X",i):l.w=Math.floor(i._sizeW/$t-c[1]-c[3]);l.x&&l.x<20&&(l.x=Mn(l.x)),l.y&&l.y<20&&(l.y=Mn(l.y)),l.w&&l.w<20&&(l.w=Mn(l.w)),l.h&&l.h<20&&(l.h=Mn(l.h)),u.forEach(function(h){h.forEach(function(p,v){typeof p=="number"||typeof p=="string"?h[v]={_type:qt.tablecell,text:String(h[v]),options:l}:typeof p=="object"&&(typeof p.text=="number"?h[v].text=h[v].text.toString():(typeof p.text>"u"||p.text===null)&&(h[v].text=""),h[v].options=p.options||{},h[v]._type=qt.tablecell)})});var d=[];return l&&!l.autoPage?(Fv(e,u),e._slideObjects.push({_type:qt.table,arrTabRows:u,options:Object.assign({},l)})):(l.autoPageRepeatHeader&&(l._arrObjTabHeadRows=u.filter(function(h,p){return p<l.autoPageHeaderRows})),Lte(u,l,i,r).forEach(function(h,p){a(e._slideNum+p)||s.push(o({masterName:(r==null?void 0:r._name)||null})),p>0&&(l.y=Mn(l.autoPageSlideStartY||l.newSlideStartY||c[0]));{var v=a(e._slideNum+p);l.autoPage=!1,Fv(v,h.rows),v.addTable(h.rows,Object.assign({},l)),p>0&&d.push(v)}})),d}function MS(e,t,n,r){var i={_type:r?qt.placeholder:qt.text,shape:(n==null?void 0:n.shape)||rd.RECTANGLE,text:!t||t.length===0?[{text:"",options:null}]:t,options:n||{}};function o(a){{if(a.placeholder||(a.color=a.color||i.options.color||e.color||ea),(a.placeholder||r)&&(a.bullet=a.bullet||!1),a.placeholder&&e._slideLayout&&e._slideLayout._slideObjects){var s=e._slideLayout._slideObjects.filter(function(c){return c._type==="placeholder"&&c.options&&c.options.placeholder&&c.options.placeholder===a.placeholder})[0];s!=null&&s.options&&(a=ni(ni({},a),s.options))}if(a.objectName=a.objectName?jt(a.objectName):"Text ".concat(e._slideObjects.filter(function(c){return c._type===qt.text}).length),a.shape===rd.LINE){var l={type:a.line.type||"solid",color:a.line.color||Ste,transparency:a.line.transparency||0,width:a.line.width||1,dashType:a.line.dashType||"solid",beginArrowType:a.line.beginArrowType||null,endArrowType:a.line.endArrowType||null};if(typeof a.line=="object"&&(a.line=l),typeof a.line=="string"){var u=l;typeof a.line=="string"&&(u.color=a.line),a.line=u}typeof a.lineSize=="number"&&(a.line.width=a.lineSize),typeof a.lineDash=="string"&&(a.line.dashType=a.lineDash),typeof a.lineHead=="string"&&(a.line.beginArrowType=a.lineHead),typeof a.lineTail=="string"&&(a.line.endArrowType=a.lineTail)}a.line=a.line||{},a.lineSpacing=a.lineSpacing&&!isNaN(a.lineSpacing)?a.lineSpacing:null,a.lineSpacingMultiple=a.lineSpacingMultiple&&!isNaN(a.lineSpacingMultiple)?a.lineSpacingMultiple:null,a._bodyProp=a._bodyProp||{},a._bodyProp.autoFit=a.autoFit||!1,a._bodyProp.anchor=a.placeholder?null:Wp.ctr,a._bodyProp.vert=a.vert||null,a._bodyProp.wrap=typeof a.wrap=="boolean"?a.wrap:!0,(a.inset&&!isNaN(Number(a.inset))||a.inset===0)&&(a._bodyProp.lIns=Mn(a.inset),a._bodyProp.rIns=Mn(a.inset),a._bodyProp.tIns=Mn(a.inset),a._bodyProp.bIns=Mn(a.inset)),typeof a.underline=="boolean"&&a.underline===!0&&(a.underline={style:"sng"})}return(a.align||"").toLowerCase().indexOf("c")===0?a._bodyProp.align=Xp.center:(a.align||"").toLowerCase().indexOf("l")===0?a._bodyProp.align=Xp.left:(a.align||"").toLowerCase().indexOf("r")===0?a._bodyProp.align=Xp.right:(a.align||"").toLowerCase().indexOf("j")===0&&(a._bodyProp.align=Xp.justify),(a.valign||"").toLowerCase().indexOf("b")===0?a._bodyProp.anchor=Wp.b:(a.valign||"").toLowerCase().indexOf("m")===0?a._bodyProp.anchor=Wp.ctr:(a.valign||"").toLowerCase().indexOf("t")===0&&(a._bodyProp.anchor=Wp.t),eC(a.shadow),a}i.options=o(i.options),i.text.forEach(function(a){return a.options=o(a.options||{})}),Fv(e,i.text||""),e._slideObjects.push(i)}function UKe(e){(e._slideLayout._slideObjects||[]).forEach(function(t){t._type===qt.placeholder&&e._slideObjects.filter(function(n){return n.options&&n.options.placeholder===t.options.placeholder}).length===0&&MS(e,[{text:""}],t.options,!1)})}function Ote(e,t){var n;if(t.bkgd&&(t.background||(t.background={}),typeof t.bkgd=="string"?t.background.color=t.bkgd:(t.bkgd.data&&(t.background.data=t.bkgd.data),t.bkgd.path&&(t.background.path=t.bkgd.path),t.bkgd.src&&(t.background.path=t.bkgd.src))),!((n=t.background)===null||n===void 0)&&n.fill&&(t.background.color=t.background.fill),e&&(e.path||e.data)){e.path=e.path||"preencoded.png";var r=(e.path.split(".").pop()||"png").split("?")[0];r==="jpg"&&(r="jpeg"),t._relsMedia=t._relsMedia||[];var i=t._relsMedia.length+1;t._relsMedia.push({path:e.path,type:qt.image,extn:r,data:e.data||null,rId:i,Target:"../media/".concat((t._name||"").replace(/\s+/gi,"-"),"-image-").concat(t._relsMedia.length+1,".").concat(r)}),t._bkgdImgRid=i}}function Fv(e,t){var n=[];typeof t=="string"||typeof t=="number"||(Array.isArray(t)?n=t:typeof t=="object"&&(n=[t]),n.forEach(function(r){if(Array.isArray(r))Fv(e,r);else if(Array.isArray(r.text))Fv(e,r.text);else if(r&&typeof r=="object"&&r.options&&r.options.hyperlink&&!r.options.hyperlink._rId)if(typeof r.options.hyperlink!="object")console.log("ERROR: text `hyperlink` option should be an object. Ex: `hyperlink: {url:'https://github.com'}` ");else if(!r.options.hyperlink.url&&!r.options.hyperlink.slide)console.log("ERROR: 'hyperlink requires either: `url` or `slide`'");else{var i=$u(e);e._rels.push({type:qt.hyperlink,data:r.options.hyperlink.slide?"slide":"dummy",rId:i,Target:jt(r.options.hyperlink.url)||r.options.hyperlink.slide.toString()}),r.options.hyperlink._rId=i}}))}var BKe=function(){function e(t){var n;this.addSlide=t.addSlide,this.getSlide=t.getSlide,this._name="Slide ".concat(t.slideNumber),this._presLayout=t.presLayout,this._rId=t.slideRId,this._rels=[],this._relsChart=[],this._relsMedia=[],this._setSlideNum=t.setSlideNum,this._slideId=t.slideId,this._slideLayout=t.slideLayout||null,this._slideNum=t.slideNumber,this._slideObjects=[],this._slideNumberProps=!((n=this._slideLayout)===null||n===void 0)&&n._slideNumberProps?this._slideLayout._slideNumberProps:null}return Object.defineProperty(e.prototype,"bkgd",{get:function(){return this._bkgd},set:function(t){this._bkgd=t,(!this._background||!this._background.color)&&(this._background||(this._background={}),typeof t=="string"&&(this._background.color=t))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"background",{get:function(){return this._background},set:function(t){this._background=t,t&&Ote(t,this)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){return this._color},set:function(t){this._color=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hidden",{get:function(){return this._hidden},set:function(t){this._hidden=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"slideNumber",{get:function(){return this._slideNumberProps},set:function(t){this._slideNumberProps=t,this._setSlideNum(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"newAutoPagedSlides",{get:function(){return this._newAutoPagedSlides},enumerable:!1,configurable:!0}),e.prototype.addChart=function(t,n,r){var i=r||{};return i._type=t,Tte(this,t,n,r),this},e.prototype.addImage=function(t){return _te(this,t),this},e.prototype.addMedia=function(t){return WKe(this,t),this},e.prototype.addNotes=function(t){return VKe(this,t),this},e.prototype.addShape=function(t,n){return B_(this,t,n),this},e.prototype.addTable=function(t,n){return this._newAutoPagedSlides=DKe(this,t,n,this._slideLayout,this._presLayout,this.addSlide,this.getSlide),this},e.prototype.addText=function(t,n){var r=typeof t=="string"||typeof t=="number"?[{text:t,options:n}]:t;return MS(this,r,n,!1),this},e}();function YKe(e,t){return Vl(this,void 0,void 0,function(){var n;return Dl(this,function(r){switch(r.label){case 0:return n=e.data,[4,new Promise(function(i,o){var a,s,l=new bte,u=(n.length-1)*2+1,c=((s=(a=n[0])===null||a===void 0?void 0:a.labels)===null||s===void 0?void 0:s.length)>1;l.folder("_rels"),l.folder("docProps"),l.folder("xl/_rels"),l.folder("xl/tables"),l.folder("xl/theme"),l.folder("xl/worksheets"),l.folder("xl/worksheets/_rels"),l.file("[Content_Types].xml",`<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"> <Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/> <Default Extension="xml" ContentType="application/xml"/> <Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"/> <Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/> <Override PartName="/xl/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/> <Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"/> <Override PartName="/xl/sharedStrings.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"/> <Override PartName="/xl/tables/table1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml"/> <Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/> <Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"/></Types>
|
||
`),l.file("_rels/.rels",`<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/></Relationships>
|
||
`),l.file("docProps/app.xml",`<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"><Application>Microsoft Macintosh Excel</Application><DocSecurity>0</DocSecurity><ScaleCrop>false</ScaleCrop><HeadingPairs><vt:vector size="2" baseType="variant"><vt:variant><vt:lpstr>Worksheets</vt:lpstr></vt:variant><vt:variant><vt:i4>1</vt:i4></vt:variant></vt:vector></HeadingPairs><TitlesOfParts><vt:vector size="1" baseType="lpstr"><vt:lpstr>Sheet1</vt:lpstr></vt:vector></TitlesOfParts><Company></Company><LinksUpToDate>false</LinksUpToDate><SharedDoc>false</SharedDoc><HyperlinksChanged>false</HyperlinksChanged><AppVersion>16.0300</AppVersion></Properties>
|
||
`),l.file("docProps/core.xml",'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><dc:creator>PptxGenJS</dc:creator><cp:lastModifiedBy>PptxGenJS</cp:lastModifiedBy><dcterms:created xsi:type="dcterms:W3CDTF">'+new Date().toISOString()+'</dcterms:created><dcterms:modified xsi:type="dcterms:W3CDTF">'+new Date().toISOString()+"</dcterms:modified></cp:coreProperties>"),l.file("xl/_rels/workbook.xml.rels",'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target="theme/theme1.xml"/><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet1.xml"/><Relationship Id="rId4" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings" Target="sharedStrings.xml"/></Relationships>'),l.file("xl/styles.xml",`<?xml version="1.0" encoding="UTF-8" standalone="yes"?><styleSheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"><numFmts count="1"><numFmt numFmtId="0" formatCode="General"/></numFmts><fonts count="4"><font><sz val="9"/><color indexed="8"/><name val="Geneva"/></font><font><sz val="9"/><color indexed="8"/><name val="Geneva"/></font><font><sz val="10"/><color indexed="8"/><name val="Geneva"/></font><font><sz val="18"/><color indexed="8"/><name val="Arial"/></font></fonts><fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills><borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders><dxfs count="0"/><tableStyles count="0"/><colors><indexedColors><rgbColor rgb="ff000000"/><rgbColor rgb="ffffffff"/><rgbColor rgb="ffff0000"/><rgbColor rgb="ff00ff00"/><rgbColor rgb="ff0000ff"/><rgbColor rgb="ffffff00"/><rgbColor rgb="ffff00ff"/><rgbColor rgb="ff00ffff"/><rgbColor rgb="ff000000"/><rgbColor rgb="ffffffff"/><rgbColor rgb="ff878787"/><rgbColor rgb="fff9f9f9"/></indexedColors></colors></styleSheet>
|
||
`),l.file("xl/theme/theme1.xml",'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"><a:themeElements><a:clrScheme name="Office"><a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1><a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1><a:dk2><a:srgbClr val="44546A"/></a:dk2><a:lt2><a:srgbClr val="E7E6E6"/></a:lt2><a:accent1><a:srgbClr val="4472C4"/></a:accent1><a:accent2><a:srgbClr val="ED7D31"/></a:accent2><a:accent3><a:srgbClr val="A5A5A5"/></a:accent3><a:accent4><a:srgbClr val="FFC000"/></a:accent4><a:accent5><a:srgbClr val="5B9BD5"/></a:accent5><a:accent6><a:srgbClr val="70AD47"/></a:accent6><a:hlink><a:srgbClr val="0563C1"/></a:hlink><a:folHlink><a:srgbClr val="954F72"/></a:folHlink></a:clrScheme><a:fontScheme name="Office"><a:majorFont><a:latin typeface="Calibri Light" panose="020F0302020204030204"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="Yu Gothic Light"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="DengXian Light"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Times New Roman"/><a:font script="Hebr" typeface="Times New Roman"/><a:font script="Thai" typeface="Tahoma"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="MoolBoran"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Times New Roman"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/></a:majorFont><a:minorFont><a:latin typeface="Calibri" panose="020F0502020204030204"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="Yu Gothic"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="DengXian"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Arial"/><a:font script="Hebr" typeface="Arial"/><a:font script="Thai" typeface="Tahoma"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="DaunPenh"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Arial"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/></a:minorFont></a:fontScheme><a:fmtScheme name="Office"><a:fillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:lumMod val="110000"/><a:satMod val="105000"/><a:tint val="67000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="103000"/><a:tint val="73000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="109000"/><a:tint val="81000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:satMod val="103000"/><a:lumMod val="102000"/><a:tint val="94000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:satMod val="110000"/><a:lumMod val="100000"/><a:shade val="100000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="99000"/><a:satMod val="120000"/><a:shade val="78000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:fillStyleLst><a:lnStyleLst><a:ln w="6350" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="12700" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="19050" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln></a:lnStyleLst><a:effectStyleLst><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="57150" dist="19050" dir="5400000" algn="ctr" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="63000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle></a:effectStyleLst><a:bgFillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:solidFill><a:schemeClr val="phClr"><a:tint val="95000"/><a:satMod val="170000"/></a:schemeClr></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="93000"/><a:satMod val="150000"/><a:shade val="98000"/><a:lumMod val="102000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:tint val="98000"/><a:satMod val="130000"/><a:shade val="90000"/><a:lumMod val="103000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="63000"/><a:satMod val="120000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:bgFillStyleLst></a:fmtScheme></a:themeElements><a:objectDefaults/><a:extraClrSchemeLst/><a:extLst><a:ext uri="{05A4C25C-085E-4340-85A3-A5531E510DB2}"><thm15:themeFamily xmlns:thm15="http://schemas.microsoft.com/office/thememl/2012/main" name="Office Theme" id="{62F939B6-93AF-4DB8-9C6B-D6C7DFDC589F}" vid="{4A3C46E8-61CC-4603-A589-7422A47A8E4A}"/></a:ext></a:extLst></a:theme>'),l.file("xl/workbook.xml",`<?xml version="1.0" encoding="UTF-8" standalone="yes"?><workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x15" xmlns:x15="http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"><fileVersion appName="xl" lastEdited="7" lowestEdited="6" rupBuild="10507"/><workbookPr/><bookViews><workbookView xWindow="0" yWindow="500" windowWidth="20960" windowHeight="15960"/></bookViews><sheets><sheet name="Sheet1" sheetId="1" r:id="rId1"/></sheets><calcPr calcId="0" concurrentCalc="0"/></workbook>
|
||
`),l.file("xl/worksheets/_rels/sheet1.xml.rels",`<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/table" Target="../tables/table1.xml"/></Relationships>
|
||
`);{var f='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>';if(e.opts._type===ct.BUBBLE||e.opts._type===ct.BUBBLE3D)f+='<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="'.concat(u,'" uniqueCount="').concat(u,'">');else if(e.opts._type===ct.SCATTER)f+='<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="'.concat(n.length,'" uniqueCount="').concat(n.length,'">');else if(c){var d=n.length;n[0].labels.forEach(function(_){return d+=_.filter(function(M){return M&&M!==""}).length}),f+='<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="'.concat(d,'" uniqueCount="').concat(d,'">'),f+="<si><t/></si>"}else{var h=n.length+n[0].labels.length*n[0].labels[0].length+n[0].labels.length,p=n.length+n[0].labels.length*n[0].labels[0].length+1;f+='<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="'.concat(h,'" uniqueCount="').concat(p,'">'),f+='<si><t xml:space="preserve"></t></si>'}e.opts._type===ct.BUBBLE||e.opts._type===ct.BUBBLE3D?n.forEach(function(_,M){M===0?f+="<si><t>X-Axis</t></si>":(f+="<si><t>".concat(jt(_.name||"Y-Axis".concat(M)),"</t></si>"),f+="<si><t>".concat(jt("Size".concat(M)),"</t></si>"))}):n.forEach(function(_){f+="<si><t>".concat(jt((_.name||" ").replace("X-Axis","X-Values")),"</t></si>")}),e.opts._type!==ct.BUBBLE&&e.opts._type!==ct.BUBBLE3D&&e.opts._type!==ct.SCATTER&&n[0].labels.slice().reverse().forEach(function(_){_.filter(function(M){return M&&M!==""}).forEach(function(M){f+="<si><t>".concat(jt(M),"</t></si>")})}),f+=`</sst>
|
||
`,l.file("xl/sharedStrings.xml",f)}{var v='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>';if(e.opts._type===ct.BUBBLE||e.opts._type===ct.BUBBLE3D){v+='<table xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" id="1" name="Table1" displayName="Table1" ref="A1:'.concat(Hn(u)).concat(u,'" totalsRowShown="0">'),v+='<tableColumns count="'.concat(u,'">');var g=1;n.forEach(function(_,M){M===0?v+='<tableColumn id="'.concat(M+1,'" name="X-Values"/>'):(v+='<tableColumn id="'.concat(M+g,'" name="').concat(_.name,'"/>'),g++,v+='<tableColumn id="'.concat(M+g,'" name="Size').concat(M,'"/>'))})}else e.opts._type===ct.SCATTER?(v+='<table xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" id="1" name="Table1" displayName="Table1" ref="A1:'.concat(Hn(n.length)).concat(n[0].values.length+1,'" totalsRowShown="0">'),v+='<tableColumns count="'.concat(n.length,'">'),n.forEach(function(_,M){v+='<tableColumn id="'.concat(M+1,'" name="').concat(M===0?"X-Values":"Y-Value ").concat(M,'"/>')})):(v+='<table xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" id="1" name="Table1" displayName="Table1" ref="A1:'.concat(Hn(n.length+n[0].labels.length)).concat(n[0].labels[0].length+1,`'" totalsRowShown="0">`),v+='<tableColumns count="'.concat(n.length+n[0].labels.length,'">'),n[0].labels.forEach(function(_,M){v+='<tableColumn id="'.concat(M+1,'" name="Column').concat(M+1,'"/>')}),n.forEach(function(_,M){v+='<tableColumn id="'.concat(M+n[0].labels.length+1,'" name="').concat(jt(_.name),'"/>')}));v+="</tableColumns>",v+='<tableStyleInfo showFirstColumn="0" showLastColumn="0" showRowStripes="1" showColumnStripes="0"/>',v+="</table>",l.file("xl/tables/table1.xml",v)}{var m='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>';if(m+='<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac">',e.opts._type===ct.BUBBLE||e.opts._type===ct.BUBBLE3D?m+='<dimension ref="A1:'.concat(Hn(u)).concat(n[0].values.length+1,'"/>'):e.opts._type===ct.SCATTER?m+='<dimension ref="A1:'.concat(Hn(n.length)).concat(n[0].values.length+1,'"/>'):m+='<dimension ref="A1:'.concat(Hn(n.length+1)).concat(n[0].values.length+1,'"/>'),m+='<sheetViews><sheetView tabSelected="1" workbookViewId="0"><selection activeCell="B1" sqref="B1"/></sheetView></sheetViews>',m+='<sheetFormatPr baseColWidth="10" defaultRowHeight="16"/>',e.opts._type===ct.BUBBLE||e.opts._type===ct.BUBBLE3D){m+="<sheetData>",m+='<row r="1" spans="1:'.concat(u,'">'),m+='<c r="A1" t="s"><v>0</v></c>';for(var y=1;y<u;y++)m+='<c r="'.concat(Hn(y+1),'1" t="s"><v>').concat(y,"</v></c>");m+="</row>",n[0].values.forEach(function(_,M){m+='<row r="'.concat(M+2,'" spans="1:').concat(u,'">'),m+='<c r="A'.concat(M+2,'"><v>').concat(_,"</v></c>");for(var w=2,L=1;L<n.length;L++)m+='<c r="'.concat(Hn(w)).concat(M+2,'"><v>').concat(n[L].values[M]||"","</v></c>"),w++,m+='<c r="'.concat(Hn(w)).concat(M+2,'"><v>').concat(n[L].sizes[M]||"","</v></c>"),w++;m+="</row>"})}else if(e.opts._type===ct.SCATTER){m+="<sheetData>",m+='<row r="1" spans="1:'.concat(n.length,'">');for(var y=0;y<n.length;y++)m+='<c r="'.concat(Hn(y+1),'1" t="s"><v>').concat(y,"</v></c>");m+="</row>",n[0].values.forEach(function(_,M){m+='<row r="'.concat(M+2,'" spans="1:').concat(n.length,'">'),m+='<c r="A'.concat(M+2,'"><v>').concat(_,"</v></c>");for(var w=1;w<n.length;w++)m+='<c r="'.concat(Hn(w+1)).concat(M+2,'"><v>').concat(n[w].values[M]||n[w].values[M]===0?n[w].values[M]:"","</v></c>");m+="</row>"})}else if(m+="<sheetData>",c){m+='<row r="1" spans="1:'.concat(n.length+n[0].labels.length,'">');for(var y=0;y<n[0].labels.length;y++)m+='<c r="'.concat(Hn(y+1),'1" t="s"><v>0</v></c>');for(var y=n[0].labels.length-1;y<n.length+n[0].labels.length-1;y++)m+='<c r="'.concat(Hn(y+n[0].labels.length),'1" t="s"><v>').concat(y,"</v></c>");m+="</row>";for(var R=n.length,A=n[0].labels[0].length,x=n[0].labels.length,S=function(_){m+='<row r="'.concat(_+2,'" spans="1:').concat(R+x,'">');var M=R,w=n[0].labels.slice().reverse();w.forEach(function(k,P){var F=k[_];if(F){var C=P===0?1:w[P-1].filter(function(N){return N&&N!==""}).length;M+=C,m+='<c r="'.concat(Hn(_+1+P)).concat(_+2,'" t="s"><v>').concat(M,"</v></c>")}});for(var L=0;L<R;L++)m+='<c r="'.concat(Hn(x+L+1)).concat(_+2,'"><v>').concat(n[L].values[_]||0,"</v></c>");m+="</row>"},y=0;y<A;y++)S(y)}else{m+='<row r="1" spans="1:'.concat(n.length+n[0].labels.length,'">'),n[0].labels.forEach(function(_,M){m+='<c r="'.concat(Hn(M+1),'1" t="s"><v>0</v></c>')});for(var y=0;y<n.length;y++)m+='<c r="'.concat(Hn(y+1+n[0].labels.length),'1" t="s"><v>').concat(y+1,"</v></c>");m+="</row>",n[0].labels[0].forEach(function(_,M){m+='<row r="'.concat(M+2,'" spans="1:').concat(n.length+n[0].labels.length,'">');for(var w=n[0].labels.length-1;w>=0;w--)m+='<c r="'.concat(Hn(n[0].labels.length-w)).concat(M+2,'" t="s">'),m+="<v>".concat(n.length+M+1,"</v>"),m+="</c>";for(var L=0;L<n.length;L++)m+='<c r="'.concat(Hn(n[0].labels.length+L+1)).concat(M+2,'"><v>').concat(n[L].values[M]||"","</v></c>");m+="</row>"})}m+="</sheetData>",m+='<pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3"/>',m+=`</worksheet>
|
||
`,l.file("xl/worksheets/sheet1.xml",m)}l.generateAsync({type:"base64"}).then(function(_){t.file("ppt/embeddings/Microsoft_Excel_Worksheet".concat(e.globalId,".xlsx"),_,{base64:!0}),t.file("ppt/charts/_rels/"+e.fileName+".rels",'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">'+'<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/package" Target="../embeddings/Microsoft_Excel_Worksheet'.concat(e.globalId,'.xlsx"/>')+"</Relationships>"),t.file("ppt/charts/".concat(e.fileName),ZKe(e)),i("")}).catch(function(_){o(_)})})];case 1:return[2,r.sent()]}})})}function ZKe(e){var t,n,r,i,o='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>',a=!1;if(o+='<c:chartSpace xmlns:c="http://schemas.openxmlformats.org/drawingml/2006/chart" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">',o+='<c:date1904 val="0"/>',o+='<c:roundedCorners val="'.concat(e.opts.chartArea.roundedCorners?"1":"0",'"/>'),o+="<c:chart>",e.opts.showTitle?(o+=p4({title:e.opts.title||"Chart Title",color:e.opts.titleColor,fontFace:e.opts.titleFontFace,fontSize:e.opts.titleFontSize||OKe,titleAlign:e.opts.titleAlign,titleBold:e.opts.titleBold,titlePos:e.opts.titlePos,titleRotate:e.opts.titleRotate},e.opts.x,e.opts.y),o+='<c:autoTitleDeleted val="0"/>'):o+='<c:autoTitleDeleted val="1"/>',e.opts._type===ct.BAR3D&&(o+='<c:view3D><c:rotX val="'.concat(e.opts.v3DRotX,'"/><c:rotY val="').concat(e.opts.v3DRotY,'"/><c:rAngAx val="').concat(e.opts.v3DRAngAx?1:0,'"/><c:perspective val="').concat(e.opts.v3DPerspective,'"/></c:view3D>')),o+="<c:plotArea>",e.opts.layout?(o+="<c:layout>",o+=" <c:manualLayout>",o+=' <c:layoutTarget val="inner" />',o+=' <c:xMode val="edge" />',o+=' <c:yMode val="edge" />',o+=' <c:x val="'+(e.opts.layout.x||0)+'" />',o+=' <c:y val="'+(e.opts.layout.y||0)+'" />',o+=' <c:w val="'+(e.opts.layout.w||1)+'" />',o+=' <c:h val="'+(e.opts.layout.h||1)+'" />',o+=" </c:manualLayout>",o+="</c:layout>"):o+="<c:layout/>",Array.isArray(e.opts._type)?e.opts._type.forEach(function(s){var l=ni(ni({},e.opts),s.options),u=l.secondaryValAxis?Db:Ku,c=l.secondaryCatAxis?F_:Wg;a=a||l.secondaryValAxis,o+=vB(s.type,s.data,l,u,c)}):o+=vB(e.opts._type,e.data,e.opts,Ku,Wg),e.opts._type!==ct.PIE&&e.opts._type!==ct.DOUGHNUT){if(e.opts.valAxes&&e.opts.valAxes.length>1&&!a)throw new Error("Secondary axis must be used by one of the multiple charts");if(e.opts.catAxes){if(!e.opts.valAxes||e.opts.valAxes.length!==e.opts.catAxes.length)throw new Error("There must be the same number of value and category axes.");o+=b8(ni(ni({},e.opts),e.opts.catAxes[0]),Wg,Ku)}else o+=b8(e.opts,Wg,Ku);e.opts.valAxes?(o+=x8(ni(ni({},e.opts),e.opts.valAxes[0]),Ku),e.opts.valAxes[1]&&(o+=x8(ni(ni({},e.opts),e.opts.valAxes[1]),Db))):(o+=x8(e.opts,Ku),e.opts._type===ct.BAR3D&&(o+=QKe(e.opts,wte,Ku))),!((t=e.opts)===null||t===void 0)&&t.catAxes&&(!((n=e.opts)===null||n===void 0)&&n.catAxes[1])&&(o+=b8(ni(ni({},e.opts),e.opts.catAxes[1]),F_,Db))}return e.opts.showDataTable&&(o+="<c:dTable>",o+=' <c:showHorzBorder val="'.concat(e.opts.showDataTableHorzBorder?1:0,'"/>'),o+=' <c:showVertBorder val="'.concat(e.opts.showDataTableVertBorder?1:0,'"/>'),o+=' <c:showOutline val="'.concat(e.opts.showDataTableOutline?1:0,'"/>'),o+=' <c:showKeys val="'.concat(e.opts.showDataTableKeys?1:0,'"/>'),o+=" <c:spPr>",o+=" <a:noFill/>",o+=' <a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="tx1"><a:lumMod val="15000"/><a:lumOff val="85000"/></a:schemeClr></a:solidFill><a:round/></a:ln>',o+=" <a:effectLst/>",o+=" </c:spPr>",o+=" <c:txPr>",o+=' <a:bodyPr rot="0" spcFirstLastPara="1" vertOverflow="ellipsis" vert="horz" wrap="square" anchor="ctr" anchorCtr="1"/>',o+=" <a:lstStyle/>",o+=" <a:p>",o+=' <a:pPr rtl="0">',o+=' <a:defRPr sz="'.concat(Math.round((e.opts.dataTableFontSize||Rs)*100),'" b="0" i="0" u="none" strike="noStrike" kern="1200" baseline="0">'),o+=' <a:solidFill><a:schemeClr val="tx1"><a:lumMod val="65000"/><a:lumOff val="35000"/></a:schemeClr></a:solidFill>',o+=' <a:latin typeface="+mn-lt"/>',o+=' <a:ea typeface="+mn-ea"/>',o+=' <a:cs typeface="+mn-cs"/>',o+=" </a:defRPr>",o+=" </a:pPr>",o+=' <a:endParaRPr lang="en-US"/>',o+=" </a:p>",o+=" </c:txPr>",o+="</c:dTable>"),o+=" <c:spPr>",o+=!((r=e.opts.plotArea.fill)===null||r===void 0)&&r.color?Ea(e.opts.plotArea.fill):"<a:noFill/>",o+=e.opts.plotArea.border?'<a:ln w="'.concat(Wt(e.opts.plotArea.border.pt),'" cap="flat">').concat(Ea(e.opts.plotArea.border.color),"</a:ln>"):"<a:ln><a:noFill/></a:ln>",o+=" <a:effectLst/>",o+=" </c:spPr>",o+="</c:plotArea>",e.opts.showLegend&&(o+="<c:legend>",o+='<c:legendPos val="'+e.opts.legendPos+'"/>',o+='<c:overlay val="0"/>',(e.opts.legendFontFace||e.opts.legendFontSize||e.opts.legendColor)&&(o+="<c:txPr>",o+=" <a:bodyPr/>",o+=" <a:lstStyle/>",o+=" <a:p>",o+=" <a:pPr>",o+=e.opts.legendFontSize?'<a:defRPr sz="'.concat(Math.round(Number(e.opts.legendFontSize)*100),'">'):"<a:defRPr>",e.opts.legendColor&&(o+=Ea(e.opts.legendColor)),e.opts.legendFontFace&&(o+='<a:latin typeface="'+e.opts.legendFontFace+'"/>'),e.opts.legendFontFace&&(o+='<a:cs typeface="'+e.opts.legendFontFace+'"/>'),o+=" </a:defRPr>",o+=" </a:pPr>",o+=' <a:endParaRPr lang="en-US"/>',o+=" </a:p>",o+="</c:txPr>"),o+="</c:legend>"),o+=' <c:plotVisOnly val="1"/>',o+=' <c:dispBlanksAs val="'+e.opts.displayBlanksAs+'"/>',e.opts._type===ct.SCATTER&&(o+='<c:showDLblsOverMax val="1"/>'),o+="</c:chart>",o+="<c:spPr>",o+=!((i=e.opts.chartArea.fill)===null||i===void 0)&&i.color?Ea(e.opts.chartArea.fill):"<a:noFill/>",o+=e.opts.chartArea.border?'<a:ln w="'.concat(Wt(e.opts.chartArea.border.pt),'" cap="flat">').concat(Ea(e.opts.chartArea.border.color),"</a:ln>"):"<a:ln><a:noFill/></a:ln>",o+=" <a:effectLst/>",o+="</c:spPr>",o+='<c:externalData r:id="rId1"><c:autoUpdate val="0"/></c:externalData>',o+="</c:chartSpace>",o}function vB(e,t,n,r,i,o){var a=-1,s=1,l=null,u="";switch(e){case ct.AREA:case ct.BAR:case ct.BAR3D:case ct.LINE:case ct.RADAR:u+="<c:".concat(e,"Chart>"),e===ct.AREA&&n.barGrouping==="stacked"&&(u+='<c:grouping val="'+n.barGrouping+'"/>'),(e===ct.BAR||e===ct.BAR3D)&&(u+='<c:barDir val="'+n.barDir+'"/>',u+='<c:grouping val="'+(n.barGrouping||"clustered")+'"/>'),e===ct.RADAR&&(u+='<c:radarStyle val="'+n.radarStyle+'"/>'),u+='<c:varyColors val="0"/>',t.forEach(function(c){var f;a++,u+="<c:ser>",u+=' <c:idx val="'.concat(c._dataIndex,'"/><c:order val="').concat(c._dataIndex,'"/>'),u+=" <c:tx>",u+=" <c:strRef>",u+=" <c:f>Sheet1!$"+Hn(c._dataIndex+c.labels.length+1)+"$1</c:f>",u+=' <c:strCache><c:ptCount val="1"/><c:pt idx="0"><c:v>'+jt(c.name)+"</c:v></c:pt></c:strCache>",u+=" </c:strRef>",u+=" </c:tx>";var d=n.chartColors?n.chartColors[a%n.chartColors.length]:null;u+=" <c:spPr>",d==="transparent"?u+="<a:noFill/>":n.chartColorsOpacity?u+="<a:solidFill>"+In(d,'<a:alpha val="'.concat(Math.round(n.chartColorsOpacity*1e3),'"/>'))+"</a:solidFill>":u+="<a:solidFill>"+In(d)+"</a:solidFill>",e===ct.LINE||e===ct.RADAR?n.lineSize===0?u+="<a:ln><a:noFill/></a:ln>":(u+='<a:ln w="'.concat(Wt(n.lineSize),'" cap="').concat(Bb(n.lineCap),'"><a:solidFill>').concat(In(d),"</a:solidFill>"),u+='<a:prstDash val="'+(n.lineDash||"solid")+'"/><a:round/></a:ln>'):n.dataBorder&&(u+='<a:ln w="'.concat(Wt(n.dataBorder.pt),'" cap="').concat(Bb(n.lineCap),'"><a:solidFill>').concat(In(n.dataBorder.color),'</a:solidFill><a:prstDash val="solid"/><a:round/></a:ln>')),u+=th(n.shadow,eh),u+=" </c:spPr>",u+=' <c:invertIfNegative val="0"/>',e!==ct.RADAR&&(u+="<c:dLbls>",u+='<c:numFmt formatCode="'.concat(jt(n.dataLabelFormatCode)||"General",'" sourceLinked="0"/>'),n.dataLabelBkgrdColors&&(u+="<c:spPr><a:solidFill>".concat(In(d),"</a:solidFill></c:spPr>")),u+="<c:txPr><a:bodyPr/><a:lstStyle/><a:p><a:pPr>",u+='<a:defRPr b="'.concat(n.dataLabelFontBold?1:0,'" i="').concat(n.dataLabelFontItalic?1:0,'" strike="noStrike" sz="').concat(Math.round((n.dataLabelFontSize||Rs)*100),'" u="none">'),u+="<a:solidFill>".concat(In(n.dataLabelColor||ea),"</a:solidFill>"),u+='<a:latin typeface="'.concat(n.dataLabelFontFace||"Arial",'"/>'),u+="</a:defRPr></a:pPr></a:p></c:txPr>",n.dataLabelPosition&&(u+='<c:dLblPos val="'.concat(n.dataLabelPosition,'"/>')),u+='<c:showLegendKey val="0"/>',u+='<c:showVal val="'.concat(n.showValue?"1":"0",'"/>'),u+='<c:showCatName val="0"/><c:showSerName val="'.concat(n.showSerName?"1":"0",'"/><c:showPercent val="0"/><c:showBubbleSize val="0"/>'),u+='<c:showLeaderLines val="'.concat(n.showLeaderLines?"1":"0",'"/>'),u+="</c:dLbls>"),(e===ct.LINE||e===ct.RADAR)&&(u+="<c:marker>",u+=' <c:symbol val="'+n.lineDataSymbol+'"/>',n.lineDataSymbolSize&&(u+='<c:size val="'.concat(n.lineDataSymbolSize,'"/>')),u+=" <c:spPr>",u+=" <a:solidFill>".concat(In(n.chartColors[c._dataIndex+1>n.chartColors.length?Math.floor(Math.random()*n.chartColors.length):c._dataIndex]),"</a:solidFill>"),u+=' <a:ln w="'.concat(n.lineDataSymbolLineSize,'" cap="flat"><a:solidFill>').concat(In(n.lineDataSymbolLineColor||d),'</a:solidFill><a:prstDash val="solid"/><a:round/></a:ln>'),u+=" <a:effectLst/>",u+=" </c:spPr>",u+="</c:marker>"),(e===ct.BAR||e===ct.BAR3D)&&t.length===1&&(n.chartColors&&n.chartColors!==Vg&&n.chartColors.length>1||!((f=n.invertedColors)===null||f===void 0)&&f.length)&&c.values.forEach(function(h,p){var v=h<0?n.invertedColors||n.chartColors||Vg:n.chartColors||[];u+=" <c:dPt>",u+=' <c:idx val="'.concat(p,'"/>'),u+=' <c:invertIfNegative val="0"/>',u+=' <c:bubble3D val="0"/>',u+=" <c:spPr>",n.lineSize===0?u+="<a:ln><a:noFill/></a:ln>":e===ct.BAR?(u+="<a:solidFill>",u+=' <a:srgbClr val="'+v[p%v.length]+'"/>',u+="</a:solidFill>"):(u+="<a:ln>",u+=" <a:solidFill>",u+=' <a:srgbClr val="'+v[p%v.length]+'"/>',u+=" </a:solidFill>",u+="</a:ln>"),u+=th(n.shadow,eh),u+=" </c:spPr>",u+=" </c:dPt>"}),u+="<c:cat>",n.catLabelFormatCode?(u+=" <c:numRef>",u+=" <c:f>Sheet1!$A$2:$A$".concat(c.labels[0].length+1,"</c:f>"),u+=" <c:numCache>",u+=" <c:formatCode>"+(n.catLabelFormatCode||"General")+"</c:formatCode>",u+=' <c:ptCount val="'.concat(c.labels[0].length,'"/>'),c.labels[0].forEach(function(h,p){return u+='<c:pt idx="'.concat(p,'"><c:v>').concat(jt(h),"</c:v></c:pt>")}),u+=" </c:numCache>",u+=" </c:numRef>"):(u+=" <c:multiLvlStrRef>",u+=" <c:f>Sheet1!$A$2:$".concat(Hn(c.labels.length),"$").concat(c.labels[0].length+1,"</c:f>"),u+=" <c:multiLvlStrCache>",u+=' <c:ptCount val="'.concat(c.labels[0].length,'"/>'),c.labels.forEach(function(h){u+="<c:lvl>",h.forEach(function(p,v){return u+='<c:pt idx="'.concat(v,'"><c:v>').concat(jt(p),"</c:v></c:pt>")}),u+="</c:lvl>"}),u+=" </c:multiLvlStrCache>",u+=" </c:multiLvlStrRef>"),u+="</c:cat>",u+="<c:val>",u+=" <c:numRef>",u+="<c:f>Sheet1!$".concat(Hn(c._dataIndex+c.labels.length+1),"$2:$").concat(Hn(c._dataIndex+c.labels.length+1),"$").concat(c.labels[0].length+1,"</c:f>"),u+=" <c:numCache>",u+=" <c:formatCode>"+(n.valLabelFormatCode||n.dataTableFormatCode||"General")+"</c:formatCode>",u+=' <c:ptCount val="'.concat(c.labels[0].length,'"/>'),c.values.forEach(function(h,p){return u+='<c:pt idx="'.concat(p,'"><c:v>').concat(h||h===0?h:"","</c:v></c:pt>")}),u+=" </c:numCache>",u+=" </c:numRef>",u+="</c:val>",e===ct.LINE&&(u+='<c:smooth val="'+(n.lineSmooth?"1":"0")+'"/>'),u+="</c:ser>"}),u+=" <c:dLbls>",u+=' <c:numFmt formatCode="'.concat(jt(n.dataLabelFormatCode)||"General",'" sourceLinked="0"/>'),u+=" <c:txPr>",u+=" <a:bodyPr/>",u+=" <a:lstStyle/>",u+=" <a:p><a:pPr>",u+=' <a:defRPr b="'.concat(n.dataLabelFontBold?1:0,'" i="').concat(n.dataLabelFontItalic?1:0,'" strike="noStrike" sz="').concat(Math.round((n.dataLabelFontSize||Rs)*100),'" u="none">'),u+=" <a:solidFill>"+In(n.dataLabelColor||ea)+"</a:solidFill>",u+=' <a:latin typeface="'+(n.dataLabelFontFace||"Arial")+'"/>',u+=" </a:defRPr>",u+=" </a:pPr></a:p>",u+=" </c:txPr>",n.dataLabelPosition&&(u+=' <c:dLblPos val="'+n.dataLabelPosition+'"/>'),u+=' <c:showLegendKey val="0"/>',u+=' <c:showVal val="'+(n.showValue?"1":"0")+'"/>',u+=' <c:showCatName val="0"/>',u+=' <c:showSerName val="'+(n.showSerName?"1":"0")+'"/>',u+=' <c:showPercent val="0"/>',u+=' <c:showBubbleSize val="0"/>',u+=' <c:showLeaderLines val="'.concat(n.showLeaderLines?"1":"0",'"/>'),u+=" </c:dLbls>",e===ct.BAR?(u+=' <c:gapWidth val="'.concat(n.barGapWidthPct,'"/>'),u+=' <c:overlap val="'.concat((n.barGrouping||"").includes("tacked")?100:n.barOverlapPct?n.barOverlapPct:0,'"/>')):e===ct.BAR3D?(u+=' <c:gapWidth val="'.concat(n.barGapWidthPct,'"/>'),u+=' <c:gapDepth val="'.concat(n.barGapDepthPct,'"/>'),u+=' <c:shape val="'+n.bar3DShape+'"/>'):e===ct.LINE&&(u+=' <c:marker val="1"/>'),u+='<c:axId val="'.concat(i,'"/><c:axId val="').concat(r,'"/><c:axId val="').concat(wte,'"/>'),u+="</c:".concat(e,"Chart>");break;case ct.SCATTER:u+="<c:"+e+"Chart>",u+='<c:scatterStyle val="lineMarker"/>',u+='<c:varyColors val="0"/>',a=-1,t.filter(function(c,f){return f>0}).forEach(function(c,f){a++,u+="<c:ser>",u+=' <c:idx val="'.concat(f,'"/>'),u+=' <c:order val="'.concat(f,'"/>'),u+=" <c:tx>",u+=" <c:strRef>",u+=" <c:f>Sheet1!$".concat(Hn(f+2),"$1</c:f>"),u+=' <c:strCache><c:ptCount val="1"/><c:pt idx="0"><c:v>'+jt(c.name)+"</c:v></c:pt></c:strCache>",u+=" </c:strRef>",u+=" </c:tx>",u+=" <c:spPr>";{var d=n.chartColors[a%n.chartColors.length];d==="transparent"?u+="<a:noFill/>":n.chartColorsOpacity?u+="<a:solidFill>"+In(d,'<a:alpha val="'+Math.round(n.chartColorsOpacity*1e3).toString()+'"/>')+"</a:solidFill>":u+="<a:solidFill>"+In(d)+"</a:solidFill>",n.lineSize===0?u+="<a:ln><a:noFill/></a:ln>":(u+='<a:ln w="'.concat(Wt(n.lineSize),'" cap="').concat(Bb(n.lineCap),'"><a:solidFill>').concat(In(d),"</a:solidFill>"),u+='<a:prstDash val="'.concat(n.lineDash||"solid",'"/><a:round/></a:ln>')),u+=th(n.shadow,eh)}if(u+=" </c:spPr>",u+="<c:marker>",u+=' <c:symbol val="'+n.lineDataSymbol+'"/>',n.lineDataSymbolSize&&(u+='<c:size val="'.concat(n.lineDataSymbolSize,'"/>')),u+="<c:spPr>",u+="<a:solidFill>".concat(In(n.chartColors[f+1>n.chartColors.length?Math.floor(Math.random()*n.chartColors.length):f]),"</a:solidFill>"),u+='<a:ln w="'.concat(n.lineDataSymbolLineSize,'" cap="flat"><a:solidFill>').concat(In(n.lineDataSymbolLineColor||n.chartColors[a%n.chartColors.length]),'</a:solidFill><a:prstDash val="solid"/><a:round/></a:ln>'),u+="<a:effectLst/>",u+="</c:spPr>",u+="</c:marker>",n.showLabel){var h=Ub("-xxxx-xxxx-xxxx-xxxxxxxxxxxx");c.labels[0]&&(n.dataLabelFormatScatter==="custom"||n.dataLabelFormatScatter==="customXY")&&(u+="<c:dLbls>",c.labels[0].forEach(function(p,v){(n.dataLabelFormatScatter==="custom"||n.dataLabelFormatScatter==="customXY")&&(u+=" <c:dLbl>",u+=' <c:idx val="'.concat(v,'"/>'),u+=" <c:tx>",u+=" <c:rich>",u+=" <a:bodyPr>",u+=" <a:spAutoFit/>",u+=" </a:bodyPr>",u+=" <a:lstStyle/>",u+=" <a:p>",u+=" <a:pPr>",u+=" <a:defRPr/>",u+=" </a:pPr>",u+=" <a:r>",u+=' <a:rPr lang="'+(n.lang||"en-US")+'" dirty="0"/>',u+=" <a:t>"+jt(p)+"</a:t>",u+=" </a:r>",n.dataLabelFormatScatter==="customXY"&&!/^ *$/.test(p)&&(u+=" <a:r>",u+=' <a:rPr lang="'+(n.lang||"en-US")+'" baseline="0" dirty="0"/>',u+=" <a:t> (</a:t>",u+=" </a:r>",u+=' <a:fld id="{'+Ub("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")+'}" type="XVALUE">',u+=' <a:rPr lang="'+(n.lang||"en-US")+'" baseline="0"/>',u+=" <a:pPr>",u+=" <a:defRPr/>",u+=" </a:pPr>",u+=" <a:t>["+jt(c.name)+"</a:t>",u+=" </a:fld>",u+=" <a:r>",u+=' <a:rPr lang="'+(n.lang||"en-US")+'" baseline="0" dirty="0"/>',u+=" <a:t>, </a:t>",u+=" </a:r>",u+=' <a:fld id="{'+Ub("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")+'}" type="YVALUE">',u+=' <a:rPr lang="'+(n.lang||"en-US")+'" baseline="0"/>',u+=" <a:pPr>",u+=" <a:defRPr/>",u+=" </a:pPr>",u+=" <a:t>["+jt(c.name)+"]</a:t>",u+=" </a:fld>",u+=" <a:r>",u+=' <a:rPr lang="'+(n.lang||"en-US")+'" baseline="0" dirty="0"/>',u+=" <a:t>)</a:t>",u+=" </a:r>",u+=' <a:endParaRPr lang="'+(n.lang||"en-US")+'" dirty="0"/>'),u+=" </a:p>",u+=" </c:rich>",u+=" </c:tx>",u+=" <c:spPr>",u+=" <a:noFill/>",u+=" <a:ln>",u+=" <a:noFill/>",u+=" </a:ln>",u+=" <a:effectLst/>",u+=" </c:spPr>",n.dataLabelPosition&&(u+=' <c:dLblPos val="'+n.dataLabelPosition+'"/>'),u+=' <c:showLegendKey val="0"/>',u+=' <c:showVal val="0"/>',u+=' <c:showCatName val="0"/>',u+=' <c:showSerName val="0"/>',u+=' <c:showPercent val="0"/>',u+=' <c:showBubbleSize val="0"/>',u+=' <c:showLeaderLines val="1"/>',u+=" <c:extLst>",u+=' <c:ext uri="{CE6537A1-D6FC-4f65-9D91-7224C49458BB}" xmlns:c15="http://schemas.microsoft.com/office/drawing/2012/chart"/>',u+=' <c:ext uri="{C3380CC4-5D6E-409C-BE32-E72D297353CC}" xmlns:c16="http://schemas.microsoft.com/office/drawing/2014/chart">',u+=' <c16:uniqueId val="{'.concat("00000000".substring(0,8-(v+1).toString().length).toString()).concat(v+1).concat(h,'}"/>'),u+=" </c:ext>",u+=" </c:extLst>",u+="</c:dLbl>")}),u+="</c:dLbls>"),n.dataLabelFormatScatter==="XY"&&(u+="<c:dLbls>",u+=" <c:spPr>",u+=" <a:noFill/>",u+=" <a:ln>",u+=" <a:noFill/>",u+=" </a:ln>",u+=" <a:effectLst/>",u+=" </c:spPr>",u+=" <c:txPr>",u+=" <a:bodyPr>",u+=" <a:spAutoFit/>",u+=" </a:bodyPr>",u+=" <a:lstStyle/>",u+=" <a:p>",u+=" <a:pPr>",u+=" <a:defRPr/>",u+=" </a:pPr>",u+=' <a:endParaRPr lang="en-US"/>',u+=" </a:p>",u+=" </c:txPr>",n.dataLabelPosition&&(u+=' <c:dLblPos val="'+n.dataLabelPosition+'"/>'),u+=' <c:showLegendKey val="0"/>',u+=' <c:showVal val="'.concat(n.showLabel?"1":"0",'"/>'),u+=' <c:showCatName val="'.concat(n.showLabel?"1":"0",'"/>'),u+=' <c:showSerName val="'.concat(n.showSerName?"1":"0",'"/>'),u+=' <c:showPercent val="0"/>',u+=' <c:showBubbleSize val="0"/>',u+=" <c:extLst>",u+=' <c:ext uri="{CE6537A1-D6FC-4f65-9D91-7224C49458BB}" xmlns:c15="http://schemas.microsoft.com/office/drawing/2012/chart">',u+=' <c15:showLeaderLines val="1"/>',u+=" </c:ext>",u+=" </c:extLst>",u+="</c:dLbls>")}t.length===1&&n.chartColors!==Vg&&c.values.forEach(function(p,v){var g=p<0?n.invertedColors||n.chartColors||Vg:n.chartColors||[];u+=" <c:dPt>",u+=' <c:idx val="'.concat(v,'"/>'),u+=' <c:invertIfNegative val="0"/>',u+=' <c:bubble3D val="0"/>',u+=" <c:spPr>",n.lineSize===0?u+="<a:ln><a:noFill/></a:ln>":(u+="<a:solidFill>",u+=' <a:srgbClr val="'+g[v%g.length]+'"/>',u+="</a:solidFill>"),u+=th(n.shadow,eh),u+=" </c:spPr>",u+=" </c:dPt>"}),u+="<c:xVal>",u+=" <c:numRef>",u+=" <c:f>Sheet1!$A$2:$A$".concat(t[0].values.length+1,"</c:f>"),u+=" <c:numCache>",u+=" <c:formatCode>General</c:formatCode>",u+=' <c:ptCount val="'.concat(t[0].values.length,'"/>'),t[0].values.forEach(function(p,v){u+='<c:pt idx="'.concat(v,'"><c:v>').concat(p||p===0?p:"","</c:v></c:pt>")}),u+=" </c:numCache>",u+=" </c:numRef>",u+="</c:xVal>",u+="<c:yVal>",u+=" <c:numRef>",u+=" <c:f>Sheet1!$".concat(Hn(f+2),"$2:$").concat(Hn(f+2),"$").concat(t[0].values.length+1,"</c:f>"),u+=" <c:numCache>",u+=" <c:formatCode>General</c:formatCode>",u+=' <c:ptCount val="'.concat(t[0].values.length,'"/>'),t[0].values.forEach(function(p,v){u+='<c:pt idx="'.concat(v,'"><c:v>').concat(c.values[v]||c.values[v]===0?c.values[v]:"","</c:v></c:pt>")}),u+=" </c:numCache>",u+=" </c:numRef>",u+="</c:yVal>",u+='<c:smooth val="'+(n.lineSmooth?"1":"0")+'"/>',u+="</c:ser>"}),u+=" <c:dLbls>",u+=' <c:numFmt formatCode="'.concat(jt(n.dataLabelFormatCode)||"General",'" sourceLinked="0"/>'),u+=" <c:txPr>",u+=" <a:bodyPr/>",u+=" <a:lstStyle/>",u+=" <a:p><a:pPr>",u+=' <a:defRPr b="'.concat(n.dataLabelFontBold?"1":"0",'" i="').concat(n.dataLabelFontItalic?"1":"0",'" strike="noStrike" sz="').concat(Math.round((n.dataLabelFontSize||Rs)*100),'" u="none">'),u+=" <a:solidFill>"+In(n.dataLabelColor||ea)+"</a:solidFill>",u+=' <a:latin typeface="'+(n.dataLabelFontFace||"Arial")+'"/>',u+=" </a:defRPr>",u+=" </a:pPr></a:p>",u+=" </c:txPr>",n.dataLabelPosition&&(u+=' <c:dLblPos val="'+n.dataLabelPosition+'"/>'),u+=' <c:showLegendKey val="0"/>',u+=' <c:showVal val="'+(n.showValue?"1":"0")+'"/>',u+=' <c:showCatName val="0"/>',u+=' <c:showSerName val="'+(n.showSerName?"1":"0")+'"/>',u+=' <c:showPercent val="0"/>',u+=' <c:showBubbleSize val="0"/>',u+=" </c:dLbls>",u+='<c:axId val="'.concat(i,'"/><c:axId val="').concat(r,'"/>'),u+="</c:"+e+"Chart>";break;case ct.BUBBLE:case ct.BUBBLE3D:u+="<c:bubbleChart>",u+='<c:varyColors val="0"/>',a=-1,t.filter(function(c,f){return f>0}).forEach(function(c,f){a++,u+="<c:ser>",u+=' <c:idx val="'.concat(f,'"/>'),u+=' <c:order val="'.concat(f,'"/>'),u+=" <c:tx>",u+=" <c:strRef>",u+=" <c:f>Sheet1!$"+Hn(s+1)+"$1</c:f>",u+=' <c:strCache><c:ptCount val="1"/><c:pt idx="0"><c:v>'+jt(c.name)+"</c:v></c:pt></c:strCache>",u+=" </c:strRef>",u+=" </c:tx>";{u+="<c:spPr>";var d=n.chartColors[a%n.chartColors.length];d==="transparent"?u+="<a:noFill/>":n.chartColorsOpacity?u+="<a:solidFill>".concat(In(d,'<a:alpha val="'+Math.round(n.chartColorsOpacity*1e3).toString()+'"/>'),"</a:solidFill>"):u+="<a:solidFill>"+In(d)+"</a:solidFill>",n.lineSize===0?u+="<a:ln><a:noFill/></a:ln>":n.dataBorder?u+='<a:ln w="'.concat(Wt(n.dataBorder.pt),'" cap="flat"><a:solidFill>').concat(In(n.dataBorder.color),'</a:solidFill><a:prstDash val="solid"/><a:round/></a:ln>'):(u+='<a:ln w="'.concat(Wt(n.lineSize),'" cap="flat"><a:solidFill>').concat(In(d),"</a:solidFill>"),u+='<a:prstDash val="'.concat(n.lineDash||"solid",'"/><a:round/></a:ln>')),u+=th(n.shadow,eh),u+="</c:spPr>"}u+="<c:xVal>",u+=" <c:numRef>",u+=" <c:f>Sheet1!$A$2:$A$".concat(t[0].values.length+1,"</c:f>"),u+=" <c:numCache>",u+=" <c:formatCode>General</c:formatCode>",u+=' <c:ptCount val="'.concat(t[0].values.length,'"/>'),t[0].values.forEach(function(h,p){u+='<c:pt idx="'.concat(p,'"><c:v>').concat(h||h===0?h:"","</c:v></c:pt>")}),u+=" </c:numCache>",u+=" </c:numRef>",u+="</c:xVal>",u+="<c:yVal>",u+=" <c:numRef>",u+="<c:f>Sheet1!$".concat(Hn(s+1),"$2:$").concat(Hn(s+1),"$").concat(t[0].values.length+1,"</c:f>"),s++,u+=" <c:numCache>",u+=" <c:formatCode>General</c:formatCode>",u+=' <c:ptCount val="'.concat(t[0].values.length,'"/>'),t[0].values.forEach(function(h,p){u+='<c:pt idx="'.concat(p,'"><c:v>').concat(c.values[p]||c.values[p]===0?c.values[p]:"","</c:v></c:pt>")}),u+=" </c:numCache>",u+=" </c:numRef>",u+="</c:yVal>",u+=" <c:bubbleSize>",u+=" <c:numRef>",u+="<c:f>Sheet1!$".concat(Hn(s+1),"$2:$").concat(Hn(s+1),"$").concat(c.sizes.length+1,"</c:f>"),s++,u+=" <c:numCache>",u+=" <c:formatCode>General</c:formatCode>",u+=' <c:ptCount val="'.concat(c.sizes.length,'"/>'),c.sizes.forEach(function(h,p){u+='<c:pt idx="'.concat(p,'"><c:v>').concat(h||"","</c:v></c:pt>")}),u+=" </c:numCache>",u+=" </c:numRef>",u+=" </c:bubbleSize>",u+=' <c:bubble3D val="'+(e===ct.BUBBLE3D?"1":"0")+'"/>',u+="</c:ser>"}),u+="<c:dLbls>",u+='<c:numFmt formatCode="'.concat(jt(n.dataLabelFormatCode)||"General",'" sourceLinked="0"/>'),u+="<c:txPr><a:bodyPr/><a:lstStyle/><a:p><a:pPr>",u+='<a:defRPr b="'.concat(n.dataLabelFontBold?1:0,'" i="').concat(n.dataLabelFontItalic?1:0,'" strike="noStrike" sz="').concat(Math.round(Math.round(n.dataLabelFontSize||Rs)*100),'" u="none">'),u+="<a:solidFill>".concat(In(n.dataLabelColor||ea),"</a:solidFill>"),u+='<a:latin typeface="'.concat(n.dataLabelFontFace||"Arial",'"/>'),u+="</a:defRPr></a:pPr></a:p></c:txPr>",n.dataLabelPosition&&(u+='<c:dLblPos val="'.concat(n.dataLabelPosition,'"/>')),u+='<c:showLegendKey val="0"/>',u+='<c:showVal val="'.concat(n.showValue?"1":"0",'"/>'),u+='<c:showCatName val="0"/><c:showSerName val="'.concat(n.showSerName?"1":"0",'"/><c:showPercent val="0"/><c:showBubbleSize val="0"/>'),u+="<c:extLst>",u+=' <c:ext uri="{CE6537A1-D6FC-4f65-9D91-7224C49458BB}" xmlns:c15="http://schemas.microsoft.com/office/drawing/2012/chart">',u+=' <c15:showLeaderLines val="'+(n.showLeaderLines?"1":"0")+'"/>',u+=" </c:ext>",u+="</c:extLst>",u+="</c:dLbls>",u+='<c:axId val="'.concat(i,'"/><c:axId val="').concat(r,'"/>'),u+="</c:bubbleChart>";break;case ct.DOUGHNUT:case ct.PIE:l=t[0],u+="<c:"+e+"Chart>",u+=' <c:varyColors val="1"/>',u+="<c:ser>",u+=' <c:idx val="0"/>',u+=' <c:order val="0"/>',u+=" <c:tx>",u+=" <c:strRef>",u+=" <c:f>Sheet1!$B$1</c:f>",u+=" <c:strCache>",u+=' <c:ptCount val="1"/>',u+=' <c:pt idx="0"><c:v>'+jt(l.name)+"</c:v></c:pt>",u+=" </c:strCache>",u+=" </c:strRef>",u+=" </c:tx>",u+=" <c:spPr>",u+=' <a:solidFill><a:schemeClr val="accent1"/></a:solidFill>',u+=' <a:ln w="9525" cap="flat"><a:solidFill><a:srgbClr val="F9F9F9"/></a:solidFill><a:prstDash val="solid"/><a:round/></a:ln>',n.dataNoEffects?u+="<a:effectLst/>":u+=th(n.shadow,eh),u+=" </c:spPr>",l.labels[0].forEach(function(c,f){u+="<c:dPt>",u+=' <c:idx val="'.concat(f,'"/>'),u+=' <c:bubble3D val="0"/>',u+=" <c:spPr>",u+="<a:solidFill>".concat(In(n.chartColors[f+1>n.chartColors.length?Math.floor(Math.random()*n.chartColors.length):f]),"</a:solidFill>"),n.dataBorder&&(u+='<a:ln w="'.concat(Wt(n.dataBorder.pt),'" cap="flat"><a:solidFill>').concat(In(n.dataBorder.color),'</a:solidFill><a:prstDash val="solid"/><a:round/></a:ln>')),u+=th(n.shadow,eh),u+=" </c:spPr>",u+="</c:dPt>"}),u+="<c:dLbls>",l.labels[0].forEach(function(c,f){u+="<c:dLbl>",u+=' <c:idx val="'.concat(f,'"/>'),u+=' <c:numFmt formatCode="'.concat(jt(n.dataLabelFormatCode)||"General",'" sourceLinked="0"/>'),u+=" <c:spPr/><c:txPr>",u+=" <a:bodyPr/><a:lstStyle/>",u+=" <a:p><a:pPr>",u+=' <a:defRPr sz="'.concat(Math.round((n.dataLabelFontSize||Rs)*100),'" b="').concat(n.dataLabelFontBold?1:0,'" i="').concat(n.dataLabelFontItalic?1:0,'" u="none" strike="noStrike">'),u+=" <a:solidFill>"+In(n.dataLabelColor||ea)+"</a:solidFill>",u+=' <a:latin typeface="'.concat(n.dataLabelFontFace||"Arial",'"/>'),u+=" </a:defRPr>",u+=" </a:pPr></a:p>",u+=" </c:txPr>",e===ct.PIE&&n.dataLabelPosition&&(u+='<c:dLblPos val="'.concat(n.dataLabelPosition,'"/>')),u+=' <c:showLegendKey val="0"/>',u+=' <c:showVal val="'+(n.showValue?"1":"0")+'"/>',u+=' <c:showCatName val="'+(n.showLabel?"1":"0")+'"/>',u+=' <c:showSerName val="'+(n.showSerName?"1":"0")+'"/>',u+=' <c:showPercent val="'+(n.showPercent?"1":"0")+'"/>',u+=' <c:showBubbleSize val="0"/>',u+=" </c:dLbl>"}),u+=' <c:numFmt formatCode="'.concat(jt(n.dataLabelFormatCode)||"General",'" sourceLinked="0"/>'),u+=" <c:txPr>",u+=" <a:bodyPr/>",u+=" <a:lstStyle/>",u+=" <a:p>",u+=" <a:pPr>",u+=' <a:defRPr sz="1800" b="'.concat(n.dataLabelFontBold?"1":"0",'" i="').concat(n.dataLabelFontItalic?"1":"0",'" u="none" strike="noStrike">'),u+=' <a:solidFill><a:srgbClr val="000000"/></a:solidFill><a:latin typeface="Arial"/>',u+=" </a:defRPr>",u+=" </a:pPr>",u+=" </a:p>",u+=" </c:txPr>",u+=e===ct.PIE?'<c:dLblPos val="ctr"/>':"",u+=' <c:showLegendKey val="0"/>',u+=' <c:showVal val="0"/>',u+=' <c:showCatName val="1"/>',u+=' <c:showSerName val="0"/>',u+=' <c:showPercent val="1"/>',u+=' <c:showBubbleSize val="0"/>',u+=' <c:showLeaderLines val="'.concat(n.showLeaderLines?"1":"0",'"/>'),u+="</c:dLbls>",u+="<c:cat>",u+=" <c:strRef>",u+=" <c:f>Sheet1!$A$2:$A$".concat(l.labels[0].length+1,"</c:f>"),u+=" <c:strCache>",u+=' <c:ptCount val="'.concat(l.labels[0].length,'"/>'),l.labels[0].forEach(function(c,f){u+='<c:pt idx="'.concat(f,'"><c:v>').concat(jt(c),"</c:v></c:pt>")}),u+=" </c:strCache>",u+=" </c:strRef>",u+="</c:cat>",u+=" <c:val>",u+=" <c:numRef>",u+=" <c:f>Sheet1!$B$2:$B$".concat(l.labels[0].length+1,"</c:f>"),u+=" <c:numCache>",u+=' <c:ptCount val="'.concat(l.labels[0].length,'"/>'),l.values.forEach(function(c,f){u+='<c:pt idx="'.concat(f,'"><c:v>').concat(c||c===0?c:"","</c:v></c:pt>")}),u+=" </c:numCache>",u+=" </c:numRef>",u+=" </c:val>",u+=" </c:ser>",u+=' <c:firstSliceAng val="'.concat(n.firstSliceAng?Math.round(n.firstSliceAng):0,'"/>'),e===ct.DOUGHNUT&&(u+='<c:holeSize val="'.concat(typeof n.holeSize=="number"?n.holeSize:"50",'"/>')),u+="</c:"+e+"Chart>";break;default:u+="";break}return u}function b8(e,t,n){var r="";return e._type===ct.SCATTER||e._type===ct.BUBBLE||e._type===ct.BUBBLE3D?r+="<c:valAx>":r+="<c:"+(e.catLabelFormatCode?"dateAx":"catAx")+">",r+=' <c:axId val="'+t+'"/>',r+=" <c:scaling>",r+='<c:orientation val="'+(e.catAxisOrientation||(e.barDir==="col","minMax"))+'"/>',(e.catAxisMaxVal||e.catAxisMaxVal===0)&&(r+='<c:max val="'.concat(e.catAxisMaxVal,'"/>')),(e.catAxisMinVal||e.catAxisMinVal===0)&&(r+='<c:min val="'.concat(e.catAxisMinVal,'"/>')),r+="</c:scaling>",r+=' <c:delete val="'+(e.catAxisHidden?"1":"0")+'"/>',r+=' <c:axPos val="'+(e.barDir==="col"?"b":"l")+'"/>',r+=e.catGridLine.style!=="none"?tC(e.catGridLine):"",e.showCatAxisTitle&&(r+=p4({color:e.catAxisTitleColor,fontFace:e.catAxisTitleFontFace,fontSize:e.catAxisTitleFontSize,titleRotate:e.catAxisTitleRotate,title:e.catAxisTitle||"Axis Title"})),e._type===ct.SCATTER||e._type===ct.BUBBLE||e._type===ct.BUBBLE3D?r+=' <c:numFmt formatCode="'+(e.valAxisLabelFormatCode?jt(e.valAxisLabelFormatCode):"General")+'" sourceLinked="1"/>':r+=' <c:numFmt formatCode="'+(jt(e.catLabelFormatCode)||"General")+'" sourceLinked="1"/>',e._type===ct.SCATTER?(r+=' <c:majorTickMark val="none"/>',r+=' <c:minorTickMark val="none"/>',r+=' <c:tickLblPos val="nextTo"/>'):(r+=' <c:majorTickMark val="'+(e.catAxisMajorTickMark||"out")+'"/>',r+=' <c:minorTickMark val="'+(e.catAxisMinorTickMark||"none")+'"/>',r+=' <c:tickLblPos val="'+(e.catAxisLabelPos||(e.barDir==="col"?"low":"nextTo"))+'"/>'),r+=" <c:spPr>",r+=' <a:ln w="'.concat(e.catAxisLineSize?Wt(e.catAxisLineSize):by,'" cap="flat">'),r+=e.catAxisLineShow?"<a:solidFill>"+In(e.catAxisLineColor||Rh.color)+"</a:solidFill>":"<a:noFill/>",r+=' <a:prstDash val="'+(e.catAxisLineStyle||"solid")+'"/>',r+=" <a:round/>",r+=" </a:ln>",r+=" </c:spPr>",r+=" <c:txPr>",e.catAxisLabelRotate?r+='<a:bodyPr rot="'.concat(bh(e.catAxisLabelRotate),'"/>'):r+="<a:bodyPr/>",r+=" <a:lstStyle/>",r+=" <a:p>",r+=" <a:pPr>",r+=' <a:defRPr sz="'.concat(Math.round((e.catAxisLabelFontSize||Rs)*100),'" b="').concat(e.catAxisLabelFontBold?1:0,'" i="').concat(e.catAxisLabelFontItalic?1:0,'" u="none" strike="noStrike">'),r+=" <a:solidFill>"+In(e.catAxisLabelColor||ea)+"</a:solidFill>",r+=' <a:latin typeface="'+(e.catAxisLabelFontFace||"Arial")+'"/>',r+=" </a:defRPr>",r+=" </a:pPr>",r+=' <a:endParaRPr lang="'+(e.lang||"en-US")+'"/>',r+=" </a:p>",r+=" </c:txPr>",r+=' <c:crossAx val="'+n+'"/>',r+=" <c:".concat(typeof e.valAxisCrossesAt=="number"?"crossesAt":"crosses",' val="').concat(e.valAxisCrossesAt||"autoZero",'"/>'),r+=' <c:auto val="1"/>',r+=' <c:lblAlgn val="ctr"/>',r+=' <c:noMultiLvlLbl val="'.concat(e.catAxisMultiLevelLabels?0:1,'"/>'),e.catAxisLabelFrequency&&(r+=' <c:tickLblSkip val="'+e.catAxisLabelFrequency+'"/>'),(e.catLabelFormatCode||e._type===ct.SCATTER||e._type===ct.BUBBLE||e._type===ct.BUBBLE3D)&&(e.catLabelFormatCode&&(["catAxisBaseTimeUnit","catAxisMajorTimeUnit","catAxisMinorTimeUnit"].forEach(function(i){e[i]&&(typeof e[i]!="string"||!["days","months","years"].includes(e[i].toLowerCase()))&&(console.warn('"'.concat(i,`" must be one of: 'days','months','years' !`)),e[i]=null)}),e.catAxisBaseTimeUnit&&(r+='<c:baseTimeUnit val="'+e.catAxisBaseTimeUnit.toLowerCase()+'"/>'),e.catAxisMajorTimeUnit&&(r+='<c:majorTimeUnit val="'+e.catAxisMajorTimeUnit.toLowerCase()+'"/>'),e.catAxisMinorTimeUnit&&(r+='<c:minorTimeUnit val="'+e.catAxisMinorTimeUnit.toLowerCase()+'"/>')),e.catAxisMajorUnit&&(r+='<c:majorUnit val="'.concat(e.catAxisMajorUnit,'"/>')),e.catAxisMinorUnit&&(r+='<c:minorUnit val="'.concat(e.catAxisMinorUnit,'"/>'))),e._type===ct.SCATTER||e._type===ct.BUBBLE||e._type===ct.BUBBLE3D?r+="</c:valAx>":r+="</c:"+(e.catLabelFormatCode?"dateAx":"catAx")+">",r}function x8(e,t){var n=t===Ku?e.barDir==="col"?"l":"b":e.barDir!=="col"?"r":"t";t===Db&&(n="r");var r=t===Ku?Wg:F_,i="";if(i+="<c:valAx>",i+=' <c:axId val="'+t+'"/>',i+=" <c:scaling>",e.valAxisLogScaleBase&&(i+='<c:logBase val="'.concat(e.valAxisLogScaleBase,'"/>')),i+='<c:orientation val="'+(e.valAxisOrientation||(e.barDir==="col","minMax"))+'"/>',(e.valAxisMaxVal||e.valAxisMaxVal===0)&&(i+='<c:max val="'.concat(e.valAxisMaxVal,'"/>')),(e.valAxisMinVal||e.valAxisMinVal===0)&&(i+='<c:min val="'.concat(e.valAxisMinVal,'"/>')),i+=" </c:scaling>",i+=' <c:delete val="'.concat(e.valAxisHidden?1:0,'"/>'),i+=' <c:axPos val="'+n+'"/>',e.valGridLine.style!=="none"&&(i+=tC(e.valGridLine)),e.showValAxisTitle&&(i+=p4({color:e.valAxisTitleColor,fontFace:e.valAxisTitleFontFace,fontSize:e.valAxisTitleFontSize,titleRotate:e.valAxisTitleRotate,title:e.valAxisTitle||"Axis Title"})),i+='<c:numFmt formatCode="'.concat(e.valAxisLabelFormatCode?jt(e.valAxisLabelFormatCode):"General",'" sourceLinked="0"/>'),e._type===ct.SCATTER?(i+=' <c:majorTickMark val="none"/>',i+=' <c:minorTickMark val="none"/>',i+=' <c:tickLblPos val="nextTo"/>'):(i+=' <c:majorTickMark val="'+(e.valAxisMajorTickMark||"out")+'"/>',i+=' <c:minorTickMark val="'+(e.valAxisMinorTickMark||"none")+'"/>',i+=' <c:tickLblPos val="'+(e.valAxisLabelPos||(e.barDir==="col"?"nextTo":"low"))+'"/>'),i+=" <c:spPr>",i+=' <a:ln w="'.concat(e.valAxisLineSize?Wt(e.valAxisLineSize):by,'" cap="flat">'),i+=e.valAxisLineShow?"<a:solidFill>"+In(e.valAxisLineColor||Rh.color)+"</a:solidFill>":"<a:noFill/>",i+=' <a:prstDash val="'+(e.valAxisLineStyle||"solid")+'"/>',i+=" <a:round/>",i+=" </a:ln>",i+=" </c:spPr>",i+=" <c:txPr>",i+=" <a:bodyPr".concat(e.valAxisLabelRotate?' rot="'+bh(e.valAxisLabelRotate).toString()+'"':"","/>"),i+=" <a:lstStyle/>",i+=" <a:p>",i+=" <a:pPr>",i+=' <a:defRPr sz="'.concat(Math.round((e.valAxisLabelFontSize||Rs)*100),'" b="').concat(e.valAxisLabelFontBold?1:0,'" i="').concat(e.valAxisLabelFontItalic?1:0,'" u="none" strike="noStrike">'),i+=" <a:solidFill>"+In(e.valAxisLabelColor||ea)+"</a:solidFill>",i+=' <a:latin typeface="'+(e.valAxisLabelFontFace||"Arial")+'"/>',i+=" </a:defRPr>",i+=" </a:pPr>",i+=' <a:endParaRPr lang="'+(e.lang||"en-US")+'"/>',i+=" </a:p>",i+=" </c:txPr>",i+=' <c:crossAx val="'+r+'"/>',typeof e.catAxisCrossesAt=="number")i+=' <c:crossesAt val="'.concat(e.catAxisCrossesAt,'"/>');else if(typeof e.catAxisCrossesAt=="string")i+=' <c:crosses val="'+e.catAxisCrossesAt+'"/>';else{var o=n==="r"||n==="t",a=o?"max":"autoZero";i+=' <c:crosses val="'+a+'"/>'}return i+=' <c:crossBetween val="'+(e._type===ct.SCATTER||Array.isArray(e._type)&&e._type.filter(function(s){return s.type===ct.AREA}).length>0?"midCat":"between")+'"/>',e.valAxisMajorUnit&&(i+=' <c:majorUnit val="'.concat(e.valAxisMajorUnit,'"/>')),e.valAxisDisplayUnit&&(i+='<c:dispUnits><c:builtInUnit val="'.concat(e.valAxisDisplayUnit,'"/>').concat(e.valAxisDisplayUnitLabel?"<c:dispUnitsLbl/>":"","</c:dispUnits>")),i+="</c:valAx>",i}function QKe(e,t,n){var r="";return r+="<c:serAx>",r+=' <c:axId val="'+t+'"/>',r+=' <c:scaling><c:orientation val="'+(e.serAxisOrientation||(e.barDir==="col","minMax"))+'"/></c:scaling>',r+=' <c:delete val="'+(e.serAxisHidden?"1":"0")+'"/>',r+=' <c:axPos val="'+(e.barDir==="col"?"b":"l")+'"/>',r+=e.serGridLine.style!=="none"?tC(e.serGridLine):"",e.showSerAxisTitle&&(r+=p4({color:e.serAxisTitleColor,fontFace:e.serAxisTitleFontFace,fontSize:e.serAxisTitleFontSize,titleRotate:e.serAxisTitleRotate,title:e.serAxisTitle||"Axis Title"})),r+=' <c:numFmt formatCode="'.concat(jt(e.serLabelFormatCode)||"General",'" sourceLinked="0"/>'),r+=' <c:majorTickMark val="out"/>',r+=' <c:minorTickMark val="none"/>',r+=' <c:tickLblPos val="'.concat(e.serAxisLabelPos||e.barDir==="col"?"low":"nextTo",'"/>'),r+=" <c:spPr>",r+=' <a:ln w="12700" cap="flat">',r+=e.serAxisLineShow?"<a:solidFill>".concat(In(e.serAxisLineColor||Rh.color),"</a:solidFill>"):"<a:noFill/>",r+=' <a:prstDash val="solid"/>',r+=" <a:round/>",r+=" </a:ln>",r+=" </c:spPr>",r+=" <c:txPr>",r+=" <a:bodyPr/>",r+=" <a:lstStyle/>",r+=" <a:p>",r+=" <a:pPr>",r+=' <a:defRPr sz="'.concat(Math.round((e.serAxisLabelFontSize||Rs)*100),'" b="').concat(e.serAxisLabelFontBold?"1":"0",'" i="').concat(e.serAxisLabelFontItalic?"1":"0",'" u="none" strike="noStrike">'),r+=" <a:solidFill>".concat(In(e.serAxisLabelColor||ea),"</a:solidFill>"),r+=' <a:latin typeface="'.concat(e.serAxisLabelFontFace||"Arial",'"/>'),r+=" </a:defRPr>",r+=" </a:pPr>",r+=' <a:endParaRPr lang="'+(e.lang||"en-US")+'"/>',r+=" </a:p>",r+=" </c:txPr>",r+=' <c:crossAx val="'+n+'"/>',r+=' <c:crosses val="autoZero"/>',e.serAxisLabelFrequency&&(r+=' <c:tickLblSkip val="'+e.serAxisLabelFrequency+'"/>'),e.serLabelFormatCode&&(["serAxisBaseTimeUnit","serAxisMajorTimeUnit","serAxisMinorTimeUnit"].forEach(function(i){e[i]&&(typeof e[i]!="string"||!["days","months","years"].includes(i.toLowerCase()))&&(console.warn('"'.concat(i,`" must be one of: 'days','months','years' !`)),e[i]=null)}),e.serAxisBaseTimeUnit&&(r+=' <c:baseTimeUnit val="'.concat(e.serAxisBaseTimeUnit.toLowerCase(),'"/>')),e.serAxisMajorTimeUnit&&(r+=' <c:majorTimeUnit val="'.concat(e.serAxisMajorTimeUnit.toLowerCase(),'"/>')),e.serAxisMinorTimeUnit&&(r+=' <c:minorTimeUnit val="'.concat(e.serAxisMinorTimeUnit.toLowerCase(),'"/>')),e.serAxisMajorUnit&&(r+=' <c:majorUnit val="'.concat(e.serAxisMajorUnit,'"/>')),e.serAxisMinorUnit&&(r+=' <c:minorUnit val="'.concat(e.serAxisMinorUnit,'"/>'))),r+="</c:serAx>",r}function p4(e,t,n){var r=e.titleAlign==="left"||e.titleAlign==="right"?'<a:pPr algn="'.concat(e.titleAlign.substring(0,1),'">'):"<a:pPr>",i=e.titleRotate?'<a:bodyPr rot="'.concat(bh(e.titleRotate),'"/>'):"<a:bodyPr/>",o=e.fontSize?'sz="'.concat(Math.round(e.fontSize*100),'"'):"",a=e.titleBold?1:0,s="<c:layout/>";if(e.titlePos&&typeof e.titlePos.x=="number"&&typeof e.titlePos.y=="number"){var l=e.titlePos.x+t,u=e.titlePos.y+n,c=l===0?0:l*(l/5)/10;c>=1&&(c=c/10),c>=.1&&(c=c/10);var f=u===0?0:u*(u/5)/10;f>=1&&(f=f/10),f>=.1&&(f=f/10),s='<c:layout><c:manualLayout><c:xMode val="edge"/><c:yMode val="edge"/><c:x val="'.concat(c,'"/><c:y val="').concat(f,'"/></c:manualLayout></c:layout>')}return`<c:title>
|
||
<c:tx>
|
||
<c:rich>
|
||
`.concat(i,`
|
||
<a:lstStyle/>
|
||
<a:p>
|
||
`).concat(r,`
|
||
<a:defRPr `).concat(o,' b="').concat(a,`" i="0" u="none" strike="noStrike">
|
||
<a:solidFill>`).concat(In(e.color||ea),`</a:solidFill>
|
||
<a:latin typeface="`).concat(e.fontFace||"Arial",`"/>
|
||
</a:defRPr>
|
||
</a:pPr>
|
||
<a:r>
|
||
<a:rPr `).concat(o,' b="').concat(a,`" i="0" u="none" strike="noStrike">
|
||
<a:solidFill>`).concat(In(e.color||ea),`</a:solidFill>
|
||
<a:latin typeface="`).concat(e.fontFace||"Arial",`"/>
|
||
</a:rPr>
|
||
<a:t>`).concat(jt(e.title)||"",`</a:t>
|
||
</a:r>
|
||
</a:p>
|
||
</c:rich>
|
||
</c:tx>
|
||
`).concat(s,`
|
||
<c:overlay val="0"/>
|
||
</c:title>`)}function Hn(e){var t="",n=e-1;return n<=25?t=tg[n]:t="".concat(tg[Math.floor(n/tg.length-1)]).concat(tg[n%tg.length]),t}function th(e,t){if(e){if(typeof e!="object")return console.warn("`shadow` options must be an object. Ex: `{shadow: {type:'none'}}`"),"<a:effectLst/>"}else return"<a:effectLst/>";var n="<a:effectLst>",r=ni(ni({},t),e),i=r.type||"outer",o=Wt(r.blur),a=Wt(r.offset),s=Math.round(r.angle*6e4),l=r.color,u=Math.round(r.opacity*1e5),c=r.rotateWithShape?1:0;return n+="<a:".concat(i,'Shdw sx="100000" sy="100000" kx="0" ky="0" algn="bl" blurRad="').concat(o,'" rotWithShape="').concat(c,'" dist="').concat(a,'" dir="').concat(s,'">'),n+='<a:srgbClr val="'.concat(l,'">'),n+='<a:alpha val="'.concat(u,'"/></a:srgbClr>'),n+="</a:".concat(i,"Shdw>"),n+="</a:effectLst>",n}function tC(e){var t="<c:majorGridlines>";return t+=" <c:spPr>",t+=' <a:ln w="'.concat(Wt(e.size||Rh.size),'" cap="').concat(Bb(e.cap||Rh.cap),'">'),t+=' <a:solidFill><a:srgbClr val="'+(e.color||Rh.color)+'"/></a:solidFill>',t+=' <a:prstDash val="'+(e.style||Rh.style)+'"/><a:round/>',t+=" </a:ln>",t+=" </c:spPr>",t+="</c:majorGridlines>",t}function Bb(e){if(!e||e==="flat")return"flat";if(e==="square")return"sq";if(e==="round")return"rnd";var t=e;throw new Error("Invalid chart line cap: ".concat(t))}function S8(e){var t=typeof require<"u"&&typeof window>"u"?require("fs"):null,n=typeof require<"u"&&typeof window>"u"?require("https"):null,r=[],i=e._relsMedia.filter(function(a){return a.type!=="online"&&!a.data&&(!a.path||a.path&&!a.path.includes("preencoded"))}),o=[];return i.forEach(function(a){o.includes(a.path)?a.isDuplicate=!0:(a.isDuplicate=!1,o.push(a.path))}),i.filter(function(a){return!a.isDuplicate}).forEach(function(a){r.push(new Promise(function(s,l){if(t&&a.path.indexOf("http")!==0)try{var u=t.readFileSync(a.path);a.data=Buffer.from(u).toString("base64"),i.filter(function(f){return f.isDuplicate&&f.path===a.path}).forEach(function(f){return f.data=a.data}),s("done")}catch(f){a.data=Dp,i.filter(function(d){return d.isDuplicate&&d.path===a.path}).forEach(function(d){return d.data=a.data}),l(new Error('ERROR: Unable to read media: "'.concat(a.path,`"
|
||
`).concat(String(f))))}else if(t&&n&&a.path.indexOf("http")===0)n.get(a.path,function(f){var d="";f.setEncoding("binary"),f.on("data",function(h){return d+=h}),f.on("end",function(){a.data=Buffer.from(d,"binary").toString("base64"),i.filter(function(h){return h.isDuplicate&&h.path===a.path}).forEach(function(h){return h.data=a.data}),s("done")}),f.on("error",function(h){a.data=Dp,i.filter(function(p){return p.isDuplicate&&p.path===a.path}).forEach(function(p){return p.data=a.data}),l(new Error("ERROR! Unable to load image (https.get): ".concat(a.path)))})});else{var c=new XMLHttpRequest;c.onload=function(){var f=new FileReader;f.onloadend=function(){a.data=f.result,i.filter(function(d){return d.isDuplicate&&d.path===a.path}).forEach(function(d){return d.data=a.data}),a.isSvgPng?gB(a).then(function(){s("done")}).catch(function(d){l(d)}):s("done")},f.readAsDataURL(c.response)},c.onerror=function(f){a.data=Dp,i.filter(function(d){return d.isDuplicate&&d.path===a.path}).forEach(function(d){return d.data=a.data}),l(new Error("ERROR! Unable to load image (xhr.onerror): ".concat(a.path)))},c.open("GET",a.path),c.responseType="blob",c.send()}}))}),e._relsMedia.filter(function(a){return a.isSvgPng&&a.data}).forEach(function(a){t?(a.data=Dp,r.push(Promise.resolve().then(function(){return"done"}))):r.push(gB(a))}),r}function gB(e){return Vl(this,void 0,void 0,function(){return Dl(this,function(t){switch(t.label){case 0:return[4,new Promise(function(n,r){var i=new Image;i.onload=function(){i.width+i.height===0&&i.onerror("h/w=0");var o=document.createElement("CANVAS"),a=o.getContext("2d");o.width=i.width,o.height=i.height,a.drawImage(i,0,0);try{e.data=o.toDataURL(e.type),n("done")}catch(s){i.onerror(s)}o=null},i.onerror=function(o){e.data=Dp,r(new Error("ERROR! Unable to load image (image.onerror): ".concat(e.path)))},i.src=typeof e.data=="string"?e.data:Dp})];case 1:return[2,t.sent()]}})})}var HKe={cover:function(e,t){var n=e.h/e.w,r=t.h/t.w,i=r>n,o=i?t.h/n:t.w,a=i?t.h:t.w*n,s=Math.round(1e5*.5*(1-t.w/o)),l=Math.round(1e5*.5*(1-t.h/a));return'<a:srcRect l="'.concat(s,'" r="').concat(s,'" t="').concat(l,'" b="').concat(l,'"/><a:stretch/>')},contain:function(e,t){var n=e.h/e.w,r=t.h/t.w,i=r>n,o=i?t.w:t.h/n,a=i?t.w*n:t.h,s=Math.round(1e5*.5*(1-t.w/o)),l=Math.round(1e5*.5*(1-t.h/a));return'<a:srcRect l="'.concat(s,'" r="').concat(s,'" t="').concat(l,'" b="').concat(l,'"/><a:stretch/>')},crop:function(e,t){var n=t.x,r=e.w-(t.x+t.w),i=t.y,o=e.h-(t.y+t.h),a=Math.round(1e5*(n/e.w)),s=Math.round(1e5*(r/e.w)),l=Math.round(1e5*(i/e.h)),u=Math.round(1e5*(o/e.h));return'<a:srcRect l="'.concat(a,'" r="').concat(s,'" t="').concat(l,'" b="').concat(u,'"/><a:stretch/>')}};function nC(e){var t,n=e._name?'<p:cSld name="'+e._name+'">':"<p:cSld>",r=1;return e._bkgdImgRid?n+='<p:bg><p:bgPr><a:blipFill dpi="0" rotWithShape="1"><a:blip r:embed="rId'.concat(e._bkgdImgRid,'"><a:lum/></a:blip><a:srcRect/><a:stretch><a:fillRect/></a:stretch></a:blipFill><a:effectLst/></p:bgPr></p:bg>'):!((t=e.background)===null||t===void 0)&&t.color?n+="<p:bg><p:bgPr>".concat(Ea(e.background),"</p:bgPr></p:bg>"):!e.bkgd&&e._name&&e._name===N_&&(n+='<p:bg><p:bgRef idx="1001"><a:schemeClr val="bg1"/></p:bgRef></p:bg>'),n+="<p:spTree>",n+='<p:nvGrpSpPr><p:cNvPr id="1" name=""/><p:cNvGrpSpPr/><p:nvPr/></p:nvGrpSpPr>',n+='<p:grpSpPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="0" cy="0"/>',n+='<a:chOff x="0" y="0"/><a:chExt cx="0" cy="0"/></a:xfrm></p:grpSpPr>',e._slideObjects.forEach(function(i,o){var a,s,l,u,c,f,d,h,p=0,v=0,g=dn("75%","X",e._presLayout),m=0,y,R="",A=null,x=null,S=0,_=0,M=null,w=null,L=(a=i.options)===null||a===void 0?void 0:a.sizing,k=(s=i.options)===null||s===void 0?void 0:s.rounding;e._slideLayout!==void 0&&e._slideLayout._slideObjects!==void 0&&i.options&&i.options.placeholder&&(y=e._slideLayout._slideObjects.filter(function(Q){return Q.options.placeholder===i.options.placeholder})[0]),i.options=i.options||{},typeof i.options.x<"u"&&(p=dn(i.options.x,"X",e._presLayout)),typeof i.options.y<"u"&&(v=dn(i.options.y,"Y",e._presLayout)),typeof i.options.w<"u"&&(g=dn(i.options.w,"X",e._presLayout)),typeof i.options.h<"u"&&(m=dn(i.options.h,"Y",e._presLayout));var P=g,F=m;switch(y&&((y.options.x||y.options.x===0)&&(p=dn(y.options.x,"X",e._presLayout)),(y.options.y||y.options.y===0)&&(v=dn(y.options.y,"Y",e._presLayout)),(y.options.w||y.options.w===0)&&(g=dn(y.options.w,"X",e._presLayout)),(y.options.h||y.options.h===0)&&(m=dn(y.options.h,"Y",e._presLayout))),i.options.flipH&&(R+=' flipH="1"'),i.options.flipV&&(R+=' flipV="1"'),i.options.rotate&&(R+=' rot="'.concat(bh(i.options.rotate),'"')),i._type){case qt.table:if(A=i.arrTabRows,x=i.options,S=0,_=0,A[0].forEach(function(Q){M=Q.options||null,S+=M!=null&&M.colspan?Number(M.colspan):1}),w='<p:graphicFrame><p:nvGraphicFramePr><p:cNvPr id="'.concat(r*e._slideNum+1,'" name="').concat(i.options.objectName,'"/>'),w+='<p:cNvGraphicFramePr><a:graphicFrameLocks noGrp="1"/></p:cNvGraphicFramePr> <p:nvPr><p:extLst><p:ext uri="{D42A27DB-BD31-4B8C-83A1-F6EECF244321}"><p14:modId xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main" val="1579011935"/></p:ext></p:extLst></p:nvPr></p:nvGraphicFramePr>',w+='<p:xfrm><a:off x="'.concat(p||(p===0?0:$t),'" y="').concat(v||(v===0?0:$t),'"/><a:ext cx="').concat(g||(g===0?0:$t),'" cy="').concat(m||$t,'"/></p:xfrm>'),w+='<a:graphic><a:graphicData uri="http://schemas.openxmlformats.org/drawingml/2006/table"><a:tbl><a:tblPr/>',Array.isArray(x.colW)){w+="<a:tblGrid>";for(var C=0;C<S;C++){var N=Mn(x.colW[C]);(N==null||isNaN(N))&&(N=(typeof i.options.w=="number"?i.options.w:1)/S),w+='<a:gridCol w="'.concat(Math.round(N),'"/>')}w+="</a:tblGrid>"}else{_=x.colW?x.colW:$t,i.options.w&&!x.colW&&(_=Math.round((typeof i.options.w=="number"?i.options.w:1)/S)),w+="<a:tblGrid>";for(var I=0;I<S;I++)w+='<a:gridCol w="'.concat(_,'"/>');w+="</a:tblGrid>"}A.forEach(function(Q){for(var K,q,j=function(Ae){var ce=Q[Ae],fe=(K=ce.options)===null||K===void 0?void 0:K.colspan,le=(q=ce.options)===null||q===void 0?void 0:q.rowspan;if(fe&&fe>1){var $=new Array(fe-1).fill(void 0).map(function(X){return{_type:qt.tablecell,options:{rowspan:le},_hmerge:!0}});Q.splice.apply(Q,Vb([Ae+1,0],$,!1)),Ae+=fe}else Ae+=1;de=Ae},de,G=0;G<Q.length;)j(G),G=de}),A.forEach(function(Q,K){var q=A[K+1];q&&Q.forEach(function(j,de){var G,Ae,ce=j._rowContinue||((G=j.options)===null||G===void 0?void 0:G.rowspan),fe=(Ae=j.options)===null||Ae===void 0?void 0:Ae.colspan,le=j._hmerge;if(ce&&ce>1){var $={_type:qt.tablecell,options:{colspan:fe},_rowContinue:ce-1,_vmerge:!0,_hmerge:le};q.splice(de,0,$)}})}),A.forEach(function(Q,K){var q=0;Array.isArray(x.rowH)&&x.rowH[K]?q=Mn(Number(x.rowH[K])):x.rowH&&!isNaN(Number(x.rowH))?q=Mn(Number(x.rowH)):(i.options.cy||i.options.h)&&(q=Math.round((i.options.h?Mn(i.options.h):typeof i.options.cy=="number"?i.options.cy:1)/A.length)),w+='<a:tr h="'.concat(q,'">'),Q.forEach(function(j){var de,G,Ae,ce,fe,le=j,$={rowSpan:((de=le.options)===null||de===void 0?void 0:de.rowspan)>1?le.options.rowspan:void 0,gridSpan:((G=le.options)===null||G===void 0?void 0:G.colspan)>1?le.options.colspan:void 0,vMerge:le._vmerge?1:void 0,hMerge:le._hmerge?1:void 0},X=Object.keys($).map(function(ue){return[ue,$[ue]]}).filter(function(ue){ue[0];var ge=ue[1];return!!ge}).map(function(ue){var ge=ue[0],Re=ue[1];return"".concat(String(ge),'="').concat(String(Re),'"')}).join(" ");if(X&&(X=" "+X),le._hmerge||le._vmerge){w+="<a:tc".concat(X,"><a:tcPr/></a:tc>");return}var J=le.options||{};le.options=J,["align","bold","border","color","fill","fontFace","fontSize","margin","underline","valign"].forEach(function(ue){x[ue]&&!J[ue]&&J[ue]!==0&&(J[ue]=x[ue])});var se=J.valign?' anchor="'.concat(J.valign.replace(/^c$/i,"ctr").replace(/^m$/i,"ctr").replace("center","ctr").replace("middle","ctr").replace("top","t").replace("btm","b").replace("bottom","b"),'"'):"",ee=!((ce=(Ae=le._optImp)===null||Ae===void 0?void 0:Ae.fill)===null||ce===void 0)&&ce.color?le._optImp.fill.color:!((fe=le._optImp)===null||fe===void 0)&&fe.fill&&typeof le._optImp.fill=="string"?le._optImp.fill:"";ee=ee||J.fill?J.fill:"";var ne=ee?Ea(ee):"",oe=J.margin===0||J.margin?J.margin:xte;!Array.isArray(oe)&&typeof oe=="number"&&(oe=[oe,oe,oe,oe]);var he="";oe[0]>=1?he=' marL="'.concat(Wt(oe[3]),'" marR="').concat(Wt(oe[1]),'" marT="').concat(Wt(oe[0]),'" marB="').concat(Wt(oe[2]),'"'):he=' marL="'.concat(Mn(oe[3]),'" marR="').concat(Mn(oe[1]),'" marT="').concat(Mn(oe[0]),'" marB="').concat(Mn(oe[2]),'"'),w+="<a:tc".concat(X,">").concat(yB(le),"<a:tcPr").concat(he).concat(se,">"),J.border&&Array.isArray(J.border)&&[{idx:3,name:"lnL"},{idx:1,name:"lnR"},{idx:0,name:"lnT"},{idx:2,name:"lnB"}].forEach(function(ue){J.border[ue.idx].type!=="none"?(w+="<a:".concat(ue.name,' w="').concat(Wt(J.border[ue.idx].pt),'" cap="flat" cmpd="sng" algn="ctr">'),w+="<a:solidFill>".concat(In(J.border[ue.idx].color),"</a:solidFill>"),w+='<a:prstDash val="'.concat(J.border[ue.idx].type==="dash"?"sysDash":"solid",'"/><a:round/><a:headEnd type="none" w="med" len="med"/><a:tailEnd type="none" w="med" len="med"/>'),w+="</a:".concat(ue.name,">")):w+="<a:".concat(ue.name,' w="0" cap="flat" cmpd="sng" algn="ctr"><a:noFill/></a:').concat(ue.name,">")}),w+=ne,w+=" </a:tcPr>",w+=" </a:tc>"}),w+="</a:tr>"}),w+=" </a:tbl>",w+=" </a:graphicData>",w+=" </a:graphic>",w+="</p:graphicFrame>",n+=w,r++;break;case qt.text:case qt.placeholder:if(!i.options.line&&m===0&&(m=$t*.3),i.options._bodyProp||(i.options._bodyProp={}),i.options.margin&&Array.isArray(i.options.margin)?(i.options._bodyProp.lIns=Wt(i.options.margin[0]||0),i.options._bodyProp.rIns=Wt(i.options.margin[1]||0),i.options._bodyProp.bIns=Wt(i.options.margin[2]||0),i.options._bodyProp.tIns=Wt(i.options.margin[3]||0)):typeof i.options.margin=="number"&&(i.options._bodyProp.lIns=Wt(i.options.margin),i.options._bodyProp.rIns=Wt(i.options.margin),i.options._bodyProp.bIns=Wt(i.options.margin),i.options._bodyProp.tIns=Wt(i.options.margin)),n+="<p:sp>",n+='<p:nvSpPr><p:cNvPr id="'.concat(o+2,'" name="').concat(i.options.objectName,'">'),!((l=i.options.hyperlink)===null||l===void 0)&&l.url&&(n+='<a:hlinkClick r:id="rId'.concat(i.options.hyperlink._rId,'" tooltip="').concat(i.options.hyperlink.tooltip?jt(i.options.hyperlink.tooltip):"",'"/>')),!((u=i.options.hyperlink)===null||u===void 0)&&u.slide&&(n+='<a:hlinkClick r:id="rId'.concat(i.options.hyperlink._rId,'" tooltip="').concat(i.options.hyperlink.tooltip?jt(i.options.hyperlink.tooltip):"",'" action="ppaction://hlinksldjump"/>')),n+="</p:cNvPr>",n+="<p:cNvSpPr"+(!((c=i.options)===null||c===void 0)&&c.isTextBox?' txBox="1"/>':"/>"),n+="<p:nvPr>".concat(i._type==="placeholder"?ZR(i):ZR(y),"</p:nvPr>"),n+="</p:nvSpPr><p:spPr>",n+="<a:xfrm".concat(R,">"),n+='<a:off x="'.concat(p,'" y="').concat(v,'"/>'),n+='<a:ext cx="'.concat(g,'" cy="').concat(m,'"/></a:xfrm>'),i.shape==="custGeom")n+="<a:custGeom><a:avLst />",n+="<a:gdLst>",n+="</a:gdLst>",n+="<a:ahLst />",n+="<a:cxnLst>",n+="</a:cxnLst>",n+='<a:rect l="l" t="t" r="r" b="b" />',n+="<a:pathLst>",n+='<a:path w="'.concat(g,'" h="').concat(m,'">'),(f=i.options.points)===null||f===void 0||f.forEach(function(Q,K){if("curve"in Q)switch(Q.curve.type){case"arc":n+='<a:arcTo hR="'.concat(dn(Q.curve.hR,"Y",e._presLayout),'" wR="').concat(dn(Q.curve.wR,"X",e._presLayout),'" stAng="').concat(bh(Q.curve.stAng),'" swAng="').concat(bh(Q.curve.swAng),'" />');break;case"cubic":n+=`<a:cubicBezTo>
|
||
<a:pt x="`.concat(dn(Q.curve.x1,"X",e._presLayout),'" y="').concat(dn(Q.curve.y1,"Y",e._presLayout),`" />
|
||
<a:pt x="`).concat(dn(Q.curve.x2,"X",e._presLayout),'" y="').concat(dn(Q.curve.y2,"Y",e._presLayout),`" />
|
||
<a:pt x="`).concat(dn(Q.x,"X",e._presLayout),'" y="').concat(dn(Q.y,"Y",e._presLayout),`" />
|
||
</a:cubicBezTo>`);break;case"quadratic":n+=`<a:quadBezTo>
|
||
<a:pt x="`.concat(dn(Q.curve.x1,"X",e._presLayout),'" y="').concat(dn(Q.curve.y1,"Y",e._presLayout),`" />
|
||
<a:pt x="`).concat(dn(Q.x,"X",e._presLayout),'" y="').concat(dn(Q.y,"Y",e._presLayout),`" />
|
||
</a:quadBezTo>`);break}else"close"in Q?n+="<a:close />":Q.moveTo||K===0?n+='<a:moveTo><a:pt x="'.concat(dn(Q.x,"X",e._presLayout),'" y="').concat(dn(Q.y,"Y",e._presLayout),'" /></a:moveTo>'):n+='<a:lnTo><a:pt x="'.concat(dn(Q.x,"X",e._presLayout),'" y="').concat(dn(Q.y,"Y",e._presLayout),'" /></a:lnTo>')}),n+="</a:path>",n+="</a:pathLst>",n+="</a:custGeom>";else{if(n+='<a:prstGeom prst="'+i.shape+'"><a:avLst>',i.options.rectRadius)n+='<a:gd name="adj" fmla="val '.concat(Math.round(i.options.rectRadius*$t*1e5/Math.min(g,m)),'"/>');else if(i.options.angleRange){for(var V=0;V<2;V++){var W=i.options.angleRange[V];n+='<a:gd name="adj'.concat(V+1,'" fmla="val ').concat(bh(W),'" />')}i.options.arcThicknessRatio&&(n+='<a:gd name="adj3" fmla="val '.concat(Math.round(i.options.arcThicknessRatio*5e4),'" />'))}n+="</a:avLst></a:prstGeom>"}n+=i.options.fill?Ea(i.options.fill):"<a:noFill/>",i.options.line&&(n+=i.options.line.width?'<a:ln w="'.concat(Wt(i.options.line.width),'">'):"<a:ln>",i.options.line.color&&(n+=Ea(i.options.line)),i.options.line.dashType&&(n+='<a:prstDash val="'.concat(i.options.line.dashType,'"/>')),i.options.line.beginArrowType&&(n+='<a:headEnd type="'.concat(i.options.line.beginArrowType,'"/>')),i.options.line.endArrowType&&(n+='<a:tailEnd type="'.concat(i.options.line.endArrowType,'"/>')),n+="</a:ln>"),i.options.shadow&&i.options.shadow.type!=="none"&&(i.options.shadow.type=i.options.shadow.type||"outer",i.options.shadow.blur=Wt(i.options.shadow.blur||8),i.options.shadow.offset=Wt(i.options.shadow.offset||4),i.options.shadow.angle=Math.round((i.options.shadow.angle||270)*6e4),i.options.shadow.opacity=Math.round((i.options.shadow.opacity||.75)*1e5),i.options.shadow.color=i.options.shadow.color||pB.color,n+="<a:effectLst>",n+=" <a:".concat(i.options.shadow.type,"Shdw ").concat(i.options.shadow.type==="outer"?'sx="100000" sy="100000" kx="0" ky="0" algn="bl" rotWithShape="0"':"",' blurRad="').concat(i.options.shadow.blur,'" dist="').concat(i.options.shadow.offset,'" dir="').concat(i.options.shadow.angle,'">'),n+=' <a:srgbClr val="'.concat(i.options.shadow.color,'">'),n+=' <a:alpha val="'.concat(i.options.shadow.opacity,'"/></a:srgbClr>'),n+=" </a:outerShdw>",n+="</a:effectLst>"),n+="</p:spPr>",n+=yB(i),n+="</p:sp>";break;case qt.image:if(n+="<p:pic>",n+=" <p:nvPicPr>",n+='<p:cNvPr id="'.concat(o+2,'" name="').concat(i.options.objectName,'" descr="').concat(jt(i.options.altText||i.image),'">'),!((d=i.hyperlink)===null||d===void 0)&&d.url&&(n+='<a:hlinkClick r:id="rId'.concat(i.hyperlink._rId,'" tooltip="').concat(i.hyperlink.tooltip?jt(i.hyperlink.tooltip):"",'"/>')),!((h=i.hyperlink)===null||h===void 0)&&h.slide&&(n+='<a:hlinkClick r:id="rId'.concat(i.hyperlink._rId,'" tooltip="').concat(i.hyperlink.tooltip?jt(i.hyperlink.tooltip):"",'" action="ppaction://hlinksldjump"/>')),n+=" </p:cNvPr>",n+=' <p:cNvPicPr><a:picLocks noChangeAspect="1"/></p:cNvPicPr>',n+=" <p:nvPr>"+ZR(y)+"</p:nvPr>",n+=" </p:nvPicPr>",n+="<p:blipFill>",(e._relsMedia||[]).filter(function(Q){return Q.rId===i.imageRid})[0]&&(e._relsMedia||[]).filter(function(Q){return Q.rId===i.imageRid})[0].extn==="svg"?(n+='<a:blip r:embed="rId'.concat(i.imageRid-1,'">'),n+=i.options.transparency?' <a:alphaModFix amt="'.concat(Math.round((100-i.options.transparency)*1e3),'"/>'):"",n+=" <a:extLst>",n+=' <a:ext uri="{96DAC541-7B7A-43D3-8B79-37D633B846F1}">',n+=' <asvg:svgBlip xmlns:asvg="http://schemas.microsoft.com/office/drawing/2016/SVG/main" r:embed="rId'.concat(i.imageRid,'"/>'),n+=" </a:ext>",n+=" </a:extLst>",n+="</a:blip>"):(n+='<a:blip r:embed="rId'.concat(i.imageRid,'">'),n+=i.options.transparency?'<a:alphaModFix amt="'.concat(Math.round((100-i.options.transparency)*1e3),'"/>'):"",n+="</a:blip>"),L!=null&&L.type){var Z=L.w?dn(L.w,"X",e._presLayout):g,re=L.h?dn(L.h,"Y",e._presLayout):m,Y=dn(L.x||0,"X",e._presLayout),B=dn(L.y||0,"Y",e._presLayout);n+=HKe[L.type]({w:P,h:F},{w:Z,h:re,x:Y,y:B}),P=Z,F=re}else n+=" <a:stretch><a:fillRect/></a:stretch>";n+="</p:blipFill>",n+="<p:spPr>",n+=" <a:xfrm"+R+">",n+=' <a:off x="'.concat(p,'" y="').concat(v,'"/>'),n+=' <a:ext cx="'.concat(P,'" cy="').concat(F,'"/>'),n+=" </a:xfrm>",n+=' <a:prstGeom prst="'.concat(k?"ellipse":"rect",'"><a:avLst/></a:prstGeom>'),i.options.shadow&&i.options.shadow.type!=="none"&&(i.options.shadow.type=i.options.shadow.type||"outer",i.options.shadow.blur=Wt(i.options.shadow.blur||8),i.options.shadow.offset=Wt(i.options.shadow.offset||4),i.options.shadow.angle=Math.round((i.options.shadow.angle||270)*6e4),i.options.shadow.opacity=Math.round((i.options.shadow.opacity||.75)*1e5),i.options.shadow.color=i.options.shadow.color||pB.color,n+="<a:effectLst>",n+="<a:".concat(i.options.shadow.type,"Shdw ").concat(i.options.shadow.type==="outer"?'sx="100000" sy="100000" kx="0" ky="0" algn="bl" rotWithShape="0"':"",' blurRad="').concat(i.options.shadow.blur,'" dist="').concat(i.options.shadow.offset,'" dir="').concat(i.options.shadow.angle,'">'),n+='<a:srgbClr val="'.concat(i.options.shadow.color,'">'),n+='<a:alpha val="'.concat(i.options.shadow.opacity,'"/></a:srgbClr>'),n+="</a:".concat(i.options.shadow.type,"Shdw>"),n+="</a:effectLst>"),n+="</p:spPr>",n+="</p:pic>";break;case qt.media:i.mtype==="online"?(n+="<p:pic>",n+=" <p:nvPicPr>",n+='<p:cNvPr id="'.concat(i.mediaRid+2,'" name="').concat(i.options.objectName,'"/>'),n+=" <p:cNvPicPr/>",n+=" <p:nvPr>",n+=' <a:videoFile r:link="rId'.concat(i.mediaRid,'"/>'),n+=" </p:nvPr>",n+=" </p:nvPicPr>",n+=' <p:blipFill><a:blip r:embed="rId'.concat(i.mediaRid+1,'"/><a:stretch><a:fillRect/></a:stretch></p:blipFill>'),n+=" <p:spPr>",n+=" <a:xfrm".concat(R,'><a:off x="').concat(p,'" y="').concat(v,'"/><a:ext cx="').concat(g,'" cy="').concat(m,'"/></a:xfrm>'),n+=' <a:prstGeom prst="rect"><a:avLst/></a:prstGeom>',n+=" </p:spPr>",n+="</p:pic>"):(n+="<p:pic>",n+=" <p:nvPicPr>",n+='<p:cNvPr id="'.concat(i.mediaRid+2,'" name="').concat(i.options.objectName,'"><a:hlinkClick r:id="" action="ppaction://media"/></p:cNvPr>'),n+=' <p:cNvPicPr><a:picLocks noChangeAspect="1"/></p:cNvPicPr>',n+=" <p:nvPr>",n+=' <a:videoFile r:link="rId'.concat(i.mediaRid,'"/>'),n+=" <p:extLst>",n+=' <p:ext uri="{DAA4B4D4-6D71-4841-9C94-3DE7FCFB9230}">',n+=' <p14:media xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main" r:embed="rId'.concat(i.mediaRid+1,'"/>'),n+=" </p:ext>",n+=" </p:extLst>",n+=" </p:nvPr>",n+=" </p:nvPicPr>",n+=' <p:blipFill><a:blip r:embed="rId'.concat(i.mediaRid+2,'"/><a:stretch><a:fillRect/></a:stretch></p:blipFill>'),n+=" <p:spPr>",n+=" <a:xfrm".concat(R,'><a:off x="').concat(p,'" y="').concat(v,'"/><a:ext cx="').concat(g,'" cy="').concat(m,'"/></a:xfrm>'),n+=' <a:prstGeom prst="rect"><a:avLst/></a:prstGeom>',n+=" </p:spPr>",n+="</p:pic>");break;case qt.chart:n+="<p:graphicFrame>",n+=" <p:nvGraphicFramePr>",n+=' <p:cNvPr id="'.concat(o+2,'" name="').concat(i.options.objectName,'" descr="').concat(jt(i.options.altText||""),'"/>'),n+=" <p:cNvGraphicFramePr/>",n+=" <p:nvPr>".concat(ZR(y),"</p:nvPr>"),n+=" </p:nvGraphicFramePr>",n+=' <p:xfrm><a:off x="'.concat(p,'" y="').concat(v,'"/><a:ext cx="').concat(g,'" cy="').concat(m,'"/></p:xfrm>'),n+=' <a:graphic xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main">',n+=' <a:graphicData uri="http://schemas.openxmlformats.org/drawingml/2006/chart">',n+=' <c:chart r:id="rId'.concat(i.chartRid,'" xmlns:c="http://schemas.openxmlformats.org/drawingml/2006/chart"/>'),n+=" </a:graphicData>",n+=" </a:graphic>",n+="</p:graphicFrame>";break;default:n+="";break}}),e._slideNumberProps&&(e._slideNumberProps.align||(e._slideNumberProps.align="left"),n+="<p:sp>",n+=" <p:nvSpPr>",n+=' <p:cNvPr id="25" name="Slide Number Placeholder 0"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr>',n+=' <p:nvPr><p:ph type="sldNum" sz="quarter" idx="4294967295"/></p:nvPr>',n+=" </p:nvSpPr>",n+=" <p:spPr>",n+="<a:xfrm>"+'<a:off x="'.concat(dn(e._slideNumberProps.x,"X",e._presLayout),'" y="').concat(dn(e._slideNumberProps.y,"Y",e._presLayout),'"/>')+'<a:ext cx="'.concat(e._slideNumberProps.w?dn(e._slideNumberProps.w,"X",e._presLayout):"800000",'" cy="').concat(e._slideNumberProps.h?dn(e._slideNumberProps.h,"Y",e._presLayout):"300000",'"/>')+'</a:xfrm> <a:prstGeom prst="rect"><a:avLst/></a:prstGeom> <a:extLst><a:ext uri="{C572A759-6A51-4108-AA02-DFA0A04FC94B}"><ma14:wrappingTextBoxFlag val="0" xmlns:ma14="http://schemas.microsoft.com/office/mac/drawingml/2011/main"/></a:ext></a:extLst></p:spPr>',n+="<p:txBody>",n+="<a:bodyPr",e._slideNumberProps.margin&&Array.isArray(e._slideNumberProps.margin)?(n+=' lIns="'.concat(Wt(e._slideNumberProps.margin[3]||0),'"'),n+=' tIns="'.concat(Wt(e._slideNumberProps.margin[0]||0),'"'),n+=' rIns="'.concat(Wt(e._slideNumberProps.margin[1]||0),'"'),n+=' bIns="'.concat(Wt(e._slideNumberProps.margin[2]||0),'"')):typeof e._slideNumberProps.margin=="number"&&(n+=' lIns="'.concat(Wt(e._slideNumberProps.margin||0),'"'),n+=' tIns="'.concat(Wt(e._slideNumberProps.margin||0),'"'),n+=' rIns="'.concat(Wt(e._slideNumberProps.margin||0),'"'),n+=' bIns="'.concat(Wt(e._slideNumberProps.margin||0),'"')),e._slideNumberProps.valign&&(n+=' anchor="'.concat(e._slideNumberProps.valign.replace("top","t").replace("middle","ctr").replace("bottom","b"),'"')),n+="/>",n+=" <a:lstStyle><a:lvl1pPr>",(e._slideNumberProps.fontFace||e._slideNumberProps.fontSize||e._slideNumberProps.color)&&(n+='<a:defRPr sz="'.concat(Math.round((e._slideNumberProps.fontSize||12)*100),'">'),e._slideNumberProps.color&&(n+=Ea(e._slideNumberProps.color)),e._slideNumberProps.fontFace&&(n+='<a:latin typeface="'.concat(e._slideNumberProps.fontFace,'"/><a:ea typeface="').concat(e._slideNumberProps.fontFace,'"/><a:cs typeface="').concat(e._slideNumberProps.fontFace,'"/>')),n+="</a:defRPr>"),n+="</a:lvl1pPr></a:lstStyle>",n+="<a:p>",e._slideNumberProps.align.startsWith("l")?n+='<a:pPr algn="l"/>':e._slideNumberProps.align.startsWith("c")?n+='<a:pPr algn="ctr"/>':e._slideNumberProps.align.startsWith("r")?n+='<a:pPr algn="r"/>':n+='<a:pPr algn="l"/>',n+='<a:fld id="'.concat(Mte,'" type="slidenum"><a:rPr b="').concat(e._slideNumberProps.bold?1:0,'" lang="en-US"/>'),n+="<a:t>".concat(e._slideNum,'</a:t></a:fld><a:endParaRPr lang="en-US"/></a:p>'),n+="</p:txBody></p:sp>"),n+="</p:spTree>",n+="</p:cSld>",n}function rC(e,t){var n=0,r='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'+Pi+'<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">';return e._rels.forEach(function(i){n=Math.max(n,i.rId),i.type.toLowerCase().includes("hyperlink")?i.data==="slide"?r+='<Relationship Id="rId'.concat(i.rId,'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slide" Target="slide').concat(i.Target,'.xml"/>'):r+='<Relationship Id="rId'.concat(i.rId,'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="').concat(i.Target,'" TargetMode="External"/>'):i.type.toLowerCase().includes("notesSlide")&&(r+='<Relationship Id="rId'.concat(i.rId,'" Target="').concat(i.Target,'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesSlide"/>'))}),(e._relsChart||[]).forEach(function(i){n=Math.max(n,i.rId),r+='<Relationship Id="rId'.concat(i.rId,'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart" Target="').concat(i.Target,'"/>')}),(e._relsMedia||[]).forEach(function(i){var o=i.rId.toString();n=Math.max(n,i.rId),i.type.toLowerCase().includes("image")?r+='<Relationship Id="rId'+o+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="'+i.Target+'"/>':i.type.toLowerCase().includes("audio")?r.includes(' Target="'+i.Target+'"')?r+='<Relationship Id="rId'+o+'" Type="http://schemas.microsoft.com/office/2007/relationships/media" Target="'+i.Target+'"/>':r+='<Relationship Id="rId'+o+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/audio" Target="'+i.Target+'"/>':i.type.toLowerCase().includes("video")?r.includes(' Target="'+i.Target+'"')?r+='<Relationship Id="rId'+o+'" Type="http://schemas.microsoft.com/office/2007/relationships/media" Target="'+i.Target+'"/>':r+='<Relationship Id="rId'+o+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/video" Target="'+i.Target+'"/>':i.type.toLowerCase().includes("online")&&(r.includes(' Target="'+i.Target+'"')?r+='<Relationship Id="rId'+o+'" Type="http://schemas.microsoft.com/office/2007/relationships/image" Target="'+i.Target+'"/>':r+='<Relationship Id="rId'+o+'" Target="'+i.Target+'" TargetMode="External" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/video"/>')}),t.forEach(function(i,o){r+='<Relationship Id="rId'.concat(n+o+1,'" Type="').concat(i.type,'" Target="').concat(i.target,'"/>')}),r+="</Relationships>",r}function mB(e,t){var n,r,i="",o="",a="",s="",l=t?"a:lvl1pPr":"a:pPr",u=Wt(_Ke),c="<".concat(l).concat(e.options.rtlMode?' rtl="1" ':"");{if(e.options.align)switch(e.options.align){case"left":c+=' algn="l"';break;case"right":c+=' algn="r"';break;case"center":c+=' algn="ctr"';break;case"justify":c+=' algn="just"';break;default:c+="";break}if(e.options.lineSpacing?o='<a:lnSpc><a:spcPts val="'.concat(Math.round(e.options.lineSpacing*100),'"/></a:lnSpc>'):e.options.lineSpacingMultiple&&(o='<a:lnSpc><a:spcPct val="'.concat(Math.round(e.options.lineSpacingMultiple*1e5),'"/></a:lnSpc>')),e.options.indentLevel&&!isNaN(Number(e.options.indentLevel))&&e.options.indentLevel>0&&(c+=' lvl="'.concat(e.options.indentLevel,'"')),e.options.paraSpaceBefore&&!isNaN(Number(e.options.paraSpaceBefore))&&e.options.paraSpaceBefore>0&&(a+='<a:spcBef><a:spcPts val="'.concat(Math.round(e.options.paraSpaceBefore*100),'"/></a:spcBef>')),e.options.paraSpaceAfter&&!isNaN(Number(e.options.paraSpaceAfter))&&e.options.paraSpaceAfter>0&&(a+='<a:spcAft><a:spcPts val="'.concat(Math.round(e.options.paraSpaceAfter*100),'"/></a:spcAft>')),typeof e.options.bullet=="object")if(!((r=(n=e==null?void 0:e.options)===null||n===void 0?void 0:n.bullet)===null||r===void 0)&&r.indent&&(u=Wt(e.options.bullet.indent)),e.options.bullet.type)e.options.bullet.type.toString().toLowerCase()==="number"&&(c+=' marL="'.concat(e.options.indentLevel&&e.options.indentLevel>0?u+u*e.options.indentLevel:u,'" indent="-').concat(u,'"'),i='<a:buSzPct val="100000"/><a:buFont typeface="+mj-lt"/><a:buAutoNum type="'.concat(e.options.bullet.style||"arabicPeriod",'" startAt="').concat(e.options.bullet.numberStartAt||e.options.bullet.startAt||"1",'"/>'));else if(e.options.bullet.characterCode){var f="&#x".concat(e.options.bullet.characterCode,";");/^[0-9A-Fa-f]{4}$/.test(e.options.bullet.characterCode)||(console.warn("Warning: `bullet.characterCode should be a 4-digit unicode charatcer (ex: 22AB)`!"),f=Vp.DEFAULT),c+=' marL="'.concat(e.options.indentLevel&&e.options.indentLevel>0?u+u*e.options.indentLevel:u,'" indent="-').concat(u,'"'),i='<a:buSzPct val="100000"/><a:buChar char="'+f+'"/>'}else if(e.options.bullet.code){var f="&#x".concat(e.options.bullet.code,";");/^[0-9A-Fa-f]{4}$/.test(e.options.bullet.code)||(console.warn("Warning: `bullet.code should be a 4-digit hex code (ex: 22AB)`!"),f=Vp.DEFAULT),c+=' marL="'.concat(e.options.indentLevel&&e.options.indentLevel>0?u+u*e.options.indentLevel:u,'" indent="-').concat(u,'"'),i='<a:buSzPct val="100000"/><a:buChar char="'+f+'"/>'}else c+=' marL="'.concat(e.options.indentLevel&&e.options.indentLevel>0?u+u*e.options.indentLevel:u,'" indent="-').concat(u,'"'),i='<a:buSzPct val="100000"/><a:buChar char="'.concat(Vp.DEFAULT,'"/>');else e.options.bullet?(c+=' marL="'.concat(e.options.indentLevel&&e.options.indentLevel>0?u+u*e.options.indentLevel:u,'" indent="-').concat(u,'"'),i='<a:buSzPct val="100000"/><a:buChar char="'.concat(Vp.DEFAULT,'"/>')):e.options.bullet||(c+=' indent="0" marL="0"',i="<a:buNone/>");if(e.options.tabStops&&Array.isArray(e.options.tabStops)){var d=e.options.tabStops.map(function(h){return'<a:tab pos="'.concat(Mn(h.position||1),'" algn="').concat(h.alignment||"l",'"/>')}).join("");s="<a:tabLst>".concat(d,"</a:tabLst>")}c+=">"+o+a+i+s,t&&(c+=kte(e.options,!0)),c+="</"+l+">"}return c}function kte(e,t){var n,r="",i=t?"a:defRPr":"a:rPr";if(r+="<"+i+' lang="'+(e.lang?e.lang:"en-US")+'"'+(e.lang?' altLang="en-US"':""),r+=e.fontSize?' sz="'.concat(Math.round(e.fontSize*100),'"'):"",r+=e!=null&&e.bold?' b="'.concat(e.bold?"1":"0",'"'):"",r+=e!=null&&e.italic?' i="'.concat(e.italic?"1":"0",'"'):"",r+=e!=null&&e.strike?' strike="'.concat(typeof e.strike=="string"?e.strike:"sngStrike",'"'):"",typeof e.underline=="object"&&(!((n=e.underline)===null||n===void 0)&&n.style)?r+=' u="'.concat(e.underline.style,'"'):typeof e.underline=="string"?r+=' u="'.concat(String(e.underline),'"'):e.hyperlink&&(r+=' u="sng"'),e.baseline?r+=' baseline="'.concat(Math.round(e.baseline*50),'"'):e.subscript?r+=' baseline="-40000"':e.superscript&&(r+=' baseline="30000"'),r+=e.charSpacing?' spc="'.concat(Math.round(e.charSpacing*100),'" kern="0"'):"",r+=' dirty="0">',(e.color||e.fontFace||e.outline||typeof e.underline=="object"&&e.underline.color)&&(e.outline&&typeof e.outline=="object"&&(r+='<a:ln w="'.concat(Wt(e.outline.size||.75),'">').concat(Ea(e.outline.color||"FFFFFF"),"</a:ln>")),e.color&&(r+=Ea({color:e.color,transparency:e.transparency})),e.highlight&&(r+="<a:highlight>".concat(In(e.highlight),"</a:highlight>")),typeof e.underline=="object"&&e.underline.color&&(r+="<a:uFill>".concat(Ea(e.underline.color),"</a:uFill>")),e.glow&&(r+="<a:effectLst>".concat(IKe(e.glow,kKe),"</a:effectLst>")),e.fontFace&&(r+='<a:latin typeface="'.concat(e.fontFace,'" pitchFamily="34" charset="0"/><a:ea typeface="').concat(e.fontFace,'" pitchFamily="34" charset="-122"/><a:cs typeface="').concat(e.fontFace,'" pitchFamily="34" charset="-120"/>'))),e.hyperlink){if(typeof e.hyperlink!="object")throw new Error("ERROR: text `hyperlink` option should be an object. Ex: `hyperlink:{url:'https://github.com'}` ");if(!e.hyperlink.url&&!e.hyperlink.slide)throw new Error("ERROR: 'hyperlink requires either `url` or `slide`'");e.hyperlink.url?r+='<a:hlinkClick r:id="rId'.concat(e.hyperlink._rId,'" invalidUrl="" action="" tgtFrame="" tooltip="').concat(e.hyperlink.tooltip?jt(e.hyperlink.tooltip):"",'" history="1" highlightClick="0" endSnd="0"').concat(e.color?">":"/>"):e.hyperlink.slide&&(r+='<a:hlinkClick r:id="rId'.concat(e.hyperlink._rId,'" action="ppaction://hlinksldjump" tooltip="').concat(e.hyperlink.tooltip?jt(e.hyperlink.tooltip):"",'"').concat(e.color?">":"/>")),e.color&&(r+=" <a:extLst>",r+=' <a:ext uri="{A12FA001-AC4F-418D-AE19-62706E023703}">',r+=' <ahyp:hlinkClr xmlns:ahyp="http://schemas.microsoft.com/office/drawing/2018/hyperlinkcolor" val="tx"/>',r+=" </a:ext>",r+=" </a:extLst>",r+="</a:hlinkClick>")}return r+="</".concat(i,">"),r}function KKe(e){return e.text?"<a:r>".concat(kte(e.options,!1),"<a:t>").concat(jt(e.text),"</a:t></a:r>"):""}function GKe(e){var t="<a:bodyPr";return e&&e._type===qt.text&&e.options._bodyProp?(t+=e.options._bodyProp.wrap?' wrap="square"':' wrap="none"',(e.options._bodyProp.lIns||e.options._bodyProp.lIns===0)&&(t+=' lIns="'.concat(e.options._bodyProp.lIns,'"')),(e.options._bodyProp.tIns||e.options._bodyProp.tIns===0)&&(t+=' tIns="'.concat(e.options._bodyProp.tIns,'"')),(e.options._bodyProp.rIns||e.options._bodyProp.rIns===0)&&(t+=' rIns="'.concat(e.options._bodyProp.rIns,'"')),(e.options._bodyProp.bIns||e.options._bodyProp.bIns===0)&&(t+=' bIns="'.concat(e.options._bodyProp.bIns,'"')),t+=' rtlCol="0"',e.options._bodyProp.anchor&&(t+=' anchor="'+e.options._bodyProp.anchor+'"'),e.options._bodyProp.vert&&(t+=' vert="'+e.options._bodyProp.vert+'"'),t+=">",e.options.fit&&(e.options.fit==="none"?t+="":e.options.fit==="shrink"?t+="<a:normAutofit/>":e.options.fit==="resize"&&(t+="<a:spAutoFit/>")),e.options.shrinkText&&(t+="<a:normAutofit/>"),t+=e.options._bodyProp.autoFit?"<a:spAutoFit/>":"",t+="</a:bodyPr>"):(t+=' wrap="square" rtlCol="0">',t+="</a:bodyPr>"),e._type===qt.tablecell?"<a:bodyPr/>":t}function yB(e){var t=e.options||{},n=[],r=[];if(t&&e._type!==qt.tablecell&&(typeof e.text>"u"||e.text===null))return"";var i=e._type===qt.tablecell?"<a:txBody>":"<p:txBody>";i+=GKe(e),t.h===0&&t.line&&t.align?i+='<a:lstStyle><a:lvl1pPr algn="l"/></a:lstStyle>':e._type==="placeholder"?i+="<a:lstStyle>".concat(mB(e,!0),"</a:lstStyle>"):i+="<a:lstStyle/>",typeof e.text=="string"||typeof e.text=="number"?n.push({text:e.text.toString(),options:t||{}}):e.text&&!Array.isArray(e.text)&&typeof e.text=="object"&&Object.keys(e.text).includes("text")?n.push({text:e.text||"",options:e.options||{}}):Array.isArray(e.text)&&(n=e.text.map(function(s){return{text:s.text,options:s.options}})),n.forEach(function(s,l){s.text||(s.text=""),s.options=s.options||t||{},l===0&&s.options&&!s.options.bullet&&t.bullet&&(s.options.bullet=t.bullet),(typeof s.text=="string"||typeof s.text=="number")&&(s.text=s.text.toString().replace(/\r*\n/g,Pi)),s.text.includes(Pi)&&s.text.match(/\n$/g)===null?s.text.split(Pi).forEach(function(u){s.options.breakLine=!0,r.push({text:u,options:s.options})}):r.push(s)});var o=[],a=[];return r.forEach(function(s,l){a.length>0&&(s.options.align||t.align)?s.options.align!==r[l-1].options.align&&(o.push(a),a=[]):a.length>0&&s.options.bullet&&a.length>0&&(o.push(a),a=[],s.options.breakLine=!1),a.push(s),a.length>0&&s.options.breakLine&&l+1<r.length&&(o.push(a),a=[]),l+1===r.length&&o.push(a)}),o.forEach(function(s){var l,u=!1;i+="<a:p>";var c="<a:pPr ".concat(!((l=s[0].options)===null||l===void 0)&&l.rtlMode?' rtl="1" ':"");s.forEach(function(f,d){f.options._lineIdx=d,d>0&&f.options.softBreakBefore&&(i+="<a:br/>"),f.options.align=f.options.align||t.align,f.options.lineSpacing=f.options.lineSpacing||t.lineSpacing,f.options.lineSpacingMultiple=f.options.lineSpacingMultiple||t.lineSpacingMultiple,f.options.indentLevel=f.options.indentLevel||t.indentLevel,f.options.paraSpaceBefore=f.options.paraSpaceBefore||t.paraSpaceBefore,f.options.paraSpaceAfter=f.options.paraSpaceAfter||t.paraSpaceAfter,c=mB(f,!1),i+=c.replace("<a:pPr></a:pPr>",""),Object.entries(t).filter(function(h){var p=h[0];return h[1],!(f.options.hyperlink&&p==="color")}).forEach(function(h){var p=h[0],v=h[1];p!=="bullet"&&!f.options[p]&&(f.options[p]=v)}),i+=KKe(f),(!f.text&&t.fontSize||f.options.fontSize)&&(u=!0,t.fontSize=t.fontSize||f.options.fontSize)}),e._type===qt.tablecell&&(t.fontSize||t.fontFace)?t.fontFace?(i+='<a:endParaRPr lang="'.concat(t.lang||"en-US",'"')+(t.fontSize?' sz="'.concat(Math.round(t.fontSize*100),'"'):"")+' dirty="0">',i+='<a:latin typeface="'.concat(t.fontFace,'" charset="0"/>'),i+='<a:ea typeface="'.concat(t.fontFace,'" charset="0"/>'),i+='<a:cs typeface="'.concat(t.fontFace,'" charset="0"/>'),i+="</a:endParaRPr>"):i+='<a:endParaRPr lang="'.concat(t.lang||"en-US",'"')+(t.fontSize?' sz="'.concat(Math.round(t.fontSize*100),'"'):"")+' dirty="0"/>':u?i+='<a:endParaRPr lang="'.concat(t.lang||"en-US",'"')+(t.fontSize?' sz="'.concat(Math.round(t.fontSize*100),'"'):"")+' dirty="0"/>':i+='<a:endParaRPr lang="'.concat(t.lang||"en-US",'" dirty="0"/>'),i+="</a:p>"}),i+=e._type===qt.tablecell?"</a:txBody>":"</p:txBody>",i}function ZR(e){var t,n;if(!e)return"";var r=!((t=e.options)===null||t===void 0)&&t._placeholderIdx?e.options._placeholderIdx:"",i=!((n=e.options)===null||n===void 0)&&n._placeholderType?e.options._placeholderType:"",o=i&&Im[i]?Im[i].toString():"";return`<p:ph
|
||
`.concat(r?' idx="'+r.toString()+'"':"",`
|
||
`).concat(o&&Im[o]?' type="'.concat(o,'"'):"",`
|
||
`).concat(e.text&&e.text.length>0?' hasCustomPrompt="1"':"",`
|
||
/>`)}function zKe(e,t,n){var r='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'+Pi;return r+='<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">',r+='<Default Extension="xml" ContentType="application/xml"/>',r+='<Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/>',r+='<Default Extension="jpeg" ContentType="image/jpeg"/>',r+='<Default Extension="jpg" ContentType="image/jpg"/>',r+='<Default Extension="svg" ContentType="image/svg+xml"/>',r+='<Default Extension="png" ContentType="image/png"/>',r+='<Default Extension="gif" ContentType="image/gif"/>',r+='<Default Extension="m4v" ContentType="video/mp4"/>',r+='<Default Extension="mp4" ContentType="video/mp4"/>',e.forEach(function(i){(i._relsMedia||[]).forEach(function(o){o.type!=="image"&&o.type!=="online"&&o.type!=="chart"&&o.extn!=="m4v"&&!r.includes(o.type)&&(r+='<Default Extension="'+o.extn+'" ContentType="'+o.type+'"/>')})}),r+='<Default Extension="vml" ContentType="application/vnd.openxmlformats-officedocument.vmlDrawing"/>',r+='<Default Extension="xlsx" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"/>',r+='<Override PartName="/ppt/presentation.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml"/>',r+='<Override PartName="/ppt/notesMasters/notesMaster1.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.notesMaster+xml"/>',e.forEach(function(i,o){r+='<Override PartName="/ppt/slideMasters/slideMaster'.concat(o+1,'.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.slideMaster+xml"/>'),r+='<Override PartName="/ppt/slides/slide'.concat(o+1,'.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.slide+xml"/>'),i._relsChart.forEach(function(a){r+='<Override PartName="'.concat(a.Target,'" ContentType="application/vnd.openxmlformats-officedocument.drawingml.chart+xml"/>')})}),r+='<Override PartName="/ppt/presProps.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.presProps+xml"/>',r+='<Override PartName="/ppt/viewProps.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.viewProps+xml"/>',r+='<Override PartName="/ppt/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/>',r+='<Override PartName="/ppt/tableStyles.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.tableStyles+xml"/>',t.forEach(function(i,o){r+='<Override PartName="/ppt/slideLayouts/slideLayout'.concat(o+1,'.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml"/>'),(i._relsChart||[]).forEach(function(a){r+=' <Override PartName="'+a.Target+'" ContentType="application/vnd.openxmlformats-officedocument.drawingml.chart+xml"/>'})}),e.forEach(function(i,o){r+='<Override PartName="/ppt/notesSlides/notesSlide'.concat(o+1,'.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.notesSlide+xml"/>')}),n._relsChart.forEach(function(i){r+=' <Override PartName="'+i.Target+'" ContentType="application/vnd.openxmlformats-officedocument.drawingml.chart+xml"/>'}),n._relsMedia.forEach(function(i){i.type!=="image"&&i.type!=="online"&&i.type!=="chart"&&i.extn!=="m4v"&&!r.includes(i.type)&&(r+=' <Default Extension="'+i.extn+'" ContentType="'+i.type+'"/>')}),r+=' <Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/>',r+=' <Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"/>',r+="</Types>",r}function JKe(){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(Pi,`<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
|
||
<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/>
|
||
<Relationship Id="rId2" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/>
|
||
<Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="ppt/presentation.xml"/>
|
||
</Relationships>`)}function $Ke(e,t){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(Pi,`<Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes">
|
||
<TotalTime>0</TotalTime>
|
||
<Words>0</Words>
|
||
<Application>Microsoft Office PowerPoint</Application>
|
||
<PresentationFormat>On-screen Show (16:9)</PresentationFormat>
|
||
<Paragraphs>0</Paragraphs>
|
||
<Slides>`).concat(e.length,`</Slides>
|
||
<Notes>`).concat(e.length,`</Notes>
|
||
<HiddenSlides>0</HiddenSlides>
|
||
<MMClips>0</MMClips>
|
||
<ScaleCrop>false</ScaleCrop>
|
||
<HeadingPairs>
|
||
<vt:vector size="6" baseType="variant">
|
||
<vt:variant><vt:lpstr>Fonts Used</vt:lpstr></vt:variant>
|
||
<vt:variant><vt:i4>2</vt:i4></vt:variant>
|
||
<vt:variant><vt:lpstr>Theme</vt:lpstr></vt:variant>
|
||
<vt:variant><vt:i4>1</vt:i4></vt:variant>
|
||
<vt:variant><vt:lpstr>Slide Titles</vt:lpstr></vt:variant>
|
||
<vt:variant><vt:i4>`).concat(e.length,`</vt:i4></vt:variant>
|
||
</vt:vector>
|
||
</HeadingPairs>
|
||
<TitlesOfParts>
|
||
<vt:vector size="`).concat(e.length+1+2,`" baseType="lpstr">
|
||
<vt:lpstr>Arial</vt:lpstr>
|
||
<vt:lpstr>Calibri</vt:lpstr>
|
||
<vt:lpstr>Office Theme</vt:lpstr>
|
||
`).concat(e.map(function(n,r){return"<vt:lpstr>Slide ".concat(r+1,"</vt:lpstr>")}).join(""),`
|
||
</vt:vector>
|
||
</TitlesOfParts>
|
||
<Company>`).concat(t,`</Company>
|
||
<LinksUpToDate>false</LinksUpToDate>
|
||
<SharedDoc>false</SharedDoc>
|
||
<HyperlinksChanged>false</HyperlinksChanged>
|
||
<AppVersion>16.0000</AppVersion>
|
||
</Properties>`)}function jKe(e,t,n,r){return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||
<cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||
<dc:title>`.concat(jt(e),`</dc:title>
|
||
<dc:subject>`).concat(jt(t),`</dc:subject>
|
||
<dc:creator>`).concat(jt(n),`</dc:creator>
|
||
<cp:lastModifiedBy>`).concat(jt(n),`</cp:lastModifiedBy>
|
||
<cp:revision>`).concat(r,`</cp:revision>
|
||
<dcterms:created xsi:type="dcterms:W3CDTF">`).concat(new Date().toISOString().replace(/\.\d\d\dZ/,"Z"),`</dcterms:created>
|
||
<dcterms:modified xsi:type="dcterms:W3CDTF">`).concat(new Date().toISOString().replace(/\.\d\d\dZ/,"Z"),`</dcterms:modified>
|
||
</cp:coreProperties>`)}function qKe(e){var t=1,n='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'+Pi;n+='<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">',n+='<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster" Target="slideMasters/slideMaster1.xml"/>';for(var r=1;r<=e.length;r++)n+='<Relationship Id="rId'.concat(++t,'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slide" Target="slides/slide').concat(r,'.xml"/>');return t++,n+='<Relationship Id="rId'.concat(t+0,'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesMaster" Target="notesMasters/notesMaster1.xml"/>')+'<Relationship Id="rId'.concat(t+1,'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/presProps" Target="presProps.xml"/>')+'<Relationship Id="rId'.concat(t+2,'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/viewProps" Target="viewProps.xml"/>')+'<Relationship Id="rId'.concat(t+3,'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target="theme/theme1.xml"/>')+'<Relationship Id="rId'.concat(t+4,'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/tableStyles" Target="tableStyles.xml"/>')+"</Relationships>",n}function eGe(e){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(Pi)+'<p:sld xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"'+"".concat(e!=null&&e.hidden?' show="0"':"",">")+"".concat(nC(e))+"<p:clrMapOvr><a:masterClrMapping/></p:clrMapOvr></p:sld>"}function tGe(e){var t="";return e._slideObjects.forEach(function(n){n._type===qt.notes&&(t+=n!=null&&n.text&&n.text[0]?n.text[0].text:"")}),t.replace(/\r*\n/g,Pi)}function nGe(){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(Pi,'<p:notesMaster xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"><p:cSld><p:bg><p:bgRef idx="1001"><a:schemeClr val="bg1"/></p:bgRef></p:bg><p:spTree><p:nvGrpSpPr><p:cNvPr id="1" name=""/><p:cNvGrpSpPr/><p:nvPr/></p:nvGrpSpPr><p:grpSpPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="0" cy="0"/><a:chOff x="0" y="0"/><a:chExt cx="0" cy="0"/></a:xfrm></p:grpSpPr><p:sp><p:nvSpPr><p:cNvPr id="2" name="Header Placeholder 1"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="hdr" sz="quarter"/></p:nvPr></p:nvSpPr><p:spPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="2971800" cy="458788"/></a:xfrm><a:prstGeom prst="rect"><a:avLst/></a:prstGeom></p:spPr><p:txBody><a:bodyPr vert="horz" lIns="91440" tIns="45720" rIns="91440" bIns="45720" rtlCol="0"/><a:lstStyle><a:lvl1pPr algn="l"><a:defRPr sz="1200"/></a:lvl1pPr></a:lstStyle><a:p><a:endParaRPr lang="en-US"/></a:p></p:txBody></p:sp><p:sp><p:nvSpPr><p:cNvPr id="3" name="Date Placeholder 2"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="dt" idx="1"/></p:nvPr></p:nvSpPr><p:spPr><a:xfrm><a:off x="3884613" y="0"/><a:ext cx="2971800" cy="458788"/></a:xfrm><a:prstGeom prst="rect"><a:avLst/></a:prstGeom></p:spPr><p:txBody><a:bodyPr vert="horz" lIns="91440" tIns="45720" rIns="91440" bIns="45720" rtlCol="0"/><a:lstStyle><a:lvl1pPr algn="r"><a:defRPr sz="1200"/></a:lvl1pPr></a:lstStyle><a:p><a:fld id="{5282F153-3F37-0F45-9E97-73ACFA13230C}" type="datetimeFigureOut"><a:rPr lang="en-US"/><a:t>7/23/19</a:t></a:fld><a:endParaRPr lang="en-US"/></a:p></p:txBody></p:sp><p:sp><p:nvSpPr><p:cNvPr id="4" name="Slide Image Placeholder 3"/><p:cNvSpPr><a:spLocks noGrp="1" noRot="1" noChangeAspect="1"/></p:cNvSpPr><p:nvPr><p:ph type="sldImg" idx="2"/></p:nvPr></p:nvSpPr><p:spPr><a:xfrm><a:off x="685800" y="1143000"/><a:ext cx="5486400" cy="3086100"/></a:xfrm><a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:noFill/><a:ln w="12700"><a:solidFill><a:prstClr val="black"/></a:solidFill></a:ln></p:spPr><p:txBody><a:bodyPr vert="horz" lIns="91440" tIns="45720" rIns="91440" bIns="45720" rtlCol="0" anchor="ctr"/><a:lstStyle/><a:p><a:endParaRPr lang="en-US"/></a:p></p:txBody></p:sp><p:sp><p:nvSpPr><p:cNvPr id="5" name="Notes Placeholder 4"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="body" sz="quarter" idx="3"/></p:nvPr></p:nvSpPr><p:spPr><a:xfrm><a:off x="685800" y="4400550"/><a:ext cx="5486400" cy="3600450"/></a:xfrm><a:prstGeom prst="rect"><a:avLst/></a:prstGeom></p:spPr><p:txBody><a:bodyPr vert="horz" lIns="91440" tIns="45720" rIns="91440" bIns="45720" rtlCol="0"/><a:lstStyle/><a:p><a:pPr lvl="0"/><a:r><a:rPr lang="en-US"/><a:t>Click to edit Master text styles</a:t></a:r></a:p><a:p><a:pPr lvl="1"/><a:r><a:rPr lang="en-US"/><a:t>Second level</a:t></a:r></a:p><a:p><a:pPr lvl="2"/><a:r><a:rPr lang="en-US"/><a:t>Third level</a:t></a:r></a:p><a:p><a:pPr lvl="3"/><a:r><a:rPr lang="en-US"/><a:t>Fourth level</a:t></a:r></a:p><a:p><a:pPr lvl="4"/><a:r><a:rPr lang="en-US"/><a:t>Fifth level</a:t></a:r></a:p></p:txBody></p:sp><p:sp><p:nvSpPr><p:cNvPr id="6" name="Footer Placeholder 5"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="ftr" sz="quarter" idx="4"/></p:nvPr></p:nvSpPr><p:spPr><a:xfrm><a:off x="0" y="8685213"/><a:ext cx="2971800" cy="458787"/></a:xfrm><a:prstGeom prst="rect"><a:avLst/></a:prstGeom></p:spPr><p:txBody><a:bodyPr vert="horz" lIns="91440" tIns="45720" rIns="91440" bIns="45720" rtlCol="0" anchor="b"/><a:lstStyle><a:lvl1pPr algn="l"><a:defRPr sz="1200"/></a:lvl1pPr></a:lstStyle><a:p><a:endParaRPr lang="en-US"/></a:p></p:txBody></p:sp><p:sp><p:nvSpPr><p:cNvPr id="7" name="Slide Number Placeholder 6"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="sldNum" sz="quarter" idx="5"/></p:nvPr></p:nvSpPr><p:spPr><a:xfrm><a:off x="3884613" y="8685213"/><a:ext cx="2971800" cy="458787"/></a:xfrm><a:prstGeom prst="rect"><a:avLst/></a:prstGeom></p:spPr><p:txBody><a:bodyPr vert="horz" lIns="91440" tIns="45720" rIns="91440" bIns="45720" rtlCol="0" anchor="b"/><a:lstStyle><a:lvl1pPr algn="r"><a:defRPr sz="1200"/></a:lvl1pPr></a:lstStyle><a:p><a:fld id="{CE5E9CC1-C706-0F49-92D6-E571CC5EEA8F}" type="slidenum"><a:rPr lang="en-US"/><a:t>‹#›</a:t></a:fld><a:endParaRPr lang="en-US"/></a:p></p:txBody></p:sp></p:spTree><p:extLst><p:ext uri="{BB962C8B-B14F-4D97-AF65-F5344CB8AC3E}"><p14:creationId xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main" val="1024086991"/></p:ext></p:extLst></p:cSld><p:clrMap bg1="lt1" tx1="dk1" bg2="lt2" tx2="dk2" accent1="accent1" accent2="accent2" accent3="accent3" accent4="accent4" accent5="accent5" accent6="accent6" hlink="hlink" folHlink="folHlink"/><p:notesStyle><a:lvl1pPr marL="0" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl1pPr><a:lvl2pPr marL="457200" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl2pPr><a:lvl3pPr marL="914400" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl3pPr><a:lvl4pPr marL="1371600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl4pPr><a:lvl5pPr marL="1828800" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl5pPr><a:lvl6pPr marL="2286000" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl6pPr><a:lvl7pPr marL="2743200" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl7pPr><a:lvl8pPr marL="3200400" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl8pPr><a:lvl9pPr marL="3657600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl9pPr></p:notesStyle></p:notesMaster>')}function rGe(e){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(Pi,'<p:notes xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"><p:cSld><p:spTree><p:nvGrpSpPr><p:cNvPr id="1" name=""/><p:cNvGrpSpPr/><p:nvPr/></p:nvGrpSpPr><p:grpSpPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="0" cy="0"/><a:chOff x="0" y="0"/><a:chExt cx="0" cy="0"/></a:xfrm></p:grpSpPr><p:sp><p:nvSpPr><p:cNvPr id="2" name="Slide Image Placeholder 1"/><p:cNvSpPr><a:spLocks noGrp="1" noRot="1" noChangeAspect="1"/></p:cNvSpPr><p:nvPr><p:ph type="sldImg"/></p:nvPr></p:nvSpPr><p:spPr/></p:sp><p:sp><p:nvSpPr><p:cNvPr id="3" name="Notes Placeholder 2"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="body" idx="1"/></p:nvPr></p:nvSpPr><p:spPr/><p:txBody><a:bodyPr/><a:lstStyle/><a:p><a:r><a:rPr lang="en-US" dirty="0"/><a:t>').concat(jt(tGe(e)),'</a:t></a:r><a:endParaRPr lang="en-US" dirty="0"/></a:p></p:txBody></p:sp><p:sp><p:nvSpPr><p:cNvPr id="4" name="Slide Number Placeholder 3"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="sldNum" sz="quarter" idx="10"/></p:nvPr></p:nvSpPr><p:spPr/><p:txBody><a:bodyPr/><a:lstStyle/><a:p><a:fld id="').concat(Mte,'" type="slidenum"><a:rPr lang="en-US"/><a:t>').concat(e._slideNum,'</a:t></a:fld><a:endParaRPr lang="en-US"/></a:p></p:txBody></p:sp></p:spTree><p:extLst><p:ext uri="{BB962C8B-B14F-4D97-AF65-F5344CB8AC3E}"><p14:creationId xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main" val="1024086991"/></p:ext></p:extLst></p:cSld><p:clrMapOvr><a:masterClrMapping/></p:clrMapOvr></p:notes>')}function iGe(e){return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||
<p:sldLayout xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main" preserve="1">
|
||
`.concat(nC(e),`
|
||
<p:clrMapOvr><a:masterClrMapping/></p:clrMapOvr></p:sldLayout>`)}function oGe(e,t){var n=t.map(function(i,o){return'<p:sldLayoutId id="'.concat(LKe+o,'" r:id="rId').concat(e._rels.length+o+1,'"/>')}),r='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'+Pi;return r+='<p:sldMaster xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main">',r+=nC(e),r+='<p:clrMap bg1="lt1" tx1="dk1" bg2="lt2" tx2="dk2" accent1="accent1" accent2="accent2" accent3="accent3" accent4="accent4" accent5="accent5" accent6="accent6" hlink="hlink" folHlink="folHlink"/>',r+="<p:sldLayoutIdLst>"+n.join("")+"</p:sldLayoutIdLst>",r+='<p:hf sldNum="0" hdr="0" ftr="0" dt="0"/>',r+='<p:txStyles> <p:titleStyle> <a:lvl1pPr algn="ctr" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="0"/></a:spcBef><a:buNone/><a:defRPr sz="4400" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mj-lt"/><a:ea typeface="+mj-ea"/><a:cs typeface="+mj-cs"/></a:defRPr></a:lvl1pPr> </p:titleStyle> <p:bodyStyle> <a:lvl1pPr marL="342900" indent="-342900" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="•"/><a:defRPr sz="3200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl1pPr> <a:lvl2pPr marL="742950" indent="-285750" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="–"/><a:defRPr sz="2800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl2pPr> <a:lvl3pPr marL="1143000" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="•"/><a:defRPr sz="2400" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl3pPr> <a:lvl4pPr marL="1600200" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="–"/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl4pPr> <a:lvl5pPr marL="2057400" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="»"/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl5pPr> <a:lvl6pPr marL="2514600" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="•"/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl6pPr> <a:lvl7pPr marL="2971800" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="•"/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl7pPr> <a:lvl8pPr marL="3429000" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="•"/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl8pPr> <a:lvl9pPr marL="3886200" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="•"/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl9pPr> </p:bodyStyle> <p:otherStyle> <a:defPPr><a:defRPr lang="en-US"/></a:defPPr> <a:lvl1pPr marL="0" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl1pPr> <a:lvl2pPr marL="457200" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl2pPr> <a:lvl3pPr marL="914400" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl3pPr> <a:lvl4pPr marL="1371600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl4pPr> <a:lvl5pPr marL="1828800" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl5pPr> <a:lvl6pPr marL="2286000" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl6pPr> <a:lvl7pPr marL="2743200" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl7pPr> <a:lvl8pPr marL="3200400" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl8pPr> <a:lvl9pPr marL="3657600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl9pPr> </p:otherStyle></p:txStyles>',r+="</p:sldMaster>",r}function aGe(e,t){return rC(t[e-1],[{target:"../slideMasters/slideMaster1.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster"}])}function sGe(e,t,n){return rC(e[n-1],[{target:"../slideLayouts/slideLayout".concat(fGe(e,t,n),".xml"),type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"},{target:"../notesSlides/notesSlide".concat(n,".xml"),type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesSlide"}])}function lGe(e){return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
|
||
<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesMaster" Target="../notesMasters/notesMaster1.xml"/>
|
||
<Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slide" Target="../slides/slide`.concat(e,`.xml"/>
|
||
</Relationships>`)}function uGe(e,t){var n=t.map(function(r,i){return{target:"../slideLayouts/slideLayout".concat(i+1,".xml"),type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"}});return n.push({target:"../theme/theme1.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"}),rC(e,n)}function cGe(){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(Pi,`<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
|
||
<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target="../theme/theme1.xml"/>
|
||
</Relationships>`)}function fGe(e,t,n){for(var r=0;r<t.length;r++)if(t[r]._name===e[n-1]._slideLayout._name)return r+1;return 1}function dGe(e){var t,n,r,i,o=!((t=e.theme)===null||t===void 0)&&t.headFontFace?'<a:latin typeface="'.concat((n=e.theme)===null||n===void 0?void 0:n.headFontFace,'"/>'):'<a:latin typeface="Calibri Light" panose="020F0302020204030204"/>',a=!((r=e.theme)===null||r===void 0)&&r.bodyFontFace?'<a:latin typeface="'.concat((i=e.theme)===null||i===void 0?void 0:i.bodyFontFace,'"/>'):'<a:latin typeface="Calibri" panose="020F0502020204030204"/>';return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"><a:themeElements><a:clrScheme name="Office"><a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1><a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1><a:dk2><a:srgbClr val="44546A"/></a:dk2><a:lt2><a:srgbClr val="E7E6E6"/></a:lt2><a:accent1><a:srgbClr val="4472C4"/></a:accent1><a:accent2><a:srgbClr val="ED7D31"/></a:accent2><a:accent3><a:srgbClr val="A5A5A5"/></a:accent3><a:accent4><a:srgbClr val="FFC000"/></a:accent4><a:accent5><a:srgbClr val="5B9BD5"/></a:accent5><a:accent6><a:srgbClr val="70AD47"/></a:accent6><a:hlink><a:srgbClr val="0563C1"/></a:hlink><a:folHlink><a:srgbClr val="954F72"/></a:folHlink></a:clrScheme><a:fontScheme name="Office"><a:majorFont>'.concat(o,'<a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="游ゴシック Light"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="等线 Light"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Times New Roman"/><a:font script="Hebr" typeface="Times New Roman"/><a:font script="Thai" typeface="Angsana New"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="MoolBoran"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Times New Roman"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/><a:font script="Armn" typeface="Arial"/><a:font script="Bugi" typeface="Leelawadee UI"/><a:font script="Bopo" typeface="Microsoft JhengHei"/><a:font script="Java" typeface="Javanese Text"/><a:font script="Lisu" typeface="Segoe UI"/><a:font script="Mymr" typeface="Myanmar Text"/><a:font script="Nkoo" typeface="Ebrima"/><a:font script="Olck" typeface="Nirmala UI"/><a:font script="Osma" typeface="Ebrima"/><a:font script="Phag" typeface="Phagspa"/><a:font script="Syrn" typeface="Estrangelo Edessa"/><a:font script="Syrj" typeface="Estrangelo Edessa"/><a:font script="Syre" typeface="Estrangelo Edessa"/><a:font script="Sora" typeface="Nirmala UI"/><a:font script="Tale" typeface="Microsoft Tai Le"/><a:font script="Talu" typeface="Microsoft New Tai Lue"/><a:font script="Tfng" typeface="Ebrima"/></a:majorFont><a:minorFont>').concat(a,'<a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="游ゴシック"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="等线"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Arial"/><a:font script="Hebr" typeface="Arial"/><a:font script="Thai" typeface="Cordia New"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="DaunPenh"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Arial"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/><a:font script="Armn" typeface="Arial"/><a:font script="Bugi" typeface="Leelawadee UI"/><a:font script="Bopo" typeface="Microsoft JhengHei"/><a:font script="Java" typeface="Javanese Text"/><a:font script="Lisu" typeface="Segoe UI"/><a:font script="Mymr" typeface="Myanmar Text"/><a:font script="Nkoo" typeface="Ebrima"/><a:font script="Olck" typeface="Nirmala UI"/><a:font script="Osma" typeface="Ebrima"/><a:font script="Phag" typeface="Phagspa"/><a:font script="Syrn" typeface="Estrangelo Edessa"/><a:font script="Syrj" typeface="Estrangelo Edessa"/><a:font script="Syre" typeface="Estrangelo Edessa"/><a:font script="Sora" typeface="Nirmala UI"/><a:font script="Tale" typeface="Microsoft Tai Le"/><a:font script="Talu" typeface="Microsoft New Tai Lue"/><a:font script="Tfng" typeface="Ebrima"/></a:minorFont></a:fontScheme><a:fmtScheme name="Office"><a:fillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:lumMod val="110000"/><a:satMod val="105000"/><a:tint val="67000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="103000"/><a:tint val="73000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="109000"/><a:tint val="81000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:satMod val="103000"/><a:lumMod val="102000"/><a:tint val="94000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:satMod val="110000"/><a:lumMod val="100000"/><a:shade val="100000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="99000"/><a:satMod val="120000"/><a:shade val="78000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:fillStyleLst><a:lnStyleLst><a:ln w="6350" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="12700" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="19050" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln></a:lnStyleLst><a:effectStyleLst><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="57150" dist="19050" dir="5400000" algn="ctr" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="63000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle></a:effectStyleLst><a:bgFillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:solidFill><a:schemeClr val="phClr"><a:tint val="95000"/><a:satMod val="170000"/></a:schemeClr></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="93000"/><a:satMod val="150000"/><a:shade val="98000"/><a:lumMod val="102000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:tint val="98000"/><a:satMod val="130000"/><a:shade val="90000"/><a:lumMod val="103000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="63000"/><a:satMod val="120000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:bgFillStyleLst></a:fmtScheme></a:themeElements><a:objectDefaults/><a:extraClrSchemeLst/><a:extLst><a:ext uri="{05A4C25C-085E-4340-85A3-A5531E510DB2}"><thm15:themeFamily xmlns:thm15="http://schemas.microsoft.com/office/thememl/2012/main" name="Office Theme" id="{62F939B6-93AF-4DB8-9C6B-D6C7DFDC589F}" vid="{4A3C46E8-61CC-4603-A589-7422A47A8E4A}"/></a:ext></a:extLst></a:theme>')}function hGe(e){var t='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(Pi)+'<p:presentation xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" '+'xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main" '.concat(e.rtlMode?'rtl="1"':"",' saveSubsetFonts="1" autoCompressPictures="0">');t+='<p:sldMasterIdLst><p:sldMasterId id="2147483648" r:id="rId1"/></p:sldMasterIdLst>',t+="<p:sldIdLst>",e.slides.forEach(function(r){return t+='<p:sldId id="'.concat(r._slideId,'" r:id="rId').concat(r._rId,'"/>')}),t+="</p:sldIdLst>",t+='<p:notesMasterIdLst><p:notesMasterId r:id="rId'.concat(e.slides.length+2,'"/></p:notesMasterIdLst>'),t+='<p:sldSz cx="'.concat(e.presLayout.width,'" cy="').concat(e.presLayout.height,'"/>'),t+='<p:notesSz cx="'.concat(e.presLayout.height,'" cy="').concat(e.presLayout.width,'"/>'),t+="<p:defaultTextStyle>";for(var n=1;n<10;n++)t+="<a:lvl".concat(n,'pPr marL="').concat((n-1)*457200,'" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1">')+'<a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/>'+"</a:defRPr></a:lvl".concat(n,"pPr>");return t+="</p:defaultTextStyle>",e.sections&&e.sections.length>0&&(t+='<p:extLst><p:ext uri="{521415D9-36F7-43E2-AB2F-B90AF26B5E84}">',t+='<p14:sectionLst xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main">',e.sections.forEach(function(r){t+='<p14:section name="'.concat(jt(r.title),'" id="{').concat(Ub("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"),'}"><p14:sldIdLst>'),r._slides.forEach(function(i){return t+='<p14:sldId id="'.concat(i._slideId,'"/>')}),t+="</p14:sldIdLst></p14:section>"}),t+="</p14:sectionLst></p:ext>",t+='<p:ext uri="{EFAFB233-063F-42B5-8137-9DF3F51BA10A}"><p15:sldGuideLst xmlns:p15="http://schemas.microsoft.com/office/powerpoint/2012/main"/></p:ext>',t+="</p:extLst>"),t+="</p:presentation>",t}function pGe(){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(Pi,'<p:presentationPr xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"/>')}function vGe(){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(Pi,'<a:tblStyleLst xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" def="{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}"/>')}function gGe(){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(Pi,'<p:viewPr xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"><p:normalViewPr horzBarState="maximized"><p:restoredLeft sz="15611"/><p:restoredTop sz="94610"/></p:normalViewPr><p:slideViewPr><p:cSldViewPr snapToGrid="0" snapToObjects="1"><p:cViewPr varScale="1"><p:scale><a:sx n="136" d="100"/><a:sy n="136" d="100"/></p:scale><p:origin x="216" y="312"/></p:cViewPr><p:guideLst/></p:cSldViewPr></p:slideViewPr><p:notesTextViewPr><p:cViewPr><p:scale><a:sx n="1" d="1"/><a:sy n="1" d="1"/></p:scale><p:origin x="0" y="0"/></p:cViewPr></p:notesTextViewPr><p:gridSpacing cx="76200" cy="76200"/></p:viewPr>')}var mGe="3.12.0",yGe=function(){function e(){var t=this;this._version=mGe,this._alignH=V_,this._alignV=D_,this._chartType=X_,this._outputType=E_,this._schemeColor=_a,this._shapeType=W_,this._charts=ct,this._colors=U_,this._shapes=rd,this.addNewSlide=function(a){var s=t.sections.length>0&&t.sections[t.sections.length-1]._slides.filter(function(l){return l._slideNum===t.slides[t.slides.length-1]._slideNum}).length>0;return a.sectionTitle=s?t.sections[t.sections.length-1].title:null,t.addSlide(a)},this.getSlide=function(a){return t.slides.filter(function(s){return s._slideNum===a})[0]},this.setSlideNumber=function(a){t.masterSlide._slideNumberProps=a,t.slideLayouts.filter(function(s){return s._name===N_})[0]._slideNumberProps=a},this.createChartMediaRels=function(a,s,l){a._relsChart.forEach(function(u){return l.push(YKe(u,s))}),a._relsMedia.forEach(function(u){if(u.type!=="online"&&u.type!=="hyperlink"){var c=u.data&&typeof u.data=="string"?u.data:"";!c.includes(",")&&!c.includes(";")?c="image/png;base64,"+c:c.includes(",")?c.includes(";")||(c="image/png;"+c):c="image/png;base64,"+c,s.file(u.Target.replace("..","ppt"),c.split(",").pop(),{base64:!0})}})},this.writeFileToBrowser=function(a,s){return Vl(t,void 0,void 0,function(){var l,u;return Dl(this,function(c){switch(c.label){case 0:return l=document.createElement("a"),l.setAttribute("style","display:none;"),l.dataset.interception="off",document.body.appendChild(l),window.URL.createObjectURL?(u=window.URL.createObjectURL(new Blob([s],{type:"application/vnd.openxmlformats-officedocument.presentationml.presentation"})),l.href=u,l.download=a,l.click(),setTimeout(function(){window.URL.revokeObjectURL(u),document.body.removeChild(l)},100),[4,Promise.resolve(a)]):[3,2];case 1:return[2,c.sent()];case 2:return[2]}})})},this.exportPresentation=function(a){return Vl(t,void 0,void 0,function(){var s,l,u,c=this;return Dl(this,function(f){switch(f.label){case 0:return s=[],l=[],u=new bte,this.slides.forEach(function(d){l=l.concat(S8(d))}),this.slideLayouts.forEach(function(d){l=l.concat(S8(d))}),l=l.concat(S8(this.masterSlide)),[4,Promise.all(l).then(function(){return Vl(c,void 0,void 0,function(){var d=this;return Dl(this,function(h){switch(h.label){case 0:return this.slides.forEach(function(p){p._slideLayout&&UKe(p)}),u.folder("_rels"),u.folder("docProps"),u.folder("ppt").folder("_rels"),u.folder("ppt/charts").folder("_rels"),u.folder("ppt/embeddings"),u.folder("ppt/media"),u.folder("ppt/slideLayouts").folder("_rels"),u.folder("ppt/slideMasters").folder("_rels"),u.folder("ppt/slides").folder("_rels"),u.folder("ppt/theme"),u.folder("ppt/notesMasters").folder("_rels"),u.folder("ppt/notesSlides").folder("_rels"),u.file("[Content_Types].xml",zKe(this.slides,this.slideLayouts,this.masterSlide)),u.file("_rels/.rels",JKe()),u.file("docProps/app.xml",$Ke(this.slides,this.company)),u.file("docProps/core.xml",jKe(this.title,this.subject,this.author,this.revision)),u.file("ppt/_rels/presentation.xml.rels",qKe(this.slides)),u.file("ppt/theme/theme1.xml",dGe(this)),u.file("ppt/presentation.xml",hGe(this)),u.file("ppt/presProps.xml",pGe()),u.file("ppt/tableStyles.xml",vGe()),u.file("ppt/viewProps.xml",gGe()),this.slideLayouts.forEach(function(p,v){u.file("ppt/slideLayouts/slideLayout".concat(v+1,".xml"),iGe(p)),u.file("ppt/slideLayouts/_rels/slideLayout".concat(v+1,".xml.rels"),aGe(v+1,d.slideLayouts))}),this.slides.forEach(function(p,v){u.file("ppt/slides/slide".concat(v+1,".xml"),eGe(p)),u.file("ppt/slides/_rels/slide".concat(v+1,".xml.rels"),sGe(d.slides,d.slideLayouts,v+1)),u.file("ppt/notesSlides/notesSlide".concat(v+1,".xml"),rGe(p)),u.file("ppt/notesSlides/_rels/notesSlide".concat(v+1,".xml.rels"),lGe(v+1))}),u.file("ppt/slideMasters/slideMaster1.xml",oGe(this.masterSlide,this.slideLayouts)),u.file("ppt/slideMasters/_rels/slideMaster1.xml.rels",uGe(this.masterSlide,this.slideLayouts)),u.file("ppt/notesMasters/notesMaster1.xml",nGe()),u.file("ppt/notesMasters/_rels/notesMaster1.xml.rels",cGe()),this.slideLayouts.forEach(function(p){d.createChartMediaRels(p,u,s)}),this.slides.forEach(function(p){d.createChartMediaRels(p,u,s)}),this.createChartMediaRels(this.masterSlide,u,s),[4,Promise.all(s).then(function(){return Vl(d,void 0,void 0,function(){return Dl(this,function(p){switch(p.label){case 0:return a.outputType!=="STREAM"?[3,2]:[4,u.generateAsync({type:"nodebuffer",compression:a.compression?"DEFLATE":"STORE"})];case 1:return[2,p.sent()];case 2:return a.outputType?[4,u.generateAsync({type:a.outputType})]:[3,4];case 3:return[2,p.sent()];case 4:return[4,u.generateAsync({type:"blob",compression:a.compression?"DEFLATE":"STORE"})];case 5:return[2,p.sent()]}})})})];case 1:return[2,h.sent()]}})})})];case 1:return[2,f.sent()]}})})};var n={name:"screen4x3",width:9144e3,height:6858e3},r={name:"screen16x9",width:9144e3,height:5143500},i={name:"screen16x10",width:9144e3,height:5715e3},o={name:"custom",width:12192e3,height:6858e3};this.LAYOUTS={LAYOUT_4x3:n,LAYOUT_16x9:r,LAYOUT_16x10:i,LAYOUT_WIDE:o},this._author="PptxGenJS",this._company="PptxGenJS",this._revision="1",this._subject="PptxGenJS Presentation",this._title="PptxGenJS Presentation",this._presLayout={name:this.LAYOUTS[lp].name,_sizeW:this.LAYOUTS[lp].width,_sizeH:this.LAYOUTS[lp].height,width:this.LAYOUTS[lp].width,height:this.LAYOUTS[lp].height},this._rtlMode=!1,this._slideLayouts=[{_margin:T2,_name:N_,_presLayout:this._presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slide:null,_slideNum:1e3,_slideNumberProps:null,_slideObjects:[]}],this._slides=[],this._sections=[],this._masterSlide={addChart:null,addImage:null,addMedia:null,addNotes:null,addShape:null,addTable:null,addText:null,_name:null,_presLayout:this._presLayout,_rId:null,_rels:[],_relsChart:[],_relsMedia:[],_slideId:null,_slideLayout:null,_slideNum:null,_slideNumberProps:null,_slideObjects:[]}}return Object.defineProperty(e.prototype,"layout",{get:function(){return this._layout},set:function(t){var n=this.LAYOUTS[t];if(n)this._layout=t,this._presLayout=n;else throw new Error("UNKNOWN-LAYOUT")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"author",{get:function(){return this._author},set:function(t){this._author=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"company",{get:function(){return this._company},set:function(t){this._company=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"revision",{get:function(){return this._revision},set:function(t){this._revision=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"subject",{get:function(){return this._subject},set:function(t){this._subject=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"theme",{get:function(){return this._theme},set:function(t){this._theme=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this._title},set:function(t){this._title=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rtlMode",{get:function(){return this._rtlMode},set:function(t){this._rtlMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"masterSlide",{get:function(){return this._masterSlide},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"slides",{get:function(){return this._slides},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"sections",{get:function(){return this._sections},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"slideLayouts",{get:function(){return this._slideLayouts},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"AlignH",{get:function(){return this._alignH},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"AlignV",{get:function(){return this._alignV},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ChartType",{get:function(){return this._chartType},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"OutputType",{get:function(){return this._outputType},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"presLayout",{get:function(){return this._presLayout},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"SchemeColor",{get:function(){return this._schemeColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ShapeType",{get:function(){return this._shapeType},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"charts",{get:function(){return this._charts},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"colors",{get:function(){return this._colors},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shapes",{get:function(){return this._shapes},enumerable:!1,configurable:!0}),e.prototype.stream=function(t){return Vl(this,void 0,void 0,function(){return Dl(this,function(n){switch(n.label){case 0:return[4,this.exportPresentation({compression:t==null?void 0:t.compression,outputType:"STREAM"})];case 1:return[2,n.sent()]}})})},e.prototype.write=function(t){return Vl(this,void 0,void 0,function(){var n,r;return Dl(this,function(i){switch(i.label){case 0:return n=typeof t=="object"&&(t!=null&&t.outputType)?t.outputType:t||null,r=typeof t=="object"&&(t!=null&&t.compression)?t.compression:!1,[4,this.exportPresentation({compression:r,outputType:n})];case 1:return[2,i.sent()]}})})},e.prototype.writeFile=function(t){return Vl(this,void 0,void 0,function(){var n,r,i,o,a=this;return Dl(this,function(s){switch(s.label){case 0:return n=typeof require<"u"&&typeof window>"u"?require("fs"):null,typeof t=="string"&&console.log("Warning: `writeFile(filename)` is deprecated - please use `WriteFileProps` argument (v3.5.0)"),r=typeof t=="object"&&(t!=null&&t.fileName)?t.fileName:typeof t=="string"?t:"",i=typeof t=="object"&&(t!=null&&t.compression)?t.compression:!1,o=r?r.toString().toLowerCase().endsWith(".pptx")?r:r+".pptx":"Presentation.pptx",[4,this.exportPresentation({compression:i,outputType:n?"nodebuffer":null}).then(function(l){return Vl(a,void 0,void 0,function(){return Dl(this,function(u){switch(u.label){case 0:return n?[4,new Promise(function(c,f){n.writeFile(o,l,function(d){d?f(d):c(o)})})]:[3,2];case 1:return[2,u.sent()];case 2:return[4,this.writeFileToBrowser(o,l)];case 3:return[2,u.sent()]}})})})];case 1:return[2,s.sent()]}})})},e.prototype.addSection=function(t){t?t.title||console.warn("addSection requires a title"):console.warn("addSection requires an argument");var n={_type:"user",_slides:[],title:t.title};t.order?this.sections.splice(t.order,0,n):this._sections.push(n)},e.prototype.addSlide=function(t){var n=typeof t=="string"?t:t!=null&&t.masterName?t.masterName:"",r={_name:this.LAYOUTS[lp].name,_presLayout:this.presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slideNum:this.slides.length+1};if(n){var i=this.slideLayouts.filter(function(l){return l._name===n})[0];i&&(r=i)}var o=new BKe({addSlide:this.addNewSlide,getSlide:this.getSlide,presLayout:this.presLayout,setSlideNum:this.setSlideNumber,slideId:this.slides.length+256,slideRId:this.slides.length+2,slideNumber:this.slides.length+1,slideLayout:r});if(this._slides.push(o),t!=null&&t.sectionTitle){var a=this.sections.filter(function(l){return l.title===t.sectionTitle})[0];a?a._slides.push(o):console.warn('addSlide: unable to find section with title: "'.concat(t.sectionTitle,'"'))}else if(this.sections&&this.sections.length>0&&!(t!=null&&t.sectionTitle)){var s=this._sections[this.sections.length-1];s._type==="default"?s._slides.push(o):this._sections.push({title:"Default-".concat(this.sections.filter(function(l){return l._type==="default"}).length+1),_type:"default",_slides:[o]})}return o},e.prototype.defineLayout=function(t){t?t.name?t.width?t.height?typeof t.height!="number"?console.warn("defineLayout `height` should be a number (inches)"):typeof t.width!="number"&&console.warn("defineLayout `width` should be a number (inches)"):console.warn("defineLayout requires `height`"):console.warn("defineLayout requires `width`"):console.warn("defineLayout requires `name`"):console.warn("defineLayout requires `{name, width, height}`"),this.LAYOUTS[t.name]={name:t.name,_sizeW:Math.round(Number(t.width)*$t),_sizeH:Math.round(Number(t.height)*$t),width:Math.round(Number(t.width)*$t),height:Math.round(Number(t.height)*$t)}},e.prototype.defineSlideMaster=function(t){if(!t.title)throw new Error("defineSlideMaster() object argument requires a `title` value. (https://gitbrent.github.io/PptxGenJS/docs/masters.html)");var n={_margin:t.margin||T2,_name:t.title,_presLayout:this.presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slide:null,_slideNum:1e3+this.slideLayouts.length+1,_slideNumberProps:t.slideNumber||null,_slideObjects:[],background:t.background||null,bkgd:t.bkgd||null};XKe(t,n),this.slideLayouts.push(n),(t.background||t.bkgd)&&Ote(t.background,n),n._slideNumberProps&&!this.masterSlide._slideNumberProps&&(this.masterSlide._slideNumberProps=n._slideNumberProps)},e.prototype.tableToSlides=function(t,n){n===void 0&&(n={}),FKe(this,t,n,n!=null&&n.masterSlideName?this.slideLayouts.filter(function(r){return r._name===n.masterSlideName})[0]:null)},e}();const AGe=["style","script","template"],RGe=["html","head","body","p","dt","dd","li","option","thead","th","tbody","tr","td","tfoot","colgroup"],bGe={li:["ul","ol","menu"],dt:["dl"],dd:["dl"],tbody:["table"],thead:["table"],tfoot:["table"],tr:["table"],td:["table"]},xGe=["!doctype","area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],Vh=(e,t)=>{const n=t-e.position;LS(e,n)},LS=(e,t)=>{e.position=e.position+t},SGe=(e,t)=>{for(;;){const r=e.indexOf("<",t);if(r===-1)return r;const i=e.charAt(r+1);if(i==="/"||i==="!"||/[A-Za-z0-9]/.test(i))return r;t=r+1}return-1},Pte=e=>{const{str:t}=e;let n=SGe(t,e.position);if(n===e.position)return;n===-1&&(n=t.length);const r=t.slice(e.position,n);Vh(e,n),e.tokens.push({type:"text",content:r})},wGe=e=>{const{str:t}=e;LS(e,4);let n=t.indexOf("-->",e.position),r=n+3;n===-1&&(n=r=t.length);const i=t.slice(e.position,n);Vh(e,r),e.tokens.push({type:"comment",content:i})},MGe=e=>{const{str:t}=e,n=t.length;let r=e.position;for(;r<n;){const a=t.charAt(r);if(!(/\s/.test(a)||a==="/"||a===">"))break;r++}let i=r+1;for(;i<n;){const a=t.charAt(i);if(!!(/\s/.test(a)||a==="/"||a===">"))break;i++}Vh(e,i);const o=t.slice(r,i);return e.tokens.push({type:"tag",content:o}),o},LGe=e=>{const{str:t,tokens:n}=e;let r=e.position,i=null,o=r;const a=[],s=t.length;for(;r<s;){const u=t.charAt(r);if(i){u===i&&(i=null),r++;continue}if(u==="/"||u===">"){r!==o&&a.push(t.slice(o,r));break}if(/\s/.test(u)){r!==o&&a.push(t.slice(o,r)),o=r+1,r++;continue}if(u==="'"||u==='"'){i=u,r++;continue}r++}Vh(e,r);const l="attribute";for(let u=0;u<a.length;u++){const c=a[u];if(c.indexOf("=")===-1){const d=a[u+1];if(d&&Yn.startsWith(d,"=")){if(d.length>1){const p=c+d;n.push({type:l,content:p}),u+=1;continue}const h=a[u+2];if(u+=1,h){const p=c+"="+h;n.push({type:l,content:p}),u+=1;continue}}}if(Yn.endsWith(c,"=")){const d=a[u+1];if(d&&d.indexOf("=")===-1){const p=c+d;n.push({type:l,content:p}),u+=1;continue}const h=c.slice(0,-1);n.push({type:l,content:h});continue}n.push({type:l,content:c})}},TGe=(e,t)=>{const{str:n,tokens:r}=t,i=e.toLowerCase(),o=n.length;let a=t.position;for(;a<o;){const s=n.indexOf("</",a);if(s===-1){Pte(t);break}const l={str:n,position:t.position,tokens:[]};Vh(l,s);const u=Cte(l);if(i!==u.toLowerCase()){a=l.position;continue}if(s!==t.position){const c=t.position;Vh(t,s),r.push({type:"text",content:n.slice(c,s)})}r.push(...l.tokens),Vh(t,l.position);break}},Cte=e=>{const{str:t}=e,r=t.charAt(e.position+1)==="/";LS(e,r?2:1),e.tokens.push({type:"tag-start",close:r});const i=MGe(e);LGe(e);const a=t.charAt(e.position)==="/";return LS(e,a?2:1),e.tokens.push({type:"tag-end",close:a}),i},_Ge=e=>{const t=e.str,n=t.length;for(;e.position<n;){const r=e.position;if(Pte(e),e.position===r)if(Yn.startsWith(t,"!--",r+1))wGe(e);else{const o=Cte(e),a=o.toLowerCase();AGe.includes(a)&&TGe(o,e)}}},OGe=e=>{const t={str:e,position:0,tokens:[]};return _Ge(t),t.tokens},kGe=e=>{const t={tagName:null,children:[]};return Ite({tokens:e,cursor:0,stack:[t]}),t.children},PGe=(e,t)=>{const n=bGe[e];if(n){let r=t.length-1;for(;r>=0;){const i=t[r].tagName;if(i===e)break;if(i&&n.includes(i))return!0;r--}}return!1},AB=(e,t)=>{e.splice(t)},Ite=e=>{const{stack:t,tokens:n}=e;let{cursor:r}=e,i=t[t.length-1].children;const o=n.length;for(;r<o;){const a=n[r];if(a.type!=="tag-start"){i.push(a),r++;continue}const s=n[++r];r++;const l=s.content.toLowerCase();if(a.close){let g=t.length,m=!1;for(;--g>-1;)if(t[g].tagName===l){m=!0;break}for(;r<o&&n[r].type==="tag-end";)r++;if(m){AB(t,g);break}else continue}let c=RGe.includes(l);if(c&&(c=!PGe(l,t)),c){let g=t.length-1;for(;g>0;){if(l===t[g].tagName){AB(t,g);const m=g-1;i=t[m].children;break}g=g-1}}const f=[];let d;for(;r<o;){const g=n[r];if(g.type==="tag-end"){d=g;break}f.push(g.content),r++}if(!d)break;r++;const h=[],p={type:"element",tagName:s.content,attributes:f,children:h};if(i.push(p),!(d.close||xGe.includes(l))){t.push({tagName:l,children:h});const g={tokens:n,cursor:r,stack:t};Ite(g),r=g.cursor}}e.cursor=r},CGe=(e,t)=>{const n=e.indexOf(t);return n===-1?[e]:[e.slice(0,n),e.slice(n+t.length)]},IGe=e=>{const t=e.charAt(0),n=e.length-1;return(t==='"'||t==="'")&&t===e.charAt(n)?e.slice(1,n):e},NGe=e=>e.map(t=>{const n=CGe(t.trim(),"="),r=n[0],i=typeof n[1]=="string"?IGe(n[1]):null;return{key:r,value:i}}),Nte=e=>e.map(t=>{if(t.type==="element"){const r=Nte(t.children);return{type:"element",tagName:t.tagName.toLowerCase(),attributes:NGe(t.attributes),children:r}}return{type:t.type,content:t.content}}),FGe=e=>{const t=OGe(e),n=kGe(t);return Nte(n)},QR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",EGe="data:image/svg+xml;base64,",XGe=e=>{e=e.replace(/\r\n/g,`
|
||
`);let t="";for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);r<128?t+=String.fromCharCode(r):r>127&&r<2048?(t+=String.fromCharCode(r>>6|192),t+=String.fromCharCode(r&63|128)):(t+=String.fromCharCode(r>>12|224),t+=String.fromCharCode(r>>6&63|128),t+=String.fromCharCode(r&63|128))}return t},WGe=e=>{let t="",n,r,i,o,a,s,l,u=0;for(e=XGe(e);u<e.length;)n=e.charCodeAt(u++),r=e.charCodeAt(u++),i=e.charCodeAt(u++),o=n>>2,a=(n&3)<<4|r>>4,s=(r&15)<<2|i>>6,l=i&63,isNaN(r)?s=l=64:isNaN(i)&&(l=64),t=t+QR.charAt(o)+QR.charAt(a)+QR.charAt(s)+QR.charAt(l);return t},RB=e=>{const n=new XMLSerializer().serializeToString(e);return EGe+WGe(n)},v4=()=>{const e=lt(),{slides:t,theme:n,viewportRatio:r,title:i,viewportSize:o}=De(e),a=16,s=Se(()=>96*(o.value/960)),l=Se(()=>96/72*(o.value/960)),u=pe(!1),c=(S,_,M,w=!0)=>{u.value=!0;const L=_==="png"?VVe:DVe;S.querySelectorAll("foreignObject [xmlns]").forEach(P=>P.removeAttribute("xmlns")),setTimeout(()=>{const P={quality:M,width:1600};w&&(P.fontEmbedCSS=""),L(S,P).then(F=>{u.value=!1,m8.saveAs(F,`${i.value}.${_}`)}).catch(()=>{u.value=!1,gn.error("导出图片失败")})},200)},f=S=>{const _=new Blob([YO(JSON.stringify(S))],{type:""});m8.saveAs(_,`${i.value}.pptist`)},d=()=>{const S={title:i.value,width:o.value,height:o.value*r.value,slides:t.value},_=new Blob([JSON.stringify(S)],{type:""});m8.saveAs(_,`${i.value}.json`)},h=S=>{const _=at(S),M=_.getAlpha(),w=M===0?"#ffffff":_.setAlpha(1).toHexString();return{alpha:M,color:w}},p=S=>{const _=FGe(S);let M=!1,w=0;const L=[],k=(P,F={})=>{for(const C of P){if("tagName"in C&&["div","li","p"].includes(C.tagName)&&L.length){const W=L[L.length-1];W.options||(W.options={}),W.options.breakLine=!0}const I={...F},V="attributes"in C?C.attributes.find(W=>W.key==="style"):null;if(V&&V.value){const W=V.value.split(";");for(const Z of W){const[re,Y]=Z.split(": "),[B,Q]=[Yn.trim(re),Yn.trim(Y)];B&&Q&&(I[B]=Q)}}if("tagName"in C){if(C.tagName==="em"&&(I["font-style"]="italic"),C.tagName==="strong"&&(I["font-weight"]="bold"),C.tagName==="sup"&&(I["vertical-align"]="super"),C.tagName==="sub"&&(I["vertical-align"]="sub"),C.tagName==="a"){const W=C.attributes.find(Z=>Z.key==="href");I.href=(W==null?void 0:W.value)||""}if(C.tagName==="ul"&&(I["list-type"]="ul"),C.tagName==="ol"&&(I["list-type"]="ol"),C.tagName==="li"&&(M=!0),C.tagName==="p"&&"attributes"in C){const W=C.attributes.find(Z=>Z.key==="data-indent");W&&W.value&&(w=+W.value)}}if("tagName"in C&&C.tagName==="br")L.push({text:"",options:{breakLine:!0}});else if("content"in C){const W=C.content.replace(/ /g," ").replace(/>/g,">").replace(/</g,"<").replace(/&/g,"&").replace(/\n/g,""),Z={};I["font-size"]&&(Z.fontSize=parseInt(I["font-size"])/l.value),I.color&&(Z.color=h(I.color).color),I["background-color"]&&(Z.highlight=h(I["background-color"]).color),I["text-decoration-line"]&&(I["text-decoration-line"].indexOf("underline")!==-1&&(Z.underline={color:Z.color||"#000000",style:"sng"}),I["text-decoration-line"].indexOf("line-through")!==-1&&(Z.strike="sngStrike")),I["text-decoration"]&&(I["text-decoration"].indexOf("underline")!==-1&&(Z.underline={color:Z.color||"#000000",style:"sng"}),I["text-decoration"].indexOf("line-through")!==-1&&(Z.strike="sngStrike")),I["vertical-align"]&&(I["vertical-align"]==="super"&&(Z.superscript=!0),I["vertical-align"]==="sub"&&(Z.subscript=!0)),I["text-align"]&&(Z.align=I["text-align"]),I["font-weight"]&&(Z.bold=I["font-weight"]==="bold"),I["font-style"]&&(Z.italic=I["font-style"]==="italic"),I["font-family"]&&(Z.fontFace=I["font-family"]),I.href&&(Z.hyperlink={url:I.href}),M&&I["list-type"]==="ol"&&(Z.bullet={type:"number",indent:(Z.fontSize||a)*1.25},Z.paraSpaceBefore=.1,M=!1),M&&I["list-type"]==="ul"&&(Z.bullet={indent:(Z.fontSize||a)*1.25},Z.paraSpaceBefore=.1,M=!1),w&&(Z.indentLevel=w,w=0),L.push({text:W,options:Z})}else"children"in C&&k(C.children,I)}};return k(_),L},v=(S,_={x:1,y:1})=>S.map(M=>{if(M.close!==void 0)return{close:!0};if(M.type==="M")return{x:M.x/s.value*_.x,y:M.y/s.value*_.y,moveTo:!0};if(M.curve){if(M.curve.type==="cubic")return{x:M.x/s.value*_.x,y:M.y/s.value*_.y,curve:{type:"cubic",x1:M.curve.x1/s.value*_.x,y1:M.curve.y1/s.value*_.y,x2:M.curve.x2/s.value*_.x,y2:M.curve.y2/s.value*_.y}};if(M.curve.type==="quadratic")return{x:M.x/s.value*_.x,y:M.y/s.value*_.y,curve:{type:"quadratic",x1:M.curve.x1/s.value*_.x,y1:M.curve.y1/s.value*_.y}}}return{x:M.x/s.value*_.x,y:M.y/s.value*_.y}}),g=S=>{const _=h(S.color),{h:M,v:w}=S;let L=4,k=45;return M===0&&w===0?(L=4,k=45):M===0?w>0?(L=w,k=90):(L=-w,k=270):w===0?M>0?(L=M,k=1):(L=-M,k=180):M>0&&w>0?(L=Math.max(M,w),k=45):M>0&&w<0?(L=Math.max(M,-w),k=315):M<0&&w>0?(L=Math.max(-M,w),k=135):M<0&&w<0&&(L=Math.max(-M,-w),k=225),{type:"outer",color:_.color.replace("#",""),opacity:_.alpha,blur:S.blur/l.value,offset:L,angle:k}},m={solid:"solid",dashed:"dash",dotted:"sysDot"},y=S=>{const _=h((S==null?void 0:S.color)||"#000000");return{color:_.color,transparency:(1-_.alpha)*100,width:(S.width||1)/l.value,dashType:S.style?m[S.style]:"solid"}},R=S=>{const{type:_,target:M}=S;if(_==="web")return{url:M};if(_==="slide"){const w=t.value.findIndex(L=>L.id===M);if(w!==-1)return{slide:w+1}}return null},A=S=>{const _=/^data:image\/[^;]+;base64,/;return S.match(_)!==null};return{exporting:u,exportImage:c,exportJSON:d,exportSpecificFile:f,exportPPTX:(S,_,M)=>{var L,k,P,F,C,N,I,V,W,Z,re,Y,B,Q,K,q;u.value=!0;const w=new yGe;if(r.value===.625?w.layout="LAYOUT_16x10":r.value===.75?w.layout="LAYOUT_4x3":r.value===.70710678?(w.defineLayout({name:"A3",width:10,height:7.0710678}),w.layout="A3"):r.value===1.41421356?(w.defineLayout({name:"A3_V",width:10,height:14.1421356}),w.layout="A3_V"):w.layout="LAYOUT_16x9",_){const{color:j,alpha:de}=h(n.value.backgroundColor);w.defineSlideMaster({title:"PPTIST_MASTER",background:{color:j,transparency:(1-de)*100}})}for(const j of S){const de=w.addSlide();if(j.background){const G=j.background;if(G.type==="image"&&G.image)A(G.image.src)?de.background={data:G.image.src}:de.background={path:G.image.src};else if(G.type==="solid"&&G.color){const Ae=h(G.color);de.background={color:Ae.color,transparency:(1-Ae.alpha)*100}}else if(G.type==="gradient"&&G.gradient){const Ae=G.gradient.colors,ce=Ae[0].color,fe=Ae[Ae.length-1].color,le=at.mix(ce,fe).toHexString(),$=h(le);de.background={color:$.color,transparency:(1-$.alpha)*100}}}if(j.remark&&de.addNotes(j.remark),!!j.elements){for(const G of j.elements)if(G.type==="text"){const Ae=p(G.content),ce={x:G.left/s.value,y:G.top/s.value,w:G.width/s.value,h:G.height/s.value,fontSize:a/l.value,fontFace:"微软雅黑",color:"#000000",valign:"top",margin:10/l.value,paraSpaceBefore:5/l.value,lineSpacingMultiple:1.5/1.25,autoFit:!0};if(G.rotate&&(ce.rotate=G.rotate),G.wordSpace&&(ce.charSpacing=G.wordSpace/l.value),G.lineHeight&&(ce.lineSpacingMultiple=G.lineHeight/1.25),G.fill){const fe=h(G.fill),le=G.opacity===void 0?1:G.opacity;ce.fill={color:fe.color,transparency:(1-fe.alpha*le)*100}}G.defaultColor&&(ce.color=h(G.defaultColor).color),G.defaultFontName&&(ce.fontFace=G.defaultFontName),G.shadow&&(ce.shadow=g(G.shadow)),(L=G.outline)!=null&&L.width&&(ce.line=y(G.outline)),G.opacity!==void 0&&(ce.transparency=(1-G.opacity)*100),G.paragraphSpace!==void 0&&(ce.paraSpaceBefore=G.paragraphSpace/l.value),G.vertical&&(ce.vert="eaVert"),de.addText(Ae,ce)}else if(G.type==="image"){const Ae={x:G.left/s.value,y:G.top/s.value,w:G.width/s.value,h:G.height/s.value};if(A(G.src)?Ae.data=G.src:Ae.path=G.src,G.flipH&&(Ae.flipH=G.flipH),G.flipV&&(Ae.flipV=G.flipV),G.rotate&&(Ae.rotate=G.rotate),G.link){const ce=R(G.link);ce&&(Ae.hyperlink=ce)}if((k=G.filters)!=null&&k.opacity&&(Ae.transparency=100-parseInt((P=G.filters)==null?void 0:P.opacity)),G.clip){G.clip.shape==="ellipse"&&(Ae.rounding=!0);const[ce,fe]=G.clip.range,[le,$]=ce,[X,J]=fe,se=G.width/((X-le)/s.value),ee=G.height/((J-$)/s.value);Ae.w=se/s.value,Ae.h=ee/s.value,Ae.sizing={type:"crop",x:le/s.value*se/s.value,y:$/s.value*ee/s.value,w:(X-le)/s.value*se/s.value,h:(J-$)/s.value*ee/s.value}}de.addImage(Ae)}else if(G.type==="shape"){if(G.special){const Ae=document.querySelector(`.thumbnail-list .base-element-${G.id} svg`);if(Ae.clientWidth<1||Ae.clientHeight<1)continue;const fe={data:RB(Ae),x:G.left/s.value,y:G.top/s.value,w:G.width/s.value,h:G.height/s.value};if(G.rotate&&(fe.rotate=G.rotate),G.link){const le=R(G.link);le&&(fe.hyperlink=le)}de.addImage(fe)}else{const Ae={x:G.width/G.viewBox[0],y:G.height/G.viewBox[1]},ce=v(oX(G.path),Ae);let fe=h(G.fill);if(G.gradient){const X=G.gradient.colors,J=X[0].color,se=X[X.length-1].color,ee=at.mix(J,se).toHexString();fe=h(ee)}const le=G.opacity===void 0?1:G.opacity,$={x:G.left/s.value,y:G.top/s.value,w:G.width/s.value,h:G.height/s.value,fill:{color:fe.color,transparency:(1-fe.alpha*le)*100},points:ce};if(G.flipH&&($.flipH=G.flipH),G.flipV&&($.flipV=G.flipV),G.shadow&&($.shadow=g(G.shadow)),(F=G.outline)!=null&&F.width&&($.line=y(G.outline)),G.rotate&&($.rotate=G.rotate),G.link){const X=R(G.link);X&&($.hyperlink=X)}de.addShape("custGeom",$)}if(G.text){const Ae=p(G.text.content),ce={x:G.left/s.value,y:G.top/s.value,w:G.width/s.value,h:G.height/s.value,fontSize:a/l.value,fontFace:"微软雅黑",color:"#000000",paraSpaceBefore:5/l.value,valign:G.text.align};G.rotate&&(ce.rotate=G.rotate),G.text.defaultColor&&(ce.color=h(G.text.defaultColor).color),G.text.defaultFontName&&(ce.fontFace=G.text.defaultFontName),de.addText(Ae,ce)}}else if(G.type==="line"){const Ae=QO(G),ce=v(oX(Ae)),{minX:fe,maxX:le,minY:$,maxY:X}=hs(G),J=h(G.color),se={x:G.left/s.value,y:G.top/s.value,w:(le-fe)/s.value,h:(X-$)/s.value,line:{color:J.color,transparency:(1-J.alpha)*100,width:G.width/l.value,dashType:m[G.style],beginArrowType:G.points[0]?"arrow":"none",endArrowType:G.points[1]?"arrow":"none"},points:ce};G.shadow&&(se.shadow=g(G.shadow)),de.addShape("custGeom",se)}else if(G.type==="chart"){const Ae=[];for(let J=0;J<G.data.series.length;J++){const se=G.data.series[J];Ae.push({name:`系列${J+1}`,labels:G.data.labels,values:se})}let ce=[];if(G.themeColors.length===10)ce=G.themeColors.map(J=>h(J).color);else if(G.themeColors.length===1)ce=at(G.themeColors[0]).analogous(10).map(J=>h(J.toHexString()).color);else{const J=G.themeColors.length,se=at(G.themeColors[J-1]).analogous(11-J).map(ee=>ee.toHexString());ce=[...G.themeColors.slice(0,J-1),...se].map(ee=>h(ee).color)}const fe={x:G.left/s.value,y:G.top/s.value,w:G.width/s.value,h:G.height/s.value,chartColors:G.chartType==="pie"||G.chartType==="ring"?ce:ce.slice(0,G.data.series.length)},le=h(G.textColor||"#000000").color;fe.catAxisLabelColor=le,fe.valAxisLabelColor=le;const $=14/l.value;if(fe.catAxisLabelFontSize=$,fe.valAxisLabelFontSize=$,G.fill||G.outline){const J={};G.fill&&(J.fill={color:h(G.fill).color}),G.outline&&(J.border={pt:G.outline.width/l.value,color:h(G.outline.color).color}),fe.plotArea=J}(G.data.series.length>1&&G.chartType!=="scatter"||G.chartType==="pie"||G.chartType==="ring")&&(fe.showLegend=!0,fe.legendPos="b",fe.legendColor=le,fe.legendFontSize=$);let X=w.ChartType.bar;G.chartType==="bar"?(X=w.ChartType.bar,fe.barDir="col",(C=G.options)!=null&&C.stack&&(fe.barGrouping="stacked")):G.chartType==="column"?(X=w.ChartType.bar,fe.barDir="bar",(N=G.options)!=null&&N.stack&&(fe.barGrouping="stacked")):G.chartType==="line"?(X=w.ChartType.line,(I=G.options)!=null&&I.lineSmooth&&(fe.lineSmooth=!0)):G.chartType==="area"?X=w.ChartType.area:G.chartType==="radar"?X=w.ChartType.radar:G.chartType==="scatter"?(X=w.ChartType.scatter,fe.lineSize=0):G.chartType==="pie"?X=w.ChartType.pie:G.chartType==="ring"&&(X=w.ChartType.doughnut,fe.holeSize=60),de.addChart(X,Ae,fe)}else if(G.type==="table"){const Ae=[];for(let J=0;J<G.data.length;J++){const se=G.data[J];for(let ee=0;ee<se.length;ee++){const ne=se[ee];if(ne.colspan>1||ne.rowspan>1)for(let oe=J;oe<J+ne.rowspan;oe++)for(let he=oe===J?ee+1:ee;he<ee+ne.colspan;he++)Ae.push(`${oe}_${he}`)}}const ce=[],fe=G.theme;let le=null,$=[];fe&&(le=h(fe.color),$=XH(fe.color).map(J=>h(J)));for(let J=0;J<G.data.length;J++){const se=G.data[J],ee=[];for(let ne=0;ne<se.length;ne++){const oe=se[ne],he={colspan:oe.colspan,rowspan:oe.rowspan,bold:((V=oe.style)==null?void 0:V.bold)||!1,italic:((W=oe.style)==null?void 0:W.em)||!1,underline:{style:(Z=oe.style)!=null&&Z.underline?"sng":"none"},align:((re=oe.style)==null?void 0:re.align)||"left",valign:"middle",fontFace:((Y=oe.style)==null?void 0:Y.fontname)||"微软雅黑",fontSize:((B=oe.style)!=null&&B.fontsize?parseInt((Q=oe.style)==null?void 0:Q.fontsize):14)/l.value};if(fe&&le){let ue;J%2===0?ue=$[1]:ue=$[0],(fe.rowHeader&&J===0||fe.rowFooter&&J===G.data.length-1||fe.colHeader&&ne===0||fe.colFooter&&ne===se.length-1)&&(ue=le),he.fill={color:ue.color,transparency:(1-ue.alpha)*100}}if((K=oe.style)!=null&&K.backcolor){const ue=h(oe.style.backcolor);he.fill={color:ue.color,transparency:(1-ue.alpha)*100}}(q=oe.style)!=null&&q.color&&(he.color=h(oe.style.color).color),Ae.includes(`${J}_${ne}`)||ee.push({text:oe.text,options:he})}ee.length&&ce.push(ee)}const X={x:G.left/s.value,y:G.top/s.value,w:G.width/s.value,h:G.height/s.value,colW:G.colWidths.map(J=>G.width*J/s.value)};G.theme&&(X.fill={color:"#ffffff"}),G.outline.width&&G.outline.color&&(X.border={type:G.outline.style==="solid"?"solid":"dash",pt:G.outline.width/l.value,color:h(G.outline.color).color}),de.addTable(ce,X)}else if(G.type==="latex"){const Ae=document.querySelector(`.thumbnail-list .base-element-${G.id} svg`),fe={data:RB(Ae),x:G.left/s.value,y:G.top/s.value,w:G.width/s.value,h:G.height/s.value};if(G.link){const le=R(G.link);le&&(fe.hyperlink=le)}de.addImage(fe)}else if(!M&&(G.type==="video"||G.type==="audio")){const Ae={x:G.left/s.value,y:G.top/s.value,w:G.width/s.value,h:G.height/s.value,path:G.src,type:G.type};G.type==="video"&&G.poster&&(Ae.cover=G.poster);const ce=G.src.match(/\.([a-zA-Z0-9]+)(?:[\?#]|$)/);ce&&ce[1]?Ae.extn=ce[1]:G.ext&&(Ae.extn=G.ext);const fe=["avi","mp4","m4v","mov","wmv"],le=["mp3","m4a","mp4","wav","wma"];Ae.extn&&[...fe,...le].includes(Ae.extn)&&de.addMedia(Ae)}}}setTimeout(()=>{w.writeFile({fileName:`${i.value}.pptx`}).then(()=>u.value=!1).catch(()=>{u.value=!1,gn.error("导出失败")})},200)}}},g4=e=>(en("data-v-32b43d99"),e=e(),tn(),e),VGe={class:"export-img-dialog"},DGe={class:"thumbnails-view"},UGe={class:"configs"},BGe={class:"row"},YGe=g4(()=>D("div",{class:"title"},"导出格式:",-1)),ZGe={class:"row"},QGe=g4(()=>D("div",{class:"title"},"导出范围:",-1)),HGe={key:0,class:"row"},KGe=["data-range"],GGe={class:"row"},zGe=g4(()=>D("div",{class:"title"},"图片质量:",-1)),JGe={class:"row"},$Ge=g4(()=>D("div",{class:"title"},"忽略在线字体:",-1)),jGe={class:"config-item"},qGe={class:"btns"},eze=Xe({__name:"ExportImage",emits:["close"],setup(e,{emit:t}){const n=t,{slides:r,currentSlide:i}=De(lt()),o=pe(),a=pe("all"),s=pe([1,r.value.length]),l=pe("jpeg"),u=pe(1),c=pe(!0),f=Se(()=>a.value==="all"?r.value:a.value==="current"?[i.value]:r.value.filter((v,g)=>{const[m,y]=s.value;return g>=m-1&&g<=y-1})),{exportImage:d,exporting:h}=v4(),p=()=>{o.value&&d(o.value,l.value,u.value,c.value)};return(v,g)=>{const m=Pn("tooltip");return U(),te("div",VGe,[D("div",DGe,[D("div",{class:"thumbnails",ref_key:"imageThumbnailsRef",ref:o},[(U(!0),te(We,null,nt(f.value,y=>(U(),_e(dl,{class:"thumbnail",key:y.id,slide:y,size:1600},null,8,["slide"]))),128))],512)]),D("div",UGe,[D("div",BGe,[YGe,O(Au,{class:"config-item",value:l.value,"onUpdate:value":g[0]||(g[0]=y=>l.value=y)},{default:ie(()=>[O(zn,{style:{width:"50%"},value:"jpeg"},{default:ie(()=>[Ue("JPEG")]),_:1}),O(zn,{style:{width:"50%"},value:"png"},{default:ie(()=>[Ue("PNG")]),_:1})]),_:1},8,["value"])]),D("div",ZGe,[QGe,O(Au,{class:"config-item",value:a.value,"onUpdate:value":g[1]||(g[1]=y=>a.value=y)},{default:ie(()=>[O(zn,{style:{width:"33.33%"},value:"all"},{default:ie(()=>[Ue("全部")]),_:1}),O(zn,{style:{width:"33.33%"},value:"current"},{default:ie(()=>[Ue("当前页")]),_:1}),O(zn,{style:{width:"33.33%"},value:"custom"},{default:ie(()=>[Ue("自定义")]),_:1})]),_:1},8,["value"])]),a.value==="custom"?(U(),te("div",HGe,[D("div",{class:"title","data-range":`(${s.value[0]} ~ ${s.value[1]})`},"自定义范围:",8,KGe),O(Ki,{class:"config-item",range:"",min:1,max:z(r).length,step:1,value:s.value,"onUpdate:value":g[2]||(g[2]=y=>s.value=y)},null,8,["max","value"])])):Ye("",!0),D("div",GGe,[zGe,O(Ki,{class:"config-item",min:0,max:1,step:.1,value:u.value,"onUpdate:value":g[3]||(g[3]=y=>u.value=y)},null,8,["value"])]),D("div",JGe,[$Ge,D("div",jGe,[Ge(O(Cs,{value:c.value,"onUpdate:value":g[4]||(g[4]=y=>c.value=y)},null,8,["value"]),[[m,"导出时默认忽略在线字体,若您在幻灯片中使用了在线字体,且希望导出后保留相关样式,可选择关闭【忽略在线字体】选项,但要注意这将会增加导出用时。"]])])])]),D("div",qGe,[O(et,{class:"btn export",type:"primary",onClick:g[5]||(g[5]=y=>p())},{default:ie(()=>[Ue("导出图片")]),_:1}),O(et,{class:"btn close",onClick:g[6]||(g[6]=y=>n("close"))},{default:ie(()=>[Ue("关闭")]),_:1})]),O(ey,{loading:z(h),tip:"正在导出..."},null,8,["loading"])])}}}),tze=Be(eze,[["__scopeId","data-v-32b43d99"]]),nze={class:"export-json-dialog"},rze={class:"preview"},ize={class:"btns"},oze=Xe({__name:"ExportJSON",emits:["close"],setup(e,{emit:t}){const n=t,{slides:r,viewportRatio:i,title:o,viewportSize:a}=De(lt()),{exportJSON:s}=v4(),l=Se(()=>({title:o.value,width:a.value,height:a.value*i.value,slides:r.value}));return(u,c)=>(U(),te("div",nze,[D("div",rze,[D("pre",null,pt(l.value),1)]),D("div",ize,[O(et,{class:"btn export",type:"primary",onClick:c[0]||(c[0]=f=>z(s)())},{default:ie(()=>[Ue("导出 JSON")]),_:1}),O(et,{class:"btn close",onClick:c[1]||(c[1]=f=>n("close"))},{default:ie(()=>[Ue("关闭")]),_:1})])]))}}),aze=Be(oze,[["__scopeId","data-v-aaf5a228"]]),sze=()=>{const e=document.createElement("iframe");return e.style.width="0",e.style.height="0",e.style.position="absolute",e.style.right="0",e.style.top="0",e.style.border="0",document.body.appendChild(e),e},lze=(e,t,n)=>{const r="<!DOCTYPE html>";let i="";const o=document.styleSheets;if(o){for(const f of o)if(f.cssRules)for(const d of f.cssRules)i+=d.cssText}const{width:a,height:s,margin:l}=n,u=`
|
||
<head>
|
||
<style type="text/css">
|
||
${i}
|
||
html, body {
|
||
height: auto;
|
||
overflow: auto;
|
||
}
|
||
@media print {
|
||
@page {
|
||
size: ${a+2*l}px ${s+2*l}px;
|
||
margin: ${l}px;
|
||
}
|
||
}
|
||
</style>
|
||
</head>
|
||
`,c="<body>"+t.innerHTML+"</body>";e.open(),e.write(`
|
||
${r}
|
||
<html>
|
||
${u}
|
||
${c}
|
||
</html>
|
||
`),e.close()},uze=(e,t)=>{const n=sze(),r=n.contentWindow;if(!n.contentDocument||!r)return;lze(n.contentDocument,e,t);const i=()=>{r.focus(),r.print()},o=()=>{n.removeEventListener("load",i),r.removeEventListener("afterprint",o),document.body.removeChild(n)};n.addEventListener("load",i),r.addEventListener("afterprint",o)},m4=e=>(en("data-v-d3a30d69"),e=e(),tn(),e),cze={class:"export-pdf-dialog"},fze={class:"thumbnails-view"},dze={class:"configs"},hze={class:"row"},pze=m4(()=>D("div",{class:"title"},"导出范围:",-1)),vze={class:"row"},gze=m4(()=>D("div",{class:"title"},"每页数量:",-1)),mze={class:"row"},yze=m4(()=>D("div",{class:"title"},"边缘留白:",-1)),Aze={class:"config-item"},Rze=m4(()=>D("div",{class:"tip"}," 提示:若打印预览与实际样式不一致,请在弹出的打印窗口中勾选【背景图形】选项。 ",-1)),bze={class:"btns"},xze=Xe({__name:"ExportPDF",emits:["close"],setup(e,{emit:t}){const n=t,{slides:r,currentSlide:i,viewportRatio:o}=De(lt()),a=pe(),s=pe("all"),l=pe(1),u=pe(!0),c=()=>{if(!a.value)return;const f={width:1600,height:s.value==="all"?1600*o.value*l.value:1600*o.value,margin:u.value?50:0};uze(a.value,f)};return(f,d)=>(U(),te("div",cze,[D("div",fze,[D("div",{class:"thumbnails",ref_key:"pdfThumbnailsRef",ref:a},[s.value==="current"?(U(),_e(dl,{key:0,class:"thumbnail",slide:z(i),size:1600},null,8,["slide"])):(U(!0),te(We,{key:1},nt(z(r),(h,p)=>(U(),_e(dl,{class:ze(["thumbnail",{"break-page":(p+1)%l.value===0}]),key:h.id,slide:h,size:1600},null,8,["class","slide"]))),128))],512)]),D("div",dze,[D("div",hze,[pze,O(Au,{class:"config-item",value:s.value,"onUpdate:value":d[0]||(d[0]=h=>s.value=h)},{default:ie(()=>[O(zn,{style:{width:"50%"},value:"all"},{default:ie(()=>[Ue("全部")]),_:1}),O(zn,{style:{width:"50%"},value:"current"},{default:ie(()=>[Ue("当前页")]),_:1})]),_:1},8,["value"])]),D("div",vze,[gze,O(zr,{class:"config-item",value:l.value,"onUpdate:value":d[1]||(d[1]=h=>l.value=h),options:[{label:"1",value:1},{label:"2",value:2},{label:"3",value:3}]},null,8,["value"])]),D("div",mze,[yze,D("div",Aze,[O(Cs,{value:u.value,"onUpdate:value":d[2]||(d[2]=h=>u.value=h)},null,8,["value"])])]),Rze]),D("div",bze,[O(et,{class:"btn export",type:"primary",onClick:d[3]||(d[3]=h=>c())},{default:ie(()=>[Ue("打印 / 导出 PDF")]),_:1}),O(et,{class:"btn close",onClick:d[4]||(d[4]=h=>n("close"))},{default:ie(()=>[Ue("关闭")]),_:1})])]))}}),Sze=Be(xze,[["__scopeId","data-v-d3a30d69"]]),iC=e=>(en("data-v-254b6b07"),e=e(),tn(),e),wze={class:"export-pptx-dialog"},Mze={class:"configs"},Lze={class:"row"},Tze=iC(()=>D("div",{class:"title"},"导出范围:",-1)),_ze={key:0,class:"row"},Oze=["data-range"],kze={class:"row"},Pze=iC(()=>D("div",{class:"title"},"忽略音频/视频:",-1)),Cze={class:"config-item"},Ize={class:"row"},Nze=iC(()=>D("div",{class:"title"},"覆盖默认母版:",-1)),Fze={class:"config-item"},Eze={key:1,class:"tip"},Xze={class:"btns"},Wze=Xe({__name:"ExportPPTX",emits:["close"],setup(e,{emit:t}){const n=t,{slides:r,currentSlide:i}=De(lt()),{exportPPTX:o,exporting:a}=v4(),s=pe("all"),l=pe([1,r.value.length]),u=pe(!0),c=pe(!0),f=Se(()=>s.value==="all"?r.value:s.value==="current"?[i.value]:r.value.filter((d,h)=>{const[p,v]=l.value;return h>=p-1&&h<=v-1}));return(d,h)=>{const p=Pn("tooltip");return U(),te("div",wze,[D("div",Mze,[D("div",Lze,[Tze,O(Au,{class:"config-item",value:s.value,"onUpdate:value":h[0]||(h[0]=v=>s.value=v)},{default:ie(()=>[O(zn,{style:{width:"33.33%"},value:"all"},{default:ie(()=>[Ue("全部")]),_:1}),O(zn,{style:{width:"33.33%"},value:"current"},{default:ie(()=>[Ue("当前页")]),_:1}),O(zn,{style:{width:"33.33%"},value:"custom"},{default:ie(()=>[Ue("自定义")]),_:1})]),_:1},8,["value"])]),s.value==="custom"?(U(),te("div",_ze,[D("div",{class:"title","data-range":`(${l.value[0]} ~ ${l.value[1]})`},"自定义范围:",8,Oze),O(Ki,{class:"config-item",range:"",min:1,max:z(r).length,step:1,value:l.value,"onUpdate:value":h[1]||(h[1]=v=>l.value=v)},null,8,["max","value"])])):Ye("",!0),D("div",kze,[Pze,D("div",Cze,[Ge(O(Cs,{value:c.value,"onUpdate:value":h[2]||(h[2]=v=>c.value=v)},null,8,["value"]),[[p,"导出时默认忽略音视频,若您的幻灯片中存在音视频元素,且希望将其导出到PPTX文件中,可选择关闭【忽略音视频】选项,但要注意这将会大幅增加导出用时。"]])])]),D("div",Ize,[Nze,D("div",Fze,[O(Cs,{value:u.value,"onUpdate:value":h[3]||(h[3]=v=>u.value=v)},null,8,["value"])])]),c.value?Ye("",!0):(U(),te("div",Eze," 提示:1. 支持导出格式:avi、mp4、mov、wmv、mp3、wav;2. 跨域资源无法导出。 "))]),D("div",Xze,[O(et,{class:"btn export",type:"primary",onClick:h[4]||(h[4]=v=>z(o)(f.value,u.value,c.value))},{default:ie(()=>[Ue("导出 PPTX")]),_:1}),O(et,{class:"btn close",onClick:h[5]||(h[5]=v=>n("close"))},{default:ie(()=>[Ue("关闭")]),_:1})]),O(ey,{loading:z(a),tip:"正在导出..."},null,8,["loading"])])}}}),Vze=Be(Wze,[["__scopeId","data-v-254b6b07"]]),Fte=e=>(en("data-v-bc56c9db"),e=e(),tn(),e),Dze={class:"export-pptist-dialog"},Uze={class:"configs"},Bze={class:"row"},Yze=Fte(()=>D("div",{class:"title"},"导出范围:",-1)),Zze={key:0,class:"row"},Qze=["data-range"],Hze=Fte(()=>D("div",{class:"tip"}," 提示:.pptist 是本应用的特有文件后缀,支持将该类型的文件导入回应用中。 ",-1)),Kze={class:"btns"},Gze=Xe({__name:"ExportSpecificFile",emits:["close"],setup(e,{emit:t}){const n=t,{slides:r,currentSlide:i}=De(lt()),{exportSpecificFile:o}=v4(),a=pe("all"),s=pe([1,r.value.length]),l=Se(()=>a.value==="all"?r.value:a.value==="current"?[i.value]:r.value.filter((u,c)=>{const[f,d]=s.value;return c>=f-1&&c<=d-1}));return(u,c)=>(U(),te("div",Dze,[D("div",Uze,[D("div",Bze,[Yze,O(Au,{class:"config-item",value:a.value,"onUpdate:value":c[0]||(c[0]=f=>a.value=f)},{default:ie(()=>[O(zn,{style:{width:"33.33%"},value:"all"},{default:ie(()=>[Ue("全部")]),_:1}),O(zn,{style:{width:"33.33%"},value:"current"},{default:ie(()=>[Ue("当前页")]),_:1}),O(zn,{style:{width:"33.33%"},value:"custom"},{default:ie(()=>[Ue("自定义")]),_:1})]),_:1},8,["value"])]),a.value==="custom"?(U(),te("div",Zze,[D("div",{class:"title","data-range":`(${s.value[0]} ~ ${s.value[1]})`},"自定义范围:",8,Qze),O(Ki,{class:"config-item",range:"",min:1,max:z(r).length,step:1,value:s.value,"onUpdate:value":c[1]||(c[1]=f=>s.value=f)},null,8,["max","value"])])):Ye("",!0),Hze]),D("div",Kze,[O(et,{class:"btn export",type:"primary",onClick:c[2]||(c[2]=f=>z(o)(l.value))},{default:ie(()=>[Ue("导出 .pptist 文件")]),_:1}),O(et,{class:"btn close",onClick:c[3]||(c[3]=f=>n("close"))},{default:ie(()=>[Ue("关闭")]),_:1})])]))}}),zze=Be(Gze,[["__scopeId","data-v-bc56c9db"]]),Jze={class:"export-dialog"},$ze={class:"content"},jze=Xe({__name:"index",setup(e){const t=ht(),{dialogForExport:n}=De(t),r=t.setDialogForExport,i=[{key:"pptist",label:"导出 pptist 文件"},{key:"pptx",label:"导出 PPTX"},{key:"image",label:"导出图片"},{key:"json",label:"导出 JSON"},{key:"pdf",label:"打印 / 导出 PDF"}],o=Se(()=>{const a={image:tze,json:aze,pdf:Sze,pptx:Vze,pptist:zze};return n.value&&a[n.value]||null});return(a,s)=>(U(),te("div",Jze,[O(hl,{tabs:i,value:z(n),card:"","onUpdate:value":s[0]||(s[0]=l=>z(r)(l))},null,8,["value"]),D("div",$ze,[(U(),_e(Ru(o.value),{onClose:s[1]||(s[1]=l=>z(r)(""))},null,32))])]))}}),qze=Be(jze,[["__scopeId","data-v-b54f4542"]]),eJe=()=>{const e=lt(),t=ht(),{currentSlide:n}=De(e),{activeElementIdList:r,hiddenElementIdList:i}=De(t);return{toggleHideElement:l=>{i.value.includes(l)?t.setHiddenElementIdList(i.value.filter(u=>u!==l)):t.setHiddenElementIdList([...i.value,l]),r.value.includes(l)&&t.setActiveElementIdList([])},showAllElements:()=>{const l=n.value.elements.map(c=>c.id),u=i.value.filter(c=>!l.includes(c));t.setHiddenElementIdList(u)},hideAllElements:()=>{const l=n.value.elements.map(u=>u.id);t.setHiddenElementIdList([...i.value,...l]),r.value.length&&t.setActiveElementIdList([])}}},tJe={class:"title"},nJe={class:"content"},rJe=Xe({__name:"MoveablePanel",props:{width:{},height:{},minWidth:{default:20},minHeight:{default:20},maxWidth:{default:500},maxHeight:{default:500},left:{default:10},top:{default:10},title:{default:""},moveable:{type:Boolean,default:!0},resizeable:{type:Boolean,default:!1}},emits:["close"],setup(e,{emit:t}){const n=e,r=t,i=pe(0),o=pe(0),a=pe(0),s=pe(0),l=pe(),u=Se(()=>{var d;return s.value?s.value:((d=l.value)==null?void 0:d.clientHeight)||0});Ht(()=>{n.left>=0?i.value=n.left:i.value=document.body.clientWidth+n.left-n.width,n.top>=0?o.value=n.top:o.value=document.body.clientHeight+n.top-u.value,a.value=n.width,s.value=n.height});const c=d=>{if(!n.moveable)return;let h=!0;const p=document.body.clientWidth,v=document.body.clientHeight,g=d.pageX,m=d.pageY,y=i.value,R=o.value;document.onmousemove=A=>{if(!h)return;const x=A.pageX-g,S=A.pageY-m;let _=y+x,M=R+S;_<0&&(_=0),M<0&&(M=0),_+a.value>p&&(_=p-a.value),M+u.value>v&&(M=v-u.value),i.value=_,o.value=M},document.onmouseup=()=>{h=!1,document.onmousemove=null,document.onmouseup=null}},f=d=>{if(!n.resizeable)return;let h=!0;const p=d.pageX,v=d.pageY,g=a.value,m=s.value;document.onmousemove=y=>{if(!h)return;const R=y.pageX-p,A=y.pageY-v;let x=g+R,S=m+A;x<n.minWidth&&(x=n.minWidth),S<n.minHeight&&(S=n.minHeight),x>n.maxWidth&&(x=n.maxWidth),S>n.maxHeight&&(S=n.maxHeight),a.value=x,s.value=S},document.onmouseup=()=>{h=!1,document.onmousemove=null,document.onmouseup=null}};return(d,h)=>{const p=xe("IconClose");return U(),te("div",{class:"moveable-panel",ref_key:"moveablePanelRef",ref:l,style:Le({width:a.value+"px",height:s.value?s.value+"px":"auto",left:i.value+"px",top:o.value+"px"})},[d.title?(U(),te(We,{key:0},[D("div",{class:"header",onMousedown:h[1]||(h[1]=v=>c(v))},[D("div",tJe,pt(d.title),1),D("div",{class:"close-btn",onClick:h[0]||(h[0]=v=>r("close"))},[O(p)])],32),D("div",nJe,[ar(d.$slots,"default",{},void 0,!0)])],64)):(U(),te("div",{key:1,class:"content",onMousedown:h[2]||(h[2]=v=>c(v))},[ar(d.$slots,"default",{},void 0,!0)],32)),d.resizeable?(U(),te("div",{key:2,class:"resizer",onMousedown:h[3]||(h[3]=v=>f(v))},null,32)):Ye("",!0)],4)}}}),o1=Be(rJe,[["__scopeId","data-v-3fb89101"]]),iJe=e=>(en("data-v-d562651b"),e=e(),tn(),e),oJe={key:0,class:"handler"},aJe={class:"btns"},sJe={key:0,class:"icon-btns"},lJe={class:"element-list"},uJe={key:0,class:"group-els"},cJe=iJe(()=>D("div",{class:"group-title"},"组合",-1)),fJe=["onClick","onDblclick"],dJe=["id","value","onBlur","onKeydown"],hJe={key:1,class:"name"},pJe={class:"icons"},vJe=["onClick","onDblclick"],gJe=["id","value","onBlur","onKeydown"],mJe={key:1,class:"name"},yJe={class:"icons"},AJe=Xe({__name:"SelectPanel",setup(e){const t=lt(),n=ht(),{currentSlide:r}=De(t),{handleElement:i,handleElementId:o,activeElementIdList:a,activeGroupElementId:s,hiddenElementIdList:l}=De(n),{orderElement:u}=K2(),{selectElement:c}=i3(),{toggleHideElement:f,showAllElements:d,hideAllElements:h}=eJe(),p=Se(()=>{const A=[];for(const x of r.value.elements)if(x.groupId){const S=A[A.length-1];S&&S.type==="group"&&S.id&&S.id===x.groupId?S.elements.push(x):A.push({type:"group",id:x.groupId,elements:[x]})}else A.push(x);return A}),v=(A,x)=>{if(o.value===x||l.value.includes(x))return;const S=A.elements.map(_=>_.id);n.setActiveElementIdList(S),n.setHandleElementId(x),Ir(()=>n.setActiveGroupElementId(x))},g=pe(""),m=(A,x)=>{const S=A.target.value;t.updateElement({id:x,props:{name:S}}),g.value=""},y=A=>{g.value=A,Ir(()=>{document.querySelector(`#select-panel-input-${A}`).focus()})},R=()=>{n.setSelectPanelState(!1)};return(A,x)=>{const S=xe("IconDown"),_=xe("IconUp"),M=xe("IconPreviewClose"),w=xe("IconPreviewOpen");return U(),_e(o1,{class:"select-panel",width:200,height:360,title:`选择(${z(a).length}/${z(r).elements.length})`,left:-270,top:90,onClose:x[4]||(x[4]=L=>R())},{default:ie(()=>[p.value.length?(U(),te("div",oJe,[D("div",aJe,[O(et,{size:"small",style:{"margin-right":"5px"},onClick:x[0]||(x[0]=L=>z(d)())},{default:ie(()=>[Ue("全部显示")]),_:1}),O(et,{size:"small",onClick:x[1]||(x[1]=L=>z(h)())},{default:ie(()=>[Ue("全部隐藏")]),_:1})]),z(i)?(U(),te("div",sJe,[O(S,{class:"icon-btn",onClick:x[2]||(x[2]=L=>z(u)(z(i),z(Wr).UP))}),O(_,{class:"icon-btn",onClick:x[3]||(x[3]=L=>z(u)(z(i),z(Wr).DOWN))})])):Ye("",!0)])):Ye("",!0),D("div",lJe,[(U(!0),te(We,null,nt(p.value,L=>(U(),te(We,{key:L.id},[L.type==="group"?(U(),te("div",uJe,[cJe,(U(!0),te(We,null,nt(L.elements,k=>(U(),te("div",{class:ze(["item",{active:z(a).includes(k.id),"group-active":z(s).includes(k.id)}]),key:k.id,onClick:P=>v(L,k.id),onDblclick:P=>y(k.id)},[g.value===k.id?(U(),te("input",{key:0,id:`select-panel-input-${k.id}`,value:k.name||z(Mg)[k.type],class:"input",type:"text",onBlur:P=>m(P,k.id),onKeydown:du(P=>m(P,k.id),["enter"])},null,40,dJe)):(U(),te("div",hJe,pt(k.name||z(Mg)[k.type]),1)),D("div",pJe,[z(l).includes(k.id)?(U(),_e(M,{key:0,style:{"font-size":"17px"},onClick:Ft(P=>z(f)(k.id),["stop"])},null,8,["onClick"])):(U(),_e(w,{key:1,style:{"font-size":"17px"},onClick:Ft(P=>z(f)(k.id),["stop"])},null,8,["onClick"]))])],42,fJe))),128))])):(U(),te("div",{key:1,class:ze(["item",{active:z(a).includes(L.id)}]),onClick:k=>z(c)(L.id),onDblclick:k=>y(L.id)},[g.value===L.id?(U(),te("input",{key:0,id:`select-panel-input-${L.id}`,value:L.name||z(Mg)[L.type],class:"input",type:"text",onBlur:k=>m(k,L.id),onKeydown:du(k=>m(k,L.id),["enter"])},null,40,gJe)):(U(),te("div",mJe,pt(L.name||z(Mg)[L.type]),1)),D("div",yJe,[z(l).includes(L.id)?(U(),_e(M,{key:0,style:{"font-size":"17px"},onClick:Ft(k=>z(f)(L.id),["stop"])},null,8,["onClick"])):(U(),_e(w,{key:1,style:{"font-size":"17px"},onClick:Ft(k=>z(f)(L.id),["stop"])},null,8,["onClick"]))])],42,vJe))],64))),128))])]),_:1},8,["title"])}}}),RJe=Be(AJe,[["__scopeId","data-v-d562651b"]]),bJe=()=>{const e=ht(),t=lt(),{handleElement:n}=De(e),{slides:r,slideIndex:i,currentSlide:o}=De(t),a=pe(""),s=pe(""),l=pe([]),u=pe(-1),c=pe("g"),f=()=>{const k=[],P=new RegExp(a.value,c.value),F=/(<([^>]+)>)/g;for(const C of r.value)for(const N of C.elements)if(N.type==="text"){const V=N.content.replace(F,"").match(P);V&&k.push(...new Array(V.length).fill({slideId:C.id,elId:N.id,elType:N.type}))}else if(N.type==="shape"&&N.text&&N.text.content){const V=N.text.content.replace(F,"").match(P);V&&k.push(...new Array(V.length).fill({slideId:C.id,elId:N.id,elType:N.type}))}else if(N.type==="table")for(let I=0;I<N.data.length;I++){const V=N.data[I];for(let W=0;W<V.length;W++){const Z=V[W];if(!Z.text)continue;const Y=Z.text.replace(F,"").match(P);Y&&k.push(...new Array(Y.length).fill({slideId:C.id,elId:N.id,elType:N.type,cellIndex:[I,W]}))}}k.length?(l.value=k,u.value=0,y()):(gn.warning("未查找到匹配项"),m())},d=k=>{const P=[...k.childNodes],F=[];for(;P.length;){const C=P.shift();C.nodeType===C.TEXT_NODE?C.wholeText&&F.push(C):P.unshift(...C.childNodes)}return F},h=k=>{let P=0;return k.map(C=>{const N=P,I=P+C.wholeText.length;return P=I,{text:C.wholeText,startIdx:N,endIdx:I}})},p=(k,P)=>{const F=new RegExp(P,c.value),C=[];let N=F.exec(k);for(;N;)C.push(N),N=F.exec(k);return C},v=(k,P,F,C)=>{for(let N=F.length-1;N>=0;N--){const I=F[N],V=I.index,W=V+I[0].length;for(let Z=0;Z<P.length;Z++){const{text:re,startIdx:Y,endIdx:B}=P[Z];if(B<V)continue;if(Y>=W)break;let Q=k[Z];const K=Math.max(0,V-Y),q=Math.min(B,W)-Y-K;K>0&&(Q=Q.splitText(K)),q<Q.wholeText.length&&Q.splitText(q);const j=document.createElement("mark");j.dataset.index=C+N+"",j.innerText=re.substring(K,K+q),Q.parentNode.replaceChild(j,Q)}}},g=(k,P)=>{for(const F of k)F.innerHTML=F.innerHTML.replace(new RegExp(a.value,c.value),()=>`<mark data-index=${P++}>${a.value}</mark>`)},m=()=>{const k=document.querySelectorAll(".editable-element mark");for(const P of k)setTimeout(()=>{const F=P.parentNode,C=P.textContent;F.replaceChild(document.createTextNode(C),P)},0)},y=()=>{m(),setTimeout(()=>{for(let k=0;k<l.value.length;k++){const P=l.value[k-1],F=l.value[k];if(F.slideId!==o.value.id||P&&P.elId===F.elId)continue;const C=document.querySelector(`#editable-element-${F.elId}`);if(C)if(F.elType==="table"){const N=C.querySelectorAll(".cell-text");g(N,k)}else{const N=d(C),I=h(N),V=I.map(({text:Z})=>Z).join(""),W=p(V,a.value);v(N,I,W,k)}}},0)},R=()=>{const k=document.querySelectorAll("mark[data-index]");for(const P of k)setTimeout(()=>{const F=P.dataset.index;F!==void 0&&+F===u.value?P.classList.add("active"):P.classList.remove("active")},0)},A=()=>{if(u.value===-1)return;const k=l.value[u.value];if(k.slideId===o.value.id)setTimeout(R,0);else{const P=r.value.findIndex(F=>F.id===k.slideId);P!==-1&&t.updateSlideIndex(P)}},x=()=>{if(!a.value)return gn.warning("请先输入查找内容");e.setActiveElementIdList([]),u.value===-1?f():u.value<l.value.length-1?u.value+=1:u.value=0,A()},S=()=>{if(!a.value)return gn.warning("请先输入查找内容");e.setActiveElementIdList([]),u.value===-1?f():u.value>0?u.value-=1:u.value=l.value.length-1,A()},_=()=>{if(!a.value)return;if(u.value===-1){x();return}const k=l.value[u.value];let P=null;if(k.elType==="table"){const[I,V]=k.cellIndex;P=document.querySelector(`#editable-element-${k.elId} .cell[data-cell-index="${I}_${V}"] .cell-text`)}else P=document.querySelector(`#editable-element-${k.elId} .ProseMirror`);if(!P)return;const F=document.createElement("div");F.innerHTML=P.innerHTML;let C=!1;const N=F.querySelectorAll("mark[data-index]");for(const I of N){const V=I.parentNode;if(I.classList.contains("active"))C?V.removeChild(I):(V.replaceChild(document.createTextNode(s.value),I),C=!0);else{const W=I.textContent;V.replaceChild(document.createTextNode(W),I)}}if(k.elType==="text"){const I={content:F.innerHTML};t.updateElement({id:k.elId,props:I})}else if(k.elType==="shape"){const I=o.value.elements.find(V=>V.id===k.elId);if(I&&I.type==="shape"&&I.text){const V={text:{...I.text,content:F.innerHTML}};t.updateElement({id:k.elId,props:V})}}else if(k.elType==="table"){const I=o.value.elements.find(V=>V.id===k.elId);if(I&&I.type==="table"){const W={data:I.data.map((Z,re)=>re===k.cellIndex[0]?Z.map((Y,B)=>B===k.cellIndex[1]?{...Y,text:F.innerHTML}:Y):Z)};t.updateElement({id:k.elId,props:W})}}l.value.splice(u.value,1),l.value.length?(u.value>l.value.length-1&&(u.value=0),Ir(()=>{y(),A()})):u.value=-1},M=()=>{var k;if(a.value){if(u.value===-1){x();return}for(let P=0;P<l.value.length;P++){const F=l.value[P-1],C=l.value[P];if(F&&F.elId===C.elId)continue;const N=r.value.find(W=>W.id===C.slideId);if(!N)continue;const I=N.elements.find(W=>W.id===C.elId);if(!I)continue;const V=document.createElement("div");if(I.type==="text"?V.innerHTML=I.content:I.type==="shape"&&(V.innerHTML=((k=I.text)==null?void 0:k.content)||""),C.elType==="table"){const Z={data:I.data.map(re=>re.map(Y=>Y.text?{...Y,text:Y.text.replace(new RegExp(a.value,"g"),s.value)}:Y))};t.updateElement({id:C.elId,slideId:C.slideId,props:Z})}else{const W=d(V),Z=h(W),re=Z.map(({text:K})=>K).join(""),Y=p(re,a.value);v(W,Z,Y,P);const B=V.querySelectorAll("mark[data-index]");let Q=-1;for(const K of B){const q=+K.dataset.index,j=K.parentNode;q===Q?j.removeChild(K):(j.replaceChild(document.createTextNode(s.value),K),Q=q)}if(C.elType==="text"){const K={content:V.innerHTML};t.updateElement({id:C.elId,slideId:C.slideId,props:K})}else if(C.elType==="shape"){const K=o.value.elements.find(q=>q.id===C.elId);if(K&&K.type==="shape"&&K.text){const q={text:{...K.text,content:V.innerHTML}};t.updateElement({id:C.elId,slideId:C.slideId,props:q})}}}}l.value=[],u.value=-1}},w=()=>{u.value=-1,l.value=[],a.value||m()};return _t(a,w),_t(i,()=>{Ir(()=>{y(),setTimeout(R,0)})}),_t(n,()=>{n.value&&(u.value=-1,l.value=[],m())}),o0(m),{searchWord:a,replaceWord:s,searchResults:l,searchIndex:u,modifiers:c,searchNext:x,searchPrev:S,replace:_,replaceAll:M,toggleModifiers:()=>{c.value=c.value==="g"?"gi":"g",w()}}},xJe={class:"count"},SJe={key:1,class:"footer"},wJe=Xe({__name:"SearchPanel",setup(e){const t=ht(),{searchWord:n,replaceWord:r,searchResults:i,searchIndex:o,modifiers:a,searchNext:s,searchPrev:l,replace:u,replaceAll:c,toggleModifiers:f}=bJe(),d=pe("search"),h=[{key:"search",label:"查找"},{key:"replace",label:"替换"}],p=()=>{t.setSearchPanelState(!1)},v=pe();return Ht(()=>{v.value.focus()}),_t(d,()=>{Ir(()=>{v.value.focus()})}),(g,m)=>{const y=xe("IconClose"),R=xe("IconLeft"),A=xe("IconRight"),x=Pn("tooltip");return U(),_e(o1,{class:"search-panel",width:330,height:0,left:-270,top:90},{default:ie(()=>[D("div",{class:"close-btn",onClick:m[0]||(m[0]=S=>p()),onMousedown:m[1]||(m[1]=Ft(()=>{},["stop"]))},[O(y)],32),O(hl,{tabs:h,value:d.value,"onUpdate:value":m[2]||(m[2]=S=>d.value=S)},null,8,["value"]),D("div",{class:ze(["content",d.value]),onMousedown:m[12]||(m[12]=Ft(()=>{},["stop"]))},[O(fc,{class:"input",value:z(n),"onUpdate:value":m[6]||(m[6]=S=>Cr(n)?n.value=S:null),placeholder:"输入查找内容",onEnter:m[7]||(m[7]=S=>z(s)()),ref_key:"searchInpRef",ref:v},{suffix:ie(()=>[D("span",xJe,pt(z(o)+1)+"/"+pt(z(i).length),1),O(Zt,{type:"vertical"}),Ge((U(),te("span",{class:ze(["ignore-case",{active:z(a)==="g"}]),onClick:m[3]||(m[3]=S=>z(f)())},[Ue("Aa")],2)),[[x,"忽略大小写"]]),O(Zt,{type:"vertical"}),Ge(O(R,{class:"next-btn left",onClick:m[4]||(m[4]=S=>z(l)())},null,512),[[x,"上一个"]]),Ge(O(A,{class:"next-btn right",onClick:m[5]||(m[5]=S=>z(s)())},null,512),[[x,"下一个"]])]),_:1},8,["value"]),d.value==="replace"?(U(),_e(fc,{key:0,class:"input",value:z(r),"onUpdate:value":m[8]||(m[8]=S=>Cr(r)?r.value=S:null),placeholder:"输入替换内容",onEnter:m[9]||(m[9]=S=>z(u)())},null,8,["value"])):Ye("",!0),d.value==="replace"?(U(),te("div",SJe,[O(et,{disabled:!z(n),style:{"margin-left":"5px"},onClick:m[10]||(m[10]=S=>z(u)())},{default:ie(()=>[Ue("替换")]),_:1},8,["disabled"]),O(et,{disabled:!z(n),type:"primary",style:{"margin-left":"5px"},onClick:m[11]||(m[11]=S=>z(c)())},{default:ie(()=>[Ue("全部替换")]),_:1},8,["disabled"])])):Ye("",!0)],34)]),_:1})}}}),MJe=Be(wJe,[["__scopeId","data-v-c6ed3d92"]]),LJe={class:"container"},TJe=["onClick"],_Je={class:"header note-header"},OJe={class:"user"},kJe={class:"avatar"},PJe={class:"user-info"},CJe={class:"username"},IJe={class:"time"},NJe={class:"btns"},FJe=["onClick"],EJe=["onClick"],XJe={class:"content"},WJe={key:0,class:"replies"},VJe={class:"header reply-header"},DJe={class:"user"},UJe={class:"avatar"},BJe={class:"user-info"},YJe={class:"username"},ZJe={class:"time"},QJe={class:"btns"},HJe=["onClick"],KJe={class:"content"},GJe={key:1,class:"note-reply"},zJe={class:"reply-btns"},JJe={key:0,class:"empty"},$Je={class:"send"},jJe={class:"footer"},qJe=Xe({__name:"NotesPanel",setup(e){const t=lt(),n=ht(),{slideIndex:r,currentSlide:i}=De(t),{handleElementId:o}=De(n),a=pe(""),s=pe(""),l=Se(()=>{var x;return((x=i.value)==null?void 0:x.notes)||[]}),u=pe(""),c=pe(""),f=pe(),d=pe();_t(r,()=>{u.value="",c.value=""});const h=()=>{d.value&&(d.value.scrollTop=d.value.scrollHeight)},p=()=>{if(!a.value){f.value&&f.value.focus();return}const x={id:on(),content:a.value,time:new Date().getTime(),user:"测试用户"};o.value&&(x.elId=o.value);const S=[...l.value,x];t.updateSlide({notes:S}),a.value="",Ir(h)},v=x=>{const S=l.value.filter(_=>_.id!==x);t.updateSlide({notes:S})},g=()=>{if(!s.value)return;const x=l.value.find(w=>w.id===c.value);if(!x)return;const S=[...x.replies||[],{id:on(),content:s.value,time:new Date().getTime(),user:"测试用户"}],_={...x,replies:S},M=l.value.map(w=>w.id===c.value?_:w);t.updateSlide({notes:M}),s.value="",c.value="",Ir(h)},m=(x,S)=>{const _=l.value.find(k=>k.id===x);if(!_||!_.replies)return;const M=_.replies.filter(k=>k.id!==S),w={..._,replies:M},L=l.value.map(k=>k.id===x?w:k);t.updateSlide({notes:L})},y=x=>{u.value=x.id,x.elId?i.value.elements.map(_=>_.id).includes(x.elId)?n.setActiveElementIdList([x.elId]):n.setActiveElementIdList([]):n.setActiveElementIdList([])},R=()=>{t.updateSlide({notes:[]})},A=()=>{n.setNotesPanelState(!1)};return(x,S)=>{const _=xe("IconUser"),M=xe("IconDelete"),w=Pn("tooltip");return U(),_e(o1,{class:"notes-panel",width:300,height:560,title:`幻灯片${z(r)+1}的批注`,left:-270,top:90,minWidth:300,minHeight:400,maxWidth:480,maxHeight:780,resizeable:"",onClose:S[9]||(S[9]=L=>A())},{default:ie(()=>[D("div",LJe,[D("div",{class:"notes",ref_key:"notesRef",ref:d},[(U(!0),te(We,null,nt(l.value,L=>{var k;return U(),te("div",{class:ze(["note",{active:u.value===L.id}]),key:L.id,onClick:P=>y(L)},[D("div",_Je,[D("div",OJe,[D("div",kJe,[O(_)]),D("div",PJe,[D("div",CJe,pt(L.user),1),D("div",IJe,pt(new Date(L.time).toLocaleString()),1)])]),D("div",NJe,[D("div",{class:"btn reply",onClick:P=>c.value=L.id},"回复",8,FJe),D("div",{class:"btn delete",onClick:Ft(P=>v(L.id),["stop"])},"删除",8,EJe)])]),D("div",XJe,pt(L.content),1),(k=L.replies)!=null&&k.length?(U(),te("div",WJe,[(U(!0),te(We,null,nt(L.replies,P=>(U(),te("div",{class:"reply-item",key:P.id},[D("div",VJe,[D("div",DJe,[D("div",UJe,[O(_)]),D("div",BJe,[D("div",YJe,pt(P.user),1),D("div",ZJe,pt(new Date(P.time).toLocaleString()),1)])]),D("div",QJe,[D("div",{class:"btn delete",onClick:Ft(F=>m(L.id,P.id),["stop"])},"删除",8,HJe)])]),D("div",KJe,pt(P.content),1)]))),128))])):Ye("",!0),c.value===L.id?(U(),te("div",GJe,[O(M_,{padding:6,value:s.value,"onUpdate:value":S[0]||(S[0]=P=>s.value=P),placeholder:"输入回复内容",rows:1,onEnter:S[1]||(S[1]=Ft(P=>g(),["prevent"]))},null,8,["value"]),D("div",zJe,[O(et,{class:"btn",size:"small",onClick:S[2]||(S[2]=P=>c.value="")},{default:ie(()=>[Ue("取消")]),_:1}),O(et,{class:"btn",size:"small",type:"primary",onClick:S[3]||(S[3]=P=>g())},{default:ie(()=>[Ue("回复")]),_:1})])])):Ye("",!0)],10,TJe)}),128)),l.value.length?Ye("",!0):(U(),te("div",JJe,"本页暂无批注"))],512),D("div",$Je,[O(M_,{ref_key:"textAreaRef",ref:f,value:a.value,"onUpdate:value":S[4]||(S[4]=L=>a.value=L),padding:6,placeholder:`输入批注(为${z(o)?"选中元素":"当前页幻灯片"})`,rows:2,onFocus:S[5]||(S[5]=L=>{c.value="",u.value=""}),onEnter:S[6]||(S[6]=Ft(L=>p(),["prevent"]))},null,8,["value","placeholder"]),D("div",jJe,[Ge(O(M,{class:"btn icon",style:{flex:"1"},onClick:S[7]||(S[7]=L=>R())},null,512),[[w,"清空本页批注"]]),O(et,{type:"primary",class:"btn",style:{flex:"12"},onClick:S[8]||(S[8]=L=>p())},{default:ie(()=>[Ue("添加批注")]),_:1})])])])]),_:1},8,["title"])}}}),e$e=Be(qJe,[["__scopeId","data-v-d22b7a23"]]),oC=e=>(en("data-v-39f8fcb9"),e=e(),tn(),e),t$e={class:"container"},n$e={class:"row"},r$e=oC(()=>D("div",{style:{width:"40%"}},"当前页面类型:",-1)),i$e={key:0,class:"row"},o$e=oC(()=>D("div",{style:{width:"40%"}},"当前文本类型:",-1)),a$e={key:1,class:"row"},s$e=oC(()=>D("div",{style:{width:"40%"}},"当前图片类型:",-1)),l$e={key:2,class:"placeholder"},u$e=Xe({__name:"MarkupPanel",setup(e){const t=lt(),n=ht(),{currentSlide:r}=De(t),{handleElement:i,handleElementId:o}=De(n),a=pe([{label:"未标记类型",value:""},{label:"封面页",value:"cover"},{label:"目录页",value:"contents"},{label:"过渡页",value:"transition"},{label:"内容页",value:"content"},{label:"结束页",value:"end"}]),s=pe([{label:"未标记类型",value:""},{label:"标题",value:"title"},{label:"副标题",value:"subtitle"},{label:"正文",value:"content"},{label:"列表项目",value:"item"},{label:"列表项标题",value:"itemTitle"},{label:"注释",value:"notes"},{label:"页眉",value:"header"},{label:"页脚",value:"footer"},{label:"节编号",value:"partNumber"},{label:"项目编号",value:"itemNumber"}]),l=pe([{label:"未标记类型",value:""},{label:"页面插图",value:"pageFigure"},{label:"项目插图",value:"itemFigure"},{label:"背景图",value:"background"}]),u=Se(()=>{var v;return((v=r.value)==null?void 0:v.type)||""}),c=Se(()=>i.value?i.value.type==="text"?i.value.textType||"":i.value.type==="shape"&&i.value.text&&i.value.text.type||"":""),f=Se(()=>i.value&&i.value.type==="image"&&i.value.imageType||""),d=v=>{v?t.updateSlide({type:v}):t.removeSlideProps({id:r.value.id,propName:"type"})},h=v=>{if(i.value&&(i.value.type==="image"&&(v?t.updateElement({id:o.value,props:{imageType:v}}):t.removeElementProps({id:o.value,propName:"imageType"})),i.value.type==="text"&&(v?t.updateElement({id:o.value,props:{textType:v}}):t.removeElementProps({id:o.value,propName:"textType"})),i.value.type==="shape")){const g=i.value.text;if(!g)return;v?t.updateElement({id:o.value,props:{text:{...g,type:v}}}):(delete g.type,t.updateElement({id:o.value,props:{text:g}}))}},p=()=>{n.setMarkupPanelState(!1)};return(v,g)=>(U(),_e(o1,{class:"notes-panel",width:300,height:130,title:"幻灯片类型标注",left:-270,top:90,onClose:g[3]||(g[3]=m=>p())},{default:ie(()=>[D("div",t$e,[D("div",n$e,[r$e,O(zr,{style:{width:"60%"},value:u.value,"onUpdate:value":g[0]||(g[0]=m=>d(m)),options:a.value},null,8,["value","options"])]),z(i)&&(z(i).type==="text"||z(i).type==="shape"&&z(i).text)?(U(),te("div",i$e,[o$e,O(zr,{style:{width:"60%"},value:c.value,"onUpdate:value":g[1]||(g[1]=m=>h(m)),options:s.value},null,8,["value","options"])])):z(i)&&z(i).type==="image"?(U(),te("div",a$e,[s$e,O(zr,{style:{width:"60%"},value:f.value,"onUpdate:value":g[2]||(g[2]=m=>h(m)),options:l.value},null,8,["value","options"])])):(U(),te("div",l$e,"选中图片、文字、带文字的形状,标记类型"))])]),_:1}))}}),c$e=Be(u$e,[["__scopeId","data-v-39f8fcb9"]]),f$e=()=>{const e=lt(),{addSlidesFromData:t}=Q2(),{isEmptySlide:n}=gc(),r=pe([]),i=(h,p)=>h.type==="text"&&h.textType===p||h.type==="shape"&&h.text&&h.text.type===p,o=(h,p,v)=>{if(p===1){const y=h.filter(R=>{const A=R.elements.filter(_=>i(_,v)),x=R.elements.filter(_=>i(_,"title")),S=R.elements.filter(_=>i(_,"content"));return!A.length&&x.length===1&&S.length===1});if(y.length)return y}let g=null;const m=h.filter(y=>y.elements.filter(A=>i(A,v)).length>=p);if(m.length===0){const y=h.sort((R,A)=>{const x=R.elements.filter(_=>i(_,v)).length,S=A.elements.filter(_=>i(_,v)).length;return x-S});g=y[y.length-1]}else g=m.reduce((y,R)=>{const A=R.elements.filter(S=>i(S,v)).length,x=y.elements.filter(S=>i(S,v)).length;return A-p<=x-p?R:y});return h.filter(y=>{const R=y.elements.filter(x=>i(x,v)).length,A=g.elements.filter(x=>i(x,v)).length;return R===A})},a=({text:h,fontSize:p,fontFamily:v,width:g,maxLine:m})=>{const R=document.createElement("canvas").getContext("2d");let A=p;const x=10;for(;A>=x;){R.font=`${A}px ${v}`;const S=R.measureText(h).width;if(Math.ceil(S/g)<=m)return A;const M=A<=22?1:2;A=A-M}return x},s=h=>{const p=/font-size:\s*(\d+)\s*px/i,v=/font-family:\s*['"]?([^'";]+)['"]?\s*(?=;|>|$)/i,g={fontSize:16,fontFamily:"Microsoft Yahei"},m=h.match(p),y=h.match(v);return{fontSize:m?+m[1].trim():g.fontSize,fontFamily:y?y[1].trim():g.fontFamily}},l=({el:h,text:p,maxLine:v,longestText:g,digitPadding:m})=>{const R=h.width-20-10;let A=h.type==="text"?h.content:h.text.content;const x=s(A),S=a({text:g||p,fontSize:x.fontSize,fontFamily:x.fontFamily,width:R,maxLine:v}),M=new DOMParser().parseFromString(A,"text/html"),L=document.createTreeWalker(M.body,NodeFilter.SHOW_TEXT).nextNode();if(L&&(m&&L.textContent&&L.textContent.length===2&&p.length===1?L.textContent="0"+p:L.textContent=p),M.body.innerHTML.indexOf("font-size")===-1){const k=M.querySelector("p");k&&(k.style.fontSize="16px")}return A=M.body.innerHTML.replace(/font-size:(.+?)px/g,`font-size: ${S}px`),h.type==="text"?{...h,content:A,lineHeight:S<15?1.2:h.lineHeight}:{...h,text:{...h.text,content:A}}},u=h=>{let p=null,v=[];return h.width===h.height?v=r.value.filter(g=>g.width===g.height):h.width>h.height?v=r.value.filter(g=>g.width>g.height):v=r.value.filter(g=>g.width<=g.height),v.length||(v=r.value),p=v[Math.floor(Math.random()*v.length)],r.value=r.value.filter(g=>g.id!==p.id),p},c=h=>{const p=u(h);if(!p)return h;let v=1,g=h.width,m=h.height,y=[[0,0],[0,0]];const R=h.width/h.height;if(p.width/p.height>=R){v=p.height/h.height,g=p.width/v;const _=(g-h.width)/2/g*100;y=[[_,0],[100-_,100]]}else{v=p.width/h.width,m=p.height/v;const _=(m-h.height)/2/m*100;y=[[0,_],[100,100-_]]}const A=h.clip&&h.clip.shape?h.clip.shape:"rect",x={range:y,shape:A},S=p.src;return{...h,src:S,clip:x}};return{AIPPT:(h,p,v)=>{v&&(r.value=v);const g=[];for(const k of p)if(k.type==="content"){const P=k.data.items;if(P.length===5||P.length===6){const F=P.slice(0,3),C=P.slice(3);g.push({...k,data:{...k.data,items:F}}),g.push({...k,data:{...k.data,items:C},offset:3})}else if(P.length===7||P.length===8){const F=P.slice(0,4),C=P.slice(4);g.push({...k,data:{...k.data,items:F}}),g.push({...k,data:{...k.data,items:C},offset:4})}else if(P.length===9||P.length===10){const F=P.slice(0,3),C=P.slice(3,6),N=P.slice(6);g.push({...k,data:{...k.data,items:F}}),g.push({...k,data:{...k.data,items:C},offset:3}),g.push({...k,data:{...k.data,items:N},offset:6})}else if(P.length>10){const F=P.slice(0,4),C=P.slice(4,8),N=P.slice(8);g.push({...k,data:{...k.data,items:F}}),g.push({...k,data:{...k.data,items:C},offset:4}),g.push({...k,data:{...k.data,items:N},offset:8})}else g.push(k)}else if(k.type==="contents"){const P=k.data.items;if(P.length===7){const F=P.slice(0,5),C=P.slice(5);g.push({...k,data:{...k.data,items:F}}),g.push({...k,data:{...k.data,items:C},offset:5})}else if(P.length>7&&P.length<=12){const F=P.slice(0,6),C=P.slice(6);g.push({...k,data:{...k.data,items:F}}),g.push({...k,data:{...k.data,items:C},offset:6})}else if(P.length===13){const F=P.slice(0,6),C=P.slice(6,11),N=P.slice(11);g.push({...k,data:{...k.data,items:F}}),g.push({...k,data:{...k.data,items:C},offset:6}),g.push({...k,data:{...k.data,items:N},offset:11})}else if(P.length>13){const F=P.slice(0,6),C=P.slice(6,12),N=P.slice(12);g.push({...k,data:{...k.data,items:F}}),g.push({...k,data:{...k.data,items:C},offset:6}),g.push({...k,data:{...k.data,items:N},offset:12})}else g.push(k)}else g.push(k);const m=h.filter(k=>k.type==="cover"),y=h.filter(k=>k.type==="contents"),R=h.filter(k=>k.type==="transition"),A=h.filter(k=>k.type==="content"),x=h.filter(k=>k.type==="end"),S=m[Math.floor(Math.random()*m.length)],_=R[Math.floor(Math.random()*R.length)],M=x[Math.floor(Math.random()*x.length)],w=[];let L=0;for(const k of g)if(k.type==="cover"){const P=S.elements.map(F=>F.type==="image"&&F.imageType&&r.value.length?c(F):F.type!=="text"&&F.type!=="shape"?F:i(F,"title")&&k.data.title?l({el:F,text:k.data.title,maxLine:1}):i(F,"content")&&k.data.text?l({el:F,text:k.data.text,maxLine:3}):F);w.push({...S,id:on(10),elements:P})}else if(k.type==="contents"){const P=o(y,k.data.items.length,"item"),F=P[Math.floor(Math.random()*P.length)],C=F.elements.filter(W=>i(W,"item")).sort((W,Z)=>{const re=W.left+W.top*2,Y=Z.left+Z.top*2;return re-Y}).map(W=>W.id),N=F.elements.filter(W=>i(W,"itemNumber")).sort((W,Z)=>{const re=W.left+W.top*2,Y=Z.left+Z.top*2;return re-Y}).map(W=>W.id),I=k.data.items.reduce((W,Z)=>Z.length>W.length?Z:W,""),V=F.elements.map(W=>{if(W.type==="image"&&W.imageType&&r.value.length)return c(W);if(W.type!=="text"&&W.type!=="shape")return W;if(i(W,"item")){const Z=C.findIndex(Y=>Y===W.id),re=k.data.items[Z];if(re)return l({el:W,text:re,maxLine:1,longestText:I})}if(i(W,"itemNumber")){const Z=N.findIndex(Y=>Y===W.id),re=k.offset||0;return l({el:W,text:Z+re+1+"",maxLine:1,digitPadding:!0})}return W});w.push({...F,id:on(10),elements:V})}else if(k.type==="transition"){L++;const P=_.elements.map(F=>F.type==="image"&&F.imageType&&r.value.length?c(F):F.type!=="text"&&F.type!=="shape"?F:i(F,"title")&&k.data.title?l({el:F,text:k.data.title,maxLine:1}):i(F,"content")&&k.data.text?l({el:F,text:k.data.text,maxLine:3}):i(F,"partNumber")?l({el:F,text:L+"",maxLine:1,digitPadding:!0}):F);w.push({..._,id:on(10),elements:P})}else if(k.type==="content"){const P=o(A,k.data.items.length,"item"),F=P[Math.floor(Math.random()*P.length)],C=F.elements.filter(B=>i(B,"itemTitle")).sort((B,Q)=>{const K=B.left+B.top*2,q=Q.left+Q.top*2;return K-q}).map(B=>B.id),N=F.elements.filter(B=>i(B,"item")).sort((B,Q)=>{const K=B.left+B.top*2,q=Q.left+Q.top*2;return K-q}).map(B=>B.id),I=F.elements.filter(B=>i(B,"itemNumber")).sort((B,Q)=>{const K=B.left+B.top*2,q=Q.left+Q.top*2;return K-q}).map(B=>B.id),V=[],W=[];for(const B of k.data.items)B.title&&V.push(B.title),B.text&&W.push(B.text);const Z=V.reduce((B,Q)=>Q.length>B.length?Q:B,""),re=W.reduce((B,Q)=>Q.length>B.length?Q:B,""),Y=F.elements.map(B=>{if(B.type==="image"&&B.imageType&&r.value.length)return c(B);if(B.type!=="text"&&B.type!=="shape")return B;if(k.data.items.length===1){const Q=k.data.items[0];if(i(B,"content")&&Q.text)return l({el:B,text:Q.text,maxLine:6})}else{if(i(B,"itemTitle")){const Q=C.findIndex(q=>q===B.id),K=k.data.items[Q];if(K&&K.title)return l({el:B,text:K.title,longestText:Z,maxLine:1})}if(i(B,"item")){const Q=N.findIndex(q=>q===B.id),K=k.data.items[Q];if(K&&K.text)return l({el:B,text:K.text,longestText:re,maxLine:4})}if(i(B,"itemNumber")){const Q=I.findIndex(q=>q===B.id),K=k.offset||0;return l({el:B,text:Q+K+1+"",maxLine:1,digitPadding:!0})}}return i(B,"title")&&k.data.title?l({el:B,text:k.data.title,maxLine:1}):B});w.push({...F,id:on(10),elements:Y})}else if(k.type==="end"){const P=M.elements.map(F=>F.type==="image"&&F.imageType&&r.value.length?c(F):F);w.push({...M,id:on(10),elements:P})}n.value?e.setSlides(w):t(w)},getMdContent:h=>{const p=/```markdown([^```]*)```/,v=h.match(p);return v?v[1].trim():h.replace("```markdown","").replace("```","")}}},d$e=e=>(en("data-v-3a6f625d"),e=e(),tn(),e),h$e={class:"aippt-dialog"},p$e={class:"header"},v$e=d$e(()=>D("span",{class:"title"},"AIPPT",-1)),g$e={key:0,class:"subtite"},m$e={key:1,class:"subtite"},y$e={key:2,class:"subtite"},A$e={class:"count"},R$e={class:"recommends"},b$e=["onClick"],x$e={key:1,class:"preview"},S$e={key:0,class:"btns"},w$e={key:2,class:"select-template"},M$e={class:"templates"},L$e=["onClick"],T$e=["src","alt"],_$e={class:"btns"},O$e=Xe({__name:"AIPPTDialog",setup(e){const t=ht(),{AIPPT:n}=f$e(),r=pe("zh"),i=pe(""),o=pe(""),a=pe("template_1"),s=pe(!1),l=pe(!1),u=pe(),c=pe(),f=pe("setup"),d=pe([{name:"红色通用模板",id:"template_1",cover:"https://asset.pptist.cn/img/template_1.jpg"},{name:"蓝色通用模板",id:"template_2",cover:"https://asset.pptist.cn/img/template_2.jpg"}]),h=pe(["大学生职业生涯规划","公司年会策划方案","大数据如何改变世界","餐饮市场调查与研究","AIGC在教育领域的应用","5G技术如何改变我们的生活","社交媒体与品牌营销","年度工作总结与展望","区块链技术及其应用"]);Ht(()=>{setTimeout(()=>{c.value.focus()},500)});const p=async()=>{if(!i.value)return gn.error("请先输入PPT主题");s.value=!0,l.value=!0;const g=await $g.AIPPT_Outline(i.value,r.value);s.value=!1,f.value="outline";const m=g.body.getReader(),y=new TextDecoder("utf-8"),R=()=>{m.read().then(({done:A,value:x})=>{if(A){l.value=!1;return}const S=y.decode(x,{stream:!0});o.value+=S,u.value&&(u.value.scrollTop=u.value.scrollHeight+20),R()})};R()},v=async()=>{s.value=!0;const g=await $g.AIPPT(o.value,r.value).then(y=>JSON.parse(y.data[0].content).data),m=await $g.getFileData(a.value).then(y=>y.slides);n(m,g),s.value=!1,t.setAIPPTDialogState(!1)};return(g,m)=>{const y=xe("IconSend"),R=Pn("tooltip");return U(),te("div",h$e,[D("div",p$e,[v$e,f.value==="template"?(U(),te("span",g$e,"从下方挑选合适的模板,开始生成PPT")):f.value==="outline"?(U(),te("span",m$e,"检查确认下方内容大纲,开始挑选模板")):(U(),te("span",y$e,"在下方输入您的PPT主题,并适当补充信息,如行业、岗位、学科、用途等"))]),f.value==="setup"?(U(),te(We,{key:0},[O(fc,{class:"input",ref_key:"inputRef",ref:c,value:i.value,"onUpdate:value":m[2]||(m[2]=A=>i.value=A),maxlength:50,placeholder:"请输入PPT主题,如:大学生职业生涯规划",onEnter:m[3]||(m[3]=A=>p())},{suffix:ie(()=>[D("span",A$e,pt(i.value.length)+" / 50",1),Ge((U(),te("span",{class:"language",onClick:m[0]||(m[0]=A=>r.value=r.value==="zh"?"en":"zh")},[Ue(pt(r.value==="zh"?"中":"英"),1)])),[[R,"切换语言"]]),D("div",{class:"submit",type:"primary",onClick:m[1]||(m[1]=A=>p())},[O(y,{class:"icon"}),Ue(" AI 生成")])]),_:1},8,["value"]),D("div",R$e,[(U(!0),te(We,null,nt(h.value,(A,x)=>(U(),te("div",{class:"recommend",key:x,onClick:S=>i.value=A},pt(A),9,b$e))),128))])],64)):Ye("",!0),f.value==="outline"?(U(),te("div",x$e,[D("pre",{ref_key:"outlineRef",ref:u},pt(o.value),513),l.value?Ye("",!0):(U(),te("div",S$e,[O(et,{class:"btn",type:"primary",onClick:m[4]||(m[4]=A=>f.value="template")},{default:ie(()=>[Ue("挑选模板")]),_:1}),O(et,{class:"btn",onClick:m[5]||(m[5]=A=>{o.value="",f.value="setup"})},{default:ie(()=>[Ue("返回重新生成")]),_:1})]))])):Ye("",!0),f.value==="template"?(U(),te("div",w$e,[D("div",M$e,[(U(!0),te(We,null,nt(d.value,A=>(U(),te("div",{class:ze(["template",{selected:a.value===A.id}]),key:A.id,onClick:x=>a.value=A.id},[D("img",{src:A.cover,alt:A.name},null,8,T$e)],10,L$e))),128))]),D("div",_$e,[O(et,{class:"btn",type:"primary",onClick:m[6]||(m[6]=A=>v())},{default:ie(()=>[Ue("继续")]),_:1}),O(et,{class:"btn",onClick:m[7]||(m[7]=A=>{o.value="",f.value="setup"})},{default:ie(()=>[Ue("返回重新生成")]),_:1})])])):Ye("",!0),O(ey,{loading:s.value,tip:"AI生成中,请耐心等待 ..."},null,8,["loading"])])}}}),k$e=Be(O$e,[["__scopeId","data-v-3a6f625d"]]),P$e={class:"pptist-editor"},C$e={class:"layout-content"},I$e={class:"layout-content-center"},N$e=Xe({__name:"index",setup(e){const t=ht(),{dialogForExport:n,showSelectPanel:r,showSearchPanel:i,showNotesPanel:o,showMarkupPanel:a,showAIPPTDialog:s}=De(t),l=()=>t.setDialogForExport(""),u=()=>t.setAIPPTDialogState(!1),c=pe(40);return H2e(),K2e(),(f,d)=>(U(),te(We,null,[D("div",P$e,[O(OSe,{class:"layout-header"}),D("div",C$e,[O(OWe,{class:"layout-content-left"}),D("div",I$e,[O(MXe,{class:"center-top"}),O(XFe,{class:"center-body",style:Le({height:`calc(100% - ${c.value+40}px)`})},null,8,["style"]),O(wKe,{class:"center-bottom",height:c.value,"onUpdate:height":d[0]||(d[0]=h=>c.value=h),style:Le({height:`${c.value}px`})},null,8,["height","style"])]),O(yKe,{class:"layout-content-right"})])]),z(r)?(U(),_e(RJe,{key:0})):Ye("",!0),z(i)?(U(),_e(MJe,{key:1})):Ye("",!0),z(o)?(U(),_e(e$e,{key:2})):Ye("",!0),z(a)?(U(),_e(c$e,{key:3})):Ye("",!0),O(n0,{visible:!!z(n),width:680,onClosed:d[1]||(d[1]=h=>l())},{default:ie(()=>[O(qze)]),_:1},8,["visible"]),O(n0,{visible:z(s),width:680,closeOnClickMask:!1,closeOnEsc:!1,closeButton:"",onClosed:d[2]||(d[2]=h=>u())},{default:ie(()=>[O(k$e)]),_:1},8,["visible"])],64))}}),F$e=Be(N$e,[["__scopeId","data-v-017cd48e"]]),Ete=()=>{const e=lt(),{slides:t,slideIndex:n,formatedAnimations:r}=De(e),i=pe(0),o=pe(!1),a=pe(n.value),s=()=>{if(o.value)return;const{animations:P,autoNext:F}=r.value[i.value];i.value+=1,o.value=!0;let C=0;for(const N of P){const I=document.querySelector(`#screen-element-${N.elId} [class^=base-element-]`);if(!I){C+=1;continue}const V=`${Pa}${N.effect}`;I.style.removeProperty("--animate-duration");for(const Z of I.classList)Z.indexOf(Pa)!==-1&&I.classList.remove(Z,`${Pa}animated`);I.style.setProperty("--animate-duration",`${N.duration}ms`),I.classList.add(V,`${Pa}animated`);const W=()=>{N.type!=="out"&&(I.style.removeProperty("--animate-duration"),I.classList.remove(V,`${Pa}animated`)),C+=1,C===P.length&&(o.value=!1,F&&s())};I.addEventListener("animationend",W,{once:!0})}};Ht(()=>{const P=r.value[0];P&&P.animations.length&&P.animations.every(C=>C.trigger==="auto"||C.trigger==="meantime")&&s()});const l=()=>{i.value-=1;const{animations:P}=r.value[i.value];for(const F of P){const C=document.querySelector(`#screen-element-${F.elId} [class^=base-element-]`);if(C){C.style.removeProperty("--animate-duration");for(const N of C.classList)N.indexOf(Pa)!==-1&&C.classList.remove(N,`${Pa}animated`)}}P.every(F=>F.type==="attention")&&p()},u=pe(0),c=()=>{u.value&&(clearInterval(u.value),u.value=0)};Fn(c);const f=pe(!1),d=P=>{f.value=P},h=Yn.throttle(function(P){gn.success(P)},1e3,{leading:!0,trailing:!1}),p=()=>{r.value.length&&i.value>0?l():n.value>0?(e.updateSlideIndex(n.value-1),n.value<a.value?(i.value=0,a.value=n.value):i.value=r.value.length):f.value?L(t.value.length-1):h("已经是第一页了"),o.value=!1},v=()=>{r.value.length&&i.value<r.value.length?s():n.value<t.value.length-1?(e.updateSlideIndex(n.value+1),i.value=0,o.value=!1):(f.value?L(0):(h("已经是最后一页了"),c()),o.value=!1)},g=pe(2500),m=()=>{c(),gn.success("开始自动放映"),u.value=setInterval(v,g.value)},y=P=>{c(),g.value=P,m()},R=Yn.throttle(function(P){P.deltaY<0?p():P.deltaY>0&&v()},500,{leading:!0,trailing:!1}),A=pe(null),x=P=>{A.value={x:P.changedTouches[0].pageX,y:P.changedTouches[0].pageY}},S=P=>{if(!A.value)return;const F=Math.abs(A.value.x-P.changedTouches[0].pageX),C=P.changedTouches[0].pageY-A.value.y;Math.abs(C)>F&&Math.abs(C)>50&&(A.value=null,C>0?p():v())},_=P=>{const F=P.key.toUpperCase();F===At.UP||F===At.LEFT||F===At.PAGEUP?p():(F===At.DOWN||F===At.RIGHT||F===At.SPACE||F===At.ENTER||F===At.PAGEDOWN)&&v()};Ht(()=>document.addEventListener("keydown",_)),Fn(()=>document.removeEventListener("keydown",_));const M=()=>{e.updateSlideIndex(n.value-1),i.value=0},w=()=>{e.updateSlideIndex(n.value+1),i.value=0},L=P=>{e.updateSlideIndex(P),i.value=0};return{autoPlayTimer:u,autoPlayInterval:g,setAutoPlayInterval:y,autoPlay:m,closeAutoPlay:c,loopPlay:f,setLoopPlay:d,mousewheelListener:R,touchStartListener:x,touchEndListener:S,turnPrevSlide:M,turnNextSlide:w,turnSlideToIndex:L,turnSlideToId:P=>{const F=t.value.findIndex(C=>C.id===P);F!==-1&&(e.updateSlideIndex(F),i.value=0)},execPrev:p,execNext:v,animationIndex:i}},Xte=e=>{const t=lt(),{viewportRatio:n}=De(t),r=pe(0),i=pe(0),o=()=>{const a=(e==null?void 0:e.value)||document.body,s=a.clientWidth,l=a.clientHeight;let u,c;l/s===n.value?(u=s,c=l):l/s>n.value?(u=s,c=s*n.value):(u=l/n.value,c=l),r.value=u,i.value=c};return Ht(()=>{o(),window.addEventListener("resize",o)}),Fn(()=>{window.removeEventListener("resize",o)}),{slideWidth:r,slideHeight:i}},Wte=()=>{const e=pe(!0),t=pe(!0),{exitScreening:n}=ld(),r=()=>{e.value=OT(),!e.value&&t.value&&n(),t.value=!0};return Ht(()=>{e.value=OT(),document.addEventListener("fullscreenchange",r),document.addEventListener("webkitfullscreenchange",r)}),Fn(()=>{document.removeEventListener("fullscreenchange",r),document.removeEventListener("webkitfullscreenchange",r)}),{fullscreenState:e,manualExitFullscreen:()=>{e.value&&(t.value=!1,DH())}}},Vte=()=>{const{slides:e}=De(lt());return{slidesWithTurningMode:Se(()=>e.value.map(n=>{let r=n.turningMode;if(r||(r="slideY"),r==="random"){const i=gte.filter(o=>!["random","no"].includes(o.value)).map(o=>o.value);r=i[Math.floor(Math.random()*i.length)]}return{...n,turningMode:r}}))}},E$e={class:"element-content"},X$e=Xe({__name:"ScreenVideoElement",props:{elementInfo:{}},setup(e){const{currentSlide:t}=De(lt()),n=bs(ry)||pe(1),r=bs(Rk)||pe(""),i=Se(()=>t.value.id===r.value);return(o,a)=>(U(),te("div",{class:"base-element-video screen-element-video",style:Le({top:o.elementInfo.top+"px",left:o.elementInfo.left+"px",width:o.elementInfo.width+"px",height:o.elementInfo.height+"px"})},[D("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${o.elementInfo.rotate}deg)`})},[D("div",E$e,[i.value?(U(),_e(Ree,{key:0,width:o.elementInfo.width,height:o.elementInfo.height,src:o.elementInfo.src,poster:o.elementInfo.poster,autoplay:o.elementInfo.autoplay,scale:z(n)},null,8,["width","height","src","poster","autoplay","scale"])):Ye("",!0)])],4)],4))}}),W$e=Be(X$e,[["__scopeId","data-v-d9f232b0"]]),V$e={class:"element-content"},D$e=Xe({__name:"ScreenAudioElement",props:{elementInfo:{}},setup(e){const t=e,{viewportRatio:n,currentSlide:r,viewportSize:i}=De(lt()),o=bs(ry)||pe(1),a=bs(Rk)||pe(""),s=Se(()=>r.value.id===a.value),l=Se(()=>Math.min(t.elementInfo.width,t.elementInfo.height)+"px"),u=Se(()=>{const d=i.value,h=i.value*n.value,p=280/o.value,v=50/o.value,g=t.elementInfo.width,m=t.elementInfo.height,y=t.elementInfo.left,R=t.elementInfo.top;let A=0,x=m;return y+p>=d&&(A=g-p),R+m+v>=h&&(x=-v),{left:A+"px",top:x+"px"}}),c=pe(),f=()=>{c.value&&c.value.toggle()};return(d,h)=>{const p=xe("IconVolumeNotice");return U(),te("div",{class:"base-element-audio screen-element-audio",style:Le({top:d.elementInfo.top+"px",left:d.elementInfo.left+"px",width:d.elementInfo.width+"px",height:d.elementInfo.height+"px"})},[D("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${d.elementInfo.rotate}deg)`})},[D("div",V$e,[O(p,{class:"audio-icon",style:Le({fontSize:l.value,color:d.elementInfo.color}),onClick:h[0]||(h[0]=v=>f())},null,8,["style"]),s.value?(U(),_e(See,{key:0,class:"audio-player",ref_key:"audioPlayerRef",ref:c,style:Le({...u.value}),src:d.elementInfo.src,loop:d.elementInfo.loop,autoplay:d.elementInfo.autoplay,scale:z(o)},null,8,["style","src","loop","autoplay","scale"])):Ye("",!0)])],4)],4)}}}),U$e=Be(D$e,[["__scopeId","data-v-db0543f3"]]),B$e=["id","title"],Y$e=Xe({__name:"ScreenElement",props:{elementInfo:{},elementIndex:{},animationIndex:{},turnSlideToId:{type:Function},manualExitFullscreen:{type:Function}},setup(e){const t=e,n=Se(()=>({[Et.IMAGE]:Tee,[Et.TEXT]:_ee,[Et.SHAPE]:Oee,[Et.LINE]:kee,[Et.CHART]:Pee,[Et.TABLE]:Cee,[Et.LATEX]:Iee,[Et.VIDEO]:W$e,[Et.AUDIO]:U$e})[t.elementInfo.type]||null),{formatedAnimations:r,theme:i}=De(lt()),o=Se(()=>{const s=r.value.findIndex(u=>u.animations.map(f=>f.elId).includes(t.elementInfo.id));if(s===-1||s<t.animationIndex)return!1;const l=r.value[s].animations.find(u=>u.elId===t.elementInfo.id);return(l==null?void 0:l.type)==="in"}),a=s=>{if(s.target.tagName==="A"){t.manualExitFullscreen();return}const l=t.elementInfo.link;l&&(l.type==="web"?(t.manualExitFullscreen(),window.open(l.target)):l.type==="slide"&&t.turnSlideToId(l.target))};return(s,l)=>{var u;return U(),te("div",{class:ze(["screen-element",{link:s.elementInfo.link}]),id:`screen-element-${s.elementInfo.id}`,style:Le({zIndex:s.elementIndex,color:z(i).fontColor,fontFamily:z(i).fontName,visibility:o.value?"hidden":"visible"}),title:((u=s.elementInfo.link)==null?void 0:u.target)||"",onClick:l[0]||(l[0]=c=>a(c))},[(U(),_e(Ru(n.value),{elementInfo:s.elementInfo},null,8,["elementInfo"]))],14,B$e)}}}),Z$e=Be(Y$e,[["__scopeId","data-v-28b05f52"]]),Q$e=Xe({__name:"ScreenSlide",props:{slide:{},scale:{},animationIndex:{},turnSlideToId:{type:Function},manualExitFullscreen:{type:Function}},setup(e){const t=e,{viewportRatio:n,viewportSize:r}=De(lt()),i=Se(()=>t.slide.background),{backgroundStyle:o}=t4(i),a=Se(()=>t.slide.id);return a0(Rk,a),(s,l)=>(U(),te("div",{class:"screen-slide",style:Le({width:z(r)+"px",height:z(r)*z(n)+"px",transform:`scale(${s.scale})`})},[D("div",{class:"background",style:Le({...z(o)})},null,4),(U(!0),te(We,null,nt(s.slide.elements,(u,c)=>(U(),_e(Z$e,{key:u.id,elementInfo:u,elementIndex:c+1,animationIndex:s.animationIndex,turnSlideToId:s.turnSlideToId,manualExitFullscreen:s.manualExitFullscreen},null,8,["elementInfo","elementIndex","animationIndex","turnSlideToId","manualExitFullscreen"]))),128))],4))}}),H$e=Be(Q$e,[["__scopeId","data-v-54069779"]]),K$e={class:"screen-slide-list"},G$e=Xe({__name:"ScreenSlideList",props:{slideWidth:{},slideHeight:{},animationIndex:{},turnSlideToId:{type:Function},manualExitFullscreen:{type:Function}},setup(e){const t=e,{slideIndex:n,viewportSize:r}=De(lt()),{slidesWithTurningMode:i}=Vte(),o=Se(()=>t.slideWidth/r.value);return a0(ry,o),(a,s)=>(U(),te("div",K$e,[(U(!0),te(We,null,nt(z(i),(l,u)=>{var c;return U(),te("div",{class:ze(["slide-item",`turning-mode-${l.turningMode}`,{current:u===z(n),before:u<z(n),after:u>z(n),hide:(u===z(n)-1||u===z(n)+1)&&l.turningMode!==z(i)[z(n)].turningMode,last:u===z(n)-1,next:u===z(n)+1}]),key:l.id},[Math.abs(z(n)-u)<2||(c=l.animations)!=null&&c.length?(U(),te("div",{key:0,class:"slide-content",style:Le({width:a.slideWidth+"px",height:a.slideHeight+"px"})},[O(H$e,{slide:l,scale:o.value,animationIndex:a.animationIndex,turnSlideToId:a.turnSlideToId,manualExitFullscreen:a.manualExitFullscreen},null,8,["slide","scale","animationIndex","turnSlideToId","manualExitFullscreen"])],4)):Ye("",!0)],2)}),128))]))}}),Dte=Be(G$e,[["__scopeId","data-v-557dcca0"]]),z$e={class:"slide-thumbnails"},J$e={class:"return-button"},$$e={class:"slide-thumbnails-content"},j$e=["onClick"],q$e=Xe({__name:"SlideThumbnails",props:{turnSlideToIndex:{type:Function}},emits:["close"],setup(e,{emit:t}){const n=e,r=t,{slides:i,slideIndex:o}=De(lt()),{slidesLoadLimit:a}=py(),s=l=>{n.turnSlideToIndex(l),r("close")};return(l,u)=>{const c=xe("IconArrowCircleLeft");return U(),te("div",z$e,[D("div",J$e,[O(c,{class:"icon",onClick:u[0]||(u[0]=f=>r("close"))})]),D("div",$$e,[(U(!0),te(We,null,nt(z(i),(f,d)=>(U(),te("div",{class:ze(["thumbnail",{active:d===z(o)}]),key:f.id,onClick:h=>s(d)},[O(dl,{slide:f,size:150,visible:d<z(a)},null,8,["slide","visible"])],10,j$e))),128))])])}}}),eje=Be(q$e,[["__scopeId","data-v-09d790f0"]]),tje={key:0,class:"blackboard"},nje=Xe({__name:"WritingBoard",props:{color:{default:"#ffcc00"},model:{default:"pen"},blackboard:{type:Boolean,default:!1},penSize:{default:6},markSize:{default:24},rubberSize:{default:80}},emits:["end"],setup(e,{expose:t,emit:n}){const r=e,i=n;let o=null;const a=pe(),s=pe();let l={x:0,y:0},u=!1,c=0,f=-1;const d=pe({x:0,y:0}),h=pe(!1),p=pe(0),v=pe(0),g=Se(()=>s.value?p.value/s.value.width:1),m=Se(()=>s.value?v.value/s.value.height:1),y=()=>{a.value&&(p.value=a.value.clientWidth,v.value=a.value.clientHeight)},R=new ResizeObserver(y);Ht(()=>{a.value&&R.observe(a.value)}),Fn(()=>{a.value&&R.unobserve(a.value)}),Ht(()=>{!s.value||!a.value||(o=s.value.getContext("2d"),o&&(s.value.width=a.value.clientWidth,s.value.height=a.value.clientHeight,o.lineCap="round",o.lineJoin="round"))});const x=()=>{o&&(r.model==="mark"?(o.globalCompositeOperation="xor",o.globalAlpha=.5):r.model==="pen"&&(o.globalCompositeOperation="source-over",o.globalAlpha=1))};_t(()=>r.model,x);const S=(W,Z,re)=>{if(!o)return;const Y=l.x,B=l.y;o.lineWidth=re,o.strokeStyle=r.color,o.beginPath(),o.moveTo(Y,B),o.lineTo(W,Z),o.stroke(),o.closePath()},_=(W,Z)=>{if(!o||!s.value)return;const re=l.x,Y=l.y,B=r.rubberSize/2,Q=B*Math.sin(Math.atan((Z-Y)/(W-re))),K=B*Math.cos(Math.atan((Z-Y)/(W-re))),q=[re+Q,Y-K],j=[re-Q,Y+K],de=[W+Q,Z-K],G=[W-Q,Z+K];o.save(),o.beginPath(),o.arc(W,Z,B,0,Math.PI*2),o.clip(),o.clearRect(0,0,s.value.width,s.value.height),o.restore(),o.save(),o.beginPath(),o.moveTo(...q),o.lineTo(...de),o.lineTo(...G),o.lineTo(...j),o.closePath(),o.clip(),o.clearRect(0,0,s.value.width,s.value.height),o.restore()},M=(W,Z)=>{const re=l.x,Y=l.y;return Math.sqrt((W-re)*(W-re)+(Z-Y)*(Z-Y))},w=(W,Z)=>{const B=r.penSize,Q=3,K=W/Z;let q;return K<=.1?q=B:K>=10?q=Q:q=B-K/10*B,f===-1?q:q*1/3+f*2/3},L=(W,Z)=>{const re=new Date().getTime();if(r.model==="pen"){const Y=M(W,Z),B=re-c,Q=w(Y,B);S(W,Z,Q),f=Q}else r.model==="mark"?S(W,Z,r.markSize):_(W,Z);l={x:W,y:Z},c=new Date().getTime()},k=W=>{if(!s.value)return[0,0];const Z=W instanceof MouseEvent?W:W.changedTouches[0],re=s.value.getBoundingClientRect(),Y=Z.pageX-re.x,B=Z.pageY-re.y;return[Y,B]},P=W=>{const[Z,re]=k(W),Y=Z/g.value,B=re/m.value;u=!0,l={x:Y,y:B},c=new Date().getTime(),W instanceof MouseEvent||(d.value={x:Z,y:re},h.value=!0)},F=W=>{const[Z,re]=k(W),Y=Z/g.value,B=re/m.value;d.value={x:Z,y:re},u&&L(Y,B)},C=()=>{u&&(u=!1,i("end"))};return t({clearCanvas:()=>{!o||!s.value||(o.clearRect(0,0,s.value.width,s.value.height),i("end"))},getImageDataURL:()=>{var W;return(W=s.value)==null?void 0:W.toDataURL()},setImageDataURL:W=>{if(!(!o||!s.value)&&(o.clearRect(0,0,s.value.width,s.value.height),W)){o.globalCompositeOperation="source-over",o.globalAlpha=1;const Z=new Image;Z.src=W,Z.onload=()=>{o.drawImage(Z,0,0),x()}}}}),(W,Z)=>{const re=xe("IconWrite"),Y=xe("IconHighLight");return U(),te("div",{class:"writing-board",ref_key:"writingBoardRef",ref:a},[W.blackboard?(U(),te("div",tje)):Ye("",!0),D("canvas",{class:"canvas",ref_key:"canvasRef",ref:s,style:Le({width:p.value+"px",height:v.value+"px"}),onMousedown:Z[0]||(Z[0]=B=>P(B)),onMousemove:Z[1]||(Z[1]=B=>F(B)),onMouseup:Z[2]||(Z[2]=B=>C()),onTouchstart:Z[3]||(Z[3]=B=>P(B)),onTouchmove:Z[4]||(Z[4]=B=>F(B)),onTouchend:Z[5]||(Z[5]=B=>{C(),h.value=!1}),onMouseleave:Z[6]||(Z[6]=B=>{C(),h.value=!1}),onMouseenter:Z[7]||(Z[7]=B=>h.value=!0)},null,36),h.value?(U(),te(We,{key:1},[W.model==="eraser"?(U(),te("div",{key:0,class:"eraser",style:Le({left:d.value.x-W.rubberSize/2+"px",top:d.value.y-W.rubberSize/2+"px",width:W.rubberSize+"px",height:W.rubberSize+"px"})},null,4)):Ye("",!0),W.model==="pen"?(U(),te("div",{key:1,class:"pen",style:Le({left:d.value.x-W.penSize/2+"px",top:d.value.y-W.penSize*6+W.penSize/2+"px",color:W.color})},[W.model==="pen"?(U(),_e(re,{key:0,class:"icon",size:W.penSize*6},null,8,["size"])):Ye("",!0)],4)):Ye("",!0),W.model==="mark"?(U(),te("div",{key:2,class:"pen",style:Le({left:d.value.x-W.markSize/2+"px",top:d.value.y+"px",color:W.color})},[W.model==="mark"?(U(),_e(Y,{key:0,class:"icon",size:W.markSize*1.5},null,8,["size"])):Ye("",!0)],4)):Ye("",!0)],64)):Ye("",!0)],512)}}}),rje=Be(nje,[["__scopeId","data-v-55ae5f6c"]]),aC=e=>(en("data-v-47295ef6"),e=e(),tn(),e),ije={class:"writing-board-tool"},oje={class:"tool-content"},aje={class:"size"},sje=aC(()=>D("div",{class:"label"},"墨迹粗细:",-1)),lje={class:"size"},uje=aC(()=>D("div",{class:"label"},"墨迹粗细:",-1)),cje={class:"size"},fje=aC(()=>D("div",{class:"label"},"橡皮大小:",-1)),dje={class:"colors"},hje=["onClick"],pje=Xe({__name:"WritingBoardTool",props:{slideWidth:{},slideHeight:{},left:{default:-5},top:{default:-5}},emits:["close"],setup(e,{emit:t}){const n=["#000000","#ffffff","#1e497b","#4e81bb","#e2534d","#9aba60","#8165a0","#47acc5","#f9974c","#ffff3a"],r=t,{currentSlide:i}=De(lt()),o=pe(),a=pe("#e2534d"),s=pe("pen"),l=pe(!1),u=pe(""),c=pe(6),f=pe(24),d=pe(80),h=y=>{s.value===y?u.value=u.value===y?"":y:(u.value&&(u.value=""),s.value=y)},p=()=>{o.value.clearCanvas()},v=y=>{s.value==="eraser"&&(s.value="pen"),a.value=y},g=()=>{r("close")};_t(i,()=>{el.writingBoardImgs.where("id").equals(i.value.id).toArray().then(y=>{const R=y[0];o.value.setImageDataURL((R==null?void 0:R.dataURL)||"")})},{immediate:!0});const m=()=>{const y=o.value.getImageDataURL();y&&el.writingBoardImgs.where("id").equals(i.value.id).toArray().then(R=>{const A=R[0];A?el.writingBoardImgs.update(A,{dataURL:y}):el.writingBoardImgs.add({id:i.value.id,dataURL:y})})};return(y,R)=>{const A=xe("IconWrite"),x=xe("IconHighLight"),S=xe("IconErase"),_=xe("IconClear"),M=xe("IconFill"),w=xe("IconClose"),L=Pn("tooltip");return U(),te("div",ije,[D("div",{class:"writing-board-wrap",style:Le({width:y.slideWidth+"px",height:y.slideHeight+"px"})},[O(rje,{ref_key:"writingBoardRef",ref:o,color:a.value,blackboard:l.value,model:s.value,penSize:c.value,markSize:f.value,rubberSize:d.value,onEnd:R[0]||(R[0]=k=>m())},null,8,["color","blackboard","model","penSize","markSize","rubberSize"])],4),O(o1,{class:"tools-panel",width:520,height:50,left:y.left,top:y.top,moveable:u.value===""},{default:ie(()=>[D("div",{class:"tools",onMousedown:R[10]||(R[10]=Ft(()=>{},["stop"]))},[D("div",oje,[O(Nt,{trigger:"manual",value:u.value==="pen"},{content:ie(()=>[D("div",aje,[sje,O(Ki,{class:"size-slider",min:4,max:10,step:2,value:c.value,"onUpdate:value":R[1]||(R[1]=k=>c.value=k)},null,8,["value"])])]),default:ie(()=>[Ge((U(),te("div",{class:ze(["btn",{active:s.value==="pen"}]),onClick:R[2]||(R[2]=k=>h("pen"))},[O(A,{class:"icon"})],2)),[[L,"画笔"]])]),_:1},8,["value"]),O(Nt,{trigger:"manual",value:u.value==="mark"},{content:ie(()=>[D("div",lje,[uje,O(Ki,{class:"size-slider",min:16,max:40,step:4,value:f.value,"onUpdate:value":R[3]||(R[3]=k=>f.value=k)},null,8,["value"])])]),default:ie(()=>[Ge((U(),te("div",{class:ze(["btn",{active:s.value==="mark"}]),onClick:R[4]||(R[4]=k=>h("mark"))},[O(x,{class:"icon"})],2)),[[L,"荧光笔"]])]),_:1},8,["value"]),O(Nt,{trigger:"manual",value:u.value==="eraser"},{content:ie(()=>[D("div",cje,[fje,O(Ki,{class:"size-slider",min:20,max:200,step:20,value:d.value,"onUpdate:value":R[5]||(R[5]=k=>d.value=k)},null,8,["value"])])]),default:ie(()=>[Ge((U(),te("div",{class:ze(["btn",{active:s.value==="eraser"}]),onClick:R[6]||(R[6]=k=>h("eraser"))},[O(S,{class:"icon"})],2)),[[L,"橡皮擦"]])]),_:1},8,["value"]),Ge((U(),te("div",{class:"btn",onClick:R[7]||(R[7]=k=>p())},[O(_,{class:"icon"})])),[[L,"清除墨迹"]]),Ge((U(),te("div",{class:ze(["btn",{active:l.value}]),onClick:R[8]||(R[8]=k=>l.value=!l.value)},[O(M,{class:"icon"})],2)),[[L,"黑板"]]),D("div",dje,[(U(),te(We,null,nt(n,k=>D("div",{class:ze(["color",{active:k===a.value}]),key:k,style:Le({backgroundColor:k}),onClick:P=>v(k)},null,14,hje)),64))])]),Ge((U(),te("div",{class:"btn",onClick:R[9]||(R[9]=k=>g())},[O(w,{class:"icon"})])),[[L,"关闭画笔"]])],32)]),_:1},8,["left","top","moveable"])])}}}),Ute=Be(pje,[["__scopeId","data-v-47295ef6"]]),vje=e=>(en("data-v-92c1f9be"),e=e(),tn(),e),gje={class:"header"},mje={class:"content"},yje={class:"timer"},Aje=["value","disabled"],Rje=vje(()=>D("div",{class:"colon"},":",-1)),bje={class:"timer"},xje=["value","disabled"],Sje=Xe({__name:"CountdownTimer",props:{left:{default:5},top:{default:5}},emits:["close"],setup(e,{emit:t}){const n=t,r=pe(null),i=pe(!1),o=pe(!1),a=pe(0),s=Se(()=>Math.floor(a.value/60)),l=Se(()=>a.value%60),u=Se(()=>!o.value||i.value),c=()=>{r.value&&clearInterval(r.value)};Fn(c);const f=()=>{c(),i.value=!1},d=()=>{c(),i.value=!1,o.value?a.value=600:a.value=0},h=()=>{c(),o.value?r.value=setInterval(()=>{a.value=a.value-1,a.value<=0&&d()},1e3):r.value=setInterval(()=>{a.value=a.value+1,a.value>36e3&&f()},1e3),i.value=!0},p=()=>{i.value?f():h()},v=()=>{o.value=!o.value,d()},g=(m,y)=>{const R=m.target;let A=R.value;/^(\d)+$/.test(A)?(y==="second"&&+A>=60&&(A="59"),a.value=y==="minute"?+A*60+l.value:+A+s.value*60):R.value=hg(y==="minute"?s.value:l.value,2)};return(m,y)=>{const R=xe("IconClose");return U(),_e(o1,{class:"countdown-timer",width:180,height:110,left:m.left,top:m.top},{default:ie(()=>[D("div",gje,[D("span",{class:"text-btn",onClick:y[0]||(y[0]=A=>p())},pt(i.value?"暂停":"开始"),1),D("span",{class:"text-btn",onClick:y[1]||(y[1]=A=>d())},"重置"),D("span",{class:ze(["text-btn",{active:o.value}]),onClick:y[2]||(y[2]=A=>v())},"倒计时",2)]),D("div",mje,[D("div",yje,[D("input",{type:"text",value:z(hg)(s.value,2),maxlength:3,disabled:u.value,onMousedown:y[3]||(y[3]=Ft(()=>{},["stop"])),onBlur:y[4]||(y[4]=A=>g(A,"minute")),onKeydown:[y[5]||(y[5]=Ft(()=>{},["stop"])),y[6]||(y[6]=du(Ft(A=>g(A,"minute"),["stop"]),["enter"]))]},null,40,Aje)]),Rje,D("div",bje,[D("input",{type:"text",value:z(hg)(l.value,2),maxlength:3,disabled:u.value,onMousedown:y[7]||(y[7]=Ft(()=>{},["stop"])),onBlur:y[8]||(y[8]=A=>g(A,"second")),onKeydown:[y[9]||(y[9]=Ft(()=>{},["stop"])),y[10]||(y[10]=du(Ft(A=>g(A,"second"),["stop"]),["enter"]))]},null,40,xje)])]),D("div",{class:"close-btn",onClick:y[11]||(y[11]=A=>n("close"))},[O(R,{class:"icon"})])]),_:1},8,["left","top"])}}}),Bte=Be(Sje,[["__scopeId","data-v-92c1f9be"]]),wje={class:"tools-left"},Mje={class:"content"},Lje=Xe({__name:"BaseView",props:{changeViewMode:{type:Function}},setup(e){const t=e,{slides:n,slideIndex:r}=De(lt()),{autoPlayTimer:i,autoPlay:o,closeAutoPlay:a,autoPlayInterval:s,setAutoPlayInterval:l,loopPlay:u,setLoopPlay:c,mousewheelListener:f,touchStartListener:d,touchEndListener:h,turnPrevSlide:p,turnNextSlide:v,turnSlideToIndex:g,turnSlideToId:m,execPrev:y,execNext:R,animationIndex:A}=Ete(),{slideWidth:x,slideHeight:S}=Xte(),{exitScreening:_}=ld(),{fullscreenState:M,manualExitFullscreen:w}=Wte(),L=pe(!1),k=pe(!1),P=pe(!1),F=pe(!1),C=pe(!1),N=()=>[{text:"上一页",subText:"↑ ←",disable:r.value<=0,handler:()=>p()},{text:"下一页",subText:"↓ →",disable:r.value>=n.value.length-1,handler:()=>v()},{text:"第一页",disable:r.value===0,handler:()=>g(0)},{text:"最后一页",disable:r.value===n.value.length-1,handler:()=>g(n.value.length-1)},{divider:!0},{text:i.value?"取消自动放映":"自动放映",handler:i.value?a:o,children:[{text:"2.5秒",subText:s.value===2500?"√":"",handler:()=>l(2500)},{text:"5秒",subText:s.value===5e3?"√":"",handler:()=>l(5e3)},{text:"7.5秒",subText:s.value===7500?"√":"",handler:()=>l(7500)},{text:"10秒",subText:s.value===1e4?"√":"",handler:()=>l(1e4)}]},{text:"循环放映",subText:u.value?"√":"",handler:()=>c(!u.value)},{divider:!0},{text:"显示工具栏",handler:()=>L.value=!0},{text:"查看所有幻灯片",handler:()=>F.value=!0},{text:"画笔工具",handler:()=>k.value=!0},{text:"演讲者视图",handler:()=>t.changeViewMode("presenter")},{divider:!0},{text:"结束放映",subText:"ESC",handler:_}];return(I,V)=>{const W=xe("IconLeftTwo"),Z=xe("IconRightTwo"),re=xe("IconWrite"),Y=xe("IconMagic"),B=xe("IconStopwatchStart"),Q=xe("IconListView"),K=xe("IconOffScreenOne"),q=xe("IconFullScreenOne"),j=xe("IconPower"),de=Pn("contextmenu"),G=Pn("tooltip");return U(),te("div",{class:ze(["base-view",{"laser-pen":C.value}])},[Ge(O(Dte,{slideWidth:z(x),slideHeight:z(S),animationIndex:z(A),turnSlideToId:z(m),manualExitFullscreen:z(w),onWheel:V[0]||(V[0]=Ae=>z(f)(Ae)),onTouchstart:V[1]||(V[1]=Ae=>z(d)(Ae)),onTouchend:V[2]||(V[2]=Ae=>z(h)(Ae))},null,8,["slideWidth","slideHeight","animationIndex","turnSlideToId","manualExitFullscreen"]),[[de,N]]),F.value?(U(),_e(eje,{key:0,turnSlideToIndex:z(g),onClose:V[3]||(V[3]=Ae=>F.value=!1)},null,8,["turnSlideToIndex"])):Ye("",!0),k.value?(U(),_e(Ute,{key:1,slideWidth:z(x),slideHeight:z(S),onClose:V[4]||(V[4]=Ae=>k.value=!1)},null,8,["slideWidth","slideHeight"])):Ye("",!0),P.value?(U(),_e(Bte,{key:2,onClose:V[5]||(V[5]=Ae=>P.value=!1)})):Ye("",!0),D("div",wje,[O(W,{class:"tool-btn",theme:"two-tone",fill:["#111","#fff"],onClick:V[6]||(V[6]=Ae=>z(y)())}),O(Z,{class:"tool-btn",theme:"two-tone",fill:["#111","#fff"],onClick:V[7]||(V[7]=Ae=>z(R)())})]),D("div",{class:ze(["tools-right",{visible:L.value}]),onMouseleave:V[16]||(V[16]=Ae=>L.value=!1),onMouseenter:V[17]||(V[17]=Ae=>L.value=!0)},[D("div",Mje,[D("div",{class:"tool-btn page-number",onClick:V[8]||(V[8]=Ae=>F.value=!0)},"幻灯片 "+pt(z(r)+1)+" / "+pt(z(n).length),1),Ge(O(re,{class:"tool-btn",onClick:V[9]||(V[9]=Ae=>k.value=!0)},null,512),[[G,"画笔工具"]]),Ge(O(Y,{class:ze(["tool-btn",{active:C.value}]),onClick:V[10]||(V[10]=Ae=>C.value=!C.value)},null,8,["class"]),[[G,"激光笔"]]),Ge(O(B,{class:ze(["tool-btn",{active:P.value}]),onClick:V[11]||(V[11]=Ae=>P.value=!P.value)},null,8,["class"]),[[G,"计时器"]]),Ge(O(Q,{class:"tool-btn",onClick:V[12]||(V[12]=Ae=>I.changeViewMode("presenter"))},null,512),[[G,"演讲者视图"]]),z(M)?Ge((U(),_e(K,{key:0,class:"tool-btn",onClick:V[13]||(V[13]=Ae=>z(w)())},null,512)),[[G,"退出全屏"]]):Ge((U(),_e(q,{key:1,class:"tool-btn",onClick:V[14]||(V[14]=Ae=>z(JO)())},null,512)),[[G,"进入全屏"]]),Ge(O(j,{class:"tool-btn",onClick:V[15]||(V[15]=Ae=>z(_)())},null,512),[[G,"结束放映"]])])],34)],2)}}}),Tje=Be(Lje,[["__scopeId","data-v-85c13201"]]),a1=e=>(en("data-v-acf86e50"),e=e(),tn(),e),_je={class:"presenter-view"},Oje={class:"toolbar"},kje=a1(()=>D("span",null,"普通视图",-1)),Pje=a1(()=>D("span",null,"画笔",-1)),Cje=a1(()=>D("span",null,"激光笔",-1)),Ije=a1(()=>D("span",null,"计时器",-1)),Nje=a1(()=>D("span",null,"结束放映",-1)),Fje={class:"content"},Eje=["onClick"],Xje={class:"remark"},Wje={class:"header"},Vje=a1(()=>D("span",null,"演讲者备注",-1)),Dje=["innerHTML"],Uje={class:"remark-scale"},Bje=Xe({__name:"PresenterView",props:{changeViewMode:{type:Function}},setup(e){const t=e,{slides:n,slideIndex:r,viewportRatio:i,currentSlide:o}=De(lt()),a=pe(),s=pe(),l=pe(!1),u=pe(!1),c=pe(!1),{mousewheelListener:f,touchStartListener:d,touchEndListener:h,turnPrevSlide:p,turnNextSlide:v,turnSlideToIndex:g,turnSlideToId:m,animationIndex:y}=Ete(),{slideWidth:R,slideHeight:A}=Xte(a),{exitScreening:x}=ld(),{slidesLoadLimit:S}=py(),{fullscreenState:_,manualExitFullscreen:M}=Wte(),w=pe(16),L=Se(()=>o.value.remark?Sx(o.value.remark):""),k=C=>{s.value&&s.value.scrollBy(C.deltaY,0)},P=C=>{C<12||C>40||(w.value=C)};_t(r,()=>{Ir(()=>{if(!s.value)return;const C=s.value.querySelector(".thumbnail.active");if(!C)return;const N=s.value.offsetWidth,I=C.offsetLeft;s.value.scrollTo({left:I-N/2,behavior:"smooth"})})});const F=()=>[{text:"上一页",subText:"↑ ←",disable:r.value<=0,handler:()=>p()},{text:"下一页",subText:"↓ →",disable:r.value>=n.value.length-1,handler:()=>v()},{text:"第一页",disable:r.value===0,handler:()=>g(0)},{text:"最后一页",disable:r.value===n.value.length-1,handler:()=>g(n.value.length-1)},{divider:!0},{text:"画笔工具",handler:()=>l.value=!0},{text:"普通视图",handler:()=>t.changeViewMode("base")},{divider:!0},{text:"结束放映",subText:"ESC",handler:x}];return(C,N)=>{const I=xe("IconListView"),V=xe("IconWrite"),W=xe("IconMagic"),Z=xe("IconStopwatchStart"),re=xe("IconOffScreenOne"),Y=xe("IconPower"),B=xe("IconMinus"),Q=xe("IconPlus"),K=Pn("contextmenu");return U(),te("div",_je,[D("div",Oje,[D("div",{class:"tool-btn",onClick:N[0]||(N[0]=q=>C.changeViewMode("base"))},[O(I,{class:"tool-icon"}),kje]),D("div",{class:ze(["tool-btn",{active:l.value}]),onClick:N[1]||(N[1]=q=>l.value=!l.value)},[O(V,{class:"tool-icon"}),Pje],2),D("div",{class:ze(["tool-btn",{active:c.value}]),onClick:N[2]||(N[2]=q=>c.value=!c.value)},[O(W,{class:"tool-icon"}),Cje],2),D("div",{class:ze(["tool-btn",{active:u.value}]),onClick:N[3]||(N[3]=q=>u.value=!u.value)},[O(Z,{class:"tool-icon"}),Ije],2),D("div",{class:"tool-btn",onClick:N[4]||(N[4]=()=>z(_)?z(M)():z(JO)())},[z(_)?(U(),_e(re,{key:0,class:"tool-icon"})):(U(),_e(re,{key:1,class:"tool-icon"})),D("span",null,pt(z(_)?"退出全屏":"全屏"),1)]),O(Zt,{class:"divider"}),D("div",{class:"tool-btn",onClick:N[5]||(N[5]=q=>z(x)())},[O(Y,{class:"tool-icon"}),Nje])]),D("div",Fje,[D("div",{class:ze(["slide-list-wrap",{"laser-pen":c.value}]),ref_key:"slideListWrapRef",ref:a},[Ge(O(Dte,{slideWidth:z(R),slideHeight:z(A),animationIndex:z(y),turnSlideToId:z(m),manualExitFullscreen:z(M),onWheel:N[6]||(N[6]=q=>z(f)(q)),onTouchstart:N[7]||(N[7]=q=>z(d)(q)),onTouchend:N[8]||(N[8]=q=>z(h)(q))},null,8,["slideWidth","slideHeight","animationIndex","turnSlideToId","manualExitFullscreen"]),[[K,F]]),l.value?(U(),_e(Ute,{key:0,slideWidth:z(R),slideHeight:z(A),left:-365,top:-155,onClose:N[9]||(N[9]=q=>l.value=!1)},null,8,["slideWidth","slideHeight"])):Ye("",!0),u.value?(U(),_e(Bte,{key:1,left:75,onClose:N[10]||(N[10]=q=>u.value=!1)})):Ye("",!0)],2),D("div",{class:"thumbnails",ref_key:"thumbnailsRef",ref:s,onWheel:N[11]||(N[11]=Ft(q=>k(q),["prevent"]))},[(U(!0),te(We,null,nt(z(n),(q,j)=>(U(),te("div",{class:ze(["thumbnail",{active:j===z(r)}]),key:q.id,onClick:de=>z(g)(j)},[O(dl,{slide:q,size:120/z(i),visible:j<z(S)},null,8,["slide","size","visible"])],10,Eje))),128))],544)]),D("div",Xje,[D("div",Wje,[Vje,D("span",null,"P "+pt(z(r)+1)+" / "+pt(z(n).length),1)]),D("div",{class:ze(["remark-content ProseMirror-static",{empty:!L.value}]),style:Le({fontSize:w.value+"px"}),innerHTML:L.value||"无备注"},null,14,Dje),D("div",Uje,[D("div",{class:ze(["scale-btn",{disable:w.value===12}]),onClick:N[12]||(N[12]=q=>P(w.value-2))},[O(B)],2),D("div",{class:ze(["scale-btn",{disable:w.value===40}]),onClick:N[13]||(N[13]=q=>P(w.value+2))},[O(Q)],2)])])])}}}),Yje=Be(Bje,[["__scopeId","data-v-acf86e50"]]),Zje={class:"pptist-screen"},Qje=Xe({__name:"index",setup(e){const t=pe("base"),n=o=>{t.value=o},{exitScreening:r}=ld(),i=o=>{o.key.toUpperCase()===At.ESC&&r()};return Ht(()=>document.addEventListener("keydown",i)),Fn(()=>document.removeEventListener("keydown",i)),(o,a)=>(U(),te("div",Zje,[t.value==="base"?(U(),_e(Tje,{key:0,changeViewMode:n})):t.value==="presenter"?(U(),_e(Yje,{key:1,changeViewMode:n})):Ye("",!0)]))}}),Hje=Be(Qje,[["__scopeId","data-v-2f0dc4b8"]]),Kje=Xe({__name:"MobileEditableElement",props:{elementInfo:{},elementIndex:{},selectElement:{type:Function}},setup(e){const t=e,n=Se(()=>({[Et.IMAGE]:vz,[Et.TEXT]:uJ,[Et.SHAPE]:fJ,[Et.LINE]:dJ,[Et.CHART]:hee,[Et.TABLE]:yee,[Et.LATEX]:Aee,[Et.VIDEO]:bee,[Et.AUDIO]:wee})[t.elementInfo.type]||null);return(r,i)=>(U(),te("div",{class:"mobile-editable-element",style:Le({zIndex:r.elementIndex})},[(U(),_e(Ru(n.value),{elementInfo:r.elementInfo,selectElement:r.selectElement,contextmenus:()=>null},null,8,["elementInfo","selectElement"]))],4))}}),Gje=Xe({__name:"MobileOperate",props:{elementInfo:{},isSelected:{type:Boolean},canvasScale:{},scaleElement:{type:Function},rotateElement:{type:Function}},setup(e){const t=e,n=Se(()=>"rotate"in t.elementInfo?t.elementInfo.rotate:0),r=Se(()=>t.elementInfo.width*t.canvasScale),i=Se(()=>t.elementInfo.height*t.canvasScale),{borderLines:o,resizeHandlers:a,textElementResizeHandlers:s}=g0(r,i),l=t.elementInfo.type==="text"||t.elementInfo.type==="table"?s:a,u=Se(()=>["chart","video","audio"].includes(t.elementInfo.type));return(c,f)=>(U(),te("div",{class:"mobile-operate",style:Le({top:c.elementInfo.top*c.canvasScale+"px",left:c.elementInfo.left*c.canvasScale+"px",transform:`rotate(${n.value}deg)`,transformOrigin:`${c.elementInfo.width*c.canvasScale/2}px ${c.elementInfo.height*c.canvasScale/2}px`})},[c.isSelected?(U(),te(We,{key:0},[(U(!0),te(We,null,nt(z(o),d=>(U(),_e(m0,{class:"operate-border-line",key:d.type,type:d.type,style:Le(d.style)},null,8,["type","style"]))),128)),(U(!0),te(We,null,nt(z(l),d=>(U(),_e(pd,{class:"operate-resize-handler",key:d.direction,type:d.direction,rotate:c.elementInfo.rotate,style:Le(d.style),onTouchstart:Ft(h=>c.scaleElement(h,c.elementInfo,d.direction),["stop"])},null,8,["type","rotate","style","onTouchstart"]))),128)),u.value?Ye("",!0):(U(),_e(i1,{key:0,class:"operate-rotate-handler",style:Le({left:r.value/2+"px"}),onTouchstart:f[0]||(f[0]=Ft(d=>c.rotateElement(d,c.elementInfo),["stop"]))},null,8,["style"]))],64)):Ye("",!0)],4))}}),zje=Be(Gje,[["__scopeId","data-v-b61bf2dc"]]),Jje={class:"mobile-thumbnails"},$je=["onClick"],jje={class:"label"},qje=Xe({__name:"MobileThumbnails",setup(e){const t=lt(),{slides:n,slideIndex:r}=De(t),{sortSlides:i}=gc(),{slidesLoadLimit:o}=py(),a=l=>{t.updateSlideIndex(l)},s=l=>{const{newIndex:u,oldIndex:c}=l;u===void 0||c===void 0||u===c||i(u,c)};return(l,u)=>(U(),te("div",Jje,[O(z(HP),{class:"thumbnail-list",modelValue:z(n),animation:200,scroll:!0,scrollSensitivity:50,delayOnTouchOnly:!0,delay:800,itemKey:"id",onEnd:s},{item:ie(({element:c,index:f})=>[D("div",{class:ze(["thumbnail-item",{active:z(r)===f}]),onClick:d=>a(f)},[D("div",jje,pt(f+1),1),O(dl,{class:"thumbnail",slide:c,size:120,visible:f<z(o)},null,8,["slide","visible"])],10,$je)]),_:1},8,["modelValue"])]))}}),Yte=Be(qje,[["__scopeId","data-v-f47af55e"]]),eqe={class:"slide-toolbar"},tqe={class:"remark"},nqe=["value"],rqe={class:"toolbar"},iqe=Xe({__name:"SlideToolbar",setup(e){const t=lt(),{viewportRatio:n,currentSlide:r,viewportSize:i}=De(t),{createSlide:o,copyAndPasteSlide:a,deleteSlide:s}=gc(),{createTextElement:l,createImageElement:u,createShapeElement:c}=c0(),f=()=>{l({left:(i.value-400)/2,top:(i.value*n.value-56)/2,width:400,height:56},{content:"<p>新添加文本</p>"})},d=g=>{!g||!g[0]||sd(g[0]).then(m=>u(m))},h=g=>{const R={square:{viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z"},round:{viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z"}},A=200;c({left:(i.value-A)/2,top:(i.value*n.value-A)/2,width:A,height:A},R[g])},p=Se(()=>{var g;return((g=r.value)==null?void 0:g.remark)||""}),v=g=>{const m=g.target.value;t.updateSlide({remark:m})};return(g,m)=>{const y=xe("IconPlus"),R=xe("IconCopy"),A=xe("IconDelete"),x=xe("IconFontSize"),S=xe("IconPicture"),_=xe("IconSquare"),M=xe("IconRound");return U(),te("div",eqe,[D("div",tqe,[D("textarea",{value:p.value,placeholder:"点击输入演讲者备注",onInput:m[0]||(m[0]=w=>v(w))},null,40,nqe)]),D("div",rqe,[O(Bn,{class:"row"},{default:ie(()=>[O(et,{style:{flex:"1"},onClick:m[1]||(m[1]=w=>z(o)())},{default:ie(()=>[O(y,{class:"icon"}),Ue(" 新幻灯片")]),_:1}),O(et,{style:{flex:"1"},onClick:m[2]||(m[2]=w=>z(a)())},{default:ie(()=>[O(R,{class:"icon"}),Ue(" 复制")]),_:1}),O(et,{style:{flex:"1"},onClick:m[3]||(m[3]=w=>z(s)())},{default:ie(()=>[O(A,{class:"icon"}),Ue(" 删除")]),_:1})]),_:1}),O(Bn,{class:"row"},{default:ie(()=>[O(et,{style:{flex:"1"},onClick:m[4]||(m[4]=w=>f())},{default:ie(()=>[O(x,{class:"icon"}),Ue(" 文字")]),_:1}),O(et,{style:{flex:"1"}},{default:ie(()=>[O($h,{onChange:m[5]||(m[5]=w=>d(w))},{default:ie(()=>[O(S,{class:"icon"}),Ue("图片 ")]),_:1})]),_:1}),O(et,{style:{flex:"1"},onClick:m[6]||(m[6]=w=>h("square"))},{default:ie(()=>[O(_,{class:"icon"}),Ue(" 矩形")]),_:1}),O(et,{style:{flex:"1"},onClick:m[7]||(m[7]=w=>h("round"))},{default:ie(()=>[O(M,{class:"icon"}),Ue(" 圆形")]),_:1})]),_:1})]),O(Yte)])}}}),oqe=Be(iqe,[["__scopeId","data-v-34808e39"]]),Zte=e=>(en("data-v-14deecba"),e=e(),tn(),e),aqe={class:"element-toolbar"},sqe={class:"content"},lqe={key:0,class:"style"},uqe={class:"row-block"},cqe=Zte(()=>D("div",{class:"label"},"文字颜色:",-1)),fqe={class:"colors"},dqe=["onClick"],hqe={class:"row-block"},pqe=Zte(()=>D("div",{class:"label"},"填充色:",-1)),vqe={class:"colors"},gqe=["onClick"],mqe={key:1,class:"common"},yqe=Xe({__name:"ElementToolbar",setup(e){const t=["#000000","#ffffff","#eeece1","#1e497b","#4e81bb","#e2534d","#9aba60","#8165a0","#47acc5","#f9974c","#c21401","#ff1e02","#ffc12a","#ffff3a","#90cf5b","#00af57"],n=ht(),r=lt(),{handleElement:i,handleElementId:o,richTextAttrs:a}=De(n),{addHistorySnapshot:s}=nn(),l=(R,A)=>{r.updateElement({id:R,props:A}),s()},u=[{key:"style",label:"样式"},{key:"common",label:"布局"}],c=pe("common"),{orderElement:f}=K2(),{alignElementToCanvas:d}=m3(),{addElementsFromData:h}=Q2(),{deleteElement:p}=H2(),v=()=>{const R=JSON.parse(JSON.stringify(i.value));h([R])},g=(R,A)=>{Hi.emit(Ti.RICH_TEXT_COMMAND,{action:{command:R,value:A}})},m=R=>{var A;if(i.value){if((i.value.type==="text"||i.value.type==="shape"&&((A=i.value.text)!=null&&A.content))&&Hi.emit(Ti.RICH_TEXT_COMMAND,{action:{command:"color",value:R}}),i.value.type==="table"){const x=JSON.parse(JSON.stringify(i.value.data));for(let S=0;S<x.length;S++)for(let _=0;_<x[S].length;_++){const M=x[S][_].style||{};x[S][_].style={...M,color:R}}l(o.value,{data:x})}i.value.type==="latex"&&l(o.value,{color:R})}},y=R=>{if(i.value){if((i.value.type==="text"||i.value.type==="shape"||i.value.type==="chart")&&l(o.value,{fill:R}),i.value.type==="table"){const A=JSON.parse(JSON.stringify(i.value.data));for(let x=0;x<A.length;x++)for(let S=0;S<A[x].length;S++){const _=A[x][S].style||{};A[x][S].style={..._,backcolor:R}}l(o.value,{data:A})}i.value.type==="audio"&&l(o.value,{color:R})}};return(R,A)=>{const x=xe("IconTextBold"),S=xe("IconTextItalic"),_=xe("IconTextUnderline"),M=xe("IconStrikethrough"),w=xe("IconFontSize"),L=xe("IconAlignTextLeft"),k=xe("IconAlignTextCenter"),P=xe("IconAlignTextRight"),F=xe("IconCopy"),C=xe("IconDelete"),N=xe("IconSendToBack"),I=xe("IconBringToFrontOne"),V=xe("IconBringToFront"),W=xe("IconSentToBack"),Z=xe("IconAlignLeft"),re=xe("IconAlignVertically"),Y=xe("IconAlignRight"),B=xe("IconAlignTop"),Q=xe("IconAlignHorizontally"),K=xe("IconAlignBottom");return U(),te("div",aqe,[O(hl,{tabs:u,value:c.value,"onUpdate:value":A[0]||(A[0]=q=>c.value=q),tabsStyle:{marginBottom:"8px"},tabStyle:{width:"30%",margin:"0 10%"}},null,8,["value"]),D("div",sqe,[c.value==="style"?(U(),te("div",lqe,[O(Bn,{class:"row"},{default:ie(()=>[O(Qr,{style:{flex:"1"},checked:z(a).bold,onClick:A[1]||(A[1]=q=>g("bold"))},{default:ie(()=>[O(x)]),_:1},8,["checked"]),O(Qr,{style:{flex:"1"},checked:z(a).em,onClick:A[2]||(A[2]=q=>g("em"))},{default:ie(()=>[O(S)]),_:1},8,["checked"]),O(Qr,{style:{flex:"1"},checked:z(a).underline,onClick:A[3]||(A[3]=q=>g("underline"))},{default:ie(()=>[O(_)]),_:1},8,["checked"]),O(Qr,{style:{flex:"1"},checked:z(a).strikethrough,onClick:A[4]||(A[4]=q=>g("strikethrough"))},{default:ie(()=>[O(M)]),_:1},8,["checked"])]),_:1}),O(Bn,{class:"row"},{default:ie(()=>[O(et,{style:{flex:"1"},onClick:A[5]||(A[5]=q=>g("fontsize-add"))},{default:ie(()=>[O(w),Ue("+")]),_:1}),O(et,{style:{flex:"1"},onClick:A[6]||(A[6]=q=>g("fontsize-reduce"))},{default:ie(()=>[O(w),Ue("-")]),_:1})]),_:1}),O(Zt,{margin:20}),O(Au,{class:"row","button-style":"solid",value:z(a).align,"onUpdate:value":A[7]||(A[7]=q=>g("align",q))},{default:ie(()=>[O(zn,{value:"left",style:{flex:"1"}},{default:ie(()=>[O(L)]),_:1}),O(zn,{value:"center",style:{flex:"1"}},{default:ie(()=>[O(k)]),_:1}),O(zn,{value:"right",style:{flex:"1"}},{default:ie(()=>[O(P)]),_:1})]),_:1},8,["value"]),O(Zt,{margin:20}),D("div",uqe,[cqe,D("div",fqe,[(U(),te(We,null,nt(t,q=>D("div",{class:"color",key:q,onClick:j=>m(q)},[D("div",{class:"color-block",style:Le({backgroundColor:q})},null,4)],8,dqe)),64))])]),D("div",hqe,[pqe,D("div",vqe,[(U(),te(We,null,nt(t,q=>D("div",{class:"color",key:q,onClick:j=>y(q)},[D("div",{class:"color-block",style:Le({backgroundColor:q})},null,4)],8,gqe)),64))])])])):Ye("",!0),c.value==="common"?(U(),te("div",mqe,[O(Bn,{class:"row"},{default:ie(()=>[O(et,{style:{flex:"1"},onClick:A[8]||(A[8]=q=>v())},{default:ie(()=>[O(F,{class:"icon"}),Ue(" 复制")]),_:1}),O(et,{style:{flex:"1"},onClick:A[9]||(A[9]=q=>z(p)())},{default:ie(()=>[O(C,{class:"icon"}),Ue(" 删除")]),_:1})]),_:1}),O(Zt,{margin:20}),O(Bn,{class:"row"},{default:ie(()=>[O(et,{style:{flex:"1"},onClick:A[10]||(A[10]=q=>z(f)(z(i),z(Wr).TOP))},{default:ie(()=>[O(N,{class:"icon"}),Ue(" 置顶")]),_:1}),O(et,{style:{flex:"1"},onClick:A[11]||(A[11]=q=>z(f)(z(i),z(Wr).BOTTOM))},{default:ie(()=>[O(I,{class:"icon"}),Ue(" 置底")]),_:1}),O(et,{style:{flex:"1"},onClick:A[12]||(A[12]=q=>z(f)(z(i),z(Wr).UP))},{default:ie(()=>[O(V,{class:"icon"}),Ue(" 上移")]),_:1}),O(et,{style:{flex:"1"},onClick:A[13]||(A[13]=q=>z(f)(z(i),z(Wr).DOWN))},{default:ie(()=>[O(W,{class:"icon"}),Ue(" 下移")]),_:1})]),_:1}),O(Zt,{margin:20}),O(Bn,{class:"row"},{default:ie(()=>[O(et,{style:{flex:"1"},onClick:A[14]||(A[14]=q=>z(d)(z(pn).LEFT))},{default:ie(()=>[O(Z,{class:"icon"}),Ue(" 左对齐")]),_:1}),O(et,{style:{flex:"1"},onClick:A[15]||(A[15]=q=>z(d)(z(pn).HORIZONTAL))},{default:ie(()=>[O(re,{class:"icon"}),Ue(" 水平居中")]),_:1}),O(et,{style:{flex:"1"},onClick:A[16]||(A[16]=q=>z(d)(z(pn).RIGHT))},{default:ie(()=>[O(Y,{class:"icon"}),Ue(" 右对齐")]),_:1})]),_:1}),O(Bn,{class:"row"},{default:ie(()=>[O(et,{style:{flex:"1"},onClick:A[17]||(A[17]=q=>z(d)(z(pn).TOP))},{default:ie(()=>[O(B,{class:"icon"}),Ue(" 上对齐")]),_:1}),O(et,{style:{flex:"1"},onClick:A[18]||(A[18]=q=>z(d)(z(pn).VERTICAL))},{default:ie(()=>[O(Q,{class:"icon"}),Ue(" 垂直居中")]),_:1}),O(et,{style:{flex:"1"},onClick:A[19]||(A[19]=q=>z(d)(z(pn).BOTTOM))},{default:ie(()=>[O(K,{class:"icon"}),Ue(" 下对齐")]),_:1})]),_:1})])):Ye("",!0)])])}}}),Aqe=Be(yqe,[["__scopeId","data-v-14deecba"]]),Rqe={class:"mobile-editor-header"},bqe={class:"history"},xqe=Xe({__name:"Header",props:{changeMode:{type:Function}},setup(e){const{canUndo:t,canRedo:n}=De(JS()),{redo:r,undo:i}=nn();return(o,a)=>{const s=xe("IconBack"),l=xe("IconNext"),u=xe("IconLogout");return U(),te("div",Rqe,[D("div",bqe,[D("div",{class:ze(["history-item",{disable:!z(t)}]),onClick:a[0]||(a[0]=Ft(c=>z(i)(),["stop"]))},[O(s),Ue(" 撤销")],2),D("div",{class:ze(["history-item",{disable:!z(n)}]),onClick:a[1]||(a[1]=Ft(c=>z(r)(),["stop"]))},[O(l),Ue(" 重做")],2)]),D("div",{class:"back",onClick:a[2]||(a[2]=c=>o.changeMode("preview"))},[O(u),Ue(" 退出编辑")])])}}}),Sqe=Be(xqe,[["__scopeId","data-v-091403e4"]]),wqe={class:"mobile-editor"},Mqe=Xe({__name:"index",props:{changeMode:{type:Function}},setup(e){const t=lt(),n=ht(),{slideIndex:r,currentSlide:i,viewportRatio:o,viewportSize:a}=De(t),{activeElementIdList:s,handleElement:l}=De(n),u=pe(),c=pe(),f=pe([]),d=Se(()=>i.value.background),{backgroundStyle:h}=t4(d),p=Se(()=>{if(!u.value)return 1;const _=u.value.clientWidth,M=u.value.clientHeight;return M/_>=o.value?(_-20)/a.value:(M-20)/o.value/a.value});Ht(()=>{s.value.length&&n.setActiveElementIdList([]),r.value!==0&&t.updateSlideIndex(0)});const v=Se(()=>({width:a.value*p.value+"px",height:a.value*o.value*p.value+"px"})),g=pe([]);Wv(()=>{g.value=i.value?JSON.parse(JSON.stringify(i.value.elements)):[]});const{dragElement:y}=cz(g,f,p),{scaleElement:R}=uz(g,f,p),{rotateElement:A}=sz(g,c,p),x=(_,M,w=!0)=>{s.value.includes(M.id)||(n.setActiveElementIdList([M.id]),n.setHandleElementId(M.id)),w&&y(_,M)},S=()=>{n.setActiveElementIdList([])};return(_,M)=>(U(),te("div",wqe,[O(Sqe,{changeMode:_.changeMode},null,8,["changeMode"]),D("div",{class:"content",ref_key:"contentRef",ref:u,onTouchstart:M[0]||(M[0]=w=>S())},[D("div",{class:"viewport-wrapper",style:Le(v.value)},[D("div",{class:"background",style:Le(z(h))},null,4),(U(!0),te(We,null,nt(f.value,(w,L)=>(U(),_e(Mee,{key:L,type:w.type,axis:w.axis,length:w.length,canvasScale:p.value},null,8,["type","axis","length","canvasScale"]))),128)),(U(!0),te(We,null,nt(g.value,w=>(U(),te(We,{key:w.id},[w.type!=="line"?(U(),_e(zje,{key:0,elementInfo:w,isSelected:z(s).includes(w.id),canvasScale:p.value,scaleElement:z(R),rotateElement:z(A)},null,8,["elementInfo","isSelected","canvasScale","scaleElement","rotateElement"])):Ye("",!0)],64))),128)),D("div",{class:"viewport",ref_key:"viewportRef",ref:c,style:Le({transform:`scale(${p.value})`})},[(U(!0),te(We,null,nt(g.value,(w,L)=>(U(),_e(Kje,{key:w.id,elementInfo:w,elementIndex:L+1,selectElement:x},null,8,["elementInfo","elementIndex"]))),128))],4)],4)],544),O(oqe),z(l)?(U(),_e(Aqe,{key:0})):Ye("",!0)]))}}),Lqe=Be(Mqe,[["__scopeId","data-v-94103018"]]),Tqe={class:"header"},_qe=Xe({__name:"MobilePlayer",props:{changeMode:{type:Function}},setup(e){const t=lt(),{slides:n,slideIndex:r,viewportRatio:i}=De(t),{slidesWithTurningMode:o}=Vte(),a=pe(!1),s=pe({width:0,height:0});Ht(()=>{r.value!==0&&t.updateSlideIndex(0),s.value={width:document.body.clientHeight,height:document.body.clientWidth}});const l=Se(()=>{const d=s.value.height/s.value.width;let h=0,p=0;return d>=i.value?(h=s.value.width,p=h*i.value):(p=s.value.height,h=p/i.value),{width:h,height:p}}),u=pe(null),c=d=>{u.value={x:d.changedTouches[0].pageX,y:d.changedTouches[0].pageY}},f=d=>{if(!u.value)return;const h=Math.abs(u.value.y-d.changedTouches[0].pageY),p=d.changedTouches[0].pageX-u.value.x;Math.abs(p)>h&&Math.abs(p)>50&&(u.value=null,p<0&&r.value>0&&t.updateSlideIndex(r.value-1),p>0&&r.value<n.value.length-1&&t.updateSlideIndex(r.value+1))};return(d,h)=>{const p=xe("IconLogout");return U(),te("div",{class:"mobile-player",style:Le({width:s.value.width+"px",height:s.value.height+"px",transform:`rotate(90deg) translateY(-${s.value.height}px)`})},[D("div",{class:"screen-slide-list",onClick:h[0]||(h[0]=v=>a.value=!a.value),onTouchstart:h[1]||(h[1]=v=>c(v)),onTouchend:h[2]||(h[2]=v=>f(v))},[(U(!0),te(We,null,nt(z(o),(v,g)=>(U(),te("div",{class:ze(["slide-item",`turning-mode-${v.turningMode||"slideY"}`,{current:g===z(r),before:g<z(r),after:g>z(r),hide:(g===z(r)-1||g===z(r)+1)&&v.turningMode!==z(o)[z(r)].turningMode,last:g===z(r)-1,next:g===z(r)+1}]),key:v.id},[Math.abs(z(r)-g)<2?(U(),te("div",{key:0,class:"slide-content",style:Le({width:l.value.width+"px",height:l.value.height+"px"})},[O(dl,{slide:v,size:l.value.width},null,8,["slide","size"])],4)):Ye("",!0)],2))),128))],32),a.value?(U(),te(We,{key:0},[D("div",Tqe,[D("div",{class:"back",onClick:h[3]||(h[3]=v=>d.changeMode("preview"))},[O(p),Ue(" 退出播放")])]),O(Yte,{class:"thumbnails"})],64)):Ye("",!0)],4)}}}),Oqe=Be(_qe,[["__scopeId","data-v-ed5ce6c4"]]),kqe={class:"thumbnail-list"},Pqe={class:"menu"},Cqe=Xe({__name:"MobilePreview",props:{changeMode:{type:Function}},setup(e){const{slides:t}=De(lt()),{slidesLoadLimit:n}=py(),r=pe(),i=pe(0);return Ht(()=>{r.value&&(i.value=r.value.clientWidth)}),(o,a)=>{const s=xe("IconEdit"),l=xe("IconFullScreenPlay");return U(),te("div",{class:"mobile-preview",ref_key:"mobileRef",ref:r},[D("div",kqe,[(U(!0),te(We,null,nt(z(t),(u,c)=>(U(),te("div",{class:"thumbnail-item",key:u.id},[O(dl,{slide:u,size:i.value-20,visible:c<z(n)},null,8,["slide","size","visible"])]))),128))]),D("div",Pqe,[D("div",{class:"menu-item",onClick:a[0]||(a[0]=u=>o.changeMode("editor"))},[O(s,{class:"icon"}),Ue(" 编辑")]),O(Zt,{type:"vertical",style:{height:"30px"}}),D("div",{class:"menu-item",onClick:a[1]||(a[1]=u=>o.changeMode("player"))},[O(l,{class:"icon"}),Ue(" 播放")])])],512)}}}),Iqe=Be(Cqe,[["__scopeId","data-v-99aa0ac4"]]),Nqe={class:"mobile"},Fqe=Xe({__name:"index",setup(e){const t=pe("preview"),n=i=>t.value=i,r=Se(()=>({editor:Lqe,player:Oqe,preview:Iqe})[t.value]||null);return(i,o)=>(U(),te("div",Nqe,[(U(),_e(Ru(r.value),{changeMode:n}))]))}}),Eqe=Be(Fqe,[["__scopeId","data-v-d02011cb"]]),Xqe=Xe({__name:"App",setup(e){const t=$pe(),n=ht(),r=lt(),i=JS(),{databaseId:o}=De(n),{slides:a}=De(r),{screening:s}=De(rH());return window.onbeforeunload=()=>!1,Ht(async()=>{if(location.hostname==="localhost"){gn.error("请访问 http://127.0.0.1:5173/ 进入开发环境",{duration:0});return}$g.getFileData("slides").then(l=>{r.setSlides(l)}),$g.getFileData("layouts").then(l=>{r.setLayouts(l)}),await zpe(),i.initSnapshotDatabase()}),window.addEventListener("unload",()=>{const l=localStorage.getItem(yx),u=l?JSON.parse(l):[];u.push(o.value);const c=JSON.stringify(u);localStorage.setItem(yx,c)}),(l,u)=>z(a).length?(U(),te(We,{key:0},[z(s)?(U(),_e(Hje,{key:0})):z(t)?(U(),_e(F$e,{key:1})):(U(),_e(Eqe,{key:2}))],64)):(U(),_e(ey,{key:1,tip:"数据初始化中,请稍等 ...",loading:"",mask:!1}))}}),Wqe={class:"menu-content"},Vqe=["onClick"],Dqe={class:"text"},Uqe={key:0,class:"sub-text"},Bqe=Xe({__name:"MenuContent",props:{menus:{},handleClickMenuItem:{type:Function}},setup(e){return(t,n)=>{const r=xe("menu-content",!0);return U(),te("ul",Wqe,[(U(!0),te(We,null,nt(t.menus,(i,o)=>(U(),te(We,{key:i.text||o},[i.hide?Ye("",!0):(U(),te("li",{key:0,class:ze(["menu-item",{divider:i.divider,disable:i.disable}]),onClick:Ft(a=>t.handleClickMenuItem(i),["stop"])},[i.divider?Ye("",!0):(U(),te("div",{key:0,class:ze(["menu-item-content",{"has-children":i.children,"has-handler":i.handler}])},[D("span",Dqe,pt(i.text),1),i.subText&&!i.children?(U(),te("span",Uqe,pt(i.subText),1)):Ye("",!0),i.children&&i.children.length?(U(),_e(r,{key:1,class:"sub-menu",menus:i.children,handleClickMenuItem:t.handleClickMenuItem},null,8,["menus","handleClickMenuItem"])):Ye("",!0)],2))],10,Vqe))],64))),128))])}}}),Yqe=Be(Bqe,[["__scopeId","data-v-d336650d"]]),Zqe=Xe({__name:"index",props:{axis:{},el:{},menus:{},removeContextmenu:{type:Function}},setup(e){const t=e,n=Se(()=>{const{x:l,y:u}=t.axis,c=t.menus.filter(g=>!(g.divider||g.hide)).length,f=t.menus.filter(g=>g.divider).length,d=180,h=c*30+f*11+5*2,p=document.body.clientWidth,v=document.body.clientHeight;return{left:p<=l+d?l-d:l,top:v<=u+h?u-h:u}}),r=i=>{i.disable||i.children&&!i.handler||(i.handler&&i.handler(t.el),t.removeContextmenu())};return(i,o)=>(U(),te(We,null,[D("div",{class:"mask",onContextmenu:o[0]||(o[0]=Ft(a=>i.removeContextmenu(),["prevent"])),onMousedown:o[1]||(o[1]=Ft(a=>i.removeContextmenu(),["left"]))},null,32),D("div",{class:"contextmenu",style:Le({left:n.value.left+"px",top:n.value.top+"px"}),onContextmenu:o[2]||(o[2]=Ft(()=>{},["prevent"]))},[O(Yqe,{menus:i.menus,handleClickMenuItem:r},null,8,["menus"])],36)],64))}}),ng="CTX_CONTEXTMENU_HANDLER",Qqe=(e,t,n)=>{t.stopPropagation(),t.preventDefault();const r=n.value(e);if(!r)return;let i=null;const o=()=>{i&&(document.body.removeChild(i),i=null),e.classList.remove("contextmenu-active"),document.body.removeEventListener("scroll",o),window.removeEventListener("resize",o)},a={axis:{x:t.x,y:t.y},el:e,menus:r,removeContextmenu:o};i=document.createElement("div");const s=O(Zqe,a,null);vv(s,i),document.body.appendChild(i),e.classList.add("contextmenu-active"),document.body.addEventListener("scroll",o),window.addEventListener("resize",o)},Hqe={mounted(e,t){e[ng]=n=>Qqe(e,n,t),e.addEventListener("contextmenu",e[ng])},unmounted(e){e&&e[ng]&&(e.removeEventListener("contextmenu",e[ng]),delete e[ng])}},rg="CTX_CLICK_OUTSIDE_HANDLER",Kqe=(e,t,n)=>{const r=n.value,i=t.composedPath();(i?i.indexOf(e)<0:!e.contains(t.target))&&r(t)},Gqe={mounted(e,t){e[rg]=n=>Kqe(e,n,t),setTimeout(()=>{document.addEventListener("click",e[rg])},0)},unmounted(e){e[rg]&&(document.removeEventListener("click",e[rg]),delete e[rg])}},ig="TOOLTIP_INSTANCE",zqe={mounted(e,t){let n="",r="top",i=[300,0];typeof t.value=="string"?n=t.value:(n=t.value.content,t.value.placement!==void 0&&(r=t.value.placement),t.value.delay!==void 0&&(i=t.value.delay)),e[ig]=h0(e,{content:n,theme:"tooltip",duration:100,animation:"scale",allowHTML:!0,placement:r,delay:i})},updated(e,t){let n="";typeof t.value=="string"?n=t.value:n=t.value.content,e[ig]&&e[ig].setContent(n)},unmounted(e){e[ig]&&e[ig].destroy()}},Jqe={install(e){e.directive("contextmenu",Hqe),e.directive("click-outside",Gqe),e.directive("tooltip",zqe)}},y4=yZ(Xqe);y4.use(Age);y4.use(Jqe);y4.use(Tde());y4.mount("#app");
|