varSvgCanvas=function(){"use strict";functione(t){return(e="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(e){returntypeofe}:function(e){returne&&"function"==typeofSymbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeofe})(t)}functiont(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}functionr(e,t){for(varr=0;r<t.length;r++){varn=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"inn&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}functionn(e,t,n){returnt&&r(e.prototype,t),n&&r(e,n),e}functioni(e,t){if("function"!=typeoft&&null!==t)thrownewTypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}functiona(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){returne.__proto__||Object.getPrototypeOf(e)})(e)}functions(e,t){return(s=Object.setPrototypeOf||function(e,t){returne.__proto__=t,e})(e,t)}functiono(e,t,r){return(o=function(){if("undefined"==typeofReflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeofProxy)return!0;try{returnDate.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct:function(e,t,r){varn=[null];n.push.apply(n,t);vari=new(Function.bind.apply(e,n));returnr&&s(i,r.prototype),i}).apply(null,arguments)}functionu(e){vart="function"==typeofMap?newMap:void0;return(u=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))returne;varr;if("function"!=typeofe)thrownewTypeError("Super expression must either be null or a function");if(void0!==t){if(t.has(e))returnt.get(e);t.set(e,n)}functionn(){returno(e,arguments,a(this).constructor)}returnn.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),s(n,e)})(e)}functionl(e,t){return!t||"object"!=typeoft&&"function"!=typeoft?function(e){if(void0===e)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");returne}(e):t}functionh(e,t){returnfunction(e){if(Array.isArray(e))returne}(e)||function(e,t){if(!(Symbol.iteratorinObject(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;varr=[],n=!0,i=!1,a=void0;try{for(vars,o=e[Symbol.iterator]();!(n=(s=o.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(e){i=!0,a=e}finally{try{n||null==o.return||o.return()}finally{if(i)throwa}}returnr}(e,t)||function(){thrownewTypeError("Invalid attempt to destructure non-iterable instance")}()}functionc(e){returnfunction(e){if(Array.isArray(e)){for(vart=0,r=newArray(e.length);t<e.length;t++)r[t]=e[t];returnr}}(e)||function(e){if(Symbol.iteratorinObject(e)||"[object Arguments]"===Object.prototype.toString.call(e))returnArray.from(e)}(e)||function(){thrownewTypeError("Invalid attempt to spread non-iterable instance")}()}functiond(e,t){d=function(e,t){returnnews(e,void0,t)};varr=u(RegExp),n=RegExp.prototype,a=newWeakMap;functions(e,t,n){vari=r.call(this,e,t);returna.set(i,n||a.get(e)),i}functiono(e,t){varr=a.get(t);returnObject.keys(r).reduce((function(t,n){returnt[n]=e[r[n]],t}),Object.create(null))}returni(s,r),s.prototype.exec=function(e){vart=n.exec.call(this,e);returnt&&(t.groups=o(t,this)),t},s.prototype[Symbol.replace]=function(e,t){if("string"==typeoft){varr=a.get(this);returnn[Symbol.replace].call(this,e,t.replace(/\$<([^>]+)>/g,(function(e,t){return"$"+r[t]})))}if("function"==typeoft){vari=this;returnn[Symbol.replace].call(this,e,(function(){vare=[];returne.push.apply(e,arguments),"object"!=typeofe[e.length-1]&&e.push(o(e,i)),t.apply(this,e)}))}returnn[Symbol.replace].call(this,e,t)},d.apply(this,arguments)}functionm(t){varr=t.fn.attr;returnt.fn.attr=function(t,n){vari=this.length;if(!i)returnr.call(this,t,n);for(vara=0;a<i;++a){vars=this[a];if("http://www.w3.org/2000/svg"!==s.namespaceURI)returnr.call(this,t,n);if(void0!==n)s.setAttribute(t,n);else