@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{p as t,H as n,h as i,d as r,t as e}from"./p-yZBlG3YQ.js";import{formatFullName as s}from"@verdocs/js-sdk";import{c as o}from"./p-BfP9ezJQ.js";var h=Object.create;var u=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var f=Object.getPrototypeOf;var l=Object.prototype.hasOwnProperty;var v=(t,n)=>()=>(n||(t((n={exports:{}}).exports,n),t=null),n.exports);var d=(t,n)=>{let i={};for(var r in t){u(i,r,{get:t[r],enumerable:true})}{u(i,Symbol.toStringTag,{value:"Module"})}return i};var w=(t,n,i,r)=>{if(n&&typeof n==="object"||typeof n==="function"){for(var e=a(n),s=0,o=e.length,h;s<o;s++){h=e[s];if(!l.call(t,h)&&h!==i){u(t,h,{get:(t=>n[t]).bind(null,h),enumerable:!(r=c(n,h))||r.enumerable})}}}return t};var C=(t,n,i)=>(i=t!=null?h(f(t)):{},w(u(i,"default",{value:t,enumerable:true}),t));const p={};const y=[];function g(t,n){if(Array.isArray(t)){for(const i of t)g(i,n);return}if(typeof t==="object"){for(const n in t)g(n,t[n]);return}x(Object.getOwnPropertyNames(n));p[t]=Object.assign(p[t]||{},n)}function m(t){return p[t]||{}}function b(){return[...new Set(y)]}function x(t){y.push(...t)}var M=v(((t,n)=>{n.exports=function(t){try{return!!t()}catch(t){return true}}}));var k=v(((t,n)=>{var i=M();n.exports=!i((function(){var t=function(){}.bind();return typeof t!="function"||t.hasOwnProperty("prototype")}))}));var j=v(((t,n)=>{var i=k();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 _=v(((t,n)=>{var i=j();n.exports=i({}.isPrototypeOf)}));var O=v(((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 S=v(((t,n)=>{var i=k();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 A=v(((t,n)=>{var i=j();var r=i({}.toString);var e=i("".slice);n.exports=function(t){return e(r(t),8,-1)}}));var E=v(((t,n)=>{var i=A();var r=j();n.exports=function(t){if(i(t)==="Function")return r(t)}}));var L=v(((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 T=v(((t,n)=>{var i=M();n.exports=!i((function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}))}));var V=v(((t,n)=>{var i=k();var r=Function.prototype.call;n.exports=i?r.bind(r):function(){return r.apply(r,arguments)}}));var z=v((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 B=v(((t,n)=>{n.exports=function(t,n){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:n}}}));var H=v(((t,n)=>{var i=j();var r=M();var e=A();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 D=v(((t,n)=>{n.exports=function(t){return t===null||t===void 0}}));var I=v(((t,n)=>{var i=D();var r=TypeError;n.exports=function(t){if(i(t))throw new r("Can't call method on "+t);return t}}));var Z=v(((t,n)=>{var i=H();var r=I();n.exports=function(t){return i(r(t))}}));var F=v(((t,n)=>{var i=L();n.exports=function(t){return typeof t=="object"?t!==null:i(t)}}));var $=v(((t,n)=>{n.exports={}}));var N=v(((t,n)=>{var i=$();var r=O();var e=L();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 P=v(((t,n)=>{var i=O().navigator;var r=i&&i.userAgent;n.exports=r?String(r):""}));var R=v(((t,n)=>{var i=O();var r=P();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 G=v(((t,n)=>{var i=R();var r=M();var e=O().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 Y=v(((t,n)=>{var i=G();n.exports=i&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}));var X=v(((t,n)=>{var i=N();var r=L();var e=_();var s=Y();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 J=v(((t,n)=>{var i=String;n.exports=function(t){try{return i(t)}catch(t){return"Object"}}}));var Q=v(((t,n)=>{var i=L();var r=J();var e=TypeError;n.exports=function(t){if(i(t))return t;throw new e(r(t)+" is not a function")}}));var q=v(((t,n)=>{var i=Q();var r=D();n.exports=function(t,n){var e=t[n];return r(e)?void 0:i(e)}}));var U=v(((t,n)=>{var i=V();var r=L();var e=F();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 W=v(((t,n)=>{n.exports=true}));var K=v(((t,n)=>{var i=O();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 tt=v(((t,n)=>{var i=W();var r=O();var e=K();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 nt=v(((t,n)=>{var i=tt();n.exports=function(t,n){return i[t]||(i[t]=n||{})}}));var it=v(((t,n)=>{var i=I();var r=Object;n.exports=function(t){return r(i(t))}}));var rt=v(((t,n)=>{var i=j();var r=it();var e=i({}.hasOwnProperty);n.exports=Object.hasOwn||function t(n,i){return e(r(n),i)}}));var et=v(((t,n)=>{var i=j();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 st=v(((t,n)=>{var i=O();var r=nt();var e=rt();var s=et();var o=G();var h=Y();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 ot=v(((t,n)=>{var i=V();var r=F();var e=X();var s=q();var o=U();var h=st();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 ht=v(((t,n)=>{var i=ot();var r=X();n.exports=function(t){var n=i(t,"string");return r(n)?n:n+""}}));var ut=v(((t,n)=>{var i=O();var r=F();var e=i.document;var s=r(e)&&r(e.createElement);n.exports=function(t){return s?e.createElement(t):{}}}));var ct=v(((t,n)=>{var i=T();var r=M();var e=ut();n.exports=!i&&!r((function(){return Object.defineProperty(e("div"),"a",{get:function(){return 7}}).a!==7}))}));var at=v((t=>{var n=T();var i=V();var r=z();var e=B();var s=Z();var o=ht();var h=rt();var u=ct();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 ft=v(((t,n)=>{var i=M();var r=L();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 lt=v(((t,n)=>{var i=E();var r=Q();var e=k();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 vt=v(((t,n)=>{var i=T();var r=M();n.exports=i&&r((function(){return Object.defineProperty((function(){}),"prototype",{value:42,writable:false}).prototype!==42}))}));var dt=v(((t,n)=>{var i=F();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 wt=v((t=>{var n=T();var i=ct();var r=vt();var e=dt();var s=ht();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 Ct=v(((t,n)=>{var i=T();var r=wt();var e=B();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 pt=v(((t,n)=>{var i=O();var r=S();var e=E();var s=L();var o=at().f;var h=ft();var u=$();var c=lt();var a=Ct();var f=rt();tt();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 w=t.proto;var C=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&&C&&f(C,x);k=p[x];if(m)if(t.dontCallGetSet){O=o(C,x);j=O&&O.value}else j=C[x];M=m&&j?j:n[x];if(!g&&!w&&typeof k==typeof M)continue;if(t.bind&&m)_=c(M,i);else if(t.wrap&&m)_=l(M);else if(w&&s(M))_=e(M);else _=M;if(t.sham||M&&M.sham||k&&k.sham)a(_,"sham",true);a(p,x,_);if(w){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 yt=v(((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 gt=v(((t,n)=>{var i=yt();n.exports=function(t){var n=+t;return n!==n||n===0?0:i(n)}}));var mt=v(((t,n)=>{var i=gt();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 bt=v(((t,n)=>{var i=gt();var r=Math.min;n.exports=function(t){var n=i(t);return n>0?r(n,9007199254740991):0}}));var xt=v(((t,n)=>{var i=bt();n.exports=function(t){return i(t.length)}}));var Mt=v(((t,n)=>{var i=Z();var r=mt();var e=xt();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 kt=v(((t,n)=>{n.exports=function(){}}));var jt=v((()=>{var t=pt();var n=Mt().includes;var i=M();var r=kt();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 _t=v(((t,n)=>{var i=O();var r=$();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 Ot=v(((t,n)=>{jt();var i=_t();n.exports=i("Array","includes")}));var St=v(((t,n)=>{var i=F();var r=A();var e=st()("match");n.exports=function(t){var n;return i(t)&&((n=t[e])!==void 0?!!n:r(t)==="RegExp")}}));var At=v(((t,n)=>{var i=St();var r=TypeError;n.exports=function(t){if(i(t))throw new r("The method doesn't accept regular expressions");return t}}));var Et=v(((t,n)=>{var i=st()("toStringTag");var r={};r[i]="z";n.exports=String(r)==="[object z]"}));var Lt=v(((t,n)=>{var i=Et();var r=L();var e=A();var s=st()("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 Tt=v(((t,n)=>{var i=Lt();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 Vt=v(((t,n)=>{var i=st()("match");n.exports=function(t){var n=/./;try{"/./"[t](n)}catch(r){try{n[i]=false;return"/./"[t](n)}catch(t){}}return false}}));var zt=v((()=>{var t=pt();var n=j();var i=At();var r=I();var e=Tt();var s=Vt();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 Bt=v(((t,n)=>{zt();var i=_t();n.exports=i("String","includes")}));var Ht=v(((t,n)=>{var i=_();var r=Ot();var e=Bt();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 Dt=v(((t,n)=>{var i=Ht();n.exports=i}));var It=C(Dt());function Zt(t,n){let i;const r=t.length;const e=[];for(i=0;i<r;i++)e.push(n(t[i]));return e}function Ft(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 $t(t){return t%360*Math.PI/180}function Nt(t){return t.replace(/([A-Z])/g,(function(t,n){return"-"+n.toLowerCase()}))}function Pt(t){return t.charAt(0).toUpperCase()+t.slice(1)}function Rt(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 Gt(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,It.default)(r).call(r,"left")?h:(0,It.default)(r).call(r,"right")?h+i:h+i/2;if(o)e=(0,It.default)(e).call(e,"top")?u:(0,It.default)(e).call(e,"bottom")?u+t:u+t/2}return[r,e]}const Yt=new Set(["desc","metadata","title"]);const Xt=t=>Yt.has(t.nodeName);const Jt=(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 Qt="http://www.w3.org/2000/svg";const qt="http://www.w3.org/1999/xhtml";const Ut="http://www.w3.org/2000/xmlns/";const Wt="http://www.w3.org/1999/xlink";const Kt={window:typeof window==="undefined"?null:window,document:typeof document==="undefined"?null:document};function tn(){return Kt.window}var nn=class{};const rn={};const en="___SYMBOL___ROOT___";function sn(t,n=Qt){return Kt.document.createElementNS(n,t)}function on(t,n=false){if(t instanceof nn)return t;if(typeof t==="object")return cn(t);if(t==null)return new rn[en];if(typeof t==="string"&&t.trim().charAt(0)!=="<")return cn(Kt.document.querySelector(t));const i=n?Kt.document.createElement("div"):sn("svg");i.innerHTML=t.trim();t=cn(i.firstElementChild);i.removeChild(i.firstElementChild);return t}function hn(t,n){return n&&(n instanceof Kt.window.Node||n.ownerDocument&&n instanceof n.ownerDocument.defaultView.Node)?n:sn(t)}function un(t){if(!t)return null;if(t.instance instanceof nn)return t.instance;if(t.nodeName==="#document-fragment")return new rn.Fragment(t);let n=Pt(t.nodeName||"Dom");if(n==="LinearGradient"||n==="RadialGradient")n="Gradient";else if(!rn[n])n="Dom";return new rn[n](t)}let cn=un;function an(t,n=t.name,i=false){rn[n]=t;if(i)rn[en]=t;x(Object.getOwnPropertyNames(t.prototype));return t}function fn(t){return rn[t]}let ln=1e3;function vn(t){return"Svgjs"+Pt(t)+ln++}function dn(t){for(let n=t.children.length-1;n>=0;n--)dn(t.children[n]);if(t.id){t.id=vn(t.nodeName);return t}return t}function wn(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 Cn(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 pn(){return this.parent().children()}function yn(){return this.parent().index(this)}function gn(){return this.siblings()[this.position()+1]}function mn(){return this.siblings()[this.position()-1]}function bn(){const t=this.position();this.parent().add(this.remove(),t+1);return this}function xn(){const t=this.position();this.parent().add(this.remove(),t?t-1:0);return this}function Mn(){this.parent().add(this.remove());return this}function kn(){this.parent().add(this.remove(),0);return this}function jn(t){t=on(t);t.remove();const n=this.position();this.parent().add(t,n);return this}function _n(t){t=on(t);t.remove();const n=this.position();this.parent().add(t,n+1);return this}function On(t){t=on(t);t.before(this);return this}function Sn(t){t=on(t);t.after(this);return this}g("Dom",{siblings:pn,position:yn,next:gn,prev:mn,forward:bn,backward:xn,front:Mn,back:kn,before:jn,after:_n,insertBefore:On,insertAfter:Sn});const An=/^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i;const En=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;const Ln=/rgb\((\d+),(\d+),(\d+)\)/;const Tn=/^(#[^\s]+)$/;const Vn=/\)\s*,?\s*/;const zn=/\s/g;const Bn=/^#[a-f0-9]{3}$|^#[a-f0-9]{6}$/i;const Hn=/^rgb\(/;const Dn=/^(\s+)?$/;const In=/^[+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;const Zn=/\.(jpg|jpeg|png|gif|svg)(\?[^=]+.*)?/i;const Fn=/[\s,]+/;const $n=/[MLHVCSQTAZ]/i;function Nn(){const t=this.attr("class");return t==null?[]:t.trim().split(Fn)}function Pn(t){return this.classes().indexOf(t)!==-1}function Rn(t){if(!this.hasClass(t)){const n=this.classes();n.push(t);this.attr("class",n.join(" "))}return this}function Gn(t){if(this.hasClass(t))this.attr("class",this.classes().filter((function(n){return n!==t})).join(" "));return this}function Yn(t){return this.hasClass(t)?this.removeClass(t):this.addClass(t)}g("Dom",{classes:Nn,hasClass:Pn,addClass:Rn,removeClass:Gn,toggleClass:Yn});const Xn=t=>t.startsWith("--")?t:Nt(t);function Jn(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=Xn(n);i[n]=this.node.style.getPropertyValue(t)}return i}if(typeof t==="string")return this.node.style.getPropertyValue(Xn(t));if(typeof t==="object")for(const n in t)this.node.style.setProperty(Xn(n),t[n]==null||Dn.test(t[n])?"":t[n])}if(arguments.length===2)this.node.style.setProperty(Xn(t),n==null||Dn.test(n)?"":n);return this}function Qn(){return this.css("display","")}function qn(){return this.css("display","none")}function Un(){return this.css("display")!=="none"}g("Dom",{css:Jn,show:Qn,hide:qn,visible:Un});function Wn(t,n,i){if(t==null)return this.data(Zt(Ft(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}g("Dom",{data:Wn});function Kn(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 ti(){if(arguments.length===0)this._memory={};else for(let t=arguments.length-1;t>=0;t--)delete this.memory()[arguments[t]];return this}function ni(){return this._memory=this._memory||{}}g("Dom",{remember:Kn,forget:ti,memory:ni});function ii(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 ri(t){const n=Math.max(0,Math.min(255,Math.round(t))).toString(16);return n.length===1?"0"+n:n}function ei(t,n){for(let i=n.length;i--;)if(t[n[i]]==null)return false;return true}function si(t,n){const i=ei(t,"rgb")?{_a:t.r,_b:t.g,_c:t.b,_d:0,space:"rgb"}:ei(t,"xyz")?{_a:t.x,_b:t.y,_c:t.z,_d:0,space:"xyz"}:ei(t,"hsl")?{_a:t.h,_b:t.s,_c:t.l,_d:0,space:"hsl"}:ei(t,"lab")?{_a:t.l,_b:t.a,_c:t.b,_d:0,space:"lab"}:ei(t,"lch")?{_a:t.l,_b:t.c,_c:t.h,_d:0,space:"lch"}:ei(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 oi(t){if(t==="lab"||t==="xyz"||t==="lch")return true;else return false}function hi(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 ui=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"&&(Bn.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=si(t,n);Object.assign(this,i)}else if(typeof t==="string")if(Hn.test(t)){const n=t.replace(zn,"");const[i,r,e]=Ln.exec(n).slice(1,4).map((t=>parseInt(t)));Object.assign(this,{_a:i,_b:r,_c:e,_d:0,space:"rgb"})}else if(Bn.test(t)){const n=t=>parseInt(t,16);const[,i,r,e]=En.exec(ii(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(oi(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*hi(s,e,n+1/3);const h=255*hi(s,e,n);const u=255*hi(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(ri);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 w=l>.008856?Math.pow(l,1/3):7.787*l+16/116;return new t(v,d,w,"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 ci=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(!li.isMatrixLike(t))t=new li(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 ai(t,n){return new ci(t,n).transformO(this.screenCTM().inverseO())}function fi(t,n,i){return Math.abs(n-t)<1e-6}var li=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 ci(t.origin||t.around||t.ox||t.originX,t.oy||t.originY);const f=a.x;const l=a.y;const v=new ci(t.position??t.px??t.positionX??NaN,t.py??t.positionY??NaN);const d=v.x;const w=v.y;const C=new ci(t.translate||t.tx||t.translateX,t.ty||t.translateY);const p=C.x;const y=C.y;const g=new ci(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:w}}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 fi(this.a,i.a)&&fi(this.b,i.b)&&fi(this.c,i.c)&&fi(this.d,i.d)&&fi(this.e,i.e)&&fi(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 Ki?n.matrixify():typeof n==="string"?t.fromArray(n.split(Fn).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=$t(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=$t(t);n=$t(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 ci(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 ci(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 vi(){return new li(this.node.getCTM())}function di(){try{if(typeof this.isRoot==="function"&&!this.isRoot()){const t=this.rect(1,1);const n=t.node.getScreenCTM();t.remove();return new li(n)}return new li(this.node.getScreenCTM())}catch(t){console.warn(`Cannot get CTM from SVG node ${this.node.nodeName}. Is the element rendered?`);return new li}}an(li,"Matrix");function wi(){if(!wi.nodes||wi.nodes.svg.node.ownerDocument!==Kt.document){const t=on().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");wi.nodes={svg:t,path:t.path().node}}if(!wi.nodes.svg.node.parentNode)wi.nodes.svg.addTo(Kt.document.body||Kt.document.documentElement);return wi.nodes}function Ci(t){return!t.width&&!t.height&&!t.x&&!t.y}function pi(t){return t===Kt.document||(Kt.document.documentElement.contains||function(t){while(t.parentNode)t=t.parentNode;return t===Kt.document}).call(Kt.document.documentElement,t)}var yi=class t{constructor(...t){this.init(...t)}addOffset(){this.x+=Kt.window.pageXOffset;this.y+=Kt.window.pageYOffset;return new t(this)}init(t){t=typeof t==="string"?t.split(Fn).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 Ci(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 li))n=new li(n);let i=Infinity;let r=-Infinity;let e=Infinity;let s=-Infinity;[new ci(this.x,this.y),new ci(this.x2,this.y),new ci(this.x,this.y2),new ci(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 gi(t,n,i){let r;try{r=n(t.node);if(Ci(r)&&!pi(t.node))throw new Error("Element not in the dom")}catch(n){r=i(t)}return r}function mi(){const t=t=>t.getBBox();const n=t=>{try{const n=t.clone().addTo(wi().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=gi(this,t,n);return new yi(i)}function bi(t){const n=t=>t.getBoundingClientRect();const i=t=>{throw new Error(`Getting rbox of element "${t.node.nodeName}" is not possible`)};const r=gi(this,n,i);const e=new yi(r);if(t)return e.transform(t.screenCTM().inverseO());return e.addOffset()}function xi(t,n){const i=this.bbox();return t>i.x&&n>i.y&&t<i.x+i.width&&n<i.y+i.height}g({viewbox:{viewbox(t,n,i,r){if(t==null)return new yi(this.attr("viewBox"));return this.attr("viewBox",new yi(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 ci(i/2/s+e.x,r/2/o+e.y);const c=new yi(e).transform(new li({scale:u,origin:n}));return this.viewbox(c)}}});an(yi,"Box");var Mi=class extends Array{constructor(t=[],...n){super(t,...n);if(typeof t==="number")return this;this.length=0;this.push(...t)}};wn([Mi],{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 ki=["toArray","constructor","each"];Mi.extend=function(t){t=t.reduce(((t,n)=>{if((0,It.default)(ki).call(ki,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}),{});wn([Mi],t)};function ji(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(Tn);return r?r[1].slice(1):null}function _i(t,n){const i=`#${Kt.window.CSS.escape(n)}`;if(t.nodeType===1&&t.matches(i))return t;return t.querySelector(i)}function Oi(t,n){const i=ji(n);return i?_i(t.getRootNode(),i):null}function Si(t,n,i=`[${n}]`){const r=t.getAttribute("id");const e=t.getRootNode();if(!r||_i(e,r)!==t)return new Mi;const s=[];if(e.nodeType===1&&e.matches(i)&&ji(e.getAttribute(n))===r)s.push(un(e));for(const t of e.querySelectorAll(i))if(ji(t.getAttribute(n))===r)s.push(un(t));return new Mi(s)}function Ai(t,n){return new Mi(Zt((n||Kt.document).querySelectorAll(t),(function(t){return un(t)})))}function Ei(t){return Ai(t,this.node)}function Li(t){return un(this.node.querySelector(t))}let Ti=0;const Vi=new WeakMap;const zi=new WeakMap;const Bi=()=>Object.create(null);function Hi(t){const n=t.getEventHolder();let i=Vi.get(n);if(!i){i=Bi();Vi.set(n,i)}return i}function Di(t){return t.getEventTarget()}function Ii(t){Vi.delete(t.getEventHolder())}function Zi(t,n,i,r,e){const s=i.bind(r||t);const o=e||false;const h=on(t);const u=Hi(h);const c=Di(h);n=Array.isArray(n)?n:n.split(Fn);let a=zi.get(i);if(!a){a=++Ti;zi.set(i,a)}n.forEach((function(t){const n=t.split(".")[0];const i=t.split(".")[1]||"*";u[n]=u[n]||Bi();u[n][i]=u[n][i]||Bi();u[n][i][a]=u[n][i][a]||[];u[n][i][a].push({listener:s,options:o});c.addEventListener(n,s,o)}))}function Fi(t,n,i,r){const e=on(t);const s=Hi(e);const o=Di(e);if(typeof i==="function"){i=zi.get(i);if(!i)return}n=Array.isArray(n)?n:(n||"").split(Fn);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])Fi(o,[n,h].join("."),c);delete s[n][h]}}else if(h){for(t in s)for(u in s[t])if(h===u)Fi(o,[t,h].join("."))}else if(n){if(s[n]){for(u in s[n])Fi(o,[n,u].join("."));delete s[n]}}else{for(t in s)Fi(o,t);Ii(e)}}))}function $i(t,n,i,r){const e=Di(t);if(n instanceof Kt.window.Event)e.dispatchEvent(n);else{n=new Kt.window.CustomEvent(n,{detail:i,cancelable:true,...r});e.dispatchEvent(n)}return n}var Ni=class extends nn{addEventListener(){}dispatch(t,n,i){return $i(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){Fi(this,t,n,i);return this}on(t,n,i,r){Zi(this,t,n,i,r);return this}removeEventListener(){}};an(Ni,"EventTarget");function Pi(){}const Ri={duration:400,ease:">",delay:0};const Gi={"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 Yi=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(Fn).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 Xi=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(An);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 Ji=new Set(["fill","stroke","color","bgcolor","stop-color","flood-color","lighting-color"]);const Qi=[];function qi(t){Qi.push(t)}function Ui(t,n,i){if(t==null){t={};n=this.node.attributes;for(const i of n)t[i.nodeName]=In.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?Gi[t]:In.test(n)?parseFloat(n):n}else{n=Qi.reduce(((n,i)=>i(t,n,this)),n);if(typeof n==="number")n=new Xi(n);else if(Ji.has(t)&&ui.isColor(n))n=new ui(n);else if(n.constructor===Array)n=new Yi(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 Wi=class t extends Ni{constructor(t,n){super();this.node=t;this.type=t.nodeName;if(n&&t!==n)this.attr(n)}add(t,n){t=on(t);if(t.removeNamespace&&this.node instanceof Kt.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 on(t).put(this,n)}children(){return new Mi(Zt(this.node.children,(function(t){return un(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=dn(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(sn(n),i))}first(){return un(this.node.firstChild)}get(t){return un(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,qt)}id(t){if(typeof t==="undefined"&&!this.node.id)this.node.id=vn(this.type);return this.attr("id",t)}index(t){return[].slice.call(this.node.childNodes).indexOf(t.node)}last(){return un(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=un(n.node.parentNode);if(!t)return n;do{if(typeof t==="string"?n.matches(t):n instanceof t)return n}while(n=un(n.node.parentNode));return n}put(t,n){t=on(t);this.add(t,n);return t}putIn(t,n){return on(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=on(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,Qt)}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=un(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=sn("wrapper",i);const e=Kt.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)}};wn(Wi,{attr:Ui,find:Ei,findOne:Li});an(Wi,"Dom");var Ki=class extends Wi{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 Xi(t).plus(this.x()))}dy(t=0){return this.y(new Xi(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&&on(t).node;const e=new Mi;let s=this;while((s=s.parent())&&s.node!==Kt.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=Oi(this.node,t);return n?on(n):null}root(){const t=this.parent(fn(en));return t&&t.root()}setData(t){this.dom=t;return this}size(t,n){const i=Rt(this,t,n);return this.width(new Xi(i.width)).height(new Xi(i.height))}width(t){return this.attr("width",t)}writeDataToDom(t){Jt(this,this.dom,t);return super.writeDataToDom()}x(t){return this.attr("x",t)}y(t){return this.attr("y",t)}};wn(Ki,{bbox:mi,rbox:bi,inside:xi,point:ai,ctm:vi,screenCTM:di});an(Ki,"Element");const tr={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 ui||ui.isRgb(n)||n instanceof Ki)this.attr(t,n);else for(i=tr[t].length-1;i>=0;i--)if(n[tr[t][i]]!=null)this.attr(tr.prefix(t,tr[t][i]),n[tr[t][i]]);return this};g(["Element","Runner"],n)}));g(["Element","Runner"],{matrix:function(t,n,i,r,e,s){if(t==null)return new li(this);return this.attr("transform",new li(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)}});g("radius",{radius:function(t,n=t){return(this._element||this).type==="radialGradient"?this.attr("r",new Xi(t)):this.rx(t).ry(n)}});g("Path",{length:function(){return this.node.getTotalLength()},pointAt:function(t){return new ci(this.node.getPointAtLength(t))}});g(["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)}});g("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 nr(){return this.attr("transform",null)}function ir(){return(this.attr("transform")||"").split(Vn).slice(0,-1).map((function(t){const n=t.trim().split("(");return[n[0].trim(),n[1].split(Fn).map((function(t){return parseFloat(t)}))]})).reverse().reduce((function(t,n){if(n[0]==="matrix")return t.lmultiply(li.fromArray(n[1]));return t[n[0]].apply(t,n[1])}),new li)}function rr(t,n){if(this===t)return this;if(Xt(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 er(t){return this.toParent(this.root(),t)}function sr(t,n){if(t==null||typeof t==="string"){const n=new li(this).decompose();return t==null?n:n[t]}if(!li.isMatrixLike(t))t={...t,origin:Gt(t,this)};const i=new li(n===true?this:n||false).transform(t);return this.attr("transform",i)}g("Element",{untransform:nr,matrixify:ir,toParent:rr,toRoot:er,transform:sr});var or=class t extends Ki{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()}};an(or,"Container");var hr=class extends or{constructor(t,n=t){super(hn("defs",t),n)}flatten(){return this}ungroup(){return this}};an(hr,"Defs");var ur=class extends Ki{};an(ur,"Shape");var cr=d({cx:()=>dr,cy:()=>wr,height:()=>pr,rx:()=>ar,ry:()=>fr,width:()=>Cr,x:()=>lr,y:()=>vr});function ar(t){return this.attr("rx",t)}function fr(t){return this.attr("ry",t)}function lr(t){return t==null?this.cx()-this.rx():this.cx(t+this.rx())}function vr(t){return t==null?this.cy()-this.ry():this.cy(t+this.ry())}function dr(t){return this.attr("cx",t)}function wr(t){return this.attr("cy",t)}function Cr(t){return t==null?this.rx()*2:this.rx(new Xi(t).divide(2))}function pr(t){return t==null?this.ry()*2:this.ry(new Xi(t).divide(2))}var yr=class extends ur{constructor(t,n=t){super(hn("ellipse",t),n)}size(t,n){const i=Rt(this,t,n);return this.rx(new Xi(i.width).divide(2)).ry(new Xi(i.height).divide(2))}};wn(yr,cr);g("Container",{ellipse:Cn((function(t=0,n=t){return this.put(new yr).size(t,n).move(0,0)}))});an(yr,"Ellipse");var gr=class extends Wi{constructor(t=Kt.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 Wi(sn("wrapper",i));t.add(this.node.cloneNode(true));return t.xml(false,i)}return super.xml(t,false,i)}};an(gr,"Fragment");var mr=d({from:()=>br,to:()=>xr});function br(t,n){return(this._element||this).type==="radialGradient"?this.attr({fx:new Xi(t),fy:new Xi(n)}):this.attr({x1:new Xi(t),y1:new Xi(n)})}function xr(t,n){return(this._element||this).type==="radialGradient"?this.attr({cx:new Xi(t),cy:new Xi(n)}):this.attr({x2:new Xi(t),y2:new Xi(n)})}var Mr=class extends or{constructor(t,n){super(hn(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 yi}targets(){return Si(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()+")"}};wn(Mr,mr);g({Container:{gradient(...t){return this.defs().gradient(...t)}},Defs:{gradient:Cn((function(t,n){return this.put(new Mr(t)).update(n)}))}});an(Mr,"Gradient");var kr=class extends or{constructor(t,n=t){super(hn("pattern",t),n)}attr(t,n,i){if(t==="transform")t="patternTransform";return super.attr(t,n,i)}bbox(){return new yi}targets(){return Si(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()+")"}};g({Container:{pattern(...t){return this.defs().pattern(...t)}},Defs:{pattern:Cn((function(t,n,i){return this.put(new kr).update(i).attr({x:0,y:0,width:t,height:n,patternUnits:"userSpaceOnUse"})}))}});an(kr,"Pattern");var jr=class extends ur{constructor(t,n=t){super(hn("image",t),n)}load(t,n){if(!t)return this;const i=new Kt.window.Image;Zi(i,"load",(function(t){const r=this.parent(kr);if(this.width()===0&&this.height()===0)this.size(i.width,i.height);if(r instanceof kr){if(r.width()===0&&r.height()===0)r.size(this.width(),this.height())}if(typeof n==="function")n.call(this,t)}),this);Zi(i,"load error",(function(){Fi(i)}));return this.attr("href",i.src=t,Wt)}};qi((function(t,n,i){if(t==="fill"||t==="stroke"){if(Zn.test(n))n=i.root().defs().image(n)}if(n instanceof jr)n=i.root().defs().pattern(0,0,(t=>{t.add(n)}));return n}));g({Container:{image:Cn((function(t,n){return this.put(new jr).size(0,0).load(t,n)}))}});an(jr,"Image");var _r=class extends Yi{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 yi(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(Fn).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(!li.isMatrixLike(t))t=new li(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 Or=d({MorphArray:()=>Sr,height:()=>Tr,width:()=>Lr,x:()=>Ar,y:()=>Er});const Sr=_r;function Ar(t){return t==null?this.bbox().x:this.move(t,this.bbox().y)}function Er(t){return t==null?this.bbox().y:this.move(this.bbox().x,t)}function Lr(t){const n=this.bbox();return t==null?n.width:this.size(t,n.height)}function Tr(t){const n=this.bbox();return t==null?n.height:this.size(n.width,t)}var Vr=class extends ur{constructor(t,n=t){super(hn("line",t),n)}array(){return new _r([[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 _r(t).toLine();return this.attr(t)}size(t,n){const i=Rt(this,t,n);return this.attr(this.array().size(i.width,i.height).toLine())}};wn(Vr,Or);g({Container:{line:Cn((function(...t){return Vr.prototype.plot.apply(this.put(new Vr),t[0]!=null?t:[0,0,0,0])}))}});an(Vr,"Line");var zr=class extends or{constructor(t,n=t){super(hn("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)}};g({Container:{marker(...t){return this.defs().marker(...t)}},Defs:{marker:Cn((function(t,n,i){return this.put(new zr).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 zr?arguments[1]:this.defs().marker(n,i,r);return this.attr(e,t)}}});an(zr,"Marker");function Br(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 Dr=class{done(){return false}};var Ir=class extends Dr{constructor(t=Ri.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 Zr=class extends Dr{constructor(t){super();this.stepper=t}done(t){return t.done}step(t,n,i,r){return this.stepper(t,n,i,r)}};function Fr(){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 $r=class extends Zr{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}};wn($r,{duration:Br("_duration",Fr),overshoot:Br("_overshoot",Fr)});var Nr=class extends Zr{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)}};wn(Nr,{windup:Br("_windup"),p:Br("P"),i:Br("I"),d:Br("D")});const Pr={M:2,L:2,H:1,V:1,C:6,S:4,Q:4,T:2,A:7,Z:0};const Rr={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 Gr="mlhvqtcsaz".split("");for(let t=0,n=Gr.length;t<n;++t)Rr[Gr[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 Rr[t](n,i,r)}}(Gr[t].toUpperCase());function Yr(t){return Rr[t.segment[0]](t.segment.slice(1),t.p,t.p0)}function Xr(t){return t.segment.length&&t.segment.length-1===Pr[t.segment[0].toUpperCase()]}function Jr(t,n){t.inNumber&&Qr(t,false);const i=$n.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 Qr(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(Xr(t))qr(t)}function qr(t){t.inSegment=false;if(t.absolute)t.segment=Yr(t);t.segments.push(t.segment)}function Ur(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 Wr(t){return t.lastToken.toUpperCase()==="E"}const Kr=new Set([" ",",","\t","\n","\r","\f"]);function te(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 ci,p:new ci};while(e.lastToken=r,r=t.charAt(i++)){if(!e.inSegment){if(Jr(e,r))continue}if(r==="."){if(e.pointSeen||e.hasExponent){Qr(e,false);--i;continue}e.inNumber=true;e.pointSeen=true;e.number+=r;continue}if(!isNaN(parseInt(r))){if(e.number==="0"||Ur(e)){e.inNumber=true;e.number=r;Qr(e,true);continue}e.inNumber=true;e.number+=r;continue}if(Kr.has(r)){if(e.inNumber)Qr(e,false);continue}if(r==="-"||r==="+"){if(e.inNumber&&!Wr(e)){Qr(e,false);--i;continue}e.number+=r;e.inNumber=true;continue}if(r.toUpperCase()==="E"){e.number+=r;e.hasExponent=true;continue}if($n.test(r)){if(e.inNumber)Qr(e,false);else if(!Xr(e))throw new Error("parser Error");else qr(e);--i}}if(e.inNumber)Qr(e,false);if(e.inSegment&&Xr(e))qr(e);return e.segments}function ne(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 ie=class extends Yi{bbox(){wi().path.setAttribute("d",this.toString());return new yi(wi.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 te(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 ne(this)}};const re=t=>{const n=typeof t;if(n==="number")return Xi;else if(n==="string")if(ui.isColor(t))return ui;else if(Fn.test(t))return $n.test(t)?ie:Yi;else if(An.test(t))return Xi;else return se;else if(ce.indexOf(t.constructor)>-1)return t.constructor;else if(Array.isArray(t))return Yi;else if(n==="object")return ue;else return se};var ee=class{constructor(t){this._stepper=t||new Ir("-");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(re(t));let n=new this._type(t);if(this._type===ui)n=this._to?n[this._to[4]]():this._from?n[this._from[4]]():n;if(this._type===ue)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 se=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 oe=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]}};oe.defaults={scaleX:1,scaleY:1,shear:0,rotate:0,translateX:0,translateY:0,originX:0,originY:0};const he=(t,n)=>t[0]<n[0]?-1:t[0]>n[0]?1:0;var ue=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]===ui&&t[i+7]!==n[i+7]){const n=t[i+7];const r=new ui(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=re(t[i]);const e=new r(t[i]).toArray();n.push([i,r,e.length,...e])}n.sort(he);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 ce=[se,oe,ue];function ae(t=[]){ce.push(...[].concat(t))}function fe(){wn(ce,{to(t){return(new ee).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 le=class extends ur{constructor(t,n=t){super(hn("path",t),n)}array(){return this._array||(this._array=new ie(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 ie(t))}size(t,n){const i=Rt(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)}};le.prototype.MorphArray=ie;g({Container:{path:Cn((function(t){return this.put(new le).plot(t||new ie)}))}});an(le,"Path");var ve=d({array:()=>de,clear:()=>we,move:()=>Ce,plot:()=>pe,size:()=>ye});function de(){return this._array||(this._array=new _r(this.attr("points")))}function we(){delete this._array;return this}function Ce(t,n){return this.attr("points",this.array().move(t,n))}function pe(t){return t==null?this.array():this.clear().attr("points",typeof t==="string"?t:this._array=new _r(t))}function ye(t,n){const i=Rt(this,t,n);return this.attr("points",this.array().size(i.width,i.height))}var ge=class extends ur{constructor(t,n=t){super(hn("polygon",t),n)}};g({Container:{polygon:Cn((function(t){return this.put(new ge).plot(t||new _r)}))}});wn(ge,Or);wn(ge,ve);an(ge,"Polygon");var me=class extends ur{constructor(t,n=t){super(hn("polyline",t),n)}};g({Container:{polyline:Cn((function(t){return this.put(new me).plot(t||new _r)}))}});wn(me,Or);wn(me,ve);an(me,"Polyline");var be=class extends ur{constructor(t,n=t){super(hn("rect",t),n)}};wn(be,{rx:ar,ry:fr});g({Container:{rect:Cn((function(t,n){return this.put(new be).size(t,n)}))}});an(be,"Rect");var xe=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 Me={nextDraw:null,frames:new xe,timeouts:new xe,immediates:new xe,timer:()=>Kt.window.performance||Kt.window.Date,frame(t){const n=Me.frames.push({run:t});if(Me.nextDraw===null)Me.nextDraw=Kt.window.requestAnimationFrame(Me._draw);return n},timeout(t,n){n=n||0;const i=Me.timer().now()+n;const r=Me.timeouts.push({run:t,time:i});if(Me.nextDraw===null)Me.nextDraw=Kt.window.requestAnimationFrame(Me._draw);return r},immediate(t){const n=Me.immediates.push(t);if(Me.nextDraw===null)Me.nextDraw=Kt.window.requestAnimationFrame(Me._draw);return n},cancelFrame(t){t!=null&&Me.frames.remove(t)},clearTimeout(t){t!=null&&Me.timeouts.remove(t)},cancelImmediate(t){t!=null&&Me.immediates.remove(t)},_draw(t){try{let n=null;const i=Me.timeouts.last();while(n=Me.timeouts.shift()){if(t>=n.time)n.run();else Me.timeouts.push(n);if(n===i)break}let r=null;const e=Me.frames.last();while(r!==e&&(r=Me.frames.shift()))r.run(t);let s=null;while(s=Me.immediates.shift())s()}finally{const t=Me.timeouts.first()||Me.frames.first()||Me.immediates.first();Me.nextDraw=t?Kt.window.requestAnimationFrame(Me._draw):null}}};const ke=function(t){const n=t.start;const i=t.runner.duration();return{start:n,duration:i,end:n+i,runner:t.runner}};const je=function(){const t=Kt.window;return(t.performance||t.Date).now()};var _e=class extends Ni{constructor(t=je){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(ke);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){Me.cancelFrame(this._nextFrame);this._nextFrame=null;if(t)return this._stepImmediate();if(this._paused)return this;this._nextFrame=Me.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(){Me.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)}};g({Element:{timeline:function(t){if(t==null){this._timeline=this._timeline||new _e;return this._timeline}else{this._timeline=t;return this}}}});var Oe=class t extends Ni{constructor(n){super();this.id=t.id++;n=n==null?Ri.duration:n;n=typeof n==="function"?new Zr(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 Zr;this._stepper=this._isDeclarative?n:new Ir;this._history={};this.enabled=true;this._time=0;this._lastTime=0;this._reseted=true;this.transforms=new li;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??Ri.duration;n=n??Ri.delay;i=i||"last";if(typeof t==="object"&&!(t instanceof Dr)){n=t.delay??n;i=t.when??i;e=t.swing||e;r=t.times??r;s=t.wait??s;t=t.duration??Ri.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 li;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 Ir(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||Pi,runner:n||Pi,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 _e)){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 li;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}};Oe.id=0;var Se=class{constructor(t=new li,n=-1,i=true,r=false){this.transforms=t;this.id=n;this.done=i;this._isAbsoluteTransform=r;this._transformActive=true;this._retired=true}};wn([Oe,Se],{mergeWith(t){return new Se(this._isAbsoluteTransform?this.transforms:t.transforms.lmultiply(this.transforms),t.id,true,t._isAbsoluteTransform||this._isAbsoluteTransform)}});const Ae=(t,n)=>t.lmultiplyO(n);const Ee=t=>t.transforms;const Le=t=>t._transformActive;function Te(t){const n=t.filter(Le);let i=0;for(let t=0;t<n.length;++t)if(n[t]._isAbsoluteTransform)i=t;return n.slice(i)}function Ve(){const t=Te(this._transformationRunners.runners).map(Ee).reduce(Ae,new li);this.transform(t);this._transformationRunners.merge();if(this._transformationRunners.length()===1)this._frameId=null}var ze=class{constructor(){this.runners=[]}add(t){var n;if((0,It.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}};g({Element:{animate(t,n,i){const r=Oe.sanitise(t,n,i);const e=this.timeline();return new Oe(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 Te(n.slice(0,i+1)).map(Ee).reduce(Ae,new li)},_addRunner(t){if(this._transformationRunners.length()===1&&this._transformationRunners.runners[0].id===-1)this._transformationRunners.runners[0].transforms=new li(this);this._transformationRunners.add(t);Me.cancelImmediate(this._frameId);this._frameId=Me.immediate(Ve.bind(this))},_prepareRunner(){if(this._frameId==null)this._transformationRunners=(new ze).add(new Se(new li(this)))}}});const Be=(t,n)=>t.filter((t=>!(0,It.default)(n).call(n,t)));wn(Oe,{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 ee(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=Be(Object.keys(n),o);if(i.length&&s.from()!=null){const n=this.element()[t](i);const r=new ue(s.from()).valueOf();Object.assign(r,n);s.from(r)}const r=new ue(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 ee(this._stepper).to(new Xi(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=li.isMatrixLike(t);i=t.affine!=null?t.affine:i!=null?i:!r;const e=new ee(this._stepper).type(i?oe:li);const s=i?new ee(this._stepper).type(li):e;let o;let h;let u;let c;let a;function f(){h=h||this.element();o=o||Gt(t,h);a=new li(n?void 0:h);h._addRunner(this)}function l(f){if(!n)this.clearTransform();const{x:l,y:v}=new ci(o).transform(h._currentTransform(this));const d={...t,origin:[l,v]};if(d.relative===true)delete d.relative;let w=new li(d);let C=this._isDeclarative&&u?u:a;let p=e;if(i){const t=w.decompose(l,v);const n=C.decompose(l,v);if(!new oe(t).toArray().concat(new oe(n).toArray()).every(Number.isFinite))p=s;else{w=t;C=n;const i=w.rotate;const r=C.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);w.rotate=e[h]}}if(n&&p===e){if(!r)w.rotate=t.rotate||0;if(this._isDeclarative&&c)C.rotate=c}p.from(C);p.to(w);const y=p.at(f);c=y.rotate;u=new li(y);this.addTransform(u);h._addRunner(this);return p.done()}function v(n){o=Gt(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 Xi(n);if(this._tryRetarget(t,n))return this;const i=new ee(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 Xi(t))}));this._rememberMorpher(t,i);return this},_queueObject(t,n){if(this._tryRetarget(t,n))return this;const i=new ee(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 Xi(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=Rt(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 ee(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 yi(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}});wn(Oe,{rx:ar,ry:fr,from:br,to:xr});an(Oe,"Runner");var He=class extends or{constructor(t,n=t){super(hn("svg",t),n);this.namespace()}defs(){if(!this.isRoot())return this.root().defs();return un(this.node.querySelector("defs"))||this.put(new hr)}isRoot(){return!this.node.parentNode||!(this.node.parentNode instanceof Kt.window.SVGElement)&&this.node.parentNode.nodeName!=="#document-fragment"}namespace(){if(!this.isRoot())return this.root().namespace();return this.attr({xmlns:Qt,version:"1.1"}).attr("xmlns:xlink",Wt,Ut)}removeNamespace(){return this.attr({xmlns:null,version:null}).attr("xmlns:xlink",null,Ut).attr("xmlns:svgjs",null,Ut)}root(){if(this.isRoot())return this;return super.root()}};g({Container:{nested:Cn((function(){return this.put(new He)}))}});an(He,"Svg",true);var De=class extends or{constructor(t,n=t){super(hn("symbol",t),n)}};g({Container:{symbol:Cn((function(){return this.put(new De)}))}});an(De,"Symbol");var Ie=d({amove:()=>Qe,ax:()=>Xe,ay:()=>Je,build:()=>qe,center:()=>Ye,cx:()=>Re,cy:()=>Ge,length:()=>Fe,move:()=>Pe,plain:()=>Ze,x:()=>$e,y:()=>Ne});function Ze(t){if(this._build===false)this.clear();this.node.appendChild(Kt.document.createTextNode(t));return this}function Fe(){return this.node.getComputedTextLength()}function $e(t,n=this.bbox()){if(t==null)return n.x;return this.attr("x",this.attr("x")+t-n.x)}function Ne(t,n=this.bbox()){if(t==null)return n.y;return this.attr("y",this.attr("y")+t-n.y)}function Pe(t,n,i=this.bbox()){return this.x(t,i).y(n,i)}function Re(t,n=this.bbox()){if(t==null)return n.cx;return this.attr("x",this.attr("x")+t-n.cx)}function Ge(t,n=this.bbox()){if(t==null)return n.cy;return this.attr("y",this.attr("y")+t-n.cy)}function Ye(t,n,i=this.bbox()){return this.cx(t,i).cy(n,i)}function Xe(t){return this.attr("x",t)}function Je(t){return this.attr("y",t)}function Qe(t,n){return this.ax(t).ay(n)}function qe(t){this._build=!!t;return this}var Ue=class extends ur{constructor(t,n=t){super(hn("text",t),n);this.dom.leading=this.dom.leading??new Xi(1.3);this._rebuild=true;this._build=false}leading(t){if(t==null)return this.dom.leading;this.dom.leading=new Xi(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(Xt(this.node))return;const e=Kt.window.getComputedStyle(this.node).getPropertyValue("font-size");const s=i*new Xi(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 Xi(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"||Xt(n[r])){if(r===0)i=r+1;continue}if(r!==i&&n[r].nodeType!==3&&un(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()}};wn(Ue,Ie);g({Container:{text:Cn((function(t=""){return this.put(new Ue).text(t)})),plain:Cn((function(t=""){return this.put(new Ue).plain(t)}))}});an(Ue,"Text");var We=class extends ur{constructor(t,n=t){super(hn("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 Ue))return this;const n=t.index(this);const i=Kt.window.getComputedStyle(this.node).getPropertyValue("font-size");const r=t.dom.leading*new Xi(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}};wn(We,Ie);g({Tspan:{tspan:Cn((function(t=""){const n=new We;if(!this._build)this.clear();return this.put(n).text(t)}))},Text:{newLine:function(t=""){return this.tspan(t).newLine()}}});an(We,"Tspan");var Ke=class extends ur{constructor(t,n=t){super(hn("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 Xi(t).divide(2))}};wn(Ke,{x:lr,y:vr,cx:dr,cy:wr,width:Cr,height:pr});g({Container:{circle:Cn((function(t=0){return this.put(new Ke).size(t).move(0,0)}))}});an(Ke,"Circle");var ts=class extends or{constructor(t,n=t){super(hn("clipPath",t),n)}remove(){this.targets().forEach((function(t){t.unclip()}));return super.remove()}targets(){return Si(this.node,"clip-path")}};g({Container:{clip:Cn((function(){return this.defs().put(new ts)}))},Element:{clipper(){return this.reference("clip-path")},clipWith(t){const n=t instanceof ts?t:this.parent().clip().add(t);return this.attr("clip-path","url(#"+n.id()+")")},unclip(){return this.attr("clip-path",null)}}});an(ts,"ClipPath");var ns=class extends Ki{constructor(t,n=t){super(hn("foreignObject",t),n)}};g({Container:{foreignObject:Cn((function(t,n){return this.put(new ns).size(t,n)}))}});an(ns,"ForeignObject");var is=d({dmove:()=>rs,dx:()=>es,dy:()=>ss,height:()=>os,move:()=>hs,size:()=>us,width:()=>cs,x:()=>as,y:()=>fs});function rs(t,n){this.children().forEach((i=>{let r;try{r=i.node instanceof tn().SVGSVGElement?new yi(i.attr(["x","y","width","height"])):i.bbox()}catch(t){return}const e=new li(i);const s=e.translate(t,n).transform(e.inverse());const o=new ci(r.x,r.y).transform(s);i.dmove(o.x-r.x,o.y-r.y)}));return this}function es(t){return this.dmove(t,0)}function ss(t){return this.dmove(0,t)}function os(t,n=this.bbox()){if(t==null)return n.height;return this.size(n.width,t,n)}function hs(t=0,n=0,i=this.bbox()){const r=t-i.x;const e=n-i.y;return this.dmove(r,e)}function us(t,n,i=this.bbox()){const r=Rt(this,t,n,i);const e=r.width/i.width;const s=r.height/i.height;this.children().forEach((t=>{const n=new ci(i).transform(new li(t).inverse());t.scale(e,s,n.x,n.y)}));return this}function cs(t,n=this.bbox()){if(t==null)return n.width;return this.size(t,n.height,n)}function as(t,n=this.bbox()){if(t==null)return n.x;return this.move(t,n.y,n)}function fs(t,n=this.bbox()){if(t==null)return n.y;return this.move(n.x,t,n)}var ls=class extends or{constructor(t,n=t){super(hn("g",t),n)}};wn(ls,is);g({Container:{group:Cn((function(){return this.put(new ls)}))}});an(ls,"G");var vs=class extends or{constructor(t,n=t){super(hn("a",t),n)}target(t){return this.attr("target",t)}to(t){return this.attr("href",t,Wt)}};wn(vs,is);g({Container:{link:Cn((function(t){return this.put(new vs).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 vs;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}}});an(vs,"A");var ds=class extends or{constructor(t,n=t){super(hn("mask",t),n)}remove(){this.targets().forEach((function(t){t.unmask()}));return super.remove()}targets(){return Si(this.node,"mask")}};g({Container:{mask:Cn((function(){return this.defs().put(new ds)}))},Element:{masker(){return this.reference("mask")},maskWith(t){const n=t instanceof ds?t:this.parent().mask().add(t);return this.attr("mask","url(#"+n.id()+")")},unmask(){return this.attr("mask",null)}}});an(ds,"Mask");var ws=class extends Ki{constructor(t,n=t){super(hn("stop",t),n)}update(t){if(typeof t==="number"||t instanceof Xi)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 Xi(t.offset));return this}};g({Gradient:{stop:function(t,n,i){return this.put(new ws).update(t,n,i)}}});an(ws,"Stop");function Cs(t,n){if(!t)return"";if(!n)return t;let i=t+"{";for(const t in n)i+=Nt(t)+":"+n[t]+";";i+="}";return i}var ps=class extends Ki{constructor(t,n=t){super(hn("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(Cs(t,n))}};g("Dom",{style(t,n){return this.put(new ps).rule(t,n)},fontface(t,n,i){return this.put(new ps).font(t,n,i)}});an(ps,"Style");var ys=class extends Ue{constructor(t,n=t){super(hn("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")}};g({Container:{textPath:Cn((function(t,n){if(!(t instanceof Ue))t=this.text(t);return t.path(n)}))},Text:{path:Cn((function(t,n=true){const i=new ys;if(!(t instanceof le))t=this.defs().path(t);i.attr("href","#"+t,Wt);let r;if(n)while(r=this.node.firstChild)i.node.appendChild(r);return this.put(i)})),textPath(){return this.findOne("textPath")}},Path:{text:Cn((function(t){if(!(t instanceof Ue))t=(new Ue).addTo(this.parent()).text(t);return t.path(this)})),targets(){return Si(this.node,"href","textPath")}}});ys.prototype.MorphArray=ie;an(ys,"TextPath");var gs=class extends ur{constructor(t,n=t){super(hn("use",t),n)}use(t,n){return this.attr("href",(n||"")+"#"+t,Wt)}};g({Container:{use:Cn((function(t,n){return this.put(new gs).use(t,n)}))}});an(gs,"Use");const ms=on;wn([He,De,jr,kr,zr],m("viewbox"));wn([Vr,me,ge,le],m("marker"));wn(Ue,m("Text"));wn(le,m("Path"));wn(hr,m("Defs"));wn([Ue,We],m("Tspan"));wn([be,yr,Mr,Oe],m("radius"));wn(Ni,m("EventTarget"));wn(Wi,m("Dom"));wn(Ki,m("Element"));wn(ur,m("Shape"));wn([or,gr],m("Container"));wn(Mr,m("Gradient"));wn(Oe,m("Runner"));Mi.extend(b());ae([Xi,ui,yi,li,Yi,_r,ie,ci]);fe();function bs(){let t={entities:[]};let n;let i=[];function r(t,i,r){n=ms().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 xs=()=>`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 Ms=`<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 ks=`<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 js=`<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 _s=`<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 Os=`<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 Ss=`<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 As=`<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 Es=`<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 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="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`;const Ts=`<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 Vs=`<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 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="#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 Bs=`<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 Ds=`<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 Is=`<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 Zs=`<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 Fs=`<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 $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="#63C58E"/></svg>`;const Ns=`<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 Ps=140;const Rs=40;const Gs=40;const Ys=t(class t extends n{constructor(t){super();if(t!==false){this.__registerHost()}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=o(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*Rs+(n+1)*Gs;let r=0;Object.values(t).forEach((t=>{let n=t.length*Ps+(t.length+1)*Gs;if(n>r){r=n}}));const e=[];const o=[];const h=[];let u=Gs;Object.entries(t).forEach((([n,i])=>{const c=i.length*(Ps+Gs);const a=r-c;const f=Gs/2+a/2;i.forEach(((i,r)=>{var c;const a=s(i);const l={id:i.id,text:a,icon:this.getStatusIcon(i.status),x:r*(Ps+Gs)+f,y:u,width:Ps,height:Rs,color:this.getStatusColor(i.status),radius:8};e.push(l);h.push({icon:this.getStatusIcon(i.status),x:r*(Ps+Gs)+f+(Ps-32),y:u+Rs/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+=Rs+Gs}));this.recipientStatusIcons=h;const c=bs();c.initalize(`#${this.containerId}`,r,i);c.update({entities:e,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"?ks:Ms;case"complete":return this.theme==="light"?Ss:Os;case"in progress":return this.theme==="light"?Ts:Ls;case"canceled":return this.theme==="light"?_s:js;case"declined":return this.theme==="light"?Es:As;case"invited":return this.theme==="light"?Ts:Ls;case"opened":return this.theme==="light"?zs:Vs;case"signed":return this.theme==="light"?Is:Ds;case"submitted":return this.theme==="light"?Ns:$s;case"some-signed":return this.theme==="light"?Fs:Zs;default:case"pending":return this.theme==="light"?Hs:Bs}}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,n;let e=this.status||((t=this.envelope)===null||t===void 0?void 0:t.status)||"pending";if(!this.status&&((n=this.envelope)===null||n===void 0?void 0:n.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 i(r,{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)},i("span",{key:"0ef24ac3375647b88d535cdef0157455c787e6e5",class:"icon",innerHTML:s}),i("span",{key:"1bbcabfd32b9599fe100cd16f9bf0c0389ff6511",class:"content"},o),i("div",{key:"976a3cd5ff440cf24b6e086d86a9afc86827c2b8",class:"detail-panel",ref:t=>this.detailPanel=t},i("div",{key:"35b6337d32ae7420676a056648ea18cc474c1c97",id:`${this.containerId}`}),this.recipientStatusIcons.map((t=>i("span",{innerHTML:t.icon,style:{position:"absolute",top:`${t.y}px`,left:`${t.x}px`}})))))}static get style(){return xs()}},[0,"verdocs-status-indicator",{size:[1],theme:[1],status:[1],envelope:[16],isOpen:[32],containerId:[32]}]);function Xs(){if(typeof customElements==="undefined"){return}const t=["verdocs-status-indicator"];t.forEach((t=>{switch(t){case"verdocs-status-indicator":if(!customElements.get(e(t))){customElements.define(e(t),Ys)}break}}))}export{Ys as V,Xs as d};
|
|
2
|
+
//# sourceMappingURL=p-C1iHkDUH.js.map
|