@zyzgroup/core-vue 0.0.12 → 0.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/README.md +0 -17
  2. package/ce/style.css +1 -1
  3. package/ce/yz_custom_element.iife.js +58 -37
  4. package/ce/yz_custom_element.iife.js.map +1 -1
  5. package/ce/yz_custom_element.js +18390 -8803
  6. package/ce/yz_custom_element.js.map +1 -1
  7. package/ce/yz_custom_element.umd.cjs +58 -37
  8. package/ce/yz_custom_element.umd.cjs.map +1 -1
  9. package/dist/style.css +1 -1
  10. package/dist/zyzgroup_core_vue.iife.js +27 -15
  11. package/dist/zyzgroup_core_vue.iife.js.map +1 -1
  12. package/dist/zyzgroup_core_vue.js +15301 -5991
  13. package/dist/zyzgroup_core_vue.js.map +1 -1
  14. package/dist/zyzgroup_core_vue.umd.cjs +27 -15
  15. package/dist/zyzgroup_core_vue.umd.cjs.map +1 -1
  16. package/package.json +1 -1
  17. package/types/components/Accordion.ce.vue.d.ts +78 -0
  18. package/types/components/Accordion.vue.d.ts +78 -0
  19. package/types/components/AnimatePanel.ce.vue.d.ts +34 -0
  20. package/types/components/AnimatePanel.vue.d.ts +34 -0
  21. package/types/components/Dialog.ce.vue.d.ts +1 -1
  22. package/types/components/Dialog.vue.d.ts +1 -1
  23. package/types/components/DialogLoading.ce.vue.d.ts +1 -1
  24. package/types/components/DialogLoading.vue.d.ts +1 -1
  25. package/types/components/EaseGraphDisplay.ce.vue.d.ts +71 -0
  26. package/types/components/EaseGraphDisplay.vue.d.ts +71 -0
  27. package/types/components/EaseGroupGraphDisplay.ce.vue.d.ts +55 -0
  28. package/types/components/EaseGroupGraphDisplay.vue.d.ts +55 -0
  29. package/types/components/FPSStats.ce.vue.d.ts +2 -0
  30. package/types/components/FPSStats.vue.d.ts +2 -0
  31. package/types/components/HandWritePanel.ce.vue.d.ts +61 -0
  32. package/types/components/HandWritePanel.vue.d.ts +61 -0
  33. package/types/components/Input.ce.vue.d.ts +103 -0
  34. package/types/components/Input.vue.d.ts +103 -0
  35. package/types/components/InterpolationGraphDisplay.ce.vue.d.ts +54 -0
  36. package/types/components/InterpolationGraphDisplay.vue.d.ts +54 -0
  37. package/types/components/InterpolationGroupGraphDisplay.ce.vue.d.ts +45 -0
  38. package/types/components/InterpolationGroupGraphDisplay.vue.d.ts +45 -0
  39. package/types/components/MobileLayout.ce.vue.d.ts +6 -36
  40. package/types/components/MobileLayout.vue.d.ts +6 -36
  41. package/types/components/Overlay.ce.vue.d.ts +5 -0
  42. package/types/components/Overlay.vue.d.ts +5 -0
  43. package/types/components/PlateKeyboard.ce.vue.d.ts +1 -1
  44. package/types/components/PlateKeyboard.vue.d.ts +1 -1
  45. package/types/components/Pop.ce.vue.d.ts +9 -4
  46. package/types/components/Pop.vue.d.ts +9 -4
  47. package/types/components/Popover.ce.vue.d.ts +5 -0
  48. package/types/components/Popover.vue.d.ts +5 -0
  49. package/types/components/ProgressBar.ce.vue.d.ts +61 -0
  50. package/types/components/ProgressBar.vue.d.ts +61 -0
  51. package/types/components/SlideLeftItem.ce.vue.d.ts +5 -0
  52. package/types/components/SlideLeftItem.vue.d.ts +5 -0
  53. package/types/components/Video.ce.vue.d.ts +55 -0
  54. package/types/components/Video.vue.d.ts +55 -0
  55. package/types/components/bg/BGBar.ce.vue.d.ts +49 -0
  56. package/types/components/bg/BGBar.vue.d.ts +49 -0
  57. package/types/components/svg/SVGDown.ce.vue.d.ts +36 -0
  58. package/types/components/svg/SVGDown.vue.d.ts +36 -0
  59. package/types/components/svg/SVGLock.ce.vue.d.ts +36 -0
  60. package/types/components/svg/SVGLock.vue.d.ts +36 -0
  61. package/types/lib.d.ts +12 -1
@@ -1,34 +1,34 @@
1
- var YZCustomElement=function(lo){"use strict";/**
1
+ var YZCustomElement=function(hr){"use strict";/**
2
2
  * @vue/shared v3.4.25
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
- **//*! #__NO_SIDE_EFFECTS__ */function Gt(t,e){const o=new Set(t.split(","));return e?n=>o.has(n.toLowerCase()):n=>o.has(n)}const ae={}.NODE_ENV!=="production"?Object.freeze({}):{},Kt={}.NODE_ENV!=="production"?Object.freeze([]):[],ge=()=>{},Bl=()=>!1,co=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Fo=t=>t.startsWith("onUpdate:"),de=Object.assign,zn=(t,e)=>{const o=t.indexOf(e);o>-1&&t.splice(o,1)},Wl=Object.prototype.hasOwnProperty,Z=(t,e)=>Wl.call(t,e),F=Array.isArray,$t=t=>zo(t)==="[object Map]",Cs=t=>zo(t)==="[object Set]",W=t=>typeof t=="function",me=t=>typeof t=="string",Tt=t=>typeof t=="symbol",ie=t=>t!==null&&typeof t=="object",Hn=t=>(ie(t)||W(t))&&W(t.then)&&W(t.catch),ks=Object.prototype.toString,zo=t=>ks.call(t),Bn=t=>zo(t).slice(8,-1),Ns=t=>zo(t)==="[object Object]",Wn=t=>me(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,uo=Gt(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ul=Gt("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Ho=t=>{const e=Object.create(null);return o=>e[o]||(e[o]=t(o))},Gl=/-(\w)/g,Re=Ho(t=>t.replace(Gl,(e,o)=>o?o.toUpperCase():"")),Kl=/\B([A-Z])/g,je=Ho(t=>t.replace(Kl,"-$1").toLowerCase()),Dt=Ho(t=>t.charAt(0).toUpperCase()+t.slice(1)),Pt=Ho(t=>t?`on${Dt(t)}`:""),gt=(t,e)=>!Object.is(t,e),fo=(t,e)=>{for(let o=0;o<t.length;o++)t[o](e)},Os=(t,e,o)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:o})},ql=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Ss=t=>{const e=me(t)?Number(t):NaN;return isNaN(e)?t:e};let $s;const Un=()=>$s||($s=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function R(t){if(F(t)){const e={};for(let o=0;o<t.length;o++){const n=t[o],i=me(n)?Jl(n):R(n);if(i)for(const s in i)e[s]=i[s]}return e}else if(me(t)||ie(t))return t}const Yl=/;(?![^(]*\))/g,Zl=/:([^]+)/,Xl=/\/\*[^]*?\*\//g;function Jl(t){const e={};return t.replace(Xl,"").split(Yl).forEach(o=>{if(o){const n=o.split(Zl);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function U(t){let e="";if(me(t))e=t;else if(F(t))for(let o=0;o<t.length;o++){const n=U(t[o]);n&&(e+=n+" ")}else if(ie(t))for(const o in t)t[o]&&(e+=o+" ");return e.trim()}const Ql=Gt("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Ts(t){return!!t||t===""}const Oe=t=>me(t)?t:t==null?"":F(t)||ie(t)&&(t.toString===ks||!W(t.toString))?JSON.stringify(t,Ds,2):String(t),Ds=(t,e)=>e&&e.__v_isRef?Ds(t,e.value):$t(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((o,[n,i],s)=>(o[Gn(n,s)+" =>"]=i,o),{})}:Cs(e)?{[`Set(${e.size})`]:[...e.values()].map(o=>Gn(o))}:Tt(e)?Gn(e):ie(e)&&!F(e)&&!Ns(e)?String(e):e,Gn=(t,e="")=>{var o;return Tt(t)?`Symbol(${(o=t.description)!=null?o:e})`:t};/**
5
+ **//*! #__NO_SIDE_EFFECTS__ */function Ri(e,t){const n=new Set(e.split(","));return t?i=>n.has(i.toLowerCase()):i=>n.has(i)}const ge={}.NODE_ENV!=="production"?Object.freeze({}):{},Fi={}.NODE_ENV!=="production"?Object.freeze([]):[],ke=()=>{},Lf=()=>!1,fr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Jr=e=>e.startsWith("onUpdate:"),_e=Object.assign,bo=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Rf=Object.prototype.hasOwnProperty,ne=(e,t)=>Rf.call(e,t),zt=Array.isArray,hi=e=>ts(e)==="[object Map]",Cl=e=>ts(e)==="[object Set]",qt=e=>typeof e=="function",Ee=e=>typeof e=="string",fi=e=>typeof e=="symbol",de=e=>e!==null&&typeof e=="object",wo=e=>(de(e)||qt(e))&&qt(e.then)&&qt(e.catch),Tl=Object.prototype.toString,ts=e=>Tl.call(e),Eo=e=>ts(e).slice(8,-1),kl=e=>ts(e)==="[object Object]",Co=e=>Ee(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,dr=Ri(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ff=Ri("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),es=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},$f=/-(\w)/g,en=es(e=>e.replace($f,(t,n)=>n?n.toUpperCase():"")),Vf=/\B([A-Z])/g,nn=es(e=>e.replace(Vf,"-$1").toLowerCase()),di=es(e=>e.charAt(0).toUpperCase()+e.slice(1)),pi=es(e=>e?`on${di(e)}`:""),Xn=(e,t)=>!Object.is(e,t),pr=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Sl=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},zf=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Nl=e=>{const t=Ee(e)?Number(e):NaN;return isNaN(t)?e:t};let Pl;const To=()=>Pl||(Pl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Lt(e){if(zt(e)){const t={};for(let n=0;n<e.length;n++){const i=e[n],r=Ee(i)?Hf(i):Lt(i);if(r)for(const s in r)t[s]=r[s]}return t}else if(Ee(e)||de(e))return e}const Bf=/;(?![^(]*\))/g,Gf=/:([^]+)/,jf=/\/\*[^]*?\*\//g;function Hf(e){const t={};return e.replace(jf,"").split(Bf).forEach(n=>{if(n){const i=n.split(Gf);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function Ae(e){let t="";if(Ee(e))t=e;else if(zt(e))for(let n=0;n<e.length;n++){const i=Ae(e[n]);i&&(t+=i+" ")}else if(de(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Uf=Ri("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Ol(e){return!!e||e===""}const re=e=>Ee(e)?e:e==null?"":zt(e)||de(e)&&(e.toString===Tl||!qt(e.toString))?JSON.stringify(e,Il,2):String(e),Il=(e,t)=>t&&t.__v_isRef?Il(e,t.value):hi(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[i,r],s)=>(n[ko(i,s)+" =>"]=r,n),{})}:Cl(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ko(n))}:fi(t)?ko(t):de(t)&&!zt(t)&&!kl(t)?String(t):t,ko=(e,t="")=>{var n;return fi(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
6
6
  * @vue/reactivity v3.4.25
7
7
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
8
8
  * @license MIT
9
- **/function yt(t,...e){console.warn(`[Vue warn] ${t}`,...e)}let Be;class ec{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Be,!e&&Be&&(this.index=(Be.scopes||(Be.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const o=Be;try{return Be=this,e()}finally{Be=o}}else({}).NODE_ENV!=="production"&&yt("cannot run an inactive effect scope.")}on(){Be=this}off(){Be=this.parent}stop(e){if(this._active){let o,n;for(o=0,n=this.effects.length;o<n;o++)this.effects[o].stop();for(o=0,n=this.cleanups.length;o<n;o++)this.cleanups[o]();if(this.scopes)for(o=0,n=this.scopes.length;o<n;o++)this.scopes[o].stop(!0);if(!this.detached&&this.parent&&!e){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this._active=!1}}}function tc(t,e=Be){e&&e.active&&e.effects.push(t)}function oc(){return Be}let Lt;class Kn{constructor(e,o,n,i){this.fn=e,this.trigger=o,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,tc(this,i)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,nt();for(let e=0;e<this._depsLength;e++){const o=this.deps[e];if(o.computed&&(nc(o.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),it()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=bt,o=Lt;try{return bt=!0,Lt=this,this._runnings++,Ps(this),this.fn()}finally{Ls(this),this._runnings--,Lt=o,bt=e}}stop(){var e;this.active&&(Ps(this),Ls(this),(e=this.onStop)==null||e.call(this),this.active=!1)}}function nc(t){return t.value}function Ps(t){t._trackId++,t._depsLength=0}function Ls(t){if(t.deps.length>t._depsLength){for(let e=t._depsLength;e<t.deps.length;e++)Vs(t.deps[e],t);t.deps.length=t._depsLength}}function Vs(t,e){const o=t.get(e);o!==void 0&&e._trackId!==o&&(t.delete(e),t.size===0&&t.cleanup())}let bt=!0,qn=0;const Is=[];function nt(){Is.push(bt),bt=!1}function it(){const t=Is.pop();bt=t===void 0?!0:t}function Yn(){qn++}function Zn(){for(qn--;!qn&&Xn.length;)Xn.shift()()}function Ms(t,e,o){var n;if(e.get(t)!==t._trackId){e.set(t,t._trackId);const i=t.deps[t._depsLength];i!==e?(i&&Vs(i,t),t.deps[t._depsLength++]=e):t._depsLength++,{}.NODE_ENV!=="production"&&((n=t.onTrack)==null||n.call(t,de({effect:t},o)))}}const Xn=[];function As(t,e,o){var n;Yn();for(const i of t.keys()){let s;i._dirtyLevel<e&&(s??(s=t.get(i)===i._trackId))&&(i._shouldSchedule||(i._shouldSchedule=i._dirtyLevel===0),i._dirtyLevel=e),i._shouldSchedule&&(s??(s=t.get(i)===i._trackId))&&({}.NODE_ENV!=="production"&&((n=i.onTrigger)==null||n.call(i,de({effect:i},o))),i.trigger(),(!i._runnings||i.allowRecurse)&&i._dirtyLevel!==2&&(i._shouldSchedule=!1,i.scheduler&&Xn.push(i.scheduler)))}Zn()}const Rs=(t,e)=>{const o=new Map;return o.cleanup=t,o.computed=e,o},Jn=new WeakMap,Vt=Symbol({}.NODE_ENV!=="production"?"iterate":""),Qn=Symbol({}.NODE_ENV!=="production"?"Map key iterate":"");function Se(t,e,o){if(bt&&Lt){let n=Jn.get(t);n||Jn.set(t,n=new Map);let i=n.get(o);i||n.set(o,i=Rs(()=>n.delete(o))),Ms(Lt,i,{}.NODE_ENV!=="production"?{target:t,type:e,key:o}:void 0)}}function Ze(t,e,o,n,i,s){const r=Jn.get(t);if(!r)return;let a=[];if(e==="clear")a=[...r.values()];else if(o==="length"&&F(t)){const l=Number(n);r.forEach((c,d)=>{(d==="length"||!Tt(d)&&d>=l)&&a.push(c)})}else switch(o!==void 0&&a.push(r.get(o)),e){case"add":F(t)?Wn(o)&&a.push(r.get("length")):(a.push(r.get(Vt)),$t(t)&&a.push(r.get(Qn)));break;case"delete":F(t)||(a.push(r.get(Vt)),$t(t)&&a.push(r.get(Qn)));break;case"set":$t(t)&&a.push(r.get(Vt));break}Yn();for(const l of a)l&&As(l,4,{}.NODE_ENV!=="production"?{target:t,type:e,key:o,newValue:n,oldValue:i,oldTarget:s}:void 0);Zn()}const ic=Gt("__proto__,__v_isRef,__isVue"),js=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Tt)),Fs=sc();function sc(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...o){const n=Y(this);for(let s=0,r=this.length;s<r;s++)Se(n,"get",s+"");const i=n[e](...o);return i===-1||i===!1?n[e](...o.map(Y)):i}}),["push","pop","shift","unshift","splice"].forEach(e=>{t[e]=function(...o){nt(),Yn();const n=Y(this)[e].apply(this,o);return Zn(),it(),n}}),t}function rc(t){Tt(t)||(t=String(t));const e=Y(this);return Se(e,"has",t),e.hasOwnProperty(t)}class zs{constructor(e=!1,o=!1){this._isReadonly=e,this._isShallow=o}get(e,o,n){const i=this._isReadonly,s=this._isShallow;if(o==="__v_isReactive")return!i;if(o==="__v_isReadonly")return i;if(o==="__v_isShallow")return s;if(o==="__v_raw")return n===(i?s?Js:Xs:s?Zs:Ys).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const r=F(e);if(!i){if(r&&Z(Fs,o))return Reflect.get(Fs,o,n);if(o==="hasOwnProperty")return rc}const a=Reflect.get(e,o,n);return(Tt(o)?js.has(o):ic(o))||(i||Se(e,"get",o),s)?a:$e(a)?r&&Wn(o)?a:a.value:ie(a)?i?Qs(a):Fe(a):a}}class Hs extends zs{constructor(e=!1){super(!1,e)}set(e,o,n,i){let s=e[o];if(!this._isShallow){const l=It(s);if(!Mt(n)&&!It(n)&&(s=Y(s),n=Y(n)),!F(e)&&$e(s)&&!$e(n))return l?!1:(s.value=n,!0)}const r=F(e)&&Wn(o)?Number(o)<e.length:Z(e,o),a=Reflect.set(e,o,n,i);return e===Y(i)&&(r?gt(n,s)&&Ze(e,"set",o,n,s):Ze(e,"add",o,n)),a}deleteProperty(e,o){const n=Z(e,o),i=e[o],s=Reflect.deleteProperty(e,o);return s&&n&&Ze(e,"delete",o,void 0,i),s}has(e,o){const n=Reflect.has(e,o);return(!Tt(o)||!js.has(o))&&Se(e,"has",o),n}ownKeys(e){return Se(e,"iterate",F(e)?"length":Vt),Reflect.ownKeys(e)}}class Bs extends zs{constructor(e=!1){super(!0,e)}set(e,o){return{}.NODE_ENV!=="production"&&yt(`Set operation on key "${String(o)}" failed: target is readonly.`,e),!0}deleteProperty(e,o){return{}.NODE_ENV!=="production"&&yt(`Delete operation on key "${String(o)}" failed: target is readonly.`,e),!0}}const ac=new Hs,lc=new Bs,cc=new Hs(!0),uc=new Bs(!0),ei=t=>t,Bo=t=>Reflect.getPrototypeOf(t);function Wo(t,e,o=!1,n=!1){t=t.__v_raw;const i=Y(t),s=Y(e);o||(gt(e,s)&&Se(i,"get",e),Se(i,"get",s));const{has:r}=Bo(i),a=n?ei:o?oi:po;if(r.call(i,e))return a(t.get(e));if(r.call(i,s))return a(t.get(s));t!==i&&t.get(e)}function Uo(t,e=!1){const o=this.__v_raw,n=Y(o),i=Y(t);return e||(gt(t,i)&&Se(n,"has",t),Se(n,"has",i)),t===i?o.has(t):o.has(t)||o.has(i)}function Go(t,e=!1){return t=t.__v_raw,!e&&Se(Y(t),"iterate",Vt),Reflect.get(t,"size",t)}function Ws(t){t=Y(t);const e=Y(this);return Bo(e).has.call(e,t)||(e.add(t),Ze(e,"add",t,t)),this}function Us(t,e){e=Y(e);const o=Y(this),{has:n,get:i}=Bo(o);let s=n.call(o,t);s?{}.NODE_ENV!=="production"&&qs(o,n,t):(t=Y(t),s=n.call(o,t));const r=i.call(o,t);return o.set(t,e),s?gt(e,r)&&Ze(o,"set",t,e,r):Ze(o,"add",t,e),this}function Gs(t){const e=Y(this),{has:o,get:n}=Bo(e);let i=o.call(e,t);i?{}.NODE_ENV!=="production"&&qs(e,o,t):(t=Y(t),i=o.call(e,t));const s=n?n.call(e,t):void 0,r=e.delete(t);return i&&Ze(e,"delete",t,void 0,s),r}function Ks(){const t=Y(this),e=t.size!==0,o={}.NODE_ENV!=="production"?$t(t)?new Map(t):new Set(t):void 0,n=t.clear();return e&&Ze(t,"clear",void 0,void 0,o),n}function Ko(t,e){return function(n,i){const s=this,r=s.__v_raw,a=Y(r),l=e?ei:t?oi:po;return!t&&Se(a,"iterate",Vt),r.forEach((c,d)=>n.call(i,l(c),l(d),s))}}function qo(t,e,o){return function(...n){const i=this.__v_raw,s=Y(i),r=$t(s),a=t==="entries"||t===Symbol.iterator&&r,l=t==="keys"&&r,c=i[t](...n),d=o?ei:e?oi:po;return!e&&Se(s,"iterate",l?Qn:Vt),{next(){const{value:f,done:u}=c.next();return u?{value:f,done:u}:{value:a?[d(f[0]),d(f[1])]:d(f),done:u}},[Symbol.iterator](){return this}}}}function _t(t){return function(...e){if({}.NODE_ENV!=="production"){const o=e[0]?`on key "${e[0]}" `:"";yt(`${Dt(t)} operation ${o}failed: target is readonly.`,Y(this))}return t==="delete"?!1:t==="clear"?void 0:this}}function dc(){const t={get(s){return Wo(this,s)},get size(){return Go(this)},has:Uo,add:Ws,set:Us,delete:Gs,clear:Ks,forEach:Ko(!1,!1)},e={get(s){return Wo(this,s,!1,!0)},get size(){return Go(this)},has:Uo,add:Ws,set:Us,delete:Gs,clear:Ks,forEach:Ko(!1,!0)},o={get(s){return Wo(this,s,!0)},get size(){return Go(this,!0)},has(s){return Uo.call(this,s,!0)},add:_t("add"),set:_t("set"),delete:_t("delete"),clear:_t("clear"),forEach:Ko(!0,!1)},n={get(s){return Wo(this,s,!0,!0)},get size(){return Go(this,!0)},has(s){return Uo.call(this,s,!0)},add:_t("add"),set:_t("set"),delete:_t("delete"),clear:_t("clear"),forEach:Ko(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{t[s]=qo(s,!1,!1),o[s]=qo(s,!0,!1),e[s]=qo(s,!1,!0),n[s]=qo(s,!0,!0)}),[t,o,e,n]}const[fc,pc,hc,mc]=dc();function Yo(t,e){const o=e?t?mc:hc:t?pc:fc;return(n,i,s)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?n:Reflect.get(Z(o,i)&&i in n?o:n,i,s)}const vc={get:Yo(!1,!1)},gc={get:Yo(!1,!0)},yc={get:Yo(!0,!1)},bc={get:Yo(!0,!0)};function qs(t,e,o){const n=Y(o);if(n!==o&&e.call(t,n)){const i=Bn(t);yt(`Reactive ${i} contains both the raw and reactive versions of the same object${i==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Ys=new WeakMap,Zs=new WeakMap,Xs=new WeakMap,Js=new WeakMap;function _c(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function xc(t){return t.__v_skip||!Object.isExtensible(t)?0:_c(Bn(t))}function Fe(t){return It(t)?t:Zo(t,!1,ac,vc,Ys)}function wc(t){return Zo(t,!1,cc,gc,Zs)}function Qs(t){return Zo(t,!0,lc,yc,Xs)}function st(t){return Zo(t,!0,uc,bc,Js)}function Zo(t,e,o,n,i){if(!ie(t))return{}.NODE_ENV!=="production"&&yt(`value cannot be made reactive: ${String(t)}`),t;if(t.__v_raw&&!(e&&t.__v_isReactive))return t;const s=i.get(t);if(s)return s;const r=xc(t);if(r===0)return t;const a=new Proxy(t,r===2?n:o);return i.set(t,a),a}function qt(t){return It(t)?qt(t.__v_raw):!!(t&&t.__v_isReactive)}function It(t){return!!(t&&t.__v_isReadonly)}function Mt(t){return!!(t&&t.__v_isShallow)}function ti(t){return t?!!t.__v_raw:!1}function Y(t){const e=t&&t.__v_raw;return e?Y(e):t}function Ec(t){return Object.isExtensible(t)&&Os(t,"__v_skip",!0),t}const po=t=>ie(t)?Fe(t):t,oi=t=>ie(t)?Qs(t):t,Cc="Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free";class er{constructor(e,o,n,i){this.getter=e,this._setter=o,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Kn(()=>e(this._value),()=>Xo(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=n}get value(){const e=Y(this);return(!e._cacheable||e.effect.dirty)&&gt(e._value,e._value=e.effect.run())&&Xo(e,4),tr(e),e.effect._dirtyLevel>=2&&({}.NODE_ENV!=="production"&&this._warnRecursive&&yt(Cc,`
9
+ **/function Kn(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let dn;class Wf{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=dn,!t&&dn&&(this.index=(dn.scopes||(dn.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=dn;try{return dn=this,t()}finally{dn=n}}else({}).NODE_ENV!=="production"&&Kn("cannot run an inactive effect scope.")}on(){dn=this}off(){dn=this.parent}stop(t){if(this._active){let n,i;for(n=0,i=this.effects.length;n<i;n++)this.effects[n].stop();for(n=0,i=this.cleanups.length;n<i;n++)this.cleanups[n]();if(this.scopes)for(n=0,i=this.scopes.length;n<i;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function qf(e,t=dn){t&&t.active&&t.effects.push(e)}function Yf(){return dn}let mi;class So{constructor(t,n,i,r){this.fn=t,this.trigger=n,this.scheduler=i,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,qf(this,r)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,Pn();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(Xf(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),On()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Zn,n=mi;try{return Zn=!0,mi=this,this._runnings++,Ml(this),this.fn()}finally{Al(this),this._runnings--,mi=n,Zn=t}}stop(){var t;this.active&&(Ml(this),Al(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Xf(e){return e.value}function Ml(e){e._trackId++,e._depsLength=0}function Al(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Dl(e.deps[t],e);e.deps.length=e._depsLength}}function Dl(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let Zn=!0,No=0;const Ll=[];function Pn(){Ll.push(Zn),Zn=!1}function On(){const e=Ll.pop();Zn=e===void 0?!0:e}function Po(){No++}function Oo(){for(No--;!No&&Io.length;)Io.shift()()}function Rl(e,t,n){var i;if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&Dl(r,e),e.deps[e._depsLength++]=t):e._depsLength++,{}.NODE_ENV!=="production"&&((i=e.onTrack)==null||i.call(e,_e({effect:e},n)))}}const Io=[];function Fl(e,t,n){var i;Po();for(const r of e.keys()){let s;r._dirtyLevel<t&&(s??(s=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=t),r._shouldSchedule&&(s??(s=e.get(r)===r._trackId))&&({}.NODE_ENV!=="production"&&((i=r.onTrigger)==null||i.call(r,_e({effect:r},n))),r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&Io.push(r.scheduler)))}Oo()}const $l=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Mo=new WeakMap,gi=Symbol({}.NODE_ENV!=="production"?"iterate":""),Ao=Symbol({}.NODE_ENV!=="production"?"Map key iterate":"");function Le(e,t,n){if(Zn&&mi){let i=Mo.get(e);i||Mo.set(e,i=new Map);let r=i.get(n);r||i.set(n,r=$l(()=>i.delete(n))),Rl(mi,r,{}.NODE_ENV!=="production"?{target:e,type:t,key:n}:void 0)}}function xn(e,t,n,i,r,s){const o=Mo.get(e);if(!o)return;let a=[];if(t==="clear")a=[...o.values()];else if(n==="length"&&zt(e)){const l=Number(i);o.forEach((f,p)=>{(p==="length"||!fi(p)&&p>=l)&&a.push(f)})}else switch(n!==void 0&&a.push(o.get(n)),t){case"add":zt(e)?Co(n)&&a.push(o.get("length")):(a.push(o.get(gi)),hi(e)&&a.push(o.get(Ao)));break;case"delete":zt(e)||(a.push(o.get(gi)),hi(e)&&a.push(o.get(Ao)));break;case"set":hi(e)&&a.push(o.get(gi));break}Po();for(const l of a)l&&Fl(l,4,{}.NODE_ENV!=="production"?{target:e,type:t,key:n,newValue:i,oldValue:r,oldTarget:s}:void 0);Oo()}const Kf=Ri("__proto__,__v_isRef,__isVue"),Vl=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(fi)),zl=Zf();function Zf(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const i=Jt(this);for(let s=0,o=this.length;s<o;s++)Le(i,"get",s+"");const r=i[t](...n);return r===-1||r===!1?i[t](...n.map(Jt)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Pn(),Po();const i=Jt(this)[t].apply(this,n);return Oo(),On(),i}}),e}function Qf(e){fi(e)||(e=String(e));const t=Jt(this);return Le(t,"has",e),t.hasOwnProperty(e)}class Bl{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,i){const r=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return s;if(n==="__v_raw")return i===(r?s?Ql:Zl:s?Kl:Xl).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(i)?t:void 0;const o=zt(t);if(!r){if(o&&ne(zl,n))return Reflect.get(zl,n,i);if(n==="hasOwnProperty")return Qf}const a=Reflect.get(t,n,i);return(fi(n)?Vl.has(n):Kf(n))||(r||Le(t,"get",n),s)?a:Re(a)?o&&Co(n)?a:a.value:de(a)?r?Jl(a):qe(a):a}}class Gl extends Bl{constructor(t=!1){super(!1,t)}set(t,n,i,r){let s=t[n];if(!this._isShallow){const l=vi(s);if(!yi(i)&&!vi(i)&&(s=Jt(s),i=Jt(i)),!zt(t)&&Re(s)&&!Re(i))return l?!1:(s.value=i,!0)}const o=zt(t)&&Co(n)?Number(n)<t.length:ne(t,n),a=Reflect.set(t,n,i,r);return t===Jt(r)&&(o?Xn(i,s)&&xn(t,"set",n,i,s):xn(t,"add",n,i)),a}deleteProperty(t,n){const i=ne(t,n),r=t[n],s=Reflect.deleteProperty(t,n);return s&&i&&xn(t,"delete",n,void 0,r),s}has(t,n){const i=Reflect.has(t,n);return(!fi(n)||!Vl.has(n))&&Le(t,"has",n),i}ownKeys(t){return Le(t,"iterate",zt(t)?"length":gi),Reflect.ownKeys(t)}}class jl extends Bl{constructor(t=!1){super(!0,t)}set(t,n){return{}.NODE_ENV!=="production"&&Kn(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return{}.NODE_ENV!=="production"&&Kn(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const Jf=new Gl,td=new jl,ed=new Gl(!0),nd=new jl(!0),Do=e=>e,ns=e=>Reflect.getPrototypeOf(e);function is(e,t,n=!1,i=!1){e=e.__v_raw;const r=Jt(e),s=Jt(t);n||(Xn(t,s)&&Le(r,"get",t),Le(r,"get",s));const{has:o}=ns(r),a=i?Do:n?Ro:mr;if(o.call(r,t))return a(e.get(t));if(o.call(r,s))return a(e.get(s));e!==r&&e.get(t)}function rs(e,t=!1){const n=this.__v_raw,i=Jt(n),r=Jt(e);return t||(Xn(e,r)&&Le(i,"has",e),Le(i,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function ss(e,t=!1){return e=e.__v_raw,!t&&Le(Jt(e),"iterate",gi),Reflect.get(e,"size",e)}function Hl(e){e=Jt(e);const t=Jt(this);return ns(t).has.call(t,e)||(t.add(e),xn(t,"add",e,e)),this}function Ul(e,t){t=Jt(t);const n=Jt(this),{has:i,get:r}=ns(n);let s=i.call(n,e);s?{}.NODE_ENV!=="production"&&Yl(n,i,e):(e=Jt(e),s=i.call(n,e));const o=r.call(n,e);return n.set(e,t),s?Xn(t,o)&&xn(n,"set",e,t,o):xn(n,"add",e,t),this}function Wl(e){const t=Jt(this),{has:n,get:i}=ns(t);let r=n.call(t,e);r?{}.NODE_ENV!=="production"&&Yl(t,n,e):(e=Jt(e),r=n.call(t,e));const s=i?i.call(t,e):void 0,o=t.delete(e);return r&&xn(t,"delete",e,void 0,s),o}function ql(){const e=Jt(this),t=e.size!==0,n={}.NODE_ENV!=="production"?hi(e)?new Map(e):new Set(e):void 0,i=e.clear();return t&&xn(e,"clear",void 0,void 0,n),i}function os(e,t){return function(i,r){const s=this,o=s.__v_raw,a=Jt(o),l=t?Do:e?Ro:mr;return!e&&Le(a,"iterate",gi),o.forEach((f,p)=>i.call(r,l(f),l(p),s))}}function as(e,t,n){return function(...i){const r=this.__v_raw,s=Jt(r),o=hi(s),a=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,f=r[e](...i),p=n?Do:t?Ro:mr;return!t&&Le(s,"iterate",l?Ao:gi),{next(){const{value:m,done:y}=f.next();return y?{value:m,done:y}:{value:a?[p(m[0]),p(m[1])]:p(m),done:y}},[Symbol.iterator](){return this}}}}function Qn(e){return function(...t){if({}.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";Kn(`${di(e)} operation ${n}failed: target is readonly.`,Jt(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function id(){const e={get(s){return is(this,s)},get size(){return ss(this)},has:rs,add:Hl,set:Ul,delete:Wl,clear:ql,forEach:os(!1,!1)},t={get(s){return is(this,s,!1,!0)},get size(){return ss(this)},has:rs,add:Hl,set:Ul,delete:Wl,clear:ql,forEach:os(!1,!0)},n={get(s){return is(this,s,!0)},get size(){return ss(this,!0)},has(s){return rs.call(this,s,!0)},add:Qn("add"),set:Qn("set"),delete:Qn("delete"),clear:Qn("clear"),forEach:os(!0,!1)},i={get(s){return is(this,s,!0,!0)},get size(){return ss(this,!0)},has(s){return rs.call(this,s,!0)},add:Qn("add"),set:Qn("set"),delete:Qn("delete"),clear:Qn("clear"),forEach:os(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=as(s,!1,!1),n[s]=as(s,!0,!1),t[s]=as(s,!1,!0),i[s]=as(s,!0,!0)}),[e,n,t,i]}const[rd,sd,od,ad]=id();function ls(e,t){const n=t?e?ad:od:e?sd:rd;return(i,r,s)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?i:Reflect.get(ne(n,r)&&r in i?n:i,r,s)}const ld={get:ls(!1,!1)},cd={get:ls(!1,!0)},ud={get:ls(!0,!1)},hd={get:ls(!0,!0)};function Yl(e,t,n){const i=Jt(n);if(i!==n&&t.call(e,i)){const r=Eo(e);Kn(`Reactive ${r} contains both the raw and reactive versions of the same object${r==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Xl=new WeakMap,Kl=new WeakMap,Zl=new WeakMap,Ql=new WeakMap;function fd(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function dd(e){return e.__v_skip||!Object.isExtensible(e)?0:fd(Eo(e))}function qe(e){return vi(e)?e:cs(e,!1,Jf,ld,Xl)}function pd(e){return cs(e,!1,ed,cd,Kl)}function Jl(e){return cs(e,!0,td,ud,Zl)}function In(e){return cs(e,!0,nd,hd,Ql)}function cs(e,t,n,i,r){if(!de(e))return{}.NODE_ENV!=="production"&&Kn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=r.get(e);if(s)return s;const o=dd(e);if(o===0)return e;const a=new Proxy(e,o===2?i:n);return r.set(e,a),a}function $i(e){return vi(e)?$i(e.__v_raw):!!(e&&e.__v_isReactive)}function vi(e){return!!(e&&e.__v_isReadonly)}function yi(e){return!!(e&&e.__v_isShallow)}function Lo(e){return e?!!e.__v_raw:!1}function Jt(e){const t=e&&e.__v_raw;return t?Jt(t):e}function md(e){return Object.isExtensible(e)&&Sl(e,"__v_skip",!0),e}const mr=e=>de(e)?qe(e):e,Ro=e=>de(e)?Jl(e):e,gd="Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free";class tc{constructor(t,n,i,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new So(()=>t(this._value),()=>us(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=i}get value(){const t=Jt(this);return(!t._cacheable||t.effect.dirty)&&Xn(t._value,t._value=t.effect.run())&&us(t,4),ec(t),t.effect._dirtyLevel>=2&&({}.NODE_ENV!=="production"&&this._warnRecursive&&Kn(gd,`
10
10
 
11
- getter: `,this.getter),Xo(e,2)),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function kc(t,e,o=!1){let n,i;const s=W(t);s?(n=t,i={}.NODE_ENV!=="production"?()=>{yt("Write operation failed: computed value is readonly")}:ge):(n=t.get,i=t.set);const r=new er(n,i,s||!i,o);return{}.NODE_ENV!=="production"&&e&&!o&&(r.effect.onTrack=e.onTrack,r.effect.onTrigger=e.onTrigger),r}function tr(t){var e;bt&&Lt&&(t=Y(t),Ms(Lt,(e=t.dep)!=null?e:t.dep=Rs(()=>t.dep=void 0,t instanceof er?t:void 0),{}.NODE_ENV!=="production"?{target:t,type:"get",key:"value"}:void 0))}function Xo(t,e=4,o){t=Y(t);const n=t.dep;n&&As(n,e,{}.NODE_ENV!=="production"?{target:t,type:"set",key:"value",newValue:o}:void 0)}function $e(t){return!!(t&&t.__v_isRef===!0)}function L(t){return Nc(t,!1)}function Nc(t,e){return $e(t)?t:new Oc(t,e)}class Oc{constructor(e,o){this.__v_isShallow=o,this.dep=void 0,this.__v_isRef=!0,this._rawValue=o?e:Y(e),this._value=o?e:po(e)}get value(){return tr(this),this._value}set value(e){const o=this.__v_isShallow||Mt(e)||It(e);e=o?e:Y(e),gt(e,this._rawValue)&&(this._rawValue=e,this._value=o?e:po(e),Xo(this,4,e))}}function le(t){return $e(t)?t.value:t}const Sc={get:(t,e,o)=>le(Reflect.get(t,e,o)),set:(t,e,o,n)=>{const i=t[e];return $e(i)&&!$e(o)?(i.value=o,!0):Reflect.set(t,e,o,n)}};function or(t){return qt(t)?t:new Proxy(t,Sc)}/**
11
+ getter: `,this.getter),us(t,2)),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function vd(e,t,n=!1){let i,r;const s=qt(e);s?(i=e,r={}.NODE_ENV!=="production"?()=>{Kn("Write operation failed: computed value is readonly")}:ke):(i=e.get,r=e.set);const o=new tc(i,r,s||!r,n);return{}.NODE_ENV!=="production"&&t&&!n&&(o.effect.onTrack=t.onTrack,o.effect.onTrigger=t.onTrigger),o}function ec(e){var t;Zn&&mi&&(e=Jt(e),Rl(mi,(t=e.dep)!=null?t:e.dep=$l(()=>e.dep=void 0,e instanceof tc?e:void 0),{}.NODE_ENV!=="production"?{target:e,type:"get",key:"value"}:void 0))}function us(e,t=4,n){e=Jt(e);const i=e.dep;i&&Fl(i,t,{}.NODE_ENV!=="production"?{target:e,type:"set",key:"value",newValue:n}:void 0)}function Re(e){return!!(e&&e.__v_isRef===!0)}function St(e){return yd(e,!1)}function yd(e,t){return Re(e)?e:new _d(e,t)}class _d{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Jt(t),this._value=n?t:mr(t)}get value(){return ec(this),this._value}set value(t){const n=this.__v_isShallow||yi(t)||vi(t);t=n?t:Jt(t),Xn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:mr(t),us(this,4,t))}}function se(e){return Re(e)?e.value:e}const xd={get:(e,t,n)=>se(Reflect.get(e,t,n)),set:(e,t,n,i)=>{const r=e[t];return Re(r)&&!Re(n)?(r.value=n,!0):Reflect.set(e,t,n,i)}};function nc(e){return $i(e)?e:new Proxy(e,xd)}/**
12
12
  * @vue/runtime-core v3.4.25
13
13
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
14
14
  * @license MIT
15
- **/const At=[];function Jo(t){At.push(t)}function Qo(){At.pop()}function N(t,...e){nt();const o=At.length?At[At.length-1].component:null,n=o&&o.appContext.config.warnHandler,i=$c();if(n)rt(n,o,11,[t+e.map(s=>{var r,a;return(a=(r=s.toString)==null?void 0:r.call(s))!=null?a:JSON.stringify(s)}).join(""),o&&o.proxy,i.map(({vnode:s})=>`at <${yn(o,s.type)}>`).join(`
16
- `),i]);else{const s=[`[Vue warn]: ${t}`,...e];i.length&&s.push(`
17
- `,...Tc(i)),console.warn(...s)}it()}function $c(){let t=At[At.length-1];if(!t)return[];const e=[];for(;t;){const o=e[0];o&&o.vnode===t?o.recurseCount++:e.push({vnode:t,recurseCount:0});const n=t.component&&t.component.parent;t=n&&n.vnode}return e}function Tc(t){const e=[];return t.forEach((o,n)=>{e.push(...n===0?[]:[`
18
- `],...Dc(o))}),e}function Dc({vnode:t,recurseCount:e}){const o=e>0?`... (${e} recursive calls)`:"",n=t.component?t.component.parent==null:!1,i=` at <${yn(t.component,t.type,n)}`,s=">"+o;return t.props?[i,...Pc(t.props),s]:[i+s]}function Pc(t){const e=[],o=Object.keys(t);return o.slice(0,3).forEach(n=>{e.push(...nr(n,t[n]))}),o.length>3&&e.push(" ..."),e}function nr(t,e,o){return me(e)?(e=JSON.stringify(e),o?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?o?e:[`${t}=${e}`]:$e(e)?(e=nr(t,Y(e.value),!0),o?e:[`${t}=Ref<`,e,">"]):W(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=Y(e),o?e:[`${t}=`,e])}const ni={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 rt(t,e,o,n){try{return n?t(...n):t()}catch(i){ho(i,e,o)}}function We(t,e,o,n){if(W(t)){const i=rt(t,e,o,n);return i&&Hn(i)&&i.catch(s=>{ho(s,e,o)}),i}if(F(t)){const i=[];for(let s=0;s<t.length;s++)i.push(We(t[s],e,o,n));return i}else({}).NODE_ENV!=="production"&&N(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof t}`)}function ho(t,e,o,n=!0){const i=e?e.vnode:null;if(e){let s=e.parent;const r=e.proxy,a={}.NODE_ENV!=="production"?ni[o]:`https://vuejs.org/error-reference/#runtime-${o}`;for(;s;){const c=s.ec;if(c){for(let d=0;d<c.length;d++)if(c[d](t,r,a)===!1)return}s=s.parent}const l=e.appContext.config.errorHandler;if(l){nt(),rt(l,null,10,[t,r,a]),it();return}}Lc(t,o,i,n)}function Lc(t,e,o,n=!0){if({}.NODE_ENV!=="production"){const i=ni[e];if(o&&Jo(o),N(`Unhandled error${i?` during execution of ${i}`:""}`),o&&Qo(),n)throw t;console.error(t)}else console.error(t)}let mo=!1,ii=!1;const De=[];let Xe=0;const Yt=[];let at=null,xt=0;const ir=Promise.resolve();let si=null;const Vc=100;function sr(t){const e=si||ir;return t?e.then(this?t.bind(this):t):e}function Ic(t){let e=Xe+1,o=De.length;for(;e<o;){const n=e+o>>>1,i=De[n],s=vo(i);s<t||s===t&&i.pre?e=n+1:o=n}return e}function en(t){(!De.length||!De.includes(t,mo&&t.allowRecurse?Xe+1:Xe))&&(t.id==null?De.push(t):De.splice(Ic(t.id),0,t),rr())}function rr(){!mo&&!ii&&(ii=!0,si=ir.then(ur))}function Mc(t){const e=De.indexOf(t);e>Xe&&De.splice(e,1)}function ar(t){F(t)?Yt.push(...t):(!at||!at.includes(t,t.allowRecurse?xt+1:xt))&&Yt.push(t),rr()}function lr(t,e,o=mo?Xe+1:0){for({}.NODE_ENV!=="production"&&(e=e||new Map);o<De.length;o++){const n=De[o];if(n&&n.pre){if(t&&n.id!==t.uid||{}.NODE_ENV!=="production"&&ri(e,n))continue;De.splice(o,1),o--,n()}}}function cr(t){if(Yt.length){const e=[...new Set(Yt)].sort((o,n)=>vo(o)-vo(n));if(Yt.length=0,at){at.push(...e);return}for(at=e,{}.NODE_ENV!=="production"&&(t=t||new Map),xt=0;xt<at.length;xt++)({}).NODE_ENV!=="production"&&ri(t,at[xt])||at[xt]();at=null,xt=0}}const vo=t=>t.id==null?1/0:t.id,Ac=(t,e)=>{const o=vo(t)-vo(e);if(o===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return o};function ur(t){ii=!1,mo=!0,{}.NODE_ENV!=="production"&&(t=t||new Map),De.sort(Ac);const e={}.NODE_ENV!=="production"?o=>ri(t,o):ge;try{for(Xe=0;Xe<De.length;Xe++){const o=De[Xe];if(o&&o.active!==!1){if({}.NODE_ENV!=="production"&&e(o))continue;rt(o,null,14)}}}finally{Xe=0,De.length=0,cr(t),mo=!1,si=null,(De.length||Yt.length)&&ur(t)}}function ri(t,e){if(!t.has(e))t.set(e,1);else{const o=t.get(e);if(o>Vc){const n=e.ownerInstance,i=n&&Li(n.type);return ho(`Maximum recursive updates exceeded${i?` in component <${i}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}else t.set(e,o+1)}}let Rt=!1;const Zt=new Set;({}).NODE_ENV!=="production"&&(Un().__VUE_HMR_RUNTIME__={createRecord:ai(dr),rerender:ai(Fc),reload:ai(zc)});const jt=new Map;function Rc(t){const e=t.type.__hmrId;let o=jt.get(e);o||(dr(e,t.type),o=jt.get(e)),o.instances.add(t)}function jc(t){jt.get(t.type.__hmrId).instances.delete(t)}function dr(t,e){return jt.has(t)?!1:(jt.set(t,{initialDef:go(e),instances:new Set}),!0)}function go(t){return ia(t)?t.__vccOpts:t}function Fc(t,e){const o=jt.get(t);o&&(o.initialDef.render=e,[...o.instances].forEach(n=>{e&&(n.render=e,go(n.type).render=e),n.renderCache=[],Rt=!0,n.effect.dirty=!0,n.update(),Rt=!1}))}function zc(t,e){const o=jt.get(t);if(!o)return;e=go(e),fr(o.initialDef,e);const n=[...o.instances];for(const i of n){const s=go(i.type);Zt.has(s)||(s!==o.initialDef&&fr(s,e),Zt.add(s)),i.appContext.propsCache.delete(i.type),i.appContext.emitsCache.delete(i.type),i.appContext.optionsCache.delete(i.type),i.ceReload?(Zt.add(s),i.ceReload(e.styles),Zt.delete(s)):i.parent?(i.parent.effect.dirty=!0,en(i.parent.update)):i.appContext.reload?i.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}ar(()=>{for(const i of n)Zt.delete(go(i.type))})}function fr(t,e){de(t,e);for(const o in t)o!=="__file"&&!(o in e)&&delete t[o]}function ai(t){return(e,o)=>{try{return t(e,o)}catch(n){console.error(n),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Je,yo=[],li=!1;function bo(t,...e){Je?Je.emit(t,...e):li||yo.push({event:t,args:e})}function pr(t,e){var o,n;Je=t,Je?(Je.enabled=!0,yo.forEach(({event:i,args:s})=>Je.emit(i,...s)),yo=[]):typeof window<"u"&&window.HTMLElement&&!((n=(o=window.navigator)==null?void 0:o.userAgent)!=null&&n.includes("jsdom"))?((e.__VUE_DEVTOOLS_HOOK_REPLAY__=e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{pr(s,e)}),setTimeout(()=>{Je||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,li=!0,yo=[])},3e3)):(li=!0,yo=[])}function Hc(t,e){bo("app:init",t,e,{Fragment:be,Text:No,Comment:Ie,Static:pn})}function Bc(t){bo("app:unmount",t)}const Wc=ci("component:added"),hr=ci("component:updated"),Uc=ci("component:removed"),Gc=t=>{Je&&typeof Je.cleanupBuffer=="function"&&!Je.cleanupBuffer(t)&&Uc(t)};/*! #__NO_SIDE_EFFECTS__ */function ci(t){return e=>{bo(t,e.appContext.app,e.uid,e.parent?e.parent.uid:void 0,e)}}const Kc=mr("perf:start"),qc=mr("perf:end");function mr(t){return(e,o,n)=>{bo(t,e.appContext.app,e.uid,e,o,n)}}function Yc(t,e,o){bo("component:emit",t.appContext.app,t,e,o)}function Zc(t,e,...o){if(t.isUnmounted)return;const n=t.vnode.props||ae;if({}.NODE_ENV!=="production"){const{emitsOptions:d,propsOptions:[f]}=t;if(d)if(!(e in d))(!f||!(Pt(e)in f))&&N(`Component emitted event "${e}" but it is neither declared in the emits option nor as an "${Pt(e)}" prop.`);else{const u=d[e];W(u)&&(u(...o)||N(`Invalid event arguments: event validation failed for event "${e}".`))}}let i=o;const s=e.startsWith("update:"),r=s&&e.slice(7);if(r&&r in n){const d=`${r==="modelValue"?"model":r}Modifiers`,{number:f,trim:u}=n[d]||ae;u&&(i=o.map(v=>me(v)?v.trim():v)),f&&(i=o.map(ql))}if({}.NODE_ENV!=="production"&&Yc(t,e,i),{}.NODE_ENV!=="production"){const d=e.toLowerCase();d!==e&&n[Pt(d)]&&N(`Event "${d}" is emitted in component ${yn(t,t.type)} but the handler is registered for "${e}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${je(e)}" instead of "${e}".`)}let a,l=n[a=Pt(e)]||n[a=Pt(Re(e))];!l&&s&&(l=n[a=Pt(je(e))]),l&&We(l,t,6,i);const c=n[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,We(c,t,6,i)}}function vr(t,e,o=!1){const n=e.emitsCache,i=n.get(t);if(i!==void 0)return i;const s=t.emits;let r={},a=!1;if(!W(t)){const l=c=>{const d=vr(c,e,!0);d&&(a=!0,de(r,d))};!o&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!s&&!a?(ie(t)&&n.set(t,null),null):(F(s)?s.forEach(l=>r[l]=null):de(r,s),ie(t)&&n.set(t,r),r)}function tn(t,e){return!t||!co(e)?!1:(e=e.slice(2).replace(/Once$/,""),Z(t,e[0].toLowerCase()+e.slice(1))||Z(t,je(e))||Z(t,e))}let ye=null,on=null;function nn(t){const e=ye;return ye=t,on=t&&t.type.__scopeId||null,e}function _o(t){on=t}function xo(){on=null}function Ce(t,e=ye,o){if(!e||t._n)return t;const n=(...i)=>{n._d&&qr(-1);const s=nn(e);let r;try{r=t(...i)}finally{nn(s),n._d&&qr(1)}return{}.NODE_ENV!=="production"&&hr(e),r};return n._n=!0,n._c=!0,n._d=!0,n}let ui=!1;function sn(){ui=!0}function di(t){const{type:e,vnode:o,proxy:n,withProxy:i,propsOptions:[s],slots:r,attrs:a,emit:l,render:c,renderCache:d,props:f,data:u,setupState:v,ctx:b,inheritAttrs:y}=t,k=nn(t);let A,$;({}).NODE_ENV!=="production"&&(ui=!1);try{if(o.shapeFlag&4){const ne=i||n,M={}.NODE_ENV!=="production"&&v.__isScriptSetup?new Proxy(ne,{get(I,he,ve){return N(`Property '${String(he)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(I,he,ve)}}):ne;A=Ge(c.call(M,ne,d,{}.NODE_ENV!=="production"?st(f):f,v,u,b)),$=a}else{const ne=e;({}).NODE_ENV!=="production"&&a===f&&sn(),A=Ge(ne.length>1?ne({}.NODE_ENV!=="production"?st(f):f,{}.NODE_ENV!=="production"?{get attrs(){return sn(),a},slots:r,emit:l}:{attrs:a,slots:r,emit:l}):ne({}.NODE_ENV!=="production"?st(f):f,null)),$=e.props?a:Xc(a)}}catch(ne){Oo.length=0,ho(ne,t,1),A=oe(Ie)}let z=A,G;if({}.NODE_ENV!=="production"&&A.patchFlag>0&&A.patchFlag&2048&&([z,G]=gr(A)),$&&y!==!1){const ne=Object.keys($),{shapeFlag:M}=z;if(ne.length){if(M&7)s&&ne.some(Fo)&&($=Jc($,s)),z=Et(z,$);else if({}.NODE_ENV!=="production"&&!ui&&z.type!==Ie){const I=Object.keys(a),he=[],ve=[];for(let Te=0,Nt=I.length;Te<Nt;Te++){const qe=I[Te];co(qe)?Fo(qe)||he.push(qe[2].toLowerCase()+qe.slice(3)):ve.push(qe)}ve.length&&N(`Extraneous non-props attributes (${ve.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`),he.length&&N(`Extraneous non-emits event listeners (${he.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}return o.dirs&&({}.NODE_ENV!=="production"&&!yr(z)&&N("Runtime directive used on component with non-element root node. The directives will not function as intended."),z=Et(z),z.dirs=z.dirs?z.dirs.concat(o.dirs):o.dirs),o.transition&&({}.NODE_ENV!=="production"&&!yr(z)&&N("Component inside <Transition> renders non-element root node that cannot be animated."),z.transition=o.transition),{}.NODE_ENV!=="production"&&G?G(z):A=z,nn(k),A}const gr=t=>{const e=t.children,o=t.dynamicChildren,n=fi(e,!1);if(n){if({}.NODE_ENV!=="production"&&n.patchFlag>0&&n.patchFlag&2048)return gr(n)}else return[t,void 0];const i=e.indexOf(n),s=o?o.indexOf(n):-1,r=a=>{e[i]=a,o&&(s>-1?o[s]=a:a.patchFlag>0&&(t.dynamicChildren=[...o,a]))};return[Ge(n),r]};function fi(t,e=!0){let o;for(let n=0;n<t.length;n++){const i=t[n];if(Jt(i)){if(i.type!==Ie||i.children==="v-if"){if(o)return;if(o=i,{}.NODE_ENV!=="production"&&e&&o.patchFlag>0&&o.patchFlag&2048)return fi(o.children)}}else return}return o}const Xc=t=>{let e;for(const o in t)(o==="class"||o==="style"||co(o))&&((e||(e={}))[o]=t[o]);return e},Jc=(t,e)=>{const o={};for(const n in t)(!Fo(n)||!(n.slice(9)in e))&&(o[n]=t[n]);return o},yr=t=>t.shapeFlag&7||t.type===Ie;function Qc(t,e,o){const{props:n,children:i,component:s}=t,{props:r,children:a,patchFlag:l}=e,c=s.emitsOptions;if({}.NODE_ENV!=="production"&&(i||a)&&Rt||e.dirs||e.transition)return!0;if(o&&l>=0){if(l&1024)return!0;if(l&16)return n?br(n,r,c):!!r;if(l&8){const d=e.dynamicProps;for(let f=0;f<d.length;f++){const u=d[f];if(r[u]!==n[u]&&!tn(c,u))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:n===r?!1:n?r?br(n,r,c):!0:!!r;return!1}function br(t,e,o){const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!0;for(let i=0;i<n.length;i++){const s=n[i];if(e[s]!==t[s]&&!tn(o,s))return!0}return!1}function eu({vnode:t,parent:e},o){for(;e;){const n=e.subTree;if(n.suspense&&n.suspense.activeBranch===t&&(n.el=t.el),n===t)(t=e.vnode).el=o,e=e.parent;else break}}const pi="components";function tu(t,e){return nu(pi,t,!0,e)||t}const ou=Symbol.for("v-ndc");function nu(t,e,o=!0,n=!1){const i=ye||we;if(i){const s=i.type;if(t===pi){const a=Li(s,!1);if(a&&(a===e||a===Re(e)||a===Dt(Re(e))))return s}const r=_r(i[t]||s[t],e)||_r(i.appContext[t],e);if(!r&&n)return s;if({}.NODE_ENV!=="production"&&o&&!r){const a=t===pi?`
19
- If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";N(`Failed to resolve ${t.slice(0,-1)}: ${e}${a}`)}return r}else({}).NODE_ENV!=="production"&&N(`resolve${Dt(t.slice(0,-1))} can only be used in render() or setup().`)}function _r(t,e){return t&&(t[e]||t[Re(e)]||t[Dt(Re(e))])}const iu=t=>t.__isSuspense;function su(t,e){e&&e.pendingBranch?F(t)?e.effects.push(...t):e.effects.push(t):ar(t)}const ru=Symbol.for("v-scx"),au=()=>{{const t=un(ru);return t||{}.NODE_ENV!=="production"&&N("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),t}},rn={};function se(t,e,o){return{}.NODE_ENV!=="production"&&!W(e)&&N("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),xr(t,e,o)}function xr(t,e,{immediate:o,deep:n,flush:i,once:s,onTrack:r,onTrigger:a}=ae){if(e&&s){const I=e;e=(...he)=>{I(...he),M()}}({}).NODE_ENV!=="production"&&n!==void 0&&typeof n=="number"&&N('watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'),{}.NODE_ENV!=="production"&&!e&&(o!==void 0&&N('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),n!==void 0&&N('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),s!==void 0&&N('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const l=I=>{N("Invalid watch source: ",I,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},c=we,d=I=>n===!0?I:Ft(I,n===!1?1:void 0);let f,u=!1,v=!1;if($e(t)?(f=()=>t.value,u=Mt(t)):qt(t)?(f=()=>d(t),u=!0):F(t)?(v=!0,u=t.some(I=>qt(I)||Mt(I)),f=()=>t.map(I=>{if($e(I))return I.value;if(qt(I))return d(I);if(W(I))return rt(I,c,2);({}).NODE_ENV!=="production"&&l(I)})):W(t)?e?f=()=>rt(t,c,2):f=()=>(b&&b(),We(t,c,3,[y])):(f=ge,{}.NODE_ENV!=="production"&&l(t)),e&&n){const I=f;f=()=>Ft(I())}let b,y=I=>{b=G.onStop=()=>{rt(I,c,4),b=G.onStop=void 0}},k;if(vn)if(y=ge,e?o&&We(e,c,3,[f(),v?[]:void 0,y]):f(),i==="sync"){const I=au();k=I.__watcherHandles||(I.__watcherHandles=[])}else return ge;let A=v?new Array(t.length).fill(rn):rn;const $=()=>{if(!(!G.active||!G.dirty))if(e){const I=G.run();(n||u||(v?I.some((he,ve)=>gt(he,A[ve])):gt(I,A)))&&(b&&b(),We(e,c,3,[I,A===rn?void 0:v&&A[0]===rn?[]:A,y]),A=I)}else G.run()};$.allowRecurse=!!e;let z;i==="sync"?z=$:i==="post"?z=()=>Ve($,c&&c.suspense):($.pre=!0,c&&($.id=c.uid),z=()=>en($));const G=new Kn(f,ge,z),ne=oc(),M=()=>{G.stop(),ne&&zn(ne.effects,G)};return{}.NODE_ENV!=="production"&&(G.onTrack=r,G.onTrigger=a),e?o?$():A=G.run():i==="post"?Ve(G.run.bind(G),c&&c.suspense):G.run(),k&&k.push(M),M}function lu(t,e,o){const n=this.proxy,i=me(t)?t.includes(".")?wr(n,t):()=>n[t]:t.bind(n,n);let s;W(e)?s=e:(s=e.handler,o=e);const r=To(this),a=xr(i,s.bind(n),o);return r(),a}function wr(t,e){const o=e.split(".");return()=>{let n=t;for(let i=0;i<o.length&&n;i++)n=n[o[i]];return n}}function Ft(t,e,o=0,n){if(!ie(t)||t.__v_skip)return t;if(e&&e>0){if(o>=e)return t;o++}if(n=n||new Set,n.has(t))return t;if(n.add(t),$e(t))Ft(t.value,e,o,n);else if(F(t))for(let i=0;i<t.length;i++)Ft(t[i],e,o,n);else if(Cs(t)||$t(t))t.forEach(i=>{Ft(i,e,o,n)});else if(Ns(t))for(const i in t)Ft(t[i],e,o,n);return t}function Er(t){Ul(t)&&N("Do not use built-in directive ids as custom directive id: "+t)}function hi(t,e){if(ye===null)return{}.NODE_ENV!=="production"&&N("withDirectives can only be used inside render functions."),t;const o=gn(ye)||ye.proxy,n=t.dirs||(t.dirs=[]);for(let i=0;i<e.length;i++){let[s,r,a,l=ae]=e[i];s&&(W(s)&&(s={mounted:s,updated:s}),s.deep&&Ft(r),n.push({dir:s,instance:o,value:r,oldValue:void 0,arg:a,modifiers:l}))}return t}function zt(t,e,o,n){const i=t.dirs,s=e&&e.dirs;for(let r=0;r<i.length;r++){const a=i[r];s&&(a.oldValue=s[r].value);let l=a.dir[n];l&&(nt(),We(l,o,8,[t.el,a,t,e]),it())}}/*! #__NO_SIDE_EFFECTS__ */function X(t,e){return W(t)?(()=>de({name:t.name},e,{setup:t}))():t}const wo=t=>!!t.type.__asyncLoader,mi=t=>t.type.__isKeepAlive;function cu(t,e){Cr(t,"a",e)}function uu(t,e){Cr(t,"da",e)}function Cr(t,e,o=we){const n=t.__wdc||(t.__wdc=()=>{let i=o;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(an(e,n,o),o){let i=o.parent;for(;i&&i.parent;)mi(i.parent.vnode)&&du(n,e,o,i),i=i.parent}}function du(t,e,o,n){const i=an(e,t,n,!0);ln(()=>{zn(n[e],i)},o)}function an(t,e,o=we,n=!1){if(o){const i=o[t]||(o[t]=[]),s=e.__weh||(e.__weh=(...r)=>{if(o.isUnmounted)return;nt();const a=To(o),l=We(e,o,t,r);return a(),it(),l});return n?i.unshift(s):i.push(s),s}else if({}.NODE_ENV!=="production"){const i=Pt(ni[t].replace(/ hook$/,""));N(`${i} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const lt=t=>(e,o=we)=>(!vn||t==="sp")&&an(t,(...n)=>e(...n),o),fu=lt("bm"),vi=lt("m"),pu=lt("bu"),hu=lt("u"),mu=lt("bum"),ln=lt("um"),vu=lt("sp"),gu=lt("rtg"),yu=lt("rtc");function bu(t,e=we){an("ec",t,e)}function Xt(t,e,o,n){let i;const s=o&&o[n];if(F(t)||me(t)){i=new Array(t.length);for(let r=0,a=t.length;r<a;r++)i[r]=e(t[r],r,void 0,s&&s[r])}else if(typeof t=="number"){({}).NODE_ENV!=="production"&&!Number.isInteger(t)&&N(`The v-for range expect an integer value but got ${t}.`),i=new Array(t);for(let r=0;r<t;r++)i[r]=e(r+1,r,void 0,s&&s[r])}else if(ie(t))if(t[Symbol.iterator])i=Array.from(t,(r,a)=>e(r,a,void 0,s&&s[a]));else{const r=Object.keys(t);i=new Array(r.length);for(let a=0,l=r.length;a<l;a++){const c=r[a];i[a]=e(t[c],c,a,s&&s[a])}}else i=[];return o&&(o[n]=i),i}function ue(t,e,o={},n,i){if(ye.isCE||ye.parent&&wo(ye.parent)&&ye.parent.isCE)return e!=="default"&&(o.name=e),oe("slot",o,n&&n());let s=t[e];({}).NODE_ENV!=="production"&&s&&s.length>1&&(N("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),s=()=>[]),s&&s._c&&(s._d=!1),D();const r=s&&kr(s(o)),a=_e(be,{key:o.key||r&&r.key||`_${e}`},r||(n?n():[]),r&&t._===1?64:-2);return!i&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),s&&s._c&&(s._d=!0),a}function kr(t){return t.some(e=>Jt(e)?!(e.type===Ie||e.type===be&&!kr(e.children)):!0)?t:null}const gi=t=>t?ea(t)?gn(t)||t.proxy:gi(t.parent):null,Ht=de(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>({}).NODE_ENV!=="production"?st(t.props):t.props,$attrs:t=>({}).NODE_ENV!=="production"?st(t.attrs):t.attrs,$slots:t=>({}).NODE_ENV!=="production"?st(t.slots):t.slots,$refs:t=>({}).NODE_ENV!=="production"?st(t.refs):t.refs,$parent:t=>gi(t.parent),$root:t=>gi(t.root),$emit:t=>t.emit,$options:t=>xi(t),$forceUpdate:t=>t.f||(t.f=()=>{t.effect.dirty=!0,en(t.update)}),$nextTick:t=>t.n||(t.n=sr.bind(t.proxy)),$watch:t=>lu.bind(t)}),yi=t=>t==="_"||t==="$",bi=(t,e)=>t!==ae&&!t.__isScriptSetup&&Z(t,e),Nr={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:o,setupState:n,data:i,props:s,accessCache:r,type:a,appContext:l}=t;if({}.NODE_ENV!=="production"&&e==="__isVue")return!0;let c;if(e[0]!=="$"){const v=r[e];if(v!==void 0)switch(v){case 1:return n[e];case 2:return i[e];case 4:return o[e];case 3:return s[e]}else{if(bi(n,e))return r[e]=1,n[e];if(i!==ae&&Z(i,e))return r[e]=2,i[e];if((c=t.propsOptions[0])&&Z(c,e))return r[e]=3,s[e];if(o!==ae&&Z(o,e))return r[e]=4,o[e];_i&&(r[e]=0)}}const d=Ht[e];let f,u;if(d)return e==="$attrs"?(Se(t.attrs,"get",""),{}.NODE_ENV!=="production"&&sn()):{}.NODE_ENV!=="production"&&e==="$slots"&&Se(t,"get",e),d(t);if((f=a.__cssModules)&&(f=f[e]))return f;if(o!==ae&&Z(o,e))return r[e]=4,o[e];if(u=l.config.globalProperties,Z(u,e))return u[e];({}).NODE_ENV!=="production"&&ye&&(!me(e)||e.indexOf("__v")!==0)&&(i!==ae&&yi(e[0])&&Z(i,e)?N(`Property ${JSON.stringify(e)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):t===ye&&N(`Property ${JSON.stringify(e)} was accessed during render but is not defined on instance.`))},set({_:t},e,o){const{data:n,setupState:i,ctx:s}=t;return bi(i,e)?(i[e]=o,!0):{}.NODE_ENV!=="production"&&i.__isScriptSetup&&Z(i,e)?(N(`Cannot mutate <script setup> binding "${e}" from Options API.`),!1):n!==ae&&Z(n,e)?(n[e]=o,!0):Z(t.props,e)?({}.NODE_ENV!=="production"&&N(`Attempting to mutate prop "${e}". Props are readonly.`),!1):e[0]==="$"&&e.slice(1)in t?({}.NODE_ENV!=="production"&&N(`Attempting to mutate public property "${e}". Properties starting with $ are reserved and readonly.`),!1):({}.NODE_ENV!=="production"&&e in t.appContext.config.globalProperties?Object.defineProperty(s,e,{enumerable:!0,configurable:!0,value:o}):s[e]=o,!0)},has({_:{data:t,setupState:e,accessCache:o,ctx:n,appContext:i,propsOptions:s}},r){let a;return!!o[r]||t!==ae&&Z(t,r)||bi(e,r)||(a=s[0])&&Z(a,r)||Z(n,r)||Z(Ht,r)||Z(i.config.globalProperties,r)},defineProperty(t,e,o){return o.get!=null?t._.accessCache[e]=0:Z(o,"value")&&this.set(t,e,o.value,null),Reflect.defineProperty(t,e,o)}};({}).NODE_ENV!=="production"&&(Nr.ownKeys=t=>(N("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(t)));function _u(t){const e={};return Object.defineProperty(e,"_",{configurable:!0,enumerable:!1,get:()=>t}),Object.keys(Ht).forEach(o=>{Object.defineProperty(e,o,{configurable:!0,enumerable:!1,get:()=>Ht[o](t),set:ge})}),e}function xu(t){const{ctx:e,propsOptions:[o]}=t;o&&Object.keys(o).forEach(n=>{Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>t.props[n],set:ge})})}function wu(t){const{ctx:e,setupState:o}=t;Object.keys(Y(o)).forEach(n=>{if(!o.__isScriptSetup){if(yi(n[0])){N(`setup() return property ${JSON.stringify(n)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>o[n],set:ge})}})}function Or(t){return F(t)?t.reduce((e,o)=>(e[o]=null,e),{}):t}function Eu(){const t=Object.create(null);return(e,o)=>{t[o]?N(`${e} property "${o}" is already defined in ${t[o]}.`):t[o]=e}}let _i=!0;function Cu(t){const e=xi(t),o=t.proxy,n=t.ctx;_i=!1,e.beforeCreate&&Sr(e.beforeCreate,t,"bc");const{data:i,computed:s,methods:r,watch:a,provide:l,inject:c,created:d,beforeMount:f,mounted:u,beforeUpdate:v,updated:b,activated:y,deactivated:k,beforeDestroy:A,beforeUnmount:$,destroyed:z,unmounted:G,render:ne,renderTracked:M,renderTriggered:I,errorCaptured:he,serverPrefetch:ve,expose:Te,inheritAttrs:Nt,components:qe,directives:jn,filters:Rl}=e,Ot={}.NODE_ENV!=="production"?Eu():null;if({}.NODE_ENV!=="production"){const[te]=t.propsOptions;if(te)for(const Q in te)Ot("Props",Q)}if(c&&ku(c,n,Ot),r)for(const te in r){const Q=r[te];W(Q)?({}.NODE_ENV!=="production"?Object.defineProperty(n,te,{value:Q.bind(o),configurable:!0,enumerable:!0,writable:!0}):n[te]=Q.bind(o),{}.NODE_ENV!=="production"&&Ot("Methods",te)):{}.NODE_ENV!=="production"&&N(`Method "${te}" has type "${typeof Q}" in the component definition. Did you reference the function correctly?`)}if(i){({}).NODE_ENV!=="production"&&!W(i)&&N("The data option must be a function. Plain object usage is no longer supported.");const te=i.call(o,o);if({}.NODE_ENV!=="production"&&Hn(te)&&N("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!ie(te))({}).NODE_ENV!=="production"&&N("data() should return an object.");else if(t.data=Fe(te),{}.NODE_ENV!=="production")for(const Q in te)Ot("Data",Q),yi(Q[0])||Object.defineProperty(n,Q,{configurable:!0,enumerable:!0,get:()=>te[Q],set:ge})}if(_i=!0,s)for(const te in s){const Q=s[te],tt=W(Q)?Q.bind(o,o):W(Q.get)?Q.get.bind(o,o):ge;({}).NODE_ENV!=="production"&&tt===ge&&N(`Computed property "${te}" has no getter.`);const bs=!W(Q)&&W(Q.set)?Q.set.bind(o):{}.NODE_ENV!=="production"?()=>{N(`Write operation failed: computed property "${te}" is readonly.`)}:ge,Ro=ud({get:tt,set:bs});Object.defineProperty(n,te,{enumerable:!0,configurable:!0,get:()=>Ro.value,set:so=>Ro.value=so}),{}.NODE_ENV!=="production"&&Ot("Computed",te)}if(a)for(const te in a)$r(a[te],n,o,te);if(l){const te=W(l)?l.call(o):l;Reflect.ownKeys(te).forEach(Q=>{Du(Q,te[Q])})}d&&Sr(d,t,"c");function Ae(te,Q){F(Q)?Q.forEach(tt=>te(tt.bind(o))):Q&&te(Q.bind(o))}if(Ae(fu,f),Ae(vi,u),Ae(pu,v),Ae(hu,b),Ae(cu,y),Ae(uu,k),Ae(bu,he),Ae(yu,M),Ae(gu,I),Ae(mu,$),Ae(ln,G),Ae(vu,ve),F(Te))if(Te.length){const te=t.exposed||(t.exposed={});Te.forEach(Q=>{Object.defineProperty(te,Q,{get:()=>o[Q],set:tt=>o[Q]=tt})})}else t.exposed||(t.exposed={});ne&&t.render===ge&&(t.render=ne),Nt!=null&&(t.inheritAttrs=Nt),qe&&(t.components=qe),jn&&(t.directives=jn)}function ku(t,e,o=ge){F(t)&&(t=wi(t));for(const n in t){const i=t[n];let s;ie(i)?"default"in i?s=un(i.from||n,i.default,!0):s=un(i.from||n):s=un(i),$e(s)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:r=>s.value=r}):e[n]=s,{}.NODE_ENV!=="production"&&o("Inject",n)}}function Sr(t,e,o){We(F(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,o)}function $r(t,e,o,n){const i=n.includes(".")?wr(o,n):()=>o[n];if(me(t)){const s=e[t];W(s)?se(i,s):{}.NODE_ENV!=="production"&&N(`Invalid watch handler specified by key "${t}"`,s)}else if(W(t))se(i,t.bind(o));else if(ie(t))if(F(t))t.forEach(s=>$r(s,e,o,n));else{const s=W(t.handler)?t.handler.bind(o):e[t.handler];W(s)?se(i,s,t):{}.NODE_ENV!=="production"&&N(`Invalid watch handler specified by key "${t.handler}"`,s)}else({}).NODE_ENV!=="production"&&N(`Invalid watch option: "${n}"`,t)}function xi(t){const e=t.type,{mixins:o,extends:n}=e,{mixins:i,optionsCache:s,config:{optionMergeStrategies:r}}=t.appContext,a=s.get(e);let l;return a?l=a:!i.length&&!o&&!n?l=e:(l={},i.length&&i.forEach(c=>cn(l,c,r,!0)),cn(l,e,r)),ie(e)&&s.set(e,l),l}function cn(t,e,o,n=!1){const{mixins:i,extends:s}=e;s&&cn(t,s,o,!0),i&&i.forEach(r=>cn(t,r,o,!0));for(const r in e)if(n&&r==="expose")({}).NODE_ENV!=="production"&&N('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const a=Nu[r]||o&&o[r];t[r]=a?a(t[r],e[r]):e[r]}return t}const Nu={data:Tr,props:Dr,emits:Dr,methods:Eo,computed:Eo,beforeCreate:Pe,created:Pe,beforeMount:Pe,mounted:Pe,beforeUpdate:Pe,updated:Pe,beforeDestroy:Pe,beforeUnmount:Pe,destroyed:Pe,unmounted:Pe,activated:Pe,deactivated:Pe,errorCaptured:Pe,serverPrefetch:Pe,components:Eo,directives:Eo,watch:Su,provide:Tr,inject:Ou};function Tr(t,e){return e?t?function(){return de(W(t)?t.call(this,this):t,W(e)?e.call(this,this):e)}:e:t}function Ou(t,e){return Eo(wi(t),wi(e))}function wi(t){if(F(t)){const e={};for(let o=0;o<t.length;o++)e[t[o]]=t[o];return e}return t}function Pe(t,e){return t?[...new Set([].concat(t,e))]:e}function Eo(t,e){return t?de(Object.create(null),t,e):e}function Dr(t,e){return t?F(t)&&F(e)?[...new Set([...t,...e])]:de(Object.create(null),Or(t),Or(e??{})):e}function Su(t,e){if(!t)return e;if(!e)return t;const o=de(Object.create(null),t);for(const n in e)o[n]=Pe(t[n],e[n]);return o}function Pr(){return{app:null,config:{isNativeTag:Bl,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 $u=0;function Tu(t,e){return function(n,i=null){W(n)||(n=de({},n)),i!=null&&!ie(i)&&({}.NODE_ENV!=="production"&&N("root props passed to app.mount() must be an object."),i=null);const s=Pr(),r=new WeakSet;let a=!1;const l=s.app={_uid:$u++,_component:n,_props:i,_container:null,_context:s,_instance:null,version:ra,get config(){return s.config},set config(c){({}).NODE_ENV!=="production"&&N("app.config cannot be replaced. Modify individual options instead.")},use(c,...d){return r.has(c)?{}.NODE_ENV!=="production"&&N("Plugin has already been applied to target app."):c&&W(c.install)?(r.add(c),c.install(l,...d)):W(c)?(r.add(c),c(l,...d)):{}.NODE_ENV!=="production"&&N('A plugin must either be a function or an object with an "install" function.'),l},mixin(c){return s.mixins.includes(c)?{}.NODE_ENV!=="production"&&N("Mixin has already been applied to target app"+(c.name?`: ${c.name}`:"")):s.mixins.push(c),l},component(c,d){return{}.NODE_ENV!=="production"&&Di(c,s.config),d?({}.NODE_ENV!=="production"&&s.components[c]&&N(`Component "${c}" has already been registered in target app.`),s.components[c]=d,l):s.components[c]},directive(c,d){return{}.NODE_ENV!=="production"&&Er(c),d?({}.NODE_ENV!=="production"&&s.directives[c]&&N(`Directive "${c}" has already been registered in target app.`),s.directives[c]=d,l):s.directives[c]},mount(c,d,f){if(a)({}).NODE_ENV!=="production"&&N("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`");else{({}).NODE_ENV!=="production"&&c.__vue_app__&&N("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");const u=oe(n,i);return u.appContext=s,f===!0?f="svg":f===!1&&(f=void 0),{}.NODE_ENV!=="production"&&(s.reload=()=>{t(Et(u),c,f)}),d&&e?e(u,c):t(u,c,f),a=!0,l._container=c,c.__vue_app__=l,{}.NODE_ENV!=="production"&&(l._instance=u.component,Hc(l,ra)),gn(u.component)||u.component.proxy}},unmount(){a?(t(null,l._container),{}.NODE_ENV!=="production"&&(l._instance=null,Bc(l)),delete l._container.__vue_app__):{}.NODE_ENV!=="production"&&N("Cannot unmount an app that is not mounted.")},provide(c,d){return{}.NODE_ENV!=="production"&&c in s.provides&&N(`App already provides property with key "${String(c)}". It will be overwritten with the new value.`),s.provides[c]=d,l},runWithContext(c){const d=Co;Co=l;try{return c()}finally{Co=d}}};return l}}let Co=null;function Du(t,e){if(!we)({}).NODE_ENV!=="production"&&N("provide() can only be used inside setup().");else{let o=we.provides;const n=we.parent&&we.parent.provides;n===o&&(o=we.provides=Object.create(n)),o[t]=e}}function un(t,e,o=!1){const n=we||ye;if(n||Co){const i=n?n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:Co._context.provides;if(i&&t in i)return i[t];if(arguments.length>1)return o&&W(e)?e.call(n&&n.proxy):e;({}).NODE_ENV!=="production"&&N(`injection "${String(t)}" not found.`)}else({}).NODE_ENV!=="production"&&N("inject() can only be used inside setup() or functional components.")}const Lr={},Vr=()=>Object.create(Lr),Ir=t=>Object.getPrototypeOf(t)===Lr;function Pu(t,e,o,n=!1){const i={},s=Vr();t.propsDefaults=Object.create(null),Mr(t,e,i,s);for(const r in t.propsOptions[0])r in i||(i[r]=void 0);({}).NODE_ENV!=="production"&&zr(e||{},i,t),o?t.props=n?i:wc(i):t.type.props?t.props=i:t.props=s,t.attrs=s}function Lu(t){for(;t;){if(t.type.__hmrId)return!0;t=t.parent}}function Vu(t,e,o,n){const{props:i,attrs:s,vnode:{patchFlag:r}}=t,a=Y(i),[l]=t.propsOptions;let c=!1;if(!({}.NODE_ENV!=="production"&&Lu(t))&&(n||r>0)&&!(r&16)){if(r&8){const d=t.vnode.dynamicProps;for(let f=0;f<d.length;f++){let u=d[f];if(tn(t.emitsOptions,u))continue;const v=e[u];if(l)if(Z(s,u))v!==s[u]&&(s[u]=v,c=!0);else{const b=Re(u);i[b]=Ei(l,a,b,v,t,!1)}else v!==s[u]&&(s[u]=v,c=!0)}}}else{Mr(t,e,i,s)&&(c=!0);let d;for(const f in a)(!e||!Z(e,f)&&((d=je(f))===f||!Z(e,d)))&&(l?o&&(o[f]!==void 0||o[d]!==void 0)&&(i[f]=Ei(l,a,f,void 0,t,!0)):delete i[f]);if(s!==a)for(const f in s)(!e||!Z(e,f))&&(delete s[f],c=!0)}c&&Ze(t.attrs,"set",""),{}.NODE_ENV!=="production"&&zr(e||{},i,t)}function Mr(t,e,o,n){const[i,s]=t.propsOptions;let r=!1,a;if(e)for(let l in e){if(uo(l))continue;const c=e[l];let d;i&&Z(i,d=Re(l))?!s||!s.includes(d)?o[d]=c:(a||(a={}))[d]=c:tn(t.emitsOptions,l)||(!(l in n)||c!==n[l])&&(n[l]=c,r=!0)}if(s){const l=Y(o),c=a||ae;for(let d=0;d<s.length;d++){const f=s[d];o[f]=Ei(i,l,f,c[f],t,!Z(c,f))}}return r}function Ei(t,e,o,n,i,s){const r=t[o];if(r!=null){const a=Z(r,"default");if(a&&n===void 0){const l=r.default;if(r.type!==Function&&!r.skipFactory&&W(l)){const{propsDefaults:c}=i;if(o in c)n=c[o];else{const d=To(i);n=c[o]=l.call(null,e),d()}}else n=l}r[0]&&(s&&!a?n=!1:r[1]&&(n===""||n===je(o))&&(n=!0))}return n}function Ar(t,e,o=!1){const n=e.propsCache,i=n.get(t);if(i)return i;const s=t.props,r={},a=[];let l=!1;if(!W(t)){const d=f=>{l=!0;const[u,v]=Ar(f,e,!0);de(r,u),v&&a.push(...v)};!o&&e.mixins.length&&e.mixins.forEach(d),t.extends&&d(t.extends),t.mixins&&t.mixins.forEach(d)}if(!s&&!l)return ie(t)&&n.set(t,Kt),Kt;if(F(s))for(let d=0;d<s.length;d++){({}).NODE_ENV!=="production"&&!me(s[d])&&N("props must be strings when using array syntax.",s[d]);const f=Re(s[d]);Rr(f)&&(r[f]=ae)}else if(s){({}).NODE_ENV!=="production"&&!ie(s)&&N("invalid props options",s);for(const d in s){const f=Re(d);if(Rr(f)){const u=s[d],v=r[f]=F(u)||W(u)?{type:u}:de({},u);if(v){const b=Fr(Boolean,v.type),y=Fr(String,v.type);v[0]=b>-1,v[1]=y<0||b<y,(b>-1||Z(v,"default"))&&a.push(f)}}}}const c=[r,a];return ie(t)&&n.set(t,c),c}function Rr(t){return t[0]!=="$"&&!uo(t)?!0:({}.NODE_ENV!=="production"&&N(`Invalid prop name: "${t}" is a reserved property.`),!1)}function Ci(t){return t===null?"null":typeof t=="function"?t.name||"":typeof t=="object"&&t.constructor&&t.constructor.name||""}function jr(t,e){return Ci(t)===Ci(e)}function Fr(t,e){return F(e)?e.findIndex(o=>jr(o,t)):W(e)&&jr(e,t)?0:-1}function zr(t,e,o){const n=Y(e),i=o.propsOptions[0];for(const s in i){let r=i[s];r!=null&&Iu(s,n[s],r,{}.NODE_ENV!=="production"?st(n):n,!Z(t,s)&&!Z(t,je(s)))}}function Iu(t,e,o,n,i){const{type:s,required:r,validator:a,skipCheck:l}=o;if(r&&i){N('Missing required prop: "'+t+'"');return}if(!(e==null&&!r)){if(s!=null&&s!==!0&&!l){let c=!1;const d=F(s)?s:[s],f=[];for(let u=0;u<d.length&&!c;u++){const{valid:v,expectedType:b}=Au(e,d[u]);f.push(b||""),c=v}if(!c){N(Ru(t,e,f));return}}a&&!a(e,n)&&N('Invalid prop: custom validator check failed for prop "'+t+'".')}}const Mu=Gt("String,Number,Boolean,Function,Symbol,BigInt");function Au(t,e){let o;const n=Ci(e);if(Mu(n)){const i=typeof t;o=i===n.toLowerCase(),!o&&i==="object"&&(o=t instanceof e)}else n==="Object"?o=ie(t):n==="Array"?o=F(t):n==="null"?o=t===null:o=t instanceof e;return{valid:o,expectedType:n}}function Ru(t,e,o){if(o.length===0)return`Prop type [] for prop "${t}" won't match anything. Did you mean to use type Array instead?`;let n=`Invalid prop: type check failed for prop "${t}". Expected ${o.map(Dt).join(" | ")}`;const i=o[0],s=Bn(e),r=Hr(e,i),a=Hr(e,s);return o.length===1&&Br(i)&&!ju(i,s)&&(n+=` with value ${r}`),n+=`, got ${s} `,Br(s)&&(n+=`with value ${a}.`),n}function Hr(t,e){return e==="String"?`"${t}"`:e==="Number"?`${Number(t)}`:`${t}`}function Br(t){return["string","number","boolean"].some(o=>t.toLowerCase()===o)}function ju(...t){return t.some(e=>e.toLowerCase()==="boolean")}const Wr=t=>t[0]==="_"||t==="$stable",ki=t=>F(t)?t.map(Ge):[Ge(t)],Fu=(t,e,o)=>{if(e._n)return e;const n=Ce((...i)=>({}.NODE_ENV!=="production"&&we&&(!o||o.root===we.root)&&N(`Slot "${t}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),ki(e(...i))),o);return n._c=!1,n},Ur=(t,e,o)=>{const n=t._ctx;for(const i in t){if(Wr(i))continue;const s=t[i];if(W(s))e[i]=Fu(i,s,n);else if(s!=null){({}).NODE_ENV!=="production"&&N(`Non-function value encountered for slot "${i}". Prefer function slots for better performance.`);const r=ki(s);e[i]=()=>r}}},Gr=(t,e)=>{({}).NODE_ENV!=="production"&&!mi(t.vnode)&&N("Non-function value encountered for default slot. Prefer function slots for better performance.");const o=ki(e);t.slots.default=()=>o},zu=(t,e)=>{const o=t.slots=Vr();if(t.vnode.shapeFlag&32){const n=e._;n?(de(o,e),Os(o,"_",n)):Ur(e,o)}else e&&Gr(t,e)},Hu=(t,e,o)=>{const{vnode:n,slots:i}=t;let s=!0,r=ae;if(n.shapeFlag&32){const a=e._;a?{}.NODE_ENV!=="production"&&Rt?(de(i,e),Ze(t,"set","$slots")):o&&a===1?s=!1:(de(i,e),!o&&a===1&&delete i._):(s=!e.$stable,Ur(e,i)),r=e}else e&&(Gr(t,e),r={default:1});if(s)for(const a in i)!Wr(a)&&r[a]==null&&delete i[a]};function Ni(t,e,o,n,i=!1){if(F(t)){t.forEach((u,v)=>Ni(u,e&&(F(e)?e[v]:e),o,n,i));return}if(wo(n)&&!i)return;const s=n.shapeFlag&4?gn(n.component)||n.component.proxy:n.el,r=i?null:s,{i:a,r:l}=t;if({}.NODE_ENV!=="production"&&!a){N("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}const c=e&&e.r,d=a.refs===ae?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==l&&(me(c)?(d[c]=null,Z(f,c)&&(f[c]=null)):$e(c)&&(c.value=null)),W(l))rt(l,a,12,[r,d]);else{const u=me(l),v=$e(l);if(u||v){const b=()=>{if(t.f){const y=u?Z(f,l)?f[l]:d[l]:l.value;i?F(y)&&zn(y,s):F(y)?y.includes(s)||y.push(s):u?(d[l]=[s],Z(f,l)&&(f[l]=d[l])):(l.value=[s],t.k&&(d[t.k]=l.value))}else u?(d[l]=r,Z(f,l)&&(f[l]=r)):v?(l.value=r,t.k&&(d[t.k]=r)):{}.NODE_ENV!=="production"&&N("Invalid template ref type:",l,`(${typeof l})`)};r?(b.id=-1,Ve(b,o)):b()}else({}).NODE_ENV!=="production"&&N("Invalid template ref type:",l,`(${typeof l})`)}}let ko,wt;function ct(t,e){t.appContext.config.performance&&dn()&&wt.mark(`vue-${e}-${t.uid}`),{}.NODE_ENV!=="production"&&Kc(t,e,dn()?wt.now():Date.now())}function ut(t,e){if(t.appContext.config.performance&&dn()){const o=`vue-${e}-${t.uid}`,n=o+":end";wt.mark(n),wt.measure(`<${yn(t,t.type)}> ${e}`,o,n),wt.clearMarks(o),wt.clearMarks(n)}({}).NODE_ENV!=="production"&&qc(t,e,dn()?wt.now():Date.now())}function dn(){return ko!==void 0||(typeof window<"u"&&window.performance?(ko=!0,wt=window.performance):ko=!1),ko}function Bu(){const t=[];if({}.NODE_ENV!=="production"&&t.length){const e=t.length>1;console.warn(`Feature flag${e?"s":""} ${t.join(", ")} ${e?"are":"is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
15
+ **/const _i=[];function hs(e){_i.push(e)}function fs(){_i.pop()}function Nt(e,...t){Pn();const n=_i.length?_i[_i.length-1].component:null,i=n&&n.appContext.config.warnHandler,r=bd();if(i)Mn(i,n,11,[e+t.map(s=>{var o,a;return(a=(o=s.toString)==null?void 0:o.call(s))!=null?a:JSON.stringify(s)}).join(""),n&&n.proxy,r.map(({vnode:s})=>`at <${Os(n,s.type)}>`).join(`
16
+ `),r]);else{const s=[`[Vue warn]: ${e}`,...t];r.length&&s.push(`
17
+ `,...wd(r)),console.warn(...s)}On()}function bd(){let e=_i[_i.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const i=e.component&&e.component.parent;e=i&&i.vnode}return t}function wd(e){const t=[];return e.forEach((n,i)=>{t.push(...i===0?[]:[`
18
+ `],...Ed(n))}),t}function Ed({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",i=e.component?e.component.parent==null:!1,r=` at <${Os(e.component,e.type,i)}`,s=">"+n;return e.props?[r,...Cd(e.props),s]:[r+s]}function Cd(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(i=>{t.push(...ic(i,e[i]))}),n.length>3&&t.push(" ..."),t}function ic(e,t,n){return Ee(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:Re(t)?(t=ic(e,Jt(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):qt(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Jt(t),n?t:[`${e}=`,t])}const Fo={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 Mn(e,t,n,i){try{return i?e(...i):e()}catch(r){gr(r,t,n)}}function pn(e,t,n,i){if(qt(e)){const r=Mn(e,t,n,i);return r&&wo(r)&&r.catch(s=>{gr(s,t,n)}),r}if(zt(e)){const r=[];for(let s=0;s<e.length;s++)r.push(pn(e[s],t,n,i));return r}else({}).NODE_ENV!=="production"&&Nt(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function gr(e,t,n,i=!0){const r=t?t.vnode:null;if(t){let s=t.parent;const o=t.proxy,a={}.NODE_ENV!=="production"?Fo[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const f=s.ec;if(f){for(let p=0;p<f.length;p++)if(f[p](e,o,a)===!1)return}s=s.parent}const l=t.appContext.config.errorHandler;if(l){Pn(),Mn(l,null,10,[e,o,a]),On();return}}Td(e,n,r,i)}function Td(e,t,n,i=!0){if({}.NODE_ENV!=="production"){const r=Fo[t];if(n&&hs(n),Nt(`Unhandled error${r?` during execution of ${r}`:""}`),n&&fs(),i)throw e;console.error(e)}else console.error(e)}let vr=!1,$o=!1;const Fe=[];let bn=0;const Vi=[];let An=null,Jn=0;const rc=Promise.resolve();let Vo=null;const kd=100;function sc(e){const t=Vo||rc;return e?t.then(this?e.bind(this):e):t}function Sd(e){let t=bn+1,n=Fe.length;for(;t<n;){const i=t+n>>>1,r=Fe[i],s=yr(r);s<e||s===e&&r.pre?t=i+1:n=i}return t}function ds(e){(!Fe.length||!Fe.includes(e,vr&&e.allowRecurse?bn+1:bn))&&(e.id==null?Fe.push(e):Fe.splice(Sd(e.id),0,e),oc())}function oc(){!vr&&!$o&&($o=!0,Vo=rc.then(uc))}function Nd(e){const t=Fe.indexOf(e);t>bn&&Fe.splice(t,1)}function ac(e){zt(e)?Vi.push(...e):(!An||!An.includes(e,e.allowRecurse?Jn+1:Jn))&&Vi.push(e),oc()}function lc(e,t,n=vr?bn+1:0){for({}.NODE_ENV!=="production"&&(t=t||new Map);n<Fe.length;n++){const i=Fe[n];if(i&&i.pre){if(e&&i.id!==e.uid||{}.NODE_ENV!=="production"&&zo(t,i))continue;Fe.splice(n,1),n--,i()}}}function cc(e){if(Vi.length){const t=[...new Set(Vi)].sort((n,i)=>yr(n)-yr(i));if(Vi.length=0,An){An.push(...t);return}for(An=t,{}.NODE_ENV!=="production"&&(e=e||new Map),Jn=0;Jn<An.length;Jn++)({}).NODE_ENV!=="production"&&zo(e,An[Jn])||An[Jn]();An=null,Jn=0}}const yr=e=>e.id==null?1/0:e.id,Pd=(e,t)=>{const n=yr(e)-yr(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function uc(e){$o=!1,vr=!0,{}.NODE_ENV!=="production"&&(e=e||new Map),Fe.sort(Pd);const t={}.NODE_ENV!=="production"?n=>zo(e,n):ke;try{for(bn=0;bn<Fe.length;bn++){const n=Fe[bn];if(n&&n.active!==!1){if({}.NODE_ENV!=="production"&&t(n))continue;Mn(n,null,14)}}}finally{bn=0,Fe.length=0,cc(e),vr=!1,Vo=null,(Fe.length||Vi.length)&&uc(e)}}function zo(e,t){if(!e.has(t))e.set(t,1);else{const n=e.get(t);if(n>kd){const i=t.ownerInstance,r=i&&da(i.type);return gr(`Maximum recursive updates exceeded${r?` in component <${r}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}else e.set(t,n+1)}}let xi=!1;const zi=new Set;({}).NODE_ENV!=="production"&&(To().__VUE_HMR_RUNTIME__={createRecord:Bo(hc),rerender:Bo(Md),reload:Bo(Ad)});const bi=new Map;function Od(e){const t=e.type.__hmrId;let n=bi.get(t);n||(hc(t,e.type),n=bi.get(t)),n.instances.add(e)}function Id(e){bi.get(e.type.__hmrId).instances.delete(e)}function hc(e,t){return bi.has(e)?!1:(bi.set(e,{initialDef:_r(t),instances:new Set}),!0)}function _r(e){return iu(e)?e.__vccOpts:e}function Md(e,t){const n=bi.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(i=>{t&&(i.render=t,_r(i.type).render=t),i.renderCache=[],xi=!0,i.effect.dirty=!0,i.update(),xi=!1}))}function Ad(e,t){const n=bi.get(e);if(!n)return;t=_r(t),fc(n.initialDef,t);const i=[...n.instances];for(const r of i){const s=_r(r.type);zi.has(s)||(s!==n.initialDef&&fc(s,t),zi.add(s)),r.appContext.propsCache.delete(r.type),r.appContext.emitsCache.delete(r.type),r.appContext.optionsCache.delete(r.type),r.ceReload?(zi.add(s),r.ceReload(t.styles),zi.delete(s)):r.parent?(r.parent.effect.dirty=!0,ds(r.parent.update)):r.appContext.reload?r.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}ac(()=>{for(const r of i)zi.delete(_r(r.type))})}function fc(e,t){_e(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function Bo(e){return(t,n)=>{try{return e(t,n)}catch(i){console.error(i),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let wn,xr=[],Go=!1;function br(e,...t){wn?wn.emit(e,...t):Go||xr.push({event:e,args:t})}function dc(e,t){var n,i;wn=e,wn?(wn.enabled=!0,xr.forEach(({event:r,args:s})=>wn.emit(r,...s)),xr=[]):typeof window<"u"&&window.HTMLElement&&!((i=(n=window.navigator)==null?void 0:n.userAgent)!=null&&i.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{dc(s,t)}),setTimeout(()=>{wn||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Go=!0,xr=[])},3e3)):(Go=!0,xr=[])}function Dd(e,t){br("app:init",e,t,{Fragment:ae,Text:Nr,Comment:Xe,Static:Ts})}function Ld(e){br("app:unmount",e)}const Rd=jo("component:added"),pc=jo("component:updated"),Fd=jo("component:removed"),$d=e=>{wn&&typeof wn.cleanupBuffer=="function"&&!wn.cleanupBuffer(e)&&Fd(e)};/*! #__NO_SIDE_EFFECTS__ */function jo(e){return t=>{br(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const Vd=mc("perf:start"),zd=mc("perf:end");function mc(e){return(t,n,i)=>{br(e,t.appContext.app,t.uid,t,n,i)}}function Bd(e,t,n){br("component:emit",e.appContext.app,e,t,n)}function Gd(e,t,...n){if(e.isUnmounted)return;const i=e.vnode.props||ge;if({}.NODE_ENV!=="production"){const{emitsOptions:p,propsOptions:[m]}=e;if(p)if(!(t in p))(!m||!(pi(t)in m))&&Nt(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${pi(t)}" prop.`);else{const y=p[t];qt(y)&&(y(...n)||Nt(`Invalid event arguments: event validation failed for event "${t}".`))}}let r=n;const s=t.startsWith("update:"),o=s&&t.slice(7);if(o&&o in i){const p=`${o==="modelValue"?"model":o}Modifiers`,{number:m,trim:y}=i[p]||ge;y&&(r=n.map(_=>Ee(_)?_.trim():_)),m&&(r=n.map(zf))}if({}.NODE_ENV!=="production"&&Bd(e,t,r),{}.NODE_ENV!=="production"){const p=t.toLowerCase();p!==t&&i[pi(p)]&&Nt(`Event "${p}" is emitted in component ${Os(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${nn(t)}" instead of "${t}".`)}let a,l=i[a=pi(t)]||i[a=pi(en(t))];!l&&s&&(l=i[a=pi(nn(t))]),l&&pn(l,e,6,r);const f=i[a+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,pn(f,e,6,r)}}function gc(e,t,n=!1){const i=t.emitsCache,r=i.get(e);if(r!==void 0)return r;const s=e.emits;let o={},a=!1;if(!qt(e)){const l=f=>{const p=gc(f,t,!0);p&&(a=!0,_e(o,p))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(de(e)&&i.set(e,null),null):(zt(s)?s.forEach(l=>o[l]=null):_e(o,s),de(e)&&i.set(e,o),o)}function ps(e,t){return!e||!fr(t)?!1:(t=t.slice(2).replace(/Once$/,""),ne(e,t[0].toLowerCase()+t.slice(1))||ne(e,nn(t))||ne(e,t))}let Se=null,ms=null;function gs(e){const t=Se;return Se=e,ms=e&&e.type.__scopeId||null,t}function wr(e){ms=e}function Er(){ms=null}function te(e,t=Se,n){if(!t||e._n)return e;const i=(...r)=>{i._d&&qc(-1);const s=gs(t);let o;try{o=e(...r)}finally{gs(s),i._d&&qc(1)}return{}.NODE_ENV!=="production"&&pc(t),o};return i._n=!0,i._c=!0,i._d=!0,i}let Ho=!1;function vs(){Ho=!0}function Uo(e){const{type:t,vnode:n,proxy:i,withProxy:r,propsOptions:[s],slots:o,attrs:a,emit:l,render:f,renderCache:p,props:m,data:y,setupState:_,ctx:N,inheritAttrs:C}=e,A=gs(e);let V,I;({}).NODE_ENV!=="production"&&(Ho=!1);try{if(n.shapeFlag&4){const q=r||i,X={}.NODE_ENV!=="production"&&_.__isScriptSetup?new Proxy(q,{get($,dt,xt){return Nt(`Property '${String(dt)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get($,dt,xt)}}):q;V=gn(f.call(X,q,p,{}.NODE_ENV!=="production"?In(m):m,_,y,N)),I=a}else{const q=t;({}).NODE_ENV!=="production"&&a===m&&vs(),V=gn(q.length>1?q({}.NODE_ENV!=="production"?In(m):m,{}.NODE_ENV!=="production"?{get attrs(){return vs(),a},slots:o,emit:l}:{attrs:a,slots:o,emit:l}):q({}.NODE_ENV!=="production"?In(m):m,null)),I=t.props?a:jd(a)}}catch(q){Pr.length=0,gr(q,e,1),V=Vt(Xe)}let M=V,j;if({}.NODE_ENV!=="production"&&V.patchFlag>0&&V.patchFlag&2048&&([M,j]=vc(V)),I&&C!==!1){const q=Object.keys(I),{shapeFlag:X}=M;if(q.length){if(X&7)s&&q.some(Jr)&&(I=Hd(I,s)),M=ni(M,I);else if({}.NODE_ENV!=="production"&&!Ho&&M.type!==Xe){const $=Object.keys(a),dt=[],xt=[];for(let It=0,Pt=$.length;It<Pt;It++){const bt=$[It];fr(bt)?Jr(bt)||dt.push(bt[2].toLowerCase()+bt.slice(3)):xt.push(bt)}xt.length&&Nt(`Extraneous non-props attributes (${xt.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`),dt.length&&Nt(`Extraneous non-emits event listeners (${dt.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}return n.dirs&&({}.NODE_ENV!=="production"&&!yc(M)&&Nt("Runtime directive used on component with non-element root node. The directives will not function as intended."),M=ni(M),M.dirs=M.dirs?M.dirs.concat(n.dirs):n.dirs),n.transition&&({}.NODE_ENV!=="production"&&!yc(M)&&Nt("Component inside <Transition> renders non-element root node that cannot be animated."),M.transition=n.transition),{}.NODE_ENV!=="production"&&j?j(M):V=M,gs(A),V}const vc=e=>{const t=e.children,n=e.dynamicChildren,i=Wo(t,!1);if(i){if({}.NODE_ENV!=="production"&&i.patchFlag>0&&i.patchFlag&2048)return vc(i)}else return[e,void 0];const r=t.indexOf(i),s=n?n.indexOf(i):-1,o=a=>{t[r]=a,n&&(s>-1?n[s]=a:a.patchFlag>0&&(e.dynamicChildren=[...n,a]))};return[gn(i),o]};function Wo(e,t=!0){let n;for(let i=0;i<e.length;i++){const r=e[i];if(Bi(r)){if(r.type!==Xe||r.children==="v-if"){if(n)return;if(n=r,{}.NODE_ENV!=="production"&&t&&n.patchFlag>0&&n.patchFlag&2048)return Wo(n.children)}}else return}return n}const jd=e=>{let t;for(const n in e)(n==="class"||n==="style"||fr(n))&&((t||(t={}))[n]=e[n]);return t},Hd=(e,t)=>{const n={};for(const i in e)(!Jr(i)||!(i.slice(9)in t))&&(n[i]=e[i]);return n},yc=e=>e.shapeFlag&7||e.type===Xe;function Ud(e,t,n){const{props:i,children:r,component:s}=e,{props:o,children:a,patchFlag:l}=t,f=s.emitsOptions;if({}.NODE_ENV!=="production"&&(r||a)&&xi||t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return i?_c(i,o,f):!!o;if(l&8){const p=t.dynamicProps;for(let m=0;m<p.length;m++){const y=p[m];if(o[y]!==i[y]&&!ps(f,y))return!0}}}else return(r||a)&&(!a||!a.$stable)?!0:i===o?!1:i?o?_c(i,o,f):!0:!!o;return!1}function _c(e,t,n){const i=Object.keys(t);if(i.length!==Object.keys(e).length)return!0;for(let r=0;r<i.length;r++){const s=i[r];if(t[s]!==e[s]&&!ps(n,s))return!0}return!1}function Wd({vnode:e,parent:t},n){for(;t;){const i=t.subTree;if(i.suspense&&i.suspense.activeBranch===e&&(i.el=e.el),i===e)(e=t.vnode).el=n,t=t.parent;else break}}const qo="components";function qd(e,t){return Xd(qo,e,!0,t)||e}const Yd=Symbol.for("v-ndc");function Xd(e,t,n=!0,i=!1){const r=Se||Ie;if(r){const s=r.type;if(e===qo){const a=da(s,!1);if(a&&(a===t||a===en(t)||a===di(en(t))))return s}const o=xc(r[e]||s[e],t)||xc(r.appContext[e],t);if(!o&&i)return s;if({}.NODE_ENV!=="production"&&n&&!o){const a=e===qo?`
19
+ If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";Nt(`Failed to resolve ${e.slice(0,-1)}: ${t}${a}`)}return o}else({}).NODE_ENV!=="production"&&Nt(`resolve${di(e.slice(0,-1))} can only be used in render() or setup().`)}function xc(e,t){return e&&(e[t]||e[en(t)]||e[di(en(t))])}const Kd=e=>e.__isSuspense;function Zd(e,t){t&&t.pendingBranch?zt(e)?t.effects.push(...e):t.effects.push(e):ac(e)}const Qd=Symbol.for("v-scx"),Jd=()=>{{const e=ws(Qd);return e||{}.NODE_ENV!=="production"&&Nt("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function tp(e,t){return Yo(e,null,t)}const ys={};function oe(e,t,n){return{}.NODE_ENV!=="production"&&!qt(t)&&Nt("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),Yo(e,t,n)}function Yo(e,t,{immediate:n,deep:i,flush:r,once:s,onTrack:o,onTrigger:a}=ge){if(t&&s){const $=t;t=(...dt)=>{$(...dt),X()}}({}).NODE_ENV!=="production"&&i!==void 0&&typeof i=="number"&&Nt('watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'),{}.NODE_ENV!=="production"&&!t&&(n!==void 0&&Nt('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&Nt('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),s!==void 0&&Nt('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const l=$=>{Nt("Invalid watch source: ",$,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},f=Ie,p=$=>i===!0?$:wi($,i===!1?1:void 0);let m,y=!1,_=!1;if(Re(e)?(m=()=>e.value,y=yi(e)):$i(e)?(m=()=>p(e),y=!0):zt(e)?(_=!0,y=e.some($=>$i($)||yi($)),m=()=>e.map($=>{if(Re($))return $.value;if($i($))return p($);if(qt($))return Mn($,f,2);({}).NODE_ENV!=="production"&&l($)})):qt(e)?t?m=()=>Mn(e,f,2):m=()=>(N&&N(),pn(e,f,3,[C])):(m=ke,{}.NODE_ENV!=="production"&&l(e)),t&&i){const $=m;m=()=>wi($())}let N,C=$=>{N=j.onStop=()=>{Mn($,f,4),N=j.onStop=void 0}},A;if(Ns)if(C=ke,t?n&&pn(t,f,3,[m(),_?[]:void 0,C]):m(),r==="sync"){const $=Jd();A=$.__watcherHandles||($.__watcherHandles=[])}else return ke;let V=_?new Array(e.length).fill(ys):ys;const I=()=>{if(!(!j.active||!j.dirty))if(t){const $=j.run();(i||y||(_?$.some((dt,xt)=>Xn(dt,V[xt])):Xn($,V)))&&(N&&N(),pn(t,f,3,[$,V===ys?void 0:_&&V[0]===ys?[]:V,C]),V=$)}else j.run()};I.allowRecurse=!!t;let M;r==="sync"?M=I:r==="post"?M=()=>Ye(I,f&&f.suspense):(I.pre=!0,f&&(I.id=f.uid),M=()=>ds(I));const j=new So(m,ke,M),q=Yf(),X=()=>{j.stop(),q&&bo(q.effects,j)};return{}.NODE_ENV!=="production"&&(j.onTrack=o,j.onTrigger=a),t?n?I():V=j.run():r==="post"?Ye(j.run.bind(j),f&&f.suspense):j.run(),A&&A.push(X),X}function ep(e,t,n){const i=this.proxy,r=Ee(e)?e.includes(".")?bc(i,e):()=>i[e]:e.bind(i,i);let s;qt(t)?s=t:(s=t.handler,n=t);const o=Mr(this),a=Yo(r,s.bind(i),n);return o(),a}function bc(e,t){const n=t.split(".");return()=>{let i=e;for(let r=0;r<n.length&&i;r++)i=i[n[r]];return i}}function wi(e,t,n=0,i){if(!de(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(i=i||new Set,i.has(e))return e;if(i.add(e),Re(e))wi(e.value,t,n,i);else if(zt(e))for(let r=0;r<e.length;r++)wi(e[r],t,n,i);else if(Cl(e)||hi(e))e.forEach(r=>{wi(r,t,n,i)});else if(kl(e))for(const r in e)wi(e[r],t,n,i);return e}function wc(e){Ff(e)&&Nt("Do not use built-in directive ids as custom directive id: "+e)}function Xo(e,t){if(Se===null)return{}.NODE_ENV!=="production"&&Nt("withDirectives can only be used inside render functions."),e;const n=Ps(Se)||Se.proxy,i=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[s,o,a,l=ge]=t[r];s&&(qt(s)&&(s={mounted:s,updated:s}),s.deep&&wi(o),i.push({dir:s,instance:n,value:o,oldValue:void 0,arg:a,modifiers:l}))}return e}function Ei(e,t,n,i){const r=e.dirs,s=t&&t.dirs;for(let o=0;o<r.length;o++){const a=r[o];s&&(a.oldValue=s[o].value);let l=a.dir[i];l&&(Pn(),pn(l,n,8,[e.el,a,e,t]),On())}}/*! #__NO_SIDE_EFFECTS__ */function Bt(e,t){return qt(e)?(()=>_e({name:e.name},t,{setup:e}))():e}const Cr=e=>!!e.type.__asyncLoader,Ko=e=>e.type.__isKeepAlive;function np(e,t){Ec(e,"a",t)}function ip(e,t){Ec(e,"da",t)}function Ec(e,t,n=Ie){const i=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(_s(t,i,n),n){let r=n.parent;for(;r&&r.parent;)Ko(r.parent.vnode)&&rp(i,t,n,r),r=r.parent}}function rp(e,t,n,i){const r=_s(t,e,i,!0);ti(()=>{bo(i[t],r)},n)}function _s(e,t,n=Ie,i=!1){if(n){const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Pn();const a=Mr(n),l=pn(t,n,e,o);return a(),On(),l});return i?r.unshift(s):r.push(s),s}else if({}.NODE_ENV!=="production"){const r=pi(Fo[e].replace(/ hook$/,""));Nt(`${r} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const Dn=e=>(t,n=Ie)=>(!Ns||e==="sp")&&_s(e,(...i)=>t(...i),n),sp=Dn("bm"),xs=Dn("m"),op=Dn("bu"),ap=Dn("u"),lp=Dn("bum"),ti=Dn("um"),cp=Dn("sp"),up=Dn("rtg"),hp=Dn("rtc");function fp(e,t=Ie){_s("ec",e,t)}function Pe(e,t,n,i){let r;const s=n&&n[i];if(zt(e)||Ee(e)){r=new Array(e.length);for(let o=0,a=e.length;o<a;o++)r[o]=t(e[o],o,void 0,s&&s[o])}else if(typeof e=="number"){({}).NODE_ENV!=="production"&&!Number.isInteger(e)&&Nt(`The v-for range expect an integer value but got ${e}.`),r=new Array(e);for(let o=0;o<e;o++)r[o]=t(o+1,o,void 0,s&&s[o])}else if(de(e))if(e[Symbol.iterator])r=Array.from(e,(o,a)=>t(o,a,void 0,s&&s[a]));else{const o=Object.keys(e);r=new Array(o.length);for(let a=0,l=o.length;a<l;a++){const f=o[a];r[a]=t(e[f],f,a,s&&s[a])}}else r=[];return n&&(n[i]=r),r}function ye(e,t,n={},i,r){if(Se.isCE||Se.parent&&Cr(Se.parent)&&Se.parent.isCE)return t!=="default"&&(n.name=t),Vt("slot",n,i&&i());let s=e[t];({}).NODE_ENV!=="production"&&s&&s.length>1&&(Nt("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),s=()=>[]),s&&s._c&&(s._d=!1),ft();const o=s&&Cc(s(n)),a=xe(ae,{key:n.key||o&&o.key||`_${t}`},o||(i?i():[]),o&&e._===1?64:-2);return!r&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),s&&s._c&&(s._d=!0),a}function Cc(e){return e.some(t=>Bi(t)?!(t.type===Xe||t.type===ae&&!Cc(t.children)):!0)?e:null}const Zo=e=>e?Jc(e)?Ps(e)||e.proxy:Zo(e.parent):null,Ci=_e(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>({}).NODE_ENV!=="production"?In(e.props):e.props,$attrs:e=>({}).NODE_ENV!=="production"?In(e.attrs):e.attrs,$slots:e=>({}).NODE_ENV!=="production"?In(e.slots):e.slots,$refs:e=>({}).NODE_ENV!=="production"?In(e.refs):e.refs,$parent:e=>Zo(e.parent),$root:e=>Zo(e.root),$emit:e=>e.emit,$options:e=>ea(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,ds(e.update)}),$nextTick:e=>e.n||(e.n=sc.bind(e.proxy)),$watch:e=>ep.bind(e)}),Qo=e=>e==="_"||e==="$",Jo=(e,t)=>e!==ge&&!e.__isScriptSetup&&ne(e,t),Tc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:i,data:r,props:s,accessCache:o,type:a,appContext:l}=e;if({}.NODE_ENV!=="production"&&t==="__isVue")return!0;let f;if(t[0]!=="$"){const _=o[t];if(_!==void 0)switch(_){case 1:return i[t];case 2:return r[t];case 4:return n[t];case 3:return s[t]}else{if(Jo(i,t))return o[t]=1,i[t];if(r!==ge&&ne(r,t))return o[t]=2,r[t];if((f=e.propsOptions[0])&&ne(f,t))return o[t]=3,s[t];if(n!==ge&&ne(n,t))return o[t]=4,n[t];ta&&(o[t]=0)}}const p=Ci[t];let m,y;if(p)return t==="$attrs"?(Le(e.attrs,"get",""),{}.NODE_ENV!=="production"&&vs()):{}.NODE_ENV!=="production"&&t==="$slots"&&Le(e,"get",t),p(e);if((m=a.__cssModules)&&(m=m[t]))return m;if(n!==ge&&ne(n,t))return o[t]=4,n[t];if(y=l.config.globalProperties,ne(y,t))return y[t];({}).NODE_ENV!=="production"&&Se&&(!Ee(t)||t.indexOf("__v")!==0)&&(r!==ge&&Qo(t[0])&&ne(r,t)?Nt(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===Se&&Nt(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:i,setupState:r,ctx:s}=e;return Jo(r,t)?(r[t]=n,!0):{}.NODE_ENV!=="production"&&r.__isScriptSetup&&ne(r,t)?(Nt(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):i!==ge&&ne(i,t)?(i[t]=n,!0):ne(e.props,t)?({}.NODE_ENV!=="production"&&Nt(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?({}.NODE_ENV!=="production"&&Nt(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):({}.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(s,t,{enumerable:!0,configurable:!0,value:n}):s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:r,propsOptions:s}},o){let a;return!!n[o]||e!==ge&&ne(e,o)||Jo(t,o)||(a=s[0])&&ne(a,o)||ne(i,o)||ne(Ci,o)||ne(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ne(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};({}).NODE_ENV!=="production"&&(Tc.ownKeys=e=>(Nt("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));function dp(e){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>e}),Object.keys(Ci).forEach(n=>{Object.defineProperty(t,n,{configurable:!0,enumerable:!1,get:()=>Ci[n](e),set:ke})}),t}function pp(e){const{ctx:t,propsOptions:[n]}=e;n&&Object.keys(n).forEach(i=>{Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>e.props[i],set:ke})})}function mp(e){const{ctx:t,setupState:n}=e;Object.keys(Jt(n)).forEach(i=>{if(!n.__isScriptSetup){if(Qo(i[0])){Nt(`setup() return property ${JSON.stringify(i)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>n[i],set:ke})}})}function kc(e){return zt(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function gp(){const e=Object.create(null);return(t,n)=>{e[n]?Nt(`${t} property "${n}" is already defined in ${e[n]}.`):e[n]=t}}let ta=!0;function vp(e){const t=ea(e),n=e.proxy,i=e.ctx;ta=!1,t.beforeCreate&&Sc(t.beforeCreate,e,"bc");const{data:r,computed:s,methods:o,watch:a,provide:l,inject:f,created:p,beforeMount:m,mounted:y,beforeUpdate:_,updated:N,activated:C,deactivated:A,beforeDestroy:V,beforeUnmount:I,destroyed:M,unmounted:j,render:q,renderTracked:X,renderTriggered:$,errorCaptured:dt,serverPrefetch:xt,expose:It,inheritAttrs:Pt,components:bt,directives:Rt,filters:Ot}=t,wt={}.NODE_ENV!=="production"?gp():null;if({}.NODE_ENV!=="production"){const[U]=e.propsOptions;if(U)for(const tt in U)wt("Props",tt)}if(f&&yp(f,i,wt),o)for(const U in o){const tt=o[U];qt(tt)?({}.NODE_ENV!=="production"?Object.defineProperty(i,U,{value:tt.bind(n),configurable:!0,enumerable:!0,writable:!0}):i[U]=tt.bind(n),{}.NODE_ENV!=="production"&&wt("Methods",U)):{}.NODE_ENV!=="production"&&Nt(`Method "${U}" has type "${typeof tt}" in the component definition. Did you reference the function correctly?`)}if(r){({}).NODE_ENV!=="production"&&!qt(r)&&Nt("The data option must be a function. Plain object usage is no longer supported.");const U=r.call(n,n);if({}.NODE_ENV!=="production"&&wo(U)&&Nt("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!de(U))({}).NODE_ENV!=="production"&&Nt("data() should return an object.");else if(e.data=qe(U),{}.NODE_ENV!=="production")for(const tt in U)wt("Data",tt),Qo(tt[0])||Object.defineProperty(i,tt,{configurable:!0,enumerable:!0,get:()=>U[tt],set:ke})}if(ta=!0,s)for(const U in s){const tt=s[U],F=qt(tt)?tt.bind(n,n):qt(tt.get)?tt.get.bind(n,n):ke;({}).NODE_ENV!=="production"&&F===ke&&Nt(`Computed property "${U}" has no getter.`);const at=!qt(tt)&&qt(tt.set)?tt.set.bind(n):{}.NODE_ENV!=="production"?()=>{Nt(`Write operation failed: computed property "${U}" is readonly.`)}:ke,k=i0({get:F,set:at});Object.defineProperty(i,U,{enumerable:!0,configurable:!0,get:()=>k.value,set:w=>k.value=w}),{}.NODE_ENV!=="production"&&wt("Computed",U)}if(a)for(const U in a)Nc(a[U],i,n,U);if(l){const U=qt(l)?l.call(n):l;Reflect.ownKeys(U).forEach(tt=>{Cp(tt,U[tt])})}p&&Sc(p,e,"c");function rt(U,tt){zt(tt)?tt.forEach(F=>U(F.bind(n))):tt&&U(tt.bind(n))}if(rt(sp,m),rt(xs,y),rt(op,_),rt(ap,N),rt(np,C),rt(ip,A),rt(fp,dt),rt(hp,X),rt(up,$),rt(lp,I),rt(ti,j),rt(cp,xt),zt(It))if(It.length){const U=e.exposed||(e.exposed={});It.forEach(tt=>{Object.defineProperty(U,tt,{get:()=>n[tt],set:F=>n[tt]=F})})}else e.exposed||(e.exposed={});q&&e.render===ke&&(e.render=q),Pt!=null&&(e.inheritAttrs=Pt),bt&&(e.components=bt),Rt&&(e.directives=Rt)}function yp(e,t,n=ke){zt(e)&&(e=na(e));for(const i in e){const r=e[i];let s;de(r)?"default"in r?s=ws(r.from||i,r.default,!0):s=ws(r.from||i):s=ws(r),Re(s)?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):t[i]=s,{}.NODE_ENV!=="production"&&n("Inject",i)}}function Sc(e,t,n){pn(zt(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,n)}function Nc(e,t,n,i){const r=i.includes(".")?bc(n,i):()=>n[i];if(Ee(e)){const s=t[e];qt(s)?oe(r,s):{}.NODE_ENV!=="production"&&Nt(`Invalid watch handler specified by key "${e}"`,s)}else if(qt(e))oe(r,e.bind(n));else if(de(e))if(zt(e))e.forEach(s=>Nc(s,t,n,i));else{const s=qt(e.handler)?e.handler.bind(n):t[e.handler];qt(s)?oe(r,s,e):{}.NODE_ENV!=="production"&&Nt(`Invalid watch handler specified by key "${e.handler}"`,s)}else({}).NODE_ENV!=="production"&&Nt(`Invalid watch option: "${i}"`,e)}function ea(e){const t=e.type,{mixins:n,extends:i}=t,{mixins:r,optionsCache:s,config:{optionMergeStrategies:o}}=e.appContext,a=s.get(t);let l;return a?l=a:!r.length&&!n&&!i?l=t:(l={},r.length&&r.forEach(f=>bs(l,f,o,!0)),bs(l,t,o)),de(t)&&s.set(t,l),l}function bs(e,t,n,i=!1){const{mixins:r,extends:s}=t;s&&bs(e,s,n,!0),r&&r.forEach(o=>bs(e,o,n,!0));for(const o in t)if(i&&o==="expose")({}).NODE_ENV!=="production"&&Nt('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const a=_p[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const _p={data:Pc,props:Oc,emits:Oc,methods:Tr,computed:Tr,beforeCreate:Ue,created:Ue,beforeMount:Ue,mounted:Ue,beforeUpdate:Ue,updated:Ue,beforeDestroy:Ue,beforeUnmount:Ue,destroyed:Ue,unmounted:Ue,activated:Ue,deactivated:Ue,errorCaptured:Ue,serverPrefetch:Ue,components:Tr,directives:Tr,watch:bp,provide:Pc,inject:xp};function Pc(e,t){return t?e?function(){return _e(qt(e)?e.call(this,this):e,qt(t)?t.call(this,this):t)}:t:e}function xp(e,t){return Tr(na(e),na(t))}function na(e){if(zt(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ue(e,t){return e?[...new Set([].concat(e,t))]:t}function Tr(e,t){return e?_e(Object.create(null),e,t):t}function Oc(e,t){return e?zt(e)&&zt(t)?[...new Set([...e,...t])]:_e(Object.create(null),kc(e),kc(t??{})):t}function bp(e,t){if(!e)return t;if(!t)return e;const n=_e(Object.create(null),e);for(const i in t)n[i]=Ue(e[i],t[i]);return n}function Ic(){return{app:null,config:{isNativeTag:Lf,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 wp=0;function Ep(e,t){return function(i,r=null){qt(i)||(i=_e({},i)),r!=null&&!de(r)&&({}.NODE_ENV!=="production"&&Nt("root props passed to app.mount() must be an object."),r=null);const s=Ic(),o=new WeakSet;let a=!1;const l=s.app={_uid:wp++,_component:i,_props:r,_container:null,_context:s,_instance:null,version:su,get config(){return s.config},set config(f){({}).NODE_ENV!=="production"&&Nt("app.config cannot be replaced. Modify individual options instead.")},use(f,...p){return o.has(f)?{}.NODE_ENV!=="production"&&Nt("Plugin has already been applied to target app."):f&&qt(f.install)?(o.add(f),f.install(l,...p)):qt(f)?(o.add(f),f(l,...p)):{}.NODE_ENV!=="production"&&Nt('A plugin must either be a function or an object with an "install" function.'),l},mixin(f){return s.mixins.includes(f)?{}.NODE_ENV!=="production"&&Nt("Mixin has already been applied to target app"+(f.name?`: ${f.name}`:"")):s.mixins.push(f),l},component(f,p){return{}.NODE_ENV!=="production"&&ha(f,s.config),p?({}.NODE_ENV!=="production"&&s.components[f]&&Nt(`Component "${f}" has already been registered in target app.`),s.components[f]=p,l):s.components[f]},directive(f,p){return{}.NODE_ENV!=="production"&&wc(f),p?({}.NODE_ENV!=="production"&&s.directives[f]&&Nt(`Directive "${f}" has already been registered in target app.`),s.directives[f]=p,l):s.directives[f]},mount(f,p,m){if(a)({}).NODE_ENV!=="production"&&Nt("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`");else{({}).NODE_ENV!=="production"&&f.__vue_app__&&Nt("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");const y=Vt(i,r);return y.appContext=s,m===!0?m="svg":m===!1&&(m=void 0),{}.NODE_ENV!=="production"&&(s.reload=()=>{e(ni(y),f,m)}),p&&t?t(y,f):e(y,f,m),a=!0,l._container=f,f.__vue_app__=l,{}.NODE_ENV!=="production"&&(l._instance=y.component,Dd(l,su)),Ps(y.component)||y.component.proxy}},unmount(){a?(e(null,l._container),{}.NODE_ENV!=="production"&&(l._instance=null,Ld(l)),delete l._container.__vue_app__):{}.NODE_ENV!=="production"&&Nt("Cannot unmount an app that is not mounted.")},provide(f,p){return{}.NODE_ENV!=="production"&&f in s.provides&&Nt(`App already provides property with key "${String(f)}". It will be overwritten with the new value.`),s.provides[f]=p,l},runWithContext(f){const p=kr;kr=l;try{return f()}finally{kr=p}}};return l}}let kr=null;function Cp(e,t){if(!Ie)({}).NODE_ENV!=="production"&&Nt("provide() can only be used inside setup().");else{let n=Ie.provides;const i=Ie.parent&&Ie.parent.provides;i===n&&(n=Ie.provides=Object.create(i)),n[e]=t}}function ws(e,t,n=!1){const i=Ie||Se;if(i||kr){const r=i?i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:kr._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&qt(t)?t.call(i&&i.proxy):t;({}).NODE_ENV!=="production"&&Nt(`injection "${String(e)}" not found.`)}else({}).NODE_ENV!=="production"&&Nt("inject() can only be used inside setup() or functional components.")}const Mc={},Ac=()=>Object.create(Mc),Dc=e=>Object.getPrototypeOf(e)===Mc;function Tp(e,t,n,i=!1){const r={},s=Ac();e.propsDefaults=Object.create(null),Lc(e,t,r,s);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);({}).NODE_ENV!=="production"&&zc(t||{},r,e),n?e.props=i?r:pd(r):e.type.props?e.props=r:e.props=s,e.attrs=s}function kp(e){for(;e;){if(e.type.__hmrId)return!0;e=e.parent}}function Sp(e,t,n,i){const{props:r,attrs:s,vnode:{patchFlag:o}}=e,a=Jt(r),[l]=e.propsOptions;let f=!1;if(!({}.NODE_ENV!=="production"&&kp(e))&&(i||o>0)&&!(o&16)){if(o&8){const p=e.vnode.dynamicProps;for(let m=0;m<p.length;m++){let y=p[m];if(ps(e.emitsOptions,y))continue;const _=t[y];if(l)if(ne(s,y))_!==s[y]&&(s[y]=_,f=!0);else{const N=en(y);r[N]=ia(l,a,N,_,e,!1)}else _!==s[y]&&(s[y]=_,f=!0)}}}else{Lc(e,t,r,s)&&(f=!0);let p;for(const m in a)(!t||!ne(t,m)&&((p=nn(m))===m||!ne(t,p)))&&(l?n&&(n[m]!==void 0||n[p]!==void 0)&&(r[m]=ia(l,a,m,void 0,e,!0)):delete r[m]);if(s!==a)for(const m in s)(!t||!ne(t,m))&&(delete s[m],f=!0)}f&&xn(e.attrs,"set",""),{}.NODE_ENV!=="production"&&zc(t||{},r,e)}function Lc(e,t,n,i){const[r,s]=e.propsOptions;let o=!1,a;if(t)for(let l in t){if(dr(l))continue;const f=t[l];let p;r&&ne(r,p=en(l))?!s||!s.includes(p)?n[p]=f:(a||(a={}))[p]=f:ps(e.emitsOptions,l)||(!(l in i)||f!==i[l])&&(i[l]=f,o=!0)}if(s){const l=Jt(n),f=a||ge;for(let p=0;p<s.length;p++){const m=s[p];n[m]=ia(r,l,m,f[m],e,!ne(f,m))}}return o}function ia(e,t,n,i,r,s){const o=e[n];if(o!=null){const a=ne(o,"default");if(a&&i===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&qt(l)){const{propsDefaults:f}=r;if(n in f)i=f[n];else{const p=Mr(r);i=f[n]=l.call(null,t),p()}}else i=l}o[0]&&(s&&!a?i=!1:o[1]&&(i===""||i===nn(n))&&(i=!0))}return i}function Rc(e,t,n=!1){const i=t.propsCache,r=i.get(e);if(r)return r;const s=e.props,o={},a=[];let l=!1;if(!qt(e)){const p=m=>{l=!0;const[y,_]=Rc(m,t,!0);_e(o,y),_&&a.push(..._)};!n&&t.mixins.length&&t.mixins.forEach(p),e.extends&&p(e.extends),e.mixins&&e.mixins.forEach(p)}if(!s&&!l)return de(e)&&i.set(e,Fi),Fi;if(zt(s))for(let p=0;p<s.length;p++){({}).NODE_ENV!=="production"&&!Ee(s[p])&&Nt("props must be strings when using array syntax.",s[p]);const m=en(s[p]);Fc(m)&&(o[m]=ge)}else if(s){({}).NODE_ENV!=="production"&&!de(s)&&Nt("invalid props options",s);for(const p in s){const m=en(p);if(Fc(m)){const y=s[p],_=o[m]=zt(y)||qt(y)?{type:y}:_e({},y);if(_){const N=Vc(Boolean,_.type),C=Vc(String,_.type);_[0]=N>-1,_[1]=C<0||N<C,(N>-1||ne(_,"default"))&&a.push(m)}}}}const f=[o,a];return de(e)&&i.set(e,f),f}function Fc(e){return e[0]!=="$"&&!dr(e)?!0:({}.NODE_ENV!=="production"&&Nt(`Invalid prop name: "${e}" is a reserved property.`),!1)}function ra(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function $c(e,t){return ra(e)===ra(t)}function Vc(e,t){return zt(t)?t.findIndex(n=>$c(n,e)):qt(t)&&$c(t,e)?0:-1}function zc(e,t,n){const i=Jt(t),r=n.propsOptions[0];for(const s in r){let o=r[s];o!=null&&Np(s,i[s],o,{}.NODE_ENV!=="production"?In(i):i,!ne(e,s)&&!ne(e,nn(s)))}}function Np(e,t,n,i,r){const{type:s,required:o,validator:a,skipCheck:l}=n;if(o&&r){Nt('Missing required prop: "'+e+'"');return}if(!(t==null&&!o)){if(s!=null&&s!==!0&&!l){let f=!1;const p=zt(s)?s:[s],m=[];for(let y=0;y<p.length&&!f;y++){const{valid:_,expectedType:N}=Op(t,p[y]);m.push(N||""),f=_}if(!f){Nt(Ip(e,t,m));return}}a&&!a(t,i)&&Nt('Invalid prop: custom validator check failed for prop "'+e+'".')}}const Pp=Ri("String,Number,Boolean,Function,Symbol,BigInt");function Op(e,t){let n;const i=ra(t);if(Pp(i)){const r=typeof e;n=r===i.toLowerCase(),!n&&r==="object"&&(n=e instanceof t)}else i==="Object"?n=de(e):i==="Array"?n=zt(e):i==="null"?n=e===null:n=e instanceof t;return{valid:n,expectedType:i}}function Ip(e,t,n){if(n.length===0)return`Prop type [] for prop "${e}" won't match anything. Did you mean to use type Array instead?`;let i=`Invalid prop: type check failed for prop "${e}". Expected ${n.map(di).join(" | ")}`;const r=n[0],s=Eo(t),o=Bc(t,r),a=Bc(t,s);return n.length===1&&Gc(r)&&!Mp(r,s)&&(i+=` with value ${o}`),i+=`, got ${s} `,Gc(s)&&(i+=`with value ${a}.`),i}function Bc(e,t){return t==="String"?`"${e}"`:t==="Number"?`${Number(e)}`:`${e}`}function Gc(e){return["string","number","boolean"].some(n=>e.toLowerCase()===n)}function Mp(...e){return e.some(t=>t.toLowerCase()==="boolean")}const jc=e=>e[0]==="_"||e==="$stable",sa=e=>zt(e)?e.map(gn):[gn(e)],Ap=(e,t,n)=>{if(t._n)return t;const i=te((...r)=>({}.NODE_ENV!=="production"&&Ie&&(!n||n.root===Ie.root)&&Nt(`Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),sa(t(...r))),n);return i._c=!1,i},Hc=(e,t,n)=>{const i=e._ctx;for(const r in e){if(jc(r))continue;const s=e[r];if(qt(s))t[r]=Ap(r,s,i);else if(s!=null){({}).NODE_ENV!=="production"&&Nt(`Non-function value encountered for slot "${r}". Prefer function slots for better performance.`);const o=sa(s);t[r]=()=>o}}},Uc=(e,t)=>{({}).NODE_ENV!=="production"&&!Ko(e.vnode)&&Nt("Non-function value encountered for default slot. Prefer function slots for better performance.");const n=sa(t);e.slots.default=()=>n},Dp=(e,t)=>{const n=e.slots=Ac();if(e.vnode.shapeFlag&32){const i=t._;i?(_e(n,t),Sl(n,"_",i)):Hc(t,n)}else t&&Uc(e,t)},Lp=(e,t,n)=>{const{vnode:i,slots:r}=e;let s=!0,o=ge;if(i.shapeFlag&32){const a=t._;a?{}.NODE_ENV!=="production"&&xi?(_e(r,t),xn(e,"set","$slots")):n&&a===1?s=!1:(_e(r,t),!n&&a===1&&delete r._):(s=!t.$stable,Hc(t,r)),o=t}else t&&(Uc(e,t),o={default:1});if(s)for(const a in r)!jc(a)&&o[a]==null&&delete r[a]};function oa(e,t,n,i,r=!1){if(zt(e)){e.forEach((y,_)=>oa(y,t&&(zt(t)?t[_]:t),n,i,r));return}if(Cr(i)&&!r)return;const s=i.shapeFlag&4?Ps(i.component)||i.component.proxy:i.el,o=r?null:s,{i:a,r:l}=e;if({}.NODE_ENV!=="production"&&!a){Nt("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}const f=t&&t.r,p=a.refs===ge?a.refs={}:a.refs,m=a.setupState;if(f!=null&&f!==l&&(Ee(f)?(p[f]=null,ne(m,f)&&(m[f]=null)):Re(f)&&(f.value=null)),qt(l))Mn(l,a,12,[o,p]);else{const y=Ee(l),_=Re(l);if(y||_){const N=()=>{if(e.f){const C=y?ne(m,l)?m[l]:p[l]:l.value;r?zt(C)&&bo(C,s):zt(C)?C.includes(s)||C.push(s):y?(p[l]=[s],ne(m,l)&&(m[l]=p[l])):(l.value=[s],e.k&&(p[e.k]=l.value))}else y?(p[l]=o,ne(m,l)&&(m[l]=o)):_?(l.value=o,e.k&&(p[e.k]=o)):{}.NODE_ENV!=="production"&&Nt("Invalid template ref type:",l,`(${typeof l})`)};o?(N.id=-1,Ye(N,n)):N()}else({}).NODE_ENV!=="production"&&Nt("Invalid template ref type:",l,`(${typeof l})`)}}let Sr,ei;function Ln(e,t){e.appContext.config.performance&&Es()&&ei.mark(`vue-${t}-${e.uid}`),{}.NODE_ENV!=="production"&&Vd(e,t,Es()?ei.now():Date.now())}function Rn(e,t){if(e.appContext.config.performance&&Es()){const n=`vue-${t}-${e.uid}`,i=n+":end";ei.mark(i),ei.measure(`<${Os(e,e.type)}> ${t}`,n,i),ei.clearMarks(n),ei.clearMarks(i)}({}).NODE_ENV!=="production"&&zd(e,t,Es()?ei.now():Date.now())}function Es(){return Sr!==void 0||(typeof window<"u"&&window.performance?(Sr=!0,ei=window.performance):Sr=!1),Sr}function Rp(){const e=[];if({}.NODE_ENV!=="production"&&e.length){const t=e.length>1;console.warn(`Feature flag${t?"s":""} ${e.join(", ")} ${t?"are":"is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
20
20
 
21
- For more details, see https://link.vuejs.org/feature-flags.`)}}const Ve=su;function Wu(t){return Uu(t)}function Uu(t,e){Bu();const o=Un();o.__VUE__=!0,{}.NODE_ENV!=="production"&&pr(o.__VUE_DEVTOOLS_GLOBAL_HOOK__,o);const{insert:n,remove:i,patchProp:s,createElement:r,createText:a,createComment:l,setText:c,setElementText:d,parentNode:f,nextSibling:u,setScopeId:v=ge,insertStaticContent:b}=t,y=(p,m,g,_=null,x=null,C=null,S=void 0,E=null,O={}.NODE_ENV!=="production"&&Rt?!1:!!m.dynamicChildren)=>{if(p===m)return;p&&!$o(p,m)&&(_=Fn(p),St(p,x,C,!0),p=null),m.patchFlag===-2&&(O=!1,m.dynamicChildren=null);const{type:w,ref:P,shapeFlag:H}=m;switch(w){case No:k(p,m,g,_);break;case Ie:A(p,m,g,_);break;case pn:p==null?$(m,g,_,S):{}.NODE_ENV!=="production"&&z(p,m,g,S);break;case be:jn(p,m,g,_,x,C,S,E,O);break;default:H&1?M(p,m,g,_,x,C,S,E,O):H&6?Rl(p,m,g,_,x,C,S,E,O):H&64||H&128?w.process(p,m,g,_,x,C,S,E,O,ro):{}.NODE_ENV!=="production"&&N("Invalid VNode type:",w,`(${typeof w})`)}P!=null&&x&&Ni(P,p&&p.ref,C,m||p,!m)},k=(p,m,g,_)=>{if(p==null)n(m.el=a(m.children),g,_);else{const x=m.el=p.el;m.children!==p.children&&c(x,m.children)}},A=(p,m,g,_)=>{p==null?n(m.el=l(m.children||""),g,_):m.el=p.el},$=(p,m,g,_)=>{[p.el,p.anchor]=b(p.children,m,g,_,p.el,p.anchor)},z=(p,m,g,_)=>{if(m.children!==p.children){const x=u(p.anchor);ne(p),[m.el,m.anchor]=b(m.children,g,x,_)}else m.el=p.el,m.anchor=p.anchor},G=({el:p,anchor:m},g,_)=>{let x;for(;p&&p!==m;)x=u(p),n(p,g,_),p=x;n(m,g,_)},ne=({el:p,anchor:m})=>{let g;for(;p&&p!==m;)g=u(p),i(p),p=g;i(m)},M=(p,m,g,_,x,C,S,E,O)=>{m.type==="svg"?S="svg":m.type==="math"&&(S="mathml"),p==null?I(m,g,_,x,C,S,E,O):Te(p,m,x,C,S,E,O)},I=(p,m,g,_,x,C,S,E)=>{let O,w;const{props:P,shapeFlag:H,transition:j,dirs:K}=p;if(O=p.el=r(p.type,C,P&&P.is,P),H&8?d(O,p.children):H&16&&ve(p.children,O,null,_,x,Oi(p,C),S,E),K&&zt(p,null,_,"created"),he(O,p,p.scopeId,S,_),P){for(const re in P)re!=="value"&&!uo(re)&&s(O,re,null,P[re],C,p.children,_,x,vt);"value"in P&&s(O,"value",null,P.value,C),(w=P.onVnodeBeforeMount)&&Qe(w,_,p)}({}).NODE_ENV!=="production"&&(Object.defineProperty(O,"__vnode",{value:p,enumerable:!1}),Object.defineProperty(O,"__vueParentComponent",{value:_,enumerable:!1})),K&&zt(p,null,_,"beforeMount");const J=Gu(x,j);J&&j.beforeEnter(O),n(O,m,g),((w=P&&P.onVnodeMounted)||J||K)&&Ve(()=>{w&&Qe(w,_,p),J&&j.enter(O),K&&zt(p,null,_,"mounted")},x)},he=(p,m,g,_,x)=>{if(g&&v(p,g),_)for(let C=0;C<_.length;C++)v(p,_[C]);if(x){let C=x.subTree;if({}.NODE_ENV!=="production"&&C.patchFlag>0&&C.patchFlag&2048&&(C=fi(C.children)||C),m===C){const S=x.vnode;he(p,S,S.scopeId,S.slotScopeIds,x.parent)}}},ve=(p,m,g,_,x,C,S,E,O=0)=>{for(let w=O;w<p.length;w++){const P=p[w]=E?Ct(p[w]):Ge(p[w]);y(null,P,m,g,_,x,C,S,E)}},Te=(p,m,g,_,x,C,S)=>{const E=m.el=p.el;let{patchFlag:O,dynamicChildren:w,dirs:P}=m;O|=p.patchFlag&16;const H=p.props||ae,j=m.props||ae;let K;if(g&&Bt(g,!1),(K=j.onVnodeBeforeUpdate)&&Qe(K,g,m,p),P&&zt(m,p,g,"beforeUpdate"),g&&Bt(g,!0),{}.NODE_ENV!=="production"&&Rt&&(O=0,S=!1,w=null),w?(Nt(p.dynamicChildren,w,E,g,_,Oi(m,x),C),{}.NODE_ENV!=="production"&&fn(p,m)):S||tt(p,m,E,null,g,_,Oi(m,x),C,!1),O>0){if(O&16)qe(E,m,H,j,g,_,x);else if(O&2&&H.class!==j.class&&s(E,"class",null,j.class,x),O&4&&s(E,"style",H.style,j.style,x),O&8){const J=m.dynamicProps;for(let re=0;re<J.length;re++){const pe=J[re],Ne=H[pe],Ye=j[pe];(Ye!==Ne||pe==="value")&&s(E,pe,Ne,Ye,x,p.children,g,_,vt)}}O&1&&p.children!==m.children&&d(E,m.children)}else!S&&w==null&&qe(E,m,H,j,g,_,x);((K=j.onVnodeUpdated)||P)&&Ve(()=>{K&&Qe(K,g,m,p),P&&zt(m,p,g,"updated")},_)},Nt=(p,m,g,_,x,C,S)=>{for(let E=0;E<m.length;E++){const O=p[E],w=m[E],P=O.el&&(O.type===be||!$o(O,w)||O.shapeFlag&70)?f(O.el):g;y(O,w,P,null,_,x,C,S,!0)}},qe=(p,m,g,_,x,C,S)=>{if(g!==_){if(g!==ae)for(const E in g)!uo(E)&&!(E in _)&&s(p,E,g[E],null,S,m.children,x,C,vt);for(const E in _){if(uo(E))continue;const O=_[E],w=g[E];O!==w&&E!=="value"&&s(p,E,w,O,S,m.children,x,C,vt)}"value"in _&&s(p,"value",g.value,_.value,S)}},jn=(p,m,g,_,x,C,S,E,O)=>{const w=m.el=p?p.el:a(""),P=m.anchor=p?p.anchor:a("");let{patchFlag:H,dynamicChildren:j,slotScopeIds:K}=m;({}).NODE_ENV!=="production"&&(Rt||H&2048)&&(H=0,O=!1,j=null),K&&(E=E?E.concat(K):K),p==null?(n(w,g,_),n(P,g,_),ve(m.children||[],g,P,x,C,S,E,O)):H>0&&H&64&&j&&p.dynamicChildren?(Nt(p.dynamicChildren,j,g,x,C,S,E),{}.NODE_ENV!=="production"?fn(p,m):(m.key!=null||x&&m===x.subTree)&&fn(p,m,!0)):tt(p,m,g,P,x,C,S,E,O)},Rl=(p,m,g,_,x,C,S,E,O)=>{m.slotScopeIds=E,p==null?m.shapeFlag&512?x.ctx.activate(m,g,_,S,O):Ot(m,g,_,x,C,S,O):Ae(p,m,O)},Ot=(p,m,g,_,x,C,S)=>{const E=p.component=ed(p,_,x);if({}.NODE_ENV!=="production"&&E.type.__hmrId&&Rc(E),{}.NODE_ENV!=="production"&&(Jo(p),ct(E,"mount")),mi(p)&&(E.ctx.renderer=ro),{}.NODE_ENV!=="production"&&ct(E,"init"),nd(E),{}.NODE_ENV!=="production"&&ut(E,"init"),E.asyncDep){if(x&&x.registerDep(E,te),!p.el){const O=E.subTree=oe(Ie);A(null,O,m,g)}}else te(E,p,m,g,x,C,S);({}).NODE_ENV!=="production"&&(Qo(),ut(E,"mount"))},Ae=(p,m,g)=>{const _=m.component=p.component;if(Qc(p,m,g))if(_.asyncDep&&!_.asyncResolved){({}).NODE_ENV!=="production"&&Jo(m),Q(_,m,g),{}.NODE_ENV!=="production"&&Qo();return}else _.next=m,Mc(_.update),_.effect.dirty=!0,_.update();else m.el=p.el,_.vnode=m},te=(p,m,g,_,x,C,S)=>{const E=()=>{if(p.isMounted){let{next:P,bu:H,u:j,parent:K,vnode:J}=p;{const ao=Kr(p);if(ao){P&&(P.el=J.el,Q(p,P,S)),ao.asyncDep.then(()=>{p.isUnmounted||E()});return}}let re=P,pe;({}).NODE_ENV!=="production"&&Jo(P||p.vnode),Bt(p,!1),P?(P.el=J.el,Q(p,P,S)):P=J,H&&fo(H),(pe=P.props&&P.props.onVnodeBeforeUpdate)&&Qe(pe,K,P,J),Bt(p,!0),{}.NODE_ENV!=="production"&&ct(p,"render");const Ne=di(p);({}).NODE_ENV!=="production"&&ut(p,"render");const Ye=p.subTree;p.subTree=Ne,{}.NODE_ENV!=="production"&&ct(p,"patch"),y(Ye,Ne,f(Ye.el),Fn(Ye),p,x,C),{}.NODE_ENV!=="production"&&ut(p,"patch"),P.el=Ne.el,re===null&&eu(p,Ne.el),j&&Ve(j,x),(pe=P.props&&P.props.onVnodeUpdated)&&Ve(()=>Qe(pe,K,P,J),x),{}.NODE_ENV!=="production"&&hr(p),{}.NODE_ENV!=="production"&&Qo()}else{let P;const{el:H,props:j}=m,{bm:K,m:J,parent:re}=p,pe=wo(m);if(Bt(p,!1),K&&fo(K),!pe&&(P=j&&j.onVnodeBeforeMount)&&Qe(P,re,m),Bt(p,!0),H&&Es){const Ne=()=>{({}).NODE_ENV!=="production"&&ct(p,"render"),p.subTree=di(p),{}.NODE_ENV!=="production"&&ut(p,"render"),{}.NODE_ENV!=="production"&&ct(p,"hydrate"),Es(H,p.subTree,p,x,null),{}.NODE_ENV!=="production"&&ut(p,"hydrate")};pe?m.type.__asyncLoader().then(()=>!p.isUnmounted&&Ne()):Ne()}else{({}).NODE_ENV!=="production"&&ct(p,"render");const Ne=p.subTree=di(p);({}).NODE_ENV!=="production"&&ut(p,"render"),{}.NODE_ENV!=="production"&&ct(p,"patch"),y(null,Ne,g,_,p,x,C),{}.NODE_ENV!=="production"&&ut(p,"patch"),m.el=Ne.el}if(J&&Ve(J,x),!pe&&(P=j&&j.onVnodeMounted)){const Ne=m;Ve(()=>Qe(P,re,Ne),x)}(m.shapeFlag&256||re&&wo(re.vnode)&&re.vnode.shapeFlag&256)&&p.a&&Ve(p.a,x),p.isMounted=!0,{}.NODE_ENV!=="production"&&Wc(p),m=g=_=null}},O=p.effect=new Kn(E,ge,()=>en(w),p.scope),w=p.update=()=>{O.dirty&&O.run()};w.id=p.uid,Bt(p,!0),{}.NODE_ENV!=="production"&&(O.onTrack=p.rtc?P=>fo(p.rtc,P):void 0,O.onTrigger=p.rtg?P=>fo(p.rtg,P):void 0,w.ownerInstance=p),w()},Q=(p,m,g)=>{m.component=p;const _=p.vnode.props;p.vnode=m,p.next=null,Vu(p,m.props,_,g),Hu(p,m.children,g),nt(),lr(p),it()},tt=(p,m,g,_,x,C,S,E,O=!1)=>{const w=p&&p.children,P=p?p.shapeFlag:0,H=m.children,{patchFlag:j,shapeFlag:K}=m;if(j>0){if(j&128){Ro(w,H,g,_,x,C,S,E,O);return}else if(j&256){bs(w,H,g,_,x,C,S,E,O);return}}K&8?(P&16&&vt(w,x,C),H!==w&&d(g,H)):P&16?K&16?Ro(w,H,g,_,x,C,S,E,O):vt(w,x,C,!0):(P&8&&d(g,""),K&16&&ve(H,g,_,x,C,S,E,O))},bs=(p,m,g,_,x,C,S,E,O)=>{p=p||Kt,m=m||Kt;const w=p.length,P=m.length,H=Math.min(w,P);let j;for(j=0;j<H;j++){const K=m[j]=O?Ct(m[j]):Ge(m[j]);y(p[j],K,g,null,x,C,S,E,O)}w>P?vt(p,x,C,!0,!1,H):ve(m,g,_,x,C,S,E,O,H)},Ro=(p,m,g,_,x,C,S,E,O)=>{let w=0;const P=m.length;let H=p.length-1,j=P-1;for(;w<=H&&w<=j;){const K=p[w],J=m[w]=O?Ct(m[w]):Ge(m[w]);if($o(K,J))y(K,J,g,null,x,C,S,E,O);else break;w++}for(;w<=H&&w<=j;){const K=p[H],J=m[j]=O?Ct(m[j]):Ge(m[j]);if($o(K,J))y(K,J,g,null,x,C,S,E,O);else break;H--,j--}if(w>H){if(w<=j){const K=j+1,J=K<P?m[K].el:_;for(;w<=j;)y(null,m[w]=O?Ct(m[w]):Ge(m[w]),g,J,x,C,S,E,O),w++}}else if(w>j)for(;w<=H;)St(p[w],x,C,!0),w++;else{const K=w,J=w,re=new Map;for(w=J;w<=j;w++){const Le=m[w]=O?Ct(m[w]):Ge(m[w]);Le.key!=null&&({}.NODE_ENV!=="production"&&re.has(Le.key)&&N("Duplicate keys found during update:",JSON.stringify(Le.key),"Make sure keys are unique."),re.set(Le.key,w))}let pe,Ne=0;const Ye=j-J+1;let ao=!1,Fl=0;const jo=new Array(Ye);for(w=0;w<Ye;w++)jo[w]=0;for(w=K;w<=H;w++){const Le=p[w];if(Ne>=Ye){St(Le,x,C,!0);continue}let ot;if(Le.key!=null)ot=re.get(Le.key);else for(pe=J;pe<=j;pe++)if(jo[pe-J]===0&&$o(Le,m[pe])){ot=pe;break}ot===void 0?St(Le,x,C,!0):(jo[ot-J]=w+1,ot>=Fl?Fl=ot:ao=!0,y(Le,m[ot],g,null,x,C,S,E,O),Ne++)}const zl=ao?Ku(jo):Kt;for(pe=zl.length-1,w=Ye-1;w>=0;w--){const Le=J+w,ot=m[Le],Hl=Le+1<P?m[Le+1].el:_;jo[w]===0?y(null,ot,g,Hl,x,C,S,E,O):ao&&(pe<0||w!==zl[pe]?so(ot,g,Hl,2):pe--)}}},so=(p,m,g,_,x=null)=>{const{el:C,type:S,transition:E,children:O,shapeFlag:w}=p;if(w&6){so(p.component.subTree,m,g,_);return}if(w&128){p.suspense.move(m,g,_);return}if(w&64){S.move(p,m,g,ro);return}if(S===be){n(C,m,g);for(let H=0;H<O.length;H++)so(O[H],m,g,_);n(p.anchor,m,g);return}if(S===pn){G(p,m,g);return}if(_!==2&&w&1&&E)if(_===0)E.beforeEnter(C),n(C,m,g),Ve(()=>E.enter(C),x);else{const{leave:H,delayLeave:j,afterLeave:K}=E,J=()=>n(C,m,g),re=()=>{H(C,()=>{J(),K&&K()})};j?j(C,J,re):re()}else n(C,m,g)},St=(p,m,g,_=!1,x=!1)=>{const{type:C,props:S,ref:E,children:O,dynamicChildren:w,shapeFlag:P,patchFlag:H,dirs:j}=p;if(E!=null&&Ni(E,null,g,p,!0),P&256){m.ctx.deactivate(p);return}const K=P&1&&j,J=!wo(p);let re;if(J&&(re=S&&S.onVnodeBeforeUnmount)&&Qe(re,m,p),P&6)Jm(p.component,g,_);else{if(P&128){p.suspense.unmount(g,_);return}K&&zt(p,null,m,"beforeUnmount"),P&64?p.type.remove(p,m,g,x,ro,_):w&&(C!==be||H>0&&H&64)?vt(w,m,g,!1,!0):(C===be&&H&384||!x&&P&16)&&vt(O,m,g),_&&_s(p)}(J&&(re=S&&S.onVnodeUnmounted)||K)&&Ve(()=>{re&&Qe(re,m,p),K&&zt(p,null,m,"unmounted")},g)},_s=p=>{const{type:m,el:g,anchor:_,transition:x}=p;if(m===be){({}).NODE_ENV!=="production"&&p.patchFlag>0&&p.patchFlag&2048&&x&&!x.persisted?p.children.forEach(S=>{S.type===Ie?i(S.el):_s(S)}):Xm(g,_);return}if(m===pn){ne(p);return}const C=()=>{i(g),x&&!x.persisted&&x.afterLeave&&x.afterLeave()};if(p.shapeFlag&1&&x&&!x.persisted){const{leave:S,delayLeave:E}=x,O=()=>S(g,C);E?E(p.el,C,O):O()}else C()},Xm=(p,m)=>{let g;for(;p!==m;)g=u(p),i(p),p=g;i(m)},Jm=(p,m,g)=>{({}).NODE_ENV!=="production"&&p.type.__hmrId&&jc(p);const{bum:_,scope:x,update:C,subTree:S,um:E}=p;_&&fo(_),x.stop(),C&&(C.active=!1,St(S,p,m,g)),E&&Ve(E,m),Ve(()=>{p.isUnmounted=!0},m),m&&m.pendingBranch&&!m.isUnmounted&&p.asyncDep&&!p.asyncResolved&&p.suspenseId===m.pendingId&&(m.deps--,m.deps===0&&m.resolve()),{}.NODE_ENV!=="production"&&Gc(p)},vt=(p,m,g,_=!1,x=!1,C=0)=>{for(let S=C;S<p.length;S++)St(p[S],m,g,_,x)},Fn=p=>p.shapeFlag&6?Fn(p.component.subTree):p.shapeFlag&128?p.suspense.next():u(p.anchor||p.el);let xs=!1;const jl=(p,m,g)=>{p==null?m._vnode&&St(m._vnode,null,null,!0):y(m._vnode||null,p,m,null,null,null,g),xs||(xs=!0,lr(),cr(),xs=!1),m._vnode=p},ro={p:y,um:St,m:so,r:_s,mt:Ot,mc:ve,pc:tt,pbc:Nt,n:Fn,o:t};let ws,Es;return e&&([ws,Es]=e(ro)),{render:jl,hydrate:ws,createApp:Tu(jl,ws)}}function Oi({type:t,props:e},o){return o==="svg"&&t==="foreignObject"||o==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:o}function Bt({effect:t,update:e},o){t.allowRecurse=e.allowRecurse=o}function Gu(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function fn(t,e,o=!1){const n=t.children,i=e.children;if(F(n)&&F(i))for(let s=0;s<n.length;s++){const r=n[s];let a=i[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[s]=Ct(i[s]),a.el=r.el),o||fn(r,a)),a.type===No&&(a.el=r.el),{}.NODE_ENV!=="production"&&a.type===Ie&&!a.el&&(a.el=r.el)}}function Ku(t){const e=t.slice(),o=[0];let n,i,s,r,a;const l=t.length;for(n=0;n<l;n++){const c=t[n];if(c!==0){if(i=o[o.length-1],t[i]<c){e[n]=i,o.push(n);continue}for(s=0,r=o.length-1;s<r;)a=s+r>>1,t[o[a]]<c?s=a+1:r=a;c<t[o[s]]&&(s>0&&(e[n]=o[s-1]),o[s]=n)}}for(s=o.length,r=o[s-1];s-- >0;)o[s]=r,r=e[r];return o}function Kr(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Kr(e)}const qu=t=>t.__isTeleport,be=Symbol.for("v-fgt"),No=Symbol.for("v-txt"),Ie=Symbol.for("v-cmt"),pn=Symbol.for("v-stc"),Oo=[];let Ue=null;function D(t=!1){Oo.push(Ue=t?null:[])}function Yu(){Oo.pop(),Ue=Oo[Oo.length-1]||null}let So=1;function qr(t){So+=t}function Yr(t){return t.dynamicChildren=So>0?Ue||Kt:null,Yu(),So>0&&Ue&&Ue.push(t),t}function B(t,e,o,n,i,s){return Yr(h(t,e,o,n,i,s,!0))}function _e(t,e,o,n,i){return Yr(oe(t,e,o,n,i,!0))}function Jt(t){return t?t.__v_isVNode===!0:!1}function $o(t,e){return{}.NODE_ENV!=="production"&&e.shapeFlag&6&&Zt.has(e.type)?(t.shapeFlag&=-257,e.shapeFlag&=-513,!1):t.type===e.type&&t.key===e.key}const Zu=(...t)=>Xr(...t),Zr=({key:t})=>t??null,hn=({ref:t,ref_key:e,ref_for:o})=>(typeof t=="number"&&(t=""+t),t!=null?me(t)||$e(t)||W(t)?{i:ye,r:t,k:e,f:!!o}:t:null);function h(t,e=null,o=null,n=0,i=null,s=t===be?0:1,r=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Zr(e),ref:e&&hn(e),scopeId:on,slotScopeIds:null,children:o,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:ye};return a?(Si(l,o),s&128&&t.normalize(l)):o&&(l.shapeFlag|=me(o)?8:16),{}.NODE_ENV!=="production"&&l.key!==l.key&&N("VNode created with invalid key (NaN). VNode type:",l.type),So>0&&!r&&Ue&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Ue.push(l),l}const oe={}.NODE_ENV!=="production"?Zu:Xr;function Xr(t,e=null,o=null,n=0,i=null,s=!1){if((!t||t===ou)&&({}.NODE_ENV!=="production"&&!t&&N(`Invalid vnode type when creating vnode: ${t}.`),t=Ie),Jt(t)){const a=Et(t,e,!0);return o&&Si(a,o),So>0&&!s&&Ue&&(a.shapeFlag&6?Ue[Ue.indexOf(t)]=a:Ue.push(a)),a.patchFlag|=-2,a}if(ia(t)&&(t=t.__vccOpts),e){e=Xu(e);let{class:a,style:l}=e;a&&!me(a)&&(e.class=U(a)),ie(l)&&(ti(l)&&!F(l)&&(l=de({},l)),e.style=R(l))}const r=me(t)?1:iu(t)?128:qu(t)?64:ie(t)?4:W(t)?2:0;return{}.NODE_ENV!=="production"&&r&4&&ti(t)&&(t=Y(t),N("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
22
- Component that was made reactive: `,t)),h(t,e,o,n,i,r,s,!0)}function Xu(t){return t?ti(t)||Ir(t)?de({},t):t:null}function Et(t,e,o=!1){const{props:n,ref:i,patchFlag:s,children:r}=t,a=e?$i(n||{},e):n;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&Zr(a),ref:e&&e.ref?o&&i?F(i)?i.concat(hn(e)):[i,hn(e)]:hn(e):i,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:{}.NODE_ENV!=="production"&&s===-1&&F(r)?r.map(Jr):r,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==be?s===-1?16:s|16:s,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Et(t.ssContent),ssFallback:t.ssFallback&&Et(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function Jr(t){const e=Et(t);return F(t.children)&&(e.children=t.children.map(Jr)),e}function dt(t=" ",e=0){return oe(No,null,t,e)}function fe(t="",e=!1){return e?(D(),_e(Ie,null,t)):oe(Ie,null,t)}function Ge(t){return t==null||typeof t=="boolean"?oe(Ie):F(t)?oe(be,null,t.slice()):typeof t=="object"?Ct(t):oe(No,null,String(t))}function Ct(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Et(t)}function Si(t,e){let o=0;const{shapeFlag:n}=t;if(e==null)e=null;else if(F(e))o=16;else if(typeof e=="object")if(n&65){const i=e.default;i&&(i._c&&(i._d=!1),Si(t,i()),i._c&&(i._d=!0));return}else{o=32;const i=e._;!i&&!Ir(e)?e._ctx=ye:i===3&&ye&&(ye.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else W(e)?(e={default:e,_ctx:ye},o=32):(e=String(e),n&64?(o=16,e=[dt(e)]):o=8);t.children=e,t.shapeFlag|=o}function $i(...t){const e={};for(let o=0;o<t.length;o++){const n=t[o];for(const i in n)if(i==="class")e.class!==n.class&&(e.class=U([e.class,n.class]));else if(i==="style")e.style=R([e.style,n.style]);else if(co(i)){const s=e[i],r=n[i];r&&s!==r&&!(F(s)&&s.includes(r))&&(e[i]=s?[].concat(s,r):r)}else i!==""&&(e[i]=n[i])}return e}function Qe(t,e,o,n=null){We(t,e,7,[o,n])}const Ju=Pr();let Qu=0;function ed(t,e,o){const n=t.type,i=(e?e.appContext:t.appContext)||Ju,s={uid:Qu++,vnode:t,type:n,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new ec(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ar(n,i),emitsOptions:vr(n,i),emit:null,emitted:null,propsDefaults:ae,inheritAttrs:n.inheritAttrs,ctx:ae,data:ae,props:ae,attrs:ae,slots:ae,refs:ae,setupState:ae,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:o,suspenseId:o?o.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{}.NODE_ENV!=="production"?s.ctx=_u(s):s.ctx={_:s},s.root=e?e.root:s,s.emit=Zc.bind(null,s),t.ce&&t.ce(s),s}let we=null;const td=()=>we||ye;let mn,Ti;{const t=Un(),e=(o,n)=>{let i;return(i=t[o])||(i=t[o]=[]),i.push(n),s=>{i.length>1?i.forEach(r=>r(s)):i[0](s)}};mn=e("__VUE_INSTANCE_SETTERS__",o=>we=o),Ti=e("__VUE_SSR_SETTERS__",o=>vn=o)}const To=t=>{const e=we;return mn(t),t.scope.on(),()=>{t.scope.off(),mn(e)}},Qr=()=>{we&&we.scope.off(),mn(null)},od=Gt("slot,component");function Di(t,{isNativeTag:e}){(od(t)||e(t))&&N("Do not use built-in or reserved HTML elements as component id: "+t)}function ea(t){return t.vnode.shapeFlag&4}let vn=!1;function nd(t,e=!1){e&&Ti(e);const{props:o,children:n}=t.vnode,i=ea(t);Pu(t,o,i,e),zu(t,n);const s=i?id(t,e):void 0;return e&&Ti(!1),s}function id(t,e){var o;const n=t.type;if({}.NODE_ENV!=="production"){if(n.name&&Di(n.name,t.appContext.config),n.components){const s=Object.keys(n.components);for(let r=0;r<s.length;r++)Di(s[r],t.appContext.config)}if(n.directives){const s=Object.keys(n.directives);for(let r=0;r<s.length;r++)Er(s[r])}n.compilerOptions&&sd()&&N('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.')}t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Nr),{}.NODE_ENV!=="production"&&xu(t);const{setup:i}=n;if(i){const s=t.setupContext=i.length>1?ad(t):null,r=To(t);nt();const a=rt(i,t,0,[{}.NODE_ENV!=="production"?st(t.props):t.props,s]);if(it(),r(),Hn(a)){if(a.then(Qr,Qr),e)return a.then(l=>{ta(t,l,e)}).catch(l=>{ho(l,t,0)});if(t.asyncDep=a,{}.NODE_ENV!=="production"&&!t.suspense){const l=(o=n.name)!=null?o:"Anonymous";N(`Component <${l}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else ta(t,a,e)}else oa(t,e)}function ta(t,e,o){W(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:ie(e)?({}.NODE_ENV!=="production"&&Jt(e)&&N("setup() should not return VNodes directly - return a render function instead."),{}.NODE_ENV!=="production"&&(t.devtoolsRawSetupState=e),t.setupState=or(e),{}.NODE_ENV!=="production"&&wu(t)):{}.NODE_ENV!=="production"&&e!==void 0&&N(`setup() should return an object. Received: ${e===null?"null":typeof e}`),oa(t,o)}let Pi;const sd=()=>!Pi;function oa(t,e,o){const n=t.type;if(!t.render){if(!e&&Pi&&!n.render){const i=n.template||xi(t).template;if(i){({}).NODE_ENV!=="production"&&ct(t,"compile");const{isCustomElement:s,compilerOptions:r}=t.appContext.config,{delimiters:a,compilerOptions:l}=n,c=de(de({isCustomElement:s,delimiters:a},r),l);n.render=Pi(i,c),{}.NODE_ENV!=="production"&&ut(t,"compile")}}t.render=n.render||ge}{const i=To(t);nt();try{Cu(t)}finally{it(),i()}}({}).NODE_ENV!=="production"&&!n.render&&t.render===ge&&!e&&(n.template?N('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):N("Component is missing template or render function."))}const na={}.NODE_ENV!=="production"?{get(t,e){return sn(),Se(t,"get",""),t[e]},set(){return N("setupContext.attrs is readonly."),!1},deleteProperty(){return N("setupContext.attrs is readonly."),!1}}:{get(t,e){return Se(t,"get",""),t[e]}};function rd(t){return t.slotsProxy||(t.slotsProxy=new Proxy(t.slots,{get(e,o){return Se(t,"get","$slots"),e[o]}}))}function ad(t){const e=o=>{if({}.NODE_ENV!=="production"&&(t.exposed&&N("expose() should be called only once per setup()."),o!=null)){let n=typeof o;n==="object"&&(F(o)?n="array":$e(o)&&(n="ref")),n!=="object"&&N(`expose() should be passed a plain object, received ${n}.`)}t.exposed=o||{}};if({}.NODE_ENV!=="production"){let o;return Object.freeze({get attrs(){return o||(o=new Proxy(t.attrs,na))},get slots(){return rd(t)},get emit(){return(n,...i)=>t.emit(n,...i)},expose:e})}else return{attrs:new Proxy(t.attrs,na),slots:t.slots,emit:t.emit,expose:e}}function gn(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(or(Ec(t.exposed)),{get(e,o){if(o in e)return e[o];if(o in Ht)return Ht[o](t)},has(e,o){return o in e||o in Ht}}))}const ld=/(?:^|[-_])(\w)/g,cd=t=>t.replace(ld,e=>e.toUpperCase()).replace(/[-_]/g,"");function Li(t,e=!0){return W(t)?t.displayName||t.name:t.name||e&&t.__name}function yn(t,e,o=!1){let n=Li(e);if(!n&&e.__file){const i=e.__file.match(/([^/\\]+)\.\w+$/);i&&(n=i[1])}if(!n&&t&&t.parent){const i=s=>{for(const r in s)if(s[r]===e)return r};n=i(t.components||t.parent.type.components)||i(t.appContext.components)}return n?cd(n):o?"App":"Anonymous"}function ia(t){return W(t)&&"__vccOpts"in t}const ud=(t,e)=>{const o=kc(t,e,vn);if({}.NODE_ENV!=="production"){const n=td();n&&n.appContext.config.warnRecursiveComputed&&(o._warnRecursive=!0)}return o};function sa(t,e,o){const n=arguments.length;return n===2?ie(e)&&!F(e)?Jt(e)?oe(t,null,[e]):oe(t,e):oe(t,null,e):(n>3?o=Array.prototype.slice.call(arguments,2):n===3&&Jt(o)&&(o=[o]),oe(t,e,o))}function dd(){if({}.NODE_ENV==="production"||typeof window>"u")return;const t={style:"color:#3ba776"},e={style:"color:#1677ff"},o={style:"color:#f5222d"},n={style:"color:#eb2f96"},i={header(f){return ie(f)?f.__isVue?["div",t,"VueInstance"]:$e(f)?["div",{},["span",t,d(f)],"<",a(f.value),">"]:qt(f)?["div",{},["span",t,Mt(f)?"ShallowReactive":"Reactive"],"<",a(f),`>${It(f)?" (readonly)":""}`]:It(f)?["div",{},["span",t,Mt(f)?"ShallowReadonly":"Readonly"],"<",a(f),">"]:null:null},hasBody(f){return f&&f.__isVue},body(f){if(f&&f.__isVue)return["div",{},...s(f.$)]}};function s(f){const u=[];f.type.props&&f.props&&u.push(r("props",Y(f.props))),f.setupState!==ae&&u.push(r("setup",f.setupState)),f.data!==ae&&u.push(r("data",Y(f.data)));const v=l(f,"computed");v&&u.push(r("computed",v));const b=l(f,"inject");return b&&u.push(r("injected",b)),u.push(["div",{},["span",{style:n.style+";opacity:0.66"},"$ (internal): "],["object",{object:f}]]),u}function r(f,u){return u=de({},u),Object.keys(u).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},f],["div",{style:"padding-left:1.25em"},...Object.keys(u).map(v=>["div",{},["span",n,v+": "],a(u[v],!1)])]]:["span",{}]}function a(f,u=!0){return typeof f=="number"?["span",e,f]:typeof f=="string"?["span",o,JSON.stringify(f)]:typeof f=="boolean"?["span",n,f]:ie(f)?["object",{object:u?Y(f):f}]:["span",o,String(f)]}function l(f,u){const v=f.type;if(W(v))return;const b={};for(const y in f.ctx)c(v,y,u)&&(b[y]=f.ctx[y]);return b}function c(f,u,v){const b=f[v];if(F(b)&&b.includes(u)||ie(b)&&u in b||f.extends&&c(f.extends,u,v)||f.mixins&&f.mixins.some(y=>c(y,u,v)))return!0}function d(f){return Mt(f)?"ShallowRef":f.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(i):window.devtoolsFormatters=[i]}const ra="3.4.25",bn={}.NODE_ENV!=="production"?N:ge;/**
21
+ For more details, see https://link.vuejs.org/feature-flags.`)}}const Ye=Zd;function Fp(e){return $p(e)}function $p(e,t){Rp();const n=To();n.__VUE__=!0,{}.NODE_ENV!=="production"&&dc(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:i,remove:r,patchProp:s,createElement:o,createText:a,createComment:l,setText:f,setElementText:p,parentNode:m,nextSibling:y,setScopeId:_=ke,insertStaticContent:N}=e,C=(P,D,G,K=null,et=null,Z=null,_t=void 0,st=null,vt={}.NODE_ENV!=="production"&&xi?!1:!!D.dynamicChildren)=>{if(P===D)return;P&&!Ir(P,D)&&(K=lt(P),x(P,et,Z,!0),P=null),D.patchFlag===-2&&(vt=!1,D.dynamicChildren=null);const{type:nt,ref:kt,shapeFlag:At}=D;switch(nt){case Nr:A(P,D,G,K);break;case Xe:V(P,D,G,K);break;case Ts:P==null?I(D,G,K,_t):{}.NODE_ENV!=="production"&&M(P,D,G,_t);break;case ae:Rt(P,D,G,K,et,Z,_t,st,vt);break;default:At&1?X(P,D,G,K,et,Z,_t,st,vt):At&6?Ot(P,D,G,K,et,Z,_t,st,vt):At&64||At&128?nt.process(P,D,G,K,et,Z,_t,st,vt,Ct):{}.NODE_ENV!=="production"&&Nt("Invalid VNode type:",nt,`(${typeof nt})`)}kt!=null&&et&&oa(kt,P&&P.ref,Z,D||P,!D)},A=(P,D,G,K)=>{if(P==null)i(D.el=a(D.children),G,K);else{const et=D.el=P.el;D.children!==P.children&&f(et,D.children)}},V=(P,D,G,K)=>{P==null?i(D.el=l(D.children||""),G,K):D.el=P.el},I=(P,D,G,K)=>{[P.el,P.anchor]=N(P.children,D,G,K,P.el,P.anchor)},M=(P,D,G,K)=>{if(D.children!==P.children){const et=y(P.anchor);q(P),[D.el,D.anchor]=N(D.children,G,et,K)}else D.el=P.el,D.anchor=P.anchor},j=({el:P,anchor:D},G,K)=>{let et;for(;P&&P!==D;)et=y(P),i(P,G,K),P=et;i(D,G,K)},q=({el:P,anchor:D})=>{let G;for(;P&&P!==D;)G=y(P),r(P),P=G;r(D)},X=(P,D,G,K,et,Z,_t,st,vt)=>{D.type==="svg"?_t="svg":D.type==="math"&&(_t="mathml"),P==null?$(D,G,K,et,Z,_t,st,vt):It(P,D,et,Z,_t,st,vt)},$=(P,D,G,K,et,Z,_t,st)=>{let vt,nt;const{props:kt,shapeFlag:At,transition:Ft,dirs:Gt}=P;if(vt=P.el=o(P.type,Z,kt&&kt.is,kt),At&8?p(vt,P.children):At&16&&xt(P.children,vt,null,K,et,aa(P,Z),_t,st),Gt&&Ei(P,null,K,"created"),dt(vt,P,P.scopeId,_t,K),kt){for(const ee in kt)ee!=="value"&&!dr(ee)&&s(vt,ee,null,kt[ee],Z,P.children,K,et,z);"value"in kt&&s(vt,"value",null,kt.value,Z),(nt=kt.onVnodeBeforeMount)&&En(nt,K,P)}({}).NODE_ENV!=="production"&&(Object.defineProperty(vt,"__vnode",{value:P,enumerable:!1}),Object.defineProperty(vt,"__vueParentComponent",{value:K,enumerable:!1})),Gt&&Ei(P,null,K,"beforeMount");const Wt=Vp(et,Ft);Wt&&Ft.beforeEnter(vt),i(vt,D,G),((nt=kt&&kt.onVnodeMounted)||Wt||Gt)&&Ye(()=>{nt&&En(nt,K,P),Wt&&Ft.enter(vt),Gt&&Ei(P,null,K,"mounted")},et)},dt=(P,D,G,K,et)=>{if(G&&_(P,G),K)for(let Z=0;Z<K.length;Z++)_(P,K[Z]);if(et){let Z=et.subTree;if({}.NODE_ENV!=="production"&&Z.patchFlag>0&&Z.patchFlag&2048&&(Z=Wo(Z.children)||Z),D===Z){const _t=et.vnode;dt(P,_t,_t.scopeId,_t.slotScopeIds,et.parent)}}},xt=(P,D,G,K,et,Z,_t,st,vt=0)=>{for(let nt=vt;nt<P.length;nt++){const kt=P[nt]=st?ii(P[nt]):gn(P[nt]);C(null,kt,D,G,K,et,Z,_t,st)}},It=(P,D,G,K,et,Z,_t)=>{const st=D.el=P.el;let{patchFlag:vt,dynamicChildren:nt,dirs:kt}=D;vt|=P.patchFlag&16;const At=P.props||ge,Ft=D.props||ge;let Gt;if(G&&Ti(G,!1),(Gt=Ft.onVnodeBeforeUpdate)&&En(Gt,G,D,P),kt&&Ei(D,P,G,"beforeUpdate"),G&&Ti(G,!0),{}.NODE_ENV!=="production"&&xi&&(vt=0,_t=!1,nt=null),nt?(Pt(P.dynamicChildren,nt,st,G,K,aa(D,et),Z),{}.NODE_ENV!=="production"&&Cs(P,D)):_t||F(P,D,st,null,G,K,aa(D,et),Z,!1),vt>0){if(vt&16)bt(st,D,At,Ft,G,K,et);else if(vt&2&&At.class!==Ft.class&&s(st,"class",null,Ft.class,et),vt&4&&s(st,"style",At.style,Ft.style,et),vt&8){const Wt=D.dynamicProps;for(let ee=0;ee<Wt.length;ee++){const ce=Wt[ee],me=At[ce],Ce=Ft[ce];(Ce!==me||ce==="value")&&s(st,ce,me,Ce,et,P.children,G,K,z)}}vt&1&&P.children!==D.children&&p(st,D.children)}else!_t&&nt==null&&bt(st,D,At,Ft,G,K,et);((Gt=Ft.onVnodeUpdated)||kt)&&Ye(()=>{Gt&&En(Gt,G,D,P),kt&&Ei(D,P,G,"updated")},K)},Pt=(P,D,G,K,et,Z,_t)=>{for(let st=0;st<D.length;st++){const vt=P[st],nt=D[st],kt=vt.el&&(vt.type===ae||!Ir(vt,nt)||vt.shapeFlag&70)?m(vt.el):G;C(vt,nt,kt,null,K,et,Z,_t,!0)}},bt=(P,D,G,K,et,Z,_t)=>{if(G!==K){if(G!==ge)for(const st in G)!dr(st)&&!(st in K)&&s(P,st,G[st],null,_t,D.children,et,Z,z);for(const st in K){if(dr(st))continue;const vt=K[st],nt=G[st];vt!==nt&&st!=="value"&&s(P,st,nt,vt,_t,D.children,et,Z,z)}"value"in K&&s(P,"value",G.value,K.value,_t)}},Rt=(P,D,G,K,et,Z,_t,st,vt)=>{const nt=D.el=P?P.el:a(""),kt=D.anchor=P?P.anchor:a("");let{patchFlag:At,dynamicChildren:Ft,slotScopeIds:Gt}=D;({}).NODE_ENV!=="production"&&(xi||At&2048)&&(At=0,vt=!1,Ft=null),Gt&&(st=st?st.concat(Gt):Gt),P==null?(i(nt,G,K),i(kt,G,K),xt(D.children||[],G,kt,et,Z,_t,st,vt)):At>0&&At&64&&Ft&&P.dynamicChildren?(Pt(P.dynamicChildren,Ft,G,et,Z,_t,st),{}.NODE_ENV!=="production"?Cs(P,D):(D.key!=null||et&&D===et.subTree)&&Cs(P,D,!0)):F(P,D,G,kt,et,Z,_t,st,vt)},Ot=(P,D,G,K,et,Z,_t,st,vt)=>{D.slotScopeIds=st,P==null?D.shapeFlag&512?et.ctx.activate(D,G,K,_t,vt):wt(D,G,K,et,Z,_t,vt):rt(P,D,vt)},wt=(P,D,G,K,et,Z,_t)=>{const st=P.component=qp(P,K,et);if({}.NODE_ENV!=="production"&&st.type.__hmrId&&Od(st),{}.NODE_ENV!=="production"&&(hs(P),Ln(st,"mount")),Ko(P)&&(st.ctx.renderer=Ct),{}.NODE_ENV!=="production"&&Ln(st,"init"),Kp(st),{}.NODE_ENV!=="production"&&Rn(st,"init"),st.asyncDep){if(et&&et.registerDep(st,U),!P.el){const vt=st.subTree=Vt(Xe);V(null,vt,D,G)}}else U(st,P,D,G,et,Z,_t);({}).NODE_ENV!=="production"&&(fs(),Rn(st,"mount"))},rt=(P,D,G)=>{const K=D.component=P.component;if(Ud(P,D,G))if(K.asyncDep&&!K.asyncResolved){({}).NODE_ENV!=="production"&&hs(D),tt(K,D,G),{}.NODE_ENV!=="production"&&fs();return}else K.next=D,Nd(K.update),K.effect.dirty=!0,K.update();else D.el=P.el,K.vnode=D},U=(P,D,G,K,et,Z,_t)=>{const st=()=>{if(P.isMounted){let{next:kt,bu:At,u:Ft,parent:Gt,vnode:Wt}=P;{const sn=Wc(P);if(sn){kt&&(kt.el=Wt.el,tt(P,kt,_t)),sn.asyncDep.then(()=>{P.isUnmounted||st()});return}}let ee=kt,ce;({}).NODE_ENV!=="production"&&hs(kt||P.vnode),Ti(P,!1),kt?(kt.el=Wt.el,tt(P,kt,_t)):kt=Wt,At&&pr(At),(ce=kt.props&&kt.props.onVnodeBeforeUpdate)&&En(ce,Gt,kt,Wt),Ti(P,!0),{}.NODE_ENV!=="production"&&Ln(P,"render");const me=Uo(P);({}).NODE_ENV!=="production"&&Rn(P,"render");const Ce=P.subTree;P.subTree=me,{}.NODE_ENV!=="production"&&Ln(P,"patch"),C(Ce,me,m(Ce.el),lt(Ce),P,et,Z),{}.NODE_ENV!=="production"&&Rn(P,"patch"),kt.el=me.el,ee===null&&Wd(P,me.el),Ft&&Ye(Ft,et),(ce=kt.props&&kt.props.onVnodeUpdated)&&Ye(()=>En(ce,Gt,kt,Wt),et),{}.NODE_ENV!=="production"&&pc(P),{}.NODE_ENV!=="production"&&fs()}else{let kt;const{el:At,props:Ft}=D,{bm:Gt,m:Wt,parent:ee}=P,ce=Cr(D);if(Ti(P,!1),Gt&&pr(Gt),!ce&&(kt=Ft&&Ft.onVnodeBeforeMount)&&En(kt,ee,D),Ti(P,!0),At&&jt){const me=()=>{({}).NODE_ENV!=="production"&&Ln(P,"render"),P.subTree=Uo(P),{}.NODE_ENV!=="production"&&Rn(P,"render"),{}.NODE_ENV!=="production"&&Ln(P,"hydrate"),jt(At,P.subTree,P,et,null),{}.NODE_ENV!=="production"&&Rn(P,"hydrate")};ce?D.type.__asyncLoader().then(()=>!P.isUnmounted&&me()):me()}else{({}).NODE_ENV!=="production"&&Ln(P,"render");const me=P.subTree=Uo(P);({}).NODE_ENV!=="production"&&Rn(P,"render"),{}.NODE_ENV!=="production"&&Ln(P,"patch"),C(null,me,G,K,P,et,Z),{}.NODE_ENV!=="production"&&Rn(P,"patch"),D.el=me.el}if(Wt&&Ye(Wt,et),!ce&&(kt=Ft&&Ft.onVnodeMounted)){const me=D;Ye(()=>En(kt,ee,me),et)}(D.shapeFlag&256||ee&&Cr(ee.vnode)&&ee.vnode.shapeFlag&256)&&P.a&&Ye(P.a,et),P.isMounted=!0,{}.NODE_ENV!=="production"&&Rd(P),D=G=K=null}},vt=P.effect=new So(st,ke,()=>ds(nt),P.scope),nt=P.update=()=>{vt.dirty&&vt.run()};nt.id=P.uid,Ti(P,!0),{}.NODE_ENV!=="production"&&(vt.onTrack=P.rtc?kt=>pr(P.rtc,kt):void 0,vt.onTrigger=P.rtg?kt=>pr(P.rtg,kt):void 0,nt.ownerInstance=P),nt()},tt=(P,D,G)=>{D.component=P;const K=P.vnode.props;P.vnode=D,P.next=null,Sp(P,D.props,K,G),Lp(P,D.children,G),Pn(),lc(P),On()},F=(P,D,G,K,et,Z,_t,st,vt=!1)=>{const nt=P&&P.children,kt=P?P.shapeFlag:0,At=D.children,{patchFlag:Ft,shapeFlag:Gt}=D;if(Ft>0){if(Ft&128){k(nt,At,G,K,et,Z,_t,st,vt);return}else if(Ft&256){at(nt,At,G,K,et,Z,_t,st,vt);return}}Gt&8?(kt&16&&z(nt,et,Z),At!==nt&&p(G,At)):kt&16?Gt&16?k(nt,At,G,K,et,Z,_t,st,vt):z(nt,et,Z,!0):(kt&8&&p(G,""),Gt&16&&xt(At,G,K,et,Z,_t,st,vt))},at=(P,D,G,K,et,Z,_t,st,vt)=>{P=P||Fi,D=D||Fi;const nt=P.length,kt=D.length,At=Math.min(nt,kt);let Ft;for(Ft=0;Ft<At;Ft++){const Gt=D[Ft]=vt?ii(D[Ft]):gn(D[Ft]);C(P[Ft],Gt,G,null,et,Z,_t,st,vt)}nt>kt?z(P,et,Z,!0,!1,At):xt(D,G,K,et,Z,_t,st,vt,At)},k=(P,D,G,K,et,Z,_t,st,vt)=>{let nt=0;const kt=D.length;let At=P.length-1,Ft=kt-1;for(;nt<=At&&nt<=Ft;){const Gt=P[nt],Wt=D[nt]=vt?ii(D[nt]):gn(D[nt]);if(Ir(Gt,Wt))C(Gt,Wt,G,null,et,Z,_t,st,vt);else break;nt++}for(;nt<=At&&nt<=Ft;){const Gt=P[At],Wt=D[Ft]=vt?ii(D[Ft]):gn(D[Ft]);if(Ir(Gt,Wt))C(Gt,Wt,G,null,et,Z,_t,st,vt);else break;At--,Ft--}if(nt>At){if(nt<=Ft){const Gt=Ft+1,Wt=Gt<kt?D[Gt].el:K;for(;nt<=Ft;)C(null,D[nt]=vt?ii(D[nt]):gn(D[nt]),G,Wt,et,Z,_t,st,vt),nt++}}else if(nt>Ft)for(;nt<=At;)x(P[nt],et,Z,!0),nt++;else{const Gt=nt,Wt=nt,ee=new Map;for(nt=Wt;nt<=Ft;nt++){const fe=D[nt]=vt?ii(D[nt]):gn(D[nt]);fe.key!=null&&({}.NODE_ENV!=="production"&&ee.has(fe.key)&&Nt("Duplicate keys found during update:",JSON.stringify(fe.key),"Make sure keys are unique."),ee.set(fe.key,nt))}let ce,me=0;const Ce=Ft-Wt+1;let sn=!1,Ne=0;const Be=new Array(Ce);for(nt=0;nt<Ce;nt++)Be[nt]=0;for(nt=Gt;nt<=At;nt++){const fe=P[nt];if(me>=Ce){x(fe,et,Z,!0);continue}let Te;if(fe.key!=null)Te=ee.get(fe.key);else for(ce=Wt;ce<=Ft;ce++)if(Be[ce-Wt]===0&&Ir(fe,D[ce])){Te=ce;break}Te===void 0?x(fe,et,Z,!0):(Be[Te-Wt]=nt+1,Te>=Ne?Ne=Te:sn=!0,C(fe,D[Te],G,null,et,Z,_t,st,vt),me++)}const yn=sn?zp(Be):Fi;for(ce=yn.length-1,nt=Ce-1;nt>=0;nt--){const fe=Wt+nt,Te=D[fe],Ge=fe+1<kt?D[fe+1].el:K;Be[nt]===0?C(null,Te,G,Ge,et,Z,_t,st,vt):sn&&(ce<0||nt!==yn[ce]?w(Te,G,Ge,2):ce--)}}},w=(P,D,G,K,et=null)=>{const{el:Z,type:_t,transition:st,children:vt,shapeFlag:nt}=P;if(nt&6){w(P.component.subTree,D,G,K);return}if(nt&128){P.suspense.move(D,G,K);return}if(nt&64){_t.move(P,D,G,Ct);return}if(_t===ae){i(Z,D,G);for(let At=0;At<vt.length;At++)w(vt[At],D,G,K);i(P.anchor,D,G);return}if(_t===Ts){j(P,D,G);return}if(K!==2&&nt&1&&st)if(K===0)st.beforeEnter(Z),i(Z,D,G),Ye(()=>st.enter(Z),et);else{const{leave:At,delayLeave:Ft,afterLeave:Gt}=st,Wt=()=>i(Z,D,G),ee=()=>{At(Z,()=>{Wt(),Gt&&Gt()})};Ft?Ft(Z,Wt,ee):ee()}else i(Z,D,G)},x=(P,D,G,K=!1,et=!1)=>{const{type:Z,props:_t,ref:st,children:vt,dynamicChildren:nt,shapeFlag:kt,patchFlag:At,dirs:Ft}=P;if(st!=null&&oa(st,null,G,P,!0),kt&256){D.ctx.deactivate(P);return}const Gt=kt&1&&Ft,Wt=!Cr(P);let ee;if(Wt&&(ee=_t&&_t.onVnodeBeforeUnmount)&&En(ee,D,P),kt&6)B(P.component,G,K);else{if(kt&128){P.suspense.unmount(G,K);return}Gt&&Ei(P,null,D,"beforeUnmount"),kt&64?P.type.remove(P,D,G,et,Ct,K):nt&&(Z!==ae||At>0&&At&64)?z(nt,D,G,!1,!0):(Z===ae&&At&384||!et&&kt&16)&&z(vt,D,G),K&&O(P)}(Wt&&(ee=_t&&_t.onVnodeUnmounted)||Gt)&&Ye(()=>{ee&&En(ee,D,P),Gt&&Ei(P,null,D,"unmounted")},G)},O=P=>{const{type:D,el:G,anchor:K,transition:et}=P;if(D===ae){({}).NODE_ENV!=="production"&&P.patchFlag>0&&P.patchFlag&2048&&et&&!et.persisted?P.children.forEach(_t=>{_t.type===Xe?r(_t.el):O(_t)}):R(G,K);return}if(D===Ts){q(P);return}const Z=()=>{r(G),et&&!et.persisted&&et.afterLeave&&et.afterLeave()};if(P.shapeFlag&1&&et&&!et.persisted){const{leave:_t,delayLeave:st}=et,vt=()=>_t(G,Z);st?st(P.el,Z,vt):vt()}else Z()},R=(P,D)=>{let G;for(;P!==D;)G=y(P),r(P),P=G;r(D)},B=(P,D,G)=>{({}).NODE_ENV!=="production"&&P.type.__hmrId&&Id(P);const{bum:K,scope:et,update:Z,subTree:_t,um:st}=P;K&&pr(K),et.stop(),Z&&(Z.active=!1,x(_t,P,D,G)),st&&Ye(st,D),Ye(()=>{P.isUnmounted=!0},D),D&&D.pendingBranch&&!D.isUnmounted&&P.asyncDep&&!P.asyncResolved&&P.suspenseId===D.pendingId&&(D.deps--,D.deps===0&&D.resolve()),{}.NODE_ENV!=="production"&&$d(P)},z=(P,D,G,K=!1,et=!1,Z=0)=>{for(let _t=Z;_t<P.length;_t++)x(P[_t],D,G,K,et)},lt=P=>P.shapeFlag&6?lt(P.component.subTree):P.shapeFlag&128?P.suspense.next():y(P.anchor||P.el);let H=!1;const ct=(P,D,G)=>{P==null?D._vnode&&x(D._vnode,null,null,!0):C(D._vnode||null,P,D,null,null,null,G),H||(H=!0,lc(),cc(),H=!1),D._vnode=P},Ct={p:C,um:x,m:w,r:O,mt:wt,mc:xt,pc:F,pbc:Pt,n:lt,o:e};let Mt,jt;return t&&([Mt,jt]=t(Ct)),{render:ct,hydrate:Mt,createApp:Ep(ct,Mt)}}function aa({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 Ti({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Vp(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Cs(e,t,n=!1){const i=e.children,r=t.children;if(zt(i)&&zt(r))for(let s=0;s<i.length;s++){const o=i[s];let a=r[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=r[s]=ii(r[s]),a.el=o.el),n||Cs(o,a)),a.type===Nr&&(a.el=o.el),{}.NODE_ENV!=="production"&&a.type===Xe&&!a.el&&(a.el=o.el)}}function zp(e){const t=e.slice(),n=[0];let i,r,s,o,a;const l=e.length;for(i=0;i<l;i++){const f=e[i];if(f!==0){if(r=n[n.length-1],e[r]<f){t[i]=r,n.push(i);continue}for(s=0,o=n.length-1;s<o;)a=s+o>>1,e[n[a]]<f?s=a+1:o=a;f<e[n[s]]&&(s>0&&(t[i]=n[s-1]),n[s]=i)}}for(s=n.length,o=n[s-1];s-- >0;)n[s]=o,o=t[o];return n}function Wc(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Wc(t)}const Bp=e=>e.__isTeleport,ae=Symbol.for("v-fgt"),Nr=Symbol.for("v-txt"),Xe=Symbol.for("v-cmt"),Ts=Symbol.for("v-stc"),Pr=[];let mn=null;function ft(e=!1){Pr.push(mn=e?null:[])}function Gp(){Pr.pop(),mn=Pr[Pr.length-1]||null}let Or=1;function qc(e){Or+=e}function Yc(e){return e.dynamicChildren=Or>0?mn||Fi:null,Gp(),Or>0&&mn&&mn.push(e),e}function Tt(e,t,n,i,r,s){return Yc(J(e,t,n,i,r,s,!0))}function xe(e,t,n,i,r){return Yc(Vt(e,t,n,i,r,!0))}function Bi(e){return e?e.__v_isVNode===!0:!1}function Ir(e,t){return{}.NODE_ENV!=="production"&&t.shapeFlag&6&&zi.has(t.type)?(e.shapeFlag&=-257,t.shapeFlag&=-513,!1):e.type===t.type&&e.key===t.key}const jp=(...e)=>Kc(...e),Xc=({key:e})=>e??null,ks=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ee(e)||Re(e)||qt(e)?{i:Se,r:e,k:t,f:!!n}:e:null);function J(e,t=null,n=null,i=0,r=null,s=e===ae?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Xc(t),ref:t&&ks(t),scopeId:ms,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:s,patchFlag:i,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Se};return a?(la(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=Ee(n)?8:16),{}.NODE_ENV!=="production"&&l.key!==l.key&&Nt("VNode created with invalid key (NaN). VNode type:",l.type),Or>0&&!o&&mn&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&mn.push(l),l}const Vt={}.NODE_ENV!=="production"?jp:Kc;function Kc(e,t=null,n=null,i=0,r=null,s=!1){if((!e||e===Yd)&&({}.NODE_ENV!=="production"&&!e&&Nt(`Invalid vnode type when creating vnode: ${e}.`),e=Xe),Bi(e)){const a=ni(e,t,!0);return n&&la(a,n),Or>0&&!s&&mn&&(a.shapeFlag&6?mn[mn.indexOf(e)]=a:mn.push(a)),a.patchFlag|=-2,a}if(iu(e)&&(e=e.__vccOpts),t){t=Hp(t);let{class:a,style:l}=t;a&&!Ee(a)&&(t.class=Ae(a)),de(l)&&(Lo(l)&&!zt(l)&&(l=_e({},l)),t.style=Lt(l))}const o=Ee(e)?1:Kd(e)?128:Bp(e)?64:de(e)?4:qt(e)?2:0;return{}.NODE_ENV!=="production"&&o&4&&Lo(e)&&(e=Jt(e),Nt("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
22
+ Component that was made reactive: `,e)),J(e,t,n,i,r,o,s,!0)}function Hp(e){return e?Lo(e)||Dc(e)?_e({},e):e:null}function ni(e,t,n=!1){const{props:i,ref:r,patchFlag:s,children:o}=e,a=t?ca(i||{},t):i;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Xc(a),ref:t&&t.ref?n&&r?zt(r)?r.concat(ks(t)):[r,ks(t)]:ks(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:{}.NODE_ENV!=="production"&&s===-1&&zt(o)?o.map(Zc):o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ae?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ni(e.ssContent),ssFallback:e.ssFallback&&ni(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Zc(e){const t=ni(e);return zt(e.children)&&(t.children=e.children.map(Zc)),t}function ue(e=" ",t=0){return Vt(Nr,null,e,t)}function pe(e="",t=!1){return t?(ft(),xe(Xe,null,e)):Vt(Xe,null,e)}function gn(e){return e==null||typeof e=="boolean"?Vt(Xe):zt(e)?Vt(ae,null,e.slice()):typeof e=="object"?ii(e):Vt(Nr,null,String(e))}function ii(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ni(e)}function la(e,t){let n=0;const{shapeFlag:i}=e;if(t==null)t=null;else if(zt(t))n=16;else if(typeof t=="object")if(i&65){const r=t.default;r&&(r._c&&(r._d=!1),la(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Dc(t)?t._ctx=Se:r===3&&Se&&(Se.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else qt(t)?(t={default:t,_ctx:Se},n=32):(t=String(t),i&64?(n=16,t=[ue(t)]):n=8);e.children=t,e.shapeFlag|=n}function ca(...e){const t={};for(let n=0;n<e.length;n++){const i=e[n];for(const r in i)if(r==="class")t.class!==i.class&&(t.class=Ae([t.class,i.class]));else if(r==="style")t.style=Lt([t.style,i.style]);else if(fr(r)){const s=t[r],o=i[r];o&&s!==o&&!(zt(s)&&s.includes(o))&&(t[r]=s?[].concat(s,o):o)}else r!==""&&(t[r]=i[r])}return t}function En(e,t,n,i=null){pn(e,t,7,[n,i])}const Up=Ic();let Wp=0;function qp(e,t,n){const i=e.type,r=(t?t.appContext:e.appContext)||Up,s={uid:Wp++,vnode:e,type:i,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Wf(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Rc(i,r),emitsOptions:gc(i,r),emit:null,emitted:null,propsDefaults:ge,inheritAttrs:i.inheritAttrs,ctx:ge,data:ge,props:ge,attrs:ge,slots:ge,refs:ge,setupState:ge,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{}.NODE_ENV!=="production"?s.ctx=dp(s):s.ctx={_:s},s.root=t?t.root:s,s.emit=Gd.bind(null,s),e.ce&&e.ce(s),s}let Ie=null;const Yp=()=>Ie||Se;let Ss,ua;{const e=To(),t=(n,i)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(i),s=>{r.length>1?r.forEach(o=>o(s)):r[0](s)}};Ss=t("__VUE_INSTANCE_SETTERS__",n=>Ie=n),ua=t("__VUE_SSR_SETTERS__",n=>Ns=n)}const Mr=e=>{const t=Ie;return Ss(e),e.scope.on(),()=>{e.scope.off(),Ss(t)}},Qc=()=>{Ie&&Ie.scope.off(),Ss(null)},Xp=Ri("slot,component");function ha(e,{isNativeTag:t}){(Xp(e)||t(e))&&Nt("Do not use built-in or reserved HTML elements as component id: "+e)}function Jc(e){return e.vnode.shapeFlag&4}let Ns=!1;function Kp(e,t=!1){t&&ua(t);const{props:n,children:i}=e.vnode,r=Jc(e);Tp(e,n,r,t),Dp(e,i);const s=r?Zp(e,t):void 0;return t&&ua(!1),s}function Zp(e,t){var n;const i=e.type;if({}.NODE_ENV!=="production"){if(i.name&&ha(i.name,e.appContext.config),i.components){const s=Object.keys(i.components);for(let o=0;o<s.length;o++)ha(s[o],e.appContext.config)}if(i.directives){const s=Object.keys(i.directives);for(let o=0;o<s.length;o++)wc(s[o])}i.compilerOptions&&Qp()&&Nt('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.')}e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Tc),{}.NODE_ENV!=="production"&&pp(e);const{setup:r}=i;if(r){const s=e.setupContext=r.length>1?t0(e):null,o=Mr(e);Pn();const a=Mn(r,e,0,[{}.NODE_ENV!=="production"?In(e.props):e.props,s]);if(On(),o(),wo(a)){if(a.then(Qc,Qc),t)return a.then(l=>{tu(e,l,t)}).catch(l=>{gr(l,e,0)});if(e.asyncDep=a,{}.NODE_ENV!=="production"&&!e.suspense){const l=(n=i.name)!=null?n:"Anonymous";Nt(`Component <${l}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else tu(e,a,t)}else eu(e,t)}function tu(e,t,n){qt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:de(t)?({}.NODE_ENV!=="production"&&Bi(t)&&Nt("setup() should not return VNodes directly - return a render function instead."),{}.NODE_ENV!=="production"&&(e.devtoolsRawSetupState=t),e.setupState=nc(t),{}.NODE_ENV!=="production"&&mp(e)):{}.NODE_ENV!=="production"&&t!==void 0&&Nt(`setup() should return an object. Received: ${t===null?"null":typeof t}`),eu(e,n)}let fa;const Qp=()=>!fa;function eu(e,t,n){const i=e.type;if(!e.render){if(!t&&fa&&!i.render){const r=i.template||ea(e).template;if(r){({}).NODE_ENV!=="production"&&Ln(e,"compile");const{isCustomElement:s,compilerOptions:o}=e.appContext.config,{delimiters:a,compilerOptions:l}=i,f=_e(_e({isCustomElement:s,delimiters:a},o),l);i.render=fa(r,f),{}.NODE_ENV!=="production"&&Rn(e,"compile")}}e.render=i.render||ke}{const r=Mr(e);Pn();try{vp(e)}finally{On(),r()}}({}).NODE_ENV!=="production"&&!i.render&&e.render===ke&&!t&&(i.template?Nt('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):Nt("Component is missing template or render function."))}const nu={}.NODE_ENV!=="production"?{get(e,t){return vs(),Le(e,"get",""),e[t]},set(){return Nt("setupContext.attrs is readonly."),!1},deleteProperty(){return Nt("setupContext.attrs is readonly."),!1}}:{get(e,t){return Le(e,"get",""),e[t]}};function Jp(e){return e.slotsProxy||(e.slotsProxy=new Proxy(e.slots,{get(t,n){return Le(e,"get","$slots"),t[n]}}))}function t0(e){const t=n=>{if({}.NODE_ENV!=="production"&&(e.exposed&&Nt("expose() should be called only once per setup()."),n!=null)){let i=typeof n;i==="object"&&(zt(n)?i="array":Re(n)&&(i="ref")),i!=="object"&&Nt(`expose() should be passed a plain object, received ${i}.`)}e.exposed=n||{}};if({}.NODE_ENV!=="production"){let n;return Object.freeze({get attrs(){return n||(n=new Proxy(e.attrs,nu))},get slots(){return Jp(e)},get emit(){return(i,...r)=>e.emit(i,...r)},expose:t})}else return{attrs:new Proxy(e.attrs,nu),slots:e.slots,emit:e.emit,expose:t}}function Ps(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(nc(md(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ci)return Ci[n](e)},has(t,n){return n in t||n in Ci}}))}const e0=/(?:^|[-_])(\w)/g,n0=e=>e.replace(e0,t=>t.toUpperCase()).replace(/[-_]/g,"");function da(e,t=!0){return qt(e)?e.displayName||e.name:e.name||t&&e.__name}function Os(e,t,n=!1){let i=da(t);if(!i&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(i=r[1])}if(!i&&e&&e.parent){const r=s=>{for(const o in s)if(s[o]===t)return o};i=r(e.components||e.parent.type.components)||r(e.appContext.components)}return i?n0(i):n?"App":"Anonymous"}function iu(e){return qt(e)&&"__vccOpts"in e}const i0=(e,t)=>{const n=vd(e,t,Ns);if({}.NODE_ENV!=="production"){const i=Yp();i&&i.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function ru(e,t,n){const i=arguments.length;return i===2?de(t)&&!zt(t)?Bi(t)?Vt(e,null,[t]):Vt(e,t):Vt(e,null,t):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&Bi(n)&&(n=[n]),Vt(e,t,n))}function r0(){if({}.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},n={style:"color:#f5222d"},i={style:"color:#eb2f96"},r={header(m){return de(m)?m.__isVue?["div",e,"VueInstance"]:Re(m)?["div",{},["span",e,p(m)],"<",a(m.value),">"]:$i(m)?["div",{},["span",e,yi(m)?"ShallowReactive":"Reactive"],"<",a(m),`>${vi(m)?" (readonly)":""}`]:vi(m)?["div",{},["span",e,yi(m)?"ShallowReadonly":"Readonly"],"<",a(m),">"]:null:null},hasBody(m){return m&&m.__isVue},body(m){if(m&&m.__isVue)return["div",{},...s(m.$)]}};function s(m){const y=[];m.type.props&&m.props&&y.push(o("props",Jt(m.props))),m.setupState!==ge&&y.push(o("setup",m.setupState)),m.data!==ge&&y.push(o("data",Jt(m.data)));const _=l(m,"computed");_&&y.push(o("computed",_));const N=l(m,"inject");return N&&y.push(o("injected",N)),y.push(["div",{},["span",{style:i.style+";opacity:0.66"},"$ (internal): "],["object",{object:m}]]),y}function o(m,y){return y=_e({},y),Object.keys(y).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},m],["div",{style:"padding-left:1.25em"},...Object.keys(y).map(_=>["div",{},["span",i,_+": "],a(y[_],!1)])]]:["span",{}]}function a(m,y=!0){return typeof m=="number"?["span",t,m]:typeof m=="string"?["span",n,JSON.stringify(m)]:typeof m=="boolean"?["span",i,m]:de(m)?["object",{object:y?Jt(m):m}]:["span",n,String(m)]}function l(m,y){const _=m.type;if(qt(_))return;const N={};for(const C in m.ctx)f(_,C,y)&&(N[C]=m.ctx[C]);return N}function f(m,y,_){const N=m[_];if(zt(N)&&N.includes(y)||de(N)&&y in N||m.extends&&f(m.extends,y,_)||m.mixins&&m.mixins.some(C=>f(C,y,_)))return!0}function p(m){return yi(m)?"ShallowRef":m.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(r):window.devtoolsFormatters=[r]}const su="3.4.25",Is={}.NODE_ENV!=="production"?Nt:ke;/**
23
23
  * @vue/runtime-dom v3.4.25
24
24
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
25
25
  * @license MIT
26
- **/const fd="http://www.w3.org/2000/svg",pd="http://www.w3.org/1998/Math/MathML",kt=typeof document<"u"?document:null,aa=kt&&kt.createElement("template"),hd={insert:(t,e,o)=>{e.insertBefore(t,o||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,o,n)=>{const i=e==="svg"?kt.createElementNS(fd,t):e==="mathml"?kt.createElementNS(pd,t):kt.createElement(t,o?{is:o}:void 0);return t==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:t=>kt.createTextNode(t),createComment:t=>kt.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>kt.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,o,n,i,s){const r=o?o.previousSibling:e.lastChild;if(i&&(i===s||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),o),!(i===s||!(i=i.nextSibling)););else{aa.innerHTML=n==="svg"?`<svg>${t}</svg>`:n==="mathml"?`<math>${t}</math>`:t;const a=aa.content;if(n==="svg"||n==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,o)}return[r?r.nextSibling:e.firstChild,o?o.previousSibling:e.lastChild]}},md=Symbol("_vtc");function vd(t,e,o){const n=t[md];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):o?t.setAttribute("class",e):t.className=e}const _n=Symbol("_vod"),la=Symbol("_vsh"),xn={beforeMount(t,{value:e},{transition:o}){t[_n]=t.style.display==="none"?"":t.style.display,o&&e?o.beforeEnter(t):Do(t,e)},mounted(t,{value:e},{transition:o}){o&&e&&o.enter(t)},updated(t,{value:e,oldValue:o},{transition:n}){!e!=!o&&(n?e?(n.beforeEnter(t),Do(t,!0),n.enter(t)):n.leave(t,()=>{Do(t,!1)}):Do(t,e))},beforeUnmount(t,{value:e}){Do(t,e)}};({}).NODE_ENV!=="production"&&(xn.name="show");function Do(t,e){t.style.display=e?t[_n]:"none",t[la]=!e}const gd=Symbol({}.NODE_ENV!=="production"?"CSS_VAR_TEXT":""),yd=/(^|;)\s*display\s*:/;function bd(t,e,o){const n=t.style,i=me(o);let s=!1;if(o&&!i){if(e)if(me(e))for(const r of e.split(";")){const a=r.slice(0,r.indexOf(":")).trim();o[a]==null&&wn(n,a,"")}else for(const r in e)o[r]==null&&wn(n,r,"");for(const r in o)r==="display"&&(s=!0),wn(n,r,o[r])}else if(i){if(e!==o){const r=n[gd];r&&(o+=";"+r),n.cssText=o,s=yd.test(o)}}else e&&t.removeAttribute("style");_n in t&&(t[_n]=s?n.display:"",t[la]&&(n.display="none"))}const _d=/[^\\];\s*$/,ca=/\s*!important$/;function wn(t,e,o){if(F(o))o.forEach(n=>wn(t,e,n));else if(o==null&&(o=""),{}.NODE_ENV!=="production"&&_d.test(o)&&bn(`Unexpected semicolon at the end of '${e}' style value: '${o}'`),e.startsWith("--"))t.setProperty(e,o);else{const n=xd(t,e);ca.test(o)?t.setProperty(je(n),o.replace(ca,""),"important"):t[n]=o}}const ua=["Webkit","Moz","ms"],Vi={};function xd(t,e){const o=Vi[e];if(o)return o;let n=Re(e);if(n!=="filter"&&n in t)return Vi[e]=n;n=Dt(n);for(let i=0;i<ua.length;i++){const s=ua[i]+n;if(s in t)return Vi[e]=s}return e}const da="http://www.w3.org/1999/xlink";function wd(t,e,o,n,i){if(n&&e.startsWith("xlink:"))o==null?t.removeAttributeNS(da,e.slice(6,e.length)):t.setAttributeNS(da,e,o);else{const s=Ql(e);o==null||s&&!Ts(o)?t.removeAttribute(e):t.setAttribute(e,s?"":o)}}function Ed(t,e,o,n,i,s,r){if(e==="innerHTML"||e==="textContent"){n&&r(n,i,s),t[e]=o??"";return}const a=t.tagName;if(e==="value"&&a!=="PROGRESS"&&!a.includes("-")){const c=a==="OPTION"?t.getAttribute("value")||"":t.value,d=o??"";(c!==d||!("_value"in t))&&(t.value=d),o==null&&t.removeAttribute(e),t._value=o;return}let l=!1;if(o===""||o==null){const c=typeof t[e];c==="boolean"?o=Ts(o):o==null&&c==="string"?(o="",l=!0):c==="number"&&(o=0,l=!0)}try{t[e]=o}catch(c){({}).NODE_ENV!=="production"&&!l&&bn(`Failed setting prop "${e}" on <${a.toLowerCase()}>: value ${o} is invalid.`,c)}l&&t.removeAttribute(e)}function Cd(t,e,o,n){t.addEventListener(e,o,n)}function kd(t,e,o,n){t.removeEventListener(e,o,n)}const fa=Symbol("_vei");function Nd(t,e,o,n,i=null){const s=t[fa]||(t[fa]={}),r=s[e];if(n&&r)r.value={}.NODE_ENV!=="production"?ha(n,e):n;else{const[a,l]=Od(e);if(n){const c=s[e]=Td({}.NODE_ENV!=="production"?ha(n,e):n,i);Cd(t,a,c,l)}else r&&(kd(t,a,r,l),s[e]=void 0)}}const pa=/(?:Once|Passive|Capture)$/;function Od(t){let e;if(pa.test(t)){e={};let n;for(;n=t.match(pa);)t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):je(t.slice(2)),e]}let Ii=0;const Sd=Promise.resolve(),$d=()=>Ii||(Sd.then(()=>Ii=0),Ii=Date.now());function Td(t,e){const o=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=o.attached)return;We(Dd(n,o.value),e,5,[n])};return o.value=t,o.attached=$d(),o}function ha(t,e){return W(t)||F(t)?t:(bn(`Wrong type passed as event handler to ${e} - did you forget @ or : in front of your prop?
27
- Expected function or array of functions, received type ${typeof t}.`),ge)}function Dd(t,e){if(F(e)){const o=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{o.call(t),t._stopped=!0},e.map(n=>i=>!i._stopped&&n&&n(i))}else return e}const ma=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,Pd=(t,e,o,n,i,s,r,a,l)=>{const c=i==="svg";e==="class"?vd(t,n,c):e==="style"?bd(t,o,n):co(e)?Fo(e)||Nd(t,e,o,n,r):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Ld(t,e,n,c))?Ed(t,e,n,s,r,a,l):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),wd(t,e,n,c))};function Ld(t,e,o,n){if(n)return!!(e==="innerHTML"||e==="textContent"||e in t&&ma(e)&&W(o));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const i=t.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return ma(e)&&me(o)?!1:e in t}/*! #__NO_SIDE_EFFECTS__ */function Ee(t,e){const o=X(t);class n extends Mi{constructor(s){super(o,s,e)}}return n.def=o,n}const Vd=typeof HTMLElement<"u"?HTMLElement:class{};class Mi extends Vd{constructor(e,o={},n){super(),this._def=e,this._props=o,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&n?n(this._createVNode(),this.shadowRoot):({}.NODE_ENV!=="production"&&this.shadowRoot&&bn("Custom element has pre-rendered declarative shadow root but is not defined as hydratable. Use `defineSSRCustomElement`."),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),sr(()=>{this._connected||(ga(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);this._ob=new MutationObserver(n=>{for(const i of n)this._setAttr(i.attributeName)}),this._ob.observe(this,{attributes:!0});const e=(n,i=!1)=>{const{props:s,styles:r}=n;let a;if(s&&!F(s))for(const l in s){const c=s[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=Ss(this._props[l])),(a||(a=Object.create(null)))[Re(l)]=!0)}this._numberProps=a,i&&this._resolveProps(n),this._applyStyles(r),this._update()},o=this._def.__asyncLoader;o?o().then(n=>e(n,!0)):e(this._def)}_resolveProps(e){const{props:o}=e,n=F(o)?o:Object.keys(o||{});for(const i of Object.keys(this))i[0]!=="_"&&n.includes(i)&&this._setProp(i,this[i],!0,!1);for(const i of n.map(Re))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(s){this._setProp(i,s)}})}_setAttr(e){let o=this.hasAttribute(e)?this.getAttribute(e):void 0;const n=Re(e);this._numberProps&&this._numberProps[n]&&(o=Ss(o)),this._setProp(n,o,!1)}_getProp(e){return this._props[e]}_setProp(e,o,n=!0,i=!0){o!==this._props[e]&&(this._props[e]=o,i&&this._instance&&this._update(),n&&(o===!0?this.setAttribute(je(e),""):typeof o=="string"||typeof o=="number"?this.setAttribute(je(e),o+""):o||this.removeAttribute(je(e))))}_update(){ga(this._createVNode(),this.shadowRoot)}_createVNode(){const e=oe(this._def,de({},this._props));return this._instance||(e.ce=o=>{this._instance=o,o.isCE=!0,{}.NODE_ENV!=="production"&&(o.ceReload=s=>{this._styles&&(this._styles.forEach(r=>this.shadowRoot.removeChild(r)),this._styles.length=0),this._applyStyles(s),this._instance=null,this._update()});const n=(s,r)=>{this.dispatchEvent(new CustomEvent(s,{detail:r}))};o.emit=(s,...r)=>{n(s,r),je(s)!==s&&n(je(s),r)};let i=this;for(;i=i&&(i.parentNode||i.host);)if(i instanceof Mi){o.parent=i._instance,o.provides=i._instance.provides;break}}),e}_applyStyles(e){e&&e.forEach(o=>{const n=document.createElement("style");n.textContent=o,this.shadowRoot.appendChild(n),{}.NODE_ENV!=="production"&&(this._styles||(this._styles=[])).push(n)})}}const Id=de({patchProp:Pd},hd);let va;function Md(){return va||(va=Wu(Id))}const ga=(...t)=>{Md().render(...t)};/**
26
+ **/const s0="http://www.w3.org/2000/svg",o0="http://www.w3.org/1998/Math/MathML",ri=typeof document<"u"?document:null,ou=ri&&ri.createElement("template"),a0={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,i)=>{const r=t==="svg"?ri.createElementNS(s0,e):t==="mathml"?ri.createElementNS(o0,e):ri.createElement(e,n?{is:n}:void 0);return e==="select"&&i&&i.multiple!=null&&r.setAttribute("multiple",i.multiple),r},createText:e=>ri.createTextNode(e),createComment:e=>ri.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ri.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,i,r,s){const o=n?n.previousSibling:t.lastChild;if(r&&(r===s||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===s||!(r=r.nextSibling)););else{ou.innerHTML=i==="svg"?`<svg>${e}</svg>`:i==="mathml"?`<math>${e}</math>`:e;const a=ou.content;if(i==="svg"||i==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},l0=Symbol("_vtc");function c0(e,t,n){const i=e[l0];i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ms=Symbol("_vod"),au=Symbol("_vsh"),As={beforeMount(e,{value:t},{transition:n}){e[Ms]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ar(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:i}){!t!=!n&&(i?t?(i.beforeEnter(e),Ar(e,!0),i.enter(e)):i.leave(e,()=>{Ar(e,!1)}):Ar(e,t))},beforeUnmount(e,{value:t}){Ar(e,t)}};({}).NODE_ENV!=="production"&&(As.name="show");function Ar(e,t){e.style.display=t?e[Ms]:"none",e[au]=!t}const u0=Symbol({}.NODE_ENV!=="production"?"CSS_VAR_TEXT":""),h0=/(^|;)\s*display\s*:/;function f0(e,t,n){const i=e.style,r=Ee(n);let s=!1;if(n&&!r){if(t)if(Ee(t))for(const o of t.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&Ds(i,a,"")}else for(const o in t)n[o]==null&&Ds(i,o,"");for(const o in n)o==="display"&&(s=!0),Ds(i,o,n[o])}else if(r){if(t!==n){const o=i[u0];o&&(n+=";"+o),i.cssText=n,s=h0.test(n)}}else t&&e.removeAttribute("style");Ms in e&&(e[Ms]=s?i.display:"",e[au]&&(i.display="none"))}const d0=/[^\\];\s*$/,lu=/\s*!important$/;function Ds(e,t,n){if(zt(n))n.forEach(i=>Ds(e,t,i));else if(n==null&&(n=""),{}.NODE_ENV!=="production"&&d0.test(n)&&Is(`Unexpected semicolon at the end of '${t}' style value: '${n}'`),t.startsWith("--"))e.setProperty(t,n);else{const i=p0(e,t);lu.test(n)?e.setProperty(nn(i),n.replace(lu,""),"important"):e[i]=n}}const cu=["Webkit","Moz","ms"],pa={};function p0(e,t){const n=pa[t];if(n)return n;let i=en(t);if(i!=="filter"&&i in e)return pa[t]=i;i=di(i);for(let r=0;r<cu.length;r++){const s=cu[r]+i;if(s in e)return pa[t]=s}return t}const uu="http://www.w3.org/1999/xlink";function m0(e,t,n,i,r){if(i&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(uu,t.slice(6,t.length)):e.setAttributeNS(uu,t,n);else{const s=Uf(t);n==null||s&&!Ol(n)?e.removeAttribute(t):e.setAttribute(t,s?"":n)}}function g0(e,t,n,i,r,s,o){if(t==="innerHTML"||t==="textContent"){i&&o(i,r,s),e[t]=n??"";return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){const f=a==="OPTION"?e.getAttribute("value")||"":e.value,p=n??"";(f!==p||!("_value"in e))&&(e.value=p),n==null&&e.removeAttribute(t),e._value=n;return}let l=!1;if(n===""||n==null){const f=typeof e[t];f==="boolean"?n=Ol(n):n==null&&f==="string"?(n="",l=!0):f==="number"&&(n=0,l=!0)}try{e[t]=n}catch(f){({}).NODE_ENV!=="production"&&!l&&Is(`Failed setting prop "${t}" on <${a.toLowerCase()}>: value ${n} is invalid.`,f)}l&&e.removeAttribute(t)}function v0(e,t,n,i){e.addEventListener(t,n,i)}function y0(e,t,n,i){e.removeEventListener(t,n,i)}const hu=Symbol("_vei");function _0(e,t,n,i,r=null){const s=e[hu]||(e[hu]={}),o=s[t];if(i&&o)o.value={}.NODE_ENV!=="production"?du(i,t):i;else{const[a,l]=x0(t);if(i){const f=s[t]=E0({}.NODE_ENV!=="production"?du(i,t):i,r);v0(e,a,f,l)}else o&&(y0(e,a,o,l),s[t]=void 0)}}const fu=/(?:Once|Passive|Capture)$/;function x0(e){let t;if(fu.test(e)){t={};let i;for(;i=e.match(fu);)e=e.slice(0,e.length-i[0].length),t[i[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):nn(e.slice(2)),t]}let ma=0;const b0=Promise.resolve(),w0=()=>ma||(b0.then(()=>ma=0),ma=Date.now());function E0(e,t){const n=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=n.attached)return;pn(C0(i,n.value),t,5,[i])};return n.value=e,n.attached=w0(),n}function du(e,t){return qt(e)||zt(e)?e:(Is(`Wrong type passed as event handler to ${t} - did you forget @ or : in front of your prop?
27
+ Expected function or array of functions, received type ${typeof e}.`),ke)}function C0(e,t){if(zt(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(i=>r=>!r._stopped&&i&&i(r))}else return t}const pu=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,T0=(e,t,n,i,r,s,o,a,l)=>{const f=r==="svg";t==="class"?c0(e,i,f):t==="style"?f0(e,n,i):fr(t)?Jr(t)||_0(e,t,n,i,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):k0(e,t,i,f))?g0(e,t,i,s,o,a,l):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),m0(e,t,i,f))};function k0(e,t,n,i){if(i)return!!(t==="innerHTML"||t==="textContent"||t in e&&pu(t)&&qt(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 r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return pu(t)&&Ee(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function he(e,t){const n=Bt(e);class i extends ga{constructor(s){super(n,s,t)}}return i.def=n,i}const S0=typeof HTMLElement<"u"?HTMLElement:class{};class ga extends S0{constructor(t,n={},i){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&i?i(this._createVNode(),this.shadowRoot):({}.NODE_ENV!=="production"&&this.shadowRoot&&Is("Custom element has pre-rendered declarative shadow root but is not defined as hydratable. Use `defineSSRCustomElement`."),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),sc(()=>{this._connected||(gu(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let i=0;i<this.attributes.length;i++)this._setAttr(this.attributes[i].name);this._ob=new MutationObserver(i=>{for(const r of i)this._setAttr(r.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(i,r=!1)=>{const{props:s,styles:o}=i;let a;if(s&&!zt(s))for(const l in s){const f=s[l];(f===Number||f&&f.type===Number)&&(l in this._props&&(this._props[l]=Nl(this._props[l])),(a||(a=Object.create(null)))[en(l)]=!0)}this._numberProps=a,r&&this._resolveProps(i),this._applyStyles(o),this._update()},n=this._def.__asyncLoader;n?n().then(i=>t(i,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,i=zt(n)?n:Object.keys(n||{});for(const r of Object.keys(this))r[0]!=="_"&&i.includes(r)&&this._setProp(r,this[r],!0,!1);for(const r of i.map(en))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(s){this._setProp(r,s)}})}_setAttr(t){let n=this.hasAttribute(t)?this.getAttribute(t):void 0;const i=en(t);this._numberProps&&this._numberProps[i]&&(n=Nl(n)),this._setProp(i,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,i=!0,r=!0){n!==this._props[t]&&(this._props[t]=n,r&&this._instance&&this._update(),i&&(n===!0?this.setAttribute(nn(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(nn(t),n+""):n||this.removeAttribute(nn(t))))}_update(){gu(this._createVNode(),this.shadowRoot)}_createVNode(){const t=Vt(this._def,_e({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0,{}.NODE_ENV!=="production"&&(n.ceReload=s=>{this._styles&&(this._styles.forEach(o=>this.shadowRoot.removeChild(o)),this._styles.length=0),this._applyStyles(s),this._instance=null,this._update()});const i=(s,o)=>{this.dispatchEvent(new CustomEvent(s,{detail:o}))};n.emit=(s,...o)=>{i(s,o),nn(s)!==s&&i(nn(s),o)};let r=this;for(;r=r&&(r.parentNode||r.host);)if(r instanceof ga){n.parent=r._instance,n.provides=r._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const i=document.createElement("style");i.textContent=n,this.shadowRoot.appendChild(i),{}.NODE_ENV!=="production"&&(this._styles||(this._styles=[])).push(i)})}}const N0=_e({patchProp:T0},a0);let mu;function P0(){return mu||(mu=Fp(N0))}const gu=(...e)=>{P0().render(...e)};/**
28
28
  * vue v3.4.25
29
29
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
30
30
  * @license MIT
31
- **/function Ad(){dd()}({}).NODE_ENV!=="production"&&Ad(),typeof process<"u"&&process.versions!=null&&process.versions.node!=null;const ya=t=>{let e=null;switch(t){case"bin":e=/^[0-1]+$/;break;case"oct":e=/^(0b)?[0-7]+$/i;break;case"hex":e=/^(0x)?[0-9a-fA-F]+$/i;break;case"int":e=/^[-+]?[0-9]+$/;break;case"number":e=/[-+]?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/gi;break;case"phone-number":e=/^[+]?[(]?[0-9]{3}[)]?[-\s.]?[0-9]{3}[-\s.]?[0-9]{4,6}$/gi;break;case"email":e=/^[A-Za-z0-9_!#$%&'*+/=?`{|}~^.-]+@[A-Za-z0-9._-]+$/gm;break;case"ip":e=/^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/;break;case"base64-data":e=/^\s*data:(?:[a-z]+\/[a-z0-9-+.]+(?:;[a-z-]+=[a-z0-9-]+)?)?(?:;base64)?,([a-z0-9!$&',()*+;=\-._~:@/?%\s]*?)\s*$/i;break;case"var-name":e=/^[a-zA-Z_$][a-zA-Z0-9_$]*$/;break;case"hex-color":e=/^#([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i;break;case"chinese-name":e=/^(?:[\u4e00-\u9fa5·]{2,16})$/;break;case"chinese":e=new RegExp(String.raw`
31
+ **/function O0(){r0()}({}).NODE_ENV!=="production"&&O0();const Ls=typeof window=="object"&&typeof document=="object";typeof process<"u"&&process.versions!=null&&process.versions.node!=null;const vu=e=>{let t=null;switch(e){case"bin":t=/^[0-1]+$/;break;case"oct":t=/^(0b)?[0-7]+$/i;break;case"hex":t=/^(0x)?[0-9a-fA-F]+$/i;break;case"int":t=/^[-+]?[0-9]+$/;break;case"number":t=/[-+]?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/gi;break;case"phone-number":t=/^[+]?[(]?[0-9]{3}[)]?[-\s.]?[0-9]{3}[-\s.]?[0-9]{4,6}$/gi;break;case"email":t=/^[A-Za-z0-9_!#$%&'*+/=?`{|}~^.-]+@[A-Za-z0-9._-]+$/gm;break;case"ip":t=/^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/;break;case"base64-data":t=/^\s*data:(?:[a-z]+\/[a-z0-9-+.]+(?:;[a-z-]+=[a-z0-9-]+)?)?(?:;base64)?,([a-z0-9!$&',()*+;=\-._~:@/?%\s]*?)\s*$/i;break;case"var-name":t=/^[a-zA-Z_$][a-zA-Z0-9_$]*$/;break;case"hex-color":t=/^#([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i;break;case"chinese-name":t=/^(?:[\u4e00-\u9fa5·]{2,16})$/;break;case"chinese":t=new RegExp(String.raw`
32
32
  [\u{FA0E}\u{FA0F}\u{FA11}\u{FA13}\u{FA14}\u{FA1F}\u{FA21}\u{FA23}\u{FA24}\u{FA27}-\u{FA29}]
33
33
  |[\u{4E00}-\u{9FCC}]
34
34
  |[\u{3400}-\u{4DB5}]
@@ -37,32 +37,53 @@ Expected function or array of functions, received type ${typeof t}.`),ge)}functi
37
37
  |[\u{2B740}-\u{2B81D}]
38
38
  |[\u{2B820}-\u{2CEAF}]
39
39
  |[\u{2CEB0}-\u{2EBEF}]
40
- `.replace(/\s+/g,""),"u");break;case"mime-image":e=/^image\//;break;case"mime-video":e=/^video\//;break;case"mime-audio":e=/^audio\//;break;case"mime-document-word":e=/^application\/(?:vnd\.openxmlformats-officedocument\.wordprocessingml\.document|msword|vnd\.ms-word\.document\.macroenabled\.12|vnd\.openxmlformats-officedocument\.wordprocessingml\.template|vnd\.ms-word\.template\.macroenabled\.12)$/;break;case"mime-document-excel":e=/^application\/(?:vnd\.openxmlformats-officedocument\.spreadsheetml\.sheet|vnd\.ms-excel|vnd\.ms-excel\.sheet\.macroenabled\.12|vnd\.openxmlformats-officedocument\.spreadsheetml\.template|vnd\.ms-excel\.template\.macroenabled\.12)$/;break;case"mime-document-ppt":e=/^application\/(?:vnd\.ms-powerpoint|vnd\.openxmlformats-officedocument\.presentationml\.presentation|vnd\.ms-powerpoint\.presentation\.macroenabled\.12|vnd\.openxmlformats-officedocument\.presentationml\.template|vnd\.ms-powerpoint\.template\.macroenabled\.12)$/;break;case"mime-document-json":e=/^application\/json$/;break;case"mime-document-xml":e=/^(?:application|text)\/(?:xml|xhtml\+xml)$/;break}return e};function ba(t){const e={matchIndex:-1,fullMatch:null,groupMatchs:[]};if(t){e.matchIndex=typeof t.index=="number"?t.index:-1;for(let o=0,n=t.length;o<n;o++)o==0?e.fullMatch=t[o]:e.groupMatchs.push(t[o])}return e}const Rd=(t,e)=>{typeof t=="string"&&(t=ya(t)||new RegExp(t));const o=e.match(t);return ba(o)},_a=(t,e)=>{typeof t=="string"&&(t=ya(t)||new RegExp(t));const o=[],n=e.matchAll(t);for(const i of n)o.push(ba(i));return o},jd=(t,e="")=>(t=t.replace(/\[data-v-[0-9a-zA-Z]*\]/g,e),t);function Po(t,e){const o=t.length,n=e.length;for(let s=0;s<n;s++)t[s]=e[s];let i=Math.max(0,o-n);for(;i>0;)t.pop(),i--}function xa(t,e=12){return+t.toPrecision(e)}function Fd(t,e){let o=+new Date,n;return function(...i){const s=+new Date;s-o<e?(clearTimeout(n),n=setTimeout(()=>{o=s,t.apply(this,i)},e)):(clearTimeout(n),o=s,t.apply(this,i))}}var wa={exports:{}},Qt=typeof Reflect=="object"?Reflect:null,Ea=Qt&&typeof Qt.apply=="function"?Qt.apply:function(e,o,n){return Function.prototype.apply.call(e,o,n)},En;Qt&&typeof Qt.ownKeys=="function"?En=Qt.ownKeys:Object.getOwnPropertySymbols?En=function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:En=function(e){return Object.getOwnPropertyNames(e)};function zd(t){console&&console.warn&&console.warn(t)}var Ca=Number.isNaN||function(e){return e!==e};function ce(){ce.init.call(this)}wa.exports=ce,wa.exports.once=Ud,ce.EventEmitter=ce,ce.prototype._events=void 0,ce.prototype._eventsCount=0,ce.prototype._maxListeners=void 0;var ka=10;function Cn(t){if(typeof t!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}Object.defineProperty(ce,"defaultMaxListeners",{enumerable:!0,get:function(){return ka},set:function(t){if(typeof t!="number"||t<0||Ca(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");ka=t}}),ce.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},ce.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||Ca(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this};function Na(t){return t._maxListeners===void 0?ce.defaultMaxListeners:t._maxListeners}ce.prototype.getMaxListeners=function(){return Na(this)},ce.prototype.emit=function(e){for(var o=[],n=1;n<arguments.length;n++)o.push(arguments[n]);var i=e==="error",s=this._events;if(s!==void 0)i=i&&s.error===void 0;else if(!i)return!1;if(i){var r;if(o.length>0&&(r=o[0]),r instanceof Error)throw r;var a=new Error("Unhandled error."+(r?" ("+r.message+")":""));throw a.context=r,a}var l=s[e];if(l===void 0)return!1;if(typeof l=="function")Ea(l,this,o);else for(var c=l.length,d=Da(l,c),n=0;n<c;++n)Ea(d[n],this,o);return!0};function Oa(t,e,o,n){var i,s,r;if(Cn(o),s=t._events,s===void 0?(s=t._events=Object.create(null),t._eventsCount=0):(s.newListener!==void 0&&(t.emit("newListener",e,o.listener?o.listener:o),s=t._events),r=s[e]),r===void 0)r=s[e]=o,++t._eventsCount;else if(typeof r=="function"?r=s[e]=n?[o,r]:[r,o]:n?r.unshift(o):r.push(o),i=Na(t),i>0&&r.length>i&&!r.warned){r.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+r.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=t,a.type=e,a.count=r.length,zd(a)}return t}ce.prototype.addListener=function(e,o){return Oa(this,e,o,!1)},ce.prototype.on=ce.prototype.addListener,ce.prototype.prependListener=function(e,o){return Oa(this,e,o,!0)};function Hd(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function Sa(t,e,o){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:o},i=Hd.bind(n);return i.listener=o,n.wrapFn=i,i}ce.prototype.once=function(e,o){return Cn(o),this.on(e,Sa(this,e,o)),this},ce.prototype.prependOnceListener=function(e,o){return Cn(o),this.prependListener(e,Sa(this,e,o)),this},ce.prototype.removeListener=function(e,o){var n,i,s,r,a;if(Cn(o),i=this._events,i===void 0)return this;if(n=i[e],n===void 0)return this;if(n===o||n.listener===o)--this._eventsCount===0?this._events=Object.create(null):(delete i[e],i.removeListener&&this.emit("removeListener",e,n.listener||o));else if(typeof n!="function"){for(s=-1,r=n.length-1;r>=0;r--)if(n[r]===o||n[r].listener===o){a=n[r].listener,s=r;break}if(s<0)return this;s===0?n.shift():Bd(n,s),n.length===1&&(i[e]=n[0]),i.removeListener!==void 0&&this.emit("removeListener",e,a||o)}return this},ce.prototype.off=ce.prototype.removeListener,ce.prototype.removeAllListeners=function(e){var o,n,i;if(n=this._events,n===void 0)return this;if(n.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):n[e]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete n[e]),this;if(arguments.length===0){var s=Object.keys(n),r;for(i=0;i<s.length;++i)r=s[i],r!=="removeListener"&&this.removeAllListeners(r);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(o=n[e],typeof o=="function")this.removeListener(e,o);else if(o!==void 0)for(i=o.length-1;i>=0;i--)this.removeListener(e,o[i]);return this};function $a(t,e,o){var n=t._events;if(n===void 0)return[];var i=n[e];return i===void 0?[]:typeof i=="function"?o?[i.listener||i]:[i]:o?Wd(i):Da(i,i.length)}ce.prototype.listeners=function(e){return $a(this,e,!0)},ce.prototype.rawListeners=function(e){return $a(this,e,!1)},ce.listenerCount=function(t,e){return typeof t.listenerCount=="function"?t.listenerCount(e):Ta.call(t,e)},ce.prototype.listenerCount=Ta;function Ta(t){var e=this._events;if(e!==void 0){var o=e[t];if(typeof o=="function")return 1;if(o!==void 0)return o.length}return 0}ce.prototype.eventNames=function(){return this._eventsCount>0?En(this._events):[]};function Da(t,e){for(var o=new Array(e),n=0;n<e;++n)o[n]=t[n];return o}function Bd(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}function Wd(t){for(var e=new Array(t.length),o=0;o<e.length;++o)e[o]=t[o].listener||t[o];return e}function Ud(t,e){return new Promise(function(o,n){function i(r){t.removeListener(e,s),n(r)}function s(){typeof t.removeListener=="function"&&t.removeListener("error",i),o([].slice.call(arguments))}Pa(t,e,s,{once:!0}),e!=="error"&&Gd(t,i,{once:!0})})}function Gd(t,e,o){typeof t.on=="function"&&Pa(t,"error",e,o)}function Pa(t,e,o,n){if(typeof t.on=="function")n.once?t.once(e,o):t.on(e,o);else if(typeof t.addEventListener=="function")t.addEventListener(e,function i(s){n.once&&t.removeEventListener(e,i),o(s)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t)}const Lo=/^[a-z0-9]+(-[a-z0-9]+)*$/,kn=(t,e,o,n="")=>{const i=t.split(":");if(t.slice(0,1)==="@"){if(i.length<2||i.length>3)return null;n=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){const a=i.pop(),l=i.pop(),c={provider:i.length>0?i[0]:n,prefix:l,name:a};return e&&!Nn(c)?null:c}const s=i[0],r=s.split("-");if(r.length>1){const a={provider:n,prefix:r.shift(),name:r.join("-")};return e&&!Nn(a)?null:a}if(o&&n===""){const a={provider:n,prefix:"",name:s};return e&&!Nn(a,o)?null:a}return null},Nn=(t,e)=>t?!!((t.provider===""||t.provider.match(Lo))&&(e&&t.prefix===""||t.prefix.match(Lo))&&t.name.match(Lo)):!1,La=Object.freeze({left:0,top:0,width:16,height:16}),On=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Sn=Object.freeze({...La,...On}),Ai=Object.freeze({...Sn,body:"",hidden:!1});function Kd(t,e){const o={};!t.hFlip!=!e.hFlip&&(o.hFlip=!0),!t.vFlip!=!e.vFlip&&(o.vFlip=!0);const n=((t.rotate||0)+(e.rotate||0))%4;return n&&(o.rotate=n),o}function Va(t,e){const o=Kd(t,e);for(const n in Ai)n in On?n in t&&!(n in o)&&(o[n]=On[n]):n in e?o[n]=e[n]:n in t&&(o[n]=t[n]);return o}function qd(t,e){const o=t.icons,n=t.aliases||Object.create(null),i=Object.create(null);function s(r){if(o[r])return i[r]=[];if(!(r in i)){i[r]=null;const a=n[r]&&n[r].parent,l=a&&s(a);l&&(i[r]=[a].concat(l))}return i[r]}return(e||Object.keys(o).concat(Object.keys(n))).forEach(s),i}function Yd(t,e,o){const n=t.icons,i=t.aliases||Object.create(null);let s={};function r(a){s=Va(n[a]||i[a],s)}return r(e),o.forEach(r),Va(t,s)}function Ia(t,e){const o=[];if(typeof t!="object"||typeof t.icons!="object")return o;t.not_found instanceof Array&&t.not_found.forEach(i=>{e(i,null),o.push(i)});const n=qd(t);for(const i in n){const s=n[i];s&&(e(i,Yd(t,i,s)),o.push(i))}return o}const Zd={provider:"",aliases:{},not_found:{},...La};function Ri(t,e){for(const o in e)if(o in t&&typeof t[o]!=typeof e[o])return!1;return!0}function Ma(t){if(typeof t!="object"||t===null)return null;const e=t;if(typeof e.prefix!="string"||!t.icons||typeof t.icons!="object"||!Ri(t,Zd))return null;const o=e.icons;for(const i in o){const s=o[i];if(!i.match(Lo)||typeof s.body!="string"||!Ri(s,Ai))return null}const n=e.aliases||Object.create(null);for(const i in n){const s=n[i],r=s.parent;if(!i.match(Lo)||typeof r!="string"||!o[r]&&!n[r]||!Ri(s,Ai))return null}return e}const Aa=Object.create(null);function Xd(t,e){return{provider:t,prefix:e,icons:Object.create(null),missing:new Set}}function Wt(t,e){const o=Aa[t]||(Aa[t]=Object.create(null));return o[e]||(o[e]=Xd(t,e))}function ji(t,e){return Ma(e)?Ia(e,(o,n)=>{n?t.icons[o]=n:t.missing.add(o)}):[]}function Jd(t,e,o){try{if(typeof o.body=="string")return t.icons[e]={...o},!0}catch{}return!1}let Vo=!1;function Ra(t){return typeof t=="boolean"&&(Vo=t),Vo}function Qd(t){const e=typeof t=="string"?kn(t,!0,Vo):t;if(e){const o=Wt(e.provider,e.prefix),n=e.name;return o.icons[n]||(o.missing.has(n)?null:void 0)}}function ef(t,e){const o=kn(t,!0,Vo);if(!o)return!1;const n=Wt(o.provider,o.prefix);return Jd(n,o.name,e)}function tf(t,e){if(typeof t!="object")return!1;if(typeof e!="string"&&(e=t.provider||""),Vo&&!e&&!t.prefix){let i=!1;return Ma(t)&&(t.prefix="",Ia(t,(s,r)=>{r&&ef(s,r)&&(i=!0)})),i}const o=t.prefix;if(!Nn({provider:e,prefix:o,name:"a"}))return!1;const n=Wt(e,o);return!!ji(n,t)}const ja=Object.freeze({width:null,height:null}),Fa=Object.freeze({...ja,...On}),of=/(-?[0-9.]*[0-9]+[0-9.]*)/g,nf=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function za(t,e,o){if(e===1)return t;if(o=o||100,typeof t=="number")return Math.ceil(t*e*o)/o;if(typeof t!="string")return t;const n=t.split(of);if(n===null||!n.length)return t;const i=[];let s=n.shift(),r=nf.test(s);for(;;){if(r){const a=parseFloat(s);isNaN(a)?i.push(s):i.push(Math.ceil(a*e*o)/o)}else i.push(s);if(s=n.shift(),s===void 0)return i.join("");r=!r}}function sf(t,e="defs"){let o="";const n=t.indexOf("<"+e);for(;n>=0;){const i=t.indexOf(">",n),s=t.indexOf("</"+e);if(i===-1||s===-1)break;const r=t.indexOf(">",s);if(r===-1)break;o+=t.slice(i+1,s).trim(),t=t.slice(0,n).trim()+t.slice(r+1)}return{defs:o,content:t}}function rf(t,e){return t?"<defs>"+t+"</defs>"+e:e}function af(t,e,o){const n=sf(t);return rf(n.defs,e+n.content+o)}const lf=t=>t==="unset"||t==="undefined"||t==="none";function cf(t,e){const o={...Sn,...t},n={...Fa,...e},i={left:o.left,top:o.top,width:o.width,height:o.height};let s=o.body;[o,n].forEach(y=>{const k=[],A=y.hFlip,$=y.vFlip;let z=y.rotate;A?$?z+=2:(k.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),k.push("scale(-1 1)"),i.top=i.left=0):$&&(k.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),k.push("scale(1 -1)"),i.top=i.left=0);let G;switch(z<0&&(z-=Math.floor(z/4)*4),z=z%4,z){case 1:G=i.height/2+i.top,k.unshift("rotate(90 "+G.toString()+" "+G.toString()+")");break;case 2:k.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:G=i.width/2+i.left,k.unshift("rotate(-90 "+G.toString()+" "+G.toString()+")");break}z%2===1&&(i.left!==i.top&&(G=i.left,i.left=i.top,i.top=G),i.width!==i.height&&(G=i.width,i.width=i.height,i.height=G)),k.length&&(s=af(s,'<g transform="'+k.join(" ")+'">',"</g>"))});const r=n.width,a=n.height,l=i.width,c=i.height;let d,f;r===null?(f=a===null?"1em":a==="auto"?c:a,d=za(f,l/c)):(d=r==="auto"?l:r,f=a===null?za(d,c/l):a==="auto"?c:a);const u={},v=(y,k)=>{lf(k)||(u[y]=k.toString())};v("width",d),v("height",f);const b=[i.left,i.top,l,c];return u.viewBox=b.join(" "),{attributes:u,viewBox:b,body:s}}const uf=/\sid="(\S+)"/g,df="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let ff=0;function pf(t,e=df){const o=[];let n;for(;n=uf.exec(t);)o.push(n[1]);if(!o.length)return t;const i="suffix"+(Math.random()*16777216|Date.now()).toString(16);return o.forEach(s=>{const r=typeof e=="function"?e(s):e+(ff++).toString(),a=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+r+i+"$3")}),t=t.replace(new RegExp(i,"g"),""),t}const Fi=Object.create(null);function hf(t,e){Fi[t]=e}function zi(t){return Fi[t]||Fi[""]}function Hi(t){let e;if(typeof t.resources=="string")e=[t.resources];else if(e=t.resources,!(e instanceof Array)||!e.length)return null;return{resources:e,path:t.path||"/",maxURL:t.maxURL||500,rotate:t.rotate||750,timeout:t.timeout||5e3,random:t.random===!0,index:t.index||0,dataAfterTimeout:t.dataAfterTimeout!==!1}}const Bi=Object.create(null),Io=["https://api.simplesvg.com","https://api.unisvg.com"],$n=[];for(;Io.length>0;)Io.length===1||Math.random()>.5?$n.push(Io.shift()):$n.push(Io.pop());Bi[""]=Hi({resources:["https://api.iconify.design"].concat($n)});function mf(t,e){const o=Hi(e);return o===null?!1:(Bi[t]=o,!0)}function Wi(t){return Bi[t]}let Ha=(()=>{let t;try{if(t=fetch,typeof t=="function")return t}catch{}})();function vf(t,e){const o=Wi(t);if(!o)return 0;let n;if(!o.maxURL)n=0;else{let i=0;o.resources.forEach(r=>{i=Math.max(i,r.length)});const s=e+".json?icons=";n=o.maxURL-i-o.path.length-s.length}return n}function gf(t){return t===404}const yf=(t,e,o)=>{const n=[],i=vf(t,e),s="icons";let r={type:s,provider:t,prefix:e,icons:[]},a=0;return o.forEach((l,c)=>{a+=l.length+1,a>=i&&c>0&&(n.push(r),r={type:s,provider:t,prefix:e,icons:[]},a=l.length),r.icons.push(l)}),n.push(r),n};function bf(t){if(typeof t=="string"){const e=Wi(t);if(e)return e.path}return"/"}const _f={prepare:yf,send:(t,e,o)=>{if(!Ha){o("abort",424);return}let n=bf(e.provider);switch(e.type){case"icons":{const s=e.prefix,a=e.icons.join(","),l=new URLSearchParams({icons:a});n+=s+".json?"+l.toString();break}case"custom":{const s=e.uri;n+=s.slice(0,1)==="/"?s.slice(1):s;break}default:o("abort",400);return}let i=503;Ha(t+n).then(s=>{const r=s.status;if(r!==200){setTimeout(()=>{o(gf(r)?"abort":"next",r)});return}return i=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?o("abort",s):o("next",i)});return}setTimeout(()=>{o("success",s)})}).catch(()=>{o("next",i)})}};function xf(t){const e={loaded:[],missing:[],pending:[]},o=Object.create(null);t.sort((i,s)=>i.provider!==s.provider?i.provider.localeCompare(s.provider):i.prefix!==s.prefix?i.prefix.localeCompare(s.prefix):i.name.localeCompare(s.name));let n={provider:"",prefix:"",name:""};return t.forEach(i=>{if(n.name===i.name&&n.prefix===i.prefix&&n.provider===i.provider)return;n=i;const s=i.provider,r=i.prefix,a=i.name,l=o[s]||(o[s]=Object.create(null)),c=l[r]||(l[r]=Wt(s,r));let d;a in c.icons?d=e.loaded:r===""||c.missing.has(a)?d=e.missing:d=e.pending;const f={provider:s,prefix:r,name:a};d.push(f)}),e}function Ba(t,e){t.forEach(o=>{const n=o.loaderCallbacks;n&&(o.loaderCallbacks=n.filter(i=>i.id!==e))})}function wf(t){t.pendingCallbacksFlag||(t.pendingCallbacksFlag=!0,setTimeout(()=>{t.pendingCallbacksFlag=!1;const e=t.loaderCallbacks?t.loaderCallbacks.slice(0):[];if(!e.length)return;let o=!1;const n=t.provider,i=t.prefix;e.forEach(s=>{const r=s.icons,a=r.pending.length;r.pending=r.pending.filter(l=>{if(l.prefix!==i)return!0;const c=l.name;if(t.icons[c])r.loaded.push({provider:n,prefix:i,name:c});else if(t.missing.has(c))r.missing.push({provider:n,prefix:i,name:c});else return o=!0,!0;return!1}),r.pending.length!==a&&(o||Ba([t],s.id),s.callback(r.loaded.slice(0),r.missing.slice(0),r.pending.slice(0),s.abort))})}))}let Ef=0;function Cf(t,e,o){const n=Ef++,i=Ba.bind(null,o,n);if(!e.pending.length)return i;const s={id:n,icons:e,callback:t,abort:i};return o.forEach(r=>{(r.loaderCallbacks||(r.loaderCallbacks=[])).push(s)}),i}function kf(t,e=!0,o=!1){const n=[];return t.forEach(i=>{const s=typeof i=="string"?kn(i,e,o):i;s&&n.push(s)}),n}var Nf={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Of(t,e,o,n){const i=t.resources.length,s=t.random?Math.floor(Math.random()*i):t.index;let r;if(t.random){let M=t.resources.slice(0);for(r=[];M.length>1;){const I=Math.floor(Math.random()*M.length);r.push(M[I]),M=M.slice(0,I).concat(M.slice(I+1))}r=r.concat(M)}else r=t.resources.slice(s).concat(t.resources.slice(0,s));const a=Date.now();let l="pending",c=0,d,f=null,u=[],v=[];typeof n=="function"&&v.push(n);function b(){f&&(clearTimeout(f),f=null)}function y(){l==="pending"&&(l="aborted"),b(),u.forEach(M=>{M.status==="pending"&&(M.status="aborted")}),u=[]}function k(M,I){I&&(v=[]),typeof M=="function"&&v.push(M)}function A(){return{startTime:a,payload:e,status:l,queriesSent:c,queriesPending:u.length,subscribe:k,abort:y}}function $(){l="failed",v.forEach(M=>{M(void 0,d)})}function z(){u.forEach(M=>{M.status==="pending"&&(M.status="aborted")}),u=[]}function G(M,I,he){const ve=I!=="success";switch(u=u.filter(Te=>Te!==M),l){case"pending":break;case"failed":if(ve||!t.dataAfterTimeout)return;break;default:return}if(I==="abort"){d=he,$();return}if(ve){d=he,u.length||(r.length?ne():$());return}if(b(),z(),!t.random){const Te=t.resources.indexOf(M.resource);Te!==-1&&Te!==t.index&&(t.index=Te)}l="completed",v.forEach(Te=>{Te(he)})}function ne(){if(l!=="pending")return;b();const M=r.shift();if(M===void 0){if(u.length){f=setTimeout(()=>{b(),l==="pending"&&(z(),$())},t.timeout);return}$();return}const I={status:"pending",resource:M,callback:(he,ve)=>{G(I,he,ve)}};u.push(I),c++,f=setTimeout(ne,t.rotate),o(M,e,I.callback)}return setTimeout(ne),A}function Wa(t){const e={...Nf,...t};let o=[];function n(){o=o.filter(a=>a().status==="pending")}function i(a,l,c){const d=Of(e,a,l,(f,u)=>{n(),c&&c(f,u)});return o.push(d),d}function s(a){return o.find(l=>a(l))||null}return{query:i,find:s,setIndex:a=>{e.index=a},getIndex:()=>e.index,cleanup:n}}function Ua(){}const Ui=Object.create(null);function Sf(t){if(!Ui[t]){const e=Wi(t);if(!e)return;const o=Wa(e),n={config:e,redundancy:o};Ui[t]=n}return Ui[t]}function $f(t,e,o){let n,i;if(typeof t=="string"){const s=zi(t);if(!s)return o(void 0,424),Ua;i=s.send;const r=Sf(t);r&&(n=r.redundancy)}else{const s=Hi(t);if(s){n=Wa(s);const r=t.resources?t.resources[0]:"",a=zi(r);a&&(i=a.send)}}return!n||!i?(o(void 0,424),Ua):n.query(e,i,o)().abort}const Ga="iconify2",Mo="iconify",Ka=Mo+"-count",qa=Mo+"-version",Ya=36e5,Tf=168,Df=50;function Gi(t,e){try{return t.getItem(e)}catch{}}function Ki(t,e,o){try{return t.setItem(e,o),!0}catch{}}function Za(t,e){try{t.removeItem(e)}catch{}}function qi(t,e){return Ki(t,Ka,e.toString())}function Yi(t){return parseInt(Gi(t,Ka))||0}const Tn={local:!0,session:!0},Xa={local:new Set,session:new Set};let Zi=!1;function Pf(t){Zi=t}let Dn=typeof window>"u"?{}:window;function Ja(t){const e=t+"Storage";try{if(Dn&&Dn[e]&&typeof Dn[e].length=="number")return Dn[e]}catch{}Tn[t]=!1}function Qa(t,e){const o=Ja(t);if(!o)return;const n=Gi(o,qa);if(n!==Ga){if(n){const a=Yi(o);for(let l=0;l<a;l++)Za(o,Mo+l.toString())}Ki(o,qa,Ga),qi(o,0);return}const i=Math.floor(Date.now()/Ya)-Tf,s=a=>{const l=Mo+a.toString(),c=Gi(o,l);if(typeof c=="string"){try{const d=JSON.parse(c);if(typeof d=="object"&&typeof d.cached=="number"&&d.cached>i&&typeof d.provider=="string"&&typeof d.data=="object"&&typeof d.data.prefix=="string"&&e(d,a))return!0}catch{}Za(o,l)}};let r=Yi(o);for(let a=r-1;a>=0;a--)s(a)||(a===r-1?(r--,qi(o,r)):Xa[t].add(a))}function el(){if(!Zi){Pf(!0);for(const t in Tn)Qa(t,e=>{const o=e.data,n=e.provider,i=o.prefix,s=Wt(n,i);if(!ji(s,o).length)return!1;const r=o.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,r):r,!0})}}function Lf(t,e){const o=t.lastModifiedCached;if(o&&o>=e)return o===e;if(t.lastModifiedCached=e,o)for(const n in Tn)Qa(n,i=>{const s=i.data;return i.provider!==t.provider||s.prefix!==t.prefix||s.lastModified===e});return!0}function Vf(t,e){Zi||el();function o(n){let i;if(!Tn[n]||!(i=Ja(n)))return;const s=Xa[n];let r;if(s.size)s.delete(r=Array.from(s).shift());else if(r=Yi(i),r>=Df||!qi(i,r+1))return;const a={cached:Math.floor(Date.now()/Ya),provider:t.provider,data:e};return Ki(i,Mo+r.toString(),JSON.stringify(a))}e.lastModified&&!Lf(t,e.lastModified)||Object.keys(e.icons).length&&(e.not_found&&(e=Object.assign({},e),delete e.not_found),o("local")||o("session"))}function tl(){}function If(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout(()=>{t.iconsLoaderFlag=!1,wf(t)}))}function Mf(t,e){t.iconsToLoad?t.iconsToLoad=t.iconsToLoad.concat(e).sort():t.iconsToLoad=e,t.iconsQueueFlag||(t.iconsQueueFlag=!0,setTimeout(()=>{t.iconsQueueFlag=!1;const{provider:o,prefix:n}=t,i=t.iconsToLoad;delete t.iconsToLoad;let s;if(!i||!(s=zi(o)))return;s.prepare(o,n,i).forEach(a=>{$f(o,a,l=>{if(typeof l!="object")a.icons.forEach(c=>{t.missing.add(c)});else try{const c=ji(t,l);if(!c.length)return;const d=t.pendingIcons;d&&c.forEach(f=>{d.delete(f)}),Vf(t,l)}catch(c){console.error(c)}If(t)})})}))}const Af=(t,e)=>{const o=kf(t,!0,Ra()),n=xf(o);if(!n.pending.length){let l=!0;return e&&setTimeout(()=>{l&&e(n.loaded,n.missing,n.pending,tl)}),()=>{l=!1}}const i=Object.create(null),s=[];let r,a;return n.pending.forEach(l=>{const{provider:c,prefix:d}=l;if(d===a&&c===r)return;r=c,a=d,s.push(Wt(c,d));const f=i[c]||(i[c]=Object.create(null));f[d]||(f[d]=[])}),n.pending.forEach(l=>{const{provider:c,prefix:d,name:f}=l,u=Wt(c,d),v=u.pendingIcons||(u.pendingIcons=new Set);v.has(f)||(v.add(f),i[c][d].push(f))}),s.forEach(l=>{const{provider:c,prefix:d}=l;i[c][d].length&&Mf(l,i[c][d])}),e?Cf(e,n,s):tl};function Rf(t,e){const o={...t};for(const n in e){const i=e[n],s=typeof i;n in ja?(i===null||i&&(s==="string"||s==="number"))&&(o[n]=i):s===typeof o[n]&&(o[n]=n==="rotate"?i%4:i)}return o}const jf=/[\s,]+/;function Ff(t,e){e.split(jf).forEach(o=>{switch(o.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function zf(t,e=0){const o=t.replace(/^-?[0-9.]*/,"");function n(i){for(;i<0;)i+=4;return i%4}if(o===""){const i=parseInt(t);return isNaN(i)?0:n(i)}else if(o!==t){let i=0;switch(o){case"%":i=25;break;case"deg":i=90}if(i){let s=parseFloat(t.slice(0,t.length-o.length));return isNaN(s)?0:(s=s/i,s%1===0?n(s):0)}}return e}function Hf(t,e){let o=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const n in e)o+=" "+n+'="'+e[n]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+o+">"+t+"</svg>"}function Bf(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Wf(t){return"data:image/svg+xml,"+Bf(t)}function Uf(t){return'url("'+Wf(t)+'")'}const ol={...Fa,inline:!1},Gf={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Kf={display:"inline-block"},Xi={backgroundColor:"currentColor"},nl={backgroundColor:"transparent"},il={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},sl={webkitMask:Xi,mask:Xi,background:nl};for(const t in sl){const e=sl[t];for(const o in il)e[t+o]=il[o]}const Pn={};["horizontal","vertical"].forEach(t=>{const e=t.slice(0,1)+"Flip";Pn[t+"-flip"]=e,Pn[t.slice(0,1)+"-flip"]=e,Pn[t+"Flip"]=e});function rl(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}const al=(t,e)=>{const o=Rf(ol,e),n={...Gf},i=e.mode||"svg",s={},r=e.style,a=typeof r=="object"&&!(r instanceof Array)?r:{};for(let y in e){const k=e[y];if(k!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":o[y]=k===!0||k==="true"||k===1;break;case"flip":typeof k=="string"&&Ff(o,k);break;case"color":s.color=k;break;case"rotate":typeof k=="string"?o[y]=zf(k):typeof k=="number"&&(o[y]=k);break;case"ariaHidden":case"aria-hidden":k!==!0&&k!=="true"&&delete n["aria-hidden"];break;default:{const A=Pn[y];A?(k===!0||k==="true"||k===1)&&(o[A]=!0):ol[y]===void 0&&(n[y]=k)}}}const l=cf(t,o),c=l.attributes;if(o.inline&&(s.verticalAlign="-0.125em"),i==="svg"){n.style={...s,...a},Object.assign(n,c);let y=0,k=e.id;return typeof k=="string"&&(k=k.replace(/-/g,"_")),n.innerHTML=pf(l.body,k?()=>k+"ID"+y++:"iconifyVue"),sa("svg",n)}const{body:d,width:f,height:u}=t,v=i==="mask"||(i==="bg"?!1:d.indexOf("currentColor")!==-1),b=Hf(d,{...c,width:f+"",height:u+""});return n.style={...s,"--svg":Uf(b),width:rl(c.width),height:rl(c.height),...Kf,...v?Xi:nl,...a},sa("span",n)};if(Ra(!0),hf("",_f),typeof document<"u"&&typeof window<"u"){el();const t=window;if(t.IconifyPreload!==void 0){const e=t.IconifyPreload,o="Invalid IconifyPreload syntax.";typeof e=="object"&&e!==null&&(e instanceof Array?e:[e]).forEach(n=>{try{(typeof n!="object"||n===null||n instanceof Array||typeof n.icons!="object"||typeof n.prefix!="string"||!tf(n))&&console.error(o)}catch{console.error(o)}})}if(t.IconifyProviders!==void 0){const e=t.IconifyProviders;if(typeof e=="object"&&e!==null)for(let o in e){const n="IconifyProviders["+o+"] is invalid.";try{const i=e[o];if(typeof i!="object"||!i||i.resources===void 0)continue;mf(o,i)||console.error(n)}catch{console.error(n)}}}}const qf={...Sn,body:""},ll=X({inheritAttrs:!1,data(){return{_name:"",_loadingIcon:null,iconMounted:!1,counter:0}},mounted(){this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(t,e){if(typeof t=="object"&&t!==null&&typeof t.body=="string")return this._name="",this.abortLoading(),{data:t};let o;if(typeof t!="string"||(o=kn(t,!1,!0))===null)return this.abortLoading(),null;const n=Qd(o);if(!n)return(!this._loadingIcon||this._loadingIcon.name!==t)&&(this.abortLoading(),this._name="",n!==null&&(this._loadingIcon={name:t,abort:Af([o],()=>{this.counter++})})),null;this.abortLoading(),this._name!==t&&(this._name=t,e&&e(t));const i=["iconify"];return o.prefix!==""&&i.push("iconify--"+o.prefix),o.provider!==""&&i.push("iconify--"+o.provider),{data:n,classes:i}}},render(){this.counter;const t=this.$attrs,e=this.iconMounted||t.ssr?this.getIcon(t.icon,t.onLoad):null;if(!e)return al(qf,t);let o=t;return e.classes&&(o={...t,class:(typeof t.class=="string"?t.class+" ":"")+e.classes.join(" ")}),al({...Sn,...e.data},o)}});function cl(){return document.compatMode=="BackCompat"?document.body:document.documentElement}function ul(){const t=cl();return{scrollTop:t.scrollTop,scrollLeft:t.scrollLeft,scrollWidth:t.scrollWidth,scrollHeight:t.scrollHeight}}function Yf(){const t=cl();return{clientTop:t.clientTop,clientLeft:t.clientLeft,clientWidth:t.clientWidth,clientHeight:t.clientHeight}}function Ji(){const{clientWidth:t,clientHeight:e}=Yf();return{width:t,height:e}}function Zf(t){const{top:e,left:o}=t.getBoundingClientRect(),n=ul();return{x:o+n.scrollLeft,y:e+n.scrollTop}}function Xf(t){if(t.pageX&&t.pageY)return{x:t.pageX,y:t.pageY};const e=ul();return{x:t.clientX+e.scrollLeft,y:t.clientY+e.scrollTop}}function ft(t,e){const o=Xf(e),n=Zf(t);return{x:o.x-n.x,y:o.y-n.y}}function dl(){return typeof window<"u"?window:typeof self<"u"?self:this||{}}function Jf(){const t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);if(t.indexOf("Trident/")>0){const i=t.indexOf("rv:");return parseInt(t.substring(i+3,t.indexOf(".",i)),10)}const n=t.indexOf("Edge/");return n>0?parseInt(t.substring(n+5,t.indexOf(".",n)),10):-1}const Qi=Jf()!==-1;(()=>{const t=dl();return!!(t.Worker&&t.Blob&&t.Promise&&t.OffscreenCanvas&&t.OffscreenCanvasRenderingContext2D&&t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype.transferControlToOffscreen&&t.URL&&t.URL.createObjectURL)})(),function(){if(!dl().OffscreenCanvas)return!1;var e=new OffscreenCanvas(1,1),o=e.getContext("2d");o.fillRect(0,0,1,1);var n=e.transferToImageBitmap();try{o.createPattern(n,"no-repeat")}catch{return!1}return!0}();function Qf(t){var e=document.documentElement,o=window.top===window.self?window.devicePixelRatio:1;e.dataset.dpr=o;var n=100,i=function(){var s=Math.min(e.clientWidth,t);e.dataset.width=s,e.dataset.rem=n=Math.round(100*(s/t)),e.style.fontSize=n+"px"};i(),window.rem2px=function(s){return s=parseFloat(s),s*n},window.px2rem=function(s){return s=parseFloat(s),s/n},window.addEventListener&&window.addEventListener("orientationchange"in window?"orientationchange":"resize",i,!1)}class q{static onDocumentReady(e){function o(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",o))}typeof document<"u"&&(document.addEventListener("DOMContentLoaded",o),o())}static getCSSVar(e){return getComputedStyle(document.documentElement).getPropertyValue(e)}static setCSSVar(e,o){document.documentElement.style.setProperty(e,o)}static safeExec(e){const o=new Proxy(window,{get(n,i,s){if(typeof i=="string"&&["open","location","document"].includes(i))throw new Error(`禁止访问 key: ${i}`);return i==="window"?o:Reflect.get(n,i,s)},set(n,i,s,r){return Reflect.set(n,i,s,r)}});new Function("window",`with(window) { ${e} }`)(o,null)}static dom=new Proxy({},{get(e,o){return function(n={},...i){const s=document.createElement(o);for(const r of Object.keys(n))s.setAttribute(r,n[r]);for(const r of i)typeof r=="string"?s.appendChild(document.createTextNode(r)):s.appendChild(r);return s}}});static compileTemplate(e){return e=e.replace(/<%=(.+?)%>/g,"`); \n echo( $1 ); \n echo(`").replace(/<%([\s\S]+?)%>/g,"`); \n $1 \n echo(`"),e="echo(`"+e+"`);",`(function parse(data){
40
+ `.replace(/\s+/g,""),"u");break;case"mime-image":t=/^image\//;break;case"mime-video":t=/^video\//;break;case"mime-audio":t=/^audio\//;break;case"mime-document-word":t=/^application\/(?:vnd\.openxmlformats-officedocument\.wordprocessingml\.document|msword|vnd\.ms-word\.document\.macroenabled\.12|vnd\.openxmlformats-officedocument\.wordprocessingml\.template|vnd\.ms-word\.template\.macroenabled\.12)$/;break;case"mime-document-excel":t=/^application\/(?:vnd\.openxmlformats-officedocument\.spreadsheetml\.sheet|vnd\.ms-excel|vnd\.ms-excel\.sheet\.macroenabled\.12|vnd\.openxmlformats-officedocument\.spreadsheetml\.template|vnd\.ms-excel\.template\.macroenabled\.12)$/;break;case"mime-document-ppt":t=/^application\/(?:vnd\.ms-powerpoint|vnd\.openxmlformats-officedocument\.presentationml\.presentation|vnd\.ms-powerpoint\.presentation\.macroenabled\.12|vnd\.openxmlformats-officedocument\.presentationml\.template|vnd\.ms-powerpoint\.template\.macroenabled\.12)$/;break;case"mime-document-json":t=/^application\/json$/;break;case"mime-document-xml":t=/^(?:application|text)\/(?:xml|xhtml\+xml)$/;break}return t};function yu(e){const t={matchIndex:-1,fullMatch:null,groupMatchs:[]};if(e){t.matchIndex=typeof e.index=="number"?e.index:-1;for(let n=0,i=e.length;n<i;n++)n==0?t.fullMatch=e[n]:t.groupMatchs.push(e[n])}return t}const I0=(e,t)=>{typeof e=="string"&&(e=vu(e)||new RegExp(e));const n=t.match(e);return yu(n)},_u=(e,t)=>{typeof e=="string"&&(e=vu(e)||new RegExp(e));const n=[],i=t.matchAll(e);for(const r of i)n.push(yu(r));return n};function xu(e){return e.replace(/(^\w|[_-]\w)/g,function(t){return t.slice(-1).toUpperCase()})}const M0=(e,t="")=>(e=e.replace(/\[data-v-[0-9a-zA-Z]*\]/g,t),e);function A0(e){const t=typeof e;return t!=="object"?t:Object.prototype.toString.call(e).replace(/^\[object (\S+)\]$/,"$1").toLowerCase()}function D0(e){return A0(e)==="object"}function bu(e,t=new WeakMap){if(e==null)return e;if(e.constructor===Date)return new Date(e);if(e.constructor===RegExp)return new RegExp(e);if(typeof e!="object")return e;if(t.has(e))return t.get(e);const n=Object.getOwnPropertyDescriptors(e),i=Object.create(Object.getPrototypeOf(e),n);t.set(e,i);for(const r of Reflect.ownKeys(e))i[r]=D0(e[r])?bu(e[r],t):e[r];return i}function wu(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&delete e[n];return e}function Dr(e,t){const n=e.length,i=t.length;for(let s=0;s<i;s++)e[s]=t[s];let r=Math.max(0,n-i);for(;r>0;)e.pop(),r--}function va(e,t,n=Number.EPSILON*Math.pow(2,2)){return Math.abs(e-t)<n}function Eu(e,t=12){return+e.toPrecision(t)}function Lr(e){const t=I0("number",e);return{number:t.fullMatch?parseFloat(t.fullMatch):0,suffix:t.fullMatch?e.substring(t.matchIndex+t.fullMatch.length+1):""}}class Rs{queue=[];results=[];rs;controller;concurrency;activeTaskCount=0;constructor(t=1){this.concurrency=t,this.rs=new ReadableStream({start:async n=>{this.controller=n}})}get readableStream(){return this.rs}addTask(t){Array.isArray(t)?this.queue.push(...t):this.queue.push(t),this.activeTaskCount<this.concurrency&&this.queue.length>0&&this.runTasks()}async runTasks(){for(;this.activeTaskCount<this.concurrency&&this.queue.length>0;){const t=this.queue.splice(0,this.concurrency-this.activeTaskCount);this.activeTaskCount+=t.length;const n=await Promise.allSettled(t.map(i=>i()));this.results.push(...n),n.forEach(i=>{i.status=="fulfilled"?this.controller?.enqueue(i.value):i.status=="rejected"&&this.controller?.enqueue(new Error(i.reason))}),this.activeTaskCount-=n.length}}}var L0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ya(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Cu={exports:{}},Gi=typeof Reflect=="object"?Reflect:null,Tu=Gi&&typeof Gi.apply=="function"?Gi.apply:function(t,n,i){return Function.prototype.apply.call(t,n,i)},Fs;Gi&&typeof Gi.ownKeys=="function"?Fs=Gi.ownKeys:Object.getOwnPropertySymbols?Fs=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Fs=function(t){return Object.getOwnPropertyNames(t)};function R0(e){console&&console.warn&&console.warn(e)}var ku=Number.isNaN||function(t){return t!==t};function ve(){ve.init.call(this)}Cu.exports=ve,Cu.exports.once=z0,ve.EventEmitter=ve,ve.prototype._events=void 0,ve.prototype._eventsCount=0,ve.prototype._maxListeners=void 0;var Su=10;function $s(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(ve,"defaultMaxListeners",{enumerable:!0,get:function(){return Su},set:function(e){if(typeof e!="number"||e<0||ku(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");Su=e}}),ve.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},ve.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||ku(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this};function Nu(e){return e._maxListeners===void 0?ve.defaultMaxListeners:e._maxListeners}ve.prototype.getMaxListeners=function(){return Nu(this)},ve.prototype.emit=function(t){for(var n=[],i=1;i<arguments.length;i++)n.push(arguments[i]);var r=t==="error",s=this._events;if(s!==void 0)r=r&&s.error===void 0;else if(!r)return!1;if(r){var o;if(n.length>0&&(o=n[0]),o instanceof Error)throw o;var a=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw a.context=o,a}var l=s[t];if(l===void 0)return!1;if(typeof l=="function")Tu(l,this,n);else for(var f=l.length,p=Au(l,f),i=0;i<f;++i)Tu(p[i],this,n);return!0};function Pu(e,t,n,i){var r,s,o;if($s(n),s=e._events,s===void 0?(s=e._events=Object.create(null),e._eventsCount=0):(s.newListener!==void 0&&(e.emit("newListener",t,n.listener?n.listener:n),s=e._events),o=s[t]),o===void 0)o=s[t]=n,++e._eventsCount;else if(typeof o=="function"?o=s[t]=i?[n,o]:[o,n]:i?o.unshift(n):o.push(n),r=Nu(e),r>0&&o.length>r&&!o.warned){o.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=e,a.type=t,a.count=o.length,R0(a)}return e}ve.prototype.addListener=function(t,n){return Pu(this,t,n,!1)},ve.prototype.on=ve.prototype.addListener,ve.prototype.prependListener=function(t,n){return Pu(this,t,n,!0)};function F0(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function Ou(e,t,n){var i={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},r=F0.bind(i);return r.listener=n,i.wrapFn=r,r}ve.prototype.once=function(t,n){return $s(n),this.on(t,Ou(this,t,n)),this},ve.prototype.prependOnceListener=function(t,n){return $s(n),this.prependListener(t,Ou(this,t,n)),this},ve.prototype.removeListener=function(t,n){var i,r,s,o,a;if($s(n),r=this._events,r===void 0)return this;if(i=r[t],i===void 0)return this;if(i===n||i.listener===n)--this._eventsCount===0?this._events=Object.create(null):(delete r[t],r.removeListener&&this.emit("removeListener",t,i.listener||n));else if(typeof i!="function"){for(s=-1,o=i.length-1;o>=0;o--)if(i[o]===n||i[o].listener===n){a=i[o].listener,s=o;break}if(s<0)return this;s===0?i.shift():$0(i,s),i.length===1&&(r[t]=i[0]),r.removeListener!==void 0&&this.emit("removeListener",t,a||n)}return this},ve.prototype.off=ve.prototype.removeListener,ve.prototype.removeAllListeners=function(t){var n,i,r;if(i=this._events,i===void 0)return this;if(i.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):i[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete i[t]),this;if(arguments.length===0){var s=Object.keys(i),o;for(r=0;r<s.length;++r)o=s[r],o!=="removeListener"&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(n=i[t],typeof n=="function")this.removeListener(t,n);else if(n!==void 0)for(r=n.length-1;r>=0;r--)this.removeListener(t,n[r]);return this};function Iu(e,t,n){var i=e._events;if(i===void 0)return[];var r=i[t];return r===void 0?[]:typeof r=="function"?n?[r.listener||r]:[r]:n?V0(r):Au(r,r.length)}ve.prototype.listeners=function(t){return Iu(this,t,!0)},ve.prototype.rawListeners=function(t){return Iu(this,t,!1)},ve.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):Mu.call(e,t)},ve.prototype.listenerCount=Mu;function Mu(e){var t=this._events;if(t!==void 0){var n=t[e];if(typeof n=="function")return 1;if(n!==void 0)return n.length}return 0}ve.prototype.eventNames=function(){return this._eventsCount>0?Fs(this._events):[]};function Au(e,t){for(var n=new Array(t),i=0;i<t;++i)n[i]=e[i];return n}function $0(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function V0(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}function z0(e,t){return new Promise(function(n,i){function r(o){e.removeListener(t,s),i(o)}function s(){typeof e.removeListener=="function"&&e.removeListener("error",r),n([].slice.call(arguments))}Du(e,t,s,{once:!0}),t!=="error"&&B0(e,r,{once:!0})})}function B0(e,t,n){typeof e.on=="function"&&Du(e,"error",t,n)}function Du(e,t,n,i){if(typeof e.on=="function")i.once?e.once(t,n):e.on(t,n);else if(typeof e.addEventListener=="function")e.addEventListener(t,function r(s){i.once&&e.removeEventListener(t,r),n(s)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}class G0{events;constructor(){this.events={}}on(t,n){this.events[t]||(this.events[t]=[]),this.events[t].push(n)}addListener(t,n){this.on(t,n)}prependListener(t,n){this.events[t]||(this.events[t]=[]),this.events[t].unshift(n)}removeListener(t,n){this.events[t]&&(this.events[t]=this.events[t].filter(i=>i!==n))}off(t,n){this.removeListener(t,n)}removeAllListeners(t){t?this.events[t]=[]:this.events={}}emit(t,...n){this.events[t]&&this.events[t].forEach(i=>{Reflect.apply(i,this,n)})}once(t,n){const r=(()=>{let s=!1;return(...o)=>{s||(s=!0,Reflect.apply(n,this,o),this.off(t,r))}})();this.on(t,r)}}var Lu=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;function j0(e,t={}){var n=1,i=1;function r(F){var at=F.match(/\n/g);at&&(n+=at.length);var k=F.lastIndexOf(`
41
+ `);i=~k?F.length-k:i+F.length}function s(){var F={line:n,column:i};return function(at){return at.position=new o(F),N(),at}}function o(F){this.start=F,this.end={line:n,column:i},this.source=t.source}o.prototype.content=e;var a=[];function l(F){var at=new Error(t.source+":"+n+":"+i+": "+F);if(at.reason=F,at.filename=t.source,at.line=n,at.column=i,at.source=e,t.silent)a.push(at);else throw at}function f(){var F=y();return{type:"stylesheet",stylesheet:{source:t.source,rules:F,parsingErrors:a}}}function p(){return _(/^{\s*/)}function m(){return _(/^}/)}function y(){var F,at=[];for(N(),C(at);e.length&&e.charAt(0)!="}"&&(F=U()||tt());)F!==!1&&(at.push(F),C(at));return at}function _(F){var at=F.exec(e);if(at){var k=at[0];return r(k),e=e.slice(k.length),at}}function N(){_(/^\s*/)}function C(F){var at;for(F=F||[];at=A();)at!==!1&&F.push(at);return F}function A(){var F=s();if(!(e.charAt(0)!="/"||e.charAt(1)!="*")){for(var at=2;e.charAt(at)!=""&&(e.charAt(at)!="*"||e.charAt(at+1)!="/");)++at;if(at+=2,e.charAt(at-1)==="")return l("End of comment missing");var k=e.slice(2,at-2);return i+=2,r(k),e=e.slice(at),i+=2,F({type:"comment",comment:k})}}function V(){var F=_(/^([^{]+)/);if(F)return Fn(F[0]).replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,function(at){return at.replace(/,/g,"‌")}).split(/\s*(?![^(]*\)),\s*/).map(function(at){return at.replace(/\u200C/g,",")})}function I(){var F=s(),at=_(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(at){if(at=Fn(at[0]),!_(/^:\s*/))return l("property missing ':'");var k=_(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),w=F({type:"declaration",property:at.replace(Lu,""),value:k?Fn(k[0]).replace(Lu,""):""});return _(/^[;\s]*/),w}}function M(){var F=[];if(!p())return l("missing '{'");C(F);for(var at;at=I();)at!==!1&&(F.push(at),C(F));return m()?F:l("missing '}'")}function j(){for(var F,at=[],k=s();F=_(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)at.push(F[1]),_(/^,\s*/);if(at.length)return k({type:"keyframe",values:at,declarations:M()})}function q(){var F=s(),at=_(/^@([-\w]+)?keyframes\s*/);if(at){var k=at[1];if(at=_(/^([-\w]+)\s*/),!at)return l("@keyframes missing name");var w=at[1];if(!p())return l("@keyframes missing '{'");for(var x,O=C();x=j();)O.push(x),O=O.concat(C());return m()?F({type:"keyframes",name:w,vendor:k,keyframes:O}):l("@keyframes missing '}'")}}function X(){var F=s(),at=_(/^@supports *([^{]+)/);if(at){var k=Fn(at[1]);if(!p())return l("@supports missing '{'");var w=C().concat(y());return m()?F({type:"supports",supports:k,rules:w}):l("@supports missing '}'")}}function $(){var F=s(),at=_(/^@host\s*/);if(at){if(!p())return l("@host missing '{'");var k=C().concat(y());return m()?F({type:"host",rules:k}):l("@host missing '}'")}}function dt(){var F=s(),at=_(/^@media *([^{]+)/);if(at){var k=Fn(at[1]);if(!p())return l("@media missing '{'");var w=C().concat(y());return m()?F({type:"media",media:k,rules:w}):l("@media missing '}'")}}function xt(){var F=s(),at=_(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(at)return F({type:"custom-media",name:Fn(at[1]),media:Fn(at[2])})}function It(){var F=s(),at=_(/^@page */);if(at){var k=V()||[];if(!p())return l("@page missing '{'");for(var w=C(),x;x=I();)w.push(x),w=w.concat(C());return m()?F({type:"page",selectors:k,declarations:w}):l("@page missing '}'")}}function Pt(){var F=s(),at=_(/^@([-\w]+)?document *([^{]+)/);if(at){var k=Fn(at[1]),w=Fn(at[2]);if(!p())return l("@document missing '{'");var x=C().concat(y());return m()?F({type:"document",document:w,vendor:k,rules:x}):l("@document missing '}'")}}function bt(){var F=s(),at=_(/^@font-face\s*/);if(at){if(!p())return l("@font-face missing '{'");for(var k=C(),w;w=I();)k.push(w),k=k.concat(C());return m()?F({type:"font-face",declarations:k}):l("@font-face missing '}'")}}var Rt=rt("import"),Ot=rt("charset"),wt=rt("namespace");function rt(F){var at=new RegExp("^@"+F+"\\s*([^;]+);");return function(){var k=s(),w=_(at);if(w){var x={type:F};return x[F]=w[1].trim(),k(x)}}}function U(){if(e[0]=="@")return q()||dt()||xt()||X()||Rt()||Ot()||wt()||Pt()||It()||$()||bt()}function tt(){var F=s(),at=V();return at?(C(),F({type:"rule",selectors:at,declarations:M()})):l("selector missing")}return _a(f())}function Fn(e){return e?e.replace(/^\s+|\s+$/g,""):""}function _a(e,t){var n=e&&typeof e.type=="string",i=n?e:t;for(var r in e){var s=e[r];Array.isArray(s)?s.forEach(function(o){_a(o,i)}):s&&typeof s=="object"&&_a(s,i)}return n&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}const Rr=/^[a-z0-9]+(-[a-z0-9]+)*$/,Vs=(e,t,n,i="")=>{const r=e.split(":");if(e.slice(0,1)==="@"){if(r.length<2||r.length>3)return null;i=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const a=r.pop(),l=r.pop(),f={provider:r.length>0?r[0]:i,prefix:l,name:a};return t&&!zs(f)?null:f}const s=r[0],o=s.split("-");if(o.length>1){const a={provider:i,prefix:o.shift(),name:o.join("-")};return t&&!zs(a)?null:a}if(n&&i===""){const a={provider:i,prefix:"",name:s};return t&&!zs(a,n)?null:a}return null},zs=(e,t)=>e?!!((e.provider===""||e.provider.match(Rr))&&(t&&e.prefix===""||e.prefix.match(Rr))&&e.name.match(Rr)):!1,Ru=Object.freeze({left:0,top:0,width:16,height:16}),Bs=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Gs=Object.freeze({...Ru,...Bs}),xa=Object.freeze({...Gs,body:"",hidden:!1});function H0(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const i=((e.rotate||0)+(t.rotate||0))%4;return i&&(n.rotate=i),n}function Fu(e,t){const n=H0(e,t);for(const i in xa)i in Bs?i in e&&!(i in n)&&(n[i]=Bs[i]):i in t?n[i]=t[i]:i in e&&(n[i]=e[i]);return n}function U0(e,t){const n=e.icons,i=e.aliases||Object.create(null),r=Object.create(null);function s(o){if(n[o])return r[o]=[];if(!(o in r)){r[o]=null;const a=i[o]&&i[o].parent,l=a&&s(a);l&&(r[o]=[a].concat(l))}return r[o]}return(t||Object.keys(n).concat(Object.keys(i))).forEach(s),r}function W0(e,t,n){const i=e.icons,r=e.aliases||Object.create(null);let s={};function o(a){s=Fu(i[a]||r[a],s)}return o(t),n.forEach(o),Fu(e,s)}function $u(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(r=>{t(r,null),n.push(r)});const i=U0(e);for(const r in i){const s=i[r];s&&(t(r,W0(e,r,s)),n.push(r))}return n}const q0={provider:"",aliases:{},not_found:{},...Ru};function ba(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Vu(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!ba(e,q0))return null;const n=t.icons;for(const r in n){const s=n[r];if(!r.match(Rr)||typeof s.body!="string"||!ba(s,xa))return null}const i=t.aliases||Object.create(null);for(const r in i){const s=i[r],o=s.parent;if(!r.match(Rr)||typeof o!="string"||!n[o]&&!i[o]||!ba(s,xa))return null}return t}const zu=Object.create(null);function Y0(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function ki(e,t){const n=zu[e]||(zu[e]=Object.create(null));return n[t]||(n[t]=Y0(e,t))}function wa(e,t){return Vu(t)?$u(t,(n,i)=>{i?e.icons[n]=i:e.missing.add(n)}):[]}function X0(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Fr=!1;function Bu(e){return typeof e=="boolean"&&(Fr=e),Fr}function K0(e){const t=typeof e=="string"?Vs(e,!0,Fr):e;if(t){const n=ki(t.provider,t.prefix),i=t.name;return n.icons[i]||(n.missing.has(i)?null:void 0)}}function Z0(e,t){const n=Vs(e,!0,Fr);if(!n)return!1;const i=ki(n.provider,n.prefix);return X0(i,n.name,t)}function Q0(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Fr&&!t&&!e.prefix){let r=!1;return Vu(e)&&(e.prefix="",$u(e,(s,o)=>{o&&Z0(s,o)&&(r=!0)})),r}const n=e.prefix;if(!zs({provider:t,prefix:n,name:"a"}))return!1;const i=ki(t,n);return!!wa(i,e)}const Gu=Object.freeze({width:null,height:null}),ju=Object.freeze({...Gu,...Bs}),J0=/(-?[0-9.]*[0-9]+[0-9.]*)/g,tm=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Hu(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const i=e.split(J0);if(i===null||!i.length)return e;const r=[];let s=i.shift(),o=tm.test(s);for(;;){if(o){const a=parseFloat(s);isNaN(a)?r.push(s):r.push(Math.ceil(a*t*n)/n)}else r.push(s);if(s=i.shift(),s===void 0)return r.join("");o=!o}}function em(e,t="defs"){let n="";const i=e.indexOf("<"+t);for(;i>=0;){const r=e.indexOf(">",i),s=e.indexOf("</"+t);if(r===-1||s===-1)break;const o=e.indexOf(">",s);if(o===-1)break;n+=e.slice(r+1,s).trim(),e=e.slice(0,i).trim()+e.slice(o+1)}return{defs:n,content:e}}function nm(e,t){return e?"<defs>"+e+"</defs>"+t:t}function im(e,t,n){const i=em(e);return nm(i.defs,t+i.content+n)}const rm=e=>e==="unset"||e==="undefined"||e==="none";function sm(e,t){const n={...Gs,...e},i={...ju,...t},r={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,i].forEach(C=>{const A=[],V=C.hFlip,I=C.vFlip;let M=C.rotate;V?I?M+=2:(A.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),A.push("scale(-1 1)"),r.top=r.left=0):I&&(A.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),A.push("scale(1 -1)"),r.top=r.left=0);let j;switch(M<0&&(M-=Math.floor(M/4)*4),M=M%4,M){case 1:j=r.height/2+r.top,A.unshift("rotate(90 "+j.toString()+" "+j.toString()+")");break;case 2:A.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:j=r.width/2+r.left,A.unshift("rotate(-90 "+j.toString()+" "+j.toString()+")");break}M%2===1&&(r.left!==r.top&&(j=r.left,r.left=r.top,r.top=j),r.width!==r.height&&(j=r.width,r.width=r.height,r.height=j)),A.length&&(s=im(s,'<g transform="'+A.join(" ")+'">',"</g>"))});const o=i.width,a=i.height,l=r.width,f=r.height;let p,m;o===null?(m=a===null?"1em":a==="auto"?f:a,p=Hu(m,l/f)):(p=o==="auto"?l:o,m=a===null?Hu(p,f/l):a==="auto"?f:a);const y={},_=(C,A)=>{rm(A)||(y[C]=A.toString())};_("width",p),_("height",m);const N=[r.left,r.top,l,f];return y.viewBox=N.join(" "),{attributes:y,viewBox:N,body:s}}const om=/\sid="(\S+)"/g,am="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let lm=0;function cm(e,t=am){const n=[];let i;for(;i=om.exec(e);)n.push(i[1]);if(!n.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(s=>{const o=typeof t=="function"?t(s):t+(lm++).toString(),a=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+o+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const Ea=Object.create(null);function um(e,t){Ea[e]=t}function Ca(e){return Ea[e]||Ea[""]}function Ta(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const ka=Object.create(null),$r=["https://api.simplesvg.com","https://api.unisvg.com"],js=[];for(;$r.length>0;)$r.length===1||Math.random()>.5?js.push($r.shift()):js.push($r.pop());ka[""]=Ta({resources:["https://api.iconify.design"].concat(js)});function hm(e,t){const n=Ta(t);return n===null?!1:(ka[e]=n,!0)}function Sa(e){return ka[e]}let Uu=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function fm(e,t){const n=Sa(e);if(!n)return 0;let i;if(!n.maxURL)i=0;else{let r=0;n.resources.forEach(o=>{r=Math.max(r,o.length)});const s=t+".json?icons=";i=n.maxURL-r-n.path.length-s.length}return i}function dm(e){return e===404}const pm=(e,t,n)=>{const i=[],r=fm(e,t),s="icons";let o={type:s,provider:e,prefix:t,icons:[]},a=0;return n.forEach((l,f)=>{a+=l.length+1,a>=r&&f>0&&(i.push(o),o={type:s,provider:e,prefix:t,icons:[]},a=l.length),o.icons.push(l)}),i.push(o),i};function mm(e){if(typeof e=="string"){const t=Sa(e);if(t)return t.path}return"/"}const gm={prepare:pm,send:(e,t,n)=>{if(!Uu){n("abort",424);return}let i=mm(t.provider);switch(t.type){case"icons":{const s=t.prefix,a=t.icons.join(","),l=new URLSearchParams({icons:a});i+=s+".json?"+l.toString();break}case"custom":{const s=t.uri;i+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let r=503;Uu(e+i).then(s=>{const o=s.status;if(o!==200){setTimeout(()=>{n(dm(o)?"abort":"next",o)});return}return r=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",r)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",r)})}};function vm(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((r,s)=>r.provider!==s.provider?r.provider.localeCompare(s.provider):r.prefix!==s.prefix?r.prefix.localeCompare(s.prefix):r.name.localeCompare(s.name));let i={provider:"",prefix:"",name:""};return e.forEach(r=>{if(i.name===r.name&&i.prefix===r.prefix&&i.provider===r.provider)return;i=r;const s=r.provider,o=r.prefix,a=r.name,l=n[s]||(n[s]=Object.create(null)),f=l[o]||(l[o]=ki(s,o));let p;a in f.icons?p=t.loaded:o===""||f.missing.has(a)?p=t.missing:p=t.pending;const m={provider:s,prefix:o,name:a};p.push(m)}),t}function Wu(e,t){e.forEach(n=>{const i=n.loaderCallbacks;i&&(n.loaderCallbacks=i.filter(r=>r.id!==t))})}function ym(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const i=e.provider,r=e.prefix;t.forEach(s=>{const o=s.icons,a=o.pending.length;o.pending=o.pending.filter(l=>{if(l.prefix!==r)return!0;const f=l.name;if(e.icons[f])o.loaded.push({provider:i,prefix:r,name:f});else if(e.missing.has(f))o.missing.push({provider:i,prefix:r,name:f});else return n=!0,!0;return!1}),o.pending.length!==a&&(n||Wu([e],s.id),s.callback(o.loaded.slice(0),o.missing.slice(0),o.pending.slice(0),s.abort))})}))}let _m=0;function xm(e,t,n){const i=_m++,r=Wu.bind(null,n,i);if(!t.pending.length)return r;const s={id:i,icons:t,callback:e,abort:r};return n.forEach(o=>{(o.loaderCallbacks||(o.loaderCallbacks=[])).push(s)}),r}function bm(e,t=!0,n=!1){const i=[];return e.forEach(r=>{const s=typeof r=="string"?Vs(r,t,n):r;s&&i.push(s)}),i}var wm={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Em(e,t,n,i){const r=e.resources.length,s=e.random?Math.floor(Math.random()*r):e.index;let o;if(e.random){let X=e.resources.slice(0);for(o=[];X.length>1;){const $=Math.floor(Math.random()*X.length);o.push(X[$]),X=X.slice(0,$).concat(X.slice($+1))}o=o.concat(X)}else o=e.resources.slice(s).concat(e.resources.slice(0,s));const a=Date.now();let l="pending",f=0,p,m=null,y=[],_=[];typeof i=="function"&&_.push(i);function N(){m&&(clearTimeout(m),m=null)}function C(){l==="pending"&&(l="aborted"),N(),y.forEach(X=>{X.status==="pending"&&(X.status="aborted")}),y=[]}function A(X,$){$&&(_=[]),typeof X=="function"&&_.push(X)}function V(){return{startTime:a,payload:t,status:l,queriesSent:f,queriesPending:y.length,subscribe:A,abort:C}}function I(){l="failed",_.forEach(X=>{X(void 0,p)})}function M(){y.forEach(X=>{X.status==="pending"&&(X.status="aborted")}),y=[]}function j(X,$,dt){const xt=$!=="success";switch(y=y.filter(It=>It!==X),l){case"pending":break;case"failed":if(xt||!e.dataAfterTimeout)return;break;default:return}if($==="abort"){p=dt,I();return}if(xt){p=dt,y.length||(o.length?q():I());return}if(N(),M(),!e.random){const It=e.resources.indexOf(X.resource);It!==-1&&It!==e.index&&(e.index=It)}l="completed",_.forEach(It=>{It(dt)})}function q(){if(l!=="pending")return;N();const X=o.shift();if(X===void 0){if(y.length){m=setTimeout(()=>{N(),l==="pending"&&(M(),I())},e.timeout);return}I();return}const $={status:"pending",resource:X,callback:(dt,xt)=>{j($,dt,xt)}};y.push($),f++,m=setTimeout(q,e.rotate),n(X,t,$.callback)}return setTimeout(q),V}function qu(e){const t={...wm,...e};let n=[];function i(){n=n.filter(a=>a().status==="pending")}function r(a,l,f){const p=Em(t,a,l,(m,y)=>{i(),f&&f(m,y)});return n.push(p),p}function s(a){return n.find(l=>a(l))||null}return{query:r,find:s,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:i}}function Yu(){}const Na=Object.create(null);function Cm(e){if(!Na[e]){const t=Sa(e);if(!t)return;const n=qu(t),i={config:t,redundancy:n};Na[e]=i}return Na[e]}function Tm(e,t,n){let i,r;if(typeof e=="string"){const s=Ca(e);if(!s)return n(void 0,424),Yu;r=s.send;const o=Cm(e);o&&(i=o.redundancy)}else{const s=Ta(e);if(s){i=qu(s);const o=e.resources?e.resources[0]:"",a=Ca(o);a&&(r=a.send)}}return!i||!r?(n(void 0,424),Yu):i.query(t,r,n)().abort}const Xu="iconify2",Vr="iconify",Ku=Vr+"-count",Zu=Vr+"-version",Qu=36e5,km=168,Sm=50;function Pa(e,t){try{return e.getItem(t)}catch{}}function Oa(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Ju(e,t){try{e.removeItem(t)}catch{}}function Ia(e,t){return Oa(e,Ku,t.toString())}function Ma(e){return parseInt(Pa(e,Ku))||0}const Hs={local:!0,session:!0},th={local:new Set,session:new Set};let Aa=!1;function Nm(e){Aa=e}let Us=typeof window>"u"?{}:window;function eh(e){const t=e+"Storage";try{if(Us&&Us[t]&&typeof Us[t].length=="number")return Us[t]}catch{}Hs[e]=!1}function nh(e,t){const n=eh(e);if(!n)return;const i=Pa(n,Zu);if(i!==Xu){if(i){const a=Ma(n);for(let l=0;l<a;l++)Ju(n,Vr+l.toString())}Oa(n,Zu,Xu),Ia(n,0);return}const r=Math.floor(Date.now()/Qu)-km,s=a=>{const l=Vr+a.toString(),f=Pa(n,l);if(typeof f=="string"){try{const p=JSON.parse(f);if(typeof p=="object"&&typeof p.cached=="number"&&p.cached>r&&typeof p.provider=="string"&&typeof p.data=="object"&&typeof p.data.prefix=="string"&&t(p,a))return!0}catch{}Ju(n,l)}};let o=Ma(n);for(let a=o-1;a>=0;a--)s(a)||(a===o-1?(o--,Ia(n,o)):th[e].add(a))}function ih(){if(!Aa){Nm(!0);for(const e in Hs)nh(e,t=>{const n=t.data,i=t.provider,r=n.prefix,s=ki(i,r);if(!wa(s,n).length)return!1;const o=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,o):o,!0})}}function Pm(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const i in Hs)nh(i,r=>{const s=r.data;return r.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function Om(e,t){Aa||ih();function n(i){let r;if(!Hs[i]||!(r=eh(i)))return;const s=th[i];let o;if(s.size)s.delete(o=Array.from(s).shift());else if(o=Ma(r),o>=Sm||!Ia(r,o+1))return;const a={cached:Math.floor(Date.now()/Qu),provider:e.provider,data:t};return Oa(r,Vr+o.toString(),JSON.stringify(a))}t.lastModified&&!Pm(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function rh(){}function Im(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,ym(e)}))}function Mm(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:i}=e,r=e.iconsToLoad;delete e.iconsToLoad;let s;if(!r||!(s=Ca(n)))return;s.prepare(n,i,r).forEach(a=>{Tm(n,a,l=>{if(typeof l!="object")a.icons.forEach(f=>{e.missing.add(f)});else try{const f=wa(e,l);if(!f.length)return;const p=e.pendingIcons;p&&f.forEach(m=>{p.delete(m)}),Om(e,l)}catch(f){console.error(f)}Im(e)})})}))}const Am=(e,t)=>{const n=bm(e,!0,Bu()),i=vm(n);if(!i.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(i.loaded,i.missing,i.pending,rh)}),()=>{l=!1}}const r=Object.create(null),s=[];let o,a;return i.pending.forEach(l=>{const{provider:f,prefix:p}=l;if(p===a&&f===o)return;o=f,a=p,s.push(ki(f,p));const m=r[f]||(r[f]=Object.create(null));m[p]||(m[p]=[])}),i.pending.forEach(l=>{const{provider:f,prefix:p,name:m}=l,y=ki(f,p),_=y.pendingIcons||(y.pendingIcons=new Set);_.has(m)||(_.add(m),r[f][p].push(m))}),s.forEach(l=>{const{provider:f,prefix:p}=l;r[f][p].length&&Mm(l,r[f][p])}),t?xm(t,i,s):rh};function Dm(e,t){const n={...e};for(const i in t){const r=t[i],s=typeof r;i in Gu?(r===null||r&&(s==="string"||s==="number"))&&(n[i]=r):s===typeof n[i]&&(n[i]=i==="rotate"?r%4:r)}return n}const Lm=/[\s,]+/;function Rm(e,t){t.split(Lm).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function Fm(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function i(r){for(;r<0;)r+=4;return r%4}if(n===""){const r=parseInt(e);return isNaN(r)?0:i(r)}else if(n!==e){let r=0;switch(n){case"%":r=25;break;case"deg":r=90}if(r){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/r,s%1===0?i(s):0)}}return t}function $m(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const i in t)n+=" "+i+'="'+t[i]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function Vm(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function zm(e){return"data:image/svg+xml,"+Vm(e)}function Bm(e){return'url("'+zm(e)+'")'}const sh={...ju,inline:!1},Gm={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},jm={display:"inline-block"},Da={backgroundColor:"currentColor"},oh={backgroundColor:"transparent"},ah={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},lh={webkitMask:Da,mask:Da,background:oh};for(const e in lh){const t=lh[e];for(const n in ah)t[e+n]=ah[n]}const Ws={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Ws[e+"-flip"]=t,Ws[e.slice(0,1)+"-flip"]=t,Ws[e+"Flip"]=t});function ch(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const uh=(e,t)=>{const n=Dm(sh,t),i={...Gm},r=t.mode||"svg",s={},o=t.style,a=typeof o=="object"&&!(o instanceof Array)?o:{};for(let C in t){const A=t[C];if(A!==void 0)switch(C){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[C]=A===!0||A==="true"||A===1;break;case"flip":typeof A=="string"&&Rm(n,A);break;case"color":s.color=A;break;case"rotate":typeof A=="string"?n[C]=Fm(A):typeof A=="number"&&(n[C]=A);break;case"ariaHidden":case"aria-hidden":A!==!0&&A!=="true"&&delete i["aria-hidden"];break;default:{const V=Ws[C];V?(A===!0||A==="true"||A===1)&&(n[V]=!0):sh[C]===void 0&&(i[C]=A)}}}const l=sm(e,n),f=l.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),r==="svg"){i.style={...s,...a},Object.assign(i,f);let C=0,A=t.id;return typeof A=="string"&&(A=A.replace(/-/g,"_")),i.innerHTML=cm(l.body,A?()=>A+"ID"+C++:"iconifyVue"),ru("svg",i)}const{body:p,width:m,height:y}=e,_=r==="mask"||(r==="bg"?!1:p.indexOf("currentColor")!==-1),N=$m(p,{...f,width:m+"",height:y+""});return i.style={...s,"--svg":Bm(N),width:ch(f.width),height:ch(f.height),...jm,..._?Da:oh,...a},ru("span",i)};if(Bu(!0),um("",gm),typeof document<"u"&&typeof window<"u"){ih();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(i=>{try{(typeof i!="object"||i===null||i instanceof Array||typeof i.icons!="object"||typeof i.prefix!="string"||!Q0(i))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const i="IconifyProviders["+n+"] is invalid.";try{const r=t[n];if(typeof r!="object"||!r||r.resources===void 0)continue;hm(n,r)||console.error(i)}catch{console.error(i)}}}}const Hm={...Gs,body:""},hh=Bt({inheritAttrs:!1,data(){return{_name:"",_loadingIcon:null,iconMounted:!1,counter:0}},mounted(){this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=Vs(e,!1,!0))===null)return this.abortLoading(),null;const i=K0(n);if(!i)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",i!==null&&(this._loadingIcon={name:e,abort:Am([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const r=["iconify"];return n.prefix!==""&&r.push("iconify--"+n.prefix),n.provider!==""&&r.push("iconify--"+n.provider),{data:i,classes:r}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted||e.ssr?this.getIcon(e.icon,e.onLoad):null;if(!t)return uh(Hm,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),uh({...Gs,...t.data},n)}}),fh=(e,t="image/svg+xml",n="utf-8")=>new Blob([e],{type:`${t};charset=${n}`}),Um=e=>new XMLSerializer().serializeToString(e),Wm=(e,t="image/svg+xml",n="utf-8")=>fh(Um(e),t,n),dh=(e,t)=>{const n=document.createElement("a");n.style.visibility="hidden",document.body.appendChild(n),n.download=t,typeof e=="string"?n.href=e:n.href=window.URL.createObjectURL(e),n.click(),document.body.removeChild(n),window.URL.revokeObjectURL(n.href)};function qm(e=["*"],t){if(!globalThis.document||!(globalThis.document instanceof Document))throw new Error("This is not a browser environment");const n=globalThis.document.createElement("input");return n.setAttribute("type","file"),n.setAttribute("visibility","hidden"),Array.isArray(e)&&e.length>0&&n.setAttribute("accept",e.join(",")),t&&n.setAttribute("multiple","true"),n.click(),new Promise((i,r)=>{globalThis.addEventListener("focus",()=>{setTimeout(()=>{(!n.files||n.files?.length===0)&&r(new Error("Cancel select"))},1e3)},{once:!0}),n.addEventListener("change",()=>{if(!n.files||n.files?.length===0)r(new Error("Cancel select"));else{const s=Array.from(n.files);!e.includes("*")&&s.some(o=>!e.includes(`.${Xm(o)}`))&&r(new Error(`Please select files in ${e} format`)),i(s)}})})}function Ym(e,t="text",n){return new Promise((i,r)=>{const s=new FileReader;switch(s.addEventListener("progress",o=>{n?.(o.loaded,o.total)}),s.addEventListener("load",o=>{i(o.target?.result)}),s.addEventListener("error",o=>{r(o)}),t){case"dataURL":s.readAsDataURL(e);break;case"binaryString":s.readAsBinaryString(e);break;case"arrayBuffer":s.readAsArrayBuffer(e);break;default:s.readAsText(e)}})}const Xm=e=>{let t;return e instanceof File?t=e.name:t=e,t.match(/\.([0-9a-z]+)(?:[\\?#]|$)/i)?.[1]??""};function ph(){return document.compatMode=="BackCompat"?document.body:document.documentElement}function mh(){const e=ph();return{scrollTop:e.scrollTop,scrollLeft:e.scrollLeft,scrollWidth:e.scrollWidth,scrollHeight:e.scrollHeight}}function Km(){const e=ph();return{clientTop:e.clientTop,clientLeft:e.clientLeft,clientWidth:e.clientWidth,clientHeight:e.clientHeight}}function La(){const{clientWidth:e,clientHeight:t}=Km();return{width:e||window.innerWidth,height:t||window.innerHeight}}function Zm(e){const{top:t,left:n}=e.getBoundingClientRect(),i=mh();return{x:n+i.scrollLeft,y:t+i.scrollTop}}function Qm(e){if("center"in e)return e.center;if(e.pageX&&e.pageY)return{x:e.pageX,y:e.pageY};const t=mh();return{x:e.clientX+t.scrollLeft,y:e.clientY+t.scrollTop}}function Ra(e,t){const n=Qm(t),i=Zm(e);return{x:n.x-i.x,y:n.y-i.y}}function gh(){return typeof window<"u"?window:typeof self<"u"?self:this||{}}const Jm=()=>{const e=navigator.userAgent.toLowerCase();let t="Unknown";return/mac/i.test(e)?t="macOS":/win/i.test(e)?t="Windows":/android/i.test(e)?t="Android":/iphone|ipad|ipod/i.test(e)?t="iOS":/linux/i.test(e)?t="Linux":/bsd/i.test(e)&&(t="BSD"),t.toLowerCase()};function tg(){return Jm()==="macos"}function eg(){const e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);if(e.indexOf("Trident/")>0){const r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}const i=e.indexOf("Edge/");return i>0?parseInt(e.substring(i+5,e.indexOf(".",i)),10):-1}const Fa=eg()!==-1;(()=>{const e=gh();return!!(e.Worker&&e.Blob&&e.Promise&&e.OffscreenCanvas&&e.OffscreenCanvasRenderingContext2D&&e.HTMLCanvasElement&&e.HTMLCanvasElement.prototype.transferControlToOffscreen&&e.URL&&e.URL.createObjectURL)})(),function(){if(!gh().OffscreenCanvas)return!1;var t=new OffscreenCanvas(1,1),n=t.getContext("2d");n.fillRect(0,0,1,1);var i=t.transferToImageBitmap();try{n.createPattern(i,"no-repeat")}catch{return!1}return!0}();function ng(e){var t=document.documentElement,n=window.top===window.self?window.devicePixelRatio:1;t.dataset.dpr=n;var i=100,r=function(){var s=Math.min(t.clientWidth,e);t.dataset.width=s,t.dataset.rem=i=Math.round(100*(s/e)),t.style.fontSize=i+"px"};r(),window.rem2px=function(s){return s=parseFloat(s),s*i},window.px2rem=function(s){return s=parseFloat(s),s/i},window.addEventListener&&window.addEventListener("orientationchange"in window?"orientationchange":"resize",r,!1)}var vh={exports:{}};/*! Hammer.JS - v2.0.7 - 2016-04-22
42
+ * http://hammerjs.github.io/
43
+ *
44
+ * Copyright (c) 2016 Jorik Tangelder;
45
+ * Licensed under the MIT license */(function(e){(function(t,n,i,r){var s=["","webkit","Moz","MS","ms","o"],o=n.createElement("div"),a="function",l=Math.round,f=Math.abs,p=Date.now;function m(c,h,v){return setTimeout(M(c,v),h)}function y(c,h,v){return Array.isArray(c)?(_(c,v[h],v),!0):!1}function _(c,h,v){var b;if(c)if(c.forEach)c.forEach(h,v);else if(c.length!==r)for(b=0;b<c.length;)h.call(v,c[b],b,c),b++;else for(b in c)c.hasOwnProperty(b)&&h.call(v,c[b],b,c)}function N(c,h,v){var b="DEPRECATED METHOD: "+h+`
46
+ `+v+` AT
47
+ `;return function(){var E=new Error("get-stack-trace"),S=E&&E.stack?E.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",L=t.console&&(t.console.warn||t.console.log);return L&&L.call(t.console,b,S),c.apply(this,arguments)}}var C;typeof Object.assign!="function"?C=function(h){if(h===r||h===null)throw new TypeError("Cannot convert undefined or null to object");for(var v=Object(h),b=1;b<arguments.length;b++){var E=arguments[b];if(E!==r&&E!==null)for(var S in E)E.hasOwnProperty(S)&&(v[S]=E[S])}return v}:C=Object.assign;var A=N(function(h,v,b){for(var E=Object.keys(v),S=0;S<E.length;)(!b||b&&h[E[S]]===r)&&(h[E[S]]=v[E[S]]),S++;return h},"extend","Use `assign`."),V=N(function(h,v){return A(h,v,!0)},"merge","Use `assign`.");function I(c,h,v){var b=h.prototype,E;E=c.prototype=Object.create(b),E.constructor=c,E._super=b,v&&C(E,v)}function M(c,h){return function(){return c.apply(h,arguments)}}function j(c,h){return typeof c==a?c.apply(h&&h[0]||r,h):c}function q(c,h){return c===r?h:c}function X(c,h,v){_(It(h),function(b){c.addEventListener(b,v,!1)})}function $(c,h,v){_(It(h),function(b){c.removeEventListener(b,v,!1)})}function dt(c,h){for(;c;){if(c==h)return!0;c=c.parentNode}return!1}function xt(c,h){return c.indexOf(h)>-1}function It(c){return c.trim().split(/\s+/g)}function Pt(c,h,v){if(c.indexOf&&!v)return c.indexOf(h);for(var b=0;b<c.length;){if(v&&c[b][v]==h||!v&&c[b]===h)return b;b++}return-1}function bt(c){return Array.prototype.slice.call(c,0)}function Rt(c,h,v){for(var b=[],E=[],S=0;S<c.length;){var L=h?c[S][h]:c[S];Pt(E,L)<0&&b.push(c[S]),E[S]=L,S++}return v&&(h?b=b.sort(function(ot,Q){return ot[h]>Q[h]}):b=b.sort()),b}function Ot(c,h){for(var v,b,E=h[0].toUpperCase()+h.slice(1),S=0;S<s.length;){if(v=s[S],b=v?v+E:h,b in c)return b;S++}return r}var wt=1;function rt(){return wt++}function U(c){var h=c.ownerDocument||c;return h.defaultView||h.parentWindow||t}var tt=/mobile|tablet|ip(ad|hone|od)|android/i,F="ontouchstart"in t,at=Ot(t,"PointerEvent")!==r,k=F&&tt.test(navigator.userAgent),w="touch",x="pen",O="mouse",R="kinect",B=25,z=1,lt=2,H=4,ct=8,Ct=1,Mt=2,jt=4,P=8,D=16,G=Mt|jt,K=P|D,et=G|K,Z=["x","y"],_t=["clientX","clientY"];function st(c,h){var v=this;this.manager=c,this.callback=h,this.element=c.element,this.target=c.options.inputTarget,this.domHandler=function(b){j(c.options.enable,[c])&&v.handler(b)},this.init()}st.prototype={handler:function(){},init:function(){this.evEl&&X(this.element,this.evEl,this.domHandler),this.evTarget&&X(this.target,this.evTarget,this.domHandler),this.evWin&&X(U(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&$(this.element,this.evEl,this.domHandler),this.evTarget&&$(this.target,this.evTarget,this.domHandler),this.evWin&&$(U(this.element),this.evWin,this.domHandler)}};function vt(c){var h,v=c.options.inputClass;return v?h=v:at?h=cn:k?h=Gn:F?h=er:h=Te,new h(c,nt)}function nt(c,h,v){var b=v.pointers.length,E=v.changedPointers.length,S=h&z&&b-E===0,L=h&(H|ct)&&b-E===0;v.isFirst=!!S,v.isFinal=!!L,S&&(c.session={}),v.eventType=h,kt(c,v),c.emit("hammer.input",v),c.recognize(v),c.session.prevInput=v}function kt(c,h){var v=c.session,b=h.pointers,E=b.length;v.firstInput||(v.firstInput=Gt(h)),E>1&&!v.firstMultiple?v.firstMultiple=Gt(h):E===1&&(v.firstMultiple=!1);var S=v.firstInput,L=v.firstMultiple,W=L?L.center:S.center,ot=h.center=Wt(b);h.timeStamp=p(),h.deltaTime=h.timeStamp-S.timeStamp,h.angle=Ce(W,ot),h.distance=me(W,ot),At(v,h),h.offsetDirection=ce(h.deltaX,h.deltaY);var Q=ee(h.deltaTime,h.deltaX,h.deltaY);h.overallVelocityX=Q.x,h.overallVelocityY=Q.y,h.overallVelocity=f(Q.x)>f(Q.y)?Q.x:Q.y,h.scale=L?Ne(L.pointers,b):1,h.rotation=L?sn(L.pointers,b):0,h.maxPointers=v.prevInput?h.pointers.length>v.prevInput.maxPointers?h.pointers.length:v.prevInput.maxPointers:h.pointers.length,Ft(v,h);var Y=c.element;dt(h.srcEvent.target,Y)&&(Y=h.srcEvent.target),h.target=Y}function At(c,h){var v=h.center,b=c.offsetDelta||{},E=c.prevDelta||{},S=c.prevInput||{};(h.eventType===z||S.eventType===H)&&(E=c.prevDelta={x:S.deltaX||0,y:S.deltaY||0},b=c.offsetDelta={x:v.x,y:v.y}),h.deltaX=E.x+(v.x-b.x),h.deltaY=E.y+(v.y-b.y)}function Ft(c,h){var v=c.lastInterval||h,b=h.timeStamp-v.timeStamp,E,S,L,W;if(h.eventType!=ct&&(b>B||v.velocity===r)){var ot=h.deltaX-v.deltaX,Q=h.deltaY-v.deltaY,Y=ee(b,ot,Q);S=Y.x,L=Y.y,E=f(Y.x)>f(Y.y)?Y.x:Y.y,W=ce(ot,Q),c.lastInterval=h}else E=v.velocity,S=v.velocityX,L=v.velocityY,W=v.direction;h.velocity=E,h.velocityX=S,h.velocityY=L,h.direction=W}function Gt(c){for(var h=[],v=0;v<c.pointers.length;)h[v]={clientX:l(c.pointers[v].clientX),clientY:l(c.pointers[v].clientY)},v++;return{timeStamp:p(),pointers:h,center:Wt(h),deltaX:c.deltaX,deltaY:c.deltaY}}function Wt(c){var h=c.length;if(h===1)return{x:l(c[0].clientX),y:l(c[0].clientY)};for(var v=0,b=0,E=0;E<h;)v+=c[E].clientX,b+=c[E].clientY,E++;return{x:l(v/h),y:l(b/h)}}function ee(c,h,v){return{x:h/c||0,y:v/c||0}}function ce(c,h){return c===h?Ct:f(c)>=f(h)?c<0?Mt:jt:h<0?P:D}function me(c,h,v){v||(v=Z);var b=h[v[0]]-c[v[0]],E=h[v[1]]-c[v[1]];return Math.sqrt(b*b+E*E)}function Ce(c,h,v){v||(v=Z);var b=h[v[0]]-c[v[0]],E=h[v[1]]-c[v[1]];return Math.atan2(E,b)*180/Math.PI}function sn(c,h){return Ce(h[1],h[0],_t)+Ce(c[1],c[0],_t)}function Ne(c,h){return me(h[0],h[1],_t)/me(c[0],c[1],_t)}var Be={mousedown:z,mousemove:lt,mouseup:H},yn="mousedown",fe="mousemove mouseup";function Te(){this.evEl=yn,this.evWin=fe,this.pressed=!1,st.apply(this,arguments)}I(Te,st,{handler:function(h){var v=Be[h.type];v&z&&h.button===0&&(this.pressed=!0),v&lt&&h.which!==1&&(v=H),this.pressed&&(v&H&&(this.pressed=!1),this.callback(this.manager,v,{pointers:[h],changedPointers:[h],pointerType:O,srcEvent:h}))}});var Ge={pointerdown:z,pointermove:lt,pointerup:H,pointercancel:ct,pointerout:ct},Oi={2:w,3:x,4:O,5:R},Vn="pointerdown",si="pointermove pointerup pointercancel";t.MSPointerEvent&&!t.PointerEvent&&(Vn="MSPointerDown",si="MSPointerMove MSPointerUp MSPointerCancel");function cn(){this.evEl=Vn,this.evWin=si,st.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}I(cn,st,{handler:function(h){var v=this.store,b=!1,E=h.type.toLowerCase().replace("ms",""),S=Ge[E],L=Oi[h.pointerType]||h.pointerType,W=L==w,ot=Pt(v,h.pointerId,"pointerId");S&z&&(h.button===0||W)?ot<0&&(v.push(h),ot=v.length-1):S&(H|ct)&&(b=!0),!(ot<0)&&(v[ot]=h,this.callback(this.manager,S,{pointers:v,changedPointers:[h],pointerType:L,srcEvent:h}),b&&v.splice(ot,1))}});var je={touchstart:z,touchmove:lt,touchend:H,touchcancel:ct},lo="touchstart",oi="touchstart touchmove touchend touchcancel";function zn(){this.evTarget=lo,this.evWin=oi,this.started=!1,st.apply(this,arguments)}I(zn,st,{handler:function(h){var v=je[h.type];if(v===z&&(this.started=!0),!!this.started){var b=kn.call(this,h,v);v&(H|ct)&&b[0].length-b[1].length===0&&(this.started=!1),this.callback(this.manager,v,{pointers:b[0],changedPointers:b[1],pointerType:w,srcEvent:h})}}});function kn(c,h){var v=bt(c.touches),b=bt(c.changedTouches);return h&(H|ct)&&(v=Rt(v.concat(b),"identifier",!0)),[v,b]}var Ji={touchstart:z,touchmove:lt,touchend:H,touchcancel:ct},Bn="touchstart touchmove touchend touchcancel";function Gn(){this.evTarget=Bn,this.targetIds={},st.apply(this,arguments)}I(Gn,st,{handler:function(h){var v=Ji[h.type],b=Ii.call(this,h,v);b&&this.callback(this.manager,v,{pointers:b[0],changedPointers:b[1],pointerType:w,srcEvent:h})}});function Ii(c,h){var v=bt(c.touches),b=this.targetIds;if(h&(z|lt)&&v.length===1)return b[v[0].identifier]=!0,[v,v];var E,S,L=bt(c.changedTouches),W=[],ot=this.target;if(S=v.filter(function(Q){return dt(Q.target,ot)}),h===z)for(E=0;E<S.length;)b[S[E].identifier]=!0,E++;for(E=0;E<L.length;)b[L[E].identifier]&&W.push(L[E]),h&(H|ct)&&delete b[L[E].identifier],E++;if(W.length)return[Rt(S.concat(W),"identifier",!0),W]}var tr=2500,co=25;function er(){st.apply(this,arguments);var c=M(this.handler,this);this.touch=new Gn(this.manager,c),this.mouse=new Te(this.manager,c),this.primaryTouch=null,this.lastTouches=[]}I(er,st,{handler:function(h,v,b){var E=b.pointerType==w,S=b.pointerType==O;if(!(S&&b.sourceCapabilities&&b.sourceCapabilities.firesTouchEvents)){if(E)uo.call(this,v,b);else if(S&&jn.call(this,b))return;this.callback(h,v,b)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});function uo(c,h){c&z?(this.primaryTouch=h.changedPointers[0].identifier,ho.call(this,h)):c&(H|ct)&&ho.call(this,h)}function ho(c){var h=c.changedPointers[0];if(h.identifier===this.primaryTouch){var v={x:h.clientX,y:h.clientY};this.lastTouches.push(v);var b=this.lastTouches,E=function(){var S=b.indexOf(v);S>-1&&b.splice(S,1)};setTimeout(E,tr)}}function jn(c){for(var h=c.srcEvent.clientX,v=c.srcEvent.clientY,b=0;b<this.lastTouches.length;b++){var E=this.lastTouches[b],S=Math.abs(h-E.x),L=Math.abs(v-E.y);if(S<=co&&L<=co)return!0}return!1}var fo=Ot(o.style,"touchAction"),po=fo!==r,mo="compute",go="auto",nr="manipulation",Hn="none",Qe="pan-x",Un="pan-y",ai=li();function le(c,h){this.manager=c,this.set(h)}le.prototype={set:function(c){c==mo&&(c=this.compute()),po&&this.manager.element.style&&ai[c]&&(this.manager.element.style[fo]=c),this.actions=c.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var c=[];return _(this.manager.recognizers,function(h){j(h.options.enable,[h])&&(c=c.concat(h.getTouchAction()))}),vo(c.join(" "))},preventDefaults:function(c){var h=c.srcEvent,v=c.offsetDirection;if(this.manager.session.prevented){h.preventDefault();return}var b=this.actions,E=xt(b,Hn)&&!ai[Hn],S=xt(b,Un)&&!ai[Un],L=xt(b,Qe)&&!ai[Qe];if(E){var W=c.pointers.length===1,ot=c.distance<2,Q=c.deltaTime<250;if(W&&ot&&Q)return}if(!(L&&S)&&(E||S&&v&G||L&&v&K))return this.preventSrc(h)},preventSrc:function(c){this.manager.session.prevented=!0,c.preventDefault()}};function vo(c){if(xt(c,Hn))return Hn;var h=xt(c,Qe),v=xt(c,Un);return h&&v?Hn:h||v?h?Qe:Un:xt(c,nr)?nr:go}function li(){if(!po)return!1;var c={},h=t.CSS&&t.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(v){c[v]=h?t.CSS.supports("touch-action",v):!0}),c}var Mi=1,He=2,Sn=4,_n=8,un=_n,Wn=16,be=32;function Yt(c){this.options=C({},this.defaults,c||{}),this.id=rt(),this.manager=null,this.options.enable=q(this.options.enable,!0),this.state=Mi,this.simultaneous={},this.requireFail=[]}Yt.prototype={defaults:{},set:function(c){return C(this.options,c),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(c){if(y(c,"recognizeWith",this))return this;var h=this.simultaneous;return c=ci(c,this),h[c.id]||(h[c.id]=c,c.recognizeWith(this)),this},dropRecognizeWith:function(c){return y(c,"dropRecognizeWith",this)?this:(c=ci(c,this),delete this.simultaneous[c.id],this)},requireFailure:function(c){if(y(c,"requireFailure",this))return this;var h=this.requireFail;return c=ci(c,this),Pt(h,c)===-1&&(h.push(c),c.requireFailure(this)),this},dropRequireFailure:function(c){if(y(c,"dropRequireFailure",this))return this;c=ci(c,this);var h=Pt(this.requireFail,c);return h>-1&&this.requireFail.splice(h,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(c){return!!this.simultaneous[c.id]},emit:function(c){var h=this,v=this.state;function b(E){h.manager.emit(E,c)}v<_n&&b(h.options.event+Zr(v)),b(h.options.event),c.additionalEvent&&b(c.additionalEvent),v>=_n&&b(h.options.event+Zr(v))},tryEmit:function(c){if(this.canEmit())return this.emit(c);this.state=be},canEmit:function(){for(var c=0;c<this.requireFail.length;){if(!(this.requireFail[c].state&(be|Mi)))return!1;c++}return!0},recognize:function(c){var h=C({},c);if(!j(this.options.enable,[this,h])){this.reset(),this.state=be;return}this.state&(un|Wn|be)&&(this.state=Mi),this.state=this.process(h),this.state&(He|Sn|_n|Wn)&&this.tryEmit(h)},process:function(c){},getTouchAction:function(){},reset:function(){}};function Zr(c){return c&Wn?"cancel":c&_n?"end":c&Sn?"move":c&He?"start":""}function ir(c){return c==D?"down":c==P?"up":c==Mt?"left":c==jt?"right":""}function ci(c,h){var v=h.manager;return v?v.get(c):c}function on(){Yt.apply(this,arguments)}I(on,Yt,{defaults:{pointers:1},attrTest:function(c){var h=this.options.pointers;return h===0||c.pointers.length===h},process:function(c){var h=this.state,v=c.eventType,b=h&(He|Sn),E=this.attrTest(c);return b&&(v&ct||!E)?h|Wn:b||E?v&H?h|_n:h&He?h|Sn:He:be}});function Je(){on.apply(this,arguments),this.pX=null,this.pY=null}I(Je,on,{defaults:{event:"pan",threshold:10,pointers:1,direction:et},getTouchAction:function(){var c=this.options.direction,h=[];return c&G&&h.push(Un),c&K&&h.push(Qe),h},directionTest:function(c){var h=this.options,v=!0,b=c.distance,E=c.direction,S=c.deltaX,L=c.deltaY;return E&h.direction||(h.direction&G?(E=S===0?Ct:S<0?Mt:jt,v=S!=this.pX,b=Math.abs(c.deltaX)):(E=L===0?Ct:L<0?P:D,v=L!=this.pY,b=Math.abs(c.deltaY))),c.direction=E,v&&b>h.threshold&&E&h.direction},attrTest:function(c){return on.prototype.attrTest.call(this,c)&&(this.state&He||!(this.state&He)&&this.directionTest(c))},emit:function(c){this.pX=c.deltaX,this.pY=c.deltaY;var h=ir(c.direction);h&&(c.additionalEvent=this.options.event+h),this._super.emit.call(this,c)}});function qn(){on.apply(this,arguments)}I(qn,on,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Hn]},attrTest:function(c){return this._super.attrTest.call(this,c)&&(Math.abs(c.scale-1)>this.options.threshold||this.state&He)},emit:function(c){if(c.scale!==1){var h=c.scale<1?"in":"out";c.additionalEvent=this.options.event+h}this._super.emit.call(this,c)}});function rr(){Yt.apply(this,arguments),this._timer=null,this._input=null}I(rr,Yt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[go]},process:function(c){var h=this.options,v=c.pointers.length===h.pointers,b=c.distance<h.threshold,E=c.deltaTime>h.time;if(this._input=c,!b||!v||c.eventType&(H|ct)&&!E)this.reset();else if(c.eventType&z)this.reset(),this._timer=m(function(){this.state=un,this.tryEmit()},h.time,this);else if(c.eventType&H)return un;return be},reset:function(){clearTimeout(this._timer)},emit:function(c){this.state===un&&(c&&c.eventType&H?this.manager.emit(this.options.event+"up",c):(this._input.timeStamp=p(),this.manager.emit(this.options.event,this._input)))}});function sr(){on.apply(this,arguments)}I(sr,on,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Hn]},attrTest:function(c){return this._super.attrTest.call(this,c)&&(Math.abs(c.rotation)>this.options.threshold||this.state&He)}});function or(){on.apply(this,arguments)}I(or,on,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:G|K,pointers:1},getTouchAction:function(){return Je.prototype.getTouchAction.call(this)},attrTest:function(c){var h=this.options.direction,v;return h&(G|K)?v=c.overallVelocity:h&G?v=c.overallVelocityX:h&K&&(v=c.overallVelocityY),this._super.attrTest.call(this,c)&&h&c.offsetDirection&&c.distance>this.options.threshold&&c.maxPointers==this.options.pointers&&f(v)>this.options.velocity&&c.eventType&H},emit:function(c){var h=ir(c.offsetDirection);h&&this.manager.emit(this.options.event+h,c),this.manager.emit(this.options.event,c)}});function hn(){Yt.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}I(hn,Yt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[nr]},process:function(c){var h=this.options,v=c.pointers.length===h.pointers,b=c.distance<h.threshold,E=c.deltaTime<h.time;if(this.reset(),c.eventType&z&&this.count===0)return this.failTimeout();if(b&&E&&v){if(c.eventType!=H)return this.failTimeout();var S=this.pTime?c.timeStamp-this.pTime<h.interval:!0,L=!this.pCenter||me(this.pCenter,c.center)<h.posThreshold;this.pTime=c.timeStamp,this.pCenter=c.center,!L||!S?this.count=1:this.count+=1,this._input=c;var W=this.count%h.taps;if(W===0)return this.hasRequireFailures()?(this._timer=m(function(){this.state=un,this.tryEmit()},h.interval,this),He):un}return be},failTimeout:function(){return this._timer=m(function(){this.state=be},this.options.interval,this),be},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==un&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}});function fn(c,h){return h=h||{},h.recognizers=q(h.recognizers,fn.defaults.preset),new Di(c,h)}fn.VERSION="2.0.7",fn.defaults={domEvents:!1,touchAction:mo,enable:!0,inputTarget:null,inputClass:null,preset:[[sr,{enable:!1}],[qn,{enable:!1},["rotate"]],[or,{direction:G}],[Je,{direction:G},["swipe"]],[hn],[hn,{event:"doubletap",taps:2},["tap"]],[rr]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var Ai=1,Me=2;function Di(c,h){this.options=C({},fn.defaults,h||{}),this.options.inputTarget=this.options.inputTarget||c,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=c,this.input=vt(this),this.touchAction=new le(this,this.options.touchAction),u(this,!0),_(this.options.recognizers,function(v){var b=this.add(new v[0](v[1]));v[2]&&b.recognizeWith(v[2]),v[3]&&b.requireFailure(v[3])},this)}Di.prototype={set:function(c){return C(this.options,c),c.touchAction&&this.touchAction.update(),c.inputTarget&&(this.input.destroy(),this.input.target=c.inputTarget,this.input.init()),this},stop:function(c){this.session.stopped=c?Me:Ai},recognize:function(c){var h=this.session;if(!h.stopped){this.touchAction.preventDefaults(c);var v,b=this.recognizers,E=h.curRecognizer;(!E||E&&E.state&un)&&(E=h.curRecognizer=null);for(var S=0;S<b.length;)v=b[S],h.stopped!==Me&&(!E||v==E||v.canRecognizeWith(E))?v.recognize(c):v.reset(),!E&&v.state&(He|Sn|_n)&&(E=h.curRecognizer=v),S++}},get:function(c){if(c instanceof Yt)return c;for(var h=this.recognizers,v=0;v<h.length;v++)if(h[v].options.event==c)return h[v];return null},add:function(c){if(y(c,"add",this))return this;var h=this.get(c.options.event);return h&&this.remove(h),this.recognizers.push(c),c.manager=this,this.touchAction.update(),c},remove:function(c){if(y(c,"remove",this))return this;if(c=this.get(c),c){var h=this.recognizers,v=Pt(h,c);v!==-1&&(h.splice(v,1),this.touchAction.update())}return this},on:function(c,h){if(c!==r&&h!==r){var v=this.handlers;return _(It(c),function(b){v[b]=v[b]||[],v[b].push(h)}),this}},off:function(c,h){if(c!==r){var v=this.handlers;return _(It(c),function(b){h?v[b]&&v[b].splice(Pt(v[b],h),1):delete v[b]}),this}},emit:function(c,h){this.options.domEvents&&d(c,h);var v=this.handlers[c]&&this.handlers[c].slice();if(!(!v||!v.length)){h.type=c,h.preventDefault=function(){h.srcEvent.preventDefault()};for(var b=0;b<v.length;)v[b](h),b++}},destroy:function(){this.element&&u(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}};function u(c,h){var v=c.element;if(v.style){var b;_(c.options.cssProps,function(E,S){b=Ot(v.style,S),h?(c.oldCssProps[b]=v.style[b],v.style[b]=E):v.style[b]=c.oldCssProps[b]||""}),h||(c.oldCssProps={})}}function d(c,h){var v=n.createEvent("Event");v.initEvent(c,!0,!0),v.gesture=h,h.target.dispatchEvent(v)}C(fn,{INPUT_START:z,INPUT_MOVE:lt,INPUT_END:H,INPUT_CANCEL:ct,STATE_POSSIBLE:Mi,STATE_BEGAN:He,STATE_CHANGED:Sn,STATE_ENDED:_n,STATE_RECOGNIZED:un,STATE_CANCELLED:Wn,STATE_FAILED:be,DIRECTION_NONE:Ct,DIRECTION_LEFT:Mt,DIRECTION_RIGHT:jt,DIRECTION_UP:P,DIRECTION_DOWN:D,DIRECTION_HORIZONTAL:G,DIRECTION_VERTICAL:K,DIRECTION_ALL:et,Manager:Di,Input:st,TouchAction:le,TouchInput:Gn,MouseInput:Te,PointerEventInput:cn,TouchMouseInput:er,SingleTouchInput:zn,Recognizer:Yt,AttrRecognizer:on,Tap:hn,Pan:Je,Swipe:or,Pinch:qn,Rotate:sr,Press:rr,on:X,off:$,each:_,merge:V,extend:A,assign:C,inherit:I,bindFn:M,prefixed:Ot});var g=typeof t<"u"?t:typeof self<"u"?self:{};g.Hammer=fn,typeof r=="function"&&r.amd?r(function(){return fn}):e.exports?e.exports=fn:t[i]=fn})(window,document,"Hammer")})(vh);var ig=vh.exports;const rg=ya(ig);function $a(e){return e*Math.PI/180}function sg(e){return e*180/Math.PI}function og(e,t,n,i){const r=e-n,s=t-i;return Math.sqrt(r*r+s*s)}function ag(e,t,n,i){const r=n-e,s=i-t;return Math.atan2(s,r)}function yh(e,t){return{x:Math.cos(e)*t,y:Math.sin(e)*t}}function _h(e,t){const n=Math.sqrt(Math.pow(e,2)+Math.pow(t,2));return{x:e/=n,y:t/=n}}class qs{x;y;vx;vy;ax;ay;mass;constructor(t){this.x=t.x,this.y=t.y,this.vx=t?.vx||0,this.vy=t?.vy||0,this.ax=t?.ax||0,this.ay=t?.ay||0,this.mass=t?.mass||0}distanceTo(t){return og(this.x,this.y,t.x,t.y)}angleTo(t){return ag(this.x,this.y,t.x,t.y)}velocityTo(t){return{vx:t.x-this.x,vy:t.y-this.y}}followTo(t,n=3){const i=this.angleTo(t),{x:r,y:s}=yh(i,n);this.vx=r,this.vy=s,this.nextFrame()}followAccelerationTo(t,n=.05){const i=this.angleTo(t),{x:r,y:s}=yh(i,n);this.ax=r,this.ay=s,this.nextFrame()}nextFrame(t){const n=t?.gravity??0,i=t?.friction??0;if(this.vx+=this.ax,this.vy+=this.ay,this.vy+=n,i>0){const r=Math.atan2(this.vy,this.vx);let s=Math.sqrt(this.vx*this.vx+this.vy*this.vy);s>i?s-=i:s=0,this.vx=Math.cos(r)*s,this.vy=Math.sin(r)*s}this.x+=this.vx,this.y+=this.vy}nextFrameEaseTo(t,n){const i=n?.gravity??0,r=n?.friction??1,s=n?.easing??.05,o=t.x-this.x,a=t.y-this.y;this.vx=o*s,this.vy=a*s,this.vy+=i,this.vx*=r,this.vy*=r,this.x+=this.vx,this.y+=this.vy}nextFrameSpringTo(t,n){const i=n?.gravity??0,r=n?.friction??.95,s=n?.spring??.03;(Array.isArray(t)?t:[t]).forEach(a=>{const l=a.x-this.x,f=a.y-this.y,p=l*s,m=f*s;this.vx+=p,this.vy+=m}),this.vy+=i,this.vx*=r,this.vy*=r,this.x+=this.vx,this.y+=this.vy}nextFrameSpringConnect(t,n){const i=n?.gravity??0,r=n?.friction??.95,s=n?.spring??.03,o=n?.springLength??100,a=this.angleTo(t);this.nextFrameSpringTo(new qs({x:t.x-Math.cos(a)*o,y:t.y-Math.sin(a)*o}),{spring:s,friction:r,gravity:i})}}class Ys extends qs{width;height;constructor(t){super(t),this.width=t.width,this.height=t.height}eq(t){return this.x===t.x&&this.y===t.y&&this.width===t.width&&this.height===t.height}isIntersectRect(t){return!(this.x+this.width<t.x||t.x+t.width<this.x||this.y+this.height<t.y||t.y+t.height<this.y)}isContainPoint(t){return!(t.x<this.x||t.x>this.x+this.width||t.y<this.y||t.y>this.y+this.height)}toArray(){return[this.x,this.y,this.width,this.height]}clone(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height}}class Cn extends qs{radius;constructor(t){super(t),this.radius=t?.radius??0}toSVGPathData(){return[this.x,this.y]}toSVGPathD(){return`${this.x},${this.y}`}setX(t){this.x=t}setY(t){this.y=t}setXY(t,n){this.x=t,this.y=n}eq(t){return this.x===t.x&&this.y===t.y}midPointBtw(t){return new Cn({x:this.x+(t.x-this.x)/2,y:this.y+(t.y-this.y)/2})}toArray(){return[this.x,this.y]}clone(t){this.setXY(t.x,t.y)}getBoundRect(){return new Ys({x:this.x-this.radius,y:this.y-this.radius,width:this.radius*2,height:this.radius*2})}nextFrameCollisionTo(t){const n=t.x-this.x,i=t.y-this.y;if(Math.sqrt(n*n+i*i)<this.radius+t.radius){const o=Math.atan2(i,n),a=Math.sin(o),l=Math.cos(o),f={x:0,y:0},p=s(n,i,a,l,!0),m=s(this.vx,this.vy,a,l,!0),y=s(t.vx,t.vy,a,l,!0),_=m.x-y.x;m.x=((this.mass-t.mass)*m.x+2*t.mass*y.x)/(this.mass+t.mass),y.x=_+m.x;const N=Math.abs(m.x)+Math.abs(y.x),C=this.radius+t.radius-Math.abs(f.x-p.x);f.x+=m.x/N*C,p.x+=y.x/N*C;const A=s(f.x,f.y,a,l,!1),V=s(p.x,p.y,a,l,!1);t.x=this.x+V.x,t.y=this.y+V.y,this.x=this.x+A.x,this.y=this.y+A.y;const I=s(m.x,m.y,a,l,!1),M=s(y.x,y.y,a,l,!1);this.vx=I.x,this.vy=I.y,t.vx=M.x,t.vy=M.y}function s(o,a,l,f,p=!1){return{x:p?o*f+a*l:o*f-a*l,y:p?a*f-o*l:a*f+o*l}}}nextFrameBounce(t,n){const i=t.x,r=t.y,s=t.x+t.width,o=t.y+t.height,a=n?.bounce??-1;this.x+this.radius>s?(this.x=s-this.radius,this.vx*=a):this.x-this.radius<i&&(this.x=i+this.radius,this.vx*=a),this.y+this.radius>o?(this.y=o-this.radius,this.vy*=a):this.y-this.radius<r&&(this.y=r+this.radius,this.vy*=a)}}class lg{constructor(){}static getFormatKeyNames(t){const n=tg(),i=[];return t.ctrl&&i.push(n?"Cmd":"Ctrl"),t.shift&&i.push("Shift"),t.alt&&i.push("Alt"),typeof t.key=="string"?i.push(xu(t.key)):Array.isArray(t.key)&&(t.key.map(r=>xu(r)),i.push(...t.key)),i}static matchKeyScheme(t,n){const i=t.ctrl??!1,r=t.shift??!1,s=t.alt??!1;if(t.exact)return(i===n.metaKey||i===n.ctrlKey)&&r===n.shiftKey&&s===n.altKey;const o=[];return i&&o.push(i===n.metaKey||i===n.ctrlKey),r&&o.push(r===n.shiftKey),s&&o.push(s===n.altKey),o.every(a=>a)}static on(t,n){if(t?.key===void 0||t?.key===null)return n;const i=t?.target??window;let r=!1;const s=this.getFormatKeyNames(t),o=a=>{if(a.stopPropagation(),!r&&a.key!=="Control"&&a.key!=="Meta"&&a.key!=="Shift"&&a.key!=="Option"&&a.key!=="Alt"&&s.find(l=>l.toLowerCase()===a.key.toLowerCase())&&this.matchKeyScheme(t,a)){a.preventDefault();const l=n(a);if(typeof l!="function")return;const f=p=>{p.preventDefault(),l(p),i.removeEventListener("keyup",f)};i.addEventListener("keyup",f)}};return n.title=t?.title??"",n.formatedKeyNames=s,n.pause=()=>r=!0,n.restart=()=>r=!1,n.removeListener=()=>i.removeEventListener("keydown",o),i.addEventListener("keydown",o),n}}const xh=cg("50,nbsp,51,iexcl,52,cent,53,pound,54,curren,55,yen,56,brvbar,57,sect,58,uml,59,copy,5a,ordf,5b,laquo,5c,not,5d,shy,5e,reg,5f,macr,5g,deg,5h,plusmn,5i,sup2,5j,sup3,5k,acute,5l,micro,5m,para,5n,middot,5o,cedil,5p,sup1,5q,ordm,5r,raquo,5s,frac14,5t,frac12,5u,frac34,5v,iquest,60,Agrave,61,Aacute,62,Acirc,63,Atilde,64,Auml,65,Aring,66,AElig,67,Ccedil,68,Egrave,69,Eacute,6a,Ecirc,6b,Euml,6c,Igrave,6d,Iacute,6e,Icirc,6f,Iuml,6g,ETH,6h,Ntilde,6i,Ograve,6j,Oacute,6k,Ocirc,6l,Otilde,6m,Ouml,6n,times,6o,Oslash,6p,Ugrave,6q,Uacute,6r,Ucirc,6s,Uuml,6t,Yacute,6u,THORN,6v,szlig,70,agrave,71,aacute,72,acirc,73,atilde,74,auml,75,aring,76,aelig,77,ccedil,78,egrave,79,eacute,7a,ecirc,7b,euml,7c,igrave,7d,iacute,7e,icirc,7f,iuml,7g,eth,7h,ntilde,7i,ograve,7j,oacute,7k,ocirc,7l,otilde,7m,ouml,7n,divide,7o,oslash,7p,ugrave,7q,uacute,7r,ucirc,7s,uuml,7t,yacute,7u,thorn,7v,yuml,ci,fnof,sh,Alpha,si,Beta,sj,Gamma,sk,Delta,sl,Epsilon,sm,Zeta,sn,Eta,so,Theta,sp,Iota,sq,Kappa,sr,Lambda,ss,Mu,st,Nu,su,Xi,sv,Omicron,t0,Pi,t1,Rho,t3,Sigma,t4,Tau,t5,Upsilon,t6,Phi,t7,Chi,t8,Psi,t9,Omega,th,alpha,ti,beta,tj,gamma,tk,delta,tl,epsilon,tm,zeta,tn,eta,to,theta,tp,iota,tq,kappa,tr,lambda,ts,mu,tt,nu,tu,xi,tv,omicron,u0,pi,u1,rho,u2,sigmaf,u3,sigma,u4,tau,u5,upsilon,u6,phi,u7,chi,u8,psi,u9,omega,uh,thetasym,ui,upsih,um,piv,812,bull,816,hellip,81i,prime,81j,Prime,81u,oline,824,frasl,88o,weierp,88h,image,88s,real,892,trade,89l,alefsym,8cg,larr,8ch,uarr,8ci,rarr,8cj,darr,8ck,harr,8dl,crarr,8eg,lArr,8eh,uArr,8ei,rArr,8ej,dArr,8ek,hArr,8g0,forall,8g2,part,8g3,exist,8g5,empty,8g7,nabla,8g8,isin,8g9,notin,8gb,ni,8gf,prod,8gh,sum,8gi,minus,8gn,lowast,8gq,radic,8gt,prop,8gu,infin,8h0,ang,8h7,and,8h8,or,8h9,cap,8ha,cup,8hb,int,8hk,there4,8hs,sim,8i5,cong,8i8,asymp,8j0,ne,8j1,equiv,8j4,le,8j5,ge,8k2,sub,8k3,sup,8k4,nsub,8k6,sube,8k7,supe,8kl,oplus,8kn,otimes,8l5,perp,8m5,sdot,8o8,lceil,8o9,rceil,8oa,lfloor,8ob,rfloor,8p9,lang,8pa,rang,9ea,loz,9j0,spades,9j3,clubs,9j5,hearts,9j6,diams,ai,OElig,aj,oelig,b0,Scaron,b1,scaron,bo,Yuml,m6,circ,ms,tilde,802,ensp,803,emsp,809,thinsp,80c,zwnj,80d,zwj,80e,lrm,80f,rlm,80j,ndash,80k,mdash,80o,lsquo,80p,rsquo,80q,sbquo,80s,ldquo,80t,rdquo,80u,bdquo,810,dagger,811,Dagger,81g,permil,81p,lsaquo,81q,rsaquo,85c,euro",32);function cg(e,t=10){const n={},i=e.split(",");for(let r=0;r<i.length;r+=2){const s="&"+i[r+1]+";",o=parseInt(i[r],t);n[s]="&#"+o+";"}return n["\\xa0"]="&#160;",n}function We(e,t){const n=Object.keys(t);for(let i=0;i<n.length;i++)e=e.replace(new RegExp("{"+n[i]+"}","gi"),""+t[n[i]]);return e}function Xs(e){let t,n;if(!e)throw new Error("cannot create a random attribute name for an undefined object");const i="ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";t="";do for(t="",n=0;n<12;n++)t+=i[Math.floor(Math.random()*i.length)];while(e[t]);return t}function ug(e){const t={left:"start",right:"end",center:"middle",start:"start",end:"end"};return t[e]||t.start}function hg(e){const t={alphabetic:"alphabetic",hanging:"hanging",top:"text-before-edge",bottom:"text-after-edge",middle:"central"};return t[e]||t.alphabetic}const zr={strokeStyle:{svgAttr:"stroke",canvas:"#000000",svg:"none",apply:"stroke"},fillStyle:{svgAttr:"fill",canvas:"#000000",svg:null,apply:"fill"},lineCap:{svgAttr:"stroke-linecap",canvas:"butt",svg:"butt",apply:"stroke"},lineJoin:{svgAttr:"stroke-linejoin",canvas:"miter",svg:"miter",apply:"stroke"},miterLimit:{svgAttr:"stroke-miterlimit",canvas:10,svg:4,apply:"stroke"},lineWidth:{svgAttr:"stroke-width",canvas:1,svg:1,apply:"stroke"},globalAlpha:{svgAttr:"opacity",canvas:1,svg:1,apply:"fill stroke"},font:{canvas:"10px sans-serif"},shadowColor:{canvas:"#000000"},shadowOffsetX:{canvas:0},shadowOffsetY:{canvas:0},shadowBlur:{canvas:0},textAlign:{canvas:"start"},textBaseline:{canvas:"alphabetic"},lineDash:{svgAttr:"stroke-dasharray",canvas:[],svg:null,apply:"stroke"}};class Va{__root;__ctx;constructor(t,n){this.__root=t,this.__ctx=n}addColorStop(t,n){const i=this.__ctx.__createElement("stop");if(i.setAttribute("offset",""+t),n.indexOf("rgba")!==-1){const s=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?\.?\d*)\s*\)/gi.exec(n);s&&(i.setAttribute("stop-color",We("rgb({r},{g},{b})",{r:s[1],g:s[2],b:s[3]})),i.setAttribute("stop-opacity",s[4]))}else i.setAttribute("stop-color",n);this.__root.appendChild(i)}}class bh{__root;__ctx;constructor(t,n){this.__root=t,this.__ctx=n}}class Ks{__document=document;__canvas;__ctx;width;height;__styleStack;__groupStack;__rootSVG;__ids;__SVGdefs;__currentElement;__currentElementsToStyle=null;constructor({canvas:t,width:n=500,height:i=500,enableMirroring:r=!1}){this.enableMirroring=r,t?(this.__canvas=t,this.__ctx=t.getContext("2d"),this.width=t.width,this.height=t.height):(this.__canvas=this.__document.createElement("canvas"),this.__ctx=this.__canvas.getContext("2d"),this.width=n,this.height=i),this.__setDefaultStyles(),this.__styleStack=[this.__getStyleState()],this.__groupStack=[],this.__rootSVG=this.__document.createElementNS("http://www.w3.org/2000/svg","svg"),this.__rootSVG.setAttribute("version","1.1"),this.__rootSVG.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.__rootSVG.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),this.__rootSVG.setAttribute("width",""+this.width),this.__rootSVG.setAttribute("height",""+this.height),this.__ids={},this.__SVGdefs=this.__document.createElementNS("http://www.w3.org/2000/svg","defs"),this.__rootSVG.appendChild(this.__SVGdefs),this.__currentElement=this.__document.createElementNS("http://www.w3.org/2000/svg","g"),this.__rootSVG.appendChild(this.__currentElement)}__setDefaultStyles(){const t=Object.keys(zr);for(let n=0,i=t.length;n<i;n++){const r=t[n];this[r]=zr[r].canvas}}__getStyleState(){const t={},n=Object.keys(zr);for(let i=0,r=n.length;i<r;i++){const s=n[i];t[s]=this[s]}return t}__applyStyleState(t){const n=Object.keys(t);for(let i=0,r=n.length;i<r;i++){const s=n[i];this[s]=t[s]}}__createElement(t,n={},i=!1){const r=this.__document.createElementNS("http://www.w3.org/2000/svg",t),s=Object.keys(n);i&&(r.setAttribute("fill","none"),r.setAttribute("stroke","none"));for(let o=0;o<s.length;o++){const a=s[o];r.setAttribute(a,n[a])}return r}__applyStyleToCurrentElement(t){let n=this.__currentElement;const i=this.__currentElementsToStyle;i&&(n.setAttribute(t,""),n=i.element,i.children.forEach(s=>{s.setAttribute(t,"")}));const r=Object.keys(zr);for(let s=0;s<r.length;s++){const o=zr[r[s]],a=this[r[s]];if(o.apply){if(a instanceof bh){if(a.__ctx)for(;a.__ctx.__SVGdefs.childNodes.length;){const l=a.__ctx.__SVGdefs.childNodes[0].getAttribute("id");this.__ids[l]=l,this.__SVGdefs.appendChild(a.__ctx.__SVGdefs.childNodes[0])}n.setAttribute(o.apply,We("url(#{id})",{id:a.__root.getAttribute("id")}))}else if(a instanceof Va)n.setAttribute(o.apply,We("url(#{id})",{id:a.__root.getAttribute("id")}));else if(o.apply.indexOf(t)!==-1&&o.svg!==a)if((o.svgAttr==="stroke"||o.svgAttr==="fill")&&a.indexOf("rgba")!==-1){const f=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?\.?\d*)\s*\)/gi.exec(a);n.setAttribute(o.svgAttr,We("rgb({r},{g},{b})",{r:f[1],g:f[2],b:f[3]}));let p=parseFloat(f[4]);const m=this.globalAlpha;m!=null&&(p*=m),n.setAttribute(o.svgAttr+"-opacity",""+p)}else{let l=o.svgAttr;if(r[s]==="globalAlpha"&&(l=t+"-"+o.svgAttr,n.getAttribute(l)))continue;l&&n.setAttribute(l,a)}}}}__closestGroupOrSvg(t){return t=t||this.__currentElement,t.nodeName==="g"||t.nodeName==="svg"?t:this.__closestGroupOrSvg(t.parentNode)}getSerializedSvg(t){let n=new XMLSerializer().serializeToString(this.__rootSVG);if(/xmlns="http:\/\/www\.w3\.org\/2000\/svg".+xmlns="http:\/\/www\.w3\.org\/2000\/svg/gi.test(n)&&(n=n.replace('xmlns="http://www.w3.org/2000/svg','xmlns:xlink="http://www.w3.org/1999/xlink')),t){const r=Object.keys(xh);for(let s=0,o=r.length;s<o;s++){const a=r[s],l=xh[a],f=new RegExp(a,"gi");f.test(n)&&(n=n.replace(f,l))}}return n}getSvg(){return this.__rootSVG}save(){const t=this.__createElement("g"),n=this.__closestGroupOrSvg();this.__groupStack.push(n),n.appendChild(t),this.__currentElement=t,this.__styleStack.push(this.__getStyleState())}restore(){this.__currentElementsToStyle=null;const t=this.__groupStack.pop();t?this.__currentElement=t:this.__currentElement=this.__rootSVG.childNodes[1];const n=this.__styleStack.pop();n&&this.__applyStyleState(n)}__addTransform(t){const n=this.__closestGroupOrSvg();if(n.childNodes.length>0){this.__currentElement.nodeName==="path"&&(this.__currentElementsToStyle||(this.__currentElementsToStyle={element:n,children:[]}),this.__currentElementsToStyle.children.push(this.__currentElement),this.__applyCurrentDefaultPath());const r=this.__createElement("g");n.appendChild(r),this.__currentElement=r}let i=this.__currentElement.getAttribute("transform");i?i+=" ":i="",i+=t,this.__currentElement.setAttribute("transform",i)}scale(t,n){n===void 0&&(n=t),this.__addTransform(We("scale({x},{y})",{x:t,y:n}))}rotate(t){const n=t*180/Math.PI;this.__addTransform(We("rotate({angle},{cx},{cy})",{angle:n,cx:0,cy:0}))}translate(t,n){this.__addTransform(We("translate({x},{y})",{x:t,y:n}))}transform(t,n,i,r,s,o){this.__addTransform(We("matrix({a},{b},{c},{d},{e},{f})",{a:t,b:n,c:i,d:r,e:s,f:o}))}beginPath(){this.__currentDefaultPath="",this.__currentPosition={};const t=this.__createElement("path",{},!0);this.__closestGroupOrSvg().appendChild(t),this.__currentElement=t}__applyCurrentDefaultPath(){const t=this.__currentElement;t.nodeName==="path"?t.setAttribute("d",this.__currentDefaultPath):console.error("Attempted to apply path command to node",t.nodeName)}__addPathCommand(t){this.__currentDefaultPath+=" ",this.__currentDefaultPath+=t}moveTo(t,n){this.__currentElement.nodeName!=="path"&&this.beginPath(),this.__currentPosition={x:t,y:n},this.__addPathCommand(We("M {x} {y}",this.__currentPosition))}closePath(){this.__currentDefaultPath&&this.__addPathCommand("Z")}lineTo(t,n){this.__currentPosition={x:t,y:n},this.__currentDefaultPath.indexOf("M")>-1?this.__addPathCommand(We("L {x} {y}",this.__currentPosition)):this.__addPathCommand(We("M {x} {y}",this.__currentPosition))}bezierCurveTo(t,n,i,r,s,o){this.__currentPosition={x:s,y:o},this.__addPathCommand(We("C {cp1x} {cp1y} {cp2x} {cp2y} {x} {y}",{cp1x:t,cp1y:n,cp2x:i,cp2y:r,x:s,y:o}))}quadraticCurveTo(t,n,i,r){this.__currentPosition={x:i,y:r},this.__addPathCommand(We("Q {cpx} {cpy} {x} {y}",{cpx:t,cpy:n,x:i,y:r}))}normalize(t){const n=Math.sqrt(t[0]*t[0]+t[1]*t[1]);return[t[0]/n,t[1]/n]}arcTo(t,n,i,r,s){const o=this.__currentPosition&&this.__currentPosition.x,a=this.__currentPosition&&this.__currentPosition.y;if(typeof o>"u"||typeof a>"u")return;if(s<0)throw new Error("IndexSizeError: The radius provided ("+s+") is negative.");if(o===t&&a===n||t===i&&n===r||s===0){this.lineTo(t,n);return}const l=this.normalize([o-t,a-n]),f=this.normalize([i-t,r-n]);if(l[0]*f[1]===l[1]*f[0]){this.lineTo(t,n);return}const p=l[0]*f[0]+l[1]*f[1],m=Math.acos(Math.abs(p)),y=this.normalize([l[0]+f[0],l[1]+f[1]]),_=s/Math.sin(m/2),N=t+_*y[0],C=n+_*y[1],A=[-l[1],l[0]],V=[f[1],-f[0]],I=function(q){const X=q[0];return q[1]>=0?Math.acos(X):-Math.acos(X)},M=I(A),j=I(V);this.lineTo(N+A[0]*s,C+A[1]*s),this.arc(N,C,s,M,j)}stroke(){this.__currentElement.nodeName==="path"&&this.__currentElement.setAttribute("paint-order","fill stroke markers"),this.__applyCurrentDefaultPath(),this.__applyStyleToCurrentElement("stroke")}fill(){this.__currentElement.nodeName==="path"&&this.__currentElement.setAttribute("paint-order","stroke fill markers"),this.__applyCurrentDefaultPath(),this.__applyStyleToCurrentElement("fill")}rect(t,n,i,r){this.__currentElement.nodeName!=="path"&&this.beginPath(),this.moveTo(t,n),this.lineTo(t+i,n),this.lineTo(t+i,n+r),this.lineTo(t,n+r),this.lineTo(t,n),this.closePath()}fillRect(t,n,i,r){const s=this.__createElement("rect",{x:t,y:n,width:i,height:r},!0);this.__closestGroupOrSvg().appendChild(s),this.__currentElement=s,this.__applyStyleToCurrentElement("fill")}strokeRect(t,n,i,r){const s=this.__createElement("rect",{x:t,y:n,width:i,height:r},!0);this.__closestGroupOrSvg().appendChild(s),this.__currentElement=s,this.__applyStyleToCurrentElement("stroke")}__clearCanvas(){const n=this.__closestGroupOrSvg().getAttribute("transform"),i=this.__rootSVG.childNodes[1],r=i.childNodes;for(let s=r.length-1;s>=0;s--)r[s]&&i.removeChild(r[s]);this.__currentElement=i,this.__groupStack=[],n&&this.__addTransform(n)}clearRect(t,n,i,r){if(t===0&&n===0&&i===this.width&&r===this.height){this.__clearCanvas();return}const s=this.__closestGroupOrSvg(),o=this.__createElement("rect",{x:t,y:n,width:i,height:r,fill:"#FFFFFF"},!0);s.appendChild(o)}createLinearGradient(t,n,i,r){const s=this.__createElement("linearGradient",{id:Xs(this.__ids),x1:t+"px",x2:i+"px",y1:n+"px",y2:r+"px",gradientUnits:"userSpaceOnUse"},!1);return this.__SVGdefs.appendChild(s),new Va(s,this)}createRadialGradient(t,n,i,r,s,o){const a=this.__createElement("radialGradient",{id:Xs(this.__ids),cx:r+"px",cy:s+"px",r:o+"px",fx:t+"px",fy:n+"px",gradientUnits:"userSpaceOnUse"},!1);return this.__SVGdefs.appendChild(a),new Va(a,this)}__parseFont(){const n=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:%|in|[cem]m|ex|p[CustomCanvasContext]))(?:\s*\/\s*(normal|[.\d]+(?:%|in|[cem]m|ex|p[CustomCanvasContext])))?\s*([-,'"\sa-z0-9]+?)\s*$/i.exec(this.font),i={style:n[1]||"normal",size:n[4]||"10px",family:n[6]||"sans-serif",weight:n[3]||"normal",decoration:n[2]||"normal",href:null};return this.__fontUnderline==="underline"&&(i.decoration="underline"),this.__fontHref&&(i.href=this.__fontHref),i}__wrapTextLink(t,n){if(t.href){const i=this.__createElement("a");return i.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t.href),i.appendChild(n),i}return n}__applyText(t,n,i,r){const s=this.__parseFont(),o=this.__closestGroupOrSvg(),a=this.__createElement("text",{"font-family":s.family,"font-size":s.size,"font-style":s.style,"font-weight":s.weight,"text-decoration":s.decoration,x:n,y:i,"text-anchor":ug(this.textAlign),"dominant-baseline":hg(this.textBaseline)},!0);a.appendChild(this.__document.createTextNode(t)),this.__currentElement=a,this.__applyStyleToCurrentElement(r),o.appendChild(this.__wrapTextLink(s,a))}fillText(t,n,i){this.__applyText(t,n,i,"fill")}strokeText(t,n,i){this.__applyText(t,n,i,"stroke")}measureText(t){return this.__ctx.font=this.font,this.__ctx.measureText(t)}arc(t,n,i,r,s,o){if(r===s)return;r=r%(2*Math.PI),s=s%(2*Math.PI),r===s&&(s=(s+2*Math.PI-.001*(o?-1:1))%(2*Math.PI));const a=t+i*Math.cos(s),l=n+i*Math.sin(s),f=t+i*Math.cos(r),p=n+i*Math.sin(r),m=o?0:1;let y=0,_=s-r;_<0&&(_+=2*Math.PI),o?y=_>Math.PI?0:1:y=_>Math.PI?1:0,this.lineTo(f,p),this.__addPathCommand(We("A {rx} {ry} {xAxisRotation} {largeArcFlag} {sweepFlag} {endX} {endY}",{rx:i,ry:i,xAxisRotation:0,largeArcFlag:y,sweepFlag:m,endX:a,endY:l})),this.__currentPosition={x:a,y:l}}clip(){const t=this.__closestGroupOrSvg(),n=this.__createElement("clipPath"),i=Xs(this.__ids),r=this.__createElement("g");this.__applyCurrentDefaultPath(),t.removeChild(this.__currentElement),n.setAttribute("id",i),n.appendChild(this.__currentElement),this.__SVGdefs.appendChild(n),t.setAttribute("clip-path",We("url(#{id})",{id:i})),t.appendChild(r),this.__currentElement=r}drawImage(...t){let n=t[0],i,r,s,o,a=0,l=0,f,p,m,y,_,N,C,A;if(t.length===3)i=t[1],r=t[2],f=n.width,p=n.height,s=f,o=p;else if(t.length===5)i=t[1],r=t[2],s=t[3],o=t[4],f=n.width,p=n.height;else if(t.length===9)a=t[1],l=t[2],f=t[3],p=t[4],i=t[5],r=t[6],s=t[7],o=t[8];else throw new Error("Invalid number of arguments passed to drawImage: "+arguments.length);const V=this.__closestGroupOrSvg();this.__currentElement;const I="translate("+i+", "+r+")";if(n instanceof Ks){if(m=n.getSvg().cloneNode(!0),m.childNodes&&m.childNodes.length>1){for(y=m.childNodes[0];y.childNodes.length;)A=y.childNodes[0].getAttribute("id"),this.__ids[A]=A,this.__SVGdefs.appendChild(y.childNodes[0]);if(_=m.childNodes[1],_){const M=_.getAttribute("transform");let j;M?j=M+" "+I:j=I,_.setAttribute("transform",j),V.appendChild(_)}}}else(n.nodeName==="CANVAS"||n.nodeName==="IMG")&&(N=this.__createElement("image"),N.setAttribute("width",s),N.setAttribute("height",o),N.setAttribute("preserveAspectRatio","none"),(a||l||f!==n.width||p!==n.height)&&(C=this.__document.createElement("canvas"),C.width=s,C.height=o,C.getContext("2d")?.drawImage(n,a,l,f,p,0,0,s,o),n=C),N.setAttribute("transform",I),N.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n.nodeName==="CANVAS"?n.toDataURL():n.getAttribute("src")),V.appendChild(N))}createPattern(t,n){const i=this.__document.createElementNS("http://www.w3.org/2000/svg","pattern"),r=Xs(this.__ids);let s;return i.setAttribute("id",r),t.nodeName==="CANVAS"||t.nodeName==="IMG"?(s=this.__document.createElementNS("http://www.w3.org/2000/svg","image"),s.setAttribute("width",""+t.width),s.setAttribute("height",""+t.height),s.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t.nodeName==="CANVAS"?t.toDataURL():t.getAttribute("src")),i.appendChild(s),this.__SVGdefs.appendChild(i)):t instanceof Ks&&(i.setAttribute("width",""+t.width),i.setAttribute("height",""+t.height),i.appendChild(t.__rootSVG.childNodes[1]),this.__SVGdefs.appendChild(i)),new bh(i,this)}setLineDash(t){t&&t.length>0?this.lineDash=t.join(","):this.lineDash=null}drawFocusRing(){}createImageData(){}getImageData(){}putImageData(){}globalCompositeOperation(){}setTransform(){}}function fg(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 wh={},za={exports:{}},Eh;function dg(){return Eh||(Eh=1,function(e){(function(t){var n="0.4.0",i="hasOwnProperty",r=/[\.\/]/,s="*",o=function(){},a=function(y,_){return y-_},l,f,p={n:{}},m=function(y,_){var N=f,C=Array.prototype.slice.call(arguments,2),A=m.listeners(y),V=0,I,M=[],j={},q=[];l=y,f=0;for(var X=0,$=A.length;X<$;X++)"zIndex"in A[X]&&(M.push(A[X].zIndex),A[X].zIndex<0&&(j[A[X].zIndex]=A[X]));for(M.sort(a);M[V]<0;)if(I=j[M[V++]],q.push(I.apply(_,C)),f)return f=N,q;for(X=0;X<$;X++)if(I=A[X],"zIndex"in I)if(I.zIndex==M[V]){if(q.push(I.apply(_,C)),f)return f=N,q;do if(V++,I=j[M[V]],I&&q.push(I.apply(_,C)),f)return f=N,q;while(I)}else j[I.zIndex]=I;else if(q.push(I.apply(_,C)),f)return f=N,q;return f=N,q.length?q:null};m.listeners=function(y){var _=y.split(r),N=p,C,A,V,I,M,j,q,X,$=[N],dt=[];for(I=0,M=_.length;I<M;I++){for(X=[],j=0,q=$.length;j<q;j++)for(N=$[j].n,A=[N[_[I]],N[s]],V=2;V--;)C=A[V],C&&(X.push(C),dt=dt.concat(C.f||[]));$=X}return dt},m.on=function(y,_){for(var N=y.split(r),C=p,A=0,V=N.length;A<V;A++)C=C.n,!C[N[A]]&&(C[N[A]]={n:{}}),C=C[N[A]];for(C.f=C.f||[],A=0,V=C.f.length;A<V;A++)if(C.f[A]==_)return o;return C.f.push(_),function(I){+I==+I&&(_.zIndex=+I)}},m.stop=function(){f=1},m.nt=function(y){return y?new RegExp("(?:\\.|\\/|^)"+y+"(?:\\.|\\/|$)").test(l):l},m.unbind=function(y,_){var N=y.split(r),C,A,V,I,M,j,q,X=[p];for(I=0,M=N.length;I<M;I++)for(j=0;j<X.length;j+=V.length-2){if(V=[j,1],C=X[j].n,N[I]!=s)C[N[I]]&&V.push(C[N[I]]);else for(A in C)C[i](A)&&V.push(C[A]);X.splice.apply(X,V)}for(I=0,M=X.length;I<M;I++)for(C=X[I];C.n;){if(_){if(C.f){for(j=0,q=C.f.length;j<q;j++)if(C.f[j]==_){C.f.splice(j,1);break}!C.f.length&&delete C.f}for(A in C.n)if(C.n[i](A)&&C.n[A].f){var $=C.n[A].f;for(j=0,q=$.length;j<q;j++)if($[j]==_){$.splice(j,1);break}!$.length&&delete C.n[A].f}}else{delete C.f;for(A in C.n)C.n[i](A)&&C.n[A].f&&delete C.n[A].f}C=C.n}},m.once=function(y,_){var N=function(){_.apply(this,arguments),m.unbind(y,N)};return m.on(y,N)},m.version=n,m.toString=function(){return"You are running Eve "+n},e.exports?e.exports=m:t.eve=m})(L0)}(za)),za.exports}(function(e){if(typeof fg=="function")var t=dg();(function(){function n(y){var _=function(N){_.parse(N)};return _.mode="text",_.type=String(y||"html").toLowerCase(),_.textchunk="",_.raw="",_.parse=l,_.on=o,_.event=s,_.end=r,_}function i(y,_,N){y==`
48
+ `&&this.event("newline"),m[this.mode].call(this,y,_,N)}function r(){i.call(this,"eof"),this.event("eof")}function s(y,_,N){typeof t=="function"&&t("elemental."+y+"."+_,null,_,N||"",this.raw);for(var C=this.events&&this.events[y],A=C&&C.length;A--;)try{this.events[y][A](_,N||"",this.raw)}catch{}this.raw=""}function o(y,_){this.events=this.events||{},this.events[y]=this.events[y]||[],this.events[y].push(_)}function a(y,_){return y&&(y.charAt?y.charAt(_):y[_])}function l(y){y=y||Object(y);for(var _=1,N=y.length+1,C,A,V=a(y,0);_<N;_++)C=A,A=V,V=a(y,_),this.raw+=A,i.call(this,A,V,C);this._beforeEnd=function(){i.call(this,"","",A)}}var f=/[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u2028\u2029\u202f\u205f\u3000]/,p=function(){for(var y in this.attr)this.attr.hasOwnProperty(y)&&this.event("attr",y,{value:this.attr[y],tagname:this.tagname,attr:this.attr})},m={text:function(y,_,N){switch(y){case"<":case"eof":this.nodename="",this.attr={},this.mode="tag name start",this.raw=this.raw.slice(0,-1),this.textchunk&&this.event("text",this.textchunk),this.raw+=y,this.textchunk="";break;default:this.textchunk+=y}},special:function(y,_,N){if(N=="!"&&y=="-"&&_=="-")this.mode="comment start";else{if(this.textchunk=="[CDATA"&&y=="["){this.mode="cdata",this.textchunk="";return}if(y==">"||y=="eof"){this.event("special",this.textchunk),this.mode="text",this.textchunk="";return}this.textchunk+=y}},cdata:function(y,_,N){N=="]"&&y=="]"&&_==">"?(this.mode="cdata end",this.textchunk=this.textchunk.slice(0,-1)):(y=="eof"&&m["cdata end"].call(this),this.textchunk+=y)},"cdata end":function(y,_,N){this.event("cdata",this.textchunk),this.textchunk="",this.mode="text"},"comment start":function(y,_,N){_==">"||y=="eof"?(this.event("comment",""),this.mode="comment instant end"):this.mode="comment"},"comment instant end":function(y,_,N){this.mode="text"},comment:function(y,_,N){y=="-"&&N=="-"&&_==">"?(this.mode="comment end",this.textchunk=this.textchunk.slice(0,-1)):y=="eof"?this.event("comment",this.textchunk):this.textchunk+=y},"comment end":function(y,_,N){this.event("comment",this.textchunk),this.textchunk="",this.mode="text"},declaration:function(y,_,N){y=="?"&&_==">"?this.mode="declaration end":(y=="eof"&&this.event("comment",this.textchunk),this.textchunk+=y)},"declaration end":function(y,_,N){this.event("comment",this.textchunk),this.textchunk="",this.mode="text"},"tag name start":function(y,_,N){if(y=="eof")this.event("text","<");else if(!f.test(y)){if(this.mode="tag name",y=="/"){this.mode="close tag name start";return}if(y=="!"){this.mode="special",this.textchunk="";return}if(y=="?"){this.mode="declaration";return}m[this.mode].call(this,y,_,N)}},"close tag name start":function(y,_,N){f.test(y)||(this.mode="close tag name",this.tagname="",this.nodename="",m[this.mode].call(this,y,_,N))},"close tag name":function(y,_,N){if(f.test(y))this.tagname=this.nodename;else switch(y){case">":this.event("/tag",this.tagname||this.nodename),this.mode="text";break;default:!this.tagname&&(this.nodename+=y)}},"tag name":function(y,_,N){if(f.test(y))this.tagname=this.nodename,this.nodename="",this.mode="attr start";else switch(y){case">":this.event("tag",this.nodename),this.mode="text";break;default:this.nodename+=y}},"attr start":function(y,_,N){f.test(y)||(this.mode="attr",this.nodename="",m[this.mode].call(this,y,_,N))},attr:function(y,_,N){if(f.test(y)||y=="=")this.attr[this.nodename]="",this.mode="attr value start";else switch(y){case">":this.nodename=="/"?(delete this.attr["/"],this.event("tag",this.tagname,this.attr),p.call(this),this.event("/tag",this.tagname,!0)):(this.nodename&&(this.attr[this.nodename]=""),this.event("tag",this.tagname,this.attr),p.call(this)),this.mode="text";break;default:this.nodename+=y}},"attr value start":function(y,_,N){if(!f.test(y)){if(this.mode="attr value",this.quote=!1,y=="'"||y=='"'){this.quote=y;return}m[this.mode].call(this,y,_,N)}},"attr value":function(y,_,N){if(f.test(y)&&!this.quote)this.mode="attr start";else if(y==">"&&!this.quote)this.event("tag",this.tagname,this.attr),this.mode="text";else switch(y){case'"':case"'":this.quote==y&&N!="\\"&&(this.mode="attr start");break;default:this.attr[this.nodename]+=y}}};n.version="0.2.1",e.elemental=n,e.eve=t})()})(wh);const Ch=ya(wh),Th=[1,0,0,1,0,0],kh=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];class $e{value;matrix3d;isEverTo3d=!1;_prev_translate_z=0;_prev_rotate=0;_prev_rotate_x=0;_prev_rotate_y=0;_prev_rotate_z=0;_prev_scale_z=1;constructor(t=Th){this.value=Array.from(t),this.matrix3d=this.toMatrix3D()}unit(){return this.value=Array.from(Th),this.matrix3d=this.toMatrix3D(),this}transformPoint(t,n,i=0,r=0){const s=t-i,o=n-r;return t=s*this.value[0]+o*this.value[2]+this.value[4],n=s*this.value[1]+o*this.value[3]+this.value[5],[t+i,n+r]}fromString(t){const n=_u("number",t);return n.length===6?n.forEach((i,r)=>{i.fullMatch&&(this.value[r]=parseFloat(i.fullMatch))}):this.unit(),this}toMatrix3D(t=this.matrix3d){const n=[this.value[0],this.value[1],0,0,this.value[2],this.value[3],0,0,0,0,1,0,this.value[4],this.value[5],0,1];return t?(t.value=n,t):new ji(n)}offset(t=0,n=0){return[t-this.value[4],n-this.value[5]]}clone(){return new $e(this.value)}multiply(t){const n=this.value;let i;t instanceof $e?i=t.value:i=t;const r=n[0]*i[0]+n[2]*i[1],s=n[1]*i[0]+n[3]*i[1],o=n[0]*i[2]+n[2]*i[3],a=n[1]*i[2]+n[3]*i[3],l=n[0]*i[4]+n[2]*i[5]+n[4],f=n[1]*i[4]+n[3]*i[5]+n[5];return n[0]=r,n[1]=s,n[2]=o,n[3]=a,n[4]=l,n[5]=f,this}inverse(){const t=new $e(this.value),n=t.value,i=1/(n[0]*n[3]-n[1]*n[2]),r=n[3]*i,s=-n[1]*i,o=-n[2]*i,a=n[0]*i,l=i*(n[2]*n[5]-n[3]*n[4]),f=i*(n[1]*n[4]-n[0]*n[5]);return n[0]=r,n[1]=s,n[2]=o,n[3]=a,n[4]=l,n[5]=f,t}translate(t,n){return this.matrix3d.translate(t,n,0),this.multiply([1,0,0,1,t,n])}translateTo(t,n){const i=this.offset(t,n);return this.translate(i[0],i[1])}translateX(t){return this.translate(t,0)}translateXTo(t){return this.translateTo(t,this.value[5])}translateY(t){return this.translate(0,t)}translateYTo(t){return this.translateTo(this.value[4],t)}translateZ(t){return this.isEverTo3d=!0,this.matrix3d.translate(0,0,t)}translateZTo(t){return this.translateZ(t-this._prev_translate_z),this._prev_translate_z=t,this}translate3d(t,n,i){return this.isEverTo3d=!0,this.matrix3d.translate(t,n,i)}translate3dTo(t,n,i){return this.translate3d(t-this.matrix3d.value[12],t-this.matrix3d.value[13],i-this._prev_translate_z),this._prev_translate_z=i,this}rotate(t,n=0,i=0){const r=$a(t),s=+Math.cos(r).toFixed(9),o=+Math.sin(r).toFixed(9);return this.multiply([s,o,-o,s,n,i]),this.translate(-n,-i),this}rotateTo(t,n=0,i=0){return this.rotate(t-this._prev_rotate,n,i),this._prev_rotate=t,this}rotateX(t){return this.isEverTo3d=!0,this.matrix3d.rotate("x",t)}rotateXTo(t){return this.rotateX(t-this._prev_rotate_x),this._prev_rotate_x=t,this}rotateY(t){return this.isEverTo3d=!0,this.matrix3d.rotate("y",t)}rotateYTo(t){return this.rotateY(t-this._prev_rotate_y),this._prev_rotate_y=t,this}rotateZ(t){return this.isEverTo3d=!0,this.matrix3d.rotate("z",t)}rotateZTo(t){return this.rotateZ(t-this._prev_rotate_z),this._prev_rotate_z=t,this}rotate3d(t,n,i){return this.isEverTo3d=!0,this.matrix3d.rotate("x",t).rotate("y",n).rotate("z",i)}rotate3dTo(t,n,i){return this.rotate3d(t-this._prev_rotate_x,n-this._prev_rotate_y,i-this._prev_rotate_z),this._prev_rotate_x=t,this._prev_rotate_y=n,this._prev_rotate_z=i,this}scale(t,n=t,i=0,r=0){return this.matrix3d.scale(t,n,1),this.translate(i,r),this.multiply([t,0,0,n,0,0]),this.translate(-i,-r),this}scaleTo(t,n=t,i=0,r=0){return this.scale(t/this.value[0],n/this.value[3],i,r),this}scaleX(t){return this.scale(t,1)}scaleXTo(t){return this.scale(t/this.value[0],1)}scaleY(t){return this.scale(1,t)}scaleYTo(t){return this.scale(1,t/this.value[3])}scaleZ(t){return this.isEverTo3d=!0,this.matrix3d.scale(1,1,t)}scaleZTo(t){return this.scaleZ(t/this._prev_scale_z),this._prev_scale_z=t,this}scale3d(t,n,i){return this.isEverTo3d=!0,this.matrix3d.scale(t,n,i)}scale3dTo(t,n,i){return this.scale3d(t/this.matrix3d.value[0],n/this.matrix3d.value[5],i/this._prev_scale_z),this._prev_scale_z=i,this}skew(t,n=t){const i=t*Math.PI/180,r=n*Math.PI/180,s=Math.tan(i),o=Math.tan(r);return this.multiply([1,o,s,1,0,0])}skewTo(t,n=t){return this.skew(t-this.value[2],n-this.value[1])}skewX(t){return this.skew(t,this.value[1])}skewXTo(t){return this.skewTo(t,this.value[1])}skewY(t){return this.skew(this.value[2],t)}skewYTo(t){return this.skewTo(this.value[2],t)}skewZ(t){return this}skewZTo(t){return this}skew3d(t,n,i){return this}skew3dTo(t,n,i){return this}split(){const t={dx:0,dy:0,scalex:1,scaley:1,shear:1,rotate:0,isSimple:!0,isSuperSimple:!0,noRotation:!1};t.dx=this.value[4],t.dy=this.value[5];const n=[[this.value[0],this.value[2]],[this.value[1],this.value[3]]];t.scalex=Math.sqrt(Math.pow(n[0][0],2)+Math.pow(n[0][1],2));let i=_h(n[0][0],n[0][1]);n[0][0]=i.x,n[0][1]=i.y,t.shear=n[0][0]*n[1][0]+n[0][1]*n[1][1],n[1]=[n[1][0]-n[0][0]*t.shear,n[1][1]-n[0][1]*t.shear],t.scaley=Math.sqrt(Math.pow(n[1][0],2)+Math.pow(n[1][1],2)),i=_h(n[1][0],n[1][1]),n[1][0]=i.x,n[1][1]=i.y,t.shear/=t.scaley;const r=-n[0][1],s=n[1][1];return s<0?(t.rotate=sg(Math.acos(s)),r<0&&(t.rotate=360-t.rotate)):t.rotate=$a(Math.asin(r)),t.isSimple=!+t.shear.toFixed(9)&&(t.scalex.toFixed(9)==t.scaley.toFixed(9)||!t.rotate),t.isSuperSimple=!+t.shear.toFixed(9)&&t.scalex.toFixed(9)==t.scaley.toFixed(9)&&!t.rotate,t.noRotation=!+t.shear.toFixed(9)&&!t.rotate,t}static split2(t){const n=Math.atan2(t[1],t[0]),i=Math.pow(t[0],2)+Math.pow(t[1],2),r=Math.sqrt(i),s=(t[0]*t[3]-t[2]*t[1])/r;return{rotation:n/(Math.PI/180),scaleX:r,scaleY:s,x:t[4],y:t[5]}}static getGroupCoords(t,n){const i=t[0],r=t[1],s=t[2],o=t[3],a=t[4],l=t[5],f=n[0],p=n[1],m=n[2],y=n[3],_=n[4],N=n[5],C=f*y,A=p*m,V=(m*r-i*y)/(A-C),I=(f*r-i*p)/(C-A),M=(m*o-s*y)/(A-C),j=(f*o-s*p)/(C-A),q=(m*(l-N)+y*(_-a))/(A-C),X=(f*(l-N)+p*(_-a))/(C-A),$=[V,I,M,j,q,X];return $e.split2($)}toTransformString(){const t=this.split();return t.isSimple?(t.scalex=+t.scalex.toFixed(4),t.scaley=+t.scaley.toFixed(4),t.rotate=+t.rotate.toFixed(4),(t.dx&&t.dy?"t"+[t.dx,t.dy]:"")+(t.scalex!=1||t.scaley!=1?"s"+[t.scalex,t.scaley,0,0]:"")+(t.rotate?"r"+[t.rotate,0,0]:"")):"matrix"+[this.value[0],this.value[1],this.value[2],this.value[3],this.value[4],this.value[5]]}toString(){return this.isEverTo3d?this.toMatrix3DString():`matrix(${this.value.map(t=>Eu(t,6)).join(",")})`}toMatrix3DString(){return this.matrix3d.toString()}toFilter(){return"progid:DXImageTransform.Microsoft.Matrix(M11="+this.value[0]+", M12="+this.value[2]+", M21="+this.value[1]+", M22="+this.value[3]+", Dx="+this.value[4]+", Dy="+this.value[5]+", sizingmethod='auto expand')"}}class ji{value;constructor(t=kh){this.value=Array.from(t)}unit(){return this.value=Array.from(kh),this}fromString(t){const n=_u("number",t);return n.length===16?n.forEach((i,r)=>{i.fullMatch&&(this.value[r]=parseFloat(i.fullMatch))}):this.unit(),this}toMatrix(t){const n=[this.value[0],this.value[1],this.value[4],this.value[5],this.value[12],this.value[13]];return t?(t.value=n,t):new $e(n)}multiplyMatrix(t){const n=this.value[0],i=this.value[1],r=this.value[2],s=this.value[3],o=this.value[4],a=this.value[5],l=this.value[6],f=this.value[7],p=this.value[8],m=this.value[9],y=this.value[10],_=this.value[11],N=this.value[12],C=this.value[13],A=this.value[14],V=this.value[15],I=t.value[0],M=t.value[1],j=t.value[2],q=t.value[3],X=I*n+M*o+j*p+q*N,$=I*i+M*a+j*m+q*C,dt=I*r+M*l+j*y+q*A,xt=I*s+M*f+j*_+q*V;return new $e([X,$,dt,xt,0,0])}multiply(t){const n=new $e([t.value[0],t.value[1],t.value[2],t.value[3],0,0]),i=new $e([t.value[4],t.value[5],t.value[6],t.value[7],0,0]),r=new $e([t.value[8],t.value[9],t.value[10],t.value[11],0,0]),s=new $e([t.value[12],t.value[13],t.value[14],t.value[15],0,0]),o=this.multiplyMatrix(n),a=this.multiplyMatrix(i),l=this.multiplyMatrix(r),f=this.multiplyMatrix(s);return this.value[0]=o.value[0],this.value[1]=o.value[1],this.value[2]=o.value[2],this.value[3]=o.value[3],this.value[4]=a.value[0],this.value[5]=a.value[1],this.value[6]=a.value[2],this.value[7]=a.value[3],this.value[8]=l.value[0],this.value[9]=l.value[1],this.value[10]=l.value[2],this.value[11]=l.value[3],this.value[12]=f.value[0],this.value[13]=f.value[1],this.value[14]=f.value[2],this.value[15]=f.value[3],this}translate(t=0,n=0,i=0){return this.multiply(new ji([1,0,0,0,0,1,0,0,0,0,1,0,t,n,i,1]))}scale(t=1,n=1,i=1){return this.multiply(new ji([t,0,0,0,0,n,0,0,0,0,i,0,0,0,0,1]))}rotate(t,n){const i=$a(n),r=Math.sin,s=Math.cos;let o;switch(t){case"x":o=[1,0,0,0,0,s(i),r(i),0,0,-r(i),s(i),0,0,0,0,1];break;case"y":o=[s(i),0,-r(i),0,0,1,0,0,r(i),0,s(i),0,0,0,0,1];break;case"z":o=[s(i),r(i),0,0,-r(i),s(i),0,0,0,0,1,0,0,0,0,1];break}return this.multiply(new ji(o))}toString(){return`matrix3d(${this.value.map(t=>Eu(t,6)).join(",")})`}}function Br(e){const t=new $e;return e.replace(/([a-z0-9]+)\s*\(?\s*((-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)*[a-z%]*\s*,?\s*)+)\)?/gi,function(n,i,r){r.indexOf(",")>=0?r=r.split(/\s*,\s*/):r=r.split(/\s+/);const s=[];for(let o=0,a=r.length;o<a;o++)r[o].trim()&&s.push(parseFloat(""+r[o]));switch(i.toLowerCase()){case"t":case"translate":t.translate(s[0],s[1]);break;case"translatex":t.translateX(s[0]);break;case"translatey":t.translateY(s[0]);break;case"translatez":t.translateZ(s[0]);break;case"translate3d":t.translate3d(s[0],s[1],s[2]);break;case"r":case"rotate":t.rotate(s[0],s[1]??0,s[2]??0);break;case"rotatex":t.rotateX(s[0]);break;case"rotatey":t.rotateY(s[0]);break;case"rotatez":t.rotateZ(s[0]);break;case"rotate3d":t.rotate3d(s[0],s[1],s[2]);break;case"s":case"scale":t.scale(s[0],s[1]??s[0]);break;case"scalex":t.scaleX(s[0]);break;case"scaley":t.scaleY(s[0]);break;case"scalez":t.scaleZ(s[0]);break;case"scale3d":t.scale3d(s[0],s[1],s[2]);break;case"skew":t.skew(s[0],s[1]??0);break;case"skewx":t.skewX(s[0]);break;case"skewy":t.skewY(s[0]);break;case"skewz":t.skewZ(s[0]);break;case"skew3d":t.skew3d(s[0],s[1],s[2]);break;case"m":case"matrix":t.multiply([s[0],s[1],s[2],s[3],s[4],s[5]]);break;case"matrix3d":t.matrix3d.multiply(new ji(s));break}return""}),t}function Ba(e,t,n,i,r,s){if(typeof r>"u"||typeof s>"u"){const o=e-n,a=t-i;return!o&&!a?0:(180+Math.atan2(-a,-o)*180/Math.PI+360)%360}else return Ba(e,t,r,s)-Ba(n,i,r,s)}const Zt=Ch.eve,pg=Ch.elemental,Zs={cursor:1,cx:0,cy:0,fill:1,"fill-opacity":0,font:1,"font-family":1,"font-size":0,"font-style":1,"font-weight":1,height:0,"letter-spacing":0,opacity:0,r:0,rx:0,ry:0,src:1,stroke:1,"stroke-linecap":1,"stroke-linejoin":1,"stroke-miterlimit":0,"stroke-opacity":0,"stroke-width":0,"text-anchor":1,width:0,x:0,y:0};function Ga(e,t,n){for(var i=(e+"").split(";"),r=/^\s+|\s+$/g,s,o=0,a=i.length;o<a;o++){var l=i[o].split(":");s=l[0].replace(r,"").replace(/[A-Z]/g,function(f){return"-"+f.toLowerCase()}),(!n||s in n)&&(t[s]=l[1].replace(r,""),n&&!n[s]&&(t[s]=parseFloat(t[s])))}}function mg(e){const t=pg(),n=[],i=[],r={};let s,o,a;const l={};function f(p,m){return function(y,_){const N={type:m||p};n.push(N);for(let C in _)Object.prototype.hasOwnProperty.call(_,C)&&Zt("rappar."+p+".attr."+C,N,_[C],C);Zt("rappar."+p+".attrend",N,_)}}return Zt.on("rappar.polygon.attr.points",function(p){this.path="M"+p+"z",Zt.stop()}),Zt.on("rappar.image.attr.xlink:href",function(p){this.src=p,Zt.stop()}),Zt.on("rappar.path.attr.d",function(p){this.path=p,Zt.stop()}),Zt.on("rappar.*.attr.transform",function(p){this.transform=Br(p).toTransformString(),Zt.stop()}),Zt.on("rappar.*.attr.fill",function(p){var m=p.match(/url\(#([^)]+)\)/),y=this;m&&(m=m[1],r[m]?this.fill=r[m]:Zt.on("rappar.found."+m,function(_){y.fill=_}),Zt.stop())}),Zt.on("rappar.line.attrend",function(p){this.path="M"+[p.x1,p.y1,p.x2,p.y2]}),Zt.on("rappar.*.attrend",function(){for(var p=i.length;p--;)if(i[p]!=this){let y="",_="";for(var m in i[p])m=="transform"?y=i[p].transform:m=="class"&&l["."+i[p][m]]?_=l["."+i[p][m]].join(";")+";"+_:m=="id"&&l["#"+i[p][m]]?_=l["#"+i[p][m]].join(";")+";"+_:typeof this[m]>"u"&&(this[m]=i[p][m]);this.type&&(typeof this.transform>"u"?this.transform=y:this.transform+=y,typeof this.style>"u"?this.style=_:this.style=_+this.style,Ga(this.style,this,Zs))}}),Zt.on("rappar.*.attr.style",function(p){var m=function(){Ga(p,this,Zs),Zt.unbind("rappar.*.attrend",m)};Zt.on("rappar.*.attrend",m),Zt.stop()}),Zt.on("rappar.*.attr.*",function(p,m){m in Zs&&(this[m]=Zs[m]?p:parseFloat(p))}),Zt.on("elemental.tag.circle",f("circle")),Zt.on("elemental.tag.ellipse",f("ellipse")),Zt.on("elemental.tag.polygon",f("polygon","path")),Zt.on("elemental.tag.path",f("path")),Zt.on("elemental.tag.line",f("line","path")),Zt.on("elemental.tag.rect",f("rect")),Zt.on("elemental.tag.image",f("image")),Zt.on("elemental.tag.text",f("text")),Zt.on("elemental.text",function(p){try{const m=j0(p);for(let y of m.stylesheet.rules){for(let _ of y.selectors)l[_]=[];for(let _ of y.declarations)for(let N of y.selectors)l[N].push(`${_.property}:${_.value}`)}}catch{}}),Zt.on("elemental.tag.svg",function(p,m){let y=m.width||0,_=m.height||0;if(!y||!_){const N=m.viewBox.split(/\s+/gi);y=parseFloat(N[2])-parseFloat(N[0]),_=parseFloat(N[3])-parseFloat(N[1])}n.push({type:"viewbox",width:y,height:_})}),Zt.on("rappar.text.attrend",function(){s="",o=this,this["text-anchor"]=this["text-anchor"]||"start"}),Zt.on("elemental.text",function(p,m,y){o&&(s+=y)}),Zt.on("elemental./tag.text",function(){o.text=s,o=null}),Zt.on("elemental.tag.g",function(p,m){var y={};i.push(y);for(var _ in m)Object.prototype.hasOwnProperty.call(m,_)&&(y[_]=m[_],Zt("rappar.g.attr."+_,y,m[_],_));Zt("rappar.g.attrend",y)}),Zt.on("elemental./tag.g",function(p,m){i.pop()}),Zt.on("elemental.tag.linearGradient",function(p,m){a={id:m.id,angle:+(360+Ba(m.x1,m.y1,m.x2,m.y2,m.x1+100,m.y1)).toFixed(2),stops:[]}}),Zt.on("elemental./tag.linearGradient",function(){for(var p=[a.angle],m,y=0,_=a.stops.length;y<_;y++)m=a.stops[y],y&&y!=_-1?p.push(m.color+":"+m.offset):p.push(m.color);r[a.id]=p.join("-"),Zt("rappar.found."+a.id,null,r[a.id])}),Zt.on("elemental.tag.radialGradient",function(p,m){a={id:m.id,stops:[]}}),Zt.on("elemental./tag.radialGradient",function(){for(var p=[],m,y=0,_=a.stops.length;y<_;y++)m=a.stops[y],y&&y!=_-1?p.push(m.color+":"+m.offset):p.push(m.color);r[a.id]="r"+p.join("-"),Zt("rappar.found."+a.id,null,r[a.id])}),Zt.on("elemental.tag.stop",function(p,m){var y={};m.style&&Ga(m.style,y),y.offset=y.offset||m.offset,y.color=y["stop-color"]||m["stop-color"],y.opacity=y["stop-opacity"]||m["stop-opacity"],~(y.offset+"").indexOf("%")?y.offset=parseFloat(y.offset):y.offset=parseFloat(y.offset)*100,y.offset=+y.offset.toFixed(2),a.stops.push(y)}),t(e),t.end(),n}function gg(e){return typeof e!="string"?!1:(e=e.trim(),/^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(e)&&/[\dz]$/i.test(e)&&e.length>4)}const ja={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},vg=/([astvzqmhlc])([^astvzqmhlc]*)/gi,yg=/-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/gi;function _g(e){const t=e.match(yg);return t?t.map(Number):[]}function Ha(e){const t=[];return e.replace(vg,function(n,i,r){let s=i.toLowerCase();for(r=_g(r),s=="m"&&r.length>2&&(t.push([i].concat(r.splice(0,2))),s="l",i=i=="m"?"l":"L");;){if(r.length==ja[s])return r.unshift(i),t.push(r);if(r.length<ja[s])throw new Error("malformed path data");t.push([i].concat(r.splice(0,ja[s])))}}),t}function Ua(e){var t=0,n=0,i=0,r=0;return e.map(function(s){s=s.slice();var o=s[0],a=o.toUpperCase();if(o!=a)switch(s[0]=a,o){case"a":s[6]+=i,s[7]+=r;break;case"v":s[1]+=r;break;case"h":s[1]+=i;break;default:for(var l=1;l<s.length;)s[l++]+=i,s[l++]+=r}switch(a){case"Z":i=t,r=n;break;case"H":i=s[1];break;case"V":r=s[1];break;case"M":i=t=s[1],r=n=s[2];break;default:i=s[s.length-2],r=s[s.length-1]}return s})}const Gr=Math.PI*2;function Sh(e,t,n,i){const r=e*i-t*n<0?-1:1;let s=e*n+t*i;return s>1&&(s=1),s<-1&&(s=-1),r*Math.acos(s)}function xg(e,t,n,i,r,s,o,a,l,f){const p=f*(e-n)/2+l*(t-i)/2,m=-l*(e-n)/2+f*(t-i)/2,y=o*o,_=a*a,N=p*p,C=m*m;let A=y*_-y*C-_*N;A<0&&(A=0),A/=y*C+_*N,A=Math.sqrt(A)*(r===s?-1:1);const V=A*o/a*m,I=A*-a/o*p,M=f*V-l*I+(e+n)/2,j=l*V+f*I+(t+i)/2,q=(p-V)/o,X=(m-I)/a,$=(-p-V)/o,dt=(-m-I)/a,xt=Sh(1,0,q,X);let It=Sh(q,X,$,dt);return s===0&&It>0&&(It-=Gr),s===1&&It<0&&(It+=Gr),[M,j,xt,It]}function bg(e,t){const n=1.3333333333333333*Math.tan(t/4),i=Math.cos(e),r=Math.sin(e),s=Math.cos(e+t),o=Math.sin(e+t);return[i,r,i-r*n,r+i*n,s+o*n,o-s*n,s,o]}function wg(e,t,n,i,r,s,o,a,l){const f=Math.sin(l*Gr/360),p=Math.cos(l*Gr/360),m=p*(e-n)/2+f*(t-i)/2,y=-f*(e-n)/2+p*(t-i)/2;if(m===0&&y===0)return[];if(o===0||a===0)return[];o=Math.abs(o),a=Math.abs(a);const _=m*m/(o*o)+y*y/(a*a);_>1&&(o*=Math.sqrt(_),a*=Math.sqrt(_));const N=xg(e,t,n,i,r,s,o,a,f,p),C=[];let A=N[2],V=N[3];const I=Math.max(Math.ceil(Math.abs(V)/(Gr/4)),1);V/=I;for(let M=0;M<I;M++)C.push(bg(A,V)),A+=V;return C.map(M=>{for(let j=0;j<M.length;j+=2){let q=M[j+0],X=M[j+1];q*=o,X*=a;const $=p*q-f*X,dt=f*q+p*X;M[j+0]=$+N[0],M[j+1]=dt+N[1]}return M})}function Wa(e){for(var t,n=[],i=0,r=0,s=0,o=0,a=null,l=null,f=0,p=0,m=0,y=e.length;m<y;m++){var _=e[m],N=_[0];switch(N){case"M":s=_[1],o=_[2];break;case"A":var C=wg(f,p,_[6],_[7],_[4],_[5],_[1],_[2],_[3]);if(!C.length)continue;C=C.map(j=>{const[q,X,$,dt,xt,It,Pt,bt]=j;return{x1:$,y1:dt,x2:xt,y2:It,x:Pt,y:bt}});for(var A=0,V;A<C.length;A++)V=C[A],_=["C",V.x1,V.y1,V.x2,V.y2,V.x,V.y],A<C.length-1&&n.push(_);break;case"S":var I=f,M=p;(t=="C"||t=="S")&&(I+=I-i,M+=M-r),_=["C",I,M,_[1],_[2],_[3],_[4]];break;case"T":t=="Q"||t=="T"?(a=f*2-a,l=p*2-l):(a=f,l=p),_=Nh(f,p,a,l,_[1],_[2]);break;case"Q":a=_[1],l=_[2],_=Nh(f,p,_[1],_[2],_[3],_[4]);break;case"L":_=Qs(f,p,_[1],_[2]);break;case"H":_=Qs(f,p,_[1],p);break;case"V":_=Qs(f,p,f,_[1]);break;case"Z":_=Qs(f,p,s,o);break}t=N,f=_[_.length-2],p=_[_.length-1],_.length>4?(i=_[_.length-4],r=_[_.length-3]):(i=f,r=p),n.push(_)}return n}function Qs(e,t,n,i){return["C",e,t,n,i,n,i]}function Nh(e,t,n,i,r,s){return["C",e/3+.6666666666666666*n,t/3+.6666666666666666*i,r/3+.6666666666666666*n,s/3+.6666666666666666*i,r,s]}const Eg=e=>Array.isArray(e);function Hi(e){if(!(this instanceof Hi))return new Hi(e);this._path=Eg(e)?e:Ha(e),this._path=Ua(this._path),this._path=Tg(this._path),this._path=Cg(this._path)}Hi.prototype.at=function(e,t){return this._walk(e,t).pos},Hi.prototype.length=function(){return this._walk(null).length},Hi.prototype._walk=function(e,t){let n=[0,0],i=[0,0,0],r=[0,0],s=0;for(let p=0;p<this._path.length;p++){let m=this._path[p];if(m[0]==="M"){if(n[0]=m[1],n[1]=m[2],e===0)return{length:s,pos:n}}else if(m[0]==="C"){i[0]=r[0]=n[0],i[1]=r[1]=n[1],i[2]=s;let y=100;for(let _=0;_<=y;_++){let N=_/y,C=o(m,N),A=a(m,N);if(s+=qa(n[0],n[1],C,A),n[0]=C,n[1]=A,typeof e=="number"&&s>=e){let V=(s-e)/(s-i[2]),I=[n[0]*(1-V)+i[0]*V,n[1]*(1-V)+i[1]*V];return{length:s,pos:I}}i[0]=n[0],i[1]=n[1],i[2]=s}}else if(m[0]==="Q"){i[0]=r[0]=n[0],i[1]=r[1]=n[1],i[2]=s;let y=100;for(let _=0;_<=y;_++){let N=_/y,C=l(m,N),A=f(m,N);if(s+=qa(n[0],n[1],C,A),n[0]=C,n[1]=A,typeof e=="number"&&s>=e){let V=(s-e)/(s-i[2]),I=[n[0]*(1-V)+i[0]*V,n[1]*(1-V)+i[1]*V];return{length:s,pos:I}}i[0]=n[0],i[1]=n[1],i[2]=s}}else if(m[0]==="L"){if(i[0]=n[0],i[1]=n[1],i[2]=s,s+=qa(n[0],n[1],m[1],m[2]),n[0]=m[1],n[1]=m[2],typeof e=="number"&&s>=e){let y=(s-e)/(s-i[2]),_=[n[0]*(1-y)+i[0]*y,n[1]*(1-y)+i[1]*y];return{length:s,pos:_}}i[0]=n[0],i[1]=n[1],i[2]=s}}return{length:s,pos:n};function o(p,m){return Math.pow(1-m,3)*r[0]+3*Math.pow(1-m,2)*m*p[1]+3*(1-m)*Math.pow(m,2)*p[3]+Math.pow(m,3)*p[5]}function a(p,m){return Math.pow(1-m,3)*r[1]+3*Math.pow(1-m,2)*m*p[2]+3*(1-m)*Math.pow(m,2)*p[4]+Math.pow(m,3)*p[6]}function l(p,m){return Math.pow(1-m,2)*r[0]+2*(1-m)*m*p[1]+Math.pow(m,2)*p[3]}function f(p,m){return Math.pow(1-m,2)*r[1]+2*(1-m)*m*p[2]+Math.pow(m,2)*p[4]}};function qa(e,t,n,i){let r=e-n,s=t-i;return Math.sqrt(r*r+s*s)}function Cg(e){let t,n=0,i=0,r={S:{to:"C",x:3},T:{to:"Q",x:1}};for(let s=0,o=e.length;s<o;s++){let a=e[s],l=r[a[0]];l&&(a[0]=l.to,t&&(t[0]===l.to?(n=2*t[l.x+2]-t[l.x],i=2*t[l.x+3]-t[l.x+1]):(n=t[t.length-2],i=t[t.length-1])),a.splice(1,0,n,i)),t=a}return e}function Tg(e){let t=[],n=["L",0,0],i;for(let r=0,s=e.length;r<s;r++){let o=e[r];switch(o[0]){case"M":n=["L",o[1],o[2]],t.push(o);break;case"Z":t.push(n);break;case"H":i=t[t.length-1]||["L",0,0],t.push(["L",o[1],i[i.length-1]]);break;case"V":i=t[t.length-1]||["L",0,0],t.push(["L",i[i.length-2],o[1]]);break;default:t.push(o)}}return t}const Ya=e=>{if(typeof e=="function"||Object(e)!==e)return e;const t=new e.constructor;for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=Ya(e[n]));return t};function Xa(e){const t=Xa.ps=Xa.ps||{};return t[e]?t[e].sleep=100:t[e]={sleep:100},setTimeout(()=>{for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&n!==e&&(t[n].sleep--,t[n].sleep||delete t[n])}),t[e]}function jr(e,t,n,i){return e==null&&(e=t=n=i=0),t==null&&(t=e.y,n=e.width,i=e.height,e=e.x),{x:e,y:t,width:n,w:n,height:i,h:i,x2:e+n,y2:t+i,cx:e+n/2,cy:t+i/2,r1:Math.min(n,i)/2,r2:Math.max(n,i)/2,r0:Math.sqrt(n*n+i*i)/2,path:Mg(e,t,n,i),vb:[e,t,n,i].join(" ")}}function Ph(e,t,n,i,r,s,o,a,l){const f=1-l,p=f**3,m=f**2,y=l*l,_=y*l,N=p*e+m*3*l*n+f*3*l*l*r+_*o,C=p*t+m*3*l*i+f*3*l*l*s+_*a,A=e+2*l*(n-e)+y*(r-2*n+e),V=t+2*l*(i-t)+y*(s-2*i+t),I=n+2*l*(r-n)+y*(o-2*r+n),M=i+2*l*(s-i)+y*(a-2*s+i),j=f*e+l*n,q=f*t+l*i,X=f*r+l*o,$=f*s+l*a,dt=90-Math.atan2(A-I,V-M)*180/Math.PI;return{x:N,y:C,m:{x:A,y:V},n:{x:I,y:M},start:{x:j,y:q},end:{x:X,y:$},alpha:dt}}function Oh(e,t,n,i,r,s,o,a){Array.isArray(e)||(e=[e,t,n,i,r,s,o,a]);const l=Ah(...e);return jr(l.min.x,l.min.y,l.max.x-l.min.x,l.max.y-l.min.y)}function kg(e,t,n){return t>=e.x&&t<=e.x+e.width&&n>=e.y&&n<=e.y+e.height}function Sg(e,t){e=jr(e),t=jr(t);const{x:n,y:i,width:r,height:s}=e,{x:o,y:a,width:l,height:f}=t,p=n+r/2,m=i+s/2,y=o+l/2,_=a+f/2;return Math.abs(p-y)<=(r+l)/2||Math.abs(m-_)<=(s+f)/2}function Ih(e,t,n,i,r){const s=-3*t+9*n-9*i+3*r,o=e*s+6*t-12*n+6*i;return e*o-3*t+3*n}function Mh(e,t,n,i,r,s,o,a,l){l==null&&(l=1),l=Math.max(0,Math.min(l,1));const f=l/2,p=12,m=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],y=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472];let _=0;for(let N=0;N<p;N++){const C=f*m[N]+f,A=Ih(C,e,n,r,o),V=Ih(C,t,i,s,a),I=A*A+V*V;_+=y[N]*Math.sqrt(I)}return f*_}function Ng(e,t,n,i,r,s,o,a){if(Math.max(e,n)<Math.min(r,o)||Math.min(e,n)>Math.max(r,o)||Math.max(t,i)<Math.min(s,a)||Math.min(t,i)>Math.max(s,a))return;const l=(e*i-t*n)*(r-o)-(e-n)*(r*a-s*o),f=(e*i-t*n)*(s-a)-(t-i)*(r*a-s*o),p=(e-n)*(s-a)-(t-i)*(r-o);if(!p)return;const m=l/p,y=f/p,_=Number(m.toFixed(2)),N=Number(y.toFixed(2));if(!(_<Number(Math.min(e,n).toFixed(2))||_>Number(Math.max(e,n).toFixed(2))||_<Number(Math.min(r,o).toFixed(2))||_>Number(Math.max(r,o).toFixed(2))||N<Number(Math.min(t,i).toFixed(2))||N>Number(Math.max(t,i).toFixed(2))||N<Number(Math.min(s,a).toFixed(2))||N>Number(Math.max(s,a).toFixed(2))))return{x:m,y}}function Pg(e,t,n){const i=Oh(e),r=Oh(t);if(!Sg(i,r))return n?0:[];const s=Mh.apply(0,e),o=Mh.apply(0,t),a=Math.ceil(s/8),l=Math.ceil(o/8),f=[],p=[],m={};let y=n?0:[];for(let _=0;_<a+1;_++){const N=Ph.apply(0,e.concat(_/a));f.push({x:N.x,y:N.y,t:_/a})}for(let _=0;_<l+1;_++){const N=Ph.apply(0,t.concat(_/l));p.push({x:N.x,y:N.y,t:_/l})}for(let _=0;_<a;_++)for(let N=0;N<l;N++){const C=f[_],A=f[_+1],V=p[N],I=p[N+1],M=Math.abs(A.x-C.x)<.001?"y":"x",j=Math.abs(I.x-V.x)<.001?"y":"x",q=Ng(C.x,C.y,A.x,A.y,V.x,V.y,I.x,I.y);if(q&&m[q.x.toFixed(4)]!==q.y.toFixed(4)){m[q.x.toFixed(4)]=q.y.toFixed(4);const X=C.t+Math.abs((q[M]-C[M])/(A[M]-C[M]))*(A.t-C.t),$=V.t+Math.abs((q[j]-V[j])/(I[j]-V[j]))*(I.t-V.t);X>=0&&X<=1&&$>=0&&$<=1&&(n?y++:y.push({x:q.x,y:q.y,t1:X,t2:$}))}}return y}function Og(e,t,n){let i,r,s,o,a,l,f,p,m,y,_=n?0:[];for(let N=0,C=e.length;N<C;N++){const A=e[N];if(A[0]==="M")i=a=A[1],r=l=A[2];else{A[0]==="C"?(m=[i,r].concat(A.slice(1)),i=m[6],r=m[7]):(m=[i,r,i,r,a,l,a,l],i=a,r=l);for(let V=0,I=t.length;V<I;V++){const M=t[V];if(M[0]==="M")s=f=M[1],o=p=M[2];else{M[0]==="C"?(y=[s,o].concat(M.slice(1)),s=y[6],o=y[7]):(y=[s,o,s,o,f,p,f,p],s=f,o=p);const j=Pg(m,y,n);if(n)_+=j;else{for(let q=0,X=j.length;q<X;q++)j[q].segment1=N,j[q].segment2=V,j[q].bez1=m,j[q].bez2=y;_=_.concat(j)}}}}}return _}function Ig(e){const t=Xa(e);if(t.bbox)return Ya(t.bbox);if(!e)return jr();let n=0,i=0,r=[],s=[],o=[];for(let y=0,_=e.length;y<_;y++)if(o=e[y],o[0]==="M")n=o[1],i=o[2],r.push(n),s.push(i);else{const N=Ah(n,i,o[1],o[2],o[3],o[4],o[5],o[6]);r=r.concat(N.min.x,N.max.x),s=s.concat(N.min.y,N.max.y),n=o[5],i=o[6]}const a=Math.min.apply(0,r),l=Math.min.apply(0,s),f=Math.max.apply(0,r),p=Math.max.apply(0,s),m=jr(a,l,f-a,p-l);return t.bbox=Ya(m),m}function Mg(e,t,n,i,r){return r?[["M",Number(e)+Number(r),t],["l",n-r*2,0],["a",r,r,0,0,1,r,r],["l",0,i-r*2],["a",r,r,0,0,1,-r,r],["l",r*2-n,0],["a",r,r,0,0,1,-r,-r],["l",0,r*2-i],["a",r,r,0,0,1,r,-r],["z"]]:[["M",e,t],["l",n,0],["l",0,i],["l",-n,0],["z"]]}function Ah(e,t,n,i,r,s,o,a){const l=[],f=[[],[]];let p,m,y,_,N,C,A,V;for(let q=0;q<2;++q){if(q===0?(m=6*e-12*n+6*r,p=-3*e+9*n-9*r+3*o,y=3*n-3*e):(m=6*t-12*i+6*s,p=-3*t+9*i-9*s+3*a,y=3*i-3*t),Math.abs(p)<1e-12){if(Math.abs(m)<1e-12)continue;_=-y/m,_>0&&_<1&&l.push(_);continue}A=m*m-4*y*p,V=Math.sqrt(A),!(A<0)&&(N=(-m+V)/(2*p),N>0&&N<1&&l.push(N),C=(-m-V)/(2*p),C>0&&C<1&&l.push(C))}let I=l.length,M;const j=I;for(;I--;)_=l[I],M=1-_,f[0][I]=M*M*M*e+3*M*M*_*n+3*M*_*_*r+_*_*_*o,f[1][I]=M*M*M*t+3*M*M*_*i+3*M*_*_*s+_*_*_*a;return f[0][j]=e,f[1][j]=t,f[0][j+1]=o,f[1][j+1]=a,f[0].length=f[1].length=j+2,{min:{x:Math.min.apply(0,f[0]),y:Math.min.apply(0,f[1])},max:{x:Math.max.apply(0,f[0]),y:Math.max.apply(0,f[1])}}}function Ag(e,t,n){const i=Ig(e);return!(!kg(i,t,n)||Og(e,Wa([["M",t,n],["H",i.x2+10]]),1)%2!==1)}const Ka=new Map;function Dh(e){if(Ka.has(e))return Ka.get(e);const t=Hi(e);return Ka.set(e,t),t}function Lh(e){const t=document.createElementNS("http://www.w3.org/2000/svg","path");return t.setAttribute("d",e),t}function Dg(e,t){return Ls?Lh(e).getTotalLength(t):Dh(e).length()}function Lg(e,t){if(Ls)return Lh(e).getPointAtLength(t);{const n=Dh(e),[i,r]=n.at(t);return{x:i,y:r}}}let an=null;function Rg(e,t,n){if(Ls){an||(an=document.createElement("canvas").getContext("2d"));const i=new Path2D(e);return an.isPointInPath(i,t,n)}else return Ag(e,t,n)}function Fg(e,t,n,{lineWidth:i=1,lineCap:r="butt",lineJoin:s="miter"}){if(Ls){if(an||(an=document.createElement("canvas").getContext("2d")),an.isPointInStroke){an.save(),an.lineWidth=i,an.lineCap=r,an.lineJoin=s;const o=new Path2D(e),a=an.isPointInStroke(o,t,n);return an.restore(),a}}else return null}class Za{point;constructor(t){this.point=new Cn(t)}static fromSVGPathData(t){if(t.length<3)throw new Error("Line 参数个数错误");if(t[0].toUpperCase()!=="L")throw new Error("Line command 错误");return new Za({x:t[1],y:t[2]})}toSVGPathData(){return["L",this.point.x,this.point.y]}toSVGPathD(){return"L "+this.point.toSVGPathD()}}const Rh=Za;class Qa extends Rh{rx;ry;xAxisRotate;largeArcFlag;sweepFlag;constructor(t){super(t),this.rx=t.rx,this.ry=t.ry,this.xAxisRotate=t?.xAxisRotate??0,this.largeArcFlag=t?.largeArcFlag??1,this.sweepFlag=t?.sweepFlag??1}static fromSVGPathData(t){if(t.length<8)throw new Error("Arc 参数个数错误");if(t[0].toUpperCase()!=="A")throw new Error("Arc command 错误");return new Qa({x:t[6],y:t[7],rx:t[1],ry:t[2],xAxisRotate:t[3],largeArcFlag:t[4],sweepFlag:t[5]})}toSVGPathData(){return["A",this.rx,this.ry,this.xAxisRotate,this.largeArcFlag,this.sweepFlag,this.point.x,this.point.y]}toSVGPathD(){return`A ${this.rx},${this.ry} ${this.xAxisRotate} ${this.largeArcFlag},${this.sweepFlag} ${this.point.toSVGPathD()}`}}const Fh=Qa;class Ja extends Rh{ctrlPoints=[];constructor(t){super(t),this.ctrlPoints.push(new Cn({x:t.c1x,y:t.c1y})),this.ctrlPoints.push(new Cn({x:t.c2x,y:t.c2y}))}static fromSVGPathData(t){if(t.length<7)throw new Error("CubicBezier 参数个数错误");if(t[0].toUpperCase()!=="C")throw new Error("CubicBezier command 错误");return new Ja({c1x:t[1],c1y:t[2],c2x:t[3],c2y:t[4],x:t[5],y:t[6]})}toSVGPathData(){return["C",this.ctrlPoints[0].x,this.ctrlPoints[0].y,this.ctrlPoints[1].x,this.ctrlPoints[1].y,this.point.x,this.point.y]}toSVGPathD(){return`C ${this.ctrlPoints.map(t=>t.toSVGPathD()).join(" ")} ${this.point.toSVGPathD()}`}}const tl=Ja;class Hr{startPoint;isClosed=!1;lines=[];normalizedLines=[];constructor(t){this.startPoint=t?.startPoint??null,this.isClosed=t?.isClosed??!1,t?.lines?.forEach(this.addLine),this.normalize()}setStartPoint(t,n){return this.startPoint=new Cn({x:t,y:n}),this}addLine(t){return this.lines.push(t),this}normalize(){let t=this.lines.reduce((i,r)=>(i+=r.toSVGPathD(),i),"");this.startPoint&&(t="M "+this.startPoint.toSVGPathD()+t),this.isClosed&&(t+="Z"),this.normalizedLines=[];const n=Wa(Ua(Ha(t)));for(let i=0,r=n.length;i<r;i++){const s=n[i];if(i==0&&s[0]=="M"){this.setStartPoint(s[1],s[2]);continue}if(i==r-1&&s[0]=="Z"){this.isClosed=!0;continue}this.normalizedLines.push(tl.fromSVGPathData(s))}return this}static fromSVGPathD(t,n){if(!gg(t))throw new Error("Not an SVG path!");const i=Wa(Ua(Ha(t)));return Hr.fromSVGPathData(i,n)}static fromSVGPathData(t,n){const i=new Hr;for(let s=0,o=t.length;s<o;s++){const a=t[s],l=a[0];if(s==0&&l=="M"){i.setStartPoint(a[1],a[2]);continue}if(s==o-1&&l=="Z"){i.isClosed=!0;continue}i.addLine(new tl({c1x:a[1],c1y:a[2],c2x:a[3],c2y:a[4],x:a[5],y:a[6]}))}i.normalize();const r=Br(n??"");return i.transform(r)}toSVGPathD(){let t="";this.startPoint&&(t+="M "+this.startPoint.toSVGPathD());for(let n=0,i=this.normalizedLines.length;n<i;n++)t+=this.normalizedLines[n].toSVGPathD();return this.isClosed&&(t+="Z"),t}toSVGPathData(){const t=[];this.startPoint&&t.push(["M",...this.startPoint.toSVGPathData()]);for(let n=0,i=this.normalizedLines.length;n<i;n++)t.push(this.normalizedLines[n].toSVGPathData());return this.isClosed&&t.push(["Z"]),t}toCanvas(t){const n=this.normalizedLines;n.length&&(this.startPoint&&(t.beginPath(),t.moveTo(this.startPoint.x,this.startPoint.y)),n.forEach(i=>{const[r,...s]=i.toSVGPathData();r==="M"?t.moveTo(s[0],s[1]):r==="Z"?t.closePath():t.bezierCurveTo(s[0],s[1],s[2],s[3],s[4],s[5])}),this.isClosed&&t.closePath())}get bounds(){let t=[0,0,0,0];if(this.normalizedLines.length){t=[1/0,1/0,-1/0,-1/0];for(let n=0,i=this.normalizedLines.length;n<i;n++){const r=this.normalizedLines[n],s=[...r.ctrlPoints,r.point];for(let o=0;o<s.length;o++){const a=s[o].x,l=s[o].y;a<t[0]&&(t[0]=a),l<t[1]&&(t[1]=l),a>t[2]&&(t[2]=a),l>t[3]&&(t[3]=l)}}}return t}get size(){const t=this.bounds;return[t[2]-t[0],t[3]-t[1]]}get center(){const[t,n,i,r]=this.bounds;return[(t+i)/2,(n+r)/2]}getTotalLength(){return Dg(this.toSVGPathD())}getPointAtLength(t){return Lg(this.toSVGPathD(),t)}isPointInPath(t,n){return Rg(this.toSVGPathD(),t,n)}isPointInStroke(t,n,i={lineWidth:1,lineCap:"butt",lineJoin:"miter"}){return Fg(this.toSVGPathD(),t,n,i)}transform(t){if(this.startPoint){const[n,i]=t.transformPoint(this.startPoint.x,this.startPoint.y);this.setStartPoint(n,i)}return this.normalizedLines=this.normalizedLines.map(n=>{const[i,...r]=n.toSVGPathData(),s=[i];for(let o=0,a=r.length;o<a;o+=2){const l=r[o],f=r[o+1],[p,m]=t.transformPoint(l,f);s.push(p,m)}return tl.fromSVGPathData(s)}),this}translate(t,n){const i=new $e().translate(t,n);return this.transform(i)}rotate(t,n=0,i=0){const r=new $e().rotate(t,n,i);return this.transform(r)}scale(t,n=t,i=0,r=0){const s=new $e().scale(t,n,i,r);return this.transform(s)}skew(t,n=0){const i=new $e().skew(t,n);return this.transform(i)}trim(){const[t,n]=this.bounds;return this.translate(-t,-n),this}static generateRosetta(t,n,i,r,s){if(s==0)throw new Error("no dividing by zero, please");const o=new Hr;o.setStartPoint(t,n);const a=360/s;for(let l=0;l<s;l+=1){const f=a*l*Math.PI/180,p=t+2*i*Math.cos(f),m=n+2*i*Math.sin(f);o.addLine(new Fh({x:p,y:m,rx:i,ry:r,xAxisRotate:a*l,largeArcFlag:1,sweepFlag:1})),o.addLine(new Fh({x:t,y:n,rx:i,ry:r,xAxisRotate:a*l,largeArcFlag:1,sweepFlag:1}))}return o.normalize(),o}}const $h=Hr;var Vh={exports:{}};(function(e,t){(function(n,i){e.exports=i()})(window,function(){return function(n){var i={};function r(s){if(i[s])return i[s].exports;var o=i[s]={i:s,l:!1,exports:{}};return n[s].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=n,r.c=i,r.d=function(s,o,a){r.o(s,o)||Object.defineProperty(s,o,{enumerable:!0,get:a})},r.r=function(s){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},r.t=function(s,o){if(1&o&&(s=r(s)),8&o||4&o&&typeof s=="object"&&s&&s.__esModule)return s;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:s}),2&o&&typeof s!="string")for(var l in s)r.d(a,l,function(f){return s[f]}.bind(null,l));return a},r.n=function(s){var o=s&&s.__esModule?function(){return s.default}:function(){return s};return r.d(o,"a",o),o},r.o=function(s,o){return Object.prototype.hasOwnProperty.call(s,o)},r.p="",r(r.s=1)}([function(n,i,r){var s,o;s=[r(2)],(o=function(a){function l(u){if(l.is(u,"function"))return f?u():a.on("raphael.DOMload",u);if(l.is(u,F))return l._engine.create[I](l,u.splice(0,3+l.is(u[0],tt))).add(u);var d=Array.prototype.slice.call(arguments,0);if(l.is(d[d.length-1],"function")){var g=d.pop();return f?g.call(l._engine.create[I](l,d)):a.on("raphael.DOMload",function(){g.call(l._engine.create[I](l,d))})}return l._engine.create[I](l,arguments)}l.version="2.3.0",l.eve=a;var f,p,m=/[, ]+/,y={circle:1,rect:1,path:1,ellipse:1,text:1,image:1},_=/\{(\d+)\}/g,N="hasOwnProperty",C={doc:document,win:window},A={was:Object.prototype[N].call(C.win,"Raphael"),is:C.win.Raphael},V=function(){this.ca=this.customAttributes={}},I="apply",M="concat",j="ontouchstart"in window||window.TouchEvent||window.DocumentTouch&&document instanceof DocumentTouch,q="",X=" ",$=String,dt="split",xt="click dblclick mousedown mousemove mouseout mouseover mouseup touchstart touchmove touchend touchcancel"[dt](X),It={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},Pt=$.prototype.toLowerCase,bt=Math,Rt=bt.max,Ot=bt.min,wt=bt.abs,rt=bt.pow,U=bt.PI,tt="number",F="array",at=Object.prototype.toString,k=(l._ISURL=/^url\(['"]?(.+?)['"]?\)$/i,/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\))\s*$/i),w={NaN:1,Infinity:1,"-Infinity":1},x=/^(?:cubic-)?bezier\(([^,]+),([^,]+),([^,]+),([^\)]+)\)/,O=bt.round,R=parseFloat,B=parseInt,z=$.prototype.toUpperCase,lt=l._availableAttrs={"arrow-end":"none","arrow-start":"none",blur:0,"clip-rect":"0 0 1e9 1e9",cursor:"default",cx:0,cy:0,fill:"#fff","fill-opacity":1,font:'10px "Arial"',"font-family":'"Arial"',"font-size":"10","font-style":"normal","font-weight":400,gradient:0,height:0,href:"http://raphaeljs.com/","letter-spacing":0,opacity:1,path:"M0,0",r:0,rx:0,ry:0,src:"",stroke:"#000","stroke-dasharray":"","stroke-linecap":"butt","stroke-linejoin":"butt","stroke-miterlimit":0,"stroke-opacity":1,"stroke-width":1,target:"_blank","text-anchor":"middle",title:"Raphael",transform:"",width:0,x:0,y:0,class:""},H=l._availableAnimAttrs={blur:tt,"clip-rect":"csv",cx:tt,cy:tt,fill:"colour","fill-opacity":tt,"font-size":tt,height:tt,opacity:tt,path:"path",r:tt,rx:tt,ry:tt,stroke:"colour","stroke-opacity":tt,"stroke-width":tt,transform:"transform",width:tt,x:tt,y:tt},ct=/[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*/,Ct={hs:1,rg:1},Mt=/,?([achlmqrstvxz]),?/gi,jt=/([achlmrqstvz])[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)/gi,P=/([rstm])[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)/gi,D=/(-?\d*\.?\d*(?:e[\-+]?\d+)?)[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*/gi,G=(l._radial_gradient=/^r(?:\(([^,]+?)[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*([^\)]+?)\))?/,{}),K=function(u,d){return R(u)-R(d)},et=function(u){return u},Z=l._rectPath=function(u,d,g,c,h){return h?[["M",u+h,d],["l",g-2*h,0],["a",h,h,0,0,1,h,h],["l",0,c-2*h],["a",h,h,0,0,1,-h,h],["l",2*h-g,0],["a",h,h,0,0,1,-h,-h],["l",0,2*h-c],["a",h,h,0,0,1,h,-h],["z"]]:[["M",u,d],["l",g,0],["l",0,c],["l",-g,0],["z"]]},_t=function(u,d,g,c){return c==null&&(c=g),[["M",u,d],["m",0,-c],["a",g,c,0,1,1,0,2*c],["a",g,c,0,1,1,0,-2*c],["z"]]},st=l._getPath={path:function(u){return u.attr("path")},circle:function(u){var d=u.attrs;return _t(d.cx,d.cy,d.r)},ellipse:function(u){var d=u.attrs;return _t(d.cx,d.cy,d.rx,d.ry)},rect:function(u){var d=u.attrs;return Z(d.x,d.y,d.width,d.height,d.r)},image:function(u){var d=u.attrs;return Z(d.x,d.y,d.width,d.height)},text:function(u){var d=u._getBBox();return Z(d.x,d.y,d.width,d.height)},set:function(u){var d=u._getBBox();return Z(d.x,d.y,d.width,d.height)}},vt=l.mapPath=function(u,d){if(!d)return u;var g,c,h,v,b,E,S;for(h=0,b=(u=Ii(u)).length;h<b;h++)for(v=1,E=(S=u[h]).length;v<E;v+=2)g=d.x(S[v],S[v+1]),c=d.y(S[v],S[v+1]),S[v]=g,S[v+1]=c;return u};if(l._g=C,l.type=C.win.SVGAngle||C.doc.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")?"SVG":"VML",l.type=="VML"){var nt,kt=C.doc.createElement("div");if(kt.innerHTML='<v:shape adj="1"/>',(nt=kt.firstChild).style.behavior="url(#default#VML)",!nt||typeof nt.adj!="object")return l.type=q;kt=null}function At(u){if(typeof u=="function"||Object(u)!==u)return u;var d=new u.constructor;for(var g in u)u[N](g)&&(d[g]=At(u[g]));return d}l.svg=!(l.vml=l.type=="VML"),l._Paper=V,l.fn=p=V.prototype=l.prototype,l._id=0,l.is=function(u,d){return(d=Pt.call(d))=="finite"?!w[N](+u):d=="array"?u instanceof Array:d=="null"&&u===null||d==typeof u&&u!==null||d=="object"&&u===Object(u)||d=="array"&&Array.isArray&&Array.isArray(u)||at.call(u).slice(8,-1).toLowerCase()==d},l.angle=function(u,d,g,c,h,v){if(h==null){var b=u-g,E=d-c;return b||E?(180+180*bt.atan2(-E,-b)/U+360)%360:0}return l.angle(u,d,h,v)-l.angle(g,c,h,v)},l.rad=function(u){return u%360*U/180},l.deg=function(u){return Math.round(180*u/U%360*1e3)/1e3},l.snapTo=function(u,d,g){if(g=l.is(g,"finite")?g:10,l.is(u,F)){for(var c=u.length;c--;)if(wt(u[c]-d)<=g)return u[c]}else{var h=d%(u=+u);if(h<g)return d-h;if(h>u-g)return d-h+u}return d};var Ft,Gt;l.createUUID=(Ft=/[xy]/g,Gt=function(u){var d=16*bt.random()|0;return(u=="x"?d:3&d|8).toString(16)},function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(Ft,Gt).toUpperCase()}),l.setWindow=function(u){a("raphael.setWindow",l,C.win,u),C.win=u,C.doc=C.win.document,l._engine.initWin&&l._engine.initWin(C.win)};var Wt=function(u){if(l.vml){var d,g=/^\s+|\s+$/g;try{var c=new ActiveXObject("htmlfile");c.write("<body>"),c.close(),d=c.body}catch{d=createPopup().document.body}var h=d.createTextRange();Wt=Ne(function(b){try{d.style.color=$(b).replace(g,q);var E=h.queryCommandValue("ForeColor");return"#"+("000000"+(E=(255&E)<<16|65280&E|(16711680&E)>>>16).toString(16)).slice(-6)}catch{return"none"}})}else{var v=C.doc.createElement("i");v.title="Raphaël Colour Picker",v.style.display="none",C.doc.body.appendChild(v),Wt=Ne(function(b){return v.style.color=b,C.doc.defaultView.getComputedStyle(v,q).getPropertyValue("color")})}return Wt(u)},ee=function(){return"hsb("+[this.h,this.s,this.b]+")"},ce=function(){return"hsl("+[this.h,this.s,this.l]+")"},me=function(){return this.hex},Ce=function(u,d,g){if(d==null&&l.is(u,"object")&&"r"in u&&"g"in u&&"b"in u&&(g=u.b,d=u.g,u=u.r),d==null&&l.is(u,"string")){var c=l.getRGB(u);u=c.r,d=c.g,g=c.b}return(u>1||d>1||g>1)&&(u/=255,d/=255,g/=255),[u,d,g]},sn=function(u,d,g,c){var h={r:u*=255,g:d*=255,b:g*=255,hex:l.rgb(u,d,g),toString:me};return l.is(c,"finite")&&(h.opacity=c),h};function Ne(u,d,g){return function c(){var h=Array.prototype.slice.call(arguments,0),v=h.join("␀"),b=c.cache=c.cache||{},E=c.count=c.count||[];return b[N](v)?(function(S,L){for(var W=0,ot=S.length;W<ot;W++)if(S[W]===L)return S.push(S.splice(W,1)[0])}(E,v),g?g(b[v]):b[v]):(E.length>=1e3&&delete b[E.shift()],E.push(v),b[v]=u[I](d,h),g?g(b[v]):b[v])}}l.color=function(u){var d;return l.is(u,"object")&&"h"in u&&"s"in u&&"b"in u?(d=l.hsb2rgb(u),u.r=d.r,u.g=d.g,u.b=d.b,u.hex=d.hex):l.is(u,"object")&&"h"in u&&"s"in u&&"l"in u?(d=l.hsl2rgb(u),u.r=d.r,u.g=d.g,u.b=d.b,u.hex=d.hex):(l.is(u,"string")&&(u=l.getRGB(u)),l.is(u,"object")&&"r"in u&&"g"in u&&"b"in u?(d=l.rgb2hsl(u),u.h=d.h,u.s=d.s,u.l=d.l,d=l.rgb2hsb(u),u.v=d.b):(u={hex:"none"}).r=u.g=u.b=u.h=u.s=u.v=u.l=-1),u.toString=me,u},l.hsb2rgb=function(u,d,g,c){var h,v,b,E,S;return this.is(u,"object")&&"h"in u&&"s"in u&&"b"in u&&(g=u.b,d=u.s,c=u.o,u=u.h),E=(S=g*d)*(1-wt((u=(u*=360)%360/60)%2-1)),h=v=b=g-S,sn(h+=[S,E,0,0,E,S][u=~~u],v+=[E,S,S,E,0,0][u],b+=[0,0,E,S,S,E][u],c)},l.hsl2rgb=function(u,d,g,c){var h,v,b,E,S;return this.is(u,"object")&&"h"in u&&"s"in u&&"l"in u&&(g=u.l,d=u.s,u=u.h),(u>1||d>1||g>1)&&(u/=360,d/=100,g/=100),E=(S=2*d*(g<.5?g:1-g))*(1-wt((u=(u*=360)%360/60)%2-1)),h=v=b=g-S/2,sn(h+=[S,E,0,0,E,S][u=~~u],v+=[E,S,S,E,0,0][u],b+=[0,0,E,S,S,E][u],c)},l.rgb2hsb=function(u,d,g){var c,h;return u=(g=Ce(u,d,g))[0],d=g[1],g=g[2],{h:(((h=(c=Rt(u,d,g))-Ot(u,d,g))==0?null:c==u?(d-g)/h:c==d?(g-u)/h+2:(u-d)/h+4)+360)%6*60/360,s:h==0?0:h/c,b:c,toString:ee}},l.rgb2hsl=function(u,d,g){var c,h,v,b;return u=(g=Ce(u,d,g))[0],d=g[1],g=g[2],c=((h=Rt(u,d,g))+(v=Ot(u,d,g)))/2,{h:(((b=h-v)==0?null:h==u?(d-g)/b:h==d?(g-u)/b+2:(u-d)/b+4)+360)%6*60/360,s:b==0?0:c<.5?b/(2*c):b/(2-2*c),l:c,toString:ce}},l._path2string=function(){return this.join(",").replace(Mt,"$1")},l._preload=function(u,d){var g=C.doc.createElement("img");g.style.cssText="position:absolute;left:-9999em;top:-9999em",g.onload=function(){d.call(this),this.onload=null,C.doc.body.removeChild(this)},g.onerror=function(){C.doc.body.removeChild(this)},C.doc.body.appendChild(g),g.src=u};function Be(){return this.hex}function yn(u,d){for(var g=[],c=0,h=u.length;h-2*!d>c;c+=2){var v=[{x:+u[c-2],y:+u[c-1]},{x:+u[c],y:+u[c+1]},{x:+u[c+2],y:+u[c+3]},{x:+u[c+4],y:+u[c+5]}];d?c?h-4==c?v[3]={x:+u[0],y:+u[1]}:h-2==c&&(v[2]={x:+u[0],y:+u[1]},v[3]={x:+u[2],y:+u[3]}):v[0]={x:+u[h-2],y:+u[h-1]}:h-4==c?v[3]=v[2]:c||(v[0]={x:+u[c],y:+u[c+1]}),g.push(["C",(-v[0].x+6*v[1].x+v[2].x)/6,(-v[0].y+6*v[1].y+v[2].y)/6,(v[1].x+6*v[2].x-v[3].x)/6,(v[1].y+6*v[2].y-v[3].y)/6,v[2].x,v[2].y])}return g}l.getRGB=Ne(function(u){if(!u||(u=$(u)).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:Be};if(u=="none")return{r:-1,g:-1,b:-1,hex:"none",toString:Be};!Ct[N](u.toLowerCase().substring(0,2))&&u.charAt()!="#"&&(u=Wt(u));var d,g,c,h,v,b,E=u.match(k);return E?(E[2]&&(c=B(E[2].substring(5),16),g=B(E[2].substring(3,5),16),d=B(E[2].substring(1,3),16)),E[3]&&(c=B((v=E[3].charAt(3))+v,16),g=B((v=E[3].charAt(2))+v,16),d=B((v=E[3].charAt(1))+v,16)),E[4]&&(b=E[4][dt](ct),d=R(b[0]),b[0].slice(-1)=="%"&&(d*=2.55),g=R(b[1]),b[1].slice(-1)=="%"&&(g*=2.55),c=R(b[2]),b[2].slice(-1)=="%"&&(c*=2.55),E[1].toLowerCase().slice(0,4)=="rgba"&&(h=R(b[3])),b[3]&&b[3].slice(-1)=="%"&&(h/=100)),E[5]?(b=E[5][dt](ct),d=R(b[0]),b[0].slice(-1)=="%"&&(d*=2.55),g=R(b[1]),b[1].slice(-1)=="%"&&(g*=2.55),c=R(b[2]),b[2].slice(-1)=="%"&&(c*=2.55),(b[0].slice(-3)=="deg"||b[0].slice(-1)=="°")&&(d/=360),E[1].toLowerCase().slice(0,4)=="hsba"&&(h=R(b[3])),b[3]&&b[3].slice(-1)=="%"&&(h/=100),l.hsb2rgb(d,g,c,h)):E[6]?(b=E[6][dt](ct),d=R(b[0]),b[0].slice(-1)=="%"&&(d*=2.55),g=R(b[1]),b[1].slice(-1)=="%"&&(g*=2.55),c=R(b[2]),b[2].slice(-1)=="%"&&(c*=2.55),(b[0].slice(-3)=="deg"||b[0].slice(-1)=="°")&&(d/=360),E[1].toLowerCase().slice(0,4)=="hsla"&&(h=R(b[3])),b[3]&&b[3].slice(-1)=="%"&&(h/=100),l.hsl2rgb(d,g,c,h)):((E={r:d,g,b:c,toString:Be}).hex="#"+(16777216|c|g<<8|d<<16).toString(16).slice(1),l.is(h,"finite")&&(E.opacity=h),E)):{r:-1,g:-1,b:-1,hex:"none",error:1,toString:Be}},l),l.hsb=Ne(function(u,d,g){return l.hsb2rgb(u,d,g).hex}),l.hsl=Ne(function(u,d,g){return l.hsl2rgb(u,d,g).hex}),l.rgb=Ne(function(u,d,g){function c(h){return h+.5|0}return"#"+(16777216|c(g)|c(d)<<8|c(u)<<16).toString(16).slice(1)}),l.getColor=function(u){var d=this.getColor.start=this.getColor.start||{h:0,s:1,b:u||.75},g=this.hsb2rgb(d.h,d.s,d.b);return d.h+=.075,d.h>1&&(d.h=0,d.s-=.2,d.s<=0&&(this.getColor.start={h:0,s:1,b:d.b})),g.hex},l.getColor.reset=function(){delete this.start},l.parsePathString=function(u){if(!u)return null;var d=fe(u);if(d.arr)return je(d.arr);var g={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0},c=[];return l.is(u,F)&&l.is(u[0],F)&&(c=je(u)),c.length||$(u).replace(jt,function(h,v,b){var E=[],S=v.toLowerCase();if(b.replace(D,function(L,W){W&&E.push(+W)}),S=="m"&&E.length>2&&(c.push([v][M](E.splice(0,2))),S="l",v=v=="m"?"l":"L"),S=="r")c.push([v][M](E));else for(;E.length>=g[S]&&(c.push([v][M](E.splice(0,g[S]))),g[S]););}),c.toString=l._path2string,d.arr=je(c),c},l.parseTransformString=Ne(function(u){if(!u)return null;var d=[];return l.is(u,F)&&l.is(u[0],F)&&(d=je(u)),d.length||$(u).replace(P,function(g,c,h){var v=[];Pt.call(c),h.replace(D,function(b,E){E&&v.push(+E)}),d.push([c][M](v))}),d.toString=l._path2string,d},this,function(u){if(!u)return u;for(var d=[],g=0;g<u.length;g++){for(var c=[],h=0;h<u[g].length;h++)c.push(u[g][h]);d.push(c)}return d});var fe=function(u){var d=fe.ps=fe.ps||{};return d[u]?d[u].sleep=100:d[u]={sleep:100},setTimeout(function(){for(var g in d)d[N](g)&&g!=u&&(d[g].sleep--,!d[g].sleep&&delete d[g])}),d[u]};function Te(u,d,g,c,h){return u*(u*(-3*d+9*g-9*c+3*h)+6*d-12*g+6*c)-3*d+3*g}function Ge(u,d,g,c,h,v,b,E,S){S==null&&(S=1);for(var L=(S=S>1?1:S<0?0:S)/2,W=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],ot=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],Q=0,Y=0;Y<12;Y++){var ut=L*W[Y]+L,pt=Te(ut,u,g,h,b),ht=Te(ut,d,c,v,E),it=pt*pt+ht*ht;Q+=ot[Y]*bt.sqrt(it)}return L*Q}function Oi(u,d,g,c,h,v,b,E){if(!(Rt(u,g)<Ot(h,b)||Ot(u,g)>Rt(h,b)||Rt(d,c)<Ot(v,E)||Ot(d,c)>Rt(v,E))){var S=(u-g)*(v-E)-(d-c)*(h-b);if(S){var L=((u*c-d*g)*(h-b)-(u-g)*(h*E-v*b))/S,W=((u*c-d*g)*(v-E)-(d-c)*(h*E-v*b))/S,ot=+L.toFixed(2),Q=+W.toFixed(2);if(!(ot<+Ot(u,g).toFixed(2)||ot>+Rt(u,g).toFixed(2)||ot<+Ot(h,b).toFixed(2)||ot>+Rt(h,b).toFixed(2)||Q<+Ot(d,c).toFixed(2)||Q>+Rt(d,c).toFixed(2)||Q<+Ot(v,E).toFixed(2)||Q>+Rt(v,E).toFixed(2)))return{x:L,y:W}}}}function Vn(u,d,g){var c=l.bezierBBox(u),h=l.bezierBBox(d);if(!l.isBBoxIntersect(c,h))return g?0:[];for(var v=Ge.apply(0,u),b=Ge.apply(0,d),E=Rt(~~(v/5),1),S=Rt(~~(b/5),1),L=[],W=[],ot={},Q=g?0:[],Y=0;Y<E+1;Y++){var ut=l.findDotsAtSegment.apply(l,u.concat(Y/E));L.push({x:ut.x,y:ut.y,t:Y/E})}for(Y=0;Y<S+1;Y++)ut=l.findDotsAtSegment.apply(l,d.concat(Y/S)),W.push({x:ut.x,y:ut.y,t:Y/S});for(Y=0;Y<E;Y++)for(var pt=0;pt<S;pt++){var ht=L[Y],it=L[Y+1],Dt=W[pt],mt=W[pt+1],Et=wt(it.x-ht.x)<.001?"y":"x",yt=wt(mt.x-Dt.x)<.001?"y":"x",Xt=Oi(ht.x,ht.y,it.x,it.y,Dt.x,Dt.y,mt.x,mt.y);if(Xt){if(ot[Xt.x.toFixed(4)]==Xt.y.toFixed(4))continue;ot[Xt.x.toFixed(4)]=Xt.y.toFixed(4);var Ht=ht.t+wt((Xt[Et]-ht[Et])/(it[Et]-ht[Et]))*(it.t-ht.t),Kt=Dt.t+wt((Xt[yt]-Dt[yt])/(mt[yt]-Dt[yt]))*(mt.t-Dt.t);Ht>=0&&Ht<=1.001&&Kt>=0&&Kt<=1.001&&(g?Q++:Q.push({x:Xt.x,y:Xt.y,t1:Ot(Ht,1),t2:Ot(Kt,1)}))}}return Q}function si(u,d,g){u=l._path2curve(u),d=l._path2curve(d);for(var c,h,v,b,E,S,L,W,ot,Q,Y=g?0:[],ut=0,pt=u.length;ut<pt;ut++){var ht=u[ut];if(ht[0]=="M")c=E=ht[1],h=S=ht[2];else{ht[0]=="C"?(ot=[c,h].concat(ht.slice(1)),c=ot[6],h=ot[7]):(ot=[c,h,c,h,E,S,E,S],c=E,h=S);for(var it=0,Dt=d.length;it<Dt;it++){var mt=d[it];if(mt[0]=="M")v=L=mt[1],b=W=mt[2];else{mt[0]=="C"?(Q=[v,b].concat(mt.slice(1)),v=Q[6],b=Q[7]):(Q=[v,b,v,b,L,W,L,W],v=L,b=W);var Et=Vn(ot,Q,g);if(g)Y+=Et;else{for(var yt=0,Xt=Et.length;yt<Xt;yt++)Et[yt].segment1=ut,Et[yt].segment2=it,Et[yt].bez1=ot,Et[yt].bez2=Q;Y=Y.concat(Et)}}}}}return Y}l.findDotsAtSegment=function(u,d,g,c,h,v,b,E,S){var L=1-S,W=rt(L,3),ot=rt(L,2),Q=S*S,Y=Q*S,ut=W*u+3*ot*S*g+3*L*S*S*h+Y*b,pt=W*d+3*ot*S*c+3*L*S*S*v+Y*E,ht=u+2*S*(g-u)+Q*(h-2*g+u),it=d+2*S*(c-d)+Q*(v-2*c+d),Dt=g+2*S*(h-g)+Q*(b-2*h+g),mt=c+2*S*(v-c)+Q*(E-2*v+c),Et=L*u+S*g,yt=L*d+S*c,Xt=L*h+S*b,Ht=L*v+S*E,Kt=90-180*bt.atan2(ht-Dt,it-mt)/U;return(ht>Dt||it<mt)&&(Kt+=180),{x:ut,y:pt,m:{x:ht,y:it},n:{x:Dt,y:mt},start:{x:Et,y:yt},end:{x:Xt,y:Ht},alpha:Kt}},l.bezierBBox=function(u,d,g,c,h,v,b,E){l.is(u,"array")||(u=[u,d,g,c,h,v,b,E]);var S=Gn.apply(null,u);return{x:S.min.x,y:S.min.y,x2:S.max.x,y2:S.max.y,width:S.max.x-S.min.x,height:S.max.y-S.min.y}},l.isPointInsideBBox=function(u,d,g){return d>=u.x&&d<=u.x2&&g>=u.y&&g<=u.y2},l.isBBoxIntersect=function(u,d){var g=l.isPointInsideBBox;return g(d,u.x,u.y)||g(d,u.x2,u.y)||g(d,u.x,u.y2)||g(d,u.x2,u.y2)||g(u,d.x,d.y)||g(u,d.x2,d.y)||g(u,d.x,d.y2)||g(u,d.x2,d.y2)||(u.x<d.x2&&u.x>d.x||d.x<u.x2&&d.x>u.x)&&(u.y<d.y2&&u.y>d.y||d.y<u.y2&&d.y>u.y)},l.pathIntersection=function(u,d){return si(u,d)},l.pathIntersectionNumber=function(u,d){return si(u,d,1)},l.isPointInsidePath=function(u,d,g){var c=l.pathBBox(u);return l.isPointInsideBBox(c,d,g)&&si(u,[["M",d,g],["H",c.x2+10]],1)%2==1},l._removedFactory=function(u){return function(){a("raphael.log",null,"Raphaël: you are calling to method “"+u+"” of removed object",u)}};var cn=l.pathBBox=function(u){var d=fe(u);if(d.bbox)return At(d.bbox);if(!u)return{x:0,y:0,width:0,height:0,x2:0,y2:0};for(var g,c=0,h=0,v=[],b=[],E=0,S=(u=Ii(u)).length;E<S;E++)if((g=u[E])[0]=="M")c=g[1],h=g[2],v.push(c),b.push(h);else{var L=Gn(c,h,g[1],g[2],g[3],g[4],g[5],g[6]);v=v[M](L.min.x,L.max.x),b=b[M](L.min.y,L.max.y),c=g[5],h=g[6]}var W=Ot[I](0,v),ot=Ot[I](0,b),Q=Rt[I](0,v),Y=Rt[I](0,b),ut=Q-W,pt=Y-ot,ht={x:W,y:ot,x2:Q,y2:Y,width:ut,height:pt,cx:W+ut/2,cy:ot+pt/2};return d.bbox=At(ht),ht},je=function(u){var d=At(u);return d.toString=l._path2string,d},lo=l._pathToRelative=function(u){var d=fe(u);if(d.rel)return je(d.rel);l.is(u,F)&&l.is(u&&u[0],F)||(u=l.parsePathString(u));var g=[],c=0,h=0,v=0,b=0,E=0;u[0][0]=="M"&&(v=c=u[0][1],b=h=u[0][2],E++,g.push(["M",c,h]));for(var S=E,L=u.length;S<L;S++){var W=g[S]=[],ot=u[S];if(ot[0]!=Pt.call(ot[0]))switch(W[0]=Pt.call(ot[0]),W[0]){case"a":W[1]=ot[1],W[2]=ot[2],W[3]=ot[3],W[4]=ot[4],W[5]=ot[5],W[6]=+(ot[6]-c).toFixed(3),W[7]=+(ot[7]-h).toFixed(3);break;case"v":W[1]=+(ot[1]-h).toFixed(3);break;case"m":v=ot[1],b=ot[2];default:for(var Q=1,Y=ot.length;Q<Y;Q++)W[Q]=+(ot[Q]-(Q%2?c:h)).toFixed(3)}else{W=g[S]=[],ot[0]=="m"&&(v=ot[1]+c,b=ot[2]+h);for(var ut=0,pt=ot.length;ut<pt;ut++)g[S][ut]=ot[ut]}var ht=g[S].length;switch(g[S][0]){case"z":c=v,h=b;break;case"h":c+=+g[S][ht-1];break;case"v":h+=+g[S][ht-1];break;default:c+=+g[S][ht-2],h+=+g[S][ht-1]}}return g.toString=l._path2string,d.rel=je(g),g},oi=l._pathToAbsolute=function(u){var d=fe(u);if(d.abs)return je(d.abs);if(l.is(u,F)&&l.is(u&&u[0],F)||(u=l.parsePathString(u)),!u||!u.length)return[["M",0,0]];var g=[],c=0,h=0,v=0,b=0,E=0;u[0][0]=="M"&&(v=c=+u[0][1],b=h=+u[0][2],E++,g[0]=["M",c,h]);for(var S,L,W=u.length==3&&u[0][0]=="M"&&u[1][0].toUpperCase()=="R"&&u[2][0].toUpperCase()=="Z",ot=E,Q=u.length;ot<Q;ot++){if(g.push(S=[]),(L=u[ot])[0]!=z.call(L[0]))switch(S[0]=z.call(L[0]),S[0]){case"A":S[1]=L[1],S[2]=L[2],S[3]=L[3],S[4]=L[4],S[5]=L[5],S[6]=+(L[6]+c),S[7]=+(L[7]+h);break;case"V":S[1]=+L[1]+h;break;case"H":S[1]=+L[1]+c;break;case"R":for(var Y=[c,h][M](L.slice(1)),ut=2,pt=Y.length;ut<pt;ut++)Y[ut]=+Y[ut]+c,Y[++ut]=+Y[ut]+h;g.pop(),g=g[M](yn(Y,W));break;case"M":v=+L[1]+c,b=+L[2]+h;default:for(ut=1,pt=L.length;ut<pt;ut++)S[ut]=+L[ut]+(ut%2?c:h)}else if(L[0]=="R")Y=[c,h][M](L.slice(1)),g.pop(),g=g[M](yn(Y,W)),S=["R"][M](L.slice(-2));else for(var ht=0,it=L.length;ht<it;ht++)S[ht]=L[ht];switch(S[0]){case"Z":c=v,h=b;break;case"H":c=S[1];break;case"V":h=S[1];break;case"M":v=S[S.length-2],b=S[S.length-1];default:c=S[S.length-2],h=S[S.length-1]}}return g.toString=l._path2string,d.abs=je(g),g},zn=function(u,d,g,c){return[u,d,g,c,g,c]},kn=function(u,d,g,c,h,v){return[1/3*u+2/3*g,1/3*d+2/3*c,1/3*h+2/3*g,1/3*v+2/3*c,h,v]},Ji=function(u,d,g,c,h,v,b,E,S,L){var W,ot=120*U/180,Q=U/180*(+h||0),Y=[],ut=Ne(function(Af,Df,xo){return{x:Af*bt.cos(xo)-Df*bt.sin(xo),y:Af*bt.sin(xo)+Df*bt.cos(xo)}});if(L)Ht=L[0],Kt=L[1],yt=L[2],Xt=L[3];else{u=(W=ut(u,d,-Q)).x,d=W.y,E=(W=ut(E,S,-Q)).x,S=W.y;var pt=(u-E)/2,ht=(d-S)/2,it=pt*pt/(g*g)+ht*ht/(c*c);it>1&&(g*=it=bt.sqrt(it),c*=it);var Dt=g*g,mt=c*c,Et=(v==b?-1:1)*bt.sqrt(wt((Dt*mt-Dt*ht*ht-mt*pt*pt)/(Dt*ht*ht+mt*pt*pt))),yt=Et*g*ht/c+(u+E)/2,Xt=Et*-c*pt/g+(d+S)/2,Ht=bt.asin(((d-Xt)/c).toFixed(9)),Kt=bt.asin(((S-Xt)/c).toFixed(9));(Ht=u<yt?U-Ht:Ht)<0&&(Ht=2*U+Ht),(Kt=E<yt?U-Kt:Kt)<0&&(Kt=2*U+Kt),b&&Ht>Kt&&(Ht-=2*U),!b&&Kt>Ht&&(Kt-=2*U)}var ar=Kt-Ht;if(wt(ar)>ot){var Qr=Kt,tn=E,Nn=S;Kt=Ht+ot*(b&&Kt>Ht?1:-1),E=yt+g*bt.cos(Kt),S=Xt+c*bt.sin(Kt),Y=Ji(E,S,g,c,h,0,b,tn,Nn,[Kt,Qr,yt,Xt])}ar=Kt-Ht;var lr=bt.cos(Ht),cr=bt.sin(Ht),yo=bt.cos(Kt),Yn=bt.sin(Kt),Li=bt.tan(ar/4),_o=4/3*g*Li,Nf=4/3*c*Li,Pf=[u,d],ur=[u+_o*cr,d-Nf*lr],Of=[E+_o*Yn,S-Nf*yo],If=[E,S];if(ur[0]=2*Pf[0]-ur[0],ur[1]=2*Pf[1]-ur[1],L)return[ur,Of,If][M](Y);for(var Mf=[],ui=0,s_=(Y=[ur,Of,If][M](Y).join()[dt](",")).length;ui<s_;ui++)Mf[ui]=ui%2?ut(Y[ui-1],Y[ui],Q).y:ut(Y[ui],Y[ui+1],Q).x;return Mf},Bn=function(u,d,g,c,h,v,b,E,S){var L=1-S;return{x:rt(L,3)*u+3*rt(L,2)*S*g+3*L*S*S*h+rt(S,3)*b,y:rt(L,3)*d+3*rt(L,2)*S*c+3*L*S*S*v+rt(S,3)*E}},Gn=Ne(function(u,d,g,c,h,v,b,E){var S,L=h-2*g+u-(b-2*h+g),W=2*(g-u)-2*(h-g),ot=u-g,Q=(-W+bt.sqrt(W*W-4*L*ot))/2/L,Y=(-W-bt.sqrt(W*W-4*L*ot))/2/L,ut=[d,E],pt=[u,b];return wt(Q)>"1e12"&&(Q=.5),wt(Y)>"1e12"&&(Y=.5),Q>0&&Q<1&&(S=Bn(u,d,g,c,h,v,b,E,Q),pt.push(S.x),ut.push(S.y)),Y>0&&Y<1&&(S=Bn(u,d,g,c,h,v,b,E,Y),pt.push(S.x),ut.push(S.y)),L=v-2*c+d-(E-2*v+c),ot=d-c,Q=(-(W=2*(c-d)-2*(v-c))+bt.sqrt(W*W-4*L*ot))/2/L,Y=(-W-bt.sqrt(W*W-4*L*ot))/2/L,wt(Q)>"1e12"&&(Q=.5),wt(Y)>"1e12"&&(Y=.5),Q>0&&Q<1&&(S=Bn(u,d,g,c,h,v,b,E,Q),pt.push(S.x),ut.push(S.y)),Y>0&&Y<1&&(S=Bn(u,d,g,c,h,v,b,E,Y),pt.push(S.x),ut.push(S.y)),{min:{x:Ot[I](0,pt),y:Ot[I](0,ut)},max:{x:Rt[I](0,pt),y:Rt[I](0,ut)}}}),Ii=l._path2curve=Ne(function(u,d){var g=!d&&fe(u);if(!d&&g.curve)return je(g.curve);for(var c=oi(u),h=d&&oi(d),v={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},b={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},E=function(Et,yt,Xt){var Ht,Kt;if(!Et)return["C",yt.x,yt.y,yt.x,yt.y,yt.x,yt.y];switch(!(Et[0]in{T:1,Q:1})&&(yt.qx=yt.qy=null),Et[0]){case"M":yt.X=Et[1],yt.Y=Et[2];break;case"A":Et=["C"][M](Ji[I](0,[yt.x,yt.y][M](Et.slice(1))));break;case"S":Xt=="C"||Xt=="S"?(Ht=2*yt.x-yt.bx,Kt=2*yt.y-yt.by):(Ht=yt.x,Kt=yt.y),Et=["C",Ht,Kt][M](Et.slice(1));break;case"T":Xt=="Q"||Xt=="T"?(yt.qx=2*yt.x-yt.qx,yt.qy=2*yt.y-yt.qy):(yt.qx=yt.x,yt.qy=yt.y),Et=["C"][M](kn(yt.x,yt.y,yt.qx,yt.qy,Et[1],Et[2]));break;case"Q":yt.qx=Et[1],yt.qy=Et[2],Et=["C"][M](kn(yt.x,yt.y,Et[1],Et[2],Et[3],Et[4]));break;case"L":Et=["C"][M](zn(yt.x,yt.y,Et[1],Et[2]));break;case"H":Et=["C"][M](zn(yt.x,yt.y,Et[1],yt.y));break;case"V":Et=["C"][M](zn(yt.x,yt.y,yt.x,Et[1]));break;case"Z":Et=["C"][M](zn(yt.x,yt.y,yt.X,yt.Y))}return Et},S=function(Et,yt){if(Et[yt].length>7){Et[yt].shift();for(var Xt=Et[yt];Xt.length;)W[yt]="A",h&&(ot[yt]="A"),Et.splice(yt++,0,["C"][M](Xt.splice(0,6)));Et.splice(yt,1),pt=Rt(c.length,h&&h.length||0)}},L=function(Et,yt,Xt,Ht,Kt){Et&&yt&&Et[Kt][0]=="M"&&yt[Kt][0]!="M"&&(yt.splice(Kt,0,["M",Ht.x,Ht.y]),Xt.bx=0,Xt.by=0,Xt.x=Et[Kt][1],Xt.y=Et[Kt][2],pt=Rt(c.length,h&&h.length||0))},W=[],ot=[],Q="",Y="",ut=0,pt=Rt(c.length,h&&h.length||0);ut<pt;ut++){c[ut]&&(Q=c[ut][0]),Q!="C"&&(W[ut]=Q,ut&&(Y=W[ut-1])),c[ut]=E(c[ut],v,Y),W[ut]!="A"&&Q=="C"&&(W[ut]="C"),S(c,ut),h&&(h[ut]&&(Q=h[ut][0]),Q!="C"&&(ot[ut]=Q,ut&&(Y=ot[ut-1])),h[ut]=E(h[ut],b,Y),ot[ut]!="A"&&Q=="C"&&(ot[ut]="C"),S(h,ut)),L(c,h,v,b,ut),L(h,c,b,v,ut);var ht=c[ut],it=h&&h[ut],Dt=ht.length,mt=h&&it.length;v.x=ht[Dt-2],v.y=ht[Dt-1],v.bx=R(ht[Dt-4])||v.x,v.by=R(ht[Dt-3])||v.y,b.bx=h&&(R(it[mt-4])||b.x),b.by=h&&(R(it[mt-3])||b.y),b.x=h&&it[mt-2],b.y=h&&it[mt-1]}return h||(g.curve=je(c)),h?[c,h]:c},null,je),tr=(l._parseDots=Ne(function(u){for(var d=[],g=0,c=u.length;g<c;g++){var h={},v=u[g].match(/^([^:]*):?([\d\.]*)/);if(h.color=l.getRGB(v[1]),h.color.error)return null;h.opacity=h.color.opacity,h.color=h.color.hex,v[2]&&(h.offset=v[2]+"%"),d.push(h)}for(g=1,c=d.length-1;g<c;g++)if(!d[g].offset){for(var b=R(d[g-1].offset||0),E=0,S=g+1;S<c;S++)if(d[S].offset){E=d[S].offset;break}E||(E=100,S=c);for(var L=((E=R(E))-b)/(S-g+1);g<S;g++)b+=L,d[g].offset=b+"%"}return d}),l._tear=function(u,d){u==d.top&&(d.top=u.prev),u==d.bottom&&(d.bottom=u.next),u.next&&(u.next.prev=u.prev),u.prev&&(u.prev.next=u.next)}),co=(l._tofront=function(u,d){d.top!==u&&(tr(u,d),u.next=null,u.prev=d.top,d.top.next=u,d.top=u)},l._toback=function(u,d){d.bottom!==u&&(tr(u,d),u.next=d.bottom,u.prev=null,d.bottom.prev=u,d.bottom=u)},l._insertafter=function(u,d,g){tr(u,g),d==g.top&&(g.top=u),d.next&&(d.next.prev=u),u.next=d.next,u.prev=d,d.next=u},l._insertbefore=function(u,d,g){tr(u,g),d==g.bottom&&(g.bottom=u),d.prev&&(d.prev.next=u),u.prev=d.prev,d.prev=u,u.next=d},l.toMatrix=function(u,d){var g=cn(u),c={_:{transform:q},getBBox:function(){return g}};return er(c,d),c.matrix}),er=(l.transformPath=function(u,d){return vt(u,co(u,d))},l._extractTransform=function(u,d){if(d==null)return u._.transform;d=$(d).replace(/\.{3}|\u2026/g,u._.transform||q);var g,c,h=l.parseTransformString(d),v=0,b=1,E=1,S=u._,L=new jn;if(S.transform=h||[],h)for(var W=0,ot=h.length;W<ot;W++){var Q,Y,ut,pt,ht,it=h[W],Dt=it.length,mt=$(it[0]).toLowerCase(),Et=it[0]!=mt,yt=Et?L.invert():0;mt=="t"&&Dt==3?Et?(Q=yt.x(0,0),Y=yt.y(0,0),ut=yt.x(it[1],it[2]),pt=yt.y(it[1],it[2]),L.translate(ut-Q,pt-Y)):L.translate(it[1],it[2]):mt=="r"?Dt==2?(ht=ht||u.getBBox(1),L.rotate(it[1],ht.x+ht.width/2,ht.y+ht.height/2),v+=it[1]):Dt==4&&(Et?(ut=yt.x(it[2],it[3]),pt=yt.y(it[2],it[3]),L.rotate(it[1],ut,pt)):L.rotate(it[1],it[2],it[3]),v+=it[1]):mt=="s"?Dt==2||Dt==3?(ht=ht||u.getBBox(1),L.scale(it[1],it[Dt-1],ht.x+ht.width/2,ht.y+ht.height/2),b*=it[1],E*=it[Dt-1]):Dt==5&&(Et?(ut=yt.x(it[3],it[4]),pt=yt.y(it[3],it[4]),L.scale(it[1],it[2],ut,pt)):L.scale(it[1],it[2],it[3],it[4]),b*=it[1],E*=it[2]):mt=="m"&&Dt==7&&L.add(it[1],it[2],it[3],it[4],it[5],it[6]),S.dirtyT=1,u.matrix=L}u.matrix=L,S.sx=b,S.sy=E,S.deg=v,S.dx=g=L.e,S.dy=c=L.f,b==1&&E==1&&!v&&S.bbox?(S.bbox.x+=+g,S.bbox.y+=+c):S.dirtyT=1}),uo=function(u){var d=u[0];switch(d.toLowerCase()){case"t":return[d,0,0];case"m":return[d,1,0,0,1,0,0];case"r":return u.length==4?[d,0,u[2],u[3]]:[d,0];case"s":return u.length==5?[d,1,1,u[3],u[4]]:u.length==3?[d,1,1]:[d,1]}},ho=l._equaliseTransform=function(u,d){d=$(d).replace(/\.{3}|\u2026/g,u),u=l.parseTransformString(u)||[],d=l.parseTransformString(d)||[];for(var g,c,h,v,b=Rt(u.length,d.length),E=[],S=[],L=0;L<b;L++){if(h=u[L]||uo(d[L]),v=d[L]||uo(h),h[0]!=v[0]||h[0].toLowerCase()=="r"&&(h[2]!=v[2]||h[3]!=v[3])||h[0].toLowerCase()=="s"&&(h[3]!=v[3]||h[4]!=v[4]))return;for(E[L]=[],S[L]=[],g=0,c=Rt(h.length,v.length);g<c;g++)g in h&&(E[L][g]=h[g]),g in v&&(S[L][g]=v[g])}return{from:E,to:S}};function jn(u,d,g,c,h,v){u!=null?(this.a=+u,this.b=+d,this.c=+g,this.d=+c,this.e=+h,this.f=+v):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0)}l._getContainer=function(u,d,g,c){var h;if((h=c!=null||l.is(u,"object")?u:C.doc.getElementById(u))!=null)return h.tagName?d==null?{container:h,width:h.style.pixelWidth||h.offsetWidth,height:h.style.pixelHeight||h.offsetHeight}:{container:h,width:d,height:g}:{container:1,x:u,y:d,width:g,height:c}},l.pathToRelative=lo,l._engine={},l.path2curve=Ii,l.matrix=function(u,d,g,c,h,v){return new jn(u,d,g,c,h,v)},function(u){function d(c){return c[0]*c[0]+c[1]*c[1]}function g(c){var h=bt.sqrt(d(c));c[0]&&(c[0]/=h),c[1]&&(c[1]/=h)}u.add=function(c,h,v,b,E,S){var L,W,ot,Q,Y=[[],[],[]],ut=[[this.a,this.c,this.e],[this.b,this.d,this.f],[0,0,1]],pt=[[c,v,E],[h,b,S],[0,0,1]];for(c&&c instanceof jn&&(pt=[[c.a,c.c,c.e],[c.b,c.d,c.f],[0,0,1]]),L=0;L<3;L++)for(W=0;W<3;W++){for(Q=0,ot=0;ot<3;ot++)Q+=ut[L][ot]*pt[ot][W];Y[L][W]=Q}this.a=Y[0][0],this.b=Y[1][0],this.c=Y[0][1],this.d=Y[1][1],this.e=Y[0][2],this.f=Y[1][2]},u.invert=function(){var c=this,h=c.a*c.d-c.b*c.c;return new jn(c.d/h,-c.b/h,-c.c/h,c.a/h,(c.c*c.f-c.d*c.e)/h,(c.b*c.e-c.a*c.f)/h)},u.clone=function(){return new jn(this.a,this.b,this.c,this.d,this.e,this.f)},u.translate=function(c,h){this.add(1,0,0,1,c,h)},u.scale=function(c,h,v,b){h==null&&(h=c),(v||b)&&this.add(1,0,0,1,v,b),this.add(c,0,0,h,0,0),(v||b)&&this.add(1,0,0,1,-v,-b)},u.rotate=function(c,h,v){c=l.rad(c),h=h||0,v=v||0;var b=+bt.cos(c).toFixed(9),E=+bt.sin(c).toFixed(9);this.add(b,E,-E,b,h,v),this.add(1,0,0,1,-h,-v)},u.x=function(c,h){return c*this.a+h*this.c+this.e},u.y=function(c,h){return c*this.b+h*this.d+this.f},u.get=function(c){return+this[$.fromCharCode(97+c)].toFixed(4)},u.toString=function(){return l.svg?"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")":[this.get(0),this.get(2),this.get(1),this.get(3),0,0].join()},u.toFilter=function(){return"progid:DXImageTransform.Microsoft.Matrix(M11="+this.get(0)+", M12="+this.get(2)+", M21="+this.get(1)+", M22="+this.get(3)+", Dx="+this.get(4)+", Dy="+this.get(5)+", sizingmethod='auto expand')"},u.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]},u.split=function(){var c={};c.dx=this.e,c.dy=this.f;var h=[[this.a,this.c],[this.b,this.d]];c.scalex=bt.sqrt(d(h[0])),g(h[0]),c.shear=h[0][0]*h[1][0]+h[0][1]*h[1][1],h[1]=[h[1][0]-h[0][0]*c.shear,h[1][1]-h[0][1]*c.shear],c.scaley=bt.sqrt(d(h[1])),g(h[1]),c.shear/=c.scaley;var v=-h[0][1],b=h[1][1];return b<0?(c.rotate=l.deg(bt.acos(b)),v<0&&(c.rotate=360-c.rotate)):c.rotate=l.deg(bt.asin(v)),c.isSimple=!(+c.shear.toFixed(9)||c.scalex.toFixed(9)!=c.scaley.toFixed(9)&&c.rotate),c.isSuperSimple=!+c.shear.toFixed(9)&&c.scalex.toFixed(9)==c.scaley.toFixed(9)&&!c.rotate,c.noRotation=!+c.shear.toFixed(9)&&!c.rotate,c},u.toTransformString=function(c){var h=c||this[dt]();return h.isSimple?(h.scalex=+h.scalex.toFixed(4),h.scaley=+h.scaley.toFixed(4),h.rotate=+h.rotate.toFixed(4),(h.dx||h.dy?"t"+[h.dx,h.dy]:q)+(h.scalex!=1||h.scaley!=1?"s"+[h.scalex,h.scaley,0,0]:q)+(h.rotate?"r"+[h.rotate,0,0]:q)):"m"+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)]}}(jn.prototype);for(var fo=function(){this.returnValue=!1},po=function(){return this.originalEvent.preventDefault()},mo=function(){this.cancelBubble=!0},go=function(){return this.originalEvent.stopPropagation()},nr=function(u){var d=C.doc.documentElement.scrollTop||C.doc.body.scrollTop,g=C.doc.documentElement.scrollLeft||C.doc.body.scrollLeft;return{x:u.clientX+g,y:u.clientY+d}},Hn=C.doc.addEventListener?function(u,d,g,c){var h=function(b){var E=nr(b);return g.call(c,b,E.x,E.y)};if(u.addEventListener(d,h,!1),j&&It[d]){var v=function(b){for(var E=nr(b),S=b,L=0,W=b.targetTouches&&b.targetTouches.length;L<W;L++)if(b.targetTouches[L].target==u){(b=b.targetTouches[L]).originalEvent=S,b.preventDefault=po,b.stopPropagation=go;break}return g.call(c,b,E.x,E.y)};u.addEventListener(It[d],v,!1)}return function(){return u.removeEventListener(d,h,!1),j&&It[d]&&u.removeEventListener(It[d],v,!1),!0}}:C.doc.attachEvent?function(u,d,g,c){var h=function(v){v=v||C.win.event;var b=C.doc.documentElement.scrollTop||C.doc.body.scrollTop,E=C.doc.documentElement.scrollLeft||C.doc.body.scrollLeft,S=v.clientX+E,L=v.clientY+b;return v.preventDefault=v.preventDefault||fo,v.stopPropagation=v.stopPropagation||mo,g.call(c,v,S,L)};return u.attachEvent("on"+d,h),function(){return u.detachEvent("on"+d,h),!0}}:void 0,Qe=[],Un=function(u){for(var d,g=u.clientX,c=u.clientY,h=C.doc.documentElement.scrollTop||C.doc.body.scrollTop,v=C.doc.documentElement.scrollLeft||C.doc.body.scrollLeft,b=Qe.length;b--;){if(d=Qe[b],j&&u.touches){for(var E,S=u.touches.length;S--;)if((E=u.touches[S]).identifier==d.el._drag.id){g=E.clientX,c=E.clientY,(u.originalEvent?u.originalEvent:u).preventDefault();break}}else u.preventDefault();var L,W=d.el.node,ot=W.nextSibling,Q=W.parentNode,Y=W.style.display;C.win.opera&&Q.removeChild(W),W.style.display="none",L=d.el.paper.getElementByPoint(g,c),W.style.display=Y,C.win.opera&&(ot?Q.insertBefore(W,ot):Q.appendChild(W)),L&&a("raphael.drag.over."+d.el.id,d.el,L),g+=v,c+=h,a("raphael.drag.move."+d.el.id,d.move_scope||d.el,g-d.el._drag.x,c-d.el._drag.y,g,c,u)}},ai=function(u){l.unmousemove(Un).unmouseup(ai);for(var d,g=Qe.length;g--;)(d=Qe[g]).el._drag={},a("raphael.drag.end."+d.el.id,d.end_scope||d.start_scope||d.move_scope||d.el,u);Qe=[]},le=l.el={},vo=xt.length;vo--;)(function(u){l[u]=le[u]=function(d,g){return l.is(d,"function")&&(this.events=this.events||[],this.events.push({name:u,f:d,unbind:Hn(this.shape||this.node||C.doc,u,d,g||this)})),this},l["un"+u]=le["un"+u]=function(d){for(var g=this.events||[],c=g.length;c--;)g[c].name!=u||!l.is(d,"undefined")&&g[c].f!=d||(g[c].unbind(),g.splice(c,1),!g.length&&delete this.events);return this}})(xt[vo]);le.data=function(u,d){var g=G[this.id]=G[this.id]||{};if(arguments.length==0)return g;if(arguments.length==1){if(l.is(u,"object")){for(var c in u)u[N](c)&&this.data(c,u[c]);return this}return a("raphael.data.get."+this.id,this,g[u],u),g[u]}return g[u]=d,a("raphael.data.set."+this.id,this,d,u),this},le.removeData=function(u){return u==null?delete G[this.id]:G[this.id]&&delete G[this.id][u],this},le.getData=function(){return At(G[this.id]||{})},le.hover=function(u,d,g,c){return this.mouseover(u,g).mouseout(d,c||g)},le.unhover=function(u,d){return this.unmouseover(u).unmouseout(d)};var li=[];le.drag=function(u,d,g,c,h,v){function b(E){(E.originalEvent||E).preventDefault();var S=E.clientX,L=E.clientY,W=C.doc.documentElement.scrollTop||C.doc.body.scrollTop,ot=C.doc.documentElement.scrollLeft||C.doc.body.scrollLeft;if(this._drag.id=E.identifier,j&&E.touches){for(var Q,Y=E.touches.length;Y--;)if(Q=E.touches[Y],this._drag.id=Q.identifier,Q.identifier==this._drag.id){S=Q.clientX,L=Q.clientY;break}}this._drag.x=S+ot,this._drag.y=L+W,!Qe.length&&l.mousemove(Un).mouseup(ai),Qe.push({el:this,move_scope:c,start_scope:h,end_scope:v}),d&&a.on("raphael.drag.start."+this.id,d),u&&a.on("raphael.drag.move."+this.id,u),g&&a.on("raphael.drag.end."+this.id,g),a("raphael.drag.start."+this.id,h||c||this,this._drag.x,this._drag.y,E)}return this._drag={},li.push({el:this,start:b}),this.mousedown(b),this},le.onDragOver=function(u){u?a.on("raphael.drag.over."+this.id,u):a.unbind("raphael.drag.over."+this.id)},le.undrag=function(){for(var u=li.length;u--;)li[u].el==this&&(this.unmousedown(li[u].start),li.splice(u,1),a.unbind("raphael.drag.*."+this.id));!li.length&&l.unmousemove(Un).unmouseup(ai),Qe=[]},p.circle=function(u,d,g){var c=l._engine.circle(this,u||0,d||0,g||0);return this.__set__&&this.__set__.push(c),c},p.rect=function(u,d,g,c,h){var v=l._engine.rect(this,u||0,d||0,g||0,c||0,h||0);return this.__set__&&this.__set__.push(v),v},p.ellipse=function(u,d,g,c){var h=l._engine.ellipse(this,u||0,d||0,g||0,c||0);return this.__set__&&this.__set__.push(h),h},p.path=function(u){u&&!l.is(u,"string")&&!l.is(u[0],F)&&(u+=q);var d=l._engine.path(l.format[I](l,arguments),this);return this.__set__&&this.__set__.push(d),d},p.image=function(u,d,g,c,h){var v=l._engine.image(this,u||"about:blank",d||0,g||0,c||0,h||0);return this.__set__&&this.__set__.push(v),v},p.text=function(u,d,g){var c=l._engine.text(this,u||0,d||0,$(g));return this.__set__&&this.__set__.push(c),c},p.set=function(u){!l.is(u,"array")&&(u=Array.prototype.splice.call(arguments,0,arguments.length));var d=new Ai(u);return this.__set__&&this.__set__.push(d),d.paper=this,d.type="set",d},p.setStart=function(u){this.__set__=u||this.set()},p.setFinish=function(u){var d=this.__set__;return delete this.__set__,d},p.getSize=function(){var u=this.canvas.parentNode;return{width:u.offsetWidth,height:u.offsetHeight}},p.setSize=function(u,d){return l._engine.setSize.call(this,u,d)},p.setViewBox=function(u,d,g,c,h){return l._engine.setViewBox.call(this,u,d,g,c,h)},p.top=p.bottom=null,p.raphael=l;function Mi(){return this.x+X+this.y+X+this.width+" × "+this.height}p.getElementByPoint=function(u,d){var g,c,h,v,b,E,S,L=this.canvas,W=C.doc.elementFromPoint(u,d);if(C.win.opera&&W.tagName=="svg"){var ot=(c=(g=L).getBoundingClientRect(),h=g.ownerDocument,v=h.body,b=h.documentElement,E=b.clientTop||v.clientTop||0,S=b.clientLeft||v.clientLeft||0,{y:c.top+(C.win.pageYOffset||b.scrollTop||v.scrollTop)-E,x:c.left+(C.win.pageXOffset||b.scrollLeft||v.scrollLeft)-S}),Q=L.createSVGRect();Q.x=u-ot.x,Q.y=d-ot.y,Q.width=Q.height=1;var Y=L.getIntersectionList(Q,null);Y.length&&(W=Y[Y.length-1])}if(!W)return null;for(;W.parentNode&&W!=L.parentNode&&!W.raphael;)W=W.parentNode;return W==this.canvas.parentNode&&(W=L),W=W&&W.raphael?this.getById(W.raphaelid):null},p.getElementsByBBox=function(u){var d=this.set();return this.forEach(function(g){l.isBBoxIntersect(g.getBBox(),u)&&d.push(g)}),d},p.getById=function(u){for(var d=this.bottom;d;){if(d.id==u)return d;d=d.next}return null},p.forEach=function(u,d){for(var g=this.bottom;g;){if(u.call(d,g)===!1)return this;g=g.next}return this},p.getElementsByPoint=function(u,d){var g=this.set();return this.forEach(function(c){c.isPointInside(u,d)&&g.push(c)}),g},le.isPointInside=function(u,d){var g=this.realPath=st[this.type](this);return this.attr("transform")&&this.attr("transform").length&&(g=l.transformPath(g,this.attr("transform"))),l.isPointInsidePath(g,u,d)},le.getBBox=function(u){if(this.removed)return{};var d=this._;return u?(!d.dirty&&d.bboxwt||(this.realPath=st[this.type](this),d.bboxwt=cn(this.realPath),d.bboxwt.toString=Mi,d.dirty=0),d.bboxwt):((d.dirty||d.dirtyT||!d.bbox)&&(!d.dirty&&this.realPath||(d.bboxwt=0,this.realPath=st[this.type](this)),d.bbox=cn(vt(this.realPath,this.matrix)),d.bbox.toString=Mi,d.dirty=d.dirtyT=0),d.bbox)},le.clone=function(){if(this.removed)return null;var u=this.paper[this.type]().attr(this.attr());return this.__set__&&this.__set__.push(u),u},le.glow=function(u){if(this.type=="text")return null;var d={width:((u=u||{}).width||10)+(+this.attr("stroke-width")||1),fill:u.fill||!1,opacity:u.opacity==null?.5:u.opacity,offsetx:u.offsetx||0,offsety:u.offsety||0,color:u.color||"#000"},g=d.width/2,c=this.paper,h=c.set(),v=this.realPath||st[this.type](this);v=this.matrix?vt(v,this.matrix):v;for(var b=1;b<g+1;b++)h.push(c.path(v).attr({stroke:d.color,fill:d.fill?d.color:"none","stroke-linejoin":"round","stroke-linecap":"round","stroke-width":+(d.width/g*b).toFixed(3),opacity:+(d.opacity/g).toFixed(3)}));return h.insertBefore(this).translate(d.offsetx,d.offsety)};var He=function(u,d,g,c,h,v,b,E,S){return S==null?Ge(u,d,g,c,h,v,b,E):l.findDotsAtSegment(u,d,g,c,h,v,b,E,function(L,W,ot,Q,Y,ut,pt,ht,it){if(!(it<0||Ge(L,W,ot,Q,Y,ut,pt,ht)<it)){var Dt,mt=.5,Et=1-mt;for(Dt=Ge(L,W,ot,Q,Y,ut,pt,ht,Et);wt(Dt-it)>.01;)Dt=Ge(L,W,ot,Q,Y,ut,pt,ht,Et+=(Dt<it?1:-1)*(mt/=2));return Et}}(u,d,g,c,h,v,b,E,S))},Sn=function(u,d){return function(g,c,h){for(var v,b,E,S,L,W="",ot={},Q=0,Y=0,ut=(g=Ii(g)).length;Y<ut;Y++){if((E=g[Y])[0]=="M")v=+E[1],b=+E[2];else{if(Q+(S=He(v,b,E[1],E[2],E[3],E[4],E[5],E[6]))>c){if(d&&!ot.start){if(W+=["C"+(L=He(v,b,E[1],E[2],E[3],E[4],E[5],E[6],c-Q)).start.x,L.start.y,L.m.x,L.m.y,L.x,L.y],h)return W;ot.start=W,W=["M"+L.x,L.y+"C"+L.n.x,L.n.y,L.end.x,L.end.y,E[5],E[6]].join(),Q+=S,v=+E[5],b=+E[6];continue}if(!u&&!d)return{x:(L=He(v,b,E[1],E[2],E[3],E[4],E[5],E[6],c-Q)).x,y:L.y,alpha:L.alpha}}Q+=S,v=+E[5],b=+E[6]}W+=E.shift()+E}return ot.end=W,(L=u?Q:d?ot:l.findDotsAtSegment(v,b,E[0],E[1],E[2],E[3],E[4],E[5],1)).alpha&&(L={x:L.x,y:L.y,alpha:L.alpha}),L}},_n=Sn(1),un=Sn(),Wn=Sn(0,1);l.getTotalLength=_n,l.getPointAtLength=un,l.getSubpath=function(u,d,g){if(this.getTotalLength(u)-g<1e-6)return Wn(u,d).end;var c=Wn(u,g,1);return d?Wn(c,d).end:c},le.getTotalLength=function(){var u=this.getPath();if(u)return this.node.getTotalLength?this.node.getTotalLength():_n(u)},le.getPointAtLength=function(u){var d=this.getPath();if(d)return un(d,u)},le.getPath=function(){var u,d=l._getPath[this.type];if(this.type!="text"&&this.type!="set")return d&&(u=d(this)),u},le.getSubpath=function(u,d){var g=this.getPath();if(g)return l.getSubpath(g,u,d)};var be=l.easing_formulas={linear:function(u){return u},"<":function(u){return rt(u,1.7)},">":function(u){return rt(u,.48)},"<>":function(u){var d=.48-u/1.04,g=bt.sqrt(.1734+d*d),c=g-d,h=-g-d,v=rt(wt(c),1/3)*(c<0?-1:1)+rt(wt(h),1/3)*(h<0?-1:1)+.5;return 3*(1-v)*v*v+v*v*v},backIn:function(u){var d=1.70158;return u*u*((d+1)*u-d)},backOut:function(u){var d=1.70158;return(u-=1)*u*((d+1)*u+d)+1},elastic:function(u){return u==!!u?u:rt(2,-10*u)*bt.sin(2*U*(u-.075)/.3)+1},bounce:function(u){var d=7.5625,g=2.75;return u<1/g?d*u*u:u<2/g?d*(u-=1.5/g)*u+.75:u<2.5/g?d*(u-=2.25/g)*u+.9375:d*(u-=2.625/g)*u+.984375}};be.easeIn=be["ease-in"]=be["<"],be.easeOut=be["ease-out"]=be[">"],be.easeInOut=be["ease-in-out"]=be["<>"],be["back-in"]=be.backIn,be["back-out"]=be.backOut;var Yt=[],Zr=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(u){setTimeout(u,16)},ir=function(){for(var u=+new Date,d=0;d<Yt.length;d++){var g=Yt[d];if(!g.el.removed&&!g.paused){var c,h,v=u-g.start,b=g.ms,E=g.easing,S=g.from,L=g.diff,W=g.to,ot=(g.t,g.el),Q={},Y={};if(g.initstatus?(v=(g.initstatus*g.anim.top-g.prev)/(g.percent-g.prev)*b,g.status=g.initstatus,delete g.initstatus,g.stop&&Yt.splice(d--,1)):g.status=(g.prev+(g.percent-g.prev)*(v/b))/g.anim.top,!(v<0))if(v<b){var ut=E(v/b);for(var pt in S)if(S[N](pt)){switch(H[pt]){case tt:c=+S[pt]+ut*b*L[pt];break;case"colour":c="rgb("+[ci(O(S[pt].r+ut*b*L[pt].r)),ci(O(S[pt].g+ut*b*L[pt].g)),ci(O(S[pt].b+ut*b*L[pt].b))].join(",")+")";break;case"path":c=[];for(var ht=0,it=S[pt].length;ht<it;ht++){c[ht]=[S[pt][ht][0]];for(var Dt=1,mt=S[pt][ht].length;Dt<mt;Dt++)c[ht][Dt]=+S[pt][ht][Dt]+ut*b*L[pt][ht][Dt];c[ht]=c[ht].join(X)}c=c.join(X);break;case"transform":if(L[pt].real)for(c=[],ht=0,it=S[pt].length;ht<it;ht++)for(c[ht]=[S[pt][ht][0]],Dt=1,mt=S[pt][ht].length;Dt<mt;Dt++)c[ht][Dt]=S[pt][ht][Dt]+ut*b*L[pt][ht][Dt];else{var Et=function(Xt){return+S[pt][Xt]+ut*b*L[pt][Xt]};c=[["m",Et(0),Et(1),Et(2),Et(3),Et(4),Et(5)]]}break;case"csv":if(pt=="clip-rect")for(c=[],ht=4;ht--;)c[ht]=+S[pt][ht]+ut*b*L[pt][ht];break;default:var yt=[][M](S[pt]);for(c=[],ht=ot.paper.customAttributes[pt].length;ht--;)c[ht]=+yt[ht]+ut*b*L[pt][ht]}Q[pt]=c}ot.attr(Q),function(Xt,Ht,Kt){setTimeout(function(){a("raphael.anim.frame."+Xt,Ht,Kt)})}(ot.id,ot,g.anim)}else{if(function(Xt,Ht,Kt){setTimeout(function(){a("raphael.anim.frame."+Ht.id,Ht,Kt),a("raphael.anim.finish."+Ht.id,Ht,Kt),l.is(Xt,"function")&&Xt.call(Ht)})}(g.callback,ot,g.anim),ot.attr(W),Yt.splice(d--,1),g.repeat>1&&!g.next){for(h in W)W[N](h)&&(Y[h]=g.totalOrigin[h]);g.el.attr(Y),qn(g.anim,g.el,g.anim.percents[0],null,g.totalOrigin,g.repeat-1)}g.next&&!g.stop&&qn(g.anim,g.el,g.next,null,g.totalOrigin,g.repeat)}}}Yt.length&&Zr(ir)},ci=function(u){return u>255?255:u<0?0:u};function on(u,d,g,c,h,v){var b=3*d,E=3*(c-d)-b,S=1-b-E,L=3*g,W=3*(h-g)-L,ot=1-L-W;function Q(Y){return((S*Y+E)*Y+b)*Y}return function(Y,ut){var pt=function(ht,it){var Dt,mt,Et,yt,Xt,Ht;for(Et=ht,Ht=0;Ht<8;Ht++){if(yt=Q(Et)-ht,wt(yt)<it)return Et;if(wt(Xt=(3*S*Et+2*E)*Et+b)<1e-6)break;Et-=yt/Xt}if(mt=1,(Et=ht)<(Dt=0))return Dt;if(Et>mt)return mt;for(;Dt<mt;){if(yt=Q(Et),wt(yt-ht)<it)return Et;ht>yt?Dt=Et:mt=Et,Et=(mt-Dt)/2+Dt}return Et}(Y,ut);return((ot*pt+W)*pt+L)*pt}(u,1/(200*v))}function Je(u,d){var g=[],c={};if(this.ms=d,this.times=1,u){for(var h in u)u[N](h)&&(c[R(h)]=u[h],g.push(R(h)));g.sort(K)}this.anim=c,this.top=g[g.length-1],this.percents=g}function qn(u,d,g,c,h,v){g=R(g);var b,E,S,L,W,ot,Q=u.ms,Y={},ut={},pt={};if(c)for(it=0,Dt=Yt.length;it<Dt;it++){var ht=Yt[it];if(ht.el.id==d.id&&ht.anim==u){ht.percent!=g?(Yt.splice(it,1),S=1):E=ht,d.attr(ht.totalOrigin);break}}else c=+ut;for(var it=0,Dt=u.percents.length;it<Dt;it++){if(u.percents[it]==g||u.percents[it]>c*u.top){g=u.percents[it],W=u.percents[it-1]||0,Q=Q/u.top*(g-W),L=u.percents[it+1],b=u.anim[g];break}c&&d.attr(u.anim[u.percents[it]])}if(b){if(E)E.initstatus=c,E.start=new Date-E.ms*c;else{for(var mt in b)if(b[N](mt)&&(H[N](mt)||d.paper.customAttributes[N](mt)))switch(Y[mt]=d.attr(mt),Y[mt]==null&&(Y[mt]=lt[mt]),ut[mt]=b[mt],H[mt]){case tt:pt[mt]=(ut[mt]-Y[mt])/Q;break;case"colour":Y[mt]=l.getRGB(Y[mt]);var Et=l.getRGB(ut[mt]);pt[mt]={r:(Et.r-Y[mt].r)/Q,g:(Et.g-Y[mt].g)/Q,b:(Et.b-Y[mt].b)/Q};break;case"path":var yt=Ii(Y[mt],ut[mt]),Xt=yt[1];for(Y[mt]=yt[0],pt[mt]=[],it=0,Dt=Y[mt].length;it<Dt;it++){pt[mt][it]=[0];for(var Ht=1,Kt=Y[mt][it].length;Ht<Kt;Ht++)pt[mt][it][Ht]=(Xt[it][Ht]-Y[mt][it][Ht])/Q}break;case"transform":var ar=d._,Qr=ho(ar[mt],ut[mt]);if(Qr)for(Y[mt]=Qr.from,ut[mt]=Qr.to,pt[mt]=[],pt[mt].real=!0,it=0,Dt=Y[mt].length;it<Dt;it++)for(pt[mt][it]=[Y[mt][it][0]],Ht=1,Kt=Y[mt][it].length;Ht<Kt;Ht++)pt[mt][it][Ht]=(ut[mt][it][Ht]-Y[mt][it][Ht])/Q;else{var tn=d.matrix||new jn,Nn={_:{transform:ar.transform},getBBox:function(){return d.getBBox(1)}};Y[mt]=[tn.a,tn.b,tn.c,tn.d,tn.e,tn.f],er(Nn,ut[mt]),ut[mt]=Nn._.transform,pt[mt]=[(Nn.matrix.a-tn.a)/Q,(Nn.matrix.b-tn.b)/Q,(Nn.matrix.c-tn.c)/Q,(Nn.matrix.d-tn.d)/Q,(Nn.matrix.e-tn.e)/Q,(Nn.matrix.f-tn.f)/Q]}break;case"csv":var lr=$(b[mt])[dt](m),cr=$(Y[mt])[dt](m);if(mt=="clip-rect")for(Y[mt]=cr,pt[mt]=[],it=cr.length;it--;)pt[mt][it]=(lr[it]-Y[mt][it])/Q;ut[mt]=lr;break;default:for(lr=[][M](b[mt]),cr=[][M](Y[mt]),pt[mt]=[],it=d.paper.customAttributes[mt].length;it--;)pt[mt][it]=((lr[it]||0)-(cr[it]||0))/Q}var yo=b.easing,Yn=l.easing_formulas[yo];if(!Yn)if((Yn=$(yo).match(x))&&Yn.length==5){var Li=Yn;Yn=function(_o){return on(_o,+Li[1],+Li[2],+Li[3],+Li[4],Q)}}else Yn=et;if(ht={anim:u,percent:g,timestamp:ot=b.start||u.start||+new Date,start:ot+(u.del||0),status:0,initstatus:c||0,stop:!1,ms:Q,easing:Yn,from:Y,diff:pt,to:ut,el:d,callback:b.callback,prev:W,next:L,repeat:v||u.times,origin:d.attr(),totalOrigin:h},Yt.push(ht),c&&!E&&!S&&(ht.stop=!0,ht.start=new Date-Q*c,Yt.length==1))return ir();S&&(ht.start=new Date-ht.ms*c),Yt.length==1&&Zr(ir)}a("raphael.anim.start."+d.id,d,u)}}function rr(u){for(var d=0;d<Yt.length;d++)Yt[d].el.paper==u&&Yt.splice(d--,1)}le.animateWith=function(u,d,g,c,h,v){if(this.removed)return v&&v.call(this),this;var b=g instanceof Je?g:l.animation(g,c,h,v);qn(b,this,b.percents[0],null,this.attr());for(var E=0,S=Yt.length;E<S;E++)if(Yt[E].anim==d&&Yt[E].el==u){Yt[S-1].start=Yt[E].start;break}return this},le.onAnimation=function(u){return u?a.on("raphael.anim.frame."+this.id,u):a.unbind("raphael.anim.frame."+this.id),this},Je.prototype.delay=function(u){var d=new Je(this.anim,this.ms);return d.times=this.times,d.del=+u||0,d},Je.prototype.repeat=function(u){var d=new Je(this.anim,this.ms);return d.del=this.del,d.times=bt.floor(Rt(u,0))||1,d},l.animation=function(u,d,g,c){if(u instanceof Je)return u;!l.is(g,"function")&&g||(c=c||g||null,g=null),u=Object(u),d=+d||0;var h,v,b={};for(v in u)u[N](v)&&R(v)!=v&&R(v)+"%"!=v&&(h=!0,b[v]=u[v]);if(h)return g&&(b.easing=g),c&&(b.callback=c),new Je({100:b},d);if(c){var E=0;for(var S in u){var L=B(S);u[N](S)&&L>E&&(E=L)}!u[E+="%"].callback&&(u[E].callback=c)}return new Je(u,d)},le.animate=function(u,d,g,c){if(this.removed)return c&&c.call(this),this;var h=u instanceof Je?u:l.animation(u,d,g,c);return qn(h,this,h.percents[0],null,this.attr()),this},le.setTime=function(u,d){return u&&d!=null&&this.status(u,Ot(d,u.ms)/u.ms),this},le.status=function(u,d){var g,c,h=[],v=0;if(d!=null)return qn(u,this,-1,Ot(d,1)),this;for(g=Yt.length;v<g;v++)if((c=Yt[v]).el.id==this.id&&(!u||c.anim==u)){if(u)return c.status;h.push({anim:c.anim,status:c.status})}return u?0:h},le.pause=function(u){for(var d=0;d<Yt.length;d++)Yt[d].el.id!=this.id||u&&Yt[d].anim!=u||a("raphael.anim.pause."+this.id,this,Yt[d].anim)!==!1&&(Yt[d].paused=!0);return this},le.resume=function(u){for(var d=0;d<Yt.length;d++)if(Yt[d].el.id==this.id&&(!u||Yt[d].anim==u)){var g=Yt[d];a("raphael.anim.resume."+this.id,this,g.anim)!==!1&&(delete g.paused,this.status(g.anim,g.status))}return this},le.stop=function(u){for(var d=0;d<Yt.length;d++)Yt[d].el.id!=this.id||u&&Yt[d].anim!=u||a("raphael.anim.stop."+this.id,this,Yt[d].anim)!==!1&&Yt.splice(d--,1);return this},a.on("raphael.remove",rr),a.on("raphael.clear",rr),le.toString=function(){return"Raphaël’s object"};var sr,or,hn,fn,Ai=function(u){if(this.items=[],this.length=0,this.type="set",u)for(var d=0,g=u.length;d<g;d++)!u[d]||u[d].constructor!=le.constructor&&u[d].constructor!=Ai||(this[this.items.length]=this.items[this.items.length]=u[d],this.length++)},Me=Ai.prototype;for(var Di in Me.push=function(){for(var u,d,g=0,c=arguments.length;g<c;g++)!(u=arguments[g])||u.constructor!=le.constructor&&u.constructor!=Ai||(this[d=this.items.length]=this.items[d]=u,this.length++);return this},Me.pop=function(){return this.length&&delete this[this.length--],this.items.pop()},Me.forEach=function(u,d){for(var g=0,c=this.items.length;g<c;g++)if(u.call(d,this.items[g],g)===!1)return this;return this},le)le[N](Di)&&(Me[Di]=function(u){return function(){var d=arguments;return this.forEach(function(g){g[u][I](g,d)})}}(Di));return Me.attr=function(u,d){if(u&&l.is(u,F)&&l.is(u[0],"object"))for(var g=0,c=u.length;g<c;g++)this.items[g].attr(u[g]);else for(var h=0,v=this.items.length;h<v;h++)this.items[h].attr(u,d);return this},Me.clear=function(){for(;this.length;)this.pop()},Me.splice=function(u,d,g){u=u<0?Rt(this.length+u,0):u,d=Rt(0,Ot(this.length-u,d));var c,h=[],v=[],b=[];for(c=2;c<arguments.length;c++)b.push(arguments[c]);for(c=0;c<d;c++)v.push(this[u+c]);for(;c<this.length-u;c++)h.push(this[u+c]);var E=b.length;for(c=0;c<E+h.length;c++)this.items[u+c]=this[u+c]=c<E?b[c]:h[c-E];for(c=this.items.length=this.length-=d-E;this[c];)delete this[c++];return new Ai(v)},Me.exclude=function(u){for(var d=0,g=this.length;d<g;d++)if(this[d]==u)return this.splice(d,1),!0},Me.animate=function(u,d,g,c){(l.is(g,"function")||!g)&&(c=g||null);var h,v,b=this.items.length,E=b,S=this;if(!b)return this;c&&(v=function(){!--b&&c.call(S)}),g=l.is(g,"string")?g:v;var L=l.animation(u,d,g,v);for(h=this.items[--E].animate(L);E--;)this.items[E]&&!this.items[E].removed&&this.items[E].animateWith(h,L,L),this.items[E]&&!this.items[E].removed||b--;return this},Me.insertAfter=function(u){for(var d=this.items.length;d--;)this.items[d].insertAfter(u);return this},Me.getBBox=function(){for(var u=[],d=[],g=[],c=[],h=this.items.length;h--;)if(!this.items[h].removed){var v=this.items[h].getBBox();u.push(v.x),d.push(v.y),g.push(v.x+v.width),c.push(v.y+v.height)}return{x:u=Ot[I](0,u),y:d=Ot[I](0,d),x2:g=Rt[I](0,g),y2:c=Rt[I](0,c),width:g-u,height:c-d}},Me.clone=function(u){u=this.paper.set();for(var d=0,g=this.items.length;d<g;d++)u.push(this.items[d].clone());return u},Me.toString=function(){return"Raphaël‘s set"},Me.glow=function(u){var d=this.paper.set();return this.forEach(function(g,c){var h=g.glow(u);h?.forEach(function(v,b){d.push(v)})}),d},Me.isPointInside=function(u,d){var g=!1;return this.forEach(function(c){if(c.isPointInside(u,d))return g=!0,!1}),g},l.registerFont=function(u){if(!u.face)return u;this.fonts=this.fonts||{};var d={w:u.w,face:{},glyphs:{}},g=u.face["font-family"];for(var c in u.face)u.face[N](c)&&(d.face[c]=u.face[c]);if(this.fonts[g]?this.fonts[g].push(d):this.fonts[g]=[d],!u.svg){for(var h in d.face["units-per-em"]=B(u.face["units-per-em"],10),u.glyphs)if(u.glyphs[N](h)){var v=u.glyphs[h];if(d.glyphs[h]={w:v.w,k:{},d:v.d&&"M"+v.d.replace(/[mlcxtrv]/g,function(E){return{l:"L",c:"C",x:"z",t:"m",r:"l",v:"c"}[E]||"M"})+"z"},v.k)for(var b in v.k)v[N](b)&&(d.glyphs[h].k[b]=v.k[b])}}return u},p.getFont=function(u,d,g,c){if(c=c||"normal",g=g||"normal",d=+d||{normal:400,bold:700,lighter:300,bolder:800}[d]||400,l.fonts){var h,v=l.fonts[u];if(!v){var b=new RegExp("(^|\\s)"+u.replace(/[^\w\d\s+!~.:_-]/g,q)+"(\\s|$)","i");for(var E in l.fonts)if(l.fonts[N](E)&&b.test(E)){v=l.fonts[E];break}}if(v)for(var S=0,L=v.length;S<L&&((h=v[S]).face["font-weight"]!=d||h.face["font-style"]!=g&&h.face["font-style"]||h.face["font-stretch"]!=c);S++);return h}},p.print=function(u,d,g,c,h,v,b,E){v=v||"middle",b=Rt(Ot(b||0,1),-1),E=Rt(Ot(E||1,3),1);var S,L=$(g)[dt](q),W=0,ot=0,Q=q;if(l.is(c,"string")&&(c=this.getFont(c)),c){S=(h||16)/c.face["units-per-em"];for(var Y=c.face.bbox[dt](m),ut=+Y[0],pt=Y[3]-Y[1],ht=0,it=+Y[1]+(v=="baseline"?pt+ +c.face.descent:pt/2),Dt=0,mt=L.length;Dt<mt;Dt++){if(L[Dt]==`
49
+ `)W=0,yt=0,ot=0,ht+=pt*E;else{var Et=ot&&c.glyphs[L[Dt-1]]||{},yt=c.glyphs[L[Dt]];W+=ot?(Et.w||c.w)+(Et.k&&Et.k[L[Dt]]||0)+c.w*b:0,ot=1}yt&&yt.d&&(Q+=l.transformPath(yt.d,["t",W*S,ht*S,"s",S,S,ut,it,"t",(u-ut)/S,(d-it)/S]))}}return this.path(Q).attr({fill:"#000",stroke:"none"})},p.add=function(u){if(l.is(u,"array"))for(var d,g=this.set(),c=0,h=u.length;c<h;c++)d=u[c]||{},y[N](d.type)&&g.push(this[d.type]().attr(d));return g},l.format=function(u,d){var g=l.is(d,F)?[0][M](d):arguments;return u&&l.is(u,"string")&&g.length-1&&(u=u.replace(_,function(c,h){return g[++h]==null?q:g[h]})),u||q},l.fullfill=(sr=/\{([^\}]+)\}/g,or=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,function(u,d){return String(u).replace(sr,function(g,c){return function(h,v,b){var E=b;return v.replace(or,function(S,L,W,ot,Q){L=L||ot,E&&(L in E&&(E=E[L]),typeof E=="function"&&Q&&(E=E()))}),E=(E==null||E==b?h:E)+""}(g,c,d)})}),l.ninja=function(){if(A.was)C.win.Raphael=A.is;else{window.Raphael=void 0;try{delete window.Raphael}catch{}}return l},l.st=Me,a.on("raphael.DOMload",function(){f=!0}),(hn=document).readyState==null&&hn.addEventListener&&(hn.addEventListener("DOMContentLoaded",fn=function(){hn.removeEventListener("DOMContentLoaded",fn,!1),hn.readyState="complete"},!1),hn.readyState="loading"),function u(){/in/.test(hn.readyState)?setTimeout(u,9):l.eve("raphael.DOMload")}(),l}.apply(i,s))===void 0||(n.exports=o)},function(n,i,r){var s,o;s=[r(0),r(3),r(4)],(o=function(a){return a}.apply(i,s))===void 0||(n.exports=o)},function(n,i,r){var s,o,a,l,f,p,m,y,_,N,C,A,V,I;l="hasOwnProperty",f=/[\.\/]/,p=/\s*,\s*/,m=function(M,j){return M-j},y={n:{}},_=function(){for(var M=0,j=this.length;M<j;M++)if(this[M]!==void 0)return this[M]},N=function(){for(var M=this.length;--M;)if(this[M]!==void 0)return this[M]},C=Object.prototype.toString,A=String,V=Array.isArray||function(M){return M instanceof Array||C.call(M)=="[object Array]"},(I=function(M,j){var q,X=a,$=Array.prototype.slice.call(arguments,2),dt=I.listeners(M),xt=0,It=[],Pt={},bt=[],Rt=o;bt.firstDefined=_,bt.lastDefined=N,o=M,a=0;for(var Ot=0,wt=dt.length;Ot<wt;Ot++)"zIndex"in dt[Ot]&&(It.push(dt[Ot].zIndex),dt[Ot].zIndex<0&&(Pt[dt[Ot].zIndex]=dt[Ot]));for(It.sort(m);It[xt]<0;)if(q=Pt[It[xt++]],bt.push(q.apply(j,$)),a)return a=X,bt;for(Ot=0;Ot<wt;Ot++)if("zIndex"in(q=dt[Ot]))if(q.zIndex==It[xt]){if(bt.push(q.apply(j,$)),a)break;do if((q=Pt[It[++xt]])&&bt.push(q.apply(j,$)),a)break;while(q)}else Pt[q.zIndex]=q;else if(bt.push(q.apply(j,$)),a)break;return a=X,o=Rt,bt})._events=y,I.listeners=function(M){var j,q,X,$,dt,xt,It,Pt,bt=V(M)?M:M.split(f),Rt=y,Ot=[Rt],wt=[];for($=0,dt=bt.length;$<dt;$++){for(Pt=[],xt=0,It=Ot.length;xt<It;xt++)for(q=[(Rt=Ot[xt].n)[bt[$]],Rt["*"]],X=2;X--;)(j=q[X])&&(Pt.push(j),wt=wt.concat(j.f||[]));Ot=Pt}return wt},I.separator=function(M){M?(M="["+(M=A(M).replace(/(?=[\.\^\]\[\-])/g,"\\"))+"]",f=new RegExp(M)):f=/[\.\/]/},I.on=function(M,j){if(typeof j!="function")return function(){};for(var q=V(M)?V(M[0])?M:[M]:A(M).split(p),X=0,$=q.length;X<$;X++)(function(dt){for(var xt,It=V(dt)?dt:A(dt).split(f),Pt=y,bt=0,Rt=It.length;bt<Rt;bt++)Pt=(Pt=Pt.n).hasOwnProperty(It[bt])&&Pt[It[bt]]||(Pt[It[bt]]={n:{}});for(Pt.f=Pt.f||[],bt=0,Rt=Pt.f.length;bt<Rt;bt++)if(Pt.f[bt]==j){xt=!0;break}!xt&&Pt.f.push(j)})(q[X]);return function(dt){+dt==+dt&&(j.zIndex=+dt)}},I.f=function(M){var j=[].slice.call(arguments,1);return function(){I.apply(null,[M,null].concat(j).concat([].slice.call(arguments,0)))}},I.stop=function(){a=1},I.nt=function(M){var j=V(o)?o.join("."):o;return M?new RegExp("(?:\\.|\\/|^)"+M+"(?:\\.|\\/|$)").test(j):j},I.nts=function(){return V(o)?o:o.split(f)},I.off=I.unbind=function(M,j){if(M){var q=V(M)?V(M[0])?M:[M]:A(M).split(p);if(q.length>1)for(var X=0,$=q.length;X<$;X++)I.off(q[X],j);else{q=V(M)?M:A(M).split(f);var dt,xt,It,Pt,bt,Rt=[y];for(X=0,$=q.length;X<$;X++)for(Pt=0;Pt<Rt.length;Pt+=It.length-2){if(It=[Pt,1],dt=Rt[Pt].n,q[X]!="*")dt[q[X]]&&It.push(dt[q[X]]);else for(xt in dt)dt[l](xt)&&It.push(dt[xt]);Rt.splice.apply(Rt,It)}for(X=0,$=Rt.length;X<$;X++)for(dt=Rt[X];dt.n;){if(j){if(dt.f){for(Pt=0,bt=dt.f.length;Pt<bt;Pt++)if(dt.f[Pt]==j){dt.f.splice(Pt,1);break}!dt.f.length&&delete dt.f}for(xt in dt.n)if(dt.n[l](xt)&&dt.n[xt].f){var Ot=dt.n[xt].f;for(Pt=0,bt=Ot.length;Pt<bt;Pt++)if(Ot[Pt]==j){Ot.splice(Pt,1);break}!Ot.length&&delete dt.n[xt].f}}else for(xt in delete dt.f,dt.n)dt.n[l](xt)&&dt.n[xt].f&&delete dt.n[xt].f;dt=dt.n}}}else I._events=y={n:{}}},I.once=function(M,j){var q=function(){return I.off(M,q),j.apply(this,arguments)};return I.on(M,q)},I.version="0.5.0",I.toString=function(){return"You are running Eve 0.5.0"},n.exports?n.exports=I:(s=function(){return I}.apply(i,[]))===void 0||(n.exports=s)},function(n,i,r){var s,o;s=[r(0)],(o=function(a){if(!a||a.svg){var l="hasOwnProperty",f=String,p=parseFloat,m=parseInt,y=Math,_=y.max,N=y.abs,C=y.pow,A=/[, ]+/,V=a.eve,I="",M=" ",j="http://www.w3.org/1999/xlink",q={block:"M5,0 0,2.5 5,5z",classic:"M5,0 0,2.5 5,5 3.5,3 3.5,2z",diamond:"M2.5,0 5,2.5 2.5,5 0,2.5z",open:"M6,1 1,3.5 6,6",oval:"M2.5,0A2.5,2.5,0,0,1,2.5,5 2.5,2.5,0,0,1,2.5,0z"},X={};a.toString=function(){return`Your browser supports SVG.
50
+ You are running Raphaël `+this.version};var $=function(k,w){if(w)for(var x in typeof k=="string"&&(k=$(k)),w)w[l](x)&&(x.substring(0,6)=="xlink:"?k.setAttributeNS(j,x.substring(6),f(w[x])):k.setAttribute(x,f(w[x])));else(k=a._g.doc.createElementNS("http://www.w3.org/2000/svg",k)).style&&(k.style.webkitTapHighlightColor="rgba(0,0,0,0)");return k},dt=function(k,w){var x="linear",O=k.id+w,R=.5,B=.5,z=k.node,lt=k.paper,H=z.style,ct=a._g.doc.getElementById(O);if(!ct){if(w=(w=f(w).replace(a._radial_gradient,function(K,et,Z){if(x="radial",et&&Z){R=p(et);var _t=2*((B=p(Z))>.5)-1;C(R-.5,2)+C(B-.5,2)>.25&&(B=y.sqrt(.25-C(R-.5,2))*_t+.5)&&B!=.5&&(B=B.toFixed(5)-1e-5*_t)}return I})).split(/\s*\-\s*/),x=="linear"){var Ct=w.shift();if(Ct=-p(Ct),isNaN(Ct))return null;var Mt=[0,0,y.cos(a.rad(Ct)),y.sin(a.rad(Ct))],jt=1/(_(N(Mt[2]),N(Mt[3]))||1);Mt[2]*=jt,Mt[3]*=jt,Mt[2]<0&&(Mt[0]=-Mt[2],Mt[2]=0),Mt[3]<0&&(Mt[1]=-Mt[3],Mt[3]=0)}var P=a._parseDots(w);if(!P)return null;if(O=O.replace(/[\(\)\s,\xb0#]/g,"_"),k.gradient&&O!=k.gradient.id&&(lt.defs.removeChild(k.gradient),delete k.gradient),!k.gradient){ct=$(x+"Gradient",{id:O}),k.gradient=ct,$(ct,x=="radial"?{fx:R,fy:B}:{x1:Mt[0],y1:Mt[1],x2:Mt[2],y2:Mt[3],gradientTransform:k.matrix.invert()}),lt.defs.appendChild(ct);for(var D=0,G=P.length;D<G;D++)ct.appendChild($("stop",{offset:P[D].offset?P[D].offset:D?"100%":"0%","stop-color":P[D].color||"#fff","stop-opacity":isFinite(P[D].opacity)?P[D].opacity:1}))}}return $(z,{fill:xt(O),opacity:1,"fill-opacity":1}),H.fill=I,H.opacity=1,H.fillOpacity=1,1},xt=function(k){if((w=document.documentMode)&&(w===9||w===10))return"url('#"+k+"')";var w,x=document.location;return"url('"+(x.protocol+"//"+x.host+x.pathname+x.search)+"#"+k+"')"},It=function(k){var w=k.getBBox(1);$(k.pattern,{patternTransform:k.matrix.invert()+" translate("+w.x+","+w.y+")"})},Pt=function(k,w,x){if(k.type=="path"){for(var O,R,B,z,lt,H=f(w).toLowerCase().split("-"),ct=k.paper,Ct=x?"end":"start",Mt=k.node,jt=k.attrs,P=jt["stroke-width"],D=H.length,G="classic",K=3,et=3,Z=5;D--;)switch(H[D]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":G=H[D];break;case"wide":et=5;break;case"narrow":et=2;break;case"long":K=5;break;case"short":K=2}if(G=="open"?(K+=2,et+=2,Z+=2,B=1,z=x?4:1,lt={fill:"none",stroke:jt.stroke}):(z=B=K/2,lt={fill:jt.stroke,stroke:"none"}),k._.arrows?x?(k._.arrows.endPath&&X[k._.arrows.endPath]--,k._.arrows.endMarker&&X[k._.arrows.endMarker]--):(k._.arrows.startPath&&X[k._.arrows.startPath]--,k._.arrows.startMarker&&X[k._.arrows.startMarker]--):k._.arrows={},G!="none"){var _t="raphael-marker-"+G,st="raphael-marker-"+Ct+G+K+et+"-obj"+k.id;a._g.doc.getElementById(_t)?X[_t]++:(ct.defs.appendChild($($("path"),{"stroke-linecap":"round",d:q[G],id:_t})),X[_t]=1);var vt,nt=a._g.doc.getElementById(st);nt?(X[st]++,vt=nt.getElementsByTagName("use")[0]):(nt=$($("marker"),{id:st,markerHeight:et,markerWidth:K,orient:"auto",refX:z,refY:et/2}),vt=$($("use"),{"xlink:href":"#"+_t,transform:(x?"rotate(180 "+K/2+" "+et/2+") ":I)+"scale("+K/Z+","+et/Z+")","stroke-width":(1/((K/Z+et/Z)/2)).toFixed(4)}),nt.appendChild(vt),ct.defs.appendChild(nt),X[st]=1),$(vt,lt);var kt=B*(G!="diamond"&&G!="oval");x?(O=k._.arrows.startdx*P||0,R=a.getTotalLength(jt.path)-kt*P):(O=kt*P,R=a.getTotalLength(jt.path)-(k._.arrows.enddx*P||0)),(lt={})["marker-"+Ct]="url(#"+st+")",(R||O)&&(lt.d=a.getSubpath(jt.path,O,R)),$(Mt,lt),k._.arrows[Ct+"Path"]=_t,k._.arrows[Ct+"Marker"]=st,k._.arrows[Ct+"dx"]=kt,k._.arrows[Ct+"Type"]=G,k._.arrows[Ct+"String"]=w}else x?(O=k._.arrows.startdx*P||0,R=a.getTotalLength(jt.path)-O):(O=0,R=a.getTotalLength(jt.path)-(k._.arrows.enddx*P||0)),k._.arrows[Ct+"Path"]&&$(Mt,{d:a.getSubpath(jt.path,O,R)}),delete k._.arrows[Ct+"Path"],delete k._.arrows[Ct+"Marker"],delete k._.arrows[Ct+"dx"],delete k._.arrows[Ct+"Type"],delete k._.arrows[Ct+"String"];for(lt in X)if(X[l](lt)&&!X[lt]){var At=a._g.doc.getElementById(lt);At&&At.parentNode.removeChild(At)}}},bt={"-":[3,1],".":[1,1],"-.":[3,1,1,1],"-..":[3,1,1,1,1,1],". ":[1,3],"- ":[4,3],"--":[8,3],"- .":[4,3,1,3],"--.":[8,3,1,3],"--..":[8,3,1,3,1,3]},Rt=function(k,w,x){if(w=bt[f(w).toLowerCase()]){for(var O=k.attrs["stroke-width"]||"1",R={round:O,square:O,butt:0}[k.attrs["stroke-linecap"]||x["stroke-linecap"]]||0,B=[],z=w.length;z--;)B[z]=w[z]*O+(z%2?1:-1)*R;$(k.node,{"stroke-dasharray":B.join(",")})}else $(k.node,{"stroke-dasharray":"none"})},Ot=function(k,w){var x=k.node,O=k.attrs,R=x.style.visibility;for(var B in x.style.visibility="hidden",w)if(w[l](B)){if(!a._availableAttrs[l](B))continue;var z=w[B];switch(O[B]=z,B){case"blur":k.blur(z);break;case"title":var lt=x.getElementsByTagName("title");if(lt.length&&(lt=lt[0]))lt.firstChild.nodeValue=z;else{lt=$("title");var H=a._g.doc.createTextNode(z);lt.appendChild(H),x.appendChild(lt)}break;case"href":case"target":var ct=x.parentNode;if(ct.tagName.toLowerCase()!="a"){var Ct=$("a");ct.insertBefore(Ct,x),Ct.appendChild(x),ct=Ct}B=="target"?ct.setAttributeNS(j,"show",z=="blank"?"new":z):ct.setAttributeNS(j,B,z);break;case"cursor":x.style.cursor=z;break;case"transform":k.transform(z);break;case"arrow-start":Pt(k,z);break;case"arrow-end":Pt(k,z,1);break;case"clip-rect":var Mt=f(z).split(A);if(Mt.length==4){k.clip&&k.clip.parentNode.parentNode.removeChild(k.clip.parentNode);var jt=$("clipPath"),P=$("rect");jt.id=a.createUUID(),$(P,{x:Mt[0],y:Mt[1],width:Mt[2],height:Mt[3]}),jt.appendChild(P),k.paper.defs.appendChild(jt),$(x,{"clip-path":"url(#"+jt.id+")"}),k.clip=P}if(!z){var D=x.getAttribute("clip-path");if(D){var G=a._g.doc.getElementById(D.replace(/(^url\(#|\)$)/g,I));G&&G.parentNode.removeChild(G),$(x,{"clip-path":I}),delete k.clip}}break;case"path":k.type=="path"&&($(x,{d:z?O.path=a._pathToAbsolute(z):"M0,0"}),k._.dirty=1,k._.arrows&&("startString"in k._.arrows&&Pt(k,k._.arrows.startString),"endString"in k._.arrows&&Pt(k,k._.arrows.endString,1)));break;case"width":if(x.setAttribute(B,z),k._.dirty=1,!O.fx)break;B="x",z=O.x;case"x":O.fx&&(z=-O.x-(O.width||0));case"rx":if(B=="rx"&&k.type=="rect")break;case"cx":x.setAttribute(B,z),k.pattern&&It(k),k._.dirty=1;break;case"height":if(x.setAttribute(B,z),k._.dirty=1,!O.fy)break;B="y",z=O.y;case"y":O.fy&&(z=-O.y-(O.height||0));case"ry":if(B=="ry"&&k.type=="rect")break;case"cy":x.setAttribute(B,z),k.pattern&&It(k),k._.dirty=1;break;case"r":k.type=="rect"?$(x,{rx:z,ry:z}):x.setAttribute(B,z),k._.dirty=1;break;case"src":k.type=="image"&&x.setAttributeNS(j,"href",z);break;case"stroke-width":k._.sx==1&&k._.sy==1||(z/=_(N(k._.sx),N(k._.sy))||1),x.setAttribute(B,z),O["stroke-dasharray"]&&Rt(k,O["stroke-dasharray"],w),k._.arrows&&("startString"in k._.arrows&&Pt(k,k._.arrows.startString),"endString"in k._.arrows&&Pt(k,k._.arrows.endString,1));break;case"stroke-dasharray":Rt(k,z,w);break;case"fill":var K=f(z).match(a._ISURL);if(K){jt=$("pattern");var et=$("image");jt.id=a.createUUID(),$(jt,{x:0,y:0,patternUnits:"userSpaceOnUse",height:1,width:1}),$(et,{x:0,y:0,"xlink:href":K[1]}),jt.appendChild(et),function(nt){a._preload(K[1],function(){var kt=this.offsetWidth,At=this.offsetHeight;$(nt,{width:kt,height:At}),$(et,{width:kt,height:At})})}(jt),k.paper.defs.appendChild(jt),$(x,{fill:"url(#"+jt.id+")"}),k.pattern=jt,k.pattern&&It(k);break}var Z=a.getRGB(z);if(Z.error){if((k.type=="circle"||k.type=="ellipse"||f(z).charAt()!="r")&&dt(k,z)){if("opacity"in O||"fill-opacity"in O){var _t=a._g.doc.getElementById(x.getAttribute("fill").replace(/^url\(#|\)$/g,I));if(_t){var st=_t.getElementsByTagName("stop");$(st[st.length-1],{"stop-opacity":("opacity"in O?O.opacity:1)*("fill-opacity"in O?O["fill-opacity"]:1)})}}O.gradient=z,O.fill="none";break}}else delete w.gradient,delete O.gradient,!a.is(O.opacity,"undefined")&&a.is(w.opacity,"undefined")&&$(x,{opacity:O.opacity}),!a.is(O["fill-opacity"],"undefined")&&a.is(w["fill-opacity"],"undefined")&&$(x,{"fill-opacity":O["fill-opacity"]});Z[l]("opacity")&&$(x,{"fill-opacity":Z.opacity>1?Z.opacity/100:Z.opacity});case"stroke":Z=a.getRGB(z),x.setAttribute(B,Z.hex),B=="stroke"&&Z[l]("opacity")&&$(x,{"stroke-opacity":Z.opacity>1?Z.opacity/100:Z.opacity}),B=="stroke"&&k._.arrows&&("startString"in k._.arrows&&Pt(k,k._.arrows.startString),"endString"in k._.arrows&&Pt(k,k._.arrows.endString,1));break;case"gradient":(k.type=="circle"||k.type=="ellipse"||f(z).charAt()!="r")&&dt(k,z);break;case"opacity":O.gradient&&!O[l]("stroke-opacity")&&$(x,{"stroke-opacity":z>1?z/100:z});case"fill-opacity":if(O.gradient){(_t=a._g.doc.getElementById(x.getAttribute("fill").replace(/^url\(#|\)$/g,I)))&&(st=_t.getElementsByTagName("stop"),$(st[st.length-1],{"stop-opacity":z}));break}default:B=="font-size"&&(z=m(z,10)+"px");var vt=B.replace(/(\-.)/g,function(nt){return nt.substring(1).toUpperCase()});x.style[vt]=z,k._.dirty=1,x.setAttribute(B,z)}}wt(k,w),x.style.visibility=R},wt=function(k,w){if(k.type=="text"&&(w[l]("text")||w[l]("font")||w[l]("font-size")||w[l]("x")||w[l]("y"))){var x=k.attrs,O=k.node,R=O.firstChild?m(a._g.doc.defaultView.getComputedStyle(O.firstChild,I).getPropertyValue("font-size"),10):10;if(w[l]("text")){for(x.text=w.text;O.firstChild;)O.removeChild(O.firstChild);for(var B,z=f(w.text).split(`
51
+ `),lt=[],H=0,ct=z.length;H<ct;H++)B=$("tspan"),H&&$(B,{dy:1.2*R,x:x.x}),B.appendChild(a._g.doc.createTextNode(z[H])),O.appendChild(B),lt[H]=B}else for(H=0,ct=(lt=O.getElementsByTagName("tspan")).length;H<ct;H++)H?$(lt[H],{dy:1.2*R,x:x.x}):$(lt[0],{dy:0});$(O,{x:x.x,y:x.y}),k._.dirty=1;var Ct=k._getBBox(),Mt=x.y-(Ct.y+Ct.height/2);Mt&&a.is(Mt,"finite")&&$(lt[0],{dy:Mt})}},rt=function(k){return k.parentNode&&k.parentNode.tagName.toLowerCase()==="a"?k.parentNode:k},U=function(k,w){this[0]=this.node=k,k.raphael=!0,this.id=("0000"+(Math.random()*Math.pow(36,5)<<0).toString(36)).slice(-5),k.raphaelid=this.id,this.matrix=a.matrix(),this.realPath=null,this.paper=w,this.attrs=this.attrs||{},this._={transform:[],sx:1,sy:1,deg:0,dx:0,dy:0,dirty:1},!w.bottom&&(w.bottom=this),this.prev=w.top,w.top&&(w.top.next=this),w.top=this,this.next=null},tt=a.el;U.prototype=tt,tt.constructor=U,a._engine.path=function(k,w){var x=$("path");w.canvas&&w.canvas.appendChild(x);var O=new U(x,w);return O.type="path",Ot(O,{fill:"none",stroke:"#000",path:k}),O},tt.rotate=function(k,w,x){if(this.removed)return this;if((k=f(k).split(A)).length-1&&(w=p(k[1]),x=p(k[2])),k=p(k[0]),x==null&&(w=x),w==null||x==null){var O=this.getBBox(1);w=O.x+O.width/2,x=O.y+O.height/2}return this.transform(this._.transform.concat([["r",k,w,x]])),this},tt.scale=function(k,w,x,O){if(this.removed)return this;if((k=f(k).split(A)).length-1&&(w=p(k[1]),x=p(k[2]),O=p(k[3])),k=p(k[0]),w==null&&(w=k),O==null&&(x=O),x==null||O==null)var R=this.getBBox(1);return x=x??R.x+R.width/2,O=O??R.y+R.height/2,this.transform(this._.transform.concat([["s",k,w,x,O]])),this},tt.translate=function(k,w){return this.removed?this:((k=f(k).split(A)).length-1&&(w=p(k[1])),k=p(k[0])||0,w=+w||0,this.transform(this._.transform.concat([["t",k,w]])),this)},tt.transform=function(k){var w=this._;if(k==null)return w.transform;if(a._extractTransform(this,k),this.clip&&$(this.clip,{transform:this.matrix.invert()}),this.pattern&&It(this),this.node&&$(this.node,{transform:this.matrix}),w.sx!=1||w.sy!=1){var x=this.attrs[l]("stroke-width")?this.attrs["stroke-width"]:1;this.attr({"stroke-width":x})}return this},tt.hide=function(){return this.removed||(this.node.style.display="none"),this},tt.show=function(){return this.removed||(this.node.style.display=""),this},tt.remove=function(){var k=rt(this.node);if(!this.removed&&k.parentNode){var w=this.paper;for(var x in w.__set__&&w.__set__.exclude(this),V.unbind("raphael.*.*."+this.id),this.gradient&&w.defs.removeChild(this.gradient),a._tear(this,w),k.parentNode.removeChild(k),this.removeData(),this)this[x]=typeof this[x]=="function"?a._removedFactory(x):null;this.removed=!0}},tt._getBBox=function(){if(this.node.style.display=="none"){this.show();var k=!0}var w,x=!1;this.paper.canvas.parentElement?w=this.paper.canvas.parentElement.style:this.paper.canvas.parentNode&&(w=this.paper.canvas.parentNode.style),w&&w.display=="none"&&(x=!0,w.display="");var O={};try{O=this.node.getBBox()}catch{O={x:this.node.clientLeft,y:this.node.clientTop,width:this.node.clientWidth,height:this.node.clientHeight}}finally{O=O||{},x&&(w.display="none")}return k&&this.hide(),O},tt.attr=function(k,w){if(this.removed)return this;if(k==null){var x={};for(var O in this.attrs)this.attrs[l](O)&&(x[O]=this.attrs[O]);return x.gradient&&x.fill=="none"&&(x.fill=x.gradient)&&delete x.gradient,x.transform=this._.transform,x}if(w==null&&a.is(k,"string")){if(k=="fill"&&this.attrs.fill=="none"&&this.attrs.gradient)return this.attrs.gradient;if(k=="transform")return this._.transform;for(var R=k.split(A),B={},z=0,lt=R.length;z<lt;z++)(k=R[z])in this.attrs?B[k]=this.attrs[k]:a.is(this.paper.customAttributes[k],"function")?B[k]=this.paper.customAttributes[k].def:B[k]=a._availableAttrs[k];return lt-1?B:B[R[0]]}if(w==null&&a.is(k,"array")){for(B={},z=0,lt=k.length;z<lt;z++)B[k[z]]=this.attr(k[z]);return B}if(w!=null){var H={};H[k]=w}else k!=null&&a.is(k,"object")&&(H=k);for(var ct in H)V("raphael.attr."+ct+"."+this.id,this,H[ct]);for(ct in this.paper.customAttributes)if(this.paper.customAttributes[l](ct)&&H[l](ct)&&a.is(this.paper.customAttributes[ct],"function")){var Ct=this.paper.customAttributes[ct].apply(this,[].concat(H[ct]));for(var Mt in this.attrs[ct]=H[ct],Ct)Ct[l](Mt)&&(H[Mt]=Ct[Mt])}return Ot(this,H),this},tt.toFront=function(){if(this.removed)return this;var k=rt(this.node);k.parentNode.appendChild(k);var w=this.paper;return w.top!=this&&a._tofront(this,w),this},tt.toBack=function(){if(this.removed)return this;var k=rt(this.node),w=k.parentNode;return w.insertBefore(k,w.firstChild),a._toback(this,this.paper),this.paper,this},tt.insertAfter=function(k){if(this.removed||!k)return this;var w=rt(this.node),x=rt(k.node||k[k.length-1].node);return x.nextSibling?x.parentNode.insertBefore(w,x.nextSibling):x.parentNode.appendChild(w),a._insertafter(this,k,this.paper),this},tt.insertBefore=function(k){if(this.removed||!k)return this;var w=rt(this.node),x=rt(k.node||k[0].node);return x.parentNode.insertBefore(w,x),a._insertbefore(this,k,this.paper),this},tt.blur=function(k){var w=this;if(+k!=0){var x=$("filter"),O=$("feGaussianBlur");w.attrs.blur=k,x.id=a.createUUID(),$(O,{stdDeviation:+k||1.5}),x.appendChild(O),w.paper.defs.appendChild(x),w._blur=x,$(w.node,{filter:"url(#"+x.id+")"})}else w._blur&&(w._blur.parentNode.removeChild(w._blur),delete w._blur,delete w.attrs.blur),w.node.removeAttribute("filter");return w},a._engine.circle=function(k,w,x,O){var R=$("circle");k.canvas&&k.canvas.appendChild(R);var B=new U(R,k);return B.attrs={cx:w,cy:x,r:O,fill:"none",stroke:"#000"},B.type="circle",$(R,B.attrs),B},a._engine.rect=function(k,w,x,O,R,B){var z=$("rect");k.canvas&&k.canvas.appendChild(z);var lt=new U(z,k);return lt.attrs={x:w,y:x,width:O,height:R,rx:B||0,ry:B||0,fill:"none",stroke:"#000"},lt.type="rect",$(z,lt.attrs),lt},a._engine.ellipse=function(k,w,x,O,R){var B=$("ellipse");k.canvas&&k.canvas.appendChild(B);var z=new U(B,k);return z.attrs={cx:w,cy:x,rx:O,ry:R,fill:"none",stroke:"#000"},z.type="ellipse",$(B,z.attrs),z},a._engine.image=function(k,w,x,O,R,B){var z=$("image");$(z,{x,y:O,width:R,height:B,preserveAspectRatio:"none"}),z.setAttributeNS(j,"href",w),k.canvas&&k.canvas.appendChild(z);var lt=new U(z,k);return lt.attrs={x,y:O,width:R,height:B,src:w},lt.type="image",lt},a._engine.text=function(k,w,x,O){var R=$("text");k.canvas&&k.canvas.appendChild(R);var B=new U(R,k);return B.attrs={x:w,y:x,"text-anchor":"middle",text:O,"font-family":a._availableAttrs["font-family"],"font-size":a._availableAttrs["font-size"],stroke:"none",fill:"#000"},B.type="text",Ot(B,B.attrs),B},a._engine.setSize=function(k,w){return this.width=k||this.width,this.height=w||this.height,this.canvas.setAttribute("width",this.width),this.canvas.setAttribute("height",this.height),this._viewBox&&this.setViewBox.apply(this,this._viewBox),this},a._engine.create=function(){var k=a._getContainer.apply(0,arguments),w=k&&k.container;if(!w)throw new Error("SVG container not found.");var x,O=k.x,R=k.y,B=k.width,z=k.height,lt=$("svg"),H="overflow:hidden;";return O=O||0,R=R||0,$(lt,{height:z=z||342,version:1.1,width:B=B||512,xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}),w==1?(lt.style.cssText=H+"position:absolute;left:"+O+"px;top:"+R+"px",a._g.doc.body.appendChild(lt),x=1):(lt.style.cssText=H+"position:relative",w.firstChild?w.insertBefore(lt,w.firstChild):w.appendChild(lt)),(w=new a._Paper).width=B,w.height=z,w.canvas=lt,w.clear(),w._left=w._top=0,x&&(w.renderfix=function(){}),w.renderfix(),w},a._engine.setViewBox=function(k,w,x,O,R){V("raphael.setViewBox",this,this._viewBox,[k,w,x,O,R]);var B,z,lt=this.getSize(),H=_(x/lt.width,O/lt.height),ct=this.top,Ct=R?"xMidYMid meet":"xMinYMin";for(k==null?(this._vbSize&&(H=1),delete this._vbSize,B="0 0 "+this.width+M+this.height):(this._vbSize=H,B=k+M+w+M+x+M+O),$(this.canvas,{viewBox:B,preserveAspectRatio:Ct});H&&ct;)z="stroke-width"in ct.attrs?ct.attrs["stroke-width"]:1,ct.attr({"stroke-width":z}),ct._.dirty=1,ct._.dirtyT=1,ct=ct.prev;return this._viewBox=[k,w,x,O,!!R],this},a.prototype.renderfix=function(){var k,w=this.canvas,x=w.style;try{k=w.getScreenCTM()||w.createSVGMatrix()}catch{k=w.createSVGMatrix()}var O=-k.e%1,R=-k.f%1;(O||R)&&(O&&(this._left=(this._left+O)%1,x.left=this._left+"px"),R&&(this._top=(this._top+R)%1,x.top=this._top+"px"))},a.prototype.clear=function(){a.eve("raphael.clear",this);for(var k=this.canvas;k.firstChild;)k.removeChild(k.firstChild);this.bottom=this.top=null,(this.desc=$("desc")).appendChild(a._g.doc.createTextNode("Created with Raphaël "+a.version)),k.appendChild(this.desc),k.appendChild(this.defs=$("defs"))},a.prototype.remove=function(){for(var k in V("raphael.remove",this),this.canvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas),this)this[k]=typeof this[k]=="function"?a._removedFactory(k):null};var F=a.st;for(var at in tt)tt[l](at)&&!F[l](at)&&(F[at]=function(k){return function(){var w=arguments;return this.forEach(function(x){x[k].apply(x,w)})}}(at))}}.apply(i,s))===void 0||(n.exports=o)},function(n,i,r){var s,o;s=[r(0)],(o=function(a){if(!a||a.vml){var l="hasOwnProperty",f=String,p=parseFloat,m=Math,y=m.round,_=m.max,N=m.min,C=m.abs,A=/[, ]+/,V=a.eve,I=" ",M="",j={M:"m",L:"l",C:"c",Z:"x",m:"t",l:"r",c:"v",z:"x"},q=/([clmz]),?([^clmz]*)/gi,X=/ progid:\S+Blur\([^\)]+\)/g,$=/-?[^,\s-]+/g,dt="position:absolute;left:0;top:0;width:1px;height:1px;behavior:url(#default#VML)",xt=21600,It={path:1,rect:1,image:1},Pt={circle:1,ellipse:1},bt=function(w,x,O){var R=a.matrix();return R.rotate(-w,.5,.5),{dx:R.x(x,O),dy:R.y(x,O)}},Rt=function(w,x,O,R,B,z){var lt=w._,H=w.matrix,ct=lt.fillpos,Ct=w.node,Mt=Ct.style,jt=1,P="",D=xt/x,G=xt/O;if(Mt.visibility="hidden",x&&O){if(Ct.coordsize=C(D)+I+C(G),Mt.rotation=z*(x*O<0?-1:1),z){var K=bt(z,R,B);R=K.dx,B=K.dy}if(x<0&&(P+="x"),O<0&&(P+=" y")&&(jt=-1),Mt.flip=P,Ct.coordorigin=R*-D+I+B*-G,ct||lt.fillsize){var et=Ct.getElementsByTagName("fill");et=et&&et[0],Ct.removeChild(et),ct&&(K=bt(z,H.x(ct[0],ct[1]),H.y(ct[0],ct[1])),et.position=K.dx*jt+I+K.dy*jt),lt.fillsize&&(et.size=lt.fillsize[0]*C(x)+I+lt.fillsize[1]*C(O)),Ct.appendChild(et)}Mt.visibility="visible"}};a.toString=function(){return`Your browser doesn’t support SVG. Falling down to VML.
52
+ You are running Raphaël `+this.version};var Ot,wt=function(w,x,O){for(var R=f(x).toLowerCase().split("-"),B=O?"end":"start",z=R.length,lt="classic",H="medium",ct="medium";z--;)switch(R[z]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":lt=R[z];break;case"wide":case"narrow":ct=R[z];break;case"long":case"short":H=R[z]}var Ct=w.node.getElementsByTagName("stroke")[0];Ct[B+"arrow"]=lt,Ct[B+"arrowlength"]=H,Ct[B+"arrowwidth"]=ct},rt=function(w,x){w.attrs=w.attrs||{};var O=w.node,R=w.attrs,B=O.style,z=It[w.type]&&(x.x!=R.x||x.y!=R.y||x.width!=R.width||x.height!=R.height||x.cx!=R.cx||x.cy!=R.cy||x.rx!=R.rx||x.ry!=R.ry||x.r!=R.r),lt=Pt[w.type]&&(R.cx!=x.cx||R.cy!=x.cy||R.r!=x.r||R.rx!=x.rx||R.ry!=x.ry),H=w;for(var ct in x)x[l](ct)&&(R[ct]=x[ct]);if(z&&(R.path=a._getPath[w.type](w),w._.dirty=1),x.href&&(O.href=x.href),x.title&&(O.title=x.title),x.target&&(O.target=x.target),x.cursor&&(B.cursor=x.cursor),"blur"in x&&w.blur(x.blur),(x.path&&w.type=="path"||z)&&(O.path=function(Ne){var Be=/[ahqstv]/gi,yn=a._pathToAbsolute;if(f(Ne).match(Be)&&(yn=a._path2curve),Be=/[clmz]/g,yn==a._pathToAbsolute&&!f(Ne).match(Be)){var fe=f(Ne).replace(q,function(lo,oi,zn){var kn=[],Ji=oi.toLowerCase()=="m",Bn=j[oi];return zn.replace($,function(Gn){Ji&&kn.length==2&&(Bn+=kn+j[oi=="m"?"l":"L"],kn=[]),kn.push(y(Gn*xt))}),Bn+kn});return fe}var Te,Ge,Oi=yn(Ne);fe=[];for(var Vn=0,si=Oi.length;Vn<si;Vn++){Te=Oi[Vn],(Ge=Oi[Vn][0].toLowerCase())=="z"&&(Ge="x");for(var cn=1,je=Te.length;cn<je;cn++)Ge+=y(Te[cn]*xt)+(cn!=je-1?",":M);fe.push(Ge)}return fe.join(I)}(~f(R.path).toLowerCase().indexOf("r")?a._pathToAbsolute(R.path):R.path),w._.dirty=1,w.type=="image"&&(w._.fillpos=[R.x,R.y],w._.fillsize=[R.width,R.height],Rt(w,1,1,0,0,0))),"transform"in x&&w.transform(x.transform),lt){var Ct=+R.cx,Mt=+R.cy,jt=+R.rx||+R.r||0,P=+R.ry||+R.r||0;O.path=a.format("ar{0},{1},{2},{3},{4},{1},{4},{1}x",y((Ct-jt)*xt),y((Mt-P)*xt),y((Ct+jt)*xt),y((Mt+P)*xt),y(Ct*xt)),w._.dirty=1}if("clip-rect"in x){var D=f(x["clip-rect"]).split(A);if(D.length==4){D[2]=+D[2]+ +D[0],D[3]=+D[3]+ +D[1];var G=O.clipRect||a._g.doc.createElement("div"),K=G.style;K.clip=a.format("rect({1}px {2}px {3}px {0}px)",D),O.clipRect||(K.position="absolute",K.top=0,K.left=0,K.width=w.paper.width+"px",K.height=w.paper.height+"px",O.parentNode.insertBefore(G,O),G.appendChild(O),O.clipRect=G)}x["clip-rect"]||O.clipRect&&(O.clipRect.style.clip="auto")}if(w.textpath){var et=w.textpath.style;x.font&&(et.font=x.font),x["font-family"]&&(et.fontFamily='"'+x["font-family"].split(",")[0].replace(/^['"]+|['"]+$/g,M)+'"'),x["font-size"]&&(et.fontSize=x["font-size"]),x["font-weight"]&&(et.fontWeight=x["font-weight"]),x["font-style"]&&(et.fontStyle=x["font-style"])}if("arrow-start"in x&&wt(H,x["arrow-start"]),"arrow-end"in x&&wt(H,x["arrow-end"],1),x.opacity!=null||x.fill!=null||x.src!=null||x.stroke!=null||x["stroke-width"]!=null||x["stroke-opacity"]!=null||x["fill-opacity"]!=null||x["stroke-dasharray"]!=null||x["stroke-miterlimit"]!=null||x["stroke-linejoin"]!=null||x["stroke-linecap"]!=null){var Z=O.getElementsByTagName("fill");if(!(Z=Z&&Z[0])&&(Z=Ot("fill")),w.type=="image"&&x.src&&(Z.src=x.src),x.fill&&(Z.on=!0),Z.on!=null&&x.fill!="none"&&x.fill!==null||(Z.on=!1),Z.on&&x.fill){var _t=f(x.fill).match(a._ISURL);if(_t){Z.parentNode==O&&O.removeChild(Z),Z.rotate=!0,Z.src=_t[1],Z.type="tile";var st=w.getBBox(1);Z.position=st.x+I+st.y,w._.fillpos=[st.x,st.y],a._preload(_t[1],function(){w._.fillsize=[this.offsetWidth,this.offsetHeight]})}else Z.color=a.getRGB(x.fill).hex,Z.src=M,Z.type="solid",a.getRGB(x.fill).error&&(H.type in{circle:1,ellipse:1}||f(x.fill).charAt()!="r")&&U(H,x.fill,Z)&&(R.fill="none",R.gradient=x.fill,Z.rotate=!1)}if("fill-opacity"in x||"opacity"in x){var vt=((+R["fill-opacity"]+1||2)-1)*((+R.opacity+1||2)-1)*((+a.getRGB(x.fill).o+1||2)-1);vt=N(_(vt,0),1),Z.opacity=vt,Z.src&&(Z.color="none")}O.appendChild(Z);var nt=O.getElementsByTagName("stroke")&&O.getElementsByTagName("stroke")[0],kt=!1;!nt&&(kt=nt=Ot("stroke")),(x.stroke&&x.stroke!="none"||x["stroke-width"]||x["stroke-opacity"]!=null||x["stroke-dasharray"]||x["stroke-miterlimit"]||x["stroke-linejoin"]||x["stroke-linecap"])&&(nt.on=!0),(x.stroke=="none"||x.stroke===null||nt.on==null||x.stroke==0||x["stroke-width"]==0)&&(nt.on=!1);var At=a.getRGB(x.stroke);nt.on&&x.stroke&&(nt.color=At.hex),vt=((+R["stroke-opacity"]+1||2)-1)*((+R.opacity+1||2)-1)*((+At.o+1||2)-1);var Ft=.75*(p(x["stroke-width"])||1);if(vt=N(_(vt,0),1),x["stroke-width"]==null&&(Ft=R["stroke-width"]),x["stroke-width"]&&(nt.weight=Ft),Ft&&Ft<1&&(vt*=Ft)&&(nt.weight=1),nt.opacity=vt,x["stroke-linejoin"]&&(nt.joinstyle=x["stroke-linejoin"]||"miter"),nt.miterlimit=x["stroke-miterlimit"]||8,x["stroke-linecap"]&&(nt.endcap=x["stroke-linecap"]=="butt"?"flat":x["stroke-linecap"]=="square"?"square":"round"),"stroke-dasharray"in x){var Gt={"-":"shortdash",".":"shortdot","-.":"shortdashdot","-..":"shortdashdotdot",". ":"dot","- ":"dash","--":"longdash","- .":"dashdot","--.":"longdashdot","--..":"longdashdotdot"};nt.dashstyle=Gt[l](x["stroke-dasharray"])?Gt[x["stroke-dasharray"]]:M}kt&&O.appendChild(nt)}if(H.type=="text"){H.paper.canvas.style.display=M;var Wt=H.paper.span,ee=R.font&&R.font.match(/\d+(?:\.\d*)?(?=px)/);B=Wt.style,R.font&&(B.font=R.font),R["font-family"]&&(B.fontFamily=R["font-family"]),R["font-weight"]&&(B.fontWeight=R["font-weight"]),R["font-style"]&&(B.fontStyle=R["font-style"]),ee=p(R["font-size"]||ee&&ee[0])||10,B.fontSize=100*ee+"px",H.textpath.string&&(Wt.innerHTML=f(H.textpath.string).replace(/</g,"&#60;").replace(/&/g,"&#38;").replace(/\n/g,"<br>"));var ce=Wt.getBoundingClientRect();H.W=R.w=(ce.right-ce.left)/100,H.H=R.h=(ce.bottom-ce.top)/100,H.X=R.x,H.Y=R.y+H.H/2,("x"in x||"y"in x)&&(H.path.v=a.format("m{0},{1}l{2},{1}",y(R.x*xt),y(R.y*xt),y(R.x*xt)+1));for(var me=["x","y","text","font","font-family","font-weight","font-style","font-size"],Ce=0,sn=me.length;Ce<sn;Ce++)if(me[Ce]in x){H._.dirty=1;break}switch(R["text-anchor"]){case"start":H.textpath.style["v-text-align"]="left",H.bbx=H.W/2;break;case"end":H.textpath.style["v-text-align"]="right",H.bbx=-H.W/2;break;default:H.textpath.style["v-text-align"]="center",H.bbx=0}H.textpath.style["v-text-kern"]=!0}},U=function(w,x,O){w.attrs=w.attrs||{},w.attrs;var R=Math.pow,B="linear",z=".5 .5";if(w.attrs.gradient=x,x=(x=f(x).replace(a._radial_gradient,function(jt,P,D){return B="radial",P&&D&&(P=p(P),D=p(D),R(P-.5,2)+R(D-.5,2)>.25&&(D=m.sqrt(.25-R(P-.5,2))*(2*(D>.5)-1)+.5),z=P+I+D),M})).split(/\s*\-\s*/),B=="linear"){var lt=x.shift();if(lt=-p(lt),isNaN(lt))return null}var H=a._parseDots(x);if(!H)return null;if(w=w.shape||w.node,H.length){w.removeChild(O),O.on=!0,O.method="none",O.color=H[0].color,O.color2=H[H.length-1].color;for(var ct=[],Ct=0,Mt=H.length;Ct<Mt;Ct++)H[Ct].offset&&ct.push(H[Ct].offset+I+H[Ct].color);O.colors=ct.length?ct.join():"0% "+O.color,B=="radial"?(O.type="gradientTitle",O.focus="100%",O.focussize="0 0",O.focusposition=z,O.angle=0):(O.type="gradient",O.angle=(270-lt)%360),w.appendChild(O)}return 1},tt=function(w,x){this[0]=this.node=w,w.raphael=!0,this.id=a._oid++,w.raphaelid=this.id,this.X=0,this.Y=0,this.attrs={},this.paper=x,this.matrix=a.matrix(),this._={transform:[],sx:1,sy:1,dx:0,dy:0,deg:0,dirty:1,dirtyT:1},!x.bottom&&(x.bottom=this),this.prev=x.top,x.top&&(x.top.next=this),x.top=this,this.next=null},F=a.el;tt.prototype=F,F.constructor=tt,F.transform=function(w){if(w==null)return this._.transform;var x,O=this.paper._viewBoxShift,R=O?"s"+[O.scale,O.scale]+"-1-1t"+[O.dx,O.dy]:M;O&&(x=w=f(w).replace(/\.{3}|\u2026/g,this._.transform||M)),a._extractTransform(this,R+w);var B,z=this.matrix.clone(),lt=this.skew,H=this.node,ct=~f(this.attrs.fill).indexOf("-"),Ct=!f(this.attrs.fill).indexOf("url(");if(z.translate(1,1),Ct||ct||this.type=="image")if(lt.matrix="1 0 0 1",lt.offset="0 0",B=z.split(),ct&&B.noRotation||!B.isSimple){H.style.filter=z.toFilter();var Mt=this.getBBox(),jt=this.getBBox(1),P=Mt.x-jt.x,D=Mt.y-jt.y;H.coordorigin=P*-xt+I+D*-xt,Rt(this,1,1,P,D,0)}else H.style.filter=M,Rt(this,B.scalex,B.scaley,B.dx,B.dy,B.rotate);else H.style.filter=M,lt.matrix=f(z),lt.offset=z.offset();return x!==null&&(this._.transform=x,a._extractTransform(this,x)),this},F.rotate=function(w,x,O){if(this.removed)return this;if(w!=null){if((w=f(w).split(A)).length-1&&(x=p(w[1]),O=p(w[2])),w=p(w[0]),O==null&&(x=O),x==null||O==null){var R=this.getBBox(1);x=R.x+R.width/2,O=R.y+R.height/2}return this._.dirtyT=1,this.transform(this._.transform.concat([["r",w,x,O]])),this}},F.translate=function(w,x){return this.removed?this:((w=f(w).split(A)).length-1&&(x=p(w[1])),w=p(w[0])||0,x=+x||0,this._.bbox&&(this._.bbox.x+=w,this._.bbox.y+=x),this.transform(this._.transform.concat([["t",w,x]])),this)},F.scale=function(w,x,O,R){if(this.removed)return this;if((w=f(w).split(A)).length-1&&(x=p(w[1]),O=p(w[2]),R=p(w[3]),isNaN(O)&&(O=null),isNaN(R)&&(R=null)),w=p(w[0]),x==null&&(x=w),R==null&&(O=R),O==null||R==null)var B=this.getBBox(1);return O=O??B.x+B.width/2,R=R??B.y+B.height/2,this.transform(this._.transform.concat([["s",w,x,O,R]])),this._.dirtyT=1,this},F.hide=function(){return!this.removed&&(this.node.style.display="none"),this},F.show=function(){return!this.removed&&(this.node.style.display=M),this},F.auxGetBBox=a.el.getBBox,F.getBBox=function(){var w=this.auxGetBBox();if(this.paper&&this.paper._viewBoxShift){var x={},O=1/this.paper._viewBoxShift.scale;return x.x=w.x-this.paper._viewBoxShift.dx,x.x*=O,x.y=w.y-this.paper._viewBoxShift.dy,x.y*=O,x.width=w.width*O,x.height=w.height*O,x.x2=x.x+x.width,x.y2=x.y+x.height,x}return w},F._getBBox=function(){return this.removed?{}:{x:this.X+(this.bbx||0)-this.W/2,y:this.Y-this.H,width:this.W,height:this.H}},F.remove=function(){if(!this.removed&&this.node.parentNode){for(var w in this.paper.__set__&&this.paper.__set__.exclude(this),a.eve.unbind("raphael.*.*."+this.id),a._tear(this,this.paper),this.node.parentNode.removeChild(this.node),this.shape&&this.shape.parentNode.removeChild(this.shape),this)this[w]=typeof this[w]=="function"?a._removedFactory(w):null;this.removed=!0}},F.attr=function(w,x){if(this.removed)return this;if(w==null){var O={};for(var R in this.attrs)this.attrs[l](R)&&(O[R]=this.attrs[R]);return O.gradient&&O.fill=="none"&&(O.fill=O.gradient)&&delete O.gradient,O.transform=this._.transform,O}if(x==null&&a.is(w,"string")){if(w=="fill"&&this.attrs.fill=="none"&&this.attrs.gradient)return this.attrs.gradient;for(var B=w.split(A),z={},lt=0,H=B.length;lt<H;lt++)(w=B[lt])in this.attrs?z[w]=this.attrs[w]:a.is(this.paper.customAttributes[w],"function")?z[w]=this.paper.customAttributes[w].def:z[w]=a._availableAttrs[w];return H-1?z:z[B[0]]}if(this.attrs&&x==null&&a.is(w,"array")){for(z={},lt=0,H=w.length;lt<H;lt++)z[w[lt]]=this.attr(w[lt]);return z}var ct;for(var Ct in x!=null&&((ct={})[w]=x),x==null&&a.is(w,"object")&&(ct=w),ct)V("raphael.attr."+Ct+"."+this.id,this,ct[Ct]);if(ct){for(Ct in this.paper.customAttributes)if(this.paper.customAttributes[l](Ct)&&ct[l](Ct)&&a.is(this.paper.customAttributes[Ct],"function")){var Mt=this.paper.customAttributes[Ct].apply(this,[].concat(ct[Ct]));for(var jt in this.attrs[Ct]=ct[Ct],Mt)Mt[l](jt)&&(ct[jt]=Mt[jt])}ct.text&&this.type=="text"&&(this.textpath.string=ct.text),rt(this,ct)}return this},F.toFront=function(){return!this.removed&&this.node.parentNode.appendChild(this.node),this.paper&&this.paper.top!=this&&a._tofront(this,this.paper),this},F.toBack=function(){return this.removed?this:(this.node.parentNode.firstChild!=this.node&&(this.node.parentNode.insertBefore(this.node,this.node.parentNode.firstChild),a._toback(this,this.paper)),this)},F.insertAfter=function(w){return this.removed?this:(w.constructor==a.st.constructor&&(w=w[w.length-1]),w.node.nextSibling?w.node.parentNode.insertBefore(this.node,w.node.nextSibling):w.node.parentNode.appendChild(this.node),a._insertafter(this,w,this.paper),this)},F.insertBefore=function(w){return this.removed?this:(w.constructor==a.st.constructor&&(w=w[0]),w.node.parentNode.insertBefore(this.node,w.node),a._insertbefore(this,w,this.paper),this)},F.blur=function(w){var x=this.node.runtimeStyle,O=x.filter;return O=O.replace(X,M),+w!=0?(this.attrs.blur=w,x.filter=O+I+" progid:DXImageTransform.Microsoft.Blur(pixelradius="+(+w||1.5)+")",x.margin=a.format("-{0}px 0 0 -{0}px",y(+w||1.5))):(x.filter=O,x.margin=0,delete this.attrs.blur),this},a._engine.path=function(w,x){var O=Ot("shape");O.style.cssText=dt,O.coordsize=xt+I+xt,O.coordorigin=x.coordorigin;var R=new tt(O,x),B={fill:"none",stroke:"#000"};w&&(B.path=w),R.type="path",R.path=[],R.Path=M,rt(R,B),x.canvas&&x.canvas.appendChild(O);var z=Ot("skew");return z.on=!0,O.appendChild(z),R.skew=z,R.transform(M),R},a._engine.rect=function(w,x,O,R,B,z){var lt=a._rectPath(x,O,R,B,z),H=w.path(lt),ct=H.attrs;return H.X=ct.x=x,H.Y=ct.y=O,H.W=ct.width=R,H.H=ct.height=B,ct.r=z,ct.path=lt,H.type="rect",H},a._engine.ellipse=function(w,x,O,R,B){var z=w.path();return z.attrs,z.X=x-R,z.Y=O-B,z.W=2*R,z.H=2*B,z.type="ellipse",rt(z,{cx:x,cy:O,rx:R,ry:B}),z},a._engine.circle=function(w,x,O,R){var B=w.path();return B.attrs,B.X=x-R,B.Y=O-R,B.W=B.H=2*R,B.type="circle",rt(B,{cx:x,cy:O,r:R}),B},a._engine.image=function(w,x,O,R,B,z){var lt=a._rectPath(O,R,B,z),H=w.path(lt).attr({stroke:"none"}),ct=H.attrs,Ct=H.node,Mt=Ct.getElementsByTagName("fill")[0];return ct.src=x,H.X=ct.x=O,H.Y=ct.y=R,H.W=ct.width=B,H.H=ct.height=z,ct.path=lt,H.type="image",Mt.parentNode==Ct&&Ct.removeChild(Mt),Mt.rotate=!0,Mt.src=x,Mt.type="tile",H._.fillpos=[O,R],H._.fillsize=[B,z],Ct.appendChild(Mt),Rt(H,1,1,0,0,0),H},a._engine.text=function(w,x,O,R){var B=Ot("shape"),z=Ot("path"),lt=Ot("textpath");x=x||0,O=O||0,R=R||"",z.v=a.format("m{0},{1}l{2},{1}",y(x*xt),y(O*xt),y(x*xt)+1),z.textpathok=!0,lt.string=f(R),lt.on=!0,B.style.cssText=dt,B.coordsize=xt+I+xt,B.coordorigin="0 0";var H=new tt(B,w),ct={fill:"#000",stroke:"none",font:a._availableAttrs.font,text:R};H.shape=B,H.path=z,H.textpath=lt,H.type="text",H.attrs.text=f(R),H.attrs.x=x,H.attrs.y=O,H.attrs.w=1,H.attrs.h=1,rt(H,ct),B.appendChild(lt),B.appendChild(z),w.canvas.appendChild(B);var Ct=Ot("skew");return Ct.on=!0,B.appendChild(Ct),H.skew=Ct,H.transform(M),H},a._engine.setSize=function(w,x){var O=this.canvas.style;return this.width=w,this.height=x,w==+w&&(w+="px"),x==+x&&(x+="px"),O.width=w,O.height=x,O.clip="rect(0 "+w+" "+x+" 0)",this._viewBox&&a._engine.setViewBox.apply(this,this._viewBox),this},a._engine.setViewBox=function(w,x,O,R,B){a.eve("raphael.setViewBox",this,this._viewBox,[w,x,O,R,B]);var z,lt,H=this.getSize(),ct=H.width,Ct=H.height;return B&&(O*(z=Ct/R)<ct&&(w-=(ct-O*z)/2/z),R*(lt=ct/O)<Ct&&(x-=(Ct-R*lt)/2/lt)),this._viewBox=[w,x,O,R,!!B],this._viewBoxShift={dx:-w,dy:-x,scale:H},this.forEach(function(Mt){Mt.transform("...")}),this},a._engine.initWin=function(w){var x=w.document;x.styleSheets.length<31?x.createStyleSheet().addRule(".rvml","behavior:url(#default#VML)"):x.styleSheets[0].addRule(".rvml","behavior:url(#default#VML)");try{!x.namespaces.rvml&&x.namespaces.add("rvml","urn:schemas-microsoft-com:vml"),Ot=function(O){return x.createElement("<rvml:"+O+' class="rvml">')}}catch{Ot=function(R){return x.createElement("<"+R+' xmlns="urn:schemas-microsoft.com:vml" class="rvml">')}}},a._engine.initWin(a._g.win),a._engine.create=function(){var w=a._getContainer.apply(0,arguments),x=w.container,O=w.height,R=w.width,B=w.x,z=w.y;if(!x)throw new Error("VML container not found.");var lt=new a._Paper,H=lt.canvas=a._g.doc.createElement("div"),ct=H.style;return B=B||0,z=z||0,R=R||512,O=O||342,lt.width=R,lt.height=O,R==+R&&(R+="px"),O==+O&&(O+="px"),lt.coordsize=216e5+I+216e5,lt.coordorigin="0 0",lt.span=a._g.doc.createElement("span"),lt.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;",H.appendChild(lt.span),ct.cssText=a.format("top:0;left:0;width:{0};height:{1};display:inline-block;position:relative;clip:rect(0 {0} {1} 0);overflow:hidden",R,O),x==1?(a._g.doc.body.appendChild(H),ct.left=B+"px",ct.top=z+"px",ct.position="absolute"):x.firstChild?x.insertBefore(H,x.firstChild):x.appendChild(H),lt.renderfix=function(){},lt},a.prototype.clear=function(){a.eve("raphael.clear",this),this.canvas.innerHTML=M,this.span=a._g.doc.createElement("span"),this.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;display:inline;",this.canvas.appendChild(this.span),this.bottom=this.top=null},a.prototype.remove=function(){for(var w in a.eve("raphael.remove",this),this.canvas.parentNode.removeChild(this.canvas),this)this[w]=typeof this[w]=="function"?a._removedFactory(w):null;return!0};var at=a.st;for(var k in F)F[l](k)&&!at[l](k)&&(at[k]=function(w){return function(){var x=arguments;return this.forEach(function(O){O[w].apply(O,x)})}}(k))}}.apply(i,s))===void 0||(n.exports=o)}])})})(Vh);var $g=Vh.exports;const Ke=ya($g);class el{points;constructor(t=[]){this.points=t}toSVGPathData(){const t=[];for(let n=0,i=this.length;n<i;n++)t.push([n===0?"M":"L",this.points[n].x,this.points[n].y]);return t}toSVGPathD(){let t="";for(let n=0,i=this.length;n<i;n++)t+=(n===0?"M":"L")+this.points[n].x+","+this.points[n].y;return t}get length(){return this.points.length}addPoint(t){this.points.push(t)}getPoint(t){return this.points[t]}isContainPoint(t){const n=t.x,i=t.y,r=this.length;let s=!1;const o=2e-10;for(let a=0,l=r-1;a<r;l=a,a++){const f=this.points[a].x,p=this.points[a].y,m=this.points[l].x,y=this.points[l].y;if(f===n&&p===i||m===n&&y===i||i===p&&i===y)return!0;if(i>=p&&i<y||i<p&&i>=y){const _=(m-f)/(y-p),N=f+_*(i-p);if(N===n||Math.abs(N-n)<o)return!0;N>n&&(s=!s)}}return s}[Symbol.iterator](){let t=0;return{next:()=>({value:t>=this.length-1?this.points[++t]:void 0,done:t>=this.length})}}static generateInMultiplePoint(t,n,i,r,s=1){const o=new el;for(let a=0;a<=s*i;a+=1){const l=Math.floor(a/s)/i*2*Math.PI,f=t+Math.cos(l)*r,p=n+Math.sin(l)*r;o.addPoint(new Cn({x:f,y:p}))}return o}}const zh=el;Ke.easing_formulas.swing=function(e){return e+Math.sin(e*Math.PI*2)/2},Ke.easing_formulas.may_cause_seizures=function(e){return e+.2*Math.random()-.1},Ke.fn.importSVG=function(e,t){const n=Si.fromRawSVG(e);return n.toRaphael(this,(i,r)=>{n.save(),t&&t(i),r(),n.restore()}),this},Ke.fn.NPolygonPath=function(e,t,n,i,r=2){return{shape:this.path(zh.generateInMultiplePoint(e,t,n,i,r).toSVGPathD()),afterPath:zh.generateInMultiplePoint(e,t,n*r,i,1).toSVGPathD()}},Ke.fn.zoom=function(e=1){return this.setViewBox(0,0,this.width/e,this.height/e),this},Ke.fn.brickwall=function(e,t,n,i,r){for(var s=i/r,o=n/3,a={fill:"firebrick",stroke:"#CCC"},l=0;l<r;l+=1){var f=this.rect(0,0,o,s).attr(a),p=this.rect(0,0,2*o,s).attr(a);l%2?(f.transform("T"+e+","+(t+l*s)),p.transform("T"+(e+o)+","+(t+l*s))):(p.transform("T"+e+","+(t+l*s)),f.transform("T"+(e+2*o)+","+(t+l*s)))}},Ke.fn.rosetta=function(e,t,n,i,r){const s=$h.generateRosetta(e,t,n,i,r);return s.center,this.path(s.toSVGPathD())},Ke.fn.moon=function(e){e=e||{},e.r=typeof e.r=="number"?e.r:100,e.phase=typeof e.phase=="number"?e.phase:.25,e.x=typeof e.x=="number"?e.x:0,e.y=typeof e.y=="number"?e.y:0,this.circle(e.r+e.x,e.r+e.y,e.r).attr({"stroke-width":0,fill:"#999"});function t(i){i=typeof i=="number"?i:.25,i=Math.max(0,Math.min(1,i)),i=(i-.5)*2;let r="M"+e.r+",0";r+="a"+e.r+","+e.r+" 0 0,0 0,"+e.r*2;let s=i>0?0:1;return i=Math.abs(i),i=i||1e-4,e.inner_r=e.r/Math.pow(i,.5),r+="M"+e.r+","+e.r*2,r+="a"+e.inner_r+","+e.inner_r+" 0 0,"+s+" 0,"+e.r*-2,r}var n=this.path(t(e.phase)).attr({"stroke-width":0,stroke:"#999",fill:"#FF9"}).transform("T"+e.x+","+e.y);return{setPhase:function(i){n.attr("path",t(i))}}},Ke.fn.star=function(e,t,n){let i="M"+e+","+(t-n);for(var r=0;r<6;r+=1){const s=270+r*144,o=e+n*Math.cos(s*Math.PI/180),a=t+n*Math.sin(s*Math.PI/180);i+="L"+o+","+a}return this.path(i).attr("stroke-width",0).attr("fill","red")},Ke.fn.heart=function(e=150,t=300){let n="M"+e+","+t;return n+="l120,-175a50,50 0 0,0 -120,-75a50,50 0 0,0 -120,75l120,175",this.path(n).attr("stroke","red").attr("fill","pink")},Ke.el.redder=function(){const e=Ke.getRGB(this.attr("fill"));e.r+=51,this.attr("fill","rgb("+e.r+","+e.g+","+e.b+")")},Ke.installCustomAttributes=function(e){e.customAttributes.redness=function(t){const n=255*(1-t/100);return{fill:"rgb(255,"+n+", "+n+")"}},e.customAttributes.progress=function(t){const n=this.data("progresspath"),i=this.attr(),r={x:0,y:0},s=this.data("progresstrail");if(!n)return{transform:"t0,0"};Object.prototype.hasOwnProperty.call(i,"width")&&(r.x=-this.attr("width")/2,r.y=-this.attr("height")/2);const o=n.getTotalLength(),a=n.getPointAtLength(t*o);return s&&s.attr("path",n.getSubpath(0,t*o)),{transform:"t"+(a.x+r.x)+","+(a.y+r.y)+"r"+a.alpha}}};const Bh=Ke;class Si{pgs=[];history=[];save(){this.history.push(bu(this.pgs))}restore(){const t=this.history.pop();t&&(this.pgs=t)}get size(){let t=0,n=0;return this.pgs.forEach(i=>{const r=i.pg;if(r){const[s,o,a,l]=r.bounds,[f,p]=r.size;t=Math.max(t,s,s+f,a),n=Math.max(n,o,o+p,l)}}),[Math.ceil(t),Math.ceil(n)]}static fromRawSVG(t){return Si.fromRawSVGUseRappar(t)}static fromRawSVGUseRappar(t){const n=new Si,i=mg(t);for(let r=0,s=i.length;r<s;r++){const o=i[r];if(o.type=="viewbox"&&o.width&&o.height)continue;const a={attrs:{}};for(const l in o)l==="type"||l==="path"||l==="transform"||(a.attrs[l]=o[l]);switch(o.type){case"path":a.d=o.path,a.pg=$h.fromSVGPathD(o.path,o.transform);break}n.pgs.push(a)}return n}toRaphael(t,n){let i;t instanceof HTMLElement?i=Bh(HTMLElement):typeof t=="string"?i=Bh(document.getElementById(t)):i=t;const[r,s]=this.size;i.setSize(r,s);const o=(a=!1)=>{for(let l=0,f=this.pgs.length;l<f;l++){const p=this.pgs[l];if(p.pg&&(p.raphaelPath?p.raphaelPath.attr("path",p.pg.toSVGPathD()):p.raphaelPath=i.path(p.pg.toSVGPathD()),p.raphaelPath.attr(p.attrs)),a&&n){const m=y=>{const{x:_,y:N}=Ra(i.canvas,y),C=this.pgs.find(A=>A.raphaelPath?.isPointInside(_,N));C&&n?.(C,o)};p.raphaelPath?.unclick(m),p.raphaelPath?.click(m)}}};return o(!0),i}toCanvasOperation(t,n){let i;typeof t=="string"?i=document.getElementById(t):i=t;const[r,s]=this.size;i.width=r,i.height=s;const o=new Ui(i),a=()=>{o.clearRect(0,0,r,s);for(let f=0,p=this.pgs.length;f<p;f++){const m=this.pgs[f];m.pg&&(o.save(),this.toCanvasAttrs(o,m.attrs),m.pg.toCanvas(o),m.attrs.stroke!=="none"&&o.stroke(),m.attrs.fill!=="none"&&o.fill(),o.restore())}};a();const l=f=>{const{x:p,y:m}=Ra(o.canvas,f),y=this.pgs.find(_=>_.pg?.isPointInPath(p,m));y&&n?.(y,a)};return i.removeEventListener("click",l),i.addEventListener("click",l),o}toCanvasAttrs(t,n){for(const i in n){const r=n[i];switch(i){case"fill":t.fillStyle=String(r);break;case"stroke":t.strokeStyle=String(r);break;case"stroke-width":t.lineWidth=Number(r);break;case"stroke-linecap":t.lineCap=r;break;case"stroke-linejoin":t.lineJoin=r;break}}}static toDownloadSVGElement(t,n="shape"){dh(Wm(t),`${n}.svg`)}toDownloadSVGElement(t,n="shape"){return Si.toDownloadSVGElement(t,n),this}static toDownloadSVGString(t,n="shape"){dh(fh(t),`${n}.svg`)}toDownloadSVGString(t,n="shape"){return Si.toDownloadSVGString(t,n),this}static getSVGDOM(t){if(t instanceof HTMLObjectElement||t instanceof HTMLIFrameElement)return t.contentDocument;if(t instanceof HTMLEmbedElement)return t.getSVGDocument()}}class Ui{canvas;context;customContext;constructor(t){this.canvas=t,this.context=t.getContext("2d",{willReadFrequently:!0}),this.customContext=new Ks({canvas:this.canvas,width:this.canvas.width,height:this.canvas.height})}set lineWidth(t){this.context.lineWidth=t,this.customContext.lineWidth=t}get lineWidth(){return this.context.lineWidth}set lineCap(t){this.context.lineCap=t,this.customContext.lineCap=t}get lineCap(){return this.context.lineCap}set lineJoin(t){this.context.lineJoin=t,this.customContext.lineCap=t}get lineJoin(){return this.context.lineJoin}set lineDashOffset(t){this.context.lineDashOffset=t,this.customContext.lineDashOffset=t}get lineDashOffset(){return this.context.lineDashOffset}set miterLimit(t){this.context.miterLimit=t,this.customContext.miterLimit=t}get miterLimit(){return this.context.miterLimit}set globalAlpha(t){this.context.globalAlpha=t,this.customContext.globalAlpha=t}get globalAlpha(){return this.context.globalAlpha}set fillStyle(t){typeof t=="string"||t instanceof CanvasGradient||t instanceof CanvasPattern?(this.context.fillStyle=t,this.customContext.fillStyle=t):(this.context.fillStyle=t.gradient,this.customContext.fillStyle=t.gradientCustom)}get fillStyle(){return this.context.fillStyle}set strokeStyle(t){typeof t=="string"||t instanceof CanvasGradient||t instanceof CanvasPattern?(this.context.strokeStyle=t,this.customContext.strokeStyle=t):(this.context.strokeStyle=t.gradient,this.customContext.strokeStyle=t.gradientCustom)}get strokeStyle(){return this.context.strokeStyle}set font(t){this.context.font=t,this.customContext.font=t}get font(){return this.context.font}fill(){return this.context.fill(),this.customContext.fill(),this}fillRect(t,n,i,r){return this.context.fillRect(t,n,i,r),this.customContext.fillRect(t,n,i,r),this}fillText(t,n,i,r){return this.context.fillText(t,n,i,r),this.customContext.fillText(t,n,i),this}setLineDash(t){return this.context.setLineDash(t),this.customContext.setLineDash(t),this}stroke(){return this.context.stroke(),this.customContext.stroke(),this}strokeText(t,n,i,r){return this.context.strokeText(t,n,i,r),this.customContext.strokeText(t,n,i),this}strokeRect(t,n,i,r){return this.context.strokeRect(t,n,i,r),this.customContext.strokeRect(t,n,i,r),this}clearRect(t=0,n=0,i=this.canvas.width,r=this.canvas.height){return this.context.clearRect(t,n,i,r),this.customContext.clearRect(t,n,i,r),this}save(){return this.context.save(),this.customContext.save(),this}restore(){return this.context.restore(),this.customContext.restore(),this}beginPath(){return this.context.beginPath(),this.customContext.beginPath(),this}closePath(){return this.context.closePath(),this.customContext.closePath(),this}isPointInPath(t,n){return this.context.isPointInPath(t,n)}moveTo(t,n){return this.context.moveTo(t,n),this.customContext.moveTo(t,n),this}lineTo(t,n){return this.context.lineTo(t,n),this.customContext.lineTo(t,n),this}arc(t,n,i,r,s,o){return this.context.arc(t,n,i,r,s,o),this.customContext.arc(t,n,i,r,s,o?-1:1),this}arcTo(t,n,i,r,s){return this.context.arcTo(t,n,i,r,s),this.customContext.arcTo(t,n,i,r,s),this}quadraticCurveTo(t,n,i,r){return this.context.quadraticCurveTo(t,n,i,r),this.customContext.quadraticCurveTo(t,n,i,r),this}bezierCurveTo(t,n,i,r,s,o){return this.context.bezierCurveTo(t,n,i,r,s,o),this.customContext.bezierCurveTo(t,n,i,r,s,o),this}rect(t,n,i,r){return this.context.rect(t,n,i,r),this.customContext.rect(t,n,i,r),this}translate(t,n){return this.context.translate(t,n),this.customContext.translate(t,n),this}rotate(t){return this.context.rotate(t),this.customContext.rotate(t),this}scale(t,n){return this.context.scale(t,n),this.customContext.scale(t,n),this}createLinearGradient(t,n,i,r,s){const o=this.context.createLinearGradient(t,n,i,r),a=this.customContext.createLinearGradient(t,n,i,r);return s&&Object.keys(s).forEach(l=>{const f=parseFloat(l);o.addColorStop(f,s[f]),a.addColorStop(f,s[f])}),{gradient:o,gradientCustom:a}}createRadialGradient(t,n,i,r,s,o,a){const l=this.context.createRadialGradient(t,n,i,r,s,o),f=this.customContext.createRadialGradient(t,n,i,r,s,o);return a&&Object.keys(a).forEach(p=>{const m=parseFloat(p);l.addColorStop(m,a[m]),f.addColorStop(m,a[m])}),{gradient:l,gradientCustom:f}}drawImage(t,...n){if(n.length===0)this.context.drawImage(t,0,0);else if(n.length===2){const i=n[0],r=n[1];this.context.drawImage(t,i,r)}else if(n.length===4){const i=n[0],r=n[1],s=n[2],o=n[3];this.context.drawImage(t,i,r,s,o)}else if(n.length===8){const i=n[0],r=n[1],s=n[2],o=n[3],a=n[4],l=n[5],f=n[6],p=n[7];this.context.drawImage(t,i,r,s,o,a,l,f,p)}else throw new Error("Invalid number of arguments passed to drawImage: "+n.length);return this.customContext.drawImage(t,...n),this}getImageData(t,n,i,r,s){return this.context.getImageData(t,n,i,r,s)}putImageData(t,n=0,i=0){return this.context.putImageData(t,n,i)}toRawSVG(){const t=this.customContext.getSerializedSvg(!0),n=this.customContext.getSvg();return{raw:t,element:n}}toSVGOperation(){const{raw:t}=this.toRawSVG();return Si.fromRawSVG(t)}}class nl extends G0{container;hammer;mousePoint;ctx;removeEventListeners=[];constructor(t=document.documentElement){super(),this.container=t,this.hammer=new rg(this.container),this.mousePoint=new Cn({x:0,y:0}),this.container instanceof HTMLCanvasElement&&(this.ctx=new Ui(this.container)),this.initMouseEventListeners(),this.initKeyboardEventListeners(),this.on("pointerMove",this.setMousePoint),this.addDestroyRemove(()=>{this.off("pointerMove",this.setMousePoint)})}addDestroyRemove(t){this.removeEventListeners.push(t)}destroy(){this.removeEventListeners.forEach(t=>t()),this.removeAllListeners()}setMousePoint(t){const n=Ra(this.container,t);this.mousePoint.x=n.x,this.mousePoint.y=n.y}initMouseEventListeners(){const t=new ResizeObserver(F=>{const{width:at,height:k}=F[0].contentRect;this.emit("resize",at,k)}),n=F=>{this.emit("mouseDown",F),this.container.style.userSelect="none"},i=F=>{this.emit("mouseUp",F),this.container.style.userSelect=""},r=F=>{this.emit("mouseMove",F)},s=F=>{this.emit("mouseOver",F)},o=F=>{this.emit("mouseOut",F),this.container.style.userSelect=""},a=F=>{this.emit("mouseClick",F)},l=F=>{this.emit("mouseDoubleClick",F)},f=F=>{this.emit("mouseWheel",F)},p=F=>{this.emit("mouseContextMenu",F)},m=F=>{this.emit("touchStart",F),this.container.style.userSelect="none"},y=F=>{this.emit("touchEnd",F),this.container.style.userSelect=""},_=F=>{this.emit("touchCancel",F),this.container.style.userSelect=""},N=F=>{this.emit("touchMove",F)},C=F=>{this.emit("pointerDown",F),this.container.style.userSelect="none"},A=F=>{this.emit("pointerUp",F),this.container.style.userSelect=""},V=F=>{this.emit("pointerCancel",F),this.container.style.userSelect=""},I=F=>{this.emit("pointerMove",F)},M=F=>{this.emit("pan",F)},j=F=>{this.emit("panStart",F),this.container.style.userSelect="none"},q=F=>{this.emit("panMove",F)},X=F=>{this.emit("panEnd",F),this.container.style.userSelect=""},$=F=>{this.emit("panCancel",F),this.container.style.userSelect=""},dt=F=>{this.emit("panLeft",F)},xt=F=>{this.emit("panRight",F)},It=F=>{this.emit("panUp",F),this.container.style.userSelect=""},Pt=F=>{this.emit("panDown",F),this.container.style.userSelect="none"},bt=F=>{this.emit("pinch",F)},Rt=F=>{this.emit("press",F)},Ot=F=>{this.emit("rotate",F)},wt=F=>{this.emit("swipe",F)},rt=F=>{this.emit("tap",F)},U=F=>{!F.target||this.container==F.target||this.container.contains(F.target)||this.emit("tapOutSide",F)};t.observe(this.container),this.container.addEventListener("mousedown",n),this.container.addEventListener("mouseup",i),this.container.addEventListener("mousemove",r),this.container.addEventListener("mouseover",s),this.container.addEventListener("mouseout",o),this.container.addEventListener("click",a),this.container.addEventListener("dblclick",l),this.container.addEventListener("wheel",f),this.container.addEventListener("contextmenu",p),this.container.addEventListener("touchstart",m),this.container.addEventListener("touchend",y),this.container.addEventListener("touchcancel",_),this.container.addEventListener("touchmove",N),this.container.addEventListener("pointerdown",C),this.container.addEventListener("pointerup",A),this.container.addEventListener("pointercancel",V),this.container.addEventListener("pointermove",I),this.hammer.on("pan",M),this.hammer.on("panstart",j),this.hammer.on("panmove",q),this.hammer.on("panend",X),this.hammer.on("pancancel",$),this.hammer.on("panleft",dt),this.hammer.on("panright",xt),this.hammer.on("panup",It),this.hammer.on("pandown",Pt),this.hammer.on("pinch",bt),this.hammer.on("press",Rt),this.hammer.on("rotate",Ot),this.hammer.on("swipe",wt),this.hammer.on("tap",rt),document.addEventListener("pointerdown",U,!1);const tt=()=>{t.unobserve(this.container),this.container.removeEventListener("mousedown",n),this.container.removeEventListener("mouseup",i),this.container.removeEventListener("mousemove",r),this.container.removeEventListener("mouseover",s),this.container.removeEventListener("mouseout",o),this.container.removeEventListener("click",a),this.container.removeEventListener("dblclick",l),this.container.removeEventListener("wheel",f),this.container.removeEventListener("contextmenu",p),this.container.removeEventListener("touchstart",m),this.container.removeEventListener("touchend",y),this.container.removeEventListener("touchcancel",_),this.container.removeEventListener("touchmove",N),this.container.removeEventListener("pointerdown",C),this.container.removeEventListener("pointerup",A),this.container.removeEventListener("pointercancel",V),this.container.removeEventListener("pointermove",I),this.hammer.off("pan",M),this.hammer.off("panstart",j),this.hammer.off("panmove",q),this.hammer.off("panend",X),this.hammer.off("pancancel",$),this.hammer.off("panleft",dt),this.hammer.off("panright",xt),this.hammer.off("panup",It),this.hammer.off("pandown",Pt),this.hammer.off("pinch",bt),this.hammer.off("press",Rt),this.hammer.off("rotate",Ot),this.hammer.off("swipe",wt),this.hammer.off("tap",rt),document.removeEventListener("pointerdown",U,!1),document.removeEventListener("touchstart",U,!1),document.removeEventListener("mousedown",U,!1)};return this.addDestroyRemove(tt),tt}initKeyboardEventListeners(){this.registerKeyDown({title:"打开",key:"o",ctrl:!0,exact:!0},()=>{qm().then(t=>Ym(t[0])).then(t=>{this.emit("openFile",t)}).catch(t=>{this.emit("openFileError",t)})})}registerKeyDown(t,n,i){const r=lg.on(t,o=>(n(o,r.formatedKeyNames,r.pause,r.restart),i)),s=()=>{r.removeListener?.()};return this.addDestroyRemove(s),s}drawMouseMoveLine(t,n){if(!this.ctx)return;let i=!1;switch(t){case"brush":const r=(n&&n.brushSize)??10,s=(n&&n.brushDensity)??50,o=(n&&n.brushColor)??"#000000",a=this.ctx.getImageData(0,0,this.ctx.canvas.width,this.ctx.canvas.height),l=a.data,f=jh(o);this.captureMove({start:()=>{i=!0},end:()=>{i=!1},move:()=>{if(i){for(let p=0;p<s;p++){const m=Math.random()*Math.PI*2,y=Math.random()*r,_=this.mousePoint.x+Math.cos(m)*y|0,N=this.mousePoint.y+Math.sin(m)*y|0,C=(_+N*a.width)*4;l[C]=f>>16&255,l[C+1]=f>>8&255,l[C+2]=f&255,l[C+3]=255}this.ctx.putImageData(a)}}});break;case"line":default:this.captureMove({start:p=>{i=!0,this.ctx.beginPath(),this.setMousePoint(p),this.ctx.moveTo(this.mousePoint.x,this.mousePoint.y)},end:()=>{i=!1,this.ctx.closePath()},move:()=>{i&&(this.ctx.lineTo(this.mousePoint.x,this.mousePoint.y),this.ctx.stroke())}})}}static isTouchEnabled(){return"ontouchstart"in window||navigator.maxTouchPoints>0}captureMove(t){return this.captureMoveUsePointer(t)}captureMoveUseMouse(t){const n=o=>{document.addEventListener("mousemove",r,!1),document.addEventListener("mouseup",i,!1),this.container.style.userSelect="none",t?.start?.(o)},i=o=>{document.removeEventListener("mousemove",r,!1),document.removeEventListener("mouseup",i,!1),this.container.style.userSelect="",t?.end?.(o)},r=o=>{t?.move?.(o)};this.on("mouseDown",n);const s=()=>{this.off("mouseDown",n)};return this.addDestroyRemove(s),s}captureMoveUseTouch(t){const n=o=>{o.preventDefault(),t?.start?.(o)},i=o=>{t?.end?.(o)},r=o=>{t?.move?.(o)};this.on("touchStart",n),this.on("touchEnd",i),this.on("touchCancel",i),this.on("touchMove",r);const s=()=>{this.off("touchStart",n),this.off("touchEnd",i),this.off("touchCancel",i),this.off("touchMove",r)};return this.addDestroyRemove(s),s}captureMoveUsePointer(t){const n=o=>{this.container.setPointerCapture(o.pointerId),this.container.style.userSelect="none",t?.start?.(o)},i=o=>{this.container.style.userSelect="",t?.end?.(o)},r=o=>{t?.move?.(o)};this.on("pointerDown",n),this.on("pointerUp",i),this.on("pointerCancel",i),this.on("pointerMove",r);const s=()=>{this.off("pointerDown",n),this.off("pointerUp",i),this.off("pointerCancel",i),this.off("pointerMove",r)};return this.addDestroyRemove(s),s}static getMouseButton(t){if(document.implementation.hasFeature("MouseEvents","2.0"))return t.button;switch(t.button){case 0:case 1:case 3:case 5:case 7:return 0;case 2:case 6:return 2;case 4:return 1}}}class Qt{static onDocumentReady(t){function n(){document.readyState!=="loading"&&(t(),document.removeEventListener("DOMContentLoaded",n))}typeof document<"u"&&(document.addEventListener("DOMContentLoaded",n),n())}static getCSSVar(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}static setCSSVar(t,n){document.documentElement.style.setProperty(t,n)}static safeExec(t){const n=new Proxy(window,{get(i,r,s){if(typeof r=="string"&&["open","location","document"].includes(r))throw new Error(`禁止访问 key: ${r}`);return r==="window"?n:Reflect.get(i,r,s)},set(i,r,s,o){return Reflect.set(i,r,s,o)}});new Function("window",`with(window) { ${t} }`)(n,null)}static dom=new Proxy({},{get(t,n){return function(i={},...r){const s=document.createElement(n);for(const o of Object.keys(i))s.setAttribute(o,i[o]);for(const o of r)typeof o=="string"?s.appendChild(document.createTextNode(o)):s.appendChild(o);return s}}});static compileTemplate(t){return t=t.replace(/<%=(.+?)%>/g,"`); \n echo( $1 ); \n echo(`").replace(/<%([\s\S]+?)%>/g,"`); \n $1 \n echo(`"),t="echo(`"+t+"`);",`(function parse(data){
41
53
  let output = "";
42
54
  function echo(html){
43
55
  output += html;
44
56
  }
45
- ${e}
57
+ ${t}
46
58
  return output;
47
- })`}static safeHtml(e,o="encode"){const n={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"};for(const i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e=e.replace(new RegExp(o=="decode"?i:n[i],"g"),o=="decode"?n[i]:i));return e}static loadScript(e,o=()=>{},n=(i,s,r,a,l)=>{}){const i=document.createElement("script");i.type="text/javascript",i.src=e,i.async=!1,document.body.appendChild(i),i.onload=o,i.onerror=n}static loadStyle(e){const o=document.createElement("link");o.rel="stylesheet",o.href=e,document.head.insertBefore(o,document.head.childNodes[document.head.childNodes.length-1].nextSibling)}static waitForStyleSheetsLoaded=()=>new Promise(e=>{const o=Array.from(document.querySelectorAll("link[rel=stylesheet]"));let n=document.styleSheets.length??0;const i=()=>n>=o.length?(e(),!0):!1;i()||o.forEach(s=>{s.onload=()=>{n+=1,i()}})});static lazyloadImages(){const e=document.getElementsByTagName("img"),o=Ji().height;let n=0;return()=>{for(let i=n;i<e.length;i++)e[i].getBoundingClientRect().top<o&&(e[i].src=e[i].getAttribute("data-src")??"",n=i+1)}}static iframePostMessage(e,o="http://test.com/localstorage.html"){const n=document.createElement("iframe");n.src=o,document.body.append(n),setTimeout(function(){n.contentWindow?.postMessage(e,o)},4e3),setTimeout(function(){n.remove()},6e3)}static getTextWidth=(e,o,n=400)=>{const i=document.createElement("span");i.style.visibility="hidden",i.style.padding="0",i.style.whiteSpace="nowrap",i.style.overflow="visible",i.style.fontSize=o>12?o+"px":"12px",i.style.fontWeight=n.toString(),i.innerText=e,document.body.appendChild(i);const s=i.offsetWidth;return document.body.removeChild(i),s};static getFixedWidthText=(e,o,n=12,i=400,s=!0)=>{let r="",a="",l="";if(!e||o<n||typeof e!="string")return r;const c=e.split(""),d=document.createElement("span");d.style.visibility="hidden",d.style.padding="0",d.style.whiteSpace="nowrap",d.style.overflow="visible",d.style.fontSize=n>12?n+"px":"12px",d.style.fontWeight=i.toString(),document.body.appendChild(d);for(let f=0,u=c.length;f<u;f++){const v=c[f];if(a=l,l+=v,r=l,d.innerText=l,d.offsetWidth>o){s?r=a+"...":r=a;break}}return document.body.removeChild(d),r};static getLocation(){return new Promise((e,o)=>{navigator.geolocation?navigator.geolocation.getCurrentPosition(n=>{e(n.coords)}):o("Geolocation is not supported by this browser")})}static vibrate(e=200){"vibrate"in navigator?window.navigator.vibrate(e):console.error("Your device is not support vibrate on this browser.")}static copyToClipboard=e=>navigator.clipboard.writeText(e);static getSelectedText=()=>window.getSelection()?.toString();static siblings=e=>Array.prototype.slice.call(e.parentNode?.children).filter(o=>o!==e);static isElementFocus=e=>e===document.activeElement;static isTabInView=()=>!document.hidden;static navigateBack=()=>history.back();static navigateBack2=()=>history.go(-1);static addDebuggerOnBeforeUnload=()=>{window.addEventListener("beforeunload",()=>{debugger})}}function pt(t,e=document){return new xe(t,e)}class xe{context;nodes;prefixs=["moz","o","ms","webkit"];constructor(e,o=document){if(this.context=o,typeof e=="string"?this.nodes=Array.from(this.context.querySelectorAll(e)):e instanceof HTMLElement?this.nodes=[e]:this.nodes=e,this.nodes.length===0)throw new Error(`can not find ${e}`);this.each((n,i)=>{n instanceof HTMLInputElement&&n.addEventListener("change",s=>{this.changeRadioChecked(s.currentTarget.value)}),n instanceof HTMLSelectElement&&n.addEventListener("change",s=>{this.changeSelectSelected(s.currentTarget.value)})})}get(e){return e<0&&(e=this.nodes.length+e),this.nodes[e]}concat(e){return new xe(this.nodes.concat(e.nodes),this.context)}then(e){return e(this)??this}each(e){return this.nodes.forEach((o,n)=>{e(o,n)}),this}_save(e,o,n){e._mQuery||(e._mQuery={}),Array.isArray(n)?(e._mQuery[o]=e._mQuery[o]??[],e._mQuery[o].push(...n)):n!=null?e._mQuery[o]=n:delete e._mQuery[o]}on(e,o,n){return this.nodes.forEach(i=>{this._save(i,"events",[{event:e,callback:o,options:n}]),i.addEventListener(e,o,n)}),this}off(e,o,n){return this.nodes.forEach(i=>{i.removeEventListener(e,o,n)}),this}dispatchEvent(e,o){let n;const i=["click","dblclick","mousedown","mouseup","mousemove"],s=["keydown","keyup","keypress"];return typeof e=="string"?i.includes(e)?n=new MouseEvent(e,o):s.includes(e)?n=new KeyboardEvent(e,o):n=new Event(e,o):n=e,this.nodes.forEach(r=>{r.dispatchEvent(n)}),this}change(){return this.dispatchEvent("change")}click(){return this.dispatchEvent("click")}static hasEvent(e,o){return"on"+o in e}static _fragment(e){const o=document.createElement("template");return o.innerHTML=e,o.content.childNodes.forEach(n=>{const i=xe._scriptConvert(n);i!=n&&o.content.replaceChild(i,n)}),o.content}static _scriptConvert(e){const o=n=>{const s=n.ownerDocument.createElement("script");s.text=n.text;const r=n.attributes;for(let a=0;a<r.length;a++)s.setAttribute(r[a].name,r[a].value);return s};return e.tagName=="SCRIPT"&&(e=o(e)),e.querySelectorAll&&e.querySelectorAll("script").forEach(n=>{n.parentNode?.replaceChild(o(n),n)}),e}static _fixProp(e){const o={cellpadding:"cellPadding",cellspacing:"cellSpacing",class:"className",colspan:"colSpan",contenteditable:"contentEditable",for:"htmlFor",frameborder:"frameBorder",maxlength:"maxLength",readonly:"readOnly",rowspan:"rowSpan",tabindex:"tabIndex",usemap:"useMap"};return o[e]?o[e]:e}static isSVG(e){return(e||document.documentElement).nodeName.toLowerCase()==="svg"}static createElement(e){return xe.isSVG()?document.createElementNS.call(document,"http://www.w3.org/2000/svg",e):document.createElement.call(document,e)}static createTextNode(e){return document.createTextNode.call(document,e)}static createDocumentFragment(){return document.createDocumentFragment.call(document)}_insert(e,o){const n=this.nodes.length;if(n<1)return this;const i=[];if(typeof o=="string")this.nodes.forEach(s=>{const r=xe._fragment(o);i.push(...r.children),s[e](r)});else if(o instanceof HTMLElement)this.each(s=>{const r=n===1?o:xe._fragment(o.outerHTML);i.push(...n===1?[o]:r.children),s[e](r)}),n>1&&o.remove();else if(o instanceof xe){const s=n==1;o.each(r=>{this.each(a=>{const l=s?r:r.cloneNode(!0);i.push(l),a[e](l),xe._scriptConvert(l)})}),s||o.remove()}return e=="replaceWith"&&(this.nodes=i),this}append(e){return this._insert("append",e)}prepend(e){return this._insert("prepend",e)}after(e){return this._insert("after",e)}before(e){return this._insert("before",e)}replace(e){return this._insert("replaceWith",e)}remove(){return this.nodes.forEach(e=>{e.remove()}),this}static removeChild(e){e.parentElement?.removeChild(e)}find(e){const o=[];return this.nodes.forEach(n=>{o.push(...Array.from(n.querySelectorAll(e)))}),new xe(o,this.context)}filter(e){const o=[];return this.nodes.forEach(n=>{(n===e||typeof e=="string"&&n.matches&&n.matches(e))&&o.push(n)}),new xe(o,this.context)}next(){const e=[];return this.nodes.forEach(o=>{const n=o.nextElementSibling;n&&e.push(n)}),new xe(e,this.context)}prev(){const e=[];return this.nodes.forEach(o=>{const n=o.previousElementSibling;n&&e.push(n)}),new xe(e,this.context)}closest(e){const o=[];return this.nodes.forEach(n=>{const i=n.closest(e);i&&o.push(i)}),new xe(o,this.context)}shadow(e){const o=[];this.nodes.forEach(i=>{i.shadowRoot&&o.push(i.shadowRoot)});const n=new xe(o,this.context);return e!==void 0?n.find(e):n}parent(e){return this.parents(e,!0)}parents(e,o=!1){const n=[],i=r=>{if(n.indexOf(r)==-1&&n.push(r),!o&&r.parentElement)return i(r.parentElement)};this.nodes.forEach(r=>{r.parentElement&&i(r.parentElement)});const s=new xe(n,this.context);return e!==void 0?s.filter(e):s}static getComputedStyle(e,o,n){let i;const s=e.style.getPropertyPriority(o);return"getComputedStyle"in window?(i=getComputedStyle.call(window,e,n),i=i.getPropertyValue(o)):i=e.style.getPropertyValue(o),i+(s?"!"+s:"")}css(e,o){if((e===void 0||typeof e=="string")&&o===void 0){const n=this.nodes[0].style;if(typeof e=="string"){const i=n.getPropertyPriority(e),s=n.getPropertyValue(e).trim();return s?s+(i?"!"+i:""):xe.getComputedStyle(this.nodes[0],e)}else{const i=Object.fromEntries(this.nodes[0].style.cssText.split(";").filter(s=>!!s).map(s=>s.split(":").map(r=>r.trim())));return Object.assign(i,getComputedStyle.call(window,this.nodes[0])),i}}else{let n={};return typeof e=="string"&&o!==void 0?n[e]=o:typeof e=="object"&&(n=e),this.nodes.forEach(i=>{Object.keys(n).forEach(s=>{const r=String(n[s]).toLowerCase().includes("!important")?"important":"";i.style.setProperty(s,String(n[s]).replace(/!important/i,""),r)})}),this}}addClass(e){return this.toggleClass(e,!0)}removeClass(e){return this.toggleClass(e,!1)}toggleClass(e,o){const n=e.split(/[,\s]+/);return this.nodes.forEach(i=>{n.forEach(s=>{if(s.trim()!==""){let r="toggle";o!==void 0&&(r=o?"add":"remove"),i.classList[r](s.trim())}})}),this}hasClass(e){const o=e.split(/[,\s]+/);let n=!1;return this.nodes.forEach(i=>{n=n||o.every(s=>Array.from(i.classList??[]).includes(s.trim()))}),n}attr(e,o){if(o===void 0&&typeof e=="string")return this.nodes[0].getAttribute(e);let n={};return typeof e=="object"?n=e:o!==void 0&&(n[e]=o),this.nodes.forEach(i=>{Object.entries(n).forEach(([s,r])=>{i.setAttribute(s,r)})}),this}removeAttr(e){const o=e.split(/[,\s]+/);return this.nodes.forEach(n=>{o.forEach(i=>{n.removeAttribute(i)})}),this}prop(e,o){if(o===void 0&&typeof e=="string")return this.nodes[0][e];{let n={};return typeof e=="object"?n=e:typeof e=="string"&&o!==void 0&&(n[e]=o),this.nodes.forEach(i=>{Object.entries(n).forEach(([s,r])=>{const a=xe._fixProp(s);i[a]=r,a=="innerHTML"&&xe._scriptConvert(i)})}),this}}removeProp(e){const o=e.split(/[,\s]+/);return this.nodes.forEach(n=>{o.forEach(i=>{delete n[xe._fixProp(i)]})}),this}changeSelectSelected(e){this.nodes.forEach(o=>{if(o instanceof HTMLSelectElement){const n=o.options;for(let i=0,s=n.length;i<s;i++)n[i].value==e?n[i].selected=!0:n[i].selected=!1}})}changeRadioChecked(e){this.nodes.forEach(o=>{o instanceof HTMLInputElement&&(o.value==e?o.checked=!0:o.checked=!1)})}data(e,o){if(typeof e=="string"&&e.indexOf("-")!=-1)throw new Error(`Key "${e}" contains "-" (dash). Dashes are not allowed in property names. Use camelCase instead.`);if((typeof e=="string"||e===void 0)&&o===void 0){const n=Object.assign({},this.nodes[0].dataset);return Object.keys(n).forEach(i=>{if(n[i]?.startsWith("[")||n[i]?.startsWith("{"))try{n[i]=JSON.parse(n[i]??"")}catch{}}),typeof e=="string"?n[e]:n}else{let n={};return typeof e=="object"?n=e:typeof e=="string"&&(n[e]=o),this.nodes.forEach(i=>{Object.entries(n).forEach(([s,r])=>{r!=null?i.dataset[s]=r instanceof Object?JSON.stringify(r):r:delete i.dataset[s]})}),this}}removeData(e){const o=e.split(/[,\s]+/);return this.nodes.forEach(n=>{o.forEach(i=>{delete n.dataset[i]})}),this}show(){return this.toggle(!0)}hide(){return this.toggle(!1)}toggle(e){return this.nodes.forEach(o=>{const n=o.style.display,i=getComputedStyle(o).display,s=n=="none"||i=="none";if(s&&(e===void 0||e===!0)){const r=o instanceof HTMLTableRowElement?"table-row":o instanceof HTMLTableCellElement?"table-cell":"block";o.style.display=o._mQuery?.prevDisplay??(n==i&&i!="none"?"":r),this._save(o,"prevDisplay",null)}!s&&(e==null||e===!1)&&(i!="none"&&this._save(o,"prevDisplay",i),o.style.setProperty("display","none"))})}empty(){return this.html("")}html(e){return e instanceof HTMLElement?this.empty().append(e.innerHTML):this.prop("innerHTML",e)}text(e){return this.prop("textContent",e)}val(e){return this.prop("value",e)}}function es(t){return t*Math.PI/180}function fl(t){return t*180/Math.PI}function ep(t,e,o,n){const i=t-o,s=e-n;return Math.sqrt(i*i+s*s)}function pl(t,e,o,n){const i=o-t,s=n-e;return Math.atan2(s,i)}function ts(t){return t[0]*t[0]+t[1]*t[1]}function hl(t){const e=Math.sqrt(ts(t));t[0]&&(t[0]/=e),t[1]&&(t[1]/=e)}function tp(t,e,o,n,i=10){if(Math.abs(o-t)<i&&Math.abs(n-e)<i)return"no";const s=fl(pl(t,e,o,n));return s>=-135&&s<=-45?"up":s>45&&s<135?"down":s>=135&&s<=180||s>=-180&&s<-135?"left":s>=-45&&s<=45?"right":"no"}class Ao{x;y;vx;vy;ax;ay;mass;constructor(e){this.x=e.x,this.y=e.y,this.vx=e?.vx||0,this.vy=e?.vy||0,this.ax=e?.ax||0,this.ay=e?.ay||0,this.mass=e?.mass||0}fromAngleAndLength(e,o){return new Ao({x:Math.cos(e)*o,y:Math.sin(e)*o})}distanceTo(e){return ep(this.x,this.y,e.x,e.y)}angleTo(e){return pl(this.x,this.y,e.x,e.y)}followTo(e,o=3){const n=this.angleTo(e),{x:i,y:s}=this.fromAngleAndLength(n,o);this.vx=i,this.vy=s,this.nextFrame()}followAccelerationTo(e,o=.05){const n=this.angleTo(e),{x:i,y:s}=this.fromAngleAndLength(n,o);this.ax=i,this.ay=s,this.nextFrame()}nextFrame(e){const o=e?.gravity??0,n=e?.friction??0;if(this.vx+=this.ax,this.vy+=this.ay,this.vy+=o,n>0){const i=Math.atan2(this.vy,this.vx);let s=Math.sqrt(this.vx*this.vx+this.vy*this.vy);s>n?s-=n:s=0,this.vx=Math.cos(i)*s,this.vy=Math.sin(i)*s}this.x+=this.vx,this.y+=this.vy}nextFrameEaseTo(e,o){const n=o?.gravity??0,i=o?.friction??1,s=o?.easing??.05,r=e.x-this.x,a=e.y-this.y;this.vx=r*s,this.vy=a*s,this.vy+=n,this.vx*=i,this.vy*=i,this.x+=this.vx,this.y+=this.vy}nextFrameSpringTo(e,o){const n=o?.gravity??0,i=o?.friction??.95,s=o?.spring??.03;(Array.isArray(e)?e:[e]).forEach(a=>{const l=a.x-this.x,c=a.y-this.y,d=l*s,f=c*s;this.vx+=d,this.vy+=f}),this.vy+=n,this.vx*=i,this.vy*=i,this.x+=this.vx,this.y+=this.vy}nextFrameSpringConnect(e,o){const n=o?.gravity??0,i=o?.friction??.95,s=o?.spring??.03,r=o?.springLength??100,a=this.angleTo(e);this.nextFrameSpringTo(new Ao({x:e.x-Math.cos(a)*r,y:e.y-Math.sin(a)*r}),{spring:s,friction:i,gravity:n})}}class op extends Ao{width;height;constructor(e){super(e),this.width=e.width,this.height=e.height}eq(e){return this.x===e.x&&this.y===e.y&&this.width===e.width&&this.height===e.height}isIntersectRect(e){return!(this.x+this.width<e.x||e.x+e.width<this.x||this.y+this.height<e.y||e.y+e.height<this.y)}isContainPoint(e){return!(e.x<this.x||e.x>this.x+this.width||e.y<this.y||e.y>this.y+this.height)}toArray(){return[this.x,this.y,this.width,this.height]}clone(e){this.x=e.x,this.y=e.y,this.width=e.width,this.height=e.height}}class Ln extends Ao{radius;constructor(e){super(e),this.radius=e?.radius??0}toSVGPathData(){return[this.x,this.y]}toSVGPathD(){return`${this.x},${this.y}`}setX(e){this.x=e}setY(e){this.y=e}setXY(e,o){this.x=e,this.y=o}eq(e){return this.x===e.x&&this.y===e.y}midPointBtw(e){return new Ln({x:this.x+(e.x-this.x)/2,y:this.y+(e.y-this.y)/2})}toArray(){return[this.x,this.y]}clone(e){this.setXY(e.x,e.y)}getBounds(){return new op({x:this.x-this.radius,y:this.y-this.radius,width:this.radius*2,height:this.radius*2})}nextFrameCollisionTo(e){const o=e.x-this.x,n=e.y-this.y;if(Math.sqrt(o*o+n*n)<this.radius+e.radius){const r=Math.atan2(n,o),a=Math.sin(r),l=Math.cos(r),c={x:0,y:0},d=s(o,n,a,l,!0),f=s(this.vx,this.vy,a,l,!0),u=s(e.vx,e.vy,a,l,!0),v=f.x-u.x;f.x=((this.mass-e.mass)*f.x+2*e.mass*u.x)/(this.mass+e.mass),u.x=v+f.x;const b=Math.abs(f.x)+Math.abs(u.x),y=this.radius+e.radius-Math.abs(c.x-d.x);c.x+=f.x/b*y,d.x+=u.x/b*y;const k=s(c.x,c.y,a,l,!1),A=s(d.x,d.y,a,l,!1);e.x=this.x+A.x,e.y=this.y+A.y,this.x=this.x+k.x,this.y=this.y+k.y;const $=s(f.x,f.y,a,l,!1),z=s(u.x,u.y,a,l,!1);this.vx=$.x,this.vy=$.y,e.vx=z.x,e.vy=z.y}function s(r,a,l,c,d=!1){return{x:d?r*c+a*l:r*c-a*l,y:d?a*c-r*l:a*c+r*l}}}nextFrameBounce(e){const o=e.left,n=e.top,i=e.right,s=e.bottom,r=e?.bounce??-1;this.x+this.radius>i?(this.x=i-this.radius,this.vx*=r):this.x-this.radius<o&&(this.x=o+this.radius,this.vx*=r),this.y+this.radius>s?(this.y=s-this.radius,this.vy*=r):this.y-this.radius<n&&(this.y=n+this.radius,this.vy*=r)}}class os extends Ln{startPoint;startTime;slideDetectDuration=300;slideDetectDistance=10;directionDebounceDuration=100;getDirectionDebounce=e=>Fd((o,n,i,s)=>e(tp(o,n,i,s)),this.directionDebounceDuration);constructor(e={x:0,y:0}){super(e),this.startPoint=new Ln({x:this.x,y:this.y}),this.startTime=new Date}static isTouchEnabled(){return"ontouchstart"in window||navigator.maxTouchPoints>0}capture(e,o={}){return os.isTouchEnabled()?this.capturePointer(e,o):this.captureMouse(e,o)}captureMouse(e,o={}){const n=l=>{const c=ft(e,l);this.x=c.x,this.y=c.y,document.addEventListener("mousemove",a,!1),document.addEventListener("mouseup",i,!1),e.style.userSelect="none",e.style.webkitUserSelect="",this.startPoint.x=this.x,this.startPoint.y=this.y,this.startTime=new Date,o.start?.(this)},i=l=>{const c=ft(e,l);this.x=c.x,this.y=c.y,document.removeEventListener("mouseup",i,!1),document.removeEventListener("mousemove",a,!1),e.style.userSelect="",e.style.webkitUserSelect="",o.end?.(this)},s=this.getDirectionDebounce(l=>{new Date().getTime()-this.startTime.getTime()>this.slideDetectDuration||(l=="left"&&Math.abs(this.x-this.startPoint.x)>=this.slideDetectDistance?o.slideLeft?.(this.x-this.startPoint.x,this.y-this.startPoint.y):l=="right"&&Math.abs(this.x-this.startPoint.x)>=this.slideDetectDistance&&o.slideRight?.(this.x-this.startPoint.x,this.y-this.startPoint.y))}),r=l=>{!l.target||e==l.target||e.contains(l.target)||o.slideRight?.(this.x-this.startPoint.x,this.y-this.startPoint.y)},a=l=>{const c=ft(e,l);this.x=c.x,this.y=c.y,s(this.startPoint.x,this.startPoint.y,this.x,this.y),o.move?.(this)};return e.addEventListener("mousedown",n,!1),document.addEventListener("mousedown",r,!1),()=>{e.removeEventListener("mousedown",n,!1),document.removeEventListener("mousedown",r,!1)}}captureTouch(e,o={}){const n=l=>{l.preventDefault();const c=l.changedTouches[0],d=ft(e,c);this.x=d.x,this.y=d.y,this.startPoint.x=this.x,this.startPoint.y=this.y,this.startTime=new Date,o.start?.(this)},i=l=>{const c=l.changedTouches[0],d=ft(e,c);this.x=d.x,this.y=d.y,o.end?.(this)},s=this.getDirectionDebounce(l=>{new Date().getTime()-this.startTime.getTime()>this.slideDetectDuration||(l=="left"&&Math.abs(this.x-this.startPoint.x)>=this.slideDetectDistance?o.slideLeft?.(this.x-this.startPoint.x,this.y-this.startPoint.y):l=="right"&&Math.abs(this.x-this.startPoint.x)>=this.slideDetectDistance&&o.slideRight?.(this.x-this.startPoint.x,this.y-this.startPoint.y))}),r=l=>{!l.target||e==l.target||e.contains(l.target)||o.slideRight?.(this.x-this.startPoint.x,this.y-this.startPoint.y)},a=l=>{const c=l.changedTouches[0],d=ft(e,c);this.x=d.x,this.y=d.y,s(this.startPoint.x,this.startPoint.y,this.x,this.y),o.move?.(this)};return e.addEventListener("touchstart",n,!1),e.addEventListener("touchend",i,!1),e.addEventListener("touchcancel",i,!1),e.addEventListener("touchmove",a,!1),document.addEventListener("touchstart",r,!1),()=>{e.removeEventListener("touchstart",n,!1),e.removeEventListener("touchend",i,!1),e.removeEventListener("touchcancel",i,!1),e.removeEventListener("touchmove",a,!1),document.removeEventListener("touchstart",r,!1)}}capturePointer(e,o={}){const n=l=>{const c=ft(e,l);this.x=c.x,this.y=c.y,e.setPointerCapture(l.pointerId),e.style.userSelect="none",e.style.webkitUserSelect="",this.startPoint.x=this.x,this.startPoint.y=this.y,this.startTime=new Date,o.start?.(this)},i=l=>{const c=ft(e,l);this.x=c.x,this.y=c.y,e.style.userSelect="",e.style.webkitUserSelect="",o.end?.(this)},s=this.getDirectionDebounce(l=>{new Date().getTime()-this.startTime.getTime()>this.slideDetectDuration||(l=="left"&&Math.abs(this.x-this.startPoint.x)>=this.slideDetectDistance?o.slideLeft?.(this.x-this.startPoint.x,this.y-this.startPoint.y):l=="right"&&Math.abs(this.x-this.startPoint.x)>=this.slideDetectDistance&&o.slideRight?.(this.x-this.startPoint.x,this.y-this.startPoint.y))}),r=l=>{!l.target||e==l.target||e.contains(l.target)||o.slideRight?.(this.x-this.startPoint.x,this.y-this.startPoint.y)},a=l=>{const c=ft(e,l);this.x=c.x,this.y=c.y,s(this.startPoint.x,this.startPoint.y,this.x,this.y),o.move?.(this)};return e.addEventListener("pointerdown",n,!1),e.addEventListener("pointerup",i,!1),e.addEventListener("pointercancel",i,!1),e.addEventListener("pointermove",a,!1),document.addEventListener("pointerdown",r,!1),()=>{e.removeEventListener("pointerdown",n,!1),e.removeEventListener("pointerup",i,!1),e.removeEventListener("pointercancel",i,!1),e.removeEventListener("pointermove",a,!1),document.removeEventListener("pointerdown",r,!1)}}static clickEvent=typeof document<"u"&&document.ontouchstart?"touchstart":"click";static getMouseButton(e){if(document.implementation.hasFeature("MouseEvents","2.0"))return e.button;switch(e.button){case 0:case 1:case 3:case 5:case 7:return 0;case 2:case 6:return 2;case 4:return 1}}}const ml=[1,0,0,1,0,0],vl=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];class Ke{value;matrix3d;isEverTo3d=!1;_prev_rotatex=0;_prev_rotatey=0;constructor(e=ml){this.value=Array.from(e),this.matrix3d=this.toMatrix3D()}unit(){return this.value=Array.from(ml),this.matrix3d=this.toMatrix3D(),this}transformPoint(e,o,n=0,i=0){const s=e-n,r=o-i;return e=s*this.value[0]+r*this.value[2]+this.value[4],o=s*this.value[1]+r*this.value[3]+this.value[5],[e+n,o+i]}fromString(e){const o=_a("number",e);return o.length===6?o.forEach((n,i)=>{n.fullMatch&&(this.value[i]=parseFloat(n.fullMatch))}):this.unit(),this}toMatrix3D(e=this.matrix3d){const o=[this.value[0],this.value[1],0,0,this.value[2],this.value[3],0,0,0,0,1,0,this.value[4],this.value[5],0,1];return e?(e.value=o,e):new eo(o)}offset(e=0,o=0){return[e-this.value[4],o-this.value[5]]}clone(){return new Ke(this.value)}multiply(e){const o=this.value;let n;e instanceof Ke?n=e.value:n=e;const i=o[0]*n[0]+o[2]*n[1],s=o[1]*n[0]+o[3]*n[1],r=o[0]*n[2]+o[2]*n[3],a=o[1]*n[2]+o[3]*n[3],l=o[0]*n[4]+o[2]*n[5]+o[4],c=o[1]*n[4]+o[3]*n[5]+o[5];return o[0]=i,o[1]=s,o[2]=r,o[3]=a,o[4]=l,o[5]=c,this}inverse(){const e=new Ke(this.value),o=e.value,n=1/(o[0]*o[3]-o[1]*o[2]),i=o[3]*n,s=-o[1]*n,r=-o[2]*n,a=o[0]*n,l=n*(o[2]*o[5]-o[3]*o[4]),c=n*(o[1]*o[4]-o[0]*o[5]);return o[0]=i,o[1]=s,o[2]=r,o[3]=a,o[4]=l,o[5]=c,e}translate(e,o){return this.matrix3d.translate(e,o,0),this.multiply([1,0,0,1,e,o])}translateTo(e,o){const n=this.offset(e,o);return this.translate(n[0],n[1])}translateX(e){return this.translate(e,0)}translateY(e){return this.translate(0,e)}translateZ(e){return this.isEverTo3d=!0,this.matrix3d.translate(0,0,e)}translate3d(e,o,n){return this.isEverTo3d=!0,this.matrix3d.translate(e,o,n)}rotate(e,o=0,n=0){const i=es(e),s=+Math.cos(i).toFixed(9),r=+Math.sin(i).toFixed(9);return this.multiply([s,r,-r,s,o,n]),this.translate(-o,-n),this}rotateX(e){return this._prev_rotatex=e,this.isEverTo3d=!0,this.matrix3d.rotate("x",e)}rotateXTo(e){return this.rotateX(e-this._prev_rotatex)}rotateY(e){return this._prev_rotatey=e,this.isEverTo3d=!0,this.matrix3d.rotate("y",e)}rotateYTo(e){return this.rotateY(e-this._prev_rotatey)}rotateZ(e){return this.isEverTo3d=!0,this.matrix3d.rotate("z",e)}rotate3d(e,o,n){return this.isEverTo3d=!0,this.matrix3d.rotate("x",e).rotate("y",o).rotate("z",n)}scale(e,o=e,n=0,i=0){return this.matrix3d.scale(e,o,1),this.translate(n,i),this.multiply([e,0,0,o,0,0]),this.translate(-n,-i),this}scaleTo(e,o=e){return this.scale(e/this.value[0],o/this.value[3]),this}scaleX(e){return this.scale(e,1)}scaleY(e){return this.scale(1,e)}scaleZ(e){return this.isEverTo3d=!0,this.matrix3d.scale(1,1,e)}scale3d(e,o,n){return this.isEverTo3d=!0,this.matrix3d.scale(e,o,n)}skew(e,o=0){const n=e*Math.PI/180,i=o*Math.PI/180,s=Math.tan(n),r=Math.tan(i);return this.multiply([1,r,s,1,0,0])}skewX(e){return this.skew(e,0)}skewY(e){return this.skew(0,e)}skewZ(e){return this}skew3d(e,o,n){return this}split(){const e={dx:0,dy:0,scalex:1,scaley:1,shear:1,rotate:0,isSimple:!0,isSuperSimple:!0,noRotation:!1};e.dx=this.value[4],e.dy=this.value[5];const o=[[this.value[0],this.value[2]],[this.value[1],this.value[3]]];e.scalex=Math.sqrt(ts(o[0])),hl(o[0]),e.shear=o[0][0]*o[1][0]+o[0][1]*o[1][1],o[1]=[o[1][0]-o[0][0]*e.shear,o[1][1]-o[0][1]*e.shear],e.scaley=Math.sqrt(ts(o[1])),hl(o[1]),e.shear/=e.scaley;const n=-o[0][1],i=o[1][1];return i<0?(e.rotate=fl(Math.acos(i)),n<0&&(e.rotate=360-e.rotate)):e.rotate=es(Math.asin(n)),e.isSimple=!+e.shear.toFixed(9)&&(e.scalex.toFixed(9)==e.scaley.toFixed(9)||!e.rotate),e.isSuperSimple=!+e.shear.toFixed(9)&&e.scalex.toFixed(9)==e.scaley.toFixed(9)&&!e.rotate,e.noRotation=!+e.shear.toFixed(9)&&!e.rotate,e}toTransformString(){const e=this.split();return e.isSimple?(e.scalex=+e.scalex.toFixed(4),e.scaley=+e.scaley.toFixed(4),e.rotate=+e.rotate.toFixed(4),(e.dx&&e.dy?"t"+[e.dx,e.dy]:"")+(e.scalex!=1||e.scaley!=1?"s"+[e.scalex,e.scaley,0,0]:"")+(e.rotate?"r"+[e.rotate,0,0]:"")):"matrix"+[this.value[0],this.value[1],this.value[2],this.value[3],this.value[4],this.value[5]]}toString(){return this.isEverTo3d?this.toMatrix3DString():`matrix(${this.value.map(e=>xa(e,6)).join(",")})`}toMatrix3DString(){return this.matrix3d.toString()}toFilter(){return"progid:DXImageTransform.Microsoft.Matrix(M11="+this.value[0]+", M12="+this.value[2]+", M21="+this.value[1]+", M22="+this.value[3]+", Dx="+this.value[4]+", Dy="+this.value[5]+", sizingmethod='auto expand')"}}class eo{value;constructor(e=vl){this.value=Array.from(e)}unit(){return this.value=Array.from(vl),this}fromString(e){const o=_a("number",e);return o.length===16?o.forEach((n,i)=>{n.fullMatch&&(this.value[i]=parseFloat(n.fullMatch))}):this.unit(),this}toMatrix(e){const o=[this.value[0],this.value[1],this.value[4],this.value[5],this.value[12],this.value[13]];return e?(e.value=o,e):new Ke(o)}multiplyMatrix(e){const o=this.value[0],n=this.value[1],i=this.value[2],s=this.value[3],r=this.value[4],a=this.value[5],l=this.value[6],c=this.value[7],d=this.value[8],f=this.value[9],u=this.value[10],v=this.value[11],b=this.value[12],y=this.value[13],k=this.value[14],A=this.value[15],$=e.value[0],z=e.value[1],G=e.value[2],ne=e.value[3],M=$*o+z*r+G*d+ne*b,I=$*n+z*a+G*f+ne*y,he=$*i+z*l+G*u+ne*k,ve=$*s+z*c+G*v+ne*A;return new Ke([M,I,he,ve,0,0])}multiply(e){const o=new Ke([e.value[0],e.value[1],e.value[2],e.value[3],0,0]),n=new Ke([e.value[4],e.value[5],e.value[6],e.value[7],0,0]),i=new Ke([e.value[8],e.value[9],e.value[10],e.value[11],0,0]),s=new Ke([e.value[12],e.value[13],e.value[14],e.value[15],0,0]),r=this.multiplyMatrix(o),a=this.multiplyMatrix(n),l=this.multiplyMatrix(i),c=this.multiplyMatrix(s);return this.value[0]=r.value[0],this.value[1]=r.value[1],this.value[2]=r.value[2],this.value[3]=r.value[3],this.value[4]=a.value[0],this.value[5]=a.value[1],this.value[6]=a.value[2],this.value[7]=a.value[3],this.value[8]=l.value[0],this.value[9]=l.value[1],this.value[10]=l.value[2],this.value[11]=l.value[3],this.value[12]=c.value[0],this.value[13]=c.value[1],this.value[14]=c.value[2],this.value[15]=c.value[3],this}translate(e=0,o=0,n=0){return this.multiply(new eo([1,0,0,0,0,1,0,0,0,0,1,0,e,o,n,1]))}scale(e=1,o=1,n=1){return this.multiply(new eo([e,0,0,0,0,o,0,0,0,0,n,0,0,0,0,1]))}rotate(e,o){const n=es(o),i=Math.sin,s=Math.cos;let r;switch(e){case"x":r=[1,0,0,0,0,s(n),i(n),0,0,-i(n),s(n),0,0,0,0,1];break;case"y":r=[s(n),0,-i(n),0,0,1,0,0,i(n),0,s(n),0,0,0,0,1];break;case"z":r=[s(n),i(n),0,0,-i(n),s(n),0,0,0,0,1,0,0,0,0,1];break}return this.multiply(new eo(r))}toString(){return`matrix3d(${this.value.map(e=>xa(e,6)).join(",")})`}}function gl(t){const e=new Ke;return t.replace(/([a-z0-9]+)\s*\(?\s*((-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)*[a-z%]*\s*,?\s*)+)\)?/gi,function(o,n,i){i.indexOf(",")>=0?i=i.split(/\s*,\s*/):i=i.split(/\s+/);const s=[];for(let r=0,a=i.length;r<a;r++)i[r].trim()&&s.push(parseFloat(""+i[r]));switch(n.toLowerCase()){case"t":case"translate":e.translate(s[0],s[1]);break;case"translatex":e.translateX(s[0]);break;case"translatey":e.translateY(s[0]);break;case"translatez":e.translateZ(s[0]);break;case"translate3d":e.translate3d(s[0],s[1],s[2]);break;case"r":case"rotate":e.rotate(s[0],s[1]??0,s[2]??0);break;case"rotatex":e.rotateX(s[0]);break;case"rotatey":e.rotateY(s[0]);break;case"rotatez":e.rotateZ(s[0]);break;case"rotate3d":e.rotate3d(s[0],s[1],s[2]);break;case"s":case"scale":e.scale(s[0],s[1]??s[0]);break;case"scalex":e.scaleX(s[0]);break;case"scaley":e.scaleY(s[0]);break;case"scalez":e.scaleZ(s[0]);break;case"scale3d":e.scale3d(s[0],s[1],s[2]);break;case"skew":e.skew(s[0],s[1]??0);break;case"skewx":e.skewX(s[0]);break;case"skewy":e.skewY(s[0]);break;case"skewz":e.skewZ(s[0]);break;case"skew3d":e.skew3d(s[0],s[1],s[2]);break;case"m":case"matrix":e.multiply([s[0],s[1],s[2],s[3],s[4],s[5]]);break;case"matrix3d":e.matrix3d.multiply(new eo(s));break}return""}),e}const V={safeAreaTop:q.getCSSVar("--safe-area-inset-top"),safeAreaRight:q.getCSSVar("--safe-area-inset-right"),safeAreaBottom:q.getCSSVar("--safe-area-inset-bottom"),safeAreaLeft:q.getCSSVar("--safe-area-inset-left"),colorPrimary:q.getCSSVar("--color-primary"),colorRed:q.getCSSVar("--color-red"),colorOrange:q.getCSSVar("--color-orange"),colorYellow:q.getCSSVar("--color-yellow"),colorGreen:q.getCSSVar("--color-green"),colorBlue:q.getCSSVar("--color-blue"),colorPurple:q.getCSSVar("--color-purple"),colorBlack:q.getCSSVar("--color-black"),colorGray0:q.getCSSVar("--color-gray-0"),colorGray3:q.getCSSVar("--color-gray-3"),colorGray6:q.getCSSVar("--color-gray-6"),colorGray9:q.getCSSVar("--color-gray-9"),colorGrayCC:q.getCSSVar("--color-gray-cc"),colorGrayDD:q.getCSSVar("--color-gray-dd"),colorGrayE6:q.getCSSVar("--color-gray-e6"),colorGrayEE:q.getCSSVar("--color-gray-ee"),colorGrayEF:q.getCSSVar("--color-gray-ef"),colorGrayF5:q.getCSSVar("--color-gray-f5"),colorGrayFF:q.getCSSVar("--color-gray-ff"),fontLineHeight:q.getCSSVar("--font-line-height"),fontSize32:q.getCSSVar("--font-size-32"),fontSize24:q.getCSSVar("--font-size-24"),fontSize20:q.getCSSVar("--font-size-20"),fontSize18:q.getCSSVar("--font-size-18"),fontSize16:q.getCSSVar("--font-size-16"),fontSize14:q.getCSSVar("--font-size-14"),fontSize12:q.getCSSVar("--font-size-12"),fontSize11:q.getCSSVar("--font-size-11"),gap4:q.getCSSVar("--gap-4"),gap8:q.getCSSVar("--gap-8"),gap12:q.getCSSVar("--gap-12"),gap16:q.getCSSVar("--gap-16"),gap20:q.getCSSVar("--gap-20"),gap40:q.getCSSVar("--gap-40"),height44:q.getCSSVar("--height-44"),height32:q.getCSSVar("--height-32"),borderRadius:q.getCSSVar("--border-radius")},np=function(t){return t[0]==="#"&&(t=t.slice(1)),parseInt(t,16)},ip=function(t,e=1){const o=t>>16&255,n=t>>8&255,i=t&255,s=e<0?0:e>1?1:e;return s===1?"rgb("+o+","+n+","+i+")":"rgba("+o+","+n+","+i+","+s+")"},yl=function(t,e=1){const o=np(t);return ip(o,e)};function ht(t,e){let o=parseInt(t.substring(1,3),16),n=parseInt(t.substring(3,5),16),i=parseInt(t.substring(5,7),16);o==0&&(o=32),n==0&&(n=32),i==0&&(i=32),o=o*(100+e)/100,n=n*(100+e)/100,i=i*(100+e)/100,o=o<255?o:255,n=n<255?n:255,i=i<255?i:255,o=Math.round(o),n=Math.round(n),i=Math.round(i);const s=o.toString(16).length==1?"0"+o.toString(16):o.toString(16),r=n.toString(16).length==1?"0"+n.toString(16):n.toString(16),a=i.toString(16).length==1?"0"+i.toString(16):i.toString(16);return"#"+s+r+a}function bl(t){switch(t){case"linear":return[0,0,1,1];case"ease":return[.25,.1,.25,1];case"ease-in":return[.42,0,1,1];case"ease-in-out":return[.42,0,.58,1];case"ease-out":return[0,0,.58,1]}}const sp={attributeName:["display"],values:[["block","block"]]},Me={easeName:"linear",begin:0,dur:300,repeatCount:1,direction:"normal",fill:"freeze",keyTimes:[0,1]};class ns{currentAnimateName;objects=[];actions=[];constructor(){}hasObjects(){return this.objects.length>0}fromDOM(e){return Array.isArray(e)||(e=[e]),this.objects=[],e.forEach(o=>{const n=pt(o);this.objects.push({width:parseFloat(n.css("width")),height:parseFloat(n.css("height")),dom:n,el:o,originCSSObject:n.css()})}),this}toCSS(e,...o){if(!this.hasObjects())return;switch(this.currentAnimateName=e,this[e](...o),this.objects[0].dom?.parent().css({position:"relative",perspective:"1000px",overflow:"hidden"}),e){default:this.objects.forEach((s,r)=>{s.dom?.css({position:"absolute","z-index":String(1e3+r),"transform-style":"preserve-3d","backface-visibility":"hidden"})});break}let n=0;const i=()=>{this.actions.forEach((s,r)=>{const a=this.objects[s.objectIndex];let l=[],c=[];Array.isArray(s.attributeName)?(l=s.attributeName,c=s.values):s.attributeName&&(l=[s.attributeName],c=[s.values]);const d=s.keyTimes.length,f=gl(a.dom?.css("transform")??"");let u=s.begin;s.keyTimes.forEach((v,b)=>{const y={_matrix:f};l.forEach((k,A)=>{const $=c[A][s.direction=="reverse"?d-b-1:b];this._transformAttributeToCSSObjectUseMatrix(k,$,y)}),b==0?a.dom?.css(Object.assign(y,{transition:""})):(setTimeout(()=>{a.dom?.css(Object.assign(y,{transition:`all ${s.realKeyTimes[b]}ms cubic-bezier(${s.keySplines[b-1].join(",")})`}))},u),u+=s.realKeyTimes[b])}),setTimeout(()=>{s.fill==="remove"&&a.dom?.css(a.originCSSObject??{}),r==this.actions.length-1&&(typeof s.repeatCount=="number"&&++n<s.repeatCount||s.repeatCount=="infinite")&&requestAnimationFrame(()=>{this.currentAnimateName===e&&i()})},s.begin+s.dur)})};i()}_transformAttributeToCSSObjectUseMatrix(e,o,n={}){switch(e){case"translateTo":n._matrix.translateTo(o[0]??0,o[1]??0);break;case"translate":n._matrix.translate(o[0]??0,o[1]??0);break;case"rotate":n._matrix.rotate(o??0);break;case"rotateXTo":n._matrix.rotateXTo(o??0);break;case"rotateYTo":n._matrix.rotateYTo(o??0);break;case"scaleTo":typeof o=="number"?n._matrix.scaleTo(o??1):n._matrix.scaleTo(o[0]??1,o[1]??1);break;case"scale":typeof o=="number"?n._matrix.scale(o??1):n._matrix.scale(o[0]??1,o[1]??1);break;case"scaleX":n._matrix.scale(o??1,1);break;case"scaleY":n._matrix.scale(1,o??1);break;default:Object.assign(n,{[e]:`${o??""}`});break}return Object.assign(n,{transform:n._matrix.toString()}),n}_addAction(e,o=!1){return this.actions=o?[]:this.actions,Array.isArray(e)||(e=[e]),e.forEach(n=>{this.actions.push(Object.assign(n,{realKeyTimes:n.keyTimes.map(i=>n.dur*i)}))}),this}_addAnimate(e=sp,o=Me,n=0,i=!1){const s=o.keyTimes??[0,1],r=[];return s.forEach((a,l)=>{l>0&&r.push(bl(o.easeName??"linear"))}),this._addAction({objectIndex:n,attributeName:e.attributeName,values:e.values,begin:o.begin??0,dur:o.dur??300,keyTimes:s,keySplines:r,repeatCount:o.repeatCount??1,direction:o.direction??"normal",fill:o.fill??"freeze"},i),this}_predefinedAnimate(e,o,n,i,s=Me,r=this.objects.length-1){let a=!0,l=!1,c=!1,d=!1;const f=this.objects.length;r=(r+f)%f;const u=(r-1+f)%f,v=(r+1+f)%f,b=this.objects[r],y=this.objects[u],k=this.objects[v];if(y&&u!==r){const A=e(y);A&&(this._addAnimate(A,s,u,a),a=!1,l=!0)}if(b){const A=o(b);A&&(this._addAnimate(A,s,r,a),a=!1,c=!0)}if(k&&v!==r){const A=n(k);A&&(this._addAnimate(A,s,v,a),a=!1,d=!0)}this.objects.forEach((A,$)=>{if(!($==u&&l||$==r&&c||$==v&&d)){const z=i(A);z&&(this._addAnimate(z,s,$,a),a=!1)}})}flip(e=Me,o=this.objects.length-1){const n=o-1,i=this.objects[n],s=this.objects[o],r=gl(s.dom?.css("transform")??""),a=r.clone();i.dom?.show(),i.dom?.css("opacity","1");const l=i.el?.getBoundingClientRect();i.dom?.css("opacity","0"),s.dom?.show(),s.dom?.css("opacity","1");const c=s.el?.getBoundingClientRect(),d=i.dom?.css("background-color"),f=s.dom?.css("background-color");a.translate((l?.left??0)-(c?.left??0),(l?.top??0)-(c?.top??0)),a.scale((l?.width??1)/(c?.width??1),(l?.height??1)/(c?.height??1));const u={transform:a.toString(),transition:""};d&&Object.assign(u,{"background-color":d}),s.dom?.css(u);const v={transform:r.toString(),transition:`all ${e.dur}ms cubic-bezier(${bl(e.easeName??"linear").join(",")})`};f&&Object.assign(v,{"background-color":f}),setTimeout(()=>{s.dom?.css(v)},e.begin)}slideLeft(e=Me,o=this.objects.length-1){this._predefinedAnimate(n=>({attributeName:["translateTo"],values:[[[0,0],[-n.width,0]]]}),n=>({attributeName:["opacity","translateTo"],values:[[1,1],[[n.width,0],[0,0]]]}),n=>{},n=>({attributeName:["translateTo"],values:[[[-n.width,0],[-n.width,0]]]}),e,o)}slideRight(e=Me,o=this.objects.length-1){this._predefinedAnimate(n=>{},n=>({attributeName:["opacity","translateTo"],values:[[1,1],[[-n.width,0],[0,0]]]}),n=>({attributeName:["translateTo"],values:[[[0,0],[n.width,0]]]}),n=>({attributeName:["translateTo"],values:[[[n.width,0],[n.width,0]]]}),e,o)}slideDown(e=Me,o=this.objects.length-1){this._predefinedAnimate(n=>({attributeName:["translateTo"],values:[[[0,0],[0,n.height]]]}),n=>({attributeName:["opacity","translateTo"],values:[[1,1],[[0,-n.height],[0,0]]]}),n=>{},n=>({attributeName:["translateTo"],values:[[[0,n.height],[0,n.height]]]}),e,o)}slideUp(e=Me,o=this.objects.length-1){this._predefinedAnimate(n=>({attributeName:["translateTo"],values:[[[0,0],[0,-n.height]]]}),n=>({attributeName:["opacity","translateTo"],values:[[1,1],[[0,n.height],[0,0]]]}),n=>{},n=>({attributeName:["translateTo"],values:[[[0,-n.height],[0,-n.height]]]}),e,o)}flipLeft(e=Me,o=this.objects.length-1){this._predefinedAnimate(n=>({attributeName:["opacity","rotateYTo"],values:[[1,1],[0,180]]}),n=>({attributeName:["opacity","rotateYTo"],values:[[1,1],[-180,0]]}),n=>{},n=>({attributeName:["opacity"],values:[[0,0]]}),e,o)}flipRight(e=Me,o=this.objects.length-1){this._predefinedAnimate(n=>({attributeName:["opacity","rotateYTo"],values:[[1,1],[0,-180]]}),n=>({attributeName:["opacity","rotateYTo"],values:[[1,1],[180,0]]}),n=>{},n=>({attributeName:["opacity"],values:[[0,0]]}),e,o)}flipDown(e=Me,o=this.objects.length-1){this._predefinedAnimate(n=>({attributeName:["opacity","rotateXTo"],values:[[1,1],[0,-180]]}),n=>({attributeName:["opacity","rotateXTo"],values:[[1,1],[180,0]]}),n=>{},n=>({attributeName:["opacity"],values:[[0,0]]}),e,o)}flipUp(e=Me,o=this.objects.length-1){this._predefinedAnimate(n=>({attributeName:["opacity","rotateXTo"],values:[[1,1],[0,180]]}),n=>({attributeName:["opacity","rotateXTo"],values:[[1,1],[-180,0]]}),n=>{},n=>({attributeName:["opacity"],values:[[0,0]]}),e,o)}popIn(e=Me,o=this.objects.length-1){this._predefinedAnimate(n=>{},n=>({attributeName:["translateTo","scaleTo","opacity"],values:[[[0,0],[0,0]],[.8,1],[0,1]]}),n=>{},n=>({attributeName:["opacity"],values:[[0,0]]}),e,o)}popOut(e=Me,o=this.objects.length-1){this._predefinedAnimate(n=>{},n=>({attributeName:["translateTo","scaleTo","opacity"],values:[[[0,0],[0,0]],[1,1.2],[1,0]]}),n=>{},n=>({attributeName:["opacity"],values:[[0,0]]}),e,o)}rotate(e=Me,o=this.objects.length-1){Object.assign(e,{keyTimes:[0,1]});const n=e.degree??360;this._predefinedAnimate(i=>{},i=>({attributeName:["opacity","rotate"],values:[[1,1],[0,n]]}),i=>{},i=>({attributeName:["opacity"],values:[[0,0]]}),e,o)}}class rp{map;constructor(e,o=120.619585,n=31.299379,i=18){this.map=new T.Map(e),this.map.centerAndZoom(new T.LngLat(o,n),i)}}const ap=X({__name:"Icon.ce",props:{icon:{default:"mdi-light:home"},color:{default:V.colorPrimary}},setup(t){const e=t;return(o,n)=>(D(),B("span",{class:"icon",style:R(["color: "+o.color])},[oe(le(ll),{icon:e.icon,color:o.color},null,8,["icon","color"])],4))}}),lp=`.icon[data-v-b2d9b612]{display:inline-flex;justify-content:center;align-items:center;cursor:pointer;font-size:1em}
48
- `,ee=(t,e)=>{const o=t.__vccOpts||t;for(const[n,i]of e)o[n]=i;return o},_l=ee(ap,[["styles",[lp]],["__scopeId","data-v-b2d9b612"]]),cp=X({__name:"Icon",props:{icon:{default:"mdi-light:home"},color:{default:V.colorPrimary}},setup(t){const e=t;return(o,n)=>(D(),B("span",{class:"icon",style:R(["color: "+o.color])},[oe(le(ll),{icon:e.icon,color:o.color},null,8,["icon","color"])],4))}}),ov="",et=ee(cp,[["__scopeId","data-v-8789b4ce"]]),is=ee(X({customOptions:{},inheritAttrs:!0,__name:"Button.ce",props:{label:{},icon:{},iconPosition:{default:"left"},isDisabled:{type:Boolean,default:!1},height:{default:"44px"},padding:{default:"20px"},fontSize:{default:"14px"},borderRadius:{default:"4px"},stylePattern:{default:"fullfilled"},borderColor:{},bgColor:{},fontColor:{}},emits:["ceClick","click"],setup(t,{expose:e,emit:o}){const n=t,i=o,s=L();let r,a;const l=L(n.borderColor),c=L(n.bgColor),d=L(n.fontColor);function f(){switch(n.stylePattern){case"outline":r=r??n.borderColor??V.colorPrimary,a=a??n.bgColor??V.colorGrayFF,l.value=l.value??V.colorPrimary,c.value=c.value??V.colorGrayFF,d.value=d.value??V.colorPrimary;break;default:r=r??n.borderColor??V.colorPrimary,a=a??n.bgColor??V.colorPrimary,l.value=l.value??V.colorPrimary,c.value=c.value??V.colorPrimary,d.value=d.value??V.colorGrayFF;break}}f();const u=L(n.isDisabled?"0.6":"1"),v=L(n.isDisabled?"not-allowed":"pointer");let b=!1;const y=()=>{n.isDisabled||(b=!0,l.value=ht(r,10),c.value=ht(a,10))},k=()=>{n.isDisabled||(b=!1,l.value=r,c.value=a)},A=()=>{n.isDisabled||(l.value=ht(r,-10),c.value=ht(a,-10),setTimeout(()=>{b?y():k()},150),i("ceClick"),i("click"))};return e({wrapper:s}),($,z)=>(D(),B("div",{ref_key:"wrapper",ref:s,class:"button",style:R([`opacity: ${u.value}`,`border: 1px solid ${l.value}`,`border-radius: ${n.borderRadius}`,`background-color: ${c.value}`,`color: ${d.value}`,`height: ${n.height}`,`line-height: ${n.height}`,`font-size: ${n.fontSize}`,`cursor: ${v.value}`]),onMouseover:y,onMouseleave:k,onClick:A},[h("label",{class:"label truncate",style:R({padding:"0 "+$.padding,cursor:v.value})},[ue($.$slots,"default",{},()=>[$.icon&&$.iconPosition==="left"?(D(),_e(et,{key:0,icon:$.icon,color:d.value,style:R({marginRight:le(V).gap4,cursor:v.value})},null,8,["icon","color","style"])):fe("",!0),h("span",{style:R({cursor:v.value})},Oe($.label),5),$.icon&&$.iconPosition==="right"?(D(),_e(et,{key:1,icon:$.icon,color:d.value,style:R({marginLeft:le(V).gap4,cursor:v.value})},null,8,["icon","color","style"])):fe("",!0)],!0)],4)],36))}}),[["styles",[`.button[data-v-18fca6ef]{box-sizing:border-box;display:inline-flex;justify-content:center;align-items:center;z-index:0}.label[data-v-18fca6ef]{display:inline-flex;justify-content:center;align-items:center}
49
- `]],["__scopeId","data-v-18fca6ef"]]),sv="",up={id:"page"},dp=ee(X({__name:"MobileLayout.ce",props:{header:{type:Boolean,default:!0},footer:{type:Boolean,default:!0},left:{type:Boolean,default:!1},right:{type:Boolean,default:!1},designWidth:{default:750}},emits:["triggerHeader","triggerFooter","triggerLeft","triggerRight"],setup(t,{expose:e,emit:o}){const n=t;Qf(n.designWidth);const i=o,s=L(),r=L(),a=L(),l=L(),c=L("0");se(s,(M,I)=>{typeof M<"u"&&M!==I&&(c.value=pt(s.value).css("height"))});const d=L("0");se(r,(M,I)=>{typeof M<"u"&&M!==I&&(d.value=pt(r.value).css("height"))});const f=L("0");se(a,(M,I)=>{typeof M<"u"&&M!==I&&(f.value=pt(a.value).css("width"))});const u=L("0");se(l,(M,I)=>{typeof M<"u"&&M!==I&&(u.value=pt(l.value).css("width"))}),window.addEventListener("orientationchange"in window?"orientationchange":"resize",()=>{c.value=pt(s.value).css("height"),d.value=pt(r.value).css("height"),f.value=pt(a.value).css("width"),u.value=pt(l.value).css("width")},!1);const v=new ns;let b=L(n.header);const y=()=>{s.value&&(v.fromDOM([s.value]),v.toCSS("slideDown",{easeName:"ease-in",dur:150,direction:b.value?"reverse":"normal"}),b.value=!b.value,i("triggerHeader",b.value))};let k=L(n.footer);const A=()=>{r.value&&(v.fromDOM([r.value]),v.toCSS("slideUp",{easeName:"ease-in",dur:150,direction:k.value?"reverse":"normal"}),k.value=!k.value,i("triggerFooter",k.value))};let $=L(n.left);const z=()=>{a.value&&(v.fromDOM([a.value]),v.toCSS("slideRight",{easeName:"ease-in",dur:150,direction:$.value?"reverse":"normal"}),$.value=!$.value,i("triggerLeft",$.value))};let G=L(n.right);return e({triggerHeader:y,triggerFooter:A,triggerLeft:z,triggerRight:()=>{l.value&&(v.fromDOM([l.value]),v.toCSS("slideLeft",{easeName:"ease-in",dur:150,direction:G.value?"reverse":"normal"}),G.value=!G.value,i("triggerRight",G.value))}}),(M,I)=>(D(),B("div",up,[h("header",{id:"header",ref_key:"refHeader",ref:s,style:R({transform:M.header?"translate(0, 0)":`translate(0, -${c.value})`})},[ue(M.$slots,"header",{},void 0,!0)],4),h("div",{id:"main",style:R({paddingTop:le(b)?c.value:0,paddingBottom:le(k)?d.value:0})},[ue(M.$slots,"main",{},void 0,!0)],4),h("footer",{id:"footer",ref_key:"refFooter",ref:r,style:R({transform:M.footer?"translate(0, 0)":`translate(0, ${d.value})`})},[ue(M.$slots,"footer",{},void 0,!0)],4),h("div",{id:"left",ref_key:"refLeft",ref:a,style:R({transform:M.left?"translate(0, 0)":`translate(-${f.value}, 0)`})},[ue(M.$slots,"left",{},void 0,!0)],4),h("div",{id:"right",ref_key:"refRight",ref:l,style:R({transform:M.right?"translate(0, 0)":`translate(${u.value}, 0)`})},[ue(M.$slots,"right",{},void 0,!0)],4)]))}}),[["styles",[`#page[data-v-b1a4c34e]{width:100%;height:100%;position:relative;overflow:hidden;display:flex;flex-direction:column}#header[data-v-b1a4c34e]{position:absolute;left:0;top:0;z-index:200;width:100%}#footer[data-v-b1a4c34e]{position:absolute;left:0;bottom:0;z-index:200;width:100%}#main[data-v-b1a4c34e]{flex:1 1 auto;overflow-y:scroll;display:flex;flex-direction:column}#main[data-v-b1a4c34e]>:nth-child(1){flex:1 1 auto}#left[data-v-b1a4c34e]{position:absolute;left:0;top:0;z-index:200;height:100%}#right[data-v-b1a4c34e]{position:absolute;right:0;top:0;z-index:200;height:100%}
50
- `]],["__scopeId","data-v-b1a4c34e"]]),fp={class:"content-fixed",style:{position:"fixed","z-index":"2001",inset:"0","overflow-y":"auto"}},pp={class:"content-relative",style:{position:"relative",width:"100%",height:"100%"}},hp=X({customOptions:{},inheritAttrs:!0,__name:"Overlay.ce",props:{visible:{type:Boolean},bgColor:{default:yl(V.colorGray0,.25)}},setup(t,{expose:e,emit:o}){const n=t;function i(s){s?(document.documentElement.style.overflow="hidden",document.body.style.overflow="hidden"):(document.documentElement.style.overflow="",document.body.style.overflow="")}return se(()=>n.visible,()=>{i(n.visible)},{immediate:!0}),e({}),(s,r)=>s.visible?(D(),B("div",{key:0,class:"overlay",style:R([{position:"fixed","z-index":"2000",inset:"0"},["background-color: "+n.bgColor]])},[h("div",fp,[h("div",pp,[ue(s.$slots,"default",{},void 0,!0)])])],4)):fe("",!0)}}),ss=ee(hp,[["styles",[""]],["__scopeId","data-v-d5a65c1f"]]),mp={class:"content-fixed",style:{position:"fixed","z-index":"2001",inset:"0","overflow-y":"auto"}},vp={class:"content-relative",style:{position:"relative",width:"100%",height:"100%"}},gp=X({customOptions:{},inheritAttrs:!0,__name:"Overlay",props:{visible:{type:Boolean},bgColor:{default:yl(V.colorGray0,.25)}},setup(t,{expose:e,emit:o}){const n=t;function i(s){s?(document.documentElement.style.overflow="hidden",document.body.style.overflow="hidden"):(document.documentElement.style.overflow="",document.body.style.overflow="")}return se(()=>n.visible,()=>{i(n.visible)},{immediate:!0}),e({}),(s,r)=>s.visible?(D(),B("div",{key:0,class:"overlay",style:R([{position:"fixed","z-index":"2000",inset:"0"},["background-color: "+n.bgColor]])},[h("div",mp,[h("div",vp,[ue(s.$slots,"default",{},void 0,!0)])])],4)):fe("",!0)}}),cv="",Ut=ee(gp,[["__scopeId","data-v-00083274"]]),to=ee(X({customOptions:{Overlay:Ut},inheritAttrs:!0,__name:"Pop.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!0},directionFrom:{default:"bottom"},openDurTime:{default:200},closeDurTime:{default:150}},emits:["open","close"],setup(t,{expose:e,emit:o}){const n=t,i=o,s=L();let r;const a=Fe({}),l=Fe({});se(()=>n.directionFrom,()=>{switch(n.directionFrom){case"absolute":r="",a.display="block";break;case"top":r="slideDown",a.display="block",l.width="100%",l.top="0",l.left="0";break;case"left":r="slideRight",a.display="block",l.height="100%",l.top="0",l.left="0";break;case"right":r="slideLeft",a.display="block",l.height="100%",l.top="0",l.right="0";break;case"bottom":r="slideUp",a.display="block",l.width="100%",l.bottom="0",l.left="0";break;case"center":default:r="popIn",a.display="flex",a.justifyContent="center",a.alignItems="center";break}},{immediate:!0});const c=new ns,d=(y=!0)=>{r&&(y?se(s,()=>{s.value&&(c.fromDOM(s.value),c.toCSS(r,{easeName:"ease",dur:n.openDurTime}))},{once:!0}):c.toCSS(r,{easeName:"ease",dur:n.closeDurTime,direction:"reverse"}))},f=L(!1);function u(y){y.target.contains(s.value)&&n.closeWhenClickOverlay&&b()}function v(){f.value=!0,d(!0),i("open")}function b(){d(!1),i("close"),setTimeout(()=>{f.value=!1},n.closeDurTime)}return e({open:v,close:b}),(y,k)=>(D(),_e(Ut,{visible:f.value},{default:Ce(()=>[h("div",{class:"pop-parent",style:R([{position:"relative",width:"100%",height:"100%"},a]),onClick:u},[h("div",{ref_key:"pop",ref:s,class:"pop",style:R([{position:"absolute"},l])},[ue(y.$slots,"default",{},void 0,!0)],4)],4)]),_:3},8,["visible"]))}}),[["styles",[""]],["__scopeId","data-v-4aaf6547"]]),yp=X({customOptions:{Overlay:Ut},inheritAttrs:!0,__name:"Pop",props:{closeWhenClickOverlay:{type:Boolean,default:!0},directionFrom:{default:"bottom"},openDurTime:{default:200},closeDurTime:{default:150}},emits:["open","close"],setup(t,{expose:e,emit:o}){const n=t,i=o,s=L();let r;const a=Fe({}),l=Fe({});se(()=>n.directionFrom,()=>{switch(n.directionFrom){case"absolute":r="",a.display="block";break;case"top":r="slideDown",a.display="block",l.width="100%",l.top="0",l.left="0";break;case"left":r="slideRight",a.display="block",l.height="100%",l.top="0",l.left="0";break;case"right":r="slideLeft",a.display="block",l.height="100%",l.top="0",l.right="0";break;case"bottom":r="slideUp",a.display="block",l.width="100%",l.bottom="0",l.left="0";break;case"center":default:r="popIn",a.display="flex",a.justifyContent="center",a.alignItems="center";break}},{immediate:!0});const c=new ns,d=(y=!0)=>{r&&(y?se(s,()=>{s.value&&(c.fromDOM(s.value),c.toCSS(r,{easeName:"ease",dur:n.openDurTime}))},{once:!0}):c.toCSS(r,{easeName:"ease",dur:n.closeDurTime,direction:"reverse"}))},f=L(!1);function u(y){y.target.contains(s.value)&&n.closeWhenClickOverlay&&b()}function v(){f.value=!0,d(!0),i("open")}function b(){d(!1),i("close"),setTimeout(()=>{f.value=!1},n.closeDurTime)}return e({open:v,close:b}),(y,k)=>(D(),_e(Ut,{visible:f.value},{default:Ce(()=>[h("div",{class:"pop-parent",style:R([{position:"relative",width:"100%",height:"100%"},a]),onClick:u},[h("div",{ref_key:"pop",ref:s,class:"pop",style:R([{position:"absolute"},l])},[ue(y.$slots,"default",{},void 0,!0)],4)],4)]),_:3},8,["visible"]))}}),fv="",ze=ee(yp,[["__scopeId","data-v-0fad8ec7"]]),bp=X({customOptions:{},inheritAttrs:!0,__name:"Button",props:{label:{},icon:{},iconPosition:{default:"left"},isDisabled:{type:Boolean,default:!1},height:{default:"44px"},padding:{default:"20px"},fontSize:{default:"14px"},borderRadius:{default:"4px"},stylePattern:{default:"fullfilled"},borderColor:{},bgColor:{},fontColor:{}},emits:["ceClick","click"],setup(t,{expose:e,emit:o}){const n=t,i=o,s=L();let r,a;const l=L(n.borderColor),c=L(n.bgColor),d=L(n.fontColor);function f(){switch(n.stylePattern){case"outline":r=r??n.borderColor??V.colorPrimary,a=a??n.bgColor??V.colorGrayFF,l.value=l.value??V.colorPrimary,c.value=c.value??V.colorGrayFF,d.value=d.value??V.colorPrimary;break;default:r=r??n.borderColor??V.colorPrimary,a=a??n.bgColor??V.colorPrimary,l.value=l.value??V.colorPrimary,c.value=c.value??V.colorPrimary,d.value=d.value??V.colorGrayFF;break}}f();const u=L(n.isDisabled?"0.6":"1"),v=L(n.isDisabled?"not-allowed":"pointer");let b=!1;const y=()=>{n.isDisabled||(b=!0,l.value=ht(r,10),c.value=ht(a,10))},k=()=>{n.isDisabled||(b=!1,l.value=r,c.value=a)},A=()=>{n.isDisabled||(l.value=ht(r,-10),c.value=ht(a,-10),setTimeout(()=>{b?y():k()},150),i("ceClick"),i("click"))};return e({wrapper:s}),($,z)=>(D(),B("div",{ref_key:"wrapper",ref:s,class:"button",style:R([`opacity: ${u.value}`,`border: 1px solid ${l.value}`,`border-radius: ${n.borderRadius}`,`background-color: ${c.value}`,`color: ${d.value}`,`height: ${n.height}`,`line-height: ${n.height}`,`font-size: ${n.fontSize}`,`cursor: ${v.value}`]),onMouseover:y,onMouseleave:k,onClick:A},[h("label",{class:"label truncate",style:R({padding:"0 "+$.padding,cursor:v.value})},[ue($.$slots,"default",{},()=>[$.icon&&$.iconPosition==="left"?(D(),_e(et,{key:0,icon:$.icon,color:d.value,style:R({marginRight:le(V).gap4,cursor:v.value})},null,8,["icon","color","style"])):fe("",!0),h("span",{style:R({cursor:v.value})},Oe($.label),5),$.icon&&$.iconPosition==="right"?(D(),_e(et,{key:1,icon:$.icon,color:d.value,style:R({marginLeft:le(V).gap4,cursor:v.value})},null,8,["icon","color","style"])):fe("",!0)],!0)],4)],36))}}),pv="",He=ee(bp,[["__scopeId","data-v-bfabd99a"]]),_p={class:"dialog-wrap"},xp={class:"dialog"},wp={key:0,class:"title"},Ep={key:0,class:"title-inner truncate"},Cp={class:"custom-content"},kp={key:1,class:"btns"},rs=ee(X({customOptions:{Overlay:Ut,Pop:ze,Icon:et,Button:He},inheritAttrs:!0,__name:"Dialog.ce",props:{title:{default:"通知"},content:{default:"..."},showTitle:{type:Boolean,default:!0},showClose:{type:Boolean,default:!1},showCancel:{type:Boolean,default:!1},showConfirm:{type:Boolean,default:!0},closeWhenClickOverlay:{type:Boolean,default:!1},openDurTime:{default:200},closeDurTime:{default:150}},emits:["open","close","cancel","confirm"],setup(t,{expose:e,emit:o}){const n=t,i=o,s=L();function r(){s.value.open(),i("open")}function a(){s.value.close(),i("close")}function l(){a(),i("cancel")}function c(){a(),i("confirm")}return e({open:r,close:a}),(d,f)=>(D(),_e(ze,{ref_key:"popRef",ref:s,directionFrom:"center",closeWhenClickOverlay:n.closeWhenClickOverlay,openDurTime:n.openDurTime,closeDurTime:n.closeDurTime},{default:Ce(()=>[h("div",_p,[h("div",xp,[d.showTitle||d.showClose?(D(),B("div",wp,[d.showTitle?(D(),B("div",Ep,Oe(d.title),1)):fe("",!0),d.showClose?(D(),_e(et,{key:1,class:"close",icon:"ic:baseline-close",color:le(V).colorGrayCC,onClick:a},null,8,["color"])):fe("",!0)])):fe("",!0),h("div",Cp,[ue(d.$slots,"default",{},()=>[dt(Oe(d.content),1)],!0)]),d.showCancel||d.showConfirm?(D(),B("div",kp,[d.showCancel?(D(),_e(He,{key:0,onClick:l,class:"btn",bgColor:le(V).colorGrayE6,borderColor:le(V).colorGrayE6,fontColor:le(V).colorGray3,borderRadius:"0"},{default:Ce(()=>[dt(" 取消 ")]),_:1},8,["bgColor","borderColor","fontColor"])):fe("",!0),d.showConfirm?(D(),_e(He,{key:1,onClick:c,class:"btn",borderRadius:"0"},{default:Ce(()=>[dt(" 确定 ")]),_:1})):fe("",!0)])):fe("",!0)])])]),_:3},8,["closeWhenClickOverlay","openDurTime","closeDurTime"]))}}),[["styles",[`.dialog-wrap[data-v-98fe6558]{display:flex;justify-content:center;align-items:center}.dialog[data-v-98fe6558]{border-radius:8px;background-color:#fff;min-width:20em;max-width:50%;overflow:hidden}.title[data-v-98fe6558]{position:relative;font-size:20px;min-height:20px;margin-top:1em}.title-inner[data-v-98fe6558]{font-weight:700;min-height:20px;padding:0 2em;text-align:center}.close[data-v-98fe6558]{position:absolute;top:0;right:0;width:2em;height:100%;font-size:1.2em}.custom-content[data-v-98fe6558]{font-size:16px;padding:1em;word-break:break-all}.btns[data-v-98fe6558]{display:flex;justify-content:center}.btn[data-v-98fe6558]{flex:1 1 auto;border-radius:0}
51
- `]],["__scopeId","data-v-98fe6558"]]),Np=X({__name:"SVGLoading.ce",props:{width:{default:"4em"},color:{default:V.colorPrimary}},setup(t){const e=t;return(o,n)=>(D(),B("svg",{viewBox:"25 25 50 50",style:R(["width: "+e.width])},[h("circle",{cx:"50",cy:"50",r:"20",style:R(["stroke: "+e.color])},null,4)],4))}}),Op=ee(Np,[["styles",[`svg[data-v-98779112]{transform-origin:center;animation:rotate-98779112 2s linear infinite}circle[data-v-98779112]{fill:none;stroke-width:3;stroke-dasharray:1,200;stroke-dashoffset:0;stroke-linecap:round;animation:dash-98779112 1.5s ease-in-out infinite}@keyframes rotate-98779112{to{transform:rotate(360deg)}}@keyframes dash-98779112{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,200;stroke-dashoffset:-35px}to{stroke-dashoffset:-125px}}
52
- `]],["__scopeId","data-v-98779112"]]),Sp={class:"dialog-wrap"},$p={class:"dialog"},Tp={key:0,class:"title"},Dp={key:0,class:"title-inner truncate"},Pp={class:"custom-content"},Lp={key:1,class:"btns"},Vp=X({customOptions:{Overlay:Ut,Pop:ze,Icon:et,Button:He},inheritAttrs:!0,__name:"Dialog",props:{title:{default:"通知"},content:{default:"..."},showTitle:{type:Boolean,default:!0},showClose:{type:Boolean,default:!1},showCancel:{type:Boolean,default:!1},showConfirm:{type:Boolean,default:!0},closeWhenClickOverlay:{type:Boolean,default:!1},openDurTime:{default:200},closeDurTime:{default:150}},emits:["open","close","cancel","confirm"],setup(t,{expose:e,emit:o}){const n=t,i=o,s=L();function r(){s.value.open(),i("open")}function a(){s.value.close(),i("close")}function l(){a(),i("cancel")}function c(){a(),i("confirm")}return e({open:r,close:a}),(d,f)=>(D(),_e(ze,{ref_key:"popRef",ref:s,directionFrom:"center",closeWhenClickOverlay:n.closeWhenClickOverlay,openDurTime:n.openDurTime,closeDurTime:n.closeDurTime},{default:Ce(()=>[h("div",Sp,[h("div",$p,[d.showTitle||d.showClose?(D(),B("div",Tp,[d.showTitle?(D(),B("div",Dp,Oe(d.title),1)):fe("",!0),d.showClose?(D(),_e(et,{key:1,class:"close",icon:"ic:baseline-close",color:le(V).colorGrayCC,onClick:a},null,8,["color"])):fe("",!0)])):fe("",!0),h("div",Pp,[ue(d.$slots,"default",{},()=>[dt(Oe(d.content),1)],!0)]),d.showCancel||d.showConfirm?(D(),B("div",Lp,[d.showCancel?(D(),_e(He,{key:0,onClick:l,class:"btn",bgColor:le(V).colorGrayE6,borderColor:le(V).colorGrayE6,fontColor:le(V).colorGray3,borderRadius:"0"},{default:Ce(()=>[dt(" 取消 ")]),_:1},8,["bgColor","borderColor","fontColor"])):fe("",!0),d.showConfirm?(D(),_e(He,{key:1,onClick:c,class:"btn",borderRadius:"0"},{default:Ce(()=>[dt(" 确定 ")]),_:1})):fe("",!0)])):fe("",!0)])])]),_:3},8,["closeWhenClickOverlay","openDurTime","closeDurTime"]))}}),gv="",xl=ee(Vp,[["__scopeId","data-v-002ae342"]]),Ip=X({__name:"SVGLoading",props:{width:{default:"4em"},color:{default:V.colorPrimary}},setup(t){const e=t;return(o,n)=>(D(),B("svg",{viewBox:"25 25 50 50",style:R(["width: "+e.width])},[h("circle",{cx:"50",cy:"50",r:"20",style:R(["stroke: "+e.color])},null,4)],4))}}),yv="",wl=ee(Ip,[["__scopeId","data-v-29f8de14"]]),Mp={class:"loading"},Ap={class:"icon"},Rp={key:0,class:"content"},El=ee(X({customOptions:{Overlay:Ut,Pop:ze,Dialog:xl,SVGLoading:wl},inheritAttrs:!0,__name:"DialogLoading.ce",props:{content:{},closeWhenClickOverlay:{type:Boolean,default:!1},openDurTime:{default:200},closeDurTime:{default:150}},emits:["open","close"],setup(t,{expose:e,emit:o}){const n=t,i=o,s=L();function r(){s.value.open(),i("open")}function a(){s.value.close(),i("close")}return e({open:r,close:a}),(l,c)=>(D(),_e(xl,{ref_key:"dialogRef",ref:s,showConfirm:!1,showTitle:!1,closeWhenClickOverlay:n.closeWhenClickOverlay,openDurTime:n.openDurTime,closeDurTime:n.closeDurTime},{default:Ce(()=>[h("div",Mp,[h("div",Ap,[ue(l.$slots,"default",{},()=>[oe(wl)],!0)]),l.content?(D(),B("div",Rp,Oe(l.content),1)):fe("",!0)])]),_:3},8,["closeWhenClickOverlay","openDurTime","closeDurTime"]))}}),[["styles",[`.loading[data-v-f95be0da]{display:flex;flex-direction:column;justify-content:center;align-items:center}.icon[data-v-f95be0da]{padding:2em 0}.content[data-v-f95be0da]{font-size:1em;margin-top:-1em;margin-bottom:1em}
53
- `]],["__scopeId","data-v-f95be0da"]]),jp=["onClick","value"],Fp=ee(X({customOptions:{Icon:et,Button:He},__name:"Select.ce",props:{options:{},initIndex:{default:0},fontSize:{default:"14px"}},emits:["change"],setup(t,{emit:e}){const o=t,n=e,i=function(){return{"--select-option-bg-color":V.colorGrayFF,"--select-option-bg-color-hover":V.colorGrayF5}},s=L(!1),r=L(o.initIndex);se(r,function(){n("change",o.options[r.value])});function a(){s.value=!s.value}function l(c){r.value=c,s.value=!1}return(c,d)=>(D(),B("div",{class:"wrap",style:R(["font-size:"+c.fontSize])},[h("div",{onClick:a},[ue(c.$slots,"button",{selectedIndex:r.value},()=>[oe(He,{icon:"carbon:chevron-sort",iconPosition:"right",label:c.options[r.value],style:{width:"100%"}},null,8,["label"])],!0)]),hi(h("div",{class:"options",style:R({border:"1px solid "+le(V).colorGrayCC})},[(D(!0),B(be,null,Xt(c.options,(f,u)=>(D(),B("div",{onClick:v=>l(u),class:"option",key:u,value:u,style:R({borderTop:(u==0?"0":"1px")+" solid "+le(V).colorGrayCC})},[h("div",{class:"option-inner",style:i},[ue(c.$slots,"default",{item:f,index:u},()=>[h("span",null,Oe(f),1),u==r.value?(D(),_e(et,{key:0,icon:"mingcute:check-fill",class:"icon"})):fe("",!0)],!0)])],12,jp))),128))],4),[[xn,s.value]])],4))}}),[["styles",[`.wrap[data-v-fd1230c0]{display:inline-block;position:relative}.button[data-v-fd1230c0]{position:relative;width:100%;border-width:0;display:flex;justify-content:center;padding:0}.options[data-v-fd1230c0]{position:relative;width:100%;text-align:center;margin:0;padding:0;box-sizing:border-box}.option[data-v-fd1230c0]{cursor:pointer}.option-inner[data-v-fd1230c0]{padding:.5em 1em .5em .5em;display:flex;justify-content:center;align-items:center;position:relative;background-color:var(--select-option-bg-color)}.option-inner[data-v-fd1230c0]:hover{background-color:var(--select-option-bg-color-hover)}.icon[data-v-fd1230c0]{position:absolute;right:.5em;top:50%;transform:translateY(-50%)}
54
- `]],["__scopeId","data-v-fd1230c0"]]),zp=X({__name:"Switch.ce",props:{init:{type:Boolean,default:!1},width:{default:"52px"},height:{default:"32px"},padding:{default:"4px"},colorPrimary:{default:V.colorPrimary},colorBgOn:{default:V.colorGrayEF},colorBgOff:{default:V.colorGrayF5}},emits:["change"],setup(t,{emit:e}){const o=t;function n(v){const b=Rd("number",v);return{number:b.fullMatch?parseFloat(b.fullMatch):0,suffix:b.fullMatch?v.substring(b.matchIndex+b.fullMatch.length+1):""}}const i=n(o.width),s=n(o.height),r=n(o.padding),a=s.number-r.number*2+s.suffix,l=o.padding,c=i.number-n(l).number-n(a).number+i.suffix,d=e,f=L(o.init);se(f,function(){d("change",f.value)});function u(){f.value=!f.value}return(v,b)=>(D(),B("div",{class:"switch",onClick:u,style:R(["width: "+o.width,"height: "+o.height,"background-color: "+(f.value?o.colorBgOn:o.colorBgOff)])},[h("span",{class:"round",style:R(["width: "+a,"height: "+a,"background-color: "+(f.value?o.colorPrimary:le(ht)(o.colorPrimary,30)),"transform: translate("+(f.value?c:le(l))+", 0)"])},null,4)],4))}}),Hp=ee(zp,[["styles",[`.switch[data-v-6bad62b2]{position:relative;display:inline-flex;align-items:center;flex-shrink:0;cursor:pointer;border-radius:9999px;box-sizing:border-box;transition:all .2s cubic-bezier(.4,0,.2,1)}.round[data-v-6bad62b2]{pointer-events:none;display:inline-block;box-sizing:border-box;border-radius:9999px;transition:all .2s cubic-bezier(.4,0,.2,1)}
55
- `]],["__scopeId","data-v-6bad62b2"]]),Bp={class:"wrap"},Wp=["onClick"],Up=["stroke","fill"],Gp=["stroke","fill"],Kp=["stroke"],qp=X({customOptions:{},__name:"RadioGroup.ce",props:{options:{},initIndexs:{},isRounded:{type:Boolean,default:!0},isFullfilled:{type:Boolean,default:!1},colorPath:{default:V.colorPrimary},colorBg:{default:V.colorGrayFF},colorBorder:{default:V.colorGrayCC},fontSize:{default:V.fontSize14},itemWidth:{default:"20px"},itemPadding:{default:"10px"},labelPadding:{default:"2px"}},emits:["change"],setup(t,{emit:e}){const o=t,n=e,i=L(o.colorPath),s=L(o.colorBg),r=L(o.colorBorder);o.isFullfilled&&(i.value=o.colorBg,s.value=o.colorPath,r.value=o.colorPath);let a=L(o.initIndexs??0);se(a,function(){n("change",o.options[a.value])});const l=function(c){a.value=c};return(c,d)=>(D(),B("div",Bp,[(D(!0),B(be,null,Xt(c.options,(f,u)=>(D(),B("span",{class:"item",key:u,onClick:v=>l(u),style:R(["margin-left:"+(u>0?o.itemPadding:0)])},[ue(c.$slots,"default",{label:f,index:u},()=>[(D(),B("svg",{viewBox:"0 0 24 24",fill:"none",class:"icon",style:R(["margin-right:"+o.labelPadding,"width:"+o.itemWidth])},[o.isRounded?fe("",!0):(D(),B("rect",{key:0,x:"0",y:"0",width:"22",height:"22",stroke:r.value,"strke-width":"1",fill:s.value,"fill-opacity":1},null,8,Up)),o.isRounded?(D(),B("circle",{key:1,cx:"12",cy:"12",r:"11",stroke:r.value,"strke-width":"1",fill:s.value,"fill-opacity":1},null,8,Gp)):fe("",!0),hi(h("path",{d:"M7 13l3 3 7-7",stroke:i.value,"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Kp),[[xn,le(a)===u]])],4)),h("span",{style:R(["font-size:"+o.fontSize])},Oe(f),5)],!0)],12,Wp))),128))]))}}),Yp=ee(qp,[["styles",[`.wrap[data-v-9a00674d]{display:inline-block;position:relative}.item[data-v-9a00674d]{display:inline-flex;justify-content:flex-start;align-items:center;cursor:pointer}.icon[data-v-9a00674d]{flex:0 0 auto;box-sizing:border-box;display:inline-flex;justify-content:flex-start;align-items:center;transition:border-color .2s ease-in-out,background-color .2s ease-in-out}
56
- `]],["__scopeId","data-v-9a00674d"]]),Zp={class:"wrap"},Xp=["onClick"],Jp=["stroke","fill"],Qp=["stroke","fill"],eh=["stroke"],th=X({customOptions:{},__name:"CheckboxGroup.ce",props:{options:{},initIndexs:{},isRounded:{type:Boolean,default:!1},isFullfilled:{type:Boolean,default:!1},colorPath:{default:V.colorPrimary},colorBg:{default:V.colorGrayFF},colorBorder:{default:V.colorGrayCC},fontSize:{default:V.fontSize14},itemWidth:{default:"20px"},itemPadding:{default:"10px"},labelPadding:{default:"2px"}},emits:["change"],setup(t,{emit:e}){const o=t,n=e,i=L(o.colorPath),s=L(o.colorBg),r=L(o.colorBorder);o.isFullfilled&&(i.value=o.colorBg,s.value=o.colorPath,r.value=o.colorPath);let a=Fe(o.initIndexs??[0]);se(a,function(){n("change",a.map(c=>o.options[c]))});const l=function(c){const d=a.findIndex(f=>f===c);d>=0?a.splice(d,1):a.push(c)};return(c,d)=>(D(),B("div",Zp,[(D(!0),B(be,null,Xt(c.options,(f,u)=>(D(),B("span",{class:"item",key:u,onClick:v=>l(u),style:R(["margin-left:"+(u>0?o.itemPadding:0)])},[ue(c.$slots,"default",{label:f,index:u},()=>[(D(),B("svg",{viewBox:"0 0 24 24",fill:"none",class:"icon",style:R(["margin-right:"+o.labelPadding,"width:"+o.itemWidth])},[o.isRounded?fe("",!0):(D(),B("rect",{key:0,x:"0",y:"0",width:"22",height:"22",stroke:r.value,"strke-width":"1",fill:s.value,"fill-opacity":1},null,8,Jp)),o.isRounded?(D(),B("circle",{key:1,cx:"12",cy:"12",r:"11",stroke:r.value,"strke-width":"1",fill:s.value,"fill-opacity":1},null,8,Qp)):fe("",!0),hi(h("path",{d:"M7 13l3 3 7-7",stroke:i.value,"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,eh),[[xn,le(a).findIndex(v=>v===u)>=0]])],4)),h("span",{style:R(["font-size:"+o.fontSize])},Oe(f),5)],!0)],12,Xp))),128))]))}}),oh=ee(th,[["styles",[`.wrap[data-v-f418d0bb]{display:inline-block;position:relative}.item[data-v-f418d0bb]{display:inline-flex;justify-content:flex-start;align-items:center;cursor:pointer}.icon[data-v-f418d0bb]{flex:0 0 auto;box-sizing:border-box;display:inline-flex;justify-content:flex-start;align-items:center;transition:border-color .2s ease-in-out,background-color .2s ease-in-out}
57
- `]],["__scopeId","data-v-f418d0bb"]]),nh=(t=>(_o("data-v-b2152bcf"),t=t(),xo(),t))(()=>h("div",{style:{"background-color":"#ffffff"}},"popover-default-panel",-1)),as=ee(X({customOptions:{Pop:ze,Button:He},inheritAttrs:!0,__name:"Popover.ce",props:{gap:{default:10}},setup(t){const e=t,o=L(),n=L(),i=L(),s=Fe({left:"0",top:"0"});se(n,()=>{r()}),se(i,()=>{r()});function r(){if(!n.value||!i.value)return;const l=Ji(),c=n.value.getBoundingClientRect(),d=i.value.getBoundingClientRect(),f=d.width,u=d.height;let v=c.x+c.width+e.gap,b=c.y;v=Math.max(e.gap,Math.min(v,l.width-f-e.gap)),b=Math.max(e.gap,Math.min(b,l.height-u-e.gap)),s.left=`${v}px`,s.top=`${b}px`}function a(){o.value.open()}return(l,c)=>(D(),B(be,null,[h("div",{ref_key:"popoverButtonRef",ref:n,style:{display:"inline-block"},onClick:a},[ue(l.$slots,"button",{},()=>[oe(He,null,{default:Ce(()=>[dt("popover-default-button")]),_:1})],!0)],512),oe(ze,{ref_key:"popRef",ref:o,"direction-from":"absolute"},{default:Ce(()=>[h("div",{ref_key:"popoverPanelRef",ref:i,style:R([{display:"inline-block",position:"absolute"},s])},[ue(l.$slots,"panel",{},()=>[nh],!0)],4)]),_:3},512)],64))}}),[["styles",[""]],["__scopeId","data-v-b2152bcf"]]),ih=(t=>(_o("data-v-943bcc32"),t=t(),xo(),t))(()=>h("div",{style:{"background-color":"#ffffff"}},"popover-default-panel",-1)),sh=X({customOptions:{Pop:ze,Button:He},inheritAttrs:!0,__name:"Popover",props:{gap:{default:10}},setup(t){const e=t,o=L(),n=L(),i=L(),s=Fe({left:"0",top:"0"});se(n,()=>{r()}),se(i,()=>{r()});function r(){if(!n.value||!i.value)return;const l=Ji(),c=n.value.getBoundingClientRect(),d=i.value.getBoundingClientRect(),f=d.width,u=d.height;let v=c.x+c.width+e.gap,b=c.y;v=Math.max(e.gap,Math.min(v,l.width-f-e.gap)),b=Math.max(e.gap,Math.min(b,l.height-u-e.gap)),s.left=`${v}px`,s.top=`${b}px`}function a(){o.value.open()}return(l,c)=>(D(),B(be,null,[h("div",{ref_key:"popoverButtonRef",ref:n,style:{display:"inline-block"},onClick:a},[ue(l.$slots,"button",{},()=>[oe(He,null,{default:Ce(()=>[dt("popover-default-button")]),_:1})],!0)],512),oe(ze,{ref_key:"popRef",ref:o,"direction-from":"absolute"},{default:Ce(()=>[h("div",{ref_key:"popoverPanelRef",ref:i,style:R([{display:"inline-block",position:"absolute"},s])},[ue(l.$slots,"panel",{},()=>[ih],!0)],4)]),_:3},512)],64))}}),Tv="",Cl=ee(sh,[["__scopeId","data-v-943bcc32"]]),oo=(t,e=0,o=1)=>t>o?o:t<e?e:t,ke=(t,e=0,o=Math.pow(10,e))=>Math.round(o*t)/o,rh=t=>uh(ls(t)),ls=t=>(t[0]==="#"&&(t=t.substring(1)),t.length<6?{r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:t.length===4?ke(parseInt(t[3]+t[3],16)/255,2):1}:{r:parseInt(t.substring(0,2),16),g:parseInt(t.substring(2,4),16),b:parseInt(t.substring(4,6),16),a:t.length===8?ke(parseInt(t.substring(6,8),16)/255,2):1}),ah=t=>ch(lh(t)),kl=({h:t,s:e,v:o,a:n})=>{const i=(200-e)*o/100;return{h:ke(t),s:ke(i>0&&i<200?e*o/100/(i<=100?i:200-i)*100:0),l:ke(i/2),a:ke(n,2)}},cs=t=>{const{h:e,s:o,l:n}=kl(t);return`hsl(${e}, ${o}%, ${n}%)`},us=t=>{const{h:e,s:o,l:n,a:i}=kl(t);return`hsla(${e}, ${o}%, ${n}%, ${i})`},lh=({h:t,s:e,v:o,a:n})=>{t=t/360*6,e=e/100,o=o/100;const i=Math.floor(t),s=o*(1-e),r=o*(1-(t-i)*e),a=o*(1-(1-t+i)*e),l=i%6;return{r:ke([o,r,s,s,a,o][l]*255),g:ke([a,o,o,r,s,s][l]*255),b:ke([s,s,a,o,o,r][l]*255),a:ke(n,2)}},Vn=t=>{const e=t.toString(16);return e.length<2?"0"+e:e},ch=({r:t,g:e,b:o,a:n})=>{const i=n<1?Vn(ke(n*255)):"";return"#"+Vn(t)+Vn(e)+Vn(o)+i},uh=({r:t,g:e,b:o,a:n})=>{const i=Math.max(t,e,o),s=i-Math.min(t,e,o),r=s?i===t?(e-o)/s:i===e?2+(o-t)/s:4+(t-e)/s:0;return{h:ke(60*(r<0?r+6:r)),s:ke(i?s/i*100:0),v:ke(i/255*100),a:n}},Nl=(t,e)=>{if(t===e)return!0;for(const o in t)if(t[o]!==e[o])return!1;return!0},dh=(t,e)=>t.toLowerCase()===e.toLowerCase()?!0:Nl(ls(t),ls(e)),Ol={},Sl=t=>{let e=Ol[t];return e||(e=document.createElement("template"),e.innerHTML=t,Ol[t]=e),e},ds=(t,e,o)=>{t.dispatchEvent(new CustomEvent(e,{bubbles:!0,detail:o}))};let no=!1;const fs=t=>"touches"in t,fh=t=>no&&!fs(t)?!1:(no||(no=fs(t)),!0),$l=(t,e)=>{const o=fs(e)?e.touches[0]:e,n=t.el.getBoundingClientRect();ds(t.el,"move",t.getMove({x:oo((o.pageX-(n.left+window.pageXOffset))/n.width),y:oo((o.pageY-(n.top+window.pageYOffset))/n.height)}))},ph=(t,e)=>{const o=e.keyCode;o>40||t.xy&&o<37||o<33||(e.preventDefault(),ds(t.el,"move",t.getMove({x:o===39?.01:o===37?-.01:o===34?.05:o===33?-.05:o===35?1:o===36?-1:0,y:o===40?.01:o===38?-.01:0},!0)))};class ps{constructor(e,o,n,i){const s=Sl(`<div role="slider" tabindex="0" part="${o}" ${n}><div part="${o}-pointer"></div></div>`);e.appendChild(s.content.cloneNode(!0));const r=e.querySelector(`[part=${o}]`);r.addEventListener("mousedown",this),r.addEventListener("touchstart",this),r.addEventListener("keydown",this),this.el=r,this.xy=i,this.nodes=[r.firstChild,r]}set dragging(e){const o=e?document.addEventListener:document.removeEventListener;o(no?"touchmove":"mousemove",this),o(no?"touchend":"mouseup",this)}handleEvent(e){switch(e.type){case"mousedown":case"touchstart":if(e.preventDefault(),!fh(e)||!no&&e.button!=0)return;this.el.focus(),$l(this,e),this.dragging=!0;break;case"mousemove":case"touchmove":e.preventDefault(),$l(this,e);break;case"mouseup":case"touchend":this.dragging=!1;break;case"keydown":ph(this,e);break}}style(e){e.forEach((o,n)=>{for(const i in o)this.nodes[n].style.setProperty(i,o[i])})}}class hh extends ps{constructor(e){super(e,"hue",'aria-label="Hue" aria-valuemin="0" aria-valuemax="360"',!1)}update({h:e}){this.h=e,this.style([{left:`${e/360*100}%`,color:cs({h:e,s:100,v:100,a:1})}]),this.el.setAttribute("aria-valuenow",`${ke(e)}`)}getMove(e,o){return{h:o?oo(this.h+e.x*360,0,360):360*e.x}}}class mh extends ps{constructor(e){super(e,"saturation",'aria-label="Color"',!0)}update(e){this.hsva=e,this.style([{top:`${100-e.v}%`,left:`${e.s}%`,color:cs(e)},{"background-color":cs({h:e.h,s:100,v:100,a:1})}]),this.el.setAttribute("aria-valuetext",`Saturation ${ke(e.s)}%, Brightness ${ke(e.v)}%`)}getMove(e,o){return{s:o?oo(this.hsva.s+e.x*100,0,100):e.x*100,v:o?oo(this.hsva.v-e.y*100,0,100):Math.round(100-e.y*100)}}}const vh=':host{display:flex;flex-direction:column;position:relative;width:200px;height:200px;user-select:none;-webkit-user-select:none;cursor:default}:host([hidden]){display:none!important}[role=slider]{position:relative;touch-action:none;user-select:none;-webkit-user-select:none;outline:0}[role=slider]:last-child{border-radius:0 0 8px 8px}[part$=pointer]{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;display:flex;place-content:center center;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}[part$=pointer]::after{content:"";width:100%;height:100%;border-radius:inherit;background-color:currentColor}[role=slider]:focus [part$=pointer]{transform:translate(-50%,-50%) scale(1.1)}',gh="[part=hue]{flex:0 0 24px;background:linear-gradient(to right,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%)}[part=hue-pointer]{top:50%;z-index:2}",yh="[part=saturation]{flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,rgba(255,255,255,0));box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}[part=saturation-pointer]{z-index:3}",In=Symbol("same"),hs=Symbol("color"),Tl=Symbol("hsva"),ms=Symbol("update"),Dl=Symbol("parts"),Mn=Symbol("css"),An=Symbol("sliders");let bh=class extends HTMLElement{static get observedAttributes(){return["color"]}get[Mn](){return[vh,gh,yh]}get[An](){return[mh,hh]}get color(){return this[hs]}set color(e){if(!this[In](e)){const o=this.colorModel.toHsva(e);this[ms](o),this[hs]=e}}constructor(){super();const e=Sl(`<style>${this[Mn].join("")}</style>`),o=this.attachShadow({mode:"open"});o.appendChild(e.content.cloneNode(!0)),o.addEventListener("move",this),this[Dl]=this[An].map(n=>new n(o))}connectedCallback(){if(this.hasOwnProperty("color")){const e=this.color;delete this.color,this.color=e}else this.color||(this.color=this.colorModel.defaultColor)}attributeChangedCallback(e,o,n){const i=this.colorModel.fromAttr(n);this[In](i)||(this.color=i)}handleEvent(e){const o=this[Tl],n={...o,...e.detail};this[ms](n);let i;!Nl(n,o)&&!this[In](i=this.colorModel.fromHsva(n))&&(this[hs]=i,ds(this,"color-changed",{value:i}))}[In](e){return this.color&&this.colorModel.equal(e,this.color)}[ms](e){this[Tl]=e,this[Dl].forEach(o=>o.update(e))}};class _h extends ps{constructor(e){super(e,"alpha",'aria-label="Alpha" aria-valuemin="0" aria-valuemax="1"',!1)}update(e){this.hsva=e;const o=us({...e,a:0}),n=us({...e,a:1}),i=e.a*100;this.style([{left:`${i}%`,color:us(e)},{"--gradient":`linear-gradient(90deg, ${o}, ${n}`}]);const s=ke(i);this.el.setAttribute("aria-valuenow",`${s}`),this.el.setAttribute("aria-valuetext",`${s}%`)}getMove(e,o){return{a:o?oo(this.hsva.a+e.x):e.x}}}const xh=`[part=alpha]{flex:0 0 24px}[part=alpha]::after{display:block;content:"";position:absolute;top:0;left:0;right:0;bottom:0;border-radius:inherit;background-image:var(--gradient);box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}[part^=alpha]{background-color:#fff;background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><rect x="8" width="8" height="8"/><rect y="8" width="8" height="8"/></svg>')}[part=alpha-pointer]{top:50%}`;class wh extends bh{get[Mn](){return[...super[Mn],xh]}get[An](){return[...super[An],_h]}}const Eh={defaultColor:"#0001",toHsva:rh,fromHsva:ah,equal:dh,fromAttr:t=>t};class Ch extends wh{get colorModel(){return Eh}}class kh extends Ch{}customElements.define("hex-alpha-color-picker",kh);const Nh=X({customOptions:{Popover:Cl},__name:"ColorPicker.ce",props:{color:{default:V.colorPrimary}},emits:["change"],setup(t,{emit:e}){const o=t,n=e,i=L(o.color);se(i,(a,l)=>{a!==l&&n("change",a)});const s=L(),r=a=>{i.value=a.detail.value};return se(s,()=>{s.value&&(s.value.removeEventListener("color-changed",r),s.value.addEventListener("color-changed",r))}),(a,l)=>{const c=tu("hex-alpha-color-picker");return D(),_e(Cl,null,{button:Ce(()=>[ue(a.$slots,"default",{},()=>[h("span",{class:"button",style:R({backgroundColor:i.value})},null,4)],!0)]),panel:Ce(()=>[oe(c,{ref_key:"colorPickerRef",ref:s,color:i.value},null,8,["color"])]),_:3})}}}),Pl=ee(Nh,[["styles",[`.button[data-v-ccef37cf]{display:inline-block;vertical-align:middle;width:1em;height:1em;border-radius:.3em;cursor:pointer}
58
- `]],["__scopeId","data-v-ccef37cf"]]),Oh=`.resize-observer[data-v-5beaa9ca]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer[data-v-5beaa9ca] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}
59
- `,Sh={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!0},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},mounted(){this.$nextTick(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",Qi&&this.$el.appendChild(t),t.data="about:blank",Qi||this.$el.appendChild(t)},beforeDestroy(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("resize",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!Qi&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}},$h={class:"resize-observer",tabindex:"-1"};function Th(t,e,o,n,i,s){return D(),B("div",$h)}const Dh=ee(Sh,[["render",Th],["styles",[Oh]],["__scopeId","data-v-5beaa9ca"]]),Ph=()=>{const t=L(window.innerWidth),e=L(window.innerHeight),o=n=>{t.value=n.target.innerWidth,e.value=n.target.innerHeight};return vi(()=>window.addEventListener("resize",o)),ln(()=>window.removeEventListener("resize",o)),{width:t,height:e}},Lh=X({__name:"MapTianditu.ce",props:{mapKey:{default:"8261564c2f1435b76dc5991adad737e6"},mapContainerID:{default:"mapTiandituDiv"},mapWidth:{},mapHeight:{},mapZoom:{default:18},mapCenterLng:{default:120.619585},mapCenterLat:{default:31.299379}},emits:["click"],setup(t,{expose:e,emit:o}){const n=t,{width:i,height:s}=Ph(),r=L(n.mapWidth??i.value+"px"),a=L(n.mapHeight??s.value+"px");return se(i,(l,c)=>{l!=c&&!n.mapWidth&&(r.value=l+"px")}),se(s,(l,c)=>{l!=c&&!n.mapHeight&&(a.value=l+"px")}),vi(()=>{q.loadScript(`http://api.tianditu.gov.cn/api?v=4.0&tk=${n.mapKey}`,()=>{new rp(n.mapContainerID,n.mapCenterLng,n.mapCenterLat,n.mapZoom)},l=>{console.log("error",l)})}),e({}),(l,c)=>(D(),B("div",$i({class:"mapDivWrap"},l.$attrs,{style:{position:"relative",width:r.value,height:a.value}}),[ue(l.$slots,"default",{width:r.value,height:a.value})],16))}}),Vh=["fill"],Ih=["fill"],Mh=X({__name:"SVGCheck.ce",props:{width:{default:"10px"},color:{default:V.colorPrimary}},setup(t){const e=t;return(o,n)=>(D(),B("svg",{style:R(["width: "+e.width]),viewBox:"0 0 7 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[h("path",{d:"M0.153989 2.49994C-0.0513296 2.28468 -0.0513296 1.93567 0.153989 1.72041C0.359307 1.50514 0.692194 1.50514 0.897512 1.72041L3.12808 4.05902C3.3334 4.27428 3.3334 4.62329 3.12808 4.83855C2.92276 5.05382 2.58988 5.05382 2.38456 4.83855L0.153989 2.49994Z",fill:e.color},null,8,Vh),h("path",{d:"M6.10249 0.161447C6.30781 -0.0538159 6.64069 -0.0538157 6.84601 0.161447C7.05133 0.376711 7.05133 0.725721 6.84601 0.940984L3.12808 4.83855C2.92276 5.05382 2.58988 5.05382 2.38456 4.83855C2.17924 4.62329 2.17955 4.27439 2.38487 4.05913L6.10249 0.161447Z",fill:e.color},null,8,Ih)],4))}}),Ah=ee(Mh,[["styles",[`svg[data-v-8fe3f9fd]{transform-origin:center}
60
- `]],["__scopeId","data-v-8fe3f9fd"]]),Rh=["fill"],jh=["fill"],Fh=X({__name:"SVGCheck",props:{width:{default:"10px"},color:{default:V.colorPrimary}},setup(t){const e=t;return(o,n)=>(D(),B("svg",{style:R(["width: "+e.width]),viewBox:"0 0 7 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[h("path",{d:"M0.153989 2.49994C-0.0513296 2.28468 -0.0513296 1.93567 0.153989 1.72041C0.359307 1.50514 0.692194 1.50514 0.897512 1.72041L3.12808 4.05902C3.3334 4.27428 3.3334 4.62329 3.12808 4.83855C2.92276 5.05382 2.58988 5.05382 2.38456 4.83855L0.153989 2.49994Z",fill:e.color},null,8,Rh),h("path",{d:"M6.10249 0.161447C6.30781 -0.0538159 6.64069 -0.0538157 6.84601 0.161447C7.05133 0.376711 7.05133 0.725721 6.84601 0.940984L3.12808 4.83855C2.92276 5.05382 2.58988 5.05382 2.38456 4.83855C2.17924 4.62329 2.17955 4.27439 2.38487 4.05913L6.10249 0.161447Z",fill:e.color},null,8,jh)],4))}}),Lv="",Ll=ee(Fh,[["__scopeId","data-v-987aed3d"]]),vs=t=>(_o("data-v-85491020"),t=t(),xo(),t),zh=[vs(()=>h("path",{d:"M38,32.71a1.13,1.13,0,0,1-.8-.33L21.57,16.8a1.13,1.13,0,0,1,1.61-1.6L38.75,30.77a1.14,1.14,0,0,1-.8,1.94Z"},null,-1)),vs(()=>h("path",{d:"M22.38,32.71a1.17,1.17,0,0,1-.81-.33,1.15,1.15,0,0,1,0-1.61L37.15,15.2a1.13,1.13,0,1,1,1.6,1.6L23.18,32.38A1.13,1.13,0,0,1,22.38,32.71Z"},null,-1)),vs(()=>h("path",{d:"M18.68,3.79h-3.1l-15.64,20L15.33,43.45l.25.33H47.94v-40ZM3,23.79,16.73,6.3H45.3v35H16.73Z"},null,-1))],Hh=X({__name:"SVGCleanUp",props:{width:{default:"16px"},color:{default:V.colorPrimary}},setup(t){const e=t;return(o,n)=>(D(),B("svg",{style:R(["width: "+e.width]),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},zh,4))}}),Av="",io=ee(Hh,[["__scopeId","data-v-85491020"]]),Bh=["data-unactive"],Wh=["data-unactive"],Uh=["data-unactive"],Gh=["data-unactive"],Kh=["data-unactive"],qh=["data-unactive"],Yh=["data-unactive"],Zh=["data-unactive"],Xh=["data-unactive"],Jh=["data-unactive"],Qh=["data-unactive"],em=["data-unactive"],tm=["data-unactive"],om=["data-unactive"],nm=["data-unactive"],im=["data-unactive"],sm=["data-unactive"],rm=X({customOptions:{Pop:ze,SVGCleanUp:io},__name:"PlateKeyboard",props:{initPlates:{default:()=>[]},completePlateLength:{default:7}},emits:["open","close","plates"],setup(t,{expose:e,emit:o}){const n=t,i=o,s=L(),r=L(0),a=Fe([]);function l(){a.length==0?r.value=0:a.length==1?r.value=1:r.value=2,a.length>=n.completePlateLength&&d()}se(()=>[...n.initPlates],()=>{Po(a,n.initPlates),l()},{immediate:!0});const c=()=>{s.value.open(),i("open")},d=()=>{s.value.close(),i("close")},f=()=>{a.pop(),l(),i("plates",a)},u=v=>{if(v.target.dataset.unactive||"")return;let y=v.target.dataset.number;y&&(a.push(y),l(),i("plates",a))};return e({open:c,close:d}),(v,b)=>(D(),_e(ze,{ref_key:"popRef",ref:s,directionFrom:"bottom",closeWhenClickOverlay:!1},{default:Ce(()=>[h("div",{class:"popup-plate",style:R({paddingBottom:le(V).safeAreaBottom})},[h("div",null,[h("div",{onClick:d},"关闭")]),h("div",{class:U(["step",r.value==0?"":"hide"])},[h("div",{class:"popitem",onClick:u,"data-number":"京"}," 京 "),h("div",{class:"popitem",onClick:u,"data-number":"沪"}," 沪 "),h("div",{class:"popitem",onClick:u,"data-number":"津"}," 津 "),h("div",{class:"popitem",onClick:u,"data-number":"渝"}," 渝 "),h("div",{class:"popitem",onClick:u,"data-number":"黑"}," 黑 "),h("div",{class:"popitem",onClick:u,"data-number":"吉"}," 吉 "),h("div",{class:"popitem",onClick:u,"data-number":"辽"}," 辽 "),h("div",{class:"popitem",onClick:u,"data-number":"蒙"}," 蒙 "),h("div",{class:"popitem",onClick:u,"data-number":"冀"}," 冀 "),h("div",{class:"popitem",onClick:u,"data-number":"新"}," 新 "),h("div",{class:"popitem",onClick:u,"data-number":"甘"}," 甘 "),h("div",{class:"popitem",onClick:u,"data-number":"青"}," 青 "),h("div",{class:"popitem",onClick:u,"data-number":"陕"}," 陕 "),h("div",{class:"popitem",onClick:u,"data-number":"宁"}," 宁 "),h("div",{class:"popitem",onClick:u,"data-number":"豫"}," 豫 "),h("div",{class:"popitem",onClick:u,"data-number":"鲁"}," 鲁 "),h("div",{class:"popitem",onClick:u,"data-number":"晋"}," 晋 "),h("div",{class:"popitem",onClick:u,"data-number":"皖"}," 皖 "),h("div",{class:"popitem",onClick:u,"data-number":"鄂"}," 鄂 "),h("div",{class:"popitem",onClick:u,"data-number":"湘"}," 湘 "),h("div",{class:"popitem",onClick:u,"data-number":"苏"}," 苏 "),h("div",{class:"popitem",onClick:u,"data-number":"川"}," 川 "),h("div",{class:"popitem",onClick:u,"data-number":"云"}," 云 "),h("div",{class:"popitem",onClick:u,"data-number":"桂"}," 桂 "),h("div",{class:"popitem",onClick:u,"data-number":"藏"}," 藏 "),h("div",{class:"popitem",onClick:u,"data-number":"浙"}," 浙 "),h("div",{class:"popitem",onClick:u,"data-number":"赣"}," 赣 "),h("div",{class:"popitem",onClick:u,"data-number":"粤"}," 粤 "),h("div",{class:"popitem",onClick:u,"data-number":"闽"}," 闽 "),h("div",{class:"popitem",onClick:u,"data-number":"琼"}," 琼 "),h("div",{class:"popitem",onClick:u,"data-number":"贵"}," 贵 "),h("div",{class:"popitem popitem-clear",onClick:f},[oe(io,{width:"16px"})])],2),h("div",{class:U(["step",r.value!=0?"":"hide"])},[h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"1","data-unactive":r.value!=2?"unactive":""}," 1 ",10,Bh),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"2","data-unactive":r.value!=2?"unactive":""}," 2 ",10,Wh),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"3","data-unactive":r.value!=2?"unactive":""}," 3 ",10,Uh),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"4","data-unactive":r.value!=2?"unactive":""}," 4 ",10,Gh),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"5","data-unactive":r.value!=2?"unactive":""}," 5 ",10,Kh),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"6","data-unactive":r.value!=2?"unactive":""}," 6 ",10,qh),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"7","data-unactive":r.value!=2?"unactive":""}," 7 ",10,Yh),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"8","data-unactive":r.value!=2?"unactive":""}," 8 ",10,Zh),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"9","data-unactive":r.value!=2?"unactive":""}," 9 ",10,Xh),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"0","data-unactive":r.value!=2?"unactive":""}," 0 ",10,Jh),h("div",{class:"popitem",onClick:u,"data-number":"A"}," A "),h("div",{class:"popitem",onClick:u,"data-number":"B"}," B "),h("div",{class:"popitem",onClick:u,"data-number":"C"}," C "),h("div",{class:"popitem",onClick:u,"data-number":"D"}," D "),h("div",{class:"popitem",onClick:u,"data-number":"E"}," E "),h("div",{class:"popitem",onClick:u,"data-number":"F"}," F "),h("div",{class:"popitem",onClick:u,"data-number":"G"}," G "),h("div",{class:"popitem",onClick:u,"data-number":"H"}," H "),h("div",{class:"popitem",onClick:u,"data-number":"J"}," J "),h("div",{class:"popitem",onClick:u,"data-number":"K"}," K "),h("div",{class:"popitem",onClick:u,"data-number":"L"}," L "),h("div",{class:"popitem",onClick:u,"data-number":"M"}," M "),h("div",{class:"popitem",onClick:u,"data-number":"N"}," N "),h("div",{class:"popitem",onClick:u,"data-number":"P"}," P "),h("div",{class:"popitem",onClick:u,"data-number":"Q"}," Q "),h("div",{class:"popitem",onClick:u,"data-number":"R"}," R "),h("div",{class:"popitem",onClick:u,"data-number":"S"}," S "),h("div",{class:"popitem",onClick:u,"data-number":"T"}," T "),h("div",{class:"popitem",onClick:u,"data-number":"U"}," U "),h("div",{class:"popitem",onClick:u,"data-number":"V"}," V "),h("div",{class:"popitem",onClick:u,"data-number":"W"}," W "),h("div",{class:"popitem",onClick:u,"data-number":"X"}," X "),h("div",{class:"popitem",onClick:u,"data-number":"Y"}," Y "),h("div",{class:"popitem",onClick:u,"data-number":"Z"}," Z "),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"港","data-unactive":r.value!=2?"unactive":""}," 港 ",10,Qh),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"澳","data-unactive":r.value!=2?"unactive":""}," 澳 ",10,em),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"学","data-unactive":r.value!=2?"unactive":""}," 学 ",10,tm),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"警","data-unactive":r.value!=2?"unactive":""}," 警 ",10,om),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"使","data-unactive":r.value!=2?"unactive":""}," 使 ",10,nm),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"领","data-unactive":r.value!=2?"unactive":""}," 领 ",10,im),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"挂","data-unactive":r.value!=2?"unactive":""}," 挂 ",10,sm),h("div",{class:"popitem popitem-clear",onClick:f},[oe(io,{width:"16px"})])],2)],4)]),_:1},512))}}),Rv="",Vl=ee(rm,[["__scopeId","data-v-6e8b6f81"]]),Rn=t=>(_o("data-v-17611eb2"),t=t(),xo(),t),am=Rn(()=>h("div",{class:"title"},"车牌颜色",-1)),lm={class:"plate-types"},cm=["onClick"],um=Rn(()=>h("div",{class:"title"},"车牌号码",-1)),dm={class:"plate-numbers"},fm=Rn(()=>h("div",{class:"dot"},"·",-1)),pm=["onClick"],hm=Rn(()=>h("div",{class:"info"},"请输入您真实有效的车牌号,便于正常使用系统功能。",-1)),Il=ee(X({customOptions:{SVGCheck:Ll,PlateKeyboard:Vl},__name:"PlateMobile.ce",props:{maxWidth:{default:"750px"}},emits:["clear","complete"],setup(t,{expose:e,emit:o}){const n=t,i=o,s=[{name:"蓝牌",style:"background-color: #0078f0;",completePlateLength:7},{name:"绿牌",style:"background-color: #00f08c;",completePlateLength:8},{name:"黄牌",style:"background-color: #fac800;",completePlateLength:7},{name:"黄绿",style:"background: linear-gradient(90deg, #fac800 51.5%, #00f08c 51.51%);",completePlateLength:8},{name:"黑牌",style:"background-color: #222222;",completePlateLength:7}],r=L(),a=L(0),l=Fe([]),c=L(-1),d=v=>{a.value=v,c.value<=s[v].completePlateLength&&l.length<s[v].completePlateLength?(c.value=l.length,r.value.open(),i("clear")):Po(l,l.slice(0,s[v].completePlateLength)),s[v].completePlateLength===l.length&&i("complete",s[a.value].name,l.join(""))},f=v=>{Po(l,l.slice(0,v)),c.value=Math.min(Math.max(0,c.value),v),r.value.open(),i("clear")},u=v=>{Po(l,v),c.value=l.length,l.length===s[a.value].completePlateLength&&i("complete",s[a.value].name,l.join(""))};return e({}),(v,b)=>(D(),B(be,null,[h("div",$i(v.$attrs,{class:"plate-mobile",style:{maxWidth:n.maxWidth}}),[am,h("div",lm,[(D(),B(be,null,Xt(s,(y,k)=>h("div",{key:k,class:U(k==a.value?"checked":""),onClick:A=>d(k)},[h("div",{style:R(y.style)},null,4),h("div",null,Oe(y.name),1),h("div",null,[oe(Ll,{color:"#ffffff",width:"0.14rem"})])],10,cm)),64))]),um,h("div",dm,[h("div",{onClick:b[0]||(b[0]=y=>f(0)),class:U(c.value==0?"current":"")},Oe(l[0]),3),h("div",{onClick:b[1]||(b[1]=y=>f(1)),class:U(c.value==1?"current":"")},Oe(l[1]),3),fm,(D(!0),B(be,null,Xt(s[a.value].completePlateLength-2,y=>(D(),B("div",{key:y,class:U(y+1==c.value?"current":""),onClick:k=>f(y+1)},Oe(l[y+1]),11,pm))),128))]),hm],16),oe(Vl,{ref_key:"plateKeyboardRef",ref:r,initPlates:l,completePlateLength:s[a.value].completePlateLength,onPlates:u},null,8,["initPlates","completePlateLength"])],64))}}),[["styles",[`.plate-mobile[data-v-17611eb2]{background-color:#fff;overflow:hidden;border-radius:.16rem;padding-bottom:.3rem;padding-left:.3rem;padding-right:.3rem}.title[data-v-17611eb2]{font-size:16px;line-height:1;color:#333;font-weight:700;text-align:center;margin-top:.4rem;margin-bottom:.2rem}.plate-types[data-v-17611eb2]{display:flex;justify-content:center}.plate-types>div[data-v-17611eb2]{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;width:1.2rem;height:.88rem;border-radius:.08rem;background-color:#f5f5f5;cursor:pointer;overflow:hidden}.plate-types>div>div[data-v-17611eb2]:nth-child(1){width:.28rem;height:.28rem;margin-bottom:.1rem;border-radius:50%;background-color:#0078f0}.plate-types>div:nth-child(2)>div[data-v-17611eb2]:nth-child(1){background-color:#00f08c}.plate-types>div:nth-child(3)>div[data-v-17611eb2]:nth-child(1){background-color:#fac800}.plate-types>div:nth-child(4)>div[data-v-17611eb2]:nth-child(1){background:linear-gradient(90deg,#fac800 51.5%,#00f08c 51.51%)}.plate-types>div:nth-child(5)>div[data-v-17611eb2]:nth-child(1){background-color:#222}.plate-types>div>div[data-v-17611eb2]:nth-child(2){color:#ccc;font-size:14px;line-height:1;font-weight:700}.plate-types>div>div[data-v-17611eb2]:nth-child(3){display:none;position:absolute;right:-.02rem;bottom:-.02rem;width:.32rem;height:.32rem;border-radius:.32rem 0 .08rem;background:#5a82f0}.plate-types>div>div:nth-child(3)>svg[data-v-17611eb2]{position:absolute;top:.12rem;left:.12rem}.plate-types>div+div[data-v-17611eb2]{margin-left:.1rem}.plate-types>div.checked[data-v-17611eb2]{border:1px solid #5a82f0}.plate-types>div.checked>div[data-v-17611eb2]:nth-child(2){color:#333}.plate-types>div.checked>div[data-v-17611eb2]:nth-child(3){display:block}.plate-numbers[data-v-17611eb2]{display:flex;justify-content:center;align-items:center}.plate-numbers>div[data-v-17611eb2]{flex:1;max-width:.8rem;height:.88rem;line-height:.88rem;border-radius:.08rem;font-size:.36rem;color:#333;text-align:center;border:1px solid #cccccc}.plate-numbers>div.current[data-v-17611eb2]{border:1px solid #5a82f0}.plate-numbers>div+div[data-v-17611eb2]{margin-left:.1rem}.plate-numbers>div.dot[data-v-17611eb2]{flex:0;border:0;padding:0 .05rem;color:#ccc;font-size:46px;margin-right:-.1rem;margin-left:0}.info[data-v-17611eb2]{font-size:12px;line-height:16px;font-weight:400;color:#999;text-align:center;padding:0 .1rem;margin-top:.4rem}
61
- `]],["__scopeId","data-v-17611eb2"]]),gs=t=>(_o("data-v-7aebdea0"),t=t(),xo(),t),mm=[gs(()=>h("path",{d:"M38,32.71a1.13,1.13,0,0,1-.8-.33L21.57,16.8a1.13,1.13,0,0,1,1.61-1.6L38.75,30.77a1.14,1.14,0,0,1-.8,1.94Z"},null,-1)),gs(()=>h("path",{d:"M22.38,32.71a1.17,1.17,0,0,1-.81-.33,1.15,1.15,0,0,1,0-1.61L37.15,15.2a1.13,1.13,0,1,1,1.6,1.6L23.18,32.38A1.13,1.13,0,0,1,22.38,32.71Z"},null,-1)),gs(()=>h("path",{d:"M18.68,3.79h-3.1l-15.64,20L15.33,43.45l.25.33H47.94v-40ZM3,23.79,16.73,6.3H45.3v35H16.73Z"},null,-1))],vm=X({__name:"SVGCleanUp.ce",props:{width:{default:"16px"},color:{default:V.colorPrimary}},setup(t){const e=t;return(o,n)=>(D(),B("svg",{style:R(["width: "+e.width]),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},mm,4))}}),gm=ee(vm,[["styles",[`svg[data-v-7aebdea0]{transform-origin:center}
62
- `]],["__scopeId","data-v-7aebdea0"]]),ym=["data-unactive"],bm=["data-unactive"],_m=["data-unactive"],xm=["data-unactive"],wm=["data-unactive"],Em=["data-unactive"],Cm=["data-unactive"],km=["data-unactive"],Nm=["data-unactive"],Om=["data-unactive"],Sm=["data-unactive"],$m=["data-unactive"],Tm=["data-unactive"],Dm=["data-unactive"],Pm=["data-unactive"],Lm=["data-unactive"],Vm=["data-unactive"],ys=ee(X({customOptions:{Pop:ze,SVGCleanUp:io},__name:"PlateKeyboard.ce",props:{initPlates:{default:()=>[]},completePlateLength:{default:7}},emits:["open","close","plates"],setup(t,{expose:e,emit:o}){const n=t,i=o,s=L(),r=L(0),a=Fe([]);function l(){a.length==0?r.value=0:a.length==1?r.value=1:r.value=2,a.length>=n.completePlateLength&&d()}se(()=>[...n.initPlates],()=>{Po(a,n.initPlates),l()},{immediate:!0});const c=()=>{s.value.open(),i("open")},d=()=>{s.value.close(),i("close")},f=()=>{a.pop(),l(),i("plates",a)},u=v=>{if(v.target.dataset.unactive||"")return;let y=v.target.dataset.number;y&&(a.push(y),l(),i("plates",a))};return e({open:c,close:d}),(v,b)=>(D(),_e(ze,{ref_key:"popRef",ref:s,directionFrom:"bottom",closeWhenClickOverlay:!1},{default:Ce(()=>[h("div",{class:"popup-plate",style:R({paddingBottom:le(V).safeAreaBottom})},[h("div",null,[h("div",{onClick:d},"关闭")]),h("div",{class:U(["step",r.value==0?"":"hide"])},[h("div",{class:"popitem",onClick:u,"data-number":"京"},""),h("div",{class:"popitem",onClick:u,"data-number":"沪"},""),h("div",{class:"popitem",onClick:u,"data-number":"津"},""),h("div",{class:"popitem",onClick:u,"data-number":"渝"},""),h("div",{class:"popitem",onClick:u,"data-number":"黑"},""),h("div",{class:"popitem",onClick:u,"data-number":"吉"},""),h("div",{class:"popitem",onClick:u,"data-number":"辽"},""),h("div",{class:"popitem",onClick:u,"data-number":"蒙"},""),h("div",{class:"popitem",onClick:u,"data-number":"冀"},""),h("div",{class:"popitem",onClick:u,"data-number":"新"},""),h("div",{class:"popitem",onClick:u,"data-number":"甘"},""),h("div",{class:"popitem",onClick:u,"data-number":"青"},""),h("div",{class:"popitem",onClick:u,"data-number":"陕"},""),h("div",{class:"popitem",onClick:u,"data-number":"宁"},""),h("div",{class:"popitem",onClick:u,"data-number":"豫"},""),h("div",{class:"popitem",onClick:u,"data-number":"鲁"},""),h("div",{class:"popitem",onClick:u,"data-number":"晋"}," 晋 "),h("div",{class:"popitem",onClick:u,"data-number":"皖"}," 皖 "),h("div",{class:"popitem",onClick:u,"data-number":"鄂"}," 鄂 "),h("div",{class:"popitem",onClick:u,"data-number":"湘"}," 湘 "),h("div",{class:"popitem",onClick:u,"data-number":""}," 苏 "),h("div",{class:"popitem",onClick:u,"data-number":"川"}," 川 "),h("div",{class:"popitem",onClick:u,"data-number":"云"}," 云 "),h("div",{class:"popitem",onClick:u,"data-number":"桂"}," 桂 "),h("div",{class:"popitem",onClick:u,"data-number":"藏"}," 藏 "),h("div",{class:"popitem",onClick:u,"data-number":"浙"}," 浙 "),h("div",{class:"popitem",onClick:u,"data-number":"赣"}," 赣 "),h("div",{class:"popitem",onClick:u,"data-number":"粤"}," 粤 "),h("div",{class:"popitem",onClick:u,"data-number":"闽"}," 闽 "),h("div",{class:"popitem",onClick:u,"data-number":"琼"}," 琼 "),h("div",{class:"popitem",onClick:u,"data-number":"贵"}," 贵 "),h("div",{class:"popitem popitem-clear",onClick:f},[oe(io,{width:"16px"})])],2),h("div",{class:U(["step",r.value!=0?"":"hide"])},[h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"1","data-unactive":r.value!=2?"unactive":""}," 1 ",10,ym),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"2","data-unactive":r.value!=2?"unactive":""}," 2 ",10,bm),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"3","data-unactive":r.value!=2?"unactive":""}," 3 ",10,_m),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"4","data-unactive":r.value!=2?"unactive":""}," 4 ",10,xm),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"5","data-unactive":r.value!=2?"unactive":""}," 5 ",10,wm),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"6","data-unactive":r.value!=2?"unactive":""}," 6 ",10,Em),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"7","data-unactive":r.value!=2?"unactive":""}," 7 ",10,Cm),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"8","data-unactive":r.value!=2?"unactive":""}," 8 ",10,km),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"9","data-unactive":r.value!=2?"unactive":""}," 9 ",10,Nm),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"0","data-unactive":r.value!=2?"unactive":""}," 0 ",10,Om),h("div",{class:"popitem",onClick:u,"data-number":"A"}," A "),h("div",{class:"popitem",onClick:u,"data-number":"B"}," B "),h("div",{class:"popitem",onClick:u,"data-number":"C"}," C "),h("div",{class:"popitem",onClick:u,"data-number":"D"}," D "),h("div",{class:"popitem",onClick:u,"data-number":"E"}," E "),h("div",{class:"popitem",onClick:u,"data-number":"F"}," F "),h("div",{class:"popitem",onClick:u,"data-number":"G"}," G "),h("div",{class:"popitem",onClick:u,"data-number":"H"}," H "),h("div",{class:"popitem",onClick:u,"data-number":"J"}," J "),h("div",{class:"popitem",onClick:u,"data-number":"K"}," K "),h("div",{class:"popitem",onClick:u,"data-number":"L"}," L "),h("div",{class:"popitem",onClick:u,"data-number":"M"}," M "),h("div",{class:"popitem",onClick:u,"data-number":"N"}," N "),h("div",{class:"popitem",onClick:u,"data-number":"P"}," P "),h("div",{class:"popitem",onClick:u,"data-number":"Q"}," Q "),h("div",{class:"popitem",onClick:u,"data-number":"R"}," R "),h("div",{class:"popitem",onClick:u,"data-number":"S"}," S "),h("div",{class:"popitem",onClick:u,"data-number":"T"}," T "),h("div",{class:"popitem",onClick:u,"data-number":"U"}," U "),h("div",{class:"popitem",onClick:u,"data-number":"V"}," V "),h("div",{class:"popitem",onClick:u,"data-number":"W"}," W "),h("div",{class:"popitem",onClick:u,"data-number":"X"}," X "),h("div",{class:"popitem",onClick:u,"data-number":"Y"}," Y "),h("div",{class:"popitem",onClick:u,"data-number":"Z"}," Z "),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"港","data-unactive":r.value!=2?"unactive":""}," 港 ",10,Sm),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"澳","data-unactive":r.value!=2?"unactive":""}," 澳 ",10,$m),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"学","data-unactive":r.value!=2?"unactive":""}," 学 ",10,Tm),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"警","data-unactive":r.value!=2?"unactive":""}," 警 ",10,Dm),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"使","data-unactive":r.value!=2?"unactive":""}," 使 ",10,Pm),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"领","data-unactive":r.value!=2?"unactive":""}," 领 ",10,Lm),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"挂","data-unactive":r.value!=2?"unactive":""}," 挂 ",10,Vm),h("div",{class:"popitem popitem-clear",onClick:f},[oe(io,{width:"16px"})])],2)],4)]),_:1},512))}}),[["styles",[`.popup-plate[data-v-c391106b]{box-sizing:border-box;width:100%;background-color:#ddd}.hide[data-v-c391106b]{display:none!important}.popup-plate>div[data-v-c391106b]:nth-child(1){display:flex;justify-content:flex-end;background-color:#fff;border-top:1px solid #e6e6e6}.popup-plate>div:nth-child(1)>div[data-v-c391106b]{flex:0 0 auto;padding:0 .3rem;color:#5a82f0;font-size:16px;line-height:2.6;cursor:pointer}.popup-plate>.step[data-v-c391106b]{display:flex;flex-wrap:wrap;justify-content:center;padding:.2rem .2rem .1rem}.popup-plate>.step>.popitem[data-v-c391106b]{flex:0 0 auto;width:1rem;padding:.2rem 0;border:1px solid #e6e6e6;border-radius:.08rem;margin-right:.1rem;margin-bottom:.1rem;font-size:16px;line-height:1;text-align:center;background-color:#fff;cursor:pointer}.popup-plate>.step>.popitem[data-v-c391106b]:not(.unactive):active{background-color:#eee}.popup-plate>.step>.popitem.unactive[data-v-c391106b]{color:#ccc}.popup-plate>.step>.popitem.popitem-clear[data-v-c391106b]{background-color:#eee;display:flex;justify-content:center;align-items:center}
63
- `]],["__scopeId","data-v-c391106b"]]),Im=["width","height"],Mm=["fill"],Am=X({__name:"SVGDelete.ce",props:{width:{default:"16px"},height:{},color:{default:V.colorPrimary}},setup(t){const e=t;return(o,n)=>(D(),B("svg",{viewBox:"0 0 24 24",width:e.width,height:e.height??e.width,xmlns:"http://www.w3.org/2000/svg"},[h("path",{fill:e.color,d:"M7 21q-.825 0-1.412-.587T5 19V6H4V4h5V3h6v1h5v2h-1v13q0 .825-.587 1.413T17 21zM17 6H7v13h10zM9 17h2V8H9zm4 0h2V8h-2zM7 6v13z"},null,8,Mm)],8,Im))}}),Rm=ee(Am,[["styles",[`svg[data-v-8745630f]{transform-origin:center}
64
- `]],["__scopeId","data-v-8745630f"]]),jm=["width","height"],Fm=["fill"],zm=X({__name:"SVGDelete",props:{width:{default:"16px"},height:{},color:{default:V.colorPrimary}},setup(t){const e=t;return(o,n)=>(D(),B("svg",{viewBox:"0 0 24 24",width:e.width,height:e.height??e.width,xmlns:"http://www.w3.org/2000/svg"},[h("path",{fill:e.color,d:"M7 21q-.825 0-1.412-.587T5 19V6H4V4h5V3h6v1h5v2h-1v13q0 .825-.587 1.413T17 21zM17 6H7v13h10zM9 17h2V8H9zm4 0h2V8h-2zM7 6v13z"},null,8,Fm)],8,jm))}}),qv="",Ml=ee(zm,[["__scopeId","data-v-4747d4a7"]]),Hm=X({customOptions:{SVGDelete:Ml},inheritAttrs:!0,__name:"SlideLeftItem.ce",props:{bgColor:{default:V.colorGrayFF},deleteColor:{default:V.colorRed},fontColor:{default:V.colorGrayFF},deleteWidth:{default:"44px"},transtionDuration:{default:"150ms"}},emits:["delete"],setup(t,{expose:e,emit:o}){const n=t,i=o,s=L(!1),r=()=>{i("delete"),s.value=!1},a=new os;let l;const c=L();return se(c,()=>{c.value&&(l=a.capture(c.value,{slideLeft:(d,f)=>{s.value=!0},slideRight:(d,f)=>{s.value=!1}}))}),ln(()=>{l?.()}),e({}),(d,f)=>(D(),B("div",{class:"parent",ref_key:"item",ref:c,style:R({backgroundColor:n.bgColor})},[h("div",{class:"content",style:R({transition:"all ease-in "+n.transtionDuration,transform:s.value?"translate(-"+n.deleteWidth+", 0)":"translate(0, 0)"})},[ue(d.$slots,"default",{},void 0,!0)],4),h("div",{class:"delete",onClick:r,style:R({backgroundColor:n.deleteColor,width:n.deleteWidth,transition:"all ease-in "+n.transtionDuration,transform:s.value?"translate(0, 0)":"translate("+n.deleteWidth+", 0)"})},[oe(Ml,{color:n.fontColor},null,8,["color"])],4)],4))}}),Al=ee(Hm,[["styles",[`.parent[data-v-ef5f6614]{position:relative;overflow:hidden;width:100%}.content[data-v-ef5f6614]{width:100%;height:100%}.delete[data-v-ef5f6614]{position:absolute;right:0;top:0;height:100%;display:flex;justify-content:center;align-items:center;cursor:pointer}
65
- `]],["__scopeId","data-v-ef5f6614"]]),Bm={class:"parent"},Wm=ee(X({customOptions:{},inheritAttrs:!0,__name:"PlateDisplay.ce",props:{plate:{},plateType:{},displayType:{default:"chinese"},fontColor:{},fontSize:{}},setup(t,{expose:e,emit:o}){const n=t,i=[{name:"蓝牌",style:"background-color: #0078f0; color: #ffffff;"},{name:"绿牌",style:"background-color: #00f08c; color: #000000;"},{name:"黄牌",style:"background-color: #fac800; color: #000000;"},{name:"黄绿",style:"background: linear-gradient(90deg, #fac800 51.5%, #00f08c 51.51%); color: #000000;"},{name:"黑牌",style:"background-color: #222222; color: #ffffff;"},{name:"未知",style:"background-color: #cccccc; color: #ffffff;"}];function s(f){return f.length>2?f.substring(0,2)+"·"+f.substring(2):f}function r(f){const u=i.filter(v=>v.name===f);return u.length?u[0]:r("未知")}const a=s(n.plate),l=L(r(n.plateType));let c=n.fontColor,d=n.fontSize;switch(n.displayType){case"dot":c=c??"#999999",d=d??"14px";break;case"chinese":c=c??"#333333",d=d??"20px";break}return e({}),(f,u)=>(D(),B("div",Bm,[h("div",{class:U(["leading",n.displayType]),style:R(l.value.style)},Oe(l.value.name),7),h("div",{class:"text",style:R({color:le(c),"font-size":le(d)})},Oe(le(a)),5)]))}}),[["styles",[`.parent[data-v-14d35058]{display:flex;justify-content:center;align-items:center}.leading[data-v-14d35058]{box-sizing:border-box;font-size:12px;line-height:1;border-radius:2px}.leading.chinese[data-v-14d35058]{padding:4px}.leading.dot[data-v-14d35058]{font-size:0;width:14px;height:14px;border-radius:50%}.text[data-v-14d35058]{margin-left:5px;margin-right:5px;line-height:1}
66
- `]],["__scopeId","data-v-14d35058"]]),Um=["onClick"],Gm=ee(X({customOptions:{},inheritAttrs:!0,__name:"TabsForCE.ce",props:{headers:{default:()=>[]},initIndex:{default:0}},emits:["changedIndex"],setup(t,{expose:e,emit:o}){const n=t,i=o,s=L(n.initIndex),r=L(),a=L(0),l=L(0),c=L(0),d=L([]),f=[],u=(y,k)=>{if(y){if(f.push({index:k,el:y}),f.length<n.headers.length)return;d.value=f}};se([r,d],()=>{v()});function v(){if(r.value&&d.value.length){const y=r.value.getBoundingClientRect(),k=d.value[s.value].el.getBoundingClientRect();a.value=k.x-y.x,l.value=k.y-y.y+k.height,c.value=k.width}}function b(y){s.value=y,i("changedIndex",y),v()}return e({}),(y,k)=>(D(),B("div",null,[h("div",{class:"header",ref_key:"headerRef",ref:r},[(D(!0),B(be,null,Xt(y.headers,(A,$)=>(D(),B("div",{key:A,class:U($==s.value?"active":""),onClick:z=>b($)},[h("div",{ref_for:!0,ref:z=>u(z,$)},Oe(A),513)],10,Um))),128)),h("div",{class:"indicator",style:R({top:l.value+"px",left:a.value+"px",width:c.value+"px",height:"2px"})},null,4)],512)]))}}),[["styles",[`.header[data-v-0f02d488]{position:relative;display:flex;font-size:14px;line-height:1;color:#999}.header .active[data-v-0f02d488]{color:#5a82f0}.header>div[data-v-0f02d488]{flex:1 1 auto;cursor:pointer;text-align:center;display:flex;justify-content:center;align-items:center;font-weight:700;background-color:#fff;position:relative}.header>div>div[data-v-0f02d488]{box-sizing:border-box;padding:7px 4px}.header>div.indicator[data-v-0f02d488]{display:inline-block;flex:0;position:absolute;background-color:#5a82f0;transition:all ease-out .2s}
67
- `]],["__scopeId","data-v-0f02d488"]]);class Km extends HTMLElement{constructor(){super(),this.listenedMedia=[],this.reloadQueued=!1}connectedCallback(){this.video=this.querySelector("video"),this.bindMediaListeners()}disconnectedCallback(){this.unbindMediaListeners()}bindMediaListeners(){this.querySelectorAll("source").forEach(e=>{if(e.media){const o=()=>{(e.media===this.video.currentSrc||!this.previousSiblingIsPlaying(e,this.video.currentSrc)&&!this.reloadQueued)&&this.reloadVideo()};this.listenedMedia.push({media:e.media,handler:o}),window.matchMedia(e.media).addEventListener("change",o)}})}unbindMediaListeners(){this.listenedMedia.forEach(e=>{window.matchMedia(e.media).removeEventListener("change",e.handler)})}previousSiblingIsPlaying(e,o){const n=e;for(;e.previousElementSibling;)if(n.src===o)return!0;return!1}reloadVideo(){this.reloadQueued=!0;const e=this.video.currentTime,o=this.video.playState;this.video.load();const n=()=>{this.video.playState=o,this.video.currentTime=e.toString(),this.reloadQueued=!1,this.video.removeEventListener("loadeddata",n)};this.video.addEventListener("loadeddata",n)}}const qm=Km;function Ym(t,e="style.css"){for(let o of t){const n=document.querySelector(o)?.shadowRoot;if(n){const i=document.createElement("link");i.setAttribute("rel","stylesheet"),i.setAttribute("href",e),n.appendChild(i)}}}const mt=(t,e,o=!0)=>{let n=0,i=[...t.styles];for(let s in t.customOptions){const r=`[${t.customOptions[s].__scopeId}]`;i=[...e[n++].styles.map(a=>jd(a,r)),...i]}if(o)t.styles=i;else for(let s of t.styles){const r=document.createElement("style");r.innerHTML=s,document.head.insertBefore(r,document.head.childNodes[document.head.childNodes.length-1].nextSibling)}return t},Zm=()=>{const t=Ee(_l);customElements.define("yz-icon",t);const e=Ee(is);customElements.define("yz-button",e);const o=Ee(dp);customElements.define("yz-mobile-layout",o),mt(to,[ss]);const n=Ee(to);customElements.define("yz-pop",n),mt(rs,[ss,to,_l,is]);const i=Ee(rs);customElements.define("yz-dialog",i),mt(El,[ss,to,rs,Op]);const s=Ee(El);customElements.define("yz-dialog-loading",s);const r=Ee(Fp);customElements.define("yz-select",r);const a=Ee(Hp);customElements.define("yz-switch",a);const l=Ee(Yp);customElements.define("yz-radiogroup",l);const c=Ee(oh);customElements.define("yz-checkboxgroup",c),mt(as,[to,is]);const d=Ee(as);customElements.define("yz-popover",d),mt(Pl,[as]);const f=Ee(Pl);customElements.define("yz-colorpicker",f);const u=Ee(Dh);customElements.define("yz-resize-observer",u);const v=Ee(Lh);customElements.define("yz-map-tianditu",v),mt(ys,[to,gm]);const b=Ee(ys);customElements.define("yz-plate-keyboard",b),mt(Il,[Ah,ys]);const y=Ee(Il);customElements.define("yz-plate-mobile",y),mt(Al,[Rm]);const k=Ee(Al);customElements.define("yz-slide-left-item",k);const A=Ee(Wm);customElements.define("yz-plate-display",A);const $=Ee(Gm);customElements.define("yz-tabs",$),customElements.define("yz-responsive-video",qm)};return lo.install=Zm,lo.linkChildrenComponentsStyles=Ym,lo.mergeChildComponentCSS=mt,Object.defineProperty(lo,Symbol.toStringTag,{value:"Module"}),lo}({});
59
+ })`}static safeHtml(t,n="encode"){const i={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"};for(const r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t=t.replace(new RegExp(n=="decode"?r:i[r],"g"),n=="decode"?i[r]:r));return t}static loadScript(t,n=()=>{},i=(r,s,o,a,l)=>{}){const r=document.createElement("script");r.type="text/javascript",r.src=t,r.async=!1,document.body.appendChild(r),r.onload=n,r.onerror=i}static loadStyle(t){const n=document.createElement("link");n.rel="stylesheet",n.href=t,document.head.insertBefore(n,document.head.childNodes[document.head.childNodes.length-1].nextSibling)}static waitForStyleSheetsLoaded=()=>new Promise(t=>{const n=Array.from(document.querySelectorAll("link[rel=stylesheet]"));let i=document.styleSheets.length??0;const r=()=>i>=n.length?(t(),!0):!1;r()||n.forEach(s=>{s.onload=()=>{i+=1,r()}})});static lazyloadImages(){const t=document.getElementsByTagName("img"),n=La().height;let i=0;return()=>{for(let r=i;r<t.length;r++)t[r].getBoundingClientRect().top<n&&(t[r].src=t[r].getAttribute("data-src")??"",i=r+1)}}static iframePostMessage(t,n="http://test.com/localstorage.html"){const i=document.createElement("iframe");i.src=n,document.body.append(i),setTimeout(function(){i.contentWindow?.postMessage(t,n)},4e3),setTimeout(function(){i.remove()},6e3)}static getTextWidth=(t,n,i=400)=>{const r=document.createElement("span");r.style.visibility="hidden",r.style.padding="0",r.style.whiteSpace="nowrap",r.style.overflow="visible",r.style.fontSize=n>12?n+"px":"12px",r.style.fontWeight=i.toString(),r.innerText=t,document.body.appendChild(r);const s=r.offsetWidth;return document.body.removeChild(r),s};static getFixedWidthText=(t,n,i=12,r=400,s=!0)=>{let o="",a="",l="";if(!t||n<i||typeof t!="string")return o;const f=t.split(""),p=document.createElement("span");p.style.visibility="hidden",p.style.padding="0",p.style.whiteSpace="nowrap",p.style.overflow="visible",p.style.fontSize=i>12?i+"px":"12px",p.style.fontWeight=r.toString(),document.body.appendChild(p);for(let m=0,y=f.length;m<y;m++){const _=f[m];if(a=l,l+=_,o=l,p.innerText=l,p.offsetWidth>n){s?o=a+"...":o=a;break}}return document.body.removeChild(p),o};static getLocation(){return new Promise((t,n)=>{navigator.geolocation?navigator.geolocation.getCurrentPosition(i=>{t(i.coords)}):n("Geolocation is not supported by this browser")})}static vibrate(t=200){"vibrate"in navigator?window.navigator.vibrate(t):console.error("Your device is not support vibrate on this browser.")}static copyToClipboard=t=>navigator.clipboard.writeText(t);static getSelectedText=()=>window.getSelection()?.toString();static siblings=t=>Array.prototype.slice.call(t.parentNode?.children).filter(n=>n!==t);static isElementFocus=t=>t===document.activeElement;static isTabInView=()=>!document.hidden;static navigateBack=()=>history.back();static navigateBack2=()=>history.go(-1);static addDebuggerOnBeforeUnload=()=>{window.addEventListener("beforeunload",()=>{debugger})}}function Gh(e,t=document){return new Oe(e,t)}class Oe{context;nodes;prefixs=["moz","o","ms","webkit"];constructor(t,n=document){if(this.context=n,typeof t=="string"?this.nodes=Array.from(this.context.querySelectorAll(t)):t instanceof HTMLElement?this.nodes=[t]:this.nodes=t,this.nodes.length===0)throw new Error(`can not find ${t}`);this.each((i,r)=>{i instanceof HTMLInputElement&&i.addEventListener("change",s=>{this.changeRadioChecked(s.currentTarget.value)}),i instanceof HTMLSelectElement&&i.addEventListener("change",s=>{this.changeSelectSelected(s.currentTarget.value)})})}get(t){return t<0&&(t=this.nodes.length+t),this.nodes[t]}concat(t){return new Oe(this.nodes.concat(t.nodes),this.context)}then(t){return t(this)??this}each(t){return this.nodes.forEach((n,i)=>{t(n,i)}),this}_save(t,n,i){t._mQuery||(t._mQuery={}),Array.isArray(i)?(t._mQuery[n]=t._mQuery[n]??[],t._mQuery[n].push(...i)):i!=null?t._mQuery[n]=i:delete t._mQuery[n]}on(t,n,i){return this.nodes.forEach(r=>{this._save(r,"events",[{event:t,callback:n,options:i}]),r.addEventListener(t,n,i)}),this}off(t,n,i){return this.nodes.forEach(r=>{r.removeEventListener(t,n,i)}),this}dispatchEvent(t,n){let i;const r=["click","dblclick","mousedown","mouseup","mousemove"],s=["keydown","keyup","keypress"];return typeof t=="string"?r.includes(t)?i=new MouseEvent(t,n):s.includes(t)?i=new KeyboardEvent(t,n):i=new Event(t,n):i=t,this.nodes.forEach(o=>{o.dispatchEvent(i)}),this}change(){return this.dispatchEvent("change")}click(){return this.dispatchEvent("click")}static hasEvent(t,n){return"on"+n in t}static _fragment(t){const n=document.createElement("template");return n.innerHTML=t,n.content.childNodes.forEach(i=>{const r=Oe._scriptConvert(i);r!=i&&n.content.replaceChild(r,i)}),n.content}static _scriptConvert(t){const n=i=>{const s=i.ownerDocument.createElement("script");s.text=i.text;const o=i.attributes;for(let a=0;a<o.length;a++)s.setAttribute(o[a].name,o[a].value);return s};return t.tagName=="SCRIPT"&&(t=n(t)),t.querySelectorAll&&t.querySelectorAll("script").forEach(i=>{i.parentNode?.replaceChild(n(i),i)}),t}static _fixProp(t){const n={cellpadding:"cellPadding",cellspacing:"cellSpacing",class:"className",colspan:"colSpan",contenteditable:"contentEditable",for:"htmlFor",frameborder:"frameBorder",maxlength:"maxLength",readonly:"readOnly",rowspan:"rowSpan",tabindex:"tabIndex",usemap:"useMap"};return n[t]?n[t]:t}static isSVG(t){return(t||document.documentElement).nodeName.toLowerCase()==="svg"}static createElement(t){return Oe.isSVG()?document.createElementNS.call(document,"http://www.w3.org/2000/svg",t):document.createElement.call(document,t)}static createTextNode(t){return document.createTextNode.call(document,t)}static createDocumentFragment(){return document.createDocumentFragment.call(document)}_insert(t,n){const i=this.nodes.length;if(i<1)return this;const r=[];if(typeof n=="string")this.nodes.forEach(s=>{const o=Oe._fragment(n);r.push(...o.children),s[t](o)});else if(n instanceof HTMLElement)this.each(s=>{const o=i===1?n:Oe._fragment(n.outerHTML);r.push(...i===1?[n]:o.children),s[t](o)}),i>1&&n.remove();else if(n instanceof Oe){const s=i==1;n.each(o=>{this.each(a=>{const l=s?o:o.cloneNode(!0);r.push(l),a[t](l),Oe._scriptConvert(l)})}),s||n.remove()}return t=="replaceWith"&&(this.nodes=r),this}append(t){return this._insert("append",t)}prepend(t){return this._insert("prepend",t)}after(t){return this._insert("after",t)}before(t){return this._insert("before",t)}replace(t){return this._insert("replaceWith",t)}remove(){return this.nodes.forEach(t=>{t.remove()}),this}static removeChild(t){t.parentElement?.removeChild(t)}find(t){const n=[];return this.nodes.forEach(i=>{n.push(...Array.from(i.querySelectorAll(t)))}),new Oe(n,this.context)}filter(t){const n=[];return this.nodes.forEach(i=>{(i===t||typeof t=="string"&&i.matches&&i.matches(t))&&n.push(i)}),new Oe(n,this.context)}next(){const t=[];return this.nodes.forEach(n=>{const i=n.nextElementSibling;i&&t.push(i)}),new Oe(t,this.context)}prev(){const t=[];return this.nodes.forEach(n=>{const i=n.previousElementSibling;i&&t.push(i)}),new Oe(t,this.context)}closest(t){const n=[];return this.nodes.forEach(i=>{const r=i.closest(t);r&&n.push(r)}),new Oe(n,this.context)}shadow(t){const n=[];this.nodes.forEach(r=>{r.shadowRoot&&n.push(r.shadowRoot)});const i=new Oe(n,this.context);return t!==void 0?i.find(t):i}parent(t){return this.parents(t,!0)}parents(t,n=!1){const i=[],r=o=>{if(i.indexOf(o)==-1&&i.push(o),!n&&o.parentElement)return r(o.parentElement)};this.nodes.forEach(o=>{o.parentElement&&r(o.parentElement)});const s=new Oe(i,this.context);return t!==void 0?s.filter(t):s}static getComputedStyle(t,n,i){let r;const s=t.style.getPropertyPriority(n);return"getComputedStyle"in window?(r=getComputedStyle.call(window,t,i),r=r.getPropertyValue(n)):r=t.style.getPropertyValue(n),r+(s?"!"+s:"")}css(t,n){if((t===void 0||typeof t=="string")&&n===void 0){const i=this.nodes[0].style;if(typeof t=="string"){const r=i.getPropertyPriority(t),s=i.getPropertyValue(t).trim();return s?s+(r?"!"+r:""):Oe.getComputedStyle(this.nodes[0],t)}else{const r=Object.fromEntries(this.nodes[0].style.cssText.split(";").filter(s=>!!s).map(s=>s.split(":").map(o=>o.trim())));return Object.assign(r,getComputedStyle.call(window,this.nodes[0])),r}}else{let i={};return typeof t=="string"&&n!==void 0?i[t]=n:typeof t=="object"&&(i=t),this.nodes.forEach(r=>{Object.keys(i).forEach(s=>{const o=String(i[s]).toLowerCase().includes("!important")?"important":"";r.style.setProperty(s,String(i[s]).replace(/!important/i,""),o)})}),this}}addClass(t){return this.toggleClass(t,!0)}removeClass(t){return this.toggleClass(t,!1)}toggleClass(t,n){const i=t.split(/[,\s]+/);return this.nodes.forEach(r=>{i.forEach(s=>{if(s.trim()!==""){let o="toggle";n!==void 0&&(o=n?"add":"remove"),r.classList[o](s.trim())}})}),this}hasClass(t){const n=t.split(/[,\s]+/);let i=!1;return this.nodes.forEach(r=>{i=i||n.every(s=>Array.from(r.classList??[]).includes(s.trim()))}),i}attr(t,n){if(n===void 0&&typeof t=="string")return this.nodes[0].getAttribute(t);let i={};return typeof t=="object"?i=t:n!==void 0&&(i[t]=n),this.nodes.forEach(r=>{Object.entries(i).forEach(([s,o])=>{r.setAttribute(s,o)})}),this}removeAttr(t){const n=t.split(/[,\s]+/);return this.nodes.forEach(i=>{n.forEach(r=>{i.removeAttribute(r)})}),this}prop(t,n){if(n===void 0&&typeof t=="string")return this.nodes[0][t];{let i={};return typeof t=="object"?i=t:typeof t=="string"&&n!==void 0&&(i[t]=n),this.nodes.forEach(r=>{Object.entries(i).forEach(([s,o])=>{const a=Oe._fixProp(s);r[a]=o,a=="innerHTML"&&Oe._scriptConvert(r)})}),this}}removeProp(t){const n=t.split(/[,\s]+/);return this.nodes.forEach(i=>{n.forEach(r=>{delete i[Oe._fixProp(r)]})}),this}changeSelectSelected(t){this.nodes.forEach(n=>{if(n instanceof HTMLSelectElement){const i=n.options;for(let r=0,s=i.length;r<s;r++)i[r].value==t?i[r].selected=!0:i[r].selected=!1}})}changeRadioChecked(t){this.nodes.forEach(n=>{n instanceof HTMLInputElement&&(n.value==t?n.checked=!0:n.checked=!1)})}data(t,n){if(typeof t=="string"&&t.indexOf("-")!=-1)throw new Error(`Key "${t}" contains "-" (dash). Dashes are not allowed in property names. Use camelCase instead.`);if((typeof t=="string"||t===void 0)&&n===void 0){const i=Object.assign({},this.nodes[0].dataset);return Object.keys(i).forEach(r=>{if(i[r]?.startsWith("[")||i[r]?.startsWith("{"))try{i[r]=JSON.parse(i[r]??"")}catch{}}),typeof t=="string"?i[t]:i}else{let i={};return typeof t=="object"?i=t:typeof t=="string"&&(i[t]=n),this.nodes.forEach(r=>{Object.entries(i).forEach(([s,o])=>{o!=null?r.dataset[s]=o instanceof Object?JSON.stringify(o):o:delete r.dataset[s]})}),this}}removeData(t){const n=t.split(/[,\s]+/);return this.nodes.forEach(i=>{n.forEach(r=>{delete i.dataset[r]})}),this}show(){return this.toggle(!0)}hide(){return this.toggle(!1)}toggle(t){return this.nodes.forEach(n=>{const i=n.style.display,r=getComputedStyle(n).display,s=i=="none"||r=="none";if(s&&(t===void 0||t===!0)){const o=n instanceof HTMLTableRowElement?"table-row":n instanceof HTMLTableCellElement?"table-cell":"block";n.style.display=n._mQuery?.prevDisplay??(i==r&&r!="none"?"":o),this._save(n,"prevDisplay",null)}!s&&(t==null||t===!1)&&(r!="none"&&this._save(n,"prevDisplay",r),n.style.setProperty("display","none"))})}empty(){return this.html("")}html(t){return t instanceof HTMLElement?this.empty().append(t.innerHTML):this.prop("innerHTML",t)}text(t){return this.prop("textContent",t)}val(t){return this.prop("value",t)}}class il{video;constructor(t){this.video=t}setSrcObject(t){this.video.addEventListener("loadedmetadata",n=>{n.target}),this.video.srcObject=t}captureWebCamera(){navigator.mediaDevices.getUserMedia({video:!0}).then(t=>{this.setSrcObject(t)})}static async videoMediaChangeSupport(){return new Promise(t=>{const n=document.createElement("iframe"),i=document.createElement("video"),r=document.createElement("source"),s=new MediaSource;s.addEventListener("sourceopen",()=>t(!0)),r.src=URL.createObjectURL(s),r.media="(min-width:10px)",i.append(r),n.width="5",n.style.cssText="position: absolute; visibility: hidden;",document.documentElement.append(n),n.contentDocument?.body.append(i),setTimeout(()=>{n.width="15"}),setTimeout(()=>{n.remove(),t(!1)},1e3)})}static tryAutoPlayOrAutoPlayAfterClick(t){return new Promise(n=>{t.play().then(()=>{t.autoplay=!0,n(!0)}).catch(()=>{il.setAutoPlayWhenClick(t),n(!1)})})}static setAutoPlayWhenClick(t){function n(){t.autoplay=!0,t.play(),document.removeEventListener("click",n),document.removeEventListener("touchend",n)}document.addEventListener("click",n),document.addEventListener("touchend",n)}}const $t={safeAreaTop:Qt.getCSSVar("--safe-area-inset-top"),safeAreaRight:Qt.getCSSVar("--safe-area-inset-right"),safeAreaBottom:Qt.getCSSVar("--safe-area-inset-bottom"),safeAreaLeft:Qt.getCSSVar("--safe-area-inset-left"),colorPrimary:Qt.getCSSVar("--color-primary")||"#5078f0",colorRed:Qt.getCSSVar("--color-red")||"#ff5050",colorOrange:Qt.getCSSVar("--color-orange")||"#fa8c00",colorYellow:Qt.getCSSVar("--color-yellow")||"#fadc32",colorGreen:Qt.getCSSVar("--color-green")||"#00c878",colorBlue:Qt.getCSSVar("--color-blue")||"#00b4fa",colorPurple:Qt.getCSSVar("--color-purple")||"#6464fa",colorBlack:Qt.getCSSVar("--color-black")||"#001428",colorGray0:Qt.getCSSVar("--color-gray-0")||"#000000",colorGray3:Qt.getCSSVar("--color-gray-3")||"#333333",colorGray6:Qt.getCSSVar("--color-gray-6")||"#666666",colorGray9:Qt.getCSSVar("--color-gray-9")||"#999999",colorGrayCC:Qt.getCSSVar("--color-gray-cc")||"#cccccc",colorGrayDD:Qt.getCSSVar("--color-gray-dd")||"#dddddd",colorGrayE6:Qt.getCSSVar("--color-gray-e6")||"#e6e6e6",colorGrayEE:Qt.getCSSVar("--color-gray-ee")||"#eeeeee",colorGrayEF:Qt.getCSSVar("--color-gray-ef")||"#efefef",colorGrayF5:Qt.getCSSVar("--color-gray-f5")||"#f5f5f5",colorGrayFF:Qt.getCSSVar("--color-gray-ff")||"#ffffff",fontLineHeight:Qt.getCSSVar("--font-line-height")||"1,4",fontSize32:Qt.getCSSVar("--font-size-32")||"32px",fontSize24:Qt.getCSSVar("--font-size-24")||"24px",fontSize20:Qt.getCSSVar("--font-size-20")||"20px",fontSize18:Qt.getCSSVar("--font-size-18")||"18px",fontSize16:Qt.getCSSVar("--font-size-16")||"16px",fontSize14:Qt.getCSSVar("--font-size-14")||"14px",fontSize12:Qt.getCSSVar("--font-size-12")||"12px",fontSize11:Qt.getCSSVar("--font-size-11")||"11px",gap4:Qt.getCSSVar("--gap-4")||"4px",gap8:Qt.getCSSVar("--gap-8")||"8px",gap12:Qt.getCSSVar("--gap-12")||"12px",gap16:Qt.getCSSVar("--gap-16")||"16px",gap20:Qt.getCSSVar("--gap-20")||"20px",gap40:Qt.getCSSVar("--gap-40")||"40px",height44:Qt.getCSSVar("--height-44")||"44px",height32:Qt.getCSSVar("--height-32")||"32px",borderRadius:Qt.getCSSVar("--border-radius")||"4px"},Vg=()=>`#${Math.random().toString(16).slice(2,8).padEnd(6,"0")}`,jh=function(e){return e[0]==="#"&&(e=e.slice(1)),parseInt(e,16)},zg=function(e,t=1){const n=e>>16&255,i=e>>8&255,r=e&255,s=t<0?0:t>1?1:t;return s===1?"rgb("+n+","+i+","+r+")":"rgba("+n+","+i+","+r+","+s+")"},Hh=function(e,t=1){const n=jh(e);return zg(n,t)};function $n(e,t){let n=parseInt(e.substring(1,3),16),i=parseInt(e.substring(3,5),16),r=parseInt(e.substring(5,7),16);n==0&&(n=32),i==0&&(i=32),r==0&&(r=32),n=n*(100+t)/100,i=i*(100+t)/100,r=r*(100+t)/100,n=n<255?n:255,i=i<255?i:255,r=r<255?r:255,n=Math.round(n),i=Math.round(i),r=Math.round(r);const s=n.toString(16).length==1?"0"+n.toString(16):n.toString(16),o=i.toString(16).length==1?"0"+i.toString(16):i.toString(16),a=r.toString(16).length==1?"0"+r.toString(16):r.toString(16);return"#"+s+o+a}(function(){let e=0;window.requestAnimationFrame||(window.requestAnimationFrame=function(t){const n=new Date().getTime(),i=Math.max(0,16-(n-e)),r=window.setTimeout(function(){t(n+i)},i);return e=n+i,r}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(t){clearTimeout(t)})})();const Bg=e=>{let t=window.requestAnimationFrame(function n(i){t=window.requestAnimationFrame(n),e(i,t)});return()=>window.cancelAnimationFrame(t)};class Gg{id=0;renders={};cancelFn;constructor(){}get length(){let t=0;for(let n in this.renders)t++;return t}register(t){const n=this.id++;this.renders[n]=t,this.run()}run(){this.cancelFn||(this.cancelFn=Bg((t,n)=>{const i=[];for(let r in this.renders)this.renders[r](t)===!1&&i.push(parseInt(r));for(let r of i)delete this.renders[r];!this.length&&this.cancelFn&&(this.cancelFn(),this.cancelFn=void 0)}))}}const rn=new Gg;let Ur;typeof self>"u"&&typeof process<"u"&&process.hrtime?Ur=function(){const e=process.hrtime();return e[0]*1e3+e[1]/1e6}:typeof self<"u"&&self.performance!==void 0&&self.performance.now!==void 0?Ur=self.performance.now.bind(self.performance):Date.now!==void 0?Ur=Date.now:Ur=function(){return new Date().getTime()};const Wi=Ur;class Wr{static _nextId=0;static nextId(){return Wr._nextId++}}const Js={Linear:{None:function(e){return e}},Ease:{In:function(e){return Math.pow(e,1.7)}},Quadratic:{In:function(e){return e*e},Out:function(e){return e*(2-e)},InOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)}},Cubic:{In:function(e){return e*e*e},Out:function(e){return--e*e*e+1},InOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)}},Quartic:{In:function(e){return e*e*e*e},Out:function(e){return 1- --e*e*e*e},InOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)}},Quintic:{In:function(e){return e*e*e*e*e},Out:function(e){return--e*e*e*e*e+1},InOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)}},Sinusoidal:{In:function(e){return 1-Math.sin((1-e)*Math.PI/2)},Out:function(e){return Math.sin(e*Math.PI/2)},InOut:function(e){return .5*(1-Math.sin(Math.PI*(.5-e)))}},Exponential:{In:function(e){return e===0?0:Math.pow(1024,e-1)},Out:function(e){return e===1?1:1-Math.pow(2,-10*e)},InOut:function(e){return e===0?0:e===1?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(-Math.pow(2,-10*(e-1))+2)}},Circular:{In:function(e){return 1-Math.sqrt(1-e*e)},Out:function(e){return Math.sqrt(1- --e*e)},InOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)}},Elastic:{In:function(e){return e===0?0:e===1?1:-Math.pow(2,10*(e-1))*Math.sin((e-1.1)*5*Math.PI)},Out:function(e){return e===0?0:e===1?1:Math.pow(2,-10*e)*Math.sin((e-.1)*5*Math.PI)+1},InOut:function(e){return e===0?0:e===1?1:(e*=2,e<1?-.5*Math.pow(2,10*(e-1))*Math.sin((e-1.1)*5*Math.PI):.5*Math.pow(2,-10*(e-1))*Math.sin((e-1.1)*5*Math.PI)+1)}},Back:{In:function(e){return e===1?1:e*e*((1.70158+1)*e-1.70158)},Out:function(e){return e===0?0:--e*e*((1.70158+1)*e+1.70158)+1},InOut:function(e){const t=2.5949095;return(e*=2)<1?.5*(e*e*((t+1)*e-t)):.5*((e-=2)*e*((t+1)*e+t)+2)}},Bounce:{In:function(e){return 1-Js.Bounce.Out(1-e)},Out:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},InOut:function(e){return e<.5?Js.Bounce.In(e*2)*.5:Js.Bounce.Out(e*2-1)*.5+.5}},generatePow:function(e=4){return e=e<Number.EPSILON?Number.EPSILON:e,e=e>1e4?1e4:e,{In:function(t){return t**e},Out:function(t){return 1-(1-t)**e},InOut:function(t){return t<.5?(t*2)**e/2:(1-(2-t*2)**e)/2+.5}}},random:function(e){return Math.random()},createStep:function(e){return function(t){return Math.floor(t*e)/e}},createNoisyEasing:function(e,t=.1){const n=1-t;return function(i){return t*Math.random()+n*e(i)}}},rl=Js,qr={Utils:{Linear:function(e,t,n){return(t-e)*n+e},Factorial:function(){const e=[1];return function(t){let n=1;if(e[t])return e[t];for(let i=t;i>1;i--)n*=i;return e[t]=n,n}}(),Bernstein:function(e,t){const n=qr.Utils.Factorial;return n(e)/n(t)/n(e-t)},CatmullRom:function(e,t,n,i,r){const s=(n-e)*.5,o=(i-t)*.5,a=r*r,l=r*a;return(2*t-2*n+s+o)*l+(-3*t+3*n-2*s-o)*a+s*r+t}},Linear:function(e,t){const n=e.length-1,i=n*t,r=Math.floor(i),s=qr.Utils.Linear;return t<0?s(e[0],e[1],i):t>1?s(e[n],e[n-1],n-i):s(e[r],e[r+1>n?n:r+1],i-r)},Bezier:function(e,t){let n=0;const i=e.length-1,r=Math.pow,s=qr.Utils.Bernstein;for(let o=0;o<=i;o++)n+=r(1-t,i-o)*r(t,o)*e[o]*s(i,o);return n},CatmullRom:function(e,t){const n=e.length-1;let i=n*t,r=Math.floor(i);const s=qr.Utils.CatmullRom;return e[0]===e[n]?(t<0&&(r=Math.floor(i=n*(1+t))),s(e[(r-1+n)%n],e[r],e[(r+1)%n],e[(r+2)%n],i-r)):t<0?e[0]-(s(e[0],e[0],e[1],e[1],-i)-e[0]):t>1?e[n]-(s(e[n],e[n],e[n-1],e[n-1],i-n)-e[n]):s(e[r?r-1:0],e[r],e[n<r+1?n:r+1],e[n<r+2?n:r+2],i-r)}},sl=qr;class Uh{_tweens={};_tweensAddedDuringUpdate={};getAll(){return Object.keys(this._tweens).map(t=>this._tweens[t])}removeAll(){this._tweens={}}add(t){this._tweens[t.getId()]=t,this._tweensAddedDuringUpdate[t.getId()]=t}remove(t){delete this._tweens[t.getId()],delete this._tweensAddedDuringUpdate[t.getId()]}update(t=Wi(),n=!1){let i=Object.keys(this._tweens);if(i.length===0)return!1;for(;i.length>0;){this._tweensAddedDuringUpdate={};for(let r=0;r<i.length;r++){const s=this._tweens[i[r]],o=!n;s&&s.update(t,o)===!1&&!n&&delete this._tweens[i[r]]}i=Object.keys(this._tweensAddedDuringUpdate)}return!0}}const ln=new Uh;class jg{constructor(t,n=ln){this._object=t,this._group=n}_id=Wr.nextId();_isPlaying=!1;_startTime=0;_delayTime=0;_durationTime=1e3;_isPaused=!1;_pauseStartTime=0;_initialRepeat=0;_repeat=0;_repeatDelayTime;_yoyo=!1;_reversed=!1;_valuesStart={};_valuesEnd={};_valuesStartRepeat={};_easingFunction=rl.Linear.None;_interpolationFunction=sl.Linear;_chainedTweens=[];_isChainStopped=!1;_onStartCallback;_onStartCallbackFired=!1;_onEveryStartCallback;_onEveryStartCallbackFired=!1;_onUpdateCallback;_onRepeatCallback;_onCompleteCallback;_onStopCallback;_goToEnd=!1;getId(){return this._id}isPlaying(){return this._isPlaying}isPaused(){return this._isPaused}to(t,n){return this._valuesEnd=Object.create(t),n!==void 0&&(this._durationTime=n),this}duration(t=1e3){return this._durationTime=t,this}start(t=Wi()){if(this._isPlaying)return this;if(this._group&&this._group.add(this),this._repeat=this._initialRepeat,this._reversed){this._reversed=!1;for(const n in this._valuesStartRepeat)this._swapEndStartRepeatValues(n),this._valuesStart[n]=this._valuesStartRepeat[n]}return this._isPlaying=!0,this._isPaused=!1,this._onStartCallbackFired=!1,this._onEveryStartCallbackFired=!1,this._isChainStopped=!1,this._startTime=t,this._startTime+=this._delayTime,this._setupProperties(this._object,this._valuesStart,this._valuesEnd,this._valuesStartRepeat),this}_setupProperties(t,n,i,r){for(const s in i){const o=t[s],a=Array.isArray(o),l=a?"array":typeof o,f=!a&&Array.isArray(i[s]);if(!(l==="undefined"||l==="function")){if(f){let p=i[s];if(p.length===0)continue;p=p.map(this._handleRelativeValue.bind(this,o)),i[s]=[o].concat(p)}if((l==="object"||a)&&o&&!f){n[s]=a?[]:{};for(const p in o)n[s][p]=o[p];r[s]=a?[]:{},this._setupProperties(o,n[s],i[s],r[s])}else typeof n[s]>"u"&&(n[s]=o),a||(n[s]*=1),f?r[s]=i[s].slice().reverse():r[s]=n[s]||0}}}stop(){return this._isChainStopped||(this._isChainStopped=!0,this.stopChainedTweens()),this._isPlaying?(this._group&&this._group.remove(this),this._isPlaying=!1,this._isPaused=!1,this._onStopCallback&&this._onStopCallback(this._object),this):this}end(){return this._goToEnd=!0,this.update(1/0),this}pause(t=Wi()){return this._isPaused||!this._isPlaying?this:(this._isPaused=!0,this._pauseStartTime=t,this._group&&this._group.remove(this),this)}resume(t=Wi()){return!this._isPaused||!this._isPlaying?this:(this._isPaused=!1,this._startTime+=t-this._pauseStartTime,this._pauseStartTime=0,this._group&&this._group.add(this),this)}stopChainedTweens(){for(let t=0,n=this._chainedTweens.length;t<n;t++)this._chainedTweens[t].stop();return this}group(t=ln){return this._group=t,this}delay(t=0){return this._delayTime=t,this}repeat(t=0){return this._initialRepeat=t,this._repeat=t,this}repeatDelay(t){return this._repeatDelayTime=t,this}yoyo(t=!1){return this._yoyo=t,this}easing(t=rl.Linear.None){return this._easingFunction=t,this}interpolation(t=sl.Linear){return this._interpolationFunction=t,this}chain(...t){return this._chainedTweens=t,this}onStart(t){return this._onStartCallback=t,this}onEveryStart(t){return this._onEveryStartCallback=t,this}onUpdate(t){return this._onUpdateCallback=t,this}onRepeat(t){return this._onRepeatCallback=t,this}onComplete(t){return this._onCompleteCallback=t,this}onStop(t){return this._onStopCallback=t,this}update(t=Wi(),n=!0){if(this._isPaused)return!0;let i,r;const s=this._startTime+this._durationTime;if(!this._goToEnd&&!this._isPlaying){if(t>s)return!1;n&&this.start(t)}if(this._goToEnd=!1,t<this._startTime)return!0;this._onStartCallbackFired===!1&&(this._onStartCallback&&this._onStartCallback(this._object),this._onStartCallbackFired=!0),this._onEveryStartCallbackFired===!1&&(this._onEveryStartCallback&&this._onEveryStartCallback(this._object),this._onEveryStartCallbackFired=!0),r=(t-this._startTime)/this._durationTime,r=this._durationTime===0||r>1?1:r;const o=this._easingFunction(r);if(this._updateProperties(this._object,this._valuesStart,this._valuesEnd,o),this._onUpdateCallback&&this._onUpdateCallback(this._object,r),r===1)if(this._repeat>0){isFinite(this._repeat)&&this._repeat--;for(i in this._valuesStartRepeat)!this._yoyo&&typeof this._valuesEnd[i]=="string"&&(this._valuesStartRepeat[i]=this._valuesStartRepeat[i]+parseFloat(this._valuesEnd[i])),this._yoyo&&this._swapEndStartRepeatValues(i),this._valuesStart[i]=this._valuesStartRepeat[i];return this._yoyo&&(this._reversed=!this._reversed),this._repeatDelayTime!==void 0?this._startTime=t+this._repeatDelayTime:this._startTime=t+this._delayTime,this._onRepeatCallback&&this._onRepeatCallback(this._object),this._onEveryStartCallbackFired=!1,!0}else{this._onCompleteCallback&&this._onCompleteCallback(this._object);for(let a=0,l=this._chainedTweens.length;a<l;a++)this._chainedTweens[a].start(this._startTime+this._durationTime);return this._isPlaying=!1,!1}return!0}_updateProperties(t,n,i,r){for(const s in i){if(n[s]===void 0)continue;const o=n[s]||0;let a=i[s];const l=Array.isArray(t[s]),f=Array.isArray(a);!l&&f?t[s]=this._interpolationFunction(a,r):typeof a=="object"&&a?this._updateProperties(t[s],o,a,r):(a=this._handleRelativeValue(o,a),typeof a=="number"&&(t[s]=o+(a-o)*r))}}_handleRelativeValue(t,n){return typeof n!="string"?n:n.charAt(0)==="+"||n.charAt(0)==="-"?t+parseFloat(n):parseFloat(n)}_swapEndStartRepeatValues(t){const n=this._valuesStartRepeat[t],i=this._valuesEnd[t];typeof i=="string"?this._valuesStartRepeat[t]=this._valuesStartRepeat[t]+parseFloat(i):this._valuesStartRepeat[t]=i,this._valuesEnd[t]=n}}const Hg=jg,Ug=Wr.nextId,Wg=ln.getAll.bind(ln),qg=ln.removeAll.bind(ln),Yg=ln.add.bind(ln),Xg=ln.remove.bind(ln),Kg=ln.update.bind(ln),gt={now:Wi,Sequence:Wr,Easing:rl,Interpolation:sl,Group:Uh,Tween:Hg,nextId:Ug,getAll:Wg,removeAll:qg,add:Yg,remove:Xg,update:Kg};function Wh(e){switch(e){case"linear":return[0,0,1,1];case"ease":return[.25,.1,.25,1];case"ease-in":return[.42,0,1,1];case"ease-in-out":return[.42,0,.58,1];case"ease-out":return[0,0,.58,1]}}const Zg={attributeName:["display"],values:[["block","block"]]},Ze={easeName:"linear",begin:0,dur:300,repeatCount:1,direction:"normal",fill:"freeze",keyTimes:[0,1]};class we{currentAnimateName;objects=[];actions=[];constructor(){}hasObjects(){return this.objects.length>0}fromDOM(t){return Array.isArray(t)||(t=[t]),this.objects=[],t.forEach(n=>{const i=Gh(n);this.objects.push({width:parseFloat(i.css("width")),height:parseFloat(i.css("height")),dom:i,el:n,originCSSObject:i.css()})}),this}toCSS(t,...n){if(!this.hasObjects())return;switch(this.currentAnimateName=t,this[t](...n),this.objects[0].dom?.parent().css({position:"relative",perspective:"1000px",overflow:"hidden"}),t){default:this.objects.forEach((s,o)=>{s.dom?.css({position:"absolute","z-index":String(1e3+o),"transform-style":"preserve-3d","backface-visibility":"hidden"})});break}let i=0;const r=()=>{this.actions.forEach((s,o)=>{const a=this.objects[s.objectIndex];let l=[],f=[];Array.isArray(s.attributeName)?(l=s.attributeName,f=s.values):s.attributeName&&(l=[s.attributeName],f=[s.values]);const p=s.keyTimes.length,m=Br(a.dom?.css("transform")??"");let y=s.begin;s.keyTimes.forEach((_,N)=>{const C={_matrix:m};l.forEach((A,V)=>{const I=f[V][s.direction=="reverse"?p-N-1:N];we.setCSSObjectTransformUseMatrix(A,I,C)}),N==0?a.dom?.css(Object.assign(C,{transition:""})):(setTimeout(()=>{a.dom?.css(Object.assign(C,{transition:`all ${s.realKeyTimes[N]}ms cubic-bezier(${s.keySplines[N-1].join(",")})`}))},y),y+=s.realKeyTimes[N])}),setTimeout(()=>{s.fill==="remove"&&a.dom?.css(a.originCSSObject??{}),o==this.actions.length-1&&(typeof s.repeatCount=="number"&&++i<s.repeatCount||s.repeatCount=="infinite")&&requestAnimationFrame(()=>{this.currentAnimateName===t&&r()})},s.begin+s.dur)})};r()}static isRunningGlobalTween=!1;static runGlobalTween(t){we.isRunningGlobalTween||rn.register(()=>(we.isRunningGlobalTween=gt.update(t?.()),we.isRunningGlobalTween))}static toTween(t,n,i){const r=i?.onUpdate??(()=>{}),s=i?.onStart??(()=>{}),o=i?.onComplete??(()=>{}),a=i?.duration??1e3,l=i?.delay??0,f=i?.easeFunction??gt.Easing.Linear.None,p=i?.repeat??0,m=i?.yoyo??!1,y=new gt.Tween(t).to(n,a).delay(l).easing(f).repeat(p).yoyo(m).onStart(s).onUpdate(function(_,N){r(_,N)}).onComplete(o);return i?.interpolationFunction&&y.interpolation(i.interpolationFunction),{tween:y,startAuto:_=>{y.start(_?.()),rn.register(()=>{const N=y.update(_?.());if(i?.precision){let C=!0;for(let A in t)va(t[A],n[A],i.precision)||(C=!1);return C?!1:N}return N})}}}static toTweenCSS(t,n,i,r){const s=Gh(t);s?.parent().css({overflow:"hidden","transform-style":"preserve-3d",perspective:"1000px","backface-visibility":"hidden"});const o={_matrix:Br(s?.css("transform")??"")},a=r?.onUpdate??(()=>{});return we.toTween(n,i,Object.assign(r??{},{onUpdate:(l,f)=>{for(let p in l)we.setCSSObjectTransformUseMatrix(p,l[p],o);t.style.transform=o.transform,a(l,f)}}))}static setCSSObjectTransformUseMatrix(t,n,i={}){switch(t){case"translate":i._matrix.translate(n[0]??0,n[1]??0);break;case"translateTo":i._matrix.translateTo(n[0]??0,n[1]??0);break;case"translateX":i._matrix.translateX(n??0);break;case"translateXTo":i._matrix.translateXTo(n??0);break;case"translateY":i._matrix.translateY(n??0);break;case"translateYTo":i._matrix.translateYTo(n??0);break;case"translateZ":i._matrix.translateZ(n??0);break;case"translateZTo":i._matrix.translateZTo(n??0);break;case"translate3d":i._matrix.translate3d(n[0]??0,n[1]??0,n[2]??0);break;case"translate3dTo":i._matrix.translate3dTo(n[0]??0,n[1]??0,n[2]??0);break;case"rotate":typeof n=="number"?i._matrix.rotate(n??0):i._matrix.rotate(n[0]??0,n[1]??0,n[2]??0);break;case"rotateTo":typeof n=="number"?i._matrix.rotateTo(n??0):i._matrix.rotateTo(n[0]??0,n[1]??0,n[2]??0);break;case"rotateX":i._matrix.rotateX(n??0);break;case"rotateXTo":i._matrix.rotateXTo(n??0);break;case"rotateY":i._matrix.rotateY(n??0);break;case"rotateYTo":i._matrix.rotateYTo(n??0);break;case"rotateZ":i._matrix.rotateZ(n??0);break;case"rotateZTo":i._matrix.rotateZTo(n??0);break;case"rotate3d":i._matrix.rotate3d(n[0]??0,n[1]??0,n[2]??0);break;case"rotate3dTo":i._matrix.rotate3dTo(n[0]??0,n[1]??0,n[2]??0);break;case"scale":typeof n=="number"?i._matrix.scale(n??1):i._matrix.scale(n[0]??1,n[1]??1,n[2]??0,n[3]??0);break;case"scaleTo":typeof n=="number"?i._matrix.scaleTo(n??1):i._matrix.scaleTo(n[0]??1,n[1]??1,n[2]??0,n[3]??0);break;case"scaleX":i._matrix.scaleX(n??1);break;case"scaleXTo":i._matrix.scaleXTo(n??1);break;case"scaleY":i._matrix.scaleY(n??1);break;case"scaleYTo":i._matrix.scaleYTo(n??1);break;case"scaleZ":i._matrix.scaleZ(n??1);break;case"scaleZTo":i._matrix.scaleZTo(n??1);break;case"scale3d":i._matrix.scale3d(n??1);break;case"scale3dTo":i._matrix.scale3dTo(n??1);break;case"skew":typeof n=="number"?i._matrix.skew(n??0):i._matrix.skew(n[0]??0,n[1]??0);break;case"skewTo":typeof n=="number"?i._matrix.skewTo(n??0):i._matrix.skewTo(n[0]??0,n[1]??0);break;case"skewX":i._matrix.skewX(n??0);break;case"skewXTo":i._matrix.skewXTo(n??1);break;case"skewY":i._matrix.skewY(n??0);break;case"skewYTo":i._matrix.skewYTo(n??1);break;case"skewZ":case"skewZTo":case"skew3d":case"skew3dTo":break;default:Object.assign(i,{[t]:`${n??""}`});break}return Object.assign(i,{transform:i._matrix.toString()}),i}_addAction(t,n=!1){return this.actions=n?[]:this.actions,Array.isArray(t)||(t=[t]),t.forEach(i=>{this.actions.push(Object.assign(i,{realKeyTimes:i.keyTimes.map(r=>i.dur*r)}))}),this}_addAnimate(t=Zg,n=Ze,i=0,r=!1){const s=n.keyTimes??[0,1],o=[];return s.forEach((a,l)=>{l>0&&o.push(Wh(n.easeName??"linear"))}),this._addAction({objectIndex:i,attributeName:t.attributeName,values:t.values,begin:n.begin??0,dur:n.dur??300,keyTimes:s,keySplines:o,repeatCount:n.repeatCount??1,direction:n.direction??"normal",fill:n.fill??"freeze"},r),this}_predefinedAnimate(t,n,i,r,s=Ze,o=this.objects.length-1){let a=!0,l=!1,f=!1,p=!1;const m=this.objects.length;o=(o+m)%m;const y=(o-1+m)%m,_=(o+1+m)%m,N=this.objects[o],C=this.objects[y],A=this.objects[_];if(C&&y!==o){const V=t(C);V&&(this._addAnimate(V,s,y,a),a=!1,l=!0)}if(N){const V=n(N);V&&(this._addAnimate(V,s,o,a),a=!1,f=!0)}if(A&&_!==o){const V=i(A);V&&(this._addAnimate(V,s,_,a),a=!1,p=!0)}this.objects.forEach((V,I)=>{if(!(I==y&&l||I==o&&f||I==_&&p)){const M=r(V);M&&(this._addAnimate(M,s,I,a),a=!1)}})}flip(t=Ze,n=this.objects.length-1){const i=n-1,r=this.objects[i],s=this.objects[n],o=Br(s.dom?.css("transform")??""),a=o.clone();r.dom?.show(),r.dom?.css("opacity","1");const l=r.el?.getBoundingClientRect();r.dom?.css("opacity","0"),s.dom?.show(),s.dom?.css("opacity","1");const f=s.el?.getBoundingClientRect(),p=r.dom?.css("background-color"),m=s.dom?.css("background-color");a.translate((l?.left??0)-(f?.left??0),(l?.top??0)-(f?.top??0)),a.scale((l?.width??1)/(f?.width??1),(l?.height??1)/(f?.height??1));const y={transform:a.toString(),transition:""};p&&Object.assign(y,{"background-color":p}),s.dom?.css(y);const _={transform:o.toString(),transition:`all ${t.dur}ms cubic-bezier(${Wh(t.easeName??"linear").join(",")})`};m&&Object.assign(_,{"background-color":m}),setTimeout(()=>{s.dom?.css(_)},t.begin)}slideLeft(t=Ze,n=this.objects.length-1){this._predefinedAnimate(i=>({attributeName:["translateTo"],values:[[[0,0],[-i.width,0]]]}),i=>({attributeName:["opacity","translateTo"],values:[[1,1],[[i.width,0],[0,0]]]}),i=>{},i=>({attributeName:["translateTo"],values:[[[-i.width,0],[-i.width,0]]]}),t,n)}slideRight(t=Ze,n=this.objects.length-1){this._predefinedAnimate(i=>{},i=>({attributeName:["opacity","translateTo"],values:[[1,1],[[-i.width,0],[0,0]]]}),i=>({attributeName:["translateTo"],values:[[[0,0],[i.width,0]]]}),i=>({attributeName:["translateTo"],values:[[[i.width,0],[i.width,0]]]}),t,n)}slideDown(t=Ze,n=this.objects.length-1){this._predefinedAnimate(i=>({attributeName:["translateTo"],values:[[[0,0],[0,i.height]]]}),i=>({attributeName:["opacity","translateTo"],values:[[1,1],[[0,-i.height],[0,0]]]}),i=>{},i=>({attributeName:["translateTo"],values:[[[0,i.height],[0,i.height]]]}),t,n)}slideUp(t=Ze,n=this.objects.length-1){this._predefinedAnimate(i=>({attributeName:["translateTo"],values:[[[0,0],[0,-i.height]]]}),i=>({attributeName:["opacity","translateTo"],values:[[1,1],[[0,i.height],[0,0]]]}),i=>{},i=>({attributeName:["translateTo"],values:[[[0,-i.height],[0,-i.height]]]}),t,n)}flipLeft(t=Ze,n=this.objects.length-1){this._predefinedAnimate(i=>({attributeName:["opacity","rotateYTo"],values:[[1,1],[0,180]]}),i=>({attributeName:["opacity","rotateYTo"],values:[[1,1],[-180,0]]}),i=>{},i=>({attributeName:["opacity"],values:[[0,0]]}),t,n)}flipRight(t=Ze,n=this.objects.length-1){this._predefinedAnimate(i=>({attributeName:["opacity","rotateYTo"],values:[[1,1],[0,-180]]}),i=>({attributeName:["opacity","rotateYTo"],values:[[1,1],[180,0]]}),i=>{},i=>({attributeName:["opacity"],values:[[0,0]]}),t,n)}flipDown(t=Ze,n=this.objects.length-1){this._predefinedAnimate(i=>({attributeName:["opacity","rotateXTo"],values:[[1,1],[0,-180]]}),i=>({attributeName:["opacity","rotateXTo"],values:[[1,1],[180,0]]}),i=>{},i=>({attributeName:["opacity"],values:[[0,0]]}),t,n)}flipUp(t=Ze,n=this.objects.length-1){this._predefinedAnimate(i=>({attributeName:["opacity","rotateXTo"],values:[[1,1],[0,180]]}),i=>({attributeName:["opacity","rotateXTo"],values:[[1,1],[-180,0]]}),i=>{},i=>({attributeName:["opacity"],values:[[0,0]]}),t,n)}popIn(t=Ze,n=this.objects.length-1){this._predefinedAnimate(i=>{},i=>({attributeName:["translateTo","scaleTo","opacity"],values:[[[0,0],[0,0]],[.8,1],[0,1]]}),i=>{},i=>({attributeName:["opacity"],values:[[0,0]]}),t,n)}popOut(t=Ze,n=this.objects.length-1){this._predefinedAnimate(i=>{},i=>({attributeName:["translateTo","scaleTo","opacity"],values:[[[0,0],[0,0]],[1,1.2],[1,0]]}),i=>{},i=>({attributeName:["opacity"],values:[[0,0]]}),t,n)}rotate(t=Ze,n=this.objects.length-1){Object.assign(t,{keyTimes:[0,1]});const i=t.degree??360;this._predefinedAnimate(r=>{},r=>({attributeName:["opacity","rotate"],values:[[1,1],[0,i]]}),r=>{},r=>({attributeName:["opacity"],values:[[0,0]]}),t,n)}}class qi extends Cn{app;rotate;scale;isMouseDownInBounds=!1;removeCaptureMove;constructor(t,n){super({x:0,y:0,...n}),this.rotate=n?.rotate??0,this.scale=n?.scale??1,this.app=t,this.removeCaptureMove=this.app.captureMove({start:i=>{this.isMouseDownInBounds=this.app.ctx?.isPointInPath(this.app.mousePoint.x,this.app.mousePoint.y)||this.getBoundRect().isContainPoint(this.app.mousePoint)},end:i=>{this.isMouseDownInBounds=!1},move:i=>{}})}destroy(){this.removeCaptureMove()}draw(t){if(this.app.ctx){if(this.app.ctx.save(),t?.followMouseMove&&(!va(this.x,this.app.mousePoint.x,5)||!va(this.y,this.app.mousePoint.y,5))&&(this.rotate=this.angleTo(this.app.mousePoint),this.followTo(this.app.mousePoint)),t?.dragMouseMove){if(this.app.container.style.cursor="grab",this.isMouseDownInBounds){this.app.container.style.cursor="grabbing",this.x=this.app.mousePoint.x,this.y=this.app.mousePoint.y;const n=this.getBoundRect();n.width&&n.height&&!this.radius&&(this.x-=this.getBoundRect().width/2,this.y-=this.getBoundRect().height/2)}}else this.app.container.style.cursor="default";t?.dragFreeEaseTo&&(this.isMouseDownInBounds||this.nextFrameEaseTo(new Cn({x:t.dragFreeEaseTo.targetX,y:t.dragFreeEaseTo.targetY}),{easing:t.dragFreeEaseTo?.easing??.05})),t?.extra?.(),this.app.ctx?.translate(this.x,this.y),this.app.ctx?.rotate(this.rotate),this.app.ctx?.scale(this.scale,this.scale),t?.shape(),this.app.ctx.lineWidth>0&&this.app.ctx.stroke(),this.app.ctx?.restore()}}}class Qg extends qi{constructor(t,n){super(t,n)}draw(t){super.draw({...t,extra:()=>{this.app.ctx&&(this.app.ctx.lineWidth=2,this.app.ctx.fillStyle="#ffff00",t?.extra?.())},shape:()=>{this.app.ctx&&(this.app.ctx.beginPath(),this.app.ctx.moveTo(-50,-25),this.app.ctx.lineTo(0,-25),this.app.ctx.lineTo(0,-50),this.app.ctx.lineTo(50,0),this.app.ctx.lineTo(0,50),this.app.ctx.lineTo(0,25),this.app.ctx.lineTo(-50,25),this.app.ctx.lineTo(-50,-25),this.app.ctx.closePath(),this.app.ctx.fill())}})}}class Yi extends qi{radius;constructor(t,n){super(t,n),this.radius=n?.radius??40}draw(t){super.draw({...t,extra:()=>{this.app.ctx&&(this.app.ctx.lineWidth=1,this.app.ctx.fillStyle="#ff0000",t?.extra?.())},shape:()=>{this.app.ctx&&(this.app.ctx.beginPath(),this.app.ctx.arc(0,0,this.radius,0,Math.PI*2,!0),this.app.ctx.closePath(),this.app.ctx.fill())}})}}class vn extends qi{toX;toY;c1x;c1y;c2x;c2y;constructor(t,n){super(t,n),this.toX=n?.toX??0,this.toY=n?.toY??0,this.c1x=n?.c1x??0,this.c1y=n?.c1y??0,this.c2x=n?.c2x??0,this.c2y=n?.c2y??0}getBoundRect(){if(this.rotate===0){const t=Math.min(this.x,this.toX),n=Math.min(this.y,this.toY),i=Math.max(this.x,this.toX),r=Math.max(this.y,this.toY);return new Ys({x:t,y:n,width:i-t,height:r-n})}else{const t=Math.sin(this.rotate),n=Math.cos(this.rotate),i=n*this.x-t*this.y,r=n*this.toX-t*this.toY,s=n*this.y+t*this.x,o=n*this.toY+t*this.toX;return new Ys({x:Math.min(i,r),y:Math.min(s,o),width:Math.max(i,r)-Math.min(i,r),height:Math.max(s,o)-Math.min(s,o)})}}draw(t){super.draw({...t,extra:()=>{this.app.ctx&&(this.app.ctx.lineWidth=1,this.app.ctx.strokeStyle="#eeeeee",t?.extra?.())},shape:()=>{this.app.ctx&&(this.app.ctx.beginPath(),this.app.ctx.moveTo(0,0),this.app.ctx.lineTo(this.toX-this.x,this.toY-this.y))}})}drawQuadratic(t){super.draw({...t,extra:()=>{this.app.ctx&&(this.app.ctx.lineWidth=1,this.app.ctx.strokeStyle="#eeeeee",t?.extra?.())},shape:()=>{this.app.ctx&&(this.app.ctx.beginPath(),this.app.ctx.moveTo(0,0),this.app.ctx.quadraticCurveTo(this.c1x-this.x,this.c1y-this.y,this.toX-this.x,this.toY-this.y))}})}drawQuadraticThrough(t){super.draw({...t,extra:()=>{this.app.ctx&&(this.app.ctx.lineWidth=1,this.app.ctx.strokeStyle="#eeeeee",t?.extra?.())},shape:()=>{if(!this.app.ctx)return;this.app.ctx.beginPath(),this.app.ctx.moveTo(0,0);const n=this.c1x*2-(this.x+this.toX)/2,i=this.c1y*2-(this.y+this.toY)/2;this.app.ctx.quadraticCurveTo(n-this.x,i-this.y,this.toX-this.x,this.toY-this.y)}})}drawQuadraticThroughCurve(t,n){super.draw({...n,extra:()=>{this.app.ctx&&(this.app.ctx.lineWidth=1,this.app.ctx.strokeStyle="#eeeeee",n?.extra?.())},shape:()=>{if(!this.app.ctx)return;const i=t.length;if(i<3)return new Error("points length must >= 3");const r=(t[0].x+t[i-1].x)/2,s=(t[0].y+t[i-1].y)/2;this.app.ctx.beginPath(),this.app.ctx.moveTo(r,s);let o=0;for(;o<i-1;o++){const a=(t[o].x+t[o+1].x)/2,l=(t[o].y+t[o+1].y)/2;this.app.ctx.quadraticCurveTo(t[o].x-this.x,t[o].y-this.y,a-this.x,l-this.y)}this.app.ctx.quadraticCurveTo(t[o].x-this.x,t[o].y-this.y,r-this.x,s-this.y)}})}drawQuadraticThroughCurveNotGood(t,n){super.draw({...n,extra:()=>{this.app.ctx&&(this.app.ctx.lineWidth=1,this.app.ctx.strokeStyle="#eeeeee",n?.extra?.())},shape:()=>{if(!this.app.ctx)return;const i=t.length;if(i<3)return new Error("points length must >= 3");this.app.ctx.beginPath(),this.app.ctx.moveTo(t[0].x,t[0].y);let r=1;for(;r<i-2;r++){const s=(t[r].x+t[r+1].x)/2,o=(t[r].y+t[r+1].y)/2;this.app.ctx.quadraticCurveTo(t[r].x-this.x,t[r].y-this.y,s-this.x,o-this.y)}this.app.ctx.quadraticCurveTo(t[r].x-this.x,t[r].y-this.y,t[r+1].x-this.x,t[r+1].y-this.y)}})}}class ol extends qi{width;height;borderRadius;rect;constructor(t,n){return super(t,n),this.width=n?.width??50,this.height=n?.height??50,this.borderRadius=n?.borderRadius??0,this.rect=new Ys({x:this.x,y:this.y,width:this.width,height:this.height}),new Proxy(this,{get:(r,s,o)=>Reflect.get(r,s,o),set:(r,s,o,a)=>{switch(s){case"x":case"y":case"width":case"height":this.rect[s]=o;break}return Reflect.set(r,s,o,a)}})}getBoundRect(){return this.rect}draw(t){super.draw({...t,extra:()=>{this.app.ctx&&(this.app.ctx.lineWidth=1,this.app.ctx.fillStyle="#ff0000",t?.extra?.())},shape:()=>{this.app.ctx&&(this.app.ctx.beginPath(),this.borderRadius<=0?this.app.ctx.rect(0,0,this.width,this.height):(this.app.ctx.moveTo(0,0+this.borderRadius),this.app.ctx.lineTo(0,0+this.height-this.borderRadius),this.app.ctx.quadraticCurveTo(0,0+this.height,0+this.borderRadius,0+this.height),this.app.ctx.lineTo(0+this.width-this.borderRadius,0+this.height),this.app.ctx.quadraticCurveTo(0+this.width,0+this.height,0+this.width,0+this.height-this.borderRadius),this.app.ctx.lineTo(0+this.width,0+this.borderRadius),this.app.ctx.quadraticCurveTo(0+this.width,0,0+this.width-this.borderRadius,0),this.app.ctx.lineTo(0+this.borderRadius,0),this.app.ctx.quadraticCurveTo(0,0,0,0+this.borderRadius)),this.app.ctx.closePath(),this.app.ctx.fill())}})}}class Jg extends qi{constructor(t,n){super(t,n)}draw(t){super.draw({...t,extra:()=>{this.app.ctx&&(this.app.ctx.lineWidth=0,this.app.ctx.fillStyle="rgb(200,80,80)",t?.extra?.())},shape:()=>{this.app.ctx&&(this.app.ctx.beginPath(),this.app.ctx.moveTo(4,24),this.app.ctx.lineTo(8,16),this.app.ctx.lineTo(14,10),this.app.ctx.lineTo(15,0),this.app.ctx.lineTo(9,-10),this.app.ctx.lineTo(2,0),this.app.ctx.lineTo(-2,0),this.app.ctx.lineTo(-9,-10),this.app.ctx.lineTo(-15,0),this.app.ctx.lineTo(-14,10),this.app.ctx.lineTo(-8,16),this.app.ctx.lineTo(-4,24),this.app.ctx.closePath(),this.app.ctx.fill())}})}}class qh extends qi{constructor(t,n){super(t,n)}draw(t){super.draw({...t,extra:()=>{this.app.ctx&&(this.app.ctx.lineWidth=0,this.app.ctx.fillStyle="rgb(150,150,150)",t?.extra?.())},shape:()=>{this.app.ctx&&(this.app.ctx.beginPath(),this.app.ctx.moveTo(0,0),this.app.ctx.bezierCurveTo(15,0,15,-40,5,-30),this.app.ctx.lineTo(0,0),this.app.ctx.bezierCurveTo(-15,0,-15,-40,-5,-30),this.app.ctx.lineTo(0,0),this.app.ctx.fill(),this.app.ctx.beginPath(),this.app.ctx.arc(0,0,15,0,Math.PI*2,!0),this.app.ctx.fill())}})}}class tv{map;constructor(t,n=120.619585,i=31.299379,r=18){this.map=new T.Map(t),this.map.centerAndZoom(new T.LngLat(n,i),r)}}const ev=Bt({__name:"Icon.ce",props:{icon:{default:"mdi-light:home"},color:{default:$t.colorPrimary}},setup(e){const t=e;return(n,i)=>(ft(),Tt("span",{class:"icon",style:Lt(["color: "+n.color])},[Vt(se(hh),{icon:t.icon,color:n.color},null,8,["icon","color"])],4))}}),nv=`.icon[data-v-b2d9b612]{display:inline-flex;justify-content:center;align-items:center;cursor:pointer;font-size:1em}
60
+ `,Ut=(e,t)=>{const n=e.__vccOpts||e;for(const[i,r]of t)n[i]=r;return n},Yh=Ut(ev,[["styles",[nv]],["__scopeId","data-v-b2d9b612"]]),iv=Bt({__name:"Icon",props:{icon:{default:"mdi-light:home"},color:{default:$t.colorPrimary}},setup(e){const t=e;return(n,i)=>(ft(),Tt("span",{class:"icon",style:Lt(["color: "+n.color])},[Vt(se(hh),{icon:t.icon,color:n.color},null,8,["icon","color"])],4))}}),u_="",Tn=Ut(iv,[["__scopeId","data-v-8789b4ce"]]),Xi=Ut(Bt({customOptions:{},inheritAttrs:!0,__name:"Button.ce",props:{label:{},icon:{},iconPosition:{default:"left"},isDisabled:{type:Boolean,default:!1},height:{default:"44px"},padding:{default:"20px"},fontSize:{default:"14px"},borderRadius:{default:"4px"},stylePattern:{default:"fullfilled"},borderColor:{},bgColor:{},fontColor:{}},emits:["ceClick","click"],setup(e,{expose:t,emit:n}){const i=e,r=n,s=St(),o=St(i.borderColor),a=St(i.bgColor),l=St(i.fontColor),f=St(i.borderColor),p=St(i.bgColor);function m(I){switch(I){case"outline":o.value=i.borderColor??$t.colorPrimary,a.value=i.bgColor??$t.colorGrayFF,l.value=i.fontColor??$t.colorPrimary,f.value=o.value,p.value=a.value;break;default:o.value=i.borderColor??$t.colorPrimary,a.value=i.bgColor??$t.colorPrimary,l.value=i.fontColor??$t.colorGrayFF,f.value=o.value,p.value=a.value;break}}oe(()=>i.stylePattern,()=>{m(i.stylePattern)},{immediate:!0});const y=St(i.isDisabled?"0.6":"1"),_=St(i.isDisabled?"not-allowed":"pointer");let N=!1;const C=()=>{i.isDisabled||(N=!0,o.value=$n(f.value,10),a.value=$n(p.value,10))},A=()=>{i.isDisabled||(N=!1,o.value=f.value,a.value=p.value)},V=()=>{i.isDisabled||(o.value=$n(f.value,-10),a.value=$n(p.value,-10),setTimeout(()=>{N?C():A()},150),r("ceClick"),r("click"))};return t({wrapper:s}),(I,M)=>(ft(),Tt("div",{ref_key:"wrapper",ref:s,class:"button",style:Lt([`opacity: ${y.value}`,`border: 1px solid ${o.value}`,`background-color: ${a.value}`,`color: ${l.value}`,`border-radius: ${i.borderRadius}`,`height: ${i.height}`,`line-height: ${i.height}`,`font-size: ${i.fontSize}`,`cursor: ${_.value}`,"user-select: none"]),onMouseover:C,onMouseleave:A,onClick:V},[J("label",{class:"label truncate",style:Lt({padding:"0 "+I.padding,cursor:_.value})},[ye(I.$slots,"default",{},()=>[I.icon&&I.iconPosition==="left"?(ft(),xe(Tn,{key:0,icon:I.icon,color:l.value,style:Lt({marginRight:se($t).gap4,cursor:_.value})},null,8,["icon","color","style"])):pe("",!0),J("span",{style:Lt({cursor:_.value})},re(I.label),5),I.icon&&I.iconPosition==="right"?(ft(),xe(Tn,{key:1,icon:I.icon,color:l.value,style:Lt({marginLeft:se($t).gap4,cursor:_.value})},null,8,["icon","color","style"])):pe("",!0)],!0)],4)],36))}}),[["styles",[`.button[data-v-411b77d9]{box-sizing:border-box;display:inline-flex;justify-content:center;align-items:center;z-index:0}.label[data-v-411b77d9]{display:inline-flex;justify-content:center;align-items:center}
61
+ `]],["__scopeId","data-v-411b77d9"]]),d_="",rv={class:"content-relative",style:{position:"relative",width:"100%",height:"100%"}},sv=Bt({customOptions:{},inheritAttrs:!0,__name:"Overlay",props:{visible:{type:Boolean},bgColor:{default:Hh($t.colorGray0,.25)},isGlobal:{type:Boolean,default:!0}},setup(e,{expose:t,emit:n}){const i=e;function r(s){s?(document.documentElement.style.overflow="hidden",document.body.style.overflow="hidden"):(document.documentElement.style.overflow="",document.body.style.overflow="")}return oe(()=>i.visible,()=>{r(i.visible)},{immediate:!0}),t({}),(s,o)=>i.visible?(ft(),Tt("div",{key:0,class:"overlay",style:Lt([{"z-index":"2000",inset:"0"},[`position: ${i.isGlobal?"fixed":"absolute"};`,"background-color: "+i.bgColor]])},[J("div",{class:"content-fixed",style:Lt([{"z-index":"2001",inset:"0","overflow-y":"auto"},[`position: ${i.isGlobal?"fixed":"absolute"};`]])},[J("div",rv,[ye(s.$slots,"default",{},void 0,!0)])],4)],4)):pe("",!0)}}),p_="",Ni=Ut(sv,[["__scopeId","data-v-f08aab15"]]),ov=Bt({customOptions:{Overlay:Ni},inheritAttrs:!0,__name:"Pop",props:{closeWhenClickOverlay:{type:Boolean,default:!0},directionFrom:{default:"bottom"},openDurTime:{default:200},closeDurTime:{default:150},isGlobal:{type:Boolean,default:!0}},emits:["open","close"],setup(e,{expose:t,emit:n}){const i=e,r=n,s=St();let o;const a=qe({}),l=qe({});oe(()=>i.directionFrom,()=>{switch(i.directionFrom){case"absolute":o="",a.display="block";break;case"top":o="slideDown",a.display="block",l.width="100%",l.top="0",l.left="0";break;case"left":o="slideRight",a.display="block",l.height="100%",l.top="0",l.left="0";break;case"right":o="slideLeft",a.display="block",l.height="100%",l.top="0",l.right="0";break;case"bottom":o="slideUp",a.display="block",l.width="100%",l.bottom="0",l.left="0";break;case"center":default:o="popIn",a.display="flex",a.justifyContent="center",a.alignItems="center";break}},{immediate:!0});const f=new we,p=(C=!0)=>{o&&(C?oe(s,()=>{s.value&&(f.fromDOM(s.value),f.toCSS(o,{easeName:"ease",dur:i.openDurTime}))},{once:!0}):f.toCSS(o,{easeName:"ease",dur:i.closeDurTime,direction:"reverse"}))},m=St(!1);function y(C){C.target.contains(s.value)&&i.closeWhenClickOverlay&&N()}function _(){m.value=!0,p(!0),r("open")}function N(){p(!1),r("close"),setTimeout(()=>{m.value=!1},i.closeDurTime)}return t({open:_,close:N}),(C,A)=>(ft(),xe(Ni,{visible:m.value,isGlobal:i.isGlobal},{default:te(()=>[J("div",{class:"pop-parent",style:Lt([{position:"relative",width:"100%",height:"100%"},a]),onClick:y},[J("div",{ref_key:"pop",ref:s,class:"pop",style:Lt([{position:"absolute"},l])},[ye(C.$slots,"default",{},void 0,!0)],4)],4)]),_:3},8,["visible","isGlobal"]))}}),m_="",Ve=Ut(ov,[["__scopeId","data-v-88fef783"]]),av={id:"page"},lv={id:"main"},cv={style:{height:"100%","background-color":"#ffffff"}},uv={style:{height:"100%","background-color":"#ffffff"}},Xh=Ut(Bt({customOptions:{Pop:Ve},inheritAttrs:!0,__name:"MobileLayout.ce",props:{designWidth:{default:750}},setup(e,{expose:t,emit:n}){ng(e.designWidth);const r=St(),s=St(),o=St(),a=St();return t({openLeft:()=>{r.value?.open()},closeLeft:()=>{r.value?.close()},openRight:()=>{s.value?.open()},closeRight:()=>{s.value?.close()}}),(y,_)=>(ft(),Tt("div",av,[J("header",{id:"header",ref_key:"refHeader",ref:o},[ye(y.$slots,"header",{},void 0,!0)],512),J("div",lv,[J("div",null,[ye(y.$slots,"main",{},void 0,!0)])]),J("footer",{id:"footer",ref_key:"refFooter",ref:a},[ye(y.$slots,"footer",{},void 0,!0)],512),Vt(Ve,{ref_key:"popLeftRef",ref:r,"direction-from":"left",isGlobal:!1},{default:te(()=>[J("div",cv,[ye(y.$slots,"left",{},void 0,!0)])]),_:3},512),Vt(Ve,{ref_key:"popRightRef",ref:s,"direction-from":"right",isGlobal:!1},{default:te(()=>[J("div",uv,[ye(y.$slots,"right",{},void 0,!0)])]),_:3},512)]))}}),[["styles",[`#page[data-v-7331747c]{width:100%;height:100%;position:relative;overflow:hidden;display:flex;flex-direction:column}#main[data-v-7331747c]{flex:1 1 auto;width:100%;overflow-y:scroll;display:flex;flex-direction:column}#main>div[data-v-7331747c]{flex:1 1 auto;width:100%}#main>div[data-v-7331747c]>:nth-child(1){min-height:100%}#header[data-v-7331747c],#footer[data-v-7331747c]{flex:0 0 auto}
62
+ `]],["__scopeId","data-v-7331747c"]]),hv={class:"content-relative",style:{position:"relative",width:"100%",height:"100%"}},fv=Bt({customOptions:{},inheritAttrs:!0,__name:"Overlay.ce",props:{visible:{type:Boolean},bgColor:{default:Hh($t.colorGray0,.25)},isGlobal:{type:Boolean,default:!0}},setup(e,{expose:t,emit:n}){const i=e;function r(s){s?(document.documentElement.style.overflow="hidden",document.body.style.overflow="hidden"):(document.documentElement.style.overflow="",document.body.style.overflow="")}return oe(()=>i.visible,()=>{r(i.visible)},{immediate:!0}),t({}),(s,o)=>i.visible?(ft(),Tt("div",{key:0,class:"overlay",style:Lt([{"z-index":"2000",inset:"0"},[`position: ${i.isGlobal?"fixed":"absolute"};`,"background-color: "+i.bgColor]])},[J("div",{class:"content-fixed",style:Lt([{"z-index":"2001",inset:"0","overflow-y":"auto"},[`position: ${i.isGlobal?"fixed":"absolute"};`]])},[J("div",hv,[ye(s.$slots,"default",{},void 0,!0)])],4)],4)):pe("",!0)}}),al=Ut(fv,[["styles",[""]],["__scopeId","data-v-a2310476"]]),Pi=Ut(Bt({customOptions:{Overlay:Ni},inheritAttrs:!0,__name:"Pop.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!0},directionFrom:{default:"bottom"},openDurTime:{default:200},closeDurTime:{default:150},isGlobal:{type:Boolean,default:!0}},emits:["open","close"],setup(e,{expose:t,emit:n}){const i=e,r=n,s=St();let o;const a=qe({}),l=qe({});oe(()=>i.directionFrom,()=>{switch(i.directionFrom){case"absolute":o="",a.display="block";break;case"top":o="slideDown",a.display="block",l.width="100%",l.top="0",l.left="0";break;case"left":o="slideRight",a.display="block",l.height="100%",l.top="0",l.left="0";break;case"right":o="slideLeft",a.display="block",l.height="100%",l.top="0",l.right="0";break;case"bottom":o="slideUp",a.display="block",l.width="100%",l.bottom="0",l.left="0";break;case"center":default:o="popIn",a.display="flex",a.justifyContent="center",a.alignItems="center";break}},{immediate:!0});const f=new we,p=(C=!0)=>{o&&(C?oe(s,()=>{s.value&&(f.fromDOM(s.value),f.toCSS(o,{easeName:"ease",dur:i.openDurTime}))},{once:!0}):f.toCSS(o,{easeName:"ease",dur:i.closeDurTime,direction:"reverse"}))},m=St(!1);function y(C){C.target.contains(s.value)&&i.closeWhenClickOverlay&&N()}function _(){m.value=!0,p(!0),r("open")}function N(){p(!1),r("close"),setTimeout(()=>{m.value=!1},i.closeDurTime)}return t({open:_,close:N}),(C,A)=>(ft(),xe(Ni,{visible:m.value,isGlobal:i.isGlobal},{default:te(()=>[J("div",{class:"pop-parent",style:Lt([{position:"relative",width:"100%",height:"100%"},a]),onClick:y},[J("div",{ref_key:"pop",ref:s,class:"pop",style:Lt([{position:"absolute"},l])},[ye(C.$slots,"default",{},void 0,!0)],4)],4)]),_:3},8,["visible","isGlobal"]))}}),[["styles",[""]],["__scopeId","data-v-2a84faee"]]),dv=Bt({customOptions:{},inheritAttrs:!0,__name:"Button",props:{label:{},icon:{},iconPosition:{default:"left"},isDisabled:{type:Boolean,default:!1},height:{default:"44px"},padding:{default:"20px"},fontSize:{default:"14px"},borderRadius:{default:"4px"},stylePattern:{default:"fullfilled"},borderColor:{},bgColor:{},fontColor:{}},emits:["ceClick","click"],setup(e,{expose:t,emit:n}){const i=e,r=n,s=St(),o=St(i.borderColor),a=St(i.bgColor),l=St(i.fontColor),f=St(i.borderColor),p=St(i.bgColor);function m(I){switch(I){case"outline":o.value=i.borderColor??$t.colorPrimary,a.value=i.bgColor??$t.colorGrayFF,l.value=i.fontColor??$t.colorPrimary,f.value=o.value,p.value=a.value;break;default:o.value=i.borderColor??$t.colorPrimary,a.value=i.bgColor??$t.colorPrimary,l.value=i.fontColor??$t.colorGrayFF,f.value=o.value,p.value=a.value;break}}oe(()=>i.stylePattern,()=>{m(i.stylePattern)},{immediate:!0});const y=St(i.isDisabled?"0.6":"1"),_=St(i.isDisabled?"not-allowed":"pointer");let N=!1;const C=()=>{i.isDisabled||(N=!0,o.value=$n(f.value,10),a.value=$n(p.value,10))},A=()=>{i.isDisabled||(N=!1,o.value=f.value,a.value=p.value)},V=()=>{i.isDisabled||(o.value=$n(f.value,-10),a.value=$n(p.value,-10),setTimeout(()=>{N?C():A()},150),r("ceClick"),r("click"))};return t({wrapper:s}),(I,M)=>(ft(),Tt("div",{ref_key:"wrapper",ref:s,class:"button",style:Lt([`opacity: ${y.value}`,`border: 1px solid ${o.value}`,`background-color: ${a.value}`,`color: ${l.value}`,`border-radius: ${i.borderRadius}`,`height: ${i.height}`,`line-height: ${i.height}`,`font-size: ${i.fontSize}`,`cursor: ${_.value}`,"user-select: none"]),onMouseover:C,onMouseleave:A,onClick:V},[J("label",{class:"label truncate",style:Lt({padding:"0 "+I.padding,cursor:_.value})},[ye(I.$slots,"default",{},()=>[I.icon&&I.iconPosition==="left"?(ft(),xe(Tn,{key:0,icon:I.icon,color:l.value,style:Lt({marginRight:se($t).gap4,cursor:_.value})},null,8,["icon","color","style"])):pe("",!0),J("span",{style:Lt({cursor:_.value})},re(I.label),5),I.icon&&I.iconPosition==="right"?(ft(),xe(Tn,{key:1,icon:I.icon,color:l.value,style:Lt({marginLeft:se($t).gap4,cursor:_.value})},null,8,["icon","color","style"])):pe("",!0)],!0)],4)],36))}}),b_="",ie=Ut(dv,[["__scopeId","data-v-a04d6936"]]),pv={class:"dialog-wrap"},mv={class:"dialog"},gv={key:0,class:"title"},vv={key:0,class:"title-inner truncate"},yv={class:"custom-content"},_v={key:1,class:"btns"},ll=Ut(Bt({customOptions:{Overlay:Ni,Pop:Ve,Icon:Tn,Button:ie},inheritAttrs:!0,__name:"Dialog.ce",props:{title:{default:"通知"},content:{default:"..."},showTitle:{type:Boolean,default:!0},showClose:{type:Boolean,default:!1},showCancel:{type:Boolean,default:!1},showConfirm:{type:Boolean,default:!0},closeWhenClickOverlay:{type:Boolean,default:!1},openDurTime:{default:200},closeDurTime:{default:150}},emits:["open","close","cancel","confirm"],setup(e,{expose:t,emit:n}){const i=e,r=n,s=St();function o(){s.value.open(),r("open")}function a(){s.value.close(),r("close")}function l(){a(),r("cancel")}function f(){a(),r("confirm")}return t({open:o,close:a}),(p,m)=>(ft(),xe(Ve,{ref_key:"popRef",ref:s,directionFrom:"center",closeWhenClickOverlay:i.closeWhenClickOverlay,openDurTime:i.openDurTime,closeDurTime:i.closeDurTime},{default:te(()=>[J("div",pv,[J("div",mv,[p.showTitle||p.showClose?(ft(),Tt("div",gv,[p.showTitle?(ft(),Tt("div",vv,re(p.title),1)):pe("",!0),p.showClose?(ft(),xe(Tn,{key:1,class:"close",icon:"ic:baseline-close",color:se($t).colorGrayCC,onClick:a},null,8,["color"])):pe("",!0)])):pe("",!0),J("div",yv,[ye(p.$slots,"default",{},()=>[ue(re(p.content),1)],!0)]),p.showCancel||p.showConfirm?(ft(),Tt("div",_v,[p.showCancel?(ft(),xe(ie,{key:0,onClick:l,class:"btn",bgColor:se($t).colorGrayE6,borderColor:se($t).colorGrayE6,fontColor:se($t).colorGray3,borderRadius:"0"},{default:te(()=>[ue(" 取消 ")]),_:1},8,["bgColor","borderColor","fontColor"])):pe("",!0),p.showConfirm?(ft(),xe(ie,{key:1,onClick:f,class:"btn",borderRadius:"0"},{default:te(()=>[ue(" 确定 ")]),_:1})):pe("",!0)])):pe("",!0)])])]),_:3},8,["closeWhenClickOverlay","openDurTime","closeDurTime"]))}}),[["styles",[`.dialog-wrap[data-v-98fe6558]{display:flex;justify-content:center;align-items:center}.dialog[data-v-98fe6558]{border-radius:8px;background-color:#fff;min-width:20em;max-width:50%;overflow:hidden}.title[data-v-98fe6558]{position:relative;font-size:20px;min-height:20px;margin-top:1em}.title-inner[data-v-98fe6558]{font-weight:700;min-height:20px;padding:0 2em;text-align:center}.close[data-v-98fe6558]{position:absolute;top:0;right:0;width:2em;height:100%;font-size:1.2em}.custom-content[data-v-98fe6558]{font-size:16px;padding:1em;word-break:break-all}.btns[data-v-98fe6558]{display:flex;justify-content:center}.btn[data-v-98fe6558]{flex:1 1 auto;border-radius:0}
63
+ `]],["__scopeId","data-v-98fe6558"]]),xv=Bt({__name:"SVGLoading.ce",props:{width:{default:"4em"},color:{default:$t.colorPrimary}},setup(e){const t=e;return(n,i)=>(ft(),Tt("svg",{viewBox:"25 25 50 50",style:Lt(["width: "+t.width])},[J("circle",{cx:"50",cy:"50",r:"20",style:Lt(["stroke: "+t.color])},null,4)],4))}}),bv=Ut(xv,[["styles",[`svg[data-v-98779112]{transform-origin:center;animation:rotate-98779112 2s linear infinite}circle[data-v-98779112]{fill:none;stroke-width:3;stroke-dasharray:1,200;stroke-dashoffset:0;stroke-linecap:round;animation:dash-98779112 1.5s ease-in-out infinite}@keyframes rotate-98779112{to{transform:rotate(360deg)}}@keyframes dash-98779112{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,200;stroke-dashoffset:-35px}to{stroke-dashoffset:-125px}}
64
+ `]],["__scopeId","data-v-98779112"]]),wv={class:"dialog-wrap"},Ev={class:"dialog"},Cv={key:0,class:"title"},Tv={key:0,class:"title-inner truncate"},kv={class:"custom-content"},Sv={key:1,class:"btns"},Nv=Bt({customOptions:{Overlay:Ni,Pop:Ve,Icon:Tn,Button:ie},inheritAttrs:!0,__name:"Dialog",props:{title:{default:"通知"},content:{default:"..."},showTitle:{type:Boolean,default:!0},showClose:{type:Boolean,default:!1},showCancel:{type:Boolean,default:!1},showConfirm:{type:Boolean,default:!0},closeWhenClickOverlay:{type:Boolean,default:!1},openDurTime:{default:200},closeDurTime:{default:150}},emits:["open","close","cancel","confirm"],setup(e,{expose:t,emit:n}){const i=e,r=n,s=St();function o(){s.value.open(),r("open")}function a(){s.value.close(),r("close")}function l(){a(),r("cancel")}function f(){a(),r("confirm")}return t({open:o,close:a}),(p,m)=>(ft(),xe(Ve,{ref_key:"popRef",ref:s,directionFrom:"center",closeWhenClickOverlay:i.closeWhenClickOverlay,openDurTime:i.openDurTime,closeDurTime:i.closeDurTime},{default:te(()=>[J("div",wv,[J("div",Ev,[p.showTitle||p.showClose?(ft(),Tt("div",Cv,[p.showTitle?(ft(),Tt("div",Tv,re(p.title),1)):pe("",!0),p.showClose?(ft(),xe(Tn,{key:1,class:"close",icon:"ic:baseline-close",color:se($t).colorGrayCC,onClick:a},null,8,["color"])):pe("",!0)])):pe("",!0),J("div",kv,[ye(p.$slots,"default",{},()=>[ue(re(p.content),1)],!0)]),p.showCancel||p.showConfirm?(ft(),Tt("div",Sv,[p.showCancel?(ft(),xe(ie,{key:0,onClick:l,class:"btn",bgColor:se($t).colorGrayE6,borderColor:se($t).colorGrayE6,fontColor:se($t).colorGray3,borderRadius:"0"},{default:te(()=>[ue(" 取消 ")]),_:1},8,["bgColor","borderColor","fontColor"])):pe("",!0),p.showConfirm?(ft(),xe(ie,{key:1,onClick:f,class:"btn",borderRadius:"0"},{default:te(()=>[ue(" 确定 ")]),_:1})):pe("",!0)])):pe("",!0)])])]),_:3},8,["closeWhenClickOverlay","openDurTime","closeDurTime"]))}}),T_="",Kh=Ut(Nv,[["__scopeId","data-v-002ae342"]]),Pv=Bt({__name:"SVGLoading",props:{width:{default:"4em"},color:{default:$t.colorPrimary}},setup(e){const t=e;return(n,i)=>(ft(),Tt("svg",{viewBox:"25 25 50 50",style:Lt(["width: "+t.width])},[J("circle",{cx:"50",cy:"50",r:"20",style:Lt(["stroke: "+t.color])},null,4)],4))}}),k_="",Zh=Ut(Pv,[["__scopeId","data-v-29f8de14"]]),Ov={class:"loading"},Iv={class:"icon"},Mv={key:0,class:"content"},Qh=Ut(Bt({customOptions:{Overlay:Ni,Pop:Ve,Dialog:Kh,SVGLoading:Zh},inheritAttrs:!0,__name:"DialogLoading.ce",props:{content:{},closeWhenClickOverlay:{type:Boolean,default:!1},openDurTime:{default:200},closeDurTime:{default:150}},emits:["open","close"],setup(e,{expose:t,emit:n}){const i=e,r=n,s=St();function o(){s.value.open(),r("open")}function a(){s.value.close(),r("close")}return t({open:o,close:a}),(l,f)=>(ft(),xe(Kh,{ref_key:"dialogRef",ref:s,showConfirm:!1,showTitle:!1,closeWhenClickOverlay:i.closeWhenClickOverlay,openDurTime:i.openDurTime,closeDurTime:i.closeDurTime},{default:te(()=>[J("div",Ov,[J("div",Iv,[ye(l.$slots,"default",{},()=>[Vt(Zh)],!0)]),l.content?(ft(),Tt("div",Mv,re(l.content),1)):pe("",!0)])]),_:3},8,["closeWhenClickOverlay","openDurTime","closeDurTime"]))}}),[["styles",[`.loading[data-v-f95be0da]{display:flex;flex-direction:column;justify-content:center;align-items:center}.icon[data-v-f95be0da]{padding:2em 0}.content[data-v-f95be0da]{font-size:1em;margin-top:-1em;margin-bottom:1em}
65
+ `]],["__scopeId","data-v-f95be0da"]]),Av=["onClick","value"],Dv=Ut(Bt({customOptions:{Icon:Tn,Button:ie},__name:"Select.ce",props:{options:{},initIndex:{default:0},fontSize:{default:"14px"}},emits:["change"],setup(e,{emit:t}){const n=e,i=t,r=function(){return{"--select-option-bg-color":$t.colorGrayFF,"--select-option-bg-color-hover":$t.colorGrayF5}},s=St(!1),o=St(n.initIndex);oe(o,function(){i("change",n.options[o.value])});function a(){s.value=!s.value}function l(f){o.value=f,s.value=!1}return(f,p)=>(ft(),Tt("div",{class:"wrap",style:Lt(["font-size:"+f.fontSize])},[J("div",{onClick:a},[ye(f.$slots,"button",{selectedIndex:o.value},()=>[Vt(ie,{icon:"carbon:chevron-sort",iconPosition:"right",label:f.options[o.value],style:{width:"100%"}},null,8,["label"])],!0)]),Xo(J("div",{class:"options",style:Lt({border:"1px solid "+se($t).colorGrayCC})},[(ft(!0),Tt(ae,null,Pe(f.options,(m,y)=>(ft(),Tt("div",{onClick:_=>l(y),class:"option",key:y,value:y,style:Lt({borderTop:(y==0?"0":"1px")+" solid "+se($t).colorGrayCC})},[J("div",{class:"option-inner",style:r},[ye(f.$slots,"default",{item:m,index:y},()=>[J("span",null,re(m),1),y==o.value?(ft(),xe(Tn,{key:0,icon:"mingcute:check-fill",class:"icon"})):pe("",!0)],!0)])],12,Av))),128))],4),[[As,s.value]])],4))}}),[["styles",[`.wrap[data-v-29eaf57d]{display:inline-block;position:relative}.button[data-v-29eaf57d]{position:relative;width:100%;border-width:0;display:flex;justify-content:center;padding:0}.options[data-v-29eaf57d]{position:relative;width:100%;text-align:center;margin:0;padding:0;box-sizing:border-box;background-color:#fff}.option[data-v-29eaf57d]{cursor:pointer}.option-inner[data-v-29eaf57d]{padding:.5em 1em .5em .5em;display:flex;justify-content:center;align-items:center;position:relative;background-color:var(--select-option-bg-color)}.option-inner[data-v-29eaf57d]:hover{background-color:var(--select-option-bg-color-hover)}.icon[data-v-29eaf57d]{position:absolute;right:.5em;top:50%;transform:translateY(-50%)}
66
+ `]],["__scopeId","data-v-29eaf57d"]]),Lv=Bt({__name:"Switch.ce",props:{init:{type:Boolean,default:!1},width:{default:"52px"},height:{default:"32px"},padding:{default:"4px"},colorPrimary:{default:$t.colorPrimary},colorBgOn:{default:$t.colorGrayEF},colorBgOff:{default:$t.colorGrayF5}},emits:["change"],setup(e,{emit:t}){const n=e,i=Lr(n.width),r=Lr(n.height),s=Lr(n.padding),o=r.number-s.number*2+r.suffix,a=n.padding,l=i.number-Lr(a).number-Lr(o).number+i.suffix,f=t,p=St(n.init);oe(p,function(){f("change",p.value)});function m(){p.value=!p.value}return(y,_)=>(ft(),Tt("div",{class:"switch",onClick:m,style:Lt(["width: "+n.width,"height: "+n.height,"background-color: "+(p.value?n.colorBgOn:n.colorBgOff)])},[J("span",{class:"round",style:Lt(["width: "+o,"height: "+o,"background-color: "+(p.value?n.colorPrimary:se($n)(n.colorPrimary,30)),"transform: translate("+(p.value?l:se(a))+", 0)"])},null,4)],4))}}),Rv=Ut(Lv,[["styles",[`.switch[data-v-3e04e7d9]{position:relative;display:inline-flex;align-items:center;flex-shrink:0;cursor:pointer;border-radius:9999px;box-sizing:border-box;transition:all .2s cubic-bezier(.4,0,.2,1)}.round[data-v-3e04e7d9]{pointer-events:none;display:inline-block;box-sizing:border-box;border-radius:9999px;transition:all .2s cubic-bezier(.4,0,.2,1)}
67
+ `]],["__scopeId","data-v-3e04e7d9"]]),Fv={class:"wrap"},$v=["onClick"],Vv=["stroke","fill"],zv=["stroke","fill"],Bv=["stroke"],Gv=Bt({customOptions:{},__name:"RadioGroup.ce",props:{options:{},initIndexs:{},isRounded:{type:Boolean,default:!0},isFullfilled:{type:Boolean,default:!1},colorPath:{default:$t.colorPrimary},colorBg:{default:$t.colorGrayFF},colorBorder:{default:$t.colorGrayCC},fontSize:{default:$t.fontSize14},itemWidth:{default:"20px"},itemPadding:{default:"10px"},labelPadding:{default:"2px"}},emits:["change"],setup(e,{emit:t}){const n=e,i=t;let r=St(n.initIndexs??0);oe(r,function(){i("change",n.options[r.value])});const s=function(o){r.value=o};return(o,a)=>(ft(),Tt("div",Fv,[(ft(!0),Tt(ae,null,Pe(o.options,(l,f)=>(ft(),Tt("span",{class:"item",key:f,onClick:p=>s(f),style:Lt(["margin-left:"+(f>0?n.itemPadding:0)])},[ye(o.$slots,"default",{label:l,index:f},()=>[(ft(),Tt("svg",{viewBox:"0 0 24 24",fill:"none",class:"icon",style:Lt(["margin-right:"+n.labelPadding,"width:"+n.itemWidth])},[n.isRounded?pe("",!0):(ft(),Tt("rect",{key:0,x:"0",y:"0",width:"22",height:"22",stroke:o.isFullfilled&&se(r)===f?o.colorPath:o.colorBorder,"strke-width":"1",fill:o.isFullfilled&&se(r)===f?o.colorPath:o.colorBg,"fill-opacity":1},null,8,Vv)),n.isRounded?(ft(),Tt("circle",{key:1,cx:"12",cy:"12",r:"11",stroke:o.isFullfilled&&se(r)===f?o.colorPath:o.colorBorder,"strke-width":"1",fill:o.isFullfilled&&se(r)===f?o.colorPath:o.colorBg,"fill-opacity":1},null,8,zv)):pe("",!0),Xo(J("path",{d:"M7 13l3 3 7-7",stroke:o.isFullfilled?o.colorBg:o.colorPath,"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Bv),[[As,se(r)===f]])],4)),J("span",{style:Lt(["font-size:"+n.fontSize])},re(l),5)],!0)],12,$v))),128))]))}}),jv=Ut(Gv,[["styles",[`.wrap[data-v-35baba24]{display:inline-block;position:relative}.item[data-v-35baba24]{display:inline-flex;justify-content:flex-start;align-items:center;cursor:pointer}.icon[data-v-35baba24]{flex:0 0 auto;box-sizing:border-box;display:inline-flex;justify-content:flex-start;align-items:center;transition:border-color .2s ease-in-out,background-color .2s ease-in-out}
68
+ `]],["__scopeId","data-v-35baba24"]]),Hv={class:"wrap"},Uv=["onClick"],Wv=["stroke","fill"],qv=["stroke","fill"],Yv=["stroke"],Xv=Bt({customOptions:{},__name:"CheckboxGroup.ce",props:{options:{},initIndexs:{},isRounded:{type:Boolean,default:!1},isFullfilled:{type:Boolean,default:!1},colorPath:{default:$t.colorPrimary},colorBg:{default:$t.colorGrayFF},colorBorder:{default:$t.colorGrayCC},fontSize:{default:$t.fontSize14},itemWidth:{default:"20px"},itemPadding:{default:"10px"},labelPadding:{default:"2px"}},emits:["change"],setup(e,{emit:t}){const n=e,i=t;let r=qe(n.initIndexs??[0]);oe(r,function(){i("change",r.map(o=>n.options[o]))});const s=function(o){const a=r.findIndex(l=>l===o);a>=0?r.splice(a,1):r.push(o)};return(o,a)=>(ft(),Tt("div",Hv,[(ft(!0),Tt(ae,null,Pe(o.options,(l,f)=>(ft(),Tt("span",{class:"item",key:f,onClick:p=>s(f),style:Lt(["margin-left:"+(f>0?n.itemPadding:0)])},[ye(o.$slots,"default",{label:l,index:f},()=>[(ft(),Tt("svg",{viewBox:"0 0 24 24",fill:"none",class:"icon",style:Lt(["margin-right:"+n.labelPadding,"width:"+n.itemWidth])},[n.isRounded?pe("",!0):(ft(),Tt("rect",{key:0,x:"0",y:"0",width:"22",height:"22",stroke:o.isFullfilled&&se(r).findIndex(p=>p===f)>=0?o.colorPath:o.colorBorder,"strke-width":"1",fill:o.isFullfilled&&se(r).findIndex(p=>p===f)>=0?o.colorPath:o.colorBg,"fill-opacity":1},null,8,Wv)),n.isRounded?(ft(),Tt("circle",{key:1,cx:"12",cy:"12",r:"11",stroke:o.isFullfilled&&se(r).findIndex(p=>p===f)>=0?o.colorPath:o.colorBorder,"strke-width":"1",fill:o.isFullfilled&&se(r).findIndex(p=>p===f)>=0?o.colorPath:o.colorBg,"fill-opacity":1},null,8,qv)):pe("",!0),Xo(J("path",{d:"M7 13l3 3 7-7",stroke:o.isFullfilled?o.colorBg:o.colorPath,"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Yv),[[As,se(r).findIndex(p=>p===f)>=0]])],4)),J("span",{style:Lt(["font-size:"+n.fontSize])},re(l),5)],!0)],12,Uv))),128))]))}}),Kv=Ut(Xv,[["styles",[`.wrap[data-v-784ff4be]{display:inline-block;position:relative}.item[data-v-784ff4be]{display:inline-flex;justify-content:flex-start;align-items:center;cursor:pointer}.icon[data-v-784ff4be]{flex:0 0 auto;box-sizing:border-box;display:inline-flex;justify-content:flex-start;align-items:center;transition:border-color .2s ease-in-out,background-color .2s ease-in-out}
69
+ `]],["__scopeId","data-v-784ff4be"]]),Zv=(e=>(wr("data-v-8d198707"),e=e(),Er(),e))(()=>J("div",{style:{"background-color":"#ffffff"}},"popover-default-panel",-1)),cl=Ut(Bt({customOptions:{Pop:Ve,Button:ie},inheritAttrs:!0,__name:"Popover.ce",props:{gap:{default:10},isGlobal:{type:Boolean,default:!0}},setup(e){const t=e,n=St(),i=St(),r=St(),s=qe({left:"0",top:"0"});oe(i,()=>{o()}),oe(r,()=>{o()});function o(){if(!i.value||!r.value)return;const l=La(),f=i.value.getBoundingClientRect(),p=r.value.getBoundingClientRect(),m=p.width,y=p.height;let _=f.x+f.width+t.gap,N=f.y;_=Math.max(t.gap,Math.min(_,l.width-m-t.gap)),N=Math.max(t.gap,Math.min(N,l.height-y-t.gap)),s.left=`${_}px`,s.top=`${N}px`}function a(){n.value.open()}return(l,f)=>(ft(),Tt(ae,null,[J("div",{ref_key:"popoverButtonRef",ref:i,style:{display:"inline-block"},onClick:a},[ye(l.$slots,"button",{},()=>[Vt(ie,null,{default:te(()=>[ue("popover-default-button")]),_:1})],!0)],512),Vt(Ve,{ref_key:"popRef",ref:n,"direction-from":"absolute",isGlobal:t.isGlobal},{default:te(()=>[J("div",{ref_key:"popoverPanelRef",ref:r,style:Lt([{display:"inline-block",position:"absolute"},s])},[ye(l.$slots,"panel",{},()=>[Zv],!0)],4)]),_:3},8,["isGlobal"])],64))}}),[["styles",[""]],["__scopeId","data-v-8d198707"]]),Qv=(e=>(wr("data-v-d02782ac"),e=e(),Er(),e))(()=>J("div",{style:{"background-color":"#ffffff"}},"popover-default-panel",-1)),Jv=Bt({customOptions:{Pop:Ve,Button:ie},inheritAttrs:!0,__name:"Popover",props:{gap:{default:10},isGlobal:{type:Boolean,default:!0}},setup(e){const t=e,n=St(),i=St(),r=St(),s=qe({left:"0",top:"0"});oe(i,()=>{o()}),oe(r,()=>{o()});function o(){if(!i.value||!r.value)return;const l=La(),f=i.value.getBoundingClientRect(),p=r.value.getBoundingClientRect(),m=p.width,y=p.height;let _=f.x+f.width+t.gap,N=f.y;_=Math.max(t.gap,Math.min(_,l.width-m-t.gap)),N=Math.max(t.gap,Math.min(N,l.height-y-t.gap)),s.left=`${_}px`,s.top=`${N}px`}function a(){n.value.open()}return(l,f)=>(ft(),Tt(ae,null,[J("div",{ref_key:"popoverButtonRef",ref:i,style:{display:"inline-block"},onClick:a},[ye(l.$slots,"button",{},()=>[Vt(ie,null,{default:te(()=>[ue("popover-default-button")]),_:1})],!0)],512),Vt(Ve,{ref_key:"popRef",ref:n,"direction-from":"absolute",isGlobal:t.isGlobal},{default:te(()=>[J("div",{ref_key:"popoverPanelRef",ref:r,style:Lt([{display:"inline-block",position:"absolute"},s])},[ye(l.$slots,"panel",{},()=>[Qv],!0)],4)]),_:3},8,["isGlobal"])],64))}}),$_="",Jh=Ut(Jv,[["__scopeId","data-v-d02782ac"]]),Ki=(e,t=0,n=1)=>e>n?n:e<t?t:e,De=(e,t=0,n=Math.pow(10,t))=>Math.round(n*e)/n,ty=e=>ry(ul(e)),ul=e=>(e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?De(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?De(parseInt(e.substring(6,8),16)/255,2):1}),ey=e=>iy(ny(e)),tf=({h:e,s:t,v:n,a:i})=>{const r=(200-t)*n/100;return{h:De(e),s:De(r>0&&r<200?t*n/100/(r<=100?r:200-r)*100:0),l:De(r/2),a:De(i,2)}},hl=e=>{const{h:t,s:n,l:i}=tf(e);return`hsl(${t}, ${n}%, ${i}%)`},fl=e=>{const{h:t,s:n,l:i,a:r}=tf(e);return`hsla(${t}, ${n}%, ${i}%, ${r})`},ny=({h:e,s:t,v:n,a:i})=>{e=e/360*6,t=t/100,n=n/100;const r=Math.floor(e),s=n*(1-t),o=n*(1-(e-r)*t),a=n*(1-(1-e+r)*t),l=r%6;return{r:De([n,o,s,s,a,n][l]*255),g:De([a,n,n,o,s,s][l]*255),b:De([s,s,a,n,n,o][l]*255),a:De(i,2)}},to=e=>{const t=e.toString(16);return t.length<2?"0"+t:t},iy=({r:e,g:t,b:n,a:i})=>{const r=i<1?to(De(i*255)):"";return"#"+to(e)+to(t)+to(n)+r},ry=({r:e,g:t,b:n,a:i})=>{const r=Math.max(e,t,n),s=r-Math.min(e,t,n),o=s?r===e?(t-n)/s:r===t?2+(n-e)/s:4+(e-t)/s:0;return{h:De(60*(o<0?o+6:o)),s:De(r?s/r*100:0),v:De(r/255*100),a:i}},ef=(e,t)=>{if(e===t)return!0;for(const n in e)if(e[n]!==t[n])return!1;return!0},sy=(e,t)=>e.toLowerCase()===t.toLowerCase()?!0:ef(ul(e),ul(t)),nf={},rf=e=>{let t=nf[e];return t||(t=document.createElement("template"),t.innerHTML=e,nf[e]=t),t},dl=(e,t,n)=>{e.dispatchEvent(new CustomEvent(t,{bubbles:!0,detail:n}))};let Zi=!1;const pl=e=>"touches"in e,oy=e=>Zi&&!pl(e)?!1:(Zi||(Zi=pl(e)),!0),sf=(e,t)=>{const n=pl(t)?t.touches[0]:t,i=e.el.getBoundingClientRect();dl(e.el,"move",e.getMove({x:Ki((n.pageX-(i.left+window.pageXOffset))/i.width),y:Ki((n.pageY-(i.top+window.pageYOffset))/i.height)}))},ay=(e,t)=>{const n=t.keyCode;n>40||e.xy&&n<37||n<33||(t.preventDefault(),dl(e.el,"move",e.getMove({x:n===39?.01:n===37?-.01:n===34?.05:n===33?-.05:n===35?1:n===36?-1:0,y:n===40?.01:n===38?-.01:0},!0)))};class ml{constructor(t,n,i,r){const s=rf(`<div role="slider" tabindex="0" part="${n}" ${i}><div part="${n}-pointer"></div></div>`);t.appendChild(s.content.cloneNode(!0));const o=t.querySelector(`[part=${n}]`);o.addEventListener("mousedown",this),o.addEventListener("touchstart",this),o.addEventListener("keydown",this),this.el=o,this.xy=r,this.nodes=[o.firstChild,o]}set dragging(t){const n=t?document.addEventListener:document.removeEventListener;n(Zi?"touchmove":"mousemove",this),n(Zi?"touchend":"mouseup",this)}handleEvent(t){switch(t.type){case"mousedown":case"touchstart":if(t.preventDefault(),!oy(t)||!Zi&&t.button!=0)return;this.el.focus(),sf(this,t),this.dragging=!0;break;case"mousemove":case"touchmove":t.preventDefault(),sf(this,t);break;case"mouseup":case"touchend":this.dragging=!1;break;case"keydown":ay(this,t);break}}style(t){t.forEach((n,i)=>{for(const r in n)this.nodes[i].style.setProperty(r,n[r])})}}class ly extends ml{constructor(t){super(t,"hue",'aria-label="Hue" aria-valuemin="0" aria-valuemax="360"',!1)}update({h:t}){this.h=t,this.style([{left:`${t/360*100}%`,color:hl({h:t,s:100,v:100,a:1})}]),this.el.setAttribute("aria-valuenow",`${De(t)}`)}getMove(t,n){return{h:n?Ki(this.h+t.x*360,0,360):360*t.x}}}class cy extends ml{constructor(t){super(t,"saturation",'aria-label="Color"',!0)}update(t){this.hsva=t,this.style([{top:`${100-t.v}%`,left:`${t.s}%`,color:hl(t)},{"background-color":hl({h:t.h,s:100,v:100,a:1})}]),this.el.setAttribute("aria-valuetext",`Saturation ${De(t.s)}%, Brightness ${De(t.v)}%`)}getMove(t,n){return{s:n?Ki(this.hsva.s+t.x*100,0,100):t.x*100,v:n?Ki(this.hsva.v-t.y*100,0,100):Math.round(100-t.y*100)}}}const uy=':host{display:flex;flex-direction:column;position:relative;width:200px;height:200px;user-select:none;-webkit-user-select:none;cursor:default}:host([hidden]){display:none!important}[role=slider]{position:relative;touch-action:none;user-select:none;-webkit-user-select:none;outline:0}[role=slider]:last-child{border-radius:0 0 8px 8px}[part$=pointer]{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;display:flex;place-content:center center;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}[part$=pointer]::after{content:"";width:100%;height:100%;border-radius:inherit;background-color:currentColor}[role=slider]:focus [part$=pointer]{transform:translate(-50%,-50%) scale(1.1)}',hy="[part=hue]{flex:0 0 24px;background:linear-gradient(to right,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%)}[part=hue-pointer]{top:50%;z-index:2}",fy="[part=saturation]{flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,rgba(255,255,255,0));box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}[part=saturation-pointer]{z-index:3}",eo=Symbol("same"),gl=Symbol("color"),of=Symbol("hsva"),vl=Symbol("update"),af=Symbol("parts"),no=Symbol("css"),io=Symbol("sliders");let dy=class extends HTMLElement{static get observedAttributes(){return["color"]}get[no](){return[uy,hy,fy]}get[io](){return[cy,ly]}get color(){return this[gl]}set color(t){if(!this[eo](t)){const n=this.colorModel.toHsva(t);this[vl](n),this[gl]=t}}constructor(){super();const t=rf(`<style>${this[no].join("")}</style>`),n=this.attachShadow({mode:"open"});n.appendChild(t.content.cloneNode(!0)),n.addEventListener("move",this),this[af]=this[io].map(i=>new i(n))}connectedCallback(){if(this.hasOwnProperty("color")){const t=this.color;delete this.color,this.color=t}else this.color||(this.color=this.colorModel.defaultColor)}attributeChangedCallback(t,n,i){const r=this.colorModel.fromAttr(i);this[eo](r)||(this.color=r)}handleEvent(t){const n=this[of],i={...n,...t.detail};this[vl](i);let r;!ef(i,n)&&!this[eo](r=this.colorModel.fromHsva(i))&&(this[gl]=r,dl(this,"color-changed",{value:r}))}[eo](t){return this.color&&this.colorModel.equal(t,this.color)}[vl](t){this[of]=t,this[af].forEach(n=>n.update(t))}};class py extends ml{constructor(t){super(t,"alpha",'aria-label="Alpha" aria-valuemin="0" aria-valuemax="1"',!1)}update(t){this.hsva=t;const n=fl({...t,a:0}),i=fl({...t,a:1}),r=t.a*100;this.style([{left:`${r}%`,color:fl(t)},{"--gradient":`linear-gradient(90deg, ${n}, ${i}`}]);const s=De(r);this.el.setAttribute("aria-valuenow",`${s}`),this.el.setAttribute("aria-valuetext",`${s}%`)}getMove(t,n){return{a:n?Ki(this.hsva.a+t.x):t.x}}}const my=`[part=alpha]{flex:0 0 24px}[part=alpha]::after{display:block;content:"";position:absolute;top:0;left:0;right:0;bottom:0;border-radius:inherit;background-image:var(--gradient);box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}[part^=alpha]{background-color:#fff;background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><rect x="8" width="8" height="8"/><rect y="8" width="8" height="8"/></svg>')}[part=alpha-pointer]{top:50%}`;class gy extends dy{get[no](){return[...super[no],my]}get[io](){return[...super[io],py]}}const vy={defaultColor:"#0001",toHsva:ty,fromHsva:ey,equal:sy,fromAttr:e=>e};class yy extends gy{get colorModel(){return vy}}class _y extends yy{}customElements.define("hex-alpha-color-picker",_y);const xy=Bt({customOptions:{Popover:Jh},__name:"ColorPicker.ce",props:{color:{default:$t.colorPrimary}},emits:["change"],setup(e,{emit:t}){const n=e,i=t,r=St(n.color);oe(r,(a,l)=>{a!==l&&i("change",a)});const s=St(),o=a=>{r.value=a.detail.value};return oe(s,()=>{s.value&&(s.value.removeEventListener("color-changed",o),s.value.addEventListener("color-changed",o))}),(a,l)=>{const f=qd("hex-alpha-color-picker");return ft(),xe(Jh,null,{button:te(()=>[ye(a.$slots,"default",{},()=>[J("span",{class:"button",style:Lt({backgroundColor:r.value})},null,4)],!0)]),panel:te(()=>[Vt(f,{ref_key:"colorPickerRef",ref:s,color:r.value},null,8,["color"])]),_:3})}}}),lf=Ut(xy,[["styles",[`.button[data-v-ccef37cf]{display:inline-block;vertical-align:middle;width:1em;height:1em;border-radius:.3em;cursor:pointer}
70
+ `]],["__scopeId","data-v-ccef37cf"]]),by=`.resize-observer[data-v-5beaa9ca]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer[data-v-5beaa9ca] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}
71
+ `,wy={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!0},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},mounted(){this.$nextTick(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",Fa&&this.$el.appendChild(e),e.data="about:blank",Fa||this.$el.appendChild(e)},beforeDestroy(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("resize",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!Fa&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}},Ey={class:"resize-observer",tabindex:"-1"};function Cy(e,t,n,i,r,s){return ft(),Tt("div",Ey)}const Ty=Ut(wy,[["render",Cy],["styles",[by]],["__scopeId","data-v-5beaa9ca"]]),ky=()=>{const e=St(window.innerWidth),t=St(window.innerHeight),n=i=>{e.value=i.target.innerWidth,t.value=i.target.innerHeight};return xs(()=>window.addEventListener("resize",n)),ti(()=>window.removeEventListener("resize",n)),{width:e,height:t}},Sy=Bt({__name:"MapTianditu.ce",props:{mapKey:{default:"8261564c2f1435b76dc5991adad737e6"},mapContainerID:{default:"mapTiandituDiv"},mapWidth:{},mapHeight:{},mapZoom:{default:18},mapCenterLng:{default:120.619585},mapCenterLat:{default:31.299379}},emits:["click"],setup(e,{expose:t,emit:n}){const i=e,{width:r,height:s}=ky(),o=St(i.mapWidth??r.value+"px"),a=St(i.mapHeight??s.value+"px");return oe(r,(l,f)=>{l!=f&&!i.mapWidth&&(o.value=l+"px")}),oe(s,(l,f)=>{l!=f&&!i.mapHeight&&(a.value=l+"px")}),xs(()=>{Qt.loadScript(`http://api.tianditu.gov.cn/api?v=4.0&tk=${i.mapKey}`,()=>{new tv(i.mapContainerID,i.mapCenterLng,i.mapCenterLat,i.mapZoom)},l=>{console.log("error",l)})}),t({}),(l,f)=>(ft(),Tt("div",ca({class:"mapDivWrap"},l.$attrs,{style:{position:"relative",width:o.value,height:a.value}}),[ye(l.$slots,"default",{width:o.value,height:a.value})],16))}}),Ny=["fill"],Py=["fill"],Oy=Bt({__name:"SVGCheck.ce",props:{width:{default:"10px"},color:{default:$t.colorPrimary}},setup(e){const t=e;return(n,i)=>(ft(),Tt("svg",{style:Lt(["width: "+t.width]),viewBox:"0 0 7 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[J("path",{d:"M0.153989 2.49994C-0.0513296 2.28468 -0.0513296 1.93567 0.153989 1.72041C0.359307 1.50514 0.692194 1.50514 0.897512 1.72041L3.12808 4.05902C3.3334 4.27428 3.3334 4.62329 3.12808 4.83855C2.92276 5.05382 2.58988 5.05382 2.38456 4.83855L0.153989 2.49994Z",fill:t.color},null,8,Ny),J("path",{d:"M6.10249 0.161447C6.30781 -0.0538159 6.64069 -0.0538157 6.84601 0.161447C7.05133 0.376711 7.05133 0.725721 6.84601 0.940984L3.12808 4.83855C2.92276 5.05382 2.58988 5.05382 2.38456 4.83855C2.17924 4.62329 2.17955 4.27439 2.38487 4.05913L6.10249 0.161447Z",fill:t.color},null,8,Py)],4))}}),Iy=Ut(Oy,[["styles",[`svg[data-v-8fe3f9fd]{transform-origin:center}
72
+ `]],["__scopeId","data-v-8fe3f9fd"]]),My=["fill"],Ay=["fill"],Dy=Bt({__name:"SVGCheck",props:{width:{default:"10px"},color:{default:$t.colorPrimary}},setup(e){const t=e;return(n,i)=>(ft(),Tt("svg",{style:Lt(["width: "+t.width]),viewBox:"0 0 7 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[J("path",{d:"M0.153989 2.49994C-0.0513296 2.28468 -0.0513296 1.93567 0.153989 1.72041C0.359307 1.50514 0.692194 1.50514 0.897512 1.72041L3.12808 4.05902C3.3334 4.27428 3.3334 4.62329 3.12808 4.83855C2.92276 5.05382 2.58988 5.05382 2.38456 4.83855L0.153989 2.49994Z",fill:t.color},null,8,My),J("path",{d:"M6.10249 0.161447C6.30781 -0.0538159 6.64069 -0.0538157 6.84601 0.161447C7.05133 0.376711 7.05133 0.725721 6.84601 0.940984L3.12808 4.83855C2.92276 5.05382 2.58988 5.05382 2.38456 4.83855C2.17924 4.62329 2.17955 4.27439 2.38487 4.05913L6.10249 0.161447Z",fill:t.color},null,8,Ay)],4))}}),B_="",cf=Ut(Dy,[["__scopeId","data-v-987aed3d"]]),yl=e=>(wr("data-v-85491020"),e=e(),Er(),e),Ly=[yl(()=>J("path",{d:"M38,32.71a1.13,1.13,0,0,1-.8-.33L21.57,16.8a1.13,1.13,0,0,1,1.61-1.6L38.75,30.77a1.14,1.14,0,0,1-.8,1.94Z"},null,-1)),yl(()=>J("path",{d:"M22.38,32.71a1.17,1.17,0,0,1-.81-.33,1.15,1.15,0,0,1,0-1.61L37.15,15.2a1.13,1.13,0,1,1,1.6,1.6L23.18,32.38A1.13,1.13,0,0,1,22.38,32.71Z"},null,-1)),yl(()=>J("path",{d:"M18.68,3.79h-3.1l-15.64,20L15.33,43.45l.25.33H47.94v-40ZM3,23.79,16.73,6.3H45.3v35H16.73Z"},null,-1))],Ry=Bt({__name:"SVGCleanUp",props:{width:{default:"16px"},color:{default:$t.colorPrimary}},setup(e){const t=e;return(n,i)=>(ft(),Tt("svg",{style:Lt(["width: "+t.width]),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},Ly,4))}}),U_="",Qi=Ut(Ry,[["__scopeId","data-v-85491020"]]),Fy=["data-number"],$y=["data-number","data-unactive"],Vy=["data-number"],zy=["data-number","data-unactive"],By=Bt({customOptions:{Pop:Ve,SVGCleanUp:Qi},__name:"PlateKeyboard",props:{initPlates:{default:()=>[]},completePlateLength:{default:7}},emits:["open","close","plates"],setup(e,{expose:t,emit:n}){const i=e,r=n,s=St(),o=St(0),a=qe([]);function l(){a.length==0?o.value=0:a.length==1?o.value=1:o.value=2,a.length>=i.completePlateLength&&p()}oe(()=>[...i.initPlates],()=>{Dr(a,i.initPlates),l()},{immediate:!0});const f=()=>{s.value.open(),r("open")},p=()=>{s.value.close(),r("close")},m=()=>{a.pop(),l(),r("plates",a)},y=V=>{if(V.target.dataset.unactive||"")return;let M=V.target.dataset.number;M&&(a.push(M),l(),r("plates",a))};t({open:f,close:p});const _=["京","沪","津","渝","黑","吉","辽","蒙","冀","新","甘","青","陕","宁","豫","鲁","晋","皖","鄂","湘","苏","川","云","桂","藏","浙","赣","粤","闽","琼","贵"],N=["1","2","3","4","5","6","7","8","9","0"],C=["A","B","C","D","E","F","G","H","J","K","L","M","N","P","Q","R","S","T","U","V","W","X","Y","Z"],A=["港","澳","学","警","使","领","挂","应","急"];return(V,I)=>(ft(),xe(Ve,{ref_key:"popRef",ref:s,directionFrom:"bottom",closeWhenClickOverlay:!1},{default:te(()=>[J("div",{class:"popup-plate",style:Lt({paddingBottom:se($t).safeAreaBottom})},[J("div",null,[J("div",{onClick:p},"关闭")]),J("div",{class:Ae(["step",o.value==0?"":"hide"])},[(ft(),Tt(ae,null,Pe(_,M=>J("div",{key:M,class:"popitem",onClick:y,"data-number":M},re(M),9,Fy)),64)),J("div",{class:"popitem popitem-clear",onClick:m},[Vt(Qi,{width:"16px"})])],2),J("div",{class:Ae(["step",o.value!=0?"":"hide"])},[(ft(),Tt(ae,null,Pe(N,M=>J("div",{key:M,class:Ae(["popitem",o.value!=2?"unactive":""]),onClick:y,"data-number":M,"data-unactive":o.value!=2?"unactive":""},re(M),11,$y)),64)),(ft(),Tt(ae,null,Pe(C,M=>J("div",{key:M,class:"popitem",onClick:y,"data-number":M},re(M),9,Vy)),64)),(ft(),Tt(ae,null,Pe(A,M=>J("div",{key:M,class:Ae(["popitem",o.value!=2?"unactive":""]),onClick:y,"data-number":M,"data-unactive":o.value!=2?"unactive":""},re(M),11,zy)),64)),J("div",{class:"popitem popitem-clear",onClick:m},[Vt(Qi,{width:"16px"})])],2)],4)]),_:1},512))}}),W_="",uf=Ut(By,[["__scopeId","data-v-f0a361e8"]]),ro=e=>(wr("data-v-17611eb2"),e=e(),Er(),e),Gy=ro(()=>J("div",{class:"title"},"车牌颜色",-1)),jy={class:"plate-types"},Hy=["onClick"],Uy=ro(()=>J("div",{class:"title"},"车牌号码",-1)),Wy={class:"plate-numbers"},qy=ro(()=>J("div",{class:"dot"},"·",-1)),Yy=["onClick"],Xy=ro(()=>J("div",{class:"info"},"请输入您真实有效的车牌号,便于正常使用系统功能。",-1)),hf=Ut(Bt({customOptions:{SVGCheck:cf,PlateKeyboard:uf},__name:"PlateMobile.ce",props:{maxWidth:{default:"750px"}},emits:["clear","complete"],setup(e,{expose:t,emit:n}){const i=e,r=n,s=[{name:"蓝牌",style:"background-color: #0078f0;",completePlateLength:7},{name:"绿牌",style:"background-color: #00f08c;",completePlateLength:8},{name:"黄牌",style:"background-color: #fac800;",completePlateLength:7},{name:"黄绿",style:"background: linear-gradient(90deg, #fac800 51.5%, #00f08c 51.51%);",completePlateLength:8},{name:"黑牌",style:"background-color: #222222;",completePlateLength:7}],o=St(),a=St(0),l=qe([]),f=St(-1),p=_=>{a.value=_,f.value<=s[_].completePlateLength&&l.length<s[_].completePlateLength?(f.value=l.length,o.value.open(),r("clear")):Dr(l,l.slice(0,s[_].completePlateLength)),s[_].completePlateLength===l.length&&r("complete",s[a.value].name,l.join(""))},m=_=>{Dr(l,l.slice(0,_)),f.value=Math.min(Math.max(0,f.value),_),o.value.open(),r("clear")},y=_=>{Dr(l,_),f.value=l.length,l.length===s[a.value].completePlateLength&&r("complete",s[a.value].name,l.join(""))};return t({}),(_,N)=>(ft(),Tt(ae,null,[J("div",ca(_.$attrs,{class:"plate-mobile",style:{maxWidth:i.maxWidth}}),[Gy,J("div",jy,[(ft(),Tt(ae,null,Pe(s,(C,A)=>J("div",{key:A,class:Ae(A==a.value?"checked":""),onClick:V=>p(A)},[J("div",{style:Lt(C.style)},null,4),J("div",null,re(C.name),1),J("div",null,[Vt(cf,{color:"#ffffff",width:"0.14rem"})])],10,Hy)),64))]),Uy,J("div",Wy,[J("div",{onClick:N[0]||(N[0]=C=>m(0)),class:Ae(f.value==0?"current":"")},re(l[0]),3),J("div",{onClick:N[1]||(N[1]=C=>m(1)),class:Ae(f.value==1?"current":"")},re(l[1]),3),qy,(ft(!0),Tt(ae,null,Pe(s[a.value].completePlateLength-2,C=>(ft(),Tt("div",{key:C,class:Ae(C+1==f.value?"current":""),onClick:A=>m(C+1)},re(l[C+1]),11,Yy))),128))]),Xy],16),Vt(uf,{ref_key:"plateKeyboardRef",ref:o,initPlates:l,completePlateLength:s[a.value].completePlateLength,onPlates:y},null,8,["initPlates","completePlateLength"])],64))}}),[["styles",[`.plate-mobile[data-v-17611eb2]{background-color:#fff;overflow:hidden;border-radius:.16rem;padding-bottom:.3rem;padding-left:.3rem;padding-right:.3rem}.title[data-v-17611eb2]{font-size:16px;line-height:1;color:#333;font-weight:700;text-align:center;margin-top:.4rem;margin-bottom:.2rem}.plate-types[data-v-17611eb2]{display:flex;justify-content:center}.plate-types>div[data-v-17611eb2]{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;width:1.2rem;height:.88rem;border-radius:.08rem;background-color:#f5f5f5;cursor:pointer;overflow:hidden}.plate-types>div>div[data-v-17611eb2]:nth-child(1){width:.28rem;height:.28rem;margin-bottom:.1rem;border-radius:50%;background-color:#0078f0}.plate-types>div:nth-child(2)>div[data-v-17611eb2]:nth-child(1){background-color:#00f08c}.plate-types>div:nth-child(3)>div[data-v-17611eb2]:nth-child(1){background-color:#fac800}.plate-types>div:nth-child(4)>div[data-v-17611eb2]:nth-child(1){background:linear-gradient(90deg,#fac800 51.5%,#00f08c 51.51%)}.plate-types>div:nth-child(5)>div[data-v-17611eb2]:nth-child(1){background-color:#222}.plate-types>div>div[data-v-17611eb2]:nth-child(2){color:#ccc;font-size:14px;line-height:1;font-weight:700}.plate-types>div>div[data-v-17611eb2]:nth-child(3){display:none;position:absolute;right:-.02rem;bottom:-.02rem;width:.32rem;height:.32rem;border-radius:.32rem 0 .08rem;background:#5a82f0}.plate-types>div>div:nth-child(3)>svg[data-v-17611eb2]{position:absolute;top:.12rem;left:.12rem}.plate-types>div+div[data-v-17611eb2]{margin-left:.1rem}.plate-types>div.checked[data-v-17611eb2]{border:1px solid #5a82f0}.plate-types>div.checked>div[data-v-17611eb2]:nth-child(2){color:#333}.plate-types>div.checked>div[data-v-17611eb2]:nth-child(3){display:block}.plate-numbers[data-v-17611eb2]{display:flex;justify-content:center;align-items:center}.plate-numbers>div[data-v-17611eb2]{flex:1;max-width:.8rem;height:.88rem;line-height:.88rem;border-radius:.08rem;font-size:.36rem;color:#333;text-align:center;border:1px solid #cccccc}.plate-numbers>div.current[data-v-17611eb2]{border:1px solid #5a82f0}.plate-numbers>div+div[data-v-17611eb2]{margin-left:.1rem}.plate-numbers>div.dot[data-v-17611eb2]{flex:0;border:0;padding:0 .05rem;color:#ccc;font-size:46px;margin-right:-.1rem;margin-left:0}.info[data-v-17611eb2]{font-size:12px;line-height:16px;font-weight:400;color:#999;text-align:center;padding:0 .1rem;margin-top:.4rem}
73
+ `]],["__scopeId","data-v-17611eb2"]]),_l=e=>(wr("data-v-7aebdea0"),e=e(),Er(),e),Ky=[_l(()=>J("path",{d:"M38,32.71a1.13,1.13,0,0,1-.8-.33L21.57,16.8a1.13,1.13,0,0,1,1.61-1.6L38.75,30.77a1.14,1.14,0,0,1-.8,1.94Z"},null,-1)),_l(()=>J("path",{d:"M22.38,32.71a1.17,1.17,0,0,1-.81-.33,1.15,1.15,0,0,1,0-1.61L37.15,15.2a1.13,1.13,0,1,1,1.6,1.6L23.18,32.38A1.13,1.13,0,0,1,22.38,32.71Z"},null,-1)),_l(()=>J("path",{d:"M18.68,3.79h-3.1l-15.64,20L15.33,43.45l.25.33H47.94v-40ZM3,23.79,16.73,6.3H45.3v35H16.73Z"},null,-1))],Zy=Bt({__name:"SVGCleanUp.ce",props:{width:{default:"16px"},color:{default:$t.colorPrimary}},setup(e){const t=e;return(n,i)=>(ft(),Tt("svg",{style:Lt(["width: "+t.width]),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},Ky,4))}}),Qy=Ut(Zy,[["styles",[`svg[data-v-7aebdea0]{transform-origin:center}
74
+ `]],["__scopeId","data-v-7aebdea0"]]),Jy=["data-number"],t1=["data-number","data-unactive"],e1=["data-number"],n1=["data-number","data-unactive"],xl=Ut(Bt({customOptions:{Pop:Ve,SVGCleanUp:Qi},__name:"PlateKeyboard.ce",props:{initPlates:{default:()=>[]},completePlateLength:{default:7}},emits:["open","close","plates"],setup(e,{expose:t,emit:n}){const i=e,r=n,s=St(),o=St(0),a=qe([]);function l(){a.length==0?o.value=0:a.length==1?o.value=1:o.value=2,a.length>=i.completePlateLength&&p()}oe(()=>[...i.initPlates],()=>{Dr(a,i.initPlates),l()},{immediate:!0});const f=()=>{s.value.open(),r("open")},p=()=>{s.value.close(),r("close")},m=()=>{a.pop(),l(),r("plates",a)},y=V=>{if(V.target.dataset.unactive||"")return;let M=V.target.dataset.number;M&&(a.push(M),l(),r("plates",a))};t({open:f,close:p});const _=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],N=["1","2","3","4","5","6","7","8","9","0"],C=["A","B","C","D","E","F","G","H","J","K","L","M","N","P","Q","R","S","T","U","V","W","X","Y","Z"],A=["","","","","使","","","",""];return(V,I)=>(ft(),xe(Ve,{ref_key:"popRef",ref:s,directionFrom:"bottom",closeWhenClickOverlay:!1},{default:te(()=>[J("div",{class:"popup-plate",style:Lt({paddingBottom:se($t).safeAreaBottom})},[J("div",null,[J("div",{onClick:p},"关闭")]),J("div",{class:Ae(["step",o.value==0?"":"hide"])},[(ft(),Tt(ae,null,Pe(_,M=>J("div",{key:M,class:"popitem",onClick:y,"data-number":M},re(M),9,Jy)),64)),J("div",{class:"popitem popitem-clear",onClick:m},[Vt(Qi,{width:"16px"})])],2),J("div",{class:Ae(["step",o.value!=0?"":"hide"])},[(ft(),Tt(ae,null,Pe(N,M=>J("div",{key:M,class:Ae(["popitem",o.value!=2?"unactive":""]),onClick:y,"data-number":M,"data-unactive":o.value!=2?"unactive":""},re(M),11,t1)),64)),(ft(),Tt(ae,null,Pe(C,M=>J("div",{key:M,class:"popitem",onClick:y,"data-number":M},re(M),9,e1)),64)),(ft(),Tt(ae,null,Pe(A,M=>J("div",{key:M,class:Ae(["popitem",o.value!=2?"unactive":""]),onClick:y,"data-number":M,"data-unactive":o.value!=2?"unactive":""},re(M),11,n1)),64)),J("div",{class:"popitem popitem-clear",onClick:m},[Vt(Qi,{width:"16px"})])],2)],4)]),_:1},512))}}),[["styles",[`.popup-plate[data-v-ba380976]{box-sizing:border-box;width:100%;background-color:#ddd}.hide[data-v-ba380976]{display:none!important}.popup-plate>div[data-v-ba380976]:nth-child(1){display:flex;justify-content:flex-end;background-color:#fff;border-top:1px solid #e6e6e6}.popup-plate>div:nth-child(1)>div[data-v-ba380976]{flex:0 0 auto;padding:0 .3rem;color:#5a82f0;font-size:16px;line-height:2.6;cursor:pointer}.popup-plate>.step[data-v-ba380976]{display:flex;flex-wrap:wrap;justify-content:center;padding:.2rem .2rem .1rem}.popup-plate>.step>.popitem[data-v-ba380976]{flex:0 0 auto;width:1rem;padding:.2rem 0;border:1px solid #e6e6e6;border-radius:.08rem;margin-right:.1rem;margin-bottom:.1rem;font-size:16px;line-height:1;text-align:center;background-color:#fff;cursor:pointer}.popup-plate>.step>.popitem[data-v-ba380976]:not(.unactive):active{background-color:#eee}.popup-plate>.step>.popitem.unactive[data-v-ba380976]{color:#ccc}.popup-plate>.step>.popitem.popitem-clear[data-v-ba380976]{background-color:#eee;display:flex;justify-content:center;align-items:center}
75
+ `]],["__scopeId","data-v-ba380976"]]),i1=["width","height"],r1=["fill"],s1=Bt({__name:"SVGDelete.ce",props:{width:{default:"16px"},height:{},color:{default:$t.colorPrimary}},setup(e){const t=e;return(n,i)=>(ft(),Tt("svg",{viewBox:"0 0 24 24",width:t.width,height:t.height??t.width,xmlns:"http://www.w3.org/2000/svg"},[J("path",{fill:t.color,d:"M7 21q-.825 0-1.412-.587T5 19V6H4V4h5V3h6v1h5v2h-1v13q0 .825-.587 1.413T17 21zM17 6H7v13h10zM9 17h2V8H9zm4 0h2V8h-2zM7 6v13z"},null,8,r1)],8,i1))}}),o1=Ut(s1,[["styles",[`svg[data-v-8745630f]{transform-origin:center}
76
+ `]],["__scopeId","data-v-8745630f"]]),a1=["width","height"],l1=["fill"],c1=Bt({__name:"SVGDelete",props:{width:{default:"16px"},height:{},color:{default:$t.colorPrimary}},setup(e){const t=e;return(n,i)=>(ft(),Tt("svg",{viewBox:"0 0 24 24",width:t.width,height:t.height??t.width,xmlns:"http://www.w3.org/2000/svg"},[J("path",{fill:t.color,d:"M7 21q-.825 0-1.412-.587T5 19V6H4V4h5V3h6v1h5v2h-1v13q0 .825-.587 1.413T17 21zM17 6H7v13h10zM9 17h2V8H9zm4 0h2V8h-2zM7 6v13z"},null,8,l1)],8,a1))}}),nx="",ff=Ut(c1,[["__scopeId","data-v-4747d4a7"]]),u1=Bt({customOptions:{SVGDelete:ff},inheritAttrs:!0,__name:"SlideLeftItem.ce",props:{bgColor:{default:$t.colorGrayFF},deleteColor:{default:$t.colorRed},fontColor:{default:$t.colorGrayFF},borderRadius:{default:"4px"},deleteWidth:{default:"44px"},transtionDuration:{default:"150ms"}},emits:["delete"],setup(e,{expose:t,emit:n}){const i=e,r=n,s=St(!1),o=()=>{r("delete"),s.value=!1};let a;const l=St();return oe(l,()=>{l.value&&(a=new nl(l.value),a.on("panLeft",()=>{s.value=!0}),a.on("panRight",()=>{s.value=!1}),a.on("tapOutSide",()=>{s.value=!1}))}),ti(()=>{a?.destroy()}),t({}),(f,p)=>(ft(),Tt("div",{class:"parent",ref_key:"item",ref:l,style:Lt({backgroundColor:i.bgColor,borderRadius:i.borderRadius})},[J("div",{class:"content",style:Lt({transition:"all ease-in "+i.transtionDuration,transform:s.value?"translate(-"+i.deleteWidth+", 0)":"translate(0, 0)"})},[ye(f.$slots,"default",{},void 0,!0)],4),J("div",{class:"delete",onClick:o,style:Lt({backgroundColor:i.deleteColor,width:i.deleteWidth,transition:"all ease-in "+i.transtionDuration,transform:s.value?"translate(0, 0)":"translate("+i.deleteWidth+", 0)"})},[Vt(ff,{color:i.fontColor},null,8,["color"])],4)],4))}}),df=Ut(u1,[["styles",[`.parent[data-v-4ea80232]{position:relative;overflow:hidden;width:100%}.content[data-v-4ea80232]{width:100%;height:100%}.delete[data-v-4ea80232]{position:absolute;right:0;top:0;height:100%;display:flex;justify-content:center;align-items:center;cursor:pointer}
77
+ `]],["__scopeId","data-v-4ea80232"]]),h1={class:"parent"},f1=Ut(Bt({customOptions:{},inheritAttrs:!0,__name:"PlateDisplay.ce",props:{plate:{},plateType:{},displayType:{default:"chinese"},fontColor:{},fontSize:{}},setup(e,{expose:t,emit:n}){const i=e,r=[{name:"蓝牌",style:"background-color: #0078f0; color: #ffffff;"},{name:"绿牌",style:"background-color: #00f08c; color: #000000;"},{name:"黄牌",style:"background-color: #fac800; color: #000000;"},{name:"黄绿",style:"background: linear-gradient(90deg, #fac800 51.5%, #00f08c 51.51%); color: #000000;"},{name:"黑牌",style:"background-color: #222222; color: #ffffff;"},{name:"未知",style:"background-color: #cccccc; color: #ffffff;"}];function s(m){return m.length>2?m.substring(0,2)+"·"+m.substring(2):m}function o(m){const y=r.filter(_=>_.name===m);return y.length?y[0]:o("未知")}const a=s(i.plate),l=St(o(i.plateType));let f=i.fontColor,p=i.fontSize;switch(i.displayType){case"dot":f=f??"#999999",p=p??"14px";break;case"chinese":f=f??"#333333",p=p??"20px";break}return t({}),(m,y)=>(ft(),Tt("div",h1,[J("div",{class:Ae(["leading",i.displayType]),style:Lt(l.value.style)},re(l.value.name),7),J("div",{class:"text",style:Lt({color:se(f),"font-size":se(p)})},re(se(a)),5)]))}}),[["styles",[`.parent[data-v-14d35058]{display:flex;justify-content:center;align-items:center}.leading[data-v-14d35058]{box-sizing:border-box;font-size:12px;line-height:1;border-radius:2px}.leading.chinese[data-v-14d35058]{padding:4px}.leading.dot[data-v-14d35058]{font-size:0;width:14px;height:14px;border-radius:50%}.text[data-v-14d35058]{margin-left:5px;margin-right:5px;line-height:1}
78
+ `]],["__scopeId","data-v-14d35058"]]),d1=["onClick"],p1=Ut(Bt({customOptions:{},inheritAttrs:!0,__name:"TabsForCE.ce",props:{headers:{default:()=>[]},initIndex:{default:0}},emits:["changedIndex"],setup(e,{expose:t,emit:n}){const i=e,r=n,s=St(i.initIndex),o=St(),a=St(0),l=St(0),f=St(0),p=St([]),m=[],y=(C,A)=>{if(C){if(m.push({index:A,el:C}),m.length<i.headers.length)return;p.value=m}};oe([o,p],()=>{_()});function _(){if(o.value&&p.value.length){const C=o.value.getBoundingClientRect(),A=p.value[s.value].el.getBoundingClientRect();a.value=A.x-C.x,l.value=A.y-C.y+A.height,f.value=A.width}}function N(C){s.value=C,r("changedIndex",C),_()}return t({}),(C,A)=>(ft(),Tt("div",null,[J("div",{class:"header",ref_key:"headerRef",ref:o},[(ft(!0),Tt(ae,null,Pe(C.headers,(V,I)=>(ft(),Tt("div",{key:V,class:Ae(I==s.value?"active":""),onClick:M=>N(I)},[J("div",{ref_for:!0,ref:M=>y(M,I)},re(V),513)],10,d1))),128)),J("div",{class:"indicator",style:Lt({top:l.value+"px",left:a.value+"px",width:f.value+"px",height:"2px"})},null,4)],512)]))}}),[["styles",[`.header[data-v-0f02d488]{position:relative;display:flex;font-size:14px;line-height:1;color:#999}.header .active[data-v-0f02d488]{color:#5a82f0}.header>div[data-v-0f02d488]{flex:1 1 auto;cursor:pointer;text-align:center;display:flex;justify-content:center;align-items:center;font-weight:700;background-color:#fff;position:relative}.header>div>div[data-v-0f02d488]{box-sizing:border-box;padding:7px 4px}.header>div.indicator[data-v-0f02d488]{display:inline-block;flex:0;position:absolute;background-color:#5a82f0;transition:all ease-out .2s}
79
+ `]],["__scopeId","data-v-0f02d488"]]);var Yr=function(){var e=0,t=document.createElement("div");t.style.cssText="position:fixed;top:0;right:0;cursor:pointer;opacity:0.9;z-index:10000",t.addEventListener("click",function(p){p.preventDefault(),i(++e%t.children.length)},!1);function n(p){return t.appendChild(p.dom),p}function i(p){for(var m=0;m<t.children.length;m++)t.children[m].style.display=m===p?"block":"none";e=p}var r=(performance||Date).now(),s=r,o=0,a=n(new Yr.Panel("FPS","#0ff","#002")),l=n(new Yr.Panel("MS","#0f0","#020"));if(self.performance&&self.performance.memory)var f=n(new Yr.Panel("MB","#f08","#201"));return i(0),{REVISION:16,dom:t,addPanel:n,showPanel:i,begin:function(){r=(performance||Date).now()},end:function(){o++;var p=(performance||Date).now();if(l.update(p-r,200),p>s+1e3&&(a.update(o*1e3/(p-s),100),s=p,o=0,f)){var m=performance.memory;f.update(m.usedJSHeapSize/1048576,m.jsHeapSizeLimit/1048576)}return p},update:function(){r=this.end()},domElement:t,setMode:i}};Yr.Panel=function(e,t,n){var i=1/0,r=0,s=Math.round,o=s(window.devicePixelRatio||1),a=80*o,l=48*o,f=3*o,p=2*o,m=3*o,y=15*o,_=74*o,N=30*o,C=document.createElement("canvas");C.width=a,C.height=l,C.style.cssText="width:80px;height:48px";var A=C.getContext("2d");return A.font="bold "+9*o+"px Helvetica,Arial,sans-serif",A.textBaseline="top",A.fillStyle=n,A.fillRect(0,0,a,l),A.fillStyle=t,A.fillText(e,f,p),A.fillRect(m,y,_,N),A.fillStyle=n,A.globalAlpha=.9,A.fillRect(m,y,_,N),{dom:C,update:function(V,I){i=Math.min(i,V),r=Math.max(r,V),A.fillStyle=n,A.globalAlpha=1,A.fillRect(0,0,a,y),A.fillStyle=t,A.fillText(s(V)+" "+e+" ("+s(i)+"-"+s(r)+")",f,p),A.drawImage(C,m+o,y,_-o,N,m,y,_-o,N),A.fillRect(m+_-o,y,o,N),A.fillStyle=n,A.globalAlpha=.9,A.fillRect(m+_-o,y,o,s((1-V/I)*N))}}};const m1=Object.assign({customOptions:{},inheritAttrs:!0},{__name:"FPSStats.ce",setup(e,{expose:t}){const n=St();return xs(()=>{const i=new Yr,r=i.domElement.style;r.margin="1em",n.value.appendChild(i.domElement),rn.register(()=>(i.update(),!0))}),t({}),(i,r)=>(ft(),Tt("div",{ref_key:"containerRef",ref:n},null,512))}}),g1={class:"ease-graph"},v1=["width","height"],so=Ut(Bt({customOptions:{Button:ie},inheritAttrs:!0,__name:"EaseGraphDisplay.ce",props:{easeName:{},easeFunction:{},canvasWidth:{default:180},canvasHeight:{default:100},graphHorizontalGap:{default:5},graphVerticalGap:{default:20},easeDuration:{default:2e3},isSelected:{type:Boolean,default:!1}},emits:["onMounted","onStart","onCompleted","onSelected"],setup(e,{expose:t,emit:n}){const i=e,r=n;let s;const o=St();oe(o,()=>{o.value&&(s=new Ui(o.value),a(),r("onMounted",i.easeName))});const a=()=>{s.fillStyle="rgb(250,250,250)",s.fillRect(0,0,i.canvasWidth,i.canvasHeight),s.lineWidth=.5,s.strokeStyle="rgb(230,230,230)",s.beginPath(),s.moveTo(0,i.graphVerticalGap),s.lineTo(i.canvasWidth,i.graphVerticalGap),s.moveTo(0,i.canvasHeight-i.graphVerticalGap),s.lineTo(i.canvasWidth,i.canvasHeight-i.graphVerticalGap),s.closePath(),s.stroke(),s.lineWidth=2,s.strokeStyle="rgb(255,127,127)"};let l=!1;const f=()=>{if(!s||l)return;l=!0,r("onStart",i.easeName),a();const m={x:i.graphHorizontalGap,y:i.canvasHeight-i.graphVerticalGap},y={x:i.graphHorizontalGap,y:i.canvasHeight-i.graphVerticalGap};we.toTween(m,{x:i.canvasWidth-i.graphHorizontalGap},{duration:i.easeDuration,easeFunction:gt.Easing.Linear.None}).startAuto(),we.toTween(m,{y:i.graphVerticalGap},{duration:i.easeDuration,easeFunction:i.easeFunction,onUpdate:()=>{s.beginPath(),s.moveTo(y.x,y.y),s.lineTo(m.x,m.y),s.closePath(),s.stroke(),y.x=m.x,y.y=m.y}}).startAuto(),setTimeout(()=>{r("onCompleted",i.easeName),l=!1},i.easeDuration)},p=()=>{r("onSelected",i.easeName,i.easeFunction)};return t({start:f}),(m,y)=>(ft(),Tt("div",g1,[J("div",null,"缓动:"+re(m.easeName),1),J("div",null,[J("div",null,[Vt(ie,{stylePattern:"outline",height:"32px",padding:"10px",onClick:f},{default:te(()=>[ue(" 开始 ")]),_:1})]),J("div",null,[Vt(ie,{stylePattern:i.isSelected?"fullfilled":"outline",height:"32px",padding:"10px",onClick:p},{default:te(()=>[ue(" 选择 ")]),_:1},8,["stylePattern"])])]),J("canvas",{ref_key:"canvasRef",ref:o,width:m.canvasWidth,height:m.canvasHeight},null,8,v1)]))}}),[["styles",[`.ease-graph[data-v-3da687c4]{display:inline-block}.ease-graph>div[data-v-3da687c4]:nth-child(1){margin-top:10px;font-size:14px}.ease-graph>div[data-v-3da687c4]:nth-child(2){margin-bottom:10px}.ease-graph>div:nth-child(2)>div[data-v-3da687c4]{display:inline-block}.ease-graph>div:nth-child(2)>div+div[data-v-3da687c4]{margin-left:10px}
80
+ `]],["__scopeId","data-v-3da687c4"]]),y1={class:"ease-graph"},_1=["width","height"],x1=Bt({customOptions:{Button:ie},inheritAttrs:!0,__name:"EaseGraphDisplay",props:{easeName:{},easeFunction:{},canvasWidth:{default:180},canvasHeight:{default:100},graphHorizontalGap:{default:5},graphVerticalGap:{default:20},easeDuration:{default:2e3},isSelected:{type:Boolean,default:!1}},emits:["onMounted","onStart","onCompleted","onSelected"],setup(e,{expose:t,emit:n}){const i=e,r=n;let s;const o=St();oe(o,()=>{o.value&&(s=new Ui(o.value),a(),r("onMounted",i.easeName))});const a=()=>{s.fillStyle="rgb(250,250,250)",s.fillRect(0,0,i.canvasWidth,i.canvasHeight),s.lineWidth=.5,s.strokeStyle="rgb(230,230,230)",s.beginPath(),s.moveTo(0,i.graphVerticalGap),s.lineTo(i.canvasWidth,i.graphVerticalGap),s.moveTo(0,i.canvasHeight-i.graphVerticalGap),s.lineTo(i.canvasWidth,i.canvasHeight-i.graphVerticalGap),s.closePath(),s.stroke(),s.lineWidth=2,s.strokeStyle="rgb(255,127,127)"};let l=!1;const f=()=>{if(!s||l)return;l=!0,r("onStart",i.easeName),a();const m={x:i.graphHorizontalGap,y:i.canvasHeight-i.graphVerticalGap},y={x:i.graphHorizontalGap,y:i.canvasHeight-i.graphVerticalGap};we.toTween(m,{x:i.canvasWidth-i.graphHorizontalGap},{duration:i.easeDuration,easeFunction:gt.Easing.Linear.None}).startAuto(),we.toTween(m,{y:i.graphVerticalGap},{duration:i.easeDuration,easeFunction:i.easeFunction,onUpdate:()=>{s.beginPath(),s.moveTo(y.x,y.y),s.lineTo(m.x,m.y),s.closePath(),s.stroke(),y.x=m.x,y.y=m.y}}).startAuto(),setTimeout(()=>{r("onCompleted",i.easeName),l=!1},i.easeDuration)},p=()=>{r("onSelected",i.easeName,i.easeFunction)};return t({start:f}),(m,y)=>(ft(),Tt("div",y1,[J("div",null,"缓动:"+re(m.easeName),1),J("div",null,[J("div",null,[Vt(ie,{stylePattern:"outline",height:"32px",padding:"10px",onClick:f},{default:te(()=>[ue(" 开始 ")]),_:1})]),J("div",null,[Vt(ie,{stylePattern:i.isSelected?"fullfilled":"outline",height:"32px",padding:"10px",onClick:p},{default:te(()=>[ue(" 选择 ")]),_:1},8,["stylePattern"])])]),J("canvas",{ref_key:"canvasRef",ref:o,width:m.canvasWidth,height:m.canvasHeight},null,8,_1)]))}}),hx="",Xr=Ut(x1,[["__scopeId","data-v-c7c96812"]]),pf=2e3,bl=Ut(Bt({customOptions:{EaseGraphDisplay:Xr},inheritAttrs:!0,__name:"EaseGroupGraphDisplay.ce",props:{easeList:{default:()=>[{easeName:"Linear",easeFunction:gt.Easing.Linear.None},{easeName:"gap"},{easeName:"QuadraticIn",easeFunction:gt.Easing.Quadratic.In},{easeName:"QuadraticOut",easeFunction:gt.Easing.Quadratic.Out},{easeName:"QuadraticInOut",easeFunction:gt.Easing.Quadratic.InOut},{easeName:"gap"},{easeName:"CubicIn",easeFunction:gt.Easing.Cubic.In},{easeName:"CubicOut",easeFunction:gt.Easing.Cubic.Out},{easeName:"CubicInOut",easeFunction:gt.Easing.Cubic.InOut},{easeName:"gap"},{easeName:"QuarticIn",easeFunction:gt.Easing.Quartic.In},{easeName:"QuarticOut",easeFunction:gt.Easing.Quartic.Out},{easeName:"QuarticInOut",easeFunction:gt.Easing.Quartic.InOut},{easeName:"gap"},{easeName:"QuinticIn",easeFunction:gt.Easing.Quintic.In},{easeName:"QuinticOut",easeFunction:gt.Easing.Quintic.Out},{easeName:"QuinticInOut",easeFunction:gt.Easing.Quintic.InOut},{easeName:"gap"},{easeName:"SinusoidalIn",easeFunction:gt.Easing.Sinusoidal.In},{easeName:"SinusoidalOut",easeFunction:gt.Easing.Sinusoidal.Out},{easeName:"SinusoidalInOut",easeFunction:gt.Easing.Sinusoidal.InOut},{easeName:"gap"},{easeName:"ExponentialIn",easeFunction:gt.Easing.Exponential.In},{easeName:"ExponentialOut",easeFunction:gt.Easing.Exponential.Out},{easeName:"ExponentialInOut",easeFunction:gt.Easing.Exponential.InOut},{easeName:"gap"},{easeName:"CircularIn",easeFunction:gt.Easing.Circular.In},{easeName:"CircularOut",easeFunction:gt.Easing.Circular.Out},{easeName:"CircularInOut",easeFunction:gt.Easing.Circular.InOut},{easeName:"gap"},{easeName:"ElasticIn",easeFunction:gt.Easing.Elastic.In},{easeName:"ElasticOut",easeFunction:gt.Easing.Elastic.Out},{easeName:"ElasticInOut",easeFunction:gt.Easing.Elastic.InOut},{easeName:"gap"},{easeName:"BackIn",easeFunction:gt.Easing.Back.In},{easeName:"BackOut",easeFunction:gt.Easing.Back.Out},{easeName:"BackInOut",easeFunction:gt.Easing.Back.InOut},{easeName:"gap"},{easeName:"BounceIn",easeFunction:gt.Easing.Bounce.In},{easeName:"BounceOut",easeFunction:gt.Easing.Bounce.Out},{easeName:"BounceInOut",easeFunction:gt.Easing.Bounce.InOut},{easeName:"gap"},{easeName:"generatePow(10)In",easeFunction:gt.Easing.generatePow(10).In},{easeName:"generatePow(10)Out",easeFunction:gt.Easing.generatePow(10).Out},{easeName:"generatePow(10)InOut",easeFunction:gt.Easing.generatePow(10).InOut},{easeName:"gap"},{easeName:"4 steps",easeFunction:gt.Easing.createStep(4)},{easeName:"8 steps",easeFunction:gt.Easing.createStep(8)},{easeName:"12 steps",easeFunction:gt.Easing.createStep(12)},{easeName:"16 steps",easeFunction:gt.Easing.createStep(16)},{easeName:"gap"},{easeName:"Noisy Exponential.InOut",easeFunction:gt.Easing.createNoisyEasing(gt.Easing.Exponential.InOut,.1)},{easeName:"Noisy Elastic.InOut",easeFunction:gt.Easing.createNoisyEasing(gt.Easing.Elastic.InOut,.2)},{easeName:"Noisy Circular.InOut",easeFunction:gt.Easing.createNoisyEasing(gt.Easing.Circular.InOut,.1)}]}},emits:["selectedEaseFunction"],setup(e,{expose:t,emit:n}){const i=e,r=n,s={};function o(m,y){m&&(s[y]=m)}const a=new Rs(10);function l(m){a.addTask(()=>(s[m].start(),new Promise(y=>{setTimeout(()=>{y()},pf)})))}const f=St("Linear");function p(m,y){f.value=m,r("selectedEaseFunction",m,y)}return p("Linear",gt.Easing.Linear.None),t({}),(m,y)=>(ft(),Tt("div",null,[(ft(!0),Tt(ae,null,Pe(i.easeList,_=>(ft(),Tt("div",{key:_.easeName,class:"ease-graph-wrap"},[_.easeFunction?(ft(),xe(Xr,{key:0,easeName:_.easeName,easeFunction:_.easeFunction,easeDuration:pf,isSelected:f.value==_.easeName,onOnMounted:l,onOnSelected:p,ref_for:!0,ref:N=>o(N,_.easeName)},null,8,["easeName","easeFunction","isSelected"])):pe("",!0)]))),128))]))}}),[["styles",[`.ease-graph-wrap[data-v-a345e174]{display:inline-block;margin-right:10px}.ease-group-gap[data-v-a345e174]{margin:10px}
81
+ `]],["__scopeId","data-v-a345e174"]]),b1={class:"interpolation-graph"},w1=["width","height"],mf=1/6,gf=5/6,oo=Ut(Bt({customOptions:{Button:ie},inheritAttrs:!0,__name:"InterpolationGraphDisplay.ce",props:{interpolationName:{},interpolationFunction:{},canvasWidth:{default:240},canvasHeight:{default:160},easeDuration:{default:2e3}},emits:["onMounted","onStart","onCompleted"],setup(e,{expose:t,emit:n}){const i=e,r=n;let s;const o=St();oe(o,()=>{o.value&&(s=new Ui(o.value),_(),r("onMounted",i.interpolationName))});const a=i.canvasWidth*mf,l=i.canvasHeight/2,f=[i.canvasWidth*gf,i.canvasWidth/2],p=[i.canvasHeight*mf,i.canvasHeight*gf],m=[...f,a],y=[...p,l],_=()=>{s.fillStyle="rgb(250,250,250)",s.fillRect(0,0,i.canvasWidth,i.canvasHeight),s.fillStyle="rgb(200,200,200)",s.fillRect(a-3,l-3,6,6),s.fillRect(f[f.length-1]-3,p[p.length-1]-3,6,6);for(var A=0;A<f.length;A++)s.fillRect(f[A]-2,p[A]-2,4,4)};let N=!1;const C=()=>{if(!s||N)return;N=!0,r("onStart",i.interpolationName),_();const A={x:a,y:l,old:{x:a,y:l}};we.toTween(A,{x:f,y:p},{duration:i.easeDuration,easeFunction:gt.Easing.Linear.None,interpolationFunction:i.interpolationFunction,onUpdate:I=>{s.lineWidth=2,s.strokeStyle="rgba(255,127,127,0.9)",s.beginPath(),s.moveTo(I.old.x,I.old.y),s.lineTo(I.x,I.y),s.closePath(),s.stroke(),I.old.x=I.x,I.old.y=I.y}}).startAuto();const V={x:a,y:l,old:{x:a,y:l}};we.toTween(V,{x:m,y},{duration:i.easeDuration,easeFunction:gt.Easing.Linear.None,interpolationFunction:i.interpolationFunction,onUpdate:I=>{s.lineWidth=2,s.strokeStyle="rgba(255,127,127,0.5)",s.beginPath(),s.moveTo(I.old.x,I.old.y),s.lineTo(I.x,I.y),s.closePath(),s.stroke(),I.old.x=I.x,I.old.y=I.y}}).startAuto(),setTimeout(()=>{r("onCompleted",i.interpolationName),N=!1},i.easeDuration)};return t({start:C}),(A,V)=>(ft(),Tt("div",b1,[J("div",null,[ue(" 插值:"+re(A.interpolationName)+" ",1),Vt(ie,{stylePattern:"outline",height:"32px",onClick:C},{default:te(()=>[ue(" 开始 ")]),_:1})]),J("canvas",{ref_key:"canvasRef",ref:o,width:A.canvasWidth,height:A.canvasHeight},null,8,w1)]))}}),[["styles",[`.interpolation-graph[data-v-eed293aa]{display:inline-block}.interpolation-graph>div[data-v-eed293aa]:nth-child(1){margin-top:10px;margin-bottom:10px;font-size:14px}
82
+ `]],["__scopeId","data-v-eed293aa"]]),E1={class:"interpolation-graph"},C1=["width","height"],vf=1/6,yf=5/6,T1=Bt({customOptions:{Button:ie},inheritAttrs:!0,__name:"InterpolationGraphDisplay",props:{interpolationName:{},interpolationFunction:{},canvasWidth:{default:240},canvasHeight:{default:160},easeDuration:{default:2e3}},emits:["onMounted","onStart","onCompleted"],setup(e,{expose:t,emit:n}){const i=e,r=n;let s;const o=St();oe(o,()=>{o.value&&(s=new Ui(o.value),_(),r("onMounted",i.interpolationName))});const a=i.canvasWidth*vf,l=i.canvasHeight/2,f=[i.canvasWidth*yf,i.canvasWidth/2],p=[i.canvasHeight*vf,i.canvasHeight*yf],m=[...f,a],y=[...p,l],_=()=>{s.fillStyle="rgb(250,250,250)",s.fillRect(0,0,i.canvasWidth,i.canvasHeight),s.fillStyle="rgb(200,200,200)",s.fillRect(a-3,l-3,6,6),s.fillRect(f[f.length-1]-3,p[p.length-1]-3,6,6);for(var A=0;A<f.length;A++)s.fillRect(f[A]-2,p[A]-2,4,4)};let N=!1;const C=()=>{if(!s||N)return;N=!0,r("onStart",i.interpolationName),_();const A={x:a,y:l,old:{x:a,y:l}};we.toTween(A,{x:f,y:p},{duration:i.easeDuration,easeFunction:gt.Easing.Linear.None,interpolationFunction:i.interpolationFunction,onUpdate:I=>{s.lineWidth=2,s.strokeStyle="rgba(255,127,127,0.9)",s.beginPath(),s.moveTo(I.old.x,I.old.y),s.lineTo(I.x,I.y),s.closePath(),s.stroke(),I.old.x=I.x,I.old.y=I.y}}).startAuto();const V={x:a,y:l,old:{x:a,y:l}};we.toTween(V,{x:m,y},{duration:i.easeDuration,easeFunction:gt.Easing.Linear.None,interpolationFunction:i.interpolationFunction,onUpdate:I=>{s.lineWidth=2,s.strokeStyle="rgba(255,127,127,0.5)",s.beginPath(),s.moveTo(I.old.x,I.old.y),s.lineTo(I.x,I.y),s.closePath(),s.stroke(),I.old.x=I.x,I.old.y=I.y}}).startAuto(),setTimeout(()=>{r("onCompleted",i.interpolationName),N=!1},i.easeDuration)};return t({start:C}),(A,V)=>(ft(),Tt("div",E1,[J("div",null,[ue(" 插值:"+re(A.interpolationName)+" ",1),Vt(ie,{stylePattern:"outline",height:"32px",onClick:C},{default:te(()=>[ue(" 开始 ")]),_:1})]),J("canvas",{ref_key:"canvasRef",ref:o,width:A.canvasWidth,height:A.canvasHeight},null,8,C1)]))}}),gx="",Kr=Ut(T1,[["__scopeId","data-v-0cd76c9a"]]),_f=2e3,wl=Ut(Bt({customOptions:{InterpolationGraphDisplay:Kr},inheritAttrs:!0,__name:"InterpolationGroupGraphDisplay.ce",props:{interpolationList:{default:()=>[{interpolationName:"Linear",interpolationFunction:gt.Interpolation.Linear},{interpolationName:"Bezier",interpolationFunction:gt.Interpolation.Bezier},{interpolationName:"CatmullRom",interpolationFunction:gt.Interpolation.CatmullRom}]}},setup(e,{expose:t,emit:n}){const i=e,r={};function s(l,f){l&&(r[f]=l)}const o=new Rs(1);function a(l){o.addTask(()=>(r[l].start(),new Promise(f=>{setTimeout(()=>{f()},_f)})))}return t({}),(l,f)=>(ft(),Tt("div",null,[(ft(!0),Tt(ae,null,Pe(i.interpolationList,p=>(ft(),Tt("div",{key:p.interpolationName,class:"interpolation-graph-wrap"},[Vt(Kr,{interpolationName:p.interpolationName,interpolationFunction:p.interpolationFunction,easeDuration:_f,onOnMounted:a,ref_for:!0,ref:m=>s(m,p.interpolationName)},null,8,["interpolationName","interpolationFunction"])]))),128))]))}}),[["styles",[`.interpolation-graph-wrap[data-v-e0ab5945]{display:inline-block;margin-right:10px}
83
+ `]],["__scopeId","data-v-e0ab5945"]]),k1=["width","height"],S1=Bt({customOptions:{},inheritAttrs:!0,__name:"HandWritePanel.ce",props:{canvasWidth:{default:"400"},canvasHeight:{default:"300"},borderColor:{default:"#000000"},brushSize:{default:4},brushDensity:{default:200},brushColor:{default:"#000000"},downloadFileName:{default:"手写图片"}},setup(e,{expose:t,emit:n}){const i=e;let r=()=>{};const s=St();return oe(s,()=>{if(!s.value)return;const o=new nl(s.value);o.ctx.strokeStyle=i.brushColor,o.ctx.lineWidth=i.brushSize,o.drawMouseMoveLine("line"),r=()=>{o.ctx.toSVGOperation().toDownloadSVGString(o.ctx.toRawSVG().raw,i.downloadFileName)}}),t({download:()=>r()}),(o,a)=>(ft(),Tt("canvas",{ref_key:"panelRef",ref:s,width:i.canvasWidth,height:i.canvasHeight,style:Lt([`border: 1px solid ${o.borderColor}`])},null,12,k1))}}),xf=2e3,N1=Bt({customOptions:{EaseGraphDisplay:Xr},inheritAttrs:!0,__name:"EaseGroupGraphDisplay",props:{easeList:{default:()=>[{easeName:"Linear",easeFunction:gt.Easing.Linear.None},{easeName:"gap"},{easeName:"QuadraticIn",easeFunction:gt.Easing.Quadratic.In},{easeName:"QuadraticOut",easeFunction:gt.Easing.Quadratic.Out},{easeName:"QuadraticInOut",easeFunction:gt.Easing.Quadratic.InOut},{easeName:"gap"},{easeName:"CubicIn",easeFunction:gt.Easing.Cubic.In},{easeName:"CubicOut",easeFunction:gt.Easing.Cubic.Out},{easeName:"CubicInOut",easeFunction:gt.Easing.Cubic.InOut},{easeName:"gap"},{easeName:"QuarticIn",easeFunction:gt.Easing.Quartic.In},{easeName:"QuarticOut",easeFunction:gt.Easing.Quartic.Out},{easeName:"QuarticInOut",easeFunction:gt.Easing.Quartic.InOut},{easeName:"gap"},{easeName:"QuinticIn",easeFunction:gt.Easing.Quintic.In},{easeName:"QuinticOut",easeFunction:gt.Easing.Quintic.Out},{easeName:"QuinticInOut",easeFunction:gt.Easing.Quintic.InOut},{easeName:"gap"},{easeName:"SinusoidalIn",easeFunction:gt.Easing.Sinusoidal.In},{easeName:"SinusoidalOut",easeFunction:gt.Easing.Sinusoidal.Out},{easeName:"SinusoidalInOut",easeFunction:gt.Easing.Sinusoidal.InOut},{easeName:"gap"},{easeName:"ExponentialIn",easeFunction:gt.Easing.Exponential.In},{easeName:"ExponentialOut",easeFunction:gt.Easing.Exponential.Out},{easeName:"ExponentialInOut",easeFunction:gt.Easing.Exponential.InOut},{easeName:"gap"},{easeName:"CircularIn",easeFunction:gt.Easing.Circular.In},{easeName:"CircularOut",easeFunction:gt.Easing.Circular.Out},{easeName:"CircularInOut",easeFunction:gt.Easing.Circular.InOut},{easeName:"gap"},{easeName:"ElasticIn",easeFunction:gt.Easing.Elastic.In},{easeName:"ElasticOut",easeFunction:gt.Easing.Elastic.Out},{easeName:"ElasticInOut",easeFunction:gt.Easing.Elastic.InOut},{easeName:"gap"},{easeName:"BackIn",easeFunction:gt.Easing.Back.In},{easeName:"BackOut",easeFunction:gt.Easing.Back.Out},{easeName:"BackInOut",easeFunction:gt.Easing.Back.InOut},{easeName:"gap"},{easeName:"BounceIn",easeFunction:gt.Easing.Bounce.In},{easeName:"BounceOut",easeFunction:gt.Easing.Bounce.Out},{easeName:"BounceInOut",easeFunction:gt.Easing.Bounce.InOut},{easeName:"gap"},{easeName:"generatePow(10)In",easeFunction:gt.Easing.generatePow(10).In},{easeName:"generatePow(10)Out",easeFunction:gt.Easing.generatePow(10).Out},{easeName:"generatePow(10)InOut",easeFunction:gt.Easing.generatePow(10).InOut},{easeName:"gap"},{easeName:"4 steps",easeFunction:gt.Easing.createStep(4)},{easeName:"8 steps",easeFunction:gt.Easing.createStep(8)},{easeName:"12 steps",easeFunction:gt.Easing.createStep(12)},{easeName:"16 steps",easeFunction:gt.Easing.createStep(16)},{easeName:"gap"},{easeName:"Noisy Exponential.InOut",easeFunction:gt.Easing.createNoisyEasing(gt.Easing.Exponential.InOut,.1)},{easeName:"Noisy Elastic.InOut",easeFunction:gt.Easing.createNoisyEasing(gt.Easing.Elastic.InOut,.2)},{easeName:"Noisy Circular.InOut",easeFunction:gt.Easing.createNoisyEasing(gt.Easing.Circular.InOut,.1)}]}},emits:["selectedEaseFunction"],setup(e,{expose:t,emit:n}){const i=e,r=n,s={};function o(m,y){m&&(s[y]=m)}const a=new Rs(10);function l(m){a.addTask(()=>(s[m].start(),new Promise(y=>{setTimeout(()=>{y()},xf)})))}const f=St("Linear");function p(m,y){f.value=m,r("selectedEaseFunction",m,y)}return p("Linear",gt.Easing.Linear.None),t({}),(m,y)=>(ft(),Tt("div",null,[(ft(!0),Tt(ae,null,Pe(i.easeList,_=>(ft(),Tt("div",{key:_.easeName,class:"ease-graph-wrap"},[_.easeFunction?(ft(),xe(Xr,{key:0,easeName:_.easeName,easeFunction:_.easeFunction,easeDuration:xf,isSelected:f.value==_.easeName,onOnMounted:l,onOnSelected:p,ref_for:!0,ref:N=>o(N,_.easeName)},null,8,["easeName","easeFunction","isSelected"])):pe("",!0)]))),128))]))}}),_x="",bf=Ut(N1,[["__scopeId","data-v-28043235"]]),wf=2e3,P1=Bt({customOptions:{InterpolationGraphDisplay:Kr},inheritAttrs:!0,__name:"InterpolationGroupGraphDisplay",props:{interpolationList:{default:()=>[{interpolationName:"Linear",interpolationFunction:gt.Interpolation.Linear},{interpolationName:"Bezier",interpolationFunction:gt.Interpolation.Bezier},{interpolationName:"CatmullRom",interpolationFunction:gt.Interpolation.CatmullRom}]}},setup(e,{expose:t,emit:n}){const i=e,r={};function s(l,f){l&&(r[f]=l)}const o=new Rs(1);function a(l){o.addTask(()=>(r[l].start(),new Promise(f=>{setTimeout(()=>{f()},wf)})))}return t({}),(l,f)=>(ft(),Tt("div",null,[(ft(!0),Tt(ae,null,Pe(i.interpolationList,p=>(ft(),Tt("div",{key:p.interpolationName,class:"interpolation-graph-wrap"},[Vt(Kr,{interpolationName:p.interpolationName,interpolationFunction:p.interpolationFunction,easeDuration:wf,onOnMounted:a,ref_for:!0,ref:m=>s(m,p.interpolationName)},null,8,["interpolationName","interpolationFunction"])]))),128))]))}}),xx="",Ef=Ut(P1,[["__scopeId","data-v-59130b9e"]]),O1=Bt({__name:"ProgressBar",props:{width:{default:"200px"},height:{default:"40px"},bgColor:{default:"#a0dde9"},borderColor:{default:"#cccccc"},duringTimeGap:{default:50},showText:{type:Boolean,default:!1}},emits:["complete"],setup(e,{expose:t,emit:n}){const i=e,r=n,s=St(0);function o(a){a<s.value&&(s.value=0);const l=s.value,f=Math.min(Math.max(0,a),100);we.toTween({width:l},{width:f},{duration:(f-l)*i.duringTimeGap,onStart:()=>{},onUpdate:p=>{s.value=p.width},onComplete:()=>{r("complete",s.value)}}).startAuto()}return t({goto:o}),(a,l)=>(ft(),Tt("div",{class:"wrap",style:Lt({width:i.width,height:i.height,border:`1px solid ${i.borderColor}`})},[J("div",{class:"bar",style:Lt({width:s.value+"%",backgroundColor:i.bgColor})},re(i.showText?s.value+"%":""),5)],4))}}),bx="",ao=Ut(O1,[["__scopeId","data-v-a1fc9636"]]),I1={class:"btns"},M1={class:"title"},A1={class:"btns"},D1={class:"graphs"},L1=["width","height"],R1={class:"btns"},Cf=Ut(Bt({customOptions:{Button:ie,EaseGraphDisplay:Xr,EaseGroupGraphDisplay:bf,InterpolationGraphDisplay:Kr,InterpolationGroupGraphDisplay:Ef,ProgressBar:ao},inheritAttrs:!0,__name:"AnimatePanel.ce",props:{canvasWidth:{default:300},canvasHeight:{default:300}},setup(e,{expose:t,emit:n}){const i=e,r=St(""),s=St(gt.Easing.Linear.None);function o(wt,rt){r.value=wt,s.value=rt}let a;const l=St();oe(l,()=>{l.value&&(a=new nl(l.value))}),ti(()=>{a?.destroy()});const f=St(""),p=St("");function m(){const wt="ShapeArrow";if(f.value==wt||!a.ctx)return;f.value=wt;const rt=new Qg(a),U=new vn(a,{x:a.ctx.canvas.width/2,y:a.ctx.canvas.height/2});rn.register(()=>!a.ctx||f.value!=wt?(rt.destroy(),U.destroy(),!1):(a.ctx.clearRect(),rt.draw({followMouseMove:!0,extra:()=>{rt.scale=.5,a.ctx.fillStyle=a.ctx.createLinearGradient(0,0,100,100,{0:"#ffffff",1:"#ff0000"})}}),U.draw({extra:()=>{U.toX=rt.x,U.toY=rt.y}}),console.log(`distance: ${rt.distanceTo(U)}`),!0))}function y(){const wt="ShapeRect";if(f.value==wt||!a.ctx)return;f.value=wt;const rt=new ol(a,{width:100,height:60,borderRadius:10});rn.register(()=>!a.ctx||f.value!=wt?(rt.destroy(),!1):(a.ctx.clearRect(),rt.draw({dragMouseMove:!0,extra:()=>{a.ctx.fillStyle=a.ctx.createRadialGradient(10,10,0,10,10,20,{0:"#ffffff",1:"#ff0000"})}}),!0))}function _(){const wt="ShapeRectGame";if(f.value==wt||!a.ctx)return;f.value=wt;const rt=[];function U(){const O=new ol(a,{x:Math.random()*a.ctx.canvas.width,y:0,width:50,height:50});return rt.push(O),O}let tt=U();const F=.2,at=[],k=()=>{tt.ay=.2},w=()=>{tt.ay=-.2},x=()=>{tt.ay=0};at.push(a.registerKeyDown({key:"ArrowDown"},k,x)),at.push(a.registerKeyDown({key:"ArrowRight"},k,x)),at.push(a.registerKeyDown({key:"ArrowUp"},w,x)),at.push(a.registerKeyDown({key:"ArrowLeft"},w,x)),rn.register(()=>!a.ctx||f.value!=wt?(rt.forEach(O=>O.destroy()),at.forEach(O=>O()),!1):(a.ctx.clearRect(),rt.filter(O=>O.isMouseDownInBounds).length>0?rt.forEach(O=>{O.draw({dragMouseMove:!0})}):(tt.nextFrame({gravity:F}),tt.y+tt.height>=a.ctx.canvas.height&&(tt.y=a.ctx.canvas.height-tt.height,tt=U()),rt.forEach(O=>{tt!==O&&tt.rect.isIntersectRect(O.rect)&&(tt.y=O.y-tt.height,tt.y>=tt.height&&(tt=U())),O.draw({dragMouseMove:!0})})),!0))}function N(){const wt="ShapeBallWater";if(f.value==wt||!a.ctx)return;f.value=wt;const rt=[];for(let U=0;U<80;U++){const tt=new Yi(a,{x:a.ctx.canvas.width/2,y:a.ctx.canvas.height,radius:2});tt.vx=Math.random()*2-1,tt.vy=Math.random()*-10-10,rt.push(tt)}rn.register(()=>!a.ctx||f.value!=wt?(rt.forEach(U=>U.destroy()),!1):(a.ctx.clearRect(),rt.forEach(U=>{U.app.ctx&&(U.nextFrame({gravity:.5}),(U.x-U.radius>U.app.ctx.canvas.width||U.x+U.radius<0||U.y-U.radius>U.app.ctx.canvas.height||U.y+U.radius<0)&&(U.x=U.app.ctx.canvas.width/2,U.y=U.app.ctx.canvas.height,U.vx=Math.random()*2-1,U.vy=Math.random()*-10-10),U.draw({extra:()=>{U.app.ctx&&(U.app.ctx.fillStyle=Vg())}}))}),!0))}function C(){const wt="ShapeBallEase";if(f.value==wt||!a.ctx)return;f.value=wt;const rt=a.ctx.canvas.width/2,U=a.ctx.canvas.height/2,tt=new Yi(a,{x:rt,y:U,radius:30});rn.register(()=>!a.ctx||f.value!=wt?(tt.destroy(),!1):(a.ctx.clearRect(),tt.draw({dragMouseMove:!0,dragFreeEaseTo:{targetX:rt,targetY:U}}),!0))}function A(){const wt="ShapeBallSpringChain";if(f.value==wt||!a.ctx)return;f.value=wt;const rt=a.ctx.canvas.width/2,U=a.ctx.canvas.height/2,tt=[];for(let x=0;x<3;x++)tt.push(new Yi(a,{x:rt,y:U,radius:20}));const F=[new vn(a),new vn(a)],at=.03,k=.9,w=2;rn.register(()=>!a.ctx||f.value!=wt?(tt.forEach(x=>x.destroy()),F.forEach(x=>x.destroy()),!1):(a.ctx.clearRect(),tt.forEach((x,O)=>{if(O===0)x.nextFrameSpringTo(a.mousePoint,{spring:at,friction:k,gravity:w}),F[0].x=x.x,F[0].y=x.y,F[0].toX=a.mousePoint.x,F[0].toY=a.mousePoint.y,F[0].draw();else{const R=tt[O-1];x.nextFrameSpringTo(R,{spring:at,friction:k,gravity:w}),F[0].x=x.x,F[0].y=x.y,F[0].toX=R.x,F[0].toY=R.y,F[0].draw()}x.draw()}),!0))}function V(){const wt="ShapeBallSpringMulti";if(f.value==wt||!a.ctx)return;f.value=wt;const rt=a.ctx.canvas.width/2,U=a.ctx.canvas.height/2,tt=new Yi(a,{x:rt,y:U,radius:20}),F=[];for(let x=0;x<3;x++)F.push(new Yi(a,{x:Math.random()*a.ctx.canvas.width,y:Math.random()*a.ctx.canvas.height,radius:10}));const at=[new vn(a),new vn(a),new vn(a)],k=.03,w=.9;rn.register(()=>!a.ctx||f.value!=wt?(tt.destroy(),F.forEach(x=>x.destroy()),at.forEach(x=>x.destroy()),!1):(a.ctx.clearRect(),F.forEach((x,O)=>{at[O].x=x.x,at[O].y=x.y,at[O].toX=tt.x,at[O].toY=tt.y,at[O].draw(),x.draw({dragMouseMove:!0,extra:()=>{a.ctx.fillStyle="#00ff00"}})}),tt.nextFrameSpringTo(F,{spring:k,friction:w}),tt.draw(),!0))}function I(){const wt="ShapeBallSpringConnect";if(f.value==wt||!a.ctx)return;f.value=wt;const rt=[];for(let w=0;w<3;w++)rt.push(new Yi(a,{x:Math.random()*a.ctx.canvas.width,y:Math.random()*a.ctx.canvas.height,radius:15}));const U=[new vn(a),new vn(a),new vn(a)],k={springLength:120,spring:.03,friction:.9};rn.register(()=>!a.ctx||f.value!=wt?(rt.forEach(w=>w.destroy()),U.forEach(w=>w.destroy()),!1):(a.ctx.clearRect(),rt[0].isMouseDownInBounds||(rt[0].nextFrameSpringConnect(rt[1],k),rt[0].nextFrameSpringConnect(rt[2],k)),rt[1].isMouseDownInBounds||(rt[1].nextFrameSpringConnect(rt[0],k),rt[1].nextFrameSpringConnect(rt[2],k)),rt[2].isMouseDownInBounds||(rt[2].nextFrameSpringConnect(rt[0],k),rt[2].nextFrameSpringConnect(rt[1],k)),rt.forEach(w=>{w.draw({dragMouseMove:!0})}),U[0].x=rt[0].x,U[0].y=rt[0].y,U[0].toX=rt[1].x,U[0].toY=rt[1].y,U[1].x=rt[1].x,U[1].y=rt[1].y,U[1].toX=rt[2].x,U[1].toY=rt[2].y,U[2].x=rt[2].x,U[2].y=rt[2].y,U[2].toX=rt[0].x,U[2].toY=rt[0].y,U.forEach(w=>{w.draw()}),!0))}function M(){const wt="ShapeLineCurve";if(f.value==wt||!a.ctx)return;f.value=wt;const rt=50,U=new vn(a,{x:rt,y:a.ctx.canvas.height-rt,toX:a.ctx.canvas.width-rt,toY:a.ctx.canvas.height-rt});rn.register(()=>!a.ctx||f.value!=wt?(U.destroy(),!1):(a.ctx.clearRect(),U.c1x=a.mousePoint.x,U.c1y=a.mousePoint.y,U.draw(),U.drawQuadratic({extra:()=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="#ff0000"}}),U.drawQuadraticThrough({extra:()=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="#00ff00"}}),!0))}function j(){const wt="ShapeLineRandom";if(!a.ctx)return;f.value=wt;const rt=new vn(a,{x:0,y:0});a.ctx.clearRect();const U=[];for(let tt=0;tt<10;tt++){const F={x:Math.random()*a.ctx.canvas.width,y:Math.random()*a.ctx.canvas.height};U.push(F),new ol(a,{x:F.x,y:F.y,width:6,height:6}).draw({extra:()=>{a.ctx.fillStyle="#eeeeee"}})}rt.drawQuadraticThroughCurveNotGood(U,{extra:()=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="pink"}}),rt.drawQuadraticThroughCurve(U,{extra:()=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="#0000ff"}})}function q(wt="ShapeRabbit",rt=qh){if(!a.ctx)return;f.value=wt,p.value=wt;const U=50,tt=new rt(a,{x:U,y:U}),F=new rt(a,{x:U,y:U}),at=2e3,k=we.toTween({x:tt.x,y:tt.y},{x:a.ctx.canvas.width-U,y:a.ctx.canvas.height-U},{duration:at,onUpdate:x=>{tt.draw({extra:()=>{tt.x=x.x,tt.y=x.y,a.ctx.globalAlpha=.3}})},onComplete:x=>{tt.draw({extra:()=>{tt.x=x.x,tt.y=x.y,a.ctx.globalAlpha=.3}})}}).tween,w=we.toTween({x:F.x,y:F.y},{x:a.ctx.canvas.width-U,y:a.ctx.canvas.height-U},{duration:at,easeFunction:s.value,onUpdate:x=>{F.draw({extra:()=>{F.x=x.x,F.y=x.y}})},onComplete:x=>{F.draw({extra:()=>{F.x=x.x,F.y=x.y}})}}).tween;k.start(),w.start(),rn.register(()=>{if(!a.ctx||f.value!=wt)return tt.destroy(),F.destroy(),!1;a.ctx.clearRect();const x=k.update(),O=w.update();return x||O})}function X(){q("ShapeFox",Jg)}function $(){q("ShapeRabbit",qh)}const dt=qe({translateTo:{from:{translateTo:[0,0]},to:{translateTo:["150px","150px"]},selected:!1},translateXTo:{from:{translateXTo:0},to:{translateXTo:"150px"},selected:!1},translateYTo:{from:{translateYTo:0},to:{translateYTo:"150px"},selected:!1},translateZTo:{from:{translateZTo:0},to:{translateZTo:"150px"},selected:!1},translate3dTo:{from:{translate3dTo:[0,0,0]},to:{translate3dTo:["150px","150px","150px"]},selected:!1},rotateTo:{from:{rotateTo:0},to:{rotateTo:360},selected:!1},rotateXTo:{from:{rotateXTo:0},to:{rotateXTo:360},selected:!1},rotateYTo:{from:{rotateYTo:0},to:{rotateYTo:360},selected:!1},rotateZTo:{from:{rotateZTo:0},to:{rotateZTo:360},selected:!1},rotate3dTo:{from:{rotate3dTo:[0,0,0]},to:{rotate3dTo:[360,360,360]},selected:!1},scaleTo:{from:{scaleTo:1},to:{scaleTo:2},selected:!1},scaleXTo:{from:{scaleXTo:1},to:{scaleXTo:2},selected:!1},scaleYTo:{from:{scaleYTo:1},to:{scaleYTo:2},selected:!1},scaleZTo:{from:{scaleZTo:1},to:{scaleZTo:2},selected:!1},scale3dTo:{from:{scale3dTo:[1,1,1]},to:{scale3dTo:[2,2,2]},selected:!1},skewTo:{from:{skewTo:0},to:{skewTo:1},selected:!1},skewXTo:{from:{skewXTo:0},to:{skewXTo:1},selected:!1},skewYTo:{from:{skewYTo:0},to:{skewYTo:1},selected:!1}}),xt=St();function It(wt){if(!xt.value)return;dt[wt].selected=!dt[wt].selected;const rt={},U={};for(let tt in dt){const F=dt[tt];F.selected?(Object.assign(rt,F.from),Object.assign(U,F.to)):(wu(rt,F.from),wu(U,F.to))}xt.value.style.transform="",we.toTweenCSS(xt.value,rt,U,{duration:2e3,easeFunction:s.value}).startAuto()}let Pt=Math.random()*20;const bt=St();function Rt(){bt.value?.goto(Pt)}function Ot(wt){wt<100&&(Pt+=Math.random()*20)}return t({}),(wt,rt)=>(ft(),Tt("div",null,[J("div",I1,[Vt(ie,{onClick:m,stylePattern:"outline"},{default:te(()=>[ue(" ShapeArrow + ShapeLine ")]),_:1}),Vt(ie,{onClick:y,stylePattern:"outline"},{default:te(()=>[ue(" ShapeRect ")]),_:1}),Vt(ie,{onClick:_,stylePattern:"outline"},{default:te(()=>[ue(" ShapeRect - 俄罗斯方块 ")]),_:1}),Vt(ie,{onClick:N,stylePattern:"outline"},{default:te(()=>[ue(" ShapeBall - 喷泉 ")]),_:1}),Vt(ie,{onClick:C,stylePattern:"outline"},{default:te(()=>[ue(" ShapeBall - ease ")]),_:1}),Vt(ie,{onClick:A,stylePattern:"outline"},{default:te(()=>[ue(" ShapeBall - 链式弹簧 ")]),_:1}),Vt(ie,{onClick:V,stylePattern:"outline"},{default:te(()=>[ue(" ShapeBall - 多点弹簧 ")]),_:1}),Vt(ie,{onClick:I,stylePattern:"outline"},{default:te(()=>[ue(" ShapeBall - 连接弹簧 ")]),_:1}),Vt(ie,{onClick:M,stylePattern:"outline"},{default:te(()=>[ue(" ShapeLine - curve ")]),_:1}),Vt(ie,{onClick:j,stylePattern:"outline"},{default:te(()=>[ue(" ShapeLine - random ")]),_:1})]),J("div",M1,"选择缓动函数: "+re(r.value),1),J("div",A1,[Vt(ie,{onClick:X,stylePattern:p.value=="ShapeFox"?"fullfilled":"outline"},{default:te(()=>[ue(" ShapeFox ")]),_:1},8,["stylePattern"]),Vt(ie,{onClick:$,stylePattern:p.value=="ShapeRabbit"?"fullfilled":"outline"},{default:te(()=>[ue(" ShapeRabbit ")]),_:1},8,["stylePattern"])]),J("div",D1,[J("div",null,[J("canvas",{class:"target",ref_key:"canvasRef",ref:l,width:i.canvasWidth,height:i.canvasHeight},null,8,L1)]),J("div",null,[Vt(bf,{onSelectedEaseFunction:o})])]),J("div",null,[J("div",R1,[(ft(!0),Tt(ae,null,Pe(dt,(U,tt,F)=>(ft(),xe(ie,{onClick:at=>It(tt.toString()),key:tt,stylePattern:U.selected?"fullfilled":"outline"},{default:te(()=>[ue(re(tt),1)]),_:2},1032,["onClick","stylePattern"]))),128))]),J("div",{class:"tween-css",style:Lt({width:i.canvasWidth+"px",height:i.canvasHeight+"px"})},[J("div",{class:"tween-css-target",ref_key:"tweenCSSTargetRef",ref:xt},null,512)],4)]),Vt(Ef),J("div",null,[Vt(ie,{onClick:Rt,stylePattern:"outline"},{default:te(()=>[ue(" 开始 ")]),_:1}),Vt(ao,{ref_key:"progressBarRef",ref:bt,onComplete:Ot},null,512)])]))}}),[["styles",[`.target[data-v-0bd1da71],.tween-css[data-v-0bd1da71]{background-color:#333}.tween-css[data-v-0bd1da71]{position:relative}.tween-css-target[data-v-0bd1da71]{position:absolute;top:50px;left:50px;width:50px;height:50px;background-color:#cfc;background-color:#fcc;background-color:#ccf}.btns[data-v-0bd1da71]{display:flex;flex-wrap:wrap;margin-top:10px}.btns>div[data-v-0bd1da71]{margin-right:10px;margin-bottom:10px}.title[data-v-0bd1da71]{font-size:16px;font-weight:700}.graphs[data-v-0bd1da71]{display:flex}.graphs>div[data-v-0bd1da71]:nth-child(1){flex:0}.graphs>div[data-v-0bd1da71]:nth-child(2){margin:0 20px;flex:1 1 auto;height:300px;overflow-y:scroll;border:1px dashed #999}
84
+ `]],["__scopeId","data-v-0bd1da71"]]),El=Ut(Bt({__name:"ProgressBar.ce",props:{width:{default:"200px"},height:{default:"40px"},bgColor:{default:"#a0dde9"},borderColor:{default:"#cccccc"},duringTimeGap:{default:50},showText:{type:Boolean,default:!1}},emits:["complete"],setup(e,{expose:t,emit:n}){const i=e,r=n,s=St(0);function o(a){a<s.value&&(s.value=0);const l=s.value,f=Math.min(Math.max(0,a),100);we.toTween({width:l},{width:f},{duration:(f-l)*i.duringTimeGap,onStart:()=>{},onUpdate:p=>{s.value=p.width},onComplete:()=>{r("complete",s.value)}}).startAuto()}return t({goto:o}),(a,l)=>(ft(),Tt("div",{class:"wrap",style:Lt({width:i.width,height:i.height,border:`1px solid ${i.borderColor}`})},[J("div",{class:"bar",style:Lt({width:s.value+"%",backgroundColor:i.bgColor})},re(i.showText?s.value+"%":""),5)],4))}}),[["styles",[`.wrap[data-v-fe332cf8]{position:relative;width:100%;height:100%;overflow:hidden;border-radius:4px}.bar[data-v-fe332cf8]{position:absolute;top:0;left:0;width:0;height:100%;text-align:center;font-size:12px;display:flex;justify-content:center;align-items:center;color:#666}
85
+ `]],["__scopeId","data-v-fe332cf8"]]),F1=["width","height"],$1=["src","type"],V1={class:"bar-wrap"},Tf=Ut(Bt({customOptions:{ProgressBar:ao},inheritAttrs:!0,__name:"Video.ce",props:{src:{},type:{default:"video/webm"},autoplay:{type:Boolean,default:!0},width:{default:"320px"},height:{default:"138px"}},emits:["start","complete"],setup(e,{expose:t,emit:n}){const i=e;function r(){we.toTween({x:0},{x:100},{duration:this.duration,precision:.05,onUpdate:l=>{o.value?.goto(l.x)}}).startAuto(()=>this.currentTime)}const s=St(),o=St();oe(s,()=>{s.value&&(s.value.addEventListener("play",r),i.autoplay&&il.tryAutoPlayOrAutoPlayAfterClick(s.value))}),ti(()=>{s.value?.removeEventListener(r)});function a(){s.value?.play()}return t({play:a}),(l,f)=>(ft(),Tt("div",{class:"wrap",style:Lt({width:i.width,height:i.height}),onClick:a},[J("video",{ref_key:"video",ref:s,width:i.width,height:i.height,preload:"metadata"},[J("source",{src:i.src,type:i.type},null,8,$1)],8,F1),J("div",V1,[Vt(ao,{ref_key:"bar",ref:o,width:i.width,height:"10px"},null,8,["width"])])],4))}}),[["styles",[`.wrap[data-v-66f4d27e]{position:relative;overflow:hidden;background-color:#f5f5f5}.bar-wrap[data-v-66f4d27e]{position:absolute;bottom:0;left:0}
86
+ `]],["__scopeId","data-v-66f4d27e"]]),z1=["width","height"],B1=["fill"],G1=["fill"],j1=["fill"],H1=Bt({__name:"SVGPrompt",props:{width:{default:"1.5em"},height:{},color:{default:$t.colorRed}},setup(e){const t=e;return(n,i)=>(ft(),Tt("svg",{viewBox:"0 0 24 24",width:t.width,height:t.height??t.width,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[J("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 12C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12ZM19 12C19 15.866 15.866 19 12 19C8.13401 19 5 15.866 5 12C5 8.13401 8.13401 5 12 5C15.866 5 19 8.13401 19 12Z",fill:t.color},null,8,B1),J("path",{d:"M12.5332 15.2001C12.5332 15.4946 12.2944 15.7334 11.9999 15.7334C11.7053 15.7334 11.4665 15.4946 11.4665 15.2001L11.4665 10.9334C11.4665 10.6388 11.7053 10.4001 11.9999 10.4001C12.2944 10.4001 12.5332 10.6388 12.5332 10.9334L12.5332 15.2001Z",fill:t.color},null,8,G1),J("path",{d:"M12.5332 8.80006C12.5332 9.09462 12.2944 9.3334 11.9999 9.3334C11.7053 9.3334 11.4665 9.09462 11.4665 8.80006C11.4665 8.50551 11.7053 8.26673 11.9999 8.26673C12.2944 8.26673 12.5332 8.50551 12.5332 8.80006Z",fill:t.color},null,8,j1)],8,z1))}}),Nx="",kf=Ut(H1,[["__scopeId","data-v-41294f60"]]),U1={class:"wrap"},W1=["type","required"],q1={class:"ellipsis"},Y1={key:1,style:{}},X1=Bt({customOptions:{SVGPrompt:kf},inheritAttrs:!0,__name:"Input.ce",props:{placeholder:{},placeholderJump:{type:Boolean,default:!1},height:{default:"44px"},type:{default:"text"},required:{type:Boolean,default:!1},focusColor:{default:$t.colorPrimary},errorColor:{default:$t.colorRed},bgColor:{default:"#cccccc"},placeholderColor:{default:"#8f8f8f"},fontColor:{default:"#333333"},borderRadius:{default:"4px"},duration:{default:500},validator:{}},emits:["focus","ceFocus","blur","ceBlur","input","ceInput"],setup(e,{expose:t,emit:n}){const i=e,r=n,s=i.placeholder.split(""),o=i.duration/s.length,a=St(!1),l=St(""),f=St("");function p(){a.value=!0,r("focus"),r("ceFocus")}function m(){a.value=!1,r("blur"),r("ceBlur"),_()}function y(N){f.value=N.target.value,_()}function _(){if(f.value&&i.validator){const N=i.validator(f.value);if(!N.isValidated){l.value=N.msg;return}}l.value="",f.value&&(r("input",f.value),r("ceInput",f.value))}return ti(()=>{}),t({}),(N,C)=>(ft(),Tt("div",U1,[J("input",{type:i.type,required:i.required,autocomplete:"off",style:Lt({height:i.height,lineHeight:i.height,borderRadius:i.borderRadius,color:i.fontColor,borderColor:l.value?i.errorColor:a.value?i.focusColor:f.value?i.bgColor:"transparent",transition:i.duration+"ms"}),class:Ae([a.value||f.value?"focus":"blur","input"]),onFocus:p,onBlur:m,onInput:y,onChange:y},null,46,W1),J("div",{class:"placeholder",style:Lt({lineHeight:a.value||f.value?1.3:i.height,color:i.placeholderColor,transition:i.placeholderJump?"":i.duration+"ms",transform:i.placeholderJump?"":a.value||f.value?"translateY(-100%)":"none"})},[l.value?(ft(),Tt("div",{key:0,style:Lt({color:i.errorColor,transform:i.placeholderJump?"translateY(-100%)":""})},[Vt(kf,{class:"icon"}),J("div",q1,re(l.value),1)],4)):pe("",!0),!l.value&&!i.placeholderJump?(ft(),Tt("div",Y1,re(i.placeholder),1)):pe("",!0),!l.value&&i.placeholderJump?(ft(!0),Tt(ae,{key:2},Pe(se(s),(A,V)=>(ft(),Tt("span",{key:V,style:Lt({transition:i.duration+"ms cubic-bezier(0.68, -0.55, 0.265, 1.55)",transitionDelay:`${o*V}ms`,transform:a.value||f.value?`translateX(${100*V}%) translateY(-100%)`:`translateX(${100*V}%)`}),class:"single"},re(A),5))),128)):pe("",!0)],4),J("div",{class:"bg",style:Lt({transition:i.duration+"ms",backgroundColor:a.value||f.value?"transparent":i.bgColor,height:a.value||f.value?i.height:"2px",borderRadius:i.borderRadius})},null,4)]))}}),K1=Ut(X1,[["styles",[`.wrap[data-v-4590e7b9]{position:relative;box-sizing:border-box;font-size:1em}.input[data-v-4590e7b9]{display:block;box-sizing:border-box;position:relative;width:100%;background:transparent;outline:none;box-shadow:none;border:1px solid transparent;padding:.6em;z-index:10}.bg[data-v-4590e7b9]{position:absolute;left:0;bottom:0;width:100%;pointer-events:none;z-index:9}.placeholder[data-v-4590e7b9]{position:absolute;left:0;top:0;width:100%;pointer-events:none}.focus~.placeholder[data-v-4590e7b9]{font-size:.75em}.placeholder>div[data-v-4590e7b9]{width:100%;display:flex;justify-content:flex-start;align-items:center}.icon[data-v-4590e7b9]{flex:0 0 auto}.ellipsis[data-v-4590e7b9]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal;word-break:break-all}.placeholder>span.single[data-v-4590e7b9]{position:absolute;left:0;top:0}
87
+ `]],["__scopeId","data-v-4590e7b9"]]),Z1=["width","height"],Q1=["fill"],J1=Bt({__name:"SVGDown",props:{width:{default:"1em"},height:{},color:{default:$t.colorGrayCC}},setup(e){const t=e;return(n,i)=>(ft(),Tt("svg",{viewBox:"0 0 20 20",width:t.width,height:t.height??t.width,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[J("path",{"fill-rule":"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z","clip-rule":"evenodd",fill:t.color},null,8,Q1)],8,Z1))}}),Ox="",Sf=Ut(J1,[["__scopeId","data-v-b1f2ae20"]]),t_=Ut(Bt({customOptions:{SVGDown:Sf},inheritAttrs:!0,__name:"Accordion.ce",props:{initOpen:{type:Boolean,default:!1},height:{default:"44px"},bgColor:{default:"#efefef"},fontColor:{default:"#333333"},borderColor:{default:"#dddddd"},borderRadius:{default:"4px"},padding:{default:"1em"},duration:{default:500}},emits:["open","close"],setup(e,{expose:t,emit:n}){const i=e,r=n,s=St(Number.MAX_SAFE_INTEGER+"px"),o=St(),a=St(!0);oe(o,()=>{o.value&&(s.value=o.value.getBoundingClientRect().height+"px",a.value=i.initOpen)});function l(){a.value=!a.value,a.value?r("open"):r("close")}const f=St("rotate(-180deg)");return tp(()=>{f.value=a.value?"rotate(-180deg)":"rotate(0deg)"}),ti(()=>{}),t({}),(p,m)=>(ft(),Tt("div",{class:"wrap",style:Lt({background:i.bgColor,color:i.fontColor,borderRadius:i.borderRadius})},[J("div",{class:"title",onClick:l,style:Lt({height:i.height,lineHeight:i.height,margin:`0 ${i.padding}`,transitionDelay:`${a.value?0:i.duration}ms`,borderBottom:`${a.value?1:0}px solid ${i.borderColor}`})},[ye(p.$slots,"title",{},()=>[ue("title")],!0),Vt(Sf,{class:"arrow",style:Lt({transition:`transform ${i.duration}ms ease-in-out`,transform:f.value})},null,8,["style"])],4),J("div",{class:"content",style:Lt({margin:`0 ${i.padding}`,transition:`max-height ${i.duration}ms ease-in-out`,maxHeight:a.value?s.value:"0"}),ref_key:"content",ref:o},[ye(p.$slots,"content",{},void 0,!0)],4)],4))}}),[["styles",[`.wrap[data-v-1e64bf04]{cursor:pointer;font-size:1em;position:relative;overflow:hidden}.title[data-v-1e64bf04]{display:flex;justify-content:space-between;align-items:center;user-select:none}.content[data-v-1e64bf04]{word-break:break-all;overflow:hidden}
88
+ `]],["__scopeId","data-v-1e64bf04"]]);class e_ extends HTMLElement{constructor(){super(),this.listenedMedia=[],this.reloadQueued=!1}connectedCallback(){this.video=this.querySelector("video"),this.bindMediaListeners()}disconnectedCallback(){this.unbindMediaListeners()}bindMediaListeners(){this.querySelectorAll("source").forEach(t=>{if(t.media){const n=()=>{(t.media===this.video.currentSrc||!this.previousSiblingIsPlaying(t,this.video.currentSrc)&&!this.reloadQueued)&&this.reloadVideo()};this.listenedMedia.push({media:t.media,handler:n}),window.matchMedia(t.media).addEventListener("change",n)}})}unbindMediaListeners(){this.listenedMedia.forEach(t=>{window.matchMedia(t.media).removeEventListener("change",t.handler)})}previousSiblingIsPlaying(t,n){const i=t;for(;t.previousElementSibling;)if(i.src===n)return!0;return!1}reloadVideo(){this.reloadQueued=!0;const t=this.video.currentTime,n=this.video.playState;this.video.load();const i=()=>{this.video.playState=n,this.video.currentTime=t.toString(),this.reloadQueued=!1,this.video.removeEventListener("loadeddata",i)};this.video.addEventListener("loadeddata",i)}}const n_=e_;function i_(e,t="style.css"){for(let n of e){const i=document.querySelector(n)?.shadowRoot;if(i){const r=document.createElement("link");r.setAttribute("rel","stylesheet"),r.setAttribute("href",t),i.appendChild(r)}}}const ze=(e,t,n=!0)=>{let i=0,r=[...e.styles];for(let s in e.customOptions){const o=`[${e.customOptions[s].__scopeId}]`;r=[...t[i++].styles.map(a=>M0(a,o)),...r]}if(n)e.styles=r;else for(let s of e.styles){const o=document.createElement("style");o.innerHTML=s,document.head.insertBefore(o,document.head.childNodes[document.head.childNodes.length-1].nextSibling)}return e},r_=()=>{const e=he(Yh);customElements.define("yz-icon",e);const t=he(Xi);customElements.define("yz-button",t),ze(Xh,[Pi]);const n=he(Xh);customElements.define("yz-mobile-layout",n),ze(Pi,[al]);const i=he(Pi);customElements.define("yz-pop",i),ze(ll,[al,Pi,Yh,Xi]);const r=he(ll);customElements.define("yz-dialog",r),ze(Qh,[al,Pi,ll,bv]);const s=he(Qh);customElements.define("yz-dialog-loading",s);const o=he(Dv);customElements.define("yz-select",o);const a=he(Rv);customElements.define("yz-switch",a);const l=he(jv);customElements.define("yz-radiogroup",l);const f=he(Kv);customElements.define("yz-checkboxgroup",f),ze(cl,[Pi,Xi]);const p=he(cl);customElements.define("yz-popover",p),ze(lf,[cl]);const m=he(lf);customElements.define("yz-colorpicker",m);const y=he(Ty);customElements.define("yz-resize-observer",y);const _=he(Sy);customElements.define("yz-map-tianditu",_),ze(xl,[Pi,Qy]);const N=he(xl);customElements.define("yz-plate-keyboard",N),ze(hf,[Iy,xl]);const C=he(hf);customElements.define("yz-plate-mobile",C),ze(df,[o1]);const A=he(df);customElements.define("yz-slide-left-item",A);const V=he(f1);customElements.define("yz-plate-display",V);const I=he(p1);customElements.define("yz-tabs",I);const M=he(m1);customElements.define("yz-fps-stats",M),ze(so,[Xi]);const j=he(so);customElements.define("yz-ease-graph-display",j),ze(bl,[so]);const q=he(bl);customElements.define("yz-ease-group-graph-display",q),ze(oo,[Xi]);const X=he(oo);customElements.define("yz-interpolation-graph-display",X),ze(wl,[oo]);const $=he(wl);customElements.define("yz-interpolation-group-graph-display",$);const dt=he(El);customElements.define("yz-progress-bar",dt),ze(Cf,[Xi,so,bl,oo,wl,El]);const xt=he(Cf);customElements.define("yz-animate-panel",xt),customElements.define("yz-hand-write-panel",he(S1)),ze(Tf,[El]);const It=he(Tf);customElements.define("yz-video",It),customElements.define("yz-input",he(K1)),customElements.define("yz-accordion",he(t_)),customElements.define("yz-responsive-video",n_)};return hr.install=r_,hr.linkChildrenComponentsStyles=i_,hr.mergeChildComponentCSS=ze,Object.defineProperty(hr,Symbol.toStringTag,{value:"Module"}),hr}({});
68
89
  //# sourceMappingURL=yz_custom_element.iife.js.map