@verdocs/web-sdk 6.10.4 → 6.10.6
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.
- package/dist/cjs/Environment-CUCX3aWX.js +17 -0
- package/dist/cjs/Environment-CUCX3aWX.js.map +1 -0
- package/dist/cjs/{interact.min-CGi6ndGs.js → interact.min-CPZxI9Hv.js} +4 -4
- package/dist/cjs/interact.min-CPZxI9Hv.js.map +1 -0
- package/dist/cjs/verdocs-adopt-signature-dialog_7.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-contact-picker.cjs.entry.js +18 -11
- package/dist/cjs/verdocs-contact-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/verdocs-field-attachment_11.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-payment.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-preview_6.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-sign.cjs.entry.js +8 -4
- package/dist/cjs/verdocs-sign.cjs.entry.js.map +1 -1
- package/dist/cjs/verdocs-status-indicator.cjs.entry.js +135 -85
- package/dist/cjs/verdocs-status-indicator.cjs.entry.js.map +1 -1
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js +8 -4
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js.map +1 -1
- package/dist/collection/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.js +18 -11
- package/dist/collection/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.js.map +1 -1
- package/dist/collection/utils/Environment.js +8 -1
- package/dist/collection/utils/Environment.js.map +1 -1
- package/dist/components/{p-v9WkIq1Z.js → p-B6aUlIQe.js} +2 -2
- package/dist/components/{p-BUKCOnKs.js → p-BELGzhZw.js} +2 -2
- package/dist/components/{p-C1VW_3fv.js → p-BQUZjuoP.js} +2 -2
- package/dist/components/p-C1iHkDUH.js +2 -0
- package/dist/components/p-C1iHkDUH.js.map +1 -0
- package/dist/components/{p-CC7jlZnx.js → p-C43B3SP_.js} +2 -2
- package/dist/components/{p-C4ygd3v_.js → p-COaijEV0.js} +2 -2
- package/dist/components/p-COaijEV0.js.map +1 -0
- package/dist/components/{p-DEhaAbKn.js → p-CYvB5bYX.js} +2 -2
- package/dist/components/{p-Bi94seCl.js → p-D-TexkaT.js} +2 -2
- package/dist/components/{p-DP_N7u8w.js → p-D1cSgqut.js} +2 -2
- package/dist/components/{p-B3nCB2u5.js → p-D7oMWhqM.js} +2 -2
- package/dist/components/p-DCZz2B7h.js +2 -0
- package/dist/components/p-DCZz2B7h.js.map +1 -0
- package/dist/components/{p-CHzNcBIz.js → p-DKKsPZnz.js} +2 -2
- package/dist/components/{p-BA3SxsdQ.js → p-DZa0rMk2.js} +2 -2
- package/dist/components/{p-CqVkL8_m.js → p-DfIxVX8-.js} +2 -2
- package/dist/components/{p-C_mtaGHG.js → p-DiYuPnJJ.js} +2 -2
- package/dist/components/{p-RvR1j0oO.js → p-DiwfOWXt.js} +2 -2
- package/dist/components/p-Dy2CRiH8.js +2 -0
- package/dist/components/p-Dy2CRiH8.js.map +1 -0
- package/dist/components/{p-5fVPVL_Z.js → p-K_PKw6bs.js} +2 -2
- package/dist/components/{p-ohuuh9ZE.js → p-bPe0_Dsn.js} +2 -2
- package/dist/components/{p-B3UP88BP.js → p-i3o08M2d.js} +2 -2
- package/dist/components/{p-DnqXAqmP.js → p-zTcSNwsp.js} +2 -2
- package/dist/components/verdocs-build.js +1 -1
- package/dist/components/verdocs-contact-picker.js +1 -1
- package/dist/components/verdocs-delegate-dialog.js +1 -1
- package/dist/components/verdocs-envelopes-list.js +1 -1
- package/dist/components/verdocs-field-attachment.js +1 -1
- package/dist/components/verdocs-field-checkbox.js +1 -1
- package/dist/components/verdocs-field-date.js +1 -1
- package/dist/components/verdocs-field-dropdown.js +1 -1
- package/dist/components/verdocs-field-initial.js +1 -1
- package/dist/components/verdocs-field-payment.js +1 -1
- package/dist/components/verdocs-field-radio.js +1 -1
- package/dist/components/verdocs-field-signature.js +1 -1
- package/dist/components/verdocs-field-textarea.js +1 -1
- package/dist/components/verdocs-field-textbox.js +1 -1
- package/dist/components/verdocs-field-timestamp.js +1 -1
- package/dist/components/verdocs-otp-dialog.js +1 -1
- package/dist/components/verdocs-passcode-dialog.js +1 -1
- package/dist/components/verdocs-preview.js +1 -1
- package/dist/components/verdocs-send.js +1 -1
- package/dist/components/verdocs-sign.js +1 -1
- package/dist/components/verdocs-sign.js.map +1 -1
- package/dist/components/verdocs-status-indicator.js +1 -1
- package/dist/components/verdocs-template-document-page.js +1 -1
- package/dist/components/verdocs-template-fields.js +1 -1
- package/dist/esm/Environment-Dy2CRiH8.js +15 -0
- package/dist/esm/Environment-Dy2CRiH8.js.map +1 -0
- package/dist/esm/{interact.min-BO_a_7pQ.js → interact.min-Bf1WXbdg.js} +4 -4
- package/dist/esm/interact.min-Bf1WXbdg.js.map +1 -0
- package/dist/esm/verdocs-adopt-signature-dialog_7.entry.js +1 -1
- package/dist/esm/verdocs-contact-picker.entry.js +18 -11
- package/dist/esm/verdocs-contact-picker.entry.js.map +1 -1
- package/dist/esm/verdocs-field-attachment_11.entry.js +1 -1
- package/dist/esm/verdocs-field-payment.entry.js +1 -1
- package/dist/esm/verdocs-preview_6.entry.js +2 -2
- package/dist/esm/verdocs-sign.entry.js +8 -4
- package/dist/esm/verdocs-sign.entry.js.map +1 -1
- package/dist/esm/verdocs-status-indicator.entry.js +135 -85
- package/dist/esm/verdocs-status-indicator.entry.js.map +1 -1
- package/dist/esm-es5/Environment-Dy2CRiH8.js +2 -0
- package/dist/esm-es5/Environment-Dy2CRiH8.js.map +1 -0
- package/dist/esm-es5/{interact.min-BO_a_7pQ.js → interact.min-Bf1WXbdg.js} +2 -2
- package/dist/esm-es5/interact.min-Bf1WXbdg.js.map +1 -0
- package/dist/esm-es5/verdocs-adopt-signature-dialog_7.entry.js +1 -1
- package/dist/esm-es5/verdocs-contact-picker.entry.js +1 -1
- package/dist/esm-es5/verdocs-contact-picker.entry.js.map +1 -1
- package/dist/esm-es5/verdocs-field-attachment_11.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-payment.entry.js +1 -1
- package/dist/esm-es5/verdocs-preview_6.entry.js +1 -1
- package/dist/esm-es5/verdocs-sign.entry.js +1 -1
- package/dist/esm-es5/verdocs-sign.entry.js.map +1 -1
- package/dist/esm-es5/verdocs-status-indicator.entry.js +1 -1
- package/dist/esm-es5/verdocs-status-indicator.entry.js.map +1 -1
- package/dist/verdocs-web-sdk/{p-addd303e.system.entry.js → p-006f051b.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-006f051b.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-9c481477.entry.js → p-10d47bbd.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-4471c1b4.entry.js → p-1df29abb.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-255e1915.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-255e1915.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-46e52384.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-46e52384.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-d06d9cfd.entry.js → p-4aee15e6.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-5f58b4cd.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-5f58b4cd.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-b3ac740e.system.entry.js → p-62464041.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-4f9bd0bd.system.entry.js → p-6e8ce989.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-734c8a8b.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-734c8a8b.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-BdZ5Ghsa.system.js +1 -1
- package/dist/verdocs-web-sdk/p-C96xjMgt.system.js +2 -0
- package/dist/verdocs-web-sdk/p-C96xjMgt.system.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-C4ygd3v_.js → p-COaijEV0.js} +2 -2
- package/dist/verdocs-web-sdk/p-COaijEV0.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-DQMNv-mt.system.js → p-CQwimGbQ.system.js} +2 -2
- package/dist/{cjs/interact.min-CGi6ndGs.js.map → verdocs-web-sdk/p-CQwimGbQ.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/p-Dy2CRiH8.js +2 -0
- package/dist/verdocs-web-sdk/p-Dy2CRiH8.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-1273627b.system.entry.js → p-c3527f3e.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-c86111fd.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-c86111fd.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-5c2025ca.entry.js → p-d95705c6.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-6af0110a.system.entry.js → p-e87a29a3.system.entry.js} +3 -3
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
- package/package.json +4 -4
- package/dist/cjs/Environment-CP-XG6Lt.js +0 -13
- package/dist/cjs/Environment-CP-XG6Lt.js.map +0 -1
- package/dist/components/p-29evahil.js +0 -2
- package/dist/components/p-29evahil.js.map +0 -1
- package/dist/components/p-C4ygd3v_.js.map +0 -1
- package/dist/components/p-CA8hWmuL.js +0 -2
- package/dist/components/p-CA8hWmuL.js.map +0 -1
- package/dist/components/p-DtHLJ-XO.js +0 -2
- package/dist/components/p-DtHLJ-XO.js.map +0 -1
- package/dist/esm/Environment-29evahil.js +0 -11
- package/dist/esm/Environment-29evahil.js.map +0 -1
- package/dist/esm/interact.min-BO_a_7pQ.js.map +0 -1
- package/dist/esm-es5/Environment-29evahil.js +0 -2
- package/dist/esm-es5/Environment-29evahil.js.map +0 -1
- package/dist/esm-es5/interact.min-BO_a_7pQ.js.map +0 -1
- package/dist/verdocs-web-sdk/p-0eaeb487.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-0eaeb487.system.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-1a06dffb.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-1a06dffb.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-2636ac4d.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-2636ac4d.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-29evahil.js +0 -2
- package/dist/verdocs-web-sdk/p-29evahil.js.map +0 -1
- package/dist/verdocs-web-sdk/p-4a2d69b9.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-4a2d69b9.system.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-C4ygd3v_.js.map +0 -1
- package/dist/verdocs-web-sdk/p-CHg64SCg.system.js +0 -2
- package/dist/verdocs-web-sdk/p-CHg64SCg.system.js.map +0 -1
- package/dist/verdocs-web-sdk/p-DQMNv-mt.system.js.map +0 -1
- package/dist/verdocs-web-sdk/p-addd303e.system.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-f9ef8d34.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-f9ef8d34.entry.js.map +0 -1
- /package/dist/components/{p-v9WkIq1Z.js.map → p-B6aUlIQe.js.map} +0 -0
- /package/dist/components/{p-BUKCOnKs.js.map → p-BELGzhZw.js.map} +0 -0
- /package/dist/components/{p-C1VW_3fv.js.map → p-BQUZjuoP.js.map} +0 -0
- /package/dist/components/{p-CC7jlZnx.js.map → p-C43B3SP_.js.map} +0 -0
- /package/dist/components/{p-DEhaAbKn.js.map → p-CYvB5bYX.js.map} +0 -0
- /package/dist/components/{p-Bi94seCl.js.map → p-D-TexkaT.js.map} +0 -0
- /package/dist/components/{p-DP_N7u8w.js.map → p-D1cSgqut.js.map} +0 -0
- /package/dist/components/{p-B3nCB2u5.js.map → p-D7oMWhqM.js.map} +0 -0
- /package/dist/components/{p-CHzNcBIz.js.map → p-DKKsPZnz.js.map} +0 -0
- /package/dist/components/{p-BA3SxsdQ.js.map → p-DZa0rMk2.js.map} +0 -0
- /package/dist/components/{p-CqVkL8_m.js.map → p-DfIxVX8-.js.map} +0 -0
- /package/dist/components/{p-C_mtaGHG.js.map → p-DiYuPnJJ.js.map} +0 -0
- /package/dist/components/{p-RvR1j0oO.js.map → p-DiwfOWXt.js.map} +0 -0
- /package/dist/components/{p-5fVPVL_Z.js.map → p-K_PKw6bs.js.map} +0 -0
- /package/dist/components/{p-ohuuh9ZE.js.map → p-bPe0_Dsn.js.map} +0 -0
- /package/dist/components/{p-B3UP88BP.js.map → p-i3o08M2d.js.map} +0 -0
- /package/dist/components/{p-DnqXAqmP.js.map → p-zTcSNwsp.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-9c481477.entry.js.map → p-10d47bbd.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-4471c1b4.entry.js.map → p-1df29abb.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-d06d9cfd.entry.js.map → p-4aee15e6.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-b3ac740e.system.entry.js.map → p-62464041.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-4f9bd0bd.system.entry.js.map → p-6e8ce989.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-1273627b.system.entry.js.map → p-c3527f3e.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-5c2025ca.entry.js.map → p-d95705c6.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-6af0110a.system.entry.js.map → p-e87a29a3.system.entry.js.map} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as t,h as n,H as i}from"./p-CjTHbolG.js";import{formatFullName as r}from"@verdocs/js-sdk";import{c as e}from"./p-BfP9ezJQ.js";var s=Object.create;var o=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var c=Object.getPrototypeOf;var a=Object.prototype.hasOwnProperty;var f=(t,n)=>()=>(n||(t((n={exports:{}}).exports,n),t=null),n.exports);var l=(t,n)=>{let i={};for(var r in t){o(i,r,{get:t[r],enumerable:true})}{o(i,Symbol.toStringTag,{value:"Module"})}return i};var v=(t,n,i,r)=>{if(n&&typeof n==="object"||typeof n==="function"){for(var e=u(n),s=0,c=e.length,f;s<c;s++){f=e[s];if(!a.call(t,f)&&f!==i){o(t,f,{get:(t=>n[t]).bind(null,f),enumerable:!(r=h(n,f))||r.enumerable})}}}return t};var d=(t,n,i)=>(i=t!=null?s(c(t)):{},v(o(i,"default",{value:t,enumerable:true}),t));const C={};const w=[];function p(t,n){if(Array.isArray(t)){for(const i of t)p(i,n);return}if(typeof t==="object"){for(const n in t)p(n,t[n]);return}m(Object.getOwnPropertyNames(n));C[t]=Object.assign(C[t]||{},n)}function y(t){return C[t]||{}}function g(){return[...new Set(w)]}function m(t){w.push(...t)}var b=f(((t,n)=>{n.exports=function(t){try{return!!t()}catch(t){return true}}}));var x=f(((t,n)=>{var i=b();n.exports=!i((function(){var t=function(){}.bind();return typeof t!="function"||t.hasOwnProperty("prototype")}))}));var M=f(((t,n)=>{var i=x();var r=Function.prototype;var e=r.call;var s=i&&r.bind.bind(e,e);n.exports=i?s:function(t){return function(){return e.apply(t,arguments)}}}));var k=f(((t,n)=>{var i=M();n.exports=i({}.isPrototypeOf)}));var j=f(((t,n)=>{var i=function(t){return t&&t.Math===Math&&t};n.exports=i(typeof globalThis=="object"&&globalThis)||i(typeof window=="object"&&window)||i(typeof self=="object"&&self)||i(typeof global=="object"&&global)||i(typeof t=="object"&&t)||function(){return this}()||Function("return this")()}));var _=f(((t,n)=>{var i=x();var r=Function.prototype;var e=r.apply;var s=r.call;n.exports=typeof Reflect=="object"&&Reflect.apply||(i?s.bind(e):function(){return s.apply(e,arguments)})}));var O=f(((t,n)=>{var i=M();var r=i({}.toString);var e=i("".slice);n.exports=function(t){return e(r(t),8,-1)}}));var S=f(((t,n)=>{var i=O();var r=M();n.exports=function(t){if(i(t)==="Function")return r(t)}}));var A=f(((t,n)=>{var i=typeof document=="object"&&document.all;n.exports=typeof i=="undefined"&&i!==void 0?function(t){return typeof t=="function"||t===i}:function(t){return typeof t=="function"}}));var L=f(((t,n)=>{var i=b();n.exports=!i((function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}))}));var E=f(((t,n)=>{var i=x();var r=Function.prototype.call;n.exports=i?r.bind(r):function(){return r.apply(r,arguments)}}));var T=f((t=>{var n={}.propertyIsEnumerable;var i=Object.getOwnPropertyDescriptor;var r=i&&!n.call({1:2},1);t.f=r?function t(n){var r=i(this,n);return!!r&&r.enumerable}:n}));var V=f(((t,n)=>{n.exports=function(t,n){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:n}}}));var H=f(((t,n)=>{var i=M();var r=b();var e=O();var s=Object;var o=i("".split);n.exports=r((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return e(t)==="String"?o(t,""):s(t)}:s}));var z=f(((t,n)=>{n.exports=function(t){return t===null||t===void 0}}));var B=f(((t,n)=>{var i=z();var r=TypeError;n.exports=function(t){if(i(t))throw new r("Can't call method on "+t);return t}}));var D=f(((t,n)=>{var i=H();var r=B();n.exports=function(t){return i(r(t))}}));var I=f(((t,n)=>{var i=A();n.exports=function(t){return typeof t=="object"?t!==null:i(t)}}));var F=f(((t,n)=>{n.exports={}}));var Z=f(((t,n)=>{var i=F();var r=j();var e=A();var s=function(t){return e(t)?t:void 0};n.exports=function(t,n){return arguments.length<2?s(i[t])||s(r[t]):i[t]&&i[t][n]||r[t]&&r[t][n]}}));var $=f(((t,n)=>{var i=j().navigator;var r=i&&i.userAgent;n.exports=r?String(r):""}));var N=f(((t,n)=>{var i=j();var r=$();var e=i.process;var s=i.Deno;var o=e&&e.versions||s&&s.version;var h=o&&o.v8;var u;var c;if(h){u=h.split(".");c=u[0]>0&&u[0]<4?1:+(u[0]+u[1])}if(!c&&r){u=r.match(/Edge\/(\d+)/);if(!u||u[1]>=74){u=r.match(/Chrome\/(\d+)/);if(u)c=+u[1]}}n.exports=c}));var P=f(((t,n)=>{var i=N();var r=b();var e=j().String;n.exports=!!Object.getOwnPropertySymbols&&!r((function(){var t=Symbol("symbol detection");return!e(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&i&&i<41}))}));var R=f(((t,n)=>{var i=P();n.exports=i&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}));var G=f(((t,n)=>{var i=Z();var r=A();var e=k();var s=R();var o=Object;n.exports=s?function(t){return typeof t=="symbol"}:function(t){var n=i("Symbol");return r(n)&&e(n.prototype,o(t))}}));var Y=f(((t,n)=>{var i=String;n.exports=function(t){try{return i(t)}catch(t){return"Object"}}}));var X=f(((t,n)=>{var i=A();var r=Y();var e=TypeError;n.exports=function(t){if(i(t))return t;throw new e(r(t)+" is not a function")}}));var J=f(((t,n)=>{var i=X();var r=z();n.exports=function(t,n){var e=t[n];return r(e)?void 0:i(e)}}));var Q=f(((t,n)=>{var i=E();var r=A();var e=I();var s=TypeError;n.exports=function(t,n){var o,h;if(n==="string"&&r(o=t.toString)&&!e(h=i(o,t)))return h;if(r(o=t.valueOf)&&!e(h=i(o,t)))return h;if(n!=="string"&&r(o=t.toString)&&!e(h=i(o,t)))return h;throw new s("Can't convert object to primitive value")}}));var q=f(((t,n)=>{n.exports=true}));var U=f(((t,n)=>{var i=j();var r=Object.defineProperty;n.exports=function(t,n){try{r(i,t,{value:n,configurable:true,writable:true})}catch(r){i[t]=n}return n}}));var W=f(((t,n)=>{var i=q();var r=j();var e=U();var s="__core-js_shared__";var o=n.exports=r[s]||e(s,{});(o.versions||(o.versions=[])).push({version:"3.49.0",mode:i?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"})}));var K=f(((t,n)=>{var i=W();n.exports=function(t,n){return i[t]||(i[t]=n||{})}}));var tt=f(((t,n)=>{var i=B();var r=Object;n.exports=function(t){return r(i(t))}}));var nt=f(((t,n)=>{var i=M();var r=tt();var e=i({}.hasOwnProperty);n.exports=Object.hasOwn||function t(n,i){return e(r(n),i)}}));var it=f(((t,n)=>{var i=M();var r=0;var e=Math.random();var s=i(1.1.toString);n.exports=function(t){return"Symbol("+(t===void 0?"":t)+")_"+s(++r+e,36)}}));var rt=f(((t,n)=>{var i=j();var r=K();var e=nt();var s=it();var o=P();var h=R();var u=i.Symbol;var c=r("wks");var a=h?u["for"]||u:u&&u.withoutSetter||s;n.exports=function(t){if(!e(c,t))c[t]=o&&e(u,t)?u[t]:a("Symbol."+t);return c[t]}}));var et=f(((t,n)=>{var i=E();var r=I();var e=G();var s=J();var o=Q();var h=rt();var u=TypeError;var c=h("toPrimitive");n.exports=function(t,n){if(!r(t)||e(t))return t;var h=s(t,c);var a;if(h){if(n===void 0)n="default";a=i(h,t,n);if(!r(a)||e(a))return a;throw new u("Can't convert object to primitive value")}if(n===void 0)n="number";return o(t,n)}}));var st=f(((t,n)=>{var i=et();var r=G();n.exports=function(t){var n=i(t,"string");return r(n)?n:n+""}}));var ot=f(((t,n)=>{var i=j();var r=I();var e=i.document;var s=r(e)&&r(e.createElement);n.exports=function(t){return s?e.createElement(t):{}}}));var ht=f(((t,n)=>{var i=L();var r=b();var e=ot();n.exports=!i&&!r((function(){return Object.defineProperty(e("div"),"a",{get:function(){return 7}}).a!==7}))}));var ut=f((t=>{var n=L();var i=E();var r=T();var e=V();var s=D();var o=st();var h=nt();var u=ht();var c=Object.getOwnPropertyDescriptor;t.f=n?c:function t(n,a){n=s(n);a=o(a);if(u)try{return c(n,a)}catch(t){}if(h(n,a))return e(!i(r.f,n,a),n[a])}}));var ct=f(((t,n)=>{var i=b();var r=A();var e=/#|\.prototype\./;var s=function(t,n){var e=h[o(t)];return e===c?true:e===u?false:r(n)?i(n):!!n};var o=s.normalize=function(t){return String(t).replace(e,".").toLowerCase()};var h=s.data={};var u=s.NATIVE="N";var c=s.POLYFILL="P";n.exports=s}));var at=f(((t,n)=>{var i=S();var r=X();var e=x();var s=i(i.bind);n.exports=function(t,n){r(t);return n===void 0?t:e?s(t,n):function(){return t.apply(n,arguments)}}}));var ft=f(((t,n)=>{var i=L();var r=b();n.exports=i&&r((function(){return Object.defineProperty((function(){}),"prototype",{value:42,writable:false}).prototype!==42}))}));var lt=f(((t,n)=>{var i=I();var r=String;var e=TypeError;n.exports=function(t){if(i(t))return t;throw new e(r(t)+" is not an object")}}));var vt=f((t=>{var n=L();var i=ht();var r=ft();var e=lt();var s=st();var o=TypeError;var h=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var c="enumerable";var a="configurable";var f="writable";t.f=n?r?function t(n,i,r){e(n);i=s(i);e(r);if(typeof n==="function"&&i==="prototype"&&"value"in r&&f in r&&!r[f]){var o=u(n,i);if(o&&o[f]){n[i]=r.value;r={configurable:a in r?r[a]:o[a],enumerable:c in r?r[c]:o[c],writable:false}}}return h(n,i,r)}:h:function t(n,r,u){e(n);r=s(r);e(u);if(i)try{return h(n,r,u)}catch(t){}if("get"in u||"set"in u)throw new o("Accessors not supported");if("value"in u)n[r]=u.value;return n}}));var dt=f(((t,n)=>{var i=L();var r=vt();var e=V();n.exports=i?function(t,n,i){return r.f(t,n,e(1,i))}:function(t,n,i){t[n]=i;return t}}));var Ct=f(((t,n)=>{var i=j();var r=_();var e=S();var s=A();var o=ut().f;var h=ct();var u=F();var c=at();var a=dt();var f=nt();W();var l=function(t){var n=function(i,e,s){if(this instanceof n){switch(arguments.length){case 0:return new t;case 1:return new t(i);case 2:return new t(i,e)}return new t(i,e,s)}return r(t,this,arguments)};n.prototype=t.prototype;return n};n.exports=function(t,n){var r=t.target;var v=t.global;var d=t.stat;var C=t.proto;var w=v?i:d?i[r]:i[r]&&i[r].prototype;var p=v?u:u[r]||a(u,r,{})[r];var y=p.prototype;var g,m,b;var x,M,k,j,_,O;for(x in n){g=h(v?x:r+(d?".":"#")+x,t.forced);m=!g&&w&&f(w,x);k=p[x];if(m)if(t.dontCallGetSet){O=o(w,x);j=O&&O.value}else j=w[x];M=m&&j?j:n[x];if(!g&&!C&&typeof k==typeof M)continue;if(t.bind&&m)_=c(M,i);else if(t.wrap&&m)_=l(M);else if(C&&s(M))_=e(M);else _=M;if(t.sham||M&&M.sham||k&&k.sham)a(_,"sham",true);a(p,x,_);if(C){b=r+"Prototype";if(!f(u,b))a(u,b,{});a(u[b],x,M);if(t.real&&y&&(g||!y[x]))a(y,x,M)}}}}));var wt=f(((t,n)=>{var i=Math.ceil;var r=Math.floor;n.exports=Math.trunc||function t(n){var e=+n;return(e>0?r:i)(e)}}));var pt=f(((t,n)=>{var i=wt();n.exports=function(t){var n=+t;return n!==n||n===0?0:i(n)}}));var yt=f(((t,n)=>{var i=pt();var r=Math.max;var e=Math.min;n.exports=function(t,n){var s=i(t);return s<0?r(s+n,0):e(s,n)}}));var gt=f(((t,n)=>{var i=pt();var r=Math.min;n.exports=function(t){var n=i(t);return n>0?r(n,9007199254740991):0}}));var mt=f(((t,n)=>{var i=gt();n.exports=function(t){return i(t.length)}}));var bt=f(((t,n)=>{var i=D();var r=yt();var e=mt();var s=function(t){return function(n,s,o){var h=i(n);var u=e(h);if(u===0)return!t&&-1;var c=r(o,u);var a;if(t&&s!==s)while(u>c){a=h[c++];if(a!==a)return true}else for(;u>c;c++)if((t||c in h)&&h[c]===s)return t||c||0;return!t&&-1}};n.exports={includes:s(true),indexOf:s(false)}}));var xt=f(((t,n)=>{n.exports=function(){}}));var Mt=f((()=>{var t=Ct();var n=bt().includes;var i=b();var r=xt();var e=i((function(){return!Array(1).includes()}));var s=i((function(){return[,1].includes(void 0,1)}));t({target:"Array",proto:true,forced:e||s},{includes:function t(i){return n(this,i,arguments.length>1?arguments[1]:void 0)}});r("includes")}));var kt=f(((t,n)=>{var i=j();var r=F();n.exports=function(t,n){var e=r[t+"Prototype"];var s=e&&e[n];if(s)return s;var o=i[t];var h=o&&o.prototype;return h&&h[n]}}));var jt=f(((t,n)=>{Mt();var i=kt();n.exports=i("Array","includes")}));var _t=f(((t,n)=>{var i=I();var r=O();var e=rt()("match");n.exports=function(t){var n;return i(t)&&((n=t[e])!==void 0?!!n:r(t)==="RegExp")}}));var Ot=f(((t,n)=>{var i=_t();var r=TypeError;n.exports=function(t){if(i(t))throw new r("The method doesn't accept regular expressions");return t}}));var St=f(((t,n)=>{var i=rt()("toStringTag");var r={};r[i]="z";n.exports=String(r)==="[object z]"}));var At=f(((t,n)=>{var i=St();var r=A();var e=O();var s=rt()("toStringTag");var o=Object;var h=e(function(){return arguments}())==="Arguments";var u=function(t,n){try{return t[n]}catch(t){}};n.exports=i?e:function(t){var n,i,c;return t===void 0?"Undefined":t===null?"Null":typeof(i=u(n=o(t),s))=="string"?i:h?e(n):(c=e(n))==="Object"&&r(n.callee)?"Arguments":c}}));var Lt=f(((t,n)=>{var i=At();var r=String;n.exports=function(t){if(i(t)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return r(t)}}));var Et=f(((t,n)=>{var i=rt()("match");n.exports=function(t){var n=/./;try{"/./"[t](n)}catch(r){try{n[i]=false;return"/./"[t](n)}catch(t){}}return false}}));var Tt=f((()=>{var t=Ct();var n=M();var i=Ot();var r=B();var e=Lt();var s=Et();var o=n("".indexOf);t({target:"String",proto:true,forced:!s("includes")},{includes:function t(n){return!!~o(e(r(this)),e(i(n)),arguments.length>1?arguments[1]:void 0)}})}));var Vt=f(((t,n)=>{Tt();var i=kt();n.exports=i("String","includes")}));var Ht=f(((t,n)=>{var i=k();var r=jt();var e=Vt();var s=Array.prototype;var o=String.prototype;n.exports=function(t){var n=t.includes;if(t===s||i(s,t)&&n===s.includes)return r;if(typeof t=="string"||t===o||i(o,t)&&n===o.includes)return e;return n}}));var zt=f(((t,n)=>{var i=Ht();n.exports=i}));var Bt=d(zt());function Dt(t,n){let i;const r=t.length;const e=[];for(i=0;i<r;i++)e.push(n(t[i]));return e}function It(t,n){let i;const r=t.length;const e=[];for(i=0;i<r;i++)if(n(t[i]))e.push(t[i]);return e}function Ft(t){return t%360*Math.PI/180}function Zt(t){return t.replace(/([A-Z])/g,(function(t,n){return"-"+n.toLowerCase()}))}function $t(t){return t.charAt(0).toUpperCase()+t.slice(1)}function Nt(t,n,i,r){if(n==null||i==null){r=r||t.bbox();if(n==null)n=r.width/r.height*i;else if(i==null)i=r.height/r.width*n}return{width:n,height:i}}function Pt(t,n){const i=t.origin;let r=t.ox!=null?t.ox:t.originX!=null?t.originX:"center";let e=t.oy!=null?t.oy:t.originY!=null?t.originY:"center";if(i!=null)[r,e]=Array.isArray(i)?i:typeof i==="object"?[i.x,i.y]:[i,i];const s=typeof r==="string";const o=typeof e==="string";if(s||o){const{height:t,width:i,x:h,y:u}=n.bbox();if(s)r=(0,Bt.default)(r).call(r,"left")?h:(0,Bt.default)(r).call(r,"right")?h+i:h+i/2;if(o)e=(0,Bt.default)(e).call(e,"top")?u:(0,Bt.default)(e).call(e,"bottom")?u+t:u+t/2}return[r,e]}const Rt=new Set(["desc","metadata","title"]);const Gt=t=>Rt.has(t.nodeName);const Yt=(t,n,i={})=>{const r={...n};for(const t in r)if(r[t].valueOf()===i[t])delete r[t];if(Object.keys(r).length)t.node.setAttribute("data-svgjs",JSON.stringify(r));else{t.node.removeAttribute("data-svgjs");t.node.removeAttribute("svgjs:data")}};const Xt="http://www.w3.org/2000/svg";const Jt="http://www.w3.org/1999/xhtml";const Qt="http://www.w3.org/2000/xmlns/";const qt="http://www.w3.org/1999/xlink";const Ut={window:typeof window==="undefined"?null:window,document:typeof document==="undefined"?null:document};function Wt(){return Ut.window}var Kt=class{};const tn={};const nn="___SYMBOL___ROOT___";function rn(t,n=Xt){return Ut.document.createElementNS(n,t)}function en(t,n=false){if(t instanceof Kt)return t;if(typeof t==="object")return hn(t);if(t==null)return new tn[nn];if(typeof t==="string"&&t.trim().charAt(0)!=="<")return hn(Ut.document.querySelector(t));const i=n?Ut.document.createElement("div"):rn("svg");i.innerHTML=t.trim();t=hn(i.firstElementChild);i.removeChild(i.firstElementChild);return t}function sn(t,n){return n&&(n instanceof Ut.window.Node||n.ownerDocument&&n instanceof n.ownerDocument.defaultView.Node)?n:rn(t)}function on(t){if(!t)return null;if(t.instance instanceof Kt)return t.instance;if(t.nodeName==="#document-fragment")return new tn.Fragment(t);let n=$t(t.nodeName||"Dom");if(n==="LinearGradient"||n==="RadialGradient")n="Gradient";else if(!tn[n])n="Dom";return new tn[n](t)}let hn=on;function un(t,n=t.name,i=false){tn[n]=t;if(i)tn[nn]=t;m(Object.getOwnPropertyNames(t.prototype));return t}function cn(t){return tn[t]}let an=1e3;function fn(t){return"Svgjs"+$t(t)+an++}function ln(t){for(let n=t.children.length-1;n>=0;n--)ln(t.children[n]);if(t.id){t.id=fn(t.nodeName);return t}return t}function vn(t,n){let i,r;t=Array.isArray(t)?t:[t];for(r=t.length-1;r>=0;r--)for(i in n)t[r].prototype[i]=n[i]}function dn(t){return function(...n){const i=n[n.length-1];if(i&&i.constructor===Object&&!(i instanceof Array))return t.apply(this,n.slice(0,-1)).attr(i);else return t.apply(this,n)}}function Cn(){return this.parent().children()}function wn(){return this.parent().index(this)}function pn(){return this.siblings()[this.position()+1]}function yn(){return this.siblings()[this.position()-1]}function gn(){const t=this.position();this.parent().add(this.remove(),t+1);return this}function mn(){const t=this.position();this.parent().add(this.remove(),t?t-1:0);return this}function bn(){this.parent().add(this.remove());return this}function xn(){this.parent().add(this.remove(),0);return this}function Mn(t){t=en(t);t.remove();const n=this.position();this.parent().add(t,n);return this}function kn(t){t=en(t);t.remove();const n=this.position();this.parent().add(t,n+1);return this}function jn(t){t=en(t);t.before(this);return this}function _n(t){t=en(t);t.after(this);return this}p("Dom",{siblings:Cn,position:wn,next:pn,prev:yn,forward:gn,backward:mn,front:bn,back:xn,before:Mn,after:kn,insertBefore:jn,insertAfter:_n});const On=/^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i;const Sn=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;const An=/rgb\((\d+),(\d+),(\d+)\)/;const Ln=/^(#[^\s]+)$/;const En=/\)\s*,?\s*/;const Tn=/\s/g;const Vn=/^#[a-f0-9]{3}$|^#[a-f0-9]{6}$/i;const Hn=/^rgb\(/;const zn=/^(\s+)?$/;const Bn=/^[+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;const Dn=/\.(jpg|jpeg|png|gif|svg)(\?[^=]+.*)?/i;const In=/[\s,]+/;const Fn=/[MLHVCSQTAZ]/i;function Zn(){const t=this.attr("class");return t==null?[]:t.trim().split(In)}function $n(t){return this.classes().indexOf(t)!==-1}function Nn(t){if(!this.hasClass(t)){const n=this.classes();n.push(t);this.attr("class",n.join(" "))}return this}function Pn(t){if(this.hasClass(t))this.attr("class",this.classes().filter((function(n){return n!==t})).join(" "));return this}function Rn(t){return this.hasClass(t)?this.removeClass(t):this.addClass(t)}p("Dom",{classes:Zn,hasClass:$n,addClass:Nn,removeClass:Pn,toggleClass:Rn});const Gn=t=>t.startsWith("--")?t:Zt(t);function Yn(t,n){const i={};if(arguments.length===0){const t=this.node.style;for(let n=0;n<t.length;n++){const r=t.item(n);const e=t.getPropertyValue(r);const s=t.getPropertyPriority(r);i[r]=s?`${e} !${s}`:e}return i}if(arguments.length<2){if(Array.isArray(t)){for(const n of t){const t=Gn(n);i[n]=this.node.style.getPropertyValue(t)}return i}if(typeof t==="string")return this.node.style.getPropertyValue(Gn(t));if(typeof t==="object")for(const n in t)this.node.style.setProperty(Gn(n),t[n]==null||zn.test(t[n])?"":t[n])}if(arguments.length===2)this.node.style.setProperty(Gn(t),n==null||zn.test(n)?"":n);return this}function Xn(){return this.css("display","")}function Jn(){return this.css("display","none")}function Qn(){return this.css("display")!=="none"}p("Dom",{css:Yn,show:Xn,hide:Jn,visible:Qn});function qn(t,n,i){if(t==null)return this.data(Dt(It(this.node.attributes,(t=>t.nodeName.indexOf("data-")===0)),(t=>t.nodeName.slice(5))));else if(t instanceof Array){const n={};for(const i of t)n[i]=this.data(i);return n}else if(typeof t==="object")for(n in t)this.data(n,t[n]);else if(arguments.length<2)try{return JSON.parse(this.attr("data-"+t))}catch(n){return this.attr("data-"+t)}else this.attr("data-"+t,n===null?null:i===true||typeof n==="string"||typeof n==="number"?n:JSON.stringify(n));return this}p("Dom",{data:qn});function Un(t,n){if(typeof arguments[0]==="object")for(const n in t)this.remember(n,t[n]);else if(arguments.length===1)return this.memory()[t];else this.memory()[t]=n;return this}function Wn(){if(arguments.length===0)this._memory={};else for(let t=arguments.length-1;t>=0;t--)delete this.memory()[arguments[t]];return this}function Kn(){return this._memory=this._memory||{}}p("Dom",{remember:Un,forget:Wn,memory:Kn});function ti(t){return t.length===4?["#",t.substring(1,2),t.substring(1,2),t.substring(2,3),t.substring(2,3),t.substring(3,4),t.substring(3,4)].join(""):t}function ni(t){const n=Math.max(0,Math.min(255,Math.round(t))).toString(16);return n.length===1?"0"+n:n}function ii(t,n){for(let i=n.length;i--;)if(t[n[i]]==null)return false;return true}function ri(t,n){const i=ii(t,"rgb")?{_a:t.r,_b:t.g,_c:t.b,_d:0,space:"rgb"}:ii(t,"xyz")?{_a:t.x,_b:t.y,_c:t.z,_d:0,space:"xyz"}:ii(t,"hsl")?{_a:t.h,_b:t.s,_c:t.l,_d:0,space:"hsl"}:ii(t,"lab")?{_a:t.l,_b:t.a,_c:t.b,_d:0,space:"lab"}:ii(t,"lch")?{_a:t.l,_b:t.c,_c:t.h,_d:0,space:"lch"}:ii(t,"cmyk")?{_a:t.c,_b:t.m,_c:t.y,_d:t.k,space:"cmyk"}:{_a:0,_b:0,_c:0,space:"rgb"};i.space=n||i.space;return i}function ei(t){if(t==="lab"||t==="xyz"||t==="lch")return true;else return false}function si(t,n,i){if(i<0)i+=1;if(i>1)i-=1;if(i<1/6)return t+(n-t)*6*i;if(i<1/2)return n;if(i<2/3)return t+(n-t)*(2/3-i)*6;return t}var oi=class t{constructor(...t){this.init(...t)}static isColor(n){return n&&(n instanceof t||this.isRgb(n)||this.test(n))}static isRgb(t){return t&&typeof t.r==="number"&&typeof t.g==="number"&&typeof t.b==="number"}static random(n="vibrant",i){const{random:r,round:e,sin:s,PI:o}=Math;if(n==="vibrant"){const n=24*r()+57;const i=38*r()+45;const e=360*r();return new t(n,i,e,"lch")}else if(n==="sine"){i=i==null?r():i;const n=e(80*s(2*o*i/.5+.01)+150);const h=e(50*s(2*o*i/.5+4.6)+200);const u=e(100*s(2*o*i/.5+2.3)+150);return new t(n,h,u)}else if(n==="pastel"){const n=8*r()+86;const i=17*r()+9;const e=360*r();return new t(n,i,e,"lch")}else if(n==="dark"){const n=10+10*r();const i=50*r()+86;const e=360*r();return new t(n,i,e,"lch")}else if(n==="rgb"){const n=255*r();const i=255*r();const e=255*r();return new t(n,i,e)}else if(n==="lab"){const n=100*r();const i=256*r()-128;const e=256*r()-128;return new t(n,i,e,"lab")}else if(n==="grey"){const n=255*r();return new t(n,n,n)}else throw new Error("Unsupported random color mode")}static test(t){return typeof t==="string"&&(Vn.test(t)||Hn.test(t))}cmyk(){const{_a:n,_b:i,_c:r}=this.rgb();const[e,s,o]=[n,i,r].map((t=>t/255));const h=Math.min(1-e,1-s,1-o);if(h===1)return new t(0,0,0,1,"cmyk");const u=(1-e-h)/(1-h);const c=(1-s-h)/(1-h);const a=(1-o-h)/(1-h);return new t(u,c,a,h,"cmyk")}hsl(){const{_a:n,_b:i,_c:r}=this.rgb();const[e,s,o]=[n,i,r].map((t=>t/255));const h=Math.max(e,s,o);const u=Math.min(e,s,o);const c=(h+u)/2;const a=h===u;const f=h-u;const l=a?0:c>.5?f/(2-h-u):f/(h+u);const v=a?0:h===e?((s-o)/f+(s<o?6:0))/6:h===s?((o-e)/f+2)/6:h===o?((e-s)/f+4)/6:0;return new t(360*v,100*l,100*c,"hsl")}init(t=0,n=0,i=0,r=0,e="rgb"){t=!t?0:t;if(this.space)for(const t in this.space)delete this[this.space[t]];if(typeof t==="number"){e=typeof r==="string"?r:e;r=typeof r==="string"?0:r;Object.assign(this,{_a:t,_b:n,_c:i,_d:r,space:e})}else if(t instanceof Array){this.space=n||(typeof t[3]==="string"?t[3]:t[4])||"rgb";Object.assign(this,{_a:t[0],_b:t[1],_c:t[2],_d:t[3]||0})}else if(t instanceof Object){const i=ri(t,n);Object.assign(this,i)}else if(typeof t==="string")if(Hn.test(t)){const n=t.replace(Tn,"");const[i,r,e]=An.exec(n).slice(1,4).map((t=>parseInt(t)));Object.assign(this,{_a:i,_b:r,_c:e,_d:0,space:"rgb"})}else if(Vn.test(t)){const n=t=>parseInt(t,16);const[,i,r,e]=Sn.exec(ti(t)).map(n);Object.assign(this,{_a:i,_b:r,_c:e,_d:0,space:"rgb"})}else throw Error("Unsupported string format, can't construct Color");const{_a:s,_b:o,_c:h,_d:u}=this;const c=this.space==="rgb"?{r:s,g:o,b:h}:this.space==="xyz"?{x:s,y:o,z:h}:this.space==="hsl"?{h:s,s:o,l:h}:this.space==="lab"?{l:s,a:o,b:h}:this.space==="lch"?{l:s,c:o,h}:this.space==="cmyk"?{c:s,m:o,y:h,k:u}:{};Object.assign(this,c)}lab(){const{x:n,y:i,z:r}=this.xyz();const e=116*i-16;const s=500*(n-i);const o=200*(i-r);return new t(e,s,o,"lab")}lch(){const{l:n,a:i,b:r}=this.lab();const e=Math.sqrt(i**2+r**2);let s=180*Math.atan2(r,i)/Math.PI;if(s<0){s*=-1;s=360-s}return new t(n,e,s,"lch")}rgb(){if(this.space==="rgb")return this;else if(ei(this.space)){let{x:n,y:i,z:r}=this;if(this.space==="lab"||this.space==="lch"){let{l:t,a:e,b:s}=this;if(this.space==="lch"){const{c:t,h:n}=this;const i=Math.PI/180;e=t*Math.cos(i*n);s=t*Math.sin(i*n)}const o=(t+16)/116;const h=e/500+o;const u=o-s/200;const c=16/116;const a=.008856;const f=7.787;n=.95047*(h**3>a?h**3:(h-c)/f);i=1*(o**3>a?o**3:(o-c)/f);r=1.08883*(u**3>a?u**3:(u-c)/f)}const e=n*3.2406+i*-1.5372+r*-.4986;const s=n*-.9689+i*1.8758+r*.0415;const o=n*.0557+i*-.204+r*1.057;const h=Math.pow;const u=.0031308;const c=e>u?1.055*h(e,1/2.4)-.055:12.92*e;const a=s>u?1.055*h(s,1/2.4)-.055:12.92*s;const f=o>u?1.055*h(o,1/2.4)-.055:12.92*o;return new t(255*c,255*a,255*f)}else if(this.space==="hsl"){let{h:n,s:i,l:r}=this;n/=360;i/=100;r/=100;if(i===0){r*=255;return new t(r,r,r)}const e=r<.5?r*(1+i):r+i-r*i;const s=2*r-e;const o=255*si(s,e,n+1/3);const h=255*si(s,e,n);const u=255*si(s,e,n-1/3);return new t(o,h,u)}else if(this.space==="cmyk"){const{c:n,m:i,y:r,k:e}=this;const s=255*(1-Math.min(1,n*(1-e)+e));const o=255*(1-Math.min(1,i*(1-e)+e));const h=255*(1-Math.min(1,r*(1-e)+e));return new t(s,o,h)}else return this}toArray(){const{_a:t,_b:n,_c:i,_d:r,space:e}=this;return[t,n,i,r,e]}toHex(){const[t,n,i]=this._clamped().map(ni);return`#${t}${n}${i}`}toRgb(){const[t,n,i]=this._clamped();return`rgb(${t},${n},${i})`}toString(){return this.toHex()}xyz(){const{_a:n,_b:i,_c:r}=this.rgb();const[e,s,o]=[n,i,r].map((t=>t/255));const h=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92;const u=s>.04045?Math.pow((s+.055)/1.055,2.4):s/12.92;const c=o>.04045?Math.pow((o+.055)/1.055,2.4):o/12.92;const a=(h*.4124+u*.3576+c*.1805)/.95047;const f=(h*.2126+u*.7152+c*.0722)/1;const l=(h*.0193+u*.1192+c*.9505)/1.08883;const v=a>.008856?Math.pow(a,1/3):7.787*a+16/116;const d=f>.008856?Math.pow(f,1/3):7.787*f+16/116;const C=l>.008856?Math.pow(l,1/3):7.787*l+16/116;return new t(v,d,C,"xyz")}_clamped(){const{_a:t,_b:n,_c:i}=this.rgb();const{max:r,min:e,round:s}=Math;const o=t=>r(0,e(s(t),255));return[t,n,i].map(o)}};var hi=class t{constructor(...t){this.init(...t)}clone(){return new t(this)}init(t,n){const i={x:0,y:0};const r=Array.isArray(t)?{x:t[0],y:t[1]}:typeof t==="object"?{x:t.x,y:t.y}:{x:t,y:n};this.x=r.x==null?i.x:r.x;this.y=r.y==null?i.y:r.y;return this}toArray(){return[this.x,this.y]}transform(t){return this.clone().transformO(t)}transformO(t){if(!ai.isMatrixLike(t))t=new ai(t);const{x:n,y:i}=this;this.x=t.a*n+t.c*i+t.e;this.y=t.b*n+t.d*i+t.f;return this}};function ui(t,n){return new hi(t,n).transformO(this.screenCTM().inverseO())}function ci(t,n,i){return Math.abs(n-t)<1e-6}var ai=class t{constructor(...t){this.init(...t)}static formatTransforms(t){const n=t.flip==="both"||t.flip===true;const i=t.flip&&(n||t.flip==="x")?-1:1;const r=t.flip&&(n||t.flip==="y")?-1:1;const e=t.skew&&t.skew.length?t.skew[0]:isFinite(t.skew)?t.skew:isFinite(t.skewX)?t.skewX:0;const s=t.skew&&t.skew.length?t.skew[1]:isFinite(t.skew)?t.skew:isFinite(t.skewY)?t.skewY:0;const o=t.scale&&t.scale.length?t.scale[0]*i:isFinite(t.scale)?t.scale*i:isFinite(t.scaleX)?t.scaleX*i:i;const h=t.scale&&t.scale.length?t.scale[1]*r:isFinite(t.scale)?t.scale*r:isFinite(t.scaleY)?t.scaleY*r:r;const u=t.shear||0;const c=t.rotate||t.theta||0;const a=new hi(t.origin||t.around||t.ox||t.originX,t.oy||t.originY);const f=a.x;const l=a.y;const v=new hi(t.position??t.px??t.positionX??NaN,t.py??t.positionY??NaN);const d=v.x;const C=v.y;const w=new hi(t.translate||t.tx||t.translateX,t.ty||t.translateY);const p=w.x;const y=w.y;const g=new hi(t.relative||t.rx||t.relativeX,t.ry||t.relativeY);return{scaleX:o,scaleY:h,skewX:e,skewY:s,shear:u,theta:c,rx:g.x,ry:g.y,tx:p,ty:y,ox:f,oy:l,px:d,py:C}}static fromArray(t){return{a:t[0],b:t[1],c:t[2],d:t[3],e:t[4],f:t[5]}}static isMatrixLike(t){return t.a!=null||t.b!=null||t.c!=null||t.d!=null||t.e!=null||t.f!=null}static matrixMultiply(t,n,i){const r=t.a*n.a+t.c*n.b;const e=t.b*n.a+t.d*n.b;const s=t.a*n.c+t.c*n.d;const o=t.b*n.c+t.d*n.d;const h=t.e+t.a*n.e+t.c*n.f;const u=t.f+t.b*n.e+t.d*n.f;i.a=r;i.b=e;i.c=s;i.d=o;i.e=h;i.f=u;return i}around(t,n,i){return this.clone().aroundO(t,n,i)}aroundO(t,n,i){const r=t||0;const e=n||0;return this.translateO(-r,-e).lmultiplyO(i).translateO(r,e)}clone(){return new t(this)}decompose(t=0,n=0){const i=this.a;const r=this.b;const e=this.c;const s=this.d;const o=this.e;const h=this.f;const u=i*s-r*e;const c=u>0?1:-1;const a=c*Math.sqrt(i*i+r*r);const f=Math.atan2(c*r,c*i);const l=180/Math.PI*f;const v=(i*e+r*s)/u;return{scaleX:a,scaleY:e*a/(v*i-r)||s*a/(v*r+i),shear:v,rotate:l,translateX:o-t+t*i+n*e,translateY:h-n+t*r+n*s,originX:t,originY:n,a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}}equals(n){if(n===this)return true;const i=new t(n);return ci(this.a,i.a)&&ci(this.b,i.b)&&ci(this.c,i.c)&&ci(this.d,i.d)&&ci(this.e,i.e)&&ci(this.f,i.f)}flip(t,n){return this.clone().flipO(t,n)}flipO(t,n){return t==="x"?this.scaleO(-1,1,n,0):t==="y"?this.scaleO(1,-1,0,n):this.scaleO(-1,-1,t,n||t)}init(n){const i=t.fromArray([1,0,0,1,0,0]);n=n instanceof Ui?n.matrixify():typeof n==="string"?t.fromArray(n.split(In).map(parseFloat)):Array.isArray(n)?t.fromArray(n):typeof n==="object"&&t.isMatrixLike(n)?n:typeof n==="object"?(new t).transform(n):arguments.length===6?t.fromArray([].slice.call(arguments)):i;this.a=n.a!=null?n.a:i.a;this.b=n.b!=null?n.b:i.b;this.c=n.c!=null?n.c:i.c;this.d=n.d!=null?n.d:i.d;this.e=n.e!=null?n.e:i.e;this.f=n.f!=null?n.f:i.f;return this}inverse(){return this.clone().inverseO()}inverseO(){const t=this.a;const n=this.b;const i=this.c;const r=this.d;const e=this.e;const s=this.f;const o=t*r-n*i;if(!o)throw new Error("Cannot invert "+this);const h=r/o;const u=-n/o;const c=-i/o;const a=t/o;const f=-(h*e+c*s);const l=-(u*e+a*s);this.a=h;this.b=u;this.c=c;this.d=a;this.e=f;this.f=l;return this}lmultiply(t){return this.clone().lmultiplyO(t)}lmultiplyO(n){const i=this;const r=n instanceof t?n:new t(n);return t.matrixMultiply(r,i,this)}multiply(t){return this.clone().multiplyO(t)}multiplyO(n){const i=this;const r=n instanceof t?n:new t(n);return t.matrixMultiply(i,r,this)}rotate(t,n,i){return this.clone().rotateO(t,n,i)}rotateO(t,n=0,i=0){t=Ft(t);const r=Math.cos(t);const e=Math.sin(t);const{a:s,b:o,c:h,d:u,e:c,f:a}=this;this.a=s*r-o*e;this.b=o*r+s*e;this.c=h*r-u*e;this.d=u*r+h*e;this.e=c*r-a*e+i*e-n*r+n;this.f=a*r+c*e-n*e-i*r+i;return this}scale(){return this.clone().scaleO(...arguments)}scaleO(t,n=t,i=0,r=0){if(arguments.length===3){r=i;i=n;n=t}const{a:e,b:s,c:o,d:h,e:u,f:c}=this;this.a=e*t;this.b=s*n;this.c=o*t;this.d=h*n;this.e=u*t-i*t+i;this.f=c*n-r*n+r;return this}shear(t,n,i){return this.clone().shearO(t,n,i)}shearO(t,n=0,i=0){const{a:r,b:e,c:s,d:o,e:h,f:u}=this;this.a=r+e*t;this.c=s+o*t;this.e=h+u*t-i*t;return this}skew(){return this.clone().skewO(...arguments)}skewO(t,n=t,i=0,r=0){if(arguments.length===3){r=i;i=n;n=t}t=Ft(t);n=Ft(n);const e=Math.tan(t);const s=Math.tan(n);const{a:o,b:h,c:u,d:c,e:a,f}=this;this.a=o+h*e;this.b=h+o*s;this.c=u+c*e;this.d=c+u*s;this.e=a+f*e-r*e;this.f=f+a*s-i*s;return this}skewX(t,n,i){return this.skew(t,0,n,i)}skewY(t,n,i){return this.skew(0,t,n,i)}toArray(){return[this.a,this.b,this.c,this.d,this.e,this.f]}toString(){return"matrix("+this.a+","+this.b+","+this.c+","+this.d+","+this.e+","+this.f+")"}transform(n){if(t.isMatrixLike(n))return new t(n).multiplyO(this);const i=t.formatTransforms(n);const r=this;const{x:e,y:s}=new hi(i.ox,i.oy).transform(r);const o=(new t).translateO(i.rx,i.ry).lmultiplyO(r).translateO(-e,-s).scaleO(i.scaleX,i.scaleY).skewO(i.skewX,i.skewY).shearO(i.shear).rotateO(i.theta).translateO(e,s);if(isFinite(i.px)||isFinite(i.py)){const t=new hi(e,s).transform(o);const n=isFinite(i.px)?i.px-t.x:0;const r=isFinite(i.py)?i.py-t.y:0;o.translateO(n,r)}o.translateO(i.tx,i.ty);return o}translate(t,n){return this.clone().translateO(t,n)}translateO(t,n){this.e+=t||0;this.f+=n||0;return this}valueOf(){return{a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}}};function fi(){return new ai(this.node.getCTM())}function li(){try{if(typeof this.isRoot==="function"&&!this.isRoot()){const t=this.rect(1,1);const n=t.node.getScreenCTM();t.remove();return new ai(n)}return new ai(this.node.getScreenCTM())}catch(t){console.warn(`Cannot get CTM from SVG node ${this.node.nodeName}. Is the element rendered?`);return new ai}}un(ai,"Matrix");function vi(){if(!vi.nodes||vi.nodes.svg.node.ownerDocument!==Ut.document){const t=en().size(2,0);t.node.style.cssText=["opacity: 0","position: absolute","left: -100%","top: -100%","overflow: hidden"].join(";");t.attr("focusable","false");t.attr("aria-hidden","true");vi.nodes={svg:t,path:t.path().node}}if(!vi.nodes.svg.node.parentNode)vi.nodes.svg.addTo(Ut.document.body||Ut.document.documentElement);return vi.nodes}function di(t){return!t.width&&!t.height&&!t.x&&!t.y}function Ci(t){return t===Ut.document||(Ut.document.documentElement.contains||function(t){while(t.parentNode)t=t.parentNode;return t===Ut.document}).call(Ut.document.documentElement,t)}var wi=class t{constructor(...t){this.init(...t)}addOffset(){this.x+=Ut.window.pageXOffset;this.y+=Ut.window.pageYOffset;return new t(this)}init(t){t=typeof t==="string"?t.split(In).map(parseFloat):Array.isArray(t)?t:typeof t==="object"?[t.left!=null?t.left:t.x,t.top!=null?t.top:t.y,t.width,t.height]:arguments.length===4?[].slice.call(arguments):[0,0,0,0];this.x=t[0]||0;this.y=t[1]||0;this.width=this.w=t[2]||0;this.height=this.h=t[3]||0;this.x2=this.x+this.w;this.y2=this.y+this.h;this.cx=this.x+this.w/2;this.cy=this.y+this.h/2;return this}isNulled(){return di(this)}merge(n){const i=Math.min(this.x,n.x);const r=Math.min(this.y,n.y);const e=Math.max(this.x+this.width,n.x+n.width)-i;const s=Math.max(this.y+this.height,n.y+n.height)-r;return new t(i,r,e,s)}toArray(){return[this.x,this.y,this.width,this.height]}toString(){return this.x+" "+this.y+" "+this.width+" "+this.height}transform(n){if(!(n instanceof ai))n=new ai(n);let i=Infinity;let r=-Infinity;let e=Infinity;let s=-Infinity;[new hi(this.x,this.y),new hi(this.x2,this.y),new hi(this.x,this.y2),new hi(this.x2,this.y2)].forEach((function(t){t=t.transform(n);i=Math.min(i,t.x);r=Math.max(r,t.x);e=Math.min(e,t.y);s=Math.max(s,t.y)}));return new t(i,e,r-i,s-e)}};function pi(t,n,i){let r;try{r=n(t.node);if(di(r)&&!Ci(t.node))throw new Error("Element not in the dom")}catch(n){r=i(t)}return r}function yi(){const t=t=>t.getBBox();const n=t=>{try{const n=t.clone().addTo(vi().svg).show();const i=n.node.getBBox();n.remove();return i}catch(n){throw new Error(`Getting bbox of element "${t.node.nodeName}" is not possible: ${n.toString()}`)}};const i=pi(this,t,n);return new wi(i)}function gi(t){const n=t=>t.getBoundingClientRect();const i=t=>{throw new Error(`Getting rbox of element "${t.node.nodeName}" is not possible`)};const r=pi(this,n,i);const e=new wi(r);if(t)return e.transform(t.screenCTM().inverseO());return e.addOffset()}function mi(t,n){const i=this.bbox();return t>i.x&&n>i.y&&t<i.x+i.width&&n<i.y+i.height}p({viewbox:{viewbox(t,n,i,r){if(t==null)return new wi(this.attr("viewBox"));return this.attr("viewBox",new wi(t,n,i,r))},zoom(t,n){let{width:i,height:r}=this.attr(["width","height"]);if(!i&&!r||typeof i==="string"||typeof r==="string"){i=this.node.clientWidth;r=this.node.clientHeight}if(!i||!r)throw new Error("Impossible to get absolute width and height. Please provide an absolute width and height attribute on the zooming element");const e=this.viewbox();const s=i/e.width;const o=r/e.height;const h=Math.min(s,o);if(t==null)return h;let u=h/t;if(u===Infinity)u=Number.MAX_SAFE_INTEGER/100;n=n||new hi(i/2/s+e.x,r/2/o+e.y);const c=new wi(e).transform(new ai({scale:u,origin:n}));return this.viewbox(c)}}});un(wi,"Box");var bi=class extends Array{constructor(t=[],...n){super(t,...n);if(typeof t==="number")return this;this.length=0;this.push(...t)}};vn([bi],{each(t,...n){if(typeof t==="function")return this.map(((n,i,r)=>t.call(n,n,i,r)));else return this.map((i=>i[t](...n)))},toArray(){return Array.prototype.concat.apply([],this)}});const xi=["toArray","constructor","each"];bi.extend=function(t){t=t.reduce(((t,n)=>{if((0,Bt.default)(xi).call(xi,n))return t;if(n[0]==="_")return t;if(n in Array.prototype)t["$"+n]=Array.prototype[n];t[n]=function(...t){return this.each(n,...t)};return t}),{});vn([bi],t)};function Mi(t){let n=(t+"").trim();const i=n.match(/^url\((.*)\)$/i);if(i){n=i[1].trim();const t=n[0];if(t==='"'||t==="'"){if(n[n.length-1]!==t)return null;n=n.slice(1,-1)}}const r=n.match(Ln);return r?r[1].slice(1):null}function ki(t,n){const i=`#${Ut.window.CSS.escape(n)}`;if(t.nodeType===1&&t.matches(i))return t;return t.querySelector(i)}function ji(t,n){const i=Mi(n);return i?ki(t.getRootNode(),i):null}function _i(t,n,i=`[${n}]`){const r=t.getAttribute("id");const e=t.getRootNode();if(!r||ki(e,r)!==t)return new bi;const s=[];if(e.nodeType===1&&e.matches(i)&&Mi(e.getAttribute(n))===r)s.push(on(e));for(const t of e.querySelectorAll(i))if(Mi(t.getAttribute(n))===r)s.push(on(t));return new bi(s)}function Oi(t,n){return new bi(Dt((n||Ut.document).querySelectorAll(t),(function(t){return on(t)})))}function Si(t){return Oi(t,this.node)}function Ai(t){return on(this.node.querySelector(t))}let Li=0;const Ei=new WeakMap;const Ti=new WeakMap;const Vi=()=>Object.create(null);function Hi(t){const n=t.getEventHolder();let i=Ei.get(n);if(!i){i=Vi();Ei.set(n,i)}return i}function zi(t){return t.getEventTarget()}function Bi(t){Ei.delete(t.getEventHolder())}function Di(t,n,i,r,e){const s=i.bind(r||t);const o=e||false;const h=en(t);const u=Hi(h);const c=zi(h);n=Array.isArray(n)?n:n.split(In);let a=Ti.get(i);if(!a){a=++Li;Ti.set(i,a)}n.forEach((function(t){const n=t.split(".")[0];const i=t.split(".")[1]||"*";u[n]=u[n]||Vi();u[n][i]=u[n][i]||Vi();u[n][i][a]=u[n][i][a]||[];u[n][i][a].push({listener:s,options:o});c.addEventListener(n,s,o)}))}function Ii(t,n,i,r){const e=en(t);const s=Hi(e);const o=zi(e);if(typeof i==="function"){i=Ti.get(i);if(!i)return}n=Array.isArray(n)?n:(n||"").split(In);n.forEach((function(t){const n=t&&t.split(".")[0];const h=t&&t.split(".")[1];let u,c;if(i){if(s[n]&&s[n][h||"*"]){const t=s[n][h||"*"][i];if(!t)return;t.forEach((function(t){o.removeEventListener(n,t.listener,t.options??r??false)}));delete s[n][h||"*"][i]}}else if(n&&h){if(s[n]&&s[n][h]){for(c in s[n][h])Ii(o,[n,h].join("."),c);delete s[n][h]}}else if(h){for(t in s)for(u in s[t])if(h===u)Ii(o,[t,h].join("."))}else if(n){if(s[n]){for(u in s[n])Ii(o,[n,u].join("."));delete s[n]}}else{for(t in s)Ii(o,t);Bi(e)}}))}function Fi(t,n,i,r){const e=zi(t);if(n instanceof Ut.window.Event)e.dispatchEvent(n);else{n=new Ut.window.CustomEvent(n,{detail:i,cancelable:true,...r});e.dispatchEvent(n)}return n}var Zi=class extends Kt{addEventListener(){}dispatch(t,n,i){return Fi(this,t,n,i)}dispatchEvent(t){const n=Hi(this)[t.type];if(!n)return true;for(const i in n)for(const r in n[i])n[i][r].forEach((function(n){n.listener(t)}));return!t.defaultPrevented}fire(t,n,i){this.dispatch(t,n,i);return this}getEventHolder(){return this}getEventTarget(){return this}off(t,n,i){Ii(this,t,n,i);return this}on(t,n,i,r){Di(this,t,n,i,r);return this}removeEventListener(){}};un(Zi,"EventTarget");function $i(){}const Ni={duration:400,ease:">",delay:0};const Pi={"fill-opacity":1,"stroke-opacity":1,"stroke-width":0,"stroke-linejoin":"miter","stroke-linecap":"butt",fill:"#000000",stroke:"#000000",opacity:1,x:0,y:0,cx:0,cy:0,width:0,height:0,r:0,rx:0,ry:0,offset:0,"stop-opacity":1,"stop-color":"#000000","text-anchor":"start"};var Ri=class extends Array{constructor(...t){super(...t);this.init(...t)}clone(){return new this.constructor(this)}init(t){if(typeof t==="number")return this;this.length=0;this.push(...this.parse(t));return this}parse(t=[]){if(t instanceof Array)return t;return t.trim().split(In).map(parseFloat)}toArray(){return Array.prototype.concat.apply([],this)}toSet(){return new Set(this)}toString(){return this.join(" ")}valueOf(){const t=[];t.push(...this);return t}};var Gi=class t{constructor(...t){this.init(...t)}convert(n){return new t(this.value,n)}divide(n){n=new t(n);return new t(this/n,this.unit||n.unit)}init(n,i){i=Array.isArray(n)?n[1]:i;n=Array.isArray(n)?n[0]:n;this.value=0;this.unit=i||"";if(typeof n==="number")this.value=isNaN(n)?0:!isFinite(n)?n<0?-34e37:34e37:n;else if(typeof n==="string"){i=n.match(On);if(i){this.value=parseFloat(i[1]);if(i[5]==="%")this.value/=100;else if(i[5]==="s")this.value*=1e3;this.unit=i[5]}}else if(n instanceof t){this.value=n.valueOf();this.unit=n.unit}return this}minus(n){n=new t(n);return new t(this-n,this.unit||n.unit)}plus(n){n=new t(n);return new t(this+n,this.unit||n.unit)}times(n){n=new t(n);return new t(this*n,this.unit||n.unit)}toArray(){return[this.value,this.unit]}toJSON(){return this.toString()}toString(){return(this.unit==="%"?~~(this.value*1e8)/1e6:this.unit==="s"?this.value/1e3:this.value)+this.unit}valueOf(){return this.value}};const Yi=new Set(["fill","stroke","color","bgcolor","stop-color","flood-color","lighting-color"]);const Xi=[];function Ji(t){Xi.push(t)}function Qi(t,n,i){if(t==null){t={};n=this.node.attributes;for(const i of n)t[i.nodeName]=Bn.test(i.nodeValue)?parseFloat(i.nodeValue):i.nodeValue;return t}else if(t instanceof Array)return t.reduce(((t,n)=>{t[n]=this.attr(n);return t}),{});else if(typeof t==="object"&&t.constructor===Object)for(n in t)this.attr(n,t[n]);else if(n===null)this.node.removeAttribute(t);else if(n==null){n=this.node.getAttribute(t);return n==null?Pi[t]:Bn.test(n)?parseFloat(n):n}else{n=Xi.reduce(((n,i)=>i(t,n,this)),n);if(typeof n==="number")n=new Gi(n);else if(Yi.has(t)&&oi.isColor(n))n=new oi(n);else if(n.constructor===Array)n=new Ri(n);if(t==="leading"){if(this.leading)this.leading(n)}else typeof i==="string"?this.node.setAttributeNS(i,t,n.toString()):this.node.setAttribute(t,n.toString());if(this.rebuild&&(t==="font-size"||t==="x"))this.rebuild()}return this}var qi=class t extends Zi{constructor(t,n){super();this.node=t;this.type=t.nodeName;if(n&&t!==n)this.attr(n)}add(t,n){t=en(t);if(t.removeNamespace&&this.node instanceof Ut.window.SVGElement)t.removeNamespace();if(n==null)this.node.appendChild(t.node);else if(t.node!==this.node.childNodes[n])this.node.insertBefore(t.node,this.node.childNodes[n]);return this}addTo(t,n){return en(t).put(this,n)}children(){return new bi(Dt(this.node.children,(function(t){return on(t)})))}clear(){while(this.node.hasChildNodes())this.node.removeChild(this.node.lastChild);return this}clone(t=true,n=true){this.writeDataToDom();let i=this.node.cloneNode(t);if(n)i=ln(i);return new this.constructor(i)}each(t,n){const i=this.children();let r,e;for(r=0,e=i.length;r<e;r++){t.apply(i[r],[r,i]);if(n)i[r].each(t,n)}return this}element(n,i){return this.put(new t(rn(n),i))}first(){return on(this.node.firstChild)}get(t){return on(this.node.childNodes[t])}getEventHolder(){return this.node}getEventTarget(){return this.node}has(t){return this.index(t)>=0}html(t,n){return this.xml(t,n,Jt)}id(t){if(typeof t==="undefined"&&!this.node.id)this.node.id=fn(this.type);return this.attr("id",t)}index(t){return[].slice.call(this.node.childNodes).indexOf(t.node)}last(){return on(this.node.lastChild)}matches(t){const n=this.node;const i=n.matches||n.matchesSelector||n.msMatchesSelector||n.mozMatchesSelector||n.webkitMatchesSelector||n.oMatchesSelector||null;return i&&i.call(n,t)}parent(t){let n=this;if(!n.node.parentNode)return null;n=on(n.node.parentNode);if(!t)return n;do{if(typeof t==="string"?n.matches(t):n instanceof t)return n}while(n=on(n.node.parentNode));return n}put(t,n){t=en(t);this.add(t,n);return t}putIn(t,n){return en(t).add(this,n)}remove(){if(this.parent())this.parent().removeElement(this);return this}removeElement(t){this.node.removeChild(t.node);return this}replace(t){t=en(t);if(this.node.parentNode)this.node.parentNode.replaceChild(t.node,this.node);return t}round(t=2,n=null){const i=10**t;const r=this.attr(n);for(const t in r)if(typeof r[t]==="number")r[t]=Math.round(r[t]*i)/i;this.attr(r);return this}svg(t,n){return this.xml(t,n,Xt)}toString(){return this.id()}words(t){this.node.textContent=t;return this}wrap(t){const n=this.parent();if(!n)return this.addTo(t);const i=n.index(this);return n.put(t,i).put(this)}writeDataToDom(){this.each((function(){this.writeDataToDom()}));return this}xml(t,n,i){if(typeof t==="boolean"){i=n;n=t;t=null}if(t==null||typeof t==="function"){n=n==null?true:n;this.writeDataToDom();let i=this;if(t!=null){i=on(i.node.cloneNode(true));if(n){const n=t(i);i=n||i;if(n===false)return""}i.each((function(){const n=t(this);const i=n||this;if(n===false)this.remove();else if(n&&this!==i)this.replace(i)}),true)}return n?i.node.outerHTML:i.node.innerHTML}n=n==null?false:n;const r=rn("wrapper",i);const e=Ut.document.createDocumentFragment();r.innerHTML=t;for(let t=r.children.length;t--;)e.appendChild(r.firstElementChild);const s=this.parent();return n?this.replace(e)&&s:this.add(e)}};vn(qi,{attr:Qi,find:Si,findOne:Ai});un(qi,"Dom");var Ui=class extends qi{constructor(t,n){super(t,n);this.dom={};this.node.instance=this;if(t.hasAttribute("data-svgjs")||t.hasAttribute("svgjs:data"))this.setData(JSON.parse(t.getAttribute("data-svgjs"))??JSON.parse(t.getAttribute("svgjs:data"))??{})}center(t,n){return this.cx(t).cy(n)}cx(t){return t==null?this.x()+this.width()/2:this.x(t-this.width()/2)}cy(t){return t==null?this.y()+this.height()/2:this.y(t-this.height()/2)}defs(){const t=this.root();return t&&t.defs()}dmove(t,n){return this.dx(t).dy(n)}dx(t=0){return this.x(new Gi(t).plus(this.x()))}dy(t=0){return this.y(new Gi(t).plus(this.y()))}getEventHolder(){return this}height(t){return this.attr("height",t)}move(t,n){return this.x(t).y(n)}parents(t=this.root()){const n=typeof t==="string";const i=this.root();const r=i&&i.node;if(!n)t=t&&en(t).node;const e=new bi;let s=this;while((s=s.parent())&&s.node!==Ut.document&&s.node.nodeName!=="#document-fragment"){e.push(s);if(!n&&s.node===t)break;if(n&&s.matches(t))break;if(r&&s.node===r)return null}return e}reference(t){t=this.attr(t);if(!t)return null;const n=ji(this.node,t);return n?en(n):null}root(){const t=this.parent(cn(nn));return t&&t.root()}setData(t){this.dom=t;return this}size(t,n){const i=Nt(this,t,n);return this.width(new Gi(i.width)).height(new Gi(i.height))}width(t){return this.attr("width",t)}writeDataToDom(t){Yt(this,this.dom,t);return super.writeDataToDom()}x(t){return this.attr("x",t)}y(t){return this.attr("y",t)}};vn(Ui,{bbox:yi,rbox:gi,inside:mi,point:ui,ctm:fi,screenCTM:li});un(Ui,"Element");const Wi={stroke:["color","width","opacity","linecap","linejoin","miterlimit","dasharray","dashoffset"],fill:["color","opacity","rule"],prefix:function(t,n){return n==="color"?t:t+"-"+n}};["fill","stroke"].forEach((function(t){const n={};let i;n[t]=function(n){if(typeof n==="undefined")return this.attr(t);if(typeof n==="string"||n instanceof oi||oi.isRgb(n)||n instanceof Ui)this.attr(t,n);else for(i=Wi[t].length-1;i>=0;i--)if(n[Wi[t][i]]!=null)this.attr(Wi.prefix(t,Wi[t][i]),n[Wi[t][i]]);return this};p(["Element","Runner"],n)}));p(["Element","Runner"],{matrix:function(t,n,i,r,e,s){if(t==null)return new ai(this);return this.attr("transform",new ai(t,n,i,r,e,s))},rotate:function(t,n,i){return this.transform({rotate:t,ox:n,oy:i},true)},skew:function(t,n,i,r){return arguments.length===1||arguments.length===3?this.transform({skew:t,ox:n,oy:i},true):this.transform({skew:[t,n],ox:i,oy:r},true)},shear:function(t,n,i){return this.transform({shear:t,ox:n,oy:i},true)},scale:function(t,n,i,r){return arguments.length===1||arguments.length===3?this.transform({scale:t,ox:n,oy:i},true):this.transform({scale:[t,n],ox:i,oy:r},true)},translate:function(t,n){return this.transform({translate:[t,n]},true)},relative:function(t,n){return this.transform({relative:[t,n]},true)},flip:function(t="both",n="center"){if("xybothtrue".indexOf(t)===-1){n=t;t="both"}return this.transform({flip:t,origin:n},true)},opacity:function(t){return this.attr("opacity",t)}});p("radius",{radius:function(t,n=t){return(this._element||this).type==="radialGradient"?this.attr("r",new Gi(t)):this.rx(t).ry(n)}});p("Path",{length:function(){return this.node.getTotalLength()},pointAt:function(t){return new hi(this.node.getPointAtLength(t))}});p(["Element","Runner"],{font:function(t,n){if(typeof t==="object"){for(n in t)this.font(n,t[n]);return this}return t==="leading"?this.leading(n):t==="anchor"?this.attr("text-anchor",n):t==="size"||t==="family"||t==="weight"||t==="stretch"||t==="variant"||t==="style"?this.attr("font-"+t,n):this.attr(t,n)}});p("Element",["click","dblclick","mousedown","mouseup","mouseover","mouseout","mousemove","mouseenter","mouseleave","touchstart","touchmove","touchleave","touchend","touchcancel","contextmenu","wheel","pointerdown","pointermove","pointerup","pointerleave","pointercancel"].reduce((function(t,n){const i=function(t){if(t===null)this.off(n);else this.on(n,t);return this};t[n]=i;return t}),{}));function Ki(){return this.attr("transform",null)}function tr(){return(this.attr("transform")||"").split(En).slice(0,-1).map((function(t){const n=t.trim().split("(");return[n[0].trim(),n[1].split(In).map((function(t){return parseFloat(t)}))]})).reverse().reduce((function(t,n){if(n[0]==="matrix")return t.lmultiply(ai.fromArray(n[1]));return t[n[0]].apply(t,n[1])}),new ai)}function nr(t,n){if(this===t)return this;if(Gt(this.node))return this.addTo(t,n);const i=this.screenCTM();const r=t.screenCTM().inverse();this.addTo(t,n).untransform().transform(r.multiply(i));return this}function ir(t){return this.toParent(this.root(),t)}function rr(t,n){if(t==null||typeof t==="string"){const n=new ai(this).decompose();return t==null?n:n[t]}if(!ai.isMatrixLike(t))t={...t,origin:Pt(t,this)};const i=new ai(n===true?this:n||false).transform(t);return this.attr("transform",i)}p("Element",{untransform:Ki,matrixify:tr,toParent:nr,toRoot:ir,transform:rr});var er=class t extends Ui{flatten(){this.each((function(){if(this instanceof t)return this.flatten().ungroup()}));return this}ungroup(t=this.parent(),n=t.index(this)){n=n===-1?t.children().length:n;this.each((function(i,r){return r[r.length-i-1].toParent(t,n)}));return this.remove()}};un(er,"Container");var sr=class extends er{constructor(t,n=t){super(sn("defs",t),n)}flatten(){return this}ungroup(){return this}};un(sr,"Defs");var or=class extends Ui{};un(or,"Shape");var hr=l({cx:()=>lr,cy:()=>vr,height:()=>Cr,rx:()=>ur,ry:()=>cr,width:()=>dr,x:()=>ar,y:()=>fr});function ur(t){return this.attr("rx",t)}function cr(t){return this.attr("ry",t)}function ar(t){return t==null?this.cx()-this.rx():this.cx(t+this.rx())}function fr(t){return t==null?this.cy()-this.ry():this.cy(t+this.ry())}function lr(t){return this.attr("cx",t)}function vr(t){return this.attr("cy",t)}function dr(t){return t==null?this.rx()*2:this.rx(new Gi(t).divide(2))}function Cr(t){return t==null?this.ry()*2:this.ry(new Gi(t).divide(2))}var wr=class extends or{constructor(t,n=t){super(sn("ellipse",t),n)}size(t,n){const i=Nt(this,t,n);return this.rx(new Gi(i.width).divide(2)).ry(new Gi(i.height).divide(2))}};vn(wr,hr);p("Container",{ellipse:dn((function(t=0,n=t){return this.put(new wr).size(t,n).move(0,0)}))});un(wr,"Ellipse");var pr=class extends qi{constructor(t=Ut.document.createDocumentFragment()){super(t)}xml(t,n,i){if(typeof t==="boolean"){i=n;n=t;t=null}if(t==null||typeof t==="function"){const t=new qi(rn("wrapper",i));t.add(this.node.cloneNode(true));return t.xml(false,i)}return super.xml(t,false,i)}};un(pr,"Fragment");var yr=l({from:()=>gr,to:()=>mr});function gr(t,n){return(this._element||this).type==="radialGradient"?this.attr({fx:new Gi(t),fy:new Gi(n)}):this.attr({x1:new Gi(t),y1:new Gi(n)})}function mr(t,n){return(this._element||this).type==="radialGradient"?this.attr({cx:new Gi(t),cy:new Gi(n)}):this.attr({x2:new Gi(t),y2:new Gi(n)})}var br=class extends er{constructor(t,n){super(sn(t+"Gradient",typeof t==="string"?null:t),n)}attr(t,n,i){if(t==="transform")t="gradientTransform";return super.attr(t,n,i)}bbox(){return new wi}targets(){return _i(this.node,"fill")}toString(){return this.url()}update(t){this.clear();if(typeof t==="function")t.call(this,this);return this}url(){return"url(#"+this.id()+")"}};vn(br,yr);p({Container:{gradient(...t){return this.defs().gradient(...t)}},Defs:{gradient:dn((function(t,n){return this.put(new br(t)).update(n)}))}});un(br,"Gradient");var xr=class extends er{constructor(t,n=t){super(sn("pattern",t),n)}attr(t,n,i){if(t==="transform")t="patternTransform";return super.attr(t,n,i)}bbox(){return new wi}targets(){return _i(this.node,"fill")}toString(){return this.url()}update(t){this.clear();if(typeof t==="function")t.call(this,this);return this}url(){return"url(#"+this.id()+")"}};p({Container:{pattern(...t){return this.defs().pattern(...t)}},Defs:{pattern:dn((function(t,n,i){return this.put(new xr).update(i).attr({x:0,y:0,width:t,height:n,patternUnits:"userSpaceOnUse"})}))}});un(xr,"Pattern");var Mr=class extends or{constructor(t,n=t){super(sn("image",t),n)}load(t,n){if(!t)return this;const i=new Ut.window.Image;Di(i,"load",(function(t){const r=this.parent(xr);if(this.width()===0&&this.height()===0)this.size(i.width,i.height);if(r instanceof xr){if(r.width()===0&&r.height()===0)r.size(this.width(),this.height())}if(typeof n==="function")n.call(this,t)}),this);Di(i,"load error",(function(){Ii(i)}));return this.attr("href",i.src=t,qt)}};Ji((function(t,n,i){if(t==="fill"||t==="stroke"){if(Dn.test(n))n=i.root().defs().image(n)}if(n instanceof Mr)n=i.root().defs().pattern(0,0,(t=>{t.add(n)}));return n}));p({Container:{image:dn((function(t,n){return this.put(new Mr).size(0,0).load(t,n)}))}});un(Mr,"Image");var kr=class extends Ri{bbox(){let t=-Infinity;let n=-Infinity;let i=Infinity;let r=Infinity;this.forEach((function(e){t=Math.max(e[0],t);n=Math.max(e[1],n);i=Math.min(e[0],i);r=Math.min(e[1],r)}));return new wi(i,r,t-i,n-r)}move(t,n){const i=this.bbox();t-=i.x;n-=i.y;if(!isNaN(t)&&!isNaN(n))for(let i=this.length-1;i>=0;i--)this[i]=[this[i][0]+t,this[i][1]+n];return this}parse(t=[0,0]){const n=[];if(t instanceof Array)t=Array.prototype.concat.apply([],t);else t=t.trim().split(In).map(parseFloat);if(t.length%2!==0)t.pop();for(let i=0,r=t.length;i<r;i=i+2)n.push([t[i],t[i+1]]);return n}size(t,n){let i;const r=this.bbox();for(i=this.length-1;i>=0;i--){if(r.width)this[i][0]=(this[i][0]-r.x)*t/r.width+r.x;if(r.height)this[i][1]=(this[i][1]-r.y)*n/r.height+r.y}return this}toLine(){return{x1:this[0][0],y1:this[0][1],x2:this[1][0],y2:this[1][1]}}toString(){const t=[];for(let n=0,i=this.length;n<i;n++)t.push(this[n].join(","));return t.join(" ")}transform(t){return this.clone().transformO(t)}transformO(t){if(!ai.isMatrixLike(t))t=new ai(t);for(let n=this.length;n--;){const[i,r]=this[n];this[n][0]=t.a*i+t.c*r+t.e;this[n][1]=t.b*i+t.d*r+t.f}return this}};var jr=l({MorphArray:()=>_r,height:()=>Lr,width:()=>Ar,x:()=>Or,y:()=>Sr});const _r=kr;function Or(t){return t==null?this.bbox().x:this.move(t,this.bbox().y)}function Sr(t){return t==null?this.bbox().y:this.move(this.bbox().x,t)}function Ar(t){const n=this.bbox();return t==null?n.width:this.size(t,n.height)}function Lr(t){const n=this.bbox();return t==null?n.height:this.size(n.width,t)}var Er=class extends or{constructor(t,n=t){super(sn("line",t),n)}array(){return new kr([[this.attr("x1"),this.attr("y1")],[this.attr("x2"),this.attr("y2")]])}move(t,n){return this.attr(this.array().move(t,n).toLine())}plot(t,n,i,r){if(t==null)return this.array();else if(typeof n!=="undefined")t={x1:t,y1:n,x2:i,y2:r};else t=new kr(t).toLine();return this.attr(t)}size(t,n){const i=Nt(this,t,n);return this.attr(this.array().size(i.width,i.height).toLine())}};vn(Er,jr);p({Container:{line:dn((function(...t){return Er.prototype.plot.apply(this.put(new Er),t[0]!=null?t:[0,0,0,0])}))}});un(Er,"Line");var Tr=class extends er{constructor(t,n=t){super(sn("marker",t),n)}height(t){return this.attr("markerHeight",t)}orient(t){return this.attr("orient",t)}ref(t,n){return this.attr("refX",t).attr("refY",n)}toString(){return"url(#"+this.id()+")"}update(t){this.clear();if(typeof t==="function")t.call(this,this);return this}width(t){return this.attr("markerWidth",t)}};p({Container:{marker(...t){return this.defs().marker(...t)}},Defs:{marker:dn((function(t,n,i){return this.put(new Tr).size(t,n).ref(t/2,n/2).viewbox(0,0,t,n).attr("orient","auto").update(i)}))},marker:{marker(t,n,i,r){let e=["marker"];if(t!=="all")e.push(t);e=e.join("-");t=arguments[1]instanceof Tr?arguments[1]:this.defs().marker(n,i,r);return this.attr(e,t)}}});un(Tr,"Marker");function Vr(t,n){return function(i){if(i==null)return this[t];this[t]=i;if(n)n.call(this);return this}}const Hr={"-":function(t){return t},"<>":function(t){return-Math.cos(t*Math.PI)/2+.5},">":function(t){return Math.sin(t*Math.PI/2)},"<":function(t){return-Math.cos(t*Math.PI/2)+1},bezier:function(t,n,i,r){return function(e){if(e<0)if(t>0)return n/t*e;else if(i>0)return r/i*e;else return 0;else if(e>1)if(i<1)return(1-r)/(1-i)*e+(r-i)/(1-i);else if(t<1)return(1-n)/(1-t)*e+(n-t)/(1-t);else return 1;else return 3*e*(1-e)**2*n+3*e**2*(1-e)*r+e**3}},steps:function(t,n="end"){n=n.split("-").reverse()[0];let i=t;if(n==="none")--i;else if(n==="both")++i;return(r,e=false)=>{let s=Math.floor(r*t);const o=r*s%1===0;if(n==="start"||n==="both")++s;if(e&&o)--s;if(r>=0&&s<0)s=0;if(r<=1&&s>i)s=i;return s/i}}};var zr=class{done(){return false}};var Br=class extends zr{constructor(t=Ni.ease){super();this.ease=Hr[t]||t}step(t,n,i){if(typeof t!=="number")return i<1?t:n;return t+(n-t)*this.ease(i)}};var Dr=class extends zr{constructor(t){super();this.stepper=t}done(t){return t.done}step(t,n,i,r){return this.stepper(t,n,i,r)}};function Ir(){const t=(this._duration||500)/1e3;const n=this._overshoot||0;const i=1e-10;const r=Math.PI;const e=Math.log(n/100+i);const s=-e/Math.sqrt(r*r+e*e);const o=3.9/(s*t);this.d=2*s*o;this.k=o*o}var Fr=class extends Dr{constructor(t=500,n=0){super();this.duration(t).overshoot(n)}step(t,n,i,r){if(typeof t==="string")return t;r.done=i===Infinity;if(i===Infinity)return n;if(i===0)return t;if(i>100)i=16;i/=1e3;const e=r.velocity||0;const s=-this.d*e-this.k*(t-n);const o=t+e*i+s*i*i/2;r.velocity=e+s*i;r.done=Math.abs(n-o)+Math.abs(e)<.002;return r.done?n:o}};vn(Fr,{duration:Vr("_duration",Ir),overshoot:Vr("_overshoot",Ir)});var Zr=class extends Dr{constructor(t=.1,n=.01,i=0,r=1e3){super();this.p(t).i(n).d(i).windup(r)}step(t,n,i,r){if(typeof t==="string")return t;r.done=i===Infinity;if(i===Infinity)return n;if(i===0)return t;const e=n-t;let s=(r.integral||0)+e*i;const o=(e-(r.error||0))/i;const h=this._windup;if(h!==false)s=Math.max(-h,Math.min(s,h));r.error=e;r.integral=s;r.done=Math.abs(e)<.001;return r.done?n:t+(this.P*e+this.I*s+this.D*o)}};vn(Zr,{windup:Vr("_windup"),p:Vr("P"),i:Vr("I"),d:Vr("D")});const $r={M:2,L:2,H:1,V:1,C:6,S:4,Q:4,T:2,A:7,Z:0};const Nr={M:function(t,n,i){n.x=i.x=t[0];n.y=i.y=t[1];return["M",n.x,n.y]},L:function(t,n){n.x=t[0];n.y=t[1];return["L",t[0],t[1]]},H:function(t,n){n.x=t[0];return["H",t[0]]},V:function(t,n){n.y=t[0];return["V",t[0]]},C:function(t,n){n.x=t[4];n.y=t[5];return["C",t[0],t[1],t[2],t[3],t[4],t[5]]},S:function(t,n){n.x=t[2];n.y=t[3];return["S",t[0],t[1],t[2],t[3]]},Q:function(t,n){n.x=t[2];n.y=t[3];return["Q",t[0],t[1],t[2],t[3]]},T:function(t,n){n.x=t[0];n.y=t[1];return["T",t[0],t[1]]},Z:function(t,n,i){n.x=i.x;n.y=i.y;return["Z"]},A:function(t,n){n.x=t[5];n.y=t[6];return["A",t[0],t[1],t[2],t[3],t[4],t[5],t[6]]}};const Pr="mlhvqtcsaz".split("");for(let t=0,n=Pr.length;t<n;++t)Nr[Pr[t]]=function(t){return function(n,i,r){if(t==="H")n[0]=n[0]+i.x;else if(t==="V")n[0]=n[0]+i.y;else if(t==="A"){n[5]=n[5]+i.x;n[6]=n[6]+i.y}else for(let t=0,r=n.length;t<r;++t)n[t]=n[t]+(t%2?i.y:i.x);return Nr[t](n,i,r)}}(Pr[t].toUpperCase());function Rr(t){return Nr[t.segment[0]](t.segment.slice(1),t.p,t.p0)}function Gr(t){return t.segment.length&&t.segment.length-1===$r[t.segment[0].toUpperCase()]}function Yr(t,n){t.inNumber&&Xr(t,false);const i=Fn.test(n);if(i)t.segment=[n];else{const n=t.lastCommand;const i=n.toLowerCase();t.segment=[i==="m"?n===i?"l":"L":n]}t.inSegment=true;t.lastCommand=t.segment[0];return i}function Xr(t,n){if(!t.inNumber)throw new Error("Parser Error");t.number&&t.segment.push(parseFloat(t.number));t.inNumber=n;t.number="";t.pointSeen=false;t.hasExponent=false;if(Gr(t))Jr(t)}function Jr(t){t.inSegment=false;if(t.absolute)t.segment=Rr(t);t.segments.push(t.segment)}function Qr(t){if(!t.segment.length)return false;const n=t.segment[0].toUpperCase()==="A";const i=t.segment.length;return n&&(i===4||i===5)}function qr(t){return t.lastToken.toUpperCase()==="E"}const Ur=new Set([" ",",","\t","\n","\r","\f"]);function Wr(t,n=true){let i=0;let r="";const e={segment:[],inNumber:false,number:"",lastToken:"",inSegment:false,segments:[],pointSeen:false,hasExponent:false,absolute:n,p0:new hi,p:new hi};while(e.lastToken=r,r=t.charAt(i++)){if(!e.inSegment){if(Yr(e,r))continue}if(r==="."){if(e.pointSeen||e.hasExponent){Xr(e,false);--i;continue}e.inNumber=true;e.pointSeen=true;e.number+=r;continue}if(!isNaN(parseInt(r))){if(e.number==="0"||Qr(e)){e.inNumber=true;e.number=r;Xr(e,true);continue}e.inNumber=true;e.number+=r;continue}if(Ur.has(r)){if(e.inNumber)Xr(e,false);continue}if(r==="-"||r==="+"){if(e.inNumber&&!qr(e)){Xr(e,false);--i;continue}e.number+=r;e.inNumber=true;continue}if(r.toUpperCase()==="E"){e.number+=r;e.hasExponent=true;continue}if(Fn.test(r)){if(e.inNumber)Xr(e,false);else if(!Gr(e))throw new Error("parser Error");else Jr(e);--i}}if(e.inNumber)Xr(e,false);if(e.inSegment&&Gr(e))Jr(e);return e.segments}function Kr(t){let n="";for(let i=0,r=t.length;i<r;i++){n+=t[i][0];if(t[i][1]!=null){n+=t[i][1];if(t[i][2]!=null){n+=" ";n+=t[i][2];if(t[i][3]!=null){n+=" ";n+=t[i][3];n+=" ";n+=t[i][4];if(t[i][5]!=null){n+=" ";n+=t[i][5];n+=" ";n+=t[i][6];if(t[i][7]!=null){n+=" ";n+=t[i][7]}}}}}}return n+" "}var te=class extends Ri{bbox(){vi().path.setAttribute("d",this.toString());return new wi(vi.nodes.path.getBBox())}move(t,n){const i=this.bbox();t-=i.x;n-=i.y;if(!isNaN(t)&&!isNaN(n))for(let i,r=this.length-1;r>=0;r--){i=this[r][0];if(i==="M"||i==="L"||i==="T"){this[r][1]+=t;this[r][2]+=n}else if(i==="H")this[r][1]+=t;else if(i==="V")this[r][1]+=n;else if(i==="C"||i==="S"||i==="Q"){this[r][1]+=t;this[r][2]+=n;this[r][3]+=t;this[r][4]+=n;if(i==="C"){this[r][5]+=t;this[r][6]+=n}}else if(i==="A"){this[r][6]+=t;this[r][7]+=n}}return this}parse(t="M0 0"){if(Array.isArray(t))t=Array.prototype.concat.apply([],t).toString();return Wr(t)}size(t,n){const i=this.bbox();let r,e;i.width=i.width===0?1:i.width;i.height=i.height===0?1:i.height;for(r=this.length-1;r>=0;r--){e=this[r][0];if(e==="M"||e==="L"||e==="T"){this[r][1]=(this[r][1]-i.x)*t/i.width+i.x;this[r][2]=(this[r][2]-i.y)*n/i.height+i.y}else if(e==="H")this[r][1]=(this[r][1]-i.x)*t/i.width+i.x;else if(e==="V")this[r][1]=(this[r][1]-i.y)*n/i.height+i.y;else if(e==="C"||e==="S"||e==="Q"){this[r][1]=(this[r][1]-i.x)*t/i.width+i.x;this[r][2]=(this[r][2]-i.y)*n/i.height+i.y;this[r][3]=(this[r][3]-i.x)*t/i.width+i.x;this[r][4]=(this[r][4]-i.y)*n/i.height+i.y;if(e==="C"){this[r][5]=(this[r][5]-i.x)*t/i.width+i.x;this[r][6]=(this[r][6]-i.y)*n/i.height+i.y}}else if(e==="A"){this[r][1]=this[r][1]*t/i.width;this[r][2]=this[r][2]*n/i.height;this[r][6]=(this[r][6]-i.x)*t/i.width+i.x;this[r][7]=(this[r][7]-i.y)*n/i.height+i.y}}return this}toString(){return Kr(this)}};const ne=t=>{const n=typeof t;if(n==="number")return Gi;else if(n==="string")if(oi.isColor(t))return oi;else if(In.test(t))return Fn.test(t)?te:Ri;else if(On.test(t))return Gi;else return re;else if(he.indexOf(t.constructor)>-1)return t.constructor;else if(Array.isArray(t))return Ri;else if(n==="object")return oe;else return re};var ie=class{constructor(t){this._stepper=t||new Br("-");this._from=null;this._to=null;this._type=null;this._context=null;this._morphObj=null}at(t){return this._morphObj.morph(this._from,this._to,t,this._stepper,this._context)}done(){return this._context.map(this._stepper.done).reduce((function(t,n){return t&&n}),true)}from(t){if(t==null)return this._from;this._from=this._set(t);return this}stepper(t){if(t==null)return this._stepper;this._stepper=t;return this}to(t){if(t==null)return this._to;this._to=this._set(t);return this}type(t){if(t==null)return this._type;this._type=t;return this}_set(t){if(!this._type)this.type(ne(t));let n=new this._type(t);if(this._type===oi)n=this._to?n[this._to[4]]():this._from?n[this._from[4]]():n;if(this._type===oe)n=this._to?n.align(this._to):this._from?n.align(this._from):n;n=n.toConsumable();this._morphObj=this._morphObj||new this._type;this._context=this._context||Array.apply(null,Array(n.length)).map(Object).map((function(t){t.done=true;return t}));return n}};var re=class{constructor(...t){this.init(...t)}init(t){t=Array.isArray(t)?t[0]:t;this.value=t;return this}toArray(){return[this.value]}valueOf(){return this.value}};var ee=class t{constructor(...t){this.init(...t)}init(n){if(Array.isArray(n))n={scaleX:n[0],scaleY:n[1],shear:n[2],rotate:n[3],translateX:n[4],translateY:n[5],originX:n[6],originY:n[7]};Object.assign(this,t.defaults,n);return this}toArray(){const t=this;return[t.scaleX,t.scaleY,t.shear,t.rotate,t.translateX,t.translateY,t.originX,t.originY]}};ee.defaults={scaleX:1,scaleY:1,shear:0,rotate:0,translateX:0,translateY:0,originX:0,originY:0};const se=(t,n)=>t[0]<n[0]?-1:t[0]>n[0]?1:0;var oe=class{constructor(...t){this.init(...t)}align(t){const n=this.values;for(let i=0,r=n.length;i<r;++i){if(n[i+1]===t[i+1]){if(n[i+1]===oi&&t[i+7]!==n[i+7]){const n=t[i+7];const r=new oi(this.values.splice(i+3,5))[n]().toArray();this.values.splice(i+3,0,...r)}i+=n[i+2]+2;continue}if(!t[i+1])return this;const r=(new t[i+1]).toArray();const e=n[i+2]+3;n.splice(i,e,t[i],t[i+1],t[i+2],...r);i+=n[i+2]+2}return this}init(t){this.values=[];if(Array.isArray(t)){this.values=t.slice();return}t=t||{};const n=[];for(const i in t){const r=ne(t[i]);const e=new r(t[i]).toArray();n.push([i,r,e.length,...e])}n.sort(se);this.values=n.reduce(((t,n)=>t.concat(n)),[]);return this}toArray(){return this.values}valueOf(){const t={};const n=this.values;while(n.length){const i=n.shift();const r=n.shift();const e=n.shift();t[i]=new r(n.splice(0,e))}return t}};const he=[re,ee,oe];function ue(t=[]){he.push(...[].concat(t))}function ce(){vn(he,{to(t){return(new ie).type(this.constructor).from(this.toArray()).to(t)},fromArray(t){this.init(t);return this},toConsumable(){return this.toArray()},morph(t,n,i,r,e){const s=function(t,s){return r.step(t,n[s],i,e[s],e)};return this.fromArray(t.map(s))}})}var ae=class extends or{constructor(t,n=t){super(sn("path",t),n)}array(){return this._array||(this._array=new te(this.attr("d")))}clear(){delete this._array;return this}height(t){return t==null?this.bbox().height:this.size(this.bbox().width,t)}move(t,n){return this.attr("d",this.array().move(t,n))}plot(t){return t==null?this.array():this.clear().attr("d",typeof t==="string"?t:this._array=new te(t))}size(t,n){const i=Nt(this,t,n);return this.attr("d",this.array().size(i.width,i.height))}width(t){return t==null?this.bbox().width:this.size(t,this.bbox().height)}x(t){return t==null?this.bbox().x:this.move(t,this.bbox().y)}y(t){return t==null?this.bbox().y:this.move(this.bbox().x,t)}};ae.prototype.MorphArray=te;p({Container:{path:dn((function(t){return this.put(new ae).plot(t||new te)}))}});un(ae,"Path");var fe=l({array:()=>le,clear:()=>ve,move:()=>de,plot:()=>Ce,size:()=>we});function le(){return this._array||(this._array=new kr(this.attr("points")))}function ve(){delete this._array;return this}function de(t,n){return this.attr("points",this.array().move(t,n))}function Ce(t){return t==null?this.array():this.clear().attr("points",typeof t==="string"?t:this._array=new kr(t))}function we(t,n){const i=Nt(this,t,n);return this.attr("points",this.array().size(i.width,i.height))}var pe=class extends or{constructor(t,n=t){super(sn("polygon",t),n)}};p({Container:{polygon:dn((function(t){return this.put(new pe).plot(t||new kr)}))}});vn(pe,jr);vn(pe,fe);un(pe,"Polygon");var ye=class extends or{constructor(t,n=t){super(sn("polyline",t),n)}};p({Container:{polyline:dn((function(t){return this.put(new ye).plot(t||new kr)}))}});vn(ye,jr);vn(ye,fe);un(ye,"Polyline");var ge=class extends or{constructor(t,n=t){super(sn("rect",t),n)}};vn(ge,{rx:ur,ry:cr});p({Container:{rect:dn((function(t,n){return this.put(new ge).size(t,n)}))}});un(ge,"Rect");var me=class{constructor(){this._first=null;this._last=null}first(){return this._first&&this._first.value}last(){return this._last&&this._last.value}push(t){const n=typeof t.next!=="undefined"?t:{value:t,next:null,prev:null};if(this._last){n.prev=this._last;this._last.next=n;this._last=n}else{this._last=n;this._first=n}return n}remove(t){if(t.prev)t.prev.next=t.next;if(t.next)t.next.prev=t.prev;if(t===this._last)this._last=t.prev;if(t===this._first)this._first=t.next;t.prev=null;t.next=null}shift(){const t=this._first;if(!t)return null;this._first=t.next;if(this._first)this._first.prev=null;this._last=this._first?this._last:null;return t.value}};const be={nextDraw:null,frames:new me,timeouts:new me,immediates:new me,timer:()=>Ut.window.performance||Ut.window.Date,frame(t){const n=be.frames.push({run:t});if(be.nextDraw===null)be.nextDraw=Ut.window.requestAnimationFrame(be._draw);return n},timeout(t,n){n=n||0;const i=be.timer().now()+n;const r=be.timeouts.push({run:t,time:i});if(be.nextDraw===null)be.nextDraw=Ut.window.requestAnimationFrame(be._draw);return r},immediate(t){const n=be.immediates.push(t);if(be.nextDraw===null)be.nextDraw=Ut.window.requestAnimationFrame(be._draw);return n},cancelFrame(t){t!=null&&be.frames.remove(t)},clearTimeout(t){t!=null&&be.timeouts.remove(t)},cancelImmediate(t){t!=null&&be.immediates.remove(t)},_draw(t){try{let n=null;const i=be.timeouts.last();while(n=be.timeouts.shift()){if(t>=n.time)n.run();else be.timeouts.push(n);if(n===i)break}let r=null;const e=be.frames.last();while(r!==e&&(r=be.frames.shift()))r.run(t);let s=null;while(s=be.immediates.shift())s()}finally{const t=be.timeouts.first()||be.frames.first()||be.immediates.first();be.nextDraw=t?Ut.window.requestAnimationFrame(be._draw):null}}};const xe=function(t){const n=t.start;const i=t.runner.duration();return{start:n,duration:i,end:n+i,runner:t.runner}};const Me=function(){const t=Ut.window;return(t.performance||t.Date).now()};var ke=class extends Zi{constructor(t=Me){super();this._timeSource=t;this.terminate()}active(){return!!this._nextFrame}finish(){this._finishing=true;try{this.time(this.getEndTimeOfTimeline()+1)}finally{this._finishing=false}return this.pause()}getEndTime(){const t=this.getLastRunnerInfo();const n=t?t.runner.duration():0;return(t?t.start:this._time)+n}getEndTimeOfTimeline(){const t=this._runners.map((t=>t.start+t.runner.duration()));return Math.max(0,...t)}getLastRunnerInfo(){return this.getRunnerInfoById(this._lastRunnerId)}getRunnerInfoById(t){return this._runners[this._runnerIds.indexOf(t)]||null}pause(){this._paused=true;return this._continue()}persist(t){if(t==null)return this._persist;this._persist=t;return this}play(){this._paused=false;return this.updateTime()._continue()}reverse(t){const n=this.speed();if(t==null)return this.speed(-n);const i=Math.abs(n);return this.speed(t?-i:i)}schedule(t,n,i){if(t==null)return this._runners.map(xe);let r=0;const e=this.getEndTime();n=n||0;if(i==null||i==="last"||i==="after")r=e;else if(i==="absolute"||i==="start"){r=n;n=0}else if(i==="now")r=this._time;else if(i==="relative"){const i=this.getRunnerInfoById(t.id);if(i){r=i.start+n;n=0}}else if(i==="with-last"){const t=this.getLastRunnerInfo();r=t?t.start:this._time}else throw new Error('Invalid value for the "when" parameter');t.unschedule();t.timeline(this);t._retired=false;const s=t.persist();const o={persist:s===null?this._persist:s,start:r+n,runner:t};this._lastRunnerId=t.id;t._runnerInfo=o;this._runners.push(o);this._runners.sort(((t,n)=>t.start-n.start));this._runnerIds=this._runners.map((t=>t.runner.id));this.updateTime()._continue();return this}seek(t){return this.time(this._time+t)}source(t){if(t==null)return this._timeSource;this._timeSource=t;return this}speed(t){if(t==null)return this._speed;this._speed=t;return this}stop(){this.time(0);return this.pause()}time(t){if(t==null)return this._time;this._time=t;return this._continue(true)}unschedule(t){const n=this._runnerIds.indexOf(t.id);if(n<0)return this;this._runners.splice(n,1);this._runnerIds.splice(n,1);t.timeline(null);t._runnerInfo=null;t._retired=true;return this}updateTime(){if(!this.active())this._lastSourceTime=this._timeSource();return this}_continue(t=false){be.cancelFrame(this._nextFrame);this._nextFrame=null;if(t)return this._stepImmediate();if(this._paused)return this;this._nextFrame=be.frame(this._step);return this}_stepFn(t=false){const n=this._generation;const i=this._timeSource();let r=i-this._lastSourceTime;if(t)r=0;const e=this._speed*r+(this._time-this._lastStepTime);this._lastSourceTime=i;if(!t){this._time+=e;this._time=this._time<0?0:this._time}this._lastStepTime=this._time;this.fire("time",this._time);const s=this._runners.slice();for(let t=s.length;t--;){const n=s[t];if(n.runner._runnerInfo!==n)continue;const i=n.runner;if(this._time-n.start<0)i.reset(true)}let o=false;for(const t of this._runners.slice()){if(t.runner._runnerInfo!==t)continue;const n=t.runner;let i=e;const r=this._time-t.start;if(r<0){o=true;continue}else if(r===0){n.reset();o=true;continue}else if(r<i)i=r;if(!n.active())continue;const s=(this._finishing&&n._isDeclarative?n.finish():n.step(i)).done;if(n._runnerInfo!==t)continue;if(!s)o=true;else if(t.persist!==true){if(n.duration()-n.time()+this._time+t.persist<=this._time)n.unschedule()}}if(n!==this._generation)return this;if(!o)o=this._runners.some((({start:t,runner:n})=>t>=this._time||n.active()&&!n.done));if(o&&!(this._speed<0&&this._time===0)||this._runnerIds.length&&this._speed<0&&this._time>0)this._continue();else{this.pause();this.fire("finished")}return this}terminate(){be.cancelFrame(this._nextFrame);this._generation=(this._generation||0)+1;this._startTime=0;this._speed=1;this._persist=0;for(const{runner:t}of this._runners||[]){t._retired=true;t._runnerInfo=null}this._nextFrame=null;this._paused=true;this._finishing=false;this._runners=[];this._runnerIds=[];this._lastRunnerId=-1;this._time=0;this._lastSourceTime=0;this._lastStepTime=0;this._step=this._stepFn.bind(this,false);this._stepImmediate=this._stepFn.bind(this,true)}};p({Element:{timeline:function(t){if(t==null){this._timeline=this._timeline||new ke;return this._timeline}else{this._timeline=t;return this}}}});var je=class t extends Zi{constructor(n){super();this.id=t.id++;n=n==null?Ni.duration:n;n=typeof n==="function"?new Dr(n):n;this._element=null;this._timeline=null;this._runnerInfo=null;this.done=false;this._queue=[];this._duration=typeof n==="number"&&n;this._isDeclarative=n instanceof Dr;this._stepper=this._isDeclarative?n:new Br;this._history={};this.enabled=true;this._time=0;this._lastTime=0;this._reseted=true;this.transforms=new ai;this._isAbsoluteTransform=false;this._hasTransform=false;this._transformInitialised=false;this._transformActive=false;this._retired=false;this._reverse=false;this._swing=false;this._wait=0;this._times=1;this._persist=this._isDeclarative?true:null}static sanitise(t,n,i){let r=1;let e=false;let s=0;t=t??Ni.duration;n=n??Ni.delay;i=i||"last";if(typeof t==="object"&&!(t instanceof zr)){n=t.delay??n;i=t.when??i;e=t.swing||e;r=t.times??r;s=t.wait??s;t=t.duration??Ni.duration}return{duration:t,delay:n,swing:e,times:r,wait:s,when:i}}active(t){if(t==null)return this.enabled;this.enabled=t;return this}addTransform(t){this.transforms.lmultiplyO(t);this._transformInitialised=true;this._transformActive=true;return this}after(t){return this.on("finished",t)}animate(n,i,r){const e=t.sanitise(n,i,r);const s=new t(e.duration);if(this._timeline)s.timeline(this._timeline);if(this._element)s.element(this._element);return s.loop(e).schedule(e.delay,e.when)}clearTransform(){this.transforms=new ai;return this}delay(t){return this.animate(0,t)}duration(){return this._times*(this._wait+this._duration)-this._wait}during(t){return this.queue(null,t)}ease(t){this._stepper=new Br(t);return this}element(t){if(t==null)return this._element;this._element=t;t._prepareRunner();return this}finish(){if(!this._isDeclarative)return this.time(this.duration());const t=this._time;this.step(Infinity);this._time=t;return this}loop(t,n,i){if(typeof t==="object"){n=t.swing;i=t.wait;t=t.times}this._times=t||Infinity;this._swing=n||false;this._wait=i||0;if(this._times===true)this._times=Infinity;return this}loops(t){const n=this._duration+this._wait;if(t==null){const t=Math.floor(this._time/n);const i=(this._time-t*n)/this._duration;return Math.min(t+i,this._times)}const i=Math.floor(t);const r=t%1;const e=n*i+this._duration*r;return this.time(e)}persist(t){if(t==null)return this._persist;this._persist=t;return this}position(t){const n=this._time;const i=this._duration;const r=this._wait;const e=this._times;const s=this._swing;const o=this._reverse;let h;if(t==null){const t=function(t){const n=s*Math.floor(t%(2*(r+i))/(r+i));const e=n&&!o||!n&&o;const h=Math.pow(-1,e)*(t%(r+i))/i+e;return Math.max(Math.min(h,1),0)};const u=e*(r+i)-r;h=n<=0?Math.round(t(1e-5)):n<u?t(n):Math.round(t(u-1e-5));return h}const u=Math.floor(this.loops());const c=s&&u%2===0;h=u+(c&&!o||o&&c?t:1-t);return this.loops(h)}progress(t){if(t==null)return Math.min(1,this._time/this.duration());return this.time(t*this.duration())}queue(t,n,i,r){if(this._isDeclarative)this.done=false;this._queue.push({initialiser:t||$i,runner:n||$i,retarget:i,isTransform:r,initialised:false,finished:false});this.timeline()&&this.timeline()._continue();return this}reset(t=false){if(this._reseted){const n=!t&&this._hasTransform&&this.position()!==0;if(n&&!this._transformInitialised){this.step(0);this._reseted=true;return this}if(n!==this._transformActive){this._transformActive=n;this._element&&this._element._addRunner(this)}return this}if(!this._reseted){this.time(0);this._reseted=true}if(t&&this._transformActive){this._transformActive=false;this._element&&this._element._addRunner(this)}return this}reverse(t){this._reverse=t==null?!this._reverse:t;return this}schedule(t,n,i){if(!(t instanceof ke)){i=n;n=t;t=this.timeline()}if(!t)throw Error("Runner cannot be scheduled without timeline");t.schedule(this,n,i);return this}step(t){if(!this.enabled)return this;const n=this.done;t=t==null?16:t;this._time+=t;const i=this.position();const r=this._lastPosition!==i&&this._time>=0;this._lastPosition=i;const e=this.duration();const s=this._lastTime<=0&&this._time>0;this._lastTime=this._time;if(s)this.fire("start",this);const o=this._isDeclarative;this.done=!o&&this._time>=e;this._reseted=false;const h=this._hasTransform&&(this._time>0||i!==0);this._transformActive=h;let u=false;if(r||o){this._initialise(r);this.transforms=new ai;u=this._run(o?t:i);this._transformActive=h;this.fire("step",this)}this.done=this.done||u&&o;if(this.done&&!n)this.fire("finished",this);return this}time(t){if(t==null)return this._time;const n=t-this._time;this.step(n);return this}timeline(t){if(typeof t==="undefined")return this._timeline;this._timeline=t;return this}unschedule(){const t=this.timeline();t&&t.unschedule(this);return this}_initialise(t){if(!t&&!this._isDeclarative)return;for(let n=0,i=this._queue.length;n<i;++n){const i=this._queue[n];const r=this._isDeclarative||!i.initialised&&t;t=!i.finished;if(r&&t){i.initialiser.call(this);i.initialised=true}}}_rememberMorpher(t,n){this._history[t]={morpher:n,caller:this._queue[this._queue.length-1]};if(this._isDeclarative){const t=this.timeline();t&&t.play()}}_run(t){let n=true;for(let i=0,r=this._queue.length;i<r;++i){const r=this._queue[i];if(this._isDeclarative&&r.finished&&!r.isTransform)continue;const e=r.runner.call(this,t);r.finished=r.finished||e===true;n=n&&r.finished}return n}_tryRetarget(t,n,i){if(this._history[t]){if(!this._history[t].caller.initialised){const n=this._queue.indexOf(this._history[t].caller);this._queue.splice(n,1);return false}if(this._history[t].caller.retarget)this._history[t].caller.retarget.call(this,n,i);else this._history[t].morpher.to(n);this._history[t].caller.finished=false;if(this._isDeclarative)this.done=false;const r=this.timeline();r&&r.play();return true}return false}};je.id=0;var _e=class{constructor(t=new ai,n=-1,i=true,r=false){this.transforms=t;this.id=n;this.done=i;this._isAbsoluteTransform=r;this._transformActive=true;this._retired=true}};vn([je,_e],{mergeWith(t){return new _e(this._isAbsoluteTransform?this.transforms:t.transforms.lmultiply(this.transforms),t.id,true,t._isAbsoluteTransform||this._isAbsoluteTransform)}});const Oe=(t,n)=>t.lmultiplyO(n);const Se=t=>t.transforms;const Ae=t=>t._transformActive;function Le(t){const n=t.filter(Ae);let i=0;for(let t=0;t<n.length;++t)if(n[t]._isAbsoluteTransform)i=t;return n.slice(i)}function Ee(){const t=Le(this._transformationRunners.runners).map(Se).reduce(Oe,new ai);this.transform(t);this._transformationRunners.merge();if(this._transformationRunners.length()===1)this._frameId=null}var Te=class{constructor(){this.runners=[]}add(t){var n;if((0,Bt.default)(n=this.runners).call(n,t))return;this.runners.push(t);return this}edit(t,n){const i=this.runners.findIndex((n=>n.id===t));if(i>=0)this.runners.splice(i,1,n);return this}getByID(t){return this.runners.find((n=>n.id===t))}length(){return this.runners.length}merge(){let t=null;for(let n=0;n<this.runners.length;++n){const i=this.runners[n];if(t&&i.done&&t.done&&i._retired&&t._retired){this.remove(i.id);const r=i.mergeWith(t);this.edit(t.id,r);t=r;--n}else t=i}return this}remove(t){const n=this.runners.findIndex((n=>n.id===t));if(n>=0)this.runners.splice(n,1);return this}};p({Element:{animate(t,n,i){const r=je.sanitise(t,n,i);const e=this.timeline();return new je(r.duration).loop(r).element(this).timeline(e.play()).schedule(r.delay,r.when)},delay(t,n){return this.animate(0,t,n)},_currentTransform(t){const n=this._transformationRunners.runners;const i=n.indexOf(t);return Le(n.slice(0,i+1)).map(Se).reduce(Oe,new ai)},_addRunner(t){if(this._transformationRunners.length()===1&&this._transformationRunners.runners[0].id===-1)this._transformationRunners.runners[0].transforms=new ai(this);this._transformationRunners.add(t);be.cancelImmediate(this._frameId);this._frameId=be.immediate(Ee.bind(this))},_prepareRunner(){if(this._frameId==null)this._transformationRunners=(new Te).add(new _e(new ai(this)))}}});const Ve=(t,n)=>t.filter((t=>!(0,Bt.default)(n).call(n,t)));vn(je,{attr(t,n){return this.styleAttr("attr",t,n)},css(t,n){return this.styleAttr("css",t,n)},styleAttr(t,n,i){if(typeof n==="string")return this.styleAttr(t,{[n]:i});const r=n;const e=this._history[t];if(e&&!e.caller.initialised&&e.caller.retarget){e.caller.retarget.call(this,r);return this}if(this._tryRetarget(t,r))return this;let s=new ie(this._stepper).to(r);let o=Object.keys(r);this.queue((function(){s=s.from(this.element()[t](o))}),(function(n){this.element()[t](s.at(n).valueOf());return s.done()}),(function(n){const i=Ve(Object.keys(n),o);if(i.length&&s.from()!=null){const n=this.element()[t](i);const r=new oe(s.from()).valueOf();Object.assign(r,n);s.from(r)}const r=new oe(s.to()).valueOf();Object.assign(r,n);s.to(r);o=Object.keys(r)}));this._rememberMorpher(t,s);return this},zoom(t,n){if(this._tryRetarget("zoom",t,n))return this;let i=new ie(this._stepper).to(new Gi(t));this.queue((function(){i=i.from(this.element().zoom())}),(function(t){this.element().zoom(i.at(t),n);return i.done()}),(function(t,r){n=r;i.to(t)}));this._rememberMorpher("zoom",i);return this},transform(t,n,i){n=t.relative||n;this._hasTransform=true;this._isAbsoluteTransform=this._isAbsoluteTransform||!n;if(this._isDeclarative&&!n&&this._tryRetarget("transform",t))return this;const r=ai.isMatrixLike(t);i=t.affine!=null?t.affine:i!=null?i:!r;const e=new ie(this._stepper).type(i?ee:ai);const s=i?new ie(this._stepper).type(ai):e;let o;let h;let u;let c;let a;function f(){h=h||this.element();o=o||Pt(t,h);a=new ai(n?void 0:h);h._addRunner(this)}function l(f){if(!n)this.clearTransform();const{x:l,y:v}=new hi(o).transform(h._currentTransform(this));const d={...t,origin:[l,v]};if(d.relative===true)delete d.relative;let C=new ai(d);let w=this._isDeclarative&&u?u:a;let p=e;if(i){const t=C.decompose(l,v);const n=w.decompose(l,v);if(!new ee(t).toArray().concat(new ee(n).toArray()).every(Number.isFinite))p=s;else{C=t;w=n;const i=C.rotate;const r=w.rotate;const e=[i-360,i,i+360];const s=e.map((t=>Math.abs(t-r)));const o=Math.min(...s);const h=s.indexOf(o);C.rotate=e[h]}}if(n&&p===e){if(!r)C.rotate=t.rotate||0;if(this._isDeclarative&&c)w.rotate=c}p.from(w);p.to(C);const y=p.at(f);c=y.rotate;u=new ai(y);this.addTransform(u);h._addRunner(this);return p.done()}function v(n){o=Pt(n,h);t={...n}}this.queue(f,l,v,true);this._isDeclarative&&this._rememberMorpher("transform",e);return this},x(t){return this._queueNumber("x",t)},y(t){return this._queueNumber("y",t)},ax(t){return this._queueNumber("ax",t)},ay(t){return this._queueNumber("ay",t)},dx(t=0){return this._queueNumberDelta("x",t)},dy(t=0){return this._queueNumberDelta("y",t)},dmove(t,n){return this.dx(t).dy(n)},_queueNumberDelta(t,n){n=new Gi(n);if(this._tryRetarget(t,n))return this;const i=new ie(this._stepper).to(n);let r=null;this.queue((function(){r=this.element()[t]();i.from(r);i.to(r+n)}),(function(n){this.element()[t](i.at(n));return i.done()}),(function(t){i.to(r+new Gi(t))}));this._rememberMorpher(t,i);return this},_queueObject(t,n){if(this._tryRetarget(t,n))return this;const i=new ie(this._stepper).to(n);this.queue((function(){i.from(this.element()[t]())}),(function(n){this.element()[t](i.at(n));return i.done()}));this._rememberMorpher(t,i);return this},_queueNumber(t,n){return this._queueObject(t,new Gi(n))},cx(t){return this._queueNumber("cx",t)},cy(t){return this._queueNumber("cy",t)},move(t,n){return this.x(t).y(n)},amove(t,n){return this.ax(t).ay(n)},center(t,n){return this.cx(t).cy(n)},size(t,n){const i=Nt(this._element,t,n);return this.width(i.width).height(i.height)},width(t){return this._queueNumber("width",t)},height(t){return this._queueNumber("height",t)},plot(t,n,i,r){if(arguments.length===4)return this.plot([t,n,i,r]);if(this._tryRetarget("plot",t))return this;const e=new ie(this._stepper).type(this._element.MorphArray).to(t);this.queue((function(){e.from(this._element.array())}),(function(t){this._element.plot(e.at(t));return e.done()}));this._rememberMorpher("plot",e);return this},leading(t){return this._queueNumber("leading",t)},viewbox(t,n,i,r){return this._queueObject("viewbox",new wi(t,n,i,r))},update(t){if(typeof t!=="object")return this.update({offset:arguments[0],color:arguments[1],opacity:arguments[2]});if(t.opacity!=null)this.attr("stop-opacity",t.opacity);if(t.color!=null)this.attr("stop-color",t.color);if(t.offset!=null)this.attr("offset",t.offset);return this}});vn(je,{rx:ur,ry:cr,from:gr,to:mr});un(je,"Runner");var He=class extends er{constructor(t,n=t){super(sn("svg",t),n);this.namespace()}defs(){if(!this.isRoot())return this.root().defs();return on(this.node.querySelector("defs"))||this.put(new sr)}isRoot(){return!this.node.parentNode||!(this.node.parentNode instanceof Ut.window.SVGElement)&&this.node.parentNode.nodeName!=="#document-fragment"}namespace(){if(!this.isRoot())return this.root().namespace();return this.attr({xmlns:Xt,version:"1.1"}).attr("xmlns:xlink",qt,Qt)}removeNamespace(){return this.attr({xmlns:null,version:null}).attr("xmlns:xlink",null,Qt).attr("xmlns:svgjs",null,Qt)}root(){if(this.isRoot())return this;return super.root()}};p({Container:{nested:dn((function(){return this.put(new He)}))}});un(He,"Svg",true);var ze=class extends er{constructor(t,n=t){super(sn("symbol",t),n)}};p({Container:{symbol:dn((function(){return this.put(new ze)}))}});un(ze,"Symbol");var Be=l({amove:()=>Xe,ax:()=>Ge,ay:()=>Ye,build:()=>Je,center:()=>Re,cx:()=>Ne,cy:()=>Pe,length:()=>Ie,move:()=>$e,plain:()=>De,x:()=>Fe,y:()=>Ze});function De(t){if(this._build===false)this.clear();this.node.appendChild(Ut.document.createTextNode(t));return this}function Ie(){return this.node.getComputedTextLength()}function Fe(t,n=this.bbox()){if(t==null)return n.x;return this.attr("x",this.attr("x")+t-n.x)}function Ze(t,n=this.bbox()){if(t==null)return n.y;return this.attr("y",this.attr("y")+t-n.y)}function $e(t,n,i=this.bbox()){return this.x(t,i).y(n,i)}function Ne(t,n=this.bbox()){if(t==null)return n.cx;return this.attr("x",this.attr("x")+t-n.cx)}function Pe(t,n=this.bbox()){if(t==null)return n.cy;return this.attr("y",this.attr("y")+t-n.cy)}function Re(t,n,i=this.bbox()){return this.cx(t,i).cy(n,i)}function Ge(t){return this.attr("x",t)}function Ye(t){return this.attr("y",t)}function Xe(t,n){return this.ax(t).ay(n)}function Je(t){this._build=!!t;return this}var Qe=class extends or{constructor(t,n=t){super(sn("text",t),n);this.dom.leading=this.dom.leading??new Gi(1.3);this._rebuild=true;this._build=false}leading(t){if(t==null)return this.dom.leading;this.dom.leading=new Gi(t);return this.rebuild()}rebuild(t){if(typeof t==="boolean")this._rebuild=t;if(this._rebuild){const t=this;let n=0;const i=this.dom.leading;this.each((function(r){if(Gt(this.node))return;const e=Ut.window.getComputedStyle(this.node).getPropertyValue("font-size");const s=i*new Gi(e);if(this.dom.newLined){this.attr("x",t.attr("x"));if(this.text()==="\n")n+=s;else{this.attr("dy",r?s+n:0);n=0}}}));this.fire("rebuild")}return this}setData(t){this.dom=t;this.dom.leading=new Gi(t.leading||1.3);return this}writeDataToDom(){return super.writeDataToDom({leading:1.3})}text(t){if(t===void 0){const n=this.node.childNodes;let i=0;t="";for(let r=0,e=n.length;r<e;++r){if(n[r].nodeName==="textPath"||Gt(n[r])){if(r===0)i=r+1;continue}if(r!==i&&n[r].nodeType!==3&&on(n[r]).dom.newLined===true)t+="\n";t+=n[r].textContent}return t}this.clear().build(true);if(typeof t==="function")t.call(this,this);else{t=(t+"").split("\n");for(let n=0,i=t.length;n<i;n++)this.newLine(t[n])}return this.build(false).rebuild()}};vn(Qe,Be);p({Container:{text:dn((function(t=""){return this.put(new Qe).text(t)})),plain:dn((function(t=""){return this.put(new Qe).plain(t)}))}});un(Qe,"Text");var qe=class extends or{constructor(t,n=t){super(sn("tspan",t),n);this._build=false}dx(t){return this.attr("dx",t)}dy(t){return this.attr("dy",t)}newLine(){this.dom.newLined=true;const t=this.parent();if(!(t instanceof Qe))return this;const n=t.index(this);const i=Ut.window.getComputedStyle(this.node).getPropertyValue("font-size");const r=t.dom.leading*new Gi(i);return this.dy(n?r:0).attr("x",t.x())}text(t){if(t==null)return this.node.textContent+(this.dom.newLined?"\n":"");if(typeof t==="function"){this.clear().build(true);t.call(this,this);this.build(false)}else this.plain(t);return this}};vn(qe,Be);p({Tspan:{tspan:dn((function(t=""){const n=new qe;if(!this._build)this.clear();return this.put(n).text(t)}))},Text:{newLine:function(t=""){return this.tspan(t).newLine()}}});un(qe,"Tspan");var Ue=class extends or{constructor(t,n=t){super(sn("circle",t),n)}radius(t){return this.attr("r",t)}rx(t){return this.attr("r",t)}ry(t){return this.rx(t)}size(t){return this.radius(new Gi(t).divide(2))}};vn(Ue,{x:ar,y:fr,cx:lr,cy:vr,width:dr,height:Cr});p({Container:{circle:dn((function(t=0){return this.put(new Ue).size(t).move(0,0)}))}});un(Ue,"Circle");var We=class extends er{constructor(t,n=t){super(sn("clipPath",t),n)}remove(){this.targets().forEach((function(t){t.unclip()}));return super.remove()}targets(){return _i(this.node,"clip-path")}};p({Container:{clip:dn((function(){return this.defs().put(new We)}))},Element:{clipper(){return this.reference("clip-path")},clipWith(t){const n=t instanceof We?t:this.parent().clip().add(t);return this.attr("clip-path","url(#"+n.id()+")")},unclip(){return this.attr("clip-path",null)}}});un(We,"ClipPath");var Ke=class extends Ui{constructor(t,n=t){super(sn("foreignObject",t),n)}};p({Container:{foreignObject:dn((function(t,n){return this.put(new Ke).size(t,n)}))}});un(Ke,"ForeignObject");var ts=l({dmove:()=>ns,dx:()=>is,dy:()=>rs,height:()=>es,move:()=>ss,size:()=>os,width:()=>hs,x:()=>us,y:()=>cs});function ns(t,n){this.children().forEach((i=>{let r;try{r=i.node instanceof Wt().SVGSVGElement?new wi(i.attr(["x","y","width","height"])):i.bbox()}catch(t){return}const e=new ai(i);const s=e.translate(t,n).transform(e.inverse());const o=new hi(r.x,r.y).transform(s);i.dmove(o.x-r.x,o.y-r.y)}));return this}function is(t){return this.dmove(t,0)}function rs(t){return this.dmove(0,t)}function es(t,n=this.bbox()){if(t==null)return n.height;return this.size(n.width,t,n)}function ss(t=0,n=0,i=this.bbox()){const r=t-i.x;const e=n-i.y;return this.dmove(r,e)}function os(t,n,i=this.bbox()){const r=Nt(this,t,n,i);const e=r.width/i.width;const s=r.height/i.height;this.children().forEach((t=>{const n=new hi(i).transform(new ai(t).inverse());t.scale(e,s,n.x,n.y)}));return this}function hs(t,n=this.bbox()){if(t==null)return n.width;return this.size(t,n.height,n)}function us(t,n=this.bbox()){if(t==null)return n.x;return this.move(t,n.y,n)}function cs(t,n=this.bbox()){if(t==null)return n.y;return this.move(n.x,t,n)}var as=class extends er{constructor(t,n=t){super(sn("g",t),n)}};vn(as,ts);p({Container:{group:dn((function(){return this.put(new as)}))}});un(as,"G");var fs=class extends er{constructor(t,n=t){super(sn("a",t),n)}target(t){return this.attr("target",t)}to(t){return this.attr("href",t,qt)}};vn(fs,ts);p({Container:{link:dn((function(t){return this.put(new fs).to(t)}))},Element:{unlink(){const t=this.linker();if(!t)return this;const n=t.parent();if(!n)return this.remove();const i=n.index(t);n.add(this,i);t.remove();return this},linkTo(t){let n=this.linker();if(!n){n=new fs;this.wrap(n)}if(typeof t==="function")t.call(n,n);else n.to(t);return this},linker(){const t=this.parent();if(t&&t.node.nodeName.toLowerCase()==="a")return t;return null}}});un(fs,"A");var ls=class extends er{constructor(t,n=t){super(sn("mask",t),n)}remove(){this.targets().forEach((function(t){t.unmask()}));return super.remove()}targets(){return _i(this.node,"mask")}};p({Container:{mask:dn((function(){return this.defs().put(new ls)}))},Element:{masker(){return this.reference("mask")},maskWith(t){const n=t instanceof ls?t:this.parent().mask().add(t);return this.attr("mask","url(#"+n.id()+")")},unmask(){return this.attr("mask",null)}}});un(ls,"Mask");var vs=class extends Ui{constructor(t,n=t){super(sn("stop",t),n)}update(t){if(typeof t==="number"||t instanceof Gi)t={offset:arguments[0],color:arguments[1],opacity:arguments[2]};if(t.opacity!=null)this.attr("stop-opacity",t.opacity);if(t.color!=null)this.attr("stop-color",t.color);if(t.offset!=null)this.attr("offset",new Gi(t.offset));return this}};p({Gradient:{stop:function(t,n,i){return this.put(new vs).update(t,n,i)}}});un(vs,"Stop");function ds(t,n){if(!t)return"";if(!n)return t;let i=t+"{";for(const t in n)i+=Zt(t)+":"+n[t]+";";i+="}";return i}var Cs=class extends Ui{constructor(t,n=t){super(sn("style",t),n)}addText(t=""){this.node.textContent+=t;return this}font(t,n,i={}){return this.rule("@font-face",{fontFamily:t,src:n,...i})}rule(t,n){return this.addText(ds(t,n))}};p("Dom",{style(t,n){return this.put(new Cs).rule(t,n)},fontface(t,n,i){return this.put(new Cs).font(t,n,i)}});un(Cs,"Style");var ws=class extends Qe{constructor(t,n=t){super(sn("textPath",t),n)}array(){const t=this.track();return t?t.array():null}plot(t){const n=this.track();let i=null;if(n)i=n.plot(t);return t==null?i:this}track(){return this.reference("href")}};p({Container:{textPath:dn((function(t,n){if(!(t instanceof Qe))t=this.text(t);return t.path(n)}))},Text:{path:dn((function(t,n=true){const i=new ws;if(!(t instanceof ae))t=this.defs().path(t);i.attr("href","#"+t,qt);let r;if(n)while(r=this.node.firstChild)i.node.appendChild(r);return this.put(i)})),textPath(){return this.findOne("textPath")}},Path:{text:dn((function(t){if(!(t instanceof Qe))t=(new Qe).addTo(this.parent()).text(t);return t.path(this)})),targets(){return _i(this.node,"href","textPath")}}});ws.prototype.MorphArray=te;un(ws,"TextPath");var ps=class extends or{constructor(t,n=t){super(sn("use",t),n)}use(t,n){return this.attr("href",(n||"")+"#"+t,qt)}};p({Container:{use:dn((function(t,n){return this.put(new ps).use(t,n)}))}});un(ps,"Use");const ys=en;vn([He,ze,Mr,xr,Tr],y("viewbox"));vn([Er,ye,pe,ae],y("marker"));vn(Qe,y("Text"));vn(ae,y("Path"));vn(sr,y("Defs"));vn([Qe,qe],y("Tspan"));vn([ge,wr,br,je],y("radius"));vn(Zi,y("EventTarget"));vn(qi,y("Dom"));vn(Ui,y("Element"));vn(or,y("Shape"));vn([er,pr],y("Container"));vn(br,y("Gradient"));vn(je,y("Runner"));bi.extend(g());ue([Gi,oi,wi,ai,Ri,kr,te,hi]);ce();function gs(){let t={entities:[]};let n;let i=[];function r(t,i,r){n=ys().addTo(t).size(i,r);n.entities=[];n.lines=n.group();n.labels=n.group()}function e(t,n){const i=t.group().attr({id:n.id});t.entities.push(i);n.background_color=n.background_color?n.background_color:"#f06";n.color=n.color?n.color:"#ffffff";n.radius=n.radius?n.radius:0;i.entity=i.rect(n.width,n.height).cx(n.width/2).cy(n.height/2).attr({fill:"#ffffff",stroke:n.color,["stroke-width"]:2}).radius(n.radius);if(n.class){i.entity.attr("class",n.class)}i.plain(n.text).cx(14).cy(n.height/2+6).attr({fill:n.color});i.move(n.x,n.y)}function s(){if(t.labels&&t.labels.length>0){t.labels.forEach((t=>{n.labels.text(t.value).x(t.x).y(t.y)}))}}function o(t,n){n.forEach((n=>h(t,n)))}function h(t,n){let i="";const r=n.color||"#4c56cb";const e=t.findOne("#"+n.from.element);const s=t.findOne("#"+n.to.element);const o=u(n,e,s);i+=a(e,n.from.point)+","+f(e,n.from.point)+" ";o.forEach((t=>i+=t.x+","+t.y+" "));if(n.to.point==="top"){i+=a(s,n.to.point)+","+f(s,n.to.point)+" "}else if(n.to.point==="bottom"){i+=a(s,n.to.point)+","+f(s,n.to.point)+" "}else{i+=a(s,n.to.point)+","+f(s,n.to.point)+" "}if(!n.polyline){n.polyline=t.lines.polyline(i).fill("none").stroke({color:r,width:2,linecap:"round",linejoin:"round"}).attr("id",n.id)}else{n.polyline.plot(i)}}function u(t,n,i){const r=[];const e=f(n,t.from.point);const s=f(i,t.to.point);const o=a(n,t.from.point);const h=a(i,t.to.point);const u=c(t.from.point);const l=c(t.to.point);const v=u-l;if(v===0){if(t.from.point==="top"){if(e<=s){r.push({x:o,y:e-20});r.push({x:h,y:e-20})}else{r.push({x:o,y:s-20});r.push({x:h,y:s-20})}}else if(t.from.point==="bottom"){if(e<=s){r.push({x:o,y:s+20});r.push({x:h,y:s+20})}else{r.push({x:o,y:e+20});r.push({x:h,y:e+20})}}else{if(o<=h){r.push({x:h+20,y:e});r.push({x:h+20,y:s})}else{r.push({x:o+20,y:e});r.push({x:o+20,y:s})}}}if(v===2||v===-2){if(o!==h){r.push({x:o,y:s+(e-s)/2});r.push({x:h,y:s+(e-s)/2})}}if(v===1||v===-1||v===3||v===-3){if(t.from.point==="top"){if(e<s+20){r.push({x:o,y:e-20});r.push({x:h+20,y:e-20});r.push({x:h+20,y:s})}else{r.push({x:o,y:s})}}if(t.from.point==="bottom"){if(e>s-20){r.push({x:o,y:e+20});r.push({x:h+20,y:e+20});r.push({x:h+20,y:s})}else{r.push({x:o,y:s})}}}return r}function c(t){switch(t){case"top":return 0;case"bottom":return 2;default:return 3}}function a(t,n){const i=t.entity.attr("width");const r=t.entity.attr("x");switch(n){case"top":case"bottom":return r+i/2;default:return r-i/2}}function f(t,n){const i=t.entity.attr("height");const r=t.entity.attr("y");switch(n){case"top":return r;case"bottom":return r+i;default:return r}}function l(){n.entities.forEach((t=>t.remove()));n.entities=[];i=[];if(!t.labels){t.labels=[]}t.labels=t.labels.map((t=>({id:t.id,value:t.value?t.value:"",x:t.x?t.x:0,y:t.y?t.y:0,color:t.color?t.color:"black"})));t.entities.map((t=>{t.type=t.type?t.type:"entity";if(t.type==="operation"){t.height=t.width}}));s();t.entities.forEach((t=>e(n,t)));i=t.lines;o(n,i)}function v(n){t=n;l()}return{initalize:r,update:v}}const ms=()=>`verdocs-status-indicator{display:-ms-flexbox;display:flex;font-size:18px;-ms-flex-wrap:nowrap;flex-wrap:nowrap;border-radius:6px;color:#33364b;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;font-family:"Inter", "Barlow", sans-serif}verdocs-status-indicator.has-document:hover{cursor:pointer;background:rgba(0, 0, 0, 0.1)}verdocs-status-indicator .icon{width:25px;height:25px;margin:0 10px 0 0}verdocs-status-indicator.dark{color:#ffffff}verdocs-status-indicator.small{font-size:16px}verdocs-status-indicator.small .icon{width:20px;height:20px;margin:0 8px 0 0}verdocs-status-indicator .content{white-space:nowrap}verdocs-status-indicator .detail-panel{display:none;background:#ffffff;border:1px solid #1e2031;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column;border-radius:10px;font-weight:500}verdocs-status-indicator .detail-panel h1{font-size:44px;color:#092c4c}verdocs-status-indicator .detail-panel[data-show]{display:-ms-flexbox;display:flex}`;const bs=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="white" stroke-width="2"/><path d="M11.728 15.968C11.7067 15.9893 11.7013 16.0107 11.712 16.032C11.7227 16.0533 11.744 16.064 11.776 16.064H16.112C16.1653 16.064 16.208 16.0853 16.24 16.128C16.2827 16.16 16.304 16.2027 16.304 16.256V17.808C16.304 17.8613 16.2827 17.9093 16.24 17.952C16.208 17.984 16.1653 18 16.112 18H8.912C8.85867 18 8.81067 17.984 8.768 17.952C8.736 17.9093 8.72 17.8613 8.72 17.808V16.336C8.72 16.24 8.752 16.16 8.816 16.096C9.33867 15.584 9.872 15.0293 10.416 14.432C10.96 13.824 11.3013 13.4453 11.44 13.296C11.7387 12.944 12.0427 12.608 12.352 12.288C13.3227 11.2107 13.808 10.4107 13.808 9.888C13.808 9.51467 13.6747 9.21067 13.408 8.976C13.1413 8.73067 12.7947 8.608 12.368 8.608C11.9413 8.608 11.5947 8.73067 11.328 8.976C11.0613 9.21067 10.928 9.52533 10.928 9.92V10.32C10.928 10.3733 10.9067 10.4213 10.864 10.464C10.832 10.496 10.7893 10.512 10.736 10.512H8.848C8.79467 10.512 8.74667 10.496 8.704 10.464C8.672 10.4213 8.656 10.3733 8.656 10.32V9.568C8.688 8.992 8.86933 8.48533 9.2 8.048C9.53067 7.6 9.968 7.25867 10.512 7.024C11.0667 6.78933 11.6853 6.672 12.368 6.672C13.1253 6.672 13.7813 6.816 14.336 7.104C14.9013 7.38133 15.3333 7.76 15.632 8.24C15.9413 8.72 16.096 9.25333 16.096 9.84C16.096 10.288 15.984 10.7467 15.76 11.216C15.536 11.6853 15.2 12.192 14.752 12.736C14.4213 13.152 14.064 13.5627 13.68 13.968C13.296 14.3733 12.7253 14.96 11.968 15.728L11.728 15.968Z" fill="white"/></svg>`;const xs=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="#654DCB" stroke-width="2"/><path d="M11.728 15.968C11.7067 15.9893 11.7013 16.0107 11.712 16.032C11.7227 16.0533 11.744 16.064 11.776 16.064H16.112C16.1653 16.064 16.208 16.0853 16.24 16.128C16.2827 16.16 16.304 16.2027 16.304 16.256V17.808C16.304 17.8613 16.2827 17.9093 16.24 17.952C16.208 17.984 16.1653 18 16.112 18H8.912C8.85867 18 8.81067 17.984 8.768 17.952C8.736 17.9093 8.72 17.8613 8.72 17.808V16.336C8.72 16.24 8.752 16.16 8.816 16.096C9.33867 15.584 9.872 15.0293 10.416 14.432C10.96 13.824 11.3013 13.4453 11.44 13.296C11.7387 12.944 12.0427 12.608 12.352 12.288C13.3227 11.2107 13.808 10.4107 13.808 9.888C13.808 9.51467 13.6747 9.21067 13.408 8.976C13.1413 8.73067 12.7947 8.608 12.368 8.608C11.9413 8.608 11.5947 8.73067 11.328 8.976C11.0613 9.21067 10.928 9.52533 10.928 9.92V10.32C10.928 10.3733 10.9067 10.4213 10.864 10.464C10.832 10.496 10.7893 10.512 10.736 10.512H8.848C8.79467 10.512 8.74667 10.496 8.704 10.464C8.672 10.4213 8.656 10.3733 8.656 10.32V9.568C8.688 8.992 8.86933 8.48533 9.2 8.048C9.53067 7.6 9.968 7.25867 10.512 7.024C11.0667 6.78933 11.6853 6.672 12.368 6.672C13.1253 6.672 13.7813 6.816 14.336 7.104C14.9013 7.38133 15.3333 7.76 15.632 8.24C15.9413 8.72 16.096 9.25333 16.096 9.84C16.096 10.288 15.984 10.7467 15.76 11.216C15.536 11.6853 15.2 12.192 14.752 12.736C14.4213 13.152 14.064 13.5627 13.68 13.968C13.296 14.3733 12.7253 14.96 11.968 15.728L11.728 15.968Z" fill="#654DCB"/></svg>`;const Ms=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 24C15.1826 24 18.2348 22.7357 20.4853 20.4853C22.7357 18.2348 24 15.1826 24 12C24 8.8174 22.7357 5.76516 20.4853 3.51472C18.2348 1.26428 15.1826 0 12 0C8.8174 0 5.76516 1.26428 3.51472 3.51472C1.26428 5.76516 0 8.8174 0 12C0 15.1826 1.26428 18.2348 3.51472 20.4853C5.76516 22.7357 8.8174 24 12 24V24ZM9 7.5C8.60218 7.5 8.22064 7.65804 7.93934 7.93934C7.65804 8.22064 7.5 8.60218 7.5 9V15C7.5 15.3978 7.65804 15.7794 7.93934 16.0607C8.22064 16.342 8.60218 16.5 9 16.5H15C15.3978 16.5 15.7794 16.342 16.0607 16.0607C16.342 15.7794 16.5 15.3978 16.5 15V9C16.5 8.60218 16.342 8.22064 16.0607 7.93934C15.7794 7.65804 15.3978 7.5 15 7.5H9Z" fill="#9095B3"/></svg>`;const ks=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 24C15.1826 24 18.2348 22.7357 20.4853 20.4853C22.7357 18.2348 24 15.1826 24 12C24 8.8174 22.7357 5.76516 20.4853 3.51472C18.2348 1.26428 15.1826 0 12 0C8.8174 0 5.76516 1.26428 3.51472 3.51472C1.26428 5.76516 0 8.8174 0 12C0 15.1826 1.26428 18.2348 3.51472 20.4853C5.76516 22.7357 8.8174 24 12 24V24ZM9 7.5C8.60218 7.5 8.22064 7.65804 7.93934 7.93934C7.65804 8.22064 7.5 8.60218 7.5 9V15C7.5 15.3978 7.65804 15.7794 7.93934 16.0607C8.22064 16.342 8.60218 16.5 9 16.5H15C15.3978 16.5 15.7794 16.342 16.0607 16.0607C16.342 15.7794 16.5 15.3978 16.5 15V9C16.5 8.60218 16.342 8.22064 16.0607 7.93934C15.7794 7.65804 15.3978 7.5 15 7.5H9Z" fill="#9095B3"/></svg>`;const js=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.7152 2.35464C7.71225 2.27504 8.65876 1.88287 9.41995 1.23399C10.2797 0.501758 11.3721 0.0996094 12.5013 0.0996094C13.6306 0.0996094 14.723 0.501758 15.5827 1.23399C16.3439 1.88287 17.2904 2.27504 18.2875 2.35464C19.4135 2.44463 20.4706 2.93273 21.2693 3.73145C22.068 4.53017 22.5561 5.58727 22.6461 6.71324C22.7251 7.70989 23.1173 8.65694 23.7667 9.41799C24.499 10.2777 24.9011 11.3701 24.9011 12.4994C24.9011 13.6287 24.499 14.7211 23.7667 15.5808C23.1179 16.342 22.7257 17.2885 22.6461 18.2855C22.5561 19.4115 22.068 20.4686 21.2693 21.2673C20.4706 22.0661 19.4135 22.5542 18.2875 22.6441C17.2904 22.7237 16.3439 23.1159 15.5827 23.7648C14.723 24.497 13.6306 24.8992 12.5013 24.8992C11.3721 24.8992 10.2797 24.497 9.41995 23.7648C8.65876 23.1159 7.71225 22.7237 6.7152 22.6441C5.58923 22.5542 4.53213 22.0661 3.73341 21.2673C2.93469 20.4686 2.44658 19.4115 2.35659 18.2855C2.27699 17.2885 1.88482 16.342 1.23595 15.5808C0.503711 14.7211 0.101562 13.6287 0.101562 12.4994C0.101562 11.3701 0.503711 10.2777 1.23595 9.41799C1.88482 8.65681 2.27699 7.71029 2.35659 6.71324C2.44658 5.58727 2.93469 4.53017 3.73341 3.73145C4.53213 2.93273 5.58923 2.44463 6.7152 2.35464V2.35464ZM18.2472 10.4952C18.5295 10.2029 18.6858 9.81138 18.6822 9.40497C18.6787 8.99857 18.5157 8.60981 18.2283 8.32242C17.9409 8.03504 17.5522 7.87203 17.1458 7.8685C16.7394 7.86497 16.3478 8.0212 16.0555 8.30354L10.9513 13.4077L8.9472 11.4035C8.65486 11.1212 8.26333 10.965 7.85692 10.9685C7.45052 10.972 7.06176 11.135 6.77438 11.4224C6.48699 11.7098 6.32398 12.0986 6.32045 12.505C6.31692 12.9114 6.47315 13.3029 6.7555 13.5952L9.8555 16.6952C10.1462 16.9858 10.5403 17.1491 10.9513 17.1491C11.3624 17.1491 11.7565 16.9858 12.0472 16.6952L18.2472 10.4952V10.4952Z" fill="#63C58E"/></svg>`;const _s=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.7152 2.35464C7.71225 2.27504 8.65876 1.88287 9.41995 1.23399C10.2797 0.501758 11.3721 0.0996094 12.5013 0.0996094C13.6306 0.0996094 14.723 0.501758 15.5827 1.23399C16.3439 1.88287 17.2904 2.27504 18.2875 2.35464C19.4135 2.44463 20.4706 2.93273 21.2693 3.73145C22.068 4.53017 22.5561 5.58727 22.6461 6.71324C22.7251 7.70989 23.1173 8.65694 23.7667 9.41799C24.499 10.2777 24.9011 11.3701 24.9011 12.4994C24.9011 13.6287 24.499 14.7211 23.7667 15.5808C23.1179 16.342 22.7257 17.2885 22.6461 18.2855C22.5561 19.4115 22.068 20.4686 21.2693 21.2673C20.4706 22.0661 19.4135 22.5542 18.2875 22.6441C17.2904 22.7237 16.3439 23.1159 15.5827 23.7648C14.723 24.497 13.6306 24.8992 12.5013 24.8992C11.3721 24.8992 10.2797 24.497 9.41995 23.7648C8.65876 23.1159 7.71225 22.7237 6.7152 22.6441C5.58923 22.5542 4.53213 22.0661 3.73341 21.2673C2.93469 20.4686 2.44658 19.4115 2.35659 18.2855C2.27699 17.2885 1.88482 16.342 1.23595 15.5808C0.503711 14.7211 0.101562 13.6287 0.101562 12.4994C0.101562 11.3701 0.503711 10.2777 1.23595 9.41799C1.88482 8.65681 2.27699 7.71029 2.35659 6.71324C2.44658 5.58727 2.93469 4.53017 3.73341 3.73145C4.53213 2.93273 5.58923 2.44463 6.7152 2.35464V2.35464ZM18.2472 10.4952C18.5295 10.2029 18.6858 9.81138 18.6822 9.40497C18.6787 8.99857 18.5157 8.60981 18.2283 8.32242C17.9409 8.03504 17.5522 7.87203 17.1458 7.8685C16.7394 7.86497 16.3478 8.0212 16.0555 8.30354L10.9513 13.4077L8.9472 11.4035C8.65486 11.1212 8.26333 10.965 7.85692 10.9685C7.45052 10.972 7.06176 11.135 6.77438 11.4224C6.48699 11.7098 6.32398 12.0986 6.32045 12.505C6.31692 12.9114 6.47315 13.3029 6.7555 13.5952L9.8555 16.6952C10.1462 16.9858 10.5403 17.1491 10.9513 17.1491C11.3624 17.1491 11.7565 16.9858 12.0472 16.6952L18.2472 10.4952V10.4952Z" fill="#50BE80"/></svg>`;const Os=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M24 12C24 15.1826 22.7357 18.2348 20.4853 20.4853C18.2348 22.7357 15.1826 24 12 24C8.8174 24 5.76516 22.7357 3.51472 20.4853C1.26428 18.2348 0 15.1826 0 12C0 8.8174 1.26428 5.76516 3.51472 3.51472C5.76516 1.26428 8.8174 0 12 0C15.1826 0 18.2348 1.26428 20.4853 3.51472C22.7357 5.76516 24 8.8174 24 12V12ZM13.5 18C13.5 18.3978 13.342 18.7794 13.0607 19.0607C12.7794 19.342 12.3978 19.5 12 19.5C11.6022 19.5 11.2206 19.342 10.9393 19.0607C10.658 18.7794 10.5 18.3978 10.5 18C10.5 17.6022 10.658 17.2206 10.9393 16.9393C11.2206 16.658 11.6022 16.5 12 16.5C12.3978 16.5 12.7794 16.658 13.0607 16.9393C13.342 17.2206 13.5 17.6022 13.5 18V18ZM12 4.5C11.6022 4.5 11.2206 4.65804 10.9393 4.93934C10.658 5.22064 10.5 5.60218 10.5 6V12C10.5 12.3978 10.658 12.7794 10.9393 13.0607C11.2206 13.342 11.6022 13.5 12 13.5C12.3978 13.5 12.7794 13.342 13.0607 13.0607C13.342 12.7794 13.5 12.3978 13.5 12V6C13.5 5.60218 13.342 5.22064 13.0607 4.93934C12.7794 4.65804 12.3978 4.5 12 4.5Z" fill="#F95353"/></svg>`;const Ss=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M24 12C24 15.1826 22.7357 18.2348 20.4853 20.4853C18.2348 22.7357 15.1826 24 12 24C8.8174 24 5.76516 22.7357 3.51472 20.4853C1.26428 18.2348 0 15.1826 0 12C0 8.8174 1.26428 5.76516 3.51472 3.51472C5.76516 1.26428 8.8174 0 12 0C15.1826 0 18.2348 1.26428 20.4853 3.51472C22.7357 5.76516 24 8.8174 24 12V12ZM13.5 18C13.5 18.3978 13.342 18.7794 13.0607 19.0607C12.7794 19.342 12.3978 19.5 12 19.5C11.6022 19.5 11.2206 19.342 10.9393 19.0607C10.658 18.7794 10.5 18.3978 10.5 18C10.5 17.6022 10.658 17.2206 10.9393 16.9393C11.2206 16.658 11.6022 16.5 12 16.5C12.3978 16.5 12.7794 16.658 13.0607 16.9393C13.342 17.2206 13.5 17.6022 13.5 18V18ZM12 4.5C11.6022 4.5 11.2206 4.65804 10.9393 4.93934C10.658 5.22064 10.5 5.60218 10.5 6V12C10.5 12.3978 10.658 12.7794 10.9393 13.0607C11.2206 13.342 11.6022 13.5 12 13.5C12.3978 13.5 12.7794 13.342 13.0607 13.0607C13.342 12.7794 13.5 12.3978 13.5 12V6C13.5 5.60218 13.342 5.22064 13.0607 4.93934C12.7794 4.65804 12.3978 4.5 12 4.5Z" fill="#FF0000"/></svg>`;const As=`<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.7917 9.625L18.6667 13.5M18.6667 13.5L14.7917 17.375M18.6667 13.5H8.33333M25.125 13.5C25.125 15.0266 24.8243 16.5383 24.2401 17.9487C23.6559 19.3591 22.7996 20.6406 21.7201 21.7201C20.6406 22.7996 19.3591 23.6559 17.9487 24.2401C16.5383 24.8243 15.0266 25.125 13.5 25.125C11.9734 25.125 10.4617 24.8243 9.0513 24.2401C7.64089 23.6559 6.35936 22.7996 5.27988 21.7201C4.2004 20.6406 3.34411 19.3591 2.7599 17.9487C2.17569 16.5383 1.875 15.0266 1.875 13.5C1.875 10.4169 3.09977 7.45999 5.27988 5.27988C7.45999 3.09977 10.4169 1.875 13.5 1.875C16.5831 1.875 19.54 3.09977 21.7201 5.27988C23.9002 7.45999 25.125 10.4169 25.125 13.5Z" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`;const Ls=`<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.7917 9.625L18.6667 13.5M18.6667 13.5L14.7917 17.375M18.6667 13.5H8.33333M25.125 13.5C25.125 15.0266 24.8243 16.5383 24.2401 17.9487C23.6559 19.3591 22.7996 20.6406 21.7201 21.7201C20.6406 22.7996 19.3591 23.6559 17.9487 24.2401C16.5383 24.8243 15.0266 25.125 13.5 25.125C11.9734 25.125 10.4617 24.8243 9.0513 24.2401C7.64089 23.6559 6.35936 22.7996 5.27988 21.7201C4.2004 20.6406 3.34411 19.3591 2.7599 17.9487C2.17569 16.5383 1.875 15.0266 1.875 13.5C1.875 10.4169 3.09977 7.45999 5.27988 5.27988C7.45999 3.09977 10.4169 1.875 13.5 1.875C16.5831 1.875 19.54 3.09977 21.7201 5.27988C23.9002 7.45999 25.125 10.4169 25.125 13.5Z" stroke="#654DCB" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`;const Es=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="white" stroke-width="2"/><path d="M11.4 6.848C11.4533 6.816 11.5333 6.8 11.64 6.8H13.576C13.6293 6.8 13.672 6.82133 13.704 6.864C13.7467 6.896 13.768 6.93867 13.768 6.992V17.808C13.768 17.8613 13.7467 17.9093 13.704 17.952C13.672 17.984 13.6293 18 13.576 18H11.704C11.6507 18 11.6027 17.984 11.56 17.952C11.528 17.9093 11.512 17.8613 11.512 17.808V9.04C11.512 9.01867 11.5013 8.99733 11.48 8.976C11.4587 8.95467 11.4373 8.94933 11.416 8.96L9.832 9.392L9.768 9.408C9.672 9.408 9.624 9.34933 9.624 9.232L9.576 7.856C9.576 7.74933 9.624 7.67467 9.72 7.632L11.4 6.848Z" fill="white"/></svg>`;const Ts=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="#654DCB" stroke-width="2"/><path d="M11.4 6.848C11.4533 6.816 11.5333 6.8 11.64 6.8H13.576C13.6293 6.8 13.672 6.82133 13.704 6.864C13.7467 6.896 13.768 6.93867 13.768 6.992V17.808C13.768 17.8613 13.7467 17.9093 13.704 17.952C13.672 17.984 13.6293 18 13.576 18H11.704C11.6507 18 11.6027 17.984 11.56 17.952C11.528 17.9093 11.512 17.8613 11.512 17.808V9.04C11.512 9.01867 11.5013 8.99733 11.48 8.976C11.4587 8.95467 11.4373 8.94933 11.416 8.96L9.832 9.392L9.768 9.408C9.672 9.408 9.624 9.34933 9.624 9.232L9.576 7.856C9.576 7.74933 9.624 7.67467 9.72 7.632L11.4 6.848Z" fill="#654DCB"/></svg>`;const Vs=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.33333 12H7.345M12 12H12.0117M16.6667 12H16.6783M22.5 12C22.5 13.3789 22.2284 14.7443 21.7007 16.0182C21.1731 17.2921 20.3996 18.4496 19.4246 19.4246C18.4496 20.3996 17.2921 21.1731 16.0182 21.7007C14.7443 22.2284 13.3789 22.5 12 22.5C10.6211 22.5 9.25574 22.2284 7.98182 21.7007C6.70791 21.1731 5.55039 20.3996 4.57538 19.4246C3.60036 18.4496 2.82694 17.2921 2.29926 16.0182C1.77159 14.7443 1.5 13.3789 1.5 12C1.5 9.21523 2.60625 6.54451 4.57538 4.57538C6.54451 2.60625 9.21523 1.5 12 1.5C14.7848 1.5 17.4555 2.60625 19.4246 4.57538C21.3938 6.54451 22.5 9.21523 22.5 12Z" stroke="#cccccc" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`;const Hs=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.33333 12H7.345M12 12H12.0117M16.6667 12H16.6783M22.5 12C22.5 13.3789 22.2284 14.7443 21.7007 16.0182C21.1731 17.2921 20.3996 18.4496 19.4246 19.4246C18.4496 20.3996 17.2921 21.1731 16.0182 21.7007C14.7443 22.2284 13.3789 22.5 12 22.5C10.6211 22.5 9.25574 22.2284 7.98182 21.7007C6.70791 21.1731 5.55039 20.3996 4.57538 19.4246C3.60036 18.4496 2.82694 17.2921 2.29926 16.0182C1.77159 14.7443 1.5 13.3789 1.5 12C1.5 9.21523 2.60625 6.54451 4.57538 4.57538C6.54451 2.60625 9.21523 1.5 12 1.5C14.7848 1.5 17.4555 2.60625 19.4246 4.57538C21.3938 6.54451 22.5 9.21523 22.5 12Z" stroke="#999999" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`;const zs=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="white" stroke-width="2"/><path d="M15.632 12.656C15.8453 13.1467 15.952 13.712 15.952 14.352C15.952 14.928 15.856 15.4613 15.664 15.952C15.408 16.6347 14.976 17.168 14.368 17.552C13.7707 17.936 13.0613 18.128 12.24 18.128C11.4293 18.128 10.7147 17.9253 10.096 17.52C9.488 17.1147 9.05067 16.5653 8.784 15.872C8.63467 15.456 8.54933 15.008 8.528 14.528C8.528 14.4 8.592 14.336 8.72 14.336H10.608C10.736 14.336 10.8 14.4 10.8 14.528C10.8427 14.88 10.9013 15.1413 10.976 15.312C11.072 15.5893 11.2267 15.808 11.44 15.968C11.664 16.1173 11.9253 16.192 12.224 16.192C12.8213 16.192 13.232 15.9307 13.456 15.408C13.6053 15.088 13.68 14.7147 13.68 14.288C13.68 13.7867 13.6 13.376 13.44 13.056C13.1947 12.5547 12.784 12.304 12.208 12.304C12.0907 12.304 11.968 12.3413 11.84 12.416C11.712 12.48 11.5573 12.576 11.376 12.704C11.3333 12.736 11.2907 12.752 11.248 12.752C11.184 12.752 11.136 12.72 11.104 12.656L10.16 11.328C10.1387 11.296 10.128 11.2587 10.128 11.216C10.128 11.152 10.1493 11.0987 10.192 11.056L12.736 8.832C12.7573 8.81067 12.7627 8.78933 12.752 8.768C12.752 8.74667 12.736 8.736 12.704 8.736H8.944C8.89067 8.736 8.84267 8.72 8.8 8.688C8.768 8.64533 8.752 8.59733 8.752 8.544V6.992C8.752 6.93867 8.768 6.896 8.8 6.864C8.84267 6.82133 8.89067 6.8 8.944 6.8H15.616C15.6693 6.8 15.712 6.82133 15.744 6.864C15.7867 6.896 15.808 6.93867 15.808 6.992V8.752C15.808 8.83733 15.7707 8.91733 15.696 8.992L13.6 10.912C13.5787 10.9333 13.568 10.9547 13.568 10.976C13.5787 10.9973 13.6053 11.008 13.648 11.008C14.576 11.1893 15.2373 11.7387 15.632 12.656Z" fill="white"/></svg>`;const Bs=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="#654DCB" stroke-width="2"/><path d="M15.632 12.656C15.8453 13.1467 15.952 13.712 15.952 14.352C15.952 14.928 15.856 15.4613 15.664 15.952C15.408 16.6347 14.976 17.168 14.368 17.552C13.7707 17.936 13.0613 18.128 12.24 18.128C11.4293 18.128 10.7147 17.9253 10.096 17.52C9.488 17.1147 9.05067 16.5653 8.784 15.872C8.63467 15.456 8.54933 15.008 8.528 14.528C8.528 14.4 8.592 14.336 8.72 14.336H10.608C10.736 14.336 10.8 14.4 10.8 14.528C10.8427 14.88 10.9013 15.1413 10.976 15.312C11.072 15.5893 11.2267 15.808 11.44 15.968C11.664 16.1173 11.9253 16.192 12.224 16.192C12.8213 16.192 13.232 15.9307 13.456 15.408C13.6053 15.088 13.68 14.7147 13.68 14.288C13.68 13.7867 13.6 13.376 13.44 13.056C13.1947 12.5547 12.784 12.304 12.208 12.304C12.0907 12.304 11.968 12.3413 11.84 12.416C11.712 12.48 11.5573 12.576 11.376 12.704C11.3333 12.736 11.2907 12.752 11.248 12.752C11.184 12.752 11.136 12.72 11.104 12.656L10.16 11.328C10.1387 11.296 10.128 11.2587 10.128 11.216C10.128 11.152 10.1493 11.0987 10.192 11.056L12.736 8.832C12.7573 8.81067 12.7627 8.78933 12.752 8.768C12.752 8.74667 12.736 8.736 12.704 8.736H8.944C8.89067 8.736 8.84267 8.72 8.8 8.688C8.768 8.64533 8.752 8.59733 8.752 8.544V6.992C8.752 6.93867 8.768 6.896 8.8 6.864C8.84267 6.82133 8.89067 6.8 8.944 6.8H15.616C15.6693 6.8 15.712 6.82133 15.744 6.864C15.7867 6.896 15.808 6.93867 15.808 6.992V8.752C15.808 8.83733 15.7707 8.91733 15.696 8.992L13.6 10.912C13.5787 10.9333 13.568 10.9547 13.568 10.976C13.5787 10.9973 13.6053 11.008 13.648 11.008C14.576 11.1893 15.2373 11.7387 15.632 12.656Z" fill="#654DCB"/></svg>`;const Ds=`<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9.62395 13.5009L12.2073 16.0842L17.374 10.9176M8.11916 4.06786C9.04568 3.99392 9.92527 3.6296 10.6327 3.02678C11.4322 2.34513 12.4484 1.9707 13.499 1.9707C14.5495 1.9707 15.5657 2.34513 16.3652 3.02678C17.0726 3.6296 17.9522 3.99392 18.8787 4.06786C19.926 4.15118 20.9092 4.60497 21.6521 5.34781C22.3949 6.09064 22.8487 7.07389 22.932 8.12111C23.0059 9.04764 23.3703 9.92723 23.9731 10.6347C24.6547 11.4341 25.0292 12.4503 25.0292 13.5009C25.0292 14.5515 24.6547 15.5677 23.9731 16.3671C23.3703 17.0746 23.0059 17.9542 22.932 18.8807C22.8487 19.9279 22.3949 20.9112 21.6521 21.654C20.9092 22.3968 19.926 22.8506 18.8787 22.9339C17.9522 23.0079 17.0726 23.3722 16.3652 23.975C15.5657 24.6567 14.5495 25.0311 13.499 25.0311C12.4484 25.0311 11.4322 24.6567 10.6327 23.975C9.92527 23.3722 9.04568 23.0079 8.11916 22.9339C7.07194 22.8506 6.08869 22.3968 5.34585 21.654C4.60302 20.9112 4.14923 19.9279 4.06591 18.8807C3.99196 17.9542 3.62765 17.0746 3.02483 16.3671C2.34318 15.5677 1.96875 14.5515 1.96875 13.5009C1.96875 12.4503 2.34318 11.4341 3.02483 10.6347C3.62765 9.92723 3.99196 9.04764 4.06591 8.12111C4.14923 7.07389 4.60302 6.09064 5.34585 5.34781C6.08869 4.60497 7.07194 4.15118 8.11916 4.06786V4.06786Z" stroke="#63C58E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`;const Is=`<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9.62395 13.5009L12.2073 16.0842L17.374 10.9176M8.11916 4.06786C9.04568 3.99392 9.92527 3.6296 10.6327 3.02678C11.4322 2.34513 12.4484 1.9707 13.499 1.9707C14.5495 1.9707 15.5657 2.34513 16.3652 3.02678C17.0726 3.6296 17.9522 3.99392 18.8787 4.06786C19.926 4.15118 20.9092 4.60497 21.6521 5.34781C22.3949 6.09064 22.8487 7.07389 22.932 8.12111C23.0059 9.04764 23.3703 9.92723 23.9731 10.6347C24.6547 11.4341 25.0292 12.4503 25.0292 13.5009C25.0292 14.5515 24.6547 15.5677 23.9731 16.3671C23.3703 17.0746 23.0059 17.9542 22.932 18.8807C22.8487 19.9279 22.3949 20.9112 21.6521 21.654C20.9092 22.3968 19.926 22.8506 18.8787 22.9339C17.9522 23.0079 17.0726 23.3722 16.3652 23.975C15.5657 24.6567 14.5495 25.0311 13.499 25.0311C12.4484 25.0311 11.4322 24.6567 10.6327 23.975C9.92527 23.3722 9.04568 23.0079 8.11916 22.9339C7.07194 22.8506 6.08869 22.3968 5.34585 21.654C4.60302 20.9112 4.14923 19.9279 4.06591 18.8807C3.99196 17.9542 3.62765 17.0746 3.02483 16.3671C2.34318 15.5677 1.96875 14.5515 1.96875 13.5009C1.96875 12.4503 2.34318 11.4341 3.02483 10.6347C3.62765 9.92723 3.99196 9.04764 4.06591 8.12111C4.14923 7.07389 4.60302 6.09064 5.34585 5.34781C6.08869 4.60497 7.07194 4.15118 8.11916 4.06786V4.06786Z" stroke="#654DCB" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`;const Fs=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.7152 2.35464C7.71225 2.27504 8.65876 1.88287 9.41995 1.23399C10.2797 0.501758 11.3721 0.0996094 12.5013 0.0996094C13.6306 0.0996094 14.723 0.501758 15.5827 1.23399C16.3439 1.88287 17.2904 2.27504 18.2875 2.35464C19.4135 2.44463 20.4706 2.93273 21.2693 3.73145C22.068 4.53017 22.5561 5.58727 22.6461 6.71324C22.7251 7.70989 23.1173 8.65694 23.7667 9.41799C24.499 10.2777 24.9011 11.3701 24.9011 12.4994C24.9011 13.6287 24.499 14.7211 23.7667 15.5808C23.1179 16.342 22.7257 17.2885 22.6461 18.2855C22.5561 19.4115 22.068 20.4686 21.2693 21.2673C20.4706 22.0661 19.4135 22.5542 18.2875 22.6441C17.2904 22.7237 16.3439 23.1159 15.5827 23.7648C14.723 24.497 13.6306 24.8992 12.5013 24.8992C11.3721 24.8992 10.2797 24.497 9.41995 23.7648C8.65876 23.1159 7.71225 22.7237 6.7152 22.6441C5.58923 22.5542 4.53213 22.0661 3.73341 21.2673C2.93469 20.4686 2.44658 19.4115 2.35659 18.2855C2.27699 17.2885 1.88482 16.342 1.23595 15.5808C0.503711 14.7211 0.101562 13.6287 0.101562 12.4994C0.101562 11.3701 0.503711 10.2777 1.23595 9.41799C1.88482 8.65681 2.27699 7.71029 2.35659 6.71324C2.44658 5.58727 2.93469 4.53017 3.73341 3.73145C4.53213 2.93273 5.58923 2.44463 6.7152 2.35464V2.35464ZM18.2472 10.4952C18.5295 10.2029 18.6858 9.81138 18.6822 9.40497C18.6787 8.99857 18.5157 8.60981 18.2283 8.32242C17.9409 8.03504 17.5522 7.87203 17.1458 7.8685C16.7394 7.86497 16.3478 8.0212 16.0555 8.30354L10.9513 13.4077L8.9472 11.4035C8.65486 11.1212 8.26333 10.965 7.85692 10.9685C7.45052 10.972 7.06176 11.135 6.77438 11.4224C6.48699 11.7098 6.32398 12.0986 6.32045 12.505C6.31692 12.9114 6.47315 13.3029 6.7555 13.5952L9.8555 16.6952C10.1462 16.9858 10.5403 17.1491 10.9513 17.1491C11.3624 17.1491 11.7565 16.9858 12.0472 16.6952L18.2472 10.4952V10.4952Z" fill="#63C58E"/></svg>`;const Zs=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.7152 2.35464C7.71225 2.27504 8.65876 1.88287 9.41995 1.23399C10.2797 0.501758 11.3721 0.0996094 12.5013 0.0996094C13.6306 0.0996094 14.723 0.501758 15.5827 1.23399C16.3439 1.88287 17.2904 2.27504 18.2875 2.35464C19.4135 2.44463 20.4706 2.93273 21.2693 3.73145C22.068 4.53017 22.5561 5.58727 22.6461 6.71324C22.7251 7.70989 23.1173 8.65694 23.7667 9.41799C24.499 10.2777 24.9011 11.3701 24.9011 12.4994C24.9011 13.6287 24.499 14.7211 23.7667 15.5808C23.1179 16.342 22.7257 17.2885 22.6461 18.2855C22.5561 19.4115 22.068 20.4686 21.2693 21.2673C20.4706 22.0661 19.4135 22.5542 18.2875 22.6441C17.2904 22.7237 16.3439 23.1159 15.5827 23.7648C14.723 24.497 13.6306 24.8992 12.5013 24.8992C11.3721 24.8992 10.2797 24.497 9.41995 23.7648C8.65876 23.1159 7.71225 22.7237 6.7152 22.6441C5.58923 22.5542 4.53213 22.0661 3.73341 21.2673C2.93469 20.4686 2.44658 19.4115 2.35659 18.2855C2.27699 17.2885 1.88482 16.342 1.23595 15.5808C0.503711 14.7211 0.101562 13.6287 0.101562 12.4994C0.101562 11.3701 0.503711 10.2777 1.23595 9.41799C1.88482 8.65681 2.27699 7.71029 2.35659 6.71324C2.44658 5.58727 2.93469 4.53017 3.73341 3.73145C4.53213 2.93273 5.58923 2.44463 6.7152 2.35464V2.35464ZM18.2472 10.4952C18.5295 10.2029 18.6858 9.81138 18.6822 9.40497C18.6787 8.99857 18.5157 8.60981 18.2283 8.32242C17.9409 8.03504 17.5522 7.87203 17.1458 7.8685C16.7394 7.86497 16.3478 8.0212 16.0555 8.30354L10.9513 13.4077L8.9472 11.4035C8.65486 11.1212 8.26333 10.965 7.85692 10.9685C7.45052 10.972 7.06176 11.135 6.77438 11.4224C6.48699 11.7098 6.32398 12.0986 6.32045 12.505C6.31692 12.9114 6.47315 13.3029 6.7555 13.5952L9.8555 16.6952C10.1462 16.9858 10.5403 17.1491 10.9513 17.1491C11.3624 17.1491 11.7565 16.9858 12.0472 16.6952L18.2472 10.4952V10.4952Z" fill="#50BE80"/></svg>`;const $s=140;const Ns=40;const Ps=40;const Rs=class{constructor(n){t(this,n);this.size="normal";this.theme="light";this.containerId=`verdocs-status-indicator-${Math.random().toString(36).substring(2,11)}`;this.recipientStatusIcons=[]}componentDidLoad(){var t;this.popper=e(this.summaryComponent,this.detailPanel,{placement:"bottom-start",modifiers:[{name:"offset",options:{offset:[0,10]}}]});if((t=this.envelope)===null||t===void 0?void 0:t.recipients){const t=[];this.envelope.recipients.forEach((n=>{const i=n.sequence-1;t[i]||(t[i]=[]);const r=`r-${i}-${t[i].length}`;t[i].push({...n,id:r})}));const n=Object.keys(t).length;const i=n*Ns+(n+1)*Ps;let e=0;Object.values(t).forEach((t=>{let n=t.length*$s+(t.length+1)*Ps;if(n>e){e=n}}));const s=[];const o=[];const h=[];let u=Ps;Object.entries(t).forEach((([n,i])=>{const c=i.length*($s+Ps);const a=e-c;const f=Ps/2+a/2;i.forEach(((i,e)=>{var c;const a=r(i);const l={id:i.id,text:a,icon:this.getStatusIcon(i.status),x:e*($s+Ps)+f,y:u,width:$s,height:Ns,color:this.getStatusColor(i.status),radius:8};s.push(l);h.push({icon:this.getStatusIcon(i.status),x:e*($s+Ps)+f+($s-32),y:u+Ns/2-13});(c=t[+n-1])===null||c===void 0?void 0:c.forEach((t=>{const n={id:`line-${t.id}-${l.id}`,from:{element:t.id,point:"bottom"},to:{element:l.id,point:"top"},color:this.getStatusColor(i.status)};o.push(n)}))}));u+=Ns+Ps}));this.recipientStatusIcons=h;const c=gs();c.initalize(`#${this.containerId}`,e,i);c.update({entities:s,lines:o})}}showDropdown(){var t,n;this.isOpen=true;this.detailPanel.setAttribute("data-show","");this.detailPanel.removeAttribute("aria-hidden");(t=this.popper)===null||t===void 0?void 0:t.setOptions((t=>({...t,modifiers:[...t.modifiers,{name:"eventListeners",enabled:true}]})));(n=this.popper)===null||n===void 0?void 0:n.update()}handleHideDropdown(t){var n,i;if(((n=t===null||t===void 0?void 0:t.target)===null||n===void 0?void 0:n.localName)==="button"&&((i=t===null||t===void 0?void 0:t.target)===null||i===void 0?void 0:i.className)==="arrow"){return}this.hide()}toggleDropdown(){if(this.isOpen){this.hide()}else{this.showDropdown()}}hide(){var t;this.isOpen=false;this.detailPanel.removeAttribute("data-show");this.detailPanel.setAttribute("aria-hidden","true");(t=this.popper)===null||t===void 0?void 0:t.setOptions((t=>({...t,modifiers:[...t.modifiers,{name:"eventListeners",enabled:false}]})))}getStatusColor(t){switch(t){case"invited":case"opened":case"accepted":case"signed":return"#654dcb";case"some-signed":case"submitted":case"complete":return"#55bc81";case"declined":return"#ff0000";case"canceled":case"in progress":case"pending":default:return"#999999"}}getStatusIcon(t){switch(t){case"accepted":return this.theme==="light"?xs:bs;case"complete":return this.theme==="light"?_s:js;case"in progress":return this.theme==="light"?Ls:As;case"canceled":return this.theme==="light"?ks:Ms;case"declined":return this.theme==="light"?Ss:Os;case"invited":return this.theme==="light"?Ls:As;case"opened":return this.theme==="light"?Ts:Es;case"signed":return this.theme==="light"?Bs:zs;case"submitted":return this.theme==="light"?Zs:Fs;case"some-signed":return this.theme==="light"?Is:Ds;default:case"pending":return this.theme==="light"?Hs:Vs}}getStatusMessage(t){switch(t){case"accepted":return"Accepted";case"complete":return"Completed";case"in progress":return"In Progress";case"canceled":return"Cancelled";case"declined":return"Declined";case"invited":return"Invited";case"opened":return"Opened";case"signed":return"Signed";case"submitted":return"Submitted";case"some-signed":return"Partly Signed";case"pending":return"Pending";default:return t}}render(){var t,r;let e=this.status||((t=this.envelope)===null||t===void 0?void 0:t.status)||"pending";if(!this.status&&((r=this.envelope)===null||r===void 0?void 0:r.recipients)){const t=this.envelope.recipients.filter((t=>t.status==="submitted"));if(t.length>0&&t.length!==this.envelope.recipients.length){e="some-signed"}}const s=this.getStatusIcon(e);const o=this.getStatusMessage(e);return n(i,{key:"9c94c90d8fc3640cd0065d4476e822aef432ae66",ref:t=>this.summaryComponent=t,class:`${this.theme} ${this.size} ${this.envelope?"has-document":""}`,"aria-label":"Click to View Details",onClick:t=>{t.stopPropagation();t.preventDefault();this.envelope&&this.toggleDropdown()},onBlur:t=>this.envelope&&this.handleHideDropdown(t)},n("span",{key:"0ef24ac3375647b88d535cdef0157455c787e6e5",class:"icon",innerHTML:s}),n("span",{key:"1bbcabfd32b9599fe100cd16f9bf0c0389ff6511",class:"content"},o),n("div",{key:"976a3cd5ff440cf24b6e086d86a9afc86827c2b8",class:"detail-panel",ref:t=>this.detailPanel=t},n("div",{key:"35b6337d32ae7420676a056648ea18cc474c1c97",id:`${this.containerId}`}),this.recipientStatusIcons.map((t=>n("span",{innerHTML:t.icon,style:{position:"absolute",top:`${t.y}px`,left:`${t.x}px`}})))))}};Rs.style=ms();export{Rs as verdocs_status_indicator};
|
|
2
|
+
//# sourceMappingURL=p-5f58b4cd.entry.js.map
|