PPTist/assets/index-f7FeY3vP.js

317 lines
2.1 MiB
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

var yZ=Object.defineProperty;var xZ=(e,t,n)=>t in e?yZ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var WA=(e,t,n)=>(xZ(e,typeof t!="symbol"?t+"":t,n),n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function Ag(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const Yn={},rd=[],Io=()=>{},bZ=()=>!1,hp=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Lx=e=>e.startsWith("onUpdate:"),ar=Object.assign,Ox=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},SZ=Object.prototype.hasOwnProperty,On=(e,t)=>SZ.call(e,t),Mt=Array.isArray,od=e=>Ed(e)==="[object Map]",Qu=e=>Ed(e)==="[object Set]",mS=e=>Ed(e)==="[object Date]",MZ=e=>Ed(e)==="[object RegExp]",Dt=e=>typeof e=="function",sr=e=>typeof e=="string",dc=e=>typeof e=="symbol",Bn=e=>e!==null&&typeof e=="object",Tx=e=>(Bn(e)||Dt(e))&&Dt(e.then)&&Dt(e.catch),p7=Object.prototype.toString,Ed=e=>p7.call(e),wZ=e=>Ed(e).slice(8,-1),m7=e=>Ed(e)==="[object Object]",kx=e=>sr(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,oh=Ag(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Rg=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},LZ=/-(\w)/g,Fo=Rg(e=>e.replace(LZ,(t,n)=>n?n.toUpperCase():"")),OZ=/\B([A-Z])/g,Hi=Rg(e=>e.replace(OZ,"-$1").toLowerCase()),pp=Rg(e=>e.charAt(0).toUpperCase()+e.slice(1)),ih=Rg(e=>e?`on${pp(e)}`:""),Ca=(e,t)=>!Object.is(e,t),id=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},fv=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},dv=e=>{const t=parseFloat(e);return isNaN(t)?e:t},hv=e=>{const t=sr(e)?Number(e):NaN;return isNaN(t)?e:t};let vS;const v7=()=>vS||(vS=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),TZ="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",kZ=Ag(TZ);function we(e){if(Mt(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=sr(r)?IZ(r):we(r);if(o)for(const i in o)t[i]=o[i]}return t}else if(sr(e)||Bn(e))return e}const NZ=/;(?![^(]*\))/g,PZ=/:([^]+)/,CZ=/\/\*[^]*?\*\//g;function IZ(e){const t={};return e.replace(CZ,"").split(NZ).forEach(n=>{if(n){const r=n.split(PZ);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function $e(e){let t="";if(sr(e))t=e;else if(Mt(e))for(let n=0;n<e.length;n++){const r=$e(e[n]);r&&(t+=r+" ")}else if(Bn(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function FZ(e){if(!e)return null;let{class:t,style:n}=e;return t&&!sr(t)&&(e.class=$e(t)),n&&(e.style=we(n)),e}const _Z="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",XZ=Ag(_Z);function g7(e){return!!e||e===""}function EZ(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=hc(e[r],t[r]);return n}function hc(e,t){if(e===t)return!0;let n=mS(e),r=mS(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=dc(e),r=dc(t),n||r)return e===t;if(n=Mt(e),r=Mt(t),n||r)return n&&r?EZ(e,t):!1;if(n=Bn(e),r=Bn(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,i=Object.keys(t).length;if(o!==i)return!1;for(const a in e){const s=e.hasOwnProperty(a),c=t.hasOwnProperty(a);if(s&&!c||!s&&c||!hc(e[a],t[a]))return!1}}return String(e)===String(t)}function yg(e,t){return e.findIndex(n=>hc(n,t))}const bt=e=>sr(e)?e:e==null?"":Mt(e)||Bn(e)&&(e.toString===p7||!Dt(e.toString))?JSON.stringify(e,A7,2):String(e),A7=(e,t)=>t&&t.__v_isRef?A7(e,t.value):od(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],i)=>(n[VA(r,i)+" =>"]=o,n),{})}:Qu(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>VA(n))}:dc(t)?VA(t):Bn(t)&&!Mt(t)&&!m7(t)?String(t):t,VA=(e,t="")=>{var n;return dc(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let yi;class Nx{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=yi,!t&&yi&&(this.index=(yi.scopes||(yi.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=yi;try{return yi=this,t()}finally{yi=n}}}on(){yi=this}off(){yi=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 o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function Px(e){return new Nx(e)}function R7(e,t=yi){t&&t.active&&t.effects.push(e)}function Cx(){return yi}function y7(e){yi&&yi.cleanups.push(e)}let uu;class Ad{constructor(t,n,r,o){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=3,this._trackId=0,this._runnings=0,this._queryings=0,this._depsLength=0,R7(this,o)}get dirty(){if(this._dirtyLevel===1){this._dirtyLevel=0,this._queryings++,Zu();for(const t of this.deps)if(t.computed&&(WZ(t.computed),this._dirtyLevel>=2))break;Bu(),this._queryings--}return this._dirtyLevel>=2}set dirty(t){this._dirtyLevel=t?3:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=ic,n=uu;try{return ic=!0,uu=this,this._runnings++,gS(this),this.fn()}finally{AS(this),this._runnings--,uu=n,ic=t}}stop(){var t;this.active&&(gS(this),AS(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function WZ(e){return e.value}function gS(e){e._trackId++,e._depsLength=0}function AS(e){if(e.deps&&e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)x7(e.deps[t],e);e.deps.length=e._depsLength}}function x7(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}function VZ(e,t){e.effect instanceof Ad&&(e=e.effect.fn);const n=new Ad(e,Io,()=>{n.dirty&&n.run()});t&&(ar(n,t),t.scope&&R7(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function UZ(e){e.effect.stop()}let ic=!0,A4=0;const b7=[];function Zu(){b7.push(ic),ic=!1}function Bu(){const e=b7.pop();ic=e===void 0?!0:e}function Ix(){A4++}function Fx(){for(A4--;!A4&&R4.length;)R4.shift()()}function S7(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&x7(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const R4=[];function M7(e,t,n){Ix();for(const r of e.keys())if(!(!r.allowRecurse&&r._runnings)&&r._dirtyLevel<t&&(!r._runnings||t!==2)){const o=r._dirtyLevel;r._dirtyLevel=t,o===0&&(!r._queryings||t!==2)&&(r.trigger(),r.scheduler&&R4.push(r.scheduler))}Fx()}const w7=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},pv=new WeakMap,fu=Symbol(""),y4=Symbol("");function oi(e,t,n){if(ic&&uu){let r=pv.get(e);r||pv.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=w7(()=>r.delete(n))),S7(uu,o)}}function el(e,t,n,r,o,i){const a=pv.get(e);if(!a)return;let s=[];if(t==="clear")s=[...a.values()];else if(n==="length"&&Mt(e)){const c=Number(r);a.forEach((l,u)=>{(u==="length"||!dc(u)&&u>=c)&&s.push(l)})}else switch(n!==void 0&&s.push(a.get(n)),t){case"add":Mt(e)?kx(n)&&s.push(a.get("length")):(s.push(a.get(fu)),od(e)&&s.push(a.get(y4)));break;case"delete":Mt(e)||(s.push(a.get(fu)),od(e)&&s.push(a.get(y4)));break;case"set":od(e)&&s.push(a.get(fu));break}Ix();for(const c of s)c&&M7(c,3);Fx()}function YZ(e,t){var n;return(n=pv.get(e))==null?void 0:n.get(t)}const QZ=Ag("__proto__,__v_isRef,__isVue"),L7=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(dc)),RS=ZZ();function ZZ(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=pn(this);for(let i=0,a=this.length;i<a;i++)oi(r,"get",i+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map(pn)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Zu(),Ix();const r=pn(this)[t].apply(this,n);return Fx(),Bu(),r}}),e}function BZ(e){const t=pn(this);return oi(t,"has",e),t.hasOwnProperty(e)}class O7{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,r){const o=this._isReadonly,i=this._shallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(o?i?I7:C7:i?P7:N7).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=Mt(t);if(!o){if(a&&On(RS,n))return Reflect.get(RS,n,r);if(n==="hasOwnProperty")return BZ}const s=Reflect.get(t,n,r);return(dc(n)?L7.has(n):QZ(n))||(o||oi(t,"get",n),i)?s:lr(s)?a&&kx(n)?s:s.value:Bn(s)?o?Xx(s):mp(s):s}}class T7 extends O7{constructor(t=!1){super(!1,t)}set(t,n,r,o){let i=t[n];if(!this._shallow){const c=wu(i);if(!nu(r)&&!wu(r)&&(i=pn(i),r=pn(r)),!Mt(t)&&lr(i)&&!lr(r))return c?!1:(i.value=r,!0)}const a=Mt(t)&&kx(n)?Number(n)<t.length:On(t,n),s=Reflect.set(t,n,r,o);return t===pn(o)&&(a?Ca(r,i)&&el(t,"set",n,r):el(t,"add",n,r)),s}deleteProperty(t,n){const r=On(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&el(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!dc(n)||!L7.has(n))&&oi(t,"has",n),r}ownKeys(t){return oi(t,"iterate",Mt(t)?"length":fu),Reflect.ownKeys(t)}}class k7 extends O7{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const DZ=new T7,KZ=new k7,HZ=new T7(!0),GZ=new k7(!0),_x=e=>e,xg=e=>Reflect.getPrototypeOf(e);function Y1(e,t,n=!1,r=!1){e=e.__v_raw;const o=pn(e),i=pn(t);n||(Ca(t,i)&&oi(o,"get",t),oi(o,"get",i));const{has:a}=xg(o),s=r?_x:n?Wx:Eh;if(a.call(o,t))return s(e.get(t));if(a.call(o,i))return s(e.get(i));e!==o&&e.get(t)}function Q1(e,t=!1){const n=this.__v_raw,r=pn(n),o=pn(e);return t||(Ca(e,o)&&oi(r,"has",e),oi(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Z1(e,t=!1){return e=e.__v_raw,!t&&oi(pn(e),"iterate",fu),Reflect.get(e,"size",e)}function yS(e){e=pn(e);const t=pn(this);return xg(t).has.call(t,e)||(t.add(e),el(t,"add",e,e)),this}function xS(e,t){t=pn(t);const n=pn(this),{has:r,get:o}=xg(n);let i=r.call(n,e);i||(e=pn(e),i=r.call(n,e));const a=o.call(n,e);return n.set(e,t),i?Ca(t,a)&&el(n,"set",e,t):el(n,"add",e,t),this}function bS(e){const t=pn(this),{has:n,get:r}=xg(t);let o=n.call(t,e);o||(e=pn(e),o=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return o&&el(t,"delete",e,void 0),i}function SS(){const e=pn(this),t=e.size!==0,n=e.clear();return t&&el(e,"clear",void 0,void 0),n}function B1(e,t){return function(r,o){const i=this,a=i.__v_raw,s=pn(a),c=t?_x:e?Wx:Eh;return!e&&oi(s,"iterate",fu),a.forEach((l,u)=>r.call(o,c(l),c(u),i))}}function D1(e,t,n){return function(...r){const o=this.__v_raw,i=pn(o),a=od(i),s=e==="entries"||e===Symbol.iterator&&a,c=e==="keys"&&a,l=o[e](...r),u=n?_x:t?Wx:Eh;return!t&&oi(i,"iterate",c?y4:fu),{next(){const{value:f,done:d}=l.next();return d?{value:f,done:d}:{value:s?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function bl(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function JZ(){const e={get(i){return Y1(this,i)},get size(){return Z1(this)},has:Q1,add:yS,set:xS,delete:bS,clear:SS,forEach:B1(!1,!1)},t={get(i){return Y1(this,i,!1,!0)},get size(){return Z1(this)},has:Q1,add:yS,set:xS,delete:bS,clear:SS,forEach:B1(!1,!0)},n={get(i){return Y1(this,i,!0)},get size(){return Z1(this,!0)},has(i){return Q1.call(this,i,!0)},add:bl("add"),set:bl("set"),delete:bl("delete"),clear:bl("clear"),forEach:B1(!0,!1)},r={get(i){return Y1(this,i,!0,!0)},get size(){return Z1(this,!0)},has(i){return Q1.call(this,i,!0)},add:bl("add"),set:bl("set"),delete:bl("delete"),clear:bl("clear"),forEach:B1(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=D1(i,!1,!1),n[i]=D1(i,!0,!1),t[i]=D1(i,!1,!0),r[i]=D1(i,!0,!0)}),[e,n,t,r]}const[zZ,jZ,$Z,qZ]=JZ();function bg(e,t){const n=t?e?qZ:$Z:e?jZ:zZ;return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(On(n,o)&&o in r?n:r,o,i)}const eB={get:bg(!1,!1)},tB={get:bg(!1,!0)},nB={get:bg(!0,!1)},rB={get:bg(!0,!0)},N7=new WeakMap,P7=new WeakMap,C7=new WeakMap,I7=new WeakMap;function oB(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function iB(e){return e.__v_skip||!Object.isExtensible(e)?0:oB(wZ(e))}function mp(e){return wu(e)?e:Sg(e,!1,DZ,eB,N7)}function F7(e){return Sg(e,!1,HZ,tB,P7)}function Xx(e){return Sg(e,!0,KZ,nB,C7)}function aB(e){return Sg(e,!0,GZ,rB,I7)}function Sg(e,t,n,r,o){if(!Bn(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const a=iB(e);if(a===0)return e;const s=new Proxy(e,a===2?r:n);return o.set(e,s),s}function ls(e){return wu(e)?ls(e.__v_raw):!!(e&&e.__v_isReactive)}function wu(e){return!!(e&&e.__v_isReadonly)}function nu(e){return!!(e&&e.__v_isShallow)}function Ex(e){return ls(e)||wu(e)}function pn(e){const t=e&&e.__v_raw;return t?pn(t):e}function vp(e){return fv(e,"__v_skip",!0),e}const Eh=e=>Bn(e)?mp(e):e,Wx=e=>Bn(e)?Xx(e):e;class _7{constructor(t,n,r,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Ad(()=>t(this._value),()=>Wh(this,1)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=pn(this);return Vx(t),(!t._cacheable||t.effect.dirty)&&Ca(t._value,t._value=t.effect.run())&&Wh(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function sB(e,t,n=!1){let r,o;const i=Dt(e);return i?(r=e,o=Io):(r=e.get,o=e.set),new _7(r,o,i||!o,n)}function Vx(e){ic&&uu&&(e=pn(e),S7(uu,e.dep||(e.dep=w7(()=>e.dep=void 0,e instanceof _7?e:void 0))))}function Wh(e,t=3,n){e=pn(e);const r=e.dep;r&&M7(r,t)}function lr(e){return!!(e&&e.__v_isRef===!0)}function me(e){return X7(e,!1)}function lB(e){return X7(e,!0)}function X7(e,t){return lr(e)?e:new cB(e,t)}class cB{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:pn(t),this._value=n?t:Eh(t)}get value(){return Vx(this),this._value}set value(t){const n=this.__v_isShallow||nu(t)||wu(t);t=n?t:pn(t),Ca(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Eh(t),Wh(this,3))}}function uB(e){Wh(e,3)}function H(e){return lr(e)?e.value:e}function fB(e){return Dt(e)?e():H(e)}const dB={get:(e,t,n)=>H(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return lr(o)&&!lr(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Ux(e){return ls(e)?e:new Proxy(e,dB)}class hB{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Vx(this),()=>Wh(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function E7(e){return new hB(e)}function W7(e){const t=Mt(e)?new Array(e.length):{};for(const n in e)t[n]=V7(e,n);return t}class pB{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 YZ(pn(this._object),this._key)}}class mB{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Wd(e,t,n){return lr(e)?e:Dt(e)?new mB(e):Bn(e)&&arguments.length>1?V7(e,t,n):me(e)}function V7(e,t,n){const r=e[t];return lr(r)?r:new pB(e,t,n)}const vB={GET:"get",HAS:"has",ITERATE:"iterate"},gB={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"};function AB(e,t){}const RB={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"},yB={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. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function tl(e,t,n,r){let o;try{o=r?e(...r):e()}catch(i){Du(i,t,n)}return o}function Ni(e,t,n,r){if(Dt(e)){const i=tl(e,t,n,r);return i&&Tx(i)&&i.catch(a=>{Du(a,t,n)}),i}const o=[];for(let i=0;i<e.length;i++)o.push(Ni(e[i],t,n,r));return o}function Du(e,t,n,r=!0){const o=t?t.vnode:null;if(t){let i=t.parent;const a=t.proxy,s=`https://vuejs.org/errors/#runtime-${n}`;for(;i;){const l=i.ec;if(l){for(let u=0;u<l.length;u++)if(l[u](e,a,s)===!1)return}i=i.parent}const c=t.appContext.config.errorHandler;if(c){tl(c,null,10,[e,a,s]);return}}xB(e,n,o,r)}function xB(e,t,n,r=!0){console.error(e)}let Vh=!1,x4=!1;const fo=[];let es=0;const ad=[];let Qs=null,$c=0;const U7=Promise.resolve();let Yx=null;function Vr(e){const t=Yx||U7;return e?t.then(this?e.bind(this):e):t}function bB(e){let t=es+1,n=fo.length;for(;t<n;){const r=t+n>>>1,o=fo[r],i=Uh(o);i<e||i===e&&o.pre?t=r+1:n=r}return t}function Mg(e){(!fo.length||!fo.includes(e,Vh&&e.allowRecurse?es+1:es))&&(e.id==null?fo.push(e):fo.splice(bB(e.id),0,e),Y7())}function Y7(){!Vh&&!x4&&(x4=!0,Yx=U7.then(Q7))}function SB(e){const t=fo.indexOf(e);t>es&&fo.splice(t,1)}function mv(e){Mt(e)?ad.push(...e):(!Qs||!Qs.includes(e,e.allowRecurse?$c+1:$c))&&ad.push(e),Y7()}function MS(e,t,n=Vh?es+1:0){for(;n<fo.length;n++){const r=fo[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;fo.splice(n,1),n--,r()}}}function vv(e){if(ad.length){const t=[...new Set(ad)];if(ad.length=0,Qs){Qs.push(...t);return}for(Qs=t,Qs.sort((n,r)=>Uh(n)-Uh(r)),$c=0;$c<Qs.length;$c++)Qs[$c]();Qs=null,$c=0}}const Uh=e=>e.id==null?1/0:e.id,MB=(e,t)=>{const n=Uh(e)-Uh(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Q7(e){x4=!1,Vh=!0,fo.sort(MB);try{for(es=0;es<fo.length;es++){const t=fo[es];t&&t.active!==!1&&tl(t,null,14)}}finally{es=0,fo.length=0,vv(),Vh=!1,Yx=null,(fo.length||ad.length)&&Q7()}}function wB(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Yn;let o=n;const i=t.startsWith("update:"),a=i&&t.slice(7);if(a&&a in r){const u=`${a==="modelValue"?"model":a}Modifiers`,{number:f,trim:d}=r[u]||Yn;d&&(o=n.map(h=>sr(h)?h.trim():h)),f&&(o=n.map(dv))}let s,c=r[s=ih(t)]||r[s=ih(Fo(t))];!c&&i&&(c=r[s=ih(Hi(t))]),c&&Ni(c,e,6,o);const l=r[s+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,Ni(l,e,6,o)}}function Z7(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const i=e.emits;let a={},s=!1;if(!Dt(e)){const c=l=>{const u=Z7(l,t,!0);u&&(s=!0,ar(a,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!s?(Bn(e)&&r.set(e,null),null):(Mt(i)?i.forEach(c=>a[c]=null):ar(a,i),Bn(e)&&r.set(e,a),a)}function wg(e,t){return!e||!hp(t)?!1:(t=t.slice(2).replace(/Once$/,""),On(e,t[0].toLowerCase()+t.slice(1))||On(e,Hi(t))||On(e,t))}let Qr=null,Lg=null;function Yh(e){const t=Qr;return Qr=e,Lg=e&&e.type.__scopeId||null,t}function on(e){Lg=e}function an(){Lg=null}const LB=e=>re;function re(e,t=Qr,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&T4(-1);const i=Yh(t);let a;try{a=e(...o)}finally{Yh(i),r._d&&T4(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function Cm(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:i,propsOptions:[a],slots:s,attrs:c,emit:l,render:u,renderCache:f,data:d,setupState:h,ctx:p,inheritAttrs:m}=e;let A,x;const R=Yh(e);try{if(n.shapeFlag&4){const g=o||r,S=g;A=Si(u.call(S,g,f,i,h,d,p)),x=c}else{const g=t;A=Si(g.length>1?g(i,{attrs:c,slots:s,emit:l}):g(i,null)),x=t.props?c:TB(c)}}catch(g){lh.length=0,Du(g,e,1),A=w(vo)}let y=A;if(x&&m!==!1){const g=Object.keys(x),{shapeFlag:S}=y;g.length&&S&7&&(a&&g.some(Lx)&&(x=kB(x,a)),y=ps(y,x))}return n.dirs&&(y=ps(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),A=y,Yh(R),A}function OB(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(pc(r)){if(r.type!==vo||r.children==="v-if"){if(t)return;t=r}}else return}return t}const TB=e=>{let t;for(const n in e)(n==="class"||n==="style"||hp(n))&&((t||(t={}))[n]=e[n]);return t},kB=(e,t)=>{const n={};for(const r in e)(!Lx(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function NB(e,t,n){const{props:r,children:o,component:i}=e,{props:a,children:s,patchFlag:c}=t,l=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?wS(r,a,l):!!a;if(c&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(a[d]!==r[d]&&!wg(l,d))return!0}}}else return(o||s)&&(!s||!s.$stable)?!0:r===a?!1:r?a?wS(r,a,l):!0:!!a;return!1}function wS(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const i=r[o];if(t[i]!==e[i]&&!wg(n,i))return!0}return!1}function Qx({vnode:e,parent:t},n){if(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 Zx="components",PB="directives";function xe(e,t){return Bx(Zx,e,!0,t)||e}const B7=Symbol.for("v-ndc");function xs(e){return sr(e)?Bx(Zx,e,!1)||e:e||B7}function Ln(e){return Bx(PB,e)}function Bx(e,t,n=!0,r=!1){const o=Qr||Pr;if(o){const i=o.type;if(e===Zx){const s=C4(i,!1);if(s&&(s===t||s===Fo(t)||s===pp(Fo(t))))return i}const a=LS(o[e]||i[e],t)||LS(o.appContext[e],t);return!a&&r?i:a}}function LS(e,t){return e&&(e[t]||e[Fo(t)]||e[pp(Fo(t))])}const D7=e=>e.__isSuspense;let OS=0;const CB={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,a,s,c,l){e==null?FB(t,n,r,o,i,a,s,c,l):_B(e,t,n,r,o,a,s,c,l)},hydrate:XB,create:Dx,normalize:EB},IB=CB;function Qh(e,t){const n=e.props&&e.props[t];Dt(n)&&n()}function FB(e,t,n,r,o,i,a,s,c){const{p:l,o:{createElement:u}}=c,f=u("div"),d=e.suspense=Dx(e,o,r,t,f,n,i,a,s,c);l(null,d.pendingBranch=e.ssContent,f,null,r,d,i,a),d.deps>0?(Qh(e,"onPending"),Qh(e,"onFallback"),l(null,e.ssFallback,t,n,r,null,i,a),sd(d,e.ssFallback)):d.resolve(!1,!0)}function _B(e,t,n,r,o,i,a,s,{p:c,um:l,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:p,pendingBranch:m,isInFallback:A,isHydrating:x}=f;if(m)f.pendingBranch=d,La(d,m)?(c(m,d,f.hiddenContainer,null,o,f,i,a,s),f.deps<=0?f.resolve():A&&(x||(c(p,h,n,r,o,null,i,a,s),sd(f,h)))):(f.pendingId=OS++,x?(f.isHydrating=!1,f.activeBranch=m):l(m,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),A?(c(null,d,f.hiddenContainer,null,o,f,i,a,s),f.deps<=0?f.resolve():(c(p,h,n,r,o,null,i,a,s),sd(f,h))):p&&La(d,p)?(c(p,d,n,r,o,f,i,a,s),f.resolve(!0)):(c(null,d,f.hiddenContainer,null,o,f,i,a,s),f.deps<=0&&f.resolve()));else if(p&&La(d,p))c(p,d,n,r,o,f,i,a,s),sd(f,d);else if(Qh(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=OS++,c(null,d,f.hiddenContainer,null,o,f,i,a,s),f.deps<=0)f.resolve();else{const{timeout:R,pendingId:y}=f;R>0?setTimeout(()=>{f.pendingId===y&&f.fallback(h)},R):R===0&&f.fallback(h)}}function Dx(e,t,n,r,o,i,a,s,c,l,u=!1){const{p:f,m:d,um:h,n:p,o:{parentNode:m,remove:A}}=l;let x;const R=WB(e);R&&t!=null&&t.pendingBranch&&(x=t.pendingId,t.deps++);const y=e.props?hv(e.props.timeout):void 0,g={vnode:e,parent:t,parentComponent:n,namespace:a,container:r,hiddenContainer:o,anchor:i,deps:0,pendingId:0,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(S=!1,L=!1){const{vnode:T,activeBranch:M,pendingBranch:O,pendingId:k,effects:_,parentComponent:N,container:X}=g;let C=!1;if(g.isHydrating)g.isHydrating=!1;else if(!S){C=M&&O.transition&&O.transition.mode==="out-in",C&&(M.transition.afterLeave=()=>{k===g.pendingId&&(d(O,X,p(M),0),mv(_))});let{anchor:V}=g;M&&(V=p(M),h(M,N,g,!0)),C||d(O,X,V,0)}sd(g,O),g.pendingBranch=null,g.isInFallback=!1;let F=g.parent,I=!1;for(;F;){if(F.pendingBranch){F.effects.push(..._),I=!0;break}F=F.parent}!I&&!C&&mv(_),g.effects=[],R&&t&&t.pendingBranch&&x===t.pendingId&&(t.deps--,t.deps===0&&!L&&t.resolve()),Qh(T,"onResolve")},fallback(S){if(!g.pendingBranch)return;const{vnode:L,activeBranch:T,parentComponent:M,container:O,namespace:k}=g;Qh(L,"onFallback");const _=p(T),N=()=>{g.isInFallback&&(f(null,S,O,_,M,null,k,s,c),sd(g,S))},X=S.transition&&S.transition.mode==="out-in";X&&(T.transition.afterLeave=N),g.isInFallback=!0,h(T,M,null,!0),X||N()},move(S,L,T){g.activeBranch&&d(g.activeBranch,S,L,T),g.container=S},next(){return g.activeBranch&&p(g.activeBranch)},registerDep(S,L){const T=!!g.pendingBranch;T&&g.deps++;const M=S.vnode.el;S.asyncDep.catch(O=>{Du(O,S,0)}).then(O=>{if(S.isUnmounted||g.isUnmounted||g.pendingId!==S.suspenseId)return;S.asyncResolved=!0;const{vnode:k}=S;N4(S,O,!1),M&&(k.el=M);const _=!M&&S.subTree.el;L(S,k,m(M||S.subTree.el),M?null:p(S.subTree),g,a,c),_&&A(_),Qx(S,k.el),T&&--g.deps===0&&g.resolve()})},unmount(S,L){g.isUnmounted=!0,g.activeBranch&&h(g.activeBranch,n,S,L),g.pendingBranch&&h(g.pendingBranch,n,S,L)}};return g}function XB(e,t,n,r,o,i,a,s,c){const l=t.suspense=Dx(t,r,n,e.parentNode,document.createElement("div"),null,o,i,a,s,!0),u=c(e,l.pendingBranch=t.ssContent,n,l,i,a);return l.deps===0&&l.resolve(!1,!0),u}function EB(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=TS(r?n.default:n),e.ssFallback=r?TS(n.fallback):w(vo)}function TS(e){let t;if(Dt(e)){const n=Tu&&e._c;n&&(e._d=!1,Q()),e=e(),n&&(e._d=!0,t=jo,Mk())}return Mt(e)&&(e=OB(e)),e=Si(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function K7(e,t){t&&t.pendingBranch?Mt(e)?t.effects.push(...e):t.effects.push(e):mv(e)}function sd(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,o=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=o,Qx(r,o))}function WB(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}const H7=Symbol.for("v-scx"),G7=()=>$o(H7);function Og(e,t){return gp(e,null,t)}function J7(e,t){return gp(e,null,{flush:"post"})}function z7(e,t){return gp(e,null,{flush:"sync"})}const K1={};function Tt(e,t,n){return gp(e,t,n)}function gp(e,t,{immediate:n,deep:r,flush:o,once:i,onTrack:a,onTrigger:s}=Yn){var c;if(t&&i){const S=t;t=(...L)=>{S(...L),g()}}const l=Cx()===((c=Pr)==null?void 0:c.scope)?Pr:null;let u,f=!1,d=!1;if(lr(e)?(u=()=>e.value,f=nu(e)):ls(e)?(u=nu(e)||r===!1?()=>Js(e,1):()=>Js(e),f=!0):Mt(e)?(d=!0,f=e.some(S=>ls(S)||nu(S)),u=()=>e.map(S=>{if(lr(S))return S.value;if(ls(S))return Js(S,nu(S)||r===!1?1:void 0);if(Dt(S))return tl(S,l,2)})):Dt(e)?t?u=()=>tl(e,l,2):u=()=>{if(!(l&&l.isUnmounted))return h&&h(),Ni(e,l,3,[p])}:u=Io,t&&r){const S=u;u=()=>Js(S())}let h,p=S=>{h=y.onStop=()=>{tl(S,l,4),h=y.onStop=void 0}},m;if(Rp)if(p=Io,t?n&&Ni(t,l,3,[u(),d?[]:void 0,p]):u(),o==="sync"){const S=G7();m=S.__watcherHandles||(S.__watcherHandles=[])}else return Io;let A=d?new Array(e.length).fill(K1):K1;const x=()=>{if(!(!y.active||!y.dirty))if(t){const S=y.run();(r||f||(d?S.some((L,T)=>Ca(L,A[T])):Ca(S,A)))&&(h&&h(),Ni(t,l,3,[S,A===K1?void 0:d&&A[0]===K1?[]:A,p]),A=S)}else y.run()};x.allowRecurse=!!t;let R;o==="sync"?R=x:o==="post"?R=()=>$r(x,l&&l.suspense):(x.pre=!0,l&&(x.id=l.uid),R=()=>Mg(x));const y=new Ad(u,Io,R),g=()=>{y.stop(),l&&l.scope&&Ox(l.scope.effects,y)};return t?n?x():A=y.run():o==="post"?$r(y.run.bind(y),l&&l.suspense):y.run(),m&&m.push(g),g}function VB(e,t,n){const r=this.proxy,o=sr(e)?e.includes(".")?j7(r,e):()=>r[e]:e.bind(r,r);let i;Dt(t)?i=t:(i=t.handler,n=t);const a=Pr;mc(this);const s=gp(o,i.bind(r),n);return a?mc(a):ac(),s}function j7(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function Js(e,t,n=0,r){if(!Bn(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),lr(e))Js(e.value,t,n,r);else if(Mt(e))for(let o=0;o<e.length;o++)Js(e[o],t,n,r);else if(Qu(e)||od(e))e.forEach(o=>{Js(o,t,n,r)});else if(m7(e))for(const o in e)Js(e[o],t,n,r);return e}function Ze(e,t){const n=Qr;if(n===null)return e;const r=Cg(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[a,s,c,l=Yn]=t[i];a&&(Dt(a)&&(a={mounted:a,updated:a}),a.deep&&Js(s),o.push({dir:a,instance:r,value:s,oldValue:void 0,arg:c,modifiers:l}))}return e}function za(e,t,n,r){const o=e.dirs,i=t&&t.dirs;for(let a=0;a<o.length;a++){const s=o[a];i&&(s.oldValue=i[a].value);let c=s.dir[r];c&&(Zu(),Ni(c,n,8,[e.el,s,e,t]),Bu())}}const Vl=Symbol("_leaveCb"),H1=Symbol("_enterCb");function Kx(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Gt(()=>{e.isMounted=!0}),Vd(()=>{e.isUnmounting=!0}),e}const Qi=[Function,Array],Hx={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Qi,onEnter:Qi,onAfterEnter:Qi,onEnterCancelled:Qi,onBeforeLeave:Qi,onLeave:Qi,onAfterLeave:Qi,onLeaveCancelled:Qi,onBeforeAppear:Qi,onAppear:Qi,onAfterAppear:Qi,onAppearCancelled:Qi},UB={name:"BaseTransition",props:Hx,setup(e,{slots:t}){const n=cl(),r=Kx();let o;return()=>{const i=t.default&&Tg(t.default(),!0);if(!i||!i.length)return;let a=i[0];if(i.length>1){for(const m of i)if(m.type!==vo){a=m;break}}const s=pn(e),{mode:c}=s;if(r.isLeaving)return UA(a);const l=kS(a);if(!l)return UA(a);const u=Rd(l,s,r,n);Lu(l,u);const f=n.subTree,d=f&&kS(f);let h=!1;const{getTransitionKey:p}=l.type;if(p){const m=p();o===void 0?o=m:m!==o&&(o=m,h=!0)}if(d&&d.type!==vo&&(!La(l,d)||h)){const m=Rd(d,s,r,n);if(Lu(d,m),c==="out-in")return r.isLeaving=!0,m.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},UA(a);c==="in-out"&&l.type!==vo&&(m.delayLeave=(A,x,R)=>{const y=q7(r,d);y[String(d.key)]=d,A[Vl]=()=>{x(),A[Vl]=void 0,delete u.delayedLeave},u.delayedLeave=R})}return a}}},$7=UB;function q7(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 Rd(e,t,n,r){const{appear:o,mode:i,persisted:a=!1,onBeforeEnter:s,onEnter:c,onAfterEnter:l,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:h,onLeaveCancelled:p,onBeforeAppear:m,onAppear:A,onAfterAppear:x,onAppearCancelled:R}=t,y=String(e.key),g=q7(n,e),S=(M,O)=>{M&&Ni(M,r,9,O)},L=(M,O)=>{const k=O[1];S(M,O),Mt(M)?M.every(_=>_.length<=1)&&k():M.length<=1&&k()},T={mode:i,persisted:a,beforeEnter(M){let O=s;if(!n.isMounted)if(o)O=m||s;else return;M[Vl]&&M[Vl](!0);const k=g[y];k&&La(e,k)&&k.el[Vl]&&k.el[Vl](),S(O,[M])},enter(M){let O=c,k=l,_=u;if(!n.isMounted)if(o)O=A||c,k=x||l,_=R||u;else return;let N=!1;const X=M[H1]=C=>{N||(N=!0,C?S(_,[M]):S(k,[M]),T.delayedLeave&&T.delayedLeave(),M[H1]=void 0)};O?L(O,[M,X]):X()},leave(M,O){const k=String(e.key);if(M[H1]&&M[H1](!0),n.isUnmounting)return O();S(f,[M]);let _=!1;const N=M[Vl]=X=>{_||(_=!0,O(),X?S(p,[M]):S(h,[M]),M[Vl]=void 0,g[k]===e&&delete g[k])};g[k]=e,d?L(d,[M,N]):N()},clone(M){return Rd(M,t,n,r)}};return T}function UA(e){if(Ap(e))return e=ps(e),e.children=null,e}function kS(e){return Ap(e)?e.children?e.children[0]:void 0:e}function Lu(e,t){e.shapeFlag&6&&e.component?Lu(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 Tg(e,t=!1,n){let r=[],o=0;for(let i=0;i<e.length;i++){let a=e[i];const s=n==null?a.key:String(n)+String(a.key!=null?a.key:i);a.type===Ve?(a.patchFlag&128&&o++,r=r.concat(Tg(a.children,t,s))):(t||a.type!==vo)&&r.push(s!=null?ps(a,{key:s}):a)}if(o>1)for(let i=0;i<r.length;i++)r[i].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function Fe(e,t){return Dt(e)?ar({name:e.name},t,{setup:e}):e}const du=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function YB(e){Dt(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:i,suspensible:a=!0,onError:s}=e;let c=null,l,u=0;const f=()=>(u++,c=null,d()),d=()=>{let h;return c||(h=c=t().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),s)return new Promise((m,A)=>{s(p,()=>m(f()),()=>A(p),u+1)});throw p}).then(p=>h!==c&&c?c:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),l=p,p)))};return Fe({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const h=Pr;if(l)return()=>YA(l,h);const p=R=>{c=null,Du(R,h,13,!r)};if(a&&h.suspense||Rp)return d().then(R=>()=>YA(R,h)).catch(R=>(p(R),()=>r?w(r,{error:R}):null));const m=me(!1),A=me(),x=me(!!o);return o&&setTimeout(()=>{x.value=!1},o),i!=null&&setTimeout(()=>{if(!m.value&&!A.value){const R=new Error(`Async component timed out after ${i}ms.`);p(R),A.value=R}},i),d().then(()=>{m.value=!0,h.parent&&Ap(h.parent.vnode)&&(h.parent.effect.dirty=!0,Mg(h.parent.update))}).catch(R=>{p(R),A.value=R}),()=>{if(m.value&&l)return YA(l,h);if(A.value&&r)return w(r,{error:A.value});if(n&&!x.value)return w(n)}}})}function YA(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,a=w(e,r,o);return a.ref=n,a.ce=i,delete t.vnode.ce,a}const Ap=e=>e.type.__isKeepAlive,QB={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=cl(),r=n.ctx;if(!r.renderer)return()=>{const R=t.default&&t.default();return R&&R.length===1?R[0]:R};const o=new Map,i=new Set;let a=null;const s=n.suspense,{renderer:{p:c,m:l,um:u,o:{createElement:f}}}=r,d=f("div");r.activate=(R,y,g,S,L)=>{const T=R.component;l(R,y,g,0,s),c(T.vnode,R,y,g,T,s,S,R.slotScopeIds,L),$r(()=>{T.isDeactivated=!1,T.a&&id(T.a);const M=R.props&&R.props.onVnodeMounted;M&&Ko(M,T.parent,R)},s)},r.deactivate=R=>{const y=R.component;l(R,d,null,1,s),$r(()=>{y.da&&id(y.da);const g=R.props&&R.props.onVnodeUnmounted;g&&Ko(g,y.parent,R),y.isDeactivated=!0},s)};function h(R){QA(R),u(R,n,s,!0)}function p(R){o.forEach((y,g)=>{const S=C4(y.type);S&&(!R||!R(S))&&m(g)})}function m(R){const y=o.get(R);!a||!La(y,a)?h(y):a&&QA(a),o.delete(R),i.delete(R)}Tt(()=>[e.include,e.exclude],([R,y])=>{R&&p(g=>k0(R,g)),y&&p(g=>!k0(y,g))},{flush:"post",deep:!0});let A=null;const x=()=>{A!=null&&o.set(A,ZA(n.subTree))};return Gt(x),Ng(x),Vd(()=>{o.forEach(R=>{const{subTree:y,suspense:g}=n,S=ZA(y);if(R.type===S.type&&R.key===S.key){QA(S);const L=S.component.da;L&&$r(L,g);return}h(R)})}),()=>{if(A=null,!t.default)return null;const R=t.default(),y=R[0];if(R.length>1)return a=null,R;if(!pc(y)||!(y.shapeFlag&4)&&!(y.shapeFlag&128))return a=null,y;let g=ZA(y);const S=g.type,L=C4(du(g)?g.type.__asyncResolved||{}:S),{include:T,exclude:M,max:O}=e;if(T&&(!L||!k0(T,L))||M&&L&&k0(M,L))return a=g,y;const k=g.key==null?S:g.key,_=o.get(k);return g.el&&(g=ps(g),y.shapeFlag&128&&(y.ssContent=g)),A=k,_?(g.el=_.el,g.component=_.component,g.transition&&Lu(g,g.transition),g.shapeFlag|=512,i.delete(k),i.add(k)):(i.add(k),O&&i.size>parseInt(O,10)&&m(i.values().next().value)),g.shapeFlag|=256,a=g,D7(y.type)?y:g}}},ZB=QB;function k0(e,t){return Mt(e)?e.some(n=>k0(n,t)):sr(e)?e.split(",").includes(t):MZ(e)?e.test(t):!1}function ek(e,t){nk(e,"a",t)}function tk(e,t){nk(e,"da",t)}function nk(e,t,n=Pr){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(kg(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Ap(o.parent.vnode)&&BB(r,t,n,o),o=o.parent}}function BB(e,t,n,r){const o=kg(t,e,r,!0);Tn(()=>{Ox(r[t],o)},n)}function QA(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function ZA(e){return e.shapeFlag&128?e.ssContent:e}function kg(e,t,n=Pr,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...a)=>{if(n.isUnmounted)return;Zu(),mc(n);const s=Ni(t,n,e,a);return ac(),Bu(),s});return r?o.unshift(i):o.push(i),i}}const ll=e=>(t,n=Pr)=>(!Rp||e==="sp")&&kg(e,(...r)=>t(...r),n),Gx=ll("bm"),Gt=ll("m"),rk=ll("bu"),Ng=ll("u"),Vd=ll("bum"),Tn=ll("um"),ok=ll("sp"),ik=ll("rtg"),ak=ll("rtc");function sk(e,t=Pr){kg("ec",e,t)}function st(e,t,n,r){let o;const i=n&&n[r];if(Mt(e)||sr(e)){o=new Array(e.length);for(let a=0,s=e.length;a<s;a++)o[a]=t(e[a],a,void 0,i&&i[a])}else if(typeof e=="number"){o=new Array(e);for(let a=0;a<e;a++)o[a]=t(a+1,a,void 0,i&&i[a])}else if(Bn(e))if(e[Symbol.iterator])o=Array.from(e,(a,s)=>t(a,s,void 0,i&&i[s]));else{const a=Object.keys(e);o=new Array(a.length);for(let s=0,c=a.length;s<c;s++){const l=a[s];o[s]=t(e[l],l,s,i&&i[s])}}else o=[];return n&&(n[r]=o),o}function DB(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(Mt(r))for(let o=0;o<r.length;o++)e[r[o].name]=r[o].fn;else r&&(e[r.name]=r.key?(...o)=>{const i=r.fn(...o);return i&&(i.key=r.key),i}:r.fn)}return e}function cr(e,t,n={},r,o){if(Qr.isCE||Qr.parent&&du(Qr.parent)&&Qr.parent.isCE)return t!=="default"&&(n.name=t),w("slot",n,r&&r());let i=e[t];i&&i._c&&(i._d=!1),Q();const a=i&&lk(i(n)),s=Oe(Ve,{key:n.key||a&&a.key||`_${t}`},a||(r?r():[]),a&&e._===1?64:-2);return!o&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),i&&i._c&&(i._d=!0),s}function lk(e){return e.some(t=>pc(t)?!(t.type===vo||t.type===Ve&&!lk(t.children)):!0)?e:null}function KB(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:ih(r)]=e[r];return n}const b4=e=>e?Nk(e)?Cg(e)||e.proxy:b4(e.parent):null,ah=ar(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=>b4(e.parent),$root:e=>b4(e.root),$emit:e=>e.emit,$options:e=>Jx(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Mg(e.update)}),$nextTick:e=>e.n||(e.n=Vr.bind(e.proxy)),$watch:e=>VB.bind(e)}),BA=(e,t)=>e!==Yn&&!e.__isScriptSetup&&On(e,t),S4={get({_:e},t){const{ctx:n,setupState:r,data:o,props:i,accessCache:a,type:s,appContext:c}=e;let l;if(t[0]!=="$"){const h=a[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(BA(r,t))return a[t]=1,r[t];if(o!==Yn&&On(o,t))return a[t]=2,o[t];if((l=e.propsOptions[0])&&On(l,t))return a[t]=3,i[t];if(n!==Yn&&On(n,t))return a[t]=4,n[t];M4&&(a[t]=0)}}const u=ah[t];let f,d;if(u)return t==="$attrs"&&oi(e,"get",t),u(e);if((f=s.__cssModules)&&(f=f[t]))return f;if(n!==Yn&&On(n,t))return a[t]=4,n[t];if(d=c.config.globalProperties,On(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return BA(o,t)?(o[t]=n,!0):r!==Yn&&On(r,t)?(r[t]=n,!0):On(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i}},a){let s;return!!n[a]||e!==Yn&&On(e,a)||BA(t,a)||(s=i[0])&&On(s,a)||On(r,a)||On(ah,a)||On(o.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:On(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},HB=ar({},S4,{get(e,t){if(t!==Symbol.unscopables)return S4.get(e,t,e)},has(e,t){return t[0]!=="_"&&!kZ(t)}});function GB(){return null}function JB(){return null}function zB(e){}function jB(e){}function $B(){return null}function qB(){}function eD(e,t){return null}function tD(){return ck().slots}function nD(){return ck().attrs}function rD(e,t,n=Yn){const r=cl(),o=Fo(t),i=E7((s,c)=>{let l;return z7(()=>{const u=e[t];Ca(l,u)&&(l=u,c())}),{get(){return s(),n.get?n.get(l):l},set(u){const f=r.vnode.props;!(f&&(t in f||o in f)&&(`onUpdate:${t}`in f||`onUpdate:${o}`in f))&&Ca(u,l)&&(l=u,c()),r.emit(`update:${t}`,n.set?n.set(u):u)}}}),a=t==="modelValue"?"modelModifiers":`${t}Modifiers`;return i[Symbol.iterator]=()=>{let s=0;return{next(){return s<2?{value:s++?e[a]||{}:i,done:!1}:{done:!0}}}},i}function ck(){const e=cl();return e.setupContext||(e.setupContext=Ik(e))}function Zh(e){return Mt(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function oD(e,t){const n=Zh(e);for(const r in t){if(r.startsWith("__skip"))continue;let o=n[r];o?Mt(o)||Dt(o)?o=n[r]={type:o,default:t[r]}:o.default=t[r]:o===null&&(o=n[r]={default:t[r]}),o&&t[`__skip_${r}`]&&(o.skipFactory=!0)}return n}function iD(e,t){return!e||!t?e||t:Mt(e)&&Mt(t)?e.concat(t):ar({},Zh(e),Zh(t))}function aD(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function sD(e){const t=cl();let n=e();return ac(),Tx(n)&&(n=n.catch(r=>{throw mc(t),r})),[n,()=>mc(t)]}let M4=!0;function lD(e){const t=Jx(e),n=e.proxy,r=e.ctx;M4=!1,t.beforeCreate&&NS(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:a,watch:s,provide:c,inject:l,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:p,activated:m,deactivated:A,beforeDestroy:x,beforeUnmount:R,destroyed:y,unmounted:g,render:S,renderTracked:L,renderTriggered:T,errorCaptured:M,serverPrefetch:O,expose:k,inheritAttrs:_,components:N,directives:X,filters:C}=t;if(l&&cD(l,r,null),a)for(const V in a){const B=a[V];Dt(B)&&(r[V]=B.bind(n))}if(o){const V=o.call(n,n);Bn(V)&&(e.data=mp(V))}if(M4=!0,i)for(const V in i){const B=i[V],G=Dt(B)?B.bind(n,n):Dt(B.get)?B.get.bind(n,n):Io,ne=!Dt(B)&&Dt(B.set)?B.set.bind(n):Io,E=Se({get:G,set:ne});Object.defineProperty(r,V,{enumerable:!0,configurable:!0,get:()=>E.value,set:Z=>E.value=Z})}if(s)for(const V in s)uk(s[V],r,n,V);if(c){const V=Dt(c)?c.call(n):c;Reflect.ownKeys(V).forEach(B=>{Ku(B,V[B])})}u&&NS(u,e,"c");function I(V,B){Mt(B)?B.forEach(G=>V(G.bind(n))):B&&V(B.bind(n))}if(I(Gx,f),I(Gt,d),I(rk,h),I(Ng,p),I(ek,m),I(tk,A),I(sk,M),I(ak,L),I(ik,T),I(Vd,R),I(Tn,g),I(ok,O),Mt(k))if(k.length){const V=e.exposed||(e.exposed={});k.forEach(B=>{Object.defineProperty(V,B,{get:()=>n[B],set:G=>n[B]=G})})}else e.exposed||(e.exposed={});S&&e.render===Io&&(e.render=S),_!=null&&(e.inheritAttrs=_),N&&(e.components=N),X&&(e.directives=X)}function cD(e,t,n=Io){Mt(e)&&(e=w4(e));for(const r in e){const o=e[r];let i;Bn(o)?"default"in o?i=$o(o.from||r,o.default,!0):i=$o(o.from||r):i=$o(o),lr(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[r]=i}}function NS(e,t,n){Ni(Mt(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function uk(e,t,n,r){const o=r.includes(".")?j7(n,r):()=>n[r];if(sr(e)){const i=t[e];Dt(i)&&Tt(o,i)}else if(Dt(e))Tt(o,e.bind(n));else if(Bn(e))if(Mt(e))e.forEach(i=>uk(i,t,n,r));else{const i=Dt(e.handler)?e.handler.bind(n):t[e.handler];Dt(i)&&Tt(o,i,e)}}function Jx(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,s=i.get(t);let c;return s?c=s:!o.length&&!n&&!r?c=t:(c={},o.length&&o.forEach(l=>gv(c,l,a,!0)),gv(c,t,a)),Bn(t)&&i.set(t,c),c}function gv(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&gv(e,i,n,!0),o&&o.forEach(a=>gv(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const s=uD[a]||n&&n[a];e[a]=s?s(e[a],t[a]):t[a]}return e}const uD={data:PS,props:CS,emits:CS,methods:N0,computed:N0,beforeCreate:Mo,created:Mo,beforeMount:Mo,mounted:Mo,beforeUpdate:Mo,updated:Mo,beforeDestroy:Mo,beforeUnmount:Mo,destroyed:Mo,unmounted:Mo,activated:Mo,deactivated:Mo,errorCaptured:Mo,serverPrefetch:Mo,components:N0,directives:N0,watch:dD,provide:PS,inject:fD};function PS(e,t){return t?e?function(){return ar(Dt(e)?e.call(this,this):e,Dt(t)?t.call(this,this):t)}:t:e}function fD(e,t){return N0(w4(e),w4(t))}function w4(e){if(Mt(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Mo(e,t){return e?[...new Set([].concat(e,t))]:t}function N0(e,t){return e?ar(Object.create(null),e,t):t}function CS(e,t){return e?Mt(e)&&Mt(t)?[...new Set([...e,...t])]:ar(Object.create(null),Zh(e),Zh(t??{})):t}function dD(e,t){if(!e)return t;if(!t)return e;const n=ar(Object.create(null),e);for(const r in t)n[r]=Mo(e[r],t[r]);return n}function fk(){return{app:null,config:{isNativeTag:bZ,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 hD=0;function pD(e,t){return function(r,o=null){Dt(r)||(r=ar({},r)),o!=null&&!Bn(o)&&(o=null);const i=fk(),a=new WeakSet;let s=!1;const c=i.app={_uid:hD++,_component:r,_props:o,_container:null,_context:i,_instance:null,version:Xk,get config(){return i.config},set config(l){},use(l,...u){return a.has(l)||(l&&Dt(l.install)?(a.add(l),l.install(c,...u)):Dt(l)&&(a.add(l),l(c,...u))),c},mixin(l){return i.mixins.includes(l)||i.mixins.push(l),c},component(l,u){return u?(i.components[l]=u,c):i.components[l]},directive(l,u){return u?(i.directives[l]=u,c):i.directives[l]},mount(l,u,f){if(!s){const d=w(r,o);return d.appContext=i,f===!0?f="svg":f===!1&&(f=void 0),u&&t?t(d,l):e(d,l,f),s=!0,c._container=l,l.__vue_app__=c,Cg(d.component)||d.component.proxy}},unmount(){s&&(e(null,c._container),delete c._container.__vue_app__)},provide(l,u){return i.provides[l]=u,c},runWithContext(l){Bh=c;try{return l()}finally{Bh=null}}};return c}}let Bh=null;function Ku(e,t){if(Pr){let n=Pr.provides;const r=Pr.parent&&Pr.parent.provides;r===n&&(n=Pr.provides=Object.create(r)),n[e]=t}}function $o(e,t,n=!1){const r=Pr||Qr;if(r||Bh){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Bh._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Dt(t)?t.call(r&&r.proxy):t}}function dk(){return!!(Pr||Qr||Bh)}function mD(e,t,n,r=!1){const o={},i={};fv(i,Pg,1),e.propsDefaults=Object.create(null),hk(e,t,o,i);for(const a in e.propsOptions[0])a in o||(o[a]=void 0);n?e.props=r?o:F7(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function vD(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:a}}=e,s=pn(o),[c]=e.propsOptions;let l=!1;if((r||a>0)&&!(a&16)){if(a&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(wg(e.emitsOptions,d))continue;const h=t[d];if(c)if(On(i,d))h!==i[d]&&(i[d]=h,l=!0);else{const p=Fo(d);o[p]=L4(c,s,p,h,e,!1)}else h!==i[d]&&(i[d]=h,l=!0)}}}else{hk(e,t,o,i)&&(l=!0);let u;for(const f in s)(!t||!On(t,f)&&((u=Hi(f))===f||!On(t,u)))&&(c?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=L4(c,s,f,void 0,e,!0)):delete o[f]);if(i!==s)for(const f in i)(!t||!On(t,f))&&(delete i[f],l=!0)}l&&el(e,"set","$attrs")}function hk(e,t,n,r){const[o,i]=e.propsOptions;let a=!1,s;if(t)for(let c in t){if(oh(c))continue;const l=t[c];let u;o&&On(o,u=Fo(c))?!i||!i.includes(u)?n[u]=l:(s||(s={}))[u]=l:wg(e.emitsOptions,c)||(!(c in r)||l!==r[c])&&(r[c]=l,a=!0)}if(i){const c=pn(n),l=s||Yn;for(let u=0;u<i.length;u++){const f=i[u];n[f]=L4(o,c,f,l[f],e,!On(l,f))}}return a}function L4(e,t,n,r,o,i){const a=e[n];if(a!=null){const s=On(a,"default");if(s&&r===void 0){const c=a.default;if(a.type!==Function&&!a.skipFactory&&Dt(c)){const{propsDefaults:l}=o;n in l?r=l[n]:(mc(o),r=l[n]=c.call(null,t),ac())}else r=c}a[0]&&(i&&!s?r=!1:a[1]&&(r===""||r===Hi(n))&&(r=!0))}return r}function pk(e,t,n=!1){const r=t.propsCache,o=r.get(e);if(o)return o;const i=e.props,a={},s=[];let c=!1;if(!Dt(e)){const u=f=>{c=!0;const[d,h]=pk(f,t,!0);ar(a,d),h&&s.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!c)return Bn(e)&&r.set(e,rd),rd;if(Mt(i))for(let u=0;u<i.length;u++){const f=Fo(i[u]);IS(f)&&(a[f]=Yn)}else if(i)for(const u in i){const f=Fo(u);if(IS(f)){const d=i[u],h=a[f]=Mt(d)||Dt(d)?{type:d}:ar({},d);if(h){const p=XS(Boolean,h.type),m=XS(String,h.type);h[0]=p>-1,h[1]=m<0||p<m,(p>-1||On(h,"default"))&&s.push(f)}}}const l=[a,s];return Bn(e)&&r.set(e,l),l}function IS(e){return e[0]!=="$"}function FS(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function _S(e,t){return FS(e)===FS(t)}function XS(e,t){return Mt(t)?t.findIndex(n=>_S(n,e)):Dt(t)&&_S(t,e)?0:-1}const mk=e=>e[0]==="_"||e==="$stable",zx=e=>Mt(e)?e.map(Si):[Si(e)],gD=(e,t,n)=>{if(t._n)return t;const r=re((...o)=>zx(t(...o)),n);return r._c=!1,r},vk=(e,t,n)=>{const r=e._ctx;for(const o in e){if(mk(o))continue;const i=e[o];if(Dt(i))t[o]=gD(o,i,r);else if(i!=null){const a=zx(i);t[o]=()=>a}}},gk=(e,t)=>{const n=zx(t);e.slots.default=()=>n},AD=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=pn(t),fv(t,"_",n)):vk(t,e.slots={})}else e.slots={},t&&gk(e,t);fv(e.slots,Pg,1)},RD=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,a=Yn;if(r.shapeFlag&32){const s=t._;s?n&&s===1?i=!1:(ar(o,t),!n&&s===1&&delete o._):(i=!t.$stable,vk(t,o)),a=t}else t&&(gk(e,t),a={default:1});if(i)for(const s in o)!mk(s)&&a[s]==null&&delete o[s]};function Av(e,t,n,r,o=!1){if(Mt(e)){e.forEach((d,h)=>Av(d,t&&(Mt(t)?t[h]:t),n,r,o));return}if(du(r)&&!o)return;const i=r.shapeFlag&4?Cg(r.component)||r.component.proxy:r.el,a=o?null:i,{i:s,r:c}=e,l=t&&t.r,u=s.refs===Yn?s.refs={}:s.refs,f=s.setupState;if(l!=null&&l!==c&&(sr(l)?(u[l]=null,On(f,l)&&(f[l]=null)):lr(l)&&(l.value=null)),Dt(c))tl(c,s,12,[a,u]);else{const d=sr(c),h=lr(c);if(d||h){const p=()=>{if(e.f){const m=d?On(f,c)?f[c]:u[c]:c.value;o?Mt(m)&&Ox(m,i):Mt(m)?m.includes(i)||m.push(i):d?(u[c]=[i],On(f,c)&&(f[c]=u[c])):(c.value=[i],e.k&&(u[e.k]=c.value))}else d?(u[c]=a,On(f,c)&&(f[c]=a)):h&&(c.value=a,e.k&&(u[e.k]=a))};a?(p.id=-1,$r(p,n)):p()}}}let Sl=!1;const yD=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",xD=e=>e.namespaceURI.includes("MathML"),G1=e=>{if(yD(e))return"svg";if(xD(e))return"mathml"},J1=e=>e.nodeType===8;function bD(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:a,remove:s,insert:c,createComment:l}}=e,u=(y,g)=>{if(!g.hasChildNodes()){n(null,y,g),vv(),g._vnode=y;return}Sl=!1,f(g.firstChild,y,null,null,null),vv(),g._vnode=y,Sl&&console.error("Hydration completed but contains mismatches.")},f=(y,g,S,L,T,M=!1)=>{const O=J1(y)&&y.data==="[",k=()=>m(y,g,S,L,T,O),{type:_,ref:N,shapeFlag:X,patchFlag:C}=g;let F=y.nodeType;g.el=y,C===-2&&(M=!1,g.dynamicChildren=null);let I=null;switch(_){case Ou:F!==3?g.children===""?(c(g.el=o(""),a(y),y),I=y):I=k():(y.data!==g.children&&(Sl=!0,y.data=g.children),I=i(y));break;case vo:R(y)?(I=i(y),x(g.el=y.content.firstChild,y,S)):F!==8||O?I=k():I=i(y);break;case hu:if(O&&(y=i(y),F=y.nodeType),F===1||F===3){I=y;const V=!g.children.length;for(let B=0;B<g.staticCount;B++)V&&(g.children+=I.nodeType===1?I.outerHTML:I.data),B===g.staticCount-1&&(g.anchor=I),I=i(I);return O?i(I):I}else k();break;case Ve:O?I=p(y,g,S,L,T,M):I=k();break;default:if(X&1)(F!==1||g.type.toLowerCase()!==y.tagName.toLowerCase())&&!R(y)?I=k():I=d(y,g,S,L,T,M);else if(X&6){g.slotScopeIds=T;const V=a(y);if(O?I=A(y):J1(y)&&y.data==="teleport start"?I=A(y,y.data,"teleport end"):I=i(y),t(g,V,null,S,L,G1(V),M),du(g)){let B;O?(B=w(Ve),B.anchor=I?I.previousSibling:V.lastChild):B=y.nodeType===3?Ye(""):w("div"),B.el=y,g.component.subTree=B}}else X&64?F!==8?I=k():I=g.type.hydrate(y,g,S,L,T,M,e,h):X&128&&(I=g.type.hydrate(y,g,S,L,G1(a(y)),T,M,e,f))}return N!=null&&Av(N,null,L,g),I},d=(y,g,S,L,T,M)=>{M=M||!!g.dynamicChildren;const{type:O,props:k,patchFlag:_,shapeFlag:N,dirs:X,transition:C}=g,F=O==="input"||O==="option";if(F||_!==-1){X&&za(g,null,S,"created");let I=!1;if(R(y)){I=xk(L,C)&&S&&S.vnode.props&&S.vnode.props.appear;const B=y.content.firstChild;I&&C.beforeEnter(B),x(B,y,S),g.el=y=B}if(N&16&&!(k&&(k.innerHTML||k.textContent))){let B=h(y.firstChild,g,y,S,L,T,M);for(;B;){Sl=!0;const G=B;B=B.nextSibling,s(G)}}else N&8&&y.textContent!==g.children&&(Sl=!0,y.textContent=g.children);if(k)if(F||!M||_&48)for(const B in k)(F&&(B.endsWith("value")||B==="indeterminate")||hp(B)&&!oh(B)||B[0]===".")&&r(y,B,null,k[B],void 0,void 0,S);else k.onClick&&r(y,"onClick",null,k.onClick,void 0,void 0,S);let V;(V=k&&k.onVnodeBeforeMount)&&Ko(V,S,g),X&&za(g,null,S,"beforeMount"),((V=k&&k.onVnodeMounted)||X||I)&&K7(()=>{V&&Ko(V,S,g),I&&C.enter(y),X&&za(g,null,S,"mounted")},L)}return y.nextSibling},h=(y,g,S,L,T,M,O)=>{O=O||!!g.dynamicChildren;const k=g.children,_=k.length;for(let N=0;N<_;N++){const X=O?k[N]:k[N]=Si(k[N]);if(y)y=f(y,X,L,T,M,O);else{if(X.type===Ou&&!X.children)continue;Sl=!0,n(null,X,S,null,L,T,G1(S),M)}}return y},p=(y,g,S,L,T,M)=>{const{slotScopeIds:O}=g;O&&(T=T?T.concat(O):O);const k=a(y),_=h(i(y),g,k,S,L,T,M);return _&&J1(_)&&_.data==="]"?i(g.anchor=_):(Sl=!0,c(g.anchor=l("]"),k,_),_)},m=(y,g,S,L,T,M)=>{if(Sl=!0,g.el=null,M){const _=A(y);for(;;){const N=i(y);if(N&&N!==_)s(N);else break}}const O=i(y),k=a(y);return s(y),n(null,g,k,O,S,L,G1(k),T),O},A=(y,g="[",S="]")=>{let L=0;for(;y;)if(y=i(y),y&&J1(y)&&(y.data===g&&L++,y.data===S)){if(L===0)return i(y);L--}return y},x=(y,g,S)=>{const L=g.parentNode;L&&L.replaceChild(y,g);let T=S;for(;T;)T.vnode.el===g&&(T.vnode.el=T.subTree.el=y),T=T.parent},R=y=>y.nodeType===1&&y.tagName.toLowerCase()==="template";return[u,f]}const $r=K7;function Ak(e){return yk(e)}function Rk(e){return yk(e,bD)}function yk(e,t){const n=v7();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:a,createText:s,createComment:c,setText:l,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=Io,insertStaticContent:p}=e,m=(z,ae,W,j=null,ue=null,$=null,q=void 0,se=null,ve=!!ae.dynamicChildren)=>{if(z===ae)return;z&&!La(z,ae)&&(j=ie(z),Z(z,ue,$,!0),z=null),ae.patchFlag===-2&&(ve=!1,ae.dynamicChildren=null);const{type:ce,ref:de,shapeFlag:be}=ae;switch(ce){case Ou:A(z,ae,W,j);break;case vo:x(z,ae,W,j);break;case hu:z==null&&R(ae,W,j,q);break;case Ve:N(z,ae,W,j,ue,$,q,se,ve);break;default:be&1?S(z,ae,W,j,ue,$,q,se,ve):be&6?X(z,ae,W,j,ue,$,q,se,ve):(be&64||be&128)&&ce.process(z,ae,W,j,ue,$,q,se,ve,pe)}de!=null&&ue&&Av(de,z&&z.ref,$,ae||z,!ae)},A=(z,ae,W,j)=>{if(z==null)r(ae.el=s(ae.children),W,j);else{const ue=ae.el=z.el;ae.children!==z.children&&l(ue,ae.children)}},x=(z,ae,W,j)=>{z==null?r(ae.el=c(ae.children||""),W,j):ae.el=z.el},R=(z,ae,W,j)=>{[z.el,z.anchor]=p(z.children,ae,W,j,z.el,z.anchor)},y=({el:z,anchor:ae},W,j)=>{let ue;for(;z&&z!==ae;)ue=d(z),r(z,W,j),z=ue;r(ae,W,j)},g=({el:z,anchor:ae})=>{let W;for(;z&&z!==ae;)W=d(z),o(z),z=W;o(ae)},S=(z,ae,W,j,ue,$,q,se,ve)=>{ae.type==="svg"?q="svg":ae.type==="math"&&(q="mathml"),z==null?L(ae,W,j,ue,$,q,se,ve):O(z,ae,ue,$,q,se,ve)},L=(z,ae,W,j,ue,$,q,se)=>{let ve,ce;const{props:de,shapeFlag:be,transition:_e,dirs:Ie}=z;if(ve=z.el=a(z.type,$,de&&de.is,de),be&8?u(ve,z.children):be&16&&M(z.children,ve,null,j,ue,DA(z,$),q,se),Ie&&za(z,null,j,"created"),T(ve,z,z.scopeId,q,j),de){for(const qe in de)qe!=="value"&&!oh(qe)&&i(ve,qe,null,de[qe],$,z.children,j,ue,le);"value"in de&&i(ve,"value",null,de.value,$),(ce=de.onVnodeBeforeMount)&&Ko(ce,j,z)}Ie&&za(z,null,j,"beforeMount");const Ae=xk(ue,_e);Ae&&_e.beforeEnter(ve),r(ve,ae,W),((ce=de&&de.onVnodeMounted)||Ae||Ie)&&$r(()=>{ce&&Ko(ce,j,z),Ae&&_e.enter(ve),Ie&&za(z,null,j,"mounted")},ue)},T=(z,ae,W,j,ue)=>{if(W&&h(z,W),j)for(let $=0;$<j.length;$++)h(z,j[$]);if(ue){let $=ue.subTree;if(ae===$){const q=ue.vnode;T(z,q,q.scopeId,q.slotScopeIds,ue.parent)}}},M=(z,ae,W,j,ue,$,q,se,ve=0)=>{for(let ce=ve;ce<z.length;ce++){const de=z[ce]=se?Ul(z[ce]):Si(z[ce]);m(null,de,ae,W,j,ue,$,q,se)}},O=(z,ae,W,j,ue,$,q)=>{const se=ae.el=z.el;let{patchFlag:ve,dynamicChildren:ce,dirs:de}=ae;ve|=z.patchFlag&16;const be=z.props||Yn,_e=ae.props||Yn;let Ie;if(W&&Uc(W,!1),(Ie=_e.onVnodeBeforeUpdate)&&Ko(Ie,W,ae,z),de&&za(ae,z,W,"beforeUpdate"),W&&Uc(W,!0),ce?k(z.dynamicChildren,ce,se,W,j,DA(ae,ue),$):q||B(z,ae,se,null,W,j,DA(ae,ue),$,!1),ve>0){if(ve&16)_(se,ae,be,_e,W,j,ue);else if(ve&2&&be.class!==_e.class&&i(se,"class",null,_e.class,ue),ve&4&&i(se,"style",be.style,_e.style,ue),ve&8){const Ae=ae.dynamicProps;for(let qe=0;qe<Ae.length;qe++){const Xe=Ae[qe],Le=be[Xe],Te=_e[Xe];(Te!==Le||Xe==="value")&&i(se,Xe,Le,Te,ue,z.children,W,j,le)}}ve&1&&z.children!==ae.children&&u(se,ae.children)}else!q&&ce==null&&_(se,ae,be,_e,W,j,ue);((Ie=_e.onVnodeUpdated)||de)&&$r(()=>{Ie&&Ko(Ie,W,ae,z),de&&za(ae,z,W,"updated")},j)},k=(z,ae,W,j,ue,$,q)=>{for(let se=0;se<ae.length;se++){const ve=z[se],ce=ae[se],de=ve.el&&(ve.type===Ve||!La(ve,ce)||ve.shapeFlag&70)?f(ve.el):W;m(ve,ce,de,null,j,ue,$,q,!0)}},_=(z,ae,W,j,ue,$,q)=>{if(W!==j){if(W!==Yn)for(const se in W)!oh(se)&&!(se in j)&&i(z,se,W[se],null,q,ae.children,ue,$,le);for(const se in j){if(oh(se))continue;const ve=j[se],ce=W[se];ve!==ce&&se!=="value"&&i(z,se,ce,ve,q,ae.children,ue,$,le)}"value"in j&&i(z,"value",W.value,j.value,q)}},N=(z,ae,W,j,ue,$,q,se,ve)=>{const ce=ae.el=z?z.el:s(""),de=ae.anchor=z?z.anchor:s("");let{patchFlag:be,dynamicChildren:_e,slotScopeIds:Ie}=ae;Ie&&(se=se?se.concat(Ie):Ie),z==null?(r(ce,W,j),r(de,W,j),M(ae.children,W,de,ue,$,q,se,ve)):be>0&&be&64&&_e&&z.dynamicChildren?(k(z.dynamicChildren,_e,W,ue,$,q,se),(ae.key!=null||ue&&ae===ue.subTree)&&jx(z,ae,!0)):B(z,ae,W,de,ue,$,q,se,ve)},X=(z,ae,W,j,ue,$,q,se,ve)=>{ae.slotScopeIds=se,z==null?ae.shapeFlag&512?ue.ctx.activate(ae,W,j,q,ve):C(ae,W,j,ue,$,q,ve):F(z,ae,ve)},C=(z,ae,W,j,ue,$,q)=>{const se=z.component=kk(z,j,ue);if(Ap(z)&&(se.ctx.renderer=pe),Pk(se),se.asyncDep){if(ue&&ue.registerDep(se,I),!z.el){const ve=se.subTree=w(vo);x(null,ve,ae,W)}}else I(se,z,ae,W,ue,$,q)},F=(z,ae,W)=>{const j=ae.component=z.component;if(NB(z,ae,W))if(j.asyncDep&&!j.asyncResolved){V(j,ae,W);return}else j.next=ae,SB(j.update),j.effect.dirty=!0,j.update();else ae.el=z.el,j.vnode=ae},I=(z,ae,W,j,ue,$,q)=>{const se=()=>{if(z.isMounted){let{next:de,bu:be,u:_e,parent:Ie,vnode:Ae}=z;{const Ce=bk(z);if(Ce){de&&(de.el=Ae.el,V(z,de,q)),Ce.asyncDep.then(()=>{z.isUnmounted||se()});return}}let qe=de,Xe;Uc(z,!1),de?(de.el=Ae.el,V(z,de,q)):de=Ae,be&&id(be),(Xe=de.props&&de.props.onVnodeBeforeUpdate)&&Ko(Xe,Ie,de,Ae),Uc(z,!0);const Le=Cm(z),Te=z.subTree;z.subTree=Le,m(Te,Le,f(Te.el),ie(Te),z,ue,$),de.el=Le.el,qe===null&&Qx(z,Le.el),_e&&$r(_e,ue),(Xe=de.props&&de.props.onVnodeUpdated)&&$r(()=>Ko(Xe,Ie,de,Ae),ue)}else{let de;const{el:be,props:_e}=ae,{bm:Ie,m:Ae,parent:qe}=z,Xe=du(ae);if(Uc(z,!1),Ie&&id(Ie),!Xe&&(de=_e&&_e.onVnodeBeforeMount)&&Ko(de,qe,ae),Uc(z,!0),be&&ye){const Le=()=>{z.subTree=Cm(z),ye(be,z.subTree,z,ue,null)};Xe?ae.type.__asyncLoader().then(()=>!z.isUnmounted&&Le()):Le()}else{const Le=z.subTree=Cm(z);m(null,Le,W,j,z,ue,$),ae.el=Le.el}if(Ae&&$r(Ae,ue),!Xe&&(de=_e&&_e.onVnodeMounted)){const Le=ae;$r(()=>Ko(de,qe,Le),ue)}(ae.shapeFlag&256||qe&&du(qe.vnode)&&qe.vnode.shapeFlag&256)&&z.a&&$r(z.a,ue),z.isMounted=!0,ae=W=j=null}},ve=z.effect=new Ad(se,Io,()=>Mg(ce),z.scope),ce=z.update=()=>{ve.dirty&&ve.run()};ce.id=z.uid,Uc(z,!0),ce()},V=(z,ae,W)=>{ae.component=z;const j=z.vnode.props;z.vnode=ae,z.next=null,vD(z,ae.props,j,W),RD(z,ae.children,W),Zu(),MS(z),Bu()},B=(z,ae,W,j,ue,$,q,se,ve=!1)=>{const ce=z&&z.children,de=z?z.shapeFlag:0,be=ae.children,{patchFlag:_e,shapeFlag:Ie}=ae;if(_e>0){if(_e&128){ne(ce,be,W,j,ue,$,q,se,ve);return}else if(_e&256){G(ce,be,W,j,ue,$,q,se,ve);return}}Ie&8?(de&16&&le(ce,ue,$),be!==ce&&u(W,be)):de&16?Ie&16?ne(ce,be,W,j,ue,$,q,se,ve):le(ce,ue,$,!0):(de&8&&u(W,""),Ie&16&&M(be,W,j,ue,$,q,se,ve))},G=(z,ae,W,j,ue,$,q,se,ve)=>{z=z||rd,ae=ae||rd;const ce=z.length,de=ae.length,be=Math.min(ce,de);let _e;for(_e=0;_e<be;_e++){const Ie=ae[_e]=ve?Ul(ae[_e]):Si(ae[_e]);m(z[_e],Ie,W,null,ue,$,q,se,ve)}ce>de?le(z,ue,$,!0,!1,be):M(ae,W,j,ue,$,q,se,ve,be)},ne=(z,ae,W,j,ue,$,q,se,ve)=>{let ce=0;const de=ae.length;let be=z.length-1,_e=de-1;for(;ce<=be&&ce<=_e;){const Ie=z[ce],Ae=ae[ce]=ve?Ul(ae[ce]):Si(ae[ce]);if(La(Ie,Ae))m(Ie,Ae,W,null,ue,$,q,se,ve);else break;ce++}for(;ce<=be&&ce<=_e;){const Ie=z[be],Ae=ae[_e]=ve?Ul(ae[_e]):Si(ae[_e]);if(La(Ie,Ae))m(Ie,Ae,W,null,ue,$,q,se,ve);else break;be--,_e--}if(ce>be){if(ce<=_e){const Ie=_e+1,Ae=Ie<de?ae[Ie].el:j;for(;ce<=_e;)m(null,ae[ce]=ve?Ul(ae[ce]):Si(ae[ce]),W,Ae,ue,$,q,se,ve),ce++}}else if(ce>_e)for(;ce<=be;)Z(z[ce],ue,$,!0),ce++;else{const Ie=ce,Ae=ce,qe=new Map;for(ce=Ae;ce<=_e;ce++){const De=ae[ce]=ve?Ul(ae[ce]):Si(ae[ce]);De.key!=null&&qe.set(De.key,ce)}let Xe,Le=0;const Te=_e-Ae+1;let Ce=!1,He=0;const et=new Array(Te);for(ce=0;ce<Te;ce++)et[ce]=0;for(ce=Ie;ce<=be;ce++){const De=z[ce];if(Le>=Te){Z(De,ue,$,!0);continue}let tt;if(De.key!=null)tt=qe.get(De.key);else for(Xe=Ae;Xe<=_e;Xe++)if(et[Xe-Ae]===0&&La(De,ae[Xe])){tt=Xe;break}tt===void 0?Z(De,ue,$,!0):(et[tt-Ae]=ce+1,tt>=He?He=tt:Ce=!0,m(De,ae[tt],W,null,ue,$,q,se,ve),Le++)}const ke=Ce?SD(et):rd;for(Xe=ke.length-1,ce=Te-1;ce>=0;ce--){const De=Ae+ce,tt=ae[De],wt=De+1<de?ae[De+1].el:j;et[ce]===0?m(null,tt,W,wt,ue,$,q,se,ve):Ce&&(Xe<0||ce!==ke[Xe]?E(tt,W,wt,2):Xe--)}}},E=(z,ae,W,j,ue=null)=>{const{el:$,type:q,transition:se,children:ve,shapeFlag:ce}=z;if(ce&6){E(z.component.subTree,ae,W,j);return}if(ce&128){z.suspense.move(ae,W,j);return}if(ce&64){q.move(z,ae,W,pe);return}if(q===Ve){r($,ae,W);for(let be=0;be<ve.length;be++)E(ve[be],ae,W,j);r(z.anchor,ae,W);return}if(q===hu){y(z,ae,W);return}if(j!==2&&ce&1&&se)if(j===0)se.beforeEnter($),r($,ae,W),$r(()=>se.enter($),ue);else{const{leave:be,delayLeave:_e,afterLeave:Ie}=se,Ae=()=>r($,ae,W),qe=()=>{be($,()=>{Ae(),Ie&&Ie()})};_e?_e($,Ae,qe):qe()}else r($,ae,W)},Z=(z,ae,W,j=!1,ue=!1)=>{const{type:$,props:q,ref:se,children:ve,dynamicChildren:ce,shapeFlag:de,patchFlag:be,dirs:_e}=z;if(se!=null&&Av(se,null,W,z,!0),de&256){ae.ctx.deactivate(z);return}const Ie=de&1&&_e,Ae=!du(z);let qe;if(Ae&&(qe=q&&q.onVnodeBeforeUnmount)&&Ko(qe,ae,z),de&6)J(z.component,W,j);else{if(de&128){z.suspense.unmount(W,j);return}Ie&&za(z,null,ae,"beforeUnmount"),de&64?z.type.remove(z,ae,W,ue,pe,j):ce&&($!==Ve||be>0&&be&64)?le(ce,ae,W,!1,!0):($===Ve&&be&384||!ue&&de&16)&&le(ve,ae,W),j&&K(z)}(Ae&&(qe=q&&q.onVnodeUnmounted)||Ie)&&$r(()=>{qe&&Ko(qe,ae,z),Ie&&za(z,null,ae,"unmounted")},W)},K=z=>{const{type:ae,el:W,anchor:j,transition:ue}=z;if(ae===Ve){U(W,j);return}if(ae===hu){g(z);return}const $=()=>{o(W),ue&&!ue.persisted&&ue.afterLeave&&ue.afterLeave()};if(z.shapeFlag&1&&ue&&!ue.persisted){const{leave:q,delayLeave:se}=ue,ve=()=>q(W,$);se?se(z.el,$,ve):ve()}else $()},U=(z,ae)=>{let W;for(;z!==ae;)W=d(z),o(z),z=W;o(ae)},J=(z,ae,W)=>{const{bum:j,scope:ue,update:$,subTree:q,um:se}=z;j&&id(j),ue.stop(),$&&($.active=!1,Z(q,z,ae,W)),se&&$r(se,ae),$r(()=>{z.isUnmounted=!0},ae),ae&&ae.pendingBranch&&!ae.isUnmounted&&z.asyncDep&&!z.asyncResolved&&z.suspenseId===ae.pendingId&&(ae.deps--,ae.deps===0&&ae.resolve())},le=(z,ae,W,j=!1,ue=!1,$=0)=>{for(let q=$;q<z.length;q++)Z(z[q],ae,W,j,ue)},ie=z=>z.shapeFlag&6?ie(z.component.subTree):z.shapeFlag&128?z.suspense.next():d(z.anchor||z.el),oe=(z,ae,W)=>{z==null?ae._vnode&&Z(ae._vnode,null,null,!0):m(ae._vnode||null,z,ae,null,null,null,W),MS(),vv(),ae._vnode=z},pe={p:m,um:Z,m:E,r:K,mt:C,mc:M,pc:B,pbc:k,n:ie,o:e};let ge,ye;return t&&([ge,ye]=t(pe)),{render:oe,hydrate:ge,createApp:pD(oe,ge)}}function DA({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 Uc({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function xk(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function jx(e,t,n=!1){const r=e.children,o=t.children;if(Mt(r)&&Mt(o))for(let i=0;i<r.length;i++){const a=r[i];let s=o[i];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=o[i]=Ul(o[i]),s.el=a.el),n||jx(a,s)),s.type===Ou&&(s.el=a.el)}}function SD(e){const t=e.slice(),n=[0];let r,o,i,a,s;const c=e.length;for(r=0;r<c;r++){const l=e[r];if(l!==0){if(o=n[n.length-1],e[o]<l){t[r]=o,n.push(r);continue}for(i=0,a=n.length-1;i<a;)s=i+a>>1,e[n[s]]<l?i=s+1:a=s;l<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,a=n[i-1];i-- >0;)n[i]=a,a=t[a];return n}function bk(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:bk(t)}const MD=e=>e.__isTeleport,sh=e=>e&&(e.disabled||e.disabled===""),ES=e=>typeof SVGElement<"u"&&e instanceof SVGElement,WS=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,O4=(e,t)=>{const n=e&&e.to;return sr(n)?t?t(n):null:n},wD={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,i,a,s,c,l){const{mc:u,pc:f,pbc:d,o:{insert:h,querySelector:p,createText:m,createComment:A}}=l,x=sh(t.props);let{shapeFlag:R,children:y,dynamicChildren:g}=t;if(e==null){const S=t.el=m(""),L=t.anchor=m("");h(S,n,r),h(L,n,r);const T=t.target=O4(t.props,p),M=t.targetAnchor=m("");T&&(h(M,T),a==="svg"||ES(T)?a="svg":(a==="mathml"||WS(T))&&(a="mathml"));const O=(k,_)=>{R&16&&u(y,k,_,o,i,a,s,c)};x?O(n,L):T&&O(T,M)}else{t.el=e.el;const S=t.anchor=e.anchor,L=t.target=e.target,T=t.targetAnchor=e.targetAnchor,M=sh(e.props),O=M?n:L,k=M?S:T;if(a==="svg"||ES(L)?a="svg":(a==="mathml"||WS(L))&&(a="mathml"),g?(d(e.dynamicChildren,g,O,o,i,a,s),jx(e,t,!0)):c||f(e,t,O,k,o,i,a,s,!1),x)M?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):z1(t,n,S,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const _=t.target=O4(t.props,p);_&&z1(t,_,null,l,0)}else M&&z1(t,L,T,l,1)}Sk(t)},remove(e,t,n,r,{um:o,o:{remove:i}},a){const{shapeFlag:s,children:c,anchor:l,targetAnchor:u,target:f,props:d}=e;if(f&&i(u),a&&i(l),s&16){const h=a||!sh(d);for(let p=0;p<c.length;p++){const m=c[p];o(m,t,n,h,!!m.dynamicChildren)}}},move:z1,hydrate:LD};function z1(e,t,n,{o:{insert:r},m:o},i=2){i===0&&r(e.targetAnchor,t,n);const{el:a,anchor:s,shapeFlag:c,children:l,props:u}=e,f=i===2;if(f&&r(a,t,n),(!f||sh(u))&&c&16)for(let d=0;d<l.length;d++)o(l[d],t,n,2);f&&r(s,t,n)}function LD(e,t,n,r,o,i,{o:{nextSibling:a,parentNode:s,querySelector:c}},l){const u=t.target=O4(t.props,c);if(u){const f=u._lpa||u.firstChild;if(t.shapeFlag&16)if(sh(t.props))t.anchor=l(a(e),t,s(e),n,r,o,i),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,u._lpa=t.targetAnchor&&a(t.targetAnchor);break}l(f,t,u,n,r,o,i)}Sk(t)}return t.anchor&&a(t.anchor)}const $x=wD;function Sk(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()}}const Ve=Symbol.for("v-fgt"),Ou=Symbol.for("v-txt"),vo=Symbol.for("v-cmt"),hu=Symbol.for("v-stc"),lh=[];let jo=null;function Q(e=!1){lh.push(jo=e?null:[])}function Mk(){lh.pop(),jo=lh[lh.length-1]||null}let Tu=1;function T4(e){Tu+=e}function wk(e){return e.dynamicChildren=Tu>0?jo||rd:null,Mk(),Tu>0&&jo&&jo.push(e),e}function ee(e,t,n,r,o,i){return wk(Y(e,t,n,r,o,i,!0))}function Oe(e,t,n,r,o){return wk(w(e,t,n,r,o,!0))}function pc(e){return e?e.__v_isVNode===!0:!1}function La(e,t){return e.type===t.type&&e.key===t.key}function OD(e){}const Pg="__vInternal",Lk=({key:e})=>e??null,Im=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?sr(e)||lr(e)||Dt(e)?{i:Qr,r:e,k:t,f:!!n}:e:null);function Y(e,t=null,n=null,r=0,o=null,i=e===Ve?0:1,a=!1,s=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Lk(t),ref:t&&Im(t),scopeId:Lg,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Qr};return s?(qx(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=sr(n)?8:16),Tu>0&&!a&&jo&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&jo.push(c),c}const w=TD;function TD(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===B7)&&(e=vo),pc(e)){const s=ps(e,t,!0);return n&&qx(s,n),Tu>0&&!i&&jo&&(s.shapeFlag&6?jo[jo.indexOf(e)]=s:jo.push(s)),s.patchFlag|=-2,s}if(XD(e)&&(e=e.__vccOpts),t){t=Ok(t);let{class:s,style:c}=t;s&&!sr(s)&&(t.class=$e(s)),Bn(c)&&(Ex(c)&&!Mt(c)&&(c=ar({},c)),t.style=we(c))}const a=sr(e)?1:D7(e)?128:MD(e)?64:Bn(e)?4:Dt(e)?2:0;return Y(e,t,n,r,o,a,i,!0)}function Ok(e){return e?Ex(e)||Pg in e?ar({},e):e:null}function ps(e,t,n=!1){const{props:r,ref:o,patchFlag:i,children:a}=e,s=t?Tk(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&Lk(s),ref:t&&t.ref?n&&o?Mt(o)?o.concat(Im(t)):[o,Im(t)]:Im(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ve?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ps(e.ssContent),ssFallback:e.ssFallback&&ps(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Ye(e=" ",t=0){return w(Ou,null,e,t)}function kD(e,t){const n=w(hu,null,e);return n.staticCount=t,n}function Be(e="",t=!1){return t?(Q(),Oe(vo,null,e)):w(vo,null,e)}function Si(e){return e==null||typeof e=="boolean"?w(vo):Mt(e)?w(Ve,null,e.slice()):typeof e=="object"?Ul(e):w(Ou,null,String(e))}function Ul(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ps(e)}function qx(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Mt(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),qx(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(Pg in t)?t._ctx=Qr:o===3&&Qr&&(Qr.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Dt(t)?(t={default:t,_ctx:Qr},n=32):(t=String(t),r&64?(n=16,t=[Ye(t)]):n=8);e.children=t,e.shapeFlag|=n}function Tk(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=$e([t.class,r.class]));else if(o==="style")t.style=we([t.style,r.style]);else if(hp(o)){const i=t[o],a=r[o];a&&i!==a&&!(Mt(i)&&i.includes(a))&&(t[o]=i?[].concat(i,a):a)}else o!==""&&(t[o]=r[o])}return t}function Ko(e,t,n,r=null){Ni(e,t,7,[n,r])}const ND=fk();let PD=0;function kk(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||ND,i={uid:PD++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new Nx(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:pk(r,o),emitsOptions:Z7(r,o),emit:null,emitted:null,propsDefaults:Yn,inheritAttrs:r.inheritAttrs,ctx:Yn,data:Yn,props:Yn,attrs:Yn,slots:Yn,refs:Yn,setupState:Yn,setupContext:null,attrsProxy:null,slotsProxy: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 i.ctx={_:i},i.root=t?t.root:i,i.emit=wB.bind(null,i),e.ce&&e.ce(i),i}let Pr=null;const cl=()=>Pr||Qr;let eb,k4;{const e=v7(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),i=>{o.length>1?o.forEach(a=>a(i)):o[0](i)}};eb=t("__VUE_INSTANCE_SETTERS__",n=>Pr=n),k4=t("__VUE_SSR_SETTERS__",n=>Rp=n)}const mc=e=>{eb(e),e.scope.on()},ac=()=>{Pr&&Pr.scope.off(),eb(null)};function Nk(e){return e.vnode.shapeFlag&4}let Rp=!1;function Pk(e,t=!1){t&&k4(t);const{props:n,children:r}=e.vnode,o=Nk(e);mD(e,n,o,t),AD(e,r);const i=o?CD(e,t):void 0;return t&&k4(!1),i}function CD(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=vp(new Proxy(e.ctx,S4));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?Ik(e):null;mc(e),Zu();const i=tl(r,e,0,[e.props,o]);if(Bu(),ac(),Tx(i)){if(i.then(ac,ac),t)return i.then(a=>{N4(e,a,t)}).catch(a=>{Du(a,e,0)});e.asyncDep=i}else N4(e,i,t)}else Ck(e,t)}function N4(e,t,n){Dt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Bn(t)&&(e.setupState=Ux(t)),Ck(e,n)}let Rv,P4;function ID(e){Rv=e,P4=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,HB))}}const FD=()=>!Rv;function Ck(e,t,n){const r=e.type;if(!e.render){if(!t&&Rv&&!r.render){const o=r.template||Jx(e).template;if(o){const{isCustomElement:i,compilerOptions:a}=e.appContext.config,{delimiters:s,compilerOptions:c}=r,l=ar(ar({isCustomElement:i,delimiters:s},a),c);r.render=Rv(o,l)}}e.render=r.render||Io,P4&&P4(e)}{mc(e),Zu();try{lD(e)}finally{Bu(),ac()}}}function _D(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return oi(e,"get","$attrs"),t[n]}}))}function Ik(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return _D(e)},slots:e.slots,emit:e.emit,expose:t}}function Cg(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Ux(vp(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ah)return ah[n](e)},has(t,n){return n in t||n in ah}}))}function C4(e,t=!0){return Dt(e)?e.displayName||e.name:e.name||t&&e.__name}function XD(e){return Dt(e)&&"__vccOpts"in e}const Se=(e,t)=>sB(e,t,Rp);function Fk(e,t,n){const r=arguments.length;return r===2?Bn(t)&&!Mt(t)?pc(t)?w(e,null,[t]):w(e,t):w(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&pc(n)&&(n=[n]),w(e,t,n))}function ED(){}function WD(e,t,n,r){const o=n[r];if(o&&_k(o,e))return o;const i=t();return i.memo=e.slice(),n[r]=i}function _k(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(Ca(n[r],t[r]))return!1;return Tu>0&&jo&&jo.push(e),!0}const Xk="3.4.3",VD=Io,UD=yB,YD=void 0,QD=Io,ZD={createComponentInstance:kk,setupComponent:Pk,renderComponentRoot:Cm,setCurrentRenderingInstance:Yh,isVNode:pc,normalizeVNode:Si},BD=ZD,DD=null,KD=null,HD=null,GD="http://www.w3.org/2000/svg",JD="http://www.w3.org/1998/Math/MathML",Yl=typeof document<"u"?document:null,VS=Yl&&Yl.createElement("template"),zD={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 o=t==="svg"?Yl.createElementNS(GD,e):t==="mathml"?Yl.createElementNS(JD,e):Yl.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Yl.createTextNode(e),createComment:e=>Yl.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Yl.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const a=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{VS.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const s=VS.content;if(r==="svg"||r==="mathml"){const c=s.firstChild;for(;c.firstChild;)s.appendChild(c.firstChild);s.removeChild(c)}t.insertBefore(s,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ml="transition",d0="animation",yd=Symbol("_vtc"),ku=(e,{slots:t})=>Fk($7,Wk(e),t);ku.displayName="Transition";const Ek={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},jD=ku.props=ar({},Hx,Ek),Yc=(e,t=[])=>{Mt(e)?e.forEach(n=>n(...t)):e&&e(...t)},US=e=>e?Mt(e)?e.some(t=>t.length>1):e.length>1:!1;function Wk(e){const t={};for(const N in e)N in Ek||(t[N]=e[N]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:l=a,appearToClass:u=s,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,p=$D(o),m=p&&p[0],A=p&&p[1],{onBeforeEnter:x,onEnter:R,onEnterCancelled:y,onLeave:g,onLeaveCancelled:S,onBeforeAppear:L=x,onAppear:T=R,onAppearCancelled:M=y}=t,O=(N,X,C)=>{Nl(N,X?u:s),Nl(N,X?l:a),C&&C()},k=(N,X)=>{N._isLeaving=!1,Nl(N,f),Nl(N,h),Nl(N,d),X&&X()},_=N=>(X,C)=>{const F=N?T:R,I=()=>O(X,N,C);Yc(F,[X,I]),YS(()=>{Nl(X,N?c:i),Us(X,N?u:s),US(F)||QS(X,r,m,I)})};return ar(t,{onBeforeEnter(N){Yc(x,[N]),Us(N,i),Us(N,a)},onBeforeAppear(N){Yc(L,[N]),Us(N,c),Us(N,l)},onEnter:_(!1),onAppear:_(!0),onLeave(N,X){N._isLeaving=!0;const C=()=>k(N,X);Us(N,f),Uk(),Us(N,d),YS(()=>{N._isLeaving&&(Nl(N,f),Us(N,h),US(g)||QS(N,r,A,C))}),Yc(g,[N,C])},onEnterCancelled(N){O(N,!1),Yc(y,[N])},onAppearCancelled(N){O(N,!0),Yc(M,[N])},onLeaveCancelled(N){k(N),Yc(S,[N])}})}function $D(e){if(e==null)return null;if(Bn(e))return[KA(e.enter),KA(e.leave)];{const t=KA(e);return[t,t]}}function KA(e){return hv(e)}function Us(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[yd]||(e[yd]=new Set)).add(t)}function Nl(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[yd];n&&(n.delete(t),n.size||(e[yd]=void 0))}function YS(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let qD=0;function QS(e,t,n,r){const o=e._endId=++qD,i=()=>{o===e._endId&&r()};if(n)return setTimeout(i,n);const{type:a,timeout:s,propCount:c}=Vk(e,t);if(!a)return r();const l=a+"end";let u=0;const f=()=>{e.removeEventListener(l,d),i()},d=h=>{h.target===e&&++u>=c&&f()};setTimeout(()=>{u<c&&f()},s+1),e.addEventListener(l,d)}function Vk(e,t){const n=window.getComputedStyle(e),r=p=>(n[p]||"").split(", "),o=r(`${Ml}Delay`),i=r(`${Ml}Duration`),a=ZS(o,i),s=r(`${d0}Delay`),c=r(`${d0}Duration`),l=ZS(s,c);let u=null,f=0,d=0;t===Ml?a>0&&(u=Ml,f=a,d=i.length):t===d0?l>0&&(u=d0,f=l,d=c.length):(f=Math.max(a,l),u=f>0?a>l?Ml:d0:null,d=u?u===Ml?i.length:c.length:0);const h=u===Ml&&/\b(transform|all)(,|$)/.test(r(`${Ml}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:h}}function ZS(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>BS(n)+BS(e[r])))}function BS(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Uk(){return document.body.offsetHeight}function eK(e,t,n){const r=e[yd];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const tb=Symbol("_vod"),il={beforeMount(e,{value:t},{transition:n}){e[tb]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):h0(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),h0(e,!0),r.enter(e)):r.leave(e,()=>{h0(e,!1)}):h0(e,t))},beforeUnmount(e,{value:t}){h0(e,t)}};function h0(e,t){e.style.display=t?e[tb]:"none"}function tK(){il.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const Yk=Symbol("");function nK(e){const t=cl();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>F4(i,o))},r=()=>{const o=e(t.proxy);I4(t.subTree,o),n(o)};J7(r),Gt(()=>{const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),Tn(()=>o.disconnect())})}function I4(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{I4(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)F4(e.el,t);else if(e.type===Ve)e.children.forEach(n=>I4(n,t));else if(e.type===hu){let{el:n,anchor:r}=e;for(;n&&(F4(n,t),n!==r);)n=n.nextSibling}}function F4(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const o in t)n.setProperty(`--${o}`,t[o]),r+=`--${o}: ${t[o]};`;n[Yk]=r}}function rK(e,t,n){const r=e.style,o=sr(n);if(n&&!o){if(t&&!sr(t))for(const i in t)n[i]==null&&_4(r,i,"");for(const i in n)_4(r,i,n[i])}else{const i=r.display;if(o){if(t!==n){const a=r[Yk];a&&(n+=";"+a),r.cssText=n}}else t&&e.removeAttribute("style");tb in e&&(r.display=i)}}const DS=/\s*!important$/;function _4(e,t,n){if(Mt(n))n.forEach(r=>_4(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=oK(e,t);DS.test(n)?e.setProperty(Hi(r),n.replace(DS,""),"important"):e[r]=n}}const KS=["Webkit","Moz","ms"],HA={};function oK(e,t){const n=HA[t];if(n)return n;let r=Fo(t);if(r!=="filter"&&r in e)return HA[t]=r;r=pp(r);for(let o=0;o<KS.length;o++){const i=KS[o]+r;if(i in e)return HA[t]=i}return t}const HS="http://www.w3.org/1999/xlink";function iK(e,t,n,r,o){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(HS,t.slice(6,t.length)):e.setAttributeNS(HS,t,n);else{const i=XZ(t);n==null||i&&!g7(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function aK(e,t,n,r,o,i,a){if(t==="innerHTML"||t==="textContent"){r&&a(r,o,i),e[t]=n??"";return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){e._value=n;const l=s==="OPTION"?e.getAttribute("value"):e.value,u=n??"";l!==u&&(e.value=u),n==null&&e.removeAttribute(t);return}let c=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=g7(n):n==null&&l==="string"?(n="",c=!0):l==="number"&&(n=0,c=!0)}try{e[t]=n}catch{}c&&e.removeAttribute(t)}function Ks(e,t,n,r){e.addEventListener(t,n,r)}function sK(e,t,n,r){e.removeEventListener(t,n,r)}const GS=Symbol("_vei");function lK(e,t,n,r,o=null){const i=e[GS]||(e[GS]={}),a=i[t];if(r&&a)a.value=r;else{const[s,c]=cK(t);if(r){const l=i[t]=dK(r,o);Ks(e,s,l,c)}else a&&(sK(e,s,a,c),i[t]=void 0)}}const JS=/(?:Once|Passive|Capture)$/;function cK(e){let t;if(JS.test(e)){t={};let r;for(;r=e.match(JS);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Hi(e.slice(2)),t]}let GA=0;const uK=Promise.resolve(),fK=()=>GA||(uK.then(()=>GA=0),GA=Date.now());function dK(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ni(hK(r,n.value),t,5,[r])};return n.value=e,n.attached=fK(),n}function hK(e,t){if(Mt(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const zS=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,pK=(e,t,n,r,o,i,a,s,c)=>{const l=o==="svg";t==="class"?eK(e,r,l):t==="style"?rK(e,n,r):hp(t)?Lx(t)||lK(e,t,n,r,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):mK(e,t,r,l))?aK(e,t,r,i,a,s,c):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),iK(e,t,r,l))};function mK(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&zS(t)&&Dt(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 o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return zS(t)&&sr(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function Qk(e,t){const n=Fe(e);class r extends Ig{constructor(i){super(n,i,t)}}return r.def=n,r}/*! #__NO_SIDE_EFFECTS__ */const vK=e=>Qk(e,qk),gK=typeof HTMLElement<"u"?HTMLElement:class{};class Ig extends gK{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,this._ob&&(this._ob.disconnect(),this._ob=null),Vr(()=>{this._connected||(bd(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 o of r)this._setAttr(o.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(r,o=!1)=>{const{props:i,styles:a}=r;let s;if(i&&!Mt(i))for(const c in i){const l=i[c];(l===Number||l&&l.type===Number)&&(c in this._props&&(this._props[c]=hv(this._props[c])),(s||(s=Object.create(null)))[Fo(c)]=!0)}this._numberProps=s,o&&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=Mt(n)?n:Object.keys(n||{});for(const o of Object.keys(this))o[0]!=="_"&&r.includes(o)&&this._setProp(o,this[o],!0,!1);for(const o of r.map(Fo))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(i){this._setProp(o,i)}})}_setAttr(t){let n=this.getAttribute(t);const r=Fo(t);this._numberProps&&this._numberProps[r]&&(n=hv(n)),this._setProp(r,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,o=!0){n!==this._props[t]&&(this._props[t]=n,o&&this._instance&&this._update(),r&&(n===!0?this.setAttribute(Hi(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Hi(t),n+""):n||this.removeAttribute(Hi(t))))}_update(){bd(this._createVNode(),this.shadowRoot)}_createVNode(){const t=w(this._def,ar({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const r=(i,a)=>{this.dispatchEvent(new CustomEvent(i,{detail:a}))};n.emit=(i,...a)=>{r(i,a),Hi(i)!==i&&r(Hi(i),a)};let o=this;for(;o=o&&(o.parentNode||o.host);)if(o instanceof Ig){n.parent=o._instance,n.provides=o._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const r=document.createElement("style");r.textContent=n,this.shadowRoot.appendChild(r)})}}function AK(e="$style"){{const t=cl();if(!t)return Yn;const n=t.type.__cssModules;if(!n)return Yn;const r=n[e];return r||Yn}}const Zk=new WeakMap,Bk=new WeakMap,yv=Symbol("_moveCb"),jS=Symbol("_enterCb"),Dk={name:"TransitionGroup",props:ar({},jD,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=cl(),r=Kx();let o,i;return Ng(()=>{if(!o.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!MK(o[0].el,n.vnode.el,a))return;o.forEach(xK),o.forEach(bK);const s=o.filter(SK);Uk(),s.forEach(c=>{const l=c.el,u=l.style;Us(l,a),u.transform=u.webkitTransform=u.transitionDuration="";const f=l[yv]=d=>{d&&d.target!==l||(!d||/transform$/.test(d.propertyName))&&(l.removeEventListener("transitionend",f),l[yv]=null,Nl(l,a))};l.addEventListener("transitionend",f)})}),()=>{const a=pn(e),s=Wk(a);let c=a.tag||Ve;o=i,i=t.default?Tg(t.default()):[];for(let l=0;l<i.length;l++){const u=i[l];u.key!=null&&Lu(u,Rd(u,s,r,n))}if(o)for(let l=0;l<o.length;l++){const u=o[l];Lu(u,Rd(u,s,r,n)),Zk.set(u,u.el.getBoundingClientRect())}return w(c,null,i)}}},RK=e=>delete e.mode;Dk.props;const yK=Dk;function xK(e){const t=e.el;t[yv]&&t[yv](),t[jS]&&t[jS]()}function bK(e){Bk.set(e,e.el.getBoundingClientRect())}function SK(e){const t=Zk.get(e),n=Bk.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${r}px,${o}px)`,i.transitionDuration="0s",e}}function MK(e,t,n){const r=e.cloneNode(),o=e[yd];o&&o.forEach(s=>{s.split(/\s+/).forEach(c=>c&&r.classList.remove(c))}),n.split(/\s+/).forEach(s=>s&&r.classList.add(s)),r.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(r);const{hasTransform:a}=Vk(r);return i.removeChild(r),a}const vc=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Mt(t)?n=>id(t,n):t};function wK(e){e.target.composing=!0}function $S(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const zi=Symbol("_assign"),Dh={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[zi]=vc(o);const i=r||o.props&&o.props.type==="number";Ks(e,t?"change":"input",a=>{if(a.target.composing)return;let s=e.value;n&&(s=s.trim()),i&&(s=dv(s)),e[zi](s)}),n&&Ks(e,"change",()=>{e.value=e.value.trim()}),t||(Ks(e,"compositionstart",wK),Ks(e,"compositionend",$S),Ks(e,"change",$S))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:o}},i){if(e[zi]=vc(i),e.composing)return;const a=o||e.type==="number"?dv(e.value):e.value,s=t??"";a!==s&&(document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===s)||(e.value=s))}},nb={deep:!0,created(e,t,n){e[zi]=vc(n),Ks(e,"change",()=>{const r=e._modelValue,o=xd(e),i=e.checked,a=e[zi];if(Mt(r)){const s=yg(r,o),c=s!==-1;if(i&&!c)a(r.concat(o));else if(!i&&c){const l=[...r];l.splice(s,1),a(l)}}else if(Qu(r)){const s=new Set(r);i?s.add(o):s.delete(o),a(s)}else a(Hk(e,i))})},mounted:qS,beforeUpdate(e,t,n){e[zi]=vc(n),qS(e,t,n)}};function qS(e,{value:t,oldValue:n},r){e._modelValue=t,Mt(t)?e.checked=yg(t,r.props.value)>-1:Qu(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=hc(t,Hk(e,!0)))}const rb={created(e,{value:t},n){e.checked=hc(t,n.props.value),e[zi]=vc(n),Ks(e,"change",()=>{e[zi](xd(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[zi]=vc(r),t!==n&&(e.checked=hc(t,r.props.value))}},Kk={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=Qu(t);Ks(e,"change",()=>{const i=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?dv(xd(a)):xd(a));e[zi](e.multiple?o?new Set(i):i:i[0])}),e[zi]=vc(r)},mounted(e,{value:t}){eM(e,t)},beforeUpdate(e,t,n){e[zi]=vc(n)},updated(e,{value:t}){eM(e,t)}};function eM(e,t){const n=e.multiple;if(!(n&&!Mt(t)&&!Qu(t))){for(let r=0,o=e.options.length;r<o;r++){const i=e.options[r],a=xd(i);if(n)Mt(t)?i.selected=yg(t,a)>-1:i.selected=t.has(a);else if(hc(xd(i),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function xd(e){return"_value"in e?e._value:e.value}function Hk(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Gk={created(e,t,n){j1(e,t,n,null,"created")},mounted(e,t,n){j1(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){j1(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){j1(e,t,n,r,"updated")}};function Jk(e,t){switch(e){case"SELECT":return Kk;case"TEXTAREA":return Dh;default:switch(t){case"checkbox":return nb;case"radio":return rb;default:return Dh}}}function j1(e,t,n,r,o){const a=Jk(e.tagName,n.props&&n.props.type)[o];a&&a(e,t,n,r)}function LK(){Dh.getSSRProps=({value:e})=>({value:e}),rb.getSSRProps=({value:e},t)=>{if(t.props&&hc(t.props.value,e))return{checked:!0}},nb.getSSRProps=({value:e},t)=>{if(Mt(e)){if(t.props&&yg(e,t.props.value)>-1)return{checked:!0}}else if(Qu(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Gk.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Jk(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const OK=["ctrl","shift","alt","meta"],TK={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)=>OK.some(n=>e[`${n}Key`]&&!t.includes(n))},Kt=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(o,...i)=>{for(let a=0;a<t.length;a++){const s=TK[t[a]];if(s&&s(o,t))return}return e(o,...i)})},kK={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},gc=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const i=Hi(o.key);if(t.some(a=>a===i||kK[a]===i))return e(o)})},zk=ar({patchProp:pK},zD);let ch,tM=!1;function jk(){return ch||(ch=Ak(zk))}function $k(){return ch=tM?ch:Rk(zk),tM=!0,ch}const bd=(...e)=>{jk().render(...e)},qk=(...e)=>{$k().hydrate(...e)},eN=(...e)=>{const t=jk().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=nN(r);if(!o)return;const i=t._component;!Dt(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.innerHTML="";const a=n(o,!1,tN(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),a},t},NK=(...e)=>{const t=$k().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=nN(r);if(o)return n(o,!0,tN(o))},t};function tN(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function nN(e){return sr(e)?document.querySelector(e):e}let nM=!1;const PK=()=>{nM||(nM=!0,LK(),tK())},CK=()=>{},IK=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:$7,BaseTransitionPropsValidators:Hx,Comment:vo,DeprecationTypes:HD,EffectScope:Nx,ErrorCodes:RB,ErrorTypeStrings:UD,Fragment:Ve,KeepAlive:ZB,ReactiveEffect:Ad,Static:hu,Suspense:IB,Teleport:$x,Text:Ou,TrackOpTypes:vB,Transition:ku,TransitionGroup:yK,TriggerOpTypes:gB,VueElement:Ig,assertNumber:AB,callWithAsyncErrorHandling:Ni,callWithErrorHandling:tl,camelize:Fo,capitalize:pp,cloneVNode:ps,compatUtils:KD,compile:CK,computed:Se,createApp:eN,createBlock:Oe,createCommentVNode:Be,createElementBlock:ee,createElementVNode:Y,createHydrationRenderer:Rk,createPropsRestProxy:aD,createRenderer:Ak,createSSRApp:NK,createSlots:DB,createStaticVNode:kD,createTextVNode:Ye,createVNode:w,customRef:E7,defineAsyncComponent:YB,defineComponent:Fe,defineCustomElement:Qk,defineEmits:JB,defineExpose:zB,defineModel:qB,defineOptions:jB,defineProps:GB,defineSSRCustomElement:vK,defineSlots:$B,devtools:YD,effect:VZ,effectScope:Px,getCurrentInstance:cl,getCurrentScope:Cx,getTransitionRawChildren:Tg,guardReactiveProps:Ok,h:Fk,handleError:Du,hasInjectionContext:dk,hydrate:qk,initCustomFormatter:ED,initDirectivesForSSR:PK,inject:$o,isMemoSame:_k,isProxy:Ex,isReactive:ls,isReadonly:wu,isRef:lr,isRuntimeOnly:FD,isShallow:nu,isVNode:pc,markRaw:vp,mergeDefaults:oD,mergeModels:iD,mergeProps:Tk,nextTick:Vr,normalizeClass:$e,normalizeProps:FZ,normalizeStyle:we,onActivated:ek,onBeforeMount:Gx,onBeforeUnmount:Vd,onBeforeUpdate:rk,onDeactivated:tk,onErrorCaptured:sk,onMounted:Gt,onRenderTracked:ak,onRenderTriggered:ik,onScopeDispose:y7,onServerPrefetch:ok,onUnmounted:Tn,onUpdated:Ng,openBlock:Q,popScopeId:an,provide:Ku,proxyRefs:Ux,pushScopeId:on,queuePostFlushCb:mv,reactive:mp,readonly:Xx,ref:me,registerRuntimeCompiler:ID,render:bd,renderList:st,renderSlot:cr,resolveComponent:xe,resolveDirective:Ln,resolveDynamicComponent:xs,resolveFilter:DD,resolveTransitionHooks:Rd,setBlockTracking:T4,setDevtoolsHook:QD,setTransitionHooks:Lu,shallowReactive:F7,shallowReadonly:aB,shallowRef:lB,ssrContextKey:H7,ssrUtils:BD,stop:UZ,toDisplayString:bt,toHandlerKey:ih,toHandlers:KB,toRaw:pn,toRef:Wd,toRefs:W7,toValue:fB,transformVNodeArgs:OD,triggerRef:uB,unref:H,useAttrs:nD,useCssModule:AK,useCssVars:nK,useModel:rD,useSSRContext:G7,useSlots:tD,useTransitionState:Kx,vModelCheckbox:nb,vModelDynamic:Gk,vModelRadio:rb,vModelSelect:Kk,vModelText:Dh,vShow:il,version:Xk,warn:VD,watch:Tt,watchEffect:Og,watchPostEffect:J7,watchSyncEffect:z7,withAsyncContext:sD,withCtx:re,withDefaults:eD,withDirectives:Ze,withKeys:gc,withMemo:WD,withModifiers:Kt,withScopeId:LB},Symbol.toStringTag,{value:"Module"}));var FK=!1;/*!
* pinia v2.1.7
* (c) 2023 Eduardo San Martin Morote
* @license MIT
*/let rN;const Fg=e=>rN=e,oN=Symbol();function X4(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var uh;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(uh||(uh={}));function _K(){const e=Px(!0),t=e.run(()=>me({}));let n=[],r=[];const o=vp({install(i){Fg(o),o._a=i,i.provide(oN,o),i.config.globalProperties.$pinia=o,r.forEach(a=>n.push(a)),r=[]},use(i){return!this._a&&!FK?r.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const iN=()=>{};function rM(e,t,n,r=iN){e.push(t);const o=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),r())};return!n&&Cx()&&y7(o),o}function xf(e,...t){e.slice().forEach(n=>{n(...t)})}const XK=e=>e();function E4(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],o=e[n];X4(o)&&X4(r)&&e.hasOwnProperty(n)&&!lr(r)&&!ls(r)?e[n]=E4(o,r):e[n]=r}return e}const EK=Symbol();function WK(e){return!X4(e)||!e.hasOwnProperty(EK)}const{assign:Pl}=Object;function VK(e){return!!(lr(e)&&e.effect)}function UK(e,t,n,r){const{state:o,actions:i,getters:a}=t,s=n.state.value[e];let c;function l(){s||(n.state.value[e]=o?o():{});const u=W7(n.state.value[e]);return Pl(u,i,Object.keys(a||{}).reduce((f,d)=>(f[d]=vp(Se(()=>{Fg(n);const h=n._s.get(e);return a[d].call(h,h)})),f),{}))}return c=aN(e,l,t,n,r,!0),c}function aN(e,t,n={},r,o,i){let a;const s=Pl({actions:{}},n),c={deep:!0};let l,u,f=[],d=[],h;const p=r.state.value[e];!i&&!p&&(r.state.value[e]={}),me({});let m;function A(M){let O;l=u=!1,typeof M=="function"?(M(r.state.value[e]),O={type:uh.patchFunction,storeId:e,events:h}):(E4(r.state.value[e],M),O={type:uh.patchObject,payload:M,storeId:e,events:h});const k=m=Symbol();Vr().then(()=>{m===k&&(l=!0)}),u=!0,xf(f,O,r.state.value[e])}const x=i?function(){const{state:O}=n,k=O?O():{};this.$patch(_=>{Pl(_,k)})}:iN;function R(){a.stop(),f=[],d=[],r._s.delete(e)}function y(M,O){return function(){Fg(r);const k=Array.from(arguments),_=[],N=[];function X(I){_.push(I)}function C(I){N.push(I)}xf(d,{args:k,name:M,store:S,after:X,onError:C});let F;try{F=O.apply(this&&this.$id===e?this:S,k)}catch(I){throw xf(N,I),I}return F instanceof Promise?F.then(I=>(xf(_,I),I)).catch(I=>(xf(N,I),Promise.reject(I))):(xf(_,F),F)}}const g={_p:r,$id:e,$onAction:rM.bind(null,d),$patch:A,$reset:x,$subscribe(M,O={}){const k=rM(f,M,O.detached,()=>_()),_=a.run(()=>Tt(()=>r.state.value[e],N=>{(O.flush==="sync"?u:l)&&M({storeId:e,type:uh.direct,events:h},N)},Pl({},c,O)));return k},$dispose:R},S=mp(g);r._s.set(e,S);const T=(r._a&&r._a.runWithContext||XK)(()=>r._e.run(()=>(a=Px()).run(t)));for(const M in T){const O=T[M];if(lr(O)&&!VK(O)||ls(O))i||(p&&WK(O)&&(lr(O)?O.value=p[M]:E4(O,p[M])),r.state.value[e][M]=O);else if(typeof O=="function"){const k=y(M,O);T[M]=k,s.actions[M]=O}}return Pl(S,T),Pl(pn(S),T),Object.defineProperty(S,"$state",{get:()=>r.state.value[e],set:M=>{A(O=>{Pl(O,M)})}}),r._p.forEach(M=>{Pl(S,a.run(()=>M({store:S,app:r._a,pinia:r,options:s})))}),p&&i&&n.hydrate&&n.hydrate(S.$state,p),l=!0,u=!0,S}function yp(e,t,n){let r,o;const i=typeof t=="function";typeof e=="string"?(r=e,o=i?n:t):(o=e,r=e.id);function a(s,c){const l=dk();return s=s||(l?$o(oN,null):null),s&&Fg(s),s=rN,s._s.has(r)||(i?aN(r,t,o,s):UK(r,o,s)),s._s.get(r)}return a.$id=r,a}function Ee(e){{e=pn(e);const t={};for(const n in e){const r=e[n];(lr(r)||ls(r))&&(t[n]=Wd(e,n))}return t}}let YK=e=>crypto.getRandomValues(new Uint8Array(e)),QK=(e,t,n)=>{let r=(2<<Math.log(e.length-1)/Math.LN2)-1,o=-~(1.6*r*t/e.length);return(i=t)=>{let a="";for(;;){let s=n(o),c=o;for(;c--;)if(a+=e[s[c]&r]||"",a.length===i)return a}}},ZK=(e,t=21)=>QK(e,t,YK),yn=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((t,n)=>(n&=63,n<36?t+=n.toString(36):n<62?t+=(n-26).toString(36).toUpperCase():n>62?t+="-":t+="_",t),"");var Sr=(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))(Sr||{});function jr(e){this.content=e}jr.prototype={constructor:jr,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,o=r.find(e),i=r.content.slice();return o==-1?i.push(n||e,t):(i[o+1]=t,n&&(i[o]=n)),new jr(i)},remove:function(e){var t=this.find(e);if(t==-1)return this;var n=this.content.slice();return n.splice(t,2),new jr(n)},addToStart:function(e,t){return new jr([e,t].concat(this.remove(e).content))},addToEnd:function(e,t){var n=this.remove(e).content.slice();return n.push(e,t),new jr(n)},addBefore:function(e,t,n){var r=this.remove(t),o=r.content.slice(),i=r.find(e);return o.splice(i==-1?o.length:i,0,t,n),new jr(o)},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=jr.from(e),e.size?new jr(e.content.concat(this.subtract(e).content)):this},append:function(e){return e=jr.from(e),e.size?new jr(this.subtract(e).content.concat(e.content)):this},subtract:function(e){var t=this;e=jr.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}};jr.from=function(e){if(e instanceof jr)return e;var t=[];if(e)for(var n in e)t.push(n,e[n]);return new jr(t)};function sN(e,t,n){for(let r=0;;r++){if(r==e.childCount||r==t.childCount)return e.childCount==t.childCount?null:n;let o=e.child(r),i=t.child(r);if(o==i){n+=o.nodeSize;continue}if(!o.sameMarkup(i))return n;if(o.isText&&o.text!=i.text){for(let a=0;o.text[a]==i.text[a];a++)n++;return n}if(o.content.size||i.content.size){let a=sN(o.content,i.content,n+1);if(a!=null)return a}n+=o.nodeSize}}function lN(e,t,n,r){for(let o=e.childCount,i=t.childCount;;){if(o==0||i==0)return o==i?null:{a:n,b:r};let a=e.child(--o),s=t.child(--i),c=a.nodeSize;if(a==s){n-=c,r-=c;continue}if(!a.sameMarkup(s))return{a:n,b:r};if(a.isText&&a.text!=s.text){let l=0,u=Math.min(a.text.length,s.text.length);for(;l<u&&a.text[a.text.length-l-1]==s.text[s.text.length-l-1];)l++,n--,r--;return{a:n,b:r}}if(a.content.size||s.content.size){let l=lN(a.content,s.content,n-1,r-1);if(l)return l}n-=c,r-=c}}class lt{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,o=0,i){for(let a=0,s=0;s<n;a++){let c=this.content[a],l=s+c.nodeSize;if(l>t&&r(c,o+s,i||null,a)!==!1&&c.content.size){let u=s+1;c.nodesBetween(Math.max(0,t-u),Math.min(c.content.size,n-u),r,o+u)}s=l}}descendants(t){this.nodesBetween(0,this.size,t)}textBetween(t,n,r,o){let i="",a=!0;return this.nodesBetween(t,n,(s,c)=>{let l=s.isText?s.text.slice(Math.max(t,c)-c,n-c):s.isLeaf?o?typeof o=="function"?o(s):o:s.type.spec.leafText?s.type.spec.leafText(s):"":"";s.isBlock&&(s.isLeaf&&l||s.isTextblock)&&r&&(a?a=!1:i+=r),i+=l},0),i}append(t){if(!t.size)return this;if(!this.size)return t;let n=this.lastChild,r=t.firstChild,o=this.content.slice(),i=0;for(n.isText&&n.sameMarkup(r)&&(o[o.length-1]=n.withText(n.text+r.text),i=1);i<t.content.length;i++)o.push(t.content[i]);return new lt(o,this.size+t.size)}cut(t,n=this.size){if(t==0&&n==this.size)return this;let r=[],o=0;if(n>t)for(let i=0,a=0;a<n;i++){let s=this.content[i],c=a+s.nodeSize;c>t&&((a<t||c>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),o+=s.nodeSize),a=c}return new lt(r,o)}cutByIndex(t,n){return t==n?lt.empty:t==0&&n==this.content.length?this:new lt(this.content.slice(t,n))}replaceChild(t,n){let r=this.content[t];if(r==n)return this;let o=this.content.slice(),i=this.size+n.nodeSize-r.nodeSize;return o[t]=n,new lt(o,i)}addToStart(t){return new lt([t].concat(this.content),this.size+t.nodeSize)}addToEnd(t){return new lt(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 o=this.content[n];t(o,r,n),r+=o.nodeSize}}findDiffStart(t,n=0){return sN(this,t,n)}findDiffEnd(t,n=this.size,r=t.size){return lN(this,t,n,r)}findIndex(t,n=-1){if(t==0)return $1(0,t);if(t==this.size)return $1(this.content.length,t);if(t>this.size||t<0)throw new RangeError(`Position ${t} outside of fragment (${this})`);for(let r=0,o=0;;r++){let i=this.child(r),a=o+i.nodeSize;if(a>=t)return a==t||n>0?$1(r+1,a):$1(r,o);o=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 lt.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return new lt(n.map(t.nodeFromJSON))}static fromArray(t){if(!t.length)return lt.empty;let n,r=0;for(let o=0;o<t.length;o++){let i=t[o];r+=i.nodeSize,o&&i.isText&&t[o-1].sameMarkup(i)?(n||(n=t.slice(0,o)),n[n.length-1]=i.withText(n[n.length-1].text+i.text)):n&&n.push(i)}return new lt(n||t,r)}static from(t){if(!t)return lt.empty;if(t instanceof lt)return t;if(Array.isArray(t))return this.fromArray(t);if(t.attrs)return new lt([t],t.nodeSize);throw new RangeError("Can not convert "+t+" to a Fragment"+(t.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}lt.empty=new lt([],0);const JA={index:0,offset:0};function $1(e,t){return JA.index=e,JA.offset=t,JA}function xv(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(!xv(e[r],t[r]))return!1}else{for(let r in e)if(!(r in t)||!xv(e[r],t[r]))return!1;for(let r in t)if(!(r in e))return!1}return!0}class Fn{constructor(t,n){this.type=t,this.attrs=n}addToSet(t){let n,r=!1;for(let o=0;o<t.length;o++){let i=t[o];if(this.eq(i))return t;if(this.type.excludes(i.type))n||(n=t.slice(0,o));else{if(i.type.excludes(this.type))return t;!r&&i.type.rank>this.type.rank&&(n||(n=t.slice(0,o)),n.push(this),r=!0),n&&n.push(i)}}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&&xv(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`);return r.create(n.attrs)}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 Fn.none;if(t instanceof Fn)return[t];let n=t.slice();return n.sort((r,o)=>r.type.rank-o.type.rank),n}}Fn.none=[];class bv extends Error{}class At{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=uN(this.content,t+this.openStart,n);return r&&new At(r,this.openStart,this.openEnd)}removeBetween(t,n){return new At(cN(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 At.empty;let r=n.openStart||0,o=n.openEnd||0;if(typeof r!="number"||typeof o!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new At(lt.fromJSON(t,n.content),r,o)}static maxOpen(t,n=!0){let r=0,o=0;for(let i=t.firstChild;i&&!i.isLeaf&&(n||!i.type.spec.isolating);i=i.firstChild)r++;for(let i=t.lastChild;i&&!i.isLeaf&&(n||!i.type.spec.isolating);i=i.lastChild)o++;return new At(t,r,o)}}At.empty=new At(lt.empty,0,0);function cN(e,t,n){let{index:r,offset:o}=e.findIndex(t),i=e.maybeChild(r),{index:a,offset:s}=e.findIndex(n);if(o==t||i.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,i.copy(cN(i.content,t-o-1,n-o-1)))}function uN(e,t,n,r){let{index:o,offset:i}=e.findIndex(t),a=e.maybeChild(o);if(i==t||a.isText)return r&&!r.canReplace(o,o,n)?null:e.cut(0,t).append(n).append(e.cut(t));let s=uN(a.content,t-i-1,n);return s&&e.replaceChild(o,a.copy(s))}function BK(e,t,n){if(n.openStart>e.depth)throw new bv("Inserted content deeper than insertion position");if(e.depth-n.openStart!=t.depth-n.openEnd)throw new bv("Inconsistent open depths");return fN(e,t,n,0)}function fN(e,t,n,r){let o=e.index(r),i=e.node(r);if(o==t.index(r)&&r<e.depth-n.openStart){let a=fN(e,t,n,r+1);return i.copy(i.content.replaceChild(o,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 mu(a,s.cut(0,e.parentOffset).append(n.content).append(s.cut(t.parentOffset)))}else{let{start:a,end:s}=DK(n,e);return mu(i,hN(e,a,s,t,r))}else return mu(i,Sv(e,t,r))}function dN(e,t){if(!t.type.compatibleContent(e.type))throw new bv("Cannot join "+t.type.name+" onto "+e.type.name)}function W4(e,t,n){let r=e.node(n);return dN(r,t.node(n)),r}function pu(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 fh(e,t,n,r){let o=(t||e).node(n),i=0,a=t?t.index(n):o.childCount;e&&(i=e.index(n),e.depth>n?i++:e.textOffset&&(pu(e.nodeAfter,r),i++));for(let s=i;s<a;s++)pu(o.child(s),r);t&&t.depth==n&&t.textOffset&&pu(t.nodeBefore,r)}function mu(e,t){return e.type.checkContent(t),e.copy(t)}function hN(e,t,n,r,o){let i=e.depth>o&&W4(e,t,o+1),a=r.depth>o&&W4(n,r,o+1),s=[];return fh(null,e,o,s),i&&a&&t.index(o)==n.index(o)?(dN(i,a),pu(mu(i,hN(e,t,n,r,o+1)),s)):(i&&pu(mu(i,Sv(e,t,o+1)),s),fh(t,n,o,s),a&&pu(mu(a,Sv(n,r,o+1)),s)),fh(r,null,o,s),new lt(s)}function Sv(e,t,n){let r=[];if(fh(null,e,n,r),e.depth>n){let o=W4(e,t,n+1);pu(mu(o,Sv(e,t,n+1)),r)}return fh(t,null,n,r),new lt(r)}function DK(e,t){let n=t.depth-e.openStart,o=t.node(n).copy(e.content);for(let i=n-1;i>=0;i--)o=t.node(i).copy(lt.from(o));return{start:o.resolveNoCache(e.openStart+n),end:o.resolveNoCache(o.content.size-e.openEnd-n)}}class Kh{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],o=t.child(n);return r?t.child(n).cut(r):o}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],o=n==0?0:this.path[n*3-1]+1;for(let i=0;i<t;i++)o+=r.child(i).nodeSize;return o}marks(){let t=this.parent,n=this.index();if(t.content.size==0)return Fn.none;if(this.textOffset)return t.child(n).marks;let r=t.maybeChild(n-1),o=t.maybeChild(n);if(!r){let s=r;r=o,o=s}let i=r.marks;for(var a=0;a<i.length;a++)i[a].type.spec.inclusive===!1&&(!o||!i[a].isInSet(o.marks))&&(i=i[a--].removeFromSet(i));return i}marksAcross(t){let n=this.parent.maybeChild(this.index());if(!n||!n.isInline)return null;let r=n.marks,o=t.parent.maybeChild(t.index());for(var i=0;i<r.length;i++)r[i].type.spec.inclusive===!1&&(!o||!r[i].isInSet(o.marks))&&(r=r[i--].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 Mv(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=[],o=0,i=n;for(let a=t;;){let{index:s,offset:c}=a.content.findIndex(i),l=i-c;if(r.push(a,s,o+c),!l||(a=a.child(s),a.isText))break;i=l-1,o+=c+1}return new Kh(n,r,i)}static resolveCached(t,n){for(let o=0;o<zA.length;o++){let i=zA[o];if(i.pos==n&&i.doc==t)return i}let r=zA[jA]=Kh.resolve(t,n);return jA=(jA+1)%KK,r}}let zA=[],jA=0,KK=12;class Mv{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 HK=Object.create(null);class cs{constructor(t,n,r,o=Fn.none){this.type=t,this.attrs=n,this.marks=o,this.content=r||lt.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,o=0){this.content.nodesBetween(t,n,r,o,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,o){return this.content.textBetween(t,n,r,o)}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&&xv(this.attrs,n||t.defaultAttrs||HK)&&Fn.sameSet(this.marks,r||Fn.none)}copy(t=null){return t==this.content?this:new cs(this.type,this.attrs,t,this.marks)}mark(t){return t==this.marks?this:new cs(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 At.empty;let o=this.resolve(t),i=this.resolve(n),a=r?0:o.sharedDepth(n),s=o.start(a),l=o.node(a).content.cut(o.pos-s,i.pos-s);return new At(l,o.depth-a,i.depth-a)}replace(t,n,r){return BK(this.resolve(t),this.resolve(n),r)}nodeAt(t){for(let n=this;;){let{index:r,offset:o}=n.content.findIndex(t);if(n=n.maybeChild(r),!n)return null;if(o==t||n.isText)return n;t-=o+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 o=this.content.child(n-1);return{node:o,index:n-1,offset:r-o.nodeSize}}resolve(t){return Kh.resolveCached(this,t)}resolveNoCache(t){return Kh.resolve(this,t)}rangeHasMark(t,n,r){let o=!1;return n>t&&this.nodesBetween(t,n,i=>(r.isInSet(i.marks)&&(o=!0),!o)),o}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()+")"),pN(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=lt.empty,o=0,i=r.childCount){let a=this.contentMatchAt(t).matchFragment(r,o,i),s=a&&a.matchFragment(this.content,n);if(!s||!s.validEnd)return!1;for(let c=o;c<i;c++)if(!this.type.allowsMarks(r.child(c).marks))return!1;return!0}canReplaceWith(t,n,r,o){if(o&&!this.type.allowsMarks(o))return!1;let i=this.contentMatchAt(t).matchType(r),a=i&&i.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);let t=Fn.none;for(let n=0;n<this.marks.length;n++)t=this.marks[n].addToSet(t);if(!Fn.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=null;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 o=lt.fromJSON(t,n.content);return t.nodeType(n.type).create(n.attrs,o,r)}}cs.prototype.text=void 0;class wv extends cs{constructor(t,n,r,o){if(super(t,n,null,o),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):pN(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 wv(this.type,this.attrs,this.text,t)}withText(t){return t==this.text?this:new wv(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 pN(e,t){for(let n=e.length-1;n>=0;n--)t=e[n].type.name+"("+t+")";return t}class Nu{constructor(t){this.validEnd=t,this.next=[],this.wrapCache=[]}static parse(t,n){let r=new GK(t,n);if(r.next==null)return Nu.empty;let o=mN(r);r.next&&r.err("Unexpected trailing text");let i=tH(eH(o));return nH(i,r),i}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 o=this;for(let i=n;o&&i<r;i++)o=o.matchType(t.child(i).type);return o}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 o=[this];function i(a,s){let c=a.matchFragment(t,r);if(c&&(!n||c.validEnd))return lt.from(s.map(l=>l.createAndFill()));for(let l=0;l<a.next.length;l++){let{type:u,next:f}=a.next[l];if(!(u.isText||u.hasRequiredAttrs())&&o.indexOf(f)==-1){o.push(f);let d=i(f,s.concat(u));if(d)return d}}return null}return i(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 o=r.shift(),i=o.match;if(i.matchType(t)){let a=[];for(let s=o;s.type;s=s.via)a.push(s.type);return a.reverse()}for(let a=0;a<i.next.length;a++){let{type:s,next:c}=i.next[a];!s.isLeaf&&!s.hasRequiredAttrs()&&!(s.name in n)&&(!o.type||c.validEnd)&&(r.push({match:s.contentMatch,type:s,via:o}),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 o=0;o<r.next.length;o++)t.indexOf(r.next[o].next)==-1&&n(r.next[o].next)}return n(this),t.map((r,o)=>{let i=o+(r.validEnd?"*":" ")+" ";for(let a=0;a<r.next.length;a++)i+=(a?", ":"")+r.next[a].type.name+"->"+t.indexOf(r.next[a].next);return i}).join(`
`)}}Nu.empty=new Nu(!0);class GK{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 mN(e){let t=[];do t.push(JK(e));while(e.eat("|"));return t.length==1?t[0]:{type:"choice",exprs:t}}function JK(e){let t=[];do t.push(zK(e));while(e.next&&e.next!=")"&&e.next!="|");return t.length==1?t[0]:{type:"seq",exprs:t}}function zK(e){let t=qK(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=jK(e,t);else break;return t}function oM(e){/\D/.test(e.next)&&e.err("Expected number, got '"+e.next+"'");let t=Number(e.next);return e.pos++,t}function jK(e,t){let n=oM(e),r=n;return e.eat(",")&&(e.next!="}"?r=oM(e):r=-1),e.eat("}")||e.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:t}}function $K(e,t){let n=e.nodeTypes,r=n[t];if(r)return[r];let o=[];for(let i in n){let a=n[i];a.groups.indexOf(t)>-1&&o.push(a)}return o.length==0&&e.err("No node type or group '"+t+"' found"),o}function qK(e){if(e.eat("(")){let t=mN(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=$K(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 eH(e){let t=[[]];return o(i(e,0),n()),t;function n(){return t.push([])-1}function r(a,s,c){let l={term:c,to:s};return t[a].push(l),l}function o(a,s){a.forEach(c=>c.to=s)}function i(a,s){if(a.type=="choice")return a.exprs.reduce((c,l)=>c.concat(i(l,s)),[]);if(a.type=="seq")for(let c=0;;c++){let l=i(a.exprs[c],s);if(c==a.exprs.length-1)return l;o(l,s=n())}else if(a.type=="star"){let c=n();return r(s,c),o(i(a.expr,c),c),[r(c)]}else if(a.type=="plus"){let c=n();return o(i(a.expr,s),c),o(i(a.expr,c),c),[r(c)]}else{if(a.type=="opt")return[r(s)].concat(i(a.expr,s));if(a.type=="range"){let c=s;for(let l=0;l<a.min;l++){let u=n();o(i(a.expr,c),u),c=u}if(a.max==-1)o(i(a.expr,c),c);else for(let l=a.min;l<a.max;l++){let u=n();r(c,u),o(i(a.expr,c),u),c=u}return[r(c)]}else{if(a.type=="name")return[r(s,void 0,a.value)];throw new Error("Unknown expr type")}}}}function vN(e,t){return t-e}function iM(e,t){let n=[];return r(t),n.sort(vN);function r(o){let i=e[o];if(i.length==1&&!i[0].term)return r(i[0].to);n.push(o);for(let a=0;a<i.length;a++){let{term:s,to:c}=i[a];!s&&n.indexOf(c)==-1&&r(c)}}}function tH(e){let t=Object.create(null);return n(iM(e,0));function n(r){let o=[];r.forEach(a=>{e[a].forEach(({term:s,to:c})=>{if(!s)return;let l;for(let u=0;u<o.length;u++)o[u][0]==s&&(l=o[u][1]);iM(e,c).forEach(u=>{l||o.push([s,l=[]]),l.indexOf(u)==-1&&l.push(u)})})});let i=t[r.join(",")]=new Nu(r.indexOf(e.length-1)>-1);for(let a=0;a<o.length;a++){let s=o[a][1].sort(vN);i.next.push({type:o[a][0],next:t[s.join(",")]||n(s)})}return i}}function nH(e,t){for(let n=0,r=[e];n<r.length;n++){let o=r[n],i=!o.validEnd,a=[];for(let s=0;s<o.next.length;s++){let{type:c,next:l}=o.next[s];a.push(c.name),i&&!(c.isText||c.hasRequiredAttrs())&&(i=!1),r.indexOf(l)==-1&&r.push(l)}i&&t.err("Only non-generatable nodes ("+a.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}function gN(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 AN(e,t){let n=Object.create(null);for(let r in e){let o=t&&t[r];if(o===void 0){let i=e[r];if(i.hasDefault)o=i.default;else throw new RangeError("No value supplied for attribute "+r)}n[r]=o}return n}function RN(e){let t=Object.create(null);if(e)for(let n in e)t[n]=new rH(e[n]);return t}let aM=class yN{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=RN(r.attrs),this.defaultAttrs=gN(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==Nu.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:AN(this.attrs,t)}create(t=null,n,r){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new cs(this,this.computeAttrs(t),lt.from(n),Fn.setFrom(r))}createChecked(t=null,n,r){return n=lt.from(n),this.checkContent(n),new cs(this,this.computeAttrs(t),n,Fn.setFrom(r))}createAndFill(t=null,n,r){if(t=this.computeAttrs(t),n=lt.from(n),n.size){let a=this.contentMatch.fillBefore(n);if(!a)return null;n=a.append(n)}let o=this.contentMatch.matchFragment(n),i=o&&o.fillBefore(lt.empty,!0);return i?new cs(this,t,n.append(i),Fn.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)}`)}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:Fn.none:t}static compile(t,n){let r=Object.create(null);t.forEach((i,a)=>r[i]=new yN(i,n,a));let o=n.spec.topNode||"doc";if(!r[o])throw new RangeError("Schema is missing its top node type ('"+o+"')");if(!r.text)throw new RangeError("Every schema needs a 'text' type");for(let i in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}};class rH{constructor(t){this.hasDefault=Object.prototype.hasOwnProperty.call(t,"default"),this.default=t.default}get isRequired(){return!this.hasDefault}}class _g{constructor(t,n,r,o){this.name=t,this.rank=n,this.schema=r,this.spec=o,this.attrs=RN(o.attrs),this.excluded=null;let i=gN(this.attrs);this.instance=i?new Fn(this,i):null}create(t=null){return!t&&this.instance?this.instance:new Fn(this,AN(this.attrs,t))}static compile(t,n){let r=Object.create(null),o=0;return t.forEach((i,a)=>r[i]=new _g(i,o++,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]}excludes(t){return this.excluded.indexOf(t)>-1}}class xN{constructor(t){this.cached=Object.create(null);let n=this.spec={};for(let o in t)n[o]=t[o];n.nodes=jr.from(t.nodes),n.marks=jr.from(t.marks||{}),this.nodes=aM.compile(this.spec.nodes,this),this.marks=_g.compile(this.spec.marks,this);let r=Object.create(null);for(let o in this.nodes){if(o in this.marks)throw new RangeError(o+" can not be both a node and a mark");let i=this.nodes[o],a=i.spec.content||"",s=i.spec.marks;i.contentMatch=r[a]||(r[a]=Nu.parse(a,this.nodes)),i.inlineContent=i.contentMatch.inlineContent,i.markSet=s=="_"?null:s?sM(this,s.split(" ")):s==""||!i.inlineContent?[]:null}for(let o in this.marks){let i=this.marks[o],a=i.spec.excludes;i.excluded=a==null?[i]:a==""?[]:sM(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,o){if(typeof t=="string")t=this.nodeType(t);else if(t instanceof aM){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,o)}text(t,n){let r=this.nodes.text;return new wv(r,r.defaultAttrs,t,Fn.setFrom(n))}mark(t,n){return typeof t=="string"&&(t=this.marks[t]),t.create(n)}nodeFromJSON(t){return cs.fromJSON(this,t)}markFromJSON(t){return Fn.fromJSON(this,t)}nodeType(t){let n=this.nodes[t];if(!n)throw new RangeError("Unknown node type: "+t);return n}}function sM(e,t){let n=[];for(let r=0;r<t.length;r++){let o=t[r],i=e.marks[o],a=i;if(i)n.push(i);else for(let s in e.marks){let c=e.marks[s];(o=="_"||c.spec.group&&c.spec.group.split(" ").indexOf(o)>-1)&&n.push(a=c)}if(!a)throw new SyntaxError("Unknown mark type: '"+t[r]+"'")}return n}class Sd{constructor(t,n){this.schema=t,this.rules=n,this.tags=[],this.styles=[],n.forEach(r=>{r.tag?this.tags.push(r):r.style&&this.styles.push(r)}),this.normalizeLists=!this.tags.some(r=>{if(!/^(ul|ol)\b/.test(r.tag)||!r.node)return!1;let o=t.nodes[r.node];return o.contentMatch.matchType(o)})}parse(t,n={}){let r=new cM(this,n,!1);return r.addAll(t,n.from,n.to),r.finish()}parseSlice(t,n={}){let r=new cM(this,n,!0);return r.addAll(t,n.from,n.to),At.maxOpen(r.finish())}matchTag(t,n,r){for(let o=r?this.tags.indexOf(r)+1:0;o<this.tags.length;o++){let i=this.tags[o];if(aH(t,i.tag)&&(i.namespace===void 0||t.namespaceURI==i.namespace)&&(!i.context||n.matchesContext(i.context))){if(i.getAttrs){let a=i.getAttrs(t);if(a===!1)continue;i.attrs=a||void 0}return i}}}matchStyle(t,n,r,o){for(let i=o?this.styles.indexOf(o)+1:0;i<this.styles.length;i++){let a=this.styles[i],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 c=a.getAttrs(n);if(c===!1)continue;a.attrs=c||void 0}return a}}}static schemaRules(t){let n=[];function r(o){let i=o.priority==null?50:o.priority,a=0;for(;a<n.length;a++){let s=n[a];if((s.priority==null?50:s.priority)<i)break}n.splice(a,0,o)}for(let o in t.marks){let i=t.marks[o].spec.parseDOM;i&&i.forEach(a=>{r(a=uM(a)),a.mark||a.ignore||a.clearMark||(a.mark=o)})}for(let o in t.nodes){let i=t.nodes[o].spec.parseDOM;i&&i.forEach(a=>{r(a=uM(a)),a.node||a.ignore||a.mark||(a.node=o)})}return n}static fromSchema(t){return t.cached.domParser||(t.cached.domParser=new Sd(t,Sd.schemaRules(t)))}}const bN={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},oH={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},SN={ol:!0,ul:!0},Lv=1,Ov=2,dh=4;function lM(e,t,n){return t!=null?(t?Lv:0)|(t==="full"?Ov:0):e&&e.whitespace=="pre"?Lv|Ov:n&~dh}class q1{constructor(t,n,r,o,i,a,s){this.type=t,this.attrs=n,this.marks=r,this.pendingMarks=o,this.solid=i,this.options=s,this.content=[],this.activeMarks=Fn.none,this.stashMarks=[],this.match=a||(s&dh?null:t.contentMatch)}findWrapping(t){if(!this.match){if(!this.type)return[];let n=this.type.contentMatch.fillBefore(lt.from(t));if(n)this.match=this.type.contentMatch.matchFragment(n);else{let r=this.type.contentMatch,o;return(o=r.findWrapping(t.type))?(this.match=r,o):null}}return this.match.findWrapping(t.type)}finish(t){if(!(this.options&Lv)){let r=this.content[this.content.length-1],o;if(r&&r.isText&&(o=/[ \t\r\n\u000c]+$/.exec(r.text))){let i=r;r.text.length==o[0].length?this.content.pop():this.content[this.content.length-1]=i.withText(i.text.slice(0,i.text.length-o[0].length))}}let n=lt.from(this.content);return!t&&this.match&&(n=n.append(this.match.fillBefore(lt.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 o=r[n];(this.type?this.type.allowsMarkType(o.type):lH(o.type,t))&&!o.isInSet(this.activeMarks)&&(this.activeMarks=o.addToSet(this.activeMarks),this.pendingMarks=o.removeFromSet(this.pendingMarks))}}inlineContext(t){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:t.parentNode&&!bN.hasOwnProperty(t.parentNode.nodeName.toLowerCase())}}class cM{constructor(t,n,r){this.parser=t,this.options=n,this.isOpen=r,this.open=0;let o=n.topNode,i,a=lM(null,n.preserveWhitespace,0)|(r?dh:0);o?i=new q1(o.type,o.attrs,Fn.none,Fn.none,!0,n.topMatch||o.type.contentMatch,a):r?i=new q1(null,null,Fn.none,Fn.none,!0,null,a):i=new q1(t.schema.topNodeType,null,Fn.none,Fn.none,!0,null,a),this.nodes=[i],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.getAttribute("style");if(!r)return n();let o=this.readStyles(sH(r));if(!o)return;let[i,a]=o,s=this.top;for(let c=0;c<a.length;c++)this.removePendingMark(a[c],s);for(let c=0;c<i.length;c++)this.addPendingMark(i[c]);n();for(let c=0;c<i.length;c++)this.removePendingMark(i[c],s);for(let c=0;c<a.length;c++)this.addPendingMark(a[c])}addTextNode(t){let n=t.nodeValue,r=this.top;if(r.options&Ov||r.inlineContext(t)||/[^ \t\r\n\u000c]/.test(n)){if(r.options&Lv)r.options&Ov?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 o=r.content[r.content.length-1],i=t.previousSibling;(!o||i&&i.nodeName=="BR"||o.isText&&/[ \t\r\n\u000c]$/.test(o.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(),o;SN.hasOwnProperty(r)&&this.parser.normalizeLists&&iH(t);let i=this.options.ruleFromNode&&this.options.ruleFromNode(t)||(o=this.parser.matchTag(t,this,n));if(i?i.ignore:oH.hasOwnProperty(r))this.findInside(t),this.ignoreFallback(t);else if(!i||i.skip||i.closeParent){i&&i.closeParent?this.open=Math.max(0,this.open-1):i&&i.skip.nodeType&&(t=i.skip);let a,s=this.top,c=this.needsBlock;if(bN.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}i&&i.skip?this.addAll(t):this.withStyleRules(t,()=>this.addAll(t)),a&&this.sync(s),this.needsBlock=c}else this.withStyleRules(t,()=>{this.addElementByRule(t,i,i.consuming===!1?o: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=Fn.none,r=Fn.none;for(let o=0;o<t.length;o+=2)for(let i=void 0;;){let a=this.parser.matchStyle(t[o],t[o+1],this,i);if(!a)break;if(a.ignore)return null;if(a.clearMark?this.top.pendingMarks.concat(this.top.activeMarks).forEach(s=>{a.clearMark(s)&&(r=s.addToSet(r))}):n=this.parser.schema.marks[a.mark].create(a.attrs).addToSet(n),a.consuming===!1)i=a;else break}return[n,r]}addElementByRule(t,n,r){let o,i,a;n.node?(i=this.parser.schema.nodes[n.node],i.isLeaf?this.insertNode(i.create(n.attrs))||this.leafFallback(t):o=this.enter(i,n.attrs||null,n.preserveWhitespace)):(a=this.parser.schema.marks[n.mark].create(n.attrs),this.addPendingMark(a));let s=this.top;if(i&&i.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(c=>this.insertNode(c));else{let c=t;typeof n.contentElement=="string"?c=t.querySelector(n.contentElement):typeof n.contentElement=="function"?c=n.contentElement(t):n.contentElement&&(c=n.contentElement),this.findAround(t,c,!0),this.addAll(c)}o&&this.sync(s)&&this.open--,a&&this.removePendingMark(a,s)}addAll(t,n,r){let o=n||0;for(let i=n?t.childNodes[n]:t.firstChild,a=r==null?null:t.childNodes[r];i!=a;i=i.nextSibling,++o)this.findAtPoint(t,o),this.addDOM(i);this.findAtPoint(t,o)}findPlace(t){let n,r;for(let o=this.open;o>=0;o--){let i=this.nodes[o],a=i.findWrapping(t);if(a&&(!n||n.length>a.length)&&(n=a,r=i,!a.length)||i.solid)break}if(!n)return!1;this.sync(r);for(let o=0;o<n.length;o++)this.enterInner(n[o],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 o=0;o<t.marks.length;o++)(!n.type||n.type.allowsMarkType(t.marks[o].type))&&(r=t.marks[o].addToSet(r));return n.content.push(t.mark(r)),!0}return!1}enter(t,n,r){let o=this.findPlace(t.create(n));return o&&this.enterInner(t,n,!0,r),o}enterInner(t,n=null,r=!1,o){this.closeExtra();let i=this.top;i.applyPending(t),i.match=i.match&&i.match.matchType(t);let a=lM(t,o,i.options);i.options&dh&&i.content.length==0&&(a|=dh),this.nodes.push(new q1(t,n,i.activeMarks,i.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 o=r.length-1;o>=0;o--)t+=r[o].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 o=0;o<this.find.length;o++)this.find[o].pos==null&&t.nodeType==1&&t.contains(this.find[o].node)&&n.compareDocumentPosition(this.find[o].node)&(r?2:4)&&(this.find[o].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,o=!this.isOpen&&(!r||r.parent.type==this.nodes[0].type),i=-(r?r.depth+1:0)+(o?0:1),a=(s,c)=>{for(;s>=0;s--){let l=n[s];if(l==""){if(s==n.length-1||s==0)continue;for(;c>=i;c--)if(a(s-1,c))return!0;return!1}else{let u=c>0||c==0&&o?this.nodes[c].type:r&&c>=i?r.node(c-i).type:null;if(!u||u.name!=l&&u.groups.indexOf(l)==-1)return!1;c--}}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=cH(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 o=this.nodes[r];if(o.pendingMarks.lastIndexOf(t)>-1)o.pendingMarks=t.removeFromSet(o.pendingMarks);else{o.activeMarks=t.removeFromSet(o.activeMarks);let a=o.popFromStashMark(t);a&&o.type&&o.type.allowsMarkType(a.type)&&(o.activeMarks=a.addToSet(o.activeMarks))}if(o==n)break}}}function iH(e){for(let t=e.firstChild,n=null;t;t=t.nextSibling){let r=t.nodeType==1?t.nodeName.toLowerCase():null;r&&SN.hasOwnProperty(r)&&n?(n.appendChild(t),t=n):r=="li"?n=t:r&&(n=null)}}function aH(e,t){return(e.matches||e.msMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector).call(e,t)}function sH(e){let t=/\s*([\w-]+)\s*:\s*([^;]+)/g,n,r=[];for(;n=t.exec(e);)r.push(n[1],n[2].trim());return r}function uM(e){let t={};for(let n in e)t[n]=e[n];return t}function lH(e,t){let n=t.schema.nodes;for(let r in n){let o=n[r];if(!o.allowsMarkType(e))continue;let i=[],a=s=>{i.push(s);for(let c=0;c<s.edgeCount;c++){let{type:l,next:u}=s.edge(c);if(l==t||i.indexOf(u)<0&&a(u))return!0}};if(a(o.contentMatch))return!0}}function cH(e,t){for(let n=0;n<t.length;n++)if(e.eq(t[n]))return t[n]}class zs{constructor(t,n){this.nodes=t,this.marks=n}serializeFragment(t,n={},r){r||(r=$A(n).createDocumentFragment());let o=r,i=[];return t.forEach(a=>{if(i.length||a.marks.length){let s=0,c=0;for(;s<i.length&&c<a.marks.length;){let l=a.marks[c];if(!this.marks[l.type.name]){c++;continue}if(!l.eq(i[s][0])||l.type.spec.spanning===!1)break;s++,c++}for(;s<i.length;)o=i.pop()[1];for(;c<a.marks.length;){let l=a.marks[c++],u=this.serializeMark(l,a.isInline,n);u&&(i.push([l,o]),o.appendChild(u.dom),o=u.contentDOM||u.dom)}}o.appendChild(this.serializeNodeInner(a,n))}),r}serializeNodeInner(t,n){let{dom:r,contentDOM:o}=zs.renderSpec($A(n),this.nodes[t.type.name](t));if(o){if(t.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(t.content,n,o)}return r}serializeNode(t,n={}){let r=this.serializeNodeInner(t,n);for(let o=t.marks.length-1;o>=0;o--){let i=this.serializeMark(t.marks[o],t.isInline,n);i&&((i.contentDOM||i.dom).appendChild(r),r=i.dom)}return r}serializeMark(t,n,r={}){let o=this.marks[t.type.name];return o&&zs.renderSpec($A(r),o(t,n))}static renderSpec(t,n,r=null){if(typeof n=="string")return{dom:t.createTextNode(n)};if(n.nodeType!=null)return{dom:n};if(n.dom&&n.dom.nodeType!=null)return n;let o=n[0],i=o.indexOf(" ");i>0&&(r=o.slice(0,i),o=o.slice(i+1));let a,s=r?t.createElementNS(r,o):t.createElement(o),c=n[1],l=1;if(c&&typeof c=="object"&&c.nodeType==null&&!Array.isArray(c)){l=2;for(let u in c)if(c[u]!=null){let f=u.indexOf(" ");f>0?s.setAttributeNS(u.slice(0,f),u.slice(f+1),c[u]):s.setAttribute(u,c[u])}}for(let u=l;u<n.length;u++){let f=n[u];if(f===0){if(u<n.length-1||u>l)throw new RangeError("Content hole must be the only child of its parent node");return{dom:s,contentDOM:s}}else{let{dom:d,contentDOM:h}=zs.renderSpec(t,f,r);if(s.appendChild(d),h){if(a)throw new RangeError("Multiple content holes");a=h}}}return{dom:s,contentDOM:a}}static fromSchema(t){return t.cached.domSerializer||(t.cached.domSerializer=new zs(this.nodesFromSchema(t),this.marksFromSchema(t)))}static nodesFromSchema(t){let n=fM(t.nodes);return n.text||(n.text=r=>r.text),n}static marksFromSchema(t){return fM(t.marks)}}function fM(e){let t={};for(let n in e){let r=e[n].spec.toDOM;r&&(t[n]=r)}return t}function $A(e){return e.document||window.document}const MN=65535,wN=Math.pow(2,16);function uH(e,t){return e+t*wN}function dM(e){return e&MN}function fH(e){return(e-(e&MN))/wN}const LN=1,ON=2,Fm=4,TN=8;class V4{constructor(t,n,r){this.pos=t,this.delInfo=n,this.recover=r}get deleted(){return(this.delInfo&TN)>0}get deletedBefore(){return(this.delInfo&(LN|Fm))>0}get deletedAfter(){return(this.delInfo&(ON|Fm))>0}get deletedAcross(){return(this.delInfo&Fm)>0}}class wi{constructor(t,n=!1){if(this.ranges=t,this.inverted=n,!t.length&&wi.empty)return wi.empty}recover(t){let n=0,r=dM(t);if(!this.inverted)for(let o=0;o<r;o++)n+=this.ranges[o*3+2]-this.ranges[o*3+1];return this.ranges[r*3]+n+fH(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 o=0,i=this.inverted?2:1,a=this.inverted?1:2;for(let s=0;s<this.ranges.length;s+=3){let c=this.ranges[s]-(this.inverted?o:0);if(c>t)break;let l=this.ranges[s+i],u=this.ranges[s+a],f=c+l;if(t<=f){let d=l?t==c?-1:t==f?1:n:n,h=c+o+(d<0?0:u);if(r)return h;let p=t==(n<0?c:f)?null:uH(s/3,t-c),m=t==c?ON:t==f?LN:Fm;return(n<0?t!=c:t!=f)&&(m|=TN),new V4(h,m,p)}o+=u-l}return r?t+o:new V4(t+o,0,null)}touches(t,n){let r=0,o=dM(n),i=this.inverted?2:1,a=this.inverted?1:2;for(let s=0;s<this.ranges.length;s+=3){let c=this.ranges[s]-(this.inverted?r:0);if(c>t)break;let l=this.ranges[s+i],u=c+l;if(t<=u&&s==o*3)return!0;r+=this.ranges[s+a]-l}return!1}forEach(t){let n=this.inverted?2:1,r=this.inverted?1:2;for(let o=0,i=0;o<this.ranges.length;o+=3){let a=this.ranges[o],s=a-(this.inverted?i:0),c=a+(this.inverted?0:i),l=this.ranges[o+n],u=this.ranges[o+r];t(s,s+l,c,c+u),i+=u-l}}invert(){return new wi(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(t){return t==0?wi.empty:new wi(t<0?[0,-t,0]:[0,0,t])}}wi.empty=new wi([]);class ld{constructor(t=[],n,r=0,o=t.length){this.maps=t,this.mirror=n,this.from=r,this.to=o}slice(t=0,n=this.maps.length){return new ld(this.maps,this.mirror,t,n)}copy(){return new ld(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 o=t.getMirror(n);this.appendMap(t.maps[n],o!=null&&o<n?r+o: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 o=t.getMirror(n);this.appendMap(t.maps[n].invert(),o!=null&&o>n?r-o-1:void 0)}}invert(){let t=new ld;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 o=0;for(let i=this.from;i<this.to;i++){let a=this.maps[i],s=a.mapResult(t,n);if(s.recover!=null){let c=this.getMirror(i);if(c!=null&&c>i&&c<this.to){i=c,t=this.maps[c].recover(s.recover);continue}}o|=s.delInfo,t=s.pos}return r?t:new V4(t,o,null)}}const qA=Object.create(null);class Ao{getMap(){return wi.empty}merge(t){return null}static fromJSON(t,n){if(!n||!n.stepType)throw new RangeError("Invalid input for Step.fromJSON");let r=qA[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 qA)throw new RangeError("Duplicate use of step JSON ID "+t);return qA[t]=n,n.prototype.jsonID=t,n}}class Cr{constructor(t,n){this.doc=t,this.failed=n}static ok(t){return new Cr(t,null)}static fail(t){return new Cr(null,t)}static fromReplace(t,n,r,o){try{return Cr.ok(t.replace(n,r,o))}catch(i){if(i instanceof bv)return Cr.fail(i.message);throw i}}}function ob(e,t,n){let r=[];for(let o=0;o<e.childCount;o++){let i=e.child(o);i.content.size&&(i=i.copy(ob(i.content,t,i))),i.isInline&&(i=t(i,n,o)),r.push(i)}return lt.fromArray(r)}class $l extends Ao{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),o=r.node(r.sharedDepth(this.to)),i=new At(ob(n.content,(a,s)=>!a.isAtom||!s.type.allowsMarkType(this.mark.type)?a:a.mark(this.mark.addToSet(a.marks)),o),n.openStart,n.openEnd);return Cr.fromReplace(t,this.from,this.to,i)}invert(){return new as(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 $l(n.pos,r.pos,this.mark)}merge(t){return t instanceof $l&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new $l(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 $l(n.from,n.to,t.markFromJSON(n.mark))}}Ao.jsonID("addMark",$l);class as extends Ao{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 At(ob(n.content,o=>o.mark(this.mark.removeFromSet(o.marks)),t),n.openStart,n.openEnd);return Cr.fromReplace(t,this.from,this.to,r)}invert(){return new $l(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 as(n.pos,r.pos,this.mark)}merge(t){return t instanceof as&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new as(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 as(n.from,n.to,t.markFromJSON(n.mark))}}Ao.jsonID("removeMark",as);class ql extends Ao{constructor(t,n){super(),this.pos=t,this.mark=n}apply(t){let n=t.nodeAt(this.pos);if(!n)return Cr.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.addToSet(n.marks));return Cr.fromReplace(t,this.pos,this.pos+1,new At(lt.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 o=0;o<n.marks.length;o++)if(!n.marks[o].isInSet(r))return new ql(this.pos,n.marks[o]);return new ql(this.pos,this.mark)}}return new Md(this.pos,this.mark)}map(t){let n=t.mapResult(this.pos,1);return n.deletedAfter?null:new ql(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 ql(n.pos,t.markFromJSON(n.mark))}}Ao.jsonID("addNodeMark",ql);class Md extends Ao{constructor(t,n){super(),this.pos=t,this.mark=n}apply(t){let n=t.nodeAt(this.pos);if(!n)return Cr.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.removeFromSet(n.marks));return Cr.fromReplace(t,this.pos,this.pos+1,new At(lt.from(r),0,n.isLeaf?0:1))}invert(t){let n=t.nodeAt(this.pos);return!n||!this.mark.isInSet(n.marks)?this:new ql(this.pos,this.mark)}map(t){let n=t.mapResult(this.pos,1);return n.deletedAfter?null:new Md(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 Md(n.pos,t.markFromJSON(n.mark))}}Ao.jsonID("removeNodeMark",Md);class uo extends Ao{constructor(t,n,r,o=!1){super(),this.from=t,this.to=n,this.slice=r,this.structure=o}apply(t){return this.structure&&U4(t,this.from,this.to)?Cr.fail("Structure replace would overwrite content"):Cr.fromReplace(t,this.from,this.to,this.slice)}getMap(){return new wi([this.from,this.to-this.from,this.slice.size])}invert(t){return new uo(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 uo(n.pos,Math.max(n.pos,r.pos),this.slice)}merge(t){if(!(t instanceof uo)||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?At.empty:new At(this.slice.content.append(t.slice.content),this.slice.openStart,t.slice.openEnd);return new uo(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?At.empty:new At(t.slice.content.append(this.slice.content),t.slice.openStart,this.slice.openEnd);return new uo(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 uo(n.from,n.to,At.fromJSON(t,n.slice),!!n.structure)}}Ao.jsonID("replace",uo);class ro extends Ao{constructor(t,n,r,o,i,a,s=!1){super(),this.from=t,this.to=n,this.gapFrom=r,this.gapTo=o,this.slice=i,this.insert=a,this.structure=s}apply(t){if(this.structure&&(U4(t,this.from,this.gapFrom)||U4(t,this.gapTo,this.to)))return Cr.fail("Structure gap-replace would overwrite content");let n=t.slice(this.gapFrom,this.gapTo);if(n.openStart||n.openEnd)return Cr.fail("Gap is not a flat range");let r=this.slice.insertAt(this.insert,n.content);return r?Cr.fromReplace(t,this.from,this.to,r):Cr.fail("Content does not fit in gap")}getMap(){return new wi([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 ro(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),o=t.map(this.gapFrom,-1),i=t.map(this.gapTo,1);return n.deletedAcross&&r.deletedAcross||o<n.pos||i>r.pos?null:new ro(n.pos,r.pos,o,i,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 ro(n.from,n.to,n.gapFrom,n.gapTo,At.fromJSON(t,n.slice),n.insert,!!n.structure)}}Ao.jsonID("replaceAround",ro);function U4(e,t,n){let r=e.resolve(t),o=n-t,i=r.depth;for(;o>0&&i>0&&r.indexAfter(i)==r.node(i).childCount;)i--,o--;if(o>0){let a=r.node(i).maybeChild(r.indexAfter(i));for(;o>0;){if(!a||a.isLeaf)return!0;a=a.firstChild,o--}}return!1}function dH(e,t,n,r){let o=[],i=[],a,s;e.doc.nodesBetween(t,n,(c,l,u)=>{if(!c.isInline)return;let f=c.marks;if(!r.isInSet(f)&&u.type.allowsMarkType(r.type)){let d=Math.max(l,t),h=Math.min(l+c.nodeSize,n),p=r.addToSet(f);for(let m=0;m<f.length;m++)f[m].isInSet(p)||(a&&a.to==d&&a.mark.eq(f[m])?a.to=h:o.push(a=new as(d,h,f[m])));s&&s.to==d?s.to=h:i.push(s=new $l(d,h,r))}}),o.forEach(c=>e.step(c)),i.forEach(c=>e.step(c))}function hH(e,t,n,r){let o=[],i=0;e.doc.nodesBetween(t,n,(a,s)=>{if(!a.isInline)return;i++;let c=null;if(r instanceof _g){let l=a.marks,u;for(;u=r.isInSet(l);)(c||(c=[])).push(u),l=u.removeFromSet(l)}else r?r.isInSet(a.marks)&&(c=[r]):c=a.marks;if(c&&c.length){let l=Math.min(s+a.nodeSize,n);for(let u=0;u<c.length;u++){let f=c[u],d;for(let h=0;h<o.length;h++){let p=o[h];p.step==i-1&&f.eq(o[h].style)&&(d=p)}d?(d.to=l,d.step=i):o.push({style:f,from:Math.max(s,t),to:l,step:i})}}}),o.forEach(a=>e.step(new as(a.from,a.to,a.style)))}function pH(e,t,n,r=n.contentMatch){let o=e.doc.nodeAt(t),i=[],a=t+1;for(let s=0;s<o.childCount;s++){let c=o.child(s),l=a+c.nodeSize,u=r.matchType(c.type);if(!u)i.push(new uo(a,l,At.empty));else{r=u;for(let f=0;f<c.marks.length;f++)n.allowsMarkType(c.marks[f].type)||e.step(new as(a,l,c.marks[f]));if(c.isText&&!n.spec.code){let f,d=/\r?\n|\r/g,h;for(;f=d.exec(c.text);)h||(h=new At(lt.from(n.schema.text(" ",n.allowedMarks(c.marks))),0,0)),i.push(new uo(a+f.index,a+f.index+f[0].length,h))}}a=l}if(!r.validEnd){let s=r.fillBefore(lt.empty,!0);e.replace(a,a,new At(s,0,0))}for(let s=i.length-1;s>=0;s--)e.step(i[s])}function mH(e,t,n){return(t==0||e.canReplace(t,e.childCount))&&(n==e.childCount||e.canReplace(0,n))}function xp(e){let n=e.parent.content.cutByIndex(e.startIndex,e.endIndex);for(let r=e.depth;;--r){let o=e.$from.node(r),i=e.$from.index(r),a=e.$to.indexAfter(r);if(r<e.depth&&o.canReplace(i,a,n))return r;if(r==0||o.type.spec.isolating||!mH(o,i,a))break}return null}function vH(e,t,n){let{$from:r,$to:o,depth:i}=t,a=r.before(i+1),s=o.after(i+1),c=a,l=s,u=lt.empty,f=0;for(let p=i,m=!1;p>n;p--)m||r.index(p)>0?(m=!0,u=lt.from(r.node(p).copy(u)),f++):c--;let d=lt.empty,h=0;for(let p=i,m=!1;p>n;p--)m||o.after(p+1)<o.end(p)?(m=!0,d=lt.from(o.node(p).copy(d)),h++):l++;e.step(new ro(c,l,a,s,new At(u.append(d),f,h),u.size-f,!0))}function ib(e,t,n=null,r=e){let o=gH(e,t),i=o&&AH(r,t);return i?o.map(hM).concat({type:t,attrs:n}).concat(i.map(hM)):null}function hM(e){return{type:e,attrs:null}}function gH(e,t){let{parent:n,startIndex:r,endIndex:o}=e,i=n.contentMatchAt(r).findWrapping(t);if(!i)return null;let a=i.length?i[0]:t;return n.canReplaceWith(r,o,a)?i:null}function AH(e,t){let{parent:n,startIndex:r,endIndex:o}=e,i=n.child(r),a=t.contentMatch.findWrapping(i.type);if(!a)return null;let c=(a.length?a[a.length-1]:t).contentMatch;for(let l=r;c&&l<o;l++)c=c.matchType(n.child(l).type);return!c||!c.validEnd?null:a}function RH(e,t,n){let r=lt.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=lt.from(n[a].type.create(n[a].attrs,r))}let o=t.start,i=t.end;e.step(new ro(o,i,o,i,new At(r,0,0),n.length,!0))}function yH(e,t,n,r,o){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let i=e.steps.length;e.doc.nodesBetween(t,n,(a,s)=>{if(a.isTextblock&&!a.hasMarkup(r,o)&&xH(e.doc,e.mapping.slice(i).map(s),r)){e.clearIncompatible(e.mapping.slice(i).map(s,1),r);let c=e.mapping.slice(i),l=c.map(s,1),u=c.map(s+a.nodeSize,1);return e.step(new ro(l,u,l+1,u-1,new At(lt.from(r.create(o,null,a.marks)),0,0),1,!0)),!1}})}function xH(e,t,n){let r=e.resolve(t),o=r.index();return r.parent.canReplaceWith(o,o+1,n)}function bH(e,t,n,r,o){let i=e.doc.nodeAt(t);if(!i)throw new RangeError("No node at given position");n||(n=i.type);let a=n.create(r,null,o||i.marks);if(i.isLeaf)return e.replaceWith(t,t+i.nodeSize,a);if(!n.validContent(i.content))throw new RangeError("Invalid content for node type "+n.name);e.step(new ro(t,t+i.nodeSize,t+1,t+i.nodeSize-1,new At(lt.from(a),0,0),1,!0))}function cd(e,t,n=1,r){let o=e.resolve(t),i=o.depth-n,a=r&&r[r.length-1]||o.parent;if(i<0||o.parent.type.spec.isolating||!o.parent.canReplace(o.index(),o.parent.childCount)||!a.type.validContent(o.parent.content.cutByIndex(o.index(),o.parent.childCount)))return!1;for(let l=o.depth-1,u=n-2;l>i;l--,u--){let f=o.node(l),d=o.index(l);if(f.type.spec.isolating)return!1;let h=f.content.cutByIndex(d,f.childCount),p=r&&r[u+1];p&&(h=h.replaceChild(0,p.type.create(p.attrs)));let m=r&&r[u]||f;if(!f.canReplace(d+1,f.childCount)||!m.type.validContent(h))return!1}let s=o.indexAfter(i),c=r&&r[0];return o.node(i).canReplaceWith(s,s,c?c.type:o.node(i+1).type)}function SH(e,t,n=1,r){let o=e.doc.resolve(t),i=lt.empty,a=lt.empty;for(let s=o.depth,c=o.depth-n,l=n-1;s>c;s--,l--){i=lt.from(o.node(s).copy(i));let u=r&&r[l];a=lt.from(u?u.type.create(u.attrs,a):o.node(s).copy(a))}e.step(new uo(t,t,new At(i.append(a),n,n),!0))}function Ud(e,t){let n=e.resolve(t),r=n.index();return kN(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(r,r+1)}function kN(e,t){return!!(e&&t&&!e.isLeaf&&e.canAppend(t))}function NN(e,t,n=-1){let r=e.resolve(t);for(let o=r.depth;;o--){let i,a,s=r.index(o);if(o==r.depth?(i=r.nodeBefore,a=r.nodeAfter):n>0?(i=r.node(o+1),s++,a=r.node(o).maybeChild(s)):(i=r.node(o).maybeChild(s-1),a=r.node(o+1)),i&&!i.isTextblock&&kN(i,a)&&r.node(o).canReplace(s,s+1))return t;if(o==0)break;t=n<0?r.before(o):r.after(o)}}function MH(e,t,n){let r=new uo(t-n,t+n,At.empty,!0);e.step(r)}function wH(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 o=r.depth-1;o>=0;o--){let i=r.index(o);if(r.node(o).canReplaceWith(i,i,n))return r.before(o+1);if(i>0)return null}if(r.parentOffset==r.parent.content.size)for(let o=r.depth-1;o>=0;o--){let i=r.indexAfter(o);if(r.node(o).canReplaceWith(i,i,n))return r.after(o+1);if(i<r.node(o).childCount)return null}return null}function PN(e,t,n){let r=e.resolve(t);if(!n.content.size)return t;let o=n.content;for(let i=0;i<n.openStart;i++)o=o.firstChild.content;for(let i=1;i<=(n.openStart==0&&n.size?2:1);i++)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,c=r.index(a)+(s>0?1:0),l=r.node(a),u=!1;if(i==1)u=l.canReplace(c,c,o);else{let f=l.contentMatchAt(c).findWrapping(o.firstChild.type);u=f&&l.canReplaceWith(c,c,f[0])}if(u)return s==0?r.pos:s<0?r.before(a+1):r.after(a+1)}return null}function ab(e,t,n=t,r=At.empty){if(t==n&&!r.size)return null;let o=e.resolve(t),i=e.resolve(n);return CN(o,i,r)?new uo(t,n,r):new LH(o,i,r).fit()}function CN(e,t,n){return!n.openStart&&!n.openEnd&&e.start()==t.start()&&e.parent.canReplace(e.index(),t.index(),n.content)}class LH{constructor(t,n,r){this.$from=t,this.$to=n,this.unplaced=r,this.frontier=[],this.placed=lt.empty;for(let o=0;o<=t.depth;o++){let i=t.node(o);this.frontier.push({type:i.type,match:i.contentMatchAt(t.indexAfter(o))})}for(let o=t.depth;o>0;o--)this.placed=lt.from(t.node(o).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let l=this.findFittable();l?this.placeNodes(l):this.openMore()||this.dropNode()}let t=this.mustMoveInline(),n=this.placed.size-this.depth-this.$from.depth,r=this.$from,o=this.close(t<0?this.$to:r.doc.resolve(t));if(!o)return null;let i=this.placed,a=r.depth,s=o.depth;for(;a&&s&&i.childCount==1;)i=i.firstChild.content,a--,s--;let c=new At(i,a,s);return t>-1?new ro(r.pos,t,this.$to.pos,this.$to.end(),c,n):c.size||r.pos!=this.$to.pos?new uo(r.pos,o.pos,c):null}findFittable(){let t=this.unplaced.openStart;for(let n=this.unplaced.content,r=0,o=this.unplaced.openEnd;r<t;r++){let i=n.firstChild;if(n.childCount>1&&(o=0),i.type.spec.isolating&&o<=r){t=r;break}n=i.content}for(let n=1;n<=2;n++)for(let r=n==1?t:this.unplaced.openStart;r>=0;r--){let o,i=null;r?(i=eR(this.unplaced.content,r-1).firstChild,o=i.content):o=this.unplaced.content;let a=o.firstChild;for(let s=this.depth;s>=0;s--){let{type:c,match:l}=this.frontier[s],u,f=null;if(n==1&&(a?l.matchType(a.type)||(f=l.fillBefore(lt.from(a),!1)):i&&c.compatibleContent(i.type)))return{sliceDepth:r,frontierDepth:s,parent:i,inject:f};if(n==2&&a&&(u=l.findWrapping(a.type)))return{sliceDepth:r,frontierDepth:s,parent:i,wrap:u};if(i&&l.matchType(i.type))break}}}openMore(){let{content:t,openStart:n,openEnd:r}=this.unplaced,o=eR(t,n);return!o.childCount||o.firstChild.isLeaf?!1:(this.unplaced=new At(t,n+1,Math.max(r,o.size+n>=t.size-r?n+1:0)),!0)}dropNode(){let{content:t,openStart:n,openEnd:r}=this.unplaced,o=eR(t,n);if(o.childCount<=1&&n>0){let i=t.size-n<=n+o.size;this.unplaced=new At(P0(t,n-1,1),n-1,i?n-1:r)}else this.unplaced=new At(P0(t,n,1),n,r)}placeNodes({sliceDepth:t,frontierDepth:n,parent:r,inject:o,wrap:i}){for(;this.depth>n;)this.closeFrontierNode();if(i)for(let m=0;m<i.length;m++)this.openFrontierNode(i[m]);let a=this.unplaced,s=r?r.content:a.content,c=a.openStart-t,l=0,u=[],{match:f,type:d}=this.frontier[n];if(o){for(let m=0;m<o.childCount;m++)u.push(o.child(m));f=f.matchFragment(o)}let h=s.size+t-(a.content.size-a.openEnd);for(;l<s.childCount;){let m=s.child(l),A=f.matchType(m.type);if(!A)break;l++,(l>1||c==0||m.content.size)&&(f=A,u.push(IN(m.mark(d.allowedMarks(m.marks)),l==1?c:0,l==s.childCount?h:-1)))}let p=l==s.childCount;p||(h=-1),this.placed=C0(this.placed,n,lt.from(u)),this.frontier[n].match=f,p&&h<0&&r&&r.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let m=0,A=s;m<h;m++){let x=A.lastChild;this.frontier.push({type:x.type,match:x.contentMatchAt(x.childCount)}),A=x.content}this.unplaced=p?t==0?At.empty:new At(P0(a.content,t-1,1),t-1,h<0?a.openEnd:t-1):new At(P0(a.content,t,l),a.openStart,a.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let t=this.frontier[this.depth],n;if(!t.type.isTextblock||!tR(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,o=this.$to.after(r);for(;r>1&&o==this.$to.end(--r);)++o;return o}findCloseLevel(t){e:for(let n=Math.min(this.depth,t.depth);n>=0;n--){let{match:r,type:o}=this.frontier[n],i=n<t.depth&&t.end(n+1)==t.pos+(t.depth-(n+1)),a=tR(t,n,o,r,i);if(a){for(let s=n-1;s>=0;s--){let{match:c,type:l}=this.frontier[s],u=tR(t,s,l,c,!0);if(!u||u.childCount)continue e}return{depth:n,fit:a,move:i?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=C0(this.placed,n.depth,n.fit)),t=n.move;for(let r=n.depth+1;r<=t.depth;r++){let o=t.node(r),i=o.type.contentMatch.fillBefore(o.content,!0,t.index(r));this.openFrontierNode(o.type,o.attrs,i)}return t}openFrontierNode(t,n=null,r){let o=this.frontier[this.depth];o.match=o.match.matchType(t),this.placed=C0(this.placed,this.depth,lt.from(t.create(n,r))),this.frontier.push({type:t,match:t.contentMatch})}closeFrontierNode(){let n=this.frontier.pop().match.fillBefore(lt.empty,!0);n.childCount&&(this.placed=C0(this.placed,this.frontier.length,n))}}function P0(e,t,n){return t==0?e.cutByIndex(n,e.childCount):e.replaceChild(0,e.firstChild.copy(P0(e.firstChild.content,t-1,n)))}function C0(e,t,n){return t==0?e.append(n):e.replaceChild(e.childCount-1,e.lastChild.copy(C0(e.lastChild.content,t-1,n)))}function eR(e,t){for(let n=0;n<t;n++)e=e.firstChild.content;return e}function IN(e,t,n){if(t<=0)return e;let r=e.content;return t>1&&(r=r.replaceChild(0,IN(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(lt.empty,!0)))),e.copy(r)}function tR(e,t,n,r,o){let i=e.node(t),a=o?e.indexAfter(t):e.index(t);if(a==i.childCount&&!n.compatibleContent(i.type))return null;let s=r.fillBefore(i.content,!0,a);return s&&!OH(n,i.content,a)?s:null}function OH(e,t,n){for(let r=n;r<t.childCount;r++)if(!e.allowsMarks(t.child(r).marks))return!0;return!1}function TH(e){return e.spec.defining||e.spec.definingForContent}function kH(e,t,n,r){if(!r.size)return e.deleteRange(t,n);let o=e.doc.resolve(t),i=e.doc.resolve(n);if(CN(o,i,r))return e.step(new uo(t,n,r));let a=_N(o,e.doc.resolve(n));a[a.length-1]==0&&a.pop();let s=-(o.depth+1);a.unshift(s);for(let d=o.depth,h=o.pos-1;d>0;d--,h--){let p=o.node(d).type.spec;if(p.defining||p.definingAsContext||p.isolating)break;a.indexOf(d)>-1?s=d:o.before(d)==h&&a.splice(1,0,-d)}let c=a.indexOf(s),l=[],u=r.openStart;for(let d=r.content,h=0;;h++){let p=d.firstChild;if(l.push(p),h==r.openStart)break;d=p.content}for(let d=u-1;d>=0;d--){let h=l[d],p=TH(h.type);if(p&&!h.sameMarkup(o.node(Math.abs(s)-1)))u=d;else if(p||!h.type.isTextblock)break}for(let d=r.openStart;d>=0;d--){let h=(d+u+1)%(r.openStart+1),p=l[h];if(p)for(let m=0;m<a.length;m++){let A=a[(m+c)%a.length],x=!0;A<0&&(x=!1,A=-A);let R=o.node(A-1),y=o.index(A-1);if(R.canReplaceWith(y,y,p.type,p.marks))return e.replace(o.before(A),x?i.after(A):n,new At(FN(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=o.before(h),n=i.after(h))}}function FN(e,t,n,r,o){if(t<n){let i=e.firstChild;e=e.replaceChild(0,i.copy(FN(i.content,t+1,n,r,i)))}if(t>r){let i=o.contentMatchAt(0),a=i.fillBefore(e).append(e);e=a.append(i.matchFragment(a).fillBefore(lt.empty,!0))}return e}function NH(e,t,n,r){if(!r.isInline&&t==n&&e.doc.resolve(t).parent.content.size){let o=wH(e.doc,t,r.type);o!=null&&(t=n=o)}e.replaceRange(t,n,new At(lt.from(r),0,0))}function PH(e,t,n){let r=e.doc.resolve(t),o=e.doc.resolve(n),i=_N(r,o);for(let a=0;a<i.length;a++){let s=i[a],c=a==i.length-1;if(c&&s==0||r.node(s).type.contentMatch.validEnd)return e.delete(r.start(s),o.end(s));if(s>0&&(c||r.node(s-1).canReplace(r.index(s-1),o.indexAfter(s-1))))return e.delete(r.before(s),o.after(s))}for(let a=1;a<=r.depth&&a<=o.depth;a++)if(t-r.start(a)==r.depth-a&&n>r.end(a)&&o.end(a)-n!=o.depth-a)return e.delete(r.before(a),n);e.delete(t,n)}function _N(e,t){let n=[],r=Math.min(e.depth,t.depth);for(let o=r;o>=0;o--){let i=e.start(o);if(i<e.pos-(e.depth-o)||t.end(o)>t.pos+(t.depth-o)||e.node(o).type.spec.isolating||t.node(o).type.spec.isolating)break;(i==t.start(o)||o==e.depth&&o==t.depth&&e.parent.inlineContent&&t.parent.inlineContent&&o&&t.start(o-1)==i-1)&&n.push(o)}return n}class ud extends Ao{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 Cr.fail("No node at attribute step's position");let r=Object.create(null);for(let i in n.attrs)r[i]=n.attrs[i];r[this.attr]=this.value;let o=n.type.create(r,null,n.marks);return Cr.fromReplace(t,this.pos,this.pos+1,new At(lt.from(o),0,n.isLeaf?0:1))}getMap(){return wi.empty}invert(t){return new ud(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 ud(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 ud(n.pos,n.attr,n.value)}}Ao.jsonID("attr",ud);class Hh extends Ao{constructor(t,n){super(),this.attr=t,this.value=n}apply(t){let n=Object.create(null);for(let o in t.attrs)n[o]=t.attrs[o];n[this.attr]=this.value;let r=t.type.create(n,t.content,t.marks);return Cr.ok(r)}getMap(){return wi.empty}invert(t){return new Hh(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 Hh(n.attr,n.value)}}Ao.jsonID("docAttr",Hh);let wd=class extends Error{};wd=function e(t){let n=Error.call(this,t);return n.__proto__=e.prototype,n};wd.prototype=Object.create(Error.prototype);wd.prototype.constructor=wd;wd.prototype.name="TransformError";let CH=class{constructor(t){this.doc=t,this.steps=[],this.docs=[],this.mapping=new ld}get before(){return this.docs.length?this.docs[0]:this.doc}step(t){let n=this.maybeStep(t);if(n.failed)throw new wd(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=At.empty){let o=ab(this.doc,t,n,r);return o&&this.step(o),this}replaceWith(t,n,r){return this.replace(t,n,new At(lt.from(r),0,0))}delete(t,n){return this.replace(t,n,At.empty)}insert(t,n){return this.replaceWith(t,t,n)}replaceRange(t,n,r){return kH(this,t,n,r),this}replaceRangeWith(t,n,r){return NH(this,t,n,r),this}deleteRange(t,n){return PH(this,t,n),this}lift(t,n){return vH(this,t,n),this}join(t,n=1){return MH(this,t,n),this}wrap(t,n){return RH(this,t,n),this}setBlockType(t,n=t,r,o=null){return yH(this,t,n,r,o),this}setNodeMarkup(t,n,r=null,o){return bH(this,t,n,r,o),this}setNodeAttribute(t,n,r){return this.step(new ud(t,n,r)),this}setDocAttribute(t,n){return this.step(new Hh(t,n)),this}addNodeMark(t,n){return this.step(new ql(t,n)),this}removeNodeMark(t,n){if(!(n instanceof Fn)){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 Md(t,n)),this}split(t,n=1,r){return SH(this,t,n,r),this}addMark(t,n,r){return dH(this,t,n,r),this}removeMark(t,n,r){return hH(this,t,n,r),this}clearIncompatible(t,n,r){return pH(this,t,n,r),this}};const nR=Object.create(null);class bn{constructor(t,n,r){this.$anchor=t,this.$head=n,this.ranges=r||[new IH(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=At.empty){let r=n.content.lastChild,o=null;for(let s=0;s<n.openEnd;s++)o=r,r=r.lastChild;let i=t.steps.length,a=this.ranges;for(let s=0;s<a.length;s++){let{$from:c,$to:l}=a[s],u=t.mapping.slice(i);t.replaceRange(u.map(c.pos),u.map(l.pos),s?At.empty:n),s==0&&vM(t,i,(r?r.isInline:o&&o.isTextblock)?-1:1)}}replaceWith(t,n){let r=t.steps.length,o=this.ranges;for(let i=0;i<o.length;i++){let{$from:a,$to:s}=o[i],c=t.mapping.slice(r),l=c.map(a.pos),u=c.map(s.pos);i?t.deleteRange(l,u):(t.replaceRangeWith(l,u,n),vM(t,r,n.isInline?-1:1))}}static findFrom(t,n,r=!1){let o=t.parent.inlineContent?new En(t):Ff(t.node(0),t.parent,t.pos,t.index(),n,r);if(o)return o;for(let i=t.depth-1;i>=0;i--){let a=n<0?Ff(t.node(0),t.node(i),t.before(i+1),t.index(i),n,r):Ff(t.node(0),t.node(i),t.after(i+1),t.index(i)+1,n,r);if(a)return a}return null}static near(t,n=1){return this.findFrom(t,n)||this.findFrom(t,-n)||new qo(t.node(0))}static atStart(t){return Ff(t,t,0,0,1)||new qo(t)}static atEnd(t){return Ff(t,t,t.content.size,t.childCount,-1)||new qo(t)}static fromJSON(t,n){if(!n||!n.type)throw new RangeError("Invalid input for Selection.fromJSON");let r=nR[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 nR)throw new RangeError("Duplicate use of selection JSON ID "+t);return nR[t]=n,n.prototype.jsonID=t,n}getBookmark(){return En.between(this.$anchor,this.$head).getBookmark()}}bn.prototype.visible=!0;class IH{constructor(t,n){this.$from=t,this.$to=n}}let pM=!1;function mM(e){!pM&&!e.parent.inlineContent&&(pM=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+e.parent.type.name+")"))}class En extends bn{constructor(t,n=t){mM(t),mM(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 bn.near(r);let o=t.resolve(n.map(this.anchor));return new En(o.parent.inlineContent?o:r,r)}replace(t,n=At.empty){if(super.replace(t,n),n==At.empty){let r=this.$from.marksAcross(this.$to);r&&t.ensureMarks(r)}}eq(t){return t instanceof En&&t.anchor==this.anchor&&t.head==this.head}getBookmark(){return new Xg(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 En(t.resolve(n.anchor),t.resolve(n.head))}static create(t,n,r=n){let o=t.resolve(n);return new this(o,r==n?o:t.resolve(r))}static between(t,n,r){let o=t.pos-n.pos;if((!r||o)&&(r=o>=0?1:-1),!n.parent.inlineContent){let i=bn.findFrom(n,r,!0)||bn.findFrom(n,-r,!0);if(i)n=i.$head;else return bn.near(n,r)}return t.parent.inlineContent||(o==0?t=n:(t=(bn.findFrom(t,-r,!0)||bn.findFrom(t,r,!0)).$anchor,t.pos<n.pos!=o<0&&(t=n))),new En(t,n)}}bn.jsonID("text",En);class Xg{constructor(t,n){this.anchor=t,this.head=n}map(t){return new Xg(t.map(this.anchor),t.map(this.head))}resolve(t){return En.between(t.resolve(this.anchor),t.resolve(this.head))}}class Ut extends bn{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:o}=n.mapResult(this.anchor),i=t.resolve(o);return r?bn.near(i):new Ut(i)}content(){return new At(lt.from(this.node),0,0)}eq(t){return t instanceof Ut&&t.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new sb(this.anchor)}static fromJSON(t,n){if(typeof n.anchor!="number")throw new RangeError("Invalid input for NodeSelection.fromJSON");return new Ut(t.resolve(n.anchor))}static create(t,n){return new Ut(t.resolve(n))}static isSelectable(t){return!t.isText&&t.type.spec.selectable!==!1}}Ut.prototype.visible=!1;bn.jsonID("node",Ut);class sb{constructor(t){this.anchor=t}map(t){let{deleted:n,pos:r}=t.mapResult(this.anchor);return n?new Xg(r,r):new sb(r)}resolve(t){let n=t.resolve(this.anchor),r=n.nodeAfter;return r&&Ut.isSelectable(r)?new Ut(n):bn.near(n)}}class qo extends bn{constructor(t){super(t.resolve(0),t.resolve(t.content.size))}replace(t,n=At.empty){if(n==At.empty){t.delete(0,t.doc.content.size);let r=bn.atStart(t.doc);r.eq(t.selection)||t.setSelection(r)}else super.replace(t,n)}toJSON(){return{type:"all"}}static fromJSON(t){return new qo(t)}map(t){return new qo(t)}eq(t){return t instanceof qo}getBookmark(){return FH}}bn.jsonID("all",qo);const FH={map(){return this},resolve(e){return new qo(e)}};function Ff(e,t,n,r,o,i=!1){if(t.inlineContent)return En.create(e,n);for(let a=r-(o>0?0:1);o>0?a<t.childCount:a>=0;a+=o){let s=t.child(a);if(s.isAtom){if(!i&&Ut.isSelectable(s))return Ut.create(e,n-(o<0?s.nodeSize:0))}else{let c=Ff(e,s,n+o,o<0?s.childCount:0,o,i);if(c)return c}n+=s.nodeSize*o}return null}function vM(e,t,n){let r=e.steps.length-1;if(r<t)return;let o=e.steps[r];if(!(o instanceof uo||o instanceof ro))return;let i=e.mapping.maps[r],a;i.forEach((s,c,l,u)=>{a==null&&(a=u)}),e.setSelection(bn.near(e.doc.resolve(a),n))}const gM=1,em=2,AM=4;let _H=class extends CH{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|gM)&~em,this.storedMarks=null,this}get selectionSet(){return(this.updated&gM)>0}setStoredMarks(t){return this.storedMarks=t,this.updated|=em,this}ensureMarks(t){return Fn.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&em)>0}addStep(t,n){super.addStep(t,n),this.updated=this.updated&~em,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)||Fn.none))),r.replaceWith(this,t),this}deleteSelection(){return this.selection.replace(this),this}insertText(t,n,r){let o=this.doc.type.schema;if(n==null)return t?this.replaceSelectionWith(o.text(t),!0):this.deleteSelection();{if(r==null&&(r=n),r=r??n,!t)return this.deleteRange(n,r);let i=this.storedMarks;if(!i){let a=this.doc.resolve(n);i=r==n?a.marks():a.marksAcross(this.doc.resolve(r))}return this.replaceRangeWith(n,r,o.text(t,i)),this.selection.empty||this.setSelection(bn.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|=AM,this}get scrolledIntoView(){return(this.updated&AM)>0}};function RM(e,t){return!t||!e?e:e.bind(t)}class I0{constructor(t,n,r){this.name=t,this.init=RM(n.init,r),this.apply=RM(n.apply,r)}}const XH=[new I0("doc",{init(e){return e.doc||e.schema.topNodeType.createAndFill()},apply(e){return e.doc}}),new I0("selection",{init(e,t){return e.selection||bn.atStart(t.doc)},apply(e){return e.selection}}),new I0("storedMarks",{init(e){return e.storedMarks||null},apply(e,t,n,r){return r.selection.$cursor?e.storedMarks:null}}),new I0("scrollToSelection",{init(){return 0},apply(e,t){return e.scrolledIntoView?t+1:t}})];class rR{constructor(t,n){this.schema=t,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=XH.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 I0(r.key,r.spec.state,r))})}}class Kf{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 o=this.config.plugins[r];if(o.spec.filterTransaction&&!o.spec.filterTransaction.call(o,t,this))return!1}return!0}applyTransaction(t){if(!this.filterTransaction(t))return{state:this,transactions:[]};let n=[t],r=this.applyInner(t),o=null;for(;;){let i=!1;for(let a=0;a<this.config.plugins.length;a++){let s=this.config.plugins[a];if(s.spec.appendTransaction){let c=o?o[a].n:0,l=o?o[a].state:this,u=c<n.length&&s.spec.appendTransaction.call(s,c?n.slice(c):n,l,r);if(u&&r.filterTransaction(u,a)){if(u.setMeta("appendedTransaction",t),!o){o=[];for(let f=0;f<this.config.plugins.length;f++)o.push(f<a?{state:r,n:n.length}:{state:this,n:0})}n.push(u),r=r.applyInner(u),i=!0}o&&(o[a]={state:r,n:n.length})}}if(!i)return{state:r,transactions:n}}}applyInner(t){if(!t.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction");let n=new Kf(this.config),r=this.config.fields;for(let o=0;o<r.length;o++){let i=r[o];n[i.name]=i.apply(t,this[i.name],this,n)}return n}get tr(){return new _H(this)}static create(t){let n=new rR(t.doc?t.doc.type.schema:t.schema,t.plugins),r=new Kf(n);for(let o=0;o<n.fields.length;o++)r[n.fields[o].name]=n.fields[o].init(t,r);return r}reconfigure(t){let n=new rR(this.schema,t.plugins),r=n.fields,o=new Kf(n);for(let i=0;i<r.length;i++){let a=r[i].name;o[a]=this.hasOwnProperty(a)?this[a]:r[i].init(t,o)}return o}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 o=t[r],i=o.spec.state;i&&i.toJSON&&(n[r]=i.toJSON.call(o,this[o.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 o=new rR(t.schema,t.plugins),i=new Kf(o);return o.fields.forEach(a=>{if(a.name=="doc")i.doc=cs.fromJSON(t.schema,n.doc);else if(a.name=="selection")i.selection=bn.fromJSON(i.doc,n.selection);else if(a.name=="storedMarks")n.storedMarks&&(i.storedMarks=n.storedMarks.map(t.schema.markFromJSON));else{if(r)for(let s in r){let c=r[s],l=c.spec.state;if(c.key==a.name&&l&&l.fromJSON&&Object.prototype.hasOwnProperty.call(n,s)){i[a.name]=l.fromJSON.call(c,t,n[s],i);return}}i[a.name]=a.init(t,i)}}),i}}function XN(e,t,n){for(let r in e){let o=e[r];o instanceof Function?o=o.bind(t):r=="handleDOMEvents"&&(o=XN(o,t,{})),n[r]=o}return n}class Yd{constructor(t){this.spec=t,this.props={},t.props&&XN(t.props,this,this.props),this.key=t.key?t.key.key:EN("plugin")}getState(t){return t[this.key]}}const oR=Object.create(null);function EN(e){return e in oR?e+"$"+ ++oR[e]:(oR[e]=0,e+"$")}class WN{constructor(t="key"){this.key=EN(t)}get(t){return t.config.pluginsByKey[this.key]}getState(t){return t[this.key]}}const VN=(e,t)=>e.selection.empty?!1:(t&&t(e.tr.deleteSelection().scrollIntoView()),!0);function EH(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("backward",e):n.parentOffset>0)?null:n}const WH=(e,t,n)=>{let r=EH(e,n);if(!r)return!1;let o=UN(r);if(!o){let a=r.blockRange(),s=a&&xp(a);return s==null?!1:(t&&t(e.tr.lift(a,s).scrollIntoView()),!0)}let i=o.nodeBefore;if(!i.type.spec.isolating&&HN(e,o,t))return!0;if(r.parent.content.size==0&&(Ld(i,"end")||Ut.isSelectable(i))){let a=ab(e.doc,r.before(),r.after(),At.empty);if(a&&a.slice.size<a.to-a.from){if(t){let s=e.tr.step(a);s.setSelection(Ld(i,"end")?bn.findFrom(s.doc.resolve(s.mapping.map(o.pos,-1)),-1):Ut.create(s.doc,o.pos-i.nodeSize)),t(s.scrollIntoView())}return!0}}return i.isAtom&&o.depth==r.depth-1?(t&&t(e.tr.delete(o.pos-i.nodeSize,o.pos).scrollIntoView()),!0):!1};function Ld(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 VH=(e,t,n)=>{let{$head:r,empty:o}=e.selection,i=r;if(!o)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("backward",e):r.parentOffset>0)return!1;i=UN(r)}let a=i&&i.nodeBefore;return!a||!Ut.isSelectable(a)?!1:(t&&t(e.tr.setSelection(Ut.create(e.doc,i.pos-a.nodeSize)).scrollIntoView()),!0)};function UN(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 UH(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("forward",e):n.parentOffset<n.parent.content.size)?null:n}const YH=(e,t,n)=>{let r=UH(e,n);if(!r)return!1;let o=YN(r);if(!o)return!1;let i=o.nodeAfter;if(HN(e,o,t))return!0;if(r.parent.content.size==0&&(Ld(i,"start")||Ut.isSelectable(i))){let a=ab(e.doc,r.before(),r.after(),At.empty);if(a&&a.slice.size<a.to-a.from){if(t){let s=e.tr.step(a);s.setSelection(Ld(i,"start")?bn.findFrom(s.doc.resolve(s.mapping.map(o.pos)),1):Ut.create(s.doc,s.mapping.map(o.pos))),t(s.scrollIntoView())}return!0}}return i.isAtom&&o.depth==r.depth-1?(t&&t(e.tr.delete(o.pos,o.pos+i.nodeSize).scrollIntoView()),!0):!1},QH=(e,t,n)=>{let{$head:r,empty:o}=e.selection,i=r;if(!o)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("forward",e):r.parentOffset<r.parent.content.size)return!1;i=YN(r)}let a=i&&i.nodeAfter;return!a||!Ut.isSelectable(a)?!1:(t&&t(e.tr.setSelection(Ut.create(e.doc,i.pos)).scrollIntoView()),!0)};function YN(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 ZH=(e,t)=>{let n=e.selection,r=n instanceof Ut,o;if(r){if(n.node.isTextblock||!Ud(e.doc,n.from))return!1;o=n.from}else if(o=NN(e.doc,n.from,-1),o==null)return!1;if(t){let i=e.tr.join(o);r&&i.setSelection(Ut.create(i.doc,o-e.doc.resolve(o).nodeBefore.nodeSize)),t(i.scrollIntoView())}return!0},BH=(e,t)=>{let n=e.selection,r;if(n instanceof Ut){if(n.node.isTextblock||!Ud(e.doc,n.to))return!1;r=n.to}else if(r=NN(e.doc,n.to,1),r==null)return!1;return t&&t(e.tr.join(r).scrollIntoView()),!0},DH=(e,t)=>{let{$from:n,$to:r}=e.selection,o=n.blockRange(r),i=o&&xp(o);return i==null?!1:(t&&t(e.tr.lift(o,i).scrollIntoView()),!0)},QN=(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 lb(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 KH=(e,t)=>{let{$head:n,$anchor:r}=e.selection;if(!n.parent.type.spec.code||!n.sameParent(r))return!1;let o=n.node(-1),i=n.indexAfter(-1),a=lb(o.contentMatchAt(i));if(!a||!o.canReplaceWith(i,i,a))return!1;if(t){let s=n.after(),c=e.tr.replaceWith(s,s,a.createAndFill());c.setSelection(bn.near(c.doc.resolve(s),1)),t(c.scrollIntoView())}return!0},ZN=(e,t)=>{let n=e.selection,{$from:r,$to:o}=n;if(n instanceof qo||r.parent.inlineContent||o.parent.inlineContent)return!1;let i=lb(o.parent.contentMatchAt(o.indexAfter()));if(!i||!i.isTextblock)return!1;if(t){let a=(!r.parentOffset&&o.index()<o.parent.childCount?r:o).pos,s=e.tr.insert(a,i.createAndFill());s.setSelection(En.create(s.doc,a+1)),t(s.scrollIntoView())}return!0},BN=(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 i=n.before();if(cd(e.doc,i))return t&&t(e.tr.split(i).scrollIntoView()),!0}let r=n.blockRange(),o=r&&xp(r);return o==null?!1:(t&&t(e.tr.lift(r,o).scrollIntoView()),!0)};function HH(e){return(t,n)=>{let{$from:r,$to:o}=t.selection;if(t.selection instanceof Ut&&t.selection.node.isBlock)return!r.parentOffset||!cd(t.doc,r.pos)?!1:(n&&n(t.tr.split(r.pos).scrollIntoView()),!0);if(!r.parent.isBlock)return!1;if(n){let i=o.parentOffset==o.parent.content.size,a=t.tr;(t.selection instanceof En||t.selection instanceof qo)&&a.deleteSelection();let s=r.depth==0?null:lb(r.node(-1).contentMatchAt(r.indexAfter(-1))),c=e&&e(o.parent,i),l=c?[c]:i&&s?[{type:s}]:void 0,u=cd(a.doc,a.mapping.map(r.pos),1,l);if(!l&&!u&&cd(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),!i&&!r.parentOffset&&r.parent.type!=s)){let f=a.mapping.map(r.before()),d=a.doc.resolve(f);s&&r.node(-1).canReplaceWith(d.index(),d.index()+1,s)&&a.setNodeMarkup(a.mapping.map(r.before()),s)}n(a.scrollIntoView())}return!0}}const DN=HH(),GH=(e,t)=>DN(e,t&&(n=>{let r=e.storedMarks||e.selection.$to.parentOffset&&e.selection.$from.marks();r&&n.ensureMarks(r),t(n)})),JH=(e,t)=>{let{$from:n,to:r}=e.selection,o,i=n.sharedDepth(r);return i==0?!1:(o=n.before(i),t&&t(e.tr.setSelection(Ut.create(e.doc,o))),!0)},KN=(e,t)=>(t&&t(e.tr.setSelection(new qo(e.doc))),!0);function zH(e,t,n){let r=t.nodeBefore,o=t.nodeAfter,i=t.index();return!r||!o||!r.type.compatibleContent(o.type)?!1:!r.content.size&&t.parent.canReplace(i-1,i)?(n&&n(e.tr.delete(t.pos-r.nodeSize,t.pos).scrollIntoView()),!0):!t.parent.canReplace(i,i+1)||!(o.isTextblock||Ud(e.doc,t.pos))?!1:(n&&n(e.tr.clearIncompatible(t.pos,r.type,r.contentMatchAt(r.childCount)).join(t.pos).scrollIntoView()),!0)}function HN(e,t,n){let r=t.nodeBefore,o=t.nodeAfter,i,a;if(r.type.spec.isolating||o.type.spec.isolating)return!1;if(zH(e,t,n))return!0;let s=t.parent.canReplace(t.index(),t.index()+1);if(s&&(i=(a=r.contentMatchAt(r.childCount)).findWrapping(o.type))&&a.matchType(i[0]||o.type).validEnd){if(n){let f=t.pos+o.nodeSize,d=lt.empty;for(let m=i.length-1;m>=0;m--)d=lt.from(i[m].create(null,d));d=lt.from(r.copy(d));let h=e.tr.step(new ro(t.pos-1,f,t.pos,f,new At(d,1,0),i.length,!0)),p=f+2*i.length;Ud(h.doc,p)&&h.join(p),n(h.scrollIntoView())}return!0}let c=bn.findFrom(t,1),l=c&&c.$from.blockRange(c.$to),u=l&&xp(l);if(u!=null&&u>=t.depth)return n&&n(e.tr.lift(l,u).scrollIntoView()),!0;if(s&&Ld(o,"start",!0)&&Ld(r,"end")){let f=r,d=[];for(;d.push(f),!f.isTextblock;)f=f.lastChild;let h=o,p=1;for(;!h.isTextblock;h=h.firstChild)p++;if(f.canReplace(f.childCount,f.childCount,h.content)){if(n){let m=lt.empty;for(let x=d.length-1;x>=0;x--)m=lt.from(d[x].copy(m));let A=e.tr.step(new ro(t.pos-d.length,t.pos+o.nodeSize,t.pos+p,t.pos+o.nodeSize-p,new At(m,d.length,0),0,!0));n(A.scrollIntoView())}return!0}}return!1}function GN(e){return function(t,n){let r=t.selection,o=e<0?r.$from:r.$to,i=o.depth;for(;o.node(i).isInline;){if(!i)return!1;i--}return o.node(i).isTextblock?(n&&n(t.tr.setSelection(En.create(t.doc,e<0?o.start(i):o.end(i)))),!0):!1}}const jH=GN(-1),$H=GN(1);function qH(e,t=null){return function(n,r){let{$from:o,$to:i}=n.selection,a=o.blockRange(i),s=a&&ib(a,e,t);return s?(r&&r(n.tr.wrap(a,s).scrollIntoView()),!0):!1}}function eG(e,t,n){for(let r=0;r<t.length;r++){let{$from:o,$to:i}=t[r],a=o.depth==0?e.inlineContent&&e.type.allowsMarkType(n):!1;if(e.nodesBetween(o.pos,i.pos,s=>{if(a)return!1;a=s.inlineContent&&s.type.allowsMarkType(n)}),a)return!0}return!1}function kr(e,t=null){return function(n,r){let{empty:o,$cursor:i,ranges:a}=n.selection;if(o&&!i||!eG(n.doc,a,e))return!1;if(r)if(i)e.isInSet(n.storedMarks||i.marks())?r(n.tr.removeStoredMark(e)):r(n.tr.addStoredMark(e.create(t)));else{let s=!1,c=n.tr;for(let l=0;!s&&l<a.length;l++){let{$from:u,$to:f}=a[l];s=n.doc.rangeHasMark(u.pos,f.pos,e)}for(let l=0;l<a.length;l++){let{$from:u,$to:f}=a[l];if(s)c.removeMark(u.pos,f.pos,e);else{let d=u.pos,h=f.pos,p=u.nodeAfter,m=f.nodeBefore,A=p&&p.isText?/^\s*/.exec(p.text)[0].length:0,x=m&&m.isText?/\s*$/.exec(m.text)[0].length:0;d+A<h&&(d+=A,h-=x),c.addMark(d,h,e.create(t))}}r(c.scrollIntoView())}return!0}}function Eg(...e){return function(t,n,r){for(let o=0;o<e.length;o++)if(e[o](t,n,r))return!0;return!1}}let iR=Eg(VN,WH,VH),yM=Eg(VN,YH,QH);const Ds={Enter:Eg(QN,ZN,BN,DN),"Mod-Enter":KH,Backspace:iR,"Mod-Backspace":iR,"Shift-Backspace":iR,Delete:yM,"Mod-Delete":yM,"Mod-a":KN},JN={"Ctrl-h":Ds.Backspace,"Alt-Backspace":Ds["Mod-Backspace"],"Ctrl-d":Ds.Delete,"Ctrl-Alt-Backspace":Ds["Mod-Delete"],"Alt-Delete":Ds["Mod-Delete"],"Alt-d":Ds["Mod-Delete"],"Ctrl-a":jH,"Ctrl-e":$H};for(let e in Ds)JN[e]=Ds[e];const tG=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<"u"&&os.platform?os.platform()=="darwin":!1,nG=tG?JN:Ds,Tv=(e,t)=>e.type===t.nodes.bullet_list||e.type===t.nodes.ordered_list,Xr=e=>{const{empty:t}=e.state.selection;t&&KN(e.state,e.dispatch)},Ka=(e,t,n)=>{if(n)e.dispatch(e.state.tr.addMark(n.from,n.to,t));else{const{$from:r,$to:o}=e.state.selection;e.dispatch(e.state.tr.addMark(r.pos,o.pos,t))}},rG=(e,t,n,r)=>{let o=t;const i=d=>d.type===r;let a=null,s=null,c=null;for(;o<=n;){const d=e.nodeAt(o);if(!d||!d.marks)return null;const h=d.marks.find(i);if(!h||a&&h!==a)return null;s=s||d,a=a||h,c=d,o++}let l=t,u=n,f=0;for(o=t-1;o>f;){const d=e.nodeAt(o),h=d&&d.marks.find(i);if(!h||h!==a)break;l=o,s=d,o--}for(o=n+1,f=e.nodeSize-2;o<f;){const d=e.nodeAt(o),h=d&&d.marks.find(i);if(!h||h!==a)break;u=o,c=d,o++}return{mark:a,from:{node:s,pos:l},to:{node:c,pos:u}}},oG=(e,t)=>Array.isArray(e)&&e.indexOf(t.type)>-1||t.type===e,iG=(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}}},zN=e=>t=>iG(t.$from,e),aG=e=>t=>zN(n=>oG(e,n))(t),_m=(e,t)=>{const n=t.schema.nodes[e];return!!aG(n)(t.selection)},jN=e=>e?e.type.name==="text"?e:e.lastChild?jN(e.lastChild):null:null,$N=e=>{const{selection:t,doc:n}=e.state,{from:r}=t;let o=n.nodeAt(r)||n.nodeAt(r-1);return o=jN(o),(o==null?void 0:o.marks)||[]},_f=(e,t,n)=>{for(const r of e)if(r.type.name===t&&r.attrs[n])return r.attrs[n];return null},Qc=(e,t)=>{for(const n of e)if(n.type.name===t)return!0;return!1},sG=(e,t)=>{const{from:n,$from:r,to:o,empty:i}=e.selection;return i?t.isInSet(e.storedMarks||r.marks()):e.doc.rangeHasMark(n,o,t)},lG=(e,t)=>{const{selection:n,doc:r}=e.state,{from:o,to:i}=n;let a=!0,s="";return r.nodesBetween(o,i,c=>(a&&c.attrs[t]&&(a=!1,s=c.attrs[t]),a)),s},qN={color:"#000",backcolor:"",fontsize:"20px",fontname:"微软雅黑",align:"left"},Y4=(e,t={})=>{const n={...qN,...t},r=$N(e),o=Qc(r,"strong"),i=Qc(r,"em"),a=Qc(r,"underline"),s=Qc(r,"strikethrough"),c=Qc(r,"superscript"),l=Qc(r,"subscript"),u=Qc(r,"code"),f=_f(r,"forecolor","color")||n.color,d=_f(r,"backcolor","backcolor")||n.backcolor,h=_f(r,"fontsize","fontsize")||n.fontsize,p=_f(r,"fontname","fontname")||n.fontname,m=_f(r,"link","href")||"",A=lG(e,"align")||n.align,x=_m("bullet_list",e.state),R=_m("ordered_list",e.state),y=_m("blockquote",e.state);return{bold:o,em:i,underline:a,strikethrough:s,superscript:c,subscript:l,code:u,color:f,backcolor:d,fontsize:h,fontname:p,link:m,align:A,bulletList:x,orderedList:R,blockquote:y}},xM=e=>{const t=$N(e),n=_f(t,"fontsize","fontsize")||qN.fontsize;return parseInt(n)},cG={bold:!1,em:!1,underline:!1,strikethrough:!1,superscript:!1,subscript:!1,code:!1,color:"#000",backcolor:"",fontsize:"20px",fontname:"微软雅黑",link:"",align:"left",bulletList:!1,orderedList:!1,blockquote:!1},bM=[{label:"Arial",value:"Arial"},{label:"微软雅黑",value:"Microsoft Yahei"},{label:"宋体",value:"SimSun"},{label:"黑体",value:"SimHei"},{label:"楷体",value:"KaiTi"},{label:"新宋体",value:"NSimSun"},{label:"仿宋",value:"FangSong"},{label:"苹方",value:"PingFang SC"},{label:"华文黑体",value:"STHeiti"},{label:"华文楷体",value:"STKaiti"},{label:"华文宋体",value:"STSong"},{label:"华文仿宋",value:"STFangSong"},{label:"华文中宋",value:"STZhongSong"},{label:"华文琥珀",value:"STHupo"},{label:"华文新魏",value:"STXinwei"},{label:"华文隶书",value:"STLiti"},{label:"华文行楷",value:"STXingkai"},{label:"冬青黑体",value:"Hiragino Sans GB"},{label:"兰亭黑",value:"Lantinghei SC"},{label:"偏偏体",value:"Hanzipen SC"},{label:"手札体",value:"Hannotate SC"},{label:"宋体",value:"Songti SC"},{label:"娃娃体",value:"Wawati SC"},{label:"行楷",value:"Xingkai SC"},{label:"圆体",value:"Yuanti SC"},{label:"华文细黑",value:"STXihei"},{label:"幼圆",value:"YouYuan"},{label:"隶书",value:"LiSu"}],bp=[{label:"得意黑",value:"得意黑"},{label:"仓耳小丸子",value:"仓耳小丸子"},{label:"优设标题黑",value:"优设标题黑"},{label:"峰广明锐体",value:"峰广明锐体"},{label:"摄图摩登小方体",value:"摄图摩登小方体"},{label:"站酷快乐体",value:"站酷快乐体"},{label:"字制区喜脉体",value:"字制区喜脉体"},{label:"素材集市康康体",value:"素材集市康康体"},{label:"素材集市酷方体",value:"素材集市酷方体"},{label:"途牛类圆体",value:"途牛类圆体"},{label:"锐字真言体",value:"锐字真言体"}],uG=e=>{if(typeof e!="string")return!1;const t="Arial";if(e.toLowerCase()===t.toLowerCase())return!0;const n=100,r=100,o=100,i="a",a=document.createElement("canvas"),s=a.getContext("2d",{willReadFrequently:!0});if(!s)return!1;a.width=r,a.height=o,s.textAlign="center",s.fillStyle="black",s.textBaseline="middle";const c=l=>{s.clearRect(0,0,r,o),s.font=`${n}px ${l}, ${t}`,s.fillText(i,r/2,o/2);const u=s.getImageData(0,0,r,o).data;return[].slice.call(u).filter(f=>f!==0)};return c(t).join("")!==c(e).join("")};function kv(e){"@babel/helpers - typeof";return kv=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},kv(e)}var fG=/^\s+/,dG=/\s+$/;function ot(e,t){if(e=e||"",t=t||{},e instanceof ot)return e;if(!(this instanceof ot))return new ot(e,t);var n=hG(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}ot.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,o,i,a,s;return n=t.r/255,r=t.g/255,o=t.b/255,n<=.03928?i=n/12.92:i=Math.pow((n+.055)/1.055,2.4),r<=.03928?a=r/12.92:a=Math.pow((r+.055)/1.055,2.4),o<=.03928?s=o/12.92:s=Math.pow((o+.055)/1.055,2.4),.2126*i+.7152*a+.0722*s},setAlpha:function(t){return this._a=eP(t),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var t=MM(this._r,this._g,this._b);return{h:t.h*360,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=MM(this._r,this._g,this._b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.v*100);return this._a==1?"hsv("+n+", "+r+"%, "+o+"%)":"hsva("+n+", "+r+"%, "+o+"%, "+this._roundA+")"},toHsl:function(){var t=SM(this._r,this._g,this._b);return{h:t.h*360,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=SM(this._r,this._g,this._b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.l*100);return this._a==1?"hsl("+n+", "+r+"%, "+o+"%)":"hsla("+n+", "+r+"%, "+o+"%, "+this._roundA+")"},toHex:function(t){return wM(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return gG(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(nr(this._r,255)*100)+"%",g:Math.round(nr(this._g,255)*100)+"%",b:Math.round(nr(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(nr(this._r,255)*100)+"%, "+Math.round(nr(this._g,255)*100)+"%, "+Math.round(nr(this._b,255)*100)+"%)":"rgba("+Math.round(nr(this._r,255)*100)+"%, "+Math.round(nr(this._g,255)*100)+"%, "+Math.round(nr(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:kG[wM(this._r,this._g,this._b,!0)]||!1},toFilter:function(t){var n="#"+LM(this._r,this._g,this._b,this._a),r=n,o=this._gradientType?"GradientType = 1, ":"";if(t){var i=ot(t);r="#"+LM(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+o+"startColorstr="+n+",endColorstr="+r+")"},toString:function(t){var n=!!t;t=t||this._format;var r=!1,o=this._a<1&&this._a>=0,i=!n&&o&&(t==="hex"||t==="hex6"||t==="hex3"||t==="hex4"||t==="hex8"||t==="name");return i?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 ot(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(xG,arguments)},brighten:function(){return this._applyModification(bG,arguments)},darken:function(){return this._applyModification(SG,arguments)},desaturate:function(){return this._applyModification(AG,arguments)},saturate:function(){return this._applyModification(RG,arguments)},greyscale:function(){return this._applyModification(yG,arguments)},spin:function(){return this._applyModification(MG,arguments)},_applyCombination:function(t,n){return t.apply(null,[this].concat([].slice.call(n)))},analogous:function(){return this._applyCombination(OG,arguments)},complement:function(){return this._applyCombination(wG,arguments)},monochromatic:function(){return this._applyCombination(TG,arguments)},splitcomplement:function(){return this._applyCombination(LG,arguments)},triad:function(){return this._applyCombination(OM,[3])},tetrad:function(){return this._applyCombination(OM,[4])}};ot.fromRatio=function(e,t){if(kv(e)=="object"){var n={};for(var r in e)e.hasOwnProperty(r)&&(r==="a"?n[r]=e[r]:n[r]=F0(e[r]));e=n}return ot(e,t)};function hG(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,i=null,a=!1,s=!1;return typeof e=="string"&&(e=IG(e)),kv(e)=="object"&&(Fs(e.r)&&Fs(e.g)&&Fs(e.b)?(t=pG(e.r,e.g,e.b),a=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Fs(e.h)&&Fs(e.s)&&Fs(e.v)?(r=F0(e.s),o=F0(e.v),t=vG(e.h,r,o),a=!0,s="hsv"):Fs(e.h)&&Fs(e.s)&&Fs(e.l)&&(r=F0(e.s),i=F0(e.l),t=mG(e.h,r,i),a=!0,s="hsl"),e.hasOwnProperty("a")&&(n=e.a)),n=eP(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 pG(e,t,n){return{r:nr(e,255)*255,g:nr(t,255)*255,b:nr(n,255)*255}}function SM(e,t,n){e=nr(e,255),t=nr(t,255),n=nr(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i,a,s=(r+o)/2;if(r==o)i=a=0;else{var c=r-o;switch(a=s>.5?c/(2-r-o):c/(r+o),r){case e:i=(t-n)/c+(t<n?6:0);break;case t:i=(n-e)/c+2;break;case n:i=(e-t)/c+4;break}i/=6}return{h:i,s:a,l:s}}function mG(e,t,n){var r,o,i;e=nr(e,360),t=nr(t,100),n=nr(n,100);function a(l,u,f){return f<0&&(f+=1),f>1&&(f-=1),f<1/6?l+(u-l)*6*f:f<1/2?u:f<2/3?l+(u-l)*(2/3-f)*6:l}if(t===0)r=o=i=n;else{var s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;r=a(c,s,e+1/3),o=a(c,s,e),i=a(c,s,e-1/3)}return{r:r*255,g:o*255,b:i*255}}function MM(e,t,n){e=nr(e,255),t=nr(t,255),n=nr(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i,a,s=r,c=r-o;if(a=r===0?0:c/r,r==o)i=0;else{switch(r){case e:i=(t-n)/c+(t<n?6:0);break;case t:i=(n-e)/c+2;break;case n:i=(e-t)/c+4;break}i/=6}return{h:i,s:a,v:s}}function vG(e,t,n){e=nr(e,360)*6,t=nr(t,100),n=nr(n,100);var r=Math.floor(e),o=e-r,i=n*(1-t),a=n*(1-o*t),s=n*(1-(1-o)*t),c=r%6,l=[n,a,i,i,s,n][c],u=[s,n,n,a,i,i][c],f=[i,i,s,n,n,a][c];return{r:l*255,g:u*255,b:f*255}}function wM(e,t,n,r){var o=[Ta(Math.round(e).toString(16)),Ta(Math.round(t).toString(16)),Ta(Math.round(n).toString(16))];return r&&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[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function gG(e,t,n,r,o){var i=[Ta(Math.round(e).toString(16)),Ta(Math.round(t).toString(16)),Ta(Math.round(n).toString(16)),Ta(tP(r))];return o&&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[3].charAt(0)==i[3].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}function LM(e,t,n,r){var o=[Ta(tP(r)),Ta(Math.round(e).toString(16)),Ta(Math.round(t).toString(16)),Ta(Math.round(n).toString(16))];return o.join("")}ot.equals=function(e,t){return!e||!t?!1:ot(e).toRgbString()==ot(t).toRgbString()};ot.random=function(){return ot.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})};function AG(e,t){t=t===0?0:t||10;var n=ot(e).toHsl();return n.s-=t/100,n.s=Wg(n.s),ot(n)}function RG(e,t){t=t===0?0:t||10;var n=ot(e).toHsl();return n.s+=t/100,n.s=Wg(n.s),ot(n)}function yG(e){return ot(e).desaturate(100)}function xG(e,t){t=t===0?0:t||10;var n=ot(e).toHsl();return n.l+=t/100,n.l=Wg(n.l),ot(n)}function bG(e,t){t=t===0?0:t||10;var n=ot(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)))),ot(n)}function SG(e,t){t=t===0?0:t||10;var n=ot(e).toHsl();return n.l-=t/100,n.l=Wg(n.l),ot(n)}function MG(e,t){var n=ot(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,ot(n)}function wG(e){var t=ot(e).toHsl();return t.h=(t.h+180)%360,ot(t)}function OM(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var n=ot(e).toHsl(),r=[ot(e)],o=360/t,i=1;i<t;i++)r.push(ot({h:(n.h+i*o)%360,s:n.s,l:n.l}));return r}function LG(e){var t=ot(e).toHsl(),n=t.h;return[ot(e),ot({h:(n+72)%360,s:t.s,l:t.l}),ot({h:(n+216)%360,s:t.s,l:t.l})]}function OG(e,t,n){t=t||6,n=n||30;var r=ot(e).toHsl(),o=360/n,i=[ot(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(ot(r));return i}function TG(e,t){t=t||6;for(var n=ot(e).toHsv(),r=n.h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(ot({h:r,s:o,v:i})),i=(i+s)%1;return a}ot.mix=function(e,t,n){n=n===0?0:n||50;var r=ot(e).toRgb(),o=ot(t).toRgb(),i=n/100,a={r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a};return ot(a)};ot.readability=function(e,t){var n=ot(e),r=ot(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)};ot.isReadable=function(e,t,n){var r=ot.readability(e,t),o,i;switch(i=!1,o=FG(n),o.level+o.size){case"AAsmall":case"AAAlarge":i=r>=4.5;break;case"AAlarge":i=r>=3;break;case"AAAsmall":i=r>=7;break}return i};ot.mostReadable=function(e,t,n){var r=null,o=0,i,a,s,c;n=n||{},a=n.includeFallbackColors,s=n.level,c=n.size;for(var l=0;l<t.length;l++)i=ot.readability(e,t[l]),i>o&&(o=i,r=ot(t[l]));return ot.isReadable(e,r,{level:s,size:c})||!a?r:(n.includeFallbackColors=!1,ot.mostReadable(e,["#fff","#000"],n))};var Q4=ot.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"},kG=ot.hexNames=NG(Q4);function NG(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function eP(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function nr(e,t){PG(e)&&(e="100%");var n=CG(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 Wg(e){return Math.min(1,Math.max(0,e))}function hi(e){return parseInt(e,16)}function PG(e){return typeof e=="string"&&e.indexOf(".")!=-1&&parseFloat(e)===1}function CG(e){return typeof e=="string"&&e.indexOf("%")!=-1}function Ta(e){return e.length==1?"0"+e:""+e}function F0(e){return e<=1&&(e=e*100+"%"),e}function tP(e){return Math.round(parseFloat(e)*255).toString(16)}function TM(e){return hi(e)/255}var ma=function(){var e="[-\\+]?\\d+%?",t="[-\\+]?\\d*\\.\\d+%?",n="(?:"+t+")|(?:"+e+")",r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",o="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{CSS_UNIT:new RegExp(n),rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+o),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+o),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+o),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 Fs(e){return!!ma.CSS_UNIT.exec(e)}function IG(e){e=e.replace(fG,"").replace(dG,"").toLowerCase();var t=!1;if(Q4[e])e=Q4[e],t=!0;else if(e=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n;return(n=ma.rgb.exec(e))?{r:n[1],g:n[2],b:n[3]}:(n=ma.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=ma.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=ma.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=ma.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=ma.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=ma.hex8.exec(e))?{r:hi(n[1]),g:hi(n[2]),b:hi(n[3]),a:TM(n[4]),format:t?"name":"hex8"}:(n=ma.hex6.exec(e))?{r:hi(n[1]),g:hi(n[2]),b:hi(n[3]),format:t?"name":"hex"}:(n=ma.hex4.exec(e))?{r:hi(n[1]+""+n[1]),g:hi(n[2]+""+n[2]),b:hi(n[3]+""+n[3]),a:TM(n[4]+""+n[4]),format:t?"name":"hex8"}:(n=ma.hex3.exec(e))?{r:hi(n[1]+""+n[1]),g:hi(n[2]+""+n[2]),b:hi(n[3]+""+n[3]),format:t?"name":"hex"}:!1}function FG(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 Pt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Vg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function cb(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 o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var Nv={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
*/Nv.exports;(function(e,t){(function(){var n,r="4.17.21",o=200,i="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",s="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",l=500,u="__lodash_placeholder__",f=1,d=2,h=4,p=1,m=2,A=1,x=2,R=4,y=8,g=16,S=32,L=64,T=128,M=256,O=512,k=30,_="...",N=800,X=16,C=1,F=2,I=3,V=1/0,B=9007199254740991,G=17976931348623157e292,ne=NaN,E=4294967295,Z=E-1,K=E>>>1,U=[["ary",T],["bind",A],["bindKey",x],["curry",y],["curryRight",g],["flip",O],["partial",S],["partialRight",L],["rearg",M]],J="[object Arguments]",le="[object Array]",ie="[object AsyncFunction]",oe="[object Boolean]",pe="[object Date]",ge="[object DOMException]",ye="[object Error]",z="[object Function]",ae="[object GeneratorFunction]",W="[object Map]",j="[object Number]",ue="[object Null]",$="[object Object]",q="[object Promise]",se="[object Proxy]",ve="[object RegExp]",ce="[object Set]",de="[object String]",be="[object Symbol]",_e="[object Undefined]",Ie="[object WeakMap]",Ae="[object WeakSet]",qe="[object ArrayBuffer]",Xe="[object DataView]",Le="[object Float32Array]",Te="[object Float64Array]",Ce="[object Int8Array]",He="[object Int16Array]",et="[object Int32Array]",ke="[object Uint8Array]",De="[object Uint8ClampedArray]",tt="[object Uint16Array]",wt="[object Uint32Array]",ut=/\b__p \+= '';/g,ht=/\b(__p \+=) '' \+/g,gt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ft=/&(?:amp|lt|gt|quot|#39);/g,Yt=/[&<>"']/g,Pn=RegExp(Ft.source),aa=RegExp(Yt.source),Xa=/<%-([\s\S]+?)%>/g,io=/<%([\s\S]+?)%>/g,of=/<%=([\s\S]+?)%>/g,Nc=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ms=/^\w*$/,L2=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,af=/[\\^$.*+?()[\]{}|]/g,Ro=RegExp(af.source),Ii=/^\s+/,$p=/\s/,O2=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,eX=/\{\n\/\* \[wrapped with (.+)\] \*/,tX=/,? & /,nX=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,rX=/[()=,{}\[\]\/\s]/,oX=/\\(\\)?/g,iX=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Z5=/\w*$/,aX=/^[-+]0x[0-9a-f]+$/i,sX=/^0b[01]+$/i,lX=/^\[object .+?Constructor\]$/,cX=/^0o[0-7]+$/i,uX=/^(?:0|[1-9]\d*)$/,fX=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,qp=/($^)/,dX=/['\n\r\u2028\u2029\\]/g,e1="\\ud800-\\udfff",hX="\\u0300-\\u036f",pX="\\ufe20-\\ufe2f",mX="\\u20d0-\\u20ff",B5=hX+pX+mX,D5="\\u2700-\\u27bf",K5="a-z\\xdf-\\xf6\\xf8-\\xff",vX="\\xac\\xb1\\xd7\\xf7",gX="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",AX="\\u2000-\\u206f",RX=" \\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",H5="A-Z\\xc0-\\xd6\\xd8-\\xde",G5="\\ufe0e\\ufe0f",J5=vX+gX+AX+RX,T2="[']",yX="["+e1+"]",z5="["+J5+"]",t1="["+B5+"]",j5="\\d+",xX="["+D5+"]",$5="["+K5+"]",q5="[^"+e1+J5+j5+D5+K5+H5+"]",k2="\\ud83c[\\udffb-\\udfff]",bX="(?:"+t1+"|"+k2+")",e8="[^"+e1+"]",N2="(?:\\ud83c[\\udde6-\\uddff]){2}",P2="[\\ud800-\\udbff][\\udc00-\\udfff]",sf="["+H5+"]",t8="\\u200d",n8="(?:"+$5+"|"+q5+")",SX="(?:"+sf+"|"+q5+")",r8="(?:"+T2+"(?:d|ll|m|re|s|t|ve))?",o8="(?:"+T2+"(?:D|LL|M|RE|S|T|VE))?",i8=bX+"?",a8="["+G5+"]?",MX="(?:"+t8+"(?:"+[e8,N2,P2].join("|")+")"+a8+i8+")*",wX="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",LX="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",s8=a8+i8+MX,OX="(?:"+[xX,N2,P2].join("|")+")"+s8,TX="(?:"+[e8+t1+"?",t1,N2,P2,yX].join("|")+")",kX=RegExp(T2,"g"),NX=RegExp(t1,"g"),C2=RegExp(k2+"(?="+k2+")|"+TX+s8,"g"),PX=RegExp([sf+"?"+$5+"+"+r8+"(?="+[z5,sf,"$"].join("|")+")",SX+"+"+o8+"(?="+[z5,sf+n8,"$"].join("|")+")",sf+"?"+n8+"+"+r8,sf+"+"+o8,LX,wX,j5,OX].join("|"),"g"),CX=RegExp("["+t8+e1+B5+G5+"]"),IX=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,FX=["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"],_X=-1,$n={};$n[Le]=$n[Te]=$n[Ce]=$n[He]=$n[et]=$n[ke]=$n[De]=$n[tt]=$n[wt]=!0,$n[J]=$n[le]=$n[qe]=$n[oe]=$n[Xe]=$n[pe]=$n[ye]=$n[z]=$n[W]=$n[j]=$n[$]=$n[ve]=$n[ce]=$n[de]=$n[Ie]=!1;var Kn={};Kn[J]=Kn[le]=Kn[qe]=Kn[Xe]=Kn[oe]=Kn[pe]=Kn[Le]=Kn[Te]=Kn[Ce]=Kn[He]=Kn[et]=Kn[W]=Kn[j]=Kn[$]=Kn[ve]=Kn[ce]=Kn[de]=Kn[be]=Kn[ke]=Kn[De]=Kn[tt]=Kn[wt]=!0,Kn[ye]=Kn[z]=Kn[Ie]=!1;var XX={À:"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"},EX={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},WX={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},VX={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},UX=parseFloat,YX=parseInt,l8=typeof Pt=="object"&&Pt&&Pt.Object===Object&&Pt,QX=typeof self=="object"&&self&&self.Object===Object&&self,Hr=l8||QX||Function("return this")(),I2=t&&!t.nodeType&&t,Pc=I2&&!0&&e&&!e.nodeType&&e,c8=Pc&&Pc.exports===I2,F2=c8&&l8.process,Fi=function(){try{var Ne=Pc&&Pc.require&&Pc.require("util").types;return Ne||F2&&F2.binding&&F2.binding("util")}catch{}}(),u8=Fi&&Fi.isArrayBuffer,f8=Fi&&Fi.isDate,d8=Fi&&Fi.isMap,h8=Fi&&Fi.isRegExp,p8=Fi&&Fi.isSet,m8=Fi&&Fi.isTypedArray;function ai(Ne,Ke,Qe){switch(Qe.length){case 0:return Ne.call(Ke);case 1:return Ne.call(Ke,Qe[0]);case 2:return Ne.call(Ke,Qe[0],Qe[1]);case 3:return Ne.call(Ke,Qe[0],Qe[1],Qe[2])}return Ne.apply(Ke,Qe)}function ZX(Ne,Ke,Qe,yt){for(var jt=-1,Cn=Ne==null?0:Ne.length;++jt<Cn;){var Fr=Ne[jt];Ke(yt,Fr,Qe(Fr),Ne)}return yt}function _i(Ne,Ke){for(var Qe=-1,yt=Ne==null?0:Ne.length;++Qe<yt&&Ke(Ne[Qe],Qe,Ne)!==!1;);return Ne}function BX(Ne,Ke){for(var Qe=Ne==null?0:Ne.length;Qe--&&Ke(Ne[Qe],Qe,Ne)!==!1;);return Ne}function v8(Ne,Ke){for(var Qe=-1,yt=Ne==null?0:Ne.length;++Qe<yt;)if(!Ke(Ne[Qe],Qe,Ne))return!1;return!0}function hl(Ne,Ke){for(var Qe=-1,yt=Ne==null?0:Ne.length,jt=0,Cn=[];++Qe<yt;){var Fr=Ne[Qe];Ke(Fr,Qe,Ne)&&(Cn[jt++]=Fr)}return Cn}function n1(Ne,Ke){var Qe=Ne==null?0:Ne.length;return!!Qe&&lf(Ne,Ke,0)>-1}function _2(Ne,Ke,Qe){for(var yt=-1,jt=Ne==null?0:Ne.length;++yt<jt;)if(Qe(Ke,Ne[yt]))return!0;return!1}function er(Ne,Ke){for(var Qe=-1,yt=Ne==null?0:Ne.length,jt=Array(yt);++Qe<yt;)jt[Qe]=Ke(Ne[Qe],Qe,Ne);return jt}function pl(Ne,Ke){for(var Qe=-1,yt=Ke.length,jt=Ne.length;++Qe<yt;)Ne[jt+Qe]=Ke[Qe];return Ne}function X2(Ne,Ke,Qe,yt){var jt=-1,Cn=Ne==null?0:Ne.length;for(yt&&Cn&&(Qe=Ne[++jt]);++jt<Cn;)Qe=Ke(Qe,Ne[jt],jt,Ne);return Qe}function DX(Ne,Ke,Qe,yt){var jt=Ne==null?0:Ne.length;for(yt&&jt&&(Qe=Ne[--jt]);jt--;)Qe=Ke(Qe,Ne[jt],jt,Ne);return Qe}function E2(Ne,Ke){for(var Qe=-1,yt=Ne==null?0:Ne.length;++Qe<yt;)if(Ke(Ne[Qe],Qe,Ne))return!0;return!1}var KX=W2("length");function HX(Ne){return Ne.split("")}function GX(Ne){return Ne.match(nX)||[]}function g8(Ne,Ke,Qe){var yt;return Qe(Ne,function(jt,Cn,Fr){if(Ke(jt,Cn,Fr))return yt=Cn,!1}),yt}function r1(Ne,Ke,Qe,yt){for(var jt=Ne.length,Cn=Qe+(yt?1:-1);yt?Cn--:++Cn<jt;)if(Ke(Ne[Cn],Cn,Ne))return Cn;return-1}function lf(Ne,Ke,Qe){return Ke===Ke?aE(Ne,Ke,Qe):r1(Ne,A8,Qe)}function JX(Ne,Ke,Qe,yt){for(var jt=Qe-1,Cn=Ne.length;++jt<Cn;)if(yt(Ne[jt],Ke))return jt;return-1}function A8(Ne){return Ne!==Ne}function R8(Ne,Ke){var Qe=Ne==null?0:Ne.length;return Qe?U2(Ne,Ke)/Qe:ne}function W2(Ne){return function(Ke){return Ke==null?n:Ke[Ne]}}function V2(Ne){return function(Ke){return Ne==null?n:Ne[Ke]}}function y8(Ne,Ke,Qe,yt,jt){return jt(Ne,function(Cn,Fr,Dn){Qe=yt?(yt=!1,Cn):Ke(Qe,Cn,Fr,Dn)}),Qe}function zX(Ne,Ke){var Qe=Ne.length;for(Ne.sort(Ke);Qe--;)Ne[Qe]=Ne[Qe].value;return Ne}function U2(Ne,Ke){for(var Qe,yt=-1,jt=Ne.length;++yt<jt;){var Cn=Ke(Ne[yt]);Cn!==n&&(Qe=Qe===n?Cn:Qe+Cn)}return Qe}function Y2(Ne,Ke){for(var Qe=-1,yt=Array(Ne);++Qe<Ne;)yt[Qe]=Ke(Qe);return yt}function jX(Ne,Ke){return er(Ke,function(Qe){return[Qe,Ne[Qe]]})}function x8(Ne){return Ne&&Ne.slice(0,w8(Ne)+1).replace(Ii,"")}function si(Ne){return function(Ke){return Ne(Ke)}}function Q2(Ne,Ke){return er(Ke,function(Qe){return Ne[Qe]})}function jd(Ne,Ke){return Ne.has(Ke)}function b8(Ne,Ke){for(var Qe=-1,yt=Ne.length;++Qe<yt&&lf(Ke,Ne[Qe],0)>-1;);return Qe}function S8(Ne,Ke){for(var Qe=Ne.length;Qe--&&lf(Ke,Ne[Qe],0)>-1;);return Qe}function $X(Ne,Ke){for(var Qe=Ne.length,yt=0;Qe--;)Ne[Qe]===Ke&&++yt;return yt}var qX=V2(XX),eE=V2(EX);function tE(Ne){return"\\"+VX[Ne]}function nE(Ne,Ke){return Ne==null?n:Ne[Ke]}function cf(Ne){return CX.test(Ne)}function rE(Ne){return IX.test(Ne)}function oE(Ne){for(var Ke,Qe=[];!(Ke=Ne.next()).done;)Qe.push(Ke.value);return Qe}function Z2(Ne){var Ke=-1,Qe=Array(Ne.size);return Ne.forEach(function(yt,jt){Qe[++Ke]=[jt,yt]}),Qe}function M8(Ne,Ke){return function(Qe){return Ne(Ke(Qe))}}function ml(Ne,Ke){for(var Qe=-1,yt=Ne.length,jt=0,Cn=[];++Qe<yt;){var Fr=Ne[Qe];(Fr===Ke||Fr===u)&&(Ne[Qe]=u,Cn[jt++]=Qe)}return Cn}function o1(Ne){var Ke=-1,Qe=Array(Ne.size);return Ne.forEach(function(yt){Qe[++Ke]=yt}),Qe}function iE(Ne){var Ke=-1,Qe=Array(Ne.size);return Ne.forEach(function(yt){Qe[++Ke]=[yt,yt]}),Qe}function aE(Ne,Ke,Qe){for(var yt=Qe-1,jt=Ne.length;++yt<jt;)if(Ne[yt]===Ke)return yt;return-1}function sE(Ne,Ke,Qe){for(var yt=Qe+1;yt--;)if(Ne[yt]===Ke)return yt;return yt}function uf(Ne){return cf(Ne)?cE(Ne):KX(Ne)}function sa(Ne){return cf(Ne)?uE(Ne):HX(Ne)}function w8(Ne){for(var Ke=Ne.length;Ke--&&$p.test(Ne.charAt(Ke)););return Ke}var lE=V2(WX);function cE(Ne){for(var Ke=C2.lastIndex=0;C2.test(Ne);)++Ke;return Ke}function uE(Ne){return Ne.match(C2)||[]}function fE(Ne){return Ne.match(PX)||[]}var dE=function Ne(Ke){Ke=Ke==null?Hr:ff.defaults(Hr.Object(),Ke,ff.pick(Hr,FX));var Qe=Ke.Array,yt=Ke.Date,jt=Ke.Error,Cn=Ke.Function,Fr=Ke.Math,Dn=Ke.Object,B2=Ke.RegExp,hE=Ke.String,Xi=Ke.TypeError,i1=Qe.prototype,pE=Cn.prototype,df=Dn.prototype,a1=Ke["__core-js_shared__"],s1=pE.toString,Vn=df.hasOwnProperty,mE=0,L8=function(){var v=/[^.]+$/.exec(a1&&a1.keys&&a1.keys.IE_PROTO||"");return v?"Symbol(src)_1."+v:""}(),l1=df.toString,vE=s1.call(Dn),gE=Hr._,AE=B2("^"+s1.call(Vn).replace(af,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),c1=c8?Ke.Buffer:n,vl=Ke.Symbol,u1=Ke.Uint8Array,O8=c1?c1.allocUnsafe:n,f1=M8(Dn.getPrototypeOf,Dn),T8=Dn.create,k8=df.propertyIsEnumerable,d1=i1.splice,N8=vl?vl.isConcatSpreadable:n,$d=vl?vl.iterator:n,Cc=vl?vl.toStringTag:n,h1=function(){try{var v=Ec(Dn,"defineProperty");return v({},"",{}),v}catch{}}(),RE=Ke.clearTimeout!==Hr.clearTimeout&&Ke.clearTimeout,yE=yt&&yt.now!==Hr.Date.now&&yt.now,xE=Ke.setTimeout!==Hr.setTimeout&&Ke.setTimeout,p1=Fr.ceil,m1=Fr.floor,D2=Dn.getOwnPropertySymbols,bE=c1?c1.isBuffer:n,P8=Ke.isFinite,SE=i1.join,ME=M8(Dn.keys,Dn),_r=Fr.max,ao=Fr.min,wE=yt.now,LE=Ke.parseInt,C8=Fr.random,OE=i1.reverse,K2=Ec(Ke,"DataView"),qd=Ec(Ke,"Map"),H2=Ec(Ke,"Promise"),hf=Ec(Ke,"Set"),e0=Ec(Ke,"WeakMap"),t0=Ec(Dn,"create"),v1=e0&&new e0,pf={},TE=Wc(K2),kE=Wc(qd),NE=Wc(H2),PE=Wc(hf),CE=Wc(e0),g1=vl?vl.prototype:n,n0=g1?g1.valueOf:n,I8=g1?g1.toString:n;function fe(v){if(mr(v)&&!qt(v)&&!(v instanceof mn)){if(v instanceof Ei)return v;if(Vn.call(v,"__wrapped__"))return F6(v)}return new Ei(v)}var mf=function(){function v(){}return function(b){if(!ur(b))return{};if(T8)return T8(b);v.prototype=b;var P=new v;return v.prototype=n,P}}();function A1(){}function Ei(v,b){this.__wrapped__=v,this.__actions__=[],this.__chain__=!!b,this.__index__=0,this.__values__=n}fe.templateSettings={escape:Xa,evaluate:io,interpolate:of,variable:"",imports:{_:fe}},fe.prototype=A1.prototype,fe.prototype.constructor=fe,Ei.prototype=mf(A1.prototype),Ei.prototype.constructor=Ei;function mn(v){this.__wrapped__=v,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=E,this.__views__=[]}function IE(){var v=new mn(this.__wrapped__);return v.__actions__=Wo(this.__actions__),v.__dir__=this.__dir__,v.__filtered__=this.__filtered__,v.__iteratees__=Wo(this.__iteratees__),v.__takeCount__=this.__takeCount__,v.__views__=Wo(this.__views__),v}function FE(){if(this.__filtered__){var v=new mn(this);v.__dir__=-1,v.__filtered__=!0}else v=this.clone(),v.__dir__*=-1;return v}function _E(){var v=this.__wrapped__.value(),b=this.__dir__,P=qt(v),D=b<0,te=P?v.length:0,he=HW(0,te,this.__views__),Re=he.start,Me=he.end,Pe=Me-Re,ze=D?Me:Re-1,je=this.__iteratees__,rt=je.length,vt=0,Ot=ao(Pe,this.__takeCount__);if(!P||!D&&te==Pe&&Ot==Pe)return r6(v,this.__actions__);var _t=[];e:for(;Pe--&&vt<Ot;){ze+=b;for(var sn=-1,Xt=v[ze];++sn<rt;){var fn=je[sn],An=fn.iteratee,ui=fn.type,bo=An(Xt);if(ui==F)Xt=bo;else if(!bo){if(ui==C)continue e;break e}}_t[vt++]=Xt}return _t}mn.prototype=mf(A1.prototype),mn.prototype.constructor=mn;function Ic(v){var b=-1,P=v==null?0:v.length;for(this.clear();++b<P;){var D=v[b];this.set(D[0],D[1])}}function XE(){this.__data__=t0?t0(null):{},this.size=0}function EE(v){var b=this.has(v)&&delete this.__data__[v];return this.size-=b?1:0,b}function WE(v){var b=this.__data__;if(t0){var P=b[v];return P===c?n:P}return Vn.call(b,v)?b[v]:n}function VE(v){var b=this.__data__;return t0?b[v]!==n:Vn.call(b,v)}function UE(v,b){var P=this.__data__;return this.size+=this.has(v)?0:1,P[v]=t0&&b===n?c:b,this}Ic.prototype.clear=XE,Ic.prototype.delete=EE,Ic.prototype.get=WE,Ic.prototype.has=VE,Ic.prototype.set=UE;function ws(v){var b=-1,P=v==null?0:v.length;for(this.clear();++b<P;){var D=v[b];this.set(D[0],D[1])}}function YE(){this.__data__=[],this.size=0}function QE(v){var b=this.__data__,P=R1(b,v);if(P<0)return!1;var D=b.length-1;return P==D?b.pop():d1.call(b,P,1),--this.size,!0}function ZE(v){var b=this.__data__,P=R1(b,v);return P<0?n:b[P][1]}function BE(v){return R1(this.__data__,v)>-1}function DE(v,b){var P=this.__data__,D=R1(P,v);return D<0?(++this.size,P.push([v,b])):P[D][1]=b,this}ws.prototype.clear=YE,ws.prototype.delete=QE,ws.prototype.get=ZE,ws.prototype.has=BE,ws.prototype.set=DE;function Ls(v){var b=-1,P=v==null?0:v.length;for(this.clear();++b<P;){var D=v[b];this.set(D[0],D[1])}}function KE(){this.size=0,this.__data__={hash:new Ic,map:new(qd||ws),string:new Ic}}function HE(v){var b=P1(this,v).delete(v);return this.size-=b?1:0,b}function GE(v){return P1(this,v).get(v)}function JE(v){return P1(this,v).has(v)}function zE(v,b){var P=P1(this,v),D=P.size;return P.set(v,b),this.size+=P.size==D?0:1,this}Ls.prototype.clear=KE,Ls.prototype.delete=HE,Ls.prototype.get=GE,Ls.prototype.has=JE,Ls.prototype.set=zE;function Fc(v){var b=-1,P=v==null?0:v.length;for(this.__data__=new Ls;++b<P;)this.add(v[b])}function jE(v){return this.__data__.set(v,c),this}function $E(v){return this.__data__.has(v)}Fc.prototype.add=Fc.prototype.push=jE,Fc.prototype.has=$E;function la(v){var b=this.__data__=new ws(v);this.size=b.size}function qE(){this.__data__=new ws,this.size=0}function eW(v){var b=this.__data__,P=b.delete(v);return this.size=b.size,P}function tW(v){return this.__data__.get(v)}function nW(v){return this.__data__.has(v)}function rW(v,b){var P=this.__data__;if(P instanceof ws){var D=P.__data__;if(!qd||D.length<o-1)return D.push([v,b]),this.size=++P.size,this;P=this.__data__=new Ls(D)}return P.set(v,b),this.size=P.size,this}la.prototype.clear=qE,la.prototype.delete=eW,la.prototype.get=tW,la.prototype.has=nW,la.prototype.set=rW;function F8(v,b){var P=qt(v),D=!P&&Vc(v),te=!P&&!D&&xl(v),he=!P&&!D&&!te&&Rf(v),Re=P||D||te||he,Me=Re?Y2(v.length,hE):[],Pe=Me.length;for(var ze in v)(b||Vn.call(v,ze))&&!(Re&&(ze=="length"||te&&(ze=="offset"||ze=="parent")||he&&(ze=="buffer"||ze=="byteLength"||ze=="byteOffset")||Ns(ze,Pe)))&&Me.push(ze);return Me}function _8(v){var b=v.length;return b?v[oA(0,b-1)]:n}function oW(v,b){return C1(Wo(v),_c(b,0,v.length))}function iW(v){return C1(Wo(v))}function G2(v,b,P){(P!==n&&!ca(v[b],P)||P===n&&!(b in v))&&Os(v,b,P)}function r0(v,b,P){var D=v[b];(!(Vn.call(v,b)&&ca(D,P))||P===n&&!(b in v))&&Os(v,b,P)}function R1(v,b){for(var P=v.length;P--;)if(ca(v[P][0],b))return P;return-1}function aW(v,b,P,D){return gl(v,function(te,he,Re){b(D,te,P(te),Re)}),D}function X8(v,b){return v&&Wa(b,Ur(b),v)}function sW(v,b){return v&&Wa(b,Uo(b),v)}function Os(v,b,P){b=="__proto__"&&h1?h1(v,b,{configurable:!0,enumerable:!0,value:P,writable:!0}):v[b]=P}function J2(v,b){for(var P=-1,D=b.length,te=Qe(D),he=v==null;++P<D;)te[P]=he?n:kA(v,b[P]);return te}function _c(v,b,P){return v===v&&(P!==n&&(v=v<=P?v:P),b!==n&&(v=v>=b?v:b)),v}function Wi(v,b,P,D,te,he){var Re,Me=b&f,Pe=b&d,ze=b&h;if(P&&(Re=te?P(v,D,te,he):P(v)),Re!==n)return Re;if(!ur(v))return v;var je=qt(v);if(je){if(Re=JW(v),!Me)return Wo(v,Re)}else{var rt=so(v),vt=rt==z||rt==ae;if(xl(v))return a6(v,Me);if(rt==$||rt==J||vt&&!te){if(Re=Pe||vt?{}:w6(v),!Me)return Pe?WW(v,sW(Re,v)):EW(v,X8(Re,v))}else{if(!Kn[rt])return te?v:{};Re=zW(v,rt,Me)}}he||(he=new la);var Ot=he.get(v);if(Ot)return Ot;he.set(v,Re),eS(v)?v.forEach(function(Xt){Re.add(Wi(Xt,b,P,Xt,v,he))}):$6(v)&&v.forEach(function(Xt,fn){Re.set(fn,Wi(Xt,b,P,fn,v,he))});var _t=ze?Pe?mA:pA:Pe?Uo:Ur,sn=je?n:_t(v);return _i(sn||v,function(Xt,fn){sn&&(fn=Xt,Xt=v[fn]),r0(Re,fn,Wi(Xt,b,P,fn,v,he))}),Re}function lW(v){var b=Ur(v);return function(P){return E8(P,v,b)}}function E8(v,b,P){var D=P.length;if(v==null)return!D;for(v=Dn(v);D--;){var te=P[D],he=b[te],Re=v[te];if(Re===n&&!(te in v)||!he(Re))return!1}return!0}function W8(v,b,P){if(typeof v!="function")throw new Xi(a);return u0(function(){v.apply(n,P)},b)}function o0(v,b,P,D){var te=-1,he=n1,Re=!0,Me=v.length,Pe=[],ze=b.length;if(!Me)return Pe;P&&(b=er(b,si(P))),D?(he=_2,Re=!1):b.length>=o&&(he=jd,Re=!1,b=new Fc(b));e:for(;++te<Me;){var je=v[te],rt=P==null?je:P(je);if(je=D||je!==0?je:0,Re&&rt===rt){for(var vt=ze;vt--;)if(b[vt]===rt)continue e;Pe.push(je)}else he(b,rt,D)||Pe.push(je)}return Pe}var gl=f6(Ea),V8=f6(j2,!0);function cW(v,b){var P=!0;return gl(v,function(D,te,he){return P=!!b(D,te,he),P}),P}function y1(v,b,P){for(var D=-1,te=v.length;++D<te;){var he=v[D],Re=b(he);if(Re!=null&&(Me===n?Re===Re&&!ci(Re):P(Re,Me)))var Me=Re,Pe=he}return Pe}function uW(v,b,P,D){var te=v.length;for(P=rn(P),P<0&&(P=-P>te?0:te+P),D=D===n||D>te?te:rn(D),D<0&&(D+=te),D=P>D?0:nS(D);P<D;)v[P++]=b;return v}function U8(v,b){var P=[];return gl(v,function(D,te,he){b(D,te,he)&&P.push(D)}),P}function Gr(v,b,P,D,te){var he=-1,Re=v.length;for(P||(P=$W),te||(te=[]);++he<Re;){var Me=v[he];b>0&&P(Me)?b>1?Gr(Me,b-1,P,D,te):pl(te,Me):D||(te[te.length]=Me)}return te}var z2=d6(),Y8=d6(!0);function Ea(v,b){return v&&z2(v,b,Ur)}function j2(v,b){return v&&Y8(v,b,Ur)}function x1(v,b){return hl(b,function(P){return Ps(v[P])})}function Xc(v,b){b=Rl(b,v);for(var P=0,D=b.length;v!=null&&P<D;)v=v[Va(b[P++])];return P&&P==D?v:n}function Q8(v,b,P){var D=b(v);return qt(v)?D:pl(D,P(v))}function yo(v){return v==null?v===n?_e:ue:Cc&&Cc in Dn(v)?KW(v):iV(v)}function $2(v,b){return v>b}function fW(v,b){return v!=null&&Vn.call(v,b)}function dW(v,b){return v!=null&&b in Dn(v)}function hW(v,b,P){return v>=ao(b,P)&&v<_r(b,P)}function q2(v,b,P){for(var D=P?_2:n1,te=v[0].length,he=v.length,Re=he,Me=Qe(he),Pe=1/0,ze=[];Re--;){var je=v[Re];Re&&b&&(je=er(je,si(b))),Pe=ao(je.length,Pe),Me[Re]=!P&&(b||te>=120&&je.length>=120)?new Fc(Re&&je):n}je=v[0];var rt=-1,vt=Me[0];e:for(;++rt<te&&ze.length<Pe;){var Ot=je[rt],_t=b?b(Ot):Ot;if(Ot=P||Ot!==0?Ot:0,!(vt?jd(vt,_t):D(ze,_t,P))){for(Re=he;--Re;){var sn=Me[Re];if(!(sn?jd(sn,_t):D(v[Re],_t,P)))continue e}vt&&vt.push(_t),ze.push(Ot)}}return ze}function pW(v,b,P,D){return Ea(v,function(te,he,Re){b(D,P(te),he,Re)}),D}function i0(v,b,P){b=Rl(b,v),v=k6(v,b);var D=v==null?v:v[Va(Ui(b))];return D==null?n:ai(D,v,P)}function Z8(v){return mr(v)&&yo(v)==J}function mW(v){return mr(v)&&yo(v)==qe}function vW(v){return mr(v)&&yo(v)==pe}function a0(v,b,P,D,te){return v===b?!0:v==null||b==null||!mr(v)&&!mr(b)?v!==v&&b!==b:gW(v,b,P,D,a0,te)}function gW(v,b,P,D,te,he){var Re=qt(v),Me=qt(b),Pe=Re?le:so(v),ze=Me?le:so(b);Pe=Pe==J?$:Pe,ze=ze==J?$:ze;var je=Pe==$,rt=ze==$,vt=Pe==ze;if(vt&&xl(v)){if(!xl(b))return!1;Re=!0,je=!1}if(vt&&!je)return he||(he=new la),Re||Rf(v)?b6(v,b,P,D,te,he):BW(v,b,Pe,P,D,te,he);if(!(P&p)){var Ot=je&&Vn.call(v,"__wrapped__"),_t=rt&&Vn.call(b,"__wrapped__");if(Ot||_t){var sn=Ot?v.value():v,Xt=_t?b.value():b;return he||(he=new la),te(sn,Xt,P,D,he)}}return vt?(he||(he=new la),DW(v,b,P,D,te,he)):!1}function AW(v){return mr(v)&&so(v)==W}function eA(v,b,P,D){var te=P.length,he=te,Re=!D;if(v==null)return!he;for(v=Dn(v);te--;){var Me=P[te];if(Re&&Me[2]?Me[1]!==v[Me[0]]:!(Me[0]in v))return!1}for(;++te<he;){Me=P[te];var Pe=Me[0],ze=v[Pe],je=Me[1];if(Re&&Me[2]){if(ze===n&&!(Pe in v))return!1}else{var rt=new la;if(D)var vt=D(ze,je,Pe,v,b,rt);if(!(vt===n?a0(je,ze,p|m,D,rt):vt))return!1}}return!0}function B8(v){if(!ur(v)||eV(v))return!1;var b=Ps(v)?AE:lX;return b.test(Wc(v))}function RW(v){return mr(v)&&yo(v)==ve}function yW(v){return mr(v)&&so(v)==ce}function xW(v){return mr(v)&&W1(v.length)&&!!$n[yo(v)]}function D8(v){return typeof v=="function"?v:v==null?Yo:typeof v=="object"?qt(v)?G8(v[0],v[1]):H8(v):hS(v)}function tA(v){if(!c0(v))return ME(v);var b=[];for(var P in Dn(v))Vn.call(v,P)&&P!="constructor"&&b.push(P);return b}function bW(v){if(!ur(v))return oV(v);var b=c0(v),P=[];for(var D in v)D=="constructor"&&(b||!Vn.call(v,D))||P.push(D);return P}function nA(v,b){return v<b}function K8(v,b){var P=-1,D=Vo(v)?Qe(v.length):[];return gl(v,function(te,he,Re){D[++P]=b(te,he,Re)}),D}function H8(v){var b=gA(v);return b.length==1&&b[0][2]?O6(b[0][0],b[0][1]):function(P){return P===v||eA(P,v,b)}}function G8(v,b){return RA(v)&&L6(b)?O6(Va(v),b):function(P){var D=kA(P,v);return D===n&&D===b?NA(P,v):a0(b,D,p|m)}}function b1(v,b,P,D,te){v!==b&&z2(b,function(he,Re){if(te||(te=new la),ur(he))SW(v,b,Re,P,b1,D,te);else{var Me=D?D(xA(v,Re),he,Re+"",v,b,te):n;Me===n&&(Me=he),G2(v,Re,Me)}},Uo)}function SW(v,b,P,D,te,he,Re){var Me=xA(v,P),Pe=xA(b,P),ze=Re.get(Pe);if(ze){G2(v,P,ze);return}var je=he?he(Me,Pe,P+"",v,b,Re):n,rt=je===n;if(rt){var vt=qt(Pe),Ot=!vt&&xl(Pe),_t=!vt&&!Ot&&Rf(Pe);je=Pe,vt||Ot||_t?qt(Me)?je=Me:xr(Me)?je=Wo(Me):Ot?(rt=!1,je=a6(Pe,!0)):_t?(rt=!1,je=s6(Pe,!0)):je=[]:f0(Pe)||Vc(Pe)?(je=Me,Vc(Me)?je=rS(Me):(!ur(Me)||Ps(Me))&&(je=w6(Pe))):rt=!1}rt&&(Re.set(Pe,je),te(je,Pe,D,he,Re),Re.delete(Pe)),G2(v,P,je)}function J8(v,b){var P=v.length;if(P)return b+=b<0?P:0,Ns(b,P)?v[b]:n}function z8(v,b,P){b.length?b=er(b,function(he){return qt(he)?function(Re){return Xc(Re,he.length===1?he[0]:he)}:he}):b=[Yo];var D=-1;b=er(b,si(It()));var te=K8(v,function(he,Re,Me){var Pe=er(b,function(ze){return ze(he)});return{criteria:Pe,index:++D,value:he}});return zX(te,function(he,Re){return XW(he,Re,P)})}function MW(v,b){return j8(v,b,function(P,D){return NA(v,D)})}function j8(v,b,P){for(var D=-1,te=b.length,he={};++D<te;){var Re=b[D],Me=Xc(v,Re);P(Me,Re)&&s0(he,Rl(Re,v),Me)}return he}function wW(v){return function(b){return Xc(b,v)}}function rA(v,b,P,D){var te=D?JX:lf,he=-1,Re=b.length,Me=v;for(v===b&&(b=Wo(b)),P&&(Me=er(v,si(P)));++he<Re;)for(var Pe=0,ze=b[he],je=P?P(ze):ze;(Pe=te(Me,je,Pe,D))>-1;)Me!==v&&d1.call(Me,Pe,1),d1.call(v,Pe,1);return v}function $8(v,b){for(var P=v?b.length:0,D=P-1;P--;){var te=b[P];if(P==D||te!==he){var he=te;Ns(te)?d1.call(v,te,1):sA(v,te)}}return v}function oA(v,b){return v+m1(C8()*(b-v+1))}function LW(v,b,P,D){for(var te=-1,he=_r(p1((b-v)/(P||1)),0),Re=Qe(he);he--;)Re[D?he:++te]=v,v+=P;return Re}function iA(v,b){var P="";if(!v||b<1||b>B)return P;do b%2&&(P+=v),b=m1(b/2),b&&(v+=v);while(b);return P}function ln(v,b){return bA(T6(v,b,Yo),v+"")}function OW(v){return _8(yf(v))}function TW(v,b){var P=yf(v);return C1(P,_c(b,0,P.length))}function s0(v,b,P,D){if(!ur(v))return v;b=Rl(b,v);for(var te=-1,he=b.length,Re=he-1,Me=v;Me!=null&&++te<he;){var Pe=Va(b[te]),ze=P;if(Pe==="__proto__"||Pe==="constructor"||Pe==="prototype")return v;if(te!=Re){var je=Me[Pe];ze=D?D(je,Pe,Me):n,ze===n&&(ze=ur(je)?je:Ns(b[te+1])?[]:{})}r0(Me,Pe,ze),Me=Me[Pe]}return v}var q8=v1?function(v,b){return v1.set(v,b),v}:Yo,kW=h1?function(v,b){return h1(v,"toString",{configurable:!0,enumerable:!1,value:CA(b),writable:!0})}:Yo;function NW(v){return C1(yf(v))}function Vi(v,b,P){var D=-1,te=v.length;b<0&&(b=-b>te?0:te+b),P=P>te?te:P,P<0&&(P+=te),te=b>P?0:P-b>>>0,b>>>=0;for(var he=Qe(te);++D<te;)he[D]=v[D+b];return he}function PW(v,b){var P;return gl(v,function(D,te,he){return P=b(D,te,he),!P}),!!P}function S1(v,b,P){var D=0,te=v==null?D:v.length;if(typeof b=="number"&&b===b&&te<=K){for(;D<te;){var he=D+te>>>1,Re=v[he];Re!==null&&!ci(Re)&&(P?Re<=b:Re<b)?D=he+1:te=he}return te}return aA(v,b,Yo,P)}function aA(v,b,P,D){var te=0,he=v==null?0:v.length;if(he===0)return 0;b=P(b);for(var Re=b!==b,Me=b===null,Pe=ci(b),ze=b===n;te<he;){var je=m1((te+he)/2),rt=P(v[je]),vt=rt!==n,Ot=rt===null,_t=rt===rt,sn=ci(rt);if(Re)var Xt=D||_t;else ze?Xt=_t&&(D||vt):Me?Xt=_t&&vt&&(D||!Ot):Pe?Xt=_t&&vt&&!Ot&&(D||!sn):Ot||sn?Xt=!1:Xt=D?rt<=b:rt<b;Xt?te=je+1:he=je}return ao(he,Z)}function e6(v,b){for(var P=-1,D=v.length,te=0,he=[];++P<D;){var Re=v[P],Me=b?b(Re):Re;if(!P||!ca(Me,Pe)){var Pe=Me;he[te++]=Re===0?0:Re}}return he}function t6(v){return typeof v=="number"?v:ci(v)?ne:+v}function li(v){if(typeof v=="string")return v;if(qt(v))return er(v,li)+"";if(ci(v))return I8?I8.call(v):"";var b=v+"";return b=="0"&&1/v==-V?"-0":b}function Al(v,b,P){var D=-1,te=n1,he=v.length,Re=!0,Me=[],Pe=Me;if(P)Re=!1,te=_2;else if(he>=o){var ze=b?null:QW(v);if(ze)return o1(ze);Re=!1,te=jd,Pe=new Fc}else Pe=b?[]:Me;e:for(;++D<he;){var je=v[D],rt=b?b(je):je;if(je=P||je!==0?je:0,Re&&rt===rt){for(var vt=Pe.length;vt--;)if(Pe[vt]===rt)continue e;b&&Pe.push(rt),Me.push(je)}else te(Pe,rt,P)||(Pe!==Me&&Pe.push(rt),Me.push(je))}return Me}function sA(v,b){return b=Rl(b,v),v=k6(v,b),v==null||delete v[Va(Ui(b))]}function n6(v,b,P,D){return s0(v,b,P(Xc(v,b)),D)}function M1(v,b,P,D){for(var te=v.length,he=D?te:-1;(D?he--:++he<te)&&b(v[he],he,v););return P?Vi(v,D?0:he,D?he+1:te):Vi(v,D?he+1:0,D?te:he)}function r6(v,b){var P=v;return P instanceof mn&&(P=P.value()),X2(b,function(D,te){return te.func.apply(te.thisArg,pl([D],te.args))},P)}function lA(v,b,P){var D=v.length;if(D<2)return D?Al(v[0]):[];for(var te=-1,he=Qe(D);++te<D;)for(var Re=v[te],Me=-1;++Me<D;)Me!=te&&(he[te]=o0(he[te]||Re,v[Me],b,P));return Al(Gr(he,1),b,P)}function o6(v,b,P){for(var D=-1,te=v.length,he=b.length,Re={};++D<te;){var Me=D<he?b[D]:n;P(Re,v[D],Me)}return Re}function cA(v){return xr(v)?v:[]}function uA(v){return typeof v=="function"?v:Yo}function Rl(v,b){return qt(v)?v:RA(v,b)?[v]:I6(Xn(v))}var CW=ln;function yl(v,b,P){var D=v.length;return P=P===n?D:P,!b&&P>=D?v:Vi(v,b,P)}var i6=RE||function(v){return Hr.clearTimeout(v)};function a6(v,b){if(b)return v.slice();var P=v.length,D=O8?O8(P):new v.constructor(P);return v.copy(D),D}function fA(v){var b=new v.constructor(v.byteLength);return new u1(b).set(new u1(v)),b}function IW(v,b){var P=b?fA(v.buffer):v.buffer;return new v.constructor(P,v.byteOffset,v.byteLength)}function FW(v){var b=new v.constructor(v.source,Z5.exec(v));return b.lastIndex=v.lastIndex,b}function _W(v){return n0?Dn(n0.call(v)):{}}function s6(v,b){var P=b?fA(v.buffer):v.buffer;return new v.constructor(P,v.byteOffset,v.length)}function l6(v,b){if(v!==b){var P=v!==n,D=v===null,te=v===v,he=ci(v),Re=b!==n,Me=b===null,Pe=b===b,ze=ci(b);if(!Me&&!ze&&!he&&v>b||he&&Re&&Pe&&!Me&&!ze||D&&Re&&Pe||!P&&Pe||!te)return 1;if(!D&&!he&&!ze&&v<b||ze&&P&&te&&!D&&!he||Me&&P&&te||!Re&&te||!Pe)return-1}return 0}function XW(v,b,P){for(var D=-1,te=v.criteria,he=b.criteria,Re=te.length,Me=P.length;++D<Re;){var Pe=l6(te[D],he[D]);if(Pe){if(D>=Me)return Pe;var ze=P[D];return Pe*(ze=="desc"?-1:1)}}return v.index-b.index}function c6(v,b,P,D){for(var te=-1,he=v.length,Re=P.length,Me=-1,Pe=b.length,ze=_r(he-Re,0),je=Qe(Pe+ze),rt=!D;++Me<Pe;)je[Me]=b[Me];for(;++te<Re;)(rt||te<he)&&(je[P[te]]=v[te]);for(;ze--;)je[Me++]=v[te++];return je}function u6(v,b,P,D){for(var te=-1,he=v.length,Re=-1,Me=P.length,Pe=-1,ze=b.length,je=_r(he-Me,0),rt=Qe(je+ze),vt=!D;++te<je;)rt[te]=v[te];for(var Ot=te;++Pe<ze;)rt[Ot+Pe]=b[Pe];for(;++Re<Me;)(vt||te<he)&&(rt[Ot+P[Re]]=v[te++]);return rt}function Wo(v,b){var P=-1,D=v.length;for(b||(b=Qe(D));++P<D;)b[P]=v[P];return b}function Wa(v,b,P,D){var te=!P;P||(P={});for(var he=-1,Re=b.length;++he<Re;){var Me=b[he],Pe=D?D(P[Me],v[Me],Me,P,v):n;Pe===n&&(Pe=v[Me]),te?Os(P,Me,Pe):r0(P,Me,Pe)}return P}function EW(v,b){return Wa(v,AA(v),b)}function WW(v,b){return Wa(v,S6(v),b)}function w1(v,b){return function(P,D){var te=qt(P)?ZX:aW,he=b?b():{};return te(P,v,It(D,2),he)}}function vf(v){return ln(function(b,P){var D=-1,te=P.length,he=te>1?P[te-1]:n,Re=te>2?P[2]:n;for(he=v.length>3&&typeof he=="function"?(te--,he):n,Re&&xo(P[0],P[1],Re)&&(he=te<3?n:he,te=1),b=Dn(b);++D<te;){var Me=P[D];Me&&v(b,Me,D,he)}return b})}function f6(v,b){return function(P,D){if(P==null)return P;if(!Vo(P))return v(P,D);for(var te=P.length,he=b?te:-1,Re=Dn(P);(b?he--:++he<te)&&D(Re[he],he,Re)!==!1;);return P}}function d6(v){return function(b,P,D){for(var te=-1,he=Dn(b),Re=D(b),Me=Re.length;Me--;){var Pe=Re[v?Me:++te];if(P(he[Pe],Pe,he)===!1)break}return b}}function VW(v,b,P){var D=b&A,te=l0(v);function he(){var Re=this&&this!==Hr&&this instanceof he?te:v;return Re.apply(D?P:this,arguments)}return he}function h6(v){return function(b){b=Xn(b);var P=cf(b)?sa(b):n,D=P?P[0]:b.charAt(0),te=P?yl(P,1).join(""):b.slice(1);return D[v]()+te}}function gf(v){return function(b){return X2(fS(uS(b).replace(kX,"")),v,"")}}function l0(v){return function(){var b=arguments;switch(b.length){case 0:return new v;case 1:return new v(b[0]);case 2:return new v(b[0],b[1]);case 3:return new v(b[0],b[1],b[2]);case 4:return new v(b[0],b[1],b[2],b[3]);case 5:return new v(b[0],b[1],b[2],b[3],b[4]);case 6:return new v(b[0],b[1],b[2],b[3],b[4],b[5]);case 7:return new v(b[0],b[1],b[2],b[3],b[4],b[5],b[6])}var P=mf(v.prototype),D=v.apply(P,b);return ur(D)?D:P}}function UW(v,b,P){var D=l0(v);function te(){for(var he=arguments.length,Re=Qe(he),Me=he,Pe=Af(te);Me--;)Re[Me]=arguments[Me];var ze=he<3&&Re[0]!==Pe&&Re[he-1]!==Pe?[]:ml(Re,Pe);if(he-=ze.length,he<P)return A6(v,b,L1,te.placeholder,n,Re,ze,n,n,P-he);var je=this&&this!==Hr&&this instanceof te?D:v;return ai(je,this,Re)}return te}function p6(v){return function(b,P,D){var te=Dn(b);if(!Vo(b)){var he=It(P,3);b=Ur(b),P=function(Me){return he(te[Me],Me,te)}}var Re=v(b,P,D);return Re>-1?te[he?b[Re]:Re]:n}}function m6(v){return ks(function(b){var P=b.length,D=P,te=Ei.prototype.thru;for(v&&b.reverse();D--;){var he=b[D];if(typeof he!="function")throw new Xi(a);if(te&&!Re&&N1(he)=="wrapper")var Re=new Ei([],!0)}for(D=Re?D:P;++D<P;){he=b[D];var Me=N1(he),Pe=Me=="wrapper"?vA(he):n;Pe&&yA(Pe[0])&&Pe[1]==(T|y|S|M)&&!Pe[4].length&&Pe[9]==1?Re=Re[N1(Pe[0])].apply(Re,Pe[3]):Re=he.length==1&&yA(he)?Re[Me]():Re.thru(he)}return function(){var ze=arguments,je=ze[0];if(Re&&ze.length==1&&qt(je))return Re.plant(je).value();for(var rt=0,vt=P?b[rt].apply(this,ze):je;++rt<P;)vt=b[rt].call(this,vt);return vt}})}function L1(v,b,P,D,te,he,Re,Me,Pe,ze){var je=b&T,rt=b&A,vt=b&x,Ot=b&(y|g),_t=b&O,sn=vt?n:l0(v);function Xt(){for(var fn=arguments.length,An=Qe(fn),ui=fn;ui--;)An[ui]=arguments[ui];if(Ot)var bo=Af(Xt),fi=$X(An,bo);if(D&&(An=c6(An,D,te,Ot)),he&&(An=u6(An,he,Re,Ot)),fn-=fi,Ot&&fn<ze){var br=ml(An,bo);return A6(v,b,L1,Xt.placeholder,P,An,br,Me,Pe,ze-fn)}var ua=rt?P:this,Is=vt?ua[v]:v;return fn=An.length,Me?An=aV(An,Me):_t&&fn>1&&An.reverse(),je&&Pe<fn&&(An.length=Pe),this&&this!==Hr&&this instanceof Xt&&(Is=sn||l0(Is)),Is.apply(ua,An)}return Xt}function v6(v,b){return function(P,D){return pW(P,v,b(D),{})}}function O1(v,b){return function(P,D){var te;if(P===n&&D===n)return b;if(P!==n&&(te=P),D!==n){if(te===n)return D;typeof P=="string"||typeof D=="string"?(P=li(P),D=li(D)):(P=t6(P),D=t6(D)),te=v(P,D)}return te}}function dA(v){return ks(function(b){return b=er(b,si(It())),ln(function(P){var D=this;return v(b,function(te){return ai(te,D,P)})})})}function T1(v,b){b=b===n?" ":li(b);var P=b.length;if(P<2)return P?iA(b,v):b;var D=iA(b,p1(v/uf(b)));return cf(b)?yl(sa(D),0,v).join(""):D.slice(0,v)}function YW(v,b,P,D){var te=b&A,he=l0(v);function Re(){for(var Me=-1,Pe=arguments.length,ze=-1,je=D.length,rt=Qe(je+Pe),vt=this&&this!==Hr&&this instanceof Re?he:v;++ze<je;)rt[ze]=D[ze];for(;Pe--;)rt[ze++]=arguments[++Me];return ai(vt,te?P:this,rt)}return Re}function g6(v){return function(b,P,D){return D&&typeof D!="number"&&xo(b,P,D)&&(P=D=n),b=Cs(b),P===n?(P=b,b=0):P=Cs(P),D=D===n?b<P?1:-1:Cs(D),LW(b,P,D,v)}}function k1(v){return function(b,P){return typeof b=="string"&&typeof P=="string"||(b=Yi(b),P=Yi(P)),v(b,P)}}function A6(v,b,P,D,te,he,Re,Me,Pe,ze){var je=b&y,rt=je?Re:n,vt=je?n:Re,Ot=je?he:n,_t=je?n:he;b|=je?S:L,b&=~(je?L:S),b&R||(b&=~(A|x));var sn=[v,b,te,Ot,rt,_t,vt,Me,Pe,ze],Xt=P.apply(n,sn);return yA(v)&&N6(Xt,sn),Xt.placeholder=D,P6(Xt,v,b)}function hA(v){var b=Fr[v];return function(P,D){if(P=Yi(P),D=D==null?0:ao(rn(D),292),D&&P8(P)){var te=(Xn(P)+"e").split("e"),he=b(te[0]+"e"+(+te[1]+D));return te=(Xn(he)+"e").split("e"),+(te[0]+"e"+(+te[1]-D))}return b(P)}}var QW=hf&&1/o1(new hf([,-0]))[1]==V?function(v){return new hf(v)}:_A;function R6(v){return function(b){var P=so(b);return P==W?Z2(b):P==ce?iE(b):jX(b,v(b))}}function Ts(v,b,P,D,te,he,Re,Me){var Pe=b&x;if(!Pe&&typeof v!="function")throw new Xi(a);var ze=D?D.length:0;if(ze||(b&=~(S|L),D=te=n),Re=Re===n?Re:_r(rn(Re),0),Me=Me===n?Me:rn(Me),ze-=te?te.length:0,b&L){var je=D,rt=te;D=te=n}var vt=Pe?n:vA(v),Ot=[v,b,P,D,te,je,rt,he,Re,Me];if(vt&&rV(Ot,vt),v=Ot[0],b=Ot[1],P=Ot[2],D=Ot[3],te=Ot[4],Me=Ot[9]=Ot[9]===n?Pe?0:v.length:_r(Ot[9]-ze,0),!Me&&b&(y|g)&&(b&=~(y|g)),!b||b==A)var _t=VW(v,b,P);else b==y||b==g?_t=UW(v,b,Me):(b==S||b==(A|S))&&!te.length?_t=YW(v,b,P,D):_t=L1.apply(n,Ot);var sn=vt?q8:N6;return P6(sn(_t,Ot),v,b)}function y6(v,b,P,D){return v===n||ca(v,df[P])&&!Vn.call(D,P)?b:v}function x6(v,b,P,D,te,he){return ur(v)&&ur(b)&&(he.set(b,v),b1(v,b,n,x6,he),he.delete(b)),v}function ZW(v){return f0(v)?n:v}function b6(v,b,P,D,te,he){var Re=P&p,Me=v.length,Pe=b.length;if(Me!=Pe&&!(Re&&Pe>Me))return!1;var ze=he.get(v),je=he.get(b);if(ze&&je)return ze==b&&je==v;var rt=-1,vt=!0,Ot=P&m?new Fc:n;for(he.set(v,b),he.set(b,v);++rt<Me;){var _t=v[rt],sn=b[rt];if(D)var Xt=Re?D(sn,_t,rt,b,v,he):D(_t,sn,rt,v,b,he);if(Xt!==n){if(Xt)continue;vt=!1;break}if(Ot){if(!E2(b,function(fn,An){if(!jd(Ot,An)&&(_t===fn||te(_t,fn,P,D,he)))return Ot.push(An)})){vt=!1;break}}else if(!(_t===sn||te(_t,sn,P,D,he))){vt=!1;break}}return he.delete(v),he.delete(b),vt}function BW(v,b,P,D,te,he,Re){switch(P){case Xe:if(v.byteLength!=b.byteLength||v.byteOffset!=b.byteOffset)return!1;v=v.buffer,b=b.buffer;case qe:return!(v.byteLength!=b.byteLength||!he(new u1(v),new u1(b)));case oe:case pe:case j:return ca(+v,+b);case ye:return v.name==b.name&&v.message==b.message;case ve:case de:return v==b+"";case W:var Me=Z2;case ce:var Pe=D&p;if(Me||(Me=o1),v.size!=b.size&&!Pe)return!1;var ze=Re.get(v);if(ze)return ze==b;D|=m,Re.set(v,b);var je=b6(Me(v),Me(b),D,te,he,Re);return Re.delete(v),je;case be:if(n0)return n0.call(v)==n0.call(b)}return!1}function DW(v,b,P,D,te,he){var Re=P&p,Me=pA(v),Pe=Me.length,ze=pA(b),je=ze.length;if(Pe!=je&&!Re)return!1;for(var rt=Pe;rt--;){var vt=Me[rt];if(!(Re?vt in b:Vn.call(b,vt)))return!1}var Ot=he.get(v),_t=he.get(b);if(Ot&&_t)return Ot==b&&_t==v;var sn=!0;he.set(v,b),he.set(b,v);for(var Xt=Re;++rt<Pe;){vt=Me[rt];var fn=v[vt],An=b[vt];if(D)var ui=Re?D(An,fn,vt,b,v,he):D(fn,An,vt,v,b,he);if(!(ui===n?fn===An||te(fn,An,P,D,he):ui)){sn=!1;break}Xt||(Xt=vt=="constructor")}if(sn&&!Xt){var bo=v.constructor,fi=b.constructor;bo!=fi&&"constructor"in v&&"constructor"in b&&!(typeof bo=="function"&&bo instanceof bo&&typeof fi=="function"&&fi instanceof fi)&&(sn=!1)}return he.delete(v),he.delete(b),sn}function ks(v){return bA(T6(v,n,E6),v+"")}function pA(v){return Q8(v,Ur,AA)}function mA(v){return Q8(v,Uo,S6)}var vA=v1?function(v){return v1.get(v)}:_A;function N1(v){for(var b=v.name+"",P=pf[b],D=Vn.call(pf,b)?P.length:0;D--;){var te=P[D],he=te.func;if(he==null||he==v)return te.name}return b}function Af(v){var b=Vn.call(fe,"placeholder")?fe:v;return b.placeholder}function It(){var v=fe.iteratee||IA;return v=v===IA?D8:v,arguments.length?v(arguments[0],arguments[1]):v}function P1(v,b){var P=v.__data__;return qW(b)?P[typeof b=="string"?"string":"hash"]:P.map}function gA(v){for(var b=Ur(v),P=b.length;P--;){var D=b[P],te=v[D];b[P]=[D,te,L6(te)]}return b}function Ec(v,b){var P=nE(v,b);return B8(P)?P:n}function KW(v){var b=Vn.call(v,Cc),P=v[Cc];try{v[Cc]=n;var D=!0}catch{}var te=l1.call(v);return D&&(b?v[Cc]=P:delete v[Cc]),te}var AA=D2?function(v){return v==null?[]:(v=Dn(v),hl(D2(v),function(b){return k8.call(v,b)}))}:XA,S6=D2?function(v){for(var b=[];v;)pl(b,AA(v)),v=f1(v);return b}:XA,so=yo;(K2&&so(new K2(new ArrayBuffer(1)))!=Xe||qd&&so(new qd)!=W||H2&&so(H2.resolve())!=q||hf&&so(new hf)!=ce||e0&&so(new e0)!=Ie)&&(so=function(v){var b=yo(v),P=b==$?v.constructor:n,D=P?Wc(P):"";if(D)switch(D){case TE:return Xe;case kE:return W;case NE:return q;case PE:return ce;case CE:return Ie}return b});function HW(v,b,P){for(var D=-1,te=P.length;++D<te;){var he=P[D],Re=he.size;switch(he.type){case"drop":v+=Re;break;case"dropRight":b-=Re;break;case"take":b=ao(b,v+Re);break;case"takeRight":v=_r(v,b-Re);break}}return{start:v,end:b}}function GW(v){var b=v.match(eX);return b?b[1].split(tX):[]}function M6(v,b,P){b=Rl(b,v);for(var D=-1,te=b.length,he=!1;++D<te;){var Re=Va(b[D]);if(!(he=v!=null&&P(v,Re)))break;v=v[Re]}return he||++D!=te?he:(te=v==null?0:v.length,!!te&&W1(te)&&Ns(Re,te)&&(qt(v)||Vc(v)))}function JW(v){var b=v.length,P=new v.constructor(b);return b&&typeof v[0]=="string"&&Vn.call(v,"index")&&(P.index=v.index,P.input=v.input),P}function w6(v){return typeof v.constructor=="function"&&!c0(v)?mf(f1(v)):{}}function zW(v,b,P){var D=v.constructor;switch(b){case qe:return fA(v);case oe:case pe:return new D(+v);case Xe:return IW(v,P);case Le:case Te:case Ce:case He:case et:case ke:case De:case tt:case wt:return s6(v,P);case W:return new D;case j:case de:return new D(v);case ve:return FW(v);case ce:return new D;case be:return _W(v)}}function jW(v,b){var P=b.length;if(!P)return v;var D=P-1;return b[D]=(P>1?"& ":"")+b[D],b=b.join(P>2?", ":" "),v.replace(O2,`{
/* [wrapped with `+b+`] */
`)}function $W(v){return qt(v)||Vc(v)||!!(N8&&v&&v[N8])}function Ns(v,b){var P=typeof v;return b=b??B,!!b&&(P=="number"||P!="symbol"&&uX.test(v))&&v>-1&&v%1==0&&v<b}function xo(v,b,P){if(!ur(P))return!1;var D=typeof b;return(D=="number"?Vo(P)&&Ns(b,P.length):D=="string"&&b in P)?ca(P[b],v):!1}function RA(v,b){if(qt(v))return!1;var P=typeof v;return P=="number"||P=="symbol"||P=="boolean"||v==null||ci(v)?!0:Ms.test(v)||!Nc.test(v)||b!=null&&v in Dn(b)}function qW(v){var b=typeof v;return b=="string"||b=="number"||b=="symbol"||b=="boolean"?v!=="__proto__":v===null}function yA(v){var b=N1(v),P=fe[b];if(typeof P!="function"||!(b in mn.prototype))return!1;if(v===P)return!0;var D=vA(P);return!!D&&v===D[0]}function eV(v){return!!L8&&L8 in v}var tV=a1?Ps:EA;function c0(v){var b=v&&v.constructor,P=typeof b=="function"&&b.prototype||df;return v===P}function L6(v){return v===v&&!ur(v)}function O6(v,b){return function(P){return P==null?!1:P[v]===b&&(b!==n||v in Dn(P))}}function nV(v){var b=X1(v,function(D){return P.size===l&&P.clear(),D}),P=b.cache;return b}function rV(v,b){var P=v[1],D=b[1],te=P|D,he=te<(A|x|T),Re=D==T&&P==y||D==T&&P==M&&v[7].length<=b[8]||D==(T|M)&&b[7].length<=b[8]&&P==y;if(!(he||Re))return v;D&A&&(v[2]=b[2],te|=P&A?0:R);var Me=b[3];if(Me){var Pe=v[3];v[3]=Pe?c6(Pe,Me,b[4]):Me,v[4]=Pe?ml(v[3],u):b[4]}return Me=b[5],Me&&(Pe=v[5],v[5]=Pe?u6(Pe,Me,b[6]):Me,v[6]=Pe?ml(v[5],u):b[6]),Me=b[7],Me&&(v[7]=Me),D&T&&(v[8]=v[8]==null?b[8]:ao(v[8],b[8])),v[9]==null&&(v[9]=b[9]),v[0]=b[0],v[1]=te,v}function oV(v){var b=[];if(v!=null)for(var P in Dn(v))b.push(P);return b}function iV(v){return l1.call(v)}function T6(v,b,P){return b=_r(b===n?v.length-1:b,0),function(){for(var D=arguments,te=-1,he=_r(D.length-b,0),Re=Qe(he);++te<he;)Re[te]=D[b+te];te=-1;for(var Me=Qe(b+1);++te<b;)Me[te]=D[te];return Me[b]=P(Re),ai(v,this,Me)}}function k6(v,b){return b.length<2?v:Xc(v,Vi(b,0,-1))}function aV(v,b){for(var P=v.length,D=ao(b.length,P),te=Wo(v);D--;){var he=b[D];v[D]=Ns(he,P)?te[he]:n}return v}function xA(v,b){if(!(b==="constructor"&&typeof v[b]=="function")&&b!="__proto__")return v[b]}var N6=C6(q8),u0=xE||function(v,b){return Hr.setTimeout(v,b)},bA=C6(kW);function P6(v,b,P){var D=b+"";return bA(v,jW(D,sV(GW(D),P)))}function C6(v){var b=0,P=0;return function(){var D=wE(),te=X-(D-P);if(P=D,te>0){if(++b>=N)return arguments[0]}else b=0;return v.apply(n,arguments)}}function C1(v,b){var P=-1,D=v.length,te=D-1;for(b=b===n?D:b;++P<b;){var he=oA(P,te),Re=v[he];v[he]=v[P],v[P]=Re}return v.length=b,v}var I6=nV(function(v){var b=[];return v.charCodeAt(0)===46&&b.push(""),v.replace(L2,function(P,D,te,he){b.push(te?he.replace(oX,"$1"):D||P)}),b});function Va(v){if(typeof v=="string"||ci(v))return v;var b=v+"";return b=="0"&&1/v==-V?"-0":b}function Wc(v){if(v!=null){try{return s1.call(v)}catch{}try{return v+""}catch{}}return""}function sV(v,b){return _i(U,function(P){var D="_."+P[0];b&P[1]&&!n1(v,D)&&v.push(D)}),v.sort()}function F6(v){if(v instanceof mn)return v.clone();var b=new Ei(v.__wrapped__,v.__chain__);return b.__actions__=Wo(v.__actions__),b.__index__=v.__index__,b.__values__=v.__values__,b}function lV(v,b,P){(P?xo(v,b,P):b===n)?b=1:b=_r(rn(b),0);var D=v==null?0:v.length;if(!D||b<1)return[];for(var te=0,he=0,Re=Qe(p1(D/b));te<D;)Re[he++]=Vi(v,te,te+=b);return Re}function cV(v){for(var b=-1,P=v==null?0:v.length,D=0,te=[];++b<P;){var he=v[b];he&&(te[D++]=he)}return te}function uV(){var v=arguments.length;if(!v)return[];for(var b=Qe(v-1),P=arguments[0],D=v;D--;)b[D-1]=arguments[D];return pl(qt(P)?Wo(P):[P],Gr(b,1))}var fV=ln(function(v,b){return xr(v)?o0(v,Gr(b,1,xr,!0)):[]}),dV=ln(function(v,b){var P=Ui(b);return xr(P)&&(P=n),xr(v)?o0(v,Gr(b,1,xr,!0),It(P,2)):[]}),hV=ln(function(v,b){var P=Ui(b);return xr(P)&&(P=n),xr(v)?o0(v,Gr(b,1,xr,!0),n,P):[]});function pV(v,b,P){var D=v==null?0:v.length;return D?(b=P||b===n?1:rn(b),Vi(v,b<0?0:b,D)):[]}function mV(v,b,P){var D=v==null?0:v.length;return D?(b=P||b===n?1:rn(b),b=D-b,Vi(v,0,b<0?0:b)):[]}function vV(v,b){return v&&v.length?M1(v,It(b,3),!0,!0):[]}function gV(v,b){return v&&v.length?M1(v,It(b,3),!0):[]}function AV(v,b,P,D){var te=v==null?0:v.length;return te?(P&&typeof P!="number"&&xo(v,b,P)&&(P=0,D=te),uW(v,b,P,D)):[]}function _6(v,b,P){var D=v==null?0:v.length;if(!D)return-1;var te=P==null?0:rn(P);return te<0&&(te=_r(D+te,0)),r1(v,It(b,3),te)}function X6(v,b,P){var D=v==null?0:v.length;if(!D)return-1;var te=D-1;return P!==n&&(te=rn(P),te=P<0?_r(D+te,0):ao(te,D-1)),r1(v,It(b,3),te,!0)}function E6(v){var b=v==null?0:v.length;return b?Gr(v,1):[]}function RV(v){var b=v==null?0:v.length;return b?Gr(v,V):[]}function yV(v,b){var P=v==null?0:v.length;return P?(b=b===n?1:rn(b),Gr(v,b)):[]}function xV(v){for(var b=-1,P=v==null?0:v.length,D={};++b<P;){var te=v[b];D[te[0]]=te[1]}return D}function W6(v){return v&&v.length?v[0]:n}function bV(v,b,P){var D=v==null?0:v.length;if(!D)return-1;var te=P==null?0:rn(P);return te<0&&(te=_r(D+te,0)),lf(v,b,te)}function SV(v){var b=v==null?0:v.length;return b?Vi(v,0,-1):[]}var MV=ln(function(v){var b=er(v,cA);return b.length&&b[0]===v[0]?q2(b):[]}),wV=ln(function(v){var b=Ui(v),P=er(v,cA);return b===Ui(P)?b=n:P.pop(),P.length&&P[0]===v[0]?q2(P,It(b,2)):[]}),LV=ln(function(v){var b=Ui(v),P=er(v,cA);return b=typeof b=="function"?b:n,b&&P.pop(),P.length&&P[0]===v[0]?q2(P,n,b):[]});function OV(v,b){return v==null?"":SE.call(v,b)}function Ui(v){var b=v==null?0:v.length;return b?v[b-1]:n}function TV(v,b,P){var D=v==null?0:v.length;if(!D)return-1;var te=D;return P!==n&&(te=rn(P),te=te<0?_r(D+te,0):ao(te,D-1)),b===b?sE(v,b,te):r1(v,A8,te,!0)}function kV(v,b){return v&&v.length?J8(v,rn(b)):n}var NV=ln(V6);function V6(v,b){return v&&v.length&&b&&b.length?rA(v,b):v}function PV(v,b,P){return v&&v.length&&b&&b.length?rA(v,b,It(P,2)):v}function CV(v,b,P){return v&&v.length&&b&&b.length?rA(v,b,n,P):v}var IV=ks(function(v,b){var P=v==null?0:v.length,D=J2(v,b);return $8(v,er(b,function(te){return Ns(te,P)?+te:te}).sort(l6)),D});function FV(v,b){var P=[];if(!(v&&v.length))return P;var D=-1,te=[],he=v.length;for(b=It(b,3);++D<he;){var Re=v[D];b(Re,D,v)&&(P.push(Re),te.push(D))}return $8(v,te),P}function SA(v){return v==null?v:OE.call(v)}function _V(v,b,P){var D=v==null?0:v.length;return D?(P&&typeof P!="number"&&xo(v,b,P)?(b=0,P=D):(b=b==null?0:rn(b),P=P===n?D:rn(P)),Vi(v,b,P)):[]}function XV(v,b){return S1(v,b)}function EV(v,b,P){return aA(v,b,It(P,2))}function WV(v,b){var P=v==null?0:v.length;if(P){var D=S1(v,b);if(D<P&&ca(v[D],b))return D}return-1}function VV(v,b){return S1(v,b,!0)}function UV(v,b,P){return aA(v,b,It(P,2),!0)}function YV(v,b){var P=v==null?0:v.length;if(P){var D=S1(v,b,!0)-1;if(ca(v[D],b))return D}return-1}function QV(v){return v&&v.length?e6(v):[]}function ZV(v,b){return v&&v.length?e6(v,It(b,2)):[]}function BV(v){var b=v==null?0:v.length;return b?Vi(v,1,b):[]}function DV(v,b,P){return v&&v.length?(b=P||b===n?1:rn(b),Vi(v,0,b<0?0:b)):[]}function KV(v,b,P){var D=v==null?0:v.length;return D?(b=P||b===n?1:rn(b),b=D-b,Vi(v,b<0?0:b,D)):[]}function HV(v,b){return v&&v.length?M1(v,It(b,3),!1,!0):[]}function GV(v,b){return v&&v.length?M1(v,It(b,3)):[]}var JV=ln(function(v){return Al(Gr(v,1,xr,!0))}),zV=ln(function(v){var b=Ui(v);return xr(b)&&(b=n),Al(Gr(v,1,xr,!0),It(b,2))}),jV=ln(function(v){var b=Ui(v);return b=typeof b=="function"?b:n,Al(Gr(v,1,xr,!0),n,b)});function $V(v){return v&&v.length?Al(v):[]}function qV(v,b){return v&&v.length?Al(v,It(b,2)):[]}function eU(v,b){return b=typeof b=="function"?b:n,v&&v.length?Al(v,n,b):[]}function MA(v){if(!(v&&v.length))return[];var b=0;return v=hl(v,function(P){if(xr(P))return b=_r(P.length,b),!0}),Y2(b,function(P){return er(v,W2(P))})}function U6(v,b){if(!(v&&v.length))return[];var P=MA(v);return b==null?P:er(P,function(D){return ai(b,n,D)})}var tU=ln(function(v,b){return xr(v)?o0(v,b):[]}),nU=ln(function(v){return lA(hl(v,xr))}),rU=ln(function(v){var b=Ui(v);return xr(b)&&(b=n),lA(hl(v,xr),It(b,2))}),oU=ln(function(v){var b=Ui(v);return b=typeof b=="function"?b:n,lA(hl(v,xr),n,b)}),iU=ln(MA);function aU(v,b){return o6(v||[],b||[],r0)}function sU(v,b){return o6(v||[],b||[],s0)}var lU=ln(function(v){var b=v.length,P=b>1?v[b-1]:n;return P=typeof P=="function"?(v.pop(),P):n,U6(v,P)});function Y6(v){var b=fe(v);return b.__chain__=!0,b}function cU(v,b){return b(v),v}function I1(v,b){return b(v)}var uU=ks(function(v){var b=v.length,P=b?v[0]:0,D=this.__wrapped__,te=function(he){return J2(he,v)};return b>1||this.__actions__.length||!(D instanceof mn)||!Ns(P)?this.thru(te):(D=D.slice(P,+P+(b?1:0)),D.__actions__.push({func:I1,args:[te],thisArg:n}),new Ei(D,this.__chain__).thru(function(he){return b&&!he.length&&he.push(n),he}))});function fU(){return Y6(this)}function dU(){return new Ei(this.value(),this.__chain__)}function hU(){this.__values__===n&&(this.__values__=tS(this.value()));var v=this.__index__>=this.__values__.length,b=v?n:this.__values__[this.__index__++];return{done:v,value:b}}function pU(){return this}function mU(v){for(var b,P=this;P instanceof A1;){var D=F6(P);D.__index__=0,D.__values__=n,b?te.__wrapped__=D:b=D;var te=D;P=P.__wrapped__}return te.__wrapped__=v,b}function vU(){var v=this.__wrapped__;if(v instanceof mn){var b=v;return this.__actions__.length&&(b=new mn(this)),b=b.reverse(),b.__actions__.push({func:I1,args:[SA],thisArg:n}),new Ei(b,this.__chain__)}return this.thru(SA)}function gU(){return r6(this.__wrapped__,this.__actions__)}var AU=w1(function(v,b,P){Vn.call(v,P)?++v[P]:Os(v,P,1)});function RU(v,b,P){var D=qt(v)?v8:cW;return P&&xo(v,b,P)&&(b=n),D(v,It(b,3))}function yU(v,b){var P=qt(v)?hl:U8;return P(v,It(b,3))}var xU=p6(_6),bU=p6(X6);function SU(v,b){return Gr(F1(v,b),1)}function MU(v,b){return Gr(F1(v,b),V)}function wU(v,b,P){return P=P===n?1:rn(P),Gr(F1(v,b),P)}function Q6(v,b){var P=qt(v)?_i:gl;return P(v,It(b,3))}function Z6(v,b){var P=qt(v)?BX:V8;return P(v,It(b,3))}var LU=w1(function(v,b,P){Vn.call(v,P)?v[P].push(b):Os(v,P,[b])});function OU(v,b,P,D){v=Vo(v)?v:yf(v),P=P&&!D?rn(P):0;var te=v.length;return P<0&&(P=_r(te+P,0)),V1(v)?P<=te&&v.indexOf(b,P)>-1:!!te&&lf(v,b,P)>-1}var TU=ln(function(v,b,P){var D=-1,te=typeof b=="function",he=Vo(v)?Qe(v.length):[];return gl(v,function(Re){he[++D]=te?ai(b,Re,P):i0(Re,b,P)}),he}),kU=w1(function(v,b,P){Os(v,P,b)});function F1(v,b){var P=qt(v)?er:K8;return P(v,It(b,3))}function NU(v,b,P,D){return v==null?[]:(qt(b)||(b=b==null?[]:[b]),P=D?n:P,qt(P)||(P=P==null?[]:[P]),z8(v,b,P))}var PU=w1(function(v,b,P){v[P?0:1].push(b)},function(){return[[],[]]});function CU(v,b,P){var D=qt(v)?X2:y8,te=arguments.length<3;return D(v,It(b,4),P,te,gl)}function IU(v,b,P){var D=qt(v)?DX:y8,te=arguments.length<3;return D(v,It(b,4),P,te,V8)}function FU(v,b){var P=qt(v)?hl:U8;return P(v,E1(It(b,3)))}function _U(v){var b=qt(v)?_8:OW;return b(v)}function XU(v,b,P){(P?xo(v,b,P):b===n)?b=1:b=rn(b);var D=qt(v)?oW:TW;return D(v,b)}function EU(v){var b=qt(v)?iW:NW;return b(v)}function WU(v){if(v==null)return 0;if(Vo(v))return V1(v)?uf(v):v.length;var b=so(v);return b==W||b==ce?v.size:tA(v).length}function VU(v,b,P){var D=qt(v)?E2:PW;return P&&xo(v,b,P)&&(b=n),D(v,It(b,3))}var UU=ln(function(v,b){if(v==null)return[];var P=b.length;return P>1&&xo(v,b[0],b[1])?b=[]:P>2&&xo(b[0],b[1],b[2])&&(b=[b[0]]),z8(v,Gr(b,1),[])}),_1=yE||function(){return Hr.Date.now()};function YU(v,b){if(typeof b!="function")throw new Xi(a);return v=rn(v),function(){if(--v<1)return b.apply(this,arguments)}}function B6(v,b,P){return b=P?n:b,b=v&&b==null?v.length:b,Ts(v,T,n,n,n,n,b)}function D6(v,b){var P;if(typeof b!="function")throw new Xi(a);return v=rn(v),function(){return--v>0&&(P=b.apply(this,arguments)),v<=1&&(b=n),P}}var wA=ln(function(v,b,P){var D=A;if(P.length){var te=ml(P,Af(wA));D|=S}return Ts(v,D,b,P,te)}),K6=ln(function(v,b,P){var D=A|x;if(P.length){var te=ml(P,Af(K6));D|=S}return Ts(b,D,v,P,te)});function H6(v,b,P){b=P?n:b;var D=Ts(v,y,n,n,n,n,n,b);return D.placeholder=H6.placeholder,D}function G6(v,b,P){b=P?n:b;var D=Ts(v,g,n,n,n,n,n,b);return D.placeholder=G6.placeholder,D}function J6(v,b,P){var D,te,he,Re,Me,Pe,ze=0,je=!1,rt=!1,vt=!0;if(typeof v!="function")throw new Xi(a);b=Yi(b)||0,ur(P)&&(je=!!P.leading,rt="maxWait"in P,he=rt?_r(Yi(P.maxWait)||0,b):he,vt="trailing"in P?!!P.trailing:vt);function Ot(br){var ua=D,Is=te;return D=te=n,ze=br,Re=v.apply(Is,ua),Re}function _t(br){return ze=br,Me=u0(fn,b),je?Ot(br):Re}function sn(br){var ua=br-Pe,Is=br-ze,pS=b-ua;return rt?ao(pS,he-Is):pS}function Xt(br){var ua=br-Pe,Is=br-ze;return Pe===n||ua>=b||ua<0||rt&&Is>=he}function fn(){var br=_1();if(Xt(br))return An(br);Me=u0(fn,sn(br))}function An(br){return Me=n,vt&&D?Ot(br):(D=te=n,Re)}function ui(){Me!==n&&i6(Me),ze=0,D=Pe=te=Me=n}function bo(){return Me===n?Re:An(_1())}function fi(){var br=_1(),ua=Xt(br);if(D=arguments,te=this,Pe=br,ua){if(Me===n)return _t(Pe);if(rt)return i6(Me),Me=u0(fn,b),Ot(Pe)}return Me===n&&(Me=u0(fn,b)),Re}return fi.cancel=ui,fi.flush=bo,fi}var QU=ln(function(v,b){return W8(v,1,b)}),ZU=ln(function(v,b,P){return W8(v,Yi(b)||0,P)});function BU(v){return Ts(v,O)}function X1(v,b){if(typeof v!="function"||b!=null&&typeof b!="function")throw new Xi(a);var P=function(){var D=arguments,te=b?b.apply(this,D):D[0],he=P.cache;if(he.has(te))return he.get(te);var Re=v.apply(this,D);return P.cache=he.set(te,Re)||he,Re};return P.cache=new(X1.Cache||Ls),P}X1.Cache=Ls;function E1(v){if(typeof v!="function")throw new Xi(a);return function(){var b=arguments;switch(b.length){case 0:return!v.call(this);case 1:return!v.call(this,b[0]);case 2:return!v.call(this,b[0],b[1]);case 3:return!v.call(this,b[0],b[1],b[2])}return!v.apply(this,b)}}function DU(v){return D6(2,v)}var KU=CW(function(v,b){b=b.length==1&&qt(b[0])?er(b[0],si(It())):er(Gr(b,1),si(It()));var P=b.length;return ln(function(D){for(var te=-1,he=ao(D.length,P);++te<he;)D[te]=b[te].call(this,D[te]);return ai(v,this,D)})}),LA=ln(function(v,b){var P=ml(b,Af(LA));return Ts(v,S,n,b,P)}),z6=ln(function(v,b){var P=ml(b,Af(z6));return Ts(v,L,n,b,P)}),HU=ks(function(v,b){return Ts(v,M,n,n,n,b)});function GU(v,b){if(typeof v!="function")throw new Xi(a);return b=b===n?b:rn(b),ln(v,b)}function JU(v,b){if(typeof v!="function")throw new Xi(a);return b=b==null?0:_r(rn(b),0),ln(function(P){var D=P[b],te=yl(P,0,b);return D&&pl(te,D),ai(v,this,te)})}function zU(v,b,P){var D=!0,te=!0;if(typeof v!="function")throw new Xi(a);return ur(P)&&(D="leading"in P?!!P.leading:D,te="trailing"in P?!!P.trailing:te),J6(v,b,{leading:D,maxWait:b,trailing:te})}function jU(v){return B6(v,1)}function $U(v,b){return LA(uA(b),v)}function qU(){if(!arguments.length)return[];var v=arguments[0];return qt(v)?v:[v]}function eY(v){return Wi(v,h)}function tY(v,b){return b=typeof b=="function"?b:n,Wi(v,h,b)}function nY(v){return Wi(v,f|h)}function rY(v,b){return b=typeof b=="function"?b:n,Wi(v,f|h,b)}function oY(v,b){return b==null||E8(v,b,Ur(b))}function ca(v,b){return v===b||v!==v&&b!==b}var iY=k1($2),aY=k1(function(v,b){return v>=b}),Vc=Z8(function(){return arguments}())?Z8:function(v){return mr(v)&&Vn.call(v,"callee")&&!k8.call(v,"callee")},qt=Qe.isArray,sY=u8?si(u8):mW;function Vo(v){return v!=null&&W1(v.length)&&!Ps(v)}function xr(v){return mr(v)&&Vo(v)}function lY(v){return v===!0||v===!1||mr(v)&&yo(v)==oe}var xl=bE||EA,cY=f8?si(f8):vW;function uY(v){return mr(v)&&v.nodeType===1&&!f0(v)}function fY(v){if(v==null)return!0;if(Vo(v)&&(qt(v)||typeof v=="string"||typeof v.splice=="function"||xl(v)||Rf(v)||Vc(v)))return!v.length;var b=so(v);if(b==W||b==ce)return!v.size;if(c0(v))return!tA(v).length;for(var P in v)if(Vn.call(v,P))return!1;return!0}function dY(v,b){return a0(v,b)}function hY(v,b,P){P=typeof P=="function"?P:n;var D=P?P(v,b):n;return D===n?a0(v,b,n,P):!!D}function OA(v){if(!mr(v))return!1;var b=yo(v);return b==ye||b==ge||typeof v.message=="string"&&typeof v.name=="string"&&!f0(v)}function pY(v){return typeof v=="number"&&P8(v)}function Ps(v){if(!ur(v))return!1;var b=yo(v);return b==z||b==ae||b==ie||b==se}function j6(v){return typeof v=="number"&&v==rn(v)}function W1(v){return typeof v=="number"&&v>-1&&v%1==0&&v<=B}function ur(v){var b=typeof v;return v!=null&&(b=="object"||b=="function")}function mr(v){return v!=null&&typeof v=="object"}var $6=d8?si(d8):AW;function mY(v,b){return v===b||eA(v,b,gA(b))}function vY(v,b,P){return P=typeof P=="function"?P:n,eA(v,b,gA(b),P)}function gY(v){return q6(v)&&v!=+v}function AY(v){if(tV(v))throw new jt(i);return B8(v)}function RY(v){return v===null}function yY(v){return v==null}function q6(v){return typeof v=="number"||mr(v)&&yo(v)==j}function f0(v){if(!mr(v)||yo(v)!=$)return!1;var b=f1(v);if(b===null)return!0;var P=Vn.call(b,"constructor")&&b.constructor;return typeof P=="function"&&P instanceof P&&s1.call(P)==vE}var TA=h8?si(h8):RW;function xY(v){return j6(v)&&v>=-B&&v<=B}var eS=p8?si(p8):yW;function V1(v){return typeof v=="string"||!qt(v)&&mr(v)&&yo(v)==de}function ci(v){return typeof v=="symbol"||mr(v)&&yo(v)==be}var Rf=m8?si(m8):xW;function bY(v){return v===n}function SY(v){return mr(v)&&so(v)==Ie}function MY(v){return mr(v)&&yo(v)==Ae}var wY=k1(nA),LY=k1(function(v,b){return v<=b});function tS(v){if(!v)return[];if(Vo(v))return V1(v)?sa(v):Wo(v);if($d&&v[$d])return oE(v[$d]());var b=so(v),P=b==W?Z2:b==ce?o1:yf;return P(v)}function Cs(v){if(!v)return v===0?v:0;if(v=Yi(v),v===V||v===-V){var b=v<0?-1:1;return b*G}return v===v?v:0}function rn(v){var b=Cs(v),P=b%1;return b===b?P?b-P:b:0}function nS(v){return v?_c(rn(v),0,E):0}function Yi(v){if(typeof v=="number")return v;if(ci(v))return ne;if(ur(v)){var b=typeof v.valueOf=="function"?v.valueOf():v;v=ur(b)?b+"":b}if(typeof v!="string")return v===0?v:+v;v=x8(v);var P=sX.test(v);return P||cX.test(v)?YX(v.slice(2),P?2:8):aX.test(v)?ne:+v}function rS(v){return Wa(v,Uo(v))}function OY(v){return v?_c(rn(v),-B,B):v===0?v:0}function Xn(v){return v==null?"":li(v)}var TY=vf(function(v,b){if(c0(b)||Vo(b)){Wa(b,Ur(b),v);return}for(var P in b)Vn.call(b,P)&&r0(v,P,b[P])}),oS=vf(function(v,b){Wa(b,Uo(b),v)}),U1=vf(function(v,b,P,D){Wa(b,Uo(b),v,D)}),kY=vf(function(v,b,P,D){Wa(b,Ur(b),v,D)}),NY=ks(J2);function PY(v,b){var P=mf(v);return b==null?P:X8(P,b)}var CY=ln(function(v,b){v=Dn(v);var P=-1,D=b.length,te=D>2?b[2]:n;for(te&&xo(b[0],b[1],te)&&(D=1);++P<D;)for(var he=b[P],Re=Uo(he),Me=-1,Pe=Re.length;++Me<Pe;){var ze=Re[Me],je=v[ze];(je===n||ca(je,df[ze])&&!Vn.call(v,ze))&&(v[ze]=he[ze])}return v}),IY=ln(function(v){return v.push(n,x6),ai(iS,n,v)});function FY(v,b){return g8(v,It(b,3),Ea)}function _Y(v,b){return g8(v,It(b,3),j2)}function XY(v,b){return v==null?v:z2(v,It(b,3),Uo)}function EY(v,b){return v==null?v:Y8(v,It(b,3),Uo)}function WY(v,b){return v&&Ea(v,It(b,3))}function VY(v,b){return v&&j2(v,It(b,3))}function UY(v){return v==null?[]:x1(v,Ur(v))}function YY(v){return v==null?[]:x1(v,Uo(v))}function kA(v,b,P){var D=v==null?n:Xc(v,b);return D===n?P:D}function QY(v,b){return v!=null&&M6(v,b,fW)}function NA(v,b){return v!=null&&M6(v,b,dW)}var ZY=v6(function(v,b,P){b!=null&&typeof b.toString!="function"&&(b=l1.call(b)),v[b]=P},CA(Yo)),BY=v6(function(v,b,P){b!=null&&typeof b.toString!="function"&&(b=l1.call(b)),Vn.call(v,b)?v[b].push(P):v[b]=[P]},It),DY=ln(i0);function Ur(v){return Vo(v)?F8(v):tA(v)}function Uo(v){return Vo(v)?F8(v,!0):bW(v)}function KY(v,b){var P={};return b=It(b,3),Ea(v,function(D,te,he){Os(P,b(D,te,he),D)}),P}function HY(v,b){var P={};return b=It(b,3),Ea(v,function(D,te,he){Os(P,te,b(D,te,he))}),P}var GY=vf(function(v,b,P){b1(v,b,P)}),iS=vf(function(v,b,P,D){b1(v,b,P,D)}),JY=ks(function(v,b){var P={};if(v==null)return P;var D=!1;b=er(b,function(he){return he=Rl(he,v),D||(D=he.length>1),he}),Wa(v,mA(v),P),D&&(P=Wi(P,f|d|h,ZW));for(var te=b.length;te--;)sA(P,b[te]);return P});function zY(v,b){return aS(v,E1(It(b)))}var jY=ks(function(v,b){return v==null?{}:MW(v,b)});function aS(v,b){if(v==null)return{};var P=er(mA(v),function(D){return[D]});return b=It(b),j8(v,P,function(D,te){return b(D,te[0])})}function $Y(v,b,P){b=Rl(b,v);var D=-1,te=b.length;for(te||(te=1,v=n);++D<te;){var he=v==null?n:v[Va(b[D])];he===n&&(D=te,he=P),v=Ps(he)?he.call(v):he}return v}function qY(v,b,P){return v==null?v:s0(v,b,P)}function eQ(v,b,P,D){return D=typeof D=="function"?D:n,v==null?v:s0(v,b,P,D)}var sS=R6(Ur),lS=R6(Uo);function tQ(v,b,P){var D=qt(v),te=D||xl(v)||Rf(v);if(b=It(b,4),P==null){var he=v&&v.constructor;te?P=D?new he:[]:ur(v)?P=Ps(he)?mf(f1(v)):{}:P={}}return(te?_i:Ea)(v,function(Re,Me,Pe){return b(P,Re,Me,Pe)}),P}function nQ(v,b){return v==null?!0:sA(v,b)}function rQ(v,b,P){return v==null?v:n6(v,b,uA(P))}function oQ(v,b,P,D){return D=typeof D=="function"?D:n,v==null?v:n6(v,b,uA(P),D)}function yf(v){return v==null?[]:Q2(v,Ur(v))}function iQ(v){return v==null?[]:Q2(v,Uo(v))}function aQ(v,b,P){return P===n&&(P=b,b=n),P!==n&&(P=Yi(P),P=P===P?P:0),b!==n&&(b=Yi(b),b=b===b?b:0),_c(Yi(v),b,P)}function sQ(v,b,P){return b=Cs(b),P===n?(P=b,b=0):P=Cs(P),v=Yi(v),hW(v,b,P)}function lQ(v,b,P){if(P&&typeof P!="boolean"&&xo(v,b,P)&&(b=P=n),P===n&&(typeof b=="boolean"?(P=b,b=n):typeof v=="boolean"&&(P=v,v=n)),v===n&&b===n?(v=0,b=1):(v=Cs(v),b===n?(b=v,v=0):b=Cs(b)),v>b){var D=v;v=b,b=D}if(P||v%1||b%1){var te=C8();return ao(v+te*(b-v+UX("1e-"+((te+"").length-1))),b)}return oA(v,b)}var cQ=gf(function(v,b,P){return b=b.toLowerCase(),v+(P?cS(b):b)});function cS(v){return PA(Xn(v).toLowerCase())}function uS(v){return v=Xn(v),v&&v.replace(fX,qX).replace(NX,"")}function uQ(v,b,P){v=Xn(v),b=li(b);var D=v.length;P=P===n?D:_c(rn(P),0,D);var te=P;return P-=b.length,P>=0&&v.slice(P,te)==b}function fQ(v){return v=Xn(v),v&&aa.test(v)?v.replace(Yt,eE):v}function dQ(v){return v=Xn(v),v&&Ro.test(v)?v.replace(af,"\\$&"):v}var hQ=gf(function(v,b,P){return v+(P?"-":"")+b.toLowerCase()}),pQ=gf(function(v,b,P){return v+(P?" ":"")+b.toLowerCase()}),mQ=h6("toLowerCase");function vQ(v,b,P){v=Xn(v),b=rn(b);var D=b?uf(v):0;if(!b||D>=b)return v;var te=(b-D)/2;return T1(m1(te),P)+v+T1(p1(te),P)}function gQ(v,b,P){v=Xn(v),b=rn(b);var D=b?uf(v):0;return b&&D<b?v+T1(b-D,P):v}function AQ(v,b,P){v=Xn(v),b=rn(b);var D=b?uf(v):0;return b&&D<b?T1(b-D,P)+v:v}function RQ(v,b,P){return P||b==null?b=0:b&&(b=+b),LE(Xn(v).replace(Ii,""),b||0)}function yQ(v,b,P){return(P?xo(v,b,P):b===n)?b=1:b=rn(b),iA(Xn(v),b)}function xQ(){var v=arguments,b=Xn(v[0]);return v.length<3?b:b.replace(v[1],v[2])}var bQ=gf(function(v,b,P){return v+(P?"_":"")+b.toLowerCase()});function SQ(v,b,P){return P&&typeof P!="number"&&xo(v,b,P)&&(b=P=n),P=P===n?E:P>>>0,P?(v=Xn(v),v&&(typeof b=="string"||b!=null&&!TA(b))&&(b=li(b),!b&&cf(v))?yl(sa(v),0,P):v.split(b,P)):[]}var MQ=gf(function(v,b,P){return v+(P?" ":"")+PA(b)});function wQ(v,b,P){return v=Xn(v),P=P==null?0:_c(rn(P),0,v.length),b=li(b),v.slice(P,P+b.length)==b}function LQ(v,b,P){var D=fe.templateSettings;P&&xo(v,b,P)&&(b=n),v=Xn(v),b=U1({},b,D,y6);var te=U1({},b.imports,D.imports,y6),he=Ur(te),Re=Q2(te,he),Me,Pe,ze=0,je=b.interpolate||qp,rt="__p += '",vt=B2((b.escape||qp).source+"|"+je.source+"|"+(je===of?iX:qp).source+"|"+(b.evaluate||qp).source+"|$","g"),Ot="//# sourceURL="+(Vn.call(b,"sourceURL")?(b.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++_X+"]")+`
`;v.replace(vt,function(Xt,fn,An,ui,bo,fi){return An||(An=ui),rt+=v.slice(ze,fi).replace(dX,tE),fn&&(Me=!0,rt+=`' +
__e(`+fn+`) +
'`),bo&&(Pe=!0,rt+=`';
`+bo+`;
__p += '`),An&&(rt+=`' +
((__t = (`+An+`)) == null ? '' : __t) +
'`),ze=fi+Xt.length,Xt}),rt+=`';
`;var _t=Vn.call(b,"variable")&&b.variable;if(!_t)rt=`with (obj) {
`+rt+`
}
`;else if(rX.test(_t))throw new jt(s);rt=(Pe?rt.replace(ut,""):rt).replace(ht,"$1").replace(gt,"$1;"),rt="function("+(_t||"obj")+`) {
`+(_t?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(Me?", __e = _.escape":"")+(Pe?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+rt+`return __p
}`;var sn=dS(function(){return Cn(he,Ot+"return "+rt).apply(n,Re)});if(sn.source=rt,OA(sn))throw sn;return sn}function OQ(v){return Xn(v).toLowerCase()}function TQ(v){return Xn(v).toUpperCase()}function kQ(v,b,P){if(v=Xn(v),v&&(P||b===n))return x8(v);if(!v||!(b=li(b)))return v;var D=sa(v),te=sa(b),he=b8(D,te),Re=S8(D,te)+1;return yl(D,he,Re).join("")}function NQ(v,b,P){if(v=Xn(v),v&&(P||b===n))return v.slice(0,w8(v)+1);if(!v||!(b=li(b)))return v;var D=sa(v),te=S8(D,sa(b))+1;return yl(D,0,te).join("")}function PQ(v,b,P){if(v=Xn(v),v&&(P||b===n))return v.replace(Ii,"");if(!v||!(b=li(b)))return v;var D=sa(v),te=b8(D,sa(b));return yl(D,te).join("")}function CQ(v,b){var P=k,D=_;if(ur(b)){var te="separator"in b?b.separator:te;P="length"in b?rn(b.length):P,D="omission"in b?li(b.omission):D}v=Xn(v);var he=v.length;if(cf(v)){var Re=sa(v);he=Re.length}if(P>=he)return v;var Me=P-uf(D);if(Me<1)return D;var Pe=Re?yl(Re,0,Me).join(""):v.slice(0,Me);if(te===n)return Pe+D;if(Re&&(Me+=Pe.length-Me),TA(te)){if(v.slice(Me).search(te)){var ze,je=Pe;for(te.global||(te=B2(te.source,Xn(Z5.exec(te))+"g")),te.lastIndex=0;ze=te.exec(je);)var rt=ze.index;Pe=Pe.slice(0,rt===n?Me:rt)}}else if(v.indexOf(li(te),Me)!=Me){var vt=Pe.lastIndexOf(te);vt>-1&&(Pe=Pe.slice(0,vt))}return Pe+D}function IQ(v){return v=Xn(v),v&&Pn.test(v)?v.replace(Ft,lE):v}var FQ=gf(function(v,b,P){return v+(P?" ":"")+b.toUpperCase()}),PA=h6("toUpperCase");function fS(v,b,P){return v=Xn(v),b=P?n:b,b===n?rE(v)?fE(v):GX(v):v.match(b)||[]}var dS=ln(function(v,b){try{return ai(v,n,b)}catch(P){return OA(P)?P:new jt(P)}}),_Q=ks(function(v,b){return _i(b,function(P){P=Va(P),Os(v,P,wA(v[P],v))}),v});function XQ(v){var b=v==null?0:v.length,P=It();return v=b?er(v,function(D){if(typeof D[1]!="function")throw new Xi(a);return[P(D[0]),D[1]]}):[],ln(function(D){for(var te=-1;++te<b;){var he=v[te];if(ai(he[0],this,D))return ai(he[1],this,D)}})}function EQ(v){return lW(Wi(v,f))}function CA(v){return function(){return v}}function WQ(v,b){return v==null||v!==v?b:v}var VQ=m6(),UQ=m6(!0);function Yo(v){return v}function IA(v){return D8(typeof v=="function"?v:Wi(v,f))}function YQ(v){return H8(Wi(v,f))}function QQ(v,b){return G8(v,Wi(b,f))}var ZQ=ln(function(v,b){return function(P){return i0(P,v,b)}}),BQ=ln(function(v,b){return function(P){return i0(v,P,b)}});function FA(v,b,P){var D=Ur(b),te=x1(b,D);P==null&&!(ur(b)&&(te.length||!D.length))&&(P=b,b=v,v=this,te=x1(b,Ur(b)));var he=!(ur(P)&&"chain"in P)||!!P.chain,Re=Ps(v);return _i(te,function(Me){var Pe=b[Me];v[Me]=Pe,Re&&(v.prototype[Me]=function(){var ze=this.__chain__;if(he||ze){var je=v(this.__wrapped__),rt=je.__actions__=Wo(this.__actions__);return rt.push({func:Pe,args:arguments,thisArg:v}),je.__chain__=ze,je}return Pe.apply(v,pl([this.value()],arguments))})}),v}function DQ(){return Hr._===this&&(Hr._=gE),this}function _A(){}function KQ(v){return v=rn(v),ln(function(b){return J8(b,v)})}var HQ=dA(er),GQ=dA(v8),JQ=dA(E2);function hS(v){return RA(v)?W2(Va(v)):wW(v)}function zQ(v){return function(b){return v==null?n:Xc(v,b)}}var jQ=g6(),$Q=g6(!0);function XA(){return[]}function EA(){return!1}function qQ(){return{}}function eZ(){return""}function tZ(){return!0}function nZ(v,b){if(v=rn(v),v<1||v>B)return[];var P=E,D=ao(v,E);b=It(b),v-=E;for(var te=Y2(D,b);++P<v;)b(P);return te}function rZ(v){return qt(v)?er(v,Va):ci(v)?[v]:Wo(I6(Xn(v)))}function oZ(v){var b=++mE;return Xn(v)+b}var iZ=O1(function(v,b){return v+b},0),aZ=hA("ceil"),sZ=O1(function(v,b){return v/b},1),lZ=hA("floor");function cZ(v){return v&&v.length?y1(v,Yo,$2):n}function uZ(v,b){return v&&v.length?y1(v,It(b,2),$2):n}function fZ(v){return R8(v,Yo)}function dZ(v,b){return R8(v,It(b,2))}function hZ(v){return v&&v.length?y1(v,Yo,nA):n}function pZ(v,b){return v&&v.length?y1(v,It(b,2),nA):n}var mZ=O1(function(v,b){return v*b},1),vZ=hA("round"),gZ=O1(function(v,b){return v-b},0);function AZ(v){return v&&v.length?U2(v,Yo):0}function RZ(v,b){return v&&v.length?U2(v,It(b,2)):0}return fe.after=YU,fe.ary=B6,fe.assign=TY,fe.assignIn=oS,fe.assignInWith=U1,fe.assignWith=kY,fe.at=NY,fe.before=D6,fe.bind=wA,fe.bindAll=_Q,fe.bindKey=K6,fe.castArray=qU,fe.chain=Y6,fe.chunk=lV,fe.compact=cV,fe.concat=uV,fe.cond=XQ,fe.conforms=EQ,fe.constant=CA,fe.countBy=AU,fe.create=PY,fe.curry=H6,fe.curryRight=G6,fe.debounce=J6,fe.defaults=CY,fe.defaultsDeep=IY,fe.defer=QU,fe.delay=ZU,fe.difference=fV,fe.differenceBy=dV,fe.differenceWith=hV,fe.drop=pV,fe.dropRight=mV,fe.dropRightWhile=vV,fe.dropWhile=gV,fe.fill=AV,fe.filter=yU,fe.flatMap=SU,fe.flatMapDeep=MU,fe.flatMapDepth=wU,fe.flatten=E6,fe.flattenDeep=RV,fe.flattenDepth=yV,fe.flip=BU,fe.flow=VQ,fe.flowRight=UQ,fe.fromPairs=xV,fe.functions=UY,fe.functionsIn=YY,fe.groupBy=LU,fe.initial=SV,fe.intersection=MV,fe.intersectionBy=wV,fe.intersectionWith=LV,fe.invert=ZY,fe.invertBy=BY,fe.invokeMap=TU,fe.iteratee=IA,fe.keyBy=kU,fe.keys=Ur,fe.keysIn=Uo,fe.map=F1,fe.mapKeys=KY,fe.mapValues=HY,fe.matches=YQ,fe.matchesProperty=QQ,fe.memoize=X1,fe.merge=GY,fe.mergeWith=iS,fe.method=ZQ,fe.methodOf=BQ,fe.mixin=FA,fe.negate=E1,fe.nthArg=KQ,fe.omit=JY,fe.omitBy=zY,fe.once=DU,fe.orderBy=NU,fe.over=HQ,fe.overArgs=KU,fe.overEvery=GQ,fe.overSome=JQ,fe.partial=LA,fe.partialRight=z6,fe.partition=PU,fe.pick=jY,fe.pickBy=aS,fe.property=hS,fe.propertyOf=zQ,fe.pull=NV,fe.pullAll=V6,fe.pullAllBy=PV,fe.pullAllWith=CV,fe.pullAt=IV,fe.range=jQ,fe.rangeRight=$Q,fe.rearg=HU,fe.reject=FU,fe.remove=FV,fe.rest=GU,fe.reverse=SA,fe.sampleSize=XU,fe.set=qY,fe.setWith=eQ,fe.shuffle=EU,fe.slice=_V,fe.sortBy=UU,fe.sortedUniq=QV,fe.sortedUniqBy=ZV,fe.split=SQ,fe.spread=JU,fe.tail=BV,fe.take=DV,fe.takeRight=KV,fe.takeRightWhile=HV,fe.takeWhile=GV,fe.tap=cU,fe.throttle=zU,fe.thru=I1,fe.toArray=tS,fe.toPairs=sS,fe.toPairsIn=lS,fe.toPath=rZ,fe.toPlainObject=rS,fe.transform=tQ,fe.unary=jU,fe.union=JV,fe.unionBy=zV,fe.unionWith=jV,fe.uniq=$V,fe.uniqBy=qV,fe.uniqWith=eU,fe.unset=nQ,fe.unzip=MA,fe.unzipWith=U6,fe.update=rQ,fe.updateWith=oQ,fe.values=yf,fe.valuesIn=iQ,fe.without=tU,fe.words=fS,fe.wrap=$U,fe.xor=nU,fe.xorBy=rU,fe.xorWith=oU,fe.zip=iU,fe.zipObject=aU,fe.zipObjectDeep=sU,fe.zipWith=lU,fe.entries=sS,fe.entriesIn=lS,fe.extend=oS,fe.extendWith=U1,FA(fe,fe),fe.add=iZ,fe.attempt=dS,fe.camelCase=cQ,fe.capitalize=cS,fe.ceil=aZ,fe.clamp=aQ,fe.clone=eY,fe.cloneDeep=nY,fe.cloneDeepWith=rY,fe.cloneWith=tY,fe.conformsTo=oY,fe.deburr=uS,fe.defaultTo=WQ,fe.divide=sZ,fe.endsWith=uQ,fe.eq=ca,fe.escape=fQ,fe.escapeRegExp=dQ,fe.every=RU,fe.find=xU,fe.findIndex=_6,fe.findKey=FY,fe.findLast=bU,fe.findLastIndex=X6,fe.findLastKey=_Y,fe.floor=lZ,fe.forEach=Q6,fe.forEachRight=Z6,fe.forIn=XY,fe.forInRight=EY,fe.forOwn=WY,fe.forOwnRight=VY,fe.get=kA,fe.gt=iY,fe.gte=aY,fe.has=QY,fe.hasIn=NA,fe.head=W6,fe.identity=Yo,fe.includes=OU,fe.indexOf=bV,fe.inRange=sQ,fe.invoke=DY,fe.isArguments=Vc,fe.isArray=qt,fe.isArrayBuffer=sY,fe.isArrayLike=Vo,fe.isArrayLikeObject=xr,fe.isBoolean=lY,fe.isBuffer=xl,fe.isDate=cY,fe.isElement=uY,fe.isEmpty=fY,fe.isEqual=dY,fe.isEqualWith=hY,fe.isError=OA,fe.isFinite=pY,fe.isFunction=Ps,fe.isInteger=j6,fe.isLength=W1,fe.isMap=$6,fe.isMatch=mY,fe.isMatchWith=vY,fe.isNaN=gY,fe.isNative=AY,fe.isNil=yY,fe.isNull=RY,fe.isNumber=q6,fe.isObject=ur,fe.isObjectLike=mr,fe.isPlainObject=f0,fe.isRegExp=TA,fe.isSafeInteger=xY,fe.isSet=eS,fe.isString=V1,fe.isSymbol=ci,fe.isTypedArray=Rf,fe.isUndefined=bY,fe.isWeakMap=SY,fe.isWeakSet=MY,fe.join=OV,fe.kebabCase=hQ,fe.last=Ui,fe.lastIndexOf=TV,fe.lowerCase=pQ,fe.lowerFirst=mQ,fe.lt=wY,fe.lte=LY,fe.max=cZ,fe.maxBy=uZ,fe.mean=fZ,fe.meanBy=dZ,fe.min=hZ,fe.minBy=pZ,fe.stubArray=XA,fe.stubFalse=EA,fe.stubObject=qQ,fe.stubString=eZ,fe.stubTrue=tZ,fe.multiply=mZ,fe.nth=kV,fe.noConflict=DQ,fe.noop=_A,fe.now=_1,fe.pad=vQ,fe.padEnd=gQ,fe.padStart=AQ,fe.parseInt=RQ,fe.random=lQ,fe.reduce=CU,fe.reduceRight=IU,fe.repeat=yQ,fe.replace=xQ,fe.result=$Y,fe.round=vZ,fe.runInContext=Ne,fe.sample=_U,fe.size=WU,fe.snakeCase=bQ,fe.some=VU,fe.sortedIndex=XV,fe.sortedIndexBy=EV,fe.sortedIndexOf=WV,fe.sortedLastIndex=VV,fe.sortedLastIndexBy=UV,fe.sortedLastIndexOf=YV,fe.startCase=MQ,fe.startsWith=wQ,fe.subtract=gZ,fe.sum=AZ,fe.sumBy=RZ,fe.template=LQ,fe.times=nZ,fe.toFinite=Cs,fe.toInteger=rn,fe.toLength=nS,fe.toLower=OQ,fe.toNumber=Yi,fe.toSafeInteger=OY,fe.toString=Xn,fe.toUpper=TQ,fe.trim=kQ,fe.trimEnd=NQ,fe.trimStart=PQ,fe.truncate=CQ,fe.unescape=IQ,fe.uniqueId=oZ,fe.upperCase=FQ,fe.upperFirst=PA,fe.each=Q6,fe.eachRight=Z6,fe.first=W6,FA(fe,function(){var v={};return Ea(fe,function(b,P){Vn.call(fe.prototype,P)||(v[P]=b)}),v}(),{chain:!1}),fe.VERSION=r,_i(["bind","bindKey","curry","curryRight","partial","partialRight"],function(v){fe[v].placeholder=fe}),_i(["drop","take"],function(v,b){mn.prototype[v]=function(P){P=P===n?1:_r(rn(P),0);var D=this.__filtered__&&!b?new mn(this):this.clone();return D.__filtered__?D.__takeCount__=ao(P,D.__takeCount__):D.__views__.push({size:ao(P,E),type:v+(D.__dir__<0?"Right":"")}),D},mn.prototype[v+"Right"]=function(P){return this.reverse()[v](P).reverse()}}),_i(["filter","map","takeWhile"],function(v,b){var P=b+1,D=P==C||P==I;mn.prototype[v]=function(te){var he=this.clone();return he.__iteratees__.push({iteratee:It(te,3),type:P}),he.__filtered__=he.__filtered__||D,he}}),_i(["head","last"],function(v,b){var P="take"+(b?"Right":"");mn.prototype[v]=function(){return this[P](1).value()[0]}}),_i(["initial","tail"],function(v,b){var P="drop"+(b?"":"Right");mn.prototype[v]=function(){return this.__filtered__?new mn(this):this[P](1)}}),mn.prototype.compact=function(){return this.filter(Yo)},mn.prototype.find=function(v){return this.filter(v).head()},mn.prototype.findLast=function(v){return this.reverse().find(v)},mn.prototype.invokeMap=ln(function(v,b){return typeof v=="function"?new mn(this):this.map(function(P){return i0(P,v,b)})}),mn.prototype.reject=function(v){return this.filter(E1(It(v)))},mn.prototype.slice=function(v,b){v=rn(v);var P=this;return P.__filtered__&&(v>0||b<0)?new mn(P):(v<0?P=P.takeRight(-v):v&&(P=P.drop(v)),b!==n&&(b=rn(b),P=b<0?P.dropRight(-b):P.take(b-v)),P)},mn.prototype.takeRightWhile=function(v){return this.reverse().takeWhile(v).reverse()},mn.prototype.toArray=function(){return this.take(E)},Ea(mn.prototype,function(v,b){var P=/^(?:filter|find|map|reject)|While$/.test(b),D=/^(?:head|last)$/.test(b),te=fe[D?"take"+(b=="last"?"Right":""):b],he=D||/^find/.test(b);te&&(fe.prototype[b]=function(){var Re=this.__wrapped__,Me=D?[1]:arguments,Pe=Re instanceof mn,ze=Me[0],je=Pe||qt(Re),rt=function(fn){var An=te.apply(fe,pl([fn],Me));return D&&vt?An[0]:An};je&&P&&typeof ze=="function"&&ze.length!=1&&(Pe=je=!1);var vt=this.__chain__,Ot=!!this.__actions__.length,_t=he&&!vt,sn=Pe&&!Ot;if(!he&&je){Re=sn?Re:new mn(this);var Xt=v.apply(Re,Me);return Xt.__actions__.push({func:I1,args:[rt],thisArg:n}),new Ei(Xt,vt)}return _t&&sn?v.apply(this,Me):(Xt=this.thru(rt),_t?D?Xt.value()[0]:Xt.value():Xt)})}),_i(["pop","push","shift","sort","splice","unshift"],function(v){var b=i1[v],P=/^(?:push|sort|unshift)$/.test(v)?"tap":"thru",D=/^(?:pop|shift)$/.test(v);fe.prototype[v]=function(){var te=arguments;if(D&&!this.__chain__){var he=this.value();return b.apply(qt(he)?he:[],te)}return this[P](function(Re){return b.apply(qt(Re)?Re:[],te)})}}),Ea(mn.prototype,function(v,b){var P=fe[b];if(P){var D=P.name+"";Vn.call(pf,D)||(pf[D]=[]),pf[D].push({name:b,func:P})}}),pf[L1(n,x).name]=[{name:"wrapper",func:n}],mn.prototype.clone=IE,mn.prototype.reverse=FE,mn.prototype.value=_E,fe.prototype.at=uU,fe.prototype.chain=fU,fe.prototype.commit=dU,fe.prototype.next=hU,fe.prototype.plant=mU,fe.prototype.reverse=vU,fe.prototype.toJSON=fe.prototype.valueOf=fe.prototype.value=gU,fe.prototype.first=fe.prototype.head,$d&&(fe.prototype[$d]=pU),fe},ff=dE();Pc?((Pc.exports=ff)._=ff,I2._=ff):Hr._=ff}).call(Pt)})(Nv,Nv.exports);var _n=Nv.exports;const _G=[{id:"test-slide-1",elements:[{type:"shape",id:"4cbRxp",left:0,top:200,width:546,height:362.5,viewBox:[200,200],path:"M 0 0 L 0 200 L 200 200 Z",fill:"#5b9bd5",fixedRatio:!1,opacity:.7,rotate:0},{type:"shape",id:"ookHrf",left:0,top:0,width:300,height:320,viewBox:[200,200],path:"M 0 0 L 0 200 L 200 200 Z",fill:"#5b9bd5",fixedRatio:!1,flipV:!0,rotate:0},{type:"text",id:"idn7Mx",left:355,top:65.25,width:585,height:188,lineHeight:1.2,content:"<p><strong><span style='font-size: 112px'>PPTIST</span></strong></p>",rotate:0,defaultFontName:"Microsoft Yahei",defaultColor:"#333"},{type:"text",id:"7stmVP",left:355,top:253.25,width:585,height:56,content:"<p><span style='font-size: 24px'>基于 Vue 3.x + TypeScript 的在线演示文稿应用</span></p>",rotate:0,defaultFontName:"Microsoft Yahei",defaultColor:"#333"},{type:"line",id:"FnpZs4",left:361,top:238,start:[0,0],end:[549,0],points:["",""],color:"#5b9bd5",style:"solid",width:2}],background:{type:"solid",color:"#ffffff"}},{id:"test-slide-2",elements:[{type:"text",id:"ptNnUJ",left:145,top:148,width:711,height:77,lineHeight:1.2,content:"<p style='text-align: center;'><strong><span style='font-size: 48px'>在此处添加标题</span></strong></p>",rotate:0,defaultFontName:"Microsoft Yahei",defaultColor:"#333"},{type:"text",id:"mRHvQN",left:207.50000000000003,top:249.84259259259264,width:585,height:56,content:"<p style='text-align: center;'><span style='font-size: 24px'>在此处添加副标题</span></p>",rotate:0,defaultFontName:"Microsoft Yahei",defaultColor:"#333"},{type:"line",id:"7CQDwc",left:323.09259259259267,top:238.33333333333334,start:[0,0],end:[354.8148148148148,0],points:["",""],color:"#5b9bd5",style:"solid",width:4},{type:"shape",id:"09wqWw",left:-27.648148148148138,top:432.73148148148147,width:1056.2962962962963,height:162.96296296296296,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",fill:"#5b9bd5",fixedRatio:!1,rotate:0}],background:{type:"solid",color:"#fff"}},{id:"test-slide-3",elements:[{type:"shape",id:"vSheCJ",left:183.5185185185185,top:175.5092592592593,width:605.1851851851851,height:185.18518518518516,viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z",fill:"#5b9bd5",fixedRatio:!1,rotate:0},{type:"shape",id:"Mpwv7x",left:211.29629629629628,top:201.80555555555557,width:605.1851851851851,height:185.18518518518516,viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z",fill:"#5b9bd5",fixedRatio:!1,rotate:0,opacity:.7},{type:"text",id:"WQOTAp",left:304.9074074074074,top:198.10185185185182,width:417.9629629629629,height:140,content:"<p style='text-align: center;'><strong><span style='color: #ffffff;'><span style='font-size: 80px'>感谢观看</span></span></strong></p>",rotate:0,defaultFontName:"Microsoft Yahei",defaultColor:"#333",wordSpace:5}],background:{type:"solid",color:"#fff"}}],XG={themeColor:"#5b9bd5",fontColor:"#333",fontName:"Microsoft Yahei",backgroundColor:"#fff",shadow:{h:3,v:3,blur:2,color:"#808080"},outline:{width:2,color:"#525252",style:"solid"}},EG=[{id:"template",elements:[{type:"shape",id:"4cbRxp",left:0,top:200,width:546,height:362.5,viewBox:[200,200],path:"M 0 0 L 0 200 L 200 200 Z",fill:"{{themeColor}}",fixedRatio:!1,opacity:.7,rotate:0},{type:"shape",id:"ookHrf",left:0,top:0,width:300,height:320,viewBox:[200,200],path:"M 0 0 L 0 200 L 200 200 Z",fill:"{{themeColor}}",fixedRatio:!1,flipV:!0,rotate:0},{type:"text",id:"AkIh3E",left:355,top:95.11111111111111,width:585,height:116,lineHeight:1.2,content:"<p style=''><strong><span style='font-size: 80px'>输入标题</span></strong></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",wordSpace:6},{type:"text",id:"7stmVP",left:355,top:253.25,width:585,height:56,content:"<p><span style='font-size: 24px'>请在此处输入副标题</span></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"},{type:"line",id:"FnpZs4",left:361,top:238,start:[0,0],end:[549,0],points:["",""],color:"{{themeColor}}",style:"solid",width:2}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"template",elements:[{type:"text",id:"ptNnUJ",left:145,top:148,width:711,height:77,lineHeight:1.2,content:"<p style='text-align: center;'><strong><span style='font-size: 48px'>在此处添加标题</span></strong></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"},{type:"text",id:"mRHvQN",left:207.50000000000003,top:249.84259259259264,width:585,height:56,content:"<p style='text-align: center;'><span style='font-size: 24px'>在此处添加副标题</span></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"},{type:"line",id:"7CQDwc",left:323.09259259259267,top:238.33333333333334,start:[0,0],end:[354.8148148148148,0],points:["",""],color:"{{themeColor}}",style:"solid",width:4},{type:"shape",id:"09wqWw",left:-27.648148148148138,top:432.73148148148147,width:1056.2962962962963,height:162.96296296296296,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",fill:"{{themeColor}}",fixedRatio:!1,rotate:0}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"template",elements:[{type:"shape",id:"vSheCJ",left:183.5185185185185,top:175.5092592592593,width:605.1851851851851,height:185.18518518518516,viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0},{type:"shape",id:"Mpwv7x",left:211.29629629629628,top:201.80555555555557,width:605.1851851851851,height:185.18518518518516,viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0,opacity:.7},{type:"text",id:"WQOTAp",left:304.9074074074074,top:198.10185185185182,width:417.9629629629629,height:140,content:"<p style='text-align: center;'><strong><span style='color: #ffffff;'><span style='font-size: 80px'>感谢观看</span></span></strong></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",wordSpace:5}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"MZVO1kkj",elements:[{type:"shape",id:"cql0h8",left:0,top:0,width:352.59259259259255,height:562.5,viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0},{type:"shape",id:"_RTaF4",left:171.4814814814814,top:100.13888888888887,width:362.22222222222223,height:362.22222222222223,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"rgba(255,255,255,0)",fixedRatio:!1,rotate:0,outline:{width:10,color:"{{backgroundColor}}",style:"solid"}},{type:"shape",id:"UZfo8N",left:216.66666666666663,top:145.32407407407408,width:271.85185185185185,height:271.85185185185185,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{backgroundColor}}",fixedRatio:!1,rotate:0,text:{content:"<p style='text-align: center;'><span style='font-size: 80px'>01</span></p>",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"text",id:"ysqtBg",left:561.4814814814814,top:100.1388888888889,width:359.25925925925924,height:80,content:"<p style=''><strong><span style='font-size: 40px'>在此处输入标题</span></strong></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"},{type:"text",id:"lXsoHa",left:572.5925925925925,top:202.3611111111111,width:257.77777777777777,height:260,content:"<ol><li><p style=''>在此处输入内容</p></li><li><p style=''>在此处输入内容</p></li><li><p style=''>在此处输入内容</p></li><li><p style=''>在此处输入内容</p></li><li><p style=''>在此处输入内容</p></li><li><p style=''>在此处输入内容</p></li></ol>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",lineHeight:2,fill:"{{subColor}}"}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"template",elements:[{type:"shape",id:"EBBnTr",left:360.5996472663139,top:141.8496472663139,width:278.80070546737215,height:278.80070546737215,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!0,rotate:0,outline:{width:0,color:"{{backgroundColor}}",style:"solid"}},{type:"shape",id:"gDIWDH",left:456.4373897707231,top:98.287037037037,width:87.12522045855381,height:87.12522045855381,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!0,rotate:0,outline:{width:4,color:"{{backgroundColor}}",style:"solid"},text:{content:"<p style='text-align: center;'><span style='color: #ffffff;'>1</span></p>",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"shape",id:"DUWT7E",left:317.037037037037,top:237.68738977072314,width:87.12522045855381,height:87.12522045855381,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!0,rotate:0,outline:{width:4,color:"{{backgroundColor}}",style:"solid"},text:{content:"<p style='text-align: center;'><span style='color: #ffffff;'>4</span></p>",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"shape",id:"pbhn38",left:456.43738977072303,top:377.08774250440916,width:87.12522045855381,height:87.12522045855381,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!0,rotate:0,outline:{width:4,color:"{{backgroundColor}}",style:"solid"},text:{content:"<p style='text-align: center;'><span style='color: #ffffff;'>3</span></p>",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"shape",id:"CvMKrO",left:595.8377425044091,top:237.6873897707231,width:87.12522045855381,height:87.12522045855381,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!0,rotate:0,outline:{width:4,color:"{{backgroundColor}}",style:"solid"},text:{content:"<p style='text-align: center;'><span style='color: #ffffff;'>2</span></p>",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"text",id:"adudHB",left:402.962962962963,top:39.39814814814815,width:194.07407407407408,height:50,content:"<p style='text-align: center;'>在此输入内容</p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"},{type:"text",id:"9UpDwg",left:402.962962962963,top:473.1018518518518,width:194.07407407407408,height:50,content:"<p style='text-align: center;'>在此输入内容</p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"},{type:"text",id:"GERdpB",left:111.48148148148151,top:256.25,width:194.07407407407408,height:50,content:"<p style='text-align: center;'>在此输入内容</p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"},{type:"text",id:"G5qoho",left:691.1111111111111,top:256.25,width:194.07407407407408,height:50,content:"<p style='text-align: center;'>在此输入内容</p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"},{type:"shape",id:"vdZcI6",left:415.18518518518516,top:196.4351851851852,width:169.62962962962962,height:169.62962962962962,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{backgroundColor}}",fixedRatio:!1,rotate:0}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"template",elements:[{type:"shape",id:"tYUmrx",left:156.66666666666683,top:149.02777777777771,width:264.4444444444445,height:264.4444444444445,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0,text:{content:"<p style='text-align: center;'><span style='color: #ffffff;'><span style='font-size: 60px'>01</span></span></p>",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"shape",id:"0GVHf8",left:342.2222222222223,top:217.17592592592587,width:128.14814814814812,height:128.14814814814812,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{backgroundColor}}",fixedRatio:!1,rotate:0},{type:"text",id:"BO33Sv",left:378.8888888888889,top:235.24999999999994,width:464.4444444444444,height:92,content:"<p style=''><strong><span style='font-size: 48px'>在此处添加标题</span></strong></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"template",elements:[{type:"text",id:"Hj7ttp",left:69.35185185185185,top:49.21759259259262,width:420,height:63,lineHeight:1.2,content:"<p style='text-align: center;'><strong><span style='color: #ffffff;'><span style='font-size: 36px'>1.请输入标题</span></span></strong></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{themeColor}}"},{type:"text",id:"FmKMNB",left:69.35185185185185,top:129.28240740740745,width:420,height:384,content:"<p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"text",id:"rI7ZeO",left:510.64814814814815,top:49.21759259259262,width:420,height:63,lineHeight:1.2,content:"<p style='text-align: center;'><strong><span style='color: #ffffff;'><span style='font-size: 36px'>2.请输入标题</span></span></strong></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{themeColor}}"},{type:"text",id:"KspwGc",left:510.64814814814815,top:129.28240740740745,width:420,height:384,content:"<p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"template",elements:[{type:"text",id:"Rx63Jo",left:69.35185185185179,top:51.71759259259262,width:420,height:58,lineHeight:1.2,content:"<p style='text-align: center;'><strong><span style='color: #ffffff;'><span style='font-size: 32px'>1.请输入标题</span></span></strong></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{themeColor}}"},{type:"text",id:"ulyuzE",left:69.35185185185179,top:131.78240740740745,width:420,height:129,content:"<p style='text-align: center;'><span style='font-size: 22px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 22px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 22px'>在此处输入内容</span></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"text",id:"kr35Ca",left:510.6481481481481,top:51.71759259259262,width:420,height:58,lineHeight:1.2,content:"<p style='text-align: center;'><strong><span style='color: #ffffff;'><span style='font-size: 32px'>2.请输入标题</span></span></strong></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{themeColor}}"},{type:"text",id:"BNQSpC",left:510.6481481481481,top:131.78240740740745,width:420,height:129,content:"<p style='text-align: center;'><span style='font-size: 22px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 22px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 22px'>在此处输入内容</span></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"text",id:"Vr38Nu",left:69.35185185185185,top:301.71759259259255,width:420,height:58,lineHeight:1.2,content:"<p style='text-align: center;'><strong><span style='color: #ffffff;'><span style='font-size: 32px'>3.请输入标题</span></span></strong></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{themeColor}}"},{type:"text",id:"IwKRSu",left:69.35185185185185,top:381.7824074074074,width:420,height:129,content:"<p style='text-align: center;'><span style='font-size: 22px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 22px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 22px'>在此处输入内容</span></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"text",id:"0Opr1v",left:510.64814814814815,top:301.71759259259255,width:420,height:58,lineHeight:1.2,content:"<p style='text-align: center;'><strong><span style='color: #ffffff;'><span style='font-size: 32px'>4.请输入标题</span></span></strong></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{themeColor}}"},{type:"text",id:"4L9Uzz",left:510.64814814814815,top:381.7824074074074,width:420,height:129,content:"<p style='text-align: center;'><span style='font-size: 22px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 22px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 22px'>在此处输入内容</span></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"template",elements:[{type:"text",id:"GdEGxg",left:134.53703703703704,top:127.25,width:152.77777777777777,height:308,lineHeight:1.8,content:"<p style='text-align: center;'><strong><span style='color: #ffffff;'><span style='font-size: 40px'>请在此处输入标题</span></span></strong></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",wordSpace:8,fill:"{{themeColor}}"},{type:"text",id:"y5sAfw",left:332.8703703703704,top:127.25,width:532.5925925925926,height:50,content:"<blockquote><p style=''>请在此处输入内容1</p></blockquote>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"text",id:"VeuocM",left:332.8703703703704,top:212.0648148148148,width:532.5925925925926,height:50,content:"<blockquote><p style=''>请在此处输入内容2</p></blockquote>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"text",id:"RyFWQe",left:332.8703703703704,top:296.8796296296296,width:532.5925925925926,height:50,content:"<blockquote><p style=''>请在此处输入内容3</p></blockquote>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"text",id:"Q56viI",left:332.8703703703704,top:381.69444444444446,width:532.5925925925926,height:50,content:"<blockquote><p style=''>请在此处输入内容4</p></blockquote>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"template",elements:[{type:"shape",id:"SUWirT",left:73.8888888888889,top:64.21296296296302,width:49.629629629629626,height:49.629629629629626,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0,text:{content:"<p style='text-align: center;'><span style='color: #ffffff;'>1</span></p>",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"text",id:"YjzN1M",left:148.70370370370372,top:64.21296296296302,width:323.7037037037037,height:120,content:"<p style=''>在此输入内容</p><p style=''>在此输入内容</p><p style=''>在此输入内容</p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"shape",id:"fS09I7",left:527.5925925925926,top:64.21296296296302,width:49.629629629629626,height:49.629629629629626,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0,text:{content:"<p style='text-align: center;'><span style='color: #ffffff;'>2</span></p>",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"text",id:"qCnfB1",left:602.4074074074074,top:64.21296296296302,width:323.7037037037037,height:120,content:"<p style=''>在此输入内容</p><p style=''>在此输入内容</p><p style=''>在此输入内容</p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"shape",id:"difAAT",left:73.8888888888889,top:221.25000000000003,width:49.629629629629626,height:49.629629629629626,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0,text:{content:"<p style='text-align: center;'><span style='color: #ffffff;'>3</span></p>",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"text",id:"EUlvMo",left:148.70370370370372,top:221.25000000000003,width:323.7037037037037,height:120,content:"<p style=''>在此输入内容</p><p style=''>在此输入内容</p><p style=''>在此输入内容</p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"shape",id:"US_9jB",left:527.5925925925926,top:221.25000000000003,width:49.629629629629626,height:49.629629629629626,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0,text:{content:"<p style='text-align: center;'><span style='color: #ffffff;'>4</span></p>",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"text",id:"243MnQ",left:602.4074074074074,top:221.25000000000003,width:323.7037037037037,height:120,content:"<p style=''>在此输入内容</p><p style=''>在此输入内容</p><p style=''>在此输入内容</p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"shape",id:"Y_KUj0",left:73.8888888888889,top:378.287037037037,width:49.629629629629626,height:49.629629629629626,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0,text:{content:"<p style='text-align: center;'><span style='color: #ffffff;'>5</span></p>",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"text",id:"9GglMe",left:148.70370370370372,top:378.287037037037,width:323.7037037037037,height:120,content:"<p style=''>在此输入内容</p><p style=''>在此输入内容</p><p style=''>在此输入内容</p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"shape",id:"eSInje",left:527.5925925925926,top:378.287037037037,width:49.629629629629626,height:49.629629629629626,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0,text:{content:"<p style='text-align: center;'><span style='color: #ffffff;'>6</span></p>",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"text",id:"0S3yUg",left:602.4074074074074,top:378.287037037037,width:323.7037037037037,height:120,content:"<p style=''>在此输入内容</p><p style=''>在此输入内容</p><p style=''>在此输入内容</p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"}],background:{type:"solid",color:"{{backgroundColor}}"}}],ct=yp("slides",{state:()=>({title:"未命名演示文稿",theme:XG,slides:_G,slideIndex:0,viewportRatio:.5625}),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(o=>o.id);return t.animations.filter(o=>r.includes(o.elId))},formatedAnimations(e){const t=e.slides[e.slideIndex];if(!(t!=null&&t.animations))return[];const r=t.elements.map(a=>a.id),o=t.animations.filter(a=>r.includes(a.elId)),i=[];for(const a of o)if(a.trigger==="click"||!i.length)i.push({animations:[a],autoNext:!1});else if(a.trigger==="meantime"){const s=i[i.length-1];s.animations=s.animations.filter(c=>c.elId!==a.elId),s.animations.push(a),i[i.length-1]=s}else if(a.trigger==="auto"){const s=i[i.length-1];s.autoNext=!0,i[i.length-1]=s,i.push({animations:[a],autoNext:!1})}return i},layouts(e){const{themeColor:t,fontColor:n,fontName:r,backgroundColor:o}=e.theme,i=ot(n).isDark()?"rgba(230, 230, 230, 0.5)":"rgba(180, 180, 180, 0.5)",a=JSON.stringify(EG).replace(/{{themeColor}}/g,t).replace(/{{fontColor}}/g,n).replace(/{{fontName}}/g,r).replace(/{{backgroundColor}}/g,o).replace(/{{subColor}}/g,i);return JSON.parse(a)}},actions:{setTitle(e){e?this.title=e:this.title="未命名演示文稿"},setTheme(e){this.theme={...this.theme,...e}},setViewportRatio(e){this.viewportRatio=e},setSlides(e){this.slides=e},addSlide(e){const t=Array.isArray(e)?e:[e],n=this.slideIndex+1;this.slides.splice(n,0,...t),this.slideIndex=n},updateSlide(e){const t=this.slideIndex;this.slides[t]={...this.slides[t],...e}},deleteSlide(e){const t=Array.isArray(e)?e:[e],n=[];for(let i=0;i<t.length;i++){const a=this.slides.findIndex(s=>s.id===t[i]);n.push(a)}let r=Math.min(...n);const o=this.slides.length-t.length-1;r>o&&(r=o),this.slideIndex=r,this.slides=this.slides.filter(i=>!t.includes(i.id))},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(o=>!t.includes(o.id));this.slides[this.slideIndex].elements=r},updateElement(e){const{id:t,props:n,slideId:r}=e,o=typeof t=="string"?[t]:t,i=r?this.slides.findIndex(c=>c.id===r):this.slideIndex,s=this.slides[i].elements.map(c=>o.includes(c.id)?{...c,...n}:c);this.slides[i].elements=s},removeElementProps(e){const{id:t,propName:n}=e,r=typeof n=="string"?[n]:n,o=this.slideIndex,a=this.slides[o].elements.map(s=>s.id===t?_n.omit(s,r):s);this.slides[o].elements=a}}}),WG=ZK("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"),nP=WG(10),ft=yp("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,availableFonts:bM,toolbarState:Sr.SLIDE_DESIGN,clipingImageElementId:"",richTextAttrs:cG,selectedTableCells:[],isScaling:!1,selectedSlidesIndex:[],dialogForExport:"",databaseId:nP,textFormatPainter:null,shapeFormatPainter:null,showSelectPanel:!1,showSearchPanel:!1}),getters:{activeElementList(e){const n=ct().currentSlide;return!n||!n.elements?[]:n.elements.filter(r=>e.activeElementIdList.includes(r.id))},handleElement(e){const n=ct().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},setAvailableFonts(){this.availableFonts=bM.filter(e=>uG(e.value))},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}}});var Jn=function(){return Jn=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Jn.apply(this,arguments)};function Z4(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),o=0,t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r}var oo=Object.keys,Co=Array.isArray,qn=typeof self<"u"?self:typeof window<"u"?window:global;typeof Promise<"u"&&!qn.Promise&&(qn.Promise=Promise);function qi(e,t){return typeof t!="object"||oo(t).forEach(function(n){e[n]=t[n]}),e}var rP=Object.getPrototypeOf,VG={}.hasOwnProperty;function ea(e,t){return VG.call(e,t)}function Gh(e,t){typeof t=="function"&&(t=t(rP(e))),oo(t).forEach(function(n){al(e,n,t[n])})}var oP=Object.defineProperty;function al(e,t,n,r){oP(e,t,qi(n&&ea(n,"get")&&typeof n.get=="function"?{get:n.get,set:n.set,configurable:!0}:{value:n,configurable:!0,writable:!0},r))}function Qd(e){return{from:function(t){return e.prototype=Object.create(t.prototype),al(e.prototype,"constructor",e),{extend:Gh.bind(null,e.prototype)}}}}var UG=Object.getOwnPropertyDescriptor;function ub(e,t){var n=UG(e,t),r;return n||(r=rP(e))&&ub(r,t)}var YG=[].slice;function Ug(e,t,n){return YG.call(e,t,n)}function iP(e,t){return t(e)}function _0(e){if(!e)throw new Error("Assertion Failed")}function aP(e){qn.setImmediate?setImmediate(e):setTimeout(e,0)}function sP(e,t){return e.reduce(function(n,r,o){var i=t(r,o);return i&&(n[i[0]]=i[1]),n},{})}function QG(e,t,n){try{e.apply(null,n)}catch(r){t&&t(r)}}function us(e,t){if(ea(e,t))return e[t];if(!t)return e;if(typeof t!="string"){for(var n=[],r=0,o=t.length;r<o;++r){var i=us(e,t[r]);n.push(i)}return n}var a=t.indexOf(".");if(a!==-1){var s=e[t.substr(0,a)];return s===void 0?void 0:us(s,t.substr(a+1))}}function Pa(e,t,n){if(!(!e||t===void 0)&&!("isFrozen"in Object&&Object.isFrozen(e)))if(typeof t!="string"&&"length"in t){_0(typeof n!="string"&&"length"in n);for(var r=0,o=t.length;r<o;++r)Pa(e,t[r],n[r])}else{var i=t.indexOf(".");if(i!==-1){var a=t.substr(0,i),s=t.substr(i+1);if(s==="")n===void 0?Co(e)&&!isNaN(parseInt(a))?e.splice(a,1):delete e[a]:e[a]=n;else{var c=e[a];c||(c=e[a]={}),Pa(c,s,n)}}else n===void 0?Co(e)&&!isNaN(parseInt(t))?e.splice(t,1):delete e[t]:e[t]=n}}function lP(e,t){typeof t=="string"?Pa(e,t,void 0):"length"in t&&[].map.call(t,function(n){Pa(e,n,void 0)})}function cP(e){var t={};for(var n in e)ea(e,n)&&(t[n]=e[n]);return t}var ZG=[].concat;function uP(e){return ZG.apply([],e)}var fP="Boolean,String,Date,RegExp,Blob,File,FileList,ArrayBuffer,DataView,Uint8ClampedArray,ImageData,Map,Set".split(",").concat(uP([8,16,32,64].map(function(e){return["Int","Uint","Float"].map(function(t){return t+e+"Array"})}))).filter(function(e){return qn[e]}),BG=fP.map(function(e){return qn[e]}),DG=sP(fP,function(e){return[e,!0]});function Jh(e){if(!e||typeof e!="object")return e;var t;if(Co(e)){t=[];for(var n=0,r=e.length;n<r;++n)t.push(Jh(e[n]))}else if(BG.indexOf(e.constructor)>=0)t=e;else{t=e.constructor?Object.create(e.constructor.prototype):{};for(var o in e)ea(e,o)&&(t[o]=Jh(e[o]))}return t}var KG={}.toString;function B4(e){return KG.call(e).slice(8,-1)}var D4=function(e,t){return t==="Array"?""+e.map(function(n){return D4(n,B4(n))}):t==="ArrayBuffer"?""+new Uint8Array(e):t==="Date"?e.getTime():ArrayBuffer.isView(e)?""+new Uint8Array(e.buffer):e};function fb(e,t,n,r){return n=n||{},r=r||"",oo(e).forEach(function(o){if(!ea(t,o))n[r+o]=void 0;else{var i=e[o],a=t[o];if(typeof i=="object"&&typeof a=="object"&&i&&a){var s=B4(i),c=B4(a);s===c?DG[s]?D4(i,s)!==D4(a,c)&&(n[r+o]=t[o]):fb(i,a,n,r+o+"."):n[r+o]=t[o]}else i!==a&&(n[r+o]=t[o])}}),oo(t).forEach(function(o){ea(e,o)||(n[r+o]=t[o])}),n}var kM=typeof Symbol<"u"&&Symbol.iterator,HG=kM?function(e){var t;return e!=null&&(t=e[kM])&&t.apply(e)}:function(){return null},Xf={};function Hs(e){var t,n,r,o;if(arguments.length===1){if(Co(e))return e.slice();if(this===Xf&&typeof e=="string")return[e];if(o=HG(e)){for(n=[];r=o.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 dP=typeof Symbol<"u"?function(e){return e[Symbol.toStringTag]==="AsyncFunction"}:function(){return!1},bs=typeof location<"u"&&/^(http|https):\/\/(localhost|127\.0\.0\.1)/.test(location.href);function hP(e,t){bs=e,pP=t}var pP=function(){return!0},GG=!new Error("").stack;function Zd(){if(GG)try{throw new Error}catch(e){return e}return new Error}function K4(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(pP).map(function(r){return`
`+r}).join("")):""}var JG=["Modify","Bulk","OpenFailed","VersionChange","Schema","Upgrade","InvalidTable","MissingAPI","NoSuchDatabase","InvalidArgument","SubTransaction","Unsupported","Internal","DatabaseClosed","PrematureCommit","ForeignAwait"],mP=["Unknown","Constraint","Data","TransactionInactive","ReadOnly","Version","NotFound","InvalidState","InvalidAccess","Abort","Timeout","QuotaExceeded","Syntax","DataClone"],db=JG.concat(mP),zG={VersionChanged:"Database version changed by other database connection",DatabaseClosed:"Database has been closed",Abort:"Transaction aborted",TransactionInactive:"Transaction has already completed or failed"};function Bd(e,t){this._e=Zd(),this.name=e,this.message=t}Qd(Bd).from(Error).extend({stack:{get:function(){return this._stack||(this._stack=this.name+": "+this.message+K4(this._e,2))}},toString:function(){return this.name+": "+this.message}});function vP(e,t){return e+". Errors: "+Object.keys(t).map(function(n){return t[n].toString()}).filter(function(n,r,o){return o.indexOf(n)===r}).join(`
`)}function Pv(e,t,n,r){this._e=Zd(),this.failures=t,this.failedKeys=r,this.successCount=n,this.message=vP(e,t)}Qd(Pv).from(Bd);function hh(e,t){this._e=Zd(),this.name="BulkError",this.failures=t,this.message=vP(e,t)}Qd(hh).from(Bd);var jG=db.reduce(function(e,t){return e[t]=t+"Error",e},{}),$G=Bd,zt=db.reduce(function(e,t){var n=t+"Error";function r(o,i){this._e=Zd(),this.name=n,o?typeof o=="string"?(this.message=""+o+(i?`
`+i:""),this.inner=i||null):typeof o=="object"&&(this.message=o.name+" "+o.message,this.inner=o):(this.message=zG[t]||n,this.inner=null)}return Qd(r).from($G),e[t]=r,e},{});zt.Syntax=SyntaxError;zt.Type=TypeError;zt.Range=RangeError;var NM=mP.reduce(function(e,t){return e[t+"Error"]=zt[t],e},{});function qG(e,t){if(!e||e instanceof Bd||e instanceof TypeError||e instanceof SyntaxError||!e.name||!NM[e.name])return e;var n=new NM[e.name](t||e.message,e);return"stack"in e&&al(n,"stack",{get:function(){return this.inner.stack}}),n}var Yg=db.reduce(function(e,t){return["Syntax","Type","Range"].indexOf(t)===-1&&(e[t+"Error"]=zt[t]),e},{});Yg.ModifyError=Pv;Yg.DexieError=Bd;Yg.BulkError=hh;function zn(){}function Sp(e){return e}function eJ(e,t){return e==null||e===Sp?t:function(n){return t(e(n))}}function Pu(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function tJ(e,t){return e===zn?t:function(){var n=e.apply(this,arguments);n!==void 0&&(arguments[0]=n);var r=this.onsuccess,o=this.onerror;this.onsuccess=null,this.onerror=null;var i=t.apply(this,arguments);return r&&(this.onsuccess=this.onsuccess?Pu(r,this.onsuccess):r),o&&(this.onerror=this.onerror?Pu(o,this.onerror):o),i!==void 0?i:n}}function nJ(e,t){return e===zn?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?Pu(n,this.onsuccess):n),r&&(this.onerror=this.onerror?Pu(r,this.onerror):r)}}function rJ(e,t){return e===zn?t:function(n){var r=e.apply(this,arguments);qi(n,r);var o=this.onsuccess,i=this.onerror;this.onsuccess=null,this.onerror=null;var a=t.apply(this,arguments);return o&&(this.onsuccess=this.onsuccess?Pu(o,this.onsuccess):o),i&&(this.onerror=this.onerror?Pu(i,this.onerror):i),r===void 0?a===void 0?void 0:a:qi(r,a)}}function oJ(e,t){return e===zn?t:function(){return t.apply(this,arguments)===!1?!1:e.apply(this,arguments)}}function gP(e,t){return e===zn?t:function(){var n=e.apply(this,arguments);if(n&&typeof n.then=="function"){for(var r=this,o=arguments.length,i=new Array(o);o--;)i[o]=arguments[o];return n.then(function(){return t.apply(r,i)})}return t.apply(this,arguments)}}var zh={},iJ=100,aJ=20,AP=100,hb=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]}(),H4=hb[0],Cv=hb[1],G4=hb[2],RP=Cv&&Cv.then,Xm=H4&&H4.constructor,pb=!!G4,J4=!1,sJ=G4?function(){G4.then(tm)}:qn.setImmediate?setImmediate.bind(null,tm):qn.MutationObserver?function(){var e=document.createElement("div");new MutationObserver(function(){tm(),e=null}).observe(e,{attributes:!0}),e.setAttribute("i","1")}:function(){setTimeout(tm,0)},jh=function(e,t){X0.push([e,t]),Iv&&(sJ(),Iv=!1)},z4=!0,Iv=!0,vu=[],Em=[],j4=null,$4=Sp,fd={id:"global",global:!0,ref:0,unhandleds:[],onunhandled:IM,pgp:!1,env:{},finalize:function(){this.unhandleds.forEach(function(e){try{IM(e[0],e[1])}catch{}})}},Et=fd,X0=[],gu=0,Wm=[];function St(e){if(typeof this!="object")throw new TypeError("Promises must be constructed via new");this._listeners=[],this.onuncatched=zn,this._lib=!1;var t=this._PSD=Et;if(bs&&(this._stackHolder=Zd(),this._prev=null,this._numPrev=0),typeof e!="function"){if(e!==zh)throw new TypeError("Not a function");this._state=arguments[1],this._value=arguments[2],this._state===!1&&e3(this,this._value);return}this._state=null,this._value=null,++t.ref,xP(this,e)}var q4={get:function(){var e=Et,t=Fv;function n(r,o){var i=this,a=!e.global&&(e!==Et||t!==Fv),s=a&&!Iu(),c=new St(function(l,u){mb(i,new yP(Xv(r,e,a,s),Xv(o,e,a,s),l,u,e))});return bs&&MP(c,this),c}return n.prototype=zh,n},set:function(e){al(this,"then",e&&e.prototype===zh?q4:{get:function(){return e},set:q4.set})}};Gh(St.prototype,{then:q4,_then:function(e,t){mb(this,new yP(null,null,e,t,Et))},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):Vm(r)}):this.then(null,function(r){return r&&r.name===t?n(r):Vm(r)})},finally:function(e){return this.then(function(t){return e(),t},function(t){return e(),Vm(t)})},stack:{get:function(){if(this._stack)return this._stack;try{J4=!0;var e=SP(this,[],aJ),t=e.join(`
From previous: `);return this._state!==null&&(this._stack=t),t}finally{J4=!1}}},timeout:function(e,t){var n=this;return e<1/0?new St(function(r,o){var i=setTimeout(function(){return o(new zt.Timeout(t))},e);n.then(r,o).finally(clearTimeout.bind(null,i))}):this}});typeof Symbol<"u"&&Symbol.toStringTag&&al(St.prototype,Symbol.toStringTag,"Dexie.Promise");fd.env=wP();function yP(e,t,n,r,o){this.onFulfilled=typeof e=="function"?e:null,this.onRejected=typeof t=="function"?t:null,this.resolve=n,this.reject=r,this.psd=o}Gh(St,{all:function(){var e=Hs.apply(null,arguments).map(_v);return new St(function(t,n){e.length===0&&t([]);var r=e.length;e.forEach(function(o,i){return St.resolve(o).then(function(a){e[i]=a,--r||t(e)},n)})})},resolve:function(e){if(e instanceof St)return e;if(e&&typeof e.then=="function")return new St(function(n,r){e.then(n,r)});var t=new St(zh,!0,e);return MP(t,j4),t},reject:Vm,race:function(){var e=Hs.apply(null,arguments).map(_v);return new St(function(t,n){e.map(function(r){return St.resolve(r).then(t,n)})})},PSD:{get:function(){return Et},set:function(e){return Et=e}},totalEchoes:{get:function(){return Fv}},newPSD:Cu,usePSD:Op,scheduler:{get:function(){return jh},set:function(e){jh=e}},rejectionMapper:{get:function(){return $4},set:function(e){$4=e}},follow:function(e,t){return new St(function(n,r){return Cu(function(o,i){var a=Et;a.unhandleds=[],a.onunhandled=i,a.finalize=Pu(function(){var s=this;cJ(function(){s.unhandleds.length===0?o():i(s.unhandleds[0])})},a.finalize),e()},t,n,r)})}});Xm&&(Xm.allSettled&&al(St,"allSettled",function(){var e=Hs.apply(null,arguments).map(_v);return new St(function(t){e.length===0&&t([]);var n=e.length,r=new Array(n);e.forEach(function(o,i){return St.resolve(o).then(function(a){return r[i]={status:"fulfilled",value:a}},function(a){return r[i]={status:"rejected",reason:a}}).then(function(){return--n||t(r)})})})}),Xm.any&&typeof AggregateError<"u"&&al(St,"any",function(){var e=Hs.apply(null,arguments).map(_v);return new St(function(t,n){e.length===0&&n(new AggregateError([]));var r=e.length,o=new Array(r);e.forEach(function(i,a){return St.resolve(i).then(function(s){return t(s)},function(s){o[a]=s,--r||n(new AggregateError(o))})})})}));function xP(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&&Mp();n&&typeof n.then=="function"?xP(e,function(o,i){n instanceof St?n._then(o,i):n.then(o,i)}):(e._state=!0,e._value=n,bP(e)),r&&wp()}},e3.bind(null,e))}catch(n){e3(e,n)}}function e3(e,t){if(Em.push(t),e._state===null){var n=e._lib&&Mp();t=$4(t),e._state=!1,e._value=t,bs&&t!==null&&typeof t=="object"&&!t._promise&&QG(function(){var r=ub(t,"stack");t._promise=e,al(t,"stack",{get:function(){return J4?r&&(r.get?r.get.apply(t):r.value):e.stack}})}),uJ(e),bP(e),n&&wp()}}function bP(e){var t=e._listeners;e._listeners=[];for(var n=0,r=t.length;n<r;++n)mb(e,t[n]);var o=e._PSD;--o.ref||o.finalize(),gu===0&&(++gu,jh(function(){--gu===0&&vb()},[]))}function mb(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,++gu,jh(lJ,[n,e,t])}function lJ(e,t,n){try{j4=t;var r,o=t._value;t._state?r=e(o):(Em.length&&(Em=[]),r=e(o),Em.indexOf(o)===-1&&fJ(t)),n.resolve(r)}catch(i){n.reject(i)}finally{j4=null,--gu===0&&vb(),--n.psd.ref||n.psd.finalize()}}function SP(e,t,n){if(t.length===n)return t;var r="";if(e._state===!1){var o=e._value,i,a;o!=null?(i=o.name||"Error",a=o.message||o,r=K4(o,0)):(i=o,a=""),t.push(i+(a?": "+a:"")+r)}return bs&&(r=K4(e._stackHolder,2),r&&t.indexOf(r)===-1&&t.push(r),e._prev&&SP(e._prev,t,n)),t}function MP(e,t){var n=t?t._numPrev+1:0;n<iJ&&(e._prev=t,e._numPrev=n)}function tm(){Mp()&&wp()}function Mp(){var e=z4;return z4=!1,Iv=!1,e}function wp(){var e,t,n;do for(;X0.length>0;)for(e=X0,X0=[],n=e.length,t=0;t<n;++t){var r=e[t];r[0].apply(null,r[1])}while(X0.length>0);z4=!0,Iv=!0}function vb(){var e=vu;vu=[],e.forEach(function(r){r._PSD.onunhandled.call(null,r._value,r)});for(var t=Wm.slice(0),n=t.length;n;)t[--n]()}function cJ(e){function t(){e(),Wm.splice(Wm.indexOf(t),1)}Wm.push(t),++gu,jh(function(){--gu===0&&vb()},[])}function uJ(e){vu.some(function(t){return t._value===e._value})||vu.push(e)}function fJ(e){for(var t=vu.length;t;)if(vu[--t]._value===e._value){vu.splice(t,1);return}}function Vm(e){return new St(zh,!1,e)}function hr(e,t){var n=Et;return function(){var r=Mp(),o=Et;try{return Ac(n,!0),e.apply(this,arguments)}catch(i){t&&t(i)}finally{Ac(o,!1),r&&wp()}}}var ho={awaits:0,echoes:0,id:0},dJ=0,Um=[],aR=0,Fv=0,hJ=0;function Cu(e,t,n,r){var o=Et,i=Object.create(o);i.parent=o,i.ref=0,i.global=!1,i.id=++hJ;var a=fd.env;i.env=pb?{Promise:St,PromiseProp:{value:St,configurable:!0,writable:!0},all:St.all,race:St.race,allSettled:St.allSettled,any:St.any,resolve:St.resolve,reject:St.reject,nthen:PM(a.nthen,i),gthen:PM(a.gthen,i)}:{},t&&qi(i,t),++o.ref,i.finalize=function(){--this.parent.ref||this.parent.finalize()};var s=Op(i,e,n,r);return i.ref===0&&i.finalize(),s}function Lp(){return ho.id||(ho.id=++dJ),++ho.awaits,ho.echoes+=AP,ho.id}function Iu(){return ho.awaits?(--ho.awaits===0&&(ho.id=0),ho.echoes=ho.awaits*AP,!0):!1}(""+RP).indexOf("[native code]")===-1&&(Lp=Iu=zn);function _v(e){return ho.echoes&&e&&e.constructor===Xm?(Lp(),e.then(function(t){return Iu(),t},function(t){return Iu(),go(t)})):e}function pJ(e){++Fv,(!ho.echoes||--ho.echoes===0)&&(ho.echoes=ho.id=0),Um.push(Et),Ac(e,!0)}function mJ(){var e=Um[Um.length-1];Um.pop(),Ac(e,!1)}function Ac(e,t){var n=Et;if((t?ho.echoes&&(!aR++||e!==Et):aR&&(!--aR||e!==Et))&&LP(t?pJ.bind(null,e):mJ),e!==Et&&(Et=e,n===fd&&(fd.env=wP()),pb)){var r=fd.env.Promise,o=e.env;Cv.then=o.nthen,r.prototype.then=o.gthen,(n.global||e.global)&&(Object.defineProperty(qn,"Promise",o.PromiseProp),r.all=o.all,r.race=o.race,r.resolve=o.resolve,r.reject=o.reject,o.allSettled&&(r.allSettled=o.allSettled),o.any&&(r.any=o.any))}}function wP(){var e=qn.Promise;return pb?{Promise:e,PromiseProp:Object.getOwnPropertyDescriptor(qn,"Promise"),all:e.all,race:e.race,allSettled:e.allSettled,any:e.any,resolve:e.resolve,reject:e.reject,nthen:Cv.then,gthen:e.prototype.then}:{}}function Op(e,t,n,r,o){var i=Et;try{return Ac(e,!0),t(n,r,o)}finally{Ac(i,!1)}}function LP(e){RP.call(H4,e)}function Xv(e,t,n,r){return typeof e!="function"?e:function(){var o=Et;n&&Lp(),Ac(t,!0);try{return e.apply(this,arguments)}finally{Ac(o,!1),r&&LP(Iu)}}}function PM(e,t){return function(n,r){return e.call(this,Xv(n,t),Xv(r,t))}}var CM="unhandledrejection";function IM(e,t){var n;try{n=t.onuncatched(e)}catch{}if(n!==!1)try{var r,o={promise:t,reason:e};if(qn.document&&document.createEvent?(r=document.createEvent("Event"),r.initEvent(CM,!0,!0),qi(r,o)):qn.CustomEvent&&(r=new CustomEvent(CM,{detail:o}),qi(r,o)),r&&qn.dispatchEvent&&(dispatchEvent(r),!qn.PromiseRejectionEvent&&qn.onunhandledrejection))try{qn.onunhandledrejection(r)}catch{}bs&&r&&!r.defaultPrevented&&console.warn("Unhandled rejection: "+(e.stack||e))}catch{}}var go=St.reject;function OP(e,t,n,r){if(!e._state.openComplete&&!Et.letThrough){if(!e._state.isBeingOpened){if(!e._options.autoOpen)return go(new zt.DatabaseClosed);e.open().catch(zn)}return e._state.dbReadyPromise.then(function(){return OP(e,t,n,r)})}else{var o=e._createTransaction(t,n,e._dbSchema);try{o.create()}catch(i){return go(i)}return o._promise(t,function(i,a){return Cu(function(){return Et.trans=o,r(i,a,o)})}).then(function(i){return o._completion.then(function(){return i})})}}var FM="3.0.3",Hf="￿",t3=-1/0,_s="Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.",TP="String expected.",ph=[],gb=typeof navigator<"u"&&/(MSIE|Trident|Edge)/.test(navigator.userAgent),vJ=gb,gJ=gb,kP=function(e){return!/(dexie\.js|dexie\.min\.js)/.test(e)},nm="__dbnames",sR="readonly",lR="readwrite";function Fu(e,t){return e?t?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:e:t}var NP={type:3,lower:-1/0,lowerOpen:!1,upper:[[]],upperOpen:!1};function rm(e){return function(t){return us(t,e)===void 0&&(t=Jh(t),lP(t,e)),t}}var AJ=function(){function e(){}return e.prototype._trans=function(t,n,r){var o=this._tx||Et.trans,i=this.name;function a(c,l,u){if(!u.schema[i])throw new zt.NotFound("Table "+i+" not part of transaction");return n(u.idbtrans,u)}var s=Mp();try{return o&&o.db===this.db?o===Et.trans?o._promise(t,a,r):Cu(function(){return o._promise(t,a,r)},{trans:o,transless:Et.transless||Et}):OP(this.db,t,[this.name],a)}finally{s&&wp()}},e.prototype.get=function(t,n){var r=this;return t&&t.constructor===Object?this.where(t).first(n):this._trans("readonly",function(o){return r.core.get({trans:o,key:t}).then(function(i){return r.hook.reading.fire(i)})}).then(n)},e.prototype.where=function(t){if(typeof t=="string")return new this.db.WhereClause(this,t);if(Co(t))return new this.db.WhereClause(this,"["+t.join("+")+"]");var n=oo(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(u){return u.compound&&n.every(function(f){return u.keyPath.indexOf(f)>=0})&&u.keyPath.every(function(f){return n.indexOf(f)>=0})})[0];if(r&&this.db._maxKey!==Hf)return this.where(r.name).equals(r.keyPath.map(function(u){return t[u]}));!r&&bs&&console.warn("The query "+JSON.stringify(t)+" on "+this.name+" would benefit of a "+("compound index ["+n.join("+")+"]"));var o=this.schema.idxByName,i=this.db._deps.indexedDB;function a(u,f){try{return i.cmp(u,f)===0}catch{return!1}}var s=n.reduce(function(u,f){var d=u[0],h=u[1],p=o[f],m=t[f];return[d||p,d||!p?Fu(h,p&&p.multi?function(A){var x=us(A,f);return Co(x)&&x.some(function(R){return a(m,R)})}:function(A){return a(m,us(A,f))}):h]},[null,null]),c=s[0],l=s[1];return c?this.where(c.name).equals(t[c.keyPath]).filter(l):r?this.filter(l):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,Co(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 o=Object.create(t.prototype);for(var i in r)if(ea(r,i))try{o[i]=r[i]}catch{}return o};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){qi(this,n)}return this.mapToClass(t)},e.prototype.add=function(t,n){var r=this,o=this.schema.primKey,i=o.auto,a=o.keyPath,s=t;return a&&i&&(s=rm(a)(t)),this._trans("readwrite",function(c){return r.core.mutate({trans:c,type:"add",keys:n!=null?[n]:null,values:[s]})}).then(function(c){return c.numFailures?St.reject(c.failures[0]):c.lastResult}).then(function(c){if(a)try{Pa(t,a,c)}catch{}return c})},e.prototype.update=function(t,n){if(typeof n!="object"||Co(n))throw new zt.InvalidArgument("Modifications must be an object.");if(typeof t=="object"&&!Co(t)){oo(n).forEach(function(o){Pa(t,o,n[o])});var r=us(t,this.schema.primKey.keyPath);return r===void 0?go(new zt.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,o=this.schema.primKey,i=o.auto,a=o.keyPath,s=t;return a&&i&&(s=rm(a)(t)),this._trans("readwrite",function(c){return r.core.mutate({trans:c,type:"put",values:[s],keys:n!=null?[n]:null})}).then(function(c){return c.numFailures?St.reject(c.failures[0]):c.lastResult}).then(function(c){if(a)try{Pa(t,a,c)}catch{}return c})},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?St.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:NP})}).then(function(n){return n.numFailures?St.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(o){return o.map(function(i){return n.hook.reading.fire(i)})})})},e.prototype.bulkAdd=function(t,n,r){var o=this,i=Array.isArray(n)?n:void 0;r=r||(i?void 0:n);var a=r?r.allKeys:void 0;return this._trans("readwrite",function(s){var c=o.schema.primKey,l=c.auto,u=c.keyPath;if(u&&i)throw new zt.InvalidArgument("bulkAdd(): keys argument invalid on tables with inbound keys");if(i&&i.length!==t.length)throw new zt.InvalidArgument("Arguments objects and keys must have the same length");var f=t.length,d=u&&l?t.map(rm(u)):t;return o.core.mutate({trans:s,type:"add",keys:i,values:d,wantResults:a}).then(function(h){var p=h.numFailures,m=h.results,A=h.lastResult,x=h.failures,R=a?m:A;if(p===0)return R;throw new hh(o.name+".bulkAdd(): "+p+" of "+f+" operations failed",Object.keys(x).map(function(y){return x[y]}))})})},e.prototype.bulkPut=function(t,n,r){var o=this,i=Array.isArray(n)?n:void 0;r=r||(i?void 0:n);var a=r?r.allKeys:void 0;return this._trans("readwrite",function(s){var c=o.schema.primKey,l=c.auto,u=c.keyPath;if(u&&i)throw new zt.InvalidArgument("bulkPut(): keys argument invalid on tables with inbound keys");if(i&&i.length!==t.length)throw new zt.InvalidArgument("Arguments objects and keys must have the same length");var f=t.length,d=u&&l?t.map(rm(u)):t;return o.core.mutate({trans:s,type:"put",keys:i,values:d,wantResults:a}).then(function(h){var p=h.numFailures,m=h.results,A=h.lastResult,x=h.failures,R=a?m:A;if(p===0)return R;throw new hh(o.name+".bulkPut(): "+p+" of "+f+" operations failed",Object.keys(x).map(function(y){return x[y]}))})})},e.prototype.bulkDelete=function(t){var n=this,r=t.length;return this._trans("readwrite",function(o){return n.core.mutate({trans:o,type:"delete",keys:t})}).then(function(o){var i=o.numFailures,a=o.lastResult,s=o.failures;if(i===0)return a;throw new hh(n.name+".bulkDelete(): "+i+" of "+r+" operations failed",s)})},e}();function Qg(e){var t={},n=function(s,c){if(c){for(var l=arguments.length,u=new Array(l-1);--l;)u[l-1]=arguments[l];return t[s].subscribe.apply(null,u),e}else if(typeof s=="string")return t[s]};n.addEventType=i;for(var r=1,o=arguments.length;r<o;++r)i(arguments[r]);return n;function i(s,c,l){if(typeof s=="object")return a(s);c||(c=oJ),l||(l=zn);var u={subscribers:[],fire:l,subscribe:function(f){u.subscribers.indexOf(f)===-1&&(u.subscribers.push(f),u.fire=c(u.fire,f))},unsubscribe:function(f){u.subscribers=u.subscribers.filter(function(d){return d!==f}),u.fire=u.subscribers.reduce(c,l)}};return t[s]=n[s]=u,u}function a(s){oo(s).forEach(function(c){var l=s[c];if(Co(l))i(c,s[c][0],s[c][1]);else if(l==="asap")var u=i(c,Sp,function(){for(var d=arguments.length,h=new Array(d);d--;)h[d]=arguments[d];u.subscribers.forEach(function(p){aP(function(){p.apply(null,h)})})});else throw new zt.InvalidArgument("Invalid event config")})}}function Tp(e,t){return Qd(t).from({prototype:e}),t}function RJ(e){return Tp(AJ.prototype,function(n,r,o){this.db=e,this._tx=o,this.name=n,this.schema=r,this.hook=e._allTables[n]?e._allTables[n].hook:Qg(null,{creating:[tJ,zn],reading:[eJ,Sp],updating:[rJ,zn],deleting:[nJ,zn]})})}function p0(e,t){return!(e.filter||e.algorithm||e.or)&&(t?e.justLimit:!e.replayFilter)}function cR(e,t){e.filter=Fu(e.filter,t)}function uR(e,t,n){var r=e.replayFilter;e.replayFilter=r?function(){return Fu(r(),t())}:t,e.justLimit=n&&!r}function yJ(e,t){e.isMatch=Fu(e.isMatch,t)}function Ym(e,t){if(e.isPrimKey)return t.primaryKey;var n=t.getIndexByKeyPath(e.index);if(!n)throw new zt.Schema("KeyPath "+e.index+" on object store "+t.name+" is not indexed");return n}function _M(e,t,n){var r=Ym(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 om(e,t,n,r){var o=e.replayFilter?Fu(e.filter,e.replayFilter()):e.filter;if(e.or){var i={},a=function(s,c,l){if(!o||o(c,l,function(d){return c.stop(d)},function(d){return c.fail(d)})){var u=c.primaryKey,f=""+u;f==="[object ArrayBuffer]"&&(f=""+new Uint8Array(u)),ea(i,f)||(i[f]=!0,t(s,c,l))}};return Promise.all([e.or._iterate(a,n),XM(_M(e,r,n),e.algorithm,a,!e.keysOnly&&e.valueMapper)])}else return XM(_M(e,r,n),Fu(e.algorithm,o),t,!e.keysOnly&&e.valueMapper)}function XM(e,t,n,r){var o=r?function(a,s,c){return n(r(a),s,c)}:n,i=hr(o);return e.then(function(a){if(a)return a.start(function(){var s=function(){return a.continue()};(!t||t(a,function(c){return s=c},function(c){a.stop(c),s=zn},function(c){a.fail(c),s=zn}))&&i(a.value,a,function(c){return s=c}),s()})})}var xJ=function(){function e(){}return e.prototype._read=function(t,n){var r=this._ctx;return r.error?r.table._trans(null,go.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,go.bind(null,n.error)):n.table._trans("readwrite",t,"locked")},e.prototype._addAlgorithm=function(t){var n=this._ctx;n.algorithm=Fu(n.algorithm,t)},e.prototype._iterate=function(t,n){return om(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&&qi(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 om(n,t,r,n.table.core)})},e.prototype.count=function(t){var n=this;return this._read(function(r){var o=n._ctx,i=o.table.core;if(p0(o,!0))return i.count({trans:r,query:{index:Ym(o,i.schema),range:o.range}}).then(function(s){return Math.min(s,o.limit)});var a=0;return om(o,function(){return++a,!1},r,i).then(function(){return a})}).then(t)},e.prototype.sortBy=function(t,n){var r=t.split(".").reverse(),o=r[0],i=r.length-1;function a(l,u){return u?a(l[r[u]],u-1):l[o]}var s=this._ctx.dir==="next"?1:-1;function c(l,u){var f=a(l,i),d=a(u,i);return f<d?-s:f>d?s:0}return this.toArray(function(l){return l.sort(c)}).then(n)},e.prototype.toArray=function(t){var n=this;return this._read(function(r){var o=n._ctx;if(o.dir==="next"&&p0(o,!0)&&o.limit>0){var i=o.valueMapper,a=Ym(o,o.table.core.schema);return o.table.core.query({trans:r,limit:o.limit,values:!0,query:{index:a,range:o.range}}).then(function(c){var l=c.result;return i?l.map(i):l})}else{var s=[];return om(o,function(c){return s.push(c)},r,o.table.core).then(function(){return s})}},t)},e.prototype.offset=function(t){var n=this._ctx;return t<=0?this:(n.offset+=t,p0(n)?uR(n,function(){var r=t;return function(o,i){return r===0?!0:r===1?(--r,!1):(i(function(){o.advance(r),r=0}),!1)}}):uR(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),uR(this._ctx,function(){var n=t;return function(r,o,i){return--n<=0&&o(i),n>=0}},!0),this},e.prototype.until=function(t,n){return cR(this._ctx,function(r,o,i){return t(r.value)?(o(i),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 cR(this._ctx,function(n){return t(n.value)}),yJ(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,o){t(o.key,o)})},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,o){t(o.primaryKey,o)})},e.prototype.keys=function(t){var n=this._ctx;n.keysOnly=!n.isMatch;var r=[];return this.each(function(o,i){r.push(i.key)}).then(function(){return r}).then(t)},e.prototype.primaryKeys=function(t){var n=this._ctx;if(n.dir==="next"&&p0(n,!0)&&n.limit>0)return this._read(function(o){var i=Ym(n,n.table.core.schema);return n.table.core.query({trans:o,values:!1,limit:n.limit,query:{index:i,range:n.range}})}).then(function(o){var i=o.result;return i}).then(t);n.keysOnly=!n.isMatch;var r=[];return this.each(function(o,i){r.push(i.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 cR(this._ctx,function(o){var i=o.primaryKey.toString(),a=ea(r,i);return r[i]=!0,!a}),this},e.prototype.modify=function(t){var n=this,r=this._ctx;return this._write(function(o){var i;if(typeof t=="function")i=t;else{var a=oo(t),s=a.length;i=function(R){for(var y=!1,g=0;g<s;++g){var S=a[g],L=t[S];us(R,S)!==L&&(Pa(R,S,L),y=!0)}return y}}var c=r.table.core,l=c.schema.primaryKey,u=l.outbound,f=l.extractKey,d="testmode"in _u?1:2e3,h=n.db.core.cmp,p=[],m=0,A=[],x=function(R,y){var g=y.failures,S=y.numFailures;m+=R-S;for(var L=0,T=oo(g);L<T.length;L++){var M=T[L];p.push(g[M])}};return n.clone().primaryKeys().then(function(R){var y=function(g){var S=Math.min(d,R.length-g);return c.getMany({trans:o,keys:R.slice(g,g+S)}).then(function(L){for(var T=[],M=[],O=u?[]:null,k=[],_=0;_<S;++_){var N=L[_],X={value:Jh(N),primKey:R[g+_]};i.call(X,X.value,X)!==!1&&(X.value==null?k.push(R[g+_]):!u&&h(f(N),f(X.value))!==0?(k.push(R[g+_]),T.push(X.value)):(M.push(X.value),u&&O.push(R[g+_])))}return Promise.resolve(T.length>0&&c.mutate({trans:o,type:"add",values:T}).then(function(C){for(var F in C.failures)k.splice(parseInt(F),1);x(T.length,C)})).then(function(C){return M.length>0&&c.mutate({trans:o,type:"put",keys:O,values:M}).then(function(F){return x(M.length,F)})}).then(function(){return k.length>0&&c.mutate({trans:o,type:"delete",keys:k}).then(function(C){return x(k.length,C)})}).then(function(){return R.length>g+S&&y(g+d)})})};return y(0).then(function(){if(p.length>0)throw new Pv("Error modifying one or more objects",p,m,A);return R.length})})})},e.prototype.delete=function(){var t=this._ctx,n=t.range;return p0(t)&&(t.isPrimKey&&!gJ||n.type===3)?this._write(function(r){var o=t.table.core.schema.primaryKey,i=n;return t.table.core.count({trans:r,query:{index:o,range:i}}).then(function(a){return t.table.core.mutate({trans:r,type:"deleteRange",range:i}).then(function(s){var c=s.failures;s.lastResult,s.results;var l=s.numFailures;if(l)throw new Pv("Could not delete some values",Object.keys(c).map(function(u){return c[u]}),a-l);return a-l})})}):this.modify(function(r,o){return o.value=null})},e}();function bJ(e){return Tp(xJ.prototype,function(n,r){this.db=e;var o=NP,i=null;if(r)try{o=r()}catch(l){i=l}var a=n._ctx,s=a.table,c=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:o,keysOnly:!1,dir:"next",unique:"",algorithm:null,filter:null,replayFilter:null,justLimit:!0,isMatch:null,offset:0,limit:1/0,error:i,or:a.or,valueMapper:c!==Sp?c:null}})}function SJ(e,t){return e<t?-1:e===t?0:1}function MJ(e,t){return e>t?-1:e===t?0:1}function pi(e,t,n){var r=e instanceof CP?new e.Collection(e):e;return r._ctx.error=n?new n(t):new TypeError(t),r}function bf(e){return new e.Collection(e,function(){return PP("")}).limit(0)}function wJ(e){return e==="next"?function(t){return t.toUpperCase()}:function(t){return t.toLowerCase()}}function LJ(e){return e==="next"?function(t){return t.toLowerCase()}:function(t){return t.toUpperCase()}}function OJ(e,t,n,r,o,i){for(var a=Math.min(e.length,r.length),s=-1,c=0;c<a;++c){var l=t[c];if(l!==r[c])return o(e[c],n[c])<0?e.substr(0,c)+n[c]+n.substr(c+1):o(e[c],r[c])<0?e.substr(0,c)+r[c]+n.substr(c+1):s>=0?e.substr(0,s)+t[s]+n.substr(s+1):null;o(e[c],l)<0&&(s=c)}return a<r.length&&i==="next"?e+n.substr(e.length):a<e.length&&i==="prev"?e.substr(0,n.length):s<0?null:e.substr(0,s)+r[s]+n.substr(s+1)}function im(e,t,n,r){var o,i,a,s,c,l,u,f=n.length;if(!n.every(function(m){return typeof m=="string"}))return pi(e,TP);function d(m){o=wJ(m),i=LJ(m),a=m==="next"?SJ:MJ;var A=n.map(function(x){return{lower:i(x),upper:o(x)}}).sort(function(x,R){return a(x.lower,R.lower)});s=A.map(function(x){return x.upper}),c=A.map(function(x){return x.lower}),l=m,u=m==="next"?"":r}d("next");var h=new e.Collection(e,function(){return Cl(s[0],c[f-1]+r)});h._ondirectionchange=function(m){d(m)};var p=0;return h._addAlgorithm(function(m,A,x){var R=m.key;if(typeof R!="string")return!1;var y=i(R);if(t(y,c,p))return!0;for(var g=null,S=p;S<f;++S){var L=OJ(R,y,s[S],c[S],a,l);L===null&&g===null?p=S+1:(g===null||a(g,L)>0)&&(g=L)}return A(g!==null?function(){m.continue(g+u)}:x),!1}),h}function Cl(e,t,n,r){return{type:2,lower:e,upper:t,lowerOpen:n,upperOpen:r}}function PP(e){return{type:1,lower:e,upper:e}}var CP=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,o){r=r!==!1,o=o===!0;try{return this._cmp(t,n)>0||this._cmp(t,n)===0&&(r||o)&&!(r&&o)?bf(this):new this.Collection(this,function(){return Cl(t,n,!r,!o)})}catch{return pi(this,_s)}},e.prototype.equals=function(t){return t==null?pi(this,_s):new this.Collection(this,function(){return PP(t)})},e.prototype.above=function(t){return t==null?pi(this,_s):new this.Collection(this,function(){return Cl(t,void 0,!0)})},e.prototype.aboveOrEqual=function(t){return t==null?pi(this,_s):new this.Collection(this,function(){return Cl(t,void 0,!1)})},e.prototype.below=function(t){return t==null?pi(this,_s):new this.Collection(this,function(){return Cl(void 0,t,!1,!0)})},e.prototype.belowOrEqual=function(t){return t==null?pi(this,_s):new this.Collection(this,function(){return Cl(void 0,t)})},e.prototype.startsWith=function(t){return typeof t!="string"?pi(this,TP):this.between(t,t+Hf,!0,!0)},e.prototype.startsWithIgnoreCase=function(t){return t===""?this.startsWith(t):im(this,function(n,r){return n.indexOf(r[0])===0},[t],Hf)},e.prototype.equalsIgnoreCase=function(t){return im(this,function(n,r){return n===r[0]},[t],"")},e.prototype.anyOfIgnoreCase=function(){var t=Hs.apply(Xf,arguments);return t.length===0?bf(this):im(this,function(n,r){return r.indexOf(n)!==-1},t,"")},e.prototype.startsWithAnyOfIgnoreCase=function(){var t=Hs.apply(Xf,arguments);return t.length===0?bf(this):im(this,function(n,r){return r.some(function(o){return n.indexOf(o)===0})},t,Hf)},e.prototype.anyOf=function(){var t=this,n=Hs.apply(Xf,arguments),r=this._cmp;try{n.sort(r)}catch{return pi(this,_s)}if(n.length===0)return bf(this);var o=new this.Collection(this,function(){return Cl(n[0],n[n.length-1])});o._ondirectionchange=function(a){r=a==="next"?t._ascending:t._descending,n.sort(r)};var i=0;return o._addAlgorithm(function(a,s,c){for(var l=a.key;r(l,n[i])>0;)if(++i,i===n.length)return s(c),!1;return r(l,n[i])===0?!0:(s(function(){a.continue(n[i])}),!1)}),o},e.prototype.notEqual=function(t){return this.inAnyRange([[t3,t],[t,this.db._maxKey]],{includeLowers:!1,includeUppers:!1})},e.prototype.noneOf=function(){var t=Hs.apply(Xf,arguments);if(t.length===0)return new this.Collection(this);try{t.sort(this._ascending)}catch{return pi(this,_s)}var n=t.reduce(function(r,o){return r?r.concat([[r[r.length-1][1],o]]):[[t3,o]]},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,o=this._cmp,i=this._ascending,a=this._descending,s=this._min,c=this._max;if(t.length===0)return bf(this);if(!t.every(function(S){return S[0]!==void 0&&S[1]!==void 0&&i(S[0],S[1])<=0}))return pi(this,"First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower",zt.InvalidArgument);var l=!n||n.includeLowers!==!1,u=n&&n.includeUppers===!0;function f(S,L){for(var T=0,M=S.length;T<M;++T){var O=S[T];if(o(L[0],O[1])<0&&o(L[1],O[0])>0){O[0]=s(O[0],L[0]),O[1]=c(O[1],L[1]);break}}return T===M&&S.push(L),S}var d=i;function h(S,L){return d(S[0],L[0])}var p;try{p=t.reduce(f,[]),p.sort(h)}catch{return pi(this,_s)}var m=0,A=u?function(S){return i(S,p[m][1])>0}:function(S){return i(S,p[m][1])>=0},x=l?function(S){return a(S,p[m][0])>0}:function(S){return a(S,p[m][0])>=0};function R(S){return!A(S)&&!x(S)}var y=A,g=new this.Collection(this,function(){return Cl(p[0][0],p[p.length-1][1],!l,!u)});return g._ondirectionchange=function(S){S==="next"?(y=A,d=i):(y=x,d=a),p.sort(h)},g._addAlgorithm(function(S,L,T){for(var M=S.key;y(M);)if(++m,m===p.length)return L(T),!1;return R(M)?!0:(r._cmp(M,p[m][1])===0||r._cmp(M,p[m][0])===0||L(function(){d===i?S.continue(p[m][0]):S.continue(p[m][1])}),!1)}),g},e.prototype.startsWithAnyOf=function(){var t=Hs.apply(Xf,arguments);return t.every(function(n){return typeof n=="string"})?t.length===0?bf(this):this.inAnyRange(t.map(function(n){return[n,n+Hf]})):pi(this,"startsWithAnyOf() only works with strings")},e}();function TJ(e){return Tp(CP.prototype,function(n,r,o){this.db=e,this._ctx={table:n,index:r===":id"?null:r,or:o};var i=e._deps.indexedDB;if(!i)throw new zt.MissingAPI("indexedDB API missing");this._cmp=this._ascending=i.cmp.bind(i),this._descending=function(a,s){return i.cmp(s,a)},this._max=function(a,s){return i.cmp(a,s)>0?a:s},this._min=function(a,s){return i.cmp(a,s)<0?a:s},this._IDBKeyRange=e._deps.IDBKeyRange})}function IP(e){return e.length===1?e[0]:e}function Ab(e){try{return e.only([[]]),[[]]}catch{return Hf}}function ja(e){return hr(function(t){return $h(t),e(t.target.error),!1})}function $h(e){e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault()}var kJ=function(){function e(){}return e.prototype._lock=function(){return _0(!Et.global),++this._reculock,this._reculock===1&&!Et.global&&(Et.lockOwnerFor=this),this},e.prototype._unlock=function(){if(_0(!Et.global),--this._reculock===0)for(Et.global||(Et.lockOwnerFor=null);this._blockedFuncs.length>0&&!this._locked();){var t=this._blockedFuncs.shift();try{Op(t[1],t[0])}catch{}}return this},e.prototype._locked=function(){return this._reculock&&Et.lockOwnerFor!==this},e.prototype.create=function(t){var n=this;if(!this.mode)return this;var r=this.db.idbdb,o=this.db._state.dbOpenError;if(_0(!this.idbtrans),!t&&!r)switch(o&&o.name){case"DatabaseClosedError":throw new zt.DatabaseClosed(o);case"MissingAPIError":throw new zt.MissingAPI(o.message,o);default:throw new zt.OpenFailed(o)}if(!this.active)throw new zt.TransactionInactive;return _0(this._completion._state===null),t=this.idbtrans=t||r.transaction(IP(this.storeNames),this.mode),t.onerror=hr(function(i){$h(i),n._reject(t.error)}),t.onabort=hr(function(i){$h(i),n.active&&n._reject(new zt.Abort(t.error)),n.active=!1,n.on("abort").fire(i)}),t.oncomplete=hr(function(){n.active=!1,n._resolve()}),this},e.prototype._promise=function(t,n,r){var o=this;if(t==="readwrite"&&this.mode!=="readwrite")return go(new zt.ReadOnly("Transaction is readonly"));if(!this.active)return go(new zt.TransactionInactive);if(this._locked())return new St(function(a,s){o._blockedFuncs.push([function(){o._promise(t,n,r).then(a,s)},Et])});if(r)return Cu(function(){var a=new St(function(s,c){o._lock();var l=n(s,c,o);l&&l.then&&l.then(s,c)});return a.finally(function(){return o._unlock()}),a._lib=!0,a});var i=new St(function(a,s){var c=n(a,s,o);c&&c.then&&c.then(a,s)});return i._lib=!0,i},e.prototype._root=function(){return this.parent?this.parent._root():this},e.prototype.waitFor=function(t){var n=this._root(),r=St.resolve(t);if(n._waitingFor)n._waitingFor=n._waitingFor.then(function(){return r});else{n._waitingFor=r,n._waitingQueue=[];var o=n.idbtrans.objectStore(n.storeNames[0]);(function a(){for(++n._spinCount;n._waitingQueue.length;)n._waitingQueue.shift()();n._waitingFor&&(o.get(-1/0).onsuccess=a)})()}var i=n._waitingFor;return new St(function(a,s){r.then(function(c){return n._waitingQueue.push(hr(a.bind(null,c)))},function(c){return n._waitingQueue.push(hr(s.bind(null,c)))}).finally(function(){n._waitingFor===i&&(n._waitingFor=null)})})},e.prototype.abort=function(){this.active&&this._reject(new zt.Abort),this.active=!1},e.prototype.table=function(t){var n=this._memoizedTables||(this._memoizedTables={});if(ea(n,t))return n[t];var r=this.schema[t];if(!r)throw new zt.NotFound("Table "+t+" not part of transaction");var o=new this.db.Table(t,r,this);return o.core=this.db.core.table(t),n[t]=o,o},e}();function NJ(e){return Tp(kJ.prototype,function(n,r,o,i){var a=this;this.db=e,this.mode=n,this.storeNames=r,this.schema=o,this.idbtrans=null,this.on=Qg(this,"complete","error","abort"),this.parent=i||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 St(function(s,c){a._resolve=s,a._reject=c}),this._completion.then(function(){a.active=!1,a.on.complete.fire()},function(s){var c=a.active;return a.active=!1,a.on.error.fire(s),a.parent?a.parent._reject(s):c&&a.idbtrans&&a.idbtrans.abort(),go(s)})})}function n3(e,t,n,r,o,i,a){return{name:e,keyPath:t,unique:n,multi:r,auto:o,compound:i,src:(n&&!a?"&":"")+(r?"*":"")+(o?"++":"")+FP(t)}}function FP(e){return typeof e=="string"?e:e?"["+[].join.call(e,"+")+"]":""}function _P(e,t,n){return{name:e,primKey:t,indexes:n,mappedClass:null,idxByName:sP(n,function(r){return[r.name,r]})}}function r3(e){return e==null?function(){}:typeof e=="string"?PJ(e):function(t){return us(t,e)}}function PJ(e){var t=e.split(".");return t.length===1?function(n){return n[e]}:function(n){return us(n,e)}}function XP(e,t){return t.type==="delete"?t.keys:t.keys||t.values.map(e.extractKey)}function CJ(e,t,n){return t.type==="add"?Promise.resolve(new Array(t.values.length)):e.getMany({trans:t.trans,keys:n})}function EM(e){return[].slice.call(e)}var IJ=0;function mh(e){return e==null?":id":typeof e=="string"?e:"["+e.join("+")+"]"}function FJ(e,t,n,r){var o=t.cmp.bind(t);function i(h,p){var m=EM(h.objectStoreNames);return{schema:{name:h.name,tables:m.map(function(A){return p.objectStore(A)}).map(function(A){var x=A.keyPath,R=A.autoIncrement,y=Co(x),g=x==null,S={},L={name:A.name,primaryKey:{name:null,isPrimaryKey:!0,outbound:g,compound:y,keyPath:x,autoIncrement:R,unique:!0,extractKey:r3(x)},indexes:EM(A.indexNames).map(function(T){return A.index(T)}).map(function(T){var M=T.name,O=T.unique,k=T.multiEntry,_=T.keyPath,N=Co(_),X={name:M,compound:N,keyPath:_,unique:O,multiEntry:k,extractKey:r3(_)};return S[mh(_)]=X,X}),getIndexByKeyPath:function(T){return S[mh(T)]}};return S[":id"]=L.primaryKey,x!=null&&(S[mh(x)]=L.primaryKey),L})},hasGetAll:m.length>0&&"getAll"in p.objectStore(m[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,m=h.upper,A=h.lowerOpen,x=h.upperOpen,R=p===void 0?m===void 0?null:n.upperBound(m,!!x):m===void 0?n.lowerBound(p,!!A):n.bound(p,m,!!A,!!x);return R}function s(h){var p=h.name;function m(R){var y=R.trans,g=R.type,S=R.keys,L=R.values,T=R.range,M=R.wantResults;return new Promise(function(O,k){O=hr(O);var _=y.objectStore(p),N=_.keyPath==null,X=g==="put"||g==="add";if(!X&&g!=="delete"&&g!=="deleteRange")throw new Error("Invalid operation type: "+g);var C=(S||L||{length:1}).length;if(S&&L&&S.length!==L.length)throw new Error("Given keys array must have same length as given values array.");if(C===0)return O({numFailures:0,failures:{},results:[],lastResult:void 0});var F=M&&Z4(S||XP(h.primaryKey,{type:g,keys:S,values:L})),I,V=[],B=0,G=function(le){++B,$h(le),F&&(F[le.target._reqno]=void 0),V[le.target._reqno]=le.target.error},ne=function(le){var ie=le.target;F[ie._reqno]=ie.result};if(g==="deleteRange"){if(T.type===4)return O({numFailures:B,failures:V,results:F,lastResult:void 0});T.type===3?I=_.clear():I=_.delete(a(T))}else{var E=X?N?[L,S]:[L,null]:[S,null],Z=E[0],K=E[1];if(X)for(var U=0;U<C;++U)I=K&&K[U]!==void 0?_[g](Z[U],K[U]):_[g](Z[U]),I._reqno=U,F&&F[U]===void 0&&(I.onsuccess=ne),I.onerror=G;else for(var U=0;U<C;++U)I=_[g](Z[U]),I._reqno=U,I.onerror=G}var J=function(le){var ie=le.target.result;F&&(F[C-1]=ie),O({numFailures:B,failures:V,results:F,lastResult:ie})};I.onerror=function(le){G(le),J(le)},I.onsuccess=J})}function A(R){var y=R.trans,g=R.values,S=R.query,L=R.reverse,T=R.unique;return new Promise(function(M,O){M=hr(M);var k=S.index,_=S.range,N=y.objectStore(p),X=k.isPrimaryKey?N:N.index(k.name),C=L?T?"prevunique":"prev":T?"nextunique":"next",F=g||!("openKeyCursor"in X)?X.openCursor(a(_),C):X.openKeyCursor(a(_),C);F.onerror=ja(O),F.onsuccess=hr(function(I){var V=F.result;if(!V){M(null);return}V.___id=++IJ,V.done=!1;var B=V.continue.bind(V),G=V.continuePrimaryKey;G&&(G=G.bind(V));var ne=V.advance.bind(V),E=function(){throw new Error("Cursor not started")},Z=function(){throw new Error("Cursor not stopped")};V.trans=y,V.stop=V.continue=V.continuePrimaryKey=V.advance=E,V.fail=hr(O),V.next=function(){var K=this,U=1;return this.start(function(){return U--?K.continue():K.stop()}).then(function(){return K})},V.start=function(K){var U=new Promise(function(le,ie){le=hr(le),F.onerror=ja(ie),V.fail=ie,V.stop=function(oe){V.stop=V.continue=V.continuePrimaryKey=V.advance=Z,le(oe)}}),J=function(){if(F.result)try{K()}catch(le){V.fail(le)}else V.done=!0,V.start=function(){throw new Error("Cursor behind last entry")},V.stop()};return F.onsuccess=hr(function(le){F.onsuccess=J,J()}),V.continue=B,V.continuePrimaryKey=G,V.advance=ne,J(),U},M(V)},O)})}function x(R){return function(y){return new Promise(function(g,S){g=hr(g);var L=y.trans,T=y.values,M=y.limit,O=y.query,k=M===1/0?void 0:M,_=O.index,N=O.range,X=L.objectStore(p),C=_.isPrimaryKey?X:X.index(_.name),F=a(N);if(M===0)return g({result:[]});if(R){var I=T?C.getAll(F,k):C.getAllKeys(F,k);I.onsuccess=function(ne){return g({result:ne.target.result})},I.onerror=ja(S)}else{var V=0,B=T||!("openKeyCursor"in C)?C.openCursor(F):C.openKeyCursor(F),G=[];B.onsuccess=function(ne){var E=B.result;if(!E)return g({result:G});if(G.push(T?E.value:E.primaryKey),++V===M)return g({result:G});E.continue()},B.onerror=ja(S)}})}}return{name:p,schema:h,mutate:m,getMany:function(R){var y=R.trans,g=R.keys;return new Promise(function(S,L){S=hr(S);for(var T=y.objectStore(p),M=g.length,O=new Array(M),k=0,_=0,N,X=function(V){var B=V.target;(O[B._pos]=B.result)!=null,++_===k&&S(O)},C=ja(L),F=0;F<M;++F){var I=g[F];I!=null&&(N=T.get(g[F]),N._pos=F,N.onsuccess=X,N.onerror=C,++k)}k===0&&S(O)})},get:function(R){var y=R.trans,g=R.key;return new Promise(function(S,L){S=hr(S);var T=y.objectStore(p),M=T.get(g);M.onsuccess=function(O){return S(O.target.result)},M.onerror=ja(L)})},query:x(u),openCursor:A,count:function(R){var y=R.query,g=R.trans,S=y.index,L=y.range;return new Promise(function(T,M){var O=g.objectStore(p),k=S.isPrimaryKey?O:O.index(S.name),_=a(L),N=_?k.count(_):k.count();N.onsuccess=hr(function(X){return T(X.target.result)}),N.onerror=ja(M)})}}}var c=i(e,r),l=c.schema,u=c.hasGetAll,f=l.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:o,MIN_KEY:-1/0,MAX_KEY:Ab(n),schema:l}}function _J(e,t){return t.reduce(function(n,r){var o=r.create;return Jn(Jn({},n),o(n))},e)}function XJ(e,t,n,r){var o=n.IDBKeyRange,i=n.indexedDB,a=_J(FJ(t,i,o,r),e.dbcore);return{dbcore:a}}function Rb(e,t){var n=t.db,r=XJ(e._middlewares,n,e._deps,t);e.core=r.dbcore,e.tables.forEach(function(o){var i=o.name;e.core.schema.tables.some(function(a){return a.name===i})&&(o.core=e.core.table(i),e[i]instanceof e.Table&&(e[i].core=o.core))})}function Ev(e,t,n,r){n.forEach(function(o){var i=r[o];t.forEach(function(a){var s=ub(a,o);(!s||"value"in s&&s.value===void 0)&&(a===e.Transaction.prototype||a instanceof e.Transaction?al(a,o,{get:function(){return this.table(o)},set:function(c){oP(this,o,{value:c,writable:!0,configurable:!0,enumerable:!0})}}):a[o]=new e.Table(o,i))})})}function o3(e,t){t.forEach(function(n){for(var r in n)n[r]instanceof e.Table&&delete n[r]})}function EJ(e,t){return e._cfg.version-t._cfg.version}function WJ(e,t,n,r){var o=e._dbSchema,i=e._createTransaction("readwrite",e._storeNames,o);i.create(n),i._completion.catch(r);var a=i._reject.bind(i),s=Et.transless||Et;Cu(function(){Et.trans=i,Et.transless=s,t===0?(oo(o).forEach(function(c){yb(n,c,o[c].primKey,o[c].indexes)}),Rb(e,n),St.follow(function(){return e.on.populate.fire(i)}).catch(a)):VJ(e,t,i,n).catch(a)})}function VJ(e,t,n,r){var o=[],i=e._versions,a=e._dbSchema=xb(e,e.idbdb,r),s=!1,c=i.filter(function(u){return u._cfg.version>=t});c.forEach(function(u){o.push(function(){var f=a,d=u._cfg.dbschema;a3(e,f,r),a3(e,d,r),a=e._dbSchema=d;var h=EP(f,d);h.add.forEach(function(y){yb(r,y[0],y[1].primKey,y[1].indexes)}),h.change.forEach(function(y){if(y.recreate)throw new zt.Upgrade("Not yet support for changing primary key");var g=r.objectStore(y.name);y.add.forEach(function(S){return i3(g,S)}),y.change.forEach(function(S){g.deleteIndex(S.name),i3(g,S)}),y.del.forEach(function(S){return g.deleteIndex(S)})});var p=u._cfg.contentUpgrade;if(p&&u._cfg.version>t){Rb(e,r),n._memoizedTables={},s=!0;var m=cP(d);h.del.forEach(function(y){m[y]=f[y]}),o3(e,[e.Transaction.prototype]),Ev(e,[e.Transaction.prototype],oo(m),m),n.schema=m;var A=dP(p);A&&Lp();var x,R=St.follow(function(){if(x=p(n),x&&A){var y=Iu.bind(null,null);x.then(y,y)}});return x&&typeof x.then=="function"?St.resolve(x):R.then(function(){return x})}}),o.push(function(f){if(!s||!vJ){var d=u._cfg.dbschema;YJ(d,f)}o3(e,[e.Transaction.prototype]),Ev(e,[e.Transaction.prototype],e._storeNames,e._dbSchema),n.schema=e._dbSchema})});function l(){return o.length?St.resolve(o.shift()(n.idbtrans)).then(l):St.resolve()}return l().then(function(){UJ(a,r)})}function EP(e,t){var n={del:[],add:[],change:[]},r;for(r in e)t[r]||n.del.push(r);for(r in t){var o=e[r],i=t[r];if(!o)n.add.push([r,i]);else{var a={name:r,def:i,recreate:!1,del:[],add:[],change:[]};if(""+(o.primKey.keyPath||"")!=""+(i.primKey.keyPath||"")||o.primKey.auto!==i.primKey.auto&&!gb)a.recreate=!0,n.change.push(a);else{var s=o.idxByName,c=i.idxByName,l=void 0;for(l in s)c[l]||a.del.push(l);for(l in c){var u=s[l],f=c[l];u?u.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 yb(e,t,n,r){var o=e.db.createObjectStore(t,n.keyPath?{keyPath:n.keyPath,autoIncrement:n.auto}:{autoIncrement:n.auto});return r.forEach(function(i){return i3(o,i)}),o}function UJ(e,t){oo(e).forEach(function(n){t.db.objectStoreNames.contains(n)||yb(t,n,e[n].primKey,e[n].indexes)})}function YJ(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 i3(e,t){e.createIndex(t.name,t.keyPath,{unique:t.unique,multiEntry:t.multi})}function xb(e,t,n){var r={},o=Ug(t.objectStoreNames,0);return o.forEach(function(i){for(var a=n.objectStore(i),s=a.keyPath,c=n3(FP(s),s||"",!1,!1,!!a.autoIncrement,s&&typeof s!="string",!0),l=[],u=0;u<a.indexNames.length;++u){var f=a.index(a.indexNames[u]);s=f.keyPath;var d=n3(f.name,s,!!f.unique,!!f.multiEntry,!1,s&&typeof s!="string",!1);l.push(d)}r[i]=_P(i,c,l)}),r}function QJ(e,t,n){e.verno=t.version/10;var r=e._dbSchema=xb(e,t,n);e._storeNames=Ug(t.objectStoreNames,0),Ev(e,[e._allTables],oo(r),r)}function ZJ(e,t){var n=xb(e,e.idbdb,t),r=EP(n,e._dbSchema);return!(r.add.length||r.change.some(function(o){return o.add.length||o.change.length}))}function a3(e,t,n){for(var r=n.db.objectStoreNames,o=0;o<r.length;++o){var i=r[o],a=n.objectStore(i);e._hasGetAll="getAll"in a;for(var s=0;s<a.indexNames.length;++s){var c=a.indexNames[s],l=a.index(c).keyPath,u=typeof l=="string"?l:"["+Ug(l).join("+")+"]";if(t[i]){var f=t[i].idxByName[u];f&&(f.name=c,delete t[i].idxByName[u],t[i].idxByName[c]=f)}}}typeof navigator<"u"&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&qn.WorkerGlobalScope&&qn instanceof qn.WorkerGlobalScope&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604&&(e._hasGetAll=!1)}function BJ(e){return e.split(",").map(function(t,n){t=t.trim();var r=t.replace(/([&*]|\+\+)/g,""),o=/^\[/.test(r)?r.match(/^\[(.*)\]$/)[1].split("+"):r;return n3(r,o||null,/\&/.test(t),/\*/.test(t),/\+\+/.test(t),Co(o),n===0)})}var DJ=function(){function e(){}return e.prototype._parseStoresSpec=function(t,n){oo(t).forEach(function(r){if(t[r]!==null){var o=BJ(t[r]),i=o.shift();if(i.multi)throw new zt.Schema("Primary key cannot be multi-valued");o.forEach(function(a){if(a.auto)throw new zt.Schema("Only primary key can be marked as autoIncrement (++)");if(!a.keyPath)throw new zt.Schema("Index must have a name and cannot be an empty string")}),n[r]=_P(r,i,o)}})},e.prototype.stores=function(t){var n=this.db;this._cfg.storesSource=this._cfg.storesSource?qi(this._cfg.storesSource,t):t;var r=n._versions,o={},i={};return r.forEach(function(a){qi(o,a._cfg.storesSource),i=a._cfg.dbschema={},a._parseStoresSpec(o,i)}),n._dbSchema=i,o3(n,[n._allTables,n,n.Transaction.prototype]),Ev(n,[n._allTables,n,n.Transaction.prototype,this._cfg.tables],oo(i),i),n._storeNames=oo(i),this},e.prototype.upgrade=function(t){return this._cfg.contentUpgrade=t,this},e}();function KJ(e){return Tp(DJ.prototype,function(n){this.db=e,this._cfg={version:n,storesSource:null,dbschema:{},tables:{},contentUpgrade:null}})}var qh;function HJ(e){var t=e&&typeof e.databases=="function",n;if(!t){var r=new _u(nm,{addons:[]});r.version(1).stores({dbnames:"name"}),n=r.table("dbnames")}return{getDatabaseNames:function(){return t?St.resolve(e.databases()).then(function(o){return o.map(function(i){return i.name}).filter(function(i){return i!==nm})}):n.toCollection().primaryKeys()},add:function(o){return!t&&o!==nm&&n.put({name:o}).catch(zn)},remove:function(o){return!t&&o!==nm&&n.delete(o).catch(zn)}}}function GJ(e){try{qh=HJ(e)}catch{}}function s3(e){return Cu(function(){return Et.letThrough=!0,e()})}function JJ(e){var t=e._state,n=e._deps.indexedDB;if(t.isBeingOpened||e.idbdb)return t.dbReadyPromise.then(function(){return t.dbOpenError?go(t.dbOpenError):e});bs&&(t.openCanceller._stackHolder=Zd()),t.isBeingOpened=!0,t.dbOpenError=null,t.openComplete=!1;var r=t.dbReadyResolve,o=null;return St.race([t.openCanceller,new St(function(i,a){if(!n)throw new zt.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,c=t.autoSchema?n.open(s):n.open(s,Math.round(e.verno*10));if(!c)throw new zt.MissingAPI("IndexedDB API not available");c.onerror=ja(a),c.onblocked=hr(e._fireOnBlocked),c.onupgradeneeded=hr(function(l){if(o=c.transaction,t.autoSchema&&!e._options.allowEmptyDB){c.onerror=$h,o.abort(),c.result.close();var u=n.deleteDatabase(s);u.onsuccess=u.onerror=hr(function(){a(new zt.NoSuchDatabase("Database "+s+" doesnt exist"))})}else{o.onerror=ja(a);var f=l.oldVersion>Math.pow(2,62)?0:l.oldVersion;e.idbdb=c.result,WJ(e,f/10,o,a)}},a),c.onsuccess=hr(function(){o=null;var l=e.idbdb=c.result,u=Ug(l.objectStoreNames);if(u.length>0)try{var f=l.transaction(IP(u),"readonly");t.autoSchema?QJ(e,l,f):(a3(e,e._dbSchema,f),ZJ(e,f)||console.warn("Dexie SchemaDiff: Schema was extended without increasing the number passed to db.version(). Some queries may fail.")),Rb(e,f)}catch{}ph.push(e),l.onversionchange=hr(function(d){t.vcFired=!0,e.on("versionchange").fire(d)}),qh.add(s),i()},a)})]).then(function(){return t.onReadyBeingFired=[],St.resolve(s3(e.on.ready.fire)).then(function i(){if(t.onReadyBeingFired.length>0){var a=t.onReadyBeingFired.reduce(gP,zn);return t.onReadyBeingFired=[],St.resolve(s3(a)).then(i)}})}).finally(function(){t.onReadyBeingFired=null}).then(function(){return t.isBeingOpened=!1,e}).catch(function(i){try{o&&o.abort()}catch{}return t.isBeingOpened=!1,e.close(),t.dbOpenError=i,go(t.dbOpenError)}).finally(function(){t.openComplete=!0,r()})}function l3(e){var t=function(a){return e.next(a)},n=function(a){return e.throw(a)},r=i(t),o=i(n);function i(a){return function(s){var c=a(s),l=c.value;return c.done?l:!l||typeof l.then!="function"?Co(l)?Promise.all(l).then(r,o):r(l):l.then(r,o)}}return i(t)()}function zJ(e,t,n){var r=arguments.length;if(r<2)throw new zt.InvalidArgument("Too few arguments");for(var o=new Array(r-1);--r;)o[r-1]=arguments[r];n=o.pop();var i=uP(o);return[e,i,n]}function jJ(e,t,n,r,o){return St.resolve().then(function(){var i=Et.transless||Et,a=e._createTransaction(t,n,e._dbSchema,r),s={trans:a,transless:i};r?a.idbtrans=r.idbtrans:a.create();var c=dP(o);c&&Lp();var l,u=St.follow(function(){if(l=o.call(a,a),l)if(c){var f=Iu.bind(null,null);l.then(f,f)}else typeof l.next=="function"&&typeof l.throw=="function"&&(l=l3(l))},s);return(l&&typeof l.then=="function"?St.resolve(l).then(function(f){return a.active?f:go(new zt.PrematureCommit("Transaction committed too early. See http://bit.ly/2kdckMn"))}):u.then(function(){return l})).then(function(f){return r&&a._resolve(),a._completion.then(function(){return f})}).catch(function(f){return a._reject(f),go(f)})})}function m0(e,t,n){for(var r=Co(e)?e.slice():[e],o=0;o<n;++o)r.push(t);return r}function $J(e){return Jn(Jn({},e),{table:function(t){var n=e.table(t),r=n.schema,o={},i=[];function a(m,A,x){var R=mh(m),y=o[R]=o[R]||[],g=m==null?0:typeof m=="string"?1:m.length,S=A>0,L=Jn(Jn({},x),{isVirtual:S,isPrimaryKey:!S&&x.isPrimaryKey,keyTail:A,keyLength:g,extractKey:r3(m),unique:!S&&x.unique});if(y.push(L),L.isPrimaryKey||i.push(L),g>1){var T=g===2?m[0]:m.slice(0,g-1);a(T,A+1,x)}return y.sort(function(M,O){return M.keyTail-O.keyTail}),L}var s=a(r.primaryKey.keyPath,0,r.primaryKey);o[":id"]=[s];for(var c=0,l=r.indexes;c<l.length;c++){var u=l[c];a(u.keyPath,0,u)}function f(m){var A=o[mh(m)];return A&&A[0]}function d(m,A){return{type:m.type===1?2:m.type,lower:m0(m.lower,m.lowerOpen?e.MAX_KEY:e.MIN_KEY,A),lowerOpen:!0,upper:m0(m.upper,m.upperOpen?e.MIN_KEY:e.MAX_KEY,A),upperOpen:!0}}function h(m){var A=m.query.index;return A.isVirtual?Jn(Jn({},m),{query:{index:A,range:d(m.query.range,A.keyTail)}}):m}var p=Jn(Jn({},n),{schema:Jn(Jn({},r),{primaryKey:s,indexes:i,getIndexByKeyPath:f}),count:function(m){return n.count(h(m))},query:function(m){return n.query(h(m))},openCursor:function(m){var A=m.query.index,x=A.keyTail,R=A.isVirtual,y=A.keyLength;if(!R)return n.openCursor(m);function g(S){function L(M){M!=null?S.continue(m0(M,m.reverse?e.MAX_KEY:e.MIN_KEY,x)):m.unique?S.continue(m0(S.key,m.reverse?e.MIN_KEY:e.MAX_KEY,x)):S.continue()}var T=Object.create(S,{continue:{value:L},continuePrimaryKey:{value:function(M,O){S.continuePrimaryKey(m0(M,e.MAX_KEY,x),O)}},key:{get:function(){var M=S.key;return y===1?M[0]:M.slice(0,y)}},value:{get:function(){return S.value}}});return T}return n.openCursor(h(m)).then(function(S){return S&&g(S)})}});return p}})}var qJ={stack:"dbcore",name:"VirtualIndexMiddleware",level:1,create:$J},ez={stack:"dbcore",name:"HooksMiddleware",level:2,create:function(e){return Jn(Jn({},e),{table:function(t){var n=e.table(t),r=n.schema.primaryKey,o=Jn(Jn({},n),{mutate:function(i){var a=Et.trans,s=a.table(t).hook,c=s.deleting,l=s.creating,u=s.updating;switch(i.type){case"add":if(l.fire===zn)break;return a._promise("readwrite",function(){return f(i)},!0);case"put":if(l.fire===zn&&u.fire===zn)break;return a._promise("readwrite",function(){return f(i)},!0);case"delete":if(c.fire===zn)break;return a._promise("readwrite",function(){return f(i)},!0);case"deleteRange":if(c.fire===zn)break;return a._promise("readwrite",function(){return d(i)},!0)}return n.mutate(i);function f(p){var m=Et.trans,A=p.keys||XP(r,p);if(!A)throw new Error("Keys missing");return p=p.type==="add"||p.type==="put"?Jn(Jn({},p),{keys:A,wantResults:!0}):Jn({},p),p.type!=="delete"&&(p.values=Z4(p.values)),p.keys&&(p.keys=Z4(p.keys)),CJ(n,p,A).then(function(x){var R=A.map(function(y,g){var S=x[g],L={onerror:null,onsuccess:null};if(p.type==="delete")c.fire.call(L,y,S,m);else if(p.type==="add"||S===void 0){var T=l.fire.call(L,y,p.values[g],m);y==null&&T!=null&&(y=T,p.keys[g]=y,r.outbound||Pa(p.values[g],r.keyPath,y))}else{var M=fb(S,p.values[g]),O=u.fire.call(L,M,y,S,m);if(O){var k=p.values[g];Object.keys(O).forEach(function(_){ea(k,_)?k[_]=O[_]:Pa(k,_,O[_])})}}return L});return n.mutate(p).then(function(y){for(var g=y.failures,S=y.results,L=y.numFailures,T=y.lastResult,M=0;M<A.length;++M){var O=S?S[M]:A[M],k=R[M];O==null?k.onerror&&k.onerror(g[M]):k.onsuccess&&k.onsuccess(p.type==="put"&&x[M]?p.values[M]:O)}return{failures:g,results:S,numFailures:L,lastResult:T}}).catch(function(y){return R.forEach(function(g){return g.onerror&&g.onerror(y)}),Promise.reject(y)})})}function d(p){return h(p.trans,p.range,1e4)}function h(p,m,A){return n.query({trans:p,values:!1,query:{index:r,range:m},limit:A}).then(function(x){var R=x.result;return f({type:"delete",keys:R,trans:p}).then(function(y){return y.numFailures>0?Promise.reject(y.failures[0]):R.length<A?{failures:[],numFailures:0,lastResult:void 0}:h(p,Jn(Jn({},m),{lower:R[R.length-1],lowerOpen:!0}),A)})})}}});return o}})}},_u=function(){function e(t,n){var r=this;this._middlewares={},this.verno=0;var o=e.dependencies;this._options=n=Jn({addons:e.addons,autoOpen:!0,indexedDB:o.indexedDB,IDBKeyRange:o.IDBKeyRange},n),this._deps={indexedDB:n.indexedDB,IDBKeyRange:n.IDBKeyRange};var i=n.addons;this._dbSchema={},this._versions=[],this._storeNames=[],this._allTables={},this.idbdb=null;var a={dbOpenError:null,isBeingOpened:!1,onReadyBeingFired:null,openComplete:!1,dbReadyResolve:zn,dbReadyPromise:null,cancelOpen:zn,openCanceller:null,autoSchema:!0};a.dbReadyPromise=new St(function(s){a.dbReadyResolve=s}),a.openCanceller=new St(function(s,c){a.cancelOpen=c}),this._state=a,this.name=t,this.on=Qg(this,"populate","blocked","versionchange",{ready:[gP,zn]}),this.on.ready.subscribe=iP(this.on.ready.subscribe,function(s){return function(c,l){e.vip(function(){var u=r._state;if(u.openComplete)u.dbOpenError||St.resolve().then(c),l&&s(c);else if(u.onReadyBeingFired)u.onReadyBeingFired.push(c),l&&s(c);else{s(c);var f=r;l||s(function d(){f.on.ready.unsubscribe(c),f.on.ready.unsubscribe(d)})}})}}),this.Collection=bJ(this),this.Table=RJ(this),this.Transaction=NJ(this),this.Version=KJ(this),this.WhereClause=TJ(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=Ab(n.IDBKeyRange),this._createTransaction=function(s,c,l,u){return new r.Transaction(s,c,l,u)},this._fireOnBlocked=function(s){r.on("blocked").fire(s),ph.filter(function(c){return c.name===r.name&&c!==r&&!c._state.vcFired}).map(function(c){return c.on("versionchange").fire(s)})},this.use(qJ),this.use(ez),i.forEach(function(s){return s(r)})}return e.prototype.version=function(t){if(isNaN(t)||t<.1)throw new zt.Type("Given version is not a positive number");if(t=Math.round(t*10)/10,this.idbdb||this._state.isBeingOpened)throw new zt.Schema("Cannot add version when database is open");this.verno=Math.max(this.verno,t);var n=this._versions,r=n.filter(function(o){return o._cfg.version===t})[0];return r||(r=new this.Version(t),n.push(r),n.sort(EJ),r.stores({}),this._state.autoSchema=!1,r)},e.prototype._whenReady=function(t){var n=this;return this._state.openComplete||Et.letThrough?t():new St(function(r,o){if(!n._state.isBeingOpened){if(!n._options.autoOpen){o(new zt.DatabaseClosed);return}n.open().catch(zn)}n._state.dbReadyPromise.then(r,o)}).then(t)},e.prototype.use=function(t){var n=t.stack,r=t.create,o=t.level,i=t.name;i&&this.unuse({stack:n,name:i});var a=this._middlewares[n]||(this._middlewares[n]=[]);return a.push({stack:n,create:r,level:o??10,name:i}),a.sort(function(s,c){return s.level-c.level}),this},e.prototype.unuse=function(t){var n=t.stack,r=t.name,o=t.create;return n&&this._middlewares[n]&&(this._middlewares[n]=this._middlewares[n].filter(function(i){return o?i.create!==o:r?i.name!==r:!1})),this},e.prototype.open=function(){return JJ(this)},e.prototype.close=function(){var t=ph.indexOf(this),n=this._state;if(t>=0&&ph.splice(t,1),this.idbdb){try{this.idbdb.close()}catch{}this.idbdb=null}this._options.autoOpen=!1,n.dbOpenError=new zt.DatabaseClosed,n.isBeingOpened&&n.cancelOpen(n.dbOpenError),n.dbReadyPromise=new St(function(r){n.dbReadyResolve=r}),n.openCanceller=new St(function(r,o){n.cancelOpen=o})},e.prototype.delete=function(){var t=this,n=arguments.length>0,r=this._state;return new St(function(o,i){var a=function(){t.close();var s=t._deps.indexedDB.deleteDatabase(t.name);s.onsuccess=hr(function(){qh.remove(t.name),o()}),s.onerror=ja(i),s.onblocked=t._fireOnBlocked};if(n)throw new zt.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 oo(this._allTables).map(function(n){return t._allTables[n]})},enumerable:!0,configurable:!0}),e.prototype.transaction=function(){var t=zJ.apply(this,arguments);return this._transaction.apply(this,t)},e.prototype._transaction=function(t,n,r){var o=this,i=Et.trans;(!i||i.db!==this||t.indexOf("!")!==-1)&&(i=null);var a=t.indexOf("?")!==-1;t=t.replace("!","").replace("?","");var s,c;try{if(c=n.map(function(u){var f=u instanceof o.Table?u.name:u;if(typeof f!="string")throw new TypeError("Invalid table argument to Dexie.transaction(). Only Table or String are allowed");return f}),t=="r"||t===sR)s=sR;else if(t=="rw"||t==lR)s=lR;else throw new zt.InvalidArgument("Invalid transaction mode: "+t);if(i){if(i.mode===sR&&s===lR)if(a)i=null;else throw new zt.SubTransaction("Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY");i&&c.forEach(function(u){if(i&&i.storeNames.indexOf(u)===-1)if(a)i=null;else throw new zt.SubTransaction("Table "+u+" not included in parent transaction.")}),a&&i&&!i.active&&(i=null)}}catch(u){return i?i._promise(null,function(f,d){d(u)}):go(u)}var l=jJ.bind(null,this,s,c,i,r);return i?i._promise(s,l,"lock"):Et.trans?Op(Et.transless,function(){return o._whenReady(l)}):this._whenReady(l)},e.prototype.table=function(t){if(!ea(this._allTables,t))throw new zt.InvalidTable("Table "+t+" does not exist");return this._allTables[t]},e}(),Ql=_u;Gh(Ql,Jn(Jn({},Yg),{delete:function(e){var t=new Ql(e);return t.delete()},exists:function(e){return new Ql(e,{addons:[]}).open().then(function(t){return t.close(),!0}).catch("NoSuchDatabaseError",function(){return!1})},getDatabaseNames:function(e){return qh?qh.getDatabaseNames().then(e):St.resolve([])},defineClass:function(){function e(t){qi(this,t)}return e},ignoreTransaction:function(e){return Et.trans?Op(Et.transless,e):e()},vip:s3,async:function(e){return function(){try{var t=l3(e.apply(this,arguments));return!t||typeof t.then!="function"?St.resolve(t):t}catch(n){return go(n)}}},spawn:function(e,t,n){try{var r=l3(e.apply(n,t||[]));return!r||typeof r.then!="function"?St.resolve(r):r}catch(o){return go(o)}},currentTransaction:{get:function(){return Et.trans||null}},waitFor:function(e,t){var n=St.resolve(typeof e=="function"?Ql.ignoreTransaction(e):e).timeout(t||6e4);return Et.trans?Et.trans.waitFor(n):n},Promise:St,debug:{get:function(){return bs},set:function(e){hP(e,e==="dexie"?function(){return!0}:kP)}},derive:Qd,extend:qi,props:Gh,override:iP,Events:Qg,getByKeyPath:us,setByKeyPath:Pa,delByKeyPath:lP,shallowClone:cP,deepClone:Jh,getObjectDiff:fb,asap:aP,minKey:t3,addons:[],connections:ph,errnames:jG,dependencies:function(){try{return{indexedDB:qn.indexedDB||qn.mozIndexedDB||qn.webkitIndexedDB||qn.msIndexedDB,IDBKeyRange:qn.IDBKeyRange||qn.webkitIDBKeyRange}}catch{return{indexedDB:null,IDBKeyRange:null}}}(),semVer:FM,version:FM.split(".").map(function(e){return parseInt(e)}).reduce(function(e,t,n){return e+t/Math.pow(10,n*2)}),default:Ql,Dexie:Ql}));Ql.maxKey=Ab(Ql.dependencies.IDBKeyRange);GJ(_u.dependencies.indexedDB);St.rejectionMapper=qG;hP(bs,kP);const Wv="PPTIST_DISCARDED_DB",c3="PPTist",tz=async()=>{const e=new Date().getTime(),t=localStorage.getItem(Wv),n=t?JSON.parse(t):[],o=(await _u.getDatabaseNames()).filter(i=>{if(i.indexOf(c3)===-1)return!1;const[a,s,c]=i.split("_");return!!(a!==c3||!s||!c||n.includes(s)||e-+c>=1e3*60*60*12)});for(const i of o)_u.delete(i);localStorage.removeItem(Wv)};class nz extends _u{constructor(){super(`${c3}_${nP}_${new Date().getTime()}`);WA(this,"snapshots");WA(this,"writingBoardImgs");this.version(1).stores({snapshots:"++id",writingBoardImgs:"++id"}),this.snapshots=this.table("snapshots"),this.writingBoardImgs=this.table("writingBoardImgs")}}const xa=new nz,Zg=yp("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=ct(),t={index:e.slideIndex,slides:e.slides};await xa.snapshots.add(t),this.setSnapshotCursor(0),this.setSnapshotLength(1)},async addSnapshot(){const e=ct(),t=await xa.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 xa.snapshots.add(r);let o=t.length-n.length+1;o>20&&(n.push(t[0]),o--),o>=2&&xa.snapshots.update(t[o-2],{index:e.slideIndex}),await xa.snapshots.bulkDelete(n),this.setSnapshotCursor(o-1),this.setSnapshotLength(o)},async unDo(){if(this.snapshotCursor<=0)return;const e=ct(),t=ft(),n=this.snapshotCursor-1,o=(await xa.snapshots.orderBy("id").toArray())[n],{index:i,slides:a}=o,s=i>a.length-1?a.length-1:i;e.setSlides(a),e.updateSlideIndex(s),this.setSnapshotCursor(n),t.setActiveElementIdList([])},async reDo(){if(this.snapshotCursor>=this.snapshotLength-1)return;const e=ct(),t=ft(),n=this.snapshotCursor+1,o=(await xa.snapshots.orderBy("id").toArray())[n],{index:i,slides:a}=o,s=i>a.length-1?a.length-1:i;e.setSlides(a),e.updateSlideIndex(s),this.setSnapshotCursor(n),t.setActiveElementIdList([])}}}),Ss=yp("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}}}),WP=yp("screen",{state:()=>({screening:!1}),actions:{setScreening(e){this.screening=e}}}),E0=(e,t)=>_n.padStart(""+e,t,"0"),rz=()=>!navigator.userAgent.match(/(iPhone|iPod|iPad|Android|Mobile|BlackBerry|Symbian|Windows Phone)/i);var pr=(e=>(e.UP="up",e.DOWN="down",e.TOP="top",e.BOTTOM="bottom",e))(pr||{}),nn=(e=>(e.TOP="top",e.BOTTOM="bottom",e.LEFT="left",e.RIGHT="right",e.VERTICAL="vertical",e.HORIZONTAL="horizontal",e.CENTER="center",e))(nn||{}),W0=(e=>(e.T="top",e.B="bottom",e.L="left",e.R="right",e))(W0||{}),mt=(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))(mt||{}),Go=(e=>(e.START="start",e.END="end",e.C="ctrl",e.C1="ctrl1",e.C2="ctrl2",e))(Go||{}),Rt=(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.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))(Rt||{});const oz=[{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"}]},{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:"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 VP={exports:{}};/*!
* clipboard.js v2.0.11
* https://clipboardjs.com/
*
* Licensed MIT © Zeno Rocha
*/(function(e,t){(function(r,o){e.exports=o()})(Pt,function(){return function(){var n={686:function(i,a,s){s.d(a,{default:function(){return E}});var c=s(279),l=s.n(c),u=s(370),f=s.n(u),d=s(817),h=s.n(d);function p(Z){try{return document.execCommand(Z)}catch{return!1}}var m=function(K){var U=h()(K);return p("cut"),U},A=m;function x(Z){var K=document.documentElement.getAttribute("dir")==="rtl",U=document.createElement("textarea");U.style.fontSize="12pt",U.style.border="0",U.style.padding="0",U.style.margin="0",U.style.position="absolute",U.style[K?"right":"left"]="-9999px";var J=window.pageYOffset||document.documentElement.scrollTop;return U.style.top="".concat(J,"px"),U.setAttribute("readonly",""),U.value=Z,U}var R=function(K,U){var J=x(K);U.container.appendChild(J);var le=h()(J);return p("copy"),J.remove(),le},y=function(K){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},J="";return typeof K=="string"?J=R(K,U):K instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(K==null?void 0:K.type)?J=R(K.value,U):(J=h()(K),p("copy")),J},g=y;function S(Z){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?S=function(U){return typeof U}:S=function(U){return U&&typeof Symbol=="function"&&U.constructor===Symbol&&U!==Symbol.prototype?"symbol":typeof U},S(Z)}var L=function(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},U=K.action,J=U===void 0?"copy":U,le=K.container,ie=K.target,oe=K.text;if(J!=="copy"&&J!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(ie!==void 0)if(ie&&S(ie)==="object"&&ie.nodeType===1){if(J==="copy"&&ie.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(J==="cut"&&(ie.hasAttribute("readonly")||ie.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(oe)return g(oe,{container:le});if(ie)return J==="cut"?A(ie):g(ie,{container:le})},T=L;function M(Z){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?M=function(U){return typeof U}:M=function(U){return U&&typeof Symbol=="function"&&U.constructor===Symbol&&U!==Symbol.prototype?"symbol":typeof U},M(Z)}function O(Z,K){if(!(Z instanceof K))throw new TypeError("Cannot call a class as a function")}function k(Z,K){for(var U=0;U<K.length;U++){var J=K[U];J.enumerable=J.enumerable||!1,J.configurable=!0,"value"in J&&(J.writable=!0),Object.defineProperty(Z,J.key,J)}}function _(Z,K,U){return K&&k(Z.prototype,K),U&&k(Z,U),Z}function N(Z,K){if(typeof K!="function"&&K!==null)throw new TypeError("Super expression must either be null or a function");Z.prototype=Object.create(K&&K.prototype,{constructor:{value:Z,writable:!0,configurable:!0}}),K&&X(Z,K)}function X(Z,K){return X=Object.setPrototypeOf||function(J,le){return J.__proto__=le,J},X(Z,K)}function C(Z){var K=V();return function(){var J=B(Z),le;if(K){var ie=B(this).constructor;le=Reflect.construct(J,arguments,ie)}else le=J.apply(this,arguments);return F(this,le)}}function F(Z,K){return K&&(M(K)==="object"||typeof K=="function")?K:I(Z)}function I(Z){if(Z===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Z}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 B(Z){return B=Object.setPrototypeOf?Object.getPrototypeOf:function(U){return U.__proto__||Object.getPrototypeOf(U)},B(Z)}function G(Z,K){var U="data-clipboard-".concat(Z);if(K.hasAttribute(U))return K.getAttribute(U)}var ne=function(Z){N(U,Z);var K=C(U);function U(J,le){var ie;return O(this,U),ie=K.call(this),ie.resolveOptions(le),ie.listenClick(J),ie}return _(U,[{key:"resolveOptions",value:function(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof le.action=="function"?le.action:this.defaultAction,this.target=typeof le.target=="function"?le.target:this.defaultTarget,this.text=typeof le.text=="function"?le.text:this.defaultText,this.container=M(le.container)==="object"?le.container:document.body}},{key:"listenClick",value:function(le){var ie=this;this.listener=f()(le,"click",function(oe){return ie.onClick(oe)})}},{key:"onClick",value:function(le){var ie=le.delegateTarget||le.currentTarget,oe=this.action(ie)||"copy",pe=T({action:oe,container:this.container,target:this.target(ie),text:this.text(ie)});this.emit(pe?"success":"error",{action:oe,text:pe,trigger:ie,clearSelection:function(){ie&&ie.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(le){return G("action",le)}},{key:"defaultTarget",value:function(le){var ie=G("target",le);if(ie)return document.querySelector(ie)}},{key:"defaultText",value:function(le){return G("text",le)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(le){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return g(le,ie)}},{key:"cut",value:function(le){return A(le)}},{key:"isSupported",value:function(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],ie=typeof le=="string"?[le]:le,oe=!!document.queryCommandSupported;return ie.forEach(function(pe){oe=oe&&!!document.queryCommandSupported(pe)}),oe}}]),U}(l()),E=ne},828:function(i){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 c(l,u){for(;l&&l.nodeType!==a;){if(typeof l.matches=="function"&&l.matches(u))return l;l=l.parentNode}}i.exports=c},438:function(i,a,s){var c=s(828);function l(d,h,p,m,A){var x=f.apply(this,arguments);return d.addEventListener(p,x,A),{destroy:function(){d.removeEventListener(p,x,A)}}}function u(d,h,p,m,A){return typeof d.addEventListener=="function"?l.apply(null,arguments):typeof p=="function"?l.bind(null,document).apply(null,arguments):(typeof d=="string"&&(d=document.querySelectorAll(d)),Array.prototype.map.call(d,function(x){return l(x,h,p,m,A)}))}function f(d,h,p,m){return function(A){A.delegateTarget=c(A.target,h),A.delegateTarget&&m.call(d,A)}}i.exports=u},879:function(i,a){a.node=function(s){return s!==void 0&&s instanceof HTMLElement&&s.nodeType===1},a.nodeList=function(s){var c=Object.prototype.toString.call(s);return s!==void 0&&(c==="[object NodeList]"||c==="[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 c=Object.prototype.toString.call(s);return c==="[object Function]"}},370:function(i,a,s){var c=s(879),l=s(438);function u(p,m,A){if(!p&&!m&&!A)throw new Error("Missing required arguments");if(!c.string(m))throw new TypeError("Second argument must be a String");if(!c.fn(A))throw new TypeError("Third argument must be a Function");if(c.node(p))return f(p,m,A);if(c.nodeList(p))return d(p,m,A);if(c.string(p))return h(p,m,A);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function f(p,m,A){return p.addEventListener(m,A),{destroy:function(){p.removeEventListener(m,A)}}}function d(p,m,A){return Array.prototype.forEach.call(p,function(x){x.addEventListener(m,A)}),{destroy:function(){Array.prototype.forEach.call(p,function(x){x.removeEventListener(m,A)})}}}function h(p,m,A){return l(document.body,p,m,A)}i.exports=u},817:function(i){function a(s){var c;if(s.nodeName==="SELECT")s.focus(),c=s.value;else if(s.nodeName==="INPUT"||s.nodeName==="TEXTAREA"){var l=s.hasAttribute("readonly");l||s.setAttribute("readonly",""),s.select(),s.setSelectionRange(0,s.value.length),l||s.removeAttribute("readonly"),c=s.value}else{s.hasAttribute("contenteditable")&&s.focus();var u=window.getSelection(),f=document.createRange();f.selectNodeContents(s),u.removeAllRanges(),u.addRange(f),c=u.toString()}return c}i.exports=a},279:function(i){function a(){}a.prototype={on:function(s,c,l){var u=this.e||(this.e={});return(u[s]||(u[s]=[])).push({fn:c,ctx:l}),this},once:function(s,c,l){var u=this;function f(){u.off(s,f),c.apply(l,arguments)}return f._=c,this.on(s,f,l)},emit:function(s){var c=[].slice.call(arguments,1),l=((this.e||(this.e={}))[s]||[]).slice(),u=0,f=l.length;for(u;u<f;u++)l[u].fn.apply(l[u].ctx,c);return this},off:function(s,c){var l=this.e||(this.e={}),u=l[s],f=[];if(u&&c)for(var d=0,h=u.length;d<h;d++)u[d].fn!==c&&u[d].fn._!==c&&f.push(u[d]);return f.length?l[s]=f:delete l[s],this}},i.exports=a,i.exports.TinyEmitter=a}},r={};function o(i){if(r[i])return r[i].exports;var a=r[i]={exports:{}};return n[i](a,a.exports,o),a.exports}return function(){o.n=function(i){var a=i&&i.__esModule?function(){return i.default}:function(){return i};return o.d(a,{a}),a}}(),function(){o.d=function(i,a){for(var s in a)o.o(a,s)&&!o.o(i,s)&&Object.defineProperty(i,s,{enumerable:!0,get:a[s]})}}(),function(){o.o=function(i,a){return Object.prototype.hasOwnProperty.call(i,a)}}(),o(686)}().default})})(VP);var iz=VP.exports;const az=Vg(iz);var UP={exports:{}};function V0(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 fR={exports:{}};const sz={},lz=Object.freeze(Object.defineProperty({__proto__:null,default:sz},Symbol.toStringTag,{value:"Module"})),cz=cb(lz);var WM;function Sn(){return WM||(WM=1,function(e,t){(function(n,r){e.exports=r()})(Pt,function(){var n=n||function(r,o){var i;if(typeof window<"u"&&window.crypto&&(i=window.crypto),typeof self<"u"&&self.crypto&&(i=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(i=globalThis.crypto),!i&&typeof window<"u"&&window.msCrypto&&(i=window.msCrypto),!i&&typeof Pt<"u"&&Pt.crypto&&(i=Pt.crypto),!i&&typeof V0=="function")try{i=cz}catch{}var a=function(){if(i){if(typeof i.getRandomValues=="function")try{return i.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof i.randomBytes=="function")try{return i.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function R(){}return function(y){var g;return R.prototype=y,g=new R,R.prototype=null,g}}(),c={},l=c.lib={},u=l.Base=function(){return{extend:function(R){var y=s(this);return R&&y.mixIn(R),(!y.hasOwnProperty("init")||this.init===y.init)&&(y.init=function(){y.$super.init.apply(this,arguments)}),y.init.prototype=y,y.$super=this,y},create:function(){var R=this.extend();return R.init.apply(R,arguments),R},init:function(){},mixIn:function(R){for(var y in R)R.hasOwnProperty(y)&&(this[y]=R[y]);R.hasOwnProperty("toString")&&(this.toString=R.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),f=l.WordArray=u.extend({init:function(R,y){R=this.words=R||[],y!=o?this.sigBytes=y:this.sigBytes=R.length*4},toString:function(R){return(R||h).stringify(this)},concat:function(R){var y=this.words,g=R.words,S=this.sigBytes,L=R.sigBytes;if(this.clamp(),S%4)for(var T=0;T<L;T++){var M=g[T>>>2]>>>24-T%4*8&255;y[S+T>>>2]|=M<<24-(S+T)%4*8}else for(var O=0;O<L;O+=4)y[S+O>>>2]=g[O>>>2];return this.sigBytes+=L,this},clamp:function(){var R=this.words,y=this.sigBytes;R[y>>>2]&=4294967295<<32-y%4*8,R.length=r.ceil(y/4)},clone:function(){var R=u.clone.call(this);return R.words=this.words.slice(0),R},random:function(R){for(var y=[],g=0;g<R;g+=4)y.push(a());return new f.init(y,R)}}),d=c.enc={},h=d.Hex={stringify:function(R){for(var y=R.words,g=R.sigBytes,S=[],L=0;L<g;L++){var T=y[L>>>2]>>>24-L%4*8&255;S.push((T>>>4).toString(16)),S.push((T&15).toString(16))}return S.join("")},parse:function(R){for(var y=R.length,g=[],S=0;S<y;S+=2)g[S>>>3]|=parseInt(R.substr(S,2),16)<<24-S%8*4;return new f.init(g,y/2)}},p=d.Latin1={stringify:function(R){for(var y=R.words,g=R.sigBytes,S=[],L=0;L<g;L++){var T=y[L>>>2]>>>24-L%4*8&255;S.push(String.fromCharCode(T))}return S.join("")},parse:function(R){for(var y=R.length,g=[],S=0;S<y;S++)g[S>>>2]|=(R.charCodeAt(S)&255)<<24-S%4*8;return new f.init(g,y)}},m=d.Utf8={stringify:function(R){try{return decodeURIComponent(escape(p.stringify(R)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(R){return p.parse(unescape(encodeURIComponent(R)))}},A=l.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(R){typeof R=="string"&&(R=m.parse(R)),this._data.concat(R),this._nDataBytes+=R.sigBytes},_process:function(R){var y,g=this._data,S=g.words,L=g.sigBytes,T=this.blockSize,M=T*4,O=L/M;R?O=r.ceil(O):O=r.max((O|0)-this._minBufferSize,0);var k=O*T,_=r.min(k*4,L);if(k){for(var N=0;N<k;N+=T)this._doProcessBlock(S,N);y=S.splice(0,k),g.sigBytes-=_}return new f.init(y,_)},clone:function(){var R=u.clone.call(this);return R._data=this._data.clone(),R},_minBufferSize:0});l.Hasher=A.extend({cfg:u.extend(),init:function(R){this.cfg=this.cfg.extend(R),this.reset()},reset:function(){A.reset.call(this),this._doReset()},update:function(R){return this._append(R),this._process(),this},finalize:function(R){R&&this._append(R);var y=this._doFinalize();return y},blockSize:16,_createHelper:function(R){return function(y,g){return new R.init(g).finalize(y)}},_createHmacHelper:function(R){return function(y,g){return new x.HMAC.init(R,g).finalize(y)}}});var x=c.algo={};return c}(Math);return n})}(fR)),fR.exports}var dR={exports:{}},VM;function Bg(){return VM||(VM=1,function(e,t){(function(n,r){e.exports=r(Sn())})(Pt,function(n){return function(r){var o=n,i=o.lib,a=i.Base,s=i.WordArray,c=o.x64={};c.Word=a.extend({init:function(l,u){this.high=l,this.low=u}}),c.WordArray=a.extend({init:function(l,u){l=this.words=l||[],u!=r?this.sigBytes=u:this.sigBytes=l.length*8},toX32:function(){for(var l=this.words,u=l.length,f=[],d=0;d<u;d++){var h=l[d];f.push(h.high),f.push(h.low)}return s.create(f,this.sigBytes)},clone:function(){for(var l=a.clone.call(this),u=l.words=this.words.slice(0),f=u.length,d=0;d<f;d++)u[d]=u[d].clone();return l}})}(),n})}(dR)),dR.exports}var hR={exports:{}},UM;function uz(){return UM||(UM=1,function(e,t){(function(n,r){e.exports=r(Sn())})(Pt,function(n){return function(){if(typeof ArrayBuffer=="function"){var r=n,o=r.lib,i=o.WordArray,a=i.init,s=i.init=function(c){if(c instanceof ArrayBuffer&&(c=new Uint8Array(c)),(c instanceof Int8Array||typeof Uint8ClampedArray<"u"&&c instanceof Uint8ClampedArray||c instanceof Int16Array||c instanceof Uint16Array||c instanceof Int32Array||c instanceof Uint32Array||c instanceof Float32Array||c instanceof Float64Array)&&(c=new Uint8Array(c.buffer,c.byteOffset,c.byteLength)),c instanceof Uint8Array){for(var l=c.byteLength,u=[],f=0;f<l;f++)u[f>>>2]|=c[f]<<24-f%4*8;a.call(this,u,l)}else a.apply(this,arguments)};s.prototype=i}}(),n.lib.WordArray})}(hR)),hR.exports}var pR={exports:{}},YM;function fz(){return YM||(YM=1,function(e,t){(function(n,r){e.exports=r(Sn())})(Pt,function(n){return function(){var r=n,o=r.lib,i=o.WordArray,a=r.enc;a.Utf16=a.Utf16BE={stringify:function(c){for(var l=c.words,u=c.sigBytes,f=[],d=0;d<u;d+=2){var h=l[d>>>2]>>>16-d%4*8&65535;f.push(String.fromCharCode(h))}return f.join("")},parse:function(c){for(var l=c.length,u=[],f=0;f<l;f++)u[f>>>1]|=c.charCodeAt(f)<<16-f%2*16;return i.create(u,l*2)}},a.Utf16LE={stringify:function(c){for(var l=c.words,u=c.sigBytes,f=[],d=0;d<u;d+=2){var h=s(l[d>>>2]>>>16-d%4*8&65535);f.push(String.fromCharCode(h))}return f.join("")},parse:function(c){for(var l=c.length,u=[],f=0;f<l;f++)u[f>>>1]|=s(c.charCodeAt(f)<<16-f%2*16);return i.create(u,l*2)}};function s(c){return c<<8&4278255360|c>>>8&16711935}}(),n.enc.Utf16})}(pR)),pR.exports}var mR={exports:{}},QM;function Hu(){return QM||(QM=1,function(e,t){(function(n,r){e.exports=r(Sn())})(Pt,function(n){return function(){var r=n,o=r.lib,i=o.WordArray,a=r.enc;a.Base64={stringify:function(c){var l=c.words,u=c.sigBytes,f=this._map;c.clamp();for(var d=[],h=0;h<u;h+=3)for(var p=l[h>>>2]>>>24-h%4*8&255,m=l[h+1>>>2]>>>24-(h+1)%4*8&255,A=l[h+2>>>2]>>>24-(h+2)%4*8&255,x=p<<16|m<<8|A,R=0;R<4&&h+R*.75<u;R++)d.push(f.charAt(x>>>6*(3-R)&63));var y=f.charAt(64);if(y)for(;d.length%4;)d.push(y);return d.join("")},parse:function(c){var l=c.length,u=this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var d=0;d<u.length;d++)f[u.charCodeAt(d)]=d}var h=u.charAt(64);if(h){var p=c.indexOf(h);p!==-1&&(l=p)}return s(c,l,f)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function s(c,l,u){for(var f=[],d=0,h=0;h<l;h++)if(h%4){var p=u[c.charCodeAt(h-1)]<<h%4*2,m=u[c.charCodeAt(h)]>>>6-h%4*2,A=p|m;f[d>>>2]|=A<<24-d%4*8,d++}return i.create(f,d)}}(),n.enc.Base64})}(mR)),mR.exports}var vR={exports:{}},ZM;function dz(){return ZM||(ZM=1,function(e,t){(function(n,r){e.exports=r(Sn())})(Pt,function(n){return function(){var r=n,o=r.lib,i=o.WordArray,a=r.enc;a.Base64url={stringify:function(c,l){l===void 0&&(l=!0);var u=c.words,f=c.sigBytes,d=l?this._safe_map:this._map;c.clamp();for(var h=[],p=0;p<f;p+=3)for(var m=u[p>>>2]>>>24-p%4*8&255,A=u[p+1>>>2]>>>24-(p+1)%4*8&255,x=u[p+2>>>2]>>>24-(p+2)%4*8&255,R=m<<16|A<<8|x,y=0;y<4&&p+y*.75<f;y++)h.push(d.charAt(R>>>6*(3-y)&63));var g=d.charAt(64);if(g)for(;h.length%4;)h.push(g);return h.join("")},parse:function(c,l){l===void 0&&(l=!0);var u=c.length,f=l?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 m=c.indexOf(p);m!==-1&&(u=m)}return s(c,u,d)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function s(c,l,u){for(var f=[],d=0,h=0;h<l;h++)if(h%4){var p=u[c.charCodeAt(h-1)]<<h%4*2,m=u[c.charCodeAt(h)]>>>6-h%4*2,A=p|m;f[d>>>2]|=A<<24-d%4*8,d++}return i.create(f,d)}}(),n.enc.Base64url})}(vR)),vR.exports}var gR={exports:{}},BM;function Gu(){return BM||(BM=1,function(e,t){(function(n,r){e.exports=r(Sn())})(Pt,function(n){return function(r){var o=n,i=o.lib,a=i.WordArray,s=i.Hasher,c=o.algo,l=[];(function(){for(var m=0;m<64;m++)l[m]=r.abs(r.sin(m+1))*4294967296|0})();var u=c.MD5=s.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(m,A){for(var x=0;x<16;x++){var R=A+x,y=m[R];m[R]=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360}var g=this._hash.words,S=m[A+0],L=m[A+1],T=m[A+2],M=m[A+3],O=m[A+4],k=m[A+5],_=m[A+6],N=m[A+7],X=m[A+8],C=m[A+9],F=m[A+10],I=m[A+11],V=m[A+12],B=m[A+13],G=m[A+14],ne=m[A+15],E=g[0],Z=g[1],K=g[2],U=g[3];E=f(E,Z,K,U,S,7,l[0]),U=f(U,E,Z,K,L,12,l[1]),K=f(K,U,E,Z,T,17,l[2]),Z=f(Z,K,U,E,M,22,l[3]),E=f(E,Z,K,U,O,7,l[4]),U=f(U,E,Z,K,k,12,l[5]),K=f(K,U,E,Z,_,17,l[6]),Z=f(Z,K,U,E,N,22,l[7]),E=f(E,Z,K,U,X,7,l[8]),U=f(U,E,Z,K,C,12,l[9]),K=f(K,U,E,Z,F,17,l[10]),Z=f(Z,K,U,E,I,22,l[11]),E=f(E,Z,K,U,V,7,l[12]),U=f(U,E,Z,K,B,12,l[13]),K=f(K,U,E,Z,G,17,l[14]),Z=f(Z,K,U,E,ne,22,l[15]),E=d(E,Z,K,U,L,5,l[16]),U=d(U,E,Z,K,_,9,l[17]),K=d(K,U,E,Z,I,14,l[18]),Z=d(Z,K,U,E,S,20,l[19]),E=d(E,Z,K,U,k,5,l[20]),U=d(U,E,Z,K,F,9,l[21]),K=d(K,U,E,Z,ne,14,l[22]),Z=d(Z,K,U,E,O,20,l[23]),E=d(E,Z,K,U,C,5,l[24]),U=d(U,E,Z,K,G,9,l[25]),K=d(K,U,E,Z,M,14,l[26]),Z=d(Z,K,U,E,X,20,l[27]),E=d(E,Z,K,U,B,5,l[28]),U=d(U,E,Z,K,T,9,l[29]),K=d(K,U,E,Z,N,14,l[30]),Z=d(Z,K,U,E,V,20,l[31]),E=h(E,Z,K,U,k,4,l[32]),U=h(U,E,Z,K,X,11,l[33]),K=h(K,U,E,Z,I,16,l[34]),Z=h(Z,K,U,E,G,23,l[35]),E=h(E,Z,K,U,L,4,l[36]),U=h(U,E,Z,K,O,11,l[37]),K=h(K,U,E,Z,N,16,l[38]),Z=h(Z,K,U,E,F,23,l[39]),E=h(E,Z,K,U,B,4,l[40]),U=h(U,E,Z,K,S,11,l[41]),K=h(K,U,E,Z,M,16,l[42]),Z=h(Z,K,U,E,_,23,l[43]),E=h(E,Z,K,U,C,4,l[44]),U=h(U,E,Z,K,V,11,l[45]),K=h(K,U,E,Z,ne,16,l[46]),Z=h(Z,K,U,E,T,23,l[47]),E=p(E,Z,K,U,S,6,l[48]),U=p(U,E,Z,K,N,10,l[49]),K=p(K,U,E,Z,G,15,l[50]),Z=p(Z,K,U,E,k,21,l[51]),E=p(E,Z,K,U,V,6,l[52]),U=p(U,E,Z,K,M,10,l[53]),K=p(K,U,E,Z,F,15,l[54]),Z=p(Z,K,U,E,L,21,l[55]),E=p(E,Z,K,U,X,6,l[56]),U=p(U,E,Z,K,ne,10,l[57]),K=p(K,U,E,Z,_,15,l[58]),Z=p(Z,K,U,E,B,21,l[59]),E=p(E,Z,K,U,O,6,l[60]),U=p(U,E,Z,K,I,10,l[61]),K=p(K,U,E,Z,T,15,l[62]),Z=p(Z,K,U,E,C,21,l[63]),g[0]=g[0]+E|0,g[1]=g[1]+Z|0,g[2]=g[2]+K|0,g[3]=g[3]+U|0},_doFinalize:function(){var m=this._data,A=m.words,x=this._nDataBytes*8,R=m.sigBytes*8;A[R>>>5]|=128<<24-R%32;var y=r.floor(x/4294967296),g=x;A[(R+64>>>9<<4)+15]=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,A[(R+64>>>9<<4)+14]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,m.sigBytes=(A.length+1)*4,this._process();for(var S=this._hash,L=S.words,T=0;T<4;T++){var M=L[T];L[T]=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360}return S},clone:function(){var m=s.clone.call(this);return m._hash=this._hash.clone(),m}});function f(m,A,x,R,y,g,S){var L=m+(A&x|~A&R)+y+S;return(L<<g|L>>>32-g)+A}function d(m,A,x,R,y,g,S){var L=m+(A&R|x&~R)+y+S;return(L<<g|L>>>32-g)+A}function h(m,A,x,R,y,g,S){var L=m+(A^x^R)+y+S;return(L<<g|L>>>32-g)+A}function p(m,A,x,R,y,g,S){var L=m+(x^(A|~R))+y+S;return(L<<g|L>>>32-g)+A}o.MD5=s._createHelper(u),o.HmacMD5=s._createHmacHelper(u)}(Math),n.MD5})}(gR)),gR.exports}var AR={exports:{}},DM;function YP(){return DM||(DM=1,function(e,t){(function(n,r){e.exports=r(Sn())})(Pt,function(n){return function(){var r=n,o=r.lib,i=o.WordArray,a=o.Hasher,s=r.algo,c=[],l=s.SHA1=a.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(u,f){for(var d=this._hash.words,h=d[0],p=d[1],m=d[2],A=d[3],x=d[4],R=0;R<80;R++){if(R<16)c[R]=u[f+R]|0;else{var y=c[R-3]^c[R-8]^c[R-14]^c[R-16];c[R]=y<<1|y>>>31}var g=(h<<5|h>>>27)+x+c[R];R<20?g+=(p&m|~p&A)+1518500249:R<40?g+=(p^m^A)+1859775393:R<60?g+=(p&m|p&A|m&A)-1894007588:g+=(p^m^A)-899497514,x=A,A=m,m=p<<30|p>>>2,p=h,h=g}d[0]=d[0]+h|0,d[1]=d[1]+p|0,d[2]=d[2]+m|0,d[3]=d[3]+A|0,d[4]=d[4]+x|0},_doFinalize:function(){var u=this._data,f=u.words,d=this._nDataBytes*8,h=u.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,u.sigBytes=f.length*4,this._process(),this._hash},clone:function(){var u=a.clone.call(this);return u._hash=this._hash.clone(),u}});r.SHA1=a._createHelper(l),r.HmacSHA1=a._createHmacHelper(l)}(),n.SHA1})}(AR)),AR.exports}var RR={exports:{}},KM;function bb(){return KM||(KM=1,function(e,t){(function(n,r){e.exports=r(Sn())})(Pt,function(n){return function(r){var o=n,i=o.lib,a=i.WordArray,s=i.Hasher,c=o.algo,l=[],u=[];(function(){function h(x){for(var R=r.sqrt(x),y=2;y<=R;y++)if(!(x%y))return!1;return!0}function p(x){return(x-(x|0))*4294967296|0}for(var m=2,A=0;A<64;)h(m)&&(A<8&&(l[A]=p(r.pow(m,1/2))),u[A]=p(r.pow(m,1/3)),A++),m++})();var f=[],d=c.SHA256=s.extend({_doReset:function(){this._hash=new a.init(l.slice(0))},_doProcessBlock:function(h,p){for(var m=this._hash.words,A=m[0],x=m[1],R=m[2],y=m[3],g=m[4],S=m[5],L=m[6],T=m[7],M=0;M<64;M++){if(M<16)f[M]=h[p+M]|0;else{var O=f[M-15],k=(O<<25|O>>>7)^(O<<14|O>>>18)^O>>>3,_=f[M-2],N=(_<<15|_>>>17)^(_<<13|_>>>19)^_>>>10;f[M]=k+f[M-7]+N+f[M-16]}var X=g&S^~g&L,C=A&x^A&R^x&R,F=(A<<30|A>>>2)^(A<<19|A>>>13)^(A<<10|A>>>22),I=(g<<26|g>>>6)^(g<<21|g>>>11)^(g<<7|g>>>25),V=T+I+X+u[M]+f[M],B=F+C;T=L,L=S,S=g,g=y+V|0,y=R,R=x,x=A,A=V+B|0}m[0]=m[0]+A|0,m[1]=m[1]+x|0,m[2]=m[2]+R|0,m[3]=m[3]+y|0,m[4]=m[4]+g|0,m[5]=m[5]+S|0,m[6]=m[6]+L|0,m[7]=m[7]+T|0},_doFinalize:function(){var h=this._data,p=h.words,m=this._nDataBytes*8,A=h.sigBytes*8;return p[A>>>5]|=128<<24-A%32,p[(A+64>>>9<<4)+14]=r.floor(m/4294967296),p[(A+64>>>9<<4)+15]=m,h.sigBytes=p.length*4,this._process(),this._hash},clone:function(){var h=s.clone.call(this);return h._hash=this._hash.clone(),h}});o.SHA256=s._createHelper(d),o.HmacSHA256=s._createHmacHelper(d)}(Math),n.SHA256})}(RR)),RR.exports}var yR={exports:{}},HM;function hz(){return HM||(HM=1,function(e,t){(function(n,r,o){e.exports=r(Sn(),bb())})(Pt,function(n){return function(){var r=n,o=r.lib,i=o.WordArray,a=r.algo,s=a.SHA256,c=a.SHA224=s.extend({_doReset:function(){this._hash=new i.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var l=s._doFinalize.call(this);return l.sigBytes-=4,l}});r.SHA224=s._createHelper(c),r.HmacSHA224=s._createHmacHelper(c)}(),n.SHA224})}(yR)),yR.exports}var xR={exports:{}},GM;function QP(){return GM||(GM=1,function(e,t){(function(n,r,o){e.exports=r(Sn(),Bg())})(Pt,function(n){return function(){var r=n,o=r.lib,i=o.Hasher,a=r.x64,s=a.Word,c=a.WordArray,l=r.algo;function u(){return s.create.apply(s,arguments)}var f=[u(1116352408,3609767458),u(1899447441,602891725),u(3049323471,3964484399),u(3921009573,2173295548),u(961987163,4081628472),u(1508970993,3053834265),u(2453635748,2937671579),u(2870763221,3664609560),u(3624381080,2734883394),u(310598401,1164996542),u(607225278,1323610764),u(1426881987,3590304994),u(1925078388,4068182383),u(2162078206,991336113),u(2614888103,633803317),u(3248222580,3479774868),u(3835390401,2666613458),u(4022224774,944711139),u(264347078,2341262773),u(604807628,2007800933),u(770255983,1495990901),u(1249150122,1856431235),u(1555081692,3175218132),u(1996064986,2198950837),u(2554220882,3999719339),u(2821834349,766784016),u(2952996808,2566594879),u(3210313671,3203337956),u(3336571891,1034457026),u(3584528711,2466948901),u(113926993,3758326383),u(338241895,168717936),u(666307205,1188179964),u(773529912,1546045734),u(1294757372,1522805485),u(1396182291,2643833823),u(1695183700,2343527390),u(1986661051,1014477480),u(2177026350,1206759142),u(2456956037,344077627),u(2730485921,1290863460),u(2820302411,3158454273),u(3259730800,3505952657),u(3345764771,106217008),u(3516065817,3606008344),u(3600352804,1432725776),u(4094571909,1467031594),u(275423344,851169720),u(430227734,3100823752),u(506948616,1363258195),u(659060556,3750685593),u(883997877,3785050280),u(958139571,3318307427),u(1322822218,3812723403),u(1537002063,2003034995),u(1747873779,3602036899),u(1955562222,1575990012),u(2024104815,1125592928),u(2227730452,2716904306),u(2361852424,442776044),u(2428436474,593698344),u(2756734187,3733110249),u(3204031479,2999351573),u(3329325298,3815920427),u(3391569614,3928383900),u(3515267271,566280711),u(3940187606,3454069534),u(4118630271,4000239992),u(116418474,1914138554),u(174292421,2731055270),u(289380356,3203993006),u(460393269,320620315),u(685471733,587496836),u(852142971,1086792851),u(1017036298,365543100),u(1126000580,2618297676),u(1288033470,3409855158),u(1501505948,4234509866),u(1607167915,987167468),u(1816402316,1246189591)],d=[];(function(){for(var p=0;p<80;p++)d[p]=u()})();var h=l.SHA512=i.extend({_doReset:function(){this._hash=new c.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,m){for(var A=this._hash.words,x=A[0],R=A[1],y=A[2],g=A[3],S=A[4],L=A[5],T=A[6],M=A[7],O=x.high,k=x.low,_=R.high,N=R.low,X=y.high,C=y.low,F=g.high,I=g.low,V=S.high,B=S.low,G=L.high,ne=L.low,E=T.high,Z=T.low,K=M.high,U=M.low,J=O,le=k,ie=_,oe=N,pe=X,ge=C,ye=F,z=I,ae=V,W=B,j=G,ue=ne,$=E,q=Z,se=K,ve=U,ce=0;ce<80;ce++){var de,be,_e=d[ce];if(ce<16)be=_e.high=p[m+ce*2]|0,de=_e.low=p[m+ce*2+1]|0;else{var Ie=d[ce-15],Ae=Ie.high,qe=Ie.low,Xe=(Ae>>>1|qe<<31)^(Ae>>>8|qe<<24)^Ae>>>7,Le=(qe>>>1|Ae<<31)^(qe>>>8|Ae<<24)^(qe>>>7|Ae<<25),Te=d[ce-2],Ce=Te.high,He=Te.low,et=(Ce>>>19|He<<13)^(Ce<<3|He>>>29)^Ce>>>6,ke=(He>>>19|Ce<<13)^(He<<3|Ce>>>29)^(He>>>6|Ce<<26),De=d[ce-7],tt=De.high,wt=De.low,ut=d[ce-16],ht=ut.high,gt=ut.low;de=Le+wt,be=Xe+tt+(de>>>0<Le>>>0?1:0),de=de+ke,be=be+et+(de>>>0<ke>>>0?1:0),de=de+gt,be=be+ht+(de>>>0<gt>>>0?1:0),_e.high=be,_e.low=de}var Ft=ae&j^~ae&$,Yt=W&ue^~W&q,Pn=J&ie^J&pe^ie&pe,aa=le&oe^le&ge^oe&ge,Xa=(J>>>28|le<<4)^(J<<30|le>>>2)^(J<<25|le>>>7),io=(le>>>28|J<<4)^(le<<30|J>>>2)^(le<<25|J>>>7),of=(ae>>>14|W<<18)^(ae>>>18|W<<14)^(ae<<23|W>>>9),Nc=(W>>>14|ae<<18)^(W>>>18|ae<<14)^(W<<23|ae>>>9),Ms=f[ce],L2=Ms.high,af=Ms.low,Ro=ve+Nc,Ii=se+of+(Ro>>>0<ve>>>0?1:0),Ro=Ro+Yt,Ii=Ii+Ft+(Ro>>>0<Yt>>>0?1:0),Ro=Ro+af,Ii=Ii+L2+(Ro>>>0<af>>>0?1:0),Ro=Ro+de,Ii=Ii+be+(Ro>>>0<de>>>0?1:0),$p=io+aa,O2=Xa+Pn+($p>>>0<io>>>0?1:0);se=$,ve=q,$=j,q=ue,j=ae,ue=W,W=z+Ro|0,ae=ye+Ii+(W>>>0<z>>>0?1:0)|0,ye=pe,z=ge,pe=ie,ge=oe,ie=J,oe=le,le=Ro+$p|0,J=Ii+O2+(le>>>0<Ro>>>0?1:0)|0}k=x.low=k+le,x.high=O+J+(k>>>0<le>>>0?1:0),N=R.low=N+oe,R.high=_+ie+(N>>>0<oe>>>0?1:0),C=y.low=C+ge,y.high=X+pe+(C>>>0<ge>>>0?1:0),I=g.low=I+z,g.high=F+ye+(I>>>0<z>>>0?1:0),B=S.low=B+W,S.high=V+ae+(B>>>0<W>>>0?1:0),ne=L.low=ne+ue,L.high=G+j+(ne>>>0<ue>>>0?1:0),Z=T.low=Z+q,T.high=E+$+(Z>>>0<q>>>0?1:0),U=M.low=U+ve,M.high=K+se+(U>>>0<ve>>>0?1:0)},_doFinalize:function(){var p=this._data,m=p.words,A=this._nDataBytes*8,x=p.sigBytes*8;m[x>>>5]|=128<<24-x%32,m[(x+128>>>10<<5)+30]=Math.floor(A/4294967296),m[(x+128>>>10<<5)+31]=A,p.sigBytes=m.length*4,this._process();var R=this._hash.toX32();return R},clone:function(){var p=i.clone.call(this);return p._hash=this._hash.clone(),p},blockSize:1024/32});r.SHA512=i._createHelper(h),r.HmacSHA512=i._createHmacHelper(h)}(),n.SHA512})}(xR)),xR.exports}var bR={exports:{}},JM;function pz(){return JM||(JM=1,function(e,t){(function(n,r,o){e.exports=r(Sn(),Bg(),QP())})(Pt,function(n){return function(){var r=n,o=r.x64,i=o.Word,a=o.WordArray,s=r.algo,c=s.SHA512,l=s.SHA384=c.extend({_doReset:function(){this._hash=new a.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var u=c._doFinalize.call(this);return u.sigBytes-=16,u}});r.SHA384=c._createHelper(l),r.HmacSHA384=c._createHmacHelper(l)}(),n.SHA384})}(bR)),bR.exports}var SR={exports:{}},zM;function mz(){return zM||(zM=1,function(e,t){(function(n,r,o){e.exports=r(Sn(),Bg())})(Pt,function(n){return function(r){var o=n,i=o.lib,a=i.WordArray,s=i.Hasher,c=o.x64,l=c.Word,u=o.algo,f=[],d=[],h=[];(function(){for(var A=1,x=0,R=0;R<24;R++){f[A+5*x]=(R+1)*(R+2)/2%64;var y=x%5,g=(2*A+3*x)%5;A=y,x=g}for(var A=0;A<5;A++)for(var x=0;x<5;x++)d[A+5*x]=x+(2*A+3*x)%5*5;for(var S=1,L=0;L<24;L++){for(var T=0,M=0,O=0;O<7;O++){if(S&1){var k=(1<<O)-1;k<32?M^=1<<k:T^=1<<k-32}S&128?S=S<<1^113:S<<=1}h[L]=l.create(T,M)}})();var p=[];(function(){for(var A=0;A<25;A++)p[A]=l.create()})();var m=u.SHA3=s.extend({cfg:s.cfg.extend({outputLength:512}),_doReset:function(){for(var A=this._state=[],x=0;x<25;x++)A[x]=new l.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(A,x){for(var R=this._state,y=this.blockSize/2,g=0;g<y;g++){var S=A[x+2*g],L=A[x+2*g+1];S=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360,L=(L<<8|L>>>24)&16711935|(L<<24|L>>>8)&4278255360;var T=R[g];T.high^=L,T.low^=S}for(var M=0;M<24;M++){for(var O=0;O<5;O++){for(var k=0,_=0,N=0;N<5;N++){var T=R[O+5*N];k^=T.high,_^=T.low}var X=p[O];X.high=k,X.low=_}for(var O=0;O<5;O++)for(var C=p[(O+4)%5],F=p[(O+1)%5],I=F.high,V=F.low,k=C.high^(I<<1|V>>>31),_=C.low^(V<<1|I>>>31),N=0;N<5;N++){var T=R[O+5*N];T.high^=k,T.low^=_}for(var B=1;B<25;B++){var k,_,T=R[B],G=T.high,ne=T.low,E=f[B];E<32?(k=G<<E|ne>>>32-E,_=ne<<E|G>>>32-E):(k=ne<<E-32|G>>>64-E,_=G<<E-32|ne>>>64-E);var Z=p[d[B]];Z.high=k,Z.low=_}var K=p[0],U=R[0];K.high=U.high,K.low=U.low;for(var O=0;O<5;O++)for(var N=0;N<5;N++){var B=O+5*N,T=R[B],J=p[B],le=p[(O+1)%5+5*N],ie=p[(O+2)%5+5*N];T.high=J.high^~le.high&ie.high,T.low=J.low^~le.low&ie.low}var T=R[0],oe=h[M];T.high^=oe.high,T.low^=oe.low}},_doFinalize:function(){var A=this._data,x=A.words;this._nDataBytes*8;var R=A.sigBytes*8,y=this.blockSize*32;x[R>>>5]|=1<<24-R%32,x[(r.ceil((R+1)/y)*y>>>5)-1]|=128,A.sigBytes=x.length*4,this._process();for(var g=this._state,S=this.cfg.outputLength/8,L=S/8,T=[],M=0;M<L;M++){var O=g[M],k=O.high,_=O.low;k=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360,_=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,T.push(_),T.push(k)}return new a.init(T,S)},clone:function(){for(var A=s.clone.call(this),x=A._state=this._state.slice(0),R=0;R<25;R++)x[R]=x[R].clone();return A}});o.SHA3=s._createHelper(m),o.HmacSHA3=s._createHmacHelper(m)}(Math),n.SHA3})}(SR)),SR.exports}var MR={exports:{}},jM;function vz(){return jM||(jM=1,function(e,t){(function(n,r){e.exports=r(Sn())})(Pt,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 o=n,i=o.lib,a=i.WordArray,s=i.Hasher,c=o.algo,l=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]),u=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]),m=c.RIPEMD160=s.extend({_doReset:function(){this._hash=a.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(L,T){for(var M=0;M<16;M++){var O=T+M,k=L[O];L[O]=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360}var _=this._hash.words,N=h.words,X=p.words,C=l.words,F=u.words,I=f.words,V=d.words,B,G,ne,E,Z,K,U,J,le,ie;K=B=_[0],U=G=_[1],J=ne=_[2],le=E=_[3],ie=Z=_[4];for(var oe,M=0;M<80;M+=1)oe=B+L[T+C[M]]|0,M<16?oe+=A(G,ne,E)+N[0]:M<32?oe+=x(G,ne,E)+N[1]:M<48?oe+=R(G,ne,E)+N[2]:M<64?oe+=y(G,ne,E)+N[3]:oe+=g(G,ne,E)+N[4],oe=oe|0,oe=S(oe,I[M]),oe=oe+Z|0,B=Z,Z=E,E=S(ne,10),ne=G,G=oe,oe=K+L[T+F[M]]|0,M<16?oe+=g(U,J,le)+X[0]:M<32?oe+=y(U,J,le)+X[1]:M<48?oe+=R(U,J,le)+X[2]:M<64?oe+=x(U,J,le)+X[3]:oe+=A(U,J,le)+X[4],oe=oe|0,oe=S(oe,V[M]),oe=oe+ie|0,K=ie,ie=le,le=S(J,10),J=U,U=oe;oe=_[1]+ne+le|0,_[1]=_[2]+E+ie|0,_[2]=_[3]+Z+K|0,_[3]=_[4]+B+U|0,_[4]=_[0]+G+J|0,_[0]=oe},_doFinalize:function(){var L=this._data,T=L.words,M=this._nDataBytes*8,O=L.sigBytes*8;T[O>>>5]|=128<<24-O%32,T[(O+64>>>9<<4)+14]=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360,L.sigBytes=(T.length+1)*4,this._process();for(var k=this._hash,_=k.words,N=0;N<5;N++){var X=_[N];_[N]=(X<<8|X>>>24)&16711935|(X<<24|X>>>8)&4278255360}return k},clone:function(){var L=s.clone.call(this);return L._hash=this._hash.clone(),L}});function A(L,T,M){return L^T^M}function x(L,T,M){return L&T|~L&M}function R(L,T,M){return(L|~T)^M}function y(L,T,M){return L&M|T&~M}function g(L,T,M){return L^(T|~M)}function S(L,T){return L<<T|L>>>32-T}o.RIPEMD160=s._createHelper(m),o.HmacRIPEMD160=s._createHmacHelper(m)}(),n.RIPEMD160})}(MR)),MR.exports}var wR={exports:{}},$M;function Sb(){return $M||($M=1,function(e,t){(function(n,r){e.exports=r(Sn())})(Pt,function(n){(function(){var r=n,o=r.lib,i=o.Base,a=r.enc,s=a.Utf8,c=r.algo;c.HMAC=i.extend({init:function(l,u){l=this._hasher=new l.init,typeof u=="string"&&(u=s.parse(u));var f=l.blockSize,d=f*4;u.sigBytes>d&&(u=l.finalize(u)),u.clamp();for(var h=this._oKey=u.clone(),p=this._iKey=u.clone(),m=h.words,A=p.words,x=0;x<f;x++)m[x]^=1549556828,A[x]^=909522486;h.sigBytes=p.sigBytes=d,this.reset()},reset:function(){var l=this._hasher;l.reset(),l.update(this._iKey)},update:function(l){return this._hasher.update(l),this},finalize:function(l){var u=this._hasher,f=u.finalize(l);u.reset();var d=u.finalize(this._oKey.clone().concat(f));return d}})})()})}(wR)),wR.exports}var LR={exports:{}},qM;function gz(){return qM||(qM=1,function(e,t){(function(n,r,o){e.exports=r(Sn(),bb(),Sb())})(Pt,function(n){return function(){var r=n,o=r.lib,i=o.Base,a=o.WordArray,s=r.algo,c=s.SHA256,l=s.HMAC,u=s.PBKDF2=i.extend({cfg:i.extend({keySize:128/32,hasher:c,iterations:25e4}),init:function(f){this.cfg=this.cfg.extend(f)},compute:function(f,d){for(var h=this.cfg,p=l.create(h.hasher,f),m=a.create(),A=a.create([1]),x=m.words,R=A.words,y=h.keySize,g=h.iterations;x.length<y;){var S=p.update(d).finalize(A);p.reset();for(var L=S.words,T=L.length,M=S,O=1;O<g;O++){M=p.finalize(M),p.reset();for(var k=M.words,_=0;_<T;_++)L[_]^=k[_]}m.concat(S),R[0]++}return m.sigBytes=y*4,m}});r.PBKDF2=function(f,d,h){return u.create(h).compute(f,d)}}(),n.PBKDF2})}(LR)),LR.exports}var OR={exports:{}},ew;function Sc(){return ew||(ew=1,function(e,t){(function(n,r,o){e.exports=r(Sn(),YP(),Sb())})(Pt,function(n){return function(){var r=n,o=r.lib,i=o.Base,a=o.WordArray,s=r.algo,c=s.MD5,l=s.EvpKDF=i.extend({cfg:i.extend({keySize:128/32,hasher:c,iterations:1}),init:function(u){this.cfg=this.cfg.extend(u)},compute:function(u,f){for(var d,h=this.cfg,p=h.hasher.create(),m=a.create(),A=m.words,x=h.keySize,R=h.iterations;A.length<x;){d&&p.update(d),d=p.update(u).finalize(f),p.reset();for(var y=1;y<R;y++)d=p.finalize(d),p.reset();m.concat(d)}return m.sigBytes=x*4,m}});r.EvpKDF=function(u,f,d){return l.create(d).compute(u,f)}}(),n.EvpKDF})}(OR)),OR.exports}var TR={exports:{}},tw;function Kr(){return tw||(tw=1,function(e,t){(function(n,r,o){e.exports=r(Sn(),Sc())})(Pt,function(n){n.lib.Cipher||function(r){var o=n,i=o.lib,a=i.Base,s=i.WordArray,c=i.BufferedBlockAlgorithm,l=o.enc;l.Utf8;var u=l.Base64,f=o.algo,d=f.EvpKDF,h=i.Cipher=c.extend({cfg:a.extend(),createEncryptor:function(k,_){return this.create(this._ENC_XFORM_MODE,k,_)},createDecryptor:function(k,_){return this.create(this._DEC_XFORM_MODE,k,_)},init:function(k,_,N){this.cfg=this.cfg.extend(N),this._xformMode=k,this._key=_,this.reset()},reset:function(){c.reset.call(this),this._doReset()},process:function(k){return this._append(k),this._process()},finalize:function(k){k&&this._append(k);var _=this._doFinalize();return _},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function k(_){return typeof _=="string"?O:L}return function(_){return{encrypt:function(N,X,C){return k(X).encrypt(_,N,X,C)},decrypt:function(N,X,C){return k(X).decrypt(_,N,X,C)}}}}()});i.StreamCipher=h.extend({_doFinalize:function(){var k=this._process(!0);return k},blockSize:1});var p=o.mode={},m=i.BlockCipherMode=a.extend({createEncryptor:function(k,_){return this.Encryptor.create(k,_)},createDecryptor:function(k,_){return this.Decryptor.create(k,_)},init:function(k,_){this._cipher=k,this._iv=_}}),A=p.CBC=function(){var k=m.extend();k.Encryptor=k.extend({processBlock:function(N,X){var C=this._cipher,F=C.blockSize;_.call(this,N,X,F),C.encryptBlock(N,X),this._prevBlock=N.slice(X,X+F)}}),k.Decryptor=k.extend({processBlock:function(N,X){var C=this._cipher,F=C.blockSize,I=N.slice(X,X+F);C.decryptBlock(N,X),_.call(this,N,X,F),this._prevBlock=I}});function _(N,X,C){var F,I=this._iv;I?(F=I,this._iv=r):F=this._prevBlock;for(var V=0;V<C;V++)N[X+V]^=F[V]}return k}(),x=o.pad={},R=x.Pkcs7={pad:function(k,_){for(var N=_*4,X=N-k.sigBytes%N,C=X<<24|X<<16|X<<8|X,F=[],I=0;I<X;I+=4)F.push(C);var V=s.create(F,X);k.concat(V)},unpad:function(k){var _=k.words[k.sigBytes-1>>>2]&255;k.sigBytes-=_}};i.BlockCipher=h.extend({cfg:h.cfg.extend({mode:A,padding:R}),reset:function(){var k;h.reset.call(this);var _=this.cfg,N=_.iv,X=_.mode;this._xformMode==this._ENC_XFORM_MODE?k=X.createEncryptor:(k=X.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==k?this._mode.init(this,N&&N.words):(this._mode=k.call(X,this,N&&N.words),this._mode.__creator=k)},_doProcessBlock:function(k,_){this._mode.processBlock(k,_)},_doFinalize:function(){var k,_=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(_.pad(this._data,this.blockSize),k=this._process(!0)):(k=this._process(!0),_.unpad(k)),k},blockSize:128/32});var y=i.CipherParams=a.extend({init:function(k){this.mixIn(k)},toString:function(k){return(k||this.formatter).stringify(this)}}),g=o.format={},S=g.OpenSSL={stringify:function(k){var _,N=k.ciphertext,X=k.salt;return X?_=s.create([1398893684,1701076831]).concat(X).concat(N):_=N,_.toString(u)},parse:function(k){var _,N=u.parse(k),X=N.words;return X[0]==1398893684&&X[1]==1701076831&&(_=s.create(X.slice(2,4)),X.splice(0,4),N.sigBytes-=16),y.create({ciphertext:N,salt:_})}},L=i.SerializableCipher=a.extend({cfg:a.extend({format:S}),encrypt:function(k,_,N,X){X=this.cfg.extend(X);var C=k.createEncryptor(N,X),F=C.finalize(_),I=C.cfg;return y.create({ciphertext:F,key:N,iv:I.iv,algorithm:k,mode:I.mode,padding:I.padding,blockSize:k.blockSize,formatter:X.format})},decrypt:function(k,_,N,X){X=this.cfg.extend(X),_=this._parse(_,X.format);var C=k.createDecryptor(N,X).finalize(_.ciphertext);return C},_parse:function(k,_){return typeof k=="string"?_.parse(k,this):k}}),T=o.kdf={},M=T.OpenSSL={execute:function(k,_,N,X,C){if(X||(X=s.random(64/8)),C)var F=d.create({keySize:_+N,hasher:C}).compute(k,X);else var F=d.create({keySize:_+N}).compute(k,X);var I=s.create(F.words.slice(_),N*4);return F.sigBytes=_*4,y.create({key:F,iv:I,salt:X})}},O=i.PasswordBasedCipher=L.extend({cfg:L.cfg.extend({kdf:M}),encrypt:function(k,_,N,X){X=this.cfg.extend(X);var C=X.kdf.execute(N,k.keySize,k.ivSize,X.salt,X.hasher);X.iv=C.iv;var F=L.encrypt.call(this,k,_,C.key,X);return F.mixIn(C),F},decrypt:function(k,_,N,X){X=this.cfg.extend(X),_=this._parse(_,X.format);var C=X.kdf.execute(N,k.keySize,k.ivSize,_.salt,X.hasher);X.iv=C.iv;var F=L.decrypt.call(this,k,_,C.key,X);return F}})}()})}(TR)),TR.exports}var kR={exports:{}},nw;function Az(){return nw||(nw=1,function(e,t){(function(n,r,o){e.exports=r(Sn(),Kr())})(Pt,function(n){return n.mode.CFB=function(){var r=n.lib.BlockCipherMode.extend();r.Encryptor=r.extend({processBlock:function(i,a){var s=this._cipher,c=s.blockSize;o.call(this,i,a,c,s),this._prevBlock=i.slice(a,a+c)}}),r.Decryptor=r.extend({processBlock:function(i,a){var s=this._cipher,c=s.blockSize,l=i.slice(a,a+c);o.call(this,i,a,c,s),this._prevBlock=l}});function o(i,a,s,c){var l,u=this._iv;u?(l=u.slice(0),this._iv=void 0):l=this._prevBlock,c.encryptBlock(l,0);for(var f=0;f<s;f++)i[a+f]^=l[f]}return r}(),n.mode.CFB})}(kR)),kR.exports}var NR={exports:{}},rw;function Rz(){return rw||(rw=1,function(e,t){(function(n,r,o){e.exports=r(Sn(),Kr())})(Pt,function(n){return n.mode.CTR=function(){var r=n.lib.BlockCipherMode.extend(),o=r.Encryptor=r.extend({processBlock:function(i,a){var s=this._cipher,c=s.blockSize,l=this._iv,u=this._counter;l&&(u=this._counter=l.slice(0),this._iv=void 0);var f=u.slice(0);s.encryptBlock(f,0),u[c-1]=u[c-1]+1|0;for(var d=0;d<c;d++)i[a+d]^=f[d]}});return r.Decryptor=o,r}(),n.mode.CTR})}(NR)),NR.exports}var PR={exports:{}},ow;function yz(){return ow||(ow=1,function(e,t){(function(n,r,o){e.exports=r(Sn(),Kr())})(Pt,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 o(s){if((s>>24&255)===255){var c=s>>16&255,l=s>>8&255,u=s&255;c===255?(c=0,l===255?(l=0,u===255?u=0:++u):++l):++c,s=0,s+=c<<16,s+=l<<8,s+=u}else s+=1<<24;return s}function i(s){return(s[0]=o(s[0]))===0&&(s[1]=o(s[1])),s}var a=r.Encryptor=r.extend({processBlock:function(s,c){var l=this._cipher,u=l.blockSize,f=this._iv,d=this._counter;f&&(d=this._counter=f.slice(0),this._iv=void 0),i(d);var h=d.slice(0);l.encryptBlock(h,0);for(var p=0;p<u;p++)s[c+p]^=h[p]}});return r.Decryptor=a,r}(),n.mode.CTRGladman})}(PR)),PR.exports}var CR={exports:{}},iw;function xz(){return iw||(iw=1,function(e,t){(function(n,r,o){e.exports=r(Sn(),Kr())})(Pt,function(n){return n.mode.OFB=function(){var r=n.lib.BlockCipherMode.extend(),o=r.Encryptor=r.extend({processBlock:function(i,a){var s=this._cipher,c=s.blockSize,l=this._iv,u=this._keystream;l&&(u=this._keystream=l.slice(0),this._iv=void 0),s.encryptBlock(u,0);for(var f=0;f<c;f++)i[a+f]^=u[f]}});return r.Decryptor=o,r}(),n.mode.OFB})}(CR)),CR.exports}var IR={exports:{}},aw;function bz(){return aw||(aw=1,function(e,t){(function(n,r,o){e.exports=r(Sn(),Kr())})(Pt,function(n){return n.mode.ECB=function(){var r=n.lib.BlockCipherMode.extend();return r.Encryptor=r.extend({processBlock:function(o,i){this._cipher.encryptBlock(o,i)}}),r.Decryptor=r.extend({processBlock:function(o,i){this._cipher.decryptBlock(o,i)}}),r}(),n.mode.ECB})}(IR)),IR.exports}var FR={exports:{}},sw;function Sz(){return sw||(sw=1,function(e,t){(function(n,r,o){e.exports=r(Sn(),Kr())})(Pt,function(n){return n.pad.AnsiX923={pad:function(r,o){var i=r.sigBytes,a=o*4,s=a-i%a,c=i+s-1;r.clamp(),r.words[c>>>2]|=s<<24-c%4*8,r.sigBytes+=s},unpad:function(r){var o=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=o}},n.pad.Ansix923})}(FR)),FR.exports}var _R={exports:{}},lw;function Mz(){return lw||(lw=1,function(e,t){(function(n,r,o){e.exports=r(Sn(),Kr())})(Pt,function(n){return n.pad.Iso10126={pad:function(r,o){var i=o*4,a=i-r.sigBytes%i;r.concat(n.lib.WordArray.random(a-1)).concat(n.lib.WordArray.create([a<<24],1))},unpad:function(r){var o=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=o}},n.pad.Iso10126})}(_R)),_R.exports}var XR={exports:{}},cw;function wz(){return cw||(cw=1,function(e,t){(function(n,r,o){e.exports=r(Sn(),Kr())})(Pt,function(n){return n.pad.Iso97971={pad:function(r,o){r.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(r,o)},unpad:function(r){n.pad.ZeroPadding.unpad(r),r.sigBytes--}},n.pad.Iso97971})}(XR)),XR.exports}var ER={exports:{}},uw;function Lz(){return uw||(uw=1,function(e,t){(function(n,r,o){e.exports=r(Sn(),Kr())})(Pt,function(n){return n.pad.ZeroPadding={pad:function(r,o){var i=o*4;r.clamp(),r.sigBytes+=i-(r.sigBytes%i||i)},unpad:function(r){for(var o=r.words,i=r.sigBytes-1,i=r.sigBytes-1;i>=0;i--)if(o[i>>>2]>>>24-i%4*8&255){r.sigBytes=i+1;break}}},n.pad.ZeroPadding})}(ER)),ER.exports}var WR={exports:{}},fw;function Oz(){return fw||(fw=1,function(e,t){(function(n,r,o){e.exports=r(Sn(),Kr())})(Pt,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})}(WR)),WR.exports}var VR={exports:{}},dw;function Tz(){return dw||(dw=1,function(e,t){(function(n,r,o){e.exports=r(Sn(),Kr())})(Pt,function(n){return function(r){var o=n,i=o.lib,a=i.CipherParams,s=o.enc,c=s.Hex,l=o.format;l.Hex={stringify:function(u){return u.ciphertext.toString(c)},parse:function(u){var f=c.parse(u);return a.create({ciphertext:f})}}}(),n.format.Hex})}(VR)),VR.exports}var UR={exports:{}},hw;function kz(){return hw||(hw=1,function(e,t){(function(n,r,o){e.exports=r(Sn(),Hu(),Gu(),Sc(),Kr())})(Pt,function(n){return function(){var r=n,o=r.lib,i=o.BlockCipher,a=r.algo,s=[],c=[],l=[],u=[],f=[],d=[],h=[],p=[],m=[],A=[];(function(){for(var y=[],g=0;g<256;g++)g<128?y[g]=g<<1:y[g]=g<<1^283;for(var S=0,L=0,g=0;g<256;g++){var T=L^L<<1^L<<2^L<<3^L<<4;T=T>>>8^T&255^99,s[S]=T,c[T]=S;var M=y[S],O=y[M],k=y[O],_=y[T]*257^T*16843008;l[S]=_<<24|_>>>8,u[S]=_<<16|_>>>16,f[S]=_<<8|_>>>24,d[S]=_;var _=k*16843009^O*65537^M*257^S*16843008;h[T]=_<<24|_>>>8,p[T]=_<<16|_>>>16,m[T]=_<<8|_>>>24,A[T]=_,S?(S=M^y[y[y[k^M]]],L^=y[y[L]]):S=L=1}})();var x=[0,1,2,4,8,16,32,64,128,27,54],R=a.AES=i.extend({_doReset:function(){var y;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var g=this._keyPriorReset=this._key,S=g.words,L=g.sigBytes/4,T=this._nRounds=L+6,M=(T+1)*4,O=this._keySchedule=[],k=0;k<M;k++)k<L?O[k]=S[k]:(y=O[k-1],k%L?L>6&&k%L==4&&(y=s[y>>>24]<<24|s[y>>>16&255]<<16|s[y>>>8&255]<<8|s[y&255]):(y=y<<8|y>>>24,y=s[y>>>24]<<24|s[y>>>16&255]<<16|s[y>>>8&255]<<8|s[y&255],y^=x[k/L|0]<<24),O[k]=O[k-L]^y);for(var _=this._invKeySchedule=[],N=0;N<M;N++){var k=M-N;if(N%4)var y=O[k];else var y=O[k-4];N<4||k<=4?_[N]=y:_[N]=h[s[y>>>24]]^p[s[y>>>16&255]]^m[s[y>>>8&255]]^A[s[y&255]]}}},encryptBlock:function(y,g){this._doCryptBlock(y,g,this._keySchedule,l,u,f,d,s)},decryptBlock:function(y,g){var S=y[g+1];y[g+1]=y[g+3],y[g+3]=S,this._doCryptBlock(y,g,this._invKeySchedule,h,p,m,A,c);var S=y[g+1];y[g+1]=y[g+3],y[g+3]=S},_doCryptBlock:function(y,g,S,L,T,M,O,k){for(var _=this._nRounds,N=y[g]^S[0],X=y[g+1]^S[1],C=y[g+2]^S[2],F=y[g+3]^S[3],I=4,V=1;V<_;V++){var B=L[N>>>24]^T[X>>>16&255]^M[C>>>8&255]^O[F&255]^S[I++],G=L[X>>>24]^T[C>>>16&255]^M[F>>>8&255]^O[N&255]^S[I++],ne=L[C>>>24]^T[F>>>16&255]^M[N>>>8&255]^O[X&255]^S[I++],E=L[F>>>24]^T[N>>>16&255]^M[X>>>8&255]^O[C&255]^S[I++];N=B,X=G,C=ne,F=E}var B=(k[N>>>24]<<24|k[X>>>16&255]<<16|k[C>>>8&255]<<8|k[F&255])^S[I++],G=(k[X>>>24]<<24|k[C>>>16&255]<<16|k[F>>>8&255]<<8|k[N&255])^S[I++],ne=(k[C>>>24]<<24|k[F>>>16&255]<<16|k[N>>>8&255]<<8|k[X&255])^S[I++],E=(k[F>>>24]<<24|k[N>>>16&255]<<16|k[X>>>8&255]<<8|k[C&255])^S[I++];y[g]=B,y[g+1]=G,y[g+2]=ne,y[g+3]=E},keySize:256/32});r.AES=i._createHelper(R)}(),n.AES})}(UR)),UR.exports}var YR={exports:{}},pw;function Nz(){return pw||(pw=1,function(e,t){(function(n,r,o){e.exports=r(Sn(),Hu(),Gu(),Sc(),Kr())})(Pt,function(n){return function(){var r=n,o=r.lib,i=o.WordArray,a=o.BlockCipher,s=r.algo,c=[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],l=[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],u=[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 x=this._key,R=x.words,y=[],g=0;g<56;g++){var S=c[g]-1;y[g]=R[S>>>5]>>>31-S%32&1}for(var L=this._subKeys=[],T=0;T<16;T++){for(var M=L[T]=[],O=u[T],g=0;g<24;g++)M[g/6|0]|=y[(l[g]-1+O)%28]<<31-g%6,M[4+(g/6|0)]|=y[28+(l[g+24]-1+O)%28]<<31-g%6;M[0]=M[0]<<1|M[0]>>>31;for(var g=1;g<7;g++)M[g]=M[g]>>>(g-1)*4+3;M[7]=M[7]<<5|M[7]>>>27}for(var k=this._invSubKeys=[],g=0;g<16;g++)k[g]=L[15-g]},encryptBlock:function(x,R){this._doCryptBlock(x,R,this._subKeys)},decryptBlock:function(x,R){this._doCryptBlock(x,R,this._invSubKeys)},_doCryptBlock:function(x,R,y){this._lBlock=x[R],this._rBlock=x[R+1],p.call(this,4,252645135),p.call(this,16,65535),m.call(this,2,858993459),m.call(this,8,16711935),p.call(this,1,1431655765);for(var g=0;g<16;g++){for(var S=y[g],L=this._lBlock,T=this._rBlock,M=0,O=0;O<8;O++)M|=f[O][((T^S[O])&d[O])>>>0];this._lBlock=T,this._rBlock=L^M}var k=this._lBlock;this._lBlock=this._rBlock,this._rBlock=k,p.call(this,1,1431655765),m.call(this,8,16711935),m.call(this,2,858993459),p.call(this,16,65535),p.call(this,4,252645135),x[R]=this._lBlock,x[R+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function p(x,R){var y=(this._lBlock>>>x^this._rBlock)&R;this._rBlock^=y,this._lBlock^=y<<x}function m(x,R){var y=(this._rBlock>>>x^this._lBlock)&R;this._lBlock^=y,this._rBlock^=y<<x}r.DES=a._createHelper(h);var A=s.TripleDES=a.extend({_doReset:function(){var x=this._key,R=x.words;if(R.length!==2&&R.length!==4&&R.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var y=R.slice(0,2),g=R.length<4?R.slice(0,2):R.slice(2,4),S=R.length<6?R.slice(0,2):R.slice(4,6);this._des1=h.createEncryptor(i.create(y)),this._des2=h.createEncryptor(i.create(g)),this._des3=h.createEncryptor(i.create(S))},encryptBlock:function(x,R){this._des1.encryptBlock(x,R),this._des2.decryptBlock(x,R),this._des3.encryptBlock(x,R)},decryptBlock:function(x,R){this._des3.decryptBlock(x,R),this._des2.encryptBlock(x,R),this._des1.decryptBlock(x,R)},keySize:192/32,ivSize:64/32,blockSize:64/32});r.TripleDES=a._createHelper(A)}(),n.TripleDES})}(YR)),YR.exports}var QR={exports:{}},mw;function Pz(){return mw||(mw=1,function(e,t){(function(n,r,o){e.exports=r(Sn(),Hu(),Gu(),Sc(),Kr())})(Pt,function(n){return function(){var r=n,o=r.lib,i=o.StreamCipher,a=r.algo,s=a.RC4=i.extend({_doReset:function(){for(var u=this._key,f=u.words,d=u.sigBytes,h=this._S=[],p=0;p<256;p++)h[p]=p;for(var p=0,m=0;p<256;p++){var A=p%d,x=f[A>>>2]>>>24-A%4*8&255;m=(m+h[p]+x)%256;var R=h[p];h[p]=h[m],h[m]=R}this._i=this._j=0},_doProcessBlock:function(u,f){u[f]^=c.call(this)},keySize:256/32,ivSize:0});function c(){for(var u=this._S,f=this._i,d=this._j,h=0,p=0;p<4;p++){f=(f+1)%256,d=(d+u[f])%256;var m=u[f];u[f]=u[d],u[d]=m,h|=u[(u[f]+u[d])%256]<<24-p*8}return this._i=f,this._j=d,h}r.RC4=i._createHelper(s);var l=a.RC4Drop=s.extend({cfg:s.cfg.extend({drop:192}),_doReset:function(){s._doReset.call(this);for(var u=this.cfg.drop;u>0;u--)c.call(this)}});r.RC4Drop=i._createHelper(l)}(),n.RC4})}(QR)),QR.exports}var ZR={exports:{}},vw;function Cz(){return vw||(vw=1,function(e,t){(function(n,r,o){e.exports=r(Sn(),Hu(),Gu(),Sc(),Kr())})(Pt,function(n){return function(){var r=n,o=r.lib,i=o.StreamCipher,a=r.algo,s=[],c=[],l=[],u=a.Rabbit=i.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 m=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],A=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++)A[p]^=m[p+4&7];if(h){var x=h.words,R=x[0],y=x[1],g=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,S=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,L=g>>>16|S&4294901760,T=S<<16|g&65535;A[0]^=g,A[1]^=L,A[2]^=S,A[3]^=T,A[4]^=g,A[5]^=L,A[6]^=S,A[7]^=T;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 m=0;m<4;m++)s[m]=(s[m]<<8|s[m]>>>24)&16711935|(s[m]<<24|s[m]>>>8)&4278255360,d[h+m]^=s[m]},blockSize:128/32,ivSize:64/32});function f(){for(var d=this._X,h=this._C,p=0;p<8;p++)c[p]=h[p];h[0]=h[0]+1295307597+this._b|0,h[1]=h[1]+3545052371+(h[0]>>>0<c[0]>>>0?1:0)|0,h[2]=h[2]+886263092+(h[1]>>>0<c[1]>>>0?1:0)|0,h[3]=h[3]+1295307597+(h[2]>>>0<c[2]>>>0?1:0)|0,h[4]=h[4]+3545052371+(h[3]>>>0<c[3]>>>0?1:0)|0,h[5]=h[5]+886263092+(h[4]>>>0<c[4]>>>0?1:0)|0,h[6]=h[6]+1295307597+(h[5]>>>0<c[5]>>>0?1:0)|0,h[7]=h[7]+3545052371+(h[6]>>>0<c[6]>>>0?1:0)|0,this._b=h[7]>>>0<c[7]>>>0?1:0;for(var p=0;p<8;p++){var m=d[p]+h[p],A=m&65535,x=m>>>16,R=((A*A>>>17)+A*x>>>15)+x*x,y=((m&4294901760)*m|0)+((m&65535)*m|0);l[p]=R^y}d[0]=l[0]+(l[7]<<16|l[7]>>>16)+(l[6]<<16|l[6]>>>16)|0,d[1]=l[1]+(l[0]<<8|l[0]>>>24)+l[7]|0,d[2]=l[2]+(l[1]<<16|l[1]>>>16)+(l[0]<<16|l[0]>>>16)|0,d[3]=l[3]+(l[2]<<8|l[2]>>>24)+l[1]|0,d[4]=l[4]+(l[3]<<16|l[3]>>>16)+(l[2]<<16|l[2]>>>16)|0,d[5]=l[5]+(l[4]<<8|l[4]>>>24)+l[3]|0,d[6]=l[6]+(l[5]<<16|l[5]>>>16)+(l[4]<<16|l[4]>>>16)|0,d[7]=l[7]+(l[6]<<8|l[6]>>>24)+l[5]|0}r.Rabbit=i._createHelper(u)}(),n.Rabbit})}(ZR)),ZR.exports}var BR={exports:{}},gw;function Iz(){return gw||(gw=1,function(e,t){(function(n,r,o){e.exports=r(Sn(),Hu(),Gu(),Sc(),Kr())})(Pt,function(n){return function(){var r=n,o=r.lib,i=o.StreamCipher,a=r.algo,s=[],c=[],l=[],u=a.RabbitLegacy=i.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],m=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 A=0;A<4;A++)f.call(this);for(var A=0;A<8;A++)m[A]^=p[A+4&7];if(h){var x=h.words,R=x[0],y=x[1],g=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,S=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,L=g>>>16|S&4294901760,T=S<<16|g&65535;m[0]^=g,m[1]^=L,m[2]^=S,m[3]^=T,m[4]^=g,m[5]^=L,m[6]^=S,m[7]^=T;for(var A=0;A<4;A++)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 m=0;m<4;m++)s[m]=(s[m]<<8|s[m]>>>24)&16711935|(s[m]<<24|s[m]>>>8)&4278255360,d[h+m]^=s[m]},blockSize:128/32,ivSize:64/32});function f(){for(var d=this._X,h=this._C,p=0;p<8;p++)c[p]=h[p];h[0]=h[0]+1295307597+this._b|0,h[1]=h[1]+3545052371+(h[0]>>>0<c[0]>>>0?1:0)|0,h[2]=h[2]+886263092+(h[1]>>>0<c[1]>>>0?1:0)|0,h[3]=h[3]+1295307597+(h[2]>>>0<c[2]>>>0?1:0)|0,h[4]=h[4]+3545052371+(h[3]>>>0<c[3]>>>0?1:0)|0,h[5]=h[5]+886263092+(h[4]>>>0<c[4]>>>0?1:0)|0,h[6]=h[6]+1295307597+(h[5]>>>0<c[5]>>>0?1:0)|0,h[7]=h[7]+3545052371+(h[6]>>>0<c[6]>>>0?1:0)|0,this._b=h[7]>>>0<c[7]>>>0?1:0;for(var p=0;p<8;p++){var m=d[p]+h[p],A=m&65535,x=m>>>16,R=((A*A>>>17)+A*x>>>15)+x*x,y=((m&4294901760)*m|0)+((m&65535)*m|0);l[p]=R^y}d[0]=l[0]+(l[7]<<16|l[7]>>>16)+(l[6]<<16|l[6]>>>16)|0,d[1]=l[1]+(l[0]<<8|l[0]>>>24)+l[7]|0,d[2]=l[2]+(l[1]<<16|l[1]>>>16)+(l[0]<<16|l[0]>>>16)|0,d[3]=l[3]+(l[2]<<8|l[2]>>>24)+l[1]|0,d[4]=l[4]+(l[3]<<16|l[3]>>>16)+(l[2]<<16|l[2]>>>16)|0,d[5]=l[5]+(l[4]<<8|l[4]>>>24)+l[3]|0,d[6]=l[6]+(l[5]<<16|l[5]>>>16)+(l[4]<<16|l[4]>>>16)|0,d[7]=l[7]+(l[6]<<8|l[6]>>>24)+l[5]|0}r.RabbitLegacy=i._createHelper(u)}(),n.RabbitLegacy})}(BR)),BR.exports}var DR={exports:{}},Aw;function Fz(){return Aw||(Aw=1,function(e,t){(function(n,r,o){e.exports=r(Sn(),Hu(),Gu(),Sc(),Kr())})(Pt,function(n){return function(){var r=n,o=r.lib,i=o.BlockCipher,a=r.algo;const s=16,c=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],l=[[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 u={pbox:[],sbox:[]};function f(A,x){let R=x>>24&255,y=x>>16&255,g=x>>8&255,S=x&255,L=A.sbox[0][R]+A.sbox[1][y];return L=L^A.sbox[2][g],L=L+A.sbox[3][S],L}function d(A,x,R){let y=x,g=R,S;for(let L=0;L<s;++L)y=y^A.pbox[L],g=f(A,y)^g,S=y,y=g,g=S;return S=y,y=g,g=S,g=g^A.pbox[s],y=y^A.pbox[s+1],{left:y,right:g}}function h(A,x,R){let y=x,g=R,S;for(let L=s+1;L>1;--L)y=y^A.pbox[L],g=f(A,y)^g,S=y,y=g,g=S;return S=y,y=g,g=S,g=g^A.pbox[1],y=y^A.pbox[0],{left:y,right:g}}function p(A,x,R){for(let T=0;T<4;T++){A.sbox[T]=[];for(let M=0;M<256;M++)A.sbox[T][M]=l[T][M]}let y=0;for(let T=0;T<s+2;T++)A.pbox[T]=c[T]^x[y],y++,y>=R&&(y=0);let g=0,S=0,L=0;for(let T=0;T<s+2;T+=2)L=d(A,g,S),g=L.left,S=L.right,A.pbox[T]=g,A.pbox[T+1]=S;for(let T=0;T<4;T++)for(let M=0;M<256;M+=2)L=d(A,g,S),g=L.left,S=L.right,A.sbox[T][M]=g,A.sbox[T][M+1]=S;return!0}var m=a.Blowfish=i.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var A=this._keyPriorReset=this._key,x=A.words,R=A.sigBytes/4;p(u,x,R)}},encryptBlock:function(A,x){var R=d(u,A[x],A[x+1]);A[x]=R.left,A[x+1]=R.right},decryptBlock:function(A,x){var R=h(u,A[x],A[x+1]);A[x]=R.left,A[x+1]=R.right},blockSize:64/32,keySize:128/32,ivSize:64/32});r.Blowfish=i._createHelper(m)}(),n.Blowfish})}(DR)),DR.exports}(function(e,t){(function(n,r,o){e.exports=r(Sn(),Bg(),uz(),fz(),Hu(),dz(),Gu(),YP(),bb(),hz(),QP(),pz(),mz(),vz(),Sb(),gz(),Sc(),Kr(),Az(),Rz(),yz(),xz(),bz(),Sz(),Mz(),wz(),Lz(),Oz(),Tz(),kz(),Nz(),Pz(),Cz(),Iz(),Fz())})(Pt,function(n){return n})})(UP);var _z=UP.exports;const u3=Vg(_z),ZP="pptist",Mb=e=>u3.AES.encrypt(e,ZP).toString(),BP=e=>u3.AES.decrypt(e,ZP).toString(u3.enc.Utf8),DP=e=>new Promise((t,n)=>{const r=document.createElement("button"),o=new az(r,{text:()=>e,action:()=>"copy",container:document.body});o.on("success",i=>{o.destroy(),t(i)}),o.on("error",i=>{o.destroy(),n(i)}),document.body.appendChild(r),r.click(),document.body.removeChild(r)}),KP=()=>new Promise((e,t)=>{var n;(n=navigator.clipboard)!=null&&n.readText?navigator.clipboard.readText().then(r=>(r||t("剪贴板为空或者不包含文本"),e(r))):t("浏览器不支持或禁止访问剪贴板,请使用快捷键 Ctrl + V")}),wb=e=>{let t;try{t=JSON.parse(BP(e))}catch{t=e}return t},HP=e=>{const t=e.split(`\r
`);t[t.length-1]===""&&t.pop();let n=-1;const r=[];for(const o in t){if(r[o]=t[o].split(" "),r[o].length===1)return null;if(n===-1)n=r[o].length;else if(n!==r[o].length)return null}return r},dd=e=>{const{left:t,top:n,width:r,height:o,rotate:i=0}=e,a=Math.sqrt(Math.pow(r,2)+Math.pow(o,2))/2,s=Math.atan(o/r)*180/Math.PI,c=(180-i-s)*Math.PI/180,l=(s-i)*Math.PI/180,u=t+r/2,f=n+o/2,d=[u+a*Math.cos(c),u+a*Math.cos(l),u-a*Math.cos(c),u-a*Math.cos(l)],h=[f-a*Math.sin(c),f-a*Math.sin(l),f+a*Math.sin(c),f+a*Math.sin(l)];return{xRange:[Math.min(...d),Math.max(...d)],yRange:[Math.min(...h),Math.max(...h)]}},Gf=e=>{const{xRange:t,yRange:n}=dd({left:e.left,top:e.top,width:e.width,height:e.height,rotate:0}),{xRange:r,yRange:o}=dd({left:e.left,top:e.top,width:e.width,height:e.height,rotate:e.rotate});return{offsetX:r[0]-t[0],offsetY:o[0]-n[0]}},Ma=e=>{let t,n,r,o;if(e.type==="line")t=e.left,n=e.left+Math.max(e.start[0],e.end[0]),r=e.top,o=e.top+Math.max(e.start[1],e.end[1]);else if("rotate"in e&&e.rotate){const{left:i,top:a,width:s,height:c,rotate:l}=e,{xRange:u,yRange:f}=dd({left:i,top:a,width:s,height:c,rotate:l});t=u[0],n=u[1],r=f[0],o=f[1]}else t=e.left,n=e.left+e.width,r=e.top,o=e.top+e.height;return{minX:t,maxX:n,minY:r,maxY:o}},ec=e=>{const t=[],n=[],r=[],o=[];e.forEach(l=>{const{minX:u,maxX:f,minY:d,maxY:h}=Ma(l);t.push(u),n.push(d),r.push(f),o.push(h)});const i=Math.min(...t),a=Math.max(...r),s=Math.min(...n),c=Math.max(...o);return{minX:i,maxX:a,minY:s,maxY:c}},Vv=e=>{const t=[];return e.forEach(n=>{const r=t.findIndex(o=>o.value===n.value);if(r===-1)t.push(n);else{const o=t[r],i=Math.min(o.range[0],n.range[0]),a=Math.max(o.range[1],n.range[1]),s=[i,a],c={value:n.value,range:s};t[r]=c}}),t},Xz=e=>{const t={};for(const n of e)t[n.id]=yn(10);return t},f3=e=>{const t={},n={};for(const r of e){const o=r.groupId;o&&!t[o]&&(t[o]=yn(10)),n[r.id]=yn(10)}return{groupIdMap:t,elIdMap:n}},GP=e=>{const t=ot(e);return[t.setAlpha(.3).toRgbString(),t.setAlpha(.1).toRgbString()]},Lb=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.curve){const r=e.curve.join(",");return`M${t} Q${r} ${n}`}else if(e.cubic){const[r,o]=e.cubic,i=r.join(","),a=o.join(",");return`M${t} C${i} ${a} ${n}`}return`M${t} L${n}`},Ez=(e,t)=>{const n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return n.top>=r.top&&n.bottom<=r.bottom};var Wz={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 Vz(){return"icon-"+((1+Math.random())*4294967296|0).toString(16).substring(1)}function Uz(e,t,n){var r=typeof t.fill=="string"?[t.fill]:t.fill||[],o=[],i=t.theme||n.theme;switch(i){case"outline":o.push(typeof r[0]=="string"?r[0]:"currentColor"),o.push("none"),o.push(typeof r[0]=="string"?r[0]:"currentColor"),o.push("none");break;case"filled":o.push(typeof r[0]=="string"?r[0]:"currentColor"),o.push(typeof r[0]=="string"?r[0]:"currentColor"),o.push("#FFF"),o.push("#FFF");break;case"two-tone":o.push(typeof r[0]=="string"?r[0]:"currentColor"),o.push(typeof r[1]=="string"?r[1]:n.colors.twoTone.twoTone),o.push(typeof r[0]=="string"?r[0]:"currentColor"),o.push(typeof r[1]=="string"?r[1]:n.colors.twoTone.twoTone);break;case"multi-color":o.push(typeof r[0]=="string"?r[0]:"currentColor"),o.push(typeof r[1]=="string"?r[1]:n.colors.multiColor.outFillColor),o.push(typeof r[2]=="string"?r[2]:n.colors.multiColor.innerStrokeColor),o.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:o,id:e}}var Yz=Symbol("icon-context");function Je(e,t,n){var r={name:"icon-"+e,props:["size","strokeWidth","strokeLinecap","strokeLinejoin","theme","fill","spin"],setup:function(i){var a=Vz(),s=$o(Yz,Wz);return function(){var c=i.size,l=i.strokeWidth,u=i.strokeLinecap,f=i.strokeLinejoin,d=i.theme,h=i.fill,p=i.spin,m=Uz(a,{size:c,strokeWidth:l,strokeLinecap:u,strokeLinejoin:f,theme:d,fill:h},s),A=[s.prefix+"-icon"];return A.push(s.prefix+"-icon-"+e),t&&s.rtl&&A.push(s.prefix+"-icon-rtl"),p&&A.push(s.prefix+"-icon-spin"),w("span",{class:A.join(" ")},[n(m)])}}};return r}const Qz=Je("add-text",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M4 8H32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),w("path",{d:"M28 21H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),w("path",{d:"M18 42L18 8",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),w("path",{d:"M36 42L36 21",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),Zz=Je("align-bottom",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("path",{d:"M42 42H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Bz=Je("align-horizontally",!1,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("path",{d:"M24 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Dz=Je("align-left",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("path",{d:"M6.5 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Kz=Je("align-right",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("path",{d:"M42 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Hz=Je("align-text-both",!1,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M42 19H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M42 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M42 39H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Gz=Je("align-text-bottom-one",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("path",{d:"M34 27H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M27 34H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Jz=Je("align-text-center",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M36 19H12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M42 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M36 39H12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),zz=Je("align-text-left",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M34 19H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M42 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M34 39H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),jz=Je("align-text-middle-one",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("path",{d:"M34 20H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M26 27H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),$z=Je("align-text-right",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M42 19H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M42 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M42 39H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),qz=Je("align-text-top-one",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("path",{d:"M26 20H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M34 13H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),ej=Je("align-top",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("path",{d:"M42 6.5H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),tj=Je("align-vertically",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("path",{d:"M42 24H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),nj=Je("arrow-circle-left",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("path",{d:"M32.4917 24.5H14.4917",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("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)])}),rj=Je("attention",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("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),w("path",{d:"M24 12V28",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),oj=Je("back",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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)])}),ij=Je("background-color",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("path",{d:"M20.8535 5.50439L24.389 9.03993",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),w("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),w("path",{d:"M12 20.0732L28.961 25.6496",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),w("path",{d:"M4 43H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),aj=Je("bring-to-front",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("path",{d:"M9.96906 6H6V10.0336",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M9.99705 30H6V26.012",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M26.0023 6H30V10.0152",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M16.0283 6H20.0083",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("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),w("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),w("path",{d:"M15.9922 30H17.9996",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),sj=Je("bring-to-front-one",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M14 21V34H27",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M21 14H34V27",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("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),w("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)])}),lj=Je("chart-histogram",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M14 30V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M22 22V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M30 6V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M38 14V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),cj=Je("chart-histogram-one",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M18 34H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M26 26H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M42 18H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M34 10L14 10",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),uj=Je("chart-line",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M14 34L22 18L32 27L42 6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),fj=Je("chart-line-area",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M14 34L22 18L32 27L42 6V34H14Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),dj=Je("chart-pie",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("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)])}),hj=Je("chart-proportion",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("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)])}),pj=Je("chart-ring",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("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)])}),mj=Je("chart-scatter",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("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),w("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),w("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),w("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)])}),vj=Je("check-one",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("path",{d:"M16 24L22 30L34 18",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),gj=Je("clear",!1,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("path",{d:"M8 40H40V22H8V40Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M16 39.8976V33.9141",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M24 39.8977V33.8977",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M32 39.8976V33.9141",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M12 40H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Aj=Je("click",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M24 4V12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("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),w("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),w("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),w("path",{d:"M4 24H12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("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)])}),Rj=Je("close",!1,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M8 8L40 40",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M8 40L40 8",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),yj=Je("close-one",!1,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("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),w("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)])}),xj=Je("close-small",!1,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M14 14L34 34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M14 34L34 14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),bj=Je("code",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M16 13L4 25.4322L16 37",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M32 13L44 25.4322L32 37",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M28 4L21 44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),Sj=Je("color-filter",!1,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("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),w("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)])}),Mj=Je("connection",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M39 34L44 39L39 44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("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),w("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)])}),wj=Je("copy",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("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)])}),Lj=Je("delete",!1,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M9 10V44H39V10H9Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M20 20V33",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M28 20V33",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M4 10H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("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)])}),Oj=Je("down",!1,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M36 18L24 30L12 18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Tj=Je("download",!1,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M6 24.0083V42H42V24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M33 23L24 32L15 23",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M23.9917 6V32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),kj=Je("edit",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M7 42H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("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)])}),Nj=Je("effects",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("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)])}),Pj=Je("erase",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M4 42H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("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)])}),Cj=Je("fill",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("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),w("path",{d:"M34 23L23 34",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M25 14L14 25",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M34 14L14 34",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M14 22V34H26",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M22 14H34V26",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Ij=Je("flip-horizontally",!1,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M24 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M4 34L16 12V34H4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M44 34H32V12L44 34Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),Fj=Je("flip-vertically",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M42 24L6 24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M14 4L36 16H14V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M14 44V32H36L14 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),_j=Je("font-size",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M8 10.9333L8 6H40V10.9333",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M24 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M16 42H32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Xj=Je("format",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("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),w("path",{d:"M16 32L16 42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),Ej=Je("format-brush",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M34 5H6V20H34V5Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),w("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)])}),Wj=Je("formula",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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)])}),Vj=Je("full-screen",!1,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M33 6H42V15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M42 33V42H33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M15 42H6V33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M6 15V6H15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Uj=Je("full-screen-one",!1,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M6 6L16 15.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M6 41.8995L16 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("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),w("path",{d:"M41.8995 6L32 15.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M33 6H42V15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M42 33V42H33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M15 42H6V33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M6 15V6H15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Yj=Je("full-screen-play",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("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)])}),Qj=Je("fullwidth",!1,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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)])}),Zj=Je("github",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("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)])}),Bj=Je("graphic-design",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("path",{d:"M44 18H18V44H44V18Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),Dj=Je("group",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M12 4H4V12H12V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M44 36H36V44H44V36Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M12 36H4V44H12V36Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M44 4H36V12H44V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M8 36V12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M40 36V12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M12 8H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M12 40H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("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)])}),Kj=Je("hamburger-button",!1,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M7.94971 11.9497H39.9497",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M7.94971 23.9497H39.9497",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M7.94971 35.9497H39.9497",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Hj=Je("high-light",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M6 44L6 25H12V17H36V25H42V44H6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M17 17V8L31 4V17",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Gj=Je("indent-left",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M6 9H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M19 19H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M19 29H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M11 19L6 24L11 29",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M6 39H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Jj=Je("indent-right",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M29 19H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M29 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M37 19L42 24L37 29",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M42 39H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),zj=Je("info",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("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),w("path",{d:"M24.5 34V20H23.5H22.5",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M21 34H28",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),jj=Je("insert-table",!1,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("path",{d:"M18 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),w("path",{d:"M30 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),w("path",{d:"M6 18H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),w("path",{d:"M6 30H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),$j=Je("left",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M31 36L19 24L31 12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),qj=Je("left-two",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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)])}),e$=Je("link-one",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("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),w("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),w("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)])}),t$=Je("list",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M5 10L8 13L14 7",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M5 24L8 27L14 21",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M5 38L8 41L14 35",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M21 24H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M21 38H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M21 10H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),n$=Je("list-view",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("path",{d:"M4 14H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M20 24H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M20 32H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M12 24H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M12 32H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),r$=Je("lock",!1,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("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),w("path",{d:"M24 30V36",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),o$=Je("logout",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M23.9917 6H6V42H24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M33 33L42 24L33 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M16 23.9917H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),i$=Je("magic",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("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)])}),a$=Je("minus",!1,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M10.5 24L38.5 24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),s$=Je("move-one",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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)])}),l$=Je("needle",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("g",{"clip-path":"url(#"+e.id+"3d50a8e2)"},[w("path",{d:"M39 23L25 9",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M43.9995 17L30.9995 4",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("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),w("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),w("path",{d:"M11 37L6 42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("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)]),w("defs",null,[w("clipPath",{id:e.id+"3d50a8e2"},[w("rect",{width:"48",height:"48",fill:e.colors[2]},null)])])])}),c$=Je("next",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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)])}),u$=Je("off-screen-one",!1,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M6 6L16 15.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M6 41.8995L16 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("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),w("path",{d:"M41.8995 6L32 15.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M32 7V16H41",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M16 7V16H7",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M16 41V32H7",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M32 41V32H40.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),f$=Je("ordered-list",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M9 4V13",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M12 13H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M12 27H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("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),w("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),w("path",{d:"M11 38H9",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M9 4L6 6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M21 24H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M21 38H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M21 10H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),d$=Je("pause",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M16 12V36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M32 12V36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),h$=Je("picture",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("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),w("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)])}),p$=Je("platte",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("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),w("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),w("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)])}),m$=Je("play-one",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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)])}),v$=Je("plus",!1,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M24.0605 10L24.0239 38",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M10 24L38 24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),g$=Je("power",!1,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("path",{d:"M24 4V24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),A$=Je("ppt",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M4 8H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("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),w("path",{d:"M22 16L27 21L22 26",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M16 42L24 34L32 42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),R$=Je("preview-close",!1,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("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),w("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),w("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),w("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)])}),y$=Je("preview-open",!1,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("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)])}),x$=Je("quote",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("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)])}),b$=Je("right",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M19 12L31 24L19 36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),S$=Je("right-two",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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)])}),M$=Je("rotate",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M12 24H42V42H12V24Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M6 8V17H15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("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)])}),w$=Je("round",!1,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("circle",{cx:"24",cy:"24",r:"20",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth},null)])}),L$=Je("row-height",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M16 35L10 41L4 35",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M16 13L10 7L4 13",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M10 7V41",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M44 9H22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M36 19H22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M44 29H22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M36 39H22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),O$=Je("search",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("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),w("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)])}),T$=Je("send-to-back",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M14 21H5V5H21V14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M32 27H43V43H27V32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M14 32V14H32V32H14Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),k$=Je("sent-to-back",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("path",{d:"M9.96906 6H6V10.0336",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M9.99705 30H6V26.012",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M26 30H29.9971V26.012",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M26.0023 6H30V9.99785",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M16.0283 6H20.0083",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),w("path",{d:"M6 16V20.0148",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M30 16V20.0148",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M15.9922 30H19.9996",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),N$=Je("square",!1,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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)])}),P$=Je("stopwatch-start",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("path",{d:"M18 4H30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M24 19V27",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M32 27H24",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M24 4V8",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),C$=Je("strikethrough",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M5 24H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("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),w("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),w("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)])}),I$=Je("tailoring",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M12 4V36H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M20 12H36V28",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M12 12H4",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),w("path",{d:"M36 44V36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),F$=Je("text",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("path",{d:"M16 19V16H32V19",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M22 34H26",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M24 18L24 34",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),_$=Je("text-bold",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("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)])}),X$=Je("text-italic",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M20 6H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M12 42H28",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M29 5.95215L19 41.9998",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),E$=Je("text-rotation-down",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("path",{d:"M37 6V42L43 36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),W$=Je("text-rotation-none",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("path",{d:"M6 37H42L36 43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),V$=Je("text-underline",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M8 44H40",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("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)])}),U$=Je("theme",!1,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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)])}),Y$=Je("transform",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("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),w("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),w("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)])}),Q$=Je("undo",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("path",{d:"M6 9V17H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Z$=Je("ungroup",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M11.2727 4H4V11.2727H11.2727V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),w("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),w("path",{d:"M11.2727 24H4V31.2727H11.2727V24Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),w("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),w("path",{d:"M31.2727 4H24V11.2727H31.2727V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),w("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),w("path",{d:"M11.2729 7.63623H24.0002",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M24 40.3638H36.7273",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("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),w("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),w("path",{d:"M7.63672 11.2725V23.9997",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M40.3633 24V36.7273",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),B$=Je("unlock",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("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),w("path",{d:"M24 30V36",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),D$=Je("up",!1,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M13 30L25 18L37 30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),K$=Je("vertical-spacing-between-items",!1,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("path",{d:"M8 6V12H40V6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M14 24H34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),w("path",{d:"M8 42V36H40V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),H$=Je("video-two",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("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),w("path",{d:"M6 15H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M33 6L27 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),w("path",{d:"M21 6L15 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),G$=Je("volume-mute",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("rect",{opacity:"0.01",x:"30",y:"18",width:"13",height:"13",fill:e.colors[2]},null),w("mask",{id:e.id+"603476ab",maskUnits:"userSpaceOnUse",x:"30",y:"18",width:"13",height:"13",style:{maskType:"alpha"}},[w("rect",{x:"30",y:"18",width:"13",height:"13",fill:e.colors[2]},null)]),w("g",{mask:"url(#"+e.id+"603476ab)"},[w("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),w("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)]),w("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)])}),J$=Je("volume-notice",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("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),w("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)])}),z$=Je("volume-small",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("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)])}),j$=Je("write",!0,function(e){return w("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[w("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),w("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)])}),Uv={IconPlayOne:m$,IconFullScreenPlay:Yj,IconLock:r$,IconUnlock:B$,IconPpt:A$,IconFormat:Xj,IconPicture:h$,IconFullScreen:Vj,IconList:t$,IconOrderedList:f$,IconFlipVertically:Fj,IconFlipHorizontally:Ij,IconFontSize:_j,IconCode:bj,IconTextBold:_$,IconTextItalic:X$,IconTextUnderline:V$,IconStrikethrough:C$,IconEdit:kj,IconQuote:x$,IconBackgroundColor:ij,IconGroup:Dj,IconUngroup:Z$,IconBack:oj,IconNext:c$,IconFullwidth:Qj,IconAlignTop:ej,IconAlignLeft:Dz,IconAlignRight:Kz,IconAlignBottom:Zz,IconAlignVertically:tj,IconAlignHorizontally:Bz,IconBringToFront:aj,IconSendToBack:T$,IconAlignTextLeft:zz,IconAlignTextRight:$z,IconAlignTextCenter:Jz,IconAlignTextBoth:Hz,IconRowHeight:L$,IconWrite:j$,IconInsertTable:jj,IconAddText:Qz,IconFill:Cj,IconTailoring:I$,IconEffects:Nj,IconColorFilter:Sj,IconUp:D$,IconDown:Oj,IconPlus:v$,IconMinus:a$,IconConnection:Mj,IconBringToFrontOne:sj,IconSentToBack:k$,IconGithub:Zj,IconChartProportion:hj,IconChartHistogram:lj,IconChartHistogramOne:cj,IconChartLineArea:fj,IconChartRing:pj,IconChartScatter:mj,IconChartLine:uj,IconChartPie:dj,IconText:F$,IconRotate:M$,IconLeftTwo:qj,IconRightTwo:S$,IconPlatte:p$,IconClose:Rj,IconCloseSmall:xj,IconUndo:Q$,IconTransform:Y$,IconClick:Aj,IconTheme:U$,IconArrowCircleLeft:nj,IconGraphicDesign:Bj,IconLogout:o$,IconErase:Pj,IconClear:gj,IconAlignTextTopOne:qz,IconAlignTextBottomOne:Gz,IconAlignTextMiddleOne:jz,IconPause:d$,IconVolumeMute:G$,IconVolumeNotice:J$,IconVolumeSmall:z$,IconVideoTwo:H$,IconFormula:Wj,IconLinkOne:e$,IconFullScreenOne:Uj,IconOffScreenOne:u$,IconPower:g$,IconListView:n$,IconMagic:i$,IconHighLight:Hj,IconDownload:Tj,IconIndentLeft:Gj,IconIndentRight:Jj,IconVerticalSpacingBetweenItems:K$,IconCopy:wj,IconDelete:Lj,IconSquare:N$,IconRound:w$,IconNeedle:l$,IconTextRotationNone:W$,IconTextRotationDown:E$,IconFormatBrush:Ej,IconPreviewOpen:y$,IconPreviewClose:R$,IconStopwatchStart:P$,IconSearch:O$,IconLeft:$j,IconRight:b$,IconMoveOne:s$,IconHamburgerButton:Kj,IconAttention:rj,IconCheckOne:vj,IconCloseOne:yj,IconInfo:zj},$$={install(e){for(const t of Object.keys(Uv))e.component(t,Uv[t])}},q$=["id"],eq={class:"icons"},tq={class:"content"},nq={key:0,class:"title"},rq={class:"description"},oq={key:0,class:"control"},iq=Fe({__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:o,IconCloseOne:i,IconInfo:a,IconCloseSmall:s}=Uv,c=e,l=n,u=me(!0),f=me(null),d=()=>{c.duration<=0||(f.value=setTimeout(p,c.duration))},h=()=>{f.value&&clearTimeout(f.value)},p=()=>u.value=!1;return Gx(()=>{h()}),Gt(()=>{d()}),t({close:p}),(m,A)=>(Q(),Oe(ku,{name:"message-fade",appear:"",mode:"in-out",onBeforeLeave:A[3]||(A[3]=x=>l("close")),onAfterLeave:A[4]||(A[4]=x=>l("destroy"))},{default:re(()=>[u.value?(Q(),ee("div",{key:0,class:"message",id:m.id},[Y("div",{class:"message-container",onMouseenter:A[1]||(A[1]=x=>h()),onMouseleave:A[2]||(A[2]=x=>d())},[Y("div",eq,[m.type==="warning"?(Q(),Oe(H(r),{key:0,theme:"filled",size:"18",fill:"#faad14"})):Be("",!0),m.type==="success"?(Q(),Oe(H(o),{key:1,theme:"filled",size:"18",fill:"#52c41a"})):Be("",!0),m.type==="error"?(Q(),Oe(H(i),{key:2,theme:"filled",size:"18",fill:"#ff4d4f"})):Be("",!0),m.type==="info"?(Q(),Oe(H(a),{key:3,theme:"filled",size:"18",fill:"#1677ff"})):Be("",!0)]),Y("div",tq,[m.title?(Q(),ee("div",nq,bt(m.title),1)):Be("",!0),Y("div",rq,bt(m.message),1)]),m.closable?(Q(),ee("div",oq,[Y("span",{class:"close-btn",onClick:A[0]||(A[0]=x=>p())},[w(H(s))])])):Be("",!0)],32)],8,q$)):Be("",!0)]),_:1}))}}),We=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},aq=We(iq,[["__scopeId","data-v-5f638602"]]),d3=[];let Ua=null,sq=0;const lq={duration:3e3},wn=e=>{const t="message-"+sq++,n={...lq,...e,id:t};Ua||(Ua=document.createElement("div"),Ua.className="message-wrap",Ua.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(Ua));const r=w(aq,n,null),o=document.createElement("div");r.appContext=e.ctx||wn._context||null,r.props.onClose=e.onClose,r.props.onDestroy=()=>{Ua&&Ua.childNodes.length<=1&&(Ua.remove(),Ua=null),bd(null,o)},bd(r,o),Ua.appendChild(o.firstElementChild);const i={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 d3.push(i),i};wn.success=(e,t)=>wn({...t,type:"success",message:e});wn.info=(e,t)=>wn({...t,type:"info",message:e});wn.warning=(e,t)=>wn({...t,type:"warning",message:e});wn.error=(e,t)=>wn({...t,type:"error",message:e});wn.closeAll=function(){for(let e=d3.length-1;e>=0;e--)d3[e].close()};const Ob=e=>{const n=e.replace(/[\n\r]+/g,"<br>").split("<br>");let r="";for(const o of n)o&&(r+=`<div>${o}</div>`);return r},cq=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,o=n.clientHeight;n.onload=null,n.onerror=null,document.body.removeChild(n),t({width:r,height:o})},n.onerror=()=>{n.onload=null,n.onerror=null}}),Ju=e=>new Promise(t=>{const n=new FileReader;n.addEventListener("load",()=>{t(n.result)}),n.readAsDataURL(e)}),Ht=1e3;var cn=(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))(cn||{}),Nt=(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))(Nt||{});const zu={[cn.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;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`}},[cn.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;return`M 0 ${t-r} L 0 0 L ${e-r} 0 L ${e} ${r} L ${e} ${t} L ${r} ${t} Z`}},[cn.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;return`M 0 ${t} L 0 0 L ${e-r} 0 L ${e} ${r} L ${e} ${t} Z`}},[cn.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;return`M 0 ${r} L ${r} 0 L ${e-r} 0 L ${e} ${r} L ${e} ${t} L 0 ${t} Z`}},[cn.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;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`}},[cn.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;return`M 0 0 L ${e-r} 0 Q ${e} 0 ${e} ${r} L ${e} ${t} L 0 ${t} L 0 0 Z`}},[cn.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;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`}},[cn.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;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`}},[cn.MESSAGE]:{formula:(e,t)=>{const n=e*.2,r=t*.2;return`M 0 0 L ${e} 0 L ${e} ${t-r} L ${e/2} ${t-r} L ${e/2-n} ${t} L ${e/2-n} ${t-r} L 0 ${t-r} Z`}},[cn.ROUND_MESSAGE]:{formula:(e,t)=>{const n=Math.min(e,t)*.125,r=e*.2,o=t*.2;return`M 0 ${n} Q 0 0 ${n} 0 L ${e-n} 0 Q ${e} 0 ${e} ${n} L ${e} ${t-n-o} Q ${e} ${t-o} ${e-n} ${t-o} L ${e/2} ${t-o} L ${e/2-r} ${t} L ${e/2-r} ${t-o} L ${n} ${t-o} Q 0 ${t-o} 0 ${t-n-o} L 0 ${n} Z`}},[cn.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;return`M 0 0 L 0 ${t} L ${e} ${t} L ${e} ${t-r} L ${r} ${t-r} L ${r} 0 Z`}},[cn.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;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`}},[cn.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;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`}},[cn.TRIANGLE]:{editable:!0,defaultValue:.5,range:[0,1],relative:"left",getBaseSize:e=>e,formula:(e,t,n)=>`M ${e*n} 0 L 0 ${t} L ${e} ${t} Z`},[cn.PARALLELOGRAM_LEFT]:{editable:!0,defaultValue:.25,range:[0,.9],relative:"left",getBaseSize:e=>e,formula:(e,t,n)=>{const r=e*n;return`M ${r} 0 L ${e} 0 L ${e-r} ${t} L 0 ${t} Z`}},[cn.PARALLELOGRAM_RIGHT]:{editable:!0,defaultValue:.25,range:[0,.9],relative:"right",getBaseSize:e=>e,formula:(e,t,n)=>{const r=e*n;return`M 0 0 L ${e-r} 0 L ${e} ${t} L ${r} ${t} Z`}},[cn.TRAPEZOID]:{editable:!0,defaultValue:.25,range:[0,.5],relative:"left",getBaseSize:e=>e,formula:(e,t,n)=>{const r=e*n;return`M ${r} 0 L ${e-r} 0 L ${e} ${t} L 0 ${t} Z`}},[cn.BULLET]:{editable:!0,defaultValue:.2,range:[0,1],relative:"top",getBaseSize:(e,t)=>t,formula:(e,t,n)=>{const r=t*n;return`M ${e/2} 0 L 0 ${r} L 0 ${t} L ${e} ${t} L ${e} ${r} Z`}},[cn.INDICATOR]:{editable:!0,defaultValue:.2,range:[0,.9],relative:"right",getBaseSize:e=>e,formula:(e,t,n)=>{const r=e*n;return`M ${e} ${t/2} L ${e-r} 0 L 0 0 L ${r} ${t/2} L 0 ${t} L ${e-r} ${t} Z`}}},Tb=[{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:cn.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:cn.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:cn.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:cn.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:cn.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:cn.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:cn.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:cn.ROUND_RECT_DIAGONAL,pptxShapeType:"round2DiagRect"},{viewBox:[200,200],path:"M 0 80 L 60 0 L 100 40 L 180 20 L 200 120 L 160 200 L 0 200 L 60 140 Z",title:"任意多边形"}]},{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:cn.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:cn.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:cn.PARALLELOGRAM_RIGHT},{viewBox:[200,200],path:"M 50 0 L 150 0 L 200 200 L 0 200 L 50 0 Z",pathFormula:cn.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:cn.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:cn.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:"M 100 0 L 0 90 L 50 200 L 150 200 L 200 90 L 100 0 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:"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"},{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"},{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 200 0 L 100 0 L 0 100 L 0 200 L 200 0 Z"},{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:cn.L},{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:cn.RING_RECT},{viewBox:[200,200],path:"M0 100 A100 100 0 1 1 0 101 Z M150 100 A50 50 0 1 0 150 101 Z"},{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:cn.PLUS},{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"},{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:cn.MESSAGE},{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:cn.ROUND_MESSAGE},{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"},{viewBox:[200,200],path:"M 200 0 L 0 0 L 200 200 L 0 200 L 200 0 Z"},{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"},{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"},{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 80 40 L 20 20 L 40 80 L 0 100 L 40 120 L 20 180 L 80 160 L 100 200 L 120 160 L 180 180 L 160 120 L 200 100 L 160 80 L 180 20 L 120 40 L 100 0 Z"},{viewBox:[200,200],path:"M 200 0 C 80 40 80 160 200 200 C -60 200 -60 0 200 0 Z"}]},{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"},{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"},{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"},{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"},{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"},{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}]}],uq={bar:"bar",horizontalBar:"bar",line:"line",area:"line",scatter:"line",pie:"pie",ring:"pie"},Jt=()=>{const e=Zg(),t=_n.debounce(function(){e.addSnapshot()},300,{trailing:!0}),n=_n.throttle(function(){e.reDo()},100,{leading:!0,trailing:!1}),r=_n.throttle(function(){e.unDo()},100,{leading:!0,trailing:!1});return{addHistorySnapshot:t,redo:n,undo:r}},ju=()=>{const e=ft(),t=ct(),{creatingElement:n}=Ee(e),{theme:r,viewportRatio:o}=Ee(t),{addHistorySnapshot:i}=Jt(),a=(A,x)=>{t.addElement(A),e.setActiveElementIdList([A.id]),n.value&&e.setCreatingElement(null),setTimeout(()=>{e.setEditorareaFocus(!0)},0),x&&x(),i()};return{createImageElement:A=>{cq(A).then(({width:x,height:R})=>{const y=R/x;y<o.value&&x>Ht?(x=Ht,R=x*y):R>Ht*o.value&&(R=Ht*o.value,x=R/y),a({type:"image",id:yn(10),src:A,width:x,height:R,left:(Ht-x)/2,top:(Ht*o.value-R)/2,fixedRatio:!0,rotate:0})})},createChartElement:A=>{const x={type:"chart",id:yn(10),chartType:uq[A],left:300,top:81.25,width:400,height:400,rotate:0,themeColor:[r.value.themeColor],gridColor:r.value.fontColor,data:{labels:["类别1","类别2","类别3","类别4","类别5"],legends:["系列1"],series:[[12,19,5,2,18]]}},R={...A==="bar"?{horizontalBars:!1,stackBars:!1}:{},...A==="horizontalBar"?{horizontalBars:!0,stackBars:!1}:{},...A==="line"?{showLine:!0,lineSmooth:!0,showArea:!1}:{},...A==="area"?{showLine:!0,lineSmooth:!0,showArea:!0}:{},...A==="scatter"?{showLine:!1,lineSmooth:!0,showArea:!1}:{},...A==="pie"?{donut:!1}:{},...A==="ring"?{donut:!0}:{}};a({...x,options:R})},createTableElement:(A,x)=>{const R={fontname:r.value.fontName,color:r.value.fontColor},y=[];for(let O=0;O<A;O++){const k=[];for(let _=0;_<x;_++)k.push({id:yn(10),colspan:1,rowspan:1,text:"",style:R});y.push(k)}const g=100,S=36,L=new Array(x).fill(1/x),T=x*g,M=A*S;a({type:"table",id:yn(10),width:T,height:M,colWidths:L,rotate:0,data:y,left:(Ht-T)/2,top:(Ht*o.value-M)/2,outline:{width:2,style:"solid",color:"#eeece1"},theme:{color:r.value.themeColor,rowHeader:!0,rowFooter:!1,colHeader:!1,colFooter:!1},cellMinHeight:36})},createTextElement:(A,x)=>{const{left:R,top:y,width:g,height:S}=A,L=(x==null?void 0:x.content)||"",T=(x==null?void 0:x.vertical)||!1,M=yn(10);a({type:"text",id:M,left:R,top:y,width:g,height:S,content:L,rotate:0,defaultFontName:r.value.fontName,defaultColor:r.value.fontColor,vertical:T},()=>{setTimeout(()=>{const O=document.querySelector(`#editable-element-${M} .ProseMirror`);O&&O.focus()},0)})},createShapeElement:(A,x,R={})=>{const{left:y,top:g,width:S,height:L}=A,T={type:"shape",id:yn(10),left:y,top:g,width:S,height:L,viewBox:x.viewBox,path:x.path,fill:r.value.themeColor,fixedRatio:!1,rotate:0,...R};if(x.special&&(T.special=!0),x.pathFormula){T.pathFormula=x.pathFormula,T.viewBox=[S,L];const M=zu[x.pathFormula];"editable"in M?(T.path=M.formula(S,L,M.defaultValue),T.keypoint=M.defaultValue):T.path=M.formula(S,L)}a(T)},createLineElement:(A,x)=>{const{left:R,top:y,start:g,end:S}=A,L={type:"line",id:yn(10),left:R,top:y,start:g,end:S,points:x.points,color:r.value.themeColor,style:x.style,width:2};x.isBroken&&(L.broken=[(g[0]+S[0])/2,(g[1]+S[1])/2]),x.isCurve&&(L.curve=[(g[0]+S[0])/2,(g[1]+S[1])/2]),x.isCubic&&(L.cubic=[[(g[0]+S[0])/2,(g[1]+S[1])/2],[(g[0]+S[0])/2,(g[1]+S[1])/2]]),a(L)},createLatexElement:A=>{a({type:"latex",id:yn(10),width:A.w,height:A.h,rotate:0,left:(Ht-A.w)/2,top:(Ht*o.value-A.h)/2,path:A.path,latex:A.latex,color:r.value.fontColor,strokeWidth:2,viewBox:[A.w,A.h],fixedRatio:!0})},createVideoElement:A=>{a({type:"video",id:yn(10),width:500,height:300,rotate:0,left:(Ht-500)/2,top:(Ht*o.value-300)/2,src:A,autoplay:!1})},createAudioElement:A=>{a({type:"audio",id:yn(10),width:50,height:50,rotate:0,left:(Ht-50)/2,top:(Ht*o.value-50)/2,loop:!1,autoplay:!1,fixedRatio:!0,color:r.value.themeColor,src:A})}}},Dg=()=>{const e=ft(),t=ct(),{currentSlide:n,slides:r}=Ee(t),{addHistorySnapshot:o}=Jt(),i=c=>{const{groupIdMap:l,elIdMap:u}=f3(c),f=c[0];let d=0,h;do h=n.value.elements.find(p=>{if(p.type!==f.type)return!1;const{minX:m,maxX:A,minY:x,maxY:R}=Ma(p),{minX:y,maxX:g,minY:S,maxY:L}=Ma({...f,left:f.left+d,top:f.top+d});return m===y&&A===g&&x===S&&R===L}),h&&(d+=10);while(h);for(const p of c)p.id=u[p.id],p.left=p.left+d,p.top=p.top+d,p.groupId&&(p.groupId=l[p.groupId]);t.addElement(c),e.setActiveElementIdList(Object.values(u)),o()},a=c=>{const l=Xz(c),u=c.map(f=>{const{groupIdMap:d,elIdMap:h}=f3(f.elements);for(const p of f.elements)p.id=h[p.id],p.groupId&&(p.groupId=d[p.groupId]),p.link&&p.link.type==="slide"&&(l[p.link.target]?p.link.target=l[p.link.target]:delete p.link);if(f.animations)for(const p of f.animations)p.id=yn(10),p.elId=h[p.elId];return{...f,id:l[f.id]}});t.addSlide(u),o()},s=Se(()=>!(r.value.length>1||r.value[0].elements.length>0));return{addElementsFromData:i,addSlidesFromData:a,isEmptySlide:s}},kb=()=>{const{createTextElement:e}=ju(),{addElementsFromData:t,addSlidesFromData:n}=Dg(),r=i=>{e({left:0,top:0,width:600,height:50},{content:i})};return{pasteTextClipboardData:(i,a)=>{const s=(a==null?void 0:a.onlySlide)||!1,c=(a==null?void 0:a.onlyElements)||!1,l=wb(i);if(typeof l=="object"){const{type:u,data:f}=l;u==="elements"&&!s?t(f):u==="slides"&&!c&&n(f)}else if(!c&&!s){const u=Ob(l);r(u)}}}},Dd=()=>{const e=ft(),t=ct(),{selectedSlidesIndex:n,activeElementIdList:r}=Ee(e),{currentSlide:o,slides:i,theme:a,slideIndex:s}=Ee(t),c=Se(()=>[...n.value,s.value]),l=Se(()=>i.value.filter((O,k)=>c.value.includes(k))),u=Se(()=>l.value.map(O=>O.id)),{pasteTextClipboardData:f}=kb(),{addSlidesFromData:d}=Dg(),{addHistorySnapshot:h}=Jt(),p=()=>{const O={id:yn(10),elements:[],background:{type:"solid",color:a.value.backgroundColor}};t.updateSlideIndex(0),e.setActiveElementIdList([]),t.setSlides([O])},m=O=>{O===Rt.UP&&s.value>0?(r.value.length&&e.setActiveElementIdList([]),t.updateSlideIndex(s.value-1)):O===Rt.DOWN&&s.value<i.value.length-1&&(r.value.length&&e.setActiveElementIdList([]),t.updateSlideIndex(s.value+1))},A=()=>{const O=Mb(JSON.stringify({type:"slides",data:l.value}));DP(O).then(()=>{e.setThumbnailsFocus(!0)})},x=()=>{KP().then(O=>{f(O,{onlySlide:!0})}).catch(O=>wn.warning(O))},R=()=>{const O={id:yn(10),elements:[],background:{type:"solid",color:a.value.backgroundColor}};e.setActiveElementIdList([]),t.addSlide(O),h()},y=O=>{const{groupIdMap:k,elIdMap:_}=f3(O.elements);for(const X of O.elements)X.id=_[X.id],X.groupId&&(X.groupId=k[X.groupId]);const N={...O,id:yn(10)};e.setActiveElementIdList([]),t.addSlide(N),h()},g=()=>{const O=JSON.parse(JSON.stringify(o.value));d([O])},S=(O=u.value)=>{i.value.length===O.length?p():t.deleteSlide(O),e.updateSelectedSlidesIndex([]),h()};return{resetSlides:p,updateSlideIndex:m,copySlide:A,pasteSlide:x,createSlide:R,createSlideByTemplate:y,copyAndPasteSlide:g,deleteSlide:S,cutSlide:()=>{const O=[...u.value];A(),S(O)},selectAllSlide:()=>{const O=Array.from(Array(i.value.length),(k,_)=>_);e.setActiveElementIdList([]),e.updateSelectedSlidesIndex(O)},sortSlides:(O,k)=>{if(k===O)return;const _=JSON.parse(JSON.stringify(i.value)),N=_[k];_.splice(k,1),_.splice(O,0,N),t.setSlides(_),t.updateSlideIndex(O)}}},JP=()=>{const e=ft(),t=ct(),{activeElementIdList:n}=Ee(e),{currentSlide:r}=Ee(t),{addHistorySnapshot:o}=Jt();return{lockElement:()=>{const s=JSON.parse(JSON.stringify(r.value.elements));for(const c of s)n.value.includes(c.id)&&(c.lock=!0);t.updateSlide({elements:s}),e.setActiveElementIdList([]),o()},unlockElement:s=>{const c=JSON.parse(JSON.stringify(r.value.elements));if(s.groupId){const l=[];for(const u of c)u.groupId===s.groupId&&(u.lock=!1,l.push(u.id));t.updateSlide({elements:c}),e.setActiveElementIdList(l)}else{for(const l of c)if(l.id===s.id){l.lock=!1;break}t.updateSlide({elements:c}),e.setActiveElementIdList([s.id])}o()}}},kp=()=>{const e=ft(),t=ct(),{activeElementIdList:n,activeGroupElementId:r}=Ee(e),{currentSlide:o}=Ee(t),{addHistorySnapshot:i}=Jt();return{deleteElement:()=>{if(!n.value.length)return;let c=[];r.value?c=o.value.elements.filter(l=>l.id!==r.value):c=o.value.elements.filter(l=>!n.value.includes(l.id)),e.setActiveElementIdList([]),t.updateSlide({elements:c}),i()},deleteAllElements:()=>{o.value.elements.length&&(e.setActiveElementIdList([]),t.updateSlide({elements:[]}),i())}}},Nb=()=>{const e=ft(),t=ct(),{activeElementIdList:n,activeElementList:r,handleElementId:o}=Ee(e),{currentSlide:i}=Ee(t),{addHistorySnapshot:a}=Jt();return{canCombine:Se(()=>{if(r.value.length<2)return!1;const u=r.value[0].groupId;return u?!r.value.every(d=>(d.groupId&&d.groupId)===u):!0}),combineElements:()=>{if(!r.value.length)return;let u=JSON.parse(JSON.stringify(i.value.elements));const f=yn(10),d=[];for(const A of u)n.value.includes(A.id)&&(A.groupId=f,d.push(A));const h=u.findIndex(A=>A.id===d[d.length-1].id),p=d.map(A=>A.id);u=u.filter(A=>!p.includes(A.id));const m=h-d.length+1;u.splice(m,0,...d),t.updateSlide({elements:u}),a()},uncombineElements:()=>{if(!r.value.length||!r.value.some(h=>h.groupId))return;const f=JSON.parse(JSON.stringify(i.value.elements));for(const h of f)n.value.includes(h.id)&&h.groupId&&delete h.groupId;t.updateSlide({elements:f});const d=o.value?[o.value]:[];e.setActiveElementIdList(d),a()}}},Pb=()=>{const e=ft(),{activeElementIdList:t,activeElementList:n}=Ee(e),{pasteTextClipboardData:r}=kb(),{deleteElement:o}=kp(),i=()=>{if(!t.value.length)return;const l=Mb(JSON.stringify({type:"elements",data:n.value}));DP(l).then(()=>{e.setEditorareaFocus(!0)})},a=()=>{i(),o()},s=()=>{KP().then(l=>{r(l)}).catch(l=>wn.warning(l))};return{copyElement:i,cutElement:a,pasteElement:s,quickCopyElement:()=>{i(),s()}}},Cb=()=>{const e=ft(),{currentSlide:t}=Ee(ct()),{hiddenElementIdList:n}=Ee(e);return{selectAllElement:()=>{const i=t.value.elements.filter(a=>!a.lock&&!n.value.includes(a.id)).map(a=>a.id);e.setActiveElementIdList(i)}}},fq=()=>{const e=ct(),{activeElementIdList:t,activeGroupElementId:n}=Ee(ft()),{currentSlide:r}=Ee(e),{addHistorySnapshot:o}=Jt();return{moveElement:(a,s=1)=>{let c=[];const l=u=>{let{left:f,top:d}=u;switch(a){case Rt.LEFT:f=f-s;break;case Rt.RIGHT:f=f+s;break;case Rt.UP:d=d-s;break;case Rt.DOWN:d=d+s;break}return{...u,left:f,top:d}};n.value?c=r.value.elements.map(u=>n.value===u.id?l(u):u):c=r.value.elements.map(u=>t.value.includes(u.id)?l(u):u),e.updateSlide({elements:c}),o()}}},Np=()=>{const e=ct(),{currentSlide:t}=Ee(e),{addHistorySnapshot:n}=Jt(),r=(l,u)=>({minLevel:l.findIndex(f=>f.id===u[0].id),maxLevel:l.findIndex(f=>f.id===u[u.length-1].id)}),o=(l,u)=>{const f=JSON.parse(JSON.stringify(l));if(u.groupId){const d=f.filter(x=>x.groupId===u.groupId),{minLevel:h,maxLevel:p}=r(l,d);if(p===l.length-1)return;const m=f[p+1],A=f.splice(h,d.length);if(m.groupId){const x=f.filter(R=>R.groupId===m.groupId);f.splice(h+x.length,0,...A)}else f.splice(h+1,0,...A)}else{const d=l.findIndex(m=>m.id===u.id);if(d===l.length-1)return;const h=f[d+1],p=f.splice(d,1)[0];if(h.groupId){const m=f.filter(A=>A.groupId===h.groupId);f.splice(d+m.length,0,p)}else f.splice(d+1,0,p)}return f},i=(l,u)=>{const f=JSON.parse(JSON.stringify(l));if(u.groupId){const d=f.filter(A=>A.groupId===u.groupId),{minLevel:h}=r(l,d);if(h===0)return;const p=f[h-1],m=f.splice(h,d.length);if(p.groupId){const A=f.filter(x=>x.groupId===p.groupId);f.splice(h-A.length,0,...m)}else f.splice(h-1,0,...m)}else{const d=l.findIndex(m=>m.id===u.id);if(d===0)return;const h=f[d-1],p=f.splice(d,1)[0];if(h.groupId){const m=f.filter(A=>A.groupId===h.groupId);f.splice(d-m.length,0,p)}else f.splice(d-1,0,p)}return f},a=(l,u)=>{const f=JSON.parse(JSON.stringify(l));if(u.groupId){const d=f.filter(A=>A.groupId===u.groupId),{minLevel:h,maxLevel:p}=r(l,d);if(p===l.length-1)return null;const m=f.splice(h,d.length);f.push(...m)}else{const d=l.findIndex(h=>h.id===u.id);if(d===l.length-1)return null;f.splice(d,1),f.push(u)}return f},s=(l,u)=>{const f=JSON.parse(JSON.stringify(l));if(u.groupId){const d=f.filter(m=>m.groupId===u.groupId),{minLevel:h}=r(l,d);if(h===0)return;const p=f.splice(h,d.length);f.unshift(...p)}else{const d=l.findIndex(h=>h.id===u.id);if(d===0)return;f.splice(d,1),f.unshift(u)}return f};return{orderElement:(l,u)=>{let f;u===pr.UP?f=o(t.value.elements,l):u===pr.DOWN?f=i(t.value.elements,l):u===pr.TOP?f=a(t.value.elements,l):u===pr.BOTTOM&&(f=s(t.value.elements,l)),f&&(e.updateSlide({elements:f}),n())}}},Ib=()=>{const e=document.documentElement;e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullScreen?e.webkitRequestFullScreen():e.msRequestFullscreen&&e.msRequestFullscreen()},zP=()=>{document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen()},h3=()=>!!(document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement||document.webkitCurrentFullScreenElement),Mc=()=>{const e=WP(),t=ct(),n=()=>{Ib(),e.setScreening(!0)};return{enterScreening:n,enterScreeningFromStart:()=>{t.updateSlideIndex(0),n()},exitScreening:()=>{e.setScreening(!1),h3()&&zP()}}},Fb=()=>{const e=ft(),{canvasPercentage:t,canvasScale:n,canvasDragged:r}=Ee(e);return{canvasScalePercentage:Se(()=>Math.round(n.value*100)+"%"),setCanvasScalePercentage:c=>{const l=Math.round(c/n.value*t.value)/100;e.setCanvasPercentage(l)},scaleCanvas:c=>{let l=t.value;const u=5,f=200,d=30;c==="+"&&l<=f&&(l+=u),c==="-"&&l>=d&&(l-=u),e.setCanvasPercentage(l)},resetCanvas:()=>{e.setCanvasPercentage(90),r&&e.setCanvasDragged(!1)}}},dq=()=>{const e=ft(),t=Ss(),{activeElementIdList:n,disableHotkeys:r,handleElement:o,handleElementId:i,editorAreaFocus:a,thumbnailsFocus:s,showSearchPanel:c}=Ee(e),{currentSlide:l}=Ee(ct()),{ctrlKeyState:u,shiftKeyState:f,spaceKeyState:d}=Ee(t),{updateSlideIndex:h,copySlide:p,createSlide:m,deleteSlide:A,cutSlide:x,copyAndPasteSlide:R,selectAllSlide:y}=Dd(),{combineElements:g,uncombineElements:S}=Nb(),{deleteElement:L}=kp(),{lockElement:T}=JP(),{copyElement:M,cutElement:O,quickCopyElement:k}=Pb(),{selectAllElement:_}=Cb(),{moveElement:N}=fq(),{orderElement:X}=Np(),{redo:C,undo:F}=Jt(),{enterScreening:I,enterScreeningFromStart:V}=Mc(),{scaleCanvas:B,resetCanvas:G}=Fb(),ne=()=>{n.value.length?M():s.value&&p()},E=()=>{n.value.length?O():s.value&&x()},Z=()=>{n.value.length?k():s.value&&R()},K=()=>{a.value&&_(),s.value&&y()},U=()=>{a.value&&T()},J=()=>{a.value&&g()},le=()=>{a.value&&S()},ie=()=>{n.value.length?L():s.value&&A()},oe=j=>{n.value.length?N(j):(j===Rt.UP||j===Rt.DOWN)&&h(j)},pe=j=>{j===Rt.PAGEUP?h(Rt.UP):j===Rt.PAGEDOWN&&h(Rt.DOWN)},ge=j=>{o.value&&X(o.value,j)},ye=()=>{s.value&&m()},z=()=>{if(!l.value.elements.length)return;if(!i.value){const q=l.value.elements[0];e.setActiveElementIdList([q.id]);return}const j=l.value.elements.findIndex(q=>q.id===i.value),ue=j>=l.value.elements.length-1?0:j+1,$=l.value.elements[ue].id;e.setActiveElementIdList([$])},ae=j=>{const{ctrlKey:ue,shiftKey:$,altKey:q,metaKey:se}=j,ve=ue||se,ce=j.key.toUpperCase();if(ve&&!u.value&&t.setCtrlKeyState(!0),$&&!f.value&&t.setShiftKeyState(!0),!r.value&&ce===Rt.SPACE&&t.setSpaceKeyState(!0),ve&&ce===Rt.P){j.preventDefault(),e.setDialogForExport("pdf");return}if($&&ce===Rt.F5){j.preventDefault(),I(),t.setShiftKeyState(!1);return}if(ce===Rt.F5){j.preventDefault(),V();return}if(ue&&ce===Rt.F){j.preventDefault(),e.setSearchPanelState(!c.value);return}if(!(!a.value&&!s.value)){if(ve&&ce===Rt.C){if(r.value)return;j.preventDefault(),ne()}if(ve&&ce===Rt.X){if(r.value)return;j.preventDefault(),E()}if(ve&&ce===Rt.D){if(r.value)return;j.preventDefault(),Z()}if(ve&&ce===Rt.Z){if(r.value)return;j.preventDefault(),F()}if(ve&&ce===Rt.Y){if(r.value)return;j.preventDefault(),C()}if(ve&&ce===Rt.A){if(r.value)return;j.preventDefault(),K()}if(ve&&ce===Rt.L){if(r.value)return;j.preventDefault(),U()}if(!$&&ve&&ce===Rt.G){if(r.value)return;j.preventDefault(),J()}if($&&ve&&ce===Rt.G){if(r.value)return;j.preventDefault(),le()}if(q&&ce===Rt.F){if(r.value)return;j.preventDefault(),ge(pr.TOP)}if(q&&ce===Rt.B){if(r.value)return;j.preventDefault(),ge(pr.BOTTOM)}if(ce===Rt.DELETE||ce===Rt.BACKSPACE){if(r.value)return;j.preventDefault(),ie()}if(ce===Rt.UP){if(r.value)return;j.preventDefault(),oe(Rt.UP)}if(ce===Rt.DOWN){if(r.value)return;j.preventDefault(),oe(Rt.DOWN)}if(ce===Rt.LEFT){if(r.value)return;j.preventDefault(),oe(Rt.LEFT)}if(ce===Rt.RIGHT){if(r.value)return;j.preventDefault(),oe(Rt.RIGHT)}if(ce===Rt.PAGEUP){if(r.value)return;j.preventDefault(),pe(Rt.PAGEUP)}if(ce===Rt.PAGEDOWN){if(r.value)return;j.preventDefault(),pe(Rt.PAGEDOWN)}if(ce===Rt.ENTER){if(r.value)return;j.preventDefault(),ye()}if(ce===Rt.MINUS){if(r.value)return;j.preventDefault(),B("-")}if(ce===Rt.EQUAL){if(r.value)return;j.preventDefault(),B("+")}if(ce===Rt.DIGIT_0){if(r.value)return;j.preventDefault(),G()}if(ce===Rt.TAB){if(r.value)return;j.preventDefault(),z()}}},W=()=>{u.value&&t.setCtrlKeyState(!1),f.value&&t.setShiftKeyState(!1),d.value&&t.setSpaceKeyState(!1)};Gt(()=>{document.addEventListener("keydown",ae),document.addEventListener("keyup",W),window.addEventListener("blur",W)}),Tn(()=>{document.removeEventListener("keydown",ae),document.removeEventListener("keyup",W),window.removeEventListener("blur",W)})},hq=()=>{const{editorAreaFocus:e,thumbnailsFocus:t,disableHotkeys:n}=Ee(ft()),{pasteTextClipboardData:r}=kb(),{createImageElement:o}=ju(),i=s=>{Ju(s).then(c=>o(c))},a=s=>{if(!e.value&&!t.value||n.value||!s.clipboardData)return;const c=s.clipboardData.items,l=c[0];if(l){for(const u of c)if(u.kind==="file"&&u.type.indexOf("image")!==-1){const f=u.getAsFile();f&&i(f);return}l.kind==="string"&&l.type==="text/plain"&&l.getAsString(u=>r(u))}};Gt(()=>{document.addEventListener("paste",a)}),Tn(()=>{document.removeEventListener("paste",a)})};function jP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rw(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(l){return void n(l)}s.done?t(c):Promise.resolve(c).then(r,o)}function ii(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(c){Rw(i,r,o,a,s,"next",c)}function s(c){Rw(i,r,o,a,s,"throw",c)}a(void 0)})}}var Ai=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Kg(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 o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var $P={exports:{}},yw={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})(yw),function(e){var t=yw.exports.default;function n(){e.exports=n=function(){return r},e.exports.__esModule=!0,e.exports.default=e.exports;var r={},o=Object.prototype,i=o.hasOwnProperty,a=Object.defineProperty||function(F,I,V){F[I]=V.value},s=typeof Symbol=="function"?Symbol:{},c=s.iterator||"@@iterator",l=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag";function f(F,I,V){return Object.defineProperty(F,I,{value:V,enumerable:!0,configurable:!0,writable:!0}),F[I]}try{f({},"")}catch{f=function(I,V,B){return I[V]=B}}function d(F,I,V,B){var G=I&&I.prototype instanceof m?I:m,ne=Object.create(G.prototype),E=new N(B||[]);return a(ne,"_invoke",{value:M(F,V,E)}),ne}function h(F,I,V){try{return{type:"normal",arg:F.call(I,V)}}catch(B){return{type:"throw",arg:B}}}r.wrap=d;var p={};function m(){}function A(){}function x(){}var R={};f(R,c,function(){return this});var y=Object.getPrototypeOf,g=y&&y(y(X([])));g&&g!==o&&i.call(g,c)&&(R=g);var S=x.prototype=m.prototype=Object.create(R);function L(F){["next","throw","return"].forEach(function(I){f(F,I,function(V){return this._invoke(I,V)})})}function T(F,I){function V(G,ne,E,Z){var K=h(F[G],F,ne);if(K.type!=="throw"){var U=K.arg,J=U.value;return J&&t(J)=="object"&&i.call(J,"__await")?I.resolve(J.__await).then(function(le){V("next",le,E,Z)},function(le){V("throw",le,E,Z)}):I.resolve(J).then(function(le){U.value=le,E(U)},function(le){return V("throw",le,E,Z)})}Z(K.arg)}var B;a(this,"_invoke",{value:function(G,ne){function E(){return new I(function(Z,K){V(G,ne,Z,K)})}return B=B?B.then(E,E):E()}})}function M(F,I,V){var B="suspendedStart";return function(G,ne){if(B==="executing")throw new Error("Generator is already running");if(B==="completed"){if(G==="throw")throw ne;return C()}for(V.method=G,V.arg=ne;;){var E=V.delegate;if(E){var Z=O(E,V);if(Z){if(Z===p)continue;return Z}}if(V.method==="next")V.sent=V._sent=V.arg;else if(V.method==="throw"){if(B==="suspendedStart")throw B="completed",V.arg;V.dispatchException(V.arg)}else V.method==="return"&&V.abrupt("return",V.arg);B="executing";var K=h(F,I,V);if(K.type==="normal"){if(B=V.done?"completed":"suspendedYield",K.arg===p)continue;return{value:K.arg,done:V.done}}K.type==="throw"&&(B="completed",V.method="throw",V.arg=K.arg)}}}function O(F,I){var V=F.iterator[I.method];if(V===void 0){if(I.delegate=null,I.method==="throw"){if(F.iterator.return&&(I.method="return",I.arg=void 0,O(F,I),I.method==="throw"))return p;I.method="throw",I.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var B=h(V,F.iterator,I.arg);if(B.type==="throw")return I.method="throw",I.arg=B.arg,I.delegate=null,p;var G=B.arg;return G?G.done?(I[F.resultName]=G.value,I.next=F.nextLoc,I.method!=="return"&&(I.method="next",I.arg=void 0),I.delegate=null,p):G:(I.method="throw",I.arg=new TypeError("iterator result is not an object"),I.delegate=null,p)}function k(F){var I={tryLoc:F[0]};1 in F&&(I.catchLoc=F[1]),2 in F&&(I.finallyLoc=F[2],I.afterLoc=F[3]),this.tryEntries.push(I)}function _(F){var I=F.completion||{};I.type="normal",delete I.arg,F.completion=I}function N(F){this.tryEntries=[{tryLoc:"root"}],F.forEach(k,this),this.reset(!0)}function X(F){if(F){var I=F[c];if(I)return I.call(F);if(typeof F.next=="function")return F;if(!isNaN(F.length)){var V=-1,B=function G(){for(;++V<F.length;)if(i.call(F,V))return G.value=F[V],G.done=!1,G;return G.value=void 0,G.done=!0,G};return B.next=B}}return{next:C}}function C(){return{value:void 0,done:!0}}return A.prototype=x,a(S,"constructor",{value:x,configurable:!0}),a(x,"constructor",{value:A,configurable:!0}),A.displayName=f(x,u,"GeneratorFunction"),r.isGeneratorFunction=function(F){var I=typeof F=="function"&&F.constructor;return!!I&&(I===A||(I.displayName||I.name)==="GeneratorFunction")},r.mark=function(F){return Object.setPrototypeOf?Object.setPrototypeOf(F,x):(F.__proto__=x,f(F,u,"GeneratorFunction")),F.prototype=Object.create(S),F},r.awrap=function(F){return{__await:F}},L(T.prototype),f(T.prototype,l,function(){return this}),r.AsyncIterator=T,r.async=function(F,I,V,B,G){G===void 0&&(G=Promise);var ne=new T(d(F,I,V,B),G);return r.isGeneratorFunction(I)?ne:ne.next().then(function(E){return E.done?E.value:ne.next()})},L(S),f(S,u,"Generator"),f(S,c,function(){return this}),f(S,"toString",function(){return"[object Generator]"}),r.keys=function(F){var I=Object(F),V=[];for(var B in I)V.push(B);return V.reverse(),function G(){for(;V.length;){var ne=V.pop();if(ne in I)return G.value=ne,G.done=!1,G}return G.done=!0,G}},r.values=X,N.prototype={constructor:N,reset:function(F){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(_),!F)for(var I in this)I.charAt(0)==="t"&&i.call(this,I)&&!isNaN(+I.slice(1))&&(this[I]=void 0)},stop:function(){this.done=!0;var F=this.tryEntries[0].completion;if(F.type==="throw")throw F.arg;return this.rval},dispatchException:function(F){if(this.done)throw F;var I=this;function V(K,U){return ne.type="throw",ne.arg=F,I.next=K,U&&(I.method="next",I.arg=void 0),!!U}for(var B=this.tryEntries.length-1;B>=0;--B){var G=this.tryEntries[B],ne=G.completion;if(G.tryLoc==="root")return V("end");if(G.tryLoc<=this.prev){var E=i.call(G,"catchLoc"),Z=i.call(G,"finallyLoc");if(E&&Z){if(this.prev<G.catchLoc)return V(G.catchLoc,!0);if(this.prev<G.finallyLoc)return V(G.finallyLoc)}else if(E){if(this.prev<G.catchLoc)return V(G.catchLoc,!0)}else{if(!Z)throw new Error("try statement without catch or finally");if(this.prev<G.finallyLoc)return V(G.finallyLoc)}}}},abrupt:function(F,I){for(var V=this.tryEntries.length-1;V>=0;--V){var B=this.tryEntries[V];if(B.tryLoc<=this.prev&&i.call(B,"finallyLoc")&&this.prev<B.finallyLoc){var G=B;break}}G&&(F==="break"||F==="continue")&&G.tryLoc<=I&&I<=G.finallyLoc&&(G=null);var ne=G?G.completion:{};return ne.type=F,ne.arg=I,G?(this.method="next",this.next=G.finallyLoc,p):this.complete(ne)},complete:function(F,I){if(F.type==="throw")throw F.arg;return F.type==="break"||F.type==="continue"?this.next=F.arg:F.type==="return"?(this.rval=this.arg=F.arg,this.method="return",this.next="end"):F.type==="normal"&&I&&(this.next=I),p},finish:function(F){for(var I=this.tryEntries.length-1;I>=0;--I){var V=this.tryEntries[I];if(V.finallyLoc===F)return this.complete(V.completion,V.afterLoc),_(V),p}},catch:function(F){for(var I=this.tryEntries.length-1;I>=0;--I){var V=this.tryEntries[I];if(V.tryLoc===F){var B=V.completion;if(B.type==="throw"){var G=B.arg;_(V)}return G}}throw new Error("illegal catch attempt")},delegateYield:function(F,I,V){return this.delegate={iterator:X(F),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}($P);var Qm=$P.exports(),Wn=Qm;try{regeneratorRuntime=Qm}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=Qm:Function("r","regeneratorRuntime = r")(Qm)}var Kd={},xw={},Od=typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{},ts=[],Bi=[],pq=typeof Uint8Array<"u"?Uint8Array:Array,_b=!1;function qP(){_b=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,n=e.length;t<n;++t)ts[t]=e[t],Bi[e.charCodeAt(t)]=t;Bi[45]=62,Bi[95]=63}function mq(e,t,n){for(var r,o,i=[],a=t;a<n;a+=3)r=(e[a]<<16)+(e[a+1]<<8)+e[a+2],i.push(ts[(o=r)>>18&63]+ts[o>>12&63]+ts[o>>6&63]+ts[63&o]);return i.join("")}function bw(e){var t;_b||qP();for(var n=e.length,r=n%3,o="",i=[],a=16383,s=0,c=n-r;s<c;s+=a)i.push(mq(e,s,s+a>c?c:s+a));return r===1?(t=e[n-1],o+=ts[t>>2],o+=ts[t<<4&63],o+="=="):r===2&&(t=(e[n-2]<<8)+e[n-1],o+=ts[t>>10],o+=ts[t>>4&63],o+=ts[t<<2&63],o+="="),i.push(o),i.join("")}function am(e,t,n,r,o){var i,a,s=8*o-r-1,c=(1<<s)-1,l=c>>1,u=-7,f=n?o-1:0,d=n?-1:1,h=e[t+f];for(f+=d,i=h&(1<<-u)-1,h>>=-u,u+=s;u>0;i=256*i+e[t+f],f+=d,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=r;u>0;a=256*a+e[t+f],f+=d,u-=8);if(i===0)i=1-l;else{if(i===c)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),i-=l}return(h?-1:1)*a*Math.pow(2,i-r)}function e9(e,t,n,r,o,i){var a,s,c,l=8*i-o-1,u=(1<<l)-1,f=u>>1,d=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,p=r?1:-1,m=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=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),(t+=a+f>=1?d/c:d*Math.pow(2,1-f))*c>=2&&(a++,c/=2),a+f>=u?(s=0,a=u):a+f>=1?(s=(t*c-1)*Math.pow(2,o),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[n+h]=255&s,h+=p,s/=256,o-=8);for(a=a<<o|s,l+=o;l>0;e[n+h]=255&a,h+=p,a/=256,l-=8);e[n+h-p]|=128*m}var vq={}.toString,t9=Array.isArray||function(e){return vq.call(e)=="[object Array]"};Ge.TYPED_ARRAY_SUPPORT=Od.TYPED_ARRAY_SUPPORT===void 0||Od.TYPED_ARRAY_SUPPORT;var gq=Yv();function Yv(){return Ge.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function js(e,t){if(Yv()<t)throw new RangeError("Invalid typed array length");return Ge.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=Ge.prototype:(e===null&&(e=new Ge(t)),e.length=t),e}function Ge(e,t,n){if(!(Ge.TYPED_ARRAY_SUPPORT||this instanceof Ge))return new Ge(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 p3(this,e)}return n9(this,e,t,n)}function n9(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(o,i,a,s){if(i.byteLength,a<0||i.byteLength<a)throw new RangeError("'offset' is out of bounds");if(i.byteLength<a+(s||0))throw new RangeError("'length' is out of bounds");return i=a===void 0&&s===void 0?new Uint8Array(i):s===void 0?new Uint8Array(i,a):new Uint8Array(i,a,s),Ge.TYPED_ARRAY_SUPPORT?(o=i).__proto__=Ge.prototype:o=KR(o,i),o}(e,t,n,r):typeof t=="string"?function(o,i,a){if(typeof a=="string"&&a!==""||(a="utf8"),!Ge.isEncoding(a))throw new TypeError('"encoding" must be a valid string encoding');var s=0|o9(i,a),c=(o=js(o,s)).write(i,a);return c!==s&&(o=o.slice(0,c)),o}(e,t,n):function(o,i){if(ns(i)){var a=0|Xb(i.length);return(o=js(o,a)).length===0||i.copy(o,0,0,a),o}if(i){if(typeof ArrayBuffer<"u"&&i.buffer instanceof ArrayBuffer||"length"in i)return typeof i.length!="number"||(s=i.length)!=s?js(o,0):KR(o,i);if(i.type==="Buffer"&&t9(i.data))return KR(o,i.data)}var s;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function r9(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 p3(e,t){if(r9(t),e=js(e,t<0?0:0|Xb(t)),!Ge.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function KR(e,t){var n=t.length<0?0:0|Xb(t.length);e=js(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function Xb(e){if(e>=Yv())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Yv().toString(16)+" bytes");return 0|e}function ns(e){return!(e==null||!e._isBuffer)}function o9(e,t){if(ns(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 Qv(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return l9(e).length;default:if(r)return Qv(e).length;t=(""+t).toLowerCase(),r=!0}}function Aq(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 Oq(this,t,n);case"utf8":case"utf-8":return a9(this,t,n);case"ascii":return wq(this,t,n);case"latin1":case"binary":return Lq(this,t,n);case"base64":return Mq(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Tq(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function Zc(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function Sw(e,t,n,r,o){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=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if(typeof t=="string"&&(t=Ge.from(t,r)),ns(t))return t.length===0?-1:Mw(e,t,n,r,o);if(typeof t=="number")return t&=255,Ge.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):Mw(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function Mw(e,t,n,r,o){var i,a=1,s=e.length,c=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,c/=2,n/=2}function l(h,p){return a===1?h[p]:h.readUInt16BE(p*a)}if(o){var u=-1;for(i=n;i<s;i++)if(l(e,i)===l(t,u===-1?0:i-u)){if(u===-1&&(u=i),i-u+1===c)return u*a}else u!==-1&&(i-=i-u),u=-1}else for(n+c>s&&(n=s-c),i=n;i>=0;i--){for(var f=!0,d=0;d<c;d++)if(l(e,i+d)!==l(t,d)){f=!1;break}if(f)return i}return-1}function Rq(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/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 yq(e,t,n,r){return Hg(Qv(t,e.length-n),e,n,r)}function i9(e,t,n,r){return Hg(function(o){for(var i=[],a=0;a<o.length;++a)i.push(255&o.charCodeAt(a));return i}(t),e,n,r)}function xq(e,t,n,r){return i9(e,t,n,r)}function bq(e,t,n,r){return Hg(l9(t),e,n,r)}function Sq(e,t,n,r){return Hg(function(o,i){for(var a,s,c,l=[],u=0;u<o.length&&!((i-=2)<0);++u)s=(a=o.charCodeAt(u))>>8,c=a%256,l.push(c),l.push(s);return l}(t,e.length-n),e,n,r)}function Mq(e,t,n){return t===0&&n===e.length?bw(e):bw(e.slice(t,n))}function a9(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var i,a,s,c,l=e[o],u=null,f=l>239?4:l>223?3:l>191?2:1;if(o+f<=n)switch(f){case 1:l<128&&(u=l);break;case 2:(192&(i=e[o+1]))==128&&(c=(31&l)<<6|63&i)>127&&(u=c);break;case 3:i=e[o+1],a=e[o+2],(192&i)==128&&(192&a)==128&&(c=(15&l)<<12|(63&i)<<6|63&a)>2047&&(c<55296||c>57343)&&(u=c);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],(192&i)==128&&(192&a)==128&&(192&s)==128&&(c=(15&l)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&c<1114112&&(u=c)}u===null?(u=65533,f=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),o+=f}return function(d){var h=d.length;if(h<=4096)return String.fromCharCode.apply(String,d);for(var p="",m=0;m<h;)p+=String.fromCharCode.apply(String,d.slice(m,m+=4096));return p}(r)}Ge.poolSize=8192,Ge._augment=function(e){return e.__proto__=Ge.prototype,e},Ge.from=function(e,t,n){return n9(null,e,t,n)},Ge.TYPED_ARRAY_SUPPORT&&(Ge.prototype.__proto__=Uint8Array.prototype,Ge.__proto__=Uint8Array,typeof Symbol<"u"&&Symbol.species&&Ge[Symbol.species]),Ge.alloc=function(e,t,n){return function(r,o,i,a){return r9(o),o<=0?js(r,o):i!==void 0?typeof a=="string"?js(r,o).fill(i,a):js(r,o).fill(i):js(r,o)}(null,e,t,n)},Ge.allocUnsafe=function(e){return p3(null,e)},Ge.allocUnsafeSlow=function(e){return p3(null,e)},Ge.isBuffer=Pp,Ge.compare=function(e,t){if(!ns(e)||!ns(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},Ge.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}},Ge.concat=function(e,t){if(!t9(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return Ge.alloc(0);var n;if(t===void 0)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=Ge.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var i=e[n];if(!ns(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(r,o),o+=i.length}return r},Ge.byteLength=o9,Ge.prototype._isBuffer=!0,Ge.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)Zc(this,t,t+1);return this},Ge.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)Zc(this,t,t+3),Zc(this,t+1,t+2);return this},Ge.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)Zc(this,t,t+7),Zc(this,t+1,t+6),Zc(this,t+2,t+5),Zc(this,t+3,t+4);return this},Ge.prototype.toString=function(){var e=0|this.length;return e===0?"":arguments.length===0?a9(this,0,e):Aq.apply(this,arguments)},Ge.prototype.equals=function(e){if(!ns(e))throw new TypeError("Argument must be a Buffer");return this===e||Ge.compare(this,e)===0},Ge.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+">"},Ge.prototype.compare=function(e,t,n,r,o){if(!ns(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),o===void 0&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(i,a),c=this.slice(r,o),l=e.slice(t,n),u=0;u<s;++u)if(c[u]!==l[u]){i=c[u],a=l[u];break}return i<a?-1:a<i?1:0},Ge.prototype.includes=function(e,t,n){return this.indexOf(e,t,n)!==-1},Ge.prototype.indexOf=function(e,t,n){return Sw(this,e,t,n,!0)},Ge.prototype.lastIndexOf=function(e,t,n){return Sw(this,e,t,n,!1)},Ge.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 o=this.length-t;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return Rq(this,e,t,n);case"utf8":case"utf-8":return yq(this,e,t,n);case"ascii":return i9(this,e,t,n);case"latin1":case"binary":return xq(this,e,t,n);case"base64":return bq(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Sq(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},Ge.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function wq(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function Lq(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function Oq(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i<n;++i)o+=Nq(e[i]);return o}function Tq(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function Yr(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 Qo(e,t,n,r,o,i){if(!ns(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function sm(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);o<i;++o)e[n+o]=(t&255<<8*(r?o:1-o))>>>8*(r?o:1-o)}function lm(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);o<i;++o)e[n+o]=t>>>8*(r?o:3-o)&255}function s9(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function ww(e,t,n,r,o){return o||s9(e,0,n,4),e9(e,t,n,r,23,4),n+4}function Lw(e,t,n,r,o){return o||s9(e,0,n,8),e9(e,t,n,r,52,8),n+8}Ge.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),Ge.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=Ge.prototype;else{var o=t-e;n=new Ge(o,void 0);for(var i=0;i<o;++i)n[i]=this[i+e]}return n},Ge.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||Yr(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},Ge.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||Yr(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},Ge.prototype.readUInt8=function(e,t){return t||Yr(e,1,this.length),this[e]},Ge.prototype.readUInt16LE=function(e,t){return t||Yr(e,2,this.length),this[e]|this[e+1]<<8},Ge.prototype.readUInt16BE=function(e,t){return t||Yr(e,2,this.length),this[e]<<8|this[e+1]},Ge.prototype.readUInt32LE=function(e,t){return t||Yr(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Ge.prototype.readUInt32BE=function(e,t){return t||Yr(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Ge.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||Yr(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r},Ge.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||Yr(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},Ge.prototype.readInt8=function(e,t){return t||Yr(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},Ge.prototype.readInt16LE=function(e,t){t||Yr(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},Ge.prototype.readInt16BE=function(e,t){t||Yr(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},Ge.prototype.readInt32LE=function(e,t){return t||Yr(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Ge.prototype.readInt32BE=function(e,t){return t||Yr(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Ge.prototype.readFloatLE=function(e,t){return t||Yr(e,4,this.length),am(this,e,!0,23,4)},Ge.prototype.readFloatBE=function(e,t){return t||Yr(e,4,this.length),am(this,e,!1,23,4)},Ge.prototype.readDoubleLE=function(e,t){return t||Yr(e,8,this.length),am(this,e,!0,52,8)},Ge.prototype.readDoubleBE=function(e,t){return t||Yr(e,8,this.length),am(this,e,!1,52,8)},Ge.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||Qo(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},Ge.prototype.writeUIntBE=function(e,t,n,r){e=+e,t|=0,n|=0,r||Qo(this,e,t,n,Math.pow(2,8*n)-1,0);var o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},Ge.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||Qo(this,e,t,1,255,0),Ge.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},Ge.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||Qo(this,e,t,2,65535,0),Ge.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):sm(this,e,t,!0),t+2},Ge.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||Qo(this,e,t,2,65535,0),Ge.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):sm(this,e,t,!1),t+2},Ge.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||Qo(this,e,t,4,4294967295,0),Ge.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):lm(this,e,t,!0),t+4},Ge.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||Qo(this,e,t,4,4294967295,0),Ge.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):lm(this,e,t,!1),t+4},Ge.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);Qo(this,e,t,n,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<n&&(a*=256);)e<0&&s===0&&this[t+i-1]!==0&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},Ge.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);Qo(this,e,t,n,o-1,-o)}var i=n-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&s===0&&this[t+i+1]!==0&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},Ge.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||Qo(this,e,t,1,127,-128),Ge.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},Ge.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||Qo(this,e,t,2,32767,-32768),Ge.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):sm(this,e,t,!0),t+2},Ge.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||Qo(this,e,t,2,32767,-32768),Ge.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):sm(this,e,t,!1),t+2},Ge.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||Qo(this,e,t,4,2147483647,-2147483648),Ge.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):lm(this,e,t,!0),t+4},Ge.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||Qo(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),Ge.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):lm(this,e,t,!1),t+4},Ge.prototype.writeFloatLE=function(e,t,n){return ww(this,e,t,!0,n)},Ge.prototype.writeFloatBE=function(e,t,n){return ww(this,e,t,!1,n)},Ge.prototype.writeDoubleLE=function(e,t,n){return Lw(this,e,t,!0,n)},Ge.prototype.writeDoubleBE=function(e,t,n){return Lw(this,e,t,!1,n)},Ge.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 o,i=r-n;if(this===e&&n<t&&t<r)for(o=i-1;o>=0;--o)e[o+t]=this[o+n];else if(i<1e3||!Ge.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+i),t);return i},Ge.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 o=e.charCodeAt(0);o<256&&(e=o)}if(r!==void 0&&typeof r!="string")throw new TypeError("encoding must be a string");if(typeof r=="string"&&!Ge.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 i;if(t>>>=0,n=n===void 0?this.length:n>>>0,e||(e=0),typeof e=="number")for(i=t;i<n;++i)this[i]=e;else{var a=ns(e)?e:Qv(new Ge(e,r).toString()),s=a.length;for(i=0;i<n-t;++i)this[i+t]=a[i%s]}return this};var kq=/[^+\/0-9A-Za-z-_]/g;function Nq(e){return e<16?"0"+e.toString(16):e.toString(16)}function Qv(e,t){var n;t=t||1/0;for(var r=e.length,o=null,i=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.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;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function l9(e){return function(t){var n,r,o,i,a,s;_b||qP();var c=t.length;if(c%4>0)throw new Error("Invalid string. Length must be a multiple of 4");a=t[c-2]==="="?2:t[c-1]==="="?1:0,s=new pq(3*c/4-a),o=a>0?c-4:c;var l=0;for(n=0,r=0;n<o;n+=4,r+=3)i=Bi[t.charCodeAt(n)]<<18|Bi[t.charCodeAt(n+1)]<<12|Bi[t.charCodeAt(n+2)]<<6|Bi[t.charCodeAt(n+3)],s[l++]=i>>16&255,s[l++]=i>>8&255,s[l++]=255&i;return a===2?(i=Bi[t.charCodeAt(n)]<<2|Bi[t.charCodeAt(n+1)]>>4,s[l++]=255&i):a===1&&(i=Bi[t.charCodeAt(n)]<<10|Bi[t.charCodeAt(n+1)]<<4|Bi[t.charCodeAt(n+2)]>>2,s[l++]=i>>8&255,s[l++]=255&i),s}(function(t){if((t=function(n){return n.trim?n.trim():n.replace(/^\s+|\s+$/g,"")}(t).replace(kq,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(e))}function Hg(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function Pp(e){return e!=null&&(!!e._isBuffer||Ow(e)||function(t){return typeof t.readFloatLE=="function"&&typeof t.slice=="function"&&Ow(t.slice(0,0))}(e))}function Ow(e){return!!e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}var Pq=Object.freeze({__proto__:null,INSPECT_MAX_BYTES:50,kMaxLength:gq,Buffer:Ge,SlowBuffer:function(e){return+e!=e&&(e=0),Ge.alloc(+e)},isBuffer:Pp}),Tr={};function c9(){throw new Error("setTimeout has not been defined")}function u9(){throw new Error("clearTimeout has not been defined")}var Il=c9,Fl=u9;function f9(e){if(Il===setTimeout)return setTimeout(e,0);if((Il===c9||!Il)&&setTimeout)return Il=setTimeout,setTimeout(e,0);try{return Il(e,0)}catch{try{return Il.call(null,e,0)}catch{return Il.call(this,e,0)}}}typeof Od.setTimeout=="function"&&(Il=setTimeout),typeof Od.clearTimeout=="function"&&(Fl=clearTimeout);var ru,$s=[],hd=!1,Zm=-1;function Cq(){hd&&ru&&(hd=!1,ru.length?$s=ru.concat($s):Zm=-1,$s.length&&d9())}function d9(){if(!hd){var e=f9(Cq);hd=!0;for(var t=$s.length;t;){for(ru=$s,$s=[];++Zm<t;)ru&&ru[Zm].run();Zm=-1,t=$s.length}ru=null,hd=!1,function(n){if(Fl===clearTimeout)return clearTimeout(n);if((Fl===u9||!Fl)&&clearTimeout)return Fl=clearTimeout,clearTimeout(n);try{Fl(n)}catch{try{return Fl.call(null,n)}catch{return Fl.call(this,n)}}}(e)}}function Er(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];$s.push(new h9(e,t)),$s.length!==1||hd||f9(d9)}function h9(e,t){this.fun=e,this.array=t}h9.prototype.run=function(){this.fun.apply(null,this.array)};function $u(){}var Iq=$u,Fq=$u,_q=$u,Xq=$u,Eq=$u,Wq=$u,Vq=$u,Ef=Od.performance||{},Uq=Ef.now||Ef.mozNow||Ef.msNow||Ef.oNow||Ef.webkitNow||function(){return new Date().getTime()},Yq=new Date,Mi={nextTick:Er,title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:Iq,addListener:Fq,once:_q,off:Xq,removeListener:Eq,removeAllListeners:Wq,emit:Vq,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*Uq.call(Ef),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-Yq)/1e3}},HR={exports:{}};function _l(){}function vn(){vn.init.call(this)}function p9(e){return e._maxListeners===void 0?vn.defaultMaxListeners:e._maxListeners}function Qq(e,t,n){if(t)e.call(n);else for(var r=e.length,o=Cp(e,r),i=0;i<r;++i)o[i].call(n)}function Zq(e,t,n,r){if(t)e.call(n,r);else for(var o=e.length,i=Cp(e,o),a=0;a<o;++a)i[a].call(n,r)}function Bq(e,t,n,r,o){if(t)e.call(n,r,o);else for(var i=e.length,a=Cp(e,i),s=0;s<i;++s)a[s].call(n,r,o)}function Dq(e,t,n,r,o,i){if(t)e.call(n,r,o,i);else for(var a=e.length,s=Cp(e,a),c=0;c<a;++c)s[c].call(n,r,o,i)}function Kq(e,t,n,r){if(t)e.apply(n,r);else for(var o=e.length,i=Cp(e,o),a=0;a<o;++a)i[a].apply(n,r)}function Tw(e,t,n,r){var o,i,a,s;if(typeof n!="function")throw new TypeError('"listener" argument must be a function');if((i=e._events)?(i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),a=i[t]):(i=e._events=new _l,e._eventsCount=0),a){if(typeof a=="function"?a=i[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),!a.warned&&(o=p9(e))&&o>0&&a.length>o){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+t+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,s=c,typeof console.warn=="function"?console.warn(s):console.log(s)}}else a=i[t]=n,++e._eventsCount;return e}function kw(e,t,n){var r=!1;function o(){e.removeListener(t,o),r||(r=!0,n.apply(e,arguments))}return o.listener=n,o}function Nw(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 Cp(e,t){for(var n=new Array(t);t--;)n[t]=e[t];return n}_l.prototype=Object.create(null),vn.EventEmitter=vn,vn.usingDomains=!1,vn.prototype.domain=void 0,vn.prototype._events=void 0,vn.prototype._maxListeners=void 0,vn.defaultMaxListeners=10,vn.init=function(){this.domain=null,vn.usingDomains&&(void 0).active,this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=new _l,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},vn.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},vn.prototype.getMaxListeners=function(){return p9(this)},vn.prototype.emit=function(e){var t,n,r,o,i,a,s,c=e==="error";if(a=this._events)c=c&&a.error==null;else if(!c)return!1;if(s=this.domain,c){if(t=arguments[1],!s){if(t instanceof Error)throw t;var l=new Error('Uncaught, unspecified "error" event. ('+t+")");throw l.context=t,l}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 u=typeof n=="function";switch(r=arguments.length){case 1:Qq(n,u,this);break;case 2:Zq(n,u,this,arguments[1]);break;case 3:Bq(n,u,this,arguments[1],arguments[2]);break;case 4:Dq(n,u,this,arguments[1],arguments[2],arguments[3]);break;default:for(o=new Array(r-1),i=1;i<r;i++)o[i-1]=arguments[i];Kq(n,u,this,o)}return!0},vn.prototype.addListener=function(e,t){return Tw(this,e,t,!1)},vn.prototype.on=vn.prototype.addListener,vn.prototype.prependListener=function(e,t){return Tw(this,e,t,!0)},vn.prototype.once=function(e,t){if(typeof t!="function")throw new TypeError('"listener" argument must be a function');return this.on(e,kw(this,e,t)),this},vn.prototype.prependOnceListener=function(e,t){if(typeof t!="function")throw new TypeError('"listener" argument must be a function');return this.prependListener(e,kw(this,e,t)),this},vn.prototype.removeListener=function(e,t){var n,r,o,i,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 _l:(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if(typeof n!="function"){for(o=-1,i=n.length;i-- >0;)if(n[i]===t||n[i].listener&&n[i].listener===t){a=n[i].listener,o=i;break}if(o<0)return this;if(n.length===1){if(n[0]=void 0,--this._eventsCount==0)return this._events=new _l,this;delete r[e]}else(function(s,c){for(var l=c,u=l+1,f=s.length;u<f;l+=1,u+=1)s[l]=s[u];s.pop()})(n,o);r.removeListener&&this.emit("removeListener",e,a||t)}return this},vn.prototype.removeAllListeners=function(e){var t,n;if(!(n=this._events))return this;if(!n.removeListener)return arguments.length===0?(this._events=new _l,this._eventsCount=0):n[e]&&(--this._eventsCount==0?this._events=new _l:delete n[e]),this;if(arguments.length===0){for(var r,o=Object.keys(n),i=0;i<o.length;++i)(r=o[i])!=="removeListener"&&this.removeAllListeners(r);return this.removeAllListeners("removeListener"),this._events=new _l,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},vn.prototype.listeners=function(e){var t,n,r=this._events;return n=r&&(t=r[e])?typeof t=="function"?[t.listener||t]:function(o){for(var i=new Array(o.length),a=0;a<i.length;++a)i[a]=o[a].listener||o[a];return i}(t):[],n},vn.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):Nw.call(e,t)},vn.prototype.listenerCount=Nw,vn.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]};var Hq=Object.freeze({__proto__:null,default:vn,EventEmitter:vn}),sc=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},Gq=/%[sdj%]/g;function Gg(e){if(!ep(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(fs(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,o=r.length,i=String(e).replace(Gq,function(s){if(s==="%%")return"%";if(n>=o)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<o;a=r[++n])Ip(a)||!qu(a)?i+=" "+a:i+=" "+fs(a);return i}function Jg(e,t){if(ss(Od.process))return function(){return Jg(e,t).apply(this,arguments)};if(Mi.noDeprecation===!0)return e;var n=!1;return function(){if(!n){if(Mi.throwDeprecation)throw new Error(t);Mi.traceDeprecation?console.trace(t):console.error(t),n=!0}return e.apply(this,arguments)}}var GR,cm={};function Eb(e){return ss(GR)&&(GR=Mi.env.NODE_DEBUG||""),e=e.toUpperCase(),!cm[e]&&(new RegExp("\\b"+e+"\\b","i").test(GR)?cm[e]=function(){var t=Gg.apply(null,arguments);console.error("%s %d: %s",e,0,t)}:cm[e]=function(){}),cm[e]}function fs(e,t){var n={seen:[],stylize:zq};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),zg(t)?n.showHidden=t:t&&Yb(n,t),ss(n.showHidden)&&(n.showHidden=!1),ss(n.depth)&&(n.depth=2),ss(n.colors)&&(n.colors=!1),ss(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=Jq),Zv(n,e,n.depth)}function Jq(e,t){var n=fs.styles[t];return n?"\x1B["+fs.colors[n][0]+"m"+e+"\x1B["+fs.colors[n][1]+"m":e}function zq(e,t){return e}function Zv(e,t,n){if(e.customInspect&&t&&Ah(t.inspect)&&t.inspect!==fs&&(!t.constructor||t.constructor.prototype!==t)){var r=t.inspect(n,e);return ep(r)||(r=Zv(e,r,n)),r}var o=function(d,h){if(ss(h))return d.stylize("undefined","undefined");if(ep(h)){var p="'"+JSON.stringify(h).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return d.stylize(p,"string")}if(Vb(h))return d.stylize(""+h,"number");if(zg(h))return d.stylize(""+h,"boolean");if(Ip(h))return d.stylize("null","null")}(e,t);if(o)return o;var i=Object.keys(t),a=function(d){var h={};return d.forEach(function(p,m){h[p]=!0}),h}(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(t)),gh(t)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return JR(t);if(i.length===0){if(Ah(t)){var s=t.name?": "+t.name:"";return e.stylize("[Function"+s+"]","special")}if(vh(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(Bv(t))return e.stylize(Date.prototype.toString.call(t),"date");if(gh(t))return JR(t)}var c,l="",u=!1,f=["{","}"];return Wb(t)&&(u=!0,f=["[","]"]),Ah(t)&&(l=" [Function"+(t.name?": "+t.name:"")+"]"),vh(t)&&(l=" "+RegExp.prototype.toString.call(t)),Bv(t)&&(l=" "+Date.prototype.toUTCString.call(t)),gh(t)&&(l=" "+JR(t)),i.length!==0||u&&t.length!=0?n<0?vh(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),c=u?function(d,h,p,m,A){for(var x=[],R=0,y=h.length;R<y;++R)y9(h,String(R))?x.push(zR(d,h,p,m,String(R),!0)):x.push("");return A.forEach(function(g){g.match(/^\d+$/)||x.push(zR(d,h,p,m,g,!0))}),x}(e,t,n,a,i):i.map(function(d){return zR(e,t,n,a,d,u)}),e.seen.pop(),function(d,h,p){return d.reduce(function(m,A){return A.indexOf(`
`),m+A.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]}(c,l,f)):f[0]+l+f[1]}function JR(e){return"["+Error.prototype.toString.call(e)+"]"}function zR(e,t,n,r,o,i){var a,s,c;if((c=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?s=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(s=e.stylize("[Setter]","special")),y9(r,o)||(a="["+o+"]"),s||(e.seen.indexOf(c.value)<0?(s=Ip(n)?Zv(e,c.value,null):Zv(e,c.value,n-1)).indexOf(`
`)>-1&&(s=i?s.split(`
`).map(function(l){return" "+l}).join(`
`).substr(2):`
`+s.split(`
`).map(function(l){return" "+l}).join(`
`)):s=e.stylize("[Circular]","special")),ss(a)){if(i&&o.match(/^\d+$/))return s;(a=JSON.stringify(""+o)).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 Wb(e){return Array.isArray(e)}function zg(e){return typeof e=="boolean"}function Ip(e){return e===null}function m9(e){return e==null}function Vb(e){return typeof e=="number"}function ep(e){return typeof e=="string"}function v9(e){return typeof e=="symbol"}function ss(e){return e===void 0}function vh(e){return qu(e)&&Ub(e)==="[object RegExp]"}function qu(e){return typeof e=="object"&&e!==null}function Bv(e){return qu(e)&&Ub(e)==="[object Date]"}function gh(e){return qu(e)&&(Ub(e)==="[object Error]"||e instanceof Error)}function Ah(e){return typeof e=="function"}function g9(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||e===void 0}function A9(e){return Pp(e)}function Ub(e){return Object.prototype.toString.call(e)}function jR(e){return e<10?"0"+e.toString(10):e.toString(10)}fs.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]},fs.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var jq=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function $q(){var e=new Date,t=[jR(e.getHours()),jR(e.getMinutes()),jR(e.getSeconds())].join(":");return[e.getDate(),jq[e.getMonth()],t].join(" ")}function R9(){console.log("%s - %s",$q(),Gg.apply(null,arguments))}function Yb(e,t){if(!t||!qu(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}function y9(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var qq={inherits:sc,_extend:Yb,log:R9,isBuffer:A9,isPrimitive:g9,isFunction:Ah,isError:gh,isDate:Bv,isObject:qu,isRegExp:vh,isUndefined:ss,isSymbol:v9,isString:ep,isNumber:Vb,isNullOrUndefined:m9,isNull:Ip,isBoolean:zg,isArray:Wb,inspect:fs,deprecate:Jg,format:Gg,debuglog:Eb},eee=Object.freeze({__proto__:null,format:Gg,deprecate:Jg,debuglog:Eb,inspect:fs,isArray:Wb,isBoolean:zg,isNull:Ip,isNullOrUndefined:m9,isNumber:Vb,isString:ep,isSymbol:v9,isUndefined:ss,isRegExp:vh,isObject:qu,isDate:Bv,isError:gh,isFunction:Ah,isPrimitive:g9,isBuffer:A9,log:R9,inherits:sc,_extend:Yb,default:qq});function Jc(){this.head=null,this.tail=null,this.length=0}Jc.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},Jc.prototype.unshift=function(e){var t={data:e,next:this.head};this.length===0&&(this.tail=t),this.head=t,++this.length},Jc.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}},Jc.prototype.clear=function(){this.head=this.tail=null,this.length=0},Jc.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},Jc.prototype.concat=function(e){if(this.length===0)return Ge.alloc(0);if(this.length===1)return this.head.data;for(var t=Ge.allocUnsafe(e>>>0),n=this.head,r=0;n;)n.data.copy(t,r),r+=n.data.length,n=n.next;return t};var tee=Ge.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 Rh(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),function(t){if(t&&!tee(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=ree;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=oee;break;default:return void(this.write=nee)}this.charBuffer=new Ge(6),this.charReceived=0,this.charLength=0}function nee(e){return e.toString(this.encoding)}function ree(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function oee(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}Rh.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),!((o=(t=this.charBuffer.slice(0,this.charLength).toString(this.encoding)).charCodeAt(t.length-1))>=55296&&o<=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 o;if(r=(t+=e.toString(this.encoding,0,r)).length-1,(o=t.charCodeAt(r))>=55296&&o<=56319){var i=this.surrogateSize;return this.charLength+=i,this.charReceived+=i,this.charBuffer.copy(this.charBuffer,i,0,i),e.copy(this.charBuffer,0,0,i),t.substring(0,r)}return t},Rh.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},Rh.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.charReceived,r=this.charBuffer,o=this.encoding;t+=r.slice(0,n).toString(o)}return t},fr.ReadableState=x9;var Un=Eb("stream");function x9(e,t){e=e||{},this.objectMode=!!e.objectMode,t instanceof Pi&&(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 Jc,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 Rh(e.encoding),this.encoding=e.encoding)}function fr(e){if(!(this instanceof fr))return new fr(e);this._readableState=new x9(e,this),this.readable=!0,e&&typeof e.read=="function"&&(this._read=e.read),vn.call(this)}function Pw(e,t,n,r,o){var i=function(l,u){var f=null;return Pp(u)||typeof u=="string"||u==null||l.objectMode||(f=new TypeError("Invalid non-string/buffer chunk")),f}(t,n);if(i)e.emit("error",i);else if(n===null)t.reading=!1,function(l,u){if(!u.ended){if(u.decoder){var f=u.decoder.end();f&&f.length&&(u.buffer.push(f),u.length+=u.objectMode?1:f.length)}u.ended=!0,Dv(l)}}(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!o){var a=new Error("stream.push() after EOF");e.emit("error",a)}else if(t.endEmitted&&o){var s=new Error("stream.unshift() after end event");e.emit("error",s)}else{var c;!t.decoder||o||r||(n=t.decoder.write(n),c=!t.objectMode&&n.length===0),o||(t.reading=!1),c||(t.flowing&&t.length===0&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,o?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&Dv(e))),function(l,u){u.readingMore||(u.readingMore=!0,Er(iee,l,u))}(e,t)}else o||(t.reading=!1);return function(l){return!l.ended&&(l.needReadable||l.length<l.highWaterMark||l.length===0)}(t)}sc(fr,vn),fr.prototype.push=function(e,t){var n=this._readableState;return n.objectMode||typeof e!="string"||(t=t||n.defaultEncoding)!==n.encoding&&(e=Ge.from(e,t),t=""),Pw(this,n,e,t,!1)},fr.prototype.unshift=function(e){return Pw(this,this._readableState,e,"",!0)},fr.prototype.isPaused=function(){return this._readableState.flowing===!1},fr.prototype.setEncoding=function(e){return this._readableState.decoder=new Rh(e),this._readableState.encoding=e,this};function Cw(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 Dv(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(Un("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?Er(Iw,e):Iw(e))}function Iw(e){Un("emit readable"),e.emit("readable"),Qb(e)}function iee(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(Un("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function aee(e){Un("readable nexttick read 0"),e.read(0)}function see(e,t){t.reading||(Un("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),Qb(e),t.flowing&&!t.reading&&e.read(0)}function Qb(e){var t=e._readableState;for(Un("flow",t.flowing);t.flowing&&e.read()!==null;);}function Fw(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,o,i){var a;return r<o.head.data.length?(a=o.head.data.slice(0,r),o.head.data=o.head.data.slice(r)):a=r===o.head.data.length?o.shift():i?function(s,c){var l=c.head,u=1,f=l.data;for(s-=f.length;l=l.next;){var d=l.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?(++u,l.next?c.head=l.next:c.head=c.tail=null):(c.head=l,l.data=d.slice(h));break}++u}return c.length-=u,f}(r,o):function(s,c){var l=Ge.allocUnsafe(s),u=c.head,f=1;for(u.data.copy(l),s-=u.data.length;u=u.next;){var d=u.data,h=s>d.length?d.length:s;if(d.copy(l,l.length-s,0,h),(s-=h)===0){h===d.length?(++f,u.next?c.head=u.next:c.head=c.tail=null):(c.head=u,u.data=d.slice(h));break}++f}return c.length-=f,l}(r,o),a}(e,t.buffer,t.decoder),n);var n}function $R(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,Er(lee,t,e))}function lee(e,t){e.endEmitted||e.length!==0||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function _w(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function cee(){}function uee(e,t,n){this.chunk=e,this.encoding=t,this.callback=n,this.next=null}function m3(e,t){Object.defineProperty(this,"buffer",{get:Jg(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")}),e=e||{},this.objectMode=!!e.objectMode,t instanceof Pi&&(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 o=e.decodeStrings===!1;this.decodeStrings=!o,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(i){(function(a,s){var c=a._writableState,l=c.sync,u=c.writecb;if(function(d){d.writing=!1,d.writecb=null,d.length-=d.writelen,d.writelen=0}(c),s)(function(d,h,p,m,A){--h.pendingcb,p?Er(A,m):A(m),d._writableState.errorEmitted=!0,d.emit("error",m)})(a,c,l,s,u);else{var f=S9(c);f||c.corked||c.bufferProcessing||!c.bufferedRequest||b9(a,c),l?Er(Xw,a,c,f,u):Xw(a,c,f,u)}})(t,i)},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 w9(this)}function qr(e){if(!(this instanceof qr||this instanceof Pi))return new qr(e);this._writableState=new m3(e,this),this.writable=!0,e&&(typeof e.write=="function"&&(this._write=e.write),typeof e.writev=="function"&&(this._writev=e.writev)),vn.call(this)}function v3(e,t,n,r,o,i,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(o,t.onwrite):e._write(o,i,t.onwrite),t.sync=!1}function Xw(e,t,n,r){n||function(o,i){i.length===0&&i.needDrain&&(i.needDrain=!1,o.emit("drain"))}(e,t),t.pendingcb--,r(),M9(e,t)}function b9(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,o=new Array(r),i=t.corkedRequestsFree;i.entry=n;for(var a=0;n;)o[a]=n,n=n.next,a+=1;v3(e,t,!0,t.length,o,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new w9(t)}else{for(;n;){var s=n.chunk,c=n.encoding,l=n.callback;if(v3(e,t,!1,t.objectMode?1:s.length,s,c,l),n=n.next,t.writing)break}n===null&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=n,t.bufferProcessing=!1}function S9(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function Ew(e,t){t.prefinished||(t.prefinished=!0,e.emit("prefinish"))}function M9(e,t){var n=S9(t);return n&&(t.pendingcb===0?(Ew(e,t),t.finished=!0,e.emit("finish")):Ew(e,t)),n}function w9(e){var t=this;this.next=null,this.entry=null,this.finish=function(n){var r=t.entry;for(t.entry=null;r;){var o=r.callback;e.pendingcb--,o(n),r=r.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}}fr.prototype.read=function(e){Un("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 Un("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?$R(this):Dv(this),null;if((e=Cw(e,t))===0&&t.ended)return t.length===0&&$R(this),null;var r,o=t.needReadable;return Un("need readable",o),(t.length===0||t.length-e<t.highWaterMark)&&Un("length less than watermark",o=!0),t.ended||t.reading?Un("reading or ended",o=!1):o&&(Un("do read"),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=Cw(n,t))),(r=e>0?Fw(e,t):null)===null?(t.needReadable=!0,e=0):t.length-=e,t.length===0&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&$R(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,Un("pipe count=%d opts=%j",r.pipesCount,t);var o=!t||t.end!==!1?a:l;function i(A){Un("onunpipe"),A===n&&l()}function a(){Un("onend"),e.end()}r.endEmitted?Er(o):n.once("end",o),e.on("unpipe",i);var s=function(A){return function(){var x=A._readableState;Un("pipeOnDrain",x.awaitDrain),x.awaitDrain&&x.awaitDrain--,x.awaitDrain===0&&A.listeners("data").length&&(x.flowing=!0,Qb(A))}}(n);e.on("drain",s);var c=!1;function l(){Un("cleanup"),e.removeListener("close",h),e.removeListener("finish",p),e.removeListener("drain",s),e.removeListener("error",d),e.removeListener("unpipe",i),n.removeListener("end",a),n.removeListener("end",l),n.removeListener("data",f),c=!0,!r.awaitDrain||e._writableState&&!e._writableState.needDrain||s()}var u=!1;function f(A){Un("ondata"),u=!1,e.write(A)!==!1||u||((r.pipesCount===1&&r.pipes===e||r.pipesCount>1&&_w(r.pipes,e)!==-1)&&!c&&(Un("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,u=!0),n.pause())}function d(A){var x;Un("onerror",A),m(),e.removeListener("error",d),x="error",e.listeners(x).length===0&&e.emit("error",A)}function h(){e.removeListener("finish",p),m()}function p(){Un("onfinish"),e.removeListener("close",h),m()}function m(){Un("unpipe"),n.unpipe(e)}return n.on("data",f),function(A,x,R){if(typeof A.prependListener=="function")return A.prependListener(x,R);A._events&&A._events[x]?Array.isArray(A._events[x])?A._events[x].unshift(R):A._events[x]=[R,A._events[x]]:A.on(x,R)}(e,"error",d),e.once("close",h),e.once("finish",p),e.emit("pipe",n),r.flowing||(Un("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 o=0;o<r;o++)n[o].emit("unpipe",this);return this}var i=_w(t.pipes,e);return i===-1||(t.pipes.splice(i,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=vn.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&&Dv(this):Er(aee,this))}return n},fr.prototype.addListener=fr.prototype.on,fr.prototype.resume=function(){var e=this._readableState;return e.flowing||(Un("resume"),e.flowing=!0,function(t,n){n.resumeScheduled||(n.resumeScheduled=!0,Er(see,t,n))}(this,e)),this},fr.prototype.pause=function(){return Un("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(Un("pause"),this._readableState.flowing=!1,this.emit("pause")),this},fr.prototype.wrap=function(e){var t=this._readableState,n=!1,r=this;for(var o in e.on("end",function(){if(Un("wrapped end"),t.decoder&&!t.ended){var i=t.decoder.end();i&&i.length&&r.push(i)}r.push(null)}),e.on("data",function(i){Un("wrapped data"),t.decoder&&(i=t.decoder.write(i)),t.objectMode&&i==null||(t.objectMode||i&&i.length)&&(r.push(i)||(n=!0,e.pause()))}),e)this[o]===void 0&&typeof e[o]=="function"&&(this[o]=function(i){return function(){return e[i].apply(e,arguments)}}(o));return function(i,a){for(var s=0,c=i.length;s<c;s++)a(i[s],s)}(["error","close","destroy","pause","resume"],function(i){e.on(i,r.emit.bind(r,i))}),r._read=function(i){Un("wrapped _read",i),n&&(n=!1,e.resume())},r},fr._fromList=Fw,qr.WritableState=m3,sc(qr,vn),m3.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},qr.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},qr.prototype.write=function(e,t,n){var r=this._writableState,o=!1;return typeof t=="function"&&(n=t,t=null),Ge.isBuffer(e)?t="buffer":t||(t=r.defaultEncoding),typeof n!="function"&&(n=cee),r.ended?function(i,a){var s=new Error("write after end");i.emit("error",s),Er(a,s)}(this,n):function(i,a,s,c){var l=!0,u=!1;return s===null?u=new TypeError("May not write null values to stream"):Ge.isBuffer(s)||typeof s=="string"||s===void 0||a.objectMode||(u=new TypeError("Invalid non-string/buffer chunk")),u&&(i.emit("error",u),Er(c,u),l=!1),l}(this,r,e,n)&&(r.pendingcb++,o=function(i,a,s,c,l){s=function(h,p,m){return h.objectMode||h.decodeStrings===!1||typeof p!="string"||(p=Ge.from(p,m)),p}(a,s,c),Ge.isBuffer(s)&&(c="buffer");var u=a.objectMode?1:s.length;a.length+=u;var f=a.length<a.highWaterMark;if(f||(a.needDrain=!0),a.writing||a.corked){var d=a.lastBufferedRequest;a.lastBufferedRequest=new uee(s,c,l),d?d.next=a.lastBufferedRequest:a.bufferedRequest=a.lastBufferedRequest,a.bufferedRequestCount+=1}else v3(i,a,!1,u,s,c,l);return f}(this,r,e,t,n)),o},qr.prototype.cork=function(){this._writableState.corked++},qr.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||b9(this,e))},qr.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},qr.prototype._write=function(e,t,n){n(new Error("not implemented"))},qr.prototype._writev=null,qr.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(o,i,a){i.ending=!0,M9(o,i),a&&(i.finished?Er(a):o.once("finish",a)),i.ended=!0,o.writable=!1}(this,r,n)},sc(Pi,fr);for(var Ww=Object.keys(qr.prototype),qR=0;qR<Ww.length;qR++){var ey=Ww[qR];Pi.prototype[ey]||(Pi.prototype[ey]=qr.prototype[ey])}function Pi(e){if(!(this instanceof Pi))return new Pi(e);fr.call(this,e),qr.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",fee)}function fee(){this.allowHalfOpen||this._writableState.ended||Er(dee,this)}function dee(e){e.end()}function hee(e){this.afterTransform=function(t,n){return function(r,o,i){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,i!=null&&r.push(i),s(o);var c=r._readableState;c.reading=!1,(c.needReadable||c.length<c.highWaterMark)&&r._read(c.highWaterMark)}(e,t,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function ba(e){if(!(this instanceof ba))return new ba(e);Pi.call(this,e),this._transformState=new hee(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){Vw(t,n)}):Vw(t)})}function Vw(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 pd(e){if(!(this instanceof pd))return new pd(e);ba.call(this,e)}function ya(){vn.call(this)}sc(ba,Pi),ba.prototype.push=function(e,t){return this._transformState.needTransform=!1,Pi.prototype.push.call(this,e,t)},ba.prototype._transform=function(e,t,n){throw new Error("Not implemented")},ba.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var o=this._readableState;(r.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},ba.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},sc(pd,ba),pd.prototype._transform=function(e,t,n){n(null,e)},sc(ya,vn),ya.Readable=fr,ya.Writable=qr,ya.Duplex=Pi,ya.Transform=ba,ya.PassThrough=pd,ya.Stream=ya,ya.prototype.pipe=function(e,t){var n=this;function r(u){e.writable&&e.write(u)===!1&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on("data",r),e.on("drain",o),e._isStdio||t&&t.end===!1||(n.on("end",a),n.on("close",s));var i=!1;function a(){i||(i=!0,e.end())}function s(){i||(i=!0,typeof e.destroy=="function"&&e.destroy())}function c(u){if(l(),vn.listenerCount(this,"error")===0)throw u}function l(){n.removeListener("data",r),e.removeListener("drain",o),n.removeListener("end",a),n.removeListener("close",s),n.removeListener("error",c),e.removeListener("error",c),n.removeListener("end",l),n.removeListener("close",l),e.removeListener("close",l)}return n.on("error",c),e.on("error",c),n.on("end",l),n.on("close",l),e.on("close",l),e.emit("pipe",n),e};var Uw,Yw,Qw,L9=Kg(Object.freeze({__proto__:null,default:ya,Readable:fr,Writable:qr,Duplex:Pi,Transform:ba,PassThrough:pd,Stream:ya})),um={exports:{}};function jg(){return Uw||(Uw=1,Mi===void 0||!Mi.version||Mi.version.indexOf("v0.")===0||Mi.version.indexOf("v1.")===0&&Mi.version.indexOf("v1.8.")!==0?um.exports={nextTick:function(e,t,n,r){if(typeof e!="function")throw new TypeError('"callback" argument must be a function');var o,i,a=arguments.length;switch(a){case 0:case 1:return Er(e);case 2:return Er(function(){e.call(null,t)});case 3:return Er(function(){e.call(null,t,n)});case 4:return Er(function(){e.call(null,t,n,r)});default:for(o=new Array(a-1),i=0;i<o.length;)o[i++]=arguments[i];return Er(function(){e.apply(null,o)})}}}:um.exports=Mi),um.exports}var Zw,pee=Kg(Hq),Bw={exports:{}};function O9(){return Zw?Bw.exports:(Zw=1,Bw.exports=L9)}var Dw,ty={exports:{}},T9=Kg(Pq);function $g(){return Dw||(Dw=1,function(e,t){var n=T9,r=n.Buffer;function o(a,s){for(var c in a)s[c]=a[c]}function i(a,s,c){return r(a,s,c)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=i),o(r,i),i.from=function(a,s,c){if(typeof a=="number")throw new TypeError("Argument must not be a number");return r(a,s,c)},i.alloc=function(a,s,c){if(typeof a!="number")throw new TypeError("Argument must be a number");var l=r(a);return s!==void 0?typeof c=="string"?l.fill(s,c):l.fill(s):l.fill(0),l},i.allocUnsafe=function(a){if(typeof a!="number")throw new TypeError("Argument must be a number");return r(a)},i.allocUnsafeSlow=function(a){if(typeof a!="number")throw new TypeError("Argument must be a number");return n.SlowBuffer(a)}}(ty,ty.exports)),ty.exports}var Kw,Jr={};function Fp(){if(Kw)return Jr;function e(t){return Object.prototype.toString.call(t)}return Kw=1,Jr.isArray=function(t){return Array.isArray?Array.isArray(t):e(t)==="[object Array]"},Jr.isBoolean=function(t){return typeof t=="boolean"},Jr.isNull=function(t){return t===null},Jr.isNullOrUndefined=function(t){return t==null},Jr.isNumber=function(t){return typeof t=="number"},Jr.isString=function(t){return typeof t=="string"},Jr.isSymbol=function(t){return typeof t=="symbol"},Jr.isUndefined=function(t){return t===void 0},Jr.isRegExp=function(t){return e(t)==="[object RegExp]"},Jr.isObject=function(t){return typeof t=="object"&&t!==null},Jr.isDate=function(t){return e(t)==="[object Date]"},Jr.isError=function(t){return e(t)==="[object Error]"||t instanceof Error},Jr.isFunction=function(t){return typeof t=="function"},Jr.isPrimitive=function(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||t===void 0},Jr.isBuffer=T9.Buffer.isBuffer,Jr}var Hw,Gw,Jw={exports:{}},qg=Kg(eee),ny={exports:{}};function _p(){return Gw||(Gw=1,function(e){try{var t=qg;if(typeof t.inherits!="function")throw"";e.exports=t.inherits}catch{e.exports=(Hw||(Hw=1,typeof Object.create=="function"?ny.exports=function(r,o){o&&(r.super_=o,r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}))}:ny.exports=function(r,o){if(o){r.super_=o;var i=function(){};i.prototype=o.prototype,r.prototype=new i,r.prototype.constructor=r}}),ny.exports)}}(Jw)),Jw.exports}var zw,ry,jw,$w,qw,oy,eL,iy,tL,nL={exports:{}};function mee(){return zw||(zw=1,function(e){var t=$g().Buffer,n=qg;e.exports=function(){function r(){(function(o,i){if(!(o instanceof i))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(o){var i={data:o,next:null};this.length>0?this.tail.next=i:this.head=i,this.tail=i,++this.length},r.prototype.unshift=function(o){var i={data:o,next:this.head};this.length===0&&(this.tail=i),this.head=i,++this.length},r.prototype.shift=function(){if(this.length!==0){var o=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,o}},r.prototype.clear=function(){this.head=this.tail=null,this.length=0},r.prototype.join=function(o){if(this.length===0)return"";for(var i=this.head,a=""+i.data;i=i.next;)a+=o+i.data;return a},r.prototype.concat=function(o){if(this.length===0)return t.alloc(0);if(this.length===1)return this.head.data;for(var i,a,s,c=t.allocUnsafe(o>>>0),l=this.head,u=0;l;)i=l.data,a=c,s=u,i.copy(a,s),u+=l.data.length,l=l.next;return c},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})}(nL)),nL.exports}function k9(){if(jw)return ry;jw=1;var e=jg();function t(n,r){n.emit("error",r)}return ry={destroy:function(n,r){var o=this,i=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return i||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,o,s),o._writableState&&(o._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)}},ry}function N9(){if(eL)return oy;eL=1;var e=jg();function t(g){var S=this;this.next=null,this.entry=null,this.finish=function(){(function(L,T,M){var O=L.entry;for(L.entry=null;O;){var k=O.callback;T.pendingcb--,k(M),O=O.next}T.corkedRequestsFree?T.corkedRequestsFree.next=L:T.corkedRequestsFree=L})(S,g)}}oy=h;var n,r=e.nextTick;h.WritableState=d;var o=Object.create(Fp());o.inherits=_p();var i={deprecate:qw?$w:(qw=1,$w=qg.deprecate)},a=O9(),s=$g().Buffer,c=Ai.Uint8Array||function(){},l,u=k9();function f(){}function d(g,S){n=n||Td(),g=g||{};var L=S instanceof n;this.objectMode=!!g.objectMode,L&&(this.objectMode=this.objectMode||!!g.writableObjectMode);var T=g.highWaterMark,M=g.writableHighWaterMark,O=this.objectMode?16:16384;this.highWaterMark=T||T===0?T:L&&(M||M===0)?M:O,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 k=g.decodeStrings===!1;this.decodeStrings=!k,this.defaultEncoding=g.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(_){(function(N,X){var C=N._writableState,F=C.sync,I=C.writecb;if(function(B){B.writing=!1,B.writecb=null,B.length-=B.writelen,B.writelen=0}(C),X)(function(B,G,ne,E,Z){--G.pendingcb,ne?(e.nextTick(Z,E),e.nextTick(y,B,G),B._writableState.errorEmitted=!0,B.emit("error",E)):(Z(E),B._writableState.errorEmitted=!0,B.emit("error",E),y(B,G))})(N,C,F,X,I);else{var V=x(C);V||C.corked||C.bufferProcessing||!C.bufferedRequest||A(N,C),F?r(m,N,C,V,I):m(N,C,V,I)}})(S,_)},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(g){if(n=n||Td(),!(l.call(h,this)||this instanceof n))return new h(g);this._writableState=new d(g,this),this.writable=!0,g&&(typeof g.write=="function"&&(this._write=g.write),typeof g.writev=="function"&&(this._writev=g.writev),typeof g.destroy=="function"&&(this._destroy=g.destroy),typeof g.final=="function"&&(this._final=g.final)),a.call(this)}function p(g,S,L,T,M,O,k){S.writelen=T,S.writecb=k,S.writing=!0,S.sync=!0,L?g._writev(M,S.onwrite):g._write(M,O,S.onwrite),S.sync=!1}function m(g,S,L,T){L||function(M,O){O.length===0&&O.needDrain&&(O.needDrain=!1,M.emit("drain"))}(g,S),S.pendingcb--,T(),y(g,S)}function A(g,S){S.bufferProcessing=!0;var L=S.bufferedRequest;if(g._writev&&L&&L.next){var T=S.bufferedRequestCount,M=new Array(T),O=S.corkedRequestsFree;O.entry=L;for(var k=0,_=!0;L;)M[k]=L,L.isBuf||(_=!1),L=L.next,k+=1;M.allBuffers=_,p(g,S,!0,S.length,M,"",O.finish),S.pendingcb++,S.lastBufferedRequest=null,O.next?(S.corkedRequestsFree=O.next,O.next=null):S.corkedRequestsFree=new t(S),S.bufferedRequestCount=0}else{for(;L;){var N=L.chunk,X=L.encoding,C=L.callback;if(p(g,S,!1,S.objectMode?1:N.length,N,X,C),L=L.next,S.bufferedRequestCount--,S.writing)break}L===null&&(S.lastBufferedRequest=null)}S.bufferedRequest=L,S.bufferProcessing=!1}function x(g){return g.ending&&g.length===0&&g.bufferedRequest===null&&!g.finished&&!g.writing}function R(g,S){g._final(function(L){S.pendingcb--,L&&g.emit("error",L),S.prefinished=!0,g.emit("prefinish"),y(g,S)})}function y(g,S){var L=x(S);return L&&(function(T,M){M.prefinished||M.finalCalled||(typeof T._final=="function"?(M.pendingcb++,M.finalCalled=!0,e.nextTick(R,T,M)):(M.prefinished=!0,T.emit("prefinish")))}(g,S),S.pendingcb===0&&(S.finished=!0,g.emit("finish"))),L}return o.inherits(h,a),d.prototype.getBuffer=function(){for(var g=this.bufferedRequest,S=[];g;)S.push(g),g=g.next;return S},function(){try{Object.defineProperty(d.prototype,"buffer",{get:i.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"?(l=Function.prototype[Symbol.hasInstance],Object.defineProperty(h,Symbol.hasInstance,{value:function(g){return!!l.call(this,g)||this===h&&g&&g._writableState instanceof d}})):l=function(g){return g instanceof this},h.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},h.prototype.write=function(g,S,L){var T,M=this._writableState,O=!1,k=!M.objectMode&&(T=g,s.isBuffer(T)||T instanceof c);return k&&!s.isBuffer(g)&&(g=function(_){return s.from(_)}(g)),typeof S=="function"&&(L=S,S=null),k?S="buffer":S||(S=M.defaultEncoding),typeof L!="function"&&(L=f),M.ended?function(_,N){var X=new Error("write after end");_.emit("error",X),e.nextTick(N,X)}(this,L):(k||function(_,N,X,C){var F=!0,I=!1;return X===null?I=new TypeError("May not write null values to stream"):typeof X=="string"||X===void 0||N.objectMode||(I=new TypeError("Invalid non-string/buffer chunk")),I&&(_.emit("error",I),e.nextTick(C,I),F=!1),F}(this,M,g,L))&&(M.pendingcb++,O=function(_,N,X,C,F,I){if(!X){var V=function(E,Z,K){return E.objectMode||E.decodeStrings===!1||typeof Z!="string"||(Z=s.from(Z,K)),Z}(N,C,F);C!==V&&(X=!0,F="buffer",C=V)}var B=N.objectMode?1:C.length;N.length+=B;var G=N.length<N.highWaterMark;if(G||(N.needDrain=!0),N.writing||N.corked){var ne=N.lastBufferedRequest;N.lastBufferedRequest={chunk:C,encoding:F,isBuf:X,callback:I,next:null},ne?ne.next=N.lastBufferedRequest:N.bufferedRequest=N.lastBufferedRequest,N.bufferedRequestCount+=1}else p(_,N,!1,B,C,F,I);return G}(this,M,k,g,S,L)),O},h.prototype.cork=function(){this._writableState.corked++},h.prototype.uncork=function(){var g=this._writableState;g.corked&&(g.corked--,g.writing||g.corked||g.finished||g.bufferProcessing||!g.bufferedRequest||A(this,g))},h.prototype.setDefaultEncoding=function(g){if(typeof g=="string"&&(g=g.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((g+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+g);return this._writableState.defaultEncoding=g,this},Object.defineProperty(h.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),h.prototype._write=function(g,S,L){L(new Error("_write() is not implemented"))},h.prototype._writev=null,h.prototype.end=function(g,S,L){var T=this._writableState;typeof g=="function"?(L=g,g=null,S=null):typeof S=="function"&&(L=S,S=null),g!=null&&this.write(g,S),T.corked&&(T.corked=1,this.uncork()),T.ending||T.finished||function(M,O,k){O.ending=!0,y(M,O),k&&(O.finished?e.nextTick(k):M.once("finish",k)),O.ended=!0,M.writable=!1}(this,T,L)},Object.defineProperty(h.prototype,"destroyed",{get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(g){this._writableState&&(this._writableState.destroyed=g)}}),h.prototype.destroy=u.destroy,h.prototype._undestroy=u.undestroy,h.prototype._destroy=function(g,S){this.end(),S(g)},oy}function Td(){if(tL)return iy;tL=1;var e=jg(),t=Object.keys||function(f){var d=[];for(var h in f)d.push(h);return d};iy=c;var n=Object.create(Fp());n.inherits=_p();var r=P9(),o=N9();n.inherits(c,r);for(var i=t(o.prototype),a=0;a<i.length;a++){var s=i[a];c.prototype[s]||(c.prototype[s]=o.prototype[s])}function c(f){if(!(this instanceof c))return new c(f);r.call(this,f),o.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",l)}function l(){this.allowHalfOpen||this._writableState.ended||e.nextTick(u,this)}function u(f){f.end()}return Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.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)}}),c.prototype._destroy=function(f,d){this.push(null),this.end(),e.nextTick(d,f)},iy}var rL,ay,oL,sy,iL,ly,aL,sL,cy={};function lL(){if(rL)return cy;rL=1;var e=$g().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(m){if(!m)return"utf8";for(var A;;)switch(m){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 m;default:if(A)return;m=(""+m).toLowerCase(),A=!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=i,this.end=a,d=4;break;case"utf8":this.fillLast=o,d=4;break;case"base64":this.text=s,this.end=c,d=3;break;default:return this.write=l,void(this.end=u)}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 o(f){var d=this.lastTotal-this.lastNeed,h=function(p,m,A){if((192&m[0])!=128)return p.lastNeed=0,"<22>";if(p.lastNeed>1&&m.length>1){if((192&m[1])!=128)return p.lastNeed=1,"<22>";if(p.lastNeed>2&&m.length>2&&(192&m[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 i(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 c(f){var d=f&&f.length?this.write(f):"";return this.lastNeed?d+this.lastChar.toString("base64",0,3-this.lastNeed):d}function l(f){return f.toString(this.encoding)}function u(f){return f&&f.length?this.write(f):""}return cy.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(m,A,x){var R=A.length-1;if(R<x)return 0;var y=r(A[R]);return y>=0?(y>0&&(m.lastNeed=y-1),y):--R<x||y===-2?0:(y=r(A[R]))>=0?(y>0&&(m.lastNeed=y-2),y):--R<x||y===-2?0:(y=r(A[R]))>=0?(y>0&&(y===2?y=0:m.lastNeed=y-3),y):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},cy}function P9(){if(oL)return ay;oL=1;var e=jg();ay=m;var t,n=function(){if(Qw)return Yw;Qw=1;var F={}.toString;return Yw=Array.isArray||function(I){return F.call(I)=="[object Array]"}}();m.ReadableState=p,pee.EventEmitter;var r=function(F,I){return F.listeners(I).length},o=O9(),i=$g().Buffer,a=Ai.Uint8Array||function(){},s=Object.create(Fp());s.inherits=_p();var c=qg,l=void 0;l=c&&c.debuglog?c.debuglog("stream"):function(){};var u,f=mee(),d=k9();s.inherits(m,o);var h=["error","close","destroy","pause","resume"];function p(F,I){F=F||{};var V=I instanceof(t=t||Td());this.objectMode=!!F.objectMode,V&&(this.objectMode=this.objectMode||!!F.readableObjectMode);var B=F.highWaterMark,G=F.readableHighWaterMark,ne=this.objectMode?16:16384;this.highWaterMark=B||B===0?B:V&&(G||G===0)?G:ne,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=F.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,F.encoding&&(u||(u=lL().StringDecoder),this.decoder=new u(F.encoding),this.encoding=F.encoding)}function m(F){if(t=t||Td(),!(this instanceof m))return new m(F);this._readableState=new p(F,this),this.readable=!0,F&&(typeof F.read=="function"&&(this._read=F.read),typeof F.destroy=="function"&&(this._destroy=F.destroy)),o.call(this)}function A(F,I,V,B,G){var ne,E=F._readableState;return I===null?(E.reading=!1,function(Z,K){if(!K.ended){if(K.decoder){var U=K.decoder.end();U&&U.length&&(K.buffer.push(U),K.length+=K.objectMode?1:U.length)}K.ended=!0,g(Z)}}(F,E)):(G||(ne=function(Z,K){var U;J=K,i.isBuffer(J)||J instanceof a||typeof K=="string"||K===void 0||Z.objectMode||(U=new TypeError("Invalid non-string/buffer chunk"));var J;return U}(E,I)),ne?F.emit("error",ne):E.objectMode||I&&I.length>0?(typeof I=="string"||E.objectMode||Object.getPrototypeOf(I)===i.prototype||(I=function(Z){return i.from(Z)}(I)),B?E.endEmitted?F.emit("error",new Error("stream.unshift() after end event")):x(F,E,I,!0):E.ended?F.emit("error",new Error("stream.push() after EOF")):(E.reading=!1,E.decoder&&!V?(I=E.decoder.write(I),E.objectMode||I.length!==0?x(F,E,I,!1):L(F,E)):x(F,E,I,!1))):B||(E.reading=!1)),function(Z){return!Z.ended&&(Z.needReadable||Z.length<Z.highWaterMark||Z.length===0)}(E)}function x(F,I,V,B){I.flowing&&I.length===0&&!I.sync?(F.emit("data",V),F.read(0)):(I.length+=I.objectMode?1:V.length,B?I.buffer.unshift(V):I.buffer.push(V),I.needReadable&&g(F)),L(F,I)}Object.defineProperty(m.prototype,"destroyed",{get:function(){return this._readableState!==void 0&&this._readableState.destroyed},set:function(F){this._readableState&&(this._readableState.destroyed=F)}}),m.prototype.destroy=d.destroy,m.prototype._undestroy=d.undestroy,m.prototype._destroy=function(F,I){this.push(null),I(F)},m.prototype.push=function(F,I){var V,B=this._readableState;return B.objectMode?V=!0:typeof F=="string"&&((I=I||B.defaultEncoding)!==B.encoding&&(F=i.from(F,I),I=""),V=!0),A(this,F,I,!1,V)},m.prototype.unshift=function(F){return A(this,F,null,!0,!1)},m.prototype.isPaused=function(){return this._readableState.flowing===!1},m.prototype.setEncoding=function(F){return u||(u=lL().StringDecoder),this._readableState.decoder=new u(F),this._readableState.encoding=F,this};var R=8388608;function y(F,I){return F<=0||I.length===0&&I.ended?0:I.objectMode?1:F!=F?I.flowing&&I.length?I.buffer.head.data.length:I.length:(F>I.highWaterMark&&(I.highWaterMark=function(V){return V>=R?V=R:(V--,V|=V>>>1,V|=V>>>2,V|=V>>>4,V|=V>>>8,V|=V>>>16,V++),V}(F)),F<=I.length?F:I.ended?I.length:(I.needReadable=!0,0))}function g(F){var I=F._readableState;I.needReadable=!1,I.emittedReadable||(l("emitReadable",I.flowing),I.emittedReadable=!0,I.sync?e.nextTick(S,F):S(F))}function S(F){l("emit readable"),F.emit("readable"),k(F)}function L(F,I){I.readingMore||(I.readingMore=!0,e.nextTick(T,F,I))}function T(F,I){for(var V=I.length;!I.reading&&!I.flowing&&!I.ended&&I.length<I.highWaterMark&&(l("maybeReadMore read 0"),F.read(0),V!==I.length);)V=I.length;I.readingMore=!1}function M(F){l("readable nexttick read 0"),F.read(0)}function O(F,I){I.reading||(l("resume read 0"),F.read(0)),I.resumeScheduled=!1,I.awaitDrain=0,F.emit("resume"),k(F),I.flowing&&!I.reading&&F.read(0)}function k(F){var I=F._readableState;for(l("flow",I.flowing);I.flowing&&F.read()!==null;);}function _(F,I){return I.length===0?null:(I.objectMode?V=I.buffer.shift():!F||F>=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(B,G,ne){var E;return B<G.head.data.length?(E=G.head.data.slice(0,B),G.head.data=G.head.data.slice(B)):E=B===G.head.data.length?G.shift():ne?function(Z,K){var U=K.head,J=1,le=U.data;for(Z-=le.length;U=U.next;){var ie=U.data,oe=Z>ie.length?ie.length:Z;if(oe===ie.length?le+=ie:le+=ie.slice(0,Z),(Z-=oe)===0){oe===ie.length?(++J,U.next?K.head=U.next:K.head=K.tail=null):(K.head=U,U.data=ie.slice(oe));break}++J}return K.length-=J,le}(B,G):function(Z,K){var U=i.allocUnsafe(Z),J=K.head,le=1;for(J.data.copy(U),Z-=J.data.length;J=J.next;){var ie=J.data,oe=Z>ie.length?ie.length:Z;if(ie.copy(U,U.length-Z,0,oe),(Z-=oe)===0){oe===ie.length?(++le,J.next?K.head=J.next:K.head=K.tail=null):(K.head=J,J.data=ie.slice(oe));break}++le}return K.length-=le,U}(B,G),E}(F,I.buffer,I.decoder),V);var V}function N(F){var I=F._readableState;if(I.length>0)throw new Error('"endReadable()" called on non-empty stream');I.endEmitted||(I.ended=!0,e.nextTick(X,I,F))}function X(F,I){F.endEmitted||F.length!==0||(F.endEmitted=!0,I.readable=!1,I.emit("end"))}function C(F,I){for(var V=0,B=F.length;V<B;V++)if(F[V]===I)return V;return-1}return m.prototype.read=function(F){l("read",F),F=parseInt(F,10);var I=this._readableState,V=F;if(F!==0&&(I.emittedReadable=!1),F===0&&I.needReadable&&(I.length>=I.highWaterMark||I.ended))return l("read: emitReadable",I.length,I.ended),I.length===0&&I.ended?N(this):g(this),null;if((F=y(F,I))===0&&I.ended)return I.length===0&&N(this),null;var B,G=I.needReadable;return l("need readable",G),(I.length===0||I.length-F<I.highWaterMark)&&l("length less than watermark",G=!0),I.ended||I.reading?l("reading or ended",G=!1):G&&(l("do read"),I.reading=!0,I.sync=!0,I.length===0&&(I.needReadable=!0),this._read(I.highWaterMark),I.sync=!1,I.reading||(F=y(V,I))),(B=F>0?_(F,I):null)===null?(I.needReadable=!0,F=0):I.length-=F,I.length===0&&(I.ended||(I.needReadable=!0),V!==F&&I.ended&&N(this)),B!==null&&this.emit("data",B),B},m.prototype._read=function(F){this.emit("error",new Error("_read() is not implemented"))},m.prototype.pipe=function(F,I){var V=this,B=this._readableState;switch(B.pipesCount){case 0:B.pipes=F;break;case 1:B.pipes=[B.pipes,F];break;default:B.pipes.push(F)}B.pipesCount+=1,l("pipe count=%d opts=%j",B.pipesCount,I);var G=(!I||I.end!==!1)&&F!==Mi.stdout&&F!==Mi.stderr?E:pe;function ne(ge,ye){l("onunpipe"),ge===V&&ye&&ye.hasUnpiped===!1&&(ye.hasUnpiped=!0,l("cleanup"),F.removeListener("close",ie),F.removeListener("finish",oe),F.removeListener("drain",Z),F.removeListener("error",le),F.removeListener("unpipe",ne),V.removeListener("end",E),V.removeListener("end",pe),V.removeListener("data",J),K=!0,!B.awaitDrain||F._writableState&&!F._writableState.needDrain||Z())}function E(){l("onend"),F.end()}B.endEmitted?e.nextTick(G):V.once("end",G),F.on("unpipe",ne);var Z=function(ge){return function(){var ye=ge._readableState;l("pipeOnDrain",ye.awaitDrain),ye.awaitDrain&&ye.awaitDrain--,ye.awaitDrain===0&&r(ge,"data")&&(ye.flowing=!0,k(ge))}}(V);F.on("drain",Z);var K=!1,U=!1;function J(ge){l("ondata"),U=!1,F.write(ge)!==!1||U||((B.pipesCount===1&&B.pipes===F||B.pipesCount>1&&C(B.pipes,F)!==-1)&&!K&&(l("false write response, pause",V._readableState.awaitDrain),V._readableState.awaitDrain++,U=!0),V.pause())}function le(ge){l("onerror",ge),pe(),F.removeListener("error",le),r(F,"error")===0&&F.emit("error",ge)}function ie(){F.removeListener("finish",oe),pe()}function oe(){l("onfinish"),F.removeListener("close",ie),pe()}function pe(){l("unpipe"),V.unpipe(F)}return V.on("data",J),function(ge,ye,z){if(typeof ge.prependListener=="function")return ge.prependListener(ye,z);ge._events&&ge._events[ye]?n(ge._events[ye])?ge._events[ye].unshift(z):ge._events[ye]=[z,ge._events[ye]]:ge.on(ye,z)}(F,"error",le),F.once("close",ie),F.once("finish",oe),F.emit("pipe",V),B.flowing||(l("pipe resume"),V.resume()),F},m.prototype.unpipe=function(F){var I=this._readableState,V={hasUnpiped:!1};if(I.pipesCount===0)return this;if(I.pipesCount===1)return F&&F!==I.pipes||(F||(F=I.pipes),I.pipes=null,I.pipesCount=0,I.flowing=!1,F&&F.emit("unpipe",this,V)),this;if(!F){var B=I.pipes,G=I.pipesCount;I.pipes=null,I.pipesCount=0,I.flowing=!1;for(var ne=0;ne<G;ne++)B[ne].emit("unpipe",this,V);return this}var E=C(I.pipes,F);return E===-1||(I.pipes.splice(E,1),I.pipesCount-=1,I.pipesCount===1&&(I.pipes=I.pipes[0]),F.emit("unpipe",this,V)),this},m.prototype.on=function(F,I){var V=o.prototype.on.call(this,F,I);if(F==="data")this._readableState.flowing!==!1&&this.resume();else if(F==="readable"){var B=this._readableState;B.endEmitted||B.readableListening||(B.readableListening=B.needReadable=!0,B.emittedReadable=!1,B.reading?B.length&&g(this):e.nextTick(M,this))}return V},m.prototype.addListener=m.prototype.on,m.prototype.resume=function(){var F=this._readableState;return F.flowing||(l("resume"),F.flowing=!0,function(I,V){V.resumeScheduled||(V.resumeScheduled=!0,e.nextTick(O,I,V))}(this,F)),this},m.prototype.pause=function(){return l("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(l("pause"),this._readableState.flowing=!1,this.emit("pause")),this},m.prototype.wrap=function(F){var I=this,V=this._readableState,B=!1;for(var G in F.on("end",function(){if(l("wrapped end"),V.decoder&&!V.ended){var E=V.decoder.end();E&&E.length&&I.push(E)}I.push(null)}),F.on("data",function(E){l("wrapped data"),V.decoder&&(E=V.decoder.write(E)),V.objectMode&&E==null||(V.objectMode||E&&E.length)&&(I.push(E)||(B=!0,F.pause()))}),F)this[G]===void 0&&typeof F[G]=="function"&&(this[G]=function(E){return function(){return F[E].apply(F,arguments)}}(G));for(var ne=0;ne<h.length;ne++)F.on(h[ne],this.emit.bind(this,h[ne]));return this._read=function(E){l("wrapped _read",E),B&&(B=!1,F.resume())},this},Object.defineProperty(m.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),m._fromList=_,ay}function cL(){if(iL)return sy;iL=1,sy=r;var e=Td(),t=Object.create(Fp());function n(a,s){var c=this._transformState;c.transforming=!1;var l=c.writecb;if(!l)return this.emit("error",new Error("write callback called multiple times"));c.writechunk=null,c.writecb=null,s!=null&&this.push(s),l(a);var u=this._readableState;u.reading=!1,(u.needReadable||u.length<u.highWaterMark)&&this._read(u.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",o)}function o(){var a=this;typeof this._flush=="function"?this._flush(function(s,c){i(a,s,c)}):i(this,null,null)}function i(a,s,c){if(s)return a.emit("error",s);if(c!=null&&a.push(c),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=_p(),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,c){throw new Error("_transform() is not implemented")},r.prototype._write=function(a,s,c){var l=this._transformState;if(l.writecb=c,l.writechunk=a,l.writeencoding=s,!l.transforming){var u=this._readableState;(l.needTransform||u.needReadable||u.length<u.highWaterMark)&&this._read(u.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 c=this;e.prototype._destroy.call(this,a,function(l){s(l),c.emit("close")})},sy}function C9(){return sL||(sL=1,function(e,t){var n=L9;Mi.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=P9()).Stream=n||t,t.Readable=t,t.Writable=N9(),t.Duplex=Td(),t.Transform=cL(),t.PassThrough=function(){if(aL)return ly;aL=1,ly=i;var r=cL(),o=Object.create(Fp());function i(a){if(!(this instanceof i))return new i(a);r.call(this,a)}return o.inherits=_p(),o.inherits(i,r),i.prototype._transform=function(a,s,c){c(null,a)},ly}())}(HR,HR.exports)),HR.exports}if(Tr.base64=!0,Tr.array=!0,Tr.string=!0,Tr.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",Tr.nodebuffer=!0,Tr.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")Tr.blob=!1;else{var uL=new ArrayBuffer(0);try{Tr.blob=new Blob([uL],{type:"application/zip"}).size===0}catch{try{var fL=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);fL.append(uL),Tr.blob=fL.getBlob("application/zip").size===0}catch{Tr.blob=!1}}}try{Tr.nodestream=!!C9().Readable}catch{Tr.nodestream=!1}var dL,fm={};function I9(){if(dL)return fm;dL=1;var e=yr(),t=Tr,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return fm.encode=function(r){for(var o,i,a,s,c,l,u,f=[],d=0,h=r.length,p=h,m=e.getTypeOf(r)!=="string";d<r.length;)p=h-d,m?(o=r[d++],i=d<h?r[d++]:0,a=d<h?r[d++]:0):(o=r.charCodeAt(d++),i=d<h?r.charCodeAt(d++):0,a=d<h?r.charCodeAt(d++):0),s=o>>2,c=(3&o)<<4|i>>4,l=p>1?(15&i)<<2|a>>6:64,u=p>2?63&a:64,f.push(n.charAt(s)+n.charAt(c)+n.charAt(l)+n.charAt(u));return f.join("")},fm.decode=function(r){var o,i,a,s,c,l,u=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);u<r.length;)o=n.indexOf(r.charAt(u++))<<2|(s=n.indexOf(r.charAt(u++)))>>4,i=(15&s)<<4|(c=n.indexOf(r.charAt(u++)))>>2,a=(3&c)<<6|(l=n.indexOf(r.charAt(u++))),h[f++]=o,c!==64&&(h[f++]=i),l!==64&&(h[f++]=a);return h},fm}var hL,pL,uy,mL,e2={isNode:!0,newBufferFrom:function(e,t){if(Ge.from&&Ge.from!==Uint8Array.from)return Ge.from(e,t);if(typeof e=="number")throw new Error('The "data" argument must not be a number');return new Ge(e,t)},allocBuffer:function(e){if(Ge.alloc)return Ge.alloc(e);var t=new Ge(e);return t.fill(0),t},isBuffer:function(e){return Pp(e)},isStream:function(e){return e&&typeof e.on=="function"&&typeof e.pause=="function"&&typeof e.resume=="function"}},F9=null;F9=typeof Promise<"u"?Promise:function(){if(mL)return uy;mL=1;var e=function(){if(pL)return hL;pL=1;var d,h,p=Ai.MutationObserver||Ai.WebKitMutationObserver;if(p){var m=0,A=new p(g),x=Ai.document.createTextNode("");A.observe(x,{characterData:!0}),d=function(){x.data=m=++m%2}}else if(Ai.setImmediate||Ai.MessageChannel===void 0)d="document"in Ai&&"onreadystatechange"in Ai.document.createElement("script")?function(){var S=Ai.document.createElement("script");S.onreadystatechange=function(){g(),S.onreadystatechange=null,S.parentNode.removeChild(S),S=null},Ai.document.documentElement.appendChild(S)}:function(){setTimeout(g,0)};else{var R=new Ai.MessageChannel;R.port1.onmessage=g,d=function(){R.port2.postMessage(0)}}var y=[];function g(){var S,L;h=!0;for(var T=y.length;T;){for(L=y,y=[],S=-1;++S<T;)L[S]();T=y.length}h=!1}return hL=function(S){y.push(S)!==1||h||d()}}();function t(){}var n={},r=["REJECTED"],o=["FULFILLED"],i=["PENDING"];function a(d){if(typeof d!="function")throw new TypeError("resolver must be a function");this.state=i,this.queue=[],this.outcome=void 0,d!==t&&u(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 c(d,h,p){e(function(){var m;try{m=h(p)}catch(A){return n.reject(d,A)}m===d?n.reject(d,new TypeError("Cannot resolve promise with itself")):n.resolve(d,m)})}function l(d){var h=d&&d.then;if(d&&(typeof d=="object"||typeof d=="function")&&typeof h=="function")return function(){h.apply(d,arguments)}}function u(d,h){var p=!1;function m(R){p||(p=!0,n.reject(d,R))}function A(R){p||(p=!0,n.resolve(d,R))}var x=f(function(){h(A,m)});x.status==="error"&&m(x.value)}function f(d,h){var p={};try{p.value=d(h),p.status="success"}catch(m){p.status="error",p.value=m}return p}return uy=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===o||typeof h!="function"&&this.state===r)return this;var p=new this.constructor(t);return this.state!==i?c(p,this.state===o?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){c(this.promise,this.onFulfilled,d)},s.prototype.callRejected=function(d){n.reject(this.promise,d)},s.prototype.otherCallRejected=function(d){c(this.promise,this.onRejected,d)},n.resolve=function(d,h){var p=f(l,h);if(p.status==="error")return n.reject(d,p.value);var m=p.value;if(m)u(d,m);else{d.state=o,d.outcome=h;for(var A=-1,x=d.queue.length;++A<x;)d.queue[A].callFulfilled(h)}return d},n.reject=function(d,h){d.state=r,d.outcome=h;for(var p=-1,m=d.queue.length;++p<m;)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,m=!1;if(!p)return this.resolve([]);for(var A=new Array(p),x=0,R=-1,y=new this(t);++R<p;)g(d[R],R);return y;function g(S,L){h.resolve(S).then(function(T){A[L]=T,++x!==p||m||(m=!0,n.resolve(y,A))},function(T){m||(m=!0,n.reject(y,T))})}},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,m=!1;if(!p)return this.resolve([]);for(var A,x=-1,R=new this(t);++x<p;)A=d[x],h.resolve(A).then(function(y){m||(m=!0,n.resolve(R,y))},function(y){m||(m=!0,n.reject(R,y))});return R},uy}();var vL,Xp={Promise:F9};function yr(){return vL||(vL=1,function(e){var t=Tr,n=I9(),r=e2,o=Xp;function i(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=[],m=0,A=f.length;if(A<=h)return String.fromCharCode.apply(null,f);for(;m<A;)d==="array"||d==="nodebuffer"?p.push(String.fromCharCode.apply(null,f.slice(m,Math.min(m+h,A)))):p.push(String.fromCharCode.apply(null,f.subarray(m,Math.min(m+h,A)))),m+=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 c(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 l(f,d){for(var h=0;h<f.length;h++)d[h]=f[h];return d}e.applyFromCharCode=c;var u={};u.string={string:i,array:function(f){return a(f,new Array(f.length))},arraybuffer:function(f){return u.string.uint8array(f).buffer},uint8array:function(f){return a(f,new Uint8Array(f.length))},nodebuffer:function(f){return a(f,r.allocBuffer(f.length))}},u.array={string:c,array:i,arraybuffer:function(f){return new Uint8Array(f).buffer},uint8array:function(f){return new Uint8Array(f)},nodebuffer:function(f){return r.newBufferFrom(f)}},u.arraybuffer={string:function(f){return c(new Uint8Array(f))},array:function(f){return l(new Uint8Array(f),new Array(f.byteLength))},arraybuffer:i,uint8array:function(f){return new Uint8Array(f)},nodebuffer:function(f){return r.newBufferFrom(new Uint8Array(f))}},u.uint8array={string:c,array:function(f){return l(f,new Array(f.length))},arraybuffer:function(f){return f.buffer},uint8array:i,nodebuffer:function(f){return r.newBufferFrom(f)}},u.nodebuffer={string:c,array:function(f){return l(f,new Array(f.length))},arraybuffer:function(f){return u.nodebuffer.uint8array(f).buffer},uint8array:function(f){return l(f,new Uint8Array(f.length))},nodebuffer:i},e.transformTo=function(f,d){if(d||(d=""),!f)return d;e.checkSupport(f);var h=e.getTypeOf(d);return u[h][f](d)},e.resolve=function(f){for(var d=f.split("/"),h=[],p=0;p<d.length;p++){var m=d[p];m==="."||m===""&&p!==0&&p!==d.length-1||(m===".."?h.pop():h.push(m))}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,m){return o.Promise.resolve(d).then(function(A){return t.blob&&(A instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(A))!==-1)&&typeof FileReader<"u"?new o.Promise(function(x,R){var y=new FileReader;y.onload=function(g){x(g.target.result)},y.onerror=function(g){R(g.target.error)},y.readAsArrayBuffer(A)}):A}).then(function(A){var x,R=e.getTypeOf(A);return R?(R==="arraybuffer"?A=e.transformTo("uint8array",A):R==="string"&&(m?A=n.decode(A):h&&p!==!0&&(A=a(x=A,t.uint8array?new Uint8Array(x.length):new Array(x.length)))),A):o.Promise.reject(new Error("Can't read the data of '"+f+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}}(xw)),xw}function _9(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,o,i,a,s=1,c={},l=!1,u=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,{}.toString.call(e.process)==="[object process]"?n=function(p){Er(function(){h(p)})}:function(){if(e.postMessage&&!e.importScripts){var p=!0,m=e.onmessage;return e.onmessage=function(){p=!1},e.postMessage("","*"),e.onmessage=m,p}}()?(i="setImmediate$"+Math.random()+"$",a=function(p){p.source===e&&typeof p.data=="string"&&p.data.indexOf(i)===0&&h(+p.data.slice(i.length))},e.addEventListener?e.addEventListener("message",a,!1):e.attachEvent("onmessage",a),n=function(p){e.postMessage(i+p,"*")}):e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(p){h(p.data)},n=function(p){o.port2.postMessage(p)}):u&&"onreadystatechange"in u.createElement("script")?(r=u.documentElement,n=function(p){var m=u.createElement("script");m.onreadystatechange=function(){h(p),m.onreadystatechange=null,r.removeChild(m),m=null},r.appendChild(m)}):n=function(p){setTimeout(h,0,p)},f.setImmediate=function(p){typeof p!="function"&&(p=new Function(""+p));for(var m=new Array(arguments.length-1),A=0;A<m.length;A++)m[A]=arguments[A+1];var x={callback:p,args:m};return c[s]=x,n(s),s++},f.clearImmediate=d}function d(p){delete c[p]}function h(p){if(l)setTimeout(h,0,p);else{var m=c[p];if(m){l=!0;try{(function(A){var x=A.callback,R=A.args;switch(R.length){case 0:x();break;case 1:x(R[0]);break;case 2:x(R[0],R[1]);break;case 3:x(R[0],R[1],R[2]);break;default:x.apply(void 0,R)}})(m)}finally{d(p),l=!1}}}}})(typeof self>"u"?Ai:self),_9.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 ia=_9;(function(e){for(var t=yr(),n=Tr,r=e2,o=ia,i=new Array(256),a=0;a<256;a++)i[a]=a>=252?6:a>=248?5:a>=240?4:a>=224?3:a>=192?2:1;i[254]=i[254]=1;function s(){o.call(this,"utf-8 decode"),this.leftOver=null}function c(){o.call(this,"utf-8 encode")}e.utf8encode=function(l){return n.nodebuffer?r.newBufferFrom(l,"utf-8"):function(u){var f,d,h,p,m,A=u.length,x=0;for(p=0;p<A;p++)(64512&(d=u.charCodeAt(p)))==55296&&p+1<A&&(64512&(h=u.charCodeAt(p+1)))==56320&&(d=65536+(d-55296<<10)+(h-56320),p++),x+=d<128?1:d<2048?2:d<65536?3:4;for(f=n.uint8array?new Uint8Array(x):new Array(x),m=0,p=0;m<x;p++)(64512&(d=u.charCodeAt(p)))==55296&&p+1<A&&(64512&(h=u.charCodeAt(p+1)))==56320&&(d=65536+(d-55296<<10)+(h-56320),p++),d<128?f[m++]=d:d<2048?(f[m++]=192|d>>>6,f[m++]=128|63&d):d<65536?(f[m++]=224|d>>>12,f[m++]=128|d>>>6&63,f[m++]=128|63&d):(f[m++]=240|d>>>18,f[m++]=128|d>>>12&63,f[m++]=128|d>>>6&63,f[m++]=128|63&d);return f}(l)},e.utf8decode=function(l){return n.nodebuffer?t.transformTo("nodebuffer",l).toString("utf-8"):function(u){var f,d,h,p,m=u.length,A=new Array(2*m);for(d=0,f=0;f<m;)if((h=u[f++])<128)A[d++]=h;else if((p=i[h])>4)A[d++]=65533,f+=p-1;else{for(h&=p===2?31:p===3?15:7;p>1&&f<m;)h=h<<6|63&u[f++],p--;p>1?A[d++]=65533:h<65536?A[d++]=h:(h-=65536,A[d++]=55296|h>>10&1023,A[d++]=56320|1023&h)}return A.length!==d&&(A.subarray?A=A.subarray(0,d):A.length=d),t.applyFromCharCode(A)}(l=t.transformTo(n.uint8array?"uint8array":"array",l))},t.inherits(s,o),s.prototype.processChunk=function(l){var u=t.transformTo(n.uint8array?"uint8array":"array",l.data);if(this.leftOver&&this.leftOver.length){if(n.uint8array){var f=u;(u=new Uint8Array(f.length+this.leftOver.length)).set(this.leftOver,0),u.set(f,this.leftOver.length)}else u=this.leftOver.concat(u);this.leftOver=null}var d=function(p,m){var A;for((m=m||p.length)>p.length&&(m=p.length),A=m-1;A>=0&&(192&p[A])==128;)A--;return A<0||A===0?m:A+i[p[A]]>m?A:m}(u),h=u;d!==u.length&&(n.uint8array?(h=u.subarray(0,d),this.leftOver=u.subarray(d,u.length)):(h=u.slice(0,d),this.leftOver=u.slice(d,u.length))),this.push({data:e.utf8decode(h),meta:l.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(c,o),c.prototype.processChunk=function(l){this.push({data:e.utf8encode(l.data),meta:l.meta})},e.Utf8EncodeWorker=c})(Kd);var X9=ia,gL=yr();function g3(e){X9.call(this,"ConvertWorker to "+e),this.destType=e}gL.inherits(g3,X9),g3.prototype.processChunk=function(e){this.push({data:gL.transformTo(this.destType,e.data),meta:e.meta})};var AL,RL,vee=g3,Au=yr(),gee=vee,Aee=ia,Ree=I9(),yee=Xp,E9=null;if(Tr.nodestream)try{E9=function(){if(RL)return AL;RL=1;var e=C9().Readable;function t(n,r,o){e.call(this,r),this._helper=n;var i=this;n.on("data",function(a,s){i.push(a)||i._helper.pause(),o&&o(s)}).on("error",function(a){i.emit("error",a)}).on("end",function(){i.push(null)})}return yr().inherits(t,e),t.prototype._read=function(){this._helper.resume()},AL=t}()}catch{}function xee(e,t){return new yee.Promise(function(n,r){var o=[],i=e._internalType,a=e._outputType,s=e._mimeType;e.on("data",function(c,l){o.push(c),t&&t(l)}).on("error",function(c){o=[],r(c)}).on("end",function(){try{var c=function(l,u,f){switch(l){case"blob":return Au.newBlob(Au.transformTo("arraybuffer",u),f);case"base64":return Ree.encode(u);default:return Au.transformTo(l,u)}}(a,function(l,u){var f,d=0,h=null,p=0;for(f=0;f<u.length;f++)p+=u[f].length;switch(l){case"string":return u.join("");case"array":return Array.prototype.concat.apply([],u);case"uint8array":for(h=new Uint8Array(p),f=0;f<u.length;f++)h.set(u[f],d),d+=u[f].length;return h;case"nodebuffer":return Ge.concat(u);default:throw new Error("concat : unsupported type '"+l+"'")}}(i,o),s);n(c)}catch(l){r(l)}o=[]}).resume()})}function W9(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,Au.checkSupport(r),this._worker=e.pipe(new gee(r)),e.lock()}catch(o){this._worker=new Aee("error"),this._worker.error(o)}}W9.prototype={accumulate:function(e){return xee(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(){Au.delay(t,arguments,n)}),this},resume:function(){return Au.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(Au.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new E9(this,{objectMode:this._outputType!=="nodebuffer"},e)}};var V9=W9,U9={base64:!1,binary:!1,dir:!1,createFolders:!0,date:null,compression:null,compressionOptions:null,comment:null,unixPermissions:null,dosPermissions:null},Bm=yr(),Dm=ia;function Wf(e){Dm.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=Bm.getTypeOf(n),t.isPaused||t._tickAndRepeat()},function(n){t.error(n)})}Bm.inherits(Wf,Dm),Wf.prototype.cleanUp=function(){Dm.prototype.cleanUp.call(this),this.data=null},Wf.prototype.resume=function(){return!!Dm.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,Bm.delay(this._tickAndRepeat,[],this)),!0)},Wf.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(Bm.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},Wf.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 Y9=Wf,bee=yr(),yL=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}(),Zb=function(e,t){return e!==void 0&&e.length?bee.getTypeOf(e)!=="string"?function(n,r,o,i){var a=yL,s=i+o;n^=-1;for(var c=i;c<s;c++)n=n>>>8^a[255&(n^r[c])];return-1^n}(0|t,e,e.length,0):function(n,r,o,i){var a=yL,s=i+o;n^=-1;for(var c=i;c<s;c++)n=n>>>8^a[255&(n^r.charCodeAt(c))];return-1^n}(0|t,e,e.length,0):0},Q9=ia,See=Zb;function A3(){Q9.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}yr().inherits(A3,Q9),A3.prototype.processChunk=function(e){this.streamInfo.crc32=See(e.data,this.streamInfo.crc32||0),this.push(e)};var Z9=A3,Mee=yr(),R3=ia;function y3(e){R3.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}Mee.inherits(y3,R3),y3.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}R3.prototype.processChunk.call(this,e)};var xL=Xp,bL=Y9,wee=Z9,fy=y3;function x3(e,t,n,r,o){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=o}x3.prototype={getContentWorker:function(){var e=new bL(xL.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new fy("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 bL(xL.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},x3.createWorkerFrom=function(e,t,n){return e.pipe(new wee).pipe(new fy("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new fy("compressedSize")).withStreamInfo("compression",t)};var Bb=x3,Lee=V9,Oee=Y9,dy=Kd,hy=Bb,SL=ia,Db=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}};Db.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 o=!this._dataBinary;o&&!r&&(t=t.pipe(new dy.Utf8EncodeWorker)),!o&&r&&(t=t.pipe(new dy.Utf8DecodeWorker))}catch(i){(t=new SL("error")).error(i)}return new Lee(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 hy&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new dy.Utf8EncodeWorker)),hy.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof hy?this._data.getContentWorker():this._data instanceof SL?this._data:new Oee(this._data)}};for(var ML=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],Tee=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},py=0;py<ML.length;py++)Db.prototype[ML[py]]=Tee;var kee=Db,B9={},Kv={},Km={},ul={};(function(e){var t=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function n(i,a){return Object.prototype.hasOwnProperty.call(i,a)}e.assign=function(i){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 c in s)n(s,c)&&(i[c]=s[c])}}return i},e.shrinkBuf=function(i,a){return i.length===a?i:i.subarray?i.subarray(0,a):(i.length=a,i)};var r={arraySet:function(i,a,s,c,l){if(a.subarray&&i.subarray)i.set(a.subarray(s,s+c),l);else for(var u=0;u<c;u++)i[l+u]=a[s+u]},flattenChunks:function(i){var a,s,c,l,u,f;for(c=0,a=0,s=i.length;a<s;a++)c+=i[a].length;for(f=new Uint8Array(c),l=0,a=0,s=i.length;a<s;a++)u=i[a],f.set(u,l),l+=u.length;return f}},o={arraySet:function(i,a,s,c,l){for(var u=0;u<c;u++)i[l+u]=a[s+u]},flattenChunks:function(i){return[].concat.apply([],i)}};e.setTyped=function(i){i?(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,o))},e.setTyped(t)})(ul);var U0={},Ba={},Vf={},Nee=ul;function Hd(e){for(var t=e.length;--t>=0;)e[t]=0}var b3=[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],Hm=[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],Pee=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],wL=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Ys=new Array(576);Hd(Ys);var Y0=new Array(60);Hd(Y0);var tp=new Array(512);Hd(tp);var yh=new Array(256);Hd(yh);var Kb=new Array(29);Hd(Kb);var LL,OL,TL,Hv=new Array(30);function my(e,t,n,r,o){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=o,this.has_stree=e&&e.length}function vy(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function D9(e){return e<256?tp[e]:tp[256+(e>>>7)]}function np(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function Jo(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<<e.bi_valid&65535,np(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 rs(e,t,n){Jo(e,n[2*t],n[2*t+1])}function K9(e,t){var n=0;do n|=1&e,e>>>=1,n<<=1;while(--t>0);return n>>>1}function H9(e,t,n){var r,o,i=new Array(16),a=0;for(r=1;r<=15;r++)i[r]=a=a+n[r-1]<<1;for(o=0;o<=t;o++){var s=e[2*o+1];s!==0&&(e[2*o]=K9(i[s]++,s))}}function kL(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 G9(e){e.bi_valid>8?np(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 NL(e,t,n,r){var o=2*t,i=2*n;return e[o]<e[i]||e[o]===e[i]&&r[t]<=r[n]}function gy(e,t,n){for(var r=e.heap[n],o=n<<1;o<=e.heap_len&&(o<e.heap_len&&NL(t,e.heap[o+1],e.heap[o],e.depth)&&o++,!NL(t,r,e.heap[o],e.depth));)e.heap[n]=e.heap[o],n=o,o<<=1;e.heap[n]=r}function PL(e,t,n){var r,o,i,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],o=e.pending_buf[e.l_buf+s],s++,r===0?rs(e,o,t):(rs(e,(i=yh[o])+256+1,t),(a=b3[i])!==0&&Jo(e,o-=Kb[i],a),rs(e,i=D9(--r),n),(a=Hm[i])!==0&&Jo(e,r-=Hv[i],a));while(s<e.last_lit);rs(e,256,t)}function Ay(e,t){var n,r,o,i=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,c=t.stat_desc.elems,l=-1;for(e.heap_len=0,e.heap_max=573,n=0;n<c;n++)i[2*n]!==0?(e.heap[++e.heap_len]=l=n,e.depth[n]=0):i[2*n+1]=0;for(;e.heap_len<2;)i[2*(o=e.heap[++e.heap_len]=l<2?++l:0)]=1,e.depth[o]=0,e.opt_len--,s&&(e.static_len-=a[2*o+1]);for(t.max_code=l,n=e.heap_len>>1;n>=1;n--)gy(e,i,n);o=c;do n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],gy(e,i,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,i[2*o]=i[2*n]+i[2*r],e.depth[o]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,i[2*n+1]=i[2*r+1]=o,e.heap[1]=o++,gy(e,i,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(u,f){var d,h,p,m,A,x,R=f.dyn_tree,y=f.max_code,g=f.stat_desc.static_tree,S=f.stat_desc.has_stree,L=f.stat_desc.extra_bits,T=f.stat_desc.extra_base,M=f.stat_desc.max_length,O=0;for(m=0;m<=15;m++)u.bl_count[m]=0;for(R[2*u.heap[u.heap_max]+1]=0,d=u.heap_max+1;d<573;d++)(m=R[2*R[2*(h=u.heap[d])+1]+1]+1)>M&&(m=M,O++),R[2*h+1]=m,h>y||(u.bl_count[m]++,A=0,h>=T&&(A=L[h-T]),x=R[2*h],u.opt_len+=x*(m+A),S&&(u.static_len+=x*(g[2*h+1]+A)));if(O!==0){do{for(m=M-1;u.bl_count[m]===0;)m--;u.bl_count[m]--,u.bl_count[m+1]+=2,u.bl_count[M]--,O-=2}while(O>0);for(m=M;m!==0;m--)for(h=u.bl_count[m];h!==0;)(p=u.heap[--d])>y||(R[2*p+1]!==m&&(u.opt_len+=(m-R[2*p+1])*R[2*p],R[2*p+1]=m),h--)}}(e,t),H9(i,l,e.bl_count)}function CL(e,t,n){var r,o,i=-1,a=t[1],s=0,c=7,l=4;for(a===0&&(c=138,l=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)o=a,a=t[2*(r+1)+1],++s<c&&o===a||(s<l?e.bl_tree[2*o]+=s:o!==0?(o!==i&&e.bl_tree[2*o]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,s=0,i=o,a===0?(c=138,l=3):o===a?(c=6,l=3):(c=7,l=4))}function IL(e,t,n){var r,o,i=-1,a=t[1],s=0,c=7,l=4;for(a===0&&(c=138,l=3),r=0;r<=n;r++)if(o=a,a=t[2*(r+1)+1],!(++s<c&&o===a)){if(s<l)do rs(e,o,e.bl_tree);while(--s!=0);else o!==0?(o!==i&&(rs(e,o,e.bl_tree),s--),rs(e,16,e.bl_tree),Jo(e,s-3,2)):s<=10?(rs(e,17,e.bl_tree),Jo(e,s-3,3)):(rs(e,18,e.bl_tree),Jo(e,s-11,7));s=0,i=o,a===0?(c=138,l=3):o===a?(c=6,l=3):(c=7,l=4)}}Hd(Hv);var FL=!1;function _L(e,t,n,r){Jo(e,0+(r?1:0),3),function(o,i,a,s){G9(o),s&&(np(o,a),np(o,~a)),Nee.arraySet(o.pending_buf,o.window,i,a,o.pending),o.pending+=a}(e,t,n,!0)}Vf._tr_init=function(e){FL||(function(){var t,n,r,o,i,a=new Array(16);for(r=0,o=0;o<28;o++)for(Kb[o]=r,t=0;t<1<<b3[o];t++)yh[r++]=o;for(yh[r-1]=o,i=0,o=0;o<16;o++)for(Hv[o]=i,t=0;t<1<<Hm[o];t++)tp[i++]=o;for(i>>=7;o<30;o++)for(Hv[o]=i<<7,t=0;t<1<<Hm[o]-7;t++)tp[256+i++]=o;for(n=0;n<=15;n++)a[n]=0;for(t=0;t<=143;)Ys[2*t+1]=8,t++,a[8]++;for(;t<=255;)Ys[2*t+1]=9,t++,a[9]++;for(;t<=279;)Ys[2*t+1]=7,t++,a[7]++;for(;t<=287;)Ys[2*t+1]=8,t++,a[8]++;for(H9(Ys,287,a),t=0;t<30;t++)Y0[2*t+1]=5,Y0[2*t]=K9(t,5);LL=new my(Ys,b3,257,286,15),OL=new my(Y0,Hm,0,30,15),TL=new my(new Array(0),Pee,0,19,7)}(),FL=!0),e.l_desc=new vy(e.dyn_ltree,LL),e.d_desc=new vy(e.dyn_dtree,OL),e.bl_desc=new vy(e.bl_tree,TL),e.bi_buf=0,e.bi_valid=0,kL(e)},Vf._tr_stored_block=_L,Vf._tr_flush_block=function(e,t,n,r){var o,i,a=0;e.level>0?(e.strm.data_type===2&&(e.strm.data_type=function(s){var c,l=4093624447;for(c=0;c<=31;c++,l>>>=1)if(1&l&&s.dyn_ltree[2*c]!==0)return 0;if(s.dyn_ltree[18]!==0||s.dyn_ltree[20]!==0||s.dyn_ltree[26]!==0)return 1;for(c=32;c<256;c++)if(s.dyn_ltree[2*c]!==0)return 1;return 0}(e)),Ay(e,e.l_desc),Ay(e,e.d_desc),a=function(s){var c;for(CL(s,s.dyn_ltree,s.l_desc.max_code),CL(s,s.dyn_dtree,s.d_desc.max_code),Ay(s,s.bl_desc),c=18;c>=3&&s.bl_tree[2*wL[c]+1]===0;c--);return s.opt_len+=3*(c+1)+5+5+4,c}(e),o=e.opt_len+3+7>>>3,(i=e.static_len+3+7>>>3)<=o&&(o=i)):o=i=n+5,n+4<=o&&t!==-1?_L(e,t,n,r):e.strategy===4||i===o?(Jo(e,2+(r?1:0),3),PL(e,Ys,Y0)):(Jo(e,4+(r?1:0),3),function(s,c,l,u){var f;for(Jo(s,c-257,5),Jo(s,l-1,5),Jo(s,u-4,4),f=0;f<u;f++)Jo(s,s.bl_tree[2*wL[f]+1],3);IL(s,s.dyn_ltree,c-1),IL(s,s.dyn_dtree,l-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,a+1),PL(e,e.dyn_ltree,e.dyn_dtree)),kL(e),r&&G9(e)},Vf._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*(yh[n]+256+1)]++,e.dyn_dtree[2*D9(t)]++),e.last_lit===e.lit_bufsize-1},Vf._tr_align=function(e){Jo(e,2,3),rs(e,256,Ys),function(t){t.bi_valid===16?(np(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 J9=function(e,t,n,r){for(var o=65535&e|0,i=e>>>16&65535|0,a=0;n!==0;){n-=a=n>2e3?2e3:n;do i=i+(o=o+t[r++]|0)|0;while(--a);o%=65521,i%=65521}return o|i<<16|0},Cee=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}(),Jf,z9=function(e,t,n,r){var o=Cee,i=r+n;e^=-1;for(var a=r;a<i;a++)e=e>>>8^o[255&(e^t[a])];return-1^e},Hb={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=ul,Gi=Vf,j9=J9,Xl=z9,Iee=Hb;function Zl(e,t){return e.msg=Iee[t],t}function XL(e){return(e<<1)-(e>4?9:0)}function Jl(e){for(var t=e.length;--t>=0;)e[t]=0}function El(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 eo(e,t){Gi._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,El(e.strm)}function kn(e,t){e.pending_buf[e.pending++]=t}function v0(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function $9(e,t){var n,r,o=e.max_chain_length,i=e.strstart,a=e.prev_length,s=e.nice_match,c=e.strstart>e.w_size-262?e.strstart-(e.w_size-262):0,l=e.window,u=e.w_mask,f=e.prev,d=e.strstart+258,h=l[i+a-1],p=l[i+a];e.prev_length>=e.good_match&&(o>>=2),s>e.lookahead&&(s=e.lookahead);do if(l[(n=t)+a]===p&&l[n+a-1]===h&&l[n]===l[i]&&l[++n]===l[i+1]){i+=2,n++;do;while(l[++i]===l[++n]&&l[++i]===l[++n]&&l[++i]===l[++n]&&l[++i]===l[++n]&&l[++i]===l[++n]&&l[++i]===l[++n]&&l[++i]===l[++n]&&l[++i]===l[++n]&&i<d);if(r=258-(d-i),i=d-258,r>a){if(e.match_start=t,a=r,r>=s)break;h=l[i+a-1],p=l[i+a]}}while((t=f[t&u])>c&&--o!=0);return a<=e.lookahead?a:e.lookahead}function qc(e){var t,n,r,o,i,a,s,c,l,u,f=e.w_size;do{if(o=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);o+=f}if(e.strm.avail_in===0)break;if(a=e.strm,s=e.window,c=e.strstart+e.lookahead,l=o,u=void 0,(u=a.avail_in)>l&&(u=l),n=u===0?0:(a.avail_in-=u,ko.arraySet(s,a.input,a.next_in,u,c),a.state.wrap===1?a.adler=j9(a.adler,s,u,c):a.state.wrap===2&&(a.adler=Xl(a.adler,s,u,c)),a.next_in+=u,a.total_in+=u,u),e.lookahead+=n,e.lookahead+e.insert>=3)for(i=e.strstart-e.insert,e.ins_h=e.window[i],e.ins_h=(e.ins_h<<e.hash_shift^e.window[i+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[i+3-1])&e.hash_mask,e.prev[i&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=i,i++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<262&&e.strm.avail_in!==0)}function Ry(e,t){for(var n,r;;){if(e.lookahead<262){if(qc(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=$9(e,n)),e.match_length>=3)if(r=Gi._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=Gi._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(eo(e,!1),e.strm.avail_out===0))return 1}return e.insert=e.strstart<2?e.strstart:2,t===4?(eo(e,!0),e.strm.avail_out===0?3:4):e.last_lit&&(eo(e,!1),e.strm.avail_out===0)?1:2}function Sf(e,t){for(var n,r,o;;){if(e.lookahead<262){if(qc(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=$9(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){o=e.strstart+e.lookahead-3,r=Gi._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<=o&&(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&&(eo(e,!1),e.strm.avail_out===0))return 1}else if(e.match_available){if((r=Gi._tr_tally(e,0,e.window[e.strstart-1]))&&eo(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=Gi._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,t===4?(eo(e,!0),e.strm.avail_out===0?3:4):e.last_lit&&(eo(e,!1),e.strm.avail_out===0)?1:2}function Ya(e,t,n,r,o){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=o}function Fee(){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),Jl(this.dyn_ltree),Jl(this.dyn_dtree),Jl(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),Jl(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new ko.Buf16(573),Jl(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 q9(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,Gi._tr_init(t),0):Zl(e,-2)}function eC(e){var t,n=q9(e);return n===0&&((t=e.state).window_size=2*t.w_size,Jl(t.head),t.max_lazy_match=Jf[t.level].max_lazy,t.good_match=Jf[t.level].good_length,t.nice_match=Jf[t.level].nice_length,t.max_chain_length=Jf[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 EL(e,t,n,r,o,i){if(!e)return-2;var a=1;if(t===-1&&(t=6),r<0?(a=0,r=-r):r>15&&(a=2,r-=16),o<1||o>9||n!==8||r<8||r>15||t<0||t>9||i<0||i>4)return Zl(e,-2);r===8&&(r=9);var s=new Fee;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=o+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<<o+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=i,s.method=n,eC(e)}Jf=[new Ya(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(qc(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,eo(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-262&&(eo(e,!1),e.strm.avail_out===0))return 1}return e.insert=0,t===4?(eo(e,!0),e.strm.avail_out===0?3:4):(e.strstart>e.block_start&&(eo(e,!1),e.strm.avail_out),1)}),new Ya(4,4,8,4,Ry),new Ya(4,5,16,8,Ry),new Ya(4,6,32,32,Ry),new Ya(4,4,16,16,Sf),new Ya(8,16,32,32,Sf),new Ya(8,16,128,128,Sf),new Ya(8,32,128,256,Sf),new Ya(32,128,258,1024,Sf),new Ya(32,258,258,4096,Sf)],Ba.deflateInit=function(e,t){return EL(e,t,8,15,8,0)},Ba.deflateInit2=EL,Ba.deflateReset=eC,Ba.deflateResetKeep=q9,Ba.deflateSetHeader=function(e,t){return e&&e.state?e.state.wrap!==2?-2:(e.state.gzhead=t,0):-2},Ba.deflate=function(e,t){var n,r,o,i;if(!e||!e.state||t>5||t<0)return e?Zl(e,-2):-2;if(r=e.state,!e.output||!e.input&&e.avail_in!==0||r.status===666&&t!==4)return Zl(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,kn(r,31),kn(r,139),kn(r,8),r.gzhead?(kn(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)),kn(r,255&r.gzhead.time),kn(r,r.gzhead.time>>8&255),kn(r,r.gzhead.time>>16&255),kn(r,r.gzhead.time>>24&255),kn(r,r.level===9?2:r.strategy>=2||r.level<2?4:0),kn(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(kn(r,255&r.gzhead.extra.length),kn(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=Xl(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(kn(r,0),kn(r,0),kn(r,0),kn(r,0),kn(r,0),kn(r,r.level===9?2:r.strategy>=2||r.level<2?4:0),kn(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,v0(r,a),r.strstart!==0&&(v0(r,e.adler>>>16),v0(r,65535&e.adler)),e.adler=1}if(r.status===69)if(r.gzhead.extra){for(o=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>o&&(e.adler=Xl(e.adler,r.pending_buf,r.pending-o,o)),El(e),o=r.pending,r.pending!==r.pending_buf_size));)kn(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>o&&(e.adler=Xl(e.adler,r.pending_buf,r.pending-o,o)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(r.status===73)if(r.gzhead.name){o=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>o&&(e.adler=Xl(e.adler,r.pending_buf,r.pending-o,o)),El(e),o=r.pending,r.pending===r.pending_buf_size)){i=1;break}i=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,kn(r,i)}while(i!==0);r.gzhead.hcrc&&r.pending>o&&(e.adler=Xl(e.adler,r.pending_buf,r.pending-o,o)),i===0&&(r.gzindex=0,r.status=91)}else r.status=91;if(r.status===91)if(r.gzhead.comment){o=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>o&&(e.adler=Xl(e.adler,r.pending_buf,r.pending-o,o)),El(e),o=r.pending,r.pending===r.pending_buf_size)){i=1;break}i=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,kn(r,i)}while(i!==0);r.gzhead.hcrc&&r.pending>o&&(e.adler=Xl(e.adler,r.pending_buf,r.pending-o,o)),i===0&&(r.status=103)}else r.status=103;if(r.status===103&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&El(e),r.pending+2<=r.pending_buf_size&&(kn(r,255&e.adler),kn(r,e.adler>>8&255),e.adler=0,r.status=113)):r.status=113),r.pending!==0){if(El(e),e.avail_out===0)return r.last_flush=-1,0}else if(e.avail_in===0&&XL(t)<=XL(n)&&t!==4)return Zl(e,-5);if(r.status===666&&e.avail_in!==0)return Zl(e,-5);if(e.avail_in!==0||r.lookahead!==0||t!==0&&r.status!==666){var s=r.strategy===2?function(c,l){for(var u;;){if(c.lookahead===0&&(qc(c),c.lookahead===0)){if(l===0)return 1;break}if(c.match_length=0,u=Gi._tr_tally(c,0,c.window[c.strstart]),c.lookahead--,c.strstart++,u&&(eo(c,!1),c.strm.avail_out===0))return 1}return c.insert=0,l===4?(eo(c,!0),c.strm.avail_out===0?3:4):c.last_lit&&(eo(c,!1),c.strm.avail_out===0)?1:2}(r,t):r.strategy===3?function(c,l){for(var u,f,d,h,p=c.window;;){if(c.lookahead<=258){if(qc(c),c.lookahead<=258&&l===0)return 1;if(c.lookahead===0)break}if(c.match_length=0,c.lookahead>=3&&c.strstart>0&&(f=p[d=c.strstart-1])===p[++d]&&f===p[++d]&&f===p[++d]){h=c.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);c.match_length=258-(h-d),c.match_length>c.lookahead&&(c.match_length=c.lookahead)}if(c.match_length>=3?(u=Gi._tr_tally(c,1,c.match_length-3),c.lookahead-=c.match_length,c.strstart+=c.match_length,c.match_length=0):(u=Gi._tr_tally(c,0,c.window[c.strstart]),c.lookahead--,c.strstart++),u&&(eo(c,!1),c.strm.avail_out===0))return 1}return c.insert=0,l===4?(eo(c,!0),c.strm.avail_out===0?3:4):c.last_lit&&(eo(c,!1),c.strm.avail_out===0)?1:2}(r,t):Jf[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?Gi._tr_align(r):t!==5&&(Gi._tr_stored_block(r,0,0,!1),t===3&&(Jl(r.head),r.lookahead===0&&(r.strstart=0,r.block_start=0,r.insert=0))),El(e),e.avail_out===0))return r.last_flush=-1,0}return t!==4?0:r.wrap<=0?1:(r.wrap===2?(kn(r,255&e.adler),kn(r,e.adler>>8&255),kn(r,e.adler>>16&255),kn(r,e.adler>>24&255),kn(r,255&e.total_in),kn(r,e.total_in>>8&255),kn(r,e.total_in>>16&255),kn(r,e.total_in>>24&255)):(v0(r,e.adler>>>16),v0(r,65535&e.adler)),El(e),r.wrap>0&&(r.wrap=-r.wrap),r.pending!==0?0:1)},Ba.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?Zl(e,-2):(e.state=null,t===113?Zl(e,-3):0):-2},Ba.deflateSetDictionary=function(e,t){var n,r,o,i,a,s,c,l,u=t.length;if(!e||!e.state||(i=(n=e.state).wrap)===2||i===1&&n.status!==42||n.lookahead)return-2;for(i===1&&(e.adler=j9(e.adler,t,u,0)),n.wrap=0,u>=n.w_size&&(i===0&&(Jl(n.head),n.strstart=0,n.block_start=0,n.insert=0),l=new ko.Buf8(n.w_size),ko.arraySet(l,t,u-n.w_size,n.w_size,0),t=l,u=n.w_size),a=e.avail_in,s=e.next_in,c=e.input,e.avail_in=u,e.next_in=0,e.input=t,qc(n);n.lookahead>=3;){r=n.strstart,o=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(--o);n.strstart=r,n.lookahead=2,qc(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=c,e.avail_in=a,n.wrap=i,0},Ba.deflateInfo="pako deflate (from Nodeca project)";var eu={},Gv=ul,tC=!0,nC=!0;try{String.fromCharCode.apply(null,[0])}catch{tC=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{nC=!1}for(var Q0=new Gv.Buf8(256),wl=0;wl<256;wl++)Q0[wl]=wl>=252?6:wl>=248?5:wl>=240?4:wl>=224?3:wl>=192?2:1;function WL(e,t){if(t<65534&&(e.subarray&&nC||!e.subarray&&tC))return String.fromCharCode.apply(null,Gv.shrinkBuf(e,t));for(var n="",r=0;r<t;r++)n+=String.fromCharCode(e[r]);return n}Q0[254]=Q0[254]=1,eu.string2buf=function(e){var t,n,r,o,i,a=e.length,s=0;for(o=0;o<a;o++)(64512&(n=e.charCodeAt(o)))==55296&&o+1<a&&(64512&(r=e.charCodeAt(o+1)))==56320&&(n=65536+(n-55296<<10)+(r-56320),o++),s+=n<128?1:n<2048?2:n<65536?3:4;for(t=new Gv.Buf8(s),i=0,o=0;i<s;o++)(64512&(n=e.charCodeAt(o)))==55296&&o+1<a&&(64512&(r=e.charCodeAt(o+1)))==56320&&(n=65536+(n-55296<<10)+(r-56320),o++),n<128?t[i++]=n:n<2048?(t[i++]=192|n>>>6,t[i++]=128|63&n):n<65536?(t[i++]=224|n>>>12,t[i++]=128|n>>>6&63,t[i++]=128|63&n):(t[i++]=240|n>>>18,t[i++]=128|n>>>12&63,t[i++]=128|n>>>6&63,t[i++]=128|63&n);return t},eu.buf2binstring=function(e){return WL(e,e.length)},eu.binstring2buf=function(e){for(var t=new Gv.Buf8(e.length),n=0,r=t.length;n<r;n++)t[n]=e.charCodeAt(n);return t},eu.buf2string=function(e,t){var n,r,o,i,a=t||e.length,s=new Array(2*a);for(r=0,n=0;n<a;)if((o=e[n++])<128)s[r++]=o;else if((i=Q0[o])>4)s[r++]=65533,n+=i-1;else{for(o&=i===2?31:i===3?15:7;i>1&&n<a;)o=o<<6|63&e[n++],i--;i>1?s[r++]=65533:o<65536?s[r++]=o:(o-=65536,s[r++]=55296|o>>10&1023,s[r++]=56320|1023&o)}return WL(s,r)},eu.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+Q0[e[n]]>t?n:t};var rC=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},xh=Ba,Z0=ul,S3=eu,M3=Hb,_ee=rC,oC=Object.prototype.toString;function ou(e){if(!(this instanceof ou))return new ou(e);this.options=Z0.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 _ee,this.strm.avail_out=0;var n=xh.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==0)throw new Error(M3[n]);if(t.header&&xh.deflateSetHeader(this.strm,t.header),t.dictionary){var r;if(r=typeof t.dictionary=="string"?S3.string2buf(t.dictionary):oC.call(t.dictionary)==="[object ArrayBuffer]"?new Uint8Array(t.dictionary):t.dictionary,(n=xh.deflateSetDictionary(this.strm,r))!==0)throw new Error(M3[n]);this._dict_set=!0}}function yy(e,t){var n=new ou(t);if(n.push(e,!0),n.err)throw n.msg||M3[n.err];return n.result}ou.prototype.push=function(e,t){var n,r,o=this.strm,i=this.options.chunkSize;if(this.ended)return!1;r=t===~~t?t:t===!0?4:0,typeof e=="string"?o.input=S3.string2buf(e):oC.call(e)==="[object ArrayBuffer]"?o.input=new Uint8Array(e):o.input=e,o.next_in=0,o.avail_in=o.input.length;do{if(o.avail_out===0&&(o.output=new Z0.Buf8(i),o.next_out=0,o.avail_out=i),(n=xh.deflate(o,r))!==1&&n!==0)return this.onEnd(n),this.ended=!0,!1;o.avail_out!==0&&(o.avail_in!==0||r!==4&&r!==2)||(this.options.to==="string"?this.onData(S3.buf2binstring(Z0.shrinkBuf(o.output,o.next_out))):this.onData(Z0.shrinkBuf(o.output,o.next_out)))}while((o.avail_in>0||o.avail_out===0)&&n!==1);return r===4?(n=xh.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===0):r!==2||(this.onEnd(0),o.avail_out=0,!0)},ou.prototype.onData=function(e){this.chunks.push(e)},ou.prototype.onEnd=function(e){e===0&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Z0.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},U0.Deflate=ou,U0.deflate=yy,U0.deflateRaw=function(e,t){return(t=t||{}).raw=!0,yy(e,t)},U0.gzip=function(e,t){return(t=t||{}).gzip=!0,yy(e,t)};var B0={},va={},VL=ul,Xee=[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],Eee=[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],Wee=[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],Vee=[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],Ti=ul,xy=J9,Qa=z9,Uee=function(e,t){var n,r,o,i,a,s,c,l,u,f,d,h,p,m,A,x,R,y,g,S,L,T,M,O,k;n=e.state,r=e.next_in,O=e.input,o=r+(e.avail_in-5),i=e.next_out,k=e.output,a=i-(t-e.avail_out),s=i+(e.avail_out-257),c=n.dmax,l=n.wsize,u=n.whave,f=n.wnext,d=n.window,h=n.hold,p=n.bits,m=n.lencode,A=n.distcode,x=(1<<n.lenbits)-1,R=(1<<n.distbits)-1;e:do{p<15&&(h+=O[r++]<<p,p+=8,h+=O[r++]<<p,p+=8),y=m[h&x];t:for(;;){if(h>>>=g=y>>>24,p-=g,(g=y>>>16&255)===0)k[i++]=65535&y;else{if(!(16&g)){if(!(64&g)){y=m[(65535&y)+(h&(1<<g)-1)];continue t}if(32&g){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}S=65535&y,(g&=15)&&(p<g&&(h+=O[r++]<<p,p+=8),S+=h&(1<<g)-1,h>>>=g,p-=g),p<15&&(h+=O[r++]<<p,p+=8,h+=O[r++]<<p,p+=8),y=A[h&R];n:for(;;){if(h>>>=g=y>>>24,p-=g,!(16&(g=y>>>16&255))){if(!(64&g)){y=A[(65535&y)+(h&(1<<g)-1)];continue n}e.msg="invalid distance code",n.mode=30;break e}if(L=65535&y,p<(g&=15)&&(h+=O[r++]<<p,(p+=8)<g&&(h+=O[r++]<<p,p+=8)),(L+=h&(1<<g)-1)>c){e.msg="invalid distance too far back",n.mode=30;break e}if(h>>>=g,p-=g,L>(g=i-a)){if((g=L-g)>u&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(T=0,M=d,f===0){if(T+=l-g,g<S){S-=g;do k[i++]=d[T++];while(--g);T=i-L,M=k}}else if(f<g){if(T+=l+f-g,(g-=f)<S){S-=g;do k[i++]=d[T++];while(--g);if(T=0,f<S){S-=g=f;do k[i++]=d[T++];while(--g);T=i-L,M=k}}}else if(T+=f-g,g<S){S-=g;do k[i++]=d[T++];while(--g);T=i-L,M=k}for(;S>2;)k[i++]=M[T++],k[i++]=M[T++],k[i++]=M[T++],S-=3;S&&(k[i++]=M[T++],S>1&&(k[i++]=M[T++]))}else{T=i-L;do k[i++]=k[T++],k[i++]=k[T++],k[i++]=k[T++],S-=3;while(S>2);S&&(k[i++]=k[T++],S>1&&(k[i++]=k[T++]))}break}}break}}while(r<o&&i<s);r-=S=p>>3,h&=(1<<(p-=S<<3))-1,e.next_in=r,e.next_out=i,e.avail_in=r<o?o-r+5:5-(r-o),e.avail_out=i<s?s-i+257:257-(i-s),n.hold=h,n.bits=p},bh=function(e,t,n,r,o,i,a,s){var c,l,u,f,d,h,p,m,A,x=s.bits,R=0,y=0,g=0,S=0,L=0,T=0,M=0,O=0,k=0,_=0,N=null,X=0,C=new VL.Buf16(16),F=new VL.Buf16(16),I=null,V=0;for(R=0;R<=15;R++)C[R]=0;for(y=0;y<r;y++)C[t[n+y]]++;for(L=x,S=15;S>=1&&C[S]===0;S--);if(L>S&&(L=S),S===0)return o[i++]=20971520,o[i++]=20971520,s.bits=1,0;for(g=1;g<S&&C[g]===0;g++);for(L<g&&(L=g),O=1,R=1;R<=15;R++)if(O<<=1,(O-=C[R])<0)return-1;if(O>0&&(e===0||S!==1))return-1;for(F[1]=0,R=1;R<15;R++)F[R+1]=F[R]+C[R];for(y=0;y<r;y++)t[n+y]!==0&&(a[F[t[n+y]]++]=y);if(e===0?(N=I=a,h=19):e===1?(N=Xee,X-=257,I=Eee,V-=257,h=256):(N=Wee,I=Vee,h=-1),_=0,y=0,R=g,d=i,T=L,M=0,u=-1,f=(k=1<<L)-1,e===1&&k>852||e===2&&k>592)return 1;for(;;){p=R-M,a[y]<h?(m=0,A=a[y]):a[y]>h?(m=I[V+a[y]],A=N[X+a[y]]):(m=96,A=0),c=1<<R-M,g=l=1<<T;do o[d+(_>>M)+(l-=c)]=p<<24|m<<16|A|0;while(l!==0);for(c=1<<R-1;_&c;)c>>=1;if(c!==0?(_&=c-1,_+=c):_=0,y++,--C[R]==0){if(R===S)break;R=t[n+a[y]]}if(R>L&&(_&f)!==u){for(M===0&&(M=L),d+=g,O=1<<(T=R-M);T+M<S&&!((O-=C[T+M])<=0);)T++,O<<=1;if(k+=1<<T,e===1&&k>852||e===2&&k>592)return 1;o[u=_&f]=L<<24|T<<16|d-i|0}}return _!==0&&(o[d+_]=R-M<<24|64<<16|0),s.bits=L,0};function UL(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function Yee(){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 Ti.Buf16(320),this.work=new Ti.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function iC(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 Ti.Buf32(852),t.distcode=t.distdyn=new Ti.Buf32(592),t.sane=1,t.back=-1,0):-2}function aC(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,iC(e)):-2}function sC(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,aC(e))):-2}function YL(e,t){var n,r;return e?(r=new Yee,e.state=r,r.window=null,(n=sC(e,t))!==0&&(e.state=null),n):-2}var by,Sy,QL=!0;function Qee(e){if(QL){var t;for(by=new Ti.Buf32(512),Sy=new Ti.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(bh(1,e.lens,0,288,by,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;bh(2,e.lens,0,32,Sy,0,e.work,{bits:5}),QL=!1}e.lencode=by,e.lenbits=9,e.distcode=Sy,e.distbits=5}function ZL(e,t,n,r){var o,i=e.state;return i.window===null&&(i.wsize=1<<i.wbits,i.wnext=0,i.whave=0,i.window=new Ti.Buf8(i.wsize)),r>=i.wsize?(Ti.arraySet(i.window,t,n-i.wsize,i.wsize,0),i.wnext=0,i.whave=i.wsize):((o=i.wsize-i.wnext)>r&&(o=r),Ti.arraySet(i.window,t,n-r,o,i.wnext),(r-=o)?(Ti.arraySet(i.window,t,n-r,r,0),i.wnext=r,i.whave=i.wsize):(i.wnext+=o,i.wnext===i.wsize&&(i.wnext=0),i.whave<i.wsize&&(i.whave+=o))),0}va.inflateReset=aC,va.inflateReset2=sC,va.inflateResetKeep=iC,va.inflateInit=function(e){return YL(e,15)},va.inflateInit2=YL,va.inflate=function(e,t){var n,r,o,i,a,s,c,l,u,f,d,h,p,m,A,x,R,y,g,S,L,T,M,O,k=0,_=new Ti.Buf8(4),N=[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,o=e.output,c=e.avail_out,i=e.next_in,r=e.input,s=e.avail_in,l=n.hold,u=n.bits,f=s,d=c,T=0;e:for(;;)switch(n.mode){case 1:if(n.wrap===0){n.mode=13;break}for(;u<16;){if(s===0)break e;s--,l+=r[i++]<<u,u+=8}if(2&n.wrap&&l===35615){n.check=0,_[0]=255&l,_[1]=l>>>8&255,n.check=Qa(n.check,_,2,0),l=0,u=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&l)<<8)+(l>>8))%31){e.msg="incorrect header check",n.mode=30;break}if((15&l)!=8){e.msg="unknown compression method",n.mode=30;break}if(u-=4,L=8+(15&(l>>>=4)),n.wbits===0)n.wbits=L;else if(L>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<<L,e.adler=n.check=1,n.mode=512&l?10:12,l=0,u=0;break;case 2:for(;u<16;){if(s===0)break e;s--,l+=r[i++]<<u,u+=8}if(n.flags=l,(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=l>>8&1),512&n.flags&&(_[0]=255&l,_[1]=l>>>8&255,n.check=Qa(n.check,_,2,0)),l=0,u=0,n.mode=3;case 3:for(;u<32;){if(s===0)break e;s--,l+=r[i++]<<u,u+=8}n.head&&(n.head.time=l),512&n.flags&&(_[0]=255&l,_[1]=l>>>8&255,_[2]=l>>>16&255,_[3]=l>>>24&255,n.check=Qa(n.check,_,4,0)),l=0,u=0,n.mode=4;case 4:for(;u<16;){if(s===0)break e;s--,l+=r[i++]<<u,u+=8}n.head&&(n.head.xflags=255&l,n.head.os=l>>8),512&n.flags&&(_[0]=255&l,_[1]=l>>>8&255,n.check=Qa(n.check,_,2,0)),l=0,u=0,n.mode=5;case 5:if(1024&n.flags){for(;u<16;){if(s===0)break e;s--,l+=r[i++]<<u,u+=8}n.length=l,n.head&&(n.head.extra_len=l),512&n.flags&&(_[0]=255&l,_[1]=l>>>8&255,n.check=Qa(n.check,_,2,0)),l=0,u=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&&(L=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),Ti.arraySet(n.head.extra,r,i,h,L)),512&n.flags&&(n.check=Qa(n.check,r,h,i)),s-=h,i+=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 L=r[i+h++],n.head&&L&&n.length<65536&&(n.head.name+=String.fromCharCode(L));while(L&&h<s);if(512&n.flags&&(n.check=Qa(n.check,r,h,i)),s-=h,i+=h,L)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 L=r[i+h++],n.head&&L&&n.length<65536&&(n.head.comment+=String.fromCharCode(L));while(L&&h<s);if(512&n.flags&&(n.check=Qa(n.check,r,h,i)),s-=h,i+=h,L)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;u<16;){if(s===0)break e;s--,l+=r[i++]<<u,u+=8}if(l!==(65535&n.check)){e.msg="header crc mismatch",n.mode=30;break}l=0,u=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;u<32;){if(s===0)break e;s--,l+=r[i++]<<u,u+=8}e.adler=n.check=UL(l),l=0,u=0,n.mode=11;case 11:if(n.havedict===0)return e.next_out=a,e.avail_out=c,e.next_in=i,e.avail_in=s,n.hold=l,n.bits=u,2;e.adler=n.check=1,n.mode=12;case 12:if(t===5||t===6)break e;case 13:if(n.last){l>>>=7&u,u-=7&u,n.mode=27;break}for(;u<3;){if(s===0)break e;s--,l+=r[i++]<<u,u+=8}switch(n.last=1&l,u-=1,3&(l>>>=1)){case 0:n.mode=14;break;case 1:if(Qee(n),n.mode=20,t===6){l>>>=2,u-=2;break e}break;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}l>>>=2,u-=2;break;case 14:for(l>>>=7&u,u-=7&u;u<32;){if(s===0)break e;s--,l+=r[i++]<<u,u+=8}if((65535&l)!=(l>>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&l,l=0,u=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>c&&(h=c),h===0)break e;Ti.arraySet(o,r,i,h,a),s-=h,i+=h,c-=h,a+=h,n.length-=h;break}n.mode=12;break;case 17:for(;u<14;){if(s===0)break e;s--,l+=r[i++]<<u,u+=8}if(n.nlen=257+(31&l),l>>>=5,u-=5,n.ndist=1+(31&l),l>>>=5,u-=5,n.ncode=4+(15&l),l>>>=4,u-=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(;u<3;){if(s===0)break e;s--,l+=r[i++]<<u,u+=8}n.lens[N[n.have++]]=7&l,l>>>=3,u-=3}for(;n.have<19;)n.lens[N[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,M={bits:n.lenbits},T=bh(0,n.lens,0,19,n.lencode,0,n.work,M),n.lenbits=M.bits,T){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(;x=(k=n.lencode[l&(1<<n.lenbits)-1])>>>16&255,R=65535&k,!((A=k>>>24)<=u);){if(s===0)break e;s--,l+=r[i++]<<u,u+=8}if(R<16)l>>>=A,u-=A,n.lens[n.have++]=R;else{if(R===16){for(O=A+2;u<O;){if(s===0)break e;s--,l+=r[i++]<<u,u+=8}if(l>>>=A,u-=A,n.have===0){e.msg="invalid bit length repeat",n.mode=30;break}L=n.lens[n.have-1],h=3+(3&l),l>>>=2,u-=2}else if(R===17){for(O=A+3;u<O;){if(s===0)break e;s--,l+=r[i++]<<u,u+=8}u-=A,L=0,h=3+(7&(l>>>=A)),l>>>=3,u-=3}else{for(O=A+7;u<O;){if(s===0)break e;s--,l+=r[i++]<<u,u+=8}u-=A,L=0,h=11+(127&(l>>>=A)),l>>>=7,u-=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++]=L}}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},T=bh(1,n.lens,0,n.nlen,n.lencode,0,n.work,M),n.lenbits=M.bits,T){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,M={bits:n.distbits},T=bh(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,M),n.distbits=M.bits,T){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&&c>=258){e.next_out=a,e.avail_out=c,e.next_in=i,e.avail_in=s,n.hold=l,n.bits=u,Uee(e,d),a=e.next_out,o=e.output,c=e.avail_out,i=e.next_in,r=e.input,s=e.avail_in,l=n.hold,u=n.bits,n.mode===12&&(n.back=-1);break}for(n.back=0;x=(k=n.lencode[l&(1<<n.lenbits)-1])>>>16&255,R=65535&k,!((A=k>>>24)<=u);){if(s===0)break e;s--,l+=r[i++]<<u,u+=8}if(x&&!(240&x)){for(y=A,g=x,S=R;x=(k=n.lencode[S+((l&(1<<y+g)-1)>>y)])>>>16&255,R=65535&k,!(y+(A=k>>>24)<=u);){if(s===0)break e;s--,l+=r[i++]<<u,u+=8}l>>>=y,u-=y,n.back+=y}if(l>>>=A,u-=A,n.back+=A,n.length=R,x===0){n.mode=26;break}if(32&x){n.back=-1,n.mode=12;break}if(64&x){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&x,n.mode=22;case 22:if(n.extra){for(O=n.extra;u<O;){if(s===0)break e;s--,l+=r[i++]<<u,u+=8}n.length+=l&(1<<n.extra)-1,l>>>=n.extra,u-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;x=(k=n.distcode[l&(1<<n.distbits)-1])>>>16&255,R=65535&k,!((A=k>>>24)<=u);){if(s===0)break e;s--,l+=r[i++]<<u,u+=8}if(!(240&x)){for(y=A,g=x,S=R;x=(k=n.distcode[S+((l&(1<<y+g)-1)>>y)])>>>16&255,R=65535&k,!(y+(A=k>>>24)<=u);){if(s===0)break e;s--,l+=r[i++]<<u,u+=8}l>>>=y,u-=y,n.back+=y}if(l>>>=A,u-=A,n.back+=A,64&x){e.msg="invalid distance code",n.mode=30;break}n.offset=R,n.extra=15&x,n.mode=24;case 24:if(n.extra){for(O=n.extra;u<O;){if(s===0)break e;s--,l+=r[i++]<<u,u+=8}n.offset+=l&(1<<n.extra)-1,l>>>=n.extra,u-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(c===0)break e;if(h=d-c,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),m=n.window}else m=o,p=a-n.offset,h=n.length;h>c&&(h=c),c-=h,n.length-=h;do o[a++]=m[p++];while(--h);n.length===0&&(n.mode=21);break;case 26:if(c===0)break e;o[a++]=n.length,c--,n.mode=21;break;case 27:if(n.wrap){for(;u<32;){if(s===0)break e;s--,l|=r[i++]<<u,u+=8}if(d-=c,e.total_out+=d,n.total+=d,d&&(e.adler=n.check=n.flags?Qa(n.check,o,d,a-d):xy(n.check,o,d,a-d)),d=c,(n.flags?l:UL(l))!==n.check){e.msg="incorrect data check",n.mode=30;break}l=0,u=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;u<32;){if(s===0)break e;s--,l+=r[i++]<<u,u+=8}if(l!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=30;break}l=0,u=0}n.mode=29;case 29:T=1;break e;case 30:T=-3;break e;case 31:return-4;default:return-2}return e.next_out=a,e.avail_out=c,e.next_in=i,e.avail_in=s,n.hold=l,n.bits=u,(n.wsize||d!==e.avail_out&&n.mode<30&&(n.mode<27||t!==4))&&ZL(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?Qa(n.check,o,d,e.next_out-d):xy(n.check,o,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)&&T===0&&(T=-5),T},va.inflateEnd=function(e){if(!e||!e.state)return-2;var t=e.state;return t.window&&(t.window=null),e.state=null,0},va.inflateGetHeader=function(e,t){var n;return e&&e.state&&2&(n=e.state).wrap?(n.head=t,t.done=!1,0):-2},va.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&&xy(1,t,r,0)!==n.check?-3:ZL(e,t,r,r)?(n.mode=31,-4):(n.havedict=1,0):-2},va.inflateInfo="pako inflate (from Nodeca project)";var lC={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},md=va,D0=ul,Gm=eu,Mr=lC,w3=Hb,Zee=rC,Bee=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},cC=Object.prototype.toString;function iu(e){if(!(this instanceof iu))return new iu(e);this.options=D0.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 Zee,this.strm.avail_out=0;var n=md.inflateInit2(this.strm,t.windowBits);if(n!==Mr.Z_OK)throw new Error(w3[n]);if(this.header=new Bee,md.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=Gm.string2buf(t.dictionary):cC.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=md.inflateSetDictionary(this.strm,t.dictionary))!==Mr.Z_OK))throw new Error(w3[n])}function My(e,t){var n=new iu(t);if(n.push(e,!0),n.err)throw n.msg||w3[n.err];return n.result}iu.prototype.push=function(e,t){var n,r,o,i,a,s=this.strm,c=this.options.chunkSize,l=this.options.dictionary,u=!1;if(this.ended)return!1;r=t===~~t?t:t===!0?Mr.Z_FINISH:Mr.Z_NO_FLUSH,typeof e=="string"?s.input=Gm.binstring2buf(e):cC.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 D0.Buf8(c),s.next_out=0,s.avail_out=c),(n=md.inflate(s,Mr.Z_NO_FLUSH))===Mr.Z_NEED_DICT&&l&&(n=md.inflateSetDictionary(this.strm,l)),n===Mr.Z_BUF_ERROR&&u===!0&&(n=Mr.Z_OK,u=!1),n!==Mr.Z_STREAM_END&&n!==Mr.Z_OK)return this.onEnd(n),this.ended=!0,!1;s.next_out&&(s.avail_out!==0&&n!==Mr.Z_STREAM_END&&(s.avail_in!==0||r!==Mr.Z_FINISH&&r!==Mr.Z_SYNC_FLUSH)||(this.options.to==="string"?(o=Gm.utf8border(s.output,s.next_out),i=s.next_out-o,a=Gm.buf2string(s.output,o),s.next_out=i,s.avail_out=c-i,i&&D0.arraySet(s.output,s.output,o,i,0),this.onData(a)):this.onData(D0.shrinkBuf(s.output,s.next_out)))),s.avail_in===0&&s.avail_out===0&&(u=!0)}while((s.avail_in>0||s.avail_out===0)&&n!==Mr.Z_STREAM_END);return n===Mr.Z_STREAM_END&&(r=Mr.Z_FINISH),r===Mr.Z_FINISH?(n=md.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===Mr.Z_OK):r!==Mr.Z_SYNC_FLUSH||(this.onEnd(Mr.Z_OK),s.avail_out=0,!0)},iu.prototype.onData=function(e){this.chunks.push(e)},iu.prototype.onEnd=function(e){e===Mr.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=D0.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},B0.Inflate=iu,B0.inflate=My,B0.inflateRaw=function(e,t){return(t=t||{}).raw=!0,My(e,t)},B0.ungzip=My;var uC={};(0,ul.assign)(uC,U0,B0,lC);var Dee=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",Kee=uC,BL=yr(),Jm=ia,Hee=Dee?"uint8array":"array";function Bc(e,t){Jm.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}Km.magic="\b\0",BL.inherits(Bc,Jm),Bc.prototype.processChunk=function(e){this.meta=e.meta,this._pako===null&&this._createPako(),this._pako.push(BL.transformTo(Hee,e.data),!1)},Bc.prototype.flush=function(){Jm.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},Bc.prototype.cleanUp=function(){Jm.prototype.cleanUp.call(this),this._pako=null},Bc.prototype._createPako=function(){this._pako=new Kee[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},Km.compressWorker=function(e){return new Bc("Deflate",e)},Km.uncompressWorker=function(){return new Bc("Inflate",{})};var DL=ia;Kv.STORE={magic:"\0\0",compressWorker:function(){return new DL("STORE compression")},uncompressWorker:function(){return new DL("STORE decompression")}},Kv.DEFLATE=Km;var fC={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"},zf=yr(),Uf=ia,wy=Kd,KL=Zb,Jv=fC,Gn=function(e,t){var n,r="";for(n=0;n<t;n++)r+=String.fromCharCode(255&e),e>>>=8;return r},HL=function(e,t,n,r,o,i){var a,s,c=e.file,l=e.compression,u=i!==wy.utf8encode,f=zf.transformTo("string",i(c.name)),d=zf.transformTo("string",wy.utf8encode(c.name)),h=c.comment,p=zf.transformTo("string",i(h)),m=zf.transformTo("string",wy.utf8encode(h)),A=d.length!==c.name.length,x=m.length!==h.length,R="",y="",g="",S=c.dir,L=c.date,T={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(T.crc32=e.crc32,T.compressedSize=e.compressedSize,T.uncompressedSize=e.uncompressedSize);var M=0;t&&(M|=8),u||!A&&!x||(M|=2048);var O,k,_,N=0,X=0;S&&(N|=16),o==="UNIX"?(X=798,N|=(O=c.unixPermissions,k=S,_=O,O||(_=k?16893:33204),(65535&_)<<16)):(X=20,N|=63&(c.dosPermissions||0)),a=L.getUTCHours(),a<<=6,a|=L.getUTCMinutes(),a<<=5,a|=L.getUTCSeconds()/2,s=L.getUTCFullYear()-1980,s<<=4,s|=L.getUTCMonth()+1,s<<=5,s|=L.getUTCDate(),A&&(y=Gn(1,1)+Gn(KL(f),4)+d,R+="up"+Gn(y.length,2)+y),x&&(g=Gn(1,1)+Gn(KL(p),4)+m,R+="uc"+Gn(g.length,2)+g);var C="";return C+=`
\0`,C+=Gn(M,2),C+=l.magic,C+=Gn(a,2),C+=Gn(s,2),C+=Gn(T.crc32,4),C+=Gn(T.compressedSize,4),C+=Gn(T.uncompressedSize,4),C+=Gn(f.length,2),C+=Gn(R.length,2),{fileRecord:Jv.LOCAL_FILE_HEADER+C+f+R,dirRecord:Jv.CENTRAL_FILE_HEADER+Gn(X,2)+C+Gn(p.length,2)+"\0\0\0\0"+Gn(N,4)+Gn(r,4)+f+R+p}},Gee=function(e){return Jv.DATA_DESCRIPTOR+Gn(e.crc32,4)+Gn(e.compressedSize,4)+Gn(e.uncompressedSize,4)};function ga(e,t,n,r){Uf.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=[]}zf.inherits(ga,Uf),ga.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,Uf.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}}))},ga.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=HL(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},ga.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=HL(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:Gee(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},ga.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(o,i,a,s,c){var l=zf.transformTo("string",c(s));return Jv.CENTRAL_DIRECTORY_END+"\0\0\0\0"+Gn(o,2)+Gn(o,2)+Gn(i,4)+Gn(a,4)+Gn(l.length,2)+l}(this.dirRecords.length,n,e,this.zipComment,this.encodeFileName);this.push({data:r,meta:{percent:100}})},ga.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},ga.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},ga.prototype.resume=function(){return!!Uf.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},ga.prototype.error=function(e){var t=this._sources;if(!Uf.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch{}return!0},ga.prototype.lock=function(){Uf.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()};var Jee=Kv,zee=ga;B9.generateWorker=function(e,t,n){var r=new zee(t.streamFiles,n,t.platform,t.encodeFileName),o=0;try{e.forEach(function(i,a){o++;var s=function(f,d){var h=f||d,p=Jee[h];if(!p)throw new Error(h+" is not a valid compression method !");return p}(a.options.compression,t.compression),c=a.options.compressionOptions||t.compressionOptions||{},l=a.dir,u=a.date;a._compressWorker(s,c).withStreamInfo("file",{name:i,dir:l,date:u,comment:a.comment||"",unixPermissions:a.unixPermissions,dosPermissions:a.dosPermissions}).pipe(r)}),r.entriesCount=o}catch(i){r.error(i)}return r};var jee=yr(),zm=ia;function K0(e,t){zm.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}jee.inherits(K0,zm),K0.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()})},K0.prototype.pause=function(){return!!zm.prototype.pause.call(this)&&(this._stream.pause(),!0)},K0.prototype.resume=function(){return!!zm.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)};var $ee=K0,qee=Kd,Sh=yr(),dC=ia,ete=V9,hC=U9,GL=Bb,tte=kee,nte=B9,JL=e2,rte=$ee,pC=function(e,t,n){var r,o=Sh.getTypeOf(t),i=Sh.extend(n||{},hC);i.date=i.date||new Date,i.compression!==null&&(i.compression=i.compression.toUpperCase()),typeof i.unixPermissions=="string"&&(i.unixPermissions=parseInt(i.unixPermissions,8)),i.unixPermissions&&16384&i.unixPermissions&&(i.dir=!0),i.dosPermissions&&16&i.dosPermissions&&(i.dir=!0),i.dir&&(e=mC(e)),i.createFolders&&(r=ote(e))&&vC.call(this,r,!0);var a=o==="string"&&i.binary===!1&&i.base64===!1;n&&n.binary!==void 0||(i.binary=!a),(t instanceof GL&&t.uncompressedSize===0||i.dir||!t||t.length===0)&&(i.base64=!1,i.binary=!0,t="",i.compression="STORE",o="string");var s=null;s=t instanceof GL||t instanceof dC?t:JL.isNode&&JL.isStream(t)?new rte(e,t):Sh.prepareContent(e,t,i.binary,i.optimizedBinaryString,i.base64);var c=new tte(e,s,i);this.files[e]=c},ote=function(e){e.slice(-1)==="/"&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},mC=function(e){return e.slice(-1)!=="/"&&(e+="/"),e},vC=function(e,t){return t=t!==void 0?t:hC.createFolders,e=mC(e),this.files[e]||pC.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function zL(e){return Object.prototype.toString.call(e)==="[object RegExp]"}var ite={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(zL(e)){var r=e;return this.filter(function(i,a){return!a.dir&&r.test(i)})}var o=this.files[this.root+e];return o&&!o.dir?o:null}return e=this.root+e,pC.call(this,e,t,n),this},folder:function(e){if(!e)return this;if(zL(e))return this.filter(function(o,i){return i.dir&&e.test(o)});var t=this.root+e,n=vC.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(o,i){return i.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=Sh.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:qee.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.");Sh.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=nte.generateWorker(this,n,r)}catch(o){(t=new dC("error")).error(o)}return new ete(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)}},ate=ite,ste=yr();function gC(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}gC.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 ste.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 AC=gC,RC=AC;function Yf(e){RC.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}yr().inherits(Yf,RC),Yf.prototype.byteAt=function(e){return this.data[this.zero+e]},Yf.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),o=e.charCodeAt(3),i=this.length-4;i>=0;--i)if(this.data[i]===t&&this.data[i+1]===n&&this.data[i+2]===r&&this.data[i+3]===o)return i-this.zero;return-1},Yf.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),o=e.charCodeAt(3),i=this.readData(4);return t===i[0]&&n===i[1]&&r===i[2]&&o===i[3]},Yf.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 yC=Yf,xC=AC;function Qf(e){xC.call(this,e)}yr().inherits(Qf,xC),Qf.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},Qf.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},Qf.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},Qf.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 lte=Qf,bC=yC;function L3(e){bC.call(this,e)}yr().inherits(L3,bC),L3.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 SC=L3,MC=SC;function O3(e){MC.call(this,e)}yr().inherits(O3,MC),O3.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 cte=O3,dm=yr(),jL=Tr,ute=yC,fte=lte,dte=cte,hte=SC,wC=function(e){var t=dm.getTypeOf(e);return dm.checkSupport(t),t!=="string"||jL.uint8array?t==="nodebuffer"?new dte(e):jL.uint8array?new hte(dm.transformTo("uint8array",e)):new ute(dm.transformTo("array",e)):new fte(e)},Ly=wC,Ll=yr(),pte=Bb,$L=Zb,hm=Kd,pm=Kv,mte=Tr;function LC(e,t){this.options=e,this.loadOptions=t}LC.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 o in pm)if(Object.prototype.hasOwnProperty.call(pm,o)&&pm[o].magic===r)return pm[o];return null}(this.compressionMethod),t===null)throw new Error("Corrupted zip : compression "+Ll.pretty(this.compressionMethod)+" unknown (inner file : "+Ll.transformTo("string",this.fileName)+")");this.decompressed=new pte(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=Ly(this.extraFields[1].value);this.uncompressedSize===Ll.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===Ll.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===Ll.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===Ll.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,n,r,o=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<o;)t=e.readInt(2),n=e.readInt(2),r=e.readData(n),this.extraFields[t]={id:t,length:n,value:r};e.setIndex(o)},handleUTF8:function(){var e=mte.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=hm.utf8decode(this.fileName),this.fileCommentStr=hm.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(t!==null)this.fileNameStr=t;else{var n=Ll.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var r=this.findExtraFieldUnicodeComment();if(r!==null)this.fileCommentStr=r;else{var o=Ll.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(o)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=Ly(e.value);return t.readInt(1)!==1||$L(this.fileName)!==t.readInt(4)?null:hm.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=Ly(e.value);return t.readInt(1)!==1||$L(this.fileComment)!==t.readInt(4)?null:hm.utf8decode(t.readData(e.length-5))}return null}};var vte=LC,gte=wC,Xs=yr(),fa=fC,Ate=vte,Rte=Tr;function OC(e){this.files=[],this.loadOptions=e}OC.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 ("+Xs.pretty(t)+", expected "+Xs.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=Rte.uint8array?"uint8array":"array",n=Xs.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(fa.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(fa.CENTRAL_FILE_HEADER);)(e=new Ate({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(fa.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,fa.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(fa.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===Xs.MAX_VALUE_16BITS||this.diskWithCentralDirStart===Xs.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===Xs.MAX_VALUE_16BITS||this.centralDirRecords===Xs.MAX_VALUE_16BITS||this.centralDirSize===Xs.MAX_VALUE_32BITS||this.centralDirOffset===Xs.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(fa.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(fa.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,fa.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(fa.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(fa.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,fa.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=gte(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};var yte=OC,Oy=yr(),jm=Xp,xte=Kd,bte=yte,Ste=Z9,qL=e2;function Mte(e){return new jm.Promise(function(t,n){var r=e.decompressed.getContentWorker().pipe(new Ste);r.on("error",function(o){n(o)}).on("end",function(){r.streamInfo.crc32!==e.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):t()}).resume()})}function Di(){if(!(this instanceof Di))return new Di;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 Di;for(var t in this)typeof this[t]!="function"&&(e[t]=this[t]);return e}}Di.prototype=ate,Di.prototype.loadAsync=function(e,t){var n=this;return t=Oy.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:xte.utf8decode}),qL.isNode&&qL.isStream(e)?jm.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):Oy.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then(function(r){var o=new bte(t);return o.load(r),o}).then(function(r){var o=[jm.Promise.resolve(r)],i=r.files;if(t.checkCRC32)for(var a=0;a<i.length;a++)o.push(Mte(i[a]));return jm.Promise.all(o)}).then(function(r){for(var o=r.shift(),i=o.files,a=0;a<i.length;a++){var s=i[a],c=s.fileNameStr,l=Oy.resolve(s.fileNameStr);n.file(l,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(l).unsafeOriginalName=c)}return o.zipComment.length&&(n.comment=o.zipComment),n})},Di.support=Tr,Di.defaults=U9,Di.version="3.10.1",Di.loadAsync=function(e,t){return new Di().loadAsync(e,t)},Di.external=Xp;var wte=Di;function T3(e){return T3=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},T3(e)}function Lte(e,t){var n=(t=t||{}).pos||0,r=!!t.keepComments,o=!!t.keepWhitespace,i=60,a=62,s=45,c=47,l=33,u=39,f=34,d=91,h=93;function p(L){for(var T=[];e[n];)if(e.charCodeAt(n)==i){if(e.charCodeAt(n+1)===c){var M=n+2;if(n=e.indexOf(">",n),e.substring(M,n).indexOf(L)==-1){var O=e.substring(0,n).split(`
`);throw new Error(`Unexpected close tag
Line: `+(O.length-1)+`
Column: `+(O[O.length-1].length+1)+`
Char: `+e[n])}return n+1&&(n+=1),T}if(e.charCodeAt(n+1)===l){if(e.charCodeAt(n+2)==s){const F=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&&T.push(e.substring(F,n+1))}else{if(e.charCodeAt(n+2)===d&&e.charCodeAt(n+8)===d&&e.substr(n+3,5).toLowerCase()==="cdata"){var k=e.indexOf("]]>",n);k==-1?(T.push(e.substr(n+9)),n=e.length):(T.push(e.substring(n+9,k)),n=k+3);continue}{const F=n+1;n+=2;for(var _=!1;(e.charCodeAt(n)!==a||_===!0)&&e[n];)e.charCodeAt(n)===d?_=!0:_===!0&&e.charCodeAt(n)===h&&(_=!1),n++;T.push(e.substring(F,n))}}n++;continue}var N=R();T.push(N),N.tagName[0]==="?"&&(T.push(...N.children),N.children=[])}else{var X=m();if(o)X.length>0&&T.push(X);else{var C=X.trim();C.length>0&&T.push(C)}n++}return T}function m(){var L=n;return(n=e.indexOf("<",n)-1)===-2&&(n=e.length),e.slice(L,n+1)}function A(){for(var L=n;`\r
>/= `.indexOf(e[n])===-1&&e[n];)n++;return e.slice(L,n)}var x=t.noChildNodes||["img","br","input","meta","link","hr"];function R(){n++;const L=A(),T={};let M=[];for(;e.charCodeAt(n)!==a&&e[n];){var O=e.charCodeAt(n);if(O>64&&O<91||O>96&&O<123){for(var k=A(),_=e.charCodeAt(n);_&&_!==u&&_!==f&&!(_>64&&_<91||_>96&&_<123)&&_!==a;)n++,_=e.charCodeAt(n);if(_===u||_===f){var N=y();if(n===-1)return{tagName:L,attributes:T,children:M}}else N=null,n--;T[k]=N}n++}if(e.charCodeAt(n-1)!==c)if(L=="script"){var X=n+1;n=e.indexOf("<\/script>",n),M=[e.slice(X,n)],n+=9}else L=="style"?(X=n+1,n=e.indexOf("</style>",n),M=[e.slice(X,n)],n+=8):x.indexOf(L)===-1?(n++,M=p(L)):n++;else n++;return{tagName:L,attributes:T,children:M}}function y(){var L=e[n],T=n+1;return n=e.indexOf(L,T),e.slice(T,n)}var g,S=null;if(t.attrValue!==void 0)for(t.attrName=t.attrName||"id",S=[];g=void 0,g=new RegExp("\\s"+t.attrName+`\\s*=['"]`+t.attrValue+`['"]`).exec(e),(n=g?g.index:-1)!==-1;)(n=e.lastIndexOf("<",n))!==-1&&S.push(R()),e=e.substr(n),n=0;else S=t.parseNode?R():p("");return t.filter&&(S=kC(S,t.filter)),t.simplify?TC(Array.isArray(S)?S:[S]):(t.setPos&&(S.pos=n),S)}function TC(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 o=TC(r.children);t[r.tagName].push(o),Object.keys(r.attributes).length&&typeof o!="string"&&(o._attributes=r.attributes)}}),t)t[n].length==1&&(t[n]=t[n][0]);return t}function kC(e,t,n=0,r=""){var o=[];return e.forEach(function(i,a){if(typeof i=="object"&&t(i,a,n,r)&&o.push(i),i.children){var s=kC(i.children,t,n+1,(r?r+".":"")+a+"."+i.tagName);o=o.concat(s)}}),o}function Ote(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(c,l){if(c){if(typeof c=="string")return eO(c,l);var u=Object.prototype.toString.call(c).slice(8,-1);if(u==="Object"&&c.constructor&&(u=c.constructor.name),u==="Map"||u==="Set")return Array.from(c);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return eO(c,l)}}(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:o}}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 i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return a=c.done,c},e:function(c){s=!0,i=c},f:function(){try{a||n.return==null||n.return()}finally{if(s)throw i}}}}function eO(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 tO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function nO(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?tO(Object(n),!0).forEach(function(r){jP(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tO(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var rO=0;function NC(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:nO({order:rO++},t),value:e[0]}:e[0];var r,o=Ote(e);try{for(o.s();!(r=o.n()).done;){var i=r.value;if(T3(i)!=="object")return;if(i.tagName!=="?xml"){n[i.tagName]||(n[i.tagName]=[]);var a=NC(i.children||[],i.attributes);n[i.tagName].push(a),Object.keys(i.attributes).length&&(a.attrs=nO({order:rO++},i.attributes))}}}catch(c){o.e(c)}finally{o.f()}for(var s in n)n[s].length===1&&(n[s]=n[s][0]);return n}function Lo(e,t){return PC.apply(this,arguments)}function PC(){return(PC=ii(Wn.mark(function e(t,n){var r;return Wn.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,o.next=3,t.file(n).async("string");case 3:return r=o.sent,o.abrupt("return",NC(Lte(r)));case 7:return o.prev=7,o.t0=o.catch(0),o.abrupt("return",null);case 10:case"end":return o.stop()}},e,null,[[0,7]])}))).apply(this,arguments)}function zv(e){return zv=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},zv(e)}var Tte=/^\s+/,kte=/\s+$/;function dt(e,t){if(t=t||{},(e=e||"")instanceof dt)return e;if(!(this instanceof dt))return new dt(e,t);var n=function(r){var o={r:0,g:0,b:0},i=1,a=null,s=null,c=null,l=!1,u=!1;typeof r=="string"&&(r=function(p){p=p.replace(Tte,"").replace(kte,"").toLowerCase();var m,A=!1;if(k3[p])p=k3[p],A=!0;else if(p=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};return(m=Aa.rgb.exec(p))?{r:m[1],g:m[2],b:m[3]}:(m=Aa.rgba.exec(p))?{r:m[1],g:m[2],b:m[3],a:m[4]}:(m=Aa.hsl.exec(p))?{h:m[1],s:m[2],l:m[3]}:(m=Aa.hsla.exec(p))?{h:m[1],s:m[2],l:m[3],a:m[4]}:(m=Aa.hsv.exec(p))?{h:m[1],s:m[2],v:m[3]}:(m=Aa.hsva.exec(p))?{h:m[1],s:m[2],v:m[3],a:m[4]}:(m=Aa.hex8.exec(p))?{r:mi(m[1]),g:mi(m[2]),b:mi(m[3]),a:cO(m[4]),format:A?"name":"hex8"}:(m=Aa.hex6.exec(p))?{r:mi(m[1]),g:mi(m[2]),b:mi(m[3]),format:A?"name":"hex"}:(m=Aa.hex4.exec(p))?{r:mi(m[1]+""+m[1]),g:mi(m[2]+""+m[2]),b:mi(m[3]+""+m[3]),a:cO(m[4]+""+m[4]),format:A?"name":"hex8"}:(m=Aa.hex3.exec(p))?{r:mi(m[1]+""+m[1]),g:mi(m[2]+""+m[2]),b:mi(m[3]+""+m[3]),format:A?"name":"hex"}:!1}(r)),zv(r)=="object"&&(Es(r.r)&&Es(r.g)&&Es(r.b)?(f=r.r,d=r.g,h=r.b,o={r:255*rr(f,255),g:255*rr(d,255),b:255*rr(h,255)},l=!0,u=String(r.r).substr(-1)==="%"?"prgb":"rgb"):Es(r.h)&&Es(r.s)&&Es(r.v)?(a=H0(r.s),s=H0(r.v),o=function(p,m,A){p=6*rr(p,360),m=rr(m,100),A=rr(A,100);var x=Math.floor(p),R=p-x,y=A*(1-m),g=A*(1-R*m),S=A*(1-(1-R)*m),L=x%6;return{r:255*[A,g,y,y,S,A][L],g:255*[S,A,A,g,y,y][L],b:255*[y,y,S,A,A,g][L]}}(r.h,a,s),l=!0,u="hsv"):Es(r.h)&&Es(r.s)&&Es(r.l)&&(a=H0(r.s),c=H0(r.l),o=function(p,m,A){var x,R,y;function g(T,M,O){return O<0&&(O+=1),O>1&&(O-=1),O<1/6?T+6*(M-T)*O:O<.5?M:O<2/3?T+(M-T)*(2/3-O)*6:T}if(p=rr(p,360),m=rr(m,100),A=rr(A,100),m===0)x=R=y=A;else{var S=A<.5?A*(1+m):A+m-A*m,L=2*A-S;x=g(L,S,p+1/3),R=g(L,S,p),y=g(L,S,p-1/3)}return{r:255*x,g:255*R,b:255*y}}(r.h,a,c),l=!0,u="hsl"),r.hasOwnProperty("a")&&(i=r.a));var f,d,h;return i=CC(i),{ok:l,format:r.format||u,r:Math.min(255,Math.max(o.r,0)),g:Math.min(255,Math.max(o.g,0)),b:Math.min(255,Math.max(o.b,0)),a:i}}(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 oO(e,t,n){e=rr(e,255),t=rr(t,255),n=rr(n,255);var r,o,i=Math.max(e,t,n),a=Math.min(e,t,n),s=(i+a)/2;if(i==a)r=o=0;else{var c=i-a;switch(o=s>.5?c/(2-i-a):c/(i+a),i){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:o,l:s}}function iO(e,t,n){e=rr(e,255),t=rr(t,255),n=rr(n,255);var r,o,i=Math.max(e,t,n),a=Math.min(e,t,n),s=i,c=i-a;if(o=i===0?0:c/i,i==a)r=0;else{switch(i){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:o,v:s}}function aO(e,t,n,r){var o=[ka(Math.round(e).toString(16)),ka(Math.round(t).toString(16)),ka(Math.round(n).toString(16))];return r&&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[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function sO(e,t,n,r){return[ka(IC(r)),ka(Math.round(e).toString(16)),ka(Math.round(t).toString(16)),ka(Math.round(n).toString(16))].join("")}function Nte(e,t){t=t===0?0:t||10;var n=dt(e).toHsl();return n.s-=t/100,n.s=t2(n.s),dt(n)}function Pte(e,t){t=t===0?0:t||10;var n=dt(e).toHsl();return n.s+=t/100,n.s=t2(n.s),dt(n)}function Cte(e){return dt(e).desaturate(100)}function Ite(e,t){t=t===0?0:t||10;var n=dt(e).toHsl();return n.l+=t/100,n.l=t2(n.l),dt(n)}function Fte(e,t){t=t===0?0:t||10;var n=dt(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))),dt(n)}function _te(e,t){t=t===0?0:t||10;var n=dt(e).toHsl();return n.l-=t/100,n.l=t2(n.l),dt(n)}function Xte(e,t){var n=dt(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,dt(n)}function Ete(e){var t=dt(e).toHsl();return t.h=(t.h+180)%360,dt(t)}function lO(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var n=dt(e).toHsl(),r=[dt(e)],o=360/t,i=1;i<t;i++)r.push(dt({h:(n.h+i*o)%360,s:n.s,l:n.l}));return r}function Wte(e){var t=dt(e).toHsl(),n=t.h;return[dt(e),dt({h:(n+72)%360,s:t.s,l:t.l}),dt({h:(n+216)%360,s:t.s,l:t.l})]}function Vte(e,t,n){t=t||6,n=n||30;var r=dt(e).toHsl(),o=360/n,i=[dt(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(dt(r));return i}function Ute(e,t){t=t||6;for(var n=dt(e).toHsv(),r=n.h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(dt({h:r,s:o,v:i})),i=(i+s)%1;return a}dt.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=CC(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=iO(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=iO(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=oO(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=oO(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 aO(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(t,n,r,o,i){var a=[ka(Math.round(t).toString(16)),ka(Math.round(n).toString(16)),ka(Math.round(r).toString(16)),ka(IC(o))];return i&&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*rr(this._r,255))+"%",g:Math.round(100*rr(this._g,255))+"%",b:Math.round(100*rr(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(100*rr(this._r,255))+"%, "+Math.round(100*rr(this._g,255))+"%, "+Math.round(100*rr(this._b,255))+"%)":"rgba("+Math.round(100*rr(this._r,255))+"%, "+Math.round(100*rr(this._g,255))+"%, "+Math.round(100*rr(this._b,255))+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":!(this._a<1)&&(Yte[aO(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+sO(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=dt(e);n="#"+sO(o._r,o._g,o._b,o._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 dt(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(Ite,arguments)},brighten:function(){return this._applyModification(Fte,arguments)},darken:function(){return this._applyModification(_te,arguments)},desaturate:function(){return this._applyModification(Nte,arguments)},saturate:function(){return this._applyModification(Pte,arguments)},greyscale:function(){return this._applyModification(Cte,arguments)},spin:function(){return this._applyModification(Xte,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(Vte,arguments)},complement:function(){return this._applyCombination(Ete,arguments)},monochromatic:function(){return this._applyCombination(Ute,arguments)},splitcomplement:function(){return this._applyCombination(Wte,arguments)},triad:function(){return this._applyCombination(lO,[3])},tetrad:function(){return this._applyCombination(lO,[4])}},dt.fromRatio=function(e,t){if(zv(e)=="object"){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=r==="a"?e[r]:H0(e[r]));e=n}return dt(e,t)},dt.equals=function(e,t){return!(!e||!t)&&dt(e).toRgbString()==dt(t).toRgbString()},dt.random=function(){return dt.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},dt.mix=function(e,t,n){n=n===0?0:n||50;var r=dt(e).toRgb(),o=dt(t).toRgb(),i=n/100;return dt({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},dt.readability=function(e,t){var n=dt(e),r=dt(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},dt.isReadable=function(e,t,n){var r,o,i=dt.readability(e,t);switch(o=!1,(r=function(a){var s,c;return s=((a=a||{level:"AA",size:"small"}).level||"AA").toUpperCase(),c=(a.size||"small").toLowerCase(),s!=="AA"&&s!=="AAA"&&(s="AA"),c!=="small"&&c!=="large"&&(c="small"),{level:s,size:c}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},dt.mostReadable=function(e,t,n){var r,o,i,a,s=null,c=0;o=(n=n||{}).includeFallbackColors,i=n.level,a=n.size;for(var l=0;l<t.length;l++)(r=dt.readability(e,t[l]))>c&&(c=r,s=dt(t[l]));return dt.isReadable(e,s,{level:i,size:a})||!o?s:(n.includeFallbackColors=!1,dt.mostReadable(e,["#fff","#000"],n))};var k3=dt.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"},Yte=dt.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(k3);function CC(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function rr(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 t2(e){return Math.min(1,Math.max(0,e))}function mi(e){return parseInt(e,16)}function ka(e){return e.length==1?"0"+e:""+e}function H0(e){return e<=1&&(e=100*e+"%"),e}function IC(e){return Math.round(255*parseFloat(e)).toString(16)}function cO(e){return mi(e)/255}var Ol,mm,vm,Aa=(mm="[\\s|\\(]+("+(Ol="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+Ol+")[,|\\s]+("+Ol+")\\s*\\)?",vm="[\\s|\\(]+("+Ol+")[,|\\s]+("+Ol+")[,|\\s]+("+Ol+")[,|\\s]+("+Ol+")\\s*\\)?",{CSS_UNIT:new RegExp(Ol),rgb:new RegExp("rgb"+mm),rgba:new RegExp("rgba"+vm),hsl:new RegExp("hsl"+mm),hsla:new RegExp("hsla"+vm),hsv:new RegExp("hsv"+mm),hsva:new RegExp("hsva"+vm),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 Es(e){return!!Aa.CSS_UNIT.exec(e)}function Qte(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(c,l){if(c){if(typeof c=="string")return uO(c,l);var u=Object.prototype.toString.call(c).slice(8,-1);if(u==="Object"&&c.constructor&&(u=c.constructor.name),u==="Map"||u==="Set")return Array.from(c);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return uO(c,l)}}(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:o}}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 i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return a=c.done,c},e:function(c){s=!0,i=c},f:function(){try{a||n.return==null||n.return()}finally{if(s)throw i}}}}function uO(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 FC(e){for(var t,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=new Uint8Array(e),o=r.byteLength,i=o%3,a=o-i,s="",c=0;c<a;c+=3)s+=n[(16515072&(t=r[c]<<16|r[c+1]<<8|r[c+2]))>>18]+n[(258048&t)>>12]+n[(4032&t)>>6]+n[63&t];return i===1?s+=n[(252&(t=r[a]))>>2]+n[(3&t)<<4]+"==":i===2&&(s+=n[(64512&(t=r[a]<<8|r[a+1]))>>10]+n[(1008&t)>>4]+n[(15&t)<<2]+"="),s}function Ty(e){return e.substr(2+(~-e.lastIndexOf(".")>>>0))}function Mf(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 Ue(e,t){if(t.constructor!==Array)throw Error("Error of path type! path is not array.");if(!e)return e;var n,r=Qte(t);try{for(r.s();!(n=r.n()).done;)if(!(e=e[n.value]))return e}catch(o){r.e(o)}finally{r.f()}return e}function jv(e){return e?Math.round(e/6e4):0}function _C(e){var t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#039;"};return e.replace(/[&<>"']/g,function(n){return t[n]})}function N3(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 Zte(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 wf(e){for(var t=e.toString(16);t.length<2;)t="0"+t;return t}function G0(e,t){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 n=Ue(t.themeContent,["a:theme","a:themeElements","a:clrScheme",e]),r=Ue(n,["a:srgbClr","attrs","val"]);return!r&&n&&(r=Ue(n,["a:sysClr","attrs","lastClr"])),r}function ky(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 Ny(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 Bte(e,t,n){return P3.apply(this,arguments)}function P3(){return P3=ii(Wn.mark(function e(t,n,r){var o,i,a,s,c,l;return Wn.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(i=n["a:blip"].attrs["r:embed"],t==="slideBg"||t==="slide"?a=Ue(r,["slideResObj",i,"target"]):t==="slideLayoutBg"?a=Ue(r,["layoutResObj",i,"target"]):t==="slideMasterBg"?a=Ue(r,["masterResObj",i,"target"]):t==="themeBg"&&(a=Ue(r,["themeResObj",i,"target"])),a){u.next=4;break}return u.abrupt("return",a);case 4:if(o=Ue(r,["loaded-images",a])){u.next=15;break}if(a=_C(a),(s=a.split(".").pop())!=="xml"){u.next=10;break}return u.abrupt("return",void 0);case 10:return u.next=12,r.zip.file(a).async("arraybuffer");case 12:c=u.sent,l=N3(s),o="data:".concat(l,";base64,").concat(FC(c));case 15:return u.abrupt("return",o);case 16:case"end":return u.stop()}},e)})),P3.apply(this,arguments)}function Py(e,t,n){return XC.apply(this,arguments)}function XC(){return(XC=ii(Wn.mark(function e(t,n,r){var o,i,a,s;return Wn.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,Bte(n,t["a:blipFill"],r);case 2:return o=c.sent,i=t["a:blipFill"]["a:blip"],a=Ue(i,["a:alphaModFix","attrs"]),s=1,a&&a.amt&&a.amt!==""&&(s=parseInt(a.amt)/1e5),c.abrupt("return",{picBase64:o,opacity:s});case 8:case"end":return c.stop()}},e)}))).apply(this,arguments)}function Cy(e,t,n,r){if(e){for(var o=e["a:gradFill"],i=o["a:gsLst"]["a:gs"],a=[],s=0;s<i.length;s++){var c=Ru(i[s],n["p:sldMaster"]["p:clrMap"].attrs,t,r),l=Ue(i[s],["attrs","pos"]);a[s]={pos:l?l/1e3+"%":"",color:"#".concat(c)}}var u=o["a:lin"],f=90;return u&&(f=jv(u.attrs.ang),f+=90),{rot:f,colors:a.sort(function(d,h){return parseInt(d.pos)-parseInt(h.pos)})}}return t?"#".concat(t):null}function Dte(e){return EC.apply(this,arguments)}function EC(){return(EC=ii(Wn.mark(function e(t){var n,r,o,i,a,s,c,l,u,f,d,h,p,m,A,x,R,y,g,S,L,T,M,O;return Wn.wrap(function(k){for(;;)switch(k.prev=k.next){case 0:if(n=t.slideContent,r=t.slideLayoutContent,o=t.slideMasterContent,i=Ue(n,["p:sld","p:cSld","p:bg","p:bgPr"]),a="#fff",s="color",!i){k.next=28;break}if((c=Ny(i))!=="SOLID_FILL"){k.next=16;break}l=i["a:solidFill"],(f=Ue(n,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]))?u=f:(d=Ue(r,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]),u=d||Ue(o,["p:sldMaster","p:clrMap","attrs"])),h=Ru(l,u,void 0,t),a="#".concat(h),k.next=26;break;case 16:if(c!=="GRADIENT_FILL"){k.next=21;break}typeof(p=Cy(i,void 0,o,t))=="string"?a=p:p&&(a=p,s="gradient"),k.next=26;break;case 21:if(c!=="PIC_FILL"){k.next=26;break}return k.next=24,Py(i,"slideBg",t);case 24:a=k.sent,s="image";case 26:k.next=71;break;case 28:if(i=Ue(r,["p:sldLayout","p:cSld","p:bg","p:bgPr"]),A=Ue(r,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]),m=A||Ue(o,["p:sldMaster","p:clrMap","attrs"]),!i){k.next=51;break}if((x=Ny(i))!=="SOLID_FILL"){k.next=39;break}R=i["a:solidFill"],y=Ru(R,m,void 0,t),a="#".concat(y),k.next=49;break;case 39:if(x!=="GRADIENT_FILL"){k.next=44;break}typeof(g=Cy(i,void 0,o,t))=="string"?a=g:g&&(a=g,s="gradient"),k.next=49;break;case 44:if(x!=="PIC_FILL"){k.next=49;break}return k.next=47,Py(i,"slideLayoutBg",t);case 47:a=k.sent,s="image";case 49:k.next=71;break;case 51:if(i=Ue(o,["p:sldMaster","p:cSld","p:bg","p:bgPr"]),S=Ue(o,["p:sldMaster","p:clrMap","attrs"]),!i){k.next=71;break}if((L=Ny(i))!=="SOLID_FILL"){k.next=61;break}T=i["a:solidFill"],M=Ru(T,S,void 0,t),a="#".concat(M),k.next=71;break;case 61:if(L!=="GRADIENT_FILL"){k.next=66;break}typeof(O=Cy(i,void 0,o,t))=="string"?a=O:O&&(a=O,s="gradient"),k.next=71;break;case 66:if(L!=="PIC_FILL"){k.next=71;break}return k.next=69,Py(i,"slideMasterBg",t);case 69:a=k.sent,s="image";case 71:return k.abrupt("return",{type:s,value:a});case 72:case"end":return k.stop()}},e)}))).apply(this,arguments)}function Ru(e,t,n,r){if(!e)return e;var o,i="fff";if(e["a:srgbClr"])i=Ue(e["a:srgbClr"],["attrs","val"]);else{if(e["a:schemeClr"]){i=G0("a:"+Ue(e["a:schemeClr"],["attrs","val"]),r);var a=parseInt(Ue(e,["a:schemeClr","a:lumMod","attrs","val"]))/1e5,s=parseInt(Ue(e,["a:schemeClr","a:lumOff","attrs","val"]))/1e5;isNaN(a)&&(a=1),isNaN(s)&&(s=0);var c=(i=dt(i).toHsl()).l*a+s;return dt({h:i.h,s:i.s,l:c,a:i.a}).toHex()}if(e["a:scrgbClr"]){var l=(o=e["a:scrgbClr"]).attrs,u=l.r.indexOf("%")!==-1?l.r.split("%").shift():l.r,f=l.g.indexOf("%")!==-1?l.g.split("%").shift():l.g,d=l.b.indexOf("%")!==-1?l.b.split("%").shift():l.b;i=wf(Number(u)/100*255)+wf(Number(f)/100*255)+wf(Number(d)/100*255)}else if(e["a:prstClr"])i=Ue(o=e["a:prstClr"],["attrs","val"]);else if(e["a:hslClr"]){var h=(o=e["a:hslClr"]).attrs,p=function(O,k,_){var N,X=2*_-(N=_<=.5?_*(k+1):_+k-_*k);return{r:255*ky(X,N,2+(O/=60)),g:255*ky(X,N,O),b:255*ky(X,N,O-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);i=wf(p.r)+wf(p.g)+wf(p.b)}else if(e["a:sysClr"]){var m=Ue(o=e["a:sysClr"],["attrs","lastClr"]);m&&(i=m)}}var A=!1,x=parseInt(Ue(o,["a:alpha","attrs","val"]))/1e5;if(!isNaN(x)){var R=dt(i);R.setAlpha(x),i=R.toHex8(),A=!0}var y=parseInt(Ue(o,["a:hueMod","attrs","val"]))/1e5;isNaN(y)||(i=function(O,k,_){var N=dt(O).toHsl(),X=N.h*k;return X>=360&&(X-=360),_?dt({h:X,s:N.s,l:N.l,a:N.a}).toHex8():dt({h:X,s:N.s,l:N.l,a:N.a}).toHex()}(i,y,A));var g=parseInt(Ue(o,["a:lumMod","attrs","val"]))/1e5;isNaN(g)||(i=function(O,k,_){var N=dt(O).toHsl(),X=N.l*k;return X>=1&&(X=1),_?dt({h:N.h,s:N.s,l:X,a:N.a}).toHex8():dt({h:N.h,s:N.s,l:X,a:N.a}).toHex()}(i,g,A));var S=parseInt(Ue(o,["a:lumOff","attrs","val"]))/1e5;isNaN(S)||(i=function(O,k,_){var N=dt(O).toHsl(),X=k+N.l;return X>=1?_?dt({h:N.h,s:N.s,l:1,a:N.a}).toHex8():dt({h:N.h,s:N.s,l:1,a:N.a}).toHex():_?dt({h:N.h,s:N.s,l:X,a:N.a}).toHex8():dt({h:N.h,s:N.s,l:X,a:N.a}).toHex()}(i,S,A));var L=parseInt(Ue(o,["a:satMod","attrs","val"]))/1e5;isNaN(L)||(i=function(O,k,_){var N=dt(O).toHsl(),X=N.s*k;return X>=1&&(X=1),_?dt({h:N.h,s:X,l:N.l,a:N.a}).toHex8():dt({h:N.h,s:X,l:N.l,a:N.a}).toHex()}(i,L,A));var T=parseInt(Ue(o,["a:shade","attrs","val"]))/1e5;isNaN(T)||(i=function(O,k,_){var N=dt(O).toHsl();k>=1&&(k=1);var X=Math.min(N.l*k,1);return _?dt({h:N.h,s:N.s,l:X,a:N.a}).toHex8():dt({h:N.h,s:N.s,l:X,a:N.a}).toHex()}(i,T,A));var M=parseInt(Ue(o,["a:tint","attrs","val"]))/1e5;return isNaN(M)||(i=function(O,k,_){var N=dt(O).toHsl();k>=1&&(k=1);var X=N.l*k+(1-k);return _?dt({h:N.h,s:N.s,l:X,a:N.a}).toHex8():dt({h:N.h,s:N.s,l:X,a:N.a}).toHex()}(i,M,A)),i}function So(e){var t=[];if(!e)return t;if(e["c:xVal"]){var n=[];Mf(e["c:xVal"]["c:numRef"]["c:numCache"]["c:pt"],function(r){return n.push(parseFloat(r["c:v"])),""}),t.push(n),n=[],Mf(e["c:yVal"]["c:numRef"]["c:numCache"]["c:pt"],function(r){return n.push(parseFloat(r["c:v"])),""}),t.push(n)}else Mf(e,function(r,o){var i=[],a=Ue(r,["c:tx","c:strRef","c:strCache","c:pt","c:v"])||o,s={};return Ue(r,["c:cat","c:strRef","c:strCache","c:pt"])?Mf(r["c:cat"]["c:strRef"]["c:strCache"]["c:pt"],function(c){return s[c.attrs.idx]=c["c:v"],""}):Ue(r,["c:cat","c:numRef","c:numCache","c:pt"])&&Mf(r["c:cat"]["c:numRef"]["c:numCache"]["c:pt"],function(c){return s[c.attrs.idx]=c["c:v"],""}),Ue(r,["c:val","c:numRef","c:numCache","c:pt"])&&Mf(r["c:val"]["c:numRef"]["c:numCache"]["c:pt"],function(c){return i.push({x:c.attrs.idx,y:parseFloat(c["c:v"])}),""}),t.push({key:a,values:i,xlabels:s}),""});return t}function Kte(e){var t=null;for(var n in e)switch(n){case"c:lineChart":t={type:"lineChart",data:So(e[n]["c:ser"]),grouping:Ue(e[n],["c:grouping","attrs","val"]),marker:!!e[n]["c:marker"]};break;case"c:line3DChart":t={type:"line3DChart",data:So(e[n]["c:ser"]),grouping:Ue(e[n],["c:grouping","attrs","val"])};break;case"c:barChart":t={type:"barChart",data:So(e[n]["c:ser"]),grouping:Ue(e[n],["c:grouping","attrs","val"]),barDir:Ue(e[n],["c:barDir","attrs","val"])};break;case"c:bar3DChart":t={type:"bar3DChart",data:So(e[n]["c:ser"]),grouping:Ue(e[n],["c:grouping","attrs","val"]),barDir:Ue(e[n],["c:barDir","attrs","val"])};break;case"c:pieChart":t={type:"pieChart",data:So(e[n]["c:ser"])};break;case"c:pie3DChart":t={type:"pie3DChart",data:So(e[n]["c:ser"])};break;case"c:doughnutChart":t={type:"doughnutChart",data:So(e[n]["c:ser"]),holeSize:Ue(e[n],["c:holeSize","attrs","val"])};break;case"c:areaChart":t={type:"areaChart",data:So(e[n]["c:ser"]),grouping:Ue(e[n],["c:grouping","attrs","val"])};break;case"c:area3DChart":t={type:"area3DChart",data:So(e[n]["c:ser"]),grouping:Ue(e[n],["c:grouping","attrs","val"])};break;case"c:scatterChart":t={type:"scatterChart",data:So(e[n]["c:ser"]),style:Ue(e[n],["c:scatterStyle","attrs","val"])};break;case"c:bubbleChart":t={type:"bubbleChart",data:So(e[n]["c:ser"])};break;case"c:radarChart":t={type:"radarChart",data:So(e[n]["c:ser"]),style:Ue(e[n],["c:radarStyle","attrs","val"])};break;case"c:surfaceChart":t={type:"surfaceChart",data:So(e[n]["c:ser"])};break;case"c:surface3DChart":t={type:"surface3DChart",data:So(e[n]["c:ser"])};break;case"c:stockChart":t={type:"stockChart",data:So(e[n]["c:ser"])}}return t}function Hte(e,t,n,r){var o=Ue(e,["a:pPr","attrs","algn"]);if(o||(o=Ue(t,["a:pPr","attrs","algn"])),!o)if(n==="title"||n==="ctrTitle"||n==="subTitle"){var i=1,a=Ue(t,["a:pPr","attrs","lvl"]);a&&(i=parseInt(a)+1);var s="a:lvl"+i+"pPr";(o=Ue(r,["slideLayoutTables","typeTable",n,"p:txBody","a:lstStyle",s,"attrs","algn"]))||(o=Ue(r,["slideMasterTables","typeTable",n,"p:txBody","a:lstStyle",s,"attrs","algn"])),o||(o=Ue(r,["slideMasterTextStyles","p:titleStyle",s,"attrs","algn"])),o||n!=="subTitle"||(o=Ue(r,["slideMasterTextStyles","p:bodyStyle",s,"attrs","algn"]))}else o=Ue(r,n==="body"?["slideMasterTextStyles","p:bodyStyle","a:lvl1pPr","attrs","algn"]:["slideMasterTables","typeTable",n,"p:txBody","a:lstStyle","a:lvl1pPr","attrs","algn"]);var c="left";if(o)switch(o){case"l":c="left";break;case"r":c="right";break;case"ctr":c="center";break;case"just":case"dist":c="justify";break;default:c="inherit"}return c}function Ep(e,t,n,r){var o;return e?o=e["a:off"].attrs:t?o=t["a:off"].attrs:n&&(o=n["a:off"].attrs),o?{top:parseFloat((parseInt(o.y)*r).toFixed(2)),left:parseFloat((parseInt(o.x)*r).toFixed(2))}:{top:0,left:0}}function Wp(e,t,n,r){var o;return e?o=e["a:ext"].attrs:t?o=t["a:ext"].attrs:n&&(o=n["a:ext"].attrs),o?{width:parseFloat((parseInt(o.cx)*r).toFixed(2)),height:parseFloat((parseInt(o.cy)*r).toFixed(2))}:{width:0,height:0}}function WC(e,t){var n=t.options.slideFactor,r=Ru(e,0,0,t),o=e.attrs,i=o.dir?parseInt(o.dir)/6e4:0,a=parseInt(o.dist)*n,s=o.blurRad?parseFloat((parseInt(o.blurRad)*n).toFixed(2)):"",c=a*Math.sin(i*Math.PI/180),l=a*Math.cos(i*Math.PI/180);return{h:parseFloat(l.toFixed(2)),v:parseFloat(c.toFixed(2)),blur:s,color:"#"+r}}function fO(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(c,l){if(c){if(typeof c=="string")return dO(c,l);var u=Object.prototype.toString.call(c).slice(8,-1);if(u==="Object"&&c.constructor&&(u=c.constructor.name),u==="Map"||u==="Set")return Array.from(c);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return dO(c,l)}}(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:o}}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 i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return a=c.done,c},e:function(c){s=!0,i=c},f:function(){try{a||n.return==null||n.return()}finally{if(s)throw i}}}}function dO(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 J0(e,t,n,r,o){if(!e)return"";var i,a="",s=e["a:p"],c="",l=fO(s.constructor===Array?s:[s]);try{for(l.s();!(i=l.n()).done;){var u=i.value,f=u["a:r"],d=u["a:fld"],h=u["a:br"];f&&(f=f.constructor===Array?f:[f],d&&(d=d.constructor===Array?d:[d],f=f.concat(d)),h&&((h=h.constructor===Array?h:[h]).forEach(function(R){return R.type="br"}),h.length>1&&h.shift(),(f=f.concat(h)).sort(function(R,y){return!R.attrs||!y.attrs||R.attrs.order-y.attrs.order})));var p=Hte(u,t,r,o),m=Gte(u);if(m?(c?c&&c!==m&&(a+="</".concat(c,">"),a+="<".concat(m,">"),c=m):(a+="<".concat(m,">"),c=m),a+='<li style="text-align: '.concat(p,';">')):(c&&(a+="</".concat(c,">"),c=""),a+='<p style="text-align: '.concat(p,';">')),f){var A,x=fO(f);try{for(x.s();!(A=x.n()).done;)a+=hO(A.value,n,r,o)}catch(R){x.e(R)}finally{x.f()}}else a+=hO(u,n,r,o);a+=m?"</li>":"</p>"}}catch(R){l.e(R)}finally{l.f()}return a}function Gte(e){var t=e["a:pPr"];return t?t["a:buChar"]?"ul":t["a:buAutoNum"]?"ol":"":""}function hO(e,t,n,r){var o=r.slideMasterTextStyles,i=e["a:t"];typeof i!="string"&&(i=Ue(e,["a:fld","a:t"])),typeof i!="string"&&(i="&nbsp;");var a="",s=function(y){var g=Ue(y,["a:rPr","a:solidFill","a:srgbClr","attrs","val"]);return g?"#".concat(g):""}(e),c=function(y,g,S,L,T){var M,O;if(y["a:rPr"]&&(M=parseInt(y["a:rPr"].attrs.sz)/100),isNaN(M)||!M){var k=Ue(g,["p:txBody","a:lstStyle","a:lvl1pPr","a:defRPr","attrs","sz"]);M=parseInt(k)/100}return!isNaN(M)&&M||(S==="title"||S==="subTitle"||S==="ctrTitle"?O=Ue(L,["p:titleStyle","a:lvl1pPr","a:defRPr","attrs","sz"]):S==="body"?O=Ue(L,["p:bodyStyle","a:lvl1pPr","a:defRPr","attrs","sz"]):S==="dt"||S==="sldNum"?O="1200":S||(O=Ue(L,["p:otherStyle","a:lvl1pPr","a:defRPr","attrs","sz"])),O&&(M=parseInt(O)/100)),Ue(y,["a:rPr","attrs","baseline"])&&!isNaN(M)&&(M-=10),M=isNaN(M)||!M?18:M,parseFloat((M*T).toFixed(2))+(T===1?"pt":"px")}(e,t,n,o,r.options.fontsizeFactor),l=function(y,g,S){var L=Ue(y,["a:rPr","a:latin","attrs","typeface"]);if(!L){var T=Ue(S.themeContent,["a:theme","a:themeElements","a:fontScheme"]);L=Ue(T,g==="title"||g==="subTitle"||g==="ctrTitle"?["a:majorFont","a:latin","attrs","typeface"]:["a:minorFont","a:latin","attrs","typeface"])}return L||""}(e,n,r),u=function(y){return Ue(y,["a:rPr","attrs","b"])==="1"?"bold":""}(e),f=function(y){return Ue(y,["a:rPr","attrs","i"])==="1"?"italic":""}(e),d=function(y){return Ue(y,["a:rPr","attrs","u"])==="sng"?"underline":""}(e),h=function(y){return Ue(y,["a:rPr","attrs","strike"])==="sngStrike"?"line-through":""}(e),p=function(y,g){var S=Ue(y,["a:rPr","attrs","spc"]);return S?parseInt(S)/100*g+"px":""}(e,r.options.fontsizeFactor),m=function(y,g){var S=Ue(y,["a:rPr","a:effectLst","a:outerShdw"]);if(S){var L=WC(S,g);if(L){var T=L.h,M=L.v,O=L.blur,k=L.color;if(!isNaN(M)&&!isNaN(T))return T+"px "+M+"px "+(O?O+"px":"")+" "+k}}return""}(e,r),A=function(y){var g=Ue(y,["a:rPr","attrs","baseline"]);return g?parseInt(g)>0?"super":"sub":""}(e);s&&(a+="color: ".concat(s,";")),c&&(a+="font-size: ".concat(c,";")),l&&(a+="font-family: ".concat(l,";")),u&&(a+="font-weight: ".concat(u,";")),f&&(a+="font-style: ".concat(f,";")),d&&(a+="text-decoration: ".concat(d,";")),h&&(a+="text-decoration-line: ".concat(h,";")),p&&(a+="letter-spacing: ".concat(p,";")),A&&(a+="vertical-align: ".concat(A,"; font-size: smaller;")),m&&(a+="text-shadow: ".concat(m,";"));var x=Ue(e,["a:rPr","a:hlinkClick","attrs","r:id"]);if(x){var R=r.slideResObj[x].target;return'<span style="'.concat(a,'"><a href="').concat(R,'" target="_blank">').concat(i.replace(/\t/g,"&nbsp;&nbsp;&nbsp;&nbsp;").replace(/\s/g,"&nbsp;"),"</a></span>")}return'<span style="'.concat(a,'">').concat(i.replace(/\t/g,"&nbsp;&nbsp;&nbsp;&nbsp;").replace(/\s/g,"&nbsp;"),"</span>")}function Jte(e,t,n,r,o,i,a){var s,c=o;if(i>=o)for(;c<=i;){var l=c*(Math.PI/180),u=e+Math.cos(l)*n,f=t+Math.sin(l)*r;c===o&&(s=" M"+u+" "+f),s+=" L"+u+" "+f,c++}else for(;c>i;){var d=c*(Math.PI/180),h=e+Math.cos(d)*n,p=t+Math.sin(d)*r;c===o&&(s=" M "+h+" "+p),s+=" L "+h+" "+p,c--}return s+=a?" z":""}function pO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function tc(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?pO(Object(n),!0).forEach(function(r){jP(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pO(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function No(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(c,l){if(c){if(typeof c=="string")return mO(c,l);var u=Object.prototype.toString.call(c).slice(8,-1);if(u==="Object"&&c.constructor&&(u=c.constructor.name),u==="Map"||u==="Set")return Array.from(c);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return mO(c,l)}}(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:o}}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 i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return a=c.done,c},e:function(c){s=!0,i=c},f:function(){try{a||n.return==null||n.return()}finally{if(s)throw i}}}}function mO(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 zte(e){return C3.apply(this,arguments)}function C3(){return C3=ii(Wn.mark(function e(t){var n,r,o,i,a,s,c,l,u,f,d,h,p,m=arguments;return Wn.wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return n=m.length>1&&m[1]!==void 0?m[1]:{},n=tc(tc({},{slideFactor:96/914400,fontsizeFactor:100/75}),n),r=[],A.next=6,wte.loadAsync(t);case 6:return o=A.sent,A.next=9,jte(o);case 9:return i=A.sent,A.next=12,$te(o,n);case 12:return a=A.sent,s=a.width,c=a.height,l=a.defaultTextStyle,A.next=18,qte(o);case 18:u=A.sent,f=No(i.slides),A.prev=20,f.s();case 22:if((d=f.n()).done){A.next=30;break}return h=d.value,A.next=26,ene(o,h,u,l,n);case 26:p=A.sent,r.push(p);case 28:A.next=22;break;case 30:A.next=35;break;case 32:A.prev=32,A.t0=A.catch(20),f.e(A.t0);case 35:return A.prev=35,f.f(),A.finish(35);case 38:return A.abrupt("return",{slides:r,size:{width:s,height:c}});case 39:case"end":return A.stop()}},e,null,[[20,32,35,38]])})),C3.apply(this,arguments)}function jte(e){return VC.apply(this,arguments)}function VC(){return(VC=ii(Wn.mark(function e(t){var n,r,o,i,a,s,c,l;return Wn.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,Lo(t,"[Content_Types].xml");case 2:n=u.sent,r=n.Types.Override,o=[],i=[],a=No(r),u.prev=7,a.s();case 9:if((s=a.n()).done){u.next=20;break}c=s.value,u.t0=c.attrs.ContentType,u.next=u.t0==="application/vnd.openxmlformats-officedocument.presentationml.slide+xml"?14:u.t0==="application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml"?16:18;break;case 14:return o.push(c.attrs.PartName.substr(1)),u.abrupt("break",18);case 16:return i.push(c.attrs.PartName.substr(1)),u.abrupt("break",18);case 18:u.next=9;break;case 20:u.next=25;break;case 22:u.prev=22,u.t1=u.catch(7),a.e(u.t1);case 25:return u.prev=25,a.f(),u.finish(25);case 28:return l=function(f,d){return+/(\d+)\.xml/.exec(f)[1]-+/(\d+)\.xml/.exec(d)[1]},o=o.sort(l),i=i.sort(l),u.abrupt("return",{slides:o,slideLayouts:i});case 32:case"end":return u.stop()}},e,null,[[7,22,25,28]])}))).apply(this,arguments)}function $te(e,t){return UC.apply(this,arguments)}function UC(){return(UC=ii(Wn.mark(function e(t,n){var r,o,i;return Wn.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,Lo(t,"ppt/presentation.xml");case 2:return r=a.sent,o=r["p:presentation"]["p:sldSz"].attrs,i=r["p:presentation"]["p:defaultTextStyle"],a.abrupt("return",{width:parseInt(o.cx)*n.slideFactor,height:parseInt(o.cy)*n.slideFactor,defaultTextStyle:i});case 6:case"end":return a.stop()}},e)}))).apply(this,arguments)}function qte(e){return YC.apply(this,arguments)}function YC(){return(YC=ii(Wn.mark(function e(t){var n,r,o,i,a,s;return Wn.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,Lo(t,"ppt/_rels/presentation.xml.rels");case 2:if(n=c.sent,(r=n.Relationships.Relationship).constructor!==Array){c.next=25;break}i=No(r),c.prev=6,i.s();case 8:if((a=i.n()).done){c.next=15;break}if((s=a.value).attrs.Type!=="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"){c.next=13;break}return o=s.attrs.Target,c.abrupt("break",15);case 13:c.next=8;break;case 15:c.next=20;break;case 17:c.prev=17,c.t0=c.catch(6),i.e(c.t0);case 20:return c.prev=20,i.f(),c.finish(20);case 23:c.next=26;break;case 25:r.attrs.Type==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"&&(o=r.attrs.Target);case 26:if(o){c.next=28;break}throw Error("Can't open theme file.");case 28:return c.next=30,Lo(t,"ppt/"+o);case 30:return c.abrupt("return",c.sent);case 31:case"end":return c.stop()}},e,null,[[6,17,20,23]])}))).apply(this,arguments)}function ene(e,t,n,r,o){return I3.apply(this,arguments)}function I3(){return I3=ii(Wn.mark(function e(t,n,r,o,i){var a,s,c,l,u,f,d,h,p,m,A,x,R,y,g,S,L,T,M,O,k,_,N,X,C,F,I,V,B,G,ne,E,Z,K,U,J,le,ie,oe,pe,ge,ye,z,ae,W,j,ue,$,q,se,ve,ce,de,be,_e,Ie;return Wn.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return a=n.replace("slides/slide","slides/_rels/slide")+".rels",Ae.next=3,Lo(t,a);case 3:if(s=Ae.sent,c=s.Relationships.Relationship,l="",u="",f={},c.constructor!==Array){Ae.next=35;break}d=No(c),Ae.prev=10,d.s();case 12:if((h=d.n()).done){Ae.next=25;break}p=h.value,Ae.t0=p.attrs.Type,Ae.next=Ae.t0==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"?17:Ae.t0==="http://schemas.microsoft.com/office/2007/relationships/diagramDrawing"?19:(Ae.t0==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesSlide"||Ae.t0==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image"||Ae.t0==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart"||Ae.t0,22);break;case 17:return l=p.attrs.Target.replace("../","ppt/"),Ae.abrupt("break",23);case 19: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/")},Ae.abrupt("break",23);case 22:f[p.attrs.Id]={type:p.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:p.attrs.Target.replace("../","ppt/")};case 23:Ae.next=12;break;case 25:Ae.next=30;break;case 27:Ae.prev=27,Ae.t1=Ae.catch(10),d.e(Ae.t1);case 30:return Ae.prev=30,d.f(),Ae.finish(30);case 33:Ae.next=36;break;case 35:l=c.attrs.Target.replace("../","ppt/");case 36:return Ae.next=38,Lo(t,l);case 38:return m=Ae.sent,Ae.next=41,vO(m);case 41:return A=Ae.sent,x=l.replace("slideLayouts/slideLayout","slideLayouts/_rels/slideLayout")+".rels",Ae.next=45,Lo(t,x);case 45:if(R=Ae.sent,c=R.Relationships.Relationship,y="",g={},c.constructor!==Array){Ae.next=73;break}S=No(c),Ae.prev=51,S.s();case 53:if((L=S.n()).done){Ae.next=63;break}T=L.value,Ae.t2=T.attrs.Type,Ae.next=Ae.t2==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster"?58:60;break;case 58:return y=T.attrs.Target.replace("../","ppt/"),Ae.abrupt("break",61);case 60:g[T.attrs.Id]={type:T.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:T.attrs.Target.replace("../","ppt/")};case 61:Ae.next=53;break;case 63:Ae.next=68;break;case 65:Ae.prev=65,Ae.t3=Ae.catch(51),S.e(Ae.t3);case 68:return Ae.prev=68,S.f(),Ae.finish(68);case 71:Ae.next=74;break;case 73:y=c.attrs.Target.replace("../","ppt/");case 74:return Ae.next=76,Lo(t,y);case 76:return M=Ae.sent,O=Ue(M,["p:sldMaster","p:txStyles"]),k=vO(M),_=y.replace("slideMasters/slideMaster","slideMasters/_rels/slideMaster")+".rels",Ae.next=82,Lo(t,_);case 82:if(N=Ae.sent,c=N.Relationships.Relationship,X="",C={},c.constructor!==Array){Ae.next=109;break}F=No(c),Ae.prev=88,F.s();case 90:if((I=F.n()).done){Ae.next=99;break}V=I.value,Ae.t4=V.attrs.Type,Ae.next=Ae.t4==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"?95:96;break;case 95:return Ae.abrupt("break",97);case 96:C[V.attrs.Id]={type:V.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:V.attrs.Target.replace("../","ppt/")};case 97:Ae.next=90;break;case 99:Ae.next=104;break;case 101:Ae.prev=101,Ae.t5=Ae.catch(88),F.e(Ae.t5);case 104:return Ae.prev=104,F.f(),Ae.finish(104);case 107:Ae.next=110;break;case 109:X=c.attrs.Target.replace("../","ppt/");case 110:if(B={},!X){Ae.next=118;break}return G=X.split("/").pop(),ne=X.replace(G,"_rels/"+G)+".rels",Ae.next=116,Lo(t,ne);case 116:if((E=Ae.sent)&&(c=E.Relationships.Relationship))if(c.constructor===Array){Z=No(c);try{for(Z.s();!(K=Z.n()).done;)U=K.value,B[U.attrs.Id]={type:U.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:U.attrs.Target.replace("../","ppt/")}}catch(qe){Z.e(qe)}finally{Z.f()}}else B[c.attrs.Id]={type:c.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:c.attrs.Target.replace("../","ppt/")};case 118:if(J={},le={},!u){Ae.next=131;break}return ie=u.split("/").pop(),oe=u.replace(ie,"_rels/"+ie)+".rels",Ae.next=125,Lo(t,u);case 125:return(le=Ae.sent)&&le&&le&&(pe=(pe=JSON.stringify(le)).replace(/dsp:/g,"p:"),le=JSON.parse(pe)),Ae.next=129,Lo(t,oe);case 129:if(ge=Ae.sent)if((c=ge.Relationships.Relationship).constructor===Array){ye=No(c);try{for(ye.s();!(z=ye.n()).done;)ae=z.value,J[ae.attrs.Id]={type:ae.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:ae.attrs.Target.replace("../","ppt/")}}catch(qe){ye.e(qe)}finally{ye.f()}}else J[c.attrs.Id]={type:c.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:c.attrs.Target.replace("../","ppt/")};case 131:return Ae.next=133,Lo(t,"ppt/tableStyles.xml");case 133:return W=Ae.sent,Ae.next=136,Lo(t,n);case 136:return j=Ae.sent,ue=j["p:sld"]["p:cSld"]["p:spTree"],$={zip:t,slideLayoutContent:m,slideLayoutTables:A,slideMasterContent:M,slideMasterTables:k,slideContent:j,tableStyles:W,slideResObj:f,slideMasterTextStyles:O,layoutResObj:g,masterResObj:C,themeContent:r,themeResObj:B,digramFileContent:le,diagramResObj:J,defaultTextStyle:o,options:i},Ae.next=141,Dte($);case 141:q=Ae.sent,se=[],Ae.t6=Wn.keys(ue);case 144:if((Ae.t7=Ae.t6()).done){Ae.next=174;break}if(ve=Ae.t7.value,ue[ve].constructor!==Array){Ae.next=168;break}ce=No(ue[ve]),Ae.prev=148,ce.s();case 150:if((de=ce.n()).done){Ae.next=158;break}return be=de.value,Ae.next=154,$v(ve,be,$,"slide");case 154:(_e=Ae.sent)&&se.push(_e);case 156:Ae.next=150;break;case 158:Ae.next=163;break;case 160:Ae.prev=160,Ae.t8=Ae.catch(148),ce.e(Ae.t8);case 163:return Ae.prev=163,ce.f(),Ae.finish(163);case 166:Ae.next=172;break;case 168:return Ae.next=170,$v(ve,ue[ve],$,"slide");case 170:(Ie=Ae.sent)&&se.push(Ie);case 172:Ae.next=144;break;case 174:return Ae.abrupt("return",{fill:q,elements:se});case 175:case"end":return Ae.stop()}},e,null,[[10,27,30,33],[51,65,68,71],[88,101,104,107],[148,160,163,166]])})),I3.apply(this,arguments)}function vO(e){var t=e[Object.keys(e)[0]]["p:cSld"]["p:spTree"],n={},r={},o={};for(var i in t)if(i!=="p:nvGrpSpPr"&&i!=="p:grpSpPr"){var a=t[i];if(a.constructor===Array){var s,c=No(a);try{for(c.s();!(s=c.n()).done;){var l=s.value,u=l["p:nvSpPr"],f=Ue(u,["p:cNvPr","attrs","id"]),d=Ue(u,["p:nvPr","p:ph","attrs","idx"]),h=Ue(u,["p:nvPr","p:ph","attrs","type"]);f&&(n[f]=l),d&&(r[d]=l),h&&(o[h]=l)}}catch(R){c.e(R)}finally{c.f()}}else{var p=a["p:nvSpPr"],m=Ue(p,["p:cNvPr","attrs","id"]),A=Ue(p,["p:nvPr","p:ph","attrs","idx"]),x=Ue(p,["p:nvPr","p:ph","attrs","type"]);m&&(n[m]=a),A&&(r[A]=a),x&&(o[x]=a)}}return{idTable:n,idxTable:r,typeTable:o}}function $v(e,t,n,r){return QC.apply(this,arguments)}function QC(){return(QC=ii(Wn.mark(function e(t,n,r,o){var i;return Wn.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:21;break;case 3:return i=ZC(n,r,o),a.abrupt("break",21);case 5:return i=tne(n,r),a.abrupt("break",21);case 7:return i=nne(n,r,o),a.abrupt("break",21);case 9:return a.next=11,rne(n,r,o);case 11:case 15:case 19:return i=a.sent,a.abrupt("break",21);case 13:return a.next=15,F3(n,r,o);case 17:return a.next=19,F3(Ue(n,["mc:Fallback"]),r,o);case 21:return a.abrupt("return",i);case 22:case"end":return a.stop()}},e)}))).apply(this,arguments)}function F3(e,t,n){return _3.apply(this,arguments)}function _3(){return _3=ii(Wn.mark(function e(t,n,r){var o,i,a,s,c,l,u,f,d,h,p,m,A,x,R,y,g,S;return Wn.wrap(function(L){for(;;)switch(L.prev=L.next){case 0:if(o=Ue(t,["p:grpSpPr","a:xfrm"])){L.next=3;break}return L.abrupt("return",null);case 3:i=parseInt(o["a:off"].attrs.x)*n.options.slideFactor,a=parseInt(o["a:off"].attrs.y)*n.options.slideFactor,s=parseInt(o["a:chOff"].attrs.x)*n.options.slideFactor,c=parseInt(o["a:chOff"].attrs.y)*n.options.slideFactor,l=parseInt(o["a:ext"].attrs.cx)*n.options.slideFactor,u=parseInt(o["a:ext"].attrs.cy)*n.options.slideFactor,f=parseInt(o["a:chExt"].attrs.cx)*n.options.slideFactor,d=parseInt(o["a:chExt"].attrs.cy)*n.options.slideFactor,h=l/f,p=u/d,m=[],L.t0=Wn.keys(t);case 15:if((L.t1=L.t0()).done){L.next=45;break}if(A=L.t1.value,t[A].constructor!==Array){L.next=39;break}x=No(t[A]),L.prev=19,x.s();case 21:if((R=x.n()).done){L.next=29;break}return y=R.value,L.next=25,$v(A,y,n,r);case 25:(g=L.sent)&&m.push(g);case 27:L.next=21;break;case 29:L.next=34;break;case 31:L.prev=31,L.t2=L.catch(19),x.e(L.t2);case 34:return L.prev=34,x.f(),L.finish(34);case 37:L.next=43;break;case 39:return L.next=41,$v(A,t[A],n,r);case 41:(S=L.sent)&&m.push(S);case 43:L.next=15;break;case 45:return L.abrupt("return",{type:"group",top:parseFloat(a.toFixed(2)),left:parseFloat(i.toFixed(2)),width:parseFloat(l.toFixed(2)),height:parseFloat(u.toFixed(2)),elements:m.map(function(T){return tc(tc({},T),{},{left:parseFloat(((T.left-s)*h).toFixed(2)),top:parseFloat(((T.top-c)*p).toFixed(2)),width:parseFloat((T.width*h).toFixed(2)),height:parseFloat((T.height*p).toFixed(2))})})});case 46:case"end":return L.stop()}},e,null,[[19,31,34,37]])})),_3.apply(this,arguments)}function ZC(e,t,n){var r,o,i=Ue(e,["p:nvSpPr","p:cNvPr","attrs","name"]),a=Ue(e,["p:nvSpPr","p:nvPr","p:ph","attrs","idx"]),s=Ue(e,["p:nvSpPr","p:nvPr","p:ph","attrs","type"]);return s?(r=t.slideLayoutTables.typeTable[s],o=t.slideMasterTables.typeTable[s]):a&&(r=t.slideLayoutTables.idxTable[a],o=t.slideMasterTables.idxTable[a]),s||Ue(e,["p:nvSpPr","p:cNvSpPr","attrs","txBox"])==="1"&&(s="text"),s||(s=Ue(r,["p:nvSpPr","p:nvPr","p:ph","attrs","type"])),s||(s=Ue(o,["p:nvSpPr","p:nvPr","p:ph","attrs","type"])),s||(s=n==="diagramBg"?"diagram":"obj"),BC(e,r,o,i,s,t)}function tne(e,t){return BC(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,t)}function BC(e,t,n,r,o,i){var a,s=["p:spPr","a:xfrm"],c=Ue(e,s),l=Ue(t,s),u=Ue(n,s),f=Ue(e,["p:spPr","a:prstGeom","attrs","prst"]),d=Ue(e,["p:spPr","a:custGeom"]),h=Ep(c,l,u,i.options.slideFactor),p=h.top,m=h.left,A=Wp(c,l,u,i.options.slideFactor),x=A.width,R=A.height,y=Ue(c,["attrs","flipV"])==="1",g=Ue(c,["attrs","flipH"])==="1",S=jv(Ue(c,["attrs","rot"])),L=Ue(e,["p:txXfrm"]);if(L){var T=Ue(L,["attrs","rot"]);T&&(a=jv(T)+90)}else a=S;var M="";e["p:txBody"]&&(M=J0(e["p:txBody"],e,t,o,i));var O,k=function(Z,K,U){var J=Z["p:spPr"]["a:ln"],le=parseInt(Ue(J,["attrs","w"]))/12700;isNaN(le)&&(le=J||K==="text"?0:1);var ie=Ue(J,["a:solidFill","a:srgbClr","attrs","val"]);if(!ie){var oe=Ue(J,["a:solidFill","a:schemeClr"]);ie=G0("a:"+Ue(oe,["attrs","val"]),U)}if(!ie){var pe=Ue(Z,["p:style","a:lnRef","a:schemeClr"]);if(ie=G0("a:"+Ue(pe,["attrs","val"]),U)){var ge=Ue(pe,["a:shade","attrs","val"]);if(ge){ge=parseInt(ge)/1e5;var ye=dt("#"+ie).toHsl();ie=dt({h:ye.h,s:ye.s,l:ye.l*ge,a:ye.a}).toHex()}}}ie=ie?"#".concat(ie):"#000";var z="solid",ae="0";switch(Ue(J,["a:prstDash","attrs","val"])){case"solid":z="solid",ae="0";break;case"dash":z="dashed",ae="5";break;case"dashDot":z="dashed",ae="5, 5, 1, 5";break;case"dot":z="dotted",ae="1, 5";break;case"lgDash":z="dashed",ae="10, 5";break;case"lgDashDotDot":z="dotted",ae="10, 5, 1, 5, 1, 5";break;case"sysDash":z="dashed",ae="5, 2";break;case"sysDashDot":z="dotted",ae="5, 2, 1, 5";break;case"sysDashDotDot":z="dotted",ae="5, 2, 1, 5, 1, 5";break;case"sysDot":z="dotted",ae="2, 5"}return{borderColor:ie,borderWidth:le,borderType:z,strokeDasharray:ae}}(e,o,i),_=k.borderColor,N=k.borderWidth,X=k.borderType,C=k.strokeDasharray,F=function(Z,K,U){if(Ue(Z,["p:spPr","a:noFill"]))return K?"none":"";var J;if(J||(J=Ue(Z,["p:spPr","a:solidFill","a:srgbClr","attrs","val"])),J||(J=G0("a:"+Ue(Z,["p:spPr","a:solidFill","a:schemeClr","attrs","val"]),U)),J||(J=G0("a:"+Ue(Z,["p:style","a:fillRef","a:schemeClr","attrs","val"]),U)),J){J="#".concat(J);var le=parseInt(Ue(Z,["p:spPr","a:solidFill","a:schemeClr","a:lumMod","attrs","val"]))/1e5,ie=parseInt(Ue(Z,["p:spPr","a:solidFill","a:schemeClr","a:lumOff","attrs","val"]))/1e5;isNaN(le)&&(le=1),isNaN(ie)&&(ie=0);var oe=dt(J).toHsl(),pe=oe.l*le+ie;return dt({h:oe.h,s:oe.s,l:pe,a:oe.a}).toHexString()}return K?"none":J}(e,void 0,i)||"",I=Ue(e,["p:spPr","a:effectLst","a:outerShdw"]);I&&(O=WC(I,i));var V=function(Z,K,U){var J=Ue(Z,["p:txBody","a:bodyPr","attrs","anchor"]);return J||(J=Ue(K,["p:txBody","a:bodyPr","attrs","anchor"]))||(J=Ue(U,["p:txBody","a:bodyPr","attrs","anchor"]))||(J="t"),J==="ctr"?"mid":J==="b"?"down":"up"}(e,t,n),B=Ue(e,["p:txBody","a:bodyPr","attrs","vert"])==="eaVert",G={left:m,top:p,width:x,height:R,borderColor:_,borderWidth:N,borderType:X,borderStrokeDasharray:C,fillColor:F,content:M,isFlipV:y,isFlipH:g,rotate:S,vAlign:V,name:r};if(O&&(G.shadow=O),d&&o!=="diagram"){var ne=Ue(c,["a:ext","attrs"]),E=function(Z,K,U){var J=Ue(Z,["a:pathLst"]),le=Ue(J,["a:path"]),ie=1/parseInt(le.attrs.w)*K,oe=1/parseInt(le.attrs.h)*U,pe="",ge=Ue(le,["a:moveTo"]),ye=le["a:lnTo"],z=le["a:cubicBezTo"],ae=le["a:arcTo"],W=Ue(le,["a:close"]);Array.isArray(ge)||(ge=[ge]);var j=[];if(ge.length>0){if(Object.keys(ge).forEach(function(Te){var Ce=ge[Te]["a:pt"];Ce&&Object.keys(Ce).forEach(function(He){var et=Ce[He],ke=et.x,De=et.y,tt=et.order;j.push({type:"movto",x:ke,y:De,order:tt})})}),ye&&Object.keys(ye).forEach(function(Te){var Ce=ye[Te]["a:pt"];Ce&&Object.keys(Ce).forEach(function(He){var et=Ce[He],ke=et.x,De=et.y,tt=et.order;j.push({type:"lnto",x:ke,y:De,order:tt})})}),z){var ue=[];Array.isArray(z)||(z=[z]),Object.keys(z).forEach(function(Te){ue.push(z[Te]["a:pt"])}),ue.forEach(function(Te){var Ce=[];Te.forEach(function(et){var ke={x:et.attrs.x,y:et.attrs.y};Ce.push(ke)});var He=Te[0].attrs.order;j.push({type:"cubicBezTo",cubBzPt:Ce,order:He})})}if(ae){var $=ae.attrs,q=$.order,se=$.hR,ve=$.wR,ce=$.stAng,de=$.swAng,be=0,_e=0,Ie=Ue(ae,["a:pt","attrs"]);Ie&&(be=Ie.x,_e=Ie.y),j.push({type:"arcTo",hR:se,wR:ve,stAng:ce,swAng:de,shftX:be,shftY:_e,order:q})}W&&(Array.isArray(W)||(W=[W]),Object.keys(W).forEach(function(){j.push({type:"close",order:1/0})})),j.sort(function(Te,Ce){return Te.order-Ce.order});for(var Ae=0;Ae<j.length;){if(j[Ae].type==="movto")pe+=" M"+parseInt(j[Ae].x)*ie+","+parseInt(j[Ae].y)*oe;else if(j[Ae].type==="lnto")pe+=" L"+parseInt(j[Ae].x)*ie+","+parseInt(j[Ae].y)*oe;else if(j[Ae].type==="cubicBezTo")pe+=" C"+parseInt(j[Ae].cubBzPt[0].x)*ie+","+parseInt(j[Ae].cubBzPt[0].y)*oe+" "+parseInt(j[Ae].cubBzPt[1].x)*ie+","+parseInt(j[Ae].cubBzPt[1].y)*oe+" "+parseInt(j[Ae].cubBzPt[2].x)*ie+","+parseInt(j[Ae].cubBzPt[2].y)*oe;else if(j[Ae].type==="arcTo"){var qe=parseInt(j[Ae].hR)*ie,Xe=parseInt(j[Ae].wR)*oe,Le=parseInt(j[Ae].stAng)/6e4;pe+=Jte(Xe,qe,Xe,qe,Le,Le+parseInt(j[Ae].swAng)/6e4,!1)}else j[Ae].type==="close"&&(pe+="z");Ae++}}return pe}(d,parseInt(ne.cx)*i.options.slideFactor,parseInt(ne.cy)*i.options.slideFactor);return tc(tc({},G),{},{type:"shape",shapType:"custom",path:E})}return tc(tc({},G),{},f&&o!=="text"?{type:"shape",shapType:f}:{type:"text",isVertical:B,rotate:a})}function nne(e,t,n){return X3.apply(this,arguments)}function X3(){return X3=ii(Wn.mark(function e(t,n,r){var o,i,a,s,c,l,u,f,d,h,p,m,A,x,R,y,g,S,L,T,M,O,k,_,N,X,C,F,I,V,B,G,ne;return Wn.wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return o=r==="slideMasterBg"?n.masterResObj:r==="slideLayoutBg"?n.layoutResObj:n.slideResObj,i=t["p:blipFill"]["a:blip"].attrs["r:embed"],a=o[i].target,s=Ty(a).toLowerCase(),c=n.zip,E.next=7,c.file(a).async("arraybuffer");case 7:if(l=E.sent,u=t["p:spPr"]["a:xfrm"],f=N3(s),d=Ep(u,void 0,void 0,n.options.slideFactor),h=d.top,p=d.left,m=Wp(u,void 0,void 0,n.options.slideFactor),A=m.width,x=m.height,R="data:".concat(f,";base64,").concat(FC(l)),y=Ue(u,["attrs","flipV"])==="1",g=Ue(u,["attrs","flipH"])==="1",S=0,(L=Ue(t,["p:spPr","a:xfrm","attrs","rot"]))&&(S=jv(L)),T=Ue(t,["p:nvPicPr","p:nvPr","a:videoFile"]),C=!1,!T){E.next=35;break}if(M=T.attrs["r:link"],!Zte(O=o[M].target)){E.next=28;break}O=_C(O),C=!0,E.next=35;break;case 28:if((k=Ty(O).toLowerCase())!=="mp4"&&k!=="webm"&&k!=="ogg"){E.next=35;break}return E.next=32,c.file(O).async("arraybuffer");case 32:N=E.sent,_=N3(k),X=URL.createObjectURL(new Blob([N],{type:_}));case 35:if(!(F=Ue(t,["p:nvPicPr","p:nvPr","a:audioFile"]))){E.next=45;break}if(I=F.attrs["r:link"],V=o[I].target,(B=Ty(V).toLowerCase())!=="mp3"&&B!=="wav"&&B!=="ogg"){E.next=45;break}return E.next=43,c.file(V).async("arraybuffer");case 43:G=E.sent,ne=URL.createObjectURL(new Blob([G]));case 45:if(!T||C){E.next=47;break}return E.abrupt("return",{type:"video",top:h,left:p,width:A,height:x,rotate:S,blob:X});case 47:if(!T||!C){E.next=49;break}return E.abrupt("return",{type:"video",top:h,left:p,width:A,height:x,rotate:S,src:O});case 49:if(!F){E.next=51;break}return E.abrupt("return",{type:"audio",top:h,left:p,width:A,height:x,rotate:S,blob:ne});case 51:return E.abrupt("return",{type:"image",top:h,left:p,width:A,height:x,rotate:S,src:R,isFlipV:y,isFlipH:g});case 52:case"end":return E.stop()}},e)})),X3.apply(this,arguments)}function rne(e,t,n){return E3.apply(this,arguments)}function E3(){return E3=ii(Wn.mark(function e(t,n,r){var o,i,a;return Wn.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:o=Ue(t,["a:graphic","a:graphicData","attrs","uri"]),s.t0=o,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 i=one(t,n),s.abrupt("break",15);case 6:return s.next=8,ine(t,n);case 8:return i=s.sent,s.abrupt("break",15);case 10:return i=ane(t,n),s.abrupt("break",15);case 12:return(a=Ue(t,["a:graphic","a:graphicData","mc:AlternateContent","mc:Fallback","p:oleObj"]))?F3(a,n,r):a=Ue(t,["a:graphic","a:graphicData","p:oleObj"]),s.abrupt("break",15);case 15:return s.abrupt("return",i);case 16:case"end":return s.stop()}},e)})),E3.apply(this,arguments)}function one(e,t){var n,r=Ue(e,["a:graphic","a:graphicData","a:tbl"]),o=Ue(e,["p:xfrm"]),i=Ep(o,void 0,void 0,t.options.slideFactor),a=i.top,s=i.left,c=Wp(o,void 0,void 0,t.options.slideFactor),l=c.width,u=c.height,f=Ue(e,["a:graphic","a:graphicData","a:tbl","a:tblPr"])["a:tableStyleId"];if(f){var d=t.tableStyles["a:tblStyleLst"]["a:tblStyle"];if(d)if(d.constructor===Array)for(var h=0;h<d.length;h++)d[h].attrs.styleId===f&&(n=d[h]);else d.attrs.styleId===f&&(n=d)}var p="",m=Ue(n,["a:tblBg","a:fillRef"]);m&&(p=Ru(m,0,0,t)),m===void 0&&(p=Ru(m=Ue(n,["a:wholeTbl","a:tcStyle","a:fill","a:solidFill"]),0,0,t)),p!==""&&(p="#"+p);var A=r["a:tr"],x=[];if(A.constructor===Array){var R,y=No(A);try{for(y.s();!(R=y.n()).done;){var g=R.value["a:tc"],S=[];if(g.constructor===Array){var L,T=No(g);try{for(T.s();!(L=T.n()).done;){var M=L.value,O=J0(M["a:txBody"],M,void 0,void 0,t),k=Ue(M,["attrs","rowSpan"]),_=Ue(M,["attrs","gridSpan"]),N=Ue(M,["attrs","vMerge"]),X=Ue(M,["attrs","hMerge"]);S.push({text:O,rowSpan:k,colSpan:_,vMerge:N,hMerge:X})}}catch(Z){T.e(Z)}finally{T.f()}}else{var C=J0(g["a:txBody"],g,void 0,void 0,t);S.push({text:C})}x.push(S)}}catch(Z){y.e(Z)}finally{y.f()}}else{var F=A["a:tc"],I=[];if(F.constructor===Array){var V,B=No(F);try{for(B.s();!(V=B.n()).done;){var G=V.value,ne=J0(G["a:txBody"],G,void 0,void 0,t);I.push({text:ne})}}catch(Z){B.e(Z)}finally{B.f()}}else{var E=J0(F["a:txBody"],F,void 0,void 0,t);I.push({text:E})}x.push(I)}return{type:"table",top:a,left:s,width:l,height:u,data:x,themeColor:p}}function ine(e,t){return W3.apply(this,arguments)}function W3(){return W3=ii(Wn.mark(function e(t,n){var r,o,i,a,s,c,l,u,f,d,h,p,m;return Wn.wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return r=Ue(t,["p:xfrm"]),o=Ep(r,void 0,void 0,n.options.slideFactor),i=o.top,a=o.left,s=Wp(r,void 0,void 0,n.options.slideFactor),c=s.width,l=s.height,u=t["a:graphic"]["a:graphicData"]["c:chart"].attrs["r:id"],f=n.slideResObj[u].target,A.next=7,Lo(n.zip,f);case 7:if(d=A.sent,h=Ue(d,["c:chartSpace","c:chart","c:plotArea"]),p=Kte(h)){A.next=12;break}return A.abrupt("return",{});case 12:return m={type:"chart",top:i,left:a,width:c,height:l,data:p.data,chartType:p.type},p.marker!==void 0&&(m.marker=p.marker),p.barDir!==void 0&&(m.barDir=p.barDir),p.holeSize!==void 0&&(m.holeSize=p.holeSize),p.grouping!==void 0&&(m.grouping=p.grouping),p.style!==void 0&&(m.style=p.style),A.abrupt("return",m);case 19:case"end":return A.stop()}},e)})),W3.apply(this,arguments)}function ane(e,t){var n=Ue(e,["p:xfrm"]),r=Ep(n,void 0,void 0,t.options.slideFactor),o=r.left,i=r.top,a=Wp(n,void 0,void 0,t.options.slideFactor),s=a.width,c=a.height,l=Ue(t.digramFileContent,["p:drawing","p:spTree","p:sp"]),u=[];if(l){var f,d=No(l);try{for(d.s();!(f=d.n()).done;){var h=ZC(f.value,t,"diagramBg");h&&u.push(h)}}catch(p){d.e(p)}finally{d.f()}}return{type:"diagram",left:o,top:i,width:s,height:c,elements:u}}const sne=()=>{const e=ct(),{theme:t}=Ee(ct()),{addSlidesFromData:n,isEmptySlide:r}=Dg(),o=me(!1),i=(c,l=!1)=>{const u=c[0],f=new FileReader;f.addEventListener("load",()=>{try{const d=JSON.parse(BP(f.result));l||r.value?e.setSlides(d):n(d)}catch{wn.error("无法正确读取 / 解析该文件")}}),f.readAsText(u)},a=c=>{let l=[0,0],u=[0,0];return!c.isFlipV&&!c.isFlipH?(l=[0,0],u=[c.width,c.height]):c.isFlipV&&c.isFlipH?(l=[c.width,c.height],u=[0,0]):c.isFlipV&&!c.isFlipH?(l=[0,c.height],u=[c.width,0]):(l=[c.width,0],u=[0,c.height]),{type:"line",id:yn(10),width:c.borderWidth||1,left:c.left,top:c.top,start:l,end:u,style:c.borderType==="solid"?"solid":"dashed",color:c.borderColor,points:["",c.shapType==="straightConnector1"?"arrow":""]}};return{importSpecificFile:i,importPPTXFile:c=>{const l=c[0];if(!l)return;o.value=!0;const u=[];for(const d of Tb)u.push(...d.children);const f=new FileReader;f.onload=async d=>{const h=await zte(d.target.result,{slideFactor:8202099737532808e-20,fontsizeFactor:1.0204081632653061}),p=h.size.width,m=Ht/p,A=[];for(const x of h.slides){const{type:R,value:y}=x.fill;let g;R==="image"?g={type:"image",image:y.picBase64,imageSize:"cover"}:R==="gradient"?g={type:"gradient",gradientType:"linear",gradientColor:[y.colors[0].color,y.colors[y.colors.length-1].color],gradientRotate:y.rot}:g={type:"solid",color:y};const S={id:yn(10),elements:[],background:g},L=T=>{for(const M of T){const O=M.width,k=M.height,_=M.left,N=M.top;if(M.width=M.width*m,M.height=M.height*m,M.left=M.left*m,M.top=M.top*m,M.type==="text"){const X={type:"text",id:yn(10),width:M.width,height:M.height,left:M.left,top:M.top,rotate:M.rotate,defaultFontName:t.value.fontName,defaultColor:t.value.fontColor,content:M.content,lineHeight:1,outline:{color:M.borderColor,width:M.borderWidth,style:M.borderType==="solid"?"solid":"dashed"},fill:M.fillColor,vertical:M.isVertical};M.shadow&&(X.shadow=M.shadow),S.elements.push(X)}else if(M.type==="image")S.elements.push({type:"image",id:yn(10),src:M.src,width:M.width,height:M.height,left:M.left,top:M.top,fixedRatio:!0,rotate:M.rotate,flipH:M.isFlipH,flipV:M.isFlipV});else if(M.type==="audio")S.elements.push({type:"audio",id:yn(10),src:M.blob,width:M.width,height:M.height,left:M.left,top:M.top,rotate:0,fixedRatio:!1,color:t.value.themeColor,loop:!1,autoplay:!1});else if(M.type==="video")S.elements.push({type:"video",id:yn(10),src:M.blob||M.src,width:M.width,height:M.height,left:M.left,top:M.top,rotate:0,autoplay:!1});else if(M.type==="shape")if(M.shapType==="line"||/Connector/.test(M.shapType)){const X=a(M);S.elements.push(X)}else{const X=u.find(I=>I.pptxShapeType===M.shapType),C={mid:"middle",down:"bottom",up:"top"},F={type:"shape",id:yn(10),width:M.width,height:M.height,left:M.left,top:M.top,viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z",fill:M.fillColor||"none",fixedRatio:!1,rotate:M.rotate,outline:{color:M.borderColor,width:M.borderWidth,style:M.borderType==="solid"?"solid":"dashed"},text:{content:M.content,defaultFontName:t.value.fontName,defaultColor:t.value.fontColor,align:C[M.vAlign]||"middle"},flipH:M.isFlipH,flipV:M.isFlipV};if(M.shadow&&(F.shadow=M.shadow),X&&(F.path=X.path,F.viewBox=X.viewBox,X.pathFormula)){F.pathFormula=X.pathFormula,F.viewBox=[M.width,M.height];const I=zu[X.pathFormula];"editable"in I?(F.path=I.formula(M.width,M.height,I.defaultValue),F.keypoint=I.defaultValue):F.path=I.formula(M.width,M.height)}M.shapType==="custom"&&(F.special=!0,F.path=M.path,F.viewBox=[O,k]),S.elements.push(F)}else if(M.type==="table"){const X=M.data.length,C=M.data[0].length,F={fontname:t.value.fontName,color:t.value.fontColor},I=[];for(let B=0;B<X;B++){const G=[];for(let ne=0;ne<C;ne++){const E=M.data[B][ne];let Z=document.createElement("div");Z.innerHTML=E.text;const K=Z.querySelector("p"),U=(K==null?void 0:K.style.textAlign)||"left",J=(K==null?void 0:K.style.fontSize)||"",le=(K==null?void 0:K.style.fontFamily)||"";G.push({id:yn(10),colspan:E.colSpan||1,rowspan:E.rowSpan||1,text:Z.innerText,style:{...F,align:["left","right","center"].includes(U)?U:"left",fontsize:J,fontname:le}}),Z=null}I.push(G)}const V=new Array(C).fill(1/C);S.elements.push({type:"table",id:yn(10),width:M.width,height:M.height,left:M.left,top:M.top,colWidths:V,rotate:0,data:I,outline:{width:2,style:"solid",color:"#eeece1"},theme:{color:M.themeColor,rowHeader:!0,rowFooter:!1,colHeader:!1,colFooter:!1},cellMinHeight:36})}else if(M.type==="chart"){let X,C,F;if(M.chartType==="scatterChart"||M.chartType==="bubbleChart"){const B=M.data;X=B[0].map(G=>G+""),C=["系列1"],F=[B[1]]}else{const B=M.data;X=Object.values(B[0].xlabels),C=B.map(G=>G.key),F=B.map(G=>G.values.map(ne=>ne.y))}const I={};let V="bar";switch(M.chartType){case"barChart":case"bar3DChart":V="bar",M.barDir==="bar"&&(I.horizontalBars=!0),(M.grouping==="stacked"||M.grouping==="percentStacked")&&(I.stackBars=!0);break;case"lineChart":case"line3DChart":case"areaChart":case"area3DChart":case"scatterChart":case"bubbleChart":V="line",(M.chartType==="areaChart"||M.chartType==="area3DChart")&&(I.showArea=!0),(M.chartType==="scatterChart"||M.chartType==="bubbleChart")&&(I.showLine=!1);break;case"pieChart":case"pie3DChart":case"doughnutChart":V="pie",M.chartType==="doughnutChart"&&(I.donut=!0);break}S.elements.push({type:"chart",id:yn(10),chartType:V,width:M.width,height:M.height,left:M.left,top:M.top,rotate:0,themeColor:[t.value.themeColor],gridColor:t.value.fontColor,data:{labels:X,legends:C,series:F},options:I})}else if(M.type==="group"||M.type==="diagram"){const X=M.elements.map(C=>({...C,left:C.left+_,top:C.top+N}));L(X)}}};L(x.elements),A.push(S)}r.value?e.setSlides(A):n(A),o.value=!1},f.readAsArrayBuffer(l)},exporting:o}},lne={class:"hotkey-doc"},cne={class:"title"},une={class:"label"},fne={class:"value"},dne=Fe({__name:"HotkeyDoc",setup(e){return(t,n)=>(Q(),ee("div",lne,[(Q(!0),ee(Ve,null,st(H(oz),r=>(Q(),ee(Ve,{key:r.type},[Y("div",cne,bt(r.type),1),(Q(!0),ee(Ve,null,st(r.children,o=>(Q(),ee("div",{class:"hotkey-item",key:o.label},[Y("div",une,bt(o.label),1),Y("div",fne,bt(o.value),1)]))),128))],64))),128))]))}}),hne=We(dne,[["__scopeId","data-v-0762be00"]]),pne=["accept"],mne=Fe({__name:"FileInput",props:{accept:{default:"image/*"}},emits:["change"],setup(e,{emit:t}){const n=t,r=me(),o=()=>{r.value&&(r.value.value="",r.value.click())},i=a=>{const s=a.target.files;s&&n("change",s)};return(a,s)=>(Q(),ee("div",{class:"file-input",onClick:s[1]||(s[1]=c=>o())},[cr(a.$slots,"default",{},void 0,!0),Y("input",{class:"input",type:"file",name:"upload",ref_key:"inputRef",ref:r,accept:a.accept,onChange:s[0]||(s[0]=c=>i(c))},null,40,pne)]))}}),Xu=We(mne,[["__scopeId","data-v-1bd53d05"]]),vne=e=>(on("data-v-9856918a"),e=e(),an(),e),gne={key:0,class:"fullscreen-spin"},Ane={class:"spin"},Rne=vne(()=>Y("div",{class:"spinner"},null,-1)),yne={class:"text"},xne=Fe({__name:"FullscreenSpin",props:{loading:{type:Boolean,default:!1},tip:{default:""}},setup(e){return(t,n)=>t.loading?(Q(),ee("div",gne,[Y("div",Ane,[Rne,Y("div",yne,bt(t.tip),1)])])):Be("",!0)}}),Gb=We(xne,[["__scopeId","data-v-9856918a"]]),bne={class:"header"},Sne=Fe({__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,o=me(!1),i=Se(()=>({width:n.width+"px",...n.contentStyle||{}}));return(a,s)=>{const c=xe("IconClose");return Q(),Oe($x,{to:"body"},[w(ku,{name:`drawer-slide-${a.placement}`,onAfterLeave:s[1]||(s[1]=l=>o.value=!1),onBeforeEnter:s[2]||(s[2]=l=>o.value=!0)},{default:re(()=>[Ze(Y("div",{class:$e(["drawer",a.placement]),style:we({width:n.width+"px"})},[Y("div",bne,[cr(a.$slots,"title",{},void 0,!0),Y("span",{class:"close-btn",onClick:s[0]||(s[0]=l=>r("update:visible",!1))},[w(c)])]),o.value?(Q(),ee("div",{key:0,class:"content",style:we(i.value)},[cr(a.$slots,"default",{},void 0,!0)],4)):Be("",!0)],6),[[il,a.visible]])]),_:3},8,["name"])])}}}),Mne=We(Sne,[["__scopeId","data-v-46f39759"]]),wne={class:"prefix"},Lne=["disabled","value","placeholder"],One={class:"suffix"},Tne=Fe({__name:"Input",props:{value:{},disabled:{type:Boolean,default:!1},placeholder:{default:""}},emits:["update:value","input","change","blur","focus","enter"],setup(e,{expose:t,emit:n}){const r=n,o=me(!1),i=u=>{r("update:value",u.target.value)},a=u=>{o.value=!1,r("blur",u)},s=u=>{o.value=!0,r("focus",u)},c=me();return t({focus:()=>{c.value&&c.value.focus()}}),(u,f)=>(Q(),ee("div",{class:$e(["input",{disabled:u.disabled,focused:o.value}])},[Y("span",wne,[cr(u.$slots,"prefix",{},void 0,!0)]),Y("input",{type:"text",ref_key:"inputRef",ref:c,disabled:u.disabled,value:u.value,placeholder:u.placeholder,onInput:f[0]||(f[0]=d=>i(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]=gc(d=>r("enter",d),["enter"]))},null,40,Lne),Y("span",One,[cr(u.$slots,"suffix",{},void 0,!0)])],2))}}),Eu=We(Tne,[["__scopeId","data-v-08dd2583"]]);var ei="top",ta="bottom",na="right",ti="left",Jb="auto",Vp=[ei,ta,na,ti],kd="start",rp="end",kne="clippingParents",DC="viewport",g0="popper",Nne="reference",gO=Vp.reduce(function(e,t){return e.concat([t+"-"+kd,t+"-"+rp])},[]),KC=[].concat(Vp,[Jb]).reduce(function(e,t){return e.concat([t,t+"-"+kd,t+"-"+rp])},[]),Pne="beforeRead",Cne="read",Ine="afterRead",Fne="beforeMain",_ne="main",Xne="afterMain",Ene="beforeWrite",Wne="write",Vne="afterWrite",Une=[Pne,Cne,Ine,Fne,_ne,Xne,Ene,Wne,Vne];function ms(e){return e?(e.nodeName||"").toLowerCase():null}function Ci(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Wu(e){var t=Ci(e).Element;return e instanceof t||e instanceof Element}function ji(e){var t=Ci(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function zb(e){if(typeof ShadowRoot>"u")return!1;var t=Ci(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Yne(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},i=t.elements[n];!ji(i)||!ms(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(a){var s=o[a];s===!1?i.removeAttribute(a):i.setAttribute(a,s===!0?"":s)}))})}function Qne(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 o=t.elements[r],i=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=a.reduce(function(c,l){return c[l]="",c},{});!ji(o)||!ms(o)||(Object.assign(o.style,s),Object.keys(i).forEach(function(c){o.removeAttribute(c)}))})}}const HC={name:"applyStyles",enabled:!0,phase:"write",fn:Yne,effect:Qne,requires:["computeStyles"]};function ds(e){return e.split("-")[0]}var yu=Math.max,qv=Math.min,Nd=Math.round;function V3(){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 GC(){return!/^((?!chrome|android).)*safari/i.test(V3())}function Pd(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&ji(e)&&(o=e.offsetWidth>0&&Nd(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Nd(r.height)/e.offsetHeight||1);var a=Wu(e)?Ci(e):window,s=a.visualViewport,c=!GC()&&n,l=(r.left+(c&&s?s.offsetLeft:0))/o,u=(r.top+(c&&s?s.offsetTop:0))/i,f=r.width/o,d=r.height/i;return{width:f,height:d,top:u,right:l+f,bottom:u+d,left:l,x:l,y:u}}function jb(e){var t=Pd(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 JC(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&zb(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function sl(e){return Ci(e).getComputedStyle(e)}function Zne(e){return["table","td","th"].indexOf(ms(e))>=0}function wc(e){return((Wu(e)?e.ownerDocument:e.document)||window.document).documentElement}function n2(e){return ms(e)==="html"?e:e.assignedSlot||e.parentNode||(zb(e)?e.host:null)||wc(e)}function AO(e){return!ji(e)||sl(e).position==="fixed"?null:e.offsetParent}function Bne(e){var t=/firefox/i.test(V3()),n=/Trident/i.test(V3());if(n&&ji(e)){var r=sl(e);if(r.position==="fixed")return null}var o=n2(e);for(zb(o)&&(o=o.host);ji(o)&&["html","body"].indexOf(ms(o))<0;){var i=sl(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function Up(e){for(var t=Ci(e),n=AO(e);n&&Zne(n)&&sl(n).position==="static";)n=AO(n);return n&&(ms(n)==="html"||ms(n)==="body"&&sl(n).position==="static")?t:n||Bne(e)||t}function $b(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Mh(e,t,n){return yu(e,qv(t,n))}function Dne(e,t,n){var r=Mh(e,t,n);return r>n?n:r}function zC(){return{top:0,right:0,bottom:0,left:0}}function jC(e){return Object.assign({},zC(),e)}function $C(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var Kne=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,jC(typeof t!="number"?t:$C(t,Vp))};function Hne(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=ds(n.placement),c=$b(s),l=[ti,na].indexOf(s)>=0,u=l?"height":"width";if(!(!i||!a)){var f=Kne(o.padding,n),d=jb(i),h=c==="y"?ei:ti,p=c==="y"?ta:na,m=n.rects.reference[u]+n.rects.reference[c]-a[c]-n.rects.popper[u],A=a[c]-n.rects.reference[c],x=Up(i),R=x?c==="y"?x.clientHeight||0:x.clientWidth||0:0,y=m/2-A/2,g=f[h],S=R-d[u]-f[p],L=R/2-d[u]/2+y,T=Mh(g,L,S),M=c;n.modifiersData[r]=(t={},t[M]=T,t.centerOffset=T-L,t)}}function Gne(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||JC(t.elements.popper,o)&&(t.elements.arrow=o))}const Jne={name:"arrow",enabled:!0,phase:"main",fn:Hne,effect:Gne,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Cd(e){return e.split("-")[1]}var zne={top:"auto",right:"auto",bottom:"auto",left:"auto"};function jne(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Nd(n*o)/o||0,y:Nd(r*o)/o||0}}function RO(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,c=e.gpuAcceleration,l=e.adaptive,u=e.roundOffsets,f=e.isFixed,d=a.x,h=d===void 0?0:d,p=a.y,m=p===void 0?0:p,A=typeof u=="function"?u({x:h,y:m}):{x:h,y:m};h=A.x,m=A.y;var x=a.hasOwnProperty("x"),R=a.hasOwnProperty("y"),y=ti,g=ei,S=window;if(l){var L=Up(n),T="clientHeight",M="clientWidth";if(L===Ci(n)&&(L=wc(n),sl(L).position!=="static"&&s==="absolute"&&(T="scrollHeight",M="scrollWidth")),L=L,o===ei||(o===ti||o===na)&&i===rp){g=ta;var O=f&&L===S&&S.visualViewport?S.visualViewport.height:L[T];m-=O-r.height,m*=c?1:-1}if(o===ti||(o===ei||o===ta)&&i===rp){y=na;var k=f&&L===S&&S.visualViewport?S.visualViewport.width:L[M];h-=k-r.width,h*=c?1:-1}}var _=Object.assign({position:s},l&&zne),N=u===!0?jne({x:h,y:m},Ci(n)):{x:h,y:m};if(h=N.x,m=N.y,c){var X;return Object.assign({},_,(X={},X[g]=R?"0":"",X[y]=x?"0":"",X.transform=(S.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",X))}return Object.assign({},_,(t={},t[g]=R?m+"px":"",t[y]=x?h+"px":"",t.transform="",t))}function $ne(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,a=i===void 0?!0:i,s=n.roundOffsets,c=s===void 0?!0:s,l={placement:ds(t.placement),variation:Cd(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,RO(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,RO(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const qne={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:$ne,data:{}};var gm={passive:!0};function ere(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=o===void 0?!0:o,a=r.resize,s=a===void 0?!0:a,c=Ci(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&l.forEach(function(u){u.addEventListener("scroll",n.update,gm)}),s&&c.addEventListener("resize",n.update,gm),function(){i&&l.forEach(function(u){u.removeEventListener("scroll",n.update,gm)}),s&&c.removeEventListener("resize",n.update,gm)}}const tre={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:ere,data:{}};var nre={left:"right",right:"left",bottom:"top",top:"bottom"};function $m(e){return e.replace(/left|right|bottom|top/g,function(t){return nre[t]})}var rre={start:"end",end:"start"};function yO(e){return e.replace(/start|end/g,function(t){return rre[t]})}function qb(e){var t=Ci(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function e5(e){return Pd(wc(e)).left+qb(e).scrollLeft}function ore(e,t){var n=Ci(e),r=wc(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;var l=GC();(l||!l&&t==="fixed")&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s+e5(e),y:c}}function ire(e){var t,n=wc(e),r=qb(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=yu(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=yu(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+e5(e),c=-r.scrollTop;return sl(o||n).direction==="rtl"&&(s+=yu(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}function t5(e){var t=sl(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function qC(e){return["html","body","#document"].indexOf(ms(e))>=0?e.ownerDocument.body:ji(e)&&t5(e)?e:qC(n2(e))}function wh(e,t){var n;t===void 0&&(t=[]);var r=qC(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=Ci(r),a=o?[i].concat(i.visualViewport||[],t5(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(wh(n2(a)))}function U3(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function are(e,t){var n=Pd(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 xO(e,t,n){return t===DC?U3(ore(e,n)):Wu(t)?are(t,n):U3(ire(wc(e)))}function sre(e){var t=wh(n2(e)),n=["absolute","fixed"].indexOf(sl(e).position)>=0,r=n&&ji(e)?Up(e):e;return Wu(r)?t.filter(function(o){return Wu(o)&&JC(o,r)&&ms(o)!=="body"}):[]}function lre(e,t,n,r){var o=t==="clippingParents"?sre(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce(function(c,l){var u=xO(e,l,r);return c.top=yu(u.top,c.top),c.right=qv(u.right,c.right),c.bottom=qv(u.bottom,c.bottom),c.left=yu(u.left,c.left),c},xO(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 eI(e){var t=e.reference,n=e.element,r=e.placement,o=r?ds(r):null,i=r?Cd(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,c;switch(o){case ei:c={x:a,y:t.y-n.height};break;case ta:c={x:a,y:t.y+t.height};break;case na:c={x:t.x+t.width,y:s};break;case ti:c={x:t.x-n.width,y:s};break;default:c={x:t.x,y:t.y}}var l=o?$b(o):null;if(l!=null){var u=l==="y"?"height":"width";switch(i){case kd:c[l]=c[l]-(t[u]/2-n[u]/2);break;case rp:c[l]=c[l]+(t[u]/2-n[u]/2);break}}return c}function op(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,i=n.strategy,a=i===void 0?e.strategy:i,s=n.boundary,c=s===void 0?kne:s,l=n.rootBoundary,u=l===void 0?DC:l,f=n.elementContext,d=f===void 0?g0:f,h=n.altBoundary,p=h===void 0?!1:h,m=n.padding,A=m===void 0?0:m,x=jC(typeof A!="number"?A:$C(A,Vp)),R=d===g0?Nne:g0,y=e.rects.popper,g=e.elements[p?R:d],S=lre(Wu(g)?g:g.contextElement||wc(e.elements.popper),c,u,a),L=Pd(e.elements.reference),T=eI({reference:L,element:y,strategy:"absolute",placement:o}),M=U3(Object.assign({},y,T)),O=d===g0?M:L,k={top:S.top-O.top+x.top,bottom:O.bottom-S.bottom+x.bottom,left:S.left-O.left+x.left,right:O.right-S.right+x.right},_=e.modifiersData.offset;if(d===g0&&_){var N=_[o];Object.keys(k).forEach(function(X){var C=[na,ta].indexOf(X)>=0?1:-1,F=[ei,ta].indexOf(X)>=0?"y":"x";k[X]+=N[F]*C})}return k}function cre(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,l=c===void 0?KC:c,u=Cd(r),f=u?s?gO:gO.filter(function(p){return Cd(p)===u}):Vp,d=f.filter(function(p){return l.indexOf(p)>=0});d.length===0&&(d=f);var h=d.reduce(function(p,m){return p[m]=op(e,{placement:m,boundary:o,rootBoundary:i,padding:a})[ds(m)],p},{});return Object.keys(h).sort(function(p,m){return h[p]-h[m]})}function ure(e){if(ds(e)===Jb)return[];var t=$m(e);return[yO(e),t,yO(t)]}function fre(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,s=a===void 0?!0:a,c=n.fallbackPlacements,l=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,p=h===void 0?!0:h,m=n.allowedAutoPlacements,A=t.options.placement,x=ds(A),R=x===A,y=c||(R||!p?[$m(A)]:ure(A)),g=[A].concat(y).reduce(function(U,J){return U.concat(ds(J)===Jb?cre(t,{placement:J,boundary:u,rootBoundary:f,padding:l,flipVariations:p,allowedAutoPlacements:m}):J)},[]),S=t.rects.reference,L=t.rects.popper,T=new Map,M=!0,O=g[0],k=0;k<g.length;k++){var _=g[k],N=ds(_),X=Cd(_)===kd,C=[ei,ta].indexOf(N)>=0,F=C?"width":"height",I=op(t,{placement:_,boundary:u,rootBoundary:f,altBoundary:d,padding:l}),V=C?X?na:ti:X?ta:ei;S[F]>L[F]&&(V=$m(V));var B=$m(V),G=[];if(i&&G.push(I[N]<=0),s&&G.push(I[V]<=0,I[B]<=0),G.every(function(U){return U})){O=_,M=!1;break}T.set(_,G)}if(M)for(var ne=p?3:1,E=function(J){var le=g.find(function(ie){var oe=T.get(ie);if(oe)return oe.slice(0,J).every(function(pe){return pe})});if(le)return O=le,"break"},Z=ne;Z>0;Z--){var K=E(Z);if(K==="break")break}t.placement!==O&&(t.modifiersData[r]._skip=!0,t.placement=O,t.reset=!0)}}const dre={name:"flip",enabled:!0,phase:"main",fn:fre,requiresIfExists:["offset"],data:{_skip:!1}};function bO(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 SO(e){return[ei,na,ta,ti].some(function(t){return e[t]>=0})}function hre(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=op(t,{elementContext:"reference"}),s=op(t,{altBoundary:!0}),c=bO(a,r),l=bO(s,o,i),u=SO(c),f=SO(l);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const pre={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:hre};function mre(e,t,n){var r=ds(e),o=[ti,ei].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[ti,na].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function vre(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=o===void 0?[0,0]:o,a=KC.reduce(function(u,f){return u[f]=mre(f,t.rects,i),u},{}),s=a[t.placement],c=s.x,l=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=a}const gre={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:vre};function Are(e){var t=e.state,n=e.name;t.modifiersData[n]=eI({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Rre={name:"popperOffsets",enabled:!0,phase:"read",fn:Are,data:{}};function yre(e){return e==="x"?"y":"x"}function xre(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,s=a===void 0?!1:a,c=n.boundary,l=n.rootBoundary,u=n.altBoundary,f=n.padding,d=n.tether,h=d===void 0?!0:d,p=n.tetherOffset,m=p===void 0?0:p,A=op(t,{boundary:c,rootBoundary:l,padding:f,altBoundary:u}),x=ds(t.placement),R=Cd(t.placement),y=!R,g=$b(x),S=yre(g),L=t.modifiersData.popperOffsets,T=t.rects.reference,M=t.rects.popper,O=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,k=typeof O=="number"?{mainAxis:O,altAxis:O}:Object.assign({mainAxis:0,altAxis:0},O),_=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,N={x:0,y:0};if(L){if(i){var X,C=g==="y"?ei:ti,F=g==="y"?ta:na,I=g==="y"?"height":"width",V=L[g],B=V+A[C],G=V-A[F],ne=h?-M[I]/2:0,E=R===kd?T[I]:M[I],Z=R===kd?-M[I]:-T[I],K=t.elements.arrow,U=h&&K?jb(K):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:zC(),le=J[C],ie=J[F],oe=Mh(0,T[I],U[I]),pe=y?T[I]/2-ne-oe-le-k.mainAxis:E-oe-le-k.mainAxis,ge=y?-T[I]/2+ne+oe+ie+k.mainAxis:Z+oe+ie+k.mainAxis,ye=t.elements.arrow&&Up(t.elements.arrow),z=ye?g==="y"?ye.clientTop||0:ye.clientLeft||0:0,ae=(X=_==null?void 0:_[g])!=null?X:0,W=V+pe-ae-z,j=V+ge-ae,ue=Mh(h?qv(B,W):B,V,h?yu(G,j):G);L[g]=ue,N[g]=ue-V}if(s){var $,q=g==="x"?ei:ti,se=g==="x"?ta:na,ve=L[S],ce=S==="y"?"height":"width",de=ve+A[q],be=ve-A[se],_e=[ei,ti].indexOf(x)!==-1,Ie=($=_==null?void 0:_[S])!=null?$:0,Ae=_e?de:ve-T[ce]-M[ce]-Ie+k.altAxis,qe=_e?ve+T[ce]+M[ce]-Ie-k.altAxis:be,Xe=h&&_e?Dne(Ae,ve,qe):Mh(h?Ae:de,ve,h?qe:be);L[S]=Xe,N[S]=Xe-ve}t.modifiersData[r]=N}}const bre={name:"preventOverflow",enabled:!0,phase:"main",fn:xre,requiresIfExists:["offset"]};function Sre(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Mre(e){return e===Ci(e)||!ji(e)?qb(e):Sre(e)}function wre(e){var t=e.getBoundingClientRect(),n=Nd(t.width)/e.offsetWidth||1,r=Nd(t.height)/e.offsetHeight||1;return n!==1||r!==1}function Lre(e,t,n){n===void 0&&(n=!1);var r=ji(t),o=ji(t)&&wre(t),i=wc(t),a=Pd(e,o,n),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((ms(t)!=="body"||t5(i))&&(s=Mre(t)),ji(t)?(c=Pd(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):i&&(c.x=e5(i))),{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function Ore(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function o(i){n.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var c=t.get(s);c&&o(c)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||o(i)}),r}function Tre(e){var t=Ore(e);return Une.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function kre(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Nre(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var MO={placement:"bottom",modifiers:[],strategy:"absolute"};function wO(){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 Pre(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,i=o===void 0?MO:o;return function(s,c,l){l===void 0&&(l=i);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},MO,i),modifiersData:{},elements:{reference:s,popper:c},attributes:{},styles:{}},f=[],d=!1,h={state:u,setOptions:function(x){var R=typeof x=="function"?x(u.options):x;m(),u.options=Object.assign({},i,u.options,R),u.scrollParents={reference:Wu(s)?wh(s):s.contextElement?wh(s.contextElement):[],popper:wh(c)};var y=Tre(Nre([].concat(r,u.options.modifiers)));return u.orderedModifiers=y.filter(function(g){return g.enabled}),p(),h.update()},forceUpdate:function(){if(!d){var x=u.elements,R=x.reference,y=x.popper;if(wO(R,y)){u.rects={reference:Lre(R,Up(y),u.options.strategy==="fixed"),popper:jb(y)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(k){return u.modifiersData[k.name]=Object.assign({},k.data)});for(var g=0;g<u.orderedModifiers.length;g++){if(u.reset===!0){u.reset=!1,g=-1;continue}var S=u.orderedModifiers[g],L=S.fn,T=S.options,M=T===void 0?{}:T,O=S.name;typeof L=="function"&&(u=L({state:u,options:M,name:O,instance:h})||u)}}}},update:kre(function(){return new Promise(function(A){h.forceUpdate(),A(u)})}),destroy:function(){m(),d=!0}};if(!wO(s,c))return h;h.setOptions(l).then(function(A){!d&&l.onFirstUpdate&&l.onFirstUpdate(A)});function p(){u.orderedModifiers.forEach(function(A){var x=A.name,R=A.options,y=R===void 0?{}:R,g=A.effect;if(typeof g=="function"){var S=g({state:u,name:x,instance:h,options:y}),L=function(){};f.push(S||L)}})}function m(){f.forEach(function(A){return A()}),f=[]}return h}}var Cre=[tre,Rre,qne,HC,gre,dre,bre,Jne,pre],Ire=Pre({defaultModifiers:Cre}),Fre="tippy-box",tI="tippy-content",_re="tippy-backdrop",nI="tippy-arrow",rI="tippy-svg-arrow",zc={passive:!0,capture:!0},oI=function(){return document.body};function Iy(e,t,n){if(Array.isArray(e)){var r=e[t];return r??(Array.isArray(n)?n[t]:n)}return e}function n5(e,t){var n={}.toString.call(e);return n.indexOf("[object")===0&&n.indexOf(t+"]")>-1}function iI(e,t){return typeof e=="function"?e.apply(void 0,t):e}function LO(e,t){if(t===0)return e;var n;return function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)}}function Xre(e){return e.split(/\s+/).filter(Boolean)}function Zf(e){return[].concat(e)}function OO(e,t){e.indexOf(t)===-1&&e.push(t)}function Ere(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function Wre(e){return e.split("-")[0]}function eg(e){return[].slice.call(e)}function TO(e){return Object.keys(e).reduce(function(t,n){return e[n]!==void 0&&(t[n]=e[n]),t},{})}function Lh(){return document.createElement("div")}function r2(e){return["Element","Fragment"].some(function(t){return n5(e,t)})}function Vre(e){return n5(e,"NodeList")}function Ure(e){return n5(e,"MouseEvent")}function Yre(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function Qre(e){return r2(e)?[e]:Vre(e)?eg(e):Array.isArray(e)?e:eg(document.querySelectorAll(e))}function Fy(e,t){e.forEach(function(n){n&&(n.style.transitionDuration=t+"ms")})}function kO(e,t){e.forEach(function(n){n&&n.setAttribute("data-state",t)})}function Zre(e){var t,n=Zf(e),r=n[0];return r!=null&&(t=r.ownerDocument)!=null&&t.body?r.ownerDocument:document}function Bre(e,t){var n=t.clientX,r=t.clientY;return e.every(function(o){var i=o.popperRect,a=o.popperState,s=o.props,c=s.interactiveBorder,l=Wre(a.placement),u=a.modifiersData.offset;if(!u)return!0;var f=l==="bottom"?u.top.y:0,d=l==="top"?u.bottom.y:0,h=l==="right"?u.left.x:0,p=l==="left"?u.right.x:0,m=i.top-r+f>c,A=r-i.bottom-d>c,x=i.left-n+h>c,R=n-i.right-p>c;return m||A||x||R})}function _y(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){e[r](o,n)})}function NO(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 $a={isTouch:!1},PO=0;function Dre(){$a.isTouch||($a.isTouch=!0,window.performance&&document.addEventListener("mousemove",aI))}function aI(){var e=performance.now();e-PO<20&&($a.isTouch=!1,document.removeEventListener("mousemove",aI)),PO=e}function Kre(){var e=document.activeElement;if(Yre(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function Hre(){document.addEventListener("touchstart",Dre,zc),window.addEventListener("blur",Kre)}var Gre=typeof window<"u"&&typeof document<"u",Jre=Gre?!!window.msCrypto:!1,zre={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},jre={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Na=Object.assign({appendTo:oI,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},zre,jre),$re=Object.keys(Na),qre=function(t){var n=Object.keys(t);n.forEach(function(r){Na[r]=t[r]})};function sI(e){var t=e.plugins||[],n=t.reduce(function(r,o){var i=o.name,a=o.defaultValue;if(i){var s;r[i]=e[i]!==void 0?e[i]:(s=Na[i])!=null?s:a}return r},{});return Object.assign({},e,n)}function eoe(e,t){var n=t?Object.keys(sI(Object.assign({},Na,{plugins:t}))):$re,r=n.reduce(function(o,i){var a=(e.getAttribute("data-tippy-"+i)||"").trim();if(!a)return o;if(i==="content")o[i]=a;else try{o[i]=JSON.parse(a)}catch{o[i]=a}return o},{});return r}function CO(e,t){var n=Object.assign({},t,{content:iI(t.content,[e])},t.ignoreAttributes?{}:eoe(e,t.plugins));return n.aria=Object.assign({},Na.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 toe=function(){return"innerHTML"};function Y3(e,t){e[toe()]=t}function IO(e){var t=Lh();return e===!0?t.className=nI:(t.className=rI,r2(e)?t.appendChild(e):Y3(t,e)),t}function FO(e,t){r2(t.content)?(Y3(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?Y3(e,t.content):e.textContent=t.content)}function Q3(e){var t=e.firstElementChild,n=eg(t.children);return{box:t,content:n.find(function(r){return r.classList.contains(tI)}),arrow:n.find(function(r){return r.classList.contains(nI)||r.classList.contains(rI)}),backdrop:n.find(function(r){return r.classList.contains(_re)})}}function lI(e){var t=Lh(),n=Lh();n.className=Fre,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Lh();r.className=tI,r.setAttribute("data-state","hidden"),FO(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props);function o(i,a){var s=Q3(t),c=s.box,l=s.content,u=s.arrow;a.theme?c.setAttribute("data-theme",a.theme):c.removeAttribute("data-theme"),typeof a.animation=="string"?c.setAttribute("data-animation",a.animation):c.removeAttribute("data-animation"),a.inertia?c.setAttribute("data-inertia",""):c.removeAttribute("data-inertia"),c.style.maxWidth=typeof a.maxWidth=="number"?a.maxWidth+"px":a.maxWidth,a.role?c.setAttribute("role",a.role):c.removeAttribute("role"),(i.content!==a.content||i.allowHTML!==a.allowHTML)&&FO(l,e.props),a.arrow?u?i.arrow!==a.arrow&&(c.removeChild(u),c.appendChild(IO(a.arrow))):c.appendChild(IO(a.arrow)):u&&c.removeChild(u)}return{popper:t,onUpdate:o}}lI.$$tippy=!0;var noe=1,Am=[],Xy=[];function roe(e,t){var n=CO(e,Object.assign({},Na,sI(TO(t)))),r,o,i,a=!1,s=!1,c=!1,l=!1,u,f,d,h=[],p=LO(W,n.interactiveDebounce),m,A=noe++,x=null,R=Ere(n.plugins),y={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},g={id:A,reference:e,popper:Lh(),popperInstance:x,props:n,state:y,plugins:R,clearDelayTimeouts:Ae,setProps:qe,setContent:Xe,show:Le,hide:Te,hideWithInteractivity:Ce,enable:_e,disable:Ie,unmount:He,destroy:et};if(!n.render)return g;var S=n.render(g),L=S.popper,T=S.onUpdate;L.setAttribute("data-tippy-root",""),L.id="tippy-"+g.id,g.popper=L,e._tippy=g,L._tippy=g;var M=R.map(function(ke){return ke.fn(g)}),O=e.hasAttribute("aria-expanded");return ye(),ne(),V(),B("onCreate",[g]),n.showOnCreate&&de(),L.addEventListener("mouseenter",function(){g.props.interactive&&g.state.isVisible&&g.clearDelayTimeouts()}),L.addEventListener("mouseleave",function(){g.props.interactive&&g.props.trigger.indexOf("mouseenter")>=0&&C().addEventListener("mousemove",p)}),g;function k(){var ke=g.props.touch;return Array.isArray(ke)?ke:[ke,0]}function _(){return k()[0]==="hold"}function N(){var ke;return!!((ke=g.props.render)!=null&&ke.$$tippy)}function X(){return m||e}function C(){var ke=X().parentNode;return ke?Zre(ke):document}function F(){return Q3(L)}function I(ke){return g.state.isMounted&&!g.state.isVisible||$a.isTouch||u&&u.type==="focus"?0:Iy(g.props.delay,ke?0:1,Na.delay)}function V(ke){ke===void 0&&(ke=!1),L.style.pointerEvents=g.props.interactive&&!ke?"":"none",L.style.zIndex=""+g.props.zIndex}function B(ke,De,tt){if(tt===void 0&&(tt=!0),M.forEach(function(ut){ut[ke]&&ut[ke].apply(ut,De)}),tt){var wt;(wt=g.props)[ke].apply(wt,De)}}function G(){var ke=g.props.aria;if(ke.content){var De="aria-"+ke.content,tt=L.id,wt=Zf(g.props.triggerTarget||e);wt.forEach(function(ut){var ht=ut.getAttribute(De);if(g.state.isVisible)ut.setAttribute(De,ht?ht+" "+tt:tt);else{var gt=ht&&ht.replace(tt,"").trim();gt?ut.setAttribute(De,gt):ut.removeAttribute(De)}})}}function ne(){if(!(O||!g.props.aria.expanded)){var ke=Zf(g.props.triggerTarget||e);ke.forEach(function(De){g.props.interactive?De.setAttribute("aria-expanded",g.state.isVisible&&De===X()?"true":"false"):De.removeAttribute("aria-expanded")})}}function E(){C().removeEventListener("mousemove",p),Am=Am.filter(function(ke){return ke!==p})}function Z(ke){if(!($a.isTouch&&(c||ke.type==="mousedown"))){var De=ke.composedPath&&ke.composedPath()[0]||ke.target;if(!(g.props.interactive&&NO(L,De))){if(Zf(g.props.triggerTarget||e).some(function(tt){return NO(tt,De)})){if($a.isTouch||g.state.isVisible&&g.props.trigger.indexOf("click")>=0)return}else B("onClickOutside",[g,ke]);g.props.hideOnClick===!0&&(g.clearDelayTimeouts(),g.hide(),s=!0,setTimeout(function(){s=!1}),g.state.isMounted||le())}}}function K(){c=!0}function U(){c=!1}function J(){var ke=C();ke.addEventListener("mousedown",Z,!0),ke.addEventListener("touchend",Z,zc),ke.addEventListener("touchstart",U,zc),ke.addEventListener("touchmove",K,zc)}function le(){var ke=C();ke.removeEventListener("mousedown",Z,!0),ke.removeEventListener("touchend",Z,zc),ke.removeEventListener("touchstart",U,zc),ke.removeEventListener("touchmove",K,zc)}function ie(ke,De){pe(ke,function(){!g.state.isVisible&&L.parentNode&&L.parentNode.contains(L)&&De()})}function oe(ke,De){pe(ke,De)}function pe(ke,De){var tt=F().box;function wt(ut){ut.target===tt&&(_y(tt,"remove",wt),De())}if(ke===0)return De();_y(tt,"remove",f),_y(tt,"add",wt),f=wt}function ge(ke,De,tt){tt===void 0&&(tt=!1);var wt=Zf(g.props.triggerTarget||e);wt.forEach(function(ut){ut.addEventListener(ke,De,tt),h.push({node:ut,eventType:ke,handler:De,options:tt})})}function ye(){_()&&(ge("touchstart",ae,{passive:!0}),ge("touchend",j,{passive:!0})),Xre(g.props.trigger).forEach(function(ke){if(ke!=="manual")switch(ge(ke,ae),ke){case"mouseenter":ge("mouseleave",j);break;case"focus":ge(Jre?"focusout":"blur",ue);break;case"focusin":ge("focusout",ue);break}})}function z(){h.forEach(function(ke){var De=ke.node,tt=ke.eventType,wt=ke.handler,ut=ke.options;De.removeEventListener(tt,wt,ut)}),h=[]}function ae(ke){var De,tt=!1;if(!(!g.state.isEnabled||$(ke)||s)){var wt=((De=u)==null?void 0:De.type)==="focus";u=ke,m=ke.currentTarget,ne(),!g.state.isVisible&&Ure(ke)&&Am.forEach(function(ut){return ut(ke)}),ke.type==="click"&&(g.props.trigger.indexOf("mouseenter")<0||a)&&g.props.hideOnClick!==!1&&g.state.isVisible?tt=!0:de(ke),ke.type==="click"&&(a=!tt),tt&&!wt&&be(ke)}}function W(ke){var De=ke.target,tt=X().contains(De)||L.contains(De);if(!(ke.type==="mousemove"&&tt)){var wt=ce().concat(L).map(function(ut){var ht,gt=ut._tippy,Ft=(ht=gt.popperInstance)==null?void 0:ht.state;return Ft?{popperRect:ut.getBoundingClientRect(),popperState:Ft,props:n}:null}).filter(Boolean);Bre(wt,ke)&&(E(),be(ke))}}function j(ke){var De=$(ke)||g.props.trigger.indexOf("click")>=0&&a;if(!De){if(g.props.interactive){g.hideWithInteractivity(ke);return}be(ke)}}function ue(ke){g.props.trigger.indexOf("focusin")<0&&ke.target!==X()||g.props.interactive&&ke.relatedTarget&&L.contains(ke.relatedTarget)||be(ke)}function $(ke){return $a.isTouch?_()!==ke.type.indexOf("touch")>=0:!1}function q(){se();var ke=g.props,De=ke.popperOptions,tt=ke.placement,wt=ke.offset,ut=ke.getReferenceClientRect,ht=ke.moveTransition,gt=N()?Q3(L).arrow:null,Ft=ut?{getBoundingClientRect:ut,contextElement:ut.contextElement||X()}:e,Yt={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Xa){var io=Xa.state;if(N()){var of=F(),Nc=of.box;["placement","reference-hidden","escaped"].forEach(function(Ms){Ms==="placement"?Nc.setAttribute("data-placement",io.placement):io.attributes.popper["data-popper-"+Ms]?Nc.setAttribute("data-"+Ms,""):Nc.removeAttribute("data-"+Ms)}),io.attributes.popper={}}}},Pn=[{name:"offset",options:{offset:wt}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!ht}},Yt];N()&&gt&&Pn.push({name:"arrow",options:{element:gt,padding:3}}),Pn.push.apply(Pn,(De==null?void 0:De.modifiers)||[]),g.popperInstance=Ire(Ft,L,Object.assign({},De,{placement:tt,onFirstUpdate:d,modifiers:Pn}))}function se(){g.popperInstance&&(g.popperInstance.destroy(),g.popperInstance=null)}function ve(){var ke=g.props.appendTo,De,tt=X();g.props.interactive&&ke===oI||ke==="parent"?De=tt.parentNode:De=iI(ke,[tt]),De.contains(L)||De.appendChild(L),g.state.isMounted=!0,q()}function ce(){return eg(L.querySelectorAll("[data-tippy-root]"))}function de(ke){g.clearDelayTimeouts(),ke&&B("onTrigger",[g,ke]),J();var De=I(!0),tt=k(),wt=tt[0],ut=tt[1];$a.isTouch&&wt==="hold"&&ut&&(De=ut),De?r=setTimeout(function(){g.show()},De):g.show()}function be(ke){if(g.clearDelayTimeouts(),B("onUntrigger",[g,ke]),!g.state.isVisible){le();return}if(!(g.props.trigger.indexOf("mouseenter")>=0&&g.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(ke.type)>=0&&a)){var De=I(!1);De?o=setTimeout(function(){g.state.isVisible&&g.hide()},De):i=requestAnimationFrame(function(){g.hide()})}}function _e(){g.state.isEnabled=!0}function Ie(){g.hide(),g.state.isEnabled=!1}function Ae(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(i)}function qe(ke){if(!g.state.isDestroyed){B("onBeforeUpdate",[g,ke]),z();var De=g.props,tt=CO(e,Object.assign({},De,TO(ke),{ignoreAttributes:!0}));g.props=tt,ye(),De.interactiveDebounce!==tt.interactiveDebounce&&(E(),p=LO(W,tt.interactiveDebounce)),De.triggerTarget&&!tt.triggerTarget?Zf(De.triggerTarget).forEach(function(wt){wt.removeAttribute("aria-expanded")}):tt.triggerTarget&&e.removeAttribute("aria-expanded"),ne(),V(),T&&T(De,tt),g.popperInstance&&(q(),ce().forEach(function(wt){requestAnimationFrame(wt._tippy.popperInstance.forceUpdate)})),B("onAfterUpdate",[g,ke])}}function Xe(ke){g.setProps({content:ke})}function Le(){var ke=g.state.isVisible,De=g.state.isDestroyed,tt=!g.state.isEnabled,wt=$a.isTouch&&!g.props.touch,ut=Iy(g.props.duration,0,Na.duration);if(!(ke||De||tt||wt)&&!X().hasAttribute("disabled")&&(B("onShow",[g],!1),g.props.onShow(g)!==!1)){if(g.state.isVisible=!0,N()&&(L.style.visibility="visible"),V(),J(),g.state.isMounted||(L.style.transition="none"),N()){var ht=F(),gt=ht.box,Ft=ht.content;Fy([gt,Ft],0)}d=function(){var Pn;if(!(!g.state.isVisible||l)){if(l=!0,L.offsetHeight,L.style.transition=g.props.moveTransition,N()&&g.props.animation){var aa=F(),Xa=aa.box,io=aa.content;Fy([Xa,io],ut),kO([Xa,io],"visible")}G(),ne(),OO(Xy,g),(Pn=g.popperInstance)==null||Pn.forceUpdate(),B("onMount",[g]),g.props.animation&&N()&&oe(ut,function(){g.state.isShown=!0,B("onShown",[g])})}},ve()}}function Te(){var ke=!g.state.isVisible,De=g.state.isDestroyed,tt=!g.state.isEnabled,wt=Iy(g.props.duration,1,Na.duration);if(!(ke||De||tt)&&(B("onHide",[g],!1),g.props.onHide(g)!==!1)){if(g.state.isVisible=!1,g.state.isShown=!1,l=!1,a=!1,N()&&(L.style.visibility="hidden"),E(),le(),V(!0),N()){var ut=F(),ht=ut.box,gt=ut.content;g.props.animation&&(Fy([ht,gt],wt),kO([ht,gt],"hidden"))}G(),ne(),g.props.animation?N()&&ie(wt,g.unmount):g.unmount()}}function Ce(ke){C().addEventListener("mousemove",p),OO(Am,p),p(ke)}function He(){g.state.isVisible&&g.hide(),g.state.isMounted&&(se(),ce().forEach(function(ke){ke._tippy.unmount()}),L.parentNode&&L.parentNode.removeChild(L),Xy=Xy.filter(function(ke){return ke!==g}),g.state.isMounted=!1,B("onHidden",[g]))}function et(){g.state.isDestroyed||(g.clearDelayTimeouts(),g.unmount(),z(),delete e._tippy,g.state.isDestroyed=!0,B("onDestroy",[g]))}}function ef(e,t){t===void 0&&(t={});var n=Na.plugins.concat(t.plugins||[]);Hre();var r=Object.assign({},t,{plugins:n}),o=Qre(e),i=o.reduce(function(a,s){var c=s&&roe(s,r);return c&&a.push(c),a},[]);return r2(e)?i[0]:i}ef.defaultProps=Na;ef.setDefaultProps=qre;ef.currentInput=$a;Object.assign({},HC,{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)}});ef.setDefaultProps({render:lI});const ooe=Fe({__name:"Popover",props:{value:{type:Boolean,default:!1},trigger:{default:"click"},placement:{default:"bottom"},appendTo:{},contentStyle:{},center:{type:Boolean,default:!1}},emits:["update:value"],setup(e,{emit:t}){const n=e,r=t,o=me(),i=me(),a=me(),s=me(!1),c=Se(()=>n.contentStyle||{});return Tt(()=>n.value,()=>{o.value&&(n.value?o.value.show():o.value.hide())}),Gt(()=>{o.value=ef(i.value,{content:a.value,allowHTML:!0,trigger:n.trigger,placement:n.placement,interactive:!0,appendTo:n.appendTo||document.body,maxWidth:"none",offset:[0,8],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}})}),(l,u)=>(Q(),ee("div",{class:$e(["popover",{center:l.center}]),ref_key:"triggerRef",ref:i},[Y("div",{class:"popover-content",style:we(c.value),ref_key:"contentRef",ref:a},[s.value?cr(l.$slots,"content",{key:0},void 0,!0):Be("",!0)],4),cr(l.$slots,"default",{},void 0,!0)],2))}}),kt=We(ooe,[["__scopeId","data-v-f1b06373"]]),ioe=Fe({__name:"PopoverMenuItem",props:{center:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:t}){const n=t;return(r,o)=>(Q(),ee("div",{class:$e(["popover-menu-item",{center:r.center}]),onClick:o[0]||(o[0]=i=>n("click"))},[cr(r.$slots,"default",{},void 0,!0)],2))}}),Ho=We(ioe,[["__scopeId","data-v-1f176c16"]]),aoe={class:"editor-header"},soe={class:"left"},loe={class:"menu-item"},coe={class:"title"},uoe=["title"],foe={class:"right"},doe={class:"group-menu-item"},hoe={class:"arrow-btn"},poe={class:"github-link",href:"https://github.com/pipipi-pikachu/PPTist",target:"_blank"},moe={class:"menu-item"},voe=Fe({__name:"index",setup(e){const t=ft(),n=ct(),{title:r}=Ee(n),{enterScreening:o,enterScreeningFromStart:i}=Mc(),{importSpecificFile:a,importPPTXFile:s,exporting:c}=sne(),{resetSlides:l}=Dd(),u=me(!1),f=me(!1),d=me(!1),h=me(),p=me(""),m=()=>{p.value=r.value,d.value=!0,Vr(()=>{var y;return(y=h.value)==null?void 0:y.focus()})},A=()=>{n.setTitle(p.value),d.value=!1},x=y=>{window.open(y),u.value=!1},R=y=>{t.setDialogForExport(y),u.value=!1};return(y,g)=>{const S=xe("IconHamburgerButton"),L=xe("IconPpt"),T=xe("IconDown"),M=xe("IconDownload"),O=xe("IconGithub"),k=Ln("tooltip");return Q(),ee("div",aoe,[Y("div",soe,[w(kt,{trigger:"click",placement:"bottom-start",value:u.value,"onUpdate:value":g[7]||(g[7]=_=>u.value=_)},{content:re(()=>[w(Xu,{accept:".pptist",onChange:g[0]||(g[0]=_=>{H(a)(_),u.value=!1})},{default:re(()=>[w(Ho,null,{default:re(()=>[Ye("导入 pptist 文件")]),_:1})]),_:1}),w(Xu,{accept:"application/vnd.openxmlformats-officedocument.presentationml.presentation",onChange:g[1]||(g[1]=_=>{H(s)(_),u.value=!1})},{default:re(()=>[w(Ho,null,{default:re(()=>[Ye("导入 pptx 文件(测试版)")]),_:1})]),_:1}),w(Ho,{onClick:g[2]||(g[2]=_=>R("pptx"))},{default:re(()=>[Ye("导出文件")]),_:1}),w(Ho,{onClick:g[3]||(g[3]=_=>{H(l)(),u.value=!1})},{default:re(()=>[Ye("重置幻灯片")]),_:1}),w(Ho,{onClick:g[4]||(g[4]=_=>x("https://github.com/pipipi-pikachu/PPTist/issues"))},{default:re(()=>[Ye("意见反馈")]),_:1}),w(Ho,{onClick:g[5]||(g[5]=_=>x("https://github.com/pipipi-pikachu/PPTist/blob/master/doc/Q&A.md"))},{default:re(()=>[Ye("常见问题")]),_:1}),w(Ho,{onClick:g[6]||(g[6]=_=>{u.value=!1,f.value=!0})},{default:re(()=>[Ye("快捷键")]),_:1})]),default:re(()=>[Y("div",loe,[w(S,{class:"icon"})])]),_:1},8,["value"]),Y("div",coe,[d.value?(Q(),Oe(Eu,{key:0,class:"title-input",ref_key:"titleInputRef",ref:h,value:p.value,"onUpdate:value":g[8]||(g[8]=_=>p.value=_),onBlur:g[9]||(g[9]=_=>A())},null,8,["value"])):(Q(),ee("div",{key:1,class:"title-text",onClick:g[10]||(g[10]=_=>m()),title:H(r)},bt(H(r)),9,uoe))])]),Y("div",foe,[Y("div",doe,[Ze((Q(),ee("div",{class:"menu-item",onClick:g[11]||(g[11]=_=>H(o)())},[w(L,{class:"icon"})])),[[k,"幻灯片放映"]]),w(kt,{trigger:"click",center:""},{content:re(()=>[w(Ho,{onClick:g[12]||(g[12]=_=>H(i)())},{default:re(()=>[Ye("从头开始")]),_:1}),w(Ho,{onClick:g[13]||(g[13]=_=>H(o)())},{default:re(()=>[Ye("从当前页开始")]),_:1})]),default:re(()=>[Y("div",hoe,[w(T,{class:"arrow"})])]),_:1})]),Ze((Q(),ee("div",{class:"menu-item",onClick:g[14]||(g[14]=_=>R("pptx"))},[w(M,{class:"icon"})])),[[k,"导出"]]),Ze((Q(),ee("a",poe,[Y("div",moe,[w(O,{class:"icon"})])])),[[k,"Copyright © 2020-PRESENT pipipi-pikachu"]])]),w(Mne,{width:320,visible:f.value,"onUpdate:visible":g[15]||(g[15]=_=>f.value=_),placement:"right"},{default:re(()=>[w(hne)]),_:1},8,["visible"]),w(Gb,{loading:H(c),tip:"正在导入..."},null,8,["loading"])])}}}),goe=We(voe,[["__scopeId","data-v-89efe6b2"]]),tf=Symbol(),r5=Symbol(),cI=Symbol(),Aoe=()=>{const e=window.getSelection();e&&e.removeAllRanges()},Roe=e=>{const t=me(0),n=me(0),r=ft(),{canvasPercentage:o,canvasDragged:i}=Ee(r),{viewportRatio:a}=Ee(ct()),s=()=>{if(!e.value)return;const d=e.value.clientWidth,h=e.value.clientHeight;if(h/d>a.value){const p=d*(o.value/100);r.setCanvasScale(p/Ht),t.value=(d-p)/2,n.value=(h-p*a.value)/2}else{const p=h*(o.value/100);r.setCanvasScale(p/(Ht*a.value)),t.value=(d-p/a.value)/2,n.value=(h-p)/2}};Tt(o,(d,h)=>{if(!e.value)return;const p=e.value.clientWidth,m=e.value.clientHeight,A=p*(d/100),x=p*(h/100),R=m*(d/100),y=m*(h/100);m/p>a.value?r.setCanvasScale(A/Ht):r.setCanvasScale(R/(Ht*a.value)),t.value=t.value-(A-x)/2,n.value=n.value-(R-y)/2}),Tt(a,s),Tt(i,()=>{i.value||s()});const l=Se(()=>({width:Ht,height:Ht*a.value,left:t.value,top:n.value})),u=new ResizeObserver(s);return Gt(()=>{e.value&&u.observe(e.value)}),Tn(()=>{e.value&&u.unobserve(e.value)}),{viewportStyles:l,dragViewport:d=>{let h=!0;const p=d.pageX,m=d.pageY,A=t.value,x=n.value;document.onmousemove=R=>{if(!h)return;const y=R.pageX,g=R.pageY;t.value=A+(y-p),n.value=x+(g-m)},document.onmouseup=()=>{h=!1,document.onmousemove=null,document.onmouseup=null,r.setCanvasDragged(!0)}}}},yoe=(e,t)=>{const n=ft(),{canvasScale:r,hiddenElementIdList:o}=Ee(n),i=me(!1),a=me(1),s=me({top:0,left:0,width:0,height:0});return{mouseSelection:s,mouseSelectionVisible:i,mouseSelectionQuadrant:a,updateMouseSelection:l=>{if(!t.value)return;let u=!0;const f=t.value.getBoundingClientRect(),d=5,h=l.pageX,p=l.pageY,m=(h-f.x)/r.value,A=(p-f.y)/r.value;s.value={top:A,left:m,width:0,height:0},i.value=!1,a.value=4,document.onmousemove=x=>{if(!u)return;const R=x.pageX,y=x.pageY,g=(R-h)/r.value,S=(y-p)/r.value,L=Math.abs(g),T=Math.abs(S);if(L<d||T<d)return;let M=0;g>0&&S>0?M=4:g<0&&S<0?M=2:g>0&&S<0?M=1:g<0&&S>0&&(M=3),s.value={...s.value,width:L,height:T},i.value=!0,a.value=M},document.onmouseup=()=>{document.onmousemove=null,document.onmouseup=null,u=!1;let x=[];for(let y=0;y<e.value.length;y++){const g=e.value[y],S=s.value.left,L=s.value.top,T=s.value.width,M=s.value.height,{minX:O,maxX:k,minY:_,maxY:N}=Ma(g);let X=!1;a.value===4?X=O>S&&k<S+T&&_>L&&N<L+M:a.value===2?X=O>S-T&&k<S-T+T&&_>L-M&&N<L-M+M:a.value===1?X=O>S&&k<S+T&&_>L-M&&N<L-M+M:a.value===3&&(X=O>S-T&&k<S-T+T&&_>L&&N<L+M),X&&!g.lock&&!o.value.includes(g.id)&&x.push(g)}x=x.filter(y=>{if(y.groupId){const g=x.map(L=>L.id);return e.value.filter(L=>L.groupId===y.groupId).every(L=>g.includes(L.id))}return!0});const R=x.map(y=>y.id);n.setActiveElementIdList(R),i.value=!1}}}},xoe=e=>{const{disableHotkeys:t}=Ee(ft()),{createImageElement:n,createTextElement:r}=ju(),o=i=>{if(!i.dataTransfer||i.dataTransfer.items.length===0)return;const a=i.dataTransfer.items[0];if(a.kind==="file"&&a.type.indexOf("image")!==-1){const s=a.getAsFile();s&&Ju(s).then(c=>n(c))}else a.kind==="string"&&a.type==="text/plain"&&a.getAsString(s=>{if(t.value)return;const c=Ob(s);r({left:0,top:0,width:600,height:50},{content:c})})};Gt(()=>{e.value&&e.value.addEventListener("drop",o),document.ondragleave=i=>i.preventDefault(),document.ondrop=i=>i.preventDefault(),document.ondragenter=i=>i.preventDefault(),document.ondragover=i=>i.preventDefault()}),Tn(()=>{e.value&&e.value.removeEventListener("drop",o),document.ondragleave=null,document.ondrop=null,document.ondragenter=null,document.ondragover=null})},boe=(e,t)=>{const n=Math.atan2(e,t);return 180/Math.PI*n},uI=(e,t,n)=>{const r=ct(),{addHistorySnapshot:o}=Jt();return{rotateElement:(a,s)=>{const c=!(a instanceof MouseEvent);if(c&&(!a.changedTouches||!a.changedTouches[0]))return;let l=!0,u=0;const f=s.rotate||0,d=s.left,h=s.top,p=s.width,m=s.height,A=d+p/2,x=h+m/2;if(!t.value)return;const R=t.value.getBoundingClientRect(),y=S=>{if(!l)return;const L=S instanceof MouseEvent?S.pageX:S.changedTouches[0].pageX,T=S instanceof MouseEvent?S.pageY:S.changedTouches[0].pageY,M=(L-R.left)/n.value,O=(T-R.top)/n.value,k=M-A,_=x-O;u=boe(k,_);const N=5;Math.abs(u)<=N?u=0:u>0&&Math.abs(u-45)<=N?u-=u-45:u<0&&Math.abs(u+45)<=N?u-=u+45:u>0&&Math.abs(u-90)<=N?u-=u-90:u<0&&Math.abs(u+90)<=N?u-=u+90:u>0&&Math.abs(u-135)<=N?u-=u-135:u<0&&Math.abs(u+135)<=N?u-=u+135:u>0&&Math.abs(u-180)<=N?u-=u-180:u<0&&Math.abs(u+180)<=N&&(u-=u+180),e.value=e.value.map(X=>s.id===X.id?{...X,rotate:u}:X)},g=()=>{l=!1,document.onmousemove=null,document.onmouseup=null,f!==u&&(r.updateSlide({elements:e.value}),o())};c?(document.ontouchmove=y,document.ontouchend=g):(document.onmousemove=y,document.onmouseup=g)}}},z0={text:"文本",image:"图片",shape:"形状",line:"线条",chart:"图表",table:"表格",video:"视频",audio:"音频",latex:"公式"},fI={text:20,image:20,shape:15,chart:200,table:20,video:250,audio:20,latex:20},_O=(e,t)=>{const{left:n,top:r,width:o,height:i}=e,a=Math.sqrt(Math.pow(o,2)+Math.pow(i,2))/2,s=Math.atan(i/o)*180/Math.PI,c=(180-t-s)*Math.PI/180,l=(s-t)*Math.PI/180,u=(90-t)*Math.PI/180,f=t*Math.PI/180,d=o/2,h=i/2,p=n+d,m=r+h,A={left:p+a*Math.cos(c),top:m-a*Math.sin(c)},x={left:p+h*Math.cos(u),top:m-h*Math.sin(u)},R={left:p+a*Math.cos(l),top:m-a*Math.sin(l)},y={left:p+d*Math.cos(f),top:m+d*Math.sin(f)},g={left:p-a*Math.cos(c),top:m+a*Math.sin(c)},S={left:p-h*Math.sin(f),top:m+h*Math.cos(f)},L={left:p-a*Math.cos(l),top:m+a*Math.sin(l)},T={left:p-d*Math.cos(f),top:m-d*Math.sin(f)};return{leftTopPoint:A,topPoint:x,rightTopPoint:R,rightPoint:y,rightBottomPoint:g,bottomPoint:S,leftBottomPoint:L,leftPoint:T}},XO=(e,t)=>({[mt.RIGHT_BOTTOM]:t.leftTopPoint,[mt.LEFT_BOTTOM]:t.rightTopPoint,[mt.LEFT_TOP]:t.rightBottomPoint,[mt.RIGHT_TOP]:t.leftBottomPoint,[mt.TOP]:t.bottomPoint,[mt.BOTTOM]:t.topPoint,[mt.LEFT]:t.rightPoint,[mt.RIGHT]:t.leftPoint})[e],dI=(e,t,n)=>{const r=ft(),o=ct(),{activeElementIdList:i,activeGroupElementId:a}=Ee(r),{viewportRatio:s}=Ee(o),{ctrlOrShiftKeyActive:c}=Ee(Ss()),{addHistorySnapshot:l}=Jt();return{scaleElement:(d,h,p)=>{const m=!(d instanceof MouseEvent);if(m&&(!d.changedTouches||!d.changedTouches[0]))return;let A=!0;r.setScalingState(!0);const x=h.left,R=h.top,y=h.width,g=h.height,S=h.type==="table"?h.cellMinHeight:0,L="rotate"in h&&h.rotate?h.rotate:0,T=Math.PI*L/180,M=c.value||"fixedRatio"in h&&h.fixedRatio,O=y/g,k=m?d.changedTouches[0].pageX:d.pageX,_=m?d.changedTouches[0].pageY:d.pageY,N=fI[h.type]||20,X=K=>K<N?N:K,C=K=>{const U=N/O;return K<U?U:K};let F,I=0,V=0,B=[],G=[];if("rotate"in h&&h.rotate){const{left:K,top:U,width:J,height:le}=h;F=_O({left:K,top:U,width:J,height:le},L);const ie=XO(p,F);I=ie.left,V=ie.top}else{const K=Ht,U=Ht*s.value,J=h.id===a.value;for(const z of e.value){if("rotate"in z&&z.rotate||z.type==="line"||J&&z.id===h.id||!J&&i.value.includes(z.id))continue;const ae=z.left,W=z.top,j=z.width,ue=z.height,$=ae+j,q=W+ue,se={value:W,range:[ae,$]},ve={value:q,range:[ae,$]},ce={value:ae,range:[W,q]},de={value:$,range:[W,q]};B.push(se,ve),G.push(ce,de)}const le={value:0,range:[0,K]},ie={value:U,range:[0,K]},oe={value:U/2,range:[0,K]},pe={value:0,range:[0,U]},ge={value:K,range:[0,U]},ye={value:K/2,range:[0,U]};B.push(le,ie,oe),G.push(pe,ge,ye),B=Vv(B),G=Vv(G)}const ne=(K,U)=>{const le=[];let ie=!1,oe=!1;const pe={offsetX:0,offsetY:0};if(U||U===0)for(let ge=0;ge<B.length;ge++){const{value:ye,range:z}=B[ge],ae=Math.min(...z,K||0),W=Math.max(...z,K||0);Math.abs(U-ye)<5&&!oe&&(pe.offsetY=U-ye,oe=!0,le.push({type:"horizontal",axis:{x:ae-50,y:ye},length:W-ae+100}))}if(K||K===0)for(let ge=0;ge<G.length;ge++){const{value:ye,range:z}=G[ge],ae=Math.min(...z,U||0),W=Math.max(...z,U||0);Math.abs(K-ye)<5&&!ie&&(pe.offsetX=K-ye,ie=!0,le.push({type:"vertical",axis:{x:ye,y:ae-50},length:W-ae+100}))}return t.value=le,pe},E=K=>{if(!A)return;const U=K instanceof MouseEvent?K.pageX:K.changedTouches[0].pageX,J=K instanceof MouseEvent?K.pageY:K.changedTouches[0].pageY,le=U-k,ie=J-_;let oe=y,pe=g,ge=x,ye=R;if(L){const z=(Math.cos(T)*le+Math.sin(T)*ie)/n.value;let ae=(Math.cos(T)*ie-Math.sin(T)*le)/n.value;M&&((p===mt.RIGHT_BOTTOM||p===mt.LEFT_TOP)&&(ae=z/O),(p===mt.LEFT_BOTTOM||p===mt.RIGHT_TOP)&&(ae=-z/O)),p===mt.RIGHT_BOTTOM?(oe=X(y+z),pe=C(g+ae)):p===mt.LEFT_BOTTOM?(oe=X(y-z),pe=C(g+ae),ge=x-(oe-y)):p===mt.LEFT_TOP?(oe=X(y-z),pe=C(g-ae),ge=x-(oe-y),ye=R-(pe-g)):p===mt.RIGHT_TOP?(oe=X(y+z),pe=C(g-ae),ye=R-(pe-g)):p===mt.TOP?(pe=X(g-ae),ye=R-(pe-g)):p===mt.BOTTOM?pe=X(g+ae):p===mt.LEFT?(oe=X(y-z),ge=x-(oe-y)):p===mt.RIGHT&&(oe=X(y+z));const W=_O({width:oe,height:pe,left:ge,top:ye},L),j=XO(p,W),ue=j.left,$=j.top,q=ue-I,se=$-V;ge=ge-q,ye=ye-se}else{let z=le/n.value,ae=ie/n.value;if(M&&((p===mt.RIGHT_BOTTOM||p===mt.LEFT_TOP)&&(ae=z/O),(p===mt.LEFT_BOTTOM||p===mt.RIGHT_TOP)&&(ae=-z/O)),p===mt.RIGHT_BOTTOM){const{offsetX:W,offsetY:j}=ne(x+y+z,R+g+ae);z=z-W,ae=ae-j,M&&(j?z=ae*O:ae=z/O),oe=X(y+z),pe=C(g+ae)}else if(p===mt.LEFT_BOTTOM){const{offsetX:W,offsetY:j}=ne(x+z,R+g+ae);z=z-W,ae=ae-j,M&&(j?z=-ae*O:ae=-z/O),oe=X(y-z),pe=C(g+ae),ge=x-(oe-y)}else if(p===mt.LEFT_TOP){const{offsetX:W,offsetY:j}=ne(x+z,R+ae);z=z-W,ae=ae-j,M&&(j?z=ae*O:ae=z/O),oe=X(y-z),pe=C(g-ae),ge=x-(oe-y),ye=R-(pe-g)}else if(p===mt.RIGHT_TOP){const{offsetX:W,offsetY:j}=ne(x+y+z,R+ae);z=z-W,ae=ae-j,M&&(j?z=-ae*O:ae=-z/O),oe=X(y+z),pe=C(g-ae),ye=R-(pe-g)}else if(p===mt.LEFT){const{offsetX:W}=ne(x+z,null);z=z-W,oe=X(y-z),ge=x-(oe-y)}else if(p===mt.RIGHT){const{offsetX:W}=ne(x+y+z,null);z=z-W,oe=X(y+z)}else if(p===mt.TOP){const{offsetY:W}=ne(null,R+ae);ae=ae-W,pe=X(g-ae),ye=R-(pe-g)}else if(p===mt.BOTTOM){const{offsetY:W}=ne(null,R+g+ae);ae=ae-W,pe=X(g+ae)}}e.value=e.value.map(z=>{if(h.id!==z.id)return z;if(z.type==="shape"&&"pathFormula"in z&&z.pathFormula){const ae=zu[z.pathFormula];let W="";return"editable"in ae?W=ae.formula(oe,pe,z.keypoint):W=ae.formula(oe,pe),{...z,left:ge,top:ye,width:oe,height:pe,viewBox:[oe,pe],path:W}}if(z.type==="table"){let ae=S+(pe-g)/z.data.length;return ae=ae<36?36:ae,ae===S?{...z,left:ge,width:oe}:{...z,left:ge,top:ye,width:oe,height:pe,cellMinHeight:ae<36?36:ae}}return{...z,left:ge,top:ye,width:oe,height:pe}})},Z=K=>{A=!1,document.ontouchmove=null,document.ontouchend=null,document.onmousemove=null,document.onmouseup=null,t.value=[];const U=K instanceof MouseEvent?K.pageX:K.changedTouches[0].pageX,J=K instanceof MouseEvent?K.pageY:K.changedTouches[0].pageY;k===U&&_===J||(o.updateSlide({elements:e.value}),r.setScalingState(!1),l())};m?(document.ontouchmove=E,document.ontouchend=Z):(document.onmousemove=E,document.onmouseup=Z)},scaleMultiElement:(d,h,p)=>{let m=!0;const{minX:A,maxX:x,minY:R,maxY:y}=h,g=x-A,S=y-R,L=g/S,T=d.pageX,M=d.pageY,O=JSON.parse(JSON.stringify(e.value));document.onmousemove=k=>{if(!m)return;const _=k.pageX,N=k.pageY,X=(_-T)/n.value;let C=(N-M)/n.value;c.value&&((p===mt.RIGHT_BOTTOM||p===mt.LEFT_TOP)&&(C=X/L),(p===mt.LEFT_BOTTOM||p===mt.RIGHT_TOP)&&(C=-X/L));let F=A,I=x,V=R,B=y;p===mt.RIGHT_BOTTOM?(I=x+X,B=y+C):p===mt.LEFT_BOTTOM?(F=A+X,B=y+C):p===mt.LEFT_TOP?(F=A+X,V=R+C):p===mt.RIGHT_TOP?(I=x+X,V=R+C):p===mt.TOP?V=R+C:p===mt.BOTTOM?B=y+C:p===mt.LEFT?F=A+X:p===mt.RIGHT&&(I=x+X);const G=I-F,ne=B-V;let E=G/g,Z=ne/S;E<=0&&(E=0),Z<=0&&(Z=0),e.value=e.value.map(K=>{if((K.type==="image"||K.type==="shape")&&i.value.includes(K.id)){const U=O.find(J=>J.id===K.id);return{...K,width:U.width*E,height:U.height*Z,left:F+(U.left-A)*E,top:V+(U.top-R)*Z}}return K})},document.onmouseup=k=>{m=!1,document.onmousemove=null,document.onmouseup=null,!(T===k.pageX&&M===k.pageY)&&(o.updateSlide({elements:e.value}),l())}}}},Soe=(e,t)=>{const n=ft(),{activeElementIdList:r,activeGroupElementId:o,handleElementId:i,editorAreaFocus:a}=Ee(n),{ctrlOrShiftKeyActive:s}=Ee(Ss());return{selectElement:(l,u,f=!0)=>{if(a.value||n.setEditorareaFocus(!0),r.value.includes(u.id)){if(s.value){let d=[];if(u.groupId){const h=[];e.value.forEach(p=>{p.groupId===u.groupId&&h.push(p.id)}),d=r.value.filter(p=>!h.includes(p))}else d=r.value.filter(h=>h!==u.id);d.length>0&&n.setActiveElementIdList(d)}else if(i.value!==u.id)n.setHandleElementId(u.id);else if(o.value!==u.id){const d=l instanceof MouseEvent?l.pageX:l.changedTouches[0].pageX,h=l instanceof MouseEvent?l.pageY:l.changedTouches[0].pageY;l.target.onmouseup=p=>{const m=p.pageX,A=p.pageY;d===m&&h===A&&(n.setActiveGroupElementId(u.id),p.target.onmouseup=null)}}}else{let d=[];if(s.value?d=[...r.value,u.id]:d=[u.id],u.groupId){const h=[];e.value.forEach(p=>{p.groupId===u.groupId&&h.push(p.id)}),d=[...d,...h]}n.setActiveElementIdList(_n.uniq(d)),n.setHandleElementId(u.id)}f&&t(l,u)}}},hI=(e,t,n)=>{const r=ct(),{activeElementIdList:o,activeGroupElementId:i}=Ee(ft()),{shiftKeyState:a}=Ee(Ss()),{viewportRatio:s}=Ee(r),{addHistorySnapshot:c}=Jt();return{dragElement:(u,f)=>{const d=!(u instanceof MouseEvent);if(d&&(!u.changedTouches||!u.changedTouches[0])||!o.value.includes(f.id))return;let h=!0;const p=Ht,m=Ht*s.value,A=5,R=JSON.parse(JSON.stringify(e.value)).filter(Z=>o.value.includes(Z.id)),y=f.left,g=f.top,S=f.width,L="height"in f&&f.height?f.height:0,T="rotate"in f&&f.rotate?f.rotate:0,M=d?u.changedTouches[0].pageX:u.pageX,O=d?u.changedTouches[0].pageY:u.pageY;let k=null;const _=f.id===i.value;let N=[],X=[];for(const Z of e.value){if(Z.type==="line"||_&&Z.id===f.id||!_&&o.value.includes(Z.id))continue;let K,U,J,le;if("rotate"in Z&&Z.rotate){const{xRange:$,yRange:q}=dd({left:Z.left,top:Z.top,width:Z.width,height:Z.height,rotate:Z.rotate});K=$[0],U=q[0],J=$[1]-$[0],le=q[1]-q[0]}else K=Z.left,U=Z.top,J=Z.width,le=Z.height;const ie=K+J,oe=U+le,pe=U+le/2,ge=K+J/2,ye={value:U,range:[K,ie]},z={value:oe,range:[K,ie]},ae={value:pe,range:[K,ie]},W={value:K,range:[U,oe]},j={value:ie,range:[U,oe]},ue={value:ge,range:[U,oe]};N.push(ye,z,ae),X.push(W,j,ue)}const C={value:0,range:[0,p]},F={value:m,range:[0,p]},I={value:m/2,range:[0,p]},V={value:0,range:[0,m]},B={value:p,range:[0,m]},G={value:p/2,range:[0,m]};N.push(C,F,I),X.push(V,B,G),N=Vv(N),X=Vv(X);const ne=Z=>{const K=Z instanceof MouseEvent?Z.pageX:Z.changedTouches[0].pageX,U=Z instanceof MouseEvent?Z.pageY:Z.changedTouches[0].pageY;if(k!==!1&&(k=Math.abs(M-K)<A&&Math.abs(O-U)<A),!h||k)return;let J=(K-M)/n.value,le=(U-O)/n.value;a.value&&(Math.abs(J)>Math.abs(le)&&(le=0),Math.abs(J)<Math.abs(le)&&(J=0));let ie=y+J,oe=g+le,pe,ge,ye,z;if(o.value.length===1||_)if(T){const{xRange:q,yRange:se}=dd({left:ie,top:oe,width:S,height:L,rotate:T});pe=q[0],ge=q[1],ye=se[0],z=se[1]}else f.type==="line"?(pe=ie,ge=ie+Math.max(f.start[0],f.end[0]),ye=oe,z=oe+Math.max(f.start[1],f.end[1])):(pe=ie,ge=ie+S,ye=oe,z=oe+L);else{const q=[],se=[],ve=[],ce=[];for(let de=0;de<R.length;de++){const be=R[de],_e=be.left+J,Ie=be.top+le,Ae=be.width,qe="height"in be&&be.height?be.height:0,Xe="rotate"in be&&be.rotate?be.rotate:0;if("rotate"in be&&be.rotate){const{xRange:Le,yRange:Te}=dd({left:_e,top:Ie,width:Ae,height:qe,rotate:Xe});q.push(Le[0]),se.push(Te[0]),ve.push(Le[1]),ce.push(Te[1])}else be.type==="line"?(q.push(_e),se.push(Ie),ve.push(_e+Math.max(be.start[0],be.end[0])),ce.push(Ie+Math.max(be.start[1],be.end[1]))):(q.push(_e),se.push(Ie),ve.push(_e+Ae),ce.push(Ie+qe))}pe=Math.min(...q),ge=Math.max(...ve),ye=Math.min(...se),z=Math.max(...ce)}const ae=pe+(ge-pe)/2,W=ye+(z-ye)/2,j=[];let ue=!1,$=!1;for(let q=0;q<N.length;q++){const{value:se,range:ve}=N[q],ce=Math.min(...ve,pe,ge),de=Math.max(...ve,pe,ge);Math.abs(ye-se)<A&&!$&&(oe=oe-(ye-se),$=!0,j.push({type:"horizontal",axis:{x:ce-50,y:se},length:de-ce+100})),Math.abs(z-se)<A&&!$&&(oe=oe-(z-se),$=!0,j.push({type:"horizontal",axis:{x:ce-50,y:se},length:de-ce+100})),Math.abs(W-se)<A&&!$&&(oe=oe-(W-se),$=!0,j.push({type:"horizontal",axis:{x:ce-50,y:se},length:de-ce+100}))}for(let q=0;q<X.length;q++){const{value:se,range:ve}=X[q],ce=Math.min(...ve,ye,z),de=Math.max(...ve,ye,z);Math.abs(pe-se)<A&&!ue&&(ie=ie-(pe-se),ue=!0,j.push({type:"vertical",axis:{x:se,y:ce-50},length:de-ce+100})),Math.abs(ge-se)<A&&!ue&&(ie=ie-(ge-se),ue=!0,j.push({type:"vertical",axis:{x:se,y:ce-50},length:de-ce+100})),Math.abs(ae-se)<A&&!ue&&(ie=ie-(ae-se),ue=!0,j.push({type:"vertical",axis:{x:se,y:ce-50},length:de-ce+100}))}if(t.value=j,o.value.length===1||_)e.value=e.value.map(q=>q.id===f.id?{...q,left:ie,top:oe}:q);else{const q=e.value.find(se=>se.id===f.id);if(!q)return;e.value=e.value.map(se=>o.value.includes(se.id)?se.id===f.id?{...se,left:ie,top:oe}:{...se,left:se.left+(ie-q.left),top:se.top+(oe-q.top)}:se)}},E=Z=>{h=!1,document.ontouchmove=null,document.ontouchend=null,document.onmousemove=null,document.onmouseup=null,t.value=[];const K=Z instanceof MouseEvent?Z.pageX:Z.changedTouches[0].pageX,U=Z instanceof MouseEvent?Z.pageY:Z.changedTouches[0].pageY;M===K&&O===U||(r.updateSlide({elements:e.value}),c())};d?(document.ontouchmove=ne,document.ontouchend=E):(document.onmousemove=ne,document.onmouseup=E)}}},Moe=e=>{const t=ct(),{canvasScale:n}=Ee(ft()),{ctrlOrShiftKeyActive:r}=Ee(Ss()),{addHistorySnapshot:o}=Jt();return{dragLineElement:(a,s,c)=>{let l=!0;const u=8,f=a.pageX,d=a.pageY,h=[];for(let p=0;p<e.value.length;p++){const m=e.value[p];if(m.type==="line"||m.rotate)continue;const A=m.left,x=m.top,R=m.width,y=m.height,g=A+R,S=x+y,L=x+y/2,T=A+R/2,M={x:T,y:x},O={x:T,y:S},k={x:A,y:L},_={x:g,y:L},N={x:A,y:x},X={x:g,y:x},C={x:A,y:S},F={x:g,y:S};h.push(M,O,k,_,N,X,C,F)}document.onmousemove=p=>{if(!l)return;const m=p.pageX,A=p.pageY,x=(m-f)/n.value,R=(A-d)/n.value;let y=s.left+s.start[0],g=s.top+s.start[1],S=s.left+s.end[0],L=s.top+s.end[1];const T=s.broken||s.curve||[0,0];let M=s.left+T[0],O=s.top+T[1];const[k,_]=s.cubic||[[0,0],[0,0]];let N=s.left+k[0],X=s.top+k[1],C=s.left+_[0],F=s.top+_[1];if(c===Go.START){y=y+x,g=g+R,Math.abs(y-S)<u&&(y=S),Math.abs(g-L)<u&&(g=L);for(const Z of h){const{x:K,y:U}=Z;if(Math.abs(K-y)<u&&Math.abs(U-g)<u){y=K,g=U;break}}}else if(c===Go.END){S=S+x,L=L+R,Math.abs(y-S)<u&&(S=y),Math.abs(g-L)<u&&(L=g);for(const Z of h){const{x:K,y:U}=Z;if(Math.abs(K-S)<u&&Math.abs(U-L)<u){S=K,L=U;break}}}else c===Go.C?(M=M+x,O=O+R,Math.abs(M-y)<u&&(M=y),Math.abs(O-g)<u&&(O=g),Math.abs(M-S)<u&&(M=S),Math.abs(O-L)<u&&(O=L),Math.abs(M-(y+S)/2)<u&&Math.abs(O-(g+L)/2)<u&&(M=(y+S)/2,O=(g+L)/2)):c===Go.C1?(N=N+x,X=X+R,Math.abs(N-y)<u&&(N=y),Math.abs(X-g)<u&&(X=g),Math.abs(N-S)<u&&(N=S),Math.abs(X-L)<u&&(X=L)):c===Go.C2&&(C=C+x,F=F+R,Math.abs(C-y)<u&&(C=y),Math.abs(F-g)<u&&(F=g),Math.abs(C-S)<u&&(C=S),Math.abs(F-L)<u&&(F=L));const I=Math.min(y,S),V=Math.min(g,L),B=Math.max(y,S),G=Math.max(g,L),ne=[0,0],E=[B-I,G-V];y>S&&(ne[0]=B-I,E[0]=0),g>L&&(ne[1]=G-V,E[1]=0),e.value=e.value.map(Z=>{if(Z.id===s.id){const K={...Z,left:I,top:V,start:ne,end:E};return c===Go.START||c===Go.END?r.value?(s.broken&&(K.broken=[M-I,O-V]),s.curve&&(K.curve=[M-I,O-V]),s.cubic&&(K.cubic=[[N-I,X-V],[C-I,F-V]])):(s.broken&&(K.broken=[(ne[0]+E[0])/2,(ne[1]+E[1])/2]),s.curve&&(K.curve=[(ne[0]+E[0])/2,(ne[1]+E[1])/2]),s.cubic&&(K.cubic=[[(ne[0]+E[0])/2,(ne[1]+E[1])/2],[(ne[0]+E[0])/2,(ne[1]+E[1])/2]])):c===Go.C?(s.broken&&(K.broken=[M-I,O-V]),s.curve&&(K.curve=[M-I,O-V])):s.cubic&&(K.cubic=[[N-I,X-V],[C-I,F-V]]),K}return Z})},document.onmouseup=p=>{l=!1,document.onmousemove=null,document.onmouseup=null;const m=p.pageX,A=p.pageY;f===m&&d===A||(t.updateSlide({elements:e.value}),o())}}}},woe=(e,t)=>{const n=ct(),{addHistorySnapshot:r}=Jt();return{moveShapeKeypoint:(i,a)=>{const s=!(i instanceof MouseEvent);if(s&&(!i.changedTouches||!i.changedTouches[0]))return;let c=!0;const l=s?i.changedTouches[0].pageX:i.pageX,u=s?i.changedTouches[0].pageY:i.pageY,f=zu[a.pathFormula];let d=null;if("editable"in f){const m=f.getBaseSize(a.width,a.height),A=m*a.keypoint,[x,R]=f.range,y=f.relative;d={baseSize:m,originPos:A,min:x,max:R,relative:y}}const h=m=>{if(!c)return;const A=m instanceof MouseEvent?m.pageX:m.changedTouches[0].pageX,x=m instanceof MouseEvent?m.pageY:m.changedTouches[0].pageY,R=(A-l)/t.value,y=(x-u)/t.value;e.value=e.value.map(g=>{if(g.id===a.id&&d){const{baseSize:S,originPos:L,min:T,max:M,relative:O}=d,k=g;let _=0;return O==="left"&&(_=(L+R)/S),O==="right"&&(_=(L-R)/S),O==="center"&&(_=(L-R*2)/S),O==="top"&&(_=(L+y)/S),O==="bottom"&&(_=(L-y)/S),_<T&&(_=T),_>M&&(_=M),{...g,keypoint:_,path:f.formula(k.width,k.height,_)}}return g})},p=m=>{c=!1,document.ontouchmove=null,document.ontouchend=null,document.onmousemove=null,document.onmouseup=null;const A=m instanceof MouseEvent?m.pageX:m.changedTouches[0].pageX,x=m instanceof MouseEvent?m.pageY:m.changedTouches[0].pageY;l===A&&u===x||(n.updateSlide({elements:e.value}),r())};s?(document.ontouchmove=h,document.ontouchend=p):(document.onmousemove=h,document.onmouseup=p)}}},Loe=e=>{const t=ft(),{canvasScale:n,creatingElement:r}=Ee(t),o=u=>{const{start:f,end:d}=u;if(!e.value)return;const h=e.value.getBoundingClientRect(),[p,m]=f,[A,x]=d,R=Math.min(p,A),y=Math.max(p,A),g=Math.min(m,x),S=Math.max(m,x),L=(R-h.x)/n.value,T=(g-h.y)/n.value,M=(y-R)/n.value,O=(S-g)/n.value;return{left:L,top:T,width:M,height:O}},i=u=>{const{start:f,end:d}=u;if(!e.value)return;const h=e.value.getBoundingClientRect(),[p,m]=f,[A,x]=d,R=Math.min(p,A),y=Math.max(p,A),g=Math.min(m,x),S=Math.max(m,x),L=(R-h.x)/n.value,T=(g-h.y)/n.value,M=(y-R)/n.value,O=(S-g)/n.value;return{left:L,top:T,start:[p===R?0:M,m===g?0:O],end:[A===R?0:M,x===g?0:O]}},{createTextElement:a,createShapeElement:s,createLineElement:c}=ju();return{formatCreateSelection:o,insertElementFromCreateSelection:u=>{if(!r.value)return;const f=r.value.type;if(f==="text"){const d=o(u);d&&a(d,{vertical:r.value.vertical})}else if(f==="shape"){const d=o(u);d&&s(d,r.value.data)}else if(f==="line"){const d=i(u);d&&c(d,r.value.data)}t.setCreatingElement(null)}}},o2=()=>{const e=ct(),{activeElementIdList:t,activeElementList:n}=Ee(ft()),{currentSlide:r,viewportRatio:o}=Ee(e),{addHistorySnapshot:i}=Jt();return{alignElementToCanvas:s=>{const c=Ht,l=Ht*o.value,{minX:u,maxX:f,minY:d,maxY:h}=ec(n.value),p=JSON.parse(JSON.stringify(r.value.elements));for(const m of p)if(t.value.includes(m.id)){if(s===nn.CENTER){const A=d+(h-d)/2-l/2,x=u+(f-u)/2-c/2;m.top=m.top-A,m.left=m.left-x}if(s===nn.TOP){const A=d-0;m.top=m.top-A}else if(s===nn.VERTICAL){const A=d+(h-d)/2-l/2;m.top=m.top-A}else if(s===nn.BOTTOM){const A=h-l;m.top=m.top-A}else if(s===nn.LEFT){const A=u-0;m.left=m.left-A}else if(s===nn.HORIZONTAL){const A=u+(f-u)/2-c/2;m.left=m.left-A}else if(s===nn.RIGHT){const A=f-c;m.left=m.left-A}}e.updateSlide({elements:p}),i()}}},Lc=e=>({shadowStyle:Se(()=>{if(e.value){const{h:n,v:r,blur:o,color:i}=e.value;return`${n}px ${r}px ${o}px ${i}`}return""})}),i2=(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 pI=(e=>(e.RECT="rect",e.ELLIPSE="ellipse",e.POLYGON="polygon",e))(pI||{});const Z3={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 0 0 0 round 10px 10px 10px 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`}},o5=e=>{const t=Se(()=>{if(!e.value)return Z3.rect;const r=e.value.shape||pI.RECT;return Z3[r]}),n=Se(()=>{if(!e.value)return{top:"0",left:"0",width:"100%",height:"100%"};const[r,o]=e.value.range,i=(o[0]-r[0])/100,a=(o[1]-r[1])/100,s=r[0]/i,c=r[1]/a;return{left:-s+"%",top:-c+"%",width:100/i+"%",height:100/a+"%"}});return{clipShape:t,imgPosition:n}},mI=e=>({filter:Se(()=>{if(!e.value)return"";let n="";const r=Object.keys(e.value);for(const o of r)n+=`${o}(${e.value[o]}) `;return n})}),Gd=e=>{const t=Se(()=>{var i;return((i=e.value)==null?void 0:i.width)??0}),n=Se(()=>{var i;return((i=e.value)==null?void 0:i.style)||"solid"}),r=Se(()=>{var i;return((i=e.value)==null?void 0:i.color)||"#d14424"}),o=Se(()=>{if(n.value!=="dashed")return"0 0";const i=t.value;return i<=6?`${i*4.5} ${i*2}`:`${i*4} ${i*1.5}`});return{outlineWidth:t,outlineStyle:n,outlineColor:r,strokeDashArray:o}},Ooe=["width","height"],Toe=["rx","ry","width","height","stroke","stroke-width","stroke-dasharray"],koe=Fe({__name:"ImageRectOutline",props:{width:{},height:{},outline:{},radius:{default:"0"}},setup(e){const t=e,{outlineWidth:n,outlineColor:r,strokeDashArray:o}=Gd(Wd(t,"outline"));return(i,a)=>i.outline?(Q(),ee("svg",{key:0,class:"image-rect-outline",overflow:"visible",width:i.width,height:i.height},[Y("rect",{"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:"transparent",rx:i.radius,ry:i.radius,width:i.width,height:i.height,stroke:H(r),"stroke-width":H(n),"stroke-dasharray":H(o)},null,8,Toe)],8,Ooe)):Be("",!0)}}),Noe=We(koe,[["__scopeId","data-v-09a0319c"]]),Poe=["width","height"],Coe=["cx","cy","rx","ry","stroke","stroke-width","stroke-dasharray"],Ioe=Fe({__name:"ImageEllipseOutline",props:{width:{},height:{},outline:{}},setup(e){const t=e,{outlineWidth:n,outlineColor:r,strokeDashArray:o}=Gd(Wd(t,"outline"));return(i,a)=>i.outline?(Q(),ee("svg",{key:0,class:"image-ellipse-outline",overflow:"visible",width:i.width,height:i.height},[Y("ellipse",{"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:"transparent",cx:i.width/2,cy:i.height/2,rx:i.width/2,ry:i.height/2,stroke:H(r),"stroke-width":H(n),"stroke-dasharray":H(o)},null,8,Coe)],8,Poe)):Be("",!0)}}),Foe=We(Ioe,[["__scopeId","data-v-19e68d74"]]),_oe=["width","height"],Xoe=["d","stroke","stroke-width","stroke-dasharray"],Eoe=Fe({__name:"ImagePolygonOutline",props:{width:{},height:{},createPath:{type:Function},outline:{}},setup(e){const t=e,{outlineWidth:n,outlineColor:r,strokeDashArray:o}=Gd(Wd(t,"outline"));return(i,a)=>i.outline?(Q(),ee("svg",{key:0,class:"image-polygon-outline",overflow:"visible",width:i.width,height:i.height},[Y("path",{"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:"transparent",d:i.createPath(i.width,i.height),stroke:H(r),"stroke-width":H(n),"stroke-dasharray":H(o)},null,8,Xoe)],8,_oe)):Be("",!0)}}),Woe=We(Eoe,[["__scopeId","data-v-a036b0a3"]]),Voe={class:"image-outline"},vI=Fe({__name:"index",props:{elementInfo:{}},setup(e){const t=e,n=Se(()=>t.elementInfo.clip),{clipShape:r}=o5(n);return(o,i)=>(Q(),ee("div",Voe,[H(r).type==="rect"?(Q(),Oe(Noe,{key:0,width:o.elementInfo.width,height:o.elementInfo.height,radius:H(r).radius,outline:o.elementInfo.outline},null,8,["width","height","radius","outline"])):H(r).type==="ellipse"?(Q(),Oe(Foe,{key:1,width:o.elementInfo.width,height:o.elementInfo.height,outline:o.elementInfo.outline},null,8,["width","height","outline"])):H(r).type==="polygon"?(Q(),Oe(Woe,{key:2,width:o.elementInfo.width,height:o.elementInfo.height,outline:o.elementInfo.outline,createPath:H(r).createPath},null,8,["width","height","outline","createPath"])):Be("",!0)]))}}),gI=e=>(on("data-v-cd7d01b2"),e=e(),an(),e),Uoe=["src"],Yoe=["src"],Qoe=["onMousedown"],Zoe=gI(()=>Y("svg",{width:"16",height:"16",fill:"#fff",stroke:"#333"},[Y("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)),Boe=[Zoe],Doe=["onMousedown"],Koe=gI(()=>Y("svg",{width:"16",height:"16",fill:"#fff",stroke:"#333"},[Y("path",{"stroke-width":"0.3","shape-rendering":"crispEdges",d:"M 16 0 L 0 0 L 0 4 L 16 4 Z"})],-1)),Hoe=[Koe],Goe=Fe({__name:"ImageClipHandler",props:{src:{},clipPath:{},width:{},height:{},top:{},left:{},rotate:{},clipData:{}},emits:["clip"],setup(e,{emit:t}){const n=e,r=t,{canvasScale:o}=Ee(ft()),{ctrlOrShiftKeyActive:i}=Ee(Ss()),a=me({top:"0",left:"0"}),s=me(!1),c=me(null),l=()=>{const[M,O]=n.clipData?n.clipData.range:[[0,0],[100,100]],k=(O[0]-M[0])/100,_=(O[1]-M[1])/100,N=M[0]/k,X=M[1]/_;return{widthScale:k,heightScale:_,left:N,top:X}},u=Se(()=>{const{widthScale:M,heightScale:O,left:k,top:_}=l();return{left:-k,top:-_,width:100/M,height:100/O}}),f=Se(()=>({top:u.value.top+"%",left:u.value.left+"%",width:u.value.width+"%",height:u.value.height+"%"})),d=me({top:0,left:0,width:0,height:0}),h=Se(()=>{const{top:M,left:O,width:k,height:_}=d.value;return{top:M+"%",left:O+"%",width:k+"%",height:_+"%"}}),p=Se(()=>{const M=u.value.width,O=u.value.height,{top:k,left:_,width:N,height:X}=d.value;return{left:-_*(100/N)+"%",top:-k*(100/X)+"%",width:M/N*100+"%",height:O/X*100+"%"}}),m=()=>{const{left:M,top:O}=l();d.value={left:M,top:O,width:100,height:100},a.value={top:-O+"%",left:-M+"%"}},A=()=>{if(s.value)return;if(!c.value){r("clip",null);return}const{left:M,top:O}=l(),k={left:(d.value.left-M)/100*n.width,top:(d.value.top-O)/100*n.height,width:(d.value.width-100)/100*n.width,height:(d.value.height-100)/100*n.height},_={range:c.value,position:k};r("clip",_)},x=M=>{M.key.toUpperCase()===Rt.ENTER&&A()};Gt(()=>{m(),document.addEventListener("keydown",x)}),Tn(()=>{document.removeEventListener("keydown",x)});const R=()=>{const M={left:parseInt(p.value.left),top:parseInt(p.value.top),width:parseInt(p.value.width),height:parseInt(p.value.height)},O=100/M.width,k=100/M.height,_=[-M.left*O,-M.top*k],N=[O*100+_[0],k*100+_[1]];c.value=[_,N]},y=M=>{s.value=!0;let O=!0;const k=M.pageX,_=M.pageY,N=u.value,X={...d.value};document.onmousemove=C=>{if(!O)return;const F=C.pageX,I=C.pageY;let V=(F-k)/o.value/n.width*100,B=(I-_)/o.value/n.height*100;n.rotate>45&&n.rotate<135&&(V=(I-_)/o.value/n.width*100,B=-(F-k)/o.value/n.height*100),(n.rotate>=135&&n.rotate<=180||n.rotate>=-180&&n.rotate<=-135)&&(V=-V,B=-B),n.rotate>-135&&n.rotate<-45&&(V=-(I-_)/o.value/n.width*100,B=(F-k)/o.value/n.height*100);let G=X.left+V,ne=X.top+B;G<0?G=0:G+X.width>N.width&&(G=N.width-X.width),ne<0?ne=0:ne+X.height>N.height&&(ne=N.height-X.height),d.value={...d.value,left:G,top:ne}},document.onmouseup=()=>{O=!1,document.onmousemove=null,document.onmouseup=null,R(),setTimeout(()=>{s.value=!1},0)}},g=(M,O)=>{s.value=!0;let k=!0;const _=50/n.width*100,N=50/n.height*100,X=M.pageX,C=M.pageY,F=u.value,I={...d.value},V=d.value.width/d.value.height;document.onmousemove=B=>{if(!k)return;const G=B.pageX,ne=B.pageY;let E=(G-X)/o.value/n.width*100,Z=(ne-C)/o.value/n.height*100;n.rotate>45&&n.rotate<135&&(E=(ne-C)/o.value/n.width*100,Z=-(G-X)/o.value/n.height*100),(n.rotate>=135&&n.rotate<=180||n.rotate>=-180&&n.rotate<=-135)&&(E=-E,Z=-Z),n.rotate>-135&&n.rotate<-45&&(E=-(ne-C)/o.value/n.width*100,Z=(G-X)/o.value/n.height*100),i.value&&((O===mt.RIGHT_BOTTOM||O===mt.LEFT_TOP)&&(Z=E/V),(O===mt.LEFT_BOTTOM||O===mt.RIGHT_TOP)&&(Z=-E/V));let K,U,J,le;O===mt.LEFT_TOP?(I.left+E<0&&(E=-I.left),I.top+Z<0&&(Z=-I.top),I.width-E<_&&(E=I.width-_),I.height-Z<N&&(Z=I.height-N),J=I.width-E,le=I.height-Z,K=I.left+E,U=I.top+Z):O===mt.RIGHT_TOP?(I.left+I.width+E>F.width&&(E=F.width-(I.left+I.width)),I.top+Z<0&&(Z=-I.top),I.width+E<_&&(E=_-I.width),I.height-Z<N&&(Z=I.height-N),J=I.width+E,le=I.height-Z,K=I.left,U=I.top+Z):O===mt.LEFT_BOTTOM?(I.left+E<0&&(E=-I.left),I.top+I.height+Z>F.height&&(Z=F.height-(I.top+I.height)),I.width-E<_&&(E=I.width-_),I.height+Z<N&&(Z=N-I.height),J=I.width-E,le=I.height+Z,K=I.left+E,U=I.top):O===mt.RIGHT_BOTTOM?(I.left+I.width+E>F.width&&(E=F.width-(I.left+I.width)),I.top+I.height+Z>F.height&&(Z=F.height-(I.top+I.height)),I.width+E<_&&(E=_-I.width),I.height+Z<N&&(Z=N-I.height),J=I.width+E,le=I.height+Z,K=I.left,U=I.top):O===mt.TOP?(I.top+Z<0&&(Z=-I.top),I.height-Z<N&&(Z=I.height-N),J=I.width,le=I.height-Z,K=I.left,U=I.top+Z):O===mt.BOTTOM?(I.top+I.height+Z>F.height&&(Z=F.height-(I.top+I.height)),I.height+Z<N&&(Z=N-I.height),J=I.width,le=I.height+Z,K=I.left,U=I.top):O===mt.LEFT?(I.left+E<0&&(E=-I.left),I.width-E<_&&(E=I.width-_),J=I.width-E,le=I.height,K=I.left+E,U=I.top):(I.left+I.width+E>F.width&&(E=F.width-(I.left+I.width)),I.width+E<_&&(E=_-I.width),le=I.height,J=I.width+E,K=I.left,U=I.top),d.value={left:K,top:U,width:J,height:le}},document.onmouseup=()=>{k=!1,document.onmousemove=null,document.onmouseup=null,R(),setTimeout(()=>s.value=!1,0)}},S=Se(()=>{const M="rotate-",O=n.rotate;return O>-22.5&&O<=22.5?M+0:O>22.5&&O<=67.5?M+45:O>67.5&&O<=112.5?M+90:O>112.5&&O<=157.5?M+135:O>157.5||O<=-157.5?M+0:O>-157.5&&O<=-112.5?M+45:O>-112.5&&O<=-67.5?M+90:O>-67.5&&O<=-22.5?M+135:M+0}),L=[mt.LEFT_TOP,mt.RIGHT_TOP,mt.LEFT_BOTTOM,mt.RIGHT_BOTTOM],T=[mt.TOP,mt.BOTTOM,mt.LEFT,mt.RIGHT];return(M,O)=>{const k=Ln("click-outside");return Ze((Q(),ee("div",{class:"image-clip-handler",style:we(a.value)},[Y("img",{class:"bottom-img",src:M.src,draggable:!1,alt:"",style:we(f.value)},null,12,Uoe),Y("div",{class:"top-image-content",style:we({...h.value,clipPath:M.clipPath})},[Y("img",{class:"top-img",src:M.src,draggable:!1,alt:"",style:we(p.value)},null,12,Yoe)],4),Y("div",{class:"operate",style:we(h.value),onMousedown:O[0]||(O[0]=Kt(_=>y(_),["stop"]))},[(Q(),ee(Ve,null,st(L,_=>Y("div",{class:$e(["clip-point",_,S.value]),key:_,onMousedown:Kt(N=>g(N,_),["stop"])},Boe,42,Qoe)),64)),(Q(),ee(Ve,null,st(T,_=>Y("div",{class:$e(["clip-point",_,S.value]),key:_,onMousedown:Kt(N=>g(N,_),["stop"])},Hoe,42,Doe)),64))],36)],4)),[[k,A]])}}}),Joe=We(Goe,[["__scopeId","data-v-cd7d01b2"]]),zoe=["src"],joe=Fe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=ft(),r=ct(),{clipingImageElementId:o}=Ee(n),i=Se(()=>o.value===t.elementInfo.id),{addHistorySnapshot:a}=Jt(),s=Se(()=>t.elementInfo.shadow),{shadowStyle:c}=Lc(s),l=Se(()=>t.elementInfo.flipH),u=Se(()=>t.elementInfo.flipV),{flipStyle:f}=i2(l,u),d=Se(()=>t.elementInfo.clip),{clipShape:h,imgPosition:p}=o5(d),m=Se(()=>t.elementInfo.filters),{filter:A}=mI(m),x=y=>{t.elementInfo.lock||(y.stopPropagation(),t.selectElement(y,t.elementInfo))},R=y=>{if(n.setClipingImageElementId(""),!y)return;const{range:g,position:S}=y,L=t.elementInfo.clip||{shape:"rect",range:[[0,0],[100,100]]},T=t.elementInfo.left+S.left,M=t.elementInfo.top+S.top,O=t.elementInfo.width+S.width,k=t.elementInfo.height+S.height;let _=0,N=0;if(t.elementInfo.rotate){const C=T+O/2-(t.elementInfo.left+t.elementInfo.width/2),F=-(M+k/2-(t.elementInfo.top+t.elementInfo.height/2)),I=-t.elementInfo.rotate*Math.PI/180,V=C*Math.cos(I)-F*Math.sin(I),B=C*Math.sin(I)+F*Math.cos(I);_=V-C,N=-(B-F)}const X={clip:{...L,range:g},left:T+_,top:M+N,width:O,height:k};r.updateElement({id:t.elementInfo.id,props:X}),a()};return(y,g)=>{const S=Ln("contextmenu");return Q(),ee("div",{class:$e(["editable-element-image",{lock:y.elementInfo.lock}]),style:we({top:y.elementInfo.top+"px",left:y.elementInfo.left+"px",width:y.elementInfo.width+"px",height:y.elementInfo.height+"px"})},[Y("div",{class:"rotate-wrapper",style:we({transform:`rotate(${y.elementInfo.rotate}deg)`})},[i.value?(Q(),Oe(Joe,{key:0,src:y.elementInfo.src,clipData:y.elementInfo.clip,width:y.elementInfo.width,height:y.elementInfo.height,top:y.elementInfo.top,left:y.elementInfo.left,rotate:y.elementInfo.rotate,clipPath:H(h).style,onClip:g[0]||(g[0]=L=>R(L))},null,8,["src","clipData","width","height","top","left","rotate","clipPath"])):Ze((Q(),ee("div",{key:1,class:"element-content",style:we({filter:H(c)?`drop-shadow(${H(c)})`:"",transform:H(f)}),onMousedown:g[2]||(g[2]=L=>x(L)),onTouchstart:g[3]||(g[3]=L=>x(L))},[w(vI,{elementInfo:y.elementInfo},null,8,["elementInfo"]),Y("div",{class:"image-content",style:we({clipPath:H(h).style})},[Y("img",{src:y.elementInfo.src,draggable:!1,style:we({top:H(p).top,left:H(p).left,width:H(p).width,height:H(p).height,filter:H(A)}),onDragstart:g[1]||(g[1]=Kt(()=>{},["prevent"])),alt:""},null,44,zoe),y.elementInfo.colorMask?(Q(),ee("div",{key:0,class:"color-mask",style:we({backgroundColor:y.elementInfo.colorMask})},null,4)):Be("",!0)],4)],36)),[[S,y.contextmenus]])],4)],6)}}}),AI=We(joe,[["__scopeId","data-v-d615c21a"]]),$oe=["width","height"],qoe=["d","stroke","stroke-width","stroke-dasharray"],eie=Fe({__name:"ElementOutline",props:{width:{},height:{},outline:{}},setup(e){const t=e,{outlineWidth:n,outlineColor:r,strokeDashArray:o}=Gd(Wd(t,"outline"));return(i,a)=>i.outline?(Q(),ee("svg",{key:0,class:"element-outline",overflow:"visible",width:i.width,height:i.height},[Y("path",{"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:"transparent",d:`M0,0 L${i.width},0 L${i.width},${i.height} L0,${i.height} Z`,stroke:H(r),"stroke-width":H(n),"stroke-dasharray":H(o)},null,8,qoe)],8,$oe)):Be("",!0)}}),a2=We(eie,[["__scopeId","data-v-e2ef58f5"]]),Po=function(e){for(var t=0;;t++)if(e=e.previousSibling,!e)return t},ip=function(e){let t=e.assignedSlot||e.parentNode;return t&&t.nodeType==11?t.host:t};let EO=null;const Zs=function(e,t,n){let r=EO||(EO=document.createRange());return r.setEnd(e,n??e.nodeValue.length),r.setStart(e,t||0),r},Vu=function(e,t,n,r){return n&&(WO(e,t,n,r,-1)||WO(e,t,n,r,1))},tie=/^(img|br|input|textarea|hr)$/i;function WO(e,t,n,r,o){for(;;){if(e==n&&t==r)return!0;if(t==(o<0?0:is(e))){let i=e.parentNode;if(!i||i.nodeType!=1||i5(e)||tie.test(e.nodeName)||e.contentEditable=="false")return!1;t=Po(e)+(o<0?0:1),e=i}else if(e.nodeType==1){if(e=e.childNodes[t+(o<0?-1:0)],e.contentEditable=="false")return!1;t=o<0?is(e):0}else return!1}}function is(e){return e.nodeType==3?e.nodeValue.length:e.childNodes.length}function nie(e,t,n){for(let r=t==0,o=t==is(e);r||o;){if(e==n)return!0;let i=Po(e);if(e=e.parentNode,!e)return!1;r=r&&i==0,o=o&&i==is(e)}}function i5(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 s2=function(e){return e.focusNode&&Vu(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)};function tu(e,t){let n=document.createEvent("Event");return n.initEvent("keydown",!0,!0),n.keyCode=e,n.key=n.code=t,n}function rie(e){let t=e.activeElement;for(;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;return t}function oie(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 vs=typeof navigator<"u"?navigator:null,VO=typeof document<"u"?document:null,Oc=vs&&vs.userAgent||"",B3=/Edge\/(\d+)/.exec(Oc),RI=/MSIE \d/.exec(Oc),D3=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Oc),ni=!!(RI||D3||B3),lc=RI?document.documentMode:D3?+D3[1]:B3?+B3[1]:0,Ia=!ni&&/gecko\/(\d+)/i.test(Oc);Ia&&+(/Firefox\/(\d+)/.exec(Oc)||[0,0])[1];const K3=!ni&&/Chrome\/(\d+)/.exec(Oc),po=!!K3,iie=K3?+K3[1]:0,_o=!ni&&!!vs&&/Apple Computer/.test(vs.vendor),Id=_o&&(/Mobile\/\w+/.test(Oc)||!!vs&&vs.maxTouchPoints>2),Ki=Id||(vs?/Mac/.test(vs.platform):!1),aie=vs?/Win/.test(vs.platform):!1,wa=/Android \d/.test(Oc),Yp=!!VO&&"webkitFontSmoothing"in VO.documentElement.style,sie=Yp?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function lie(e){return{left:0,right:e.documentElement.clientWidth,top:0,bottom:e.documentElement.clientHeight}}function Ws(e,t){return typeof e=="number"?e:e[t]}function cie(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 UO(e,t,n){let r=e.someProp("scrollThreshold")||0,o=e.someProp("scrollMargin")||5,i=e.dom.ownerDocument;for(let a=n||e.dom;a;a=ip(a)){if(a.nodeType!=1)continue;let s=a,c=s==i.body,l=c?lie(i):cie(s),u=0,f=0;if(t.top<l.top+Ws(r,"top")?f=-(l.top-t.top+Ws(o,"top")):t.bottom>l.bottom-Ws(r,"bottom")&&(f=t.bottom-t.top>l.bottom-l.top?t.top+Ws(o,"top")-l.top:t.bottom-l.bottom+Ws(o,"bottom")),t.left<l.left+Ws(r,"left")?u=-(l.left-t.left+Ws(o,"left")):t.right>l.right-Ws(r,"right")&&(u=t.right-l.right+Ws(o,"right")),u||f)if(c)i.defaultView.scrollBy(u,f);else{let d=s.scrollLeft,h=s.scrollTop;f&&(s.scrollTop+=f),u&&(s.scrollLeft+=u);let p=s.scrollLeft-d,m=s.scrollTop-h;t={left:t.left-p,top:t.top-m,right:t.right-p,bottom:t.bottom-m}}if(c||/^(fixed|sticky)$/.test(getComputedStyle(a).position))break}}function uie(e){let t=e.dom.getBoundingClientRect(),n=Math.max(0,t.top),r,o;for(let i=(t.left+t.right)/2,a=n+1;a<Math.min(innerHeight,t.bottom);a+=5){let s=e.root.elementFromPoint(i,a);if(!s||s==e.dom||!e.dom.contains(s))continue;let c=s.getBoundingClientRect();if(c.top>=n-20){r=s,o=c.top;break}}return{refDOM:r,refTop:o,stack:yI(e.dom)}}function yI(e){let t=[],n=e.ownerDocument;for(let r=e;r&&(t.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),e!=n);r=ip(r));return t}function fie({refDOM:e,refTop:t,stack:n}){let r=e?e.getBoundingClientRect().top:0;xI(n,r==0?0:r-t)}function xI(e,t){for(let n=0;n<e.length;n++){let{dom:r,top:o,left:i}=e[n];r.scrollTop!=o+t&&(r.scrollTop=o+t),r.scrollLeft!=i&&(r.scrollLeft=i)}}let Lf=null;function die(e){if(e.setActive)return e.setActive();if(Lf)return e.focus(Lf);let t=yI(e);e.focus(Lf==null?{get preventScroll(){return Lf={preventScroll:!0},!0}}:void 0),Lf||(Lf=!1,xI(t,0))}function bI(e,t){let n,r=2e8,o,i=0,a=t.top,s=t.top,c,l;for(let u=e.firstChild,f=0;u;u=u.nextSibling,f++){let d;if(u.nodeType==1)d=u.getClientRects();else if(u.nodeType==3)d=Zs(u).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 m=p.left>t.left?p.left-t.left:p.right<t.left?t.left-p.right:0;if(m<r){n=u,r=m,o=m&&n.nodeType==3?{left:p.right<t.left?p.right:p.left,top:t.top}:t,u.nodeType==1&&m&&(i=f+(t.left>=(p.left+p.right)/2?1:0));continue}}else p.top>t.top&&!c&&p.left<=t.left&&p.right>=t.left&&(c=u,l={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)&&(i=f+1)}}return!n&&c&&(n=c,o=l,r=0),n&&n.nodeType==3?hie(n,o):!n||r&&n.nodeType==1?{node:e,offset:i}:bI(n,o)}function hie(e,t){let n=e.nodeValue.length,r=document.createRange();for(let o=0;o<n;o++){r.setEnd(e,o+1),r.setStart(e,o);let i=Wl(r,1);if(i.top!=i.bottom&&a5(t,i))return{node:e,offset:o+(t.left>=(i.left+i.right)/2?1:0)}}return{node:e,offset:0}}function a5(e,t){return e.left>=t.left-1&&e.left<=t.right+1&&e.top>=t.top-1&&e.top<=t.bottom+1}function pie(e,t){let n=e.parentNode;return n&&/^li$/i.test(n.nodeName)&&t.left<e.getBoundingClientRect().left?n:e}function mie(e,t,n){let{node:r,offset:o}=bI(t,n),i=-1;if(r.nodeType==1&&!r.firstChild){let a=r.getBoundingClientRect();i=a.left!=a.right&&n.left>(a.left+a.right)/2?1:-1}return e.docView.posFromDOM(r,o,i)}function vie(e,t,n,r){let o=-1;for(let i=t,a=!1;i!=e.dom;){let s=e.docView.nearestDesc(i,!0);if(!s)return null;if(s.dom.nodeType==1&&(s.node.isBlock&&s.parent&&!a||!s.contentDOM)){let c=s.dom.getBoundingClientRect();if(s.node.isBlock&&s.parent&&!a&&(a=!0,c.left>r.left||c.top>r.top?o=s.posBefore:(c.right<r.left||c.bottom<r.top)&&(o=s.posAfter)),!s.contentDOM&&o<0&&!s.node.isText)return(s.node.isBlock?r.top<(c.top+c.bottom)/2:r.left<(c.left+c.right)/2)?s.posBefore:s.posAfter}i=s.dom.parentNode}return o>-1?o:e.docView.posFromDOM(t,n,-1)}function SI(e,t,n){let r=e.childNodes.length;if(r&&n.top<n.bottom)for(let o=Math.max(0,Math.min(r-1,Math.floor(r*(t.top-n.top)/(n.bottom-n.top))-2)),i=o;;){let a=e.childNodes[i];if(a.nodeType==1){let s=a.getClientRects();for(let c=0;c<s.length;c++){let l=s[c];if(a5(t,l))return SI(a,t,l)}}if((i=(i+1)%r)==o)break}return e}function gie(e,t){let n=e.dom.ownerDocument,r,o=0,i=oie(n,t.left,t.top);i&&({node:r,offset:o}=i);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 l=e.dom.getBoundingClientRect();if(!a5(t,l)||(a=SI(e.dom,t,l),!a))return null}if(_o)for(let l=a;r&&l;l=ip(l))l.draggable&&(r=void 0);if(a=pie(a,t),r){if(Ia&&r.nodeType==1&&(o=Math.min(o,r.childNodes.length),o<r.childNodes.length)){let u=r.childNodes[o],f;u.nodeName=="IMG"&&(f=u.getBoundingClientRect()).right<=t.left&&f.bottom>t.top&&o++}let l;Yp&&o&&r.nodeType==1&&(l=r.childNodes[o-1]).nodeType==1&&l.contentEditable=="false"&&l.getBoundingClientRect().top>=t.top&&o--,r==e.dom&&o==r.childNodes.length-1&&r.lastChild.nodeType==1&&t.top>r.lastChild.getBoundingClientRect().bottom?s=e.state.doc.content.size:(o==0||r.nodeType!=1||r.childNodes[o-1].nodeName!="BR")&&(s=vie(e,r,o,t))}s==null&&(s=mie(e,a,t));let c=e.docView.nearestDesc(a,!0);return{pos:s,inside:c?c.posAtStart-c.border:-1}}function YO(e){return e.top<e.bottom||e.left<e.right}function Wl(e,t){let n=e.getClientRects();if(n.length){let r=n[t<0?0:n.length-1];if(YO(r))return r}return Array.prototype.find.call(n,YO)||e.getBoundingClientRect()}const Aie=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function MI(e,t,n){let{node:r,offset:o,atom:i}=e.docView.domFromPos(t,n<0?-1:1),a=Yp||Ia;if(r.nodeType==3)if(a&&(Aie.test(r.nodeValue)||(n<0?!o:o==r.nodeValue.length))){let c=Wl(Zs(r,o,o),n);if(Ia&&o&&/\s/.test(r.nodeValue[o-1])&&o<r.nodeValue.length){let l=Wl(Zs(r,o-1,o-1),-1);if(l.top==c.top){let u=Wl(Zs(r,o,o+1),-1);if(u.top!=c.top)return A0(u,u.left<l.left)}}return c}else{let c=o,l=o,u=n<0?1:-1;return n<0&&!o?(l++,u=-1):n>=0&&o==r.nodeValue.length?(c--,u=1):n<0?c--:l++,A0(Wl(Zs(r,c,l),u),u<0)}if(!e.state.doc.resolve(t-(i||0)).parent.inlineContent){if(i==null&&o&&(n<0||o==is(r))){let c=r.childNodes[o-1];if(c.nodeType==1)return Ey(c.getBoundingClientRect(),!1)}if(i==null&&o<is(r)){let c=r.childNodes[o];if(c.nodeType==1)return Ey(c.getBoundingClientRect(),!0)}return Ey(r.getBoundingClientRect(),n>=0)}if(i==null&&o&&(n<0||o==is(r))){let c=r.childNodes[o-1],l=c.nodeType==3?Zs(c,is(c)-(a?0:1)):c.nodeType==1&&(c.nodeName!="BR"||!c.nextSibling)?c:null;if(l)return A0(Wl(l,1),!1)}if(i==null&&o<is(r)){let c=r.childNodes[o];for(;c.pmViewDesc&&c.pmViewDesc.ignoreForCoords;)c=c.nextSibling;let l=c?c.nodeType==3?Zs(c,0,a?0:1):c.nodeType==1?c:null:null;if(l)return A0(Wl(l,-1),!0)}return A0(Wl(r.nodeType==3?Zs(r):r,-n),n>=0)}function A0(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 Ey(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 wI(e,t,n){let r=e.state,o=e.root.activeElement;r!=t&&e.updateState(t),o!=e.dom&&e.focus();try{return n()}finally{r!=t&&e.updateState(r),o!=e.dom&&o&&o.focus()}}function Rie(e,t,n){let r=t.selection,o=n=="up"?r.$from:r.$to;return wI(e,t,()=>{let{node:i}=e.docView.domFromPos(o.pos,n=="up"?-1:1);for(;;){let s=e.docView.nearestDesc(i,!0);if(!s)break;if(s.node.isBlock){i=s.contentDOM||s.dom;break}i=s.dom.parentNode}let a=MI(e,o.pos,1);for(let s=i.firstChild;s;s=s.nextSibling){let c;if(s.nodeType==1)c=s.getClientRects();else if(s.nodeType==3)c=Zs(s,0,s.nodeValue.length).getClientRects();else continue;for(let l=0;l<c.length;l++){let u=c[l];if(u.bottom>u.top+1&&(n=="up"?a.top-u.top>(u.bottom-a.top)*2:u.bottom-a.bottom>(a.bottom-u.top)*2))return!1}}return!0})}const yie=/[\u0590-\u08ac]/;function xie(e,t,n){let{$head:r}=t.selection;if(!r.parent.isTextblock)return!1;let o=r.parentOffset,i=!o,a=o==r.parent.content.size,s=e.domSelection();return!yie.test(r.parent.textContent)||!s.modify?n=="left"||n=="backward"?i:a:wI(e,t,()=>{let{focusNode:c,focusOffset:l,anchorNode:u,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:m}=e.domSelectionRange(),A=p&&!h.contains(p.nodeType==1?p:p.parentNode)||c==p&&l==m;try{s.collapse(u,f),c&&(c!=u||l!=f)&&s.extend&&s.extend(c,l)}catch{}return d!=null&&(s.caretBidiLevel=d),A})}let QO=null,ZO=null,BO=!1;function bie(e,t,n){return QO==t&&ZO==n?BO:(QO=t,ZO=n,BO=n=="up"||n=="down"?Rie(e,t,n):xie(e,t,n))}const $i=0,DO=1,au=2,gs=3;class Qp{constructor(t,n,r,o){this.parent=t,this.children=n,this.dom=r,this.contentDOM=o,this.dirty=$i,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 o=this.children[n];if(o==t)return r;r+=o.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 i,a;if(t==this.contentDOM)i=t.childNodes[n-1];else{for(;t.parentNode!=this.contentDOM;)t=t.parentNode;i=t.previousSibling}for(;i&&!((a=i.pmViewDesc)&&a.parent==this);)i=i.previousSibling;return i?this.posBeforeChild(a)+a.size:this.posAtStart}else{let i,a;if(t==this.contentDOM)i=t.childNodes[n];else{for(;t.parentNode!=this.contentDOM;)t=t.parentNode;i=t.nextSibling}for(;i&&!((a=i.pmViewDesc)&&a.parent==this);)i=i.nextSibling;return i?this.posBeforeChild(a):this.posAtEnd}let o;if(t==this.dom&&this.contentDOM)o=n>Po(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))o=t.compareDocumentPosition(this.contentDOM)&2;else if(this.dom.firstChild){if(n==0)for(let i=t;;i=i.parentNode){if(i==this.dom){o=!1;break}if(i.previousSibling)break}if(o==null&&n==t.childNodes.length)for(let i=t;;i=i.parentNode){if(i==this.dom){o=!0;break}if(i.nextSibling)break}}return o??r>0?this.posAtEnd:this.posAtStart}nearestDesc(t,n=!1){for(let r=!0,o=t;o;o=o.parentNode){let i=this.getDesc(o),a;if(i&&(!n||i.node))if(r&&(a=i.nodeDOM)&&!(a.nodeType==1?a.contains(t.nodeType==1?t:t.parentNode):a==t))r=!1;else return i}}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 o=t;o;o=o.parentNode){let i=this.getDesc(o);if(i)return i.localPosFromDOM(t,n,r)}return-1}descAt(t){for(let n=0,r=0;n<this.children.length;n++){let o=this.children[n],i=r+o.size;if(r==t&&i!=r){for(;!o.border&&o.children.length;)o=o.children[0];return o}if(t<i)return o.descAt(t-r-o.border);r=i}}domFromPos(t,n){if(!this.contentDOM)return{node:this.dom,offset:0,atom:t+1};let r=0,o=0;for(let i=0;r<this.children.length;r++){let a=this.children[r],s=i+a.size;if(s>t||a instanceof OI){o=t-i;break}i=s}if(o)return this.children[r].domFromPos(o-this.children[r].border,n);for(let i;r&&!(i=this.children[r-1]).size&&i instanceof LI&&i.side>=0;r--);if(n<=0){let i,a=!0;for(;i=r?this.children[r-1]:null,!(!i||i.dom.parentNode==this.contentDOM);r--,a=!1);return i&&n&&a&&!i.border&&!i.domAtom?i.domFromPos(i.size,n):{node:this.contentDOM,offset:i?Po(i.dom)+1:0}}else{let i,a=!0;for(;i=r<this.children.length?this.children[r]:null,!(!i||i.dom.parentNode==this.contentDOM);r++,a=!1);return i&&a&&!i.border&&!i.domAtom?i.domFromPos(0,n):{node:this.contentDOM,offset:i?Po(i.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 o=-1,i=-1;for(let a=r,s=0;;s++){let c=this.children[s],l=a+c.size;if(o==-1&&t<=l){let u=a+c.border;if(t>=u&&n<=l-c.border&&c.node&&c.contentDOM&&this.contentDOM.contains(c.contentDOM))return c.parseRange(t,n,u);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)){o=Po(d.dom)+1;break}t-=d.size}o==-1&&(o=0)}if(o>-1&&(l>n||s==this.children.length-1)){n=l;for(let u=s+1;u<this.children.length;u++){let f=this.children[u];if(f.size&&f.dom.parentNode==this.contentDOM&&!f.emptyChildAt(-1)){i=Po(f.dom);break}n+=f.size}i==-1&&(i=this.contentDOM.childNodes.length);break}a=l}return{node:this.contentDOM,from:t,to:n,fromOffset:o,toOffset:i}}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,o=!1){let i=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],m=h+p.size;if(i>h&&a<m)return p.setSelection(t-h-p.border,n-h-p.border,r,o);h=m}let s=this.domFromPos(t,t?-1:1),c=n==t?s:this.domFromPos(n,n?-1:1),l=r.getSelection(),u=!1;if((Ia||_o)&&t==n){let{node:d,offset:h}=s;if(d.nodeType==3){if(u=!!(h&&d.nodeValue[h-1]==`
`),u&&h==d.nodeValue.length)for(let p=d,m;p;p=p.parentNode){if(m=p.nextSibling){m.nodeName=="BR"&&(s=c={node:m.parentNode,offset:Po(m)+1});break}let A=p.pmViewDesc;if(A&&A.node&&A.node.isBlock)break}}else{let p=d.childNodes[h-1];u=p&&(p.nodeName=="BR"||p.contentEditable=="false")}}if(Ia&&l.focusNode&&l.focusNode!=c.node&&l.focusNode.nodeType==1){let d=l.focusNode.childNodes[l.focusOffset];d&&d.contentEditable=="false"&&(o=!0)}if(!(o||u&&_o)&&Vu(s.node,s.offset,l.anchorNode,l.anchorOffset)&&Vu(c.node,c.offset,l.focusNode,l.focusOffset))return;let f=!1;if((l.extend||t==n)&&!u){l.collapse(s.node,s.offset);try{t!=n&&l.extend(c.node,c.offset),f=!0}catch{}}if(!f){if(t>n){let h=s;s=c,c=h}let d=document.createRange();d.setEnd(c.node,c.offset),d.setStart(s.node,s.offset),l.removeAllRanges(),l.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,o=0;o<this.children.length;o++){let i=this.children[o],a=r+i.size;if(r==a?t<=a&&n>=r:t<a&&n>r){let s=r+i.border,c=a-i.border;if(t>=s&&n<=c){this.dirty=t==r||n==a?au:DO,t==s&&n==c&&(i.contentLost||i.dom.parentNode!=this.contentDOM)?i.dirty=gs:i.markDirty(t-s,n-s);return}else i.dirty=i.dom==i.contentDOM&&i.dom.parentNode==this.contentDOM&&!i.children.length?au:gs}r=a}this.dirty=au}markParentsDirty(){let t=1;for(let n=this.parent;n;n=n.parent,t++){let r=t==1?au:DO;n.dirty<r&&(n.dirty=r)}}get domAtom(){return!1}get ignoreForCoords(){return!1}}class LI extends Qp{constructor(t,n,r,o){let i,a=n.type.toDOM;if(typeof a=="function"&&(a=a(r,()=>{if(!i)return o;if(i.parent)return i.parent.posBeforeChild(i)})),!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,i=this}matchesWidget(t){return this.dirty==$i&&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 Sie extends Qp{constructor(t,n,r,o){super(t,[],n,null),this.textDOM=r,this.text=o}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 Uu extends Qp{constructor(t,n,r,o){super(t,[],r,o),this.mark=n}static create(t,n,r,o){let i=o.nodeViews[n.type.name],a=i&&i(n,o,r);return(!a||!a.dom)&&(a=zs.renderSpec(document,n.type.spec.toDOM(n,r))),new Uu(t,n,a.dom,a.contentDOM||a.dom)}parseRule(){return this.dirty&gs||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(t){return this.dirty!=gs&&this.mark.eq(t)}markDirty(t,n){if(super.markDirty(t,n),this.dirty!=$i){let r=this.parent;for(;!r.node;)r=r.parent;r.dirty<this.dirty&&(r.dirty=this.dirty),this.dirty=$i}}slice(t,n,r){let o=Uu.create(this.parent,this.mark,!0,r),i=this.children,a=this.size;n<a&&(i=J3(i,n,a,r)),t>0&&(i=J3(i,0,t,r));for(let s=0;s<i.length;s++)i[s].parent=o;return o.children=i,o}}class cc extends Qp{constructor(t,n,r,o,i,a,s,c,l){super(t,[],i,a),this.node=n,this.outerDeco=r,this.innerDeco=o,this.nodeDOM=s}static create(t,n,r,o,i,a){let s=i.nodeViews[n.type.name],c,l=s&&s(n,i,()=>{if(!c)return a;if(c.parent)return c.parent.posBeforeChild(c)},r,o),u=l&&l.dom,f=l&&l.contentDOM;if(n.isText){if(!u)u=document.createTextNode(n.text);else if(u.nodeType!=3)throw new RangeError("Text must be rendered as a DOM text node")}else u||({dom:u,contentDOM:f}=zs.renderSpec(document,n.type.spec.toDOM(n)));!f&&!n.isText&&u.nodeName!="BR"&&(u.hasAttribute("contenteditable")||(u.contentEditable="false"),n.type.spec.draggable&&(u.draggable=!0));let d=u;return u=NI(u,r,n),l?c=new Mie(t,n,r,o,u,f||null,d,l,i,a+1):n.isText?new l2(t,n,r,o,u,d,i):new cc(t,n,r,o,u,f||null,d,i,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=()=>lt.empty)}return t}matchesNode(t,n,r){return this.dirty==$i&&t.eq(this.node)&&G3(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,o=n,i=t.composing?this.localCompositionInfo(t,n):null,a=i&&i.pos>-1?i:null,s=i&&i.pos<0,c=new Lie(this,a&&a.node,t);kie(this.node,this.innerDeco,(l,u,f)=>{l.spec.marks?c.syncToMarks(l.spec.marks,r,t):l.type.side>=0&&!f&&c.syncToMarks(u==this.node.childCount?Fn.none:this.node.child(u).marks,r,t),c.placeWidget(l,t,o)},(l,u,f,d)=>{c.syncToMarks(l.marks,r,t);let h;c.findNodeMatch(l,u,f,d)||s&&t.state.selection.from>o&&t.state.selection.to<o+l.nodeSize&&(h=c.findIndexWithChild(i.node))>-1&&c.updateNodeAt(l,u,f,h,t)||c.updateNextNode(l,u,f,t,d,o)||c.addNode(l,u,f,t,o),o+=l.nodeSize}),c.syncToMarks([],r,t),this.node.isTextblock&&c.addTextblockHacks(),c.destroyRest(),(c.changed||this.dirty==au)&&(a&&this.protectLocalComposition(t,a),TI(this.contentDOM,this.children,t),Id&&Nie(this.dom))}localCompositionInfo(t,n){let{from:r,to:o}=t.state.selection;if(!(t.state.selection instanceof En)||r<n||o>n+this.node.content.size)return null;let i=t.domSelectionRange(),a=Pie(i.focusNode,i.focusOffset);if(!a||!this.dom.contains(a.parentNode))return null;if(this.node.inlineContent){let s=a.nodeValue,c=Cie(this.node.content,s,r-n,o-n);return c<0?null:{node:a,pos:c,text:s}}else return{node:a,pos:-1,text:""}}protectLocalComposition(t,{node:n,pos:r,text:o}){if(this.getDesc(n))return;let i=n;for(;i.parentNode!=this.contentDOM;i=i.parentNode){for(;i.previousSibling;)i.parentNode.removeChild(i.previousSibling);for(;i.nextSibling;)i.parentNode.removeChild(i.nextSibling);i.pmViewDesc&&(i.pmViewDesc=void 0)}let a=new Sie(this,i,n,o);t.input.compositionNodes.push(a),this.children=J3(this.children,r,r+o.length,t,a)}update(t,n,r,o){return this.dirty==gs||!t.sameMarkup(this.node)?!1:(this.updateInner(t,n,r,o),!0)}updateInner(t,n,r,o){this.updateOuterDeco(n),this.node=t,this.innerDeco=r,this.contentDOM&&this.updateChildren(o,this.posAtStart),this.dirty=$i}updateOuterDeco(t){if(G3(t,this.outerDeco))return;let n=this.nodeDOM.nodeType!=1,r=this.dom;this.dom=kI(this.dom,this.nodeDOM,H3(this.outerDeco,this.node,n),H3(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 KO(e,t,n,r,o){NI(r,t,e);let i=new cc(void 0,e,t,n,r,r,r,o,0);return i.contentDOM&&i.updateChildren(o,0),i}class l2 extends cc{constructor(t,n,r,o,i,a,s){super(t,n,r,o,i,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,o){return this.dirty==gs||this.dirty!=$i&&!this.inParent()||!t.sameMarkup(this.node)?!1:(this.updateOuterDeco(n),(this.dirty!=$i||t.text!=this.node.text)&&t.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=t.text,o.trackWrites==this.nodeDOM&&(o.trackWrites=null)),this.node=t,this.dirty=$i,!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 o=this.node.cut(t,n),i=document.createTextNode(o.text);return new l2(this.parent,o,this.outerDeco,this.innerDeco,i,i,r)}markDirty(t,n){super.markDirty(t,n),this.dom!=this.nodeDOM&&(t==0||n==this.nodeDOM.nodeValue.length)&&(this.dirty=gs)}get domAtom(){return!1}}class OI extends Qp{parseRule(){return{ignore:!0}}matchesHack(t){return this.dirty==$i&&this.dom.nodeName==t}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}}class Mie extends cc{constructor(t,n,r,o,i,a,s,c,l,u){super(t,n,r,o,i,a,s,l,u),this.spec=c}update(t,n,r,o){if(this.dirty==gs)return!1;if(this.spec.update){let i=this.spec.update(t,n,r);return i&&this.updateInner(t,n,r,o),i}else return!this.contentDOM&&!t.isLeaf?!1:super.update(t,n,r,o)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(t,n,r,o){this.spec.setSelection?this.spec.setSelection(t,n,r):super.setSelection(t,n,r,o)}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 TI(e,t,n){let r=e.firstChild,o=!1;for(let i=0;i<t.length;i++){let a=t[i],s=a.dom;if(s.parentNode==e){for(;s!=r;)r=HO(r),o=!0;r=r.nextSibling}else o=!0,e.insertBefore(s,r);if(a instanceof Uu){let c=r?r.previousSibling:e.lastChild;TI(a.contentDOM,a.children,n),r=c?c.nextSibling:e.firstChild}}for(;r;)r=HO(r),o=!0;o&&n.trackWrites==e&&(n.trackWrites=null)}const Oh=function(e){e&&(this.nodeName=e)};Oh.prototype=Object.create(null);const su=[new Oh];function H3(e,t,n){if(e.length==0)return su;let r=n?su[0]:new Oh,o=[r];for(let i=0;i<e.length;i++){let a=e[i].type.attrs;if(a){a.nodeName&&o.push(r=new Oh(a.nodeName));for(let s in a){let c=a[s];c!=null&&(n&&o.length==1&&o.push(r=new Oh(t.isInline?"span":"div")),s=="class"?r.class=(r.class?r.class+" ":"")+c:s=="style"?r.style=(r.style?r.style+";":"")+c:s!="nodeName"&&(r[s]=c))}}}return o}function kI(e,t,n,r){if(n==su&&r==su)return t;let o=t;for(let i=0;i<r.length;i++){let a=r[i],s=n[i];if(i){let c;s&&s.nodeName==a.nodeName&&o!=e&&(c=o.parentNode)&&c.nodeName.toLowerCase()==a.nodeName||(c=document.createElement(a.nodeName),c.pmIsDeco=!0,c.appendChild(o),s=su[0]),o=c}wie(o,s||su[0],a)}return o}function wie(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):[],o=n.class?n.class.split(" ").filter(Boolean):[];for(let i=0;i<r.length;i++)o.indexOf(r[i])==-1&&e.classList.remove(r[i]);for(let i=0;i<o.length;i++)r.indexOf(o[i])==-1&&e.classList.add(o[i]);e.classList.length==0&&e.removeAttribute("class")}if(t.style!=n.style){if(t.style){let r=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g,o;for(;o=r.exec(t.style);)e.style.removeProperty(o[1])}n.style&&(e.style.cssText+=n.style)}}function NI(e,t,n){return kI(e,e,su,H3(t,n,e.nodeType!=1))}function G3(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 HO(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}class Lie{constructor(t,n,r){this.lock=n,this.view=r,this.index=0,this.stack=[],this.changed=!1,this.top=t,this.preMatch=Oie(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 o=0,i=this.stack.length>>1,a=Math.min(i,t.length);for(;o<a&&(o==i-1?this.top:this.stack[o+1<<1]).matchesMark(t[o])&&t[o].type.spec.spanning!==!1;)o++;for(;o<i;)this.destroyRest(),this.top.dirty=$i,this.index=this.stack.pop(),this.top=this.stack.pop(),i--;for(;i<t.length;){this.stack.push(this.top,this.index+1);let s=-1;for(let c=this.index;c<Math.min(this.index+3,this.top.children.length);c++){let l=this.top.children[c];if(l.matchesMark(t[i])&&!this.isLocked(l.dom)){s=c;break}}if(s>-1)s>this.index&&(this.changed=!0,this.destroyBetween(this.index,s)),this.top=this.top.children[this.index];else{let c=Uu.create(this.top,t[i],n,r);this.top.children.splice(this.index,0,c),this.top=c,this.changed=!0}this.index=0,i++}}findNodeMatch(t,n,r,o){let i=-1,a;if(o>=this.preMatch.index&&(a=this.preMatch.matches[o-this.preMatch.index]).parent==this.top&&a.matchesNode(t,n,r))i=this.top.children.indexOf(a,this.index);else for(let s=this.index,c=Math.min(this.top.children.length,s+5);s<c;s++){let l=this.top.children[s];if(l.matchesNode(t,n,r)&&!this.preMatch.matched.has(l)){i=s;break}}return i<0?!1:(this.destroyBetween(this.index,i),this.index++,!0)}updateNodeAt(t,n,r,o,i){let a=this.top.children[o];return a.dirty==gs&&a.dom==a.contentDOM&&(a.dirty=au),a.update(t,n,r,i)?(this.destroyBetween(this.index,o),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 o=this.index;o<this.top.children.length;o++)if(this.top.children[o]==r)return o}return-1}t=n}}updateNextNode(t,n,r,o,i,a){for(let s=this.index;s<this.top.children.length;s++){let c=this.top.children[s];if(c instanceof cc){let l=this.preMatch.matched.get(c);if(l!=null&&l!=i)return!1;let u=c.dom,f,d=this.isLocked(u)&&!(t.isText&&c.node&&c.node.isText&&c.nodeDOM.nodeValue==t.text&&c.dirty!=gs&&G3(n,c.outerDeco));if(!d&&c.update(t,n,r,o))return this.destroyBetween(this.index,s),c.dom!=u&&(this.changed=!0),this.index++,!0;if(!d&&(f=this.recreateWrapper(c,t,n,r,o,a)))return this.top.children[this.index]=f,f.contentDOM&&(f.dirty=au,f.updateChildren(o,a+1),f.dirty=$i),this.changed=!0,this.index++,!0;break}}return!1}recreateWrapper(t,n,r,o,i,a){if(t.dirty||n.isAtom||!t.children.length||!t.node.content.eq(n.content))return null;let s=cc.create(this.top,n,r,o,i,a);if(s.contentDOM){s.children=t.children,t.children=[];for(let c of s.children)c.parent=s}return t.destroy(),s}addNode(t,n,r,o,i){let a=cc.create(this.top,t,n,r,o,i);a.contentDOM&&a.updateChildren(o,i+1),this.top.children.splice(this.index++,0,a),this.changed=!0}placeWidget(t,n,r){let o=this.index<this.top.children.length?this.top.children[this.index]:null;if(o&&o.matchesWidget(t)&&(t==o.widget||!o.widget.type.toDOM.parentNode))this.index++;else{let i=new LI(this.top,t,n,r);this.top.children.splice(this.index++,0,i),this.changed=!0}}addTextblockHacks(){let t=this.top.children[this.index-1],n=this.top;for(;t instanceof Uu;)n=t,t=n.children[n.children.length-1];(!t||!(t instanceof l2)||/\n$/.test(t.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(t.node.text))&&((_o||po)&&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 o=new OI(this.top,[],r,null);n!=this.top?n.children.push(o):n.children.splice(this.index++,0,o),this.changed=!0}}isLocked(t){return this.lock&&(t==this.lock||t.nodeType==1&&t.contains(this.lock.parentNode))}}function Oie(e,t){let n=t,r=n.children.length,o=e.childCount,i=new Map,a=[];e:for(;o>0;){let s;for(;;)if(r){let l=n.children[r-1];if(l instanceof Uu)n=l,r=l.children.length;else{s=l,r--;break}}else{if(n==t)break e;r=n.parent.children.indexOf(n),n=n.parent}let c=s.node;if(c){if(c!=e.child(o-1))break;--o,i.set(s,o),a.push(s)}}return{index:o,matched:i,matches:a.reverse()}}function Tie(e,t){return e.type.side-t.type.side}function kie(e,t,n,r){let o=t.locals(e),i=0;if(o.length==0){for(let l=0;l<e.childCount;l++){let u=e.child(l);r(u,o,t.forChild(i,u),l),i+=u.nodeSize}return}let a=0,s=[],c=null;for(let l=0;;){let u,f;for(;a<o.length&&o[a].to==i;){let A=o[a++];A.widget&&(u?(f||(f=[u])).push(A):u=A)}if(u)if(f){f.sort(Tie);for(let A=0;A<f.length;A++)n(f[A],l,!!c)}else n(u,l,!!c);let d,h;if(c)h=-1,d=c,c=null;else if(l<e.childCount)h=l,d=e.child(l++);else break;for(let A=0;A<s.length;A++)s[A].to<=i&&s.splice(A--,1);for(;a<o.length&&o[a].from<=i&&o[a].to>i;)s.push(o[a++]);let p=i+d.nodeSize;if(d.isText){let A=p;a<o.length&&o[a].from<A&&(A=o[a].from);for(let x=0;x<s.length;x++)s[x].to<A&&(A=s[x].to);A<p&&(c=d.cut(A-i),d=d.cut(0,A-i),p=A,h=-1)}else for(;a<o.length&&o[a].to<p;)a++;let m=d.isInline&&!d.isLeaf?s.filter(A=>!A.inline):s.slice();r(d,m,t.forChild(i,d),h),i=p}}function Nie(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 Pie(e,t){for(;;){if(e.nodeType==3)return e;if(e.nodeType==1&&t>0){if(e.childNodes.length>t&&e.childNodes[t].nodeType==3)return e.childNodes[t];e=e.childNodes[t-1],t=is(e)}else if(e.nodeType==1&&t<e.childNodes.length)e=e.childNodes[t],t=0;else return null}}function Cie(e,t,n,r){for(let o=0,i=0;o<e.childCount&&i<=r;){let a=e.child(o++),s=i;if(i+=a.nodeSize,!a.isText)continue;let c=a.text;for(;o<e.childCount;){let l=e.child(o++);if(i+=l.nodeSize,!l.isText)break;c+=l.text}if(i>=n){if(i>=r&&c.slice(r-t.length-s,r-s)==t)return r-t.length;let l=s<r?c.lastIndexOf(t,r-s-1):-1;if(l>=0&&l+t.length+s>=n)return s+l;if(n==r&&c.length>=r+t.length-s&&c.slice(r-s,r-s+t.length)==t)return r}}return-1}function J3(e,t,n,r,o){let i=[];for(let a=0,s=0;a<e.length;a++){let c=e[a],l=s,u=s+=c.size;l>=n||u<=t?i.push(c):(l<t&&i.push(c.slice(0,t-l,r)),o&&(i.push(o),o=void 0),u>n&&i.push(c.slice(n-l,c.size,r)))}return i}function s5(e,t=null){let n=e.domSelectionRange(),r=e.state.doc;if(!n.focusNode)return null;let o=e.docView.nearestDesc(n.focusNode),i=o&&o.size==0,a=e.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(a<0)return null;let s=r.resolve(a),c,l;if(s2(n)){for(c=s;o&&!o.node;)o=o.parent;let u=o.node;if(o&&u.isAtom&&Ut.isSelectable(u)&&o.parent&&!(u.isInline&&nie(n.focusNode,n.focusOffset,o.dom))){let f=o.posBefore;l=new Ut(a==f?s:r.resolve(f))}}else{let u=e.docView.posFromDOM(n.anchorNode,n.anchorOffset,1);if(u<0)return null;c=r.resolve(u)}if(!l){let u=t=="pointer"||e.state.selection.head<s.pos&&!i?1:-1;l=l5(e,c,s,u)}return l}function PI(e){return e.editable?e.hasFocus():II(e)&&document.activeElement&&document.activeElement.contains(e.dom)}function nl(e,t=!1){let n=e.state.selection;if(CI(e,n),!!PI(e)){if(!t&&e.input.mouseDown&&e.input.mouseDown.allowDefault&&po){let r=e.domSelectionRange(),o=e.domObserver.currentSelection;if(r.anchorNode&&o.anchorNode&&Vu(r.anchorNode,r.anchorOffset,o.anchorNode,o.anchorOffset)){e.input.mouseDown.delayedSelectionSync=!0,e.domObserver.setCurSelection();return}}if(e.domObserver.disconnectSelection(),e.cursorWrapper)Fie(e);else{let{anchor:r,head:o}=n,i,a;GO&&!(n instanceof En)&&(n.$from.parent.inlineContent||(i=JO(e,n.from)),!n.empty&&!n.$from.parent.inlineContent&&(a=JO(e,n.to))),e.docView.setSelection(r,o,e.root,t),GO&&(i&&zO(i),a&&zO(a)),n.visible?e.dom.classList.remove("ProseMirror-hideselection"):(e.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&Iie(e))}e.domObserver.setCurSelection(),e.domObserver.connectSelection()}}const GO=_o||po&&iie<63;function JO(e,t){let{node:n,offset:r}=e.docView.domFromPos(t,0),o=r<n.childNodes.length?n.childNodes[r]:null,i=r?n.childNodes[r-1]:null;if(_o&&o&&o.contentEditable=="false")return Wy(o);if((!o||o.contentEditable=="false")&&(!i||i.contentEditable=="false")){if(o)return Wy(o);if(i)return Wy(i)}}function Wy(e){return e.contentEditable="true",_o&&e.draggable&&(e.draggable=!1,e.wasDraggable=!0),e}function zO(e){e.contentEditable="false",e.wasDraggable&&(e.draggable=!0,e.wasDraggable=null)}function Iie(e){let t=e.dom.ownerDocument;t.removeEventListener("selectionchange",e.input.hideSelectionGuard);let n=e.domSelectionRange(),r=n.anchorNode,o=n.anchorOffset;t.addEventListener("selectionchange",e.input.hideSelectionGuard=()=>{(n.anchorNode!=r||n.anchorOffset!=o)&&(t.removeEventListener("selectionchange",e.input.hideSelectionGuard),setTimeout(()=>{(!PI(e)||e.state.selection.visible)&&e.dom.classList.remove("ProseMirror-hideselection")},20))})}function Fie(e){let t=e.domSelection(),n=document.createRange(),r=e.cursorWrapper.dom,o=r.nodeName=="IMG";o?n.setEnd(r.parentNode,Po(r)+1):n.setEnd(r,0),n.collapse(!1),t.removeAllRanges(),t.addRange(n),!o&&!e.state.selection.visible&&ni&&lc<=11&&(r.disabled=!0,r.disabled=!1)}function CI(e,t){if(t instanceof Ut){let n=e.docView.descAt(t.from);n!=e.lastSelectedViewDesc&&(jO(e),n&&n.selectNode(),e.lastSelectedViewDesc=n)}else jO(e)}function jO(e){e.lastSelectedViewDesc&&(e.lastSelectedViewDesc.parent&&e.lastSelectedViewDesc.deselectNode(),e.lastSelectedViewDesc=void 0)}function l5(e,t,n,r){return e.someProp("createSelectionBetween",o=>o(e,t,n))||En.between(t,n,r)}function $O(e){return e.editable&&!e.hasFocus()?!1:II(e)}function II(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 _ie(e){let t=e.docView.domFromPos(e.state.selection.anchor,0),n=e.domSelectionRange();return Vu(t.node,t.offset,n.anchorNode,n.anchorOffset)}function z3(e,t){let{$anchor:n,$head:r}=e.selection,o=t>0?n.max(r):n.min(r),i=o.parent.inlineContent?o.depth?e.doc.resolve(t>0?o.after():o.before()):null:o;return i&&bn.findFrom(i,t)}function Bl(e,t){return e.dispatch(e.state.tr.setSelection(t).scrollIntoView()),!0}function qO(e,t,n){let r=e.state.selection;if(r instanceof En)if(n.indexOf("s")>-1){let{$head:o}=r,i=o.textOffset?null:t<0?o.nodeBefore:o.nodeAfter;if(!i||i.isText||!i.isLeaf)return!1;let a=e.state.doc.resolve(o.pos+i.nodeSize*(t<0?-1:1));return Bl(e,new En(r.$anchor,a))}else if(r.empty){if(e.endOfTextblock(t>0?"forward":"backward")){let o=z3(e.state,t);return o&&o instanceof Ut?Bl(e,o):!1}else if(!(Ki&&n.indexOf("m")>-1)){let o=r.$head,i=o.textOffset?null:t<0?o.nodeBefore:o.nodeAfter,a;if(!i||i.isText)return!1;let s=t<0?o.pos-i.nodeSize:o.pos;return i.isAtom||(a=e.docView.descAt(s))&&!a.contentDOM?Ut.isSelectable(i)?Bl(e,new Ut(t<0?e.state.doc.resolve(o.pos-i.nodeSize):o)):Yp?Bl(e,new En(e.state.doc.resolve(t<0?s:s+i.nodeSize))):!1:!1}}else return!1;else{if(r instanceof Ut&&r.node.isInline)return Bl(e,new En(t>0?r.$to:r.$from));{let o=z3(e.state,t);return o?Bl(e,o):!1}}}function tg(e){return e.nodeType==3?e.nodeValue.length:e.childNodes.length}function Th(e,t){let n=e.pmViewDesc;return n&&n.size==0&&(t<0||e.nextSibling||e.nodeName!="BR")}function Of(e,t){return t<0?Xie(e):Eie(e)}function Xie(e){let t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;let o,i,a=!1;for(Ia&&n.nodeType==1&&r<tg(n)&&Th(n.childNodes[r],-1)&&(a=!0);;)if(r>0){if(n.nodeType!=1)break;{let s=n.childNodes[r-1];if(Th(s,-1))o=n,i=--r;else if(s.nodeType==3)n=s,r=n.nodeValue.length;else break}}else{if(FI(n))break;{let s=n.previousSibling;for(;s&&Th(s,-1);)o=n.parentNode,i=Po(s),s=s.previousSibling;if(s)n=s,r=tg(n);else{if(n=n.parentNode,n==e.dom)break;r=0}}}a?j3(e,n,r):o&&j3(e,o,i)}function Eie(e){let t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;let o=tg(n),i,a;for(;;)if(r<o){if(n.nodeType!=1)break;let s=n.childNodes[r];if(Th(s,1))i=n,a=++r;else break}else{if(FI(n))break;{let s=n.nextSibling;for(;s&&Th(s,1);)i=s.parentNode,a=Po(s)+1,s=s.nextSibling;if(s)n=s,r=0,o=tg(n);else{if(n=n.parentNode,n==e.dom)break;r=o=0}}}i&&j3(e,i,a)}function FI(e){let t=e.pmViewDesc;return t&&t.node&&t.node.isBlock}function Wie(e,t){for(;e&&t==e.childNodes.length&&!i5(e);)t=Po(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 Vie(e,t){for(;e&&!t&&!i5(e);)t=Po(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 j3(e,t,n){if(t.nodeType!=3){let i,a;(a=Wie(t,n))?(t=a,n=0):(i=Vie(t,n))&&(t=i,n=i.nodeValue.length)}let r=e.domSelection();if(s2(r)){let i=document.createRange();i.setEnd(t,n),i.setStart(t,n),r.removeAllRanges(),r.addRange(i)}else r.extend&&r.extend(t,n);e.domObserver.setCurSelection();let{state:o}=e;setTimeout(()=>{e.state==o&&nl(e)},50)}function eT(e,t){let n=e.state.doc.resolve(t);if(!(po||aie)&&n.parent.inlineContent){let o=e.coordsAtPos(t);if(t>n.start()){let i=e.coordsAtPos(t-1),a=(i.top+i.bottom)/2;if(a>o.top&&a<o.bottom&&Math.abs(i.left-o.left)>1)return i.left<o.left?"ltr":"rtl"}if(t<n.end()){let i=e.coordsAtPos(t+1),a=(i.top+i.bottom)/2;if(a>o.top&&a<o.bottom&&Math.abs(i.left-o.left)>1)return i.left>o.left?"ltr":"rtl"}}return getComputedStyle(e.dom).direction=="rtl"?"rtl":"ltr"}function tT(e,t,n){let r=e.state.selection;if(r instanceof En&&!r.empty||n.indexOf("s")>-1||Ki&&n.indexOf("m")>-1)return!1;let{$from:o,$to:i}=r;if(!o.parent.inlineContent||e.endOfTextblock(t<0?"up":"down")){let a=z3(e.state,t);if(a&&a instanceof Ut)return Bl(e,a)}if(!o.parent.inlineContent){let a=t<0?o:i,s=r instanceof qo?bn.near(a,t):bn.findFrom(a,t);return s?Bl(e,s):!1}return!1}function nT(e,t){if(!(e.state.selection instanceof En))return!0;let{$head:n,$anchor:r,empty:o}=e.state.selection;if(!n.sameParent(r))return!0;if(!o)return!1;if(e.endOfTextblock(t>0?"forward":"backward"))return!0;let i=!n.textOffset&&(t<0?n.nodeBefore:n.nodeAfter);if(i&&!i.isText){let a=e.state.tr;return t<0?a.delete(n.pos-i.nodeSize,n.pos):a.delete(n.pos,n.pos+i.nodeSize),e.dispatch(a),!0}return!1}function rT(e,t,n){e.domObserver.stop(),t.contentEditable=n,e.domObserver.start()}function Uie(e){if(!_o||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;rT(e,r,"true"),setTimeout(()=>rT(e,r,"false"),20)}return!1}function Yie(e){let t="";return e.ctrlKey&&(t+="c"),e.metaKey&&(t+="m"),e.altKey&&(t+="a"),e.shiftKey&&(t+="s"),t}function Qie(e,t){let n=t.keyCode,r=Yie(t);if(n==8||Ki&&n==72&&r=="c")return nT(e,-1)||Of(e,-1);if(n==46&&!t.shiftKey||Ki&&n==68&&r=="c")return nT(e,1)||Of(e,1);if(n==13||n==27)return!0;if(n==37||Ki&&n==66&&r=="c"){let o=n==37?eT(e,e.state.selection.from)=="ltr"?-1:1:-1;return qO(e,o,r)||Of(e,o)}else if(n==39||Ki&&n==70&&r=="c"){let o=n==39?eT(e,e.state.selection.from)=="ltr"?1:-1:1;return qO(e,o,r)||Of(e,o)}else{if(n==38||Ki&&n==80&&r=="c")return tT(e,-1,r)||Of(e,-1);if(n==40||Ki&&n==78&&r=="c")return Uie(e)||tT(e,1,r)||Of(e,1);if(r==(Ki?"m":"c")&&(n==66||n==73||n==89||n==90))return!0}return!1}function _I(e,t){e.someProp("transformCopied",h=>{t=h(t,e)});let n=[],{content:r,openStart:o,openEnd:i}=t;for(;o>1&&i>1&&r.childCount==1&&r.firstChild.childCount==1;){o--,i--;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")||zs.fromSchema(e.state.schema),s=YI(),c=s.createElement("div");c.appendChild(a.serializeFragment(r,{document:s}));let l=c.firstChild,u,f=0;for(;l&&l.nodeType==1&&(u=UI[l.nodeName.toLowerCase()]);){for(let h=u.length-1;h>=0;h--){let p=s.createElement(u[h]);for(;c.firstChild;)p.appendChild(c.firstChild);c.appendChild(p),f++}l=c.firstChild}l&&l.nodeType==1&&l.setAttribute("data-pm-slice",`${o} ${i}${f?` -${f}`:""} ${JSON.stringify(n)}`);let d=e.someProp("clipboardTextSerializer",h=>h(t,e))||t.content.textBetween(0,t.content.size,`
`);return{dom:c,text:d}}function XI(e,t,n,r,o){let i=o.parent.type.spec.code,a,s;if(!n&&!t)return null;let c=t&&(r||i||!n);if(c){if(e.someProp("transformPastedText",d=>{t=d(t,i||r,e)}),i)return t?new At(lt.from(e.state.schema.text(t.replace(/\r\n?/g,`
`))),0,0):At.empty;let f=e.someProp("clipboardTextParser",d=>d(t,o,r,e));if(f)s=f;else{let d=o.marks(),{schema:h}=e.state,p=zs.fromSchema(h);a=document.createElement("div"),t.split(/(?:\r\n?|\n)+/).forEach(m=>{let A=a.appendChild(document.createElement("p"));m&&A.appendChild(p.serializeNode(h.text(m,d)))})}}else e.someProp("transformPastedHTML",f=>{n=f(n,e)}),a=Die(n),Yp&&Kie(a);let l=a&&a.querySelector("[data-pm-slice]"),u=l&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(l.getAttribute("data-pm-slice")||"");if(u&&u[3])for(let f=+u[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")||Sd.fromSchema(e.state.schema)).parseSlice(a,{preserveWhitespace:!!(c||u),context:o,ruleFromNode(d){return d.nodeName=="BR"&&!d.nextSibling&&d.parentNode&&!Zie.test(d.parentNode.nodeName)?{ignore:!0}:null}})),u)s=Hie(oT(s,+u[1],+u[2]),u[4]);else if(s=At.maxOpen(Bie(s.content,o),!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=oT(s,f,d)}return e.someProp("transformPasted",f=>{s=f(s,e)}),s}const Zie=/^(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 Bie(e,t){if(e.childCount<2)return e;for(let n=t.depth;n>=0;n--){let o=t.node(n).contentMatchAt(t.index(n)),i,a=[];if(e.forEach(s=>{if(!a)return;let c=o.findWrapping(s.type),l;if(!c)return a=null;if(l=a.length&&i.length&&WI(c,i,s,a[a.length-1],0))a[a.length-1]=l;else{a.length&&(a[a.length-1]=VI(a[a.length-1],i.length));let u=EI(s,c);a.push(u),o=o.matchType(u.type),i=c}}),a)return lt.from(a)}return e}function EI(e,t,n=0){for(let r=t.length-1;r>=n;r--)e=t[r].create(null,lt.from(e));return e}function WI(e,t,n,r,o){if(o<e.length&&o<t.length&&e[o]==t[o]){let i=WI(e,t,n,r.lastChild,o+1);if(i)return r.copy(r.content.replaceChild(r.childCount-1,i));if(r.contentMatchAt(r.childCount).matchType(o==e.length-1?n.type:e[o+1]))return r.copy(r.content.append(lt.from(EI(n,e,o+1))))}}function VI(e,t){if(t==0)return e;let n=e.content.replaceChild(e.childCount-1,VI(e.lastChild,t-1)),r=e.contentMatchAt(e.childCount).fillBefore(lt.empty,!0);return e.copy(n.append(r))}function $3(e,t,n,r,o,i){let a=t<0?e.firstChild:e.lastChild,s=a.content;return e.childCount>1&&(i=0),o<r-1&&(s=$3(s,t,n,r,o+1,i)),o>=n&&(s=t<0?a.contentMatchAt(0).fillBefore(s,i<=o).append(s):s.append(a.contentMatchAt(a.childCount).fillBefore(lt.empty,!0))),e.replaceChild(t<0?0:e.childCount-1,a.copy(s))}function oT(e,t,n){return t<e.openStart&&(e=new At($3(e.content,-1,t,e.openStart,0,e.openEnd),t,e.openEnd)),n<e.openEnd&&(e=new At($3(e.content,1,n,e.openEnd,0,0),e.openStart,n)),e}const UI={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 iT=null;function YI(){return iT||(iT=document.implementation.createHTMLDocument("title"))}function Die(e){let t=/^(\s*<meta [^>]*>)*/.exec(e);t&&(e=e.slice(t[0].length));let n=YI().createElement("div"),r=/<([a-z][^>\s]+)/i.exec(e),o;if((o=r&&UI[r[1].toLowerCase()])&&(e=o.map(i=>"<"+i+">").join("")+e+o.map(i=>"</"+i+">").reverse().join("")),n.innerHTML=e,o)for(let i=0;i<o.length;i++)n=n.querySelector(o[i])||n;return n}function Kie(e){let t=e.querySelectorAll(po?"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 Hie(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:o,openStart:i,openEnd:a}=e;for(let s=r.length-2;s>=0;s-=2){let c=n.nodes[r[s]];if(!c||c.hasRequiredAttrs())break;o=lt.from(c.create(r[s+1],o)),i++,a++}return new At(o,i,a)}const Xo={},Eo={},Gie={touchstart:!0,touchmove:!0};class Jie{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.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 zie(e){for(let t in Xo){let n=Xo[t];e.dom.addEventListener(t,e.input.eventHandlers[t]=r=>{$ie(e,r)&&!c5(e,r)&&(e.editable||!(r.type in Eo))&&n(e,r)},Gie[t]?{passive:!0}:void 0)}_o&&e.dom.addEventListener("input",()=>null),q3(e)}function nc(e,t){e.input.lastSelectionOrigin=t,e.input.lastSelectionTime=Date.now()}function jie(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 q3(e){e.someProp("handleDOMEvents",t=>{for(let n in t)e.input.eventHandlers[n]||e.dom.addEventListener(n,e.input.eventHandlers[n]=r=>c5(e,r))})}function c5(e,t){return e.someProp("handleDOMEvents",n=>{let r=n[t.type];return r?r(e,t)||t.defaultPrevented:!1})}function $ie(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 qie(e,t){!c5(e,t)&&Xo[t.type]&&(e.editable||!(t.type in Eo))&&Xo[t.type](e,t)}Eo.keydown=(e,t)=>{let n=t;if(e.input.shiftKey=n.keyCode==16||n.shiftKey,!ZI(e,n)&&(e.input.lastKeyCode=n.keyCode,e.input.lastKeyCodeTime=Date.now(),!(wa&&po&&n.keyCode==13)))if(n.keyCode!=229&&e.domObserver.forceFlush(),Id&&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",o=>o(e,tu(13,"Enter"))),e.input.lastIOSEnter=0)},200)}else e.someProp("handleKeyDown",r=>r(e,n))||Qie(e,n)?n.preventDefault():nc(e,"key")};Eo.keyup=(e,t)=>{t.keyCode==16&&(e.input.shiftKey=!1)};Eo.keypress=(e,t)=>{let n=t;if(ZI(e,n)||!n.charCode||n.ctrlKey&&!n.altKey||Ki&&n.metaKey)return;if(e.someProp("handleKeyPress",o=>o(e,n))){n.preventDefault();return}let r=e.state.selection;if(!(r instanceof En)||!r.$from.sameParent(r.$to)){let o=String.fromCharCode(n.charCode);!/[\r\n]/.test(o)&&!e.someProp("handleTextInput",i=>i(e,r.$from.pos,r.$to.pos,o))&&e.dispatch(e.state.tr.insertText(o).scrollIntoView()),n.preventDefault()}};function c2(e){return{left:e.clientX,top:e.clientY}}function eae(e,t){let n=t.x-e.clientX,r=t.y-e.clientY;return n*n+r*r<100}function u5(e,t,n,r,o){if(r==-1)return!1;let i=e.state.doc.resolve(r);for(let a=i.depth+1;a>0;a--)if(e.someProp(t,s=>a>i.depth?s(e,n,i.nodeAfter,i.before(a),o,!0):s(e,n,i.node(a),i.before(a),o,!1)))return!0;return!1}function vd(e,t,n){e.focused||e.focus();let r=e.state.tr.setSelection(t);n=="pointer"&&r.setMeta("pointer",!0),e.dispatch(r)}function tae(e,t){if(t==-1)return!1;let n=e.state.doc.resolve(t),r=n.nodeAfter;return r&&r.isAtom&&Ut.isSelectable(r)?(vd(e,new Ut(n),"pointer"),!0):!1}function nae(e,t){if(t==-1)return!1;let n=e.state.selection,r,o;n instanceof Ut&&(r=n.node);let i=e.state.doc.resolve(t);for(let a=i.depth+1;a>0;a--){let s=a>i.depth?i.nodeAfter:i.node(a);if(Ut.isSelectable(s)){r&&n.$from.depth>0&&a>=n.$from.depth&&i.before(n.$from.depth+1)==n.$from.pos?o=i.before(n.$from.depth):o=i.before(a);break}}return o!=null?(vd(e,Ut.create(e.state.doc,o),"pointer"),!0):!1}function rae(e,t,n,r,o){return u5(e,"handleClickOn",t,n,r)||e.someProp("handleClick",i=>i(e,t,r))||(o?nae(e,n):tae(e,n))}function oae(e,t,n,r){return u5(e,"handleDoubleClickOn",t,n,r)||e.someProp("handleDoubleClick",o=>o(e,t,r))}function iae(e,t,n,r){return u5(e,"handleTripleClickOn",t,n,r)||e.someProp("handleTripleClick",o=>o(e,t,r))||aae(e,n,r)}function aae(e,t,n){if(n.button!=0)return!1;let r=e.state.doc;if(t==-1)return r.inlineContent?(vd(e,En.create(r,0,r.content.size),"pointer"),!0):!1;let o=r.resolve(t);for(let i=o.depth+1;i>0;i--){let a=i>o.depth?o.nodeAfter:o.node(i),s=o.before(i);if(a.inlineContent)vd(e,En.create(r,s+1,s+1+a.content.size),"pointer");else if(Ut.isSelectable(a))vd(e,Ut.create(r,s),"pointer");else continue;return!0}}function f5(e){return ng(e)}const QI=Ki?"metaKey":"ctrlKey";Xo.mousedown=(e,t)=>{let n=t;e.input.shiftKey=n.shiftKey;let r=f5(e),o=Date.now(),i="singleClick";o-e.input.lastClick.time<500&&eae(n,e.input.lastClick)&&!n[QI]&&(e.input.lastClick.type=="singleClick"?i="doubleClick":e.input.lastClick.type=="doubleClick"&&(i="tripleClick")),e.input.lastClick={time:o,x:n.clientX,y:n.clientY,type:i};let a=e.posAtCoords(c2(n));a&&(i=="singleClick"?(e.input.mouseDown&&e.input.mouseDown.done(),e.input.mouseDown=new sae(e,a,n,!!r)):(i=="doubleClick"?oae:iae)(e,a.pos,a.inside,n)?n.preventDefault():nc(e,"pointer"))};class sae{constructor(t,n,r,o){this.view=t,this.pos=n,this.event=r,this.flushed=o,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=t.state.doc,this.selectNode=!!r[QI],this.allowDefault=r.shiftKey;let i,a;if(n.inside>-1)i=t.state.doc.nodeAt(n.inside),a=n.inside;else{let u=t.state.doc.resolve(n.pos);i=u.parent,a=u.depth?u.before():0}const s=o?null:r.target,c=s?t.docView.nearestDesc(s,!0):null;this.target=c?c.dom:null;let{selection:l}=t.state;(r.button==0&&i.type.spec.draggable&&i.type.spec.selectable!==!1||l instanceof Ut&&l.from<=a&&l.to>a)&&(this.mightDrag={node:i,pos:a,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&Ia&&!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)),nc(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(()=>nl(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(c2(t))),this.updateAllowDefault(t),this.allowDefault||!n?nc(this.view,"pointer"):rae(this.view,n.pos,n.inside,t,this.selectNode)?t.preventDefault():t.button==0&&(this.flushed||_o&&this.mightDrag&&!this.mightDrag.node.isAtom||po&&!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)?(vd(this.view,bn.near(this.view.state.doc.resolve(n.pos)),"pointer"),t.preventDefault()):nc(this.view,"pointer")}move(t){this.updateAllowDefault(t),nc(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)}}Xo.touchstart=e=>{e.input.lastTouch=Date.now(),f5(e),nc(e,"pointer")};Xo.touchmove=e=>{e.input.lastTouch=Date.now(),nc(e,"pointer")};Xo.contextmenu=e=>f5(e);function ZI(e,t){return e.composing?!0:_o&&Math.abs(t.timeStamp-e.input.compositionEndedAt)<500?(e.input.compositionEndedAt=-2e8,!0):!1}const lae=wa?5e3:-1;Eo.compositionstart=Eo.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(),ng(e,!0),e.markCursor=null;else if(ng(e),Ia&&t.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let r=e.domSelectionRange();for(let o=r.focusNode,i=r.focusOffset;o&&o.nodeType==1&&i!=0;){let a=i<0?o.lastChild:o.childNodes[i-1];if(!a)break;if(a.nodeType==3){e.domSelection().collapse(a,a.nodeValue.length);break}else o=a,i=-1}}e.input.composing=!0}BI(e,lae)};Eo.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.compositionPendingChanges&&Promise.resolve().then(()=>e.domObserver.flush()),e.input.compositionID++,BI(e,20))};function BI(e,t){clearTimeout(e.input.composingTimeout),t>-1&&(e.input.composingTimeout=setTimeout(()=>ng(e),t))}function DI(e){for(e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=cae());e.input.compositionNodes.length>0;)e.input.compositionNodes.pop().markParentsDirty()}function cae(){let e=document.createEvent("Event");return e.initEvent("event",!0,!0),e.timeStamp}function ng(e,t=!1){if(!(wa&&e.domObserver.flushingSoon>=0)){if(e.domObserver.forceFlush(),DI(e),t||e.docView&&e.docView.dirty){let n=s5(e);return n&&!n.eq(e.state.selection)?e.dispatch(e.state.tr.setSelection(n)):e.updateState(e.state),!0}return!1}}function uae(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(),o=document.createRange();o.selectNodeContents(t),e.dom.blur(),r.removeAllRanges(),r.addRange(o),setTimeout(()=>{n.parentNode&&n.parentNode.removeChild(n),e.focus()},50)}const ap=ni&&lc<15||Id&&sie<604;Xo.copy=Eo.cut=(e,t)=>{let n=t,r=e.state.selection,o=n.type=="cut";if(r.empty)return;let i=ap?null:n.clipboardData,a=r.content(),{dom:s,text:c}=_I(e,a);i?(n.preventDefault(),i.clearData(),i.setData("text/html",s.innerHTML),i.setData("text/plain",c)):uae(e,s),o&&e.dispatch(e.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function fae(e){return e.openStart==0&&e.openEnd==0&&e.content.childCount==1?e.content.firstChild:null}function dae(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 o=e.input.shiftKey&&e.input.lastKeyCode!=45;setTimeout(()=>{e.focus(),r.parentNode&&r.parentNode.removeChild(r),n?sp(e,r.value,null,o,t):sp(e,r.textContent,r.innerHTML,o,t)},50)}function sp(e,t,n,r,o){let i=XI(e,t,n,r,e.state.selection.$from);if(e.someProp("handlePaste",c=>c(e,o,i||At.empty)))return!0;if(!i)return!1;let a=fae(i),s=a?e.state.tr.replaceSelectionWith(a,r):e.state.tr.replaceSelection(i);return e.dispatch(s.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function KI(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," "):""}Eo.paste=(e,t)=>{let n=t;if(e.composing&&!wa)return;let r=ap?null:n.clipboardData,o=e.input.shiftKey&&e.input.lastKeyCode!=45;r&&sp(e,KI(r),r.getData("text/html"),o,n)?n.preventDefault():dae(e,n)};class HI{constructor(t,n,r){this.slice=t,this.move=n,this.node=r}}const GI=Ki?"altKey":"ctrlKey";Xo.dragstart=(e,t)=>{let n=t,r=e.input.mouseDown;if(r&&r.done(),!n.dataTransfer)return;let o=e.state.selection,i=o.empty?null:e.posAtCoords(c2(n)),a;if(!(i&&i.pos>=o.from&&i.pos<=(o instanceof Ut?o.to-1:o.to))){if(r&&r.mightDrag)a=Ut.create(e.state.doc,r.mightDrag.pos);else if(n.target&&n.target.nodeType==1){let u=e.docView.nearestDesc(n.target,!0);u&&u.node.type.spec.draggable&&u!=e.docView&&(a=Ut.create(e.state.doc,u.posBefore))}}let s=(a||e.state.selection).content(),{dom:c,text:l}=_I(e,s);n.dataTransfer.clearData(),n.dataTransfer.setData(ap?"Text":"text/html",c.innerHTML),n.dataTransfer.effectAllowed="copyMove",ap||n.dataTransfer.setData("text/plain",l),e.dragging=new HI(s,!n[GI],a)};Xo.dragend=e=>{let t=e.dragging;window.setTimeout(()=>{e.dragging==t&&(e.dragging=null)},50)};Eo.dragover=Eo.dragenter=(e,t)=>t.preventDefault();Eo.drop=(e,t)=>{let n=t,r=e.dragging;if(e.dragging=null,!n.dataTransfer)return;let o=e.posAtCoords(c2(n));if(!o)return;let i=e.state.doc.resolve(o.pos),a=r&&r.slice;a?e.someProp("transformPasted",p=>{a=p(a,e)}):a=XI(e,KI(n.dataTransfer),ap?null:n.dataTransfer.getData("text/html"),!1,i);let s=!!(r&&!n[GI]);if(e.someProp("handleDrop",p=>p(e,n,a||At.empty,s))){n.preventDefault();return}if(!a)return;n.preventDefault();let c=a?PN(e.state.doc,i.pos,a):i.pos;c==null&&(c=i.pos);let l=e.state.tr;if(s){let{node:p}=r;p?p.replace(l):l.deleteSelection()}let u=l.mapping.map(c),f=a.openStart==0&&a.openEnd==0&&a.content.childCount==1,d=l.doc;if(f?l.replaceRangeWith(u,u,a.content.firstChild):l.replaceRange(u,u,a),l.doc.eq(d))return;let h=l.doc.resolve(u);if(f&&Ut.isSelectable(a.content.firstChild)&&h.nodeAfter&&h.nodeAfter.sameMarkup(a.content.firstChild))l.setSelection(new Ut(h));else{let p=l.mapping.map(c);l.mapping.maps[l.mapping.maps.length-1].forEach((m,A,x,R)=>p=R),l.setSelection(l5(e,h,l.doc.resolve(p)))}e.focus(),e.dispatch(l.setMeta("uiEvent","drop"))};Xo.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())&&nl(e)},20))};Xo.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)};Xo.beforeinput=(e,t)=>{if(po&&wa&&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",i=>i(e,tu(8,"Backspace")))))return;let{$cursor:o}=e.state.selection;o&&o.pos>0&&e.dispatch(e.state.tr.delete(o.pos-1,o.pos).scrollIntoView())},50)}};for(let e in Eo)Xo[e]=Eo[e];function lp(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 rg{constructor(t,n){this.toDOM=t,this.spec=n||xu,this.side=this.spec.side||0}map(t,n,r,o){let{pos:i,deleted:a}=t.mapResult(n.from+o,this.side<0?-1:1);return a?null:new ki(i-r,i-r,this)}valid(){return!0}eq(t){return this==t||t instanceof rg&&(this.spec.key&&this.spec.key==t.spec.key||this.toDOM==t.toDOM&&lp(this.spec,t.spec))}destroy(t){this.spec.destroy&&this.spec.destroy(t)}}class uc{constructor(t,n){this.attrs=t,this.spec=n||xu}map(t,n,r,o){let i=t.map(n.from+o,this.spec.inclusiveStart?-1:1)-r,a=t.map(n.to+o,this.spec.inclusiveEnd?1:-1)-r;return i>=a?null:new ki(i,a,this)}valid(t,n){return n.from<n.to}eq(t){return this==t||t instanceof uc&&lp(this.attrs,t.attrs)&&lp(this.spec,t.spec)}static is(t){return t.type instanceof uc}destroy(){}}class d5{constructor(t,n){this.attrs=t,this.spec=n||xu}map(t,n,r,o){let i=t.mapResult(n.from+o,1);if(i.deleted)return null;let a=t.mapResult(n.to+o,-1);return a.deleted||a.pos<=i.pos?null:new ki(i.pos-r,a.pos-r,this)}valid(t,n){let{index:r,offset:o}=t.content.findIndex(n.from),i;return o==n.from&&!(i=t.child(r)).isText&&o+i.nodeSize==n.to}eq(t){return this==t||t instanceof d5&&lp(this.attrs,t.attrs)&&lp(this.spec,t.spec)}destroy(){}}class ki{constructor(t,n,r){this.from=t,this.to=n,this.type=r}copy(t,n){return new ki(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 ki(t,t,new rg(n,r))}static inline(t,n,r,o){return new ki(t,n,new uc(r,o))}static node(t,n,r,o){return new ki(t,n,new d5(r,o))}get spec(){return this.type.spec}get inline(){return this.type instanceof uc}get widget(){return this.type instanceof rg}}const Bf=[],xu={};class Nr{constructor(t,n){this.local=t.length?t:Bf,this.children=n.length?n:Bf}static create(t,n){return n.length?og(n,t,0,xu):co}find(t,n,r){let o=[];return this.findInner(t??0,n??1e9,o,0,r),o}findInner(t,n,r,o,i){for(let a=0;a<this.local.length;a++){let s=this.local[a];s.from<=n&&s.to>=t&&(!i||i(s.spec))&&r.push(s.copy(s.from+o,s.to+o))}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,o+s,i)}}map(t,n,r){return this==co||t.maps.length==0?this:this.mapInner(t,n,0,0,r||xu)}mapInner(t,n,r,o,i){let a;for(let s=0;s<this.local.length;s++){let c=this.local[s].map(t,r,o);c&&c.type.valid(n,c)?(a||(a=[])).push(c):i.onRemove&&i.onRemove(this.local[s].spec)}return this.children.length?hae(this.children,a||[],t,n,r,o,i):a?new Nr(a.sort(bu),Bf):co}add(t,n){return n.length?this==co?Nr.create(t,n):this.addInner(t,n,0):this}addInner(t,n,r){let o,i=0;t.forEach((s,c)=>{let l=c+r,u;if(u=zI(n,s,l)){for(o||(o=this.children.slice());i<o.length&&o[i]<c;)i+=3;o[i]==c?o[i+2]=o[i+2].addInner(s,u,l+1):o.splice(i,0,c,c+s.nodeSize,og(u,s,l+1,xu)),i+=3}});let a=JI(i?jI(n):n,-r);for(let s=0;s<a.length;s++)a[s].type.valid(t,a[s])||a.splice(s--,1);return new Nr(a.length?this.local.concat(a).sort(bu):this.local,o||this.children)}remove(t){return t.length==0||this==co?this:this.removeInner(t,0)}removeInner(t,n){let r=this.children,o=this.local;for(let i=0;i<r.length;i+=3){let a,s=r[i]+n,c=r[i+1]+n;for(let u=0,f;u<t.length;u++)(f=t[u])&&f.from>s&&f.to<c&&(t[u]=null,(a||(a=[])).push(f));if(!a)continue;r==this.children&&(r=this.children.slice());let l=r[i+2].removeInner(a,s+1);l!=co?r[i+2]=l:(r.splice(i,3),i-=3)}if(o.length){for(let i=0,a;i<t.length;i++)if(a=t[i])for(let s=0;s<o.length;s++)o[s].eq(a,n)&&(o==this.local&&(o=this.local.slice()),o.splice(s--,1))}return r==this.children&&o==this.local?this:o.length||r.length?new Nr(o,r):co}forChild(t,n){if(this==co)return this;if(n.isLeaf)return Nr.empty;let r,o;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 i=t+1,a=i+n.content.size;for(let s=0;s<this.local.length;s++){let c=this.local[s];if(c.from<a&&c.to>i&&c.type instanceof uc){let l=Math.max(i,c.from)-i,u=Math.min(a,c.to)-i;l<u&&(o||(o=[])).push(c.copy(l,u))}}if(o){let s=new Nr(o.sort(bu),Bf);return r?new zl([s,r]):s}return r||co}eq(t){if(this==t)return!0;if(!(t instanceof Nr)||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 h5(this.localsInner(t))}localsInner(t){if(this==co)return Bf;if(t.inlineContent||!this.local.some(uc.is))return this.local;let n=[];for(let r=0;r<this.local.length;r++)this.local[r].type instanceof uc||n.push(this.local[r]);return n}}Nr.empty=new Nr([],[]);Nr.removeOverlap=h5;const co=Nr.empty;class zl{constructor(t){this.members=t}map(t,n){const r=this.members.map(o=>o.map(t,n,xu));return zl.from(r)}forChild(t,n){if(n.isLeaf)return Nr.empty;let r=[];for(let o=0;o<this.members.length;o++){let i=this.members[o].forChild(t,n);i!=co&&(i instanceof zl?r=r.concat(i.members):r.push(i))}return zl.from(r)}eq(t){if(!(t instanceof zl)||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 o=0;o<this.members.length;o++){let i=this.members[o].localsInner(t);if(i.length)if(!n)n=i;else{r&&(n=n.slice(),r=!1);for(let a=0;a<i.length;a++)n.push(i[a])}}return n?h5(r?n:n.sort(bu)):Bf}static from(t){switch(t.length){case 0:return co;case 1:return t[0];default:return new zl(t.every(n=>n instanceof Nr)?t:t.reduce((n,r)=>n.concat(r instanceof Nr?r:r.members),[]))}}}function hae(e,t,n,r,o,i,a){let s=e.slice();for(let l=0,u=i;l<n.maps.length;l++){let f=0;n.maps[l].forEach((d,h,p,m)=>{let A=m-p-(h-d);for(let x=0;x<s.length;x+=3){let R=s[x+1];if(R<0||d>R+u-f)continue;let y=s[x]+u-f;h>=y?s[x+1]=d<=y?-2:-1:d>=u&&A&&(s[x]+=A,s[x+1]+=A)}f+=A}),u=n.maps[l].map(u,-1)}let c=!1;for(let l=0;l<s.length;l+=3)if(s[l+1]<0){if(s[l+1]==-2){c=!0,s[l+1]=-1;continue}let u=n.map(e[l]+i),f=u-o;if(f<0||f>=r.content.size){c=!0;continue}let d=n.map(e[l+1]+i,-1),h=d-o,{index:p,offset:m}=r.content.findIndex(f),A=r.maybeChild(p);if(A&&m==f&&m+A.nodeSize==h){let x=s[l+2].mapInner(n,A,u+1,e[l]+i+1,a);x!=co?(s[l]=f,s[l+1]=h,s[l+2]=x):(s[l+1]=-2,c=!0)}else c=!0}if(c){let l=pae(s,e,t,n,o,i,a),u=og(l,r,0,a);t=u.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<u.children.length;f+=3){let h=u.children[f];for(;d<s.length&&s[d]<h;)d+=3;s.splice(d,0,u.children[f],u.children[f+1],u.children[f+2])}}return new Nr(t.sort(bu),s)}function JI(e,t){if(!t||!e.length)return e;let n=[];for(let r=0;r<e.length;r++){let o=e[r];n.push(new ki(o.from+t,o.to+t,o.type))}return n}function pae(e,t,n,r,o,i,a){function s(c,l){for(let u=0;u<c.local.length;u++){let f=c.local[u].map(r,o,l);f?n.push(f):a.onRemove&&a.onRemove(c.local[u].spec)}for(let u=0;u<c.children.length;u+=3)s(c.children[u+2],c.children[u]+l+1)}for(let c=0;c<e.length;c+=3)e[c+1]==-1&&s(e[c+2],t[c]+i+1);return n}function zI(e,t,n){if(t.isLeaf)return null;let r=n+t.nodeSize,o=null;for(let i=0,a;i<e.length;i++)(a=e[i])&&a.from>n&&a.to<r&&((o||(o=[])).push(a),e[i]=null);return o}function jI(e){let t=[];for(let n=0;n<e.length;n++)e[n]!=null&&t.push(e[n]);return t}function og(e,t,n,r){let o=[],i=!1;t.forEach((s,c)=>{let l=zI(e,s,c+n);if(l){i=!0;let u=og(l,s,n+c+1,r);u!=co&&o.push(c,c+s.nodeSize,u)}});let a=JI(i?jI(e):e,-n).sort(bu);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||o.length?new Nr(a,o):co}function bu(e,t){return e.from-t.from||e.to-t.to}function h5(e){let t=e;for(let n=0;n<t.length-1;n++){let r=t[n];if(r.from!=r.to)for(let o=n+1;o<t.length;o++){let i=t[o];if(i.from==r.from){i.to!=r.to&&(t==e&&(t=e.slice()),t[o]=i.copy(i.from,r.to),aT(t,o+1,i.copy(r.to,i.to)));continue}else{i.from<r.to&&(t==e&&(t=e.slice()),t[n]=r.copy(r.from,i.from),aT(t,o,r.copy(i.from,r.to)));break}}}return t}function aT(e,t,n){for(;t<e.length&&bu(n,e[t])>0;)t++;e.splice(t,0,n)}function Vy(e){let t=[];return e.someProp("decorations",n=>{let r=n(e.state);r&&r!=co&&t.push(r)}),e.cursorWrapper&&t.push(Nr.create(e.state.doc,[e.cursorWrapper.deco])),zl.from(t)}const mae={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},vae=ni&&lc<=11;class gae{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 Aae{constructor(t,n){this.view=t,this.handleDOMChange=n,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new gae,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.observer=window.MutationObserver&&new window.MutationObserver(r=>{for(let o=0;o<r.length;o++)this.queue.push(r[o]);ni&&lc<=11&&r.some(o=>o.type=="childList"&&o.removedNodes.length||o.type=="characterData"&&o.oldValue.length>o.target.nodeValue.length)?this.flushSoon():this.flush()}),vae&&(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,mae)),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($O(this.view)){if(this.suppressingSelectionUpdates)return nl(this.view);if(ni&&lc<=11&&!this.view.state.selection.empty){let t=this.view.domSelectionRange();if(t.focusNode&&Vu(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 i=t.focusNode;i;i=ip(i))n.add(i);for(let i=t.anchorNode;i;i=ip(i))if(n.has(i)){r=i;break}let o=r&&this.view.docView.nearestDesc(r);if(o&&o.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(),o=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(r)&&$O(t)&&!this.ignoreSelectionChange(r),i=-1,a=-1,s=!1,c=[];if(t.editable)for(let u=0;u<n.length;u++){let f=this.registerMutation(n[u],c);f&&(i=i<0?f.from:Math.min(f.from,i),a=a<0?f.to:Math.max(f.to,a),f.typeOver&&(s=!0))}if(Ia&&c.length>1){let u=c.filter(f=>f.nodeName=="BR");if(u.length==2){let f=u[0],d=u[1];f.parentNode&&f.parentNode.parentNode==d.parentNode?d.remove():f.remove()}}let l=null;i<0&&o&&t.input.lastFocus>Date.now()-200&&Math.max(t.input.lastTouch,t.input.lastClick.time)<Date.now()-300&&s2(r)&&(l=s5(t))&&l.eq(bn.near(t.state.doc.resolve(0),1))?(t.input.lastFocus=0,nl(t),this.currentSelection.set(r),t.scrollToSelection()):(i>-1||o)&&(i>-1&&(t.docView.markDirty(i,a),Rae(t)),this.handleDOMChange(i,a,s,c),t.docView&&t.docView.dirty?t.updateState(t.state):this.currentSelection.eq(r)||nl(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 u=0;u<t.addedNodes.length;u++)n.push(t.addedNodes[u]);if(r.contentDOM&&r.contentDOM!=r.dom&&!r.contentDOM.contains(t.target))return{from:r.posBefore,to:r.posAfter};let o=t.previousSibling,i=t.nextSibling;if(ni&&lc<=11&&t.addedNodes.length)for(let u=0;u<t.addedNodes.length;u++){let{previousSibling:f,nextSibling:d}=t.addedNodes[u];(!f||Array.prototype.indexOf.call(t.addedNodes,f)<0)&&(o=f),(!d||Array.prototype.indexOf.call(t.addedNodes,d)<0)&&(i=d)}let a=o&&o.parentNode==t.target?Po(o)+1:0,s=r.localPosFromDOM(t.target,a,-1),c=i&&i.parentNode==t.target?Po(i):t.target.childNodes.length,l=r.localPosFromDOM(t.target,c,1);return{from:s,to:l}}else return t.type=="attributes"?{from:r.posAtStart-r.border,to:r.posAtEnd+r.border}:{from:r.posAtStart,to:r.posAtEnd,typeOver:t.target.nodeValue==t.oldValue}}}let sT=new WeakMap,lT=!1;function Rae(e){if(!sT.has(e)&&(sT.set(e,null),["normal","nowrap","pre-line"].indexOf(getComputedStyle(e.dom).whiteSpace)!==-1)){if(e.requiresGeckoHackNode=Ia,lT)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."),lT=!0}}function yae(e){let t;function n(c){c.preventDefault(),c.stopImmediatePropagation(),t=c.getTargetRanges()[0]}e.dom.addEventListener("beforeinput",n,!0),document.execCommand("indent"),e.dom.removeEventListener("beforeinput",n,!0);let r=t.startContainer,o=t.startOffset,i=t.endContainer,a=t.endOffset,s=e.domAtPos(e.state.selection.anchor);return Vu(s.node,s.offset,i,a)&&([r,o,i,a]=[i,a,r,o]),{anchorNode:r,anchorOffset:o,focusNode:i,focusOffset:a}}function xae(e,t,n){let{node:r,fromOffset:o,toOffset:i,from:a,to:s}=e.docView.parseRange(t,n),c=e.domSelectionRange(),l,u=c.anchorNode;if(u&&e.dom.contains(u.nodeType==1?u:u.parentNode)&&(l=[{node:u,offset:c.anchorOffset}],s2(c)||l.push({node:c.focusNode,offset:c.focusOffset})),po&&e.input.lastKeyCode===8)for(let A=i;A>o;A--){let x=r.childNodes[A-1],R=x.pmViewDesc;if(x.nodeName=="BR"&&!R){i=A;break}if(!R||R.size)break}let f=e.state.doc,d=e.someProp("domParser")||Sd.fromSchema(e.state.schema),h=f.resolve(a),p=null,m=d.parse(r,{topNode:h.parent,topMatch:h.parent.contentMatchAt(h.index()),topOpen:!0,from:o,to:i,preserveWhitespace:h.parent.type.whitespace=="pre"?"full":!0,findPositions:l,ruleFromNode:bae,context:h});if(l&&l[0].pos!=null){let A=l[0].pos,x=l[1]&&l[1].pos;x==null&&(x=A),p={anchor:A+a,head:x+a}}return{doc:m,sel:p,from:a,to:s}}function bae(e){let t=e.pmViewDesc;if(t)return t.parseRule();if(e.nodeName=="BR"&&e.parentNode){if(_o&&/^(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||_o&&/^(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 Sae=/^(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 Mae(e,t,n,r,o){let i=e.input.compositionPendingChanges||(e.composing?e.input.compositionID:0);if(e.input.compositionPendingChanges=0,t<0){let O=e.input.lastSelectionTime>Date.now()-50?e.input.lastSelectionOrigin:null,k=s5(e,O);if(k&&!e.state.selection.eq(k)){if(po&&wa&&e.input.lastKeyCode===13&&Date.now()-100<e.input.lastKeyCodeTime&&e.someProp("handleKeyDown",N=>N(e,tu(13,"Enter"))))return;let _=e.state.tr.setSelection(k);O=="pointer"?_.setMeta("pointer",!0):O=="key"&&_.scrollIntoView(),i&&_.setMeta("composition",i),e.dispatch(_)}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 c=e.state.selection,l=xae(e,t,n),u=e.state.doc,f=u.slice(l.from,l.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=Oae(f.content,l.doc.content,l.from,d,h);if((Id&&e.input.lastIOSEnter>Date.now()-225||wa)&&o.some(O=>O.nodeType==1&&!Sae.test(O.nodeName))&&(!p||p.endA>=p.endB)&&e.someProp("handleKeyDown",O=>O(e,tu(13,"Enter")))){e.input.lastIOSEnter=0;return}if(!p)if(r&&c instanceof En&&!c.empty&&c.$head.sameParent(c.$anchor)&&!e.composing&&!(l.sel&&l.sel.anchor!=l.sel.head))p={start:c.from,endA:c.to,endB:c.to};else{if(l.sel){let O=cT(e,e.state.doc,l.sel);if(O&&!O.eq(e.state.selection)){let k=e.state.tr.setSelection(O);i&&k.setMeta("composition",i),e.dispatch(k)}}return}if(po&&e.cursorWrapper&&l.sel&&l.sel.anchor==e.cursorWrapper.deco.from&&l.sel.head==l.sel.anchor){let O=p.endB-p.start;l.sel={anchor:l.sel.anchor+O,head:l.sel.anchor+O}}e.input.domChangeCount++,e.state.selection.from<e.state.selection.to&&p.start==p.endB&&e.state.selection instanceof En&&(p.start>e.state.selection.from&&p.start<=e.state.selection.from+2&&e.state.selection.from>=l.from?p.start=e.state.selection.from:p.endA<e.state.selection.to&&p.endA>=e.state.selection.to-2&&e.state.selection.to<=l.to&&(p.endB+=e.state.selection.to-p.endA,p.endA=e.state.selection.to)),ni&&lc<=11&&p.endB==p.start+1&&p.endA==p.start&&p.start>l.from&&l.doc.textBetween(p.start-l.from-1,p.start-l.from+1)=="  "&&(p.start--,p.endA--,p.endB--);let m=l.doc.resolveNoCache(p.start-l.from),A=l.doc.resolveNoCache(p.endB-l.from),x=u.resolve(p.start),R=m.sameParent(A)&&m.parent.inlineContent&&x.end()>=p.endA,y;if((Id&&e.input.lastIOSEnter>Date.now()-225&&(!R||o.some(O=>O.nodeName=="DIV"||O.nodeName=="P"))||!R&&m.pos<l.doc.content.size&&!m.sameParent(A)&&(y=bn.findFrom(l.doc.resolve(m.pos+1),1,!0))&&y.head==A.pos)&&e.someProp("handleKeyDown",O=>O(e,tu(13,"Enter")))){e.input.lastIOSEnter=0;return}if(e.state.selection.anchor>p.start&&Lae(u,p.start,p.endA,m,A)&&e.someProp("handleKeyDown",O=>O(e,tu(8,"Backspace")))){wa&&po&&e.domObserver.suppressSelectionUpdates();return}po&&wa&&p.endB==p.start&&(e.input.lastAndroidDelete=Date.now()),wa&&!R&&m.start()!=A.start()&&A.parentOffset==0&&m.depth==A.depth&&l.sel&&l.sel.anchor==l.sel.head&&l.sel.head==p.endA&&(p.endB-=2,A=l.doc.resolveNoCache(p.endB-l.from),setTimeout(()=>{e.someProp("handleKeyDown",function(O){return O(e,tu(13,"Enter"))})},20));let g=p.start,S=p.endA,L,T,M;if(R){if(m.pos==A.pos)ni&&lc<=11&&m.parentOffset==0&&(e.domObserver.suppressSelectionUpdates(),setTimeout(()=>nl(e),20)),L=e.state.tr.delete(g,S),T=u.resolve(p.start).marksAcross(u.resolve(p.endA));else if(p.endA==p.endB&&(M=wae(m.parent.content.cut(m.parentOffset,A.parentOffset),x.parent.content.cut(x.parentOffset,p.endA-x.start()))))L=e.state.tr,M.type=="add"?L.addMark(g,S,M.mark):L.removeMark(g,S,M.mark);else if(m.parent.child(m.index()).isText&&m.index()==A.index()-(A.textOffset?0:1)){let O=m.parent.textBetween(m.parentOffset,A.parentOffset);if(e.someProp("handleTextInput",k=>k(e,g,S,O)))return;L=e.state.tr.insertText(O,g,S)}}if(L||(L=e.state.tr.replace(g,S,l.doc.slice(p.start-l.from,p.endB-l.from))),l.sel){let O=cT(e,L.doc,l.sel);O&&!(po&&wa&&e.composing&&O.empty&&(p.start!=p.endB||e.input.lastAndroidDelete<Date.now()-100)&&(O.head==g||O.head==L.mapping.map(S)-1)||ni&&O.empty&&O.head==g)&&L.setSelection(O)}T&&L.ensureMarks(T),i&&L.setMeta("composition",i),e.dispatch(L.scrollIntoView())}function cT(e,t,n){return Math.max(n.anchor,n.head)>t.content.size?null:l5(e,t.resolve(n.anchor),t.resolve(n.head))}function wae(e,t){let n=e.firstChild.marks,r=t.firstChild.marks,o=n,i=r,a,s,c;for(let u=0;u<r.length;u++)o=r[u].removeFromSet(o);for(let u=0;u<n.length;u++)i=n[u].removeFromSet(i);if(o.length==1&&i.length==0)s=o[0],a="add",c=u=>u.mark(s.addToSet(u.marks));else if(o.length==0&&i.length==1)s=i[0],a="remove",c=u=>u.mark(s.removeFromSet(u.marks));else return null;let l=[];for(let u=0;u<t.childCount;u++)l.push(c(t.child(u)));if(lt.from(l).eq(e))return{mark:s,type:a}}function Lae(e,t,n,r,o){if(!r.parent.isTextblock||n-t<=o.pos-r.pos||Uy(r,!0,!1)<o.pos)return!1;let i=e.resolve(t);if(i.parentOffset<i.parent.content.size||!i.parent.isTextblock)return!1;let a=e.resolve(Uy(i,!0,!0));return!a.parent.isTextblock||a.pos>n||Uy(a,!0,!1)<n?!1:r.parent.content.cut(r.parentOffset).eq(a.parent.content)}function Uy(e,t,n){let r=e.depth,o=t?e.end():e.pos;for(;r>0&&(t||e.indexAfter(r)==e.node(r).childCount);)r--,o++,t=!1;if(n){let i=e.node(r).maybeChild(e.indexAfter(r));for(;i&&!i.isLeaf;)i=i.firstChild,o++}return o}function Oae(e,t,n,r,o){let i=e.findDiffStart(t,n);if(i==null)return null;let{a,b:s}=e.findDiffEnd(t,n+e.size,n+t.size);if(o=="end"){let c=Math.max(0,i-Math.min(a,s));r-=a+c-i}if(a<i&&e.size<t.size){let c=r<=i&&r>=a?i-r:0;i-=c,i&&i<t.size&&uT(t.textBetween(i-1,i+1))&&(i+=c?1:-1),s=i+(s-a),a=i}else if(s<i){let c=r<=i&&r>=s?i-r:0;i-=c,i&&i<e.size&&uT(e.textBetween(i-1,i+1))&&(i+=c?1:-1),a=i+(a-s),s=i}return{start:i,endA:a,endB:s}}function uT(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 Tae{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 Jie,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=n,this.state=n.state,this.directPlugins=n.plugins||[],this.directPlugins.forEach(mT),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=hT(this),dT(this),this.nodeViews=pT(this),this.docView=KO(this.state.doc,fT(this),Vy(this),this.dom,this),this.domObserver=new Aae(this,(r,o,i,a)=>Mae(this,r,o,i,a)),this.domObserver.start(),zie(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&&q3(this);let n=this._props;this._props=t,t.plugins&&(t.plugins.forEach(mT),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 o=this.state,i=!1,a=!1;t.storedMarks&&this.composing&&(DI(this),a=!0),this.state=t;let s=o.plugins!=t.plugins||this._props.plugins!=n.plugins;if(s||this._props.plugins!=n.plugins||this._props.nodeViews!=n.nodeViews){let h=pT(this);Nae(h,this.nodeViews)&&(this.nodeViews=h,i=!0)}(s||n.handleDOMEvents!=this._props.handleDOMEvents)&&q3(this),this.editable=hT(this),dT(this);let c=Vy(this),l=fT(this),u=o.plugins!=t.plugins&&!o.doc.eq(t.doc)?"reset":t.scrollToSelection>o.scrollToSelection?"to selection":"preserve",f=i||!this.docView.matchesNode(t.doc,l,c);(f||!t.selection.eq(o.selection))&&(a=!0);let d=u=="preserve"&&a&&this.dom.style.overflowAnchor==null&&uie(this);if(a){this.domObserver.stop();let h=f&&(ni||po)&&!this.composing&&!o.selection.empty&&!t.selection.empty&&kae(o.selection,t.selection);if(f){let p=po?this.trackWrites=this.domSelectionRange().focusNode:null;(i||!this.docView.update(t.doc,l,c,this))&&(this.docView.updateOuterDeco([]),this.docView.destroy(),this.docView=KO(t.doc,l,c,this.dom,this)),p&&!this.trackWrites&&(h=!0)}h||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&_ie(this))?nl(this,h):(CI(this,t.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(o),!((r=this.dragging)===null||r===void 0)&&r.node&&!o.doc.eq(t.doc)&&this.updateDraggedNode(this.dragging,o),u=="reset"?this.dom.scrollTop=0:u=="to selection"?this.scrollToSelection():d&&fie(d)}scrollToSelection(){let t=this.domSelectionRange().focusNode;if(!this.someProp("handleScrollToSelection",n=>n(this)))if(this.state.selection instanceof Ut){let n=this.docView.domAfterPos(this.state.selection.from);n.nodeType==1&&UO(this,n.getBoundingClientRect(),t)}else UO(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,o=-1;if(this.state.doc.nodeAt(r.from)==r.node)o=r.from;else{let i=r.from+(this.state.doc.content.size-n.doc.content.size);(i>0&&this.state.doc.nodeAt(i))==r.node&&(o=i)}this.dragging=new HI(t.slice,t.move,o<0?void 0:Ut.create(this.state.doc,o))}someProp(t,n){let r=this._props&&this._props[t],o;if(r!=null&&(o=n?n(r):r))return o;for(let a=0;a<this.directPlugins.length;a++){let s=this.directPlugins[a].props[t];if(s!=null&&(o=n?n(s):s))return o}let i=this.state.plugins;if(i)for(let a=0;a<i.length;a++){let s=i[a].props[t];if(s!=null&&(o=n?n(s):s))return o}}hasFocus(){if(ni){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&&die(this.dom),nl(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 gie(this,t)}coordsAtPos(t,n=1){return MI(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 o=this.docView.posFromDOM(t,n,r);if(o==null)throw new RangeError("DOM position not inside the editor");return o}endOfTextblock(t,n){return bie(this,n||this.state,t)}pasteHTML(t,n){return sp(this,"",t,!1,n||new ClipboardEvent("paste"))}pasteText(t,n){return sp(this,t,null,!0,n||new ClipboardEvent("paste"))}destroy(){this.docView&&(jie(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],Vy(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null)}get isDestroyed(){return this.docView==null}dispatchEvent(t){return qie(this,t)}dispatch(t){let n=this._props.dispatchTransaction;n?n.call(this,t):this.updateState(this.state.apply(t))}domSelectionRange(){return _o&&this.root.nodeType===11&&rie(this.dom.ownerDocument)==this.dom?yae(this):this.domSelection()}domSelection(){return this.root.getSelection()}}function fT(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"),[ki.node(0,e.state.doc.content.size,t)]}function dT(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:ki.widget(e.state.selection.head,t,{raw:!0,marks:e.markCursor})}}else e.cursorWrapper=null}function hT(e){return!e.someProp("editable",t=>t(e.state)===!1)}function kae(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 pT(e){let t=Object.create(null);function n(r){for(let o in r)Object.prototype.hasOwnProperty.call(t,o)||(t[o]=r[o])}return e.someProp("nodeViews",n),e.someProp("markViews",n),t}function Nae(e,t){let n=0,r=0;for(let o in e){if(e[o]!=t[o])return!0;n++}for(let o in t)r++;return n!=r}function mT(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 Rc={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:"'"},ig={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},Pae=typeof navigator<"u"&&/Mac/.test(navigator.platform),Cae=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var to=0;to<10;to++)Rc[48+to]=Rc[96+to]=String(to);for(var to=1;to<=24;to++)Rc[to+111]="F"+to;for(var to=65;to<=90;to++)Rc[to]=String.fromCharCode(to+32),ig[to]=String.fromCharCode(to);for(var Yy in Rc)ig.hasOwnProperty(Yy)||(ig[Yy]=Rc[Yy]);function Iae(e){var t=Pae&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||Cae&&e.shiftKey&&e.key&&e.key.length==1||e.key=="Unidentified",n=!t&&e.key||(e.shiftKey?ig:Rc)[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 Fae=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!1;function _ae(e){let t=e.split(/-(?!$)/),n=t[t.length-1];n=="Space"&&(n=" ");let r,o,i,a;for(let s=0;s<t.length-1;s++){let c=t[s];if(/^(cmd|meta|m)$/i.test(c))a=!0;else if(/^a(lt)?$/i.test(c))r=!0;else if(/^(c|ctrl|control)$/i.test(c))o=!0;else if(/^s(hift)?$/i.test(c))i=!0;else if(/^mod$/i.test(c))Fae?a=!0:o=!0;else throw new Error("Unrecognized modifier name: "+c)}return r&&(n="Alt-"+n),o&&(n="Ctrl-"+n),a&&(n="Meta-"+n),i&&(n="Shift-"+n),n}function Xae(e){let t=Object.create(null);for(let n in e)t[_ae(n)]=e[n];return t}function Qy(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 vT(e){return new Yd({props:{handleKeyDown:$I(e)}})}function $I(e){let t=Xae(e);return function(n,r){let o=Iae(r),i,a=t[Qy(o,r)];if(a&&a(n.state,n.dispatch,n))return!0;if(o.length==1&&o!=" "){if(r.shiftKey){let s=t[Qy(o,r,!1)];if(s&&s(n.state,n.dispatch,n))return!0}if((r.shiftKey||r.altKey||r.metaKey||o.charCodeAt(0)>127)&&(i=Rc[r.keyCode])&&i!=o){let s=t[Qy(i,r)];if(s&&s(n.state,n.dispatch,n))return!0}}return!1}}var ag=200,Br=function(){};Br.prototype.append=function(t){return t.length?(t=Br.from(t),!this.length&&t||t.length<ag&&this.leafAppend(t)||this.length<ag&&t.leafPrepend(this)||this.appendInner(t)):this};Br.prototype.prepend=function(t){return t.length?Br.from(t).append(this):this};Br.prototype.appendInner=function(t){return new Eae(this,t)};Br.prototype.slice=function(t,n){return t===void 0&&(t=0),n===void 0&&(n=this.length),t>=n?Br.empty:this.sliceInner(Math.max(0,t),Math.min(this.length,n))};Br.prototype.get=function(t){if(!(t<0||t>=this.length))return this.getInner(t)};Br.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)};Br.prototype.map=function(t,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length);var o=[];return this.forEach(function(i,a){return o.push(t(i,a))},n,r),o};Br.from=function(t){return t instanceof Br?t:t&&t.length?new qI(t):Br.empty};var qI=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(o,i){return o==0&&i==this.length?this:new t(this.values.slice(o,i))},t.prototype.getInner=function(o){return this.values[o]},t.prototype.forEachInner=function(o,i,a,s){for(var c=i;c<a;c++)if(o(this.values[c],s+c)===!1)return!1},t.prototype.forEachInvertedInner=function(o,i,a,s){for(var c=i-1;c>=a;c--)if(o(this.values[c],s+c)===!1)return!1},t.prototype.leafAppend=function(o){if(this.length+o.length<=ag)return new t(this.values.concat(o.flatten()))},t.prototype.leafPrepend=function(o){if(this.length+o.length<=ag)return new t(o.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(t.prototype,n),t}(Br);Br.empty=new qI([]);var Eae=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,o,i,a){var s=this.left.length;if(o<s&&this.left.forEachInner(r,o,Math.min(i,s),a)===!1||i>s&&this.right.forEachInner(r,Math.max(o-s,0),Math.min(this.length,i)-s,a+s)===!1)return!1},t.prototype.forEachInvertedInner=function(r,o,i,a){var s=this.left.length;if(o>s&&this.right.forEachInvertedInner(r,o-s,Math.max(i,s)-s,a+s)===!1||i<s&&this.left.forEachInvertedInner(r,Math.min(o,s),i,a)===!1)return!1},t.prototype.sliceInner=function(r,o){if(r==0&&o==this.length)return this;var i=this.left.length;return o<=i?this.left.slice(r,o):r>=i?this.right.slice(r-i,o-i):this.left.slice(r,i).append(this.right.slice(0,o-i))},t.prototype.leafAppend=function(r){var o=this.right.leafAppend(r);if(o)return new t(this.left,o)},t.prototype.leafPrepend=function(r){var o=this.left.leafPrepend(r);if(o)return new t(o,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}(Br);const Wae=500;class Oa{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 o,i;n&&(o=this.remapping(r,this.items.length),i=o.maps.length);let a=t.tr,s,c,l=[],u=[];return this.items.forEach((f,d)=>{if(!f.step){o||(o=this.remapping(r,d+1),i=o.maps.length),i--,u.push(f);return}if(o){u.push(new Ha(f.map));let h=f.step.map(o.slice(i)),p;h&&a.maybeStep(h).doc&&(p=a.mapping.maps[a.mapping.maps.length-1],l.push(new Ha(p,void 0,void 0,l.length+u.length))),i--,p&&o.appendMap(p,i)}else a.maybeStep(f.step);if(f.selection)return s=o?f.selection.map(o.slice(i)):f.selection,c=new Oa(this.items.slice(0,r).append(u.reverse().concat(l)),this.eventCount-1),!1},this.items.length,0),{remaining:c,transform:a,selection:s}}addTransform(t,n,r,o){let i=[],a=this.eventCount,s=this.items,c=!o&&s.length?s.get(s.length-1):null;for(let u=0;u<t.steps.length;u++){let f=t.steps[u].invert(t.docs[u]),d=new Ha(t.mapping.maps[u],f,n),h;(h=c&&c.merge(d))&&(d=h,u?i.pop():s=s.slice(0,s.length-1)),i.push(d),n&&(a++,n=void 0),o||(c=d)}let l=a-r.depth;return l>Uae&&(s=Vae(s,l),a-=l),new Oa(s.append(i),a)}remapping(t,n){let r=new ld;return this.items.forEach((o,i)=>{let a=o.mirrorOffset!=null&&i-o.mirrorOffset>=t?r.maps.length-o.mirrorOffset:void 0;r.appendMap(o.map,a)},t,n),r}addMaps(t){return this.eventCount==0?this:new Oa(this.items.append(t.map(n=>new Ha(n))),this.eventCount)}rebased(t,n){if(!this.eventCount)return this;let r=[],o=Math.max(0,this.items.length-n),i=t.mapping,a=t.steps.length,s=this.eventCount;this.items.forEach(d=>{d.selection&&s--},o);let c=n;this.items.forEach(d=>{let h=i.getMirror(--c);if(h==null)return;a=Math.min(a,h);let p=i.maps[h];if(d.step){let m=t.steps[h].invert(t.docs[h]),A=d.selection&&d.selection.map(i.slice(c+1,h));A&&s++,r.push(new Ha(p,m,A))}else r.push(new Ha(p))},o);let l=[];for(let d=n;d<a;d++)l.push(new Ha(i.maps[d]));let u=this.items.slice(0,o).append(l).append(r),f=new Oa(u,s);return f.emptyItemCount()>Wae&&(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,o=[],i=0;return this.items.forEach((a,s)=>{if(s>=t)o.push(a),a.selection&&i++;else if(a.step){let c=a.step.map(n.slice(r)),l=c&&c.getMap();if(r--,l&&n.appendMap(l,r),c){let u=a.selection&&a.selection.map(n.slice(r));u&&i++;let f=new Ha(l.invert(),c,u),d,h=o.length-1;(d=o.length&&o[h].merge(f))?o[h]=d:o.push(f)}}else a.map&&r--},this.items.length,0),new Oa(Br.from(o.reverse()),i)}}Oa.empty=new Oa(Br.empty,0);function Vae(e,t){let n;return e.forEach((r,o)=>{if(r.selection&&t--==0)return n=o,!1}),e.slice(n)}class Ha{constructor(t,n,r,o){this.map=t,this.step=n,this.selection=r,this.mirrorOffset=o}merge(t){if(this.step&&t.step&&!t.selection){let n=t.step.merge(this.step);if(n)return new Ha(n.getMap().invert(),n,this.selection)}}}class Dl{constructor(t,n,r,o,i){this.done=t,this.undone=n,this.prevRanges=r,this.prevTime=o,this.prevComposition=i}}const Uae=20;function Yae(e,t,n,r){let o=n.getMeta(fc),i;if(o)return o.historyState;n.getMeta(Zae)&&(e=new Dl(e.done,e.undone,null,0,-1));let a=n.getMeta("appendedTransaction");if(n.steps.length==0)return e;if(a&&a.getMeta(fc))return a.getMeta(fc).redo?new Dl(e.done.addTransform(n,void 0,r,qm(t)),e.undone,gT(n.mapping.maps[n.steps.length-1]),e.prevTime,e.prevComposition):new Dl(e.done,e.undone.addTransform(n,void 0,r,qm(t)),null,e.prevTime,e.prevComposition);if(n.getMeta("addToHistory")!==!1&&!(a&&a.getMeta("addToHistory")===!1)){let s=n.getMeta("composition"),c=e.prevTime==0||!a&&e.prevComposition!=s&&(e.prevTime<(n.time||0)-r.newGroupDelay||!Qae(n,e.prevRanges)),l=a?Zy(e.prevRanges,n.mapping):gT(n.mapping.maps[n.steps.length-1]);return new Dl(e.done.addTransform(n,c?t.selection.getBookmark():void 0,r,qm(t)),Oa.empty,l,n.time,s??e.prevComposition)}else return(i=n.getMeta("rebased"))?new Dl(e.done.rebased(n,i),e.undone.rebased(n,i),Zy(e.prevRanges,n.mapping),e.prevTime,e.prevComposition):new Dl(e.done.addMaps(n.mapping.maps),e.undone.addMaps(n.mapping.maps),Zy(e.prevRanges,n.mapping),e.prevTime,e.prevComposition)}function Qae(e,t){if(!t)return!1;if(!e.docChanged)return!0;let n=!1;return e.mapping.maps[0].forEach((r,o)=>{for(let i=0;i<t.length;i+=2)r<=t[i+1]&&o>=t[i]&&(n=!0)}),n}function gT(e){let t=[];return e.forEach((n,r,o,i)=>t.push(o,i)),t}function Zy(e,t){if(!e)return null;let n=[];for(let r=0;r<e.length;r+=2){let o=t.map(e[r],1),i=t.map(e[r+1],-1);o<=i&&n.push(o,i)}return n}function eF(e,t,n,r){let o=qm(t),i=fc.get(t).spec.config,a=(r?e.undone:e.done).popEvent(t,o);if(!a)return;let s=a.selection.resolve(a.transform.doc),c=(r?e.done:e.undone).addTransform(a.transform,t.selection.getBookmark(),i,o),l=new Dl(r?c:a.remaining,r?a.remaining:c,null,0,-1);n(a.transform.setSelection(s).setMeta(fc,{redo:r,historyState:l}).scrollIntoView())}let By=!1,AT=null;function qm(e){let t=e.plugins;if(AT!=t){By=!1,AT=t;for(let n=0;n<t.length;n++)if(t[n].spec.historyPreserveItems){By=!0;break}}return By}const fc=new WN("history"),Zae=new WN("closeHistory");function Bae(e={}){return e={depth:e.depth||100,newGroupDelay:e.newGroupDelay||500},new Yd({key:fc,state:{init(){return new Dl(Oa.empty,Oa.empty,null,0,-1)},apply(t,n,r){return Yae(n,r,t,e)}},config:e,props:{handleDOMEvents:{beforeinput(t,n){let r=n.inputType,o=r=="historyUndo"?tF:r=="historyRedo"?nF:null;return o?(n.preventDefault(),o(t.state,t.dispatch)):!1}}}})}const tF=(e,t)=>{let n=fc.getState(e);return!n||n.done.eventCount==0?!1:(t&&eF(n,e,t,!1),!0)},nF=(e,t)=>{let n=fc.getState(e);return!n||n.undone.eventCount==0?!1:(t&&eF(n,e,t,!0),!0)};function Dae(e={}){return new Yd({view(t){return new Kae(t,e)}})}class Kae{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(o=>{let i=a=>{this[o](a)};return t.dom.addEventListener(o,i),{name:o,handler:i}})}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,c=t.nodeAfter;if(s||c){let l=this.editorView.nodeDOM(this.cursorPos-(s?s.nodeSize:0));if(l){let u=l.getBoundingClientRect(),f=s?u.bottom:u.top;s&&c&&(f=(f+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2),r={left:u.left,right:u.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 o=this.editorView.dom.offsetParent;this.element||(this.element=o.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 i,a;if(!o||o==document.body&&getComputedStyle(o).position=="static")i=-pageXOffset,a=-pageYOffset;else{let s=o.getBoundingClientRect();i=s.left-o.scrollLeft,a=s.top-o.scrollTop}this.element.style.left=r.left-i+"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),o=r&&r.type.spec.disableDropCursor,i=typeof o=="function"?o(this.editorView,n,t):o;if(n&&!i){let a=n.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let s=PN(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 Rr extends bn{constructor(t){super(t,t)}map(t,n){let r=t.resolve(n.map(this.head));return Rr.valid(r)?new Rr(r):bn.near(r)}content(){return At.empty}eq(t){return t instanceof Rr&&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 Rr(t.resolve(n.pos))}getBookmark(){return new p5(this.anchor)}static valid(t){let n=t.parent;if(n.isTextblock||!Hae(t)||!Gae(t))return!1;let r=n.type.spec.allowGapCursor;if(r!=null)return r;let o=n.contentMatchAt(t.index()).defaultType;return o&&o.isTextblock}static findGapCursorFrom(t,n,r=!1){e:for(;;){if(!r&&Rr.valid(t))return t;let o=t.pos,i=null;for(let a=t.depth;;a--){let s=t.node(a);if(n>0?t.indexAfter(a)<s.childCount:t.index(a)>0){i=s.child(n>0?t.indexAfter(a):t.index(a)-1);break}else if(a==0)return null;o+=n;let c=t.doc.resolve(o);if(Rr.valid(c))return c}for(;;){let a=n>0?i.firstChild:i.lastChild;if(!a){if(i.isAtom&&!i.isText&&!Ut.isSelectable(i)){t=t.doc.resolve(o+i.nodeSize*n),r=!1;continue e}break}i=a,o+=n;let s=t.doc.resolve(o);if(Rr.valid(s))return s}return null}}}Rr.prototype.visible=!1;Rr.findFrom=Rr.findGapCursorFrom;bn.jsonID("gapcursor",Rr);class p5{constructor(t){this.pos=t}map(t){return new p5(t.map(this.pos))}resolve(t){let n=t.resolve(this.pos);return Rr.valid(n)?new Rr(n):bn.near(n)}}function Hae(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 o=r.child(n-1);;o=o.lastChild){if(o.childCount==0&&!o.inlineContent||o.isAtom||o.type.spec.isolating)return!0;if(o.inlineContent)return!1}}return!0}function Gae(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 o=r.child(n);;o=o.firstChild){if(o.childCount==0&&!o.inlineContent||o.isAtom||o.type.spec.isolating)return!0;if(o.inlineContent)return!1}}return!0}function Jae(){return new Yd({props:{decorations:qae,createSelectionBetween(e,t,n){return t.pos==n.pos&&Rr.valid(n)?new Rr(n):null},handleClick:jae,handleKeyDown:zae,handleDOMEvents:{beforeinput:$ae}}})}const zae=$I({ArrowLeft:Rm("horiz",-1),ArrowRight:Rm("horiz",1),ArrowUp:Rm("vert",-1),ArrowDown:Rm("vert",1)});function Rm(e,t){const n=e=="vert"?t>0?"down":"up":t>0?"right":"left";return function(r,o,i){let a=r.selection,s=t>0?a.$to:a.$from,c=a.empty;if(a instanceof En){if(!i.endOfTextblock(n)||s.depth==0)return!1;c=!1,s=r.doc.resolve(t>0?s.after():s.before())}let l=Rr.findGapCursorFrom(s,t,c);return l?(o&&o(r.tr.setSelection(new Rr(l))),!0):!1}}function jae(e,t,n){if(!e||!e.editable)return!1;let r=e.state.doc.resolve(t);if(!Rr.valid(r))return!1;let o=e.posAtCoords({left:n.clientX,top:n.clientY});return o&&o.inside>-1&&Ut.isSelectable(e.state.doc.nodeAt(o.inside))?!1:(e.dispatch(e.state.tr.setSelection(new Rr(r))),!0)}function $ae(e,t){if(t.inputType!="insertCompositionText"||!(e.state.selection instanceof Rr))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 o=lt.empty;for(let a=r.length-1;a>=0;a--)o=lt.from(r[a].createAndFill(null,o));let i=e.state.tr.replace(n.pos,n.pos,new At(o,0,0));return i.setSelection(En.near(i.doc.resolve(n.pos+1))),e.dispatch(i),!1}function qae(e){if(!(e.selection instanceof Rr))return null;let t=document.createElement("div");return t.className="ProseMirror-gapcursor",Nr.create(e.doc,[ki.widget(e.selection.head,t,{key:"gapcursor"})])}const ese=["li",0],tse={parseDOM:[{tag:"li"}],toDOM(){return ese},defining:!0};function nse(e,t=null){return function(n,r){let{$from:o,$to:i}=n.selection,a=o.blockRange(i),s=!1,c=a;if(!a)return!1;if(a.depth>=2&&o.node(a.depth-1).type.compatibleContent(e)&&a.startIndex==0){if(o.index(a.depth-1)==0)return!1;let u=n.doc.resolve(a.start-2);c=new Mv(u,u,a.depth),a.endIndex<a.parent.childCount&&(a=new Mv(o,n.doc.resolve(i.end(a.depth)),a.depth)),s=!0}let l=ib(c,e,t,a);return l?(r&&r(rse(n.tr,a,l,s,e).scrollIntoView()),!0):!1}}function rse(e,t,n,r,o){let i=lt.empty;for(let u=n.length-1;u>=0;u--)i=lt.from(n[u].type.create(n[u].attrs,i));e.step(new ro(t.start-(r?2:0),t.end,t.start,t.end,new At(i,0,0),n.length,!0));let a=0;for(let u=0;u<n.length;u++)n[u].type==o&&(a=u+1);let s=n.length-a,c=t.start+n.length-(r?2:0),l=t.parent;for(let u=t.startIndex,f=t.endIndex,d=!0;u<f;u++,d=!1)!d&&cd(e.doc,c,s)&&(e.split(c,s),c+=2*s),c+=l.child(u).nodeSize;return e}function ose(e,t){return function(n,r){let{$from:o,$to:i,node:a}=n.selection;if(a&&a.isBlock||o.depth<2||!o.sameParent(i))return!1;let s=o.node(-1);if(s.type!=e)return!1;if(o.parent.content.size==0&&o.node(-1).childCount==o.indexAfter(-1)){if(o.depth==3||o.node(-3).type!=e||o.index(-2)!=o.node(-2).childCount-1)return!1;if(r){let f=lt.empty,d=o.index(-1)?1:o.index(-2)?2:3;for(let x=o.depth-d;x>=o.depth-3;x--)f=lt.from(o.node(x).copy(f));let h=o.indexAfter(-1)<o.node(-2).childCount?1:o.indexAfter(-2)<o.node(-3).childCount?2:3;f=f.append(lt.from(e.createAndFill()));let p=o.before(o.depth-(d-1)),m=n.tr.replace(p,o.after(-h),new At(f,4-d,0)),A=-1;m.doc.nodesBetween(p,m.doc.content.size,(x,R)=>{if(A>-1)return!1;x.isTextblock&&x.content.size==0&&(A=R+1)}),A>-1&&m.setSelection(bn.near(m.doc.resolve(A))),r(m.scrollIntoView())}return!0}let c=i.pos==o.end()?s.contentMatchAt(0).defaultType:null,l=n.tr.delete(o.pos,i.pos),u=c?[t?{type:e,attrs:t}:null,{type:c}]:void 0;return cd(l.doc,o.pos,2,u)?(r&&r(l.split(o.pos,2,u).scrollIntoView()),!0):!1}}function rF(e){return function(t,n){let{$from:r,$to:o}=t.selection,i=r.blockRange(o,a=>a.childCount>0&&a.firstChild.type==e);return i?n?r.node(i.depth-1).type==e?ise(t,n,e,i):ase(t,n,i):!0:!1}}function ise(e,t,n,r){let o=e.tr,i=r.end,a=r.$to.end(r.depth);i<a&&(o.step(new ro(i-1,a,i,a,new At(lt.from(n.create(null,r.parent.copy())),1,0),1,!0)),r=new Mv(o.doc.resolve(r.$from.pos),o.doc.resolve(a),r.depth));const s=xp(r);if(s==null)return!1;o.lift(r,s);let c=o.mapping.map(i,-1)-1;return Ud(o.doc,c)&&o.join(c),t(o.scrollIntoView()),!0}function ase(e,t,n){let r=e.tr,o=n.parent;for(let h=n.end,p=n.endIndex-1,m=n.startIndex;p>m;p--)h-=o.child(p).nodeSize,r.delete(h-1,h+1);let i=r.doc.resolve(n.start),a=i.nodeAfter;if(r.mapping.map(n.end)!=n.start+i.nodeAfter.nodeSize)return!1;let s=n.startIndex==0,c=n.endIndex==o.childCount,l=i.node(-1),u=i.index(-1);if(!l.canReplace(u+(s?0:1),u+1,a.content.append(c?lt.empty:lt.from(o))))return!1;let f=i.pos,d=f+a.nodeSize;return r.step(new ro(f-(s?1:0),d+(c?1:0),f+1,d-1,new At((s?lt.empty:lt.from(o.copy(lt.empty))).append(c?lt.empty:lt.from(o.copy(lt.empty))),s?0:1,c?0:1),s?0:1)),t(r.scrollIntoView()),!0}function RT(e){return function(t,n){let{$from:r,$to:o}=t.selection,i=r.blockRange(o,l=>l.childCount>0&&l.firstChild.type==e);if(!i)return!1;let a=i.startIndex;if(a==0)return!1;let s=i.parent,c=s.child(a-1);if(c.type!=e)return!1;if(n){let l=c.lastChild&&c.lastChild.type==s.type,u=lt.from(l?e.create():null),f=new At(lt.from(e.create(null,lt.from(s.type.create(null,u)))),l?3:1,0),d=i.start,h=i.end;n(t.tr.step(new ro(d-(l?3:1),h,d,h,f,1,!0)).scrollIntoView())}return!0}}class fl{constructor(t,n,r={}){this.match=t,this.match=t,this.handler=typeof n=="string"?sse(n):n,this.undoable=r.undoable!==!1}}function sse(e){return function(t,n,r,o){let i=e;if(n[1]){let a=n[0].lastIndexOf(n[1]);i+=n[0].slice(a+n[1].length),r+=a;let s=r-o;s>0&&(i=n[0].slice(a-s,a)+i,r=o)}return t.tr.insertText(i,r,o)}}const lse=500;function cse({rules:e}){let t=new Yd({state:{init(){return null},apply(n,r){let o=n.getMeta(this);return o||(n.selectionSet||n.docChanged?null:r)}},props:{handleTextInput(n,r,o,i){return yT(n,r,o,i,e,t)},handleDOMEvents:{compositionend:n=>{setTimeout(()=>{let{$cursor:r}=n.state.selection;r&&yT(n,r.pos,r.pos,"",e,t)})}}},isInputRules:!0});return t}function yT(e,t,n,r,o,i){if(e.composing)return!1;let a=e.state,s=a.doc.resolve(t);if(s.parent.type.spec.code)return!1;let c=s.parent.textBetween(Math.max(0,s.parentOffset-lse),s.parentOffset,null,"")+r;for(let l=0;l<o.length;l++){let u=o[l],f=u.match.exec(c),d=f&&u.handler(a,f,t-(f[0].length-r.length),n);if(d)return u.undoable&&d.setMeta(i,{transform:d,from:t,to:n,text:r}),e.dispatch(d),!0}return!1}const use=(e,t)=>{let n=e.plugins;for(let r=0;r<n.length;r++){let o=n[r],i;if(o.spec.isInputRules&&(i=o.getState(e))){if(t){let a=e.tr,s=i.transform;for(let c=s.steps.length-1;c>=0;c--)a.step(s.steps[c].invert(s.docs[c]));if(i.text){let c=a.doc.resolve(i.from).marks();a.replaceWith(i.from,i.to,e.schema.text(i.text,c))}else a.delete(i.from,i.to);t(a)}return!0}}return!1},fse=new fl(/--$/,"—"),dse=new fl(/\.\.\.$/,"…"),hse=new fl(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(")$/,"“"),pse=new fl(/"$/,"”"),mse=new fl(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(')$/,""),vse=new fl(/'$/,""),gse=[hse,pse,mse,vse];function m5(e,t,n=null,r){return new fl(e,(o,i,a,s)=>{let c=n instanceof Function?n(i):n,l=o.tr.delete(a,s),u=l.doc.resolve(a),f=u.blockRange(),d=f&&ib(f,t,c);if(!d)return null;l.wrap(f,d);let h=l.doc.resolve(a-1).nodeBefore;return h&&h.type==t&&Ud(l.doc,a-1)&&(!r||r(i,h))&&l.join(a-1),l})}const Ase=e=>{const t={},n=(r,o)=>t[r]=o;return n("Alt-ArrowUp",ZH),n("Alt-ArrowDown",BH),n("Mod-z",tF),n("Mod-y",nF),n("Backspace",use),n("Escape",JH),n("Mod-b",kr(e.marks.strong)),n("Mod-i",kr(e.marks.em)),n("Mod-u",kr(e.marks.underline)),n("Mod-d",kr(e.marks.strikethrough)),n("Mod-e",kr(e.marks.code)),n("Mod-;",kr(e.marks.superscript)),n("Mod-'",kr(e.marks.subscript)),n("Enter",Eg(ose(e.nodes.list_item),QN,ZN,BN,GH)),n("Mod-[",rF(e.nodes.list_item)),n("Mod-]",RT(e.nodes.list_item)),n("Tab",RT(e.nodes.list_item)),t},Rse=e=>m5(/^\s*>\s$/,e),yse=e=>m5(/^(\d+)\.\s$/,e,t=>({order:+t[1]}),(t,n)=>n.childCount+n.attrs.order===+t[1]),xse=e=>m5(/^\s*([-+*])\s$/,e),bse=()=>{const e=/(?:^|\s)((?:`)((?:[^`]+))(?:`))$/;return new fl(e,(t,n,r,o)=>{const{schema:i}=t,a=t.tr.insertText(`${n[2]} `,r,o),s=i.marks.code.create();return a.addMark(r,r+n[2].length,s)})},Sse=()=>{const e=/(?:https?:\/\/)?[\w-]+(?:\.[\w-]+)+\.?(?:\d+)?(?:\/\S*)?$/;return new fl(e,(t,n,r,o)=>{const{schema:i}=t,a=t.tr.insertText(n[0],r,o),s=i.marks.link.create({href:n[0],title:n[0]});return a.addMark(r,r+n[0].length,s)})},Mse=e=>{const t=[...gse,dse,fse];return t.push(Rse(e.nodes.blockquote)),t.push(yse(e.nodes.ordered_list)),t.push(xse(e.nodes.bullet_list)),t.push(bse()),t.push(Sse()),cse({rules:t})},wse=e=>e.type.name==="paragraph"&&e.nodeSize===2,Lse=e=>new Yd({props:{decorations(t){const{$from:n}=t.selection;if(wse(n.parent)){const r=ki.node(n.before(),n.after(),{"data-placeholder":e});return Nr.create(t.doc,[r])}}}}),Ose=(e,t)=>{const n=t==null?void 0:t.placeholder,r=[Mse(e),vT(Ase(e)),vT(nG),Dae(),Jae(),Bae()];return n&&r.push(Lse(n)),r},Tse=["p",0],kse=["blockquote",0],Nse=["hr"],Pse=["pre",["code",0]],Cse=["br"],oF={doc:{content:"block+"},paragraph:{content:"inline*",group:"block",parseDOM:[{tag:"p"}],toDOM(){return Tse}},blockquote:{content:"block+",group:"block",defining:!0,parseDOM:[{tag:"blockquote"}],toDOM(){return kse}},horizontal_rule:{group:"block",parseDOM:[{tag:"hr"}],toDOM(){return Nse}},heading:{attrs:{level:{default:1}},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 Pse}},text:{group:"inline"},image:{inline:!0,attrs:{src:{},alt:{default:null},title:{default: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 Cse}}},Ise=["em",0],Fse=["strong",0],_se=["code",0],iF={link:{attrs:{href:{},title:{default: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 Ise}},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 Fse}},code:{parseDOM:[{tag:"code"}],toDOM(){return _se}}};new xN({nodes:oF,marks:iF});const Xse={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:o,color:i}=e.style;return r&&(n.listStyleType=r),o&&(n.fontsize=o),i&&(n.color=i),n}}],toDOM:e=>{const{order:t,listStyleType:n,fontsize:r,color:o}=e.attrs;let i="";n&&(i+=`list-style-type: ${n};`),r&&(i+=`font-size: ${r};`),o&&(i+=`color: ${o};`);const a={style:i};return t!==1&&(a.start=t),["ol",a,0]}},Ese={attrs:{listStyleType:{default:""},fontsize:{default:""},color:{default:""}},content:"list_item+",group:"block",parseDOM:[{tag:"ul",getAttrs:e=>{const t={},{listStyleType:n,fontSize:r,color:o}=e.style;return n&&(t.listStyleType=n),r&&(t.fontsize=r),o&&(t.color=o),t}}],toDOM:e=>{const{listStyleType:t,fontsize:n,color:r}=e.attrs;let o="";return t&&(o+=`list-style-type: ${t};`),n&&(o+=`font-size: ${n};`),r&&(o+=`color: ${r};`),["ul",{style:o},0]}},Wse={...tse,content:"paragraph block*",group:"block"},Vse={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 o=0;n&&(/em/.test(n)?o=parseInt(n):/px/.test(n)&&(o=Math.floor(parseInt(n)/20),o||(o=1)));const i=+(e.getAttribute("data-indent")||0);return{align:r,indent:i,textIndent:o}}},{tag:"img",ignore:!0},{tag:"pre",skip:!0}],toDOM:e=>{const{align:t,indent:n,textIndent:r}=e.attrs;let o="";t&&t!=="left"&&(o+=`text-align: ${t};`),r&&(o+=`text-indent: ${r*20}px;`);const i={style:o};return n&&(i["data-indent"]=n),["p",i,0]}},{doc:Use,blockquote:Yse,text:Qse}=oF,Zse={doc:Use,paragraph:Vse,blockquote:Yse,text:Qse,ordered_list:Xse,bullet_list:Ese,list_item:Wse},Bse={excludes:"subscript",parseDOM:[{tag:"sub"},{style:"vertical-align",getAttrs:e=>e==="sub"&&null}],toDOM:()=>["sub",0]},Dse={excludes:"superscript",parseDOM:[{tag:"sup"},{style:"vertical-align",getAttrs:e=>e==="super"&&null}],toDOM:()=>["sup",0]},Kse={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]},Hse={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]},Gse={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]}},Jse={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]}},zse={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]}},jse={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]}},$se={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]},qse={attrs:{index:{default:null}},parseDOM:[{tag:"mark",getAttrs:e=>({index:e.dataset.index})}],toDOM:e=>["mark",{"data-index":e.attrs.index},0]},{em:ele,strong:tle,code:nle}=iF,rle={em:ele,strong:tle,fontsize:zse,fontname:jse,code:nle,forecolor:Gse,backcolor:Jse,subscript:Bse,superscript:Dse,strikethrough:Kse,underline:Hse,link:$se,mark:qse},ole=Zse,ile=rle,aF=new xN({nodes:ole,marks:ile}),v5=e=>{const t=`<div>${e}</div>`,r=new window.DOMParser().parseFromString(t,"text/html").body.firstElementChild;return Sd.fromSchema(aF).parse(r)},sF=(e,t,n,r)=>new Tae(e,{state:Kf.create({doc:v5(t),plugins:Ose(aF,r)}),...n});function ale(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(o){o(n)}),(r=e.get("*"))&&r.slice().map(function(o){o(t,n)})}}}var Wr=(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))(Wr||{});const Zr=ale(),sle=(e,t,n)=>{const{selection:r,doc:o}=e;if(!r||!o)return e;const{from:i,to:a}=r,{nodes:s}=t,c=s.blockquote,l=s.list_item,u=s.paragraph,f=[];n=n||"";const d=new Set([c,l,u]);return o.nodesBetween(i,a,(h,p)=>{const m=h.type;return(h.attrs.align||"")!==n&&d.has(m)&&f.push({node:h,pos:p,nodeType:m}),!0}),f.length&&f.forEach(h=>{const{node:p,pos:m,nodeType:A}=h;let{attrs:x}=p;n?x={...x,align:n}:x={...x,align:null},e=e.setNodeMarkup(m,A,x,p.marks)}),e},lle=(e,t)=>{const{state:n}=e,{schema:r,selection:o}=n,i=sle(n.tr.setSelection(o),r,t);e.dispatch(i)};function cle(e,t,n,r){if(!e.doc)return e;const o=e.doc.nodeAt(t);if(!o)return e;const i=0,a=8;let s=(o.attrs[r]||0)+n;if(s<i&&(s=i),s>a&&(s=a),s===o.attrs[r])return e;const c={...o.attrs,[r]:s};return e.setNodeMarkup(t,o.type,c,o.marks)}const lF=(e,t,n,r)=>{const{selection:o,doc:i}=e;if(!o||!i||!(o instanceof En||o instanceof qo))return e;const{from:a,to:s}=o;return i.nodesBetween(a,s,(c,l)=>{const u=c.type;return u.name==="paragraph"||u.name==="blockquote"?(e=cle(e,l,n,r),!1):!Tv(c,t)}),e},ule=(e,t)=>{const{state:n}=e,{schema:r,selection:o}=n,i=lF(n.tr.setSelection(o),r,t,"indent");return i.docChanged?(e.dispatch(i),!0):!1},fle=(e,t)=>{const{state:n}=e,{schema:r,selection:o}=n,i=lF(n.tr.setSelection(o),r,t,"textIndent");return i.docChanged?(e.dispatch(i),!0):!1},sg=(e,t,n,r={})=>(o,i)=>{const{schema:a,selection:s}=o,{$from:c,$to:l}=s,u=c.blockRange(l);if(!u)return!1;const f=zN(h=>Tv(h,a))(s);if(u.depth>=1&&f&&u.depth-f.depth<=1){if(f.node.type===e&&!n)return rF(t)(o,i);if(Tv(f.node,a)&&e.validContent(f.node.content)){const{tr:h}=o,p={...f.node.attrs,...r};return n&&(p.listStyleType=n),h.setNodeMarkup(f.pos,e,p),i&&i(h),!1}}const d={...r};return n&&(d.listStyleType=n),nse(e,d)(o,i)},R0=(e,t)=>{const{state:n}=e,{schema:r,selection:o}=n,i=n.tr.setSelection(o),{doc:a}=i;if(!a)return i;const{from:s,to:c}=o;a.nodesBetween(s,c,(l,u)=>{if(Tv(l,r)&&s-3<=u&&c+3>=u+l.nodeSize){const f=Array.isArray(t)?t:[t];for(const d of f)i.setNodeAttribute(u,d.key,d.value)}return!1}),e.dispatch(i)},dle=Fe({__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,o=n,i=ft(),{handleElementId:a,textFormatPainter:s,richTextAttrs:c}=Ee(i),l=me();let u;const f=_n.debounce(function(){o("update",u.dom.innerHTML)},300,{trailing:!0}),d=()=>{i.setDisableHotkeysState(!0),o("focus")},h=()=>{i.setDisableHotkeysState(!1),o("blur")},p=_n.debounce(function(){const S=Y4(u,{color:r.defaultColor,fontname:r.defaultFontName});i.setRichtextAttrs(S)},30,{trailing:!0}),m=()=>{f(),p()},A=Se(()=>r.value);Tt(A,()=>{if(!u||u.hasFocus())return;const{doc:S,tr:L}=u.state;u.dispatch(L.replaceRangeWith(0,S.content.size,v5(A.value)))}),Tt(()=>r.editable,()=>{u.setProps({editable:()=>r.editable})}),t({focus:()=>u.focus()});const R=({target:S,action:L})=>{if(!S&&a.value!==r.elementId||S&&S!==r.elementId)return;const T="command"in L?[L]:L;for(const M of T)if(M.command==="fontname"&&M.value){const O=u.state.schema.marks.fontname.create({fontname:M.value});Xr(u),Ka(u,O)}else if(M.command==="fontsize"&&M.value){const O=u.state.schema.marks.fontsize.create({fontsize:M.value});Xr(u),Ka(u,O),R0(u,{key:"fontsize",value:M.value})}else if(M.command==="fontsize-add"){const O=M.value?+M.value:2;Xr(u);const k=xM(u)+O+"px",_=u.state.schema.marks.fontsize.create({fontsize:k});Ka(u,_),R0(u,{key:"fontsize",value:k})}else if(M.command==="fontsize-reduce"){const O=M.value?+M.value:2;Xr(u);let k=xM(u)-O;k<12&&(k=12);const _=u.state.schema.marks.fontsize.create({fontsize:k+"px"});Ka(u,_),R0(u,{key:"fontsize",value:k+"px"})}else if(M.command==="color"&&M.value){const O=u.state.schema.marks.forecolor.create({color:M.value});Xr(u),Ka(u,O),R0(u,{key:"color",value:M.value})}else if(M.command==="backcolor"&&M.value){const O=u.state.schema.marks.backcolor.create({backcolor:M.value});Xr(u),Ka(u,O)}else if(M.command==="bold")Xr(u),kr(u.state.schema.marks.strong)(u.state,u.dispatch);else if(M.command==="em")Xr(u),kr(u.state.schema.marks.em)(u.state,u.dispatch);else if(M.command==="underline")Xr(u),kr(u.state.schema.marks.underline)(u.state,u.dispatch);else if(M.command==="strikethrough")Xr(u),kr(u.state.schema.marks.strikethrough)(u.state,u.dispatch);else if(M.command==="subscript")kr(u.state.schema.marks.subscript)(u.state,u.dispatch);else if(M.command==="superscript")kr(u.state.schema.marks.superscript)(u.state,u.dispatch);else if(M.command==="blockquote")_m("blockquote",u.state)?DH(u.state,u.dispatch):qH(u.state.schema.nodes.blockquote)(u.state,u.dispatch);else if(M.command==="code")kr(u.state.schema.marks.code)(u.state,u.dispatch);else if(M.command==="align"&&M.value)lle(u,M.value);else if(M.command==="indent"&&M.value)ule(u,+M.value);else if(M.command==="textIndent"&&M.value)fle(u,+M.value);else if(M.command==="bulletList"){const O=M.value||"",{bullet_list:k,list_item:_}=u.state.schema.nodes,N={color:c.value.color,fontsize:c.value.fontsize};sg(k,_,O,N)(u.state,u.dispatch)}else if(M.command==="orderedList"){const O=M.value||"",{ordered_list:k,list_item:_}=u.state.schema.nodes,N={color:c.value.color,fontsize:c.value.fontsize};sg(k,_,O,N)(u.state,u.dispatch)}else if(M.command==="clear"){Xr(u);const{$from:O,$to:k}=u.state.selection;u.dispatch(u.state.tr.removeMark(O.pos,k.pos)),R0(u,[{key:"fontsize",value:""},{key:"color",value:""}])}else if(M.command==="link"){const O=u.state.schema.marks.link,{from:k,to:_}=u.state.selection,N=rG(u.state.doc,k,_,O);if(N)if(M.value){const X=u.state.schema.marks.link.create({href:M.value,title:M.value});Ka(u,X,{from:N.from.pos,to:N.to.pos+1})}else u.dispatch(u.state.tr.removeMark(N.from.pos,N.to.pos+1,O));else if(sG(u.state,O))if(M.value){const X=u.state.schema.marks.link.create({href:M.value,title:M.value});Ka(u,X)}else kr(O)(u.state,u.dispatch);else M.value&&(Xr(u),kr(O,{href:M.value,title:M.value})(u.state,u.dispatch))}else M.command==="insert"&&M.value&&u.dispatch(u.state.tr.insertText(M.value));u.focus(),f(),p()},y=()=>{if(!s.value)return;const{keep:S,...L}=s.value,T=[{command:"clear"}];for(const M of Object.keys(L)){const O=M,k=s.value[M];k===!0?T.push({command:O}):k&&T.push({command:O,value:k})}R({action:T}),S||i.setTextFormatPainter(null)};Gt(()=>{u=sF(l.value,A.value,{handleDOMEvents:{focus:d,blur:h,keydown:m,click:p,mouseup:y},editable:()=>r.editable}),r.autoFocus&&u.focus()}),Tn(()=>{u&&u.destroy()});const g=()=>{a.value===r.elementId&&p()};return Zr.on(Wr.RICH_TEXT_COMMAND,R),Zr.on(Wr.SYNC_RICH_TEXT_ATTRS_TO_STORE,g),Tn(()=>{Zr.off(Wr.RICH_TEXT_COMMAND,R),Zr.off(Wr.SYNC_RICH_TEXT_ATTRS_TO_STORE,g)}),(S,L)=>(Q(),ee("div",{class:$e(["prosemirror-editor",{"format-painter":H(s)}]),ref_key:"editorViewRef",ref:l,onMousedown:L[0]||(L[0]=T=>o("mousedown",T))},null,34))}}),cF=We(dle,[["__scopeId","data-v-23fdc807"]]),uF=e=>(on("data-v-88c920e1"),e=e(),an(),e),hle=uF(()=>Y("div",{class:"drag-handler top"},null,-1)),ple=uF(()=>Y("div",{class:"drag-handler bottom"},null,-1)),mle=Fe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=ft(),r=ct(),{handleElementId:o,isScaling:i}=Ee(n),{addHistorySnapshot:a}=Jt(),s=me(),c=Se(()=>t.elementInfo.shadow),{shadowStyle:l}=Lc(c),u=(R,y=!0)=>{t.elementInfo.lock||(R.stopPropagation(),t.selectElement(R,t.elementInfo,y))},f=me(-1),d=me(-1);Tt(i,()=>{o.value===t.elementInfo.id&&(i.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=R=>{const y=R[0].contentRect;if(!s.value)return;const g=y.height+20,S=y.width+20;!t.elementInfo.vertical&&t.elementInfo.height!==g&&(i.value?f.value=g:r.updateElement({id:t.elementInfo.id,props:{height:g}})),t.elementInfo.vertical&&t.elementInfo.width!==S&&(i.value?d.value=S:r.updateElement({id:t.elementInfo.id,props:{width:S}}))},p=new ResizeObserver(h);Gt(()=>{s.value&&p.observe(s.value)}),Tn(()=>{s.value&&p.unobserve(s.value)});const m=R=>{r.updateElement({id:t.elementInfo.id,props:{content:R}}),a()},A=_n.debounce(function(){t.elementInfo.content.replace(/<[^>]+>/g,"")||r.deleteElement(t.elementInfo.id)},300,{trailing:!0}),x=Se(()=>o.value===t.elementInfo.id);return Tt(x,()=>{x.value||A()}),(R,y)=>{const g=Ln("contextmenu");return Q(),ee("div",{class:$e(["editable-element-text",{lock:R.elementInfo.lock}]),style:we({top:R.elementInfo.top+"px",left:R.elementInfo.left+"px",width:R.elementInfo.width+"px",height:R.elementInfo.height+"px"})},[Y("div",{class:"rotate-wrapper",style:we({transform:`rotate(${R.elementInfo.rotate}deg)`})},[Ze((Q(),ee("div",{class:"element-content",ref_key:"elementRef",ref:s,style:we({width:R.elementInfo.vertical?"auto":R.elementInfo.width+"px",height:R.elementInfo.vertical?R.elementInfo.height+"px":"auto",backgroundColor:R.elementInfo.fill,opacity:R.elementInfo.opacity,textShadow:H(l),lineHeight:R.elementInfo.lineHeight,letterSpacing:(R.elementInfo.wordSpace||0)+"px",color:R.elementInfo.defaultColor,fontFamily:R.elementInfo.defaultFontName,writingMode:R.elementInfo.vertical?"vertical-rl":"horizontal-tb"}),onMousedown:y[2]||(y[2]=S=>u(S)),onTouchstart:y[3]||(y[3]=S=>u(S))},[w(a2,{width:R.elementInfo.width,height:R.elementInfo.height,outline:R.elementInfo.outline},null,8,["width","height","outline"]),w(cF,{class:"text",elementId:R.elementInfo.id,defaultColor:R.elementInfo.defaultColor,defaultFontName:R.elementInfo.defaultFontName,editable:!R.elementInfo.lock,value:R.elementInfo.content,style:we({"--paragraphSpace":`${R.elementInfo.paragraphSpace===void 0?5:R.elementInfo.paragraphSpace}px`}),onUpdate:y[0]||(y[0]=S=>m(S)),onMousedown:y[1]||(y[1]=S=>u(S,!1))},null,8,["elementId","defaultColor","defaultFontName","editable","value","style"]),hle,ple],36)),[[g,R.contextmenus]])],4)],6)}}}),fF=We(mle,[["__scopeId","data-v-88c920e1"]]),vle=["id","gradientTransform"],gle=["stop-color"],Ale=["stop-color"],Rle=["id"],yle=["stop-color"],xle=["stop-color"],dF=Fe({__name:"GradientDefs",props:{id:{},type:{},color1:{},color2:{},rotate:{default:0}},setup(e){return(t,n)=>t.type==="linear"?(Q(),ee("linearGradient",{key:0,id:t.id,x1:"0%",y1:"0%",x2:"100%",y2:"0%",gradientTransform:`rotate(${t.rotate},0.5,0.5)`},[Y("stop",{offset:"0%","stop-color":t.color1},null,8,gle),Y("stop",{offset:"100%","stop-color":t.color2},null,8,Ale)],8,vle)):(Q(),ee("radialGradient",{key:1,id:t.id},[Y("stop",{offset:"0%","stop-color":t.color1},null,8,yle),Y("stop",{offset:"100%","stop-color":t.color2},null,8,xle)],8,Rle))}}),ble=["width","height"],Sle={key:0},Mle=["transform"],wle=["d","fill","stroke","stroke-width","stroke-dasharray"],Lle=Fe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=ft(),r=ct(),{handleElementId:o,shapeFormatPainter:i}=Ee(n),{addHistorySnapshot:a}=Jt(),s=(M,O=!0)=>{t.elementInfo.lock||(M.stopPropagation(),t.selectElement(M,t.elementInfo,O))},c=()=>{if(!i.value)return;const{keep:M,...O}=i.value;r.updateElement({id:t.elementInfo.id,props:O}),a(),M||n.setShapeFormatPainter(null)},l=Se(()=>t.elementInfo.outline),{outlineWidth:u,outlineColor:f,strokeDashArray:d}=Gd(l),h=Se(()=>t.elementInfo.shadow),{shadowStyle:p}=Lc(h),m=Se(()=>t.elementInfo.flipH),A=Se(()=>t.elementInfo.flipV),{flipStyle:x}=i2(m,A),R=me(!1);Tt(o,()=>{o.value!==t.elementInfo.id&&R.value&&(R.value=!1)});const y=Se(()=>{const M={content:"",defaultFontName:"微软雅黑",defaultColor:"#000",align:"middle"};return t.elementInfo.text?t.elementInfo.text:M}),g=M=>{const O={...y.value,content:M};r.updateElement({id:t.elementInfo.id,props:{text:O}}),a()},S=()=>{if(!t.elementInfo.text)return;t.elementInfo.text.content.replace(/<[^>]+>/g,"")||(r.removeElementProps({id:t.elementInfo.id,propName:"text"}),a())},L=me(),T=()=>{R.value=!0,Vr(()=>L.value&&L.value.focus())};return(M,O)=>{const k=Ln("contextmenu");return Q(),ee("div",{class:$e(["editable-element-shape",{lock:M.elementInfo.lock,"format-painter":H(i)}]),style:we({top:M.elementInfo.top+"px",left:M.elementInfo.left+"px",width:M.elementInfo.width+"px",height:M.elementInfo.height+"px"})},[Y("div",{class:"rotate-wrapper",style:we({transform:`rotate(${M.elementInfo.rotate}deg)`})},[Ze((Q(),ee("div",{class:"element-content",style:we({opacity:M.elementInfo.opacity,filter:H(p)?`drop-shadow(${H(p)})`:"",transform:H(x),color:y.value.defaultColor,fontFamily:y.value.defaultFontName}),onMousedown:O[3]||(O[3]=_=>s(_)),onMouseup:O[4]||(O[4]=_=>c()),onTouchstart:O[5]||(O[5]=_=>s(_)),onDblclick:O[6]||(O[6]=_=>T())},[(Q(),ee("svg",{overflow:"visible",width:M.elementInfo.width,height:M.elementInfo.height},[M.elementInfo.gradient?(Q(),ee("defs",Sle,[w(dF,{id:`editabel-gradient-${M.elementInfo.id}`,type:M.elementInfo.gradient.type,color1:M.elementInfo.gradient.color[0],color2:M.elementInfo.gradient.color[1],rotate:M.elementInfo.gradient.rotate},null,8,["id","type","color1","color2","rotate"])])):Be("",!0),Y("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)`},[Y("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:H(f),"stroke-width":H(u),"stroke-dasharray":H(d)},null,8,wle)],8,Mle)],8,ble)),Y("div",{class:$e(["shape-text",[y.value.align,{editable:R.value||y.value.content}]])},[R.value||y.value.content?(Q(),Oe(cF,{key:0,ref_key:"prosemirrorEditorRef",ref:L,elementId:M.elementInfo.id,defaultColor:y.value.defaultColor,defaultFontName:y.value.defaultFontName,editable:!M.elementInfo.lock,value:y.value.content,onUpdate:O[0]||(O[0]=_=>g(_)),onBlur:O[1]||(O[1]=_=>S()),onMousedown:O[2]||(O[2]=_=>s(_,!1))},null,8,["elementId","defaultColor","defaultFontName","editable","value"])):Be("",!0)],2)],36)),[[k,M.contextmenus]])],4)],6)}}}),hF=We(Lle,[["__scopeId","data-v-63255815"]]),Ole=["id","markerWidth","markerHeight","refX","refY"],Tle=["d","fill","transform"],Fd=Fe({__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},o=Se(()=>n[t.type]),i=Se(()=>r[`${t.type}-${t.position}`]||0),a=Se(()=>t.baseSize<2?2:t.baseSize);return(s,c)=>(Q(),ee("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},[Y("path",{d:o.value,fill:s.color,transform:`scale(${a.value*.3}, ${a.value*.3}) rotate(${i.value}, 5, 5)`},null,8,Tle)],8,Ole))}}),kle=["width","height"],Nle=["d","stroke","stroke-width","stroke-dasharray","marker-start","marker-end"],Ple=["d"],Cle=Fe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=l=>{t.elementInfo.lock||(l.stopPropagation(),t.selectElement(l,t.elementInfo))},r=Se(()=>t.elementInfo.shadow),{shadowStyle:o}=Lc(r),i=Se(()=>{const l=Math.abs(t.elementInfo.start[0]-t.elementInfo.end[0]);return l<24?24:l}),a=Se(()=>{const l=Math.abs(t.elementInfo.start[1]-t.elementInfo.end[1]);return l<24?24:l}),s=Se(()=>{if(t.elementInfo.style!=="dashed")return"0 0";const l=t.elementInfo.width;return l<=8?`${l*5} ${l*2.5}`:`${l*5} ${l*1.5}`}),c=Se(()=>Lb(t.elementInfo));return(l,u)=>{const f=Ln("contextmenu");return Q(),ee("div",{class:$e(["editable-element-shape",{lock:l.elementInfo.lock}]),style:we({top:l.elementInfo.top+"px",left:l.elementInfo.left+"px"})},[Y("div",{class:"element-content",style:we({filter:H(o)?`drop-shadow(${H(o)})`:""}),onMousedown:u[0]||(u[0]=d=>n(d)),onTouchstart:u[1]||(u[1]=d=>n(d))},[(Q(),ee("svg",{overflow:"visible",width:i.value,height:a.value},[Y("defs",null,[l.elementInfo.points[0]?(Q(),Oe(Fd,{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"])):Be("",!0),l.elementInfo.points[1]?(Q(),Oe(Fd,{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"])):Be("",!0)]),Y("path",{class:"line-point",d:c.value,stroke:l.elementInfo.color,"stroke-width":l.elementInfo.width,"stroke-dasharray":s.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,Nle),Ze(Y("path",{class:"line-path",d:c.value,stroke:"transparent","stroke-width":"20",fill:"none"},null,8,Ple),[[f,l.contextmenus]])],8,kle))],36)],6)}}}),pF=We(Cle,[["__scopeId","data-v-7ecafe01"]]),j0={svg:"http://www.w3.org/2000/svg",xmlns:"http://www.w3.org/2000/xmlns/",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",ct:"http://gionkunz.github.com/chartist-js/ct"},Ile=8,xT={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#039;"};function bT(e,t){return typeof e=="number"?e+t:e}function lg(e){if(typeof e=="string"){const t=/^(\d+)\s*(.*)$/g.exec(e);return{value:t?+t[1]:0,unit:(t==null?void 0:t[2])||void 0}}return{value:Number(e)}}function g5(e){return String.fromCharCode(97+e%26)}const Dy=2221e-19;function Fle(e){return Math.floor(Math.log(Math.abs(e))/Math.LN10)}function y0(e,t,n){return t/n.range*e}function _le(e,t){const n=Math.pow(10,t||Ile);return Math.round(e*n)/n}function Xle(e){if(e===1)return e;function t(a,s){return a%s===0?s:t(s,a%s)}function n(a){return a*a+1}let r=2,o=2,i;if(e%2===0)return 2;do r=n(r)%e,o=n(n(o))%e,i=t(Math.abs(r-o),e);while(i===1);return i}function Ky(e,t,n,r){const o=(r-90)*Math.PI/180;return{x:e+n*Math.cos(o),y:t+n*Math.sin(o)}}function Ele(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;const o={high:t.high,low:t.low,valueRange:0,oom:0,step:0,min:0,max:0,range:0,numberOfSteps:0,values:[]};o.valueRange=o.high-o.low,o.oom=Fle(o.valueRange),o.step=Math.pow(10,o.oom),o.min=Math.floor(o.low/o.step)*o.step,o.max=Math.ceil(o.high/o.step)*o.step,o.range=o.max-o.min,o.numberOfSteps=Math.round(o.range/o.step);const a=y0(e,o.step,o)<n,s=r?Xle(o.range):0;if(r&&y0(e,1,o)>=n)o.step=1;else if(r&&s<o.step&&y0(e,s,o)>=n)o.step=s;else{let d=0;for(;;){if(a&&y0(e,o.step,o)<=n)o.step*=2;else if(!a&&y0(e,o.step/2,o)>=n){if(o.step/=2,r&&o.step%1!==0){o.step*=2;break}}else break;if(d++>1e3)throw new Error("Exceeded maximum number of iterations while optimizing scale step!")}}o.step=Math.max(o.step,Dy);function c(d,h){return d===(d+=h)&&(d*=1+(h>0?Dy:-Dy)),d}let l=o.min,u=o.max;for(;l+o.step<=o.low;)l=c(l,o.step);for(;u-o.step>=o.high;)u=c(u,-o.step);o.min=l,o.max=u,o.range=o.max-o.min;const f=[];for(let d=o.min;d<=o.max;d=c(d,o.step)){const h=_le(d);h!==f[f.length-1]&&f.push(h)}return o.values=f,o}function Yu(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(let o=0;o<n.length;o++){const i=n[o];for(const a in i){const s=i[a];typeof s=="object"&&s!==null&&!(s instanceof Array)?e[a]=Yu(e[a],s):e[a]=s}}return e}const cp=e=>e;function ex(e,t){return Array.from({length:e},t?(n,r)=>t(r):()=>{})}const Wle=(e,t)=>e+(t||0),Vle=(e,t)=>ex(Math.max(...e.map(n=>n.length)),n=>t(...e.map(r=>r[n])));function jn(e,t){return e!==null&&typeof e=="object"&&Reflect.has(e,t)}function kh(e){return e!==null&&isFinite(e)}function mF(e){return!e&&e!==0}function gd(e){return kh(e)?Number(e):void 0}function Ule(e){return Array.isArray(e)?e.every(Array.isArray):!1}function vF(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=0;e[n?"reduceRight":"reduce"]((o,i,a)=>t(i,r++,a),void 0)}function gF(e,t){const n=Array.isArray(e)?e[t]:jn(e,"data")?e.data[t]:null;return jn(n,"meta")?n.meta:void 0}function AF(e){return e==null||typeof e=="number"&&isNaN(e)}function Yle(e){return Array.isArray(e)&&e.every(t=>Array.isArray(t)||jn(t,"data"))}function Qle(e){return typeof e=="object"&&e!==null&&(Reflect.has(e,"x")||Reflect.has(e,"y"))}function A5(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"y";return Qle(e)&&jn(e,t)?gd(e[t]):gd(e)}function tx(e,t,n){t={...t,...n?n==="x"?t.axisX:t.axisY:{}};const r={high:t.high===void 0?-Number.MAX_VALUE:+t.high,low:t.low===void 0?Number.MAX_VALUE:+t.low},o=t.high===void 0,i=t.low===void 0;function a(s){if(!AF(s))if(Array.isArray(s))for(let c=0;c<s.length;c++)a(s[c]);else{const c=Number(n&&jn(s,n)?s[n]:s);o&&c>r.high&&(r.high=c),i&&c<r.low&&(r.low=c)}}return(o||i)&&a(e),(t.referenceValue||t.referenceValue===0)&&(r.high=Math.max(t.referenceValue,r.high),r.low=Math.min(t.referenceValue,r.low)),r.high<=r.low&&(r.low===0?r.high=1:r.low<0?r.high=0:(r.high>0||(r.high=1),r.low=0)),r}function R5(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o;const i={labels:(e.labels||[]).slice(),series:Dle(e.series,n,r)},a=i.labels.length;return Ule(i.series)?(o=Math.max(a,...i.series.map(s=>s.length)),i.series.forEach(s=>{s.push(...ex(Math.max(0,o-s.length)))})):o=i.series.length,i.labels.push(...ex(Math.max(0,o-a),()=>"")),t&&Zle(i),i}function Zle(e){var t;(t=e.labels)===null||t===void 0||t.reverse(),e.series.reverse();for(const n of e.series)jn(n,"data")?n.data.reverse():Array.isArray(n)&&n.reverse()}function Ble(e,t){let n,r;if(typeof e!="object"){const o=gd(e);t==="x"?n=o:r=o}else jn(e,"x")&&(n=gd(e.x)),jn(e,"y")&&(r=gd(e.y));if(!(n===void 0&&r===void 0))return{x:n,y:r}}function ST(e,t){if(!AF(e))return t?Ble(e,t):gd(e)}function nx(e,t){return Array.isArray(e)?e.map(n=>jn(n,"value")?ST(n.value,t):ST(n,t)):nx(e.data,t)}function Dle(e,t,n){if(Yle(e))return e.map(o=>nx(o,t));const r=nx(e,t);return n?r.map(o=>[o]):r}function Kle(e,t,n){const r={increasingX:!1,fillHoles:!1,...n},o=[];let i=!0;for(let a=0;a<e.length;a+=2)A5(t[a/2].value)===void 0?r.fillHoles||(i=!0):(r.increasingX&&a>=2&&e[a]<=e[a-2]&&(i=!0),i&&(o.push({pathCoordinates:[],valueData:[]}),i=!1),o[o.length-1].pathCoordinates.push(e[a],e[a+1]),o[o.length-1].valueData.push(t[a/2]));return o}function up(e){let t="";return e==null?e:(typeof e=="number"?t=""+e:typeof e=="object"?t=JSON.stringify({data:e}):t=String(e),Object.keys(xT).reduce((n,r)=>n.replaceAll(r,xT[r]),t))}class Hle{call(t,n){return this.svgElements.forEach(r=>Reflect.apply(r[t],r,n)),this}attr(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.call("attr",n)}elem(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.call("elem",n)}root(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.call("root",n)}getNode(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.call("getNode",n)}foreignObject(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.call("foreignObject",n)}text(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.call("text",n)}empty(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.call("empty",n)}remove(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.call("remove",n)}addClass(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.call("addClass",n)}removeClass(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.call("removeClass",n)}removeAllClasses(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.call("removeAllClasses",n)}animate(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.call("animate",n)}constructor(t){this.svgElements=[];for(let n=0;n<t.length;n++)this.svgElements.push(new rc(t[n]))}}const RF={easeInSine:[.47,0,.745,.715],easeOutSine:[.39,.575,.565,1],easeInOutSine:[.445,.05,.55,.95],easeInQuad:[.55,.085,.68,.53],easeOutQuad:[.25,.46,.45,.94],easeInOutQuad:[.455,.03,.515,.955],easeInCubic:[.55,.055,.675,.19],easeOutCubic:[.215,.61,.355,1],easeInOutCubic:[.645,.045,.355,1],easeInQuart:[.895,.03,.685,.22],easeOutQuart:[.165,.84,.44,1],easeInOutQuart:[.77,0,.175,1],easeInQuint:[.755,.05,.855,.06],easeOutQuint:[.23,1,.32,1],easeInOutQuint:[.86,0,.07,1],easeInExpo:[.95,.05,.795,.035],easeOutExpo:[.19,1,.22,1],easeInOutExpo:[1,0,0,1],easeInCirc:[.6,.04,.98,.335],easeOutCirc:[.075,.82,.165,1],easeInOutCirc:[.785,.135,.15,.86],easeInBack:[.6,-.28,.735,.045],easeOutBack:[.175,.885,.32,1.275],easeInOutBack:[.68,-.55,.265,1.55]};function MT(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,o=arguments.length>4?arguments[4]:void 0;const{easing:i,...a}=n,s={};let c,l;i&&(c=Array.isArray(i)?i:RF[i]),a.begin=bT(a.begin,"ms"),a.dur=bT(a.dur,"ms"),c&&(a.calcMode="spline",a.keySplines=c.join(" "),a.keyTimes="0;1"),r&&(a.fill="freeze",s[t]=a.from,e.attr(s),l=lg(a.begin||0).value,a.begin="indefinite");const u=e.elem("animate",{attributeName:t,...a});r&&setTimeout(()=>{try{u._node.beginElement()}catch{s[t]=a.to,e.attr(s),u.remove()}},l);const f=u.getNode();o&&f.addEventListener("beginEvent",()=>o.emit("animationBegin",{element:e,animate:f,params:n})),f.addEventListener("endEvent",()=>{o&&o.emit("animationEnd",{element:e,animate:f,params:n}),r&&(s[t]=a.to,e.attr(s),u.remove())})}class rc{attr(t,n){return typeof t=="string"?n?this._node.getAttributeNS(n,t):this._node.getAttribute(t):(Object.keys(t).forEach(r=>{if(t[r]!==void 0)if(r.indexOf(":")!==-1){const o=r.split(":");this._node.setAttributeNS(j0[o[0]],r,String(t[r]))}else this._node.setAttribute(r,String(t[r]))}),this)}elem(t,n,r){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return new rc(t,n,r,this,o)}parent(){return this._node.parentNode instanceof SVGElement?new rc(this._node.parentNode):null}root(){let t=this._node;for(;t.nodeName!=="svg"&&t.parentElement;)t=t.parentElement;return new rc(t)}querySelector(t){const n=this._node.querySelector(t);return n?new rc(n):null}querySelectorAll(t){const n=this._node.querySelectorAll(t);return new Hle(n)}getNode(){return this._node}foreignObject(t,n,r){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,i;if(typeof t=="string"){const s=document.createElement("div");s.innerHTML=t,i=s.firstChild}else i=t;i instanceof Element&&i.setAttribute("xmlns",j0.xmlns);const a=this.elem("foreignObject",n,r,o);return a._node.appendChild(i),a}text(t){return this._node.appendChild(document.createTextNode(t)),this}empty(){for(;this._node.firstChild;)this._node.removeChild(this._node.firstChild);return this}remove(){var t;return(t=this._node.parentNode)===null||t===void 0||t.removeChild(this._node),this.parent()}replace(t){var n;return(n=this._node.parentNode)===null||n===void 0||n.replaceChild(t._node,this._node),t}append(t){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)&&this._node.firstChild?this._node.insertBefore(t._node,this._node.firstChild):this._node.appendChild(t._node),this}classes(){const t=this._node.getAttribute("class");return t?t.trim().split(/\s+/):[]}addClass(t){return this._node.setAttribute("class",this.classes().concat(t.trim().split(/\s+/)).filter(function(n,r,o){return o.indexOf(n)===r}).join(" ")),this}removeClass(t){const n=t.trim().split(/\s+/);return this._node.setAttribute("class",this.classes().filter(r=>n.indexOf(r)===-1).join(" ")),this}removeAllClasses(){return this._node.setAttribute("class",""),this}height(){return this._node.getBoundingClientRect().height}width(){return this._node.getBoundingClientRect().width}animate(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,r=arguments.length>2?arguments[2]:void 0;return Object.keys(t).forEach(o=>{const i=t[o];Array.isArray(i)?i.forEach(a=>MT(this,o,a,!1,r)):MT(this,o,i,n,r)}),this}constructor(t,n,r,o,i=!1){t instanceof Element?this._node=t:(this._node=document.createElementNS(j0.svg,t),t==="svg"&&this.attr({"xmlns:ct":j0.ct})),n&&this.attr(n),r&&this.addClass(r),o&&(i&&o._node.firstChild?o._node.insertBefore(this._node,o._node.firstChild):o._node.appendChild(this._node))}}rc.Easing=RF;function y5(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"100%",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"100%",r=arguments.length>3?arguments[3]:void 0;Array.from(e.querySelectorAll("svg")).filter(i=>i.getAttributeNS(j0.xmlns,"ct")).forEach(i=>e.removeChild(i));const o=new rc("svg").attr({width:t,height:n}).attr({style:"width: ".concat(t,"; height: ").concat(n,";")});return r&&o.addClass(r),e.appendChild(o.getNode()),o}function Gle(e){return typeof e=="number"?{top:e,right:e,bottom:e,left:e}:e===void 0?{top:0,right:0,bottom:0,left:0}:{top:typeof e.top=="number"?e.top:0,right:typeof e.right=="number"?e.right:0,bottom:typeof e.bottom=="number"?e.bottom:0,left:typeof e.left=="number"?e.left:0}}function x5(e,t){var n,r,o,i;const a=!!(t.axisX||t.axisY),s=((n=t.axisY)===null||n===void 0?void 0:n.offset)||0,c=((r=t.axisX)===null||r===void 0?void 0:r.offset)||0,l=(o=t.axisY)===null||o===void 0?void 0:o.position,u=(i=t.axisX)===null||i===void 0?void 0:i.position;let f=e.width()||lg(t.width).value||0,d=e.height()||lg(t.height).value||0;const h=Gle(t.chartPadding);f=Math.max(f,s+h.left+h.right),d=Math.max(d,c+h.top+h.bottom);const p={x1:0,x2:0,y1:0,y2:0,padding:h,width(){return this.x2-this.x1},height(){return this.y1-this.y2}};return a?(u==="start"?(p.y2=h.top+c,p.y1=Math.max(d-h.bottom,p.y2+1)):(p.y2=h.top,p.y1=Math.max(d-h.bottom-c,p.y2+1)),l==="start"?(p.x1=h.left+s,p.x2=Math.max(f-h.right,p.x1+1)):(p.x1=h.left,p.x2=Math.max(f-h.right-s,p.x1+1))):(p.x1=h.left,p.x2=Math.max(f-h.right,p.x1+1),p.y2=h.top,p.y1=Math.max(d-h.bottom,p.y2+1)),p}function Jle(e,t,n,r,o,i,a,s){const c={["".concat(n.units.pos,"1")]:e,["".concat(n.units.pos,"2")]:e,["".concat(n.counterUnits.pos,"1")]:r,["".concat(n.counterUnits.pos,"2")]:r+o},l=i.elem("line",c,a.join(" "));s.emit("draw",{type:"grid",axis:n,index:t,group:i,element:l,...c})}function yF(e,t,n,r){const o=e.elem("rect",{x:t.x1,y:t.y2,width:t.width(),height:t.height()},n,!0);r.emit("draw",{type:"gridBackground",group:e,element:o})}function zle(e,t,n,r,o,i,a,s,c,l){const u={[o.units.pos]:e+a[o.units.pos],[o.counterUnits.pos]:a[o.counterUnits.pos],[o.units.len]:t,[o.counterUnits.len]:Math.max(0,i-10)},f=Math.round(u[o.units.len]),d=Math.round(u[o.counterUnits.len]),h=document.createElement("span");h.className=c.join(" "),h.style[o.units.len]=f+"px",h.style[o.counterUnits.len]=d+"px",h.textContent=String(r);const p=s.foreignObject(h,{style:"overflow: visible;",...u});l.emit("draw",{type:"label",axis:o,index:n,group:s,element:p,text:r,...u})}function wT(e,t,n){let r;const o=[];function i(s){const c=r;r=Yu({},e),t&&t.forEach(l=>{window.matchMedia(l[0]).matches&&(r=Yu(r,l[1]))}),n&&s&&n.emit("optionsChanged",{previousOptions:c,currentOptions:r})}function a(){o.forEach(s=>s.removeEventListener("change",i))}if(window.matchMedia)t&&t.forEach(s=>{const c=window.matchMedia(s[0]);c.addEventListener("change",i),o.push(c)});else throw new Error("window.matchMedia not found! Make sure you're using a polyfill.");return i(),{removeMediaQueryListeners:a,getCurrentOptions(){return r}}}const rx={m:["x","y"],l:["x","y"],c:["x1","y1","x2","y2","x","y"],a:["rx","ry","xAr","lAf","sf","x","y"]},jle={accuracy:3};function ym(e,t,n,r,o,i){const a={command:o?e.toLowerCase():e.toUpperCase(),...t,...i?{data:i}:{}};n.splice(r,0,a)}function Hy(e,t){e.forEach((n,r)=>{rx[n.command.toLowerCase()].forEach((o,i)=>{t(n,o,r,i,e)})})}class qs{static join(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=arguments.length>2?arguments[2]:void 0;const o=new qs(n,r);for(let i=0;i<t.length;i++){const a=t[i];for(let s=0;s<a.pathElements.length;s++)o.pathElements.push(a.pathElements[s])}return o}position(t){return t!==void 0?(this.pos=Math.max(0,Math.min(this.pathElements.length,t)),this):this.pos}remove(t){return this.pathElements.splice(this.pos,t),this}move(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,o=arguments.length>3?arguments[3]:void 0;return ym("M",{x:+t,y:+n},this.pathElements,this.pos++,r,o),this}line(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,o=arguments.length>3?arguments[3]:void 0;return ym("L",{x:+t,y:+n},this.pathElements,this.pos++,r,o),this}curve(t,n,r,o,i,a){let s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,c=arguments.length>7?arguments[7]:void 0;return ym("C",{x1:+t,y1:+n,x2:+r,y2:+o,x:+i,y:+a},this.pathElements,this.pos++,s,c),this}arc(t,n,r,o,i,a,s){let c=arguments.length>7&&arguments[7]!==void 0?arguments[7]:!1,l=arguments.length>8?arguments[8]:void 0;return ym("A",{rx:t,ry:n,xAr:r,lAf:o,sf:i,x:a,y:s},this.pathElements,this.pos++,c,l),this}parse(t){const n=t.replace(/([A-Za-z])(-?[0-9])/g,"$1 $2").replace(/([0-9])([A-Za-z])/g,"$1 $2").split(/[\s,]+/).reduce((o,i)=>(i.match(/[A-Za-z]/)&&o.push([]),o[o.length-1].push(i),o),[]);n[n.length-1][0].toUpperCase()==="Z"&&n.pop();const r=n.map(o=>{const i=o.shift(),a=rx[i.toLowerCase()];return{command:i,...a.reduce((s,c,l)=>(s[c]=+o[l],s),{})}});return this.pathElements.splice(this.pos,0,...r),this.pos+=r.length,this}stringify(){const t=Math.pow(10,this.options.accuracy);return this.pathElements.reduce((n,r)=>{const o=rx[r.command.toLowerCase()].map(i=>{const a=r[i];return this.options.accuracy?Math.round(a*t)/t:a});return n+r.command+o.join(",")},"")+(this.close?"Z":"")}scale(t,n){return Hy(this.pathElements,(r,o)=>{r[o]*=o[0]==="x"?t:n}),this}translate(t,n){return Hy(this.pathElements,(r,o)=>{r[o]+=o[0]==="x"?t:n}),this}transform(t){return Hy(this.pathElements,(n,r,o,i,a)=>{const s=t(n,r,o,i,a);(s||s===0)&&(n[r]=s)}),this}clone(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const n=new qs(t||this.close);return n.pos=this.pos,n.pathElements=this.pathElements.slice().map(r=>({...r})),n.options={...this.options},n}splitByCommand(t){const n=[new qs];return this.pathElements.forEach(r=>{r.command===t.toUpperCase()&&n[n.length-1].pathElements.length!==0&&n.push(new qs),n[n.length-1].pathElements.push(r)}),n}constructor(t=!1,n){this.close=t,this.pathElements=[],this.pos=0,this.options={...jle,...n}}}function ox(e){const t={fillHoles:!1,...e};return function(r,o){const i=new qs;let a=!0;for(let s=0;s<r.length;s+=2){const c=r[s],l=r[s+1],u=o[s/2];A5(u.value)!==void 0?(a?i.move(c,l,!1,u):i.line(c,l,!1,u),a=!1):t.fillHoles||(a=!0)}return i}}function $le(e){const t={fillHoles:!1,...e};return function n(r,o){const i=Kle(r,o,{fillHoles:t.fillHoles,increasingX:!0});if(i.length){if(i.length>1)return qs.join(i.map(a=>n(a.pathCoordinates,a.valueData)));{if(r=i[0].pathCoordinates,o=i[0].valueData,r.length<=4)return ox()(r,o);const a=[],s=[],c=r.length/2,l=[],u=[],f=[],d=[];for(let p=0;p<c;p++)a[p]=r[p*2],s[p]=r[p*2+1];for(let p=0;p<c-1;p++)f[p]=s[p+1]-s[p],d[p]=a[p+1]-a[p],u[p]=f[p]/d[p];l[0]=u[0],l[c-1]=u[c-2];for(let p=1;p<c-1;p++)u[p]===0||u[p-1]===0||u[p-1]>0!=u[p]>0?l[p]=0:(l[p]=3*(d[p-1]+d[p])/((2*d[p]+d[p-1])/u[p-1]+(d[p]+2*d[p-1])/u[p]),isFinite(l[p])||(l[p]=0));const h=new qs().move(a[0],s[0],!1,o[0]);for(let p=0;p<c-1;p++)h.curve(a[p]+d[p]/3,s[p]+l[p]*d[p]/3,a[p+1]-d[p]/3,s[p+1]-l[p+1]*d[p]/3,a[p+1],s[p+1],!1,o[p+1]);return h}}else return ox()([],[])}}class qle{on(t,n){const{allListeners:r,listeners:o}=this;t==="*"?r.add(n):(o.has(t)||o.set(t,new Set),o.get(t).add(n))}off(t,n){const{allListeners:r,listeners:o}=this;if(t==="*")n?r.delete(n):r.clear();else if(o.has(t)){const i=o.get(t);n?i.delete(n):i.clear(),i.size||o.delete(t)}}emit(t,n){const{allListeners:r,listeners:o}=this;o.has(t)&&o.get(t).forEach(i=>i(n)),r.forEach(i=>i(t,n))}constructor(){this.listeners=new Map,this.allListeners=new Set}}const Gy=new WeakMap;class b5{update(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(t&&(this.data=t||{},this.data.labels=this.data.labels||[],this.data.series=this.data.series||[],this.eventEmitter.emit("data",{type:"update",data:this.data})),n&&(this.options=Yu({},r?this.options:this.defaultOptions,n),!this.initializeTimeoutId)){var o;(o=this.optionsProvider)===null||o===void 0||o.removeMediaQueryListeners(),this.optionsProvider=wT(this.options,this.responsiveOptions,this.eventEmitter)}return!this.initializeTimeoutId&&this.optionsProvider&&this.createChart(this.optionsProvider.getCurrentOptions()),this}detach(){if(this.initializeTimeoutId)window.clearTimeout(this.initializeTimeoutId);else{var t;window.removeEventListener("resize",this.resizeListener),(t=this.optionsProvider)===null||t===void 0||t.removeMediaQueryListeners()}return Gy.delete(this.container),this}on(t,n){return this.eventEmitter.on(t,n),this}off(t,n){return this.eventEmitter.off(t,n),this}initialize(){window.addEventListener("resize",this.resizeListener),this.optionsProvider=wT(this.options,this.responsiveOptions,this.eventEmitter),this.eventEmitter.on("optionsChanged",()=>this.update()),this.options.plugins&&this.options.plugins.forEach(t=>{Array.isArray(t)?t[0](this,t[1]):t(this)}),this.eventEmitter.emit("data",{type:"initial",data:this.data}),this.createChart(this.optionsProvider.getCurrentOptions()),this.initializeTimeoutId=null}constructor(t,n,r,o,i){this.data=n,this.defaultOptions=r,this.options=o,this.responsiveOptions=i,this.eventEmitter=new qle,this.resizeListener=()=>this.update(),this.initializeTimeoutId=setTimeout(()=>this.initialize(),0);const a=typeof t=="string"?document.querySelector(t):t;if(!a)throw new Error("Target element is not found");this.container=a;const s=Gy.get(a);s&&s.detach(),Gy.set(a,this)}}const To={x:{pos:"x",len:"width",dir:"horizontal",rectStart:"x1",rectEnd:"x2",rectOffset:"y2"},y:{pos:"y",len:"height",dir:"vertical",rectStart:"y2",rectEnd:"y1",rectOffset:"x1"}};class xF{createGridAndLabels(t,n,r,o){const i=this.units.pos==="x"?r.axisX:r.axisY,a=this.ticks.map((c,l)=>this.projectValue(c,l)),s=this.ticks.map(i.labelInterpolationFnc);a.forEach((c,l)=>{const u=s[l],f={x:0,y:0};let d;a[l+1]?d=a[l+1]-c:d=Math.max(this.axisLength-c,this.axisLength/this.ticks.length),!(u!==""&&mF(u))&&(this.units.pos==="x"?(c=this.chartRect.x1+c,f.x=r.axisX.labelOffset.x,r.axisX.position==="start"?f.y=this.chartRect.padding.top+r.axisX.labelOffset.y+5:f.y=this.chartRect.y1+r.axisX.labelOffset.y+5):(c=this.chartRect.y1-c,f.y=r.axisY.labelOffset.y-d,r.axisY.position==="start"?f.x=this.chartRect.padding.left+r.axisY.labelOffset.x:f.x=this.chartRect.x2+r.axisY.labelOffset.x+10),i.showGrid&&Jle(c,l,this,this.gridOffset,this.chartRect[this.counterUnits.len](),t,[r.classNames.grid,r.classNames[this.units.dir]],o),i.showLabel&&zle(c,d,l,u,this,i.offset,f,n,[r.classNames.label,r.classNames[this.units.dir],i.position==="start"?r.classNames[i.position]:r.classNames.end],o))})}constructor(t,n,r){this.units=t,this.chartRect=n,this.ticks=r,this.counterUnits=t===To.x?To.y:To.x,this.axisLength=n[this.units.rectEnd]-n[this.units.rectStart],this.gridOffset=n[this.units.rectOffset]}}class ix extends xF{projectValue(t){const n=Number(A5(t,this.units.pos));return this.axisLength*(n-this.bounds.min)/this.bounds.range}constructor(t,n,r,o){const i=o.highLow||tx(n,o,t.pos),a=Ele(r[t.rectEnd]-r[t.rectStart],i,o.scaleMinSpace||20,o.onlyInteger),s={min:a.min,max:a.max};super(t,r,a.values),this.bounds=a,this.range=s}}class ev extends xF{projectValue(t,n){return this.stepLength*n}constructor(t,n,r,o){const i=o.ticks||[];super(t,r,i);const a=Math.max(1,i.length-(o.stretch?1:0));this.stepLength=this.axisLength/a,this.stretch=!!o.stretch}}function x0(e,t,n){var r;if(jn(e,"name")&&e.name&&(!((r=t.series)===null||r===void 0)&&r[e.name])){const i=(t==null?void 0:t.series[e.name])[n];return i===void 0?t[n]:i}else return t[n]}const LT={axisX:{offset:30,position:"end",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:cp,type:void 0},axisY:{offset:40,position:"start",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:cp,type:void 0,scaleMinSpace:20,onlyInteger:!1},width:void 0,height:void 0,showLine:!0,showPoint:!0,showArea:!1,areaBase:0,lineSmooth:!0,showGridBackground:!1,low:void 0,high:void 0,chartPadding:{top:15,right:15,bottom:5,left:10},fullWidth:!1,reverseData:!1,classNames:{chart:"ct-chart-line",label:"ct-label",labelGroup:"ct-labels",series:"ct-series",line:"ct-line",point:"ct-point",area:"ct-area",grid:"ct-grid",gridGroup:"ct-grids",gridBackground:"ct-grid-background",vertical:"ct-vertical",horizontal:"ct-horizontal",start:"ct-start",end:"ct-end"}};class ece extends b5{createChart(t){const{data:n}=this,r=R5(n,t.reverseData,!0),o=y5(this.container,t.width,t.height,t.classNames.chart);this.svg=o;const i=o.elem("g").addClass(t.classNames.gridGroup),a=o.elem("g"),s=o.elem("g").addClass(t.classNames.labelGroup),c=x5(o,t);let l,u;t.axisX.type===void 0?l=new ev(To.x,r.series,c,{...t.axisX,ticks:r.labels,stretch:t.fullWidth}):l=new t.axisX.type(To.x,r.series,c,t.axisX),t.axisY.type===void 0?u=new ix(To.y,r.series,c,{...t.axisY,high:kh(t.high)?t.high:t.axisY.high,low:kh(t.low)?t.low:t.axisY.low}):u=new t.axisY.type(To.y,r.series,c,t.axisY),l.createGridAndLabels(i,s,t,this.eventEmitter),u.createGridAndLabels(i,s,t,this.eventEmitter),t.showGridBackground&&yF(i,c,t.classNames.gridBackground,this.eventEmitter),vF(n.series,(f,d)=>{const h=a.elem("g"),p=jn(f,"name")&&f.name,m=jn(f,"className")&&f.className,A=jn(f,"meta")?f.meta:void 0;p&&h.attr({"ct:series-name":p}),A&&h.attr({"ct:meta":up(A)}),h.addClass([t.classNames.series,m||"".concat(t.classNames.series,"-").concat(g5(d))].join(" "));const x=[],R=[];r.series[d].forEach((L,T)=>{const M={x:c.x1+l.projectValue(L,T,r.series[d]),y:c.y1-u.projectValue(L,T,r.series[d])};x.push(M.x,M.y),R.push({value:L,valueIndex:T,meta:gF(f,T)})});const y={lineSmooth:x0(f,t,"lineSmooth"),showPoint:x0(f,t,"showPoint"),showLine:x0(f,t,"showLine"),showArea:x0(f,t,"showArea"),areaBase:x0(f,t,"areaBase")};let g;typeof y.lineSmooth=="function"?g=y.lineSmooth:g=y.lineSmooth?$le():ox();const S=g(x,R);if(y.showPoint&&S.pathElements.forEach(L=>{const{data:T}=L,M=h.elem("line",{x1:L.x,y1:L.y,x2:L.x+.01,y2:L.y},t.classNames.point);if(T){let O,k;jn(T.value,"x")&&(O=T.value.x),jn(T.value,"y")&&(k=T.value.y),M.attr({"ct:value":[O,k].filter(kh).join(","),"ct:meta":up(T.meta)})}this.eventEmitter.emit("draw",{type:"point",value:T==null?void 0:T.value,index:(T==null?void 0:T.valueIndex)||0,meta:T==null?void 0:T.meta,series:f,seriesIndex:d,axisX:l,axisY:u,group:h,element:M,x:L.x,y:L.y,chartRect:c})}),y.showLine){const L=h.elem("path",{d:S.stringify()},t.classNames.line,!0);this.eventEmitter.emit("draw",{type:"line",values:r.series[d],path:S.clone(),chartRect:c,index:d,series:f,seriesIndex:d,meta:A,axisX:l,axisY:u,group:h,element:L})}if(y.showArea&&u.range){const L=Math.max(Math.min(y.areaBase,u.range.max),u.range.min),T=c.y1-u.projectValue(L);S.splitByCommand("M").filter(M=>M.pathElements.length>1).map(M=>{const O=M.pathElements[0],k=M.pathElements[M.pathElements.length-1];return M.clone(!0).position(0).remove(1).move(O.x,T).line(O.x,O.y).position(M.pathElements.length+1).line(k.x,T)}).forEach(M=>{const O=h.elem("path",{d:M.stringify()},t.classNames.area,!0);this.eventEmitter.emit("draw",{type:"area",values:r.series[d],path:M.clone(),series:f,seriesIndex:d,axisX:l,axisY:u,chartRect:c,index:d,group:h,element:O,meta:A})})}},t.reverseData),this.eventEmitter.emit("created",{chartRect:c,axisX:l,axisY:u,svg:o,options:t})}constructor(t,n,r,o){super(t,n,LT,Yu({},LT,r),o),this.data=n}}function tce(e){return Vle(e,function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Array.from(n).reduce((o,i)=>({x:o.x+(jn(i,"x")?i.x:0),y:o.y+(jn(i,"y")?i.y:0)}),{x:0,y:0})})}const OT={axisX:{offset:30,position:"end",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:cp,scaleMinSpace:30,onlyInteger:!1},axisY:{offset:40,position:"start",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:cp,scaleMinSpace:20,onlyInteger:!1},width:void 0,height:void 0,high:void 0,low:void 0,referenceValue:0,chartPadding:{top:15,right:15,bottom:5,left:10},seriesBarDistance:15,stackBars:!1,stackMode:"accumulate",horizontalBars:!1,distributeSeries:!1,reverseData:!1,showGridBackground:!1,classNames:{chart:"ct-chart-bar",horizontalBars:"ct-horizontal-bars",label:"ct-label",labelGroup:"ct-labels",series:"ct-series",bar:"ct-bar",grid:"ct-grid",gridGroup:"ct-grids",gridBackground:"ct-grid-background",vertical:"ct-vertical",horizontal:"ct-horizontal",start:"ct-start",end:"ct-end"}};class nce extends b5{createChart(t){const{data:n}=this,r=R5(n,t.reverseData,t.horizontalBars?"x":"y",!0),o=y5(this.container,t.width,t.height,t.classNames.chart+(t.horizontalBars?" "+t.classNames.horizontalBars:"")),i=t.stackBars&&t.stackMode!==!0&&r.series.length?tx([tce(r.series)],t,t.horizontalBars?"x":"y"):tx(r.series,t,t.horizontalBars?"x":"y");this.svg=o;const a=o.elem("g").addClass(t.classNames.gridGroup),s=o.elem("g"),c=o.elem("g").addClass(t.classNames.labelGroup);typeof t.high=="number"&&(i.high=t.high),typeof t.low=="number"&&(i.low=t.low);const l=x5(o,t);let u;const f=t.distributeSeries&&t.stackBars?r.labels.slice(0,1):r.labels;let d,h,p;t.horizontalBars?(t.axisX.type===void 0?u=h=new ix(To.x,r.series,l,{...t.axisX,highLow:i,referenceValue:0}):u=h=new t.axisX.type(To.x,r.series,l,{...t.axisX,highLow:i,referenceValue:0}),t.axisY.type===void 0?d=p=new ev(To.y,r.series,l,{ticks:f}):d=p=new t.axisY.type(To.y,r.series,l,t.axisY)):(t.axisX.type===void 0?d=h=new ev(To.x,r.series,l,{ticks:f}):d=h=new t.axisX.type(To.x,r.series,l,t.axisX),t.axisY.type===void 0?u=p=new ix(To.y,r.series,l,{...t.axisY,highLow:i,referenceValue:0}):u=p=new t.axisY.type(To.y,r.series,l,{...t.axisY,highLow:i,referenceValue:0}));const m=t.horizontalBars?l.x1+u.projectValue(0):l.y1-u.projectValue(0),A=t.stackMode==="accumulate",x=t.stackMode==="accumulate-relative",R=[],y=[];let g=R;d.createGridAndLabels(a,c,t,this.eventEmitter),u.createGridAndLabels(a,c,t,this.eventEmitter),t.showGridBackground&&yF(a,l,t.classNames.gridBackground,this.eventEmitter),vF(n.series,(S,L)=>{const T=L-(n.series.length-1)/2;let M;t.distributeSeries&&!t.stackBars?M=d.axisLength/r.series.length/2:t.distributeSeries&&t.stackBars?M=d.axisLength/2:M=d.axisLength/r.series[L].length/2;const O=s.elem("g"),k=jn(S,"name")&&S.name,_=jn(S,"className")&&S.className,N=jn(S,"meta")?S.meta:void 0;k&&O.attr({"ct:series-name":k}),N&&O.attr({"ct:meta":up(N)}),O.addClass([t.classNames.series,_||"".concat(t.classNames.series,"-").concat(g5(L))].join(" ")),r.series[L].forEach((X,C)=>{const F=jn(X,"x")&&X.x,I=jn(X,"y")&&X.y;let V;t.distributeSeries&&!t.stackBars?V=L:t.distributeSeries&&t.stackBars?V=0:V=C;let B;t.horizontalBars?B={x:l.x1+u.projectValue(F||0,C,r.series[L]),y:l.y1-d.projectValue(I||0,V,r.series[L])}:B={x:l.x1+d.projectValue(F||0,V,r.series[L]),y:l.y1-u.projectValue(I||0,C,r.series[L])},d instanceof ev&&(d.stretch||(B[d.units.pos]+=M*(t.horizontalBars?-1:1)),B[d.units.pos]+=t.stackBars||t.distributeSeries?0:T*t.seriesBarDistance*(t.horizontalBars?-1:1)),x&&(g=I>=0||F>=0?R:y);const G=g[C]||m;if(g[C]=G-(m-B[d.counterUnits.pos]),X===void 0)return;const ne={["".concat(d.units.pos,"1")]:B[d.units.pos],["".concat(d.units.pos,"2")]:B[d.units.pos]};t.stackBars&&(A||x||!t.stackMode)?(ne["".concat(d.counterUnits.pos,"1")]=G,ne["".concat(d.counterUnits.pos,"2")]=g[C]):(ne["".concat(d.counterUnits.pos,"1")]=m,ne["".concat(d.counterUnits.pos,"2")]=B[d.counterUnits.pos]),ne.x1=Math.min(Math.max(ne.x1,l.x1),l.x2),ne.x2=Math.min(Math.max(ne.x2,l.x1),l.x2),ne.y1=Math.min(Math.max(ne.y1,l.y2),l.y1),ne.y2=Math.min(Math.max(ne.y2,l.y2),l.y1);const E=gF(S,C),Z=O.elem("line",ne,t.classNames.bar).attr({"ct:value":[F,I].filter(kh).join(","),"ct:meta":up(E)});this.eventEmitter.emit("draw",{type:"bar",value:X,index:C,meta:E,series:S,seriesIndex:L,axisX:h,axisY:p,chartRect:l,group:O,element:Z,...ne})})},t.reverseData),this.eventEmitter.emit("created",{chartRect:l,axisX:h,axisY:p,svg:o,options:t})}constructor(t,n,r,o){super(t,n,OT,Yu({},OT,r),o),this.data=n}}const TT={width:void 0,height:void 0,chartPadding:5,classNames:{chartPie:"ct-chart-pie",chartDonut:"ct-chart-donut",series:"ct-series",slicePie:"ct-slice-pie",sliceDonut:"ct-slice-donut",label:"ct-label"},startAngle:0,total:void 0,donut:!1,donutWidth:60,showLabel:!0,labelOffset:0,labelPosition:"inside",labelInterpolationFnc:cp,labelDirection:"neutral",ignoreEmptyValues:!1};function rce(e,t,n){const r=t.x>e.x;return r&&n==="explode"||!r&&n==="implode"?"start":r&&n==="implode"||!r&&n==="explode"?"end":"middle"}class oce extends b5{createChart(t){const{data:n}=this,r=R5(n),o=[];let i,a,s=t.startAngle;const c=y5(this.container,t.width,t.height,t.donut?t.classNames.chartDonut:t.classNames.chartPie);this.svg=c;const l=x5(c,t);let u=Math.min(l.width()/2,l.height()/2);const f=t.total||r.series.reduce(Wle,0),d=lg(t.donutWidth);d.unit==="%"&&(d.value*=u/100),u-=t.donut?d.value/2:0,t.labelPosition==="outside"||t.donut?a=u:t.labelPosition==="center"?a=0:a=u/2,t.labelOffset&&(a+=t.labelOffset);const h={x:l.x1+l.width()/2,y:l.y2+l.height()/2},p=n.series.filter(m=>jn(m,"value")?m.value!==0:m!==0).length===1;n.series.forEach((m,A)=>o[A]=c.elem("g")),t.showLabel&&(i=c.elem("g")),n.series.forEach((m,A)=>{var x,R;if(r.series[A]===0&&t.ignoreEmptyValues)return;const y=jn(m,"name")&&m.name,g=jn(m,"className")&&m.className,S=jn(m,"meta")?m.meta:void 0;y&&o[A].attr({"ct:series-name":y}),o[A].addClass([(x=t.classNames)===null||x===void 0?void 0:x.series,g||"".concat((R=t.classNames)===null||R===void 0?void 0:R.series,"-").concat(g5(A))].join(" "));let L=f>0?s+r.series[A]/f*360:0;const T=Math.max(0,s-(A===0||p?0:.2));L-T>=359.99&&(L=T+359.99);const M=Ky(h.x,h.y,u,T),O=Ky(h.x,h.y,u,L),k=new qs(!t.donut).move(O.x,O.y).arc(u,u,0,+(L-s>180),0,M.x,M.y);t.donut||k.line(h.x,h.y);const _=o[A].elem("path",{d:k.stringify()},t.donut?t.classNames.sliceDonut:t.classNames.slicePie);if(_.attr({"ct:value":r.series[A],"ct:meta":up(S)}),t.donut&&_.attr({style:"stroke-width: "+d.value+"px"}),this.eventEmitter.emit("draw",{type:"slice",value:r.series[A],totalDataSum:f,index:A,meta:S,series:m,group:o[A],element:_,path:k.clone(),center:h,radius:u,startAngle:s,endAngle:L,chartRect:l}),t.showLabel){let N;n.series.length===1?N={x:h.x,y:h.y}:N=Ky(h.x,h.y,a,s+(L-s)/2);let X;r.labels&&!mF(r.labels[A])?X=r.labels[A]:X=r.series[A];const C=t.labelInterpolationFnc(X,A);if(C||C===0){const F=i.elem("text",{dx:N.x,dy:N.y,"text-anchor":rce(h,N,t.labelDirection)},t.classNames.label).text(String(C));this.eventEmitter.emit("draw",{type:"label",index:A,group:i,element:F,text:""+C,chartRect:l,series:m,meta:S,...N})}}s=L}),this.eventEmitter.emit("created",{chartRect:l,svg:c,options:t})}constructor(t,n,r,o){super(t,n,TT,Yu({},TT,r),o),this.data=n}}const ice=Fe({__name:"Chart",props:{width:{},height:{},type:{},data:{},themeColor:{},legends:{},options:{},gridColor:{},legend:{}},setup(e){const t=e,n=me(),r=$o(tf)||me(1);let o;const i=Se(()=>t.legend?t.height-20:t.height),a=()=>({...t.data,series:t.data.series[0]}),s=()=>({...t.options||{},width:t.width*r.value,height:i.value*r.value}),c=()=>{if(!n.value)return;const h=s();t.type==="bar"&&(o=new nce(n.value,t.data,h)),t.type==="line"&&(o=new ece(n.value,t.data,h)),t.type==="pie"&&(o=new oce(n.value,a(),h))};Tt([()=>t.width,()=>t.height,()=>t.data,()=>t.options,r],()=>{if(!o){c();return}const h=s(),p=t.type==="pie"?a():t.data;o.update(p,h)}),Gt(c);const u=Se(()=>{let h=[];if(t.themeColor.length>=10)h=t.themeColor;else if(t.themeColor.length===1)h=ot(t.themeColor[0]).analogous(10).map(p=>p.toRgbString());else{const p=t.themeColor.length,m=ot(t.themeColor[p-1]).analogous(11-p).map(A=>A.toRgbString());h=[...t.themeColor.slice(0,p-1),...m]}return h}),f=()=>{if(n.value)for(let h=0;h<10;h++)n.value.style.setProperty(`--theme-color-${h+1}`,u.value[h])};Tt(u,f),Gt(f);const d=()=>{n.value&&t.gridColor&&n.value.style.setProperty("--grid-color",t.gridColor)};return Tt(()=>t.gridColor,d),Gt(d),(h,p)=>(Q(),ee("div",{class:"chart",style:we({flexDirection:h.legend==="top"?"column-reverse":"column"})},[Y("div",{class:"chart-content",ref_key:"chartRef",ref:n,style:we({width:h.width+"px",height:i.value+"px",transform:`scale(${1/H(r)})`})},null,4),h.legend?(Q(),ee("div",{key:0,class:"legends",style:we({transform:`scale(${1/H(r)})`})},[(Q(!0),ee(Ve,null,st(h.legends,(m,A)=>(Q(),ee("div",{class:"legend",key:A,style:we({color:h.gridColor})},[Y("div",{class:"block",style:we({backgroundColor:u.value[A]})},null,4),Ye(" "+bt(m),1)],4))),128))],4)):Be("",!0)],4))}}),bF=We(ice,[["__scopeId","data-v-786c4a79"]]),ace=Fe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=o=>{t.elementInfo.lock||(o.stopPropagation(),t.selectElement(o,t.elementInfo))},r=()=>{Zr.emit(Wr.OPEN_CHART_DATA_EDITOR)};return(o,i)=>{const a=Ln("contextmenu");return Q(),ee("div",{class:$e(["editable-element-chart",{lock:o.elementInfo.lock}]),style:we({top:o.elementInfo.top+"px",left:o.elementInfo.left+"px",width:o.elementInfo.width+"px",height:o.elementInfo.height+"px"})},[Y("div",{class:"rotate-wrapper",style:we({transform:`rotate(${o.elementInfo.rotate}deg)`})},[Ze((Q(),ee("div",{class:"element-content",style:we({backgroundColor:o.elementInfo.fill}),onMousedown:i[0]||(i[0]=s=>n(s)),onTouchstart:i[1]||(i[1]=s=>n(s)),onDblclick:i[2]||(i[2]=s=>r())},[w(a2,{width:o.elementInfo.width,height:o.elementInfo.height,outline:o.elementInfo.outline},null,8,["width","height","outline"]),w(bF,{width:o.elementInfo.width,height:o.elementInfo.height,type:o.elementInfo.chartType,data:o.elementInfo.data,options:o.elementInfo.options,themeColor:o.elementInfo.themeColor,gridColor:o.elementInfo.gridColor,legends:o.elementInfo.data.legends,legend:o.elementInfo.legend||""},null,8,["width","height","type","data","options","themeColor","gridColor","legends","legend"])],36)),[[a,o.contextmenus]])],4)],6)}}}),SF=We(ace,[["__scopeId","data-v-e98d2ede"]]),MF=e=>{if(!e)return{};const{bold:t,em:n,underline:r,strikethrough:o,color:i,backcolor:a,fontsize:s,fontname:c,align:l}=e;let u=`${r?"underline":""} ${o?"line-through":""}`;return u===" "&&(u="none"),{fontWeight:t?"bold":"normal",fontStyle:n?"italic":"normal",textDecoration:u,color:i||"#000",backgroundColor:a||"",fontSize:s||"14px",fontFamily:c||"微软雅黑",textAlign:l||"left"}},wF=e=>e.replace(/\n/g,"</br>").replace(/ /g,"&nbsp;"),LF=e=>({hideCells:Se(()=>{const n=[];for(let r=0;r<e.value.length;r++){const o=e.value[r];for(let i=0;i<o.length;i++){const a=o[i];if(a.colspan>1||a.rowspan>1)for(let s=r;s<r+a.rowspan;s++)for(let c=s===r?i+1:i;c<i+a.colspan;c++)n.push(`${s}_${c}`)}}return n})}),OF=e=>{const t=me(["",""]);return Tt(()=>e.value,()=>{e.value&&(t.value=GP(e.value.color))},{immediate:!0}),{subThemeColor:t}},sce=["innerHTML"],lce=Fe({__name:"CustomTextarea",props:{value:{default:""}},emits:["updateValue","insertExcelData"],setup(e,{emit:t}){const n=e,r=t,o=me(),i=me(""),a=me(!1);Tt(()=>n.value,()=>{a.value||(i.value=n.value,o.value&&(o.value.innerHTML=n.value))},{immediate:!0});const s=()=>{if(!o.value)return;const u=o.value.innerHTML;r("updateValue",u)},c=()=>{a.value=!0,o.value&&(o.value.onpaste=u=>{if(u.preventDefault(),!u.clipboardData)return;const f=u.clipboardData.items[0];f&&f.kind==="string"&&f.type==="text/plain"&&f.getAsString(d=>{if(typeof wb(d)=="object")return;const p=HP(d);if(p){r("insertExcelData",p),o.value&&(o.value.innerHTML=p[0][0]);return}document.execCommand("insertText",!1,d)})})},l=()=>{a.value=!1,o.value&&(o.value.onpaste=null)};return Vd(()=>{o.value&&(o.value.onpaste=null)}),(u,f)=>(Q(),ee("div",{class:"custom-textarea",ref_key:"textareaRef",ref:o,contenteditable:!0,onFocus:f[0]||(f[0]=d=>c()),onBlur:f[1]||(f[1]=d=>l()),onInput:f[2]||(f[2]=d=>s()),innerHTML:i.value},null,40,sce))}}),cce=We(lce,[["__scopeId","data-v-cfadb975"]]),uce={key:0,class:"handler"},fce=["onMousedown"],dce=["width"],hce=["rowspan","colspan","data-cell-index","onMousedown","onMouseenter"],pce=["innerHTML"],mce=Fe({__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:o}=Ee(ft()),i=me(!1),a=me([]),s=me([]),c=Se({get(){return n.data},set(ie){r("change",ie)}}),l=Se(()=>n.theme),{subThemeColor:u}=OF(l),f=me([]),d=Se(()=>f.value.reduce((ie,oe)=>ie+oe));Tt([()=>n.colWidths,()=>n.width],()=>{f.value=n.colWidths.map(ie=>ie*n.width)},{immediate:!0});const h=()=>{a.value=[],s.value=[]};Tt(()=>n.editable,()=>{n.editable||h()});const p=Se(()=>{const ie=[];for(let oe=1;oe<f.value.length+1;oe++){const pe=f.value.slice(0,oe).reduce((ge,ye)=>ge+ye);ie.push(pe)}return ie}),m=Se(()=>n.data),{hideCells:A}=LF(m),x=Se(()=>{if(!a.value.length)return[];const[ie,oe]=a.value;if(!s.value.length)return[`${ie}_${oe}`];const[pe,ge]=s.value;if(ie===pe&&oe===ge)return[`${ie}_${oe}`];const ye=[],z=Math.min(ie,pe),ae=Math.min(oe,ge),W=Math.max(ie,pe),j=Math.max(oe,ge);for(let ue=0;ue<c.value.length;ue++){const $=c.value[ue];for(let q=0;q<$.length;q++)ue>=z&&ue<=W&&q>=ae&&q<=j&&ye.push(`${ue}_${q}`)}return ye});Tt(x,(ie,oe)=>{_n.isEqual(ie,oe)||r("changeSelectedCells",x.value)});const R=Se(()=>x.value.length>1?null:x.value[0]),y=()=>i.value=!1,g=(ie,oe,pe)=>{ie.button===0&&(s.value=[],i.value=!0,a.value=[oe,pe])},S=(ie,oe)=>{i.value&&(s.value=[ie,oe])};Gt(()=>{document.addEventListener("mouseup",y)}),Tn(()=>{document.removeEventListener("mouseup",y)});const L=(ie,oe)=>A.value.includes(`${ie}_${oe}`),T=ie=>{const oe=c.value.length-1;a.value=[0,ie],s.value=[oe,ie]},M=ie=>{const oe=c.value[ie].length-1;a.value=[ie,0],s.value=[ie,oe]},O=()=>{const ie=c.value.length-1,oe=c.value[ie].length-1;a.value=[0,0],s.value=[ie,oe]},k=ie=>{const oe=JSON.parse(JSON.stringify(c.value)),pe=c.value[ie],ge=[];for(let ye=0;ye<pe.length;ye++)L(ie,ye)&&ge.push(ye);for(const ye of ge)for(let z=ie;z>=0;z--)if(!L(z,ye)){oe[z][ye].rowspan=oe[z][ye].rowspan-1;break}oe.splice(ie,1),c.value=oe},_=ie=>{const oe=JSON.parse(JSON.stringify(c.value)),pe=[];for(let ge=0;ge<c.value.length;ge++)L(ge,ie)&&pe.push(ge);for(const ge of pe)for(let ye=ie;ye>=0;ye--)if(!L(ge,ye)){oe[ge][ye].colspan=oe[ge][ye].colspan-1;break}c.value=oe.map(ge=>(ge.splice(ie,1),ge)),f.value.splice(ie,1),r("changeColWidths",f.value)},N=ie=>{const oe=JSON.parse(JSON.stringify(c.value)),pe=[];for(let ge=0;ge<oe[0].length;ge++)pe.push({colspan:1,rowspan:1,text:"",id:yn(10)});oe.splice(ie,0,pe),c.value=oe},X=ie=>{c.value=c.value.map(oe=>{const pe={colspan:1,rowspan:1,text:"",id:yn(10)};return oe.splice(ie,0,pe),oe}),f.value.splice(ie,0,100),r("changeColWidths",f.value)},C=(ie,oe)=>{let pe=JSON.parse(JSON.stringify(c.value));const ge={colspan:1,rowspan:1,text:""};if(ie){const ye=[];for(let z=0;z<ie;z++){const ae=[];for(let W=0;W<pe[0].length;W++)ae.push({...ge,id:yn(10)});ye.push(ae)}pe=[...pe,...ye]}oe&&(pe=pe.map(ye=>{const z=[];for(let ae=0;ae<oe;ae++){const W={...ge,id:yn(10)};z.push(W)}return[...ye,...z]}),f.value=[...f.value,...new Array(oe).fill(100)],r("changeColWidths",f.value)),c.value=pe},F=()=>{const[ie,oe]=a.value,[pe,ge]=s.value,ye=Math.min(ie,pe),z=Math.min(oe,ge),ae=Math.max(ie,pe),W=Math.max(oe,ge),j=JSON.parse(JSON.stringify(c.value));j[ye][z].rowspan=ae-ye+1,j[ye][z].colspan=W-z+1,c.value=j,h()},I=(ie,oe)=>{const pe=JSON.parse(JSON.stringify(c.value));pe[ie][oe].rowspan=1,pe[ie][oe].colspan=1,c.value=pe,h()},V=(ie,oe)=>{h();let pe=!0;const ge=f.value[oe],ye=ie.pageX,z=50;document.onmousemove=ae=>{if(!pe)return;const W=(ae.pageX-ye)/o.value,j=ge+W<z?z:Math.round(ge+W);f.value[oe]=j},document.onmouseup=()=>{pe=!1,document.onmousemove=null,document.onmouseup=null,r("changeColWidths",f.value)}},B=()=>{const ie=JSON.parse(JSON.stringify(c.value));for(let oe=0;oe<ie.length;oe++)for(let pe=0;pe<ie[oe].length;pe++)x.value.includes(`${oe}_${pe}`)&&(ie[oe][pe].text="");c.value=ie},G=()=>{const ie=(ye,z)=>c.value[ye]?c.value[ye][z]?L(ye,z)?ie(ye,z+1):[ye,z]:ie(ye+1,0):null;s.value=[];const oe=a.value[0],pe=a.value[1]+1,ge=ie(oe,pe);ge?a.value=ge:(N(oe+1),a.value=[oe+1,0]),Vr(()=>{const ye=document.querySelector(".cell-text.active");ye&&ye.focus()})},ne=ie=>{if(!n.editable||!x.value.length)return;const oe=ie.key.toUpperCase();if(x.value.length<2){if(oe===Rt.TAB&&(ie.preventDefault(),G()),ie.ctrlKey&&oe===Rt.UP){ie.preventDefault();const pe=+x.value[0].split("_")[0];N(pe)}if(ie.ctrlKey&&oe===Rt.DOWN){ie.preventDefault();const pe=+x.value[0].split("_")[0];N(pe+1)}if(ie.ctrlKey&&oe===Rt.LEFT){ie.preventDefault();const pe=+x.value[0].split("_")[1];X(pe)}if(ie.ctrlKey&&oe===Rt.RIGHT){ie.preventDefault();const pe=+x.value[0].split("_")[1];X(pe+1)}}else oe===Rt.DELETE&&B()};Gt(()=>{document.addEventListener("keydown",ne)}),Tn(()=>{document.removeEventListener("keydown",ne)});const E=_n.debounce(function(ie,oe,pe){c.value[oe][pe].text=ie,r("change",c.value)},300,{trailing:!0}),Z=(ie,oe,pe)=>{const ge=ie.length,ye=ie[0].length;let z=0,ae=0;oe+ge>c.value.length&&(z=oe+ge-c.value.length),pe+ye>c.value[0].length&&(ae=pe+ye-c.value[0].length),(z||ae)&&C(z,ae),Vr(()=>{for(let W=0;W<ge;W++)for(let j=0;j<ye;j++)c.value[oe+W][pe+j]&&(c.value[oe+W][pe+j].text=ie[W][j]);r("change",c.value)})},K=()=>{const ie=[];for(let oe=0;oe<c.value.length;oe++){const pe=c.value[oe],ge=[];for(let ye=0;ye<pe.length;ye++)L(oe,ye)||ge.push(pe[ye]);ge.length&&ie.push(ge)}return ie},U=()=>{const ie=K(),oe=ie.length>1,pe=ie[0].length>1;return{canDeleteRow:oe,canDeleteCol:pe}},J=(ie,oe)=>{const pe=x.value.length>1,ge=c.value[ie][oe],ye=pe,z=!pe&&(ge.rowspan>1||ge.colspan>1);return{canMerge:ye,canSplit:z}},le=ie=>{const oe=ie.dataset.cellIndex,pe=+oe.split("_")[0],ge=+oe.split("_")[1];x.value.includes(`${pe}_${ge}`)||(a.value=[pe,ge],s.value=[]);const{canMerge:ye,canSplit:z}=J(pe,ge),{canDeleteRow:ae,canDeleteCol:W}=U();return[{text:"插入列",children:[{text:"到左侧",handler:()=>X(ge)},{text:"到右侧",handler:()=>X(ge+1)}]},{text:"插入行",children:[{text:"到上方",handler:()=>N(pe)},{text:"到下方",handler:()=>N(pe+1)}]},{text:"删除列",disable:!W,handler:()=>_(ge)},{text:"删除行",disable:!ae,handler:()=>k(pe)},{divider:!0},{text:"合并单元格",disable:!ye,handler:F},{text:"取消合并单元格",disable:!z,handler:()=>I(pe,ge)},{divider:!0},{text:"选中当前列",handler:()=>T(ge)},{text:"选中当前行",handler:()=>M(pe)},{text:"选中全部单元格",handler:O}]};return(ie,oe)=>{var ge,ye,z,ae,W;const pe=Ln("contextmenu");return Q(),ee("div",{class:"editable-table",style:we({width:d.value+"px"})},[ie.editable?(Q(),ee("div",uce,[(Q(!0),ee(Ve,null,st(p.value,(j,ue)=>(Q(),ee("div",{class:"drag-line",key:ue,style:we({left:j+"px"}),onMousedown:$=>V($,ue)},null,44,fce))),128))])):Be("",!0),Y("table",{class:$e({theme:l.value,"row-header":(ge=l.value)==null?void 0:ge.rowHeader,"row-footer":(ye=l.value)==null?void 0:ye.rowFooter,"col-header":(z=l.value)==null?void 0:z.colHeader,"col-footer":(ae=l.value)==null?void 0:ae.colFooter}),style:we(`--themeColor: ${(W=l.value)==null?void 0:W.color}; --subThemeColor1: ${H(u)[0]}; --subThemeColor2: ${H(u)[1]}`)},[Y("colgroup",null,[(Q(!0),ee(Ve,null,st(f.value,(j,ue)=>(Q(),ee("col",{span:"1",key:ue,width:j},null,8,dce))),128))]),Y("tbody",null,[(Q(!0),ee(Ve,null,st(c.value,(j,ue)=>(Q(),ee("tr",{key:ue,style:we({height:ie.cellMinHeight+"px"})},[(Q(!0),ee(Ve,null,st(j,($,q)=>Ze((Q(),ee("td",{class:$e(["cell",{selected:x.value.includes(`${ue}_${q}`)&&x.value.length>1,active:R.value===`${ue}_${q}`}]),style:we({borderStyle:ie.outline.style,borderColor:ie.outline.color,borderWidth:ie.outline.width+"px",...H(MF)($.style)}),key:$.id,rowspan:$.rowspan,colspan:$.colspan,"data-cell-index":`${ue}_${q}`,onMousedown:se=>g(se,ue,q),onMouseenter:se=>S(ue,q)},[R.value===`${ue}_${q}`?(Q(),Oe(cce,{key:0,class:$e(["cell-text",{active:R.value===`${ue}_${q}`}]),style:we({minHeight:ie.cellMinHeight-4+"px"}),value:$.text,onUpdateValue:se=>H(E)(se,ue,q),onInsertExcelData:se=>Z(se,ue,q)},null,8,["class","style","value","onUpdateValue","onInsertExcelData"])):(Q(),ee("div",{key:1,class:"cell-text",style:we({minHeight:ie.cellMinHeight-4+"px"}),innerHTML:H(wF)($.text)},null,12,pce))],46,hce)),[[il,!H(A).includes(`${ue}_${q}`)],[pe,se=>le(se)]])),128))],4))),128))])],6)],4)}}}),vce=We(mce,[["__scopeId","data-v-d040a5e0"]]),gce={class:"element-content"},Ace=Fe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=ft(),r=ct(),{canvasScale:o,handleElementId:i,isScaling:a}=Ee(n),s=me(),{addHistorySnapshot:c}=Jt(),l=R=>{t.elementInfo.lock||(R.stopPropagation(),t.selectElement(R,t.elementInfo))},u=me(!1);Tt(i,()=>{i.value!==t.elementInfo.id&&(u.value=!1)}),Tt(u,()=>{n.setDisableHotkeysState(u.value)});const f=()=>{t.elementInfo.lock||(u.value=!0)},d=me(-1);Tt(a,()=>{i.value===t.elementInfo.id&&(a.value&&(u.value=!1),!a.value&&d.value!==-1&&(r.updateElement({id:t.elementInfo.id,props:{height:d.value}}),d.value=-1))});const h=R=>{const y=R[0].contentRect;if(!s.value)return;const g=y.height;t.elementInfo.height!==g&&(a.value?d.value=g:r.updateElement({id:t.elementInfo.id,props:{height:g}}))},p=new ResizeObserver(h);Gt(()=>{s.value&&p.observe(s.value)}),Tn(()=>{s.value&&p.unobserve(s.value)});const m=R=>{r.updateElement({id:t.elementInfo.id,props:{data:R}}),c()},A=R=>{const y=R.reduce((S,L)=>S+L),g=R.map(S=>S/y);r.updateElement({id:t.elementInfo.id,props:{width:y,colWidths:g}}),c()},x=R=>{Vr(()=>n.setSelectedTableCells(R))};return(R,y)=>{const g=Ln("contextmenu");return Q(),ee("div",{class:$e(["editable-element-table",{lock:R.elementInfo.lock}]),ref_key:"elementRef",ref:s,style:we({top:R.elementInfo.top+"px",left:R.elementInfo.left+"px",width:R.elementInfo.width+"px"})},[Y("div",{class:"rotate-wrapper",style:we({transform:`rotate(${R.elementInfo.rotate}deg)`})},[Ze((Q(),ee("div",gce,[w(vce,{onMousedown:y[0]||(y[0]=Kt(()=>{},["stop"])),data:R.elementInfo.data,width:R.elementInfo.width,cellMinHeight:R.elementInfo.cellMinHeight,colWidths:R.elementInfo.colWidths,outline:R.elementInfo.outline,theme:R.elementInfo.theme,editable:u.value,onChange:y[1]||(y[1]=S=>m(S)),onChangeColWidths:y[2]||(y[2]=S=>A(S)),onChangeSelectedCells:y[3]||(y[3]=S=>x(S))},null,8,["data","width","cellMinHeight","colWidths","outline","theme","editable"]),!u.value||R.elementInfo.lock?(Q(),ee("div",{key:0,class:$e(["table-mask",{lock:R.elementInfo.lock}]),onDblclick:y[4]||(y[4]=S=>f()),onMousedown:y[5]||(y[5]=S=>l(S)),onTouchstart:y[6]||(y[6]=S=>l(S))},[H(i)===R.elementInfo.id?(Q(),ee("div",{key:0,class:"mask-tip",style:we({transform:`scale(${1/H(o)})`})},"双击编辑",4)):Be("",!0)],34)):Be("",!0)])),[[g,R.contextmenus]])],4)],6)}}}),TF=We(Ace,[["__scopeId","data-v-7795910a"]]),Rce=["width","height","stroke","stroke-width"],yce=["transform"],xce=["d"],bce=Fe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=o=>{t.elementInfo.lock||(o.stopPropagation(),t.selectElement(o,t.elementInfo))},r=()=>{Zr.emit(Wr.OPEN_LATEX_EDITOR)};return(o,i)=>{const a=Ln("contextmenu");return Q(),ee("div",{class:$e(["editable-element-latex",{lock:o.elementInfo.lock}]),style:we({top:o.elementInfo.top+"px",left:o.elementInfo.left+"px",width:o.elementInfo.width+"px",height:o.elementInfo.height+"px"})},[Y("div",{class:"rotate-wrapper",style:we({transform:`rotate(${o.elementInfo.rotate}deg)`})},[Ze((Q(),ee("div",{class:"element-content",onMousedown:i[0]||(i[0]=s=>n(s)),onTouchstart:i[1]||(i[1]=s=>n(s)),onDblclick:i[2]||(i[2]=s=>r())},[(Q(),ee("svg",{overflow:"visible",width:o.elementInfo.width,height:o.elementInfo.height,stroke:o.elementInfo.color,"stroke-width":o.elementInfo.strokeWidth,fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[Y("g",{transform:`scale(${o.elementInfo.width/o.elementInfo.viewBox[0]}, ${o.elementInfo.height/o.elementInfo.viewBox[1]}) translate(0,0) matrix(1,0,0,1,0,0)`},[Y("path",{d:o.elementInfo.path},null,8,xce)],8,yce)],8,Rce))],32)),[[a,o.contextmenus]])],4)],6)}}}),kF=We(bce,[["__scopeId","data-v-b73586f6"]]),Sce=(e,t)=>{Gt(()=>{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 o=new r;o.loadSource(e),o.attachMedia(t.value)}}else if(n==="flv"){const r=window.flvjs;if(r&&r.isSupported()){const o=r.createPlayer({type:"flv",url:e});o.attachMediaElement(t.value),o.load()}}})},S5=e=>(on("data-v-772b3779"),e=e(),an(),e),Mce={key:0,class:"load-error"},wce=["src","autoplay","poster"],Lce={class:"bezel"},Oce=S5(()=>Y("div",{class:"controller-mask"},null,-1)),Tce={class:"controller"},kce={class:"icons icons-left"},Nce={class:"icon-content"},Pce={class:"volume"},Cce={class:"icon-content"},Ice=S5(()=>Y("span",{class:"thumb"},null,-1)),Fce=[Ice],_ce={class:"time"},Xce={class:"ptime"},Ece={class:"dtime"},Wce={class:"icons icons-right"},Vce={class:"speed"},Uce={class:"icon speed-icon"},Yce=["onClick"],Qce={class:"icon-content"},Zce={class:"bar"},Bce=S5(()=>Y("span",{class:"thumb"},null,-1)),Dce=[Bce],Kce=Fe({__name:"index",props:{width:{},height:{},src:{},poster:{default:""},autoplay:{type:Boolean,default:!1},scale:{default:1}},setup(e){const t=e,n=(W=0)=>{if(W===0||isNaN(W))return"00:00";const j=se=>se<10?"0"+se:""+se,ue=Math.floor(W/3600),$=Math.floor((W-ue*3600)/60),q=Math.floor(W-ue*3600-$*60);return(ue>0?[ue,$,q]:[$,q]).map(j).join(":")},r=W=>W.getBoundingClientRect().left,o=me(),i=me(),a=me(),s=me(.5),c=me(!0),l=me(0),u=me(0),f=me(0),d=me(!1),h=me(!1),p=me(1),m=me(!1),A=me("00:00"),x=me("0"),R=Se(()=>n(l.value)),y=Se(()=>n(u.value)),g=Se(()=>l.value/u.value*100+"%"),S=Se(()=>f.value/u.value*100+"%"),L=Se(()=>s.value*100+"%"),T=me(!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}],O=W=>{o.value&&(W=Math.max(W,0),W=Math.min(W,u.value),o.value.currentTime=W,l.value=W)},k=()=>{o.value&&(c.value=!1,o.value.play(),h.value=!0)},_=()=>{o.value&&(c.value=!0,o.value.pause(),h.value=!0)},N=()=>{c.value?k():_()},X=W=>{o.value&&(W=Math.max(W,0),W=Math.min(W,1),o.value.volume=W,s.value=W,o.value.muted&&W!==0&&(o.value.muted=!1))},C=W=>{o.value&&(o.value.playbackRate=W),p.value=W},F=()=>{var W;u.value=((W=o.value)==null?void 0:W.duration)||0},I=()=>{var W;l.value=((W=o.value)==null?void 0:W.currentTime)||0},V=()=>{d.value?(O(0),k()):_()},B=()=>{var W;f.value=(W=o.value)!=null&&W.buffered.length?o.value.buffered.end(o.value.buffered.length-1):0},G=me(!1),ne=()=>G.value=!0,E=W=>{if(!o.value||!i.value)return;let ue=(("clientX"in W?W.clientX:W.changedTouches[0].clientX)-r(i.value))/i.value.clientWidth;ue=Math.max(ue,0),ue=Math.min(ue,1);const $=ue*u.value;o.value.currentTime=$,l.value=$},Z=W=>{if(!o.value||!i.value)return;let ue=(("clientX"in W?W.clientX:W.changedTouches[0].clientX)-r(i.value))/i.value.clientWidth;ue=Math.max(ue,0),ue=Math.min(ue,1);const $=ue*u.value;o.value.currentTime=$,l.value=$,document.removeEventListener("mousemove",E),document.removeEventListener("touchmove",E),document.removeEventListener("mouseup",Z),document.removeEventListener("touchend",Z)},K=()=>{document.addEventListener("mousemove",E),document.addEventListener("touchmove",E),document.addEventListener("mouseup",Z),document.addEventListener("touchend",Z)},U=W=>{if(!a.value)return;const ue=(("clientX"in W?W.clientX:W.changedTouches[0].clientX)-r(a.value))/45;X(ue)},J=()=>{document.removeEventListener("mousemove",U),document.removeEventListener("touchmove",U),document.removeEventListener("mouseup",J),document.removeEventListener("touchend",J)},le=()=>{document.addEventListener("mousemove",U),document.addEventListener("touchmove",U),document.addEventListener("mouseup",J),document.addEventListener("touchend",J)},ie=W=>{if(!a.value)return;const j=(W.clientX-r(a.value))/45;X(j)},oe=W=>{if(u.value&&i.value){const j=i.value.getBoundingClientRect().left,ue=W.clientX-j;if(ue<0||ue>i.value.offsetWidth)return;const $=u.value*(ue/i.value.offsetWidth);x.value=`${ue-($>=3600?25:20)}px`,A.value=n($),m.value=!0}},pe=()=>{o.value&&(o.value.muted?(o.value.muted=!1,X(.5)):(o.value.muted=!0,X(0)))},ge=()=>{d.value=!d.value},ye=me(-1),z=me(!1),ae=()=>{z.value=!1,clearTimeout(ye.value),ye.value=setTimeout(()=>{var W;(W=o.value)!=null&&W.played.length&&(z.value=!0)},3e3)};return Sce(t.src,o),(W,j)=>{const ue=xe("IconPause"),$=xe("IconPlayOne"),q=xe("IconVolumeMute"),se=xe("IconVolumeNotice"),ve=xe("IconVolumeSmall");return Q(),ee("div",{class:$e(["video-player",{"hide-controller":z.value}]),style:we({width:W.width*W.scale+"px",height:W.height*W.scale+"px",transform:`scale(${1/W.scale})`}),onMousemove:j[22]||(j[22]=ce=>ae()),onClick:j[23]||(j[23]=ce=>ae())},[Y("div",{class:"video-wrap",onClick:j[8]||(j[8]=ce=>N())},[G.value?(Q(),ee("div",Mce,"视频加载失败")):Be("",!0),Y("video",{class:"video",ref_key:"videoRef",ref:o,src:W.src,autoplay:W.autoplay,poster:W.poster,"webkit-playsinline":"",playsinline:"",onDurationchange:j[0]||(j[0]=ce=>F()),onTimeupdate:j[1]||(j[1]=ce=>I()),onEnded:j[2]||(j[2]=ce=>V()),onProgress:j[3]||(j[3]=ce=>B()),onPlay:j[4]||(j[4]=ce=>{ae(),c.value=!1}),onPause:j[5]||(j[5]=ce=>ae()),onError:j[6]||(j[6]=ce=>ne())},null,40,wce),Y("div",Lce,[Y("span",{class:$e(["bezel-icon",{"bezel-transition":h.value}]),onAnimationend:j[7]||(j[7]=ce=>h.value=!1)},[c.value?(Q(),Oe(ue,{key:0})):(Q(),Oe($,{key:1}))],34)])]),Oce,Y("div",Tce,[Y("div",kce,[Y("div",{class:"icon play-icon",onClick:j[9]||(j[9]=ce=>N())},[Y("span",Nce,[c.value?(Q(),Oe($,{key:0})):(Q(),Oe(ue,{key:1}))])]),Y("div",Pce,[Y("div",{class:"icon volume-icon",onClick:j[10]||(j[10]=ce=>pe())},[Y("span",Cce,[s.value===0?(Q(),Oe(q,{key:0})):s.value===1?(Q(),Oe(se,{key:1})):(Q(),Oe(ve,{key:2}))])]),Y("div",{class:"volume-bar-wrap",onMousedown:j[11]||(j[11]=ce=>le()),onTouchstart:j[12]||(j[12]=ce=>le()),onClick:j[13]||(j[13]=ce=>ie(ce))},[Y("div",{class:"volume-bar",ref_key:"volumeBarRef",ref:a},[Y("div",{class:"volume-bar-inner",style:we({width:L.value})},Fce,4)],512)],32)]),Y("span",_ce,[Y("span",Xce,bt(R.value),1),Ye(" / "),Y("span",Ece,bt(y.value),1)])]),Y("div",Wce,[Y("div",Vce,[Y("div",Uce,[Y("span",{class:"icon-content",onClick:j[14]||(j[14]=ce=>T.value=!T.value)},bt(p.value===1?"倍速":p.value+"x"),1),T.value?(Q(),ee("div",{key:0,class:"speed-menu",onMouseleave:j[15]||(j[15]=ce=>T.value=!1)},[(Q(),ee(Ve,null,st(M,ce=>Y("div",{class:$e(["speed-menu-item",{active:ce.value===p.value}]),key:ce.label,onClick:de=>C(ce.value)},bt(ce.label),11,Yce)),64))],32)):Be("",!0)])]),Y("div",{class:"loop",onClick:j[16]||(j[16]=ce=>ge())},[Y("div",{class:$e(["icon loop-icon",{active:d.value}])},[Y("span",Qce,"循环"+bt(d.value?"开":"关"),1)],2)])]),Y("div",{class:"bar-wrap",ref_key:"playBarWrap",ref:i,onMousedown:j[17]||(j[17]=ce=>K()),onTouchstart:j[18]||(j[18]=ce=>K()),onMousemove:j[19]||(j[19]=ce=>oe(ce)),onMouseenter:j[20]||(j[20]=ce=>m.value=!0),onMouseleave:j[21]||(j[21]=ce=>m.value=!1)},[Y("div",{class:$e(["bar-time",{hidden:!m.value}]),style:we({left:x.value})},bt(A.value),7),Y("div",Zce,[Y("div",{class:"loaded",style:we({width:S.value})},null,4),Y("div",{class:"played",style:we({width:g.value})},Dce,4)])],544)])],38)}}}),NF=We(Kce,[["__scopeId","data-v-772b3779"]]),Hce=Fe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,{canvasScale:n}=Ee(ft()),r=(o,i=!0)=>{t.elementInfo.lock||(o.stopPropagation(),t.selectElement(o,t.elementInfo,i))};return(o,i)=>{const a=Ln("contextmenu");return Q(),ee("div",{class:$e(["editable-element-video",{lock:o.elementInfo.lock}]),style:we({top:o.elementInfo.top+"px",left:o.elementInfo.left+"px",width:o.elementInfo.width+"px",height:o.elementInfo.height+"px"})},[Y("div",{class:"rotate-wrapper",style:we({transform:`rotate(${o.elementInfo.rotate}deg)`})},[Ze((Q(),ee("div",{class:"element-content",onMousedown:i[2]||(i[2]=s=>r(s,!1)),onTouchstart:i[3]||(i[3]=s=>r(s,!1))},[w(NF,{width:o.elementInfo.width,height:o.elementInfo.height,src:o.elementInfo.src,poster:o.elementInfo.poster,scale:H(n)},null,8,["width","height","src","poster","scale"]),(Q(),ee(Ve,null,st(["t","b","l","r"],s=>Y("div",{class:$e(["handler-border",s]),key:s,onMousedown:i[0]||(i[0]=c=>r(c)),onTouchstart:i[1]||(i[1]=c=>r(c))},null,34)),64))],32)),[[a,o.contextmenus]])],4)],6)}}}),PF=We(Hce,[["__scopeId","data-v-c50d3bc7"]]),CF=e=>(on("data-v-a0b74ebc"),e=e(),an(),e),Gce=["src","autoplay"],Jce={class:"controller"},zce={class:"icons"},jce={class:"icon-content"},$ce={class:"volume"},qce={class:"icon-content"},eue=CF(()=>Y("span",{class:"thumb"},null,-1)),tue=[eue],nue={class:"time"},rue={class:"ptime"},oue={class:"dtime"},iue={class:"bar"},aue=CF(()=>Y("span",{class:"thumb"},null,-1)),sue=[aue],lue=Fe({__name:"AudioPlayer",props:{src:{},loop:{type:Boolean},autoplay:{type:Boolean,default:!1},scale:{default:1}},setup(e,{expose:t}){const n=e,r=(J=0)=>{if(J===0||isNaN(J))return"00:00";const le=ge=>ge<10?"0"+ge:""+ge,ie=Math.floor(J/3600),oe=Math.floor((J-ie*3600)/60),pe=Math.floor(J-ie*3600-oe*60);return(ie>0?[ie,oe,pe]:[oe,pe]).map(le).join(":")},o=J=>J.getBoundingClientRect().left,i=me(),a=me(),s=me(),c=me(.5),l=me(!0),u=me(0),f=me(0),d=me(0),h=me(!1),p=me("00:00"),m=me("0"),A=Se(()=>r(u.value)),x=Se(()=>r(f.value)),R=Se(()=>u.value/f.value*100+"%"),y=Se(()=>d.value/f.value*100+"%"),g=Se(()=>c.value*100+"%"),S=J=>{i.value&&(J=Math.max(J,0),J=Math.min(J,f.value),i.value.currentTime=J,u.value=J)},L=()=>{i.value&&(l.value=!1,i.value.play())},T=()=>{i.value&&(l.value=!0,i.value.pause())},M=()=>{l.value?L():T()},O=J=>{i.value&&(J=Math.max(J,0),J=Math.min(J,1),i.value.volume=J,c.value=J,i.value.muted&&J!==0&&(i.value.muted=!1))},k=()=>{var J;f.value=((J=i.value)==null?void 0:J.duration)||0},_=()=>{var J;u.value=((J=i.value)==null?void 0:J.currentTime)||0},N=()=>{l.value=!1},X=()=>{n.loop?(S(0),L()):T()},C=()=>{var J;d.value=(J=i.value)!=null&&J.buffered.length?i.value.buffered.end(i.value.buffered.length-1):0},F=()=>wn.error("视频加载失败"),I=J=>{if(!i.value||!a.value)return;let ie=(("clientX"in J?J.clientX:J.changedTouches[0].clientX)-o(a.value))/a.value.clientWidth;ie=Math.max(ie,0),ie=Math.min(ie,1);const oe=ie*f.value;i.value.currentTime=oe,u.value=oe},V=J=>{if(!i.value||!a.value)return;let ie=(("clientX"in J?J.clientX:J.changedTouches[0].clientX)-o(a.value))/a.value.clientWidth;ie=Math.max(ie,0),ie=Math.min(ie,1);const oe=ie*f.value;i.value.currentTime=oe,u.value=oe,document.removeEventListener("mousemove",I),document.removeEventListener("touchmove",I),document.removeEventListener("mouseup",V),document.removeEventListener("touchend",V)},B=()=>{document.addEventListener("mousemove",I),document.addEventListener("touchmove",I),document.addEventListener("mouseup",V),document.addEventListener("touchend",V)},G=J=>{if(!s.value)return;const ie=(("clientX"in J?J.clientX:J.changedTouches[0].clientX)-o(s.value))/45;O(ie)},ne=()=>{document.removeEventListener("mousemove",G),document.removeEventListener("touchmove",G),document.removeEventListener("mouseup",ne),document.removeEventListener("touchend",ne)},E=()=>{document.addEventListener("mousemove",G),document.addEventListener("touchmove",G),document.addEventListener("mouseup",ne),document.addEventListener("touchend",ne)},Z=J=>{if(!s.value)return;const le=(J.clientX-o(s.value))/45;O(le)},K=J=>{if(f.value&&a.value){const le=a.value.getBoundingClientRect().left,ie=J.clientX-le;if(ie<0||ie>a.value.offsetWidth)return;const oe=f.value*(ie/a.value.offsetWidth);m.value=`${ie-(oe>=3600?25:20)}px`,p.value=r(oe),h.value=!0}},U=()=>{i.value&&(i.value.muted?(i.value.muted=!1,O(.5)):(i.value.muted=!0,O(0)))};return t({toggle:M}),(J,le)=>{const ie=xe("IconPlayOne"),oe=xe("IconPause"),pe=xe("IconVolumeMute"),ge=xe("IconVolumeNotice"),ye=xe("IconVolumeSmall");return Q(),ee("div",{class:"audio-player",style:we({transform:`scale(${1/J.scale})`})},[Y("audio",{class:"audio",ref_key:"audioRef",ref:i,src:J.src,autoplay:J.autoplay,onDurationchange:le[0]||(le[0]=z=>k()),onTimeupdate:le[1]||(le[1]=z=>_()),onPlay:le[2]||(le[2]=z=>N()),onEnded:le[3]||(le[3]=z=>X()),onProgress:le[4]||(le[4]=z=>C()),onError:le[5]||(le[5]=z=>F())},null,40,Gce),Y("div",Jce,[Y("div",zce,[Y("div",{class:"icon play-icon",onClick:le[6]||(le[6]=z=>M())},[Y("span",jce,[l.value?(Q(),Oe(ie,{key:0})):(Q(),Oe(oe,{key:1}))])]),Y("div",$ce,[Y("div",{class:"icon volume-icon",onClick:le[7]||(le[7]=z=>U())},[Y("span",qce,[c.value===0?(Q(),Oe(pe,{key:0})):c.value===1?(Q(),Oe(ge,{key:1})):(Q(),Oe(ye,{key:2}))])]),Y("div",{class:"volume-bar-wrap",onMousedown:le[8]||(le[8]=z=>E()),onTouchstart:le[9]||(le[9]=z=>E()),onClick:le[10]||(le[10]=z=>Z(z))},[Y("div",{class:"volume-bar",ref_key:"volumeBarRef",ref:s},[Y("div",{class:"volume-bar-inner",style:we({width:g.value})},tue,4)],512)],32)])]),Y("span",nue,[Y("span",rue,bt(A.value),1),Ye(" / "),Y("span",oue,bt(x.value),1)]),Y("div",{class:"bar-wrap",ref_key:"playBarWrap",ref:a,onMousedown:le[11]||(le[11]=z=>B()),onTouchstart:le[12]||(le[12]=z=>B()),onMousemove:le[13]||(le[13]=z=>K(z)),onMouseenter:le[14]||(le[14]=z=>h.value=!0),onMouseleave:le[15]||(le[15]=z=>h.value=!1)},[Y("div",{class:$e(["bar-time",{hidden:!h.value}]),style:we({left:m.value})},bt(p.value),7),Y("div",iue,[Y("div",{class:"loaded",style:we({width:y.value})},null,4),Y("div",{class:"played",style:we({width:R.value})},sue,4)])],544)])],4)}}}),IF=We(lue,[["__scopeId","data-v-a0b74ebc"]]),cue=Fe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,{canvasScale:n,handleElementId:r}=Ee(ft()),{viewportRatio:o}=Ee(ct()),i=Se(()=>Math.min(t.elementInfo.width,t.elementInfo.height)+"px"),a=Se(()=>{const c=Ht,l=Ht*o.value,u=280/n.value,f=50/n.value,d=t.elementInfo.width,h=t.elementInfo.height,p=t.elementInfo.left,m=t.elementInfo.top;let A=0,x=h;return p+u>=c&&(A=d-u),m+h+f>=l&&(x=-f),{left:A+"px",top:x+"px"}}),s=c=>{t.elementInfo.lock||(c.stopPropagation(),t.selectElement(c,t.elementInfo))};return(c,l)=>{const u=xe("IconVolumeNotice"),f=Ln("contextmenu");return Q(),ee("div",{class:$e(["editable-element-audio",{lock:c.elementInfo.lock}]),style:we({top:c.elementInfo.top+"px",left:c.elementInfo.left+"px",width:c.elementInfo.width+"px",height:c.elementInfo.height+"px"})},[Y("div",{class:"rotate-wrapper",style:we({transform:`rotate(${c.elementInfo.rotate}deg)`})},[Ze((Q(),ee("div",{class:"element-content",onMousedown:l[1]||(l[1]=d=>s(d)),onTouchstart:l[2]||(l[2]=d=>s(d))},[w(u,{class:"audio-icon",style:we({fontSize:i.value,color:c.elementInfo.color})},null,8,["style"]),H(r)===c.elementInfo.id?(Q(),Oe(IF,{key:0,class:"audio-player",style:we({...a.value}),src:c.elementInfo.src,loop:c.elementInfo.loop,scale:H(n),onMousedown:l[0]||(l[0]=Kt(()=>{},["stop"]))},null,8,["style","src","loop","scale"])):Be("",!0)],32)),[[f,c.contextmenus]])],4)],6)}}}),FF=We(cue,[["__scopeId","data-v-5d8373ba"]]),uue=["id"],fue=Fe({__name:"EditableElement",props:{elementInfo:{},elementIndex:{},isMultiSelect:{type:Boolean},selectElement:{type:Function},openLinkDialog:{type:Function}},setup(e){const t=e,n=Se(()=>({[Nt.IMAGE]:AI,[Nt.TEXT]:fF,[Nt.SHAPE]:hF,[Nt.LINE]:pF,[Nt.CHART]:SF,[Nt.TABLE]:TF,[Nt.LATEX]:kF,[Nt.VIDEO]:PF,[Nt.AUDIO]:FF})[t.elementInfo.type]||null),{orderElement:r}=Np(),{alignElementToCanvas:o}=o2(),{combineElements:i,uncombineElements:a}=Nb(),{deleteElement:s}=kp(),{lockElement:c,unlockElement:l}=JP(),{copyElement:u,pasteElement:f,cutElement:d}=Pb(),{selectAllElement:h}=Cb(),p=()=>t.elementInfo.lock?[{text:"解锁",handler:()=>l(t.elementInfo)}]:[{text:"剪切",subText:"Ctrl + X",handler:d},{text:"复制",subText:"Ctrl + C",handler:u},{text:"粘贴",subText:"Ctrl + V",handler:f},{divider:!0},{text:"水平居中",handler:()=>o(nn.HORIZONTAL),children:[{text:"水平垂直居中",handler:()=>o(nn.CENTER)},{text:"水平居中",handler:()=>o(nn.HORIZONTAL)},{text:"左对齐",handler:()=>o(nn.LEFT)},{text:"右对齐",handler:()=>o(nn.RIGHT)}]},{text:"垂直居中",handler:()=>o(nn.VERTICAL),children:[{text:"水平垂直居中",handler:()=>o(nn.CENTER)},{text:"垂直居中",handler:()=>o(nn.VERTICAL)},{text:"顶部对齐",handler:()=>o(nn.TOP)},{text:"底部对齐",handler:()=>o(nn.BOTTOM)}]},{divider:!0},{text:"置于顶层",disable:t.isMultiSelect&&!t.elementInfo.groupId,handler:()=>r(t.elementInfo,pr.TOP),children:[{text:"置于顶层",handler:()=>r(t.elementInfo,pr.TOP)},{text:"上移一层",handler:()=>r(t.elementInfo,pr.UP)}]},{text:"置于底层",disable:t.isMultiSelect&&!t.elementInfo.groupId,handler:()=>r(t.elementInfo,pr.BOTTOM),children:[{text:"置于底层",handler:()=>r(t.elementInfo,pr.BOTTOM)},{text:"下移一层",handler:()=>r(t.elementInfo,pr.DOWN)}]},{divider:!0},{text:"设置链接",handler:t.openLinkDialog},{text:t.elementInfo.groupId?"取消组合":"组合",subText:"Ctrl + G",handler:t.elementInfo.groupId?a:i,hide:!t.isMultiSelect},{text:"全选",subText:"Ctrl + A",handler:h},{text:"锁定",subText:"Ctrl + L",handler:c},{text:"删除",subText:"Delete",handler:s}];return(m,A)=>(Q(),ee("div",{class:"editable-element",ref:"elementRef",id:`editable-element-${m.elementInfo.id}`,style:we({zIndex:m.elementIndex})},[(Q(),Oe(xs(n.value),{elementInfo:m.elementInfo,selectElement:m.selectElement,contextmenus:p},null,8,["elementInfo","selectElement"]))],12,uue))}}),due=Fe({__name:"MouseSelection",props:{top:{},left:{},width:{},height:{},quadrant:{}},setup(e){return(t,n)=>(Q(),ee("div",{class:$e(`mouse-selection quadrant-${t.quadrant}`),style:we({top:t.top+"px",left:t.left+"px",width:t.width+"px",height:t.height+"px"})},null,6))}}),hue=We(due,[["__scopeId","data-v-053bfa3e"]]),pue={class:"grid-lines"},mue=["d","stroke"],vue=Fe({__name:"GridLines",setup(e){const{canvasScale:t,gridLineSize:n}=Ee(ft()),{currentSlide:r,viewportRatio:o}=Ee(ct()),i=Se(()=>{var c;return(c=r.value)==null?void 0:c.background}),a=Se(()=>{var u;const c=((u=i.value)==null?void 0:u.color)||"#fff",l=["#000","#fff"];return ot.mostReadable(c,l,{includeFallbackColors:!0}).setAlpha(.5).toRgbString()}),s=Se(()=>{const c=Ht,l=Ht*o.value;let u="";for(let f=0;f<=Math.floor(l/n.value);f++)u+=`M0 ${f*n.value} L${c} ${f*n.value} `;for(let f=0;f<=Math.floor(c/n.value);f++)u+=`M${f*n.value} 0 L${f*n.value} ${l} `;return u});return(c,l)=>(Q(),ee("svg",pue,[Y("path",{style:we({transform:`scale(${H(t)})`}),d:s.value,fill:"none",stroke:a.value,"stroke-width":"0.3","stroke-dasharray":"5"},null,12,mue)]))}}),gue=We(vue,[["__scopeId","data-v-d6e1ea18"]]),u2=e=>({backgroundStyle:Se(()=>{if(!e.value)return{backgroundColor:"#fff"};const{type:n,color:r,image:o,imageSize:i,gradientColor:a,gradientRotate:s,gradientType:c}=e.value;if(n==="solid")return{backgroundColor:r};if(n==="image")return o?i==="repeat"?{backgroundImage:`url(${o}`,backgroundRepeat:"repeat",backgroundSize:"contain"}:{backgroundImage:`url(${o}`,backgroundRepeat:"no-repeat",backgroundSize:i||"cover"}:{backgroundColor:"#fff"};if(n==="gradient"){const l=s||0,u=a?a[0]:"#fff",f=a?a[1]:"#fff";return c==="radial"?{backgroundImage:`radial-gradient(${u}, ${f}`}:{backgroundImage:`linear-gradient(${l}deg, ${u}, ${f}`}}return{backgroundColor:"#fff"}})}),Aue=Fe({__name:"ViewportBackground",setup(e){const{gridLineSize:t}=Ee(ft()),{currentSlide:n}=Ee(ct()),r=Se(()=>{var i;return(i=n.value)==null?void 0:i.background}),{backgroundStyle:o}=u2(r);return(i,a)=>(Q(),ee("div",{class:"viewport-background",style:we(H(o))},[H(t)?(Q(),Oe(gue,{key:0})):Be("",!0)],4))}}),Rue=We(Aue,[["__scopeId","data-v-203ea8ff"]]),yue=Fe({__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"),o=Se(()=>t.type==="vertical"?{height:t.length*t.canvasScale+"px"}:{width:t.length*t.canvasScale+"px"});return(i,a)=>(Q(),ee("div",{class:"alignment-line",style:we({left:n.value,top:r.value})},[Y("div",{class:$e(["line",i.type]),style:we(o.value)},null,6)],4))}}),_F=We(yue,[["__scopeId","data-v-7cd3d25d"]]),xue={class:"ruler"},bue=Fe({__name:"Ruler",props:{viewportStyles:{}},setup(e){const t=e,{canvasScale:n}=Ee(ft()),r=Se(()=>t.viewportStyles.width*n.value/10);return(o,i)=>(Q(),ee("div",xue,[Y("div",{class:"h",style:we({width:o.viewportStyles.width*H(n)+"px",left:o.viewportStyles.left+"px"})},[(Q(),ee(Ve,null,st(20,a=>Y("div",{class:$e(["ruler-marker-100",{hide:r.value<36,omit:r.value<72}]),key:`marker-100-${a}`},[Y("span",null,bt(a),1)],2)),64))],4),Y("div",{class:"v",style:we({height:o.viewportStyles.height*H(n)+"px",top:o.viewportStyles.top+"px"})},[(Q(),ee(Ve,null,st(20,a=>Y("div",{class:$e(["ruler-marker-100",{hide:r.value<36,omit:r.value<72}]),key:a,style:we({height:r.value+"px"})},[Y("span",null,bt(a),1)],6)),64))],4)]))}}),Sue=We(bue,[["__scopeId","data-v-b01be305"]]),Mue=["width","height"],wue=["d"],Lue=Fe({__name:"ElementCreateSelection",emits:["created"],setup(e,{emit:t}){const n=t,r=ft(),{creatingElement:o}=Ee(r),{ctrlOrShiftKeyActive:i}=Ee(Ss()),a=me(),s=me(),c=me(),l=me({x:0,y:0});Gt(()=>{if(!c.value)return;const{x:h,y:p}=c.value.getBoundingClientRect();l.value={x:h,y:p}});const u=h=>{let p=!0;const m=h.pageX,A=h.pageY;a.value=[m,A],document.onmousemove=x=>{if(!o.value||!p)return;let R=x.pageX,y=x.pageY;if(i.value){const g=R-m,S=y-A,L=Math.abs(g),T=Math.abs(S);if(o.value.type==="shape"){const M=S>0&&g<0||S<0&&g>0;L>T?y=M?A-g:A+g:R=M?m-S:m+S}else o.value.type==="line"&&(L>T?y=A:R=m)}s.value=[R,y]},document.onmouseup=x=>{var S,L;if(document.onmousemove=null,document.onmouseup=null,x.button===2){setTimeout(()=>r.setCreatingElement(null),0);return}p=!1;const R=x.pageX,y=x.pageY,g=30;if(((S=o.value)==null?void 0:S.type)==="line"&&(Math.abs(R-m)>=g||Math.abs(y-A)>=g))n("created",{start:a.value,end:s.value});else if(((L=o.value)==null?void 0:L.type)!=="line"&&Math.abs(R-m)>=g&&Math.abs(y-A)>=g)n("created",{start:a.value,end:s.value});else{const M=Math.min(R,m),O=Math.min(y,A),k=Math.max(R,m),_=Math.max(y,A),N=k-M>=g?k-M:200,X=_-O>=g?_-O:200;n("created",{start:[M,O],end:[M+N,O+X]})}}},f=Se(()=>{if(!a.value||!s.value||!o.value||o.value.type!=="line")return null;const[h,p]=a.value,[m,A]=s.value,x=Math.min(h,m),R=Math.max(h,m),y=Math.min(p,A),g=Math.max(p,A),S=R-x>=24?R-x:24,L=g-y>=24?g-y:24,T=h===x?0:R-x,M=p===y?0:g-y,O=m===x?0:R-x,k=A===y?0:g-y,_=`M${T}, ${M} L${O}, ${k}`;return{svgWidth:S,svgHeight:L,startX:T,startY:M,endX:O,endY:k,path:_}}),d=Se(()=>{if(!a.value||!s.value)return{};const[h,p]=a.value,[m,A]=s.value,x=Math.min(h,m),R=Math.max(h,m),y=Math.min(p,A),g=Math.max(p,A),S=R-x,L=g-y;return{left:x-l.value.x+"px",top:y-l.value.y+"px",width:S+"px",height:L+"px"}});return(h,p)=>{var m,A;return Q(),ee("div",{class:"element-create-selection",ref_key:"selectionRef",ref:c,onMousedown:p[0]||(p[0]=Kt(x=>u(x),["stop"])),onContextmenu:p[1]||(p[1]=Kt(()=>{},["stop","prevent"]))},[a.value&&s.value?(Q(),ee("div",{key:0,class:$e(["selection",(m=H(o))==null?void 0:m.type]),style:we(d.value)},[((A=H(o))==null?void 0:A.type)==="line"&&f.value?(Q(),ee("svg",{key:0,overflow:"visible",width:f.value.svgWidth,height:f.value.svgHeight},[Y("path",{d:f.value.path,stroke:"#d14424",fill:"none","stroke-width":"2"},null,8,wue)],8,Mue)):Be("",!0)],6)):Be("",!0)],544)}}}),Oue=We(Lue,[["__scopeId","data-v-7b17a883"]]),Tue={overflow:"visible"},kue=["d","fill"],Nue=Fe({__name:"ShapeCreateCanvas",emits:["created"],setup(e,{emit:t}){const n=t,r=ft(),{ctrlOrShiftKeyActive:o}=Ee(Ss()),{theme:i}=Ee(ct()),a=me(),s=me(!1),c=me({x:0,y:0});Gt(()=>{if(!a.value)return;const{x:g,y:S}=a.value.getBoundingClientRect();c.value={x:g,y:S}});const l=me(null),u=me([]),f=me(!1),d=(g,S=!1)=>{let L=g.pageX-c.value.x,T=g.pageY-c.value.y;if(S)return{pageX:L,pageY:T};if(o.value&&u.value.length){const[M,O]=u.value[u.value.length-1];Math.abs(M-L)-Math.abs(O-T)>0?T=O:L=M}return{pageX:L,pageY:T}},h=g=>{if(s.value){const{pageX:T,pageY:M}=d(g,!0);u.value.push([T,M]),l.value=null;return}const{pageX:S,pageY:L}=d(g);if(l.value=[S,L],u.value.length>=2){const[T,M]=u.value[0];Math.abs(T-S)<5&&Math.abs(M-L)<5?f.value=!0:f.value=!1}else f.value=!1},p=Se(()=>{let g="";for(let S=0;S<u.value.length;S++){const L=u.value[S];S===0?g+=`M ${L[0]} ${L[1]} `:g+=`L ${L[0]} ${L[1]} `}return u.value.length&&l.value&&(g+=`L ${l.value[0]} ${l.value[1]}`),g}),m=(g=!0)=>{const S=u.value.map(I=>I[0]),L=u.value.map(I=>I[1]),T=Math.min(...S),M=Math.min(...L),O=Math.max(...S),k=Math.max(...L),_=u.value.map(I=>[I[0]-T,I[1]-M]);let N="";for(let I=0;I<_.length;I++){const V=_[I];I===0?N+=`M ${V[0]} ${V[1]} `:N+=`L ${V[0]} ${V[1]} `}g&&(N+="Z");const X=[T+c.value.x,M+c.value.y],C=[O+c.value.x,k+c.value.y],F=[O-T,k-M];return{start:X,end:C,path:N,viewBox:F}},A=g=>{const{pageX:S,pageY:L}=d(g);s.value=!0,f.value?n("created",m()):u.value.push([S,L]),document.onmouseup=()=>{s.value=!1}},x=()=>{r.setCreatingCustomShapeState(!1)},R=()=>{n("created",{...m(!1),fill:"rgba(0, 0, 0, 0)",outline:{width:2,color:i.value.themeColor,style:"solid"}}),x()},y=g=>{const S=g.key.toUpperCase();S===Rt.ESC&&x(),S===Rt.ENTER&&R()};return Gt(()=>{wn.success("点击绘制任意形状,首尾闭合完成绘制,按 ESC 键或鼠标右键取消,按 ENTER 键提前完成",{duration:5e3}),document.addEventListener("keydown",y)}),Tn(()=>document.removeEventListener("keydown",y)),(g,S)=>(Q(),ee("div",{class:"shape-create-canvas",ref_key:"shapeCanvasRef",ref:a,onMousedown:S[0]||(S[0]=Kt(L=>A(L),["stop"])),onMousemove:S[1]||(S[1]=L=>h(L)),onContextmenu:S[2]||(S[2]=Kt(L=>x(),["stop","prevent"]))},[(Q(),ee("svg",Tue,[Y("path",{d:p.value,stroke:"#d14424",fill:f.value?"rgba(226, 83, 77, 0.15)":"none","stroke-width":"2"},null,8,kue)]))],544))}}),Pue=We(Nue,[["__scopeId","data-v-541857e0"]]),nf=(e,t)=>{const n=Se(()=>[{direction:mt.LEFT_TOP,style:{}},{direction:mt.TOP,style:{left:e.value/2+"px"}},{direction:mt.RIGHT_TOP,style:{left:e.value+"px"}},{direction:mt.LEFT,style:{top:t.value/2+"px"}},{direction:mt.RIGHT,style:{left:e.value+"px",top:t.value/2+"px"}},{direction:mt.LEFT_BOTTOM,style:{top:t.value+"px"}},{direction:mt.BOTTOM,style:{left:e.value/2+"px",top:t.value+"px"}},{direction:mt.RIGHT_BOTTOM,style:{left:e.value+"px",top:t.value+"px"}}]),r=Se(()=>[{direction:mt.LEFT,style:{top:t.value/2+"px"}},{direction:mt.RIGHT,style:{left:e.value+"px",top:t.value/2+"px"}}]),o=Se(()=>[{direction:mt.TOP,style:{left:e.value/2+"px"}},{direction:mt.BOTTOM,style:{left:e.value/2+"px",top:t.value+"px"}}]),i=Se(()=>[{type:W0.T,style:{width:e.value+"px"}},{type:W0.B,style:{top:t.value+"px",width:e.value+"px"}},{type:W0.L,style:{height:t.value+"px"}},{type:W0.R,style:{left:e.value+"px",height:t.value+"px"}}]);return{resizeHandlers:n,textElementResizeHandlers:r,verticalTextElementResizeHandlers:o,borderLines:i}},Cue=Fe({__name:"ResizeHandler",props:{type:{},rotate:{default:0}},setup(e){const t=e,n=Se(()=>{const r="rotate-",o=t.rotate;return o>-22.5&&o<=22.5?r+0:o>22.5&&o<=67.5?r+45:o>67.5&&o<=112.5?r+90:o>112.5&&o<=157.5?r+135:o>157.5||o<=-157.5?r+0:o>-157.5&&o<=-112.5?r+45:o>-112.5&&o<=-67.5?r+90:o>-67.5&&o<=-22.5?r+135:r+0});return(r,o)=>(Q(),ee("div",{class:$e(["resize-handler",n.value,r.type])},null,2))}}),Tc=We(Cue,[["__scopeId","data-v-bb3f9e62"]]),Iue=Fe({__name:"BorderLine",props:{type:{},isWide:{type:Boolean,default:!1}},setup(e){return(t,n)=>(Q(),ee("div",{class:$e(["border-line",t.type,{wide:t.isWide}])},null,2))}}),rf=We(Iue,[["__scopeId","data-v-7114fb45"]]),Fue=Fe({__name:"MultiSelectOperate",props:{elementList:{},scaleMultiElement:{type:Function}},setup(e){const t=e,{activeElementIdList:n,canvasScale:r}=Ee(ft()),o=Se(()=>t.elementList.filter(d=>n.value.includes(d.id))),i=me({minX:0,maxX:0,minY:0,maxY:0}),a=Se(()=>(i.value.maxX-i.value.minX)*r.value),s=Se(()=>(i.value.maxY-i.value.minY)*r.value),{resizeHandlers:c,borderLines:l}=nf(a,s);Og(()=>{const{minX:d,maxX:h,minY:p,maxY:m}=ec(o.value);i.value={minX:d,maxX:h,minY:p,maxY:m}});const f=Se(()=>o.value.some(d=>!((d.type==="image"||d.type==="shape")&&!d.rotate)));return(d,h)=>(Q(),ee("div",{class:"multi-select-operate",style:we({left:i.value.minX*H(r)+"px",top:i.value.minY*H(r)+"px"})},[(Q(!0),ee(Ve,null,st(H(l),p=>(Q(),Oe(rf,{key:p.type,type:p.type,style:we(p.style)},null,8,["type","style"]))),128)),f.value?Be("",!0):(Q(!0),ee(Ve,{key:0},st(H(c),p=>(Q(),Oe(Tc,{key:p.direction,type:p.direction,style:we(p.style),onMousedown:Kt(m=>d.scaleMultiElement(m,i.value,p.direction),["stop"])},null,8,["type","style","onMousedown"]))),128))],4))}}),_ue=We(Fue,[["__scopeId","data-v-135c8cb7"]]),Xue={},Eue={class:"rotate-handler"};function Wue(e,t){return Q(),ee("div",Eue)}const Jd=We(Xue,[["render",Wue],["__scopeId","data-v-9f21fc0f"]]),Vue={inheritAttrs:!1},Uue=Fe({...Vue,__name:"ImageElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function}},setup(e){const t=e,{canvasScale:n,clipingImageElementId:r}=Ee(ft()),o=Se(()=>r.value===t.elementInfo.id),i=Se(()=>t.elementInfo.width*n.value),a=Se(()=>t.elementInfo.height*n.value),{resizeHandlers:s,borderLines:c}=nf(i,a);return(l,u)=>(Q(),ee("div",{class:$e(["image-element-operate",{cliping:o.value}])},[(Q(!0),ee(Ve,null,st(H(c),f=>(Q(),Oe(rf,{class:"operate-border-line",key:f.type,type:f.type,style:we(f.style)},null,8,["type","style"]))),128)),l.handlerVisible?(Q(),ee(Ve,{key:0},[(Q(!0),ee(Ve,null,st(H(s),f=>(Q(),Oe(Tc,{class:"operate-resize-handler",key:f.direction,type:f.direction,rotate:l.elementInfo.rotate,style:we(f.style),onMousedown:Kt(d=>l.scaleElement(d,l.elementInfo,f.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),w(Jd,{class:"operate-rotate-handler",style:we({left:i.value/2+"px"}),onMousedown:u[0]||(u[0]=Kt(f=>l.rotateElement(f,l.elementInfo),["stop"]))},null,8,["style"])],64)):Be("",!0)],2))}}),Yue=We(Uue,[["__scopeId","data-v-2a1bef4e"]]),Que={class:"text-element-operate"},Zue={inheritAttrs:!1},Bue=Fe({...Zue,__name:"TextElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function}},setup(e){const t=e,{canvasScale:n}=Ee(ft()),r=Se(()=>t.elementInfo.width*n.value),o=Se(()=>t.elementInfo.height*n.value),{textElementResizeHandlers:i,verticalTextElementResizeHandlers:a,borderLines:s}=nf(r,o),c=Se(()=>t.elementInfo.vertical?a.value:i.value);return(l,u)=>(Q(),ee("div",Que,[(Q(!0),ee(Ve,null,st(H(s),f=>(Q(),Oe(rf,{class:"operate-border-line",key:f.type,type:f.type,style:we(f.style)},null,8,["type","style"]))),128)),l.handlerVisible?(Q(),ee(Ve,{key:0},[(Q(!0),ee(Ve,null,st(c.value,f=>(Q(),Oe(Tc,{class:"operate-resize-handler",key:f.direction,type:f.direction,rotate:l.elementInfo.rotate,style:we(f.style),onMousedown:Kt(d=>l.scaleElement(d,l.elementInfo,f.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),w(Jd,{class:"operate-rotate-handler",style:we({left:r.value/2+"px"}),onMousedown:u[0]||(u[0]=Kt(f=>l.rotateElement(f,l.elementInfo),["stop"]))},null,8,["style"])],64)):Be("",!0)]))}}),Due={class:"shape-element-operate"},Kue={inheritAttrs:!1},Hue=Fe({...Kue,__name:"ShapeElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function},moveShapeKeypoint:{type:Function}},setup(e){const t=e,{canvasScale:n}=Ee(ft()),r=Se(()=>t.elementInfo.width*n.value),o=Se(()=>t.elementInfo.height*n.value),{resizeHandlers:i,borderLines:a}=nf(r,o),s=Se(()=>{if(!t.elementInfo.pathFormula||t.elementInfo.keypoint===void 0)return{};const c=zu[t.elementInfo.pathFormula];if("editable"in c){const l=c.getBaseSize(t.elementInfo.width,t.elementInfo.height)*t.elementInfo.keypoint;if(c.relative==="left")return{left:l*n.value+"px"};if(c.relative==="right")return{left:(t.elementInfo.width-l)*n.value+"px"};if(c.relative==="center")return{left:(t.elementInfo.width-l)/2*n.value+"px"};if(c.relative==="top")return{top:l*n.value+"px"};if(c.relative==="bottom")return{top:(t.elementInfo.height-l)*n.value+"px"}}return{}});return(c,l)=>(Q(),ee("div",Due,[(Q(!0),ee(Ve,null,st(H(a),u=>(Q(),Oe(rf,{class:"operate-border-line",key:u.type,type:u.type,style:we(u.style)},null,8,["type","style"]))),128)),c.handlerVisible?(Q(),ee(Ve,{key:0},[(Q(!0),ee(Ve,null,st(H(i),u=>(Q(),Oe(Tc,{class:"operate-resize-handler",key:u.direction,type:u.direction,rotate:c.elementInfo.rotate,style:we(u.style),onMousedown:Kt(f=>c.scaleElement(f,c.elementInfo,u.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),w(Jd,{class:"operate-rotate-handler",style:we({left:r.value/2+"px"}),onMousedown:l[0]||(l[0]=Kt(u=>c.rotateElement(u,c.elementInfo),["stop"]))},null,8,["style"]),c.elementInfo.keypoint!==void 0?(Q(),ee("div",{key:0,class:"operate-keypoint-handler",style:we(s.value),onMousedown:l[1]||(l[1]=Kt(u=>c.moveShapeKeypoint(u,c.elementInfo),["stop"]))},null,36)):Be("",!0)],64)):Be("",!0)]))}}),Gue=We(Hue,[["__scopeId","data-v-e65e73bd"]]),Jue={class:"line-element-operate"},zue=["width","height","stroke"],jue={key:0},$ue=["x1","y1","x2","y2"],que=["x1","y1","x2","y2"],efe=["x1","y1","x2","y2"],tfe=["x1","y1","x2","y2"],nfe={inheritAttrs:!1},rfe=Fe({...nfe,__name:"LineElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},dragLineElement:{type:Function}},setup(e){const t=e,{canvasScale:n}=Ee(ft()),r=Se(()=>Math.max(t.elementInfo.start[0],t.elementInfo.end[0])),o=Se(()=>Math.max(t.elementInfo.start[1],t.elementInfo.end[1])),i=Se(()=>{const a=[{handler:Go.START,style:{left:t.elementInfo.start[0]*n.value+"px",top:t.elementInfo.start[1]*n.value+"px"}},{handler:Go.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){const s=t.elementInfo.curve||t.elementInfo.broken;a.push({handler:Go.C,style:{left:s[0]*n.value+"px",top:s[1]*n.value+"px"}})}else if(t.elementInfo.cubic){const[s,c]=t.elementInfo.cubic;a.push({handler:Go.C1,style:{left:s[0]*n.value+"px",top:s[1]*n.value+"px"}}),a.push({handler:Go.C2,style:{left:c[0]*n.value+"px",top:c[1]*n.value+"px"}})}return a});return(a,s)=>(Q(),ee("div",Jue,[a.handlerVisible?(Q(),ee(Ve,{key:0},[(Q(!0),ee(Ve,null,st(i.value,c=>(Q(),Oe(Tc,{class:"operate-resize-handler",key:c.handler,style:we(c.style),onMousedown:Kt(l=>a.dragLineElement(l,a.elementInfo,c.handler),["stop"])},null,8,["style","onMousedown"]))),128)),(Q(),ee("svg",{width:r.value||1,height:o.value||1,stroke:a.elementInfo.color,overflow:"visible",style:we({transform:`scale(${H(n)})`})},[a.elementInfo.curve?(Q(),ee("g",jue,[Y("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,$ue),Y("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,que)])):Be("",!0),a.elementInfo.cubic?(Q(!0),ee(Ve,{key:1},st(a.elementInfo.cubic,(c,l)=>(Q(),ee("g",{key:l},[l===0?(Q(),ee("line",{key:0,class:"anchor-line",x1:a.elementInfo.start[0],y1:a.elementInfo.start[1],x2:c[0],y2:c[1]},null,8,efe)):Be("",!0),l===1?(Q(),ee("line",{key:1,class:"anchor-line",x1:a.elementInfo.end[0],y1:a.elementInfo.end[1],x2:c[0],y2:c[1]},null,8,tfe)):Be("",!0)]))),128)):Be("",!0)],12,zue))],64)):Be("",!0)]))}}),ofe=We(rfe,[["__scopeId","data-v-32a06240"]]),ife={class:"table-element-operate"},afe={inheritAttrs:!1},sfe=Fe({...afe,__name:"TableElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function}},setup(e){const t=e,{canvasScale:n}=Ee(ft()),r=Se(()=>t.elementInfo.outline.width||1),o=Se(()=>(t.elementInfo.width+r.value)*n.value),i=Se(()=>t.elementInfo.height*n.value),{resizeHandlers:a,borderLines:s}=nf(o,i);return(c,l)=>(Q(),ee("div",ife,[(Q(!0),ee(Ve,null,st(H(s),u=>(Q(),Oe(rf,{class:"operate-border-line",key:u.type,type:u.type,style:we(u.style)},null,8,["type","style"]))),128)),c.handlerVisible?(Q(),ee(Ve,{key:0},[(Q(!0),ee(Ve,null,st(H(a),u=>(Q(),Oe(Tc,{class:"operate-resize-handler",key:u.direction,type:u.direction,rotate:c.elementInfo.rotate,style:we(u.style),onMousedown:Kt(f=>c.scaleElement(f,c.elementInfo,u.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),w(Jd,{class:"operate-rotate-handler",style:we({left:o.value/2+"px"}),onMousedown:l[0]||(l[0]=Kt(u=>c.rotateElement(u,c.elementInfo),["stop"]))},null,8,["style"])],64)):Be("",!0)]))}}),lfe={class:"common-element-operate"},cfe={inheritAttrs:!1},xm=Fe({...cfe,__name:"CommonElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function}},setup(e){const t=e,{canvasScale:n}=Ee(ft()),r=Se(()=>t.elementInfo.width*n.value),o=Se(()=>t.elementInfo.height*n.value),{resizeHandlers:i,borderLines:a}=nf(r,o),s=Se(()=>["chart","video","audio"].includes(t.elementInfo.type));return(c,l)=>(Q(),ee("div",lfe,[(Q(!0),ee(Ve,null,st(H(a),u=>(Q(),Oe(rf,{class:"operate-border-line",key:u.type,type:u.type,style:we(u.style)},null,8,["type","style"]))),128)),c.handlerVisible?(Q(),ee(Ve,{key:0},[(Q(!0),ee(Ve,null,st(H(i),u=>(Q(),Oe(Tc,{class:"operate-resize-handler",key:u.direction,type:u.direction,rotate:c.elementInfo.rotate,style:we(u.style),onMousedown:Kt(f=>c.scaleElement(f,c.elementInfo,u.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),s.value?Be("",!0):(Q(),Oe(Jd,{key:0,class:"operate-rotate-handler",style:we({left:r.value/2+"px"}),onMousedown:l[0]||(l[0]=Kt(u=>c.rotateElement(u,c.elementInfo),["stop"]))},null,8,["style"]))],64)):Be("",!0)]))}}),XF=()=>{const e=ct(),{addHistorySnapshot:t}=Jt();return{setLink:(o,i)=>{const a=/^(https?):\/\/[\w\-]+(\.[\w\-]+)+([\w\-.,@?^=%&:\/~+#]*[\w\-@?^=%&\/~+#])?$/;if(i.type==="web"&&!a.test(i.target))return wn.error("不是正确的网页链接地址"),!1;if(i.type==="slide"&&!i.target)return wn.error("请先选择链接目标"),!1;const s={link:i};return e.updateElement({id:o.id,props:s}),t(),!0},removeLink:o=>{e.removeElementProps({id:o.id,propName:"link"}),t()}}},ufe=Fe({__name:"Divider",props:{type:{default:"horizontal"},margin:{default:0}},setup(e){return(t,n)=>(Q(),ee("div",{class:$e(["divider",t.type]),style:we({margin:t.type==="horizontal"?`${t.margin||24}px 0`:`0 ${t.margin||8}px`})},null,6))}}),Vt=We(ufe,[["__scopeId","data-v-c7c64e0b"]]),ffe=["href"],dfe={class:"btns"},hfe=Fe({__name:"LinkHandler",props:{elementInfo:{},link:{},openLinkDialog:{type:Function}},setup(e){const t=e,n=ft(),r=ct(),{canvasScale:o}=Ee(n),{slides:i}=Ee(r),{removeLink:a}=XF(),s=Se(()=>t.elementInfo.type==="line"?0:t.elementInfo.height),c=l=>{const u=i.value.findIndex(f=>f.id===l);u!==-1&&(n.setActiveElementIdList([]),r.updateSlideIndex(u))};return(l,u)=>(Q(),ee("div",{class:"link-handler",style:we({top:s.value*H(o)+10+"px"})},[l.link.type==="web"?(Q(),ee("a",{key:0,class:"link",href:l.link.target,target:"_blank"},bt(l.link.target),9,ffe)):(Q(),ee("a",{key:1,class:"link",onClick:u[0]||(u[0]=f=>c(l.link.target))},"幻灯片页面 "+bt(l.link.target),1)),Y("div",dfe,[Y("div",{class:"btn",onClick:u[1]||(u[1]=f=>l.openLinkDialog())},"更换"),w(Vt,{type:"vertical"}),Y("div",{class:"btn",onClick:u[2]||(u[2]=f=>H(a)(l.elementInfo))},"移除")])],4))}}),pfe=We(hfe,[["__scopeId","data-v-f8f46f78"]]),mfe={key:1,class:"animation-index"},vfe=Fe({__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}=Ee(ft()),{formatedAnimations:o}=Ee(ct()),i=Se(()=>({[Nt.IMAGE]:Yue,[Nt.TEXT]:Bue,[Nt.SHAPE]:Gue,[Nt.LINE]:ofe,[Nt.TABLE]:sfe,[Nt.CHART]:xm,[Nt.LATEX]:xm,[Nt.VIDEO]:xm,[Nt.AUDIO]:xm})[t.elementInfo.type]||null),a=Se(()=>{const l=[];for(let u=0;u<o.value.length;u++)o.value[u].animations.map(d=>d.elId).includes(t.elementInfo.id)&&l.push(u);return l}),s=Se(()=>"rotate"in t.elementInfo?t.elementInfo.rotate:0),c=Se(()=>"height"in t.elementInfo?t.elementInfo.height:0);return(l,u)=>(Q(),ee("div",{class:$e(["operate",{"multi-select":l.isMultiSelect&&!l.isActive}]),style:we({top:l.elementInfo.top*H(n)+"px",left:l.elementInfo.left*H(n)+"px",transform:`rotate(${s.value}deg)`,transformOrigin:`${l.elementInfo.width*H(n)/2}px ${c.value*H(n)/2}px`})},[l.isSelected?(Q(),Oe(xs(i.value),{key:0,elementInfo:l.elementInfo,handlerVisible:!l.elementInfo.lock&&(l.isActiveGroupElement||!l.isMultiSelect),rotateElement:l.rotateElement,scaleElement:l.scaleElement,dragLineElement:l.dragLineElement,moveShapeKeypoint:l.moveShapeKeypoint},null,8,["elementInfo","handlerVisible","rotateElement","scaleElement","dragLineElement","moveShapeKeypoint"])):Be("",!0),H(r)==="elAnimation"&&a.value.length?(Q(),ee("div",mfe,[(Q(!0),ee(Ve,null,st(a.value,f=>(Q(),ee("div",{class:"index-item",key:f},bt(f+1),1))),128))])):Be("",!0),l.isActive&&l.elementInfo.link?(Q(),Oe(pfe,{key:2,elementInfo:l.elementInfo,link:l.elementInfo.link,openLinkDialog:l.openLinkDialog,onMousedown:u[0]||(u[0]=Kt(()=>{},["stop"]))},null,8,["elementInfo","link","openLinkDialog"])):Be("",!0)],6))}}),gfe=We(vfe,[["__scopeId","data-v-b96daa51"]]),Afe=["src"],Rfe=Fe({__name:"BaseImageElement",props:{elementInfo:{}},setup(e){const t=e,n=Se(()=>t.elementInfo.shadow),{shadowStyle:r}=Lc(n),o=Se(()=>t.elementInfo.flipH),i=Se(()=>t.elementInfo.flipV),{flipStyle:a}=i2(o,i),s=Se(()=>t.elementInfo.clip),{clipShape:c,imgPosition:l}=o5(s),u=Se(()=>t.elementInfo.filters),{filter:f}=mI(u);return(d,h)=>(Q(),ee("div",{class:"base-element-image",style:we({top:d.elementInfo.top+"px",left:d.elementInfo.left+"px",width:d.elementInfo.width+"px",height:d.elementInfo.height+"px"})},[Y("div",{class:"rotate-wrapper",style:we({transform:`rotate(${d.elementInfo.rotate}deg)`})},[Y("div",{class:"element-content",style:we({filter:H(r)?`drop-shadow(${H(r)})`:"",transform:H(a)})},[w(vI,{elementInfo:d.elementInfo},null,8,["elementInfo"]),Y("div",{class:"image-content",style:we({clipPath:H(c).style})},[Y("img",{src:d.elementInfo.src,draggable:!1,style:we({top:H(l).top,left:H(l).left,width:H(l).width,height:H(l).height,filter:H(f)}),alt:""},null,12,Afe),d.elementInfo.colorMask?(Q(),ee("div",{key:0,class:"color-mask",style:we({backgroundColor:d.elementInfo.colorMask})},null,4)):Be("",!0)],4)],4)],4)],4))}}),EF=We(Rfe,[["__scopeId","data-v-71d24108"]]),yfe=["innerHTML"],xfe=Fe({__name:"BaseTextElement",props:{elementInfo:{}},setup(e){const t=e,n=Se(()=>t.elementInfo.shadow),{shadowStyle:r}=Lc(n);return(o,i)=>(Q(),ee("div",{class:"base-element-text",style:we({top:o.elementInfo.top+"px",left:o.elementInfo.left+"px",width:o.elementInfo.width+"px",height:o.elementInfo.height+"px"})},[Y("div",{class:"rotate-wrapper",style:we({transform:`rotate(${o.elementInfo.rotate}deg)`})},[Y("div",{class:"element-content",style:we({width:o.elementInfo.vertical?"auto":o.elementInfo.width+"px",height:o.elementInfo.vertical?o.elementInfo.height+"px":"auto",backgroundColor:o.elementInfo.fill,opacity:o.elementInfo.opacity,textShadow:H(r),lineHeight:o.elementInfo.lineHeight,letterSpacing:(o.elementInfo.wordSpace||0)+"px",color:o.elementInfo.defaultColor,fontFamily:o.elementInfo.defaultFontName,writingMode:o.elementInfo.vertical?"vertical-rl":"horizontal-tb"})},[w(a2,{width:o.elementInfo.width,height:o.elementInfo.height,outline:o.elementInfo.outline},null,8,["width","height","outline"]),Y("div",{class:"text ProseMirror-static",style:we({"--paragraphSpace":`${o.elementInfo.paragraphSpace===void 0?5:o.elementInfo.paragraphSpace}px`}),innerHTML:o.elementInfo.content},null,12,yfe)],4)],4)],4))}}),WF=We(xfe,[["__scopeId","data-v-e8894a41"]]),bfe=["width","height"],Sfe={key:0},Mfe=["transform"],wfe=["d","fill","stroke","stroke-width","stroke-dasharray"],Lfe=["innerHTML"],Ofe=Fe({__name:"BaseShapeElement",props:{elementInfo:{}},setup(e){const t=e,n=Se(()=>t.elementInfo.outline),{outlineWidth:r,outlineColor:o,strokeDashArray:i}=Gd(n),a=Se(()=>t.elementInfo.shadow),{shadowStyle:s}=Lc(a),c=Se(()=>t.elementInfo.flipH),l=Se(()=>t.elementInfo.flipV),{flipStyle:u}=i2(c,l),f=Se(()=>{const d={content:"",defaultFontName:"微软雅黑",defaultColor:"#000",align:"middle"};return t.elementInfo.text?t.elementInfo.text:d});return(d,h)=>(Q(),ee("div",{class:"base-element-shape",style:we({top:d.elementInfo.top+"px",left:d.elementInfo.left+"px",width:d.elementInfo.width+"px",height:d.elementInfo.height+"px"})},[Y("div",{class:"rotate-wrapper",style:we({transform:`rotate(${d.elementInfo.rotate}deg)`})},[Y("div",{class:"element-content",style:we({opacity:d.elementInfo.opacity,filter:H(s)?`drop-shadow(${H(s)})`:"",transform:H(u),color:f.value.defaultColor,fontFamily:f.value.defaultFontName})},[(Q(),ee("svg",{overflow:"visible",width:d.elementInfo.width,height:d.elementInfo.height},[d.elementInfo.gradient?(Q(),ee("defs",Sfe,[w(dF,{id:`base-gradient-${d.elementInfo.id}`,type:d.elementInfo.gradient.type,color1:d.elementInfo.gradient.color[0],color2:d.elementInfo.gradient.color[1],rotate:d.elementInfo.gradient.rotate},null,8,["id","type","color1","color2","rotate"])])):Be("",!0),Y("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)`},[Y("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:H(o),"stroke-width":H(r),"stroke-dasharray":H(i)},null,8,wfe)],8,Mfe)],8,bfe)),Y("div",{class:$e(["shape-text",f.value.align])},[Y("div",{class:"ProseMirror-static",innerHTML:f.value.content},null,8,Lfe)],2)],4)],4)],4))}}),VF=We(Ofe,[["__scopeId","data-v-2d39d3d1"]]),Tfe=["width","height"],kfe=["d","stroke","stroke-width","stroke-dasharray","marker-start","marker-end"],Nfe=Fe({__name:"BaseLineElement",props:{elementInfo:{}},setup(e){const t=e,n=Se(()=>t.elementInfo.shadow),{shadowStyle:r}=Lc(n),o=Se(()=>{const c=Math.abs(t.elementInfo.start[0]-t.elementInfo.end[0]);return c<24?24:c}),i=Se(()=>{const c=Math.abs(t.elementInfo.start[1]-t.elementInfo.end[1]);return c<24?24:c}),a=Se(()=>{if(t.elementInfo.style!=="dashed")return"0 0";const c=t.elementInfo.width;return c<=8?`${c*5} ${c*2.5}`:`${c*5} ${c*1.5}`}),s=Se(()=>Lb(t.elementInfo));return(c,l)=>(Q(),ee("div",{class:"base-element-line",style:we({top:c.elementInfo.top+"px",left:c.elementInfo.left+"px"})},[Y("div",{class:"element-content",style:we({filter:H(r)?`drop-shadow(${H(r)})`:""})},[(Q(),ee("svg",{overflow:"visible",width:o.value,height:i.value},[Y("defs",null,[c.elementInfo.points[0]?(Q(),Oe(Fd,{key:0,id:c.elementInfo.id,position:"start",type:c.elementInfo.points[0],color:c.elementInfo.color,baseSize:c.elementInfo.width},null,8,["id","type","color","baseSize"])):Be("",!0),c.elementInfo.points[1]?(Q(),Oe(Fd,{key:1,id:c.elementInfo.id,position:"end",type:c.elementInfo.points[1],color:c.elementInfo.color,baseSize:c.elementInfo.width},null,8,["id","type","color","baseSize"])):Be("",!0)]),Y("path",{d:s.value,stroke:c.elementInfo.color,"stroke-width":c.elementInfo.width,"stroke-dasharray":a.value,fill:"none","marker-start":c.elementInfo.points[0]?`url(#${c.elementInfo.id}-${c.elementInfo.points[0]}-start)`:"","marker-end":c.elementInfo.points[1]?`url(#${c.elementInfo.id}-${c.elementInfo.points[1]}-end)`:""},null,8,kfe)],8,Tfe))],4)],4))}}),UF=We(Nfe,[["__scopeId","data-v-e7dc2b42"]]),Pfe=Fe({__name:"BaseChartElement",props:{elementInfo:{}},setup(e){const t=$o(tf)||me(1),n=Se(()=>t.value<1),r=Se(()=>n.value?1/t.value:1);return(o,i)=>(Q(),ee("div",{class:"base-element-chart",style:we({top:o.elementInfo.top+"px",left:o.elementInfo.left+"px",width:o.elementInfo.width+"px",height:o.elementInfo.height+"px"})},[Y("div",{class:"rotate-wrapper",style:we({transform:`rotate(${o.elementInfo.rotate}deg)`})},[Y("div",{class:"element-content",style:we({backgroundColor:o.elementInfo.fill})},[w(a2,{width:o.elementInfo.width,height:o.elementInfo.height,outline:o.elementInfo.outline},null,8,["width","height","outline"]),w(bF,{width:o.elementInfo.width*r.value,height:o.elementInfo.height*r.value,type:o.elementInfo.chartType,data:o.elementInfo.data,options:o.elementInfo.options,themeColor:o.elementInfo.themeColor,gridColor:o.elementInfo.gridColor,legends:o.elementInfo.data.legends,legend:o.elementInfo.legend||"",style:we({zoom:1/r.value})},null,8,["width","height","type","data","options","themeColor","gridColor","legends","legend","style"])],4)],4)],4))}}),YF=We(Pfe,[["__scopeId","data-v-37ca5799"]]),Cfe=["width"],Ife=["rowspan","colspan"],Ffe=["innerHTML"],_fe=Fe({__name:"StaticTable",props:{data:{},width:{},cellMinHeight:{},colWidths:{},outline:{},theme:{},editable:{type:Boolean,default:!0}},setup(e){const t=e,n=me([]),r=Se(()=>n.value.reduce((c,l)=>c+l));Tt([()=>t.colWidths,()=>t.width],()=>{n.value=t.colWidths.map(c=>c*t.width)},{immediate:!0});const o=Se(()=>t.data),{hideCells:i}=LF(o),a=Se(()=>t.theme),{subThemeColor:s}=OF(a);return(c,l)=>{var u,f,d,h,p;return Q(),ee("div",{class:"static-table",style:we({width:r.value+"px"})},[Y("table",{class:$e({theme:a.value,"row-header":(u=a.value)==null?void 0:u.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:we(`--themeColor: ${(p=a.value)==null?void 0:p.color}; --subThemeColor1: ${H(s)[0]}; --subThemeColor2: ${H(s)[1]}`)},[Y("colgroup",null,[(Q(!0),ee(Ve,null,st(n.value,(m,A)=>(Q(),ee("col",{span:"1",key:A,width:m},null,8,Cfe))),128))]),Y("tbody",null,[(Q(!0),ee(Ve,null,st(c.data,(m,A)=>(Q(),ee("tr",{key:A,style:we({height:c.cellMinHeight+"px"})},[(Q(!0),ee(Ve,null,st(m,(x,R)=>Ze((Q(),ee("td",{class:"cell",style:we({borderStyle:c.outline.style,borderColor:c.outline.color,borderWidth:c.outline.width+"px",...H(MF)(x.style)}),key:x.id,rowspan:x.rowspan,colspan:x.colspan},[Y("div",{class:"cell-text",style:we({minHeight:c.cellMinHeight-4+"px"}),innerHTML:H(wF)(x.text)},null,12,Ffe)],12,Ife)),[[il,!H(i).includes(`${A}_${R}`)]])),128))],4))),128))])],6)],4)}}}),Xfe=We(_fe,[["__scopeId","data-v-6d887dcd"]]),Efe={class:"element-content"},Wfe=Fe({__name:"BaseTableElement",props:{elementInfo:{}},setup(e){return(t,n)=>(Q(),ee("div",{class:"base-element-table",style:we({top:t.elementInfo.top+"px",left:t.elementInfo.left+"px",width:t.elementInfo.width+"px"})},[Y("div",{class:"rotate-wrapper",style:we({transform:`rotate(${t.elementInfo.rotate}deg)`})},[Y("div",Efe,[w(Xfe,{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))}}),QF=We(Wfe,[["__scopeId","data-v-77cfa6e4"]]),Vfe={class:"element-content"},Ufe=["width","height","stroke","stroke-width"],Yfe=["transform"],Qfe=["d"],Zfe=Fe({__name:"BaseLatexElement",props:{elementInfo:{}},setup(e){return(t,n)=>(Q(),ee("div",{class:"base-element-latex",style:we({top:t.elementInfo.top+"px",left:t.elementInfo.left+"px",width:t.elementInfo.width+"px",height:t.elementInfo.height+"px"})},[Y("div",{class:"rotate-wrapper",style:we({transform:`rotate(${t.elementInfo.rotate}deg)`})},[Y("div",Vfe,[(Q(),ee("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"},[Y("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)`},[Y("path",{d:t.elementInfo.path},null,8,Qfe)],8,Yfe)],8,Ufe))])],4)],4))}}),ZF=We(Zfe,[["__scopeId","data-v-93374af9"]]),Bfe=Fe({__name:"BaseVideoElement",props:{elementInfo:{}},setup(e){return(t,n)=>{const r=xe("IconPlayOne");return Q(),ee("div",{class:"base-element-video",style:we({top:t.elementInfo.top+"px",left:t.elementInfo.left+"px",width:t.elementInfo.width+"px",height:t.elementInfo.height+"px"})},[Y("div",{class:"rotate-wrapper",style:we({transform:`rotate(${t.elementInfo.rotate}deg)`})},[Y("div",{class:"element-content",style:we({backgroundImage:t.elementInfo.poster?`url(${t.elementInfo.poster})`:""})},[w(r,{class:"icon"})],4)],4)],4)}}}),Dfe=We(Bfe,[["__scopeId","data-v-2fb0e771"]]),Kfe={class:"element-content"},Hfe=Fe({__name:"BaseAudioElement",props:{elementInfo:{}},setup(e){const t=e,n=Se(()=>Math.min(t.elementInfo.width,t.elementInfo.height)+"px");return(r,o)=>{const i=xe("IconVolumeNotice");return Q(),ee("div",{class:"base-element-audio",style:we({top:r.elementInfo.top+"px",left:r.elementInfo.left+"px",width:r.elementInfo.width+"px",height:r.elementInfo.height+"px"})},[Y("div",{class:"rotate-wrapper",style:we({transform:`rotate(${r.elementInfo.rotate}deg)`})},[Y("div",Kfe,[w(i,{class:"audio-icon",style:we({fontSize:n.value,color:r.elementInfo.color})},null,8,["style"])])],4)],4)}}}),Gfe=We(Hfe,[["__scopeId","data-v-b33e6120"]]),Jfe=Fe({__name:"ThumbnailElement",props:{elementInfo:{},elementIndex:{}},setup(e){const t=e,n=Se(()=>({[Nt.IMAGE]:EF,[Nt.TEXT]:WF,[Nt.SHAPE]:VF,[Nt.LINE]:UF,[Nt.CHART]:YF,[Nt.TABLE]:QF,[Nt.LATEX]:ZF,[Nt.VIDEO]:Dfe,[Nt.AUDIO]:Gfe})[t.elementInfo.type]||null);return(r,o)=>(Q(),ee("div",{class:$e(["base-element",`base-element-${r.elementInfo.id}`]),style:we({zIndex:r.elementIndex})},[(Q(),Oe(xs(n.value),{elementInfo:r.elementInfo,target:"thumbnail"},null,8,["elementInfo"]))],6))}}),zfe={key:1,class:"placeholder"},jfe=Fe({__name:"index",props:{slide:{},size:{},visible:{type:Boolean,default:!0}},setup(e){const t=e,{viewportRatio:n}=Ee(ct()),r=Se(()=>t.slide.background),{backgroundStyle:o}=u2(r),i=Se(()=>t.size/Ht);return Ku(tf,i),(a,s)=>(Q(),ee("div",{class:"thumbnail-slide",style:we({width:a.size+"px",height:a.size*H(n)+"px"})},[a.visible?(Q(),ee("div",{key:0,class:"elements",style:we({width:H(Ht)+"px",height:H(Ht)*H(n)+"px",transform:`scale(${i.value})`})},[Y("div",{class:"background",style:we(H(o))},null,4),(Q(!0),ee(Ve,null,st(a.slide.elements,(c,l)=>(Q(),Oe(Jfe,{key:c.id,elementInfo:c,elementIndex:l+1},null,8,["elementInfo","elementIndex"]))),128))],4)):(Q(),ee("div",zfe,"加载中 ..."))],4))}}),Fa=We(jfe,[["__scopeId","data-v-cbd76d0a"]]),$fe=["onClick"],qfe=Fe({__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,o)=>(Q(),ee("div",{class:$e(["tabs",{card:r.card,"space-around":r.spaceAround,"space-between":r.spaceBetween}]),style:we(r.tabsStyle||{})},[(Q(!0),ee(Ve,null,st(r.tabs,i=>(Q(),ee("div",{class:$e(["tab",{active:i.key===r.value}]),key:i.key,style:we({...r.tabStyle||{},"--color":i.color}),onClick:a=>n("update:value",i.key)},bt(i.label),15,$fe))),128))],6))}}),As=We(qfe,[["__scopeId","data-v-c7f9dce0"]]),ede=Fe({__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,o=()=>{n.disabled||r("click")};return(i,a)=>(Q(),ee("button",{class:$e(["button",{disabled:i.disabled,checked:!i.disabled&&i.checked,default:!i.disabled&&i.type==="default",primary:!i.disabled&&i.type==="primary",checkbox:!i.disabled&&i.type==="checkbox",radio:!i.disabled&&i.type==="radio",small:i.size==="small",first:i.first,last:i.last}]),onClick:a[0]||(a[0]=s=>o())},[cr(i.$slots,"default",{},void 0,!0)],2))}}),nt=We(ede,[["__scopeId","data-v-3e3d85be"]]),tde={key:0,class:"select-wrap"},nde={class:"selector"},rde={class:"icon"},ode=["onClick"],ide={class:"selector"},ade={class:"icon"},sde=Fe({__name:"Select",props:{value:{},options:{},disabled:{type:Boolean,default:!1}},emits:["update:value"],setup(e,{emit:t}){const n=e,r=Se(()=>{var f;return((f=n.options.find(d=>d.value===n.value))==null?void 0:f.label)||n.value}),o=t,i=me(!1),a=me(),s=me(0),c=()=>{a.value&&(s.value=a.value.clientWidth)},l=new ResizeObserver(c);Gt(()=>{a.value&&l.observe(a.value)}),Tn(()=>{a.value&&l.unobserve(a.value)});const u=f=>{f.disabled||(o("update:value",f.value),i.value=!1)};return(f,d)=>{const h=xe("IconDown");return f.disabled?(Q(),ee("div",tde,[Y("div",{class:"select disabled",ref_key:"selectRef",ref:a},[Y("div",nde,bt(f.value),1),Y("div",rde,[cr(f.$slots,"icon",{},()=>[w(h,{size:14})],!0)])],512)])):(Q(),Oe(kt,{key:1,class:"select-wrap",trigger:"click",value:i.value,"onUpdate:value":d[0]||(d[0]=p=>i.value=p),placement:"bottom",contentStyle:{padding:0,boxShadow:"0 6px 16px 0 rgba(0, 0, 0, 0.08)"}},{content:re(()=>[Y("div",{class:"options",style:we({width:s.value+2+"px"})},[(Q(!0),ee(Ve,null,st(f.options,p=>(Q(),ee("div",{class:$e(["option",{disabled:p.disabled,selected:p.value===f.value}]),key:p.value,onClick:m=>u(p)},bt(p.label),11,ode))),128))],4)]),default:re(()=>[Y("div",{class:"select",ref_key:"selectRef",ref:a},[Y("div",ide,bt(r.value),1),Y("div",ade,[cr(f.$slots,"icon",{},()=>[w(h,{size:14})],!0)])],512)]),_:3},8,["value","contentStyle"]))}}}),Zn=We(sde,[["__scopeId","data-v-618af0ca"]]),lde=e=>(on("data-v-de4d9db3"),e=e(),an(),e),cde={class:"link-dialog"},ude={key:2,class:"preview"},fde=lde(()=>Y("div",null,"预览:",-1)),dde={class:"btns"},hde=Fe({__name:"LinkDialog",emits:["close"],setup(e,{emit:t}){var p;const n=t,{handleElement:r}=Ee(ft()),{slides:o,currentSlide:i}=Ee(ct()),a=me("web"),s=me(""),c=me(""),l=Se(()=>o.value.map((m,A)=>({label:`幻灯片 ${A+1}`,value:m.id,disabled:i.value.id===m.id})));c.value=((p=o.value.find(m=>m.id!==i.value.id))==null?void 0:p.id)||"";const u=Se(()=>c.value&&o.value.find(m=>m.id===c.value)||null),f=[{key:"web",label:"网页链接"},{key:"slide",label:"幻灯片页面"}],{setLink:d}=XF();Gt(()=>{var m;(m=r.value)!=null&&m.link&&(r.value.link.type==="web"?s.value=r.value.link.target:r.value.link.type==="slide"&&(c.value=r.value.link.target),a.value=r.value.link.type)});const h=()=>{const m={type:a.value,target:a.value==="web"?s.value:c.value};r.value&&(d(r.value,m)?n("close"):s.value="")};return(m,A)=>(Q(),ee("div",cde,[w(As,{tabs:f,value:a.value,"onUpdate:value":A[0]||(A[0]=x=>a.value=x),tabsStyle:{marginBottom:"20px"}},null,8,["value"]),a.value==="web"?(Q(),Oe(Eu,{key:0,class:"input",value:s.value,"onUpdate:value":A[1]||(A[1]=x=>s.value=x),placeholder:"请输入网页链接地址"},null,8,["value"])):Be("",!0),a.value==="slide"?(Q(),Oe(Zn,{key:1,class:"input",value:c.value,"onUpdate:value":A[2]||(A[2]=x=>c.value=x),options:l.value},null,8,["value","options"])):Be("",!0),a.value==="slide"&&u.value?(Q(),ee("div",ude,[fde,w(Fa,{class:"thumbnail",slide:u.value,size:500},null,8,["slide"])])):Be("",!0),Y("div",dde,[w(nt,{onClick:A[3]||(A[3]=x=>n("close")),style:{"margin-right":"10px"}},{default:re(()=>[Ye("取消")]),_:1}),w(nt,{type:"primary",onClick:A[4]||(A[4]=x=>h())},{default:re(()=>[Ye("确认")]),_:1})])]))}}),pde=We(hde,[["__scopeId","data-v-de4d9db3"]]),mde=Fe({__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}=Uv,r=e,o=me(),i=t,a=me(!1),s=Se(()=>({width:r.width+"px",...r.contentStyle||{}}));Tt(()=>r.visible,()=>{r.visible&&Vr(()=>o.value.focus())});const c=()=>{i("update:visible",!1),i("closed")},l=()=>{r.visible&&r.closeOnEsc&&c()},u=()=>{r.closeOnClickMask&&c()};return(f,d)=>(Q(),Oe($x,{to:"body"},[w(ku,{name:"modal-fade"},{default:re(()=>[Ze(Y("div",{class:"modal",ref_key:"modalRef",ref:o,tabindex:"-1",onKeyup:d[4]||(d[4]=gc(h=>l(),["esc"]))},[Y("div",{class:"mask",onClick:d[0]||(d[0]=h=>u())}),w(ku,{name:"modal-zoom",onAfterLeave:d[2]||(d[2]=h=>a.value=!1),onBeforeEnter:d[3]||(d[3]=h=>a.value=!0)},{default:re(()=>[Ze(Y("div",{class:"modal-content",style:we(s.value)},[f.closeButton?(Q(),ee("span",{key:0,class:"close-btn",onClick:d[1]||(d[1]=h=>c())},[w(H(n))])):Be("",!0),a.value?cr(f.$slots,"default",{key:1},void 0,!0):Be("",!0)],4),[[il,f.visible]])]),_:3})],544),[[il,f.visible]])]),_:3})]))}}),Zp=We(mde,[["__scopeId","data-v-4d27bcca"]]),vde={class:"operates"},gde={key:2,class:"drag-mask"},Ade=Fe({__name:"index",setup(e){const t=ft(),{activeElementIdList:n,activeGroupElementId:r,handleElementId:o,hiddenElementIdList:i,editorAreaFocus:a,gridLineSize:s,showRuler:c,creatingElement:l,creatingCustomShape:u,canvasScale:f,textFormatPainter:d}=Ee(t),{currentSlide:h}=Ee(ct()),{ctrlKeyState:p,spaceKeyState:m}=Ee(Ss()),A=me(),x=me([]),R=me(!1),y=()=>R.value=!0;Tt(o,()=>{t.setActiveGroupElementId("")});const g=me([]);Og(()=>{g.value=h.value?JSON.parse(JSON.stringify(h.value.elements)):[]});const L=me(),{dragViewport:T,viewportStyles:M}=Roe(L);xoe(L);const{mouseSelection:O,mouseSelectionVisible:k,mouseSelectionQuadrant:_,updateMouseSelection:N}=yoe(g,A),{dragElement:X}=hI(g,x,f),{dragLineElement:C}=Moe(g),{selectElement:F}=Soe(g,X),{scaleElement:I,scaleMultiElement:V}=dI(g,x,f),{rotateElement:B}=uI(g,A,f),{moveShapeKeypoint:G}=woe(g,f),{selectAllElement:ne}=Cb(),{deleteAllElements:E}=kp(),{pasteElement:Z}=Pb(),{enterScreeningFromStart:K}=Mc(),{updateSlideIndex:U}=Dd(),{createTextElement:J,createShapeElement:le}=ju();Gt(()=>{n.value.length&&Vr(()=>t.setActiveElementIdList([]))});const ie=se=>{n.value.length&&t.setActiveElementIdList([]),m.value?T(se):N(se),a.value||t.setEditorareaFocus(!0),d.value&&t.setTextFormatPainter(null),Aoe()},oe=se=>{if(n.value.length||l.value||u.value||!A.value)return;const ve=A.value.getBoundingClientRect(),ce=(se.pageX-ve.x)/f.value,de=(se.pageY-ve.y)/f.value;J({left:ce,top:de,width:200/f.value,height:0})};Tn(()=>{d.value&&t.setTextFormatPainter(null)});const pe=()=>{a.value&&t.setEditorareaFocus(!1)},{scaleCanvas:ge}=Fb(),ye=_n.throttle(ge,100,{leading:!0,trailing:!1}),z=_n.throttle(U,300,{leading:!0,trailing:!1}),ae=se=>{se.preventDefault(),p.value?se.deltaY>0?ye("-"):se.deltaY<0&&ye("+"):se.deltaY>0?z(Rt.DOWN):se.deltaY<0&&z(Rt.UP)},W=()=>{t.setRulerState(!c.value)},{insertElementFromCreateSelection:j,formatCreateSelection:ue}=Loe(A),$=se=>{const{start:ve,end:ce,path:de,viewBox:be}=se,_e=ue({start:ve,end:ce});if(_e){const Ie={};se.fill&&(Ie.fill=se.fill),se.outline&&(Ie.outline=se.outline),le(_e,{path:de,viewBox:be},Ie)}t.setCreatingCustomShapeState(!1)},q=()=>[{text:"粘贴",subText:"Ctrl + V",handler:Z},{text:"全选",subText:"Ctrl + A",handler:ne},{text:"标尺",subText:c.value?"√":"",handler:W},{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:E},{divider:!0},{text:"幻灯片放映",subText:"F5",handler:K}];return Ku(tf,f),(se,ve)=>{const ce=Ln("contextmenu"),de=Ln("click-outside");return Ze((Q(),ee("div",{class:"canvas",ref_key:"canvasRef",ref:L,onWheel:ve[4]||(ve[4]=be=>ae(be)),onMousedown:ve[5]||(ve[5]=be=>ie(be)),onDblclick:ve[6]||(ve[6]=be=>oe(be))},[H(l)?(Q(),Oe(Oue,{key:0,onCreated:ve[0]||(ve[0]=be=>H(j)(be))})):Be("",!0),H(u)?(Q(),Oe(Pue,{key:1,onCreated:ve[1]||(ve[1]=be=>$(be))})):Be("",!0),Y("div",{class:"viewport-wrapper",style:we({width:H(M).width*H(f)+"px",height:H(M).height*H(f)+"px",left:H(M).left+"px",top:H(M).top+"px"})},[Y("div",vde,[(Q(!0),ee(Ve,null,st(x.value,(be,_e)=>(Q(),Oe(_F,{key:_e,type:be.type,axis:be.axis,length:be.length,canvasScale:H(f)},null,8,["type","axis","length","canvasScale"]))),128)),H(n).length>1?(Q(),Oe(_ue,{key:0,elementList:g.value,scaleMultiElement:H(V)},null,8,["elementList","scaleMultiElement"])):Be("",!0),(Q(!0),ee(Ve,null,st(g.value,be=>Ze((Q(),Oe(gfe,{key:be.id,elementInfo:be,isSelected:H(n).includes(be.id),isActive:H(o)===be.id,isActiveGroupElement:H(r)===be.id,isMultiSelect:H(n).length>1,rotateElement:H(B),scaleElement:H(I),openLinkDialog:y,dragLineElement:H(C),moveShapeKeypoint:H(G)},null,8,["elementInfo","isSelected","isActive","isActiveGroupElement","isMultiSelect","rotateElement","scaleElement","dragLineElement","moveShapeKeypoint"])),[[il,!H(i).includes(be.id)]])),128)),w(Rue)]),Y("div",{class:"viewport",ref_key:"viewportRef",ref:A,style:we({transform:`scale(${H(f)})`})},[H(k)?(Q(),Oe(hue,{key:0,top:H(O).top,left:H(O).left,width:H(O).width,height:H(O).height,quadrant:H(_)},null,8,["top","left","width","height","quadrant"])):Be("",!0),(Q(!0),ee(Ve,null,st(g.value,(be,_e)=>Ze((Q(),Oe(fue,{key:be.id,elementInfo:be,elementIndex:_e+1,isMultiSelect:H(n).length>1,selectElement:H(F),openLinkDialog:y},null,8,["elementInfo","elementIndex","isMultiSelect","selectElement"])),[[il,!H(i).includes(be.id)]])),128))],4)],4),H(m)?(Q(),ee("div",gde)):Be("",!0),H(c)?(Q(),Oe(Sue,{key:3,viewportStyles:H(M)},null,8,["viewportStyles"])):Be("",!0),w(Zp,{visible:R.value,"onUpdate:visible":ve[3]||(ve[3]=be=>R.value=be),width:540},{default:re(()=>[w(pde,{onClose:ve[2]||(ve[2]=be=>R.value=!1)})]),_:1},8,["visible"])],32)),[[ce,q],[de,pe]])}}}),Rde=We(Ade,[["__scopeId","data-v-8da5c669"]]),yde={class:"shape-item-thumbnail"},xde={class:"shape-content"},bde={overflow:"visible",width:"18",height:"18"},Sde=["transform"],Mde=["fill","stroke","d"],wde=Fe({__name:"ShapeItemThumbnail",props:{shape:{}},setup(e){return(t,n)=>(Q(),ee("div",yde,[Y("div",xde,[(Q(),ee("svg",bde,[Y("g",{transform:`scale(${18/t.shape.viewBox[0]}, ${18/t.shape.viewBox[1]}) translate(0,0) matrix(1,0,0,1,0,0)`},[Y("path",{class:$e(["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,Mde)],8,Sde)]))])]))}}),BF=We(wde,[["__scopeId","data-v-2896ae03"]]),Lde={class:"shape-pool"},Ode={class:"category-name"},Tde={class:"shape-list"},kde=Fe({__name:"ShapePool",emits:["select"],setup(e,{emit:t}){const n=t,r=o=>{n("select",o)};return(o,i)=>(Q(),ee("div",Lde,[(Q(!0),ee(Ve,null,st(H(Tb),a=>(Q(),ee("div",{class:"category",key:a.type},[Y("div",Ode,bt(a.type),1),Y("div",Tde,[(Q(!0),ee(Ve,null,st(a.children,(s,c)=>(Q(),Oe(BF,{class:"shape-item",key:c,shape:s,onClick:l=>r(s)},null,8,["shape","onClick"]))),128))])]))),128))]))}}),Nde=We(kde,[["__scopeId","data-v-553b0d02"]]),Pde=[{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 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}]}],Cde={class:"line-pool"},Ide={class:"category-name"},Fde={class:"line-list"},_de=["onClick"],Xde={overflow:"visible",width:"20",height:"20"},Ede=["d","stroke-dasharray","marker-start","marker-end"],Wde=Fe({__name:"LinePool",emits:["select"],setup(e,{emit:t}){const n=t,r=o=>{n("select",o)};return(o,i)=>(Q(),ee("div",Cde,[(Q(!0),ee(Ve,null,st(H(Pde),(a,s)=>(Q(),ee("div",{class:"category",key:a.type},[Y("div",Ide,bt(a.type),1),Y("div",Fde,[(Q(!0),ee(Ve,null,st(a.children,(c,l)=>(Q(),ee("div",{class:"line-item",key:l},[Y("div",{class:"line-content",onClick:u=>r(c)},[(Q(),ee("svg",Xde,[Y("defs",null,[c.points[0]?(Q(),Oe(Fd,{key:0,class:"line-marker",id:`preset-line-${s}-${l}`,position:"start",type:c.points[0],color:"currentColor",baseSize:2},null,8,["id","type"])):Be("",!0),c.points[1]?(Q(),Oe(Fd,{key:1,class:"line-marker",id:`preset-line-${s}-${l}`,position:"end",type:c.points[1],color:"currentColor",baseSize:2},null,8,["id","type"])):Be("",!0)]),Y("path",{class:"line-path",d:c.path,stroke:"currentColor",fill:"none","stroke-width":"2","stroke-dasharray":c.style==="solid"?"0, 0":"4, 1","marker-start":c.points[0]?`url(#${`preset-line-${s}-${l}`}-${c.points[0]}-start)`:"","marker-end":c.points[1]?`url(#${`preset-line-${s}-${l}`}-${c.points[1]}-end)`:""},null,8,Ede)]))],8,_de)]))),128))])]))),128))]))}}),Vde=We(Wde,[["__scopeId","data-v-b07efd40"]]),Ude={class:"chart-pool"},Yde=["onClick"],Qde=Fe({__name:"ChartPool",emits:["select"],setup(e,{emit:t}){const n=t,r=["bar","horizontalBar","line","area","scatter","pie","ring"],o=i=>{n("select",i)};return(i,a)=>{const s=xe("IconChartLine"),c=xe("IconChartHistogram"),l=xe("IconChartPie"),u=xe("IconChartHistogramOne"),f=xe("IconChartLineArea"),d=xe("IconChartRing"),h=xe("IconChartScatter");return Q(),ee("ul",Ude,[(Q(),ee(Ve,null,st(r,(p,m)=>Y("li",{class:"chart-item",key:m},[Y("div",{class:"chart-content",onClick:A=>o(p)},[p==="line"?(Q(),Oe(s,{key:0,size:"24"})):p==="bar"?(Q(),Oe(c,{key:1,size:"24"})):p==="pie"?(Q(),Oe(l,{key:2,size:"24"})):p==="horizontalBar"?(Q(),Oe(u,{key:3,size:"24"})):p==="area"?(Q(),Oe(f,{key:4,size:"24"})):p==="ring"?(Q(),Oe(d,{key:5,size:"24"})):p==="scatter"?(Q(),Oe(h,{key:6,size:"24"})):Be("",!0)],8,Yde)])),64))])}}}),Zde=We(Qde,[["__scopeId","data-v-a4bc3ce2"]]),DF=e=>(on("data-v-d97071e3"),e=e(),an(),e),Bde={class:"prefix"},Dde={class:"input-wrap"},Kde=["disabled","placeholder"],Hde={class:"handlers"},Gde=DF(()=>Y("svg",{fill:"currentColor",width:"1em",height:"1em",viewBox:"64 64 896 896"},[Y("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)),Jde=[Gde],zde=DF(()=>Y("svg",{fill:"currentColor",width:"1em",height:"1em",viewBox:"64 64 896 896"},[Y("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)),jde=[zde],$de={class:"suffix"},qde=Fe({__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,o=me(0),i=me(!1);Tt(()=>n.value,()=>{n.value!==o.value&&(o.value=n.value)},{immediate:!0}),Tt(o,()=>{let c=+o.value;isNaN(c)?c=n.min:c>n.max?c=n.max:c<n.min&&(c=n.min),o.value=c,r("update:value",o.value)});const a=c=>{i.value=!1,r("blur",c)},s=c=>{i.value=!0,r("focus",c)};return(c,l)=>(Q(),ee("div",{class:$e(["number-input",{disabled:c.disabled,focused:i.value}])},[Y("span",Bde,[cr(c.$slots,"prefix",{},void 0,!0)]),Y("div",Dde,[Ze(Y("input",{type:"text",disabled:c.disabled,"onUpdate:modelValue":l[0]||(l[0]=u=>o.value=u),placeholder:c.placeholder,onInput:l[1]||(l[1]=u=>r("input",u)),onFocus:l[2]||(l[2]=u=>s(u)),onBlur:l[3]||(l[3]=u=>a(u)),onChange:l[4]||(l[4]=u=>r("change",u)),onKeydown:l[5]||(l[5]=gc(u=>r("enter",u),["enter"]))},null,40,Kde),[[Dh,o.value]]),Y("div",Hde,[Y("span",{class:"handler",onClick:l[6]||(l[6]=u=>o.value+=c.step)},Jde),Y("span",{class:"handler",onClick:l[7]||(l[7]=u=>o.value-=c.step)},jde)])]),Y("span",$de,[cr(c.$slots,"suffix",{},void 0,!0)])],2))}}),Li=We(qde,[["__scopeId","data-v-d97071e3"]]),KF=e=>(on("data-v-81680e19"),e=e(),an(),e),e0e={class:"table-generator"},t0e={class:"title"},n0e={class:"lef"},r0e=["onMouseenter"],o0e={key:1,class:"custom"},i0e={class:"row"},a0e=KF(()=>Y("div",{class:"label",style:{width:"25%"}},"行数:",-1)),s0e={class:"row"},l0e=KF(()=>Y("div",{class:"label",style:{width:"25%"}},"列数:",-1)),c0e={class:"btns"},u0e=Fe({__name:"TableGenerator",emits:["insert","close"],setup(e,{emit:t}){const n=t,r=me([]),o=me(3),i=me(3),a=me(!1),s=()=>{if(!r.value.length)return;const[u,f]=r.value;n("insert",{row:u,col:f})},c=()=>{if(o.value<1||o.value>20||i.value<1||i.value>20)return wn.warning("行数/列数必须在0~20之间");n("insert",{row:o.value,col:i.value}),a.value=!1},l=()=>{n("close"),a.value=!1};return(u,f)=>(Q(),ee("div",e0e,[Y("div",t0e,[Y("div",n0e,"表格 "+bt(r.value.length?`${r.value[0]} x ${r.value[1]}`:""),1),Y("div",{class:"right",onClick:f[0]||(f[0]=d=>a.value=!a.value)},bt(a.value?"返回":"自定义"),1)]),a.value?(Q(),ee("div",o0e,[Y("div",i0e,[a0e,w(Li,{min:1,max:20,value:o.value,"onUpdate:value":f[3]||(f[3]=d=>o.value=d),style:{width:"75%"}},null,8,["value"])]),Y("div",s0e,[l0e,w(Li,{min:1,max:20,value:i.value,"onUpdate:value":f[4]||(f[4]=d=>i.value=d),style:{width:"75%"}},null,8,["value"])]),Y("div",c0e,[w(nt,{class:"btn",onClick:f[5]||(f[5]=d=>l())},{default:re(()=>[Ye("取消")]),_:1}),w(nt,{class:"btn",type:"primary",onClick:f[6]||(f[6]=d=>c())},{default:re(()=>[Ye("确认")]),_:1})])])):(Q(),ee("table",{key:0,onMouseleave:f[1]||(f[1]=d=>r.value=[]),onClick:f[2]||(f[2]=d=>s())},[Y("tbody",null,[(Q(),ee(Ve,null,st(10,d=>Y("tr",{key:d},[(Q(),ee(Ve,null,st(10,h=>Y("td",{onMouseenter:p=>r.value=[d,h],key:h},[Y("div",{class:$e(["cell",{active:r.value.length&&d<=r.value[0]&&h<=r.value[1]}])},null,2)],40,r0e)),64))])),64))])],32))]))}}),f0e=We(u0e,[["__scopeId","data-v-81680e19"]]),d0e={class:"media-input"},h0e={class:"btns"},p0e={class:"btns"},m0e=Fe({__name:"MediaInput",emits:["insertVideo","insertAudio","close"],setup(e,{emit:t}){const n=t,r=me("video"),o=me("https://mazwai.com/videvo_files/video/free/2019-01/small_watermarked/181004_04_Dolphins-Whale_06_preview.webm"),i=me("https://freesound.org/data/previews/614/614107_11861866-lq.mp3"),a=[{key:"video",label:"视频"},{key:"audio",label:"音频"}],s=()=>{if(!o.value)return wn.error("请先输入正确的视频地址");n("insertVideo",o.value)},c=()=>{if(!i.value)return wn.error("请先输入正确的音频地址");n("insertAudio",i.value)};return(l,u)=>(Q(),ee("div",d0e,[w(As,{tabs:a,value:r.value,"onUpdate:value":u[0]||(u[0]=f=>r.value=f),tabsStyle:{marginBottom:"15px"}},null,8,["value"]),r.value==="video"?(Q(),ee(Ve,{key:0},[w(Eu,{value:o.value,"onUpdate:value":u[1]||(u[1]=f=>o.value=f),placeholder:"请输入视频地址e.g. https://xxx.mp4"},null,8,["value"]),Y("div",h0e,[w(nt,{onClick:u[2]||(u[2]=f=>n("close")),style:{"margin-right":"10px"}},{default:re(()=>[Ye("取消")]),_:1}),w(nt,{type:"primary",onClick:u[3]||(u[3]=f=>s())},{default:re(()=>[Ye("确认")]),_:1})])],64)):Be("",!0),r.value==="audio"?(Q(),ee(Ve,{key:1},[w(Eu,{value:i.value,"onUpdate:value":u[4]||(u[4]=f=>i.value=f),placeholder:"请输入音频地址e.g. https://xxx.mp3"},null,8,["value"]),Y("div",p0e,[w(nt,{onClick:u[5]||(u[5]=f=>n("close")),style:{"margin-right":"10px"}},{default:re(()=>[Ye("取消")]),_:1}),w(nt,{type:"primary",onClick:u[6]||(u[6]=f=>c())},{default:re(()=>[Ye("确认")]),_:1})])],64)):Be("",!0)]))}}),v0e=We(m0e,[["__scopeId","data-v-999b18ca"]]);var bm=82;function jf(e){return ax[e]==null&&g0e(e),ax[e]}function g0e(e){var t=A0e[e];if(t!=null){for(var n=t.substring(3,5),r=1*n.charCodeAt(0)-bm,o=1*n.charCodeAt(1)-bm,i=t.substring(5),a=[[]],s=1/0,c=-1/0,l=1/0,u=-1/0,f=0;f<i.length;){var d=i.substring(f,f+2);if(d==" R")a.push([]);else{var h=d.charCodeAt(0)-bm-r,p=d.charCodeAt(1)-bm;s=Math.min(p,s),c=Math.max(p,c),l=Math.min(h,l),u=Math.max(h,u),a[a.length-1].push([h,p])}f+=2}ax[e]={w:o-r,xmin:l,xmax:u,ymin:s,ymax:c,polylines:a}}}var ax={},A0e={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"},hn={"\\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 tv(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 xi={SUB_SUP_SCALE:.75,SQRT_MAG_SCALE:.5,FRAC_SCALE:.85,LINE_SPACING:.5,FRAC_SPACING:.4};function R0e(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 y0e(e){return{type:hn[e]?"symb":"char",mode:"math",text:e,chld:[],bbox:null}}function sx(e){let t=0,n={type:"node",text:"",mode:"math",chld:[],bbox:null};function r(){if(e[t]!="[")return null;let i=0,a=t,s;for(;a<e.length;){if(e[a]=="[")i++;else if(e[a]=="]"&&(i--,!i))break;a++}return s=sx(e.slice(t+1,a)),t=a,s}function o(i){let a=t,s=a,c=0,l=0,u=[];for(;a<e.length;){if(e[a]=="{")c||(s=a),c++;else if(e[a]=="}"){if(c--,!c&&(u.push(sx(e.slice(s+1,a))),l++,l==i))break}else if(c==0&&(u.push(y0e(e[a])),l++,l==i))break;a++}return t=a,u}for(t=0;t<e.length;t++){let i=hn[e[t]],a={type:"",text:e[t],mode:"math",chld:[],bbox:null};if(i)if(i.arity){t++,a.type="func";let s=null;i.flags.opt&&(s=r(),s&&t++);let c=o(i.arity);a.chld=c,s&&a.chld.push(s)}else a.type="symb";else e[t]=="{"?(a.type="node",a.text="",a.chld=o(1)):a.type="char";n.chld.push(a)}return n.chld.length==1&&(n=n.chld[0]),n}function HF(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));HF(r),e[t].text=e[t].chld[0].text,e[t].chld=r,e.splice(t+1,1)}t++}}function Oo(e,t,n,r,o,i){if(n==null&&(n=t),!!e.bbox){i&&(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++)Oo(e.chld[a],t,n,0,0,!0);e.bbox.x+=r,e.bbox.y+=o}}function GF(e){let t=1/0,n=-1/0,r=1/0,o=-1/0;for(let i=0;i<e.length;i++)e[i].bbox&&(t=Math.min(t,e[i].bbox.x),r=Math.min(r,e[i].bbox.y),n=Math.max(n,e[i].bbox.x+e[i].bbox.w),o=Math.max(o,e[i].bbox.y+e[i].bbox.h));return{x:t,y:r,w:n-t,h:o-r}}function x0e(e){if(!e.length)return null;let t=GF(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 b0e(e,t="center"){for(let l=0;l<e.length;l++)if(e[l].text=="^"||e[l].text=="'"){let u=0,f=l;for(;f>0&&(e[f].text=="^"||e[f].text=="_"||e[f].text=="'");)f--;u=e[f].bbox.y,e[l].text=="'"?e[l].bbox.y=u:(Oo(e[l],xi.SUB_SUP_SCALE,null,0,0),hn[e[f].text]&&hn[e[f].text].flags.big?e[l].bbox.y=u-e[l].bbox.h:e[f].text=="\\int"?e[l].bbox.y=u:e[l].bbox.y=u-e[l].bbox.h/2)}else if(e[l].text=="_"){let u=1,f=l;for(;f>0&&(e[f].text=="^"||e[f].text=="_"||e[f].text=="'");)f--;u=e[f].bbox.y+e[f].bbox.h,Oo(e[l],xi.SUB_SUP_SCALE,null,0,0),hn[e[f].text]&&hn[e[f].text].flags.big?e[l].bbox.y=u:e[f].text=="\\int"?e[l].bbox.y=u-e[l].bbox.h:e[l].bbox.y=u-e[l].bbox.h/2}function n(l,u,f,d,h){let p=l,m=h,A=1/0,x=-1/0;for(;d>0?p<e.length:p>=0;){if(e[p].text==u)m++;else if(e[p].text==f){if(m--,m==0)break}else e[p].text=="^"||e[p].text=="_"||e[p].bbox&&(A=Math.min(A,e[p].bbox.y),x=Math.max(x,e[p].bbox.y+e[p].bbox.h));p+=d}return[A,x]}for(let l=0;l<e.length;l++)if(e[l].text=="\\left"){const[u,f]=n(l,"\\left","\\right",1,0);u!=1/0&&f!=-1/0&&(e[l].bbox.y=u,Oo(e[l],1,(f-u)/e[l].bbox.h,0,0))}else if(e[l].text=="\\right"){const[u,f]=n(l,"\\right","\\left",-1,0);u!=1/0&&f!=-1/0&&(e[l].bbox.y=u,Oo(e[l],1,(f-u)/e[l].bbox.h,0,0))}else if(e[l].text=="\\middle"){const[u,f]=n(l,"\\right","\\left",-1,1),[d,h]=n(l,"\\left","\\right",1,1);let p=Math.min(u,d),m=Math.max(f,h);p!=1/0&&m!=-1/0&&(e[l].bbox.y=p,Oo(e[l],1,(m-p)/e[l].bbox.h,0,0))}if(!e.some(l=>l.text=="&"||l.text=="\\\\"))return;let r=[],o=[],i=[];for(let l=0;l<e.length;l++)e[l].text=="&"?(o.push(i),i=[]):e[l].text=="\\\\"?(i.length&&(o.push(i),i=[]),r.push(o),o=[]):i.push(e[l]);i.length&&o.push(i),o.length&&r.push(o);let a=[],s=[];for(let l=0;l<r.length;l++){let u=[];for(let f=0;f<r[l].length;f++){let d=x0e(r[l][f]);d&&(a[f]=a[f]||0,a[f]=Math.max(d.bbox.w+1,a[f])),u[f]=d}s.push(u)}let c=[];for(let l=0;l<s.length;l++){let u=1/0,f=-1/0;for(let d=0;d<s[l].length;d++)s[l][d]&&(u=Math.min(u,s[l][d].bbox.y),f=Math.max(f,s[l][d].bbox.y+s[l][d].bbox.h));c.push([u,f])}for(let l=0;l<c.length;l++)(c[l][0]==1/0||c[l][1]==1/0)&&(c[l][0]=l==0?0:c[l-1][1],c[l][1]=c[l][0]+2);for(let l=1;l<s.length;l++){let u=c[l-1][1]-c[l][0]+xi.LINE_SPACING;for(let f=0;f<s[l].length;f++)s[l][f]&&(s[l][f].bbox.y+=u);c[l][0]+=u,c[l][1]+=u}e.splice(0,e.length);for(let l=0;l<s.length;l++){let u=0;for(let f=0;f<s[l].length;f++){let d=s[l][f];if(!d){u+=a[f];continue}d.bbox.x+=u,u+=a[f]-d.bbox.w,t=="center"?d.bbox.x+=(a[f]-d.bbox.w)/2:t=="left"||(t=="right"||t=="equation"&&f!=s[l].length-1)&&(d.bbox.x+=a[f]-d.bbox.w),e.push(d)}}}function Da(e,t="math"){var n,r,o;let i=(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(hn[e.text])if(hn[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(hn[e.text].flags.txt){let s=0;for(var a=1;a<e.text.length;a++)s+=jf(tv(e.text[a],"text")).w;s/=16,e.bbox={x:0,y:0,w:s,h:2}}else if(hn[e.text].glyph){let s=jf(hn[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++)jf(tv(e.text[a],i))&&(i=="tt"?s+=16:s+=jf(tv(e.text[a],i)).w);s/=16,e.bbox={x:0,y:0,w:s,h:2}}e.mode=i;return}if(e.text=="\\frac"){let s=e.chld[0],c=e.chld[1],l=xi.FRAC_SCALE;Da(s),Da(c),s.bbox.x=0,s.bbox.y=0,c.bbox.x=0,c.bbox.y=0;let u=Math.max(s.bbox.w,c.bbox.w)*l;Oo(s,l,null,(u-s.bbox.w*l)/2,0),Oo(c,l,null,(u-c.bbox.w*l)/2,s.bbox.h+xi.FRAC_SPACING),e.bbox={x:0,y:-s.bbox.h+1-xi.FRAC_SPACING/2,w:u,h:s.bbox.h+c.bbox.h+xi.FRAC_SPACING}}else if(e.text=="\\binom"){let s=e.chld[0],c=e.chld[1];Da(s),Da(c),s.bbox.x=0,s.bbox.y=0,c.bbox.x=0,c.bbox.y=0;let l=Math.max(s.bbox.w,c.bbox.w);Oo(s,1,null,(l-s.bbox.w)/2+1,0),Oo(c,1,null,(l-c.bbox.w)/2+1,s.bbox.h),e.bbox={x:0,y:-s.bbox.h+1,w:l+2,h:s.bbox.h+c.bbox.h}}else if(e.text=="\\sqrt"){let s=e.chld[0];Da(s);let c=e.chld[1],l=0;c&&(Da(c),l=Math.max(c.bbox.w*xi.SQRT_MAG_SCALE-.5,0),Oo(c,xi.SQRT_MAG_SCALE,null,0,.5)),Oo(s,1,null,1+l,.5),e.bbox={x:0,y:2-s.bbox.h-.5,w:s.bbox.w+1+l,h:s.bbox.h+.5}}else if(hn[e.text]&&hn[e.text].flags.hat){let s=e.chld[0];Da(s),Oo(s,1,null,0,.5),e.bbox={x:0,y:-.5,w:s.bbox.w,h:s.bbox.h+.5}}else if(hn[e.text]&&hn[e.text].flags.mat){let s=e.chld[0];Da(s),e.bbox={x:0,y:0,w:s.bbox.w,h:s.bbox.h+.5}}else{let s=0,c=0,l=1;for(let m=0;m<e.chld.length;m++){let A=e.chld[m],x=(r={"\\quad":2,"\\,":2*3/18,"\\:":2*4/18,"\\;":2*5/18,"\\!":2*-3/18}[A.text])!=null?r:null;if(A.text=="\\\\"){c+=l,s=0,l=1;continue}else{if(A.text=="&")continue;if(x!=null){s+=x;continue}else{if(Da(A,i),Oo(A,1,null,s,c),A.text=="^"||A.text=="_"||A.text=="'"){let R=m;for(;R>0&&(e.chld[R].text=="^"||e.chld[R].text=="_"||e.chld[R].text=="'");)R--;let y=hn[e.chld[R].text]&&hn[e.chld[R].text].flags.big;if(A.text=="'"){let g=R+1,S=0;for(;g<m;)e.chld[g].text=="'"&&S++,g++;A.bbox.x=e.chld[R].bbox.x+e.chld[R].bbox.w+A.bbox.w*S,s=Math.max(s,A.bbox.x+A.bbox.w)}else if(y){let g=e.chld[R].bbox.x+(e.chld[R].bbox.w-A.bbox.w*xi.SUB_SUP_SCALE)/2;A.bbox.x=g,s=Math.max(s,e.chld[R].bbox.x+e.chld[R].bbox.w+(A.bbox.w*xi.SUB_SUP_SCALE-e.chld[R].bbox.w)/2)}else A.bbox.x=e.chld[R].bbox.x+e.chld[R].bbox.w,s=Math.max(s,A.bbox.x+A.bbox.w*xi.SUB_SUP_SCALE)}else s+=A.bbox.w;t=="text"&&(s+=1),l=Math.max(A.bbox.y+A.bbox.h-c,l)}}}c+=l;let u={bmatrix:["[","]"],pmatrix:["(",")"],Bmatrix:["\\{","\\}"],cases:["\\{"]},f=(o={bmatrix:"center",pmatrix:"center",Bmatrix:"center",cases:"left",matrix:"center",aligned:"equation"}[e.text])!=null?o:"left",d=!!u[e.text],h=!!u[e.text]&&u[e.text].length>1;b0e(e.chld,f);let p=GF(e.chld);e.text=="\\text"&&(p.x-=1,p.w+=2);for(let m=0;m<e.chld.length;m++)Oo(e.chld[m],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:u[e.text][0],mode:e.mode,chld:[],bbox:{x:0,y:0,w:1,h:p.h}}),h&&e.chld.push({type:"symb",text:u[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 S0e(e){function t(r,o,i){let a=[];if(r.bbox){if(o+=r.bbox.x,i+=r.bbox.y,r.text=="\\frac"){let c=r.chld[1].bbox.y-(r.chld[0].bbox.y+r.chld[0].bbox.h),l={type:"symb",mode:r.mode,text:"\\bar",bbox:{x:o,y:i+(r.chld[1].bbox.y-c/2)-c/2,w:r.bbox.w,h:c},chld:[]};a.push(l)}else if(r.text=="\\sqrt"){let c=r.chld[0].bbox.y,l=Math.max(0,r.chld[0].bbox.x-r.chld[0].bbox.h/2),u={type:"symb",mode:r.mode,text:"\\sqrt",bbox:{x:o+l,y:i+c/2,w:r.chld[0].bbox.x-l,h:r.bbox.h-c/2},chld:[]};a.push(u),a.push({type:"symb",text:"\\bar",mode:r.mode,bbox:{x:o+r.chld[0].bbox.x,y:i,w:r.bbox.w-r.chld[0].bbox.x,h:c},chld:[]})}else if(r.text=="\\binom"){let c=Math.min(r.chld[0].bbox.x,r.chld[1].bbox.x),l={type:"symb",mode:r.mode,text:"(",bbox:{x:o,y:i,w:c,h:r.bbox.h},chld:[]};a.push(l),a.push({type:"symb",text:")",mode:r.mode,bbox:{x:o+r.bbox.w-c,y:i,w:c,h:r.bbox.h},chld:[]})}else if(hn[r.text]&&hn[r.text].flags.hat){let c=r.chld[0].bbox.y,l={type:"symb",mode:r.mode,text:r.text,bbox:{x:o,y:i,w:r.bbox.w,h:c},chld:[]};a.push(l)}else if(hn[r.text]&&hn[r.text].flags.mat){let c=r.chld[0].bbox.h,l={type:"symb",text:r.text,mode:r.mode,bbox:{x:o,y:i+c,w:r.bbox.w,h:r.bbox.h-c},chld:[]};a.push(l)}else if(r.type!="node"&&r.text!="^"&&r.text!="_"){let c={type:r.type=="func"?"symb":r.type,text:r.text,mode:r.mode,bbox:{x:o,y:i,w:r.bbox.w,h:r.bbox.h},chld:[]};a.push(c)}}for(var s=0;s<r.chld.length;s++){let c=t(r.chld[s],o,i);a.push(...c)}return a}let n=t(e,-e.bbox.x,-e.bbox.y);e.type="node",e.text="",e.chld=n}function M0e(e){let t=[];for(let n=0;n<e.chld.length;n++){let r=e.chld[n],o=r.bbox.h/2,i=!1;if(hn[r.text]&&hn[r.text].flags.hat&&!hn[r.text].flags.xfl&&!hn[r.text].flags.yfl&&(o*=4,i=!0),hn[r.text]&&hn[r.text].glyph){let a=jf(hn[r.text].glyph);for(let s=0;s<a.polylines.length;s++){let c=[];for(let l=0;l<a.polylines[s].length;l++){let u=a.polylines[s][l][0],f=a.polylines[s][l][1];if(hn[r.text].flags.xfl)u=(u-a.xmin)/Math.max(a.xmax-a.xmin,1)*r.bbox.w,u+=r.bbox.x;else if(a.w/16*o>r.bbox.w)u=u/Math.max(a.w,1)*r.bbox.w,u+=r.bbox.x;else{u=u/16*o;let d=(r.bbox.w-a.w/16*o)/2;u+=r.bbox.x+d}if(hn[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*o,i){let d=(a.ymax+a.ymin)/2;f-=d/16*o}f+=r.bbox.y+r.bbox.h/2}c.push([u,f])}t.push(c)}}else if(hn[r.text]&&hn[r.text].flags.txt||r.type=="char"){let a=r.bbox.x,s=!!(hn[r.text]&&hn[r.text].flags.txt);for(let c=Number(s);c<r.text.length;c++){let l=jf(tv(r.text[c],s?"text":r.mode));if(!l){console.warn("unmapped character: "+r.text[c]);continue}for(let u=0;u<l.polylines.length;u++){let f=[];for(let d=0;d<l.polylines[u].length;d++){let h=l.polylines[u][d][0],p=l.polylines[u][d][1];h/=16,p/=16,h*=o,p*=o,r.mode=="tt"&&(l.w>16?h*=16/l.w:h+=(16-l.w)/2/16),h+=a,p+=r.bbox.y+r.bbox.h/2,f.push([h,p])}t.push(f)}r.mode=="tt"?a+=o:a+=l.w/16*o}}}return t}function Za(e){return Math.round(e*100)/100}var M5=class{constructor(e){this._latex=e,this._tokens=R0e(e),this._tree=sx(this._tokens),HF(this._tree.chld),Da(this._tree),S0e(this._tree),this._polylines=M0e(this._tree)}resolveScale(e){var t,n,r,o;if(e==null)return[16,16,16,16];let i=(t=e.SCALE_X)!=null?t:16,a=(n=e.SCALE_Y)!=null?n:16;if(e.MIN_CHAR_H!=null){let l=0;for(let f=0;f<this._tree.chld.length;f++){let d=this._tree.chld[f];(d.type=="char"||hn[d.text]&&(hn[d.text].flags.txt||!Object.keys(hn[d.text].flags).length))&&(l=Math.min(d.bbox.h,l))}let u=Math.max(1,e.MIN_CHAR_H/l);i*=u,a*=u}if(e.MAX_W!=null){let l=i;i=Math.min(i,e.MAX_W/this._tree.bbox.w),a*=i/l}if(e.MAX_H!=null){let l=a;a=Math.min(a,e.MAX_H/this._tree.bbox.h),i*=a/l}let s=(r=e.MARGIN_X)!=null?r:i,c=(o=e.MARGIN_Y)!=null?o:a;return[s,c,i,a]}polylines(e){e||(e={});let t=[],[n,r,o,i]=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[c,l]=this._polylines[a][s];t[t.length-1].push([n+c*o,r+l*i])}}return t}pathd(e){e||(e={});let t="",[n,r,o,i]=this.resolveScale(e);for(let a=0;a<this._polylines.length;a++)for(let s=0;s<this._polylines[a].length;s++){let[c,l]=this._polylines[a][s];t+=s?"L":"M",t+=`${Za(n+c*o)} ${Za(r+l*i)}`}return t}svg(e){var t,n;e||(e={});let[r,o,i,a]=this.resolveScale(e),s=Za(this._tree.bbox.w*i+r*2),c=Za(this._tree.bbox.h*a+o*2),l=`<svg
xmlns="http://www.w3.org/2000/svg"
width="${s}" height="${c}"
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&&(l+=`<rect x="0" y="0" width="${s}" height="${c}" fill="${e.BG_COLOR}" stroke="none"></rect>`),l+='<path d="';for(let u=0;u<this._polylines.length;u++){l+="M";for(let f=0;f<this._polylines[u].length;f++){let[d,h]=this._polylines[u][f];l+=Za(r+d*i)+" "+Za(o+h*a)+" "}}return l+='"/>',l+="</svg>",l}pdf(e){var t;e||(e={});let[n,r,o,i]=this.resolveScale(e),a=Za(this._tree.bbox.w*o+n*2),s=Za(this._tree.bbox.h*i+r*2),c=`%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 [`,l="",u=4;for(let p=0;p<this._polylines.length;p++){l+=`${u} 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];l+=`${Za(n+d*o)} ${Za(s-(r+h*i))} ${f?"l":"m"} `}l+=`
S
endstream
endobj
`,c+=`${u} 0 R `,u++}return c+=`]
>>
endobj
`,l+=`
trailer
<< /Root 1 0 R
/Size 0
>>startxref
%%EOF
`,c+l}boxes(e){e||(e={});let[t,n,r,o]=this.resolveScale(e),i=[];for(let a=0;a<this._tree.chld.length;a++){let{x:s,y:c,w:l,h:u}=this._tree.chld[a].bbox;i.push({x:t+s*r,y:n+c*o,w:l*r,h:u*o})}return i}box(e){e||(e={});let[t,n,r,o]=this.resolveScale(e);return{x:t+this._tree.bbox.x*r,y:n+this._tree.bbox.y*o,w:this._tree.bbox.w*r,h:this._tree.bbox.h*o}}};xi.SUB_SUP_SCALE=.5;const w0e=[{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"}],Jy=[{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"}]}],L0e=["width","height"],O0e=["transform"],T0e=["d"],k0e=Fe({__name:"FormulaContent",props:{latex:{},width:{},height:{}},setup(e){const t=e,n=me({x:0,y:0,w:0,h:0}),r=me("");Tt(()=>t.latex,()=>{const i=new M5(t.latex);r.value=i.pathd({}),n.value=i.box({})},{immediate:!0});const o=Se(()=>{const i=n.value.w+32,a=n.value.h+32;return i>t.width||a>t.height?i/a>t.width/t.height?t.width/i:t.height/a:1});return(i,a)=>(Q(),ee("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"},[Y("g",{transform:`scale(${o.value}, ${o.value}) translate(0,0) matrix(1,0,0,1,0,0)`,"transform-origin":"0 50%"},[Y("path",{d:r.value},null,8,T0e)],8,O0e)],8,L0e))}}),kT=We(k0e,[["__scopeId","data-v-fa1b116d"]]),N0e=["innerHTML"],P0e=Fe({__name:"SymbolContent",props:{latex:{}},setup(e){const t=e,n=Se(()=>new M5(t.latex).svg({SCALE_X:10,SCALE_Y:10}));return(r,o)=>(Q(),ee("div",{class:"symbol-content",innerHTML:n.value},null,8,N0e))}}),C0e=["disabled","value","rows","placeholder"],I0e=Fe({__name:"TextArea",props:{value:{},rows:{default:4},disabled:{type:Boolean,default:!1},resizable:{type:Boolean,default:!1},placeholder:{default:""}},emits:["update:value"],setup(e,{expose:t,emit:n}){const r=n,o=s=>{r("update:value",s.target.value)},i=me();return t({focus:()=>{i.value&&i.value.focus()}}),(s,c)=>(Q(),ee("textarea",{class:$e(["textarea",{disabled:s.disabled,resizable:s.resizable}]),ref_key:"textareaRef",ref:i,disabled:s.disabled,value:s.value,rows:s.rows,placeholder:s.placeholder,onInput:c[0]||(c[0]=l=>o(l))},null,42,C0e))}}),F0e=We(I0e,[["__scopeId","data-v-7acfd65e"]]),_0e={class:"latex-editor"},X0e={class:"container"},E0e={class:"left"},W0e={class:"input-area"},V0e={class:"preview"},U0e={key:0,class:"placeholder"},Y0e={key:1,class:"preview-content"},Q0e={class:"right"},Z0e={class:"content"},B0e={key:0,class:"symbol"},D0e={class:"symbol-pool"},K0e=["onClick"],H0e={key:1,class:"formula"},G0e={class:"formula-title"},J0e=["onClick"],z0e={class:"footer"},j0e=Fe({__name:"index",props:{value:{default:""}},emits:["update","close"],setup(e,{emit:t}){const n=[{label:"常用符号",key:"symbol"},{label:"预置公式",key:"formula"}],r=e,o=t,i=w0e,a=Jy.map(p=>({label:p.label,key:p.type})),s=me(""),c=me("symbol"),l=me(),u=me(Jy[0].type),f=Se(()=>{const p=Jy.find(m=>m.type===u.value);return(p==null?void 0:p.children)||[]});Gt(()=>{r.value&&(s.value=r.value)});const d=()=>{if(!s.value)return wn.error("公式不能为空");const p=new M5(s.value),m=p.pathd({}),A=p.box({});o("update",{latex:s.value,path:m,w:A.w+32,h:A.h+32})},h=p=>{l.value&&(l.value.focus(),document.execCommand("insertText",!1,p))};return(p,m)=>(Q(),ee("div",_0e,[Y("div",X0e,[Y("div",E0e,[Y("div",W0e,[w(F0e,{value:s.value,"onUpdate:value":m[0]||(m[0]=A=>s.value=A),placeholder:"输入 LaTeX 公式",ref_key:"textAreaRef",ref:l},null,8,["value"])]),Y("div",V0e,[s.value?(Q(),ee("div",Y0e,[w(kT,{width:518,height:138,latex:s.value},null,8,["latex"])])):(Q(),ee("div",U0e,"公式预览"))])]),Y("div",Q0e,[w(As,{tabs:n,value:c.value,"onUpdate:value":m[1]||(m[1]=A=>c.value=A),card:""},null,8,["value"]),Y("div",Z0e,[c.value==="symbol"?(Q(),ee("div",B0e,[w(As,{tabs:H(a),value:u.value,"onUpdate:value":m[2]||(m[2]=A=>u.value=A),spaceBetween:"",tabsStyle:{margin:"10px 10px 0"}},null,8,["tabs","value"]),Y("div",D0e,[(Q(!0),ee(Ve,null,st(f.value,A=>(Q(),ee("div",{class:"symbol-item",key:A.latex,onClick:x=>h(A.latex)},[w(P0e,{latex:A.latex},null,8,["latex"])],8,K0e))),128))])])):(Q(),ee("div",H0e,[(Q(!0),ee(Ve,null,st(H(i),A=>(Q(),ee("div",{class:"formula-item",key:A.label},[Y("div",G0e,bt(A.label),1),Y("div",{class:"formula-item-content",onClick:x=>s.value=A.latex},[w(kT,{width:236,height:60,latex:A.latex},null,8,["latex"])],8,J0e)]))),128))]))])])]),Y("div",z0e,[w(nt,{class:"btn",onClick:m[3]||(m[3]=A=>o("close"))},{default:re(()=>[Ye("取消")]),_:1}),w(nt,{class:"btn",type:"primary",onClick:m[4]||(m[4]=A=>d())},{default:re(()=>[Ye("确定")]),_:1})])]))}}),JF=We(j0e,[["__scopeId","data-v-44075c46"]]),$0e={class:"canvas-tool"},q0e={class:"left-handler"},ehe={class:"add-element-handler"},the={class:"handler-item group-btn"},nhe={class:"right-handler"},rhe={class:"text"},ohe=Fe({__name:"index",setup(e){const t=ft(),{creatingElement:n,creatingCustomShape:r,showSelectPanel:o,showSearchPanel:i}=Ee(t),{canUndo:a,canRedo:s}=Ee(Zg()),{redo:c,undo:l}=Jt(),{scaleCanvas:u,setCanvasScalePercentage:f,resetCanvas:d,canvasScalePercentage:h}=Fb(),p=[200,150,100,80,50],m=me(!1),A=ne=>{f(ne),m.value=!1},{createImageElement:x,createChartElement:R,createTableElement:y,createLatexElement:g,createVideoElement:S,createAudioElement:L}=ju(),T=ne=>{const E=ne[0];E&&Ju(E).then(Z=>x(Z))},M=me(!1),O=me(!1),k=me(!1),_=me(!1),N=me(!1),X=me(!1),C=me(!1),F=(ne=!1)=>{t.setCreatingElement({type:"text",vertical:ne})},I=ne=>{ne.title==="任意多边形"?t.setCreatingCustomShapeState(!0):t.setCreatingElement({type:"shape",data:ne}),M.value=!1},V=ne=>{t.setCreatingElement({type:"line",data:ne}),O.value=!1},B=()=>{t.setSelectPanelState(!o.value)},G=()=>{t.setSearchPanelState(!i.value)};return(ne,E)=>{var ce;const Z=xe("IconBack"),K=xe("IconNext"),U=xe("IconMoveOne"),J=xe("IconSearch"),le=xe("IconFontSize"),ie=xe("IconTextRotationNone"),oe=xe("IconTextRotationDown"),pe=xe("IconDown"),ge=xe("IconPicture"),ye=xe("IconGraphicDesign"),z=xe("IconConnection"),ae=xe("IconChartProportion"),W=xe("IconInsertTable"),j=xe("IconFormula"),ue=xe("IconVideoTwo"),$=xe("IconMinus"),q=xe("IconPlus"),se=xe("IconFullScreen"),ve=Ln("tooltip");return Q(),ee("div",$0e,[Y("div",q0e,[Ze(w(Z,{class:$e(["handler-item",{disable:!H(a)}]),onClick:E[0]||(E[0]=de=>H(l)())},null,8,["class"]),[[ve,"撤销"]]),Ze(w(K,{class:$e(["handler-item",{disable:!H(s)}]),onClick:E[1]||(E[1]=de=>H(c)())},null,8,["class"]),[[ve,"重做"]]),w(Vt,{type:"vertical",style:{height:"20px"}}),Ze(w(U,{class:$e(["handler-item",{active:H(o)}]),onClick:E[2]||(E[2]=de=>B())},null,8,["class"]),[[ve,"选择窗格"]]),Ze(w(J,{class:$e(["handler-item",{active:H(i)}]),onClick:E[3]||(E[3]=de=>G())},null,8,["class"]),[[ve,"查找/替换"]])]),Y("div",ehe,[Ze((Q(),ee("div",the,[w(le,{class:$e(["icon",{active:((ce=H(n))==null?void 0:ce.type)==="text"}]),onClick:E[4]||(E[4]=de=>F())},null,8,["class"]),w(kt,{trigger:"click",value:C.value,"onUpdate:value":E[7]||(E[7]=de=>C.value=de),style:{height:"100%"}},{content:re(()=>[w(Ho,{center:"",onClick:E[5]||(E[5]=()=>{F(),C.value=!1})},{default:re(()=>[w(ie),Ye(" 横向文本框")]),_:1}),w(Ho,{center:"",onClick:E[6]||(E[6]=()=>{F(!0),C.value=!1})},{default:re(()=>[w(oe),Ye(" 竖向文本框")]),_:1})]),default:re(()=>[w(pe,{class:"arrow"})]),_:1},8,["value"])])),[[ve,"插入文字"]]),w(Xu,{onChange:E[8]||(E[8]=de=>T(de))},{default:re(()=>[Ze(w(ge,{class:"handler-item"},null,512),[[ve,"插入图片"]])]),_:1}),w(kt,{trigger:"click",value:M.value,"onUpdate:value":E[10]||(E[10]=de=>M.value=de)},{content:re(()=>[w(Nde,{onSelect:E[9]||(E[9]=de=>I(de))})]),default:re(()=>{var de;return[Ze(w(ye,{class:$e(["handler-item",{active:H(r)||((de=H(n))==null?void 0:de.type)==="shape"}])},null,8,["class"]),[[ve,"插入形状"]])]}),_:1},8,["value"]),w(kt,{trigger:"click",value:O.value,"onUpdate:value":E[12]||(E[12]=de=>O.value=de)},{content:re(()=>[w(Vde,{onSelect:E[11]||(E[11]=de=>V(de))})]),default:re(()=>{var de;return[Ze(w(z,{class:$e(["handler-item",{active:((de=H(n))==null?void 0:de.type)==="line"}])},null,8,["class"]),[[ve,"插入线条"]])]}),_:1},8,["value"]),w(kt,{trigger:"click",value:k.value,"onUpdate:value":E[14]||(E[14]=de=>k.value=de)},{content:re(()=>[w(Zde,{onSelect:E[13]||(E[13]=de=>{H(R)(de),k.value=!1})})]),default:re(()=>[Ze(w(ae,{class:"handler-item"},null,512),[[ve,"插入图表"]])]),_:1},8,["value"]),w(kt,{trigger:"click",value:_.value,"onUpdate:value":E[17]||(E[17]=de=>_.value=de)},{content:re(()=>[w(f0e,{onClose:E[15]||(E[15]=de=>_.value=!1),onInsert:E[16]||(E[16]=({row:de,col:be})=>{H(y)(de,be),_.value=!1})})]),default:re(()=>[Ze(w(W,{class:"handler-item"},null,512),[[ve,"插入表格"]])]),_:1},8,["value"]),Ze(w(j,{class:"handler-item",onClick:E[18]||(E[18]=de=>X.value=!0)},null,512),[[ve,"插入公式"]]),w(kt,{trigger:"click",value:N.value,"onUpdate:value":E[22]||(E[22]=de=>N.value=de)},{content:re(()=>[w(v0e,{onClose:E[19]||(E[19]=de=>N.value=!1),onInsertVideo:E[20]||(E[20]=de=>{H(S)(de),N.value=!1}),onInsertAudio:E[21]||(E[21]=de=>{H(L)(de),N.value=!1})})]),default:re(()=>[Ze(w(ue,{class:"handler-item"},null,512),[[ve,"插入音视频"]])]),_:1},8,["value"])]),Y("div",nhe,[w($,{class:"handler-item viewport-size",onClick:E[23]||(E[23]=de=>H(u)("-"))}),w(kt,{trigger:"click",value:m.value,"onUpdate:value":E[24]||(E[24]=de=>m.value=de)},{content:re(()=>[(Q(),ee(Ve,null,st(p,de=>w(Ho,{center:"",key:de,onClick:be=>A(de)},{default:re(()=>[Ye(bt(de)+"%",1)]),_:2},1032,["onClick"])),64))]),default:re(()=>[Y("span",rhe,bt(H(h)),1)]),_:1},8,["value"]),w(q,{class:"handler-item viewport-size",onClick:E[25]||(E[25]=de=>H(u)("+"))}),Ze(w(se,{class:"handler-item viewport-size-adaptation",onClick:E[26]||(E[26]=de=>H(d)())},null,512),[[ve,"适应屏幕"]])]),w(Zp,{visible:X.value,"onUpdate:visible":E[29]||(E[29]=de=>X.value=de),width:880},{default:re(()=>[w(JF,{onClose:E[27]||(E[27]=de=>X.value=!1),onUpdate:E[28]||(E[28]=de=>{H(g)(de),X.value=!1})})]),_:1},8,["visible"])])}}}),ihe=We(ohe,[["__scopeId","data-v-ce7e5a5b"]]),Bp=()=>{const{slides:e}=Ee(ct()),t=me(null),n=me(50),r=()=>{e.value.length>n.value?t.value=setTimeout(()=>{n.value=n.value+20,r()},600):n.value=9999};return Gt(r),Tn(()=>{t.value&&clearTimeout(t.value)}),{slidesLoadLimit:n}},ahe={class:"layout-pool"},she=["onClick"],lhe=Fe({__name:"LayoutPool",emits:["select"],setup(e,{emit:t}){const n=t,{layouts:r}=Ee(ct()),o=i=>{n("select",i)};return(i,a)=>(Q(),ee("div",ahe,[(Q(!0),ee(Ve,null,st(H(r),s=>(Q(),ee("div",{class:"layout-item",key:s.id,onClick:c=>o(s)},[w(Fa,{class:"thumbnail",slide:s,size:180},null,8,["slide"])],8,she))),128))]))}}),che=We(lhe,[["__scopeId","data-v-7015b27d"]]);var zF={exports:{}};const uhe=cb(IK);/**!
* Sortable 1.14.0
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>
* @license MIT
*/function NT(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Rs(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?NT(Object(n),!0).forEach(function(r){fhe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):NT(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function nv(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?nv=function(t){return typeof t}:nv=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nv(e)}function fhe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ra(){return ra=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},ra.apply(this,arguments)}function dhe(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function hhe(e,t){if(e==null)return{};var n=dhe(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function phe(e){return mhe(e)||vhe(e)||ghe(e)||Ahe()}function mhe(e){if(Array.isArray(e))return lx(e)}function vhe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ghe(e,t){if(e){if(typeof e=="string")return lx(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 lx(e,t)}}function lx(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 Ahe(){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 Rhe="1.14.0";function rl(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var dl=rl(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Dp=rl(/Edge/i),PT=rl(/firefox/i),Nh=rl(/safari/i)&&!rl(/chrome/i)&&!rl(/android/i),jF=rl(/iP(ad|od|hone)/i),yhe=rl(/chrome/i)&&rl(/android/i),$F={capture:!1,passive:!1};function gn(e,t,n){e.addEventListener(t,n,!dl&&$F)}function un(e,t,n){e.removeEventListener(t,n,!dl&&$F)}function cg(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 xhe(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Sa(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&cg(e,t):cg(e,t))||r&&e===n)return e;if(e===n)break}while(e=xhe(e))}return null}var CT=/\s+/g;function dr(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(CT," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(CT," ")}}function Lt(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 Su(e,t){var n="";if(typeof e=="string")n=e;else do{var r=Lt(e,"transform");r&&r!=="none"&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function qF(e,t,n){if(e){var r=e.getElementsByTagName(t),o=0,i=r.length;if(n)for(;o<i;o++)n(r[o],o);return r}return[]}function hs(){var e=document.scrollingElement;return e||document.documentElement}function or(e,t,n,r,o){if(!(!e.getBoundingClientRect&&e!==window)){var i,a,s,c,l,u,f;if(e!==window&&e.parentNode&&e!==hs()?(i=e.getBoundingClientRect(),a=i.top,s=i.left,c=i.bottom,l=i.right,u=i.height,f=i.width):(a=0,s=0,c=window.innerHeight,l=window.innerWidth,u=window.innerHeight,f=window.innerWidth),(t||n)&&e!==window&&(o=o||e.parentNode,!dl))do if(o&&o.getBoundingClientRect&&(Lt(o,"transform")!=="none"||n&&Lt(o,"position")!=="static")){var d=o.getBoundingClientRect();a-=d.top+parseInt(Lt(o,"border-top-width")),s-=d.left+parseInt(Lt(o,"border-left-width")),c=a+i.height,l=s+i.width;break}while(o=o.parentNode);if(r&&e!==window){var h=Su(o||e),p=h&&h.a,m=h&&h.d;h&&(a/=m,s/=p,f/=p,u/=m,c=a+u,l=s+f)}return{top:a,left:s,bottom:c,right:l,width:f,height:u}}}function IT(e,t,n){for(var r=oc(e,!0),o=or(e)[t];r;){var i=or(r)[n],a=void 0;if(n==="top"||n==="left"?a=o>=i:a=o<=i,!a)return r;if(r===hs())break;r=oc(r,!1)}return!1}function _d(e,t,n,r){for(var o=0,i=0,a=e.children;i<a.length;){if(a[i].style.display!=="none"&&a[i]!==Wt.ghost&&(r||a[i]!==Wt.dragged)&&Sa(a[i],n.draggable,e,!1)){if(o===t)return a[i];o++}i++}return null}function w5(e,t){for(var n=e.lastElementChild;n&&(n===Wt.ghost||Lt(n,"display")==="none"||t&&!cg(n,t));)n=n.previousElementSibling;return n||null}function Ar(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Wt.clone&&(!t||cg(e,t))&&n++;return n}function FT(e){var t=0,n=0,r=hs();if(e)do{var o=Su(e),i=o.a,a=o.d;t+=e.scrollLeft*i,n+=e.scrollTop*a}while(e!==r&&(e=e.parentNode));return[t,n]}function bhe(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 oc(e,t){if(!e||!e.getBoundingClientRect)return hs();var n=e,r=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=Lt(n);if(n.clientWidth<n.scrollWidth&&(o.overflowX=="auto"||o.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(o.overflowY=="auto"||o.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return hs();if(r||t)return n;r=!0}}while(n=n.parentNode);return hs()}function She(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function zy(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 Ph;function e_(e,t){return function(){if(!Ph){var n=arguments,r=this;n.length===1?e.call(r,n[0]):e.apply(r,n),Ph=setTimeout(function(){Ph=void 0},t)}}}function Mhe(){clearTimeout(Ph),Ph=void 0}function t_(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function L5(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 _T(e,t){Lt(e,"position","absolute"),Lt(e,"top",t.top),Lt(e,"left",t.left),Lt(e,"width",t.width),Lt(e,"height",t.height)}function jy(e){Lt(e,"position",""),Lt(e,"top",""),Lt(e,"left",""),Lt(e,"width",""),Lt(e,"height","")}var mo="Sortable"+new Date().getTime();function whe(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var r=[].slice.call(this.el.children);r.forEach(function(o){if(!(Lt(o,"display")==="none"||o===Wt.ghost)){e.push({target:o,rect:or(o)});var i=Rs({},e[e.length-1].rect);if(o.thisAnimationDuration){var a=Su(o,!0);a&&(i.top-=a.f,i.left-=a.e)}o.fromRect=i}})}},addAnimationState:function(r){e.push(r)},removeAnimationState:function(r){e.splice(bhe(e,{target:r}),1)},animateAll:function(r){var o=this;if(!this.options.animation){clearTimeout(t),typeof r=="function"&&r();return}var i=!1,a=0;e.forEach(function(s){var c=0,l=s.target,u=l.fromRect,f=or(l),d=l.prevFromRect,h=l.prevToRect,p=s.rect,m=Su(l,!0);m&&(f.top-=m.f,f.left-=m.e),l.toRect=f,l.thisAnimationDuration&&zy(d,f)&&!zy(u,f)&&(p.top-f.top)/(p.left-f.left)===(u.top-f.top)/(u.left-f.left)&&(c=Ohe(p,d,h,o.options)),zy(f,u)||(l.prevFromRect=u,l.prevToRect=f,c||(c=o.options.animation),o.animate(l,p,f,c)),c&&(i=!0,a=Math.max(a,c),clearTimeout(l.animationResetTimer),l.animationResetTimer=setTimeout(function(){l.animationTime=0,l.prevFromRect=null,l.fromRect=null,l.prevToRect=null,l.thisAnimationDuration=null},c),l.thisAnimationDuration=c)}),clearTimeout(t),i?t=setTimeout(function(){typeof r=="function"&&r()},a):typeof r=="function"&&r(),e=[]},animate:function(r,o,i,a){if(a){Lt(r,"transition",""),Lt(r,"transform","");var s=Su(this.el),c=s&&s.a,l=s&&s.d,u=(o.left-i.left)/(c||1),f=(o.top-i.top)/(l||1);r.animatingX=!!u,r.animatingY=!!f,Lt(r,"transform","translate3d("+u+"px,"+f+"px,0)"),this.forRepaintDummy=Lhe(r),Lt(r,"transition","transform "+a+"ms"+(this.options.easing?" "+this.options.easing:"")),Lt(r,"transform","translate3d(0,0,0)"),typeof r.animated=="number"&&clearTimeout(r.animated),r.animated=setTimeout(function(){Lt(r,"transition",""),Lt(r,"transform",""),r.animated=!1,r.animatingX=!1,r.animatingY=!1},a)}}}}function Lhe(e){return e.offsetWidth}function Ohe(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 Tf=[],$y={initializeByDefault:!0},Kp={mount:function(t){for(var n in $y)$y.hasOwnProperty(n)&&!(n in t)&&(t[n]=$y[n]);Tf.forEach(function(r){if(r.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),Tf.push(t)},pluginEvent:function(t,n,r){var o=this;this.eventCanceled=!1,r.cancel=function(){o.eventCanceled=!0};var i=t+"Global";Tf.forEach(function(a){n[a.pluginName]&&(n[a.pluginName][i]&&n[a.pluginName][i](Rs({sortable:n},r)),n.options[a.pluginName]&&n[a.pluginName][t]&&n[a.pluginName][t](Rs({sortable:n},r)))})},initializePlugins:function(t,n,r,o){Tf.forEach(function(s){var c=s.pluginName;if(!(!t.options[c]&&!s.initializeByDefault)){var l=new s(t,n,t.options);l.sortable=t,l.options=t.options,t[c]=l,ra(r,l.defaults)}});for(var i in t.options)if(t.options.hasOwnProperty(i)){var a=this.modifyOption(t,i,t.options[i]);typeof a<"u"&&(t.options[i]=a)}},getEventProperties:function(t,n){var r={};return Tf.forEach(function(o){typeof o.eventProperties=="function"&&ra(r,o.eventProperties.call(n[o.pluginName],t))}),r},modifyOption:function(t,n,r){var o;return Tf.forEach(function(i){t[i.pluginName]&&i.optionListeners&&typeof i.optionListeners[n]=="function"&&(o=i.optionListeners[n].call(t[i.pluginName],r))}),o}};function $0(e){var t=e.sortable,n=e.rootEl,r=e.name,o=e.targetEl,i=e.cloneEl,a=e.toEl,s=e.fromEl,c=e.oldIndex,l=e.newIndex,u=e.oldDraggableIndex,f=e.newDraggableIndex,d=e.originalEvent,h=e.putSortable,p=e.extraEventProperties;if(t=t||n&&n[mo],!!t){var m,A=t.options,x="on"+r.charAt(0).toUpperCase()+r.substr(1);window.CustomEvent&&!dl&&!Dp?m=new CustomEvent(r,{bubbles:!0,cancelable:!0}):(m=document.createEvent("Event"),m.initEvent(r,!0,!0)),m.to=a||n,m.from=s||n,m.item=o||n,m.clone=i,m.oldIndex=c,m.newIndex=l,m.oldDraggableIndex=u,m.newDraggableIndex=f,m.originalEvent=d,m.pullMode=h?h.lastPutMode:void 0;var R=Rs(Rs({},p),Kp.getEventProperties(r,t));for(var y in R)m[y]=R[y];n&&n.dispatchEvent(m),A[x]&&A[x].call(t,m)}}var The=["evt"],Zo=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=r.evt,i=hhe(r,The);Kp.pluginEvent.bind(Wt)(t,n,Rs({dragEl:pt,parentEl:vr,ghostEl:tn,rootEl:tr,nextEl:jc,lastDownEl:rv,cloneEl:gr,cloneHidden:jl,dragStarted:q0,putSortable:zr,activeSortable:Wt.active,originalEvent:o,oldIndex:$f,oldDraggableIndex:Ch,newIndex:gi,newDraggableIndex:Kl,hideGhostForTarget:i_,unhideGhostForTarget:a_,cloneNowHidden:function(){jl=!0},cloneNowShown:function(){jl=!1},dispatchSortableEvent:function(s){wo({sortable:n,name:s,originalEvent:o})}},i))};function wo(e){$0(Rs({putSortable:zr,cloneEl:gr,targetEl:pt,rootEl:tr,oldIndex:$f,oldDraggableIndex:Ch,newIndex:gi,newDraggableIndex:Kl},e))}var pt,vr,tn,tr,jc,rv,gr,jl,$f,gi,Ch,Kl,Sm,zr,Df=!1,ug=!1,fg=[],Dc,da,qy,e4,XT,ET,q0,kf,Ih,Fh=!1,Mm=!1,ov,lo,t4=[],cx=!1,dg=[],f2=typeof document<"u",wm=jF,WT=Dp||dl?"cssFloat":"float",khe=f2&&!yhe&&!jF&&"draggable"in document.createElement("div"),n_=function(){if(f2){if(dl)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),r_=function(t,n){var r=Lt(t),o=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),i=_d(t,0,n),a=_d(t,1,n),s=i&&Lt(i),c=a&&Lt(a),l=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+or(i).width,u=c&&parseInt(c.marginLeft)+parseInt(c.marginRight)+or(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(i&&s.float&&s.float!=="none"){var f=s.float==="left"?"left":"right";return a&&(c.clear==="both"||c.clear===f)?"vertical":"horizontal"}return i&&(s.display==="block"||s.display==="flex"||s.display==="table"||s.display==="grid"||l>=o&&r[WT]==="none"||a&&r[WT]==="none"&&l+u>o)?"vertical":"horizontal"},Nhe=function(t,n,r){var o=r?t.left:t.top,i=r?t.right:t.bottom,a=r?t.width:t.height,s=r?n.left:n.top,c=r?n.right:n.bottom,l=r?n.width:n.height;return o===s||i===c||o+a/2===s+l/2},Phe=function(t,n){var r;return fg.some(function(o){var i=o[mo].options.emptyInsertThreshold;if(!(!i||w5(o))){var a=or(o),s=t>=a.left-i&&t<=a.right+i,c=n>=a.top-i&&n<=a.bottom+i;if(s&&c)return r=o}}),r},o_=function(t){function n(i,a){return function(s,c,l,u){var f=s.options.group.name&&c.options.group.name&&s.options.group.name===c.options.group.name;if(i==null&&(a||f))return!0;if(i==null||i===!1)return!1;if(a&&i==="clone")return i;if(typeof i=="function")return n(i(s,c,l,u),a)(s,c,l,u);var d=(a?s:c).options.group.name;return i===!0||typeof i=="string"&&i===d||i.join&&i.indexOf(d)>-1}}var r={},o=t.group;(!o||nv(o)!="object")&&(o={name:o}),r.name=o.name,r.checkPull=n(o.pull,!0),r.checkPut=n(o.put),r.revertClone=o.revertClone,t.group=r},i_=function(){!n_&&tn&&Lt(tn,"display","none")},a_=function(){!n_&&tn&&Lt(tn,"display","")};f2&&document.addEventListener("click",function(e){if(ug)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),ug=!1,!1},!0);var Kc=function(t){if(pt){t=t.touches?t.touches[0]:t;var n=Phe(t.clientX,t.clientY);if(n){var r={};for(var o in t)t.hasOwnProperty(o)&&(r[o]=t[o]);r.target=r.rootEl=n,r.preventDefault=void 0,r.stopPropagation=void 0,n[mo]._onDragOver(r)}}},Che=function(t){pt&&pt.parentNode[mo]._isOutsideThisEl(t.target)};function Wt(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=ra({},t),e[mo]=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 r_(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:Wt.supportPointer!==!1&&"PointerEvent"in window&&!Nh,emptyInsertThreshold:5};Kp.initializePlugins(this,e,n);for(var r in n)!(r in t)&&(t[r]=n[r]);o_(t);for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this));this.nativeDraggable=t.forceFallback?!1:khe,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?gn(e,"pointerdown",this._onTapStart):(gn(e,"mousedown",this._onTapStart),gn(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(gn(e,"dragover",this),gn(e,"dragenter",this)),fg.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),ra(this,whe())}Wt.prototype={constructor:Wt,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(kf=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,pt):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,r=this.el,o=this.options,i=o.preventOnFilter,a=t.type,s=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,c=(s||t).target,l=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||c,u=o.filter;if(Uhe(r),!pt&&!(/mousedown|pointerdown/.test(a)&&t.button!==0||o.disabled)&&!l.isContentEditable&&!(!this.nativeDraggable&&Nh&&c&&c.tagName.toUpperCase()==="SELECT")&&(c=Sa(c,o.draggable,r,!1),!(c&&c.animated)&&rv!==c)){if($f=Ar(c),Ch=Ar(c,o.draggable),typeof u=="function"){if(u.call(this,t,c,this)){wo({sortable:n,rootEl:l,name:"filter",targetEl:c,toEl:r,fromEl:r}),Zo("filter",n,{evt:t}),i&&t.cancelable&&t.preventDefault();return}}else if(u&&(u=u.split(",").some(function(f){if(f=Sa(l,f.trim(),r,!1),f)return wo({sortable:n,rootEl:f,name:"filter",targetEl:c,fromEl:r,toEl:r}),Zo("filter",n,{evt:t}),!0}),u)){i&&t.cancelable&&t.preventDefault();return}o.handle&&!Sa(l,o.handle,r,!1)||this._prepareDragStart(t,s,c)}}},_prepareDragStart:function(t,n,r){var o=this,i=o.el,a=o.options,s=i.ownerDocument,c;if(r&&!pt&&r.parentNode===i){var l=or(r);if(tr=i,pt=r,vr=pt.parentNode,jc=pt.nextSibling,rv=r,Sm=a.group,Wt.dragged=pt,Dc={target:pt,clientX:(n||t).clientX,clientY:(n||t).clientY},XT=Dc.clientX-l.left,ET=Dc.clientY-l.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,pt.style["will-change"]="all",c=function(){if(Zo("delayEnded",o,{evt:t}),Wt.eventCanceled){o._onDrop();return}o._disableDelayedDragEvents(),!PT&&o.nativeDraggable&&(pt.draggable=!0),o._triggerDragStart(t,n),wo({sortable:o,name:"choose",originalEvent:t}),dr(pt,a.chosenClass,!0)},a.ignore.split(",").forEach(function(u){qF(pt,u.trim(),n4)}),gn(s,"dragover",Kc),gn(s,"mousemove",Kc),gn(s,"touchmove",Kc),gn(s,"mouseup",o._onDrop),gn(s,"touchend",o._onDrop),gn(s,"touchcancel",o._onDrop),PT&&this.nativeDraggable&&(this.options.touchStartThreshold=4,pt.draggable=!0),Zo("delayStart",this,{evt:t}),a.delay&&(!a.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(Dp||dl))){if(Wt.eventCanceled){this._onDrop();return}gn(s,"mouseup",o._disableDelayedDrag),gn(s,"touchend",o._disableDelayedDrag),gn(s,"touchcancel",o._disableDelayedDrag),gn(s,"mousemove",o._delayedDragTouchMoveHandler),gn(s,"touchmove",o._delayedDragTouchMoveHandler),a.supportPointer&&gn(s,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(c,a.delay)}else c()}},_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(){pt&&n4(pt),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;un(t,"mouseup",this._disableDelayedDrag),un(t,"touchend",this._disableDelayedDrag),un(t,"touchcancel",this._disableDelayedDrag),un(t,"mousemove",this._delayedDragTouchMoveHandler),un(t,"touchmove",this._delayedDragTouchMoveHandler),un(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?gn(document,"pointermove",this._onTouchMove):n?gn(document,"touchmove",this._onTouchMove):gn(document,"mousemove",this._onTouchMove):(gn(pt,"dragend",this),gn(tr,"dragstart",this._onDragStart));try{document.selection?iv(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(Df=!1,tr&&pt){Zo("dragStarted",this,{evt:n}),this.nativeDraggable&&gn(document,"dragover",Che);var r=this.options;!t&&dr(pt,r.dragClass,!1),dr(pt,r.ghostClass,!0),Wt.active=this,t&&this._appendGhost(),wo({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(da){this._lastX=da.clientX,this._lastY=da.clientY,i_();for(var t=document.elementFromPoint(da.clientX,da.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(da.clientX,da.clientY),t!==n);)n=t;if(pt.parentNode[mo]._isOutsideThisEl(t),n)do{if(n[mo]){var r=void 0;if(r=n[mo]._onDragOver({clientX:da.clientX,clientY:da.clientY,target:t,rootEl:n}),r&&!this.options.dragoverBubble)break}t=n}while(n=n.parentNode);a_()}},_onTouchMove:function(t){if(Dc){var n=this.options,r=n.fallbackTolerance,o=n.fallbackOffset,i=t.touches?t.touches[0]:t,a=tn&&Su(tn,!0),s=tn&&a&&a.a,c=tn&&a&&a.d,l=wm&&lo&&FT(lo),u=(i.clientX-Dc.clientX+o.x)/(s||1)+(l?l[0]-t4[0]:0)/(s||1),f=(i.clientY-Dc.clientY+o.y)/(c||1)+(l?l[1]-t4[1]:0)/(c||1);if(!Wt.active&&!Df){if(r&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))<r)return;this._onDragStart(t,!0)}if(tn){a?(a.e+=u-(qy||0),a.f+=f-(e4||0)):a={a:1,b:0,c:0,d:1,e:u,f};var d="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");Lt(tn,"webkitTransform",d),Lt(tn,"mozTransform",d),Lt(tn,"msTransform",d),Lt(tn,"transform",d),qy=u,e4=f,da=i}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!tn){var t=this.options.fallbackOnBody?document.body:tr,n=or(pt,!0,wm,!0,t),r=this.options;if(wm){for(lo=t;Lt(lo,"position")==="static"&&Lt(lo,"transform")==="none"&&lo!==document;)lo=lo.parentNode;lo!==document.body&&lo!==document.documentElement?(lo===document&&(lo=hs()),n.top+=lo.scrollTop,n.left+=lo.scrollLeft):lo=hs(),t4=FT(lo)}tn=pt.cloneNode(!0),dr(tn,r.ghostClass,!1),dr(tn,r.fallbackClass,!0),dr(tn,r.dragClass,!0),Lt(tn,"transition",""),Lt(tn,"transform",""),Lt(tn,"box-sizing","border-box"),Lt(tn,"margin",0),Lt(tn,"top",n.top),Lt(tn,"left",n.left),Lt(tn,"width",n.width),Lt(tn,"height",n.height),Lt(tn,"opacity","0.8"),Lt(tn,"position",wm?"absolute":"fixed"),Lt(tn,"zIndex","100000"),Lt(tn,"pointerEvents","none"),Wt.ghost=tn,t.appendChild(tn),Lt(tn,"transform-origin",XT/parseInt(tn.style.width)*100+"% "+ET/parseInt(tn.style.height)*100+"%")}},_onDragStart:function(t,n){var r=this,o=t.dataTransfer,i=r.options;if(Zo("dragStart",this,{evt:t}),Wt.eventCanceled){this._onDrop();return}Zo("setupClone",this),Wt.eventCanceled||(gr=L5(pt),gr.draggable=!1,gr.style["will-change"]="",this._hideClone(),dr(gr,this.options.chosenClass,!1),Wt.clone=gr),r.cloneId=iv(function(){Zo("clone",r),!Wt.eventCanceled&&(r.options.removeCloneOnHide||tr.insertBefore(gr,pt),r._hideClone(),wo({sortable:r,name:"clone"}))}),!n&&dr(pt,i.dragClass,!0),n?(ug=!0,r._loopId=setInterval(r._emulateDragOver,50)):(un(document,"mouseup",r._onDrop),un(document,"touchend",r._onDrop),un(document,"touchcancel",r._onDrop),o&&(o.effectAllowed="move",i.setData&&i.setData.call(r,o,pt)),gn(document,"drop",r),Lt(pt,"transform","translateZ(0)")),Df=!0,r._dragStartId=iv(r._dragStarted.bind(r,n,t)),gn(document,"selectstart",r),q0=!0,Nh&&Lt(document.body,"user-select","none")},_onDragOver:function(t){var n=this.el,r=t.target,o,i,a,s=this.options,c=s.group,l=Wt.active,u=Sm===c,f=s.sort,d=zr||l,h,p=this,m=!1;if(cx)return;function A(B,G){Zo(B,p,Rs({evt:t,isOwner:u,axis:h?"vertical":"horizontal",revert:a,dragRect:o,targetRect:i,canSort:f,fromSortable:d,target:r,completed:R,onMove:function(E,Z){return Lm(tr,n,pt,o,E,or(E),t,Z)},changed:y},G))}function x(){A("dragOverAnimationCapture"),p.captureAnimationState(),p!==d&&d.captureAnimationState()}function R(B){return A("dragOverCompleted",{insertion:B}),B&&(u?l._hideClone():l._showClone(p),p!==d&&(dr(pt,zr?zr.options.ghostClass:l.options.ghostClass,!1),dr(pt,s.ghostClass,!0)),zr!==p&&p!==Wt.active?zr=p:p===Wt.active&&zr&&(zr=null),d===p&&(p._ignoreWhileAnimating=r),p.animateAll(function(){A("dragOverAnimationComplete"),p._ignoreWhileAnimating=null}),p!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(r===pt&&!pt.animated||r===n&&!r.animated)&&(kf=null),!s.dragoverBubble&&!t.rootEl&&r!==document&&(pt.parentNode[mo]._isOutsideThisEl(t.target),!B&&Kc(t)),!s.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),m=!0}function y(){gi=Ar(pt),Kl=Ar(pt,s.draggable),wo({sortable:p,name:"change",toEl:n,newIndex:gi,newDraggableIndex:Kl,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),r=Sa(r,s.draggable,n,!0),A("dragOver"),Wt.eventCanceled)return m;if(pt.contains(t.target)||r.animated&&r.animatingX&&r.animatingY||p._ignoreWhileAnimating===r)return R(!1);if(ug=!1,l&&!s.disabled&&(u?f||(a=vr!==tr):zr===this||(this.lastPutMode=Sm.checkPull(this,l,pt,t))&&c.checkPut(this,l,pt,t))){if(h=this._getDirection(t,r)==="vertical",o=or(pt),A("dragOverValid"),Wt.eventCanceled)return m;if(a)return vr=tr,x(),this._hideClone(),A("revert"),Wt.eventCanceled||(jc?tr.insertBefore(pt,jc):tr.appendChild(pt)),R(!0);var g=w5(n,s.draggable);if(!g||Xhe(t,h,this)&&!g.animated){if(g===pt)return R(!1);if(g&&n===t.target&&(r=g),r&&(i=or(r)),Lm(tr,n,pt,o,r,i,t,!!r)!==!1)return x(),n.appendChild(pt),vr=n,y(),R(!0)}else if(g&&_he(t,h,this)){var S=_d(n,0,s,!0);if(S===pt)return R(!1);if(r=S,i=or(r),Lm(tr,n,pt,o,r,i,t,!1)!==!1)return x(),n.insertBefore(pt,S),vr=n,y(),R(!0)}else if(r.parentNode===n){i=or(r);var L=0,T,M=pt.parentNode!==n,O=!Nhe(pt.animated&&pt.toRect||o,r.animated&&r.toRect||i,h),k=h?"top":"left",_=IT(r,"top","top")||IT(pt,"top","top"),N=_?_.scrollTop:void 0;kf!==r&&(T=i[k],Fh=!1,Mm=!O&&s.invertSwap||M),L=Ehe(t,r,i,h,O?1:s.swapThreshold,s.invertedSwapThreshold==null?s.swapThreshold:s.invertedSwapThreshold,Mm,kf===r);var X;if(L!==0){var C=Ar(pt);do C-=L,X=vr.children[C];while(X&&(Lt(X,"display")==="none"||X===tn))}if(L===0||X===r)return R(!1);kf=r,Ih=L;var F=r.nextElementSibling,I=!1;I=L===1;var V=Lm(tr,n,pt,o,r,i,t,I);if(V!==!1)return(V===1||V===-1)&&(I=V===1),cx=!0,setTimeout(Fhe,30),x(),I&&!F?n.appendChild(pt):r.parentNode.insertBefore(pt,I?F:r),_&&t_(_,0,N-_.scrollTop),vr=pt.parentNode,T!==void 0&&!Mm&&(ov=Math.abs(T-or(r)[k])),y(),R(!0)}if(n.contains(pt))return R(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){un(document,"mousemove",this._onTouchMove),un(document,"touchmove",this._onTouchMove),un(document,"pointermove",this._onTouchMove),un(document,"dragover",Kc),un(document,"mousemove",Kc),un(document,"touchmove",Kc)},_offUpEvents:function(){var t=this.el.ownerDocument;un(t,"mouseup",this._onDrop),un(t,"touchend",this._onDrop),un(t,"pointerup",this._onDrop),un(t,"touchcancel",this._onDrop),un(document,"selectstart",this)},_onDrop:function(t){var n=this.el,r=this.options;if(gi=Ar(pt),Kl=Ar(pt,r.draggable),Zo("drop",this,{evt:t}),vr=pt&&pt.parentNode,gi=Ar(pt),Kl=Ar(pt,r.draggable),Wt.eventCanceled){this._nulling();return}Df=!1,Mm=!1,Fh=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),ux(this.cloneId),ux(this._dragStartId),this.nativeDraggable&&(un(document,"drop",this),un(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Nh&&Lt(document.body,"user-select",""),Lt(pt,"transform",""),t&&(q0&&(t.cancelable&&t.preventDefault(),!r.dropBubble&&t.stopPropagation()),tn&&tn.parentNode&&tn.parentNode.removeChild(tn),(tr===vr||zr&&zr.lastPutMode!=="clone")&&gr&&gr.parentNode&&gr.parentNode.removeChild(gr),pt&&(this.nativeDraggable&&un(pt,"dragend",this),n4(pt),pt.style["will-change"]="",q0&&!Df&&dr(pt,zr?zr.options.ghostClass:this.options.ghostClass,!1),dr(pt,this.options.chosenClass,!1),wo({sortable:this,name:"unchoose",toEl:vr,newIndex:null,newDraggableIndex:null,originalEvent:t}),tr!==vr?(gi>=0&&(wo({rootEl:vr,name:"add",toEl:vr,fromEl:tr,originalEvent:t}),wo({sortable:this,name:"remove",toEl:vr,originalEvent:t}),wo({rootEl:vr,name:"sort",toEl:vr,fromEl:tr,originalEvent:t}),wo({sortable:this,name:"sort",toEl:vr,originalEvent:t})),zr&&zr.save()):gi!==$f&&gi>=0&&(wo({sortable:this,name:"update",toEl:vr,originalEvent:t}),wo({sortable:this,name:"sort",toEl:vr,originalEvent:t})),Wt.active&&((gi==null||gi===-1)&&(gi=$f,Kl=Ch),wo({sortable:this,name:"end",toEl:vr,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){Zo("nulling",this),tr=pt=vr=tn=jc=gr=rv=jl=Dc=da=q0=gi=Kl=$f=Ch=kf=Ih=zr=Sm=Wt.dragged=Wt.ghost=Wt.clone=Wt.active=null,dg.forEach(function(t){t.checked=!0}),dg.length=qy=e4=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":pt&&(this._onDragOver(t),Ihe(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],n,r=this.el.children,o=0,i=r.length,a=this.options;o<i;o++)n=r[o],Sa(n,a.draggable,this.el,!1)&&t.push(n.getAttribute(a.dataIdAttr)||Vhe(n));return t},sort:function(t,n){var r={},o=this.el;this.toArray().forEach(function(i,a){var s=o.children[a];Sa(s,this.options.draggable,o,!1)&&(r[i]=s)},this),n&&this.captureAnimationState(),t.forEach(function(i){r[i]&&(o.removeChild(r[i]),o.appendChild(r[i]))}),n&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,n){return Sa(t,n||this.options.draggable,this.el,!1)},option:function(t,n){var r=this.options;if(n===void 0)return r[t];var o=Kp.modifyOption(this,t,n);typeof o<"u"?r[t]=o:r[t]=n,t==="group"&&o_(r)},destroy:function(){Zo("destroy",this);var t=this.el;t[mo]=null,un(t,"mousedown",this._onTapStart),un(t,"touchstart",this._onTapStart),un(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(un(t,"dragover",this),un(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(n){n.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),fg.splice(fg.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!jl){if(Zo("hideClone",this),Wt.eventCanceled)return;Lt(gr,"display","none"),this.options.removeCloneOnHide&&gr.parentNode&&gr.parentNode.removeChild(gr),jl=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(jl){if(Zo("showClone",this),Wt.eventCanceled)return;pt.parentNode==tr&&!this.options.group.revertClone?tr.insertBefore(gr,pt):jc?tr.insertBefore(gr,jc):tr.appendChild(gr),this.options.group.revertClone&&this.animate(pt,gr),Lt(gr,"display",""),jl=!1}}};function Ihe(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function Lm(e,t,n,r,o,i,a,s){var c,l=e[mo],u=l.options.onMove,f;return window.CustomEvent&&!dl&&!Dp?c=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(c=document.createEvent("Event"),c.initEvent("move",!0,!0)),c.to=t,c.from=e,c.dragged=n,c.draggedRect=r,c.related=o||t,c.relatedRect=i||or(t),c.willInsertAfter=s,c.originalEvent=a,e.dispatchEvent(c),u&&(f=u.call(l,c,a)),f}function n4(e){e.draggable=!1}function Fhe(){cx=!1}function _he(e,t,n){var r=or(_d(n.el,0,n.options,!0)),o=10;return t?e.clientX<r.left-o||e.clientY<r.top&&e.clientX<r.right:e.clientY<r.top-o||e.clientY<r.bottom&&e.clientX<r.left}function Xhe(e,t,n){var r=or(w5(n.el,n.options.draggable)),o=10;return t?e.clientX>r.right+o||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+o}function Ehe(e,t,n,r,o,i,a,s){var c=r?e.clientY:e.clientX,l=r?n.height:n.width,u=r?n.top:n.left,f=r?n.bottom:n.right,d=!1;if(!a){if(s&&ov<l*o){if(!Fh&&(Ih===1?c>u+l*i/2:c<f-l*i/2)&&(Fh=!0),Fh)d=!0;else if(Ih===1?c<u+ov:c>f-ov)return-Ih}else if(c>u+l*(1-o)/2&&c<f-l*(1-o)/2)return Whe(t)}return d=d||a,d&&(c<u+l*i/2||c>f-l*i/2)?c>u+l/2?1:-1:0}function Whe(e){return Ar(pt)<Ar(e)?1:-1}function Vhe(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 Uhe(e){dg.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&dg.push(r)}}function iv(e){return setTimeout(e,0)}function ux(e){return clearTimeout(e)}f2&&gn(document,"touchmove",function(e){(Wt.active||Df)&&e.cancelable&&e.preventDefault()});Wt.utils={on:gn,off:un,css:Lt,find:qF,is:function(t,n){return!!Sa(t,n,t,!1)},extend:She,throttle:e_,closest:Sa,toggleClass:dr,clone:L5,index:Ar,nextTick:iv,cancelNextTick:ux,detectDirection:r_,getChild:_d};Wt.get=function(e){return e[mo]};Wt.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&&(Wt.utils=Rs(Rs({},Wt.utils),r.utils)),Kp.mount(r)})};Wt.create=function(e,t){return new Wt(e,t)};Wt.version=Rhe;var Lr=[],eh,fx,dx=!1,r4,o4,hg,th;function Yhe(){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?gn(document,"dragover",this._handleAutoScroll):this.options.supportPointer?gn(document,"pointermove",this._handleFallbackAutoScroll):r.touches?gn(document,"touchmove",this._handleFallbackAutoScroll):gn(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(n){var r=n.originalEvent;!this.options.dragOverBubble&&!r.rootEl&&this._handleAutoScroll(r)},drop:function(){this.sortable.nativeDraggable?un(document,"dragover",this._handleAutoScroll):(un(document,"pointermove",this._handleFallbackAutoScroll),un(document,"touchmove",this._handleFallbackAutoScroll),un(document,"mousemove",this._handleFallbackAutoScroll)),VT(),av(),Mhe()},nulling:function(){hg=fx=eh=dx=th=r4=o4=null,Lr.length=0},_handleFallbackAutoScroll:function(n){this._handleAutoScroll(n,!0)},_handleAutoScroll:function(n,r){var o=this,i=(n.touches?n.touches[0]:n).clientX,a=(n.touches?n.touches[0]:n).clientY,s=document.elementFromPoint(i,a);if(hg=n,r||this.options.forceAutoScrollFallback||Dp||dl||Nh){i4(n,this.options,s,r);var c=oc(s,!0);dx&&(!th||i!==r4||a!==o4)&&(th&&VT(),th=setInterval(function(){var l=oc(document.elementFromPoint(i,a),!0);l!==c&&(c=l,av()),i4(n,o.options,l,r)},10),r4=i,o4=a)}else{if(!this.options.bubbleScroll||oc(s,!0)===hs()){av();return}i4(n,this.options,oc(s,!1),!1)}}},ra(e,{pluginName:"scroll",initializeByDefault:!0})}function av(){Lr.forEach(function(e){clearInterval(e.pid)}),Lr=[]}function VT(){clearInterval(th)}var i4=e_(function(e,t,n,r){if(t.scroll){var o=(e.touches?e.touches[0]:e).clientX,i=(e.touches?e.touches[0]:e).clientY,a=t.scrollSensitivity,s=t.scrollSpeed,c=hs(),l=!1,u;fx!==n&&(fx=n,av(),eh=t.scroll,u=t.scrollFn,eh===!0&&(eh=oc(n,!0)));var f=0,d=eh;do{var h=d,p=or(h),m=p.top,A=p.bottom,x=p.left,R=p.right,y=p.width,g=p.height,S=void 0,L=void 0,T=h.scrollWidth,M=h.scrollHeight,O=Lt(h),k=h.scrollLeft,_=h.scrollTop;h===c?(S=y<T&&(O.overflowX==="auto"||O.overflowX==="scroll"||O.overflowX==="visible"),L=g<M&&(O.overflowY==="auto"||O.overflowY==="scroll"||O.overflowY==="visible")):(S=y<T&&(O.overflowX==="auto"||O.overflowX==="scroll"),L=g<M&&(O.overflowY==="auto"||O.overflowY==="scroll"));var N=S&&(Math.abs(R-o)<=a&&k+y<T)-(Math.abs(x-o)<=a&&!!k),X=L&&(Math.abs(A-i)<=a&&_+g<M)-(Math.abs(m-i)<=a&&!!_);if(!Lr[f])for(var C=0;C<=f;C++)Lr[C]||(Lr[C]={});(Lr[f].vx!=N||Lr[f].vy!=X||Lr[f].el!==h)&&(Lr[f].el=h,Lr[f].vx=N,Lr[f].vy=X,clearInterval(Lr[f].pid),(N!=0||X!=0)&&(l=!0,Lr[f].pid=setInterval((function(){r&&this.layer===0&&Wt.active._onTouchMove(hg);var F=Lr[this.layer].vy?Lr[this.layer].vy*s:0,I=Lr[this.layer].vx?Lr[this.layer].vx*s:0;typeof u=="function"&&u.call(Wt.dragged.parentNode[mo],I,F,e,hg,Lr[this.layer].el)!=="continue"||t_(Lr[this.layer].el,I,F)}).bind({layer:f}),24))),f++}while(t.bubbleScroll&&d!==c&&(d=oc(d,!1)));dx=l}},30),s_=function(t){var n=t.originalEvent,r=t.putSortable,o=t.dragEl,i=t.activeSortable,a=t.dispatchSortableEvent,s=t.hideGhostForTarget,c=t.unhideGhostForTarget;if(n){var l=r||i;s();var u=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,f=document.elementFromPoint(u.clientX,u.clientY);c(),l&&!l.el.contains(f)&&(a("spill"),this.onSpill({dragEl:o,putSortable:r}))}};function O5(){}O5.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 o=_d(this.sortable.el,this.startIndex,this.options);o?this.sortable.el.insertBefore(n,o):this.sortable.el.appendChild(n),this.sortable.animateAll(),r&&r.animateAll()},drop:s_};ra(O5,{pluginName:"revertOnSpill"});function T5(){}T5.prototype={onSpill:function(t){var n=t.dragEl,r=t.putSortable,o=r||this.sortable;o.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),o.animateAll()},drop:s_};ra(T5,{pluginName:"removeOnSpill"});var Zi;function Qhe(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(n){var r=n.dragEl;Zi=r},dragOverValid:function(n){var r=n.completed,o=n.target,i=n.onMove,a=n.activeSortable,s=n.changed,c=n.cancel;if(a.options.swap){var l=this.sortable.el,u=this.options;if(o&&o!==l){var f=Zi;i(o)!==!1?(dr(o,u.swapClass,!0),Zi=o):Zi=null,f&&f!==Zi&&dr(f,u.swapClass,!1)}s(),r(!0),c()}},drop:function(n){var r=n.activeSortable,o=n.putSortable,i=n.dragEl,a=o||this.sortable,s=this.options;Zi&&dr(Zi,s.swapClass,!1),Zi&&(s.swap||o&&o.options.swap)&&i!==Zi&&(a.captureAnimationState(),a!==r&&r.captureAnimationState(),Zhe(i,Zi),a.animateAll(),a!==r&&r.animateAll())},nulling:function(){Zi=null}},ra(e,{pluginName:"swap",eventProperties:function(){return{swapItem:Zi}}})}function Zhe(e,t){var n=e.parentNode,r=t.parentNode,o,i;!n||!r||n.isEqualNode(t)||r.isEqualNode(e)||(o=Ar(e),i=Ar(t),n.isEqualNode(r)&&o<i&&i++,n.insertBefore(t,n.children[o]),r.insertBefore(e,r.children[i]))}var $t=[],vi=[],b0,ha,S0=!1,Bo=!1,Nf=!1,Hn,M0,Om;function Bhe(){function e(t){for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));t.options.supportPointer?gn(document,"pointerup",this._deselectMultiDrag):(gn(document,"mouseup",this._deselectMultiDrag),gn(document,"touchend",this._deselectMultiDrag)),gn(document,"keydown",this._checkKeyDown),gn(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(o,i){var a="";$t.length&&ha===t?$t.forEach(function(s,c){a+=(c?", ":"")+s.textContent}):a=i.textContent,o.setData("Text",a)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(n){var r=n.dragEl;Hn=r},delayEnded:function(){this.isMultiDrag=~$t.indexOf(Hn)},setupClone:function(n){var r=n.sortable,o=n.cancel;if(this.isMultiDrag){for(var i=0;i<$t.length;i++)vi.push(L5($t[i])),vi[i].sortableIndex=$t[i].sortableIndex,vi[i].draggable=!1,vi[i].style["will-change"]="",dr(vi[i],this.options.selectedClass,!1),$t[i]===Hn&&dr(vi[i],this.options.chosenClass,!1);r._hideClone(),o()}},clone:function(n){var r=n.sortable,o=n.rootEl,i=n.dispatchSortableEvent,a=n.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||$t.length&&ha===r&&(UT(!0,o),i("clone"),a()))},showClone:function(n){var r=n.cloneNowShown,o=n.rootEl,i=n.cancel;this.isMultiDrag&&(UT(!1,o),vi.forEach(function(a){Lt(a,"display","")}),r(),Om=!1,i())},hideClone:function(n){var r=this;n.sortable;var o=n.cloneNowHidden,i=n.cancel;this.isMultiDrag&&(vi.forEach(function(a){Lt(a,"display","none"),r.options.removeCloneOnHide&&a.parentNode&&a.parentNode.removeChild(a)}),o(),Om=!0,i())},dragStartGlobal:function(n){n.sortable,!this.isMultiDrag&&ha&&ha.multiDrag._deselectMultiDrag(),$t.forEach(function(r){r.sortableIndex=Ar(r)}),$t=$t.sort(function(r,o){return r.sortableIndex-o.sortableIndex}),Nf=!0},dragStarted:function(n){var r=this,o=n.sortable;if(this.isMultiDrag){if(this.options.sort&&(o.captureAnimationState(),this.options.animation)){$t.forEach(function(a){a!==Hn&&Lt(a,"position","absolute")});var i=or(Hn,!1,!0,!0);$t.forEach(function(a){a!==Hn&&_T(a,i)}),Bo=!0,S0=!0}o.animateAll(function(){Bo=!1,S0=!1,r.options.animation&&$t.forEach(function(a){jy(a)}),r.options.sort&&Tm()})}},dragOver:function(n){var r=n.target,o=n.completed,i=n.cancel;Bo&&~$t.indexOf(r)&&(o(!1),i())},revert:function(n){var r=n.fromSortable,o=n.rootEl,i=n.sortable,a=n.dragRect;$t.length>1&&($t.forEach(function(s){i.addAnimationState({target:s,rect:Bo?or(s):a}),jy(s),s.fromRect=a,r.removeAnimationState(s)}),Bo=!1,Dhe(!this.options.removeCloneOnHide,o))},dragOverCompleted:function(n){var r=n.sortable,o=n.isOwner,i=n.insertion,a=n.activeSortable,s=n.parentEl,c=n.putSortable,l=this.options;if(i){if(o&&a._hideClone(),S0=!1,l.animation&&$t.length>1&&(Bo||!o&&!a.options.sort&&!c)){var u=or(Hn,!1,!0,!0);$t.forEach(function(d){d!==Hn&&(_T(d,u),s.appendChild(d))}),Bo=!0}if(!o)if(Bo||Tm(),$t.length>1){var f=Om;a._showClone(r),a.options.animation&&!Om&&f&&vi.forEach(function(d){a.addAnimationState({target:d,rect:M0}),d.fromRect=M0,d.thisAnimationDuration=null})}else a._showClone(r)}},dragOverAnimationCapture:function(n){var r=n.dragRect,o=n.isOwner,i=n.activeSortable;if($t.forEach(function(s){s.thisAnimationDuration=null}),i.options.animation&&!o&&i.multiDrag.isMultiDrag){M0=ra({},r);var a=Su(Hn,!0);M0.top-=a.f,M0.left-=a.e}},dragOverAnimationComplete:function(){Bo&&(Bo=!1,Tm())},drop:function(n){var r=n.originalEvent,o=n.rootEl,i=n.parentEl,a=n.sortable,s=n.dispatchSortableEvent,c=n.oldIndex,l=n.putSortable,u=l||this.sortable;if(r){var f=this.options,d=i.children;if(!Nf)if(f.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),dr(Hn,f.selectedClass,!~$t.indexOf(Hn)),~$t.indexOf(Hn))$t.splice($t.indexOf(Hn),1),b0=null,$0({sortable:a,rootEl:o,name:"deselect",targetEl:Hn,originalEvt:r});else{if($t.push(Hn),$0({sortable:a,rootEl:o,name:"select",targetEl:Hn,originalEvt:r}),r.shiftKey&&b0&&a.el.contains(b0)){var h=Ar(b0),p=Ar(Hn);if(~h&&~p&&h!==p){var m,A;for(p>h?(A=h,m=p):(A=p,m=h+1);A<m;A++)~$t.indexOf(d[A])||(dr(d[A],f.selectedClass,!0),$t.push(d[A]),$0({sortable:a,rootEl:o,name:"select",targetEl:d[A],originalEvt:r}))}}else b0=Hn;ha=u}if(Nf&&this.isMultiDrag){if(Bo=!1,(i[mo].options.sort||i!==o)&&$t.length>1){var x=or(Hn),R=Ar(Hn,":not(."+this.options.selectedClass+")");if(!S0&&f.animation&&(Hn.thisAnimationDuration=null),u.captureAnimationState(),!S0&&(f.animation&&(Hn.fromRect=x,$t.forEach(function(g){if(g.thisAnimationDuration=null,g!==Hn){var S=Bo?or(g):x;g.fromRect=S,u.addAnimationState({target:g,rect:S})}})),Tm(),$t.forEach(function(g){d[R]?i.insertBefore(g,d[R]):i.appendChild(g),R++}),c===Ar(Hn))){var y=!1;$t.forEach(function(g){if(g.sortableIndex!==Ar(g)){y=!0;return}}),y&&s("update")}$t.forEach(function(g){jy(g)}),u.animateAll()}ha=u}(o===i||l&&l.lastPutMode!=="clone")&&vi.forEach(function(g){g.parentNode&&g.parentNode.removeChild(g)})}},nullingGlobal:function(){this.isMultiDrag=Nf=!1,vi.length=0},destroyGlobal:function(){this._deselectMultiDrag(),un(document,"pointerup",this._deselectMultiDrag),un(document,"mouseup",this._deselectMultiDrag),un(document,"touchend",this._deselectMultiDrag),un(document,"keydown",this._checkKeyDown),un(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(n){if(!(typeof Nf<"u"&&Nf)&&ha===this.sortable&&!(n&&Sa(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;$t.length;){var r=$t[0];dr(r,this.options.selectedClass,!1),$t.shift(),$0({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)}},ra(e,{pluginName:"multiDrag",utils:{select:function(n){var r=n.parentNode[mo];!r||!r.options.multiDrag||~$t.indexOf(n)||(ha&&ha!==r&&(ha.multiDrag._deselectMultiDrag(),ha=r),dr(n,r.options.selectedClass,!0),$t.push(n))},deselect:function(n){var r=n.parentNode[mo],o=$t.indexOf(n);!r||!r.options.multiDrag||!~o||(dr(n,r.options.selectedClass,!1),$t.splice(o,1))}},eventProperties:function(){var n=this,r=[],o=[];return $t.forEach(function(i){r.push({multiDragElement:i,index:i.sortableIndex});var a;Bo&&i!==Hn?a=-1:Bo?a=Ar(i,":not(."+n.options.selectedClass+")"):a=Ar(i),o.push({multiDragElement:i,index:a})}),{items:phe($t),clones:[].concat(vi),oldIndicies:r,newIndicies:o}},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 Dhe(e,t){$t.forEach(function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)})}function UT(e,t){vi.forEach(function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)})}function Tm(){$t.forEach(function(e){e!==Hn&&e.parentNode&&e.parentNode.removeChild(e)})}Wt.mount(new Yhe);Wt.mount(T5,O5);const Khe=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:Bhe,Sortable:Wt,Swap:Qhe,default:Wt},Symbol.toStringTag,{value:"Module"})),Hhe=cb(Khe);(function(e,t){(function(r,o){e.exports=o(uhe,Hhe)})(typeof self<"u"?self:Pt,function(n,r){return function(o){var i={};function a(s){if(i[s])return i[s].exports;var c=i[s]={i:s,l:!1,exports:{}};return o[s].call(c.exports,c,c.exports,a),c.l=!0,c.exports}return a.m=o,a.c=i,a.d=function(s,c,l){a.o(s,c)||Object.defineProperty(s,c,{enumerable:!0,get:l})},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,c){if(c&1&&(s=a(s)),c&8||c&4&&typeof s=="object"&&s&&s.__esModule)return s;var l=Object.create(null);if(a.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:s}),c&2&&typeof s!="string")for(var u in s)a.d(l,u,(function(f){return s[f]}).bind(null,u));return l},a.n=function(s){var c=s&&s.__esModule?function(){return s.default}:function(){return s};return a.d(c,"a",c),c},a.o=function(s,c){return Object.prototype.hasOwnProperty.call(s,c)},a.p="",a(a.s="fb15")}({"00ee":function(o,i,a){var s=a("b622"),c=s("toStringTag"),l={};l[c]="z",o.exports=String(l)==="[object z]"},"0366":function(o,i,a){var s=a("1c0b");o.exports=function(c,l,u){if(s(c),l===void 0)return c;switch(u){case 0:return function(){return c.call(l)};case 1:return function(f){return c.call(l,f)};case 2:return function(f,d){return c.call(l,f,d)};case 3:return function(f,d,h){return c.call(l,f,d,h)}}return function(){return c.apply(l,arguments)}}},"057f":function(o,i,a){var s=a("fc6a"),c=a("241c").f,l={}.toString,u=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],f=function(d){try{return c(d)}catch{return u.slice()}};o.exports.f=function(h){return u&&l.call(h)=="[object Window]"?f(h):c(s(h))}},"06cf":function(o,i,a){var s=a("83ab"),c=a("d1e7"),l=a("5c6c"),u=a("fc6a"),f=a("c04e"),d=a("5135"),h=a("0cfb"),p=Object.getOwnPropertyDescriptor;i.f=s?p:function(A,x){if(A=u(A),x=f(x,!0),h)try{return p(A,x)}catch{}if(d(A,x))return l(!c.f.call(A,x),A[x])}},"0cfb":function(o,i,a){var s=a("83ab"),c=a("d039"),l=a("cc12");o.exports=!s&&!c(function(){return Object.defineProperty(l("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(o,i,a){var s=a("23e7"),c=a("d58f").left,l=a("a640"),u=a("ae40"),f=l("reduce"),d=u("reduce",{1:0});s({target:"Array",proto:!0,forced:!f||!d},{reduce:function(p){return c(this,p,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(o,i,a){var s=a("c6b6"),c=a("9263");o.exports=function(l,u){var f=l.exec;if(typeof f=="function"){var d=f.call(l,u);if(typeof d!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return d}if(s(l)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return c.call(l,u)}},"159b":function(o,i,a){var s=a("da84"),c=a("fdbc"),l=a("17c2"),u=a("9112");for(var f in c){var d=s[f],h=d&&d.prototype;if(h&&h.forEach!==l)try{u(h,"forEach",l)}catch{h.forEach=l}}},"17c2":function(o,i,a){var s=a("b727").forEach,c=a("a640"),l=a("ae40"),u=c("forEach"),f=l("forEach");o.exports=!u||!f?function(h){return s(this,h,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(o,i,a){var s=a("d066");o.exports=s("document","documentElement")},"1c0b":function(o,i){o.exports=function(a){if(typeof a!="function")throw TypeError(String(a)+" is not a function");return a}},"1c7e":function(o,i,a){var s=a("b622"),c=s("iterator"),l=!1;try{var u=0,f={next:function(){return{done:!!u++}},return:function(){l=!0}};f[c]=function(){return this},Array.from(f,function(){throw 2})}catch{}o.exports=function(d,h){if(!h&&!l)return!1;var p=!1;try{var m={};m[c]=function(){return{next:function(){return{done:p=!0}}}},d(m)}catch{}return p}},"1d80":function(o,i){o.exports=function(a){if(a==null)throw TypeError("Can't call method on "+a);return a}},"1dde":function(o,i,a){var s=a("d039"),c=a("b622"),l=a("2d00"),u=c("species");o.exports=function(f){return l>=51||!s(function(){var d=[],h=d.constructor={};return h[u]=function(){return{foo:1}},d[f](Boolean).foo!==1})}},"23cb":function(o,i,a){var s=a("a691"),c=Math.max,l=Math.min;o.exports=function(u,f){var d=s(u);return d<0?c(d+f,0):l(d,f)}},"23e7":function(o,i,a){var s=a("da84"),c=a("06cf").f,l=a("9112"),u=a("6eeb"),f=a("ce4e"),d=a("e893"),h=a("94ca");o.exports=function(p,m){var A=p.target,x=p.global,R=p.stat,y,g,S,L,T,M;if(x?g=s:R?g=s[A]||f(A,{}):g=(s[A]||{}).prototype,g)for(S in m){if(T=m[S],p.noTargetGet?(M=c(g,S),L=M&&M.value):L=g[S],y=h(x?S:A+(R?".":"#")+S,p.forced),!y&&L!==void 0){if(typeof T==typeof L)continue;d(T,L)}(p.sham||L&&L.sham)&&l(T,"sham",!0),u(g,S,T,p)}}},"241c":function(o,i,a){var s=a("ca84"),c=a("7839"),l=c.concat("length","prototype");i.f=Object.getOwnPropertyNames||function(f){return s(f,l)}},"25f0":function(o,i,a){var s=a("6eeb"),c=a("825a"),l=a("d039"),u=a("ad6d"),f="toString",d=RegExp.prototype,h=d[f],p=l(function(){return h.call({source:"a",flags:"b"})!="/a/b"}),m=h.name!=f;(p||m)&&s(RegExp.prototype,f,function(){var x=c(this),R=String(x.source),y=x.flags,g=String(y===void 0&&x instanceof RegExp&&!("flags"in d)?u.call(x):y);return"/"+R+"/"+g},{unsafe:!0})},"2ca0":function(o,i,a){var s=a("23e7"),c=a("06cf").f,l=a("50c4"),u=a("5a34"),f=a("1d80"),d=a("ab13"),h=a("c430"),p="".startsWith,m=Math.min,A=d("startsWith"),x=!h&&!A&&!!function(){var R=c(String.prototype,"startsWith");return R&&!R.writable}();s({target:"String",proto:!0,forced:!x&&!A},{startsWith:function(y){var g=String(f(this));u(y);var S=l(m(arguments.length>1?arguments[1]:void 0,g.length)),L=String(y);return p?p.call(g,L,S):g.slice(S,S+L.length)===L}})},"2d00":function(o,i,a){var s=a("da84"),c=a("342f"),l=s.process,u=l&&l.versions,f=u&&u.v8,d,h;f?(d=f.split("."),h=d[0]+d[1]):c&&(d=c.match(/Edge\/(\d+)/),(!d||d[1]>=74)&&(d=c.match(/Chrome\/(\d+)/),d&&(h=d[1]))),o.exports=h&&+h},"342f":function(o,i,a){var s=a("d066");o.exports=s("navigator","userAgent")||""},"35a1":function(o,i,a){var s=a("f5df"),c=a("3f8c"),l=a("b622"),u=l("iterator");o.exports=function(f){if(f!=null)return f[u]||f["@@iterator"]||c[s(f)]}},"37e8":function(o,i,a){var s=a("83ab"),c=a("9bf2"),l=a("825a"),u=a("df75");o.exports=s?Object.defineProperties:function(d,h){l(d);for(var p=u(h),m=p.length,A=0,x;m>A;)c.f(d,x=p[A++],h[x]);return d}},"3bbe":function(o,i,a){var s=a("861d");o.exports=function(c){if(!s(c)&&c!==null)throw TypeError("Can't set "+String(c)+" as a prototype");return c}},"3ca3":function(o,i,a){var s=a("6547").charAt,c=a("69f3"),l=a("7dd0"),u="String Iterator",f=c.set,d=c.getterFor(u);l(String,"String",function(h){f(this,{type:u,string:String(h),index:0})},function(){var p=d(this),m=p.string,A=p.index,x;return A>=m.length?{value:void 0,done:!0}:(x=s(m,A),p.index+=x.length,{value:x,done:!1})})},"3f8c":function(o,i){o.exports={}},4160:function(o,i,a){var s=a("23e7"),c=a("17c2");s({target:"Array",proto:!0,forced:[].forEach!=c},{forEach:c})},"428f":function(o,i,a){var s=a("da84");o.exports=s},"44ad":function(o,i,a){var s=a("d039"),c=a("c6b6"),l="".split;o.exports=s(function(){return!Object("z").propertyIsEnumerable(0)})?function(u){return c(u)=="String"?l.call(u,""):Object(u)}:Object},"44d2":function(o,i,a){var s=a("b622"),c=a("7c73"),l=a("9bf2"),u=s("unscopables"),f=Array.prototype;f[u]==null&&l.f(f,u,{configurable:!0,value:c(null)}),o.exports=function(d){f[u][d]=!0}},"44e7":function(o,i,a){var s=a("861d"),c=a("c6b6"),l=a("b622"),u=l("match");o.exports=function(f){var d;return s(f)&&((d=f[u])!==void 0?!!d:c(f)=="RegExp")}},4930:function(o,i,a){var s=a("d039");o.exports=!!Object.getOwnPropertySymbols&&!s(function(){return!String(Symbol())})},"4d64":function(o,i,a){var s=a("fc6a"),c=a("50c4"),l=a("23cb"),u=function(f){return function(d,h,p){var m=s(d),A=c(m.length),x=l(p,A),R;if(f&&h!=h){for(;A>x;)if(R=m[x++],R!=R)return!0}else for(;A>x;x++)if((f||x in m)&&m[x]===h)return f||x||0;return!f&&-1}};o.exports={includes:u(!0),indexOf:u(!1)}},"4de4":function(o,i,a){var s=a("23e7"),c=a("b727").filter,l=a("1dde"),u=a("ae40"),f=l("filter"),d=u("filter");s({target:"Array",proto:!0,forced:!f||!d},{filter:function(p){return c(this,p,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(o,i,a){var s=a("0366"),c=a("7b0b"),l=a("9bdd"),u=a("e95a"),f=a("50c4"),d=a("8418"),h=a("35a1");o.exports=function(m){var A=c(m),x=typeof this=="function"?this:Array,R=arguments.length,y=R>1?arguments[1]:void 0,g=y!==void 0,S=h(A),L=0,T,M,O,k,_,N;if(g&&(y=s(y,R>2?arguments[2]:void 0,2)),S!=null&&!(x==Array&&u(S)))for(k=S.call(A),_=k.next,M=new x;!(O=_.call(k)).done;L++)N=g?l(k,y,[O.value,L],!0):O.value,d(M,L,N);else for(T=f(A.length),M=new x(T);T>L;L++)N=g?y(A[L],L):A[L],d(M,L,N);return M.length=L,M}},"4fad":function(o,i,a){var s=a("23e7"),c=a("6f53").entries;s({target:"Object",stat:!0},{entries:function(u){return c(u)}})},"50c4":function(o,i,a){var s=a("a691"),c=Math.min;o.exports=function(l){return l>0?c(s(l),9007199254740991):0}},5135:function(o,i){var a={}.hasOwnProperty;o.exports=function(s,c){return a.call(s,c)}},5319:function(o,i,a){var s=a("d784"),c=a("825a"),l=a("7b0b"),u=a("50c4"),f=a("a691"),d=a("1d80"),h=a("8aa5"),p=a("14c3"),m=Math.max,A=Math.min,x=Math.floor,R=/\$([$&'`]|\d\d?|<[^>]*>)/g,y=/\$([$&'`]|\d\d?)/g,g=function(S){return S===void 0?S:String(S)};s("replace",2,function(S,L,T,M){var O=M.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,k=M.REPLACE_KEEPS_$0,_=O?"$":"$0";return[function(C,F){var I=d(this),V=C==null?void 0:C[S];return V!==void 0?V.call(C,I,F):L.call(String(I),C,F)},function(X,C){if(!O&&k||typeof C=="string"&&C.indexOf(_)===-1){var F=T(L,X,this,C);if(F.done)return F.value}var I=c(X),V=String(this),B=typeof C=="function";B||(C=String(C));var G=I.global;if(G){var ne=I.unicode;I.lastIndex=0}for(var E=[];;){var Z=p(I,V);if(Z===null||(E.push(Z),!G))break;var K=String(Z[0]);K===""&&(I.lastIndex=h(V,u(I.lastIndex),ne))}for(var U="",J=0,le=0;le<E.length;le++){Z=E[le];for(var ie=String(Z[0]),oe=m(A(f(Z.index),V.length),0),pe=[],ge=1;ge<Z.length;ge++)pe.push(g(Z[ge]));var ye=Z.groups;if(B){var z=[ie].concat(pe,oe,V);ye!==void 0&&z.push(ye);var ae=String(C.apply(void 0,z))}else ae=N(ie,V,oe,pe,ye,C);oe>=J&&(U+=V.slice(J,oe)+ae,J=oe+ie.length)}return U+V.slice(J)}];function N(X,C,F,I,V,B){var G=F+X.length,ne=I.length,E=y;return V!==void 0&&(V=l(V),E=R),L.call(B,E,function(Z,K){var U;switch(K.charAt(0)){case"$":return"$";case"&":return X;case"`":return C.slice(0,F);case"'":return C.slice(G);case"<":U=V[K.slice(1,-1)];break;default:var J=+K;if(J===0)return Z;if(J>ne){var le=x(J/10);return le===0?Z:le<=ne?I[le-1]===void 0?K.charAt(1):I[le-1]+K.charAt(1):Z}U=I[J-1]}return U===void 0?"":U})}})},5692:function(o,i,a){var s=a("c430"),c=a("c6cd");(o.exports=function(l,u){return c[l]||(c[l]=u!==void 0?u:{})})("versions",[]).push({version:"3.6.5",mode:s?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(o,i,a){var s=a("d066"),c=a("241c"),l=a("7418"),u=a("825a");o.exports=s("Reflect","ownKeys")||function(d){var h=c.f(u(d)),p=l.f;return p?h.concat(p(d)):h}},"5a34":function(o,i,a){var s=a("44e7");o.exports=function(c){if(s(c))throw TypeError("The method doesn't accept regular expressions");return c}},"5c6c":function(o,i){o.exports=function(a,s){return{enumerable:!(a&1),configurable:!(a&2),writable:!(a&4),value:s}}},"5db7":function(o,i,a){var s=a("23e7"),c=a("a2bf"),l=a("7b0b"),u=a("50c4"),f=a("1c0b"),d=a("65f0");s({target:"Array",proto:!0},{flatMap:function(p){var m=l(this),A=u(m.length),x;return f(p),x=d(m,0),x.length=c(x,m,m,A,0,1,p,arguments.length>1?arguments[1]:void 0),x}})},6547:function(o,i,a){var s=a("a691"),c=a("1d80"),l=function(u){return function(f,d){var h=String(c(f)),p=s(d),m=h.length,A,x;return p<0||p>=m?u?"":void 0:(A=h.charCodeAt(p),A<55296||A>56319||p+1===m||(x=h.charCodeAt(p+1))<56320||x>57343?u?h.charAt(p):A:u?h.slice(p,p+2):(A-55296<<10)+(x-56320)+65536)}};o.exports={codeAt:l(!1),charAt:l(!0)}},"65f0":function(o,i,a){var s=a("861d"),c=a("e8b5"),l=a("b622"),u=l("species");o.exports=function(f,d){var h;return c(f)&&(h=f.constructor,typeof h=="function"&&(h===Array||c(h.prototype))?h=void 0:s(h)&&(h=h[u],h===null&&(h=void 0))),new(h===void 0?Array:h)(d===0?0:d)}},"69f3":function(o,i,a){var s=a("7f9a"),c=a("da84"),l=a("861d"),u=a("9112"),f=a("5135"),d=a("f772"),h=a("d012"),p=c.WeakMap,m,A,x,R=function(O){return x(O)?A(O):m(O,{})},y=function(O){return function(k){var _;if(!l(k)||(_=A(k)).type!==O)throw TypeError("Incompatible receiver, "+O+" required");return _}};if(s){var g=new p,S=g.get,L=g.has,T=g.set;m=function(O,k){return T.call(g,O,k),k},A=function(O){return S.call(g,O)||{}},x=function(O){return L.call(g,O)}}else{var M=d("state");h[M]=!0,m=function(O,k){return u(O,M,k),k},A=function(O){return f(O,M)?O[M]:{}},x=function(O){return f(O,M)}}o.exports={set:m,get:A,has:x,enforce:R,getterFor:y}},"6eeb":function(o,i,a){var s=a("da84"),c=a("9112"),l=a("5135"),u=a("ce4e"),f=a("8925"),d=a("69f3"),h=d.get,p=d.enforce,m=String(String).split("String");(o.exports=function(A,x,R,y){var g=y?!!y.unsafe:!1,S=y?!!y.enumerable:!1,L=y?!!y.noTargetGet:!1;if(typeof R=="function"&&(typeof x=="string"&&!l(R,"name")&&c(R,"name",x),p(R).source=m.join(typeof x=="string"?x:"")),A===s){S?A[x]=R:u(x,R);return}else g?!L&&A[x]&&(S=!0):delete A[x];S?A[x]=R:c(A,x,R)})(Function.prototype,"toString",function(){return typeof this=="function"&&h(this).source||f(this)})},"6f53":function(o,i,a){var s=a("83ab"),c=a("df75"),l=a("fc6a"),u=a("d1e7").f,f=function(d){return function(h){for(var p=l(h),m=c(p),A=m.length,x=0,R=[],y;A>x;)y=m[x++],(!s||u.call(p,y))&&R.push(d?[y,p[y]]:p[y]);return R}};o.exports={entries:f(!0),values:f(!1)}},"73d9":function(o,i,a){var s=a("44d2");s("flatMap")},7418:function(o,i){i.f=Object.getOwnPropertySymbols},"746f":function(o,i,a){var s=a("428f"),c=a("5135"),l=a("e538"),u=a("9bf2").f;o.exports=function(f){var d=s.Symbol||(s.Symbol={});c(d,f)||u(d,f,{value:l.f(f)})}},7839:function(o,i){o.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(o,i,a){var s=a("1d80");o.exports=function(c){return Object(s(c))}},"7c73":function(o,i,a){var s=a("825a"),c=a("37e8"),l=a("7839"),u=a("d012"),f=a("1be4"),d=a("cc12"),h=a("f772"),p=">",m="<",A="prototype",x="script",R=h("IE_PROTO"),y=function(){},g=function(O){return m+x+p+O+m+"/"+x+p},S=function(O){O.write(g("")),O.close();var k=O.parentWindow.Object;return O=null,k},L=function(){var O=d("iframe"),k="java"+x+":",_;return O.style.display="none",f.appendChild(O),O.src=String(k),_=O.contentWindow.document,_.open(),_.write(g("document.F=Object")),_.close(),_.F},T,M=function(){try{T=document.domain&&new ActiveXObject("htmlfile")}catch{}M=T?S(T):L();for(var O=l.length;O--;)delete M[A][l[O]];return M()};u[R]=!0,o.exports=Object.create||function(k,_){var N;return k!==null?(y[A]=s(k),N=new y,y[A]=null,N[R]=k):N=M(),_===void 0?N:c(N,_)}},"7dd0":function(o,i,a){var s=a("23e7"),c=a("9ed3"),l=a("e163"),u=a("d2bb"),f=a("d44e"),d=a("9112"),h=a("6eeb"),p=a("b622"),m=a("c430"),A=a("3f8c"),x=a("ae93"),R=x.IteratorPrototype,y=x.BUGGY_SAFARI_ITERATORS,g=p("iterator"),S="keys",L="values",T="entries",M=function(){return this};o.exports=function(O,k,_,N,X,C,F){c(_,k,N);var I=function(le){if(le===X&&E)return E;if(!y&&le in G)return G[le];switch(le){case S:return function(){return new _(this,le)};case L:return function(){return new _(this,le)};case T:return function(){return new _(this,le)}}return function(){return new _(this)}},V=k+" Iterator",B=!1,G=O.prototype,ne=G[g]||G["@@iterator"]||X&&G[X],E=!y&&ne||I(X),Z=k=="Array"&&G.entries||ne,K,U,J;if(Z&&(K=l(Z.call(new O)),R!==Object.prototype&&K.next&&(!m&&l(K)!==R&&(u?u(K,R):typeof K[g]!="function"&&d(K,g,M)),f(K,V,!0,!0),m&&(A[V]=M))),X==L&&ne&&ne.name!==L&&(B=!0,E=function(){return ne.call(this)}),(!m||F)&&G[g]!==E&&d(G,g,E),A[k]=E,X)if(U={values:I(L),keys:C?E:I(S),entries:I(T)},F)for(J in U)(y||B||!(J in G))&&h(G,J,U[J]);else s({target:k,proto:!0,forced:y||B},U);return U}},"7f9a":function(o,i,a){var s=a("da84"),c=a("8925"),l=s.WeakMap;o.exports=typeof l=="function"&&/native code/.test(c(l))},"825a":function(o,i,a){var s=a("861d");o.exports=function(c){if(!s(c))throw TypeError(String(c)+" is not an object");return c}},"83ab":function(o,i,a){var s=a("d039");o.exports=!s(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(o,i,a){var s=a("c04e"),c=a("9bf2"),l=a("5c6c");o.exports=function(u,f,d){var h=s(f);h in u?c.f(u,h,l(0,d)):u[h]=d}},"861d":function(o,i){o.exports=function(a){return typeof a=="object"?a!==null:typeof a=="function"}},8875:function(o,i,a){var s,c,l;(function(u,f){c=[],s=f,l=typeof s=="function"?s.apply(i,c):s,l!==void 0&&(o.exports=l)})(typeof self<"u"?self:this,function(){function u(){var f=Object.getOwnPropertyDescriptor(document,"currentScript");if(!f&&"currentScript"in document&&document.currentScript||f&&f.get!==u&&document.currentScript)return document.currentScript;try{throw new Error}catch(T){var d=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,h=/@([^@]*):(\d+):(\d+)\s*$/ig,p=d.exec(T.stack)||h.exec(T.stack),m=p&&p[1]||!1,A=p&&p[2]||!1,x=document.location.href.replace(document.location.hash,""),R,y,g,S=document.getElementsByTagName("script");m===x&&(R=document.documentElement.outerHTML,y=new RegExp("(?:[^\\n]+?\\n){0,"+(A-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),g=R.replace(y,"$1").trim());for(var L=0;L<S.length;L++)if(S[L].readyState==="interactive"||S[L].src===m||m===x&&S[L].innerHTML&&S[L].innerHTML.trim()===g)return S[L];return null}}return u})},8925:function(o,i,a){var s=a("c6cd"),c=Function.toString;typeof s.inspectSource!="function"&&(s.inspectSource=function(l){return c.call(l)}),o.exports=s.inspectSource},"8aa5":function(o,i,a){var s=a("6547").charAt;o.exports=function(c,l,u){return l+(u?s(c,l).length:1)}},"8bbf":function(o,i){o.exports=n},"90e3":function(o,i){var a=0,s=Math.random();o.exports=function(c){return"Symbol("+String(c===void 0?"":c)+")_"+(++a+s).toString(36)}},9112:function(o,i,a){var s=a("83ab"),c=a("9bf2"),l=a("5c6c");o.exports=s?function(u,f,d){return c.f(u,f,l(1,d))}:function(u,f,d){return u[f]=d,u}},9263:function(o,i,a){var s=a("ad6d"),c=a("9f7f"),l=RegExp.prototype.exec,u=String.prototype.replace,f=l,d=function(){var A=/a/,x=/b*/g;return l.call(A,"a"),l.call(x,"a"),A.lastIndex!==0||x.lastIndex!==0}(),h=c.UNSUPPORTED_Y||c.BROKEN_CARET,p=/()??/.exec("")[1]!==void 0,m=d||p||h;m&&(f=function(x){var R=this,y,g,S,L,T=h&&R.sticky,M=s.call(R),O=R.source,k=0,_=x;return T&&(M=M.replace("y",""),M.indexOf("g")===-1&&(M+="g"),_=String(x).slice(R.lastIndex),R.lastIndex>0&&(!R.multiline||R.multiline&&x[R.lastIndex-1]!==`
`)&&(O="(?: "+O+")",_=" "+_,k++),g=new RegExp("^(?:"+O+")",M)),p&&(g=new RegExp("^"+O+"$(?!\\s)",M)),d&&(y=R.lastIndex),S=l.call(T?g:R,_),T?S?(S.input=S.input.slice(k),S[0]=S[0].slice(k),S.index=R.lastIndex,R.lastIndex+=S[0].length):R.lastIndex=0:d&&S&&(R.lastIndex=R.global?S.index+S[0].length:y),p&&S&&S.length>1&&u.call(S[0],g,function(){for(L=1;L<arguments.length-2;L++)arguments[L]===void 0&&(S[L]=void 0)}),S}),o.exports=f},"94ca":function(o,i,a){var s=a("d039"),c=/#|\.prototype\./,l=function(p,m){var A=f[u(p)];return A==h?!0:A==d?!1:typeof m=="function"?s(m):!!m},u=l.normalize=function(p){return String(p).replace(c,".").toLowerCase()},f=l.data={},d=l.NATIVE="N",h=l.POLYFILL="P";o.exports=l},"99af":function(o,i,a){var s=a("23e7"),c=a("d039"),l=a("e8b5"),u=a("861d"),f=a("7b0b"),d=a("50c4"),h=a("8418"),p=a("65f0"),m=a("1dde"),A=a("b622"),x=a("2d00"),R=A("isConcatSpreadable"),y=9007199254740991,g="Maximum allowed index exceeded",S=x>=51||!c(function(){var O=[];return O[R]=!1,O.concat()[0]!==O}),L=m("concat"),T=function(O){if(!u(O))return!1;var k=O[R];return k!==void 0?!!k:l(O)},M=!S||!L;s({target:"Array",proto:!0,forced:M},{concat:function(k){var _=f(this),N=p(_,0),X=0,C,F,I,V,B;for(C=-1,I=arguments.length;C<I;C++)if(B=C===-1?_:arguments[C],T(B)){if(V=d(B.length),X+V>y)throw TypeError(g);for(F=0;F<V;F++,X++)F in B&&h(N,X,B[F])}else{if(X>=y)throw TypeError(g);h(N,X++,B)}return N.length=X,N}})},"9bdd":function(o,i,a){var s=a("825a");o.exports=function(c,l,u,f){try{return f?l(s(u)[0],u[1]):l(u)}catch(h){var d=c.return;throw d!==void 0&&s(d.call(c)),h}}},"9bf2":function(o,i,a){var s=a("83ab"),c=a("0cfb"),l=a("825a"),u=a("c04e"),f=Object.defineProperty;i.f=s?f:function(h,p,m){if(l(h),p=u(p,!0),l(m),c)try{return f(h,p,m)}catch{}if("get"in m||"set"in m)throw TypeError("Accessors not supported");return"value"in m&&(h[p]=m.value),h}},"9ed3":function(o,i,a){var s=a("ae93").IteratorPrototype,c=a("7c73"),l=a("5c6c"),u=a("d44e"),f=a("3f8c"),d=function(){return this};o.exports=function(h,p,m){var A=p+" Iterator";return h.prototype=c(s,{next:l(1,m)}),u(h,A,!1,!0),f[A]=d,h}},"9f7f":function(o,i,a){var s=a("d039");function c(l,u){return RegExp(l,u)}i.UNSUPPORTED_Y=s(function(){var l=c("a","y");return l.lastIndex=2,l.exec("abcd")!=null}),i.BROKEN_CARET=s(function(){var l=c("^r","gy");return l.lastIndex=2,l.exec("str")!=null})},a2bf:function(o,i,a){var s=a("e8b5"),c=a("50c4"),l=a("0366"),u=function(f,d,h,p,m,A,x,R){for(var y=m,g=0,S=x?l(x,R,3):!1,L;g<p;){if(g in h){if(L=S?S(h[g],g,d):h[g],A>0&&s(L))y=u(f,d,L,c(L.length),y,A-1)-1;else{if(y>=9007199254740991)throw TypeError("Exceed the acceptable array length");f[y]=L}y++}g++}return y};o.exports=u},a352:function(o,i){o.exports=r},a434:function(o,i,a){var s=a("23e7"),c=a("23cb"),l=a("a691"),u=a("50c4"),f=a("7b0b"),d=a("65f0"),h=a("8418"),p=a("1dde"),m=a("ae40"),A=p("splice"),x=m("splice",{ACCESSORS:!0,0:0,1:2}),R=Math.max,y=Math.min,g=9007199254740991,S="Maximum allowed length exceeded";s({target:"Array",proto:!0,forced:!A||!x},{splice:function(T,M){var O=f(this),k=u(O.length),_=c(T,k),N=arguments.length,X,C,F,I,V,B;if(N===0?X=C=0:N===1?(X=0,C=k-_):(X=N-2,C=y(R(l(M),0),k-_)),k+X-C>g)throw TypeError(S);for(F=d(O,C),I=0;I<C;I++)V=_+I,V in O&&h(F,I,O[V]);if(F.length=C,X<C){for(I=_;I<k-C;I++)V=I+C,B=I+X,V in O?O[B]=O[V]:delete O[B];for(I=k;I>k-C+X;I--)delete O[I-1]}else if(X>C)for(I=k-C;I>_;I--)V=I+C-1,B=I+X-1,V in O?O[B]=O[V]:delete O[B];for(I=0;I<X;I++)O[I+_]=arguments[I+2];return O.length=k-C+X,F}})},a4d3:function(o,i,a){var s=a("23e7"),c=a("da84"),l=a("d066"),u=a("c430"),f=a("83ab"),d=a("4930"),h=a("fdbf"),p=a("d039"),m=a("5135"),A=a("e8b5"),x=a("861d"),R=a("825a"),y=a("7b0b"),g=a("fc6a"),S=a("c04e"),L=a("5c6c"),T=a("7c73"),M=a("df75"),O=a("241c"),k=a("057f"),_=a("7418"),N=a("06cf"),X=a("9bf2"),C=a("d1e7"),F=a("9112"),I=a("6eeb"),V=a("5692"),B=a("f772"),G=a("d012"),ne=a("90e3"),E=a("b622"),Z=a("e538"),K=a("746f"),U=a("d44e"),J=a("69f3"),le=a("b727").forEach,ie=B("hidden"),oe="Symbol",pe="prototype",ge=E("toPrimitive"),ye=J.set,z=J.getterFor(oe),ae=Object[pe],W=c.Symbol,j=l("JSON","stringify"),ue=N.f,$=X.f,q=k.f,se=C.f,ve=V("symbols"),ce=V("op-symbols"),de=V("string-to-symbol-registry"),be=V("symbol-to-string-registry"),_e=V("wks"),Ie=c.QObject,Ae=!Ie||!Ie[pe]||!Ie[pe].findChild,qe=f&&p(function(){return T($({},"a",{get:function(){return $(this,"a",{value:7}).a}})).a!=7})?function(ut,ht,gt){var Ft=ue(ae,ht);Ft&&delete ae[ht],$(ut,ht,gt),Ft&&ut!==ae&&$(ae,ht,Ft)}:$,Xe=function(ut,ht){var gt=ve[ut]=T(W[pe]);return ye(gt,{type:oe,tag:ut,description:ht}),f||(gt.description=ht),gt},Le=h?function(ut){return typeof ut=="symbol"}:function(ut){return Object(ut)instanceof W},Te=function(ht,gt,Ft){ht===ae&&Te(ce,gt,Ft),R(ht);var Yt=S(gt,!0);return R(Ft),m(ve,Yt)?(Ft.enumerable?(m(ht,ie)&&ht[ie][Yt]&&(ht[ie][Yt]=!1),Ft=T(Ft,{enumerable:L(0,!1)})):(m(ht,ie)||$(ht,ie,L(1,{})),ht[ie][Yt]=!0),qe(ht,Yt,Ft)):$(ht,Yt,Ft)},Ce=function(ht,gt){R(ht);var Ft=g(gt),Yt=M(Ft).concat(tt(Ft));return le(Yt,function(Pn){(!f||et.call(Ft,Pn))&&Te(ht,Pn,Ft[Pn])}),ht},He=function(ht,gt){return gt===void 0?T(ht):Ce(T(ht),gt)},et=function(ht){var gt=S(ht,!0),Ft=se.call(this,gt);return this===ae&&m(ve,gt)&&!m(ce,gt)?!1:Ft||!m(this,gt)||!m(ve,gt)||m(this,ie)&&this[ie][gt]?Ft:!0},ke=function(ht,gt){var Ft=g(ht),Yt=S(gt,!0);if(!(Ft===ae&&m(ve,Yt)&&!m(ce,Yt))){var Pn=ue(Ft,Yt);return Pn&&m(ve,Yt)&&!(m(Ft,ie)&&Ft[ie][Yt])&&(Pn.enumerable=!0),Pn}},De=function(ht){var gt=q(g(ht)),Ft=[];return le(gt,function(Yt){!m(ve,Yt)&&!m(G,Yt)&&Ft.push(Yt)}),Ft},tt=function(ht){var gt=ht===ae,Ft=q(gt?ce:g(ht)),Yt=[];return le(Ft,function(Pn){m(ve,Pn)&&(!gt||m(ae,Pn))&&Yt.push(ve[Pn])}),Yt};if(d||(W=function(){if(this instanceof W)throw TypeError("Symbol is not a constructor");var ht=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),gt=ne(ht),Ft=function(Yt){this===ae&&Ft.call(ce,Yt),m(this,ie)&&m(this[ie],gt)&&(this[ie][gt]=!1),qe(this,gt,L(1,Yt))};return f&&Ae&&qe(ae,gt,{configurable:!0,set:Ft}),Xe(gt,ht)},I(W[pe],"toString",function(){return z(this).tag}),I(W,"withoutSetter",function(ut){return Xe(ne(ut),ut)}),C.f=et,X.f=Te,N.f=ke,O.f=k.f=De,_.f=tt,Z.f=function(ut){return Xe(E(ut),ut)},f&&($(W[pe],"description",{configurable:!0,get:function(){return z(this).description}}),u||I(ae,"propertyIsEnumerable",et,{unsafe:!0}))),s({global:!0,wrap:!0,forced:!d,sham:!d},{Symbol:W}),le(M(_e),function(ut){K(ut)}),s({target:oe,stat:!0,forced:!d},{for:function(ut){var ht=String(ut);if(m(de,ht))return de[ht];var gt=W(ht);return de[ht]=gt,be[gt]=ht,gt},keyFor:function(ht){if(!Le(ht))throw TypeError(ht+" is not a symbol");if(m(be,ht))return be[ht]},useSetter:function(){Ae=!0},useSimple:function(){Ae=!1}}),s({target:"Object",stat:!0,forced:!d,sham:!f},{create:He,defineProperty:Te,defineProperties:Ce,getOwnPropertyDescriptor:ke}),s({target:"Object",stat:!0,forced:!d},{getOwnPropertyNames:De,getOwnPropertySymbols:tt}),s({target:"Object",stat:!0,forced:p(function(){_.f(1)})},{getOwnPropertySymbols:function(ht){return _.f(y(ht))}}),j){var wt=!d||p(function(){var ut=W();return j([ut])!="[null]"||j({a:ut})!="{}"||j(Object(ut))!="{}"});s({target:"JSON",stat:!0,forced:wt},{stringify:function(ht,gt,Ft){for(var Yt=[ht],Pn=1,aa;arguments.length>Pn;)Yt.push(arguments[Pn++]);if(aa=gt,!(!x(gt)&&ht===void 0||Le(ht)))return A(gt)||(gt=function(Xa,io){if(typeof aa=="function"&&(io=aa.call(this,Xa,io)),!Le(io))return io}),Yt[1]=gt,j.apply(null,Yt)}})}W[pe][ge]||F(W[pe],ge,W[pe].valueOf),U(W,oe),G[ie]=!0},a630:function(o,i,a){var s=a("23e7"),c=a("4df4"),l=a("1c7e"),u=!l(function(f){Array.from(f)});s({target:"Array",stat:!0,forced:u},{from:c})},a640:function(o,i,a){var s=a("d039");o.exports=function(c,l){var u=[][c];return!!u&&s(function(){u.call(null,l||function(){throw 1},1)})}},a691:function(o,i){var a=Math.ceil,s=Math.floor;o.exports=function(c){return isNaN(c=+c)?0:(c>0?s:a)(c)}},ab13:function(o,i,a){var s=a("b622"),c=s("match");o.exports=function(l){var u=/./;try{"/./"[l](u)}catch{try{return u[c]=!1,"/./"[l](u)}catch{}}return!1}},ac1f:function(o,i,a){var s=a("23e7"),c=a("9263");s({target:"RegExp",proto:!0,forced:/./.exec!==c},{exec:c})},ad6d:function(o,i,a){var s=a("825a");o.exports=function(){var c=s(this),l="";return c.global&&(l+="g"),c.ignoreCase&&(l+="i"),c.multiline&&(l+="m"),c.dotAll&&(l+="s"),c.unicode&&(l+="u"),c.sticky&&(l+="y"),l}},ae40:function(o,i,a){var s=a("83ab"),c=a("d039"),l=a("5135"),u=Object.defineProperty,f={},d=function(h){throw h};o.exports=function(h,p){if(l(f,h))return f[h];p||(p={});var m=[][h],A=l(p,"ACCESSORS")?p.ACCESSORS:!1,x=l(p,0)?p[0]:d,R=l(p,1)?p[1]:void 0;return f[h]=!!m&&!c(function(){if(A&&!s)return!0;var y={length:-1};A?u(y,1,{enumerable:!0,get:d}):y[1]=1,m.call(y,x,R)})}},ae93:function(o,i,a){var s=a("e163"),c=a("9112"),l=a("5135"),u=a("b622"),f=a("c430"),d=u("iterator"),h=!1,p=function(){return this},m,A,x;[].keys&&(x=[].keys(),"next"in x?(A=s(s(x)),A!==Object.prototype&&(m=A)):h=!0),m==null&&(m={}),!f&&!l(m,d)&&c(m,d,p),o.exports={IteratorPrototype:m,BUGGY_SAFARI_ITERATORS:h}},b041:function(o,i,a){var s=a("00ee"),c=a("f5df");o.exports=s?{}.toString:function(){return"[object "+c(this)+"]"}},b0c0:function(o,i,a){var s=a("83ab"),c=a("9bf2").f,l=Function.prototype,u=l.toString,f=/^\s*function ([^ (]*)/,d="name";s&&!(d in l)&&c(l,d,{configurable:!0,get:function(){try{return u.call(this).match(f)[1]}catch{return""}}})},b622:function(o,i,a){var s=a("da84"),c=a("5692"),l=a("5135"),u=a("90e3"),f=a("4930"),d=a("fdbf"),h=c("wks"),p=s.Symbol,m=d?p:p&&p.withoutSetter||u;o.exports=function(A){return l(h,A)||(f&&l(p,A)?h[A]=p[A]:h[A]=m("Symbol."+A)),h[A]}},b64b:function(o,i,a){var s=a("23e7"),c=a("7b0b"),l=a("df75"),u=a("d039"),f=u(function(){l(1)});s({target:"Object",stat:!0,forced:f},{keys:function(h){return l(c(h))}})},b727:function(o,i,a){var s=a("0366"),c=a("44ad"),l=a("7b0b"),u=a("50c4"),f=a("65f0"),d=[].push,h=function(p){var m=p==1,A=p==2,x=p==3,R=p==4,y=p==6,g=p==5||y;return function(S,L,T,M){for(var O=l(S),k=c(O),_=s(L,T,3),N=u(k.length),X=0,C=M||f,F=m?C(S,N):A?C(S,0):void 0,I,V;N>X;X++)if((g||X in k)&&(I=k[X],V=_(I,X,O),p)){if(m)F[X]=V;else if(V)switch(p){case 3:return!0;case 5:return I;case 6:return X;case 2:d.call(F,I)}else if(R)return!1}return y?-1:x||R?R:F}};o.exports={forEach:h(0),map:h(1),filter:h(2),some:h(3),every:h(4),find:h(5),findIndex:h(6)}},c04e:function(o,i,a){var s=a("861d");o.exports=function(c,l){if(!s(c))return c;var u,f;if(l&&typeof(u=c.toString)=="function"&&!s(f=u.call(c))||typeof(u=c.valueOf)=="function"&&!s(f=u.call(c))||!l&&typeof(u=c.toString)=="function"&&!s(f=u.call(c)))return f;throw TypeError("Can't convert object to primitive value")}},c430:function(o,i){o.exports=!1},c6b6:function(o,i){var a={}.toString;o.exports=function(s){return a.call(s).slice(8,-1)}},c6cd:function(o,i,a){var s=a("da84"),c=a("ce4e"),l="__core-js_shared__",u=s[l]||c(l,{});o.exports=u},c740:function(o,i,a){var s=a("23e7"),c=a("b727").findIndex,l=a("44d2"),u=a("ae40"),f="findIndex",d=!0,h=u(f);f in[]&&Array(1)[f](function(){d=!1}),s({target:"Array",proto:!0,forced:d||!h},{findIndex:function(m){return c(this,m,arguments.length>1?arguments[1]:void 0)}}),l(f)},c8ba:function(o,i){var a;a=function(){return this}();try{a=a||new Function("return this")()}catch{typeof window=="object"&&(a=window)}o.exports=a},c975:function(o,i,a){var s=a("23e7"),c=a("4d64").indexOf,l=a("a640"),u=a("ae40"),f=[].indexOf,d=!!f&&1/[1].indexOf(1,-0)<0,h=l("indexOf"),p=u("indexOf",{ACCESSORS:!0,1:0});s({target:"Array",proto:!0,forced:d||!h||!p},{indexOf:function(A){return d?f.apply(this,arguments)||0:c(this,A,arguments.length>1?arguments[1]:void 0)}})},ca84:function(o,i,a){var s=a("5135"),c=a("fc6a"),l=a("4d64").indexOf,u=a("d012");o.exports=function(f,d){var h=c(f),p=0,m=[],A;for(A in h)!s(u,A)&&s(h,A)&&m.push(A);for(;d.length>p;)s(h,A=d[p++])&&(~l(m,A)||m.push(A));return m}},caad:function(o,i,a){var s=a("23e7"),c=a("4d64").includes,l=a("44d2"),u=a("ae40"),f=u("indexOf",{ACCESSORS:!0,1:0});s({target:"Array",proto:!0,forced:!f},{includes:function(h){return c(this,h,arguments.length>1?arguments[1]:void 0)}}),l("includes")},cc12:function(o,i,a){var s=a("da84"),c=a("861d"),l=s.document,u=c(l)&&c(l.createElement);o.exports=function(f){return u?l.createElement(f):{}}},ce4e:function(o,i,a){var s=a("da84"),c=a("9112");o.exports=function(l,u){try{c(s,l,u)}catch{s[l]=u}return u}},d012:function(o,i){o.exports={}},d039:function(o,i){o.exports=function(a){try{return!!a()}catch{return!0}}},d066:function(o,i,a){var s=a("428f"),c=a("da84"),l=function(u){return typeof u=="function"?u:void 0};o.exports=function(u,f){return arguments.length<2?l(s[u])||l(c[u]):s[u]&&s[u][f]||c[u]&&c[u][f]}},d1e7:function(o,i,a){var s={}.propertyIsEnumerable,c=Object.getOwnPropertyDescriptor,l=c&&!s.call({1:2},1);i.f=l?function(f){var d=c(this,f);return!!d&&d.enumerable}:s},d28b:function(o,i,a){var s=a("746f");s("iterator")},d2bb:function(o,i,a){var s=a("825a"),c=a("3bbe");o.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var l=!1,u={},f;try{f=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,f.call(u,[]),l=u instanceof Array}catch{}return function(h,p){return s(h),c(p),l?f.call(h,p):h.__proto__=p,h}}():void 0)},d3b7:function(o,i,a){var s=a("00ee"),c=a("6eeb"),l=a("b041");s||c(Object.prototype,"toString",l,{unsafe:!0})},d44e:function(o,i,a){var s=a("9bf2").f,c=a("5135"),l=a("b622"),u=l("toStringTag");o.exports=function(f,d,h){f&&!c(f=h?f:f.prototype,u)&&s(f,u,{configurable:!0,value:d})}},d58f:function(o,i,a){var s=a("1c0b"),c=a("7b0b"),l=a("44ad"),u=a("50c4"),f=function(d){return function(h,p,m,A){s(p);var x=c(h),R=l(x),y=u(x.length),g=d?y-1:0,S=d?-1:1;if(m<2)for(;;){if(g in R){A=R[g],g+=S;break}if(g+=S,d?g<0:y<=g)throw TypeError("Reduce of empty array with no initial value")}for(;d?g>=0:y>g;g+=S)g in R&&(A=p(A,R[g],g,x));return A}};o.exports={left:f(!1),right:f(!0)}},d784:function(o,i,a){a("ac1f");var s=a("6eeb"),c=a("d039"),l=a("b622"),u=a("9263"),f=a("9112"),d=l("species"),h=!c(function(){var R=/./;return R.exec=function(){var y=[];return y.groups={a:"7"},y},"".replace(R,"$<a>")!=="7"}),p=function(){return"a".replace(/./,"$0")==="$0"}(),m=l("replace"),A=function(){return/./[m]?/./[m]("a","$0")==="":!1}(),x=!c(function(){var R=/(?:)/,y=R.exec;R.exec=function(){return y.apply(this,arguments)};var g="ab".split(R);return g.length!==2||g[0]!=="a"||g[1]!=="b"});o.exports=function(R,y,g,S){var L=l(R),T=!c(function(){var X={};return X[L]=function(){return 7},""[R](X)!=7}),M=T&&!c(function(){var X=!1,C=/a/;return R==="split"&&(C={},C.constructor={},C.constructor[d]=function(){return C},C.flags="",C[L]=/./[L]),C.exec=function(){return X=!0,null},C[L](""),!X});if(!T||!M||R==="replace"&&!(h&&p&&!A)||R==="split"&&!x){var O=/./[L],k=g(L,""[R],function(X,C,F,I,V){return C.exec===u?T&&!V?{done:!0,value:O.call(C,F,I)}:{done:!0,value:X.call(F,C,I)}:{done:!1}},{REPLACE_KEEPS_$0:p,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:A}),_=k[0],N=k[1];s(String.prototype,R,_),s(RegExp.prototype,L,y==2?function(X,C){return N.call(X,this,C)}:function(X){return N.call(X,this)})}S&&f(RegExp.prototype[L],"sham",!0)}},d81d:function(o,i,a){var s=a("23e7"),c=a("b727").map,l=a("1dde"),u=a("ae40"),f=l("map"),d=u("map");s({target:"Array",proto:!0,forced:!f||!d},{map:function(p){return c(this,p,arguments.length>1?arguments[1]:void 0)}})},da84:function(o,i,a){(function(s){var c=function(l){return l&&l.Math==Math&&l};o.exports=c(typeof globalThis=="object"&&globalThis)||c(typeof window=="object"&&window)||c(typeof self=="object"&&self)||c(typeof s=="object"&&s)||Function("return this")()}).call(this,a("c8ba"))},dbb4:function(o,i,a){var s=a("23e7"),c=a("83ab"),l=a("56ef"),u=a("fc6a"),f=a("06cf"),d=a("8418");s({target:"Object",stat:!0,sham:!c},{getOwnPropertyDescriptors:function(p){for(var m=u(p),A=f.f,x=l(m),R={},y=0,g,S;x.length>y;)S=A(m,g=x[y++]),S!==void 0&&d(R,g,S);return R}})},dbf1:function(o,i,a){(function(s){a.d(i,"a",function(){return l});function c(){return typeof window<"u"?window.console:s.console}var l=c()}).call(this,a("c8ba"))},ddb0:function(o,i,a){var s=a("da84"),c=a("fdbc"),l=a("e260"),u=a("9112"),f=a("b622"),d=f("iterator"),h=f("toStringTag"),p=l.values;for(var m in c){var A=s[m],x=A&&A.prototype;if(x){if(x[d]!==p)try{u(x,d,p)}catch{x[d]=p}if(x[h]||u(x,h,m),c[m]){for(var R in l)if(x[R]!==l[R])try{u(x,R,l[R])}catch{x[R]=l[R]}}}}},df75:function(o,i,a){var s=a("ca84"),c=a("7839");o.exports=Object.keys||function(u){return s(u,c)}},e01a:function(o,i,a){var s=a("23e7"),c=a("83ab"),l=a("da84"),u=a("5135"),f=a("861d"),d=a("9bf2").f,h=a("e893"),p=l.Symbol;if(c&&typeof p=="function"&&(!("description"in p.prototype)||p().description!==void 0)){var m={},A=function(){var L=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),T=this instanceof A?new p(L):L===void 0?p():p(L);return L===""&&(m[T]=!0),T};h(A,p);var x=A.prototype=p.prototype;x.constructor=A;var R=x.toString,y=String(p("test"))=="Symbol(test)",g=/^Symbol\((.*)\)[^)]+$/;d(x,"description",{configurable:!0,get:function(){var L=f(this)?this.valueOf():this,T=R.call(L);if(u(m,L))return"";var M=y?T.slice(7,-1):T.replace(g,"$1");return M===""?void 0:M}}),s({global:!0,forced:!0},{Symbol:A})}},e163:function(o,i,a){var s=a("5135"),c=a("7b0b"),l=a("f772"),u=a("e177"),f=l("IE_PROTO"),d=Object.prototype;o.exports=u?Object.getPrototypeOf:function(h){return h=c(h),s(h,f)?h[f]:typeof h.constructor=="function"&&h instanceof h.constructor?h.constructor.prototype:h instanceof Object?d:null}},e177:function(o,i,a){var s=a("d039");o.exports=!s(function(){function c(){}return c.prototype.constructor=null,Object.getPrototypeOf(new c)!==c.prototype})},e260:function(o,i,a){var s=a("fc6a"),c=a("44d2"),l=a("3f8c"),u=a("69f3"),f=a("7dd0"),d="Array Iterator",h=u.set,p=u.getterFor(d);o.exports=f(Array,"Array",function(m,A){h(this,{type:d,target:s(m),index:0,kind:A})},function(){var m=p(this),A=m.target,x=m.kind,R=m.index++;return!A||R>=A.length?(m.target=void 0,{value:void 0,done:!0}):x=="keys"?{value:R,done:!1}:x=="values"?{value:A[R],done:!1}:{value:[R,A[R]],done:!1}},"values"),l.Arguments=l.Array,c("keys"),c("values"),c("entries")},e439:function(o,i,a){var s=a("23e7"),c=a("d039"),l=a("fc6a"),u=a("06cf").f,f=a("83ab"),d=c(function(){u(1)}),h=!f||d;s({target:"Object",stat:!0,forced:h,sham:!f},{getOwnPropertyDescriptor:function(m,A){return u(l(m),A)}})},e538:function(o,i,a){var s=a("b622");i.f=s},e893:function(o,i,a){var s=a("5135"),c=a("56ef"),l=a("06cf"),u=a("9bf2");o.exports=function(f,d){for(var h=c(d),p=u.f,m=l.f,A=0;A<h.length;A++){var x=h[A];s(f,x)||p(f,x,m(d,x))}}},e8b5:function(o,i,a){var s=a("c6b6");o.exports=Array.isArray||function(l){return s(l)=="Array"}},e95a:function(o,i,a){var s=a("b622"),c=a("3f8c"),l=s("iterator"),u=Array.prototype;o.exports=function(f){return f!==void 0&&(c.Array===f||u[l]===f)}},f5df:function(o,i,a){var s=a("00ee"),c=a("c6b6"),l=a("b622"),u=l("toStringTag"),f=c(function(){return arguments}())=="Arguments",d=function(h,p){try{return h[p]}catch{}};o.exports=s?c:function(h){var p,m,A;return h===void 0?"Undefined":h===null?"Null":typeof(m=d(p=Object(h),u))=="string"?m:f?c(p):(A=c(p))=="Object"&&typeof p.callee=="function"?"Arguments":A}},f772:function(o,i,a){var s=a("5692"),c=a("90e3"),l=s("keys");o.exports=function(u){return l[u]||(l[u]=c(u))}},fb15:function(o,i,a){if(a.r(i),typeof window<"u"){var s=window.document.currentScript;{var c=a("8875");s=c(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:c})}var l=s&&s.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);l&&(a.p=l[1])}a("99af"),a("4de4"),a("4160"),a("c975"),a("d81d"),a("a434"),a("159b"),a("a4d3"),a("e439"),a("dbb4"),a("b64b");function u(Le,Te,Ce){return Te in Le?Object.defineProperty(Le,Te,{value:Ce,enumerable:!0,configurable:!0,writable:!0}):Le[Te]=Ce,Le}function f(Le,Te){var Ce=Object.keys(Le);if(Object.getOwnPropertySymbols){var He=Object.getOwnPropertySymbols(Le);Te&&(He=He.filter(function(et){return Object.getOwnPropertyDescriptor(Le,et).enumerable})),Ce.push.apply(Ce,He)}return Ce}function d(Le){for(var Te=1;Te<arguments.length;Te++){var Ce=arguments[Te]!=null?arguments[Te]:{};Te%2?f(Object(Ce),!0).forEach(function(He){u(Le,He,Ce[He])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Le,Object.getOwnPropertyDescriptors(Ce)):f(Object(Ce)).forEach(function(He){Object.defineProperty(Le,He,Object.getOwnPropertyDescriptor(Ce,He))})}return Le}function h(Le){if(Array.isArray(Le))return Le}a("e01a"),a("d28b"),a("e260"),a("d3b7"),a("3ca3"),a("ddb0");function p(Le,Te){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(Le)))){var Ce=[],He=!0,et=!1,ke=void 0;try{for(var De=Le[Symbol.iterator](),tt;!(He=(tt=De.next()).done)&&(Ce.push(tt.value),!(Te&&Ce.length===Te));He=!0);}catch(wt){et=!0,ke=wt}finally{try{!He&&De.return!=null&&De.return()}finally{if(et)throw ke}}return Ce}}a("a630"),a("fb6a"),a("b0c0"),a("25f0");function m(Le,Te){(Te==null||Te>Le.length)&&(Te=Le.length);for(var Ce=0,He=new Array(Te);Ce<Te;Ce++)He[Ce]=Le[Ce];return He}function A(Le,Te){if(Le){if(typeof Le=="string")return m(Le,Te);var Ce=Object.prototype.toString.call(Le).slice(8,-1);if(Ce==="Object"&&Le.constructor&&(Ce=Le.constructor.name),Ce==="Map"||Ce==="Set")return Array.from(Le);if(Ce==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ce))return m(Le,Te)}}function x(){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 R(Le,Te){return h(Le)||p(Le,Te)||A(Le,Te)||x()}function y(Le){if(Array.isArray(Le))return m(Le)}function g(Le){if(typeof Symbol<"u"&&Symbol.iterator in Object(Le))return Array.from(Le)}function S(){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 L(Le){return y(Le)||g(Le)||A(Le)||S()}var T=a("a352"),M=a.n(T);function O(Le){Le.parentElement!==null&&Le.parentElement.removeChild(Le)}function k(Le,Te,Ce){var He=Ce===0?Le.children[0]:Le.children[Ce-1].nextSibling;Le.insertBefore(Te,He)}var _=a("dbf1");a("13d5"),a("4fad"),a("ac1f"),a("5319");function N(Le){var Te=Object.create(null);return function(He){var et=Te[He];return et||(Te[He]=Le(He))}}var X=/-(\w)/g,C=N(function(Le){return Le.replace(X,function(Te,Ce){return Ce.toUpperCase()})});a("5db7"),a("73d9");var F=["Start","Add","Remove","Update","End"],I=["Choose","Unchoose","Sort","Filter","Clone"],V=["Move"],B=[V,F,I].flatMap(function(Le){return Le}).map(function(Le){return"on".concat(Le)}),G={manage:V,manageAndEmit:F,emit:I};function ne(Le){return B.indexOf(Le)!==-1}a("caad"),a("2ca0");var E=["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 Z(Le){return E.includes(Le)}function K(Le){return["transition-group","TransitionGroup"].includes(Le)}function U(Le){return["id","class","role","style"].includes(Le)||Le.startsWith("data-")||Le.startsWith("aria-")||Le.startsWith("on")}function J(Le){return Le.reduce(function(Te,Ce){var He=R(Ce,2),et=He[0],ke=He[1];return Te[et]=ke,Te},{})}function le(Le){var Te=Le.$attrs,Ce=Le.componentData,He=Ce===void 0?{}:Ce,et=J(Object.entries(Te).filter(function(ke){var De=R(ke,2),tt=De[0];return De[1],U(tt)}));return d(d({},et),He)}function ie(Le){var Te=Le.$attrs,Ce=Le.callBackBuilder,He=J(oe(Te));Object.entries(Ce).forEach(function(ke){var De=R(ke,2),tt=De[0],wt=De[1];G[tt].forEach(function(ut){He["on".concat(ut)]=wt(ut)})});var et="[data-draggable]".concat(He.draggable||"");return d(d({},He),{},{draggable:et})}function oe(Le){return Object.entries(Le).filter(function(Te){var Ce=R(Te,2),He=Ce[0];return Ce[1],!U(He)}).map(function(Te){var Ce=R(Te,2),He=Ce[0],et=Ce[1];return[C(He),et]}).filter(function(Te){var Ce=R(Te,2),He=Ce[0];return Ce[1],!ne(He)})}a("c740");function pe(Le,Te){if(!(Le instanceof Te))throw new TypeError("Cannot call a class as a function")}function ge(Le,Te){for(var Ce=0;Ce<Te.length;Ce++){var He=Te[Ce];He.enumerable=He.enumerable||!1,He.configurable=!0,"value"in He&&(He.writable=!0),Object.defineProperty(Le,He.key,He)}}function ye(Le,Te,Ce){return Te&&ge(Le.prototype,Te),Ce&&ge(Le,Ce),Le}var z=function(Te){var Ce=Te.el;return Ce},ae=function(Te,Ce){return Te.__draggable_context=Ce},W=function(Te){return Te.__draggable_context},j=function(){function Le(Te){var Ce=Te.nodes,He=Ce.header,et=Ce.default,ke=Ce.footer,De=Te.root,tt=Te.realList;pe(this,Le),this.defaultNodes=et,this.children=[].concat(L(He),L(et),L(ke)),this.externalComponent=De.externalComponent,this.rootTransition=De.transition,this.tag=De.tag,this.realList=tt}return ye(Le,[{key:"render",value:function(Ce,He){var et=this.tag,ke=this.children,De=this._isRootComponent,tt=De?{default:function(){return ke}}:ke;return Ce(et,He,tt)}},{key:"updated",value:function(){var Ce=this.defaultNodes,He=this.realList;Ce.forEach(function(et,ke){ae(z(et),{element:He[ke],index:ke})})}},{key:"getUnderlyingVm",value:function(Ce){return W(Ce)}},{key:"getVmIndexFromDomIndex",value:function(Ce,He){var et=this.defaultNodes,ke=et.length,De=He.children,tt=De.item(Ce);if(tt===null)return ke;var wt=W(tt);if(wt)return wt.index;if(ke===0)return 0;var ut=z(et[0]),ht=L(De).findIndex(function(gt){return gt===ut});return Ce<ht?0:ke}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),Le}(),ue=a("8bbf");function $(Le,Te){var Ce=Le[Te];return Ce?Ce():[]}function q(Le){var Te=Le.$slots,Ce=Le.realList,He=Le.getKey,et=Ce||[],ke=["header","footer"].map(function(gt){return $(Te,gt)}),De=R(ke,2),tt=De[0],wt=De[1],ut=Te.item;if(!ut)throw new Error("draggable element must have an item slot");var ht=et.flatMap(function(gt,Ft){return ut({element:gt,index:Ft}).map(function(Yt){return Yt.key=He(gt),Yt.props=d(d({},Yt.props||{}),{},{"data-draggable":!0}),Yt})});if(ht.length!==et.length)throw new Error("Item slot must have only one child");return{header:tt,footer:wt,default:ht}}function se(Le){var Te=K(Le),Ce=!Z(Le)&&!Te;return{transition:Te,externalComponent:Ce,tag:Ce?Object(ue.resolveComponent)(Le):Te?ue.TransitionGroup:Le}}function ve(Le){var Te=Le.$slots,Ce=Le.tag,He=Le.realList,et=Le.getKey,ke=q({$slots:Te,realList:He,getKey:et}),De=se(Ce);return new j({nodes:ke,root:De,realList:He})}function ce(Le,Te){var Ce=this;Object(ue.nextTick)(function(){return Ce.$emit(Le.toLowerCase(),Te)})}function de(Le){var Te=this;return function(Ce,He){if(Te.realList!==null)return Te["onDrag".concat(Le)](Ce,He)}}function be(Le){var Te=this,Ce=de.call(this,Le);return function(He,et){Ce.call(Te,He,et),ce.call(Te,Le,He)}}var _e=null,Ie={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(Te){return Te}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},Ae=["update:modelValue","change"].concat(L([].concat(L(G.manageAndEmit),L(G.emit)).map(function(Le){return Le.toLowerCase()}))),qe=Object(ue.defineComponent)({name:"draggable",inheritAttrs:!1,props:Ie,emits:Ae,data:function(){return{error:!1}},render:function(){try{this.error=!1;var Te=this.$slots,Ce=this.$attrs,He=this.tag,et=this.componentData,ke=this.realList,De=this.getKey,tt=ve({$slots:Te,tag:He,realList:ke,getKey:De});this.componentStructure=tt;var wt=le({$attrs:Ce,componentData:et});return tt.render(ue.h,wt)}catch(ut){return this.error=!0,Object(ue.h)("pre",{style:{color:"red"}},ut.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&_.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var Te=this;if(!this.error){var Ce=this.$attrs,He=this.$el,et=this.componentStructure;et.updated();var ke=ie({$attrs:Ce,callBackBuilder:{manageAndEmit:function(wt){return be.call(Te,wt)},emit:function(wt){return ce.bind(Te,wt)},manage:function(wt){return de.call(Te,wt)}}}),De=He.nodeType===1?He:He.parentElement;this._sortable=new M.a(De,ke),this.targetDomElement=De,De.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var Te=this.list;return Te||this.modelValue},getKey:function(){var Te=this.itemKey;return typeof Te=="function"?Te:function(Ce){return Ce[Te]}}},watch:{$attrs:{handler:function(Te){var Ce=this._sortable;Ce&&oe(Te).forEach(function(He){var et=R(He,2),ke=et[0],De=et[1];Ce.option(ke,De)})},deep:!0}},methods:{getUnderlyingVm:function(Te){return this.componentStructure.getUnderlyingVm(Te)||null},getUnderlyingPotencialDraggableComponent:function(Te){return Te.__draggable_component__},emitChanges:function(Te){var Ce=this;Object(ue.nextTick)(function(){return Ce.$emit("change",Te)})},alterList:function(Te){if(this.list){Te(this.list);return}var Ce=L(this.modelValue);Te(Ce),this.$emit("update:modelValue",Ce)},spliceList:function(){var Te=arguments,Ce=function(et){return et.splice.apply(et,L(Te))};this.alterList(Ce)},updatePosition:function(Te,Ce){var He=function(ke){return ke.splice(Ce,0,ke.splice(Te,1)[0])};this.alterList(He)},getRelatedContextFromMoveEvent:function(Te){var Ce=Te.to,He=Te.related,et=this.getUnderlyingPotencialDraggableComponent(Ce);if(!et)return{component:et};var ke=et.realList,De={list:ke,component:et};if(Ce!==He&&ke){var tt=et.getUnderlyingVm(He)||{};return d(d({},tt),De)}return De},getVmIndexFromDomIndex:function(Te){return this.componentStructure.getVmIndexFromDomIndex(Te,this.targetDomElement)},onDragStart:function(Te){this.context=this.getUnderlyingVm(Te.item),Te.item._underlying_vm_=this.clone(this.context.element),_e=Te.item},onDragAdd:function(Te){var Ce=Te.item._underlying_vm_;if(Ce!==void 0){O(Te.item);var He=this.getVmIndexFromDomIndex(Te.newIndex);this.spliceList(He,0,Ce);var et={element:Ce,newIndex:He};this.emitChanges({added:et})}},onDragRemove:function(Te){if(k(this.$el,Te.item,Te.oldIndex),Te.pullMode==="clone"){O(Te.clone);return}var Ce=this.context,He=Ce.index,et=Ce.element;this.spliceList(He,1);var ke={element:et,oldIndex:He};this.emitChanges({removed:ke})},onDragUpdate:function(Te){O(Te.item),k(Te.from,Te.item,Te.oldIndex);var Ce=this.context.index,He=this.getVmIndexFromDomIndex(Te.newIndex);this.updatePosition(Ce,He);var et={element:this.context.element,oldIndex:Ce,newIndex:He};this.emitChanges({moved:et})},computeFutureIndex:function(Te,Ce){if(!Te.element)return 0;var He=L(Ce.to.children).filter(function(tt){return tt.style.display!=="none"}),et=He.indexOf(Ce.related),ke=Te.component.getVmIndexFromDomIndex(et),De=He.indexOf(_e)!==-1;return De||!Ce.willInsertAfter?ke:ke+1},onDragMove:function(Te,Ce){var He=this.move,et=this.realList;if(!He||!et)return!0;var ke=this.getRelatedContextFromMoveEvent(Te),De=this.computeFutureIndex(ke,Te),tt=d(d({},this.context),{},{futureIndex:De}),wt=d(d({},Te),{},{relatedContext:ke,draggedContext:tt});return He(wt,Ce)},onDragEnd:function(){_e=null}}}),Xe=qe;i.default=Xe},fb6a:function(o,i,a){var s=a("23e7"),c=a("861d"),l=a("e8b5"),u=a("23cb"),f=a("50c4"),d=a("fc6a"),h=a("8418"),p=a("b622"),m=a("1dde"),A=a("ae40"),x=m("slice"),R=A("slice",{ACCESSORS:!0,0:0,1:2}),y=p("species"),g=[].slice,S=Math.max;s({target:"Array",proto:!0,forced:!x||!R},{slice:function(T,M){var O=d(this),k=f(O.length),_=u(T,k),N=u(M===void 0?k:M,k),X,C,F;if(l(O)&&(X=O.constructor,typeof X=="function"&&(X===Array||l(X.prototype))?X=void 0:c(X)&&(X=X[y],X===null&&(X=void 0)),X===Array||X===void 0))return g.call(O,_,N);for(C=new(X===void 0?Array:X)(S(N-_,0)),F=0;_<N;_++,F++)_ in O&&h(C,F,O[_]);return C.length=F,C}})},fc6a:function(o,i,a){var s=a("44ad"),c=a("1d80");o.exports=function(l){return s(c(l))}},fdbc:function(o,i){o.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(o,i,a){var s=a("4930");o.exports=s&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(zF);var Ghe=zF.exports;const k5=Vg(Ghe),Jhe={class:"add-slide"},zhe={class:"select-btn"},jhe=["onMousedown"],$he={class:"page-number"},qhe=Fe({__name:"index",setup(e){const t=ft(),n=ct(),r=Ss(),{selectedSlidesIndex:o,thumbnailsFocus:i}=Ee(t),{slides:a,slideIndex:s}=Ee(n),{ctrlKeyState:c,shiftKeyState:l}=Ee(r),{slidesLoadLimit:u}=Bp(),f=Se(()=>[...o.value,s.value]),d=me(!1),{copySlide:h,pasteSlide:p,createSlide:m,createSlideByTemplate:A,copyAndPasteSlide:x,deleteSlide:R,cutSlide:y,selectAllSlide:g,sortSlides:S}=Dd(),L=me();Tt(()=>s.value,()=>{f.value.length&&t.updateSelectedSlidesIndex([]),Vr(()=>{var I,V;const F=(V=(I=L.value)==null?void 0:I.$el)==null?void 0:V.querySelector(".thumbnail-item.active");L.value&&F&&!Ez(F,L.value.$el)&&setTimeout(()=>{F.scrollIntoView({behavior:"smooth"})},100)})});const T=F=>{t.setActiveElementIdList([]),s.value!==F&&n.updateSlideIndex(F)},M=(F,I)=>{const V=f.value.length>1;if(!(V&&f.value.includes(I)&&F.button!==0))if(c.value)if(s.value===I){if(!V)return;const B=f.value.filter(G=>G!==I);t.updateSelectedSlidesIndex(B),T(f.value[0])}else if(f.value.includes(I)){const B=f.value.filter(G=>G!==I);t.updateSelectedSlidesIndex(B)}else{const B=[...f.value,I];t.updateSelectedSlidesIndex(B)}else if(l.value){if(s.value===I&&!V)return;let B=Math.min(...f.value),G=I;I<B&&(G=Math.max(...f.value),B=I);const ne=[];for(let E=B;E<=G;E++)ne.push(E);t.updateSelectedSlidesIndex(ne)}else t.updateSelectedSlidesIndex([]),T(I)},O=F=>{i.value!==F&&(t.setThumbnailsFocus(F),F||t.updateSelectedSlidesIndex([]))},k=F=>{const{newIndex:I,oldIndex:V}=F;I===void 0||V===void 0||I===V||S(I,V)},{enterScreening:_,enterScreeningFromStart:N}=Mc(),X=()=>[{text:"粘贴",subText:"Ctrl + V",handler:p},{text:"全选",subText:"Ctrl + A",handler:g},{text:"新建页面",subText:"Enter",handler:m},{text:"幻灯片放映",subText:"F5",handler:N}],C=()=>[{text:"剪切",subText:"Ctrl + X",handler:y},{text:"复制",subText:"Ctrl + C",handler:h},{text:"粘贴",subText:"Ctrl + V",handler:p},{text:"全选",subText:"Ctrl + A",handler:g},{divider:!0},{text:"新建页面",subText:"Enter",handler:m},{text:"复制页面",subText:"Ctrl + D",handler:x},{text:"删除页面",subText:"Delete",handler:()=>R()},{divider:!0},{text:"从当前放映",subText:"Shift + F5",handler:_}];return(F,I)=>{const V=xe("IconPlus"),B=xe("IconDown"),G=Ln("contextmenu"),ne=Ln("click-outside");return Ze((Q(),ee("div",{class:"thumbnails",onMousedown:I[4]||(I[4]=()=>O(!0))},[Y("div",Jhe,[Y("div",{class:"btn",onClick:I[0]||(I[0]=E=>H(m)())},[w(V,{class:"icon"}),Ye("添加幻灯片")]),w(kt,{trigger:"click",placement:"bottom-start",value:d.value,"onUpdate:value":I[2]||(I[2]=E=>d.value=E),center:""},{content:re(()=>[w(che,{onSelect:I[1]||(I[1]=E=>{H(A)(E),d.value=!1})})]),default:re(()=>[Y("div",zhe,[w(B)])]),_:1},8,["value"])]),w(H(k5),{class:"thumbnail-list",ref_key:"thumbnailsRef",ref:L,modelValue:H(a),animation:200,scroll:!0,scrollSensitivity:50,onEnd:k,itemKey:"id"},{item:re(({element:E,index:Z})=>[Ze((Q(),ee("div",{class:$e(["thumbnail-item",{active:H(s)===Z,selected:f.value.includes(Z)}]),onMousedown:K=>M(K,Z),onDblclick:I[3]||(I[3]=K=>H(_)())},[Y("div",{class:$e(["label",{"offset-left":Z>=99}])},bt(H(E0)(Z+1,2)),3),w(Fa,{class:"thumbnail",slide:E,size:120,visible:Z<H(u)},null,8,["slide","visible"])],42,jhe)),[[G,C]])]),_:1},8,["modelValue"]),Y("div",$he,"幻灯片 "+bt(H(s)+1)+" / "+bt(H(a).length),1)],32)),[[ne,()=>O(!1)],[G,X]])}}}),epe=We(qhe,[["__scopeId","data-v-d7a17fcd"]]),l_=()=>{const e=ft(),{richTextAttrs:t,textFormatPainter:n}=Ee(e);return{toggleTextFormatPainter:(o=!1)=>{n.value?e.setTextFormatPainter(null):e.setTextFormatPainter({keep:o,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})}}};function N5(e,t){return t===void 0&&(t=15),+parseFloat(Number(e).toPrecision(t))}function ys(e){var t=e.toString().split(/[eE]/),n=(t[0].split(".")[1]||"").length-+(t[1]||0);return n>0?n:0}function fp(e){if(e.toString().indexOf("e")===-1)return Number(e.toString().replace(".",""));var t=ys(e);return t>0?N5(Number(e)*Math.pow(10,t)):Number(e)}function hx(e){u_&&(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 d2(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=t[0],o=t.slice(1);return o.reduce(function(i,a){return e(i,a)},r)}}var yc=d2(function(e,t){var n=fp(e),r=fp(t),o=ys(e)+ys(t),i=n*r;return hx(i),i/Math.pow(10,o)}),tpe=d2(function(e,t){var n=Math.pow(10,Math.max(ys(e),ys(t)));return(yc(e,n)+yc(t,n))/n}),npe=d2(function(e,t){var n=Math.pow(10,Math.max(ys(e),ys(t)));return(yc(e,n)-yc(t,n))/n}),c_=d2(function(e,t){var n=fp(e),r=fp(t);return hx(n),hx(r),yc(n/r,N5(Math.pow(10,ys(t)-ys(e))))});function rpe(e,t){var n=Math.pow(10,t),r=c_(Math.round(Math.abs(yc(e,n))),n);return e<0&&r!==0&&(r=yc(r,-1)),r}var u_=!0;function ope(e){e===void 0&&(e=!0),u_=e}var ipe={strip:N5,plus:tpe,minus:npe,times:yc,divide:c_,round:rpe,digitLength:ys,float2Fixed:fp,enableBoundaryChecking:ope};const ape={class:"bar"},spe=["data-tooltip"],lpe=["data-tooltip"],cpe=["data-tooltip"],upe=Fe({__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=g=>g.getBoundingClientRect().left,r=e,o=t,i=me(),a=me(0),s=me(0),c=me(0),l=me("end"),u=g=>{let S=g/100*(r.max-r.min);if(r.step>=1)S=Math.fround(S);else{const L=r.step.toString(),T=L.match(/^[0.]*([1-9])/);if(T){const M=T[1],O=L.indexOf(M)-1;if(O>0){const k=Math.pow(10,O);S=Math.fround(S*k)/k}}}return ipe.plus(S,r.min)},f=Se(()=>u(a.value)),d=Se(()=>u(s.value)),h=Se(()=>u(c.value));Tt(()=>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,c.value=(r.value[1]-r.min)/(r.max-r.min)*100))},{immediate:!0});const p=g=>{if(!i.value)return 0;let L=(("clientX"in g?g.clientX:g.changedTouches[0].clientX)-n(i.value))/i.value.clientWidth;L=Math.max(L,0),L=Math.min(L,1);let T=L*100;const M=r.step/(r.max-r.min)*100,O=T%M;return O>0&&(O<=M/2?T=T-O:T=T-O+M),T},m=g=>{const S=p(g);l.value==="start"?s.value=S:c.value=S},A=g=>{x(g);const S=u(a.value),L=r.value,T=l.value==="start"?[S,L[1]]:[L[0],S];T[0]>T[1]&&([T[0],T[1]]=[T[1],T[0]]),o("update:value",T),document.removeEventListener("mousemove",m),document.removeEventListener("touchmove",m),document.removeEventListener("mouseup",A),document.removeEventListener("touchend",A)},x=g=>{a.value=p(g)},R=g=>{x(g);const S=u(a.value);o("update:value",S),document.removeEventListener("mousemove",x),document.removeEventListener("touchmove",x),document.removeEventListener("mouseup",R),document.removeEventListener("touchend",R)},y=g=>{if(!r.disabled)if(r.range){const S=p(g);Math.abs(S-s.value)<Math.abs(S-c.value)?l.value="start":l.value="end",document.addEventListener("mousemove",m),document.addEventListener("touchmove",m),document.addEventListener("mouseup",A),document.addEventListener("touchend",A)}else document.addEventListener("mousemove",x),document.addEventListener("touchmove",x),document.addEventListener("mouseup",R),document.addEventListener("touchend",R)};return(g,S)=>(Q(),ee("div",{class:$e(["slider",{disabled:g.disabled}]),ref_key:"sliderRef",ref:i,onMousedown:S[0]||(S[0]=L=>y(L))},[Y("div",ape,[g.range?(Q(),ee(Ve,{key:1},[Y("div",{class:"track",style:we({width:`${c.value-s.value}%`,left:`${s.value}%`})},null,4),Y("div",{class:"thumb",style:we({left:`${s.value}%`}),"data-tooltip":d.value},null,12,lpe),Y("div",{class:"thumb",style:we({left:`${c.value}%`}),"data-tooltip":h.value},null,12,cpe)],64)):(Q(),ee(Ve,{key:0},[Y("div",{class:"track",style:we({width:`${a.value}%`})},null,4),Y("div",{class:"thumb",style:we({left:`${a.value}%`}),"data-tooltip":f.value},null,12,spe)],64))])],34))}}),no=We(upe,[["__scopeId","data-v-a7428be4"]]),fpe=e=>(on("data-v-c3b27b40"),e=e(),an(),e),dpe={class:"element-opacity"},hpe={class:"row"},ppe=fpe(()=>Y("div",{style:{width:"40%"}},"不透明度:",-1)),mpe=Fe({__name:"ElementOpacity",setup(e){const t=ct(),{handleElement:n}=Ee(ft()),r=me(1);Tt(n,()=>{n.value&&(r.value="opacity"in n.value&&n.value.opacity!==void 0?n.value.opacity:1)},{deep:!0,immediate:!0});const{addHistorySnapshot:o}=Jt(),i=a=>{if(!n.value)return;const s={opacity:a};t.updateElement({id:n.value.id,props:s}),o()};return(a,s)=>(Q(),ee("div",dpe,[Y("div",hpe,[ppe,w(no,{min:0,max:1,step:.1,value:r.value,"onUpdate:value":s[0]||(s[0]=c=>i(c)),style:{width:"60%"}},null,8,["value"])])]))}}),f_=We(mpe,[["__scopeId","data-v-c3b27b40"]]),vpe={class:"color-block"},gpe=Fe({__name:"ColorButton",props:{color:{}},setup(e){return(t,n)=>{const r=xe("IconPlatte");return Q(),Oe(nt,{class:"color-btn"},{default:re(()=>[Y("div",vpe,[Y("div",{class:"content",style:we({backgroundColor:t.color})},null,4)]),w(r,{class:"color-btn-icon"})]),_:1})}}}),ir=We(gpe,[["__scopeId","data-v-5e2a7fc5"]]);function Ape(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"),o=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(o),t&&(r.href=t),o.href=e,o.href}const Rpe=(()=>{let e=0;const t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function ol(e){const t=[];for(let n=0,r=e.length;n<r;n++)t.push(e[n]);return t}function pg(e,t){const r=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return r?parseFloat(r.replace("px","")):0}function ype(e){const t=pg(e,"border-left-width"),n=pg(e,"border-right-width");return e.clientWidth+t+n}function xpe(e){const t=pg(e,"border-top-width"),n=pg(e,"border-bottom-width");return e.clientHeight+t+n}function d_(e,t={}){const n=t.width||ype(e),r=t.height||xpe(e);return{width:n,height:r}}function bpe(){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 di=16384;function Spe(e){(e.width>di||e.height>di)&&(e.width>di&&e.height>di?e.width>e.height?(e.height*=di/e.width,e.width=di):(e.width*=di/e.height,e.height=di):e.width>di?(e.height*=di/e.width,e.width=di):(e.width*=di/e.height,e.height=di))}function mg(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 Mpe(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function wpe(e,t,n){const r="http://www.w3.org/2000/svg",o=document.createElementNS(r,"svg"),i=document.createElementNS(r,"foreignObject");return o.setAttribute("width",`${t}`),o.setAttribute("height",`${n}`),o.setAttribute("viewBox",`0 0 ${t} ${n}`),i.setAttribute("width","100%"),i.setAttribute("height","100%"),i.setAttribute("x","0"),i.setAttribute("y","0"),i.setAttribute("externalResourcesRequired","true"),o.appendChild(i),i.appendChild(e),Mpe(o)}const ri=(e,t)=>{if(e instanceof t)return!0;const n=Object.getPrototypeOf(e);return n===null?!1:n.constructor.name===t.name||ri(n,t)};function Lpe(e){const t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function Ope(e){return ol(e).map(t=>{const n=e.getPropertyValue(t),r=e.getPropertyPriority(t);return`${t}: ${n}${r?" !important":""};`}).join(" ")}function Tpe(e,t,n){const r=`.${e}:${t}`,o=n.cssText?Lpe(n):Ope(n);return document.createTextNode(`${r}{${o}}`)}function YT(e,t,n){const r=window.getComputedStyle(e,n),o=r.getPropertyValue("content");if(o===""||o==="none")return;const i=Rpe();try{t.className=`${t.className} ${i}`}catch{return}const a=document.createElement("style");a.appendChild(Tpe(i,n,r)),t.appendChild(a)}function kpe(e,t){YT(e,t,":before"),YT(e,t,":after")}const QT="application/font-woff",ZT="image/jpeg",Npe={woff:QT,woff2:QT,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:ZT,jpeg:ZT,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function Ppe(e){const t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function P5(e){const t=Ppe(e).toLowerCase();return Npe[t]||""}function Cpe(e){return e.split(/,/)[1]}function px(e){return e.search(/^(data:)/)!==-1}function h_(e,t){return`data:${t};base64,${e}`}async function p_(e,t,n){const r=await fetch(e,t);if(r.status===404)throw new Error(`Resource "${r.url}" not found`);const o=await r.blob();return new Promise((i,a)=>{const s=new FileReader;s.onerror=a,s.onloadend=()=>{try{i(n({res:r,result:s.result}))}catch(c){a(c)}},s.readAsDataURL(o)})}const a4={};function Ipe(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 C5(e,t,n){const r=Ipe(e,t,n.includeQueryParams);if(a4[r]!=null)return a4[r];n.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let o;try{const i=await p_(e,n.fetchRequestInit,({res:a,result:s})=>(t||(t=a.headers.get("Content-Type")||""),Cpe(s)));o=h_(i,t)}catch(i){o=n.imagePlaceholder||"";let a=`Failed to fetch resource: ${e}`;i&&(a=typeof i=="string"?i:i.message),a&&console.warn(a)}return a4[r]=o,o}async function Fpe(e){const t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):mg(t)}async function _pe(e,t){if(e.currentSrc){const i=document.createElement("canvas"),a=i.getContext("2d");i.width=e.clientWidth,i.height=e.clientHeight,a==null||a.drawImage(e,0,0,i.width,i.height);const s=i.toDataURL();return mg(s)}const n=e.poster,r=P5(n),o=await C5(n,r,t);return mg(o)}async function Xpe(e){var t;try{if(!((t=e==null?void 0:e.contentDocument)===null||t===void 0)&&t.body)return await h2(e.contentDocument.body,{},!0)}catch{}return e.cloneNode(!1)}async function Epe(e,t){return ri(e,HTMLCanvasElement)?Fpe(e):ri(e,HTMLVideoElement)?_pe(e,t):ri(e,HTMLIFrameElement)?Xpe(e):e.cloneNode(!1)}const Wpe=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT";async function Vpe(e,t,n){var r,o;let i=[];return Wpe(e)&&e.assignedNodes?i=ol(e.assignedNodes()):ri(e,HTMLIFrameElement)&&(!((r=e.contentDocument)===null||r===void 0)&&r.body)?i=ol(e.contentDocument.body.childNodes):i=ol(((o=e.shadowRoot)!==null&&o!==void 0?o:e).childNodes),i.length===0||ri(e,HTMLVideoElement)||await i.reduce((a,s)=>a.then(()=>h2(s,n)).then(c=>{c&&t.appendChild(c)}),Promise.resolve()),t}function Upe(e,t){const n=t.style;if(!n)return;const r=window.getComputedStyle(e);r.cssText?(n.cssText=r.cssText,n.transformOrigin=r.transformOrigin):ol(r).forEach(o=>{let i=r.getPropertyValue(o);o==="font-size"&&i.endsWith("px")&&(i=`${Math.floor(parseFloat(i.substring(0,i.length-2)))-.1}px`),ri(e,HTMLIFrameElement)&&o==="display"&&i==="inline"&&(i="block"),o==="d"&&t.getAttribute("d")&&(i=`path(${t.getAttribute("d")})`),n.setProperty(o,i,r.getPropertyPriority(o))})}function Ype(e,t){ri(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),ri(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function Qpe(e,t){if(ri(e,HTMLSelectElement)){const n=t,r=Array.from(n.children).find(o=>e.value===o.getAttribute("value"));r&&r.setAttribute("selected","")}}function Zpe(e,t){return ri(t,Element)&&(Upe(e,t),kpe(e,t),Ype(e,t),Qpe(e,t)),t}async function Bpe(e,t){const n=e.querySelectorAll?e.querySelectorAll("use"):[];if(n.length===0)return e;const r={};for(let i=0;i<n.length;i++){const s=n[i].getAttribute("xlink:href");if(s){const c=e.querySelector(s),l=document.querySelector(s);!c&&l&&!r[s]&&(r[s]=await h2(l,t,!0))}}const o=Object.values(r);if(o.length){const i="http://www.w3.org/1999/xhtml",a=document.createElementNS(i,"svg");a.setAttribute("xmlns",i),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";const s=document.createElementNS(i,"defs");a.appendChild(s);for(let c=0;c<o.length;c++)s.appendChild(o[c]);e.appendChild(a)}return e}async function h2(e,t,n){return!n&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(r=>Epe(r,t)).then(r=>Vpe(e,r,t)).then(r=>Zpe(e,r)).then(r=>Bpe(r,t))}const m_=/url\((['"]?)([^'"]+?)\1\)/g,Dpe=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,Kpe=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function Hpe(e){const t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function Gpe(e){const t=[];return e.replace(m_,(n,r,o)=>(t.push(o),n)),t.filter(n=>!px(n))}async function Jpe(e,t,n,r,o){try{const i=n?Ape(t,n):t,a=P5(t);let s;if(o){const c=await o(i);s=h_(c,a)}else s=await C5(i,a,r);return e.replace(Hpe(t),`$1${s}$3`)}catch{}return e}function zpe(e,{preferredFontFormat:t}){return t?e.replace(Kpe,n=>{for(;;){const[r,,o]=Dpe.exec(n)||[];if(!o)return"";if(o===t)return`src: ${r};`}}):e}function v_(e){return e.search(m_)!==-1}async function g_(e,t,n){if(!v_(e))return e;const r=zpe(e,n);return Gpe(r).reduce((i,a)=>i.then(s=>Jpe(s,a,t,n)),Promise.resolve(r))}async function km(e,t,n){var r;const o=(r=t.style)===null||r===void 0?void 0:r.getPropertyValue(e);if(o){const i=await g_(o,null,n);return t.style.setProperty(e,i,t.style.getPropertyPriority(e)),!0}return!1}async function jpe(e,t){await km("background",e,t)||await km("background-image",e,t),await km("mask",e,t)||await km("mask-image",e,t)}async function $pe(e,t){const n=ri(e,HTMLImageElement);if(!(n&&!px(e.src))&&!(ri(e,SVGImageElement)&&!px(e.href.baseVal)))return;const r=n?e.src:e.href.baseVal,o=await C5(r,P5(r),t);await new Promise((i,a)=>{e.onload=i,e.onerror=a;const s=e;s.decode&&(s.decode=i),s.loading==="lazy"&&(s.loading="eager"),n?(e.srcset="",e.src=o):e.href.baseVal=o})}async function qpe(e,t){const r=ol(e.childNodes).map(o=>A_(o,t));await Promise.all(r).then(()=>e)}async function A_(e,t){ri(e,Element)&&(await jpe(e,t),await $pe(e,t),await qpe(e,t))}function e1e(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(o=>{n[o]=r[o]}),e}const BT={};async function DT(e){let t=BT[e];if(t!=null)return t;const r=await(await fetch(e)).text();return t={url:e,cssText:r},BT[e]=t,t}async function KT(e,t){let n=e.cssText;const r=/url\(["']?([^"')]+)["']?\)/g,i=(n.match(/url\([^)]+\)/g)||[]).map(async a=>{let s=a.replace(r,"$1");return s.startsWith("https://")||(s=new URL(s,e.url).href),p_(s,t.fetchRequestInit,({result:c})=>(n=n.replace(a,`url(${c})`),[a,c]))});return Promise.all(i).then(()=>n)}function HT(e){if(e==null)return[];const t=[],n=/(\/\*[\s\S]*?\*\/)/gi;let r=e.replace(n,"");const o=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const c=o.exec(r);if(c===null)break;t.push(c[0])}r=r.replace(o,"");const i=/@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 c=i.exec(r);if(c===null){if(c=s.exec(r),c===null)break;i.lastIndex=s.lastIndex}else s.lastIndex=i.lastIndex;t.push(c[0])}return t}async function t1e(e,t){const n=[],r=[];return e.forEach(o=>{if("cssRules"in o)try{ol(o.cssRules||[]).forEach((i,a)=>{if(i.type===CSSRule.IMPORT_RULE){let s=a+1;const c=i.href,l=DT(c).then(u=>KT(u,t)).then(u=>HT(u).forEach(f=>{try{o.insertRule(f,f.startsWith("@import")?s+=1:o.cssRules.length)}catch(d){console.error("Error inserting rule from remote css",{rule:f,error:d})}})).catch(u=>{console.error("Error loading remote css",u.toString())});r.push(l)}})}catch(i){const a=e.find(s=>s.href==null)||document.styleSheets[0];o.href!=null&&r.push(DT(o.href).then(s=>KT(s,t)).then(s=>HT(s).forEach(c=>{a.insertRule(c,o.cssRules.length)})).catch(s=>{console.error("Error loading remote stylesheet",s)})),console.error("Error inlining remote css file",i)}}),Promise.all(r).then(()=>(e.forEach(o=>{if("cssRules"in o)try{ol(o.cssRules||[]).forEach(i=>{n.push(i)})}catch(i){console.error(`Error while reading CSS rules from ${o.href}`,i)}}),n))}function n1e(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>v_(t.style.getPropertyValue("src")))}async function r1e(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");const n=ol(e.ownerDocument.styleSheets),r=await t1e(n,t);return n1e(r)}async function o1e(e,t){const n=await r1e(e,t);return(await Promise.all(n.map(o=>{const i=o.parentStyleSheet?o.parentStyleSheet.href:null;return g_(o.cssText,i,t)}))).join(`
`)}async function i1e(e,t){const n=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await o1e(e,t);if(n){const r=document.createElement("style"),o=document.createTextNode(n);r.appendChild(o),e.firstChild?e.insertBefore(r,e.firstChild):e.appendChild(r)}}async function a1e(e,t={}){const{width:n,height:r}=d_(e,t),o=await h2(e,t,!0);return await i1e(o,t),await A_(o,t),e1e(o,t),await wpe(o,n,r)}async function I5(e,t={}){const{width:n,height:r}=d_(e,t),o=await a1e(e,t),i=await mg(o),a=document.createElement("canvas"),s=a.getContext("2d"),c=t.pixelRatio||bpe(),l=t.canvasWidth||n,u=t.canvasHeight||r;return a.width=l*c,a.height=u*c,t.skipAutoScale||Spe(a),a.style.width=`${l}`,a.style.height=`${u}`,t.backgroundColor&&(s.fillStyle=t.backgroundColor,s.fillRect(0,0,a.width,a.height)),s.drawImage(i,0,0,a.width,a.height),a}async function s1e(e,t={}){return(await I5(e,t)).toDataURL()}async function l1e(e,t={}){return(await I5(e,t)).toDataURL("image/jpeg",t.quality||1)}const c1e=Fe({__name:"Checkboard",props:{size:{default:8},white:{default:"#fff"},grey:{default:"#e6e6e6"}},setup(e){const t=e,n={},r=(a,s,c)=>{const l=document.createElement("canvas");l.width=l.height=c*2;const u=l.getContext("2d");return u?(u.fillStyle=a,u.fillRect(0,0,l.width,l.height),u.fillStyle=s,u.fillRect(0,0,c,c),u.translate(c,c),u.fillRect(0,0,c,c),l.toDataURL()):null},o=(a,s,c)=>{const l=a+","+s+","+c;if(n[l])return n[l];const u=r(a,s,c);return n[l]=u,u},i=Se(()=>({backgroundImage:`url(${o(t.white,t.grey,t.size)})`}));return(a,s)=>(Q(),ee("div",{class:"checkerboard",style:we(i.value)},null,4))}}),mx=We(c1e,[["__scopeId","data-v-46275348"]]),u1e=e=>(on("data-v-429f62d3"),e=e(),an(),e),f1e={class:"alpha"},d1e={class:"alpha-checkboard-wrap"},h1e=u1e(()=>Y("div",{class:"alpha-picker"},null,-1)),p1e=[h1e],m1e=Fe({__name:"Alpha",props:{value:{}},emits:["colorChange"],setup(e,{emit:t}){const n=e,r=t,o=Se(()=>n.value),i=Se(()=>{const u=[o.value.r,o.value.g,o.value.b].join(",");return`linear-gradient(to right, rgba(${u}, 0) 0%, rgba(${u}, 1) 100%)`}),a=me(),s=u=>{if(u.preventDefault(),!a.value)return;const f=a.value.clientWidth,d=a.value.getBoundingClientRect().left+window.pageXOffset,h=u.pageX-d;let p;h<0?p=0:h>f?p=1:p=Math.round(h*100/f)/100,o.value.a!==p&&r("colorChange",{r:o.value.r,g:o.value.g,b:o.value.b,a:p})},c=()=>{window.removeEventListener("mousemove",s),window.removeEventListener("mouseup",c)},l=u=>{s(u),window.addEventListener("mousemove",s),window.addEventListener("mouseup",c)};return Tn(c),(u,f)=>(Q(),ee("div",f1e,[Y("div",d1e,[w(mx)]),Y("div",{class:"alpha-gradient",style:we({background:i.value})},null,4),Y("div",{class:"alpha-container",ref_key:"alphaRef",ref:a,onMousedown:f[0]||(f[0]=d=>l(d))},[Y("div",{class:"alpha-pointer",style:we({left:o.value.a*100+"%"})},p1e,4)],544)]))}}),v1e=We(m1e,[["__scopeId","data-v-429f62d3"]]),g1e=e=>(on("data-v-21ccc370"),e=e(),an(),e),A1e={class:"hue"},R1e=g1e(()=>Y("div",{class:"hue-picker"},null,-1)),y1e=[R1e],x1e=Fe({__name:"Hue",props:{value:{},hue:{}},emits:["colorChange"],setup(e,{emit:t}){const n=e,r=t,o=me(0),i=me(""),a=Se(()=>{const d=ot(n.value).toHsl();return n.hue!==-1&&(d.h=n.hue),d}),s=Se(()=>a.value.h===0&&i.value==="right"?"100%":a.value.h*100/360+"%");Tt(()=>n.value,()=>{const d=ot(n.value).toHsl(),h=d.s===0?n.hue:d.h;h!==0&&h-o.value>0&&(i.value="right"),h!==0&&h-o.value<0&&(i.value="left"),o.value=h});const c=me(),l=d=>{if(d.preventDefault(),!c.value)return;const h=c.value.clientWidth,p=c.value.getBoundingClientRect().left+window.pageXOffset,m=d.pageX-p;let A,x;m<0?A=0:m>h?A=360:(x=m*100/h,A=360*x/100),(n.hue===-1||a.value.h!==A)&&r("colorChange",{h:A,l:a.value.l,s:a.value.s,a:a.value.a})},u=()=>{window.removeEventListener("mousemove",l),window.removeEventListener("mouseup",u)},f=d=>{l(d),window.addEventListener("mousemove",l),window.addEventListener("mouseup",u)};return Tn(u),(d,h)=>(Q(),ee("div",A1e,[Y("div",{class:"hue-container",ref_key:"hueRef",ref:c,onMousedown:h[0]||(h[0]=p=>f(p))},[Y("div",{class:"hue-pointer",style:we({left:s.value})},y1e,4)],544)]))}}),b1e=We(x1e,[["__scopeId","data-v-21ccc370"]]),F5=e=>(on("data-v-4a728d90"),e=e(),an(),e),S1e=F5(()=>Y("div",{class:"saturation-white"},null,-1)),M1e=F5(()=>Y("div",{class:"saturation-black"},null,-1)),w1e=F5(()=>Y("div",{class:"saturation-circle"},null,-1)),L1e=[w1e],O1e=Fe({__name:"Saturation",props:{value:{},hue:{}},emits:["colorChange"],setup(e,{emit:t}){const n=e,r=t,o=Se(()=>{const h=ot(n.value).toHsv();return n.hue!==-1&&(h.h=n.hue),h}),i=Se(()=>`hsl(${o.value.h}, 100%, 50%)`),a=Se(()=>-(o.value.v*100)+1+100+"%"),s=Se(()=>o.value.s*100+"%"),c=_n.throttle(function(h){r("colorChange",h)},20,{leading:!0,trailing:!1}),l=me(),u=h=>{if(h.preventDefault(),!l.value)return;const p=l.value.clientWidth,m=l.value.clientHeight,A=l.value.getBoundingClientRect().left+window.pageXOffset,x=l.value.getBoundingClientRect().top+window.pageYOffset,R=_n.clamp(h.pageX-A,0,p),y=_n.clamp(h.pageY-x,0,m),g=R/p,S=_n.clamp(-(y/m)+1,0,1);c({h:o.value.h,s:g,v:S,a:o.value.a})},f=()=>{window.removeEventListener("mousemove",u),window.removeEventListener("mouseup",f)},d=h=>{u(h),window.addEventListener("mousemove",u),window.addEventListener("mouseup",f)};return Tn(f),(h,p)=>(Q(),ee("div",{class:"saturation",ref_key:"saturationRef",ref:l,style:we({background:i.value}),onMousedown:p[0]||(p[0]=m=>d(m))},[S1e,M1e,Y("div",{class:"saturation-pointer",style:we({top:a.value,left:s.value})},L1e,4)],36))}}),T1e=We(O1e,[["__scopeId","data-v-4a728d90"]]),k1e={class:"editable-input"},N1e=["value"],P1e=Fe({__name:"EditableInput",props:{value:{}},emits:["colorChange"],setup(e,{emit:t}){const n=e,r=t,o=Se(()=>{let a="";return n.value.a<1?a=ot(n.value).toHex8String().toUpperCase():a=ot(n.value).toHexString().toUpperCase(),a.replace("#","")}),i=a=>{const s=a.target.value;if(s.length>=6){const c=ot(s);c.isValid()&&r("colorChange",c.toRgb())}};return(a,s)=>(Q(),ee("div",k1e,[Y("input",{class:"input-content",value:o.value,onInput:s[0]||(s[0]=c=>i(c))},null,40,N1e)]))}}),C1e=We(P1e,[["__scopeId","data-v-573b4dde"]]),I1e={class:"color-picker"},F1e={class:"picker-saturation-wrap"},_1e={class:"picker-controls"},X1e={class:"picker-color-wrap"},E1e={class:"picker-sliders"},W1e={class:"picker-hue-wrap"},V1e={class:"picker-alpha-wrap"},U1e={class:"picker-field"},Y1e={class:"picker-presets"},Q1e=["onClick"],Z1e={class:"picker-gradient-presets"},B1e=["onClick"],D1e={class:"picker-presets"},K1e=["onClick"],H1e={key:0,class:"recent-colors-title"},G1e={class:"picker-presets"},J1e=["onClick"],GT="RECENT_COLORS",z1e=Fe({__name:"index",props:{modelValue:{default:"#e86b99"}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,o=[["#7f7f7f","#f2f2f2"],["#0d0d0d","#808080"],["#1c1a10","#ddd8c3"],["#0e243d","#c6d9f0"],["#233f5e","#dae5f0"],["#632623","#f2dbdb"],["#4d602c","#eaf1de"],["#3f3150","#e6e0ec"],["#1e5867","#d9eef3"],["#99490f","#fee9da"]],i=(g,S,L)=>{const T=ot(g).toRgb(),M=ot(S).toRgb(),O=(M.r-T.r)/L,k=(M.g-T.g)/L,_=(M.b-T.b)/L,N=[];for(let X=0;X<L;X++){const C=ot({r:T.r+O*X,g:T.g+k*X,b:T.b+_*X}).toRgbString();N.push(C)}return N},a=()=>{const g=[];for(const S of o)g.push(i(S[1],S[0],5));return g},s=["#000000","#ffffff","#eeece1","#1e497b","#4e81bb","#e2534d","#9aba60","#8165a0","#47acc5","#f9974c"],c=["#c21401","#ff1e02","#ffc12a","#ffff3a","#90cf5b","#00af57","#00afee","#0071be","#00215f","#72349d"],l=me(-1),u=me([]),f=Se({get(){return ot(n.modelValue).toRgb()},set(g){const S=`rgba(${[g.r,g.g,g.b,g.a].join(",")})`;r("update:modelValue",S)}}),d=a(),h=Se(()=>`rgba(${[f.value.r,f.value.g,f.value.b,f.value.a].join(",")})`),p=g=>{l.value=ot(g).toHsl().h,r("update:modelValue",g)},m=_n.debounce(function(){const g=ot(f.value).toRgbString();if(!u.value.includes(g)){u.value=[g,...u.value];const S=10;u.value.length>S&&(u.value=u.value.slice(0,S))}},300,{trailing:!0});Gt(()=>{const g=localStorage.getItem(GT);g&&(u.value=JSON.parse(g))}),Tt(u,()=>{const g=JSON.stringify(u.value);localStorage.setItem(GT,g)});const A=g=>{"h"in g?(l.value=g.h,f.value=ot(g).toRgb()):(l.value=ot(g).toHsl().h,f.value=g),m()},x=()=>{"EyeDropper"in window?R():y()},R=()=>{wn.success("按 ESC 键关闭取色吸管"),new window.EyeDropper().open().then(S=>{const L=ot(S.sRGBHex);l.value=L.toHsl().h,f.value=L.toRgb(),m()}).catch(()=>{wn.success("关闭取色吸管")})},y=()=>{const g=document.querySelector(".canvas");if(!g)return;const S=document.createElement("div");S.style.cssText="position: fixed; top: 0; left: 0; bottom: 0; right: 0; z-index: 9999; cursor: wait;",document.body.appendChild(S);const L=document.createElement("div");L.style.cssText="position: absolute; top: -100px; left: -100px; width: 16px; height: 16px; border: 1px solid #000; z-index: 999",S.appendChild(L);const{left:T,top:M,width:O,height:k}=g.getBoundingClientRect();I5(g,{filter:N=>!(N.tagName&&N.tagName.toUpperCase()==="FOREIGNOBJECT"||N.classList&&N.classList.contains("operate")),fontEmbedCSS:"",width:O,height:k,canvasWidth:O,canvasHeight:k,pixelRatio:1}).then(N=>{N.style.cssText=`position: absolute; top: ${M}px; left: ${T}px; cursor: crosshair;`,S.style.cursor="default",S.appendChild(N);const X=N.getContext("2d");if(!X)return;let C="";const F=B=>{const G=B.x,ne=B.y,E=G-T,Z=ne-M,[K,U,J,le]=X.getImageData(E,Z,1,1).data;C=`rgba(${K}, ${U}, ${J}, ${(le/255).toFixed(2)})`,L.style.left=G+10+"px",L.style.top=ne+10+"px",L.style.backgroundColor=C},I=()=>{C="",L.style.left="-100px",L.style.top="-100px",L.style.backgroundColor=""},V=B=>{if(C&&B.button===0){const G=ot(C);l.value=G.toHsl().h,f.value=G.toRgb(),m()}document.body.removeChild(S),N.removeEventListener("mousemove",F),N.removeEventListener("mouseleave",I),window.removeEventListener("mousedown",V)};N.addEventListener("mousemove",F),N.addEventListener("mouseleave",I),window.addEventListener("mousedown",V)}).catch(()=>{wn.error("取色吸管初始化失败"),document.body.removeChild(S)})};return(g,S)=>{const L=xe("IconNeedle");return Q(),ee("div",I1e,[Y("div",F1e,[w(T1e,{value:f.value,hue:l.value,onColorChange:S[0]||(S[0]=T=>A(T))},null,8,["value","hue"])]),Y("div",_1e,[Y("div",X1e,[Y("div",{class:"picker-current-color",style:we({background:h.value})},null,4),w(mx)]),Y("div",E1e,[Y("div",W1e,[w(b1e,{value:f.value,hue:l.value,onColorChange:S[1]||(S[1]=T=>A(T))},null,8,["value","hue"])]),Y("div",V1e,[w(v1e,{value:f.value,onColorChange:S[2]||(S[2]=T=>A(T))},null,8,["value"])])])]),Y("div",U1e,[w(C1e,{class:"input",value:f.value,onColorChange:S[3]||(S[3]=T=>A(T))},null,8,["value"]),Y("div",{class:"straw",onClick:S[4]||(S[4]=T=>x())},[w(L)]),Y("div",{class:"transparent",onClick:S[5]||(S[5]=T=>p("#00000000"))},[w(mx)])]),Y("div",Y1e,[(Q(),ee(Ve,null,st(s,T=>Y("div",{class:"picker-presets-color",key:T,style:we({background:T}),onClick:M=>p(T)},null,12,Q1e)),64))]),Y("div",Z1e,[(Q(!0),ee(Ve,null,st(H(d),(T,M)=>(Q(),ee("div",{class:"picker-gradient-col",key:M},[(Q(!0),ee(Ve,null,st(T,O=>(Q(),ee("div",{class:"picker-gradient-color",key:O,style:we({background:O}),onClick:k=>p(O)},null,12,B1e))),128))]))),128))]),Y("div",D1e,[(Q(),ee(Ve,null,st(c,T=>Y("div",{key:T,class:"picker-presets-color",style:we({background:T}),onClick:M=>p(T)},null,12,K1e)),64))]),u.value.length?(Q(),ee("div",H1e,"最近使用:")):Be("",!0),Y("div",G1e,[(Q(!0),ee(Ve,null,st(u.value,T=>(Q(),ee("div",{key:T,class:"picker-presets-color alpha",onClick:M=>p(T)},[Y("div",{class:"picker-presets-color-content",style:we({background:T})},null,4)],8,J1e))),128))])])}}}),Mn=We(z1e,[["__scopeId","data-v-7eb7f5d0"]]),j1e=e=>(on("data-v-a0d44a99"),e=e(),an(),e),$1e=j1e(()=>Y("span",{class:"switch-core"},null,-1)),q1e=[$1e],eme=Fe({__name:"Switch",props:{value:{type:Boolean},disabled:{type:Boolean,default:!1}},emits:["update:value"],setup(e,{emit:t}){const n=e,r=t,o=()=>{n.disabled||r("update:value",!n.value)};return(i,a)=>(Q(),ee("span",{class:$e(["switch",{active:i.value,disabled:i.disabled}]),onClick:a[0]||(a[0]=s=>o())},q1e,2))}}),oa=We(eme,[["__scopeId","data-v-a0d44a99"]]),p2=e=>(on("data-v-fd752d80"),e=e(),an(),e),tme={class:"element-outline"},nme={key:0,class:"row"},rme=p2(()=>Y("div",{style:{width:"40%"}},"启用边框:",-1)),ome={class:"switch-wrapper",style:{width:"60%"}},ime={class:"row"},ame=p2(()=>Y("div",{style:{width:"40%"}},"边框样式:",-1)),sme={class:"row"},lme=p2(()=>Y("div",{style:{width:"40%"}},"边框颜色:",-1)),cme={class:"row"},ume=p2(()=>Y("div",{style:{width:"40%"}},"边框粗细:",-1)),fme=Fe({__name:"ElementOutline",props:{fixed:{type:Boolean,default:!1}},setup(e){const t=ct(),{theme:n}=Ee(t),{handleElement:r}=Ee(ft()),o=me(),i=me(!1);Tt(r,()=>{r.value&&(o.value="outline"in r.value?r.value.outline:void 0,i.value=!!o.value)},{deep:!0,immediate:!0});const{addHistorySnapshot:a}=Jt(),s=l=>{if(!r.value)return;const u={outline:{...o.value,...l}};t.updateElement({id:r.value.id,props:u}),a()},c=l=>{if(r.value){if(l){const u=n.value.outline;t.updateElement({id:r.value.id,props:{outline:u}})}else t.removeElementProps({id:r.value.id,propName:"outline"});a()}};return(l,u)=>(Q(),ee("div",tme,[l.fixed?Be("",!0):(Q(),ee("div",nme,[rme,Y("div",ome,[w(oa,{value:i.value,"onUpdate:value":u[0]||(u[0]=f=>c(f))},null,8,["value"])])])),i.value&&o.value?(Q(),ee(Ve,{key:1},[Y("div",ime,[ame,w(Zn,{style:{width:"60%"},value:o.value.style||"","onUpdate:value":u[1]||(u[1]=f=>s({style:f})),options:[{label:"实线边框",value:"solid"},{label:"虚线边框",value:"dashed"}]},null,8,["value"])]),Y("div",sme,[lme,w(kt,{trigger:"click",style:{width:"60%"}},{content:re(()=>[w(Mn,{modelValue:o.value.color,"onUpdate:modelValue":u[2]||(u[2]=f=>s({color:f}))},null,8,["modelValue"])]),default:re(()=>[w(ir,{color:o.value.color||"#000"},null,8,["color"])]),_:1})]),Y("div",cme,[ume,w(Li,{value:o.value.width||0,"onUpdate:value":u[3]||(u[3]=f=>s({width:f})),style:{width:"60%"}},null,8,["value"])])],64)):Be("",!0)]))}}),Hp=We(fme,[["__scopeId","data-v-fd752d80"]]),Gp=e=>(on("data-v-814f50a5"),e=e(),an(),e),dme={class:"element-shadow"},hme={class:"row"},pme=Gp(()=>Y("div",{style:{width:"40%"}},"启用阴影:",-1)),mme={class:"switch-wrapper",style:{width:"60%"}},vme={class:"row"},gme=Gp(()=>Y("div",{style:{width:"40%"}},"水平阴影:",-1)),Ame={class:"row"},Rme=Gp(()=>Y("div",{style:{width:"40%"}},"垂直阴影:",-1)),yme={class:"row"},xme=Gp(()=>Y("div",{style:{width:"40%"}},"模糊距离:",-1)),bme={class:"row"},Sme=Gp(()=>Y("div",{style:{width:"40%"}},"阴影颜色:",-1)),Mme=Fe({__name:"ElementShadow",setup(e){const t=ct(),{theme:n}=Ee(t),{handleElement:r}=Ee(ft()),o=me(),i=me(!1);Tt(r,()=>{r.value&&(o.value="shadow"in r.value?r.value.shadow:void 0,i.value=!!o.value)},{deep:!0,immediate:!0});const{addHistorySnapshot:a}=Jt(),s=l=>{if(!r.value||!o.value)return;const u={...o.value,...l};t.updateElement({id:r.value.id,props:{shadow:u}}),a()},c=l=>{if(r.value){if(l){const u=n.value.shadow;t.updateElement({id:r.value.id,props:{shadow:u}})}else t.removeElementProps({id:r.value.id,propName:"shadow"});a()}};return(l,u)=>(Q(),ee("div",dme,[Y("div",hme,[pme,Y("div",mme,[w(oa,{value:i.value,"onUpdate:value":u[0]||(u[0]=f=>c(f))},null,8,["value"])])]),i.value&&o.value?(Q(),ee(Ve,{key:0},[Y("div",vme,[gme,w(no,{style:{width:"60%"},min:-10,max:10,step:1,value:o.value.h,"onUpdate:value":u[1]||(u[1]=f=>s({h:f}))},null,8,["value"])]),Y("div",Ame,[Rme,w(no,{style:{width:"60%"},min:-10,max:10,step:1,value:o.value.v,"onUpdate:value":u[2]||(u[2]=f=>s({v:f}))},null,8,["value"])]),Y("div",yme,[xme,w(no,{style:{width:"60%"},min:1,max:20,step:1,value:o.value.blur,"onUpdate:value":u[3]||(u[3]=f=>s({blur:f}))},null,8,["value"])]),Y("div",bme,[Sme,w(kt,{trigger:"click",style:{width:"60%"}},{content:re(()=>[w(Mn,{modelValue:o.value.color,"onUpdate:modelValue":u[4]||(u[4]=f=>s({color:f}))},null,8,["modelValue"])]),default:re(()=>[w(ir,{color:o.value.color},null,8,["color"])]),_:1})])],64)):Be("",!0)]))}}),m2=We(Mme,[["__scopeId","data-v-814f50a5"]]),wme={class:"text-color-block"},Lme=Fe({__name:"TextColorButton",props:{color:{}},setup(e){return(t,n)=>(Q(),Oe(nt,{class:"text-color-btn"},{default:re(()=>[cr(t.$slots,"default",{},void 0,!0),Y("div",wme,[Y("div",{class:"text-color-block-content",style:we({backgroundColor:t.color})},null,4)])]),_:3}))}}),xc=We(Lme,[["__scopeId","data-v-98853be0"]]),Qn=Fe({__name:"CheckboxButton",props:{checked:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(e){return(t,n)=>(Q(),Oe(nt,{checked:t.checked,disabled:t.disabled,type:"checkbox"},{default:re(()=>[cr(t.$slots,"default")]),_:3},8,["checked","disabled"]))}}),Ome=Fe({__name:"ButtonGroup",props:{passive:{type:Boolean,default:!1}},setup(e){return(t,n)=>(Q(),ee("div",{class:$e(["button-group",{passive:t.passive}]),ref:"groupRef"},[cr(t.$slots,"default",{},void 0,!0)],2))}}),xn=We(Ome,[["__scopeId","data-v-6a640ef5"]]),Nn=Fe({__name:"RadioButton",props:{value:{},disabled:{type:Boolean,default:!1}},setup(e){const{value:t,updateValue:n}=$o(cI);return(r,o)=>(Q(),Oe(nt,{checked:!r.disabled&&H(t)===r.value,disabled:r.disabled,type:"radio",onClick:o[0]||(o[0]=i=>!r.disabled&&H(n)(r.value))},{default:re(()=>[cr(r.$slots,"default")]),_:3},8,["checked","disabled"]))}}),_a=Fe({__name:"RadioGroup",props:{value:{},disabled:{type:Boolean,default:!1}},emits:["update:value"],setup(e,{emit:t}){const n=e,r=t,o=a=>{n.disabled||r("update:value",a)},i=Se(()=>n.value);return Ku(cI,{value:i,updateValue:o}),(a,s)=>(Q(),Oe(xn,{class:"radio-group"},{default:re(()=>[cr(a.$slots,"default")]),_:3}))}}),Tme={},kme={class:"select-group"};function Nme(e,t){return Q(),ee("div",kme,[cr(e.$slots,"default",{},void 0,!0)])}const v2=We(Tme,[["render",Nme],["__scopeId","data-v-ed58c719"]]),kc=e=>(on("data-v-becd4c4e"),e=e(),an(),e),Pme={class:"text-style-panel"},Cme={class:"preset-style"},Ime=["onClick"],Fme={class:"link-popover"},_me={class:"btns"},Xme={class:"row",passive:""},Eme={class:"list-wrap"},Wme=["onClick"],Vme=kc(()=>Y("span",null,null,-1)),Ume=[Vme],Yme=kc(()=>Y("div",{style:{width:"10px"}},null,-1)),Qme={class:"list-wrap"},Zme=["onClick"],Bme=kc(()=>Y("span",null,null,-1)),Dme=[Bme],Kme={class:"row"},Hme=kc(()=>Y("div",{style:{width:"10px"}},null,-1)),Gme={class:"row"},Jme=kc(()=>Y("div",{style:{width:"40%"}},"行间距:",-1)),zme={class:"row"},jme=kc(()=>Y("div",{style:{width:"40%"}},"段间距:",-1)),$me={class:"row"},qme=kc(()=>Y("div",{style:{width:"40%"}},"字间距:",-1)),eve={class:"row"},tve=kc(()=>Y("div",{style:{width:"40%"}},"文本框填充:",-1)),nve=Fe({__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=ft(),r=ct(),{handleElement:o,handleElementId:i,richTextAttrs:a,availableFonts:s,textFormatPainter:c}=Ee(n),{addHistorySnapshot:l}=Jt(),{toggleTextFormatPainter:u}=l_(),f=ne=>{r.updateElement({id:i.value,props:ne}),l()},d=me(!1),h=me(!1),p=me(!1),m=me(!1),A=me(["disc","circle","square"]),x=me(["decimal","lower-roman","upper-roman","lower-alpha","upper-alpha","lower-greek"]),R=me("#000"),y=me(),g=me(),S=me();Tt(o,()=>{!o.value||o.value.type!=="text"||(R.value=o.value.fill||"#fff",y.value=o.value.lineHeight||1.5,g.value=o.value.wordSpace||0,S.value=o.value.paragraphSpace===void 0?5:o.value.paragraphSpace,Zr.emit(Wr.SYNC_RICH_TEXT_ATTRS_TO_STORE))},{deep:!0,immediate:!0});const L=["12px","14px","16px","18px","20px","22px","24px","28px","32px","36px","40px","44px","48px","54px","60px","66px","72px","76px","80px","88px","96px","104px","112px","120px"],T=[.9,1,1.15,1.2,1.4,1.5,1.8,2,2.5,3],M=[0,1,2,3,4,5,6,8,10],O=[0,5,10,15,20,25,30,40,50,80],k=ne=>{f({lineHeight:ne})},_=ne=>{f({paragraphSpace:ne})},N=ne=>{f({wordSpace:ne})},X=ne=>{f({fill:ne})},C=(ne,E)=>{Zr.emit(Wr.RICH_TEXT_COMMAND,{action:{command:ne,value:E}})},F=ne=>{Zr.emit(Wr.RICH_TEXT_COMMAND,{action:ne})},I=me(""),V=me(!1);Tt(a,()=>V.value=!1);const B=()=>{I.value=a.value.link},G=ne=>{if(!ne||!/^(https?):\/\/[\w\-]+(\.[\w\-]+)+([\w\-.,@?^=%&:\/~+#]*[\w\-@?^=%&\/~+#])?$/.test(ne))return wn.error("不是正确的网页链接地址");C("link",ne),V.value=!1};return(ne,E)=>{const Z=xe("IconFontSize"),K=xe("IconAddText"),U=xe("IconText"),J=xe("IconHighLight"),le=xe("IconTextBold"),ie=xe("IconTextItalic"),oe=xe("IconTextUnderline"),pe=xe("IconStrikethrough"),ge=xe("IconCode"),ye=xe("IconQuote"),z=xe("IconFormat"),ae=xe("IconFormatBrush"),W=xe("IconLinkOne"),j=xe("IconAlignTextLeft"),ue=xe("IconAlignTextCenter"),$=xe("IconAlignTextRight"),q=xe("IconAlignTextBoth"),se=xe("IconList"),ve=xe("IconDown"),ce=xe("IconOrderedList"),de=xe("IconIndentLeft"),be=xe("IconIndentRight"),_e=xe("IconRowHeight"),Ie=xe("IconVerticalSpacingBetweenItems"),Ae=xe("IconFullwidth"),qe=Ln("tooltip");return Q(),ee("div",Pme,[Y("div",Cme,[(Q(),ee(Ve,null,st(t,Xe=>Y("div",{class:"preset-style-item",key:Xe.label,style:we(Xe.style),onClick:Le=>F(Xe.cmd)},bt(Xe.label),13,Ime)),64))]),w(Vt),w(v2,{class:"row"},{default:re(()=>[w(Zn,{class:"font-select",style:{width:"60%"},value:H(a).fontname,"onUpdate:value":E[0]||(E[0]=Xe=>C("fontname",Xe)),options:[...H(s),...H(bp)]},{icon:re(()=>[w(Z)]),_:1},8,["value","options"]),w(Zn,{style:{width:"40%"},value:H(a).fontsize,"onUpdate:value":E[1]||(E[1]=Xe=>C("fontsize",Xe)),options:L.map(Xe=>({label:Xe,value:Xe}))},{icon:re(()=>[w(K)]),_:1},8,["value","options"])]),_:1}),w(xn,{class:"row",passive:""},{default:re(()=>[w(kt,{trigger:"click",style:{width:"30%"}},{content:re(()=>[w(Mn,{modelValue:H(a).color,"onUpdate:modelValue":E[2]||(E[2]=Xe=>C("color",Xe))},null,8,["modelValue"])]),default:re(()=>[Ze((Q(),Oe(xc,{first:"",color:H(a).color},{default:re(()=>[w(U)]),_:1},8,["color"])),[[qe,"文字颜色"]])]),_:1}),w(kt,{trigger:"click",style:{width:"30%"}},{content:re(()=>[w(Mn,{modelValue:H(a).backcolor,"onUpdate:modelValue":E[3]||(E[3]=Xe=>C("backcolor",Xe))},null,8,["modelValue"])]),default:re(()=>[Ze((Q(),Oe(xc,{color:H(a).backcolor},{default:re(()=>[w(J)]),_:1},8,["color"])),[[qe,"文字高亮"]])]),_:1}),Ze((Q(),Oe(nt,{class:"font-size-btn",style:{width:"20%"},onClick:E[4]||(E[4]=Xe=>C("fontsize-add"))},{default:re(()=>[w(Z),Ye("+")]),_:1})),[[qe,"增大字号"]]),Ze((Q(),Oe(nt,{last:"",class:"font-size-btn",style:{width:"20%"},onClick:E[5]||(E[5]=Xe=>C("fontsize-reduce"))},{default:re(()=>[w(Z),Ye("-")]),_:1})),[[qe,"减小字号"]])]),_:1}),w(xn,{class:"row"},{default:re(()=>[Ze((Q(),Oe(Qn,{style:{flex:"1"},checked:H(a).bold,onClick:E[6]||(E[6]=Xe=>C("bold"))},{default:re(()=>[w(le)]),_:1},8,["checked"])),[[qe,"加粗"]]),Ze((Q(),Oe(Qn,{style:{flex:"1"},checked:H(a).em,onClick:E[7]||(E[7]=Xe=>C("em"))},{default:re(()=>[w(ie)]),_:1},8,["checked"])),[[qe,"斜体"]]),Ze((Q(),Oe(Qn,{style:{flex:"1"},checked:H(a).underline,onClick:E[8]||(E[8]=Xe=>C("underline"))},{default:re(()=>[w(oe)]),_:1},8,["checked"])),[[qe,"下划线"]]),Ze((Q(),Oe(Qn,{style:{flex:"1"},checked:H(a).strikethrough,onClick:E[9]||(E[9]=Xe=>C("strikethrough"))},{default:re(()=>[w(pe)]),_:1},8,["checked"])),[[qe,"删除线"]])]),_:1}),w(xn,{class:"row"},{default:re(()=>[Ze((Q(),Oe(Qn,{style:{flex:"1"},checked:H(a).superscript,onClick:E[10]||(E[10]=Xe=>C("superscript"))},{default:re(()=>[Ye("A²")]),_:1},8,["checked"])),[[qe,"上标"]]),Ze((Q(),Oe(Qn,{style:{flex:"1"},checked:H(a).subscript,onClick:E[11]||(E[11]=Xe=>C("subscript"))},{default:re(()=>[Ye("A₂")]),_:1},8,["checked"])),[[qe,"下标"]]),Ze((Q(),Oe(Qn,{style:{flex:"1"},checked:H(a).code,onClick:E[12]||(E[12]=Xe=>C("code"))},{default:re(()=>[w(ge)]),_:1},8,["checked"])),[[qe,"行内代码"]]),Ze((Q(),Oe(Qn,{style:{flex:"1"},checked:H(a).blockquote,onClick:E[13]||(E[13]=Xe=>C("blockquote"))},{default:re(()=>[w(ye)]),_:1},8,["checked"])),[[qe,"引用"]])]),_:1}),w(xn,{class:"row",passive:""},{default:re(()=>[Ze((Q(),Oe(Qn,{first:"",style:{flex:"1"},onClick:E[14]||(E[14]=Xe=>C("clear"))},{default:re(()=>[w(z)]),_:1})),[[qe,"清除格式"]]),Ze((Q(),Oe(Qn,{style:{flex:"1"},checked:!!H(c),onClick:E[15]||(E[15]=Xe=>H(u)()),onDblclick:E[16]||(E[16]=Xe=>H(u)(!0))},{default:re(()=>[w(ae)]),_:1},8,["checked"])),[[qe,"格式刷(双击连续使用)"]]),w(kt,{placement:"bottom-end",trigger:"click",value:V.value,"onUpdate:value":E[21]||(E[21]=Xe=>V.value=Xe),style:{width:"33.33%"}},{content:re(()=>[Y("div",Fme,[w(Eu,{value:I.value,"onUpdate:value":E[17]||(E[17]=Xe=>I.value=Xe),placeholder:"请输入超链接"},null,8,["value"]),Y("div",_me,[w(nt,{size:"small",disabled:!H(a).link,onClick:E[18]||(E[18]=Xe=>G()),style:{"margin-right":"5px"}},{default:re(()=>[Ye("移除")]),_:1},8,["disabled"]),w(nt,{size:"small",type:"primary",onClick:E[19]||(E[19]=Xe=>G(I.value))},{default:re(()=>[Ye("确认")]),_:1})])])]),default:re(()=>[Ze((Q(),Oe(Qn,{last:"",style:{width:"100%"},checked:!!H(a).link,onClick:E[20]||(E[20]=Xe=>B())},{default:re(()=>[w(W)]),_:1},8,["checked"])),[[qe,"超链接"]])]),_:1},8,["value"])]),_:1}),w(Vt),w(_a,{class:"row","button-style":"solid",value:H(a).align,"onUpdate:value":E[22]||(E[22]=Xe=>C("align",Xe))},{default:re(()=>[Ze((Q(),Oe(Nn,{value:"left",style:{flex:"1"}},{default:re(()=>[w(j)]),_:1})),[[qe,"左对齐"]]),Ze((Q(),Oe(Nn,{value:"center",style:{flex:"1"}},{default:re(()=>[w(ue)]),_:1})),[[qe,"居中"]]),Ze((Q(),Oe(Nn,{value:"right",style:{flex:"1"}},{default:re(()=>[w($)]),_:1})),[[qe,"右对齐"]]),Ze((Q(),Oe(Nn,{value:"justify",style:{flex:"1"}},{default:re(()=>[w(q)]),_:1})),[[qe,"两端对齐"]])]),_:1},8,["value"]),Y("div",Xme,[w(xn,{style:{flex:"1"}},{default:re(()=>[Ze((Q(),Oe(nt,{first:"",type:H(a).bulletList?"primary":"default",style:{flex:"1"},onClick:E[23]||(E[23]=Xe=>C("bulletList"))},{default:re(()=>[w(se)]),_:1},8,["type"])),[[qe,"项目符号"]]),w(kt,{trigger:"click",value:d.value,"onUpdate:value":E[24]||(E[24]=Xe=>d.value=Xe)},{content:re(()=>[Y("div",Eme,[(Q(!0),ee(Ve,null,st(A.value,Xe=>(Q(),ee("ul",{class:"list",key:Xe,style:we({listStyleType:Xe}),onClick:Le=>C("bulletList",Xe)},[(Q(),ee(Ve,null,st(3,Le=>Y("li",{class:"list-item",key:Le},Ume)),64))],12,Wme))),128))])]),default:re(()=>[w(nt,{last:"",class:"popover-btn"},{default:re(()=>[w(ve)]),_:1})]),_:1},8,["value"])]),_:1}),Yme,w(xn,{style:{flex:"1"},passive:""},{default:re(()=>[Ze((Q(),Oe(nt,{first:"",type:H(a).orderedList?"primary":"default",style:{flex:"1"},onClick:E[25]||(E[25]=Xe=>C("orderedList"))},{default:re(()=>[w(ce)]),_:1},8,["type"])),[[qe,"编号"]]),w(kt,{trigger:"click",value:h.value,"onUpdate:value":E[26]||(E[26]=Xe=>h.value=Xe)},{content:re(()=>[Y("div",Qme,[(Q(!0),ee(Ve,null,st(x.value,Xe=>(Q(),ee("ul",{class:"list",key:Xe,style:we({listStyleType:Xe}),onClick:Le=>C("orderedList",Xe)},[(Q(),ee(Ve,null,st(3,Le=>Y("li",{class:"list-item",key:Le},Dme)),64))],12,Zme))),128))])]),default:re(()=>[w(nt,{last:"",class:"popover-btn"},{default:re(()=>[w(ve)]),_:1})]),_:1},8,["value"])]),_:1})]),Y("div",Kme,[w(xn,{style:{flex:"1"},passive:""},{default:re(()=>[Ze((Q(),Oe(nt,{first:"",style:{flex:"1"},onClick:E[27]||(E[27]=Xe=>C("indent","-1"))},{default:re(()=>[w(de)]),_:1})),[[qe,"减小段落缩进"]]),w(kt,{trigger:"click",value:p.value,"onUpdate:value":E[29]||(E[29]=Xe=>p.value=Xe)},{content:re(()=>[w(Ho,{onClick:E[28]||(E[28]=Xe=>C("textIndent","-1"))},{default:re(()=>[Ye("减小首行缩进")]),_:1})]),default:re(()=>[w(nt,{last:"",class:"popover-btn"},{default:re(()=>[w(ve)]),_:1})]),_:1},8,["value"])]),_:1}),Hme,w(xn,{style:{flex:"1"},passive:""},{default:re(()=>[Ze((Q(),Oe(nt,{first:"",style:{flex:"1"},onClick:E[30]||(E[30]=Xe=>C("indent","+1"))},{default:re(()=>[w(be)]),_:1})),[[qe,"增大段落缩进"]]),w(kt,{trigger:"click",value:m.value,"onUpdate:value":E[32]||(E[32]=Xe=>m.value=Xe)},{content:re(()=>[w(Ho,{onClick:E[31]||(E[31]=Xe=>C("textIndent","+1"))},{default:re(()=>[Ye("增大首行缩进")]),_:1})]),default:re(()=>[w(nt,{last:"",class:"popover-btn"},{default:re(()=>[w(ve)]),_:1})]),_:1},8,["value"])]),_:1})]),w(Vt),Y("div",Gme,[Jme,w(Zn,{style:{width:"60%"},value:y.value||1,"onUpdate:value":E[33]||(E[33]=Xe=>k(Xe)),options:T.map(Xe=>({label:Xe+"倍",value:Xe}))},{icon:re(()=>[w(_e)]),_:1},8,["value","options"])]),Y("div",zme,[jme,w(Zn,{style:{width:"60%"},value:S.value||0,"onUpdate:value":E[34]||(E[34]=Xe=>_(Xe)),options:O.map(Xe=>({label:Xe+"px",value:Xe}))},{icon:re(()=>[w(Ie)]),_:1},8,["value","options"])]),Y("div",$me,[qme,w(Zn,{style:{width:"60%"},value:g.value||0,"onUpdate:value":E[35]||(E[35]=Xe=>N(Xe)),options:M.map(Xe=>({label:Xe+"px",value:Xe}))},{icon:re(()=>[w(Ae)]),_:1},8,["value","options"])]),Y("div",eve,[tve,w(kt,{trigger:"click",style:{width:"60%"}},{content:re(()=>[w(Mn,{modelValue:R.value,"onUpdate:modelValue":E[36]||(E[36]=Xe=>X(Xe))},null,8,["modelValue"])]),default:re(()=>[w(ir,{color:R.value},null,8,["color"])]),_:1})]),w(Vt),w(Hp),w(Vt),w(m2),w(Vt),w(f_)])}}}),rve=We(nve,[["__scopeId","data-v-becd4c4e"]]),ove={class:"element-flip"},ive=Fe({__name:"ElementFlip",setup(e){const t=ct(),{handleElement:n}=Ee(ft()),r=me(!1),o=me(!1);Tt(n,()=>{n.value&&(n.value.type==="image"||n.value.type==="shape")&&(r.value=!!n.value.flipH,o.value=!!n.value.flipV)},{deep:!0,immediate:!0});const{addHistorySnapshot:i}=Jt(),a=s=>{n.value&&(t.updateElement({id:n.value.id,props:s}),i())};return(s,c)=>{const l=xe("IconFlipVertically"),u=xe("IconFlipHorizontally");return Q(),ee("div",ove,[w(xn,{class:"row"},{default:re(()=>[w(Qn,{style:{flex:"1"},checked:o.value,onClick:c[0]||(c[0]=f=>a({flipV:!o.value}))},{default:re(()=>[w(l),Ye(" 垂直翻转")]),_:1},8,["checked"]),w(Qn,{style:{flex:"1"},checked:r.value,onClick:c[1]||(c[1]=f=>a({flipH:!r.value}))},{default:re(()=>[w(u),Ye(" 水平翻转")]),_:1},8,["checked"])]),_:1})])}}}),R_=We(ive,[["__scopeId","data-v-100c8a7c"]]),ave=e=>(on("data-v-44786c09"),e=e(),an(),e),sve={class:"element-filter"},lve={class:"row"},cve=ave(()=>Y("div",{style:{flex:"2"}},"启用滤镜:",-1)),uve={class:"switch-wrapper",style:{flex:"3"}},fve={key:0,class:"filter"},dve={class:"name"},hve=Fe({__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:"opacity",default:100,value:100,unit:"%",max:100,step:5}],n=ct(),{handleElement:r,handleElementId:o}=Ee(ft()),i=me(JSON.parse(JSON.stringify(t))),a=me(!1),{addHistorySnapshot:s}=Jt();Tt(r,()=>{if(!r.value||r.value.type!=="image")return;const u=r.value.filters;u?(i.value=t.map(f=>{const d=u[f.key];return d?{...f,value:parseInt(d)}:f}),a.value=!0):(i.value=JSON.parse(JSON.stringify(t)),a.value=!1)},{deep:!0,immediate:!0});const c=(u,f)=>{const p={...r.value.filters||{},[u.key]:`${f}${u.unit}`};n.updateElement({id:o.value,props:{filters:p}}),s()},l=u=>{r.value&&(u?n.updateElement({id:r.value.id,props:{filters:{}}}):n.removeElementProps({id:r.value.id,propName:"filters"}),s())};return(u,f)=>(Q(),ee("div",sve,[Y("div",lve,[cve,Y("div",uve,[w(oa,{value:a.value,"onUpdate:value":f[0]||(f[0]=d=>l(d))},null,8,["value"])])]),a.value?(Q(),ee("div",fve,[(Q(!0),ee(Ve,null,st(i.value,d=>(Q(),ee("div",{class:"filter-item",key:d.key},[Y("div",dve,bt(d.label),1),w(no,{class:"filter-slider",max:d.max,min:0,step:d.step,value:d.value,"onUpdate:value":h=>c(d,h)},null,8,["max","step","value","onUpdate:value"])]))),128))])):Be("",!0)]))}}),pve=We(hve,[["__scopeId","data-v-44786c09"]]),y_=e=>(on("data-v-d428a4e5"),e=e(),an(),e),mve={class:"element-color-mask"},vve={class:"row"},gve=y_(()=>Y("div",{style:{width:"40%"}},"着色(蒙版):",-1)),Ave={class:"switch-wrapper",style:{width:"60%"}},Rve={key:0,class:"row",style:{"margin-top":"15px"}},yve=y_(()=>Y("div",{style:{width:"40%"}},"蒙版颜色:",-1)),JT="rgba(226, 83, 77, 0.5)",xve=Fe({__name:"ElementColorMask",setup(e){const t=ct(),{handleElement:n,handleElementId:r}=Ee(ft()),o=me(JT),i=me(!1),{addHistorySnapshot:a}=Jt();Tt(n,()=>{!n.value||n.value.type!=="image"||(n.value.colorMask?(o.value=n.value.colorMask,i.value=!0):i.value=!1)},{deep:!0,immediate:!0});const s=l=>{n.value&&(l?t.updateElement({id:n.value.id,props:{colorMask:JT}}):t.removeElementProps({id:n.value.id,propName:"colorMask"}),a())},c=l=>{t.updateElement({id:r.value,props:{colorMask:l}}),a()};return(l,u)=>(Q(),ee("div",mve,[Y("div",vve,[gve,Y("div",Ave,[w(oa,{value:i.value,"onUpdate:value":u[0]||(u[0]=f=>s(f))},null,8,["value"])])]),i.value?(Q(),ee("div",Rve,[yve,w(kt,{trigger:"click",style:{width:"60%"}},{content:re(()=>[w(Mn,{modelValue:o.value,"onUpdate:modelValue":u[1]||(u[1]=f=>c(f))},null,8,["modelValue"])]),default:re(()=>[w(ir,{color:o.value},null,8,["color"])]),_:1})])):Be("",!0)]))}}),bve=We(xve,[["__scopeId","data-v-d428a4e5"]]),Sve=e=>(on("data-v-0c668b03"),e=e(),an(),e),Mve={class:"image-style-panel"},wve={class:"clip"},Lve=Sve(()=>Y("div",{class:"title"},"按形状:",-1)),Ove={class:"shape-clip"},Tve=["onClick"],kve={key:0,class:"title"},Nve=Fe({__name:"ImageStylePanel",setup(e){const t=Z3,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=ft(),o=ct(),{handleElement:i,handleElementId:a}=Ee(r),{currentSlide:s}=Ee(o),c=i,l=me(!1),{addHistorySnapshot:u}=Jt(),f=()=>{r.setClipingImageElementId(a.value),l.value=!1},d=()=>{const x=i.value,R=x.width,y=x.height,g=x.left,S=x.top,L=x.clip?x.clip.range:[[0,0],[100,100]],T=R/((L[1][0]-L[0][0])/100),M=y/((L[1][1]-L[0][1])/100),O=g-T*(L[0][0]/100),k=S-M*(L[0][1]/100);return{originClipRange:L,originWidth:T,originHeight:M,originLeft:O,originTop:k}},h=(x,R=0)=>{const y=i.value,{originClipRange:g,originWidth:S,originHeight:L,originLeft:T,originTop:M}=d();if(R){const O=L/S,k=0,_=100;let N;if(O>R){const X=(1-R/O)/2*100;N=[[k,X],[_,_-X]]}else{const X=(1-O/R)/2*100;N=[[X,k],[_-X,_]]}o.updateElement({id:a.value,props:{clip:{...y.clip,shape:x,range:N},left:T+S*(N[0][0]/100),top:M+L*(N[0][1]/100),width:S*(N[1][0]-N[0][0])/100,height:L*(N[1][1]-N[0][1])/100}})}else o.updateElement({id:a.value,props:{clip:{...y.clip,shape:x,range:g}}});f(),u()},p=x=>{const R=x[0];R&&(Ju(R).then(y=>{const g={src:y};o.updateElement({id:a.value,props:g})}),u())},m=()=>{if(i.value.clip){const{originWidth:R,originHeight:y,originLeft:g,originTop:S}=d();o.updateElement({id:a.value,props:{left:g,top:S,width:R,height:y}})}o.removeElementProps({id:a.value,propName:["clip","outline","flip","shadow","filters","colorMask"]}),u()},A=()=>{const x=i.value,R={...s.value.background,type:"image",image:x.src,imageSize:"cover"};o.updateSlide({background:R}),u()};return(x,R)=>{const y=xe("IconTailoring"),g=xe("IconDown"),S=xe("IconTransform"),L=xe("IconUndo"),T=xe("IconTheme");return Q(),ee("div",Mve,[Y("div",{class:"origin-image",style:we({backgroundImage:`url(${H(c).src})`})},null,4),w(R_),w(xn,{class:"row",passive:""},{default:re(()=>[w(nt,{first:"",style:{width:"calc(100% / 6 * 5)"},onClick:R[0]||(R[0]=M=>f())},{default:re(()=>[w(y,{class:"btn-icon"}),Ye(" 裁剪图片")]),_:1}),w(kt,{trigger:"click",value:l.value,"onUpdate:value":R[1]||(R[1]=M=>l.value=M),style:{width:"calc(100% / 6)"}},{content:re(()=>[Y("div",wve,[Lve,Y("div",Ove,[(Q(!0),ee(Ve,null,st(H(t),(M,O)=>(Q(),ee("div",{class:"shape-clip-item",key:O,onClick:k=>h(O)},[Y("div",{class:"shape",style:we({clipPath:M.style})},null,4)],8,Tve))),128))]),(Q(),ee(Ve,null,st(n,M=>(Q(),ee(Ve,{key:M.label},[M.label?(Q(),ee("div",kve,"按"+bt(M.label)+"",1)):Be("",!0),w(xn,{class:"row"},{default:re(()=>[(Q(!0),ee(Ve,null,st(M.children,O=>(Q(),Oe(nt,{style:{flex:"1"},key:O.key,onClick:k=>h("rect",O.ratio)},{default:re(()=>[Ye(bt(O.key),1)]),_:2},1032,["onClick"]))),128))]),_:2},1024)],64))),64))])]),default:re(()=>[w(nt,{last:"",class:"popover-btn",style:{width:"100%"}},{default:re(()=>[w(g)]),_:1})]),_:1},8,["value"])]),_:1}),w(Vt),w(bve),w(Vt),w(pve),w(Vt),w(Hp),w(Vt),w(m2),w(Vt),w(Xu,{onChange:R[2]||(R[2]=M=>p(M))},{default:re(()=>[w(nt,{class:"full-width-btn"},{default:re(()=>[w(S,{class:"btn-icon"}),Ye(" 替换图片")]),_:1})]),_:1}),w(nt,{class:"full-width-btn",onClick:R[3]||(R[3]=M=>m())},{default:re(()=>[w(L,{class:"btn-icon"}),Ye(" 重置样式")]),_:1}),w(nt,{class:"full-width-btn",onClick:R[4]||(R[4]=M=>A())},{default:re(()=>[w(T,{class:"btn-icon"}),Ye(" 设为背景")]),_:1})])}}}),Pve=We(Nve,[["__scopeId","data-v-0c668b03"]]),Cve=()=>{const e=ft(),{shapeFormatPainter:t,handleElement:n}=Ee(e);return{toggleShapeFormatPainter:(o=!1)=>{const i=n.value;t.value?e.setShapeFormatPainter(null):e.setShapeFormatPainter({keep:o,fill:i.fill,gradient:i.gradient,outline:i.outline,opacity:i.opacity,shadow:i.shadow})}}},Jp=e=>(on("data-v-830d0c7f"),e=e(),an(),e),Ive={class:"shape-style-panel"},Fve={class:"title"},_ve=Jp(()=>Y("span",null,"点击替换形状",-1)),Xve={class:"shape-pool"},Eve={class:"shape-list"},Wve={class:"row"},Vve=Jp(()=>Y("div",{style:{width:"10px"}},null,-1)),Uve={class:"row"},Yve=Jp(()=>Y("div",{style:{width:"40%"}},"起点颜色:",-1)),Qve={class:"row"},Zve=Jp(()=>Y("div",{style:{width:"40%"}},"终点颜色:",-1)),Bve={key:0,class:"row"},Dve=Jp(()=>Y("div",{style:{width:"40%"}},"渐变角度:",-1)),Kve={class:"row"},Hve=Fe({__name:"ShapeStylePanel",setup(e){const t=ft(),n=ct(),{handleElement:r,handleElementId:o,richTextAttrs:i,availableFonts:a,textFormatPainter:s,shapeFormatPainter:c}=Ee(t),l=r,u=me("#000"),f=me({type:"linear",rotate:0,color:["#fff","#fff"]}),d=me("fill"),h=me("middle");Tt(r,()=>{var O,k;!r.value||r.value.type!=="shape"||(u.value=r.value.fill||"#fff",f.value=r.value.gradient||{type:"linear",rotate:0,color:[u.value,"#fff"]},d.value=r.value.gradient?"gradient":"fill",h.value=((k=(O=r.value)==null?void 0:O.text)==null?void 0:k.align)||"middle")},{deep:!0,immediate:!0});const{addHistorySnapshot:p}=Jt(),{toggleTextFormatPainter:m}=l_(),{toggleShapeFormatPainter:A}=Cve(),x=O=>{n.updateElement({id:o.value,props:O}),p()},R=O=>{O==="fill"?(n.removeElementProps({id:o.value,propName:"gradient"}),p()):x({gradient:f.value})},y=O=>{if(!f.value)return;const k={...f.value,...O};x({gradient:k})},g=O=>{x({fill:O})},S=O=>{const{width:k,height:_}=r.value,N={viewBox:O.viewBox,path:O.path,special:O.special};if(O.pathFormula){N.pathFormula=O.pathFormula,N.viewBox=[k,_];const X=zu[O.pathFormula];"editable"in X?(N.path=X.formula(k,_,X.defaultValue),N.keypoint=X.defaultValue):N.path=X.formula(k,_)}else N.pathFormula=void 0,N.keypoint=void 0;x(N)},L=O=>{const k=r.value,_={content:"",defaultFontName:"微软雅黑",defaultColor:"#000",align:"middle"},N=k.text||_;x({text:{...N,align:O}})},T=["12px","14px","16px","18px","20px","22px","24px","28px","32px","36px","40px","44px","48px","54px","60px","66px","72px","76px","80px","88px","96px","104px","112px","120px"],M=(O,k)=>{Zr.emit(Wr.RICH_TEXT_COMMAND,{action:{command:O,value:k}})};return(O,k)=>{var pe;const _=xe("IconDown"),N=xe("IconFontSize"),X=xe("IconAddText"),C=xe("IconText"),F=xe("IconHighLight"),I=xe("IconTextBold"),V=xe("IconTextItalic"),B=xe("IconTextUnderline"),G=xe("IconStrikethrough"),ne=xe("IconFormat"),E=xe("IconFormatBrush"),Z=xe("IconAlignTextLeft"),K=xe("IconAlignTextCenter"),U=xe("IconAlignTextRight"),J=xe("IconAlignTextTopOne"),le=xe("IconAlignTextMiddleOne"),ie=xe("IconAlignTextBottomOne"),oe=Ln("tooltip");return Q(),ee("div",Ive,[Y("div",Fve,[_ve,w(_)]),Y("div",Xve,[(Q(!0),ee(Ve,null,st(H(Tb),ge=>(Q(),ee("div",{class:"category",key:ge.type},[Y("div",Eve,[(Q(!0),ee(Ve,null,st(ge.children,(ye,z)=>(Q(),ee(Ve,null,[ye.title!=="任意多边形"?(Q(),Oe(BF,{class:"shape-item",key:z,shape:ye,onClick:ae=>S(ye)},null,8,["shape","onClick"])):Be("",!0)],64))),256))])]))),128))]),Y("div",Wve,[w(Zn,{style:{flex:"1"},value:d.value,"onUpdate:value":k[0]||(k[0]=ge=>R(ge)),options:[{label:"纯色填充",value:"fill"},{label:"渐变填充",value:"gradient"}]},null,8,["value"]),Vve,d.value==="fill"?(Q(),Oe(kt,{key:0,trigger:"click",style:{flex:"1"}},{content:re(()=>[w(Mn,{modelValue:u.value,"onUpdate:modelValue":k[1]||(k[1]=ge=>g(ge))},null,8,["modelValue"])]),default:re(()=>[w(ir,{color:u.value},null,8,["color"])]),_:1})):(Q(),Oe(Zn,{key:1,style:{flex:"1"},value:f.value.type,"onUpdate:value":k[2]||(k[2]=ge=>y({type:ge})),options:[{label:"线性渐变",value:"linear"},{label:"径向渐变",value:"radial"}]},null,8,["value"]))]),d.value==="gradient"?(Q(),ee(Ve,{key:0},[Y("div",Uve,[Yve,w(kt,{trigger:"click",style:{width:"60%"}},{content:re(()=>[w(Mn,{modelValue:f.value.color[0],"onUpdate:modelValue":k[3]||(k[3]=ge=>y({color:[ge,f.value.color[1]]}))},null,8,["modelValue"])]),default:re(()=>[w(ir,{color:f.value.color[0]},null,8,["color"])]),_:1})]),Y("div",Qve,[Zve,w(kt,{trigger:"click",style:{width:"60%"}},{content:re(()=>[w(Mn,{modelValue:f.value.color[1],"onUpdate:modelValue":k[4]||(k[4]=ge=>y({color:[f.value.color[0],ge]}))},null,8,["modelValue"])]),default:re(()=>[w(ir,{color:f.value.color[1]},null,8,["color"])]),_:1})]),f.value.type==="linear"?(Q(),ee("div",Bve,[Dve,w(no,{style:{width:"60%"},min:0,max:360,step:15,value:f.value.rotate,"onUpdate:value":k[5]||(k[5]=ge=>y({rotate:ge}))},null,8,["value"])])):Be("",!0)],64)):Be("",!0),w(R_),w(Vt),(pe=H(l).text)!=null&&pe.content?(Q(),ee(Ve,{key:1},[w(v2,{class:"row"},{default:re(()=>[w(Zn,{class:"font-select",style:{width:"60%"},value:H(i).fontname,"onUpdate:value":k[6]||(k[6]=ge=>M("fontname",ge)),options:[...H(a),...H(bp)]},{icon:re(()=>[w(N)]),_:1},8,["value","options"]),w(Zn,{style:{width:"40%"},value:H(i).fontsize,"onUpdate:value":k[7]||(k[7]=ge=>M("fontsize",ge)),options:T.map(ge=>({label:ge,value:ge}))},{icon:re(()=>[w(X)]),_:1},8,["value","options"])]),_:1}),w(xn,{class:"row",passive:""},{default:re(()=>[w(kt,{trigger:"click",style:{width:"30%"}},{content:re(()=>[w(Mn,{modelValue:H(i).color,"onUpdate:modelValue":k[8]||(k[8]=ge=>M("color",ge))},null,8,["modelValue"])]),default:re(()=>[Ze((Q(),Oe(xc,{first:"",color:H(i).color},{default:re(()=>[w(C)]),_:1},8,["color"])),[[oe,"文字颜色"]])]),_:1}),w(kt,{trigger:"click",style:{width:"30%"}},{content:re(()=>[w(Mn,{modelValue:H(i).backcolor,"onUpdate:modelValue":k[9]||(k[9]=ge=>M("backcolor",ge))},null,8,["modelValue"])]),default:re(()=>[Ze((Q(),Oe(xc,{color:H(i).backcolor},{default:re(()=>[w(F)]),_:1},8,["color"])),[[oe,"文字高亮"]])]),_:1}),Ze((Q(),Oe(nt,{class:"font-size-btn",style:{width:"20%"},onClick:k[10]||(k[10]=ge=>M("fontsize-add"))},{default:re(()=>[w(N),Ye("+")]),_:1})),[[oe,"增大字号"]]),Ze((Q(),Oe(nt,{last:"",class:"font-size-btn",style:{width:"20%"},onClick:k[11]||(k[11]=ge=>M("fontsize-reduce"))},{default:re(()=>[w(N),Ye("-")]),_:1})),[[oe,"减小字号"]])]),_:1}),w(xn,{class:"row"},{default:re(()=>[Ze((Q(),Oe(Qn,{style:{flex:"1"},checked:H(i).bold,onClick:k[12]||(k[12]=ge=>M("bold"))},{default:re(()=>[w(I)]),_:1},8,["checked"])),[[oe,"加粗"]]),Ze((Q(),Oe(Qn,{style:{flex:"1"},checked:H(i).em,onClick:k[13]||(k[13]=ge=>M("em"))},{default:re(()=>[w(V)]),_:1},8,["checked"])),[[oe,"斜体"]]),Ze((Q(),Oe(Qn,{style:{flex:"1"},checked:H(i).underline,onClick:k[14]||(k[14]=ge=>M("underline"))},{default:re(()=>[w(B)]),_:1},8,["checked"])),[[oe,"下划线"]]),Ze((Q(),Oe(Qn,{style:{flex:"1"},checked:H(i).strikethrough,onClick:k[15]||(k[15]=ge=>M("strikethrough"))},{default:re(()=>[w(G)]),_:1},8,["checked"])),[[oe,"删除线"]])]),_:1}),w(xn,{class:"row"},{default:re(()=>[Ze((Q(),Oe(Qn,{style:{flex:"1"},onClick:k[16]||(k[16]=ge=>M("clear"))},{default:re(()=>[w(ne)]),_:1})),[[oe,"清除格式"]]),Ze((Q(),Oe(Qn,{style:{flex:"1"},checked:!!H(s),onClick:k[17]||(k[17]=ge=>H(m)()),onDblclick:k[18]||(k[18]=ge=>H(m)(!0))},{default:re(()=>[w(E)]),_:1},8,["checked"])),[[oe,"格式刷(双击连续使用)"]])]),_:1}),w(Vt),w(_a,{class:"row","button-style":"solid",value:H(i).align,"onUpdate:value":k[19]||(k[19]=ge=>M("align",ge))},{default:re(()=>[Ze((Q(),Oe(Nn,{value:"left",style:{flex:"1"}},{default:re(()=>[w(Z)]),_:1})),[[oe,"左对齐"]]),Ze((Q(),Oe(Nn,{value:"center",style:{flex:"1"}},{default:re(()=>[w(K)]),_:1})),[[oe,"居中"]]),Ze((Q(),Oe(Nn,{value:"right",style:{flex:"1"}},{default:re(()=>[w(U)]),_:1})),[[oe,"右对齐"]])]),_:1},8,["value"]),w(_a,{class:"row","button-style":"solid",value:h.value,"onUpdate:value":k[20]||(k[20]=ge=>L(ge))},{default:re(()=>[Ze((Q(),Oe(Nn,{value:"top",style:{flex:"1"}},{default:re(()=>[w(J)]),_:1})),[[oe,"顶对齐"]]),Ze((Q(),Oe(Nn,{value:"middle",style:{flex:"1"}},{default:re(()=>[w(le)]),_:1})),[[oe,"居中"]]),Ze((Q(),Oe(Nn,{value:"bottom",style:{flex:"1"}},{default:re(()=>[w(ie)]),_:1})),[[oe,"底对齐"]])]),_:1},8,["value"]),w(Vt)],64)):Be("",!0),w(Hp),w(Vt),w(m2),w(Vt),w(f_),w(Vt),Y("div",Kve,[Ze((Q(),Oe(Qn,{style:{flex:"1"},checked:!!H(c),onClick:k[21]||(k[21]=ge=>H(A)()),onDblclick:k[22]||(k[22]=ge=>H(A)(!0))},{default:re(()=>[w(E),Ye(" 形状格式刷")]),_:1},8,["checked"])),[[oe,"双击连续使用"]])])])}}}),Gve=We(Hve,[["__scopeId","data-v-830d0c7f"]]),zp=e=>(on("data-v-d5f2e330"),e=e(),an(),e),Jve={class:"line-style-panel"},zve={class:"row"},jve=zp(()=>Y("div",{style:{width:"40%"}},"线条样式:",-1)),$ve={class:"row"},qve=zp(()=>Y("div",{style:{width:"40%"}},"线条颜色:",-1)),ege={class:"row"},tge=zp(()=>Y("div",{style:{width:"40%"}},"线条宽度:",-1)),nge={class:"row"},rge=zp(()=>Y("div",{style:{width:"40%"}},"起点样式:",-1)),oge={class:"row"},ige=zp(()=>Y("div",{style:{width:"40%"}},"终点样式:",-1)),age=Fe({__name:"LineStylePanel",setup(e){const t=ct(),{handleElement:n}=Ee(ft()),r=n,{addHistorySnapshot:o}=Jt(),i=a=>{n.value&&(t.updateElement({id:n.value.id,props:a}),o())};return(a,s)=>(Q(),ee("div",Jve,[Y("div",zve,[jve,w(Zn,{style:{width:"60%"},value:H(r).style,"onUpdate:value":s[0]||(s[0]=c=>i({style:c})),options:[{label:"实线",value:"solid"},{label:"虚线",value:"dashed"}]},null,8,["value"])]),Y("div",$ve,[qve,w(kt,{trigger:"click",style:{width:"60%"}},{content:re(()=>[w(Mn,{modelValue:H(r).color,"onUpdate:modelValue":s[1]||(s[1]=c=>i({color:c}))},null,8,["modelValue"])]),default:re(()=>[w(ir,{color:H(r).color},null,8,["color"])]),_:1})]),Y("div",ege,[tge,w(Li,{value:H(r).width,"onUpdate:value":s[2]||(s[2]=c=>i({width:c})),style:{width:"60%"}},null,8,["value"])]),Y("div",nge,[rge,w(Zn,{style:{width:"60%"},value:H(r).points[0],"onUpdate:value":s[3]||(s[3]=c=>i({points:[c,H(r).points[1]]})),options:[{label:"无",value:""},{label:"箭头",value:"arrow"},{label:"圆点",value:"dot"}]},null,8,["value"])]),Y("div",oge,[ige,w(Zn,{style:{width:"60%"},value:H(r).points[1],"onUpdate:value":s[4]||(s[4]=c=>i({points:[H(r).points[0],c]})),options:[{label:"无",value:""},{label:"箭头",value:"arrow"},{label:"圆点",value:"dot"}]},null,8,["value"])]),w(Vt),w(m2)]))}}),sge=We(age,[["__scopeId","data-v-d5f2e330"]]),lge={class:"chart-data-editor"},cge={class:"editor-content"},uge={class:"range-box"},fge=["id","onFocus","onPaste"],dge={class:"btns"},hge={class:"left"},pge={class:"right"},Tl=100,kl=32,mge=Fe({__name:"ChartDataEditor",props:{data:{}},emits:["save","close"],setup(e,{emit:t}){const n=e,r=t,o=me([0,0]),i=me({width:0,height:0}),a=me(null),s=Se(()=>{const x=o.value[0]*Tl,R=o.value[1]*kl;return[{type:"t",style:{width:x+"px"}},{type:"b",style:{top:R+"px",width:x+"px"}},{type:"l",style:{height:R+"px"}},{type:"r",style:{left:x+"px",height:R+"px"}}]}),c=Se(()=>{const x=o.value[0]*Tl,R=o.value[1]*kl;return{left:x+"px",top:R+"px"}});Gt(()=>{const x=[],{labels:R,legends:y,series:g}=n.data,S=R.length,L=g.length;x.push(["",...y]);for(let T=0;T<S;T++){const M=[R[T]];for(let O=0;O<L;O++)M.push(g[O][T]+"");x.push(M)}for(let T=0;T<S+1;T++)for(let M=0;M<L+1;M++){const O=document.querySelector(`#cell-${T}-${M}`);O&&(O.value=x[T][M]+"")}o.value=[L+1,S+1]});const u=()=>{if(!a.value)return;const[x,R]=a.value,y=document.querySelector(`#cell-${x+1}-${R}`);y&&y.focus()},f=x=>{x.key.toUpperCase()===Rt.ENTER&&u()};Gt(()=>{document.addEventListener("keydown",f)}),Tn(()=>{document.removeEventListener("keydown",f)});const d=()=>{const[x,R]=o.value,y=[],g=[],S=[];for(let L=1;L<R;L++){let T=`类别${L}`;const M=document.querySelector(`#cell-${L}-0`);M&&M.value&&(T=M.value),y.push(T)}for(let L=1;L<x;L++){let T=`系列${L}`;const M=document.querySelector(`#cell-0-${L}`);M&&M.value&&(T=M.value),g.push(T)}for(let L=1;L<x;L++){const T=[];for(let M=1;M<R;M++){const O=document.querySelector(`#cell-${M}-${L}`);let k=0;O&&O.value&&+O.value&&(k=+O.value),T.push(k)}S.push(T)}r("save",{labels:y,legends:g,series:S})},h=()=>{for(let x=1;x<31;x++)for(let R=1;R<7;R++){const y=document.querySelector(`#cell-${x}-${R}`);y&&(y.value="")}},p=(x,R,y)=>{if(x.preventDefault(),!x.clipboardData)return;const g=x.clipboardData.items[0];g&&g.kind==="string"&&g.type==="text/plain"&&g.getAsString(S=>{if(typeof wb(S)=="object")return;const T=HP(S);if(T){const M=R+T.length,O=y+T[0].length;for(let k=R;k<M;k++)for(let _=y;_<O;_++){const N=document.querySelector(`#cell-${k}-${_}`);N&&(N.value=T[k-R][_-y])}}})},m=()=>r("close"),A=x=>{let R=!0;const y=x.pageX,g=x.pageY,S=o.value[0]*Tl,L=o.value[1]*kl;document.onmousemove=T=>{if(!R)return;const M=T.pageX,O=T.pageY,k=M-y,_=O-g,N=S+k,X=L+_;i.value={width:N,height:X}},document.onmouseup=T=>{R=!1,document.onmousemove=null,document.onmouseup=null;const M=T.pageX,O=T.pageY;if(y===M&&g===O)return;let k=i.value.width,_=i.value.height;k%Tl>Tl*.5&&(k=k+(Tl-k%Tl)),_%kl>kl*.5&&(_=_+(kl-_%kl));let N=Math.round(_/kl),X=Math.round(k/Tl);N<3&&(N=3),X<2&&(X=2),o.value=[X,N],i.value={width:0,height:0}}};return(x,R)=>(Q(),ee("div",lge,[Y("div",cge,[Y("div",uge,[Y("div",{class:"temp-range",style:we({width:i.value.width+"px",height:i.value.height+"px"})},null,4),(Q(!0),ee(Ve,null,st(s.value,y=>(Q(),ee("div",{class:$e(["range-line",y.type]),key:y.type,style:we(y.style)},null,6))),128)),Y("div",{class:"resizable",style:we(c.value),onMousedown:R[0]||(R[0]=Kt(y=>A(y),["stop"]))},null,36)]),Y("table",null,[Y("tbody",null,[(Q(),ee(Ve,null,st(31,y=>Y("tr",{key:y},[(Q(),ee(Ve,null,st(7,g=>Y("td",{key:g,class:$e({head:g===1&&y<=o.value[1]||y===1&&g<=o.value[0]})},[Y("input",{class:$e(["item",{selected:y<=o.value[1]&&g<=o.value[0]}]),id:`cell-${y-1}-${g-1}`,autocomplete:"off",onFocus:S=>a.value=[y-1,g-1],onPaste:S=>p(S,y-1,g-1)},null,42,fge)],2)),64))])),64))])])]),Y("div",dge,[Y("div",hge,[w(nt,{class:"btn",onClick:R[1]||(R[1]=y=>h())},{default:re(()=>[Ye("清空")]),_:1})]),Y("div",pge,[w(nt,{class:"btn",onClick:R[2]||(R[2]=y=>m())},{default:re(()=>[Ye("取消")]),_:1}),w(nt,{type:"primary",class:"btn",onClick:R[3]||(R[3]=y=>d()),style:{"margin-left":"10px"}},{default:re(()=>[Ye("确认")]),_:1})])])]))}}),vge=We(mge,[["__scopeId","data-v-ac578a4f"]]),x_=e=>(on("data-v-3d20c849"),e=e(),an(),e),gge=x_(()=>Y("span",{class:"checkbox-input"},null,-1)),Age=x_(()=>Y("input",{class:"checkbox-original",type:"checkbox"},null,-1)),Rge={class:"checkbox-label"},yge=Fe({__name:"Checkbox",props:{value:{type:Boolean},disabled:{type:Boolean,default:!1}},emits:["update:value"],setup(e,{emit:t}){const n=e,r=t,o=i=>{n.disabled||r("update:value",i.target.checked)};return(i,a)=>(Q(),ee("label",{class:$e(["checkbox",{checked:i.value,disabled:i.disabled}]),onChange:a[0]||(a[0]=s=>o(s))},[gge,Age,Y("span",Rge,[cr(i.$slots,"default",{},void 0,!0)])],34))}}),qa=We(yge,[["__scopeId","data-v-3d20c849"]]),_5=e=>(on("data-v-63098034"),e=e(),an(),e),xge={class:"chart-style-panel"},bge={class:"row"},Sge={class:"row"},Mge={key:1,class:"row"},wge={key:2,class:"row"},Lge={class:"row"},Oge=_5(()=>Y("div",{style:{width:"40%"}},"图例:",-1)),Tge={class:"row"},kge=_5(()=>Y("div",{style:{width:"40%"}},"背景填充:",-1)),Nge={class:"row"},Pge=_5(()=>Y("div",{style:{width:"40%"}},"网格颜色:",-1)),Cge={style:{width:"40%"}},Ige={class:"color-btn-wrap",style:{width:"100%"}},Fge=["onClick"],_ge={class:"preset-themes"},Xge=["onClick","onMouseenter"],Ege=Fe({__name:"index",setup(e){const t=[["#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"]],n=ft(),r=ct(),{handleElement:o,handleElementId:i}=Ee(n),{theme:a}=Ee(r),s=o,c=me(!1),l=me(!1),u=me([-1,-1]),{addHistorySnapshot:f}=Jt(),d=me("#000"),h=me([]),p=me(""),m=me(""),A=me(!0),x=me(!0),R=me(!1),y=me(!1),g=me(!1),S=me(!1);Tt(o,()=>{if(!(!o.value||o.value.type!=="chart")){if(d.value=o.value.fill||"#fff",o.value.options){const{lineSmooth:V,showLine:B,showArea:G,horizontalBars:ne,donut:E,stackBars:Z}=o.value.options;A.value=!!V,x.value=!!B,R.value=!!G,y.value=!!ne,g.value=!!E,S.value=!!Z}h.value=o.value.themeColor,p.value=o.value.gridColor||"#333",m.value=o.value.legend||""}},{deep:!0,immediate:!0});const L=V=>{r.updateElement({id:i.value,props:V}),f()},T=V=>{c.value=!1,L({data:V})},M=V=>{L({fill:V})},O=V=>{const G={...o.value.options,...V};L({options:G})},k=(V,B)=>{const G={themeColor:h.value.map((ne,E)=>E===B?V:ne)};L(G)},_=()=>{const V={themeColor:[...h.value,a.value.themeColor]};L(V)},N=(V,B)=>{const G=V.slice(0,B+1);L({themeColor:G}),l.value=!1},X=V=>{const B={themeColor:h.value.filter((G,ne)=>ne!==V)};L(B)},C=V=>{L({gridColor:V})},F=V=>{L({legend:V})},I=()=>c.value=!0;return Zr.on(Wr.OPEN_CHART_DATA_EDITOR,I),Tn(()=>{Zr.off(Wr.OPEN_CHART_DATA_EDITOR,I)}),(V,B)=>{const G=xe("IconEdit"),ne=xe("IconCloseSmall"),E=xe("IconPlus"),Z=Ln("tooltip");return Q(),ee("div",xge,[w(nt,{class:"full-width-btn",onClick:B[0]||(B[0]=K=>c.value=!0)},{default:re(()=>[w(G,{class:"btn-icon"}),Ye(" 编辑图表数据 ")]),_:1}),w(Vt),H(s).chartType==="line"?(Q(),ee(Ve,{key:0},[Y("div",bge,[w(qa,{"onUpdate:value":B[1]||(B[1]=K=>O({showArea:K})),value:R.value,style:{flex:"1"}},{default:re(()=>[Ye("面积图样式")]),_:1},8,["value"]),w(qa,{"onUpdate:value":B[2]||(B[2]=K=>O({showLine:K})),value:!x.value,style:{flex:"1"}},{default:re(()=>[Ye("散点图样式")]),_:1},8,["value"])]),Y("div",Sge,[w(qa,{"onUpdate:value":B[3]||(B[3]=K=>O({lineSmooth:K})),value:A.value},{default:re(()=>[Ye("使用平滑曲线")]),_:1},8,["value"])])],64)):Be("",!0),H(s).chartType==="bar"?(Q(),ee("div",Mge,[w(qa,{"onUpdate:value":B[4]||(B[4]=K=>O({horizontalBars:K})),value:y.value,style:{flex:"1"}},{default:re(()=>[Ye("条形图样式")]),_:1},8,["value"]),w(qa,{"onUpdate:value":B[5]||(B[5]=K=>O({stackBars:K})),value:S.value,style:{flex:"1"}},{default:re(()=>[Ye("堆叠样式")]),_:1},8,["value"])])):Be("",!0),H(s).chartType==="pie"?(Q(),ee("div",wge,[w(qa,{"onUpdate:value":B[6]||(B[6]=K=>O({donut:K})),value:g.value},{default:re(()=>[Ye("环形图样式")]),_:1},8,["value"])])):Be("",!0),w(Vt),Y("div",Lge,[Oge,w(Zn,{style:{width:"60%"},value:m.value,"onUpdate:value":B[7]||(B[7]=K=>F(K)),options:[{label:"不显示",value:""},{label:"显示在上方",value:"top"},{label:"显示在下方",value:"bottom"}]},null,8,["value"])]),w(Vt),Y("div",Tge,[kge,w(kt,{trigger:"click",style:{width:"60%"}},{content:re(()=>[w(Mn,{modelValue:d.value,"onUpdate:modelValue":B[8]||(B[8]=K=>M(K))},null,8,["modelValue"])]),default:re(()=>[w(ir,{color:d.value},null,8,["color"])]),_:1})]),Y("div",Nge,[Pge,w(kt,{trigger:"click",style:{width:"60%"}},{content:re(()=>[w(Mn,{modelValue:p.value,"onUpdate:modelValue":B[9]||(B[9]=K=>C(K))},null,8,["modelValue"])]),default:re(()=>[w(ir,{color:p.value},null,8,["color"])]),_:1})]),w(Vt),(Q(!0),ee(Ve,null,st(h.value,(K,U)=>(Q(),ee("div",{class:"row",key:U},[Y("div",Cge,bt(U===0?"主题配色:":""),1),w(kt,{trigger:"click",style:{width:"60%"}},{content:re(()=>[w(Mn,{modelValue:K,"onUpdate:modelValue":J=>k(J,U)},null,8,["modelValue","onUpdate:modelValue"])]),default:re(()=>[Y("div",Ige,[w(ir,{color:K},null,8,["color"]),U!==0?Ze((Q(),ee("div",{key:0,class:"delete-color-btn",onClick:Kt(J=>X(U),["stop"])},[w(ne)],8,Fge)),[[Z,"删除"]]):Be("",!0)])]),_:2},1024)]))),128)),w(xn,{class:"row",passive:""},{default:re(()=>[w(kt,{trigger:"click",open:l.value,"onUpdate:open":B[11]||(B[11]=K=>l.value=K),style:{width:"40%"}},{content:re(()=>[Y("div",_ge,[(Q(),ee(Ve,null,st(t,(K,U)=>Y("div",{class:"preset-theme",key:U},[(Q(!0),ee(Ve,null,st(K,(J,le)=>(Q(),ee("div",{class:$e(["preset-theme-color",{select:u.value[0]===U&&le<=u.value[1]}]),key:J,style:we({backgroundColor:J}),onClick:ie=>N(K,le),onMouseenter:ie=>u.value=[U,le],onMouseleave:B[10]||(B[10]=ie=>u.value=[-1,-1])},null,46,Xge))),128))])),64))])]),default:re(()=>[w(nt,{first:"",style:{width:"100%"}},{default:re(()=>[Ye("推荐主题")]),_:1})]),_:1},8,["open"]),w(nt,{last:"",disabled:h.value.length>=10,style:{width:"60%"},onClick:B[12]||(B[12]=K=>_())},{default:re(()=>[w(E,{class:"btn-icon"}),Ye(" 添加主题色 ")]),_:1},8,["disabled"])]),_:1}),w(Vt),w(Hp),w(Zp,{visible:c.value,"onUpdate:visible":B[15]||(B[15]=K=>c.value=K),width:640},{default:re(()=>[w(vge,{data:H(s).data,onClose:B[13]||(B[13]=K=>c.value=!1),onSave:B[14]||(B[14]=K=>T(K))},null,8,["data"])]),_:1},8,["visible"])])}}}),Wge=We(Ege,[["__scopeId","data-v-63098034"]]),g2=e=>(on("data-v-adc75d19"),e=e(),an(),e),Vge={class:"table-style-panel"},Uge={class:"row"},Yge=g2(()=>Y("div",{style:{width:"40%"}},"行数:",-1)),Qge={class:"set-count",style:{width:"60%"}},Zge={class:"count-text"},Bge={class:"row"},Dge=g2(()=>Y("div",{style:{width:"40%"}},"列数:",-1)),Kge={class:"set-count",style:{width:"60%"}},Hge={class:"count-text"},Gge={class:"row theme-switch"},Jge=g2(()=>Y("div",{style:{width:"40%"}},"启用主题表格:",-1)),zge={class:"switch-wrapper",style:{width:"60%"}},jge={class:"row"},$ge={class:"row"},qge={class:"row"},e2e=g2(()=>Y("div",{style:{width:"40%"}},"主题颜色:",-1)),t2e=Fe({__name:"TableStylePanel",setup(e){const t=ct(),{handleElement:n,handleElementId:r,selectedTableCells:o,availableFonts:i}=Ee(ft()),a=Se(()=>t.theme.themeColor),s=["12px","14px","16px","18px","20px","22px","24px","28px","32px"],c=me({bold:!1,em:!1,underline:!1,strikethrough:!1,color:"#000",backcolor:"",fontsize:"12px",fontname:"微软雅黑",align:"left"}),l=me(),u=me(!1),f=me(0),d=me(0),h=me(0),p=me(0);Tt(n,()=>{!n.value||n.value.type!=="table"||(l.value=n.value.theme,u.value=!!l.value,f.value=n.value.data.length,d.value=n.value.data[0].length,h.value=n.value.data.length,p.value=n.value.data[0].length)},{deep:!0,immediate:!0});const{addHistorySnapshot:m}=Jt(),A=()=>{if(!n.value||n.value.type!=="table")return;let T=0,M=0;if(o.value.length){const k=o.value[0];T=+k.split("_")[0],M=+k.split("_")[1]}const O=n.value.data[T][M].style;O?c.value={bold:!!O.bold,em:!!O.em,underline:!!O.underline,strikethrough:!!O.strikethrough,color:O.color||"#000",backcolor:O.backcolor||"",fontsize:O.fontsize||"12px",fontname:O.fontname||"微软雅黑",align:O.align||"left"}:c.value={bold:!1,em:!1,underline:!1,strikethrough:!1,color:"#000",backcolor:"",fontsize:"12px",fontname:"微软雅黑",align:"left"}};Gt(()=>{o.value.length&&A()}),Tt(o,A);const x=T=>{t.updateElement({id:r.value,props:T}),m()},R=T=>{const M=n.value,O=JSON.parse(JSON.stringify(M.data));for(let k=0;k<O.length;k++)for(let _=0;_<O[k].length;_++)if(!o.value.length||o.value.includes(`${k}_${_}`)){const N=O[k][_].style||{};O[k][_].style={...N,...T}}x({data:O}),A()},y=T=>{if(!l.value)return;const M={...l.value,...T};x({theme:M})},g=T=>{if(T){const M={theme:{color:a.value,rowHeader:!0,rowFooter:!1,colHeader:!1,colFooter:!1}};x(M)}else t.removeElementProps({id:r.value,propName:"theme"}),m()},S=T=>{const M=n.value,O=M.data.length;if(T>O){const k=new Array(d.value).fill({id:yn(10),colspan:1,rowspan:1,text:""}),_=new Array(T-O).fill(k),N=JSON.parse(JSON.stringify(M.data));N.push(..._),x({data:N})}else{const k=M.data.slice(0,T);x({data:k})}},L=T=>{const M=n.value,O=M.data[0].length;let k=M.data,_=M.colWidths.map(F=>F*M.width);if(T>O){k=k.map(I=>{const V=new Array(T-O).fill({id:yn(10),colspan:1,rowspan:1,text:""});return I.push(...V),I});const F=new Array(T-O).fill(100);_.push(...F)}else k=k.map(F=>F.slice(0,T)),_=_.slice(0,T);const N=_.reduce((F,I)=>F+I),X=_.map(F=>F/N);x({width:N,data:k,colWidths:X})};return(T,M)=>{const O=xe("IconFontSize"),k=xe("IconAddText"),_=xe("IconText"),N=xe("IconFill"),X=xe("IconTextBold"),C=xe("IconTextItalic"),F=xe("IconTextUnderline"),I=xe("IconStrikethrough"),V=xe("IconAlignTextLeft"),B=xe("IconAlignTextCenter"),G=xe("IconAlignTextRight"),ne=xe("IconMinus"),E=xe("IconPlus"),Z=Ln("tooltip");return Q(),ee("div",Vge,[w(v2,{class:"row"},{default:re(()=>[w(Zn,{style:{width:"50%"},value:c.value.fontname,"onUpdate:value":M[0]||(M[0]=K=>R({fontname:K})),options:[...H(i),...H(bp)]},{icon:re(()=>[w(O)]),_:1},8,["value","options"]),w(Zn,{style:{width:"50%"},value:c.value.fontsize,"onUpdate:value":M[1]||(M[1]=K=>R({fontsize:K})),options:s.map(K=>({label:K,value:K}))},{icon:re(()=>[w(k)]),_:1},8,["value","options"])]),_:1}),w(xn,{class:"row",passive:""},{default:re(()=>[w(kt,{trigger:"click",style:{width:"50%"}},{content:re(()=>[w(Mn,{modelValue:c.value.color,"onUpdate:modelValue":M[2]||(M[2]=K=>R({color:K}))},null,8,["modelValue"])]),default:re(()=>[Ze((Q(),Oe(xc,{first:"",color:c.value.color},{default:re(()=>[w(_)]),_:1},8,["color"])),[[Z,"文字颜色"]])]),_:1}),w(kt,{trigger:"click",style:{width:"50%"}},{content:re(()=>[w(Mn,{modelValue:c.value.backcolor,"onUpdate:modelValue":M[3]||(M[3]=K=>R({backcolor:K}))},null,8,["modelValue"])]),default:re(()=>[Ze((Q(),Oe(xc,{last:"",color:c.value.backcolor},{default:re(()=>[w(N)]),_:1},8,["color"])),[[Z,"单元格填充"]])]),_:1})]),_:1}),w(xn,{class:"row"},{default:re(()=>[Ze((Q(),Oe(Qn,{style:{flex:"1"},checked:c.value.bold,onClick:M[4]||(M[4]=K=>R({bold:!c.value.bold}))},{default:re(()=>[w(X)]),_:1},8,["checked"])),[[Z,"加粗"]]),Ze((Q(),Oe(Qn,{style:{flex:"1"},checked:c.value.em,onClick:M[5]||(M[5]=K=>R({em:!c.value.em}))},{default:re(()=>[w(C)]),_:1},8,["checked"])),[[Z,"斜体"]]),Ze((Q(),Oe(Qn,{style:{flex:"1"},checked:c.value.underline,onClick:M[6]||(M[6]=K=>R({underline:!c.value.underline}))},{default:re(()=>[w(F)]),_:1},8,["checked"])),[[Z,"下划线"]]),Ze((Q(),Oe(Qn,{style:{flex:"1"},checked:c.value.strikethrough,onClick:M[7]||(M[7]=K=>R({strikethrough:!c.value.strikethrough}))},{default:re(()=>[w(I)]),_:1},8,["checked"])),[[Z,"删除线"]])]),_:1}),w(_a,{class:"row","button-style":"solid",value:c.value.align,"onUpdate:value":M[8]||(M[8]=K=>R({align:K}))},{default:re(()=>[Ze((Q(),Oe(Nn,{value:"left",style:{flex:"1"}},{default:re(()=>[w(V)]),_:1})),[[Z,"左对齐"]]),Ze((Q(),Oe(Nn,{value:"center",style:{flex:"1"}},{default:re(()=>[w(B)]),_:1})),[[Z,"居中"]]),Ze((Q(),Oe(Nn,{value:"right",style:{flex:"1"}},{default:re(()=>[w(G)]),_:1})),[[Z,"右对齐"]])]),_:1},8,["value"]),w(Vt),w(Hp,{fixed:!0}),w(Vt),Y("div",Uge,[Yge,Y("div",Qge,[w(nt,{class:"btn",disabled:f.value<=1,onClick:M[9]||(M[9]=K=>S(f.value-1))},{default:re(()=>[w(ne)]),_:1},8,["disabled"]),Y("div",Zge,bt(f.value),1),w(nt,{class:"btn",disabled:f.value>=30,onClick:M[10]||(M[10]=K=>S(f.value+1))},{default:re(()=>[w(E)]),_:1},8,["disabled"])])]),Y("div",Bge,[Dge,Y("div",Kge,[w(nt,{class:"btn",disabled:d.value<=1,onClick:M[11]||(M[11]=K=>L(d.value-1))},{default:re(()=>[w(ne)]),_:1},8,["disabled"]),Y("div",Hge,bt(d.value),1),w(nt,{class:"btn",disabled:d.value>=30,onClick:M[12]||(M[12]=K=>L(d.value+1))},{default:re(()=>[w(E)]),_:1},8,["disabled"])])]),w(Vt),Y("div",Gge,[Jge,Y("div",zge,[w(oa,{value:u.value,"onUpdate:value":M[13]||(M[13]=K=>g(K))},null,8,["value"])])]),l.value?(Q(),ee(Ve,{key:0},[Y("div",jge,[w(qa,{"onUpdate:value":M[14]||(M[14]=K=>y({rowHeader:K})),value:l.value.rowHeader,style:{flex:"1"}},{default:re(()=>[Ye("标题行")]),_:1},8,["value"]),w(qa,{"onUpdate:value":M[15]||(M[15]=K=>y({rowFooter:K})),value:l.value.rowFooter,style:{flex:"1"}},{default:re(()=>[Ye("汇总行")]),_:1},8,["value"])]),Y("div",$ge,[w(qa,{"onUpdate:value":M[16]||(M[16]=K=>y({colHeader:K})),value:l.value.colHeader,style:{flex:"1"}},{default:re(()=>[Ye("第一列")]),_:1},8,["value"]),w(qa,{"onUpdate:value":M[17]||(M[17]=K=>y({colFooter:K})),value:l.value.colFooter,style:{flex:"1"}},{default:re(()=>[Ye("最后一列")]),_:1},8,["value"])]),Y("div",qge,[e2e,w(kt,{trigger:"click",style:{width:"60%"}},{content:re(()=>[w(Mn,{modelValue:l.value.color,"onUpdate:modelValue":M[18]||(M[18]=K=>y({color:K}))},null,8,["modelValue"])]),default:re(()=>[w(ir,{color:l.value.color},null,8,["color"])]),_:1})])],64)):Be("",!0)])}}}),n2e=We(t2e,[["__scopeId","data-v-adc75d19"]]),b_=e=>(on("data-v-6b6e110e"),e=e(),an(),e),r2e={class:"latex-style-panel"},o2e={class:"row"},i2e={class:"row"},a2e=b_(()=>Y("div",{style:{width:"40%"}},"颜色:",-1)),s2e={class:"row"},l2e=b_(()=>Y("div",{style:{width:"40%"}},"粗细:",-1)),c2e=Fe({__name:"LatexStylePanel",setup(e){const t=ct(),{handleElement:n}=Ee(ft()),r=n,o=me(!1),{addHistorySnapshot:i}=Jt(),a=l=>{n.value&&(t.updateElement({id:n.value.id,props:l}),i())},s=l=>{a({path:l.path,latex:l.latex,width:l.w,height:l.h,viewBox:[l.w,l.h]})},c=()=>o.value=!0;return Zr.on(Wr.OPEN_LATEX_EDITOR,c),Tn(()=>{Zr.off(Wr.OPEN_LATEX_EDITOR,c)}),(l,u)=>(Q(),ee("div",r2e,[Y("div",o2e,[w(nt,{style:{flex:"1"},onClick:u[0]||(u[0]=f=>o.value=!0)},{default:re(()=>[Ye("编辑 LaTeX")]),_:1})]),w(Vt),Y("div",i2e,[a2e,w(kt,{trigger:"click",style:{width:"60%"}},{content:re(()=>[w(Mn,{modelValue:H(r).color,"onUpdate:modelValue":u[1]||(u[1]=f=>a({color:f}))},null,8,["modelValue"])]),default:re(()=>[w(ir,{color:H(r).color},null,8,["color"])]),_:1})]),Y("div",s2e,[l2e,w(Li,{min:1,max:3,value:H(r).strokeWidth,"onUpdate:value":u[2]||(u[2]=f=>a({strokeWidth:f})),style:{width:"60%"}},null,8,["value"])]),w(Zp,{visible:o.value,"onUpdate:visible":u[5]||(u[5]=f=>o.value=f),width:880},{default:re(()=>[w(JF,{value:H(r).latex,onClose:u[3]||(u[3]=f=>o.value=!1),onUpdate:u[4]||(u[4]=f=>{s(f),o.value=!1})},null,8,["value"])]),_:1},8,["visible"])]))}}),u2e=We(c2e,[["__scopeId","data-v-6b6e110e"]]),S_=e=>(on("data-v-b289959e"),e=e(),an(),e),f2e={class:"video-style-panel"},d2e=S_(()=>Y("div",{class:"title"},"视频预览封面",-1)),h2e={class:"background-image-wrapper"},p2e={class:"background-image"},m2e={class:"row"},v2e={class:"row switch-row"},g2e=S_(()=>Y("div",{style:{width:"40%"}},"自动播放:",-1)),A2e={class:"switch-wrapper",style:{width:"60%"}},R2e=Fe({__name:"VideoStylePanel",setup(e){const t=ct(),{handleElement:n}=Ee(ft()),r=n,{addHistorySnapshot:o}=Jt(),i=s=>{n.value&&(t.updateElement({id:n.value.id,props:s}),o())},a=s=>{const c=s[0];c&&Ju(c).then(l=>i({poster:l}))};return(s,c)=>{const l=xe("IconPlus");return Q(),ee("div",f2e,[d2e,Y("div",h2e,[w(Xu,{onChange:c[0]||(c[0]=u=>a(u))},{default:re(()=>[Y("div",p2e,[Y("div",{class:"content",style:we({backgroundImage:H(r).poster?`url(${H(r).poster})`:""})},[w(l)],4)])]),_:1})]),Y("div",m2e,[w(nt,{style:{flex:"1"},onClick:c[1]||(c[1]=u=>i({poster:""}))},{default:re(()=>[Ye("重置封面")]),_:1})]),Y("div",v2e,[g2e,Y("div",A2e,[w(oa,{value:H(r).autoplay,"onUpdate:value":c[2]||(c[2]=u=>i({autoplay:u}))},null,8,["value"])])])])}}}),y2e=We(R2e,[["__scopeId","data-v-b289959e"]]),X5=e=>(on("data-v-44ce0855"),e=e(),an(),e),x2e={class:"audio-style-panel"},b2e={class:"row"},S2e=X5(()=>Y("div",{style:{width:"40%"}},"图标颜色:",-1)),M2e={class:"row switch-row"},w2e=X5(()=>Y("div",{style:{width:"40%"}},"自动播放:",-1)),L2e={class:"switch-wrapper",style:{width:"60%"}},O2e={class:"row switch-row"},T2e=X5(()=>Y("div",{style:{width:"40%"}},"循环播放:",-1)),k2e={class:"switch-wrapper",style:{width:"60%"}},N2e=Fe({__name:"AudioStylePanel",setup(e){const t=ct(),{handleElement:n}=Ee(ft()),r=n,{addHistorySnapshot:o}=Jt(),i=a=>{n.value&&(t.updateElement({id:n.value.id,props:a}),o())};return(a,s)=>(Q(),ee("div",x2e,[Y("div",b2e,[S2e,w(kt,{trigger:"click",style:{width:"60%"}},{content:re(()=>[w(Mn,{modelValue:H(r).color,"onUpdate:modelValue":s[0]||(s[0]=c=>i({color:c}))},null,8,["modelValue"])]),default:re(()=>[w(ir,{color:H(r).color},null,8,["color"])]),_:1})]),Y("div",M2e,[w2e,Y("div",L2e,[w(oa,{value:H(r).autoplay,"onUpdate:value":s[1]||(s[1]=c=>i({autoplay:c}))},null,8,["value"])])]),Y("div",O2e,[T2e,Y("div",k2e,[w(oa,{value:H(r).loop,"onUpdate:value":s[2]||(s[2]=c=>i({loop:c}))},null,8,["value"])])])]))}}),P2e=We(N2e,[["__scopeId","data-v-44ce0855"]]),A2=e=>(on("data-v-a267c062"),e=e(),an(),e),C2e={class:"multi-style-panel"},I2e={class:"row"},F2e=A2(()=>Y("div",{style:{width:"40%"}},"填充颜色:",-1)),_2e={class:"row"},X2e=A2(()=>Y("div",{style:{width:"40%"}},"边框样式:",-1)),E2e={class:"row"},W2e=A2(()=>Y("div",{style:{width:"40%"}},"边框颜色:",-1)),V2e={class:"row"},U2e=A2(()=>Y("div",{style:{width:"40%"}},"边框粗细:",-1)),Y2e=Fe({__name:"MultiStylePanel",setup(e){const t=ct(),{richTextAttrs:n,availableFonts:r,activeElementList:o}=Ee(ft()),{addHistorySnapshot:i}=Jt(),a=(h,p)=>{t.updateElement({id:h,props:p}),i()},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"],c=me("#fff"),l=me({width:0,color:"#fff",style:"solid"}),u=h=>{for(const p of o.value){if((p.type==="text"||p.type==="shape"||p.type==="chart")&&a(p.id,{fill:h}),p.type==="table"){const m=JSON.parse(JSON.stringify(p.data));for(let A=0;A<m.length;A++)for(let x=0;x<m[A].length;x++){const R=m[A][x].style||{};m[A][x].style={...R,backcolor:h}}a(p.id,{data:m})}p.type==="audio"&&a(p.id,{color:h})}c.value=h},f=h=>{for(const p of o.value){if(p.type==="text"||p.type==="image"||p.type==="shape"||p.type==="table"||p.type==="chart"){const A={outline:{...p.outline||{width:2,color:"#000",style:"solid"},...h}};a(p.id,A)}p.type==="line"&&a(p.id,h)}l.value={...l.value,...h}},d=(h,p)=>{var m;for(const A of o.value){if((A.type==="text"||A.type==="shape"&&((m=A.text)!=null&&m.content))&&Zr.emit(Wr.RICH_TEXT_COMMAND,{target:A.id,action:{command:h,value:p}}),A.type==="table"){const x=JSON.parse(JSON.stringify(A.data));for(let R=0;R<x.length;R++)for(let y=0;y<x[R].length;y++){const g=x[R][y].style||{};x[R][y].style={...g,[h]:p}}a(A.id,{data:x})}A.type==="latex"&&h==="color"&&a(A.id,{color:p})}};return(h,p)=>{const m=xe("IconFontSize"),A=xe("IconAddText"),x=xe("IconText"),R=xe("IconHighLight"),y=xe("IconAlignTextLeft"),g=xe("IconAlignTextCenter"),S=xe("IconAlignTextRight"),L=Ln("tooltip");return Q(),ee("div",C2e,[Y("div",I2e,[F2e,w(kt,{trigger:"click",style:{width:"60%"}},{content:re(()=>[w(Mn,{modelValue:c.value,"onUpdate:modelValue":p[0]||(p[0]=T=>u(T))},null,8,["modelValue"])]),default:re(()=>[w(ir,{color:c.value},null,8,["color"])]),_:1})]),w(Vt),Y("div",_2e,[X2e,w(Zn,{style:{width:"60%"},value:l.value.style||"","onUpdate:value":p[1]||(p[1]=T=>f({style:T})),options:[{label:"实线边框",value:"solid"},{label:"虚线边框",value:"dashed"}]},null,8,["value"])]),Y("div",E2e,[W2e,w(kt,{trigger:"click",style:{width:"60%"}},{content:re(()=>[w(Mn,{modelValue:l.value.color,"onUpdate:modelValue":p[2]||(p[2]=T=>f({color:T}))},null,8,["modelValue"])]),default:re(()=>[w(ir,{color:l.value.color||"#000"},null,8,["color"])]),_:1})]),Y("div",V2e,[U2e,w(Li,{value:l.value.width||0,"onUpdate:value":p[3]||(p[3]=T=>f({width:T})),style:{width:"60%"}},null,8,["value"])]),w(Vt),w(v2,{class:"row"},{default:re(()=>[w(Zn,{style:{width:"60%"},value:H(n).fontname,"onUpdate:value":p[4]||(p[4]=T=>d("fontname",T)),options:[...H(r),...H(bp)]},{icon:re(()=>[w(m)]),_:1},8,["value","options"]),w(Zn,{style:{width:"40%"},value:H(n).fontsize,"onUpdate:value":p[5]||(p[5]=T=>d("fontsize",T)),options:s.map(T=>({label:T,value:T}))},{icon:re(()=>[w(A)]),_:1},8,["value","options"])]),_:1}),w(xn,{class:"row",passive:""},{default:re(()=>[w(kt,{trigger:"click",style:{width:"30%"}},{content:re(()=>[w(Mn,{modelValue:H(n).color,"onUpdate:modelValue":p[6]||(p[6]=T=>d("color",T))},null,8,["modelValue"])]),default:re(()=>[Ze((Q(),Oe(xc,{first:"",color:H(n).color},{default:re(()=>[w(x)]),_:1},8,["color"])),[[L,"文字颜色"]])]),_:1}),w(kt,{trigger:"click",style:{width:"30%"}},{content:re(()=>[w(Mn,{modelValue:H(n).backcolor,"onUpdate:modelValue":p[7]||(p[7]=T=>d("backcolor",T))},null,8,["modelValue"])]),default:re(()=>[Ze((Q(),Oe(xc,{color:H(n).backcolor},{default:re(()=>[w(R)]),_:1},8,["color"])),[[L,"文字高亮"]])]),_:1}),Ze((Q(),Oe(nt,{class:"font-size-btn",style:{width:"20%"},onClick:p[8]||(p[8]=T=>d("fontsize-add","2"))},{default:re(()=>[w(m),Ye("+")]),_:1})),[[L,"增大字号"]]),Ze((Q(),Oe(nt,{last:"",class:"font-size-btn",style:{width:"20%"},onClick:p[9]||(p[9]=T=>d("fontsize-reduce","2"))},{default:re(()=>[w(m),Ye("-")]),_:1})),[[L,"减小字号"]])]),_:1}),w(_a,{class:"row","button-style":"solid",value:H(n).align,"onUpdate:value":p[10]||(p[10]=T=>d("align",T))},{default:re(()=>[Ze((Q(),Oe(Nn,{value:"left",style:{flex:"1"}},{default:re(()=>[w(y)]),_:1})),[[L,"左对齐"]]),Ze((Q(),Oe(Nn,{value:"center",style:{flex:"1"}},{default:re(()=>[w(g)]),_:1})),[[L,"居中"]]),Ze((Q(),Oe(Nn,{value:"right",style:{flex:"1"}},{default:re(()=>[w(S)]),_:1})),[[L,"右对齐"]])]),_:1},8,["value"])])}}}),Q2e=We(Y2e,[["__scopeId","data-v-a267c062"]]),Z2e={class:"element-style-panel"},B2e=Fe({__name:"index",setup(e){const t={[Nt.TEXT]:rve,[Nt.IMAGE]:Pve,[Nt.SHAPE]:Gve,[Nt.LINE]:sge,[Nt.CHART]:Wge,[Nt.TABLE]:n2e,[Nt.LATEX]:u2e,[Nt.VIDEO]:y2e,[Nt.AUDIO]:P2e},{activeElementIdList:n,activeElementList:r,handleElement:o,activeGroupElementId:i}=Ee(ft()),a=Se(()=>{if(n.value.length>1){if(!i.value)return Q2e;const s=r.value.find(c=>c.id===i.value);return s&&t[s.type]||null}return o.value&&t[o.value.type]||null});return(s,c)=>(Q(),ee("div",Z2e,[(Q(),Oe(xs(a.value)))]))}}),R2=e=>(on("data-v-02ba2ecf"),e=e(),an(),e),D2e={class:"element-positopn-panel"},K2e=R2(()=>Y("div",{class:"title"},"层级:",-1)),H2e=R2(()=>Y("div",{class:"title"},"对齐:",-1)),G2e={class:"row"},J2e=R2(()=>Y("div",{style:{width:"10%"}},null,-1)),z2e={key:0,class:"row"},j2e={key:1,style:{width:"10%"}},$2e={class:"row"},q2e=R2(()=>Y("div",{style:{width:"7%"}},null,-1)),eAe=Fe({__name:"ElementPositionPanel",setup(e){const t=ct(),{handleElement:n,handleElementId:r}=Ee(ft()),o=me(0),i=me(0),a=me(0),s=me(0),c=me(0),l=me(!1),u=Se(()=>n.value&&fI[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});Tt(n,()=>{n.value&&(o.value=_n.round(n.value.left,1),i.value=_n.round(n.value.top,1),l.value="fixedRatio"in n.value&&!!n.value.fixedRatio,n.value.type!=="line"&&(a.value=_n.round(n.value.width,1),s.value=_n.round(n.value.height,1),c.value="rotate"in n.value&&n.value.rotate!==void 0?_n.round(n.value.rotate,1):0))},{deep:!0,immediate:!0});const{orderElement:h}=Np(),{alignElementToCanvas:p}=o2(),{addHistorySnapshot:m}=Jt(),A=M=>{const O={left:M};t.updateElement({id:r.value,props:O}),m()},x=M=>{const O={top:M};t.updateElement({id:r.value,props:O}),m()},R=(M,O)=>{if(n.value&&n.value.type==="shape"&&"pathFormula"in n.value&&n.value.pathFormula){const k=zu[n.value.pathFormula];let _="";return"editable"in k?_=k.formula(M,O,n.value.keypoint):_=k.formula(M,O),{viewBox:[M,O],path:_}}return null},y=M=>{let O={width:M};const k=R(M,s.value);k&&(O={...O,...k}),t.updateElement({id:r.value,props:O}),m()},g=M=>{let O={height:M};const k=R(a.value,M);k&&(O={...O,...k}),t.updateElement({id:r.value,props:O}),m()},S=M=>{const O={rotate:M};t.updateElement({id:r.value,props:O}),m()},L=M=>{const O={fixedRatio:M};t.updateElement({id:r.value,props:O}),m()},T=M=>{let O=Math.floor(c.value/45)*45;M==="+"?O=O+45:M==="-"&&(O=O-45),O<-180&&(O=-180),O>180&&(O=180);const k={rotate:O};t.updateElement({id:r.value,props:k}),m()};return(M,O)=>{const k=xe("IconSendToBack"),_=xe("IconBringToFrontOne"),N=xe("IconBringToFront"),X=xe("IconSentToBack"),C=xe("IconAlignLeft"),F=xe("IconAlignVertically"),I=xe("IconAlignRight"),V=xe("IconAlignTop"),B=xe("IconAlignHorizontally"),G=xe("IconAlignBottom"),ne=xe("IconLock"),E=xe("IconUnlock"),Z=xe("IconRotate"),K=Ln("tooltip");return Q(),ee("div",D2e,[K2e,w(xn,{class:"row"},{default:re(()=>[w(nt,{style:{flex:"1"},onClick:O[0]||(O[0]=U=>H(h)(H(n),H(pr).TOP))},{default:re(()=>[w(k,{class:"btn-icon"}),Ye(" 置顶")]),_:1}),w(nt,{style:{flex:"1"},onClick:O[1]||(O[1]=U=>H(h)(H(n),H(pr).BOTTOM))},{default:re(()=>[w(_,{class:"btn-icon"}),Ye(" 置底")]),_:1})]),_:1}),w(xn,{class:"row"},{default:re(()=>[w(nt,{style:{flex:"1"},onClick:O[2]||(O[2]=U=>H(h)(H(n),H(pr).UP))},{default:re(()=>[w(N,{class:"btn-icon"}),Ye(" 上移")]),_:1}),w(nt,{style:{flex:"1"},onClick:O[3]||(O[3]=U=>H(h)(H(n),H(pr).DOWN))},{default:re(()=>[w(X,{class:"btn-icon"}),Ye(" 下移")]),_:1})]),_:1}),w(Vt),H2e,w(xn,{class:"row"},{default:re(()=>[Ze((Q(),Oe(nt,{style:{flex:"1"},onClick:O[4]||(O[4]=U=>H(p)(H(nn).LEFT))},{default:re(()=>[w(C)]),_:1})),[[K,"左对齐"]]),Ze((Q(),Oe(nt,{style:{flex:"1"},onClick:O[5]||(O[5]=U=>H(p)(H(nn).HORIZONTAL))},{default:re(()=>[w(F)]),_:1})),[[K,"水平居中"]]),Ze((Q(),Oe(nt,{style:{flex:"1"},onClick:O[6]||(O[6]=U=>H(p)(H(nn).RIGHT))},{default:re(()=>[w(I)]),_:1})),[[K,"右对齐"]])]),_:1}),w(xn,{class:"row"},{default:re(()=>[Ze((Q(),Oe(nt,{style:{flex:"1"},onClick:O[7]||(O[7]=U=>H(p)(H(nn).TOP))},{default:re(()=>[w(V)]),_:1})),[[K,"上对齐"]]),Ze((Q(),Oe(nt,{style:{flex:"1"},onClick:O[8]||(O[8]=U=>H(p)(H(nn).VERTICAL))},{default:re(()=>[w(B)]),_:1})),[[K,"垂直居中"]]),Ze((Q(),Oe(nt,{style:{flex:"1"},onClick:O[9]||(O[9]=U=>H(p)(H(nn).BOTTOM))},{default:re(()=>[w(G)]),_:1})),[[K,"下对齐"]])]),_:1}),w(Vt),Y("div",G2e,[w(Li,{step:5,value:o.value,"onUpdate:value":O[10]||(O[10]=U=>A(U)),style:{width:"45%"}},{prefix:re(()=>[Ye(" 水平: ")]),_:1},8,["value"]),J2e,w(Li,{step:5,value:i.value,"onUpdate:value":O[11]||(O[11]=U=>x(U)),style:{width:"45%"}},{prefix:re(()=>[Ye(" 垂直: ")]),_:1},8,["value"])]),H(n).type!=="line"?(Q(),ee("div",z2e,[w(Li,{min:u.value,max:1500,step:5,disabled:d.value,value:a.value,"onUpdate:value":O[12]||(O[12]=U=>y(U)),style:{width:"45%"}},{prefix:re(()=>[Ye(" 宽度: ")]),_:1},8,["min","disabled","value"]),["image","shape","audio"].includes(H(n).type)?(Q(),ee(Ve,{key:0},[l.value?Ze((Q(),Oe(ne,{key:0,style:{width:"10%"},class:"icon-btn",onClick:O[13]||(O[13]=U=>L(!1))},null,512)),[[K,"解除宽高比锁定"]]):Ze((Q(),Oe(E,{key:1,style:{width:"10%"},class:"icon-btn",onClick:O[14]||(O[14]=U=>L(!0))},null,512)),[[K,"宽高比锁定"]])],64)):(Q(),ee("div",j2e)),w(Li,{min:u.value,max:800,step:5,disabled:f.value||H(n).type==="table",value:s.value,"onUpdate:value":O[15]||(O[15]=U=>g(U)),style:{width:"45%"}},{prefix:re(()=>[Ye(" 高度: ")]),_:1},8,["min","disabled","value"])])):Be("",!0),["line","video","audio"].includes(H(n).type)?Be("",!0):(Q(),ee(Ve,{key:1},[w(Vt),Y("div",$2e,[w(Li,{min:-180,max:180,step:5,value:c.value,"onUpdate:value":O[16]||(O[16]=U=>S(U)),style:{width:"45%"}},{prefix:re(()=>[Ye(" 旋转: ")]),_:1},8,["value"]),q2e,Y("div",{class:"text-btn",onClick:O[17]||(O[17]=U=>T("-")),style:{width:"24%"}},[w(Z),Ye(" -45°")]),Y("div",{class:"text-btn",onClick:O[18]||(O[18]=U=>T("+")),style:{width:"24%"}},[w(Z,{style:we({transform:"rotateY(180deg)"})},null,8,["style"]),Ye(" +45°")])])],64))])}}}),tAe=We(eAe,[["__scopeId","data-v-02ba2ecf"]]),s4=1e3,nAe="click",bi="animate__",zT=[{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"}]}],jT=[{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"}]}],$T=[{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"}]}],M_=[{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"}],w_=e=>(on("data-v-bf835335"),e=e(),an(),e),rAe={class:"element-animation-panel"},oAe={key:0,class:"element-animation"},iAe={class:"type-title"},aAe={class:"pool-item-wrapper"},sAe=["onMouseenter","onClick"],lAe={key:0,class:"mask"},cAe={key:1,class:"tip"},uAe={class:"sequence-content"},fAe={class:"index"},dAe={class:"text"},hAe={class:"handler"},pAe={key:0,class:"configs"},mAe={class:"config-item"},vAe=w_(()=>Y("div",{style:{width:"35%"}},"持续时长:",-1)),gAe={class:"config-item"},AAe=w_(()=>Y("div",{style:{width:"35%"}},"触发方式:",-1)),RAe={class:"config-item"},yAe=Fe({__name:"ElementAnimationPanel",setup(e){const t={};for(const C of zT)for(const F of C.children)t[F.value]=F.name;for(const C of jT)for(const F of C.children)t[F.value]=F.name;for(const C of $T)for(const F of C.children)t[F.value]=F.name;const n=["in","out","attention"],r=ct(),{handleElement:o,handleElementId:i}=Ee(ft()),{currentSlide:a,formatedAnimations:s,currentSlideAnimations:c}=Ee(r),l=[{key:"in",label:"入场",color:"#68a490"},{key:"out",label:"退场",color:"#d86344"},{key:"attention",label:"强调",color:"#e8b76a"}],u=me("in"),f=me(!1);Tt(()=>i.value,()=>{h.value=!1});const d=me(""),h=me(!1),{addHistorySnapshot:p}=Jt(),m=Se(()=>{const C=[];for(let F=0;F<s.value.length;F++){const I=s.value[F];for(let V=0;V<I.animations.length;V++){const B=I.animations[V],G=a.value.elements.find(Z=>Z.id===B.elId);if(!G)continue;const ne=z0[G.type],E=t[B.effect];C.push({...B,index:V===0?F+1:"",elType:ne,animationEffect:E})}}return C}),A=Se(()=>c.value.filter(I=>I.elId===i.value)||[]),x=C=>{const F=c.value.filter(I=>I.id!==C);r.updateSlide({animations:F}),p()},R=C=>{const{newIndex:F,oldIndex:I}=C;if(F===void 0||I===void 0||F===I)return;const V=JSON.parse(JSON.stringify(c.value)),B=V[I];V.splice(I,1),V.splice(F,0,B),r.updateSlide({animations:V}),p()},y=(C,F,I)=>{const V=document.querySelector(`#editable-element-${C} [class^=editable-element-]`);if(V){const B=`${bi}${F}`;document.documentElement.style.setProperty("--animate-duration",`${I}ms`),V.classList.add(`${bi}animated`,B);const G=()=>{document.documentElement.style.removeProperty("--animate-duration"),V.classList.remove(`${bi}animated`,B)};V.addEventListener("animationend",G,{once:!0})}},g=async()=>{f.value=!f.value;for(let C=0;C<m.value.length&&f.value;C++){const F=m.value[C];F.index!==1&&F.trigger!=="meantime"&&await new Promise(I=>setTimeout(I,F.duration+100)),y(F.elId,F.effect,F.duration),C>=m.value.length-1&&(f.value=!1)}},S=(C,F)=>{if(F<100||F>5e3)return;const I=c.value.map(V=>V.id===C?{...V,duration:F}:V);r.updateSlide({animations:I}),p()},L=(C,F)=>{const I=c.value.map(V=>V.id===C?{...V,trigger:F}:V);r.updateSlide({animations:I}),p()},T=(C,F)=>{const I=c.value.map(G=>G.id===M.value?{...G,type:C,effect:F}:G);r.updateSlide({animations:I}),h.value=!1,p();const V=c.value.find(G=>G.elId===i.value),B=(V==null?void 0:V.duration)||s4;setTimeout(()=>{y(i.value,F,B)},0)},M=me(""),O=(C,F)=>{if(M.value){T(C,F);return}const I=JSON.parse(JSON.stringify(c.value));I.push({id:yn(10),elId:i.value,type:C,effect:F,duration:s4,trigger:nAe}),r.updateSlide({animations:I}),h.value=!1,p(),setTimeout(()=>{y(i.value,F,s4)},0)},k=me(!1),_=C=>{C?setTimeout(()=>k.value=!0,600):k.value=!1},N=C=>{h.value=!0,M.value=C,_(!0)},X={in:zT,out:jT,attention:$T};return(C,F)=>{const I=xe("IconEffects"),V=xe("IconClick"),B=xe("IconPlayOne"),G=xe("IconCloseSmall"),ne=Ln("tooltip");return Q(),ee("div",rAe,[H(o)?(Q(),ee("div",oAe,[w(kt,{trigger:"click",value:h.value,"onUpdate:value":[F[3]||(F[3]=E=>h.value=E),F[4]||(F[4]=E=>_(E))],style:{width:"100%"}},{content:re(()=>[w(As,{tabs:l,value:u.value,"onUpdate:value":F[0]||(F[0]=E=>u.value=E),tabsStyle:{marginBottom:"20px"},tabStyle:{width:"33.333%"},spaceAround:""},null,8,["value"]),(Q(),ee(Ve,null,st(n,E=>(Q(),ee(Ve,null,[u.value===E?(Q(),ee("div",{class:$e(["animation-pool",E]),key:E},[(Q(!0),ee(Ve,null,st(X[E],Z=>(Q(),ee("div",{class:"pool-type",key:Z.name},[Y("div",iAe,bt(Z.name)+"",1),Y("div",aAe,[(Q(!0),ee(Ve,null,st(Z.children,K=>(Q(),ee("div",{class:"pool-item",key:K.name,onMouseenter:U=>d.value=K.value,onMouseleave:F[1]||(F[1]=U=>d.value=""),onClick:U=>O(E,K.value)},[Y("div",{class:$e(["animation-box",[`${H(bi)}animated`,`${H(bi)}fast`,d.value===K.value&&`${H(bi)}${K.value}`]])},bt(K.name),3)],40,sAe))),128))])]))),128)),k.value?Be("",!0):(Q(),ee("div",lAe))],2)):Be("",!0)],64))),64))]),default:re(()=>[w(nt,{class:"element-animation-btn",onClick:F[2]||(F[2]=E=>M.value="")},{default:re(()=>[w(I,{style:{"margin-right":"5px"}}),Ye(" 添加动画 ")]),_:1})]),_:1},8,["value"])])):(Q(),ee("div",cAe,[w(V,{style:{"margin-right":"5px"}}),Ye(" 选中画布中的元素添加动画")])),w(Vt),w(H(k5),{class:"animation-sequence",modelValue:m.value,animation:200,scroll:!0,scrollSensitivity:50,handle:".sequence-content",itemKey:"id",onEnd:R},{item:re(({element:E})=>{var Z,K;return[Y("div",{class:$e(["sequence-item",[E.type,{active:((Z=H(o))==null?void 0:Z.id)===E.elId}]])},[Y("div",uAe,[Y("div",fAe,bt(E.index),1),Y("div",dAe,"【"+bt(E.elType)+"】"+bt(E.animationEffect),1),Y("div",hAe,[Ze(w(B,{class:"handler-btn",onClick:U=>y(E.elId,E.effect,E.duration)},null,8,["onClick"]),[[ne,"预览"]]),Ze(w(G,{class:"handler-btn",onClick:U=>x(E.id)},null,8,["onClick"]),[[ne,"删除"]])])]),((K=A.value[0])==null?void 0:K.elId)===E.elId?(Q(),ee("div",pAe,[w(Vt,{style:{margin:"16px 0"}}),Y("div",mAe,[vAe,w(Li,{min:500,max:3e3,step:500,value:E.duration,"onUpdate:value":U=>S(E.id,U),style:{width:"65%"}},null,8,["value","onUpdate:value"])]),Y("div",gAe,[AAe,w(Zn,{value:E.trigger,"onUpdate:value":U=>L(E.id,U),style:{width:"65%"},options:[{label:"主动触发",value:"click"},{label:"与上一动画同时",value:"meantime"},{label:"上一动画之后",value:"auto"}]},null,8,["value","onUpdate:value"])]),Y("div",RAe,[w(nt,{style:{width:"100%"},onClick:U=>N(E.id)},{default:re(()=>[Ye("更换动画")]),_:2},1032,["onClick"])])])):Be("",!0)],2)]}),_:1},8,["modelValue"]),m.value.length>=2?(Q(),ee(Ve,{key:2},[w(Vt),w(nt,{onClick:F[5]||(F[5]=E=>g())},{default:re(()=>[Ye(bt(f.value?"停止预览":"预览全部"),1)]),_:1})],64)):Be("",!0)])}}}),xAe=We(yAe,[["__scopeId","data-v-bf835335"]]),bAe=[{background:"#ffffff",fontColor:"#333333",fontname:"Microsoft Yahei",colors:["#5b9bd5","#ed7d31","#a5a5a5","#ffc000","#4472c4","#70ad47"]},{background:"#ffffff",fontColor:"#333333",fontname:"Microsoft Yahei",colors:["#83992a","#3c9670","#44709d","#a23b32","#d87728","#deb340"]},{background:"#ffffff",fontColor:"#333333",fontname:"Microsoft Yahei",colors:["#e48312","#bd582c","#865640","#9b8357","#c2bc80","#94a088"]},{background:"#ffffff",fontColor:"#333333",fontname:"Microsoft Yahei",colors:["#bdc8df","#003fa9","#f5ba00","#ff7567","#7676d9","#923ffc"]},{background:"#ffffff",fontColor:"#333333",fontname:"Microsoft Yahei",colors:["#90c225","#54a121","#e6b91e","#e86618","#c42f19","#918756"]},{background:"#ffffff",fontColor:"#333333",fontname:"Microsoft Yahei",colors:["#1cade4","#2683c6","#27ced7","#42ba97","#3e8853","#62a39f"]},{background:"#e9efd6",fontColor:"#333333",fontname:"Microsoft Yahei",colors:["#a5300f","#de7e18","#9f8351","#728653","#92aa4c","#6aac91"]},{background:"#17444e",fontColor:"#ffffff",fontname:"Microsoft Yahei",colors:["#b01513","#ea6312","#e6b729","#6bab90","#55839a","#9e5d9d"]},{background:"#36234d",fontColor:"#ffffff",fontname:"Microsoft Yahei",colors:["#b31166","#e33d6f","#e45f3c","#e9943a","#9b6bf2","#d63cd0"]},{background:"#247fad",fontColor:"#ffffff",fontname:"Microsoft Yahei",colors:["#052f61","#a50e82","#14967c","#6a9e1f","#e87d37","#c62324"]},{background:"#103f55",fontColor:"#ffffff",fontname:"Microsoft Yahei",colors:["#40aebd","#97e8d5","#a1cf49","#628f3e","#f2df3a","#fcb01c"]},{background:"#242367",fontColor:"#ffffff",fontname:"Microsoft Yahei",colors:["#ac3ec1","#477bd1","#46b298","#90ba4c","#dd9d31","#e25345"]},{background:"#e4b75e",fontColor:"#333333",fontname:"Microsoft Yahei",colors:["#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529"]},{background:"#333333",fontColor:"#ffffff",fontname:"Microsoft Yahei",colors:["#bdc8df","#003fa9","#f5ba00","#ff7567","#7676d9","#923ffc"]}],SAe=()=>{const e=ct(),{slides:t,currentSlide:n,theme:r}=Ee(e),{addHistorySnapshot:o}=Jt(),i=f=>{const d=[];for(const h of f.elements){if(h.type==="shape"&&ot(h.fill).getAlpha()!==0){const p=ot(h.fill).toRgbString();d.includes(p)||d.push(p)}if(h.type==="text"&&h.fill&&ot(h.fill).getAlpha()!==0){const p=ot(h.fill).toRgbString();d.includes(p)||d.push(p)}if(h.type==="table"&&h.theme&&ot(h.theme.color).getAlpha()!==0){const p=ot(h.theme.color).toRgbString();d.includes(p)||d.push(p)}if(h.type==="chart"&&h.fill&&ot(h.fill).getAlpha()!==0){const p=ot(h.fill).toRgbString();d.includes(p)||d.push(p)}if(h.type==="line"&&ot(h.color).getAlpha()!==0){const p=ot(h.color).toRgbString();d.includes(p)||d.push(p)}if(h.type==="audio"&&ot(h.color).getAlpha()!==0){const p=ot(h.color).toRgbString();d.includes(p)||d.push(p)}}return d},a=(f,d)=>{const h=i(f),p={};if(h.length>d.length){const A=ot(d[0]).analogous(h.length-d.length+10).map(x=>x.toHexString()).slice(1);d.push(...A)}for(let m=0;m<h.length;m++)p[h[m]]=d[m];return p},s=(f,d)=>{const h=a(f,d.colors);(!f.background||f.background.type!=="image")&&(f.background={type:"solid",color:d.background});for(const p of f.elements){if(p.type==="shape"&&(p.fill=h[ot(p.fill).toRgbString()]||p.fill,p.gradient&&delete p.gradient),p.type==="text"&&(p.fill&&(p.fill=h[ot(p.fill).toRgbString()]||p.fill),p.defaultColor=d.fontColor,p.defaultFontName=d.fontname),p.type==="table"){p.theme&&(p.theme.color=h[ot(p.theme.color).toRgbString()]||p.theme.color);for(const m of p.data)for(const A of m)A.style&&(A.style.color=d.fontColor,A.style.fontname=d.fontname)}p.type==="chart"&&(p.themeColor=[h[ot(p.themeColor[0]).toRgbString()]],p.gridColor=d.fontColor),p.type==="line"&&(p.color=h[ot(p.color).toRgbString()]||p.color),p.type==="audio"&&(p.color=h[ot(p.color).toRgbString()]||p.color),p.type==="latex"&&(p.color=d.fontColor)}};return{applyPresetThemeToSingleSlide:f=>{const d=JSON.parse(JSON.stringify(n.value));s(d,f),e.updateSlide({background:d.background,elements:d.elements}),o()},applyPresetThemeToAllSlides:f=>{const d=JSON.parse(JSON.stringify(t.value));for(const h of d)s(h,f);e.setTheme({backgroundColor:f.background,themeColor:f.colors[0],fontColor:f.fontColor,fontName:f.fontname}),e.setSlides(d),o()},applyThemeToAllSlides:(f=!1)=>{const d=JSON.parse(JSON.stringify(t.value)),{themeColor:h,backgroundColor:p,fontColor:m,fontName:A,outline:x,shadow:R}=r.value;for(const y of d){(!y.background||y.background.type!=="image")&&(y.background={type:"solid",color:p});for(const g of y.elements)if(f&&("outline"in g&&g.outline&&(g.outline=x),"shadow"in g&&g.shadow&&(g.shadow=R)),g.type==="shape")g.fill=h;else if(g.type==="line")g.color=h;else if(g.type==="text")g.defaultColor=m,g.defaultFontName=A,g.fill&&(g.fill=h);else if(g.type==="table"){g.theme&&(g.theme.color=h);for(const S of g.data)for(const L of S)L.style&&(L.style.color=m,L.style.fontname=A)}else g.type==="chart"?(g.themeColor=[h],g.gridColor=m):g.type==="latex"?g.color=m:g.type==="audio"&&(g.color=h)}e.setSlides(d),o()}}},Ir=e=>(on("data-v-04b174a8"),e=e(),an(),e),MAe={class:"slide-design-panel"},wAe=Ir(()=>Y("div",{class:"title"},"背景填充",-1)),LAe={class:"row"},OAe=Ir(()=>Y("div",{style:{width:"10px"}},null,-1)),TAe={key:0,class:"background-image-wrapper"},kAe={class:"background-image"},NAe={key:1,class:"background-gradient-wrapper"},PAe={class:"row"},CAe=Ir(()=>Y("div",{style:{width:"40%"}},"起点颜色:",-1)),IAe={class:"row"},FAe=Ir(()=>Y("div",{style:{width:"40%"}},"终点颜色:",-1)),_Ae={key:0,class:"row"},XAe=Ir(()=>Y("div",{style:{width:"40%"}},"渐变角度:",-1)),EAe={class:"row"},WAe={class:"row"},VAe=Ir(()=>Y("div",{style:{width:"40%"}},"画布尺寸:",-1)),UAe={class:"title"},YAe=Ir(()=>Y("span",null,"全局主题",-1)),QAe=Ir(()=>Y("span",{class:"text"},"更多",-1)),ZAe={class:"row"},BAe=Ir(()=>Y("div",{style:{width:"40%"}},"字体:",-1)),DAe={class:"row"},KAe=Ir(()=>Y("div",{style:{width:"40%"}},"字体颜色:",-1)),HAe={class:"row"},GAe=Ir(()=>Y("div",{style:{width:"40%"}},"背景颜色:",-1)),JAe={class:"row"},zAe=Ir(()=>Y("div",{style:{width:"40%"}},"主题色:",-1)),jAe={class:"row"},$Ae=Ir(()=>Y("div",{style:{width:"40%"}},"边框样式:",-1)),qAe={class:"row"},eRe=Ir(()=>Y("div",{style:{width:"40%"}},"边框颜色:",-1)),tRe={class:"row"},nRe=Ir(()=>Y("div",{style:{width:"40%"}},"边框粗细:",-1)),rRe={class:"row",style:{height:"30px"}},oRe=Ir(()=>Y("div",{style:{width:"40%"}},"水平阴影:",-1)),iRe={class:"row",style:{height:"30px"}},aRe=Ir(()=>Y("div",{style:{width:"40%"}},"垂直阴影:",-1)),sRe={class:"row",style:{height:"30px"}},lRe=Ir(()=>Y("div",{style:{width:"40%"}},"模糊距离:",-1)),cRe={class:"row"},uRe=Ir(()=>Y("div",{style:{width:"40%"}},"阴影颜色:",-1)),fRe={class:"row"},dRe=Ir(()=>Y("div",{class:"title"},"预置主题",-1)),hRe={class:"theme-list"},pRe={class:"theme-item-content"},mRe={class:"colors"},vRe={class:"btns"},gRe=["onClick"],ARe=["onClick"],RRe=Fe({__name:"SlideDesignPanel",setup(e){const t=ct(),{availableFonts:n}=Ee(ft()),{slides:r,currentSlide:o,viewportRatio:i,theme:a}=Ee(t),s=me(!1),c=Se(()=>o.value.background?o.value.background:{type:"solid",value:"#fff"}),{addHistorySnapshot:l}=Jt(),{applyPresetThemeToSingleSlide:u,applyPresetThemeToAllSlides:f,applyThemeToAllSlides:d}=SAe(),h=y=>{if(y==="solid"){const g={...c.value,type:"solid",color:c.value.color||"#fff"};t.updateSlide({background:g})}else if(y==="image"){const g={...c.value,type:"image",image:c.value.image||"",imageSize:c.value.imageSize||"cover"};t.updateSlide({background:g})}else{const g={...c.value,type:"gradient",gradientType:c.value.gradientType||"linear",gradientColor:c.value.gradientColor||["#fff","#fff"],gradientRotate:c.value.gradientRotate||0};t.updateSlide({background:g})}l()},p=y=>{t.updateSlide({background:{...c.value,...y}}),l()},m=y=>{const g=y[0];g&&Ju(g).then(S=>p({image:S}))},A=()=>{const y=r.value.map(g=>({...g,background:o.value.background}));t.setSlides(y),l()},x=y=>{t.setTheme(y)},R=y=>{t.setViewportRatio(y)};return(y,g)=>{const S=xe("IconPlus"),L=xe("IconDown"),T=xe("IconRight");return Q(),ee("div",MAe,[wAe,Y("div",LAe,[w(Zn,{style:{flex:"1"},value:c.value.type,"onUpdate:value":g[0]||(g[0]=M=>h(M)),options:[{label:"纯色填充",value:"solid"},{label:"图片填充",value:"image"},{label:"渐变填充",value:"gradient"}]},null,8,["value"]),OAe,c.value.type==="solid"?(Q(),Oe(kt,{key:0,trigger:"click",style:{flex:"1"}},{content:re(()=>[w(Mn,{modelValue:c.value.color,"onUpdate:modelValue":g[1]||(g[1]=M=>p({color:M}))},null,8,["modelValue"])]),default:re(()=>[w(ir,{color:c.value.color||"#fff"},null,8,["color"])]),_:1})):c.value.type==="image"?(Q(),Oe(Zn,{key:1,style:{flex:"1"},value:c.value.imageSize||"cover","onUpdate:value":g[2]||(g[2]=M=>p({imageSize:M})),options:[{label:"缩放",value:"contain"},{label:"拼贴",value:"repeat"},{label:"缩放铺满",value:"cover"}]},null,8,["value"])):(Q(),Oe(Zn,{key:2,style:{flex:"1"},value:c.value.gradientType||"","onUpdate:value":g[3]||(g[3]=M=>p({gradientType:M})),options:[{label:"线性渐变",value:"linear"},{label:"径向渐变",value:"radial"}]},null,8,["value"]))]),c.value.type==="image"?(Q(),ee("div",TAe,[w(Xu,{onChange:g[4]||(g[4]=M=>m(M))},{default:re(()=>[Y("div",kAe,[Y("div",{class:"content",style:we({backgroundImage:`url(${c.value.image})`})},[w(S)],4)])]),_:1})])):Be("",!0),c.value.type==="gradient"?(Q(),ee("div",NAe,[Y("div",PAe,[CAe,w(kt,{trigger:"click",style:{width:"60%"}},{content:re(()=>[w(Mn,{modelValue:c.value.gradientColor[0],"onUpdate:modelValue":g[5]||(g[5]=M=>p({gradientColor:[M,c.value.gradientColor[1]]}))},null,8,["modelValue"])]),default:re(()=>[w(ir,{color:c.value.gradientColor[0]},null,8,["color"])]),_:1})]),Y("div",IAe,[FAe,w(kt,{trigger:"click",style:{width:"60%"}},{content:re(()=>[w(Mn,{modelValue:c.value.gradientColor[1],"onUpdate:modelValue":g[6]||(g[6]=M=>p({gradientColor:[c.value.gradientColor[0],M]}))},null,8,["modelValue"])]),default:re(()=>[w(ir,{color:c.value.gradientColor[1]},null,8,["color"])]),_:1})]),c.value.gradientType==="linear"?(Q(),ee("div",_Ae,[XAe,w(no,{min:0,max:360,step:15,value:c.value.gradientRotate||0,"onUpdate:value":g[7]||(g[7]=M=>p({gradientRotate:M})),style:{width:"60%"}},null,8,["value"])])):Be("",!0)])):Be("",!0),Y("div",EAe,[w(nt,{style:{flex:"1"},onClick:g[8]||(g[8]=M=>A())},{default:re(()=>[Ye("应用背景到全部")]),_:1})]),w(Vt),Y("div",WAe,[VAe,w(Zn,{style:{width:"60%"},value:H(i),"onUpdate:value":g[9]||(g[9]=M=>R(M)),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"])]),w(Vt),Y("div",UAe,[YAe,Y("span",{class:"more",onClick:g[10]||(g[10]=M=>s.value=!s.value)},[QAe,s.value?(Q(),Oe(L,{key:0})):(Q(),Oe(T,{key:1}))])]),Y("div",ZAe,[BAe,w(Zn,{style:{width:"60%"},value:H(a).fontName,"onUpdate:value":g[11]||(g[11]=M=>x({fontName:M})),options:[...H(n),...H(bp)]},null,8,["value","options"])]),Y("div",DAe,[KAe,w(kt,{trigger:"click",style:{width:"60%"}},{content:re(()=>[w(Mn,{modelValue:H(a).fontColor,"onUpdate:modelValue":g[12]||(g[12]=M=>x({fontColor:M}))},null,8,["modelValue"])]),default:re(()=>[w(ir,{color:H(a).fontColor},null,8,["color"])]),_:1})]),Y("div",HAe,[GAe,w(kt,{trigger:"click",style:{width:"60%"}},{content:re(()=>[w(Mn,{modelValue:H(a).backgroundColor,"onUpdate:modelValue":g[13]||(g[13]=M=>x({backgroundColor:M}))},null,8,["modelValue"])]),default:re(()=>[w(ir,{color:H(a).backgroundColor},null,8,["color"])]),_:1})]),Y("div",JAe,[zAe,w(kt,{trigger:"click",style:{width:"60%"}},{content:re(()=>[w(Mn,{modelValue:H(a).themeColor,"onUpdate:modelValue":g[14]||(g[14]=M=>x({themeColor:M}))},null,8,["modelValue"])]),default:re(()=>[w(ir,{color:H(a).themeColor},null,8,["color"])]),_:1})]),s.value?(Q(),ee(Ve,{key:2},[Y("div",jAe,[$Ae,w(Zn,{style:{width:"60%"},value:H(a).outline.style||"","onUpdate:value":g[15]||(g[15]=M=>x({outline:{...H(a).outline,style:M}})),options:[{label:"实线边框",value:"solid"},{label:"虚线边框",value:"dashed"}]},null,8,["value"])]),Y("div",qAe,[eRe,w(kt,{trigger:"click",style:{width:"60%"}},{content:re(()=>[w(Mn,{modelValue:H(a).outline.color,"onUpdate:modelValue":g[16]||(g[16]=M=>x({outline:{...H(a).outline,color:M}}))},null,8,["modelValue"])]),default:re(()=>[w(ir,{color:H(a).outline.color||"#000"},null,8,["color"])]),_:1})]),Y("div",tRe,[nRe,w(Li,{value:H(a).outline.width||0,"onUpdate:value":g[17]||(g[17]=M=>x({outline:{...H(a).outline,width:M}})),style:{width:"60%"}},null,8,["value"])]),Y("div",rRe,[oRe,w(no,{style:{width:"60%"},min:-10,max:10,step:1,value:H(a).shadow.h,"onUpdate:value":g[18]||(g[18]=M=>x({shadow:{...H(a).shadow,h:M}}))},null,8,["value"])]),Y("div",iRe,[aRe,w(no,{style:{width:"60%"},min:-10,max:10,step:1,value:H(a).shadow.v,"onUpdate:value":g[19]||(g[19]=M=>x({shadow:{...H(a).shadow,v:M}}))},null,8,["value"])]),Y("div",sRe,[lRe,w(no,{style:{width:"60%"},min:1,max:20,step:1,value:H(a).shadow.blur,"onUpdate:value":g[20]||(g[20]=M=>x({shadow:{...H(a).shadow,blur:M}}))},null,8,["value"])]),Y("div",cRe,[uRe,w(kt,{trigger:"click",style:{width:"60%"}},{content:re(()=>[w(Mn,{modelValue:H(a).shadow.color,"onUpdate:modelValue":g[21]||(g[21]=M=>x({shadow:{...H(a).shadow,color:M}}))},null,8,["modelValue"])]),default:re(()=>[w(ir,{color:H(a).shadow.color},null,8,["color"])]),_:1})])],64)):Be("",!0),Y("div",fRe,[w(nt,{style:{flex:"1"},onClick:g[22]||(g[22]=M=>H(d)(s.value))},{default:re(()=>[Ye("应用主题到全部")]),_:1})]),w(Vt),dRe,Y("div",hRe,[(Q(!0),ee(Ve,null,st(H(bAe),(M,O)=>(Q(),ee("div",{class:"theme-item",key:O,style:we({backgroundColor:M.background,fontFamily:M.fontname})},[Y("div",pRe,[Y("div",{class:"text",style:we({color:M.fontColor})},"文字 Aa",4),Y("div",mRe,[(Q(!0),ee(Ve,null,st(M.colors,(k,_)=>(Q(),ee("div",{class:"color-block",key:_,style:we({backgroundColor:k})},null,4))),128))]),Y("div",vRe,[Y("div",{class:"btn",onClick:k=>H(u)(M)},"应用",8,gRe),Y("div",{class:"btn",onClick:k=>H(f)(M)},"应用全局",8,ARe)])])],4))),128))])])}}}),yRe=We(RRe,[["__scopeId","data-v-04b174a8"]]),xRe={class:"slide-animation-panel"},bRe={class:"animation-pool"},SRe=["onClick"],MRe={class:"animation-text"},wRe=Fe({__name:"SlideAnimationPanel",setup(e){const t=ct(),{slides:n,currentSlide:r}=Ee(t),o=Se(()=>r.value.turningMode||"slideY"),i=M_,{addHistorySnapshot:a}=Jt(),s=l=>{l!==o.value&&(t.updateSlide({turningMode:l}),a())},c=()=>{const l=n.value.map(u=>({...u,turningMode:r.value.turningMode}));t.setSlides(l),wn.success("已应用到全部"),a()};return(l,u)=>(Q(),ee("div",xRe,[Y("div",bRe,[(Q(!0),ee(Ve,null,st(H(i),f=>(Q(),ee("div",{class:$e(["animation-item",{active:o.value===f.value}]),key:f.label,onClick:d=>s(f.value)},[Y("div",{class:$e(["animation-block",f.value])},null,2),Y("div",MRe,bt(f.label),1)],10,SRe))),128))]),w(nt,{style:{width:"100%"},onClick:u[0]||(u[0]=f=>c())},{default:re(()=>[Ye("应用到全部")]),_:1})]))}}),LRe=We(wRe,[["__scopeId","data-v-ae84c3f4"]]),ORe=()=>{const e=ct(),{activeElementIdList:t,activeElementList:n}=Ee(ft()),{currentSlide:r}=Ee(e),{addHistorySnapshot:o}=Jt();return{alignActiveElement:a=>{const{minX:s,maxX:c,minY:l,maxY:u}=ec(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(m=>m.groupId===h.groupId);d[h.groupId]=ec(p)}if(a===nn.LEFT)f.forEach(h=>{if(t.value.includes(h.id))if(h.groupId){const m=d[h.groupId].minX-s;h.left=h.left-m}else if("rotate"in h&&h.rotate){const{offsetX:p}=Gf({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===nn.RIGHT)f.forEach(h=>{if(t.value.includes(h.id))if(h.groupId){const m=d[h.groupId].maxX-c;h.left=h.left-m}else{const p=h.type==="line"?Math.max(h.start[0],h.end[0]):h.width;if("rotate"in h&&h.rotate){const{offsetX:m}=Gf({left:h.left,top:h.top,width:h.width,height:h.height,rotate:h.rotate});h.left=c-p+m}else h.left=c-p}});else if(a===nn.TOP)f.forEach(h=>{if(t.value.includes(h.id))if(h.groupId){const m=d[h.groupId].minY-l;h.top=h.top-m}else if("rotate"in h&&h.rotate){const{offsetY:p}=Gf({left:h.left,top:h.top,width:h.width,height:h.height,rotate:h.rotate});h.top=l-p}else h.top=l});else if(a===nn.BOTTOM)f.forEach(h=>{if(t.value.includes(h.id))if(h.groupId){const m=d[h.groupId].maxY-u;h.top=h.top-m}else{const p=h.type==="line"?Math.max(h.start[1],h.end[1]):h.height;if("rotate"in h&&h.rotate){const{offsetY:m}=Gf({left:h.left,top:h.top,width:h.width,height:h.height,rotate:h.rotate});h.top=u-p+m}else h.top=u-p}});else if(a===nn.HORIZONTAL){const h=(s+c)/2;f.forEach(p=>{if(t.value.includes(p.id))if(p.groupId){const m=d[p.groupId],x=(m.maxX+m.minX)/2-h;p.left=p.left-x}else{const m=p.type==="line"?Math.max(p.start[0],p.end[0]):p.width;p.left=h-m/2}})}else if(a===nn.VERTICAL){const h=(l+u)/2;f.forEach(p=>{if(t.value.includes(p.id))if(p.groupId){const m=d[p.groupId],x=(m.maxY+m.minY)/2-h;p.top=p.top-x}else{const m=p.type==="line"?Math.max(p.start[1],p.end[1]):p.height;p.top=h-m/2}})}e.updateSlide({elements:f}),o()}}},TRe=()=>{const e=ct(),{activeElementIdList:t,activeElementList:n}=Ee(ft()),{currentSlide:r}=Ee(e),{addHistorySnapshot:o}=Jt();return{displayItemCount:Se(()=>{let c=0;const l=[];for(const u of n.value)u.groupId?l.includes(u.groupId)||(l.push(u.groupId),c+=1):c+=1;return c}),uniformHorizontalDisplay:()=>{const{minX:c,maxX:l}=ec(n.value),u=JSON.parse(JSON.stringify(n.value)),f=JSON.parse(JSON.stringify(r.value.elements)),d=[];let h=[];for(const S of u)if(S.groupId)h.find(T=>T.groupId===S.groupId)?h=h.map(T=>T.groupId===S.groupId?{...T,els:[...T.els,S]}:T):h.push({groupId:S.groupId,els:[S]});else{const{minX:L,maxX:T}=Ma(S);d.push({min:L,max:T,el:S})}const p=[];for(const S of h){const{minX:L,maxX:T}=ec(S.els);p.push({min:L,max:T,els:S.els})}const m=[...d,...p];m.sort((S,L)=>S.min-L.min);let A=0;for(const S of m){const L=S.max-S.min;A+=L}const x=(l-c-A)/(m.length-1),R=[],y=m[0];let g={min:y.min,max:y.max};if("el"in y)R.push({pos:y.min,el:y.el});else for(const S of y.els){const{minX:L}=Ma(S);R.push({pos:L,el:S})}for(let S=1;S<m.length;S++){const L=m[S],T=g.max-g.min,M=g.min+T+x,O=L.max-L.min;if(g={min:M,max:M+O},"el"in L)R.push({pos:M,el:L.el});else for(const k of L.els){const{minX:_}=Ma(k),N=_-L.min;R.push({pos:M+N,el:k})}}for(const S of f)if(t.value.includes(S.id)){for(const L of R)if(L.el.id===S.id)if("rotate"in S&&S.rotate){const{offsetX:T}=Gf({left:S.left,top:S.top,width:S.width,height:S.height,rotate:S.rotate});S.left=L.pos-T}else S.left=L.pos}e.updateSlide({elements:f}),o()},uniformVerticalDisplay:()=>{const{minY:c,maxY:l}=ec(n.value),u=JSON.parse(JSON.stringify(n.value)),f=JSON.parse(JSON.stringify(r.value.elements)),d=[];let h=[];for(const S of u)if(S.groupId)h.find(T=>T.groupId===S.groupId)?h=h.map(T=>T.groupId===S.groupId?{...T,els:[...T.els,S]}:T):h.push({groupId:S.groupId,els:[S]});else{const{minY:L,maxY:T}=Ma(S);d.push({min:L,max:T,el:S})}const p=[];for(const S of h){const{minY:L,maxY:T}=ec(S.els);p.push({min:L,max:T,els:S.els})}const m=[...d,...p];m.sort((S,L)=>S.min-L.min);let A=0;for(const S of m){const L=S.max-S.min;A+=L}const x=(l-c-A)/(m.length-1),R=[],y=m[0];let g={min:y.min,max:y.max};if("el"in y)R.push({pos:y.min,el:y.el});else for(const S of y.els){const{minY:L}=Ma(S);R.push({pos:L,el:S})}for(let S=1;S<m.length;S++){const L=m[S],T=g.max-g.min,M=g.min+T+x,O=L.max-L.min;if(g={min:M,max:M+O},"el"in L)R.push({pos:M,el:L.el});else for(const k of L.els){const{minY:_}=Ma(k),N=_-L.min;R.push({pos:M+N,el:k})}}for(const S of f)if(t.value.includes(S.id)){for(const L of R)if(L.el.id===S.id)if("rotate"in S&&S.rotate){const{offsetY:T}=Gf({left:S.left,top:S.top,width:S.width,height:S.height,rotate:S.rotate});S.top=L.pos-T}else S.top=L.pos}e.updateSlide({elements:f}),o()}}},kRe={class:"multi-position-panel"},NRe=Fe({__name:"MultiPositionPanel",setup(e){const{canCombine:t,combineElements:n,uncombineElements:r}=Nb(),{alignActiveElement:o}=ORe(),{alignElementToCanvas:i}=o2(),{displayItemCount:a,uniformHorizontalDisplay:s,uniformVerticalDisplay:c}=TRe(),l=u=>{t.value?o(u):i(u)};return(u,f)=>{const d=xe("IconAlignLeft"),h=xe("IconAlignHorizontally"),p=xe("IconAlignRight"),m=xe("IconAlignTop"),A=xe("IconAlignVertically"),x=xe("IconAlignBottom"),R=xe("IconGroup"),y=xe("IconUngroup"),g=Ln("tooltip");return Q(),ee("div",kRe,[w(xn,{class:"row"},{default:re(()=>[Ze((Q(),Oe(nt,{style:{flex:"1"},onClick:f[0]||(f[0]=S=>l(H(nn).LEFT))},{default:re(()=>[w(d)]),_:1})),[[g,"左对齐"]]),Ze((Q(),Oe(nt,{style:{flex:"1"},onClick:f[1]||(f[1]=S=>l(H(nn).HORIZONTAL))},{default:re(()=>[w(h)]),_:1})),[[g,"水平居中"]]),Ze((Q(),Oe(nt,{style:{flex:"1"},onClick:f[2]||(f[2]=S=>l(H(nn).RIGHT))},{default:re(()=>[w(p)]),_:1})),[[g,"右对齐"]])]),_:1}),w(xn,{class:"row"},{default:re(()=>[Ze((Q(),Oe(nt,{style:{flex:"1"},onClick:f[3]||(f[3]=S=>l(H(nn).TOP))},{default:re(()=>[w(m)]),_:1})),[[g,"上对齐"]]),Ze((Q(),Oe(nt,{style:{flex:"1"},onClick:f[4]||(f[4]=S=>l(H(nn).VERTICAL))},{default:re(()=>[w(A)]),_:1})),[[g,"垂直居中"]]),Ze((Q(),Oe(nt,{style:{flex:"1"},onClick:f[5]||(f[5]=S=>l(H(nn).BOTTOM))},{default:re(()=>[w(x)]),_:1})),[[g,"下对齐"]])]),_:1}),H(a)>2?(Q(),Oe(xn,{key:0,class:"row"},{default:re(()=>[w(nt,{style:{flex:"1"},onClick:f[6]||(f[6]=S=>H(s)())},{default:re(()=>[Ye("水平均匀分布")]),_:1}),w(nt,{style:{flex:"1"},onClick:f[7]||(f[7]=S=>H(c)())},{default:re(()=>[Ye("垂直均匀分布")]),_:1})]),_:1})):Be("",!0),w(Vt),w(xn,{class:"row"},{default:re(()=>[w(nt,{disabled:!H(t),onClick:f[8]||(f[8]=S=>H(n)()),style:{flex:"1"}},{default:re(()=>[w(R,{style:{"margin-right":"3px"}}),Ye("组合")]),_:1},8,["disabled"]),w(nt,{disabled:H(t),onClick:f[9]||(f[9]=S=>H(r)()),style:{flex:"1"}},{default:re(()=>[w(y,{style:{"margin-right":"3px"}}),Ye("取消组合")]),_:1},8,["disabled"])]),_:1})])}}}),PRe=We(NRe,[["__scopeId","data-v-d41009b1"]]),l4=[{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:["▢","▣","▤","▥","▦","▧","▨","▩","▭","▮","▯","▰","▱","▲","▷","▼","◁","◈","◉","◍","◐","◑","◒","◓","◔","◕","◧","◨","◩","◪","◫","◬","◭","◮"]}],CRe={class:"symbol-panel"},IRe={class:"pool"},FRe=["onClick"],_Re={class:"symbol"},XRe=Fe({__name:"SymbolPanel",setup(e){const t=me(l4[0].key),n=Se(()=>{const i=l4.find(a=>a.key===t.value);return(i==null?void 0:i.children)||[]}),r=l4.map(i=>({key:i.key,label:i.label})),o=i=>{Zr.emit(Wr.RICH_TEXT_COMMAND,{action:{command:"insert",value:i}})};return(i,a)=>(Q(),ee("div",CRe,[w(As,{tabs:H(r),value:t.value,"onUpdate:value":a[0]||(a[0]=s=>t.value=s),tabsStyle:{marginBottom:"8px"},spaceBetween:""},null,8,["tabs","value"]),Y("div",IRe,[(Q(!0),ee(Ve,null,st(n.value,(s,c)=>(Q(),ee("div",{class:"symbol-item",key:c,onClick:l=>o(s)},[Y("div",_Re,bt(s),1)],8,FRe))),128))])]))}}),ERe=We(XRe,[["__scopeId","data-v-0f662bb0"]]),WRe={class:"toolbar"},VRe={class:"content"},URe=Fe({__name:"index",setup(e){const t=ft(),{activeElementIdList:n,handleElement:r,toolbarState:o}=Ee(t),i=Se(()=>{var f;return((f=r.value)==null?void 0:f.type)==="text"?[{label:"样式",key:Sr.EL_STYLE},{label:"符号",key:Sr.SYMBOL},{label:"位置",key:Sr.EL_POSITION},{label:"动画",key:Sr.EL_ANIMATION}]:[{label:"样式",key:Sr.EL_STYLE},{label:"位置",key:Sr.EL_POSITION},{label:"动画",key:Sr.EL_ANIMATION}]}),a=[{label:"设计",key:Sr.SLIDE_DESIGN},{label:"切换",key:Sr.SLIDE_ANIMATION},{label:"动画",key:Sr.EL_ANIMATION}],s=[{label:"样式",key:Sr.EL_STYLE},{label:"位置",key:Sr.MULTI_POSITION}],c=f=>{t.setToolbarState(f)},l=Se(()=>{if(n.value.length){if(n.value.length>1)return s}else return a;return i.value});Tt(l,()=>{const f=l.value.map(d=>d.key);f.includes(o.value)||t.setToolbarState(f[0])});const u=Se(()=>({[Sr.EL_STYLE]:B2e,[Sr.EL_POSITION]:tAe,[Sr.EL_ANIMATION]:xAe,[Sr.SLIDE_DESIGN]:yRe,[Sr.SLIDE_ANIMATION]:LRe,[Sr.MULTI_POSITION]:PRe,[Sr.SYMBOL]:ERe})[o.value]||null);return(f,d)=>(Q(),ee("div",WRe,[w(As,{tabs:l.value,value:H(o),card:"","onUpdate:value":d[0]||(d[0]=h=>c(h))},null,8,["tabs","value"]),Y("div",VRe,[(Q(),Oe(xs(u.value)))])]))}}),YRe=We(URe,[["__scopeId","data-v-83fff59a"]]),QRe={class:"editor"},ZRe=Fe({__name:"Editor",props:{value:{}},emits:["update"],setup(e,{expose:t,emit:n}){const r=e,o=n,i=ft(),a=me();let s;const c=me(),l=me(),u=me(),f=()=>{l.value&&l.value.hide()},d=_n.debounce(function(){o("update",s.dom.innerHTML)},300,{trailing:!0}),h=()=>{i.setDisableHotkeysState(!0)},p=()=>{i.setDisableHotkeysState(!1)};t({updateTextContent:()=>{if(!s)return;const{doc:R,tr:y}=s.state;s.dispatch(y.replaceRangeWith(0,R.content.size,v5(r.value)))}});const A=()=>{const R=window.getSelection();if(!R||!R.anchorNode||!R.focusNode||R.isCollapsed||R.type==="Caret"||R.type==="None")return;const y=R.getRangeAt(0);if(l.value){c.value=Y4(s);const{x:g,y:S,left:L,top:T}=y.getBoundingClientRect();l.value.setProps({getReferenceClientRect:()=>({x:g,y:S,left:L,top:T,height:0,width:0,right:L,bottom:T})}),l.value.show()}},x=(R,y)=>{if(R==="color"&&y){const g=s.state.schema.marks.forecolor.create({color:y});Xr(s),Ka(s,g)}else if(R==="backcolor"&&y){const g=s.state.schema.marks.backcolor.create({backcolor:y});Xr(s),Ka(s,g)}else if(R==="bold")Xr(s),kr(s.state.schema.marks.strong)(s.state,s.dispatch);else if(R==="em")Xr(s),kr(s.state.schema.marks.em)(s.state,s.dispatch);else if(R==="underline")Xr(s),kr(s.state.schema.marks.underline)(s.state,s.dispatch);else if(R==="strikethrough")Xr(s),kr(s.state.schema.marks.strikethrough)(s.state,s.dispatch);else if(R==="bulletList"){const{bullet_list:g,list_item:S}=s.state.schema.nodes;sg(g,S,"")(s.state,s.dispatch)}else if(R==="orderedList"){const{ordered_list:g,list_item:S}=s.state.schema.nodes;sg(g,S,"")(s.state,s.dispatch)}else if(R==="clear"){Xr(s);const{$from:g,$to:S}=s.state.selection;s.dispatch(s.state.tr.removeMark(g.pos,S.pos))}s.focus(),d(),c.value=Y4(s)};return Gt(()=>{s=sF(a.value,r.value,{handleDOMEvents:{focus:h,blur:p,mouseup:A,mousedown:()=>{var R;(R=window.getSelection())==null||R.removeAllRanges(),f()},keydown:f,input:d}},{placeholder:"点击输入演讲者备注"}),l.value=ef(a.value,{duration:0,content:u.value,interactive:!0,trigger:"manual",placement:"top-start",hideOnClick:"toggle",offset:[0,6]})}),Tn(()=>{s&&s.destroy()}),(R,y)=>{var C,F,I,V,B,G;const g=xe("IconTextBold"),S=xe("IconTextItalic"),L=xe("IconTextUnderline"),T=xe("IconStrikethrough"),M=xe("IconText"),O=xe("IconHighLight"),k=xe("IconList"),_=xe("IconOrderedList"),N=xe("IconFormat"),X=Ln("click-outside");return Ze((Q(),ee("div",QRe,[Y("div",{class:"prosemirror-editor",ref_key:"editorViewRef",ref:a},null,512),Y("div",{class:"menu",ref_key:"menuRef",ref:u},[Y("button",{class:$e({active:(C=c.value)==null?void 0:C.bold}),onClick:y[0]||(y[0]=ne=>x("bold"))},[w(g)],2),Y("button",{class:$e({active:(F=c.value)==null?void 0:F.em}),onClick:y[1]||(y[1]=ne=>x("em"))},[w(S)],2),Y("button",{class:$e({active:(I=c.value)==null?void 0:I.underline}),onClick:y[2]||(y[2]=ne=>x("underline"))},[w(L)],2),Y("button",{class:$e({active:(V=c.value)==null?void 0:V.strikethrough}),onClick:y[3]||(y[3]=ne=>x("strikethrough"))},[w(T)],2),w(kt,{trigger:"click",style:{width:"30%"}},{content:re(()=>{var ne;return[w(Mn,{modelValue:(ne=c.value)==null?void 0:ne.color,"onUpdate:modelValue":y[4]||(y[4]=E=>x("color",E))},null,8,["modelValue"])]}),default:re(()=>[Y("button",null,[w(M)])]),_:1}),w(kt,{trigger:"click",style:{width:"30%"}},{content:re(()=>{var ne;return[w(Mn,{modelValue:(ne=c.value)==null?void 0:ne.backcolor,"onUpdate:modelValue":y[5]||(y[5]=E=>x("backcolor",E))},null,8,["modelValue"])]}),default:re(()=>[Y("button",null,[w(O)])]),_:1}),Y("button",{class:$e({active:(B=c.value)==null?void 0:B.bulletList}),onClick:y[6]||(y[6]=ne=>x("bulletList"))},[w(k)],2),Y("button",{class:$e({active:(G=c.value)==null?void 0:G.orderedList}),onClick:y[7]||(y[7]=ne=>x("orderedList"))},[w(_)],2),Y("button",{onClick:y[8]||(y[8]=ne=>x("clear"))},[w(N)])],512)])),[[X,f]])}}}),BRe=We(ZRe,[["__scopeId","data-v-4042a280"]]),DRe={class:"remark"},KRe=Fe({__name:"index",props:{height:{}},emits:["update:height"],setup(e,{emit:t}){const n=e,r=t,o=ct(),{currentSlide:i}=Ee(o),a=me();Tt(()=>i.value.id,()=>{Vr(()=>{a.value.updateTextContent()})},{immediate:!0});const s=Se(()=>{var u;return((u=i.value)==null?void 0:u.remark)||""}),c=u=>{o.updateSlide({remark:u})},l=u=>{let f=!0;const d=u.pageY,h=n.height;document.onmousemove=p=>{if(!f)return;let x=-(p.pageY-d)+h;x<40&&(x=40),x>360&&(x=360),r("update:height",x)},document.onmouseup=()=>{f=!1,document.onmousemove=null,document.onmouseup=null}};return(u,f)=>(Q(),ee("div",DRe,[Y("div",{class:"resize-handler",onMousedown:f[0]||(f[0]=d=>l(d))},null,32),w(BRe,{value:s.value,ref_key:"editorRef",ref:a,onUpdate:f[1]||(f[1]=d=>c(d))},null,8,["value"])]))}}),HRe=We(KRe,[["__scopeId","data-v-1c52a472"]]);var L_={exports:{}};(function(e,t){(function(n,r){r()})(Pt,function(){function n(l,u){return typeof u>"u"?u={autoBom:!1}:typeof u!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),u={autoBom:!u}),u.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(l.type)?new Blob(["\uFEFF",l],{type:l.type}):l}function r(l,u,f){var d=new XMLHttpRequest;d.open("GET",l),d.responseType="blob",d.onload=function(){c(d.response,u,f)},d.onerror=function(){console.error("could not download file")},d.send()}function o(l){var u=new XMLHttpRequest;u.open("HEAD",l,!1);try{u.send()}catch{}return 200<=u.status&&299>=u.status}function i(l){try{l.dispatchEvent(new MouseEvent("click"))}catch{var u=document.createEvent("MouseEvents");u.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),l.dispatchEvent(u)}}var a=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof Pt=="object"&&Pt.global===Pt?Pt:void 0,s=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),c=a.saveAs||(typeof window!="object"||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!s?function(l,u,f){var d=a.URL||a.webkitURL,h=document.createElement("a");u=u||l.name||"download",h.download=u,h.rel="noopener",typeof l=="string"?(h.href=l,h.origin===location.origin?i(h):o(h.href)?r(l,u,f):i(h,h.target="_blank")):(h.href=d.createObjectURL(l),setTimeout(function(){d.revokeObjectURL(h.href)},4e4),setTimeout(function(){i(h)},0))}:"msSaveOrOpenBlob"in navigator?function(l,u,f){if(u=u||l.name||"download",typeof l!="string")navigator.msSaveOrOpenBlob(n(l,f),u);else if(o(l))r(l,u,f);else{var d=document.createElement("a");d.href=l,d.target="_blank",setTimeout(function(){i(d)})}}:function(l,u,f,d){if(d=d||open("","_blank"),d&&(d.document.title=d.document.body.innerText="downloading..."),typeof l=="string")return r(l,u,f);var h=l.type==="application/octet-stream",p=/constructor/i.test(a.HTMLElement)||a.safari,m=/CriOS\/[\d]+/.test(navigator.userAgent);if((m||h&&p||s)&&typeof FileReader<"u"){var A=new FileReader;A.onloadend=function(){var y=A.result;y=m?y:y.replace(/^data:[^;]*;/,"data:attachment/file;"),d?d.location.href=y:location=y,d=null},A.readAsDataURL(l)}else{var x=a.URL||a.webkitURL,R=x.createObjectURL(l);d?d.location=R:location.href=R,d=null,setTimeout(function(){x.revokeObjectURL(R)},4e4)}});a.saveAs=c.saveAs=c,e.exports=c})})(L_);var c4=L_.exports,O_={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,o,i){function a(l,u){if(!o[l]){if(!r[l]){var f=typeof V0=="function"&&V0;if(!u&&f)return f(l,!0);if(s)return s(l,!0);var d=new Error("Cannot find module '"+l+"'");throw d.code="MODULE_NOT_FOUND",d}var h=o[l]={exports:{}};r[l][0].call(h.exports,function(p){var m=r[l][1][p];return a(m||p)},h,h.exports,n,r,o,i)}return o[l].exports}for(var s=typeof V0=="function"&&V0,c=0;c<i.length;c++)a(i[c]);return a}({1:[function(n,r,o){var i=n("./utils"),a=n("./support"),s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";o.encode=function(c){for(var l,u,f,d,h,p,m,A=[],x=0,R=c.length,y=R,g=i.getTypeOf(c)!=="string";x<c.length;)y=R-x,f=g?(l=c[x++],u=x<R?c[x++]:0,x<R?c[x++]:0):(l=c.charCodeAt(x++),u=x<R?c.charCodeAt(x++):0,x<R?c.charCodeAt(x++):0),d=l>>2,h=(3&l)<<4|u>>4,p=1<y?(15&u)<<2|f>>6:64,m=2<y?63&f:64,A.push(s.charAt(d)+s.charAt(h)+s.charAt(p)+s.charAt(m));return A.join("")},o.decode=function(c){var l,u,f,d,h,p,m=0,A=0,x="data:";if(c.substr(0,x.length)===x)throw new Error("Invalid base64 input, it looks like a data url.");var R,y=3*(c=c.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(c.charAt(c.length-1)===s.charAt(64)&&y--,c.charAt(c.length-2)===s.charAt(64)&&y--,y%1!=0)throw new Error("Invalid base64 input, bad content length.");for(R=a.uint8array?new Uint8Array(0|y):new Array(0|y);m<c.length;)l=s.indexOf(c.charAt(m++))<<2|(d=s.indexOf(c.charAt(m++)))>>4,u=(15&d)<<4|(h=s.indexOf(c.charAt(m++)))>>2,f=(3&h)<<6|(p=s.indexOf(c.charAt(m++))),R[A++]=l,h!==64&&(R[A++]=u),p!==64&&(R[A++]=f);return R}},{"./support":30,"./utils":32}],2:[function(n,r,o){var i=n("./external"),a=n("./stream/DataWorker"),s=n("./stream/Crc32Probe"),c=n("./stream/DataLengthProbe");function l(u,f,d,h,p){this.compressedSize=u,this.uncompressedSize=f,this.crc32=d,this.compression=h,this.compressedContent=p}l.prototype={getContentWorker:function(){var u=new a(i.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new c("data_length")),f=this;return u.on("end",function(){if(this.streamInfo.data_length!==f.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),u},getCompressedWorker:function(){return new a(i.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},l.createWorkerFrom=function(u,f,d){return u.pipe(new s).pipe(new c("uncompressedSize")).pipe(f.compressWorker(d)).pipe(new c("compressedSize")).withStreamInfo("compression",f)},r.exports=l},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(n,r,o){var i=n("./stream/GenericWorker");o.STORE={magic:"\0\0",compressWorker:function(){return new i("STORE compression")},uncompressWorker:function(){return new i("STORE decompression")}},o.DEFLATE=n("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(n,r,o){var i=n("./utils"),a=function(){for(var s,c=[],l=0;l<256;l++){s=l;for(var u=0;u<8;u++)s=1&s?3988292384^s>>>1:s>>>1;c[l]=s}return c}();r.exports=function(s,c){return s!==void 0&&s.length?i.getTypeOf(s)!=="string"?function(l,u,f,d){var h=a,p=d+f;l^=-1;for(var m=d;m<p;m++)l=l>>>8^h[255&(l^u[m])];return-1^l}(0|c,s,s.length,0):function(l,u,f,d){var h=a,p=d+f;l^=-1;for(var m=d;m<p;m++)l=l>>>8^h[255&(l^u.charCodeAt(m))];return-1^l}(0|c,s,s.length,0):0}},{"./utils":32}],5:[function(n,r,o){o.base64=!1,o.binary=!1,o.dir=!1,o.createFolders=!0,o.date=null,o.compression=null,o.compressionOptions=null,o.comment=null,o.unixPermissions=null,o.dosPermissions=null},{}],6:[function(n,r,o){var i=null;i=typeof Promise<"u"?Promise:n("lie"),r.exports={Promise:i}},{lie:37}],7:[function(n,r,o){var i=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",a=n("pako"),s=n("./utils"),c=n("./stream/GenericWorker"),l=i?"uint8array":"array";function u(f,d){c.call(this,"FlateWorker/"+f),this._pako=null,this._pakoAction=f,this._pakoOptions=d,this.meta={}}o.magic="\b\0",s.inherits(u,c),u.prototype.processChunk=function(f){this.meta=f.meta,this._pako===null&&this._createPako(),this._pako.push(s.transformTo(l,f.data),!1)},u.prototype.flush=function(){c.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},u.prototype.cleanUp=function(){c.prototype.cleanUp.call(this),this._pako=null},u.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})}},o.compressWorker=function(f){return new u("Deflate",f)},o.uncompressWorker=function(){return new u("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(n,r,o){function i(h,p){var m,A="";for(m=0;m<p;m++)A+=String.fromCharCode(255&h),h>>>=8;return A}function a(h,p,m,A,x,R){var y,g,S=h.file,L=h.compression,T=R!==l.utf8encode,M=s.transformTo("string",R(S.name)),O=s.transformTo("string",l.utf8encode(S.name)),k=S.comment,_=s.transformTo("string",R(k)),N=s.transformTo("string",l.utf8encode(k)),X=O.length!==S.name.length,C=N.length!==k.length,F="",I="",V="",B=S.dir,G=S.date,ne={crc32:0,compressedSize:0,uncompressedSize:0};p&&!m||(ne.crc32=h.crc32,ne.compressedSize=h.compressedSize,ne.uncompressedSize=h.uncompressedSize);var E=0;p&&(E|=8),T||!X&&!C||(E|=2048);var Z=0,K=0;B&&(Z|=16),x==="UNIX"?(K=798,Z|=function(J,le){var ie=J;return J||(ie=le?16893:33204),(65535&ie)<<16}(S.unixPermissions,B)):(K=20,Z|=function(J){return 63&(J||0)}(S.dosPermissions)),y=G.getUTCHours(),y<<=6,y|=G.getUTCMinutes(),y<<=5,y|=G.getUTCSeconds()/2,g=G.getUTCFullYear()-1980,g<<=4,g|=G.getUTCMonth()+1,g<<=5,g|=G.getUTCDate(),X&&(I=i(1,1)+i(u(M),4)+O,F+="up"+i(I.length,2)+I),C&&(V=i(1,1)+i(u(_),4)+N,F+="uc"+i(V.length,2)+V);var U="";return U+=`
\0`,U+=i(E,2),U+=L.magic,U+=i(y,2),U+=i(g,2),U+=i(ne.crc32,4),U+=i(ne.compressedSize,4),U+=i(ne.uncompressedSize,4),U+=i(M.length,2),U+=i(F.length,2),{fileRecord:f.LOCAL_FILE_HEADER+U+M+F,dirRecord:f.CENTRAL_FILE_HEADER+i(K,2)+U+i(_.length,2)+"\0\0\0\0"+i(Z,4)+i(A,4)+M+F+_}}var s=n("../utils"),c=n("../stream/GenericWorker"),l=n("../utf8"),u=n("../crc32"),f=n("../signature");function d(h,p,m,A){c.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=p,this.zipPlatform=m,this.encodeFileName=A,this.streamFiles=h,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}s.inherits(d,c),d.prototype.push=function(h){var p=h.meta.percent||0,m=this.entriesCount,A=this._sources.length;this.accumulate?this.contentBuffer.push(h):(this.bytesWritten+=h.data.length,c.prototype.push.call(this,{data:h.data,meta:{currentFile:this.currentFile,percent:m?(p+100*(m-A-1))/m: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 m=a(h,p,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:m.fileRecord,meta:{percent:0}})}else this.accumulate=!0},d.prototype.closedSource=function(h){this.accumulate=!1;var p=this.streamFiles&&!h.file.dir,m=a(h,p,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(m.dirRecord),p)this.push({data:function(A){return f.DATA_DESCRIPTOR+i(A.crc32,4)+i(A.compressedSize,4)+i(A.uncompressedSize,4)}(h),meta:{percent:100}});else for(this.push({data:m.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 m=this.bytesWritten-h,A=function(x,R,y,g,S){var L=s.transformTo("string",S(g));return f.CENTRAL_DIRECTORY_END+"\0\0\0\0"+i(x,2)+i(x,2)+i(R,4)+i(y,4)+i(L.length,2)+L}(this.dirRecords.length,m,h,this.zipComment,this.encodeFileName);this.push({data:A,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(m){p.processChunk(m)}),h.on("end",function(){p.closedSource(p.previous.streamInfo),p._sources.length?p.prepareNextSource():p.end()}),h.on("error",function(m){p.error(m)}),this},d.prototype.resume=function(){return!!c.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(!c.prototype.error.call(this,h))return!1;for(var m=0;m<p.length;m++)try{p[m].error(h)}catch{}return!0},d.prototype.lock=function(){c.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,o){var i=n("../compressions"),a=n("./ZipFileWorker");o.generateWorker=function(s,c,l){var u=new a(c.streamFiles,l,c.platform,c.encodeFileName),f=0;try{s.forEach(function(d,h){f++;var p=function(R,y){var g=R||y,S=i[g];if(!S)throw new Error(g+" is not a valid compression method !");return S}(h.options.compression,c.compression),m=h.options.compressionOptions||c.compressionOptions||{},A=h.dir,x=h.date;h._compressWorker(p,m).withStreamInfo("file",{name:d,dir:A,date:x,comment:h.comment||"",unixPermissions:h.unixPermissions,dosPermissions:h.dosPermissions}).pipe(u)}),u.entriesCount=f}catch(d){u.error(d)}return u}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(n,r,o){function i(){if(!(this instanceof i))return new i;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 i;for(var s in this)typeof this[s]!="function"&&(a[s]=this[s]);return a}}(i.prototype=n("./object")).loadAsync=n("./load"),i.support=n("./support"),i.defaults=n("./defaults"),i.version="3.10.1",i.loadAsync=function(a,s){return new i().loadAsync(a,s)},i.external=n("./external"),r.exports=i},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(n,r,o){var i=n("./utils"),a=n("./external"),s=n("./utf8"),c=n("./zipEntries"),l=n("./stream/Crc32Probe"),u=n("./nodejsUtils");function f(d){return new a.Promise(function(h,p){var m=d.decompressed.getContentWorker().pipe(new l);m.on("error",function(A){p(A)}).on("end",function(){m.streamInfo.crc32!==d.decompressed.crc32?p(new Error("Corrupted zip : CRC32 mismatch")):h()}).resume()})}r.exports=function(d,h){var p=this;return h=i.extend(h||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:s.utf8decode}),u.isNode&&u.isStream(d)?a.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):i.prepareContent("the loaded zip file",d,!0,h.optimizedBinaryString,h.base64).then(function(m){var A=new c(h);return A.load(m),A}).then(function(m){var A=[a.Promise.resolve(m)],x=m.files;if(h.checkCRC32)for(var R=0;R<x.length;R++)A.push(f(x[R]));return a.Promise.all(A)}).then(function(m){for(var A=m.shift(),x=A.files,R=0;R<x.length;R++){var y=x[R],g=y.fileNameStr,S=i.resolve(y.fileNameStr);p.file(S,y.decompressed,{binary:!0,optimizedBinaryString:!0,date:y.date,dir:y.dir,comment:y.fileCommentStr.length?y.fileCommentStr:null,unixPermissions:y.unixPermissions,dosPermissions:y.dosPermissions,createFolders:h.createFolders}),y.dir||(p.file(S).unsafeOriginalName=g)}return A.zipComment.length&&(p.comment=A.zipComment),p})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(n,r,o){var i=n("../utils"),a=n("../stream/GenericWorker");function s(c,l){a.call(this,"Nodejs stream input adapter for "+c),this._upstreamEnded=!1,this._bindStream(l)}i.inherits(s,a),s.prototype._bindStream=function(c){var l=this;(this._stream=c).pause(),c.on("data",function(u){l.push({data:u,meta:{percent:0}})}).on("error",function(u){l.isPaused?this.generatedError=u:l.error(u)}).on("end",function(){l.isPaused?l._upstreamEnded=!0:l.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,o){var i=n("readable-stream").Readable;function a(s,c,l){i.call(this,c),this._helper=s;var u=this;s.on("data",function(f,d){u.push(f)||u._helper.pause(),l&&l(d)}).on("error",function(f){u.emit("error",f)}).on("end",function(){u.push(null)})}n("../utils").inherits(a,i),a.prototype._read=function(){this._helper.resume()},r.exports=a},{"../utils":32,"readable-stream":16}],14:[function(n,r,o){r.exports={isNode:typeof Buffer<"u",newBufferFrom:function(i,a){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(i,a);if(typeof i=="number")throw new Error('The "data" argument must not be a number');return new Buffer(i,a)},allocBuffer:function(i){if(Buffer.alloc)return Buffer.alloc(i);var a=new Buffer(i);return a.fill(0),a},isBuffer:function(i){return Buffer.isBuffer(i)},isStream:function(i){return i&&typeof i.on=="function"&&typeof i.pause=="function"&&typeof i.resume=="function"}}},{}],15:[function(n,r,o){function i(S,L,T){var M,O=s.getTypeOf(L),k=s.extend(T||{},u);k.date=k.date||new Date,k.compression!==null&&(k.compression=k.compression.toUpperCase()),typeof k.unixPermissions=="string"&&(k.unixPermissions=parseInt(k.unixPermissions,8)),k.unixPermissions&&16384&k.unixPermissions&&(k.dir=!0),k.dosPermissions&&16&k.dosPermissions&&(k.dir=!0),k.dir&&(S=x(S)),k.createFolders&&(M=A(S))&&R.call(this,M,!0);var _=O==="string"&&k.binary===!1&&k.base64===!1;T&&T.binary!==void 0||(k.binary=!_),(L instanceof f&&L.uncompressedSize===0||k.dir||!L||L.length===0)&&(k.base64=!1,k.binary=!0,L="",k.compression="STORE",O="string");var N=null;N=L instanceof f||L instanceof c?L:p.isNode&&p.isStream(L)?new m(S,L):s.prepareContent(S,L,k.binary,k.optimizedBinaryString,k.base64);var X=new d(S,N,k);this.files[S]=X}var a=n("./utf8"),s=n("./utils"),c=n("./stream/GenericWorker"),l=n("./stream/StreamHelper"),u=n("./defaults"),f=n("./compressedObject"),d=n("./zipObject"),h=n("./generate"),p=n("./nodejsUtils"),m=n("./nodejs/NodejsStreamInputAdapter"),A=function(S){S.slice(-1)==="/"&&(S=S.substring(0,S.length-1));var L=S.lastIndexOf("/");return 0<L?S.substring(0,L):""},x=function(S){return S.slice(-1)!=="/"&&(S+="/"),S},R=function(S,L){return L=L!==void 0?L:u.createFolders,S=x(S),this.files[S]||i.call(this,S,null,{dir:!0,createFolders:L}),this.files[S]};function y(S){return Object.prototype.toString.call(S)==="[object RegExp]"}var g={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(S){var L,T,M;for(L in this.files)M=this.files[L],(T=L.slice(this.root.length,L.length))&&L.slice(0,this.root.length)===this.root&&S(T,M)},filter:function(S){var L=[];return this.forEach(function(T,M){S(T,M)&&L.push(M)}),L},file:function(S,L,T){if(arguments.length!==1)return S=this.root+S,i.call(this,S,L,T),this;if(y(S)){var M=S;return this.filter(function(k,_){return!_.dir&&M.test(k)})}var O=this.files[this.root+S];return O&&!O.dir?O:null},folder:function(S){if(!S)return this;if(y(S))return this.filter(function(O,k){return k.dir&&S.test(O)});var L=this.root+S,T=R.call(this,L),M=this.clone();return M.root=T.name,M},remove:function(S){S=this.root+S;var L=this.files[S];if(L||(S.slice(-1)!=="/"&&(S+="/"),L=this.files[S]),L&&!L.dir)delete this.files[S];else for(var T=this.filter(function(O,k){return k.name.slice(0,S.length)===S}),M=0;M<T.length;M++)delete this.files[T[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(S){var L,T={};try{if((T=s.extend(S||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:a.utf8encode})).type=T.type.toLowerCase(),T.compression=T.compression.toUpperCase(),T.type==="binarystring"&&(T.type="string"),!T.type)throw new Error("No output type specified.");s.checkSupport(T.type),T.platform!=="darwin"&&T.platform!=="freebsd"&&T.platform!=="linux"&&T.platform!=="sunos"||(T.platform="UNIX"),T.platform==="win32"&&(T.platform="DOS");var M=T.comment||this.comment||"";L=h.generateWorker(this,T,M)}catch(O){(L=new c("error")).error(O)}return new l(L,T.type||"string",T.mimeType)},generateAsync:function(S,L){return this.generateInternalStream(S).accumulate(L)},generateNodeStream:function(S,L){return(S=S||{}).type||(S.type="nodebuffer"),this.generateInternalStream(S).toNodejsStream(L)}};r.exports=g},{"./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,o){r.exports=n("stream")},{stream:void 0}],17:[function(n,r,o){var i=n("./DataReader");function a(s){i.call(this,s);for(var c=0;c<this.data.length;c++)s[c]=255&s[c]}n("../utils").inherits(a,i),a.prototype.byteAt=function(s){return this.data[this.zero+s]},a.prototype.lastIndexOfSignature=function(s){for(var c=s.charCodeAt(0),l=s.charCodeAt(1),u=s.charCodeAt(2),f=s.charCodeAt(3),d=this.length-4;0<=d;--d)if(this.data[d]===c&&this.data[d+1]===l&&this.data[d+2]===u&&this.data[d+3]===f)return d-this.zero;return-1},a.prototype.readAndCheckSignature=function(s){var c=s.charCodeAt(0),l=s.charCodeAt(1),u=s.charCodeAt(2),f=s.charCodeAt(3),d=this.readData(4);return c===d[0]&&l===d[1]&&u===d[2]&&f===d[3]},a.prototype.readData=function(s){if(this.checkOffset(s),s===0)return[];var c=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,c},r.exports=a},{"../utils":32,"./DataReader":18}],18:[function(n,r,o){var i=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 c,l=0;for(this.checkOffset(s),c=this.index+s-1;c>=this.index;c--)l=(l<<8)+this.byteAt(c);return this.index+=s,l},readString:function(s){return i.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,o){var i=n("./Uint8ArrayReader");function a(s){i.call(this,s)}n("../utils").inherits(a,i),a.prototype.readData=function(s){this.checkOffset(s);var c=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,c},r.exports=a},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(n,r,o){var i=n("./DataReader");function a(s){i.call(this,s)}n("../utils").inherits(a,i),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 c=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,c},r.exports=a},{"../utils":32,"./DataReader":18}],21:[function(n,r,o){var i=n("./ArrayReader");function a(s){i.call(this,s)}n("../utils").inherits(a,i),a.prototype.readData=function(s){if(this.checkOffset(s),s===0)return new Uint8Array(0);var c=this.data.subarray(this.zero+this.index,this.zero+this.index+s);return this.index+=s,c},r.exports=a},{"../utils":32,"./ArrayReader":17}],22:[function(n,r,o){var i=n("../utils"),a=n("../support"),s=n("./ArrayReader"),c=n("./StringReader"),l=n("./NodeBufferReader"),u=n("./Uint8ArrayReader");r.exports=function(f){var d=i.getTypeOf(f);return i.checkSupport(d),d!=="string"||a.uint8array?d==="nodebuffer"?new l(f):a.uint8array?new u(i.transformTo("uint8array",f)):new s(i.transformTo("array",f)):new c(f)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(n,r,o){o.LOCAL_FILE_HEADER="PK",o.CENTRAL_FILE_HEADER="PK",o.CENTRAL_DIRECTORY_END="PK",o.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",o.ZIP64_CENTRAL_DIRECTORY_END="PK",o.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(n,r,o){var i=n("./GenericWorker"),a=n("../utils");function s(c){i.call(this,"ConvertWorker to "+c),this.destType=c}a.inherits(s,i),s.prototype.processChunk=function(c){this.push({data:a.transformTo(this.destType,c.data),meta:c.meta})},r.exports=s},{"../utils":32,"./GenericWorker":28}],25:[function(n,r,o){var i=n("./GenericWorker"),a=n("../crc32");function s(){i.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}n("../utils").inherits(s,i),s.prototype.processChunk=function(c){this.streamInfo.crc32=a(c.data,this.streamInfo.crc32||0),this.push(c)},r.exports=s},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(n,r,o){var i=n("../utils"),a=n("./GenericWorker");function s(c){a.call(this,"DataLengthProbe for "+c),this.propName=c,this.withStreamInfo(c,0)}i.inherits(s,a),s.prototype.processChunk=function(c){if(c){var l=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=l+c.data.length}a.prototype.processChunk.call(this,c)},r.exports=s},{"../utils":32,"./GenericWorker":28}],27:[function(n,r,o){var i=n("../utils"),a=n("./GenericWorker");function s(c){a.call(this,"DataWorker");var l=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,c.then(function(u){l.dataIsReady=!0,l.data=u,l.max=u&&u.length||0,l.type=i.getTypeOf(u),l.isPaused||l._tickAndRepeat()},function(u){l.error(u)})}i.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,i.delay(this._tickAndRepeat,[],this)),!0)},s.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(i.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},s.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var c=null,l=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":c=this.data.substring(this.index,l);break;case"uint8array":c=this.data.subarray(this.index,l);break;case"array":case"nodebuffer":c=this.data.slice(this.index,l)}return this.index=l,this.push({data:c,meta:{percent:this.max?this.index/this.max*100:0}})},r.exports=s},{"../utils":32,"./GenericWorker":28}],28:[function(n,r,o){function i(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}i.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 c=0;c<this._listeners[a].length;c++)this._listeners[a][c].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(c){s.processChunk(c)}),a.on("end",function(){s.end()}),a.on("error",function(c){s.error(c)}),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=i},{}],29:[function(n,r,o){var i=n("../utils"),a=n("./ConvertWorker"),s=n("./GenericWorker"),c=n("../base64"),l=n("../support"),u=n("../external"),f=null;if(l.nodestream)try{f=n("../nodejs/NodejsStreamOutputAdapter")}catch{}function d(p,m){return new u.Promise(function(A,x){var R=[],y=p._internalType,g=p._outputType,S=p._mimeType;p.on("data",function(L,T){R.push(L),m&&m(T)}).on("error",function(L){R=[],x(L)}).on("end",function(){try{var L=function(T,M,O){switch(T){case"blob":return i.newBlob(i.transformTo("arraybuffer",M),O);case"base64":return c.encode(M);default:return i.transformTo(T,M)}}(g,function(T,M){var O,k=0,_=null,N=0;for(O=0;O<M.length;O++)N+=M[O].length;switch(T){case"string":return M.join("");case"array":return Array.prototype.concat.apply([],M);case"uint8array":for(_=new Uint8Array(N),O=0;O<M.length;O++)_.set(M[O],k),k+=M[O].length;return _;case"nodebuffer":return Buffer.concat(M);default:throw new Error("concat : unsupported type '"+T+"'")}}(y,R),S);A(L)}catch(T){x(T)}R=[]}).resume()})}function h(p,m,A){var x=m;switch(m){case"blob":case"arraybuffer":x="uint8array";break;case"base64":x="string"}try{this._internalType=x,this._outputType=m,this._mimeType=A,i.checkSupport(x),this._worker=p.pipe(new a(x)),p.lock()}catch(R){this._worker=new s("error"),this._worker.error(R)}}h.prototype={accumulate:function(p){return d(this,p)},on:function(p,m){var A=this;return p==="data"?this._worker.on(p,function(x){m.call(A,x.data,x.meta)}):this._worker.on(p,function(){i.delay(m,arguments,A)}),this},resume:function(){return i.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(p){if(i.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,o){if(o.base64=!0,o.array=!0,o.string=!0,o.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",o.nodebuffer=typeof Buffer<"u",o.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")o.blob=!1;else{var i=new ArrayBuffer(0);try{o.blob=new Blob([i],{type:"application/zip"}).size===0}catch{try{var a=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);a.append(i),o.blob=a.getBlob("application/zip").size===0}catch{o.blob=!1}}}try{o.nodestream=!!n("readable-stream").Readable}catch{o.nodestream=!1}},{"readable-stream":16}],31:[function(n,r,o){for(var i=n("./utils"),a=n("./support"),s=n("./nodejsUtils"),c=n("./stream/GenericWorker"),l=new Array(256),u=0;u<256;u++)l[u]=252<=u?6:248<=u?5:240<=u?4:224<=u?3:192<=u?2:1;l[254]=l[254]=1;function f(){c.call(this,"utf-8 decode"),this.leftOver=null}function d(){c.call(this,"utf-8 encode")}o.utf8encode=function(h){return a.nodebuffer?s.newBufferFrom(h,"utf-8"):function(p){var m,A,x,R,y,g=p.length,S=0;for(R=0;R<g;R++)(64512&(A=p.charCodeAt(R)))==55296&&R+1<g&&(64512&(x=p.charCodeAt(R+1)))==56320&&(A=65536+(A-55296<<10)+(x-56320),R++),S+=A<128?1:A<2048?2:A<65536?3:4;for(m=a.uint8array?new Uint8Array(S):new Array(S),R=y=0;y<S;R++)(64512&(A=p.charCodeAt(R)))==55296&&R+1<g&&(64512&(x=p.charCodeAt(R+1)))==56320&&(A=65536+(A-55296<<10)+(x-56320),R++),A<128?m[y++]=A:(A<2048?m[y++]=192|A>>>6:(A<65536?m[y++]=224|A>>>12:(m[y++]=240|A>>>18,m[y++]=128|A>>>12&63),m[y++]=128|A>>>6&63),m[y++]=128|63&A);return m}(h)},o.utf8decode=function(h){return a.nodebuffer?i.transformTo("nodebuffer",h).toString("utf-8"):function(p){var m,A,x,R,y=p.length,g=new Array(2*y);for(m=A=0;m<y;)if((x=p[m++])<128)g[A++]=x;else if(4<(R=l[x]))g[A++]=65533,m+=R-1;else{for(x&=R===2?31:R===3?15:7;1<R&&m<y;)x=x<<6|63&p[m++],R--;1<R?g[A++]=65533:x<65536?g[A++]=x:(x-=65536,g[A++]=55296|x>>10&1023,g[A++]=56320|1023&x)}return g.length!==A&&(g.subarray?g=g.subarray(0,A):g.length=A),i.applyFromCharCode(g)}(h=i.transformTo(a.uint8array?"uint8array":"array",h))},i.inherits(f,c),f.prototype.processChunk=function(h){var p=i.transformTo(a.uint8array?"uint8array":"array",h.data);if(this.leftOver&&this.leftOver.length){if(a.uint8array){var m=p;(p=new Uint8Array(m.length+this.leftOver.length)).set(this.leftOver,0),p.set(m,this.leftOver.length)}else p=this.leftOver.concat(p);this.leftOver=null}var A=function(R,y){var g;for((y=y||R.length)>R.length&&(y=R.length),g=y-1;0<=g&&(192&R[g])==128;)g--;return g<0||g===0?y:g+l[R[g]]>y?g:y}(p),x=p;A!==p.length&&(a.uint8array?(x=p.subarray(0,A),this.leftOver=p.subarray(A,p.length)):(x=p.slice(0,A),this.leftOver=p.slice(A,p.length))),this.push({data:o.utf8decode(x),meta:h.meta})},f.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:o.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},o.Utf8DecodeWorker=f,i.inherits(d,c),d.prototype.processChunk=function(h){this.push({data:o.utf8encode(h.data),meta:h.meta})},o.Utf8EncodeWorker=d},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(n,r,o){var i=n("./support"),a=n("./base64"),s=n("./nodejsUtils"),c=n("./external");function l(m){return m}function u(m,A){for(var x=0;x<m.length;++x)A[x]=255&m.charCodeAt(x);return A}n("setimmediate"),o.newBlob=function(m,A){o.checkSupport("blob");try{return new Blob([m],{type:A})}catch{try{var x=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return x.append(m),x.getBlob(A)}catch{throw new Error("Bug : can't construct the Blob.")}}};var f={stringifyByChunk:function(m,A,x){var R=[],y=0,g=m.length;if(g<=x)return String.fromCharCode.apply(null,m);for(;y<g;)A==="array"||A==="nodebuffer"?R.push(String.fromCharCode.apply(null,m.slice(y,Math.min(y+x,g)))):R.push(String.fromCharCode.apply(null,m.subarray(y,Math.min(y+x,g)))),y+=x;return R.join("")},stringifyByChar:function(m){for(var A="",x=0;x<m.length;x++)A+=String.fromCharCode(m[x]);return A},applyCanBeUsed:{uint8array:function(){try{return i.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return i.nodebuffer&&String.fromCharCode.apply(null,s.allocBuffer(1)).length===1}catch{return!1}}()}};function d(m){var A=65536,x=o.getTypeOf(m),R=!0;if(x==="uint8array"?R=f.applyCanBeUsed.uint8array:x==="nodebuffer"&&(R=f.applyCanBeUsed.nodebuffer),R)for(;1<A;)try{return f.stringifyByChunk(m,x,A)}catch{A=Math.floor(A/2)}return f.stringifyByChar(m)}function h(m,A){for(var x=0;x<m.length;x++)A[x]=m[x];return A}o.applyFromCharCode=d;var p={};p.string={string:l,array:function(m){return u(m,new Array(m.length))},arraybuffer:function(m){return p.string.uint8array(m).buffer},uint8array:function(m){return u(m,new Uint8Array(m.length))},nodebuffer:function(m){return u(m,s.allocBuffer(m.length))}},p.array={string:d,array:l,arraybuffer:function(m){return new Uint8Array(m).buffer},uint8array:function(m){return new Uint8Array(m)},nodebuffer:function(m){return s.newBufferFrom(m)}},p.arraybuffer={string:function(m){return d(new Uint8Array(m))},array:function(m){return h(new Uint8Array(m),new Array(m.byteLength))},arraybuffer:l,uint8array:function(m){return new Uint8Array(m)},nodebuffer:function(m){return s.newBufferFrom(new Uint8Array(m))}},p.uint8array={string:d,array:function(m){return h(m,new Array(m.length))},arraybuffer:function(m){return m.buffer},uint8array:l,nodebuffer:function(m){return s.newBufferFrom(m)}},p.nodebuffer={string:d,array:function(m){return h(m,new Array(m.length))},arraybuffer:function(m){return p.nodebuffer.uint8array(m).buffer},uint8array:function(m){return h(m,new Uint8Array(m.length))},nodebuffer:l},o.transformTo=function(m,A){if(A=A||"",!m)return A;o.checkSupport(m);var x=o.getTypeOf(A);return p[x][m](A)},o.resolve=function(m){for(var A=m.split("/"),x=[],R=0;R<A.length;R++){var y=A[R];y==="."||y===""&&R!==0&&R!==A.length-1||(y===".."?x.pop():x.push(y))}return x.join("/")},o.getTypeOf=function(m){return typeof m=="string"?"string":Object.prototype.toString.call(m)==="[object Array]"?"array":i.nodebuffer&&s.isBuffer(m)?"nodebuffer":i.uint8array&&m instanceof Uint8Array?"uint8array":i.arraybuffer&&m instanceof ArrayBuffer?"arraybuffer":void 0},o.checkSupport=function(m){if(!i[m.toLowerCase()])throw new Error(m+" is not supported by this platform")},o.MAX_VALUE_16BITS=65535,o.MAX_VALUE_32BITS=-1,o.pretty=function(m){var A,x,R="";for(x=0;x<(m||"").length;x++)R+="\\x"+((A=m.charCodeAt(x))<16?"0":"")+A.toString(16).toUpperCase();return R},o.delay=function(m,A,x){setImmediate(function(){m.apply(x||null,A||[])})},o.inherits=function(m,A){function x(){}x.prototype=A.prototype,m.prototype=new x},o.extend=function(){var m,A,x={};for(m=0;m<arguments.length;m++)for(A in arguments[m])Object.prototype.hasOwnProperty.call(arguments[m],A)&&x[A]===void 0&&(x[A]=arguments[m][A]);return x},o.prepareContent=function(m,A,x,R,y){return c.Promise.resolve(A).then(function(g){return i.blob&&(g instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(g))!==-1)&&typeof FileReader<"u"?new c.Promise(function(S,L){var T=new FileReader;T.onload=function(M){S(M.target.result)},T.onerror=function(M){L(M.target.error)},T.readAsArrayBuffer(g)}):g}).then(function(g){var S=o.getTypeOf(g);return S?(S==="arraybuffer"?g=o.transformTo("uint8array",g):S==="string"&&(y?g=a.decode(g):x&&R!==!0&&(g=function(L){return u(L,i.uint8array?new Uint8Array(L.length):new Array(L.length))}(g))),g):c.Promise.reject(new Error("Can't read the data of '"+m+"'. 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,o){var i=n("./reader/readerFor"),a=n("./utils"),s=n("./signature"),c=n("./zipEntry"),l=n("./support");function u(f){this.files=[],this.loadOptions=f}u.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=l.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 c({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=i(f)},load:function(f){this.prepareReader(f),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},r.exports=u},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(n,r,o){var i=n("./reader/readerFor"),a=n("./utils"),s=n("./compressedObject"),c=n("./crc32"),l=n("./utf8"),u=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,m;if(h.skip(22),this.fileNameLength=h.readInt(2),m=h.readInt(2),this.fileName=h.readData(this.fileNameLength),h.skip(m),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(A){for(var x in u)if(Object.prototype.hasOwnProperty.call(u,x)&&u[x].magic===A)return u[x];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=i(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,m,A,x=h.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});h.index+4<x;)p=h.readInt(2),m=h.readInt(2),A=h.readData(m),this.extraFields[p]={id:p,length:m,value:A};h.setIndex(x)},handleUTF8:function(){var h=f.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=l.utf8decode(this.fileName),this.fileCommentStr=l.utf8decode(this.fileComment);else{var p=this.findExtraFieldUnicodePath();if(p!==null)this.fileNameStr=p;else{var m=a.transformTo(h,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(m)}var A=this.findExtraFieldUnicodeComment();if(A!==null)this.fileCommentStr=A;else{var x=a.transformTo(h,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(x)}}},findExtraFieldUnicodePath:function(){var h=this.extraFields[28789];if(h){var p=i(h.value);return p.readInt(1)!==1||c(this.fileName)!==p.readInt(4)?null:l.utf8decode(p.readData(h.length-5))}return null},findExtraFieldUnicodeComment:function(){var h=this.extraFields[25461];if(h){var p=i(h.value);return p.readInt(1)!==1||c(this.fileComment)!==p.readInt(4)?null:l.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,o){function i(p,m,A){this.name=p,this.dir=A.dir,this.date=A.date,this.comment=A.comment,this.unixPermissions=A.unixPermissions,this.dosPermissions=A.dosPermissions,this._data=m,this._dataBinary=A.binary,this.options={compression:A.compression,compressionOptions:A.compressionOptions}}var a=n("./stream/StreamHelper"),s=n("./stream/DataWorker"),c=n("./utf8"),l=n("./compressedObject"),u=n("./stream/GenericWorker");i.prototype={internalStream:function(p){var m=null,A="string";try{if(!p)throw new Error("No output type specified.");var x=(A=p.toLowerCase())==="string"||A==="text";A!=="binarystring"&&A!=="text"||(A="string"),m=this._decompressWorker();var R=!this._dataBinary;R&&!x&&(m=m.pipe(new c.Utf8EncodeWorker)),!R&&x&&(m=m.pipe(new c.Utf8DecodeWorker))}catch(y){(m=new u("error")).error(y)}return new a(m,A,"")},async:function(p,m){return this.internalStream(p).accumulate(m)},nodeStream:function(p,m){return this.internalStream(p||"nodebuffer").toNodejsStream(m)},_compressWorker:function(p,m){if(this._data instanceof l&&this._data.compression.magic===p.magic)return this._data.getCompressedWorker();var A=this._decompressWorker();return this._dataBinary||(A=A.pipe(new c.Utf8EncodeWorker)),l.createWorkerFrom(A,p,m)},_decompressWorker:function(){return this._data instanceof l?this._data.getContentWorker():this._data instanceof u?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++)i.prototype[f[h]]=d;r.exports=i},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(n,r,o){(function(i){var a,s,c=i.MutationObserver||i.WebKitMutationObserver;if(c){var l=0,u=new c(p),f=i.document.createTextNode("");u.observe(f,{characterData:!0}),a=function(){f.data=l=++l%2}}else if(i.setImmediate||i.MessageChannel===void 0)a="document"in i&&"onreadystatechange"in i.document.createElement("script")?function(){var m=i.document.createElement("script");m.onreadystatechange=function(){p(),m.onreadystatechange=null,m.parentNode.removeChild(m),m=null},i.document.documentElement.appendChild(m)}:function(){setTimeout(p,0)};else{var d=new i.MessageChannel;d.port1.onmessage=p,a=function(){d.port2.postMessage(0)}}var h=[];function p(){var m,A;s=!0;for(var x=h.length;x;){for(A=h,h=[],m=-1;++m<x;)A[m]();x=h.length}s=!1}r.exports=function(m){h.push(m)!==1||s||a()}}).call(this,typeof Pt<"u"?Pt:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(n,r,o){var i=n("immediate");function a(){}var s={},c=["REJECTED"],l=["FULFILLED"],u=["PENDING"];function f(x){if(typeof x!="function")throw new TypeError("resolver must be a function");this.state=u,this.queue=[],this.outcome=void 0,x!==a&&m(this,x)}function d(x,R,y){this.promise=x,typeof R=="function"&&(this.onFulfilled=R,this.callFulfilled=this.otherCallFulfilled),typeof y=="function"&&(this.onRejected=y,this.callRejected=this.otherCallRejected)}function h(x,R,y){i(function(){var g;try{g=R(y)}catch(S){return s.reject(x,S)}g===x?s.reject(x,new TypeError("Cannot resolve promise with itself")):s.resolve(x,g)})}function p(x){var R=x&&x.then;if(x&&(typeof x=="object"||typeof x=="function")&&typeof R=="function")return function(){R.apply(x,arguments)}}function m(x,R){var y=!1;function g(T){y||(y=!0,s.reject(x,T))}function S(T){y||(y=!0,s.resolve(x,T))}var L=A(function(){R(S,g)});L.status==="error"&&g(L.value)}function A(x,R){var y={};try{y.value=x(R),y.status="success"}catch(g){y.status="error",y.value=g}return y}(r.exports=f).prototype.finally=function(x){if(typeof x!="function")return this;var R=this.constructor;return this.then(function(y){return R.resolve(x()).then(function(){return y})},function(y){return R.resolve(x()).then(function(){throw y})})},f.prototype.catch=function(x){return this.then(null,x)},f.prototype.then=function(x,R){if(typeof x!="function"&&this.state===l||typeof R!="function"&&this.state===c)return this;var y=new this.constructor(a);return this.state!==u?h(y,this.state===l?x:R,this.outcome):this.queue.push(new d(y,x,R)),y},d.prototype.callFulfilled=function(x){s.resolve(this.promise,x)},d.prototype.otherCallFulfilled=function(x){h(this.promise,this.onFulfilled,x)},d.prototype.callRejected=function(x){s.reject(this.promise,x)},d.prototype.otherCallRejected=function(x){h(this.promise,this.onRejected,x)},s.resolve=function(x,R){var y=A(p,R);if(y.status==="error")return s.reject(x,y.value);var g=y.value;if(g)m(x,g);else{x.state=l,x.outcome=R;for(var S=-1,L=x.queue.length;++S<L;)x.queue[S].callFulfilled(R)}return x},s.reject=function(x,R){x.state=c,x.outcome=R;for(var y=-1,g=x.queue.length;++y<g;)x.queue[y].callRejected(R);return x},f.resolve=function(x){return x instanceof this?x:s.resolve(new this(a),x)},f.reject=function(x){var R=new this(a);return s.reject(R,x)},f.all=function(x){var R=this;if(Object.prototype.toString.call(x)!=="[object Array]")return this.reject(new TypeError("must be an array"));var y=x.length,g=!1;if(!y)return this.resolve([]);for(var S=new Array(y),L=0,T=-1,M=new this(a);++T<y;)O(x[T],T);return M;function O(k,_){R.resolve(k).then(function(N){S[_]=N,++L!==y||g||(g=!0,s.resolve(M,S))},function(N){g||(g=!0,s.reject(M,N))})}},f.race=function(x){var R=this;if(Object.prototype.toString.call(x)!=="[object Array]")return this.reject(new TypeError("must be an array"));var y=x.length,g=!1;if(!y)return this.resolve([]);for(var S=-1,L=new this(a);++S<y;)T=x[S],R.resolve(T).then(function(M){g||(g=!0,s.resolve(L,M))},function(M){g||(g=!0,s.reject(L,M))});var T;return L}},{immediate:36}],38:[function(n,r,o){var i={};(0,n("./lib/utils/common").assign)(i,n("./lib/deflate"),n("./lib/inflate"),n("./lib/zlib/constants")),r.exports=i},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(n,r,o){var i=n("./zlib/deflate"),a=n("./utils/common"),s=n("./utils/strings"),c=n("./zlib/messages"),l=n("./zlib/zstream"),u=Object.prototype.toString,f=0,d=-1,h=0,p=8;function m(x){if(!(this instanceof m))return new m(x);this.options=a.assign({level:d,method:p,chunkSize:16384,windowBits:15,memLevel:8,strategy:h,to:""},x||{});var R=this.options;R.raw&&0<R.windowBits?R.windowBits=-R.windowBits:R.gzip&&0<R.windowBits&&R.windowBits<16&&(R.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var y=i.deflateInit2(this.strm,R.level,R.method,R.windowBits,R.memLevel,R.strategy);if(y!==f)throw new Error(c[y]);if(R.header&&i.deflateSetHeader(this.strm,R.header),R.dictionary){var g;if(g=typeof R.dictionary=="string"?s.string2buf(R.dictionary):u.call(R.dictionary)==="[object ArrayBuffer]"?new Uint8Array(R.dictionary):R.dictionary,(y=i.deflateSetDictionary(this.strm,g))!==f)throw new Error(c[y]);this._dict_set=!0}}function A(x,R){var y=new m(R);if(y.push(x,!0),y.err)throw y.msg||c[y.err];return y.result}m.prototype.push=function(x,R){var y,g,S=this.strm,L=this.options.chunkSize;if(this.ended)return!1;g=R===~~R?R:R===!0?4:0,typeof x=="string"?S.input=s.string2buf(x):u.call(x)==="[object ArrayBuffer]"?S.input=new Uint8Array(x):S.input=x,S.next_in=0,S.avail_in=S.input.length;do{if(S.avail_out===0&&(S.output=new a.Buf8(L),S.next_out=0,S.avail_out=L),(y=i.deflate(S,g))!==1&&y!==f)return this.onEnd(y),!(this.ended=!0);S.avail_out!==0&&(S.avail_in!==0||g!==4&&g!==2)||(this.options.to==="string"?this.onData(s.buf2binstring(a.shrinkBuf(S.output,S.next_out))):this.onData(a.shrinkBuf(S.output,S.next_out)))}while((0<S.avail_in||S.avail_out===0)&&y!==1);return g===4?(y=i.deflateEnd(this.strm),this.onEnd(y),this.ended=!0,y===f):g!==2||(this.onEnd(f),!(S.avail_out=0))},m.prototype.onData=function(x){this.chunks.push(x)},m.prototype.onEnd=function(x){x===f&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=x,this.msg=this.strm.msg},o.Deflate=m,o.deflate=A,o.deflateRaw=function(x,R){return(R=R||{}).raw=!0,A(x,R)},o.gzip=function(x,R){return(R=R||{}).gzip=!0,A(x,R)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(n,r,o){var i=n("./zlib/inflate"),a=n("./utils/common"),s=n("./utils/strings"),c=n("./zlib/constants"),l=n("./zlib/messages"),u=n("./zlib/zstream"),f=n("./zlib/gzheader"),d=Object.prototype.toString;function h(m){if(!(this instanceof h))return new h(m);this.options=a.assign({chunkSize:16384,windowBits:0,to:""},m||{});var A=this.options;A.raw&&0<=A.windowBits&&A.windowBits<16&&(A.windowBits=-A.windowBits,A.windowBits===0&&(A.windowBits=-15)),!(0<=A.windowBits&&A.windowBits<16)||m&&m.windowBits||(A.windowBits+=32),15<A.windowBits&&A.windowBits<48&&!(15&A.windowBits)&&(A.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var x=i.inflateInit2(this.strm,A.windowBits);if(x!==c.Z_OK)throw new Error(l[x]);this.header=new f,i.inflateGetHeader(this.strm,this.header)}function p(m,A){var x=new h(A);if(x.push(m,!0),x.err)throw x.msg||l[x.err];return x.result}h.prototype.push=function(m,A){var x,R,y,g,S,L,T=this.strm,M=this.options.chunkSize,O=this.options.dictionary,k=!1;if(this.ended)return!1;R=A===~~A?A:A===!0?c.Z_FINISH:c.Z_NO_FLUSH,typeof m=="string"?T.input=s.binstring2buf(m):d.call(m)==="[object ArrayBuffer]"?T.input=new Uint8Array(m):T.input=m,T.next_in=0,T.avail_in=T.input.length;do{if(T.avail_out===0&&(T.output=new a.Buf8(M),T.next_out=0,T.avail_out=M),(x=i.inflate(T,c.Z_NO_FLUSH))===c.Z_NEED_DICT&&O&&(L=typeof O=="string"?s.string2buf(O):d.call(O)==="[object ArrayBuffer]"?new Uint8Array(O):O,x=i.inflateSetDictionary(this.strm,L)),x===c.Z_BUF_ERROR&&k===!0&&(x=c.Z_OK,k=!1),x!==c.Z_STREAM_END&&x!==c.Z_OK)return this.onEnd(x),!(this.ended=!0);T.next_out&&(T.avail_out!==0&&x!==c.Z_STREAM_END&&(T.avail_in!==0||R!==c.Z_FINISH&&R!==c.Z_SYNC_FLUSH)||(this.options.to==="string"?(y=s.utf8border(T.output,T.next_out),g=T.next_out-y,S=s.buf2string(T.output,y),T.next_out=g,T.avail_out=M-g,g&&a.arraySet(T.output,T.output,y,g,0),this.onData(S)):this.onData(a.shrinkBuf(T.output,T.next_out)))),T.avail_in===0&&T.avail_out===0&&(k=!0)}while((0<T.avail_in||T.avail_out===0)&&x!==c.Z_STREAM_END);return x===c.Z_STREAM_END&&(R=c.Z_FINISH),R===c.Z_FINISH?(x=i.inflateEnd(this.strm),this.onEnd(x),this.ended=!0,x===c.Z_OK):R!==c.Z_SYNC_FLUSH||(this.onEnd(c.Z_OK),!(T.avail_out=0))},h.prototype.onData=function(m){this.chunks.push(m)},h.prototype.onEnd=function(m){m===c.Z_OK&&(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},o.Inflate=h,o.inflate=p,o.inflateRaw=function(m,A){return(A=A||{}).raw=!0,p(m,A)},o.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,o){var i=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";o.assign=function(c){for(var l=Array.prototype.slice.call(arguments,1);l.length;){var u=l.shift();if(u){if(typeof u!="object")throw new TypeError(u+"must be non-object");for(var f in u)u.hasOwnProperty(f)&&(c[f]=u[f])}}return c},o.shrinkBuf=function(c,l){return c.length===l?c:c.subarray?c.subarray(0,l):(c.length=l,c)};var a={arraySet:function(c,l,u,f,d){if(l.subarray&&c.subarray)c.set(l.subarray(u,u+f),d);else for(var h=0;h<f;h++)c[d+h]=l[u+h]},flattenChunks:function(c){var l,u,f,d,h,p;for(l=f=0,u=c.length;l<u;l++)f+=c[l].length;for(p=new Uint8Array(f),l=d=0,u=c.length;l<u;l++)h=c[l],p.set(h,d),d+=h.length;return p}},s={arraySet:function(c,l,u,f,d){for(var h=0;h<f;h++)c[d+h]=l[u+h]},flattenChunks:function(c){return[].concat.apply([],c)}};o.setTyped=function(c){c?(o.Buf8=Uint8Array,o.Buf16=Uint16Array,o.Buf32=Int32Array,o.assign(o,a)):(o.Buf8=Array,o.Buf16=Array,o.Buf32=Array,o.assign(o,s))},o.setTyped(i)},{}],42:[function(n,r,o){var i=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 c=new i.Buf8(256),l=0;l<256;l++)c[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;function u(f,d){if(d<65537&&(f.subarray&&s||!f.subarray&&a))return String.fromCharCode.apply(null,i.shrinkBuf(f,d));for(var h="",p=0;p<d;p++)h+=String.fromCharCode(f[p]);return h}c[254]=c[254]=1,o.string2buf=function(f){var d,h,p,m,A,x=f.length,R=0;for(m=0;m<x;m++)(64512&(h=f.charCodeAt(m)))==55296&&m+1<x&&(64512&(p=f.charCodeAt(m+1)))==56320&&(h=65536+(h-55296<<10)+(p-56320),m++),R+=h<128?1:h<2048?2:h<65536?3:4;for(d=new i.Buf8(R),m=A=0;A<R;m++)(64512&(h=f.charCodeAt(m)))==55296&&m+1<x&&(64512&(p=f.charCodeAt(m+1)))==56320&&(h=65536+(h-55296<<10)+(p-56320),m++),h<128?d[A++]=h:(h<2048?d[A++]=192|h>>>6:(h<65536?d[A++]=224|h>>>12:(d[A++]=240|h>>>18,d[A++]=128|h>>>12&63),d[A++]=128|h>>>6&63),d[A++]=128|63&h);return d},o.buf2binstring=function(f){return u(f,f.length)},o.binstring2buf=function(f){for(var d=new i.Buf8(f.length),h=0,p=d.length;h<p;h++)d[h]=f.charCodeAt(h);return d},o.buf2string=function(f,d){var h,p,m,A,x=d||f.length,R=new Array(2*x);for(h=p=0;h<x;)if((m=f[h++])<128)R[p++]=m;else if(4<(A=c[m]))R[p++]=65533,h+=A-1;else{for(m&=A===2?31:A===3?15:7;1<A&&h<x;)m=m<<6|63&f[h++],A--;1<A?R[p++]=65533:m<65536?R[p++]=m:(m-=65536,R[p++]=55296|m>>10&1023,R[p++]=56320|1023&m)}return u(R,p)},o.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+c[f[h]]>d?h:d}},{"./common":41}],43:[function(n,r,o){r.exports=function(i,a,s,c){for(var l=65535&i|0,u=i>>>16&65535|0,f=0;s!==0;){for(s-=f=2e3<s?2e3:s;u=u+(l=l+a[c++]|0)|0,--f;);l%=65521,u%=65521}return l|u<<16|0}},{}],44:[function(n,r,o){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,o){var i=function(){for(var a,s=[],c=0;c<256;c++){a=c;for(var l=0;l<8;l++)a=1&a?3988292384^a>>>1:a>>>1;s[c]=a}return s}();r.exports=function(a,s,c,l){var u=i,f=l+c;a^=-1;for(var d=l;d<f;d++)a=a>>>8^u[255&(a^s[d])];return-1^a}},{}],46:[function(n,r,o){var i,a=n("../utils/common"),s=n("./trees"),c=n("./adler32"),l=n("./crc32"),u=n("./messages"),f=0,d=4,h=0,p=-2,m=-1,A=4,x=2,R=8,y=9,g=286,S=30,L=19,T=2*g+1,M=15,O=3,k=258,_=k+O+1,N=42,X=113,C=1,F=2,I=3,V=4;function B(W,j){return W.msg=u[j],j}function G(W){return(W<<1)-(4<W?9:0)}function ne(W){for(var j=W.length;0<=--j;)W[j]=0}function E(W){var j=W.state,ue=j.pending;ue>W.avail_out&&(ue=W.avail_out),ue!==0&&(a.arraySet(W.output,j.pending_buf,j.pending_out,ue,W.next_out),W.next_out+=ue,j.pending_out+=ue,W.total_out+=ue,W.avail_out-=ue,j.pending-=ue,j.pending===0&&(j.pending_out=0))}function Z(W,j){s._tr_flush_block(W,0<=W.block_start?W.block_start:-1,W.strstart-W.block_start,j),W.block_start=W.strstart,E(W.strm)}function K(W,j){W.pending_buf[W.pending++]=j}function U(W,j){W.pending_buf[W.pending++]=j>>>8&255,W.pending_buf[W.pending++]=255&j}function J(W,j){var ue,$,q=W.max_chain_length,se=W.strstart,ve=W.prev_length,ce=W.nice_match,de=W.strstart>W.w_size-_?W.strstart-(W.w_size-_):0,be=W.window,_e=W.w_mask,Ie=W.prev,Ae=W.strstart+k,qe=be[se+ve-1],Xe=be[se+ve];W.prev_length>=W.good_match&&(q>>=2),ce>W.lookahead&&(ce=W.lookahead);do if(be[(ue=j)+ve]===Xe&&be[ue+ve-1]===qe&&be[ue]===be[se]&&be[++ue]===be[se+1]){se+=2,ue++;do;while(be[++se]===be[++ue]&&be[++se]===be[++ue]&&be[++se]===be[++ue]&&be[++se]===be[++ue]&&be[++se]===be[++ue]&&be[++se]===be[++ue]&&be[++se]===be[++ue]&&be[++se]===be[++ue]&&se<Ae);if($=k-(Ae-se),se=Ae-k,ve<$){if(W.match_start=j,ce<=(ve=$))break;qe=be[se+ve-1],Xe=be[se+ve]}}while((j=Ie[j&_e])>de&&--q!=0);return ve<=W.lookahead?ve:W.lookahead}function le(W){var j,ue,$,q,se,ve,ce,de,be,_e,Ie=W.w_size;do{if(q=W.window_size-W.lookahead-W.strstart,W.strstart>=Ie+(Ie-_)){for(a.arraySet(W.window,W.window,Ie,Ie,0),W.match_start-=Ie,W.strstart-=Ie,W.block_start-=Ie,j=ue=W.hash_size;$=W.head[--j],W.head[j]=Ie<=$?$-Ie:0,--ue;);for(j=ue=Ie;$=W.prev[--j],W.prev[j]=Ie<=$?$-Ie:0,--ue;);q+=Ie}if(W.strm.avail_in===0)break;if(ve=W.strm,ce=W.window,de=W.strstart+W.lookahead,be=q,_e=void 0,_e=ve.avail_in,be<_e&&(_e=be),ue=_e===0?0:(ve.avail_in-=_e,a.arraySet(ce,ve.input,ve.next_in,_e,de),ve.state.wrap===1?ve.adler=c(ve.adler,ce,_e,de):ve.state.wrap===2&&(ve.adler=l(ve.adler,ce,_e,de)),ve.next_in+=_e,ve.total_in+=_e,_e),W.lookahead+=ue,W.lookahead+W.insert>=O)for(se=W.strstart-W.insert,W.ins_h=W.window[se],W.ins_h=(W.ins_h<<W.hash_shift^W.window[se+1])&W.hash_mask;W.insert&&(W.ins_h=(W.ins_h<<W.hash_shift^W.window[se+O-1])&W.hash_mask,W.prev[se&W.w_mask]=W.head[W.ins_h],W.head[W.ins_h]=se,se++,W.insert--,!(W.lookahead+W.insert<O)););}while(W.lookahead<_&&W.strm.avail_in!==0)}function ie(W,j){for(var ue,$;;){if(W.lookahead<_){if(le(W),W.lookahead<_&&j===f)return C;if(W.lookahead===0)break}if(ue=0,W.lookahead>=O&&(W.ins_h=(W.ins_h<<W.hash_shift^W.window[W.strstart+O-1])&W.hash_mask,ue=W.prev[W.strstart&W.w_mask]=W.head[W.ins_h],W.head[W.ins_h]=W.strstart),ue!==0&&W.strstart-ue<=W.w_size-_&&(W.match_length=J(W,ue)),W.match_length>=O)if($=s._tr_tally(W,W.strstart-W.match_start,W.match_length-O),W.lookahead-=W.match_length,W.match_length<=W.max_lazy_match&&W.lookahead>=O){for(W.match_length--;W.strstart++,W.ins_h=(W.ins_h<<W.hash_shift^W.window[W.strstart+O-1])&W.hash_mask,ue=W.prev[W.strstart&W.w_mask]=W.head[W.ins_h],W.head[W.ins_h]=W.strstart,--W.match_length!=0;);W.strstart++}else W.strstart+=W.match_length,W.match_length=0,W.ins_h=W.window[W.strstart],W.ins_h=(W.ins_h<<W.hash_shift^W.window[W.strstart+1])&W.hash_mask;else $=s._tr_tally(W,0,W.window[W.strstart]),W.lookahead--,W.strstart++;if($&&(Z(W,!1),W.strm.avail_out===0))return C}return W.insert=W.strstart<O-1?W.strstart:O-1,j===d?(Z(W,!0),W.strm.avail_out===0?I:V):W.last_lit&&(Z(W,!1),W.strm.avail_out===0)?C:F}function oe(W,j){for(var ue,$,q;;){if(W.lookahead<_){if(le(W),W.lookahead<_&&j===f)return C;if(W.lookahead===0)break}if(ue=0,W.lookahead>=O&&(W.ins_h=(W.ins_h<<W.hash_shift^W.window[W.strstart+O-1])&W.hash_mask,ue=W.prev[W.strstart&W.w_mask]=W.head[W.ins_h],W.head[W.ins_h]=W.strstart),W.prev_length=W.match_length,W.prev_match=W.match_start,W.match_length=O-1,ue!==0&&W.prev_length<W.max_lazy_match&&W.strstart-ue<=W.w_size-_&&(W.match_length=J(W,ue),W.match_length<=5&&(W.strategy===1||W.match_length===O&&4096<W.strstart-W.match_start)&&(W.match_length=O-1)),W.prev_length>=O&&W.match_length<=W.prev_length){for(q=W.strstart+W.lookahead-O,$=s._tr_tally(W,W.strstart-1-W.prev_match,W.prev_length-O),W.lookahead-=W.prev_length-1,W.prev_length-=2;++W.strstart<=q&&(W.ins_h=(W.ins_h<<W.hash_shift^W.window[W.strstart+O-1])&W.hash_mask,ue=W.prev[W.strstart&W.w_mask]=W.head[W.ins_h],W.head[W.ins_h]=W.strstart),--W.prev_length!=0;);if(W.match_available=0,W.match_length=O-1,W.strstart++,$&&(Z(W,!1),W.strm.avail_out===0))return C}else if(W.match_available){if(($=s._tr_tally(W,0,W.window[W.strstart-1]))&&Z(W,!1),W.strstart++,W.lookahead--,W.strm.avail_out===0)return C}else W.match_available=1,W.strstart++,W.lookahead--}return W.match_available&&($=s._tr_tally(W,0,W.window[W.strstart-1]),W.match_available=0),W.insert=W.strstart<O-1?W.strstart:O-1,j===d?(Z(W,!0),W.strm.avail_out===0?I:V):W.last_lit&&(Z(W,!1),W.strm.avail_out===0)?C:F}function pe(W,j,ue,$,q){this.good_length=W,this.max_lazy=j,this.nice_length=ue,this.max_chain=$,this.func=q}function ge(){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=R,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*T),this.dyn_dtree=new a.Buf16(2*(2*S+1)),this.bl_tree=new a.Buf16(2*(2*L+1)),ne(this.dyn_ltree),ne(this.dyn_dtree),ne(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*g+1),ne(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new a.Buf16(2*g+1),ne(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 ye(W){var j;return W&&W.state?(W.total_in=W.total_out=0,W.data_type=x,(j=W.state).pending=0,j.pending_out=0,j.wrap<0&&(j.wrap=-j.wrap),j.status=j.wrap?N:X,W.adler=j.wrap===2?0:1,j.last_flush=f,s._tr_init(j),h):B(W,p)}function z(W){var j=ye(W);return j===h&&function(ue){ue.window_size=2*ue.w_size,ne(ue.head),ue.max_lazy_match=i[ue.level].max_lazy,ue.good_match=i[ue.level].good_length,ue.nice_match=i[ue.level].nice_length,ue.max_chain_length=i[ue.level].max_chain,ue.strstart=0,ue.block_start=0,ue.lookahead=0,ue.insert=0,ue.match_length=ue.prev_length=O-1,ue.match_available=0,ue.ins_h=0}(W.state),j}function ae(W,j,ue,$,q,se){if(!W)return p;var ve=1;if(j===m&&(j=6),$<0?(ve=0,$=-$):15<$&&(ve=2,$-=16),q<1||y<q||ue!==R||$<8||15<$||j<0||9<j||se<0||A<se)return B(W,p);$===8&&($=9);var ce=new ge;return(W.state=ce).strm=W,ce.wrap=ve,ce.gzhead=null,ce.w_bits=$,ce.w_size=1<<ce.w_bits,ce.w_mask=ce.w_size-1,ce.hash_bits=q+7,ce.hash_size=1<<ce.hash_bits,ce.hash_mask=ce.hash_size-1,ce.hash_shift=~~((ce.hash_bits+O-1)/O),ce.window=new a.Buf8(2*ce.w_size),ce.head=new a.Buf16(ce.hash_size),ce.prev=new a.Buf16(ce.w_size),ce.lit_bufsize=1<<q+6,ce.pending_buf_size=4*ce.lit_bufsize,ce.pending_buf=new a.Buf8(ce.pending_buf_size),ce.d_buf=1*ce.lit_bufsize,ce.l_buf=3*ce.lit_bufsize,ce.level=j,ce.strategy=se,ce.method=ue,z(W)}i=[new pe(0,0,0,0,function(W,j){var ue=65535;for(ue>W.pending_buf_size-5&&(ue=W.pending_buf_size-5);;){if(W.lookahead<=1){if(le(W),W.lookahead===0&&j===f)return C;if(W.lookahead===0)break}W.strstart+=W.lookahead,W.lookahead=0;var $=W.block_start+ue;if((W.strstart===0||W.strstart>=$)&&(W.lookahead=W.strstart-$,W.strstart=$,Z(W,!1),W.strm.avail_out===0)||W.strstart-W.block_start>=W.w_size-_&&(Z(W,!1),W.strm.avail_out===0))return C}return W.insert=0,j===d?(Z(W,!0),W.strm.avail_out===0?I:V):(W.strstart>W.block_start&&(Z(W,!1),W.strm.avail_out),C)}),new pe(4,4,8,4,ie),new pe(4,5,16,8,ie),new pe(4,6,32,32,ie),new pe(4,4,16,16,oe),new pe(8,16,32,32,oe),new pe(8,16,128,128,oe),new pe(8,32,128,256,oe),new pe(32,128,258,1024,oe),new pe(32,258,258,4096,oe)],o.deflateInit=function(W,j){return ae(W,j,R,15,8,0)},o.deflateInit2=ae,o.deflateReset=z,o.deflateResetKeep=ye,o.deflateSetHeader=function(W,j){return W&&W.state?W.state.wrap!==2?p:(W.state.gzhead=j,h):p},o.deflate=function(W,j){var ue,$,q,se;if(!W||!W.state||5<j||j<0)return W?B(W,p):p;if($=W.state,!W.output||!W.input&&W.avail_in!==0||$.status===666&&j!==d)return B(W,W.avail_out===0?-5:p);if($.strm=W,ue=$.last_flush,$.last_flush=j,$.status===N)if($.wrap===2)W.adler=0,K($,31),K($,139),K($,8),$.gzhead?(K($,($.gzhead.text?1:0)+($.gzhead.hcrc?2:0)+($.gzhead.extra?4:0)+($.gzhead.name?8:0)+($.gzhead.comment?16:0)),K($,255&$.gzhead.time),K($,$.gzhead.time>>8&255),K($,$.gzhead.time>>16&255),K($,$.gzhead.time>>24&255),K($,$.level===9?2:2<=$.strategy||$.level<2?4:0),K($,255&$.gzhead.os),$.gzhead.extra&&$.gzhead.extra.length&&(K($,255&$.gzhead.extra.length),K($,$.gzhead.extra.length>>8&255)),$.gzhead.hcrc&&(W.adler=l(W.adler,$.pending_buf,$.pending,0)),$.gzindex=0,$.status=69):(K($,0),K($,0),K($,0),K($,0),K($,0),K($,$.level===9?2:2<=$.strategy||$.level<2?4:0),K($,3),$.status=X);else{var ve=R+($.w_bits-8<<4)<<8;ve|=(2<=$.strategy||$.level<2?0:$.level<6?1:$.level===6?2:3)<<6,$.strstart!==0&&(ve|=32),ve+=31-ve%31,$.status=X,U($,ve),$.strstart!==0&&(U($,W.adler>>>16),U($,65535&W.adler)),W.adler=1}if($.status===69)if($.gzhead.extra){for(q=$.pending;$.gzindex<(65535&$.gzhead.extra.length)&&($.pending!==$.pending_buf_size||($.gzhead.hcrc&&$.pending>q&&(W.adler=l(W.adler,$.pending_buf,$.pending-q,q)),E(W),q=$.pending,$.pending!==$.pending_buf_size));)K($,255&$.gzhead.extra[$.gzindex]),$.gzindex++;$.gzhead.hcrc&&$.pending>q&&(W.adler=l(W.adler,$.pending_buf,$.pending-q,q)),$.gzindex===$.gzhead.extra.length&&($.gzindex=0,$.status=73)}else $.status=73;if($.status===73)if($.gzhead.name){q=$.pending;do{if($.pending===$.pending_buf_size&&($.gzhead.hcrc&&$.pending>q&&(W.adler=l(W.adler,$.pending_buf,$.pending-q,q)),E(W),q=$.pending,$.pending===$.pending_buf_size)){se=1;break}se=$.gzindex<$.gzhead.name.length?255&$.gzhead.name.charCodeAt($.gzindex++):0,K($,se)}while(se!==0);$.gzhead.hcrc&&$.pending>q&&(W.adler=l(W.adler,$.pending_buf,$.pending-q,q)),se===0&&($.gzindex=0,$.status=91)}else $.status=91;if($.status===91)if($.gzhead.comment){q=$.pending;do{if($.pending===$.pending_buf_size&&($.gzhead.hcrc&&$.pending>q&&(W.adler=l(W.adler,$.pending_buf,$.pending-q,q)),E(W),q=$.pending,$.pending===$.pending_buf_size)){se=1;break}se=$.gzindex<$.gzhead.comment.length?255&$.gzhead.comment.charCodeAt($.gzindex++):0,K($,se)}while(se!==0);$.gzhead.hcrc&&$.pending>q&&(W.adler=l(W.adler,$.pending_buf,$.pending-q,q)),se===0&&($.status=103)}else $.status=103;if($.status===103&&($.gzhead.hcrc?($.pending+2>$.pending_buf_size&&E(W),$.pending+2<=$.pending_buf_size&&(K($,255&W.adler),K($,W.adler>>8&255),W.adler=0,$.status=X)):$.status=X),$.pending!==0){if(E(W),W.avail_out===0)return $.last_flush=-1,h}else if(W.avail_in===0&&G(j)<=G(ue)&&j!==d)return B(W,-5);if($.status===666&&W.avail_in!==0)return B(W,-5);if(W.avail_in!==0||$.lookahead!==0||j!==f&&$.status!==666){var ce=$.strategy===2?function(de,be){for(var _e;;){if(de.lookahead===0&&(le(de),de.lookahead===0)){if(be===f)return C;break}if(de.match_length=0,_e=s._tr_tally(de,0,de.window[de.strstart]),de.lookahead--,de.strstart++,_e&&(Z(de,!1),de.strm.avail_out===0))return C}return de.insert=0,be===d?(Z(de,!0),de.strm.avail_out===0?I:V):de.last_lit&&(Z(de,!1),de.strm.avail_out===0)?C:F}($,j):$.strategy===3?function(de,be){for(var _e,Ie,Ae,qe,Xe=de.window;;){if(de.lookahead<=k){if(le(de),de.lookahead<=k&&be===f)return C;if(de.lookahead===0)break}if(de.match_length=0,de.lookahead>=O&&0<de.strstart&&(Ie=Xe[Ae=de.strstart-1])===Xe[++Ae]&&Ie===Xe[++Ae]&&Ie===Xe[++Ae]){qe=de.strstart+k;do;while(Ie===Xe[++Ae]&&Ie===Xe[++Ae]&&Ie===Xe[++Ae]&&Ie===Xe[++Ae]&&Ie===Xe[++Ae]&&Ie===Xe[++Ae]&&Ie===Xe[++Ae]&&Ie===Xe[++Ae]&&Ae<qe);de.match_length=k-(qe-Ae),de.match_length>de.lookahead&&(de.match_length=de.lookahead)}if(de.match_length>=O?(_e=s._tr_tally(de,1,de.match_length-O),de.lookahead-=de.match_length,de.strstart+=de.match_length,de.match_length=0):(_e=s._tr_tally(de,0,de.window[de.strstart]),de.lookahead--,de.strstart++),_e&&(Z(de,!1),de.strm.avail_out===0))return C}return de.insert=0,be===d?(Z(de,!0),de.strm.avail_out===0?I:V):de.last_lit&&(Z(de,!1),de.strm.avail_out===0)?C:F}($,j):i[$.level].func($,j);if(ce!==I&&ce!==V||($.status=666),ce===C||ce===I)return W.avail_out===0&&($.last_flush=-1),h;if(ce===F&&(j===1?s._tr_align($):j!==5&&(s._tr_stored_block($,0,0,!1),j===3&&(ne($.head),$.lookahead===0&&($.strstart=0,$.block_start=0,$.insert=0))),E(W),W.avail_out===0))return $.last_flush=-1,h}return j!==d?h:$.wrap<=0?1:($.wrap===2?(K($,255&W.adler),K($,W.adler>>8&255),K($,W.adler>>16&255),K($,W.adler>>24&255),K($,255&W.total_in),K($,W.total_in>>8&255),K($,W.total_in>>16&255),K($,W.total_in>>24&255)):(U($,W.adler>>>16),U($,65535&W.adler)),E(W),0<$.wrap&&($.wrap=-$.wrap),$.pending!==0?h:1)},o.deflateEnd=function(W){var j;return W&&W.state?(j=W.state.status)!==N&&j!==69&&j!==73&&j!==91&&j!==103&&j!==X&&j!==666?B(W,p):(W.state=null,j===X?B(W,-3):h):p},o.deflateSetDictionary=function(W,j){var ue,$,q,se,ve,ce,de,be,_e=j.length;if(!W||!W.state||(se=(ue=W.state).wrap)===2||se===1&&ue.status!==N||ue.lookahead)return p;for(se===1&&(W.adler=c(W.adler,j,_e,0)),ue.wrap=0,_e>=ue.w_size&&(se===0&&(ne(ue.head),ue.strstart=0,ue.block_start=0,ue.insert=0),be=new a.Buf8(ue.w_size),a.arraySet(be,j,_e-ue.w_size,ue.w_size,0),j=be,_e=ue.w_size),ve=W.avail_in,ce=W.next_in,de=W.input,W.avail_in=_e,W.next_in=0,W.input=j,le(ue);ue.lookahead>=O;){for($=ue.strstart,q=ue.lookahead-(O-1);ue.ins_h=(ue.ins_h<<ue.hash_shift^ue.window[$+O-1])&ue.hash_mask,ue.prev[$&ue.w_mask]=ue.head[ue.ins_h],ue.head[ue.ins_h]=$,$++,--q;);ue.strstart=$,ue.lookahead=O-1,le(ue)}return ue.strstart+=ue.lookahead,ue.block_start=ue.strstart,ue.insert=ue.lookahead,ue.lookahead=0,ue.match_length=ue.prev_length=O-1,ue.match_available=0,W.next_in=ce,W.input=de,W.avail_in=ve,ue.wrap=se,h},o.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(n,r,o){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,o){r.exports=function(i,a){var s,c,l,u,f,d,h,p,m,A,x,R,y,g,S,L,T,M,O,k,_,N,X,C,F;s=i.state,c=i.next_in,C=i.input,l=c+(i.avail_in-5),u=i.next_out,F=i.output,f=u-(a-i.avail_out),d=u+(i.avail_out-257),h=s.dmax,p=s.wsize,m=s.whave,A=s.wnext,x=s.window,R=s.hold,y=s.bits,g=s.lencode,S=s.distcode,L=(1<<s.lenbits)-1,T=(1<<s.distbits)-1;e:do{y<15&&(R+=C[c++]<<y,y+=8,R+=C[c++]<<y,y+=8),M=g[R&L];t:for(;;){if(R>>>=O=M>>>24,y-=O,(O=M>>>16&255)===0)F[u++]=65535&M;else{if(!(16&O)){if(!(64&O)){M=g[(65535&M)+(R&(1<<O)-1)];continue t}if(32&O){s.mode=12;break e}i.msg="invalid literal/length code",s.mode=30;break e}k=65535&M,(O&=15)&&(y<O&&(R+=C[c++]<<y,y+=8),k+=R&(1<<O)-1,R>>>=O,y-=O),y<15&&(R+=C[c++]<<y,y+=8,R+=C[c++]<<y,y+=8),M=S[R&T];n:for(;;){if(R>>>=O=M>>>24,y-=O,!(16&(O=M>>>16&255))){if(!(64&O)){M=S[(65535&M)+(R&(1<<O)-1)];continue n}i.msg="invalid distance code",s.mode=30;break e}if(_=65535&M,y<(O&=15)&&(R+=C[c++]<<y,(y+=8)<O&&(R+=C[c++]<<y,y+=8)),h<(_+=R&(1<<O)-1)){i.msg="invalid distance too far back",s.mode=30;break e}if(R>>>=O,y-=O,(O=u-f)<_){if(m<(O=_-O)&&s.sane){i.msg="invalid distance too far back",s.mode=30;break e}if(X=x,(N=0)===A){if(N+=p-O,O<k){for(k-=O;F[u++]=x[N++],--O;);N=u-_,X=F}}else if(A<O){if(N+=p+A-O,(O-=A)<k){for(k-=O;F[u++]=x[N++],--O;);if(N=0,A<k){for(k-=O=A;F[u++]=x[N++],--O;);N=u-_,X=F}}}else if(N+=A-O,O<k){for(k-=O;F[u++]=x[N++],--O;);N=u-_,X=F}for(;2<k;)F[u++]=X[N++],F[u++]=X[N++],F[u++]=X[N++],k-=3;k&&(F[u++]=X[N++],1<k&&(F[u++]=X[N++]))}else{for(N=u-_;F[u++]=F[N++],F[u++]=F[N++],F[u++]=F[N++],2<(k-=3););k&&(F[u++]=F[N++],1<k&&(F[u++]=F[N++]))}break}}break}}while(c<l&&u<d);c-=k=y>>3,R&=(1<<(y-=k<<3))-1,i.next_in=c,i.next_out=u,i.avail_in=c<l?l-c+5:5-(c-l),i.avail_out=u<d?d-u+257:257-(u-d),s.hold=R,s.bits=y}},{}],49:[function(n,r,o){var i=n("../utils/common"),a=n("./adler32"),s=n("./crc32"),c=n("./inffast"),l=n("./inftrees"),u=1,f=2,d=0,h=-2,p=1,m=852,A=592;function x(N){return(N>>>24&255)+(N>>>8&65280)+((65280&N)<<8)+((255&N)<<24)}function R(){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 i.Buf16(320),this.work=new i.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function y(N){var X;return N&&N.state?(X=N.state,N.total_in=N.total_out=X.total=0,N.msg="",X.wrap&&(N.adler=1&X.wrap),X.mode=p,X.last=0,X.havedict=0,X.dmax=32768,X.head=null,X.hold=0,X.bits=0,X.lencode=X.lendyn=new i.Buf32(m),X.distcode=X.distdyn=new i.Buf32(A),X.sane=1,X.back=-1,d):h}function g(N){var X;return N&&N.state?((X=N.state).wsize=0,X.whave=0,X.wnext=0,y(N)):h}function S(N,X){var C,F;return N&&N.state?(F=N.state,X<0?(C=0,X=-X):(C=1+(X>>4),X<48&&(X&=15)),X&&(X<8||15<X)?h:(F.window!==null&&F.wbits!==X&&(F.window=null),F.wrap=C,F.wbits=X,g(N))):h}function L(N,X){var C,F;return N?(F=new R,(N.state=F).window=null,(C=S(N,X))!==d&&(N.state=null),C):h}var T,M,O=!0;function k(N){if(O){var X;for(T=new i.Buf32(512),M=new i.Buf32(32),X=0;X<144;)N.lens[X++]=8;for(;X<256;)N.lens[X++]=9;for(;X<280;)N.lens[X++]=7;for(;X<288;)N.lens[X++]=8;for(l(u,N.lens,0,288,T,0,N.work,{bits:9}),X=0;X<32;)N.lens[X++]=5;l(f,N.lens,0,32,M,0,N.work,{bits:5}),O=!1}N.lencode=T,N.lenbits=9,N.distcode=M,N.distbits=5}function _(N,X,C,F){var I,V=N.state;return V.window===null&&(V.wsize=1<<V.wbits,V.wnext=0,V.whave=0,V.window=new i.Buf8(V.wsize)),F>=V.wsize?(i.arraySet(V.window,X,C-V.wsize,V.wsize,0),V.wnext=0,V.whave=V.wsize):(F<(I=V.wsize-V.wnext)&&(I=F),i.arraySet(V.window,X,C-F,I,V.wnext),(F-=I)?(i.arraySet(V.window,X,C-F,F,0),V.wnext=F,V.whave=V.wsize):(V.wnext+=I,V.wnext===V.wsize&&(V.wnext=0),V.whave<V.wsize&&(V.whave+=I))),0}o.inflateReset=g,o.inflateReset2=S,o.inflateResetKeep=y,o.inflateInit=function(N){return L(N,15)},o.inflateInit2=L,o.inflate=function(N,X){var C,F,I,V,B,G,ne,E,Z,K,U,J,le,ie,oe,pe,ge,ye,z,ae,W,j,ue,$,q=0,se=new i.Buf8(4),ve=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!N||!N.state||!N.output||!N.input&&N.avail_in!==0)return h;(C=N.state).mode===12&&(C.mode=13),B=N.next_out,I=N.output,ne=N.avail_out,V=N.next_in,F=N.input,G=N.avail_in,E=C.hold,Z=C.bits,K=G,U=ne,j=d;e:for(;;)switch(C.mode){case p:if(C.wrap===0){C.mode=13;break}for(;Z<16;){if(G===0)break e;G--,E+=F[V++]<<Z,Z+=8}if(2&C.wrap&&E===35615){se[C.check=0]=255&E,se[1]=E>>>8&255,C.check=s(C.check,se,2,0),Z=E=0,C.mode=2;break}if(C.flags=0,C.head&&(C.head.done=!1),!(1&C.wrap)||(((255&E)<<8)+(E>>8))%31){N.msg="incorrect header check",C.mode=30;break}if((15&E)!=8){N.msg="unknown compression method",C.mode=30;break}if(Z-=4,W=8+(15&(E>>>=4)),C.wbits===0)C.wbits=W;else if(W>C.wbits){N.msg="invalid window size",C.mode=30;break}C.dmax=1<<W,N.adler=C.check=1,C.mode=512&E?10:12,Z=E=0;break;case 2:for(;Z<16;){if(G===0)break e;G--,E+=F[V++]<<Z,Z+=8}if(C.flags=E,(255&C.flags)!=8){N.msg="unknown compression method",C.mode=30;break}if(57344&C.flags){N.msg="unknown header flags set",C.mode=30;break}C.head&&(C.head.text=E>>8&1),512&C.flags&&(se[0]=255&E,se[1]=E>>>8&255,C.check=s(C.check,se,2,0)),Z=E=0,C.mode=3;case 3:for(;Z<32;){if(G===0)break e;G--,E+=F[V++]<<Z,Z+=8}C.head&&(C.head.time=E),512&C.flags&&(se[0]=255&E,se[1]=E>>>8&255,se[2]=E>>>16&255,se[3]=E>>>24&255,C.check=s(C.check,se,4,0)),Z=E=0,C.mode=4;case 4:for(;Z<16;){if(G===0)break e;G--,E+=F[V++]<<Z,Z+=8}C.head&&(C.head.xflags=255&E,C.head.os=E>>8),512&C.flags&&(se[0]=255&E,se[1]=E>>>8&255,C.check=s(C.check,se,2,0)),Z=E=0,C.mode=5;case 5:if(1024&C.flags){for(;Z<16;){if(G===0)break e;G--,E+=F[V++]<<Z,Z+=8}C.length=E,C.head&&(C.head.extra_len=E),512&C.flags&&(se[0]=255&E,se[1]=E>>>8&255,C.check=s(C.check,se,2,0)),Z=E=0}else C.head&&(C.head.extra=null);C.mode=6;case 6:if(1024&C.flags&&(G<(J=C.length)&&(J=G),J&&(C.head&&(W=C.head.extra_len-C.length,C.head.extra||(C.head.extra=new Array(C.head.extra_len)),i.arraySet(C.head.extra,F,V,J,W)),512&C.flags&&(C.check=s(C.check,F,J,V)),G-=J,V+=J,C.length-=J),C.length))break e;C.length=0,C.mode=7;case 7:if(2048&C.flags){if(G===0)break e;for(J=0;W=F[V+J++],C.head&&W&&C.length<65536&&(C.head.name+=String.fromCharCode(W)),W&&J<G;);if(512&C.flags&&(C.check=s(C.check,F,J,V)),G-=J,V+=J,W)break e}else C.head&&(C.head.name=null);C.length=0,C.mode=8;case 8:if(4096&C.flags){if(G===0)break e;for(J=0;W=F[V+J++],C.head&&W&&C.length<65536&&(C.head.comment+=String.fromCharCode(W)),W&&J<G;);if(512&C.flags&&(C.check=s(C.check,F,J,V)),G-=J,V+=J,W)break e}else C.head&&(C.head.comment=null);C.mode=9;case 9:if(512&C.flags){for(;Z<16;){if(G===0)break e;G--,E+=F[V++]<<Z,Z+=8}if(E!==(65535&C.check)){N.msg="header crc mismatch",C.mode=30;break}Z=E=0}C.head&&(C.head.hcrc=C.flags>>9&1,C.head.done=!0),N.adler=C.check=0,C.mode=12;break;case 10:for(;Z<32;){if(G===0)break e;G--,E+=F[V++]<<Z,Z+=8}N.adler=C.check=x(E),Z=E=0,C.mode=11;case 11:if(C.havedict===0)return N.next_out=B,N.avail_out=ne,N.next_in=V,N.avail_in=G,C.hold=E,C.bits=Z,2;N.adler=C.check=1,C.mode=12;case 12:if(X===5||X===6)break e;case 13:if(C.last){E>>>=7&Z,Z-=7&Z,C.mode=27;break}for(;Z<3;){if(G===0)break e;G--,E+=F[V++]<<Z,Z+=8}switch(C.last=1&E,Z-=1,3&(E>>>=1)){case 0:C.mode=14;break;case 1:if(k(C),C.mode=20,X!==6)break;E>>>=2,Z-=2;break e;case 2:C.mode=17;break;case 3:N.msg="invalid block type",C.mode=30}E>>>=2,Z-=2;break;case 14:for(E>>>=7&Z,Z-=7&Z;Z<32;){if(G===0)break e;G--,E+=F[V++]<<Z,Z+=8}if((65535&E)!=(E>>>16^65535)){N.msg="invalid stored block lengths",C.mode=30;break}if(C.length=65535&E,Z=E=0,C.mode=15,X===6)break e;case 15:C.mode=16;case 16:if(J=C.length){if(G<J&&(J=G),ne<J&&(J=ne),J===0)break e;i.arraySet(I,F,V,J,B),G-=J,V+=J,ne-=J,B+=J,C.length-=J;break}C.mode=12;break;case 17:for(;Z<14;){if(G===0)break e;G--,E+=F[V++]<<Z,Z+=8}if(C.nlen=257+(31&E),E>>>=5,Z-=5,C.ndist=1+(31&E),E>>>=5,Z-=5,C.ncode=4+(15&E),E>>>=4,Z-=4,286<C.nlen||30<C.ndist){N.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(;Z<3;){if(G===0)break e;G--,E+=F[V++]<<Z,Z+=8}C.lens[ve[C.have++]]=7&E,E>>>=3,Z-=3}for(;C.have<19;)C.lens[ve[C.have++]]=0;if(C.lencode=C.lendyn,C.lenbits=7,ue={bits:C.lenbits},j=l(0,C.lens,0,19,C.lencode,0,C.work,ue),C.lenbits=ue.bits,j){N.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(;pe=(q=C.lencode[E&(1<<C.lenbits)-1])>>>16&255,ge=65535&q,!((oe=q>>>24)<=Z);){if(G===0)break e;G--,E+=F[V++]<<Z,Z+=8}if(ge<16)E>>>=oe,Z-=oe,C.lens[C.have++]=ge;else{if(ge===16){for($=oe+2;Z<$;){if(G===0)break e;G--,E+=F[V++]<<Z,Z+=8}if(E>>>=oe,Z-=oe,C.have===0){N.msg="invalid bit length repeat",C.mode=30;break}W=C.lens[C.have-1],J=3+(3&E),E>>>=2,Z-=2}else if(ge===17){for($=oe+3;Z<$;){if(G===0)break e;G--,E+=F[V++]<<Z,Z+=8}Z-=oe,W=0,J=3+(7&(E>>>=oe)),E>>>=3,Z-=3}else{for($=oe+7;Z<$;){if(G===0)break e;G--,E+=F[V++]<<Z,Z+=8}Z-=oe,W=0,J=11+(127&(E>>>=oe)),E>>>=7,Z-=7}if(C.have+J>C.nlen+C.ndist){N.msg="invalid bit length repeat",C.mode=30;break}for(;J--;)C.lens[C.have++]=W}}if(C.mode===30)break;if(C.lens[256]===0){N.msg="invalid code -- missing end-of-block",C.mode=30;break}if(C.lenbits=9,ue={bits:C.lenbits},j=l(u,C.lens,0,C.nlen,C.lencode,0,C.work,ue),C.lenbits=ue.bits,j){N.msg="invalid literal/lengths set",C.mode=30;break}if(C.distbits=6,C.distcode=C.distdyn,ue={bits:C.distbits},j=l(f,C.lens,C.nlen,C.ndist,C.distcode,0,C.work,ue),C.distbits=ue.bits,j){N.msg="invalid distances set",C.mode=30;break}if(C.mode=20,X===6)break e;case 20:C.mode=21;case 21:if(6<=G&&258<=ne){N.next_out=B,N.avail_out=ne,N.next_in=V,N.avail_in=G,C.hold=E,C.bits=Z,c(N,U),B=N.next_out,I=N.output,ne=N.avail_out,V=N.next_in,F=N.input,G=N.avail_in,E=C.hold,Z=C.bits,C.mode===12&&(C.back=-1);break}for(C.back=0;pe=(q=C.lencode[E&(1<<C.lenbits)-1])>>>16&255,ge=65535&q,!((oe=q>>>24)<=Z);){if(G===0)break e;G--,E+=F[V++]<<Z,Z+=8}if(pe&&!(240&pe)){for(ye=oe,z=pe,ae=ge;pe=(q=C.lencode[ae+((E&(1<<ye+z)-1)>>ye)])>>>16&255,ge=65535&q,!(ye+(oe=q>>>24)<=Z);){if(G===0)break e;G--,E+=F[V++]<<Z,Z+=8}E>>>=ye,Z-=ye,C.back+=ye}if(E>>>=oe,Z-=oe,C.back+=oe,C.length=ge,pe===0){C.mode=26;break}if(32&pe){C.back=-1,C.mode=12;break}if(64&pe){N.msg="invalid literal/length code",C.mode=30;break}C.extra=15&pe,C.mode=22;case 22:if(C.extra){for($=C.extra;Z<$;){if(G===0)break e;G--,E+=F[V++]<<Z,Z+=8}C.length+=E&(1<<C.extra)-1,E>>>=C.extra,Z-=C.extra,C.back+=C.extra}C.was=C.length,C.mode=23;case 23:for(;pe=(q=C.distcode[E&(1<<C.distbits)-1])>>>16&255,ge=65535&q,!((oe=q>>>24)<=Z);){if(G===0)break e;G--,E+=F[V++]<<Z,Z+=8}if(!(240&pe)){for(ye=oe,z=pe,ae=ge;pe=(q=C.distcode[ae+((E&(1<<ye+z)-1)>>ye)])>>>16&255,ge=65535&q,!(ye+(oe=q>>>24)<=Z);){if(G===0)break e;G--,E+=F[V++]<<Z,Z+=8}E>>>=ye,Z-=ye,C.back+=ye}if(E>>>=oe,Z-=oe,C.back+=oe,64&pe){N.msg="invalid distance code",C.mode=30;break}C.offset=ge,C.extra=15&pe,C.mode=24;case 24:if(C.extra){for($=C.extra;Z<$;){if(G===0)break e;G--,E+=F[V++]<<Z,Z+=8}C.offset+=E&(1<<C.extra)-1,E>>>=C.extra,Z-=C.extra,C.back+=C.extra}if(C.offset>C.dmax){N.msg="invalid distance too far back",C.mode=30;break}C.mode=25;case 25:if(ne===0)break e;if(J=U-ne,C.offset>J){if((J=C.offset-J)>C.whave&&C.sane){N.msg="invalid distance too far back",C.mode=30;break}le=J>C.wnext?(J-=C.wnext,C.wsize-J):C.wnext-J,J>C.length&&(J=C.length),ie=C.window}else ie=I,le=B-C.offset,J=C.length;for(ne<J&&(J=ne),ne-=J,C.length-=J;I[B++]=ie[le++],--J;);C.length===0&&(C.mode=21);break;case 26:if(ne===0)break e;I[B++]=C.length,ne--,C.mode=21;break;case 27:if(C.wrap){for(;Z<32;){if(G===0)break e;G--,E|=F[V++]<<Z,Z+=8}if(U-=ne,N.total_out+=U,C.total+=U,U&&(N.adler=C.check=C.flags?s(C.check,I,U,B-U):a(C.check,I,U,B-U)),U=ne,(C.flags?E:x(E))!==C.check){N.msg="incorrect data check",C.mode=30;break}Z=E=0}C.mode=28;case 28:if(C.wrap&&C.flags){for(;Z<32;){if(G===0)break e;G--,E+=F[V++]<<Z,Z+=8}if(E!==(4294967295&C.total)){N.msg="incorrect length check",C.mode=30;break}Z=E=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 N.next_out=B,N.avail_out=ne,N.next_in=V,N.avail_in=G,C.hold=E,C.bits=Z,(C.wsize||U!==N.avail_out&&C.mode<30&&(C.mode<27||X!==4))&&_(N,N.output,N.next_out,U-N.avail_out)?(C.mode=31,-4):(K-=N.avail_in,U-=N.avail_out,N.total_in+=K,N.total_out+=U,C.total+=U,C.wrap&&U&&(N.adler=C.check=C.flags?s(C.check,I,U,N.next_out-U):a(C.check,I,U,N.next_out-U)),N.data_type=C.bits+(C.last?64:0)+(C.mode===12?128:0)+(C.mode===20||C.mode===15?256:0),(K==0&&U===0||X===4)&&j===d&&(j=-5),j)},o.inflateEnd=function(N){if(!N||!N.state)return h;var X=N.state;return X.window&&(X.window=null),N.state=null,d},o.inflateGetHeader=function(N,X){var C;return N&&N.state&&2&(C=N.state).wrap?((C.head=X).done=!1,d):h},o.inflateSetDictionary=function(N,X){var C,F=X.length;return N&&N.state?(C=N.state).wrap!==0&&C.mode!==11?h:C.mode===11&&a(1,X,F,0)!==C.check?-3:_(N,X,F,F)?(C.mode=31,-4):(C.havedict=1,d):h},o.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(n,r,o){var i=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],c=[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],l=[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(u,f,d,h,p,m,A,x){var R,y,g,S,L,T,M,O,k,_=x.bits,N=0,X=0,C=0,F=0,I=0,V=0,B=0,G=0,ne=0,E=0,Z=null,K=0,U=new i.Buf16(16),J=new i.Buf16(16),le=null,ie=0;for(N=0;N<=15;N++)U[N]=0;for(X=0;X<h;X++)U[f[d+X]]++;for(I=_,F=15;1<=F&&U[F]===0;F--);if(F<I&&(I=F),F===0)return p[m++]=20971520,p[m++]=20971520,x.bits=1,0;for(C=1;C<F&&U[C]===0;C++);for(I<C&&(I=C),N=G=1;N<=15;N++)if(G<<=1,(G-=U[N])<0)return-1;if(0<G&&(u===0||F!==1))return-1;for(J[1]=0,N=1;N<15;N++)J[N+1]=J[N]+U[N];for(X=0;X<h;X++)f[d+X]!==0&&(A[J[f[d+X]]++]=X);if(T=u===0?(Z=le=A,19):u===1?(Z=a,K-=257,le=s,ie-=257,256):(Z=c,le=l,-1),N=C,L=m,B=X=E=0,g=-1,S=(ne=1<<(V=I))-1,u===1&&852<ne||u===2&&592<ne)return 1;for(;;){for(M=N-B,k=A[X]<T?(O=0,A[X]):A[X]>T?(O=le[ie+A[X]],Z[K+A[X]]):(O=96,0),R=1<<N-B,C=y=1<<V;p[L+(E>>B)+(y-=R)]=M<<24|O<<16|k|0,y!==0;);for(R=1<<N-1;E&R;)R>>=1;if(R!==0?(E&=R-1,E+=R):E=0,X++,--U[N]==0){if(N===F)break;N=f[d+A[X]]}if(I<N&&(E&S)!==g){for(B===0&&(B=I),L+=C,G=1<<(V=N-B);V+B<F&&!((G-=U[V+B])<=0);)V++,G<<=1;if(ne+=1<<V,u===1&&852<ne||u===2&&592<ne)return 1;p[g=E&S]=I<<24|V<<16|L-m|0}}return E!==0&&(p[L+E]=N-B<<24|64<<16|0),x.bits=I,0}},{"../utils/common":41}],51:[function(n,r,o){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,o){var i=n("../utils/common"),a=0,s=1;function c(q){for(var se=q.length;0<=--se;)q[se]=0}var l=0,u=29,f=256,d=f+1+u,h=30,p=19,m=2*d+1,A=15,x=16,R=7,y=256,g=16,S=17,L=18,T=[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],O=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],k=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],_=new Array(2*(d+2));c(_);var N=new Array(2*h);c(N);var X=new Array(512);c(X);var C=new Array(256);c(C);var F=new Array(u);c(F);var I,V,B,G=new Array(h);function ne(q,se,ve,ce,de){this.static_tree=q,this.extra_bits=se,this.extra_base=ve,this.elems=ce,this.max_length=de,this.has_stree=q&&q.length}function E(q,se){this.dyn_tree=q,this.max_code=0,this.stat_desc=se}function Z(q){return q<256?X[q]:X[256+(q>>>7)]}function K(q,se){q.pending_buf[q.pending++]=255&se,q.pending_buf[q.pending++]=se>>>8&255}function U(q,se,ve){q.bi_valid>x-ve?(q.bi_buf|=se<<q.bi_valid&65535,K(q,q.bi_buf),q.bi_buf=se>>x-q.bi_valid,q.bi_valid+=ve-x):(q.bi_buf|=se<<q.bi_valid&65535,q.bi_valid+=ve)}function J(q,se,ve){U(q,ve[2*se],ve[2*se+1])}function le(q,se){for(var ve=0;ve|=1&q,q>>>=1,ve<<=1,0<--se;);return ve>>>1}function ie(q,se,ve){var ce,de,be=new Array(A+1),_e=0;for(ce=1;ce<=A;ce++)be[ce]=_e=_e+ve[ce-1]<<1;for(de=0;de<=se;de++){var Ie=q[2*de+1];Ie!==0&&(q[2*de]=le(be[Ie]++,Ie))}}function oe(q){var se;for(se=0;se<d;se++)q.dyn_ltree[2*se]=0;for(se=0;se<h;se++)q.dyn_dtree[2*se]=0;for(se=0;se<p;se++)q.bl_tree[2*se]=0;q.dyn_ltree[2*y]=1,q.opt_len=q.static_len=0,q.last_lit=q.matches=0}function pe(q){8<q.bi_valid?K(q,q.bi_buf):0<q.bi_valid&&(q.pending_buf[q.pending++]=q.bi_buf),q.bi_buf=0,q.bi_valid=0}function ge(q,se,ve,ce){var de=2*se,be=2*ve;return q[de]<q[be]||q[de]===q[be]&&ce[se]<=ce[ve]}function ye(q,se,ve){for(var ce=q.heap[ve],de=ve<<1;de<=q.heap_len&&(de<q.heap_len&&ge(se,q.heap[de+1],q.heap[de],q.depth)&&de++,!ge(se,ce,q.heap[de],q.depth));)q.heap[ve]=q.heap[de],ve=de,de<<=1;q.heap[ve]=ce}function z(q,se,ve){var ce,de,be,_e,Ie=0;if(q.last_lit!==0)for(;ce=q.pending_buf[q.d_buf+2*Ie]<<8|q.pending_buf[q.d_buf+2*Ie+1],de=q.pending_buf[q.l_buf+Ie],Ie++,ce===0?J(q,de,se):(J(q,(be=C[de])+f+1,se),(_e=T[be])!==0&&U(q,de-=F[be],_e),J(q,be=Z(--ce),ve),(_e=M[be])!==0&&U(q,ce-=G[be],_e)),Ie<q.last_lit;);J(q,y,se)}function ae(q,se){var ve,ce,de,be=se.dyn_tree,_e=se.stat_desc.static_tree,Ie=se.stat_desc.has_stree,Ae=se.stat_desc.elems,qe=-1;for(q.heap_len=0,q.heap_max=m,ve=0;ve<Ae;ve++)be[2*ve]!==0?(q.heap[++q.heap_len]=qe=ve,q.depth[ve]=0):be[2*ve+1]=0;for(;q.heap_len<2;)be[2*(de=q.heap[++q.heap_len]=qe<2?++qe:0)]=1,q.depth[de]=0,q.opt_len--,Ie&&(q.static_len-=_e[2*de+1]);for(se.max_code=qe,ve=q.heap_len>>1;1<=ve;ve--)ye(q,be,ve);for(de=Ae;ve=q.heap[1],q.heap[1]=q.heap[q.heap_len--],ye(q,be,1),ce=q.heap[1],q.heap[--q.heap_max]=ve,q.heap[--q.heap_max]=ce,be[2*de]=be[2*ve]+be[2*ce],q.depth[de]=(q.depth[ve]>=q.depth[ce]?q.depth[ve]:q.depth[ce])+1,be[2*ve+1]=be[2*ce+1]=de,q.heap[1]=de++,ye(q,be,1),2<=q.heap_len;);q.heap[--q.heap_max]=q.heap[1],function(Xe,Le){var Te,Ce,He,et,ke,De,tt=Le.dyn_tree,wt=Le.max_code,ut=Le.stat_desc.static_tree,ht=Le.stat_desc.has_stree,gt=Le.stat_desc.extra_bits,Ft=Le.stat_desc.extra_base,Yt=Le.stat_desc.max_length,Pn=0;for(et=0;et<=A;et++)Xe.bl_count[et]=0;for(tt[2*Xe.heap[Xe.heap_max]+1]=0,Te=Xe.heap_max+1;Te<m;Te++)Yt<(et=tt[2*tt[2*(Ce=Xe.heap[Te])+1]+1]+1)&&(et=Yt,Pn++),tt[2*Ce+1]=et,wt<Ce||(Xe.bl_count[et]++,ke=0,Ft<=Ce&&(ke=gt[Ce-Ft]),De=tt[2*Ce],Xe.opt_len+=De*(et+ke),ht&&(Xe.static_len+=De*(ut[2*Ce+1]+ke)));if(Pn!==0){do{for(et=Yt-1;Xe.bl_count[et]===0;)et--;Xe.bl_count[et]--,Xe.bl_count[et+1]+=2,Xe.bl_count[Yt]--,Pn-=2}while(0<Pn);for(et=Yt;et!==0;et--)for(Ce=Xe.bl_count[et];Ce!==0;)wt<(He=Xe.heap[--Te])||(tt[2*He+1]!==et&&(Xe.opt_len+=(et-tt[2*He+1])*tt[2*He],tt[2*He+1]=et),Ce--)}}(q,se),ie(be,qe,q.bl_count)}function W(q,se,ve){var ce,de,be=-1,_e=se[1],Ie=0,Ae=7,qe=4;for(_e===0&&(Ae=138,qe=3),se[2*(ve+1)+1]=65535,ce=0;ce<=ve;ce++)de=_e,_e=se[2*(ce+1)+1],++Ie<Ae&&de===_e||(Ie<qe?q.bl_tree[2*de]+=Ie:de!==0?(de!==be&&q.bl_tree[2*de]++,q.bl_tree[2*g]++):Ie<=10?q.bl_tree[2*S]++:q.bl_tree[2*L]++,be=de,qe=(Ie=0)===_e?(Ae=138,3):de===_e?(Ae=6,3):(Ae=7,4))}function j(q,se,ve){var ce,de,be=-1,_e=se[1],Ie=0,Ae=7,qe=4;for(_e===0&&(Ae=138,qe=3),ce=0;ce<=ve;ce++)if(de=_e,_e=se[2*(ce+1)+1],!(++Ie<Ae&&de===_e)){if(Ie<qe)for(;J(q,de,q.bl_tree),--Ie!=0;);else de!==0?(de!==be&&(J(q,de,q.bl_tree),Ie--),J(q,g,q.bl_tree),U(q,Ie-3,2)):Ie<=10?(J(q,S,q.bl_tree),U(q,Ie-3,3)):(J(q,L,q.bl_tree),U(q,Ie-11,7));be=de,qe=(Ie=0)===_e?(Ae=138,3):de===_e?(Ae=6,3):(Ae=7,4)}}c(G);var ue=!1;function $(q,se,ve,ce){U(q,(l<<1)+(ce?1:0),3),function(de,be,_e,Ie){pe(de),Ie&&(K(de,_e),K(de,~_e)),i.arraySet(de.pending_buf,de.window,be,_e,de.pending),de.pending+=_e}(q,se,ve,!0)}o._tr_init=function(q){ue||(function(){var se,ve,ce,de,be,_e=new Array(A+1);for(de=ce=0;de<u-1;de++)for(F[de]=ce,se=0;se<1<<T[de];se++)C[ce++]=de;for(C[ce-1]=de,de=be=0;de<16;de++)for(G[de]=be,se=0;se<1<<M[de];se++)X[be++]=de;for(be>>=7;de<h;de++)for(G[de]=be<<7,se=0;se<1<<M[de]-7;se++)X[256+be++]=de;for(ve=0;ve<=A;ve++)_e[ve]=0;for(se=0;se<=143;)_[2*se+1]=8,se++,_e[8]++;for(;se<=255;)_[2*se+1]=9,se++,_e[9]++;for(;se<=279;)_[2*se+1]=7,se++,_e[7]++;for(;se<=287;)_[2*se+1]=8,se++,_e[8]++;for(ie(_,d+1,_e),se=0;se<h;se++)N[2*se+1]=5,N[2*se]=le(se,5);I=new ne(_,T,f+1,d,A),V=new ne(N,M,0,h,A),B=new ne(new Array(0),O,0,p,R)}(),ue=!0),q.l_desc=new E(q.dyn_ltree,I),q.d_desc=new E(q.dyn_dtree,V),q.bl_desc=new E(q.bl_tree,B),q.bi_buf=0,q.bi_valid=0,oe(q)},o._tr_stored_block=$,o._tr_flush_block=function(q,se,ve,ce){var de,be,_e=0;0<q.level?(q.strm.data_type===2&&(q.strm.data_type=function(Ie){var Ae,qe=4093624447;for(Ae=0;Ae<=31;Ae++,qe>>>=1)if(1&qe&&Ie.dyn_ltree[2*Ae]!==0)return a;if(Ie.dyn_ltree[18]!==0||Ie.dyn_ltree[20]!==0||Ie.dyn_ltree[26]!==0)return s;for(Ae=32;Ae<f;Ae++)if(Ie.dyn_ltree[2*Ae]!==0)return s;return a}(q)),ae(q,q.l_desc),ae(q,q.d_desc),_e=function(Ie){var Ae;for(W(Ie,Ie.dyn_ltree,Ie.l_desc.max_code),W(Ie,Ie.dyn_dtree,Ie.d_desc.max_code),ae(Ie,Ie.bl_desc),Ae=p-1;3<=Ae&&Ie.bl_tree[2*k[Ae]+1]===0;Ae--);return Ie.opt_len+=3*(Ae+1)+5+5+4,Ae}(q),de=q.opt_len+3+7>>>3,(be=q.static_len+3+7>>>3)<=de&&(de=be)):de=be=ve+5,ve+4<=de&&se!==-1?$(q,se,ve,ce):q.strategy===4||be===de?(U(q,2+(ce?1:0),3),z(q,_,N)):(U(q,4+(ce?1:0),3),function(Ie,Ae,qe,Xe){var Le;for(U(Ie,Ae-257,5),U(Ie,qe-1,5),U(Ie,Xe-4,4),Le=0;Le<Xe;Le++)U(Ie,Ie.bl_tree[2*k[Le]+1],3);j(Ie,Ie.dyn_ltree,Ae-1),j(Ie,Ie.dyn_dtree,qe-1)}(q,q.l_desc.max_code+1,q.d_desc.max_code+1,_e+1),z(q,q.dyn_ltree,q.dyn_dtree)),oe(q),ce&&pe(q)},o._tr_tally=function(q,se,ve){return q.pending_buf[q.d_buf+2*q.last_lit]=se>>>8&255,q.pending_buf[q.d_buf+2*q.last_lit+1]=255&se,q.pending_buf[q.l_buf+q.last_lit]=255&ve,q.last_lit++,se===0?q.dyn_ltree[2*ve]++:(q.matches++,se--,q.dyn_ltree[2*(C[ve]+f+1)]++,q.dyn_dtree[2*Z(se)]++),q.last_lit===q.lit_bufsize-1},o._tr_align=function(q){U(q,2,3),J(q,y,_),function(se){se.bi_valid===16?(K(se,se.bi_buf),se.bi_buf=0,se.bi_valid=0):8<=se.bi_valid&&(se.pending_buf[se.pending++]=255&se.bi_buf,se.bi_buf>>=8,se.bi_valid-=8)}(q)}},{"../utils/common":41}],53:[function(n,r,o){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,o){(function(i){(function(a,s){if(!a.setImmediate){var c,l,u,f,d=1,h={},p=!1,m=a.document,A=Object.getPrototypeOf&&Object.getPrototypeOf(a);A=A&&A.setTimeout?A:a,c={}.toString.call(a.process)==="[object process]"?function(g){process.nextTick(function(){R(g)})}:function(){if(a.postMessage&&!a.importScripts){var g=!0,S=a.onmessage;return a.onmessage=function(){g=!1},a.postMessage("","*"),a.onmessage=S,g}}()?(f="setImmediate$"+Math.random()+"$",a.addEventListener?a.addEventListener("message",y,!1):a.attachEvent("onmessage",y),function(g){a.postMessage(f+g,"*")}):a.MessageChannel?((u=new MessageChannel).port1.onmessage=function(g){R(g.data)},function(g){u.port2.postMessage(g)}):m&&"onreadystatechange"in m.createElement("script")?(l=m.documentElement,function(g){var S=m.createElement("script");S.onreadystatechange=function(){R(g),S.onreadystatechange=null,l.removeChild(S),S=null},l.appendChild(S)}):function(g){setTimeout(R,0,g)},A.setImmediate=function(g){typeof g!="function"&&(g=new Function(""+g));for(var S=new Array(arguments.length-1),L=0;L<S.length;L++)S[L]=arguments[L+1];var T={callback:g,args:S};return h[d]=T,c(d),d++},A.clearImmediate=x}function x(g){delete h[g]}function R(g){if(p)setTimeout(R,0,g);else{var S=h[g];if(S){p=!0;try{(function(L){var T=L.callback,M=L.args;switch(M.length){case 0:T();break;case 1:T(M[0]);break;case 2:T(M[0],M[1]);break;case 3:T(M[0],M[1],M[2]);break;default:T.apply(s,M)}})(S)}finally{x(g),p=!1}}}}function y(g){g.source===a&&typeof g.data=="string"&&g.data.indexOf(f)===0&&R(+g.data.slice(f.length))}})(typeof self>"u"?i===void 0?this:i:self)}).call(this,typeof Pt<"u"?Pt:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(O_);var GRe=O_.exports;const T_=Vg(GRe);var wr=function(){return wr=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},wr.apply(this,arguments)};function Ga(e,t,n,r){function o(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function s(u){try{l(r.next(u))}catch(f){a(f)}}function c(u){try{l(r.throw(u))}catch(f){a(f)}}function l(u){u.done?i(u.value):o(u.value).then(s,c)}l((r=r.apply(e,t||[])).next())})}function Ja(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(l){return function(u){return c([l,u])}}function c(l){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,l[0]&&(n=0)),n;)try{if(r=1,o&&(i=l[0]&2?o.return:l[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,l[1])).done)return i;switch(o=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return n.label++,{value:l[1],done:!1};case 5:n.label++,o=l[1],l=[0];continue;case 7:l=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){n.label=l[1];break}if(l[0]===6&&n.label<i[1]){n.label=i[1],i=l;break}if(i&&n.label<i[2]){n.label=i[2],n.ops.push(l);break}i[2]&&n.ops.pop(),n.trys.pop();continue}l=t.call(e,n)}catch(u){l=[6,u],o=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function sv(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var Qt=914400,jp=12700,Dr=`\r
`,JRe=2147483649,u4=/^[0-9a-fA-F]{6}$/,zRe=1.67,jRe=27,Pf={type:"solid",color:"666666",pt:1},k_=[.05,.1,.05,.1],Cf={type:"solid",color:"363636",pt:1},lu={color:"888888",style:"solid",size:1,cap:"flat"},zo="000000",Ji=12,$Re=18,If="LAYOUT_16x9",vx="DEFAULT",N_="333333",Hc={type:"outer",blur:3,offset:23e3/12700,angle:90,color:"000000",opacity:.35,rotateWithShape:!0},dp=[.5,.5,.5,.5],qT={type:"outer",blur:8,offset:4,angle:270,color:"000000",opacity:.75},qRe={size:8,color:"FFFFFF",opacity:.75},Bs="2094734552",lv="2094734553",nh="2094734554",gx="2094734555",P_="2094734556",w0="ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""),rh=["C0504D","4F81BD","9BBB59","8064A2","4BACC6","F79646","628FC6","C86360","C0504D","4F81BD","9BBB59","8064A2","4BACC6","F79646","628FC6","C86360"],eye=["5DA5DA","FAA43A","60BD68","F17CB0","B2912F","B276B2","DECF3F","F15854","A7A7A7","5DA5DA","FAA43A","60BD68","F17CB0","B2912F","B276B2","DECF3F","F15854","A7A7A7"],qf;(function(e){e.left="left",e.center="center",e.right="right",e.justify="justify"})(qf||(qf={}));var ed;(function(e){e.b="b",e.ctr="ctr",e.t="t"})(ed||(ed={}));var C_="{F7021451-1387-4CA6-816F-3879F97B5CBC}",Ax;(function(e){e.arraybuffer="arraybuffer",e.base64="base64",e.binarystring="binarystring",e.blob="blob",e.nodebuffer="nodebuffer",e.uint8array="uint8array"})(Ax||(Ax={}));var Rx;(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"})(Rx||(Rx={}));var yx;(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"})(yx||(yx={}));var Ri;(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"})(Ri||(Ri={}));var xx;(function(e){e.left="left",e.center="center",e.right="right",e.justify="justify"})(xx||(xx={}));var bx;(function(e){e.top="top",e.middle="middle",e.bottom="bottom"})(bx||(bx={}));var bc;(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"})(bc||(bc={}));var at;(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"})(at||(at={}));var Sx;(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"})(Sx||(Sx={}));var Hl;(function(e){e.chart="chart",e.image="image",e.line="line",e.rect="rect",e.text="text",e.placeholder="placeholder"})(Hl||(Hl={}));var Bt;(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"})(Bt||(Bt={}));var _h;(function(e){e.title="title",e.body="body",e.image="pic",e.chart="chart",e.table="tbl",e.media="media"})(_h||(_h={}));var td;(function(e){e.DEFAULT="&#x2022;",e.CHECK="&#x2713;",e.STAR="&#x2605;",e.TRIANGLE="&#x25B6;"})(td||(td={}));var nd="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==",tye="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 en(e,t,n){return typeof e=="string"&&!isNaN(Number(e))&&(e=Number(e)),typeof e=="number"&&e<100?dn(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 cv(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 Zt(e){return typeof e>"u"||e==null?"":e.toString().replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}function dn(e){return typeof e=="number"&&e>100?e:(typeof e=="string"&&(e=Number(e.replace(/in*/gi,""))),Math.round(Qt*e))}function Ct(e){var t=Number(e)||0;return isNaN(t)?0:Math.round(t*jp)}function cu(e){return e=e||0,Math.round((e>360?e-360:e)*6e4)}function f4(e){var t=e.toString(16);return t.length===1?"0"+t:t}function d4(e,t,n){return(f4(e)+f4(t)+f4(n)).toUpperCase()}function Rn(e,t){var n=(e||"").replace("#","");!u4.test(n)&&n!==Ri.background1&&n!==Ri.background2&&n!==Ri.text1&&n!==Ri.text2&&n!==Ri.accent1&&n!==Ri.accent2&&n!==Ri.accent3&&n!==Ri.accent4&&n!==Ri.accent5&&n!==Ri.accent6&&(console.warn('"'.concat(n,'" is not a valid scheme color or hex RGB! "').concat(zo,`" used instead. Only provide 6-digit RGB or 'pptx.SchemeColor' values!`)),n=zo);var r=u4.test(n)?"srgbClr":"schemeClr",o='val="'+(u4.test(n)?n.toUpperCase():n)+'"';return t?"<a:".concat(r," ").concat(o,">").concat(t,"</a:").concat(r,">"):"<a:".concat(r," ").concat(o,"/>")}function nye(e,t){var n="",r=wr(wr({},t),e),o=Math.round(r.size*jp),i=r.color,a=Math.round(r.opacity*1e5);return n+='<a:glow rad="'.concat(o,'">'),n+=Rn(i,'<a:alpha val="'.concat(a,'"/>')),n+="</a:glow>",n}function Oi(e){var t="solid",n="",r="",o="";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":o+="<a:solidFill>".concat(Rn(n,r),"</a:solidFill>");break;default:o+="";break}return o}function Gs(e){return e._rels.length+e._relsChart.length+e._relsMedia.length+1}function E5(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 rye(e,t,n){var r,o,i=2.3+(!((r=e.options)===null||r===void 0)&&r.autoPageCharWeight?e.options.autoPageCharWeight:0),a=Math.floor(t/jp*Qt)/((!((o=e.options)===null||o===void 0)&&o.fontSize?e.options.fontSize:Ji)/i),s=[],c=[],l=[],u=[];e.text&&e.text.toString().trim().length===0?c.push({_type:Bt.tablecell,text:" "}):typeof e.text=="number"||typeof e.text=="string"?c.push({_type:Bt.tablecell,text:(e.text||"").toString().trim()}):Array.isArray(e.text)&&(c=e.text),n&&(console.log("[1/4] inputCells"),c.forEach(function(d,h){return console.log("[1/4] [".concat(h+1,"] cell: ").concat(JSON.stringify(d)))}));var f=[];return c.forEach(function(d){var h;typeof d.text=="string"&&(d.text.split(`
`).length>1?d.text.split(`
`).forEach(function(p){f.push({_type:Bt.tablecell,text:p,options:wr(wr({},d.options),{breakLine:!0})})}):f.push({_type:Bt.tablecell,text:d.text.trim(),options:d.options}),!((h=d.options)===null||h===void 0)&&h.breakLine&&(n&&console.log("inputCells: new line > ".concat(JSON.stringify(f))),l.push(f),f=[])),f.length>0&&(l.push(f),f=[])}),n&&(console.log("[2/4] inputLines1 (".concat(l.length,")")),l.forEach(function(d,h){return console.log("[2/4] [".concat(h+1,"] line: ").concat(JSON.stringify(d)))})),l.forEach(function(d){d.forEach(function(h){var p=[],m=String(h.text),A=m.split(" ");A.forEach(function(x,R){var y=wr({},h.options);y!=null&&y.breakLine&&(y.breakLine=R+1===A.length),p.push({_type:Bt.tablecell,text:x+(R+1<A.length?" ":""),options:y})}),u.push(p)})}),n&&(console.log("[3/4] inputLines2 (".concat(u.length,")")),u.forEach(function(d){return console.log("[3/4] line: ".concat(JSON.stringify(d)))})),u.forEach(function(d){var h=[],p="";d.forEach(function(m){p.length+m.text.length>a&&(s.push(h),h=[],p=""),h.push(m),p+=m.text.toString()}),h.length>0&&s.push(h)}),n&&(console.log("[4/4] parsedLines (".concat(s.length,")")),s.forEach(function(d,h){return console.log("[4/4] [Line ".concat(h+1,`]:
`).concat(JSON.stringify(d)))}),console.log(`...............................................
`)),s}function I_(e,t,n,r){e===void 0&&(e=[]),t===void 0&&(t={});var o=dp,i=Qt*1,a=Qt*1,s=0,c=0,l=[],u=en(t.x,"X",n),f=en(t.y,"Y",n),d=en(t.w,"X",n),h=en(t.h,"Y",n),p=d;function m(){var g=0;l.length===0&&(g=f||dn(o[0])),l.length>0&&(g=dn(t.autoPageSlideStartY||t.newSlideStartY||o[0])),a=(h||n.height)-g-dn(o[2]),l.length>1&&(typeof t.autoPageSlideStartY=="number"?a=(h||n.height)-dn(t.autoPageSlideStartY+o[2]):typeof t.newSlideStartY=="number"?a=(h||n.height)-dn(t.newSlideStartY+o[2]):f&&(a=(h||n.height)-dn((f/Qt<o[0]?f/Qt:o[0])+o[2]),a<h&&(a=h)))}t.verbose&&(console.log("[[VERBOSE MODE]]"),console.log("|-- TABLE PROPS --------------------------------------------------------|"),console.log("| presLayout.width ................................ = ".concat((n.width/Qt).toFixed(1))),console.log("| presLayout.height ............................... = ".concat((n.height/Qt).toFixed(1))),console.log("| tableProps.x .................................... = ".concat(typeof t.x=="number"?(t.x/Qt).toFixed(1):t.x)),console.log("| tableProps.y .................................... = ".concat(typeof t.y=="number"?(t.y/Qt).toFixed(1):t.y)),console.log("| tableProps.w .................................... = ".concat(typeof t.w=="number"?(t.w/Qt).toFixed(1):t.w)),console.log("| tableProps.h .................................... = ".concat(typeof t.h=="number"?(t.h/Qt).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(u/Qt)),console.log("| tablePropY ...................................... = ".concat(f/Qt)),console.log("| tablePropW ...................................... = ".concat(d/Qt)),console.log("| tablePropH ...................................... = ".concat(h/Qt)),console.log("| tableCalcW ...................................... = ".concat(p/Qt))),!t.slideMargin&&t.slideMargin!==0&&(t.slideMargin=dp[0]),r&&typeof r._margin<"u"?Array.isArray(r._margin)?o=r._margin:isNaN(Number(r._margin))||(o=[Number(r._margin),Number(r._margin),Number(r._margin),Number(r._margin)]):(t.slideMargin||t.slideMargin===0)&&(Array.isArray(t.slideMargin)?o=t.slideMargin:isNaN(t.slideMargin)||(o=[t.slideMargin,t.slideMargin,t.slideMargin,t.slideMargin])),t.verbose&&console.log("| arrInchMargins .................................. = [".concat(o.join(", "),"]"));{var A=e[0]||[];A.forEach(function(g){g||(g={_type:Bt.tablecell});var S=g.options||null;c+=Number(S!=null&&S.colspan?S.colspan:1)}),t.verbose&&console.log("| numCols ......................................... = ".concat(c))}if(!d&&t.colW&&(p=Array.isArray(t.colW)?t.colW.reduce(function(g,S){return g+S})*Qt:t.colW*c||0,t.verbose&&console.log("| tableCalcW ...................................... = ".concat(p/Qt))),i=p||dn((u?u/Qt:o[1])+o[3]),t.verbose&&console.log("| emuSlideTabW .................................... = ".concat((i/Qt).toFixed(1))),!t.colW||!Array.isArray(t.colW))if(t.colW&&!isNaN(Number(t.colW))){var x=[],A=e[0]||[];A.forEach(function(){return x.push(t.colW)}),t.colW=[],x.forEach(function(S){Array.isArray(t.colW)&&t.colW.push(S)})}else{t.colW=[];for(var R=0;R<c;R++)t.colW.push(i/Qt/c)}var y={rows:[]};return e.forEach(function(g,S){var L=[],T=0,M=0,O=[];g.forEach(function(B){var G,ne,E,Z;O.push({_type:Bt.tablecell,text:[],options:B.options}),B.options.margin&&B.options.margin[0]>=1?(!((G=B.options)===null||G===void 0)&&G.margin&&B.options.margin[0]&&Ct(B.options.margin[0])>T?T=Ct(B.options.margin[0]):t!=null&&t.margin&&t.margin[0]&&Ct(t.margin[0])>T&&(T=Ct(t.margin[0])),!((ne=B.options)===null||ne===void 0)&&ne.margin&&B.options.margin[2]&&Ct(B.options.margin[2])>M?M=Ct(B.options.margin[2]):t!=null&&t.margin&&t.margin[2]&&Ct(t.margin[2])>M&&(M=Ct(t.margin[2]))):(!((E=B.options)===null||E===void 0)&&E.margin&&B.options.margin[0]&&dn(B.options.margin[0])>T?T=dn(B.options.margin[0]):t!=null&&t.margin&&t.margin[0]&&dn(t.margin[0])>T&&(T=dn(t.margin[0])),!((Z=B.options)===null||Z===void 0)&&Z.margin&&B.options.margin[2]&&dn(B.options.margin[2])>M?M=dn(B.options.margin[2]):t!=null&&t.margin&&t.margin[2]&&dn(t.margin[2])>M&&(M=dn(t.margin[2])))}),m(),s+=T+M,t.verbose&&S===0&&console.log("| SLIDE [".concat(l.length,"]: emuSlideTabH ...... = ").concat((a/Qt).toFixed(1)," ")),g.forEach(function(B,G){var ne,E={_type:Bt.tablecell,_lines:null,_lineHeight:dn((!((ne=B.options)===null||ne===void 0)&&ne.fontSize?B.options.fontSize:t.fontSize?t.fontSize:Ji)*(zRe+(t.autoPageLineWeight?t.autoPageLineWeight:0))/100),text:[],options:B.options};E.options.rowspan&&(E._lineHeight=0),E.options.autoPageCharWeight=t.autoPageCharWeight?t.autoPageCharWeight:null;var Z=t.colW[G];B.options.colspan&&Array.isArray(t.colW)&&(Z=t.colW.filter(function(K,U){return U>=G&&U<U+B.options.colspan}).reduce(function(K,U){return K+U})),E._lines=rye(B,Z,!1),L.push(E)}),t.verbose&&console.log(`
| SLIDE [`.concat(l.length,"]: ROW [").concat(S,"]: START..."));for(var k=0,_=0,N=!1;!N;){var X=L[k],C=O[k];if(L.forEach(function(B){B._lineHeight>=_&&(_=B._lineHeight)}),s+_>a){t.verbose&&(console.log(`
|-----------------------------------------------------------------------|`),console.log("|-- NEW SLIDE CREATED (currTabH+currLineH > maxH) => ".concat((s/Qt).toFixed(2)," + ").concat((X._lineHeight/Qt).toFixed(2)," > ").concat(a/Qt)),console.log(`|-----------------------------------------------------------------------|
`)),O.length>0&&O.map(function(B){return B.text.length}).reduce(function(B,G){return B+G})>0&&y.rows.push(O),l.push(y);var F=[];y={rows:F},O=[],g.forEach(function(B){return O.push({_type:Bt.tablecell,text:[],options:B.options})}),m(),s+=T+M,t.verbose&&console.log("| SLIDE [".concat(l.length,"]: emuSlideTabH ...... = ").concat((a/Qt).toFixed(1)," ")),s=0,(t.addHeaderToEach||t.autoPageRepeatHeader)&&t._arrObjTabHeadRows&&t._arrObjTabHeadRows.forEach(function(B){var G=[],ne=0;B.forEach(function(E){G.push(E),E._lineHeight>ne&&(ne=E._lineHeight)}),y.rows.push(G),s+=ne}),C=O[k]}var I=X._lines.shift();Array.isArray(C.text)&&(I?C.text=C.text.concat(I):C.text.length===0&&(C.text=C.text.concat({_type:Bt.tablecell,text:""}))),k===L.length-1&&(s+=_),k=k<L.length-1?k+1:0;var V=L.map(function(B){return B._lines.length}).reduce(function(B,G){return B+G});V===0&&(N=!0)}O.length>0&&y.rows.push(O),t.verbose&&console.log("- SLIDE [".concat(l.length,"]: ROW [").concat(S,"]: ...COMPLETE ...... emuTabCurrH = ").concat((s/Qt).toFixed(2)," ( emuSlideTabH = ").concat((a/Qt).toFixed(2)," )"))}),l.push(y),t.verbose&&(console.log(`
|================================================|`),console.log("| FINAL: tableRowSlides.length = ".concat(l.length)),l.forEach(function(g){return console.log(g)}),console.log(`|================================================|
`)),l}function oye(e,t,n,r){n===void 0&&(n={});var o=n||{};o.slideMargin=o.slideMargin||o.slideMargin===0?o.slideMargin:.5;var i=o.w||e.presLayout.width,a=[],s=[],c=[],l=[],u=[],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]),o.slideMargin=f):o!=null&&o.slideMargin&&(Array.isArray(o.slideMargin)?f=o.slideMargin:isNaN(o.slideMargin)||(f=[o.slideMargin,o.slideMargin,o.slideMargin,o.slideMargin])),i=(o.w?dn(o.w):e.presLayout.width)-dn(f[1]+f[3]),o.verbose&&(console.log("[[VERBOSE MODE]]"),console.log("|-- `tableToSlides` ----------------------------------------------------|"),console.log("| tableProps.h .................................... = ".concat(o.h)),console.log("| tableProps.w .................................... = ".concat(o.w)),console.log("| pptx.presLayout.width ........................... = ".concat((e.presLayout.width/Qt).toFixed(1))),console.log("| pptx.presLayout.height .......................... = ".concat((e.presLayout.height/Qt).toFixed(1))),console.log("| emuSlideTabW .................................... = ".concat((i/Qt).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(m){if(m.getAttribute("colspan"))for(var A=0;A<Number(m.getAttribute("colspan"));A++)u.push(Math.round(m.offsetWidth/Number(m.getAttribute("colspan"))));else u.push(m.offsetWidth)}),u.forEach(function(m){d+=m}),u.forEach(function(m,A){var x=Number((Number(i)*(m/d*100)/100/Qt).toFixed(2)),R=0,y=document.querySelector("#".concat(t," thead tr:first-child th:nth-child(").concat(A+1,")"));y&&(R=Number(y.getAttribute("data-pptx-min-width")));var g=document.querySelector("#".concat(t," thead tr:first-child th:nth-child(").concat(A+1,")"));g&&(R=Number(g.getAttribute("data-pptx-width"))),l.push(R>x?R:x)}),o.verbose&&console.log("| arrColW ......................................... = [".concat(l.join(", "),"]"));var p=["thead","tbody","tfoot"];p.forEach(function(m){document.querySelectorAll("#".concat(t," ").concat(m," tr")).forEach(function(A){var x=[];switch(Array.from(A.cells).forEach(function(R){var y=window.getComputedStyle(R).getPropertyValue("color").replace(/\s+/gi,"").replace("rgba(","").replace("rgb(","").replace(")","").split(","),g=window.getComputedStyle(R).getPropertyValue("background-color").replace(/\s+/gi,"").replace("rgba(","").replace("rgb(","").replace(")","").split(",");(window.getComputedStyle(R).getPropertyValue("background-color")==="rgba(0, 0, 0, 0)"||window.getComputedStyle(R).getPropertyValue("transparent"))&&(g=["255","255","255"]);var S={align:null,bold:window.getComputedStyle(R).getPropertyValue("font-weight")==="bold"||Number(window.getComputedStyle(R).getPropertyValue("font-weight"))>=500,border:null,color:d4(Number(y[0]),Number(y[1]),Number(y[2])),fill:{color:d4(Number(g[0]),Number(g[1]),Number(g[2]))},fontFace:(window.getComputedStyle(R).getPropertyValue("font-family")||"").split(",")[0].replace(/"/g,"").replace("inherit","").replace("initial","")||null,fontSize:Number(window.getComputedStyle(R).getPropertyValue("font-size").replace(/[a-z]/gi,"")),margin:null,colspan:Number(R.getAttribute("colspan"))||null,rowspan:Number(R.getAttribute("rowspan"))||null,valign:null};if(["left","center","right","start","end"].includes(window.getComputedStyle(R).getPropertyValue("text-align"))){var L=window.getComputedStyle(R).getPropertyValue("text-align").replace("start","left").replace("end","right");S.align=L==="center"?"center":L==="left"?"left":L==="right"?"right":null}if(["top","middle","bottom"].includes(window.getComputedStyle(R).getPropertyValue("vertical-align"))){var T=window.getComputedStyle(R).getPropertyValue("vertical-align");S.valign=T==="top"?"top":T==="middle"?"middle":T==="bottom"?"bottom":null}if(window.getComputedStyle(R).getPropertyValue("padding-left")){S.margin=[0,0,0,0];var M=["padding-top","padding-right","padding-bottom","padding-left"];M.forEach(function(k,_){S.margin[_]=Math.round(Number(window.getComputedStyle(R).getPropertyValue(k).replace(/\D/gi,"")))})}if(window.getComputedStyle(R).getPropertyValue("border-top-width")||window.getComputedStyle(R).getPropertyValue("border-right-width")||window.getComputedStyle(R).getPropertyValue("border-bottom-width")||window.getComputedStyle(R).getPropertyValue("border-left-width")){S.border=[null,null,null,null];var O=["top","right","bottom","left"];O.forEach(function(k,_){var N=Math.round(Number(window.getComputedStyle(R).getPropertyValue("border-"+k+"-width").replace("px",""))),X=[];X=window.getComputedStyle(R).getPropertyValue("border-"+k+"-color").replace(/\s+/gi,"").replace("rgba(","").replace("rgb(","").replace(")","").split(",");var C=d4(Number(X[0]),Number(X[1]),Number(X[2]));S.border[_]={pt:N,color:C}})}x.push({_type:Bt.tablecell,text:R.innerText,options:S})}),m){case"thead":a.push(x);break;case"tbody":s.push(x);break;case"tfoot":c.push(x);break;default:console.log("table parsing: unexpected table part: ".concat(m));break}})}),o._arrObjTabHeadRows=a||null,o.colW=l,I_(sv(sv(sv([],a,!0),s,!0),c,!0),o,e.presLayout,r).forEach(function(m,A){var x=e.addSlide({masterName:o.masterSlideName||null});A===0&&(o.y=o.y||f[0]),A>0&&(o.y=o.autoPageSlideStartY||o.newSlideStartY||f[0]),o.verbose&&console.log("| opts.autoPageSlideStartY: ".concat(o.autoPageSlideStartY," / arrInchMargins[0]: ").concat(f[0]," => opts.y = ").concat(o.y)),x.addTable(m.rows,{x:o.x||f[3],y:o.y,w:Number(i)/Qt,colW:l,autoPage:!1}),o.addImage&&(o.addImage.options=o.addImage.options||{},!o.addImage.image||!o.addImage.image.path&&!o.addImage.image.data?console.warn("Warning: tableToSlides.addImage requires either `path` or `data`"):x.addImage({path:o.addImage.image.path,data:o.addImage.image.data,x:o.addImage.options.x,y:o.addImage.options.y,w:o.addImage.options.w,h:o.addImage.options.h})),o.addShape&&x.addShape(o.addShape.shapeName,o.addShape.options||{}),o.addTable&&x.addTable(o.addTable.rows,o.addTable.options||{}),o.addText&&x.addText(o.addText.text,o.addText.options||{})})}var iye=0;function aye(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 o=Object.keys(n)[0],i=t;Hl[o]&&o==="chart"?F_(i,n[o].type,n[o].data,n[o].opts):Hl[o]&&o==="image"?__(i,n[o]):Hl[o]&&o==="line"?Mx(i,bc.LINE,n[o]):Hl[o]&&o==="rect"?Mx(i,bc.RECTANGLE,n[o]):Hl[o]&&o==="text"?vg(i,[{text:n[o].text}],n[o].options,!1):Hl[o]&&o==="placeholder"&&(n[o].options.placeholder=n[o].options.name,delete n[o].options.name,n[o].options._placeholderType=n[o].options.type,delete n[o].options.type,n[o].options._placeholderIdx=100+r,vg(i,[{text:n[o].text}],n[o].options,!0))}),e.slideNumber&&typeof e.slideNumber=="object"&&(t._slideNumberProps=e.slideNumber)}function F_(e,t,n,r){var o;function i(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=++iye,s={_type:null,text:null,options:null,chartRid:null},c=null,l=[];Array.isArray(t)?(t.forEach(function(f){l=l.concat(f.data)}),c=n||r):(l=n,c=r),l.forEach(function(f,d){f._dataIndex=d,f.labels!==void 0&&!Array.isArray(f.labels[0])&&(f.labels=[f.labels])});var u=c&&typeof c=="object"?c:{};return u._type=t,u.x=typeof u.x<"u"&&u.x!=null&&!isNaN(Number(u.x))?u.x:1,u.y=typeof u.y<"u"&&u.y!=null&&!isNaN(Number(u.y))?u.y:1,u.w=u.w||"50%",u.h=u.h||"50%",u.objectName=u.objectName?Zt(u.objectName):"Chart ".concat(e._slideObjects.filter(function(f){return f._type===Bt.chart}).length),["bar","col"].includes(u.barDir||"")||(u.barDir="col"),u._type===at.AREA&&(["stacked","standard","percentStacked"].includes(u.barGrouping||"")||(u.barGrouping="standard")),u._type===at.BAR&&(["clustered","stacked","percentStacked"].includes(u.barGrouping||"")||(u.barGrouping="clustered")),u._type===at.BAR3D&&(["clustered","stacked","standard","percentStacked"].includes(u.barGrouping||"")||(u.barGrouping="standard")),!((o=u.barGrouping)===null||o===void 0)&&o.includes("tacked")&&(u.barGapWidthPct||(u.barGapWidthPct=50)),u.dataLabelPosition&&((u._type===at.AREA||u._type===at.BAR3D||u._type===at.DOUGHNUT||u._type===at.RADAR)&&delete u.dataLabelPosition,u._type===at.PIE&&(["bestFit","ctr","inEnd","outEnd"].includes(u.dataLabelPosition)||delete u.dataLabelPosition),(u._type===at.BUBBLE||u._type===at.BUBBLE3D||u._type===at.LINE||u._type===at.SCATTER)&&(["b","ctr","l","r","t"].includes(u.dataLabelPosition)||delete u.dataLabelPosition),u._type===at.BAR&&(["stacked","percentStacked"].includes(u.barGrouping||"")||["ctr","inBase","inEnd"].includes(u.dataLabelPosition)||delete u.dataLabelPosition,["clustered"].includes(u.barGrouping||"")||["ctr","inBase","inEnd","outEnd"].includes(u.dataLabelPosition)||delete u.dataLabelPosition)),u.dataLabelBkgrdColors=u.dataLabelBkgrdColors||!u.dataLabelBkgrdColors?u.dataLabelBkgrdColors:!1,["b","l","r","t","tr"].includes(u.legendPos||"")||(u.legendPos="r"),["cone","coneToMax","box","cylinder","pyramid","pyramidToMax"].includes(u.bar3DShape||"")||(u.bar3DShape="box"),["circle","dash","diamond","dot","none","square","triangle"].includes(u.lineDataSymbol||"")||(u.lineDataSymbol="circle"),["gap","span"].includes(u.displayBlanksAs||"")||(u.displayBlanksAs="span"),["standard","marker","filled"].includes(u.radarStyle||"")||(u.radarStyle="standard"),u.lineDataSymbolSize=u.lineDataSymbolSize&&!isNaN(u.lineDataSymbolSize)?u.lineDataSymbolSize:6,u.lineDataSymbolLineSize=u.lineDataSymbolLineSize&&!isNaN(u.lineDataSymbolLineSize)?Ct(u.lineDataSymbolLineSize):Ct(.75),u.layout&&["x","y","w","h"].forEach(function(f){var d=u.layout[f];(isNaN(Number(d))||d<0||d>1)&&(console.warn("Warning: chart.layout."+f+" can only be 0-1"),delete u.layout[f])}),u.catGridLine=u.catGridLine||(u._type===at.SCATTER?{color:"D9D9D9",size:1}:{style:"none"}),u.valGridLine=u.valGridLine||(u._type===at.SCATTER?{color:"D9D9D9",size:1}:{}),u.serGridLine=u.serGridLine||(u._type===at.SCATTER?{color:"D9D9D9",size:1}:{style:"none"}),i(u.catGridLine),i(u.valGridLine),i(u.serGridLine),E5(u.shadow),u.showDataTable=u.showDataTable||!u.showDataTable?u.showDataTable:!1,u.showDataTableHorzBorder=u.showDataTableHorzBorder||!u.showDataTableHorzBorder?u.showDataTableHorzBorder:!0,u.showDataTableVertBorder=u.showDataTableVertBorder||!u.showDataTableVertBorder?u.showDataTableVertBorder:!0,u.showDataTableOutline=u.showDataTableOutline||!u.showDataTableOutline?u.showDataTableOutline:!0,u.showDataTableKeys=u.showDataTableKeys||!u.showDataTableKeys?u.showDataTableKeys:!0,u.showLabel=u.showLabel||!u.showLabel?u.showLabel:!1,u.showLegend=u.showLegend||!u.showLegend?u.showLegend:!1,u.showPercent=u.showPercent||!u.showPercent?u.showPercent:!0,u.showTitle=u.showTitle||!u.showTitle?u.showTitle:!1,u.showValue=u.showValue||!u.showValue?u.showValue:!1,u.showLeaderLines=u.showLeaderLines||!u.showLeaderLines?u.showLeaderLines:!1,u.catAxisLineShow=typeof u.catAxisLineShow<"u"?u.catAxisLineShow:!0,u.valAxisLineShow=typeof u.valAxisLineShow<"u"?u.valAxisLineShow:!0,u.serAxisLineShow=typeof u.serAxisLineShow<"u"?u.serAxisLineShow:!0,u.v3DRotX=!isNaN(u.v3DRotX)&&u.v3DRotX>=-90&&u.v3DRotX<=90?u.v3DRotX:30,u.v3DRotY=!isNaN(u.v3DRotY)&&u.v3DRotY>=0&&u.v3DRotY<=360?u.v3DRotY:30,u.v3DRAngAx=u.v3DRAngAx||!u.v3DRAngAx?u.v3DRAngAx:!0,u.v3DPerspective=!isNaN(u.v3DPerspective)&&u.v3DPerspective>=0&&u.v3DPerspective<=240?u.v3DPerspective:30,u.barGapWidthPct=!isNaN(u.barGapWidthPct)&&u.barGapWidthPct>=0&&u.barGapWidthPct<=1e3?u.barGapWidthPct:150,u.barGapDepthPct=!isNaN(u.barGapDepthPct)&&u.barGapDepthPct>=0&&u.barGapDepthPct<=1e3?u.barGapDepthPct:150,u.chartColors=Array.isArray(u.chartColors)?u.chartColors:u._type===at.PIE||u._type===at.DOUGHNUT?eye:rh,u.chartColorsOpacity=u.chartColorsOpacity&&!isNaN(u.chartColorsOpacity)?u.chartColorsOpacity:null,u.border=u.border&&typeof u.border=="object"?u.border:null,u.border&&(!u.border.pt||isNaN(u.border.pt))&&(u.border.pt=Cf.pt),u.border&&(!u.border.color||typeof u.border.color!="string")&&(u.border.color=Cf.color),u.plotArea=u.plotArea||{},u.plotArea.border=u.plotArea.border&&typeof u.plotArea.border=="object"?u.plotArea.border:null,u.plotArea.border&&(!u.plotArea.border.pt||isNaN(u.plotArea.border.pt))&&(u.plotArea.border.pt=Cf.pt),u.plotArea.border&&(!u.plotArea.border.color||typeof u.plotArea.border.color!="string")&&(u.plotArea.border.color=Cf.color),u.border&&(u.plotArea.border=u.border),u.plotArea.fill=u.plotArea.fill||{color:null,transparency:null},u.fill&&(u.plotArea.fill.color=u.fill),u.chartArea=u.chartArea||{},u.chartArea.border=u.chartArea.border&&typeof u.chartArea.border=="object"?u.chartArea.border:null,u.chartArea.border&&(u.chartArea.border={color:u.chartArea.border.color||Cf.color,pt:u.chartArea.border.pt||Cf.pt}),u.chartArea.roundedCorners=typeof u.chartArea.roundedCorners=="boolean"?u.chartArea.roundedCorners:!0,u.dataBorder=u.dataBorder&&typeof u.dataBorder=="object"?u.dataBorder:null,u.dataBorder&&(!u.dataBorder.pt||isNaN(u.dataBorder.pt))&&(u.dataBorder.pt=.75),u.dataBorder&&(!u.dataBorder.color||typeof u.dataBorder.color!="string"||u.dataBorder.color.length!==6)&&(u.dataBorder.color="F9F9F9"),!u.dataLabelFormatCode&&u._type===at.SCATTER&&(u.dataLabelFormatCode="General"),!u.dataLabelFormatCode&&(u._type===at.PIE||u._type===at.DOUGHNUT)&&(u.dataLabelFormatCode=u.showPercent?"0%":"General"),u.dataLabelFormatCode=u.dataLabelFormatCode&&typeof u.dataLabelFormatCode=="string"?u.dataLabelFormatCode:"#,##0",!u.dataLabelFormatScatter&&u._type===at.SCATTER&&(u.dataLabelFormatScatter="custom"),u.lineSize=typeof u.lineSize=="number"?u.lineSize:2,u.valAxisMajorUnit=typeof u.valAxisMajorUnit=="number"?u.valAxisMajorUnit:null,u._type===at.AREA||u._type===at.BAR||u._type===at.BAR3D||u._type===at.LINE?u.catAxisMultiLevelLabels=!!u.catAxisMultiLevelLabels:delete u.catAxisMultiLevelLabels,s._type="chart",s.options=u,s.chartRid=Gs(e),e._relsChart.push({rId:Gs(e),data:l,opts:u,type:u._type,globalId:a,fileName:"chart".concat(a,".xml"),Target:"/ppt/charts/chart".concat(a,".xml")}),e._slideObjects.push(s),s}function __(e,t){var n={_type:null,text:null,options:null,image:null,imageRid:null,hyperlink:null},r=t.x||0,o=t.y||0,i=t.w||0,a=t.h||0,s=t.sizing||null,c=t.hyperlink||"",l=t.data||"",u=t.path||"",f=Gs(e),d=t.objectName?Zt(t.objectName):"Image ".concat(e._slideObjects.filter(function(m){return m._type===Bt.image}).length);if(!u&&!l)return console.error("ERROR: addImage() requires either 'data' or 'path' parameter!"),null;if(u&&typeof u!="string")return console.error("ERROR: addImage() 'path' should be a string, ex: {path:'/img/sample.png'} - you sent ".concat(String(u))),null;if(l&&typeof l!="string")return console.error("ERROR: addImage() 'data' should be a string, ex: {data:'image/png;base64,NMP[...]'} - you sent ".concat(String(l))),null;if(l&&typeof l=="string"&&!l.toLowerCase().includes("base64,"))return console.error("ERROR: Image `data` value lacks a base64 header! Ex: 'image/png;base64,NMP[...]')"),null;var h=(u.substring(u.lastIndexOf("/")+1).split("?")[0].split(".").pop().split("#")[0]||"png").toLowerCase();if(l&&/image\/(\w+);/.exec(l)&&/image\/(\w+);/.exec(l).length>0?h=/image\/(\w+);/.exec(l)[1]:l!=null&&l.toLowerCase().includes("image/svg+xml")&&(h="svg"),n._type=Bt.image,n.image=u||"preencoded.png",n.options={x:r||0,y:o||0,w:i||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:E5(t.shadow)},h==="svg")e._relsMedia.push({path:u||l+"png",type:"image/png",extn:"png",data:l||"",rId:f,Target:"../media/image-".concat(e._slideNum,"-").concat(e._relsMedia.length+1,".png"),isSvgPng:!0,svgSize:{w:en(n.options.w,"X",e._presLayout),h:en(n.options.h,"Y",e._presLayout)}}),n.imageRid=f,e._relsMedia.push({path:u||l,type:"image/svg+xml",extn:h,data:l||"",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(m){return m.path&&m.path===u&&m.type==="image/"+h&&!m.isDuplicate})[0];e._relsMedia.push({path:u||"preencoded."+h,type:"image/"+h,extn:h,data:l||"",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 c=="object"){if(!c.url&&!c.slide)throw new Error("ERROR: `hyperlink` option requires either: `url` or `slide`");f++,e._rels.push({type:Bt.hyperlink,data:c.slide?"slide":"dummy",rId:f,Target:c.url||c.slide.toString()}),c._rId=f,n.hyperlink=c}e._slideObjects.push(n)}function sye(e,t){var n=t.x||0,r=t.y||0,o=t.w||2,i=t.h||2,a=t.data||"",s=t.link||"",c=t.path||"",l=t.type||"audio",u="",f=t.cover||tye,d=t.objectName?Zt(t.objectName):"Media ".concat(e._slideObjects.filter(function(A){return A._type===Bt.media}).length),h={_type:Bt.media};if(!c&&!a&&l!=="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(l==="online"&&!s)throw new Error("addMedia() error: online videos require `link` value");if(u=t.extn||(a?a.split(";")[0].split("/")[1]:c.split(".").pop())||"mp3",h.mtype=l,h.media=c||"preencoded.mov",h.options={},h.options.x=n,h.options.y=r,h.options.w=o,h.options.h=i,h.options.objectName=d,l==="online"){var p=Gs(e);e._relsMedia.push({path:c||"preencoded"+u,data:"dummy",type:"online",extn:u,rId:p,Target:s}),h.mediaRid=p,e._relsMedia.push({path:"preencoded.png",data:f,type:"image/png",extn:"png",rId:Gs(e),Target:"../media/image-".concat(e._slideNum,"-").concat(e._relsMedia.length+1,".png")})}else{var m=e._relsMedia.filter(function(x){return x.path&&x.path===c&&x.type===l+"/"+u&&!x.isDuplicate})[0],p=Gs(e);e._relsMedia.push({path:c||"preencoded"+u,type:l+"/"+u,extn:u,data:a||"",rId:p,isDuplicate:!!(m!=null&&m.Target),Target:m!=null&&m.Target?m.Target:"../media/media-".concat(e._slideNum,"-").concat(e._relsMedia.length+1,".").concat(u)}),h.mediaRid=p,e._relsMedia.push({path:c||"preencoded"+u,type:l+"/"+u,extn:u,data:a||"",rId:Gs(e),isDuplicate:!!(m!=null&&m.Target),Target:m!=null&&m.Target?m.Target:"../media/media-".concat(e._slideNum,"-").concat(e._relsMedia.length+0,".").concat(u)}),e._relsMedia.push({path:"preencoded.png",type:"image/png",extn:"png",data:f,rId:Gs(e),Target:"../media/image-".concat(e._slideNum,"-").concat(e._relsMedia.length+1,".png")})}e._slideObjects.push(h)}function lye(e,t){e._slideObjects.push({_type:Bt.notes,text:[{text:t}]})}function Mx(e,t,n){var r=typeof n=="object"?n:{};r.line=r.line||{type:"none"};var o={_type:Bt.text,shape:t||bc.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 i={type:r.line.type||"solid",color:r.line.color||N_,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=i),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?Zt(r.objectName):"Shape ".concat(e._slideObjects.filter(function(s){return s._type===Bt.text}).length),typeof r.line=="string"){var a=i;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),Xd(e,o),e._slideObjects.push(o)}function cye(e,t,n,r,o,i,a){var s=[e],c=n&&typeof n=="object"?n:{};c.objectName=c.objectName?Zt(c.objectName):"Table ".concat(e._slideObjects.filter(function(h){return h._type===Bt.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 l=[];t.forEach(function(h){var p=[];Array.isArray(h)?h.forEach(function(m){var A={_type:Bt.tablecell,text:"",options:typeof m=="object"&&m.options?m.options:{}};typeof m=="string"||typeof m=="number"?A.text=m.toString():m.text&&(typeof m.text=="string"||typeof m.text=="number"?A.text=m.text.toString():m.text&&(A.text=m.text),m.options&&typeof m.options=="object"&&(A.options=m.options)),A.options.border=A.options.border||c.border||[{type:"none"},{type:"none"},{type:"none"},{type:"none"}];var x=A.options.border;!Array.isArray(x)&&typeof x=="object"&&(A.options.border=[x,x,x,x]),A.options.border[0]||(A.options.border[0]={type:"none"}),A.options.border[1]||(A.options.border[1]={type:"none"}),A.options.border[2]||(A.options.border[2]={type:"none"}),A.options.border[3]||(A.options.border[3]={type:"none"});var R=[0,1,2,3];R.forEach(function(y){A.options.border[y]={type:A.options.border[y].type||Pf.type,color:A.options.border[y].color||Pf.color,pt:typeof A.options.border[y].pt=="number"?A.options.border[y].pt:Pf.pt}}),p.push(A)}):(console.log("addTable: tableRows has a bad row. A row should be an array of cells. You provided:"),console.log(h)),l.push(p)}),c.x=en(c.x||(c.x===0?0:Qt/2),"X",o),c.y=en(c.y||(c.y===0?0:Qt/2),"Y",o),c.h&&(c.h=en(c.h,"Y",o)),c.fontSize=c.fontSize||Ji,c.margin=c.margin===0||c.margin?c.margin:k_,typeof c.margin=="number"&&(c.margin=[Number(c.margin),Number(c.margin),Number(c.margin),Number(c.margin)]),c.color||(c.color=c.color||zo),typeof c.border=="string"?(console.warn("addTable `border` option must be an object. Ex: `{border: {type:'none'}}`"),c.border=null):Array.isArray(c.border)&&[0,1,2,3].forEach(function(h){c.border[h]=c.border[h]?{type:c.border[h].type||Pf.type,color:c.border[h].color||Pf.color,pt:c.border[h].pt||Pf.pt}:{type:"none"}}),c.autoPage=typeof c.autoPage=="boolean"?c.autoPage:!1,c.autoPageRepeatHeader=typeof c.autoPageRepeatHeader=="boolean"?c.autoPageRepeatHeader:!1,c.autoPageHeaderRows=typeof c.autoPageHeaderRows<"u"&&!isNaN(Number(c.autoPageHeaderRows))?Number(c.autoPageHeaderRows):1,c.autoPageLineWeight=typeof c.autoPageLineWeight<"u"&&!isNaN(Number(c.autoPageLineWeight))?Number(c.autoPageLineWeight):0,c.autoPageLineWeight&&(c.autoPageLineWeight>1?c.autoPageLineWeight=1:c.autoPageLineWeight<-1&&(c.autoPageLineWeight=-1));var u=dp;if(r&&typeof r._margin<"u"&&(Array.isArray(r._margin)?u=r._margin:isNaN(Number(r._margin))||(u=[Number(r._margin),Number(r._margin),Number(r._margin),Number(r._margin)])),c.colW){var f=l[0].reduce(function(h,p){var m;return!((m=p==null?void 0:p.options)===null||m===void 0)&&m.colspan&&typeof p.options.colspan=="number"?h+=p.options.colspan:h+=1,h},0);typeof c.colW=="string"||typeof c.colW=="number"||c.colW&&Array.isArray(c.colW)&&c.colW.length===1&&f>1?(c.w=Math.floor(Number(c.colW)*f),c.colW=null):c.colW&&Array.isArray(c.colW)&&c.colW.length!==f&&(console.warn("addTable: mismatch: (colW.length != data.length) Therefore, defaulting to evenly distributed col widths."),c.colW=null)}else c.w?c.w=en(c.w,"X",o):c.w=Math.floor(o._sizeW/Qt-u[1]-u[3]);c.x&&c.x<20&&(c.x=dn(c.x)),c.y&&c.y<20&&(c.y=dn(c.y)),c.w&&c.w<20&&(c.w=dn(c.w)),c.h&&c.h<20&&(c.h=dn(c.h)),l.forEach(function(h){h.forEach(function(p,m){typeof p=="number"||typeof p=="string"?h[m]={_type:Bt.tablecell,text:String(h[m]),options:c}:typeof p=="object"&&(typeof p.text=="number"?h[m].text=h[m].text.toString():(typeof p.text>"u"||p.text===null)&&(h[m].text=""),h[m].options=p.options||{},h[m]._type=Bt.tablecell)})});var d=[];return c&&!c.autoPage?(Xd(e,l),e._slideObjects.push({_type:Bt.table,arrTabRows:l,options:Object.assign({},c)})):(c.autoPageRepeatHeader&&(c._arrObjTabHeadRows=l.filter(function(h,p){return p<c.autoPageHeaderRows})),I_(l,c,o,r).forEach(function(h,p){a(e._slideNum+p)||s.push(i({masterName:(r==null?void 0:r._name)||null})),p>0&&(c.y=dn(c.autoPageSlideStartY||c.newSlideStartY||u[0]));{var m=a(e._slideNum+p);c.autoPage=!1,Xd(m,h.rows),m.addTable(h.rows,Object.assign({},c)),p>0&&d.push(m)}})),d}function vg(e,t,n,r){var o={_type:r?Bt.placeholder:Bt.text,shape:(n==null?void 0:n.shape)||bc.RECTANGLE,text:!t||t.length===0?[{text:"",options:null}]:t,options:n||{}};function i(a){{if(a.placeholder||(a.color=a.color||o.options.color||e.color||zo),(a.placeholder||r)&&(a.bullet=a.bullet||!1),a.placeholder&&e._slideLayout&&e._slideLayout._slideObjects){var s=e._slideLayout._slideObjects.filter(function(u){return u._type==="placeholder"&&u.options&&u.options.placeholder&&u.options.placeholder===a.placeholder})[0];s!=null&&s.options&&(a=wr(wr({},a),s.options))}if(a.objectName=a.objectName?Zt(a.objectName):"Text ".concat(e._slideObjects.filter(function(u){return u._type===Bt.text}).length),a.shape===bc.LINE){var c={type:a.line.type||"solid",color:a.line.color||N_,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=c),typeof a.line=="string"){var l=c;typeof a.line=="string"&&(l.color=a.line),a.line=l}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:ed.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=dn(a.inset),a._bodyProp.rIns=dn(a.inset),a._bodyProp.tIns=dn(a.inset),a._bodyProp.bIns=dn(a.inset)),typeof a.underline=="boolean"&&a.underline===!0&&(a.underline={style:"sng"})}return(a.align||"").toLowerCase().indexOf("c")===0?a._bodyProp.align=qf.center:(a.align||"").toLowerCase().indexOf("l")===0?a._bodyProp.align=qf.left:(a.align||"").toLowerCase().indexOf("r")===0?a._bodyProp.align=qf.right:(a.align||"").toLowerCase().indexOf("j")===0&&(a._bodyProp.align=qf.justify),(a.valign||"").toLowerCase().indexOf("b")===0?a._bodyProp.anchor=ed.b:(a.valign||"").toLowerCase().indexOf("m")===0?a._bodyProp.anchor=ed.ctr:(a.valign||"").toLowerCase().indexOf("t")===0&&(a._bodyProp.anchor=ed.t),E5(a.shadow),a}o.options=i(o.options),o.text.forEach(function(a){return a.options=i(a.options||{})}),Xd(e,o.text||""),e._slideObjects.push(o)}function uye(e){(e._slideLayout._slideObjects||[]).forEach(function(t){t._type===Bt.placeholder&&e._slideObjects.filter(function(n){return n.options&&n.options.placeholder===t.options.placeholder}).length===0&&vg(e,[{text:""}],t.options,!1)})}function X_(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 o=t._relsMedia.length+1;t._relsMedia.push({path:e.path,type:Bt.image,extn:r,data:e.data||null,rId:o,Target:"../media/".concat((t._name||"").replace(/\s+/gi,"-"),"-image-").concat(t._relsMedia.length+1,".").concat(r)}),t._bkgdImgRid=o}}function Xd(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))Xd(e,r);else if(Array.isArray(r.text))Xd(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 o=Gs(e);e._rels.push({type:Bt.hyperlink,data:r.options.hyperlink.slide?"slide":"dummy",rId:o,Target:Zt(r.options.hyperlink.url)||r.options.hyperlink.slide.toString()}),r.options.hyperlink._rId=o}}))}var fye=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&&X_(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 o=r||{};return o._type=t,F_(this,t,n,r),this},e.prototype.addImage=function(t){return __(this,t),this},e.prototype.addMedia=function(t){return sye(this,t),this},e.prototype.addNotes=function(t){return lye(this,t),this},e.prototype.addShape=function(t,n){return Mx(this,t,n),this},e.prototype.addTable=function(t,n){return this._newAutoPagedSlides=cye(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 vg(this,r,n,!1),this},e}();function dye(e,t){return Ga(this,void 0,void 0,function(){var n;return Ja(this,function(r){switch(r.label){case 0:return n=e.data,[4,new Promise(function(o,i){var a,s,c=new T_,l=(n.length-1)*2+1,u=((s=(a=n[0])===null||a===void 0?void 0:a.labels)===null||s===void 0?void 0:s.length)>1;c.folder("_rels"),c.folder("docProps"),c.folder("xl/_rels"),c.folder("xl/tables"),c.folder("xl/theme"),c.folder("xl/worksheets"),c.folder("xl/worksheets/_rels"),c.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>
`),c.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>
`),c.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>
`),c.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>"),c.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>'),c.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>
`),c.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>'),c.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>
`),c.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===at.BUBBLE||e.opts._type===at.BUBBLE3D)f+='<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="'.concat(l,'" uniqueCount="').concat(l,'">');else if(e.opts._type===at.SCATTER)f+='<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="'.concat(n.length,'" uniqueCount="').concat(n.length,'">');else if(u){var d=n.length;n[0].labels.forEach(function(T){return d+=T.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===at.BUBBLE||e.opts._type===at.BUBBLE3D?n.forEach(function(T,M){M===0?f+="<si><t>X-Axis</t></si>":(f+="<si><t>".concat(Zt(T.name||"Y-Axis".concat(M)),"</t></si>"),f+="<si><t>".concat(Zt("Size".concat(M)),"</t></si>"))}):n.forEach(function(T){f+="<si><t>".concat(Zt((T.name||" ").replace("X-Axis","X-Values")),"</t></si>")}),e.opts._type!==at.BUBBLE&&e.opts._type!==at.BUBBLE3D&&e.opts._type!==at.SCATTER&&n[0].labels.slice().reverse().forEach(function(T){T.filter(function(M){return M&&M!==""}).forEach(function(M){f+="<si><t>".concat(Zt(M),"</t></si>")})}),f+=`</sst>
`,c.file("xl/sharedStrings.xml",f)}{var m='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>';if(e.opts._type===at.BUBBLE||e.opts._type===at.BUBBLE3D){m+='<table xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" id="1" name="Table1" displayName="Table1" ref="A1:'.concat(In(l)).concat(l,'" totalsRowShown="0">'),m+='<tableColumns count="'.concat(l,'">');var A=1;n.forEach(function(T,M){M===0?m+='<tableColumn id="'.concat(M+1,'" name="X-Values"/>'):(m+='<tableColumn id="'.concat(M+A,'" name="').concat(T.name,'"/>'),A++,m+='<tableColumn id="'.concat(M+A,'" name="Size').concat(M,'"/>'))})}else e.opts._type===at.SCATTER?(m+='<table xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" id="1" name="Table1" displayName="Table1" ref="A1:'.concat(In(n.length)).concat(n[0].values.length+1,'" totalsRowShown="0">'),m+='<tableColumns count="'.concat(n.length,'">'),n.forEach(function(T,M){m+='<tableColumn id="'.concat(M+1,'" name="').concat(M===0?"X-Values":"Y-Value ").concat(M,'"/>')})):(m+='<table xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" id="1" name="Table1" displayName="Table1" ref="A1:'.concat(In(n.length+n[0].labels.length)).concat(n[0].labels[0].length+1,`'" totalsRowShown="0">`),m+='<tableColumns count="'.concat(n.length+n[0].labels.length,'">'),n[0].labels.forEach(function(T,M){m+='<tableColumn id="'.concat(M+1,'" name="Column').concat(M+1,'"/>')}),n.forEach(function(T,M){m+='<tableColumn id="'.concat(M+n[0].labels.length+1,'" name="').concat(Zt(T.name),'"/>')}));m+="</tableColumns>",m+='<tableStyleInfo showFirstColumn="0" showLastColumn="0" showRowStripes="1" showColumnStripes="0"/>',m+="</table>",c.file("xl/tables/table1.xml",m)}{var x='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>';if(x+='<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===at.BUBBLE||e.opts._type===at.BUBBLE3D?x+='<dimension ref="A1:'.concat(In(l)).concat(n[0].values.length+1,'"/>'):e.opts._type===at.SCATTER?x+='<dimension ref="A1:'.concat(In(n.length)).concat(n[0].values.length+1,'"/>'):x+='<dimension ref="A1:'.concat(In(n.length+1)).concat(n[0].values.length+1,'"/>'),x+='<sheetViews><sheetView tabSelected="1" workbookViewId="0"><selection activeCell="B1" sqref="B1"/></sheetView></sheetViews>',x+='<sheetFormatPr baseColWidth="10" defaultRowHeight="16"/>',e.opts._type===at.BUBBLE||e.opts._type===at.BUBBLE3D){x+="<sheetData>",x+='<row r="1" spans="1:'.concat(l,'">'),x+='<c r="A1" t="s"><v>0</v></c>';for(var R=1;R<l;R++)x+='<c r="'.concat(In(R+1),'1" t="s"><v>').concat(R,"</v></c>");x+="</row>",n[0].values.forEach(function(T,M){x+='<row r="'.concat(M+2,'" spans="1:').concat(l,'">'),x+='<c r="A'.concat(M+2,'"><v>').concat(T,"</v></c>");for(var O=2,k=1;k<n.length;k++)x+='<c r="'.concat(In(O)).concat(M+2,'"><v>').concat(n[k].values[M]||"","</v></c>"),O++,x+='<c r="'.concat(In(O)).concat(M+2,'"><v>').concat(n[k].sizes[M]||"","</v></c>"),O++;x+="</row>"})}else if(e.opts._type===at.SCATTER){x+="<sheetData>",x+='<row r="1" spans="1:'.concat(n.length,'">');for(var R=0;R<n.length;R++)x+='<c r="'.concat(In(R+1),'1" t="s"><v>').concat(R,"</v></c>");x+="</row>",n[0].values.forEach(function(T,M){x+='<row r="'.concat(M+2,'" spans="1:').concat(n.length,'">'),x+='<c r="A'.concat(M+2,'"><v>').concat(T,"</v></c>");for(var O=1;O<n.length;O++)x+='<c r="'.concat(In(O+1)).concat(M+2,'"><v>').concat(n[O].values[M]||n[O].values[M]===0?n[O].values[M]:"","</v></c>");x+="</row>"})}else if(x+="<sheetData>",u){x+='<row r="1" spans="1:'.concat(n.length+n[0].labels.length,'">');for(var R=0;R<n[0].labels.length;R++)x+='<c r="'.concat(In(R+1),'1" t="s"><v>0</v></c>');for(var R=n[0].labels.length-1;R<n.length+n[0].labels.length-1;R++)x+='<c r="'.concat(In(R+n[0].labels.length),'1" t="s"><v>').concat(R,"</v></c>");x+="</row>";for(var y=n.length,g=n[0].labels[0].length,S=n[0].labels.length,L=function(T){x+='<row r="'.concat(T+2,'" spans="1:').concat(y+S,'">');var M=y,O=n[0].labels.slice().reverse();O.forEach(function(_,N){var X=_[T];if(X){var C=N===0?1:O[N-1].filter(function(F){return F&&F!==""}).length;M+=C,x+='<c r="'.concat(In(T+1+N)).concat(T+2,'" t="s"><v>').concat(M,"</v></c>")}});for(var k=0;k<y;k++)x+='<c r="'.concat(In(S+k+1)).concat(T+2,'"><v>').concat(n[k].values[T]||0,"</v></c>");x+="</row>"},R=0;R<g;R++)L(R)}else{x+='<row r="1" spans="1:'.concat(n.length+n[0].labels.length,'">'),n[0].labels.forEach(function(T,M){x+='<c r="'.concat(In(M+1),'1" t="s"><v>0</v></c>')});for(var R=0;R<n.length;R++)x+='<c r="'.concat(In(R+1+n[0].labels.length),'1" t="s"><v>').concat(R+1,"</v></c>");x+="</row>",n[0].labels[0].forEach(function(T,M){x+='<row r="'.concat(M+2,'" spans="1:').concat(n.length+n[0].labels.length,'">');for(var O=n[0].labels.length-1;O>=0;O--)x+='<c r="'.concat(In(n[0].labels.length-O)).concat(M+2,'" t="s">'),x+="<v>".concat(n.length+M+1,"</v>"),x+="</c>";for(var k=0;k<n.length;k++)x+='<c r="'.concat(In(n[0].labels.length+k+1)).concat(M+2,'"><v>').concat(n[k].values[M]||"","</v></c>");x+="</row>"})}x+="</sheetData>",x+='<pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3"/>',x+=`</worksheet>
`,c.file("xl/worksheets/sheet1.xml",x)}c.generateAsync({type:"base64"}).then(function(T){t.file("ppt/embeddings/Microsoft_Excel_Worksheet".concat(e.globalId,".xlsx"),T,{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),hye(e)),o("")}).catch(function(T){i(T)})})];case 1:return[2,r.sent()]}})})}function hye(e){var t,n,r,o,i='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>',a=!1;if(i+='<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">',i+='<c:date1904 val="0"/>',i+='<c:roundedCorners val="'.concat(e.opts.chartArea.roundedCorners?"1":"0",'"/>'),i+="<c:chart>",e.opts.showTitle?(i+=y2({title:e.opts.title||"Chart Title",color:e.opts.titleColor,fontFace:e.opts.titleFontFace,fontSize:e.opts.titleFontSize||$Re,titleAlign:e.opts.titleAlign,titleBold:e.opts.titleBold,titlePos:e.opts.titlePos,titleRotate:e.opts.titleRotate},e.opts.x,e.opts.y),i+='<c:autoTitleDeleted val="0"/>'):i+='<c:autoTitleDeleted val="1"/>',e.opts._type===at.BAR3D&&(i+='<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>')),i+="<c:plotArea>",e.opts.layout?(i+="<c:layout>",i+=" <c:manualLayout>",i+=' <c:layoutTarget val="inner" />',i+=' <c:xMode val="edge" />',i+=' <c:yMode val="edge" />',i+=' <c:x val="'+(e.opts.layout.x||0)+'" />',i+=' <c:y val="'+(e.opts.layout.y||0)+'" />',i+=' <c:w val="'+(e.opts.layout.w||1)+'" />',i+=' <c:h val="'+(e.opts.layout.h||1)+'" />',i+=" </c:manualLayout>",i+="</c:layout>"):i+="<c:layout/>",Array.isArray(e.opts._type)?e.opts._type.forEach(function(s){var c=wr(wr({},e.opts),s.options),l=c.secondaryValAxis?lv:Bs,u=c.secondaryCatAxis?gx:nh;a=a||c.secondaryValAxis,i+=e7(s.type,s.data,c,l,u)}):i+=e7(e.opts._type,e.data,e.opts,Bs,nh),e.opts._type!==at.PIE&&e.opts._type!==at.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.");i+=h4(wr(wr({},e.opts),e.opts.catAxes[0]),nh,Bs)}else i+=h4(e.opts,nh,Bs);e.opts.valAxes?(i+=p4(wr(wr({},e.opts),e.opts.valAxes[0]),Bs),e.opts.valAxes[1]&&(i+=p4(wr(wr({},e.opts),e.opts.valAxes[1]),lv))):(i+=p4(e.opts,Bs),e.opts._type===at.BAR3D&&(i+=pye(e.opts,P_,Bs))),!((t=e.opts)===null||t===void 0)&&t.catAxes&&(!((n=e.opts)===null||n===void 0)&&n.catAxes[1])&&(i+=h4(wr(wr({},e.opts),e.opts.catAxes[1]),gx,lv))}return e.opts.showDataTable&&(i+="<c:dTable>",i+=' <c:showHorzBorder val="'.concat(e.opts.showDataTableHorzBorder?1:0,'"/>'),i+=' <c:showVertBorder val="'.concat(e.opts.showDataTableVertBorder?1:0,'"/>'),i+=' <c:showOutline val="'.concat(e.opts.showDataTableOutline?1:0,'"/>'),i+=' <c:showKeys val="'.concat(e.opts.showDataTableKeys?1:0,'"/>'),i+=" <c:spPr>",i+=" <a:noFill/>",i+=' <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>',i+=" <a:effectLst/>",i+=" </c:spPr>",i+=" <c:txPr>",i+=' <a:bodyPr rot="0" spcFirstLastPara="1" vertOverflow="ellipsis" vert="horz" wrap="square" anchor="ctr" anchorCtr="1"/>',i+=" <a:lstStyle/>",i+=" <a:p>",i+=' <a:pPr rtl="0">',i+=' <a:defRPr sz="'.concat(Math.round((e.opts.dataTableFontSize||Ji)*100),'" b="0" i="0" u="none" strike="noStrike" kern="1200" baseline="0">'),i+=' <a:solidFill><a:schemeClr val="tx1"><a:lumMod val="65000"/><a:lumOff val="35000"/></a:schemeClr></a:solidFill>',i+=' <a:latin typeface="+mn-lt"/>',i+=' <a:ea typeface="+mn-ea"/>',i+=' <a:cs typeface="+mn-cs"/>',i+=" </a:defRPr>",i+=" </a:pPr>",i+=' <a:endParaRPr lang="en-US"/>',i+=" </a:p>",i+=" </c:txPr>",i+="</c:dTable>"),i+=" <c:spPr>",i+=!((r=e.opts.plotArea.fill)===null||r===void 0)&&r.color?Oi(e.opts.plotArea.fill):"<a:noFill/>",i+=e.opts.plotArea.border?'<a:ln w="'.concat(Ct(e.opts.plotArea.border.pt),'" cap="flat">').concat(Oi(e.opts.plotArea.border.color),"</a:ln>"):"<a:ln><a:noFill/></a:ln>",i+=" <a:effectLst/>",i+=" </c:spPr>",i+="</c:plotArea>",e.opts.showLegend&&(i+="<c:legend>",i+='<c:legendPos val="'+e.opts.legendPos+'"/>',i+='<c:overlay val="0"/>',(e.opts.legendFontFace||e.opts.legendFontSize||e.opts.legendColor)&&(i+="<c:txPr>",i+=" <a:bodyPr/>",i+=" <a:lstStyle/>",i+=" <a:p>",i+=" <a:pPr>",i+=e.opts.legendFontSize?'<a:defRPr sz="'.concat(Math.round(Number(e.opts.legendFontSize)*100),'">'):"<a:defRPr>",e.opts.legendColor&&(i+=Oi(e.opts.legendColor)),e.opts.legendFontFace&&(i+='<a:latin typeface="'+e.opts.legendFontFace+'"/>'),e.opts.legendFontFace&&(i+='<a:cs typeface="'+e.opts.legendFontFace+'"/>'),i+=" </a:defRPr>",i+=" </a:pPr>",i+=' <a:endParaRPr lang="en-US"/>',i+=" </a:p>",i+="</c:txPr>"),i+="</c:legend>"),i+=' <c:plotVisOnly val="1"/>',i+=' <c:dispBlanksAs val="'+e.opts.displayBlanksAs+'"/>',e.opts._type===at.SCATTER&&(i+='<c:showDLblsOverMax val="1"/>'),i+="</c:chart>",i+="<c:spPr>",i+=!((o=e.opts.chartArea.fill)===null||o===void 0)&&o.color?Oi(e.opts.chartArea.fill):"<a:noFill/>",i+=e.opts.chartArea.border?'<a:ln w="'.concat(Ct(e.opts.chartArea.border.pt),'" cap="flat">').concat(Oi(e.opts.chartArea.border.color),"</a:ln>"):"<a:ln><a:noFill/></a:ln>",i+=" <a:effectLst/>",i+="</c:spPr>",i+='<c:externalData r:id="rId1"><c:autoUpdate val="0"/></c:externalData>',i+="</c:chartSpace>",i}function e7(e,t,n,r,o,i){var a=-1,s=1,c=null,l="";switch(e){case at.AREA:case at.BAR:case at.BAR3D:case at.LINE:case at.RADAR:l+="<c:".concat(e,"Chart>"),e===at.AREA&&n.barGrouping==="stacked"&&(l+='<c:grouping val="'+n.barGrouping+'"/>'),(e===at.BAR||e===at.BAR3D)&&(l+='<c:barDir val="'+n.barDir+'"/>',l+='<c:grouping val="'+(n.barGrouping||"clustered")+'"/>'),e===at.RADAR&&(l+='<c:radarStyle val="'+n.radarStyle+'"/>'),l+='<c:varyColors val="0"/>',t.forEach(function(u){var f;a++,l+="<c:ser>",l+=' <c:idx val="'.concat(u._dataIndex,'"/><c:order val="').concat(u._dataIndex,'"/>'),l+=" <c:tx>",l+=" <c:strRef>",l+=" <c:f>Sheet1!$"+In(u._dataIndex+u.labels.length+1)+"$1</c:f>",l+=' <c:strCache><c:ptCount val="1"/><c:pt idx="0"><c:v>'+Zt(u.name)+"</c:v></c:pt></c:strCache>",l+=" </c:strRef>",l+=" </c:tx>";var d=n.chartColors?n.chartColors[a%n.chartColors.length]:null;l+=" <c:spPr>",d==="transparent"?l+="<a:noFill/>":n.chartColorsOpacity?l+="<a:solidFill>"+Rn(d,'<a:alpha val="'.concat(Math.round(n.chartColorsOpacity*1e3),'"/>'))+"</a:solidFill>":l+="<a:solidFill>"+Rn(d)+"</a:solidFill>",e===at.LINE||e===at.RADAR?n.lineSize===0?l+="<a:ln><a:noFill/></a:ln>":(l+='<a:ln w="'.concat(Ct(n.lineSize),'" cap="').concat(uv(n.lineCap),'"><a:solidFill>').concat(Rn(d),"</a:solidFill>"),l+='<a:prstDash val="'+(n.lineDash||"solid")+'"/><a:round/></a:ln>'):n.dataBorder&&(l+='<a:ln w="'.concat(Ct(n.dataBorder.pt),'" cap="').concat(uv(n.lineCap),'"><a:solidFill>').concat(Rn(n.dataBorder.color),'</a:solidFill><a:prstDash val="solid"/><a:round/></a:ln>')),l+=Gc(n.shadow,Hc),l+=" </c:spPr>",l+=' <c:invertIfNegative val="0"/>',e!==at.RADAR&&(l+="<c:dLbls>",l+='<c:numFmt formatCode="'.concat(Zt(n.dataLabelFormatCode)||"General",'" sourceLinked="0"/>'),n.dataLabelBkgrdColors&&(l+="<c:spPr><a:solidFill>".concat(Rn(d),"</a:solidFill></c:spPr>")),l+="<c:txPr><a:bodyPr/><a:lstStyle/><a:p><a:pPr>",l+='<a:defRPr b="'.concat(n.dataLabelFontBold?1:0,'" i="').concat(n.dataLabelFontItalic?1:0,'" strike="noStrike" sz="').concat(Math.round((n.dataLabelFontSize||Ji)*100),'" u="none">'),l+="<a:solidFill>".concat(Rn(n.dataLabelColor||zo),"</a:solidFill>"),l+='<a:latin typeface="'.concat(n.dataLabelFontFace||"Arial",'"/>'),l+="</a:defRPr></a:pPr></a:p></c:txPr>",n.dataLabelPosition&&(l+='<c:dLblPos val="'.concat(n.dataLabelPosition,'"/>')),l+='<c:showLegendKey val="0"/>',l+='<c:showVal val="'.concat(n.showValue?"1":"0",'"/>'),l+='<c:showCatName val="0"/><c:showSerName val="'.concat(n.showSerName?"1":"0",'"/><c:showPercent val="0"/><c:showBubbleSize val="0"/>'),l+='<c:showLeaderLines val="'.concat(n.showLeaderLines?"1":"0",'"/>'),l+="</c:dLbls>"),(e===at.LINE||e===at.RADAR)&&(l+="<c:marker>",l+=' <c:symbol val="'+n.lineDataSymbol+'"/>',n.lineDataSymbolSize&&(l+='<c:size val="'.concat(n.lineDataSymbolSize,'"/>')),l+=" <c:spPr>",l+=" <a:solidFill>".concat(Rn(n.chartColors[u._dataIndex+1>n.chartColors.length?Math.floor(Math.random()*n.chartColors.length):u._dataIndex]),"</a:solidFill>"),l+=' <a:ln w="'.concat(n.lineDataSymbolLineSize,'" cap="flat"><a:solidFill>').concat(Rn(n.lineDataSymbolLineColor||d),'</a:solidFill><a:prstDash val="solid"/><a:round/></a:ln>'),l+=" <a:effectLst/>",l+=" </c:spPr>",l+="</c:marker>"),(e===at.BAR||e===at.BAR3D)&&t.length===1&&(n.chartColors&&n.chartColors!==rh&&n.chartColors.length>1||!((f=n.invertedColors)===null||f===void 0)&&f.length)&&u.values.forEach(function(h,p){var m=h<0?n.invertedColors||n.chartColors||rh:n.chartColors||[];l+=" <c:dPt>",l+=' <c:idx val="'.concat(p,'"/>'),l+=' <c:invertIfNegative val="0"/>',l+=' <c:bubble3D val="0"/>',l+=" <c:spPr>",n.lineSize===0?l+="<a:ln><a:noFill/></a:ln>":e===at.BAR?(l+="<a:solidFill>",l+=' <a:srgbClr val="'+m[p%m.length]+'"/>',l+="</a:solidFill>"):(l+="<a:ln>",l+=" <a:solidFill>",l+=' <a:srgbClr val="'+m[p%m.length]+'"/>',l+=" </a:solidFill>",l+="</a:ln>"),l+=Gc(n.shadow,Hc),l+=" </c:spPr>",l+=" </c:dPt>"}),l+="<c:cat>",n.catLabelFormatCode?(l+=" <c:numRef>",l+=" <c:f>Sheet1!$A$2:$A$".concat(u.labels[0].length+1,"</c:f>"),l+=" <c:numCache>",l+=" <c:formatCode>"+(n.catLabelFormatCode||"General")+"</c:formatCode>",l+=' <c:ptCount val="'.concat(u.labels[0].length,'"/>'),u.labels[0].forEach(function(h,p){return l+='<c:pt idx="'.concat(p,'"><c:v>').concat(Zt(h),"</c:v></c:pt>")}),l+=" </c:numCache>",l+=" </c:numRef>"):(l+=" <c:multiLvlStrRef>",l+=" <c:f>Sheet1!$A$2:$".concat(In(u.labels.length),"$").concat(u.labels[0].length+1,"</c:f>"),l+=" <c:multiLvlStrCache>",l+=' <c:ptCount val="'.concat(u.labels[0].length,'"/>'),u.labels.forEach(function(h){l+="<c:lvl>",h.forEach(function(p,m){return l+='<c:pt idx="'.concat(m,'"><c:v>').concat(Zt(p),"</c:v></c:pt>")}),l+="</c:lvl>"}),l+=" </c:multiLvlStrCache>",l+=" </c:multiLvlStrRef>"),l+="</c:cat>",l+="<c:val>",l+=" <c:numRef>",l+="<c:f>Sheet1!$".concat(In(u._dataIndex+u.labels.length+1),"$2:$").concat(In(u._dataIndex+u.labels.length+1),"$").concat(u.labels[0].length+1,"</c:f>"),l+=" <c:numCache>",l+=" <c:formatCode>"+(n.valLabelFormatCode||n.dataTableFormatCode||"General")+"</c:formatCode>",l+=' <c:ptCount val="'.concat(u.labels[0].length,'"/>'),u.values.forEach(function(h,p){return l+='<c:pt idx="'.concat(p,'"><c:v>').concat(h||h===0?h:"","</c:v></c:pt>")}),l+=" </c:numCache>",l+=" </c:numRef>",l+="</c:val>",e===at.LINE&&(l+='<c:smooth val="'+(n.lineSmooth?"1":"0")+'"/>'),l+="</c:ser>"}),l+=" <c:dLbls>",l+=' <c:numFmt formatCode="'.concat(Zt(n.dataLabelFormatCode)||"General",'" sourceLinked="0"/>'),l+=" <c:txPr>",l+=" <a:bodyPr/>",l+=" <a:lstStyle/>",l+=" <a:p><a:pPr>",l+=' <a:defRPr b="'.concat(n.dataLabelFontBold?1:0,'" i="').concat(n.dataLabelFontItalic?1:0,'" strike="noStrike" sz="').concat(Math.round((n.dataLabelFontSize||Ji)*100),'" u="none">'),l+=" <a:solidFill>"+Rn(n.dataLabelColor||zo)+"</a:solidFill>",l+=' <a:latin typeface="'+(n.dataLabelFontFace||"Arial")+'"/>',l+=" </a:defRPr>",l+=" </a:pPr></a:p>",l+=" </c:txPr>",n.dataLabelPosition&&(l+=' <c:dLblPos val="'+n.dataLabelPosition+'"/>'),l+=' <c:showLegendKey val="0"/>',l+=' <c:showVal val="'+(n.showValue?"1":"0")+'"/>',l+=' <c:showCatName val="0"/>',l+=' <c:showSerName val="'+(n.showSerName?"1":"0")+'"/>',l+=' <c:showPercent val="0"/>',l+=' <c:showBubbleSize val="0"/>',l+=' <c:showLeaderLines val="'.concat(n.showLeaderLines?"1":"0",'"/>'),l+=" </c:dLbls>",e===at.BAR?(l+=' <c:gapWidth val="'.concat(n.barGapWidthPct,'"/>'),l+=' <c:overlap val="'.concat((n.barGrouping||"").includes("tacked")?100:n.barOverlapPct?n.barOverlapPct:0,'"/>')):e===at.BAR3D?(l+=' <c:gapWidth val="'.concat(n.barGapWidthPct,'"/>'),l+=' <c:gapDepth val="'.concat(n.barGapDepthPct,'"/>'),l+=' <c:shape val="'+n.bar3DShape+'"/>'):e===at.LINE&&(l+=' <c:marker val="1"/>'),l+='<c:axId val="'.concat(o,'"/><c:axId val="').concat(r,'"/><c:axId val="').concat(P_,'"/>'),l+="</c:".concat(e,"Chart>");break;case at.SCATTER:l+="<c:"+e+"Chart>",l+='<c:scatterStyle val="lineMarker"/>',l+='<c:varyColors val="0"/>',a=-1,t.filter(function(u,f){return f>0}).forEach(function(u,f){a++,l+="<c:ser>",l+=' <c:idx val="'.concat(f,'"/>'),l+=' <c:order val="'.concat(f,'"/>'),l+=" <c:tx>",l+=" <c:strRef>",l+=" <c:f>Sheet1!$".concat(In(f+2),"$1</c:f>"),l+=' <c:strCache><c:ptCount val="1"/><c:pt idx="0"><c:v>'+Zt(u.name)+"</c:v></c:pt></c:strCache>",l+=" </c:strRef>",l+=" </c:tx>",l+=" <c:spPr>";{var d=n.chartColors[a%n.chartColors.length];d==="transparent"?l+="<a:noFill/>":n.chartColorsOpacity?l+="<a:solidFill>"+Rn(d,'<a:alpha val="'+Math.round(n.chartColorsOpacity*1e3).toString()+'"/>')+"</a:solidFill>":l+="<a:solidFill>"+Rn(d)+"</a:solidFill>",n.lineSize===0?l+="<a:ln><a:noFill/></a:ln>":(l+='<a:ln w="'.concat(Ct(n.lineSize),'" cap="').concat(uv(n.lineCap),'"><a:solidFill>').concat(Rn(d),"</a:solidFill>"),l+='<a:prstDash val="'.concat(n.lineDash||"solid",'"/><a:round/></a:ln>')),l+=Gc(n.shadow,Hc)}if(l+=" </c:spPr>",l+="<c:marker>",l+=' <c:symbol val="'+n.lineDataSymbol+'"/>',n.lineDataSymbolSize&&(l+='<c:size val="'.concat(n.lineDataSymbolSize,'"/>')),l+="<c:spPr>",l+="<a:solidFill>".concat(Rn(n.chartColors[f+1>n.chartColors.length?Math.floor(Math.random()*n.chartColors.length):f]),"</a:solidFill>"),l+='<a:ln w="'.concat(n.lineDataSymbolLineSize,'" cap="flat"><a:solidFill>').concat(Rn(n.lineDataSymbolLineColor||n.chartColors[a%n.chartColors.length]),'</a:solidFill><a:prstDash val="solid"/><a:round/></a:ln>'),l+="<a:effectLst/>",l+="</c:spPr>",l+="</c:marker>",n.showLabel){var h=cv("-xxxx-xxxx-xxxx-xxxxxxxxxxxx");u.labels[0]&&(n.dataLabelFormatScatter==="custom"||n.dataLabelFormatScatter==="customXY")&&(l+="<c:dLbls>",u.labels[0].forEach(function(p,m){(n.dataLabelFormatScatter==="custom"||n.dataLabelFormatScatter==="customXY")&&(l+=" <c:dLbl>",l+=' <c:idx val="'.concat(m,'"/>'),l+=" <c:tx>",l+=" <c:rich>",l+=" <a:bodyPr>",l+=" <a:spAutoFit/>",l+=" </a:bodyPr>",l+=" <a:lstStyle/>",l+=" <a:p>",l+=" <a:pPr>",l+=" <a:defRPr/>",l+=" </a:pPr>",l+=" <a:r>",l+=' <a:rPr lang="'+(n.lang||"en-US")+'" dirty="0"/>',l+=" <a:t>"+Zt(p)+"</a:t>",l+=" </a:r>",n.dataLabelFormatScatter==="customXY"&&!/^ *$/.test(p)&&(l+=" <a:r>",l+=' <a:rPr lang="'+(n.lang||"en-US")+'" baseline="0" dirty="0"/>',l+=" <a:t> (</a:t>",l+=" </a:r>",l+=' <a:fld id="{'+cv("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")+'}" type="XVALUE">',l+=' <a:rPr lang="'+(n.lang||"en-US")+'" baseline="0"/>',l+=" <a:pPr>",l+=" <a:defRPr/>",l+=" </a:pPr>",l+=" <a:t>["+Zt(u.name)+"</a:t>",l+=" </a:fld>",l+=" <a:r>",l+=' <a:rPr lang="'+(n.lang||"en-US")+'" baseline="0" dirty="0"/>',l+=" <a:t>, </a:t>",l+=" </a:r>",l+=' <a:fld id="{'+cv("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")+'}" type="YVALUE">',l+=' <a:rPr lang="'+(n.lang||"en-US")+'" baseline="0"/>',l+=" <a:pPr>",l+=" <a:defRPr/>",l+=" </a:pPr>",l+=" <a:t>["+Zt(u.name)+"]</a:t>",l+=" </a:fld>",l+=" <a:r>",l+=' <a:rPr lang="'+(n.lang||"en-US")+'" baseline="0" dirty="0"/>',l+=" <a:t>)</a:t>",l+=" </a:r>",l+=' <a:endParaRPr lang="'+(n.lang||"en-US")+'" dirty="0"/>'),l+=" </a:p>",l+=" </c:rich>",l+=" </c:tx>",l+=" <c:spPr>",l+=" <a:noFill/>",l+=" <a:ln>",l+=" <a:noFill/>",l+=" </a:ln>",l+=" <a:effectLst/>",l+=" </c:spPr>",n.dataLabelPosition&&(l+=' <c:dLblPos val="'+n.dataLabelPosition+'"/>'),l+=' <c:showLegendKey val="0"/>',l+=' <c:showVal val="0"/>',l+=' <c:showCatName val="0"/>',l+=' <c:showSerName val="0"/>',l+=' <c:showPercent val="0"/>',l+=' <c:showBubbleSize val="0"/>',l+=' <c:showLeaderLines val="1"/>',l+=" <c:extLst>",l+=' <c:ext uri="{CE6537A1-D6FC-4f65-9D91-7224C49458BB}" xmlns:c15="http://schemas.microsoft.com/office/drawing/2012/chart"/>',l+=' <c:ext uri="{C3380CC4-5D6E-409C-BE32-E72D297353CC}" xmlns:c16="http://schemas.microsoft.com/office/drawing/2014/chart">',l+=' <c16:uniqueId val="{'.concat("00000000".substring(0,8-(m+1).toString().length).toString()).concat(m+1).concat(h,'}"/>'),l+=" </c:ext>",l+=" </c:extLst>",l+="</c:dLbl>")}),l+="</c:dLbls>"),n.dataLabelFormatScatter==="XY"&&(l+="<c:dLbls>",l+=" <c:spPr>",l+=" <a:noFill/>",l+=" <a:ln>",l+=" <a:noFill/>",l+=" </a:ln>",l+=" <a:effectLst/>",l+=" </c:spPr>",l+=" <c:txPr>",l+=" <a:bodyPr>",l+=" <a:spAutoFit/>",l+=" </a:bodyPr>",l+=" <a:lstStyle/>",l+=" <a:p>",l+=" <a:pPr>",l+=" <a:defRPr/>",l+=" </a:pPr>",l+=' <a:endParaRPr lang="en-US"/>',l+=" </a:p>",l+=" </c:txPr>",n.dataLabelPosition&&(l+=' <c:dLblPos val="'+n.dataLabelPosition+'"/>'),l+=' <c:showLegendKey val="0"/>',l+=' <c:showVal val="'.concat(n.showLabel?"1":"0",'"/>'),l+=' <c:showCatName val="'.concat(n.showLabel?"1":"0",'"/>'),l+=' <c:showSerName val="'.concat(n.showSerName?"1":"0",'"/>'),l+=' <c:showPercent val="0"/>',l+=' <c:showBubbleSize val="0"/>',l+=" <c:extLst>",l+=' <c:ext uri="{CE6537A1-D6FC-4f65-9D91-7224C49458BB}" xmlns:c15="http://schemas.microsoft.com/office/drawing/2012/chart">',l+=' <c15:showLeaderLines val="1"/>',l+=" </c:ext>",l+=" </c:extLst>",l+="</c:dLbls>")}t.length===1&&n.chartColors!==rh&&u.values.forEach(function(p,m){var A=p<0?n.invertedColors||n.chartColors||rh:n.chartColors||[];l+=" <c:dPt>",l+=' <c:idx val="'.concat(m,'"/>'),l+=' <c:invertIfNegative val="0"/>',l+=' <c:bubble3D val="0"/>',l+=" <c:spPr>",n.lineSize===0?l+="<a:ln><a:noFill/></a:ln>":(l+="<a:solidFill>",l+=' <a:srgbClr val="'+A[m%A.length]+'"/>',l+="</a:solidFill>"),l+=Gc(n.shadow,Hc),l+=" </c:spPr>",l+=" </c:dPt>"}),l+="<c:xVal>",l+=" <c:numRef>",l+=" <c:f>Sheet1!$A$2:$A$".concat(t[0].values.length+1,"</c:f>"),l+=" <c:numCache>",l+=" <c:formatCode>General</c:formatCode>",l+=' <c:ptCount val="'.concat(t[0].values.length,'"/>'),t[0].values.forEach(function(p,m){l+='<c:pt idx="'.concat(m,'"><c:v>').concat(p||p===0?p:"","</c:v></c:pt>")}),l+=" </c:numCache>",l+=" </c:numRef>",l+="</c:xVal>",l+="<c:yVal>",l+=" <c:numRef>",l+=" <c:f>Sheet1!$".concat(In(f+2),"$2:$").concat(In(f+2),"$").concat(t[0].values.length+1,"</c:f>"),l+=" <c:numCache>",l+=" <c:formatCode>General</c:formatCode>",l+=' <c:ptCount val="'.concat(t[0].values.length,'"/>'),t[0].values.forEach(function(p,m){l+='<c:pt idx="'.concat(m,'"><c:v>').concat(u.values[m]||u.values[m]===0?u.values[m]:"","</c:v></c:pt>")}),l+=" </c:numCache>",l+=" </c:numRef>",l+="</c:yVal>",l+='<c:smooth val="'+(n.lineSmooth?"1":"0")+'"/>',l+="</c:ser>"}),l+=" <c:dLbls>",l+=' <c:numFmt formatCode="'.concat(Zt(n.dataLabelFormatCode)||"General",'" sourceLinked="0"/>'),l+=" <c:txPr>",l+=" <a:bodyPr/>",l+=" <a:lstStyle/>",l+=" <a:p><a:pPr>",l+=' <a:defRPr b="'.concat(n.dataLabelFontBold?"1":"0",'" i="').concat(n.dataLabelFontItalic?"1":"0",'" strike="noStrike" sz="').concat(Math.round((n.dataLabelFontSize||Ji)*100),'" u="none">'),l+=" <a:solidFill>"+Rn(n.dataLabelColor||zo)+"</a:solidFill>",l+=' <a:latin typeface="'+(n.dataLabelFontFace||"Arial")+'"/>',l+=" </a:defRPr>",l+=" </a:pPr></a:p>",l+=" </c:txPr>",n.dataLabelPosition&&(l+=' <c:dLblPos val="'+n.dataLabelPosition+'"/>'),l+=' <c:showLegendKey val="0"/>',l+=' <c:showVal val="'+(n.showValue?"1":"0")+'"/>',l+=' <c:showCatName val="0"/>',l+=' <c:showSerName val="'+(n.showSerName?"1":"0")+'"/>',l+=' <c:showPercent val="0"/>',l+=' <c:showBubbleSize val="0"/>',l+=" </c:dLbls>",l+='<c:axId val="'.concat(o,'"/><c:axId val="').concat(r,'"/>'),l+="</c:"+e+"Chart>";break;case at.BUBBLE:case at.BUBBLE3D:l+="<c:bubbleChart>",l+='<c:varyColors val="0"/>',a=-1,t.filter(function(u,f){return f>0}).forEach(function(u,f){a++,l+="<c:ser>",l+=' <c:idx val="'.concat(f,'"/>'),l+=' <c:order val="'.concat(f,'"/>'),l+=" <c:tx>",l+=" <c:strRef>",l+=" <c:f>Sheet1!$"+In(s+1)+"$1</c:f>",l+=' <c:strCache><c:ptCount val="1"/><c:pt idx="0"><c:v>'+Zt(u.name)+"</c:v></c:pt></c:strCache>",l+=" </c:strRef>",l+=" </c:tx>";{l+="<c:spPr>";var d=n.chartColors[a%n.chartColors.length];d==="transparent"?l+="<a:noFill/>":n.chartColorsOpacity?l+="<a:solidFill>".concat(Rn(d,'<a:alpha val="'+Math.round(n.chartColorsOpacity*1e3).toString()+'"/>'),"</a:solidFill>"):l+="<a:solidFill>"+Rn(d)+"</a:solidFill>",n.lineSize===0?l+="<a:ln><a:noFill/></a:ln>":n.dataBorder?l+='<a:ln w="'.concat(Ct(n.dataBorder.pt),'" cap="flat"><a:solidFill>').concat(Rn(n.dataBorder.color),'</a:solidFill><a:prstDash val="solid"/><a:round/></a:ln>'):(l+='<a:ln w="'.concat(Ct(n.lineSize),'" cap="flat"><a:solidFill>').concat(Rn(d),"</a:solidFill>"),l+='<a:prstDash val="'.concat(n.lineDash||"solid",'"/><a:round/></a:ln>')),l+=Gc(n.shadow,Hc),l+="</c:spPr>"}l+="<c:xVal>",l+=" <c:numRef>",l+=" <c:f>Sheet1!$A$2:$A$".concat(t[0].values.length+1,"</c:f>"),l+=" <c:numCache>",l+=" <c:formatCode>General</c:formatCode>",l+=' <c:ptCount val="'.concat(t[0].values.length,'"/>'),t[0].values.forEach(function(h,p){l+='<c:pt idx="'.concat(p,'"><c:v>').concat(h||h===0?h:"","</c:v></c:pt>")}),l+=" </c:numCache>",l+=" </c:numRef>",l+="</c:xVal>",l+="<c:yVal>",l+=" <c:numRef>",l+="<c:f>Sheet1!$".concat(In(s+1),"$2:$").concat(In(s+1),"$").concat(t[0].values.length+1,"</c:f>"),s++,l+=" <c:numCache>",l+=" <c:formatCode>General</c:formatCode>",l+=' <c:ptCount val="'.concat(t[0].values.length,'"/>'),t[0].values.forEach(function(h,p){l+='<c:pt idx="'.concat(p,'"><c:v>').concat(u.values[p]||u.values[p]===0?u.values[p]:"","</c:v></c:pt>")}),l+=" </c:numCache>",l+=" </c:numRef>",l+="</c:yVal>",l+=" <c:bubbleSize>",l+=" <c:numRef>",l+="<c:f>Sheet1!$".concat(In(s+1),"$2:$").concat(In(s+1),"$").concat(u.sizes.length+1,"</c:f>"),s++,l+=" <c:numCache>",l+=" <c:formatCode>General</c:formatCode>",l+=' <c:ptCount val="'.concat(u.sizes.length,'"/>'),u.sizes.forEach(function(h,p){l+='<c:pt idx="'.concat(p,'"><c:v>').concat(h||"","</c:v></c:pt>")}),l+=" </c:numCache>",l+=" </c:numRef>",l+=" </c:bubbleSize>",l+=' <c:bubble3D val="'+(e===at.BUBBLE3D?"1":"0")+'"/>',l+="</c:ser>"}),l+="<c:dLbls>",l+='<c:numFmt formatCode="'.concat(Zt(n.dataLabelFormatCode)||"General",'" sourceLinked="0"/>'),l+="<c:txPr><a:bodyPr/><a:lstStyle/><a:p><a:pPr>",l+='<a:defRPr b="'.concat(n.dataLabelFontBold?1:0,'" i="').concat(n.dataLabelFontItalic?1:0,'" strike="noStrike" sz="').concat(Math.round(Math.round(n.dataLabelFontSize||Ji)*100),'" u="none">'),l+="<a:solidFill>".concat(Rn(n.dataLabelColor||zo),"</a:solidFill>"),l+='<a:latin typeface="'.concat(n.dataLabelFontFace||"Arial",'"/>'),l+="</a:defRPr></a:pPr></a:p></c:txPr>",n.dataLabelPosition&&(l+='<c:dLblPos val="'.concat(n.dataLabelPosition,'"/>')),l+='<c:showLegendKey val="0"/>',l+='<c:showVal val="'.concat(n.showValue?"1":"0",'"/>'),l+='<c:showCatName val="0"/><c:showSerName val="'.concat(n.showSerName?"1":"0",'"/><c:showPercent val="0"/><c:showBubbleSize val="0"/>'),l+="<c:extLst>",l+=' <c:ext uri="{CE6537A1-D6FC-4f65-9D91-7224C49458BB}" xmlns:c15="http://schemas.microsoft.com/office/drawing/2012/chart">',l+=' <c15:showLeaderLines val="'+(n.showLeaderLines?"1":"0")+'"/>',l+=" </c:ext>",l+="</c:extLst>",l+="</c:dLbls>",l+='<c:axId val="'.concat(o,'"/><c:axId val="').concat(r,'"/>'),l+="</c:bubbleChart>";break;case at.DOUGHNUT:case at.PIE:c=t[0],l+="<c:"+e+"Chart>",l+=' <c:varyColors val="1"/>',l+="<c:ser>",l+=' <c:idx val="0"/>',l+=' <c:order val="0"/>',l+=" <c:tx>",l+=" <c:strRef>",l+=" <c:f>Sheet1!$B$1</c:f>",l+=" <c:strCache>",l+=' <c:ptCount val="1"/>',l+=' <c:pt idx="0"><c:v>'+Zt(c.name)+"</c:v></c:pt>",l+=" </c:strCache>",l+=" </c:strRef>",l+=" </c:tx>",l+=" <c:spPr>",l+=' <a:solidFill><a:schemeClr val="accent1"/></a:solidFill>',l+=' <a:ln w="9525" cap="flat"><a:solidFill><a:srgbClr val="F9F9F9"/></a:solidFill><a:prstDash val="solid"/><a:round/></a:ln>',n.dataNoEffects?l+="<a:effectLst/>":l+=Gc(n.shadow,Hc),l+=" </c:spPr>",c.labels[0].forEach(function(u,f){l+="<c:dPt>",l+=' <c:idx val="'.concat(f,'"/>'),l+=' <c:bubble3D val="0"/>',l+=" <c:spPr>",l+="<a:solidFill>".concat(Rn(n.chartColors[f+1>n.chartColors.length?Math.floor(Math.random()*n.chartColors.length):f]),"</a:solidFill>"),n.dataBorder&&(l+='<a:ln w="'.concat(Ct(n.dataBorder.pt),'" cap="flat"><a:solidFill>').concat(Rn(n.dataBorder.color),'</a:solidFill><a:prstDash val="solid"/><a:round/></a:ln>')),l+=Gc(n.shadow,Hc),l+=" </c:spPr>",l+="</c:dPt>"}),l+="<c:dLbls>",c.labels[0].forEach(function(u,f){l+="<c:dLbl>",l+=' <c:idx val="'.concat(f,'"/>'),l+=' <c:numFmt formatCode="'.concat(Zt(n.dataLabelFormatCode)||"General",'" sourceLinked="0"/>'),l+=" <c:spPr/><c:txPr>",l+=" <a:bodyPr/><a:lstStyle/>",l+=" <a:p><a:pPr>",l+=' <a:defRPr sz="'.concat(Math.round((n.dataLabelFontSize||Ji)*100),'" b="').concat(n.dataLabelFontBold?1:0,'" i="').concat(n.dataLabelFontItalic?1:0,'" u="none" strike="noStrike">'),l+=" <a:solidFill>"+Rn(n.dataLabelColor||zo)+"</a:solidFill>",l+=' <a:latin typeface="'.concat(n.dataLabelFontFace||"Arial",'"/>'),l+=" </a:defRPr>",l+=" </a:pPr></a:p>",l+=" </c:txPr>",e===at.PIE&&n.dataLabelPosition&&(l+='<c:dLblPos val="'.concat(n.dataLabelPosition,'"/>')),l+=' <c:showLegendKey val="0"/>',l+=' <c:showVal val="'+(n.showValue?"1":"0")+'"/>',l+=' <c:showCatName val="'+(n.showLabel?"1":"0")+'"/>',l+=' <c:showSerName val="'+(n.showSerName?"1":"0")+'"/>',l+=' <c:showPercent val="'+(n.showPercent?"1":"0")+'"/>',l+=' <c:showBubbleSize val="0"/>',l+=" </c:dLbl>"}),l+=' <c:numFmt formatCode="'.concat(Zt(n.dataLabelFormatCode)||"General",'" sourceLinked="0"/>'),l+=" <c:txPr>",l+=" <a:bodyPr/>",l+=" <a:lstStyle/>",l+=" <a:p>",l+=" <a:pPr>",l+=' <a:defRPr sz="1800" b="'.concat(n.dataLabelFontBold?"1":"0",'" i="').concat(n.dataLabelFontItalic?"1":"0",'" u="none" strike="noStrike">'),l+=' <a:solidFill><a:srgbClr val="000000"/></a:solidFill><a:latin typeface="Arial"/>',l+=" </a:defRPr>",l+=" </a:pPr>",l+=" </a:p>",l+=" </c:txPr>",l+=e===at.PIE?'<c:dLblPos val="ctr"/>':"",l+=' <c:showLegendKey val="0"/>',l+=' <c:showVal val="0"/>',l+=' <c:showCatName val="1"/>',l+=' <c:showSerName val="0"/>',l+=' <c:showPercent val="1"/>',l+=' <c:showBubbleSize val="0"/>',l+=' <c:showLeaderLines val="'.concat(n.showLeaderLines?"1":"0",'"/>'),l+="</c:dLbls>",l+="<c:cat>",l+=" <c:strRef>",l+=" <c:f>Sheet1!$A$2:$A$".concat(c.labels[0].length+1,"</c:f>"),l+=" <c:strCache>",l+=' <c:ptCount val="'.concat(c.labels[0].length,'"/>'),c.labels[0].forEach(function(u,f){l+='<c:pt idx="'.concat(f,'"><c:v>').concat(Zt(u),"</c:v></c:pt>")}),l+=" </c:strCache>",l+=" </c:strRef>",l+="</c:cat>",l+=" <c:val>",l+=" <c:numRef>",l+=" <c:f>Sheet1!$B$2:$B$".concat(c.labels[0].length+1,"</c:f>"),l+=" <c:numCache>",l+=' <c:ptCount val="'.concat(c.labels[0].length,'"/>'),c.values.forEach(function(u,f){l+='<c:pt idx="'.concat(f,'"><c:v>').concat(u||u===0?u:"","</c:v></c:pt>")}),l+=" </c:numCache>",l+=" </c:numRef>",l+=" </c:val>",l+=" </c:ser>",l+=' <c:firstSliceAng val="'.concat(n.firstSliceAng?Math.round(n.firstSliceAng):0,'"/>'),e===at.DOUGHNUT&&(l+='<c:holeSize val="'.concat(typeof n.holeSize=="number"?n.holeSize:"50",'"/>')),l+="</c:"+e+"Chart>";break;default:l+="";break}return l}function h4(e,t,n){var r="";return e._type===at.SCATTER||e._type===at.BUBBLE||e._type===at.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"?W5(e.catGridLine):"",e.showCatAxisTitle&&(r+=y2({color:e.catAxisTitleColor,fontFace:e.catAxisTitleFontFace,fontSize:e.catAxisTitleFontSize,titleRotate:e.catAxisTitleRotate,title:e.catAxisTitle||"Axis Title"})),e._type===at.SCATTER||e._type===at.BUBBLE||e._type===at.BUBBLE3D?r+=' <c:numFmt formatCode="'+(e.valAxisLabelFormatCode?Zt(e.valAxisLabelFormatCode):"General")+'" sourceLinked="1"/>':r+=' <c:numFmt formatCode="'+(Zt(e.catLabelFormatCode)||"General")+'" sourceLinked="1"/>',e._type===at.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?Ct(e.catAxisLineSize):jp,'" cap="flat">'),r+=e.catAxisLineShow?"<a:solidFill>"+Rn(e.catAxisLineColor||lu.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(cu(e.catAxisLabelRotate),'"/>'):r+="<a:bodyPr/>",r+=" <a:lstStyle/>",r+=" <a:p>",r+=" <a:pPr>",r+=' <a:defRPr sz="'.concat(Math.round((e.catAxisLabelFontSize||Ji)*100),'" b="').concat(e.catAxisLabelFontBold?1:0,'" i="').concat(e.catAxisLabelFontItalic?1:0,'" u="none" strike="noStrike">'),r+=" <a:solidFill>"+Rn(e.catAxisLabelColor||zo)+"</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===at.SCATTER||e._type===at.BUBBLE||e._type===at.BUBBLE3D)&&(e.catLabelFormatCode&&(["catAxisBaseTimeUnit","catAxisMajorTimeUnit","catAxisMinorTimeUnit"].forEach(function(o){e[o]&&(typeof e[o]!="string"||!["days","months","years"].includes(e[o].toLowerCase()))&&(console.warn('"'.concat(o,`" must be one of: 'days','months','years' !`)),e[o]=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===at.SCATTER||e._type===at.BUBBLE||e._type===at.BUBBLE3D?r+="</c:valAx>":r+="</c:"+(e.catLabelFormatCode?"dateAx":"catAx")+">",r}function p4(e,t){var n=t===Bs?e.barDir==="col"?"l":"b":e.barDir!=="col"?"r":"t";t===lv&&(n="r");var r=t===Bs?nh:gx,o="";if(o+="<c:valAx>",o+=' <c:axId val="'+t+'"/>',o+=" <c:scaling>",e.valAxisLogScaleBase&&(o+='<c:logBase val="'.concat(e.valAxisLogScaleBase,'"/>')),o+='<c:orientation val="'+(e.valAxisOrientation||(e.barDir==="col","minMax"))+'"/>',(e.valAxisMaxVal||e.valAxisMaxVal===0)&&(o+='<c:max val="'.concat(e.valAxisMaxVal,'"/>')),(e.valAxisMinVal||e.valAxisMinVal===0)&&(o+='<c:min val="'.concat(e.valAxisMinVal,'"/>')),o+=" </c:scaling>",o+=' <c:delete val="'.concat(e.valAxisHidden?1:0,'"/>'),o+=' <c:axPos val="'+n+'"/>',e.valGridLine.style!=="none"&&(o+=W5(e.valGridLine)),e.showValAxisTitle&&(o+=y2({color:e.valAxisTitleColor,fontFace:e.valAxisTitleFontFace,fontSize:e.valAxisTitleFontSize,titleRotate:e.valAxisTitleRotate,title:e.valAxisTitle||"Axis Title"})),o+='<c:numFmt formatCode="'.concat(e.valAxisLabelFormatCode?Zt(e.valAxisLabelFormatCode):"General",'" sourceLinked="0"/>'),e._type===at.SCATTER?(o+=' <c:majorTickMark val="none"/>',o+=' <c:minorTickMark val="none"/>',o+=' <c:tickLblPos val="nextTo"/>'):(o+=' <c:majorTickMark val="'+(e.valAxisMajorTickMark||"out")+'"/>',o+=' <c:minorTickMark val="'+(e.valAxisMinorTickMark||"none")+'"/>',o+=' <c:tickLblPos val="'+(e.valAxisLabelPos||(e.barDir==="col"?"nextTo":"low"))+'"/>'),o+=" <c:spPr>",o+=' <a:ln w="'.concat(e.valAxisLineSize?Ct(e.valAxisLineSize):jp,'" cap="flat">'),o+=e.valAxisLineShow?"<a:solidFill>"+Rn(e.valAxisLineColor||lu.color)+"</a:solidFill>":"<a:noFill/>",o+=' <a:prstDash val="'+(e.valAxisLineStyle||"solid")+'"/>',o+=" <a:round/>",o+=" </a:ln>",o+=" </c:spPr>",o+=" <c:txPr>",o+=" <a:bodyPr".concat(e.valAxisLabelRotate?' rot="'+cu(e.valAxisLabelRotate).toString()+'"':"","/>"),o+=" <a:lstStyle/>",o+=" <a:p>",o+=" <a:pPr>",o+=' <a:defRPr sz="'.concat(Math.round((e.valAxisLabelFontSize||Ji)*100),'" b="').concat(e.valAxisLabelFontBold?1:0,'" i="').concat(e.valAxisLabelFontItalic?1:0,'" u="none" strike="noStrike">'),o+=" <a:solidFill>"+Rn(e.valAxisLabelColor||zo)+"</a:solidFill>",o+=' <a:latin typeface="'+(e.valAxisLabelFontFace||"Arial")+'"/>',o+=" </a:defRPr>",o+=" </a:pPr>",o+=' <a:endParaRPr lang="'+(e.lang||"en-US")+'"/>',o+=" </a:p>",o+=" </c:txPr>",o+=' <c:crossAx val="'+r+'"/>',typeof e.catAxisCrossesAt=="number")o+=' <c:crossesAt val="'.concat(e.catAxisCrossesAt,'"/>');else if(typeof e.catAxisCrossesAt=="string")o+=' <c:crosses val="'+e.catAxisCrossesAt+'"/>';else{var i=n==="r"||n==="t",a=i?"max":"autoZero";o+=' <c:crosses val="'+a+'"/>'}return o+=' <c:crossBetween val="'+(e._type===at.SCATTER||Array.isArray(e._type)&&e._type.filter(function(s){return s.type===at.AREA}).length>0?"midCat":"between")+'"/>',e.valAxisMajorUnit&&(o+=' <c:majorUnit val="'.concat(e.valAxisMajorUnit,'"/>')),e.valAxisDisplayUnit&&(o+='<c:dispUnits><c:builtInUnit val="'.concat(e.valAxisDisplayUnit,'"/>').concat(e.valAxisDisplayUnitLabel?"<c:dispUnitsLbl/>":"","</c:dispUnits>")),o+="</c:valAx>",o}function pye(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"?W5(e.serGridLine):"",e.showSerAxisTitle&&(r+=y2({color:e.serAxisTitleColor,fontFace:e.serAxisTitleFontFace,fontSize:e.serAxisTitleFontSize,titleRotate:e.serAxisTitleRotate,title:e.serAxisTitle||"Axis Title"})),r+=' <c:numFmt formatCode="'.concat(Zt(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(Rn(e.serAxisLineColor||lu.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||Ji)*100),'" b="').concat(e.serAxisLabelFontBold?"1":"0",'" i="').concat(e.serAxisLabelFontItalic?"1":"0",'" u="none" strike="noStrike">'),r+=" <a:solidFill>".concat(Rn(e.serAxisLabelColor||zo),"</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(o){e[o]&&(typeof e[o]!="string"||!["days","months","years"].includes(o.toLowerCase()))&&(console.warn('"'.concat(o,`" must be one of: 'days','months','years' !`)),e[o]=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 y2(e,t,n){var r=e.titleAlign==="left"||e.titleAlign==="right"?'<a:pPr algn="'.concat(e.titleAlign.substring(0,1),'">'):"<a:pPr>",o=e.titleRotate?'<a:bodyPr rot="'.concat(cu(e.titleRotate),'"/>'):"<a:bodyPr/>",i=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 c=e.titlePos.x+t,l=e.titlePos.y+n,u=c===0?0:c*(c/5)/10;u>=1&&(u=u/10),u>=.1&&(u=u/10);var f=l===0?0:l*(l/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(u,'"/><c:y val="').concat(f,'"/></c:manualLayout></c:layout>')}return`<c:title>
<c:tx>
<c:rich>
`.concat(o,`
<a:lstStyle/>
<a:p>
`).concat(r,`
<a:defRPr `).concat(i,' b="').concat(a,`" i="0" u="none" strike="noStrike">
<a:solidFill>`).concat(Rn(e.color||zo),`</a:solidFill>
<a:latin typeface="`).concat(e.fontFace||"Arial",`"/>
</a:defRPr>
</a:pPr>
<a:r>
<a:rPr `).concat(i,' b="').concat(a,`" i="0" u="none" strike="noStrike">
<a:solidFill>`).concat(Rn(e.color||zo),`</a:solidFill>
<a:latin typeface="`).concat(e.fontFace||"Arial",`"/>
</a:rPr>
<a:t>`).concat(Zt(e.title)||"",`</a:t>
</a:r>
</a:p>
</c:rich>
</c:tx>
`).concat(s,`
<c:overlay val="0"/>
</c:title>`)}function In(e){var t="",n=e-1;return n<=25?t=w0[n]:t="".concat(w0[Math.floor(n/w0.length-1)]).concat(w0[n%w0.length]),t}function Gc(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=wr(wr({},t),e),o=r.type||"outer",i=Ct(r.blur),a=Ct(r.offset),s=Math.round(r.angle*6e4),c=r.color,l=Math.round(r.opacity*1e5),u=r.rotateWithShape?1:0;return n+="<a:".concat(o,'Shdw sx="100000" sy="100000" kx="0" ky="0" algn="bl" blurRad="').concat(i,'" rotWithShape="').concat(u,'" dist="').concat(a,'" dir="').concat(s,'">'),n+='<a:srgbClr val="'.concat(c,'">'),n+='<a:alpha val="'.concat(l,'"/></a:srgbClr>'),n+="</a:".concat(o,"Shdw>"),n+="</a:effectLst>",n}function W5(e){var t="<c:majorGridlines>";return t+=" <c:spPr>",t+=' <a:ln w="'.concat(Ct(e.size||lu.size),'" cap="').concat(uv(e.cap||lu.cap),'">'),t+=' <a:solidFill><a:srgbClr val="'+(e.color||lu.color)+'"/></a:solidFill>',t+=' <a:prstDash val="'+(e.style||lu.style)+'"/><a:round/>',t+=" </a:ln>",t+=" </c:spPr>",t+="</c:majorGridlines>",t}function uv(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 m4(e){var t=typeof require<"u"&&typeof window>"u"?require("fs"):null,n=typeof require<"u"&&typeof window>"u"?require("https"):null,r=[],o=e._relsMedia.filter(function(a){return a.type!=="online"&&!a.data&&(!a.path||a.path&&!a.path.includes("preencoded"))}),i=[];return o.forEach(function(a){i.includes(a.path)?a.isDuplicate=!0:(a.isDuplicate=!1,i.push(a.path))}),o.filter(function(a){return!a.isDuplicate}).forEach(function(a){r.push(new Promise(function(s,c){if(t&&a.path.indexOf("http")!==0)try{var l=t.readFileSync(a.path);a.data=Buffer.from(l).toString("base64"),o.filter(function(f){return f.isDuplicate&&f.path===a.path}).forEach(function(f){return f.data=a.data}),s("done")}catch(f){a.data=nd,o.filter(function(d){return d.isDuplicate&&d.path===a.path}).forEach(function(d){return d.data=a.data}),c(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"),o.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=nd,o.filter(function(p){return p.isDuplicate&&p.path===a.path}).forEach(function(p){return p.data=a.data}),c(new Error("ERROR! Unable to load image (https.get): ".concat(a.path)))})});else{var u=new XMLHttpRequest;u.onload=function(){var f=new FileReader;f.onloadend=function(){a.data=f.result,o.filter(function(d){return d.isDuplicate&&d.path===a.path}).forEach(function(d){return d.data=a.data}),a.isSvgPng?t7(a).then(function(){s("done")}).catch(function(d){c(d)}):s("done")},f.readAsDataURL(u.response)},u.onerror=function(f){a.data=nd,o.filter(function(d){return d.isDuplicate&&d.path===a.path}).forEach(function(d){return d.data=a.data}),c(new Error("ERROR! Unable to load image (xhr.onerror): ".concat(a.path)))},u.open("GET",a.path),u.responseType="blob",u.send()}}))}),e._relsMedia.filter(function(a){return a.isSvgPng&&a.data}).forEach(function(a){t?(a.data=nd,r.push(Promise.resolve().then(function(){return"done"}))):r.push(t7(a))}),r}function t7(e){return Ga(this,void 0,void 0,function(){return Ja(this,function(t){switch(t.label){case 0:return[4,new Promise(function(n,r){var o=new Image;o.onload=function(){o.width+o.height===0&&o.onerror("h/w=0");var i=document.createElement("CANVAS"),a=i.getContext("2d");i.width=o.width,i.height=o.height,a.drawImage(o,0,0);try{e.data=i.toDataURL(e.type),n("done")}catch(s){o.onerror(s)}i=null},o.onerror=function(i){e.data=nd,r(new Error("ERROR! Unable to load image (image.onerror): ".concat(e.path)))},o.src=typeof e.data=="string"?e.data:nd})];case 1:return[2,t.sent()]}})})}var mye={cover:function(e,t){var n=e.h/e.w,r=t.h/t.w,o=r>n,i=o?t.h/n:t.w,a=o?t.h:t.w*n,s=Math.round(1e5*.5*(1-t.w/i)),c=Math.round(1e5*.5*(1-t.h/a));return'<a:srcRect l="'.concat(s,'" r="').concat(s,'" t="').concat(c,'" b="').concat(c,'"/><a:stretch/>')},contain:function(e,t){var n=e.h/e.w,r=t.h/t.w,o=r>n,i=o?t.w:t.h/n,a=o?t.w*n:t.h,s=Math.round(1e5*.5*(1-t.w/i)),c=Math.round(1e5*.5*(1-t.h/a));return'<a:srcRect l="'.concat(s,'" r="').concat(s,'" t="').concat(c,'" b="').concat(c,'"/><a:stretch/>')},crop:function(e,t){var n=t.x,r=e.w-(t.x+t.w),o=t.y,i=e.h-(t.y+t.h),a=Math.round(1e5*(n/e.w)),s=Math.round(1e5*(r/e.w)),c=Math.round(1e5*(o/e.h)),l=Math.round(1e5*(i/e.h));return'<a:srcRect l="'.concat(a,'" r="').concat(s,'" t="').concat(c,'" b="').concat(l,'"/><a:stretch/>')}};function V5(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(Oi(e.background),"</p:bgPr></p:bg>"):!e.bkgd&&e._name&&e._name===vx&&(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(o,i){var a,s,c,l,u,f,d,h,p=0,m=0,A=en("75%","X",e._presLayout),x=0,R,y="",g=null,S=null,L=0,T=0,M=null,O=null,k=(a=o.options)===null||a===void 0?void 0:a.sizing,_=(s=o.options)===null||s===void 0?void 0:s.rounding;e._slideLayout!==void 0&&e._slideLayout._slideObjects!==void 0&&o.options&&o.options.placeholder&&(R=e._slideLayout._slideObjects.filter(function(K){return K.options.placeholder===o.options.placeholder})[0]),o.options=o.options||{},typeof o.options.x<"u"&&(p=en(o.options.x,"X",e._presLayout)),typeof o.options.y<"u"&&(m=en(o.options.y,"Y",e._presLayout)),typeof o.options.w<"u"&&(A=en(o.options.w,"X",e._presLayout)),typeof o.options.h<"u"&&(x=en(o.options.h,"Y",e._presLayout));var N=A,X=x;switch(R&&((R.options.x||R.options.x===0)&&(p=en(R.options.x,"X",e._presLayout)),(R.options.y||R.options.y===0)&&(m=en(R.options.y,"Y",e._presLayout)),(R.options.w||R.options.w===0)&&(A=en(R.options.w,"X",e._presLayout)),(R.options.h||R.options.h===0)&&(x=en(R.options.h,"Y",e._presLayout))),o.options.flipH&&(y+=' flipH="1"'),o.options.flipV&&(y+=' flipV="1"'),o.options.rotate&&(y+=' rot="'.concat(cu(o.options.rotate),'"')),o._type){case Bt.table:if(g=o.arrTabRows,S=o.options,L=0,T=0,g[0].forEach(function(K){M=K.options||null,L+=M!=null&&M.colspan?Number(M.colspan):1}),O='<p:graphicFrame><p:nvGraphicFramePr><p:cNvPr id="'.concat(r*e._slideNum+1,'" name="').concat(o.options.objectName,'"/>'),O+='<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>',O+='<p:xfrm><a:off x="'.concat(p||(p===0?0:Qt),'" y="').concat(m||(m===0?0:Qt),'"/><a:ext cx="').concat(A||(A===0?0:Qt),'" cy="').concat(x||Qt,'"/></p:xfrm>'),O+='<a:graphic><a:graphicData uri="http://schemas.openxmlformats.org/drawingml/2006/table"><a:tbl><a:tblPr/>',Array.isArray(S.colW)){O+="<a:tblGrid>";for(var C=0;C<L;C++){var F=dn(S.colW[C]);(F==null||isNaN(F))&&(F=(typeof o.options.w=="number"?o.options.w:1)/L),O+='<a:gridCol w="'.concat(Math.round(F),'"/>')}O+="</a:tblGrid>"}else{T=S.colW?S.colW:Qt,o.options.w&&!S.colW&&(T=Math.round((typeof o.options.w=="number"?o.options.w:1)/L)),O+="<a:tblGrid>";for(var I=0;I<L;I++)O+='<a:gridCol w="'.concat(T,'"/>');O+="</a:tblGrid>"}g.forEach(function(K){for(var U,J,le=function(pe){var ge=K[pe],ye=(U=ge.options)===null||U===void 0?void 0:U.colspan,z=(J=ge.options)===null||J===void 0?void 0:J.rowspan;if(ye&&ye>1){var ae=new Array(ye-1).fill(void 0).map(function(W){return{_type:Bt.tablecell,options:{rowspan:z},_hmerge:!0}});K.splice.apply(K,sv([pe+1,0],ae,!1)),pe+=ye}else pe+=1;ie=pe},ie,oe=0;oe<K.length;)le(oe),oe=ie}),g.forEach(function(K,U){var J=g[U+1];J&&K.forEach(function(le,ie){var oe,pe,ge=le._rowContinue||((oe=le.options)===null||oe===void 0?void 0:oe.rowspan),ye=(pe=le.options)===null||pe===void 0?void 0:pe.colspan,z=le._hmerge;if(ge&&ge>1){var ae={_type:Bt.tablecell,options:{colspan:ye},_rowContinue:ge-1,_vmerge:!0,_hmerge:z};J.splice(ie,0,ae)}})}),g.forEach(function(K,U){var J=0;Array.isArray(S.rowH)&&S.rowH[U]?J=dn(Number(S.rowH[U])):S.rowH&&!isNaN(Number(S.rowH))?J=dn(Number(S.rowH)):(o.options.cy||o.options.h)&&(J=Math.round((o.options.h?dn(o.options.h):typeof o.options.cy=="number"?o.options.cy:1)/g.length)),O+='<a:tr h="'.concat(J,'">'),K.forEach(function(le){var ie,oe,pe,ge,ye,z=le,ae={rowSpan:((ie=z.options)===null||ie===void 0?void 0:ie.rowspan)>1?z.options.rowspan:void 0,gridSpan:((oe=z.options)===null||oe===void 0?void 0:oe.colspan)>1?z.options.colspan:void 0,vMerge:z._vmerge?1:void 0,hMerge:z._hmerge?1:void 0},W=Object.keys(ae).map(function(ce){return[ce,ae[ce]]}).filter(function(ce){ce[0];var de=ce[1];return!!de}).map(function(ce){var de=ce[0],be=ce[1];return"".concat(String(de),'="').concat(String(be),'"')}).join(" ");if(W&&(W=" "+W),z._hmerge||z._vmerge){O+="<a:tc".concat(W,"><a:tcPr/></a:tc>");return}var j=z.options||{};z.options=j,["align","bold","border","color","fill","fontFace","fontSize","margin","underline","valign"].forEach(function(ce){S[ce]&&!j[ce]&&j[ce]!==0&&(j[ce]=S[ce])});var ue=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"),'"'):"",$=!((ge=(pe=z._optImp)===null||pe===void 0?void 0:pe.fill)===null||ge===void 0)&&ge.color?z._optImp.fill.color:!((ye=z._optImp)===null||ye===void 0)&&ye.fill&&typeof z._optImp.fill=="string"?z._optImp.fill:"";$=$||j.fill?j.fill:"";var q=$?Oi($):"",se=j.margin===0||j.margin?j.margin:k_;!Array.isArray(se)&&typeof se=="number"&&(se=[se,se,se,se]);var ve="";se[0]>=1?ve=' marL="'.concat(Ct(se[3]),'" marR="').concat(Ct(se[1]),'" marT="').concat(Ct(se[0]),'" marB="').concat(Ct(se[2]),'"'):ve=' marL="'.concat(dn(se[3]),'" marR="').concat(dn(se[1]),'" marT="').concat(dn(se[0]),'" marB="').concat(dn(se[2]),'"'),O+="<a:tc".concat(W,">").concat(r7(z),"<a:tcPr").concat(ve).concat(ue,">"),j.border&&Array.isArray(j.border)&&[{idx:3,name:"lnL"},{idx:1,name:"lnR"},{idx:0,name:"lnT"},{idx:2,name:"lnB"}].forEach(function(ce){j.border[ce.idx].type!=="none"?(O+="<a:".concat(ce.name,' w="').concat(Ct(j.border[ce.idx].pt),'" cap="flat" cmpd="sng" algn="ctr">'),O+="<a:solidFill>".concat(Rn(j.border[ce.idx].color),"</a:solidFill>"),O+='<a:prstDash val="'.concat(j.border[ce.idx].type==="dash"?"sysDash":"solid",'"/><a:round/><a:headEnd type="none" w="med" len="med"/><a:tailEnd type="none" w="med" len="med"/>'),O+="</a:".concat(ce.name,">")):O+="<a:".concat(ce.name,' w="0" cap="flat" cmpd="sng" algn="ctr"><a:noFill/></a:').concat(ce.name,">")}),O+=q,O+=" </a:tcPr>",O+=" </a:tc>"}),O+="</a:tr>"}),O+=" </a:tbl>",O+=" </a:graphicData>",O+=" </a:graphic>",O+="</p:graphicFrame>",n+=O,r++;break;case Bt.text:case Bt.placeholder:if(!o.options.line&&x===0&&(x=Qt*.3),o.options._bodyProp||(o.options._bodyProp={}),o.options.margin&&Array.isArray(o.options.margin)?(o.options._bodyProp.lIns=Ct(o.options.margin[0]||0),o.options._bodyProp.rIns=Ct(o.options.margin[1]||0),o.options._bodyProp.bIns=Ct(o.options.margin[2]||0),o.options._bodyProp.tIns=Ct(o.options.margin[3]||0)):typeof o.options.margin=="number"&&(o.options._bodyProp.lIns=Ct(o.options.margin),o.options._bodyProp.rIns=Ct(o.options.margin),o.options._bodyProp.bIns=Ct(o.options.margin),o.options._bodyProp.tIns=Ct(o.options.margin)),n+="<p:sp>",n+='<p:nvSpPr><p:cNvPr id="'.concat(i+2,'" name="').concat(o.options.objectName,'">'),!((c=o.options.hyperlink)===null||c===void 0)&&c.url&&(n+='<a:hlinkClick r:id="rId'.concat(o.options.hyperlink._rId,'" tooltip="').concat(o.options.hyperlink.tooltip?Zt(o.options.hyperlink.tooltip):"",'"/>')),!((l=o.options.hyperlink)===null||l===void 0)&&l.slide&&(n+='<a:hlinkClick r:id="rId'.concat(o.options.hyperlink._rId,'" tooltip="').concat(o.options.hyperlink.tooltip?Zt(o.options.hyperlink.tooltip):"",'" action="ppaction://hlinksldjump"/>')),n+="</p:cNvPr>",n+="<p:cNvSpPr"+(!((u=o.options)===null||u===void 0)&&u.isTextBox?' txBox="1"/>':"/>"),n+="<p:nvPr>".concat(o._type==="placeholder"?Nm(o):Nm(R),"</p:nvPr>"),n+="</p:nvSpPr><p:spPr>",n+="<a:xfrm".concat(y,">"),n+='<a:off x="'.concat(p,'" y="').concat(m,'"/>'),n+='<a:ext cx="'.concat(A,'" cy="').concat(x,'"/></a:xfrm>'),o.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(A,'" h="').concat(x,'">'),(f=o.options.points)===null||f===void 0||f.forEach(function(K,U){if("curve"in K)switch(K.curve.type){case"arc":n+='<a:arcTo hR="'.concat(en(K.curve.hR,"Y",e._presLayout),'" wR="').concat(en(K.curve.wR,"X",e._presLayout),'" stAng="').concat(cu(K.curve.stAng),'" swAng="').concat(cu(K.curve.swAng),'" />');break;case"cubic":n+=`<a:cubicBezTo>
<a:pt x="`.concat(en(K.curve.x1,"X",e._presLayout),'" y="').concat(en(K.curve.y1,"Y",e._presLayout),`" />
<a:pt x="`).concat(en(K.curve.x2,"X",e._presLayout),'" y="').concat(en(K.curve.y2,"Y",e._presLayout),`" />
<a:pt x="`).concat(en(K.x,"X",e._presLayout),'" y="').concat(en(K.y,"Y",e._presLayout),`" />
</a:cubicBezTo>`);break;case"quadratic":n+=`<a:quadBezTo>
<a:pt x="`.concat(en(K.curve.x1,"X",e._presLayout),'" y="').concat(en(K.curve.y1,"Y",e._presLayout),`" />
<a:pt x="`).concat(en(K.x,"X",e._presLayout),'" y="').concat(en(K.y,"Y",e._presLayout),`" />
</a:quadBezTo>`);break}else"close"in K?n+="<a:close />":K.moveTo||U===0?n+='<a:moveTo><a:pt x="'.concat(en(K.x,"X",e._presLayout),'" y="').concat(en(K.y,"Y",e._presLayout),'" /></a:moveTo>'):n+='<a:lnTo><a:pt x="'.concat(en(K.x,"X",e._presLayout),'" y="').concat(en(K.y,"Y",e._presLayout),'" /></a:lnTo>')}),n+="</a:path>",n+="</a:pathLst>",n+="</a:custGeom>";else{if(n+='<a:prstGeom prst="'+o.shape+'"><a:avLst>',o.options.rectRadius)n+='<a:gd name="adj" fmla="val '.concat(Math.round(o.options.rectRadius*Qt*1e5/Math.min(A,x)),'"/>');else if(o.options.angleRange){for(var V=0;V<2;V++){var B=o.options.angleRange[V];n+='<a:gd name="adj'.concat(V+1,'" fmla="val ').concat(cu(B),'" />')}o.options.arcThicknessRatio&&(n+='<a:gd name="adj3" fmla="val '.concat(Math.round(o.options.arcThicknessRatio*5e4),'" />'))}n+="</a:avLst></a:prstGeom>"}n+=o.options.fill?Oi(o.options.fill):"<a:noFill/>",o.options.line&&(n+=o.options.line.width?'<a:ln w="'.concat(Ct(o.options.line.width),'">'):"<a:ln>",o.options.line.color&&(n+=Oi(o.options.line)),o.options.line.dashType&&(n+='<a:prstDash val="'.concat(o.options.line.dashType,'"/>')),o.options.line.beginArrowType&&(n+='<a:headEnd type="'.concat(o.options.line.beginArrowType,'"/>')),o.options.line.endArrowType&&(n+='<a:tailEnd type="'.concat(o.options.line.endArrowType,'"/>')),n+="</a:ln>"),o.options.shadow&&o.options.shadow.type!=="none"&&(o.options.shadow.type=o.options.shadow.type||"outer",o.options.shadow.blur=Ct(o.options.shadow.blur||8),o.options.shadow.offset=Ct(o.options.shadow.offset||4),o.options.shadow.angle=Math.round((o.options.shadow.angle||270)*6e4),o.options.shadow.opacity=Math.round((o.options.shadow.opacity||.75)*1e5),o.options.shadow.color=o.options.shadow.color||qT.color,n+="<a:effectLst>",n+=" <a:".concat(o.options.shadow.type,"Shdw ").concat(o.options.shadow.type==="outer"?'sx="100000" sy="100000" kx="0" ky="0" algn="bl" rotWithShape="0"':"",' blurRad="').concat(o.options.shadow.blur,'" dist="').concat(o.options.shadow.offset,'" dir="').concat(o.options.shadow.angle,'">'),n+=' <a:srgbClr val="'.concat(o.options.shadow.color,'">'),n+=' <a:alpha val="'.concat(o.options.shadow.opacity,'"/></a:srgbClr>'),n+=" </a:outerShdw>",n+="</a:effectLst>"),n+="</p:spPr>",n+=r7(o),n+="</p:sp>";break;case Bt.image:if(n+="<p:pic>",n+=" <p:nvPicPr>",n+='<p:cNvPr id="'.concat(i+2,'" name="').concat(o.options.objectName,'" descr="').concat(Zt(o.options.altText||o.image),'">'),!((d=o.hyperlink)===null||d===void 0)&&d.url&&(n+='<a:hlinkClick r:id="rId'.concat(o.hyperlink._rId,'" tooltip="').concat(o.hyperlink.tooltip?Zt(o.hyperlink.tooltip):"",'"/>')),!((h=o.hyperlink)===null||h===void 0)&&h.slide&&(n+='<a:hlinkClick r:id="rId'.concat(o.hyperlink._rId,'" tooltip="').concat(o.hyperlink.tooltip?Zt(o.hyperlink.tooltip):"",'" action="ppaction://hlinksldjump"/>')),n+=" </p:cNvPr>",n+=' <p:cNvPicPr><a:picLocks noChangeAspect="1"/></p:cNvPicPr>',n+=" <p:nvPr>"+Nm(R)+"</p:nvPr>",n+=" </p:nvPicPr>",n+="<p:blipFill>",(e._relsMedia||[]).filter(function(K){return K.rId===o.imageRid})[0]&&(e._relsMedia||[]).filter(function(K){return K.rId===o.imageRid})[0].extn==="svg"?(n+='<a:blip r:embed="rId'.concat(o.imageRid-1,'">'),n+=o.options.transparency?' <a:alphaModFix amt="'.concat(Math.round((100-o.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(o.imageRid,'"/>'),n+=" </a:ext>",n+=" </a:extLst>",n+="</a:blip>"):(n+='<a:blip r:embed="rId'.concat(o.imageRid,'">'),n+=o.options.transparency?'<a:alphaModFix amt="'.concat(Math.round((100-o.options.transparency)*1e3),'"/>'):"",n+="</a:blip>"),k!=null&&k.type){var G=k.w?en(k.w,"X",e._presLayout):A,ne=k.h?en(k.h,"Y",e._presLayout):x,E=en(k.x||0,"X",e._presLayout),Z=en(k.y||0,"Y",e._presLayout);n+=mye[k.type]({w:N,h:X},{w:G,h:ne,x:E,y:Z}),N=G,X=ne}else n+=" <a:stretch><a:fillRect/></a:stretch>";n+="</p:blipFill>",n+="<p:spPr>",n+=" <a:xfrm"+y+">",n+=' <a:off x="'.concat(p,'" y="').concat(m,'"/>'),n+=' <a:ext cx="'.concat(N,'" cy="').concat(X,'"/>'),n+=" </a:xfrm>",n+=' <a:prstGeom prst="'.concat(_?"ellipse":"rect",'"><a:avLst/></a:prstGeom>'),o.options.shadow&&o.options.shadow.type!=="none"&&(o.options.shadow.type=o.options.shadow.type||"outer",o.options.shadow.blur=Ct(o.options.shadow.blur||8),o.options.shadow.offset=Ct(o.options.shadow.offset||4),o.options.shadow.angle=Math.round((o.options.shadow.angle||270)*6e4),o.options.shadow.opacity=Math.round((o.options.shadow.opacity||.75)*1e5),o.options.shadow.color=o.options.shadow.color||qT.color,n+="<a:effectLst>",n+="<a:".concat(o.options.shadow.type,"Shdw ").concat(o.options.shadow.type==="outer"?'sx="100000" sy="100000" kx="0" ky="0" algn="bl" rotWithShape="0"':"",' blurRad="').concat(o.options.shadow.blur,'" dist="').concat(o.options.shadow.offset,'" dir="').concat(o.options.shadow.angle,'">'),n+='<a:srgbClr val="'.concat(o.options.shadow.color,'">'),n+='<a:alpha val="'.concat(o.options.shadow.opacity,'"/></a:srgbClr>'),n+="</a:".concat(o.options.shadow.type,"Shdw>"),n+="</a:effectLst>"),n+="</p:spPr>",n+="</p:pic>";break;case Bt.media:o.mtype==="online"?(n+="<p:pic>",n+=" <p:nvPicPr>",n+='<p:cNvPr id="'.concat(o.mediaRid+2,'" name="').concat(o.options.objectName,'"/>'),n+=" <p:cNvPicPr/>",n+=" <p:nvPr>",n+=' <a:videoFile r:link="rId'.concat(o.mediaRid,'"/>'),n+=" </p:nvPr>",n+=" </p:nvPicPr>",n+=' <p:blipFill><a:blip r:embed="rId'.concat(o.mediaRid+1,'"/><a:stretch><a:fillRect/></a:stretch></p:blipFill>'),n+=" <p:spPr>",n+=" <a:xfrm".concat(y,'><a:off x="').concat(p,'" y="').concat(m,'"/><a:ext cx="').concat(A,'" cy="').concat(x,'"/></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(o.mediaRid+2,'" name="').concat(o.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(o.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(o.mediaRid+1,'"/>'),n+=" </p:ext>",n+=" </p:extLst>",n+=" </p:nvPr>",n+=" </p:nvPicPr>",n+=' <p:blipFill><a:blip r:embed="rId'.concat(o.mediaRid+2,'"/><a:stretch><a:fillRect/></a:stretch></p:blipFill>'),n+=" <p:spPr>",n+=" <a:xfrm".concat(y,'><a:off x="').concat(p,'" y="').concat(m,'"/><a:ext cx="').concat(A,'" cy="').concat(x,'"/></a:xfrm>'),n+=' <a:prstGeom prst="rect"><a:avLst/></a:prstGeom>',n+=" </p:spPr>",n+="</p:pic>");break;case Bt.chart:n+="<p:graphicFrame>",n+=" <p:nvGraphicFramePr>",n+=' <p:cNvPr id="'.concat(i+2,'" name="').concat(o.options.objectName,'" descr="').concat(Zt(o.options.altText||""),'"/>'),n+=" <p:cNvGraphicFramePr/>",n+=" <p:nvPr>".concat(Nm(R),"</p:nvPr>"),n+=" </p:nvGraphicFramePr>",n+=' <p:xfrm><a:off x="'.concat(p,'" y="').concat(m,'"/><a:ext cx="').concat(A,'" cy="').concat(x,'"/></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(o.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(en(e._slideNumberProps.x,"X",e._presLayout),'" y="').concat(en(e._slideNumberProps.y,"Y",e._presLayout),'"/>')+'<a:ext cx="'.concat(e._slideNumberProps.w?en(e._slideNumberProps.w,"X",e._presLayout):"800000",'" cy="').concat(e._slideNumberProps.h?en(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(Ct(e._slideNumberProps.margin[3]||0),'"'),n+=' tIns="'.concat(Ct(e._slideNumberProps.margin[0]||0),'"'),n+=' rIns="'.concat(Ct(e._slideNumberProps.margin[1]||0),'"'),n+=' bIns="'.concat(Ct(e._slideNumberProps.margin[2]||0),'"')):typeof e._slideNumberProps.margin=="number"&&(n+=' lIns="'.concat(Ct(e._slideNumberProps.margin||0),'"'),n+=' tIns="'.concat(Ct(e._slideNumberProps.margin||0),'"'),n+=' rIns="'.concat(Ct(e._slideNumberProps.margin||0),'"'),n+=' bIns="'.concat(Ct(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+=Oi(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(C_,'" 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 U5(e,t){var n=0,r='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'+Dr+'<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">';return e._rels.forEach(function(o){n=Math.max(n,o.rId),o.type.toLowerCase().includes("hyperlink")?o.data==="slide"?r+='<Relationship Id="rId'.concat(o.rId,'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slide" Target="slide').concat(o.Target,'.xml"/>'):r+='<Relationship Id="rId'.concat(o.rId,'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="').concat(o.Target,'" TargetMode="External"/>'):o.type.toLowerCase().includes("notesSlide")&&(r+='<Relationship Id="rId'.concat(o.rId,'" Target="').concat(o.Target,'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesSlide"/>'))}),(e._relsChart||[]).forEach(function(o){n=Math.max(n,o.rId),r+='<Relationship Id="rId'.concat(o.rId,'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart" Target="').concat(o.Target,'"/>')}),(e._relsMedia||[]).forEach(function(o){var i=o.rId.toString();n=Math.max(n,o.rId),o.type.toLowerCase().includes("image")?r+='<Relationship Id="rId'+i+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="'+o.Target+'"/>':o.type.toLowerCase().includes("audio")?r.includes(' Target="'+o.Target+'"')?r+='<Relationship Id="rId'+i+'" Type="http://schemas.microsoft.com/office/2007/relationships/media" Target="'+o.Target+'"/>':r+='<Relationship Id="rId'+i+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/audio" Target="'+o.Target+'"/>':o.type.toLowerCase().includes("video")?r.includes(' Target="'+o.Target+'"')?r+='<Relationship Id="rId'+i+'" Type="http://schemas.microsoft.com/office/2007/relationships/media" Target="'+o.Target+'"/>':r+='<Relationship Id="rId'+i+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/video" Target="'+o.Target+'"/>':o.type.toLowerCase().includes("online")&&(r.includes(' Target="'+o.Target+'"')?r+='<Relationship Id="rId'+i+'" Type="http://schemas.microsoft.com/office/2007/relationships/image" Target="'+o.Target+'"/>':r+='<Relationship Id="rId'+i+'" Target="'+o.Target+'" TargetMode="External" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/video"/>')}),t.forEach(function(o,i){r+='<Relationship Id="rId'.concat(n+i+1,'" Type="').concat(o.type,'" Target="').concat(o.target,'"/>')}),r+="</Relationships>",r}function n7(e,t){var n,r,o="",i="",a="",s="",c=t?"a:lvl1pPr":"a:pPr",l=Ct(jRe),u="<".concat(c).concat(e.options.rtlMode?' rtl="1" ':"");{if(e.options.align)switch(e.options.align){case"left":u+=' algn="l"';break;case"right":u+=' algn="r"';break;case"center":u+=' algn="ctr"';break;case"justify":u+=' algn="just"';break;default:u+="";break}if(e.options.lineSpacing?i='<a:lnSpc><a:spcPts val="'.concat(Math.round(e.options.lineSpacing*100),'"/></a:lnSpc>'):e.options.lineSpacingMultiple&&(i='<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&&(u+=' 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&&(l=Ct(e.options.bullet.indent)),e.options.bullet.type)e.options.bullet.type.toString().toLowerCase()==="number"&&(u+=' marL="'.concat(e.options.indentLevel&&e.options.indentLevel>0?l+l*e.options.indentLevel:l,'" indent="-').concat(l,'"'),o='<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=td.DEFAULT),u+=' marL="'.concat(e.options.indentLevel&&e.options.indentLevel>0?l+l*e.options.indentLevel:l,'" indent="-').concat(l,'"'),o='<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=td.DEFAULT),u+=' marL="'.concat(e.options.indentLevel&&e.options.indentLevel>0?l+l*e.options.indentLevel:l,'" indent="-').concat(l,'"'),o='<a:buSzPct val="100000"/><a:buChar char="'+f+'"/>'}else u+=' marL="'.concat(e.options.indentLevel&&e.options.indentLevel>0?l+l*e.options.indentLevel:l,'" indent="-').concat(l,'"'),o='<a:buSzPct val="100000"/><a:buChar char="'.concat(td.DEFAULT,'"/>');else e.options.bullet?(u+=' marL="'.concat(e.options.indentLevel&&e.options.indentLevel>0?l+l*e.options.indentLevel:l,'" indent="-').concat(l,'"'),o='<a:buSzPct val="100000"/><a:buChar char="'.concat(td.DEFAULT,'"/>')):e.options.bullet||(u+=' indent="0" marL="0"',o="<a:buNone/>");if(e.options.tabStops&&Array.isArray(e.options.tabStops)){var d=e.options.tabStops.map(function(h){return'<a:tab pos="'.concat(dn(h.position||1),'" algn="').concat(h.alignment||"l",'"/>')}).join("");s="<a:tabLst>".concat(d,"</a:tabLst>")}u+=">"+i+a+o+s,t&&(u+=E_(e.options,!0)),u+="</"+c+">"}return u}function E_(e,t){var n,r="",o=t?"a:defRPr":"a:rPr";if(r+="<"+o+' 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(Ct(e.outline.size||.75),'">').concat(Oi(e.outline.color||"FFFFFF"),"</a:ln>")),e.color&&(r+=Oi({color:e.color,transparency:e.transparency})),e.highlight&&(r+="<a:highlight>".concat(Rn(e.highlight),"</a:highlight>")),typeof e.underline=="object"&&e.underline.color&&(r+="<a:uFill>".concat(Oi(e.underline.color),"</a:uFill>")),e.glow&&(r+="<a:effectLst>".concat(nye(e.glow,qRe),"</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?Zt(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?Zt(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(o,">"),r}function vye(e){return e.text?"<a:r>".concat(E_(e.options,!1),"<a:t>").concat(Zt(e.text),"</a:t></a:r>"):""}function gye(e){var t="<a:bodyPr";return e&&e._type===Bt.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===Bt.tablecell?"<a:bodyPr/>":t}function r7(e){var t=e.options||{},n=[],r=[];if(t&&e._type!==Bt.tablecell&&(typeof e.text>"u"||e.text===null))return"";var o=e._type===Bt.tablecell?"<a:txBody>":"<p:txBody>";o+=gye(e),t.h===0&&t.line&&t.align?o+='<a:lstStyle><a:lvl1pPr algn="l"/></a:lstStyle>':e._type==="placeholder"?o+="<a:lstStyle>".concat(n7(e,!0),"</a:lstStyle>"):o+="<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,c){s.text||(s.text=""),s.options=s.options||t||{},c===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,Dr)),s.text.includes(Dr)&&s.text.match(/\n$/g)===null?s.text.split(Dr).forEach(function(l){s.options.breakLine=!0,r.push({text:l,options:s.options})}):r.push(s)});var i=[],a=[];return r.forEach(function(s,c){a.length>0&&(s.options.align||t.align)?s.options.align!==r[c-1].options.align&&(i.push(a),a=[]):a.length>0&&s.options.bullet&&a.length>0&&(i.push(a),a=[],s.options.breakLine=!1),a.push(s),a.length>0&&s.options.breakLine&&c+1<r.length&&(i.push(a),a=[]),c+1===r.length&&i.push(a)}),i.forEach(function(s){var c,l=!1;o+="<a:p>";var u="<a:pPr ".concat(!((c=s[0].options)===null||c===void 0)&&c.rtlMode?' rtl="1" ':"");s.forEach(function(f,d){f.options._lineIdx=d,d>0&&f.options.softBreakBefore&&(o+="<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,u=n7(f,!1),o+=u.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],m=h[1];p!=="bullet"&&!f.options[p]&&(f.options[p]=m)}),o+=vye(f),(!f.text&&t.fontSize||f.options.fontSize)&&(l=!0,t.fontSize=t.fontSize||f.options.fontSize)}),e._type===Bt.tablecell&&(t.fontSize||t.fontFace)?t.fontFace?(o+='<a:endParaRPr lang="'.concat(t.lang||"en-US",'"')+(t.fontSize?' sz="'.concat(Math.round(t.fontSize*100),'"'):"")+' dirty="0">',o+='<a:latin typeface="'.concat(t.fontFace,'" charset="0"/>'),o+='<a:ea typeface="'.concat(t.fontFace,'" charset="0"/>'),o+='<a:cs typeface="'.concat(t.fontFace,'" charset="0"/>'),o+="</a:endParaRPr>"):o+='<a:endParaRPr lang="'.concat(t.lang||"en-US",'"')+(t.fontSize?' sz="'.concat(Math.round(t.fontSize*100),'"'):"")+' dirty="0"/>':l?o+='<a:endParaRPr lang="'.concat(t.lang||"en-US",'"')+(t.fontSize?' sz="'.concat(Math.round(t.fontSize*100),'"'):"")+' dirty="0"/>':o+='<a:endParaRPr lang="'.concat(t.lang||"en-US",'" dirty="0"/>'),o+="</a:p>"}),o+=e._type===Bt.tablecell?"</a:txBody>":"</p:txBody>",o}function Nm(e){var t,n;if(!e)return"";var r=!((t=e.options)===null||t===void 0)&&t._placeholderIdx?e.options._placeholderIdx:"",o=!((n=e.options)===null||n===void 0)&&n._placeholderType?e.options._placeholderType:"",i=o&&_h[o]?_h[o].toString():"";return`<p:ph
`.concat(r?' idx="'+r.toString()+'"':"",`
`).concat(i&&_h[i]?' type="'.concat(i,'"'):"",`
`).concat(e.text&&e.text.length>0?' hasCustomPrompt="1"':"",`
/>`)}function Aye(e,t,n){var r='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'+Dr;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(o){(o._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+='<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(o,i){r+='<Override PartName="/ppt/slideMasters/slideMaster'.concat(i+1,'.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.slideMaster+xml"/>'),r+='<Override PartName="/ppt/slides/slide'.concat(i+1,'.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.slide+xml"/>'),o._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(o,i){r+='<Override PartName="/ppt/slideLayouts/slideLayout'.concat(i+1,'.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml"/>'),(o._relsChart||[]).forEach(function(a){r+=' <Override PartName="'+a.Target+'" ContentType="application/vnd.openxmlformats-officedocument.drawingml.chart+xml"/>'})}),e.forEach(function(o,i){r+='<Override PartName="/ppt/notesSlides/notesSlide'.concat(i+1,'.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.notesSlide+xml"/>')}),n._relsChart.forEach(function(o){r+=' <Override PartName="'+o.Target+'" ContentType="application/vnd.openxmlformats-officedocument.drawingml.chart+xml"/>'}),n._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+=' <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 Rye(){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(Dr,`<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 yye(e,t){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(Dr,`<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 xye(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(Zt(e),`</dc:title>
<dc:subject>`).concat(Zt(t),`</dc:subject>
<dc:creator>`).concat(Zt(n),`</dc:creator>
<cp:lastModifiedBy>`).concat(Zt(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 bye(e){var t=1,n='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'+Dr;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 Sye(e){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(Dr)+'<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(V5(e))+"<p:clrMapOvr><a:masterClrMapping/></p:clrMapOvr></p:sld>"}function Mye(e){var t="";return e._slideObjects.forEach(function(n){n._type===Bt.notes&&(t+=n!=null&&n.text&&n.text[0]?n.text[0].text:"")}),t.replace(/\r*\n/g,Dr)}function wye(){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(Dr,'<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 Lye(e){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(Dr,'<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(Zt(Mye(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(C_,'" 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 Oye(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(V5(e),`
<p:clrMapOvr><a:masterClrMapping/></p:clrMapOvr></p:sldLayout>`)}function Tye(e,t){var n=t.map(function(o,i){return'<p:sldLayoutId id="'.concat(JRe+i,'" r:id="rId').concat(e._rels.length+i+1,'"/>')}),r='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'+Dr;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+=V5(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 kye(e,t){return U5(t[e-1],[{target:"../slideMasters/slideMaster1.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster"}])}function Nye(e,t,n){return U5(e[n-1],[{target:"../slideLayouts/slideLayout".concat(Fye(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 Pye(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 Cye(e,t){var n=t.map(function(r,o){return{target:"../slideLayouts/slideLayout".concat(o+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"}),U5(e,n)}function Iye(){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(Dr,`<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 Fye(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 _ye(e){var t,n,r,o,i=!((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((o=e.theme)===null||o===void 0?void 0:o.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(i,'<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 Xye(e){var t='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(Dr)+'<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(Zt(r.title),'" id="{').concat(cv("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"),'}"><p14:sldIdLst>'),r._slides.forEach(function(o){return t+='<p14:sldId id="'.concat(o._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 Eye(){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(Dr,'<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 Wye(){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(Dr,'<a:tblStyleLst xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" def="{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}"/>')}function Vye(){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(Dr,'<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 Uye="3.12.0",Yye=function(){function e(){var t=this;this._version=Uye,this._alignH=xx,this._alignV=bx,this._chartType=Rx,this._outputType=Ax,this._schemeColor=Ri,this._shapeType=yx,this._charts=at,this._colors=Sx,this._shapes=bc,this.addNewSlide=function(a){var s=t.sections.length>0&&t.sections[t.sections.length-1]._slides.filter(function(c){return c._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===vx})[0]._slideNumberProps=a},this.createChartMediaRels=function(a,s,c){a._relsChart.forEach(function(l){return c.push(dye(l,s))}),a._relsMedia.forEach(function(l){if(l.type!=="online"&&l.type!=="hyperlink"){var u=l.data&&typeof l.data=="string"?l.data:"";!u.includes(",")&&!u.includes(";")?u="image/png;base64,"+u:u.includes(",")?u.includes(";")||(u="image/png;"+u):u="image/png;base64,"+u,s.file(l.Target.replace("..","ppt"),u.split(",").pop(),{base64:!0})}})},this.writeFileToBrowser=function(a,s){return Ga(t,void 0,void 0,function(){var c,l;return Ja(this,function(u){switch(u.label){case 0:return c=document.createElement("a"),c.setAttribute("style","display:none;"),c.dataset.interception="off",document.body.appendChild(c),window.URL.createObjectURL?(l=window.URL.createObjectURL(new Blob([s],{type:"application/vnd.openxmlformats-officedocument.presentationml.presentation"})),c.href=l,c.download=a,c.click(),setTimeout(function(){window.URL.revokeObjectURL(l),document.body.removeChild(c)},100),[4,Promise.resolve(a)]):[3,2];case 1:return[2,u.sent()];case 2:return[2]}})})},this.exportPresentation=function(a){return Ga(t,void 0,void 0,function(){var s,c,l,u=this;return Ja(this,function(f){switch(f.label){case 0:return s=[],c=[],l=new T_,this.slides.forEach(function(d){c=c.concat(m4(d))}),this.slideLayouts.forEach(function(d){c=c.concat(m4(d))}),c=c.concat(m4(this.masterSlide)),[4,Promise.all(c).then(function(){return Ga(u,void 0,void 0,function(){var d=this;return Ja(this,function(h){switch(h.label){case 0:return this.slides.forEach(function(p){p._slideLayout&&uye(p)}),l.folder("_rels"),l.folder("docProps"),l.folder("ppt").folder("_rels"),l.folder("ppt/charts").folder("_rels"),l.folder("ppt/embeddings"),l.folder("ppt/media"),l.folder("ppt/slideLayouts").folder("_rels"),l.folder("ppt/slideMasters").folder("_rels"),l.folder("ppt/slides").folder("_rels"),l.folder("ppt/theme"),l.folder("ppt/notesMasters").folder("_rels"),l.folder("ppt/notesSlides").folder("_rels"),l.file("[Content_Types].xml",Aye(this.slides,this.slideLayouts,this.masterSlide)),l.file("_rels/.rels",Rye()),l.file("docProps/app.xml",yye(this.slides,this.company)),l.file("docProps/core.xml",xye(this.title,this.subject,this.author,this.revision)),l.file("ppt/_rels/presentation.xml.rels",bye(this.slides)),l.file("ppt/theme/theme1.xml",_ye(this)),l.file("ppt/presentation.xml",Xye(this)),l.file("ppt/presProps.xml",Eye()),l.file("ppt/tableStyles.xml",Wye()),l.file("ppt/viewProps.xml",Vye()),this.slideLayouts.forEach(function(p,m){l.file("ppt/slideLayouts/slideLayout".concat(m+1,".xml"),Oye(p)),l.file("ppt/slideLayouts/_rels/slideLayout".concat(m+1,".xml.rels"),kye(m+1,d.slideLayouts))}),this.slides.forEach(function(p,m){l.file("ppt/slides/slide".concat(m+1,".xml"),Sye(p)),l.file("ppt/slides/_rels/slide".concat(m+1,".xml.rels"),Nye(d.slides,d.slideLayouts,m+1)),l.file("ppt/notesSlides/notesSlide".concat(m+1,".xml"),Lye(p)),l.file("ppt/notesSlides/_rels/notesSlide".concat(m+1,".xml.rels"),Pye(m+1))}),l.file("ppt/slideMasters/slideMaster1.xml",Tye(this.masterSlide,this.slideLayouts)),l.file("ppt/slideMasters/_rels/slideMaster1.xml.rels",Cye(this.masterSlide,this.slideLayouts)),l.file("ppt/notesMasters/notesMaster1.xml",wye()),l.file("ppt/notesMasters/_rels/notesMaster1.xml.rels",Iye()),this.slideLayouts.forEach(function(p){d.createChartMediaRels(p,l,s)}),this.slides.forEach(function(p){d.createChartMediaRels(p,l,s)}),this.createChartMediaRels(this.masterSlide,l,s),[4,Promise.all(s).then(function(){return Ga(d,void 0,void 0,function(){return Ja(this,function(p){switch(p.label){case 0:return a.outputType!=="STREAM"?[3,2]:[4,l.generateAsync({type:"nodebuffer",compression:a.compression?"DEFLATE":"STORE"})];case 1:return[2,p.sent()];case 2:return a.outputType?[4,l.generateAsync({type:a.outputType})]:[3,4];case 3:return[2,p.sent()];case 4:return[4,l.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},o={name:"screen16x10",width:9144e3,height:5715e3},i={name:"custom",width:12192e3,height:6858e3};this.LAYOUTS={LAYOUT_4x3:n,LAYOUT_16x9:r,LAYOUT_16x10:o,LAYOUT_WIDE:i},this._author="PptxGenJS",this._company="PptxGenJS",this._revision="1",this._subject="PptxGenJS Presentation",this._title="PptxGenJS Presentation",this._presLayout={name:this.LAYOUTS[If].name,_sizeW:this.LAYOUTS[If].width,_sizeH:this.LAYOUTS[If].height,width:this.LAYOUTS[If].width,height:this.LAYOUTS[If].height},this._rtlMode=!1,this._slideLayouts=[{_margin:dp,_name:vx,_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 Ga(this,void 0,void 0,function(){return Ja(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 Ga(this,void 0,void 0,function(){var n,r;return Ja(this,function(o){switch(o.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,o.sent()]}})})},e.prototype.writeFile=function(t){return Ga(this,void 0,void 0,function(){var n,r,o,i,a=this;return Ja(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:"",o=typeof t=="object"&&(t!=null&&t.compression)?t.compression:!1,i=r?r.toString().toLowerCase().endsWith(".pptx")?r:r+".pptx":"Presentation.pptx",[4,this.exportPresentation({compression:o,outputType:n?"nodebuffer":null}).then(function(c){return Ga(a,void 0,void 0,function(){return Ja(this,function(l){switch(l.label){case 0:return n?[4,new Promise(function(u,f){n.writeFile(i,c,function(d){d?f(d):u(i)})})]:[3,2];case 1:return[2,l.sent()];case 2:return[4,this.writeFileToBrowser(i,c)];case 3:return[2,l.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[If].name,_presLayout:this.presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slideNum:this.slides.length+1};if(n){var o=this.slideLayouts.filter(function(c){return c._name===n})[0];o&&(r=o)}var i=new fye({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(i),t!=null&&t.sectionTitle){var a=this.sections.filter(function(c){return c.title===t.sectionTitle})[0];a?a._slides.push(i):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(i):this._sections.push({title:"Default-".concat(this.sections.filter(function(c){return c._type==="default"}).length+1),_type:"default",_slides:[i]})}return i},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)*Qt),_sizeH:Math.round(Number(t.height)*Qt),width:Math.round(Number(t.width)*Qt),height:Math.round(Number(t.height)*Qt)}},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||dp,_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};aye(t,n),this.slideLayouts.push(n),(t.background||t.bkgd)&&X_(t.background,n),n._slideNumberProps&&!this.masterSlide._slideNumberProps&&(this.masterSlide._slideNumberProps=n._slideNumberProps)},e.prototype.tableToSlides=function(t,n){n===void 0&&(n={}),oye(this,t,n,n!=null&&n.masterSlideName?this.slideLayouts.filter(function(r){return r._name===n.masterSlideName})[0]:null)},e}();const Qye=["style","script","template"],Zye=["html","head","body","p","dt","dd","li","option","thead","th","tbody","tr","td","tfoot","colgroup"],Bye={li:["ul","ol","menu"],dt:["dl"],dd:["dl"],tbody:["table"],thead:["table"],tfoot:["table"],tr:["table"],td:["table"]},Dye=["!doctype","area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],Mu=(e,t)=>{const n=t-e.position;gg(e,n)},gg=(e,t)=>{e.position=e.position+t},Kye=(e,t)=>{for(;;){const r=e.indexOf("<",t);if(r===-1)return r;const o=e.charAt(r+1);if(o==="/"||o==="!"||/[A-Za-z0-9]/.test(o))return r;t=r+1}return-1},W_=e=>{const{str:t}=e;let n=Kye(t,e.position);if(n===e.position)return;n===-1&&(n=t.length);const r=t.slice(e.position,n);Mu(e,n),e.tokens.push({type:"text",content:r})},Hye=e=>{const{str:t}=e;gg(e,4);let n=t.indexOf("-->",e.position),r=n+3;n===-1&&(n=r=t.length);const o=t.slice(e.position,n);Mu(e,r),e.tokens.push({type:"comment",content:o})},Gye=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 o=r+1;for(;o<n;){const a=t.charAt(o);if(!!(/\s/.test(a)||a==="/"||a===">"))break;o++}Mu(e,o);const i=t.slice(r,o);return e.tokens.push({type:"tag",content:i}),i},Jye=e=>{const{str:t,tokens:n}=e;let r=e.position,o=null,i=r;const a=[],s=t.length;for(;r<s;){const l=t.charAt(r);if(o){l===o&&(o=null),r++;continue}if(l==="/"||l===">"){r!==i&&a.push(t.slice(i,r));break}if(/\s/.test(l)){r!==i&&a.push(t.slice(i,r)),i=r+1,r++;continue}if(l==="'"||l==='"'){o=l,r++;continue}r++}Mu(e,r);const c="attribute";for(let l=0;l<a.length;l++){const u=a[l];if(u.indexOf("=")===-1){const d=a[l+1];if(d&&_n.startsWith(d,"=")){if(d.length>1){const p=u+d;n.push({type:c,content:p}),l+=1;continue}const h=a[l+2];if(l+=1,h){const p=u+"="+h;n.push({type:c,content:p}),l+=1;continue}}}if(_n.endsWith(u,"=")){const d=a[l+1];if(d&&d.indexOf("=")===-1){const p=u+d;n.push({type:c,content:p}),l+=1;continue}const h=u.slice(0,-1);n.push({type:c,content:h});continue}n.push({type:c,content:u})}},zye=(e,t)=>{const{str:n,tokens:r}=t,o=e.toLowerCase(),i=n.length;let a=t.position;for(;a<i;){const s=n.indexOf("</",a);if(s===-1){W_(t);break}const c={str:n,position:t.position,tokens:[]};Mu(c,s);const l=V_(c);if(o!==l.toLowerCase()){a=c.position;continue}if(s!==t.position){const u=t.position;Mu(t,s),r.push({type:"text",content:n.slice(u,s)})}r.push(...c.tokens),Mu(t,c.position);break}},V_=e=>{const{str:t}=e,r=t.charAt(e.position+1)==="/";gg(e,r?2:1),e.tokens.push({type:"tag-start",close:r});const o=Gye(e);Jye(e);const a=t.charAt(e.position)==="/";return gg(e,a?2:1),e.tokens.push({type:"tag-end",close:a}),o},jye=e=>{const t=e.str,n=t.length;for(;e.position<n;){const r=e.position;if(W_(e),e.position===r)if(_n.startsWith(t,"!--",r+1))Hye(e);else{const i=V_(e),a=i.toLowerCase();Qye.includes(a)&&zye(i,e)}}},$ye=e=>{const t={str:e,position:0,tokens:[]};return jye(t),t.tokens},qye=e=>{const t={tagName:null,children:[]};return U_({tokens:e,cursor:0,stack:[t]}),t.children},e4e=(e,t)=>{const n=Bye[e];if(n){let r=t.length-1;for(;r>=0;){const o=t[r].tagName;if(o===e)break;if(o&&n.includes(o))return!0;r--}}return!1},o7=(e,t)=>{e.splice(t)},U_=e=>{const{stack:t,tokens:n}=e;let{cursor:r}=e,o=t[t.length-1].children;const i=n.length;for(;r<i;){const a=n[r];if(a.type!=="tag-start"){o.push(a),r++;continue}const s=n[++r];r++;const c=s.content.toLowerCase();if(a.close){let A=t.length,x=!1;for(;--A>-1;)if(t[A].tagName===c){x=!0;break}for(;r<i&&n[r].type==="tag-end";)r++;if(x){o7(t,A);break}else continue}let u=Zye.includes(c);if(u&&(u=!e4e(c,t)),u){let A=t.length-1;for(;A>0;){if(c===t[A].tagName){o7(t,A);const x=A-1;o=t[x].children;break}A=A-1}}const f=[];let d;for(;r<i;){const A=n[r];if(A.type==="tag-end"){d=A;break}f.push(A.content),r++}if(!d)break;r++;const h=[],p={type:"element",tagName:s.content,attributes:f,children:h};if(o.push(p),!(d.close||Dye.includes(c))){t.push({tagName:c,children:h});const A={tokens:n,cursor:r,stack:t};U_(A),r=A.cursor}}e.cursor=r},t4e=(e,t)=>{const n=e.indexOf(t);return n===-1?[e]:[e.slice(0,n),e.slice(n+t.length)]},n4e=e=>{const t=e.charAt(0),n=e.length-1;return(t==='"'||t==="'")&&t===e.charAt(n)?e.slice(1,n):e},r4e=e=>e.map(t=>{const n=t4e(t.trim(),"="),r=n[0],o=typeof n[1]=="string"?n4e(n[1]):null;return{key:r,value:o}}),Y_=e=>e.map(t=>{if(t.type==="element"){const r=Y_(t.children);return{type:"element",tagName:t.tagName.toLowerCase(),attributes:r4e(t.attributes),children:r}}return{type:t.type,content:t.content}}),o4e=e=>{const t=$ye(e),n=qye(t);return Y_(n)};/*! *****************************************************************************
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 Q_=function(e,t){return(Q_=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])})(e,t)};function Z_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Q_(e,t),e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}function i4e(e){var t="";Array.isArray(e)||(e=[e]);for(var n=0;n<e.length;n++){var r=e[n];if(r.type===it.CLOSE_PATH)t+="z";else if(r.type===it.HORIZ_LINE_TO)t+=(r.relative?"h":"H")+r.x;else if(r.type===it.VERT_LINE_TO)t+=(r.relative?"v":"V")+r.y;else if(r.type===it.MOVE_TO)t+=(r.relative?"m":"M")+r.x+" "+r.y;else if(r.type===it.LINE_TO)t+=(r.relative?"l":"L")+r.x+" "+r.y;else if(r.type===it.CURVE_TO)t+=(r.relative?"c":"C")+r.x1+" "+r.y1+" "+r.x2+" "+r.y2+" "+r.x+" "+r.y;else if(r.type===it.SMOOTH_CURVE_TO)t+=(r.relative?"s":"S")+r.x2+" "+r.y2+" "+r.x+" "+r.y;else if(r.type===it.QUAD_TO)t+=(r.relative?"q":"Q")+r.x1+" "+r.y1+" "+r.x+" "+r.y;else if(r.type===it.SMOOTH_QUAD_TO)t+=(r.relative?"t":"T")+r.x+" "+r.y;else{if(r.type!==it.ARC)throw new Error('Unexpected command type "'+r.type+'" at index '+n+".");t+=(r.relative?"a":"A")+r.rX+" "+r.rY+" "+r.xRot+" "+ +r.lArcFlag+" "+ +r.sweepFlag+" "+r.x+" "+r.y}}return t}function wx(e,t){var n=e[0],r=e[1];return[n*Math.cos(t)-r*Math.sin(t),n*Math.sin(t)+r*Math.cos(t)]}function Ra(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0;n<e.length;n++)if(typeof e[n]!="number")throw new Error("assertNumbers arguments["+n+"] is not a number. "+typeof e[n]+" == typeof "+e[n]);return!0}var Gl=Math.PI;function v4(e,t,n){e.lArcFlag=e.lArcFlag===0?0:1,e.sweepFlag=e.sweepFlag===0?0:1;var r=e.rX,o=e.rY,i=e.x,a=e.y;r=Math.abs(e.rX),o=Math.abs(e.rY);var s=wx([(t-i)/2,(n-a)/2],-e.xRot/180*Gl),c=s[0],l=s[1],u=Math.pow(c,2)/Math.pow(r,2)+Math.pow(l,2)/Math.pow(o,2);1<u&&(r*=Math.sqrt(u),o*=Math.sqrt(u)),e.rX=r,e.rY=o;var f=Math.pow(r,2)*Math.pow(l,2)+Math.pow(o,2)*Math.pow(c,2),d=(e.lArcFlag!==e.sweepFlag?1:-1)*Math.sqrt(Math.max(0,(Math.pow(r,2)*Math.pow(o,2)-f)/f)),h=r*l/o*d,p=-o*c/r*d,m=wx([h,p],e.xRot/180*Gl);e.cX=m[0]+(t+i)/2,e.cY=m[1]+(n+a)/2,e.phi1=Math.atan2((l-p)/o,(c-h)/r),e.phi2=Math.atan2((-l-p)/o,(-c-h)/r),e.sweepFlag===0&&e.phi2>e.phi1&&(e.phi2-=2*Gl),e.sweepFlag===1&&e.phi2<e.phi1&&(e.phi2+=2*Gl),e.phi1*=180/Gl,e.phi2*=180/Gl}function i7(e,t,n){Ra(e,t,n);var r=e*e+t*t-n*n;if(0>r)return[];if(r===0)return[[e*n/(e*e+t*t),t*n/(e*e+t*t)]];var o=Math.sqrt(r);return[[(e*n+t*o)/(e*e+t*t),(t*n-e*o)/(e*e+t*t)],[(e*n-t*o)/(e*e+t*t),(t*n+e*o)/(e*e+t*t)]]}var Or,Vs=Math.PI/180;function a7(e,t,n){return(1-n)*e+n*t}function s7(e,t,n,r){return e+Math.cos(r/180*Gl)*t+Math.sin(r/180*Gl)*n}function l7(e,t,n,r){var o=1e-6,i=t-e,a=n-t,s=3*i+3*(r-n)-6*a,c=6*(a-i),l=3*i;return Math.abs(s)<o?[-l/c]:function(u,f,d){d===void 0&&(d=1e-6);var h=u*u/4-f;if(h<-d)return[];if(h<=d)return[-u/2];var p=Math.sqrt(h);return[-u/2-p,-u/2+p]}(c/s,l/s,o)}function c7(e,t,n,r,o){var i=1-o;return e*(i*i*i)+t*(3*i*i*o)+n*(3*i*o*o)+r*(o*o*o)}(function(e){function t(){return o(function(s,c,l){return s.relative&&(s.x1!==void 0&&(s.x1+=c),s.y1!==void 0&&(s.y1+=l),s.x2!==void 0&&(s.x2+=c),s.y2!==void 0&&(s.y2+=l),s.x!==void 0&&(s.x+=c),s.y!==void 0&&(s.y+=l),s.relative=!1),s})}function n(){var s=NaN,c=NaN,l=NaN,u=NaN;return o(function(f,d,h){return f.type&it.SMOOTH_CURVE_TO&&(f.type=it.CURVE_TO,s=isNaN(s)?d:s,c=isNaN(c)?h:c,f.x1=f.relative?d-s:2*d-s,f.y1=f.relative?h-c:2*h-c),f.type&it.CURVE_TO?(s=f.relative?d+f.x2:f.x2,c=f.relative?h+f.y2:f.y2):(s=NaN,c=NaN),f.type&it.SMOOTH_QUAD_TO&&(f.type=it.QUAD_TO,l=isNaN(l)?d:l,u=isNaN(u)?h:u,f.x1=f.relative?d-l:2*d-l,f.y1=f.relative?h-u:2*h-u),f.type&it.QUAD_TO?(l=f.relative?d+f.x1:f.x1,u=f.relative?h+f.y1:f.y1):(l=NaN,u=NaN),f})}function r(){var s=NaN,c=NaN;return o(function(l,u,f){if(l.type&it.SMOOTH_QUAD_TO&&(l.type=it.QUAD_TO,s=isNaN(s)?u:s,c=isNaN(c)?f:c,l.x1=l.relative?u-s:2*u-s,l.y1=l.relative?f-c:2*f-c),l.type&it.QUAD_TO){s=l.relative?u+l.x1:l.x1,c=l.relative?f+l.y1:l.y1;var d=l.x1,h=l.y1;l.type=it.CURVE_TO,l.x1=((l.relative?0:u)+2*d)/3,l.y1=((l.relative?0:f)+2*h)/3,l.x2=(l.x+2*d)/3,l.y2=(l.y+2*h)/3}else s=NaN,c=NaN;return l})}function o(s){var c=0,l=0,u=NaN,f=NaN;return function(d){if(isNaN(u)&&!(d.type&it.MOVE_TO))throw new Error("path must start with moveto");var h=s(d,c,l,u,f);return d.type&it.CLOSE_PATH&&(c=u,l=f),d.x!==void 0&&(c=d.relative?c+d.x:d.x),d.y!==void 0&&(l=d.relative?l+d.y:d.y),d.type&it.MOVE_TO&&(u=c,f=l),h}}function i(s,c,l,u,f,d){return Ra(s,c,l,u,f,d),o(function(h,p,m,A){var x=h.x1,R=h.x2,y=h.relative&&!isNaN(A),g=h.x!==void 0?h.x:y?0:p,S=h.y!==void 0?h.y:y?0:m;function L(Z){return Z*Z}h.type&it.HORIZ_LINE_TO&&c!==0&&(h.type=it.LINE_TO,h.y=h.relative?0:m),h.type&it.VERT_LINE_TO&&l!==0&&(h.type=it.LINE_TO,h.x=h.relative?0:p),h.x!==void 0&&(h.x=h.x*s+S*l+(y?0:f)),h.y!==void 0&&(h.y=g*c+h.y*u+(y?0:d)),h.x1!==void 0&&(h.x1=h.x1*s+h.y1*l+(y?0:f)),h.y1!==void 0&&(h.y1=x*c+h.y1*u+(y?0:d)),h.x2!==void 0&&(h.x2=h.x2*s+h.y2*l+(y?0:f)),h.y2!==void 0&&(h.y2=R*c+h.y2*u+(y?0:d));var T=s*u-c*l;if(h.xRot!==void 0&&(s!==1||c!==0||l!==0||u!==1))if(T===0)delete h.rX,delete h.rY,delete h.xRot,delete h.lArcFlag,delete h.sweepFlag,h.type=it.LINE_TO;else{var M=h.xRot*Math.PI/180,O=Math.sin(M),k=Math.cos(M),_=1/L(h.rX),N=1/L(h.rY),X=L(k)*_+L(O)*N,C=2*O*k*(_-N),F=L(O)*_+L(k)*N,I=X*u*u-C*c*u+F*c*c,V=C*(s*u+c*l)-2*(X*l*u+F*s*c),B=X*l*l-C*s*l+F*s*s,G=(Math.atan2(V,I-B)+Math.PI)%Math.PI/2,ne=Math.sin(G),E=Math.cos(G);h.rX=Math.abs(T)/Math.sqrt(I*L(E)+V*ne*E+B*L(ne)),h.rY=Math.abs(T)/Math.sqrt(I*L(ne)-V*ne*E+B*L(E)),h.xRot=180*G/Math.PI}return h.sweepFlag!==void 0&&0>T&&(h.sweepFlag=+!h.sweepFlag),h})}function a(){return function(s){var c={};for(var l in s)c[l]=s[l];return c}}e.ROUND=function(s){function c(l){return Math.round(l*s)/s}return s===void 0&&(s=1e13),Ra(s),function(l){return l.x1!==void 0&&(l.x1=c(l.x1)),l.y1!==void 0&&(l.y1=c(l.y1)),l.x2!==void 0&&(l.x2=c(l.x2)),l.y2!==void 0&&(l.y2=c(l.y2)),l.x!==void 0&&(l.x=c(l.x)),l.y!==void 0&&(l.y=c(l.y)),l.rX!==void 0&&(l.rX=c(l.rX)),l.rY!==void 0&&(l.rY=c(l.rY)),l}},e.TO_ABS=t,e.TO_REL=function(){return o(function(s,c,l){return s.relative||(s.x1!==void 0&&(s.x1-=c),s.y1!==void 0&&(s.y1-=l),s.x2!==void 0&&(s.x2-=c),s.y2!==void 0&&(s.y2-=l),s.x!==void 0&&(s.x-=c),s.y!==void 0&&(s.y-=l),s.relative=!0),s})},e.NORMALIZE_HVZ=function(s,c,l){return s===void 0&&(s=!0),c===void 0&&(c=!0),l===void 0&&(l=!0),o(function(u,f,d,h,p){if(isNaN(h)&&!(u.type&it.MOVE_TO))throw new Error("path must start with moveto");return c&&u.type&it.HORIZ_LINE_TO&&(u.type=it.LINE_TO,u.y=u.relative?0:d),l&&u.type&it.VERT_LINE_TO&&(u.type=it.LINE_TO,u.x=u.relative?0:f),s&&u.type&it.CLOSE_PATH&&(u.type=it.LINE_TO,u.x=u.relative?h-f:h,u.y=u.relative?p-d:p),u.type&it.ARC&&(u.rX===0||u.rY===0)&&(u.type=it.LINE_TO,delete u.rX,delete u.rY,delete u.xRot,delete u.lArcFlag,delete u.sweepFlag),u})},e.NORMALIZE_ST=n,e.QT_TO_C=r,e.INFO=o,e.SANITIZE=function(s){s===void 0&&(s=0),Ra(s);var c=NaN,l=NaN,u=NaN,f=NaN;return o(function(d,h,p,m,A){var x=Math.abs,R=!1,y=0,g=0;if(d.type&it.SMOOTH_CURVE_TO&&(y=isNaN(c)?0:h-c,g=isNaN(l)?0:p-l),d.type&(it.CURVE_TO|it.SMOOTH_CURVE_TO)?(c=d.relative?h+d.x2:d.x2,l=d.relative?p+d.y2:d.y2):(c=NaN,l=NaN),d.type&it.SMOOTH_QUAD_TO?(u=isNaN(u)?h:2*h-u,f=isNaN(f)?p:2*p-f):d.type&it.QUAD_TO?(u=d.relative?h+d.x1:d.x1,f=d.relative?p+d.y1:d.y2):(u=NaN,f=NaN),d.type&it.LINE_COMMANDS||d.type&it.ARC&&(d.rX===0||d.rY===0||!d.lArcFlag)||d.type&it.CURVE_TO||d.type&it.SMOOTH_CURVE_TO||d.type&it.QUAD_TO||d.type&it.SMOOTH_QUAD_TO){var S=d.x===void 0?0:d.relative?d.x:d.x-h,L=d.y===void 0?0:d.relative?d.y:d.y-p;y=isNaN(u)?d.x1===void 0?y:d.relative?d.x:d.x1-h:u-h,g=isNaN(f)?d.y1===void 0?g:d.relative?d.y:d.y1-p:f-p;var T=d.x2===void 0?0:d.relative?d.x:d.x2-h,M=d.y2===void 0?0:d.relative?d.y:d.y2-p;x(S)<=s&&x(L)<=s&&x(y)<=s&&x(g)<=s&&x(T)<=s&&x(M)<=s&&(R=!0)}return d.type&it.CLOSE_PATH&&x(h-m)<=s&&x(p-A)<=s&&(R=!0),R?[]:d})},e.MATRIX=i,e.ROTATE=function(s,c,l){c===void 0&&(c=0),l===void 0&&(l=0),Ra(s,c,l);var u=Math.sin(s),f=Math.cos(s);return i(f,u,-u,f,c-c*f+l*u,l-c*u-l*f)},e.TRANSLATE=function(s,c){return c===void 0&&(c=0),Ra(s,c),i(1,0,0,1,s,c)},e.SCALE=function(s,c){return c===void 0&&(c=s),Ra(s,c),i(s,0,0,c,0,0)},e.SKEW_X=function(s){return Ra(s),i(1,0,Math.atan(s),1,0,0)},e.SKEW_Y=function(s){return Ra(s),i(1,Math.atan(s),0,1,0,0)},e.X_AXIS_SYMMETRY=function(s){return s===void 0&&(s=0),Ra(s),i(-1,0,0,1,s,0)},e.Y_AXIS_SYMMETRY=function(s){return s===void 0&&(s=0),Ra(s),i(1,0,0,-1,0,s)},e.A_TO_C=function(){return o(function(s,c,l){return it.ARC===s.type?function(u,f,d){var h,p,m,A;u.cX||v4(u,f,d);for(var x=Math.min(u.phi1,u.phi2),R=Math.max(u.phi1,u.phi2)-x,y=Math.ceil(R/90),g=new Array(y),S=f,L=d,T=0;T<y;T++){var M=a7(u.phi1,u.phi2,T/y),O=a7(u.phi1,u.phi2,(T+1)/y),k=O-M,_=4/3*Math.tan(k*Vs/4),N=[Math.cos(M*Vs)-_*Math.sin(M*Vs),Math.sin(M*Vs)+_*Math.cos(M*Vs)],X=N[0],C=N[1],F=[Math.cos(O*Vs),Math.sin(O*Vs)],I=F[0],V=F[1],B=[I+_*Math.sin(O*Vs),V-_*Math.cos(O*Vs)],G=B[0],ne=B[1];g[T]={relative:u.relative,type:it.CURVE_TO};var E=function(Z,K){var U=wx([Z*u.rX,K*u.rY],u.xRot),J=U[0],le=U[1];return[u.cX+J,u.cY+le]};h=E(X,C),g[T].x1=h[0],g[T].y1=h[1],p=E(G,ne),g[T].x2=p[0],g[T].y2=p[1],m=E(I,V),g[T].x=m[0],g[T].y=m[1],u.relative&&(g[T].x1-=S,g[T].y1-=L,g[T].x2-=S,g[T].y2-=L,g[T].x-=S,g[T].y-=L),S=(A=[g[T].x,g[T].y])[0],L=A[1]}return g}(s,s.relative?0:c,s.relative?0:l):s})},e.ANNOTATE_ARCS=function(){return o(function(s,c,l){return s.relative&&(c=0,l=0),it.ARC===s.type&&v4(s,c,l),s})},e.CLONE=a,e.CALCULATE_BOUNDS=function(){var s=function(d){var h={};for(var p in d)h[p]=d[p];return h},c=t(),l=r(),u=n(),f=o(function(d,h,p){var m=u(l(c(s(d))));function A(ne){ne>f.maxX&&(f.maxX=ne),ne<f.minX&&(f.minX=ne)}function x(ne){ne>f.maxY&&(f.maxY=ne),ne<f.minY&&(f.minY=ne)}if(m.type&it.DRAWING_COMMANDS&&(A(h),x(p)),m.type&it.HORIZ_LINE_TO&&A(m.x),m.type&it.VERT_LINE_TO&&x(m.y),m.type&it.LINE_TO&&(A(m.x),x(m.y)),m.type&it.CURVE_TO){A(m.x),x(m.y);for(var R=0,y=l7(h,m.x1,m.x2,m.x);R<y.length;R++)0<(G=y[R])&&1>G&&A(c7(h,m.x1,m.x2,m.x,G));for(var g=0,S=l7(p,m.y1,m.y2,m.y);g<S.length;g++)0<(G=S[g])&&1>G&&x(c7(p,m.y1,m.y2,m.y,G))}if(m.type&it.ARC){A(m.x),x(m.y),v4(m,h,p);for(var L=m.xRot/180*Math.PI,T=Math.cos(L)*m.rX,M=Math.sin(L)*m.rX,O=-Math.sin(L)*m.rY,k=Math.cos(L)*m.rY,_=m.phi1<m.phi2?[m.phi1,m.phi2]:-180>m.phi2?[m.phi2+360,m.phi1+360]:[m.phi2,m.phi1],N=_[0],X=_[1],C=function(ne){var E=ne[0],Z=ne[1],K=180*Math.atan2(Z,E)/Math.PI;return K<N?K+360:K},F=0,I=i7(O,-T,0).map(C);F<I.length;F++)(G=I[F])>N&&G<X&&A(s7(m.cX,T,O,G));for(var V=0,B=i7(k,-M,0).map(C);V<B.length;V++){var G;(G=B[V])>N&&G<X&&x(s7(m.cY,M,k,G))}}return d});return f.minX=1/0,f.maxX=-1/0,f.minY=1/0,f.maxY=-1/0,f}})(Or||(Or={}));var pa,B_=function(){function e(){}return e.prototype.round=function(t){return this.transform(Or.ROUND(t))},e.prototype.toAbs=function(){return this.transform(Or.TO_ABS())},e.prototype.toRel=function(){return this.transform(Or.TO_REL())},e.prototype.normalizeHVZ=function(t,n,r){return this.transform(Or.NORMALIZE_HVZ(t,n,r))},e.prototype.normalizeST=function(){return this.transform(Or.NORMALIZE_ST())},e.prototype.qtToC=function(){return this.transform(Or.QT_TO_C())},e.prototype.aToC=function(){return this.transform(Or.A_TO_C())},e.prototype.sanitize=function(t){return this.transform(Or.SANITIZE(t))},e.prototype.translate=function(t,n){return this.transform(Or.TRANSLATE(t,n))},e.prototype.scale=function(t,n){return this.transform(Or.SCALE(t,n))},e.prototype.rotate=function(t,n,r){return this.transform(Or.ROTATE(t,n,r))},e.prototype.matrix=function(t,n,r,o,i,a){return this.transform(Or.MATRIX(t,n,r,o,i,a))},e.prototype.skewX=function(t){return this.transform(Or.SKEW_X(t))},e.prototype.skewY=function(t){return this.transform(Or.SKEW_Y(t))},e.prototype.xSymmetry=function(t){return this.transform(Or.X_AXIS_SYMMETRY(t))},e.prototype.ySymmetry=function(t){return this.transform(Or.Y_AXIS_SYMMETRY(t))},e.prototype.annotateArcs=function(){return this.transform(Or.ANNOTATE_ARCS())},e}(),a4e=function(e){return e===" "||e===" "||e==="\r"||e===`
`},u7=function(e){return 48<=e.charCodeAt(0)&&e.charCodeAt(0)<=57},s4e=function(e){function t(){var n=e.call(this)||this;return n.curNumber="",n.curCommandType=-1,n.curCommandRelative=!1,n.canParseCommandOrComma=!0,n.curNumberHasExp=!1,n.curNumberHasExpDigits=!1,n.curNumberHasDecimal=!1,n.curArgs=[],n}return Z_(t,e),t.prototype.finish=function(n){if(n===void 0&&(n=[]),this.parse(" ",n),this.curArgs.length!==0||!this.canParseCommandOrComma)throw new SyntaxError("Unterminated command at the path end.");return n},t.prototype.parse=function(n,r){var o=this;r===void 0&&(r=[]);for(var i=function(f){r.push(f),o.curArgs.length=0,o.canParseCommandOrComma=!0},a=0;a<n.length;a++){var s=n[a],c=!(this.curCommandType!==it.ARC||this.curArgs.length!==3&&this.curArgs.length!==4||this.curNumber.length!==1||this.curNumber!=="0"&&this.curNumber!=="1"),l=u7(s)&&(this.curNumber==="0"&&s==="0"||c);if(!u7(s)||l)if(s!=="e"&&s!=="E")if(s!=="-"&&s!=="+"||!this.curNumberHasExp||this.curNumberHasExpDigits)if(s!=="."||this.curNumberHasExp||this.curNumberHasDecimal||c){if(this.curNumber&&this.curCommandType!==-1){var u=Number(this.curNumber);if(isNaN(u))throw new SyntaxError("Invalid number ending at "+a);if(this.curCommandType===it.ARC){if(this.curArgs.length===0||this.curArgs.length===1){if(0>u)throw new SyntaxError('Expected positive number, got "'+u+'" at index "'+a+'"')}else if((this.curArgs.length===3||this.curArgs.length===4)&&this.curNumber!=="0"&&this.curNumber!=="1")throw new SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+a+'"')}this.curArgs.push(u),this.curArgs.length===l4e[this.curCommandType]&&(it.HORIZ_LINE_TO===this.curCommandType?i({type:it.HORIZ_LINE_TO,relative:this.curCommandRelative,x:u}):it.VERT_LINE_TO===this.curCommandType?i({type:it.VERT_LINE_TO,relative:this.curCommandRelative,y:u}):this.curCommandType===it.MOVE_TO||this.curCommandType===it.LINE_TO||this.curCommandType===it.SMOOTH_QUAD_TO?(i({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),it.MOVE_TO===this.curCommandType&&(this.curCommandType=it.LINE_TO)):this.curCommandType===it.CURVE_TO?i({type:it.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===it.SMOOTH_CURVE_TO?i({type:it.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===it.QUAD_TO?i({type:it.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===it.ARC&&i({type:it.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(!a4e(s))if(s===","&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if(s!=="+"&&s!=="-"&&s!==".")if(l)this.curNumber=s,this.curNumberHasDecimal=!1;else{if(this.curArgs.length!==0)throw new SyntaxError("Unterminated command at index "+a+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+s+'" at index '+a+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,s!=="z"&&s!=="Z")if(s==="h"||s==="H")this.curCommandType=it.HORIZ_LINE_TO,this.curCommandRelative=s==="h";else if(s==="v"||s==="V")this.curCommandType=it.VERT_LINE_TO,this.curCommandRelative=s==="v";else if(s==="m"||s==="M")this.curCommandType=it.MOVE_TO,this.curCommandRelative=s==="m";else if(s==="l"||s==="L")this.curCommandType=it.LINE_TO,this.curCommandRelative=s==="l";else if(s==="c"||s==="C")this.curCommandType=it.CURVE_TO,this.curCommandRelative=s==="c";else if(s==="s"||s==="S")this.curCommandType=it.SMOOTH_CURVE_TO,this.curCommandRelative=s==="s";else if(s==="q"||s==="Q")this.curCommandType=it.QUAD_TO,this.curCommandRelative=s==="q";else if(s==="t"||s==="T")this.curCommandType=it.SMOOTH_QUAD_TO,this.curCommandRelative=s==="t";else{if(s!=="a"&&s!=="A")throw new SyntaxError('Unexpected character "'+s+'" at index '+a+".");this.curCommandType=it.ARC,this.curCommandRelative=s==="a"}else r.push({type:it.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=s,this.curNumberHasDecimal=s==="."}else this.curNumber+=s,this.curNumberHasDecimal=!0;else this.curNumber+=s;else this.curNumber+=s,this.curNumberHasExp=!0;else this.curNumber+=s,this.curNumberHasExpDigits=this.curNumberHasExp}return r},t.prototype.transform=function(n){return Object.create(this,{parse:{value:function(r,o){o===void 0&&(o=[]);for(var i=0,a=Object.getPrototypeOf(this).parse.call(this,r);i<a.length;i++){var s=a[i],c=n(s);Array.isArray(c)?o.push.apply(o,c):o.push(c)}return o}}})},t}(B_),it=function(e){function t(n){var r=e.call(this)||this;return r.commands=typeof n=="string"?t.parse(n):n,r}return Z_(t,e),t.prototype.encode=function(){return t.encode(this.commands)},t.prototype.getBounds=function(){var n=Or.CALCULATE_BOUNDS();return this.transform(n),n},t.prototype.transform=function(n){for(var r=[],o=0,i=this.commands;o<i.length;o++){var a=n(i[o]);Array.isArray(a)?r.push.apply(r,a):r.push(a)}return this.commands=r,this},t.encode=function(n){return i4e(n)},t.parse=function(n){var r=new s4e,o=[];return r.parse(n,o),r.finish(o),o},t.CLOSE_PATH=1,t.MOVE_TO=2,t.HORIZ_LINE_TO=4,t.VERT_LINE_TO=8,t.LINE_TO=16,t.CURVE_TO=32,t.SMOOTH_CURVE_TO=64,t.QUAD_TO=128,t.SMOOTH_QUAD_TO=256,t.ARC=512,t.LINE_COMMANDS=t.LINE_TO|t.HORIZ_LINE_TO|t.VERT_LINE_TO,t.DRAWING_COMMANDS=t.HORIZ_LINE_TO|t.VERT_LINE_TO|t.LINE_TO|t.CURVE_TO|t.SMOOTH_CURVE_TO|t.QUAD_TO|t.SMOOTH_QUAD_TO|t.ARC,t}(B_),l4e=((pa={})[it.MOVE_TO]=2,pa[it.LINE_TO]=2,pa[it.HORIZ_LINE_TO]=1,pa[it.VERT_LINE_TO]=1,pa[it.CLOSE_PATH]=0,pa[it.QUAD_TO]=4,pa[it.SMOOTH_QUAD_TO]=2,pa[it.CURVE_TO]=6,pa[it.SMOOTH_CURVE_TO]=4,pa[it.ARC]=7,pa),c4e=function(){function e(t,n){var r=[],o=!0,i=!1,a=void 0;try{for(var s=t[Symbol.iterator](),c;!(o=(c=s.next()).done)&&(r.push(c.value),!(n&&r.length===n));o=!0);}catch(l){i=!0,a=l}finally{try{!o&&s.return&&s.return()}finally{if(i)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")}}(),Xh=Math.PI*2,g4=function(t,n,r,o,i,a,s){var c=t.x,l=t.y;c*=n,l*=r;var u=o*c-i*l,f=i*c+o*l;return{x:u+a,y:f+s}},u4e=function(t,n){var r=n===1.5707963267948966?.551915024494:n===-1.5707963267948966?-.551915024494:1.3333333333333333*Math.tan(n/4),o=Math.cos(t),i=Math.sin(t),a=Math.cos(t+n),s=Math.sin(t+n);return[{x:o-i*r,y:i+o*r},{x:a+s*r,y:s-a*r},{x:a,y:s}]},f7=function(t,n,r,o){var i=t*o-n*r<0?-1:1,a=t*r+n*o;return a>1&&(a=1),a<-1&&(a=-1),i*Math.acos(a)},f4e=function(t,n,r,o,i,a,s,c,l,u,f,d){var h=Math.pow(i,2),p=Math.pow(a,2),m=Math.pow(f,2),A=Math.pow(d,2),x=h*p-h*A-p*m;x<0&&(x=0),x/=h*A+p*m,x=Math.sqrt(x)*(s===c?-1:1);var R=x*i/a*d,y=x*-a/i*f,g=u*R-l*y+(t+r)/2,S=l*R+u*y+(n+o)/2,L=(f-R)/i,T=(d-y)/a,M=(-f-R)/i,O=(-d-y)/a,k=f7(1,0,L,T),_=f7(L,T,M,O);return c===0&&_>0&&(_-=Xh),c===1&&_<0&&(_+=Xh),[g,S,k,_]},d4e=function(t){var n=t.px,r=t.py,o=t.cx,i=t.cy,a=t.rx,s=t.ry,c=t.xAxisRotation,l=c===void 0?0:c,u=t.largeArcFlag,f=u===void 0?0:u,d=t.sweepFlag,h=d===void 0?0:d,p=[];if(a===0||s===0)return[];var m=Math.sin(l*Xh/360),A=Math.cos(l*Xh/360),x=A*(n-o)/2+m*(r-i)/2,R=-m*(n-o)/2+A*(r-i)/2;if(x===0&&R===0)return[];a=Math.abs(a),s=Math.abs(s);var y=Math.pow(x,2)/Math.pow(a,2)+Math.pow(R,2)/Math.pow(s,2);y>1&&(a*=Math.sqrt(y),s*=Math.sqrt(y));var g=f4e(n,r,o,i,a,s,f,h,m,A,x,R),S=c4e(g,4),L=S[0],T=S[1],M=S[2],O=S[3],k=Math.abs(O)/(Xh/4);Math.abs(1-k)<1e-7&&(k=1);var _=Math.max(Math.ceil(k),1);O/=_;for(var N=0;N<_;N++)p.push(u4e(M,O)),M+=O;return p.map(function(X){var C=g4(X[0],a,s,A,m,L,T),F=C.x,I=C.y,V=g4(X[1],a,s,A,m,L,T),B=V.x,G=V.y,ne=g4(X[2],a,s,A,m,L,T),E=ne.x,Z=ne.y;return{x1:F,y1:I,x2:B,y2:G,x:E,y:Z}})};const h4e={1:"Z",2:"M",4:"H",8:"V",16:"L",32:"C",64:"S",128:"Q",256:"T",512:"A"},d7=e=>{const t=new it(e),n=[];for(const r of t.commands){const o=h4e[r.type];if((r.type===2||r.type===16)&&n.push({x:r.x,y:r.y,relative:r.relative,type:o}),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:o});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:o});else if(r.type===512){const i=n[n.length-1];if(!["M","L","Q","C"].includes(i.type))continue;const a=d4e({px:i.x,py:i.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:o});else continue}return n},Pm="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",p4e="data:image/svg+xml;base64,",m4e=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},v4e=e=>{let t="",n,r,o,i,a,s,c,l=0;for(e=m4e(e);l<e.length;)n=e.charCodeAt(l++),r=e.charCodeAt(l++),o=e.charCodeAt(l++),i=n>>2,a=(n&3)<<4|r>>4,s=(r&15)<<2|o>>6,c=o&63,isNaN(r)?s=c=64:isNaN(o)&&(c=64),t=t+Pm.charAt(i)+Pm.charAt(a)+Pm.charAt(s)+Pm.charAt(c);return t},h7=e=>{const n=new XMLSerializer().serializeToString(e);return p4e+v4e(n)},xt=100,Do=.75,x2=()=>{const e=ct(),{slides:t,theme:n,viewportRatio:r,title:o}=Ee(e),i=me(!1),a=(A,x,R,y=!0)=>{i.value=!0;const g=x==="png"?s1e:l1e;A.querySelectorAll("foreignObject [xmlns]").forEach(L=>L.removeAttribute("xmlns")),setTimeout(()=>{const L={quality:R,width:1600};y&&(L.fontEmbedCSS=""),g(A,L).then(T=>{i.value=!1,c4.saveAs(T,`${o.value}.${x}`)}).catch(()=>{i.value=!1,wn.error("导出图片失败")})},200)},s=A=>{const x=new Blob([Mb(JSON.stringify(A))],{type:""});c4.saveAs(x,`${o.value}.pptist`)},c=()=>{const A=new Blob([JSON.stringify(t.value)],{type:""});c4.saveAs(A,`${o.value}.json`)},l=A=>{const x=ot(A),R=x.getAlpha(),y=R===0?"#ffffff":x.setAlpha(1).toHexString();return{alpha:R,color:y}},u=A=>{const x=o4e(A);let R=!1,y=0;const g=[],S=(L,T={})=>{for(const M of L){if("tagName"in M&&["div","li","p"].includes(M.tagName)&&g.length){const N=g[g.length-1];N.options||(N.options={}),N.options.breakLine=!0}const k={...T},_="attributes"in M?M.attributes.find(N=>N.key==="style"):null;if(_&&_.value){const N=_.value.split(";");for(const X of N){const[C,F]=X.split(": "),[I,V]=[_n.trim(C),_n.trim(F)];I&&V&&(k[I]=V)}}if("tagName"in M){if(M.tagName==="em"&&(k["font-style"]="italic"),M.tagName==="strong"&&(k["font-weight"]="bold"),M.tagName==="sup"&&(k["vertical-align"]="super"),M.tagName==="sub"&&(k["vertical-align"]="sub"),M.tagName==="a"){const N=M.attributes.find(X=>X.key==="href");k.href=(N==null?void 0:N.value)||""}if(M.tagName==="ul"&&(k["list-type"]="ul"),M.tagName==="ol"&&(k["list-type"]="ol"),M.tagName==="li"&&(R=!0),M.tagName==="p"&&"attributes"in M){const N=M.attributes.find(X=>X.key==="data-indent");N&&N.value&&(y=+N.value)}}if("tagName"in M&&M.tagName==="br")g.push({text:"",options:{breakLine:!0}});else if("content"in M){const N=M.content.replace(/&nbsp;/g," ").replace(/&gt;/g,">").replace(/&lt;/g,"<").replace(/&amp;/g,"&").replace(/\n/g,""),X={};k["font-size"]&&(X.fontSize=parseInt(k["font-size"])*Do),k.color&&(X.color=l(k.color).color),k["background-color"]&&(X.highlight=l(k["background-color"]).color),k["text-decoration-line"]&&(k["text-decoration-line"].indexOf("underline")!==-1&&(X.underline={color:X.color||"#000000",style:"sng"}),k["text-decoration-line"].indexOf("line-through")!==-1&&(X.strike="sngStrike")),k["text-decoration"]&&(k["text-decoration"].indexOf("underline")!==-1&&(X.underline={color:X.color||"#000000",style:"sng"}),k["text-decoration"].indexOf("line-through")!==-1&&(X.strike="sngStrike")),k["vertical-align"]&&(k["vertical-align"]==="super"&&(X.superscript=!0),k["vertical-align"]==="sub"&&(X.subscript=!0)),k["text-align"]&&(X.align=k["text-align"]),k["font-weight"]&&(X.bold=k["font-weight"]==="bold"),k["font-style"]&&(X.italic=k["font-style"]==="italic"),k["font-family"]&&(X.fontFace=k["font-family"]),k.href&&(X.hyperlink={url:k.href}),R&&k["list-type"]==="ol"&&(X.bullet={type:"number",indent:(X.fontSize||20)*1.25},X.paraSpaceBefore=.1,R=!1),R&&k["list-type"]==="ul"&&(X.bullet={indent:(X.fontSize||20)*1.25},X.paraSpaceBefore=.1,R=!1),y&&(X.indentLevel=y,y=0),g.push({text:N,options:X})}else"children"in M&&S(M.children,k)}};return S(x),g},f=(A,x={x:1,y:1})=>A.map(R=>{if(R.close!==void 0)return{close:!0};if(R.type==="M")return{x:R.x/xt*x.x,y:R.y/xt*x.y,moveTo:!0};if(R.curve){if(R.curve.type==="cubic")return{x:R.x/xt*x.x,y:R.y/xt*x.y,curve:{type:"cubic",x1:R.curve.x1/xt*x.x,y1:R.curve.y1/xt*x.y,x2:R.curve.x2/xt*x.x,y2:R.curve.y2/xt*x.y}};if(R.curve.type==="quadratic")return{x:R.x/xt*x.x,y:R.y/xt*x.y,curve:{type:"quadratic",x1:R.curve.x1/xt*x.x,y1:R.curve.y1/xt*x.y}}}return{x:R.x/xt*x.x,y:R.y/xt*x.y}}),d=A=>{const x=l(A.color),{h:R,v:y}=A;let g=4,S=45;return R===0&&y===0?(g=4,S=45):R===0?y>0?(g=y,S=90):(g=-y,S=270):y===0?R>0?(g=R,S=1):(g=-R,S=180):R>0&&y>0?(g=Math.max(R,y),S=45):R>0&&y<0?(g=Math.max(R,-y),S=315):R<0&&y>0?(g=Math.max(-R,y),S=135):R<0&&y<0&&(g=Math.max(-R,-y),S=225),{type:"outer",color:x.color.replace("#",""),opacity:x.alpha,blur:A.blur*Do,offset:g,angle:S}},h=A=>{const x=l((A==null?void 0:A.color)||"#000000");return{color:x.color,transparency:(1-x.alpha)*100,width:(A.width||1)*Do,dashType:A.style==="solid"?"solid":"dash"}},p=A=>{const{type:x,target:R}=A;if(x==="web")return{url:R};if(x==="slide"){const y=t.value.findIndex(g=>g.id===R);if(y!==-1)return{slide:y+1}}return null};return{exporting:i,exportImage:a,exportJSON:c,exportSpecificFile:s,exportPPTX:(A,x,R)=>{var g,S,L,T,M,O,k,_,N,X,C,F,I,V,B,G,ne,E;i.value=!0;const y=new Yye;if(r.value===.625?y.layout="LAYOUT_16x10":r.value===.75?y.layout="LAYOUT_4x3":r.value===.70710678?(y.defineLayout({name:"A3",width:10,height:7.0710678}),y.layout="A3"):r.value===1.41421356?(y.defineLayout({name:"A3_V",width:10,height:14.1421356}),y.layout="A3_V"):y.layout="LAYOUT_16x9",x){const{color:Z,alpha:K}=l(n.value.backgroundColor);y.defineSlideMaster({title:"PPTIST_MASTER",background:{color:Z,transparency:(1-K)*100}})}for(const Z of A){const K=y.addSlide();if(Z.background){const U=Z.background;if(U.type==="image"&&U.image)K.background={data:U.image};else if(U.type==="solid"&&U.color){const J=l(U.color);K.background={color:J.color,transparency:(1-J.alpha)*100}}else if(U.type==="gradient"&&U.gradientColor){const[J,le]=U.gradientColor,ie=ot.mix(J,le).toHexString(),oe=l(ie);K.background={color:oe.color,transparency:(1-oe.alpha)*100}}}if(Z.remark&&K.addNotes(Z.remark),!!Z.elements){for(const U of Z.elements)if(U.type==="text"){const J=u(U.content),le={x:U.left/xt,y:U.top/xt,w:U.width/xt,h:U.height/xt,fontSize:20*Do,fontFace:"微软雅黑",color:"#000000",valign:"top",margin:10*Do,paraSpaceBefore:5*Do,lineSpacingMultiple:1.5/1.25,autoFit:!0};if(U.rotate&&(le.rotate=U.rotate),U.wordSpace&&(le.charSpacing=U.wordSpace*Do),U.lineHeight&&(le.lineSpacingMultiple=U.lineHeight/1.25),U.fill){const ie=l(U.fill),oe=U.opacity===void 0?1:U.opacity;le.fill={color:ie.color,transparency:(1-ie.alpha*oe)*100}}U.defaultColor&&(le.color=l(U.defaultColor).color),U.defaultFontName&&(le.fontFace=U.defaultFontName),U.shadow&&(le.shadow=d(U.shadow)),(g=U.outline)!=null&&g.width&&(le.line=h(U.outline)),U.opacity!==void 0&&(le.transparency=(1-U.opacity)*100),U.paragraphSpace!==void 0&&(le.paraSpaceBefore=U.paragraphSpace*Do),U.vertical&&(le.vert="eaVert"),K.addText(J,le)}else if(U.type==="image"){const J={path:U.src,x:U.left/xt,y:U.top/xt,w:U.width/xt,h:U.height/xt};if(U.flipH&&(J.flipH=U.flipH),U.flipV&&(J.flipV=U.flipV),U.rotate&&(J.rotate=U.rotate),U.link){const le=p(U.link);le&&(J.hyperlink=le)}if((S=U.filters)!=null&&S.opacity&&(J.transparency=100-parseInt((L=U.filters)==null?void 0:L.opacity)),U.clip){U.clip.shape==="ellipse"&&(J.rounding=!0);const[le,ie]=U.clip.range,[oe,pe]=le,[ge,ye]=ie,z=U.width/((ge-oe)/xt),ae=U.height/((ye-pe)/xt);J.w=z/xt,J.h=ae/xt,J.sizing={type:"crop",x:oe/xt*z/xt,y:pe/xt*ae/xt,w:(ge-oe)/xt*z/xt,h:(ye-pe)/xt*ae/xt}}K.addImage(J)}else if(U.type==="shape"){if(U.special){const J=document.querySelector(`.thumbnail-list .base-element-${U.id} svg`),ie={data:h7(J),x:U.left/xt,y:U.top/xt,w:U.width/xt,h:U.height/xt};if(U.rotate&&(ie.rotate=U.rotate),U.link){const oe=p(U.link);oe&&(ie.hyperlink=oe)}K.addImage(ie)}else{const J={x:U.width/U.viewBox[0],y:U.height/U.viewBox[1]},le=f(d7(U.path),J),ie=l(U.fill),oe=U.opacity===void 0?1:U.opacity,pe={x:U.left/xt,y:U.top/xt,w:U.width/xt,h:U.height/xt,fill:{color:ie.color,transparency:(1-ie.alpha*oe)*100},points:le};if(U.flipH&&(pe.flipH=U.flipH),U.flipV&&(pe.flipV=U.flipV),U.shadow&&(pe.shadow=d(U.shadow)),(T=U.outline)!=null&&T.width&&(pe.line=h(U.outline)),U.rotate&&(pe.rotate=U.rotate),U.link){const ge=p(U.link);ge&&(pe.hyperlink=ge)}K.addShape("custGeom",pe)}if(U.text){const J=u(U.text.content),le={x:U.left/xt,y:U.top/xt,w:U.width/xt,h:U.height/xt,fontSize:20*Do,fontFace:"微软雅黑",color:"#000000",paraSpaceBefore:5*Do,valign:U.text.align};U.rotate&&(le.rotate=U.rotate),U.text.defaultColor&&(le.color=l(U.text.defaultColor).color),U.text.defaultFontName&&(le.fontFace=U.text.defaultFontName),K.addText(J,le)}}else if(U.type==="line"){const J=Lb(U),le=f(d7(J)),{minX:ie,maxX:oe,minY:pe,maxY:ge}=Ma(U),ye=l(U.color),z={x:U.left/xt,y:U.top/xt,w:(oe-ie)/xt,h:(ge-pe)/xt,line:{color:ye.color,transparency:(1-ye.alpha)*100,width:U.width*Do,dashType:U.style==="solid"?"solid":"dash",beginArrowType:U.points[0]?"arrow":"none",endArrowType:U.points[1]?"arrow":"none"},points:le};U.shadow&&(z.shadow=d(U.shadow)),K.addShape("custGeom",z)}else if(U.type==="chart"){const J=[];for(let pe=0;pe<U.data.series.length;pe++){const ge=U.data.series[pe];J.push({name:`系列${pe+1}`,labels:U.data.labels,values:ge})}let le=[];if(U.themeColor.length===10)le=U.themeColor.map(pe=>l(pe).color);else if(U.themeColor.length===1)le=ot(U.themeColor[0]).analogous(10).map(pe=>l(pe.toHexString()).color);else{const pe=U.themeColor.length,ge=ot(U.themeColor[pe-1]).analogous(11-pe).map(ye=>ye.toHexString());le=[...U.themeColor.slice(0,pe-1),...ge].map(ye=>l(ye).color)}const ie={x:U.left/xt,y:U.top/xt,w:U.width/xt,h:U.height/xt,chartColors:U.chartType==="pie"?le:le.slice(0,U.data.series.length)};U.fill&&(ie.plotArea={fill:{color:l(U.fill).color}}),U.legend&&(ie.showLegend=!0,ie.legendPos=U.legend==="top"?"t":"b",ie.legendColor=l(U.gridColor||"#000000").color,ie.legendFontSize=14*Do);let oe=y.ChartType.bar;U.chartType==="bar"?(oe=y.ChartType.bar,ie.barDir=(M=U.options)!=null&&M.horizontalBars?"bar":"col"):U.chartType==="line"?((O=U.options)!=null&&O.showArea?oe=y.ChartType.area:((k=U.options)==null?void 0:k.showLine)===!1?(oe=y.ChartType.scatter,J.unshift({name:"X-Axis",values:Array(U.data.series[0].length).fill(0).map((pe,ge)=>ge)}),ie.lineSize=0):oe=y.ChartType.line,(_=U.options)!=null&&_.lineSmooth&&(ie.lineSmooth=!0)):U.chartType==="pie"&&((N=U.options)!=null&&N.donut?(oe=y.ChartType.doughnut,ie.holeSize=75):oe=y.ChartType.pie),K.addChart(oe,J,ie)}else if(U.type==="table"){const J=[];for(let ye=0;ye<U.data.length;ye++){const z=U.data[ye];for(let ae=0;ae<z.length;ae++){const W=z[ae];if(W.colspan>1||W.rowspan>1)for(let j=ye;j<ye+W.rowspan;j++)for(let ue=j===ye?ae+1:ae;ue<ae+W.colspan;ue++)J.push(`${j}_${ue}`)}}const le=[],ie=U.theme;let oe=null,pe=[];ie&&(oe=l(ie.color),pe=GP(ie.color).map(ye=>l(ye)));for(let ye=0;ye<U.data.length;ye++){const z=U.data[ye],ae=[];for(let W=0;W<z.length;W++){const j=z[W],ue={colspan:j.colspan,rowspan:j.rowspan,bold:((X=j.style)==null?void 0:X.bold)||!1,italic:((C=j.style)==null?void 0:C.em)||!1,underline:{style:(F=j.style)!=null&&F.underline?"sng":"none"},align:((I=j.style)==null?void 0:I.align)||"left",valign:"middle",fontFace:((V=j.style)==null?void 0:V.fontname)||"微软雅黑",fontSize:((B=j.style)!=null&&B.fontsize?parseInt((G=j.style)==null?void 0:G.fontsize):14)*Do};if(ie&&oe){let $;ye%2===0?$=pe[1]:$=pe[0],(ie.rowHeader&&ye===0||ie.rowFooter&&ye===U.data.length-1||ie.colHeader&&W===0||ie.colFooter&&W===z.length-1)&&($=oe),ue.fill={color:$.color,transparency:(1-$.alpha)*100}}if((ne=j.style)!=null&&ne.backcolor){const $=l(j.style.backcolor);ue.fill={color:$.color,transparency:(1-$.alpha)*100}}(E=j.style)!=null&&E.color&&(ue.color=l(j.style.color).color),J.includes(`${ye}_${W}`)||ae.push({text:j.text,options:ue})}ae.length&&le.push(ae)}const ge={x:U.left/xt,y:U.top/xt,w:U.width/xt,h:U.height/xt,colW:U.colWidths.map(ye=>U.width*ye/xt)};U.theme&&(ge.fill={color:"#ffffff"}),U.outline.width&&U.outline.color&&(ge.border={type:U.outline.style==="solid"?"solid":"dash",pt:U.outline.width*Do,color:l(U.outline.color).color}),K.addTable(le,ge)}else if(U.type==="latex"){const J=document.querySelector(`.thumbnail-list .base-element-${U.id} svg`),ie={data:h7(J),x:U.left/xt,y:U.top/xt,w:U.width/xt,h:U.height/xt};if(U.link){const oe=p(U.link);oe&&(ie.hyperlink=oe)}K.addImage(ie)}else if(!R&&(U.type==="video"||U.type==="audio")){const J={x:U.left/xt,y:U.top/xt,w:U.width/xt,h:U.height/xt,path:U.src,type:U.type};U.type==="video"&&U.poster&&(J.cover=U.poster);const le=U.src.match(/\.([a-zA-Z0-9]+)(?:[\?#]|$)/);le&&le[1]?J.extn=le[1]:U.ext&&(J.extn=U.ext);const ie=["avi","mp4","m4v","mov","wmv"],oe=["mp3","m4a","mp4","wav","wma"];J.extn&&[...ie,...oe].includes(J.extn)&&K.addMedia(J)}}}setTimeout(()=>{y.writeFile({fileName:`${o.value}.pptx`}).then(()=>i.value=!1).catch(()=>{i.value=!1,wn.error("导出失败")})},200)}}},b2=e=>(on("data-v-32b43d99"),e=e(),an(),e),g4e={class:"export-img-dialog"},A4e={class:"thumbnails-view"},R4e={class:"configs"},y4e={class:"row"},x4e=b2(()=>Y("div",{class:"title"},"导出格式:",-1)),b4e={class:"row"},S4e=b2(()=>Y("div",{class:"title"},"导出范围:",-1)),M4e={key:0,class:"row"},w4e=["data-range"],L4e={class:"row"},O4e=b2(()=>Y("div",{class:"title"},"图片质量:",-1)),T4e={class:"row"},k4e=b2(()=>Y("div",{class:"title"},"忽略在线字体:",-1)),N4e={class:"config-item"},P4e={class:"btns"},C4e=Fe({__name:"ExportImage",emits:["close"],setup(e,{emit:t}){const n=t,{slides:r,currentSlide:o}=Ee(ct()),i=me(),a=me("all"),s=me([1,r.value.length]),c=me("jpeg"),l=me(1),u=me(!0),f=Se(()=>a.value==="all"?r.value:a.value==="current"?[o.value]:r.value.filter((m,A)=>{const[x,R]=s.value;return A>=x-1&&A<=R-1})),{exportImage:d,exporting:h}=x2(),p=()=>{i.value&&d(i.value,c.value,l.value,u.value)};return(m,A)=>{const x=Ln("tooltip");return Q(),ee("div",g4e,[Y("div",A4e,[Y("div",{class:"thumbnails",ref_key:"imageThumbnailsRef",ref:i},[(Q(!0),ee(Ve,null,st(f.value,R=>(Q(),Oe(Fa,{class:"thumbnail",key:R.id,slide:R,size:1600},null,8,["slide"]))),128))],512)]),Y("div",R4e,[Y("div",y4e,[x4e,w(_a,{class:"config-item",value:c.value,"onUpdate:value":A[0]||(A[0]=R=>c.value=R)},{default:re(()=>[w(Nn,{style:{width:"50%"},value:"jpeg"},{default:re(()=>[Ye("JPEG")]),_:1}),w(Nn,{style:{width:"50%"},value:"png"},{default:re(()=>[Ye("PNG")]),_:1})]),_:1},8,["value"])]),Y("div",b4e,[S4e,w(_a,{class:"config-item",value:a.value,"onUpdate:value":A[1]||(A[1]=R=>a.value=R)},{default:re(()=>[w(Nn,{style:{width:"33.33%"},value:"all"},{default:re(()=>[Ye("全部")]),_:1}),w(Nn,{style:{width:"33.33%"},value:"current"},{default:re(()=>[Ye("当前页")]),_:1}),w(Nn,{style:{width:"33.33%"},value:"custom"},{default:re(()=>[Ye("自定义")]),_:1})]),_:1},8,["value"])]),a.value==="custom"?(Q(),ee("div",M4e,[Y("div",{class:"title","data-range":`${s.value[0]} ~ ${s.value[1]}`},"自定义范围:",8,w4e),w(no,{class:"config-item",range:"",min:1,max:H(r).length,step:1,value:s.value,"onUpdate:value":A[2]||(A[2]=R=>s.value=R)},null,8,["max","value"])])):Be("",!0),Y("div",L4e,[O4e,w(no,{class:"config-item",min:0,max:1,step:.1,value:l.value,"onUpdate:value":A[3]||(A[3]=R=>l.value=R)},null,8,["value"])]),Y("div",T4e,[k4e,Y("div",N4e,[Ze(w(oa,{value:u.value,"onUpdate:value":A[4]||(A[4]=R=>u.value=R)},null,8,["value"]),[[x,"导出时默认忽略在线字体,若您在幻灯片中使用了在线字体,且希望导出后保留相关样式,可选择关闭【忽略在线字体】选项,但要注意这将会增加导出用时。"]])])])]),Y("div",P4e,[w(nt,{class:"btn export",type:"primary",onClick:A[5]||(A[5]=R=>p())},{default:re(()=>[Ye("导出图片")]),_:1}),w(nt,{class:"btn close",onClick:A[6]||(A[6]=R=>n("close"))},{default:re(()=>[Ye("关闭")]),_:1})]),w(Gb,{loading:H(h),tip:"正在导出..."},null,8,["loading"])])}}}),I4e=We(C4e,[["__scopeId","data-v-32b43d99"]]),F4e={class:"export-json-dialog"},_4e={class:"preview"},X4e={class:"btns"},E4e=Fe({__name:"ExportJSON",emits:["close"],setup(e,{emit:t}){const n=t,{slides:r}=Ee(ct()),{exportJSON:o}=x2();return(i,a)=>(Q(),ee("div",F4e,[Y("div",_4e,[Y("pre",null,bt(H(r)),1)]),Y("div",X4e,[w(nt,{class:"btn export",type:"primary",onClick:a[0]||(a[0]=s=>H(o)())},{default:re(()=>[Ye("导出 JSON")]),_:1}),w(nt,{class:"btn close",onClick:a[1]||(a[1]=s=>n("close"))},{default:re(()=>[Ye("关闭")]),_:1})])]))}}),W4e=We(E4e,[["__scopeId","data-v-c2d35f76"]]),V4e=()=>{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},U4e=(e,t,n)=>{const r="<!DOCTYPE html>";let o="";const i=document.styleSheets;if(i){for(const f of i)if(f.cssRules)for(const d of f.cssRules)o+=d.cssText}const{width:a,height:s,margin:c}=n,l=`
<head>
<style type="text/css">
${o}
html, body {
height: auto;
overflow: auto;
}
@media print {
@page {
size: ${a+2*c}px ${s+2*c}px;
margin: ${c}px;
}
}
</style>
</head>
`,u="<body>"+t.innerHTML+"</body>";e.open(),e.write(`
${r}
<html>
${l}
${u}
</html>
`),e.close()},Y4e=(e,t)=>{const n=V4e(),r=n.contentWindow;if(!n.contentDocument||!r)return;U4e(n.contentDocument,e,t);const o=()=>{r.focus(),r.print()},i=()=>{n.removeEventListener("load",o),r.removeEventListener("afterprint",i),document.body.removeChild(n)};n.addEventListener("load",o),r.addEventListener("afterprint",i)},S2=e=>(on("data-v-d3a30d69"),e=e(),an(),e),Q4e={class:"export-pdf-dialog"},Z4e={class:"thumbnails-view"},B4e={class:"configs"},D4e={class:"row"},K4e=S2(()=>Y("div",{class:"title"},"导出范围:",-1)),H4e={class:"row"},G4e=S2(()=>Y("div",{class:"title"},"每页数量:",-1)),J4e={class:"row"},z4e=S2(()=>Y("div",{class:"title"},"边缘留白:",-1)),j4e={class:"config-item"},$4e=S2(()=>Y("div",{class:"tip"}," 提示:若打印预览与实际样式不一致,请在弹出的打印窗口中勾选【背景图形】选项。 ",-1)),q4e={class:"btns"},e3e=Fe({__name:"ExportPDF",emits:["close"],setup(e,{emit:t}){const n=t,{slides:r,currentSlide:o,viewportRatio:i}=Ee(ct()),a=me(),s=me("all"),c=me(1),l=me(!0),u=()=>{if(!a.value)return;const f={width:1600,height:s.value==="all"?1600*i.value*c.value:1600*i.value,margin:l.value?50:0};Y4e(a.value,f)};return(f,d)=>(Q(),ee("div",Q4e,[Y("div",Z4e,[Y("div",{class:"thumbnails",ref_key:"pdfThumbnailsRef",ref:a},[s.value==="current"?(Q(),Oe(Fa,{key:0,class:"thumbnail",slide:H(o),size:1600},null,8,["slide"])):(Q(!0),ee(Ve,{key:1},st(H(r),(h,p)=>(Q(),Oe(Fa,{class:$e(["thumbnail",{"break-page":(p+1)%c.value===0}]),key:h.id,slide:h,size:1600},null,8,["class","slide"]))),128))],512)]),Y("div",B4e,[Y("div",D4e,[K4e,w(_a,{class:"config-item",value:s.value,"onUpdate:value":d[0]||(d[0]=h=>s.value=h)},{default:re(()=>[w(Nn,{style:{width:"50%"},value:"all"},{default:re(()=>[Ye("全部")]),_:1}),w(Nn,{style:{width:"50%"},value:"current"},{default:re(()=>[Ye("当前页")]),_:1})]),_:1},8,["value"])]),Y("div",H4e,[G4e,w(Zn,{class:"config-item",value:c.value,"onUpdate:value":d[1]||(d[1]=h=>c.value=h),options:[{label:"1",value:1},{label:"2",value:2},{label:"3",value:3}]},null,8,["value"])]),Y("div",J4e,[z4e,Y("div",j4e,[w(oa,{value:l.value,"onUpdate:value":d[2]||(d[2]=h=>l.value=h)},null,8,["value"])])]),$4e]),Y("div",q4e,[w(nt,{class:"btn export",type:"primary",onClick:d[3]||(d[3]=h=>u())},{default:re(()=>[Ye("打印 / 导出 PDF")]),_:1}),w(nt,{class:"btn close",onClick:d[4]||(d[4]=h=>n("close"))},{default:re(()=>[Ye("关闭")]),_:1})])]))}}),t3e=We(e3e,[["__scopeId","data-v-d3a30d69"]]),Y5=e=>(on("data-v-254b6b07"),e=e(),an(),e),n3e={class:"export-pptx-dialog"},r3e={class:"configs"},o3e={class:"row"},i3e=Y5(()=>Y("div",{class:"title"},"导出范围:",-1)),a3e={key:0,class:"row"},s3e=["data-range"],l3e={class:"row"},c3e=Y5(()=>Y("div",{class:"title"},"忽略音频/视频:",-1)),u3e={class:"config-item"},f3e={class:"row"},d3e=Y5(()=>Y("div",{class:"title"},"覆盖默认母版:",-1)),h3e={class:"config-item"},p3e={key:1,class:"tip"},m3e={class:"btns"},v3e=Fe({__name:"ExportPPTX",emits:["close"],setup(e,{emit:t}){const n=t,{slides:r,currentSlide:o}=Ee(ct()),{exportPPTX:i,exporting:a}=x2(),s=me("all"),c=me([1,r.value.length]),l=me(!0),u=me(!0),f=Se(()=>s.value==="all"?r.value:s.value==="current"?[o.value]:r.value.filter((d,h)=>{const[p,m]=c.value;return h>=p-1&&h<=m-1}));return(d,h)=>{const p=Ln("tooltip");return Q(),ee("div",n3e,[Y("div",r3e,[Y("div",o3e,[i3e,w(_a,{class:"config-item",value:s.value,"onUpdate:value":h[0]||(h[0]=m=>s.value=m)},{default:re(()=>[w(Nn,{style:{width:"33.33%"},value:"all"},{default:re(()=>[Ye("全部")]),_:1}),w(Nn,{style:{width:"33.33%"},value:"current"},{default:re(()=>[Ye("当前页")]),_:1}),w(Nn,{style:{width:"33.33%"},value:"custom"},{default:re(()=>[Ye("自定义")]),_:1})]),_:1},8,["value"])]),s.value==="custom"?(Q(),ee("div",a3e,[Y("div",{class:"title","data-range":`${c.value[0]} ~ ${c.value[1]}`},"自定义范围:",8,s3e),w(no,{class:"config-item",range:"",min:1,max:H(r).length,step:1,value:c.value,"onUpdate:value":h[1]||(h[1]=m=>c.value=m)},null,8,["max","value"])])):Be("",!0),Y("div",l3e,[c3e,Y("div",u3e,[Ze(w(oa,{value:u.value,"onUpdate:value":h[2]||(h[2]=m=>u.value=m)},null,8,["value"]),[[p,"导出时默认忽略音视频若您的幻灯片中存在音视频元素且希望将其导出到PPTX文件中可选择关闭【忽略音视频】选项但要注意这将会大幅增加导出用时。"]])])]),Y("div",f3e,[d3e,Y("div",h3e,[w(oa,{value:l.value,"onUpdate:value":h[3]||(h[3]=m=>l.value=m)},null,8,["value"])])]),u.value?Be("",!0):(Q(),ee("div",p3e," 提示1. 支持导出格式avi、mp4、mov、wmv、mp3、wav2. 跨域资源无法导出。 "))]),Y("div",m3e,[w(nt,{class:"btn export",type:"primary",onClick:h[4]||(h[4]=m=>H(i)(f.value,l.value,u.value))},{default:re(()=>[Ye("导出 PPTX")]),_:1}),w(nt,{class:"btn close",onClick:h[5]||(h[5]=m=>n("close"))},{default:re(()=>[Ye("关闭")]),_:1})]),w(Gb,{loading:H(a),tip:"正在导出..."},null,8,["loading"])])}}}),g3e=We(v3e,[["__scopeId","data-v-254b6b07"]]),D_=e=>(on("data-v-bc56c9db"),e=e(),an(),e),A3e={class:"export-pptist-dialog"},R3e={class:"configs"},y3e={class:"row"},x3e=D_(()=>Y("div",{class:"title"},"导出范围:",-1)),b3e={key:0,class:"row"},S3e=["data-range"],M3e=D_(()=>Y("div",{class:"tip"}," 提示:.pptist 是本应用的特有文件后缀,支持将该类型的文件导入回应用中。 ",-1)),w3e={class:"btns"},L3e=Fe({__name:"ExportSpecificFile",emits:["close"],setup(e,{emit:t}){const n=t,{slides:r,currentSlide:o}=Ee(ct()),{exportSpecificFile:i}=x2(),a=me("all"),s=me([1,r.value.length]),c=Se(()=>a.value==="all"?r.value:a.value==="current"?[o.value]:r.value.filter((l,u)=>{const[f,d]=s.value;return u>=f-1&&u<=d-1}));return(l,u)=>(Q(),ee("div",A3e,[Y("div",R3e,[Y("div",y3e,[x3e,w(_a,{class:"config-item",value:a.value,"onUpdate:value":u[0]||(u[0]=f=>a.value=f)},{default:re(()=>[w(Nn,{style:{width:"33.33%"},value:"all"},{default:re(()=>[Ye("全部")]),_:1}),w(Nn,{style:{width:"33.33%"},value:"current"},{default:re(()=>[Ye("当前页")]),_:1}),w(Nn,{style:{width:"33.33%"},value:"custom"},{default:re(()=>[Ye("自定义")]),_:1})]),_:1},8,["value"])]),a.value==="custom"?(Q(),ee("div",b3e,[Y("div",{class:"title","data-range":`${s.value[0]} ~ ${s.value[1]}`},"自定义范围:",8,S3e),w(no,{class:"config-item",range:"",min:1,max:H(r).length,step:1,value:s.value,"onUpdate:value":u[1]||(u[1]=f=>s.value=f)},null,8,["max","value"])])):Be("",!0),M3e]),Y("div",w3e,[w(nt,{class:"btn export",type:"primary",onClick:u[2]||(u[2]=f=>H(i)(c.value))},{default:re(()=>[Ye("导出 .pptist 文件")]),_:1}),w(nt,{class:"btn close",onClick:u[3]||(u[3]=f=>n("close"))},{default:re(()=>[Ye("关闭")]),_:1})])]))}}),O3e=We(L3e,[["__scopeId","data-v-bc56c9db"]]),T3e={class:"export-dialog"},k3e={class:"content"},N3e=Fe({__name:"index",setup(e){const t=ft(),{dialogForExport:n}=Ee(t),r=t.setDialogForExport,o=[{key:"pptist",label:"导出 pptist 文件"},{key:"pptx",label:"导出 PPTX"},{key:"image",label:"导出图片"},{key:"json",label:"导出 JSON"},{key:"pdf",label:"打印 / 导出 PDF"}],i=Se(()=>{const a={image:I4e,json:W4e,pdf:t3e,pptx:g3e,pptist:O3e};return n.value&&a[n.value]||null});return(a,s)=>(Q(),ee("div",T3e,[w(As,{tabs:o,value:H(n),card:"","onUpdate:value":s[0]||(s[0]=c=>H(r)(c))},null,8,["value"]),Y("div",k3e,[(Q(),Oe(xs(i.value),{onClose:s[1]||(s[1]=c=>H(r)(""))},null,32))])]))}}),P3e=We(N3e,[["__scopeId","data-v-b54f4542"]]),C3e={class:"title"},I3e={class:"content"},F3e=Fe({__name:"MoveablePanel",props:{width:{},height:{},left:{default:10},top:{default:10},title:{default:""},moveable:{type:Boolean,default:!0}},emits:["close"],setup(e,{emit:t}){const n=e,r=t,o=me(0),i=me(0),a=me(),s=Se(()=>{var l;return n.height?n.height:((l=a.value)==null?void 0:l.clientHeight)||0});Gt(()=>{n.left>=0?o.value=n.left:o.value=document.body.clientWidth+n.left-n.width,n.top>=0?i.value=n.top:i.value=document.body.clientHeight+n.top-s.value});const c=l=>{if(!n.moveable)return;let u=!0;const f=document.body.clientWidth,d=document.body.clientHeight,h=l.pageX,p=l.pageY,m=o.value,A=i.value;document.onmousemove=x=>{if(!u)return;const R=x.pageX-h,y=x.pageY-p;let g=m+R,S=A+y;g<0&&(g=0),S<0&&(S=0),g+n.width>f&&(g=f-n.width),S+s.value>d&&(S=d-s.value),o.value=g,i.value=S},document.onmouseup=()=>{u=!1,document.onmousemove=null,document.onmouseup=null}};return(l,u)=>{const f=xe("IconClose");return Q(),ee("div",{class:"moveable-panel",ref_key:"moveablePanelRef",ref:a,style:we({width:l.width+"px",height:l.height?l.height+"px":"auto",left:o.value+"px",top:i.value+"px"})},[l.title?(Q(),ee(Ve,{key:0},[Y("div",{class:"header",onMousedown:u[1]||(u[1]=d=>c(d))},[Y("div",C3e,bt(l.title),1),Y("div",{class:"close-btn",onClick:u[0]||(u[0]=d=>r("close"))},[w(f)])],32),Y("div",I3e,[cr(l.$slots,"default",{},void 0,!0)])],64)):(Q(),ee("div",{key:1,class:"content",onMousedown:u[2]||(u[2]=d=>c(d))},[cr(l.$slots,"default",{},void 0,!0)],32))],4)}}}),M2=We(F3e,[["__scopeId","data-v-0f508223"]]),_3e=e=>(on("data-v-767b859e"),e=e(),an(),e),X3e={key:0,class:"handler"},E3e={class:"btns"},W3e={key:0,class:"icon-btns"},V3e={class:"element-list"},U3e={key:0,class:"group-els"},Y3e=_3e(()=>Y("div",{class:"group-title"},"组合",-1)),Q3e=["onClick","onDblclick"],Z3e=["id","value","onBlur","onKeydown"],B3e={key:1,class:"name"},D3e={class:"icons"},K3e=["onClick","onDblclick"],H3e=["id","value","onBlur","onKeydown"],G3e={key:1,class:"name"},J3e={class:"icons"},z3e=Fe({__name:"SelectPanel",setup(e){const t=ct(),n=ft(),{currentSlide:r}=Ee(t),{handleElement:o,handleElementId:i,activeElementIdList:a,activeGroupElementId:s,hiddenElementIdList:c}=Ee(n),{orderElement:l}=Np(),u=Se(()=>{const g=[];for(const S of r.value.elements)if(S.groupId){const L=g[g.length-1];L&&L.type==="group"&&L.id&&L.id===S.groupId?L.elements.push(S):g.push({type:"group",id:S.groupId,elements:[S]})}else g.push(S);return g}),f=(g,S)=>{if(i.value===S||c.value.includes(S))return;const L=g.elements.map(T=>T.id);n.setActiveElementIdList(L),n.setHandleElementId(S),Vr(()=>n.setActiveGroupElementId(S))},d=g=>{i.value!==g&&(c.value.includes(g)||n.setActiveElementIdList([g]))},h=g=>{c.value.includes(g)?n.setHiddenElementIdList(c.value.filter(S=>S!==g)):n.setHiddenElementIdList([...c.value,g]),a.value.includes(g)&&n.setActiveElementIdList([])},p=()=>{const g=r.value.elements.map(L=>L.id),S=c.value.filter(L=>!g.includes(L));n.setHiddenElementIdList(S)},m=()=>{const g=r.value.elements.map(S=>S.id);n.setHiddenElementIdList([...c.value,...g]),a.value.length&&n.setActiveElementIdList([])},A=me(""),x=(g,S)=>{const L=g.target.value;t.updateElement({id:S,props:{name:L}}),A.value=""},R=g=>{A.value=g,Vr(()=>{document.querySelector(`#input-${g}`).focus()})},y=()=>{n.setSelectPanelState(!1)};return(g,S)=>{const L=xe("IconDown"),T=xe("IconUp"),M=xe("IconPreviewClose"),O=xe("IconPreviewOpen");return Q(),Oe(M2,{class:"select-panel",width:200,height:360,title:`选择(${H(a).length}/${H(r).elements.length}`,left:-270,top:90,onClose:S[4]||(S[4]=k=>y())},{default:re(()=>[u.value.length?(Q(),ee("div",X3e,[Y("div",E3e,[w(nt,{size:"small",style:{"margin-right":"5px"},onClick:S[0]||(S[0]=k=>p())},{default:re(()=>[Ye("全部显示")]),_:1}),w(nt,{size:"small",onClick:S[1]||(S[1]=k=>m())},{default:re(()=>[Ye("全部隐藏")]),_:1})]),H(o)?(Q(),ee("div",W3e,[w(L,{class:"icon-btn",onClick:S[2]||(S[2]=k=>H(l)(H(o),H(pr).UP))}),w(T,{class:"icon-btn",onClick:S[3]||(S[3]=k=>H(l)(H(o),H(pr).DOWN))})])):Be("",!0)])):Be("",!0),Y("div",V3e,[(Q(!0),ee(Ve,null,st(u.value,k=>(Q(),ee(Ve,{key:k.id},[k.type==="group"?(Q(),ee("div",U3e,[Y3e,(Q(!0),ee(Ve,null,st(k.elements,_=>(Q(),ee("div",{class:$e(["item",{active:H(a).includes(_.id),"group-active":H(s).includes(_.id)}]),key:_.id,onClick:N=>f(k,_.id),onDblclick:N=>R(_.id)},[A.value===_.id?(Q(),ee("input",{key:0,id:`input-${_.id}`,value:_.name||H(z0)[_.type],class:"input",type:"text",onBlur:N=>x(N,_.id),onKeydown:gc(N=>x(N,_.id),["enter"])},null,40,Z3e)):(Q(),ee("div",B3e,bt(_.name||H(z0)[_.type]),1)),Y("div",D3e,[H(c).includes(_.id)?(Q(),Oe(M,{key:0,style:{"font-size":"17px"},onClick:Kt(N=>h(_.id),["stop"])},null,8,["onClick"])):(Q(),Oe(O,{key:1,style:{"font-size":"17px"},onClick:Kt(N=>h(_.id),["stop"])},null,8,["onClick"]))])],42,Q3e))),128))])):(Q(),ee("div",{key:1,class:$e(["item",{active:H(a).includes(k.id)}]),onClick:_=>d(k.id),onDblclick:_=>R(k.id)},[A.value===k.id?(Q(),ee("input",{key:0,id:`input-${k.id}`,value:k.name||H(z0)[k.type],class:"input",type:"text",onBlur:_=>x(_,k.id),onKeydown:gc(_=>x(_,k.id),["enter"])},null,40,H3e)):(Q(),ee("div",G3e,bt(k.name||H(z0)[k.type]),1)),Y("div",J3e,[H(c).includes(k.id)?(Q(),Oe(M,{key:0,style:{"font-size":"17px"},onClick:Kt(_=>h(k.id),["stop"])},null,8,["onClick"])):(Q(),Oe(O,{key:1,style:{"font-size":"17px"},onClick:Kt(_=>h(k.id),["stop"])},null,8,["onClick"]))])],42,K3e))],64))),128))])]),_:1},8,["title"])}}}),j3e=We(z3e,[["__scopeId","data-v-767b859e"]]),$3e=()=>{const e=ft(),t=ct(),{handleElement:n}=Ee(e),{slides:r,slideIndex:o,currentSlide:i}=Ee(t),a=me(""),s=me(""),c=me([]),l=me(-1),u=me("g"),f=()=>{const _=[],N=new RegExp(a.value,u.value),X=/(<([^>]+)>)/g;for(const C of r.value)for(const F of C.elements)if(F.type==="text"){const V=F.content.replace(X,"").match(N);V&&_.push(...new Array(V.length).fill({slideId:C.id,elId:F.id,elType:F.type}))}else if(F.type==="shape"&&F.text&&F.text.content){const V=F.text.content.replace(X,"").match(N);V&&_.push(...new Array(V.length).fill({slideId:C.id,elId:F.id,elType:F.type}))}else if(F.type==="table")for(let I=0;I<F.data.length;I++){const V=F.data[I];for(let B=0;B<V.length;B++){const G=V[B];if(!G.text)continue;const E=G.text.replace(X,"").match(N);E&&_.push(...new Array(E.length).fill({slideId:C.id,elId:F.id,elType:F.type,cellIndex:[I,B]}))}}_.length?(c.value=_,l.value=0,R()):(wn.warning("未查找到匹配项"),x())},d=_=>{const N=[..._.childNodes],X=[];for(;N.length;){const C=N.shift();C.nodeType===C.TEXT_NODE?C.wholeText&&X.push(C):N.unshift(...C.childNodes)}return X},h=_=>{let N=0;return _.map(C=>{const F=N,I=N+C.wholeText.length;return N=I,{text:C.wholeText,startIdx:F,endIdx:I}})},p=(_,N)=>{const X=new RegExp(N,u.value),C=[];let F=X.exec(_);for(;F;)C.push(F),F=X.exec(_);return C},m=(_,N,X,C)=>{for(let F=X.length-1;F>=0;F--){const I=X[F],V=I.index,B=V+I[0].length;for(let G=0;G<N.length;G++){const{text:ne,startIdx:E,endIdx:Z}=N[G];if(Z<V)continue;if(E>=B)break;let K=_[G];const U=Math.max(0,V-E),J=Math.min(Z,B)-E-U;U>0&&(K=K.splitText(U)),J<K.wholeText.length&&K.splitText(J);const le=document.createElement("mark");le.dataset.index=C+F+"",le.innerText=ne.substring(U,U+J),K.parentNode.replaceChild(le,K)}}},A=(_,N)=>{for(const X of _)X.innerHTML=X.innerHTML.replace(new RegExp(a.value,u.value),()=>`<mark data-index=${N++}>${a.value}</mark>`)},x=()=>{const _=document.querySelectorAll(".editable-element mark");for(const N of _)setTimeout(()=>{const X=N.parentNode,C=N.textContent;X.replaceChild(document.createTextNode(C),N)},0)},R=()=>{x(),setTimeout(()=>{for(let _=0;_<c.value.length;_++){const N=c.value[_-1],X=c.value[_];if(X.slideId!==i.value.id||N&&N.elId===X.elId)continue;const C=document.querySelector(`#editable-element-${X.elId}`);if(C)if(X.elType==="table"){const F=C.querySelectorAll(".cell-text");A(F,_)}else{const F=d(C),I=h(F),V=I.map(({text:G})=>G).join(""),B=p(V,a.value);m(F,I,B,_)}}},0)},y=()=>{const _=document.querySelectorAll("mark[data-index]");for(const N of _)setTimeout(()=>{const X=N.dataset.index;X!==void 0&&+X===l.value?N.classList.add("active"):N.classList.remove("active")},0)},g=()=>{if(l.value===-1)return;const _=c.value[l.value];if(_.slideId===i.value.id)setTimeout(y,0);else{const N=r.value.findIndex(X=>X.id===_.slideId);N!==-1&&t.updateSlideIndex(N)}},S=()=>{if(!a.value)return wn.warning("请先输入查找内容");e.setActiveElementIdList([]),l.value===-1?f():l.value<c.value.length-1?l.value+=1:l.value=0,g()},L=()=>{if(!a.value)return wn.warning("请先输入查找内容");e.setActiveElementIdList([]),l.value===-1?f():l.value>0?l.value-=1:l.value=c.value.length-1,g()},T=()=>{if(!a.value)return;if(l.value===-1){S();return}const _=c.value[l.value];let N=null;if(_.elType==="table"){const[I,V]=_.cellIndex;N=document.querySelector(`#editable-element-${_.elId} .cell[data-cell-index="${I}_${V}"] .cell-text`)}else N=document.querySelector(`#editable-element-${_.elId} .ProseMirror`);if(!N)return;const X=document.createElement("div");X.innerHTML=N.innerHTML;let C=!1;const F=X.querySelectorAll("mark[data-index]");for(const I of F){const V=I.parentNode;if(I.classList.contains("active"))C?V.removeChild(I):(V.replaceChild(document.createTextNode(s.value),I),C=!0);else{const B=I.textContent;V.replaceChild(document.createTextNode(B),I)}}if(_.elType==="text"){const I={content:X.innerHTML};t.updateElement({id:_.elId,props:I})}else if(_.elType==="shape"){const I=i.value.elements.find(V=>V.id===_.elId);if(I&&I.type==="shape"&&I.text){const V={text:{...I.text,content:X.innerHTML}};t.updateElement({id:_.elId,props:V})}}else if(_.elType==="table"){const I=i.value.elements.find(V=>V.id===_.elId);if(I&&I.type==="table"){const B={data:I.data.map((G,ne)=>ne===_.cellIndex[0]?G.map((E,Z)=>Z===_.cellIndex[1]?{...E,text:X.innerHTML}:E):G)};t.updateElement({id:_.elId,props:B})}}c.value.splice(l.value,1),c.value.length?(l.value>c.value.length-1&&(l.value=0),Vr(()=>{R(),g()})):l.value=-1},M=()=>{var _;if(a.value){if(l.value===-1){S();return}for(let N=0;N<c.value.length;N++){const X=c.value[N-1],C=c.value[N];if(X&&X.elId===C.elId)continue;const F=r.value.find(B=>B.id===C.slideId);if(!F)continue;const I=F.elements.find(B=>B.id===C.elId);if(!I)continue;const V=document.createElement("div");if(I.type==="text"?V.innerHTML=I.content:I.type==="shape"&&(V.innerHTML=((_=I.text)==null?void 0:_.content)||""),C.elType==="table"){const G={data:I.data.map(ne=>ne.map(E=>E.text?{...E,text:E.text.replace(new RegExp(a.value,"g"),s.value)}:E))};t.updateElement({id:C.elId,slideId:C.slideId,props:G})}else{const B=d(V),G=h(B),ne=G.map(({text:U})=>U).join(""),E=p(ne,a.value);m(B,G,E,N);const Z=V.querySelectorAll("mark[data-index]");let K=-1;for(const U of Z){const J=+U.dataset.index,le=U.parentNode;J===K?le.removeChild(U):(le.replaceChild(document.createTextNode(s.value),U),K=J)}if(C.elType==="text"){const U={content:V.innerHTML};t.updateElement({id:C.elId,slideId:C.slideId,props:U})}else if(C.elType==="shape"){const U=i.value.elements.find(J=>J.id===C.elId);if(U&&U.type==="shape"&&U.text){const J={text:{...U.text,content:V.innerHTML}};t.updateElement({id:C.elId,slideId:C.slideId,props:J})}}}}c.value=[],l.value=-1}},O=()=>{l.value=-1,c.value=[],a.value||x()};return Tt(a,O),Tt(o,()=>{Vr(()=>{R(),setTimeout(y,0)})}),Tt(n,()=>{n.value&&(l.value=-1,c.value=[],x())}),Vd(x),{searchWord:a,replaceWord:s,searchResults:c,searchIndex:l,modifiers:u,searchNext:S,searchPrev:L,replace:T,replaceAll:M,toggleModifiers:()=>{u.value=u.value==="g"?"gi":"g",O()}}},q3e={class:"count"},exe={key:1,class:"footer"},txe=Fe({__name:"SearchPanel",setup(e){const t=ft(),{searchWord:n,replaceWord:r,searchResults:o,searchIndex:i,modifiers:a,searchNext:s,searchPrev:c,replace:l,replaceAll:u,toggleModifiers:f}=$3e(),d=me("search"),h=[{key:"search",label:"查找"},{key:"replace",label:"替换"}],p=()=>{t.setSearchPanelState(!1)},m=me();return Gt(()=>{m.value.focus()}),Tt(d,()=>{Vr(()=>{m.value.focus()})}),(A,x)=>{const R=xe("IconClose"),y=xe("IconLeft"),g=xe("IconRight"),S=Ln("tooltip");return Q(),Oe(M2,{class:"search-panel",width:330,height:0,left:-270,top:90},{default:re(()=>[Y("div",{class:"close-btn",onClick:x[0]||(x[0]=L=>p()),onMousedown:x[1]||(x[1]=Kt(()=>{},["stop"]))},[w(R)],32),w(As,{tabs:h,value:d.value,"onUpdate:value":x[2]||(x[2]=L=>d.value=L)},null,8,["value"]),Y("div",{class:$e(["content",d.value]),onMousedown:x[12]||(x[12]=Kt(()=>{},["stop"]))},[w(Eu,{class:"input",value:H(n),"onUpdate:value":x[6]||(x[6]=L=>lr(n)?n.value=L:null),placeholder:"输入查找内容",onEnter:x[7]||(x[7]=L=>H(s)()),ref_key:"searchInpRef",ref:m},{suffix:re(()=>[Y("span",q3e,bt(H(i)+1)+"/"+bt(H(o).length),1),w(Vt,{type:"vertical"}),Ze((Q(),ee("span",{class:$e(["ignore-case",{active:H(a)==="g"}]),onClick:x[3]||(x[3]=L=>H(f)())},[Ye("Aa")],2)),[[S,"忽略大小写"]]),w(Vt,{type:"vertical"}),Ze(w(y,{class:"next-btn left",onClick:x[4]||(x[4]=L=>H(c)())},null,512),[[S,"上一个"]]),Ze(w(g,{class:"next-btn right",onClick:x[5]||(x[5]=L=>H(s)())},null,512),[[S,"下一个"]])]),_:1},8,["value"]),d.value==="replace"?(Q(),Oe(Eu,{key:0,class:"input",value:H(r),"onUpdate:value":x[8]||(x[8]=L=>lr(r)?r.value=L:null),placeholder:"输入替换内容",onEnter:x[9]||(x[9]=L=>H(l)())},null,8,["value"])):Be("",!0),d.value==="replace"?(Q(),ee("div",exe,[w(nt,{disabled:!H(n),style:{"margin-left":"5px"},onClick:x[10]||(x[10]=L=>H(l)())},{default:re(()=>[Ye("替换")]),_:1},8,["disabled"]),w(nt,{disabled:!H(n),type:"primary",style:{"margin-left":"5px"},onClick:x[11]||(x[11]=L=>H(u)())},{default:re(()=>[Ye("全部替换")]),_:1},8,["disabled"])])):Be("",!0)],34)]),_:1})}}}),nxe=We(txe,[["__scopeId","data-v-2536ae51"]]),rxe={class:"pptist-editor"},oxe={class:"layout-content"},ixe={class:"layout-content-center"},axe=Fe({__name:"index",setup(e){const t=ft(),{dialogForExport:n,showSelectPanel:r,showSearchPanel:o}=Ee(t),i=()=>t.setDialogForExport(""),a=me(40);return dq(),hq(),(s,c)=>(Q(),ee(Ve,null,[Y("div",rxe,[w(goe,{class:"layout-header"}),Y("div",oxe,[w(epe,{class:"layout-content-left"}),Y("div",ixe,[w(ihe,{class:"center-top"}),w(Rde,{class:"center-body",style:we({height:`calc(100% - ${a.value+40}px)`})},null,8,["style"]),w(HRe,{class:"center-bottom",height:a.value,"onUpdate:height":c[0]||(c[0]=l=>a.value=l),style:we({height:`${a.value}px`})},null,8,["height","style"])]),w(YRe,{class:"layout-content-right"})])]),H(r)?(Q(),Oe(j3e,{key:0})):Be("",!0),H(o)?(Q(),Oe(nxe,{key:1})):Be("",!0),w(Zp,{visible:!!H(n),width:680,onClosed:c[1]||(c[1]=l=>i())},{default:re(()=>[w(P3e)]),_:1},8,["visible"])],64))}}),sxe=We(axe,[["__scopeId","data-v-b32ddcff"]]),K_=()=>{const e=ct(),{slides:t,slideIndex:n,formatedAnimations:r}=Ee(e),o=me(0),i=me(!1),a=me(n.value),s=()=>{if(i.value)return;const{animations:N,autoNext:X}=r.value[o.value];o.value+=1,i.value=!0;let C=0;for(const F of N){const I=document.querySelector(`#screen-element-${F.elId} [class^=base-element-]`);if(!I){C+=1;continue}const V=`${bi}${F.effect}`;I.style.removeProperty("--animate-duration");for(const G of I.classList)G.indexOf(bi)!==-1&&I.classList.remove(G,`${bi}animated`);I.style.setProperty("--animate-duration",`${F.duration}ms`),I.classList.add(V,`${bi}animated`);const B=()=>{F.type!=="out"&&(I.style.removeProperty("--animate-duration"),I.classList.remove(V,`${bi}animated`)),C+=1,C===N.length&&(i.value=!1,X&&s())};I.addEventListener("animationend",B,{once:!0})}},c=()=>{o.value-=1;const{animations:N}=r.value[o.value];for(const X of N){const C=document.querySelector(`#screen-element-${X.elId} [class^=base-element-]`);if(C){C.style.removeProperty("--animate-duration");for(const F of C.classList)F.indexOf(bi)!==-1&&C.classList.remove(F,`${bi}animated`)}}N.every(X=>X.type==="attention")&&p()},l=me(0),u=()=>{l.value&&(clearInterval(l.value),l.value=0)};Tn(u);const f=me(!1),d=N=>{f.value=N},h=_n.throttle(function(N){wn.success(N)},1e3,{leading:!0,trailing:!1}),p=()=>{r.value.length&&o.value>0?c():n.value>0?(e.updateSlideIndex(n.value-1),n.value<a.value?(o.value=0,a.value=n.value):o.value=r.value.length):f.value?k(t.value.length-1):h("已经是第一页了"),i.value=!1},m=()=>{r.value.length&&o.value<r.value.length?s():n.value<t.value.length-1?(e.updateSlideIndex(n.value+1),o.value=0,i.value=!1):(f.value?k(0):(h("已经是最后一页了"),u()),i.value=!1)},A=me(2500),x=()=>{u(),wn.success("开始自动放映"),l.value=setInterval(m,A.value)},R=N=>{u(),A.value=N,x()},y=_n.throttle(function(N){N.deltaY<0?p():N.deltaY>0&&m()},500,{leading:!0,trailing:!1}),g=me(null),S=N=>{g.value={x:N.changedTouches[0].pageX,y:N.changedTouches[0].pageY}},L=N=>{if(!g.value)return;const X=Math.abs(g.value.x-N.changedTouches[0].pageX),C=N.changedTouches[0].pageY-g.value.y;Math.abs(C)>X&&Math.abs(C)>50&&(g.value=null,C>0?p():m())},T=N=>{const X=N.key.toUpperCase();X===Rt.UP||X===Rt.LEFT||X===Rt.PAGEUP?p():(X===Rt.DOWN||X===Rt.RIGHT||X===Rt.SPACE||X===Rt.ENTER||X===Rt.PAGEDOWN)&&m()};Gt(()=>document.addEventListener("keydown",T)),Tn(()=>document.removeEventListener("keydown",T));const M=()=>{e.updateSlideIndex(n.value-1),o.value=0},O=()=>{e.updateSlideIndex(n.value+1),o.value=0},k=N=>{e.updateSlideIndex(N),o.value=0};return{autoPlayTimer:l,autoPlayInterval:A,setAutoPlayInterval:R,autoPlay:x,closeAutoPlay:u,loopPlay:f,setLoopPlay:d,mousewheelListener:y,touchStartListener:S,touchEndListener:L,turnPrevSlide:M,turnNextSlide:O,turnSlideToIndex:k,turnSlideToId:N=>{const X=t.value.findIndex(C=>C.id===N);X!==-1&&(e.updateSlideIndex(X),o.value=0)},execPrev:p,execNext:m,animationIndex:o}},H_=e=>{const t=ct(),{viewportRatio:n}=Ee(t),r=me(0),o=me(0),i=()=>{const a=(e==null?void 0:e.value)||document.body,s=a.clientWidth,c=a.clientHeight;let l,u;c/s===n.value?(l=s,u=c):c/s>n.value?(l=s,u=s*n.value):(l=c/n.value,u=c),r.value=l,o.value=u};return Gt(()=>{i(),window.addEventListener("resize",i)}),Tn(()=>{window.removeEventListener("resize",i)}),{slideWidth:r,slideHeight:o}},G_=()=>{const e=me(!0),t=me(!0),{exitScreening:n}=Mc(),r=()=>{e.value=h3(),!e.value&&t.value&&n(),t.value=!0};return Gt(()=>{e.value=h3(),document.addEventListener("fullscreenchange",r),document.addEventListener("webkitfullscreenchange",r)}),Tn(()=>{document.removeEventListener("fullscreenchange",r),document.removeEventListener("webkitfullscreenchange",r)}),{fullscreenState:e,manualExitFullscreen:()=>{e.value&&(t.value=!1,zP())}}},lxe={class:"element-content"},cxe=Fe({__name:"ScreenVideoElement",props:{elementInfo:{}},setup(e){const{currentSlide:t}=Ee(ct()),n=$o(tf)||me(1),r=$o(r5)||me(""),o=Se(()=>t.value.id===r.value);return(i,a)=>(Q(),ee("div",{class:"base-element-video screen-element-video",style:we({top:i.elementInfo.top+"px",left:i.elementInfo.left+"px",width:i.elementInfo.width+"px",height:i.elementInfo.height+"px"})},[Y("div",{class:"rotate-wrapper",style:we({transform:`rotate(${i.elementInfo.rotate}deg)`})},[Y("div",lxe,[o.value?(Q(),Oe(NF,{key:0,width:i.elementInfo.width,height:i.elementInfo.height,src:i.elementInfo.src,poster:i.elementInfo.poster,autoplay:i.elementInfo.autoplay,scale:H(n)},null,8,["width","height","src","poster","autoplay","scale"])):Be("",!0)])],4)],4))}}),uxe=We(cxe,[["__scopeId","data-v-d9f232b0"]]),fxe={class:"element-content"},dxe=Fe({__name:"ScreenAudioElement",props:{elementInfo:{}},setup(e){const t=e,{viewportRatio:n,currentSlide:r}=Ee(ct()),o=$o(tf)||me(1),i=$o(r5)||me(""),a=Se(()=>r.value.id===i.value),s=Se(()=>Math.min(t.elementInfo.width,t.elementInfo.height)+"px"),c=Se(()=>{const f=Ht,d=Ht*n.value,h=280/o.value,p=50/o.value,m=t.elementInfo.width,A=t.elementInfo.height,x=t.elementInfo.left,R=t.elementInfo.top;let y=0,g=A;return x+h>=f&&(y=m-h),R+A+p>=d&&(g=-p),{left:y+"px",top:g+"px"}}),l=me(),u=()=>{l.value&&l.value.toggle()};return(f,d)=>{const h=xe("IconVolumeNotice");return Q(),ee("div",{class:"base-element-audio screen-element-audio",style:we({top:f.elementInfo.top+"px",left:f.elementInfo.left+"px",width:f.elementInfo.width+"px",height:f.elementInfo.height+"px"})},[Y("div",{class:"rotate-wrapper",style:we({transform:`rotate(${f.elementInfo.rotate}deg)`})},[Y("div",fxe,[w(h,{class:"audio-icon",style:we({fontSize:s.value,color:f.elementInfo.color}),onClick:d[0]||(d[0]=p=>u())},null,8,["style"]),a.value?(Q(),Oe(IF,{key:0,class:"audio-player",ref_key:"audioPlayerRef",ref:l,style:we({...c.value}),src:f.elementInfo.src,loop:f.elementInfo.loop,autoplay:f.elementInfo.autoplay,scale:H(o)},null,8,["style","src","loop","autoplay","scale"])):Be("",!0)])],4)],4)}}}),hxe=We(dxe,[["__scopeId","data-v-94802f8e"]]),pxe=["id","title"],mxe=Fe({__name:"ScreenElement",props:{elementInfo:{},elementIndex:{},animationIndex:{},turnSlideToId:{type:Function},manualExitFullscreen:{type:Function}},setup(e){const t=e,n=Se(()=>({[Nt.IMAGE]:EF,[Nt.TEXT]:WF,[Nt.SHAPE]:VF,[Nt.LINE]:UF,[Nt.CHART]:YF,[Nt.TABLE]:QF,[Nt.LATEX]:ZF,[Nt.VIDEO]:uxe,[Nt.AUDIO]:hxe})[t.elementInfo.type]||null),{formatedAnimations:r,theme:o}=Ee(ct()),i=Se(()=>{const s=r.value.findIndex(l=>l.animations.map(f=>f.elId).includes(t.elementInfo.id));if(s===-1||s<t.animationIndex)return!1;const c=r.value[s].animations.find(l=>l.elId===t.elementInfo.id);return(c==null?void 0:c.type)==="in"}),a=()=>{const s=t.elementInfo.link;s&&(s.type==="web"?(t.manualExitFullscreen(),window.open(s.target)):s.type==="slide"&&t.turnSlideToId(s.target))};return(s,c)=>{var l;return Q(),ee("div",{class:$e(["screen-element",{link:s.elementInfo.link}]),id:`screen-element-${s.elementInfo.id}`,style:we({zIndex:s.elementIndex,color:H(o).fontColor,fontFamily:H(o).fontName,visibility:i.value?"hidden":"visible"}),title:((l=s.elementInfo.link)==null?void 0:l.target)||"",onClick:c[0]||(c[0]=u=>a())},[(Q(),Oe(xs(n.value),{elementInfo:s.elementInfo},null,8,["elementInfo"]))],14,pxe)}}}),vxe=We(mxe,[["__scopeId","data-v-da31ab53"]]),gxe=Fe({__name:"ScreenSlide",props:{slide:{},scale:{},animationIndex:{},turnSlideToId:{type:Function},manualExitFullscreen:{type:Function}},setup(e){const t=e,{viewportRatio:n}=Ee(ct()),r=Se(()=>t.slide.background),{backgroundStyle:o}=u2(r),i=Se(()=>t.slide.id);return Ku(r5,i),(a,s)=>(Q(),ee("div",{class:"screen-slide",style:we({width:H(Ht)+"px",height:H(Ht)*H(n)+"px",transform:`scale(${a.scale})`})},[Y("div",{class:"background",style:we({...H(o)})},null,4),(Q(!0),ee(Ve,null,st(a.slide.elements,(c,l)=>(Q(),Oe(vxe,{key:c.id,elementInfo:c,elementIndex:l+1,animationIndex:a.animationIndex,turnSlideToId:a.turnSlideToId,manualExitFullscreen:a.manualExitFullscreen},null,8,["elementInfo","elementIndex","animationIndex","turnSlideToId","manualExitFullscreen"]))),128))],4))}}),Axe=We(gxe,[["__scopeId","data-v-7ee8460e"]]),Rxe={class:"screen-slide-list"},yxe=Fe({__name:"ScreenSlideList",props:{slideWidth:{},slideHeight:{},animationIndex:{},turnSlideToId:{type:Function},manualExitFullscreen:{type:Function}},setup(e){const t=e,{slides:n,slideIndex:r}=Ee(ct()),o=Se(()=>n.value.map(a=>{let s=a.turningMode;if(s||(s="slideY"),s==="random"){const c=M_.filter(l=>!["random","no"].includes(l.value)).map(l=>l.value);s=c[Math.floor(Math.random()*c.length)]}return{...a,turningMode:s}})),i=Se(()=>t.slideWidth/Ht);return Ku(tf,i),(a,s)=>(Q(),ee("div",Rxe,[(Q(!0),ee(Ve,null,st(o.value,(c,l)=>{var u;return Q(),ee("div",{class:$e(["slide-item",`turning-mode-${c.turningMode}`,{current:l===H(r),before:l<H(r),after:l>H(r),hide:(l===H(r)-1||l===H(r)+1)&&c.turningMode!==o.value[H(r)].turningMode}]),key:c.id},[Math.abs(H(r)-l)<2||(u=c.animations)!=null&&u.length?(Q(),ee("div",{key:0,class:"slide-content",style:we({width:a.slideWidth+"px",height:a.slideHeight+"px"})},[w(Axe,{slide:c,scale:i.value,animationIndex:a.animationIndex,turnSlideToId:a.turnSlideToId,manualExitFullscreen:a.manualExitFullscreen},null,8,["slide","scale","animationIndex","turnSlideToId","manualExitFullscreen"])],4)):Be("",!0)],2)}),128))]))}}),J_=We(yxe,[["__scopeId","data-v-21b28464"]]),xxe={class:"slide-thumbnails"},bxe={class:"return-button"},Sxe={class:"slide-thumbnails-content"},Mxe=["onClick"],wxe=Fe({__name:"SlideThumbnails",props:{turnSlideToIndex:{type:Function}},emits:["close"],setup(e,{emit:t}){const n=e,r=t,{slides:o,slideIndex:i}=Ee(ct()),{slidesLoadLimit:a}=Bp(),s=c=>{n.turnSlideToIndex(c),r("close")};return(c,l)=>{const u=xe("IconArrowCircleLeft");return Q(),ee("div",xxe,[Y("div",bxe,[w(u,{class:"icon",onClick:l[0]||(l[0]=f=>r("close"))})]),Y("div",Sxe,[(Q(!0),ee(Ve,null,st(H(o),(f,d)=>(Q(),ee("div",{class:$e(["thumbnail",{active:d===H(i)}]),key:f.id,onClick:h=>s(d)},[w(Fa,{slide:f,size:150,visible:d<H(a)},null,8,["slide","visible"])],10,Mxe))),128))])])}}}),Lxe=We(wxe,[["__scopeId","data-v-09d790f0"]]),Oxe={key:0,class:"blackboard"},Txe=Fe({__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,o=n;let i=null;const a=me(),s=me();let c={x:0,y:0},l=!1,u=0,f=-1;const d=me({x:0,y:0}),h=me(!1),p=me(0),m=me(0),A=Se(()=>s.value?p.value/s.value.width:1),x=Se(()=>s.value?m.value/s.value.height:1),R=()=>{a.value&&(p.value=a.value.clientWidth,m.value=a.value.clientHeight)},y=new ResizeObserver(R);Gt(()=>{a.value&&y.observe(a.value)}),Tn(()=>{a.value&&y.unobserve(a.value)}),Gt(()=>{!s.value||!a.value||(i=s.value.getContext("2d"),i&&(s.value.width=a.value.clientWidth,s.value.height=a.value.clientHeight,i.lineCap="round",i.lineJoin="round"))});const S=()=>{i&&(r.model==="mark"?(i.globalCompositeOperation="xor",i.globalAlpha=.5):r.model==="pen"&&(i.globalCompositeOperation="source-over",i.globalAlpha=1))};Tt(()=>r.model,S);const L=(B,G,ne)=>{if(!i)return;const E=c.x,Z=c.y;i.lineWidth=ne,i.strokeStyle=r.color,i.beginPath(),i.moveTo(E,Z),i.lineTo(B,G),i.stroke(),i.closePath()},T=(B,G)=>{if(!i||!s.value)return;const ne=c.x,E=c.y,Z=r.rubberSize/2,K=Z*Math.sin(Math.atan((G-E)/(B-ne))),U=Z*Math.cos(Math.atan((G-E)/(B-ne))),J=[ne+K,E-U],le=[ne-K,E+U],ie=[B+K,G-U],oe=[B-K,G+U];i.save(),i.beginPath(),i.arc(B,G,Z,0,Math.PI*2),i.clip(),i.clearRect(0,0,s.value.width,s.value.height),i.restore(),i.save(),i.beginPath(),i.moveTo(...J),i.lineTo(...ie),i.lineTo(...oe),i.lineTo(...le),i.closePath(),i.clip(),i.clearRect(0,0,s.value.width,s.value.height),i.restore()},M=(B,G)=>{const ne=c.x,E=c.y;return Math.sqrt((B-ne)*(B-ne)+(G-E)*(G-E))},O=(B,G)=>{const Z=r.penSize,K=3,U=B/G;let J;return U<=.1?J=Z:U>=10?J=K:J=Z-U/10*Z,f===-1?J:J*1/3+f*2/3},k=(B,G)=>{const ne=new Date().getTime();if(r.model==="pen"){const E=M(B,G),Z=ne-u,K=O(E,Z);L(B,G,K),f=K}else r.model==="mark"?L(B,G,r.markSize):T(B,G);c={x:B,y:G},u=new Date().getTime()},_=B=>{if(!s.value)return[0,0];const G=B instanceof MouseEvent?B:B.changedTouches[0],ne=s.value.getBoundingClientRect(),E=G.pageX-ne.x,Z=G.pageY-ne.y;return[E,Z]},N=B=>{const[G,ne]=_(B),E=G/A.value,Z=ne/x.value;l=!0,c={x:E,y:Z},u=new Date().getTime(),B instanceof MouseEvent||(d.value={x:G,y:ne},h.value=!0)},X=B=>{const[G,ne]=_(B),E=G/A.value,Z=ne/x.value;d.value={x:G,y:ne},l&&k(E,Z)},C=()=>{l&&(l=!1,o("end"))};return t({clearCanvas:()=>{!i||!s.value||(i.clearRect(0,0,s.value.width,s.value.height),o("end"))},getImageDataURL:()=>{var B;return(B=s.value)==null?void 0:B.toDataURL()},setImageDataURL:B=>{if(!(!i||!s.value)&&(i.clearRect(0,0,s.value.width,s.value.height),B)){i.globalCompositeOperation="source-over",i.globalAlpha=1;const G=new Image;G.src=B,G.onload=()=>{i.drawImage(G,0,0),S()}}}}),(B,G)=>{const ne=xe("IconWrite"),E=xe("IconHighLight");return Q(),ee("div",{class:"writing-board",ref_key:"writingBoardRef",ref:a},[B.blackboard?(Q(),ee("div",Oxe)):Be("",!0),Y("canvas",{class:"canvas",ref_key:"canvasRef",ref:s,style:we({width:p.value+"px",height:m.value+"px"}),onMousedown:G[0]||(G[0]=Z=>N(Z)),onMousemove:G[1]||(G[1]=Z=>X(Z)),onMouseup:G[2]||(G[2]=Z=>C()),onTouchstart:G[3]||(G[3]=Z=>N(Z)),onTouchmove:G[4]||(G[4]=Z=>X(Z)),onTouchend:G[5]||(G[5]=Z=>{C(),h.value=!1}),onMouseleave:G[6]||(G[6]=Z=>{C(),h.value=!1}),onMouseenter:G[7]||(G[7]=Z=>h.value=!0)},null,36),h.value?(Q(),ee(Ve,{key:1},[B.model==="eraser"?(Q(),ee("div",{key:0,class:"eraser",style:we({left:d.value.x-B.rubberSize/2+"px",top:d.value.y-B.rubberSize/2+"px",width:B.rubberSize+"px",height:B.rubberSize+"px"})},null,4)):Be("",!0),B.model==="pen"?(Q(),ee("div",{key:1,class:"pen",style:we({left:d.value.x-B.penSize/2+"px",top:d.value.y-B.penSize*6+B.penSize/2+"px",color:B.color})},[B.model==="pen"?(Q(),Oe(ne,{key:0,class:"icon",size:B.penSize*6},null,8,["size"])):Be("",!0)],4)):Be("",!0),B.model==="mark"?(Q(),ee("div",{key:2,class:"pen",style:we({left:d.value.x-B.markSize/2+"px",top:d.value.y+"px",color:B.color})},[B.model==="mark"?(Q(),Oe(E,{key:0,class:"icon",size:B.markSize*1.5},null,8,["size"])):Be("",!0)],4)):Be("",!0)],64)):Be("",!0)],512)}}}),kxe=We(Txe,[["__scopeId","data-v-55ae5f6c"]]),Q5=e=>(on("data-v-47295ef6"),e=e(),an(),e),Nxe={class:"writing-board-tool"},Pxe={class:"tool-content"},Cxe={class:"size"},Ixe=Q5(()=>Y("div",{class:"label"},"墨迹粗细:",-1)),Fxe={class:"size"},_xe=Q5(()=>Y("div",{class:"label"},"墨迹粗细:",-1)),Xxe={class:"size"},Exe=Q5(()=>Y("div",{class:"label"},"橡皮大小:",-1)),Wxe={class:"colors"},Vxe=["onClick"],Uxe=Fe({__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:o}=Ee(ct()),i=me(),a=me("#e2534d"),s=me("pen"),c=me(!1),l=me(""),u=me(6),f=me(24),d=me(80),h=R=>{s.value===R?l.value=l.value===R?"":R:(l.value&&(l.value=""),s.value=R)},p=()=>{i.value.clearCanvas()},m=R=>{s.value==="eraser"&&(s.value="pen"),a.value=R},A=()=>{r("close")};Tt(o,()=>{xa.writingBoardImgs.where("id").equals(o.value.id).toArray().then(R=>{const y=R[0];i.value.setImageDataURL((y==null?void 0:y.dataURL)||"")})},{immediate:!0});const x=()=>{const R=i.value.getImageDataURL();R&&xa.writingBoardImgs.where("id").equals(o.value.id).toArray().then(y=>{const g=y[0];g?xa.writingBoardImgs.update(g,{dataURL:R}):xa.writingBoardImgs.add({id:o.value.id,dataURL:R})})};return(R,y)=>{const g=xe("IconWrite"),S=xe("IconHighLight"),L=xe("IconErase"),T=xe("IconClear"),M=xe("IconFill"),O=xe("IconClose"),k=Ln("tooltip");return Q(),ee("div",Nxe,[Y("div",{class:"writing-board-wrap",style:we({width:R.slideWidth+"px",height:R.slideHeight+"px"})},[w(kxe,{ref_key:"writingBoardRef",ref:i,color:a.value,blackboard:c.value,model:s.value,penSize:u.value,markSize:f.value,rubberSize:d.value,onEnd:y[0]||(y[0]=_=>x())},null,8,["color","blackboard","model","penSize","markSize","rubberSize"])],4),w(M2,{class:"tools-panel",width:520,height:50,left:R.left,top:R.top,moveable:l.value===""},{default:re(()=>[Y("div",{class:"tools",onMousedown:y[10]||(y[10]=Kt(()=>{},["stop"]))},[Y("div",Pxe,[w(kt,{trigger:"manual",value:l.value==="pen"},{content:re(()=>[Y("div",Cxe,[Ixe,w(no,{class:"size-slider",min:4,max:10,step:2,value:u.value,"onUpdate:value":y[1]||(y[1]=_=>u.value=_)},null,8,["value"])])]),default:re(()=>[Ze((Q(),ee("div",{class:$e(["btn",{active:s.value==="pen"}]),onClick:y[2]||(y[2]=_=>h("pen"))},[w(g,{class:"icon"})],2)),[[k,"画笔"]])]),_:1},8,["value"]),w(kt,{trigger:"manual",value:l.value==="mark"},{content:re(()=>[Y("div",Fxe,[_xe,w(no,{class:"size-slider",min:16,max:40,step:4,value:f.value,"onUpdate:value":y[3]||(y[3]=_=>f.value=_)},null,8,["value"])])]),default:re(()=>[Ze((Q(),ee("div",{class:$e(["btn",{active:s.value==="mark"}]),onClick:y[4]||(y[4]=_=>h("mark"))},[w(S,{class:"icon"})],2)),[[k,"荧光笔"]])]),_:1},8,["value"]),w(kt,{trigger:"manual",value:l.value==="eraser"},{content:re(()=>[Y("div",Xxe,[Exe,w(no,{class:"size-slider",min:20,max:200,step:20,value:d.value,"onUpdate:value":y[5]||(y[5]=_=>d.value=_)},null,8,["value"])])]),default:re(()=>[Ze((Q(),ee("div",{class:$e(["btn",{active:s.value==="eraser"}]),onClick:y[6]||(y[6]=_=>h("eraser"))},[w(L,{class:"icon"})],2)),[[k,"橡皮擦"]])]),_:1},8,["value"]),Ze((Q(),ee("div",{class:"btn",onClick:y[7]||(y[7]=_=>p())},[w(T,{class:"icon"})])),[[k,"清除墨迹"]]),Ze((Q(),ee("div",{class:$e(["btn",{active:c.value}]),onClick:y[8]||(y[8]=_=>c.value=!c.value)},[w(M,{class:"icon"})],2)),[[k,"黑板"]]),Y("div",Wxe,[(Q(),ee(Ve,null,st(n,_=>Y("div",{class:$e(["color",{active:_===a.value}]),key:_,style:we({backgroundColor:_}),onClick:N=>m(_)},null,14,Vxe)),64))])]),Ze((Q(),ee("div",{class:"btn",onClick:y[9]||(y[9]=_=>A())},[w(O,{class:"icon"})])),[[k,"关闭画笔"]])],32)]),_:1},8,["left","top","moveable"])])}}}),z_=We(Uxe,[["__scopeId","data-v-47295ef6"]]),Yxe=e=>(on("data-v-92c1f9be"),e=e(),an(),e),Qxe={class:"header"},Zxe={class:"content"},Bxe={class:"timer"},Dxe=["value","disabled"],Kxe=Yxe(()=>Y("div",{class:"colon"},":",-1)),Hxe={class:"timer"},Gxe=["value","disabled"],Jxe=Fe({__name:"CountdownTimer",props:{left:{default:5},top:{default:5}},emits:["close"],setup(e,{emit:t}){const n=t,r=me(null),o=me(!1),i=me(!1),a=me(0),s=Se(()=>Math.floor(a.value/60)),c=Se(()=>a.value%60),l=Se(()=>!i.value||o.value),u=()=>{r.value&&clearInterval(r.value)};Tn(u);const f=()=>{u(),o.value=!1},d=()=>{u(),o.value=!1,i.value?a.value=600:a.value=0},h=()=>{u(),i.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),o.value=!0},p=()=>{o.value?f():h()},m=()=>{i.value=!i.value,d()},A=(x,R)=>{const y=x.target;let g=y.value;/^(\d)+$/.test(g)?(R==="second"&&+g>=60&&(g="59"),a.value=R==="minute"?+g*60+c.value:+g+s.value*60):y.value=E0(R==="minute"?s.value:c.value,2)};return(x,R)=>{const y=xe("IconClose");return Q(),Oe(M2,{class:"countdown-timer",width:180,height:110,left:x.left,top:x.top},{default:re(()=>[Y("div",Qxe,[Y("span",{class:"text-btn",onClick:R[0]||(R[0]=g=>p())},bt(o.value?"暂停":"开始"),1),Y("span",{class:"text-btn",onClick:R[1]||(R[1]=g=>d())},"重置"),Y("span",{class:$e(["text-btn",{active:i.value}]),onClick:R[2]||(R[2]=g=>m())},"倒计时",2)]),Y("div",Zxe,[Y("div",Bxe,[Y("input",{type:"text",value:H(E0)(s.value,2),maxlength:3,disabled:l.value,onMousedown:R[3]||(R[3]=Kt(()=>{},["stop"])),onBlur:R[4]||(R[4]=g=>A(g,"minute")),onKeydown:[R[5]||(R[5]=Kt(()=>{},["stop"])),R[6]||(R[6]=gc(Kt(g=>A(g,"minute"),["stop"]),["enter"]))]},null,40,Dxe)]),Kxe,Y("div",Hxe,[Y("input",{type:"text",value:H(E0)(c.value,2),maxlength:3,disabled:l.value,onMousedown:R[7]||(R[7]=Kt(()=>{},["stop"])),onBlur:R[8]||(R[8]=g=>A(g,"second")),onKeydown:[R[9]||(R[9]=Kt(()=>{},["stop"])),R[10]||(R[10]=gc(Kt(g=>A(g,"second"),["stop"]),["enter"]))]},null,40,Gxe)])]),Y("div",{class:"close-btn",onClick:R[11]||(R[11]=g=>n("close"))},[w(y,{class:"icon"})])]),_:1},8,["left","top"])}}}),j_=We(Jxe,[["__scopeId","data-v-92c1f9be"]]),zxe={class:"tools-left"},jxe={class:"content"},$xe=Fe({__name:"BaseView",props:{changeViewMode:{type:Function}},setup(e){const t=e,{slides:n,slideIndex:r}=Ee(ct()),{autoPlayTimer:o,autoPlay:i,closeAutoPlay:a,autoPlayInterval:s,setAutoPlayInterval:c,loopPlay:l,setLoopPlay:u,mousewheelListener:f,touchStartListener:d,touchEndListener:h,turnPrevSlide:p,turnNextSlide:m,turnSlideToIndex:A,turnSlideToId:x,execPrev:R,execNext:y,animationIndex:g}=K_(),{slideWidth:S,slideHeight:L}=H_(),{exitScreening:T}=Mc(),{fullscreenState:M,manualExitFullscreen:O}=G_(),k=me(!1),_=me(!1),N=me(!1),X=me(!1),C=me(!1),F=()=>[{text:"上一页",subText:"↑ ←",disable:r.value<=0,handler:()=>p()},{text:"下一页",subText:"↓ →",disable:r.value>=n.value.length-1,handler:()=>m()},{text:"第一页",disable:r.value===0,handler:()=>A(0)},{text:"最后一页",disable:r.value===n.value.length-1,handler:()=>A(n.value.length-1)},{divider:!0},{text:o.value?"取消自动放映":"自动放映",handler:o.value?a:i,children:[{text:"2.5秒",subText:s.value===2500?"√":"",handler:()=>c(2500)},{text:"5秒",subText:s.value===5e3?"√":"",handler:()=>c(5e3)},{text:"7.5秒",subText:s.value===7500?"√":"",handler:()=>c(7500)},{text:"10秒",subText:s.value===1e4?"√":"",handler:()=>c(1e4)}]},{text:"循环放映",subText:l.value?"√":"",handler:()=>u(!l.value)},{divider:!0},{text:"显示工具栏",handler:()=>k.value=!0},{text:"查看所有幻灯片",handler:()=>X.value=!0},{text:"画笔工具",handler:()=>_.value=!0},{text:"演讲者视图",handler:()=>t.changeViewMode("presenter")},{divider:!0},{text:"结束放映",subText:"ESC",handler:T}];return(I,V)=>{const B=xe("IconLeftTwo"),G=xe("IconRightTwo"),ne=xe("IconWrite"),E=xe("IconMagic"),Z=xe("IconStopwatchStart"),K=xe("IconListView"),U=xe("IconOffScreenOne"),J=xe("IconFullScreenOne"),le=xe("IconPower"),ie=Ln("contextmenu"),oe=Ln("tooltip");return Q(),ee("div",{class:$e(["base-view",{"laser-pen":C.value}])},[Ze(w(J_,{slideWidth:H(S),slideHeight:H(L),animationIndex:H(g),turnSlideToId:H(x),manualExitFullscreen:H(O),onWheel:V[0]||(V[0]=pe=>H(f)(pe)),onTouchstart:V[1]||(V[1]=pe=>H(d)(pe)),onTouchend:V[2]||(V[2]=pe=>H(h)(pe))},null,8,["slideWidth","slideHeight","animationIndex","turnSlideToId","manualExitFullscreen"]),[[ie,F]]),X.value?(Q(),Oe(Lxe,{key:0,turnSlideToIndex:H(A),onClose:V[3]||(V[3]=pe=>X.value=!1)},null,8,["turnSlideToIndex"])):Be("",!0),_.value?(Q(),Oe(z_,{key:1,slideWidth:H(S),slideHeight:H(L),onClose:V[4]||(V[4]=pe=>_.value=!1)},null,8,["slideWidth","slideHeight"])):Be("",!0),N.value?(Q(),Oe(j_,{key:2,onClose:V[5]||(V[5]=pe=>N.value=!1)})):Be("",!0),Y("div",zxe,[w(B,{class:"tool-btn",theme:"two-tone",fill:["#111","#fff"],onClick:V[6]||(V[6]=pe=>H(R)())}),w(G,{class:"tool-btn",theme:"two-tone",fill:["#111","#fff"],onClick:V[7]||(V[7]=pe=>H(y)())})]),Y("div",{class:$e(["tools-right",{visible:k.value}]),onMouseleave:V[16]||(V[16]=pe=>k.value=!1),onMouseenter:V[17]||(V[17]=pe=>k.value=!0)},[Y("div",jxe,[Y("div",{class:"tool-btn page-number",onClick:V[8]||(V[8]=pe=>X.value=!0)},"幻灯片 "+bt(H(r)+1)+" / "+bt(H(n).length),1),Ze(w(ne,{class:"tool-btn",onClick:V[9]||(V[9]=pe=>_.value=!0)},null,512),[[oe,"画笔工具"]]),Ze(w(E,{class:$e(["tool-btn",{active:C.value}]),onClick:V[10]||(V[10]=pe=>C.value=!C.value)},null,8,["class"]),[[oe,"激光笔"]]),Ze(w(Z,{class:$e(["tool-btn",{active:N.value}]),onClick:V[11]||(V[11]=pe=>N.value=!N.value)},null,8,["class"]),[[oe,"计时器"]]),Ze(w(K,{class:"tool-btn",onClick:V[12]||(V[12]=pe=>I.changeViewMode("presenter"))},null,512),[[oe,"演讲者视图"]]),H(M)?Ze((Q(),Oe(U,{key:0,class:"tool-btn",onClick:V[13]||(V[13]=pe=>H(O)())},null,512)),[[oe,"退出全屏"]]):Ze((Q(),Oe(J,{key:1,class:"tool-btn",onClick:V[14]||(V[14]=pe=>H(Ib)())},null,512)),[[oe,"进入全屏"]]),Ze(w(le,{class:"tool-btn",onClick:V[15]||(V[15]=pe=>H(T)())},null,512),[[oe,"结束放映"]])])],34)],2)}}}),qxe=We($xe,[["__scopeId","data-v-85c13201"]]),zd=e=>(on("data-v-691774ef"),e=e(),an(),e),ebe={class:"presenter-view"},tbe={class:"toolbar"},nbe=zd(()=>Y("span",null,"普通视图",-1)),rbe=zd(()=>Y("span",null,"画笔",-1)),obe=zd(()=>Y("span",null,"激光笔",-1)),ibe=zd(()=>Y("span",null,"计时器",-1)),abe=zd(()=>Y("span",null,"结束放映",-1)),sbe={class:"content"},lbe=["onClick"],cbe={class:"remark"},ube={class:"header"},fbe=zd(()=>Y("span",null,"演讲者备注",-1)),dbe=["innerHTML"],hbe={class:"remark-scale"},pbe=Fe({__name:"PresenterView",props:{changeViewMode:{type:Function}},setup(e){const t=e,{slides:n,slideIndex:r,viewportRatio:o,currentSlide:i}=Ee(ct()),a=me(),s=me(),c=me(!1),l=me(!1),u=me(!1),{mousewheelListener:f,touchStartListener:d,touchEndListener:h,turnPrevSlide:p,turnNextSlide:m,turnSlideToIndex:A,turnSlideToId:x,animationIndex:R}=K_(),{slideWidth:y,slideHeight:g}=H_(a),{exitScreening:S}=Mc(),{slidesLoadLimit:L}=Bp(),{fullscreenState:T,manualExitFullscreen:M}=G_(),O=me(16),k=Se(()=>Ob(i.value.remark||"无备注")),_=C=>{s.value&&s.value.scrollBy(C.deltaY,0)},N=C=>{C<12||C>40||(O.value=C)};Tt(r,()=>{Vr(()=>{if(!s.value)return;const C=s.value.querySelector(".thumbnail.active");if(!C)return;const F=s.value.offsetWidth,I=C.offsetLeft;s.value.scrollTo({left:I-F/2,behavior:"smooth"})})});const X=()=>[{text:"上一页",subText:"↑ ←",disable:r.value<=0,handler:()=>p()},{text:"下一页",subText:"↓ →",disable:r.value>=n.value.length-1,handler:()=>m()},{text:"第一页",disable:r.value===0,handler:()=>A(0)},{text:"最后一页",disable:r.value===n.value.length-1,handler:()=>A(n.value.length-1)},{divider:!0},{text:"画笔工具",handler:()=>c.value=!0},{text:"普通视图",handler:()=>t.changeViewMode("base")},{divider:!0},{text:"结束放映",subText:"ESC",handler:S}];return(C,F)=>{const I=xe("IconListView"),V=xe("IconWrite"),B=xe("IconMagic"),G=xe("IconStopwatchStart"),ne=xe("IconOffScreenOne"),E=xe("IconPower"),Z=xe("IconMinus"),K=xe("IconPlus"),U=Ln("contextmenu");return Q(),ee("div",ebe,[Y("div",tbe,[Y("div",{class:"tool-btn",onClick:F[0]||(F[0]=J=>C.changeViewMode("base"))},[w(I,{class:"tool-icon"}),nbe]),Y("div",{class:$e(["tool-btn",{active:c.value}]),onClick:F[1]||(F[1]=J=>c.value=!c.value)},[w(V,{class:"tool-icon"}),rbe],2),Y("div",{class:$e(["tool-btn",{active:u.value}]),onClick:F[2]||(F[2]=J=>u.value=!u.value)},[w(B,{class:"tool-icon"}),obe],2),Y("div",{class:$e(["tool-btn",{active:l.value}]),onClick:F[3]||(F[3]=J=>l.value=!l.value)},[w(G,{class:"tool-icon"}),ibe],2),Y("div",{class:"tool-btn",onClick:F[4]||(F[4]=()=>H(T)?H(M)():H(Ib)())},[H(T)?(Q(),Oe(ne,{key:0,class:"tool-icon"})):(Q(),Oe(ne,{key:1,class:"tool-icon"})),Y("span",null,bt(H(T)?"退出全屏":"全屏"),1)]),w(Vt,{class:"divider"}),Y("div",{class:"tool-btn",onClick:F[5]||(F[5]=J=>H(S)())},[w(E,{class:"tool-icon"}),abe])]),Y("div",sbe,[Y("div",{class:$e(["slide-list-wrap",{"laser-pen":u.value}]),ref_key:"slideListWrapRef",ref:a},[Ze(w(J_,{slideWidth:H(y),slideHeight:H(g),animationIndex:H(R),turnSlideToId:H(x),manualExitFullscreen:H(M),onWheel:F[6]||(F[6]=J=>H(f)(J)),onTouchstart:F[7]||(F[7]=J=>H(d)(J)),onTouchend:F[8]||(F[8]=J=>H(h)(J))},null,8,["slideWidth","slideHeight","animationIndex","turnSlideToId","manualExitFullscreen"]),[[U,X]]),c.value?(Q(),Oe(z_,{key:0,slideWidth:H(y),slideHeight:H(g),left:-365,top:-155,onClose:F[9]||(F[9]=J=>c.value=!1)},null,8,["slideWidth","slideHeight"])):Be("",!0),l.value?(Q(),Oe(j_,{key:1,left:75,onClose:F[10]||(F[10]=J=>l.value=!1)})):Be("",!0)],2),Y("div",{class:"thumbnails",ref_key:"thumbnailsRef",ref:s,onWheel:F[11]||(F[11]=Kt(J=>_(J),["prevent"]))},[(Q(!0),ee(Ve,null,st(H(n),(J,le)=>(Q(),ee("div",{class:$e(["thumbnail",{active:le===H(r)}]),key:J.id,onClick:ie=>H(A)(le)},[w(Fa,{slide:J,size:120/H(o),visible:le<H(L)},null,8,["slide","size","visible"])],10,lbe))),128))],544)]),Y("div",cbe,[Y("div",ube,[fbe,Y("span",null,"P "+bt(H(r)+1)+" / "+bt(H(n).length),1)]),Y("div",{class:"remark-content ProseMirror-static",style:we({fontSize:O.value+"px"}),innerHTML:k.value},null,12,dbe),Y("div",hbe,[Y("div",{class:$e(["scale-btn",{disable:O.value===12}]),onClick:F[12]||(F[12]=J=>N(O.value-2))},[w(Z)],2),Y("div",{class:$e(["scale-btn",{disable:O.value===40}]),onClick:F[13]||(F[13]=J=>N(O.value+2))},[w(K)],2)])])])}}}),mbe=We(pbe,[["__scopeId","data-v-691774ef"]]),vbe={class:"pptist-screen"},gbe=Fe({__name:"index",setup(e){const t=me("base"),n=i=>{t.value=i},{exitScreening:r}=Mc(),o=i=>{i.key.toUpperCase()===Rt.ESC&&r()};return Gt(()=>document.addEventListener("keydown",o)),Tn(()=>document.removeEventListener("keydown",o)),(i,a)=>(Q(),ee("div",vbe,[t.value==="base"?(Q(),Oe(qxe,{key:0,changeViewMode:n})):t.value==="presenter"?(Q(),Oe(mbe,{key:1,changeViewMode:n})):Be("",!0)]))}}),Abe=We(gbe,[["__scopeId","data-v-2f0dc4b8"]]),Rbe=Fe({__name:"MobileEditableElement",props:{elementInfo:{},elementIndex:{},selectElement:{type:Function}},setup(e){const t=e,n=Se(()=>({[Nt.IMAGE]:AI,[Nt.TEXT]:fF,[Nt.SHAPE]:hF,[Nt.LINE]:pF,[Nt.CHART]:SF,[Nt.TABLE]:TF,[Nt.LATEX]:kF,[Nt.VIDEO]:PF,[Nt.AUDIO]:FF})[t.elementInfo.type]||null);return(r,o)=>(Q(),ee("div",{class:"mobile-editable-element",style:we({zIndex:r.elementIndex})},[(Q(),Oe(xs(n.value),{elementInfo:r.elementInfo,selectElement:r.selectElement,contextmenus:()=>null},null,8,["elementInfo","selectElement"]))],4))}}),ybe=Fe({__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),o=Se(()=>t.elementInfo.height*t.canvasScale),{borderLines:i,resizeHandlers:a,textElementResizeHandlers:s}=nf(r,o),c=t.elementInfo.type==="text"||t.elementInfo.type==="table"?s:a,l=Se(()=>["chart","video","audio"].includes(t.elementInfo.type));return(u,f)=>(Q(),ee("div",{class:"mobile-operate",style:we({top:u.elementInfo.top*u.canvasScale+"px",left:u.elementInfo.left*u.canvasScale+"px",transform:`rotate(${n.value}deg)`,transformOrigin:`${u.elementInfo.width*u.canvasScale/2}px ${u.elementInfo.height*u.canvasScale/2}px`})},[u.isSelected?(Q(),ee(Ve,{key:0},[(Q(!0),ee(Ve,null,st(H(i),d=>(Q(),Oe(rf,{class:"operate-border-line",key:d.type,type:d.type,style:we(d.style)},null,8,["type","style"]))),128)),(Q(!0),ee(Ve,null,st(H(c),d=>(Q(),Oe(Tc,{class:"operate-resize-handler",key:d.direction,type:d.direction,rotate:u.elementInfo.rotate,style:we(d.style),onTouchstart:Kt(h=>u.scaleElement(h,u.elementInfo,d.direction),["stop"])},null,8,["type","rotate","style","onTouchstart"]))),128)),l.value?Be("",!0):(Q(),Oe(Jd,{key:0,class:"operate-rotate-handler",style:we({left:r.value/2+"px"}),onTouchstart:f[0]||(f[0]=Kt(d=>u.rotateElement(d,u.elementInfo),["stop"]))},null,8,["style"]))],64)):Be("",!0)],4))}}),xbe=We(ybe,[["__scopeId","data-v-b61bf2dc"]]),bbe={class:"mobile-thumbnails"},Sbe=["onClick"],Mbe={class:"label"},wbe=Fe({__name:"MobileThumbnails",setup(e){const t=ct(),{slides:n,slideIndex:r}=Ee(t),{sortSlides:o}=Dd(),{slidesLoadLimit:i}=Bp(),a=c=>{t.updateSlideIndex(c)},s=c=>{const{newIndex:l,oldIndex:u}=c;l===void 0||u===void 0||l===u||o(l,u)};return(c,l)=>(Q(),ee("div",bbe,[w(H(k5),{class:"thumbnail-list",modelValue:H(n),animation:200,scroll:!0,scrollSensitivity:50,delayOnTouchOnly:!0,delay:800,itemKey:"id",onEnd:s},{item:re(({element:u,index:f})=>[Y("div",{class:$e(["thumbnail-item",{active:H(r)===f}]),onClick:d=>a(f)},[Y("div",Mbe,bt(f+1),1),w(Fa,{class:"thumbnail",slide:u,size:120,visible:f<H(i)},null,8,["slide","visible"])],10,Sbe)]),_:1},8,["modelValue"])]))}}),$_=We(wbe,[["__scopeId","data-v-f47af55e"]]),Lbe={class:"slide-toolbar"},Obe={class:"remark"},Tbe=["value"],kbe={class:"toolbar"},Nbe=Fe({__name:"SlideToolbar",setup(e){const t=ct(),{viewportRatio:n,currentSlide:r}=Ee(t),{createSlide:o,copyAndPasteSlide:i,deleteSlide:a}=Dd(),{createTextElement:s,createImageElement:c,createShapeElement:l}=ju(),u=()=>{s({left:(Ht-400)/2,top:(Ht*n.value-56)/2,width:400,height:56},{content:"<p>新添加文本</p>"})},f=m=>{!m||!m[0]||Ju(m[0]).then(A=>c(A))},d=m=>{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"}},y=200;l({left:(Ht-y)/2,top:(Ht*n.value-y)/2,width:y,height:y},R[m])},h=Se(()=>{var m;return((m=r.value)==null?void 0:m.remark)||""}),p=m=>{const A=m.target.value;t.updateSlide({remark:A})};return(m,A)=>{const x=xe("IconPlus"),R=xe("IconCopy"),y=xe("IconDelete"),g=xe("IconFontSize"),S=xe("IconPicture"),L=xe("IconSquare"),T=xe("IconRound");return Q(),ee("div",Lbe,[Y("div",Obe,[Y("textarea",{value:h.value,placeholder:"点击输入演讲者备注",onInput:A[0]||(A[0]=M=>p(M))},null,40,Tbe)]),Y("div",kbe,[w(xn,{class:"row"},{default:re(()=>[w(nt,{style:{flex:"1"},onClick:A[1]||(A[1]=M=>H(o)())},{default:re(()=>[w(x,{class:"icon"}),Ye(" 新幻灯片")]),_:1}),w(nt,{style:{flex:"1"},onClick:A[2]||(A[2]=M=>H(i)())},{default:re(()=>[w(R,{class:"icon"}),Ye(" 复制")]),_:1}),w(nt,{style:{flex:"1"},onClick:A[3]||(A[3]=M=>H(a)())},{default:re(()=>[w(y,{class:"icon"}),Ye(" 删除")]),_:1})]),_:1}),w(xn,{class:"row"},{default:re(()=>[w(nt,{style:{flex:"1"},onClick:A[4]||(A[4]=M=>u())},{default:re(()=>[w(g,{class:"icon"}),Ye(" 文字")]),_:1}),w(nt,{style:{flex:"1"}},{default:re(()=>[w(Xu,{onChange:A[5]||(A[5]=M=>f(M))},{default:re(()=>[w(S,{class:"icon"}),Ye("图片 ")]),_:1})]),_:1}),w(nt,{style:{flex:"1"},onClick:A[6]||(A[6]=M=>d("square"))},{default:re(()=>[w(L,{class:"icon"}),Ye(" 矩形")]),_:1}),w(nt,{style:{flex:"1"},onClick:A[7]||(A[7]=M=>d("round"))},{default:re(()=>[w(T,{class:"icon"}),Ye(" 圆形")]),_:1})]),_:1})]),w($_)])}}}),Pbe=We(Nbe,[["__scopeId","data-v-bceba327"]]),q_=e=>(on("data-v-65decaff"),e=e(),an(),e),Cbe={class:"element-toolbar"},Ibe={class:"content"},Fbe={key:0,class:"style"},_be={class:"row-block"},Xbe=q_(()=>Y("div",{class:"label"},"文字颜色:",-1)),Ebe={class:"colors"},Wbe=["onClick"],Vbe={class:"row-block"},Ube=q_(()=>Y("div",{class:"label"},"填充色:",-1)),Ybe={class:"colors"},Qbe=["onClick"],Zbe={key:1,class:"common"},Bbe=Fe({__name:"ElementToolbar",setup(e){const t=["#000000","#ffffff","#eeece1","#1e497b","#4e81bb","#e2534d","#9aba60","#8165a0","#47acc5","#f9974c","#c21401","#ff1e02","#ffc12a","#ffff3a","#90cf5b","#00af57"],n=ft(),r=ct(),{handleElement:o,handleElementId:i,richTextAttrs:a}=Ee(n),{addHistorySnapshot:s}=Jt(),c=(y,g)=>{r.updateElement({id:y,props:g}),s()},l=[{key:"style",label:"样式"},{key:"common",label:"布局"}],u=me("common"),{orderElement:f}=Np(),{alignElementToCanvas:d}=o2(),{addElementsFromData:h}=Dg(),{deleteElement:p}=kp(),m=()=>{const y=JSON.parse(JSON.stringify(o.value));h([y])},A=(y,g)=>{Zr.emit(Wr.RICH_TEXT_COMMAND,{action:{command:y,value:g}})},x=y=>{var g;if(o.value){if((o.value.type==="text"||o.value.type==="shape"&&((g=o.value.text)!=null&&g.content))&&Zr.emit(Wr.RICH_TEXT_COMMAND,{action:{command:"color",value:y}}),o.value.type==="table"){const S=JSON.parse(JSON.stringify(o.value.data));for(let L=0;L<S.length;L++)for(let T=0;T<S[L].length;T++){const M=S[L][T].style||{};S[L][T].style={...M,color:y}}c(i.value,{data:S})}o.value.type==="latex"&&c(i.value,{color:y})}},R=y=>{if(o.value){if((o.value.type==="text"||o.value.type==="shape"||o.value.type==="chart")&&c(i.value,{fill:y}),o.value.type==="table"){const g=JSON.parse(JSON.stringify(o.value.data));for(let S=0;S<g.length;S++)for(let L=0;L<g[S].length;L++){const T=g[S][L].style||{};g[S][L].style={...T,backcolor:y}}c(i.value,{data:g})}o.value.type==="audio"&&c(i.value,{color:y})}};return(y,g)=>{const S=xe("IconTextBold"),L=xe("IconTextItalic"),T=xe("IconTextUnderline"),M=xe("IconStrikethrough"),O=xe("IconFontSize"),k=xe("IconAlignTextLeft"),_=xe("IconAlignTextCenter"),N=xe("IconAlignTextRight"),X=xe("IconCopy"),C=xe("IconDelete"),F=xe("IconSendToBack"),I=xe("IconBringToFrontOne"),V=xe("IconBringToFront"),B=xe("IconSentToBack"),G=xe("IconAlignLeft"),ne=xe("IconAlignVertically"),E=xe("IconAlignRight"),Z=xe("IconAlignTop"),K=xe("IconAlignHorizontally"),U=xe("IconAlignBottom");return Q(),ee("div",Cbe,[w(As,{tabs:l,value:u.value,"onUpdate:value":g[0]||(g[0]=J=>u.value=J),tabsStyle:{marginBottom:"8px"},tabStyle:{width:"30%",margin:"0 10%"}},null,8,["value"]),Y("div",Ibe,[u.value==="style"?(Q(),ee("div",Fbe,[w(xn,{class:"row"},{default:re(()=>[w(Qn,{style:{flex:"1"},checked:H(a).bold,onClick:g[1]||(g[1]=J=>A("bold"))},{default:re(()=>[w(S)]),_:1},8,["checked"]),w(Qn,{style:{flex:"1"},checked:H(a).em,onClick:g[2]||(g[2]=J=>A("em"))},{default:re(()=>[w(L)]),_:1},8,["checked"]),w(Qn,{style:{flex:"1"},checked:H(a).underline,onClick:g[3]||(g[3]=J=>A("underline"))},{default:re(()=>[w(T)]),_:1},8,["checked"]),w(Qn,{style:{flex:"1"},checked:H(a).strikethrough,onClick:g[4]||(g[4]=J=>A("strikethrough"))},{default:re(()=>[w(M)]),_:1},8,["checked"])]),_:1}),w(xn,{class:"row"},{default:re(()=>[w(nt,{style:{flex:"1"},onClick:g[5]||(g[5]=J=>A("fontsize-add"))},{default:re(()=>[w(O),Ye("+")]),_:1}),w(nt,{style:{flex:"1"},onClick:g[6]||(g[6]=J=>A("fontsize-reduce"))},{default:re(()=>[w(O),Ye("-")]),_:1})]),_:1}),w(Vt,{style:{margin:"20px 0"}}),w(_a,{class:"row","button-style":"solid",value:H(a).align,"onUpdate:value":g[7]||(g[7]=J=>A("align",J))},{default:re(()=>[w(Nn,{value:"left",style:{flex:"1"}},{default:re(()=>[w(k)]),_:1}),w(Nn,{value:"center",style:{flex:"1"}},{default:re(()=>[w(_)]),_:1}),w(Nn,{value:"right",style:{flex:"1"}},{default:re(()=>[w(N)]),_:1})]),_:1},8,["value"]),w(Vt,{style:{margin:"20px 0"}}),Y("div",_be,[Xbe,Y("div",Ebe,[(Q(),ee(Ve,null,st(t,J=>Y("div",{class:"color",key:J,onClick:le=>x(J)},[Y("div",{class:"color-block",style:we({backgroundColor:J})},null,4)],8,Wbe)),64))])]),Y("div",Vbe,[Ube,Y("div",Ybe,[(Q(),ee(Ve,null,st(t,J=>Y("div",{class:"color",key:J,onClick:le=>R(J)},[Y("div",{class:"color-block",style:we({backgroundColor:J})},null,4)],8,Qbe)),64))])])])):Be("",!0),u.value==="common"?(Q(),ee("div",Zbe,[w(xn,{class:"row"},{default:re(()=>[w(nt,{style:{flex:"1"},onClick:g[8]||(g[8]=J=>m())},{default:re(()=>[w(X,{class:"icon"}),Ye(" 复制")]),_:1}),w(nt,{style:{flex:"1"},onClick:g[9]||(g[9]=J=>H(p)())},{default:re(()=>[w(C,{class:"icon"}),Ye(" 删除")]),_:1})]),_:1}),w(Vt,{style:{margin:"20px 0"}}),w(xn,{class:"row"},{default:re(()=>[w(nt,{style:{flex:"1"},onClick:g[10]||(g[10]=J=>H(f)(H(o),H(pr).TOP))},{default:re(()=>[w(F,{class:"icon"}),Ye(" 置顶")]),_:1}),w(nt,{style:{flex:"1"},onClick:g[11]||(g[11]=J=>H(f)(H(o),H(pr).BOTTOM))},{default:re(()=>[w(I,{class:"icon"}),Ye(" 置底")]),_:1}),w(nt,{style:{flex:"1"},onClick:g[12]||(g[12]=J=>H(f)(H(o),H(pr).UP))},{default:re(()=>[w(V,{class:"icon"}),Ye(" 上移")]),_:1}),w(nt,{style:{flex:"1"},onClick:g[13]||(g[13]=J=>H(f)(H(o),H(pr).DOWN))},{default:re(()=>[w(B,{class:"icon"}),Ye(" 下移")]),_:1})]),_:1}),w(Vt,{style:{margin:"20px 0"}}),w(xn,{class:"row"},{default:re(()=>[w(nt,{style:{flex:"1"},onClick:g[14]||(g[14]=J=>H(d)(H(nn).LEFT))},{default:re(()=>[w(G,{class:"icon"}),Ye(" 左对齐")]),_:1}),w(nt,{style:{flex:"1"},onClick:g[15]||(g[15]=J=>H(d)(H(nn).HORIZONTAL))},{default:re(()=>[w(ne,{class:"icon"}),Ye(" 水平居中")]),_:1}),w(nt,{style:{flex:"1"},onClick:g[16]||(g[16]=J=>H(d)(H(nn).RIGHT))},{default:re(()=>[w(E,{class:"icon"}),Ye(" 右对齐")]),_:1})]),_:1}),w(xn,{class:"row"},{default:re(()=>[w(nt,{style:{flex:"1"},onClick:g[17]||(g[17]=J=>H(d)(H(nn).TOP))},{default:re(()=>[w(Z,{class:"icon"}),Ye(" 上对齐")]),_:1}),w(nt,{style:{flex:"1"},onClick:g[18]||(g[18]=J=>H(d)(H(nn).VERTICAL))},{default:re(()=>[w(K,{class:"icon"}),Ye(" 垂直居中")]),_:1}),w(nt,{style:{flex:"1"},onClick:g[19]||(g[19]=J=>H(d)(H(nn).BOTTOM))},{default:re(()=>[w(U,{class:"icon"}),Ye(" 下对齐")]),_:1})]),_:1})])):Be("",!0)])])}}}),Dbe=We(Bbe,[["__scopeId","data-v-65decaff"]]),Kbe={class:"mobile-editor-header"},Hbe={class:"history"},Gbe=Fe({__name:"Header",props:{changeMode:{type:Function}},setup(e){const{canUndo:t,canRedo:n}=Ee(Zg()),{redo:r,undo:o}=Jt();return(i,a)=>{const s=xe("IconBack"),c=xe("IconNext"),l=xe("IconLogout");return Q(),ee("div",Kbe,[Y("div",Hbe,[Y("div",{class:$e(["history-item",{disable:!H(t)}]),onClick:a[0]||(a[0]=Kt(u=>H(o)(),["stop"]))},[w(s),Ye(" 撤销")],2),Y("div",{class:$e(["history-item",{disable:!H(n)}]),onClick:a[1]||(a[1]=Kt(u=>H(r)(),["stop"]))},[w(c),Ye(" 重做")],2)]),Y("div",{class:"back",onClick:a[2]||(a[2]=u=>i.changeMode("preview"))},[w(l),Ye(" 退出编辑")])])}}}),Jbe=We(Gbe,[["__scopeId","data-v-091403e4"]]),zbe={class:"mobile-editor"},jbe=Fe({__name:"index",props:{changeMode:{type:Function}},setup(e){const t=ct(),n=ft(),{slideIndex:r,currentSlide:o,viewportRatio:i}=Ee(t),{activeElementIdList:a,handleElement:s}=Ee(n),c=me(),l=me(),u=me([]),f=Se(()=>o.value.background),{backgroundStyle:d}=u2(f),h=Se(()=>{if(!c.value)return 1;const L=c.value.clientWidth,T=c.value.clientHeight;return T/L>=i.value?(L-20)/Ht:(T-20)/i.value/Ht});Gt(()=>{a.value.length&&n.setActiveElementIdList([]),r.value!==0&&t.updateSlideIndex(0)});const p=Se(()=>({width:Ht*h.value+"px",height:Ht*i.value*h.value+"px"})),m=me([]);Og(()=>{m.value=o.value?JSON.parse(JSON.stringify(o.value.elements)):[]});const{dragElement:x}=hI(m,u,h),{scaleElement:R}=dI(m,u,h),{rotateElement:y}=uI(m,l,h),g=(L,T,M=!0)=>{a.value.includes(T.id)||(n.setActiveElementIdList([T.id]),n.setHandleElementId(T.id)),M&&x(L,T)},S=()=>{n.setActiveElementIdList([])};return(L,T)=>(Q(),ee("div",zbe,[w(Jbe,{changeMode:L.changeMode},null,8,["changeMode"]),Y("div",{class:"content",ref_key:"contentRef",ref:c,onTouchstart:T[0]||(T[0]=M=>S())},[Y("div",{class:"viewport-wrapper",style:we(p.value)},[Y("div",{class:"background",style:we(H(d))},null,4),(Q(!0),ee(Ve,null,st(u.value,(M,O)=>(Q(),Oe(_F,{key:O,type:M.type,axis:M.axis,length:M.length,canvasScale:h.value},null,8,["type","axis","length","canvasScale"]))),128)),(Q(!0),ee(Ve,null,st(m.value,M=>(Q(),ee(Ve,{key:M.id},[M.type!=="line"?(Q(),Oe(xbe,{key:0,elementInfo:M,isSelected:H(a).includes(M.id),canvasScale:h.value,scaleElement:H(R),rotateElement:H(y)},null,8,["elementInfo","isSelected","canvasScale","scaleElement","rotateElement"])):Be("",!0)],64))),128)),Y("div",{class:"viewport",ref_key:"viewportRef",ref:l,style:we({transform:`scale(${h.value})`})},[(Q(!0),ee(Ve,null,st(m.value,(M,O)=>(Q(),Oe(Rbe,{key:M.id,elementInfo:M,elementIndex:O+1,selectElement:g},null,8,["elementInfo","elementIndex"]))),128))],4)],4)],544),w(Pbe),H(s)?(Q(),Oe(Dbe,{key:0})):Be("",!0)]))}}),$be=We(jbe,[["__scopeId","data-v-8b282f2e"]]),qbe={class:"header"},e5e=Fe({__name:"MobilePlayer",props:{changeMode:{type:Function}},setup(e){const t=ct(),{slides:n,slideIndex:r,currentSlide:o,viewportRatio:i}=Ee(t),a=me(!1),s=me({width:0,height:0});Gt(()=>{r.value!==0&&t.updateSlideIndex(0),s.value={width:document.body.clientHeight,height:document.body.clientWidth}});const c=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}}),l=me(null),u=d=>{l.value={x:d.changedTouches[0].pageX,y:d.changedTouches[0].pageY}},f=d=>{if(!l.value)return;const h=Math.abs(l.value.y-d.changedTouches[0].pageY),p=d.changedTouches[0].pageX-l.value.x;Math.abs(p)>h&&Math.abs(p)>50&&(l.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 Q(),ee("div",{class:"mobile-player",style:we({width:s.value.width+"px",height:s.value.height+"px",transform:`rotate(90deg) translateY(-${s.value.height}px)`})},[Y("div",{class:"screen-slide-list",onClick:h[0]||(h[0]=m=>a.value=!a.value),onTouchstart:h[1]||(h[1]=m=>u(m)),onTouchend:h[2]||(h[2]=m=>f(m))},[(Q(!0),ee(Ve,null,st(H(n),(m,A)=>(Q(),ee("div",{class:$e(["slide-item",`turning-mode-${m.turningMode||"slideY"}`,{current:A===H(r),before:A<H(r),after:A>H(r),hide:(A===H(r)-1||A===H(r)+1)&&m.turningMode!==H(o).turningMode}]),key:m.id},[Math.abs(H(r)-A)<2?(Q(),ee("div",{key:0,class:"slide-content",style:we({width:c.value.width+"px",height:c.value.height+"px"})},[w(Fa,{slide:m,size:c.value.width},null,8,["slide","size"])],4)):Be("",!0)],2))),128))],32),a.value?(Q(),ee(Ve,{key:0},[Y("div",qbe,[Y("div",{class:"back",onClick:h[3]||(h[3]=m=>d.changeMode("preview"))},[w(p),Ye(" 退出播放")])]),w($_,{class:"thumbnails"})],64)):Be("",!0)],4)}}}),t5e=We(e5e,[["__scopeId","data-v-c846a018"]]),n5e={class:"thumbnail-list"},r5e={class:"menu"},o5e=Fe({__name:"MobilePreview",props:{changeMode:{type:Function}},setup(e){const{slides:t}=Ee(ct()),{slidesLoadLimit:n}=Bp(),r=me(),o=me(0);return Gt(()=>{r.value&&(o.value=r.value.clientWidth)}),(i,a)=>{const s=xe("IconEdit"),c=xe("IconFullScreenPlay");return Q(),ee("div",{class:"mobile-preview",ref_key:"mobileRef",ref:r},[Y("div",n5e,[(Q(!0),ee(Ve,null,st(H(t),(l,u)=>(Q(),ee("div",{class:"thumbnail-item",key:l.id},[w(Fa,{slide:l,size:o.value-20,visible:u<H(n)},null,8,["slide","size","visible"])]))),128))]),Y("div",r5e,[Y("div",{class:"menu-item",onClick:a[0]||(a[0]=l=>i.changeMode("editor"))},[w(s,{class:"icon"}),Ye(" 编辑")]),w(Vt,{type:"vertical",style:{height:"30px"}}),Y("div",{class:"menu-item",onClick:a[1]||(a[1]=l=>i.changeMode("player"))},[w(c,{class:"icon"}),Ye(" 播放")])])],512)}}}),i5e=We(o5e,[["__scopeId","data-v-99aa0ac4"]]),a5e={class:"mobile"},s5e=Fe({__name:"index",setup(e){const t=me("preview"),n=o=>t.value=o,r=Se(()=>({editor:$be,player:t5e,preview:i5e})[t.value]||null);return(o,i)=>(Q(),ee("div",a5e,[(Q(),Oe(xs(r.value),{changeMode:n}))]))}}),l5e=We(s5e,[["__scopeId","data-v-d02011cb"]]),c5e=Fe({__name:"App",setup(e){const t=rz(),n=ft(),r=Zg(),{databaseId:o}=Ee(n),{screening:i}=Ee(WP());return window.onbeforeunload=()=>!1,Gt(async()=>{await tz(),r.initSnapshotDatabase(),n.setAvailableFonts()}),window.addEventListener("unload",()=>{const a=localStorage.getItem(Wv),s=a?JSON.parse(a):[];s.push(o.value);const c=JSON.stringify(s);localStorage.setItem(Wv,c)}),(a,s)=>H(i)?(Q(),Oe(Abe,{key:0})):H(t)?(Q(),Oe(sxe,{key:1})):(Q(),Oe(l5e,{key:2}))}}),u5e={class:"menu-content"},f5e=["onClick"],d5e={class:"text"},h5e={key:0,class:"sub-text"},p5e=Fe({__name:"MenuContent",props:{menus:{},handleClickMenuItem:{type:Function}},setup(e){return(t,n)=>{const r=xe("menu-content",!0);return Q(),ee("ul",u5e,[(Q(!0),ee(Ve,null,st(t.menus,(o,i)=>(Q(),ee(Ve,{key:o.text||i},[o.hide?Be("",!0):(Q(),ee("li",{key:0,class:$e(["menu-item",{divider:o.divider,disable:o.disable}]),onClick:Kt(a=>t.handleClickMenuItem(o),["stop"])},[o.divider?Be("",!0):(Q(),ee("div",{key:0,class:$e(["menu-item-content",{"has-children":o.children,"has-handler":o.handler}])},[Y("span",d5e,bt(o.text),1),o.subText&&!o.children?(Q(),ee("span",h5e,bt(o.subText),1)):Be("",!0),o.children&&o.children.length?(Q(),Oe(r,{key:1,class:"sub-menu",menus:o.children,handleClickMenuItem:t.handleClickMenuItem},null,8,["menus","handleClickMenuItem"])):Be("",!0)],2))],10,f5e))],64))),128))])}}}),m5e=We(p5e,[["__scopeId","data-v-b0ce5ca5"]]),v5e=Fe({__name:"index",props:{axis:{},el:{},menus:{},removeContextmenu:{type:Function}},setup(e){const t=e,n=Se(()=>{const{x:c,y:l}=t.axis,u=t.menus.filter(A=>!(A.divider||A.hide)).length,f=t.menus.filter(A=>A.divider).length,d=170,h=u*30+f*11+5*2,p=document.body.clientWidth,m=document.body.clientHeight;return{left:p<=c+d?c-d:c,top:m<=l+h?l-h:l}}),r=o=>{o.disable||o.children&&!o.handler||(o.handler&&o.handler(t.el),t.removeContextmenu())};return(o,i)=>(Q(),ee(Ve,null,[Y("div",{class:"mask",onContextmenu:i[0]||(i[0]=Kt(a=>o.removeContextmenu(),["prevent"])),onMousedown:i[1]||(i[1]=a=>o.removeContextmenu())},null,32),Y("div",{class:"contextmenu",style:we({left:n.value.left+"px",top:n.value.top+"px"}),onContextmenu:i[2]||(i[2]=Kt(()=>{},["prevent"]))},[w(m5e,{menus:o.menus,handleClickMenuItem:r},null,8,["menus"])],36)],64))}}),L0="CTX_CONTEXTMENU_HANDLER",g5e=(e,t,n)=>{t.stopPropagation(),t.preventDefault();const r=n.value(e);if(!r)return;let o=null;const i=()=>{o&&(document.body.removeChild(o),o=null),e.classList.remove("contextmenu-active"),document.body.removeEventListener("scroll",i),window.removeEventListener("resize",i)},a={axis:{x:t.x,y:t.y},el:e,menus:r,removeContextmenu:i};o=document.createElement("div");const s=w(v5e,a,null);bd(s,o),document.body.appendChild(o),e.classList.add("contextmenu-active"),document.body.addEventListener("scroll",i),window.addEventListener("resize",i)},A5e={mounted(e,t){e[L0]=n=>g5e(e,n,t),e.addEventListener("contextmenu",e[L0])},unmounted(e){e&&e[L0]&&(e.removeEventListener("contextmenu",e[L0]),delete e[L0])}},O0="CTX_CLICK_OUTSIDE_HANDLER",R5e=(e,t,n)=>{const r=n.value,o=t.composedPath();(o?o.indexOf(e)<0:!e.contains(t.target))&&r(t)},y5e={mounted(e,t){e[O0]=n=>R5e(e,n,t),setTimeout(()=>{document.addEventListener("click",e[O0])},0)},unmounted(e){e[O0]&&(document.removeEventListener("click",e[O0]),delete e[O0])}},T0="TOOLTIP_INSTANCE",x5e={mounted(e,t){let n="",r="top",o=[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&&(o=t.value.delay)),e[T0]=ef(e,{content:n,theme:"tooltip",duration:100,animation:"scale",allowHTML:!0,placement:r,delay:o})},updated(e,t){let n="";typeof t.value=="string"?n=t.value:n=t.value.content,e[T0]&&e[T0].setContent(n)},unmounted(e){e[T0]&&e[T0].destroy()}},b5e={install(e){e.directive("contextmenu",A5e),e.directive("click-outside",y5e),e.directive("tooltip",x5e)}},w2=eN(c5e);w2.use($$);w2.use(b5e);w2.use(_K());w2.mount("#app");