@antv/x6-next
Version:
JavaScript diagramming library that uses SVG and HTML for rendering.
15 lines (13 loc) • 422 kB
JavaScript
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).X6Next={})}(this,(function(t){"use strict";
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,n)};function n(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}var r=function(){return(r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function i(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n}function o(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s}window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach),[Element.prototype,Document.prototype,DocumentFragment.prototype].forEach((t=>{Object.prototype.hasOwnProperty.call(t,"append")||Object.defineProperty(t,"append",{configurable:!0,enumerable:!0,writable:!0,value(...t){const e=document.createDocumentFragment();t.forEach((t=>{const n=t instanceof Node;e.appendChild(n?t:document.createTextNode(String(t)))})),this.appendChild(e)}})}));var s="object"==typeof global&&global&&global.Object===Object&&global,a="object"==typeof self&&self&&self.Object===Object&&self,l=s||a||Function("return this")(),c=l.Symbol,h=Object.prototype,u=h.hasOwnProperty,g=h.toString,d=c?c.toStringTag:void 0;var f=Object.prototype.toString;var p=c?c.toStringTag:void 0;function m(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":p&&p in Object(t)?function(t){var e=u.call(t,d),n=t[d];try{t[d]=void 0;var r=!0}catch(t){}var i=g.call(t);return r&&(e?t[d]=n:delete t[d]),i}(t):function(t){return f.call(t)}(t)}function y(t){return null!=t&&"object"==typeof t}function b(t){return"symbol"==typeof t||y(t)&&"[object Symbol]"==m(t)}function v(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}var w=Array.isArray,x=c?c.prototype:void 0,A=x?x.toString:void 0;function P(t){if("string"==typeof t)return t;if(w(t))return v(t,P)+"";if(b(t))return A?A.call(t):"";var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e}var C=/\s/;var M=/^\s+/;function O(t){return t?t.slice(0,function(t){for(var e=t.length;e--&&C.test(t.charAt(e)););return e}(t)+1).replace(M,""):t}function E(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}var S=/^[-+]0x[0-9a-f]+$/i,T=/^0b[01]+$/i,k=/^0o[0-7]+$/i,N=parseInt;function j(t){if("number"==typeof t)return t;if(b(t))return NaN;if(E(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=E(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=O(t);var n=T.test(t);return n||k.test(t)?N(t.slice(2),n?2:8):S.test(t)?NaN:+t}function L(t){return t}function B(t){if(!E(t))return!1;var e=m(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}var D,I=l["__core-js_shared__"],R=(D=/[^.]+$/.exec(I&&I.keys&&I.keys.IE_PROTO||""))?"Symbol(src)_1."+D:"";var V=Function.prototype.toString;function z(t){if(null!=t){try{return V.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var _=/^\[object .+?Constructor\]$/,F=Function.prototype,$=Object.prototype,G=F.toString,q=$.hasOwnProperty,U=RegExp("^"+G.call(q).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function H(t){return!(!E(t)||(e=t,R&&R in e))&&(B(t)?U:_).test(z(t));var e}function W(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return H(n)?n:void 0}var J=W(l,"WeakMap"),X=Object.create,Y=function(){function t(){}return function(e){if(!E(e))return{};if(X)return X(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function Z(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function Q(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}var K=Date.now;var tt,et,nt,rt=function(){try{var t=W(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),it=(tt=rt?function(t,e){return rt(t,"toString",{configurable:!0,enumerable:!1,value:(n=e,function(){return n}),writable:!0});var n}:L,et=0,nt=0,function(){var t=K(),e=16-(t-nt);if(nt=t,e>0){if(++et>=800)return arguments[0]}else et=0;return tt.apply(void 0,arguments)});function ot(t){return t!=t}function st(t,e){return!!(null==t?0:t.length)&&function(t,e,n){return e==e?function(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}(t,e,n):function(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}(t,ot,n)}(t,e,0)>-1}var at=/^(?:0|[1-9]\d*)$/;function lt(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&at.test(t))&&t>-1&&t%1==0&&t<e}function ct(t,e,n){"__proto__"==e&&rt?rt(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function ht(t,e){return t===e||t!=t&&e!=e}var ut=Object.prototype.hasOwnProperty;function gt(t,e,n){var r=t[e];ut.call(t,e)&&ht(r,n)&&(void 0!==n||e in t)||ct(t,e,n)}function dt(t,e,n,r){var i=!n;n||(n={});for(var o=-1,s=e.length;++o<s;){var a=e[o],l=r?r(n[a],t[a],a,n,t):void 0;void 0===l&&(l=t[a]),i?ct(n,a,l):gt(n,a,l)}return n}var ft=Math.max;function pt(t,e){return it(function(t,e,n){return e=ft(void 0===e?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=ft(r.length-e,0),s=Array(o);++i<o;)s[i]=r[e+i];i=-1;for(var a=Array(e+1);++i<e;)a[i]=r[i];return a[e]=n(s),Z(t,this,a)}}(t,e,L),t+"")}function mt(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function yt(t){return null!=t&&mt(t.length)&&!B(t)}function bt(t,e,n){if(!E(n))return!1;var r=typeof e;return!!("number"==r?yt(n)&<(e,n.length):"string"==r&&e in n)&&ht(n[e],t)}function vt(t){return pt((function(e,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(o=t.length>3&&"function"==typeof o?(i--,o):void 0,s&&bt(n[0],n[1],s)&&(o=i<3?void 0:o,i=1),e=Object(e);++r<i;){var a=n[r];a&&t(e,a,r,o)}return e}))}var wt=Object.prototype;function xt(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||wt)}function At(t){return y(t)&&"[object Arguments]"==m(t)}var Pt=Object.prototype,Ct=Pt.hasOwnProperty,Mt=Pt.propertyIsEnumerable,Ot=At(function(){return arguments}())?At:function(t){return y(t)&&Ct.call(t,"callee")&&!Mt.call(t,"callee")};var Et="object"==typeof t&&t&&!t.nodeType&&t,St=Et&&"object"==typeof module&&module&&!module.nodeType&&module,Tt=St&&St.exports===Et?l.Buffer:void 0,kt=(Tt?Tt.isBuffer:void 0)||function(){return!1},Nt={};function jt(t){return function(e){return t(e)}}Nt["[object Float32Array]"]=Nt["[object Float64Array]"]=Nt["[object Int8Array]"]=Nt["[object Int16Array]"]=Nt["[object Int32Array]"]=Nt["[object Uint8Array]"]=Nt["[object Uint8ClampedArray]"]=Nt["[object Uint16Array]"]=Nt["[object Uint32Array]"]=!0,Nt["[object Arguments]"]=Nt["[object Array]"]=Nt["[object ArrayBuffer]"]=Nt["[object Boolean]"]=Nt["[object DataView]"]=Nt["[object Date]"]=Nt["[object Error]"]=Nt["[object Function]"]=Nt["[object Map]"]=Nt["[object Number]"]=Nt["[object Object]"]=Nt["[object RegExp]"]=Nt["[object Set]"]=Nt["[object String]"]=Nt["[object WeakMap]"]=!1;var Lt="object"==typeof t&&t&&!t.nodeType&&t,Bt=Lt&&"object"==typeof module&&module&&!module.nodeType&&module,Dt=Bt&&Bt.exports===Lt&&s.process,It=function(){try{var t=Bt&&Bt.require&&Bt.require("util").types;return t||Dt&&Dt.binding&&Dt.binding("util")}catch(t){}}(),Rt=It&&It.isTypedArray,Vt=Rt?jt(Rt):function(t){return y(t)&&mt(t.length)&&!!Nt[m(t)]},zt=Object.prototype.hasOwnProperty;function _t(t,e){var n=w(t),r=!n&&Ot(t),i=!n&&!r&&kt(t),o=!n&&!r&&!i&&Vt(t),s=n||r||i||o,a=s?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],l=a.length;for(var c in t)!e&&!zt.call(t,c)||s&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||lt(c,l))||a.push(c);return a}function Ft(t,e){return function(n){return t(e(n))}}var $t=Ft(Object.keys,Object),Gt=Object.prototype.hasOwnProperty;function qt(t){if(!xt(t))return $t(t);var e=[];for(var n in Object(t))Gt.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Ut(t){return yt(t)?_t(t):qt(t)}var Ht=Object.prototype.hasOwnProperty;function Wt(t){if(!E(t))return function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}(t);var e=xt(t),n=[];for(var r in t)("constructor"!=r||!e&&Ht.call(t,r))&&n.push(r);return n}function Jt(t){return yt(t)?_t(t,!0):Wt(t)}var Xt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Yt=/^\w*$/;function Zt(t,e){if(w(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!b(t))||(Yt.test(t)||!Xt.test(t)||null!=e&&t in Object(e))}var Qt=W(Object,"create");var Kt=Object.prototype.hasOwnProperty;var te=Object.prototype.hasOwnProperty;function ee(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function ne(t,e){for(var n=t.length;n--;)if(ht(t[n][0],e))return n;return-1}ee.prototype.clear=function(){this.__data__=Qt?Qt(null):{},this.size=0},ee.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},ee.prototype.get=function(t){var e=this.__data__;if(Qt){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return Kt.call(e,t)?e[t]:void 0},ee.prototype.has=function(t){var e=this.__data__;return Qt?void 0!==e[t]:te.call(e,t)},ee.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Qt&&void 0===e?"__lodash_hash_undefined__":e,this};var re=Array.prototype.splice;function ie(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}ie.prototype.clear=function(){this.__data__=[],this.size=0},ie.prototype.delete=function(t){var e=this.__data__,n=ne(e,t);return!(n<0)&&(n==e.length-1?e.pop():re.call(e,n,1),--this.size,!0)},ie.prototype.get=function(t){var e=this.__data__,n=ne(e,t);return n<0?void 0:e[n][1]},ie.prototype.has=function(t){return ne(this.__data__,t)>-1},ie.prototype.set=function(t,e){var n=this.__data__,r=ne(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};var oe=W(l,"Map");function se(t,e){var n,r,i=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function ae(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}ae.prototype.clear=function(){this.size=0,this.__data__={hash:new ee,map:new(oe||ie),string:new ee}},ae.prototype.delete=function(t){var e=se(this,t).delete(t);return this.size-=e?1:0,e},ae.prototype.get=function(t){return se(this,t).get(t)},ae.prototype.has=function(t){return se(this,t).has(t)},ae.prototype.set=function(t,e){var n=se(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this};function le(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(le.Cache||ae),n}le.Cache=ae;var ce=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,he=/\\(\\)?/g,ue=function(t){var e=le(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(ce,(function(t,n,r,i){e.push(r?i.replace(he,"$1"):n||t)})),e}));function ge(t){return null==t?"":P(t)}function de(t,e){return w(t)?t:Zt(t,e)?[t]:ue(ge(t))}function fe(t){if("string"==typeof t||b(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e}function pe(t,e){for(var n=0,r=(e=de(e,t)).length;null!=t&&n<r;)t=t[fe(e[n++])];return n&&n==r?t:void 0}function me(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}var ye=c?c.isConcatSpreadable:void 0;function be(t){return w(t)||Ot(t)||!!(ye&&t&&t[ye])}function ve(t,e,n,r,i){var o=-1,s=t.length;for(n||(n=be),i||(i=[]);++o<s;){var a=t[o];e>0&&n(a)?e>1?ve(a,e-1,n,r,i):me(i,a):r||(i[i.length]=a)}return i}var we=Ft(Object.getPrototypeOf,Object),xe=Function.prototype,Ae=Object.prototype,Pe=xe.toString,Ce=Ae.hasOwnProperty,Me=Pe.call(Object);function Oe(t){if(!y(t)||"[object Object]"!=m(t))return!1;var e=we(t);if(null===e)return!0;var n=Ce.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Pe.call(n)==Me}function Ee(t,e,n){var r=t.length;return n=void 0===n?r:n,!e&&n>=r?t:function(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r<i;)o[r]=t[r+e];return o}(t,e,n)}var Se=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function Te(t){return Se.test(t)}var ke="[\\ud800-\\udfff]",Ne="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",je="\\ud83c[\\udffb-\\udfff]",Le="[^\\ud800-\\udfff]",Be="(?:\\ud83c[\\udde6-\\uddff]){2}",De="[\\ud800-\\udbff][\\udc00-\\udfff]",Ie="(?:"+Ne+"|"+je+")"+"?",Re="[\\ufe0e\\ufe0f]?",Ve=Re+Ie+("(?:\\u200d(?:"+[Le,Be,De].join("|")+")"+Re+Ie+")*"),ze="(?:"+[Le+Ne+"?",Ne,Be,De,ke].join("|")+")",_e=RegExp(je+"(?="+je+")|"+ze+Ve,"g");function Fe(t){return Te(t)?function(t){return t.match(_e)||[]}(t):function(t){return t.split("")}(t)}function $e(t){return function(e){var n=Te(e=ge(e))?Fe(e):void 0,r=n?n[0]:e.charAt(0),i=n?Ee(n,1).join(""):e.slice(1);return r[t]()+i}}var Ge=$e("toUpperCase");var qe,Ue=(qe={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},function(t){return null==qe?void 0:qe[t]}),He=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,We=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var Je=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var Xe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var Ye="\\u2700-\\u27bf",Ze="a-z\\xdf-\\xf6\\xf8-\\xff",Qe="A-Z\\xc0-\\xd6\\xd8-\\xde",Ke="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",tn="["+Ke+"]",en="\\d+",nn="[\\u2700-\\u27bf]",rn="["+Ze+"]",on="[^\\ud800-\\udfff"+Ke+en+Ye+Ze+Qe+"]",sn="(?:\\ud83c[\\udde6-\\uddff]){2}",an="[\\ud800-\\udbff][\\udc00-\\udfff]",ln="["+Qe+"]",cn="(?:"+rn+"|"+on+")",hn="(?:"+ln+"|"+on+")",un="(?:['’](?:d|ll|m|re|s|t|ve))?",gn="(?:['’](?:D|LL|M|RE|S|T|VE))?",dn="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",fn="[\\ufe0e\\ufe0f]?",pn=fn+dn+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",sn,an].join("|")+")"+fn+dn+")*"),mn="(?:"+[nn,sn,an].join("|")+")"+pn,yn=RegExp([ln+"?"+rn+"+"+un+"(?="+[tn,ln,"$"].join("|")+")",hn+"+"+gn+"(?="+[tn,ln+cn,"$"].join("|")+")",ln+"?"+cn+"+"+un,ln+"+"+gn,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",en,mn].join("|"),"g");function bn(t,e,n){return t=ge(t),void 0===(e=n?void 0:e)?function(t){return Xe.test(t)}(t)?function(t){return t.match(yn)||[]}(t):function(t){return t.match(Je)||[]}(t):t.match(e)||[]}var vn=RegExp("['’]","g");function wn(t){return function(e){return function(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}(bn(function(t){return(t=ge(t))&&t.replace(He,Ue).replace(We,"")}(e).replace(vn,"")),t,"")}}var xn=wn((function(t,e,n){return e=e.toLowerCase(),t+(n?Ge(ge(e).toLowerCase()):e)}));function An(t,e,n){return void 0===n&&(n=e,e=void 0),void 0!==n&&(n=(n=j(n))==n?n:0),void 0!==e&&(e=(e=j(e))==e?e:0),function(t,e,n){return t==t&&(void 0!==n&&(t=t<=n?t:n),void 0!==e&&(t=t>=e?t:e)),t}(j(t),e,n)}function Pn(t){var e=this.__data__=new ie(t);this.size=e.size}Pn.prototype.clear=function(){this.__data__=new ie,this.size=0},Pn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Pn.prototype.get=function(t){return this.__data__.get(t)},Pn.prototype.has=function(t){return this.__data__.has(t)},Pn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof ie){var r=n.__data__;if(!oe||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new ae(r)}return n.set(t,e),this.size=n.size,this};var Cn="object"==typeof t&&t&&!t.nodeType&&t,Mn=Cn&&"object"==typeof module&&module&&!module.nodeType&&module,On=Mn&&Mn.exports===Cn?l.Buffer:void 0,En=On?On.allocUnsafe:void 0;function Sn(t,e){if(e)return t.slice();var n=t.length,r=En?En(n):new t.constructor(n);return t.copy(r),r}function Tn(){return[]}var kn=Object.prototype.propertyIsEnumerable,Nn=Object.getOwnPropertySymbols,jn=Nn?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var s=t[n];e(s,n,t)&&(o[i++]=s)}return o}(Nn(t),(function(e){return kn.call(t,e)})))}:Tn;var Ln=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)me(e,jn(t)),t=we(t);return e}:Tn;function Bn(t,e,n){var r=e(t);return w(t)?r:me(r,n(t))}function Dn(t){return Bn(t,Ut,jn)}function In(t){return Bn(t,Jt,Ln)}var Rn=W(l,"DataView"),Vn=W(l,"Promise"),zn=W(l,"Set"),_n="[object Map]",Fn="[object Promise]",$n="[object Set]",Gn="[object WeakMap]",qn="[object DataView]",Un=z(Rn),Hn=z(oe),Wn=z(Vn),Jn=z(zn),Xn=z(J),Yn=m;(Rn&&Yn(new Rn(new ArrayBuffer(1)))!=qn||oe&&Yn(new oe)!=_n||Vn&&Yn(Vn.resolve())!=Fn||zn&&Yn(new zn)!=$n||J&&Yn(new J)!=Gn)&&(Yn=function(t){var e=m(t),n="[object Object]"==e?t.constructor:void 0,r=n?z(n):"";if(r)switch(r){case Un:return qn;case Hn:return _n;case Wn:return Fn;case Jn:return $n;case Xn:return Gn}return e});var Zn=Yn,Qn=Object.prototype.hasOwnProperty;var Kn=l.Uint8Array;function tr(t){var e=new t.constructor(t.byteLength);return new Kn(e).set(new Kn(t)),e}var er=/\w*$/;var nr=c?c.prototype:void 0,rr=nr?nr.valueOf:void 0;function ir(t,e){var n=e?tr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function or(t,e,n){var r,i,o,s=t.constructor;switch(e){case"[object ArrayBuffer]":return tr(t);case"[object Boolean]":case"[object Date]":return new s(+t);case"[object DataView]":return function(t,e){var n=e?tr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return ir(t,n);case"[object Map]":return new s;case"[object Number]":case"[object String]":return new s(t);case"[object RegExp]":return(o=new(i=t).constructor(i.source,er.exec(i))).lastIndex=i.lastIndex,o;case"[object Set]":return new s;case"[object Symbol]":return r=t,rr?Object(rr.call(r)):{}}}function sr(t){return"function"!=typeof t.constructor||xt(t)?{}:Y(we(t))}var ar=It&&It.isMap,lr=ar?jt(ar):function(t){return y(t)&&"[object Map]"==Zn(t)};var cr=It&&It.isSet,hr=cr?jt(cr):function(t){return y(t)&&"[object Set]"==Zn(t)},ur="[object Arguments]",gr="[object Function]",dr="[object Object]",fr={};function pr(t,e,n,r,i,o){var s,a=1&e,l=2&e,c=4&e;if(n&&(s=i?n(t,r,i,o):n(t)),void 0!==s)return s;if(!E(t))return t;var h=w(t);if(h){if(s=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&Qn.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!a)return Q(t,s)}else{var u=Zn(t),g=u==gr||"[object GeneratorFunction]"==u;if(kt(t))return Sn(t,a);if(u==dr||u==ur||g&&!i){if(s=l||g?{}:sr(t),!a)return l?function(t,e){return dt(t,Ln(t),e)}(t,function(t,e){return t&&dt(e,Jt(e),t)}(s,t)):function(t,e){return dt(t,jn(t),e)}(t,function(t,e){return t&&dt(e,Ut(e),t)}(s,t))}else{if(!fr[u])return i?t:{};s=or(t,u,a)}}o||(o=new Pn);var d=o.get(t);if(d)return d;o.set(t,s),hr(t)?t.forEach((function(r){s.add(pr(r,e,n,r,t,o))})):lr(t)&&t.forEach((function(r,i){s.set(i,pr(r,e,n,i,t,o))}));var f=h?void 0:(c?l?In:Dn:l?Jt:Ut)(t);return function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););}(f||t,(function(r,i){f&&(r=t[i=r]),gt(s,i,pr(r,e,n,i,t,o))})),s}fr[ur]=fr["[object Array]"]=fr["[object ArrayBuffer]"]=fr["[object DataView]"]=fr["[object Boolean]"]=fr["[object Date]"]=fr["[object Float32Array]"]=fr["[object Float64Array]"]=fr["[object Int8Array]"]=fr["[object Int16Array]"]=fr["[object Int32Array]"]=fr["[object Map]"]=fr["[object Number]"]=fr[dr]=fr["[object RegExp]"]=fr["[object Set]"]=fr["[object String]"]=fr["[object Symbol]"]=fr["[object Uint8Array]"]=fr["[object Uint8ClampedArray]"]=fr["[object Uint16Array]"]=fr["[object Uint32Array]"]=!0,fr["[object Error]"]=fr[gr]=fr["[object WeakMap]"]=!1;function mr(t){return pr(t,4)}function yr(t){return pr(t,5)}function br(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new ae;++e<n;)this.add(t[e])}function vr(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function wr(t,e){return t.has(e)}br.prototype.add=br.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},br.prototype.has=function(t){return this.__data__.has(t)};function xr(t,e,n,r,i,o){var s=1&n,a=t.length,l=e.length;if(a!=l&&!(s&&l>a))return!1;var c=o.get(t),h=o.get(e);if(c&&h)return c==e&&h==t;var u=-1,g=!0,d=2&n?new br:void 0;for(o.set(t,e),o.set(e,t);++u<a;){var f=t[u],p=e[u];if(r)var m=s?r(p,f,u,e,t,o):r(f,p,u,t,e,o);if(void 0!==m){if(m)continue;g=!1;break}if(d){if(!vr(e,(function(t,e){if(!wr(d,e)&&(f===t||i(f,t,n,r,o)))return d.push(e)}))){g=!1;break}}else if(f!==p&&!i(f,p,n,r,o)){g=!1;break}}return o.delete(t),o.delete(e),g}function Ar(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function Pr(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var Cr=c?c.prototype:void 0,Mr=Cr?Cr.valueOf:void 0;var Or=Object.prototype.hasOwnProperty;var Er="[object Arguments]",Sr="[object Array]",Tr="[object Object]",kr=Object.prototype.hasOwnProperty;function Nr(t,e,n,r,i,o){var s=w(t),a=w(e),l=s?Sr:Zn(t),c=a?Sr:Zn(e),h=(l=l==Er?Tr:l)==Tr,u=(c=c==Er?Tr:c)==Tr,g=l==c;if(g&&kt(t)){if(!kt(e))return!1;s=!0,h=!1}if(g&&!h)return o||(o=new Pn),s||Vt(t)?xr(t,e,n,r,i,o):function(t,e,n,r,i,o,s){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new Kn(t),new Kn(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return ht(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var a=Ar;case"[object Set]":var l=1&r;if(a||(a=Pr),t.size!=e.size&&!l)return!1;var c=s.get(t);if(c)return c==e;r|=2,s.set(t,e);var h=xr(a(t),a(e),r,i,o,s);return s.delete(t),h;case"[object Symbol]":if(Mr)return Mr.call(t)==Mr.call(e)}return!1}(t,e,l,n,r,i,o);if(!(1&n)){var d=h&&kr.call(t,"__wrapped__"),f=u&&kr.call(e,"__wrapped__");if(d||f){var p=d?t.value():t,m=f?e.value():e;return o||(o=new Pn),i(p,m,n,r,o)}}return!!g&&(o||(o=new Pn),function(t,e,n,r,i,o){var s=1&n,a=Dn(t),l=a.length;if(l!=Dn(e).length&&!s)return!1;for(var c=l;c--;){var h=a[c];if(!(s?h in e:Or.call(e,h)))return!1}var u=o.get(t),g=o.get(e);if(u&&g)return u==e&&g==t;var d=!0;o.set(t,e),o.set(e,t);for(var f=s;++c<l;){var p=t[h=a[c]],m=e[h];if(r)var y=s?r(m,p,h,e,t,o):r(p,m,h,t,e,o);if(!(void 0===y?p===m||i(p,m,n,r,o):y)){d=!1;break}f||(f="constructor"==h)}if(d&&!f){var b=t.constructor,v=e.constructor;b==v||!("constructor"in t)||!("constructor"in e)||"function"==typeof b&&b instanceof b&&"function"==typeof v&&v instanceof v||(d=!1)}return o.delete(t),o.delete(e),d}(t,e,n,r,i,o))}function jr(t,e,n,r,i){return t===e||(null==t||null==e||!y(t)&&!y(e)?t!=t&&e!=e:Nr(t,e,n,r,jr,i))}function Lr(t){return t==t&&!E(t)}function Br(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}function Dr(t){var e=function(t){for(var e=Ut(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,Lr(i)]}return e}(t);return 1==e.length&&e[0][2]?Br(e[0][0],e[0][1]):function(n){return n===t||function(t,e,n,r){var i=n.length,o=i,s=!r;if(null==t)return!o;for(t=Object(t);i--;){var a=n[i];if(s&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++i<o;){var l=(a=n[i])[0],c=t[l],h=a[1];if(s&&a[2]){if(void 0===c&&!(l in t))return!1}else{var u=new Pn;if(r)var g=r(c,h,l,t,e,u);if(!(void 0===g?jr(h,c,3,r,u):g))return!1}}return!0}(n,t,e)}}function Ir(t,e){return null!=t&&e in Object(t)}function Rr(t,e,n){for(var r=-1,i=(e=de(e,t)).length,o=!1;++r<i;){var s=fe(e[r]);if(!(o=null!=t&&n(t,s)))break;t=t[s]}return o||++r!=i?o:!!(i=null==t?0:t.length)&&mt(i)&<(s,i)&&(w(t)||Ot(t))}function Vr(t,e){return Zt(t)&&Lr(e)?Br(fe(t),e):function(n){var r=function(t,e,n){var r=null==t?void 0:pe(t,e);return void 0===r?n:r}(n,t);return void 0===r&&r===e?function(t,e){return null!=t&&Rr(t,e,Ir)}(n,t):jr(e,r,3)}}function zr(t){return Zt(t)?(e=fe(t),function(t){return null==t?void 0:t[e]}):function(t){return function(e){return pe(e,t)}}(t);var e}function _r(t){return"function"==typeof t?t:null==t?L:"object"==typeof t?w(t)?Vr(t[0],t[1]):Dr(t):zr(t)}function Fr(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var s=t[i];e(r,s,n(s),t)}return r}var $r,Gr=function(t,e,n){for(var r=-1,i=Object(t),o=n(t),s=o.length;s--;){var a=o[$r?s:++r];if(!1===e(i[a],a,i))break}return t};var qr=function(t,e){return function(n,r){if(null==n)return n;if(!yt(n))return t(n,r);for(var i=n.length,o=e?i:-1,s=Object(n);(e?o--:++o<i)&&!1!==r(s[o],o,s););return n}}((function(t,e){return t&&Gr(t,e,Ut)}));function Ur(t,e,n,r){return qr(t,(function(t,i,o){e(r,t,n(t),o)})),r}var Hr=function(){return l.Date.now()},Wr=Math.max,Jr=Math.min;function Xr(t,e,n){var r,i,o,s,a,l,c=0,h=!1,u=!1,g=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function d(e){var n=r,o=i;return r=i=void 0,c=e,s=t.apply(o,n)}function f(t){return c=t,a=setTimeout(m,e),h?d(t):s}function p(t){var n=t-l;return void 0===l||n>=e||n<0||u&&t-c>=o}function m(){var t=Hr();if(p(t))return y(t);a=setTimeout(m,function(t){var n=e-(t-l);return u?Jr(n,o-(t-c)):n}(t))}function y(t){return a=void 0,g&&r?d(t):(r=i=void 0,s)}function b(){var t=Hr(),n=p(t);if(r=arguments,i=this,l=t,n){if(void 0===a)return f(l);if(u)return clearTimeout(a),a=setTimeout(m,e),d(l)}return void 0===a&&(a=setTimeout(m,e)),s}return e=j(e)||0,E(n)&&(h=!!n.leading,o=(u="maxWait"in n)?Wr(j(n.maxWait)||0,e):o,g="trailing"in n?!!n.trailing:g),b.cancel=function(){void 0!==a&&clearTimeout(a),c=0,r=l=i=a=void 0},b.flush=function(){return void 0===a?s:y(Hr())},b}var Yr=Object.prototype,Zr=Yr.hasOwnProperty,Qr=pt((function(t,e){t=Object(t);var n=-1,r=e.length,i=r>2?e[2]:void 0;for(i&&bt(e[0],e[1],i)&&(r=1);++n<r;)for(var o=e[n],s=Jt(o),a=-1,l=s.length;++a<l;){var c=s[a],h=t[c];(void 0===h||ht(h,Yr[c])&&!Zr.call(t,c))&&(t[c]=o[c])}return t}));function Kr(t,e,n){(void 0!==n&&!ht(t[e],n)||void 0===n&&!(e in t))&&ct(t,e,n)}function ti(t){return y(t)&&yt(t)}function ei(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}function ni(t,e,n,r,i,o,s){var a=ei(t,n),l=ei(e,n),c=s.get(l);if(c)Kr(t,n,c);else{var h,u=o?o(a,l,n+"",t,e,s):void 0,g=void 0===u;if(g){var d=w(l),f=!d&&kt(l),p=!d&&!f&&Vt(l);u=l,d||f||p?w(a)?u=a:ti(a)?u=Q(a):f?(g=!1,u=Sn(l,!0)):p?(g=!1,u=ir(l,!0)):u=[]:Oe(l)||Ot(l)?(u=a,Ot(a)?u=dt(h=a,Jt(h)):E(a)&&!B(a)||(u=sr(l))):g=!1}g&&(s.set(l,u),i(u,l,r,o,s),s.delete(l)),Kr(t,n,u)}}function ri(t,e,n,r,i){t!==e&&Gr(e,(function(o,s){if(i||(i=new Pn),E(o))ni(t,e,s,n,ri,r,i);else{var a=r?r(ei(t,s),o,s+"",t,e,i):void 0;void 0===a&&(a=o),Kr(t,s,a)}}),Jt)}function ii(t,e,n,r,i,o){return E(t)&&E(e)&&(o.set(e,t),ri(t,e,void 0,ii,o),o.delete(e)),t}var oi=vt((function(t,e,n,r){ri(t,e,n,r)})),si=pt((function(t){return t.push(void 0,ii),Z(oi,void 0,t)}));function ai(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}var li=pt((function(t,e){return ti(t)?function(t,e,n,r){var i=-1,o=st,s=!0,a=t.length,l=[],c=e.length;if(!a)return l;n&&(e=v(e,jt(n))),r?(o=ai,s=!1):e.length>=200&&(o=wr,s=!1,e=new br(e));t:for(;++i<a;){var h=t[i],u=null==n?h:n(h);if(h=r||0!==h?h:0,s&&u==u){for(var g=c;g--;)if(e[g]===u)continue t;l.push(h)}else o(e,u,r)||l.push(h)}return l}(t,ve(e,1,ti,!0)):[]}));var ci,hi,ui=Object.prototype.hasOwnProperty,gi=(ci=function(t,e,n){ui.call(t,n)?t[n].push(e):ct(t,n,[e])},function(t,e){var n=w(t)?Fr:Ur,r=hi?hi():{};return n(t,ci,_r(e),r)}),di=Object.prototype.hasOwnProperty;function fi(t,e){return null!=t&&di.call(t,e)}function pi(t,e){return null!=t&&Rr(t,e,fi)}var mi=Object.prototype.hasOwnProperty;function yi(t){if(null==t)return!0;if(yt(t)&&(w(t)||"string"==typeof t||"function"==typeof t.splice||kt(t)||Vt(t)||Ot(t)))return!t.length;var e=Zn(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(xt(t))return!qt(t).length;for(var n in t)if(mi.call(t,n))return!1;return!0}function bi(t,e){return jr(t,e)}function vi(t){return"number"==typeof t||y(t)&&"[object Number]"==m(t)}var wi=$e("toLowerCase"),xi=vt((function(t,e,n){ri(t,e,n)}));function Ai(t,e){if(t!==e){var n=void 0!==t,r=null===t,i=t==t,o=b(t),s=void 0!==e,a=null===e,l=e==e,c=b(e);if(!a&&!c&&!o&&t>e||o&&s&&l&&!a&&!c||r&&s&&l||!n&&l||!i)return 1;if(!r&&!o&&!c&&t<e||c&&n&&i&&!r&&!o||a&&n&&i||!s&&i||!l)return-1}return 0}function Pi(t,e,n){e=e.length?v(e,(function(t){return w(t)?function(e){return pe(e,1===t.length?t[0]:t)}:t})):[L];var r=-1;return e=v(e,jt(_r)),function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(function(t,e){var n=-1,r=yt(t)?Array(t.length):[];return qr(t,(function(t,i,o){r[++n]=e(t,i,o)})),r}(t,(function(t,n,i){return{criteria:v(e,(function(e){return e(t)})),index:++r,value:t}})),(function(t,e){return function(t,e,n){for(var r=-1,i=t.criteria,o=e.criteria,s=i.length,a=n.length;++r<s;){var l=Ai(i[r],o[r]);if(l)return r>=a?l:l*("desc"==n[r]?-1:1)}return t.index-e.index}(t,e,n)}))}var Ci=pt((function(t,e){if(null==t)return[];var n=e.length;return n>1&&bt(t,e[0],e[1])?e=[]:n>2&&bt(e[0],e[1],e[2])&&(e=[e[0]]),Pi(t,ve(e,1),[])})),Mi=Math.floor,Oi=Math.min;function Ei(t,e,n,r){var i=0,o=null==t?0:t.length;if(0===o)return 0;for(var s=(e=n(e))!=e,a=null===e,l=b(e),c=void 0===e;i<o;){var h=Mi((i+o)/2),u=n(t[h]),g=void 0!==u,d=null===u,f=u==u,p=b(u);if(s)var m=r||f;else m=c?f&&(r||g):a?f&&g&&(r||!d):l?f&&g&&!d&&(r||!p):!d&&!p&&(r?u<=e:u<e);m?i=h+1:o=h}return Oi(o,4294967294)}function Si(t,e){return function(t,e,n){var r=0,i=null==t?r:t.length;if("number"==typeof e&&e==e&&i<=2147483647){for(;r<i;){var o=r+i>>>1,s=t[o];null!==s&&!b(s)&&(n?s<=e:s<e)?r=o+1:i=o}return i}return Ei(t,e,L,n)}(t,e)}var Ti=wn((function(t,e,n){return t+(n?" ":"")+Ge(e)})),ki=zn&&1/Pr(new zn([,-0]))[1]==1/0?function(t){return new zn(t)}:function(){};function Ni(t,e,n){var r=-1,i=st,o=t.length,s=!0,a=[],l=a;if(n)s=!1,i=ai;else if(o>=200){var c=e?null:ki(t);if(c)return Pr(c);s=!1,i=wr,l=new br}else l=e?[]:a;t:for(;++r<o;){var h=t[r],u=e?e(h):h;if(h=n||0!==h?h:0,s&&u==u){for(var g=l.length;g--;)if(l[g]===u)continue t;e&&l.push(u),a.push(h)}else i(l,u,n)||(l!==a&&l.push(u),a.push(h))}return a}var ji=pt((function(t){return Ni(ve(t,1,ti,!0))}));function Li(t){return t&&t.length?Ni(t):[]}const Bi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])};const Di=/^\s*class\s+/.test(`${class{}}`)||/^\s*class\s*\{/.test(`${class{}}`);function Ii(t,e){let n;return Di?n=class extends e{}:(n=function(){return e.apply(this,arguments)},function(t,e){function n(){this.constructor=t}Bi(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(n,e)),Object.defineProperty(n,"name",{value:t}),n}function Ri(t){return"__proto__"===t}function Vi(t,e,n="/"){let r;const i=Array.isArray(e)?e:e.split(n);if(i.length)for(r=t;i.length;){const t=i.shift();if(Object(r)!==r||!t||!(t in r))return;r=r[t]}return r}function zi(t,e,n,r="/"){const i=Array.isArray(e)?e:e.split(r),o=i.pop();if(o&&!Ri(o)){let e=t;i.forEach((t=>{Ri(t)||(null==e[t]&&(e[t]={}),e=e[t])})),e[o]=n}return t}function _i(t,e,n="/"){const r=Array.isArray(e)?e.slice():e.split(n),i=r.pop();if(i)if(r.length>0){const e=Vi(t,r);e&&delete e[i]}else delete t[i];return t}const Fi=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},$i=Fi((t=>t.replace(/\B([A-Z])/g,"-$1").toLowerCase())),Gi=Fi((t=>Ti(xn(t)).replace(/ /g,"")));function qi(t){let e=2166136261,n=!1,r=t;for(let t=0,i=r.length;t<i;t+=1){let i=r.charCodeAt(t);i>127&&!n&&(r=unescape(encodeURIComponent(r)),i=r.charCodeAt(t),n=!0),e^=i,e+=(e<<1)+(e<<4)+(e<<7)+(e<<8)+(e<<24)}return e>>>0}function Ui(){let t="";const e="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx";for(let n=0,r=e.length;n<r;n+=1){const r=e[n],i=16*Math.random()|0;t+=("x"===r?i:"y"===r?3&i|8:r).toString(16)}return t}function Hi(t,e,n){let r=new Array(e.length+1),i=new Array(e.length+1);const o=n+1;for(let t=0;t<=e.length;t+=1)r[t]=t;for(let s=1;s<=t.length;s+=1){const a=t.charCodeAt(s-1),l=s>n?s-n:1,c=e.length>n+s?n+s:e.length;i[0]=s;let h=s;for(let t=1;t<l;t+=1)i[t]=o;for(let t=l;t<=c;t+=1){const n=a===e.charCodeAt(t-1)?r[t-1]:Math.min(r[t]+1,i[t-1]+1,r[t-1]+2);i[t]=n,h=Math.min(h,n)}for(let t=c+1;t<=e.length;t+=1)i[t]=o;if(h>n)return;const u=r;r=i,i=u}const s=r[e.length];return s>n?void 0:s}function Wi(t){return"string"==typeof t&&"%"===t.slice(-1)}function Ji(t,e){if(null==t)return 0;let n;if("string"==typeof t){if(n=parseFloat(t),Wi(t)&&(n/=100,Number.isFinite(n)))return n*e}else n=t;return Number.isFinite(n)?n>0&&n<1?n*e:n:0}function Xi(t){if("object"==typeof t){let e=0,n=0,r=0,i=0;return null!=t.vertical&&Number.isFinite(t.vertical)&&(n=i=t.vertical),null!=t.horizontal&&Number.isFinite(t.horizontal)&&(r=e=t.horizontal),null!=t.left&&Number.isFinite(t.left)&&(e=t.left),null!=t.top&&Number.isFinite(t.top)&&(n=t.top),null!=t.right&&Number.isFinite(t.right)&&(r=t.right),null!=t.bottom&&Number.isFinite(t.bottom)&&(i=t.bottom),{top:n,right:r,bottom:i,left:e}}let e=0;return null!=t&&Number.isFinite(t)&&(e=t),{top:e,right:e,bottom:e,left:e}}function Yi(t,e,n){if(n)switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2]);case 4:return t.call(e,n[0],n[1],n[2],n[3]);case 5:return t.call(e,n[0],n[1],n[2],n[3],n[4]);case 6:return t.call(e,n[0],n[1],n[2],n[3],n[4],n[5]);default:return t.apply(e,n)}return t.call(e)}function Zi(t,e,...n){return Yi(t,e,n)}function Qi(t){return null!=t&&(t instanceof Promise||function(t){return"object"==typeof t&&t.then&&"function"==typeof t.then}(t))}function Ki(...t){const e=[];t.forEach((t=>{Array.isArray(t)?e.push(...t):e.push(t)}));if(e.some((t=>Qi(t)))){const t=e.map((t=>Qi(t)?t:Promise.resolve(!1!==t)));return Promise.all(t).then((t=>t.reduce(((t,e)=>!1!==e&&t),!0)))}return e.every((t=>!1!==t))}const to=navigator.userAgent;var eo;!function(t){t.IS_MAC=to.indexOf("Macintosh")>0,t.IS_IOS=!!to.match(/(iPad|iPhone|iPod)/g),t.IS_WINDOWS=to.indexOf("Windows")>0,t.IS_IE=to.indexOf("MSIE")>=0,t.IS_IE11=!!to.match(/Trident\/7\./),t.IS_EDGE=!!to.match(/Edge\//),t.IS_NETSCAPE=to.indexOf("Mozilla/")>=0&&to.indexOf("MSIE")<0&&to.indexOf("Edge/")<0,t.IS_CHROME_APP=null!=window.chrome&&null!=window.chrome.app&&null!=window.chrome.app.runtime,t.IS_CHROME=to.indexOf("Chrome/")>=0&&to.indexOf("Edge/")<0,t.IS_OPERA=to.indexOf("Opera/")>=0||to.indexOf("OPR/")>=0,t.IS_FIREFOX=to.indexOf("Firefox/")>=0,t.IS_SAFARI=to.indexOf("AppleWebKit/")>=0&&to.indexOf("Chrome/")<0&&to.indexOf("Edge/")<0,t.SUPPORT_TOUCH="ontouchstart"in document.documentElement,t.SUPPORT_POINTER=null!=window.PointerEvent&&!t.IS_MAC,t.SUPPORT_PASSIVE=!1;try{const e=Object.defineProperty({},"passive",{get(){t.SUPPORT_PASSIVE=!0}}),n=document.createElement("div");n.addEventListener&&n.addEventListener("click",(()=>{}),e)}catch(t){}t.NO_FOREIGNOBJECT=!document.createElementNS||"[object SVGForeignObjectElement]"!=`${document.createElementNS("http://www.w3.org/2000/svg","foreignObject")}`||to.indexOf("Opera/")>=0,t.SUPPORT_FOREIGNOBJECT=!t.NO_FOREIGNOBJECT}(eo||(eo={})),function(t){function e(){const t=window.module;return null!=t&&null!=t.hot&&null!=t.hot.status?t.hot.status():"unkonwn"}t.getHMRStatus=e,t.isApplyingHMR=function(){return"apply"===e()};const n={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};t.isEventSupported=function(t){const e=document.createElement(n[t]||"div"),r=`on${t}`;let i=r in e;return i||(e.setAttribute(r,"return;"),i="function"==typeof e[r]),i}}(eo||(eo={}));const no=/[\t\r\n\f]/g,ro=/\S+/g,io=t=>` ${t} `;function oo(t){return t&&t.getAttribute&&t.getAttribute("class")||""}function so(t,e){if(null==t||null==e)return!1;const n=io(oo(t)),r=io(e);return 1===t.nodeType&&n.replace(no," ").includes(r)}function ao(t,e){if(null!=t&&null!=e){if("function"==typeof e)return ao(t,e(oo(t)));if("string"==typeof e&&1===t.nodeType){const n=e.match(ro)||[],r=io(oo(t)).replace(no," ");let i=n.reduce(((t,e)=>t.indexOf(io(e))<0?`${t}${e} `:t),r);i=i.trim(),r!==i&&t.setAttribute("class",i)}}}function lo(t,e){if(null!=t){if("function"==typeof e)return lo(t,e(oo(t)));if((!e||"string"==typeof e)&&1===t.nodeType){const n=(e||"").match(ro)||[],r=io(oo(t)).replace(no," ");let i=n.reduce(((t,e)=>{const n=io(e);return t.indexOf(n)>-1?t.replace(n," "):t}),r);i=e?i.trim():"",r!==i&&t.setAttribute("class",i)}}}function co(t,e,n){if(null!=t&&null!=e)if(null==n||"string"!=typeof e){if("function"==typeof e)return co(t,e(oo(t),n),n);if("string"==typeof e){(e.match(ro)||[]).forEach((e=>{so(t,e)?lo(t,e):ao(t,e)}))}}else n?ao(t,e):lo(t,e)}let ho=0;function uo(t){return null!=t.id&&""!==t.id||(t.id=(ho+=1,`v${ho}`)),t.id}function go(t){return null!=t&&("function"==typeof t.getScreenCTM&&t instanceof SVGElement)}const fo={svg:"http://www.w3.org/2000/svg",xmlns:"http://www.w3.org/2000/xmlns/",xml:"http://www.w3.org/XML/1998/namespace",xlink:"http://www.w3.org/1999/xlink",xhtml:"http://www.w3.org/1999/xhtml"};function po(t,e=document){return e.createElement(t)}function mo(t,e=fo.xhtml,n=document){return n.createElementNS(e,t)}function yo(t,e=document){return mo(t,fo.svg,e)}function bo(t){if(t){const e=`<svg xmlns="${fo.svg}" xmlns:xlink="${fo.xlink}" version="1.1">${t}</svg>`,{documentElement:n}=function(t,e={}){let n;try{const r=new DOMParser;if(null!=e.async){r.async=e.async}n=r.parseFromString(t,e.mimeType||"text/xml")}catch(t){n=void 0}if(!n||n.getElementsByTagName("parsererror").length)throw new Error(`Invalid XML: ${t}`);return n}(e,{async:!1});return n}const e=document.createElementNS(fo.svg,"svg");return e.setAttributeNS(fo.xmlns,"xmlns:xlink",fo.xlink),e.setAttribute("version","1.1"),e}function vo(t){let e=0,n=t.previousSibling;for(;n;)1===n.nodeType&&(e+=1),n=n.previousSibling;return e}function wo(t,e,n){const r=t.ownerSVGElement;let i=t.parentNode;for(;i&&i!==n&&i!==r;){if(so(i,e))return i;i=i.parentNode}return null}function xo(t,e){const n=e&&e.parentNode;return t===n||!!(n&&1===n.nodeType&&16&t.compareDocumentPosition(n))}function Ao(t){t.parentNode&&t.parentNode.removeChild(t)}function Po(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function Co(t,e){(Array.isArray(e)?e:[e]).forEach((e=>{null!=e&&t.appendChild(e)}))}function Mo(t,e){const n=t.parentNode;if(n){(Array.isArray(e)?e:[e]).forEach((e=>{null!=e&&n.insertBefore(e,t)}))}}function Oo(t){try{return t instanceof HTMLElement}catch(e){return"object"==typeof t&&1===t.nodeType&&"object"==typeof t.style&&"object"==typeof t.ownerDocument}}const Eo=["viewBox"];function So(t,e){const n=jo(e);n.ns?t.hasAttributeNS(n.ns,n.local)&&t.removeAttributeNS(n.ns,n.local):t.hasAttribute(e)&&t.removeAttribute(e)}function To(t,e,n){if(null==n)return So(t,e);const r=jo(e);r.ns&&"string"==typeof n?t.setAttributeNS(r.ns,e,n):"id"===e?t.id=`${n}`:t.setAttribute(e,`${n}`)}function ko(t,e){Object.keys(e).forEach((n=>{To(t,n,e[n])}))}function No(t,e,n){if(null==e){const e=t.attributes,n={};for(let t=0;t<e.length;t+=1)n[e[t].name]=e[t].value;return n}if("string"==typeof e&&void 0===n)return t.getAttribute(e);"object"==typeof e?ko(t,e):To(t,e,n)}function jo(t){if(-1!==t.indexOf(":")){const e=t.split(":");return{ns:fo[e[0]],local:e[1]}}return{ns:null,local:t}}function Lo(t){const e={};return Object.keys(t).forEach((n=>{const r=Eo.includes(n)?n:$i(n);e[r]=t[n]})),e}function Bo(t){const e={};return t.split(";").forEach((t=>{const n=t.trim();if(n){const t=n.split("=");t.length&&(e[t[0].trim()]=t[1]?t[1].trim():"")}})),e}function Do(t,e){return Object.keys(e).forEach((n=>{if("class"===n)t[n]=t[n]?`${t[n]} ${e[n]}`:e[n];else if("style"===n){const r="object"==typeof t[n],i="object"==typeof e[n];let o,s;r&&i?(o=t[n],s=e[n]):r?(o=t[n],s=Bo(e[n])):i?(o=Bo(t[n]),s=e[n]):(o=Bo(t[n]),s=Bo(e[n])),t[n]=Do(o,s)}else t[n]=e[n]})),t}function Io(t,e,n={}){const r=n.offset||0,i=[],o=[];let s,a,l=null;for(let c=0;c<t.length;c+=1){s=o[c]=t[c];for(let i=0,a=e.length;i<a;i+=1){const a=e[i],l=a.start+r,h=a.end+r;c>=l&&c<h&&("string"==typeof s?s=o[c]={t:t[c],attrs:a.attrs}:s.attrs=Do(Do({},s.attrs),a.attrs),n.includeAnnotationIndices&&(null==s.annotations&&(s.annotations=[]),s.annotations.push(i)))}a=o[c-1],a?E(s)&&E(a)?(l=l,JSON.stringify(s.attrs)===JSON.stringify(a.attrs)?l.t+=s.t:(i.push(l),l=s)):E(s)||E(a)?(l=l,i.push(l),l=s):l=(l||"")+s:l=s}return null!=l&&i.push(l),i}var Ro,Vo;let zo;!function(t){function e(t){return null==t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t}function n(t){return Array.isArray(t)}function r(t,i){if(t===i)return!0;if(e(t)||e(i))return!1;const o=n(t),s=n(i);return o===s&&(o&&s?function(t,e){if(t===e)return!0;if(t.length!==e.length)return!1;for(let n=0,i=t.length;n<i;n+=1)if(!r(t[n],e[n]))return!1;return!0}(t,i):function(t,e){if(t===e)return!0;for(const n in t)if(!(n in e))return!1;for(const n in e)if(!(n in t))return!1;for(const n in t)if(!r(t[n],e[n]))return!1;return!0}(t,i))}function i(t){return e(t)?t:n(t)?function(t){const e=new Array(t.length);for(let n=0,r=t.length;n<r;n+=1)e[n]=i(t[n]);return e}(t):function(t){const e={};return Object.keys(t).forEach((n=>{e[n]=i(t[n])})),e}(t)}t.emptyObject=Object.freeze({}),t.emptyArray=Object.freeze([]),t.isPrimitive=e,t.isArray=n,t.isObject=function(t){return!e(t)&&!n(t)},t.deepEqual=r,t.deepCopy=i}(Ro||(Ro={})),function(t){function e(t){const e="data:";return t.substr(0,e.length)===e}function n(t){let e=t.replace(/\s/g,"");e=decodeURIComponent(e);const n=e.indexOf(","),r=e.slice(0,n),i=r.split(":")[1].split(";")[0],o=e.slice(n+1);let s;s=r.indexOf("base64")>=0?atob(o):unescape(encodeURIComponent(o));const a=new Uint8Array(s.length);for(let t=0;t<s.length;t+=1)a[t]=s.charCodeAt(t);return new Blob([a],{type:i})}function r(t,e){const n=window.navigator.msSaveBlob;if(n)n(t,e);else{const n=window.URL.createObjectURL(t),r=document.createElement("a");r.href=n,r.download=e,document.body.appendChild(r),r.click(),document.body.removeChild(r),window.URL.revokeObjectURL(n)}}function i(t){const e=parseFloat(t);return Number.isNaN(e)?null:e}t.isDataUrl=e,t.imageToDataUri=function(t,n){if(!t||e(t))return void setTimeout((()=>n(null,t)));const r=()=>{n(new Error(`Failed to load image: ${t}`))},i=window.FileReader?t=>{if(200===t.status){const e=new FileReader;e.onload=t=>{const e=t.target.result;n(null,e)},e.onerror=r,e.readAsDataURL(t.response)}else r()}:e=>{if(200===e.status){let r=t.split(".").pop()||"png";"svg"===r&&(r="svg+xml");const i=`data:image/${r};base64,`,o=new Uint8Array(e.response),s=i+btoa((t=>{const e=[];for(let n=0;n<t.length;n+=32768)e.push(String.fromCharCode.apply(null,t.subarray(n,n+32768)));return e.join("")})(o));n(null,s)}else r()},o=new XMLHttpRequest;o.responseType=window.FileReader?"blob":"arraybuffer",o.open("GET",t,!0),o.addEventListener("error",r),o.addEventListener("load",(()=>i(o))),o.send()},t.dataUriToBlob=n,t.downloadBlob=r,t.downloadDataUri=function(t,e){r(n(t),e)},t.svgToDataUrl=function(t,e={}){let n=null;const r=e=>(null==n&&(n=function(t){const e=t.match(/<svg[^>]*viewBox\s*=\s*(["']?)(.+?)\1[^>]*>/i);return e&&e[2]?e[2].replace(/\s+/," ").split(" "):null}(t)),null!=n?i(n[e]):null),o=e=>{const n=t.match(e);return n&&n[2]?i(n[2]):null};let s=e.width;if(null==s&&(s=o(/<svg[^>]*width\s*=\s*(["']?)(.+?)\1[^>]*>/i)),null==s&&(s=r(2)),null==s)throw new Error("Can not parse width from svg string");let a=e.height;if(null==a&&(a=o(/<svg[^>]*height\s*=\s*(["']?)(.+?)\1[^>]*>/i)),null==a&&(a=r(3)),null==a)throw new Error("Can not parse height from svg string");return`data:image/svg+xml,${encodeURIComponent(t).replace(/'/g,"%27").replace(/"/g,"%22")}`}}(Vo||(Vo={}));const _o={px:t=>t,mm:t=>zo*t,cm:t=>zo*t*10,in:t=>zo*t*25.4,pt:t=>zo*(25.4*t/72),pc:t=>zo*(25.4*t/6)};var Fo;!function(t){function e(t,e,n){const r=document.createElement("div"),i=r.style;i.display="inline-block",i.position="absolute",i.left="-15000px",i.top="-15000px",i.width=t+(n||"px"),i.height=e+(n||"px"),document.body.appendChild(r);const o=r.getBoundingClientRect(),s={width:o.width||0,height:o.height||0};return document.body.removeChild(r),s}t.measure=e,t.toPx=function(t,n){null==zo&&(zo=e("1","1","mm").width);const r=n?_o[n]:null;return r?r(t):t}}(Fo||(Fo={}));const $o=function(){let t;const e=window;if(null!=e&&(t=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||e.msRequestAnimationFrame,null!=t&&(t=t.bind(e))),null==t){let e=0;t=t=>{const n=(new Date).getTime(),r=Math.max(0,16-(n-e)),i=setTimeout((()=>{t(n+r)}),r);return e=n+r,i}}return t}(),Go=function(){let t;const e=window;return null!=e&&(t=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame||e.msCancelAnimationFrame||e.msCancelRequestAnimationFrame||e.oCancelAnimationFrame||e.oCancelRequestAnimationFrame||e.mozCancelAnimationFrame||e.mozCancelRequestAnimationFrame,t&&(t=t.bind(e))),null==t&&(t=clearTimeout),t}(),qo=/-(.)/g;const Uo={},Ho=["webkit","ms","moz","o"],Wo=document?document.createElement("div").style:{};function Jo(t){const e=t.replace(qo,((t,e)=>e.toUpperCase()));if(null==Uo[e]){const t=e.charAt(0).toUpperCase()+e.slice(1);Uo[e]=e in Wo?e:function(t){for(let e=0;e<Ho.length;e+=1){const n=Ho[e]+t;if(n in Wo)return n}return null}(t)}return Uo[e]}function Xo(t,e){const n=t.ownerDocument&&t.ownerDocument.defaultView&&t.ownerDocument.defaultView.opener?t.ownerDocument.defaultView.getComputedStyle(t,null):window.getComputedStyle(t,null);return n&&e?n.getPropertyValue(e)||n[e]:n}const Yo={animationIterationCount:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0};function Zo(t,e,n){if("string"!=typeof e)for(const n in e)Zo(t,n,e[n])