@verdocs/web-sdk 5.0.51 → 5.0.53
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/index-2b9aa26f.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/verdocs-envelope-document-page.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-envelopes-list.cjs.entry.js +6 -6
- package/dist/cjs/verdocs-field-attachment_13.cjs.entry.js +2 -2
- package/dist/cjs/{verdocs-kba-dialog_2.cjs.entry.js → verdocs-kba-dialog_3.cjs.entry.js} +91 -5
- package/dist/cjs/verdocs-kba-dialog_3.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-menu-panel_2.cjs.entry.js +7 -7
- package/dist/cjs/verdocs-quick-functions.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-search-tabs.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-sign.cjs.entry.js +5 -0
- package/dist/cjs/verdocs-sign.cjs.entry.js.map +1 -1
- package/dist/cjs/verdocs-status-indicator.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-template-card.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-document-page_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-document-page_2.cjs.entry.js.map +1 -1
- package/dist/cjs/verdocs-template-star.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-tags.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-web-sdk.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/controls/verdocs-toolbar-icon/verdocs-toolbar-icon.css +4 -1
- package/dist/collection/components/dialogs/verdocs-otp-dialog/verdocs-otp-dialog.css +163 -0
- package/dist/collection/components/dialogs/verdocs-otp-dialog/verdocs-otp-dialog.js +187 -0
- package/dist/collection/components/dialogs/verdocs-otp-dialog/verdocs-otp-dialog.js.map +1 -0
- package/dist/collection/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.js +1 -1
- package/dist/collection/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.js +1 -1
- package/dist/collection/components/elements/verdocs-quick-functions/verdocs-quick-functions.js +1 -1
- package/dist/collection/components/elements/verdocs-search-tabs/verdocs-search-tabs.js +1 -1
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js +5 -0
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js.map +1 -1
- package/dist/collection/components/envelopes/verdocs-envelope-document-page/verdocs-envelope-document-page.js +1 -1
- package/dist/collection/components/envelopes/verdocs-envelopes-list/verdocs-envelopes-list.js +6 -6
- package/dist/collection/components/envelopes/verdocs-status-indicator/verdocs-status-indicator.js +2 -2
- package/dist/collection/components/templates/verdocs-template-card/verdocs-template-card.js +1 -1
- package/dist/collection/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.js +7 -7
- package/dist/collection/components/templates/verdocs-template-star/verdocs-template-star.js +1 -1
- package/dist/collection/components/templates/verdocs-template-tags/verdocs-template-tags.js +1 -1
- package/dist/components/index.js +2 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/{p-31e18593.js → p-1dccb8a9.js} +2 -2
- package/dist/components/{p-31e18593.js.map → p-1dccb8a9.js.map} +1 -1
- package/dist/components/{p-a7f85081.js → p-2508f120.js} +8 -8
- package/dist/components/{p-a7f85081.js.map → p-2508f120.js.map} +1 -1
- package/dist/components/{p-571fe280.js → p-25c19f32.js} +2 -2
- package/dist/components/{p-571fe280.js.map → p-25c19f32.js.map} +1 -1
- package/dist/components/{p-f9789855.js → p-592a0baf.js} +6 -6
- package/dist/components/{p-f9789855.js.map → p-592a0baf.js.map} +1 -1
- package/dist/components/{p-f3d501b9.js → p-6130383b.js} +2 -2
- package/dist/components/{p-f3d501b9.js.map → p-6130383b.js.map} +1 -1
- package/dist/components/{p-43fb3b33.js → p-85b0a2e1.js} +7 -7
- package/dist/components/{p-43fb3b33.js.map → p-85b0a2e1.js.map} +1 -1
- package/dist/components/p-b663b885.js +116 -0
- package/dist/components/p-b663b885.js.map +1 -0
- package/dist/components/{p-bae61eb2.js → p-b6e5b0c3.js} +2 -2
- package/dist/components/p-b6e5b0c3.js.map +1 -0
- package/dist/components/{p-ffa430d4.js → p-bcdf821c.js} +5 -5
- package/dist/components/{p-ffa430d4.js.map → p-bcdf821c.js.map} +1 -1
- package/dist/components/{p-8203a6af.js → p-c04daa8c.js} +2 -2
- package/dist/components/{p-8203a6af.js.map → p-c04daa8c.js.map} +1 -1
- package/dist/components/{p-83430ada.js → p-d16c9dd7.js} +2 -2
- package/dist/components/{p-83430ada.js.map → p-d16c9dd7.js.map} +1 -1
- package/dist/components/{p-d9fd90cc.js → p-de58dbf5.js} +2 -2
- package/dist/components/{p-d9fd90cc.js.map → p-de58dbf5.js.map} +1 -1
- package/dist/components/{p-e90316c8.js → p-e46946db.js} +2 -2
- package/dist/components/{p-e90316c8.js.map → p-e46946db.js.map} +1 -1
- package/dist/components/{p-c0e75957.js → p-ec382639.js} +3 -3
- package/dist/components/{p-c0e75957.js.map → p-ec382639.js.map} +1 -1
- package/dist/components/{p-03b81b12.js → p-f887116b.js} +2 -2
- package/dist/components/{p-03b81b12.js.map → p-f887116b.js.map} +1 -1
- package/dist/components/verdocs-build.js +10 -10
- package/dist/components/verdocs-envelope-document-page.js +1 -1
- package/dist/components/verdocs-envelopes-list.js +7 -7
- package/dist/components/verdocs-field-attachment.js +1 -1
- package/dist/components/verdocs-field-signature.js +1 -1
- package/dist/components/verdocs-otp-dialog.d.ts +11 -0
- package/dist/components/verdocs-otp-dialog.js +8 -0
- package/dist/components/verdocs-otp-dialog.js.map +1 -0
- package/dist/components/verdocs-preview.js +1 -1
- package/dist/components/verdocs-quick-functions.js +1 -1
- package/dist/components/verdocs-search-tabs.js +1 -1
- package/dist/components/verdocs-sign.js +26 -15
- package/dist/components/verdocs-sign.js.map +1 -1
- package/dist/components/verdocs-signature-dialog.js +1 -1
- package/dist/components/verdocs-status-indicator.js +1 -1
- package/dist/components/verdocs-template-card.js +1 -1
- package/dist/components/verdocs-template-document-page.js +1 -1
- package/dist/components/verdocs-template-fields.js +1 -1
- package/dist/components/verdocs-template-role-properties.js +1 -1
- package/dist/components/verdocs-template-roles.js +1 -1
- package/dist/components/verdocs-template-star.js +1 -1
- package/dist/components/verdocs-template-tags.js +1 -1
- package/dist/components/verdocs-templates-list.js +1 -1
- package/dist/components/verdocs-toolbar-icon.js +1 -1
- package/dist/components/verdocs-upload-dialog.js +1 -1
- package/dist/components/verdocs-view.js +1 -1
- package/dist/custom-elements.json +2252 -0
- package/dist/esm/index-24c3207f.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/verdocs-envelope-document-page.entry.js +1 -1
- package/dist/esm/verdocs-envelopes-list.entry.js +6 -6
- package/dist/esm/verdocs-field-attachment_13.entry.js +2 -2
- package/dist/esm/{verdocs-kba-dialog_2.entry.js → verdocs-kba-dialog_3.entry.js} +92 -7
- package/dist/esm/verdocs-kba-dialog_3.entry.js.map +1 -0
- package/dist/esm/verdocs-menu-panel_2.entry.js +7 -7
- package/dist/esm/verdocs-quick-functions.entry.js +1 -1
- package/dist/esm/verdocs-search-tabs.entry.js +1 -1
- package/dist/esm/verdocs-sign.entry.js +5 -0
- package/dist/esm/verdocs-sign.entry.js.map +1 -1
- package/dist/esm/verdocs-status-indicator.entry.js +2 -2
- package/dist/esm/verdocs-template-card.entry.js +1 -1
- package/dist/esm/verdocs-template-document-page_2.entry.js +1 -1
- package/dist/esm/verdocs-template-document-page_2.entry.js.map +1 -1
- package/dist/esm/verdocs-template-star.entry.js +1 -1
- package/dist/esm/verdocs-template-tags.entry.js +1 -1
- package/dist/esm/verdocs-web-sdk.js +1 -1
- package/dist/esm-es5/index-24c3207f.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/loader.js.map +1 -1
- package/dist/esm-es5/verdocs-envelope-document-page.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelopes-list.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-attachment_13.entry.js +1 -1
- package/dist/esm-es5/verdocs-kba-dialog_3.entry.js +2 -0
- package/dist/esm-es5/verdocs-kba-dialog_3.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-menu-panel_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-quick-functions.entry.js +1 -1
- package/dist/esm-es5/verdocs-search-tabs.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-template-card.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-document-page_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-document-page_2.entry.js.map +1 -1
- package/dist/esm-es5/verdocs-template-star.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-tags.entry.js +1 -1
- package/dist/esm-es5/verdocs-web-sdk.js +1 -1
- package/dist/esm-es5/verdocs-web-sdk.js.map +1 -1
- package/dist/types/components/dialogs/verdocs-otp-dialog/verdocs-otp-dialog.d.ts +36 -0
- package/dist/types/components.d.ts +67 -2
- package/dist/verdocs-web-sdk/{p-2386d60c.entry.js → p-05000ccc.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-10cbb44d.system.entry.js → p-0b26b5c8.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-7d394848.entry.js → p-0fee994b.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-2cc55fbf.entry.js → p-11c8ffea.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-4e022197.entry.js → p-153e03e0.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-72152009.entry.js → p-1872c8f4.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-1872c8f4.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-2d892f93.system.entry.js → p-2f68a524.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-b8ccd4e5.entry.js → p-31e15b7b.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-b8ccd4e5.entry.js.map → p-31e15b7b.entry.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-7b7be644.entry.js → p-437ce063.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-299bb90e.system.entry.js → p-49c785c1.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-6fe49e4a.system.entry.js → p-4c8b181b.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-9b13c31e.system.entry.js → p-5c1789d5.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-a058e16b.system.entry.js → p-689c27e5.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-f4a233b8.entry.js → p-6bdbbe58.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-538d5113.entry.js → p-73fe8630.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-227fdd3a.system.entry.js → p-7a4d7c71.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-227fdd3a.system.entry.js.map → p-7a4d7c71.system.entry.js.map} +1 -1
- package/dist/verdocs-web-sdk/p-8a6c7f95.system.js +1 -1
- package/dist/verdocs-web-sdk/p-8a6c7f95.system.js.map +1 -1
- package/dist/verdocs-web-sdk/{p-410a6003.system.entry.js → p-a0eef7ff.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-594d3edb.system.entry.js → p-a1d64ec5.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-2f9ba82a.entry.js → p-b0d1c5ec.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-e46ccb3d.entry.js → p-bb84d9fa.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-e06a796b.system.entry.js → p-c1dfe6e6.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-eb08e32c.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-eb08e32c.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-8669ce44.entry.js → p-ed0f54de.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-39d89ec1.system.entry.js → p-f14c3ce8.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-f14c3ce8.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-f2a3c06d.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-f2a3c06d.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-8982eb1c.system.entry.js → p-fe35adce.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js.map +1 -1
- package/package.json +1 -1
- package/dist/cjs/verdocs-kba-dialog_2.cjs.entry.js.map +0 -1
- package/dist/components/p-bae61eb2.js.map +0 -1
- package/dist/esm/verdocs-kba-dialog_2.entry.js.map +0 -1
- package/dist/esm-es5/verdocs-kba-dialog_2.entry.js +0 -2
- package/dist/esm-es5/verdocs-kba-dialog_2.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-39d89ec1.system.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-72152009.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-825259ba.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-825259ba.system.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-e7cf98ed.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-e7cf98ed.entry.js.map +0 -1
- /package/dist/verdocs-web-sdk/{p-2386d60c.entry.js.map → p-05000ccc.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-10cbb44d.system.entry.js.map → p-0b26b5c8.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-7d394848.entry.js.map → p-0fee994b.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-2cc55fbf.entry.js.map → p-11c8ffea.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-4e022197.entry.js.map → p-153e03e0.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-2d892f93.system.entry.js.map → p-2f68a524.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-7b7be644.entry.js.map → p-437ce063.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-299bb90e.system.entry.js.map → p-49c785c1.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-6fe49e4a.system.entry.js.map → p-4c8b181b.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-9b13c31e.system.entry.js.map → p-5c1789d5.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-a058e16b.system.entry.js.map → p-689c27e5.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-f4a233b8.entry.js.map → p-6bdbbe58.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-538d5113.entry.js.map → p-73fe8630.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-410a6003.system.entry.js.map → p-a0eef7ff.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-594d3edb.system.entry.js.map → p-a1d64ec5.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-2f9ba82a.entry.js.map → p-b0d1c5ec.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-e46ccb3d.entry.js.map → p-bb84d9fa.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-e06a796b.system.entry.js.map → p-c1dfe6e6.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-8669ce44.entry.js.map → p-ed0f54de.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-8982eb1c.system.entry.js.map → p-fe35adce.system.entry.js.map} +0 -0
@@ -1,2 +1,2 @@
|
|
1
|
-
var __extends=this&&this.__extends||function(){var t=function(i,n){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)if(Object.prototype.hasOwnProperty.call(i,n))t[n]=i[n]};return t(i,n)};return function(i,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(i,n);function r(){this.constructor=i}i.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var i,n=1,r=arguments.length;n<r;n++){i=arguments[n];for(var e in i)if(Object.prototype.hasOwnProperty.call(i,e))t[e]=i[e]}return t};return __assign.apply(this,arguments)};var __spreadArray=this&&this.__spreadArray||function(t,i,n){if(n||arguments.length===2)for(var r=0,e=i.length,s;r<e;r++){if(s||!(r in i)){if(!s)s=Array.prototype.slice.call(i,0,r);s[r]=i[r]}}return t.concat(s||Array.prototype.slice.call(i))};System.register(["./p-99ed75fb.system.js","@verdocs/js-sdk","./p-e0ac9edf.system.js"],(function(t){"use strict";var i,n,r,e,s;return{setters:[function(t){i=t.r;n=t.h;r=t.H},function(t){e=t.formatFullName},function(t){s=t.c}],execute:function(){var u={};var h=[];function o(t,i){if(Array.isArray(t)){for(var n=0,r=t;n<r.length;n++){var e=r[n];o(e,i)}return}if(typeof t==="object"){for(var e in t){o(e,t[e])}return}c(Object.getOwnPropertyNames(i));u[t]=Object.assign(u[t]||{},i)}function f(t){return u[t]||{}}function a(){return __spreadArray([],new Set(h),true)}function c(t){h.push.apply(h,t)}function v(t,i){var n;var r=t.length;var e=[];for(n=0;n<r;n++){e.push(i(t[n]))}return e}function l(t,i){var n;var r=t.length;var e=[];for(n=0;n<r;n++){if(i(t[n])){e.push(t[n])}}return e}function d(t){return t%360*Math.PI/180}function C(t){return t.replace(/([A-Z])/g,(function(t,i){return"-"+i.toLowerCase()}))}function w(t){return t.charAt(0).toUpperCase()+t.slice(1)}function p(t,i,n,r){if(i==null||n==null){r=r||t.bbox();if(i==null){i=r.width/r.height*n}else if(n==null){n=r.height/r.width*i}}return{width:i,height:n}}function g(t,i){var n;var r=t.origin;var e=t.ox!=null?t.ox:t.originX!=null?t.originX:"center";var s=t.oy!=null?t.oy:t.originY!=null?t.originY:"center";if(r!=null){n=Array.isArray(r)?r:typeof r==="object"?[r.x,r.y]:[r,r],e=n[0],s=n[1]}var u=typeof e==="string";var h=typeof s==="string";if(u||h){var o=i.bbox(),f=o.height,a=o.width,c=o.x,v=o.y;if(u){e=e.includes("left")?c:e.includes("right")?c+a:c+a/2}if(h){s=s.includes("top")?v:s.includes("bottom")?v+f:v+f/2}}return[e,s]}var y=new Set(["desc","metadata","title"]);var x=function(t){return y.has(t.nodeName)};var m=function(t,i,n){if(n===void 0){n={}}var r=__assign({},i);for(var e in r){if(r[e].valueOf()===n[e]){delete r[e]}}if(Object.keys(r).length){t.node.setAttribute("data-svgjs",JSON.stringify(r))}else{t.node.removeAttribute("data-svgjs");t.node.removeAttribute("svgjs:data")}};var _="http://www.w3.org/2000/svg";var b="http://www.w3.org/1999/xhtml";var M="http://www.w3.org/2000/xmlns/";var k="http://www.w3.org/1999/xlink";var j={window:typeof window==="undefined"?null:window,document:typeof document==="undefined"?null:document};function A(){return j.window}var L=function(){function t(){}return t}();var V={};var O="___SYMBOL___ROOT___";function B(t,i){if(i===void 0){i=_}return j.document.createElementNS(i,t)}function E(t,i){if(i===void 0){i=false}if(t instanceof L)return t;if(typeof t==="object"){return S(t)}if(t==null){return new V[O]}if(typeof t==="string"&&t.charAt(0)!=="<"){return S(j.document.querySelector(t))}var n=i?j.document.createElement("div"):B("svg");n.innerHTML=t;t=S(n.firstChild);n.removeChild(n.firstChild);return t}function H(t,i){return i&&(i instanceof j.window.Node||i.ownerDocument&&i instanceof i.ownerDocument.defaultView.Node)?i:B(t)}function Z(t){if(!t)return null;if(t.instance instanceof L)return t.instance;if(t.nodeName==="#document-fragment"){return new V.Fragment(t)}var i=w(t.nodeName||"Dom");if(i==="LinearGradient"||i==="RadialGradient"){i="Gradient"}else if(!V[i]){i="Dom"}return new V[i](t)}var S=Z;function T(t,i,n){if(i===void 0){i=t.name}if(n===void 0){n=false}V[i]=t;if(n)V[O]=t;c(Object.getOwnPropertyNames(t.prototype));return t}function F(t){return V[t]}var D=1e3;function I(t){return"Svgjs"+w(t)+D++}function z(t){for(var i=t.children.length-1;i>=0;i--){z(t.children[i])}if(t.id){t.id=I(t.nodeName);return t}return t}function N(t,i){var n,r;t=Array.isArray(t)?t:[t];for(r=t.length-1;r>=0;r--){for(n in i){t[r].prototype[n]=i[n]}}}function P(t){return function(){var i=[];for(var n=0;n<arguments.length;n++){i[n]=arguments[n]}var r=i[i.length-1];if(r&&r.constructor===Object&&!(r instanceof Array)){return t.apply(this,i.slice(0,-1)).attr(r)}else{return t.apply(this,i)}}}function G(){return this.parent().children()}function R(){return this.parent().index(this)}function Y(){return this.siblings()[this.position()+1]}function X(){return this.siblings()[this.position()-1]}function $(){var t=this.position();var i=this.parent();i.add(this.remove(),t+1);return this}function Q(){var t=this.position();var i=this.parent();i.add(this.remove(),t?t-1:0);return this}function J(){var t=this.parent();t.add(this.remove());return this}function U(){var t=this.parent();t.add(this.remove(),0);return this}function q(t){t=E(t);t.remove();var i=this.position();this.parent().add(t,i);return this}function W(t){t=E(t);t.remove();var i=this.position();this.parent().add(t,i+1);return this}function K(t){t=E(t);t.before(this);return this}function tt(t){t=E(t);t.after(this);return this}o("Dom",{siblings:G,position:R,next:Y,prev:X,forward:$,backward:Q,front:J,back:U,before:q,after:W,insertBefore:K,insertAfter:tt});var it=/^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i;var nt=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;var rt=/rgb\((\d+),(\d+),(\d+)\)/;var et=/(#[a-z_][a-z0-9\-_]*)/i;var st=/\)\s*,?\s*/;var ut=/\s/g;var ht=/^#[a-f0-9]{3}$|^#[a-f0-9]{6}$/i;var ot=/^rgb\(/;var ft=/^(\s+)?$/;var at=/^[+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;var ct=/\.(jpg|jpeg|png|gif|svg)(\?[^=]+.*)?/i;var vt=/[\s,]+/;var lt=/[MLHVCSQTAZ]/i;function dt(){var t=this.attr("class");return t==null?[]:t.trim().split(vt)}function Ct(t){return this.classes().indexOf(t)!==-1}function wt(t){if(!this.hasClass(t)){var i=this.classes();i.push(t);this.attr("class",i.join(" "))}return this}function pt(t){if(this.hasClass(t)){this.attr("class",this.classes().filter((function(i){return i!==t})).join(" "))}return this}function gt(t){return this.hasClass(t)?this.removeClass(t):this.addClass(t)}o("Dom",{classes:dt,hasClass:Ct,addClass:wt,removeClass:pt,toggleClass:gt});function yt(t,i){var n={};if(arguments.length===0){this.node.style.cssText.split(/\s*;\s*/).filter((function(t){return!!t.length})).forEach((function(t){var i=t.split(/\s*:\s*/);n[i[0]]=i[1]}));return n}if(arguments.length<2){if(Array.isArray(t)){for(var r=0,e=t;r<e.length;r++){var s=e[r];var u=s;n[s]=this.node.style.getPropertyValue(u)}return n}if(typeof t==="string"){return this.node.style.getPropertyValue(t)}if(typeof t==="object"){for(var s in t){this.node.style.setProperty(s,t[s]==null||ft.test(t[s])?"":t[s])}}}if(arguments.length===2){this.node.style.setProperty(t,i==null||ft.test(i)?"":i)}return this}function xt(){return this.css("display","")}function mt(){return this.css("display","none")}function _t(){return this.css("display")!=="none"}o("Dom",{css:yt,show:xt,hide:mt,visible:_t});function bt(t,i,n){if(t==null){return this.data(v(l(this.node.attributes,(function(t){return t.nodeName.indexOf("data-")===0})),(function(t){return t.nodeName.slice(5)})))}else if(t instanceof Array){var r={};for(var e=0,s=t;e<s.length;e++){var u=s[e];r[u]=this.data(u)}return r}else if(typeof t==="object"){for(i in t){this.data(i,t[i])}}else if(arguments.length<2){try{return JSON.parse(this.attr("data-"+t))}catch(i){return this.attr("data-"+t)}}else{this.attr("data-"+t,i===null?null:n===true||typeof i==="string"||typeof i==="number"?i:JSON.stringify(i))}return this}o("Dom",{data:bt});function Mt(t,i){if(typeof arguments[0]==="object"){for(var n in t){this.remember(n,t[n])}}else if(arguments.length===1){return this.memory()[t]}else{this.memory()[t]=i}return this}function kt(){if(arguments.length===0){this._memory={}}else{for(var t=arguments.length-1;t>=0;t--){delete this.memory()[arguments[t]]}}return this}function jt(){return this._memory=this._memory||{}}o("Dom",{remember:Mt,forget:kt,memory:jt});function At(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 Lt(t){var i=Math.round(t);var n=Math.max(0,Math.min(255,i));var r=n.toString(16);return r.length===1?"0"+r:r}function Vt(t,i){for(var n=i.length;n--;){if(t[i[n]]==null){return false}}return true}function Ot(t,i){var n=Vt(t,"rgb")?{_a:t.r,_b:t.g,_c:t.b,_d:0,space:"rgb"}:Vt(t,"xyz")?{_a:t.x,_b:t.y,_c:t.z,_d:0,space:"xyz"}:Vt(t,"hsl")?{_a:t.h,_b:t.s,_c:t.l,_d:0,space:"hsl"}:Vt(t,"lab")?{_a:t.l,_b:t.a,_c:t.b,_d:0,space:"lab"}:Vt(t,"lch")?{_a:t.l,_b:t.c,_c:t.h,_d:0,space:"lch"}:Vt(t,"cmyk")?{_a:t.c,_b:t.m,_c:t.y,_d:t.k,space:"cmyk"}:{_a:0,_b:0,_c:0,space:"rgb"};n.space=i||n.space;return n}function Bt(t){if(t==="lab"||t==="xyz"||t==="lch"){return true}else{return false}}function Et(t,i,n){if(n<0)n+=1;if(n>1)n-=1;if(n<1/6)return t+(i-t)*6*n;if(n<1/2)return i;if(n<2/3)return t+(i-t)*(2/3-n)*6;return t}var Ht=function(){function t(){var t=[];for(var i=0;i<arguments.length;i++){t[i]=arguments[i]}this.init.apply(this,t)}t.isColor=function(i){return i&&(i instanceof t||this.isRgb(i)||this.test(i))};t.isRgb=function(t){return t&&typeof t.r==="number"&&typeof t.g==="number"&&typeof t.b==="number"};t.random=function(i,n){if(i===void 0){i="vibrant"}var r=Math.random,e=Math.round,s=Math.sin,u=Math.PI;if(i==="vibrant"){var h=(81-57)*r()+57;var o=(83-45)*r()+45;var f=360*r();var a=new t(h,o,f,"lch");return a}else if(i==="sine"){n=n==null?r():n;var c=e(80*s(2*u*n/.5+.01)+150);var v=e(50*s(2*u*n/.5+4.6)+200);var l=e(100*s(2*u*n/.5+2.3)+150);var a=new t(c,v,l);return a}else if(i==="pastel"){var h=(94-86)*r()+86;var o=(26-9)*r()+9;var d=360*r();var a=new t(h,o,d,"lch");return a}else if(i==="dark"){var h=10+10*r();var o=(125-75)*r()+86;var C=360*r();var a=new t(h,o,C,"lch");return a}else if(i==="rgb"){var c=255*r();var v=255*r();var l=255*r();var a=new t(c,v,l);return a}else if(i==="lab"){var h=100*r();var w=256*r()-128;var l=256*r()-128;var a=new t(h,w,l,"lab");return a}else if(i==="grey"){var p=255*r();var a=new t(p,p,p);return a}else{throw new Error("Unsupported random color mode")}};t.test=function(t){return typeof t==="string"&&(ht.test(t)||ot.test(t))};t.prototype.cmyk=function(){var i=this.rgb(),n=i._a,r=i._b,e=i._c;var s=[n,r,e].map((function(t){return t/255})),u=s[0],h=s[1],o=s[2];var f=Math.min(1-u,1-h,1-o);if(f===1){return new t(0,0,0,1,"cmyk")}var a=(1-u-f)/(1-f);var c=(1-h-f)/(1-f);var v=(1-o-f)/(1-f);var l=new t(a,c,v,f,"cmyk");return l};t.prototype.hsl=function(){var i=this.rgb(),n=i._a,r=i._b,e=i._c;var s=[n,r,e].map((function(t){return t/255})),u=s[0],h=s[1],o=s[2];var f=Math.max(u,h,o);var a=Math.min(u,h,o);var c=(f+a)/2;var v=f===a;var l=f-a;var d=v?0:c>.5?l/(2-f-a):l/(f+a);var C=v?0:f===u?((h-o)/l+(h<o?6:0))/6:f===h?((o-u)/l+2)/6:f===o?((u-h)/l+4)/6:0;var w=new t(360*C,100*d,100*c,"hsl");return w};t.prototype.init=function(t,i,n,r,e){if(t===void 0){t=0}if(i===void 0){i=0}if(n===void 0){n=0}if(r===void 0){r=0}if(e===void 0){e="rgb"}t=!t?0:t;if(this.space){for(var s in this.space){delete this[this.space[s]]}}if(typeof t==="number"){e=typeof r==="string"?r:e;r=typeof r==="string"?0:r;Object.assign(this,{_a:t,_b:i,_c:n,_d:r,space:e})}else if(t instanceof Array){this.space=i||(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){var u=Ot(t,i);Object.assign(this,u)}else if(typeof t==="string"){if(ot.test(t)){var h=t.replace(ut,"");var o=rt.exec(h).slice(1,4).map((function(t){return parseInt(t)})),f=o[0],a=o[1],c=o[2];Object.assign(this,{_a:f,_b:a,_c:c,_d:0,space:"rgb"})}else if(ht.test(t)){var v=function(t){return parseInt(t,16)};var l=nt.exec(At(t)).map(v),d=l[1],C=l[2],w=l[3];Object.assign(this,{_a:d,_b:C,_c:w,_d:0,space:"rgb"})}else throw Error("Unsupported string format, can't construct Color")}var p=this,g=p._a,y=p._b,x=p._c,m=p._d;var _=this.space==="rgb"?{r:g,g:y,b:x}:this.space==="xyz"?{x:g,y:y,z:x}:this.space==="hsl"?{h:g,s:y,l:x}:this.space==="lab"?{l:g,a:y,b:x}:this.space==="lch"?{l:g,c:y,h:x}:this.space==="cmyk"?{c:g,m:y,y:x,k:m}:{};Object.assign(this,_)};t.prototype.lab=function(){var i=this.xyz(),n=i.x,r=i.y,e=i.z;var s=116*r-16;var u=500*(n-r);var h=200*(r-e);var o=new t(s,u,h,"lab");return o};t.prototype.lch=function(){var i=this.lab(),n=i.l,r=i.a,e=i.b;var s=Math.sqrt(Math.pow(r,2)+Math.pow(e,2));var u=180*Math.atan2(e,r)/Math.PI;if(u<0){u*=-1;u=360-u}var h=new t(n,s,u,"lch");return h};t.prototype.rgb=function(){if(this.space==="rgb"){return this}else if(Bt(this.space)){var i=this,n=i.x,r=i.y,e=i.z;if(this.space==="lab"||this.space==="lch"){var s=this,u=s.l,h=s.a,o=s.b;if(this.space==="lch"){var f=this,a=f.c,c=f.h;var v=Math.PI/180;h=a*Math.cos(v*c);o=a*Math.sin(v*c)}var l=(u+16)/116;var d=h/500+l;var C=l-o/200;var w=16/116;var p=.008856;var g=7.787;n=.95047*(Math.pow(d,3)>p?Math.pow(d,3):(d-w)/g);r=1*(Math.pow(l,3)>p?Math.pow(l,3):(l-w)/g);e=1.08883*(Math.pow(C,3)>p?Math.pow(C,3):(C-w)/g)}var y=n*3.2406+r*-1.5372+e*-.4986;var x=n*-.9689+r*1.8758+e*.0415;var m=n*.0557+r*-.204+e*1.057;var _=Math.pow;var b=.0031308;var M=y>b?1.055*_(y,1/2.4)-.055:12.92*y;var k=x>b?1.055*_(x,1/2.4)-.055:12.92*x;var j=m>b?1.055*_(m,1/2.4)-.055:12.92*m;var A=new t(255*M,255*k,255*j);return A}else if(this.space==="hsl"){var L=this,V=L.h,O=L.s,u=L.l;V/=360;O/=100;u/=100;if(O===0){u*=255;var B=new t(u,u,u);return B}var E=u<.5?u*(1+O):u+O-u*O;var H=2*u-E;var M=255*Et(H,E,V+1/3);var k=255*Et(H,E,V);var j=255*Et(H,E,V-1/3);var A=new t(M,k,j);return A}else if(this.space==="cmyk"){var Z=this,a=Z.c,S=Z.m,T=Z.y,F=Z.k;var M=255*(1-Math.min(1,a*(1-F)+F));var k=255*(1-Math.min(1,S*(1-F)+F));var j=255*(1-Math.min(1,T*(1-F)+F));var A=new t(M,k,j);return A}else{return this}};t.prototype.toArray=function(){var t=this,i=t._a,n=t._b,r=t._c,e=t._d,s=t.space;return[i,n,r,e,s]};t.prototype.toHex=function(){var t=this._clamped().map(Lt),i=t[0],n=t[1],r=t[2];return"#".concat(i).concat(n).concat(r)};t.prototype.toRgb=function(){var t=this._clamped(),i=t[0],n=t[1],r=t[2];var e="rgb(".concat(i,",").concat(n,",").concat(r,")");return e};t.prototype.toString=function(){return this.toHex()};t.prototype.xyz=function(){var i=this.rgb(),n=i._a,r=i._b,e=i._c;var s=[n,r,e].map((function(t){return t/255})),u=s[0],h=s[1],o=s[2];var f=u>.04045?Math.pow((u+.055)/1.055,2.4):u/12.92;var a=h>.04045?Math.pow((h+.055)/1.055,2.4):h/12.92;var c=o>.04045?Math.pow((o+.055)/1.055,2.4):o/12.92;var v=(f*.4124+a*.3576+c*.1805)/.95047;var l=(f*.2126+a*.7152+c*.0722)/1;var d=(f*.0193+a*.1192+c*.9505)/1.08883;var C=v>.008856?Math.pow(v,1/3):7.787*v+16/116;var w=l>.008856?Math.pow(l,1/3):7.787*l+16/116;var p=d>.008856?Math.pow(d,1/3):7.787*d+16/116;var g=new t(C,w,p,"xyz");return g};t.prototype._clamped=function(){var t=this.rgb(),i=t._a,n=t._b,r=t._c;var e=Math.max,s=Math.min,u=Math.round;var h=function(t){return e(0,s(u(t),255))};return[i,n,r].map(h)};return t}();var Zt=function(){function t(){var t=[];for(var i=0;i<arguments.length;i++){t[i]=arguments[i]}this.init.apply(this,t)}t.prototype.clone=function(){return new t(this)};t.prototype.init=function(t,i){var n={x:0,y:0};var r=Array.isArray(t)?{x:t[0],y:t[1]}:typeof t==="object"?{x:t.x,y:t.y}:{x:t,y:i};this.x=r.x==null?n.x:r.x;this.y=r.y==null?n.y:r.y;return this};t.prototype.toArray=function(){return[this.x,this.y]};t.prototype.transform=function(t){return this.clone().transformO(t)};t.prototype.transformO=function(t){if(!Ft.isMatrixLike(t)){t=new Ft(t)}var i=this,n=i.x,r=i.y;this.x=t.a*n+t.c*r+t.e;this.y=t.b*n+t.d*r+t.f;return this};return t}();function St(t,i){return new Zt(t,i).transformO(this.screenCTM().inverseO())}function Tt(t,i,n){return Math.abs(i-t)<1e-6}var Ft=function(){function t(){var t=[];for(var i=0;i<arguments.length;i++){t[i]=arguments[i]}this.init.apply(this,t)}t.formatTransforms=function(t){var i=t.flip==="both"||t.flip===true;var n=t.flip&&(i||t.flip==="x")?-1:1;var r=t.flip&&(i||t.flip==="y")?-1:1;var e=t.skew&&t.skew.length?t.skew[0]:isFinite(t.skew)?t.skew:isFinite(t.skewX)?t.skewX:0;var s=t.skew&&t.skew.length?t.skew[1]:isFinite(t.skew)?t.skew:isFinite(t.skewY)?t.skewY:0;var u=t.scale&&t.scale.length?t.scale[0]*n:isFinite(t.scale)?t.scale*n:isFinite(t.scaleX)?t.scaleX*n:n;var h=t.scale&&t.scale.length?t.scale[1]*r:isFinite(t.scale)?t.scale*r:isFinite(t.scaleY)?t.scaleY*r:r;var o=t.shear||0;var f=t.rotate||t.theta||0;var a=new Zt(t.origin||t.around||t.ox||t.originX,t.oy||t.originY);var c=a.x;var v=a.y;var l=new Zt(t.position||t.px||t.positionX||NaN,t.py||t.positionY||NaN);var d=l.x;var C=l.y;var w=new Zt(t.translate||t.tx||t.translateX,t.ty||t.translateY);var p=w.x;var g=w.y;var y=new Zt(t.relative||t.rx||t.relativeX,t.ry||t.relativeY);var x=y.x;var m=y.y;return{scaleX:u,scaleY:h,skewX:e,skewY:s,shear:o,theta:f,rx:x,ry:m,tx:p,ty:g,ox:c,oy:v,px:d,py:C}};t.fromArray=function(t){return{a:t[0],b:t[1],c:t[2],d:t[3],e:t[4],f:t[5]}};t.isMatrixLike=function(t){return t.a!=null||t.b!=null||t.c!=null||t.d!=null||t.e!=null||t.f!=null};t.matrixMultiply=function(t,i,n){var r=t.a*i.a+t.c*i.b;var e=t.b*i.a+t.d*i.b;var s=t.a*i.c+t.c*i.d;var u=t.b*i.c+t.d*i.d;var h=t.e+t.a*i.e+t.c*i.f;var o=t.f+t.b*i.e+t.d*i.f;n.a=r;n.b=e;n.c=s;n.d=u;n.e=h;n.f=o;return n};t.prototype.around=function(t,i,n){return this.clone().aroundO(t,i,n)};t.prototype.aroundO=function(t,i,n){var r=t||0;var e=i||0;return this.translateO(-r,-e).lmultiplyO(n).translateO(r,e)};t.prototype.clone=function(){return new t(this)};t.prototype.decompose=function(t,i){if(t===void 0){t=0}if(i===void 0){i=0}var n=this.a;var r=this.b;var e=this.c;var s=this.d;var u=this.e;var h=this.f;var o=n*s-r*e;var f=o>0?1:-1;var a=f*Math.sqrt(n*n+r*r);var c=Math.atan2(f*r,f*n);var v=180/Math.PI*c;var l=Math.cos(c);var d=Math.sin(c);var C=(n*e+r*s)/o;var w=e*a/(C*n-r)||s*a/(C*r+n);var p=u-t+t*l*a+i*(C*l*a-d*w);var g=h-i+t*d*a+i*(C*d*a+l*w);return{scaleX:a,scaleY:w,shear:C,rotate:v,translateX:p,translateY:g,originX:t,originY:i,a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}};t.prototype.equals=function(i){if(i===this)return true;var n=new t(i);return Tt(this.a,n.a)&&Tt(this.b,n.b)&&Tt(this.c,n.c)&&Tt(this.d,n.d)&&Tt(this.e,n.e)&&Tt(this.f,n.f)};t.prototype.flip=function(t,i){return this.clone().flipO(t,i)};t.prototype.flipO=function(t,i){return t==="x"?this.scaleO(-1,1,i,0):t==="y"?this.scaleO(1,-1,0,i):this.scaleO(-1,-1,t,i||t)};t.prototype.init=function(i){var n=t.fromArray([1,0,0,1,0,0]);i=i instanceof gi?i.matrixify():typeof i==="string"?t.fromArray(i.split(vt).map(parseFloat)):Array.isArray(i)?t.fromArray(i):typeof i==="object"&&t.isMatrixLike(i)?i:typeof i==="object"?(new t).transform(i):arguments.length===6?t.fromArray([].slice.call(arguments)):n;this.a=i.a!=null?i.a:n.a;this.b=i.b!=null?i.b:n.b;this.c=i.c!=null?i.c:n.c;this.d=i.d!=null?i.d:n.d;this.e=i.e!=null?i.e:n.e;this.f=i.f!=null?i.f:n.f;return this};t.prototype.inverse=function(){return this.clone().inverseO()};t.prototype.inverseO=function(){var t=this.a;var i=this.b;var n=this.c;var r=this.d;var e=this.e;var s=this.f;var u=t*r-i*n;if(!u)throw new Error("Cannot invert "+this);var h=r/u;var o=-i/u;var f=-n/u;var a=t/u;var c=-(h*e+f*s);var v=-(o*e+a*s);this.a=h;this.b=o;this.c=f;this.d=a;this.e=c;this.f=v;return this};t.prototype.lmultiply=function(t){return this.clone().lmultiplyO(t)};t.prototype.lmultiplyO=function(i){var n=this;var r=i instanceof t?i:new t(i);return t.matrixMultiply(r,n,this)};t.prototype.multiply=function(t){return this.clone().multiplyO(t)};t.prototype.multiplyO=function(i){var n=this;var r=i instanceof t?i:new t(i);return t.matrixMultiply(n,r,this)};t.prototype.rotate=function(t,i,n){return this.clone().rotateO(t,i,n)};t.prototype.rotateO=function(t,i,n){if(i===void 0){i=0}if(n===void 0){n=0}t=d(t);var r=Math.cos(t);var e=Math.sin(t);var s=this,u=s.a,h=s.b,o=s.c,f=s.d,a=s.e,c=s.f;this.a=u*r-h*e;this.b=h*r+u*e;this.c=o*r-f*e;this.d=f*r+o*e;this.e=a*r-c*e+n*e-i*r+i;this.f=c*r+a*e-i*e-n*r+n;return this};t.prototype.scale=function(){var t;return(t=this.clone()).scaleO.apply(t,arguments)};t.prototype.scaleO=function(t,i,n,r){if(i===void 0){i=t}if(n===void 0){n=0}if(r===void 0){r=0}if(arguments.length===3){r=n;n=i;i=t}var e=this,s=e.a,u=e.b,h=e.c,o=e.d,f=e.e,a=e.f;this.a=s*t;this.b=u*i;this.c=h*t;this.d=o*i;this.e=f*t-n*t+n;this.f=a*i-r*i+r;return this};t.prototype.shear=function(t,i,n){return this.clone().shearO(t,i,n)};t.prototype.shearO=function(t,i,n){if(i===void 0){i=0}if(n===void 0){n=0}var r=this,e=r.a,s=r.b,u=r.c,h=r.d,o=r.e,f=r.f;this.a=e+s*t;this.c=u+h*t;this.e=o+f*t-n*t;return this};t.prototype.skew=function(){var t;return(t=this.clone()).skewO.apply(t,arguments)};t.prototype.skewO=function(t,i,n,r){if(i===void 0){i=t}if(n===void 0){n=0}if(r===void 0){r=0}if(arguments.length===3){r=n;n=i;i=t}t=d(t);i=d(i);var e=Math.tan(t);var s=Math.tan(i);var u=this,h=u.a,o=u.b,f=u.c,a=u.d,c=u.e,v=u.f;this.a=h+o*e;this.b=o+h*s;this.c=f+a*e;this.d=a+f*s;this.e=c+v*e-r*e;this.f=v+c*s-n*s;return this};t.prototype.skewX=function(t,i,n){return this.skew(t,0,i,n)};t.prototype.skewY=function(t,i,n){return this.skew(0,t,i,n)};t.prototype.toArray=function(){return[this.a,this.b,this.c,this.d,this.e,this.f]};t.prototype.toString=function(){return"matrix("+this.a+","+this.b+","+this.c+","+this.d+","+this.e+","+this.f+")"};t.prototype.transform=function(i){if(t.isMatrixLike(i)){var n=new t(i);return n.multiplyO(this)}var r=t.formatTransforms(i);var e=this;var s=new Zt(r.ox,r.oy).transform(e),u=s.x,h=s.y;var o=(new t).translateO(r.rx,r.ry).lmultiplyO(e).translateO(-u,-h).scaleO(r.scaleX,r.scaleY).skewO(r.skewX,r.skewY).shearO(r.shear).rotateO(r.theta).translateO(u,h);if(isFinite(r.px)||isFinite(r.py)){var f=new Zt(u,h).transform(o);var a=isFinite(r.px)?r.px-f.x:0;var c=isFinite(r.py)?r.py-f.y:0;o.translateO(a,c)}o.translateO(r.tx,r.ty);return o};t.prototype.translate=function(t,i){return this.clone().translateO(t,i)};t.prototype.translateO=function(t,i){this.e+=t||0;this.f+=i||0;return this};t.prototype.valueOf=function(){return{a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}};return t}();function Dt(){return new Ft(this.node.getCTM())}function It(){try{if(typeof this.isRoot==="function"&&!this.isRoot()){var t=this.rect(1,1);var i=t.node.getScreenCTM();t.remove();return new Ft(i)}return new Ft(this.node.getScreenCTM())}catch(t){console.warn("Cannot get CTM from SVG node ".concat(this.node.nodeName,". Is the element rendered?"));return new Ft}}T(Ft,"Matrix");function zt(){if(!zt.nodes){var t=E().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");var i=t.path().node;zt.nodes={svg:t,path:i}}if(!zt.nodes.svg.node.parentNode){var n=j.document.body||j.document.documentElement;zt.nodes.svg.addTo(n)}return zt.nodes}function Nt(t){return!t.width&&!t.height&&!t.x&&!t.y}function Pt(t){return t===j.document||(j.document.documentElement.contains||function(t){while(t.parentNode){t=t.parentNode}return t===j.document}).call(j.document.documentElement,t)}var Gt=function(){function t(){var t=[];for(var i=0;i<arguments.length;i++){t[i]=arguments[i]}this.init.apply(this,t)}t.prototype.addOffset=function(){this.x+=j.window.pageXOffset;this.y+=j.window.pageYOffset;return new t(this)};t.prototype.init=function(t){var i=[0,0,0,0];t=typeof t==="string"?t.split(vt).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):i;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};t.prototype.isNulled=function(){return Nt(this)};t.prototype.merge=function(i){var n=Math.min(this.x,i.x);var r=Math.min(this.y,i.y);var e=Math.max(this.x+this.width,i.x+i.width)-n;var s=Math.max(this.y+this.height,i.y+i.height)-r;return new t(n,r,e,s)};t.prototype.toArray=function(){return[this.x,this.y,this.width,this.height]};t.prototype.toString=function(){return this.x+" "+this.y+" "+this.width+" "+this.height};t.prototype.transform=function(i){if(!(i instanceof Ft)){i=new Ft(i)}var n=Infinity;var r=-Infinity;var e=Infinity;var s=-Infinity;var u=[new Zt(this.x,this.y),new Zt(this.x2,this.y),new Zt(this.x,this.y2),new Zt(this.x2,this.y2)];u.forEach((function(t){t=t.transform(i);n=Math.min(n,t.x);r=Math.max(r,t.x);e=Math.min(e,t.y);s=Math.max(s,t.y)}));return new t(n,e,r-n,s-e)};return t}();function Rt(t,i,n){var r;try{r=i(t.node);if(Nt(r)&&!Pt(t.node)){throw new Error("Element not in the dom")}}catch(i){r=n(t)}return r}function Yt(){var t=function(t){return t.getBBox()};var i=function(t){try{var i=t.clone().addTo(zt().svg).show();var n=i.node.getBBox();i.remove();return n}catch(i){throw new Error('Getting bbox of element "'.concat(t.node.nodeName,'" is not possible: ').concat(i.toString()))}};var n=Rt(this,t,i);var r=new Gt(n);return r}function Xt(t){var i=function(t){return t.getBoundingClientRect()};var n=function(t){throw new Error('Getting rbox of element "'.concat(t.node.nodeName,'" is not possible'))};var r=Rt(this,i,n);var e=new Gt(r);if(t){return e.transform(t.screenCTM().inverseO())}return e.addOffset()}function $t(t,i){var n=this.bbox();return t>n.x&&i>n.y&&t<n.x+n.width&&i<n.y+n.height}o({viewbox:{viewbox:function(t,i,n,r){if(t==null)return new Gt(this.attr("viewBox"));return this.attr("viewBox",new Gt(t,i,n,r))},zoom:function(t,i){var n=this.attr(["width","height"]),r=n.width,e=n.height;if(!r&&!e||typeof r==="string"||typeof e==="string"){r=this.node.clientWidth;e=this.node.clientHeight}if(!r||!e){throw new Error("Impossible to get absolute width and height. Please provide an absolute width and height attribute on the zooming element")}var s=this.viewbox();var u=r/s.width;var h=e/s.height;var o=Math.min(u,h);if(t==null){return o}var f=o/t;if(f===Infinity)f=Number.MAX_SAFE_INTEGER/100;i=i||new Zt(r/2/u+s.x,e/2/h+s.y);var a=new Gt(s).transform(new Ft({scale:f,origin:i}));return this.viewbox(a)}}});T(Gt,"Box");var Qt=function(t){__extends(i,t);function i(i){if(i===void 0){i=[]}var n=[];for(var r=1;r<arguments.length;r++){n[r-1]=arguments[r]}var e=t.apply(this,__spreadArray([i],n,false))||this;if(typeof i==="number")return e;e.length=0;e.push.apply(e,i);return e}return i}(Array);N([Qt],{each:function(t){var i=[];for(var n=1;n<arguments.length;n++){i[n-1]=arguments[n]}if(typeof t==="function"){return this.map((function(i,n,r){return t.call(i,i,n,r)}))}else{return this.map((function(n){return n[t].apply(n,i)}))}},toArray:function(){return Array.prototype.concat.apply([],this)}});var Jt=["toArray","constructor","each"];Qt.extend=function(t){t=t.reduce((function(t,i){if(Jt.includes(i))return t;if(i[0]==="_")return t;if(i in Array.prototype){t["$"+i]=Array.prototype[i]}t[i]=function(){var t=[];for(var n=0;n<arguments.length;n++){t[n]=arguments[n]}return this.each.apply(this,__spreadArray([i],t,false))};return t}),{});N([Qt],t)};function Ut(t,i){return new Qt(v((i||j.document).querySelectorAll(t),(function(t){return Z(t)})))}function qt(t){return Ut(t,this.node)}function Wt(t){return Z(this.node.querySelector(t))}var Kt=0;var ti={};function ii(t){var i=t.getEventHolder();if(i===j.window)i=ti;if(!i.events)i.events={};return i.events}function ni(t){return t.getEventTarget()}function ri(t){var i=t.getEventHolder();if(i===j.window)i=ti;if(i.events)i.events={}}function ei(t,i,n,r,e){var s=n.bind(r||t);var u=E(t);var h=ii(u);var o=ni(u);i=Array.isArray(i)?i:i.split(vt);if(!n._svgjsListenerId){n._svgjsListenerId=++Kt}i.forEach((function(t){var i=t.split(".")[0];var r=t.split(".")[1]||"*";h[i]=h[i]||{};h[i][r]=h[i][r]||{};h[i][r][n._svgjsListenerId]=s;o.addEventListener(i,s,e||false)}))}function si(t,i,n,r){var e=E(t);var s=ii(e);var u=ni(e);if(typeof n==="function"){n=n._svgjsListenerId;if(!n)return}i=Array.isArray(i)?i:(i||"").split(vt);i.forEach((function(t){var i=t&&t.split(".")[0];var h=t&&t.split(".")[1];var o,f;if(n){if(s[i]&&s[i][h||"*"]){u.removeEventListener(i,s[i][h||"*"][n],r||false);delete s[i][h||"*"][n]}}else if(i&&h){if(s[i]&&s[i][h]){for(f in s[i][h]){si(u,[i,h].join("."),f)}delete s[i][h]}}else if(h){for(t in s){for(o in s[t]){if(h===o){si(u,[t,h].join("."))}}}}else if(i){if(s[i]){for(o in s[i]){si(u,[i,o].join("."))}delete s[i]}}else{for(t in s){si(u,t)}ri(e)}}))}function ui(t,i,n,r){var e=ni(t);if(i instanceof j.window.Event){e.dispatchEvent(i)}else{i=new j.window.CustomEvent(i,__assign({detail:n,cancelable:true},r));e.dispatchEvent(i)}return i}var hi=function(t){__extends(i,t);function i(){return t!==null&&t.apply(this,arguments)||this}i.prototype.addEventListener=function(){};i.prototype.dispatch=function(t,i,n){return ui(this,t,i,n)};i.prototype.dispatchEvent=function(t){var i=this.getEventHolder().events;if(!i)return true;var n=i[t.type];for(var r in n){for(var e in n[r]){n[r][e](t)}}return!t.defaultPrevented};i.prototype.fire=function(t,i,n){this.dispatch(t,i,n);return this};i.prototype.getEventHolder=function(){return this};i.prototype.getEventTarget=function(){return this};i.prototype.off=function(t,i,n){si(this,t,i,n);return this};i.prototype.on=function(t,i,n,r){ei(this,t,i,n,r);return this};i.prototype.removeEventListener=function(){};return i}(L);T(hi,"EventTarget");function oi(){}var fi={duration:400,ease:">",delay:0};var ai={"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 ci=function(t){__extends(i,t);function i(){var i=[];for(var n=0;n<arguments.length;n++){i[n]=arguments[n]}var r=t.apply(this,i)||this;r.init.apply(r,i);return r}i.prototype.clone=function(){return new this.constructor(this)};i.prototype.init=function(t){if(typeof t==="number")return this;this.length=0;this.push.apply(this,this.parse(t));return this};i.prototype.parse=function(t){if(t===void 0){t=[]}if(t instanceof Array)return t;return t.trim().split(vt).map(parseFloat)};i.prototype.toArray=function(){return Array.prototype.concat.apply([],this)};i.prototype.toSet=function(){return new Set(this)};i.prototype.toString=function(){return this.join(" ")};i.prototype.valueOf=function(){var t=[];t.push.apply(t,this);return t};return i}(Array);var vi=function(){function t(){var t=[];for(var i=0;i<arguments.length;i++){t[i]=arguments[i]}this.init.apply(this,t)}t.prototype.convert=function(i){return new t(this.value,i)};t.prototype.divide=function(i){i=new t(i);return new t(this/i,this.unit||i.unit)};t.prototype.init=function(i,n){n=Array.isArray(i)?i[1]:n;i=Array.isArray(i)?i[0]:i;this.value=0;this.unit=n||"";if(typeof i==="number"){this.value=isNaN(i)?0:!isFinite(i)?i<0?-34e37:+34e37:i}else if(typeof i==="string"){n=i.match(it);if(n){this.value=parseFloat(n[1]);if(n[5]==="%"){this.value/=100}else if(n[5]==="s"){this.value*=1e3}this.unit=n[5]}}else{if(i instanceof t){this.value=i.valueOf();this.unit=i.unit}}return this};t.prototype.minus=function(i){i=new t(i);return new t(this-i,this.unit||i.unit)};t.prototype.plus=function(i){i=new t(i);return new t(this+i,this.unit||i.unit)};t.prototype.times=function(i){i=new t(i);return new t(this*i,this.unit||i.unit)};t.prototype.toArray=function(){return[this.value,this.unit]};t.prototype.toJSON=function(){return this.toString()};t.prototype.toString=function(){return(this.unit==="%"?~~(this.value*1e8)/1e6:this.unit==="s"?this.value/1e3:this.value)+this.unit};t.prototype.valueOf=function(){return this.value};return t}();var li=new Set(["fill","stroke","color","bgcolor","stop-color","flood-color","lighting-color"]);var di=[];function Ci(t){di.push(t)}function wi(t,i,n){var r=this;if(t==null){t={};i=this.node.attributes;for(var e=0,s=i;e<s.length;e++){var u=s[e];t[u.nodeName]=at.test(u.nodeValue)?parseFloat(u.nodeValue):u.nodeValue}return t}else if(t instanceof Array){return t.reduce((function(t,i){t[i]=r.attr(i);return t}),{})}else if(typeof t==="object"&&t.constructor===Object){for(i in t)this.attr(i,t[i])}else if(i===null){this.node.removeAttribute(t)}else if(i==null){i=this.node.getAttribute(t);return i==null?ai[t]:at.test(i)?parseFloat(i):i}else{i=di.reduce((function(i,n){return n(t,i,r)}),i);if(typeof i==="number"){i=new vi(i)}else if(li.has(t)&&Ht.isColor(i)){i=new Ht(i)}else if(i.constructor===Array){i=new ci(i)}if(t==="leading"){if(this.leading){this.leading(i)}}else{typeof n==="string"?this.node.setAttributeNS(n,t,i.toString()):this.node.setAttribute(t,i.toString())}if(this.rebuild&&(t==="font-size"||t==="x")){this.rebuild()}}return this}var pi=function(t){__extends(i,t);function i(i,n){var r=t.call(this)||this;r.node=i;r.type=i.nodeName;if(n&&i!==n){r.attr(n)}return r}i.prototype.add=function(t,i){t=E(t);if(t.removeNamespace&&this.node instanceof j.window.SVGElement){t.removeNamespace()}if(i==null){this.node.appendChild(t.node)}else if(t.node!==this.node.childNodes[i]){this.node.insertBefore(t.node,this.node.childNodes[i])}return this};i.prototype.addTo=function(t,i){return E(t).put(this,i)};i.prototype.children=function(){return new Qt(v(this.node.children,(function(t){return Z(t)})))};i.prototype.clear=function(){while(this.node.hasChildNodes()){this.node.removeChild(this.node.lastChild)}return this};i.prototype.clone=function(t,i){if(t===void 0){t=true}if(i===void 0){i=true}this.writeDataToDom();var n=this.node.cloneNode(t);if(i){n=z(n)}return new this.constructor(n)};i.prototype.each=function(t,i){var n=this.children();var r,e;for(r=0,e=n.length;r<e;r++){t.apply(n[r],[r,n]);if(i){n[r].each(t,i)}}return this};i.prototype.element=function(t,n){return this.put(new i(B(t),n))};i.prototype.first=function(){return Z(this.node.firstChild)};i.prototype.get=function(t){return Z(this.node.childNodes[t])};i.prototype.getEventHolder=function(){return this.node};i.prototype.getEventTarget=function(){return this.node};i.prototype.has=function(t){return this.index(t)>=0};i.prototype.html=function(t,i){return this.xml(t,i,b)};i.prototype.id=function(t){if(typeof t==="undefined"&&!this.node.id){this.node.id=I(this.type)}return this.attr("id",t)};i.prototype.index=function(t){return[].slice.call(this.node.childNodes).indexOf(t.node)};i.prototype.last=function(){return Z(this.node.lastChild)};i.prototype.matches=function(t){var i=this.node;var n=i.matches||i.matchesSelector||i.msMatchesSelector||i.mozMatchesSelector||i.webkitMatchesSelector||i.oMatchesSelector||null;return n&&n.call(i,t)};i.prototype.parent=function(t){var i=this;if(!i.node.parentNode)return null;i=Z(i.node.parentNode);if(!t)return i;do{if(typeof t==="string"?i.matches(t):i instanceof t)return i}while(i=Z(i.node.parentNode));return i};i.prototype.put=function(t,i){t=E(t);this.add(t,i);return t};i.prototype.putIn=function(t,i){return E(t).add(this,i)};i.prototype.remove=function(){if(this.parent()){this.parent().removeElement(this)}return this};i.prototype.removeElement=function(t){this.node.removeChild(t.node);return this};i.prototype.replace=function(t){t=E(t);if(this.node.parentNode){this.node.parentNode.replaceChild(t.node,this.node)}return t};i.prototype.round=function(t,i){if(t===void 0){t=2}if(i===void 0){i=null}var n=Math.pow(10,t);var r=this.attr(i);for(var e in r){if(typeof r[e]==="number"){r[e]=Math.round(r[e]*n)/n}}this.attr(r);return this};i.prototype.svg=function(t,i){return this.xml(t,i,_)};i.prototype.toString=function(){return this.id()};i.prototype.words=function(t){this.node.textContent=t;return this};i.prototype.wrap=function(t){var i=this.parent();if(!i){return this.addTo(t)}var n=i.index(this);return i.put(t,n).put(this)};i.prototype.writeDataToDom=function(){this.each((function(){this.writeDataToDom()}));return this};i.prototype.xml=function(t,i,n){if(typeof t==="boolean"){n=i;i=t;t=null}if(t==null||typeof t==="function"){i=i==null?true:i;this.writeDataToDom();var r=this;if(t!=null){r=Z(r.node.cloneNode(true));if(i){var e=t(r);r=e||r;if(e===false)return""}r.each((function(){var i=t(this);var n=i||this;if(i===false){this.remove()}else if(i&&this!==n){this.replace(n)}}),true)}return i?r.node.outerHTML:r.node.innerHTML}i=i==null?false:i;var s=B("wrapper",n);var u=j.document.createDocumentFragment();s.innerHTML=t;for(var h=s.children.length;h--;){u.appendChild(s.firstElementChild)}var o=this.parent();return i?this.replace(u)&&o:this.add(u)};return i}(hi);N(pi,{attr:wi,find:qt,findOne:Wt});T(pi,"Dom");var gi=function(t){__extends(i,t);function i(i,n){var r,e;var s=t.call(this,i,n)||this;s.dom={};s.node.instance=s;if(i.hasAttribute("data-svgjs")||i.hasAttribute("svgjs:data")){s.setData((e=(r=JSON.parse(i.getAttribute("data-svgjs")))!==null&&r!==void 0?r:JSON.parse(i.getAttribute("svgjs:data")))!==null&&e!==void 0?e:{})}return s}i.prototype.center=function(t,i){return this.cx(t).cy(i)};i.prototype.cx=function(t){return t==null?this.x()+this.width()/2:this.x(t-this.width()/2)};i.prototype.cy=function(t){return t==null?this.y()+this.height()/2:this.y(t-this.height()/2)};i.prototype.defs=function(){var t=this.root();return t&&t.defs()};i.prototype.dmove=function(t,i){return this.dx(t).dy(i)};i.prototype.dx=function(t){if(t===void 0){t=0}return this.x(new vi(t).plus(this.x()))};i.prototype.dy=function(t){if(t===void 0){t=0}return this.y(new vi(t).plus(this.y()))};i.prototype.getEventHolder=function(){return this};i.prototype.height=function(t){return this.attr("height",t)};i.prototype.move=function(t,i){return this.x(t).y(i)};i.prototype.parents=function(t){if(t===void 0){t=this.root()}var i=typeof t==="string";if(!i){t=E(t)}var n=new Qt;var r=this;while((r=r.parent())&&r.node!==j.document&&r.nodeName!=="#document-fragment"){n.push(r);if(!i&&r.node===t.node){break}if(i&&r.matches(t)){break}if(r.node===this.root().node){return null}}return n};i.prototype.reference=function(t){t=this.attr(t);if(!t)return null;var i=(t+"").match(et);return i?E(i[1]):null};i.prototype.root=function(){var t=this.parent(F(O));return t&&t.root()};i.prototype.setData=function(t){this.dom=t;return this};i.prototype.size=function(t,i){var n=p(this,t,i);return this.width(new vi(n.width)).height(new vi(n.height))};i.prototype.width=function(t){return this.attr("width",t)};i.prototype.writeDataToDom=function(){m(this,this.dom);return t.prototype.writeDataToDom.call(this)};i.prototype.x=function(t){return this.attr("x",t)};i.prototype.y=function(t){return this.attr("y",t)};return i}(pi);N(gi,{bbox:Yt,rbox:Xt,inside:$t,point:St,ctm:Dt,screenCTM:It});T(gi,"Element");var yi={stroke:["color","width","opacity","linecap","linejoin","miterlimit","dasharray","dashoffset"],fill:["color","opacity","rule"],prefix:function(t,i){return i==="color"?t:t+"-"+i}};["fill","stroke"].forEach((function(t){var i={};var n;i[t]=function(i){if(typeof i==="undefined"){return this.attr(t)}if(typeof i==="string"||i instanceof Ht||Ht.isRgb(i)||i instanceof gi){this.attr(t,i)}else{for(n=yi[t].length-1;n>=0;n--){if(i[yi[t][n]]!=null){this.attr(yi.prefix(t,yi[t][n]),i[yi[t][n]])}}}return this};o(["Element","Runner"],i)}));o(["Element","Runner"],{matrix:function(t,i,n,r,e,s){if(t==null){return new Ft(this)}return this.attr("transform",new Ft(t,i,n,r,e,s))},rotate:function(t,i,n){return this.transform({rotate:t,ox:i,oy:n},true)},skew:function(t,i,n,r){return arguments.length===1||arguments.length===3?this.transform({skew:t,ox:i,oy:n},true):this.transform({skew:[t,i],ox:n,oy:r},true)},shear:function(t,i,n){return this.transform({shear:t,ox:i,oy:n},true)},scale:function(t,i,n,r){return arguments.length===1||arguments.length===3?this.transform({scale:t,ox:i,oy:n},true):this.transform({scale:[t,i],ox:n,oy:r},true)},translate:function(t,i){return this.transform({translate:[t,i]},true)},relative:function(t,i){return this.transform({relative:[t,i]},true)},flip:function(t,i){if(t===void 0){t="both"}if(i===void 0){i="center"}if("xybothtrue".indexOf(t)===-1){i=t;t="both"}return this.transform({flip:t,origin:i},true)},opacity:function(t){return this.attr("opacity",t)}});o("radius",{radius:function(t,i){if(i===void 0){i=t}var n=(this._element||this).type;return n==="radialGradient"?this.attr("r",new vi(t)):this.rx(t).ry(i)}});o("Path",{length:function(){return this.node.getTotalLength()},pointAt:function(t){return new Zt(this.node.getPointAtLength(t))}});o(["Element","Runner"],{font:function(t,i){if(typeof t==="object"){for(i in t)this.font(i,t[i]);return this}return t==="leading"?this.leading(i):t==="anchor"?this.attr("text-anchor",i):t==="size"||t==="family"||t==="weight"||t==="stretch"||t==="variant"||t==="style"?this.attr("font-"+t,i):this.attr(t,i)}});var xi=["click","dblclick","mousedown","mouseup","mouseover","mouseout","mousemove","mouseenter","mouseleave","touchstart","touchmove","touchleave","touchend","touchcancel","contextmenu","wheel","pointerdown","pointermove","pointerup","pointerleave","pointercancel"].reduce((function(t,i){var n=function(t){if(t===null){this.off(i)}else{this.on(i,t)}return this};t[i]=n;return t}),{});o("Element",xi);function mi(){return this.attr("transform",null)}function _i(){var t=(this.attr("transform")||"").split(st).slice(0,-1).map((function(t){var i=t.trim().split("(");return[i[0],i[1].split(vt).map((function(t){return parseFloat(t)}))]})).reverse().reduce((function(t,i){if(i[0]==="matrix"){return t.lmultiply(Ft.fromArray(i[1]))}return t[i[0]].apply(t,i[1])}),new Ft);return t}function bi(t,i){if(this===t)return this;if(x(this.node))return this.addTo(t,i);var n=this.screenCTM();var r=t.screenCTM().inverse();this.addTo(t,i).untransform().transform(r.multiply(n));return this}function Mi(t){return this.toParent(this.root(),t)}function ki(t,i){if(t==null||typeof t==="string"){var n=new Ft(this).decompose();return t==null?n:n[t]}if(!Ft.isMatrixLike(t)){t=__assign(__assign({},t),{origin:g(t,this)})}var r=i===true?this:i||false;var e=new Ft(r).transform(t);return this.attr("transform",e)}o("Element",{untransform:mi,matrixify:_i,toParent:bi,toRoot:Mi,transform:ki});var ji=function(t){__extends(i,t);function i(){return t!==null&&t.apply(this,arguments)||this}i.prototype.flatten=function(){this.each((function(){if(this instanceof i){return this.flatten().ungroup()}}));return this};i.prototype.ungroup=function(t,i){if(t===void 0){t=this.parent()}if(i===void 0){i=t.index(this)}i=i===-1?t.children().length:i;this.each((function(n,r){return r[r.length-n-1].toParent(t,i)}));return this.remove()};return i}(gi);T(ji,"Container");var Ai=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("defs",i),n)||this}i.prototype.flatten=function(){return this};i.prototype.ungroup=function(){return this};return i}(ji);T(Ai,"Defs");var Li=function(t){__extends(i,t);function i(){return t!==null&&t.apply(this,arguments)||this}return i}(gi);T(Li,"Shape");function Vi(t){return this.attr("rx",t)}function Oi(t){return this.attr("ry",t)}function Bi(t){return t==null?this.cx()-this.rx():this.cx(t+this.rx())}function Ei(t){return t==null?this.cy()-this.ry():this.cy(t+this.ry())}function Hi(t){return this.attr("cx",t)}function Zi(t){return this.attr("cy",t)}function Si(t){return t==null?this.rx()*2:this.rx(new vi(t).divide(2))}function Ti(t){return t==null?this.ry()*2:this.ry(new vi(t).divide(2))}var Fi={__proto__:null,cx:Hi,cy:Zi,height:Ti,rx:Vi,ry:Oi,width:Si,x:Bi,y:Ei};var Di=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("ellipse",i),n)||this}i.prototype.size=function(t,i){var n=p(this,t,i);return this.rx(new vi(n.width).divide(2)).ry(new vi(n.height).divide(2))};return i}(Li);N(Di,Fi);o("Container",{ellipse:P((function(t,i){if(t===void 0){t=0}if(i===void 0){i=t}return this.put(new Di).size(t,i).move(0,0)}))});T(Di,"Ellipse");var Ii=function(t){__extends(i,t);function i(i){if(i===void 0){i=j.document.createDocumentFragment()}return t.call(this,i)||this}i.prototype.xml=function(i,n,r){if(typeof i==="boolean"){r=n;n=i;i=null}if(i==null||typeof i==="function"){var e=new pi(B("wrapper",r));e.add(this.node.cloneNode(true));return e.xml(false,r)}return t.prototype.xml.call(this,i,false,r)};return i}(pi);T(Ii,"Fragment");function zi(t,i){return(this._element||this).type==="radialGradient"?this.attr({fx:new vi(t),fy:new vi(i)}):this.attr({x1:new vi(t),y1:new vi(i)})}function Ni(t,i){return(this._element||this).type==="radialGradient"?this.attr({cx:new vi(t),cy:new vi(i)}):this.attr({x2:new vi(t),y2:new vi(i)})}var Pi={__proto__:null,from:zi,to:Ni};var Gi=function(t){__extends(i,t);function i(i,n){return t.call(this,H(i+"Gradient",typeof i==="string"?null:i),n)||this}i.prototype.attr=function(i,n,r){if(i==="transform")i="gradientTransform";return t.prototype.attr.call(this,i,n,r)};i.prototype.bbox=function(){return new Gt};i.prototype.targets=function(){return Ut("svg [fill*="+this.id()+"]")};i.prototype.toString=function(){return this.url()};i.prototype.update=function(t){this.clear();if(typeof t==="function"){t.call(this,this)}return this};i.prototype.url=function(){return"url(#"+this.id()+")"};return i}(ji);N(Gi,Pi);o({Container:{gradient:function(){var t;var i=[];for(var n=0;n<arguments.length;n++){i[n]=arguments[n]}return(t=this.defs()).gradient.apply(t,i)}},Defs:{gradient:P((function(t,i){return this.put(new Gi(t)).update(i)}))}});T(Gi,"Gradient");var Ri=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("pattern",i),n)||this}i.prototype.attr=function(i,n,r){if(i==="transform")i="patternTransform";return t.prototype.attr.call(this,i,n,r)};i.prototype.bbox=function(){return new Gt};i.prototype.targets=function(){return Ut("svg [fill*="+this.id()+"]")};i.prototype.toString=function(){return this.url()};i.prototype.update=function(t){this.clear();if(typeof t==="function"){t.call(this,this)}return this};i.prototype.url=function(){return"url(#"+this.id()+")"};return i}(ji);o({Container:{pattern:function(){var t;var i=[];for(var n=0;n<arguments.length;n++){i[n]=arguments[n]}return(t=this.defs()).pattern.apply(t,i)}},Defs:{pattern:P((function(t,i,n){return this.put(new Ri).update(n).attr({x:0,y:0,width:t,height:i,patternUnits:"userSpaceOnUse"})}))}});T(Ri,"Pattern");var Yi=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("image",i),n)||this}i.prototype.load=function(t,i){if(!t)return this;var n=new j.window.Image;ei(n,"load",(function(t){var r=this.parent(Ri);if(this.width()===0&&this.height()===0){this.size(n.width,n.height)}if(r instanceof Ri){if(r.width()===0&&r.height()===0){r.size(this.width(),this.height())}}if(typeof i==="function"){i.call(this,t)}}),this);ei(n,"load error",(function(){si(n)}));return this.attr("href",n.src=t,k)};return i}(Li);Ci((function(t,i,n){if(t==="fill"||t==="stroke"){if(ct.test(i)){i=n.root().defs().image(i)}}if(i instanceof Yi){i=n.root().defs().pattern(0,0,(function(t){t.add(i)}))}return i}));o({Container:{image:P((function(t,i){return this.put(new Yi).size(0,0).load(t,i)}))}});T(Yi,"Image");var Xi=function(t){__extends(i,t);function i(){return t!==null&&t.apply(this,arguments)||this}i.prototype.bbox=function(){var t=-Infinity;var i=-Infinity;var n=Infinity;var r=Infinity;this.forEach((function(e){t=Math.max(e[0],t);i=Math.max(e[1],i);n=Math.min(e[0],n);r=Math.min(e[1],r)}));return new Gt(n,r,t-n,i-r)};i.prototype.move=function(t,i){var n=this.bbox();t-=n.x;i-=n.y;if(!isNaN(t)&&!isNaN(i)){for(var r=this.length-1;r>=0;r--){this[r]=[this[r][0]+t,this[r][1]+i]}}return this};i.prototype.parse=function(t){if(t===void 0){t=[0,0]}var i=[];if(t instanceof Array){t=Array.prototype.concat.apply([],t)}else{t=t.trim().split(vt).map(parseFloat)}if(t.length%2!==0)t.pop();for(var n=0,r=t.length;n<r;n=n+2){i.push([t[n],t[n+1]])}return i};i.prototype.size=function(t,i){var n;var r=this.bbox();for(n=this.length-1;n>=0;n--){if(r.width)this[n][0]=(this[n][0]-r.x)*t/r.width+r.x;if(r.height)this[n][1]=(this[n][1]-r.y)*i/r.height+r.y}return this};i.prototype.toLine=function(){return{x1:this[0][0],y1:this[0][1],x2:this[1][0],y2:this[1][1]}};i.prototype.toString=function(){var t=[];for(var i=0,n=this.length;i<n;i++){t.push(this[i].join(","))}return t.join(" ")};i.prototype.transform=function(t){return this.clone().transformO(t)};i.prototype.transformO=function(t){if(!Ft.isMatrixLike(t)){t=new Ft(t)}for(var i=this.length;i--;){var n=this[i],r=n[0],e=n[1];this[i][0]=t.a*r+t.c*e+t.e;this[i][1]=t.b*r+t.d*e+t.f}return this};return i}(ci);var $i=Xi;function Qi(t){return t==null?this.bbox().x:this.move(t,this.bbox().y)}function Ji(t){return t==null?this.bbox().y:this.move(this.bbox().x,t)}function Ui(t){var i=this.bbox();return t==null?i.width:this.size(t,i.height)}function qi(t){var i=this.bbox();return t==null?i.height:this.size(i.width,t)}var Wi={__proto__:null,MorphArray:$i,height:qi,width:Ui,x:Qi,y:Ji};var Ki=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("line",i),n)||this}i.prototype.array=function(){return new Xi([[this.attr("x1"),this.attr("y1")],[this.attr("x2"),this.attr("y2")]])};i.prototype.move=function(t,i){return this.attr(this.array().move(t,i).toLine())};i.prototype.plot=function(t,i,n,r){if(t==null){return this.array()}else if(typeof i!=="undefined"){t={x1:t,y1:i,x2:n,y2:r}}else{t=new Xi(t).toLine()}return this.attr(t)};i.prototype.size=function(t,i){var n=p(this,t,i);return this.attr(this.array().size(n.width,n.height).toLine())};return i}(Li);N(Ki,Wi);o({Container:{line:P((function(){var t=[];for(var i=0;i<arguments.length;i++){t[i]=arguments[i]}return Ki.prototype.plot.apply(this.put(new Ki),t[0]!=null?t:[0,0,0,0])}))}});T(Ki,"Line");var tn=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("marker",i),n)||this}i.prototype.height=function(t){return this.attr("markerHeight",t)};i.prototype.orient=function(t){return this.attr("orient",t)};i.prototype.ref=function(t,i){return this.attr("refX",t).attr("refY",i)};i.prototype.toString=function(){return"url(#"+this.id()+")"};i.prototype.update=function(t){this.clear();if(typeof t==="function"){t.call(this,this)}return this};i.prototype.width=function(t){return this.attr("markerWidth",t)};return i}(ji);o({Container:{marker:function(){var t;var i=[];for(var n=0;n<arguments.length;n++){i[n]=arguments[n]}return(t=this.defs()).marker.apply(t,i)}},Defs:{marker:P((function(t,i,n){return this.put(new tn).size(t,i).ref(t/2,i/2).viewbox(0,0,t,i).attr("orient","auto").update(n)}))},marker:{marker:function(t,i,n,r){var e=["marker"];if(t!=="all")e.push(t);e=e.join("-");t=arguments[1]instanceof tn?arguments[1]:this.defs().marker(i,n,r);return this.attr(e,t)}}});T(tn,"Marker");function nn(t,i){return function(n){if(n==null)return this[t];this[t]=n;if(i)i.call(this);return this}}var rn={"-":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,i,n,r){return function(e){if(e<0){if(t>0){return i/t*e}else if(n>0){return r/n*e}else{return 0}}else if(e>1){if(n<1){return(1-r)/(1-n)*e+(r-n)/(1-n)}else if(t<1){return(1-i)/(1-t)*e+(i-t)/(1-t)}else{return 1}}else{return 3*e*Math.pow(1-e,2)*i+3*Math.pow(e,2)*(1-e)*r+Math.pow(e,3)}}},steps:function(t,i){if(i===void 0){i="end"}i=i.split("-").reverse()[0];var n=t;if(i==="none"){--n}else if(i==="both"){++n}return function(r,e){if(e===void 0){e=false}var s=Math.floor(r*t);var u=r*s%1===0;if(i==="start"||i==="both"){++s}if(e&&u){--s}if(r>=0&&s<0){s=0}if(r<=1&&s>n){s=n}return s/n}}};var en=function(){function t(){}t.prototype.done=function(){return false};return t}();var sn=function(t){__extends(i,t);function i(i){if(i===void 0){i=fi.ease}var n=t.call(this)||this;n.ease=rn[i]||i;return n}i.prototype.step=function(t,i,n){if(typeof t!=="number"){return n<1?t:i}return t+(i-t)*this.ease(n)};return i}(en);var un=function(t){__extends(i,t);function i(i){var n=t.call(this)||this;n.stepper=i;return n}i.prototype.done=function(t){return t.done};i.prototype.step=function(t,i,n,r){return this.stepper(t,i,n,r)};return i}(en);function hn(){var t=(this._duration||500)/1e3;var i=this._overshoot||0;var n=1e-10;var r=Math.PI;var e=Math.log(i/100+n);var s=-e/Math.sqrt(r*r+e*e);var u=3.9/(s*t);this.d=2*s*u;this.k=u*u}var on=function(t){__extends(i,t);function i(i,n){if(i===void 0){i=500}if(n===void 0){n=0}var r=t.call(this)||this;r.duration(i).overshoot(n);return r}i.prototype.step=function(t,i,n,r){if(typeof t==="string")return t;r.done=n===Infinity;if(n===Infinity)return i;if(n===0)return t;if(n>100)n=16;n/=1e3;var e=r.velocity||0;var s=-this.d*e-this.k*(t-i);var u=t+e*n+s*n*n/2;r.velocity=e+s*n;r.done=Math.abs(i-u)+Math.abs(e)<.002;return r.done?i:u};return i}(un);N(on,{duration:nn("_duration",hn),overshoot:nn("_overshoot",hn)});var fn=function(t){__extends(i,t);function i(i,n,r,e){if(i===void 0){i=.1}if(n===void 0){n=.01}if(r===void 0){r=0}if(e===void 0){e=1e3}var s=t.call(this)||this;s.p(i).i(n).d(r).windup(e);return s}i.prototype.step=function(t,i,n,r){if(typeof t==="string")return t;r.done=n===Infinity;if(n===Infinity)return i;if(n===0)return t;var e=i-t;var s=(r.integral||0)+e*n;var u=(e-(r.error||0))/n;var 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?i:t+(this.P*e+this.I*s+this.D*u)};return i}(un);N(fn,{windup:nn("_windup"),p:nn("P"),i:nn("I"),d:nn("D")});var an={M:2,L:2,H:1,V:1,C:6,S:4,Q:4,T:2,A:7,Z:0};var cn={M:function(t,i,n){i.x=n.x=t[0];i.y=n.y=t[1];return["M",i.x,i.y]},L:function(t,i){i.x=t[0];i.y=t[1];return["L",t[0],t[1]]},H:function(t,i){i.x=t[0];return["H",t[0]]},V:function(t,i){i.y=t[0];return["V",t[0]]},C:function(t,i){i.x=t[4];i.y=t[5];return["C",t[0],t[1],t[2],t[3],t[4],t[5]]},S:function(t,i){i.x=t[2];i.y=t[3];return["S",t[0],t[1],t[2],t[3]]},Q:function(t,i){i.x=t[2];i.y=t[3];return["Q",t[0],t[1],t[2],t[3]]},T:function(t,i){i.x=t[0];i.y=t[1];return["T",t[0],t[1]]},Z:function(t,i,n){i.x=n.x;i.y=n.y;return["Z"]},A:function(t,i){i.x=t[5];i.y=t[6];return["A",t[0],t[1],t[2],t[3],t[4],t[5],t[6]]}};var vn="mlhvqtcsaz".split("");for(var ln=0,dn=vn.length;ln<dn;++ln){cn[vn[ln]]=function(t){return function(i,n,r){if(t==="H")i[0]=i[0]+n.x;else if(t==="V")i[0]=i[0]+n.y;else if(t==="A"){i[5]=i[5]+n.x;i[6]=i[6]+n.y}else{for(var e=0,s=i.length;e<s;++e){i[e]=i[e]+(e%2?n.y:n.x)}}return cn[t](i,n,r)}}(vn[ln].toUpperCase())}function Cn(t){var i=t.segment[0];return cn[i](t.segment.slice(1),t.p,t.p0)}function wn(t){return t.segment.length&&t.segment.length-1===an[t.segment[0].toUpperCase()]}function pn(t,i){t.inNumber&&gn(t,false);var n=lt.test(i);if(n){t.segment=[i]}else{var r=t.lastCommand;var e=r.toLowerCase();var s=r===e;t.segment=[e==="m"?s?"l":"L":r]}t.inSegment=true;t.lastCommand=t.segment[0];return n}function gn(t,i){if(!t.inNumber)throw new Error("Parser Error");t.number&&t.segment.push(parseFloat(t.number));t.inNumber=i;t.number="";t.pointSeen=false;t.hasExponent=false;if(wn(t)){yn(t)}}function yn(t){t.inSegment=false;if(t.absolute){t.segment=Cn(t)}t.segments.push(t.segment)}function xn(t){if(!t.segment.length)return false;var i=t.segment[0].toUpperCase()==="A";var n=t.segment.length;return i&&(n===4||n===5)}function mn(t){return t.lastToken.toUpperCase()==="E"}var _n=new Set([" ",",","\t","\n","\r","\f"]);function bn(t,i){if(i===void 0){i=true}var n=0;var r="";var e={segment:[],inNumber:false,number:"",lastToken:"",inSegment:false,segments:[],pointSeen:false,hasExponent:false,absolute:i,p0:new Zt,p:new Zt};while(e.lastToken=r,r=t.charAt(n++)){if(!e.inSegment){if(pn(e,r)){continue}}if(r==="."){if(e.pointSeen||e.hasExponent){gn(e,false);--n;continue}e.inNumber=true;e.pointSeen=true;e.number+=r;continue}if(!isNaN(parseInt(r))){if(e.number==="0"||xn(e)){e.inNumber=true;e.number=r;gn(e,true);continue}e.inNumber=true;e.number+=r;continue}if(_n.has(r)){if(e.inNumber){gn(e,false)}continue}if(r==="-"||r==="+"){if(e.inNumber&&!mn(e)){gn(e,false);--n;continue}e.number+=r;e.inNumber=true;continue}if(r.toUpperCase()==="E"){e.number+=r;e.hasExponent=true;continue}if(lt.test(r)){if(e.inNumber){gn(e,false)}else if(!wn(e)){throw new Error("parser Error")}else{yn(e)}--n}}if(e.inNumber){gn(e,false)}if(e.inSegment&&wn(e)){yn(e)}return e.segments}function Mn(t){var i="";for(var n=0,r=t.length;n<r;n++){i+=t[n][0];if(t[n][1]!=null){i+=t[n][1];if(t[n][2]!=null){i+=" ";i+=t[n][2];if(t[n][3]!=null){i+=" ";i+=t[n][3];i+=" ";i+=t[n][4];if(t[n][5]!=null){i+=" ";i+=t[n][5];i+=" ";i+=t[n][6];if(t[n][7]!=null){i+=" ";i+=t[n][7]}}}}}}return i+" "}var kn=function(t){__extends(i,t);function i(){return t!==null&&t.apply(this,arguments)||this}i.prototype.bbox=function(){zt().path.setAttribute("d",this.toString());return new Gt(zt.nodes.path.getBBox())};i.prototype.move=function(t,i){var n=this.bbox();t-=n.x;i-=n.y;if(!isNaN(t)&&!isNaN(i)){for(var r=void 0,e=this.length-1;e>=0;e--){r=this[e][0];if(r==="M"||r==="L"||r==="T"){this[e][1]+=t;this[e][2]+=i}else if(r==="H"){this[e][1]+=t}else if(r==="V"){this[e][1]+=i}else if(r==="C"||r==="S"||r==="Q"){this[e][1]+=t;this[e][2]+=i;this[e][3]+=t;this[e][4]+=i;if(r==="C"){this[e][5]+=t;this[e][6]+=i}}else if(r==="A"){this[e][6]+=t;this[e][7]+=i}}}return this};i.prototype.parse=function(t){if(t===void 0){t="M0 0"}if(Array.isArray(t)){t=Array.prototype.concat.apply([],t).toString()}return bn(t)};i.prototype.size=function(t,i){var n=this.bbox();var r,e;n.width=n.width===0?1:n.width;n.height=n.height===0?1:n.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]-n.x)*t/n.width+n.x;this[r][2]=(this[r][2]-n.y)*i/n.height+n.y}else if(e==="H"){this[r][1]=(this[r][1]-n.x)*t/n.width+n.x}else if(e==="V"){this[r][1]=(this[r][1]-n.y)*i/n.height+n.y}else if(e==="C"||e==="S"||e==="Q"){this[r][1]=(this[r][1]-n.x)*t/n.width+n.x;this[r][2]=(this[r][2]-n.y)*i/n.height+n.y;this[r][3]=(this[r][3]-n.x)*t/n.width+n.x;this[r][4]=(this[r][4]-n.y)*i/n.height+n.y;if(e==="C"){this[r][5]=(this[r][5]-n.x)*t/n.width+n.x;this[r][6]=(this[r][6]-n.y)*i/n.height+n.y}}else if(e==="A"){this[r][1]=this[r][1]*t/n.width;this[r][2]=this[r][2]*i/n.height;this[r][6]=(this[r][6]-n.x)*t/n.width+n.x;this[r][7]=(this[r][7]-n.y)*i/n.height+n.y}}return this};i.prototype.toString=function(){return Mn(this)};return i}(ci);var jn=function(t){var i=typeof t;if(i==="number"){return vi}else if(i==="string"){if(Ht.isColor(t)){return Ht}else if(vt.test(t)){return lt.test(t)?kn:ci}else if(it.test(t)){return vi}else{return Ln}}else if(En.indexOf(t.constructor)>-1){return t.constructor}else if(Array.isArray(t)){return ci}else if(i==="object"){return Bn}else{return Ln}};var An=function(){function t(t){this._stepper=t||new sn("-");this._from=null;this._to=null;this._type=null;this._context=null;this._morphObj=null}t.prototype.at=function(t){return this._morphObj.morph(this._from,this._to,t,this._stepper,this._context)};t.prototype.done=function(){var t=this._context.map(this._stepper.done).reduce((function(t,i){return t&&i}),true);return t};t.prototype.from=function(t){if(t==null){return this._from}this._from=this._set(t);return this};t.prototype.stepper=function(t){if(t==null)return this._stepper;this._stepper=t;return this};t.prototype.to=function(t){if(t==null){return this._to}this._to=this._set(t);return this};t.prototype.type=function(t){if(t==null){return this._type}this._type=t;return this};t.prototype._set=function(t){if(!this._type){this.type(jn(t))}var i=new this._type(t);if(this._type===Ht){i=this._to?i[this._to[4]]():this._from?i[this._from[4]]():i}if(this._type===Bn){i=this._to?i.align(this._to):this._from?i.align(this._from):i}i=i.toConsumable();this._morphObj=this._morphObj||new this._type;this._context=this._context||Array.apply(null,Array(i.length)).map(Object).map((function(t){t.done=true;return t}));return i};return t}();var Ln=function(){function t(){var t=[];for(var i=0;i<arguments.length;i++){t[i]=arguments[i]}this.init.apply(this,t)}t.prototype.init=function(t){t=Array.isArray(t)?t[0]:t;this.value=t;return this};t.prototype.toArray=function(){return[this.value]};t.prototype.valueOf=function(){return this.value};return t}();var Vn=function(){function t(){var t=[];for(var i=0;i<arguments.length;i++){t[i]=arguments[i]}this.init.apply(this,t)}t.prototype.init=function(i){if(Array.isArray(i)){i={scaleX:i[0],scaleY:i[1],shear:i[2],rotate:i[3],translateX:i[4],translateY:i[5],originX:i[6],originY:i[7]}}Object.assign(this,t.defaults,i);return this};t.prototype.toArray=function(){var t=this;return[t.scaleX,t.scaleY,t.shear,t.rotate,t.translateX,t.translateY,t.originX,t.originY]};return t}();Vn.defaults={scaleX:1,scaleY:1,shear:0,rotate:0,translateX:0,translateY:0,originX:0,originY:0};var On=function(t,i){return t[0]<i[0]?-1:t[0]>i[0]?1:0};var Bn=function(){function t(){var t=[];for(var i=0;i<arguments.length;i++){t[i]=arguments[i]}this.init.apply(this,t)}t.prototype.align=function(t){var i;var n=this.values;for(var r=0,e=n.length;r<e;++r){if(n[r+1]===t[r+1]){if(n[r+1]===Ht&&t[r+7]!==n[r+7]){var s=t[r+7];var u=new Ht(this.values.splice(r+3,5))[s]().toArray();(i=this.values).splice.apply(i,__spreadArray([r+3,0],u,false))}r+=n[r+2]+2;continue}if(!t[r+1]){return this}var h=(new t[r+1]).toArray();var o=n[r+2]+3;n.splice.apply(n,__spreadArray([r,o,t[r],t[r+1],t[r+2]],h,false));r+=n[r+2]+2}return this};t.prototype.init=function(t){this.values=[];if(Array.isArray(t)){this.values=t.slice();return}t=t||{};var i=[];for(var n in t){var r=jn(t[n]);var e=new r(t[n]).toArray();i.push(__spreadArray([n,r,e.length],e,true))}i.sort(On);this.values=i.reduce((function(t,i){return t.concat(i)}),[]);return this};t.prototype.toArray=function(){return this.values};t.prototype.valueOf=function(){var t={};var i=this.values;while(i.length){var n=i.shift();var r=i.shift();var e=i.shift();var s=i.splice(0,e);t[n]=new r(s)}return t};return t}();var En=[Ln,Vn,Bn];function Hn(t){if(t===void 0){t=[]}En.push.apply(En,[].concat(t))}function Zn(){N(En,{to:function(t){return(new An).type(this.constructor).from(this.toArray()).to(t)},fromArray:function(t){this.init(t);return this},toConsumable:function(){return this.toArray()},morph:function(t,i,n,r,e){var s=function(t,s){return r.step(t,i[s],n,e[s],e)};return this.fromArray(t.map(s))}})}var Sn=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("path",i),n)||this}i.prototype.array=function(){return this._array||(this._array=new kn(this.attr("d")))};i.prototype.clear=function(){delete this._array;return this};i.prototype.height=function(t){return t==null?this.bbox().height:this.size(this.bbox().width,t)};i.prototype.move=function(t,i){return this.attr("d",this.array().move(t,i))};i.prototype.plot=function(t){return t==null?this.array():this.clear().attr("d",typeof t==="string"?t:this._array=new kn(t))};i.prototype.size=function(t,i){var n=p(this,t,i);return this.attr("d",this.array().size(n.width,n.height))};i.prototype.width=function(t){return t==null?this.bbox().width:this.size(t,this.bbox().height)};i.prototype.x=function(t){return t==null?this.bbox().x:this.move(t,this.bbox().y)};i.prototype.y=function(t){return t==null?this.bbox().y:this.move(this.bbox().x,t)};return i}(Li);Sn.prototype.MorphArray=kn;o({Container:{path:P((function(t){return this.put(new Sn).plot(t||new kn)}))}});T(Sn,"Path");function Tn(){return this._array||(this._array=new Xi(this.attr("points")))}function Fn(){delete this._array;return this}function Dn(t,i){return this.attr("points",this.array().move(t,i))}function In(t){return t==null?this.array():this.clear().attr("points",typeof t==="string"?t:this._array=new Xi(t))}function zn(t,i){var n=p(this,t,i);return this.attr("points",this.array().size(n.width,n.height))}var Nn={__proto__:null,array:Tn,clear:Fn,move:Dn,plot:In,size:zn};var Pn=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("polygon",i),n)||this}return i}(Li);o({Container:{polygon:P((function(t){return this.put(new Pn).plot(t||new Xi)}))}});N(Pn,Wi);N(Pn,Nn);T(Pn,"Polygon");var Gn=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("polyline",i),n)||this}return i}(Li);o({Container:{polyline:P((function(t){return this.put(new Gn).plot(t||new Xi)}))}});N(Gn,Wi);N(Gn,Nn);T(Gn,"Polyline");var Rn=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("rect",i),n)||this}return i}(Li);N(Rn,{rx:Vi,ry:Oi});o({Container:{rect:P((function(t,i){return this.put(new Rn).size(t,i)}))}});T(Rn,"Rect");var Yn=function(){function t(){this._first=null;this._last=null}t.prototype.first=function(){return this._first&&this._first.value};t.prototype.last=function(){return this._last&&this._last.value};t.prototype.push=function(t){var i=typeof t.next!=="undefined"?t:{value:t,next:null,prev:null};if(this._last){i.prev=this._last;this._last.next=i;this._last=i}else{this._last=i;this._first=i}return i};t.prototype.remove=function(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};t.prototype.shift=function(){var 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};return t}();var Xn={nextDraw:null,frames:new Yn,timeouts:new Yn,immediates:new Yn,timer:function(){return j.window.performance||j.window.Date},transforms:[],frame:function(t){var i=Xn.frames.push({run:t});if(Xn.nextDraw===null){Xn.nextDraw=j.window.requestAnimationFrame(Xn._draw)}return i},timeout:function(t,i){i=i||0;var n=Xn.timer().now()+i;var r=Xn.timeouts.push({run:t,time:n});if(Xn.nextDraw===null){Xn.nextDraw=j.window.requestAnimationFrame(Xn._draw)}return r},immediate:function(t){var i=Xn.immediates.push(t);if(Xn.nextDraw===null){Xn.nextDraw=j.window.requestAnimationFrame(Xn._draw)}return i},cancelFrame:function(t){t!=null&&Xn.frames.remove(t)},clearTimeout:function(t){t!=null&&Xn.timeouts.remove(t)},cancelImmediate:function(t){t!=null&&Xn.immediates.remove(t)},_draw:function(t){var i=null;var n=Xn.timeouts.last();while(i=Xn.timeouts.shift()){if(t>=i.time){i.run()}else{Xn.timeouts.push(i)}if(i===n)break}var r=null;var e=Xn.frames.last();while(r!==e&&(r=Xn.frames.shift())){r.run(t)}var s=null;while(s=Xn.immediates.shift()){s()}Xn.nextDraw=Xn.timeouts.first()||Xn.frames.first()?j.window.requestAnimationFrame(Xn._draw):null}};var $n=function(t){var i=t.start;var n=t.runner.duration();var r=i+n;return{start:i,duration:n,end:r,runner:t.runner}};var Qn=function(){var t=j.window;return(t.performance||t.Date).now()};var Jn=function(t){__extends(i,t);function i(i){if(i===void 0){i=Qn}var n=t.call(this)||this;n._timeSource=i;n.terminate();return n}i.prototype.active=function(){return!!this._nextFrame};i.prototype.finish=function(){this.time(this.getEndTimeOfTimeline()+1);return this.pause()};i.prototype.getEndTime=function(){var t=this.getLastRunnerInfo();var i=t?t.runner.duration():0;var n=t?t.start:this._time;return n+i};i.prototype.getEndTimeOfTimeline=function(){var t=this._runners.map((function(t){return t.start+t.runner.duration()}));return Math.max.apply(Math,__spreadArray([0],t,false))};i.prototype.getLastRunnerInfo=function(){return this.getRunnerInfoById(this._lastRunnerId)};i.prototype.getRunnerInfoById=function(t){return this._runners[this._runnerIds.indexOf(t)]||null};i.prototype.pause=function(){this._paused=true;return this._continue()};i.prototype.persist=function(t){if(t==null)return this._persist;this._persist=t;return this};i.prototype.play=function(){this._paused=false;return this.updateTime()._continue()};i.prototype.reverse=function(t){var i=this.speed();if(t==null)return this.speed(-i);var n=Math.abs(i);return this.speed(t?-n:n)};i.prototype.schedule=function(t,i,n){if(t==null){return this._runners.map($n)}var r=0;var e=this.getEndTime();i=i||0;if(n==null||n==="last"||n==="after"){r=e}else if(n==="absolute"||n==="start"){r=i;i=0}else if(n==="now"){r=this._time}else if(n==="relative"){var s=this.getRunnerInfoById(t.id);if(s){r=s.start+i;i=0}}else if(n==="with-last"){var u=this.getLastRunnerInfo();var h=u?u.start:this._time;r=h}else{throw new Error('Invalid value for the "when" parameter')}t.unschedule();t.timeline(this);var o=t.persist();var f={persist:o===null?this._persist:o,start:r+i,runner:t};this._lastRunnerId=t.id;this._runners.push(f);this._runners.sort((function(t,i){return t.start-i.start}));this._runnerIds=this._runners.map((function(t){return t.runner.id}));this.updateTime()._continue();return this};i.prototype.seek=function(t){return this.time(this._time+t)};i.prototype.source=function(t){if(t==null)return this._timeSource;this._timeSource=t;return this};i.prototype.speed=function(t){if(t==null)return this._speed;this._speed=t;return this};i.prototype.stop=function(){this.time(0);return this.pause()};i.prototype.time=function(t){if(t==null)return this._time;this._time=t;return this._continue(true)};i.prototype.unschedule=function(t){var i=this._runnerIds.indexOf(t.id);if(i<0)return this;this._runners.splice(i,1);this._runnerIds.splice(i,1);t.timeline(null);return this};i.prototype.updateTime=function(){if(!this.active()){this._lastSourceTime=this._timeSource()}return this};i.prototype._continue=function(t){if(t===void 0){t=false}Xn.cancelFrame(this._nextFrame);this._nextFrame=null;if(t)return this._stepImmediate();if(this._paused)return this;this._nextFrame=Xn.frame(this._step);return this};i.prototype._stepFn=function(t){if(t===void 0){t=false}var i=this._timeSource();var n=i-this._lastSourceTime;if(t)n=0;var r=this._speed*n+(this._time-this._lastStepTime);this._lastSourceTime=i;if(!t){this._time+=r;this._time=this._time<0?0:this._time}this._lastStepTime=this._time;this.fire("time",this._time);for(var e=this._runners.length;e--;){var s=this._runners[e];var u=s.runner;var h=this._time-s.start;if(h<=0){u.reset()}}var o=false;for(var f=0,a=this._runners.length;f<a;f++){var s=this._runners[f];var u=s.runner;var c=r;var h=this._time-s.start;if(h<=0){o=true;continue}else if(h<c){c=h}if(!u.active())continue;var v=u.step(c).done;if(!v){o=true}else if(s.persist!==true){var l=u.duration()-u.time()+this._time;if(l+s.persist<this._time){u.unschedule();--f;--a}}}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};i.prototype.terminate=function(){this._startTime=0;this._speed=1;this._persist=0;this._nextFrame=null;this._paused=true;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)};return i}(hi);o({Element:{timeline:function(t){if(t==null){this._timeline=this._timeline||new Jn;return this._timeline}else{this._timeline=t;return this}}}});var Un=function(t){__extends(i,t);function i(n){var r=t.call(this)||this;r.id=i.id++;n=n==null?fi.duration:n;n=typeof n==="function"?new un(n):n;r._element=null;r._timeline=null;r.done=false;r._queue=[];r._duration=typeof n==="number"&&n;r._isDeclarative=n instanceof un;r._stepper=r._isDeclarative?n:new sn;r._history={};r.enabled=true;r._time=0;r._lastTime=0;r._reseted=true;r.transforms=new Ft;r.transformId=1;r._haveReversed=false;r._reverse=false;r._loopsDone=0;r._swing=false;r._wait=0;r._times=1;r._frameId=null;r._persist=r._isDeclarative?true:null;return r}i.sanitise=function(t,i,n){var r,e,s,u,h;var o=1;var f=false;var a=0;t=t!==null&&t!==void 0?t:fi.duration;i=i!==null&&i!==void 0?i:fi.delay;n=n||"last";if(typeof t==="object"&&!(t instanceof en)){i=(r=t.delay)!==null&&r!==void 0?r:i;n=(e=t.when)!==null&&e!==void 0?e:n;f=t.swing||f;o=(s=t.times)!==null&&s!==void 0?s:o;a=(u=t.wait)!==null&&u!==void 0?u:a;t=(h=t.duration)!==null&&h!==void 0?h:fi.duration}return{duration:t,delay:i,swing:f,times:o,wait:a,when:n}};i.prototype.active=function(t){if(t==null)return this.enabled;this.enabled=t;return this};i.prototype.addTransform=function(t){this.transforms.lmultiplyO(t);return this};i.prototype.after=function(t){return this.on("finished",t)};i.prototype.animate=function(t,n,r){var e=i.sanitise(t,n,r);var s=new i(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)};i.prototype.clearTransform=function(){this.transforms=new Ft;return this};i.prototype.clearTransformsFromQueue=function(){if(!this.done||!this._timeline||!this._timeline._runnerIds.includes(this.id)){this._queue=this._queue.filter((function(t){return!t.isTransform}))}};i.prototype.delay=function(t){return this.animate(0,t)};i.prototype.duration=function(){return this._times*(this._wait+this._duration)-this._wait};i.prototype.during=function(t){return this.queue(null,t)};i.prototype.ease=function(t){this._stepper=new sn(t);return this};i.prototype.element=function(t){if(t==null)return this._element;this._element=t;t._prepareRunner();return this};i.prototype.finish=function(){return this.step(Infinity)};i.prototype.loop=function(t,i,n){if(typeof t==="object"){i=t.swing;n=t.wait;t=t.times}this._times=t||Infinity;this._swing=i||false;this._wait=n||0;if(this._times===true){this._times=Infinity}return this};i.prototype.loops=function(t){var i=this._duration+this._wait;if(t==null){var n=Math.floor(this._time/i);var r=this._time-n*i;var e=r/this._duration;return Math.min(n+e,this._times)}var s=Math.floor(t);var u=t%1;var h=i*s+this._duration*u;return this.time(h)};i.prototype.persist=function(t){if(t==null)return this._persist;this._persist=t;return this};i.prototype.position=function(t){var i=this._time;var n=this._duration;var r=this._wait;var e=this._times;var s=this._swing;var u=this._reverse;var h;if(t==null){var o=function(t){var i=s*Math.floor(t%(2*(r+n))/(r+n));var e=i&&!u||!i&&u;var h=Math.pow(-1,e)*(t%(r+n))/n+e;var o=Math.max(Math.min(h,1),0);return o};var f=e*(r+n)-r;h=i<=0?Math.round(o(1e-5)):i<f?o(i):Math.round(o(f-1e-5));return h}var a=Math.floor(this.loops());var c=s&&a%2===0;var v=c&&!u||u&&c;h=a+(v?t:1-t);return this.loops(h)};i.prototype.progress=function(t){if(t==null){return Math.min(1,this._time/this.duration())}return this.time(t*this.duration())};i.prototype.queue=function(t,i,n,r){this._queue.push({initialiser:t||oi,runner:i||oi,retarget:n,isTransform:r,initialised:false,finished:false});var e=this.timeline();e&&this.timeline()._continue();return this};i.prototype.reset=function(){if(this._reseted)return this;this.time(0);this._reseted=true;return this};i.prototype.reverse=function(t){this._reverse=t==null?!this._reverse:t;return this};i.prototype.schedule=function(t,i,n){if(!(t instanceof Jn)){n=i;i=t;t=this.timeline()}if(!t){throw Error("Runner cannot be scheduled without timeline")}t.schedule(this,i,n);return this};i.prototype.step=function(t){if(!this.enabled)return this;t=t==null?16:t;this._time+=t;var i=this.position();var n=this._lastPosition!==i&&this._time>=0;this._lastPosition=i;var r=this.duration();var e=this._lastTime<=0&&this._time>0;var s=this._lastTime<r&&this._time>=r;this._lastTime=this._time;if(e){this.fire("start",this)}var u=this._isDeclarative;this.done=!u&&!s&&this._time>=r;this._reseted=false;var h=false;if(n||u){this._initialise(n);this.transforms=new Ft;h=this._run(u?t:i);this.fire("step",this)}this.done=this.done||h&&u;if(s){this.fire("finished",this)}return this};i.prototype.time=function(t){if(t==null){return this._time}var i=t-this._time;this.step(i);return this};i.prototype.timeline=function(t){if(typeof t==="undefined")return this._timeline;this._timeline=t;return this};i.prototype.unschedule=function(){var t=this.timeline();t&&t.unschedule(this);return this};i.prototype._initialise=function(t){if(!t&&!this._isDeclarative)return;for(var i=0,n=this._queue.length;i<n;++i){var r=this._queue[i];var e=this._isDeclarative||!r.initialised&&t;t=!r.finished;if(e&&t){r.initialiser.call(this);r.initialised=true}}};i.prototype._rememberMorpher=function(t,i){this._history[t]={morpher:i,caller:this._queue[this._queue.length-1]};if(this._isDeclarative){var n=this.timeline();n&&n.play()}};i.prototype._run=function(t){var i=true;for(var n=0,r=this._queue.length;n<r;++n){var e=this._queue[n];var s=e.runner.call(this,t);e.finished=e.finished||s===true;i=i&&e.finished}return i};i.prototype._tryRetarget=function(t,i,n){if(this._history[t]){if(!this._history[t].caller.initialised){var r=this._queue.indexOf(this._history[t].caller);this._queue.splice(r,1);return false}if(this._history[t].caller.retarget){this._history[t].caller.retarget.call(this,i,n)}else{this._history[t].morpher.to(i)}this._history[t].caller.finished=false;var e=this.timeline();e&&e.play();return true}return false};return i}(hi);Un.id=0;var qn=function(){function t(t,i,n){if(t===void 0){t=new Ft}if(i===void 0){i=-1}if(n===void 0){n=true}this.transforms=t;this.id=i;this.done=n}t.prototype.clearTransformsFromQueue=function(){};return t}();N([Un,qn],{mergeWith:function(t){return new qn(t.transforms.lmultiply(this.transforms),t.id)}});var Wn=function(t,i){return t.lmultiplyO(i)};var Kn=function(t){return t.transforms};function tr(){var t=this._transformationRunners.runners;var i=t.map(Kn).reduce(Wn,new Ft);this.transform(i);this._transformationRunners.merge();if(this._transformationRunners.length()===1){this._frameId=null}}var ir=function(){function t(){this.runners=[];this.ids=[]}t.prototype.add=function(t){if(this.runners.includes(t))return;var i=t.id+1;this.runners.push(t);this.ids.push(i);return this};t.prototype.clearBefore=function(t){var i=this.ids.indexOf(t+1)||1;this.ids.splice(0,i,0);this.runners.splice(0,i,new qn).forEach((function(t){return t.clearTransformsFromQueue()}));return this};t.prototype.edit=function(t,i){var n=this.ids.indexOf(t+1);this.ids.splice(n,1,t+1);this.runners.splice(n,1,i);return this};t.prototype.getByID=function(t){return this.runners[this.ids.indexOf(t+1)]};t.prototype.length=function(){return this.ids.length};t.prototype.merge=function(){var t=null;for(var i=0;i<this.runners.length;++i){var n=this.runners[i];var r=t&&n.done&&t.done&&(!n._timeline||!n._timeline._runnerIds.includes(n.id))&&(!t._timeline||!t._timeline._runnerIds.includes(t.id));if(r){this.remove(n.id);var e=n.mergeWith(t);this.edit(t.id,e);t=e;--i}else{t=n}}return this};t.prototype.remove=function(t){var i=this.ids.indexOf(t+1);this.ids.splice(i,1);this.runners.splice(i,1);return this};return t}();o({Element:{animate:function(t,i,n){var r=Un.sanitise(t,i,n);var e=this.timeline();return new Un(r.duration).loop(r).element(this).timeline(e.play()).schedule(r.delay,r.when)},delay:function(t,i){return this.animate(0,t,i)},_clearTransformRunnersBefore:function(t){this._transformationRunners.clearBefore(t.id)},_currentTransform:function(t){return this._transformationRunners.runners.filter((function(i){return i.id<=t.id})).map(Kn).reduce(Wn,new Ft)},_addRunner:function(t){this._transformationRunners.add(t);Xn.cancelImmediate(this._frameId);this._frameId=Xn.immediate(tr.bind(this))},_prepareRunner:function(){if(this._frameId==null){this._transformationRunners=(new ir).add(new qn(new Ft(this)))}}}});var nr=function(t,i){return t.filter((function(t){return!i.includes(t)}))};N(Un,{attr:function(t,i){return this.styleAttr("attr",t,i)},css:function(t,i){return this.styleAttr("css",t,i)},styleAttr:function(t,i,n){var r;if(typeof i==="string"){return this.styleAttr(t,(r={},r[i]=n,r))}var e=i;if(this._tryRetarget(t,e))return this;var s=new An(this._stepper).to(e);var u=Object.keys(e);this.queue((function(){s=s.from(this.element()[t](u))}),(function(i){this.element()[t](s.at(i).valueOf());return s.done()}),(function(i){var n=Object.keys(i);var r=nr(n,u);if(r.length){var h=this.element()[t](r);var o=new Bn(s.from()).valueOf();Object.assign(o,h);s.from(o)}var f=new Bn(s.to()).valueOf();Object.assign(f,i);s.to(f);u=n;e=i}));this._rememberMorpher(t,s);return this},zoom:function(t,i){if(this._tryRetarget("zoom",t,i))return this;var n=new An(this._stepper).to(new vi(t));this.queue((function(){n=n.from(this.element().zoom())}),(function(t){this.element().zoom(n.at(t),i);return n.done()}),(function(t,r){i=r;n.to(t)}));this._rememberMorpher("zoom",n);return this},transform:function(t,i,n){i=t.relative||i;if(this._isDeclarative&&!i&&this._tryRetarget("transform",t)){return this}var r=Ft.isMatrixLike(t);n=t.affine!=null?t.affine:n!=null?n:!r;var e=new An(this._stepper).type(n?Vn:Ft);var s;var u;var h;var o;var f;function a(){u=u||this.element();s=s||g(t,u);f=new Ft(i?undefined:u);u._addRunner(this);if(!i){u._clearTransformRunnersBefore(this)}}function c(a){if(!i)this.clearTransform();var c=new Zt(s).transform(u._currentTransform(this)),v=c.x,l=c.y;var d=new Ft(__assign(__assign({},t),{origin:[v,l]}));var C=this._isDeclarative&&h?h:f;if(n){d=d.decompose(v,l);C=C.decompose(v,l);var w=d.rotate;var p=C.rotate;var g=[w-360,w,w+360];var y=g.map((function(t){return Math.abs(t-p)}));var x=Math.min.apply(Math,y);var m=y.indexOf(x);d.rotate=g[m]}if(i){if(!r){d.rotate=t.rotate||0}if(this._isDeclarative&&o){C.rotate=o}}e.from(C);e.to(d);var _=e.at(a);o=_.rotate;h=new Ft(_);this.addTransform(h);u._addRunner(this);return e.done()}function v(i){if((i.origin||"center").toString()!==(t.origin||"center").toString()){s=g(i,u)}t=__assign(__assign({},i),{origin:s})}this.queue(a,c,v,true);this._isDeclarative&&this._rememberMorpher("transform",e);return this},x:function(t){return this._queueNumber("x",t)},y:function(t){return this._queueNumber("y",t)},ax:function(t){return this._queueNumber("ax",t)},ay:function(t){return this._queueNumber("ay",t)},dx:function(t){if(t===void 0){t=0}return this._queueNumberDelta("x",t)},dy:function(t){if(t===void 0){t=0}return this._queueNumberDelta("y",t)},dmove:function(t,i){return this.dx(t).dy(i)},_queueNumberDelta:function(t,i){i=new vi(i);if(this._tryRetarget(t,i))return this;var n=new An(this._stepper).to(i);var r=null;this.queue((function(){r=this.element()[t]();n.from(r);n.to(r+i)}),(function(i){this.element()[t](n.at(i));return n.done()}),(function(t){n.to(r+new vi(t))}));this._rememberMorpher(t,n);return this},_queueObject:function(t,i){if(this._tryRetarget(t,i))return this;var n=new An(this._stepper).to(i);this.queue((function(){n.from(this.element()[t]())}),(function(i){this.element()[t](n.at(i));return n.done()}));this._rememberMorpher(t,n);return this},_queueNumber:function(t,i){return this._queueObject(t,new vi(i))},cx:function(t){return this._queueNumber("cx",t)},cy:function(t){return this._queueNumber("cy",t)},move:function(t,i){return this.x(t).y(i)},amove:function(t,i){return this.ax(t).ay(i)},center:function(t,i){return this.cx(t).cy(i)},size:function(t,i){var n;if(!t||!i){n=this._element.bbox()}if(!t){t=n.width/n.height*i}if(!i){i=n.height/n.width*t}return this.width(t).height(i)},width:function(t){return this._queueNumber("width",t)},height:function(t){return this._queueNumber("height",t)},plot:function(t,i,n,r){if(arguments.length===4){return this.plot([t,i,n,r])}if(this._tryRetarget("plot",t))return this;var e=new An(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:function(t){return this._queueNumber("leading",t)},viewbox:function(t,i,n,r){return this._queueObject("viewbox",new Gt(t,i,n,r))},update:function(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}});N(Un,{rx:Vi,ry:Oi,from:zi,to:Ni});T(Un,"Runner");var rr=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}var r=t.call(this,H("svg",i),n)||this;r.namespace();return r}i.prototype.defs=function(){if(!this.isRoot())return this.root().defs();return Z(this.node.querySelector("defs"))||this.put(new Ai)};i.prototype.isRoot=function(){return!this.node.parentNode||!(this.node.parentNode instanceof j.window.SVGElement)&&this.node.parentNode.nodeName!=="#document-fragment"};i.prototype.namespace=function(){if(!this.isRoot())return this.root().namespace();return this.attr({xmlns:_,version:"1.1"}).attr("xmlns:xlink",k,M)};i.prototype.removeNamespace=function(){return this.attr({xmlns:null,version:null}).attr("xmlns:xlink",null,M).attr("xmlns:svgjs",null,M)};i.prototype.root=function(){if(this.isRoot())return this;return t.prototype.root.call(this)};return i}(ji);o({Container:{nested:P((function(){return this.put(new rr)}))}});T(rr,"Svg",true);var er=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("symbol",i),n)||this}return i}(ji);o({Container:{symbol:P((function(){return this.put(new er)}))}});T(er,"Symbol");function sr(t){if(this._build===false){this.clear()}this.node.appendChild(j.document.createTextNode(t));return this}function ur(){return this.node.getComputedTextLength()}function hr(t,i){if(i===void 0){i=this.bbox()}if(t==null){return i.x}return this.attr("x",this.attr("x")+t-i.x)}function or(t,i){if(i===void 0){i=this.bbox()}if(t==null){return i.y}return this.attr("y",this.attr("y")+t-i.y)}function fr(t,i,n){if(n===void 0){n=this.bbox()}return this.x(t,n).y(i,n)}function ar(t,i){if(i===void 0){i=this.bbox()}if(t==null){return i.cx}return this.attr("x",this.attr("x")+t-i.cx)}function cr(t,i){if(i===void 0){i=this.bbox()}if(t==null){return i.cy}return this.attr("y",this.attr("y")+t-i.cy)}function vr(t,i,n){if(n===void 0){n=this.bbox()}return this.cx(t,n).cy(i,n)}function lr(t){return this.attr("x",t)}function dr(t){return this.attr("y",t)}function Cr(t,i){return this.ax(t).ay(i)}function wr(t){this._build=!!t;return this}var pr={__proto__:null,amove:Cr,ax:lr,ay:dr,build:wr,center:vr,cx:ar,cy:cr,length:ur,move:fr,plain:sr,x:hr,y:or};var gr=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}var r;var e=t.call(this,H("text",i),n)||this;e.dom.leading=(r=e.dom.leading)!==null&&r!==void 0?r:new vi(1.3);e._rebuild=true;e._build=false;return e}i.prototype.leading=function(t){if(t==null){return this.dom.leading}this.dom.leading=new vi(t);return this.rebuild()};i.prototype.rebuild=function(t){if(typeof t==="boolean"){this._rebuild=t}if(this._rebuild){var i=this;var n=0;var r=this.dom.leading;this.each((function(t){if(x(this.node))return;var e=j.window.getComputedStyle(this.node).getPropertyValue("font-size");var s=r*new vi(e);if(this.dom.newLined){this.attr("x",i.attr("x"));if(this.text()==="\n"){n+=s}else{this.attr("dy",t?s+n:0);n=0}}}));this.fire("rebuild")}return this};i.prototype.setData=function(t){this.dom=t;this.dom.leading=new vi(t.leading||1.3);return this};i.prototype.writeDataToDom=function(){m(this,this.dom,{leading:1.3});return this};i.prototype.text=function(t){if(t===undefined){var i=this.node.childNodes;var n=0;t="";for(var r=0,e=i.length;r<e;++r){if(i[r].nodeName==="textPath"||x(i[r])){if(r===0)n=r+1;continue}if(r!==n&&i[r].nodeType!==3&&Z(i[r]).dom.newLined===true){t+="\n"}t+=i[r].textContent}return t}this.clear().build(true);if(typeof t==="function"){t.call(this,this)}else{t=(t+"").split("\n");for(var s=0,u=t.length;s<u;s++){this.newLine(t[s])}}return this.build(false).rebuild()};return i}(Li);N(gr,pr);o({Container:{text:P((function(t){if(t===void 0){t=""}return this.put(new gr).text(t)})),plain:P((function(t){if(t===void 0){t=""}return this.put(new gr).plain(t)}))}});T(gr,"Text");var yr=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}var r=t.call(this,H("tspan",i),n)||this;r._build=false;return r}i.prototype.dx=function(t){return this.attr("dx",t)};i.prototype.dy=function(t){return this.attr("dy",t)};i.prototype.newLine=function(){this.dom.newLined=true;var t=this.parent();if(!(t instanceof gr)){return this}var i=t.index(this);var n=j.window.getComputedStyle(this.node).getPropertyValue("font-size");var r=t.dom.leading*new vi(n);return this.dy(i?r:0).attr("x",t.x())};i.prototype.text=function(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};return i}(Li);N(yr,pr);o({Tspan:{tspan:P((function(t){if(t===void 0){t=""}var i=new yr;if(!this._build){this.clear()}return this.put(i).text(t)}))},Text:{newLine:function(t){if(t===void 0){t=""}return this.tspan(t).newLine()}}});T(yr,"Tspan");var xr=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("circle",i),n)||this}i.prototype.radius=function(t){return this.attr("r",t)};i.prototype.rx=function(t){return this.attr("r",t)};i.prototype.ry=function(t){return this.rx(t)};i.prototype.size=function(t){return this.radius(new vi(t).divide(2))};return i}(Li);N(xr,{x:Bi,y:Ei,cx:Hi,cy:Zi,width:Si,height:Ti});o({Container:{circle:P((function(t){if(t===void 0){t=0}return this.put(new xr).size(t).move(0,0)}))}});T(xr,"Circle");var mr=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("clipPath",i),n)||this}i.prototype.remove=function(){this.targets().forEach((function(t){t.unclip()}));return t.prototype.remove.call(this)};i.prototype.targets=function(){return Ut("svg [clip-path*="+this.id()+"]")};return i}(ji);o({Container:{clip:P((function(){return this.defs().put(new mr)}))},Element:{clipper:function(){return this.reference("clip-path")},clipWith:function(t){var i=t instanceof mr?t:this.parent().clip().add(t);return this.attr("clip-path","url(#"+i.id()+")")},unclip:function(){return this.attr("clip-path",null)}}});T(mr,"ClipPath");var _r=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("foreignObject",i),n)||this}return i}(gi);o({Container:{foreignObject:P((function(t,i){return this.put(new _r).size(t,i)}))}});T(_r,"ForeignObject");function br(t,i){this.children().forEach((function(n){var r;try{r=n.node instanceof A().SVGSVGElement?new Gt(n.attr(["x","y","width","height"])):n.bbox()}catch(t){return}var e=new Ft(n);var s=e.translate(t,i).transform(e.inverse());var u=new Zt(r.x,r.y).transform(s);n.move(u.x,u.y)}));return this}function Mr(t){return this.dmove(t,0)}function kr(t){return this.dmove(0,t)}function jr(t,i){if(i===void 0){i=this.bbox()}if(t==null)return i.height;return this.size(i.width,t,i)}function Ar(t,i,n){if(t===void 0){t=0}if(i===void 0){i=0}if(n===void 0){n=this.bbox()}var r=t-n.x;var e=i-n.y;return this.dmove(r,e)}function Lr(t,i,n){if(n===void 0){n=this.bbox()}var r=p(this,t,i,n);var e=r.width/n.width;var s=r.height/n.height;this.children().forEach((function(t){var i=new Zt(n).transform(new Ft(t).inverse());t.scale(e,s,i.x,i.y)}));return this}function Vr(t,i){if(i===void 0){i=this.bbox()}if(t==null)return i.width;return this.size(t,i.height,i)}function Or(t,i){if(i===void 0){i=this.bbox()}if(t==null)return i.x;return this.move(t,i.y,i)}function Br(t,i){if(i===void 0){i=this.bbox()}if(t==null)return i.y;return this.move(i.x,t,i)}var Er={__proto__:null,dmove:br,dx:Mr,dy:kr,height:jr,move:Ar,size:Lr,width:Vr,x:Or,y:Br};var Hr=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("g",i),n)||this}return i}(ji);N(Hr,Er);o({Container:{group:P((function(){return this.put(new Hr)}))}});T(Hr,"G");var Zr=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("a",i),n)||this}i.prototype.target=function(t){return this.attr("target",t)};i.prototype.to=function(t){return this.attr("href",t,k)};return i}(ji);N(Zr,Er);o({Container:{link:P((function(t){return this.put(new Zr).to(t)}))},Element:{unlink:function(){var t=this.linker();if(!t)return this;var i=t.parent();if(!i){return this.remove()}var n=i.index(t);i.add(this,n);t.remove();return this},linkTo:function(t){var i=this.linker();if(!i){i=new Zr;this.wrap(i)}if(typeof t==="function"){t.call(i,i)}else{i.to(t)}return this},linker:function(){var t=this.parent();if(t&&t.node.nodeName.toLowerCase()==="a"){return t}return null}}});T(Zr,"A");var Sr=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("mask",i),n)||this}i.prototype.remove=function(){this.targets().forEach((function(t){t.unmask()}));return t.prototype.remove.call(this)};i.prototype.targets=function(){return Ut("svg [mask*="+this.id()+"]")};return i}(ji);o({Container:{mask:P((function(){return this.defs().put(new Sr)}))},Element:{masker:function(){return this.reference("mask")},maskWith:function(t){var i=t instanceof Sr?t:this.parent().mask().add(t);return this.attr("mask","url(#"+i.id()+")")},unmask:function(){return this.attr("mask",null)}}});T(Sr,"Mask");var Tr=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("stop",i),n)||this}i.prototype.update=function(t){if(typeof t==="number"||t instanceof vi){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 vi(t.offset));return this};return i}(gi);o({Gradient:{stop:function(t,i,n){return this.put(new Tr).update(t,i,n)}}});T(Tr,"Stop");function Fr(t,i){if(!t)return"";if(!i)return t;var n=t+"{";for(var r in i){n+=C(r)+":"+i[r]+";"}n+="}";return n}var Dr=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("style",i),n)||this}i.prototype.addText=function(t){if(t===void 0){t=""}this.node.textContent+=t;return this};i.prototype.font=function(t,i,n){if(n===void 0){n={}}return this.rule("@font-face",__assign({fontFamily:t,src:i},n))};i.prototype.rule=function(t,i){return this.addText(Fr(t,i))};return i}(gi);o("Dom",{style:function(t,i){return this.put(new Dr).rule(t,i)},fontface:function(t,i,n){return this.put(new Dr).font(t,i,n)}});T(Dr,"Style");var Ir=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("textPath",i),n)||this}i.prototype.array=function(){var t=this.track();return t?t.array():null};i.prototype.plot=function(t){var i=this.track();var n=null;if(i){n=i.plot(t)}return t==null?n:this};i.prototype.track=function(){return this.reference("href")};return i}(gr);o({Container:{textPath:P((function(t,i){if(!(t instanceof gr)){t=this.text(t)}return t.path(i)}))},Text:{path:P((function(t,i){if(i===void 0){i=true}var n=new Ir;if(!(t instanceof Sn)){t=this.defs().path(t)}n.attr("href","#"+t,k);var r;if(i){while(r=this.node.firstChild){n.node.appendChild(r)}}return this.put(n)})),textPath:function(){return this.findOne("textPath")}},Path:{text:P((function(t){if(!(t instanceof gr)){t=(new gr).addTo(this.parent()).text(t)}return t.path(this)})),targets:function(){var t=this;return Ut("svg textPath").filter((function(i){return(i.attr("href")||"").includes(t.id())}))}}});Ir.prototype.MorphArray=kn;T(Ir,"TextPath");var zr=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("use",i),n)||this}i.prototype.use=function(t,i){return this.attr("href",(i||"")+"#"+t,k)};return i}(Li);o({Container:{use:P((function(t,i){return this.put(new zr).use(t,i)}))}});T(zr,"Use");var Nr=E;N([rr,er,Yi,Ri,tn],f("viewbox"));N([Ki,Gn,Pn,Sn],f("marker"));N(gr,f("Text"));N(Sn,f("Path"));N(Ai,f("Defs"));N([gr,yr],f("Tspan"));N([Rn,Di,Gi,Un],f("radius"));N(hi,f("EventTarget"));N(pi,f("Dom"));N(gi,f("Element"));N(Li,f("Shape"));N([ji,Ii],f("Container"));N(Gi,f("Gradient"));N(Un,f("Runner"));Qt.extend(a());Hn([vi,Ht,Gt,Ft,ci,Xi,kn,Zt]);Zn();function Pr(){var t={entities:[]};var i;var n=[];function r(t,n,r){i=Nr().addTo(t).size(n,r);i.entities=[];i.lines=i.group();i.labels=i.group()}function e(t,i){var n;var r=t.group().attr({id:i.id});t.entities.push(r);i.background_color=i.background_color?i.background_color:"#f06";i.color=i.color?i.color:"#ffffff";i.radius=i.radius?i.radius:0;r.entity=r.rect(i.width,i.height).cx(i.width/2).cy(i.height/2).attr((n={fill:"#ffffff",stroke:i.color},n["stroke-width"]=2,n)).radius(i.radius);if(i.class){r.entity.attr("class",i.class)}r.plain(i.text).cx(14).cy(i.height/2+6).attr({fill:i.color});r.move(i.x,i.y)}function s(){if(t.labels&&t.labels.length>0){t.labels.forEach((function(t){i.labels.text(t.value).x(t.x).y(t.y)}))}}function u(t,i){i.forEach((function(i){return h(t,i)}))}function h(t,i){var n="";var r=i.color||"#4c56cb";var e=t.findOne("#"+i.from.element);var s=t.findOne("#"+i.to.element);var u=o(i,e,s);n+=a(e,i.from.point)+","+c(e,i.from.point)+" ";u.forEach((function(t){return n+=t.x+","+t.y+" "}));if(i.to.point==="top"){n+=a(s,i.to.point)+","+c(s,i.to.point)+" "}else if(i.to.point==="bottom"){n+=a(s,i.to.point)+","+c(s,i.to.point)+" "}else{n+=a(s,i.to.point)+","+c(s,i.to.point)+" "}if(!i.polyline){i.polyline=t.lines.polyline(n).fill("none").stroke({color:r,width:2,linecap:"round",linejoin:"round"}).attr("id",i.id)}else{i.polyline.plot(n)}}function o(t,i,n){var r=[];var e=c(i,t.from.point);var s=c(n,t.to.point);var u=a(i,t.from.point);var h=a(n,t.to.point);var o=f(t.from.point);var v=f(t.to.point);var l=o-v;if(l===0){if(t.from.point==="top"){if(e<=s){r.push({x:u,y:e-20});r.push({x:h,y:e-20})}else{r.push({x:u,y:s-20});r.push({x:h,y:s-20})}}else if(t.from.point==="bottom"){if(e<=s){r.push({x:u,y:s+20});r.push({x:h,y:s+20})}else{r.push({x:u,y:e+20});r.push({x:h,y:e+20})}}else{if(u<=h){r.push({x:h+20,y:e});r.push({x:h+20,y:s})}else{r.push({x:u+20,y:e});r.push({x:u+20,y:s})}}}if(l===2||l===-2){if(u!==h){r.push({x:u,y:s+(e-s)/2});r.push({x:h,y:s+(e-s)/2})}}if(l===1||l===-1||l===3||l===-3){if(t.from.point==="top"){if(e<s+20){r.push({x:u,y:e-20});r.push({x:h+20,y:e-20});r.push({x:h+20,y:s})}else{r.push({x:u,y:s})}}if(t.from.point==="bottom"){if(e>s-20){r.push({x:u,y:e+20});r.push({x:h+20,y:e+20});r.push({x:h+20,y:s})}else{r.push({x:u,y:s})}}}return r}function f(t){switch(t){case"top":return 0;case"bottom":return 2;default:return 3}}function a(t,i){var n=t.entity.attr("width");var r=t.entity.attr("x");switch(i){case"top":case"bottom":return r+n/2;default:return r-n/2}}function c(t,i){var n=t.entity.attr("height");var r=t.entity.attr("y");switch(i){case"top":return r;case"bottom":return r+n;default:return r}}function v(){i.entities.forEach((function(t){return t.remove()}));i.entities=[];n=[];if(!t.labels){t.labels=[]}t.labels=t.labels.map((function(t){return{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((function(t){t.type=t.type?t.type:"entity";if(t.type==="operation"){t.height=t.width}}));s();t.entities.forEach((function(t){return e(i,t)}));n=t.lines;u(i,n)}function l(i){t=i;v()}return{initalize:r,update:l}}var Gr='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}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}';var Rr=Gr;var Yr='<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>';var Xr='<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>';var $r='<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>';var Qr='<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>';var Jr='<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>';var Ur='<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>';var qr='<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>';var Wr='<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>';var Kr='<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>';var te='<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>';var ie='<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>';var ne='<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>';var re='<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>';var ee='<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>';var se='<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>';var ue='<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>';var he='<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>';var oe='<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>';var fe='<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>';var ae='<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>';var ce=140;var ve=40;var le=40;var de=t("verdocs_status_indicator",function(){function t(t){i(this,t);this.size="normal";this.theme="light";this.containerId="verdocs-status-indicator-".concat(Math.random().toString(36).substring(2,11));this.recipientStatusIcons=[]}t.prototype.componentDidLoad=function(){var t=this;var i;this.popper=s(this.summaryComponent,this.detailPanel,{placement:"bottom-start",modifiers:[{name:"offset",options:{offset:[0,10]}}]});if((i=this.envelope)===null||i===void 0?void 0:i.recipients){var n=[];this.envelope.recipients.forEach((function(t){var i=t.sequence-1;n[i]||(n[i]=[]);var r="r-".concat(i,"-").concat(n[i].length);n[i].push(__assign(__assign({},t),{id:r}))}));var r=Object.keys(n).length;var u=r*ve+(r+1)*le;var h=0;Object.values(n).forEach((function(t){var i=t.length*ce+(t.length+1)*le;if(i>h){h=i}}));var o=[];var f=[];var a=[];var c=le;Object.entries(n).forEach((function(i){var r=i[0],s=i[1];var u=s.length*(ce+le);var v=h-u;var l=le/2+v/2;s.forEach((function(i,s){var u;var h=e(i);var v={id:i.id,text:h,icon:t.getStatusIcon(i.status),x:s*(ce+le)+l,y:c,width:ce,height:ve,color:t.getStatusColor(i.status),radius:8};o.push(v);a.push({icon:t.getStatusIcon(i.status),x:s*(ce+le)+l+(ce-32),y:c+ve/2-13});(u=n[+r-1])===null||u===void 0?void 0:u.forEach((function(n){var r={id:"line-".concat(n.id,"-").concat(v.id),from:{element:n.id,point:"bottom"},to:{element:v.id,point:"top"},color:t.getStatusColor(i.status)};f.push(r)}))}));c+=ve+le}));this.recipientStatusIcons=a;var v=Pr();v.initalize("#".concat(this.containerId),h,u);v.update({entities:o,lines:f})}};t.prototype.showDropdown=function(){var t,i;this.isOpen=true;this.detailPanel.setAttribute("data-show","");this.detailPanel.removeAttribute("aria-hidden");(t=this.popper)===null||t===void 0?void 0:t.setOptions((function(t){return __assign(__assign({},t),{modifiers:__spreadArray(__spreadArray([],t.modifiers,true),[{name:"eventListeners",enabled:true}],false)})}));(i=this.popper)===null||i===void 0?void 0:i.update()};t.prototype.handleHideDropdown=function(t){var i,n;if(((i=t===null||t===void 0?void 0:t.target)===null||i===void 0?void 0:i.localName)==="button"&&((n=t===null||t===void 0?void 0:t.target)===null||n===void 0?void 0:n.className)==="arrow"){return}this.hide()};t.prototype.toggleDropdown=function(){if(this.isOpen){this.hide()}else{this.showDropdown()}};t.prototype.hide=function(){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((function(t){return __assign(__assign({},t),{modifiers:__spreadArray(__spreadArray([],t.modifiers,true),[{name:"eventListeners",enabled:false}],false)})}))};t.prototype.getStatusColor=function(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"}};t.prototype.getStatusIcon=function(t){switch(t){case"accepted":return this.theme==="light"?Xr:Yr;case"complete":return this.theme==="light"?Ur:Jr;case"in progress":return this.theme==="light"?te:Kr;case"canceled":return this.theme==="light"?Qr:$r;case"declined":return this.theme==="light"?Wr:qr;case"invited":return this.theme==="light"?te:Kr;case"opened":return this.theme==="light"?ne:ie;case"signed":return this.theme==="light"?ue:se;case"submitted":return this.theme==="light"?ae:fe;case"some-signed":return this.theme==="light"?oe:he;default:case"pending":return this.theme==="light"?ee:re}};t.prototype.getStatusMessage=function(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}};t.prototype.render=function(){var t=this;var i,e;var s=this.status||((i=this.envelope)===null||i===void 0?void 0:i.status)||"pending"||"accepted";if(!this.status&&((e=this.envelope)===null||e===void 0?void 0:e.recipients)){var u=this.envelope.recipients.filter((function(t){return t.status==="submitted"}));if(u.length>0&&u.length!==this.envelope.recipients.length){s="some-signed"}}var h=this.getStatusIcon(s);var o=this.getStatusMessage(s);return n(r,{key:"3111e544a8f287a2b5a501cae08fc88752186477",ref:function(i){return t.summaryComponent=i},class:"".concat(this.theme," ").concat(this.size," ").concat(this.envelope?"has-document":""),"aria-label":"Click to View Details",onClick:function(i){i.stopPropagation();i.preventDefault();t.envelope&&t.toggleDropdown()},onBlur:function(i){return t.envelope&&t.handleHideDropdown(i)}},n("span",{key:"2dd4397db22358d7dd8e495f601c3f31687e400e",class:"icon",innerHTML:h}),n("span",{key:"fb37993d036b1a1552f19fc2bc57565bf3026a44",class:"content"},o),n("div",{key:"5bc4ea53d9eec94c0dfd34662437bf90aaf76d60",class:"detail-panel",ref:function(i){return t.detailPanel=i}},n("div",{key:"e073e793dc4f0bef2d9826fb5b70f62f2495fa45",id:"".concat(this.containerId)}),this.recipientStatusIcons.map((function(t){return n("span",{innerHTML:t.icon,style:{position:"absolute",top:"".concat(t.y,"px"),left:"".concat(t.x,"px")}})}))))};return t}());de.style=Rr}}}));
|
2
|
-
//# sourceMappingURL=p-
|
1
|
+
var __extends=this&&this.__extends||function(){var t=function(i,n){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)if(Object.prototype.hasOwnProperty.call(i,n))t[n]=i[n]};return t(i,n)};return function(i,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(i,n);function r(){this.constructor=i}i.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var i,n=1,r=arguments.length;n<r;n++){i=arguments[n];for(var e in i)if(Object.prototype.hasOwnProperty.call(i,e))t[e]=i[e]}return t};return __assign.apply(this,arguments)};var __spreadArray=this&&this.__spreadArray||function(t,i,n){if(n||arguments.length===2)for(var r=0,e=i.length,s;r<e;r++){if(s||!(r in i)){if(!s)s=Array.prototype.slice.call(i,0,r);s[r]=i[r]}}return t.concat(s||Array.prototype.slice.call(i))};System.register(["./p-99ed75fb.system.js","@verdocs/js-sdk","./p-e0ac9edf.system.js"],(function(t){"use strict";var i,n,r,e,s;return{setters:[function(t){i=t.r;n=t.h;r=t.H},function(t){e=t.formatFullName},function(t){s=t.c}],execute:function(){var u={};var h=[];function o(t,i){if(Array.isArray(t)){for(var n=0,r=t;n<r.length;n++){var e=r[n];o(e,i)}return}if(typeof t==="object"){for(var e in t){o(e,t[e])}return}c(Object.getOwnPropertyNames(i));u[t]=Object.assign(u[t]||{},i)}function f(t){return u[t]||{}}function a(){return __spreadArray([],new Set(h),true)}function c(t){h.push.apply(h,t)}function v(t,i){var n;var r=t.length;var e=[];for(n=0;n<r;n++){e.push(i(t[n]))}return e}function l(t,i){var n;var r=t.length;var e=[];for(n=0;n<r;n++){if(i(t[n])){e.push(t[n])}}return e}function d(t){return t%360*Math.PI/180}function C(t){return t.replace(/([A-Z])/g,(function(t,i){return"-"+i.toLowerCase()}))}function w(t){return t.charAt(0).toUpperCase()+t.slice(1)}function p(t,i,n,r){if(i==null||n==null){r=r||t.bbox();if(i==null){i=r.width/r.height*n}else if(n==null){n=r.height/r.width*i}}return{width:i,height:n}}function g(t,i){var n;var r=t.origin;var e=t.ox!=null?t.ox:t.originX!=null?t.originX:"center";var s=t.oy!=null?t.oy:t.originY!=null?t.originY:"center";if(r!=null){n=Array.isArray(r)?r:typeof r==="object"?[r.x,r.y]:[r,r],e=n[0],s=n[1]}var u=typeof e==="string";var h=typeof s==="string";if(u||h){var o=i.bbox(),f=o.height,a=o.width,c=o.x,v=o.y;if(u){e=e.includes("left")?c:e.includes("right")?c+a:c+a/2}if(h){s=s.includes("top")?v:s.includes("bottom")?v+f:v+f/2}}return[e,s]}var y=new Set(["desc","metadata","title"]);var x=function(t){return y.has(t.nodeName)};var m=function(t,i,n){if(n===void 0){n={}}var r=__assign({},i);for(var e in r){if(r[e].valueOf()===n[e]){delete r[e]}}if(Object.keys(r).length){t.node.setAttribute("data-svgjs",JSON.stringify(r))}else{t.node.removeAttribute("data-svgjs");t.node.removeAttribute("svgjs:data")}};var _="http://www.w3.org/2000/svg";var b="http://www.w3.org/1999/xhtml";var M="http://www.w3.org/2000/xmlns/";var k="http://www.w3.org/1999/xlink";var j={window:typeof window==="undefined"?null:window,document:typeof document==="undefined"?null:document};function A(){return j.window}var L=function(){function t(){}return t}();var V={};var O="___SYMBOL___ROOT___";function B(t,i){if(i===void 0){i=_}return j.document.createElementNS(i,t)}function E(t,i){if(i===void 0){i=false}if(t instanceof L)return t;if(typeof t==="object"){return S(t)}if(t==null){return new V[O]}if(typeof t==="string"&&t.charAt(0)!=="<"){return S(j.document.querySelector(t))}var n=i?j.document.createElement("div"):B("svg");n.innerHTML=t;t=S(n.firstChild);n.removeChild(n.firstChild);return t}function H(t,i){return i&&(i instanceof j.window.Node||i.ownerDocument&&i instanceof i.ownerDocument.defaultView.Node)?i:B(t)}function Z(t){if(!t)return null;if(t.instance instanceof L)return t.instance;if(t.nodeName==="#document-fragment"){return new V.Fragment(t)}var i=w(t.nodeName||"Dom");if(i==="LinearGradient"||i==="RadialGradient"){i="Gradient"}else if(!V[i]){i="Dom"}return new V[i](t)}var S=Z;function T(t,i,n){if(i===void 0){i=t.name}if(n===void 0){n=false}V[i]=t;if(n)V[O]=t;c(Object.getOwnPropertyNames(t.prototype));return t}function F(t){return V[t]}var D=1e3;function I(t){return"Svgjs"+w(t)+D++}function z(t){for(var i=t.children.length-1;i>=0;i--){z(t.children[i])}if(t.id){t.id=I(t.nodeName);return t}return t}function N(t,i){var n,r;t=Array.isArray(t)?t:[t];for(r=t.length-1;r>=0;r--){for(n in i){t[r].prototype[n]=i[n]}}}function P(t){return function(){var i=[];for(var n=0;n<arguments.length;n++){i[n]=arguments[n]}var r=i[i.length-1];if(r&&r.constructor===Object&&!(r instanceof Array)){return t.apply(this,i.slice(0,-1)).attr(r)}else{return t.apply(this,i)}}}function G(){return this.parent().children()}function R(){return this.parent().index(this)}function Y(){return this.siblings()[this.position()+1]}function X(){return this.siblings()[this.position()-1]}function $(){var t=this.position();var i=this.parent();i.add(this.remove(),t+1);return this}function Q(){var t=this.position();var i=this.parent();i.add(this.remove(),t?t-1:0);return this}function J(){var t=this.parent();t.add(this.remove());return this}function U(){var t=this.parent();t.add(this.remove(),0);return this}function q(t){t=E(t);t.remove();var i=this.position();this.parent().add(t,i);return this}function W(t){t=E(t);t.remove();var i=this.position();this.parent().add(t,i+1);return this}function K(t){t=E(t);t.before(this);return this}function tt(t){t=E(t);t.after(this);return this}o("Dom",{siblings:G,position:R,next:Y,prev:X,forward:$,backward:Q,front:J,back:U,before:q,after:W,insertBefore:K,insertAfter:tt});var it=/^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i;var nt=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;var rt=/rgb\((\d+),(\d+),(\d+)\)/;var et=/(#[a-z_][a-z0-9\-_]*)/i;var st=/\)\s*,?\s*/;var ut=/\s/g;var ht=/^#[a-f0-9]{3}$|^#[a-f0-9]{6}$/i;var ot=/^rgb\(/;var ft=/^(\s+)?$/;var at=/^[+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;var ct=/\.(jpg|jpeg|png|gif|svg)(\?[^=]+.*)?/i;var vt=/[\s,]+/;var lt=/[MLHVCSQTAZ]/i;function dt(){var t=this.attr("class");return t==null?[]:t.trim().split(vt)}function Ct(t){return this.classes().indexOf(t)!==-1}function wt(t){if(!this.hasClass(t)){var i=this.classes();i.push(t);this.attr("class",i.join(" "))}return this}function pt(t){if(this.hasClass(t)){this.attr("class",this.classes().filter((function(i){return i!==t})).join(" "))}return this}function gt(t){return this.hasClass(t)?this.removeClass(t):this.addClass(t)}o("Dom",{classes:dt,hasClass:Ct,addClass:wt,removeClass:pt,toggleClass:gt});function yt(t,i){var n={};if(arguments.length===0){this.node.style.cssText.split(/\s*;\s*/).filter((function(t){return!!t.length})).forEach((function(t){var i=t.split(/\s*:\s*/);n[i[0]]=i[1]}));return n}if(arguments.length<2){if(Array.isArray(t)){for(var r=0,e=t;r<e.length;r++){var s=e[r];var u=s;n[s]=this.node.style.getPropertyValue(u)}return n}if(typeof t==="string"){return this.node.style.getPropertyValue(t)}if(typeof t==="object"){for(var s in t){this.node.style.setProperty(s,t[s]==null||ft.test(t[s])?"":t[s])}}}if(arguments.length===2){this.node.style.setProperty(t,i==null||ft.test(i)?"":i)}return this}function xt(){return this.css("display","")}function mt(){return this.css("display","none")}function _t(){return this.css("display")!=="none"}o("Dom",{css:yt,show:xt,hide:mt,visible:_t});function bt(t,i,n){if(t==null){return this.data(v(l(this.node.attributes,(function(t){return t.nodeName.indexOf("data-")===0})),(function(t){return t.nodeName.slice(5)})))}else if(t instanceof Array){var r={};for(var e=0,s=t;e<s.length;e++){var u=s[e];r[u]=this.data(u)}return r}else if(typeof t==="object"){for(i in t){this.data(i,t[i])}}else if(arguments.length<2){try{return JSON.parse(this.attr("data-"+t))}catch(i){return this.attr("data-"+t)}}else{this.attr("data-"+t,i===null?null:n===true||typeof i==="string"||typeof i==="number"?i:JSON.stringify(i))}return this}o("Dom",{data:bt});function Mt(t,i){if(typeof arguments[0]==="object"){for(var n in t){this.remember(n,t[n])}}else if(arguments.length===1){return this.memory()[t]}else{this.memory()[t]=i}return this}function kt(){if(arguments.length===0){this._memory={}}else{for(var t=arguments.length-1;t>=0;t--){delete this.memory()[arguments[t]]}}return this}function jt(){return this._memory=this._memory||{}}o("Dom",{remember:Mt,forget:kt,memory:jt});function At(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 Lt(t){var i=Math.round(t);var n=Math.max(0,Math.min(255,i));var r=n.toString(16);return r.length===1?"0"+r:r}function Vt(t,i){for(var n=i.length;n--;){if(t[i[n]]==null){return false}}return true}function Ot(t,i){var n=Vt(t,"rgb")?{_a:t.r,_b:t.g,_c:t.b,_d:0,space:"rgb"}:Vt(t,"xyz")?{_a:t.x,_b:t.y,_c:t.z,_d:0,space:"xyz"}:Vt(t,"hsl")?{_a:t.h,_b:t.s,_c:t.l,_d:0,space:"hsl"}:Vt(t,"lab")?{_a:t.l,_b:t.a,_c:t.b,_d:0,space:"lab"}:Vt(t,"lch")?{_a:t.l,_b:t.c,_c:t.h,_d:0,space:"lch"}:Vt(t,"cmyk")?{_a:t.c,_b:t.m,_c:t.y,_d:t.k,space:"cmyk"}:{_a:0,_b:0,_c:0,space:"rgb"};n.space=i||n.space;return n}function Bt(t){if(t==="lab"||t==="xyz"||t==="lch"){return true}else{return false}}function Et(t,i,n){if(n<0)n+=1;if(n>1)n-=1;if(n<1/6)return t+(i-t)*6*n;if(n<1/2)return i;if(n<2/3)return t+(i-t)*(2/3-n)*6;return t}var Ht=function(){function t(){var t=[];for(var i=0;i<arguments.length;i++){t[i]=arguments[i]}this.init.apply(this,t)}t.isColor=function(i){return i&&(i instanceof t||this.isRgb(i)||this.test(i))};t.isRgb=function(t){return t&&typeof t.r==="number"&&typeof t.g==="number"&&typeof t.b==="number"};t.random=function(i,n){if(i===void 0){i="vibrant"}var r=Math.random,e=Math.round,s=Math.sin,u=Math.PI;if(i==="vibrant"){var h=(81-57)*r()+57;var o=(83-45)*r()+45;var f=360*r();var a=new t(h,o,f,"lch");return a}else if(i==="sine"){n=n==null?r():n;var c=e(80*s(2*u*n/.5+.01)+150);var v=e(50*s(2*u*n/.5+4.6)+200);var l=e(100*s(2*u*n/.5+2.3)+150);var a=new t(c,v,l);return a}else if(i==="pastel"){var h=(94-86)*r()+86;var o=(26-9)*r()+9;var d=360*r();var a=new t(h,o,d,"lch");return a}else if(i==="dark"){var h=10+10*r();var o=(125-75)*r()+86;var C=360*r();var a=new t(h,o,C,"lch");return a}else if(i==="rgb"){var c=255*r();var v=255*r();var l=255*r();var a=new t(c,v,l);return a}else if(i==="lab"){var h=100*r();var w=256*r()-128;var l=256*r()-128;var a=new t(h,w,l,"lab");return a}else if(i==="grey"){var p=255*r();var a=new t(p,p,p);return a}else{throw new Error("Unsupported random color mode")}};t.test=function(t){return typeof t==="string"&&(ht.test(t)||ot.test(t))};t.prototype.cmyk=function(){var i=this.rgb(),n=i._a,r=i._b,e=i._c;var s=[n,r,e].map((function(t){return t/255})),u=s[0],h=s[1],o=s[2];var f=Math.min(1-u,1-h,1-o);if(f===1){return new t(0,0,0,1,"cmyk")}var a=(1-u-f)/(1-f);var c=(1-h-f)/(1-f);var v=(1-o-f)/(1-f);var l=new t(a,c,v,f,"cmyk");return l};t.prototype.hsl=function(){var i=this.rgb(),n=i._a,r=i._b,e=i._c;var s=[n,r,e].map((function(t){return t/255})),u=s[0],h=s[1],o=s[2];var f=Math.max(u,h,o);var a=Math.min(u,h,o);var c=(f+a)/2;var v=f===a;var l=f-a;var d=v?0:c>.5?l/(2-f-a):l/(f+a);var C=v?0:f===u?((h-o)/l+(h<o?6:0))/6:f===h?((o-u)/l+2)/6:f===o?((u-h)/l+4)/6:0;var w=new t(360*C,100*d,100*c,"hsl");return w};t.prototype.init=function(t,i,n,r,e){if(t===void 0){t=0}if(i===void 0){i=0}if(n===void 0){n=0}if(r===void 0){r=0}if(e===void 0){e="rgb"}t=!t?0:t;if(this.space){for(var s in this.space){delete this[this.space[s]]}}if(typeof t==="number"){e=typeof r==="string"?r:e;r=typeof r==="string"?0:r;Object.assign(this,{_a:t,_b:i,_c:n,_d:r,space:e})}else if(t instanceof Array){this.space=i||(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){var u=Ot(t,i);Object.assign(this,u)}else if(typeof t==="string"){if(ot.test(t)){var h=t.replace(ut,"");var o=rt.exec(h).slice(1,4).map((function(t){return parseInt(t)})),f=o[0],a=o[1],c=o[2];Object.assign(this,{_a:f,_b:a,_c:c,_d:0,space:"rgb"})}else if(ht.test(t)){var v=function(t){return parseInt(t,16)};var l=nt.exec(At(t)).map(v),d=l[1],C=l[2],w=l[3];Object.assign(this,{_a:d,_b:C,_c:w,_d:0,space:"rgb"})}else throw Error("Unsupported string format, can't construct Color")}var p=this,g=p._a,y=p._b,x=p._c,m=p._d;var _=this.space==="rgb"?{r:g,g:y,b:x}:this.space==="xyz"?{x:g,y:y,z:x}:this.space==="hsl"?{h:g,s:y,l:x}:this.space==="lab"?{l:g,a:y,b:x}:this.space==="lch"?{l:g,c:y,h:x}:this.space==="cmyk"?{c:g,m:y,y:x,k:m}:{};Object.assign(this,_)};t.prototype.lab=function(){var i=this.xyz(),n=i.x,r=i.y,e=i.z;var s=116*r-16;var u=500*(n-r);var h=200*(r-e);var o=new t(s,u,h,"lab");return o};t.prototype.lch=function(){var i=this.lab(),n=i.l,r=i.a,e=i.b;var s=Math.sqrt(Math.pow(r,2)+Math.pow(e,2));var u=180*Math.atan2(e,r)/Math.PI;if(u<0){u*=-1;u=360-u}var h=new t(n,s,u,"lch");return h};t.prototype.rgb=function(){if(this.space==="rgb"){return this}else if(Bt(this.space)){var i=this,n=i.x,r=i.y,e=i.z;if(this.space==="lab"||this.space==="lch"){var s=this,u=s.l,h=s.a,o=s.b;if(this.space==="lch"){var f=this,a=f.c,c=f.h;var v=Math.PI/180;h=a*Math.cos(v*c);o=a*Math.sin(v*c)}var l=(u+16)/116;var d=h/500+l;var C=l-o/200;var w=16/116;var p=.008856;var g=7.787;n=.95047*(Math.pow(d,3)>p?Math.pow(d,3):(d-w)/g);r=1*(Math.pow(l,3)>p?Math.pow(l,3):(l-w)/g);e=1.08883*(Math.pow(C,3)>p?Math.pow(C,3):(C-w)/g)}var y=n*3.2406+r*-1.5372+e*-.4986;var x=n*-.9689+r*1.8758+e*.0415;var m=n*.0557+r*-.204+e*1.057;var _=Math.pow;var b=.0031308;var M=y>b?1.055*_(y,1/2.4)-.055:12.92*y;var k=x>b?1.055*_(x,1/2.4)-.055:12.92*x;var j=m>b?1.055*_(m,1/2.4)-.055:12.92*m;var A=new t(255*M,255*k,255*j);return A}else if(this.space==="hsl"){var L=this,V=L.h,O=L.s,u=L.l;V/=360;O/=100;u/=100;if(O===0){u*=255;var B=new t(u,u,u);return B}var E=u<.5?u*(1+O):u+O-u*O;var H=2*u-E;var M=255*Et(H,E,V+1/3);var k=255*Et(H,E,V);var j=255*Et(H,E,V-1/3);var A=new t(M,k,j);return A}else if(this.space==="cmyk"){var Z=this,a=Z.c,S=Z.m,T=Z.y,F=Z.k;var M=255*(1-Math.min(1,a*(1-F)+F));var k=255*(1-Math.min(1,S*(1-F)+F));var j=255*(1-Math.min(1,T*(1-F)+F));var A=new t(M,k,j);return A}else{return this}};t.prototype.toArray=function(){var t=this,i=t._a,n=t._b,r=t._c,e=t._d,s=t.space;return[i,n,r,e,s]};t.prototype.toHex=function(){var t=this._clamped().map(Lt),i=t[0],n=t[1],r=t[2];return"#".concat(i).concat(n).concat(r)};t.prototype.toRgb=function(){var t=this._clamped(),i=t[0],n=t[1],r=t[2];var e="rgb(".concat(i,",").concat(n,",").concat(r,")");return e};t.prototype.toString=function(){return this.toHex()};t.prototype.xyz=function(){var i=this.rgb(),n=i._a,r=i._b,e=i._c;var s=[n,r,e].map((function(t){return t/255})),u=s[0],h=s[1],o=s[2];var f=u>.04045?Math.pow((u+.055)/1.055,2.4):u/12.92;var a=h>.04045?Math.pow((h+.055)/1.055,2.4):h/12.92;var c=o>.04045?Math.pow((o+.055)/1.055,2.4):o/12.92;var v=(f*.4124+a*.3576+c*.1805)/.95047;var l=(f*.2126+a*.7152+c*.0722)/1;var d=(f*.0193+a*.1192+c*.9505)/1.08883;var C=v>.008856?Math.pow(v,1/3):7.787*v+16/116;var w=l>.008856?Math.pow(l,1/3):7.787*l+16/116;var p=d>.008856?Math.pow(d,1/3):7.787*d+16/116;var g=new t(C,w,p,"xyz");return g};t.prototype._clamped=function(){var t=this.rgb(),i=t._a,n=t._b,r=t._c;var e=Math.max,s=Math.min,u=Math.round;var h=function(t){return e(0,s(u(t),255))};return[i,n,r].map(h)};return t}();var Zt=function(){function t(){var t=[];for(var i=0;i<arguments.length;i++){t[i]=arguments[i]}this.init.apply(this,t)}t.prototype.clone=function(){return new t(this)};t.prototype.init=function(t,i){var n={x:0,y:0};var r=Array.isArray(t)?{x:t[0],y:t[1]}:typeof t==="object"?{x:t.x,y:t.y}:{x:t,y:i};this.x=r.x==null?n.x:r.x;this.y=r.y==null?n.y:r.y;return this};t.prototype.toArray=function(){return[this.x,this.y]};t.prototype.transform=function(t){return this.clone().transformO(t)};t.prototype.transformO=function(t){if(!Ft.isMatrixLike(t)){t=new Ft(t)}var i=this,n=i.x,r=i.y;this.x=t.a*n+t.c*r+t.e;this.y=t.b*n+t.d*r+t.f;return this};return t}();function St(t,i){return new Zt(t,i).transformO(this.screenCTM().inverseO())}function Tt(t,i,n){return Math.abs(i-t)<1e-6}var Ft=function(){function t(){var t=[];for(var i=0;i<arguments.length;i++){t[i]=arguments[i]}this.init.apply(this,t)}t.formatTransforms=function(t){var i=t.flip==="both"||t.flip===true;var n=t.flip&&(i||t.flip==="x")?-1:1;var r=t.flip&&(i||t.flip==="y")?-1:1;var e=t.skew&&t.skew.length?t.skew[0]:isFinite(t.skew)?t.skew:isFinite(t.skewX)?t.skewX:0;var s=t.skew&&t.skew.length?t.skew[1]:isFinite(t.skew)?t.skew:isFinite(t.skewY)?t.skewY:0;var u=t.scale&&t.scale.length?t.scale[0]*n:isFinite(t.scale)?t.scale*n:isFinite(t.scaleX)?t.scaleX*n:n;var h=t.scale&&t.scale.length?t.scale[1]*r:isFinite(t.scale)?t.scale*r:isFinite(t.scaleY)?t.scaleY*r:r;var o=t.shear||0;var f=t.rotate||t.theta||0;var a=new Zt(t.origin||t.around||t.ox||t.originX,t.oy||t.originY);var c=a.x;var v=a.y;var l=new Zt(t.position||t.px||t.positionX||NaN,t.py||t.positionY||NaN);var d=l.x;var C=l.y;var w=new Zt(t.translate||t.tx||t.translateX,t.ty||t.translateY);var p=w.x;var g=w.y;var y=new Zt(t.relative||t.rx||t.relativeX,t.ry||t.relativeY);var x=y.x;var m=y.y;return{scaleX:u,scaleY:h,skewX:e,skewY:s,shear:o,theta:f,rx:x,ry:m,tx:p,ty:g,ox:c,oy:v,px:d,py:C}};t.fromArray=function(t){return{a:t[0],b:t[1],c:t[2],d:t[3],e:t[4],f:t[5]}};t.isMatrixLike=function(t){return t.a!=null||t.b!=null||t.c!=null||t.d!=null||t.e!=null||t.f!=null};t.matrixMultiply=function(t,i,n){var r=t.a*i.a+t.c*i.b;var e=t.b*i.a+t.d*i.b;var s=t.a*i.c+t.c*i.d;var u=t.b*i.c+t.d*i.d;var h=t.e+t.a*i.e+t.c*i.f;var o=t.f+t.b*i.e+t.d*i.f;n.a=r;n.b=e;n.c=s;n.d=u;n.e=h;n.f=o;return n};t.prototype.around=function(t,i,n){return this.clone().aroundO(t,i,n)};t.prototype.aroundO=function(t,i,n){var r=t||0;var e=i||0;return this.translateO(-r,-e).lmultiplyO(n).translateO(r,e)};t.prototype.clone=function(){return new t(this)};t.prototype.decompose=function(t,i){if(t===void 0){t=0}if(i===void 0){i=0}var n=this.a;var r=this.b;var e=this.c;var s=this.d;var u=this.e;var h=this.f;var o=n*s-r*e;var f=o>0?1:-1;var a=f*Math.sqrt(n*n+r*r);var c=Math.atan2(f*r,f*n);var v=180/Math.PI*c;var l=Math.cos(c);var d=Math.sin(c);var C=(n*e+r*s)/o;var w=e*a/(C*n-r)||s*a/(C*r+n);var p=u-t+t*l*a+i*(C*l*a-d*w);var g=h-i+t*d*a+i*(C*d*a+l*w);return{scaleX:a,scaleY:w,shear:C,rotate:v,translateX:p,translateY:g,originX:t,originY:i,a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}};t.prototype.equals=function(i){if(i===this)return true;var n=new t(i);return Tt(this.a,n.a)&&Tt(this.b,n.b)&&Tt(this.c,n.c)&&Tt(this.d,n.d)&&Tt(this.e,n.e)&&Tt(this.f,n.f)};t.prototype.flip=function(t,i){return this.clone().flipO(t,i)};t.prototype.flipO=function(t,i){return t==="x"?this.scaleO(-1,1,i,0):t==="y"?this.scaleO(1,-1,0,i):this.scaleO(-1,-1,t,i||t)};t.prototype.init=function(i){var n=t.fromArray([1,0,0,1,0,0]);i=i instanceof gi?i.matrixify():typeof i==="string"?t.fromArray(i.split(vt).map(parseFloat)):Array.isArray(i)?t.fromArray(i):typeof i==="object"&&t.isMatrixLike(i)?i:typeof i==="object"?(new t).transform(i):arguments.length===6?t.fromArray([].slice.call(arguments)):n;this.a=i.a!=null?i.a:n.a;this.b=i.b!=null?i.b:n.b;this.c=i.c!=null?i.c:n.c;this.d=i.d!=null?i.d:n.d;this.e=i.e!=null?i.e:n.e;this.f=i.f!=null?i.f:n.f;return this};t.prototype.inverse=function(){return this.clone().inverseO()};t.prototype.inverseO=function(){var t=this.a;var i=this.b;var n=this.c;var r=this.d;var e=this.e;var s=this.f;var u=t*r-i*n;if(!u)throw new Error("Cannot invert "+this);var h=r/u;var o=-i/u;var f=-n/u;var a=t/u;var c=-(h*e+f*s);var v=-(o*e+a*s);this.a=h;this.b=o;this.c=f;this.d=a;this.e=c;this.f=v;return this};t.prototype.lmultiply=function(t){return this.clone().lmultiplyO(t)};t.prototype.lmultiplyO=function(i){var n=this;var r=i instanceof t?i:new t(i);return t.matrixMultiply(r,n,this)};t.prototype.multiply=function(t){return this.clone().multiplyO(t)};t.prototype.multiplyO=function(i){var n=this;var r=i instanceof t?i:new t(i);return t.matrixMultiply(n,r,this)};t.prototype.rotate=function(t,i,n){return this.clone().rotateO(t,i,n)};t.prototype.rotateO=function(t,i,n){if(i===void 0){i=0}if(n===void 0){n=0}t=d(t);var r=Math.cos(t);var e=Math.sin(t);var s=this,u=s.a,h=s.b,o=s.c,f=s.d,a=s.e,c=s.f;this.a=u*r-h*e;this.b=h*r+u*e;this.c=o*r-f*e;this.d=f*r+o*e;this.e=a*r-c*e+n*e-i*r+i;this.f=c*r+a*e-i*e-n*r+n;return this};t.prototype.scale=function(){var t;return(t=this.clone()).scaleO.apply(t,arguments)};t.prototype.scaleO=function(t,i,n,r){if(i===void 0){i=t}if(n===void 0){n=0}if(r===void 0){r=0}if(arguments.length===3){r=n;n=i;i=t}var e=this,s=e.a,u=e.b,h=e.c,o=e.d,f=e.e,a=e.f;this.a=s*t;this.b=u*i;this.c=h*t;this.d=o*i;this.e=f*t-n*t+n;this.f=a*i-r*i+r;return this};t.prototype.shear=function(t,i,n){return this.clone().shearO(t,i,n)};t.prototype.shearO=function(t,i,n){if(i===void 0){i=0}if(n===void 0){n=0}var r=this,e=r.a,s=r.b,u=r.c,h=r.d,o=r.e,f=r.f;this.a=e+s*t;this.c=u+h*t;this.e=o+f*t-n*t;return this};t.prototype.skew=function(){var t;return(t=this.clone()).skewO.apply(t,arguments)};t.prototype.skewO=function(t,i,n,r){if(i===void 0){i=t}if(n===void 0){n=0}if(r===void 0){r=0}if(arguments.length===3){r=n;n=i;i=t}t=d(t);i=d(i);var e=Math.tan(t);var s=Math.tan(i);var u=this,h=u.a,o=u.b,f=u.c,a=u.d,c=u.e,v=u.f;this.a=h+o*e;this.b=o+h*s;this.c=f+a*e;this.d=a+f*s;this.e=c+v*e-r*e;this.f=v+c*s-n*s;return this};t.prototype.skewX=function(t,i,n){return this.skew(t,0,i,n)};t.prototype.skewY=function(t,i,n){return this.skew(0,t,i,n)};t.prototype.toArray=function(){return[this.a,this.b,this.c,this.d,this.e,this.f]};t.prototype.toString=function(){return"matrix("+this.a+","+this.b+","+this.c+","+this.d+","+this.e+","+this.f+")"};t.prototype.transform=function(i){if(t.isMatrixLike(i)){var n=new t(i);return n.multiplyO(this)}var r=t.formatTransforms(i);var e=this;var s=new Zt(r.ox,r.oy).transform(e),u=s.x,h=s.y;var o=(new t).translateO(r.rx,r.ry).lmultiplyO(e).translateO(-u,-h).scaleO(r.scaleX,r.scaleY).skewO(r.skewX,r.skewY).shearO(r.shear).rotateO(r.theta).translateO(u,h);if(isFinite(r.px)||isFinite(r.py)){var f=new Zt(u,h).transform(o);var a=isFinite(r.px)?r.px-f.x:0;var c=isFinite(r.py)?r.py-f.y:0;o.translateO(a,c)}o.translateO(r.tx,r.ty);return o};t.prototype.translate=function(t,i){return this.clone().translateO(t,i)};t.prototype.translateO=function(t,i){this.e+=t||0;this.f+=i||0;return this};t.prototype.valueOf=function(){return{a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}};return t}();function Dt(){return new Ft(this.node.getCTM())}function It(){try{if(typeof this.isRoot==="function"&&!this.isRoot()){var t=this.rect(1,1);var i=t.node.getScreenCTM();t.remove();return new Ft(i)}return new Ft(this.node.getScreenCTM())}catch(t){console.warn("Cannot get CTM from SVG node ".concat(this.node.nodeName,". Is the element rendered?"));return new Ft}}T(Ft,"Matrix");function zt(){if(!zt.nodes){var t=E().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");var i=t.path().node;zt.nodes={svg:t,path:i}}if(!zt.nodes.svg.node.parentNode){var n=j.document.body||j.document.documentElement;zt.nodes.svg.addTo(n)}return zt.nodes}function Nt(t){return!t.width&&!t.height&&!t.x&&!t.y}function Pt(t){return t===j.document||(j.document.documentElement.contains||function(t){while(t.parentNode){t=t.parentNode}return t===j.document}).call(j.document.documentElement,t)}var Gt=function(){function t(){var t=[];for(var i=0;i<arguments.length;i++){t[i]=arguments[i]}this.init.apply(this,t)}t.prototype.addOffset=function(){this.x+=j.window.pageXOffset;this.y+=j.window.pageYOffset;return new t(this)};t.prototype.init=function(t){var i=[0,0,0,0];t=typeof t==="string"?t.split(vt).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):i;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};t.prototype.isNulled=function(){return Nt(this)};t.prototype.merge=function(i){var n=Math.min(this.x,i.x);var r=Math.min(this.y,i.y);var e=Math.max(this.x+this.width,i.x+i.width)-n;var s=Math.max(this.y+this.height,i.y+i.height)-r;return new t(n,r,e,s)};t.prototype.toArray=function(){return[this.x,this.y,this.width,this.height]};t.prototype.toString=function(){return this.x+" "+this.y+" "+this.width+" "+this.height};t.prototype.transform=function(i){if(!(i instanceof Ft)){i=new Ft(i)}var n=Infinity;var r=-Infinity;var e=Infinity;var s=-Infinity;var u=[new Zt(this.x,this.y),new Zt(this.x2,this.y),new Zt(this.x,this.y2),new Zt(this.x2,this.y2)];u.forEach((function(t){t=t.transform(i);n=Math.min(n,t.x);r=Math.max(r,t.x);e=Math.min(e,t.y);s=Math.max(s,t.y)}));return new t(n,e,r-n,s-e)};return t}();function Rt(t,i,n){var r;try{r=i(t.node);if(Nt(r)&&!Pt(t.node)){throw new Error("Element not in the dom")}}catch(i){r=n(t)}return r}function Yt(){var t=function(t){return t.getBBox()};var i=function(t){try{var i=t.clone().addTo(zt().svg).show();var n=i.node.getBBox();i.remove();return n}catch(i){throw new Error('Getting bbox of element "'.concat(t.node.nodeName,'" is not possible: ').concat(i.toString()))}};var n=Rt(this,t,i);var r=new Gt(n);return r}function Xt(t){var i=function(t){return t.getBoundingClientRect()};var n=function(t){throw new Error('Getting rbox of element "'.concat(t.node.nodeName,'" is not possible'))};var r=Rt(this,i,n);var e=new Gt(r);if(t){return e.transform(t.screenCTM().inverseO())}return e.addOffset()}function $t(t,i){var n=this.bbox();return t>n.x&&i>n.y&&t<n.x+n.width&&i<n.y+n.height}o({viewbox:{viewbox:function(t,i,n,r){if(t==null)return new Gt(this.attr("viewBox"));return this.attr("viewBox",new Gt(t,i,n,r))},zoom:function(t,i){var n=this.attr(["width","height"]),r=n.width,e=n.height;if(!r&&!e||typeof r==="string"||typeof e==="string"){r=this.node.clientWidth;e=this.node.clientHeight}if(!r||!e){throw new Error("Impossible to get absolute width and height. Please provide an absolute width and height attribute on the zooming element")}var s=this.viewbox();var u=r/s.width;var h=e/s.height;var o=Math.min(u,h);if(t==null){return o}var f=o/t;if(f===Infinity)f=Number.MAX_SAFE_INTEGER/100;i=i||new Zt(r/2/u+s.x,e/2/h+s.y);var a=new Gt(s).transform(new Ft({scale:f,origin:i}));return this.viewbox(a)}}});T(Gt,"Box");var Qt=function(t){__extends(i,t);function i(i){if(i===void 0){i=[]}var n=[];for(var r=1;r<arguments.length;r++){n[r-1]=arguments[r]}var e=t.apply(this,__spreadArray([i],n,false))||this;if(typeof i==="number")return e;e.length=0;e.push.apply(e,i);return e}return i}(Array);N([Qt],{each:function(t){var i=[];for(var n=1;n<arguments.length;n++){i[n-1]=arguments[n]}if(typeof t==="function"){return this.map((function(i,n,r){return t.call(i,i,n,r)}))}else{return this.map((function(n){return n[t].apply(n,i)}))}},toArray:function(){return Array.prototype.concat.apply([],this)}});var Jt=["toArray","constructor","each"];Qt.extend=function(t){t=t.reduce((function(t,i){if(Jt.includes(i))return t;if(i[0]==="_")return t;if(i in Array.prototype){t["$"+i]=Array.prototype[i]}t[i]=function(){var t=[];for(var n=0;n<arguments.length;n++){t[n]=arguments[n]}return this.each.apply(this,__spreadArray([i],t,false))};return t}),{});N([Qt],t)};function Ut(t,i){return new Qt(v((i||j.document).querySelectorAll(t),(function(t){return Z(t)})))}function qt(t){return Ut(t,this.node)}function Wt(t){return Z(this.node.querySelector(t))}var Kt=0;var ti={};function ii(t){var i=t.getEventHolder();if(i===j.window)i=ti;if(!i.events)i.events={};return i.events}function ni(t){return t.getEventTarget()}function ri(t){var i=t.getEventHolder();if(i===j.window)i=ti;if(i.events)i.events={}}function ei(t,i,n,r,e){var s=n.bind(r||t);var u=E(t);var h=ii(u);var o=ni(u);i=Array.isArray(i)?i:i.split(vt);if(!n._svgjsListenerId){n._svgjsListenerId=++Kt}i.forEach((function(t){var i=t.split(".")[0];var r=t.split(".")[1]||"*";h[i]=h[i]||{};h[i][r]=h[i][r]||{};h[i][r][n._svgjsListenerId]=s;o.addEventListener(i,s,e||false)}))}function si(t,i,n,r){var e=E(t);var s=ii(e);var u=ni(e);if(typeof n==="function"){n=n._svgjsListenerId;if(!n)return}i=Array.isArray(i)?i:(i||"").split(vt);i.forEach((function(t){var i=t&&t.split(".")[0];var h=t&&t.split(".")[1];var o,f;if(n){if(s[i]&&s[i][h||"*"]){u.removeEventListener(i,s[i][h||"*"][n],r||false);delete s[i][h||"*"][n]}}else if(i&&h){if(s[i]&&s[i][h]){for(f in s[i][h]){si(u,[i,h].join("."),f)}delete s[i][h]}}else if(h){for(t in s){for(o in s[t]){if(h===o){si(u,[t,h].join("."))}}}}else if(i){if(s[i]){for(o in s[i]){si(u,[i,o].join("."))}delete s[i]}}else{for(t in s){si(u,t)}ri(e)}}))}function ui(t,i,n,r){var e=ni(t);if(i instanceof j.window.Event){e.dispatchEvent(i)}else{i=new j.window.CustomEvent(i,__assign({detail:n,cancelable:true},r));e.dispatchEvent(i)}return i}var hi=function(t){__extends(i,t);function i(){return t!==null&&t.apply(this,arguments)||this}i.prototype.addEventListener=function(){};i.prototype.dispatch=function(t,i,n){return ui(this,t,i,n)};i.prototype.dispatchEvent=function(t){var i=this.getEventHolder().events;if(!i)return true;var n=i[t.type];for(var r in n){for(var e in n[r]){n[r][e](t)}}return!t.defaultPrevented};i.prototype.fire=function(t,i,n){this.dispatch(t,i,n);return this};i.prototype.getEventHolder=function(){return this};i.prototype.getEventTarget=function(){return this};i.prototype.off=function(t,i,n){si(this,t,i,n);return this};i.prototype.on=function(t,i,n,r){ei(this,t,i,n,r);return this};i.prototype.removeEventListener=function(){};return i}(L);T(hi,"EventTarget");function oi(){}var fi={duration:400,ease:">",delay:0};var ai={"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 ci=function(t){__extends(i,t);function i(){var i=[];for(var n=0;n<arguments.length;n++){i[n]=arguments[n]}var r=t.apply(this,i)||this;r.init.apply(r,i);return r}i.prototype.clone=function(){return new this.constructor(this)};i.prototype.init=function(t){if(typeof t==="number")return this;this.length=0;this.push.apply(this,this.parse(t));return this};i.prototype.parse=function(t){if(t===void 0){t=[]}if(t instanceof Array)return t;return t.trim().split(vt).map(parseFloat)};i.prototype.toArray=function(){return Array.prototype.concat.apply([],this)};i.prototype.toSet=function(){return new Set(this)};i.prototype.toString=function(){return this.join(" ")};i.prototype.valueOf=function(){var t=[];t.push.apply(t,this);return t};return i}(Array);var vi=function(){function t(){var t=[];for(var i=0;i<arguments.length;i++){t[i]=arguments[i]}this.init.apply(this,t)}t.prototype.convert=function(i){return new t(this.value,i)};t.prototype.divide=function(i){i=new t(i);return new t(this/i,this.unit||i.unit)};t.prototype.init=function(i,n){n=Array.isArray(i)?i[1]:n;i=Array.isArray(i)?i[0]:i;this.value=0;this.unit=n||"";if(typeof i==="number"){this.value=isNaN(i)?0:!isFinite(i)?i<0?-34e37:+34e37:i}else if(typeof i==="string"){n=i.match(it);if(n){this.value=parseFloat(n[1]);if(n[5]==="%"){this.value/=100}else if(n[5]==="s"){this.value*=1e3}this.unit=n[5]}}else{if(i instanceof t){this.value=i.valueOf();this.unit=i.unit}}return this};t.prototype.minus=function(i){i=new t(i);return new t(this-i,this.unit||i.unit)};t.prototype.plus=function(i){i=new t(i);return new t(this+i,this.unit||i.unit)};t.prototype.times=function(i){i=new t(i);return new t(this*i,this.unit||i.unit)};t.prototype.toArray=function(){return[this.value,this.unit]};t.prototype.toJSON=function(){return this.toString()};t.prototype.toString=function(){return(this.unit==="%"?~~(this.value*1e8)/1e6:this.unit==="s"?this.value/1e3:this.value)+this.unit};t.prototype.valueOf=function(){return this.value};return t}();var li=new Set(["fill","stroke","color","bgcolor","stop-color","flood-color","lighting-color"]);var di=[];function Ci(t){di.push(t)}function wi(t,i,n){var r=this;if(t==null){t={};i=this.node.attributes;for(var e=0,s=i;e<s.length;e++){var u=s[e];t[u.nodeName]=at.test(u.nodeValue)?parseFloat(u.nodeValue):u.nodeValue}return t}else if(t instanceof Array){return t.reduce((function(t,i){t[i]=r.attr(i);return t}),{})}else if(typeof t==="object"&&t.constructor===Object){for(i in t)this.attr(i,t[i])}else if(i===null){this.node.removeAttribute(t)}else if(i==null){i=this.node.getAttribute(t);return i==null?ai[t]:at.test(i)?parseFloat(i):i}else{i=di.reduce((function(i,n){return n(t,i,r)}),i);if(typeof i==="number"){i=new vi(i)}else if(li.has(t)&&Ht.isColor(i)){i=new Ht(i)}else if(i.constructor===Array){i=new ci(i)}if(t==="leading"){if(this.leading){this.leading(i)}}else{typeof n==="string"?this.node.setAttributeNS(n,t,i.toString()):this.node.setAttribute(t,i.toString())}if(this.rebuild&&(t==="font-size"||t==="x")){this.rebuild()}}return this}var pi=function(t){__extends(i,t);function i(i,n){var r=t.call(this)||this;r.node=i;r.type=i.nodeName;if(n&&i!==n){r.attr(n)}return r}i.prototype.add=function(t,i){t=E(t);if(t.removeNamespace&&this.node instanceof j.window.SVGElement){t.removeNamespace()}if(i==null){this.node.appendChild(t.node)}else if(t.node!==this.node.childNodes[i]){this.node.insertBefore(t.node,this.node.childNodes[i])}return this};i.prototype.addTo=function(t,i){return E(t).put(this,i)};i.prototype.children=function(){return new Qt(v(this.node.children,(function(t){return Z(t)})))};i.prototype.clear=function(){while(this.node.hasChildNodes()){this.node.removeChild(this.node.lastChild)}return this};i.prototype.clone=function(t,i){if(t===void 0){t=true}if(i===void 0){i=true}this.writeDataToDom();var n=this.node.cloneNode(t);if(i){n=z(n)}return new this.constructor(n)};i.prototype.each=function(t,i){var n=this.children();var r,e;for(r=0,e=n.length;r<e;r++){t.apply(n[r],[r,n]);if(i){n[r].each(t,i)}}return this};i.prototype.element=function(t,n){return this.put(new i(B(t),n))};i.prototype.first=function(){return Z(this.node.firstChild)};i.prototype.get=function(t){return Z(this.node.childNodes[t])};i.prototype.getEventHolder=function(){return this.node};i.prototype.getEventTarget=function(){return this.node};i.prototype.has=function(t){return this.index(t)>=0};i.prototype.html=function(t,i){return this.xml(t,i,b)};i.prototype.id=function(t){if(typeof t==="undefined"&&!this.node.id){this.node.id=I(this.type)}return this.attr("id",t)};i.prototype.index=function(t){return[].slice.call(this.node.childNodes).indexOf(t.node)};i.prototype.last=function(){return Z(this.node.lastChild)};i.prototype.matches=function(t){var i=this.node;var n=i.matches||i.matchesSelector||i.msMatchesSelector||i.mozMatchesSelector||i.webkitMatchesSelector||i.oMatchesSelector||null;return n&&n.call(i,t)};i.prototype.parent=function(t){var i=this;if(!i.node.parentNode)return null;i=Z(i.node.parentNode);if(!t)return i;do{if(typeof t==="string"?i.matches(t):i instanceof t)return i}while(i=Z(i.node.parentNode));return i};i.prototype.put=function(t,i){t=E(t);this.add(t,i);return t};i.prototype.putIn=function(t,i){return E(t).add(this,i)};i.prototype.remove=function(){if(this.parent()){this.parent().removeElement(this)}return this};i.prototype.removeElement=function(t){this.node.removeChild(t.node);return this};i.prototype.replace=function(t){t=E(t);if(this.node.parentNode){this.node.parentNode.replaceChild(t.node,this.node)}return t};i.prototype.round=function(t,i){if(t===void 0){t=2}if(i===void 0){i=null}var n=Math.pow(10,t);var r=this.attr(i);for(var e in r){if(typeof r[e]==="number"){r[e]=Math.round(r[e]*n)/n}}this.attr(r);return this};i.prototype.svg=function(t,i){return this.xml(t,i,_)};i.prototype.toString=function(){return this.id()};i.prototype.words=function(t){this.node.textContent=t;return this};i.prototype.wrap=function(t){var i=this.parent();if(!i){return this.addTo(t)}var n=i.index(this);return i.put(t,n).put(this)};i.prototype.writeDataToDom=function(){this.each((function(){this.writeDataToDom()}));return this};i.prototype.xml=function(t,i,n){if(typeof t==="boolean"){n=i;i=t;t=null}if(t==null||typeof t==="function"){i=i==null?true:i;this.writeDataToDom();var r=this;if(t!=null){r=Z(r.node.cloneNode(true));if(i){var e=t(r);r=e||r;if(e===false)return""}r.each((function(){var i=t(this);var n=i||this;if(i===false){this.remove()}else if(i&&this!==n){this.replace(n)}}),true)}return i?r.node.outerHTML:r.node.innerHTML}i=i==null?false:i;var s=B("wrapper",n);var u=j.document.createDocumentFragment();s.innerHTML=t;for(var h=s.children.length;h--;){u.appendChild(s.firstElementChild)}var o=this.parent();return i?this.replace(u)&&o:this.add(u)};return i}(hi);N(pi,{attr:wi,find:qt,findOne:Wt});T(pi,"Dom");var gi=function(t){__extends(i,t);function i(i,n){var r,e;var s=t.call(this,i,n)||this;s.dom={};s.node.instance=s;if(i.hasAttribute("data-svgjs")||i.hasAttribute("svgjs:data")){s.setData((e=(r=JSON.parse(i.getAttribute("data-svgjs")))!==null&&r!==void 0?r:JSON.parse(i.getAttribute("svgjs:data")))!==null&&e!==void 0?e:{})}return s}i.prototype.center=function(t,i){return this.cx(t).cy(i)};i.prototype.cx=function(t){return t==null?this.x()+this.width()/2:this.x(t-this.width()/2)};i.prototype.cy=function(t){return t==null?this.y()+this.height()/2:this.y(t-this.height()/2)};i.prototype.defs=function(){var t=this.root();return t&&t.defs()};i.prototype.dmove=function(t,i){return this.dx(t).dy(i)};i.prototype.dx=function(t){if(t===void 0){t=0}return this.x(new vi(t).plus(this.x()))};i.prototype.dy=function(t){if(t===void 0){t=0}return this.y(new vi(t).plus(this.y()))};i.prototype.getEventHolder=function(){return this};i.prototype.height=function(t){return this.attr("height",t)};i.prototype.move=function(t,i){return this.x(t).y(i)};i.prototype.parents=function(t){if(t===void 0){t=this.root()}var i=typeof t==="string";if(!i){t=E(t)}var n=new Qt;var r=this;while((r=r.parent())&&r.node!==j.document&&r.nodeName!=="#document-fragment"){n.push(r);if(!i&&r.node===t.node){break}if(i&&r.matches(t)){break}if(r.node===this.root().node){return null}}return n};i.prototype.reference=function(t){t=this.attr(t);if(!t)return null;var i=(t+"").match(et);return i?E(i[1]):null};i.prototype.root=function(){var t=this.parent(F(O));return t&&t.root()};i.prototype.setData=function(t){this.dom=t;return this};i.prototype.size=function(t,i){var n=p(this,t,i);return this.width(new vi(n.width)).height(new vi(n.height))};i.prototype.width=function(t){return this.attr("width",t)};i.prototype.writeDataToDom=function(){m(this,this.dom);return t.prototype.writeDataToDom.call(this)};i.prototype.x=function(t){return this.attr("x",t)};i.prototype.y=function(t){return this.attr("y",t)};return i}(pi);N(gi,{bbox:Yt,rbox:Xt,inside:$t,point:St,ctm:Dt,screenCTM:It});T(gi,"Element");var yi={stroke:["color","width","opacity","linecap","linejoin","miterlimit","dasharray","dashoffset"],fill:["color","opacity","rule"],prefix:function(t,i){return i==="color"?t:t+"-"+i}};["fill","stroke"].forEach((function(t){var i={};var n;i[t]=function(i){if(typeof i==="undefined"){return this.attr(t)}if(typeof i==="string"||i instanceof Ht||Ht.isRgb(i)||i instanceof gi){this.attr(t,i)}else{for(n=yi[t].length-1;n>=0;n--){if(i[yi[t][n]]!=null){this.attr(yi.prefix(t,yi[t][n]),i[yi[t][n]])}}}return this};o(["Element","Runner"],i)}));o(["Element","Runner"],{matrix:function(t,i,n,r,e,s){if(t==null){return new Ft(this)}return this.attr("transform",new Ft(t,i,n,r,e,s))},rotate:function(t,i,n){return this.transform({rotate:t,ox:i,oy:n},true)},skew:function(t,i,n,r){return arguments.length===1||arguments.length===3?this.transform({skew:t,ox:i,oy:n},true):this.transform({skew:[t,i],ox:n,oy:r},true)},shear:function(t,i,n){return this.transform({shear:t,ox:i,oy:n},true)},scale:function(t,i,n,r){return arguments.length===1||arguments.length===3?this.transform({scale:t,ox:i,oy:n},true):this.transform({scale:[t,i],ox:n,oy:r},true)},translate:function(t,i){return this.transform({translate:[t,i]},true)},relative:function(t,i){return this.transform({relative:[t,i]},true)},flip:function(t,i){if(t===void 0){t="both"}if(i===void 0){i="center"}if("xybothtrue".indexOf(t)===-1){i=t;t="both"}return this.transform({flip:t,origin:i},true)},opacity:function(t){return this.attr("opacity",t)}});o("radius",{radius:function(t,i){if(i===void 0){i=t}var n=(this._element||this).type;return n==="radialGradient"?this.attr("r",new vi(t)):this.rx(t).ry(i)}});o("Path",{length:function(){return this.node.getTotalLength()},pointAt:function(t){return new Zt(this.node.getPointAtLength(t))}});o(["Element","Runner"],{font:function(t,i){if(typeof t==="object"){for(i in t)this.font(i,t[i]);return this}return t==="leading"?this.leading(i):t==="anchor"?this.attr("text-anchor",i):t==="size"||t==="family"||t==="weight"||t==="stretch"||t==="variant"||t==="style"?this.attr("font-"+t,i):this.attr(t,i)}});var xi=["click","dblclick","mousedown","mouseup","mouseover","mouseout","mousemove","mouseenter","mouseleave","touchstart","touchmove","touchleave","touchend","touchcancel","contextmenu","wheel","pointerdown","pointermove","pointerup","pointerleave","pointercancel"].reduce((function(t,i){var n=function(t){if(t===null){this.off(i)}else{this.on(i,t)}return this};t[i]=n;return t}),{});o("Element",xi);function mi(){return this.attr("transform",null)}function _i(){var t=(this.attr("transform")||"").split(st).slice(0,-1).map((function(t){var i=t.trim().split("(");return[i[0],i[1].split(vt).map((function(t){return parseFloat(t)}))]})).reverse().reduce((function(t,i){if(i[0]==="matrix"){return t.lmultiply(Ft.fromArray(i[1]))}return t[i[0]].apply(t,i[1])}),new Ft);return t}function bi(t,i){if(this===t)return this;if(x(this.node))return this.addTo(t,i);var n=this.screenCTM();var r=t.screenCTM().inverse();this.addTo(t,i).untransform().transform(r.multiply(n));return this}function Mi(t){return this.toParent(this.root(),t)}function ki(t,i){if(t==null||typeof t==="string"){var n=new Ft(this).decompose();return t==null?n:n[t]}if(!Ft.isMatrixLike(t)){t=__assign(__assign({},t),{origin:g(t,this)})}var r=i===true?this:i||false;var e=new Ft(r).transform(t);return this.attr("transform",e)}o("Element",{untransform:mi,matrixify:_i,toParent:bi,toRoot:Mi,transform:ki});var ji=function(t){__extends(i,t);function i(){return t!==null&&t.apply(this,arguments)||this}i.prototype.flatten=function(){this.each((function(){if(this instanceof i){return this.flatten().ungroup()}}));return this};i.prototype.ungroup=function(t,i){if(t===void 0){t=this.parent()}if(i===void 0){i=t.index(this)}i=i===-1?t.children().length:i;this.each((function(n,r){return r[r.length-n-1].toParent(t,i)}));return this.remove()};return i}(gi);T(ji,"Container");var Ai=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("defs",i),n)||this}i.prototype.flatten=function(){return this};i.prototype.ungroup=function(){return this};return i}(ji);T(Ai,"Defs");var Li=function(t){__extends(i,t);function i(){return t!==null&&t.apply(this,arguments)||this}return i}(gi);T(Li,"Shape");function Vi(t){return this.attr("rx",t)}function Oi(t){return this.attr("ry",t)}function Bi(t){return t==null?this.cx()-this.rx():this.cx(t+this.rx())}function Ei(t){return t==null?this.cy()-this.ry():this.cy(t+this.ry())}function Hi(t){return this.attr("cx",t)}function Zi(t){return this.attr("cy",t)}function Si(t){return t==null?this.rx()*2:this.rx(new vi(t).divide(2))}function Ti(t){return t==null?this.ry()*2:this.ry(new vi(t).divide(2))}var Fi={__proto__:null,cx:Hi,cy:Zi,height:Ti,rx:Vi,ry:Oi,width:Si,x:Bi,y:Ei};var Di=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("ellipse",i),n)||this}i.prototype.size=function(t,i){var n=p(this,t,i);return this.rx(new vi(n.width).divide(2)).ry(new vi(n.height).divide(2))};return i}(Li);N(Di,Fi);o("Container",{ellipse:P((function(t,i){if(t===void 0){t=0}if(i===void 0){i=t}return this.put(new Di).size(t,i).move(0,0)}))});T(Di,"Ellipse");var Ii=function(t){__extends(i,t);function i(i){if(i===void 0){i=j.document.createDocumentFragment()}return t.call(this,i)||this}i.prototype.xml=function(i,n,r){if(typeof i==="boolean"){r=n;n=i;i=null}if(i==null||typeof i==="function"){var e=new pi(B("wrapper",r));e.add(this.node.cloneNode(true));return e.xml(false,r)}return t.prototype.xml.call(this,i,false,r)};return i}(pi);T(Ii,"Fragment");function zi(t,i){return(this._element||this).type==="radialGradient"?this.attr({fx:new vi(t),fy:new vi(i)}):this.attr({x1:new vi(t),y1:new vi(i)})}function Ni(t,i){return(this._element||this).type==="radialGradient"?this.attr({cx:new vi(t),cy:new vi(i)}):this.attr({x2:new vi(t),y2:new vi(i)})}var Pi={__proto__:null,from:zi,to:Ni};var Gi=function(t){__extends(i,t);function i(i,n){return t.call(this,H(i+"Gradient",typeof i==="string"?null:i),n)||this}i.prototype.attr=function(i,n,r){if(i==="transform")i="gradientTransform";return t.prototype.attr.call(this,i,n,r)};i.prototype.bbox=function(){return new Gt};i.prototype.targets=function(){return Ut("svg [fill*="+this.id()+"]")};i.prototype.toString=function(){return this.url()};i.prototype.update=function(t){this.clear();if(typeof t==="function"){t.call(this,this)}return this};i.prototype.url=function(){return"url(#"+this.id()+")"};return i}(ji);N(Gi,Pi);o({Container:{gradient:function(){var t;var i=[];for(var n=0;n<arguments.length;n++){i[n]=arguments[n]}return(t=this.defs()).gradient.apply(t,i)}},Defs:{gradient:P((function(t,i){return this.put(new Gi(t)).update(i)}))}});T(Gi,"Gradient");var Ri=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("pattern",i),n)||this}i.prototype.attr=function(i,n,r){if(i==="transform")i="patternTransform";return t.prototype.attr.call(this,i,n,r)};i.prototype.bbox=function(){return new Gt};i.prototype.targets=function(){return Ut("svg [fill*="+this.id()+"]")};i.prototype.toString=function(){return this.url()};i.prototype.update=function(t){this.clear();if(typeof t==="function"){t.call(this,this)}return this};i.prototype.url=function(){return"url(#"+this.id()+")"};return i}(ji);o({Container:{pattern:function(){var t;var i=[];for(var n=0;n<arguments.length;n++){i[n]=arguments[n]}return(t=this.defs()).pattern.apply(t,i)}},Defs:{pattern:P((function(t,i,n){return this.put(new Ri).update(n).attr({x:0,y:0,width:t,height:i,patternUnits:"userSpaceOnUse"})}))}});T(Ri,"Pattern");var Yi=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("image",i),n)||this}i.prototype.load=function(t,i){if(!t)return this;var n=new j.window.Image;ei(n,"load",(function(t){var r=this.parent(Ri);if(this.width()===0&&this.height()===0){this.size(n.width,n.height)}if(r instanceof Ri){if(r.width()===0&&r.height()===0){r.size(this.width(),this.height())}}if(typeof i==="function"){i.call(this,t)}}),this);ei(n,"load error",(function(){si(n)}));return this.attr("href",n.src=t,k)};return i}(Li);Ci((function(t,i,n){if(t==="fill"||t==="stroke"){if(ct.test(i)){i=n.root().defs().image(i)}}if(i instanceof Yi){i=n.root().defs().pattern(0,0,(function(t){t.add(i)}))}return i}));o({Container:{image:P((function(t,i){return this.put(new Yi).size(0,0).load(t,i)}))}});T(Yi,"Image");var Xi=function(t){__extends(i,t);function i(){return t!==null&&t.apply(this,arguments)||this}i.prototype.bbox=function(){var t=-Infinity;var i=-Infinity;var n=Infinity;var r=Infinity;this.forEach((function(e){t=Math.max(e[0],t);i=Math.max(e[1],i);n=Math.min(e[0],n);r=Math.min(e[1],r)}));return new Gt(n,r,t-n,i-r)};i.prototype.move=function(t,i){var n=this.bbox();t-=n.x;i-=n.y;if(!isNaN(t)&&!isNaN(i)){for(var r=this.length-1;r>=0;r--){this[r]=[this[r][0]+t,this[r][1]+i]}}return this};i.prototype.parse=function(t){if(t===void 0){t=[0,0]}var i=[];if(t instanceof Array){t=Array.prototype.concat.apply([],t)}else{t=t.trim().split(vt).map(parseFloat)}if(t.length%2!==0)t.pop();for(var n=0,r=t.length;n<r;n=n+2){i.push([t[n],t[n+1]])}return i};i.prototype.size=function(t,i){var n;var r=this.bbox();for(n=this.length-1;n>=0;n--){if(r.width)this[n][0]=(this[n][0]-r.x)*t/r.width+r.x;if(r.height)this[n][1]=(this[n][1]-r.y)*i/r.height+r.y}return this};i.prototype.toLine=function(){return{x1:this[0][0],y1:this[0][1],x2:this[1][0],y2:this[1][1]}};i.prototype.toString=function(){var t=[];for(var i=0,n=this.length;i<n;i++){t.push(this[i].join(","))}return t.join(" ")};i.prototype.transform=function(t){return this.clone().transformO(t)};i.prototype.transformO=function(t){if(!Ft.isMatrixLike(t)){t=new Ft(t)}for(var i=this.length;i--;){var n=this[i],r=n[0],e=n[1];this[i][0]=t.a*r+t.c*e+t.e;this[i][1]=t.b*r+t.d*e+t.f}return this};return i}(ci);var $i=Xi;function Qi(t){return t==null?this.bbox().x:this.move(t,this.bbox().y)}function Ji(t){return t==null?this.bbox().y:this.move(this.bbox().x,t)}function Ui(t){var i=this.bbox();return t==null?i.width:this.size(t,i.height)}function qi(t){var i=this.bbox();return t==null?i.height:this.size(i.width,t)}var Wi={__proto__:null,MorphArray:$i,height:qi,width:Ui,x:Qi,y:Ji};var Ki=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("line",i),n)||this}i.prototype.array=function(){return new Xi([[this.attr("x1"),this.attr("y1")],[this.attr("x2"),this.attr("y2")]])};i.prototype.move=function(t,i){return this.attr(this.array().move(t,i).toLine())};i.prototype.plot=function(t,i,n,r){if(t==null){return this.array()}else if(typeof i!=="undefined"){t={x1:t,y1:i,x2:n,y2:r}}else{t=new Xi(t).toLine()}return this.attr(t)};i.prototype.size=function(t,i){var n=p(this,t,i);return this.attr(this.array().size(n.width,n.height).toLine())};return i}(Li);N(Ki,Wi);o({Container:{line:P((function(){var t=[];for(var i=0;i<arguments.length;i++){t[i]=arguments[i]}return Ki.prototype.plot.apply(this.put(new Ki),t[0]!=null?t:[0,0,0,0])}))}});T(Ki,"Line");var tn=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("marker",i),n)||this}i.prototype.height=function(t){return this.attr("markerHeight",t)};i.prototype.orient=function(t){return this.attr("orient",t)};i.prototype.ref=function(t,i){return this.attr("refX",t).attr("refY",i)};i.prototype.toString=function(){return"url(#"+this.id()+")"};i.prototype.update=function(t){this.clear();if(typeof t==="function"){t.call(this,this)}return this};i.prototype.width=function(t){return this.attr("markerWidth",t)};return i}(ji);o({Container:{marker:function(){var t;var i=[];for(var n=0;n<arguments.length;n++){i[n]=arguments[n]}return(t=this.defs()).marker.apply(t,i)}},Defs:{marker:P((function(t,i,n){return this.put(new tn).size(t,i).ref(t/2,i/2).viewbox(0,0,t,i).attr("orient","auto").update(n)}))},marker:{marker:function(t,i,n,r){var e=["marker"];if(t!=="all")e.push(t);e=e.join("-");t=arguments[1]instanceof tn?arguments[1]:this.defs().marker(i,n,r);return this.attr(e,t)}}});T(tn,"Marker");function nn(t,i){return function(n){if(n==null)return this[t];this[t]=n;if(i)i.call(this);return this}}var rn={"-":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,i,n,r){return function(e){if(e<0){if(t>0){return i/t*e}else if(n>0){return r/n*e}else{return 0}}else if(e>1){if(n<1){return(1-r)/(1-n)*e+(r-n)/(1-n)}else if(t<1){return(1-i)/(1-t)*e+(i-t)/(1-t)}else{return 1}}else{return 3*e*Math.pow(1-e,2)*i+3*Math.pow(e,2)*(1-e)*r+Math.pow(e,3)}}},steps:function(t,i){if(i===void 0){i="end"}i=i.split("-").reverse()[0];var n=t;if(i==="none"){--n}else if(i==="both"){++n}return function(r,e){if(e===void 0){e=false}var s=Math.floor(r*t);var u=r*s%1===0;if(i==="start"||i==="both"){++s}if(e&&u){--s}if(r>=0&&s<0){s=0}if(r<=1&&s>n){s=n}return s/n}}};var en=function(){function t(){}t.prototype.done=function(){return false};return t}();var sn=function(t){__extends(i,t);function i(i){if(i===void 0){i=fi.ease}var n=t.call(this)||this;n.ease=rn[i]||i;return n}i.prototype.step=function(t,i,n){if(typeof t!=="number"){return n<1?t:i}return t+(i-t)*this.ease(n)};return i}(en);var un=function(t){__extends(i,t);function i(i){var n=t.call(this)||this;n.stepper=i;return n}i.prototype.done=function(t){return t.done};i.prototype.step=function(t,i,n,r){return this.stepper(t,i,n,r)};return i}(en);function hn(){var t=(this._duration||500)/1e3;var i=this._overshoot||0;var n=1e-10;var r=Math.PI;var e=Math.log(i/100+n);var s=-e/Math.sqrt(r*r+e*e);var u=3.9/(s*t);this.d=2*s*u;this.k=u*u}var on=function(t){__extends(i,t);function i(i,n){if(i===void 0){i=500}if(n===void 0){n=0}var r=t.call(this)||this;r.duration(i).overshoot(n);return r}i.prototype.step=function(t,i,n,r){if(typeof t==="string")return t;r.done=n===Infinity;if(n===Infinity)return i;if(n===0)return t;if(n>100)n=16;n/=1e3;var e=r.velocity||0;var s=-this.d*e-this.k*(t-i);var u=t+e*n+s*n*n/2;r.velocity=e+s*n;r.done=Math.abs(i-u)+Math.abs(e)<.002;return r.done?i:u};return i}(un);N(on,{duration:nn("_duration",hn),overshoot:nn("_overshoot",hn)});var fn=function(t){__extends(i,t);function i(i,n,r,e){if(i===void 0){i=.1}if(n===void 0){n=.01}if(r===void 0){r=0}if(e===void 0){e=1e3}var s=t.call(this)||this;s.p(i).i(n).d(r).windup(e);return s}i.prototype.step=function(t,i,n,r){if(typeof t==="string")return t;r.done=n===Infinity;if(n===Infinity)return i;if(n===0)return t;var e=i-t;var s=(r.integral||0)+e*n;var u=(e-(r.error||0))/n;var 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?i:t+(this.P*e+this.I*s+this.D*u)};return i}(un);N(fn,{windup:nn("_windup"),p:nn("P"),i:nn("I"),d:nn("D")});var an={M:2,L:2,H:1,V:1,C:6,S:4,Q:4,T:2,A:7,Z:0};var cn={M:function(t,i,n){i.x=n.x=t[0];i.y=n.y=t[1];return["M",i.x,i.y]},L:function(t,i){i.x=t[0];i.y=t[1];return["L",t[0],t[1]]},H:function(t,i){i.x=t[0];return["H",t[0]]},V:function(t,i){i.y=t[0];return["V",t[0]]},C:function(t,i){i.x=t[4];i.y=t[5];return["C",t[0],t[1],t[2],t[3],t[4],t[5]]},S:function(t,i){i.x=t[2];i.y=t[3];return["S",t[0],t[1],t[2],t[3]]},Q:function(t,i){i.x=t[2];i.y=t[3];return["Q",t[0],t[1],t[2],t[3]]},T:function(t,i){i.x=t[0];i.y=t[1];return["T",t[0],t[1]]},Z:function(t,i,n){i.x=n.x;i.y=n.y;return["Z"]},A:function(t,i){i.x=t[5];i.y=t[6];return["A",t[0],t[1],t[2],t[3],t[4],t[5],t[6]]}};var vn="mlhvqtcsaz".split("");for(var ln=0,dn=vn.length;ln<dn;++ln){cn[vn[ln]]=function(t){return function(i,n,r){if(t==="H")i[0]=i[0]+n.x;else if(t==="V")i[0]=i[0]+n.y;else if(t==="A"){i[5]=i[5]+n.x;i[6]=i[6]+n.y}else{for(var e=0,s=i.length;e<s;++e){i[e]=i[e]+(e%2?n.y:n.x)}}return cn[t](i,n,r)}}(vn[ln].toUpperCase())}function Cn(t){var i=t.segment[0];return cn[i](t.segment.slice(1),t.p,t.p0)}function wn(t){return t.segment.length&&t.segment.length-1===an[t.segment[0].toUpperCase()]}function pn(t,i){t.inNumber&&gn(t,false);var n=lt.test(i);if(n){t.segment=[i]}else{var r=t.lastCommand;var e=r.toLowerCase();var s=r===e;t.segment=[e==="m"?s?"l":"L":r]}t.inSegment=true;t.lastCommand=t.segment[0];return n}function gn(t,i){if(!t.inNumber)throw new Error("Parser Error");t.number&&t.segment.push(parseFloat(t.number));t.inNumber=i;t.number="";t.pointSeen=false;t.hasExponent=false;if(wn(t)){yn(t)}}function yn(t){t.inSegment=false;if(t.absolute){t.segment=Cn(t)}t.segments.push(t.segment)}function xn(t){if(!t.segment.length)return false;var i=t.segment[0].toUpperCase()==="A";var n=t.segment.length;return i&&(n===4||n===5)}function mn(t){return t.lastToken.toUpperCase()==="E"}var _n=new Set([" ",",","\t","\n","\r","\f"]);function bn(t,i){if(i===void 0){i=true}var n=0;var r="";var e={segment:[],inNumber:false,number:"",lastToken:"",inSegment:false,segments:[],pointSeen:false,hasExponent:false,absolute:i,p0:new Zt,p:new Zt};while(e.lastToken=r,r=t.charAt(n++)){if(!e.inSegment){if(pn(e,r)){continue}}if(r==="."){if(e.pointSeen||e.hasExponent){gn(e,false);--n;continue}e.inNumber=true;e.pointSeen=true;e.number+=r;continue}if(!isNaN(parseInt(r))){if(e.number==="0"||xn(e)){e.inNumber=true;e.number=r;gn(e,true);continue}e.inNumber=true;e.number+=r;continue}if(_n.has(r)){if(e.inNumber){gn(e,false)}continue}if(r==="-"||r==="+"){if(e.inNumber&&!mn(e)){gn(e,false);--n;continue}e.number+=r;e.inNumber=true;continue}if(r.toUpperCase()==="E"){e.number+=r;e.hasExponent=true;continue}if(lt.test(r)){if(e.inNumber){gn(e,false)}else if(!wn(e)){throw new Error("parser Error")}else{yn(e)}--n}}if(e.inNumber){gn(e,false)}if(e.inSegment&&wn(e)){yn(e)}return e.segments}function Mn(t){var i="";for(var n=0,r=t.length;n<r;n++){i+=t[n][0];if(t[n][1]!=null){i+=t[n][1];if(t[n][2]!=null){i+=" ";i+=t[n][2];if(t[n][3]!=null){i+=" ";i+=t[n][3];i+=" ";i+=t[n][4];if(t[n][5]!=null){i+=" ";i+=t[n][5];i+=" ";i+=t[n][6];if(t[n][7]!=null){i+=" ";i+=t[n][7]}}}}}}return i+" "}var kn=function(t){__extends(i,t);function i(){return t!==null&&t.apply(this,arguments)||this}i.prototype.bbox=function(){zt().path.setAttribute("d",this.toString());return new Gt(zt.nodes.path.getBBox())};i.prototype.move=function(t,i){var n=this.bbox();t-=n.x;i-=n.y;if(!isNaN(t)&&!isNaN(i)){for(var r=void 0,e=this.length-1;e>=0;e--){r=this[e][0];if(r==="M"||r==="L"||r==="T"){this[e][1]+=t;this[e][2]+=i}else if(r==="H"){this[e][1]+=t}else if(r==="V"){this[e][1]+=i}else if(r==="C"||r==="S"||r==="Q"){this[e][1]+=t;this[e][2]+=i;this[e][3]+=t;this[e][4]+=i;if(r==="C"){this[e][5]+=t;this[e][6]+=i}}else if(r==="A"){this[e][6]+=t;this[e][7]+=i}}}return this};i.prototype.parse=function(t){if(t===void 0){t="M0 0"}if(Array.isArray(t)){t=Array.prototype.concat.apply([],t).toString()}return bn(t)};i.prototype.size=function(t,i){var n=this.bbox();var r,e;n.width=n.width===0?1:n.width;n.height=n.height===0?1:n.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]-n.x)*t/n.width+n.x;this[r][2]=(this[r][2]-n.y)*i/n.height+n.y}else if(e==="H"){this[r][1]=(this[r][1]-n.x)*t/n.width+n.x}else if(e==="V"){this[r][1]=(this[r][1]-n.y)*i/n.height+n.y}else if(e==="C"||e==="S"||e==="Q"){this[r][1]=(this[r][1]-n.x)*t/n.width+n.x;this[r][2]=(this[r][2]-n.y)*i/n.height+n.y;this[r][3]=(this[r][3]-n.x)*t/n.width+n.x;this[r][4]=(this[r][4]-n.y)*i/n.height+n.y;if(e==="C"){this[r][5]=(this[r][5]-n.x)*t/n.width+n.x;this[r][6]=(this[r][6]-n.y)*i/n.height+n.y}}else if(e==="A"){this[r][1]=this[r][1]*t/n.width;this[r][2]=this[r][2]*i/n.height;this[r][6]=(this[r][6]-n.x)*t/n.width+n.x;this[r][7]=(this[r][7]-n.y)*i/n.height+n.y}}return this};i.prototype.toString=function(){return Mn(this)};return i}(ci);var jn=function(t){var i=typeof t;if(i==="number"){return vi}else if(i==="string"){if(Ht.isColor(t)){return Ht}else if(vt.test(t)){return lt.test(t)?kn:ci}else if(it.test(t)){return vi}else{return Ln}}else if(En.indexOf(t.constructor)>-1){return t.constructor}else if(Array.isArray(t)){return ci}else if(i==="object"){return Bn}else{return Ln}};var An=function(){function t(t){this._stepper=t||new sn("-");this._from=null;this._to=null;this._type=null;this._context=null;this._morphObj=null}t.prototype.at=function(t){return this._morphObj.morph(this._from,this._to,t,this._stepper,this._context)};t.prototype.done=function(){var t=this._context.map(this._stepper.done).reduce((function(t,i){return t&&i}),true);return t};t.prototype.from=function(t){if(t==null){return this._from}this._from=this._set(t);return this};t.prototype.stepper=function(t){if(t==null)return this._stepper;this._stepper=t;return this};t.prototype.to=function(t){if(t==null){return this._to}this._to=this._set(t);return this};t.prototype.type=function(t){if(t==null){return this._type}this._type=t;return this};t.prototype._set=function(t){if(!this._type){this.type(jn(t))}var i=new this._type(t);if(this._type===Ht){i=this._to?i[this._to[4]]():this._from?i[this._from[4]]():i}if(this._type===Bn){i=this._to?i.align(this._to):this._from?i.align(this._from):i}i=i.toConsumable();this._morphObj=this._morphObj||new this._type;this._context=this._context||Array.apply(null,Array(i.length)).map(Object).map((function(t){t.done=true;return t}));return i};return t}();var Ln=function(){function t(){var t=[];for(var i=0;i<arguments.length;i++){t[i]=arguments[i]}this.init.apply(this,t)}t.prototype.init=function(t){t=Array.isArray(t)?t[0]:t;this.value=t;return this};t.prototype.toArray=function(){return[this.value]};t.prototype.valueOf=function(){return this.value};return t}();var Vn=function(){function t(){var t=[];for(var i=0;i<arguments.length;i++){t[i]=arguments[i]}this.init.apply(this,t)}t.prototype.init=function(i){if(Array.isArray(i)){i={scaleX:i[0],scaleY:i[1],shear:i[2],rotate:i[3],translateX:i[4],translateY:i[5],originX:i[6],originY:i[7]}}Object.assign(this,t.defaults,i);return this};t.prototype.toArray=function(){var t=this;return[t.scaleX,t.scaleY,t.shear,t.rotate,t.translateX,t.translateY,t.originX,t.originY]};return t}();Vn.defaults={scaleX:1,scaleY:1,shear:0,rotate:0,translateX:0,translateY:0,originX:0,originY:0};var On=function(t,i){return t[0]<i[0]?-1:t[0]>i[0]?1:0};var Bn=function(){function t(){var t=[];for(var i=0;i<arguments.length;i++){t[i]=arguments[i]}this.init.apply(this,t)}t.prototype.align=function(t){var i;var n=this.values;for(var r=0,e=n.length;r<e;++r){if(n[r+1]===t[r+1]){if(n[r+1]===Ht&&t[r+7]!==n[r+7]){var s=t[r+7];var u=new Ht(this.values.splice(r+3,5))[s]().toArray();(i=this.values).splice.apply(i,__spreadArray([r+3,0],u,false))}r+=n[r+2]+2;continue}if(!t[r+1]){return this}var h=(new t[r+1]).toArray();var o=n[r+2]+3;n.splice.apply(n,__spreadArray([r,o,t[r],t[r+1],t[r+2]],h,false));r+=n[r+2]+2}return this};t.prototype.init=function(t){this.values=[];if(Array.isArray(t)){this.values=t.slice();return}t=t||{};var i=[];for(var n in t){var r=jn(t[n]);var e=new r(t[n]).toArray();i.push(__spreadArray([n,r,e.length],e,true))}i.sort(On);this.values=i.reduce((function(t,i){return t.concat(i)}),[]);return this};t.prototype.toArray=function(){return this.values};t.prototype.valueOf=function(){var t={};var i=this.values;while(i.length){var n=i.shift();var r=i.shift();var e=i.shift();var s=i.splice(0,e);t[n]=new r(s)}return t};return t}();var En=[Ln,Vn,Bn];function Hn(t){if(t===void 0){t=[]}En.push.apply(En,[].concat(t))}function Zn(){N(En,{to:function(t){return(new An).type(this.constructor).from(this.toArray()).to(t)},fromArray:function(t){this.init(t);return this},toConsumable:function(){return this.toArray()},morph:function(t,i,n,r,e){var s=function(t,s){return r.step(t,i[s],n,e[s],e)};return this.fromArray(t.map(s))}})}var Sn=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("path",i),n)||this}i.prototype.array=function(){return this._array||(this._array=new kn(this.attr("d")))};i.prototype.clear=function(){delete this._array;return this};i.prototype.height=function(t){return t==null?this.bbox().height:this.size(this.bbox().width,t)};i.prototype.move=function(t,i){return this.attr("d",this.array().move(t,i))};i.prototype.plot=function(t){return t==null?this.array():this.clear().attr("d",typeof t==="string"?t:this._array=new kn(t))};i.prototype.size=function(t,i){var n=p(this,t,i);return this.attr("d",this.array().size(n.width,n.height))};i.prototype.width=function(t){return t==null?this.bbox().width:this.size(t,this.bbox().height)};i.prototype.x=function(t){return t==null?this.bbox().x:this.move(t,this.bbox().y)};i.prototype.y=function(t){return t==null?this.bbox().y:this.move(this.bbox().x,t)};return i}(Li);Sn.prototype.MorphArray=kn;o({Container:{path:P((function(t){return this.put(new Sn).plot(t||new kn)}))}});T(Sn,"Path");function Tn(){return this._array||(this._array=new Xi(this.attr("points")))}function Fn(){delete this._array;return this}function Dn(t,i){return this.attr("points",this.array().move(t,i))}function In(t){return t==null?this.array():this.clear().attr("points",typeof t==="string"?t:this._array=new Xi(t))}function zn(t,i){var n=p(this,t,i);return this.attr("points",this.array().size(n.width,n.height))}var Nn={__proto__:null,array:Tn,clear:Fn,move:Dn,plot:In,size:zn};var Pn=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("polygon",i),n)||this}return i}(Li);o({Container:{polygon:P((function(t){return this.put(new Pn).plot(t||new Xi)}))}});N(Pn,Wi);N(Pn,Nn);T(Pn,"Polygon");var Gn=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("polyline",i),n)||this}return i}(Li);o({Container:{polyline:P((function(t){return this.put(new Gn).plot(t||new Xi)}))}});N(Gn,Wi);N(Gn,Nn);T(Gn,"Polyline");var Rn=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("rect",i),n)||this}return i}(Li);N(Rn,{rx:Vi,ry:Oi});o({Container:{rect:P((function(t,i){return this.put(new Rn).size(t,i)}))}});T(Rn,"Rect");var Yn=function(){function t(){this._first=null;this._last=null}t.prototype.first=function(){return this._first&&this._first.value};t.prototype.last=function(){return this._last&&this._last.value};t.prototype.push=function(t){var i=typeof t.next!=="undefined"?t:{value:t,next:null,prev:null};if(this._last){i.prev=this._last;this._last.next=i;this._last=i}else{this._last=i;this._first=i}return i};t.prototype.remove=function(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};t.prototype.shift=function(){var 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};return t}();var Xn={nextDraw:null,frames:new Yn,timeouts:new Yn,immediates:new Yn,timer:function(){return j.window.performance||j.window.Date},transforms:[],frame:function(t){var i=Xn.frames.push({run:t});if(Xn.nextDraw===null){Xn.nextDraw=j.window.requestAnimationFrame(Xn._draw)}return i},timeout:function(t,i){i=i||0;var n=Xn.timer().now()+i;var r=Xn.timeouts.push({run:t,time:n});if(Xn.nextDraw===null){Xn.nextDraw=j.window.requestAnimationFrame(Xn._draw)}return r},immediate:function(t){var i=Xn.immediates.push(t);if(Xn.nextDraw===null){Xn.nextDraw=j.window.requestAnimationFrame(Xn._draw)}return i},cancelFrame:function(t){t!=null&&Xn.frames.remove(t)},clearTimeout:function(t){t!=null&&Xn.timeouts.remove(t)},cancelImmediate:function(t){t!=null&&Xn.immediates.remove(t)},_draw:function(t){var i=null;var n=Xn.timeouts.last();while(i=Xn.timeouts.shift()){if(t>=i.time){i.run()}else{Xn.timeouts.push(i)}if(i===n)break}var r=null;var e=Xn.frames.last();while(r!==e&&(r=Xn.frames.shift())){r.run(t)}var s=null;while(s=Xn.immediates.shift()){s()}Xn.nextDraw=Xn.timeouts.first()||Xn.frames.first()?j.window.requestAnimationFrame(Xn._draw):null}};var $n=function(t){var i=t.start;var n=t.runner.duration();var r=i+n;return{start:i,duration:n,end:r,runner:t.runner}};var Qn=function(){var t=j.window;return(t.performance||t.Date).now()};var Jn=function(t){__extends(i,t);function i(i){if(i===void 0){i=Qn}var n=t.call(this)||this;n._timeSource=i;n.terminate();return n}i.prototype.active=function(){return!!this._nextFrame};i.prototype.finish=function(){this.time(this.getEndTimeOfTimeline()+1);return this.pause()};i.prototype.getEndTime=function(){var t=this.getLastRunnerInfo();var i=t?t.runner.duration():0;var n=t?t.start:this._time;return n+i};i.prototype.getEndTimeOfTimeline=function(){var t=this._runners.map((function(t){return t.start+t.runner.duration()}));return Math.max.apply(Math,__spreadArray([0],t,false))};i.prototype.getLastRunnerInfo=function(){return this.getRunnerInfoById(this._lastRunnerId)};i.prototype.getRunnerInfoById=function(t){return this._runners[this._runnerIds.indexOf(t)]||null};i.prototype.pause=function(){this._paused=true;return this._continue()};i.prototype.persist=function(t){if(t==null)return this._persist;this._persist=t;return this};i.prototype.play=function(){this._paused=false;return this.updateTime()._continue()};i.prototype.reverse=function(t){var i=this.speed();if(t==null)return this.speed(-i);var n=Math.abs(i);return this.speed(t?-n:n)};i.prototype.schedule=function(t,i,n){if(t==null){return this._runners.map($n)}var r=0;var e=this.getEndTime();i=i||0;if(n==null||n==="last"||n==="after"){r=e}else if(n==="absolute"||n==="start"){r=i;i=0}else if(n==="now"){r=this._time}else if(n==="relative"){var s=this.getRunnerInfoById(t.id);if(s){r=s.start+i;i=0}}else if(n==="with-last"){var u=this.getLastRunnerInfo();var h=u?u.start:this._time;r=h}else{throw new Error('Invalid value for the "when" parameter')}t.unschedule();t.timeline(this);var o=t.persist();var f={persist:o===null?this._persist:o,start:r+i,runner:t};this._lastRunnerId=t.id;this._runners.push(f);this._runners.sort((function(t,i){return t.start-i.start}));this._runnerIds=this._runners.map((function(t){return t.runner.id}));this.updateTime()._continue();return this};i.prototype.seek=function(t){return this.time(this._time+t)};i.prototype.source=function(t){if(t==null)return this._timeSource;this._timeSource=t;return this};i.prototype.speed=function(t){if(t==null)return this._speed;this._speed=t;return this};i.prototype.stop=function(){this.time(0);return this.pause()};i.prototype.time=function(t){if(t==null)return this._time;this._time=t;return this._continue(true)};i.prototype.unschedule=function(t){var i=this._runnerIds.indexOf(t.id);if(i<0)return this;this._runners.splice(i,1);this._runnerIds.splice(i,1);t.timeline(null);return this};i.prototype.updateTime=function(){if(!this.active()){this._lastSourceTime=this._timeSource()}return this};i.prototype._continue=function(t){if(t===void 0){t=false}Xn.cancelFrame(this._nextFrame);this._nextFrame=null;if(t)return this._stepImmediate();if(this._paused)return this;this._nextFrame=Xn.frame(this._step);return this};i.prototype._stepFn=function(t){if(t===void 0){t=false}var i=this._timeSource();var n=i-this._lastSourceTime;if(t)n=0;var r=this._speed*n+(this._time-this._lastStepTime);this._lastSourceTime=i;if(!t){this._time+=r;this._time=this._time<0?0:this._time}this._lastStepTime=this._time;this.fire("time",this._time);for(var e=this._runners.length;e--;){var s=this._runners[e];var u=s.runner;var h=this._time-s.start;if(h<=0){u.reset()}}var o=false;for(var f=0,a=this._runners.length;f<a;f++){var s=this._runners[f];var u=s.runner;var c=r;var h=this._time-s.start;if(h<=0){o=true;continue}else if(h<c){c=h}if(!u.active())continue;var v=u.step(c).done;if(!v){o=true}else if(s.persist!==true){var l=u.duration()-u.time()+this._time;if(l+s.persist<this._time){u.unschedule();--f;--a}}}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};i.prototype.terminate=function(){this._startTime=0;this._speed=1;this._persist=0;this._nextFrame=null;this._paused=true;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)};return i}(hi);o({Element:{timeline:function(t){if(t==null){this._timeline=this._timeline||new Jn;return this._timeline}else{this._timeline=t;return this}}}});var Un=function(t){__extends(i,t);function i(n){var r=t.call(this)||this;r.id=i.id++;n=n==null?fi.duration:n;n=typeof n==="function"?new un(n):n;r._element=null;r._timeline=null;r.done=false;r._queue=[];r._duration=typeof n==="number"&&n;r._isDeclarative=n instanceof un;r._stepper=r._isDeclarative?n:new sn;r._history={};r.enabled=true;r._time=0;r._lastTime=0;r._reseted=true;r.transforms=new Ft;r.transformId=1;r._haveReversed=false;r._reverse=false;r._loopsDone=0;r._swing=false;r._wait=0;r._times=1;r._frameId=null;r._persist=r._isDeclarative?true:null;return r}i.sanitise=function(t,i,n){var r,e,s,u,h;var o=1;var f=false;var a=0;t=t!==null&&t!==void 0?t:fi.duration;i=i!==null&&i!==void 0?i:fi.delay;n=n||"last";if(typeof t==="object"&&!(t instanceof en)){i=(r=t.delay)!==null&&r!==void 0?r:i;n=(e=t.when)!==null&&e!==void 0?e:n;f=t.swing||f;o=(s=t.times)!==null&&s!==void 0?s:o;a=(u=t.wait)!==null&&u!==void 0?u:a;t=(h=t.duration)!==null&&h!==void 0?h:fi.duration}return{duration:t,delay:i,swing:f,times:o,wait:a,when:n}};i.prototype.active=function(t){if(t==null)return this.enabled;this.enabled=t;return this};i.prototype.addTransform=function(t){this.transforms.lmultiplyO(t);return this};i.prototype.after=function(t){return this.on("finished",t)};i.prototype.animate=function(t,n,r){var e=i.sanitise(t,n,r);var s=new i(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)};i.prototype.clearTransform=function(){this.transforms=new Ft;return this};i.prototype.clearTransformsFromQueue=function(){if(!this.done||!this._timeline||!this._timeline._runnerIds.includes(this.id)){this._queue=this._queue.filter((function(t){return!t.isTransform}))}};i.prototype.delay=function(t){return this.animate(0,t)};i.prototype.duration=function(){return this._times*(this._wait+this._duration)-this._wait};i.prototype.during=function(t){return this.queue(null,t)};i.prototype.ease=function(t){this._stepper=new sn(t);return this};i.prototype.element=function(t){if(t==null)return this._element;this._element=t;t._prepareRunner();return this};i.prototype.finish=function(){return this.step(Infinity)};i.prototype.loop=function(t,i,n){if(typeof t==="object"){i=t.swing;n=t.wait;t=t.times}this._times=t||Infinity;this._swing=i||false;this._wait=n||0;if(this._times===true){this._times=Infinity}return this};i.prototype.loops=function(t){var i=this._duration+this._wait;if(t==null){var n=Math.floor(this._time/i);var r=this._time-n*i;var e=r/this._duration;return Math.min(n+e,this._times)}var s=Math.floor(t);var u=t%1;var h=i*s+this._duration*u;return this.time(h)};i.prototype.persist=function(t){if(t==null)return this._persist;this._persist=t;return this};i.prototype.position=function(t){var i=this._time;var n=this._duration;var r=this._wait;var e=this._times;var s=this._swing;var u=this._reverse;var h;if(t==null){var o=function(t){var i=s*Math.floor(t%(2*(r+n))/(r+n));var e=i&&!u||!i&&u;var h=Math.pow(-1,e)*(t%(r+n))/n+e;var o=Math.max(Math.min(h,1),0);return o};var f=e*(r+n)-r;h=i<=0?Math.round(o(1e-5)):i<f?o(i):Math.round(o(f-1e-5));return h}var a=Math.floor(this.loops());var c=s&&a%2===0;var v=c&&!u||u&&c;h=a+(v?t:1-t);return this.loops(h)};i.prototype.progress=function(t){if(t==null){return Math.min(1,this._time/this.duration())}return this.time(t*this.duration())};i.prototype.queue=function(t,i,n,r){this._queue.push({initialiser:t||oi,runner:i||oi,retarget:n,isTransform:r,initialised:false,finished:false});var e=this.timeline();e&&this.timeline()._continue();return this};i.prototype.reset=function(){if(this._reseted)return this;this.time(0);this._reseted=true;return this};i.prototype.reverse=function(t){this._reverse=t==null?!this._reverse:t;return this};i.prototype.schedule=function(t,i,n){if(!(t instanceof Jn)){n=i;i=t;t=this.timeline()}if(!t){throw Error("Runner cannot be scheduled without timeline")}t.schedule(this,i,n);return this};i.prototype.step=function(t){if(!this.enabled)return this;t=t==null?16:t;this._time+=t;var i=this.position();var n=this._lastPosition!==i&&this._time>=0;this._lastPosition=i;var r=this.duration();var e=this._lastTime<=0&&this._time>0;var s=this._lastTime<r&&this._time>=r;this._lastTime=this._time;if(e){this.fire("start",this)}var u=this._isDeclarative;this.done=!u&&!s&&this._time>=r;this._reseted=false;var h=false;if(n||u){this._initialise(n);this.transforms=new Ft;h=this._run(u?t:i);this.fire("step",this)}this.done=this.done||h&&u;if(s){this.fire("finished",this)}return this};i.prototype.time=function(t){if(t==null){return this._time}var i=t-this._time;this.step(i);return this};i.prototype.timeline=function(t){if(typeof t==="undefined")return this._timeline;this._timeline=t;return this};i.prototype.unschedule=function(){var t=this.timeline();t&&t.unschedule(this);return this};i.prototype._initialise=function(t){if(!t&&!this._isDeclarative)return;for(var i=0,n=this._queue.length;i<n;++i){var r=this._queue[i];var e=this._isDeclarative||!r.initialised&&t;t=!r.finished;if(e&&t){r.initialiser.call(this);r.initialised=true}}};i.prototype._rememberMorpher=function(t,i){this._history[t]={morpher:i,caller:this._queue[this._queue.length-1]};if(this._isDeclarative){var n=this.timeline();n&&n.play()}};i.prototype._run=function(t){var i=true;for(var n=0,r=this._queue.length;n<r;++n){var e=this._queue[n];var s=e.runner.call(this,t);e.finished=e.finished||s===true;i=i&&e.finished}return i};i.prototype._tryRetarget=function(t,i,n){if(this._history[t]){if(!this._history[t].caller.initialised){var r=this._queue.indexOf(this._history[t].caller);this._queue.splice(r,1);return false}if(this._history[t].caller.retarget){this._history[t].caller.retarget.call(this,i,n)}else{this._history[t].morpher.to(i)}this._history[t].caller.finished=false;var e=this.timeline();e&&e.play();return true}return false};return i}(hi);Un.id=0;var qn=function(){function t(t,i,n){if(t===void 0){t=new Ft}if(i===void 0){i=-1}if(n===void 0){n=true}this.transforms=t;this.id=i;this.done=n}t.prototype.clearTransformsFromQueue=function(){};return t}();N([Un,qn],{mergeWith:function(t){return new qn(t.transforms.lmultiply(this.transforms),t.id)}});var Wn=function(t,i){return t.lmultiplyO(i)};var Kn=function(t){return t.transforms};function tr(){var t=this._transformationRunners.runners;var i=t.map(Kn).reduce(Wn,new Ft);this.transform(i);this._transformationRunners.merge();if(this._transformationRunners.length()===1){this._frameId=null}}var ir=function(){function t(){this.runners=[];this.ids=[]}t.prototype.add=function(t){if(this.runners.includes(t))return;var i=t.id+1;this.runners.push(t);this.ids.push(i);return this};t.prototype.clearBefore=function(t){var i=this.ids.indexOf(t+1)||1;this.ids.splice(0,i,0);this.runners.splice(0,i,new qn).forEach((function(t){return t.clearTransformsFromQueue()}));return this};t.prototype.edit=function(t,i){var n=this.ids.indexOf(t+1);this.ids.splice(n,1,t+1);this.runners.splice(n,1,i);return this};t.prototype.getByID=function(t){return this.runners[this.ids.indexOf(t+1)]};t.prototype.length=function(){return this.ids.length};t.prototype.merge=function(){var t=null;for(var i=0;i<this.runners.length;++i){var n=this.runners[i];var r=t&&n.done&&t.done&&(!n._timeline||!n._timeline._runnerIds.includes(n.id))&&(!t._timeline||!t._timeline._runnerIds.includes(t.id));if(r){this.remove(n.id);var e=n.mergeWith(t);this.edit(t.id,e);t=e;--i}else{t=n}}return this};t.prototype.remove=function(t){var i=this.ids.indexOf(t+1);this.ids.splice(i,1);this.runners.splice(i,1);return this};return t}();o({Element:{animate:function(t,i,n){var r=Un.sanitise(t,i,n);var e=this.timeline();return new Un(r.duration).loop(r).element(this).timeline(e.play()).schedule(r.delay,r.when)},delay:function(t,i){return this.animate(0,t,i)},_clearTransformRunnersBefore:function(t){this._transformationRunners.clearBefore(t.id)},_currentTransform:function(t){return this._transformationRunners.runners.filter((function(i){return i.id<=t.id})).map(Kn).reduce(Wn,new Ft)},_addRunner:function(t){this._transformationRunners.add(t);Xn.cancelImmediate(this._frameId);this._frameId=Xn.immediate(tr.bind(this))},_prepareRunner:function(){if(this._frameId==null){this._transformationRunners=(new ir).add(new qn(new Ft(this)))}}}});var nr=function(t,i){return t.filter((function(t){return!i.includes(t)}))};N(Un,{attr:function(t,i){return this.styleAttr("attr",t,i)},css:function(t,i){return this.styleAttr("css",t,i)},styleAttr:function(t,i,n){var r;if(typeof i==="string"){return this.styleAttr(t,(r={},r[i]=n,r))}var e=i;if(this._tryRetarget(t,e))return this;var s=new An(this._stepper).to(e);var u=Object.keys(e);this.queue((function(){s=s.from(this.element()[t](u))}),(function(i){this.element()[t](s.at(i).valueOf());return s.done()}),(function(i){var n=Object.keys(i);var r=nr(n,u);if(r.length){var h=this.element()[t](r);var o=new Bn(s.from()).valueOf();Object.assign(o,h);s.from(o)}var f=new Bn(s.to()).valueOf();Object.assign(f,i);s.to(f);u=n;e=i}));this._rememberMorpher(t,s);return this},zoom:function(t,i){if(this._tryRetarget("zoom",t,i))return this;var n=new An(this._stepper).to(new vi(t));this.queue((function(){n=n.from(this.element().zoom())}),(function(t){this.element().zoom(n.at(t),i);return n.done()}),(function(t,r){i=r;n.to(t)}));this._rememberMorpher("zoom",n);return this},transform:function(t,i,n){i=t.relative||i;if(this._isDeclarative&&!i&&this._tryRetarget("transform",t)){return this}var r=Ft.isMatrixLike(t);n=t.affine!=null?t.affine:n!=null?n:!r;var e=new An(this._stepper).type(n?Vn:Ft);var s;var u;var h;var o;var f;function a(){u=u||this.element();s=s||g(t,u);f=new Ft(i?undefined:u);u._addRunner(this);if(!i){u._clearTransformRunnersBefore(this)}}function c(a){if(!i)this.clearTransform();var c=new Zt(s).transform(u._currentTransform(this)),v=c.x,l=c.y;var d=new Ft(__assign(__assign({},t),{origin:[v,l]}));var C=this._isDeclarative&&h?h:f;if(n){d=d.decompose(v,l);C=C.decompose(v,l);var w=d.rotate;var p=C.rotate;var g=[w-360,w,w+360];var y=g.map((function(t){return Math.abs(t-p)}));var x=Math.min.apply(Math,y);var m=y.indexOf(x);d.rotate=g[m]}if(i){if(!r){d.rotate=t.rotate||0}if(this._isDeclarative&&o){C.rotate=o}}e.from(C);e.to(d);var _=e.at(a);o=_.rotate;h=new Ft(_);this.addTransform(h);u._addRunner(this);return e.done()}function v(i){if((i.origin||"center").toString()!==(t.origin||"center").toString()){s=g(i,u)}t=__assign(__assign({},i),{origin:s})}this.queue(a,c,v,true);this._isDeclarative&&this._rememberMorpher("transform",e);return this},x:function(t){return this._queueNumber("x",t)},y:function(t){return this._queueNumber("y",t)},ax:function(t){return this._queueNumber("ax",t)},ay:function(t){return this._queueNumber("ay",t)},dx:function(t){if(t===void 0){t=0}return this._queueNumberDelta("x",t)},dy:function(t){if(t===void 0){t=0}return this._queueNumberDelta("y",t)},dmove:function(t,i){return this.dx(t).dy(i)},_queueNumberDelta:function(t,i){i=new vi(i);if(this._tryRetarget(t,i))return this;var n=new An(this._stepper).to(i);var r=null;this.queue((function(){r=this.element()[t]();n.from(r);n.to(r+i)}),(function(i){this.element()[t](n.at(i));return n.done()}),(function(t){n.to(r+new vi(t))}));this._rememberMorpher(t,n);return this},_queueObject:function(t,i){if(this._tryRetarget(t,i))return this;var n=new An(this._stepper).to(i);this.queue((function(){n.from(this.element()[t]())}),(function(i){this.element()[t](n.at(i));return n.done()}));this._rememberMorpher(t,n);return this},_queueNumber:function(t,i){return this._queueObject(t,new vi(i))},cx:function(t){return this._queueNumber("cx",t)},cy:function(t){return this._queueNumber("cy",t)},move:function(t,i){return this.x(t).y(i)},amove:function(t,i){return this.ax(t).ay(i)},center:function(t,i){return this.cx(t).cy(i)},size:function(t,i){var n;if(!t||!i){n=this._element.bbox()}if(!t){t=n.width/n.height*i}if(!i){i=n.height/n.width*t}return this.width(t).height(i)},width:function(t){return this._queueNumber("width",t)},height:function(t){return this._queueNumber("height",t)},plot:function(t,i,n,r){if(arguments.length===4){return this.plot([t,i,n,r])}if(this._tryRetarget("plot",t))return this;var e=new An(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:function(t){return this._queueNumber("leading",t)},viewbox:function(t,i,n,r){return this._queueObject("viewbox",new Gt(t,i,n,r))},update:function(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}});N(Un,{rx:Vi,ry:Oi,from:zi,to:Ni});T(Un,"Runner");var rr=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}var r=t.call(this,H("svg",i),n)||this;r.namespace();return r}i.prototype.defs=function(){if(!this.isRoot())return this.root().defs();return Z(this.node.querySelector("defs"))||this.put(new Ai)};i.prototype.isRoot=function(){return!this.node.parentNode||!(this.node.parentNode instanceof j.window.SVGElement)&&this.node.parentNode.nodeName!=="#document-fragment"};i.prototype.namespace=function(){if(!this.isRoot())return this.root().namespace();return this.attr({xmlns:_,version:"1.1"}).attr("xmlns:xlink",k,M)};i.prototype.removeNamespace=function(){return this.attr({xmlns:null,version:null}).attr("xmlns:xlink",null,M).attr("xmlns:svgjs",null,M)};i.prototype.root=function(){if(this.isRoot())return this;return t.prototype.root.call(this)};return i}(ji);o({Container:{nested:P((function(){return this.put(new rr)}))}});T(rr,"Svg",true);var er=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("symbol",i),n)||this}return i}(ji);o({Container:{symbol:P((function(){return this.put(new er)}))}});T(er,"Symbol");function sr(t){if(this._build===false){this.clear()}this.node.appendChild(j.document.createTextNode(t));return this}function ur(){return this.node.getComputedTextLength()}function hr(t,i){if(i===void 0){i=this.bbox()}if(t==null){return i.x}return this.attr("x",this.attr("x")+t-i.x)}function or(t,i){if(i===void 0){i=this.bbox()}if(t==null){return i.y}return this.attr("y",this.attr("y")+t-i.y)}function fr(t,i,n){if(n===void 0){n=this.bbox()}return this.x(t,n).y(i,n)}function ar(t,i){if(i===void 0){i=this.bbox()}if(t==null){return i.cx}return this.attr("x",this.attr("x")+t-i.cx)}function cr(t,i){if(i===void 0){i=this.bbox()}if(t==null){return i.cy}return this.attr("y",this.attr("y")+t-i.cy)}function vr(t,i,n){if(n===void 0){n=this.bbox()}return this.cx(t,n).cy(i,n)}function lr(t){return this.attr("x",t)}function dr(t){return this.attr("y",t)}function Cr(t,i){return this.ax(t).ay(i)}function wr(t){this._build=!!t;return this}var pr={__proto__:null,amove:Cr,ax:lr,ay:dr,build:wr,center:vr,cx:ar,cy:cr,length:ur,move:fr,plain:sr,x:hr,y:or};var gr=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}var r;var e=t.call(this,H("text",i),n)||this;e.dom.leading=(r=e.dom.leading)!==null&&r!==void 0?r:new vi(1.3);e._rebuild=true;e._build=false;return e}i.prototype.leading=function(t){if(t==null){return this.dom.leading}this.dom.leading=new vi(t);return this.rebuild()};i.prototype.rebuild=function(t){if(typeof t==="boolean"){this._rebuild=t}if(this._rebuild){var i=this;var n=0;var r=this.dom.leading;this.each((function(t){if(x(this.node))return;var e=j.window.getComputedStyle(this.node).getPropertyValue("font-size");var s=r*new vi(e);if(this.dom.newLined){this.attr("x",i.attr("x"));if(this.text()==="\n"){n+=s}else{this.attr("dy",t?s+n:0);n=0}}}));this.fire("rebuild")}return this};i.prototype.setData=function(t){this.dom=t;this.dom.leading=new vi(t.leading||1.3);return this};i.prototype.writeDataToDom=function(){m(this,this.dom,{leading:1.3});return this};i.prototype.text=function(t){if(t===undefined){var i=this.node.childNodes;var n=0;t="";for(var r=0,e=i.length;r<e;++r){if(i[r].nodeName==="textPath"||x(i[r])){if(r===0)n=r+1;continue}if(r!==n&&i[r].nodeType!==3&&Z(i[r]).dom.newLined===true){t+="\n"}t+=i[r].textContent}return t}this.clear().build(true);if(typeof t==="function"){t.call(this,this)}else{t=(t+"").split("\n");for(var s=0,u=t.length;s<u;s++){this.newLine(t[s])}}return this.build(false).rebuild()};return i}(Li);N(gr,pr);o({Container:{text:P((function(t){if(t===void 0){t=""}return this.put(new gr).text(t)})),plain:P((function(t){if(t===void 0){t=""}return this.put(new gr).plain(t)}))}});T(gr,"Text");var yr=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}var r=t.call(this,H("tspan",i),n)||this;r._build=false;return r}i.prototype.dx=function(t){return this.attr("dx",t)};i.prototype.dy=function(t){return this.attr("dy",t)};i.prototype.newLine=function(){this.dom.newLined=true;var t=this.parent();if(!(t instanceof gr)){return this}var i=t.index(this);var n=j.window.getComputedStyle(this.node).getPropertyValue("font-size");var r=t.dom.leading*new vi(n);return this.dy(i?r:0).attr("x",t.x())};i.prototype.text=function(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};return i}(Li);N(yr,pr);o({Tspan:{tspan:P((function(t){if(t===void 0){t=""}var i=new yr;if(!this._build){this.clear()}return this.put(i).text(t)}))},Text:{newLine:function(t){if(t===void 0){t=""}return this.tspan(t).newLine()}}});T(yr,"Tspan");var xr=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("circle",i),n)||this}i.prototype.radius=function(t){return this.attr("r",t)};i.prototype.rx=function(t){return this.attr("r",t)};i.prototype.ry=function(t){return this.rx(t)};i.prototype.size=function(t){return this.radius(new vi(t).divide(2))};return i}(Li);N(xr,{x:Bi,y:Ei,cx:Hi,cy:Zi,width:Si,height:Ti});o({Container:{circle:P((function(t){if(t===void 0){t=0}return this.put(new xr).size(t).move(0,0)}))}});T(xr,"Circle");var mr=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("clipPath",i),n)||this}i.prototype.remove=function(){this.targets().forEach((function(t){t.unclip()}));return t.prototype.remove.call(this)};i.prototype.targets=function(){return Ut("svg [clip-path*="+this.id()+"]")};return i}(ji);o({Container:{clip:P((function(){return this.defs().put(new mr)}))},Element:{clipper:function(){return this.reference("clip-path")},clipWith:function(t){var i=t instanceof mr?t:this.parent().clip().add(t);return this.attr("clip-path","url(#"+i.id()+")")},unclip:function(){return this.attr("clip-path",null)}}});T(mr,"ClipPath");var _r=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("foreignObject",i),n)||this}return i}(gi);o({Container:{foreignObject:P((function(t,i){return this.put(new _r).size(t,i)}))}});T(_r,"ForeignObject");function br(t,i){this.children().forEach((function(n){var r;try{r=n.node instanceof A().SVGSVGElement?new Gt(n.attr(["x","y","width","height"])):n.bbox()}catch(t){return}var e=new Ft(n);var s=e.translate(t,i).transform(e.inverse());var u=new Zt(r.x,r.y).transform(s);n.move(u.x,u.y)}));return this}function Mr(t){return this.dmove(t,0)}function kr(t){return this.dmove(0,t)}function jr(t,i){if(i===void 0){i=this.bbox()}if(t==null)return i.height;return this.size(i.width,t,i)}function Ar(t,i,n){if(t===void 0){t=0}if(i===void 0){i=0}if(n===void 0){n=this.bbox()}var r=t-n.x;var e=i-n.y;return this.dmove(r,e)}function Lr(t,i,n){if(n===void 0){n=this.bbox()}var r=p(this,t,i,n);var e=r.width/n.width;var s=r.height/n.height;this.children().forEach((function(t){var i=new Zt(n).transform(new Ft(t).inverse());t.scale(e,s,i.x,i.y)}));return this}function Vr(t,i){if(i===void 0){i=this.bbox()}if(t==null)return i.width;return this.size(t,i.height,i)}function Or(t,i){if(i===void 0){i=this.bbox()}if(t==null)return i.x;return this.move(t,i.y,i)}function Br(t,i){if(i===void 0){i=this.bbox()}if(t==null)return i.y;return this.move(i.x,t,i)}var Er={__proto__:null,dmove:br,dx:Mr,dy:kr,height:jr,move:Ar,size:Lr,width:Vr,x:Or,y:Br};var Hr=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("g",i),n)||this}return i}(ji);N(Hr,Er);o({Container:{group:P((function(){return this.put(new Hr)}))}});T(Hr,"G");var Zr=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("a",i),n)||this}i.prototype.target=function(t){return this.attr("target",t)};i.prototype.to=function(t){return this.attr("href",t,k)};return i}(ji);N(Zr,Er);o({Container:{link:P((function(t){return this.put(new Zr).to(t)}))},Element:{unlink:function(){var t=this.linker();if(!t)return this;var i=t.parent();if(!i){return this.remove()}var n=i.index(t);i.add(this,n);t.remove();return this},linkTo:function(t){var i=this.linker();if(!i){i=new Zr;this.wrap(i)}if(typeof t==="function"){t.call(i,i)}else{i.to(t)}return this},linker:function(){var t=this.parent();if(t&&t.node.nodeName.toLowerCase()==="a"){return t}return null}}});T(Zr,"A");var Sr=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("mask",i),n)||this}i.prototype.remove=function(){this.targets().forEach((function(t){t.unmask()}));return t.prototype.remove.call(this)};i.prototype.targets=function(){return Ut("svg [mask*="+this.id()+"]")};return i}(ji);o({Container:{mask:P((function(){return this.defs().put(new Sr)}))},Element:{masker:function(){return this.reference("mask")},maskWith:function(t){var i=t instanceof Sr?t:this.parent().mask().add(t);return this.attr("mask","url(#"+i.id()+")")},unmask:function(){return this.attr("mask",null)}}});T(Sr,"Mask");var Tr=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("stop",i),n)||this}i.prototype.update=function(t){if(typeof t==="number"||t instanceof vi){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 vi(t.offset));return this};return i}(gi);o({Gradient:{stop:function(t,i,n){return this.put(new Tr).update(t,i,n)}}});T(Tr,"Stop");function Fr(t,i){if(!t)return"";if(!i)return t;var n=t+"{";for(var r in i){n+=C(r)+":"+i[r]+";"}n+="}";return n}var Dr=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("style",i),n)||this}i.prototype.addText=function(t){if(t===void 0){t=""}this.node.textContent+=t;return this};i.prototype.font=function(t,i,n){if(n===void 0){n={}}return this.rule("@font-face",__assign({fontFamily:t,src:i},n))};i.prototype.rule=function(t,i){return this.addText(Fr(t,i))};return i}(gi);o("Dom",{style:function(t,i){return this.put(new Dr).rule(t,i)},fontface:function(t,i,n){return this.put(new Dr).font(t,i,n)}});T(Dr,"Style");var Ir=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("textPath",i),n)||this}i.prototype.array=function(){var t=this.track();return t?t.array():null};i.prototype.plot=function(t){var i=this.track();var n=null;if(i){n=i.plot(t)}return t==null?n:this};i.prototype.track=function(){return this.reference("href")};return i}(gr);o({Container:{textPath:P((function(t,i){if(!(t instanceof gr)){t=this.text(t)}return t.path(i)}))},Text:{path:P((function(t,i){if(i===void 0){i=true}var n=new Ir;if(!(t instanceof Sn)){t=this.defs().path(t)}n.attr("href","#"+t,k);var r;if(i){while(r=this.node.firstChild){n.node.appendChild(r)}}return this.put(n)})),textPath:function(){return this.findOne("textPath")}},Path:{text:P((function(t){if(!(t instanceof gr)){t=(new gr).addTo(this.parent()).text(t)}return t.path(this)})),targets:function(){var t=this;return Ut("svg textPath").filter((function(i){return(i.attr("href")||"").includes(t.id())}))}}});Ir.prototype.MorphArray=kn;T(Ir,"TextPath");var zr=function(t){__extends(i,t);function i(i,n){if(n===void 0){n=i}return t.call(this,H("use",i),n)||this}i.prototype.use=function(t,i){return this.attr("href",(i||"")+"#"+t,k)};return i}(Li);o({Container:{use:P((function(t,i){return this.put(new zr).use(t,i)}))}});T(zr,"Use");var Nr=E;N([rr,er,Yi,Ri,tn],f("viewbox"));N([Ki,Gn,Pn,Sn],f("marker"));N(gr,f("Text"));N(Sn,f("Path"));N(Ai,f("Defs"));N([gr,yr],f("Tspan"));N([Rn,Di,Gi,Un],f("radius"));N(hi,f("EventTarget"));N(pi,f("Dom"));N(gi,f("Element"));N(Li,f("Shape"));N([ji,Ii],f("Container"));N(Gi,f("Gradient"));N(Un,f("Runner"));Qt.extend(a());Hn([vi,Ht,Gt,Ft,ci,Xi,kn,Zt]);Zn();function Pr(){var t={entities:[]};var i;var n=[];function r(t,n,r){i=Nr().addTo(t).size(n,r);i.entities=[];i.lines=i.group();i.labels=i.group()}function e(t,i){var n;var r=t.group().attr({id:i.id});t.entities.push(r);i.background_color=i.background_color?i.background_color:"#f06";i.color=i.color?i.color:"#ffffff";i.radius=i.radius?i.radius:0;r.entity=r.rect(i.width,i.height).cx(i.width/2).cy(i.height/2).attr((n={fill:"#ffffff",stroke:i.color},n["stroke-width"]=2,n)).radius(i.radius);if(i.class){r.entity.attr("class",i.class)}r.plain(i.text).cx(14).cy(i.height/2+6).attr({fill:i.color});r.move(i.x,i.y)}function s(){if(t.labels&&t.labels.length>0){t.labels.forEach((function(t){i.labels.text(t.value).x(t.x).y(t.y)}))}}function u(t,i){i.forEach((function(i){return h(t,i)}))}function h(t,i){var n="";var r=i.color||"#4c56cb";var e=t.findOne("#"+i.from.element);var s=t.findOne("#"+i.to.element);var u=o(i,e,s);n+=a(e,i.from.point)+","+c(e,i.from.point)+" ";u.forEach((function(t){return n+=t.x+","+t.y+" "}));if(i.to.point==="top"){n+=a(s,i.to.point)+","+c(s,i.to.point)+" "}else if(i.to.point==="bottom"){n+=a(s,i.to.point)+","+c(s,i.to.point)+" "}else{n+=a(s,i.to.point)+","+c(s,i.to.point)+" "}if(!i.polyline){i.polyline=t.lines.polyline(n).fill("none").stroke({color:r,width:2,linecap:"round",linejoin:"round"}).attr("id",i.id)}else{i.polyline.plot(n)}}function o(t,i,n){var r=[];var e=c(i,t.from.point);var s=c(n,t.to.point);var u=a(i,t.from.point);var h=a(n,t.to.point);var o=f(t.from.point);var v=f(t.to.point);var l=o-v;if(l===0){if(t.from.point==="top"){if(e<=s){r.push({x:u,y:e-20});r.push({x:h,y:e-20})}else{r.push({x:u,y:s-20});r.push({x:h,y:s-20})}}else if(t.from.point==="bottom"){if(e<=s){r.push({x:u,y:s+20});r.push({x:h,y:s+20})}else{r.push({x:u,y:e+20});r.push({x:h,y:e+20})}}else{if(u<=h){r.push({x:h+20,y:e});r.push({x:h+20,y:s})}else{r.push({x:u+20,y:e});r.push({x:u+20,y:s})}}}if(l===2||l===-2){if(u!==h){r.push({x:u,y:s+(e-s)/2});r.push({x:h,y:s+(e-s)/2})}}if(l===1||l===-1||l===3||l===-3){if(t.from.point==="top"){if(e<s+20){r.push({x:u,y:e-20});r.push({x:h+20,y:e-20});r.push({x:h+20,y:s})}else{r.push({x:u,y:s})}}if(t.from.point==="bottom"){if(e>s-20){r.push({x:u,y:e+20});r.push({x:h+20,y:e+20});r.push({x:h+20,y:s})}else{r.push({x:u,y:s})}}}return r}function f(t){switch(t){case"top":return 0;case"bottom":return 2;default:return 3}}function a(t,i){var n=t.entity.attr("width");var r=t.entity.attr("x");switch(i){case"top":case"bottom":return r+n/2;default:return r-n/2}}function c(t,i){var n=t.entity.attr("height");var r=t.entity.attr("y");switch(i){case"top":return r;case"bottom":return r+n;default:return r}}function v(){i.entities.forEach((function(t){return t.remove()}));i.entities=[];n=[];if(!t.labels){t.labels=[]}t.labels=t.labels.map((function(t){return{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((function(t){t.type=t.type?t.type:"entity";if(t.type==="operation"){t.height=t.width}}));s();t.entities.forEach((function(t){return e(i,t)}));n=t.lines;u(i,n)}function l(i){t=i;v()}return{initalize:r,update:l}}var Gr='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}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}';var Rr=Gr;var Yr='<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>';var Xr='<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>';var $r='<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>';var Qr='<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>';var Jr='<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>';var Ur='<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>';var qr='<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>';var Wr='<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>';var Kr='<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>';var te='<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>';var ie='<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>';var ne='<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>';var re='<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>';var ee='<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>';var se='<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>';var ue='<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>';var he='<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>';var oe='<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>';var fe='<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>';var ae='<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>';var ce=140;var ve=40;var le=40;var de=t("verdocs_status_indicator",function(){function t(t){i(this,t);this.size="normal";this.theme="light";this.containerId="verdocs-status-indicator-".concat(Math.random().toString(36).substring(2,11));this.recipientStatusIcons=[]}t.prototype.componentDidLoad=function(){var t=this;var i;this.popper=s(this.summaryComponent,this.detailPanel,{placement:"bottom-start",modifiers:[{name:"offset",options:{offset:[0,10]}}]});if((i=this.envelope)===null||i===void 0?void 0:i.recipients){var n=[];this.envelope.recipients.forEach((function(t){var i=t.sequence-1;n[i]||(n[i]=[]);var r="r-".concat(i,"-").concat(n[i].length);n[i].push(__assign(__assign({},t),{id:r}))}));var r=Object.keys(n).length;var u=r*ve+(r+1)*le;var h=0;Object.values(n).forEach((function(t){var i=t.length*ce+(t.length+1)*le;if(i>h){h=i}}));var o=[];var f=[];var a=[];var c=le;Object.entries(n).forEach((function(i){var r=i[0],s=i[1];var u=s.length*(ce+le);var v=h-u;var l=le/2+v/2;s.forEach((function(i,s){var u;var h=e(i);var v={id:i.id,text:h,icon:t.getStatusIcon(i.status),x:s*(ce+le)+l,y:c,width:ce,height:ve,color:t.getStatusColor(i.status),radius:8};o.push(v);a.push({icon:t.getStatusIcon(i.status),x:s*(ce+le)+l+(ce-32),y:c+ve/2-13});(u=n[+r-1])===null||u===void 0?void 0:u.forEach((function(n){var r={id:"line-".concat(n.id,"-").concat(v.id),from:{element:n.id,point:"bottom"},to:{element:v.id,point:"top"},color:t.getStatusColor(i.status)};f.push(r)}))}));c+=ve+le}));this.recipientStatusIcons=a;var v=Pr();v.initalize("#".concat(this.containerId),h,u);v.update({entities:o,lines:f})}};t.prototype.showDropdown=function(){var t,i;this.isOpen=true;this.detailPanel.setAttribute("data-show","");this.detailPanel.removeAttribute("aria-hidden");(t=this.popper)===null||t===void 0?void 0:t.setOptions((function(t){return __assign(__assign({},t),{modifiers:__spreadArray(__spreadArray([],t.modifiers,true),[{name:"eventListeners",enabled:true}],false)})}));(i=this.popper)===null||i===void 0?void 0:i.update()};t.prototype.handleHideDropdown=function(t){var i,n;if(((i=t===null||t===void 0?void 0:t.target)===null||i===void 0?void 0:i.localName)==="button"&&((n=t===null||t===void 0?void 0:t.target)===null||n===void 0?void 0:n.className)==="arrow"){return}this.hide()};t.prototype.toggleDropdown=function(){if(this.isOpen){this.hide()}else{this.showDropdown()}};t.prototype.hide=function(){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((function(t){return __assign(__assign({},t),{modifiers:__spreadArray(__spreadArray([],t.modifiers,true),[{name:"eventListeners",enabled:false}],false)})}))};t.prototype.getStatusColor=function(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"}};t.prototype.getStatusIcon=function(t){switch(t){case"accepted":return this.theme==="light"?Xr:Yr;case"complete":return this.theme==="light"?Ur:Jr;case"in progress":return this.theme==="light"?te:Kr;case"canceled":return this.theme==="light"?Qr:$r;case"declined":return this.theme==="light"?Wr:qr;case"invited":return this.theme==="light"?te:Kr;case"opened":return this.theme==="light"?ne:ie;case"signed":return this.theme==="light"?ue:se;case"submitted":return this.theme==="light"?ae:fe;case"some-signed":return this.theme==="light"?oe:he;default:case"pending":return this.theme==="light"?ee:re}};t.prototype.getStatusMessage=function(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}};t.prototype.render=function(){var t=this;var i,e;var s=this.status||((i=this.envelope)===null||i===void 0?void 0:i.status)||"pending"||"accepted";if(!this.status&&((e=this.envelope)===null||e===void 0?void 0:e.recipients)){var u=this.envelope.recipients.filter((function(t){return t.status==="submitted"}));if(u.length>0&&u.length!==this.envelope.recipients.length){s="some-signed"}}var h=this.getStatusIcon(s);var o=this.getStatusMessage(s);return n(r,{key:"9cc5ac4f736bc38987a41c4168351489db7657ae",ref:function(i){return t.summaryComponent=i},class:"".concat(this.theme," ").concat(this.size," ").concat(this.envelope?"has-document":""),"aria-label":"Click to View Details",onClick:function(i){i.stopPropagation();i.preventDefault();t.envelope&&t.toggleDropdown()},onBlur:function(i){return t.envelope&&t.handleHideDropdown(i)}},n("span",{key:"d785b67b42bf4b8ff435e667b21e790313ef7c99",class:"icon",innerHTML:h}),n("span",{key:"a39618da9da32b2ef4bde4ee11ee7ff56d23eab7",class:"content"},o),n("div",{key:"010652576908da534d5f28d35fcbda90be881ca3",class:"detail-panel",ref:function(i){return t.detailPanel=i}},n("div",{key:"654c5b96103f9a9117285b8d2d28989c1a2cf8a8",id:"".concat(this.containerId)}),this.recipientStatusIcons.map((function(t){return n("span",{innerHTML:t.icon,style:{position:"absolute",top:"".concat(t.y,"px"),left:"".concat(t.x,"px")}})}))))};return t}());de.style=Rr}}}));
|
2
|
+
//# sourceMappingURL=p-2f68a524.system.entry.js.map
|